Kanban
Module Extensions
Section titled “Module Extensions”KanbanRemoteQueryOptions
Section titled “KanbanRemoteQueryOptions”Native read policy for whole-board indexed blocks and append sequences. See Kanban query usage and configuration types.
export type KanbanRemoteQueryOptions = Omit< LoadQueryOptions<never>, 'consistency' | 'reconcile'>;KanbanRemoteConfig<T>
Section titled “KanbanRemoteConfig<T>”Existing loader and layout fields remain supported. Cancellation is supplied at position ten of the Infinity Scroll callback; positions three through nine remain undefined. See remote card pages.
export interface KanbanRemoteConfig<T extends DataType = DataType> { readonly query?: KanbanRemoteQueryOptions | false; readonly chunkSize?: number; readonly preloadThreshold?: number; readonly total?: number; readonly placeholder?: (index: number) => T; readonly loadData: InfinityScrollLoadData<T>;}KanbanPersistenceOptions<T>
Section titled “KanbanPersistenceOptions<T>”Complete-source persistence retains its existing request/receipt protocol and
per-card ledger. Optional source invalidates a shared read scope after acceptance.
See persistence usage and
command configuration.
export interface KanbanPersistenceOptions<T extends DataType = DataType> { readonly commit: ( request: KanbanPersistenceRequest<T>, ) => Promise<KanbanPersistenceResult<T>> | KanbanPersistenceResult<T>; readonly source?: { accepted(): Promise<void> }; readonly approveMove?: ( request: KanbanMoveApproval<T>, ) => Promise<boolean | string> | boolean | string; /** @deprecated Use approveMove. */ readonly prepareMove?: ( request: KanbanMoveApproval<T>, ) => Promise<boolean | string> | boolean | string; readonly getVersion?: ( card: T | null, cardId: KanbanCardId, ) => KanbanCardVersion; readonly optimistic?: boolean;}KanbanContextMenuConfig
Section titled “KanbanContextMenuConfig”interface KanbanContextMenuConfig { /** Compose application-provided row context-menu items after Kanban actions. */ readonly includeHostItems?: boolean; /** Hide built-ins globally or per invoked card/batch while preserving the rest. */ readonly hidden?: Partial< Record<KanbanContextMenuItemId, KanbanContextMenuItemVisibility<T>> >;}ResolveKanbanCardRuleOptions
Section titled “ResolveKanbanCardRuleOptions”interface ResolveKanbanCardRuleOptions { readonly config: KanbanConfig<T> | ResolvedKanbanConfig<T>; readonly projectedCard: KanbanProjectedCard<T>; readonly column: KanbanColumnDefinition<T>; readonly swimlane: KanbanSwimlaneDefinition; readonly selected?: boolean; readonly dragging?: boolean; /** Internal validation can evaluate visual card rules separately from global callbacks. */ readonly includeGlobalPermissions?: boolean;}HTMLRevoGridElementEventMap (Extended from global)
Section titled “HTMLRevoGridElementEventMap (Extended from global)”interface HTMLRevoGridElementEventMap { [BEFORE_KANBAN_CARD_MOVE_EVENT]: KanbanBeforeCardMoveDetail; [KANBAN_CARD_MOVE_EVENT]: KanbanCardMoveDetail; [KANBAN_SELECTION_CHANGE_EVENT]: KanbanSelectionChangeDetail; [KANBAN_COLUMN_ORDER_CHANGE_EVENT]: KanbanColumnOrderChangeDetail; [KANBAN_DROP_STATE_CHANGE_EVENT]: KanbanDropStateChangeDetail; [KANBAN_DIAGNOSTICS_EVENT]: KanbanDiagnosticsDetail; [KANBAN_CARD_CREATE_REQUEST_EVENT]: KanbanCardRequestDetail; [KANBAN_CARD_OPEN_REQUEST_EVENT]: KanbanCardRequestDetail; [KANBAN_CARD_EDIT_REQUEST_EVENT]: KanbanCardRequestDetail; [KANBAN_CARD_DELETE_REQUEST_EVENT]: KanbanCardRequestDetail; [BEFORE_KANBAN_CARD_CREATE_EVENT]: KanbanCardCreateDetail; [KANBAN_CARD_CREATE_EVENT]: KanbanCardCreateDetail; [BEFORE_KANBAN_CARD_UPDATE_EVENT]: KanbanCardUpdateDetail; [KANBAN_CARD_UPDATE_EVENT]: KanbanCardUpdateDetail; [BEFORE_KANBAN_CARD_DELETE_EVENT]: KanbanCardDeleteDetail; [KANBAN_CARD_DELETE_EVENT]: KanbanCardDeleteDetail;}AdditionalData (Extended from @revolist/revogrid)
Section titled “AdditionalData (Extended from @revolist/revogrid)”interface AdditionalData { /** @deprecated Prefer the direct `grid.kanban` property. */ kanban?: KanbanConfig | false;}HTMLRevoGridElement (Extended from global)
Section titled “HTMLRevoGridElement (Extended from global)”interface HTMLRevoGridElement { kanban?: KanbanConfig | false;}Plugin API
Section titled “Plugin API”KanbanPlugin
Section titled “KanbanPlugin”Kanban presentation for a canonical RevoGrid row source.
Dependencies
Section titled “Dependencies”- Auto-installed
EventManagerPlugin,HistoryPlugin: Installs shared edit and history services for atomic Kanban moves. - Auto-installed
ContextMenuPlugin: Uses the shared Pro context-menu surface for card actions. - Auto-installed
KanbanCardEditorDialogPlugin: Provides the packaged card editor by default while preserving the explicit false opt-out. - Auto-installed
FilterPlugin,ColumnMovePlugin: Uses core filtering for cards and core column movement for workflow columns.
class KanbanPlugin { getCards(): readonly T[];
getProjection(): KanbanProjection<T> | null;
getConfig(): ResolvedKanbanConfig<T> | null;
createCard( card: T, options: KanbanCreateOptions = {}, ): KanbanMutationResult<T>;
updateCard( cardId: KanbanCardId, patch: Partial<T>, options: KanbanUpdateOptions = {}, ): KanbanMutationResult<T>;
deleteCards( cardIds: readonly KanbanCardId[], options: KanbanDeleteOptions = {}, ): KanbanMutationResult<T>;
getSelectedCardIds(): readonly KanbanCardId[];
setSelectedCardIds(cardIds: readonly KanbanCardId[]): void;
revealCard(cardId: KanbanCardId): Promise<boolean>;
getColumnOrder(): readonly KanbanColumnProp[];
setColumnOrder(columnProps: readonly KanbanColumnProp[]): void;
getCollapsedColumnProps(): readonly KanbanColumnProp[];
setColumnCollapsed(columnProp: KanbanColumnProp, collapsed: boolean): void;
getSwimlaneColumnCollapsed(): boolean;
setSwimlaneColumnCollapsed(collapsed: boolean): void;
getDiagnostics(): readonly KanbanDiagnostic<T>[];
refresh(): void;
moveCards( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, options: KanbanMoveOptions = {}, ): boolean;
requestCreateCard(detail: KanbanCardRequestDetail<T> = {}): void;
requestOpenCard(cardId: KanbanCardId): void;
requestEditCard(cardId: KanbanCardId): void;
requestDeleteCards(cardIds: readonly KanbanCardId[]): void;}BEFORE_KANBAN_CARD_MOVE_EVENT
Section titled “BEFORE_KANBAN_CARD_MOVE_EVENT”BEFORE_KANBAN_CARD_MOVE_EVENT: string;KANBAN_CARD_MOVE_EVENT
Section titled “KANBAN_CARD_MOVE_EVENT”KANBAN_CARD_MOVE_EVENT: string;KANBAN_SELECTION_CHANGE_EVENT
Section titled “KANBAN_SELECTION_CHANGE_EVENT”KANBAN_SELECTION_CHANGE_EVENT: string;KANBAN_COLUMN_ORDER_CHANGE_EVENT
Section titled “KANBAN_COLUMN_ORDER_CHANGE_EVENT”KANBAN_COLUMN_ORDER_CHANGE_EVENT: string;KANBAN_DROP_STATE_CHANGE_EVENT
Section titled “KANBAN_DROP_STATE_CHANGE_EVENT”KANBAN_DROP_STATE_CHANGE_EVENT: string;KANBAN_DIAGNOSTICS_EVENT
Section titled “KANBAN_DIAGNOSTICS_EVENT”KANBAN_DIAGNOSTICS_EVENT: string;KANBAN_CARD_CREATE_REQUEST_EVENT
Section titled “KANBAN_CARD_CREATE_REQUEST_EVENT”KANBAN_CARD_CREATE_REQUEST_EVENT: string;KANBAN_CARD_OPEN_REQUEST_EVENT
Section titled “KANBAN_CARD_OPEN_REQUEST_EVENT”KANBAN_CARD_OPEN_REQUEST_EVENT: string;KANBAN_CARD_EDIT_REQUEST_EVENT
Section titled “KANBAN_CARD_EDIT_REQUEST_EVENT”KANBAN_CARD_EDIT_REQUEST_EVENT: string;KANBAN_CARD_DELETE_REQUEST_EVENT
Section titled “KANBAN_CARD_DELETE_REQUEST_EVENT”KANBAN_CARD_DELETE_REQUEST_EVENT: string;BEFORE_KANBAN_CARD_CREATE_EVENT
Section titled “BEFORE_KANBAN_CARD_CREATE_EVENT”BEFORE_KANBAN_CARD_CREATE_EVENT: string;KANBAN_CARD_CREATE_EVENT
Section titled “KANBAN_CARD_CREATE_EVENT”KANBAN_CARD_CREATE_EVENT: string;BEFORE_KANBAN_CARD_UPDATE_EVENT
Section titled “BEFORE_KANBAN_CARD_UPDATE_EVENT”BEFORE_KANBAN_CARD_UPDATE_EVENT: string;KANBAN_CARD_UPDATE_EVENT
Section titled “KANBAN_CARD_UPDATE_EVENT”KANBAN_CARD_UPDATE_EVENT: string;BEFORE_KANBAN_CARD_DELETE_EVENT
Section titled “BEFORE_KANBAN_CARD_DELETE_EVENT”BEFORE_KANBAN_CARD_DELETE_EVENT: string;KANBAN_CARD_DELETE_EVENT
Section titled “KANBAN_CARD_DELETE_EVENT”KANBAN_CARD_DELETE_EVENT: string;resolveKanbanLabels
Section titled “resolveKanbanLabels”export function resolveKanbanLabels( labels?: Partial<KanbanLabels>,): KanbanLabels;DEFAULT_KANBAN_LABELS
Section titled “DEFAULT_KANBAN_LABELS”DEFAULT_KANBAN_LABELS: { unmappedColumn: string; implicitSwimlane: string; emptyColumn: string; dropCardHere: string; progress: string; schedule: string; assignees: string; cardCount: (visible: number, total: number) => string; wipLimit: (count: number, limit: number) => string; selectedCards: (count: number) => string; pickedUpCards: (count: number) => string; moveTarget: (column: string, swimlane: string, position: number) => string; moveCompleted: (count: number, column: string, swimlane: string) => string; moveCancelled: string; currentPosition: string; noDropTarget: string; moveBlocked: (reason: string) => string; noCardsSelected: string; boardReadOnly: string; invalidCardIdentity: string; cardCannotMove: string; transitionNotAllowed: string; dropRejected: string; wipExceeded: (limit: number, excess: number) => string; moveTargetMissing: string; selectedCardsMissing: string; invalidMove: string; projectionFailed: string; stackLabel: (column: string, swimlane: string) => string; readonlyCard: string; invalidCard: string; openCard: string; editCard: string; moveCard: string; moveCards: (count: number) => string; moveToColumn: string; moveToSwimlane: string; addCardHere: string; deleteCard: string; deleteCards: (count: number) => string; cardContextMenu: string; dragHandle: string; collapseColumn: string; expandColumn: string; collapseSwimlane: string; expandSwimlane: string; collapseSwimlaneColumn: string; expandSwimlaneColumn: string;}resolveKanbanHistoryConfig
Section titled “resolveKanbanHistoryConfig”export function resolveKanbanHistoryConfig( history?: HistoryConfig,): HistoryConfig;isKanbanHistoryConfig
Section titled “isKanbanHistoryConfig”export function isKanbanHistoryConfig(history?: HistoryConfig): boolean;KANBAN_HISTORY_RECORD_EVENT
Section titled “KANBAN_HISTORY_RECORD_EVENT”KANBAN_HISTORY_RECORD_EVENT: string;KanbanHistoryTool
Section titled “KanbanHistoryTool”class KanbanHistoryTool { isHistoryRecord(detail: EventManagerEvent): boolean;
collectMutation( previousCards: readonly T[], nextCards: readonly T[], hint?: KanbanMutationCollectionHint, ): boolean;
replayPatch(detail: HistoryReplayDetail): boolean;}KanbanLabels
Section titled “KanbanLabels”interface KanbanLabels { readonly unmappedColumn: string; readonly implicitSwimlane: string; readonly emptyColumn: string; readonly dropCardHere: string; readonly progress: string; readonly schedule: string; readonly assignees: string; readonly cardCount: (visible: number, total: number) => string; readonly wipLimit: (count: number, limit: number) => string; readonly selectedCards: (count: number) => string; readonly pickedUpCards: (count: number) => string; readonly moveTarget: ( column: string, swimlane: string, position: number, ) => string; readonly moveCompleted: ( count: number, column: string, swimlane: string, ) => string; readonly moveCancelled: string; readonly currentPosition: string; readonly noDropTarget: string; readonly moveBlocked: (reason: string) => string; readonly noCardsSelected: string; readonly boardReadOnly: string; readonly invalidCardIdentity: string; readonly cardCannotMove: string; readonly transitionNotAllowed: string; readonly dropRejected: string; readonly wipExceeded: (limit: number, excess: number) => string; readonly moveTargetMissing: string; readonly selectedCardsMissing: string; readonly invalidMove: string; readonly projectionFailed: string; readonly stackLabel: (column: string, swimlane: string) => string; readonly readonlyCard: string; readonly invalidCard: string; readonly openCard: string; readonly editCard: string; readonly moveCard: string; readonly moveCards: (count: number) => string; readonly moveToColumn: string; readonly moveToSwimlane: string; readonly addCardHere: string; readonly deleteCard: string; readonly deleteCards: (count: number) => string; readonly cardContextMenu: string; /** @deprecated Cards use the whole managed shell as their drag surface. */ readonly dragHandle: string; readonly collapseColumn: string; readonly expandColumn: string; readonly collapseSwimlane: string; readonly expandSwimlane: string; readonly collapseSwimlaneColumn: string; readonly expandSwimlaneColumn: string;}KanbanCardRuleResult
Section titled “KanbanCardRuleResult”interface KanbanCardRuleResult { readonly className?: string; readonly style?: Readonly<Record<string, string | number>>; readonly badges?: readonly KanbanBadge[]; readonly draggable?: boolean; readonly selectable?: boolean; readonly editable?: boolean;}KanbanCardRule
Section titled “KanbanCardRule”interface KanbanCardRule { readonly id: string; readonly when: (context: KanbanCardRenderContext<T>) => boolean; readonly result: KanbanCardRuleResult;}KanbanDropRuleContext
Section titled “KanbanDropRuleContext”interface KanbanDropRuleContext { readonly cards: readonly T[]; readonly sourceColumnProps: readonly KanbanColumnProp[]; readonly targetColumn: KanbanColumnDefinition<T>; readonly targetSwimlane: KanbanSwimlaneDefinition;}KanbanRules
Section titled “KanbanRules”interface KanbanRules { readonly canDrag?: (card: T) => boolean | string; readonly canSelect?: (card: T) => boolean; readonly canEdit?: (card: T) => boolean; readonly canDrop?: (context: KanbanDropRuleContext<T>) => boolean | string;}KanbanCardConfig
Section titled “KanbanCardConfig”interface KanbanCardConfig { readonly titleField?: ColumnProp; readonly descriptionField?: ColumnProp; readonly title?: (card: T) => string; readonly description?: (card: T) => string | undefined; readonly progressField?: ColumnProp; readonly progress?: (card: T) => number | null | undefined; readonly startDateField?: ColumnProp; readonly endDateField?: ColumnProp; readonly dateRange?: ( card: T, ) => { readonly start: unknown; readonly end: unknown } | null | undefined; readonly dateTimeZone?: string; readonly assigneeField?: ColumnProp; readonly assigneeAvatarField?: ColumnProp; readonly assignees?: (card: T) => readonly KanbanCardAssignee[]; readonly priorityField?: ColumnProp; readonly priority?: (card: T) => string | null | undefined; readonly tagsField?: ColumnProp; readonly tags?: (card: T) => readonly string[] | null | undefined; readonly dueDateField?: ColumnProp; readonly dueDate?: (card: T) => unknown; readonly colorField?: ColumnProp; readonly color?: (card: T) => string | null | undefined;}KanbanFilterConfig
Section titled “KanbanFilterConfig”interface KanbanFilterConfig { readonly query?: string; readonly fields?: readonly ColumnProp[]; readonly predicate?: (card: T) => boolean;}KanbanSelectionConfig
Section titled “KanbanSelectionConfig”interface KanbanSelectionConfig { readonly mode?: 'single' | 'multiple'; readonly selectedIds?: readonly (string | number)[];}KanbanSwimlaneColumnConfig
Section titled “KanbanSwimlaneColumnConfig”interface KanbanSwimlaneColumnConfig { readonly title?: string; readonly width?: number; readonly collapsedWidth?: number; readonly collapsible?: boolean; readonly collapsed?: boolean;}KanbanSwimlaneLayout
Section titled “KanbanSwimlaneLayout”Placement of explicit swimlane identity and collapse controls.
/** Placement of explicit swimlane identity and collapse controls. */export type KanbanSwimlaneLayout = 'column' | 'top';KanbanContextMenuItemId
Section titled “KanbanContextMenuItemId”export type KanbanContextMenuItemId = /** @deprecated Open is no longer rendered separately from Edit. */ 'open' | 'edit' | 'move' | 'create' | 'delete';KanbanContextMenuItemContext
Section titled “KanbanContextMenuItemContext”interface KanbanContextMenuItemContext { /** Primary card whose shell opened the menu. */ readonly card: T; /** Full invoked selection, or only the primary card when it was not selected. */ readonly cardIds: readonly KanbanCardId[]; readonly column: KanbanColumnDefinition<T>; readonly swimlane: KanbanSwimlaneDefinition;}KanbanContextMenuItemVisibility
Section titled “KanbanContextMenuItemVisibility”export type KanbanContextMenuItemVisibility<T extends DataType = DataType> = | boolean | ((context: KanbanContextMenuItemContext<T>) => boolean);KanbanConfig
Section titled “KanbanConfig”interface KanbanConfig { readonly remote?: KanbanRemoteConfig<T> | false; readonly persistence?: KanbanPersistenceOptions<T>; readonly columns?: readonly KanbanColumnDefinition<T>[]; /** Shared source-property vocabulary used by Scheduler, Gantt, and Kanban. */ readonly fields?: ViewFieldMap; readonly idField?: ColumnProp; readonly columnField?: ColumnProp; readonly orderField?: ColumnProp; readonly swimlaneField?: ColumnProp; readonly swimlanes?: readonly KanbanSwimlaneDefinition[]; /** Render swimlane identity in a row-header column or above each lane. @default 'column' */ readonly swimlaneLayout?: KanbanSwimlaneLayout; /** Swimlane row-header presentation. Set to `false` to hide it. */ readonly swimlaneColumn?: KanbanSwimlaneColumnConfig | false; /** Built-in card context menu. Enabled by default. */ readonly contextMenu?: KanbanContextMenuConfig<T> | false; readonly readOnly?: boolean; readonly wipBehavior?: 'warn' | 'block'; readonly rules?: KanbanRules<T>; readonly cardRules?: readonly KanbanCardRule<T>[]; readonly selection?: KanbanSelectionConfig; readonly card?: KanbanCardConfig<T>; readonly customization?: KanbanCustomization<T>; readonly filter?: KanbanFilterConfig<T>; readonly labels?: Partial<KanbanLabels>; readonly locale?: string; /** Uniform projected row height reserved for each card. */ readonly cardRowHeight?: number; /** @deprecated Use `cardRowHeight`. Retained as a compatibility alias. */ readonly laneHeight?: number; readonly collapsedLaneHeight?: number; readonly cardGap?: number; readonly unmappedColumn?: boolean;}ResolvedKanbanConfig (Extended from index.ts)
Section titled “ResolvedKanbanConfig (Extended from index.ts)”interface ResolvedKanbanConfig { readonly columns: readonly KanbanColumnDefinition<T>[]; readonly idField: ColumnProp; readonly columnField: ColumnProp; readonly orderField: ColumnProp; readonly wipBehavior: 'warn' | 'block'; readonly selection: Required<KanbanSelectionConfig>; readonly card: Required<Pick<KanbanCardConfig<T>, 'titleField'>> & KanbanCardConfig<T>; readonly locale: string; readonly cardRowHeight: number; readonly laneHeight: number; readonly collapsedLaneHeight: number; readonly swimlaneLayout: KanbanSwimlaneLayout; readonly swimlaneColumn: Required<KanbanSwimlaneColumnConfig> & { readonly enabled: boolean; }; readonly contextMenu: | false | (Required<Pick<KanbanContextMenuConfig<T>, 'includeHostItems'>> & KanbanContextMenuConfig<T>); readonly cardGap: number; readonly unmappedColumn: boolean;}KanbanCardMoveDetail
Section titled “KanbanCardMoveDetail”interface KanbanCardMoveDetail { readonly cardIds: readonly KanbanCardId[]; readonly cards: readonly T[]; /** Every canonical card changed by the move, including rank rebalances. */ readonly changedCards: readonly T[]; readonly previousCards: readonly T[]; readonly previousLocations: readonly KanbanCardLocation[]; readonly currentLocations: readonly KanbanCardLocation[]; readonly target: KanbanMoveTarget; readonly reason: 'pointer' | 'keyboard' | 'api' | 'history'; readonly rebalancedCardIds: readonly KanbanCardId[];}KanbanBeforeCardMoveDetail (Extended from index.ts)
Section titled “KanbanBeforeCardMoveDetail (Extended from index.ts)”interface KanbanBeforeCardMoveDetail { readonly proposedCards: readonly T[];}KanbanSelectionChangeDetail
Section titled “KanbanSelectionChangeDetail”interface KanbanSelectionChangeDetail { readonly cardIds: readonly KanbanCardId[]; readonly cards: readonly T[]; readonly mode: 'replace' | 'toggle' | 'range' | 'clear' | 'api';}KanbanColumnOrderChangeDetail
Section titled “KanbanColumnOrderChangeDetail”interface KanbanColumnOrderChangeDetail { readonly columnProps: readonly KanbanColumnProp[]; readonly reason: 'drag' | 'api';}KanbanDropStateChangeDetail
Section titled “KanbanDropStateChangeDetail”interface KanbanDropStateChangeDetail { readonly cardIds: readonly KanbanCardId[]; readonly target?: KanbanMoveTarget; readonly valid: boolean; /** Distinguishes actionable, blocked, and order-preserving pointer targets. */ readonly state?: 'valid' | 'invalid' | 'noop'; readonly reason?: string;}KanbanDiagnosticsDetail
Section titled “KanbanDiagnosticsDetail”interface KanbanDiagnosticsDetail { readonly diagnostics: readonly KanbanDiagnostic<T>[];}KanbanCardRequestDetail
Section titled “KanbanCardRequestDetail”interface KanbanCardRequestDetail { readonly cardId?: KanbanCardId; readonly card?: T; readonly cardIds?: readonly KanbanCardId[]; readonly cards?: readonly T[]; readonly columnProp?: KanbanColumnProp; readonly swimlaneId?: KanbanSwimlaneId;}KanbanMutationReason
Section titled “KanbanMutationReason”export type KanbanMutationReason = 'api' | 'editor' | 'history';KanbanCardCreateDetail
Section titled “KanbanCardCreateDetail”interface KanbanCardCreateDetail { readonly card: T; readonly cardId: KanbanCardId; readonly sourceIndex: number; readonly reason: KanbanMutationReason;}KanbanCardUpdateDetail
Section titled “KanbanCardUpdateDetail”interface KanbanCardUpdateDetail { readonly card: T; readonly previousCard: T; readonly cardId: KanbanCardId; readonly sourceIndex: number; readonly reason: KanbanMutationReason;}KanbanCardDeleteDetail
Section titled “KanbanCardDeleteDetail”interface KanbanCardDeleteDetail { readonly cards: readonly T[]; readonly cardIds: readonly KanbanCardId[]; readonly sourceIndexes: readonly number[]; readonly reason: KanbanMutationReason;}KanbanMutationResult
Section titled “KanbanMutationResult”export type KanbanMutationResult<T extends DataType = DataType> = | { readonly ok: true; readonly cards: readonly T[]; readonly cardIds: readonly KanbanCardId[]; } | { readonly ok: false; readonly reason: string; readonly code: | 'inactive' | 'readonly' | 'invalid' | 'duplicate' | 'missing' | 'rule' | 'cancelled'; };KanbanCardId
Section titled “KanbanCardId”export type KanbanCardId = string | number;KanbanColumnProp
Section titled “KanbanColumnProp”export type KanbanColumnProp = ColumnProp;KanbanSwimlaneId
Section titled “KanbanSwimlaneId”export type KanbanSwimlaneId = string | number;KanbanCardLocation
Section titled “KanbanCardLocation”interface KanbanCardLocation { readonly columnProp: KanbanColumnProp; readonly swimlaneId: KanbanSwimlaneId; readonly index: number; readonly rank: number;}KanbanColumnDefinition
Section titled “KanbanColumnDefinition”interface KanbanColumnDefinition { readonly prop: KanbanColumnProp; readonly name?: string; readonly size?: number; readonly minSize?: number; readonly maxSize?: number; readonly columnTemplate?: KanbanColumnTemplate<T>; readonly columnProperties?: KanbanColumnProperties<T>; readonly wipLimit?: number; readonly collapsed?: boolean; readonly collapsible?: boolean; readonly allowedFrom?: readonly KanbanColumnProp[]; readonly metadata?: Readonly<Record<string, unknown>>; readonly cardFilter?: (card: T) => boolean;}KanbanColumnHeaderRenderContext
Section titled “KanbanColumnHeaderRenderContext”interface KanbanColumnHeaderRenderContext { readonly column: KanbanColumnDefinition<T>; readonly visibleCount: number; readonly totalCount: number; readonly overWipLimit: boolean; readonly toggleCollapsed: () => void;}KanbanColumnTemplateProp (Extended from index.ts)
Section titled “KanbanColumnTemplateProp (Extended from index.ts)”interface KanbanColumnTemplateProp { readonly kanban: KanbanColumnHeaderRenderContext<T>;}KanbanColumnTemplate
Section titled “KanbanColumnTemplate”export type KanbanColumnTemplate<T extends DataType = DataType> = ( createElement: HyperFunc<VNode>, props: KanbanColumnTemplateProp<T>, additionalData?: any,) => any;KanbanColumnProperties
Section titled “KanbanColumnProperties”export type KanbanColumnProperties<T extends DataType = DataType> = ( props: KanbanColumnTemplateProp<T>,) => CellProps | void | undefined;KanbanSwimlaneTemplate
Section titled “KanbanSwimlaneTemplate”export type KanbanSwimlaneTemplate = ( createElement: HyperFunc<VNode>, context: KanbanSwimlaneHeaderRenderContext,) => any;KanbanSwimlaneDefinition
Section titled “KanbanSwimlaneDefinition”interface KanbanSwimlaneDefinition { readonly id: KanbanSwimlaneId; readonly title: string; /** Fully replaces the managed title, count, and collapse control for this lane. */ readonly swimlaneTemplate?: KanbanSwimlaneTemplate; readonly height?: number; readonly collapsed?: boolean; readonly collapsible?: boolean; readonly wipLimits?: Readonly<Record<string, number>>; readonly className?: string; readonly style?: Readonly<Record<string, string | number>>; readonly metadata?: Readonly<Record<string, unknown>>;}KanbanDiagnosticCode
Section titled “KanbanDiagnosticCode”export type KanbanDiagnosticCode = | 'duplicate-column-prop' | 'missing-card-id' | 'duplicate-card-id' | 'invalid-rank' | 'unknown-column' | 'unknown-swimlane';KanbanDiagnostic
Section titled “KanbanDiagnostic”interface KanbanDiagnostic { readonly code: KanbanDiagnosticCode; readonly message: string; readonly card?: T; readonly cardIndex?: number; readonly value?: unknown; readonly blocking: boolean;}KanbanProjectedCard
Section titled “KanbanProjectedCard”interface KanbanProjectedCard { readonly id: KanbanCardId; readonly card: T; readonly sourceIndex: number; readonly location: KanbanCardLocation; readonly mutable: boolean;}KanbanGridRow (Extended from index.ts)
Section titled “KanbanGridRow (Extended from index.ts)”interface KanbanGridRow { readonly __kanbanRow: true; readonly __kanbanLaneId: KanbanSwimlaneId; readonly __kanbanLaneTitle: string; readonly __kanbanLaneCollapsed: boolean; /** Dedicated lane identity row rendered across the workflow viewport. */ readonly __kanbanLaneHeaderRow: boolean; readonly __kanbanLaneRowIndex: number; readonly __kanbanLaneRowCount: number; readonly __kanbanDropRow: boolean; readonly __kanbanCardsByColumn: Readonly< Record<string, readonly KanbanProjectedCard<T>[]> >;}KanbanProjection
Section titled “KanbanProjection”interface KanbanProjection { readonly cards: readonly KanbanProjectedCard<T>[]; readonly rows: readonly KanbanGridRow<T>[]; readonly columns: readonly KanbanColumnDefinition<T>[]; readonly swimlanes: readonly KanbanSwimlaneDefinition[]; readonly diagnostics: readonly KanbanDiagnostic<T>[]; readonly visibleCardIds: ReadonlySet<KanbanCardId>; readonly cardById: ReadonlyMap<KanbanCardId, KanbanProjectedCard<T>>; readonly totalCounts: ReadonlyMap<string, number>; readonly visibleCounts: ReadonlyMap<string, number>;}KanbanMoveTarget
Section titled “KanbanMoveTarget”interface KanbanMoveTarget { readonly columnProp: KanbanColumnProp; readonly swimlaneId?: KanbanSwimlaneId; /** Full-bucket insertion index. Omit to append. */ readonly index?: number; /** Visible card before which the batch should be inserted. */ readonly beforeCardId?: KanbanCardId;}KanbanMoveOptions
Section titled “KanbanMoveOptions”interface KanbanMoveOptions { readonly reason?: 'pointer' | 'keyboard' | 'api' | 'history'; readonly skipHistory?: boolean;}KanbanCreateOptions
Section titled “KanbanCreateOptions”interface KanbanCreateOptions { readonly columnProp?: KanbanColumnProp; readonly swimlaneId?: KanbanSwimlaneId; readonly sourceIndex?: number; readonly reason?: 'api' | 'editor' | 'history'; readonly skipHistory?: boolean;}KanbanUpdateOptions
Section titled “KanbanUpdateOptions”interface KanbanUpdateOptions { readonly reason?: 'api' | 'editor' | 'history'; readonly skipHistory?: boolean;}KanbanDeleteOptions (Extended from index.ts)
Section titled “KanbanDeleteOptions (Extended from index.ts)”interface KanbanDeleteOptions {}KanbanField
Section titled “KanbanField”export type KanbanField = ColumnProp;KanbanTemplateResult
Section titled “KanbanTemplateResult”export type KanbanTemplateResult = VNode | string | number | null | undefined;KanbanTemplateH
Section titled “KanbanTemplateH”export type KanbanTemplateH = ( tag: string, props?: Record<string, unknown>, children?: unknown,) => VNode;KanbanBadge
Section titled “KanbanBadge”interface KanbanBadge { readonly label: string; readonly className?: string; readonly title?: string;}KanbanCardAssignee
Section titled “KanbanCardAssignee”interface KanbanCardAssignee { readonly id?: string | number; readonly label: string; readonly avatar?: unknown;}KanbanProgressRenderOptions
Section titled “KanbanProgressRenderOptions”interface KanbanProgressRenderOptions { readonly value: number; readonly label: string; readonly className?: string; readonly showValue?: boolean;}KanbanAssigneesRenderOptions
Section titled “KanbanAssigneesRenderOptions”interface KanbanAssigneesRenderOptions { readonly assignees: readonly KanbanCardAssignee[]; readonly label: string; readonly className?: string; readonly maxVisible?: number; readonly avatarSize?: number;}KanbanDateRangeRenderOptions
Section titled “KanbanDateRangeRenderOptions”interface KanbanDateRangeRenderOptions { readonly start: unknown; readonly end: unknown; readonly label: string; readonly locale?: string; readonly timeZone?: string; readonly className?: string;}KanbanCardRenderContext
Section titled “KanbanCardRenderContext”interface KanbanCardRenderContext { readonly projectedCard: KanbanProjectedCard<T>; readonly card: T; readonly column: KanbanColumnDefinition<T>; readonly swimlane: KanbanSwimlaneDefinition; readonly selected: boolean; readonly dragging: boolean; readonly readonly: boolean; readonly badges: readonly KanbanBadge[];}KanbanSwimlaneHeaderRenderContext
Section titled “KanbanSwimlaneHeaderRenderContext”interface KanbanSwimlaneHeaderRenderContext { readonly swimlane: KanbanSwimlaneDefinition; readonly visibleCount: number; readonly totalCount: number; readonly swimlaneColumnCollapsed: boolean; readonly toggleCollapsed: () => void;}KanbanSwimlaneColumnHeaderRenderContext
Section titled “KanbanSwimlaneColumnHeaderRenderContext”interface KanbanSwimlaneColumnHeaderRenderContext { readonly collapsed: boolean;}KanbanCustomization
Section titled “KanbanCustomization”interface KanbanCustomization { readonly cardContent?: ( h: KanbanTemplateH, context: KanbanCardRenderContext<T>, ) => KanbanTemplateResult; readonly cardProps?: ( context: KanbanCardRenderContext<T>, ) => Record<string, unknown> | undefined; readonly dragPreview?: ( h: KanbanTemplateH, context: KanbanCardRenderContext<T>, ) => KanbanTemplateResult; readonly swimlaneHeader?: ( h: KanbanTemplateH, context: KanbanSwimlaneHeaderRenderContext, ) => KanbanTemplateResult; readonly swimlaneColumnHeader?: ( h: KanbanTemplateH, context: KanbanSwimlaneColumnHeaderRenderContext, ) => KanbanTemplateResult; readonly emptyState?: ( h: KanbanTemplateH, context: { column: KanbanColumnDefinition<T>; swimlane: KanbanSwimlaneDefinition; }, ) => KanbanTemplateResult;}cardMatchesKanbanFilter
Section titled “cardMatchesKanbanFilter”export function cardMatchesKanbanFilter<T extends DataType>( card: T, config: Pick<ResolvedKanbanConfig<T>, 'card' | 'filter' | 'locale'>,): boolean;filterKanbanCards
Section titled “filterKanbanCards”export function filterKanbanCards<T extends DataType>( cards: readonly T[], config: Pick<ResolvedKanbanConfig<T>, 'card' | 'filter' | 'locale'>, externalPredicate?: (card: T, sourceIndex: number) => boolean,): readonly T[];withKanbanQuery
Section titled “withKanbanQuery”export function withKanbanQuery<T extends DataType>( filter: KanbanFilterConfig<T> | undefined, query: string,): KanbanFilterConfig<T>;kanbanIdKey
Section titled “kanbanIdKey”Keeps numeric and string identifiers distinct in maps and serialized row fields.
export function kanbanIdKey(id: KanbanIdentity): string;kanbanBucketKey
Section titled “kanbanBucketKey”export function kanbanBucketKey( columnProp: KanbanColumnProp, swimlaneId: KanbanSwimlaneId,): string;resolveKanbanColumnName
Section titled “resolveKanbanColumnName”export function resolveKanbanColumnName<T extends DataType>( column: KanbanColumnDefinition<T>,): string;readKanbanField
Section titled “readKanbanField”export function readKanbanField<T extends DataType>( card: T, field: ColumnProp,): unknown;writeKanbanFields
Section titled “writeKanbanFields”export function writeKanbanFields<T extends DataType>( card: T, patch: ReadonlyMap<ColumnProp, unknown>,): T;isKanbanId
Section titled “isKanbanId”export function isKanbanId(value: unknown): value is KanbanIdentity;KanbanIdentity
Section titled “KanbanIdentity”export type KanbanIdentity = KanbanCardId | KanbanColumnProp | KanbanSwimlaneId;isKanbanMoveNoop
Section titled “isKanbanMoveNoop”Returns true when a proposed drop preserves the complete destination order.
export function isKanbanMoveNoop<T extends DataType>( options: IsKanbanMoveNoopOptions<T>,): boolean;moveKanbanCards
Section titled “moveKanbanCards”Produces one immutable, all-or-nothing canonical card move.
export function moveKanbanCards<T extends DataType>( options: MoveKanbanCardsOptions<T>,): KanbanMoveMutationResult<T>;getKanbanMoveBucketKey
Section titled “getKanbanMoveBucketKey”export function getKanbanMoveBucketKey(target: KanbanMoveTarget): string;MoveKanbanCardsOptions
Section titled “MoveKanbanCardsOptions”interface MoveKanbanCardsOptions { readonly cards: readonly T[]; readonly projection: KanbanProjection<T>; readonly config: KanbanConfig<T> | ResolvedKanbanConfig<T>; readonly cardIds: readonly KanbanCardId[]; readonly target: KanbanMoveTarget;}KanbanMoveMutationSuccess
Section titled “KanbanMoveMutationSuccess”interface KanbanMoveMutationSuccess { readonly ok: true; readonly cards: readonly T[]; readonly movedCardIds: readonly KanbanCardId[]; readonly movedCards: readonly T[]; readonly previousCards: readonly T[]; readonly previousLocations: readonly KanbanCardLocation[]; readonly currentLocations: readonly KanbanCardLocation[]; readonly changedCards: readonly T[]; readonly rebalancedCardIds: readonly KanbanCardId[]; readonly validation: KanbanDropValidation; readonly projection: KanbanProjection<T>;}KanbanMoveMutationFailure
Section titled “KanbanMoveMutationFailure”interface KanbanMoveMutationFailure { readonly ok: false; readonly cards: readonly T[]; readonly reason: string; readonly validation?: KanbanDropValidation;}KanbanMoveMutationResult
Section titled “KanbanMoveMutationResult”export type KanbanMoveMutationResult<T extends DataType = DataType> = | KanbanMoveMutationSuccess<T> | KanbanMoveMutationFailure<T>;IsKanbanMoveNoopOptions
Section titled “IsKanbanMoveNoopOptions”export type IsKanbanMoveNoopOptions<T extends DataType = DataType> = Pick< MoveKanbanCardsOptions<T>, 'projection' | 'cardIds' | 'target'>;resolveKanbanConfig
Section titled “resolveKanbanConfig”export function resolveKanbanConfig<T extends DataType>( config: KanbanConfig<T>,): ResolvedKanbanConfig<T>;normalizeKanbanBoard
Section titled “normalizeKanbanBoard”export function normalizeKanbanBoard<T extends DataType>( cards: readonly T[], config: KanbanConfig<T>,): NormalizedKanbanBoard<T>;orderKanbanColumns
Section titled “orderKanbanColumns”Orders known workflow columns by runtime preference and appends omitted columns stably.
export function orderKanbanColumns<T extends DataType>( columns: readonly KanbanColumnDefinition<T>[], columnOrder: readonly KanbanColumnProp[],): readonly KanbanColumnDefinition<T>[];KANBAN_IMPLICIT_SWIMLANE_ID
Section titled “KANBAN_IMPLICIT_SWIMLANE_ID”KANBAN_IMPLICIT_SWIMLANE_ID: string;KANBAN_UNMAPPED_COLUMN_PROP
Section titled “KANBAN_UNMAPPED_COLUMN_PROP”KANBAN_UNMAPPED_COLUMN_PROP: string;NormalizedKanbanBoard
Section titled “NormalizedKanbanBoard”interface NormalizedKanbanBoard { readonly config: ResolvedKanbanConfig<T>; readonly columns: readonly KanbanColumnDefinition<T>[]; readonly swimlanes: readonly KanbanSwimlaneDefinition[]; readonly diagnostics: readonly KanbanDiagnostic<T>[];}createKanbanProjection
Section titled “createKanbanProjection”export function createKanbanProjection<T extends DataType>( cards: readonly T[], config: KanbanConfig<T> | ResolvedKanbanConfig<T>, options: CreateKanbanProjectionOptions<T> = {},): KanbanProjection<T>;getKanbanBucketCards
Section titled “getKanbanBucketCards”export function getKanbanBucketCards<T extends DataType>( projection: KanbanProjection<T>, columnProp: KanbanColumnProp, swimlaneId: string | number, visibleOnly = false,): readonly KanbanProjectedCard<T>[];getKanbanBoardOrder
Section titled “getKanbanBoardOrder”export function getKanbanBoardOrder<T extends DataType>( projection: KanbanProjection<T>,): readonly KanbanCardId[];CreateKanbanProjectionOptions
Section titled “CreateKanbanProjectionOptions”interface CreateKanbanProjectionOptions { /** Physical canonical indexes that passed an external filter. */ readonly externallyVisibleSourceIndexes?: ReadonlySet<number>; /** @deprecated Prefer source indexes so invalid and duplicate card ids remain distinguishable. */ readonly externallyVisibleCardIds?: ReadonlySet<KanbanCardId>; readonly isExternallyVisible?: (card: T, sourceIndex: number) => boolean;}allocateFractionalRanks
Section titled “allocateFractionalRanks”Allocates ordered ranks in a gap, or returns undefined when the bucket must be rebalanced.
export function allocateFractionalRanks( options: AllocateKanbanRanksOptions,): readonly number[] | undefined;createRebalancedKanbanRanks
Section titled “createRebalancedKanbanRanks”export function createRebalancedKanbanRanks<T extends DataType>( cards: readonly Pick<KanbanProjectedCard<T>, 'id'>[], spacing = KANBAN_RANK_SPACING,): ReadonlyMap<KanbanCardId, number>;KANBAN_RANK_SPACING
Section titled “KANBAN_RANK_SPACING”KANBAN_RANK_SPACING: 1024;AllocateKanbanRanksOptions
Section titled “AllocateKanbanRanksOptions”interface AllocateKanbanRanksOptions { readonly beforeRank?: number; readonly afterRank?: number; readonly count: number; readonly spacing?: number; readonly minimumGap?: number;}resolveKanbanCardRuleState
Section titled “resolveKanbanCardRuleState”export function resolveKanbanCardRuleState<T extends DataType>( options: ResolveKanbanCardRuleOptions<T>,): ResolvedKanbanCardRuleState;validateKanbanDrop
Section titled “validateKanbanDrop”export function validateKanbanDrop<T extends DataType>( options: ValidateKanbanDropOptions<T>,): KanbanDropValidation;ResolvedKanbanCardRuleState
Section titled “ResolvedKanbanCardRuleState”interface ResolvedKanbanCardRuleState { readonly classNames: readonly string[]; readonly style: Readonly<Record<string, string | number>>; readonly badges: readonly KanbanBadge[]; readonly draggable: boolean; readonly selectable: boolean; readonly editable: boolean;}ValidateKanbanDropOptions
Section titled “ValidateKanbanDropOptions”interface ValidateKanbanDropOptions { readonly config: KanbanConfig<T> | ResolvedKanbanConfig<T>; readonly cards: readonly KanbanProjectedCard<T>[]; readonly targetColumn: KanbanColumnDefinition<T>; readonly targetSwimlane: KanbanSwimlaneDefinition; /** Canonical count in the target column across every swimlane. */ readonly targetColumnTotalCount?: number; /** Canonical count in the target column/swimlane bucket. */ readonly targetTotalCount: number;}KanbanDropValidation
Section titled “KanbanDropValidation”interface KanbanDropValidation { readonly valid: boolean; readonly reason?: string; readonly warning?: string; readonly projectedCount: number; readonly wipLimit?: number;}uniqueKanbanCardIds
Section titled “uniqueKanbanCardIds”export function uniqueKanbanCardIds( ids: Iterable<KanbanCardId>,): KanbanCardId[];pruneKanbanSelection
Section titled “pruneKanbanSelection”export function pruneKanbanSelection( selectedIds: readonly KanbanCardId[], allowedIds: ReadonlySet<KanbanCardId> | readonly KanbanCardId[],): readonly KanbanCardId[];updateKanbanSelection
Section titled “updateKanbanSelection”export function updateKanbanSelection( options: UpdateKanbanSelectionOptions,): readonly KanbanCardId[];KanbanSelectionMode
Section titled “KanbanSelectionMode”export type KanbanSelectionMode = | 'replace' | 'toggle' | 'range' | 'clear' | 'api';UpdateKanbanSelectionOptions
Section titled “UpdateKanbanSelectionOptions”interface UpdateKanbanSelectionOptions { readonly currentIds: readonly KanbanCardId[]; readonly cardId?: KanbanCardId; readonly mode: KanbanSelectionMode; readonly orderedCardIds: readonly KanbanCardId[]; readonly anchorId?: KanbanCardId; readonly selectionMode?: 'single' | 'multiple';}renderKanbanDateRange
Section titled “renderKanbanDateRange”Renders a compact locale-aware schedule shared by default and custom cards.
export function renderKanbanDateRange( h: KanbanTemplateH, options: KanbanDateRangeRenderOptions,): KanbanTemplateResult;renderKanbanProgress
Section titled “renderKanbanProgress”Renders compact, theme-aware progress content for managed or custom cards.
export function renderKanbanProgress( h: KanbanTemplateH, options: KanbanProgressRenderOptions,): KanbanTemplateResult;renderKanbanAssignees
Section titled “renderKanbanAssignees”Renders assignees with the shared Pro avatar component.
export function renderKanbanAssignees( h: KanbanTemplateH, options: KanbanAssigneesRenderOptions,): KanbanTemplateResult;createKanbanColumns
Section titled “createKanbanColumns”export function createKanbanColumns<T extends DataType>( projection: KanbanProjection<T>,): KanbanGridColumn<T>[];createKanbanColumnTypes
Section titled “createKanbanColumnTypes”export function createKanbanColumnTypes<T extends DataType>( options: KanbanColumnTypeOptions<T>,): Record<string, ColumnType<DataType>>;createKanbanRowHeaders
Section titled “createKanbanRowHeaders”export function createKanbanRowHeaders<T extends DataType>( options: KanbanColumnTypeOptions<T>,): RowHeaders;KANBAN_COLUMN_TYPE
Section titled “KANBAN_COLUMN_TYPE”KANBAN_COLUMN_TYPE: string;KanbanGridColumn (Extended from index.ts)
Section titled “KanbanGridColumn (Extended from index.ts)”interface KanbanGridColumn {}installKanbanDependencies
Section titled “installKanbanDependencies”export function installKanbanDependencies( grid: HTMLRevoGridElement, providers: PluginProviders,): KanbanInstalledDependencies;KanbanInstalledDependencies
Section titled “KanbanInstalledDependencies”interface KanbanInstalledDependencies { activate(): void; deactivate(): void; destroy(): void;}KanbanGridSync
Section titled “KanbanGridSync”class KanbanGridSync { initialize(): void;
applyProjection( projection: KanbanProjection<T>, options: { readonly applyColumns?: boolean } = {}, ): void;
captureSource(source: readonly T[]): void;
captureColumns(columns: readonly (ColumnGrouping | ColumnRegular)[]): void;
restore(source?: readonly T[]): void;
isApplyingSource(): boolean;
isApplyingColumns(): boolean;
refresh(): void;}renderKanbanCard
Section titled “renderKanbanCard”export function renderKanbanCard<T extends DataType>( h: KanbanTemplateH, projectedCard: KanbanProjectedCard<T>, column: KanbanColumnDefinition<T>, swimlane: KanbanSwimlaneDefinition, options: KanbanColumnTypeOptions<T>, index: number,);KanbanRendererActions
Section titled “KanbanRendererActions”interface KanbanRendererActions { readonly getSelectedCardIds: () => readonly KanbanCardId[]; readonly getDraggingCardIds?: () => readonly KanbanCardId[]; readonly onCardSelect: ( event: MouseEvent | KeyboardEvent, cardId: KanbanCardId, ) => void; readonly onCardPointerDown: ( event: PointerEvent, cardId: KanbanCardId, element: HTMLElement, ) => void; readonly onCardKeyDown: (event: KeyboardEvent, cardId: KanbanCardId) => void; readonly onCardEditRequest: (cardId: KanbanCardId) => void; readonly onColumnToggle?: (columnProp: KanbanColumnProp) => void; readonly onSwimlaneToggle?: (swimlaneId: string | number) => void; readonly isSwimlaneColumnCollapsed?: () => boolean; readonly onSwimlaneColumnToggle?: () => void; readonly onMoveRequest?: ( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, ) => void;}KanbanColumnTypeOptions
Section titled “KanbanColumnTypeOptions”interface KanbanColumnTypeOptions { readonly getProjection: () => KanbanProjection<T> | null; readonly getConfig: () => KanbanConfig<T> | ResolvedKanbanConfig<T>; readonly getLabels: () => KanbanLabels; readonly actions: KanbanRendererActions<T>;}KanbanContextMenuControllerOptions
Section titled “KanbanContextMenuControllerOptions”interface KanbanContextMenuControllerOptions { readonly grid: HTMLRevoGridElement; readonly getProjection: () => KanbanProjection<T> | null; readonly getConfig: () => ResolvedKanbanConfig<T> | null; readonly getLabels: () => KanbanLabels; readonly getSelectedCardIds: () => readonly KanbanCardId[]; readonly canEditCard: (cardId: KanbanCardId) => boolean; readonly validateMove: ( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, ) => true | string | { readonly valid: true; readonly warning: string }; readonly moveCards: ( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, ) => void; readonly requestEditCard: (cardId: KanbanCardId) => void; readonly requestCreateCard: (detail: KanbanCardRequestDetail<T>) => void; readonly requestDeleteCards: (cardIds: readonly KanbanCardId[]) => void;}KanbanContextMenuController
Section titled “KanbanContextMenuController”Composes card actions into the shared Pro context-menu surface.
class KanbanContextMenuController { apply(): void;
remove(): void;}toDomCardId
Section titled “toDomCardId”export function toDomCardId(value: KanbanCardId): string;KanbanDomDropTarget (Extended from index.ts)
Section titled “KanbanDomDropTarget (Extended from index.ts)”interface KanbanDomDropTarget { readonly element: HTMLElement; readonly anchorElement?: HTMLElement;}KanbanDropVisualState
Section titled “KanbanDropVisualState”export type KanbanDropVisualState = 'valid' | 'invalid' | 'noop';KanbanDomLayer
Section titled “KanbanDomLayer”Owns the small amount of DOM state required by pointer drag and drop.
class KanbanDomLayer { hitTest(clientX: number, clientY: number): KanbanDomDropTarget | undefined;
createPreview(source: HTMLElement, count: number): void;
movePreview(clientX: number, clientY: number): void;
showIndicator( target: KanbanDomDropTarget, state: KanbanDropVisualState, ): void;
clearDropFeedback(): void;
autoScroll( clientX: number, clientY: number, margin = 48, speed = 18, ): boolean;
clear(): void;
focusCardHandle( cardId: KanbanCardId, fallbackTarget?: KanbanMoveTarget, ): void;}KanbanKeyboardPosition (Extended from index.ts)
Section titled “KanbanKeyboardPosition (Extended from index.ts)”interface KanbanKeyboardPosition { readonly columnName: string; readonly swimlaneTitle: string;}KanbanKeyboardControllerOptions
Section titled “KanbanKeyboardControllerOptions”interface KanbanKeyboardControllerOptions { readonly getSelectedCardIds: () => readonly KanbanCardId[]; readonly selectForDrag: (cardId: KanbanCardId) => void; readonly getPositions: () => readonly KanbanKeyboardPosition[]; readonly announce: (message: string) => void; readonly pickedUpLabel: (count: number) => string; readonly targetLabel: (position: KanbanKeyboardPosition) => string; readonly cancelledLabel: () => string; readonly onStateChange?: () => void; readonly onMove: ( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, reason: 'keyboard', ) => void | Promise<void>;}KanbanKeyboardController
Section titled “KanbanKeyboardController”class KanbanKeyboardController { keyDown(event: KeyboardEvent, cardId: KanbanCardId): boolean;
cancel(): void;
getActiveCardIds(): readonly KanbanCardId[];}KanbanLiveRegion
Section titled “KanbanLiveRegion”class KanbanLiveRegion { mount(): void;
announce(message: string): void;
destroy(): void;}KanbanPointerDropState
Section titled “KanbanPointerDropState”interface KanbanPointerDropState { readonly cardIds: readonly KanbanCardId[]; readonly target?: KanbanMoveTarget; readonly valid: boolean; readonly state: KanbanDropVisualState; readonly reason?: string;}KanbanPointerControllerOptions
Section titled “KanbanPointerControllerOptions”interface KanbanPointerControllerOptions { readonly getSelectedCardIds: () => readonly KanbanCardId[]; readonly selectForDrag: (cardId: KanbanCardId) => void; readonly validateTarget?: ( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, ) => true | string | { readonly valid: true; readonly warning: string }; readonly isNoopTarget?: ( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, ) => boolean; readonly getNoopReason?: () => string; readonly getNoTargetReason?: () => string; readonly onDropStateChange?: (state: KanbanPointerDropState) => void; readonly announceValidation?: (message: string) => void; readonly onMove: ( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, reason: 'pointer', ) => void | Promise<void>;}KanbanPointerController
Section titled “KanbanPointerController”class KanbanPointerController { pointerDown( event: PointerEvent, cardId: KanbanCardId, source: HTMLElement, ): void;
cancel(): void;
getDraggingCardIds(): readonly KanbanCardId[];
consumeSuppressedClick(cardId: KanbanCardId): boolean;
destroy(): void;}KanbanSelectionUpdate
Section titled “KanbanSelectionUpdate”interface KanbanSelectionUpdate { readonly cardIds: readonly KanbanCardId[]; readonly mode: KanbanSelectionMode;}KanbanSelectionController
Section titled “KanbanSelectionController”class KanbanSelectionController { get(): readonly KanbanCardId[];
has(id: KanbanCardId): boolean;
set(ids: readonly KanbanCardId[], mode: KanbanSelectionMode = 'api'): void;
clear(mode: KanbanSelectionMode = 'clear'): void;
select( id: KanbanCardId, orderedIds: readonly KanbanCardId[], modifiers: { readonly toggle?: boolean; readonly range?: boolean } = {}, ): void;
prune(visibleIds: ReadonlySet<KanbanCardId>): void;}KanbanSwimlaneGroupRowRendererOptions
Section titled “KanbanSwimlaneGroupRowRendererOptions”interface KanbanSwimlaneGroupRowRendererOptions { readonly getProjection: () => KanbanProjection<T> | null; readonly getConfig: () => ResolvedKanbanConfig<T>; readonly getLabels: () => KanbanLabels; readonly onSwimlaneToggle: (swimlaneId: KanbanSwimlaneId) => void;}KanbanSwimlaneGroupRowRenderer
Section titled “KanbanSwimlaneGroupRowRenderer”Renders projected lane identity rows across the full workflow viewport.
class KanbanSwimlaneGroupRowRenderer { apply(detail: BeforeRowRenderEvent<KanbanGridRow<T>>): void;}renderKanbanToggleIcon
Section titled “renderKanbanToggleIcon”export function renderKanbanToggleIcon(h: KanbanTemplateH);getCoreFilteredKanbanCardIds
Section titled “getCoreFilteredKanbanCardIds”export function getCoreFilteredKanbanCardIds<T extends DataType>(options: { readonly cards: readonly T[]; readonly idField: ColumnProp; readonly filterPlugin?: FilterPlugin; readonly hostColumns: readonly (ColumnGrouping | ColumnRegular)[];}): ReadonlySet<KanbanCardId> | undefined;getCoreFilteredKanbanSourceIndexes
Section titled “getCoreFilteredKanbanSourceIndexes”Preserves physical identity for missing and duplicate card ids during core filtering.
export function getCoreFilteredKanbanSourceIndexes< T extends DataType,>(options: { readonly cards: readonly T[]; readonly filterPlugin?: FilterPlugin; readonly hostColumns: readonly (ColumnGrouping | ColumnRegular)[];}): ReadonlySet<number> | undefined;Move approval naming
Section titled “Move approval naming”persistence.approveMove(request) optionally approves a proposed move before mutation. Return true to continue, or false/a message to reject. It does not save. prepareMove remains a deprecated alias; approveMove wins if both are set. Use moveCardsAsync() for programmatic moves with approval. See managed persistence.
Card editor, toolbar and remote contracts
Section titled “Card editor, toolbar and remote contracts”The following public contracts complement the core board types above. Start with Your First Board for a complete setup, then see Editing Cards, Toolbar, and Server-Side Data for focused examples.
BEFORE_KANBAN_CARD_EDITOR_FIELD_VALIDATE_EVENT
Section titled “BEFORE_KANBAN_CARD_EDITOR_FIELD_VALIDATE_EVENT”BEFORE_KANBAN_CARD_EDITOR_FIELD_VALIDATE_EVENT: string;BEFORE_KANBAN_CARD_EDITOR_VALIDATE_EVENT
Section titled “BEFORE_KANBAN_CARD_EDITOR_VALIDATE_EVENT”BEFORE_KANBAN_CARD_EDITOR_VALIDATE_EVENT: string;CreateKanbanCardDomainChangesOptions
Section titled “CreateKanbanCardDomainChangesOptions”interface CreateKanbanCardDomainChangesOptions { readonly action: KanbanCardChangeAction; readonly previousCards: readonly T[]; readonly cards: readonly T[]; readonly getCardId: (card: T) => KanbanCardId | undefined; /** Limits same-length updates and moves to canonical indexes known to change. */ readonly changedSourceIndexes?: readonly number[];}DEFAULT_KANBAN_TOOLBAR_LABELS
Section titled “DEFAULT_KANBAN_TOOLBAR_LABELS”DEFAULT_KANBAN_TOOLBAR_LABELS: { toolbar: string; actions: string; add: string; edit: string; delete: string; deleteMany: (count: number) => string; undo: string; redo: string; search: string; workflow: string; filters: string; closeFilters: string; done: string; all: string; clear: string; views: string; board: string; table: string; selection: (count: number) => string; count: (visible: number, total: number) => string; empty: string; createFirst: string; pending: string;};KANBAN_CARD_CHANGE_EVENT
Section titled “KANBAN_CARD_CHANGE_EVENT”EventManager tag for committed canonical card mutations.
KANBAN_CARD_CHANGE_EVENT: string;KANBAN_CARD_EDITOR_FIELD_VALIDATE_EVENT
Section titled “KANBAN_CARD_EDITOR_FIELD_VALIDATE_EVENT”KANBAN_CARD_EDITOR_FIELD_VALIDATE_EVENT: string;KANBAN_CARD_EDITOR_INVALID_EVENT
Section titled “KANBAN_CARD_EDITOR_INVALID_EVENT”KANBAN_CARD_EDITOR_INVALID_EVENT: string;KANBAN_CARD_EDITOR_VALIDATE_EVENT
Section titled “KANBAN_CARD_EDITOR_VALIDATE_EVENT”KANBAN_CARD_EDITOR_VALIDATE_EVENT: string;KANBAN_CONFIG_CHANGE_EVENT
Section titled “KANBAN_CONFIG_CHANGE_EVENT”KANBAN_CONFIG_CHANGE_EVENT: string;KANBAN_PERSISTENCE_CHANGE_EVENT
Section titled “KANBAN_PERSISTENCE_CHANGE_EVENT”KANBAN_PERSISTENCE_CHANGE_EVENT: string;KANBAN_REMOTE_LOAD_ERROR_EVENT
Section titled “KANBAN_REMOTE_LOAD_ERROR_EVENT”KANBAN_REMOTE_LOAD_ERROR_EVENT: string;KANBAN_REMOTE_LOAD_START_EVENT
Section titled “KANBAN_REMOTE_LOAD_START_EVENT”KANBAN_REMOTE_LOAD_START_EVENT: string;KANBAN_REMOTE_LOAD_SUCCESS_EVENT
Section titled “KANBAN_REMOTE_LOAD_SUCCESS_EVENT”KANBAN_REMOTE_LOAD_SUCCESS_EVENT: string;KanbanAddCardOptions
Section titled “KanbanAddCardOptions”interface KanbanAddCardOptions { /** Open the editor with column/lane preselected, or immediately create a card. @default 'dialog' */ readonly mode?: 'dialog' | 'create'; /** Defaults for immediate creation. Canonical placement always uses the clicked column/lane. */ readonly createCard?: (context: { readonly columnProp: KanbanColumnProp; readonly swimlaneId: string | number; readonly draft: Readonly<T>; }) => Partial<T>;}KanbanCardChangeAction
Section titled “KanbanCardChangeAction”export type KanbanCardChangeAction = 'create' | 'update' | 'delete' | 'move';KanbanCardDomainChangeDetail
Section titled “KanbanCardDomainChangeDetail”One committed canonical card mutation exposed through EventManager.
interface KanbanCardDomainChangeDetail { readonly action: KanbanCardChangeAction; readonly cardId: KanbanCardId; readonly previousCard: T | null; readonly card: T | null;}KanbanCardEditorBeforeFieldValidationDetail (Extended from index.tsx)
Section titled “KanbanCardEditorBeforeFieldValidationDetail (Extended from index.tsx)”interface KanbanCardEditorBeforeFieldValidationDetail { readonly field: KanbanCardEditorField<T>; readonly value: unknown; error?: string; readonly setError: (error?: string) => void;}KanbanCardEditorDeleteContext
Section titled “KanbanCardEditorDeleteContext”interface KanbanCardEditorDeleteContext { readonly grid: HTMLRevoGridElement; readonly cards: readonly T[]; readonly cardIds: readonly KanbanCardId[];}KanbanCardEditorDialog
Section titled “KanbanCardEditorDialog”export function KanbanCardEditorDialog<T extends DataType>( props: KanbanCardEditorDialogProps<T>,);KanbanCardEditorDialogOptions
Section titled “KanbanCardEditorDialogOptions”interface KanbanCardEditorDialogOptions { readonly fields?: readonly KanbanCardEditorField<T>[]; readonly hiddenFields?: readonly string[]; readonly fieldOrder?: readonly string[]; readonly createDraft?: (context: { readonly grid: HTMLRevoGridElement; readonly request: KanbanCardRequestDetail<T>; }) => Partial<T> | Promise<Partial<T>>; readonly createCardId?: (context: { readonly grid: HTMLRevoGridElement; readonly cards: readonly T[]; }) => KanbanCardId | Promise<KanbanCardId>; readonly validate?: KanbanCardEditorFormValidator<T>; readonly onSubmit?: ( context: KanbanCardEditorSubmitContext<T>, ) => boolean | void | Promise<boolean | void>; readonly onDelete?: ( context: KanbanCardEditorDeleteContext<T>, ) => boolean | void | Promise<boolean | void>; readonly confirmDelete?: | boolean | (( context: KanbanCardEditorDeleteContext<T>, ) => boolean | Promise<boolean>); readonly confirmDiscard?: | boolean | ((state: KanbanCardEditorDraftState<T>) => boolean | Promise<boolean>); readonly customization?: { readonly editor?: KanbanCardEditorDomRenderer<T> }; readonly labels?: Partial<KanbanCardEditorLabels>;}KanbanCardEditorDialogPlugin
Section titled “KanbanCardEditorDialogPlugin”class KanbanCardEditorDialogPlugin { open(request: KanbanCardEditorOpenRequest<T>): void;
close(): void;
async validate(): Promise<KanbanCardEditorValidationResult>;}KanbanCardEditorDialogProps
Section titled “KanbanCardEditorDialogProps”interface KanbanCardEditorDialogProps { readonly grid: HTMLRevoGridElement; readonly dateTimeZone?: string; readonly fields: readonly KanbanCardEditorField<T>[]; readonly state: KanbanCardEditorDraftState<T>; readonly labels: KanbanCardEditorLabels; readonly onValue: (field: KanbanCardEditorField<T>, value: unknown) => void; readonly onClose: () => void; readonly onSubmit: () => void; readonly onDelete: () => void;}KanbanCardEditorDomRenderer
Section titled “KanbanCardEditorDomRenderer”interface KanbanCardEditorDomRenderer { mount( container: HTMLElement, context: KanbanCardEditorRendererContext<T>, ): void | KanbanCardEditorRendererLifecycle<T>;}KanbanCardEditorDraftController
Section titled “KanbanCardEditorDraftController”interface KanbanCardEditorDraftController { getState(): KanbanCardEditorDraftState<T>; setValue(fieldId: string, value: unknown): void; setDraft(patch: Partial<T>): void; setErrors(errors: Readonly<Record<string, string>>): void; reset(): void; close(): void; validate(): Promise<KanbanCardEditorValidationResult>; submit(): void; delete(): void;}KanbanCardEditorDraftState
Section titled “KanbanCardEditorDraftState”interface KanbanCardEditorDraftState { readonly mode: KanbanCardEditorMode; readonly card: T | null; readonly draft: T; readonly dirty: boolean; readonly pending: boolean; readonly errors: Readonly<Record<string, string>>;}KanbanCardEditorField
Section titled “KanbanCardEditorField”interface KanbanCardEditorField { readonly id: string; readonly label?: string; readonly kind?: KanbanCardEditorFieldKind; /** Shared calendar options for date/datetime fields; parsing and timezone stay with Kanban. */ readonly datePicker?: Omit<TemporalPickerOptions, 'kind' | 'selection'>; readonly field?: ColumnProp; readonly icon?: string; readonly order?: number; readonly hidden?: | boolean | ((context: KanbanCardEditorFieldContext<T>) => boolean); readonly fullWidth?: boolean; readonly defaultValue?: | unknown | ((context: Omit<KanbanCardEditorFieldContext<T>, 'field'>) => unknown); readonly options?: | readonly KanbanCardEditorOption[] | (( context: KanbanCardEditorFieldContext<T>, ) => readonly KanbanCardEditorOption[]); readonly placeholder?: string; readonly readonly?: | boolean | ((context: KanbanCardEditorFieldContext<T>) => boolean); readonly required?: boolean; readonly read?: ( card: T, context: KanbanCardEditorFieldContext<T>, ) => unknown; readonly write?: ( value: unknown, card: T, context: KanbanCardEditorFieldContext<T>, ) => Partial<T>; readonly format?: ( value: unknown, context: KanbanCardEditorFieldContext<T>, ) => unknown; readonly parse?: ( value: unknown, context: KanbanCardEditorFieldContext<T>, ) => unknown; readonly validate?: ( value: unknown, context: KanbanCardEditorFieldContext<T>, ) => string | void | Promise<string | void>; readonly renderer?: KanbanCardEditorFieldDomRenderer<T>;}KanbanCardEditorFieldContext
Section titled “KanbanCardEditorFieldContext”interface KanbanCardEditorFieldContext { readonly grid: HTMLRevoGridElement; readonly mode: KanbanCardEditorMode; readonly card: T | null; readonly draft: T; readonly field: KanbanCardEditorField<T>;}KanbanCardEditorFieldDomRenderer
Section titled “KanbanCardEditorFieldDomRenderer”interface KanbanCardEditorFieldDomRenderer { mount( container: HTMLElement, context: KanbanCardEditorFieldRendererContext<T>, ): void | KanbanCardEditorFieldRendererLifecycle<T>;}KanbanCardEditorFieldKind
Section titled “KanbanCardEditorFieldKind”export type KanbanCardEditorFieldKind = | 'text' | 'textarea' | 'number' | 'select' | 'multiselect' | 'tags' | 'checkbox' | 'date' | 'datetime' | 'color' | 'assignees' | 'custom';KanbanCardEditorFieldRendererContext (Extended from index.tsx)
Section titled “KanbanCardEditorFieldRendererContext (Extended from index.tsx)”interface KanbanCardEditorFieldRendererContext { readonly value: unknown; readonly error?: string; readonly disabled: boolean; readonly setValue: (value: unknown) => void;}KanbanCardEditorFieldRendererLifecycle
Section titled “KanbanCardEditorFieldRendererLifecycle”interface KanbanCardEditorFieldRendererLifecycle { update?(context: KanbanCardEditorFieldRendererContext<T>): void; destroy?(): void;}KanbanCardEditorFieldValidationDetail (Extended from index.tsx)
Section titled “KanbanCardEditorFieldValidationDetail (Extended from index.tsx)”interface KanbanCardEditorFieldValidationDetail { readonly field: KanbanCardEditorField<T>; readonly value: unknown; readonly error?: string; readonly status: KanbanCardEditorFieldValidationStatus;}KanbanCardEditorFieldValidationStatus
Section titled “KanbanCardEditorFieldValidationStatus”export type KanbanCardEditorFieldValidationStatus = | 'valid' | 'invalid' | 'skipped' | 'cancelled';KanbanCardEditorFormValidationResult
Section titled “KanbanCardEditorFormValidationResult”export type KanbanCardEditorFormValidationResult = | string | KanbanCardEditorValidationErrors | void;KanbanCardEditorFormValidator
Section titled “KanbanCardEditorFormValidator”export type KanbanCardEditorFormValidator<T extends DataType = DataType> = ( context: KanbanCardEditorValidationContext<T>,) => | KanbanCardEditorFormValidationResult | Promise<KanbanCardEditorFormValidationResult>;KanbanCardEditorLabels
Section titled “KanbanCardEditorLabels”interface KanbanCardEditorLabels { readonly newCard: string; readonly untitledCard: string; readonly cancel: string; readonly save: string; readonly delete: string; readonly close: string; readonly deleteConfirm: string; readonly discardConfirm: string; readonly required: string; readonly validationSummary: string;}KanbanCardEditorMode
Section titled “KanbanCardEditorMode”export type KanbanCardEditorMode = 'create' | 'edit';KanbanCardEditorOpenRequest
Section titled “KanbanCardEditorOpenRequest”interface KanbanCardEditorOpenRequest { readonly mode: KanbanCardEditorMode; readonly card?: T; readonly cardId?: KanbanCardId; readonly cardIds?: readonly KanbanCardId[]; readonly columnProp?: KanbanColumnProp; readonly swimlaneId?: KanbanSwimlaneId; readonly request?: KanbanCardRequestDetail<T>;}KanbanCardEditorOption
Section titled “KanbanCardEditorOption”interface KanbanCardEditorOption { readonly value: string | number; readonly label: string; readonly avatar?: unknown; readonly disabled?: boolean;}KanbanCardEditorRendererContext
Section titled “KanbanCardEditorRendererContext”interface KanbanCardEditorRendererContext { readonly grid: HTMLRevoGridElement; readonly open: boolean; readonly fields: readonly KanbanCardEditorField<T>[]; readonly state: KanbanCardEditorDraftState<T>; readonly controller: KanbanCardEditorDraftController<T>;}KanbanCardEditorRendererLifecycle
Section titled “KanbanCardEditorRendererLifecycle”interface KanbanCardEditorRendererLifecycle { update?(context: KanbanCardEditorRendererContext<T>): void; destroy?(): void;}KanbanCardEditorSubmitContext
Section titled “KanbanCardEditorSubmitContext”interface KanbanCardEditorSubmitContext { readonly grid: HTMLRevoGridElement; readonly mode: KanbanCardEditorMode; readonly card: T | null; readonly draft: T; readonly result?: KanbanMutationResult<T>;}KanbanCardEditorValidationCompleteDetail (Extended from index.tsx)
Section titled “KanbanCardEditorValidationCompleteDetail (Extended from index.tsx)”interface KanbanCardEditorValidationCompleteDetail { readonly result: KanbanCardEditorValidationResult;}KanbanCardEditorValidationContext
Section titled “KanbanCardEditorValidationContext”interface KanbanCardEditorValidationContext { readonly grid: HTMLRevoGridElement; readonly mode: KanbanCardEditorMode; readonly card: T | null; readonly draft: T; readonly fields: readonly KanbanCardEditorField<T>[]; readonly reason: KanbanCardEditorValidationReason;}KanbanCardEditorValidationErrors
Section titled “KanbanCardEditorValidationErrors”export type KanbanCardEditorValidationErrors = Readonly<Record<string, string>>;KanbanCardEditorValidationEvent
Section titled “KanbanCardEditorValidationEvent”interface KanbanCardEditorValidationEvent { readonly defaultPrevented: boolean;}KanbanCardEditorValidationReason
Section titled “KanbanCardEditorValidationReason”export type KanbanCardEditorValidationReason = 'submit' | 'manual';KanbanCardEditorValidationResult
Section titled “KanbanCardEditorValidationResult”interface KanbanCardEditorValidationResult { readonly valid: boolean; readonly cancelled: boolean; readonly errors: KanbanCardEditorValidationErrors;}KanbanCardEditorValidationStartDetail (Extended from index.tsx)
Section titled “KanbanCardEditorValidationStartDetail (Extended from index.tsx)”interface KanbanCardEditorValidationStartDetail { readonly errors: Record<string, string>; readonly setError: (fieldId: string, error?: string) => void;}KanbanCardVersion
Section titled “KanbanCardVersion”export type KanbanCardVersion = string | number | null;KanbanEventManagerDomainChange
Section titled “KanbanEventManagerDomainChange”Typed semantic Kanban entry carried in EventManagerEvent.domainChanges.
/** Typed semantic Kanban entry carried in `EventManagerEvent.domainChanges`. */export type KanbanEventManagerDomainChange<T extends DataType = DataType> = EventManagerDomainChange<'kanban-card', KanbanCardDomainChangeDetail<T>>;KanbanEventManagerEvent (Extended from index.ts)
Section titled “KanbanEventManagerEvent (Extended from index.ts)”Typed gridedit detail for consumers collecting committed Kanban changes.
/** Typed `gridedit` detail for consumers collecting committed Kanban changes. */export type KanbanEventManagerEvent<T extends DataType = DataType> = Omit< EventManagerEvent, 'domainChanges'> & { readonly domainChanges?: readonly KanbanEventManagerDomainChange<T>[];};KanbanMoveApproval
Section titled “KanbanMoveApproval”interface KanbanMoveApproval { readonly operationId: string; readonly cardIds: readonly KanbanCardId[]; readonly cards: readonly T[]; readonly target: KanbanMoveTarget; readonly signal: AbortSignal;}KanbanMutationCollectionHint
Section titled “KanbanMutationCollectionHint”interface KanbanMutationCollectionHint { readonly action?: KanbanCardChangeAction; readonly recordHistory?: boolean; readonly changedSourceIndexes?: readonly number[]; /** Proves touched authored ids are unique across the complete canonical source. */ readonly changedCardIdsAreUnique?: boolean;}KanbanPersistedCard
Section titled “KanbanPersistedCard”interface KanbanPersistedCard { readonly cardId: KanbanCardId; readonly card: T | null; readonly version: KanbanCardVersion;}KanbanPersistenceChange
Section titled “KanbanPersistenceChange”interface KanbanPersistenceChange { readonly cardId: KanbanCardId; readonly previousCard: T | null; readonly card: T | null; readonly sourceIndex: number;}KanbanPersistenceController
Section titled “KanbanPersistenceController”Serializes overlapping identities and composes pending FIELD deltas over acknowledged cards.
class KanbanPersistenceController { getState(): readonly KanbanPersistenceState[];
isBusy(): boolean;
dismiss(id: string): void;
capture( changes: readonly KanbanPersistenceChange<T>[], action: KanbanCardChangeAction | 'history', recordHistory = true, optimistic = this.options.adapter.optimistic !== false, ): Promise<boolean>;
async approveMove( cardIds: readonly KanbanCardId[], target: KanbanMoveTarget, perform: () => boolean, ): Promise<boolean>;
retry(id: string): void;
cancel(id: string): void;
resolveConflict(id: string, choice: 'server' | 'retry'): void;
reset(): void;
destroy(): void;}KanbanPersistenceControllerOptions
Section titled “KanbanPersistenceControllerOptions”interface KanbanPersistenceControllerOptions { readonly labels?: () => KanbanLabels; readonly adapter: KanbanPersistenceOptions<T>; readonly getCards: () => readonly T[]; readonly getId: (card: T) => KanbanCardId | undefined; readonly apply: (changes: readonly KanbanPersistenceChange<T>[]) => void; readonly record: ( changes: readonly KanbanPersistenceChange<T>[], action: KanbanCardChangeAction | 'history', recordHistory: boolean, ) => void; readonly notify: (state: KanbanPersistenceState) => void;}KanbanPersistenceRequest
Section titled “KanbanPersistenceRequest”interface KanbanPersistenceRequest { readonly operationId: string; readonly action: KanbanCardChangeAction | 'history'; readonly changes: readonly (KanbanPersistenceChange<T> & { readonly expectedVersion: KanbanCardVersion; })[]; readonly signal: AbortSignal;}KanbanPersistenceResult
Section titled “KanbanPersistenceResult”export type KanbanPersistenceResult<T extends DataType = DataType> = | { readonly operationId: string; readonly status: 'accepted'; readonly versions: readonly { readonly cardId: KanbanCardId; readonly version: KanbanCardVersion; }[]; } | { readonly operationId: string; readonly status: 'rejected'; readonly message: string; } | { readonly operationId: string; readonly status: 'conflict'; readonly message: string; readonly cards: readonly KanbanPersistedCard<T>[]; };KanbanPersistenceState
Section titled “KanbanPersistenceState”interface KanbanPersistenceState { readonly operationId: string; readonly cardIds: readonly KanbanCardId[]; readonly status: KanbanPersistenceStatus; readonly attempt: number; readonly message?: string;}KanbanPersistenceStatus
Section titled “KanbanPersistenceStatus”export type KanbanPersistenceStatus = | 'preparing' | 'queued' | 'saving' | 'error' | 'conflict' | 'committed' | 'rejected' | 'cancelled';KanbanRemoteLoadDetail
Section titled “KanbanRemoteLoadDetail”interface KanbanRemoteLoadDetail { readonly skip: number; readonly limit: number; readonly reason: KanbanRemoteLoadReason; readonly state: KanbanRemoteState; readonly cards?: readonly T[]; readonly error?: unknown;}KanbanRemoteLoadReason
Section titled “KanbanRemoteLoadReason”export type KanbanRemoteLoadReason = | 'initial' | 'scroll' | 'underfill' | 'api' | 'retry';KanbanRemoteState
Section titled “KanbanRemoteState”interface KanbanRemoteState { readonly enabled: boolean; readonly loading: boolean; readonly nextOffset: number; readonly hasMore: boolean; readonly total?: number; readonly error?: string;}KanbanResourceEntity
Section titled “KanbanResourceEntity”Canonical resource identity optionally shared with Gantt and Scheduler.
/** Canonical resource identity optionally shared with Gantt and Scheduler. */export type KanbanResourceEntity = ResourceIdentity<string | number>;KanbanToolbarAction
Section titled “KanbanToolbarAction”export type KanbanToolbarAction = 'add' | 'edit' | 'delete' | 'undo' | 'redo';KanbanToolbarContext
Section titled “KanbanToolbarContext”interface KanbanToolbarContext { readonly active: boolean; readonly pending: boolean; readonly selected: number; readonly total: number; readonly visible: number; readonly enabled: Readonly<Record<KanbanToolbarAction, boolean>>;}KanbanToolbarFilter
Section titled “KanbanToolbarFilter”interface KanbanToolbarFilter { readonly id: string; readonly label: string; readonly field: ColumnProp; /** When omitted, distinct scalar values are read from canonical cards. Arrays are flattened. */ readonly options?: readonly KanbanToolbarFilterOption[];}KanbanToolbarFilterOption
Section titled “KanbanToolbarFilterOption”interface KanbanToolbarFilterOption { readonly value: KanbanToolbarFilterValue; readonly label: string;}KanbanToolbarFilterValue
Section titled “KanbanToolbarFilterValue”export type KanbanToolbarFilterValue = string | number | boolean;KanbanToolbarIcon
Section titled “KanbanToolbarIcon”export type KanbanToolbarIcon = | KanbanToolbarAction | 'search' | 'filters' | 'board' | 'table' | 'close';KanbanToolbarLabels
Section titled “KanbanToolbarLabels”interface KanbanToolbarLabels { readonly toolbar: string; readonly actions: string; readonly add: string; readonly edit: string; readonly delete: string; readonly deleteMany: (count: number) => string; readonly undo: string; readonly redo: string; readonly search: string; readonly workflow: string; readonly filters: string; readonly closeFilters: string; readonly done: string; readonly all: string; readonly clear: string; readonly views: string; readonly board: string; readonly table: string; readonly selection: (count: number) => string; readonly count: (visible: number, total: number) => string; readonly empty: string; readonly createFirst: string; readonly pending: string;}KanbanToolbarOptions
Section titled “KanbanToolbarOptions”interface KanbanToolbarOptions { /** Optional root CSS class; shared Pro tokens still own control styling. */ readonly className?: string; /** Show localized button labels beside icons. Defaults to the compact icon-only layout. */ readonly showLabels?: boolean; readonly count?: boolean; readonly emptyState?: boolean; /** Return decorative content; accessible names remain owned by toolbar labels. */ readonly renderIcon?: (name: KanbanToolbarIcon) => ComponentChildren; /** Add content around the built-in controls; callbacks receive current canonical state. */ readonly renderStart?: (context: KanbanToolbarContext) => ComponentChildren; readonly renderEnd?: (context: KanbanToolbarContext) => ComponentChildren; readonly labels?: Partial<KanbanToolbarLabels>; readonly actions?: readonly KanbanToolbarAction[]; readonly search?: boolean; readonly workflowFilter?: boolean; readonly filters?: readonly KanbanToolbarFilter[]; readonly viewSwitcher?: boolean;}KanbanToolbarPlugin
Section titled “KanbanToolbarPlugin”Optional controls; canonical cards and request/history behavior stay in Kanban.
class KanbanToolbarPlugin { refresh(): void;
setView(board: boolean): boolean;}ResolvedKanbanFieldMap
Section titled “ResolvedKanbanFieldMap”export type ResolvedKanbanFieldMap = Required<ViewFieldMap>;ResolvedKanbanRemoteConfig (Extended from index.ts)
Section titled “ResolvedKanbanRemoteConfig (Extended from index.ts)”interface ResolvedKanbanRemoteConfig { readonly chunkSize: number; readonly preloadThreshold: number;}ValidateKanbanCardEditorOptions
Section titled “ValidateKanbanCardEditorOptions”interface ValidateKanbanCardEditorOptions { readonly grid: HTMLRevoGridElement; readonly mode: KanbanCardEditorValidationContext<T>['mode']; readonly card: T | null; readonly draft: T; readonly fields: readonly KanbanCardEditorField<T>[]; readonly reason: KanbanCardEditorValidationReason; readonly requiredMessage: string; readonly validateForm?: KanbanCardEditorFormValidator<T>; readonly emit: ( eventName: string, detail: unknown, ) => KanbanCardEditorValidationEvent;}cloneKanbanCard
Section titled “cloneKanbanCard”export function cloneKanbanCard<T extends DataType>(card: T | null): T | null;createKanbanCardDomainChanges
Section titled “createKanbanCardDomainChanges”export function createKanbanCardDomainChanges<T extends DataType>( options: CreateKanbanCardDomainChangesOptions<T>,): KanbanEventManagerDomainChange<T>[];createKanbanCardId
Section titled “createKanbanCardId”export function createKanbanCardId<T extends DataType>( cards: readonly T[], idField: ColumnProp,): string;kanbanCardEditorDialogDependencies
Section titled “kanbanCardEditorDialogDependencies”Dependencies
Section titled “Dependencies”- Required
KanbanPlugin: Uses Kanban canonical data, permissions, rules, events, and history-backed CRUD methods.
kanbanCardEditorDialogDependencies: PluginDependency[];kanbanFieldMapsEqual
Section titled “kanbanFieldMapsEqual”export function kanbanFieldMapsEqual( left: Readonly<Record<keyof ViewFieldMap, ColumnProp>>, right: Readonly<Record<keyof ViewFieldMap, ColumnProp>>,): boolean;patchKanbanRemoteProjection
Section titled “patchKanbanRemoteProjection”Reprojects only changed remote cards while reusing the known placeholder layout. This keeps drag commits proportional to affected buckets instead of rebuilding every unloaded server position.
export function patchKanbanRemoteProjection<T extends DataType>(options: { readonly projection: KanbanProjection<T>; readonly cards: readonly T[]; readonly changedSourceIndexes: readonly number[]; readonly config: KanbanConfig<T> | ResolvedKanbanConfig<T>; readonly isPlaceholder: (card: T) => boolean; /** Marks replaced placeholder records as interactive, visible cards. */ readonly activateChangedCards?: boolean;}): KanbanProjection<T> | undefined;resolveKanbanCardEditorFields
Section titled “resolveKanbanCardEditorFields”export function resolveKanbanCardEditorFields<T extends DataType>( config: ResolvedKanbanConfig<T>, options: KanbanCardEditorDialogOptions<T> = {},): readonly KanbanCardEditorField<T>[];resolveKanbanFieldMap
Section titled “resolveKanbanFieldMap”Resolves the shared meanings onto Kanban’s existing field-aware model.
export function resolveKanbanFieldMap<T extends Record<string, unknown>>( config: Pick<KanbanConfig<T>, 'fields' | 'idField' | 'columnField' | 'card'>,): ResolvedKanbanFieldMap;validateKanbanCardEditor
Section titled “validateKanbanCardEditor”Runs the shared packaged/replacement-editor validation and event pipeline.
export async function validateKanbanCardEditor<T extends DataType>( options: ValidateKanbanCardEditorOptions<T>,): Promise<KanbanCardEditorValidationResult>;withKanbanDomainChanges
Section titled “withKanbanDomainChanges”export function withKanbanDomainChanges( detail: EventManagerEvent, domainChanges: readonly KanbanEventManagerDomainChange[],): EventManagerEvent;