@annalib/anna-core 20.2.19 → 20.2.21
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/README.md +28 -28
- package/{esm2020 → esm2022}/annalib-anna-core.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +14 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +13 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +11 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +43 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +14 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +22 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +13 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +22 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +14 -0
- package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +44 -0
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +273 -273
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +46 -46
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +39 -39
- package/esm2022/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +2 -0
- package/esm2022/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +2 -0
- package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +11 -0
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-sort.model.mjs +7 -7
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +30 -30
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +39 -39
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +27 -27
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +22 -22
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +55 -55
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +26 -26
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +17 -17
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +208 -208
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1259 -0
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +151 -151
- package/esm2022/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +135 -0
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +53 -53
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +65 -65
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-sort.service.mjs +178 -178
- package/esm2022/lib/anna-core.module.mjs +226 -0
- package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +160 -0
- package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +371 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +252 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +185 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +312 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +298 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +845 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +64 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +352 -0
- package/esm2022/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.mjs +204 -0
- package/{esm2020 → esm2022}/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +2 -2
- package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +180 -0
- package/{esm2020 → esm2022}/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +2 -2
- package/{esm2020 → esm2022}/public-api.mjs +58 -58
- package/fesm2022/annalib-anna-core.mjs +6063 -0
- package/fesm2022/annalib-anna-core.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +8 -8
- package/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.d.ts +8 -8
- package/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.d.ts +5 -5
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +17 -17
- package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +8 -8
- package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +11 -11
- package/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +8 -8
- package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +12 -12
- package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +8 -8
- package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +42 -41
- package/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.d.ts +34 -34
- package/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.d.ts +16 -16
- package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +10 -10
- package/lib/anna-core-shared-lib/models/anna-generic-data-type.model.d.ts +16 -16
- package/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts +97 -97
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +118 -118
- package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +11 -11
- package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +25 -25
- package/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.d.ts +9 -9
- package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +9 -9
- package/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.d.ts +8 -8
- package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +9 -9
- package/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.d.ts +9 -9
- package/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.d.ts +7 -7
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +28 -28
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +154 -154
- package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +27 -27
- package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +21 -21
- package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +8 -8
- package/lib/anna-core-shared-lib/services/anna-persisting-filter.service.d.ts +9 -9
- package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +18 -18
- package/lib/anna-core.module.d.ts +45 -45
- package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +45 -45
- package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +70 -70
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +60 -60
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.d.ts +53 -53
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.d.ts +65 -65
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +83 -83
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +174 -174
- package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +17 -17
- package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +141 -141
- package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.d.ts +89 -89
- package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts +1 -1
- package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +45 -45
- package/lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts +1 -1
- package/package.json +5 -11
- package/public-api.d.ts +42 -42
- package/src/lib/anna-common-scss/_animate.scss +27 -27
- package/src/lib/anna-common-scss/_application-spacing.scss +7 -7
- package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +27 -27
- package/src/lib/anna-common-scss/_button.scss +18 -18
- package/src/lib/anna-common-scss/_colors.scss +107 -107
- package/src/lib/anna-common-scss/_common-order-listing-table.scss +172 -172
- package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +14 -14
- package/src/lib/anna-common-scss/_customDropdown.scss +123 -123
- package/src/lib/anna-common-scss/_dashboard-partials.scss +106 -106
- package/src/lib/anna-common-scss/_date-picker-form.scss +87 -87
- package/src/lib/anna-common-scss/_easy-filter.scss +138 -138
- package/src/lib/anna-common-scss/_edit-filter-popup.scss +70 -70
- package/src/lib/anna-common-scss/_filters.scss +712 -712
- package/src/lib/anna-common-scss/_font.scss +9 -9
- package/src/lib/anna-common-scss/_fonts.scss +86 -86
- package/src/lib/anna-common-scss/_generic-modal.scss +63 -63
- package/src/lib/anna-common-scss/_generic-table-common.scss +198 -198
- package/src/lib/anna-common-scss/_gt-table.scss +425 -425
- package/src/lib/anna-common-scss/_legend.scss +11 -11
- package/src/lib/anna-common-scss/_mat-button-toggle.scss +38 -38
- package/src/lib/anna-common-scss/_mat-menu.scss +17 -17
- package/src/lib/anna-common-scss/_mixins.scss +187 -187
- package/src/lib/anna-common-scss/_modal.scss +37 -37
- package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +36 -36
- package/src/lib/anna-common-scss/_scrollbar.scss +14 -14
- package/src/lib/anna-common-scss/_sort.scss +30 -30
- package/src/lib/anna-common-scss/_toggle.scss +86 -86
- package/src/lib/anna-common-scss/style.scss +1 -1
- package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +25 -25
- package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +34 -34
- package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +31 -31
- package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +0 -14
- package/esm2020/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +0 -13
- package/esm2020/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +0 -11
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +0 -43
- package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +0 -14
- package/esm2020/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +0 -22
- package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +0 -13
- package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +0 -22
- package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +0 -14
- package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +0 -43
- package/esm2020/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +0 -2
- package/esm2020/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +0 -2
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +0 -11
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +0 -1259
- package/esm2020/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +0 -135
- package/esm2020/lib/anna-core.module.mjs +0 -237
- package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +0 -160
- package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +0 -371
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +0 -252
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +0 -185
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +0 -312
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +0 -298
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +0 -840
- package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +0 -64
- package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +0 -352
- package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.mjs +0 -204
- package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +0 -180
- package/fesm2015/annalib-anna-core.mjs +0 -6076
- package/fesm2015/annalib-anna-core.mjs.map +0 -1
- package/fesm2020/annalib-anna-core.mjs +0 -6068
- package/fesm2020/annalib-anna-core.mjs.map +0 -1
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
import { IWeekCalendar } from './anna-global-dropdown-config.model';
|
|
2
|
-
export interface IGtTableHeader {
|
|
3
|
-
headerInfo: IHeaderInfo[];
|
|
4
|
-
visible: boolean;
|
|
5
|
-
width: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IHeaderInfo {
|
|
8
|
-
name: string;
|
|
9
|
-
objectKey: string;
|
|
10
|
-
actionKey?: string;
|
|
11
|
-
tooltipKey?: string;
|
|
12
|
-
isDisabledKey?: string;
|
|
13
|
-
typeOfHeaderData: DATATYPE;
|
|
14
|
-
typeOfBodyData: DATATYPE;
|
|
15
|
-
filter?: FILTERTYPE;
|
|
16
|
-
filterSortObjectKeys?: string[];
|
|
17
|
-
isSortRequired?: boolean[];
|
|
18
|
-
isFilterRequired?: boolean[];
|
|
19
|
-
showTooltipIcon: boolean;
|
|
20
|
-
disableTooltipIcon?: boolean;
|
|
21
|
-
tooltip?: ITooltip;
|
|
22
|
-
joinedFilterSortObjectKeys?: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export interface ITotalRowInfo {
|
|
27
|
-
colspan: number;
|
|
28
|
-
data: string;
|
|
29
|
-
lowerData?: string;
|
|
30
|
-
colName: string;
|
|
31
|
-
class?: string;
|
|
32
|
-
tooltipMessage?: string;
|
|
33
|
-
isActionColumn?: boolean;
|
|
34
|
-
actionData?: ClickableItem[];
|
|
35
|
-
isIconColumn?: boolean;
|
|
36
|
-
iconData?: {
|
|
37
|
-
class: string;
|
|
38
|
-
disabled?: boolean;
|
|
39
|
-
};
|
|
40
|
-
tooltipIconClass?: string;
|
|
41
|
-
}
|
|
42
|
-
export interface IGtHeaderConfig {
|
|
43
|
-
iconColumn: boolean;
|
|
44
|
-
checkboxColumn: boolean;
|
|
45
|
-
lastColumnKeys: string[];
|
|
46
|
-
}
|
|
47
|
-
export interface IGtGeneralConfig extends ISpotTableConfig {
|
|
48
|
-
component: COMPONENTNAME;
|
|
49
|
-
totalRow: boolean;
|
|
50
|
-
isHeaderChecked?: boolean;
|
|
51
|
-
disableHeaderCheckbox?: boolean;
|
|
52
|
-
multiWeekPickerConfig?: IWeekCalendar;
|
|
53
|
-
verticalScrollOffsetForFilterTooltip?: number;
|
|
54
|
-
tableContainerName?: string;
|
|
55
|
-
tableOuterContainerName?: string;
|
|
56
|
-
showAllColumnFilter: boolean;
|
|
57
|
-
bufferSize: number;
|
|
58
|
-
page: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
interface ISpotTableConfig {
|
|
62
|
-
isGrouped: boolean;
|
|
63
|
-
}
|
|
64
|
-
export interface ITooltip {
|
|
65
|
-
iconPosition: 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
|
|
66
|
-
name: string;
|
|
67
|
-
tooltipPosition: string;
|
|
68
|
-
iconClass: string;
|
|
69
|
-
tooltipClass: string;
|
|
70
|
-
}
|
|
71
|
-
export interface IconData {
|
|
72
|
-
data: any;
|
|
73
|
-
iconClass: string;
|
|
74
|
-
}
|
|
75
|
-
export interface TextAction {
|
|
76
|
-
id: number;
|
|
77
|
-
name: string;
|
|
78
|
-
class: string;
|
|
79
|
-
isDisabled: boolean;
|
|
80
|
-
}
|
|
81
|
-
export declare class ClickableItem {
|
|
82
|
-
id: any;
|
|
83
|
-
name: string;
|
|
84
|
-
isDisabled: boolean;
|
|
85
|
-
class: string;
|
|
86
|
-
showTooltip: boolean;
|
|
87
|
-
tooltipData: {
|
|
88
|
-
key: string;
|
|
89
|
-
value: string;
|
|
90
|
-
};
|
|
91
|
-
enableTooltipForAdditionalText: boolean;
|
|
92
|
-
constructor(typeOfActionLinkForGt: any, name: string, className: string, showTooltip: boolean, tooltipData: {
|
|
93
|
-
key: string;
|
|
94
|
-
value: string;
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
|
|
98
|
-
id: any;
|
|
99
|
-
data: string;
|
|
100
|
-
iconClass: string;
|
|
101
|
-
showIcon: boolean;
|
|
102
|
-
disabledIcon: boolean;
|
|
103
|
-
linkClass: string;
|
|
104
|
-
showLink: boolean;
|
|
105
|
-
disabledLink: boolean;
|
|
106
|
-
showTooltip: boolean;
|
|
107
|
-
tooltipData: {
|
|
108
|
-
key: string;
|
|
109
|
-
value: string;
|
|
110
|
-
}[];
|
|
111
|
-
tooltipClass?: string;
|
|
112
|
-
tooltipPlacement?: string;
|
|
113
|
-
typeOfData: 'STRING' | 'ICON_TEXT_ACTION';
|
|
114
|
-
additionalTextBeforeLink: string;
|
|
115
|
-
enableTooltipForAdditionalText: boolean;
|
|
116
|
-
}
|
|
117
|
-
export
|
|
118
|
-
export {};
|
|
1
|
+
import { IWeekCalendar } from './anna-global-dropdown-config.model';
|
|
2
|
+
export interface IGtTableHeader {
|
|
3
|
+
headerInfo: IHeaderInfo[];
|
|
4
|
+
visible: boolean;
|
|
5
|
+
width: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IHeaderInfo {
|
|
8
|
+
name: string;
|
|
9
|
+
objectKey: string;
|
|
10
|
+
actionKey?: string;
|
|
11
|
+
tooltipKey?: string;
|
|
12
|
+
isDisabledKey?: string;
|
|
13
|
+
typeOfHeaderData: DATATYPE;
|
|
14
|
+
typeOfBodyData: DATATYPE;
|
|
15
|
+
filter?: FILTERTYPE;
|
|
16
|
+
filterSortObjectKeys?: string[];
|
|
17
|
+
isSortRequired?: boolean[];
|
|
18
|
+
isFilterRequired?: boolean[];
|
|
19
|
+
showTooltipIcon: boolean;
|
|
20
|
+
disableTooltipIcon?: boolean;
|
|
21
|
+
tooltip?: ITooltip;
|
|
22
|
+
joinedFilterSortObjectKeys?: string;
|
|
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';
|
|
25
|
+
type FILTERTYPE = 'CHECKBOX' | 'SLIDER' | 'DATE' | 'TIME' | 'WEEK';
|
|
26
|
+
export interface ITotalRowInfo {
|
|
27
|
+
colspan: number;
|
|
28
|
+
data: string;
|
|
29
|
+
lowerData?: string;
|
|
30
|
+
colName: string;
|
|
31
|
+
class?: string;
|
|
32
|
+
tooltipMessage?: string;
|
|
33
|
+
isActionColumn?: boolean;
|
|
34
|
+
actionData?: ClickableItem[];
|
|
35
|
+
isIconColumn?: boolean;
|
|
36
|
+
iconData?: {
|
|
37
|
+
class: string;
|
|
38
|
+
disabled?: boolean;
|
|
39
|
+
};
|
|
40
|
+
tooltipIconClass?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface IGtHeaderConfig {
|
|
43
|
+
iconColumn: boolean;
|
|
44
|
+
checkboxColumn: boolean;
|
|
45
|
+
lastColumnKeys: string[];
|
|
46
|
+
}
|
|
47
|
+
export interface IGtGeneralConfig extends ISpotTableConfig {
|
|
48
|
+
component: COMPONENTNAME;
|
|
49
|
+
totalRow: boolean;
|
|
50
|
+
isHeaderChecked?: boolean;
|
|
51
|
+
disableHeaderCheckbox?: boolean;
|
|
52
|
+
multiWeekPickerConfig?: IWeekCalendar;
|
|
53
|
+
verticalScrollOffsetForFilterTooltip?: number;
|
|
54
|
+
tableContainerName?: string;
|
|
55
|
+
tableOuterContainerName?: string;
|
|
56
|
+
showAllColumnFilter: boolean;
|
|
57
|
+
bufferSize: number;
|
|
58
|
+
page: string;
|
|
59
|
+
}
|
|
60
|
+
type COMPONENTNAME = 'SPOTDETAILS' | 'EXCLUDEINVENTORYPOPUP' | 'EXCLUDEINVENTORY' | 'DRRLISTING' | 'DRR' | '' | 'RATING' | 'ORDER_LISTING_INFLIGHT' | 'ORDER_LISTING_COMPLETED' | 'ORDER_LISTING_BLANK' | 'LUR_VIOLATIONS' | 'ACTIVITYLOG' | 'NOTIFICATIONS' | 'DP_RESTRICTIONS';
|
|
61
|
+
interface ISpotTableConfig {
|
|
62
|
+
isGrouped: boolean;
|
|
63
|
+
}
|
|
64
|
+
export interface ITooltip {
|
|
65
|
+
iconPosition: 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
|
|
66
|
+
name: string;
|
|
67
|
+
tooltipPosition: string;
|
|
68
|
+
iconClass: string;
|
|
69
|
+
tooltipClass: string;
|
|
70
|
+
}
|
|
71
|
+
export interface IconData {
|
|
72
|
+
data: any;
|
|
73
|
+
iconClass: string;
|
|
74
|
+
}
|
|
75
|
+
export interface TextAction {
|
|
76
|
+
id: number;
|
|
77
|
+
name: string;
|
|
78
|
+
class: string;
|
|
79
|
+
isDisabled: boolean;
|
|
80
|
+
}
|
|
81
|
+
export declare class ClickableItem {
|
|
82
|
+
id: any;
|
|
83
|
+
name: string;
|
|
84
|
+
isDisabled: boolean;
|
|
85
|
+
class: string;
|
|
86
|
+
showTooltip: boolean;
|
|
87
|
+
tooltipData: {
|
|
88
|
+
key: string;
|
|
89
|
+
value: string;
|
|
90
|
+
};
|
|
91
|
+
enableTooltipForAdditionalText: boolean;
|
|
92
|
+
constructor(typeOfActionLinkForGt: any, name: string, className: string, showTooltip: boolean, tooltipData: {
|
|
93
|
+
key: string;
|
|
94
|
+
value: string;
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
|
|
98
|
+
id: any;
|
|
99
|
+
data: string;
|
|
100
|
+
iconClass: string;
|
|
101
|
+
showIcon: boolean;
|
|
102
|
+
disabledIcon: boolean;
|
|
103
|
+
linkClass: string;
|
|
104
|
+
showLink: boolean;
|
|
105
|
+
disabledLink: boolean;
|
|
106
|
+
showTooltip: boolean;
|
|
107
|
+
tooltipData: {
|
|
108
|
+
key: string;
|
|
109
|
+
value: string;
|
|
110
|
+
}[];
|
|
111
|
+
tooltipClass?: string;
|
|
112
|
+
tooltipPlacement?: string;
|
|
113
|
+
typeOfData: 'STRING' | 'ICON_TEXT_ACTION';
|
|
114
|
+
additionalTextBeforeLink: string;
|
|
115
|
+
enableTooltipForAdditionalText: boolean;
|
|
116
|
+
}
|
|
117
|
+
export type IconToShow = 'LIVE' | 'PAY_FOR_PERFORMANCE_ACTIVE' | 'PAY_FOR_PERFORMANCE' | 'REJECTED' | 'NOTIFY' | 'AWAITING_APPROVAL' | 'DELETED_ORDER' | 'NEED_SELLER_CONFIRMATION' | 'NEED_BUYER_CONFIRMATION';
|
|
118
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
export interface SortOption {
|
|
3
|
-
sortType: SortType;
|
|
4
|
-
isOptionActive: boolean;
|
|
5
|
-
text: string;
|
|
6
|
-
}
|
|
7
|
-
export declare enum SortTypeEnum {
|
|
8
|
-
DEFAULT = "DEFAULT",
|
|
9
|
-
ASC = "ASC",
|
|
10
|
-
DESC = "DESC"
|
|
11
|
-
}
|
|
1
|
+
export type SortType = 'DEFAULT' | 'ASC' | 'DESC';
|
|
2
|
+
export interface SortOption {
|
|
3
|
+
sortType: SortType;
|
|
4
|
+
isOptionActive: boolean;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export declare enum SortTypeEnum {
|
|
8
|
+
DEFAULT = "DEFAULT",
|
|
9
|
+
ASC = "ASC",
|
|
10
|
+
DESC = "DESC"
|
|
11
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export declare class TooltipModel {
|
|
2
|
-
isSelected: boolean;
|
|
3
|
-
label: string;
|
|
4
|
-
id: number;
|
|
5
|
-
value: string;
|
|
6
|
-
constructor(obj: string, id: number);
|
|
7
|
-
}
|
|
8
|
-
export declare class tooltipModelForColumnLevelFiltering {
|
|
9
|
-
isHidden: boolean;
|
|
10
|
-
isSelected: boolean;
|
|
11
|
-
data: string;
|
|
12
|
-
constructor(data: string);
|
|
13
|
-
}
|
|
14
|
-
export declare class radioButtonModel {
|
|
15
|
-
key: string;
|
|
16
|
-
label: string;
|
|
17
|
-
isSortRequired: boolean;
|
|
18
|
-
isFilterRequired: boolean;
|
|
19
|
-
constructor(key: string, value: string, sort: boolean, filter: boolean);
|
|
20
|
-
}
|
|
21
|
-
export declare enum AllSelectedStatus {
|
|
22
|
-
none = 0,
|
|
23
|
-
allSelected = 1,
|
|
24
|
-
fewSelected = 2
|
|
25
|
-
}
|
|
1
|
+
export declare class TooltipModel {
|
|
2
|
+
isSelected: boolean;
|
|
3
|
+
label: string;
|
|
4
|
+
id: number;
|
|
5
|
+
value: string;
|
|
6
|
+
constructor(obj: string, id: number);
|
|
7
|
+
}
|
|
8
|
+
export declare class tooltipModelForColumnLevelFiltering {
|
|
9
|
+
isHidden: boolean;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
data: string;
|
|
12
|
+
constructor(data: string);
|
|
13
|
+
}
|
|
14
|
+
export declare class radioButtonModel {
|
|
15
|
+
key: string;
|
|
16
|
+
label: string;
|
|
17
|
+
isSortRequired: boolean;
|
|
18
|
+
isFilterRequired: boolean;
|
|
19
|
+
constructor(key: string, value: string, sort: boolean, filter: boolean);
|
|
20
|
+
}
|
|
21
|
+
export declare enum AllSelectedStatus {
|
|
22
|
+
none = 0,
|
|
23
|
+
allSelected = 1,
|
|
24
|
+
fewSelected = 2
|
|
25
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaConvertArrayToCommaSeperatedValue implements PipeTransform {
|
|
4
|
-
converter: ((value: any[], textKeyName?: any, selectedKeyName?: any) => string) & import("lodash").MemoizedFunction;
|
|
5
|
-
transform(value: any[], textKeyName?: any, selectedKeyName?: any): string;
|
|
6
|
-
replace(value: any[], textKeyName?: any, selectedKeyName?: any): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaConvertArrayToCommaSeperatedValue, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaConvertArrayToCommaSeperatedValue, "annaConvertArrayToCSV", true>;
|
|
9
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaConvertArrayToCommaSeperatedValue implements PipeTransform {
|
|
4
|
+
converter: ((value: any[], textKeyName?: any, selectedKeyName?: any) => string) & import("lodash").MemoizedFunction;
|
|
5
|
+
transform(value: any[], textKeyName?: any, selectedKeyName?: any): string;
|
|
6
|
+
replace(value: any[], textKeyName?: any, selectedKeyName?: any): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaConvertArrayToCommaSeperatedValue, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaConvertArrayToCommaSeperatedValue, "annaConvertArrayToCSV", true>;
|
|
9
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaConvertZeroOrNullOrUndefinedPipe implements PipeTransform {
|
|
4
|
-
transformer: ((value: any, convertTo: any) => number | string) & import("lodash").MemoizedFunction;
|
|
5
|
-
transform(value: any, convertTo: any): number | string;
|
|
6
|
-
replace(value: any, convertTo: any): number | string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaConvertZeroOrNullOrUndefinedPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaConvertZeroOrNullOrUndefinedPipe, "AnnaConvertZeroOrNullOrUndefined", true>;
|
|
9
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaConvertZeroOrNullOrUndefinedPipe implements PipeTransform {
|
|
4
|
+
transformer: ((value: any, convertTo: any) => number | string) & import("lodash").MemoizedFunction;
|
|
5
|
+
transform(value: any, convertTo: any): number | string;
|
|
6
|
+
replace(value: any, convertTo: any): number | string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaConvertZeroOrNullOrUndefinedPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaConvertZeroOrNullOrUndefinedPipe, "AnnaConvertZeroOrNullOrUndefined", true>;
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaDateFormatterPipe implements PipeTransform {
|
|
4
|
-
constructor();
|
|
5
|
-
transform(value: any, format: string): any;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateFormatterPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaDateFormatterPipe, "AnnaDateFormatter", true>;
|
|
8
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaDateFormatterPipe implements PipeTransform {
|
|
4
|
+
constructor();
|
|
5
|
+
transform(value: any, format: string): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateFormatterPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaDateFormatterPipe, "AnnaDateFormatter", true>;
|
|
8
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaFilterSearchedTextPipe implements PipeTransform {
|
|
4
|
-
callFilter: ((items: any[], searchText: string, keyName?: any) => any[]) & import("lodash").MemoizedFunction;
|
|
5
|
-
transform(items: any[], searchText: any, keyName?: any): any[];
|
|
6
|
-
filter(items: any[], searchText: string, keyName?: any): any[];
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterSearchedTextPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaFilterSearchedTextPipe, "AnnafilterSearchedText", true>;
|
|
9
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaFilterSearchedTextPipe implements PipeTransform {
|
|
4
|
+
callFilter: ((items: any[], searchText: string, keyName?: any) => any[]) & import("lodash").MemoizedFunction;
|
|
5
|
+
transform(items: any[], searchText: any, keyName?: any): any[];
|
|
6
|
+
filter(items: any[], searchText: string, keyName?: any): any[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterSearchedTextPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaFilterSearchedTextPipe, "AnnafilterSearchedText", true>;
|
|
9
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaReplaceCharPipe implements PipeTransform {
|
|
4
|
-
converter: ((value: string, from: string, to: string) => string) & import("lodash").MemoizedFunction;
|
|
5
|
-
transform(value: string, charToBeReplaced: string, replaceBy: string): string;
|
|
6
|
-
replace(value: string, from: string, to: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaReplaceCharPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaReplaceCharPipe, "annaReplaceChar", true>;
|
|
9
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaReplaceCharPipe implements PipeTransform {
|
|
4
|
+
converter: ((value: string, from: string, to: string) => string) & import("lodash").MemoizedFunction;
|
|
5
|
+
transform(value: string, charToBeReplaced: string, replaceBy: string): string;
|
|
6
|
+
replace(value: string, from: string, to: string): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaReplaceCharPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaReplaceCharPipe, "annaReplaceChar", true>;
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaTypeofDataPipe implements PipeTransform {
|
|
4
|
-
transform(value: any): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaTypeofDataPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaTypeofDataPipe, "AnnatypeofData", true>;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaTypeofDataPipe implements PipeTransform {
|
|
4
|
+
transform(value: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaTypeofDataPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaTypeofDataPipe, "AnnatypeofData", true>;
|
|
7
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { NgbDate } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
4
|
-
year: number;
|
|
5
|
-
month: number;
|
|
6
|
-
day: number;
|
|
7
|
-
};
|
|
8
|
-
export declare class AnnaDateTimeFormatService {
|
|
9
|
-
constructor();
|
|
10
|
-
convertToNgbDateStandardFormat(date: any): NgbDateType | NgbDate;
|
|
11
|
-
convertToNgbDate(date: any, parseFormat: any): NgbDateType | NgbDate;
|
|
12
|
-
static formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
|
|
13
|
-
convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
|
|
14
|
-
static removeZero(time: any): any;
|
|
15
|
-
addZero(time: any): any;
|
|
16
|
-
sortByTimeAscending(a: any, b: any): number;
|
|
17
|
-
sortByTimeDescending(a: any, b: any): number;
|
|
18
|
-
convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
|
|
19
|
-
compareDate(a: string, b: string, isAsc: boolean): number;
|
|
20
|
-
static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
|
|
21
|
-
static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
|
|
22
|
-
formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
|
|
23
|
-
compare(a: number | string, b: number | string, isAsc: boolean): number;
|
|
24
|
-
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): number;
|
|
25
|
-
convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateTimeFormatService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaDateTimeFormatService>;
|
|
28
|
-
}
|
|
1
|
+
import { NgbDate } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type NgbDateType = {
|
|
4
|
+
year: number;
|
|
5
|
+
month: number;
|
|
6
|
+
day: number;
|
|
7
|
+
};
|
|
8
|
+
export declare class AnnaDateTimeFormatService {
|
|
9
|
+
constructor();
|
|
10
|
+
convertToNgbDateStandardFormat(date: any): NgbDateType | NgbDate;
|
|
11
|
+
convertToNgbDate(date: any, parseFormat: any): NgbDateType | NgbDate;
|
|
12
|
+
static formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
|
|
13
|
+
convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
|
|
14
|
+
static removeZero(time: any): any;
|
|
15
|
+
addZero(time: any): any;
|
|
16
|
+
sortByTimeAscending(a: any, b: any): number;
|
|
17
|
+
sortByTimeDescending(a: any, b: any): number;
|
|
18
|
+
convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
|
|
19
|
+
compareDate(a: string, b: string, isAsc: boolean): number;
|
|
20
|
+
static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
|
|
21
|
+
static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
|
|
22
|
+
formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
|
|
23
|
+
compare(a: number | string, b: number | string, isAsc: boolean): number;
|
|
24
|
+
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): number;
|
|
25
|
+
convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateTimeFormatService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaDateTimeFormatService>;
|
|
28
|
+
}
|