@qq1948037137/adminsmart-ui 0.0.0-stage → 0.1.21

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.
@@ -0,0 +1,420 @@
1
+ import { Button as Button$1, ButtonProps, TooltipProps, ConfigProvider as ConfigProvider$1, Drawer as Drawer$1, Form as Form$1, Input as Input$1, Modal as Modal$1, Select as Select$1, Table as Table$1, Typography as Typography$1, AutoComplete as AutoComplete$1, Checkbox as Checkbox$1, DatePicker as DatePicker$1, InputNumber as InputNumber$1, Radio as Radio$1, Slider as Slider$1, Switch as Switch$1, TreeSelect as TreeSelect$1, Upload as Upload$1, Alert as Alert$1, App as App$1, Empty as Empty$1, Progress as Progress$1, Result as Result$1, Spin as Spin$1, Statistic as Statistic$1, Tag as Tag$1, Timeline as Timeline$1, Card as Card$1, Descriptions as Descriptions$1, List as List$1, Pagination as Pagination$1, Tree as Tree$1, Avatar as Avatar$1, Col as Col$1, Flex as Flex$1, Layout as Layout$1, Row as Row$1, Space as Space$1, Dropdown as Dropdown$1, Menu as Menu$1, Tabs as Tabs$1, Popover as Popover$1, Tooltip as Tooltip$1, Affix as Affix$1, Anchor as Anchor$1, BackTop as BackTop$1, Badge as Badge$1, BorderBeam as BorderBeam$1, Breadcrumb as Breadcrumb$1, Calendar as Calendar$1, Carousel as Carousel$1, Cascader as Cascader$1, Collapse as Collapse$1, ColorPicker as ColorPicker$1, Divider as Divider$1, FloatButton as FloatButton$1, Grid as Grid$1, Image as Image$1, Listy as Listy$1, Masonry as Masonry$1, Mentions as Mentions$1, Popconfirm as Popconfirm$1, QRCode as QRCode$1, Rate as Rate$1, Segmented as Segmented$1, Skeleton as Skeleton$1, Splitter as Splitter$1, Steps as Steps$1, TimePicker as TimePicker$1, Tour as Tour$1, Transfer as Transfer$1, Watermark as Watermark$1, DrawerProps, TableProps, FormProps, FormInstance } from 'antd';
2
+ export { theme } from 'antd';
3
+ import * as react from 'react';
4
+ import { RefAttributes, HTMLAttributes, ReactNode, CSSProperties, ComponentRef, ReactElement, ComponentProps, Ref } from 'react';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
+
7
+ /** 主按钮只建立行为扩展点,颜色、危险态和大小由 Ant 原生 props 决定。 */
8
+ declare const Button: typeof Button$1;
9
+
10
+ /** 只表达日间与夜间外观,不包含系统跟随、身份或业务设置。 */
11
+ type ThemeMode = 'light' | 'dark';
12
+ interface ThemeModeButtonProps extends ButtonProps {
13
+ /** 宿主当前生效的主题;按钮本身不读取或保存浏览器偏好。 */
14
+ mode: ThemeMode;
15
+ /** 用户点击后请求的下一主题;宿主负责更新受控状态与持久化。 */
16
+ onModeChange?: (mode: ThemeMode) => void;
17
+ /** 原生 Tooltip 属性,可覆盖默认提示、触发方式和浮层配置。 */
18
+ tooltipProps?: Omit<TooltipProps, 'children'>;
19
+ }
20
+ /**
21
+ * 提供带提示和可访问名称的受控主题图标按钮,不覆盖 Ant 控件颜色。
22
+ *
23
+ * @param props.mode 当前外观,用于选择下一主题、图标和按下状态。
24
+ * @param props.onModeChange 点击未被原生 onClick 取消时通知宿主切换主题。
25
+ * @param props.tooltipProps 可覆盖默认 Tooltip 的完整原生浮层属性。
26
+ * @param props.onClick 原生点击回调,优先执行;preventDefault 可取消主题请求。
27
+ * @param props 其余 Ant Button 属性原样透传,显式属性覆盖图标、大小和 aria 默认值。
28
+ * @param ref 原样指向 Ant Button 的按钮或链接节点。
29
+ * @returns 不持有业务状态、不访问存储的主题切换按钮。
30
+ */
31
+ declare const ThemeModeButton: react.ForwardRefExoticComponent<ThemeModeButtonProps & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
32
+
33
+ /** 主题与 locale 仍由应用级 ConfigProvider 控制,组件库不另设品牌色。 */
34
+ declare const ConfigProvider: typeof ConfigProvider$1;
35
+
36
+ /** 通用业务抽屉默认从右侧展开,宽度随窄视口收缩;调用方可覆盖两项。 */
37
+ declare const Drawer: typeof Drawer$1;
38
+
39
+ /** 表单 hooks 和实例方法仍由 Ant 管理;库不隐式改变提交值。 */
40
+ declare const Form: typeof Form$1;
41
+
42
+ /** 文本、密码、搜索和多行输入保持原值;是否去空格由具体字段校验决定。 */
43
+ declare const Input: typeof Input$1;
44
+
45
+ /** 弹窗保留 Ant 的确认类静态方法;业务表单应优先使用 Drawer。 */
46
+ declare const Modal: typeof Modal$1;
47
+
48
+ /** Select 的泛型值类型、搜索回调及虚拟列表行为全部沿用 Ant 原生接口。 */
49
+ declare const Select: typeof Select$1;
50
+
51
+ declare const Table: typeof Table$1;
52
+
53
+ declare const Typography: typeof Typography$1;
54
+
55
+ /** 下拉候选项也是独立包装组件;不接管官方内部面板接口。 */
56
+ declare const AutoComplete: typeof AutoComplete$1;
57
+ declare const Checkbox: typeof Checkbox$1;
58
+ /** 六种日期选择器共享上游的 dayjs、locale 与范围值约定。 */
59
+ declare const DatePicker: typeof DatePicker$1;
60
+ declare const InputNumber: typeof InputNumber$1;
61
+ declare const Radio: typeof Radio$1;
62
+ declare const Slider: typeof Slider$1;
63
+ declare const Switch: typeof Switch$1;
64
+ declare const TreeSelect: typeof TreeSelect$1;
65
+ /** LIST_IGNORE 沿用官方标记,保证上传前校验与原生 Upload 一致。 */
66
+ declare const Upload: typeof Upload$1;
67
+
68
+ /** 反馈控件只转发原生状态语义,颜色由 Ant 的 type/status 属性决定。 */
69
+ declare const Alert: typeof Alert$1;
70
+ declare const App: typeof App$1;
71
+ declare const Empty: typeof Empty$1;
72
+ declare const Progress: typeof Progress$1;
73
+ declare const Result: typeof Result$1;
74
+ declare const Spin: typeof Spin$1;
75
+ declare const Statistic: typeof Statistic$1;
76
+ declare const Tag: typeof Tag$1;
77
+ declare const Timeline: typeof Timeline$1;
78
+
79
+ declare const Card: typeof Card$1;
80
+ declare const Descriptions: typeof Descriptions$1;
81
+ declare const List: typeof List$1;
82
+ declare const Pagination: typeof Pagination$1;
83
+ declare const Tree: typeof Tree$1;
84
+
85
+ declare const Avatar: typeof Avatar$1;
86
+ declare const Col: typeof Col$1;
87
+ declare const Flex: typeof Flex$1;
88
+ declare const Layout: typeof Layout$1;
89
+ declare const Row: typeof Row$1;
90
+ declare const Space: typeof Space$1;
91
+
92
+ declare const Dropdown: typeof Dropdown$1;
93
+ declare const Menu: typeof Menu$1;
94
+ declare const Tabs: typeof Tabs$1;
95
+
96
+ declare const Popover: typeof Popover$1;
97
+ declare const Tooltip: typeof Tooltip$1;
98
+
99
+ declare const Affix: typeof Affix$1;
100
+
101
+ declare const Anchor: typeof Anchor$1;
102
+
103
+ declare const BackTop: typeof BackTop$1;
104
+
105
+ declare const Badge: typeof Badge$1;
106
+
107
+ declare const BorderBeam: typeof BorderBeam$1;
108
+
109
+ declare const Breadcrumb: typeof Breadcrumb$1;
110
+
111
+ declare const Calendar: typeof Calendar$1;
112
+
113
+ declare const Carousel: typeof Carousel$1;
114
+
115
+ declare const Cascader: typeof Cascader$1;
116
+
117
+ declare const Collapse: typeof Collapse$1;
118
+
119
+ declare const ColorPicker: typeof ColorPicker$1;
120
+
121
+ declare const Divider: typeof Divider$1;
122
+
123
+ declare const FloatButton: typeof FloatButton$1;
124
+
125
+ declare const Grid: typeof Grid$1;
126
+
127
+ declare const Image: typeof Image$1;
128
+
129
+ declare const Listy: typeof Listy$1;
130
+
131
+ declare const Masonry: typeof Masonry$1;
132
+
133
+ declare const Mentions: typeof Mentions$1;
134
+
135
+ declare const Popconfirm: typeof Popconfirm$1;
136
+
137
+ declare const QRCode: typeof QRCode$1;
138
+
139
+ declare const Rate: typeof Rate$1;
140
+
141
+ declare const Segmented: typeof Segmented$1;
142
+
143
+ declare const Skeleton: typeof Skeleton$1;
144
+
145
+ declare const Splitter: typeof Splitter$1;
146
+
147
+ declare const Steps: typeof Steps$1;
148
+
149
+ declare const TimePicker: typeof TimePicker$1;
150
+
151
+ declare const Tour: typeof Tour$1;
152
+
153
+ declare const Transfer: typeof Transfer$1;
154
+
155
+ declare const Watermark: typeof Watermark$1;
156
+
157
+ /** 语义宽度只控制默认值,原生 width 和 size 始终由调用方优先决定。 */
158
+ declare const BUSINESS_DRAWER_WIDTH: {
159
+ readonly narrow: "min(420px, 100vw)";
160
+ readonly standard: "min(640px, 100vw)";
161
+ readonly wide: "min(960px, 100vw)";
162
+ };
163
+ type BusinessDrawerSize = keyof typeof BUSINESS_DRAWER_WIDTH;
164
+ interface BusinessDrawerProps extends DrawerProps {
165
+ /** 根据内容复杂度选择默认宽度;仍可直接传入 Ant 的 width 或 size。 */
166
+ sizeVariant?: BusinessDrawerSize;
167
+ }
168
+ /**
169
+ * 统一右侧业务抽屉的宽度、关闭位置和底部操作排列。
170
+ *
171
+ * @param props Ant Drawer 全部原生属性与语义宽度档位。
172
+ * @param ref 原样传递给当前版本 Ant Drawer 的引用。
173
+ * @returns 保留 Ant 原生交互、独立滚动正文和底部操作区的抽屉。
174
+ */
175
+ declare const BusinessDrawer: react.ForwardRefExoticComponent<BusinessDrawerProps & RefAttributes<unknown>>;
176
+
177
+ interface SearchPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
178
+ /** 筛选字段始终挂载;折叠仅隐藏外层网格单元。 */
179
+ fields: ReactNode;
180
+ /** 查询、重置以及页面专属命令,由业务页面管理状态和回调。 */
181
+ actions?: ReactNode;
182
+ /** 首次显示的折叠状态,之后由面板自己管理。 */
183
+ defaultExpanded?: boolean;
184
+ /** 第二排左侧的新增、导出等业务操作。 */
185
+ tools?: ReactNode;
186
+ /** 第二排右侧的刷新、搜索显隐和列设置等表格工具。 */
187
+ trailingTools?: ReactNode;
188
+ /** 隐藏筛选组时保留字段实例和值,功能按钮仍可操作。 */
189
+ searchVisible?: boolean;
190
+ }
191
+ /**
192
+ * 以实际容器宽度安排等宽筛选字段,超过两行时收起多余字段。
193
+ *
194
+ * @param props 字段、末尾命令与原生容器属性。
195
+ * @param ref 外层搜索区域的 DOM 引用。
196
+ * @returns 不卸载隐藏字段的响应式筛选网格。
197
+ */
198
+ declare const SearchPanel: react.ForwardRefExoticComponent<SearchPanelProps & react.RefAttributes<HTMLDivElement>>;
199
+
200
+ interface DataTableProps<RecordType extends object> extends TableProps<RecordType> {
201
+ /** 设置表格整体容器的固定高度;省略时按屏幕剩余高度计算。 */
202
+ containerHeight?: CSSProperties['height'];
203
+ /** 仅作用于外层滚动边界,不覆盖 Ant Table 自身的 style。 */
204
+ containerStyle?: CSSProperties;
205
+ /** 仅作用于外层滚动边界,不覆盖 Ant Table 自身的 className。 */
206
+ containerClassName?: string;
207
+ }
208
+ type TableReference = ComponentRef<typeof Table>;
209
+ /**
210
+ * 在真实容器高度内为表头、分页和业务扩展区保留空间。
211
+ *
212
+ * @param availableHeight 容器或视口剩余的可用高度。
213
+ * @param chromeHeight 表头、分页、标题及页脚的实际高度。
214
+ * @returns Ant Table 内部纵向滚动区域的像素高度。
215
+ */
216
+ declare function tableBodyHeight(availableHeight: number, chromeHeight: number): number;
217
+ declare const DataTable: <RecordType extends object = Record<string, unknown>>(props: DataTableProps<RecordType> & RefAttributes<TableReference>) => ReactElement;
218
+
219
+ interface WorkspaceLayoutProps {
220
+ /** 顶栏内容,由宿主提供品牌、导航开关及账号命令。 */
221
+ header: ReactNode;
222
+ /** 已授权的菜单树,由宿主管理选中和展开状态。 */
223
+ sidebar: ReactNode;
224
+ /** 可选的页签导航,位置固定在主内容之前。 */
225
+ tabs?: ReactNode;
226
+ /** 可选的宿主页脚。 */
227
+ footer?: ReactNode;
228
+ /** 当前路由页面,骨架不读取业务路由。 */
229
+ children: ReactNode;
230
+ /** 侧栏的展开宽度。 */
231
+ sidebarWidth?: number;
232
+ /** 侧栏收起后的宽度。 */
233
+ collapsedWidth?: number;
234
+ /** 宿主控制的侧栏收起状态。 */
235
+ collapsed?: boolean;
236
+ /** 页面外观及侧栏默认主题;宿主同时使用对应的 Ant 主题算法和 Menu theme。 */
237
+ themeMode?: ThemeMode;
238
+ /** 当前页面是否由表体、聊天或首页独占内容滚动边界。 */
239
+ contentMode?: 'default' | 'table' | 'chat' | 'dashboard';
240
+ /** 原生 Ant Sider 属性,宽度和收起状态以骨架显式属性为准。 */
241
+ siderProps?: Omit<ComponentProps<typeof Layout.Sider>, 'children' | 'width' | 'collapsedWidth' | 'collapsed'>;
242
+ /** 宿主附加的顶层类名。 */
243
+ className?: string;
244
+ /** 宿主附加的页面内容类名。 */
245
+ contentClassName?: string;
246
+ /** 示例、嵌入场景可覆盖默认满屏高度。 */
247
+ height?: CSSProperties['height'];
248
+ }
249
+ /**
250
+ * 组合 Ant Layout 的顶栏、侧栏与内容区;不处理登录、权限或路由。
251
+ *
252
+ * @param props.header 顶栏品牌、导航与账户内容。
253
+ * @param props.sidebar 已授权的导航内容,其 Menu theme 由宿主控制。
254
+ * @param props.tabs 可选的页签导航。
255
+ * @param props.footer 可选的宿主页脚。
256
+ * @param props.children 当前路由的业务页面。
257
+ * @param props.sidebarWidth 展开侧栏的宽度。
258
+ * @param props.collapsedWidth 收起侧栏的宽度。
259
+ * @param props.collapsed 宿主控制的收起状态。
260
+ * @param props.themeMode 日夜外观,夜间背景跟随 ConfigProvider Token,不改变其算法。
261
+ * @param props.contentMode 页面滚动边界的语义变体。
262
+ * @param props.siderProps 原生 Sider 属性,显式 theme 和 style 仍可覆盖默认值。
263
+ * @param props.className 顶层附加类名。
264
+ * @param props.contentClassName 内容区域附加类名。
265
+ * @param props.height 可选的嵌入高度,缺省为满屏。
266
+ * @returns 可复用的后台工作区骨架。
267
+ */
268
+ declare function WorkspaceLayout({ header, sidebar, tabs, footer, children, sidebarWidth, collapsedWidth, collapsed, themeMode, contentMode, siderProps, className, contentClassName, height, }: WorkspaceLayoutProps): react_jsx_runtime.JSX.Element;
269
+
270
+ interface CrudScaffoldProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'results'> {
271
+ /** 业务页面的可访问名称,不额外渲染重复标题。 */
272
+ label: string;
273
+ /** 页面业务边界说明,供辅助技术读取。 */
274
+ description?: string;
275
+ /** 筛选条件、查询命令与功能按钮组成的顶部区域。 */
276
+ filters: ReactNode;
277
+ /** 可选的列表失败、警告或统计反馈。 */
278
+ status?: ReactNode;
279
+ /** 结果表格、树或列表;数据与分页仍归宿主控制。 */
280
+ results: ReactNode;
281
+ /** 可选编辑或详情抽屉,不承担提交与权限逻辑。 */
282
+ drawer?: ReactNode;
283
+ }
284
+ /**
285
+ * 固定 CRUD 列表的区域顺序和间距,同时让业务操作由宿主注入。
286
+ *
287
+ * @param props 筛选、反馈、结果、抽屉及原生 main 属性。
288
+ * @returns 不访问数据或权限的列表页骨架。
289
+ */
290
+ declare function CrudScaffold({ label, description, filters, status, results, drawer, className, ...props }: CrudScaffoldProps): react_jsx_runtime.JSX.Element;
291
+
292
+ interface EllipsisTextProps extends ComponentProps<typeof Typography.Text> {
293
+ /** 单行文本最多占用的宽度;业务表格可按列宽覆盖。 */
294
+ maxWidth?: number | string;
295
+ }
296
+ /**
297
+ * 在紧凑列表中截断长文本,悬停或聚焦时使用 Ant Tooltip 展示完整内容。
298
+ *
299
+ * @param props Ant Typography.Text 属性及可覆盖的最大宽度。
300
+ * @returns 保留完整文本可访问性的单行内容。
301
+ */
302
+ declare function EllipsisText({ children, maxWidth, ellipsis, className, style, ...props }: EllipsisTextProps): react_jsx_runtime.JSX.Element;
303
+
304
+ interface RowActionsProps extends Omit<ComponentProps<typeof Space>, 'children'> {
305
+ /** 原按钮及权限条件;仅递归展开 Fragment,不执行或绕过业务权限组件。 */
306
+ children: ReactNode;
307
+ /** 直接展示的动作数量,默认两项;其它动作进入更多菜单。 */
308
+ maxVisible?: number;
309
+ /** 省略号按钮的可访问名称。 */
310
+ moreLabel?: string;
311
+ }
312
+ /**
313
+ * 将超出两项的行命令交给官方 Dropdown,直接按钮保持原属性和事件。
314
+ * @param props 按钮、最大直显数量与 Ant Space 原生属性。
315
+ * @returns 两个直显动作及可键盘打开的黑色省略号菜单。
316
+ * @remarks 更多菜单保留原动作禁用/加载状态与点击回调,破坏性动作仍由业务确认。
317
+ */
318
+ declare function RowActions({ children, maxVisible, moreLabel, className, size, wrap, ...props }: RowActionsProps): react_jsx_runtime.JSX.Element;
319
+
320
+ type TableEmptyProps = ComponentProps<typeof Empty>;
321
+ /**
322
+ * 为表格结果区域提供统一图形和空态文案,不包含业务请求或清理操作。
323
+ *
324
+ * @param props Ant Empty 原生属性;description 可保留当前业务筛选下的具体说明。
325
+ * @returns 可由业务覆写图形、文案与额外操作的紧凑空态。
326
+ */
327
+ declare function TableEmpty({ className, description, image, ...props }: TableEmptyProps): react_jsx_runtime.JSX.Element;
328
+
329
+ /** JSON 字段名只表示当前表单的顶层键,不执行路径或表达式。 */
330
+ type SchemaFieldName = string;
331
+ /** 选项值限制为 JSON 标量,避免把组件或函数藏进配置。 */
332
+ interface SchemaOption {
333
+ label: string;
334
+ value: string | number;
335
+ disabled?: boolean;
336
+ }
337
+ /** 文本长度与邮箱格式是固定的内置校验,不接收自定义代码。 */
338
+ interface SchemaTextValidation {
339
+ minLength?: number;
340
+ maxLength?: number;
341
+ email?: boolean;
342
+ }
343
+ /** 数值上下限是固定的内置校验。 */
344
+ interface SchemaNumberValidation {
345
+ min?: number;
346
+ max?: number;
347
+ }
348
+ interface SchemaFieldBase<TType extends string> {
349
+ type: TType;
350
+ name: SchemaFieldName;
351
+ label: string;
352
+ required?: boolean;
353
+ placeholder?: string;
354
+ }
355
+ interface SchemaTextField extends SchemaFieldBase<'input' | 'password' | 'textarea'> {
356
+ default?: string;
357
+ validation?: SchemaTextValidation;
358
+ }
359
+ interface SchemaNumberField extends SchemaFieldBase<'number'> {
360
+ default?: number;
361
+ validation?: SchemaNumberValidation;
362
+ }
363
+ interface SchemaChoiceField extends SchemaFieldBase<'select' | 'radio'> {
364
+ options: SchemaOption[];
365
+ default?: string | number;
366
+ }
367
+ interface SchemaBooleanField extends SchemaFieldBase<'checkbox' | 'switch'> {
368
+ default?: boolean;
369
+ }
370
+ interface SchemaDateField extends SchemaFieldBase<'date'> {
371
+ /** 日期值使用 YYYY-MM-DD 字符串,不向业务提交 dayjs 实例。 */
372
+ default?: string;
373
+ }
374
+ interface SchemaDateRangeField extends SchemaFieldBase<'dateRange'> {
375
+ /** 区间两端都使用 YYYY-MM-DD,且起始日期不晚于结束日期。 */
376
+ default?: [string, string];
377
+ }
378
+ type SchemaField = SchemaTextField | SchemaNumberField | SchemaChoiceField | SchemaBooleanField | SchemaDateField | SchemaDateRangeField;
379
+ interface SchemaFormSchema {
380
+ fields: SchemaField[];
381
+ submitText?: string;
382
+ }
383
+ /** 表单返回值仅包含 JSON 可表示的字段值。 */
384
+ type SchemaFormValues = Record<string, string | number | boolean | [string, string] | undefined>;
385
+ /** 额外的 Ant Form 参数与实例 ref 均透传;回调只从显式 Props 输入。 */
386
+ interface SchemaFormProps extends Omit<FormProps<SchemaFormValues>, 'children' | 'onSubmit' | 'onChange'> {
387
+ schema: SchemaFormSchema;
388
+ onSubmit?: (values: SchemaFormValues) => void;
389
+ onChange?: (changedValues: Partial<SchemaFormValues>, allValues: SchemaFormValues) => void;
390
+ ref?: Ref<FormInstance<SchemaFormValues>>;
391
+ }
392
+
393
+ /** 只从 JSON 生成字段树;Ant Form 的校验状态、实例方法与其余 Props 原样保留。 */
394
+ declare const SchemaForm: react.ForwardRefExoticComponent<Omit<SchemaFormProps, "ref"> & react.RefAttributes<FormInstance<SchemaFormValues>>>;
395
+
396
+ /** 错误路径对应 JSON 配置中的字段,调用方可直接定位配置问题。 */
397
+ interface SchemaIssue {
398
+ path: string;
399
+ message: string;
400
+ }
401
+ interface SchemaValidationResult {
402
+ valid: boolean;
403
+ errors: SchemaIssue[];
404
+ }
405
+ interface SchemaFieldMapping {
406
+ name: string;
407
+ label: string;
408
+ control: SchemaField['type'];
409
+ valuePropName: 'value' | 'checked';
410
+ placeholder?: string;
411
+ required: boolean;
412
+ }
413
+ /** 返回全部可定位错误;校验是纯函数,不修改输入 JSON。 */
414
+ declare function validateSchemaForm(input: unknown): SchemaValidationResult;
415
+ /** 将字段声明映射为固定控件元数据,不生成可执行表达式。 */
416
+ declare function mapSchemaField(field: SchemaField): SchemaFieldMapping;
417
+ /** 从字段默认值生成表单初值;调用方的 initialValues 可在渲染层覆盖。 */
418
+ declare function schemaInitialValues(schema: SchemaFormSchema): SchemaFormValues;
419
+
420
+ export { Affix, Alert, Anchor, App, AutoComplete, Avatar, BUSINESS_DRAWER_WIDTH, BackTop, Badge, BorderBeam, Breadcrumb, BusinessDrawer, type BusinessDrawerProps, type BusinessDrawerSize, Button, Calendar, Card, Carousel, Cascader, Checkbox, Col, Collapse, ColorPicker, ConfigProvider, CrudScaffold, type CrudScaffoldProps, DataTable, type DataTableProps, DatePicker, Descriptions, Divider, Drawer, Dropdown, EllipsisText, type EllipsisTextProps, Empty, Flex, FloatButton, Form, Grid, Image, Input, InputNumber, Layout, List, Listy, Masonry, Mentions, Menu, Modal, Pagination, Popconfirm, Popover, Progress, QRCode, Radio, Rate, Result, Row, RowActions, type RowActionsProps, type SchemaBooleanField, type SchemaChoiceField, type SchemaDateField, type SchemaDateRangeField, type SchemaField, type SchemaFieldMapping, type SchemaFieldName, SchemaForm, type SchemaFormProps, type SchemaFormSchema, type SchemaFormValues, type SchemaIssue, type SchemaNumberField, type SchemaNumberValidation, type SchemaOption, type SchemaTextField, type SchemaTextValidation, type SchemaValidationResult, SearchPanel, type SearchPanelProps, Segmented, Select, Skeleton, Slider, Space, Spin, Splitter, Statistic, Steps, Switch, Table, TableEmpty, type TableEmptyProps, Tabs, Tag, type ThemeMode, ThemeModeButton, type ThemeModeButtonProps, TimePicker, Timeline, Tooltip, Tour, Transfer, Tree, TreeSelect, Typography, Upload, Watermark, WorkspaceLayout, type WorkspaceLayoutProps, mapSchemaField, schemaInitialValues, tableBodyHeight, validateSchemaForm };