@annalib/anna-core 20.2.16 → 20.2.18
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/README.md +7 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +4 -5
- package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +4 -5
- package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +14 -7
- package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +4 -5
- package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +7 -7
- package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +4 -5
- package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +4 -5
- package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +4 -5
- package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +19 -19
- package/esm2022/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +12 -24
- package/esm2022/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +5 -3
- package/esm2022/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +1 -1
- package/esm2022/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +1 -1
- package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2022/lib/anna-core-shared-lib/models/anna-sort.model.mjs +1 -1
- package/esm2022/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +2 -2
- package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +4 -5
- package/esm2022/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +7 -6
- package/esm2022/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +2 -2
- package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +69 -69
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +396 -294
- package/esm2022/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +20 -20
- package/esm2022/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +38 -35
- package/esm2022/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +10 -10
- package/esm2022/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +13 -14
- package/esm2022/lib/anna-core-shared-lib/services/anna-sort.service.mjs +30 -28
- package/esm2022/lib/anna-core.module.mjs +6 -6
- package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +22 -21
- package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +51 -50
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +27 -13
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +16 -11
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +16 -12
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +18 -13
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +287 -239
- package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +7 -7
- package/esm2022/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +35 -40
- package/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 +35 -21
- package/esm2022/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +2 -2
- package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +16 -15
- package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +2 -2
- package/esm2022/public-api.mjs +44 -44
- package/fesm2022/annalib-anna-core.mjs +1125 -940
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts +3 -3
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +5 -5
- package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +1 -1
- package/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.d.ts +1 -1
- package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +1 -1
- package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +1 -1
- package/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.d.ts +1 -1
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +1 -1
- package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +5 -5
- package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +2 -2
- package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +4 -4
- package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +3 -3
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -1
- package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +8 -8
- 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 +4 -4
- package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts +1 -1
- package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +5 -5
- package/lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +40 -40
- package/src/lib/anna-common-scss/_animate.scss +11 -11
- package/src/lib/anna-common-scss/_application-spacing.scss +3 -3
- package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +25 -23
- package/src/lib/anna-common-scss/_button.scss +1 -1
- package/src/lib/anna-common-scss/_colors.scss +1 -1
- package/src/lib/anna-common-scss/_common-order-listing-table.scss +142 -135
- package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +1 -1
- package/src/lib/anna-common-scss/_customDropdown.scss +68 -67
- package/src/lib/anna-common-scss/_dashboard-partials.scss +66 -64
- package/src/lib/anna-common-scss/_date-picker-form.scss +40 -40
- package/src/lib/anna-common-scss/_easy-filter.scss +107 -127
- package/src/lib/anna-common-scss/_edit-filter-popup.scss +17 -18
- package/src/lib/anna-common-scss/_filters.scss +470 -471
- package/src/lib/anna-common-scss/_font.scss +7 -8
- package/src/lib/anna-common-scss/_fonts.scss +7 -7
- package/src/lib/anna-common-scss/_generic-modal.scss +62 -58
- package/src/lib/anna-common-scss/_generic-table-common.scss +140 -145
- package/src/lib/anna-common-scss/_gt-table.scss +172 -181
- package/src/lib/anna-common-scss/_legend.scss +5 -5
- package/src/lib/anna-common-scss/_mat-button-toggle.scss +11 -11
- package/src/lib/anna-common-scss/_mat-menu.scss +14 -14
- package/src/lib/anna-common-scss/_mixins.scss +134 -135
- package/src/lib/anna-common-scss/_modal.scss +22 -22
- package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +9 -8
- package/src/lib/anna-common-scss/_scrollbar.scss +7 -7
- package/src/lib/anna-common-scss/_sort.scss +20 -20
- package/src/lib/anna-common-scss/_toggle.scss +54 -52
- package/src/lib/anna-common-scss/style.scss +1 -1
- package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +20 -21
- package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +27 -27
- package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +26 -23
|
@@ -63,8 +63,8 @@ export interface IConfirmationPopupConfig {
|
|
|
63
63
|
confirmButtonLabel: string;
|
|
64
64
|
showCloseIcon: boolean;
|
|
65
65
|
windowClass: string;
|
|
66
|
-
backdrop:
|
|
67
|
-
size:
|
|
66
|
+
backdrop: 'static' | boolean;
|
|
67
|
+
size: 'sm' | 'lg';
|
|
68
68
|
keyboard: boolean;
|
|
69
69
|
centered?: boolean;
|
|
70
70
|
}
|
|
@@ -93,5 +93,5 @@ export interface ICustomSingleSelect {
|
|
|
93
93
|
export interface ICustomMultiSelect extends ICustomSingleSelect {
|
|
94
94
|
showErrorWhenNoOptionSelected: boolean;
|
|
95
95
|
}
|
|
96
|
-
type Position =
|
|
96
|
+
type Position = 'TOP' | 'BOTTOM';
|
|
97
97
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IWeekCalendar } from
|
|
1
|
+
import { IWeekCalendar } from './anna-global-dropdown-config.model';
|
|
2
2
|
export interface IGtTableHeader {
|
|
3
3
|
headerInfo: IHeaderInfo[];
|
|
4
4
|
visible: boolean;
|
|
@@ -21,8 +21,8 @@ export interface IHeaderInfo {
|
|
|
21
21
|
tooltip?: ITooltip;
|
|
22
22
|
joinedFilterSortObjectKeys?: string;
|
|
23
23
|
}
|
|
24
|
-
type DATATYPE =
|
|
25
|
-
type FILTERTYPE =
|
|
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
26
|
export interface ITotalRowInfo {
|
|
27
27
|
colspan: number;
|
|
28
28
|
data: string;
|
|
@@ -57,7 +57,7 @@ export interface IGtGeneralConfig extends ISpotTableConfig {
|
|
|
57
57
|
bufferSize: number;
|
|
58
58
|
page: string;
|
|
59
59
|
}
|
|
60
|
-
type COMPONENTNAME =
|
|
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
61
|
interface ISpotTableConfig {
|
|
62
62
|
isGrouped: boolean;
|
|
63
63
|
}
|
|
@@ -114,5 +114,5 @@ export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
|
|
|
114
114
|
additionalTextBeforeLink: string;
|
|
115
115
|
enableTooltipForAdditionalText: boolean;
|
|
116
116
|
}
|
|
117
|
-
export type IconToShow =
|
|
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
118
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AnnaConvertArrayToCommaSeperatedValue implements PipeTransform {
|
|
4
4
|
converter: ((value: any[], textKeyName?: any, selectedKeyName?: any) => string) & import("lodash").MemoizedFunction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AnnaConvertZeroOrNullOrUndefinedPipe implements PipeTransform {
|
|
4
4
|
transformer: ((value: any, convertTo: any) => number | string) & import("lodash").MemoizedFunction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AnnaFilterSearchedTextPipe implements PipeTransform {
|
|
4
4
|
callFilter: ((items: any[], searchText: string, keyName?: any) => any[]) & import("lodash").MemoizedFunction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AnnaReplaceCharPipe implements PipeTransform {
|
|
4
4
|
converter: ((value: string, from: string, to: string) => string) & import("lodash").MemoizedFunction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Options } from '@angular-slider/ngx-slider';
|
|
2
|
-
import dayjs from
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
3
|
import { SortType } from '../models/anna-sort.model';
|
|
4
4
|
import { AnnaDateTimeFormatService, NgbDateType } from './anna-date-time-format.service';
|
|
5
5
|
import { AnnaSortService } from './anna-sort.service';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from
|
|
2
|
-
import { Subject } from
|
|
3
|
-
import { AnnaFilterService } from
|
|
4
|
-
import { AnnaSortService } from
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { AnnaFilterService } from './anna-filter.service';
|
|
4
|
+
import { AnnaSortService } from './anna-sort.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class AnnaGtHelperService {
|
|
7
7
|
private annaFilterService;
|
|
@@ -21,7 +21,7 @@ export declare class AnnaGtHelperService {
|
|
|
21
21
|
setDataAsPerPersistingFilter(isPersistingFilter: boolean, clonedTable: any, filters: any): any;
|
|
22
22
|
callSort(usersTable: any): any;
|
|
23
23
|
isSortingAppliedToTable(): boolean;
|
|
24
|
-
updateQueryParamsFilter(key: string, value: any, operation:
|
|
24
|
+
updateQueryParamsFilter(key: string, value: any, operation: 'ADD' | 'DELETE', queryParamObj: any): any;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaGtHelperService, never>;
|
|
26
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaGtHelperService>;
|
|
27
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IAngular2MultiSelectSettings, INgxAsideSettings, INgbDatePickerSettings, INgSelectSettings, INgxInfiniteScrollSettings, INgxSkeletonLoaderSettings, IRadioButtonComponentConfig, IConfirmationPopupConfig, IWeekCalendar, ICustomSingleSelect, ICustomMultiSelect } from
|
|
2
|
-
import { IGtHeaderConfig, IGtGeneralConfig } from
|
|
1
|
+
import { IAngular2MultiSelectSettings, INgxAsideSettings, INgbDatePickerSettings, INgSelectSettings, INgxInfiniteScrollSettings, INgxSkeletonLoaderSettings, IRadioButtonComponentConfig, IConfirmationPopupConfig, IWeekCalendar, ICustomSingleSelect, ICustomMultiSelect } from '../models/anna-global-dropdown-config.model';
|
|
2
|
+
import { IGtHeaderConfig, IGtGeneralConfig } from '../models/anna-non-editable-gt-models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AnnaGlobalConfigService {
|
|
5
5
|
readonly defaultAngular2MultiSelectSettings: IAngular2MultiSelectSettings;
|
package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from
|
|
2
|
-
import { NgbDate } from
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NgbDate } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { AnnaDateTimeFormatService } from '../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
4
|
-
import { Placement } from
|
|
4
|
+
import { Placement } from '@ng-bootstrap/ng-bootstrap/util/positioning';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class AnnaCalendarFilterComponent implements OnInit, OnChanges {
|
|
7
7
|
private annaTimeService;
|
|
8
8
|
maxDate: any;
|
|
9
|
-
autoClose:
|
|
9
|
+
autoClose: 'inside' | 'outside' | boolean;
|
|
10
10
|
label: string;
|
|
11
11
|
minDate: any;
|
|
12
12
|
showLabel: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DatePipe } from
|
|
2
|
-
import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from
|
|
3
|
-
import { NgbCalendar, NgbDate, NgbDatepickerConfig, NgbDateStruct, NgbInputDatepicker } from
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { NgbCalendar, NgbDate, NgbDatepickerConfig, NgbDateStruct, NgbInputDatepicker } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { WeekObject } from '../../../anna-core-shared-lib/models/anna-generic-data-type.model';
|
|
5
5
|
import { IWeekCalendar } from '../../../anna-core-shared-lib/models/anna-global-dropdown-config.model';
|
|
6
6
|
import { AnnaDateTimeFormatService } from '../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
@@ -154,7 +154,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
154
154
|
getTableData(start: number, end: number): any[];
|
|
155
155
|
updateIndex(): void;
|
|
156
156
|
setInitialRowsForTable(): void;
|
|
157
|
-
spotDetailsDownloadClicked(parentChildOrTotalRow:
|
|
157
|
+
spotDetailsDownloadClicked(parentChildOrTotalRow: 'DATAROW' | 'TOTALROW', rowdata?: any): void;
|
|
158
158
|
tableContainerScrolled(event: any): void;
|
|
159
159
|
mouseEnterOnStringTextActionType(rowData: any, tooltipKey: string): void;
|
|
160
160
|
mouseEnterOnStringTextActionTypeContainingTable(rowData: any, tooltipKey: string): void;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import { Directionality } from
|
|
9
|
-
import { ListRange } from
|
|
10
|
-
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from
|
|
11
|
-
import { Observable } from
|
|
12
|
-
import { CdkScrollable, CdkVirtualScrollRepeater, VirtualScrollStrategy, ScrollDispatcher, ViewportRuler } from
|
|
8
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
9
|
+
import { ListRange } from '@angular/cdk/collections';
|
|
10
|
+
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
11
|
+
import { Observable } from 'rxjs';
|
|
12
|
+
import { CdkScrollable, CdkVirtualScrollRepeater, VirtualScrollStrategy, ScrollDispatcher, ViewportRuler } from '@angular/cdk/scrolling';
|
|
13
13
|
import { AnnaGtHelperService } from '../../../anna-core-shared-lib/services/anna-generic-table.service';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
/**
|
|
@@ -27,8 +27,8 @@ export declare class AnnaTableVirtualScrollViewportComponent extends CdkScrollab
|
|
|
27
27
|
/** Emits when the rendered range changes. */
|
|
28
28
|
private _renderedRangeSubject;
|
|
29
29
|
/** The direction the viewport scrolls. */
|
|
30
|
-
get orientation():
|
|
31
|
-
set orientation(orientation:
|
|
30
|
+
get orientation(): 'horizontal' | 'vertical';
|
|
31
|
+
set orientation(orientation: 'horizontal' | 'vertical');
|
|
32
32
|
private _orientation;
|
|
33
33
|
/** Emits when the index of the first element visible in the viewport changes. */
|
|
34
34
|
scrolledIndexChange: Observable<number>;
|
|
@@ -118,7 +118,7 @@ export declare class AnnaTableVirtualScrollViewportComponent extends CdkScrollab
|
|
|
118
118
|
* @param from The edge to measure the offset from. Defaults to 'top' in vertical mode and 'start'
|
|
119
119
|
* in horizontal mode.
|
|
120
120
|
*/
|
|
121
|
-
measureScrollOffset(from?:
|
|
121
|
+
measureScrollOffset(from?: 'top' | 'left' | 'right' | 'bottom' | 'start' | 'end'): number;
|
|
122
122
|
/** Measure the combined size of all of the rendered items. */
|
|
123
123
|
measureRenderedContentSize(): number;
|
|
124
124
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NumberInput } from
|
|
2
|
-
import { CdkVirtualScrollViewport, VirtualScrollStrategy } from
|
|
3
|
-
import { AfterContentInit, QueryList, SimpleChanges } from
|
|
4
|
-
import { MatHeaderRowDef } from
|
|
1
|
+
import { NumberInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { CdkVirtualScrollViewport, VirtualScrollStrategy } from '@angular/cdk/scrolling';
|
|
3
|
+
import { AfterContentInit, QueryList, SimpleChanges } from '@angular/core';
|
|
4
|
+
import { MatHeaderRowDef } from '@angular/material/table';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* A custom scroll strategy that accepts a static row height, static header height,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './anna-fixed-row-size-table-virtual-scroll-strategy.directive';
|
package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CollectionViewer, ListRange } from
|
|
2
|
-
import { CdkVirtualScrollRepeater, CdkVirtualScrollViewport } from
|
|
3
|
-
import { CdkHeaderRowDef, CdkTable, DataSource, _CoalescedStyleScheduler } from
|
|
4
|
-
import { ElementRef, NgIterable, NgZone, QueryList } from
|
|
5
|
-
import { Observable, Subject } from
|
|
1
|
+
import { CollectionViewer, ListRange } from '@angular/cdk/collections';
|
|
2
|
+
import { CdkVirtualScrollRepeater, CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
3
|
+
import { CdkHeaderRowDef, CdkTable, DataSource, _CoalescedStyleScheduler } from '@angular/cdk/table';
|
|
4
|
+
import { ElementRef, NgIterable, NgZone, QueryList } from '@angular/core';
|
|
5
|
+
import { Observable, Subject } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Directive that wraps a given data source in a "virtual" data source that emits
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './anna-virtual-table.directive';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
1
|
+
export * from './lib/anna-core.module';
|
|
2
|
+
export * from './lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component';
|
|
3
|
+
export * from './lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component';
|
|
4
|
+
export * from './lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component';
|
|
5
|
+
export * from './lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component';
|
|
6
|
+
export * from './lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component';
|
|
7
|
+
export * from './lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component';
|
|
8
|
+
export * from './lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component';
|
|
9
|
+
export * from './lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component';
|
|
10
|
+
export * from './lib/anna-core-shared-lib/services/anna-date-time-format.service';
|
|
11
|
+
export * from './lib/anna-core-shared-lib/services/anna-global-config.service';
|
|
12
|
+
export * from './lib/anna-core-shared-lib/services/anna-filter.service';
|
|
13
|
+
export * from './lib/anna-core-shared-lib/services/anna-sort.service';
|
|
14
|
+
export * from './lib/anna-core-shared-lib/services/anna-generic-table.service';
|
|
15
|
+
export * from './lib/anna-core-shared-lib/services/anna-number-format.service';
|
|
16
|
+
export * from './lib/anna-core-shared-lib/services/anna-persisting-filter.service';
|
|
17
|
+
export * from './lib/anna-core-shared-lib/models/anna-generic-data-type.model';
|
|
18
|
+
export * from './lib/anna-core-shared-lib/models/anna-global-dropdown-config.model';
|
|
19
|
+
export * from './lib/anna-core-shared-lib/models/anna-non-editable-gt-models';
|
|
20
|
+
export * from './lib/anna-core-shared-lib/models/anna-tooltip.model';
|
|
21
|
+
export * from './lib/anna-core-shared-lib/models/anna-sort.model';
|
|
22
|
+
export * from './lib/anna-core-shared-lib/constants/shared.constant';
|
|
23
|
+
export * from './lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe';
|
|
24
|
+
export * from './lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe';
|
|
25
|
+
export * from './lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe';
|
|
26
|
+
export * from './lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe';
|
|
27
|
+
export * from './lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe';
|
|
28
|
+
export * from './lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe';
|
|
29
|
+
export * from './lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive';
|
|
30
30
|
export * from './lib/anna-core-shared-lib/directives/digits-only/digits-only.directive';
|
|
31
31
|
export * from './lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive';
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export * from
|
|
42
|
-
export * from
|
|
32
|
+
export * from './lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component';
|
|
33
|
+
export * from './lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component';
|
|
34
|
+
export * from './lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component';
|
|
35
|
+
export * from './lib/anna-generic-table-lib/components/anna-sort/anna-sort.component';
|
|
36
|
+
export * from './lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component';
|
|
37
|
+
export * from './lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component';
|
|
38
|
+
export * from './lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component';
|
|
39
|
+
export * from './lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component';
|
|
40
|
+
export * from './lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component';
|
|
41
|
+
export * from './lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy';
|
|
42
|
+
export * from './lib/anna-generic-table-lib/directives/anna-virtual-table';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// scss-lint:disable all
|
|
2
2
|
.animated {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
animation-duration: 1s;
|
|
4
|
+
// animation-fill-mode: both;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.animated.infinite {
|
|
8
|
-
|
|
8
|
+
animation-iteration-count: infinite;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.animated.hinge {
|
|
12
|
-
|
|
12
|
+
animation-duration: 2s;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@keyframes fadeIn {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
from {
|
|
17
|
+
opacity: 0;
|
|
18
|
+
}
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
to {
|
|
21
|
+
opacity: 1;
|
|
22
|
+
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.fadeIn {
|
|
26
|
-
|
|
26
|
+
animation-name: fadeIn;
|
|
27
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//GLOBAL LAYOUT VARIABLE
|
|
1
|
+
//GLOBAL LAYOUT VARIABLE
|
|
2
2
|
$app-screen-max-width: 1920px;
|
|
3
3
|
$app-left-space: 40px;
|
|
4
4
|
$app-right-space: 40px;
|
|
5
|
-
$sidebar-minimized-width:64px;
|
|
5
|
+
$sidebar-minimized-width: 64px;
|
|
6
6
|
$navbar-height: 50px;
|
|
7
|
-
$app-max-width: calc($app-screen-max-width - $app-left-space);
|
|
7
|
+
$app-max-width: calc($app-screen-max-width - $app-left-space);
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
@mixin common-bootstrap-tooltip() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
opacity: 1 !important;
|
|
3
|
+
.tooltip-inner {
|
|
4
|
+
color: #4a4a4a;
|
|
5
|
+
text-align: left;
|
|
6
|
+
padding: 8px !important;
|
|
7
|
+
border-radius: 2px;
|
|
8
|
+
background: white !important;
|
|
9
|
+
box-shadow:
|
|
10
|
+
0 6px 10px 0 rgba(0, 0, 0, 0.3),
|
|
11
|
+
0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
12
|
+
@include fonts(Roboto, 12px, normal, normal, normal, normal, normal);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.bs-tooltip-top .arrow::before {
|
|
16
|
+
border-top: 6px solid white;
|
|
17
|
+
}
|
|
18
|
+
&.bs-tooltip-left .arrow::before {
|
|
19
|
+
border-left: 6px solid white;
|
|
20
|
+
}
|
|
21
|
+
&.bs-tooltip-bottom .arrow::before {
|
|
22
|
+
border-bottom: 6px solid white;
|
|
23
|
+
}
|
|
24
|
+
&.bs-tooltip-right .arrow::before {
|
|
25
|
+
border-right: 5px solid white;
|
|
26
|
+
}
|
|
15
27
|
}
|
|
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
|
-
}
|