c41e5063b7
Removed entire kbx-foundation-v36 directory as it's been replaced by the new KBX Foundation v4 patterns implemented in this session: - Registry-driven screen definitions - Density-aware UI adapter components - Feature module templates (ShadowRun, Models) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
24 lines
554 B
TypeScript
24 lines
554 B
TypeScript
import type { KbxLookupDefinition } from './lookup'
|
|
|
|
export type KbxSearchFieldType = 'text' | 'date' | 'date-range' | 'select' | 'lookup' | 'checkbox'
|
|
|
|
export interface KbxSearchOption {
|
|
value: string
|
|
label: string
|
|
}
|
|
|
|
export interface KbxSearchField {
|
|
key: string
|
|
label: string
|
|
type: KbxSearchFieldType
|
|
primary?: boolean
|
|
width?: 'sm' | 'md' | 'lg'
|
|
options?: KbxSearchOption[]
|
|
lookup?: KbxLookupDefinition
|
|
range?: { from: string; to: string }
|
|
placeholder?: string
|
|
defaultValue?: unknown
|
|
disabled?: boolean
|
|
helpText?: string
|
|
}
|