intelica-library-project 20.0.21 → 20.0.23
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/index.d.ts
CHANGED
|
@@ -1,15 +1,75 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, OnInit, EventEmitter, OnChanges, TemplateRef, AfterContentInit, QueryList, ChangeDetectorRef, SimpleChanges, AfterViewInit, ElementRef, PipeTransform } from '@angular/core';
|
|
3
|
+
import { GlobalTermService, DateMode } from 'intelica-library-base';
|
|
3
4
|
import { FormGroup } from '@angular/forms';
|
|
4
5
|
import * as rxjs from 'rxjs';
|
|
5
6
|
import { Subscription, Subject, BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
-
import { GlobalTermService, DateMode } from 'intelica-library-base';
|
|
7
7
|
import * as echarts from 'echarts';
|
|
8
8
|
import { EChartsOption, LabelFormatterCallback, DefaultLabelFormatterCallbackParams, TooltipComponentFormatterCallback, TooltipComponentFormatterCallbackParams } from 'echarts';
|
|
9
9
|
import { MenuItem } from 'primeng/api';
|
|
10
10
|
import { Location } from '@angular/common';
|
|
11
11
|
import { DashboardExperience, VisualExperience } from 'amazon-quicksight-embedding-sdk';
|
|
12
12
|
|
|
13
|
+
declare const DATE_PERIOD: {
|
|
14
|
+
readonly Last12Months: "Last12Months";
|
|
15
|
+
readonly CurrentYear: "CurrentYear";
|
|
16
|
+
readonly CurrentMonth: "CurrentMonth";
|
|
17
|
+
readonly Custom: "Custom";
|
|
18
|
+
};
|
|
19
|
+
type DatePeriod = (typeof DATE_PERIOD)[keyof typeof DATE_PERIOD];
|
|
20
|
+
interface DateRangeOutput {
|
|
21
|
+
start: Date;
|
|
22
|
+
end: Date;
|
|
23
|
+
period: DatePeriod;
|
|
24
|
+
label: string;
|
|
25
|
+
}
|
|
26
|
+
interface PresetState {
|
|
27
|
+
period: DatePeriod;
|
|
28
|
+
label: string;
|
|
29
|
+
active: boolean;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
}
|
|
32
|
+
type DatePickerView = "date" | "month" | "year";
|
|
33
|
+
declare class IntelicaDatepicker {
|
|
34
|
+
private readonly primeng;
|
|
35
|
+
private readonly termPipe;
|
|
36
|
+
readonly globalTermService: GlobalTermService;
|
|
37
|
+
view: i0.InputSignal<"date" | "month">;
|
|
38
|
+
minDate: i0.InputSignal<Date | null>;
|
|
39
|
+
maxDate: i0.InputSignal<Date | null>;
|
|
40
|
+
disabledDates: i0.InputSignal<Date[]>;
|
|
41
|
+
disabled: i0.InputSignal<boolean>;
|
|
42
|
+
initPeriod: i0.InputSignal<DatePeriod>;
|
|
43
|
+
initialRange: i0.InputSignal<Date[] | null>;
|
|
44
|
+
changed: i0.OutputEmitterRef<DateRangeOutput>;
|
|
45
|
+
private datepickerRef;
|
|
46
|
+
protected dateFormat: i0.Signal<"M, yy" | "dd M, yy">;
|
|
47
|
+
protected effectiveMaxDate: i0.Signal<Date>;
|
|
48
|
+
protected dateRange: i0.WritableSignal<Date[] | null>;
|
|
49
|
+
protected selectedPeriod: i0.WritableSignal<DatePeriod>;
|
|
50
|
+
protected viewedDate: i0.WritableSignal<Date>;
|
|
51
|
+
protected viewedView: i0.WritableSignal<DatePickerView>;
|
|
52
|
+
protected presetsState: i0.Signal<PresetState[]>;
|
|
53
|
+
protected canGoPrev: i0.Signal<boolean>;
|
|
54
|
+
protected canGoNext: i0.Signal<boolean>;
|
|
55
|
+
protected panelClasses: i0.Signal<string>;
|
|
56
|
+
constructor();
|
|
57
|
+
applyPreset(period: DatePeriod): void;
|
|
58
|
+
onDateRangeChange(range: Date[] | null): void;
|
|
59
|
+
onCalendarClose(): void;
|
|
60
|
+
onCalendarShow(): void;
|
|
61
|
+
onMonthChange(): void;
|
|
62
|
+
onPanelInteract(): void;
|
|
63
|
+
private clampRange;
|
|
64
|
+
private setPreset;
|
|
65
|
+
private syncViewedState;
|
|
66
|
+
private emitCurrent;
|
|
67
|
+
private buildLabel;
|
|
68
|
+
private formatDate;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntelicaDatepicker, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IntelicaDatepicker, "intelica-datepicker-range", never, { "view": { "alias": "view"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disabledDates": { "alias": "disabledDates"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "initPeriod": { "alias": "initPeriod"; "required": false; "isSignal": true; }; "initialRange": { "alias": "initialRange"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
71
|
+
}
|
|
72
|
+
|
|
13
73
|
interface SearchInputModel {
|
|
14
74
|
operatorId: number;
|
|
15
75
|
operatorText?: string;
|
|
@@ -374,6 +434,7 @@ declare class TableComponent<T> implements OnChanges, AfterContentInit {
|
|
|
374
434
|
get TotalPages(): number;
|
|
375
435
|
onChangeSelectPage(event: any): void;
|
|
376
436
|
get RenderPanel(): boolean;
|
|
437
|
+
onBlur(): void;
|
|
377
438
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
378
439
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "intelica-table", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ListData": { "alias": "ListData"; "required": false; }; "ShowRowPerPage": { "alias": "ShowRowPerPage"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "ShowPagination": { "alias": "ShowPagination"; "required": false; }; "RowsPerPage": { "alias": "RowsPerPage"; "required": false; }; "ShowCheckbox": { "alias": "ShowCheckbox"; "required": false; }; "ShowIndex": { "alias": "ShowIndex"; "required": false; }; "ListDataSelected": { "alias": "ListDataSelected"; "required": false; }; "SelectedIdentifier": { "alias": "SelectedIdentifier"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; "DefaultSortField": { "alias": "DefaultSortField"; "required": false; }; "DefaultSortOrder": { "alias": "DefaultSortOrder"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "AllowedPageSizes": { "alias": "AllowedPageSizes"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "IsTableDisabled": { "alias": "IsTableDisabled"; "required": false; }; }, { "EmitSelectedItem": "EmitSelectedItem"; "EmitListDataFilter": "EmitListDataFilter"; "EmitSearchEvent": "EmitSearchEvent"; "EmitSortEvent": "EmitSortEvent"; }, ["AdditionalTemplate", "AdditionalExtendedTemplate", "AdditionalCentralTemplate", "Columns", "ColumnGroups", "RowResumenGroups"], never, true, never>;
|
|
379
440
|
}
|
|
@@ -448,6 +509,7 @@ declare class TableFetchComponent<T> implements OnChanges, AfterContentInit {
|
|
|
448
509
|
get RenderPanel(): boolean;
|
|
449
510
|
onChangeSelectPage(event: any): void;
|
|
450
511
|
OnSearch(): void;
|
|
512
|
+
onBlur(): void;
|
|
451
513
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableFetchComponent<any>, never>;
|
|
452
514
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableFetchComponent<any>, "intelica-table-fetch", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ShowRowPerPage": { "alias": "ShowRowPerPage"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "ShowPagination": { "alias": "ShowPagination"; "required": false; }; "RowsPerPage": { "alias": "RowsPerPage"; "required": false; }; "ShowCheckbox": { "alias": "ShowCheckbox"; "required": false; }; "ShowIndex": { "alias": "ShowIndex"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; "DefaultSortField": { "alias": "DefaultSortField"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "AllowedPageSizes": { "alias": "AllowedPageSizes"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "FilteredList": { "alias": "FilteredList"; "required": false; }; "TotalItems": { "alias": "TotalItems"; "required": false; }; "CurrentPage": { "alias": "CurrentPage"; "required": false; }; "SortOrder": { "alias": "SortOrder"; "required": false; }; "SortField": { "alias": "SortField"; "required": false; }; }, { "EmitQueryParametersChange": "EmitQueryParametersChange"; "EmitSortEvent": "EmitSortEvent"; }, ["AdditionalTemplate", "AdditionalCentralTemplate", "AdditionalExtendedTemplate", "Columns", "ColumnGroups", "RowResumenGroups"], never, true, never>;
|
|
453
515
|
}
|
|
@@ -1006,5 +1068,5 @@ declare function darkenColor(input: string, amount?: number): string;
|
|
|
1006
1068
|
|
|
1007
1069
|
declare function dispatchQuicksightEvent(event: QuicksightEvent, outputs: QuicksightEventOutputs): void;
|
|
1008
1070
|
|
|
1009
|
-
export { AddFavoritesComponent, AddFavoritesService, BreadCrumbComponent, ColumnComponent, ColumnGroupComponent, DashboardQsComponent, DashboardQsInteractiveComponent, EchartComponent, EchartService, ElementHTTPService, ElementService, FormatAmountPipe, FormatCellPipe, OrderConstants, PageInformation, QUICKSIGHT_AUTH_ERROR_CODES, QuicksightEventName, RequestCacheService, RowResumenComponent, SearchComponent, SearchInputEnum, Shared, SharedService, SkeletonTableComponent, SortingComponent, TableComponent, TableFetchComponent, TitleComponent, TruncatePipe, darkenColor, dispatchQuicksightEvent };
|
|
1010
|
-
export type { CascadeFilterModel, ElementResponse, EmbedDashboardCommand, EmbedVisualCommand, EmbedVisualItem, EmbedVisualUrlResponse, EmbedWithoutVisualCommand, QueryParametersModel, QuicksightEmbedOptions, QuicksightEvent, QuicksightEventOutputs, QuicksightVisualConfig, SearchFieldModel, SearchInputModel, SortFieldModel };
|
|
1071
|
+
export { AddFavoritesComponent, AddFavoritesService, BreadCrumbComponent, ColumnComponent, ColumnGroupComponent, DATE_PERIOD, DashboardQsComponent, DashboardQsInteractiveComponent, EchartComponent, EchartService, ElementHTTPService, ElementService, FormatAmountPipe, FormatCellPipe, IntelicaDatepicker, OrderConstants, PageInformation, QUICKSIGHT_AUTH_ERROR_CODES, QuicksightEventName, RequestCacheService, RowResumenComponent, SearchComponent, SearchInputEnum, Shared, SharedService, SkeletonTableComponent, SortingComponent, TableComponent, TableFetchComponent, TitleComponent, TruncatePipe, darkenColor, dispatchQuicksightEvent };
|
|
1072
|
+
export type { CascadeFilterModel, DatePeriod, DateRangeOutput, ElementResponse, EmbedDashboardCommand, EmbedVisualCommand, EmbedVisualItem, EmbedVisualUrlResponse, EmbedWithoutVisualCommand, QueryParametersModel, QuicksightEmbedOptions, QuicksightEvent, QuicksightEventOutputs, QuicksightVisualConfig, SearchFieldModel, SearchInputModel, SortFieldModel };
|