CRUDUI

Home > @polyspec/crudui-generator-svelte

crudui-generator-svelte package

Functions

Function

Description

renderForm(form, options)

Render the current form instance as the complete form (form-runtime.md, "Complete form") with Svelte hydration markers intact.

Interfaces

Interface

Description

ControlsProps

The props of the component Controls.

DataPanelProps

The props of the component DataPanel.

DataViewProps

The props of the component DataView.

DetailProps

The props of the component Detail.

FormProps

The props of the component Form.

ListProps

The props of the component List.

NodeProps

The props of the component Node.

OutlineProps

The props of the component Outline.

OutlineViewProps

The props of the component OutlineView.

WidgetProps

The props of the component Widget.

Variables

Variable

Description

Controls

Render one control group of data-crudui-action buttons.

DataPanel

Render current data markup directly from the data.

DataView_2

Render the current submission data of a form instance.

Detail

Render an evaluated read-only detail model with its actions and its definition list.

Form

Render an editable form instance and synchronize its data, row actions and input state.

List

Render an evaluated list model as a table or cards with display cells and row actions.

Node_2

Render one node of the recursive form grammar: crudui-node with its kind modifier and the shared header, body and footer slots.

Outline

Render the structure map of a form instance with its form controls; selecting a row scrolls the rendered form row into view.

OutlineView

Render structure map markup for evaluated nodes and undo availability.

renderDetail

Compose, evaluate and render one read-only detail without data access.

renderList

Compose a list specification, evaluate supplied rows and render list HTML. Throws ComposeLoadError when a composition reference cannot be resolved.

Widget

Render an evaluated widget and its native controls inside the required container.