Skip to main content

Module components

Module components 

Source
Expand description

components contains all Yew Component types, but only exports the 4 necessary for public Custom Elements. The rest are internal components of these 4.

Modules§

column_dropdown
column_selector
column_settings_sidebar
containers
containers are generic container-like components for collections of other Component types.
context_menu
copy_dropdown
datetime_column_style
editable_header
empty_row
export_dropdown
expression_editor
filter_dropdown
font_loader
form
A module for form controls (though form controls like <Select> which are also container elements should go in the containers module).
function_dropdown
global_filter_bar
main_panel
MainPanel: the multi-panel layout host. Owns the <regular-layout> element, the per-panel <PanelTab>s, the shared status bar, and the panel context menu. The Component impl below is thin — its handlers live in the submodules:
modal
number_series_style
panel_menu
The per-panel command menu: a cursor-anchored ContextMenu plus the Export/Copy format-picker dropdowns it can spawn in place of itself. The Export/Copy flows are handled end-to-end HERE (the target panel’s engines resolve from the workspace prop, like StatusBar’s own dropdowns); every other command is emitted as a PanelCommand for the parent.
panel_tab
plugin_selector
plugin_tab
Plugin-scoped settings tab. Mirrors style_tab but operates on the active plugin’s save()/restore() token rather than a per-column config map. The schema comes from plugin.plugin_config_schema(); field updates are dispatched through tasks::send_plugin_config.
portal
render_warning
settings_panel
status_bar
status_bar_counter
status_indicator
string_column_style
style
Associates a single, build-time CSS bundle with a yew::Component tree rendered into a Custom Element’s ShadowRoot.
style_controls
type_icon
viewer
The root <perspective-viewer> Yew component: state, lifecycle, and the message dispatch table. Handler bodies live in the domain modules — [panels] (workspace panel lifecycle + active targeting), [settings] (settings sidebar + divider presize pump), [filters] (master/detail cross-filter), [snapshots] (value-semantic props plumbing) — with engine wiring in [wiring] and view() in [render]. (The panel context menu + pickers + maximize live in MainPanel/PanelMenu, which own the layout element.)