@annalib/anna-core 20.3.0 → 20.3.2
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 -24
- 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 +12 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +11 -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 +46 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +12 -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 +11 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +20 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +12 -0
- package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +47 -0
- package/esm2022/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +266 -0
- package/esm2022/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +46 -0
- package/esm2022/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +41 -0
- 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 +22 -0
- package/esm2022/lib/anna-core-shared-lib/models/anna-sort.model.mjs +7 -0
- package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +30 -30
- package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +39 -0
- package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +27 -0
- package/esm2022/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +21 -0
- package/esm2022/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +53 -0
- package/esm2022/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +27 -0
- package/esm2022/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +17 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +229 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1265 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +149 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +135 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +59 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +64 -0
- package/esm2022/lib/anna-core-shared-lib/services/anna-sort.service.mjs +176 -0
- package/esm2022/lib/anna-core.module.mjs +222 -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 +359 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +256 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +186 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +316 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +295 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +870 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +68 -0
- package/esm2022/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +353 -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 +1 -1
- package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +186 -0
- package/{esm2020 → esm2022}/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +1 -1
- package/esm2022/public-api.mjs +59 -0
- package/fesm2022/annalib-anna-core.mjs +6111 -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 +5 -8
- package/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.d.ts +5 -8
- package/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.d.ts +5 -0
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +15 -17
- package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +5 -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 +5 -8
- package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +9 -12
- package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +5 -8
- package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +45 -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 +128 -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 -0
- package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +9 -9
- package/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.d.ts +7 -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 +30 -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 +8 -9
- package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +18 -18
- package/lib/anna-core.module.d.ts +45 -43
- 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 +175 -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 +13 -18
- package/public-api.d.ts +42 -41
- package/src/lib/anna-common-scss/_animate.scss +27 -27
- package/src/lib/anna-common-scss/_application-spacing.scss +7 -6
- package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +27 -25
- 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 +176 -165
- package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +14 -14
- package/src/lib/anna-common-scss/_customDropdown.scss +123 -122
- package/src/lib/anna-common-scss/_dashboard-partials.scss +106 -104
- package/src/lib/anna-common-scss/_date-picker-form.scss +87 -87
- package/src/lib/anna-common-scss/_easy-filter.scss +138 -158
- package/src/lib/anna-common-scss/_edit-filter-popup.scss +70 -71
- package/src/lib/anna-common-scss/_filters.scss +724 -713
- package/src/lib/anna-common-scss/_font.scss +9 -10
- package/src/lib/anna-common-scss/_fonts.scss +86 -86
- package/src/lib/anna-common-scss/_generic-modal.scss +63 -59
- package/src/lib/anna-common-scss/_generic-table-common.scss +198 -203
- package/src/lib/anna-common-scss/_gt-table.scss +425 -434
- package/src/lib/anna-common-scss/_icons.scss +3 -0
- 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 -188
- package/src/lib/anna-common-scss/_modal.scss +37 -37
- package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +36 -0
- 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 -84
- 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 -21
- package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +34 -0
- package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +31 -28
- package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +0 -15
- package/esm2020/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +0 -14
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +0 -36
- package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +0 -15
- 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 -14
- package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +0 -23
- package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +0 -15
- package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +0 -43
- package/esm2020/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +0 -284
- package/esm2020/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +0 -43
- package/esm2020/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +0 -36
- 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/models/anna-sort.model.mjs +0 -7
- package/esm2020/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +0 -26
- package/esm2020/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +0 -22
- package/esm2020/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +0 -53
- package/esm2020/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +0 -25
- package/esm2020/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +0 -16
- package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +0 -208
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +0 -1145
- package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +0 -151
- package/esm2020/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +0 -132
- package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +0 -53
- package/esm2020/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +0 -66
- package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +0 -175
- package/esm2020/lib/anna-core.module.mjs +0 -213
- package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +0 -151
- package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +0 -364
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +0 -237
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +0 -180
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +0 -306
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +0 -291
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +0 -781
- 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 -357
- 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 -189
- package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +0 -178
- package/esm2020/public-api.mjs +0 -57
- package/fesm2015/annalib-anna-core.mjs +0 -5782
- package/fesm2015/annalib-anna-core.mjs.map +0 -1
- package/fesm2020/annalib-anna-core.mjs +0 -5774
- package/fesm2020/annalib-anna-core.mjs.map +0 -1
|
@@ -1,118 +1,128 @@
|
|
|
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:
|
|
66
|
-
name: string;
|
|
67
|
-
tooltipPosition: string;
|
|
68
|
-
iconClass: string;
|
|
69
|
-
tooltipClass: string;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
+
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
|
+
tooltipMessage?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface IconData {
|
|
73
|
+
data: any;
|
|
74
|
+
iconClass: string;
|
|
75
|
+
}
|
|
76
|
+
export interface TextAction {
|
|
77
|
+
id: number;
|
|
78
|
+
name: string;
|
|
79
|
+
class: string;
|
|
80
|
+
isDisabled: boolean;
|
|
81
|
+
}
|
|
82
|
+
export declare class ClickableItem {
|
|
83
|
+
id: any;
|
|
84
|
+
name: string;
|
|
85
|
+
isDisabled: boolean;
|
|
86
|
+
class: string;
|
|
87
|
+
showTooltip: boolean;
|
|
88
|
+
tooltipData: {
|
|
89
|
+
key: string;
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
enableTooltipForAdditionalText: boolean;
|
|
93
|
+
constructor(typeOfActionLinkForGt: any, name: string, className: string, showTooltip: boolean, tooltipData: {
|
|
94
|
+
key: string;
|
|
95
|
+
value: string;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
export declare class IconCellActionKey {
|
|
99
|
+
id: number | string;
|
|
100
|
+
showIcon: boolean;
|
|
101
|
+
iconClass: string;
|
|
102
|
+
showObjectKey: boolean;
|
|
103
|
+
showTooltip: boolean;
|
|
104
|
+
tooltipData?: string;
|
|
105
|
+
constructor(id: any, showIcon: boolean, iconClass: string, showObjectKey: boolean, showTooltip: boolean, tooltipData?: string);
|
|
106
|
+
}
|
|
107
|
+
export interface IActionItemTypeWithStringIconOrTextAction {
|
|
108
|
+
id: any;
|
|
109
|
+
data: string;
|
|
110
|
+
typeOfData: "STRING" | "ICON_TEXT_ACTION";
|
|
111
|
+
additionalTextBeforeLink: string;
|
|
112
|
+
iconClass?: string;
|
|
113
|
+
showIcon: boolean;
|
|
114
|
+
disabledIcon?: boolean;
|
|
115
|
+
linkClass?: string;
|
|
116
|
+
showLink?: boolean;
|
|
117
|
+
disabledLink?: boolean;
|
|
118
|
+
showTooltip: boolean;
|
|
119
|
+
tooltipData?: {
|
|
120
|
+
key: string;
|
|
121
|
+
value: string;
|
|
122
|
+
}[];
|
|
123
|
+
tooltipClass?: string;
|
|
124
|
+
tooltipPlacement?: string;
|
|
125
|
+
enableTooltipForAdditionalText?: boolean;
|
|
126
|
+
}
|
|
127
|
+
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION";
|
|
128
|
+
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
|
|
9
|
-
isHidden: boolean;
|
|
10
|
-
isSelected: boolean;
|
|
11
|
-
data: string;
|
|
12
|
-
constructor(data: string);
|
|
13
|
-
}
|
|
14
|
-
export declare class
|
|
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
|
+
}
|
|
@@ -0,0 +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,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",
|
|
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,7 @@
|
|
|
1
|
-
import { PipeTransform } from
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaDateFormatterPipe implements PipeTransform {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
static
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaDateFormatterPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, format: string): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateFormatterPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaDateFormatterPipe, "AnnaDateFormatter", true>;
|
|
7
|
+
}
|
|
@@ -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",
|
|
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",
|
|
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
|
|
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",
|
|
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,30 @@
|
|
|
1
|
-
import { NgbDate } from
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { NgbDate } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
+
import dayjs, { UnitType } from "dayjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type NgbDateType = {
|
|
5
|
+
year: number;
|
|
6
|
+
month: number;
|
|
7
|
+
day: number;
|
|
8
|
+
};
|
|
9
|
+
export declare class AnnaDateTimeFormatService {
|
|
10
|
+
constructor();
|
|
11
|
+
convertToNgbDateStandardFormat(date: any): NgbDateType | NgbDate;
|
|
12
|
+
convertToNgbDate(date: any, parseFormat: any): NgbDateType | NgbDate;
|
|
13
|
+
static formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
|
|
14
|
+
convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
|
|
15
|
+
static removeZero(time: any): any;
|
|
16
|
+
addZero(time: any): any;
|
|
17
|
+
sortByTimeAscending(a: any, b: any): number;
|
|
18
|
+
sortByTimeDescending(a: any, b: any): number;
|
|
19
|
+
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 0 | 1 | -1;
|
|
20
|
+
convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
|
|
21
|
+
compareDate(a: string, b: string, isAsc: boolean): number;
|
|
22
|
+
static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
|
|
23
|
+
static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
|
|
24
|
+
formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
|
|
25
|
+
compare(a: number | string, b: number | string, isAsc: boolean): number;
|
|
26
|
+
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 0 | 1 | -1;
|
|
27
|
+
convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateTimeFormatService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaDateTimeFormatService>;
|
|
30
|
+
}
|