friday-widgets
Version:
Professional embeddable accounting widgets for vertical SaaS platforms. Layer Financial-inspired design with comprehensive financial reporting capabilities.
47 lines • 1.36 kB
TypeScript
import { BaseWidget } from '../core/base-widget.js';
export declare class JournalWidget extends BaseWidget {
showDemo: boolean;
dateRange: string;
showUnpostedOnly: boolean;
private journalEntries;
private accounts;
private selectedEntry;
private showCreateForm;
private loading;
private error;
private currentPage;
private totalPages;
private searchQuery;
private filterStatus;
static styles: import("lit").CSSResultGroup[];
connectedCallback(): void;
private loadJournalEntries;
private loadAccounts;
private generateDemoJournalEntries;
private generateDemoJournalLines;
private generateDemoAccounts;
private getRandomDescription;
private getRandomCreatedBy;
private formatCurrency;
private formatDate;
private selectEntry;
private closeSidebar;
private openCreateForm;
private downloadCSV;
private postEntry;
private reverseEntry;
private getCreatedByIcon;
render(): import("lit-html").TemplateResult<1>;
private renderHeader;
private renderTable;
private renderPagination;
private renderSidebar;
private renderEntryDetails;
private renderCreateForm;
}
declare global {
interface HTMLElementTagNameMap {
'friday-journal-widget': JournalWidget;
}
}
//# sourceMappingURL=journal-widget.d.ts.map