intelica-library-components 1.1.176 → 1.1.178

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
@@ -9,10 +9,10 @@ import { DatePipe, Location } from '@angular/common';
9
9
  import * as echarts from 'echarts';
10
10
  import { EChartsOption, LabelFormatterCallback, DefaultLabelFormatterCallbackParams, TooltipComponentFormatterCallback, TooltipComponentFormatterCallbackParams } from 'echarts';
11
11
  import { MenuItem } from 'primeng/api';
12
+ import { DashboardExperience, VisualExperience } from 'amazon-quicksight-embedding-sdk';
12
13
  import { Observable as Observable$1 } from 'rxjs/internal/Observable';
13
14
  import { SweetAlertOptions, SweetAlertResult } from 'sweetalert2';
14
15
  import { Guid } from 'guid-typescript';
15
- import { DashboardExperience, VisualExperience } from 'amazon-quicksight-embedding-sdk';
16
16
 
17
17
  declare class TermPipe implements PipeTransform {
18
18
  private readonly globalTermService;
@@ -1822,6 +1822,98 @@ declare class TitleComponent {
1822
1822
  static ɵcmp: i0.ɵɵComponentDeclaration<TitleComponent, "intelica-title", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "back": "back"; }, never, never, true, never>;
1823
1823
  }
1824
1824
 
