@annalib/anna-core 6.1.2 → 6.2.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/constants/shared.constant.mjs +2 -3
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/models/anna-sort.model.mjs +2 -7
- package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +3 -3
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +5 -7
- package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +8 -84
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +48 -90
- package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +4 -6
- package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +4 -4
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/annalib-anna-core.mjs +102 -236
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +101 -235
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +1 -2
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -1
- package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +0 -5
- package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +4 -18
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +8 -21
- package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2020/lib/anna-core-shared-lib/models/anna-manage-users.model.mjs +0 -8
- package/lib/anna-core-shared-lib/models/anna-manage-users.model.d.ts +0 -6
- package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +0 -25
- package/src/lib/anna-common-scss/_date-picker-form.scss +0 -72
- package/src/lib/anna-common-scss/_generic-table-common.scss +0 -69
|
@@ -8,8 +8,7 @@ export declare class Constants {
|
|
|
8
8
|
static readonly ACTIVE_USER_STATUS = "active";
|
|
9
9
|
static readonly DELETED_USER_STATUS = "deleted";
|
|
10
10
|
static readonly INACTIVE_USER_STATUS = "inactive";
|
|
11
|
-
static readonly OGAdminRole = "
|
|
12
|
-
static readonly ASARole = "Anna Station Admin";
|
|
11
|
+
static readonly OGAdminRole = "OG-admin";
|
|
13
12
|
static readonly dollars = "$";
|
|
14
13
|
}
|
|
15
14
|
export declare class ErrorCodes {
|
|
@@ -20,7 +20,7 @@ export interface IHeaderInfo {
|
|
|
20
20
|
tooltip?: ITooltip;
|
|
21
21
|
joinedFilterSortObjectKeys?: string;
|
|
22
22
|
}
|
|
23
|
-
declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA"
|
|
23
|
+
declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA";
|
|
24
24
|
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
25
25
|
export interface ITotalRowInfo {
|
|
26
26
|
colspan: number;
|
|
@@ -1,28 +1,14 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
1
|
import { Subject } from "rxjs";
|
|
3
2
|
import { AnnaFilterService } from "./anna-filter.service";
|
|
4
3
|
import { AnnaSortService } from "./anna-sort.service";
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
5
|
+
export declare class AnnaGenericTableService {
|
|
7
6
|
private annaFilterService;
|
|
8
|
-
private router;
|
|
9
|
-
private route;
|
|
10
7
|
private annaSortService;
|
|
11
8
|
virtualScrollSubject: Subject<unknown>;
|
|
12
|
-
constructor(annaFilterService: AnnaFilterService,
|
|
9
|
+
constructor(annaFilterService: AnnaFilterService, annaSortService: AnnaSortService);
|
|
13
10
|
calculateNumberOfSkeletonColumnsForTable(tableHeaders: any[]): number[][];
|
|
14
11
|
initColumnFilterAndSorting(): void;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
prepareQueryParamsOnFilter(): {
|
|
18
|
-
appliedFilters: string[];
|
|
19
|
-
selectedFilterData: string;
|
|
20
|
-
sortState: string;
|
|
21
|
-
};
|
|
22
|
-
initTableFilters(clonedTableData: any): void;
|
|
23
|
-
initFilters(): void;
|
|
24
|
-
setDataAsPerPersistingFilter(isPersistingFilter: boolean, clonedTable: any, filters: any): any;
|
|
25
|
-
callSort(usersTable: any): any;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaGtHelperService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaGtHelperService>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaGenericTableService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaGenericTableService>;
|
|
28
14
|
}
|
|
@@ -9,26 +9,26 @@ import { SortType } from '../../../anna-core-shared-lib/models/anna-sort.model';
|
|
|
9
9
|
import { radioButtonModel, TooltipModel } from '../../../anna-core-shared-lib/models/anna-tooltip.model';
|
|
10
10
|
import { AnnaSortService } from '../../../anna-core-shared-lib/services/anna-sort.service';
|
|
11
11
|
import { AnnaFilterService } from '../../../anna-core-shared-lib/services/anna-filter.service';
|
|
12
|
+
import { AnnaGenericTableService } from '../../../anna-core-shared-lib/services/anna-generic-table.service';
|
|
12
13
|
import { BehaviorSubject } from 'rxjs';
|
|
13
|
-
import { UserActivationStatus } from '../../../anna-core-shared-lib/models/anna-manage-users.model';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnChanges, AfterViewChecked {
|
|
16
16
|
private cdRef;
|
|
17
17
|
private annaSortService;
|
|
18
18
|
annaDateTimeFormatService: AnnaDateTimeFormatService;
|
|
19
19
|
annaFilterService: AnnaFilterService;
|
|
20
|
+
private annaGenericTableService;
|
|
20
21
|
showSkeletonLoading: boolean;
|
|
21
22
|
tableHeaders: IGtTableHeader[];
|
|
22
23
|
tableData: any[];
|
|
23
24
|
clonedTableData: any[];
|
|
25
|
+
numberOfSkeletonRows: number[];
|
|
24
26
|
gtGeneralConfig: IGtGeneralConfig;
|
|
25
27
|
totalRowInfo?: ITotalRowInfo[];
|
|
26
28
|
gtDimension: {
|
|
27
29
|
rowHeight: number;
|
|
30
|
+
tableHeight: string;
|
|
28
31
|
headerHeight: number;
|
|
29
|
-
dataOnTopHeight: number;
|
|
30
|
-
marginFromBottom: number;
|
|
31
|
-
tableHeight?: string;
|
|
32
32
|
};
|
|
33
33
|
tableClass: string;
|
|
34
34
|
maximumRowsWhichCanBeRenderedWithoutScroll: number;
|
|
@@ -37,7 +37,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
37
37
|
downloadInProgress: boolean;
|
|
38
38
|
percentDone: number;
|
|
39
39
|
starredInProgress: boolean;
|
|
40
|
-
clickableRow: boolean;
|
|
41
40
|
toggleCheckbox: EventEmitter<any>;
|
|
42
41
|
toggleRowCheckbox: EventEmitter<any>;
|
|
43
42
|
toggleHeaderCheckbox: EventEmitter<any>;
|
|
@@ -53,8 +52,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
53
52
|
gtTextActionClicked: EventEmitter<any>;
|
|
54
53
|
gtViewDetailClicked: EventEmitter<any>;
|
|
55
54
|
downloadSpotDetails: EventEmitter<any>;
|
|
56
|
-
clickableDataClicked: EventEmitter<any>;
|
|
57
|
-
numberOfSkeletonRows: number[][];
|
|
58
55
|
tableDataWrapper: any[];
|
|
59
56
|
rowChecked: boolean;
|
|
60
57
|
isAllRowsChecked: boolean;
|
|
@@ -149,17 +146,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
149
146
|
heightOfCheckboxTooltipFilter: number;
|
|
150
147
|
isNoDataToDisplaySubject$: BehaviorSubject<boolean>;
|
|
151
148
|
selectedStarredOrderId: string;
|
|
152
|
-
|
|
153
|
-
lastEmailResentAt: string;
|
|
154
|
-
passwordValidity: string;
|
|
155
|
-
status: UserActivationStatus;
|
|
156
|
-
};
|
|
157
|
-
UserActivationStatus: typeof UserActivationStatus;
|
|
158
|
-
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
149
|
+
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
159
150
|
ngAfterViewChecked(): void;
|
|
160
151
|
ngOnInit(): void;
|
|
161
152
|
ngOnChanges(changes: SimpleChanges): void;
|
|
162
|
-
setTableHeight(): void;
|
|
163
153
|
trackByFn(index: number): number;
|
|
164
154
|
setTooltipRadioNames(): void;
|
|
165
155
|
generateTableDataWrapper(): void;
|
|
@@ -237,9 +227,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
237
227
|
bindTheValueToSellerGroupTooltip(sellerGroupHierarchy: RatingSellerGroupHierarchy[], tooltip: any): void;
|
|
238
228
|
iconClicked(rowData: any, iconClass: string): void;
|
|
239
229
|
svgIconClicked(data: GtColumnIconEmittedData): void;
|
|
240
|
-
textActionClicked(rowData: any, id:
|
|
241
|
-
iconClickedOnStringIconActionType(rowData: any, id: any): void;
|
|
230
|
+
textActionClicked(rowData: any, id: number): void;
|
|
242
231
|
viewDetailsClicked(rowData: any): void;
|
|
232
|
+
setColumnSortStateMap(): void;
|
|
243
233
|
storeSortTypeInTempVariable(event: SortType): void;
|
|
244
234
|
unCheckAllCheckbox(): void;
|
|
245
235
|
selectAllCheckbox(): void;
|
|
@@ -263,7 +253,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
263
253
|
checkIfSliderTooltipIsFiltered(): boolean;
|
|
264
254
|
setInitialValueMapForSliderFilter(): void;
|
|
265
255
|
checkIfSortingChanged(): boolean;
|
|
266
|
-
getColumnSortStateForSelectedRadio(): string;
|
|
267
256
|
disableApplyButtonOfSelectedFilter(): void;
|
|
268
257
|
disableCheckboxFilterApplyButton(): void;
|
|
269
258
|
trackByTooltipModelId(index: number, item: TooltipModel): number;
|
|
@@ -276,8 +265,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
276
265
|
setInitialRowsForTable(): void;
|
|
277
266
|
spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
|
|
278
267
|
tableContainerScrolled(event: any): void;
|
|
279
|
-
mouseEnterOnStringTextActionType(rowData: any): void;
|
|
280
|
-
onClickableDataClicked(Rowdata: any, id: number): void;
|
|
281
268
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
282
|
-
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";
|
|
269
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "numberOfSkeletonRows": "numberOfSkeletonRows"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; }, { "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"; }, never, never>;
|
|
283
270
|
}
|
|
@@ -10,7 +10,7 @@ import { ListRange } from "@angular/cdk/collections";
|
|
|
10
10
|
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from "@angular/core";
|
|
11
11
|
import { Observable } from "rxjs";
|
|
12
12
|
import { CdkScrollable, CdkVirtualScrollRepeater, VirtualScrollStrategy, ScrollDispatcher, ViewportRuler } from "@angular/cdk/scrolling";
|
|
13
|
-
import {
|
|
13
|
+
import { AnnaGenericTableService } from '../../../anna-core-shared-lib/services/anna-generic-table.service';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
/**
|
|
16
16
|
* A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`.
|
|
@@ -70,7 +70,7 @@ export declare class AnnaTableVirtualScrollViewportComponent extends CdkScrollab
|
|
|
70
70
|
private _runAfterChangeDetection;
|
|
71
71
|
/** Subscription to changes in the viewport size. */
|
|
72
72
|
private _viewportChanges;
|
|
73
|
-
constructor(elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, _scrollStrategy: VirtualScrollStrategy, dir: Directionality, scrollDispatcher: ScrollDispatcher, viewportRuler: ViewportRuler, annaGtService:
|
|
73
|
+
constructor(elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, _scrollStrategy: VirtualScrollStrategy, dir: Directionality, scrollDispatcher: ScrollDispatcher, viewportRuler: ViewportRuler, annaGtService: AnnaGenericTableService);
|
|
74
74
|
ngOnInit(): void;
|
|
75
75
|
ngOnDestroy(): void;
|
|
76
76
|
/** Attaches a `CdkVirtualScrollRepeater` to this viewport. */
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export * from "./lib/anna-core-shared-lib/models/anna-global-dropdown-config.mod
|
|
|
17
17
|
export * from "./lib/anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
18
18
|
export * from "./lib/anna-core-shared-lib/models/anna-tooltip.model";
|
|
19
19
|
export * from "./lib/anna-core-shared-lib/models/anna-sort.model";
|
|
20
|
-
export * from "./lib/anna-core-shared-lib/models/anna-manage-users.model";
|
|
21
20
|
export * from "./lib/anna-core-shared-lib/constants/shared.constant";
|
|
22
21
|
export * from "./lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe";
|
|
23
22
|
export * from "./lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export var UserActivationStatus;
|
|
2
|
-
(function (UserActivationStatus) {
|
|
3
|
-
UserActivationStatus["activationEmailSent"] = "ActivationEmailSent";
|
|
4
|
-
UserActivationStatus["activationEmailReSent"] = "ActivationEmailResent";
|
|
5
|
-
UserActivationStatus["ResendActivationEmail"] = "ResendActivationEmail";
|
|
6
|
-
UserActivationStatus["lastSignedIn"] = "LastSignedIn";
|
|
7
|
-
})(UserActivationStatus || (UserActivationStatus = {}));
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYS1tYW5hZ2UtdXNlcnMubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbm5hLWNvcmUvc3JjL2xpYi9hbm5hLWNvcmUtc2hhcmVkLWxpYi9tb2RlbHMvYW5uYS1tYW5hZ2UtdXNlcnMubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksb0JBS1g7QUFMRCxXQUFZLG9CQUFvQjtJQUM5QixtRUFBMkMsQ0FBQTtJQUMzQyx1RUFBK0MsQ0FBQTtJQUMvQyx1RUFBK0MsQ0FBQTtJQUMvQyxxREFBNkIsQ0FBQTtBQUMvQixDQUFDLEVBTFcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUsvQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFVzZXJBY3RpdmF0aW9uU3RhdHVzIHtcclxuICBhY3RpdmF0aW9uRW1haWxTZW50ID0gJ0FjdGl2YXRpb25FbWFpbFNlbnQnICxcclxuICBhY3RpdmF0aW9uRW1haWxSZVNlbnQgPSAnQWN0aXZhdGlvbkVtYWlsUmVzZW50JyAsXHJcbiAgUmVzZW5kQWN0aXZhdGlvbkVtYWlsID0gJ1Jlc2VuZEFjdGl2YXRpb25FbWFpbCcgLFxyXG4gIGxhc3RTaWduZWRJbiA9ICdMYXN0U2lnbmVkSW4nLFxyXG59Il19
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
@mixin common-bootstrap-tooltip() {
|
|
2
|
-
opacity: 1 !important;
|
|
3
|
-
.tooltip-inner {
|
|
4
|
-
color: #4a4a4a;
|
|
5
|
-
text-align: left;
|
|
6
|
-
padding: 8px !important;
|
|
7
|
-
border-radius: $fs-2;
|
|
8
|
-
background: white !important;
|
|
9
|
-
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
10
|
-
@include fonts(Roboto, 12px, normal, normal, normal, normal, normal);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&.bs-tooltip-top .arrow::before {
|
|
14
|
-
border-top: 6px solid white
|
|
15
|
-
}
|
|
16
|
-
&.bs-tooltip-left .arrow::before {
|
|
17
|
-
border-left:6px solid white
|
|
18
|
-
}
|
|
19
|
-
&.bs-tooltip-bottom .arrow::before {
|
|
20
|
-
border-bottom: 6px solid white
|
|
21
|
-
}
|
|
22
|
-
&.bs-tooltip-right .arrow::before {
|
|
23
|
-
border-right:5px solid white
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
@import "./fonts", "./colors", "./ng-select";
|
|
2
|
-
|
|
3
|
-
.input-group-append {
|
|
4
|
-
margin: auto;
|
|
5
|
-
width: 25px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.input-group {
|
|
9
|
-
background-color: #d8d8d8;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.input-group > .form-control {
|
|
13
|
-
width: 150px;
|
|
14
|
-
font-size: 12px;
|
|
15
|
-
border: none;
|
|
16
|
-
background-color: white;
|
|
17
|
-
border-right: 1px solid #d4d4d4;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.datepicker-form-group {
|
|
22
|
-
border-radius: 2px;
|
|
23
|
-
border: 1px solid #d6d6d6;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.icon-width {
|
|
27
|
-
font-size: 16px;
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
width: 30px;
|
|
30
|
-
text-align: center;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host ::ng-deep.ngb-dp-arrow.right {
|
|
34
|
-
width: unset !important;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
::ng-deep .ngb-dp-day.disabled {
|
|
38
|
-
opacity: 0.5;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.form-control {
|
|
42
|
-
padding: 7px;
|
|
43
|
-
color: #000;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
:host ::ng-deep .bg-primary {
|
|
47
|
-
background-color: #8bac2a !important;
|
|
48
|
-
&:focus {
|
|
49
|
-
outline: none;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.form-control {
|
|
54
|
-
&:focus {
|
|
55
|
-
outline: none;
|
|
56
|
-
box-shadow: none;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
textarea:focus,
|
|
61
|
-
input:focus {
|
|
62
|
-
outline: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
::ng-deep .custom-select {
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
&:focus {
|
|
68
|
-
border-color: unset;
|
|
69
|
-
outline: 0;
|
|
70
|
-
box-shadow: unset;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
@mixin no-data-to-display-gt($tableHeight, $rowHeight, $noDataMarginTop) {
|
|
2
|
-
.table-container {
|
|
3
|
-
height: calc($tableHeight) !important;
|
|
4
|
-
table {
|
|
5
|
-
tbody {
|
|
6
|
-
border-top: none;
|
|
7
|
-
border-left: 1px solid #d3d3d3;
|
|
8
|
-
border-right: 1px solid #d3d3d3;
|
|
9
|
-
border-bottom: 1px solid #d3d3d3;
|
|
10
|
-
|
|
11
|
-
tr.no-border-tr:first-of-type {
|
|
12
|
-
height: $rowHeight !important;
|
|
13
|
-
|
|
14
|
-
td {
|
|
15
|
-
box-shadow: none !important;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
tr:nth-child(n+1) {
|
|
20
|
-
td {
|
|
21
|
-
box-shadow: none !important;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.no-data {
|
|
29
|
-
margin-top: $noDataMarginTop !important;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin resetFilterStyle() {
|
|
34
|
-
padding: 0;
|
|
35
|
-
border: none;
|
|
36
|
-
display: block;
|
|
37
|
-
text-align: right;
|
|
38
|
-
margin-left: auto;
|
|
39
|
-
background-color: white;
|
|
40
|
-
text-decoration: underline;
|
|
41
|
-
color: #268bff;
|
|
42
|
-
border: none;
|
|
43
|
-
&:hover:enabled {
|
|
44
|
-
color: #4a4a4a;
|
|
45
|
-
}
|
|
46
|
-
&:disabled {
|
|
47
|
-
color: #4a4a4a;
|
|
48
|
-
opacity: 0.5;
|
|
49
|
-
cursor: not-allowed;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// @mixin table-ellipses {
|
|
54
|
-
// div {
|
|
55
|
-
// text-overflow: ellipsis !important;
|
|
56
|
-
// overflow: hidden !important;
|
|
57
|
-
// white-space:nowrap !important;
|
|
58
|
-
// }
|
|
59
|
-
// }
|
|
60
|
-
|
|
61
|
-
// @mixin table-ellipses-only-on-text-span {
|
|
62
|
-
// span {
|
|
63
|
-
// text-overflow: ellipsis !important;
|
|
64
|
-
// overflow: hidden !important;
|
|
65
|
-
// white-space:nowrap !important;
|
|
66
|
-
// display: inline-block !important;
|
|
67
|
-
// width: 80% !important;
|
|
68
|
-
// }
|
|
69
|
-
// }
|