@annalib/anna-core 35.7.0 → 35.8.0

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.
@@ -1,4 +1,3 @@
1
- import { SingleSelectIdText } from "../../anna-dropdown-lib/components/anna-single-select/models/anna-single-select.model";
2
1
  export interface IRadioButton {
3
2
  value: any;
4
3
  isDisabled: boolean;
@@ -93,8 +92,6 @@ export interface ICustomSingleSelect {
93
92
  placeholder: string;
94
93
  classes: string;
95
94
  position: Position;
96
- showBlueBorderOnEdit?: boolean;
97
- initialSelectedItem?: SingleSelectIdText;
98
95
  maxHeightOfList: number;
99
96
  minHeightOfList?: number;
100
97
  }
@@ -29,7 +29,7 @@ export interface IHeaderInfo {
29
29
  showSplitedOptionsInFilter?: boolean[];
30
30
  splitDelimiter?: string[];
31
31
  }
32
- 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" | "STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "STRING_ELLIPSIS_WITH_TABLE_TOOLTIP" | "STRING_WITH_TOOLTIP_INNER_HTML" | "ICON_CELL_AND_STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "SINGLE_SELECT_DROPDOWN" | "SINGLE_SELECT_DROPDOWN_AND_ICON" | "DIGIT_ONLY_INPUT" | "HTML_STRING_AND_CLICKABLE_DATA";
32
+ 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" | "STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "STRING_ELLIPSIS_WITH_TABLE_TOOLTIP" | "STRING_WITH_TOOLTIP_INNER_HTML" | "ICON_CELL_AND_STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "SINGLE_SELECT_DROPDOWN" | "DIGIT_ONLY_INPUT" | "TIME_INPUT";
33
33
  type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
34
34
  export interface ISvgOrIconTypeInGTTable {
35
35
  showObjectKey: boolean;
@@ -38,6 +38,18 @@ export interface ISvgOrIconTypeInGTTable {
38
38
  additionalText?: string;
39
39
  additionalTextClass?: string;
40
40
  }
41
+ export interface ITimeInputData {
42
+ selectedTimeAsAString: string;
43
+ startTime: string;
44
+ endTime: string;
45
+ showAsInput: boolean;
46
+ disableInput: boolean;
47
+ icons?: {
48
+ id: string;
49
+ class: string;
50
+ tooltipMessage: string;
51
+ }[];
52
+ }
41
53
  export declare class SvgOrIconTypeInGTTable {
42
54
  showObjectKey: boolean;
43
55
  svgOrIconName?: string;
@@ -146,15 +158,6 @@ export declare class ClickableItem {
146
158
  value: string;
147
159
  });
148
160
  }
149
- export declare class ITextAndClickableDataActionKey {
150
- id: string | number;
151
- innerHTMLText: string;
152
- linkName: string;
153
- showLink: boolean;
154
- showText: boolean;
155
- class: string;
156
- constructor(id: string | number, innerHTMLText: string, linkName: string, showLink: boolean, showText: boolean, className?: string);
157
- }
158
161
  export declare class IconCellActionKey {
159
162
  id: number | string;
160
163
  showIcon: boolean;
@@ -242,13 +245,4 @@ export interface IDropdownConfigForGT {
242
245
  selectedItem: SingleSelectIdText;
243
246
  dropdownConfig: ICustomSingleSelect;
244
247
  }
245
- export interface IDropdownConfigWithIconForGT {
246
- itemList: SingleSelectIdText[];
247
- selectedItem: SingleSelectIdText;
248
- dropdownConfig: ICustomSingleSelect;
249
- showIcon: boolean;
250
- iconClass: string;
251
- showTooltip: boolean;
252
- tooltipData?: string;
253
- }
254
248
  export {};
@@ -28,7 +28,6 @@ export declare class AnnaSingleSelectComponent implements OnInit, OnChanges {
28
28
  yPosition: any;
29
29
  width: number;
30
30
  heightOfCheckboxTooltipFilter: number;
31
- showBlueBorder: boolean;
32
31
  buttonElement: ElementRef;
33
32
  constructor(annaGlobalConfig: AnnaGlobalConfigService, searchFilterPipe: AnnaFilterSearchedTextPipe);
34
33
  ngOnChanges(changes: SimpleChanges): void;
@@ -2,7 +2,7 @@ import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChange
2
2
  import { BehaviorSubject } from "rxjs";
3
3
  import { GtColumnIconEmittedData, RatingSellerGroupHierarchy } from "../../../anna-core-shared-lib/models/anna-generic-data-type.model";
4
4
  import { IWeekCalendar } from "../../../anna-core-shared-lib/models/anna-global-dropdown-config.model";
5
- import { EllipsisWithTableTooltip, IGtGeneralConfig, IGtTableHeader, IHeaderInfo, InnerHTMLTooltipAction, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
5
+ import { EllipsisWithTableTooltip, IGtGeneralConfig, IGtTableHeader, IHeaderInfo, InnerHTMLTooltipAction, ITimeInputData, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
6
6
  import { AnnaDateTimeFormatService } from "../../../anna-core-shared-lib/services/anna-date-time-format.service";
7
7
  import { AnnaFilterService } from "../../../anna-core-shared-lib/services/anna-filter.service";
8
8
  import { AnnaSortService } from "../../../anna-core-shared-lib/services/anna-sort.service";
@@ -84,6 +84,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
84
84
  row: any;
85
85
  dropdownIndex: number;
86
86
  }>;
87
+ timeSelected: EventEmitter<{
88
+ event: string[][];
89
+ rowData: any;
90
+ }>;
87
91
  totalRowRadioButtonClicked: EventEmitter<string>;
88
92
  totalRowRadioButtonIconClicked: EventEmitter<string>;
89
93
  numberOfSkeletonRows: number[][];
@@ -160,6 +164,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
160
164
  numberOfRowsToAppend: number;
161
165
  digitInputmin: number;
162
166
  digitInputMax: number;
167
+ timeInputData: {
168
+ time: string;
169
+ }[];
170
+ selectedRowForTimeEdit: any[];
163
171
  constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
164
172
  ngAfterViewChecked(): void;
165
173
  ngOnInit(): void;
@@ -225,7 +233,11 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
225
233
  closeStatusNoteTooltip(): void;
226
234
  onInputChange(rowData: any, key: string, value: Event): void;
227
235
  toPascalCaseWithExceptions(input: string): string;
236
+ bindTheValueToTimeInputTooltip(tooltip: any): void;
237
+ closeTimeInputTooltip(): void;
238
+ timeInputTooltipClickedInTableBody(event: ITimeInputData, rowData: any): void;
239
+ timeSelectedInTableRow(event: string[][]): void;
228
240
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
229
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": { "alias": "showSkeletonLoading"; "required": false; }; "tableHeaders": { "alias": "tableHeaders"; "required": true; }; "tableData": { "alias": "tableData"; "required": true; }; "clonedTableData": { "alias": "clonedTableData"; "required": true; }; "gtGeneralConfig": { "alias": "gtGeneralConfig"; "required": true; }; "totalRowInfo": { "alias": "totalRowInfo"; "required": false; }; "gtDimension": { "alias": "gtDimension"; "required": true; }; "extraHeaderRowForAdjustingColumnWidths": { "alias": "extraHeaderRowForAdjustingColumnWidths"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; }; "maximumRowsWhichCanBeRenderedWithoutScroll": { "alias": "maximumRowsWhichCanBeRenderedWithoutScroll"; "required": false; }; "fixNumberOfRowsForPopup": { "alias": "fixNumberOfRowsForPopup"; "required": false; }; "fixRowsToRender": { "alias": "fixRowsToRender"; "required": false; }; "includeBorderInTableHeight": { "alias": "includeBorderInTableHeight"; "required": false; }; "downloadInProgress": { "alias": "downloadInProgress"; "required": false; }; "percentDone": { "alias": "percentDone"; "required": false; }; "starredInProgress": { "alias": "starredInProgress"; "required": false; }; "clickableRow": { "alias": "clickableRow"; "required": false; }; "setTableHeightWhenRowSizeIsFixed": { "alias": "setTableHeightWhenRowSizeIsFixed"; "required": false; }; "tableBorderBottomClassRequired": { "alias": "tableBorderBottomClassRequired"; "required": false; }; "hideSomeTds": { "alias": "hideSomeTds"; "required": false; }; "tdsHaveRowSpan": { "alias": "tdsHaveRowSpan"; "required": false; }; "multipleTablesPresent": { "alias": "multipleTablesPresent"; "required": false; }; "showOrHideToggleForTotalRow": { "alias": "showOrHideToggleForTotalRow"; "required": false; }; }, { "toggleCheckbox": "toggleCheckbox"; "toggleRowCheckbox": "toggleRowCheckbox"; "toggleHeaderCheckbox": "toggleHeaderCheckbox"; "undoIconClicked": "undoIconClicked"; "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "rowClicked": "rowClicked"; "radioButtonSelected": "radioButtonSelected"; "columnFilterOpened": "columnFilterOpened"; "columnFilterClosed": "columnFilterClosed"; "gtIconClicked": "gtIconClicked"; "gtSVGIconClicked": "gtSVGIconClicked"; "gtTextActionClicked": "gtTextActionClicked"; "gtViewDetailClicked": "gtViewDetailClicked"; "gtInnerHTMLClicked": "gtInnerHTMLClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; "editableInputEdited": "editableInputEdited"; "radioButtonMessageIconClicked": "radioButtonMessageIconClicked"; "statusNotePopupOpened": "statusNotePopupOpened"; "digitOnlyInputChanged": "digitOnlyInputChanged"; "singleSelectDropdownValueEmit": "singleSelectDropdownValueEmit"; "totalRowRadioButtonClicked": "totalRowRadioButtonClicked"; "totalRowRadioButtonIconClicked": "totalRowRadioButtonIconClicked"; }, never, never, true, never>;
241
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": { "alias": "showSkeletonLoading"; "required": false; }; "tableHeaders": { "alias": "tableHeaders"; "required": true; }; "tableData": { "alias": "tableData"; "required": true; }; "clonedTableData": { "alias": "clonedTableData"; "required": true; }; "gtGeneralConfig": { "alias": "gtGeneralConfig"; "required": true; }; "totalRowInfo": { "alias": "totalRowInfo"; "required": false; }; "gtDimension": { "alias": "gtDimension"; "required": true; }; "extraHeaderRowForAdjustingColumnWidths": { "alias": "extraHeaderRowForAdjustingColumnWidths"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; }; "maximumRowsWhichCanBeRenderedWithoutScroll": { "alias": "maximumRowsWhichCanBeRenderedWithoutScroll"; "required": false; }; "fixNumberOfRowsForPopup": { "alias": "fixNumberOfRowsForPopup"; "required": false; }; "fixRowsToRender": { "alias": "fixRowsToRender"; "required": false; }; "includeBorderInTableHeight": { "alias": "includeBorderInTableHeight"; "required": false; }; "downloadInProgress": { "alias": "downloadInProgress"; "required": false; }; "percentDone": { "alias": "percentDone"; "required": false; }; "starredInProgress": { "alias": "starredInProgress"; "required": false; }; "clickableRow": { "alias": "clickableRow"; "required": false; }; "setTableHeightWhenRowSizeIsFixed": { "alias": "setTableHeightWhenRowSizeIsFixed"; "required": false; }; "tableBorderBottomClassRequired": { "alias": "tableBorderBottomClassRequired"; "required": false; }; "hideSomeTds": { "alias": "hideSomeTds"; "required": false; }; "tdsHaveRowSpan": { "alias": "tdsHaveRowSpan"; "required": false; }; "multipleTablesPresent": { "alias": "multipleTablesPresent"; "required": false; }; "showOrHideToggleForTotalRow": { "alias": "showOrHideToggleForTotalRow"; "required": false; }; }, { "toggleCheckbox": "toggleCheckbox"; "toggleRowCheckbox": "toggleRowCheckbox"; "toggleHeaderCheckbox": "toggleHeaderCheckbox"; "undoIconClicked": "undoIconClicked"; "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "rowClicked": "rowClicked"; "radioButtonSelected": "radioButtonSelected"; "columnFilterOpened": "columnFilterOpened"; "columnFilterClosed": "columnFilterClosed"; "gtIconClicked": "gtIconClicked"; "gtSVGIconClicked": "gtSVGIconClicked"; "gtTextActionClicked": "gtTextActionClicked"; "gtViewDetailClicked": "gtViewDetailClicked"; "gtInnerHTMLClicked": "gtInnerHTMLClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; "editableInputEdited": "editableInputEdited"; "radioButtonMessageIconClicked": "radioButtonMessageIconClicked"; "statusNotePopupOpened": "statusNotePopupOpened"; "digitOnlyInputChanged": "digitOnlyInputChanged"; "singleSelectDropdownValueEmit": "singleSelectDropdownValueEmit"; "timeSelected": "timeSelected"; "totalRowRadioButtonClicked": "totalRowRadioButtonClicked"; "totalRowRadioButtonIconClicked": "totalRowRadioButtonIconClicked"; }, never, never, true, never>;
230
242
  }
231
243
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "35.7.0",
3
+ "version": "35.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^19.0.0",
6
6
  "@angular/common": "^19.2.10",