@annalib/anna-core 19.0.27 → 19.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +16 -51
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +1 -1
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +10 -27
- package/fesm2015/annalib-anna-core.mjs +21 -74
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +21 -74
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +5 -9
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -3
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_business-rule-common.scss +35 -0
- package/src/lib/anna-common-scss/_generic-table-common.scss +0 -1
- package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +1 -1
package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { NgbDate } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
+
import { NgbDate, NgbDatepickerConfig } from "@ng-bootstrap/ng-bootstrap";
|
|
3
3
|
import { AnnaDateTimeFormatService } from '../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AnnaCalendarFilterComponent implements OnInit, OnChanges {
|
|
6
6
|
private annaTimeService;
|
|
7
|
+
private datePickerConfig;
|
|
7
8
|
maxDate: any;
|
|
8
|
-
autoClose: "inside" | "outside" | boolean;
|
|
9
9
|
label: string;
|
|
10
10
|
minDate: any;
|
|
11
11
|
showLabel: boolean;
|
|
@@ -15,8 +15,6 @@ export declare class AnnaCalendarFilterComponent implements OnInit, OnChanges {
|
|
|
15
15
|
selectedDate: EventEmitter<any>;
|
|
16
16
|
selectedFromDate: any;
|
|
17
17
|
selectedToDate: any;
|
|
18
|
-
disableFunction: any;
|
|
19
|
-
showFooterTemplate: boolean;
|
|
20
18
|
apply: EventEmitter<any>;
|
|
21
19
|
cancel: EventEmitter<any>;
|
|
22
20
|
fromDate: any;
|
|
@@ -24,12 +22,11 @@ export declare class AnnaCalendarFilterComponent implements OnInit, OnChanges {
|
|
|
24
22
|
hoveredDate: any;
|
|
25
23
|
disableApplyBtn: boolean;
|
|
26
24
|
dateToBeShownInInput: string;
|
|
27
|
-
|
|
25
|
+
disableFunction: any;
|
|
26
|
+
constructor(annaTimeService: AnnaDateTimeFormatService, datePickerConfig: NgbDatepickerConfig);
|
|
28
27
|
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
-
setStartAndEndDate(): void;
|
|
30
28
|
ngOnInit(): void;
|
|
31
29
|
onDateSelection(date: NgbDate): void;
|
|
32
|
-
checkIfDisabledDateSelectedInRange(date: NgbDate): boolean;
|
|
33
30
|
isHovered(date: NgbDate): boolean;
|
|
34
31
|
isInside(date: NgbDate): boolean;
|
|
35
32
|
isRange(date: NgbDate): boolean;
|
|
@@ -37,7 +34,6 @@ export declare class AnnaCalendarFilterComponent implements OnInit, OnChanges {
|
|
|
37
34
|
applySelection(): void;
|
|
38
35
|
disableCalendarApplyBtn(): void;
|
|
39
36
|
setInputText(): void;
|
|
40
|
-
datepickerClosed(): void;
|
|
41
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCalendarFilterComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaCalendarFilterComponent, "anna-core-calendar-filter-lib", never, { "maxDate": "maxDate"; "
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaCalendarFilterComponent, "anna-core-calendar-filter-lib", never, { "maxDate": "maxDate"; "label": "label"; "minDate": "minDate"; "showLabel": "showLabel"; "dateFormat": "dateFormat"; "placeholder": "placeholder"; "disabled": "disabled"; "selectedFromDate": "selectedFromDate"; "selectedToDate": "selectedToDate"; }, { "selectedDate": "selectedDate"; "apply": "apply"; "cancel": "cancel"; }, never, never, false, never>;
|
|
43
39
|
}
|
|
@@ -38,7 +38,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
38
38
|
};
|
|
39
39
|
tableClass: string;
|
|
40
40
|
maximumRowsWhichCanBeRenderedWithoutScroll: number;
|
|
41
|
-
fixNumberOfRowsForPopup: boolean;
|
|
42
41
|
limit: number;
|
|
43
42
|
includeBorderInTableHeight: boolean;
|
|
44
43
|
downloadInProgress: boolean;
|
|
@@ -127,7 +126,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
127
126
|
trackByFn(index: number): number;
|
|
128
127
|
setTooltipRadioNames(): void;
|
|
129
128
|
selectOrUnselectCheckbox(rowData: any, columnKeys: any, isCheckboxSelected: any): void;
|
|
130
|
-
selectOrUnselectRadiobox(rowData: any, columnKeys: any, isCheckboxSelected: boolean): void;
|
|
131
129
|
selectUnselectAllRows(): void;
|
|
132
130
|
selectUnselectRow(rowData: any): void;
|
|
133
131
|
undoCreditedSpot(data: any): void;
|
|
@@ -170,6 +168,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
170
168
|
filterApplied(tableData: any[]): void;
|
|
171
169
|
sortingApplied(tableData: any[]): void;
|
|
172
170
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
173
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "
|
|
171
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; "hideSomeTds": "hideSomeTds"; "tdsHaveRowSpan": "tdsHaveRowSpan"; "multipleTablesPresent": "multipleTablesPresent"; }, { "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"; }, never, never, false, never>;
|
|
174
172
|
}
|
|
175
173
|
export {};
|
package/package.json
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.ng-content-selector-for-message {
|
|
2
|
+
display: inline;
|
|
3
|
+
font-size: 0.75rem !important;
|
|
4
|
+
font-weight: 400 !important;
|
|
5
|
+
line-height: 16px !important;
|
|
6
|
+
|
|
7
|
+
a {
|
|
8
|
+
color: #268BFF;
|
|
9
|
+
text-decoration: underline;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
::ng-deep section.message-box.sm.seller-approval-requested {
|
|
14
|
+
.div-message p.message-label {
|
|
15
|
+
padding: 0 0 0 4px !important;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
::ng-deep section.message-box.sm.inline-block-msg {
|
|
20
|
+
padding: 4px!important;
|
|
21
|
+
.div-message p.message-label {
|
|
22
|
+
display: inline-block !important;
|
|
23
|
+
padding: 0 0 0 6px !important;
|
|
24
|
+
}
|
|
25
|
+
.div-icon {
|
|
26
|
+
position: relative;
|
|
27
|
+
top: 4px;
|
|
28
|
+
left: 3px !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.comment-textarea {
|
|
33
|
+
resize: none;
|
|
34
|
+
height: 90px;
|
|
35
|
+
}
|