@annalib/anna-core 20.1.10 → 20.2.1

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 (106) hide show
  1. package/{esm2020 → esm2022}/annalib-anna-core.mjs +4 -4
  2. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +15 -15
  3. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +14 -14
  4. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +36 -36
  5. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +15 -15
  6. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +22 -22
  7. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +14 -14
  8. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +23 -23
  9. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +15 -15
  10. package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +43 -0
  11. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +284 -284
  12. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +43 -43
  13. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +36 -36
  14. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +1 -1
  15. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +1 -1
  16. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +10 -10
  17. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-sort.model.mjs +6 -6
  18. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +29 -29
  19. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +26 -26
  20. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +22 -22
  21. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +53 -53
  22. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +25 -25
  23. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +16 -16
  24. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +208 -208
  25. package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1145 -0
  26. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +151 -151
  27. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +132 -132
  28. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +53 -53
  29. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +66 -66
  30. package/{esm2020 → esm2022}/lib/anna-core-shared-lib/services/anna-sort.service.mjs +175 -175
  31. package/esm2022/lib/anna-core.module.mjs +213 -0
  32. package/{esm2020 → esm2022}/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +151 -151
  33. package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +364 -0
  34. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +237 -237
  35. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +180 -180
  36. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +306 -306
  37. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +291 -291
  38. package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +781 -0
  39. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +64 -64
  40. package/esm2022/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +357 -0
  41. package/{esm2020 → 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 +189 -189
  42. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +1 -1
  43. package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +178 -0
  44. package/{esm2020 → esm2022}/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +1 -1
  45. package/{esm2020 → esm2022}/public-api.mjs +56 -56
  46. package/fesm2022/annalib-anna-core.mjs +5774 -0
  47. package/fesm2022/annalib-anna-core.mjs.map +1 -0
  48. package/index.d.ts +5 -5
  49. package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +8 -8
  50. package/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.d.ts +8 -8
  51. package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +17 -17
  52. package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +8 -8
  53. package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +11 -11
  54. package/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +8 -8
  55. package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +12 -12
  56. package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +8 -8
  57. package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +41 -41
  58. package/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.d.ts +34 -34
  59. package/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.d.ts +16 -16
  60. package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +10 -10
  61. package/lib/anna-core-shared-lib/models/anna-generic-data-type.model.d.ts +16 -16
  62. package/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts +97 -97
  63. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +118 -118
  64. package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +11 -11
  65. package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +25 -25
  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 +8 -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 +28 -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 +9 -9
  77. package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +18 -18
  78. package/lib/anna-core.module.d.ts +43 -44
  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 +174 -174
  86. package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +17 -17
  87. package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +141 -141
  88. 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
  89. package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts +1 -1
  90. package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +45 -45
  91. package/lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts +1 -1
  92. package/package.json +10 -16
  93. package/public-api.d.ts +41 -41
  94. package/esm2020/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +0 -11
  95. package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +0 -43
  96. package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +0 -1145
  97. package/esm2020/lib/anna-core.module.mjs +0 -216
  98. package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +0 -364
  99. package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +0 -784
  100. package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +0 -357
  101. package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +0 -178
  102. package/fesm2015/annalib-anna-core.mjs +0 -5795
  103. package/fesm2015/annalib-anna-core.mjs.map +0 -1
  104. package/fesm2020/annalib-anna-core.mjs +0 -5787
  105. package/fesm2020/annalib-anna-core.mjs.map +0 -1
  106. package/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.d.ts +0 -5
@@ -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 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", false>;
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", false>;
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", false>;
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", false>;
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", false>;
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
+ }