@annalib/anna-core 23.0.5 → 23.0.6

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.
Files changed (176) hide show
  1. package/README.md +7 -3
  2. package/{esm2020 → esm2022}/annalib-anna-core.mjs +4 -4
  3. package/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +12 -0
  4. package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +11 -0
  5. package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +11 -0
  6. package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +46 -0
  7. package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +12 -0
  8. package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +22 -0
  9. package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +11 -0
  10. package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +20 -0
  11. package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +12 -0
  12. package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +47 -0
  13. package/esm2022/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +266 -0
  14. package/esm2022/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +46 -0
  15. package/esm2022/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +41 -0
  16. package/esm2022/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +2 -0
  17. package/esm2022/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +2 -0
  18. package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +22 -0
  19. package/esm2022/lib/anna-core-shared-lib/models/anna-sort.model.mjs +7 -0
  20. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +30 -30
  21. package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +39 -0
  22. package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +27 -0
  23. package/esm2022/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +21 -0
  24. package/esm2022/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +53 -0
  25. package/esm2022/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +27 -0
  26. package/esm2022/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +17 -0
  27. package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +240 -0
  28. package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1292 -0
  29. package/esm2022/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +149 -0
  30. package/esm2022/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +135 -0
  31. package/esm2022/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +59 -0
  32. package/esm2022/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +64 -0
  33. package/esm2022/lib/anna-core-shared-lib/services/anna-sort.service.mjs +176 -0
  34. package/esm2022/lib/anna-core.module.mjs +209 -0
  35. package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +160 -0
  36. package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +359 -0
  37. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +256 -0
  38. 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
  39. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +316 -0
  40. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +295 -0
  41. package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +1004 -0
  42. package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +68 -0
  43. package/esm2022/public-api.mjs +55 -0
  44. package/fesm2022/annalib-anna-core.mjs +5552 -0
  45. package/fesm2022/annalib-anna-core.mjs.map +1 -0
  46. package/index.d.ts +5 -5
  47. package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +5 -8
  48. package/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.d.ts +5 -8
  49. package/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.d.ts +5 -5
  50. package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +15 -17
  51. package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +5 -8
  52. package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +11 -11
  53. package/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +5 -8
  54. package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +9 -12
  55. package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +5 -8
  56. package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +45 -41
  57. package/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.d.ts +34 -34
  58. package/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.d.ts +16 -16
  59. package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +10 -10
  60. package/lib/anna-core-shared-lib/models/anna-generic-data-type.model.d.ts +16 -16
  61. package/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts +98 -97
  62. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +129 -118
  63. package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +11 -11
  64. package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +25 -25
  65. package/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.d.ts +9 -9
  66. package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +9 -9
  67. package/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.d.ts +7 -8
  68. package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +9 -9
  69. package/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.d.ts +9 -9
  70. package/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.d.ts +7 -7
  71. package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +34 -28
  72. package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +154 -154
  73. package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +27 -27
  74. package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +21 -21
  75. package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +8 -8
  76. package/lib/anna-core-shared-lib/services/anna-persisting-filter.service.d.ts +8 -9
  77. package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +18 -18
  78. package/lib/anna-core.module.d.ts +42 -45
  79. package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +45 -45
  80. package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +70 -70
  81. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +60 -60
  82. 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
  83. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.d.ts +65 -65
  84. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +83 -83
  85. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +177 -174
  86. package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +17 -17
  87. package/package.json +13 -18
  88. package/public-api.d.ts +39 -42
  89. package/src/lib/anna-common-scss/_animate.scss +11 -11
  90. package/src/lib/anna-common-scss/_application-spacing.scss +5 -4
  91. package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +25 -23
  92. package/src/lib/anna-common-scss/_button.scss +1 -1
  93. package/src/lib/anna-common-scss/_colors.scss +1 -1
  94. package/src/lib/anna-common-scss/_common-order-listing-table.scss +146 -135
  95. package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +1 -1
  96. package/src/lib/anna-common-scss/_customDropdown.scss +68 -67
  97. package/src/lib/anna-common-scss/_dashboard-partials.scss +66 -64
  98. package/src/lib/anna-common-scss/_date-picker-form.scss +40 -40
  99. package/src/lib/anna-common-scss/_drag-and-drop.scss +22 -0
  100. package/src/lib/anna-common-scss/_easy-filter.scss +107 -127
  101. package/src/lib/anna-common-scss/_edit-filter-popup.scss +17 -18
  102. package/src/lib/anna-common-scss/_filters.scss +482 -471
  103. package/src/lib/anna-common-scss/_font.scss +7 -8
  104. package/src/lib/anna-common-scss/_fonts.scss +7 -7
  105. package/src/lib/anna-common-scss/_generic-modal.scss +62 -58
  106. package/src/lib/anna-common-scss/_generic-table-common.scss +140 -145
  107. package/src/lib/anna-common-scss/_gt-table.scss +172 -181
  108. package/src/lib/anna-common-scss/_icons.scss +3 -0
  109. package/src/lib/anna-common-scss/_legend.scss +5 -5
  110. package/src/lib/anna-common-scss/_mat-button-toggle.scss +11 -11
  111. package/src/lib/anna-common-scss/_mat-menu.scss +14 -14
  112. package/src/lib/anna-common-scss/_mixins.scss +134 -135
  113. package/src/lib/anna-common-scss/_modal.scss +22 -22
  114. package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +9 -8
  115. package/src/lib/anna-common-scss/_scrollbar.scss +7 -7
  116. package/src/lib/anna-common-scss/_show-hide-total-row.scss +27 -0
  117. package/src/lib/anna-common-scss/_sort.scss +20 -20
  118. package/src/lib/anna-common-scss/_toggle.scss +54 -52
  119. package/src/lib/anna-common-scss/style.scss +1 -1
  120. package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +21 -17
  121. package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +27 -27
  122. package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +26 -23
  123. package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +0 -15
  124. package/esm2020/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +0 -14
  125. package/esm2020/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +0 -11
  126. package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +0 -36
  127. package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +0 -15
  128. package/esm2020/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +0 -22
  129. package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +0 -14
  130. package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +0 -23
  131. package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +0 -15
  132. package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +0 -43
  133. package/esm2020/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +0 -284
  134. package/esm2020/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +0 -43
  135. package/esm2020/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +0 -38
  136. package/esm2020/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +0 -2
  137. package/esm2020/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +0 -2
  138. package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +0 -11
  139. package/esm2020/lib/anna-core-shared-lib/models/anna-sort.model.mjs +0 -7
  140. package/esm2020/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +0 -38
  141. package/esm2020/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +0 -26
  142. package/esm2020/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +0 -22
  143. package/esm2020/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +0 -53
  144. package/esm2020/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +0 -25
  145. package/esm2020/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +0 -16
  146. package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +0 -208
  147. package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +0 -1157
  148. package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +0 -151
  149. package/esm2020/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +0 -132
  150. package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +0 -53
  151. package/esm2020/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +0 -66
  152. package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +0 -176
  153. package/esm2020/lib/anna-core.module.mjs +0 -221
  154. package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +0 -151
  155. package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +0 -364
  156. package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +0 -237
  157. 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
  158. package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +0 -306
  159. package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +0 -291
  160. package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +0 -787
  161. package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +0 -64
  162. package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +0 -357
  163. 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
  164. package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +0 -2
  165. package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +0 -178
  166. package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +0 -2
  167. package/esm2020/public-api.mjs +0 -58
  168. package/fesm2015/annalib-anna-core.mjs +0 -5854
  169. package/fesm2015/annalib-anna-core.mjs.map +0 -1
  170. package/fesm2020/annalib-anna-core.mjs +0 -5844
  171. package/fesm2020/annalib-anna-core.mjs.map +0 -1
  172. package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +0 -141
  173. 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 +0 -89
  174. package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts +0 -1
  175. package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +0 -45
  176. package/lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts +0 -1
