@annalib/anna-core 27.0.1 → 28.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/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +6 -7
- package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +6 -6
- package/esm2022/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +8 -2
- package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +14 -5
- package/esm2022/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/services/anna-generic-tooltip-html.services.mjs +60 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/services/anna-regex-patterns.service.mjs +19 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-sort.service.mjs +5 -5
- package/esm2022/lib/anna-core.module.mjs +4 -4
- package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +6 -6
- package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +5 -5
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +10 -14
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +10 -14
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +10 -14
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +11 -15
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +40 -16
- package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +6 -7
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/annalib-anna-core.mjs +273 -177
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +34 -4
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
- package/lib/anna-core-shared-lib/services/anna-generic-tooltip-html.services.d.ts +7 -0
- package/lib/anna-core-shared-lib/services/anna-regex-patterns.service.d.ts +9 -0
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +1 -1
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.d.ts +1 -1
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.d.ts +1 -1
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +2 -2
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +5 -2
- package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +1 -1
- package/package.json +10 -10
- package/public-api.d.ts +2 -0
- package/src/lib/anna-common-scss/_easy-filter.scss +2 -0
- package/src/lib/anna-common-scss/_generic-tooltip-html.scss +74 -0
package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export declare class AnnaIconColumnComponent {
|
|
|
11
11
|
columnIconClicked: EventEmitter<GtColumnIconEmittedData>;
|
|
12
12
|
svgIconClicked(rowData: any, key: string): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaIconColumnComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-icon-column", never, { "componentName": { "alias": "componentName"; "required": false; }; "iconToShow": { "alias": "iconToShow"; "required":
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-icon-column", never, { "componentName": { "alias": "componentName"; "required": false; }; "iconToShow": { "alias": "iconToShow"; "required": false; }; "dataObject": { "alias": "dataObject"; "required": false; }; }, { "columnIconClicked": "columnIconClicked"; }, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -21,12 +21,14 @@ export interface IHeaderInfo {
|
|
|
21
21
|
tooltip?: ITooltip;
|
|
22
22
|
joinedFilterSortObjectKeys?: string;
|
|
23
23
|
}
|
|
24
|
-
type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "HTML" | "HTML_STRING" | "ICON_CELL" | "STRING_OR_INPUT" | "SINGLE_RADIO" | "STRING_WITH_TOOLTIP" | "STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "STRING_ELLIPSIS_WITH_TABLE_TOOLTIP";
|
|
24
|
+
type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "HTML" | "HTML_STRING" | "ICON_CELL" | "STRING_OR_INPUT" | "SINGLE_RADIO" | "STRING_WITH_TOOLTIP" | "STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "STRING_ELLIPSIS_WITH_TABLE_TOOLTIP" | "STRING_WITH_TOOLTIP_INNER_HTML";
|
|
25
25
|
type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
26
26
|
export interface ISvgOrIconTypeInGTTable {
|
|
27
27
|
showObjectKey: boolean;
|
|
28
28
|
svgOrIconName?: string;
|
|
29
29
|
svgOrIconTooltipMsg?: string;
|
|
30
|
+
additionalText?: string;
|
|
31
|
+
additionalTextClass?: string;
|
|
30
32
|
}
|
|
31
33
|
export declare class SvgOrIconTypeInGTTable {
|
|
32
34
|
showObjectKey: boolean;
|
|
@@ -38,9 +40,15 @@ export declare class SvgOrIconTypeInGTTable {
|
|
|
38
40
|
}
|
|
39
41
|
export declare enum SvgOrIconNames {
|
|
40
42
|
PAY_FOR_PERFORMANCE_ACTIVE = "PAY_FOR_PERFORMANCE_ACTIVE",
|
|
41
|
-
|
|
43
|
+
AUTOMATED = "AUTOMATED",
|
|
42
44
|
DELETED_ORDER = "DELETED_ORDER",
|
|
43
|
-
WARNING_ICON = "WARNING_ICON"
|
|
45
|
+
WARNING_ICON = "WARNING_ICON",
|
|
46
|
+
INFORMATION_OUTLINE_ICON = "INFORMATION_OUTLINE_ICON",
|
|
47
|
+
CANCEL_ICON = "CANCEL_ICON",
|
|
48
|
+
ALPHA_B_CIRCLE = "ALPHA_B_CIRCLE",
|
|
49
|
+
ALPHA_R_CIRCLE = "ALPHA_R_CIRCLE",
|
|
50
|
+
ALPHA_E_CIRCLE = "ALPHA_E_CIRCLE",
|
|
51
|
+
ALPHA_A_CIRCLE = "ALPHA_A_CIRCLE"
|
|
44
52
|
}
|
|
45
53
|
export interface ITotalRowInfo {
|
|
46
54
|
colspan: number;
|
|
@@ -144,7 +152,7 @@ export interface IActionItemTypeWithStringIconOrTextAction {
|
|
|
144
152
|
tooltipPlacement?: string;
|
|
145
153
|
enableTooltipForAdditionalText?: boolean;
|
|
146
154
|
}
|
|
147
|
-
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "
|
|
155
|
+
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "AUTOMATED" | "WARNING_ICON" | "INFORMATION_OUTLINE_ICON" | "CANCEL_ICON" | "ALPHA_B_CIRCLE" | "ALPHA_R_CIRCLE" | "ALPHA_E_CIRCLE" | "ALPHA_A_CIRCLE";
|
|
148
156
|
export declare class TableClassNameConstant {
|
|
149
157
|
static readonly defaultClass = "table-body-row ";
|
|
150
158
|
static readonly selectedRow = "selected-row ";
|
|
@@ -174,4 +182,26 @@ export interface HeaderWithObjectKey {
|
|
|
174
182
|
objectKey: string;
|
|
175
183
|
width: string;
|
|
176
184
|
}
|
|
185
|
+
export interface InnerHTMLTooltipAction {
|
|
186
|
+
dataToDisplay?: string;
|
|
187
|
+
showTooltip?: boolean;
|
|
188
|
+
tooltipInnerHtmlTemplate?: string;
|
|
189
|
+
tooltipPosition?: string;
|
|
190
|
+
tooltipIconClass?: string;
|
|
191
|
+
tooltipInnerClass?: string;
|
|
192
|
+
disableTooltip?: boolean;
|
|
193
|
+
tooltipMarkerText?: string;
|
|
194
|
+
dataToDisplayAfterTooltip?: string;
|
|
195
|
+
isManualTrigger?: boolean;
|
|
196
|
+
}
|
|
197
|
+
export interface ITooltipTableHeader {
|
|
198
|
+
name: string;
|
|
199
|
+
key: string;
|
|
200
|
+
width: string;
|
|
201
|
+
colspan?: number;
|
|
202
|
+
rowspan?: number;
|
|
203
|
+
}
|
|
204
|
+
export interface ITooltipTableRowData {
|
|
205
|
+
[key: string]: any;
|
|
206
|
+
}
|
|
177
207
|
export {};
|
|
@@ -16,14 +16,14 @@ export declare class AnnaDateTimeFormatService {
|
|
|
16
16
|
addZero(time: any): any;
|
|
17
17
|
sortByTimeAscending(a: any, b: any): number;
|
|
18
18
|
sortByTimeDescending(a: any, b: any): number;
|
|
19
|
-
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 1 |
|
|
19
|
+
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 1 | 0 | -1;
|
|
20
20
|
convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
|
|
21
21
|
compareDate(a: string, b: string, isAsc: boolean): number;
|
|
22
22
|
static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
|
|
23
23
|
static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
|
|
24
24
|
formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
|
|
25
25
|
compare(a: number | string, b: number | string, isAsc: boolean): number;
|
|
26
|
-
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 1 |
|
|
26
|
+
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 1 | 0 | -1;
|
|
27
27
|
convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
|
|
28
28
|
getBroadcastWeek(startDate: any, format?: string): {
|
|
29
29
|
start: dayjs.Dayjs;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ITooltipTableHeader, ITooltipTableRowData } from "../models/anna-non-editable-gt-models";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GenericTooltipHtmlService {
|
|
4
|
+
static generateTableHTML(headers: ITooltipTableHeader[], rowData: ITooltipTableRowData[], tableHeading?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericTooltipHtmlService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GenericTooltipHtmlService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RegexPatternsService {
|
|
3
|
+
readonly emailPattern: RegExp;
|
|
4
|
+
readonly phonePattern: RegExp;
|
|
5
|
+
readonly buyerNamePattern: RegExp;
|
|
6
|
+
readonly usernamePattern: RegExp;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegexPatternsService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RegexPatternsService>;
|
|
9
|
+
}
|
|
@@ -56,5 +56,5 @@ export declare class AnnaColumnCheckboxFilterComponent implements OnInit {
|
|
|
56
56
|
clearSearchedItem(): void;
|
|
57
57
|
storeSortTypeInTempVariable(event: SortType): void;
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnCheckboxFilterComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnCheckboxFilterComponent, "anna-core-anna-column-checkbox-filter", never, { "showFilterHeaderTabs": { "alias": "showFilterHeaderTabs"; "required": false; }; "isLurAndCsrComponent": { "alias": "isLurAndCsrComponent"; "required":
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnCheckboxFilterComponent, "anna-core-anna-column-checkbox-filter", never, { "showFilterHeaderTabs": { "alias": "showFilterHeaderTabs"; "required": false; }; "isLurAndCsrComponent": { "alias": "isLurAndCsrComponent"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "clonedTableData": { "alias": "clonedTableData"; "required": false; }; "filterTabObjects": { "alias": "filterTabObjects"; "required": false; }; }, { "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "getSortType": "getSortType"; "closeTooltip": "closeTooltip"; }, never, never, true, never>;
|
|
60
60
|
}
|
|
@@ -49,5 +49,5 @@ export declare class AnnaColumnDateRangeFilterComponent implements OnInit {
|
|
|
49
49
|
clearColumnFilter(): void;
|
|
50
50
|
storeSortTypeInTempVariable(event: SortType): void;
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnDateRangeFilterComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnDateRangeFilterComponent, "anna-core-anna-column-date-range-filter", never, { "tableData": { "alias": "tableData"; "required":
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnDateRangeFilterComponent, "anna-core-anna-column-date-range-filter", never, { "tableData": { "alias": "tableData"; "required": false; }; "clonedTableData": { "alias": "clonedTableData"; "required": false; }; "filterTabObjects": { "alias": "filterTabObjects"; "required": false; }; "isLurAndCsrComponent": { "alias": "isLurAndCsrComponent"; "required": false; }; "showFilterHeaderTabs": { "alias": "showFilterHeaderTabs"; "required": false; }; }, { "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "getSortType": "getSortType"; "closeTooltip": "closeTooltip"; }, never, never, true, never>;
|
|
53
53
|
}
|
|
@@ -61,5 +61,5 @@ export declare class AnnaColumnSliderFilterComponent implements OnInit {
|
|
|
61
61
|
emitData(): void;
|
|
62
62
|
clearColumnFilter(): void;
|
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnSliderFilterComponent, never>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnSliderFilterComponent, "anna-core-anna-column-slider-filter", never, { "filterTabObjects": { "alias": "filterTabObjects"; "required": false; }; "isLurAndCsrComponent": { "alias": "isLurAndCsrComponent"; "required":
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnSliderFilterComponent, "anna-core-anna-column-slider-filter", never, { "filterTabObjects": { "alias": "filterTabObjects"; "required": false; }; "isLurAndCsrComponent": { "alias": "isLurAndCsrComponent"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "showFilterHeaderTabs": { "alias": "showFilterHeaderTabs"; "required": false; }; "clonedTableData": { "alias": "clonedTableData"; "required": false; }; }, { "closeTooltip": "closeTooltip"; "filterAppliedToTable": "filterAppliedToTable"; "getSortType": "getSortType"; "sortingAppliedToTable": "sortingAppliedToTable"; }, never, never, true, never>;
|
|
65
65
|
}
|
|
@@ -13,9 +13,9 @@ export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
|
13
13
|
tableData: any[];
|
|
14
14
|
clonedTableData: any[];
|
|
15
15
|
filterTabObjects: any[];
|
|
16
|
-
isLurAndCsrComponent: boolean;
|
|
17
16
|
showFilterHeaderTabs: boolean;
|
|
18
17
|
showAllTimeRangeCheckboxes: boolean;
|
|
18
|
+
isLurAndCsrComponent: boolean;
|
|
19
19
|
gtGeneralConfig: IGtGeneralConfig;
|
|
20
20
|
showClearAllFilter: boolean;
|
|
21
21
|
startFromText: string;
|
|
@@ -79,5 +79,5 @@ export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
|
79
79
|
clearColumnFilter(): void;
|
|
80
80
|
storeSortTypeInTempVariable(event: SortType): void;
|
|
81
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnTimeFilterComponent, never>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnTimeFilterComponent, "anna-core-anna-column-time-filter", never, { "tableData": { "alias": "tableData"; "required":
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnTimeFilterComponent, "anna-core-anna-column-time-filter", never, { "tableData": { "alias": "tableData"; "required": false; }; "clonedTableData": { "alias": "clonedTableData"; "required": false; }; "filterTabObjects": { "alias": "filterTabObjects"; "required": false; }; "showFilterHeaderTabs": { "alias": "showFilterHeaderTabs"; "required": false; }; "showAllTimeRangeCheckboxes": { "alias": "showAllTimeRangeCheckboxes"; "required": false; }; "isLurAndCsrComponent": { "alias": "isLurAndCsrComponent"; "required": false; }; "gtGeneralConfig": { "alias": "gtGeneralConfig"; "required": false; }; "showClearAllFilter": { "alias": "showClearAllFilter"; "required": false; }; "startFromText": { "alias": "startFromText"; "required": false; }; "endToText": { "alias": "endToText"; "required": false; }; "isSortAndFilterAbsent": { "alias": "isSortAndFilterAbsent"; "required": false; }; }, { "timeChanges": "timeChanges"; "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "getSortType": "getSortType"; "closeTooltip": "closeTooltip"; }, never, never, true, never>;
|
|
83
83
|
}
|
|
@@ -2,7 +2,7 @@ import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChange
|
|
|
2
2
|
import { BehaviorSubject } from "rxjs";
|
|
3
3
|
import { GtColumnIconEmittedData, RatingSellerGroupHierarchy } from "../../../anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
4
4
|
import { IWeekCalendar } from "../../../anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
5
|
-
import { EllipsisWithTableTooltip, IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
5
|
+
import { EllipsisWithTableTooltip, IGtGeneralConfig, IGtTableHeader, IHeaderInfo, InnerHTMLTooltipAction, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
6
6
|
import { AnnaDateTimeFormatService } from "../../../anna-core-shared-lib/services/anna-date-time-format.service";
|
|
7
7
|
import { AnnaFilterService } from "../../../anna-core-shared-lib/services/anna-filter.service";
|
|
8
8
|
import { AnnaSortService } from "../../../anna-core-shared-lib/services/anna-sort.service";
|
|
@@ -132,6 +132,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
132
132
|
statusNoteForTooltip: string;
|
|
133
133
|
statusNoteForPopup: string;
|
|
134
134
|
noOfRowsToCheck: number;
|
|
135
|
+
toolTipInnerHtmlData: string;
|
|
136
|
+
innerHtmlTooltip: any;
|
|
135
137
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
136
138
|
ngAfterViewChecked(): void;
|
|
137
139
|
ngOnInit(): void;
|
|
@@ -176,6 +178,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
176
178
|
tableContainerScrolled(event: any): void;
|
|
177
179
|
mouseEnterOnStringTextActionType(rowData: any, tooltipKey: string): void;
|
|
178
180
|
mouseEnterOnStringWithTooltipTextActionType(rowData: any, tooltipKey: string, tooltip: any): void;
|
|
181
|
+
mouseEnterOnStringWithInnerHtmlTooltipTextActionType(ROW_DATA: any, action: InnerHTMLTooltipAction, tooltipWithInnerHtmlRef: any, closeOnScroll: boolean): void;
|
|
179
182
|
mouseEnterOnStringTextActionTypeContainingTable(rowData: any, tooltipKey: string): void;
|
|
180
183
|
mouseLeaveTextActionType(rowData: any): void;
|
|
181
184
|
mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
|
|
@@ -193,6 +196,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
193
196
|
showEntireStatusNote(): void;
|
|
194
197
|
closeStatusNoteTooltip(): void;
|
|
195
198
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
196
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": { "alias": "showSkeletonLoading"; "required": false; }; "tableHeaders": { "alias": "tableHeaders"; "required":
|
|
199
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": { "alias": "showSkeletonLoading"; "required": false; }; "tableHeaders": { "alias": "tableHeaders"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "clonedTableData": { "alias": "clonedTableData"; "required": false; }; "gtGeneralConfig": { "alias": "gtGeneralConfig"; "required": false; }; "totalRowInfo": { "alias": "totalRowInfo"; "required": false; }; "gtDimension": { "alias": "gtDimension"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; }; "maximumRowsWhichCanBeRenderedWithoutScroll": { "alias": "maximumRowsWhichCanBeRenderedWithoutScroll"; "required": false; }; "fixNumberOfRowsForPopup": { "alias": "fixNumberOfRowsForPopup"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "includeBorderInTableHeight": { "alias": "includeBorderInTableHeight"; "required": false; }; "downloadInProgress": { "alias": "downloadInProgress"; "required": false; }; "percentDone": { "alias": "percentDone"; "required": false; }; "starredInProgress": { "alias": "starredInProgress"; "required": false; }; "clickableRow": { "alias": "clickableRow"; "required": false; }; "setTableHeightWhenRowSizeIsFixed": { "alias": "setTableHeightWhenRowSizeIsFixed"; "required": false; }; "tableBorderBottomClassRequired": { "alias": "tableBorderBottomClassRequired"; "required": false; }; "hideSomeTds": { "alias": "hideSomeTds"; "required": false; }; "tdsHaveRowSpan": { "alias": "tdsHaveRowSpan"; "required": false; }; "multipleTablesPresent": { "alias": "multipleTablesPresent"; "required": false; }; "showOrHideToggleForTotalRow": { "alias": "showOrHideToggleForTotalRow"; "required": false; }; }, { "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"; "gtInnerHTMLClicked": "gtInnerHTMLClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; "editableInputEdited": "editableInputEdited"; "radioButtonMessageIconClicked": "radioButtonMessageIconClicked"; "statusNotePopupOpened": "statusNotePopupOpened"; }, never, never, true, never>;
|
|
197
200
|
}
|
|
198
201
|
export {};
|
|
@@ -13,5 +13,5 @@ export declare class AnnaSortComponent implements OnChanges, OnInit {
|
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
setSortType(option: string): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaSortComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaSortComponent, "anna-core-sort-lib", never, { "sortObjectKey": { "alias": "sortObjectKey"; "required":
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaSortComponent, "anna-core-sort-lib", never, { "sortObjectKey": { "alias": "sortObjectKey"; "required": false; }; }, { "sortOptionClicked": "sortOptionClicked"; }, never, never, true, never>;
|
|
17
17
|
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annalib/anna-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "28.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular-slider/ngx-slider": "^
|
|
6
|
-
"@angular/common": "^
|
|
7
|
-
"@angular/core": "^
|
|
8
|
-
"@angular/material": "^
|
|
9
|
-
"@ng-bootstrap/ng-bootstrap": "^
|
|
10
|
-
"dayjs": "^1.11.
|
|
5
|
+
"@angular-slider/ngx-slider": "^16.0.1",
|
|
6
|
+
"@angular/common": "^16.2.12",
|
|
7
|
+
"@angular/core": "^16.2.12",
|
|
8
|
+
"@angular/material": "^16.2.14",
|
|
9
|
+
"@ng-bootstrap/ng-bootstrap": "^15.1.2",
|
|
10
|
+
"dayjs": "^1.11.10",
|
|
11
11
|
"lodash-es": "^4.17.21",
|
|
12
12
|
"ng-circle-progress": "^1.7.1",
|
|
13
|
-
"ngx-skeleton-loader": "^
|
|
14
|
-
"@types/node": "^20.
|
|
13
|
+
"ngx-skeleton-loader": "^8.0.0",
|
|
14
|
+
"@types/node": "^12.20.55"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"tslib": "^2.
|
|
17
|
+
"tslib": "^2.5.0"
|
|
18
18
|
},
|
|
19
19
|
"module": "fesm2022/annalib-anna-core.mjs",
|
|
20
20
|
"typings": "index.d.ts",
|
package/public-api.d.ts
CHANGED
|
@@ -10,9 +10,11 @@ export * from "./lib/anna-core-shared-lib/components/anna-rejected-icon-template
|
|
|
10
10
|
export * from "./lib/anna-core-shared-lib/services/anna-date-time-format.service";
|
|
11
11
|
export * from "./lib/anna-core-shared-lib/services/anna-filter.service";
|
|
12
12
|
export * from "./lib/anna-core-shared-lib/services/anna-generic-table.service";
|
|
13
|
+
export * from "./lib/anna-core-shared-lib/services/anna-generic-tooltip-html.services";
|
|
13
14
|
export * from "./lib/anna-core-shared-lib/services/anna-global-config.service";
|
|
14
15
|
export * from "./lib/anna-core-shared-lib/services/anna-number-format.service";
|
|
15
16
|
export * from "./lib/anna-core-shared-lib/services/anna-persisting-filter.service";
|
|
17
|
+
export * from "./lib/anna-core-shared-lib/services/anna-regex-patterns.service";
|
|
16
18
|
export * from "./lib/anna-core-shared-lib/services/anna-sort.service";
|
|
17
19
|
export * from "./lib/anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
18
20
|
export * from "./lib/anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
@@ -20,6 +20,7 @@ $intelli-filter-default-map: (
|
|
|
20
20
|
display: inline-flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
padding: $padding;
|
|
23
|
+
white-space: nowrap;
|
|
23
24
|
|
|
24
25
|
&:disabled {
|
|
25
26
|
border: 1px solid #bdbdbd !important;
|
|
@@ -126,6 +127,7 @@ $intelli-filter-icon-default-map: (
|
|
|
126
127
|
@include fonts(Roboto, var(--easy-filter-label-fs), normal, normal, normal, normal, normal);
|
|
127
128
|
color: $charcoal;
|
|
128
129
|
margin-bottom: 0px;
|
|
130
|
+
height: 12px;
|
|
129
131
|
}
|
|
130
132
|
|
|
131
133
|
.filter-divider {
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@use "../anna-common-scss/fonts" as *;
|
|
2
|
+
@use "../anna-common-scss/colors" as *;
|
|
3
|
+
|
|
4
|
+
::ng-deep {
|
|
5
|
+
.gt-icon-innerHtml-tooltip .tooltip-inner {
|
|
6
|
+
max-width: 600px;
|
|
7
|
+
width: min-content;
|
|
8
|
+
&>div{
|
|
9
|
+
width: max-content;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.generic-innerHtml-table-heading {
|
|
14
|
+
margin-bottom: 2px;
|
|
15
|
+
@include fonts(Roboto, $fs-11, normal, 700, normal, normal, 0.3px);
|
|
16
|
+
color: #4a4a4a;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.generic-innerHtml-table-container {
|
|
20
|
+
max-height: 8.75rem;
|
|
21
|
+
width: min-content;
|
|
22
|
+
overflow: auto;
|
|
23
|
+
table {
|
|
24
|
+
table-layout: fixed;
|
|
25
|
+
width: 100%;
|
|
26
|
+
thead {
|
|
27
|
+
tr {
|
|
28
|
+
th {
|
|
29
|
+
background: #e9e9e9;
|
|
30
|
+
height: 22px;
|
|
31
|
+
padding: 3px 8px;
|
|
32
|
+
line-height: normal;
|
|
33
|
+
position: sticky;
|
|
34
|
+
top: 0;
|
|
35
|
+
cursor: default;
|
|
36
|
+
@include fonts(Roboto, $fs-11, normal, 700, normal, normal, 0.3px);
|
|
37
|
+
color: $charcoal;
|
|
38
|
+
margin-bottom: 0;
|
|
39
|
+
box-shadow:
|
|
40
|
+
inset 0 1px 0 $lightGray-4,
|
|
41
|
+
inset 0 -1px 0 $lightGray-4,
|
|
42
|
+
inset -1px 0px 0px 0px $lightGray-4;
|
|
43
|
+
|
|
44
|
+
&:first-of-type {
|
|
45
|
+
box-shadow:
|
|
46
|
+
inset 0 1px $lightGray-4,
|
|
47
|
+
inset 0 -1px $lightGray-4,
|
|
48
|
+
inset -1px 0 $lightGray-4 !important;
|
|
49
|
+
border-left: 1px solid $lightGray-4;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
tbody {
|
|
55
|
+
tr {
|
|
56
|
+
td {
|
|
57
|
+
border: 1px solid $lightGray-4;
|
|
58
|
+
padding: 3px 8px;
|
|
59
|
+
width: 100%;
|
|
60
|
+
color: #000;
|
|
61
|
+
@include fonts(Roboto, $fs-12, normal, normal, normal, normal, 0px);
|
|
62
|
+
}
|
|
63
|
+
&:first-of-type td {
|
|
64
|
+
border-top: none;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&::-webkit-scrollbar-track {
|
|
71
|
+
margin-top: 22px !important;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|