API Reference selecto_components v0.4.8

modules

Modules

Components-facing helpers for domain action contracts.

Real-time dashboard for query performance monitoring.

Small host-owned capability gate for component-managed actions.

Configuration and utilities for colocated JavaScript and hooks in SelectoComponents.

Component for rendering nested tables from subselect results. Provides expandable/collapsible sections for related data.

Component for displaying SQL queries in development mode. Shows prettified SQL with syntax highlighting and copy functionality.

Base component for dashboard widgets. Provides common functionality for all widget types.

Registry for available dashboard widgets. Manages widget types, configurations, and data sources.

Reads and manages debug configuration from domain modules. Provides a centralized way to control debug information display.

LiveComponent for displaying debug information based on domain configuration.

Secure configuration for enabling debug panel in production.

Lightweight SQL formatter for debug displays.

Detects columns that would cause denormalization (row multiplication) in query results. Groups columns by their relationship path to enable subselect generation.

Bulk actions interface for performing operations on multiple selected records.

Row selection management for tables with support for bulk operations.

Provides sorting functionality for SelectoComponents tables. Supports single and multi-column sorting with visual indicators.

Builds normalized, stage-aware error maps for SelectoComponents.

Backward-compatible wrapper around the normalized error builder.

LiveComponent for displaying categorized errors with appropriate styling and recovery suggestions.

Error recovery mechanisms with retry logic and exponential backoff.

Sanitizes error messages for production environments to prevent sensitive information leakage.

CTE synchronization and application helpers for execution planning.

Query execution and result normalization for SelectoComponents.

Non-I/O execution planning for SelectoComponents.

Query execution helpers shared by the execution runtime.

Normalized execution output for one SelectoComponents run.

Bridges normalized execution results into socket assigns and notifications.

Top-level exploration surface for SelectoComponents.

Host-facing configuration for the Explorer surface.

Behavior for delivering generated export payloads.

Shared snapshot and persistence helpers for export-oriented features.

Behavior and helpers for persisted exported views.

Wrapper functions for serving an exported iframe view from a host app LiveView.

LiveComponent for creating and managing exported iframe views.

Extension helpers for view registration in selecto_components.

LiveComponent for managing saved filter sets. Provides UI for saving, loading, and managing filter configurations.

Multi-select filter component for join mode fields (lookup, star, tag).

Behavior for implementing persistent filter sets in SelectoComponents.

LiveView-backed choice-source resolver support.

Projects query-contract choice-source links into form-friendly field metadata.

Handles filter creation logic for drill-down operations from aggregate views and charts.

Error handling utilities for SelectoComponents form operations.

Consolidated event handlers for SelectoComponents forms.

LiveView event handlers for choice-source option and membership lookups.

Event handlers for drill-down operations.

Event handlers for exporting query results.

Event handlers for filter operations.

Event handlers for list picker operations.

Event handlers for modal dialog operations.

Event handlers for query execution and result operations.

Event handlers for view lifecycle operations.

Handles rendering of filter forms for SelectoComponents.

Handles list picker operations for SelectoComponents forms.

Handles bidirectional conversion between URL parameters and application state for SelectoComponents forms.

Parser for bucket range specifications like "1, 2-5, 6-14, 15+" and numeric increment shorthand like "*/10"

Normalizes Selecto root keyboard shortcut configuration and help metadata.

Modal component for rendering a domain action as a form shell.

Modal component for displaying detailed record information with related data.

Provides a reusable modal wrapper component with animations and backdrop.

Collects and stores performance metrics for Selecto queries.

Hook for automatically collecting metrics from Selecto queries.

Components-facing adapter for Selecto query contracts.

Consumer helpers for query-contract choice-source links.

Plug endpoint for Selecto choice-source option and membership requests.

Transport-neutral HTTP request for query-contract choice-source links.

Markdown guide renderer for Selecto query contracts.

Plug endpoint for serving a Markdown Selecto query guide.

Validates generated query intents against a query contract artifact.

Plug endpoint for validating generated query intents against a Selecto query contract.

Plug endpoint for serving a Selecto query contract JSON document.

Applies host-owned capability decisions to query contract documents.

Event routing and business logic for SelectoComponents.

Safe atom conversion functions to prevent atom table exhaustion attacks.

Behavior for implementing persistent saved views in SelectoComponents.

Behavior and helpers for persisted scheduled export definitions and run history.

LiveComponent for creating and managing scheduled exports.

Canonical editable session state for SelectoComponents exploration.

Builds the initial SelectoComponents session from configured views.

Session-oriented codec helpers for SelectoComponents.

Assign/update helpers for the session compatibility bridge.

URL transport helpers for SelectoComponents session/view state.

State management for SelectoComponents.

Builds subselect queries for denormalizing columns to prevent row multiplication. Converts one-to-many and many-to-many relationships into JSON aggregations.

Tenant scoping helpers for saved views and filter sets contexts.

Comprehensive theming system using CSS variables for SelectoComponents customization.

Component for managing saved view configurations with view type separation. Allows saving and loading configurations specific to each view type.

View tuple helpers and shared parameter-shaping helpers.

Aggregate view for Selecto Components.

Detail view for Selecto Components.

Graph view for Selecto Components.

Map view for spatial data visualization.

Shared contract helpers for breadcrumb playback experiences built on the map view.

Runtime helpers for executing configured view systems.

Formal contract for pluggable SelectoComponents view systems.