API reference
@searsuite/sear-plugin-clear-style
Owner-composed Sheet format clearing without content deletion.
3 exportsderived from source
- classSheetClearStylePluginsource ↗
-
class SheetClearStylePlugin extends Plugin<unknown, CellProperties, null>Composes owner-defined format clearing; owns no persisted document or session state.
constructorconstructor SheetClearStylePlugin(options: SheetClearStyleOptions): SheetClearStylePluginoptions: SheetClearStyleOptions
propertywarnOnDuplicateDepth readonly warnOnDuplicateDepth: falseWhether PluginManager should warn when another ordered plugin shares this depth.
propertysymbolstatic readonly symbol: typeof symbolmethodapply apply(): nullApplies a transaction to plugin-owned state and returns the next state.
methodgetPluginConfig getPluginConfig(): nullReturns this plugin's runtime configuration view for the current core.
methodregisterCommands registerCommands(commands: SheetCommandBus): voidcommands: SheetCommandBus
methodregisterState registerState(): { dataEngine: { enabled: boolean }; key: PluginKey; state: null }Registers one or more plugin-owned state records with the host manager.
methodrender render(): nullProduces scene nodes owned by this plugin for the current core state.
Inherited members 29
Inherited from Plugin.
- depth
- documentState
- interestedIn
- pluginKey
- transactionHistory
- transactionOT
- key
- dirtyRect
- enforceRuntimeWriteBoundary
- enforceStateWriteBoundary
- getState
- hasStateWriteBoundary
- lockCommittedState
- onClick
- onDblClick
- onInitialDataCell
- onInitialDataComplete
- onMouseDown
- onMouseMove
- onMouseUp
- onResize
- onScroll
- onTransactionCommitted
- projectTransaction
- registerConfig
- sealRuntimeMetadata
- sealRuntimeMethods
- sealRuntimeWrites
- setState
- interfaceSheetClearStyleOptionssource ↗
-
interface SheetClearStyleOptionsEditor-local dependencies provided by the owning composition root.
- variableClearRangeStylesCommandsource ↗
-
ClearRangeStylesCommand: SheetCommandDefinition<ClearRangeStylesInput, SheetCommandResult>Clears explicit formatting from one or more selections, preserving cell data.
No public exports match that search.