@sia.soul/sia-react-ui 0.1.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.
Files changed (46) hide show
  1. package/README.md +37 -0
  2. package/THIRD_PARTY_NOTICES.md +12 -0
  3. package/dist/Select-CJJ5LQap.d.cts +44 -0
  4. package/dist/Select-CJJ5LQap.d.ts +44 -0
  5. package/dist/chart.cjs +7523 -0
  6. package/dist/chart.css +1036 -0
  7. package/dist/chart.d.cts +2061 -0
  8. package/dist/chart.d.ts +2061 -0
  9. package/dist/chart.js +120 -0
  10. package/dist/chunk-34TTF4Y7.js +812 -0
  11. package/dist/chunk-6VXOLMKZ.js +381 -0
  12. package/dist/chunk-DZ45HRVP.js +583 -0
  13. package/dist/chunk-I342FGQY.js +7344 -0
  14. package/dist/chunk-JKZGAZMB.js +318 -0
  15. package/dist/chunk-MBS2HXLZ.js +59 -0
  16. package/dist/chunk-NZAT2RUM.js +60 -0
  17. package/dist/chunk-OMA75YLM.js +298 -0
  18. package/dist/chunk-ULEGTKXR.js +2138 -0
  19. package/dist/chunk-YCVXUMGP.js +945 -0
  20. package/dist/core-BeiAQiDY.d.ts +1076 -0
  21. package/dist/core-DRICIs2n.d.cts +1076 -0
  22. package/dist/core.cjs +3353 -0
  23. package/dist/core.css +8734 -0
  24. package/dist/core.d.cts +3 -0
  25. package/dist/core.d.ts +3 -0
  26. package/dist/core.js +45 -0
  27. package/dist/index.cjs +19658 -0
  28. package/dist/index.css +9762 -0
  29. package/dist/index.d.cts +1222 -0
  30. package/dist/index.d.ts +1222 -0
  31. package/dist/index.js +6843 -0
  32. package/dist/markdown-editor.cjs +417 -0
  33. package/dist/markdown-editor.d.cts +28 -0
  34. package/dist/markdown-editor.d.ts +28 -0
  35. package/dist/markdown-editor.js +6 -0
  36. package/dist/rich-text-editor.cjs +1853 -0
  37. package/dist/rich-text-editor.d.cts +27 -0
  38. package/dist/rich-text-editor.d.ts +27 -0
  39. package/dist/rich-text-editor.js +11 -0
  40. package/dist/select-date-range-BDWdo7qt.d.ts +84 -0
  41. package/dist/select-date-range-DWik3ADr.d.cts +84 -0
  42. package/dist/select-date-range.cjs +2074 -0
  43. package/dist/select-date-range.d.cts +3 -0
  44. package/dist/select-date-range.d.ts +3 -0
  45. package/dist/select-date-range.js +8 -0
  46. package/package.json +129 -0
