@annalib/anna-core 12.8.2 → 12.10.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.
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +3 -3
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +4 -4
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1 -58
- package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +1 -1
- package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +1 -1
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +3 -3
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +38 -20
- package/fesm2015/annalib-anna-core.mjs +46 -85
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +46 -85
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +0 -5
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +0 -4
- 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/_generic-modal.scss +59 -0
- package/src/lib/anna-common-scss/_generic-table-common.scss +8 -43
|
@@ -32,11 +32,6 @@ export interface ITotalRowInfo {
|
|
|
32
32
|
tooltipMessage?: string;
|
|
33
33
|
isActionColumn?: boolean;
|
|
34
34
|
actionData?: ClickableItem[];
|
|
35
|
-
isIconColumn?: boolean;
|
|
36
|
-
iconData?: {
|
|
37
|
-
class: string;
|
|
38
|
-
disabled?: boolean;
|
|
39
|
-
};
|
|
40
35
|
}
|
|
41
36
|
export interface IGtHeaderConfig {
|
|
42
37
|
iconColumn: boolean;
|
|
@@ -9,9 +9,9 @@ export declare class AnnaDateTimeFormatService {
|
|
|
9
9
|
constructor();
|
|
10
10
|
convertToNgbDateStandardFormat(date: any): NgbDateType | NgbDate;
|
|
11
11
|
convertToNgbDate(date: any, parseFormat: any): NgbDateType | NgbDate;
|
|
12
|
-
|
|
12
|
+
formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
|
|
13
13
|
convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
|
|
14
|
-
|
|
14
|
+
removeZero(time: any): any;
|
|
15
15
|
addZero(time: any): any;
|
|
16
16
|
sortByTimeAscending(a: any, b: any): number;
|
|
17
17
|
sortByTimeDescending(a: any, b: any): number;
|
|
@@ -69,10 +69,6 @@ export declare class AnnaFilterService {
|
|
|
69
69
|
}, key: string): boolean;
|
|
70
70
|
updateStateOfTheCurrentFilterTab(sortMap: Map<string, SortType>): void;
|
|
71
71
|
updateStateOfAllTheKeys(sortMap: Map<string, SortType>): void;
|
|
72
|
-
incrementHour(value: any): any;
|
|
73
|
-
decrementHour(value: any): any;
|
|
74
|
-
incrementMinute(value: any): any;
|
|
75
|
-
decrementMinute(value: any): any;
|
|
76
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
77
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
78
74
|
}
|
|
@@ -68,7 +68,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
68
68
|
gtViewDetailClicked: EventEmitter<any>;
|
|
69
69
|
downloadSpotDetails: EventEmitter<any>;
|
|
70
70
|
clickableDataClicked: EventEmitter<any>;
|
|
71
|
-
totalRowIconClicked: EventEmitter<any>;
|
|
72
71
|
notificationIconHover: EventEmitter<any>;
|
|
73
72
|
notificationIconHoverLeave: EventEmitter<any>;
|
|
74
73
|
numberOfSkeletonRows: number[][];
|
|
@@ -301,8 +300,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
301
300
|
mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
|
|
302
301
|
onClickableDataClicked(Rowdata: any, id: number): void;
|
|
303
302
|
removeTooltipOnScroll(): void;
|
|
304
|
-
iconClickedInTotalRow(colName: string): void;
|
|
305
303
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
306
|
-
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"; }, { "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"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "
|
|
304
|
+
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"; }, { "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"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; }, never, never, false, never>;
|
|
307
305
|
}
|
|
308
306
|
export {};
|
package/package.json
CHANGED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@mixin generic-modal-for-user-popup {
|
|
2
|
+
.float-end {
|
|
3
|
+
margin-left: auto;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.close {
|
|
7
|
+
margin-left: auto;
|
|
8
|
+
}
|
|
9
|
+
.modal-dialog {
|
|
10
|
+
top: 100px !important;
|
|
11
|
+
}
|
|
12
|
+
.modal-content {
|
|
13
|
+
min-width: 26.625rem;
|
|
14
|
+
width: 26.625rem;
|
|
15
|
+
max-width: 26.625rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.modal-header {
|
|
19
|
+
background-image: url('../../../assets/images/bg-heads.png');
|
|
20
|
+
color: var(--body-color);
|
|
21
|
+
padding: 0.5rem 0.5rem 0.25rem 1rem;
|
|
22
|
+
border-bottom: none !important;
|
|
23
|
+
|
|
24
|
+
h3 {
|
|
25
|
+
margin-top: auto;
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
@include fonts(Roboto, 1.125rem, normal, normal, normal, normal, normal);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.modal-body {
|
|
32
|
+
padding: 1.5rem;
|
|
33
|
+
font-size: 12px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.buttons {
|
|
37
|
+
display: flex;
|
|
38
|
+
padding-inline: 0;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.primary-button {
|
|
43
|
+
@include modal-button(var(--primary-blue-color), var(--body-color), none);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.secondary-button {
|
|
47
|
+
@include modal-button(var(--secondary-btn-bg-color), var(--primary-blue-color), 1px solid rgba(38,139,255,.12));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
button:focus {
|
|
51
|
+
outline: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
button:disabled {
|
|
55
|
+
background-color: var(--disabled-button-color);
|
|
56
|
+
color: var(--primary-text-color-dark);
|
|
57
|
+
opacity: 0.5;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -131,55 +131,20 @@
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
@mixin
|
|
135
|
-
.scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
|
|
136
|
-
border: none !important;
|
|
137
|
-
filter: drop-shadow(2px 0 2px colors.$lightGray-4);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
@mixin genericTableTotalRowShadow($columnNumber){
|
|
142
|
-
.scroll-left-shadow-effect .total-row td:nth-of-type(#{$columnNumber}) {
|
|
143
|
-
filter: drop-shadow(2px 0 2px colors.$lightGray-4);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
134
|
+
@mixin overrideEmptyTrBorders($startIndex) {
|
|
146
135
|
|
|
147
|
-
|
|
148
|
-
.scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
|
|
149
|
-
filter: drop-shadow(2px 0 1px colors.$lightGray-4);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
136
|
+
tr.no-border-tr:first-of-type {
|
|
152
137
|
|
|
153
|
-
|
|
154
|
-
.scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
|
|
155
|
-
box-shadow: none !important;
|
|
156
|
-
border: none !important;
|
|
157
|
-
filter: none;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@mixin genericTableOverrideTableDataShadow($columnNumber){
|
|
162
|
-
.scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
|
|
163
|
-
filter: none;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@mixin overrideEmptyTrBorders($startIndex){
|
|
168
|
-
|
|
169
|
-
tr.no-border-tr:first-of-type{
|
|
170
|
-
|
|
171
|
-
td:nth-of-type(#{$startIndex}){
|
|
138
|
+
td:nth-of-type(#{$startIndex}) {
|
|
172
139
|
box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
|
|
173
140
|
}
|
|
174
|
-
|
|
175
|
-
td:nth-child(n+ #{$startIndex + 1}){
|
|
141
|
+
|
|
142
|
+
td:nth-child(n+ #{$startIndex + 1}) {
|
|
176
143
|
box-shadow: none !important;
|
|
177
144
|
}
|
|
178
145
|
|
|
179
|
-
td:last-of-type{
|
|
146
|
+
td:last-of-type {
|
|
180
147
|
box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
|
|
181
|
-
}
|
|
148
|
+
}
|
|
182
149
|
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
150
|
+
}
|