import * as i0 from '@angular/core'; import { OnInit, OnChanges, EventEmitter, SimpleChanges, OnDestroy, ElementRef, AfterContentInit, QueryList, ChangeDetectorRef } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from '@angular/forms'; import { ControlValueAccessor } from '@angular/forms'; import { CommandPaletteItemConfig } from 'mayvio-ui/commandpalette'; import { SidebarLinkConfig } from 'mayvio-ui/sidebar'; import { NotificationItemConfig } from 'mayvio-ui/notificationcenter'; import { CheckboxConfig } from 'mayvio-ui/checkbox'; import { InputConfig } from 'mayvio-ui/input'; import { RadioGroupConfig, RadioOption } from 'mayvio-ui/radiogroup'; import { SelectConfig } from 'mayvio-ui/select'; import { SliderConfig } from 'mayvio-ui/slider'; import { SwitchConfig } from 'mayvio-ui/switch'; import { TextareaConfig } from 'mayvio-ui/textarea'; interface DataGridColumn { key: string; label: string; type: "number" | "string" | "date"; sortable: boolean; } /** * Angular Component Wrapper for Mayvio UI Data Grid. * Usage: `` */ declare class DataGridComponent implements OnInit { initialData: any[]; columns: DataGridColumn[]; searchQuery: string; currentPage: number; pageSize: number; sortCol: string | null; sortDir: "asc" | "desc"; visibleCols: string[]; isColMenuOpen: boolean; filteredData: any[]; paginatedData: any[]; totalPages: number; startRecord: number; endRecord: number; totalRecords: number; pageNumbers: number[]; ngOnInit(): void; onOutsideClick(event: Event): void; toggleColMenu(event: Event): void; isColumnVisible(key: string): boolean; toggleColumnVisibility(key: string): void; getVisibleColumnsCount(): number; getSortAttr(col: DataGridColumn): string; getSortIcon(key: string): string; handleSort(key: string): void; onSearchChange(): void; onPageSizeChange(size: any): void; goToPage(page: number): void; updateGrid(): void; updatePagination(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface DayObj { date: Date; isCurrentMonth: boolean; } declare class DatePickerComponent implements OnInit, OnChanges { value?: Date; disabled: boolean; placeholder: string; minDate?: Date; maxDate?: Date; className: string; dateChange: EventEmitter; isOpen: boolean; viewDate: Date; dayNames: string[]; days: DayObj[]; private el; private cdr; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; get formattedDate(): string; get currentMonthName(): string; get currentYear(): number; generateCalendar(): void; toggleMenu(): void; prevMonth(e: Event): void; nextMonth(e: Event): void; selectDate(d: Date): void; isToday(d: Date): boolean; isSelected(d: Date): boolean; isDisabled(d: Date): boolean; onClickOutside(target: EventTarget | null): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DropdownComponent implements OnDestroy { align: 'left' | 'center' | 'right'; private _isOpen; get isOpen(): boolean; private cdr; toggle(): void; close(): void; onDocumentClick(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DropdownTriggerDirective { dropdown: DropdownComponent; onClick(event: MouseEvent): void; onDocumentClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DropdownMenuComponent { dropdown: DropdownComponent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DropdownItemComponent { disabled: boolean; itemClick: EventEmitter; private dropdown; onItemClick(event: MouseEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FileUploadComponent { multiple: boolean; accept?: string; maxSize?: number; disabled: boolean; label: string; hint: string; className: string; fileChange: EventEmitter; fileInputRef: ElementRef; files: File[]; isDragActive: boolean; private cdr; onDragOver(e: DragEvent): void; onDragLeave(e: DragEvent): void; onDrop(e: DragEvent): void; onFileInputChange(e: Event): void; handleFiles(fileList: FileList): void; removeFile(index: number): void; formatSize(bytes: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ModalComponent { isOpen: boolean; size: 'sm' | 'md' | 'lg' | 'full'; className: string; closeOnOutsideClick: boolean; closeOnEscape: boolean; onClose: EventEmitter; handleEscape(): void; onOverlayClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ModalHeaderComponent { showCloseButton: boolean; className: string; private parentModal; closeModal(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ModalBodyComponent { className: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ModalFooterComponent { className: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ThemeToggleComponent implements OnInit { private cdr; private platformId; className: string; private _theme?; set theme(value: 'light' | 'dark' | undefined); get theme(): 'light' | 'dark' | undefined; themeToggled: EventEmitter; private internalTheme; get isDark(): boolean; ngOnInit(): void; toggleTheme(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SkeletonComponent implements OnChanges { variant: 'text' | 'circle' | 'rect'; animation: 'shimmer' | 'pulse' | 'wave' | 'none'; width?: string | number; height?: string | number; readonly _variant: i0.WritableSignal<"text" | "circle" | "rect">; readonly _animation: i0.WritableSignal<"shimmer" | "pulse" | "wave" | "none">; readonly _width: i0.WritableSignal; readonly _height: i0.WritableSignal; ngOnChanges(): void; readonly hostClass: i0.Signal; private formatSize; readonly hostWidth: i0.Signal; readonly hostHeight: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface ToastItem { id: string; title?: string; message: string; type: 'success' | 'error' | 'warning' | 'info'; duration: number; } declare class ToastService { readonly toasts: i0.WritableSignal; show(message: string, title?: string, type?: ToastItem['type'], duration?: number): string; success(message: string, title?: string, duration?: number): string; error(message: string, title?: string, duration?: number): string; warning(message: string, title?: string, duration?: number): string; info(message: string, title?: string, duration?: number): string; dismiss(id: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ToastComponent { placement: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; readonly service: ToastService; containerClass(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface AccordionItem { id: string; title: string; content: string; disabled?: boolean; } declare class AccordionComponent { private cdr; items: AccordionItem[]; allowMultiple: boolean; className: string; private internalExpandedIds; private _expandedIds?; set expandedIds(val: string[] | undefined); get expandedIds(): string[] | undefined; set defaultExpandedIds(val: string[]); expandedChange: EventEmitter; get currentExpandedIds(): string[]; isExpanded(id: string): boolean; toggleItem(id: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TabComponent { label: string; id: string; disabled: boolean; active: boolean; cdr: ChangeDetectorRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TabsComponent implements AfterContentInit, OnDestroy { activeId?: string; hostClass: string; activeIdChange: EventEmitter; tabs: QueryList; private destroy$; private cdr; ngAfterContentInit(): void; ngOnDestroy(): void; ngOnChanges(): void; selectTab(tab: TabComponent): void; private updateActiveTab; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TooltipDirective implements OnInit, OnDestroy { content: string; placement: 'top' | 'bottom' | 'left' | 'right'; delay: number; private tooltipEl; private id; private timer; private el; private renderer; constructor(); ngOnInit(): void; ngOnDestroy(): void; private createTooltip; show(): void; hide(): void; private setVisible; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class BadgeComponent { variant: 'success' | 'error' | 'warning' | 'info'; size: 'sm' | 'md' | 'lg'; dot: boolean; outline: boolean; get classes(): { [x: string]: boolean; 'mv-badge': boolean; 'mv-badge--dot': boolean; 'mv-badge--outline': boolean; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AlertComponent { variant: 'success' | 'error' | 'warning' | 'info'; title: string; dismissible: boolean; dismissed: EventEmitter; readonly visible: i0.WritableSignal; readonly dismissing: i0.WritableSignal; readonly hostClass: i0.Signal; readonly icon: i0.Signal; dismiss(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AvatarComponent implements OnChanges { src: string; alt: string; initials: string; size: 'sm' | 'md' | 'lg' | 'xl'; shape: 'circle' | 'square'; status: 'online' | 'offline' | 'busy' | ''; readonly _src: i0.WritableSignal; readonly _alt: i0.WritableSignal; readonly _initials: i0.WritableSignal; readonly _size: i0.WritableSignal<"sm" | "md" | "lg" | "xl">; readonly _shape: i0.WritableSignal<"circle" | "square">; readonly _status: i0.WritableSignal<"" | "online" | "offline" | "busy">; ngOnChanges(): void; readonly hostClass: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AvatarGroupComponent { size: 'sm' | 'md' | 'lg'; limit?: number; readonly hostClass: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProgressBarComponent implements OnChanges { value: number; max: number; size: 'sm' | 'md' | 'lg'; indeterminate: boolean; readonly _value: i0.WritableSignal; readonly _max: i0.WritableSignal; readonly _size: i0.WritableSignal<"sm" | "md" | "lg">; readonly _indeterminate: i0.WritableSignal; ngOnChanges(): void; readonly hostClass: i0.Signal; readonly percentage: i0.Signal; readonly fillWidth: i0.Signal; readonly ariaValueNow: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CommandPaletteComponent implements OnInit, OnChanges { isOpen: boolean; commands: CommandPaletteItemConfig[]; placeholder: string; emptyText: string; className: string; close: EventEmitter; commandSelect: EventEmitter; search: string; selectedIndex: number; filteredCommands: CommandPaletteItemConfig[]; groupedCommands: Record; groups: string[]; flattenedList: CommandPaletteItemConfig[]; private cdr; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; onGlobalKeyDown(e: KeyboardEvent): void; closePalette(): void; onSearchChange(val: string): void; updateLists(): void; onKeyDown(e: KeyboardEvent): void; onMouseEnter(cmd: CommandPaletteItemConfig): void; isSelected(cmd: CommandPaletteItemConfig): boolean; selectCommand(cmd: CommandPaletteItemConfig): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SidebarComponent { title: string; links: SidebarLinkConfig[]; collapsed: boolean; mobileOpen: boolean; className: string; linkSelect: EventEmitter; toggleCollapseEvent: EventEmitter; mobileCloseEvent: EventEmitter; toggleCollapse(): void; closeMobile(): void; onLinkClick(e: Event, link: SidebarLinkConfig): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NotificationCenterComponent { title: string; notifications: NotificationItemConfig[]; markAllText: string; emptyText: string; className: string; markAllAsRead: EventEmitter; isOpen: boolean; private el; private cdr; get unreadCount(): number; toggleOpen(): void; onClickOutside(target: EventTarget | null): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface BreadcrumbItem { label: string; href?: string; active?: boolean; } declare class BreadcrumbComponent { items: BreadcrumbItem[]; separator: string; readonly _items: i0.WritableSignal; readonly _separator: i0.WritableSignal; ngOnChanges(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * CodeSnippetComponent * Angular wrapper component representing the Code Snippet viewer and clipboard actions. */ declare class CodeSnippetComponent implements OnInit, OnChanges { snippets: Record; availableTabs: string[]; activeTab: string; copied: boolean; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private updateTabs; copyCode(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ButtonComponent implements OnChanges { variant: 'primary' | 'secondary' | 'outline' | 'text'; size: 'sm' | 'md' | 'lg'; color: 'primary' | 'success' | 'error' | 'warning'; shape: 'rectangle' | 'square' | 'round'; disabled: boolean; readonly _variant: i0.WritableSignal<"text" | "primary" | "secondary" | "outline">; readonly _size: i0.WritableSignal<"sm" | "md" | "lg">; readonly _color: i0.WritableSignal<"success" | "error" | "warning" | "primary">; readonly _shape: i0.WritableSignal<"square" | "rectangle" | "round">; readonly _disabled: i0.WritableSignal; ngOnChanges(): void; readonly hostClass: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * KpiCardComponent * Angular wrapper component representing the Mayvio UI KPI Card. */ declare class KpiCardComponent implements OnInit { private el; title: string; value: number; icon: string; trend: string; trendDirection: "up" | "down"; footer: string; duration: number; decimals: number; prefix: string; suffix: string; className: string; constructor(el: ElementRef); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * ChartComponent * Angular wrapper component representing the SVG-based charts. */ declare class ChartComponent implements OnInit, OnChanges { private el; type: string; data: any; options: any; title: string; className: string; constructor(el: ElementRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private createChart; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * DashboardWidgetComponent * Individual card panel inside the grid. */ declare class DashboardWidgetComponent { id: string; title: string; collapsed: boolean; dismissible: boolean; visible: boolean; toggleCollapse(e: MouseEvent): void; close(e: MouseEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * DashboardWidgetGridComponent * Parent container triggering Drag & Drop orchestration. */ declare class DashboardWidgetGridComponent implements OnInit { private el; storageKey: string; className: string; constructor(el: ElementRef); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * ActivityTimelineItemComponent * Individual card inside the timeline tree flow. */ declare class ActivityTimelineItemComponent { status: "primary" | "success" | "warning" | "error" | "info"; time: string; title: string; hasDesc: boolean; className: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * ActivityTimelineComponent * Container representing the vertical status event connector thread. */ declare class ActivityTimelineComponent { className: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface MultiSelectOption { value: string | number; label: string; disabled?: boolean; } declare class MultiSelectComponent { options: MultiSelectOption[]; value: (string | number)[]; disabled: boolean; searchable: boolean; placeholder: string; emptyText: string; className: string; selectionChange: EventEmitter<(string | number)[]>; isOpen: boolean; searchQuery: string; private el; private cdr; get selectedOptions(): MultiSelectOption[]; get filteredOptions(): MultiSelectOption[]; isSelected(val: string | number): boolean; toggleMenu(): void; toggleOption(val: string | number): void; onOptionClick(event: Event, opt: MultiSelectOption): void; removeTag(event: Event, val: string | number): void; onSearch(event: Event): void; onClickOutside(target: EventTarget | null): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class InputComponent implements ControlValueAccessor, InputConfig { type: string; size: 'sm' | 'md' | 'lg'; error: boolean; disabled: boolean; placeholder: string; className: string; value: string; onChange: (val: string) => void; onTouched: () => void; onInput(event: Event): void; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TextareaComponent implements ControlValueAccessor, TextareaConfig { error: boolean; disabled: boolean; autoResize: boolean; placeholder: string; className: string; textareaRef: ElementRef; value: string; onChange: (val: string) => void; onTouched: () => void; onInput(event: Event): void; handleAutoResize(): void; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CheckboxComponent implements ControlValueAccessor, CheckboxConfig, OnChanges { label?: string; error: boolean; disabled: boolean; indeterminate: boolean; checked: boolean; className: string; inputRef: ElementRef; onChange: (val: boolean) => void; onTouched: () => void; ngOnChanges(changes: SimpleChanges): void; onChangeEvent(event: Event): void; writeValue(value: boolean): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SwitchComponent implements ControlValueAccessor, SwitchConfig { label?: string; disabled: boolean; checked: boolean; className: string; onChange: (val: boolean) => void; onTouched: () => void; onChangeEvent(event: Event): void; writeValue(value: boolean): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RadioGroupComponent implements ControlValueAccessor, RadioGroupConfig { orientation: 'vertical' | 'horizontal'; name: string; error: boolean; disabled: boolean; options: RadioOption[]; className: string; value?: string; onChange: (val: string) => void; onTouched: () => void; onChangeEvent(val: string): void; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface SelectOption { label: string; value: string; disabled?: boolean; } declare class SelectComponent implements ControlValueAccessor, SelectConfig { size: 'sm' | 'md' | 'lg'; error: boolean; disabled: boolean; options: SelectOption[]; className: string; value?: string; onChange: (val: string) => void; onTouched: () => void; onChangeEvent(event: Event): void; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SliderComponent implements ControlValueAccessor, SliderConfig, OnInit { value: number; min: number; max: number; step: number; disabled: boolean; className: string; trackRef: ElementRef; private isDragging; get percentage(): number; ngOnInit(): void; onChange: (val: number) => void; onTouched: () => void; writeValue(value: number): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; private updateValue; onPointerDown(e: PointerEvent): void; onPointerMove(e: PointerEvent): void; onPointerUp(e: PointerEvent): void; onKeyDown(e: KeyboardEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class MayvioUIModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { AccordionComponent, ActivityTimelineComponent, ActivityTimelineItemComponent, AlertComponent, AvatarComponent, AvatarGroupComponent, BadgeComponent, BreadcrumbComponent, ButtonComponent, ChartComponent, CheckboxComponent, CodeSnippetComponent, CommandPaletteComponent, DashboardWidgetComponent, DashboardWidgetGridComponent, DataGridComponent, DatePickerComponent, DropdownComponent, DropdownItemComponent, DropdownMenuComponent, DropdownTriggerDirective, FileUploadComponent, InputComponent, KpiCardComponent, MayvioUIModule, ModalBodyComponent, ModalComponent, ModalFooterComponent, ModalHeaderComponent, MultiSelectComponent, NotificationCenterComponent, ProgressBarComponent, RadioGroupComponent, SelectComponent, SidebarComponent, SkeletonComponent, SliderComponent, SwitchComponent, TabComponent, TabsComponent, TextareaComponent, ThemeToggleComponent, ToastComponent, ToastService, TooltipDirective }; export type { AccordionItem, DataGridColumn, MultiSelectOption, SelectOption, ToastItem };