feat: SmartSuite-style FilterPanel with multi-condition AND/OR, all contact fields, context-sensitive ordering

This commit is contained in:
Agent Zero
2026-07-28 09:19:02 +02:00
parent 7962d34fcf
commit e95875464b
4 changed files with 589 additions and 27 deletions
+2 -1
View File
@@ -9,7 +9,7 @@ export interface ToolbarItem {
group?: string;
disabled?: boolean;
active?: boolean;
type?: 'button' | 'search' | 'select' | 'dropdown';
type?: 'button' | 'search' | 'select' | 'dropdown' | 'custom';
searchPlaceholder?: string;
onSearch?: (query: string) => void;
selectOptions?: { value: string; label: string }[];
@@ -18,6 +18,7 @@ export interface ToolbarItem {
menuOptions?: { value: string; label: string; icon?: React.ReactNode; active?: boolean; onClick: () => void; section?: string; separator?: boolean; disabled?: boolean }[];
menuWidth?: string;
iconOnly?: boolean;
customComponent?: React.ReactNode;
}
interface PluginToolbarState {