L-Sun
2025-04-23 05:41:14 +00:00
parent 9b2cf5cafa
commit 27ff9ab9f4
21 changed files with 304 additions and 339 deletions

View File

@@ -29,14 +29,14 @@ export interface NotificationService {
notify(options: {
title: string | TemplateResult;
message?: string | TemplateResult;
footer?: string | TemplateResult;
accent?: 'info' | 'success' | 'warning' | 'error';
duration?: number; // unit ms, give 0 to disable auto dismiss
abort?: AbortSignal;
action?: {
actions?: {
key: string;
label: string | TemplateResult;
onClick: () => void;
};
}[];
onClose: () => void;
}): void;
}