1825
+ interface EmbedVisualCommand {
1826
+ dashboardId: string;
1827
+ sheetId: string;
1828
+ visualId: string;
1829
+ parameters: Record<string, string[]>;
1830
+ }
1831
+ interface EmbedWithoutVisualCommand {
1832
+ dashboardId: string;
1833
+ sheetId: string;
1834
+ parameters: Record<string, string[]>;
1835
+ }
1836
+
1837
+ interface EmbedVisualItem {
1838
+ visualId: string;
1839
+ embedUrl: string;
1840
+ }
1841
+
1842
+ interface EmbedVisualUrlResponse {
1843
+ dashboardId: string;
1844
+ expiresInMinutes: number;
1845
+ visual: EmbedVisualItem;
1846
+ }
1847
+
1848
+ interface EmbedDashboardCommand {
1849
+ dashboardId: string;
1850
+ parameters: Record<string, string[]> | undefined;
1851
+ }
1852
+
1853
+ interface QuicksightVisualConfig {
1854
+ visualId: string;
1855
+ container: ElementRef;
1856
+ }
1857
+ interface QuicksightEvent {
1858
+ eventName: string;
1859
+ eventLevel?: string;
1860
+ message?: string;
1861
+ data?: any;
1862
+ }
1863
+ declare const QuicksightEventName: {
1864
+ readonly ERROR_OCCURRED: "ERROR_OCCURRED";
1865
+ readonly CONTENT_LOADED: "CONTENT_LOADED";
1866
+ readonly PARAMETERS_CHANGED: "PARAMETERS_CHANGED";
1867
+ readonly SIZE_CHANGED: "SIZE_CHANGED";
1868
+ readonly SELECTED_SHEET_CHANGED: "SELECTED_SHEET_CHANGED";
1869
+ readonly MODAL_OPENED: "MODAL_OPENED";
1870
+ readonly EXPERIENCE_INITIALIZED: "EXPERIENCE_INITIALIZED";
1871
+ };
1872
+ declare function isQuicksightSessionExpiredEvent(event: QuicksightEvent): boolean;
1873
+ type QuicksightEmbedOptions = {
1874
+ height?: string;
1875
+ width?: string;
1876
+ onChange?: (event: QuicksightEvent) => void;
1877
+ };
1878
+ interface QuicksightEventOutputs {
1879
+ sdkEvent: {
1880
+ emit: (event: QuicksightEvent) => void;
1881
+ };
1882
+ contentLoaded?: {
1883
+ emit: (event: QuicksightEvent) => void;
1884
+ };
1885
+ errorOccurred?: {
1886
+ emit: (event: QuicksightEvent) => void;
1887
+ };
1888
+ sessionExpired?: {
1889
+ emit: (event: QuicksightEvent) => void;
1890
+ };
1891
+ }
1892
+ declare function dispatchQuicksightEvent(event: QuicksightEvent, outputs: QuicksightEventOutputs): void;
1893
+ declare class Shared {
1894
+ private readonly http;
1895
+ private readonly configService;
1896
+ private readonly path;
1897
+ getEmbedUrl(command: EmbedDashboardCommand): rxjs.Observable<string>;
1898
+ getEmbedVisualUrl(command: EmbedVisualCommand): rxjs.Observable<EmbedVisualUrlResponse>;
1899
+ getEmbedVisualUrlsAnonymous(command: EmbedVisualCommand): rxjs.Observable<EmbedVisualUrlResponse>;
1900
+ createEmbedContext(embedUrl: string, container: HTMLElement, options?: QuicksightEmbedOptions): Promise<void>;
1901
+ embedDashboard(command: EmbedDashboardCommand, container: HTMLElement, options?: QuicksightEmbedOptions): Promise<void>;
1902
+ embedDashboardInteractive(command: EmbedDashboardCommand, container: HTMLElement, options?: QuicksightEmbedOptions): Promise<DashboardExperience>;
1903
+ private toSdkChangeListener;
1904
+ setDashboardParameters(dashboard: DashboardExperience, parameters: Record<string, string[]>): Promise<void>;
1905
+ createEmbedVisualContext(embedUrl: string, container: HTMLElement, options?: {
1906
+ height?: string;
1907
+ width?: string;
1908
+ }): Promise<void>;
1909
+ embedSequentialVisuals(command: EmbedWithoutVisualCommand, configs: QuicksightVisualConfig[], onVisualLoaded?: (visualId: string) => void): Promise<void>;
1910
+ embedSequentialVisualsInteractive(command: EmbedWithoutVisualCommand, configs: QuicksightVisualConfig[], onVisualLoaded?: (visualId: string, ref: VisualExperience) => void): Promise<Map<string, VisualExperience>>;
1911
+ setVisualParameters(visual: VisualExperience, parameters: Record<string, string[]>): Promise<void>;
1912
+ setVisualsParameters(visuals: Iterable<VisualExperience>, parameters: Record<string, string[]>): Promise<void>;
1913
+ static ɵfac: i0.ɵɵFactoryDeclaration<Shared, never>;
1914
+ static ɵprov: i0.ɵɵInjectableDeclaration<Shared>;
1915
+ }
1916
+
1825
1917
  declare class DashboardQsComponent {
1826
1918
  private readonly sharedService;
1827
1919
  private readonly route;
@@ -1835,12 +1927,16 @@ declare class DashboardQsComponent {
1835
1927
  readonly height: i0.Signal<string | undefined>;
1836
1928
  readonly isLoading: i0.WritableSignal<boolean>;
1837
1929
  readonly isLoadingChange: i0.OutputEmitterRef<boolean>;
1930
+ readonly sdkEvent: i0.OutputEmitterRef<QuicksightEvent>;
1931
+ readonly contentLoaded: i0.OutputEmitterRef<QuicksightEvent>;
1932
+ readonly errorOccurred: i0.OutputEmitterRef<QuicksightEvent>;
1933
+ readonly sessionExpired: i0.OutputEmitterRef<QuicksightEvent>;
1838
1934
  private readonly viewReady;
1839
1935
  constructor();
1840
1936
  ngAfterViewInit(): void;
1841
1937
  EmbedDashboard(dashboardId: string, parameters: Record<string, string[]> | undefined): Promise<void>;
1842
1938
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardQsComponent, never>;
1843
- static ɵcmp: i0.ɵɵComponentDeclaration<DashboardQsComponent, "intelica-dashboard-qs", never, { "dashboardIdInput": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "parametersInput": { "alias": "parameters"; "required": false; "isSignal": true; }; "heightInput": { "alias": "height"; "required": false; "isSignal": true; }; }, { "isLoadingChange": "isLoadingChange"; }, never, never, true, never>;
1939
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardQsComponent, "intelica-dashboard-qs", never, { "dashboardIdInput": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "parametersInput": { "alias": "parameters"; "required": false; "isSignal": true; }; "heightInput": { "alias": "height"; "required": false; "isSignal": true; }; }, { "isLoadingChange": "isLoadingChange"; "sdkEvent": "sdkEvent"; "contentLoaded": "contentLoaded"; "errorOccurred": "errorOccurred"; "sessionExpired": "sessionExpired"; }, never, never, true, never>;
1844
1940
  }
1845
1941
 
1846
1942
  declare class DashboardQsInteractiveComponent {
@@ -1856,6 +1952,10 @@ declare class DashboardQsInteractiveComponent {
1856
1952
  readonly height: i0.Signal<string | undefined>;
1857
1953
  readonly isLoading: i0.WritableSignal<boolean>;
1858
1954
  readonly isLoadingChange: i0.OutputEmitterRef<boolean>;
1955
+ readonly sdkEvent: i0.OutputEmitterRef<QuicksightEvent>;
1956
+ readonly contentLoaded: i0.OutputEmitterRef<QuicksightEvent>;
1957
+ readonly errorOccurred: i0.OutputEmitterRef<QuicksightEvent>;
1958
+ readonly sessionExpired: i0.OutputEmitterRef<QuicksightEvent>;
1859
1959
  private readonly viewReady;
1860
1960
  private dashboardRef;
1861
1961
  private lastEmbeddedId;
@@ -1863,7 +1963,7 @@ declare class DashboardQsInteractiveComponent {
1863
1963
  ngAfterViewInit(): void;
1864
1964
  firstEmbed(dashboardId: string): Promise<void>;
1865
1965
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardQsInteractiveComponent, never>;
1866
- static ɵcmp: i0.ɵɵComponentDeclaration<DashboardQsInteractiveComponent, "intelica-dashboard-qs-interactive", never, { "dashboardIdInput": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "parametersInput": { "alias": "parameters"; "required": false; "isSignal": true; }; "heightInput": { "alias": "height"; "required": false; "isSignal": true; }; }, { "isLoadingChange": "isLoadingChange"; }, never, never, true, never>;
1966
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardQsInteractiveComponent, "intelica-dashboard-qs-interactive", never, { "dashboardIdInput": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "parametersInput": { "alias": "parameters"; "required": false; "isSignal": true; }; "heightInput": { "alias": "height"; "required": false; "isSignal": true; }; }, { "isLoadingChange": "isLoadingChange"; "sdkEvent": "sdkEvent"; "contentLoaded": "contentLoaded"; "errorOccurred": "errorOccurred"; "sessionExpired": "sessionExpired"; }, never, never, true, never>;
1867
1967
  }
1868
1968
 
1869
1969
  declare class CheckboxFilterDirective extends FilterDirective implements OnChanges, ControlValueAccessor {
@@ -2725,70 +2825,6 @@ declare class GoogleTaskManagerService {
2725
2825
  static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTaskManagerService>;
2726
2826
  }
2727
2827
 
2728
- interface EmbedVisualCommand {
2729
- dashboardId: string;
2730
- sheetId: string;
2731
- visualId: string;
2732
- parameters: Record<string, string[]>;
2733
- }
2734
- interface EmbedWithoutVisualCommand {
2735
- dashboardId: string;
2736
- sheetId: string;
2737
- parameters: Record<string, string[]>;
2738
- }
2739
-
2740
- interface EmbedVisualItem {
2741
- visualId: string;
2742
- embedUrl: string;
2743
- }
2744
-
2745
- interface EmbedVisualUrlResponse {
2746
- dashboardId: string;
2747
- expiresInMinutes: number;
2748
- visual: EmbedVisualItem;
2749
- }
2750
-
2751
- interface EmbedDashboardCommand {
2752
- dashboardId: string;
2753
- parameters: Record<string, string[]> | undefined;
2754
- }
2755
-
2756
- interface QuicksightVisualConfig {
2757
- visualId: string;
2758
- container: ElementRef;
2759
- }
2760
- declare class Shared {
2761
- private readonly http;
2762
- private readonly configService;
2763
- private readonly path;
2764
- getEmbedUrl(command: EmbedDashboardCommand): rxjs.Observable<string>;
2765
- getEmbedVisualUrl(command: EmbedVisualCommand): rxjs.Observable<EmbedVisualUrlResponse>;
2766
- getEmbedVisualUrlsAnonymous(command: EmbedVisualCommand): rxjs.Observable<EmbedVisualUrlResponse>;
2767
- createEmbedContext(embedUrl: string, container: HTMLElement, options?: {
2768
- height?: string;
2769
- width?: string;
2770
- }): Promise<void>;
2771
- embedDashboard(command: EmbedDashboardCommand, container: HTMLElement, options?: {
2772
- height?: string;
2773
- width?: string;
2774
- }): Promise<void>;
2775
- embedDashboardInteractive(command: EmbedDashboardCommand, container: HTMLElement, options?: {
2776
- height?: string;
2777
- width?: string;
2778
- }): Promise<DashboardExperience>;
2779
- setDashboardParameters(dashboard: DashboardExperience, parameters: Record<string, string[]>): Promise<void>;
2780
- createEmbedVisualContext(embedUrl: string, container: HTMLElement, options?: {
2781
- height?: string;
2782
- width?: string;
2783
- }): Promise<void>;
2784
- embedSequentialVisuals(command: EmbedWithoutVisualCommand, configs: QuicksightVisualConfig[], onVisualLoaded?: (visualId: string) => void): Promise<void>;
2785
- embedSequentialVisualsInteractive(command: EmbedWithoutVisualCommand, configs: QuicksightVisualConfig[], onVisualLoaded?: (visualId: string, ref: VisualExperience) => void): Promise<Map<string, VisualExperience>>;
2786
- setVisualParameters(visual: VisualExperience, parameters: Record<string, string[]>): Promise<void>;
2787
- setVisualsParameters(visuals: Iterable<VisualExperience>, parameters: Record<string, string[]>): Promise<void>;
2788
- static ɵfac: i0.ɵɵFactoryDeclaration<Shared, never>;
2789
- static ɵprov: i0.ɵɵInjectableDeclaration<Shared>;
2790
- }
2791
-
2792
2828
  declare class CloseSessionService {
2793
2829
  private readonly configService;
2794
2830
  private readonly httpClient;
@@ -3344,5 +3380,5 @@ declare class NotificationOrchestratorService {
3344
3380
  static ɵprov: i0.ɵɵInjectableDeclaration<NotificationOrchestratorService>;
3345
3381
  }
3346
3382
 
3347
- export { ALERT_DEFAULTS, ALERT_ICON_OVERRIDES, ALERT_ICON_PATHS, ALERT_TYPE_CONFIG, ActionDirective, ActionsMenuComponent, AddFavoritesComponent, AlertButtonMode, AlertService, AlertType, BreadCrumbComponent, ButtonSplitComponent, CheckboxFilterDirective, ClientContextSelector, CloseSessionService, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DATEPICKER_BUTTON_TYPES, DashboardQsComponent, DashboardQsInteractiveComponent, DataDirective, DateFilterDirective, DateModeOptions, DatepickerComponent, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFavoriteService, GlobalFeatureFlagService, GlobalMenuService, GlobalTermService, GoogleTaskManagerService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaAlertComponent, IntelicaCellCheckboxDirective, IntelicaSessionService, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, NotificationJobService, NotificationOrchestratorService, NotificationService, NotificationSignalRService, OrderConstants, PageInformation, PageRootChildGuard, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RequestCacheService, ResponseHeadersInterceptor, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SetsesioninformationComponent, Shared, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TableSortOrder, TemplateDirective, TemplateMenuComponent, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TitleComponent, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, encryptData, getColor };
3348
- export type { ActionTypeCatalog, AlertButtonConfig, AlertConfig, AlertResult, AlertStyleConfig, AlertTypeConfig, AuthenticationData, AuthenticationResponse, BucketCatalog, BusinessUserPagesAuthFormated, CallbackExecutionResult, CascadeFilterModel, ChannelCatalog, ColorName, ContextSelectorClientDto, ContextSelectorCountryDto, ContextSelectorRegionDto, ContextSelectorSelectionDto, CookieAttributes, CreateNotificationJobRequest, CreateNotificationsForJobRequest, CustomButtonType, DateMode, DestinationTypeCatalog, ExportExcelCommand, FilterModel, HtmlPreviewBucket, ICell, IExcelColumnName, IExcelHeaderGroup, IFilter, ItlSessionEnvelope, ItlSessionScope, JobState, JobStatusCatalog, MethodTypeCatalog, NotificationByJobItemResponse, NotificationDraft, NotificationJobProgressResponse, NotificationJobResponse, NotificationRecipientSummaryResponse, NotificationResponse, NotificationTypeCatalog, OriginCatalog, PopoverInformationModel, PriorityCatalog, ProductEventDetail, PropertiesModel, QueryParametersModel, QuicksightVisualConfig, RecipientDispatchError, RecipientNotification, RecipientNotificationAction, RecipientProgressNotification, RecipientProgressNotificationAction, RecipientTypeCatalog, SearchFieldModel, SearchInputModel, SortFieldModel, UserNotificationAction, UserNotificationInboxItem };
3383
+ export { ALERT_DEFAULTS, ALERT_ICON_OVERRIDES, ALERT_ICON_PATHS, ALERT_TYPE_CONFIG, ActionDirective, ActionsMenuComponent, AddFavoritesComponent, AlertButtonMode, AlertService, AlertType, BreadCrumbComponent, ButtonSplitComponent, CheckboxFilterDirective, ClientContextSelector, CloseSessionService, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DATEPICKER_BUTTON_TYPES, DashboardQsComponent, DashboardQsInteractiveComponent, DataDirective, DateFilterDirective, DateModeOptions, DatepickerComponent, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFavoriteService, GlobalFeatureFlagService, GlobalMenuService, GlobalTermService, GoogleTaskManagerService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaAlertComponent, IntelicaCellCheckboxDirective, IntelicaSessionService, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, NotificationJobService, NotificationOrchestratorService, NotificationService, NotificationSignalRService, OrderConstants, PageInformation, PageRootChildGuard, PaginatorComponent, Patterns, PopoverComponent, ProfileService, QuicksightEventName, RecordPerPageComponent, RequestCacheService, ResponseHeadersInterceptor, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SetsesioninformationComponent, Shared, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TableSortOrder, TemplateDirective, TemplateMenuComponent, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TitleComponent, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, dispatchQuicksightEvent, encryptData, getColor, isQuicksightSessionExpiredEvent };
3384
+ export type { ActionTypeCatalog, AlertButtonConfig, AlertConfig, AlertResult, AlertStyleConfig, AlertTypeConfig, AuthenticationData, AuthenticationResponse, BucketCatalog, BusinessUserPagesAuthFormated, CallbackExecutionResult, CascadeFilterModel, ChannelCatalog, ColorName, ContextSelectorClientDto, ContextSelectorCountryDto, ContextSelectorRegionDto, ContextSelectorSelectionDto, CookieAttributes, CreateNotificationJobRequest, CreateNotificationsForJobRequest, CustomButtonType, DateMode, DestinationTypeCatalog, ExportExcelCommand, FilterModel, HtmlPreviewBucket, ICell, IExcelColumnName, IExcelHeaderGroup, IFilter, ItlSessionEnvelope, ItlSessionScope, JobState, JobStatusCatalog, MethodTypeCatalog, NotificationByJobItemResponse, NotificationDraft, NotificationJobProgressResponse, NotificationJobResponse, NotificationRecipientSummaryResponse, NotificationResponse, NotificationTypeCatalog, OriginCatalog, PopoverInformationModel, PriorityCatalog, ProductEventDetail, PropertiesModel, QueryParametersModel, QuicksightEmbedOptions, QuicksightEvent, QuicksightEventOutputs, QuicksightVisualConfig, RecipientDispatchError, RecipientNotification, RecipientNotificationAction, RecipientProgressNotification, RecipientProgressNotificationAction, RecipientTypeCatalog, SearchFieldModel, SearchInputModel, SortFieldModel, UserNotificationAction, UserNotificationInboxItem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelica-library-components",
3
- "version": "1.1.176",
3
+ "version": "1.1.178",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0",