@annalib/anna-core 7.4.1 → 7.5.1
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 +2 -12
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +10 -2
- package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +3 -1
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +27 -11
- package/fesm2015/annalib-anna-core.mjs +38 -24
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +38 -24
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -37
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +6 -6
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_generic-table-common.scss +16 -30
|
@@ -8,8 +8,6 @@ export interface IGtTableHeader {
|
|
|
8
8
|
export interface IHeaderInfo {
|
|
9
9
|
name: string;
|
|
10
10
|
objectKey: string;
|
|
11
|
-
actionKey?: string;
|
|
12
|
-
tooltipKey?: string;
|
|
13
11
|
isDisabledKey?: string;
|
|
14
12
|
typeOfHeaderData: DATATYPE;
|
|
15
13
|
typeOfBodyData: DATATYPE;
|
|
@@ -22,7 +20,7 @@ export interface IHeaderInfo {
|
|
|
22
20
|
tooltip?: ITooltip;
|
|
23
21
|
joinedFilterSortObjectKeys?: string;
|
|
24
22
|
}
|
|
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";
|
|
23
|
+
declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "CLICKABLE_DATA_2" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "STRING___ICON_OR_TEXT_ACTION_1" | "STRING___ICON_OR_TEXT_ACTION_2" | "STRING___ICON_OR_TEXT_ACTION_3";
|
|
26
24
|
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
27
25
|
export interface ITotalRowInfo {
|
|
28
26
|
colspan: number;
|
|
@@ -71,38 +69,4 @@ export interface TextAction {
|
|
|
71
69
|
class: string;
|
|
72
70
|
isDisabled: boolean;
|
|
73
71
|
}
|
|
74
|
-
export declare class ClickableItem {
|
|
75
|
-
id: any;
|
|
76
|
-
name: string;
|
|
77
|
-
isDisabled: boolean;
|
|
78
|
-
class: string;
|
|
79
|
-
showTooltip: boolean;
|
|
80
|
-
tooltipData: {
|
|
81
|
-
key: string;
|
|
82
|
-
value: string;
|
|
83
|
-
};
|
|
84
|
-
disableTooltip: boolean;
|
|
85
|
-
constructor(typeOfActionLinkForGt: any, name: string, isDisabled: boolean, className: string, showTooltip: boolean, tooltipData: {
|
|
86
|
-
key: string;
|
|
87
|
-
value: string;
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
|
|
91
|
-
id: any;
|
|
92
|
-
data: string;
|
|
93
|
-
iconClass: string;
|
|
94
|
-
showIcon: boolean;
|
|
95
|
-
disabledIcon: boolean;
|
|
96
|
-
linkClass: string;
|
|
97
|
-
showLink: boolean;
|
|
98
|
-
disabledLink: boolean;
|
|
99
|
-
showTooltip: boolean;
|
|
100
|
-
tooltipData: {
|
|
101
|
-
key: string;
|
|
102
|
-
value: string;
|
|
103
|
-
}[];
|
|
104
|
-
typeOfData: 'STRING' | 'ICON_TEXT_ACTION';
|
|
105
|
-
additionalTextBeforeLink: string;
|
|
106
|
-
disableTooltip: boolean;
|
|
107
|
-
}
|
|
108
72
|
export {};
|
|
@@ -149,11 +149,12 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
149
149
|
heightOfCheckboxTooltipFilter: number;
|
|
150
150
|
isNoDataToDisplaySubject$: BehaviorSubject<boolean>;
|
|
151
151
|
selectedStarredOrderId: string;
|
|
152
|
+
userActionTableMetaData: {
|
|
153
|
+
lastEmailResentAt: string;
|
|
154
|
+
passwordValidity: string;
|
|
155
|
+
status: UserActivationStatus;
|
|
156
|
+
};
|
|
152
157
|
UserActivationStatus: typeof UserActivationStatus;
|
|
153
|
-
textActionTooltip: {
|
|
154
|
-
key: string;
|
|
155
|
-
value: string;
|
|
156
|
-
}[];
|
|
157
158
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
158
159
|
ngAfterViewChecked(): void;
|
|
159
160
|
ngOnInit(): void;
|
|
@@ -275,8 +276,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
275
276
|
setInitialRowsForTable(): void;
|
|
276
277
|
spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
|
|
277
278
|
tableContainerScrolled(event: any): void;
|
|
278
|
-
mouseEnterOnStringTextActionType(rowData: any
|
|
279
|
-
mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
|
|
279
|
+
mouseEnterOnStringTextActionType(rowData: any): void;
|
|
280
280
|
onClickableDataClicked(Rowdata: any, id: number): void;
|
|
281
281
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
282
282
|
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>;
|
package/package.json
CHANGED
|
@@ -50,34 +50,20 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
@mixin
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
pointer-events: none;
|
|
61
|
-
text-decoration: none;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@mixin table-ellipses {
|
|
67
|
-
div {
|
|
68
|
-
text-overflow: ellipsis !important;
|
|
69
|
-
overflow: hidden !important;
|
|
70
|
-
white-space:nowrap !important;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
53
|
+
// @mixin table-ellipses {
|
|
54
|
+
// div {
|
|
55
|
+
// text-overflow: ellipsis !important;
|
|
56
|
+
// overflow: hidden !important;
|
|
57
|
+
// white-space:nowrap !important;
|
|
58
|
+
// }
|
|
59
|
+
// }
|
|
73
60
|
|
|
74
|
-
@mixin table-ellipses-only-on-text-span {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
61
|
+
// @mixin table-ellipses-only-on-text-span {
|
|
62
|
+
// span {
|
|
63
|
+
// text-overflow: ellipsis !important;
|
|
64
|
+
// overflow: hidden !important;
|
|
65
|
+
// white-space:nowrap !important;
|
|
66
|
+
// display: inline-block !important;
|
|
67
|
+
// width: 80% !important;
|
|
68
|
+
// }
|
|
69
|
+
// }
|