@firestitch/report 18.14.0 → 18.15.0
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/app/reports/components/report-component/report-component.component.d.ts +2 -0
- package/app/reports/data/report.data.d.ts +3 -2
- package/app/reports/interfaces/report-export-format.type.d.ts +1 -0
- package/app/reports/views/report/fs-ai-report.component.d.ts +2 -1
- package/app/reports/views/report/report.component.d.ts +2 -1
- package/esm2022/app/reports/components/report-component/report-component.component.mjs +12 -4
- package/esm2022/app/reports/data/report.data.mjs +11 -7
- package/esm2022/app/reports/interfaces/report-export-format.type.mjs +2 -0
- package/esm2022/app/reports/views/report/fs-ai-report.component.mjs +6 -6
- package/esm2022/app/reports/views/report/report.component.mjs +6 -6
- package/esm2022/public_api.mjs +2 -1
- package/fesm2022/{firestitch-report-echarts-DMflI6jp.mjs → firestitch-report-echarts-DY_CfeEH.mjs} +2 -2
- package/fesm2022/{firestitch-report-echarts-DMflI6jp.mjs.map → firestitch-report-echarts-DY_CfeEH.mjs.map} +1 -1
- package/fesm2022/{firestitch-report-firestitch-report-C94rjx24.mjs → firestitch-report-firestitch-report-YDtFbTwA.mjs} +37 -25
- package/fesm2022/firestitch-report-firestitch-report-YDtFbTwA.mjs.map +1 -0
- package/fesm2022/firestitch-report.mjs +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/fesm2022/firestitch-report-firestitch-report-C94rjx24.mjs.map +0 -1
|
@@ -86,6 +86,8 @@ export declare class ReportComponentComponent implements OnInit, OnChanges {
|
|
|
86
86
|
chooseColumns(): void;
|
|
87
87
|
applySettings(settings: ComponentSettings): void;
|
|
88
88
|
exportCsv(): void;
|
|
89
|
+
exportExcel(): void;
|
|
90
|
+
private _export;
|
|
89
91
|
onMarkClick(click: ReportMarkClick): void;
|
|
90
92
|
onMarkMiss(): void;
|
|
91
93
|
runMarkAction(action: ReportMarkAction): void;
|
|
@@ -8,6 +8,7 @@ import { ReportFilterOptions } from '../interfaces/report-filter-options.interfa
|
|
|
8
8
|
import { ReportSavedFilterChanges } from '../interfaces/report-saved-filter-changes.interface';
|
|
9
9
|
import { ReportSavedFilter } from '../interfaces/report-saved-filter.interface';
|
|
10
10
|
import { ChartGranularity, ComponentDataState, ComponentExportResponse, ReportComponentSql, ReportLocales, ReportPageValue, ReportTree, ResolvedFilterValue } from '../interfaces/report.interface';
|
|
11
|
+
import { ReportExportFormat } from '../interfaces/report-export-format.type';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class ReportData<T = any> {
|
|
13
14
|
private _api;
|
|
@@ -57,8 +58,8 @@ export declare class ReportData<T = any> {
|
|
|
57
58
|
componentData(reportId: number, componentId: number, filters?: ResolvedFilterValue[], state?: ComponentDataState, isExport?: boolean, config?: RequestConfig): Observable<T>;
|
|
58
59
|
componentGrid(reportId: number, componentId: number, filters: ResolvedFilterValue[], state: ComponentDataState, grid: GridRequest, isExport?: boolean, config?: RequestConfig): Observable<StreamEvent>;
|
|
59
60
|
pageValues(reportId: number, pageId: number, filters?: ResolvedFilterValue[], isExport?: boolean, config?: RequestConfig, matchAnyGroupIds?: number[]): Observable<ReportPageValue[]>;
|
|
60
|
-
exportComponent(reportId: number, componentId: number, filters?: ResolvedFilterValue[], state?: ComponentDataState, title?: string, config?: RequestConfig): Observable<ComponentExportResponse>;
|
|
61
|
-
exportReport(reportId: number, filters?: ResolvedFilterValue[], pageId?: number | null, frequency?: ChartGranularity | null, filterLines?: ReportExportLine[], states?: Record<number, ComponentDataState>, titles?: Record<number, string>, config?: RequestConfig): Observable<T>;
|
|
61
|
+
exportComponent(reportId: number, componentId: number, filters?: ResolvedFilterValue[], state?: ComponentDataState, title?: string, config?: RequestConfig, format?: ReportExportFormat): Observable<ComponentExportResponse>;
|
|
62
|
+
exportReport(reportId: number, filters?: ResolvedFilterValue[], pageId?: number | null, frequency?: ChartGranularity | null, filterLines?: ReportExportLine[], states?: Record<number, ComponentDataState>, titles?: Record<number, string>, config?: RequestConfig, format?: ReportExportFormat): Observable<T>;
|
|
62
63
|
filterOptions(reportId: number, filterId: number, config?: RequestConfig): Observable<T>;
|
|
63
64
|
componentSql(reportId: number, componentId: number, config?: RequestConfig): Observable<ReportComponentSql>;
|
|
64
65
|
componentColumns(reportId: number, componentId: number, config?: RequestConfig): Observable<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ReportExportFormat = 'csv' | 'xlsx';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FilterConfig } from '@firestitch/filter';
|
|
2
2
|
import { FsAiChatResponse } from '@firestitch/ai';
|
|
3
3
|
import { Report, ReportComponent as ReportComponentModel } from '../../interfaces/report.interface';
|
|
4
|
+
import { ReportExportFormat } from '../../interfaces/report-export-format.type';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FsAiReportComponent {
|
|
6
7
|
readonly reportId: import("@angular/core").InputSignal<number>;
|
|
@@ -47,7 +48,7 @@ export declare class FsAiReportComponent {
|
|
|
47
48
|
onCanvasReportChanged(): void;
|
|
48
49
|
exportPowerpoint(): void;
|
|
49
50
|
exportPdf(): void;
|
|
50
|
-
exportData(thisPage?: boolean): void;
|
|
51
|
+
exportData(thisPage?: boolean, format?: ReportExportFormat): void;
|
|
51
52
|
onChatResponse(response: FsAiChatResponse): void;
|
|
52
53
|
onResizeStart(event: PointerEvent): void;
|
|
53
54
|
private _chatViewerState;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FilterConfig } from '@firestitch/filter';
|
|
2
2
|
import { FsAiChatResponse } from '@firestitch/ai';
|
|
3
3
|
import { Report, ReportComponent as ReportComponentModel, ReportListItem } from '../../interfaces/report.interface';
|
|
4
|
+
import { ReportExportFormat } from '../../interfaces/report-export-format.type';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ReportComponent {
|
|
6
7
|
readonly selected: import("@angular/core").WritableSignal<ReportListItem>;
|
|
@@ -41,7 +42,7 @@ export declare class ReportComponent {
|
|
|
41
42
|
onCanvasReportChanged(): void;
|
|
42
43
|
exportPowerpoint(): void;
|
|
43
44
|
exportPdf(): void;
|
|
44
|
-
exportData(thisPage?: boolean): void;
|
|
45
|
+
exportData(thisPage?: boolean, format?: ReportExportFormat): void;
|
|
45
46
|
onChatResponse(response: FsAiChatResponse): void;
|
|
46
47
|
onResizeStart(event: PointerEvent): void;
|
|
47
48
|
private _resizeTo;
|