API Reference Lotus Web v#1.2.0

Copy Markdown View Source

Modules

Who the dashboard is acting for, in the shape Lotus core expects.

Serves the dashboard's CSS and JavaScript bundle.

on_mount hook that applies the access level of the resolver.

Asks the host whether the current user may perform an action.

Formats arbitrary DB values for safe display in result tables.

Core UI components for Lotus Web.

Builds the query variables of a dashboard card with Lotus.card_variables/4, the rule Lotus.Dashboards.run_dashboard_card/2 uses: the filter value or else the default value, the relative date token resolved against today, and the transform of each mapping.

The relative date tokens a dashboard filter offers, with their labels.

The options of the select filters of a dashboard, for the current filter values.

Canonical form for the filter values a dashboard carries.

Controller for streaming CSV exports.

Handles conversion and formatting of variable static options between different formats

Provides translation helpers for Lotus Web components.

on_mount hook that sets the dashboard locale.

Safe markdown rendering helpers.

A Tailwind-styled, accessible multi-select dropdown with search functionality.

Editor toolbar UI components.

Renders a single variable widget for the toolbar.

Behavior for customizing Lotus Web dashboard access and functionality.

Mounts the dashboard in a host router.

Builds DB schemas for the editor.

A Tailwind-styled, accessible single-select dropdown.

Data structure representing the complete database schema hierarchy.

Transforms query results and visualization config into Vega-Lite specifications.

Mix Tasks

Generates dev.secret.exs from template.