@@ -0,0 +1,1222 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ButtonHTMLAttributes } from 'react';
3
+ import { O as OverlayContainer, a as OverlayApiHandle } from './core-BeiAQiDY.js';
4
+ export { B as Badge, b as BadgeProps, c as BadgeRibbonProps, d as BadgeStatus, e as Breadcrumb, f as BreadcrumbItem, g as BreadcrumbProps, h as Button, i as ButtonProps, j as ButtonSize, k as ButtonVariant, C as Calendar, l as CalendarProps, m as Card, n as CardAccent, o as CardProps, p as Carousel, q as CarouselProps, r as CarouselRef, s as Collapse, t as CollapseItem, u as CollapseKey, v as CollapseProps, D as Dropdown, w as DropdownButtonProps, x as DropdownMenuProps, y as DropdownOpenSource, z as DropdownPlacement, A as DropdownProps, E as DropdownTrigger, F as FILLED_ICON_NAMES, G as FilledIconName, H as FloatButton, I as FloatButtonBackTopProps, J as FloatButtonGroupProps, K as FloatButtonProps, L as FloatButtonShape, M as FloatingPlacement, N as FloatingTrigger, P as ICON_NAMES, Q as Icon, R as IconName, S as IconProps, T as IconVariant, U as Image, V as ImagePreview, W as ImagePreviewConfig, X as ImagePreviewProps, Y as ImageProps, Z as Input, _ as InputProps, $ as Menu, a0 as MenuClickInfo, a1 as MenuItem, a2 as MenuMode, a3 as MenuProps, a4 as MenuTheme, a5 as MessageConfig, a6 as MessageHandle, a7 as MessageKey, a8 as MessageType, a9 as Modal, aa as ModalActionResult, ab as ModalOpenConfig, ac as ModalProps, ad as ModalType, ae as NotificationConfig, af as NotificationPlacement, ag as NotificationType, ah as Popconfirm, ai as PopconfirmProps, aj as Popover, ak as PopoverProps, al as Progress, am as ProgressProps, an as ProgressStatus, ao as Rate, ap as RateProps, aq as Segmented, ar as SegmentedOption, as as SegmentedProps, at as SegmentedValue, au as Spin, av as SpinProps, aw as StepItem, ax as StepStatus, ay as Steps, az as StepsProps, aA as TabItem, aB as Tabs, aC as TabsContextMenuClickInfo, aD as TabsOrientation, aE as TabsPosition, aF as TabsProps, aG as TabsType, aH as Tag, aI as TagProps, aJ as TagStatus, aK as TagVariant, aL as Timeline, aM as TimelineItem, aN as TimelineProps, aO as Tooltip, aP as TooltipProps, aQ as Tour, aR as TourProps, aS as TourStep, aT as Tree, aU as TreeDropPosition, aV as TreeKey, aW as TreeNode, aX as TreeProps, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, b8 as Watermark, b9 as WatermarkFont, ba as WatermarkProps, bb as message, bc as notification } from './core-BeiAQiDY.js';
5
+ export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-BDWdo7qt.js';
6
+ import { C as ControlSize, a as ControlStatus, I as InputPlaceholderMode } from './Select-CJJ5LQap.js';
7
+ export { S as Select, b as SelectChangeValue, c as SelectMode, d as SelectOption, e as SelectProps, f as SelectValue } from './Select-CJJ5LQap.js';
8
+ export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.js';
9
+ export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.js';
10
+ import * as Monaco from 'monaco-editor';
11
+ export { BaiduMapHostOptions, BaiduMapInstance, BaiduMapNamespace, BaiduMapPoint, BarChart, BarChartProps, BarDatum, BarSeries, CHART_VIEWBOX_HEIGHT, CHART_VIEWBOX_WIDTH, CandlestickChart, CandlestickChartProps, CandlestickDatum, CartesianChartProps, ChartAxis, ChartAxisProps, ChartComposite, ChartCompositeLayer, ChartCompositeProps, ChartCompositeRef, ChartDataClickInfo, ChartDataEditor, ChartDataEditorProps, ChartDataZoom, ChartDataZoomProps, ChartLegend, ChartLegendItem, ChartLegendProps, ChartMapOverlay, ChartMapOverlayProps, ChartMark, ChartMarkProps, ChartRoamController, ChartRoamControllerProps, ChartSeries, ChartTimeline, ChartTimelineProps, ChartToolbox, ChartToolboxFeature, ChartToolboxOptions, ChartToolboxProps, ChartTooltip, ChartTooltipProps, ChartValueAddress, ChartValueChannel, ChartValueIsland, ChartValueIslandProps, ChartValueTransferHandler, ChartVisualMap, ChartVisualMapProps, ChartWhirlingLoading, ChartWhirlingLoadingProps, ChordChart, ChordChartProps, ChordLink, ChordNode, DEFAULT_CHART_PALETTE, EventRiverChart, EventRiverChartProps, EventRiverEvent, EventRiverEvolution, EventRiverSeries, ForceChart, ForceGraphChart, FunnelChart, FunnelChartProps, FunnelDatum, FunnelSeries, GaugeChart, GaugeChartProps, GaugeDatum, GeoJsonFeature, GeoJsonFeatureCollection, GeoJsonMultiPolygonGeometry, GeoJsonPolygonGeometry, GraphChart, GraphChartProps, GraphLink, GraphNode, HeatmapChart, HeatmapChartProps, HeatmapPoint, KLineChart, LineChart, LineChartProps, LinePoint, LineSeries, LineShareChart, LineShareChartProps, MapChart, MapChartProps, MapDatum, MapMarkLine, MapMarkPoint, MapOverlayEvent, MapOverlayHost, MapOverlaySnapshot, MixedChart, MixedChartProps, MixedSeries, PieChart, PieChartProps, PieDatum, PieSeries, RadarChart, RadarChartProps, RadarIndicator, RadarPanel, RadarSeries, ScatterChart, ScatterChartProps, ScatterDatum, ScatterVisualMap, SiaChart, SiaChartProps, SiaChartRef, SvgMapPlot, SvgMapPlotProps, ThemeRiverChart, ThemeRiverChartProps, ThemeRiverSeries, TreeChart, TreeChartProps, TreeDatum, TreemapChart, TreemapChartProps, TreemapDatum, TreemapItemStyle, VennChart, VennChartProps, VennIntersection, VennSet, WordCloudChart, WordCloudChartProps, WordCloudDatum, XYChart, XYChartProps, XYSeries, chartColor, chartTicks, createBaiduMapHost, formatChartNumber, getChartMap, linearScale, niceChartDomain, paddedValueExtent, registerChartMap, saveCompositeImage, serializeChartStack, smoothSvgPath, svgArcPath, transferCompositeValue } from './chart.js';
12
+ import 'vditor';
13
+
14
+ type AlertStatus = "info" | "success" | "warning" | "error";
15
+ interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
16
+ status?: AlertStatus;
17
+ type?: AlertStatus;
18
+ title?: ReactNode;
19
+ message?: ReactNode;
20
+ description?: ReactNode;
21
+ action?: ReactNode;
22
+ showIcon?: boolean;
23
+ closable?: boolean;
24
+ closeIcon?: ReactNode;
25
+ banner?: boolean;
26
+ onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
27
+ afterClose?: () => void;
28
+ }
29
+ declare function Alert({ status, type, title, message, description, action, showIcon, closable, closeIcon, banner, onClose, afterClose, className, ...props }: AlertProps): react.JSX.Element | null;
30
+
31
+ declare const DEFAULT_PAGE_SIZE_OPTIONS: readonly [10, 25, 50, 100, 200, 500, 1000, 2000, 5000];
32
+ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, "onChange"> {
33
+ total?: number;
34
+ current?: number;
35
+ defaultCurrent?: number;
36
+ pageSize?: number;
37
+ defaultPageSize?: number;
38
+ pageSizeOptions?: readonly number[];
39
+ showSizeChanger?: boolean;
40
+ showTotal?: boolean | ((total: number, range: [number, number]) => ReactNode);
41
+ disabled?: boolean;
42
+ hideOnSinglePage?: boolean;
43
+ refreshing?: boolean;
44
+ onRefreshTotal?: () => void | Promise<void>;
45
+ onChange?: (page: number, pageSize: number) => void;
46
+ onShowSizeChange?: (current: number, pageSize: number) => void;
47
+ }
48
+ declare function Pagination({ total, current, defaultCurrent, pageSize, defaultPageSize, pageSizeOptions, showSizeChanger, showTotal, disabled, hideOnSinglePage, refreshing, onRefreshTotal, onChange, onShowSizeChange, className, ...props }: PaginationProps): react.JSX.Element | null;
49
+
50
+ type CascaderValue = string | number;
51
+ interface CascaderOption {
52
+ value: CascaderValue;
53
+ label?: ReactNode;
54
+ disabled?: boolean;
55
+ isLeaf?: boolean;
56
+ children?: readonly CascaderOption[];
57
+ [key: string]: unknown;
58
+ }
59
+ interface CascaderFieldNames {
60
+ label?: string;
61
+ value?: string;
62
+ children?: string;
63
+ }
64
+ interface CascaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
65
+ options: readonly CascaderOption[];
66
+ value?: readonly CascaderValue[] | readonly (readonly CascaderValue[])[];
67
+ defaultValue?: readonly CascaderValue[] | readonly (readonly CascaderValue[])[];
68
+ multiple?: boolean;
69
+ showSearch?: boolean;
70
+ allowClear?: boolean;
71
+ changeOnSelect?: boolean;
72
+ expandTrigger?: "click" | "hover";
73
+ placeholder?: ReactNode;
74
+ disabled?: boolean;
75
+ fieldNames?: CascaderFieldNames;
76
+ displayRender?: (labels: ReactNode[], selectedOptions: CascaderOption[]) => ReactNode;
77
+ loadData?: (selectedOptions: CascaderOption[]) => void | Promise<void>;
78
+ onChange?: (value: readonly CascaderValue[] | readonly (readonly CascaderValue[])[] | undefined, selectedOptions: CascaderOption[] | CascaderOption[][]) => void;
79
+ }
80
+ declare function Cascader({ options, value, defaultValue, multiple, showSearch, allowClear, changeOnSelect, expandTrigger, placeholder, disabled, fieldNames, displayRender, loadData, onChange, className, ...props }: CascaderProps): react.JSX.Element;
81
+
82
+ type LayoutGap = "small" | "medium" | "large" | number | string;
83
+ type FlexAlign = "normal" | "start" | "center" | "end" | "stretch" | "baseline";
84
+ type FlexJustify = "normal" | "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly";
85
+ interface FlexProps extends HTMLAttributes<HTMLElement> {
86
+ vertical?: boolean;
87
+ orientation?: "horizontal" | "vertical";
88
+ wrap?: boolean | CSSProperties["flexWrap"];
89
+ justify?: FlexJustify;
90
+ align?: FlexAlign;
91
+ gap?: LayoutGap;
92
+ flex?: CSSProperties["flex"];
93
+ component?: ElementType;
94
+ }
95
+ declare function Flex({ vertical, orientation, wrap, justify, align, gap, flex, component: Component, className, style, ...props }: FlexProps): react.JSX.Element;
96
+ interface SpaceProps extends HTMLAttributes<HTMLDivElement> {
97
+ direction?: "horizontal" | "vertical";
98
+ size?: LayoutGap | readonly [LayoutGap, LayoutGap];
99
+ align?: "start" | "center" | "end" | "baseline";
100
+ wrap?: boolean;
101
+ split?: ReactNode;
102
+ }
103
+ interface SpaceCompactProps extends HTMLAttributes<HTMLDivElement> {
104
+ direction?: "horizontal" | "vertical";
105
+ block?: boolean;
106
+ }
107
+ declare function SpaceCompact({ direction, block, className, ...props }: SpaceCompactProps): react.JSX.Element;
108
+ declare function SpaceRoot({ direction, size, align, wrap, split, className, style, children, ...props }: SpaceProps): react.JSX.Element;
109
+ declare const Space: typeof SpaceRoot & {
110
+ Compact: typeof SpaceCompact;
111
+ };
112
+ interface DividerProps extends HTMLAttributes<HTMLDivElement> {
113
+ orientation?: "horizontal" | "vertical";
114
+ variant?: "solid" | "dashed" | "dotted";
115
+ textAlign?: "start" | "center" | "end";
116
+ plain?: boolean;
117
+ children?: ReactNode;
118
+ }
119
+ declare function Divider({ orientation, variant, textAlign, plain, children, className, ...props }: DividerProps): react.JSX.Element;
120
+ type GridBreakpoint = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
121
+ type GridResponsive<T> = T | Partial<Record<GridBreakpoint, T>>;
122
+ interface RowProps extends HTMLAttributes<HTMLDivElement> {
123
+ gutter?: LayoutGap | readonly [LayoutGap, LayoutGap];
124
+ align?: GridResponsive<"top" | "middle" | "bottom" | "stretch">;
125
+ justify?: GridResponsive<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly">;
126
+ wrap?: boolean;
127
+ }
128
+ declare function Row({ gutter, align, justify, wrap, className, style, ...props }: RowProps): react.JSX.Element;
129
+ interface ColSize {
130
+ span?: number;
131
+ offset?: number;
132
+ order?: number;
133
+ push?: number;
134
+ pull?: number;
135
+ }
136
+ interface ColProps extends HTMLAttributes<HTMLDivElement>, ColSize {
137
+ flex?: number | string;
138
+ xs?: number | ColSize;
139
+ sm?: number | ColSize;
140
+ md?: number | ColSize;
141
+ lg?: number | ColSize;
142
+ xl?: number | ColSize;
143
+ xxl?: number | ColSize;
144
+ }
145
+ declare function Col({ span, offset, order, push, pull, flex, xs, sm, md, lg, xl, xxl, className, style, ...props }: ColProps): react.JSX.Element;
146
+
147
+ interface SplitterPanelProps extends HTMLAttributes<HTMLDivElement> {
148
+ defaultSize?: number;
149
+ defaultCollapsed?: boolean;
150
+ min?: number;
151
+ max?: number;
152
+ collapsible?: boolean;
153
+ collapsedSize?: number;
154
+ collapsedContent?: ReactNode;
155
+ collapsedAriaLabel?: string;
156
+ resizable?: boolean;
157
+ children?: ReactNode;
158
+ }
159
+ interface SplitterProps extends Omit<HTMLAttributes<HTMLDivElement>, "onResize"> {
160
+ orientation?: "horizontal" | "vertical";
161
+ onResize?: (sizes: readonly number[]) => void;
162
+ onResizeEnd?: (sizes: readonly number[]) => void;
163
+ }
164
+ declare function SplitterPanel({ defaultSize: _defaultSize, defaultCollapsed: _defaultCollapsed, min: _min, max: _max, collapsible: _collapsible, collapsedSize: _collapsedSize, collapsedContent: _collapsedContent, collapsedAriaLabel: _collapsedAriaLabel, resizable: _resizable, className, ...props }: SplitterPanelProps): react.JSX.Element;
165
+ declare function SplitterRoot({ orientation, onResize, onResizeEnd, className, children, ...props }: SplitterProps): react.JSX.Element;
166
+ declare const Splitter: typeof SplitterRoot & {
167
+ Panel: typeof SplitterPanel;
168
+ };
169
+
170
+ type ToolPanelPlacement = "left" | "right";
171
+ interface ToolPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "onResize"> {
172
+ title: ReactNode;
173
+ icon?: ReactNode;
174
+ placement?: ToolPanelPlacement;
175
+ open?: boolean;
176
+ defaultOpen?: boolean;
177
+ defaultSize?: number;
178
+ minSize?: number;
179
+ maxSize?: number;
180
+ onOpenChange?: (open: boolean) => void;
181
+ onResize?: (size: number) => void;
182
+ onResizeEnd?: (size: number) => void;
183
+ }
184
+ declare function ToolPanel({ title, icon, placement, open, defaultOpen, defaultSize, minSize, maxSize, onOpenChange, onResize, onResizeEnd, className, style, children, ...props }: ToolPanelProps): react.JSX.Element;
185
+
186
+ type WindowAction = "start-dragging" | "minimize" | "toggle-maximize" | "close";
187
+ type WindowControlAction = Exclude<WindowAction, "start-dragging">;
188
+ type WindowActionHandler = (action: WindowAction) => void | Promise<void>;
189
+ type WindowTitleBarActionsAlign = "left" | "right";
190
+ interface WindowControlLabels {
191
+ minimize: string;
192
+ maximize: string;
193
+ restore: string;
194
+ close: string;
195
+ }
196
+ interface WindowFrameProps extends HTMLAttributes<HTMLDivElement> {
197
+ titleBar?: ReactNode;
198
+ }
199
+ interface WindowControlsProps extends HTMLAttributes<HTMLDivElement> {
200
+ maximized?: boolean;
201
+ showMinimize?: boolean;
202
+ showMaximize?: boolean;
203
+ showClose?: boolean;
204
+ disabledActions?: readonly WindowControlAction[];
205
+ labels?: Partial<WindowControlLabels>;
206
+ onAction?: WindowActionHandler;
207
+ }
208
+ interface WindowTitleBarProps extends HTMLAttributes<HTMLElement> {
209
+ leading?: ReactNode;
210
+ actions?: ReactNode;
211
+ actionsAlign?: WindowTitleBarActionsAlign;
212
+ controls?: boolean | ReactNode;
213
+ maximized?: boolean;
214
+ draggable?: boolean;
215
+ disabledActions?: readonly WindowControlAction[];
216
+ controlLabels?: Partial<WindowControlLabels>;
217
+ onWindowAction?: WindowActionHandler;
218
+ }
219
+ declare function WindowFrame({ titleBar, className, children, ...props }: WindowFrameProps): react.JSX.Element;
220
+ declare function WindowControls({ maximized, showMinimize, showMaximize, showClose, disabledActions, labels, onAction, className, ...props }: WindowControlsProps): react.JSX.Element;
221
+ declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
222
+
223
+ type DrawerPlacement = "left" | "right" | "top" | "bottom";
224
+ interface DrawerPushConfig {
225
+ distance?: number | string;
226
+ }
227
+ type DrawerPush = boolean | DrawerPushConfig;
228
+ interface DrawerProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
229
+ open: boolean;
230
+ title?: ReactNode;
231
+ children?: ReactNode;
232
+ extra?: ReactNode;
233
+ footer?: ReactNode;
234
+ placement?: DrawerPlacement;
235
+ size?: number | string;
236
+ closable?: boolean;
237
+ maskClosable?: boolean;
238
+ keyboard?: boolean;
239
+ zIndex?: number;
240
+ /** 子抽屉打开时是否推移当前抽屉,默认开启。 */
241
+ push?: DrawerPush;
242
+ /** 适用于同级 Portal 渲染的多层抽屉,按层数累计推移。 */
243
+ pushDepth?: number;
244
+ getContainer?: OverlayContainer;
245
+ onClose?: () => void;
246
+ onOpenChange?: (open: boolean) => void;
247
+ /** 展开动画完成且面板已稳定后触发。 */
248
+ afterOpen?: () => void;
249
+ /** 关闭动画完成且面板已隐藏后触发。 */
250
+ afterClose?: () => void;
251
+ }
252
+ interface DrawerOpenConfig extends Omit<DrawerProps, "open"> {
253
+ }
254
+ declare function openDrawer(config: DrawerOpenConfig): OverlayApiHandle<DrawerOpenConfig>;
255
+ declare const Drawer: react.ForwardRefExoticComponent<DrawerProps & react.RefAttributes<HTMLDivElement>> & {
256
+ open: typeof openDrawer;
257
+ destroyAll(): void;
258
+ };
259
+
260
+ type SwitchVariant = "standard" | "segmented";
261
+ interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> {
262
+ label?: ReactNode;
263
+ variant?: SwitchVariant;
264
+ checkedContent?: ReactNode;
265
+ uncheckedContent?: ReactNode;
266
+ onCheckedChange?: (checked: boolean) => void;
267
+ }
268
+ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
269
+ type NamePath = string | number | readonly (string | number)[];
270
+ type FormValues = Record<string, unknown>;
271
+ interface FormRule {
272
+ required?: boolean;
273
+ whitespace?: boolean;
274
+ type?: "string" | "number" | "boolean" | "array" | "email" | "url";
275
+ min?: number;
276
+ max?: number;
277
+ len?: number;
278
+ pattern?: RegExp;
279
+ message?: ReactNode;
280
+ transform?: (value: unknown) => unknown;
281
+ validator?: (rule: FormRule, value: unknown, values: FormValues) => void | Promise<void>;
282
+ }
283
+ interface FormErrorField {
284
+ name: readonly (string | number)[];
285
+ errors: readonly ReactNode[];
286
+ }
287
+ interface FormInstance {
288
+ getFieldValue: (name: NamePath) => unknown;
289
+ getFieldsValue: () => FormValues;
290
+ getFieldError: (name: NamePath) => readonly ReactNode[];
291
+ setFieldValue: (name: NamePath, value: unknown) => void;
292
+ setFieldsValue: (values: FormValues) => void;
293
+ resetFields: (names?: readonly NamePath[]) => void;
294
+ validateFields: (names?: readonly NamePath[]) => Promise<FormValues>;
295
+ submit: () => void;
296
+ scrollToField: (name: NamePath) => void;
297
+ }
298
+ declare function useForm(form?: FormInstance): readonly [FormInstance];
299
+ interface FormProps extends Omit<FormHTMLAttributes<HTMLFormElement>, "onSubmit"> {
300
+ form?: FormInstance;
301
+ initialValues?: FormValues;
302
+ layout?: "horizontal" | "vertical" | "inline";
303
+ disabled?: boolean;
304
+ requiredMark?: boolean | "optional";
305
+ onFinish?: (values: FormValues) => void;
306
+ onFinishFailed?: (info: {
307
+ values: FormValues;
308
+ errorFields: readonly FormErrorField[];
309
+ }) => void;
310
+ onValuesChange?: (changedValues: FormValues, values: FormValues) => void;
311
+ }
312
+ declare function FormRoot({ form, initialValues, layout, disabled, requiredMark, className, onFinish, onFinishFailed, onValuesChange, children, ...props }: FormProps): react.JSX.Element;
313
+ interface FormItemProps {
314
+ name?: NamePath;
315
+ label?: ReactNode;
316
+ rules?: readonly FormRule[];
317
+ required?: boolean;
318
+ extra?: ReactNode;
319
+ help?: ReactNode;
320
+ validateStatus?: "success" | "warning" | "error" | "validating";
321
+ valuePropName?: string;
322
+ trigger?: string;
323
+ validateTrigger?: string | readonly string[];
324
+ getValueFromEvent?: (...args: unknown[]) => unknown;
325
+ noStyle?: boolean;
326
+ dependencies?: readonly NamePath[];
327
+ shouldUpdate?: boolean | ((previous: FormValues, next: FormValues) => boolean);
328
+ children?: ReactNode | ((form: FormInstance) => ReactNode);
329
+ className?: string;
330
+ }
331
+ declare function FormItem({ name, label, rules, required, extra, help, validateStatus, valuePropName, trigger, validateTrigger, getValueFromEvent, noStyle, children, className, }: FormItemProps): string | number | boolean | Iterable<ReactNode> | react.JSX.Element | null | undefined;
332
+ interface FormListField {
333
+ key: number;
334
+ name: number;
335
+ }
336
+ interface FormListOperation {
337
+ add: (value?: unknown, index?: number) => void;
338
+ remove: (index: number | readonly number[]) => void;
339
+ move: (from: number, to: number) => void;
340
+ }
341
+ interface FormListProps {
342
+ name: NamePath;
343
+ children: (fields: readonly FormListField[], operations: FormListOperation) => ReactNode;
344
+ }
345
+ declare function FormList({ name, children }: FormListProps): ReactNode;
346
+ declare function FormErrorList({ errors }: {
347
+ errors?: readonly ReactNode[];
348
+ }): react.JSX.Element | null;
349
+ declare const Form: typeof FormRoot & {
350
+ Item: typeof FormItem;
351
+ List: typeof FormList;
352
+ ErrorList: typeof FormErrorList;
353
+ useForm: typeof useForm;
354
+ };
355
+
356
+ type CheckboxValue = string | number;
357
+ interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> {
358
+ value?: CheckboxValue;
359
+ indeterminate?: boolean;
360
+ children?: ReactNode;
361
+ onChange?: (checked: boolean, event: ChangeEvent<HTMLInputElement>) => void;
362
+ }
363
+ interface CheckboxOption {
364
+ label: ReactNode;
365
+ value: CheckboxValue;
366
+ disabled?: boolean;
367
+ }
368
+ interface CheckboxGroupProps {
369
+ value?: readonly CheckboxValue[];
370
+ defaultValue?: readonly CheckboxValue[];
371
+ options?: readonly (CheckboxOption | CheckboxValue)[];
372
+ disabled?: boolean;
373
+ name?: string;
374
+ className?: string;
375
+ children?: ReactNode;
376
+ onChange?: (values: readonly CheckboxValue[]) => void;
377
+ }
378
+ declare function CheckboxGroup({ value, defaultValue, options, disabled, name, className, children, onChange, }: CheckboxGroupProps): react.JSX.Element;
379
+ declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>> & {
380
+ Group: typeof CheckboxGroup;
381
+ };
382
+
383
+ type RadioValue = string | number;
384
+ interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> {
385
+ value: RadioValue;
386
+ children?: ReactNode;
387
+ onChange?: (checked: boolean, event: ChangeEvent<HTMLInputElement>) => void;
388
+ }
389
+ interface RadioOption {
390
+ label: ReactNode;
391
+ value: RadioValue;
392
+ disabled?: boolean;
393
+ }
394
+ interface RadioGroupProps {
395
+ value?: RadioValue;
396
+ defaultValue?: RadioValue;
397
+ options?: readonly (RadioOption | RadioValue)[];
398
+ optionType?: "default" | "button";
399
+ buttonStyle?: "outline" | "solid";
400
+ disabled?: boolean;
401
+ name?: string;
402
+ className?: string;
403
+ children?: ReactNode;
404
+ onChange?: (value: RadioValue) => void;
405
+ }
406
+ declare function RadioButton(props: RadioProps): react.JSX.Element;
407
+ declare function RadioGroup({ value, defaultValue, options, optionType, buttonStyle, disabled, name, className, children, onChange, }: RadioGroupProps): react.JSX.Element;
408
+ declare const Radio: react.ForwardRefExoticComponent<RadioProps & {
409
+ button?: boolean;
410
+ } & react.RefAttributes<HTMLInputElement>> & {
411
+ Button: typeof RadioButton;
412
+ Group: typeof RadioGroup;
413
+ };
414
+
415
+ type SliderValue = number | readonly [number, number];
416
+ interface SliderMark {
417
+ label: ReactNode;
418
+ style?: CSSProperties;
419
+ }
420
+ interface SliderProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
421
+ value?: SliderValue;
422
+ defaultValue?: SliderValue;
423
+ min?: number;
424
+ max?: number;
425
+ step?: number;
426
+ range?: boolean;
427
+ disabled?: boolean;
428
+ reverse?: boolean;
429
+ vertical?: boolean;
430
+ marks?: Readonly<Record<number, ReactNode | SliderMark>>;
431
+ tooltip?: {
432
+ open?: boolean;
433
+ formatter?: (value: number) => ReactNode;
434
+ };
435
+ onChange?: (value: SliderValue) => void;
436
+ onChangeComplete?: (value: SliderValue) => void;
437
+ }
438
+ declare function Slider({ value, defaultValue, min, max, step, range, disabled, reverse, vertical, marks, tooltip, className, onChange, onChangeComplete, ...props }: SliderProps): react.JSX.Element;
439
+
440
+ type ColorPickerMode = "solid" | "gradient";
441
+ interface ColorPickerPreset {
442
+ label?: ReactNode;
443
+ colors: readonly string[];
444
+ }
445
+ interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
446
+ value?: string;
447
+ defaultValue?: string;
448
+ mode?: ColorPickerMode;
449
+ defaultMode?: ColorPickerMode;
450
+ modes?: readonly ColorPickerMode[];
451
+ disabled?: boolean;
452
+ allowClear?: boolean;
453
+ showText?: boolean | ((color: string) => ReactNode);
454
+ showAlpha?: boolean;
455
+ presets?: readonly ColorPickerPreset[];
456
+ onChange?: (color: string) => void;
457
+ onChangeComplete?: (color: string) => void;
458
+ onModeChange?: (mode: ColorPickerMode) => void;
459
+ onClear?: () => void;
460
+ }
461
+ declare function ColorPicker({ value, defaultValue, mode, defaultMode, modes, disabled, allowClear, showText, showAlpha, presets, className, onChange, onChangeComplete, onModeChange, onClear, ...props }: ColorPickerProps): react.JSX.Element;
462
+
463
+ interface TimePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "value" | "defaultValue" | "onChange"> {
464
+ value?: string;
465
+ defaultValue?: string;
466
+ size?: ControlSize;
467
+ status?: ControlStatus;
468
+ allowClear?: boolean;
469
+ use12Hours?: boolean;
470
+ showSecond?: boolean;
471
+ suffixIcon?: ReactNode;
472
+ disabledTime?: (value: string) => boolean;
473
+ onChange?: (value: string) => void;
474
+ onOpenChange?: (open: boolean) => void;
475
+ }
476
+ interface TimeRangePickerProps extends Omit<TimePickerProps, "value" | "defaultValue" | "onChange" | "placeholder"> {
477
+ value?: readonly [string, string];
478
+ defaultValue?: readonly [string, string];
479
+ placeholder?: readonly [string, string];
480
+ separator?: ReactNode;
481
+ onChange?: (value: readonly [string, string]) => void;
482
+ }
483
+ declare function TimeRangePicker({ value, defaultValue, placeholder, separator, onChange, className, style, ...props }: TimeRangePickerProps): react.JSX.Element;
484
+ declare function TimePicker({ value, defaultValue, size, status, allowClear, use12Hours, showSecond, suffixIcon, disabledTime, disabled, readOnly, className, style, onChange, onOpenChange, placeholder, min, max, step, ...props }: TimePickerProps): react.JSX.Element;
485
+ declare namespace TimePicker {
486
+ const RangePicker: typeof TimeRangePicker;
487
+ }
488
+
489
+ type TreeSelectValue = string | number;
490
+ interface TreeSelectNode {
491
+ title: ReactNode;
492
+ value: TreeSelectValue;
493
+ key?: string | number;
494
+ disabled?: boolean;
495
+ selectable?: boolean;
496
+ children?: readonly TreeSelectNode[];
497
+ }
498
+ interface TreeSelectProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
499
+ treeData: readonly TreeSelectNode[];
500
+ value?: TreeSelectValue | readonly TreeSelectValue[];
501
+ defaultValue?: TreeSelectValue | readonly TreeSelectValue[];
502
+ multiple?: boolean;
503
+ treeCheckable?: boolean;
504
+ showSearch?: boolean;
505
+ allowClear?: boolean;
506
+ treeDefaultExpandAll?: boolean;
507
+ placeholder?: ReactNode;
508
+ searchPlaceholder?: string;
509
+ maxTagCount?: number;
510
+ disabled?: boolean;
511
+ size?: ControlSize;
512
+ status?: ControlStatus;
513
+ onChange?: (value: TreeSelectValue | readonly TreeSelectValue[] | undefined, nodes: readonly TreeSelectNode[]) => void;
514
+ onSearch?: (value: string) => void;
515
+ onDropdownVisibleChange?: (open: boolean) => void;
516
+ }
517
+ declare function TreeSelect({ treeData, value, defaultValue, multiple, treeCheckable, showSearch, allowClear, treeDefaultExpandAll, placeholder, searchPlaceholder, maxTagCount, disabled, size, status, className, onChange, onSearch, onDropdownVisibleChange, ...props }: TreeSelectProps): react.JSX.Element;
518
+
519
+ interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
520
+ label?: ReactNode;
521
+ hint?: ReactNode;
522
+ status?: ControlStatus;
523
+ showCount?: boolean;
524
+ }
525
+ declare const TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLTextAreaElement>>;
526
+
527
+ type SqlDialectLanguage = "sql-postgresql" | "sql-mysql" | "sql-sqlserver" | "sql-sqlite";
528
+
529
+ type EditorTheme = "light" | "dark";
530
+ type EditorLanguage = SqlDialectLanguage | (string & {});
531
+ interface EditorRange {
532
+ startLineNumber: number;
533
+ startColumn: number;
534
+ endLineNumber: number;
535
+ endColumn: number;
536
+ }
537
+ interface EditorMarker extends EditorRange {
538
+ message: string;
539
+ severity?: "error" | "warning" | "info";
540
+ source?: string;
541
+ }
542
+ interface EditorSelectionChange {
543
+ range: EditorRange;
544
+ text: string;
545
+ cursorOffset: number;
546
+ }
547
+ interface EditorKeyDownEvent {
548
+ key: string;
549
+ code: string;
550
+ ctrlKey: boolean;
551
+ metaKey: boolean;
552
+ shiftKey: boolean;
553
+ altKey: boolean;
554
+ repeat: boolean;
555
+ preventDefault(): void;
556
+ stopPropagation(): void;
557
+ }
558
+ type EditorCompletionItemKind = "text" | "keyword" | "snippet" | "database" | "schema" | "table" | "view" | "column" | "function" | "procedure" | "value";
559
+ interface EditorCompletionContext {
560
+ value: string;
561
+ textBeforeCursor: string;
562
+ lineTextBeforeCursor: string;
563
+ word: string;
564
+ position: {
565
+ lineNumber: number;
566
+ column: number;
567
+ offset: number;
568
+ };
569
+ triggerCharacter?: string;
570
+ }
571
+ interface EditorCompletionItem {
572
+ label: string;
573
+ insertText?: string;
574
+ kind?: EditorCompletionItemKind;
575
+ detail?: string;
576
+ documentation?: string;
577
+ filterText?: string;
578
+ sortText?: string;
579
+ preselect?: boolean;
580
+ commitCharacters?: readonly string[];
581
+ insertTextFormat?: "plain" | "snippet";
582
+ range?: EditorRange;
583
+ }
584
+ type EditorCompletionProvider = (context: EditorCompletionContext) => readonly EditorCompletionItem[] | Promise<readonly EditorCompletionItem[]>;
585
+ type EditorCommand = "cut" | "copy" | "paste" | "selectAll";
586
+ interface EditorContextMenuItem {
587
+ key: string;
588
+ label: string;
589
+ command?: EditorCommand;
590
+ shortcut?: string;
591
+ disabled?: boolean | ((api: EditorHandle | null) => boolean);
592
+ onClick?: (api: EditorHandle) => void;
593
+ }
594
+ interface EditorHandle {
595
+ focus(): void;
596
+ getValue(): string;
597
+ getSelection(): EditorRange | null;
598
+ getSelectedText(): string;
599
+ insertBlock(content: string): void;
600
+ prefixLines(prefix: string): void;
601
+ replaceValue(content: string): void;
602
+ revealLine(line: number): void;
603
+ setSelection(range: EditorRange): void;
604
+ wrapSelection(prefix: string, suffix: string, placeholder?: string): void;
605
+ }
606
+ interface EditorProps {
607
+ value: string;
608
+ onChange?: (value: string) => void;
609
+ onReady?: (api: EditorHandle | null) => void;
610
+ onSelectionChange?: (selection: EditorSelectionChange) => void;
611
+ onKeyDown?: (event: EditorKeyDownEvent) => void;
612
+ language?: EditorLanguage;
613
+ path?: string;
614
+ theme?: EditorTheme;
615
+ options?: Monaco.editor.IStandaloneEditorConstructionOptions;
616
+ highlightRange?: EditorRange | null;
617
+ markers?: readonly EditorMarker[];
618
+ contextMenuItems?: readonly EditorContextMenuItem[];
619
+ completionProvider?: EditorCompletionProvider;
620
+ completionTriggerCharacters?: readonly string[];
621
+ refreshSuggestionOnSpace?: boolean;
622
+ className?: string;
623
+ ariaLabel?: string;
624
+ loadingText?: string;
625
+ }
626
+ declare function Editor({ value, onChange, onReady, onSelectionChange, onKeyDown, language, path, theme, options, highlightRange, markers, contextMenuItems, completionProvider, completionTriggerCharacters, refreshSuggestionOnSpace, className, ariaLabel, loadingText, }: EditorProps): react.JSX.Element;
627
+
628
+ interface MarkdownProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
629
+ content: string;
630
+ emptyText?: ReactNode;
631
+ resolveImageSrc?: (src: string) => string | Promise<string>;
632
+ imagePreview?: boolean;
633
+ }
634
+ declare function Markdown({ content, emptyText, resolveImageSrc, imagePreview, className, onClick, onKeyDown, ...props }: MarkdownProps): react.JSX.Element;
635
+
636
+ interface InputNumberProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "onChange" | "prefix" | "size" | "type" | "value"> {
637
+ value?: number | null;
638
+ defaultValue?: number | null;
639
+ onChange?: (value: number | null) => void;
640
+ min?: number;
641
+ max?: number;
642
+ step?: number;
643
+ precision?: number;
644
+ size?: ControlSize;
645
+ status?: ControlStatus;
646
+ prefix?: ReactNode;
647
+ suffix?: ReactNode;
648
+ controls?: boolean;
649
+ placeholderMode?: InputPlaceholderMode;
650
+ }
651
+ declare const InputNumber: react.ForwardRefExoticComponent<InputNumberProps & react.RefAttributes<HTMLInputElement>>;
652
+
653
+ type TreemapNodeKind = "directory" | "file";
654
+ interface TreemapNode {
655
+ key: string;
656
+ label: string;
657
+ value: number;
658
+ kind?: TreemapNodeKind;
659
+ color?: string;
660
+ meta?: ReactNode;
661
+ layoutValue?: number;
662
+ children?: readonly TreemapNode[];
663
+ hasChildren?: boolean;
664
+ disabled?: boolean;
665
+ }
666
+ interface TreemapNodeClickInfo {
667
+ node: TreemapNode;
668
+ expanded: boolean;
669
+ nativeEvent: MouseEvent<HTMLElement>;
670
+ }
671
+ interface TreemapProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
672
+ data: readonly TreemapNode[];
673
+ activeKey?: string | null;
674
+ expandedKeys?: readonly string[];
675
+ defaultExpandedKeys?: readonly string[];
676
+ focusedKey?: string | null;
677
+ defaultFocusedKey?: string | null;
678
+ gap?: number;
679
+ headerHeight?: number;
680
+ minLabelWidth?: number;
681
+ minLabelHeight?: number;
682
+ minTileWidth?: number;
683
+ minTileHeight?: number;
684
+ maxVisibleNodes?: number;
685
+ emptyContent?: ReactNode;
686
+ valueFormatter?: (value: number, node: TreemapNode) => ReactNode;
687
+ overflowLabel?: (count: number) => string;
688
+ onExpandedChange?: (keys: string[]) => void;
689
+ onFocusedChange?: (key: string | null) => void;
690
+ onNodeClick?: (info: TreemapNodeClickInfo) => void;
691
+ }
692
+ declare function Treemap({ data, activeKey, expandedKeys, defaultExpandedKeys, focusedKey, defaultFocusedKey, gap, headerHeight, minLabelWidth, minLabelHeight, minTileWidth, minTileHeight, maxVisibleNodes, emptyContent, valueFormatter, overflowLabel, onExpandedChange, onFocusedChange, onNodeClick, className, style, ...props }: TreemapProps): react.JSX.Element;
693
+
694
+ type TableKey = Key;
695
+ type TableFixed = "left" | "right";
696
+ type TableAlign = "left" | "center" | "right";
697
+ type TableSize = "small" | "medium" | "large";
698
+ interface TableRow<T> {
699
+ key: TableKey;
700
+ record: T;
701
+ sourceIndex: number;
702
+ depth: number;
703
+ meta: Record<string, unknown>;
704
+ }
705
+ interface TableCellRenderInfo<T> {
706
+ row: TableRow<T>;
707
+ rowIndex: number;
708
+ column: TableColumn<T>;
709
+ }
710
+ interface TableMergeStickyConfig<T> {
711
+ inset?: number;
712
+ zIndex?: number;
713
+ className?: string;
714
+ style?: CSSProperties;
715
+ align?: TableAlign;
716
+ getValue?: (record: T, index: number, rows: readonly T[]) => ReactNode;
717
+ }
718
+ interface TableColumn<T = Record<string, unknown>> {
719
+ key: string;
720
+ code?: string;
721
+ name?: string;
722
+ title?: ReactNode;
723
+ description?: ReactNode;
724
+ dataIndex?: keyof T | string | readonly string[];
725
+ width?: number;
726
+ flex?: number;
727
+ autoWidth?: boolean;
728
+ minWidth?: number;
729
+ maxWidth?: number;
730
+ align?: TableAlign;
731
+ fixed?: TableFixed | boolean;
732
+ hidden?: boolean;
733
+ ellipsis?: boolean;
734
+ showTitle?: boolean;
735
+ sortable?: boolean;
736
+ filterable?: boolean;
737
+ editable?: boolean | TableEditableCellConfig<T>;
738
+ exportable?: boolean;
739
+ exportRender?: (value: unknown, record: T, index: number, info: TableCellRenderInfo<T>) => ReactNode;
740
+ rowSpan?: boolean | keyof T | string | readonly string[] | ((record: T, index: number, rows: readonly T[]) => unknown);
741
+ mergeSticky?: boolean | TableMergeStickyConfig<T>;
742
+ sum?: boolean;
743
+ children?: readonly TableColumn<T>[];
744
+ render?: (value: unknown, record: T, index: number, info: TableCellRenderInfo<T>) => ReactNode;
745
+ renderHeader?: (column: TableColumn<T>, context: TablePluginContext<T, any>) => ReactNode;
746
+ cellClassName?: string | ((record: T, index: number) => string);
747
+ headerClassName?: string;
748
+ meta?: Record<string, unknown>;
749
+ }
750
+ type TableEditableCellType = "input" | "inputNumber" | "select" | "custom";
751
+ interface TableEditableCellConfig<T> {
752
+ type?: TableEditableCellType;
753
+ options?: readonly {
754
+ label: ReactNode;
755
+ value: string | number;
756
+ }[];
757
+ editRender?: (record: T, save: (value: unknown) => void, cancel: () => void) => ReactNode;
758
+ canEdit?: (record: T) => boolean;
759
+ }
760
+ interface TablePluginContext<T, S = unknown> {
761
+ readonly pluginId: string;
762
+ readonly sourceData: readonly T[];
763
+ readonly baseColumns: readonly TableColumn<T>[];
764
+ readonly rows: readonly TableRow<T>[];
765
+ readonly columns: readonly TableColumn<T>[];
766
+ readonly state: S;
767
+ getRowKey: (record: T, index: number) => TableKey;
768
+ getState: <Value = unknown>(pluginId: string) => Value | undefined;
769
+ setState: (next: S | ((previous: S) => S)) => void;
770
+ setPluginState: <Value>(pluginId: string, next: Value | ((previous: Value) => Value)) => void;
771
+ getPluginApi: <Api = unknown>(pluginId: string) => Api | undefined;
772
+ emit: (event: TablePluginEvent) => void;
773
+ }
774
+ interface TablePluginEvent {
775
+ type: string;
776
+ source: string;
777
+ payload?: unknown;
778
+ }
779
+ interface TablePluginCellProps {
780
+ rowSpan?: number;
781
+ colSpan?: number;
782
+ hidden?: boolean;
783
+ className?: string;
784
+ style?: CSSProperties;
785
+ content?: ReactNode;
786
+ }
787
+ interface TablePluginHeaderCellProps {
788
+ className?: string;
789
+ style?: CSSProperties;
790
+ }
791
+ interface TablePlugin<T, S = unknown, Api = unknown> {
792
+ id: string;
793
+ order?: number;
794
+ disableVirtual?: boolean;
795
+ initialState?: S | (() => S);
796
+ transformColumns?: (columns: readonly TableColumn<T>[], context: TablePluginContext<T, S>) => readonly TableColumn<T>[];
797
+ transformRows?: (rows: readonly TableRow<T>[], context: TablePluginContext<T, S>) => readonly TableRow<T>[];
798
+ renderToolbarStart?: (context: TablePluginContext<T, S>) => ReactNode;
799
+ renderToolbarEnd?: (context: TablePluginContext<T, S>) => ReactNode;
800
+ renderSummary?: (context: TablePluginContext<T, S>) => readonly TableSummaryRow[] | null;
801
+ renderFooter?: (context: TablePluginContext<T, S>) => ReactNode;
802
+ renderOverlay?: (context: TablePluginContext<T, S>) => ReactNode;
803
+ getRowClassName?: (row: TableRow<T>, context: TablePluginContext<T, S>) => string;
804
+ getCellProps?: (row: TableRow<T>, column: TableColumn<T>, context: TablePluginContext<T, S>) => TablePluginCellProps | void;
805
+ getHeaderCellProps?: (column: TableColumn<T>, context: TablePluginContext<T, S>) => TablePluginHeaderCellProps | void;
806
+ onRowClick?: (row: TableRow<T>, context: TablePluginContext<T, S>) => void;
807
+ onRowMouseEnter?: (row: TableRow<T>, context: TablePluginContext<T, S>) => void;
808
+ onRowMouseLeave?: (row: TableRow<T>, context: TablePluginContext<T, S>) => void;
809
+ onCellMouseEnter?: (row: TableRow<T>, column: TableColumn<T>, context: TablePluginContext<T, S>) => void;
810
+ onCellMouseLeave?: (row: TableRow<T>, column: TableColumn<T>, context: TablePluginContext<T, S>) => void;
811
+ onCellClick?: (row: TableRow<T>, column: TableColumn<T>, event: MouseEvent<HTMLTableCellElement>, context: TablePluginContext<T, S>) => void;
812
+ onCellPointerDown?: (row: TableRow<T>, column: TableColumn<T>, event: PointerEvent<HTMLTableCellElement>, context: TablePluginContext<T, S>) => void;
813
+ onCellPointerMove?: (row: TableRow<T>, column: TableColumn<T>, event: PointerEvent<HTMLTableCellElement>, context: TablePluginContext<T, S>) => void;
814
+ onHeaderPointerDown?: (column: TableColumn<T>, event: PointerEvent<HTMLTableCellElement>, context: TablePluginContext<T, S>) => void;
815
+ onHeaderPointerMove?: (column: TableColumn<T>, event: PointerEvent<HTMLTableCellElement>, context: TablePluginContext<T, S>) => void;
816
+ onMount?: (context: TablePluginContext<T, S>) => void | (() => void);
817
+ onEvent?: (event: TablePluginEvent, context: TablePluginContext<T, S>) => void;
818
+ getApi?: (context: TablePluginContext<T, S>) => Api;
819
+ }
820
+ type AnyTablePlugin<T> = TablePlugin<T, any, any>;
821
+ interface TableSummaryRow {
822
+ key: string;
823
+ label?: ReactNode;
824
+ values: Record<string, ReactNode>;
825
+ className?: string;
826
+ }
827
+ interface TableProps<T extends Record<string, unknown> = Record<string, unknown>> extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
828
+ dataSource?: readonly T[];
829
+ columns?: readonly TableColumn<T>[];
830
+ rowKey?: keyof T | string | ((record: T, index: number) => TableKey);
831
+ plugins?: readonly AnyTablePlugin<T>[];
832
+ loading?: boolean;
833
+ emptyText?: ReactNode;
834
+ height?: number | string;
835
+ tableHeight?: number | string;
836
+ size?: TableSize;
837
+ bordered?: boolean;
838
+ striped?: boolean;
839
+ virtual?: boolean;
840
+ virtualThreshold?: number;
841
+ rowHeight?: number;
842
+ overscan?: number;
843
+ stickyHeader?: boolean;
844
+ resizable?: boolean;
845
+ onRowClick?: (record: T, index: number) => void;
846
+ onRowDoubleClick?: (record: T, index: number) => void;
847
+ onCellContextMenu?: (record: T, column: TableColumn<T>, index: number, event: MouseEvent<HTMLTableCellElement>) => void;
848
+ rowClassName?: string | ((record: T, index: number) => string);
849
+ tableStyle?: CSSProperties;
850
+ }
851
+ interface TableRef<T> {
852
+ getRows: () => readonly T[];
853
+ getColumns: () => readonly TableColumn<T>[];
854
+ getPluginApi: <Api = unknown>(pluginId: string) => Api | undefined;
855
+ scrollTo: (options: ScrollToOptions) => void;
856
+ setLoading: (loading: boolean) => void;
857
+ getPage: () => {
858
+ current: number;
859
+ pageSize: number;
860
+ };
861
+ setPage: (page: Partial<{
862
+ current: number;
863
+ pageSize: number;
864
+ }>) => void;
865
+ clearSelection: () => void;
866
+ setSelectedKeys: (keys: readonly TableKey[]) => void;
867
+ getSelectedRows: () => readonly T[];
868
+ getSortInfo: () => TableSortInfo | null;
869
+ getColumnSettings: () => readonly TableColumnSettingItem[];
870
+ openColumnSetting: () => void;
871
+ generatePageParams: <Model extends Record<string, unknown>>(model: Model) => Model & TablePageParams;
872
+ requestCount: (model?: unknown) => Promise<void>;
873
+ }
874
+ interface TableSortInfo {
875
+ field: string;
876
+ order: "ascend" | "descend" | null;
877
+ scope?: "page" | "all";
878
+ }
879
+ interface TablePageParams {
880
+ current: number;
881
+ pageIndex: number;
882
+ pageSize: number;
883
+ skipCount: number;
884
+ maxResultCount: number;
885
+ }
886
+ interface TableColumnSettingItem {
887
+ key: string;
888
+ width?: number;
889
+ fixed?: TableFixed;
890
+ visible: boolean;
891
+ order: number;
892
+ }
893
+ interface TableSettingsSnapshot {
894
+ columns?: readonly TableColumnSettingItem[];
895
+ pageSize?: number;
896
+ version?: number;
897
+ }
898
+ interface TableSettingsAdapter {
899
+ load: (scope: {
900
+ moduleName: string;
901
+ businessKey: string;
902
+ }) => Promise<TableSettingsSnapshot | null>;
903
+ save: (scope: {
904
+ moduleName: string;
905
+ businessKey: string;
906
+ }, settings: TableSettingsSnapshot) => Promise<void>;
907
+ }
908
+
909
+ declare const Table: <T extends Record<string, unknown> = Record<string, unknown>>(props: TableProps<T> & {
910
+ ref?: Ref<TableRef<T>>;
911
+ }) => ReactNode;
912
+
913
+ interface TableColumnTransformPluginOptions<T> {
914
+ prepend?: readonly TableColumn<T>[];
915
+ append?: readonly TableColumn<T>[];
916
+ transform?: (columns: readonly TableColumn<T>[]) => readonly TableColumn<T>[];
917
+ }
918
+ declare function createColumnTransformPlugin<T extends Record<string, unknown>>(options: TableColumnTransformPluginOptions<T>): TablePlugin<T, undefined>;
919
+ type TableHighlightValue = boolean | CSSProperties;
920
+ interface TableHighlightPluginOptions {
921
+ row?: TableHighlightValue;
922
+ column?: TableHighlightValue;
923
+ cell?: TableHighlightValue;
924
+ }
925
+ interface HighlightState {
926
+ rowKey?: TableKey;
927
+ columnKey?: string;
928
+ }
929
+ declare function createHighlightPlugin<T extends Record<string, unknown>>(options?: TableHighlightPluginOptions): TablePlugin<T, HighlightState>;
930
+ interface TableCellAddress {
931
+ rowKey: TableKey;
932
+ columnKey: string;
933
+ }
934
+ interface TableCellRange {
935
+ anchor: TableCellAddress;
936
+ focus: TableCellAddress;
937
+ }
938
+ interface TableSelectedCell<T> {
939
+ rowKey: TableKey;
940
+ columnKey: string;
941
+ record: T;
942
+ column: TableColumn<T>;
943
+ value: unknown;
944
+ rowIndex: number;
945
+ columnIndex: number;
946
+ }
947
+ interface TableCellSelectionPluginOptions<T> {
948
+ defaultRange?: TableCellRange | null;
949
+ includeUtilityColumns?: boolean;
950
+ copyable?: boolean;
951
+ isCellSelectable?: (record: T, column: TableColumn<T>, rowIndex: number, columnIndex: number) => boolean;
952
+ onChange?: (range: TableCellRange | null, cells: readonly TableSelectedCell<T>[]) => void;
953
+ onCopy?: (text: string, cells: readonly TableSelectedCell<T>[]) => void;
954
+ }
955
+ interface CellSelectionState {
956
+ range: TableCellRange | null;
957
+ includeHeaders: boolean;
958
+ selectedHeaderKey: string | null;
959
+ }
960
+ interface TableCellSelectionApi<T> {
961
+ getRange: () => TableCellRange | null;
962
+ setRange: (range: TableCellRange | null) => void;
963
+ clear: () => void;
964
+ getSelectedCells: () => readonly TableSelectedCell<T>[];
965
+ getCopyText: () => string;
966
+ }
967
+ declare function createCellSelectionPlugin<T extends Record<string, unknown>>(options?: TableCellSelectionPluginOptions<T>): TablePlugin<T, CellSelectionState, TableCellSelectionApi<T>>;
968
+ interface TableRowSpanPluginOptions<T> {
969
+ columns?: readonly string[];
970
+ equals?: (left: unknown, right: unknown, column: TableColumn<T>) => boolean;
971
+ disableVirtual?: boolean;
972
+ }
973
+ declare function createRowSpanPlugin<T extends Record<string, unknown>>(options?: TableRowSpanPluginOptions<T>): TablePlugin<T, undefined>;
974
+ type TableSelectionMode = "single" | "multiple" | "row";
975
+ interface TableSelectionPluginOptions<T> {
976
+ mode?: TableSelectionMode;
977
+ selectedKeys?: readonly TableKey[];
978
+ defaultSelectedKeys?: readonly TableKey[];
979
+ onChange?: (keys: readonly TableKey[], rows: readonly T[]) => void;
980
+ getCheckboxDisabled?: (record: T) => boolean;
981
+ showSelectedCount?: boolean;
982
+ preserveSelectedRowKeys?: boolean;
983
+ showPreserveSelectedRowKeys?: boolean;
984
+ selectionPanelColumnCount?: number;
985
+ selectionPanelMaxCount?: number;
986
+ onPreserveSelectedRowKeysChange?: (preserve: boolean) => void;
987
+ childrenColumnName?: string;
988
+ }
989
+ interface SelectionState {
990
+ selectedKeys: readonly TableKey[];
991
+ preserveSelectedRowKeys: boolean;
992
+ panelOpen: boolean;
993
+ }
994
+ interface TableSelectionApi<T> {
995
+ getSelectedKeys: () => readonly TableKey[];
996
+ setSelectedKeys: (keys: readonly TableKey[]) => void;
997
+ clear: () => void;
998
+ toggle: (key: TableKey, checked?: boolean) => void;
999
+ getSelectedRows: () => readonly T[];
1000
+ getPreserveSelectedRowKeys: () => boolean;
1001
+ setPreserveSelectedRowKeys: (preserve: boolean) => void;
1002
+ }
1003
+ declare function createSelectionPlugin<T extends Record<string, unknown>>(options?: TableSelectionPluginOptions<T>): TablePlugin<T, SelectionState, TableSelectionApi<T>>;
1004
+ interface TableSortPluginOptions {
1005
+ mode?: "local" | "remote";
1006
+ scope?: "page" | "all";
1007
+ value?: TableSortInfo | null;
1008
+ defaultValue?: TableSortInfo | null;
1009
+ onChange?: (sort: TableSortInfo) => void;
1010
+ compare?: (a: unknown, b: unknown, field: string) => number;
1011
+ }
1012
+ interface SortState {
1013
+ sort: TableSortInfo | null;
1014
+ }
1015
+ interface TableSortApi {
1016
+ getSortInfo: () => TableSortInfo | null;
1017
+ setSortInfo: (sort: TableSortInfo | null) => void;
1018
+ clear: () => void;
1019
+ }
1020
+ declare function createSortPlugin<T extends Record<string, unknown>>(options?: TableSortPluginOptions): TablePlugin<T, SortState, TableSortApi>;
1021
+ type TableFilterValues = Readonly<Record<string, string>>;
1022
+ interface TableFilterPluginOptions<T> {
1023
+ value?: TableFilterValues;
1024
+ defaultValue?: TableFilterValues;
1025
+ placeholder?: string | ((column: TableColumn<T>) => string);
1026
+ predicate?: (value: unknown, filterValue: string, record: T, column: TableColumn<T>) => boolean;
1027
+ onChange?: (filters: TableFilterValues) => void;
1028
+ }
1029
+ interface FilterState {
1030
+ filters: Record<string, string>;
1031
+ }
1032
+ interface TableFilterApi<T> {
1033
+ getFilters: () => TableFilterValues;
1034
+ setFilter: (columnKey: string, value: string) => void;
1035
+ clear: (columnKey?: string) => void;
1036
+ getFilteredRows: () => readonly T[];
1037
+ }
1038
+ declare function createFilterPlugin<T extends Record<string, unknown>>(options?: TableFilterPluginOptions<T>): TablePlugin<T, FilterState, TableFilterApi<T>>;
1039
+ interface TablePaginationPluginOptions {
1040
+ mode?: "local" | "server" | "auto";
1041
+ totalCount?: number;
1042
+ current?: number;
1043
+ pageSize?: number;
1044
+ defaultCurrent?: number;
1045
+ defaultPageSize?: number;
1046
+ pageSizeOptions?: readonly number[];
1047
+ onChange?: (current: number, pageSize: number, isFirstLoad?: boolean) => void;
1048
+ requestTotal?: (model?: unknown) => Promise<void>;
1049
+ isFirstLoad?: boolean;
1050
+ }
1051
+ interface PaginationState {
1052
+ current: number;
1053
+ pageSize: number;
1054
+ requestLoading: boolean;
1055
+ }
1056
+ interface TablePaginationApi {
1057
+ getPage: () => {
1058
+ current: number;
1059
+ pageSize: number;
1060
+ };
1061
+ setPage: (page: Partial<{
1062
+ current: number;
1063
+ pageSize: number;
1064
+ }>) => void;
1065
+ generatePageParams: <Model extends Record<string, unknown>>(model: Model) => Model & TablePageParams;
1066
+ requestCount: (model?: unknown) => Promise<void>;
1067
+ }
1068
+ declare function createPaginationPlugin<T extends Record<string, unknown>>(options?: TablePaginationPluginOptions): TablePlugin<T, PaginationState, TablePaginationApi>;
1069
+ interface TableIndexPluginOptions {
1070
+ title?: ReactNode;
1071
+ width?: number;
1072
+ startIndex?: number;
1073
+ }
1074
+ declare function createIndexPlugin<T extends Record<string, unknown>>(options?: TableIndexPluginOptions): TablePlugin<T, undefined>;
1075
+ interface TableTreePluginOptions<T> {
1076
+ childrenColumnName?: string;
1077
+ ignoreChildrenColumn?: boolean;
1078
+ expandedRowKeys?: readonly TableKey[];
1079
+ defaultExpandedRowKeys?: readonly TableKey[];
1080
+ defaultExpandAllRows?: boolean;
1081
+ onExpandedRowsChange?: (keys: readonly TableKey[]) => void;
1082
+ canExpand?: (record: T) => boolean;
1083
+ }
1084
+ interface TreeState {
1085
+ expandedKeys: readonly TableKey[];
1086
+ }
1087
+ interface TableTreeApi {
1088
+ getExpandedKeys: () => readonly TableKey[];
1089
+ setExpandedKeys: (keys: readonly TableKey[]) => void;
1090
+ expandAll: () => void;
1091
+ collapseAll: () => void;
1092
+ }
1093
+ declare function createTreePlugin<T extends Record<string, unknown>>(options?: TableTreePluginOptions<T>): TablePlugin<T, TreeState, TableTreeApi>;
1094
+ interface TableSummaryPluginOptions<T> {
1095
+ subTotal?: Record<string, ReactNode> | ((pageData: readonly T[]) => Record<string, ReactNode>);
1096
+ total?: Record<string, ReactNode>;
1097
+ subTotalLabel?: ReactNode;
1098
+ totalLabel?: ReactNode;
1099
+ }
1100
+ declare function createSummaryPlugin<T extends Record<string, unknown>>(options: TableSummaryPluginOptions<T>): TablePlugin<T, undefined>;
1101
+ interface EditableState {
1102
+ editing: {
1103
+ rowKey: TableKey;
1104
+ columnKey: string;
1105
+ } | null;
1106
+ }
1107
+ interface TableEditablePluginOptions<T> {
1108
+ onCellChange?: (columnKey: string, record: T, newValue: unknown) => boolean | Promise<boolean>;
1109
+ trigger?: "click" | "doubleClick";
1110
+ }
1111
+ interface TableEditableApi {
1112
+ cancel: () => void;
1113
+ getEditingCell: () => EditableState["editing"];
1114
+ }
1115
+ declare function createEditablePlugin<T extends Record<string, unknown>>(options?: TableEditablePluginOptions<T>): TablePlugin<T, EditableState, TableEditableApi>;
1116
+ interface ResizeState {
1117
+ widths: Record<string, number>;
1118
+ manualLayout?: boolean;
1119
+ }
1120
+ interface TableResizePluginOptions {
1121
+ enabled?: boolean;
1122
+ onResize?: (columnKey: string, width: number) => void;
1123
+ }
1124
+ interface TableResizeApi {
1125
+ getWidths: () => Readonly<Record<string, number>>;
1126
+ setWidth: (columnKey: string, width: number) => void;
1127
+ }
1128
+ declare function createResizePlugin<T extends Record<string, unknown>>(options?: TableResizePluginOptions): TablePlugin<T, ResizeState, TableResizeApi>;
1129
+ interface TableColumnSettingPluginOptions<T> {
1130
+ defaultVisibleKeys?: readonly string[];
1131
+ showButton?: boolean;
1132
+ onVisibleChange?: (columns: readonly TableColumn<T>[]) => void;
1133
+ onOrderChange?: (columns: readonly TableColumn<T>[]) => void;
1134
+ adapter?: TableSettingsAdapter;
1135
+ scope?: {
1136
+ moduleName: string;
1137
+ businessKey: string;
1138
+ };
1139
+ }
1140
+ interface ColumnSettingState {
1141
+ open: boolean;
1142
+ items: readonly TableColumnSettingItem[];
1143
+ loaded: boolean;
1144
+ pageSize?: number;
1145
+ }
1146
+ interface TableColumnSettingApi {
1147
+ open: () => void;
1148
+ close: () => void;
1149
+ getSettings: () => readonly TableColumnSettingItem[];
1150
+ apply: (settings: readonly TableColumnSettingItem[]) => void;
1151
+ }
1152
+ declare function createColumnSettingPlugin<T extends Record<string, unknown>>(options?: TableColumnSettingPluginOptions<T>): TablePlugin<T, ColumnSettingState, TableColumnSettingApi>;
1153
+ declare function createLocalStorageTableSettingsAdapter(prefix?: string): TableSettingsAdapter;
1154
+ interface TableToolbarItem<T> {
1155
+ key: string;
1156
+ label: ReactNode;
1157
+ icon?: ReactNode;
1158
+ position?: "start" | "end";
1159
+ inSettings?: boolean;
1160
+ danger?: boolean;
1161
+ disabled?: boolean | ((context: TablePluginContext<T, any>) => boolean);
1162
+ hidden?: boolean | ((context: TablePluginContext<T, any>) => boolean);
1163
+ onClick?: (context: TablePluginContext<T, any>) => void | Promise<void>;
1164
+ }
1165
+ interface TableToolbarPluginOptions<T> {
1166
+ start?: ReactNode;
1167
+ end?: ReactNode;
1168
+ items?: readonly TableToolbarItem<T>[];
1169
+ canAccess?: (item: TableToolbarItem<T>) => boolean;
1170
+ }
1171
+ declare function createToolbarPlugin<T extends Record<string, unknown>>(options: TableToolbarPluginOptions<T>): TablePlugin<T, undefined>;
1172
+ type TableExportScope = "visible" | "all" | "selected";
1173
+ interface TableExportPluginOptions<T> {
1174
+ scope?: TableExportScope;
1175
+ fileName?: string | ((context: TablePluginContext<T, undefined>) => string);
1176
+ delimiter?: "," | "\t" | ";";
1177
+ includeBom?: boolean;
1178
+ sanitizeFormula?: boolean;
1179
+ buttonLabel?: ReactNode;
1180
+ showButton?: boolean;
1181
+ onExport?: (csv: string, rows: readonly T[]) => void | Promise<void>;
1182
+ }
1183
+ interface TableExportApi<T> {
1184
+ getCsv: (scope?: TableExportScope) => string;
1185
+ download: (scope?: TableExportScope) => Promise<void>;
1186
+ getRows: (scope?: TableExportScope) => readonly T[];
1187
+ }
1188
+ declare function createExportPlugin<T extends Record<string, unknown>>(options?: TableExportPluginOptions<T>): TablePlugin<T, undefined, TableExportApi<T>>;
1189
+
1190
+ interface ThemeSwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onChange"> {
1191
+ checked: boolean;
1192
+ onCheckedChange?: (checked: boolean) => void;
1193
+ lightLabel?: string;
1194
+ darkLabel?: string;
1195
+ }
1196
+ declare const ThemeSwitch: react.ForwardRefExoticComponent<ThemeSwitchProps & react.RefAttributes<HTMLButtonElement>>;
1197
+
1198
+ interface FloatingScrollbarProviderProps {
1199
+ disabled?: boolean;
1200
+ }
1201
+ declare function FloatingScrollbarProvider({ disabled }: FloatingScrollbarProviderProps): null;
1202
+
1203
+ type SiaThemeMode = "light" | "dark";
1204
+ declare const SIA_THEME: {
1205
+ readonly colorPrimary: "#1677ff";
1206
+ readonly colorPrimaryHover: "#4096ff";
1207
+ readonly colorPrimaryActive: "#0958d9";
1208
+ readonly colorText: "#1f1f1f";
1209
+ readonly colorTextSecondary: "#666666";
1210
+ readonly colorBackground: "#f5f7fa";
1211
+ readonly colorSurface: "#ffffff";
1212
+ readonly colorBorder: "#d9d9d9";
1213
+ readonly borderRadius: 6;
1214
+ readonly controlHeight: 32;
1215
+ readonly spacing: 16;
1216
+ readonly fontSize: 16;
1217
+ readonly fontSizeSmall: 14;
1218
+ readonly fontSizeLarge: 18;
1219
+ };
1220
+ declare function applySiaTheme(mode: SiaThemeMode, target?: HTMLElement): void;
1221
+
1222
+ export { Alert, type AlertProps, type AlertStatus, type AnyTablePlugin, Cascader, type CascaderFieldNames, type CascaderOption, type CascaderProps, type CascaderValue, Checkbox, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxValue, Col, type ColProps, type ColSize, ColorPicker, type ColorPickerMode, type ColorPickerPreset, type ColorPickerProps, ControlSize, ControlStatus, DEFAULT_PAGE_SIZE_OPTIONS, Divider, type DividerProps, Drawer, type DrawerOpenConfig, type DrawerPlacement, type DrawerProps, type DrawerPush, type DrawerPushConfig, Editor, type EditorCommand, type EditorCompletionContext, type EditorCompletionItem, type EditorCompletionItemKind, type EditorCompletionProvider, type EditorContextMenuItem, type EditorHandle, type EditorKeyDownEvent, type EditorLanguage, type EditorMarker, type EditorProps, type EditorRange, type EditorSelectionChange, type EditorTheme, Flex, type FlexProps, FloatingScrollbarProvider, type FloatingScrollbarProviderProps, Form, type FormErrorField, type FormInstance, type FormItemProps, type FormListField, type FormListOperation, type FormListProps, type FormProps, type FormRule, type FormValues, type GridBreakpoint, InputNumber, type InputNumberProps, InputPlaceholderMode, type LayoutGap, Markdown, type MarkdownProps, type NamePath, OverlayApiHandle, Pagination, type PaginationProps, Radio, type RadioGroupProps, type RadioOption, type RadioProps, type RadioValue, Row, type RowProps, SIA_THEME, type SiaThemeMode, Slider, type SliderMark, type SliderProps, type SliderValue, Space, type SpaceCompactProps, type SpaceProps, Splitter, type SplitterPanelProps, type SplitterProps, Switch, type SwitchProps, type SwitchVariant, Table, type TableAlign, type TableCellAddress, type TableCellRange, type TableCellRenderInfo, type TableCellSelectionApi, type TableCellSelectionPluginOptions, type TableColumn, type TableColumnSettingApi, type TableColumnSettingItem, type TableColumnSettingPluginOptions, type TableColumnTransformPluginOptions, type TableEditableApi, type TableEditableCellConfig, type TableEditableCellType, type TableEditablePluginOptions, type TableExportApi, type TableExportPluginOptions, type TableExportScope, type TableFilterApi, type TableFilterPluginOptions, type TableFilterValues, type TableFixed, type TableHighlightPluginOptions, type TableHighlightValue, type TableIndexPluginOptions, type TableKey, type TableMergeStickyConfig, type TablePageParams, type TablePaginationApi, type TablePaginationPluginOptions, type TablePlugin, type TablePluginCellProps, type TablePluginContext, type TablePluginEvent, type TableProps, type TableRef, type TableResizeApi, type TableResizePluginOptions, type TableRow, type TableRowSpanPluginOptions, type TableSelectedCell, type TableSelectionApi, type TableSelectionMode, type TableSelectionPluginOptions, type TableSettingsAdapter, type TableSettingsSnapshot, type TableSize, type TableSortApi, type TableSortInfo, type TableSortPluginOptions, type TableSummaryPluginOptions, type TableSummaryRow, type TableToolbarItem, type TableToolbarPluginOptions, type TableTreeApi, type TableTreePluginOptions, TextArea, type TextAreaProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type TimePickerProps, type TimeRangePickerProps, ToolPanel, type ToolPanelPlacement, type ToolPanelProps, TreeSelect, type TreeSelectNode, type TreeSelectProps, type TreeSelectValue, Treemap, type TreemapNode, type TreemapNodeClickInfo, type TreemapNodeKind, type TreemapProps, type WindowAction, type WindowActionHandler, type WindowControlAction, type WindowControlLabels, WindowControls, type WindowControlsProps, WindowFrame, type WindowFrameProps, WindowTitleBar, type WindowTitleBarActionsAlign, type WindowTitleBarProps, applySiaTheme, createCellSelectionPlugin, createColumnSettingPlugin, createColumnTransformPlugin, createEditablePlugin, createExportPlugin, createFilterPlugin, createHighlightPlugin, createIndexPlugin, createLocalStorageTableSettingsAdapter, createPaginationPlugin, createResizePlugin, createRowSpanPlugin, createSelectionPlugin, createSortPlugin, createSummaryPlugin, createToolbarPlugin, createTreePlugin, useForm };