API Reference LiveFilter v#0.1.0
View SourceModules
LiveFilter is a comprehensive, reusable filtering library for Phoenix LiveView applications.
A component for managing table column visibility. Shows a gear icon that opens a dropdown with checkboxes for each column.
A reusable date range selector component for LiveFilter. Provides preset date ranges and custom date range selection with a calendar picker.
A component for building complex filter queries with a UI.
A component for rendering individual filter items with configurable UI.
A dropdown component for selecting filters to add to the active filter set.
A dynamic filter component that renders the appropriate input based on filter type.
A search-enabled select component with single and multi-select support.
A simple dropdown select component for single selection.
A component for selecting and managing sort options. Can be used in toolbars or dialogs for single or multi-field sorting.
A sortable table header component that displays sort direction indicators and handles click events for sorting.
Date utility functions for LiveFilter. Handles date range calculations for presets and custom ranges.
Optional event routing helper for dynamic filter events.
Protocol for defining custom field types in LiveFilter.
Standardized field configuration for LiveFilter.
Represents an individual filter with field, operator, value, and type.
Represents a group of filters with a conjunction (AND/OR) and can contain nested groups.
Defines available filter types and their operators. Maps field types to appropriate UI components.
Optional LiveView integration for LiveFilter.
Converts filter configurations to Ecto queries using dynamic query building.
Composable filter builder functions for common patterns.
Represents a sort configuration for queries.
Utility functions for type conversion in LiveFilter.
Optional UI state management for LiveFilter.
Handles serialization and deserialization of filter configurations to/from URL parameters.
Utilities for handling URL parameter encoding and decoding.
Mix Tasks
Installs LiveFilter JavaScript assets to your Phoenix application.