@@ -1,118 +1,129 @@
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
- declare 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
- declare 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
- declare 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 declare 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
+ 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
+ additionalRedTextAfterData?: string;
34
+ isActionColumn?: boolean;
35
+ actionData?: ClickableItem[];
36
+ isIconColumn?: boolean;
37
+ iconData?: {
38
+ class: string;
39
+ disabled?: boolean;
40
+ };
41
+ tooltipIconClass?: string;
42
+ }
43
+ export interface IGtHeaderConfig {
44
+ iconColumn: boolean;
45
+ checkboxColumn: boolean;
46
+ lastColumnKeys: string[];
47
+ }
48
+ export interface IGtGeneralConfig extends ISpotTableConfig {
49
+ component: COMPONENTNAME;
50
+ totalRow: boolean;
51
+ isHeaderChecked?: boolean;
52
+ disableHeaderCheckbox?: boolean;
53
+ multiWeekPickerConfig?: IWeekCalendar;
54
+ verticalScrollOffsetForFilterTooltip?: number;
55
+ tableContainerName?: string;
56
+ tableOuterContainerName?: string;
57
+ showAllColumnFilter: boolean;
58
+ bufferSize: number;
59
+ page: string;
60
+ }
61
+ type COMPONENTNAME = "SPOTDETAILS" | "EXCLUDEINVENTORYPOPUP" | "EXCLUDEINVENTORY" | "DRRLISTING" | "DRR" | "" | "RATING" | "ORDER_LISTING_INFLIGHT" | "ORDER_LISTING_COMPLETED" | "ORDER_LISTING_BLANK" | "LUR_VIOLATIONS" | "ACTIVITYLOG" | "NOTIFICATIONS" | "DP_RESTRICTIONS";
62
+ interface ISpotTableConfig {
63
+ isGrouped: boolean;
64
+ }
65
+ export interface ITooltip {
66
+ iconPosition: "left" | "right" | "above" | "below" | "before" | "after";
67
+ name: string;
68
+ tooltipPosition: string;
69
+ iconClass: string;
70
+ tooltipClass: string;
71
+ tooltipMessage?: string;
72
+ }
73
+ export interface IconData {
74
+ data: any;
75
+ iconClass: string;
76
+ }
77
+ export interface TextAction {
78
+ id: number;
79
+ name: string;
80
+ class: string;
81
+ isDisabled: boolean;
82
+ }
83
+ export declare class ClickableItem {
84
+ id: any;
85
+ name: string;
86
+ isDisabled: boolean;
87
+ class: string;
88
+ showTooltip: boolean;
89
+ tooltipData: {
90
+ key: string;
91
+ value: string;
92
+ };
93
+ enableTooltipForAdditionalText: boolean;
94
+ constructor(typeOfActionLinkForGt: any, name: string, className: string, showTooltip: boolean, tooltipData: {
95
+ key: string;
96
+ value: string;
97
+ });
98
+ }
99
+ export declare class IconCellActionKey {
100
+ id: number | string;
101
+ showIcon: boolean;
102
+ iconClass: string;
103
+ showObjectKey: boolean;
104
+ showTooltip: boolean;
105
+ tooltipData?: string;
106
+ constructor(id: any, showIcon: boolean, iconClass: string, showObjectKey: boolean, showTooltip: boolean, tooltipData?: string);
107
+ }
108
+ export interface IActionItemTypeWithStringIconOrTextAction {
109
+ id: any;
110
+ data: string;
111
+ typeOfData: "STRING" | "ICON_TEXT_ACTION";
112
+ additionalTextBeforeLink: string;
113
+ iconClass?: string;
114
+ showIcon: boolean;
115
+ disabledIcon?: boolean;
116
+ linkClass?: string;
117
+ showLink?: boolean;
118
+ disabledLink?: boolean;
119
+ showTooltip: boolean;
120
+ tooltipData?: {
121
+ key: string;
122
+ value: string;
123
+ }[];
124
+ tooltipClass?: string;
125
+ tooltipPlacement?: string;
126
+ enableTooltipForAdditionalText?: boolean;
127
+ }
128
+ export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION";
129
+ export {};
@@ -1,11 +1,11 @@
1
- export declare 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
+ 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", false>;
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", false>;
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 '@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", false>;
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", false>;
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", false>;
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", false>;
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,34 @@
1
- import { NgbDate } from '@ng-bootstrap/ng-bootstrap';
2
- import * as i0 from "@angular/core";
3
- export declare 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
- }
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): 1 | -1 | 0;
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): 1 | -1 | 0;
27
+ convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
28
+ getBroadcastWeek(startDate: any, format?: string): {
29
+ start: dayjs.Dayjs;
30
+ end: dayjs.Dayjs;
31
+ };
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateTimeFormatService, never>;
33
+ static ɵprov: i0.ɵɵInjectableDeclaration<AnnaDateTimeFormatService>;
34
+ }