intelica-library-project 20.0.19 → 20.0.21

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
@@ -543,11 +543,7 @@ interface QuicksightEventOutputs {
543
543
 
544
544
  declare class DashboardQsComponent {
545
545
  private readonly sharedService;
546
- private readonly alertService;
547
- private readonly termPipe;
548
- private readonly GlobalTermService;
549
546
  private readonly route;
550
- private sessionExpiredShown;
551
547
  containers: QueryList<ElementRef>;
552
548
  readonly dashboardIdInput: i0.InputSignal<string | undefined>;
553
549
  readonly parametersInput: i0.InputSignal<Record<string, string[]> | undefined>;
@@ -566,18 +562,14 @@ declare class DashboardQsComponent {
566
562
  constructor();
567
563
  ngAfterViewInit(): void;
568
564
  EmbedDashboard(dashboardId: string, parameters: Record<string, string[]> | undefined): Promise<void>;
569
- private handleSessionExpired;
565
+ ngOnDestroy(): void;
570
566
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardQsComponent, never>;
571
567
  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>;
572
568
  }
573
569
 
574
570
  declare class DashboardQsInteractiveComponent {
575
571
  private readonly sharedService;
576
- private readonly alertService;
577
- private readonly termPipe;
578
- private readonly GlobalTermService;
579
572
  private readonly route;
580
- private sessionExpiredShown;
581
573
  containers: QueryList<ElementRef>;
582
574
  readonly dashboardIdInput: i0.InputSignal<string | undefined>;
583
575
  readonly parametersInput: i0.InputSignal<Record<string, string[]> | undefined>;
@@ -598,7 +590,7 @@ declare class DashboardQsInteractiveComponent {
598
590
  constructor();
599
591
  ngAfterViewInit(): void;
600
592
  firstEmbed(dashboardId: string): Promise<void>;
601
- private handleSessionExpired;
593
+ ngOnDestroy(): void;
602
594
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardQsInteractiveComponent, never>;
603
595
  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>;
604
596
  }
@@ -731,13 +723,25 @@ interface EmbedDashboardCommand {
731
723
  parameters: Record<string, string[]> | undefined;
732
724
  }
733
725
 
726
+ interface EmbedDashboardResponse {
727
+ dashboardId: string;
728
+ expiresInMinutes: number;
729
+ embedUrl: string;
730
+ }
731
+
734
732
  declare class Shared {
735
733
  private readonly http;
736
734
  private readonly configService;
735
+ private readonly alertService;
736
+ private readonly termPipe;
737
+ private readonly globalTermService;
737
738
  private readonly path;
738
- getEmbedUrl(command: EmbedDashboardCommand): rxjs.Observable<string>;
739
+ private sessionTimer?;
740
+ private scheduleSessionExpiry;
741
+ clearSessionTimer(): void;
742
+ handleSessionExpired(): Promise<void>;
743
+ getEmbedUrl(command: EmbedDashboardCommand): rxjs.Observable<EmbedDashboardResponse>;
739
744
  getEmbedVisualUrl(command: EmbedVisualCommand): rxjs.Observable<EmbedVisualUrlResponse>;
740
- getEmbedVisualUrlsAnonymous(command: EmbedVisualCommand): rxjs.Observable<EmbedVisualUrlResponse>;
741
745
  createEmbedContext(embedUrl: string, container: HTMLElement, options?: QuicksightEmbedOptions): Promise<void>;
742
746
  embedDashboard(command: EmbedDashboardCommand, container: HTMLElement, options?: QuicksightEmbedOptions): Promise<void>;
743
747
  embedDashboardInteractive(command: EmbedDashboardCommand, container: HTMLElement, options?: QuicksightEmbedOptions): Promise<DashboardExperience>;
@@ -1000,8 +1004,7 @@ declare enum SearchInputEnum {
1000
1004
 
1001
1005
  declare function darkenColor(input: string, amount?: number): string;
1002
1006
 
1003
- declare function isQuicksightSessionExpiredEvent(event: QuicksightEvent): boolean;
1004
1007
  declare function dispatchQuicksightEvent(event: QuicksightEvent, outputs: QuicksightEventOutputs): void;
1005
1008
 
1006
- 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, isQuicksightSessionExpiredEvent };
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 };
1007
1010
  export type { CascadeFilterModel, ElementResponse, EmbedDashboardCommand, EmbedVisualCommand, EmbedVisualItem, EmbedVisualUrlResponse, EmbedWithoutVisualCommand, QueryParametersModel, QuicksightEmbedOptions, QuicksightEvent, QuicksightEventOutputs, QuicksightVisualConfig, SearchFieldModel, SearchInputModel, SortFieldModel };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelica-library-project",
3
- "version": "20.0.19",
3
+ "version": "20.0.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0",