@flytedan/flytebot-design-system 0.27.1 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1181 -749
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +90 -10
- package/dist/index.d.ts +90 -10
- package/dist/index.js +1181 -749
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1075,13 +1075,84 @@ interface FilterFieldSelect extends FilterFieldBase {
|
|
|
1075
1075
|
type: "select";
|
|
1076
1076
|
options: FilterFieldOption[];
|
|
1077
1077
|
}
|
|
1078
|
-
/**
|
|
1079
|
-
|
|
1078
|
+
/** MP-243: include/exclude, shared by every field whose value is a set of options
|
|
1079
|
+
* (multiSelect and pasteList — paste-a-list resolves onto the same shape once its
|
|
1080
|
+
* tokens are matched, so the two variants share one value model and one operator
|
|
1081
|
+
* control rather than each growing their own). */
|
|
1082
|
+
type FilterOperator = "in" | "notIn";
|
|
1083
|
+
interface FilterMultiSelectValue {
|
|
1084
|
+
operator: FilterOperator;
|
|
1085
|
+
values: FilterFieldOption[];
|
|
1086
|
+
}
|
|
1087
|
+
interface FilterFieldMultiSelect extends FilterFieldBase {
|
|
1088
|
+
type: "multiSelect";
|
|
1089
|
+
/** Sync option list — filtered client-side by the typed query. Omit when `loadOptions`
|
|
1090
|
+
* is given; the two are mutually exclusive (async wins if both are somehow set). */
|
|
1091
|
+
options?: FilterFieldOption[];
|
|
1092
|
+
/** Async option source for long lists (schools, imports, …). Called ~300ms after the
|
|
1093
|
+
* last keystroke, with the current query (possibly ""). Its own rejection is treated
|
|
1094
|
+
* as "no options" rather than surfaced — a transient search failure shouldn't block
|
|
1095
|
+
* the field the way a paste-a-list resolver failure does. */
|
|
1096
|
+
loadOptions?: (query: string) => Promise<FilterFieldOption[]>;
|
|
1097
|
+
placeholder?: string;
|
|
1098
|
+
}
|
|
1099
|
+
interface FilterRangeValue {
|
|
1100
|
+
min?: number;
|
|
1101
|
+
max?: number;
|
|
1102
|
+
}
|
|
1103
|
+
interface FilterFieldRange extends FilterFieldBase {
|
|
1104
|
+
type: "range";
|
|
1105
|
+
/** Bounds enforced on each stepper/typed value — NOT the same as the filter's own
|
|
1106
|
+
* min/max VALUE (FilterRangeValue), which is what the user is narrowing to. */
|
|
1107
|
+
min?: number;
|
|
1108
|
+
max?: number;
|
|
1109
|
+
step?: number;
|
|
1110
|
+
minLabel?: string;
|
|
1111
|
+
maxLabel?: string;
|
|
1112
|
+
minPlaceholder?: string;
|
|
1113
|
+
maxPlaceholder?: string;
|
|
1114
|
+
}
|
|
1115
|
+
type FilterDateValue = {
|
|
1116
|
+
kind: "withinDays";
|
|
1117
|
+
days: number;
|
|
1118
|
+
} | {
|
|
1119
|
+
kind: "between";
|
|
1120
|
+
from: string;
|
|
1121
|
+
to: string;
|
|
1122
|
+
};
|
|
1123
|
+
interface FilterFieldDate extends FilterFieldBase {
|
|
1124
|
+
type: "date";
|
|
1125
|
+
/** Default days shown the first time "within the last N days" is picked. */
|
|
1126
|
+
defaultDays?: number;
|
|
1127
|
+
}
|
|
1128
|
+
interface FilterResolveMatch {
|
|
1129
|
+
token: string;
|
|
1130
|
+
value: string;
|
|
1131
|
+
label: string;
|
|
1132
|
+
}
|
|
1133
|
+
interface FilterResolveResult {
|
|
1134
|
+
matched: FilterResolveMatch[];
|
|
1135
|
+
unmatched: string[];
|
|
1136
|
+
}
|
|
1137
|
+
interface FilterFieldPasteList extends FilterFieldBase {
|
|
1138
|
+
type: "pasteList";
|
|
1139
|
+
/** Resolves pasted tokens against the app's own data. Never called with an empty
|
|
1140
|
+
* token list. A rejection is shown as a visible error — unlike loadOptions, a failed
|
|
1141
|
+
* paste-a-list resolve is exactly the thing the user is waiting on. */
|
|
1142
|
+
resolve: (tokens: string[]) => Promise<FilterResolveResult>;
|
|
1143
|
+
placeholder?: string;
|
|
1144
|
+
}
|
|
1145
|
+
/** A declared filter field. Add a variant here (and a branch below) for a new value
|
|
1146
|
+
* picker. MP-243 added multiSelect/range/date/pasteList alongside the original
|
|
1147
|
+
* text/select — the existing two keep their original value shape (a bare string)
|
|
1148
|
+
* unchanged; every new variant's value is a small typed object of its own. */
|
|
1149
|
+
type FilterField = FilterFieldText | FilterFieldSelect | FilterFieldMultiSelect | FilterFieldRange | FilterFieldDate | FilterFieldPasteList;
|
|
1080
1150
|
interface FilterBarProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "onChange"> {
|
|
1081
1151
|
/** Every filter a consumer can add. Order here is the order in the "add filter" list. */
|
|
1082
1152
|
fields: FilterField[];
|
|
1083
1153
|
/** Straight off useServerTable — a value of undefined/""/false reads as "not set",
|
|
1084
|
-
* same convention that hook already uses for activeFilterCount.
|
|
1154
|
+
* same convention that hook already uses for activeFilterCount. multiSelect/range/
|
|
1155
|
+
* date/pasteList values are objects instead (see isFieldSet). */
|
|
1085
1156
|
filters: Record<string, unknown>;
|
|
1086
1157
|
/** Fires on every value edit. Maps 1:1 onto useServerTable's setFilter(id, value). */
|
|
1087
1158
|
onFilterChange: (key: string, value: unknown) => void;
|
|
@@ -1095,18 +1166,27 @@ interface FilterBarProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "on
|
|
|
1095
1166
|
/**
|
|
1096
1167
|
* FilterBar — the declarative filter system for a server-driven list.
|
|
1097
1168
|
*
|
|
1098
|
-
* A consumer declares fields once (`{ key, label, type
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1169
|
+
* A consumer declares fields once (`{ key, label, type, ... }`) and hands this a live
|
|
1170
|
+
* `filters` record plus onFilterChange/onFilterRemove — the same three things
|
|
1171
|
+
* useServerTable already exposes, so wiring one up is copy-paste, not glue code. Every
|
|
1172
|
+
* active filter renders as a Tag chip; this component holds no shadow copy of filter
|
|
1173
|
+
* values, only the transient "which field's popover/input is open right now" UI state
|
|
1174
|
+
* (`panel`), the same way SortMenu holds `open` but never sort state itself.
|
|
1104
1175
|
*
|
|
1105
1176
|
* Visual/interaction language is deliberately identical to SortMenu: a secondary Button
|
|
1106
1177
|
* trigger, a `fd-view-enter` panel positioned with `top: calc(100% + 6px)`, the same
|
|
1107
1178
|
* click-outside/Escape wiring, and the same `fd-stack`/`fd-row`/`fd-overline`/`fd-muted`/
|
|
1108
1179
|
* `fd-body-sm` utility classes — so this reads as built by the same hand, not a new
|
|
1109
1180
|
* import from elsewhere.
|
|
1181
|
+
*
|
|
1182
|
+
* MP-243 adds four variants on top of the original text/select, for audiences too big or
|
|
1183
|
+
* too shaped for a single free-text box or a short dropdown: multiSelect (searchable,
|
|
1184
|
+
* sync or async, for long option lists), range (numeric min/max), date ("within the last
|
|
1185
|
+
* N days" or "between two dates"), and pasteList (the app supplies a resolver; pasted
|
|
1186
|
+
* tokens become selected values, and whatever didn't match is shown, not silently
|
|
1187
|
+
* dropped). All four share the include/exclude OperatorToggle where an operator makes
|
|
1188
|
+
* sense (multiSelect, pasteList); text/select are unchanged and keep their bare-string
|
|
1189
|
+
* value shape, so an existing consumer needs no migration.
|
|
1110
1190
|
*/
|
|
1111
1191
|
declare function FilterBar({ fields, filters, onFilterChange, onFilterRemove, align, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
1112
1192
|
|
|
@@ -4540,4 +4620,4 @@ declare function formatDocumentTitle(routeTitle: string | undefined | null, appN
|
|
|
4540
4620
|
*/
|
|
4541
4621
|
declare function useDocumentTitle(routeTitle: string | undefined | null, appName: string): void;
|
|
4542
4622
|
|
|
4543
|
-
export { AccountMenu, type AccountMenuLink, type AccountMenuProps, AgentChatPanel, type AgentChatPanelProps, AnchoredPopover, type AnchoredPopoverProps, AnimNum, type AnimNumProps, ApiSpecBrowser, type ApiSpecBrowserProps, type AppEntry, AppShell, type AppShellProps, AppSwitcher, type AppSwitcherProps, AppearanceMenu, type AppearanceMenuProps, type AppearancePrefs, type AppearanceStore, type AppearanceStoreOptions, type Attachment, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, BarList, type BarListProps, type BarListRow, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, Calendar, type CalendarProps, Card, type CardProps, CardRow, type CardRowProps, ChannelContribution, type ChannelContributionChannel, type ChannelContributionProps, ChannelMeta, type ChannelMetaRecord, ChannelTag, type ChannelTagProps, ChannelWeightOf, type ChatAdapter, ChatComposer, type ChatComposerProps, type ChatEngine, type ChatEngineOptions, ChatKit, type ChatMessage, type ChatRenderContext, ChatSessionBar, type ChatSessionBarProps, ChatTranscript, type ChatTranscriptProps, ChatTurn, type ChatTurnProps, Checkbox, type CheckboxProps, type Citation, Citations, type CitationsProps, Clamp, type ClampProps, ClockFace, type ClockFaceProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, type DemoSessionControls, DemoSessionProvider, type DeviceSession, DiffBlock, type DiffBlockProps, DonutChart, type DonutChartProps, type DonutSegment, Drawer, type DrawerProps, Dropzone, DropzoneKit, type DropzoneProps, ENTITY_ROW_METRIC_WIDTH, type EditorTrigger, EmptyState, type EmptyStateProps, type EndpointSpec, EntityRow, type EntityRowAction, type EntityRowContent, type EntityRowMetric, EntityRowMetrics, type EntityRowMetricsProps, type EntityRowProps, FILE_VIEWER_CSV_ROW_LIMIT, FILE_VIEWER_TEXT_LIMIT, FeatureGate, type FeatureGateProps, type FeatureStatus, FileBrowser, type FileBrowserFile, type FileBrowserFolder, type FileBrowserPermissions, type FileBrowserProps, FileChip, type FileChipProps, FileGrid, type FileGridProps, FileKit, FilePickButton, type FilePickButtonProps, type FileRejection, FileStrip, type FileStripProps, FileTile, type FileTileProps, type FileUploadHandler, FileViewer, type FileViewerProps, FilterBar, type FilterBarProps, type FilterField, type FilterFieldOption, type FilterFieldSelect, type FilterFieldText, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type Job, type JobAction, type JobCardStatus, type JobStatus, JobTray, type JobTrayProps, Json, KeyHint, type KeyHintProps, type ListEnvelope, LoadingRegion, type LoadingRegionProps, Markdown, MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, MarkdownInline, type MarkdownProps, type MentionSource, Menu, MenuButton, type MenuButtonProps, type MenuItem, type MenuProps, MessageBody, type MessageBodyProps, type MessageGroup, Meter, type MeterProps, type MeterSegment, type MeterSegmentInput, MixGap, type MixGapProps, type MixGapRow, MockJobKit, type MockJobStatus, Modal, type ModalProps, ModeSwitch, type ModeSwitchProps, type Model, ModelControls, type ModelControlsProps, NumberInput, type NumberInputProps, POPOVER_BODY_MIN, type Packet, PacketCard, type PacketCardProps, type PacketSchema, type Pager, Pagination, type PaginationProps, PermissionDenied, type PermissionDeniedProps, type PermissionGroup, PermissionHint, type PermissionItem, type Phase, type PhaseStatus, PhasedProgress, type PhasedProgressProps, type Placement, type PollOptions, Popover, type PopoverProps, type PreferenceCriterion, PreferenceMeter, type PreferenceMeterProps, type ProfileFieldDef, type ProfileFieldType, type ProfileNotificationDef, ProfilePage, type ProfilePageProps, ProgressBar, type ProgressBarProps, QueryKit, type QueuedTurn, QuotaRow, type QuotaRowProps, Radio, type RadioProps, RangeSlider, type RangeSliderProps, RelativeTime, type RelativeTimeProps, type RoadmapItem, type RoadmapResult, RoadmapTimeline, type RoadmapTimelineProps, type Role, RunActions, type RunActionsProps, type RunConfig, RuntimeKit, type RuntimeSummary, SaturationDistribution, type SaturationDistributionCampus, type SaturationDistributionProps, ScoreMeter, type ScoreMeterProps, ScreenHead, type ScreenHeadProps, SearchField, type SearchFieldProps, SegmentedControl, type SegmentedControlProps, SegmentedMeter, type SegmentedMeterProps, Select, type SelectOption, type SelectProps, type SendMessageResult, type ServerTable, type Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, type SignInContinueAs, SignInPage, type SignInPageProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, type TableQuery, Tabs, type TabsProps, Tag, type TagProps, TestModeBar, type TestModeBarProps, type TextScale, Textarea, type TextareaProps, type ThemeMode, ThinkingBlock, type ThinkingBlockProps, type ThreadSummary, TimePicker, type TimePickerProps, Toast, type ToastProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, type UsageLimit, UseFeatureStatus, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, acceptMatches, anyOfFilter, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, groupMessages, hasModifier, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, useFocusTrap, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStagedFiles, visibleMessages };
|
|
4623
|
+
export { AccountMenu, type AccountMenuLink, type AccountMenuProps, AgentChatPanel, type AgentChatPanelProps, AnchoredPopover, type AnchoredPopoverProps, AnimNum, type AnimNumProps, ApiSpecBrowser, type ApiSpecBrowserProps, type AppEntry, AppShell, type AppShellProps, AppSwitcher, type AppSwitcherProps, AppearanceMenu, type AppearanceMenuProps, type AppearancePrefs, type AppearanceStore, type AppearanceStoreOptions, type Attachment, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, BarList, type BarListProps, type BarListRow, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, Calendar, type CalendarProps, Card, type CardProps, CardRow, type CardRowProps, ChannelContribution, type ChannelContributionChannel, type ChannelContributionProps, ChannelMeta, type ChannelMetaRecord, ChannelTag, type ChannelTagProps, ChannelWeightOf, type ChatAdapter, ChatComposer, type ChatComposerProps, type ChatEngine, type ChatEngineOptions, ChatKit, type ChatMessage, type ChatRenderContext, ChatSessionBar, type ChatSessionBarProps, ChatTranscript, type ChatTranscriptProps, ChatTurn, type ChatTurnProps, Checkbox, type CheckboxProps, type Citation, Citations, type CitationsProps, Clamp, type ClampProps, ClockFace, type ClockFaceProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, type DemoSessionControls, DemoSessionProvider, type DeviceSession, DiffBlock, type DiffBlockProps, DonutChart, type DonutChartProps, type DonutSegment, Drawer, type DrawerProps, Dropzone, DropzoneKit, type DropzoneProps, ENTITY_ROW_METRIC_WIDTH, type EditorTrigger, EmptyState, type EmptyStateProps, type EndpointSpec, EntityRow, type EntityRowAction, type EntityRowContent, type EntityRowMetric, EntityRowMetrics, type EntityRowMetricsProps, type EntityRowProps, FILE_VIEWER_CSV_ROW_LIMIT, FILE_VIEWER_TEXT_LIMIT, FeatureGate, type FeatureGateProps, type FeatureStatus, FileBrowser, type FileBrowserFile, type FileBrowserFolder, type FileBrowserPermissions, type FileBrowserProps, FileChip, type FileChipProps, FileGrid, type FileGridProps, FileKit, FilePickButton, type FilePickButtonProps, type FileRejection, FileStrip, type FileStripProps, FileTile, type FileTileProps, type FileUploadHandler, FileViewer, type FileViewerProps, FilterBar, type FilterBarProps, type FilterDateValue, type FilterField, type FilterFieldDate, type FilterFieldMultiSelect, type FilterFieldOption, type FilterFieldPasteList, type FilterFieldRange, type FilterFieldSelect, type FilterFieldText, type FilterMultiSelectValue, type FilterOperator, type FilterRangeValue, type FilterResolveMatch, type FilterResolveResult, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type Job, type JobAction, type JobCardStatus, type JobStatus, JobTray, type JobTrayProps, Json, KeyHint, type KeyHintProps, type ListEnvelope, LoadingRegion, type LoadingRegionProps, Markdown, MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, MarkdownInline, type MarkdownProps, type MentionSource, Menu, MenuButton, type MenuButtonProps, type MenuItem, type MenuProps, MessageBody, type MessageBodyProps, type MessageGroup, Meter, type MeterProps, type MeterSegment, type MeterSegmentInput, MixGap, type MixGapProps, type MixGapRow, MockJobKit, type MockJobStatus, Modal, type ModalProps, ModeSwitch, type ModeSwitchProps, type Model, ModelControls, type ModelControlsProps, NumberInput, type NumberInputProps, POPOVER_BODY_MIN, type Packet, PacketCard, type PacketCardProps, type PacketSchema, type Pager, Pagination, type PaginationProps, PermissionDenied, type PermissionDeniedProps, type PermissionGroup, PermissionHint, type PermissionItem, type Phase, type PhaseStatus, PhasedProgress, type PhasedProgressProps, type Placement, type PollOptions, Popover, type PopoverProps, type PreferenceCriterion, PreferenceMeter, type PreferenceMeterProps, type ProfileFieldDef, type ProfileFieldType, type ProfileNotificationDef, ProfilePage, type ProfilePageProps, ProgressBar, type ProgressBarProps, QueryKit, type QueuedTurn, QuotaRow, type QuotaRowProps, Radio, type RadioProps, RangeSlider, type RangeSliderProps, RelativeTime, type RelativeTimeProps, type RoadmapItem, type RoadmapResult, RoadmapTimeline, type RoadmapTimelineProps, type Role, RunActions, type RunActionsProps, type RunConfig, RuntimeKit, type RuntimeSummary, SaturationDistribution, type SaturationDistributionCampus, type SaturationDistributionProps, ScoreMeter, type ScoreMeterProps, ScreenHead, type ScreenHeadProps, SearchField, type SearchFieldProps, SegmentedControl, type SegmentedControlProps, SegmentedMeter, type SegmentedMeterProps, Select, type SelectOption, type SelectProps, type SendMessageResult, type ServerTable, type Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, type SignInContinueAs, SignInPage, type SignInPageProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, type TableQuery, Tabs, type TabsProps, Tag, type TagProps, TestModeBar, type TestModeBarProps, type TextScale, Textarea, type TextareaProps, type ThemeMode, ThinkingBlock, type ThinkingBlockProps, type ThreadSummary, TimePicker, type TimePickerProps, Toast, type ToastProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, type UsageLimit, UseFeatureStatus, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, acceptMatches, anyOfFilter, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, groupMessages, hasModifier, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, useFocusTrap, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStagedFiles, visibleMessages };
|
package/dist/index.d.ts
CHANGED
|
@@ -1075,13 +1075,84 @@ interface FilterFieldSelect extends FilterFieldBase {
|
|
|
1075
1075
|
type: "select";
|
|
1076
1076
|
options: FilterFieldOption[];
|
|
1077
1077
|
}
|
|
1078
|
-
/**
|
|
1079
|
-
|
|
1078
|
+
/** MP-243: include/exclude, shared by every field whose value is a set of options
|
|
1079
|
+
* (multiSelect and pasteList — paste-a-list resolves onto the same shape once its
|
|
1080
|
+
* tokens are matched, so the two variants share one value model and one operator
|
|
1081
|
+
* control rather than each growing their own). */
|
|
1082
|
+
type FilterOperator = "in" | "notIn";
|
|
1083
|
+
interface FilterMultiSelectValue {
|
|
1084
|
+
operator: FilterOperator;
|
|
1085
|
+
values: FilterFieldOption[];
|
|
1086
|
+
}
|
|
1087
|
+
interface FilterFieldMultiSelect extends FilterFieldBase {
|
|
1088
|
+
type: "multiSelect";
|
|
1089
|
+
/** Sync option list — filtered client-side by the typed query. Omit when `loadOptions`
|
|
1090
|
+
* is given; the two are mutually exclusive (async wins if both are somehow set). */
|
|
1091
|
+
options?: FilterFieldOption[];
|
|
1092
|
+
/** Async option source for long lists (schools, imports, …). Called ~300ms after the
|
|
1093
|
+
* last keystroke, with the current query (possibly ""). Its own rejection is treated
|
|
1094
|
+
* as "no options" rather than surfaced — a transient search failure shouldn't block
|
|
1095
|
+
* the field the way a paste-a-list resolver failure does. */
|
|
1096
|
+
loadOptions?: (query: string) => Promise<FilterFieldOption[]>;
|
|
1097
|
+
placeholder?: string;
|
|
1098
|
+
}
|
|
1099
|
+
interface FilterRangeValue {
|
|
1100
|
+
min?: number;
|
|
1101
|
+
max?: number;
|
|
1102
|
+
}
|
|
1103
|
+
interface FilterFieldRange extends FilterFieldBase {
|
|
1104
|
+
type: "range";
|
|
1105
|
+
/** Bounds enforced on each stepper/typed value — NOT the same as the filter's own
|
|
1106
|
+
* min/max VALUE (FilterRangeValue), which is what the user is narrowing to. */
|
|
1107
|
+
min?: number;
|
|
1108
|
+
max?: number;
|
|
1109
|
+
step?: number;
|
|
1110
|
+
minLabel?: string;
|
|
1111
|
+
maxLabel?: string;
|
|
1112
|
+
minPlaceholder?: string;
|
|
1113
|
+
maxPlaceholder?: string;
|
|
1114
|
+
}
|
|
1115
|
+
type FilterDateValue = {
|
|
1116
|
+
kind: "withinDays";
|
|
1117
|
+
days: number;
|
|
1118
|
+
} | {
|
|
1119
|
+
kind: "between";
|
|
1120
|
+
from: string;
|
|
1121
|
+
to: string;
|
|
1122
|
+
};
|
|
1123
|
+
interface FilterFieldDate extends FilterFieldBase {
|
|
1124
|
+
type: "date";
|
|
1125
|
+
/** Default days shown the first time "within the last N days" is picked. */
|
|
1126
|
+
defaultDays?: number;
|
|
1127
|
+
}
|
|
1128
|
+
interface FilterResolveMatch {
|
|
1129
|
+
token: string;
|
|
1130
|
+
value: string;
|
|
1131
|
+
label: string;
|
|
1132
|
+
}
|
|
1133
|
+
interface FilterResolveResult {
|
|
1134
|
+
matched: FilterResolveMatch[];
|
|
1135
|
+
unmatched: string[];
|
|
1136
|
+
}
|
|
1137
|
+
interface FilterFieldPasteList extends FilterFieldBase {
|
|
1138
|
+
type: "pasteList";
|
|
1139
|
+
/** Resolves pasted tokens against the app's own data. Never called with an empty
|
|
1140
|
+
* token list. A rejection is shown as a visible error — unlike loadOptions, a failed
|
|
1141
|
+
* paste-a-list resolve is exactly the thing the user is waiting on. */
|
|
1142
|
+
resolve: (tokens: string[]) => Promise<FilterResolveResult>;
|
|
1143
|
+
placeholder?: string;
|
|
1144
|
+
}
|
|
1145
|
+
/** A declared filter field. Add a variant here (and a branch below) for a new value
|
|
1146
|
+
* picker. MP-243 added multiSelect/range/date/pasteList alongside the original
|
|
1147
|
+
* text/select — the existing two keep their original value shape (a bare string)
|
|
1148
|
+
* unchanged; every new variant's value is a small typed object of its own. */
|
|
1149
|
+
type FilterField = FilterFieldText | FilterFieldSelect | FilterFieldMultiSelect | FilterFieldRange | FilterFieldDate | FilterFieldPasteList;
|
|
1080
1150
|
interface FilterBarProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "onChange"> {
|
|
1081
1151
|
/** Every filter a consumer can add. Order here is the order in the "add filter" list. */
|
|
1082
1152
|
fields: FilterField[];
|
|
1083
1153
|
/** Straight off useServerTable — a value of undefined/""/false reads as "not set",
|
|
1084
|
-
* same convention that hook already uses for activeFilterCount.
|
|
1154
|
+
* same convention that hook already uses for activeFilterCount. multiSelect/range/
|
|
1155
|
+
* date/pasteList values are objects instead (see isFieldSet). */
|
|
1085
1156
|
filters: Record<string, unknown>;
|
|
1086
1157
|
/** Fires on every value edit. Maps 1:1 onto useServerTable's setFilter(id, value). */
|
|
1087
1158
|
onFilterChange: (key: string, value: unknown) => void;
|
|
@@ -1095,18 +1166,27 @@ interface FilterBarProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "on
|
|
|
1095
1166
|
/**
|
|
1096
1167
|
* FilterBar — the declarative filter system for a server-driven list.
|
|
1097
1168
|
*
|
|
1098
|
-
* A consumer declares fields once (`{ key, label, type
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1169
|
+
* A consumer declares fields once (`{ key, label, type, ... }`) and hands this a live
|
|
1170
|
+
* `filters` record plus onFilterChange/onFilterRemove — the same three things
|
|
1171
|
+
* useServerTable already exposes, so wiring one up is copy-paste, not glue code. Every
|
|
1172
|
+
* active filter renders as a Tag chip; this component holds no shadow copy of filter
|
|
1173
|
+
* values, only the transient "which field's popover/input is open right now" UI state
|
|
1174
|
+
* (`panel`), the same way SortMenu holds `open` but never sort state itself.
|
|
1104
1175
|
*
|
|
1105
1176
|
* Visual/interaction language is deliberately identical to SortMenu: a secondary Button
|
|
1106
1177
|
* trigger, a `fd-view-enter` panel positioned with `top: calc(100% + 6px)`, the same
|
|
1107
1178
|
* click-outside/Escape wiring, and the same `fd-stack`/`fd-row`/`fd-overline`/`fd-muted`/
|
|
1108
1179
|
* `fd-body-sm` utility classes — so this reads as built by the same hand, not a new
|
|
1109
1180
|
* import from elsewhere.
|
|
1181
|
+
*
|
|
1182
|
+
* MP-243 adds four variants on top of the original text/select, for audiences too big or
|
|
1183
|
+
* too shaped for a single free-text box or a short dropdown: multiSelect (searchable,
|
|
1184
|
+
* sync or async, for long option lists), range (numeric min/max), date ("within the last
|
|
1185
|
+
* N days" or "between two dates"), and pasteList (the app supplies a resolver; pasted
|
|
1186
|
+
* tokens become selected values, and whatever didn't match is shown, not silently
|
|
1187
|
+
* dropped). All four share the include/exclude OperatorToggle where an operator makes
|
|
1188
|
+
* sense (multiSelect, pasteList); text/select are unchanged and keep their bare-string
|
|
1189
|
+
* value shape, so an existing consumer needs no migration.
|
|
1110
1190
|
*/
|
|
1111
1191
|
declare function FilterBar({ fields, filters, onFilterChange, onFilterRemove, align, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
1112
1192
|
|
|
@@ -4540,4 +4620,4 @@ declare function formatDocumentTitle(routeTitle: string | undefined | null, appN
|
|
|
4540
4620
|
*/
|
|
4541
4621
|
declare function useDocumentTitle(routeTitle: string | undefined | null, appName: string): void;
|
|
4542
4622
|
|
|
4543
|
-
export { AccountMenu, type AccountMenuLink, type AccountMenuProps, AgentChatPanel, type AgentChatPanelProps, AnchoredPopover, type AnchoredPopoverProps, AnimNum, type AnimNumProps, ApiSpecBrowser, type ApiSpecBrowserProps, type AppEntry, AppShell, type AppShellProps, AppSwitcher, type AppSwitcherProps, AppearanceMenu, type AppearanceMenuProps, type AppearancePrefs, type AppearanceStore, type AppearanceStoreOptions, type Attachment, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, BarList, type BarListProps, type BarListRow, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, Calendar, type CalendarProps, Card, type CardProps, CardRow, type CardRowProps, ChannelContribution, type ChannelContributionChannel, type ChannelContributionProps, ChannelMeta, type ChannelMetaRecord, ChannelTag, type ChannelTagProps, ChannelWeightOf, type ChatAdapter, ChatComposer, type ChatComposerProps, type ChatEngine, type ChatEngineOptions, ChatKit, type ChatMessage, type ChatRenderContext, ChatSessionBar, type ChatSessionBarProps, ChatTranscript, type ChatTranscriptProps, ChatTurn, type ChatTurnProps, Checkbox, type CheckboxProps, type Citation, Citations, type CitationsProps, Clamp, type ClampProps, ClockFace, type ClockFaceProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, type DemoSessionControls, DemoSessionProvider, type DeviceSession, DiffBlock, type DiffBlockProps, DonutChart, type DonutChartProps, type DonutSegment, Drawer, type DrawerProps, Dropzone, DropzoneKit, type DropzoneProps, ENTITY_ROW_METRIC_WIDTH, type EditorTrigger, EmptyState, type EmptyStateProps, type EndpointSpec, EntityRow, type EntityRowAction, type EntityRowContent, type EntityRowMetric, EntityRowMetrics, type EntityRowMetricsProps, type EntityRowProps, FILE_VIEWER_CSV_ROW_LIMIT, FILE_VIEWER_TEXT_LIMIT, FeatureGate, type FeatureGateProps, type FeatureStatus, FileBrowser, type FileBrowserFile, type FileBrowserFolder, type FileBrowserPermissions, type FileBrowserProps, FileChip, type FileChipProps, FileGrid, type FileGridProps, FileKit, FilePickButton, type FilePickButtonProps, type FileRejection, FileStrip, type FileStripProps, FileTile, type FileTileProps, type FileUploadHandler, FileViewer, type FileViewerProps, FilterBar, type FilterBarProps, type FilterField, type FilterFieldOption, type FilterFieldSelect, type FilterFieldText, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type Job, type JobAction, type JobCardStatus, type JobStatus, JobTray, type JobTrayProps, Json, KeyHint, type KeyHintProps, type ListEnvelope, LoadingRegion, type LoadingRegionProps, Markdown, MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, MarkdownInline, type MarkdownProps, type MentionSource, Menu, MenuButton, type MenuButtonProps, type MenuItem, type MenuProps, MessageBody, type MessageBodyProps, type MessageGroup, Meter, type MeterProps, type MeterSegment, type MeterSegmentInput, MixGap, type MixGapProps, type MixGapRow, MockJobKit, type MockJobStatus, Modal, type ModalProps, ModeSwitch, type ModeSwitchProps, type Model, ModelControls, type ModelControlsProps, NumberInput, type NumberInputProps, POPOVER_BODY_MIN, type Packet, PacketCard, type PacketCardProps, type PacketSchema, type Pager, Pagination, type PaginationProps, PermissionDenied, type PermissionDeniedProps, type PermissionGroup, PermissionHint, type PermissionItem, type Phase, type PhaseStatus, PhasedProgress, type PhasedProgressProps, type Placement, type PollOptions, Popover, type PopoverProps, type PreferenceCriterion, PreferenceMeter, type PreferenceMeterProps, type ProfileFieldDef, type ProfileFieldType, type ProfileNotificationDef, ProfilePage, type ProfilePageProps, ProgressBar, type ProgressBarProps, QueryKit, type QueuedTurn, QuotaRow, type QuotaRowProps, Radio, type RadioProps, RangeSlider, type RangeSliderProps, RelativeTime, type RelativeTimeProps, type RoadmapItem, type RoadmapResult, RoadmapTimeline, type RoadmapTimelineProps, type Role, RunActions, type RunActionsProps, type RunConfig, RuntimeKit, type RuntimeSummary, SaturationDistribution, type SaturationDistributionCampus, type SaturationDistributionProps, ScoreMeter, type ScoreMeterProps, ScreenHead, type ScreenHeadProps, SearchField, type SearchFieldProps, SegmentedControl, type SegmentedControlProps, SegmentedMeter, type SegmentedMeterProps, Select, type SelectOption, type SelectProps, type SendMessageResult, type ServerTable, type Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, type SignInContinueAs, SignInPage, type SignInPageProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, type TableQuery, Tabs, type TabsProps, Tag, type TagProps, TestModeBar, type TestModeBarProps, type TextScale, Textarea, type TextareaProps, type ThemeMode, ThinkingBlock, type ThinkingBlockProps, type ThreadSummary, TimePicker, type TimePickerProps, Toast, type ToastProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, type UsageLimit, UseFeatureStatus, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, acceptMatches, anyOfFilter, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, groupMessages, hasModifier, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, useFocusTrap, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStagedFiles, visibleMessages };
|
|
4623
|
+
export { AccountMenu, type AccountMenuLink, type AccountMenuProps, AgentChatPanel, type AgentChatPanelProps, AnchoredPopover, type AnchoredPopoverProps, AnimNum, type AnimNumProps, ApiSpecBrowser, type ApiSpecBrowserProps, type AppEntry, AppShell, type AppShellProps, AppSwitcher, type AppSwitcherProps, AppearanceMenu, type AppearanceMenuProps, type AppearancePrefs, type AppearanceStore, type AppearanceStoreOptions, type Attachment, Avatar, type AvatarProps, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, Banner, type BannerProps, type BannerTone, BarList, type BarListProps, type BarListRow, BudgetReallocator, type BudgetReallocatorProps, Button, type ButtonProps, CHANNELS, CHANNEL_WEIGHTS, CHAT_UNAVAILABLE, Calendar, type CalendarProps, Card, type CardProps, CardRow, type CardRowProps, ChannelContribution, type ChannelContributionChannel, type ChannelContributionProps, ChannelMeta, type ChannelMetaRecord, ChannelTag, type ChannelTagProps, ChannelWeightOf, type ChatAdapter, ChatComposer, type ChatComposerProps, type ChatEngine, type ChatEngineOptions, ChatKit, type ChatMessage, type ChatRenderContext, ChatSessionBar, type ChatSessionBarProps, ChatTranscript, type ChatTranscriptProps, ChatTurn, type ChatTurnProps, Checkbox, type CheckboxProps, type Citation, Citations, type CitationsProps, Clamp, type ClampProps, ClockFace, type ClockFaceProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ComingSoon, type ComingSoonProps, type ContextUsage, type CreateVersionStoreOptions, CsiBadge, type CsiBadgeProps, CsiHero, type CsiHeroProps, CsiMeter, type CsiMeterProps, DEFAULT_PREFS, DEFAULT_STORAGE_KEY, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, type DemoSessionControls, DemoSessionProvider, type DeviceSession, DiffBlock, type DiffBlockProps, DonutChart, type DonutChartProps, type DonutSegment, Drawer, type DrawerProps, Dropzone, DropzoneKit, type DropzoneProps, ENTITY_ROW_METRIC_WIDTH, type EditorTrigger, EmptyState, type EmptyStateProps, type EndpointSpec, EntityRow, type EntityRowAction, type EntityRowContent, type EntityRowMetric, EntityRowMetrics, type EntityRowMetricsProps, type EntityRowProps, FILE_VIEWER_CSV_ROW_LIMIT, FILE_VIEWER_TEXT_LIMIT, FeatureGate, type FeatureGateProps, type FeatureStatus, FileBrowser, type FileBrowserFile, type FileBrowserFolder, type FileBrowserPermissions, type FileBrowserProps, FileChip, type FileChipProps, FileGrid, type FileGridProps, FileKit, FilePickButton, type FilePickButtonProps, type FileRejection, FileStrip, type FileStripProps, FileTile, type FileTileProps, type FileUploadHandler, FileViewer, type FileViewerProps, FilterBar, type FilterBarProps, type FilterDateValue, type FilterField, type FilterFieldDate, type FilterFieldMultiSelect, type FilterFieldOption, type FilterFieldPasteList, type FilterFieldRange, type FilterFieldSelect, type FilterFieldText, type FilterMultiSelectValue, type FilterOperator, type FilterRangeValue, type FilterResolveMatch, type FilterResolveResult, Flag$1 as Flag, type FlagExplanation, type FlagProps, FlytedeskBrand, type FlytedeskBrandProps, FlytedeskMark, type FlytedeskMarkProps, FormatEta, FunnelChart, type FunnelChartProps, type FunnelStep, Gate, type GateProps, IMPORTANCE_LEVELS, IconButton, type IconButtonProps, type ImportanceLevel, type ImportanceLevelId, ImportanceTag, type ImportanceTagProps, type ImportanceTokens, Input, type InputProps, type Job, type JobAction, type JobCardStatus, type JobStatus, JobTray, type JobTrayProps, Json, KeyHint, type KeyHintProps, type ListEnvelope, LoadingRegion, type LoadingRegionProps, Markdown, MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, MarkdownInline, type MarkdownProps, type MentionSource, Menu, MenuButton, type MenuButtonProps, type MenuItem, type MenuProps, MessageBody, type MessageBodyProps, type MessageGroup, Meter, type MeterProps, type MeterSegment, type MeterSegmentInput, MixGap, type MixGapProps, type MixGapRow, MockJobKit, type MockJobStatus, Modal, type ModalProps, ModeSwitch, type ModeSwitchProps, type Model, ModelControls, type ModelControlsProps, NumberInput, type NumberInputProps, POPOVER_BODY_MIN, type Packet, PacketCard, type PacketCardProps, type PacketSchema, type Pager, Pagination, type PaginationProps, PermissionDenied, type PermissionDeniedProps, type PermissionGroup, PermissionHint, type PermissionItem, type Phase, type PhaseStatus, PhasedProgress, type PhasedProgressProps, type Placement, type PollOptions, Popover, type PopoverProps, type PreferenceCriterion, PreferenceMeter, type PreferenceMeterProps, type ProfileFieldDef, type ProfileFieldType, type ProfileNotificationDef, ProfilePage, type ProfilePageProps, ProgressBar, type ProgressBarProps, QueryKit, type QueuedTurn, QuotaRow, type QuotaRowProps, Radio, type RadioProps, RangeSlider, type RangeSliderProps, RelativeTime, type RelativeTimeProps, type RoadmapItem, type RoadmapResult, RoadmapTimeline, type RoadmapTimelineProps, type Role, RunActions, type RunActionsProps, type RunConfig, RuntimeKit, type RuntimeSummary, SaturationDistribution, type SaturationDistributionCampus, type SaturationDistributionProps, ScoreMeter, type ScoreMeterProps, ScreenHead, type ScreenHeadProps, SearchField, type SearchFieldProps, SegmentedControl, type SegmentedControlProps, SegmentedMeter, type SegmentedMeterProps, Select, type SelectOption, type SelectProps, type SendMessageResult, type ServerTable, type Session, type SessionContextValue, type Flag as SessionFlag, SessionKit, SessionProvider, type SessionProviderProps, type SessionRole, type SessionStats, type SessionUser, SidebarNav, type SidebarNavItem, type SidebarNavProps, type SignInContinueAs, SignInPage, type SignInPageProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, type SlashCommand, Slider, type SliderProps, SortMenu, type SortMenuField, type SortMenuProps, type SpecModule, Spinner, type SpinnerProps, StatTile, type StatTileProps, type Step, StepList, type StepListProps, type StreamHandlers, type Suggestion, SurroundSound, type SurroundSoundProps, Switch, type SwitchProps, type TableQuery, Tabs, type TabsProps, Tag, type TagProps, TestModeBar, type TestModeBarProps, type TextScale, Textarea, type TextareaProps, type ThemeMode, ThinkingBlock, type ThinkingBlockProps, type ThreadSummary, TimePicker, type TimePickerProps, Toast, type ToastProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, TranscriptKit, TransferList, type TransferListProps, type TransferListSide, type TransferListSideProps, TrendChart, type TrendChartProps, type TrendSeries, type UsageLimit, UseFeatureStatus, type UseResponsiveRailOptions, type UseResponsiveRailResult, UseRuntimeMode, type UseServerTableOptions, type User, VIRTUAL_LIST_BUFFER_ROWS, VIRTUAL_LIST_ROW_GAP, type VersionRecord, type VersionStore, VirtualList, type VirtualListProps, type VirtualLoadedBand, type VirtualWindow, type VoiceHandler, acceptMatches, anyOfFilter, applyPrefs, channelWeightOf, computeNeedMore, computeVirtualWindow, createLocalStorageAppearanceStore, createVersionStore, eqFilter, extensionOf, extractClipboardFiles, filterFiles, formatAbsolute, formatBytes, formatClock, formatDocumentTitle, formatDuration, formatEta, formatRelative, groupMessages, hasModifier, iconForMime, importanceLevel, importanceTokens, installFlytedeskFavicon, isImage, isSystemMessage, jobBucket, languageLabel, loadPrefs, markdownToText, meterFormats, modifierLabel, parseDelimited, pastedTextName, pluralizeUnit, preferenceScore, preferenceSegments, rangeFilter, resolveTheme, revokeAttachment, savePrefs, toAttachment, tokenize, useAppearancePrefs, useChatEngine, useDocumentTitle, useFeatureStatus, useFocusTrap, usePopoverPosition, useResponsiveRail, useRuntimeMode, useServerTable, useSessionContext, useStagedFiles, visibleMessages };
|