@annalib/anna-core 28.6.30 → 28.7.1
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-circular-progress/anna-circular-progress.component.mjs +52 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +2 -2
- package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +2 -1
- package/esm2022/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +4 -2
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +67 -11
- package/esm2022/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +16 -57
- package/esm2022/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +14 -1
- package/esm2022/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +5 -1
- package/esm2022/lib/anna-core.module.mjs +4 -10
- package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +2 -2
- package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +4 -4
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +6 -3
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +37 -10
- package/esm2022/public-api.mjs +2 -3
- package/fesm2022/annalib-anna-core.mjs +212 -141
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/components/anna-circular-progress/anna-circular-progress.component.d.ts +20 -0
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +5 -2
- package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +3 -1
- 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 +5 -2
- package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +3 -7
- package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +1 -0
- package/lib/anna-core.module.d.ts +1 -2
- package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +2 -2
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +3 -0
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -2
- package/src/lib/anna-common-scss/_customDropdown.scss +1 -0
- package/src/lib/anna-common-scss/_easy-filter.scss +2 -1
- package/src/lib/anna-common-scss/_email-button.scss +89 -0
- package/esm2022/lib/anna-core-shared-lib/components/anna-licensing-table/anna-licensing-table.component.mjs +0 -22
- package/esm2022/lib/anna-core-shared-lib/models/anna-licensing-table.model.mjs +0 -21
- package/lib/anna-core-shared-lib/components/anna-licensing-table/anna-licensing-table.component.d.ts +0 -8
- package/lib/anna-core-shared-lib/models/anna-licensing-table.model.d.ts +0 -16
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, Renderer2 } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaCircularProgressComponent implements OnChanges {
|
|
4
|
+
private el;
|
|
5
|
+
private renderer;
|
|
6
|
+
percent: number;
|
|
7
|
+
radius: number;
|
|
8
|
+
outerStrokeWidth: number;
|
|
9
|
+
innerStrokeWidth: number;
|
|
10
|
+
outerStrokeColor: string;
|
|
11
|
+
innerStrokeColor: string;
|
|
12
|
+
animationDuration: number;
|
|
13
|
+
circumference: number;
|
|
14
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
15
|
+
ngOnChanges(): void;
|
|
16
|
+
updateCircumference(): void;
|
|
17
|
+
applyAnimationDuration(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCircularProgressComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaCircularProgressComponent, "anna-core-circular-progress", never, { "percent": { "alias": "percent"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "outerStrokeWidth": { "alias": "outerStrokeWidth"; "required": false; }; "innerStrokeWidth": { "alias": "innerStrokeWidth"; "required": false; }; "outerStrokeColor": { "alias": "outerStrokeColor"; "required": false; }; "innerStrokeColor": { "alias": "innerStrokeColor"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare class AnnaIconColumnComponent {
|
|
|
9
9
|
PfpIconActiveColor: string;
|
|
10
10
|
PfpIconDisableColor: string;
|
|
11
11
|
columnIconClicked: EventEmitter<GtColumnIconEmittedData>;
|
|
12
|
-
svgIconClicked(
|
|
12
|
+
svgIconClicked(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaIconColumnComponent, never>;
|
|
14
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-icon-column", never, { "componentName": { "alias": "componentName"; "required": false; }; "iconToShow": { "alias": "iconToShow"; "required": false; }; "dataObject": { "alias": "dataObject"; "required": false; }; }, { "columnIconClicked": "columnIconClicked"; }, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -2,7 +2,7 @@ export declare class Constants {
|
|
|
2
2
|
static readonly SUCCESS_STRING = "success";
|
|
3
3
|
static readonly BACKEND_SERVER_URL = "/server/public/index.php/api";
|
|
4
4
|
static readonly ERROR_MSG = "Error occurred please try again.";
|
|
5
|
-
static readonly NO_DATA_MSG = "No
|
|
5
|
+
static readonly NO_DATA_MSG = "No data to display";
|
|
6
6
|
static readonly SERVER_ERROR = "Server error. Please try Again";
|
|
7
7
|
static readonly USER_ORIGIN = "ANNA";
|
|
8
8
|
static readonly ACTIVE_USER_STATUS = "active";
|
|
@@ -20,8 +20,10 @@ export interface IHeaderInfo {
|
|
|
20
20
|
disableTooltipIcon?: boolean;
|
|
21
21
|
tooltip?: ITooltip;
|
|
22
22
|
joinedFilterSortObjectKeys?: string;
|
|
23
|
+
showSplitedOptionsInFilter?: boolean[];
|
|
24
|
+
splitDelimiter?: string[];
|
|
23
25
|
}
|
|
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" | "STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "STRING_ELLIPSIS_WITH_TABLE_TOOLTIP" | "STRING_WITH_TOOLTIP_INNER_HTML";
|
|
26
|
+
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" | "STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "STRING_ELLIPSIS_WITH_TABLE_TOOLTIP" | "STRING_WITH_TOOLTIP_INNER_HTML" | "ICON_CELL_AND_STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP";
|
|
25
27
|
type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
26
28
|
export interface ISvgOrIconTypeInGTTable {
|
|
27
29
|
showObjectKey: boolean;
|
|
@@ -44,6 +46,7 @@ export declare enum SvgOrIconNames {
|
|
|
44
46
|
DELETED_ORDER = "DELETED_ORDER",
|
|
45
47
|
WARNING_ICON = "WARNING_ICON",
|
|
46
48
|
INFORMATION_OUTLINE_ICON = "INFORMATION_OUTLINE_ICON",
|
|
49
|
+
ALERT_OCTAGON_ICON = "ALERT_OCTAGON_ICON",
|
|
47
50
|
CANCEL_ICON = "CANCEL_ICON",
|
|
48
51
|
ALPHA_B_CIRCLE = "ALPHA_B_CIRCLE",
|
|
49
52
|
ALPHA_R_CIRCLE = "ALPHA_R_CIRCLE",
|
|
@@ -152,7 +155,7 @@ export interface IActionItemTypeWithStringIconOrTextAction {
|
|
|
152
155
|
tooltipPlacement?: string;
|
|
153
156
|
enableTooltipForAdditionalText?: boolean;
|
|
154
157
|
}
|
|
155
|
-
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "AUTOMATED" | "WARNING_ICON" | "INFORMATION_OUTLINE_ICON" | "CANCEL_ICON" | "ALPHA_B_CIRCLE" | "ALPHA_R_CIRCLE" | "ALPHA_E_CIRCLE" | "ALPHA_A_CIRCLE";
|
|
158
|
+
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "AUTOMATED" | "WARNING_ICON" | "INFORMATION_OUTLINE_ICON" | "ALERT_OCTAGON_ICON" | "CANCEL_ICON" | "ALPHA_B_CIRCLE" | "ALPHA_R_CIRCLE" | "ALPHA_E_CIRCLE" | "ALPHA_A_CIRCLE" | "MESSAGE";
|
|
156
159
|
export declare class TableClassNameConstant {
|
|
157
160
|
static readonly defaultClass = "table-body-row ";
|
|
158
161
|
static readonly selectedRow = "selected-row ";
|
|
@@ -16,7 +16,9 @@ export declare class RadioButtonModel {
|
|
|
16
16
|
label: string;
|
|
17
17
|
isSortRequired: boolean;
|
|
18
18
|
isFilterRequired: boolean;
|
|
19
|
-
|
|
19
|
+
showSplitedOptions?: boolean;
|
|
20
|
+
splitDelimiter?: string;
|
|
21
|
+
constructor(key: string, value: string, sort: boolean, filter: boolean, showSplitedOptions?: boolean, splitDelimiter?: string);
|
|
20
22
|
}
|
|
21
23
|
export declare enum AllSelectedStatus {
|
|
22
24
|
none = 0,
|
|
@@ -16,14 +16,14 @@ export declare class AnnaDateTimeFormatService {
|
|
|
16
16
|
addZero(time: any): any;
|
|
17
17
|
sortByTimeAscending(a: any, b: any): number;
|
|
18
18
|
sortByTimeDescending(a: any, b: any): number;
|
|
19
|
-
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 1 |
|
|
19
|
+
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 1 | 0 | -1;
|
|
20
20
|
convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
|
|
21
21
|
compareDate(a: string, b: string, isAsc: boolean): number;
|
|
22
22
|
static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
|
|
23
23
|
static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
|
|
24
24
|
formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
|
|
25
25
|
compare(a: number | string, b: number | string, isAsc: boolean): number;
|
|
26
|
-
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 1 |
|
|
26
|
+
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 1 | 0 | -1;
|
|
27
27
|
convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
|
|
28
28
|
getBroadcastWeek(startDate: any, format?: string): {
|
|
29
29
|
start: dayjs.Dayjs;
|
|
@@ -32,6 +32,8 @@ export declare class AnnaFilterService {
|
|
|
32
32
|
max: any;
|
|
33
33
|
};
|
|
34
34
|
ngxSliderObj: Options;
|
|
35
|
+
SPLITED_CHECKBOX_FILTER_KEY: string;
|
|
36
|
+
DEFAULT_SPLIT_SEPARATOR: string;
|
|
35
37
|
sliderCurrencySet: Set<string>;
|
|
36
38
|
static bufferSize: number;
|
|
37
39
|
isFilterSortActive: any;
|
|
@@ -77,8 +79,8 @@ export declare class AnnaFilterService {
|
|
|
77
79
|
decrementMinute(value: any): any;
|
|
78
80
|
disableActiveFilterClearButton(): boolean;
|
|
79
81
|
getColumnSortStateForSelectedRadio(): string;
|
|
80
|
-
createListForCheckboxFilter(header: string, optionData: any[]): TooltipModel[];
|
|
81
|
-
getTooltipModelFromOptionData(optionData: any[], header: string): TooltipModel[];
|
|
82
|
+
createListForCheckboxFilter(header: string, optionData: any[], showSplitedOptions?: boolean, splitDelimiter?: string): TooltipModel[];
|
|
83
|
+
getTooltipModelFromOptionData(optionData: any[], header: string, showSplitedOptions?: boolean, splitDelimiter?: string): TooltipModel[];
|
|
82
84
|
selectUnselectListCheckbox(tooltipOptions: TooltipModel[], header: string): void;
|
|
83
85
|
formatNullOptionToSpecifiedString(tooltipOptions: TooltipModel[], formattedString: string): void;
|
|
84
86
|
getClonedTooltipAndTooltipOption(tooltipOptions: TooltipModel[], sortByString: string): TooltipModel[][];
|
|
@@ -155,6 +157,7 @@ export declare class AnnaFilterService {
|
|
|
155
157
|
setMarginLeftForFilterIcon(thElements: QueryList<ElementRef>): void;
|
|
156
158
|
checkIfUniqueValuePresentForTheHeader(header: IHeaderInfo, enabledHeaders: any[], tableData: any[], clonedTableData: any[]): void;
|
|
157
159
|
disableEnableEachColumnTooltipIcon(tableHeaders: IGtTableHeader[], tableData: any[], clonedTableData: any[]): void;
|
|
160
|
+
updateDateFilterTooltipSelectedMap(keys: string[]): void;
|
|
158
161
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
159
162
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
160
163
|
}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IGtGeneralConfig
|
|
1
|
+
import { IConfirmationPopupConfig, ICustomMultiSelect, ICustomSingleSelect, INgbDatePickerSettings, INgSelectSettings, INgxSkeletonLoaderSettings, IWeekCalendar } from "../models/anna-global-dropdown-config.model";
|
|
2
|
+
import { IGtGeneralConfig } from "../models/anna-non-editable-gt-models";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AnnaGlobalConfigService {
|
|
5
|
-
readonly defaultAngular2MultiSelectSettings: IAngular2MultiSelectSettings;
|
|
6
|
-
readonly defaultNgxAsideSettings: INgxAsideSettings;
|
|
7
5
|
readonly defaultNgbDatePickerSettings: INgbDatePickerSettings;
|
|
8
6
|
readonly defaultNgSelectSettings: INgSelectSettings;
|
|
9
|
-
readonly defaultNgxInfiniteScrollSettings: INgxInfiniteScrollSettings;
|
|
10
7
|
readonly defaultNgxSkeletonLoaderSettings: INgxSkeletonLoaderSettings;
|
|
11
|
-
readonly defaultRadioButtonsComponentConfig: IRadioButtonComponentConfig;
|
|
12
8
|
readonly defaultConfirmationPopupConfig: IConfirmationPopupConfig;
|
|
9
|
+
readonly defaultUnsavedChangesConfirmationPopupConfig: IConfirmationPopupConfig;
|
|
13
10
|
readonly defaultWeekCalendarConfig: IWeekCalendar;
|
|
14
|
-
readonly defaultGtHeaderConfig: IGtHeaderConfig;
|
|
15
11
|
readonly defaultGtGeneralConfig: IGtGeneralConfig;
|
|
16
12
|
readonly defaultSingleSelectConfig: ICustomSingleSelect;
|
|
17
13
|
readonly defaultMultiSelectConfig: ICustomMultiSelect;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class AnnaNumberFormatService {
|
|
3
3
|
static GetRoundedValueWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
|
|
4
|
+
static GetRoundedValueWithUnitsAndDollarSymbol(inputValue: number, digitsToRoundDecimalPoint?: number): string;
|
|
4
5
|
static GetRoundedImpressionsWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
|
|
5
6
|
static GetValueInUnits(inputValue: number): (string | number)[];
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNumberFormatService, never>;
|
|
@@ -36,9 +36,8 @@ import * as i34 from "./anna-core-shared-lib/pipes/annaConvertArrayToCommaSepera
|
|
|
36
36
|
import * as i35 from "./anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive";
|
|
37
37
|
import * as i36 from "./anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component";
|
|
38
38
|
import * as i37 from "./anna-core-shared-lib/components/anna-spinner-loader/anna-spinner-loader.component";
|
|
39
|
-
import * as i38 from "./anna-core-shared-lib/components/anna-licensing-table/anna-licensing-table.component";
|
|
40
39
|
export declare class AnnaCoreModule {
|
|
41
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, never, [typeof i1.CommonModule, typeof i2.NgbModule, typeof i3.FormsModule, typeof i4.MatRadioModule, typeof i5.MatButtonToggleModule, typeof i6.MatTableModule, typeof i7.NgxSliderModule, typeof i8.NgxSkeletonLoaderModule, typeof i9.ScrollingModule, typeof i10.NgCircleProgressModule, typeof i11.AnnaNoDataComponent, typeof i12.AnnaFilterSearchedTextPipe, typeof i13.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i14.AnnaTypeofDataPipe, typeof i12.AnnaFilterSearchedTextPipe, typeof i15.AnnaReplaceCharPipe, typeof i16.AnnaBuyerApprovalIconTemplateComponent, typeof i17.AnnaLiveIconTemplateComponent, typeof i18.AnnaNotifyIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i20.AnnaRejectedIconTemplateComponent, typeof i21.ShowEllipsisTextOnHoverDirective, typeof i22.AnnaIconColumnComponent, typeof i23.AnnaWeekCalendarComponent, typeof i24.AnnaCalendarFilterComponent, typeof i25.AnnaSortComponent, typeof i26.AnnaNonEditableGenericTableComponent, typeof i27.DigitOnlyDirective, typeof i28.AnnaColumnDateRangeFilterComponent, typeof i29.AnnaColumnTimeFilterComponent, typeof i30.AnnaColumnCheckboxFilterComponent, typeof i31.AnnaDeletedOrderIconTemplateComponent, typeof i32.AnnaColumnSliderFilterComponent, typeof i33.AnnaDateFormatterPipe, typeof i34.AnnaConvertArrayToCommaSeperatedValue, typeof i35.FixedRowsPopupTableDirective, typeof i36.AnnaEstIconTemplateComponent, typeof i37.AnnaSpinnerLoaderComponent
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, never, [typeof i1.CommonModule, typeof i2.NgbModule, typeof i3.FormsModule, typeof i4.MatRadioModule, typeof i5.MatButtonToggleModule, typeof i6.MatTableModule, typeof i7.NgxSliderModule, typeof i8.NgxSkeletonLoaderModule, typeof i9.ScrollingModule, typeof i10.NgCircleProgressModule, typeof i11.AnnaNoDataComponent, typeof i12.AnnaFilterSearchedTextPipe, typeof i13.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i14.AnnaTypeofDataPipe, typeof i12.AnnaFilterSearchedTextPipe, typeof i15.AnnaReplaceCharPipe, typeof i16.AnnaBuyerApprovalIconTemplateComponent, typeof i17.AnnaLiveIconTemplateComponent, typeof i18.AnnaNotifyIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i20.AnnaRejectedIconTemplateComponent, typeof i21.ShowEllipsisTextOnHoverDirective, typeof i22.AnnaIconColumnComponent, typeof i23.AnnaWeekCalendarComponent, typeof i24.AnnaCalendarFilterComponent, typeof i25.AnnaSortComponent, typeof i26.AnnaNonEditableGenericTableComponent, typeof i27.DigitOnlyDirective, typeof i28.AnnaColumnDateRangeFilterComponent, typeof i29.AnnaColumnTimeFilterComponent, typeof i30.AnnaColumnCheckboxFilterComponent, typeof i31.AnnaDeletedOrderIconTemplateComponent, typeof i32.AnnaColumnSliderFilterComponent, typeof i33.AnnaDateFormatterPipe, typeof i34.AnnaConvertArrayToCommaSeperatedValue, typeof i35.FixedRowsPopupTableDirective, typeof i36.AnnaEstIconTemplateComponent, typeof i37.AnnaSpinnerLoaderComponent], [typeof i11.AnnaNoDataComponent, typeof i12.AnnaFilterSearchedTextPipe, typeof i13.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i14.AnnaTypeofDataPipe, typeof i15.AnnaReplaceCharPipe, typeof i12.AnnaFilterSearchedTextPipe, typeof i16.AnnaBuyerApprovalIconTemplateComponent, typeof i17.AnnaLiveIconTemplateComponent, typeof i18.AnnaNotifyIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i20.AnnaRejectedIconTemplateComponent, typeof i21.ShowEllipsisTextOnHoverDirective, typeof i22.AnnaIconColumnComponent, typeof i23.AnnaWeekCalendarComponent, typeof i24.AnnaCalendarFilterComponent, typeof i25.AnnaSortComponent, typeof i26.AnnaNonEditableGenericTableComponent, typeof i28.AnnaColumnDateRangeFilterComponent, typeof i29.AnnaColumnTimeFilterComponent, typeof i30.AnnaColumnCheckboxFilterComponent, typeof i27.DigitOnlyDirective, typeof i31.AnnaDeletedOrderIconTemplateComponent, typeof i32.AnnaColumnSliderFilterComponent, typeof i33.AnnaDateFormatterPipe, typeof i34.AnnaConvertArrayToCommaSeperatedValue, typeof i35.FixedRowsPopupTableDirective, typeof i37.AnnaSpinnerLoaderComponent]>;
|
|
43
42
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
|
|
44
43
|
}
|
|
@@ -10,7 +10,7 @@ export declare class AnnaWeekCalendarComponent implements OnInit, OnChanges, Aft
|
|
|
10
10
|
private calendar;
|
|
11
11
|
private datePickerConfig;
|
|
12
12
|
private annaDateTimeFormatService;
|
|
13
|
-
private
|
|
13
|
+
private annaGlobalConfig;
|
|
14
14
|
fromDate: NgbDate | null;
|
|
15
15
|
hoveredDate: NgbDate | null;
|
|
16
16
|
toDate: NgbDate | null;
|
|
@@ -40,7 +40,7 @@ export declare class AnnaWeekCalendarComponent implements OnInit, OnChanges, Aft
|
|
|
40
40
|
applyWeekCalendarChanges: EventEmitter<any>;
|
|
41
41
|
calendarToggled: EventEmitter<any>;
|
|
42
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
-
constructor(calendar: NgbCalendar, datePickerConfig: NgbDatepickerConfig, annaDateTimeFormatService: AnnaDateTimeFormatService,
|
|
43
|
+
constructor(calendar: NgbCalendar, datePickerConfig: NgbDatepickerConfig, annaDateTimeFormatService: AnnaDateTimeFormatService, annaGlobalConfig: AnnaGlobalConfigService);
|
|
44
44
|
getWeekNumber(week: any, firstDayOfWeek: any): number;
|
|
45
45
|
ngAfterViewInit(): void;
|
|
46
46
|
ngOnInit(): void;
|
|
@@ -32,6 +32,9 @@ export declare class AnnaColumnCheckboxFilterComponent implements OnInit {
|
|
|
32
32
|
disableCheckboxApply: boolean;
|
|
33
33
|
showFilterComponent: boolean;
|
|
34
34
|
margin: number;
|
|
35
|
+
selectedRadioKey: string;
|
|
36
|
+
showSplitedOptions: boolean;
|
|
37
|
+
splitDelimiter: string;
|
|
35
38
|
constructor(annaSortService: AnnaSortService, annaFilterService: AnnaFilterService);
|
|
36
39
|
ngOnInit(): void;
|
|
37
40
|
populateTooltipDataBasedOnSelectedRadio(activeTab: RadioButtonModel, reload: boolean): void;
|
|
@@ -162,7 +162,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
162
162
|
radioButtonClicked(data: any, action: string, isDisabled: boolean): void;
|
|
163
163
|
bindTheValueToSellerGroupTooltip(sellerGroupHierarchy: RatingSellerGroupHierarchy[], tooltip: any): void;
|
|
164
164
|
iconClicked(rowData: any, iconClass: string): void;
|
|
165
|
-
svgIconClicked(data: GtColumnIconEmittedData): void;
|
|
165
|
+
svgIconClicked(data: GtColumnIconEmittedData, key: string): void;
|
|
166
166
|
textActionClicked(rowData: any, id: any, columnHeader: IHeaderInfo): void;
|
|
167
167
|
iconClickedOnStringIconActionType(rowData: any, id: any, columnHeader: IHeaderInfo): void;
|
|
168
168
|
innerHTMLCellClicked(event: any, rowData: any): void;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from "./lib/anna-core.module";
|
|
2
2
|
export * from "./lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component";
|
|
3
|
+
export * from "./lib/anna-core-shared-lib/components/anna-circular-progress/anna-circular-progress.component";
|
|
3
4
|
export * from "./lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component";
|
|
4
5
|
export * from "./lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component";
|
|
5
|
-
export * from "./lib/anna-core-shared-lib/components/anna-licensing-table/anna-licensing-table.component";
|
|
6
6
|
export * from "./lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component";
|
|
7
7
|
export * from "./lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component";
|
|
8
8
|
export * from "./lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component";
|
|
@@ -21,7 +21,6 @@ export * from "./lib/anna-core-shared-lib/services/anna-sort.service";
|
|
|
21
21
|
export * from "./lib/anna-core-shared-lib/services/anna-spinner-loader.service";
|
|
22
22
|
export * from "./lib/anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
23
23
|
export * from "./lib/anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
24
|
-
export * from "./lib/anna-core-shared-lib/models/anna-licensing-table.model";
|
|
25
24
|
export * from "./lib/anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
26
25
|
export * from "./lib/anna-core-shared-lib/models/anna-sort.model";
|
|
27
26
|
export * from "./lib/anna-core-shared-lib/models/anna-tooltip.model";
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
.show-text {
|
|
2
|
+
display: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.hovered-email-report-button,
|
|
6
|
+
.email-report-btn {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: nowrap;
|
|
9
|
+
align-items: center;
|
|
10
|
+
z-index: 300;
|
|
11
|
+
width: 1.875rem;
|
|
12
|
+
transition: 0.5s ease-in-out;
|
|
13
|
+
height: 1.875rem;
|
|
14
|
+
border-radius: 50%;
|
|
15
|
+
border: none;
|
|
16
|
+
color: #fff;
|
|
17
|
+
background-color: #268bff;
|
|
18
|
+
top: 8.8rem;
|
|
19
|
+
right: 2.5%;
|
|
20
|
+
position: absolute;
|
|
21
|
+
box-shadow:
|
|
22
|
+
0 6px 10px 0 rgba(0, 0, 0, 0.3),
|
|
23
|
+
0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
24
|
+
font-size: var(--page-link-fs);
|
|
25
|
+
|
|
26
|
+
.icon {
|
|
27
|
+
float: right;
|
|
28
|
+
margin-left: auto;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.show-text {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.show-icon {
|
|
36
|
+
color: white;
|
|
37
|
+
font-size: 1.125rem;
|
|
38
|
+
transform: rotate(315deg);
|
|
39
|
+
margin-left: 0.125rem;
|
|
40
|
+
margin-top: -0.25rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:disabled {
|
|
44
|
+
background-color: #979797;
|
|
45
|
+
cursor: not-allowed !important;
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.w-180.hovered-email-report-button {
|
|
51
|
+
width: 180px !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.hovered-email-report-button {
|
|
55
|
+
color: white;
|
|
56
|
+
width: 120px;
|
|
57
|
+
height: 1.875rem;
|
|
58
|
+
padding: 8px;
|
|
59
|
+
border-radius: 0.9375rem;
|
|
60
|
+
box-shadow:
|
|
61
|
+
0 6px 10px 0 rgba(0, 0, 0, 0.3),
|
|
62
|
+
0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
63
|
+
|
|
64
|
+
.show-text {
|
|
65
|
+
display: block;
|
|
66
|
+
transition: fadeInRight 0.5s ease-in-out;
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.mdi-menu-down {
|
|
73
|
+
display: block !important;
|
|
74
|
+
font-size: 14px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.show-icon {
|
|
78
|
+
display: none;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.send-mi {
|
|
83
|
+
color: white;
|
|
84
|
+
font-size: 1.125rem;
|
|
85
|
+
transform: rotate(315deg);
|
|
86
|
+
margin-left: 0.125rem;
|
|
87
|
+
margin-top: 0.125rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
export class AnnaLicensingTableComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.isEditMode = false;
|
|
10
|
-
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AnnaLicensingTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AnnaLicensingTableComponent, isStandalone: true, selector: "anna-core-licensing-table", inputs: { plans: "plans", isEditMode: "isEditMode" }, ngImport: i0, template: "<section>\n <table>\n <thead>\n <th>FEATURE</th>\n <th *ngFor=\"let plan of plans\">\n {{ plan.PlanName }}\n </th>\n </thead>\n <tbody>\n <tr *ngFor=\"let feature of plans[0].FeatureDetails; let featureIndex = index\">\n <td>\n <strong>{{ feature.FeatureName }}</strong> {{ feature.FeatureDesc }}\n </td>\n <td *ngFor=\"let plan of plans; let planIndex = index\">\n <ng-container *ngIf=\"plan.FeatureDetails[featureIndex] as featureDetails\">\n <i\n *ngIf=\"featureDetails.IsIncluded && !featureDetails.Specification[0].Json.TotalOrders\"\n class=\"mi mdi-checkbox-marked-circle\"\n ></i>\n <i\n *ngIf=\"!featureDetails.IsIncluded\"\n class=\"mi mdi-close\"\n ></i>\n <ng-container *ngIf=\"featureDetails.Specification[0].Json.TotalOrders\">\n <ng-container *ngIf=\"feature.FeatureName === 'Pay on Delivery (PoD)'\">\n <div *ngIf=\"isEditMode\">\n <input\n type=\"text\"\n [ngModel]=\"featureDetails.Specification[0].Json.TotalOrders\"\n />\n Orders\n </div>\n <div *ngIf=\"!isEditMode\">\n <p>\n {{ featureDetails.Specification[0].Json.TotalOrders }} Orders\n <span *ngIf=\"featureDetails.Specification[0].Json.RemainingOrders\"\n >|\n {{ featureDetails.Specification[0].Json.RemainingOrders }} Remaining</span\n >\n </p>\n <span *ngIf=\"featureDetails.Specification[0].Json.IsCustomized\">(Customized)</span>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </td>\n </tr>\n </tbody>\n </table>\n</section>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13
|
-
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AnnaLicensingTableComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{ selector: 'anna-core-licensing-table', standalone: true, imports: [CommonModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section>\n <table>\n <thead>\n <th>FEATURE</th>\n <th *ngFor=\"let plan of plans\">\n {{ plan.PlanName }}\n </th>\n </thead>\n <tbody>\n <tr *ngFor=\"let feature of plans[0].FeatureDetails; let featureIndex = index\">\n <td>\n <strong>{{ feature.FeatureName }}</strong> {{ feature.FeatureDesc }}\n </td>\n <td *ngFor=\"let plan of plans; let planIndex = index\">\n <ng-container *ngIf=\"plan.FeatureDetails[featureIndex] as featureDetails\">\n <i\n *ngIf=\"featureDetails.IsIncluded && !featureDetails.Specification[0].Json.TotalOrders\"\n class=\"mi mdi-checkbox-marked-circle\"\n ></i>\n <i\n *ngIf=\"!featureDetails.IsIncluded\"\n class=\"mi mdi-close\"\n ></i>\n <ng-container *ngIf=\"featureDetails.Specification[0].Json.TotalOrders\">\n <ng-container *ngIf=\"feature.FeatureName === 'Pay on Delivery (PoD)'\">\n <div *ngIf=\"isEditMode\">\n <input\n type=\"text\"\n [ngModel]=\"featureDetails.Specification[0].Json.TotalOrders\"\n />\n Orders\n </div>\n <div *ngIf=\"!isEditMode\">\n <p>\n {{ featureDetails.Specification[0].Json.TotalOrders }} Orders\n <span *ngIf=\"featureDetails.Specification[0].Json.RemainingOrders\"\n >|\n {{ featureDetails.Specification[0].Json.RemainingOrders }} Remaining</span\n >\n </p>\n <span *ngIf=\"featureDetails.Specification[0].Json.IsCustomized\">(Customized)</span>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </td>\n </tr>\n </tbody>\n </table>\n</section>" }]
|
|
17
|
-
}], propDecorators: { plans: [{
|
|
18
|
-
type: Input
|
|
19
|
-
}], isEditMode: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}] } });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYS1saWNlbnNpbmctdGFibGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5uYS1jb3JlL3NyYy9saWIvYW5uYS1jb3JlLXNoYXJlZC1saWIvY29tcG9uZW50cy9hbm5hLWxpY2Vuc2luZy10YWJsZS9hbm5hLWxpY2Vuc2luZy10YWJsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbm5hLWNvcmUvc3JjL2xpYi9hbm5hLWNvcmUtc2hhcmVkLWxpYi9jb21wb25lbnRzL2FubmEtbGljZW5zaW5nLXRhYmxlL2FubmEtbGljZW5zaW5nLXRhYmxlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRS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gICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJwbGFuLkZlYXR1cmVEZXRhaWxzW2ZlYXR1cmVJbmRleF0gYXMgZmVhdHVyZURldGFpbHNcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJmZWF0dXJlRGV0YWlscy5Jc0luY2x1ZGVkICYmICFmZWF0dXJlRGV0YWlscy5TcGVjaWZpY2F0aW9uWzBdLkpzb24uVG90YWxPcmRlcnNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwibWkgbWRpLWNoZWNrYm94LW1hcmtlZC1jaXJjbGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCIhZmVhdHVyZURldGFpbHMuSXNJbmNsdWRlZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtaSBtZGktY2xvc2VcIlxuICAgICAgICAgICAgICAgICAgICAgICAgPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJmZWF0dXJlRGV0YWlscy5TcGVjaWZpY2F0aW9uWzBdLkpzb24uVG90YWxPcmRlcnNcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiZmVhdHVyZS5GZWF0dXJlTmFtZSA9PT0gJ1BheSBvbiBEZWxpdmVyeSAoUG9EKSdcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiAqbmdJZj1cImlzRWRpdE1vZGVcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbmdNb2RlbF09XCJmZWF0dXJlRGV0YWlscy5TcGVjaWZpY2F0aW9uWzBdLkpzb24uVG90YWxPcmRlcnNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE9yZGVyc1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiAqbmdJZj1cIiFpc0VkaXRNb2RlXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBmZWF0dXJlRGV0YWlscy5TcGVjaWZpY2F0aW9uWzBdLkpzb24uVG90YWxPcmRlcnMgfX0gT3JkZXJzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCJmZWF0dXJlRGV0YWlscy5TcGVjaWZpY2F0aW9uWzBdLkpzb24uUmVtYWluaW5nT3JkZXJzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPnxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgZmVhdHVyZURldGFpbHMuU3BlY2lmaWNhdGlvblswXS5Kc29uLlJlbWFpbmluZ09yZGVycyB9fSBSZW1haW5pbmc8L3NwYW5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdJZj1cImZlYXR1cmVEZXRhaWxzLlNwZWNpZmljYXRpb25bMF0uSnNvbi5Jc0N1c3RvbWl6ZWRcIj4oQ3VzdG9taXplZCk8L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICA8L3RyPlxuICAgICAgICA8L3Rib2R5PlxuICAgIDwvdGFibGU+XG48L3NlY3Rpb24+Il19
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export class LicensingPlan {
|
|
2
|
-
constructor(data) {
|
|
3
|
-
this.PlanId = data.PlanId;
|
|
4
|
-
this.PlanName = data.PlanName;
|
|
5
|
-
this.PlanStartDate = data.PlanStartDate;
|
|
6
|
-
this.PlanEndDate = data.PlanEndDate;
|
|
7
|
-
this.FeatureDetails = data.FeatureDetails.map((feature) => new FeatureDetails(feature));
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export class FeatureDetails {
|
|
11
|
-
constructor(data) {
|
|
12
|
-
this.FeatureId = data.FeatureId;
|
|
13
|
-
this.FeatureName = data.FeatureName;
|
|
14
|
-
this.FeatureDesc = data.FeatureDesc;
|
|
15
|
-
this.IsIncluded = data.IsIncluded;
|
|
16
|
-
this.Specification = data.Specification.map((spec) => ({
|
|
17
|
-
Json: JSON.parse(spec.Json),
|
|
18
|
-
}));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYS1saWNlbnNpbmctdGFibGUubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbm5hLWNvcmUvc3JjL2xpYi9hbm5hLWNvcmUtc2hhcmVkLWxpYi9tb2RlbHMvYW5uYS1saWNlbnNp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YXRhLkZlYXR1cmVOYW1lO1xyXG4gICAgICAgIHRoaXMuRmVhdHVyZURlc2MgPSBkYXRhLkZlYXR1cmVEZXNjO1xyXG4gICAgICAgIHRoaXMuSXNJbmNsdWRlZCA9IGRhdGEuSXNJbmNsdWRlZDtcclxuICAgICAgICB0aGlzLlNwZWNpZmljYXRpb24gPSBkYXRhLlNwZWNpZmljYXRpb24ubWFwKChzcGVjOiBhbnkpID0+ICh7XHJcbiAgICAgICAgICAgIEpzb246IEpTT04ucGFyc2Uoc3BlYy5Kc29uKSxcclxuICAgICAgICB9KSk7XHJcbiAgICB9XHJcbn1cclxuIl19
|
package/lib/anna-core-shared-lib/components/anna-licensing-table/anna-licensing-table.component.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LicensingPlan } from '../../models/anna-licensing-table.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaLicensingTableComponent {
|
|
4
|
-
plans: LicensingPlan[];
|
|
5
|
-
isEditMode: boolean;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaLicensingTableComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaLicensingTableComponent, "anna-core-licensing-table", never, { "plans": { "alias": "plans"; "required": false; }; "isEditMode": { "alias": "isEditMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare class LicensingPlan {
|
|
2
|
-
PlanId: number;
|
|
3
|
-
PlanName: string;
|
|
4
|
-
PlanStartDate?: number;
|
|
5
|
-
PlanEndDate?: number;
|
|
6
|
-
FeatureDetails: FeatureDetails[];
|
|
7
|
-
constructor(data: any);
|
|
8
|
-
}
|
|
9
|
-
export declare class FeatureDetails {
|
|
10
|
-
FeatureId: number;
|
|
11
|
-
FeatureName: string;
|
|
12
|
-
FeatureDesc: string;
|
|
13
|
-
IsIncluded: boolean;
|
|
14
|
-
Specification: any[];
|
|
15
|
-
constructor(data: any);
|
|
16
|
-
}
|