@annalib/anna-core 23.0.2 → 23.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/{esm2020 → esm2022}/annalib-anna-core.mjs +4 -4
  2. package/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +15 -0
  3. package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +14 -0
  4. package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +11 -0
  5. package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +36 -0
  6. package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +15 -0
  7. package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +22 -0
  8. package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +14 -0
  9. package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +23 -0
  10. package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +15 -0
  11. package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +43 -0
  12. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +285 -284
  13. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +44 -43
  14. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +39 -38
  15. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +1 -1
  16. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +1 -1
  17. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +10 -10
  18. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-sort.model.mjs +6 -6
  19. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +29 -29
  20. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +39 -38
  21. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +27 -26
  22. package/esm2022/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +23 -0
  23. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +54 -53
  24. package/esm2022/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +26 -0
  25. package/esm2022/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +17 -0
  26. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +208 -208
  27. package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1155 -0
  28. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +151 -151
  29. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +132 -132
  30. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +53 -53
  31. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +66 -66
  32. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-sort.service.mjs +176 -176
  33. package/esm2022/lib/anna-core.module.mjs +226 -0
  34. package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +159 -0
  35. package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +370 -0
  36. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +238 -0
  37. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +180 -0
  38. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +308 -0
  39. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +293 -0
  40. package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +791 -0
  41. package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +64 -0
  42. package/esm2022/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +357 -0
  43. 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 +190 -0
  44. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +1 -1
  45. package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +179 -0
  46. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +1 -1
  47. package/{esm2020 → esm2022}/public-api.mjs +57 -57
  48. package/fesm2022/annalib-anna-core.mjs +5869 -0
  49. package/fesm2022/annalib-anna-core.mjs.map +1 -0
  50. package/index.d.ts +5 -5
  51. package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +8 -8
  52. package/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.d.ts +8 -8
  53. package/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.d.ts +5 -5
  54. package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +17 -17
  55. package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +8 -8
  56. package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +11 -11
  57. package/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +8 -8
  58. package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +12 -12
  59. package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +8 -8
  60. package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +41 -41
  61. package/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.d.ts +34 -34
  62. package/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.d.ts +16 -16
  63. package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +10 -10
  64. package/lib/anna-core-shared-lib/models/anna-generic-data-type.model.d.ts +16 -16
  65. package/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts +97 -97
  66. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +118 -118
  67. package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +11 -11
  68. package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +25 -25
  69. package/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.d.ts +9 -9
  70. package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +9 -9
  71. package/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.d.ts +8 -8
  72. package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +9 -9
  73. package/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.d.ts +9 -9
  74. package/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.d.ts +7 -7
  75. package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +28 -28
  76. package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +154 -154
  77. package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +27 -27
  78. package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +21 -21
  79. package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +8 -8
  80. package/lib/anna-core-shared-lib/services/anna-persisting-filter.service.d.ts +9 -9
  81. package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +18 -18
  82. package/lib/anna-core.module.d.ts +45 -45
  83. package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +45 -45
  84. package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +70 -70
  85. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +60 -60
  86. 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
  87. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.d.ts +65 -65
  88. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +83 -83
  89. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +174 -174
  90. package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +17 -17
  91. package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +141 -141
  92. 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
  93. package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts +1 -1
  94. package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +45 -45
  95. package/lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts +1 -1
  96. package/package.json +13 -18
  97. package/public-api.d.ts +42 -42
  98. package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +5 -0
  99. package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +0 -15
  100. package/esm2020/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +0 -14
  101. package/esm2020/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +0 -11
  102. package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +0 -36
  103. package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +0 -15
  104. package/esm2020/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +0 -22
  105. package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +0 -14
  106. package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +0 -23
  107. package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +0 -15
  108. package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +0 -43
  109. package/esm2020/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +0 -22
  110. package/esm2020/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +0 -25
  111. package/esm2020/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +0 -16
  112. package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +0 -1155
  113. package/esm2020/lib/anna-core.module.mjs +0 -221
  114. package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +0 -151
  115. package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +0 -364
  116. package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +0 -237
  117. 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
  118. package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +0 -306
  119. package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +0 -291
  120. package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +0 -787
  121. package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +0 -64
  122. package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +0 -357
  123. 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
  124. package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +0 -178
  125. package/fesm2015/annalib-anna-core.mjs +0 -5851
  126. package/fesm2015/annalib-anna-core.mjs.map +0 -1
  127. package/fesm2020/annalib-anna-core.mjs +0 -5842
  128. 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
- 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
+ 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 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,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", false>;
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", 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,28 @@
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 * 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
+ }