@annalib/anna-core 7.3.0 → 7.3.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.
@@ -8,6 +8,8 @@ export interface IGtTableHeader {
8
8
  export interface IHeaderInfo {
9
9
  name: string;
10
10
  objectKey: string;
11
+ actionKey?: string;
12
+ tooltipKey?: string;
11
13
  isDisabledKey?: string;
12
14
  typeOfHeaderData: DATATYPE;
13
15
  typeOfBodyData: DATATYPE;
@@ -20,7 +22,7 @@ export interface IHeaderInfo {
20
22
  tooltip?: ITooltip;
21
23
  joinedFilterSortObjectKeys?: string;
22
24
  }
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";
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";
24
26
  declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
25
27
  export interface ITotalRowInfo {
26
28
  colspan: number;
@@ -69,4 +71,38 @@ export interface TextAction {
69
71
  class: string;
70
72
  isDisabled: boolean;
71
73
  }
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
+ }
72
108
  export {};
@@ -149,11 +149,6 @@ 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
- };
157
152
  UserActivationStatus: typeof UserActivationStatus;
158
153
  textActionTooltip: {
159
154
  key: string;
@@ -280,7 +275,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
280
275
  setInitialRowsForTable(): void;
281
276
  spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
282
277
  tableContainerScrolled(event: any): void;
283
- mouseEnterOnStringTextActionType(rowData: any): void;
278
+ mouseEnterOnStringTextActionType(rowData: any, tooltipKey: string): void;
284
279
  mouseEnterOnTextActionType(rowData: any): void;
285
280
  onClickableDataClicked(Rowdata: any, id: number): void;
286
281
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "7.3.0",
3
+ "version": "7.3.3",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "2.0.3",
6
6
  "@angular/common": "^13.2.0",
@@ -50,20 +50,34 @@
50
50
  }
51
51
  }
52
52
 
53
- // @mixin table-ellipses {
54
- // div {
55
- // text-overflow: ellipsis !important;
56
- // overflow: hidden !important;
57
- // white-space:nowrap !important;
58
- // }
59
- // }
53
+ @mixin tableDataLink() {
54
+ a {
55
+ cursor: pointer !important;
56
+ color: #268bff !important;
57
+ text-decoration: underline !important;
58
+ &.disabled {
59
+ color: #b7b6b6;
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
+ }
60
73
 
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
- // }
74
+ @mixin table-ellipses-only-on-text-span {
75
+ span {
76
+ text-overflow: ellipsis !important;
77
+ overflow: hidden !important;
78
+ white-space:nowrap !important;
79
+ display: inline-block !important;
80
+ max-width: 92%;
81
+ width: fit-content;
82
+ }
83
+ }