@schneideress/dashboardframework 20.0.20 → 20.0.22

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
@@ -1063,6 +1063,7 @@ declare class RAWidgetContainer implements OnInit, OnChanges, AfterViewInit, OnD
1063
1063
  inapplicableIconFooter: any;
1064
1064
  isCustomElement: any;
1065
1065
  showOnlyDropdown: boolean;
1066
+ private trendsReportDownloadRequestSub;
1066
1067
  ctlWidget: ElementRef;
1067
1068
  ctlWidgetModule: ViewContainerRef;
1068
1069
  widgetDropdown: ElementRef;
@@ -1102,9 +1103,15 @@ declare class RAWidgetContainer implements OnInit, OnChanges, AfterViewInit, OnD
1102
1103
  constructor(dashboardService: RaDashboardService, ngxService: NgxUiLoaderService, translateService: RATranslateService, ngZone: NgZone, notifier: NotifierService, renderer: Renderer2, cdr: ChangeDetectorRef, raPermissionService: RAPermissionService, domService: DomService);
1103
1104
  ngOnInit(): void;
1104
1105
  get widgetViewState(): typeof WidgetViewState;
1106
+ /** True when Widget_Config has hideEllipses: true (widget shows inline actions instead of ellipsis menu). */
1107
+ get hideEllipses(): boolean;
1108
+ /** True when the inline Download icon should be shown (hidden when Statistics tab is selected). */
1109
+ get showInlineDownloadIcon(): boolean;
1105
1110
  ngOnChanges(changes: SimpleChanges): void;
1106
1111
  invokeWidgetResizedEvent(): void;
1107
1112
  mouseHover(isHover?: boolean): void;
1113
+ /** Refresh download icon state when user clicks inside widget (e.g. tab change). */
1114
+ onWidgetBodyClick(): void;
1108
1115
  ngAfterViewInit(): void;
1109
1116
  ngOnDestroy(): void;
1110
1117
  /** To Edit current widget configuration*/
@@ -1132,6 +1139,8 @@ declare class RAWidgetContainer implements OnInit, OnChanges, AfterViewInit, OnD
1132
1139
  private setLock;
1133
1140
  setDownloadIcon(): Promise<void>;
1134
1141
  downloadIconClicked(type: string): void;
1142
+ /** Trends Report: open download format modal (persistent Download icon click) */
1143
+ onTrendReportDownloadClick(): Promise<void>;
1135
1144
  private removeMenu;
1136
1145
  private checkVisitLinkVisiblity;
1137
1146
  /**Show dropdown on gear icon click */
@@ -1224,7 +1233,11 @@ declare enum RAEvent {
1224
1233
  /** Event on emission report snapshot selected from list*/
1225
1234
  SnapShotSelected = "SnapShotSelected",
1226
1235
  /** Event to update widget count */
1227
- UpdateWidgetCount = "UpdateWidgetCount"
1236
+ UpdateWidgetCount = "UpdateWidgetCount",
1237
+ /** Trends Report: open download format modal (payload: { widgetInstanceId, isChartDownloadVisible, isGridDownloadVisible }) */
1238
+ TrendsReportDownloadModalOpen = "TrendsReportDownloadModalOpen",
1239
+ /** Trends Report: execute download for widget (payload: { widgetInstanceId, format }) */
1240
+ TrendsReportDownloadRequest = "TrendsReportDownloadRequest"
1228
1241
  }
1229
1242
  declare enum RAEventKey {
1230
1243
  /** on edit widget click */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schneideress/dashboardframework",
3
- "version": "20.0.20",
3
+ "version": "20.0.22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.2.1",
6
6
  "@angular/core": "^20.2.1",