@annalib/anna-core 22.3.13 → 22.3.14
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/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +3 -3
- 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 +12 -12
- package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +6 -6
- package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +4 -4
- package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +21 -21
- package/esm2022/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +52 -52
- package/esm2022/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +7 -7
- 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 +8 -8
- package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +6 -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 +3 -3
- package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +84 -84
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +353 -353
- 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 +32 -32
- package/esm2022/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +9 -9
- package/esm2022/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +12 -12
- package/esm2022/lib/anna-core-shared-lib/services/anna-sort.service.mjs +32 -32
- package/esm2022/lib/anna-core.module.mjs +45 -45
- package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +14 -14
- package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +41 -41
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +14 -14
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +13 -13
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +17 -17
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +15 -15
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +263 -263
- package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +10 -10
- package/esm2022/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +21 -21
- 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 +10 -10
- 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 +12 -12
- package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +2 -2
- package/esm2022/public-api.mjs +43 -43
- package/fesm2022/annalib-anna-core.mjs +947 -947
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +3 -3
- package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +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/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.d.ts +1 -1
- package/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.d.ts +1 -1
- package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.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 +7 -7
- 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/annaDateFormatter.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/pipes/annaTypeOfData.pipe.d.ts +1 -1
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +1 -1
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +6 -6
- 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-core-shared-lib/services/anna-sort.service.d.ts +3 -3
- package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +5 -5
- package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +7 -7
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +5 -5
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.d.ts +6 -6
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.d.ts +6 -6
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +7 -7
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +9 -9
- package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +3 -3
- package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +9 -9
- 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 +6 -6
- 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 +42 -42
package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { GtColumnIconEmittedData } from
|
|
3
|
-
import { IconToShow } from
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { GtColumnIconEmittedData } from "../../models/anna-generic-data-type.model";
|
|
3
|
+
import { IconToShow } from "../../models/anna-non-editable-gt-models";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AnnaIconColumnComponent implements OnInit {
|
|
6
6
|
componentName: string;
|
|
@@ -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,12 +57,12 @@ 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
|
}
|
|
64
64
|
export interface ITooltip {
|
|
65
|
-
iconPosition:
|
|
65
|
+
iconPosition: "left" | "right" | "above" | "below" | "before" | "after";
|
|
66
66
|
name: string;
|
|
67
67
|
tooltipPosition: string;
|
|
68
68
|
iconClass: string;
|
|
@@ -107,7 +107,7 @@ export declare class IconCellActionKey {
|
|
|
107
107
|
export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
|
|
108
108
|
id: any;
|
|
109
109
|
data: string;
|
|
110
|
-
typeOfData:
|
|
110
|
+
typeOfData: "STRING" | "ICON_TEXT_ACTION";
|
|
111
111
|
additionalTextBeforeLink: string;
|
|
112
112
|
iconClass?: string;
|
|
113
113
|
showIcon: boolean;
|
|
@@ -124,5 +124,5 @@ export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
|
|
|
124
124
|
tooltipPlacement?: string;
|
|
125
125
|
enableTooltipForAdditionalText?: boolean;
|
|
126
126
|
}
|
|
127
|
-
export type IconToShow =
|
|
127
|
+
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION";
|
|
128
128
|
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,9 +1,9 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import dayjs from
|
|
3
|
-
import { SortType } from
|
|
4
|
-
import { AnnaDateTimeFormatService, NgbDateType } from
|
|
5
|
-
import { AnnaSortService } from
|
|
6
|
-
import { TooltipModel } from
|
|
1
|
+
import { Options } from "@angular-slider/ngx-slider";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import { SortType } from "../models/anna-sort.model";
|
|
4
|
+
import { AnnaDateTimeFormatService, NgbDateType } from "./anna-date-time-format.service";
|
|
5
|
+
import { AnnaSortService } from "./anna-sort.service";
|
|
6
|
+
import { TooltipModel } from "../models/anna-tooltip.model";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AnnaFilterService {
|
|
9
9
|
private dateTimeFormatService;
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Subject } from
|
|
2
|
-
import { SortType } from
|
|
3
|
-
import { AnnaDateTimeFormatService } from
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
import { SortType } from "../models/anna-sort.model";
|
|
3
|
+
import { AnnaDateTimeFormatService } from "./anna-date-time-format.service";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AnnaSortService {
|
|
6
6
|
private annaDateTimeFormatService;
|
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
|
|
3
|
-
import { AnnaDateTimeFormatService } from
|
|
4
|
-
import { Placement } from
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { NgbDate } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
+
import { AnnaDateTimeFormatService } from "../../../anna-core-shared-lib/services/anna-date-time-format.service";
|
|
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,10 +1,10 @@
|
|
|
1
|
-
import { DatePipe } from
|
|
2
|
-
import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from
|
|
3
|
-
import { NgbCalendar, NgbDate, NgbDatepickerConfig, NgbDateStruct, NgbInputDatepicker } from
|
|
4
|
-
import { WeekObject } from
|
|
5
|
-
import { IWeekCalendar } from
|
|
6
|
-
import { AnnaDateTimeFormatService } from
|
|
7
|
-
import { AnnaGlobalConfigService } 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
|
+
import { WeekObject } from "../../../anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
5
|
+
import { IWeekCalendar } from "../../../anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
6
|
+
import { AnnaDateTimeFormatService } from "../../../anna-core-shared-lib/services/anna-date-time-format.service";
|
|
7
|
+
import { AnnaGlobalConfigService } from "../../../anna-core-shared-lib/services/anna-global-config.service";
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class AnnaWeekCalendarComponent implements OnInit, OnChanges, AfterViewInit {
|
|
10
10
|
private calendar;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { SortType } from
|
|
3
|
-
import { TooltipModel, RadioButtonModel } from
|
|
4
|
-
import { AnnaSortService } from
|
|
5
|
-
import { AnnaFilterService } from
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { SortType } from "../../../../anna-core-shared-lib/models/anna-sort.model";
|
|
3
|
+
import { TooltipModel, RadioButtonModel } from "../../../../anna-core-shared-lib/models/anna-tooltip.model";
|
|
4
|
+
import { AnnaSortService } from "../../../../anna-core-shared-lib/services/anna-sort.service";
|
|
5
|
+
import { AnnaFilterService } from "../../../../anna-core-shared-lib/services/anna-filter.service";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AnnaColumnCheckboxFilterComponent {
|
|
8
8
|
private annaSortService;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { AnnaSortService } from
|
|
3
|
-
import { AnnaFilterService } from
|
|
4
|
-
import { AnnaDateTimeFormatService, NgbDateType } from
|
|
5
|
-
import { SortType } from
|
|
6
|
-
import { RadioButtonModel } from
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { AnnaSortService } from "../../../../anna-core-shared-lib/services/anna-sort.service";
|
|
3
|
+
import { AnnaFilterService } from "../../../../anna-core-shared-lib/services/anna-filter.service";
|
|
4
|
+
import { AnnaDateTimeFormatService, NgbDateType } from "../../../../anna-core-shared-lib/services/anna-date-time-format.service";
|
|
5
|
+
import { SortType } from "../../../../anna-core-shared-lib/models/anna-sort.model";
|
|
6
|
+
import { RadioButtonModel } from "../../../../anna-core-shared-lib/models/anna-tooltip.model";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AnnaColumnDateRangeFilterComponent implements OnInit {
|
|
9
9
|
annaDateTimeFormatService: AnnaDateTimeFormatService;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { RadioButtonModel } from
|
|
3
|
-
import { SortType } from
|
|
4
|
-
import { AnnaFilterService } from
|
|
5
|
-
import { AnnaSortService } from
|
|
6
|
-
import { Options } from
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { RadioButtonModel } from "../../../../anna-core-shared-lib/models/anna-tooltip.model";
|
|
3
|
+
import { SortType } from "../../../../anna-core-shared-lib/models/anna-sort.model";
|
|
4
|
+
import { AnnaFilterService } from "../../../../anna-core-shared-lib/services/anna-filter.service";
|
|
5
|
+
import { AnnaSortService } from "../../../../anna-core-shared-lib/services/anna-sort.service";
|
|
6
|
+
import { Options } from "@angular-slider/ngx-slider";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AnnaColumnSliderFilterComponent {
|
|
9
9
|
annaFilterService: AnnaFilterService;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { SortType } from
|
|
3
|
-
import { AnnaSortService } from
|
|
4
|
-
import { AnnaFilterService } from
|
|
5
|
-
import { AnnaDateTimeFormatService } from
|
|
6
|
-
import { IGtGeneralConfig } from
|
|
7
|
-
import { RadioButtonModel } from
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { SortType } from "../../../../anna-core-shared-lib/models/anna-sort.model";
|
|
3
|
+
import { AnnaSortService } from "../../../../anna-core-shared-lib/services/anna-sort.service";
|
|
4
|
+
import { AnnaFilterService } from "../../../../anna-core-shared-lib/services/anna-filter.service";
|
|
5
|
+
import { AnnaDateTimeFormatService } from "../../../../anna-core-shared-lib/services/anna-date-time-format.service";
|
|
6
|
+
import { IGtGeneralConfig } from "../../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
7
|
+
import { RadioButtonModel } from "../../../../anna-core-shared-lib/models/anna-tooltip.model";
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
10
10
|
private annaSortService;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { OnInit, QueryList, EventEmitter, SimpleChanges, OnChanges, ChangeDetectorRef, ElementRef, AfterViewChecked } from
|
|
2
|
-
import { IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from
|
|
3
|
-
import { AnnaDateTimeFormatService } from
|
|
4
|
-
import { IWeekCalendar } from
|
|
5
|
-
import { GtColumnIconEmittedData, RatingSellerGroupHierarchy } from
|
|
6
|
-
import { AnnaSortService } from
|
|
7
|
-
import { AnnaFilterService } from
|
|
8
|
-
import { BehaviorSubject } from
|
|
1
|
+
import { OnInit, QueryList, EventEmitter, SimpleChanges, OnChanges, ChangeDetectorRef, ElementRef, AfterViewChecked } from "@angular/core";
|
|
2
|
+
import { IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
3
|
+
import { AnnaDateTimeFormatService } from "../../../anna-core-shared-lib/services/anna-date-time-format.service";
|
|
4
|
+
import { IWeekCalendar } from "../../../anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
5
|
+
import { GtColumnIconEmittedData, RatingSellerGroupHierarchy } from "../../../anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
6
|
+
import { AnnaSortService } from "../../../anna-core-shared-lib/services/anna-sort.service";
|
|
7
|
+
import { AnnaFilterService } from "../../../anna-core-shared-lib/services/anna-filter.service";
|
|
8
|
+
import { BehaviorSubject } from "rxjs";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
interface keyValueTooltipType {
|
|
11
11
|
key: string;
|
|
@@ -155,7 +155,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
155
155
|
getTableData(start: number, end: number): any[];
|
|
156
156
|
updateIndex(): void;
|
|
157
157
|
setInitialRowsForTable(): void;
|
|
158
|
-
spotDetailsDownloadClicked(parentChildOrTotalRow:
|
|
158
|
+
spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
|
|
159
159
|
tableContainerScrolled(event: any): void;
|
|
160
160
|
mouseEnterOnStringTextActionType(rowData: any, tooltipKey: string): void;
|
|
161
161
|
mouseEnterOnStringTextActionTypeContainingTable(rowData: any, tooltipKey: string): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from
|
|
2
|
-
import { SortOption, SortType } from
|
|
3
|
-
import { AnnaSortService } from
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { SortOption, SortType } from "../../../anna-core-shared-lib/models/anna-sort.model";
|
|
3
|
+
import { AnnaSortService } from "../../../anna-core-shared-lib/services/anna-sort.service";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AnnaSortComponent implements OnChanges {
|
|
6
6
|
private annaSortService;
|
|
@@ -5,12 +5,12 @@
|
|
|
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
|
|
13
|
-
import { AnnaGtHelperService } 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
|
+
import { AnnaGtHelperService } 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`.
|
|
@@ -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
|
|
@@ -39,7 +39,7 @@ export declare class AnnaVirtualTableDirective<T> implements CdkVirtualScrollRep
|
|
|
39
39
|
* We're not using that strategy, but I've implemented it just to show how it oculd be done.
|
|
40
40
|
* I'm not actually sure if this works.
|
|
41
41
|
*/
|
|
42
|
-
measureRangeSize(range: ListRange, orientation:
|
|
42
|
+
measureRangeSize(range: ListRange, orientation: "horizontal" | "vertical"): number;
|
|
43
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaVirtualTableDirective<any>, never>;
|
|
44
44
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AnnaVirtualTableDirective<any>, "[mat-table][appVirtualDataSource], mat-table[appVirtualDataSource]", never, { "dataSource": { "alias": "appVirtualDataSource"; "required": false; }; }, {}, ["headerRowDefs"], never, true, never>;
|
|
45
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./anna-virtual-table.directive";
|