UNPKG

@aslaluroba/help-center

Version:

A powerful and customizable help center widget for Angular applications with real-time chat functionality, AI assistance, and multi-language support.

60 lines (59 loc) 1.79 kB
import { OnInit, EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; interface Tenant { id: string; name: string; key: string; } interface Assistant { id: string; tenantId: string; tenant: Tenant; name: string; openAIAssistantId: string; greeting: string; closing: string; } interface HelpScreenOption { id: string; helpScreenId: string; parentOptionId: string | null; parentOption: HelpScreenOption | null; nestedOptions: HelpScreenOption[]; assistantId: string; assistant: Assistant; title: string; paragraphs: string[]; files: any[]; chatWithUs: boolean; hasNestedOptions: boolean; order: number; } interface HelpScreenData { id: string; tenantId: string; tenant: Tenant; title: string; description: string; options: HelpScreenOption[]; chatWithUs: boolean; } export declare class HelpScreenDataComponent implements OnInit { helpScreenData: HelpScreenData | null; title: string; handleStartNewChat: EventEmitter<HelpScreenOption>; expandedItemId: string | null; get helpScreenDataList(): { icon: any; title: any; description: any; actionLabel: string; action: () => void; }[]; ngOnInit(): void; toggleExpand(itemId: string): void; handleStartChat(option: HelpScreenOption): void; static ɵfac: i0.ɵɵFactoryDeclaration<HelpScreenDataComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<HelpScreenDataComponent, "app-help-screen-data", never, { "helpScreenData": { "alias": "helpScreenData"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "handleStartNewChat": "handleStartNewChat"; }, never, never, true, never>; } export {};