bpmn-js-markdown-documentation-panel
Version:
A comprehensive documentation management plugin for Camunda Modeler with markdown support, element linking, and coverage tracking
55 lines • 1.39 kB
TypeScript
import type { IExportManager } from "../types/interfaces";
export declare class ExportManager implements IExportManager {
private _elementRegistry;
private _moddle;
private _canvas;
constructor(elementRegistry: any, moddle: any, canvas: any);
setupExportEventListeners(): void;
handleExport(): void;
/**
* Export documentation in HTML format
*/
exportDocumentation(): Promise<void>;
/**
* Get BPMN diagram as SVG
*/
private _getDiagramSVG;
/**
* Get all elements with their documentation status
*/
private _getAllElementsWithDocumentation;
/**
* Get documentation for a specific element
*/
private _getElementDocumentation;
/**
* Get element type name for display
*/
private _getElementTypeName;
/**
* Generate HTML export content
*/
private _generateHTMLExport;
/**
* Generate CSS styles for the HTML export
*/
private _generateStyles;
/**
* Escape HTML special characters
*/
private _escapeHtml;
/**
* Get process information from BPMN diagram
*/
private _getProcessInfo;
/**
* Download file to user's system
*/
private _downloadFile;
/**
* Show notification to user
*/
private _showNotification;
destroy(): void;
}
//# sourceMappingURL=ExportManager.d.ts.map