@umituz/web-canvas 1.0.5 → 1.0.7

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.
@@ -1,78 +0,0 @@
1
- import { q as ScreenshotGenerationOptions, r as ScreenshotMetadata, m as DeviceType, S as ScreenshotContent, o as ScreenshotDesign, s as ScreenshotProject } from '../CanvasConfig-pzoE0RHD.js';
2
- import { ScreenshotStudioConfig } from '../domain/config/index.js';
3
- import { PDFExportOptions, ReportData, ExcelExportOptions } from '../domain/index.js';
4
-
5
- /**
6
- * Screenshot Studio Service
7
- * High-level screenshot generation service
8
- */
9
-
10
- declare class ScreenshotStudioService {
11
- private renderer;
12
- private config;
13
- constructor(config?: Partial<ScreenshotStudioConfig>);
14
- /**
15
- * Generate screenshot
16
- */
17
- generateScreenshot(options: ScreenshotGenerationOptions): Promise<ScreenshotMetadata>;
18
- /**
19
- * Generate batch screenshots
20
- */
21
- generateBatchScreenshots(deviceTypes: DeviceType[]): Promise<ScreenshotMetadata[]>;
22
- /**
23
- * Generate designed screenshot
24
- */
25
- generateDesignedScreenshot(content: ScreenshotContent, design: ScreenshotDesign): Promise<ScreenshotMetadata>;
26
- /**
27
- * Export project as ZIP
28
- */
29
- exportProjectAsZip(project: ScreenshotProject): Promise<Blob>;
30
- /**
31
- * Create project
32
- */
33
- createProject(name: string): ScreenshotProject;
34
- /**
35
- * Get default design
36
- */
37
- private getDefaultDesign;
38
- /**
39
- * Get default screen
40
- */
41
- private getDefaultScreen;
42
- /**
43
- * Generate unique ID - optimized version
44
- */
45
- private generateId;
46
- }
47
-
48
- /**
49
- * Report Service
50
- * PDF export and report generation service
51
- */
52
-
53
- declare class ReportService {
54
- private static instance;
55
- static getInstance(): ReportService;
56
- /**
57
- * Export DOM element to PDF
58
- */
59
- exportToPDF(elementId: string, options?: PDFExportOptions): Promise<void>;
60
- /**
61
- * Export canvas to PDF
62
- */
63
- exportCanvasToPDF(canvas: HTMLCanvasElement, options?: PDFExportOptions): Promise<void>;
64
- /**
65
- * Export data to Excel
66
- */
67
- exportToExcel(data: ReportData, options?: ExcelExportOptions): Promise<void>;
68
- /**
69
- * Export data to CSV
70
- */
71
- exportToCSV(data: ReportData, filename?: string, delimiter?: ',' | ';'): void;
72
- /**
73
- * Export multiple elements to PDF
74
- */
75
- exportMultipleToPDF(elementIds: string[], options?: PDFExportOptions): Promise<void>;
76
- }
77
-
78
- export { ReportService, ScreenshotStudioService };