Package-level declarations
Types
Link copied to clipboard
UI event emitted for a component interaction, enriched with document context. Provides variants for field-level, cell-level, and page-level interactions.
Link copied to clipboard
Configuration for controlling the visibility of decorators in different contexts.
Link copied to clipboard
data class DisplayConfig(val showUnsupportedFields: Boolean = false, val showUnsupportedColumns: Boolean = true, val showRowNumbers: Boolean = true, val inlineFields: Boolean = false, val singleClickRowEdit: Boolean = false, val decorators: DecoratorConfig = DecoratorConfig.Default)
What renders, and how.
Link copied to clipboard
data class FormConfig(val mode: Mode = Mode.fill, val license: String? = null, val events: FormEvents = FormEvents(), val display: DisplayConfig = DisplayConfig(), val pages: PageConfig = PageConfig(), val functions: ResolutionResourceBuilder.() -> Unit? = null, val validateSchema: Boolean = true)
Single configuration object for a document's editor and its rendering.
Link copied to clipboard
data class FormEvents(val onChange: (ComponentEvent<*>) -> Unit? = null, val onFocus: (ComponentEvent<*>) -> Unit? = null, val onBlur: (ComponentEvent<*>) -> Unit? = null, val onUpload: suspend (ComponentEvent<AbstractFileEditor>) -> List<String>? = null, val onCapture: suspend (ComponentEvent<AbstractCompStringEditor>) -> String?? = null)
All field/page event handlers in one place.
Link copied to clipboard
data class PageConfig(val enableDuplicates: Boolean = false, val enableDeletes: Boolean = false, val currentPageId: String? = null)
Page-navigation capabilities.