2021-02-01 20:44:49 +08:00
|
|
|
import React from 'react';
|
2022-02-10 13:50:12 +08:00
|
|
|
import {Switch} from 'react-router-dom';
|
|
|
|
import {navigations2route} from './App';
|
2021-02-01 20:44:49 +08:00
|
|
|
import makeMarkdownRenderer from './MdRenderer';
|
2022-02-10 13:50:12 +08:00
|
|
|
function wrapDoc(doc: any) {
|
|
|
|
return {
|
|
|
|
default: makeMarkdownRenderer(doc)
|
|
|
|
};
|
|
|
|
}
|
2021-02-01 20:44:49 +08:00
|
|
|
|
|
|
|
export const components = [
|
|
|
|
{
|
|
|
|
label: '布局',
|
|
|
|
children: [
|
2021-04-03 11:56:18 +08:00
|
|
|
{
|
|
|
|
label: '组件介绍',
|
|
|
|
path: '/zh-CN/components/index',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/index.md').then(wrapDoc)
|
|
|
|
)
|
2021-04-03 11:56:18 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Page 页面',
|
|
|
|
path: '/zh-CN/components/page',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/page.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Container 容器',
|
|
|
|
path: '/zh-CN/components/container',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/container.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Collapse 折叠器',
|
|
|
|
path: '/zh-CN/components/collapse',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/collapse.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Divider 分割线',
|
|
|
|
path: '/zh-CN/components/divider',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/divider.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-03-15 10:30:39 +08:00
|
|
|
{
|
|
|
|
label: 'Flex 布局',
|
|
|
|
path: '/zh-CN/components/flex',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/flex.md').then(wrapDoc)
|
|
|
|
)
|
2021-03-15 10:30:39 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
2021-12-22 16:34:49 +08:00
|
|
|
label: 'Grid 水平分栏',
|
2021-02-01 20:44:49 +08:00
|
|
|
path: '/zh-CN/components/grid',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/grid.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Grid 2D 布局',
|
|
|
|
path: '/zh-CN/components/grid-2d',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/grid-2d.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'HBox 布局',
|
|
|
|
path: '/zh-CN/components/hbox',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/hbox.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2022-04-19 12:18:56 +08:00
|
|
|
{
|
|
|
|
label: 'Pagination分页',
|
|
|
|
path: '/zh-CN/components/pagination',
|
|
|
|
component: React.lazy(() =>
|
2022-05-10 23:35:56 +08:00
|
|
|
import('../../docs/zh-CN/components/pagination.md').then(wrapDoc)
|
2022-04-19 12:18:56 +08:00
|
|
|
)
|
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'PaginationWrapper 分页容器',
|
|
|
|
path: '/zh-CN/components/pagination-wrapper',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-02-01 20:44:49 +08:00
|
|
|
import('../../docs/zh-CN/components/pagination-wrapper.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Panel 面板',
|
|
|
|
path: '/zh-CN/components/panel',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/panel.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Tabs 选项卡',
|
|
|
|
path: '/zh-CN/components/tabs',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/tabs.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Wrapper 包裹容器',
|
|
|
|
path: '/zh-CN/components/wrapper',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/wrapper.md').then(wrapDoc)
|
|
|
|
)
|
2021-11-11 19:30:52 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Portlet 门户栏目',
|
|
|
|
path: '/zh-CN/components/portlet',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/portlet.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '功能',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
label: 'Action 行为按钮',
|
|
|
|
path: '/zh-CN/components/action',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/action.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'App 多页应用',
|
|
|
|
path: '/zh-CN/components/app',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/app.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Button 按钮',
|
|
|
|
path: '/zh-CN/components/button',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/button.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'ButtonGroup 按钮组',
|
|
|
|
path: '/zh-CN/components/button-group',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/button-group.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-03-14 16:10:07 +08:00
|
|
|
{
|
|
|
|
label: 'Breadcrumb 面包屑',
|
|
|
|
path: '/zh-CN/components/breadcrumb',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/breadcrumb.md').then(wrapDoc)
|
|
|
|
)
|
2021-03-14 16:10:07 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Custom 自定义组件',
|
|
|
|
path: '/zh-CN/components/custom',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/custom.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'DropDownButton 下拉按钮',
|
|
|
|
path: '/zh-CN/components/dropdown-button',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/dropdown-button.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Service 功能型容器',
|
|
|
|
path: '/zh-CN/components/service',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/service.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Nav 导航',
|
|
|
|
path: '/zh-CN/components/nav',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/nav.md').then(wrapDoc)
|
|
|
|
)
|
2021-03-16 13:13:11 +08:00
|
|
|
},
|
2023-03-09 12:11:54 +08:00
|
|
|
|
2021-03-16 13:13:11 +08:00
|
|
|
{
|
|
|
|
label: 'AnchorNav 锚点导航',
|
|
|
|
path: '/zh-CN/components/anchor-nav',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/anchor-nav.md').then(wrapDoc)
|
|
|
|
)
|
2022-02-14 15:31:35 +08:00
|
|
|
},
|
2022-03-01 10:23:17 +08:00
|
|
|
{
|
|
|
|
label: 'TooltipWrapper 文字提示容器',
|
|
|
|
path: '/zh-CN/components/tooltip',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/tooltip-wrapper.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
2022-02-14 15:31:35 +08:00
|
|
|
{
|
|
|
|
label: 'PopOver 弹出提示',
|
|
|
|
path: '/zh-CN/components/popover',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/popover.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: '数据输入',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
label: 'Form 表单',
|
|
|
|
path: '/zh-CN/components/form/index',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/index.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-02-03 12:22:31 +08:00
|
|
|
label: 'FormItem 表单项通用',
|
2021-02-01 20:44:49 +08:00
|
|
|
path: '/zh-CN/components/form/formitem',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/formitem.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2023-05-31 17:06:41 +08:00
|
|
|
{
|
|
|
|
label: 'Control 表单项包裹',
|
|
|
|
path: '/zh-CN/components/form/control',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/control.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Options 选择器表单项',
|
|
|
|
path: '/zh-CN/components/form/options',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/options.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputArray 数组输入框',
|
|
|
|
path: '/zh-CN/components/form/input-array',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-array.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-10-27 11:13:06 +08:00
|
|
|
label: 'ButtonToolbar 按钮工具栏',
|
2021-02-01 20:44:49 +08:00
|
|
|
path: '/zh-CN/components/form/button-toolbar',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-02-01 20:44:49 +08:00
|
|
|
import('../../docs/zh-CN/components/form/button-toolbar.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-10-27 11:13:06 +08:00
|
|
|
label: 'ButtonGroupSelect 按钮点选',
|
2021-06-03 22:09:30 +08:00
|
|
|
path: '/zh-CN/components/form/button-group-select',
|
2022-03-02 12:10:33 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import(
|
|
|
|
'../../docs/zh-CN/components/form/button-group-select.md'
|
2022-02-10 20:15:39 +08:00
|
|
|
).then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-10-27 11:13:06 +08:00
|
|
|
label: 'ChainedSelect 链式下拉框',
|
2021-02-01 20:44:49 +08:00
|
|
|
path: '/zh-CN/components/form/chain-select',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-02-01 20:44:49 +08:00
|
|
|
import('../../docs/zh-CN/components/form/chain-select.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Checkbox 勾选框',
|
|
|
|
path: '/zh-CN/components/form/checkbox',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/checkbox.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Checkboxes 复选框',
|
|
|
|
path: '/zh-CN/components/form/checkboxes',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/checkboxes.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputCity 城市选择器',
|
|
|
|
path: '/zh-CN/components/form/input-city',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-city.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputColor 颜色选择器',
|
|
|
|
path: '/zh-CN/components/form/input-color',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-color.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Combo 组合',
|
|
|
|
path: '/zh-CN/components/form/combo',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/combo.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-02-19 09:56:19 +08:00
|
|
|
{
|
2021-10-27 11:13:06 +08:00
|
|
|
label: 'ConditionBuilder 条件组合',
|
2021-02-19 09:56:19 +08:00
|
|
|
path: '/zh-CN/components/form/condition-builder',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-02-19 09:56:19 +08:00
|
|
|
import('../../docs/zh-CN/components/form/condition-builder.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-19 09:56:19 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-19 09:56:19 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputDate 日期选择器',
|
|
|
|
path: '/zh-CN/components/form/input-date',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-date.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputDatetime 日期时间选择器',
|
|
|
|
path: '/zh-CN/components/form/input-datetime',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-datetime.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputMonth 月份选择器',
|
|
|
|
path: '/zh-CN/components/form/input-month',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-month.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputDateRange 日期范围选择器',
|
|
|
|
path: '/zh-CN/components/form/input-date-range',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-date-range.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputDatetimeRange 日期时间范围',
|
|
|
|
path: '/zh-CN/components/form/input-datetime-range',
|
2022-02-10 20:15:39 +08:00
|
|
|
component: React.lazy(() =>
|
2021-09-13 10:22:50 +08:00
|
|
|
import(
|
|
|
|
'../../docs/zh-CN/components/form/input-datetime-range.md'
|
2022-02-10 20:15:39 +08:00
|
|
|
).then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputMonthRange 月份范围',
|
|
|
|
path: '/zh-CN/components/form/input-month-range',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-month-range.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-10-20 16:29:12 +08:00
|
|
|
{
|
|
|
|
label: 'InputKV 键值对',
|
|
|
|
path: '/zh-CN/components/form/input-kv',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-kv.md').then(wrapDoc)
|
|
|
|
)
|
2021-10-20 16:29:12 +08:00
|
|
|
},
|
2022-07-07 16:22:20 +08:00
|
|
|
{
|
|
|
|
label: 'InputKVS 键值对象',
|
|
|
|
path: '/zh-CN/components/form/input-kvs',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-kvs.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
2021-12-20 18:54:13 +08:00
|
|
|
{
|
|
|
|
label: 'InputFormula 公式编辑器',
|
|
|
|
path: '/zh-CN/components/form/input-formula',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-12-20 18:54:13 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-formula.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-12-20 18:54:13 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-12-20 18:54:13 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'DiffEditor 对比编辑器',
|
|
|
|
path: '/zh-CN/components/form/diff-editor',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-02-01 20:44:49 +08:00
|
|
|
import('../../docs/zh-CN/components/form/diff-editor.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Editor 代码编辑器',
|
|
|
|
path: '/zh-CN/components/form/editor',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/editor.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'FieldSet 表单项集合',
|
|
|
|
path: '/zh-CN/components/form/fieldset',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/fieldset.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-09-13 10:22:50 +08:00
|
|
|
{
|
|
|
|
label: 'InputExcel Excel 解析',
|
|
|
|
path: '/zh-CN/components/form/input-excel',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-09-13 10:22:50 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-excel.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-09-13 10:22:50 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-09-13 10:22:50 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputFile 文件上传',
|
|
|
|
path: '/zh-CN/components/form/input-file',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-file.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Formula 公式',
|
|
|
|
path: '/zh-CN/components/form/formula',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/formula.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Group 表单项组',
|
|
|
|
path: '/zh-CN/components/form/group',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/group.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Hidden 隐藏字段',
|
|
|
|
path: '/zh-CN/components/form/hidden',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/hidden.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputImage 图片',
|
|
|
|
path: '/zh-CN/components/form/input-image',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-image.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-10-27 11:13:06 +08:00
|
|
|
label: 'InputGroup 输入框组合',
|
2021-02-01 20:44:49 +08:00
|
|
|
path: '/zh-CN/components/form/input-group',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-02-01 20:44:49 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-group.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'ListSelect 选择器',
|
|
|
|
path: '/zh-CN/components/form/list-select',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/list-select.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'LocationPicker 地理位置',
|
|
|
|
path: '/zh-CN/components/form/location-picker',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/location-picker.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'UUID 随机 ID',
|
|
|
|
path: '/zh-CN/components/form/uuid',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/uuid.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'MatrixCheckboxes 矩阵勾选',
|
|
|
|
path: '/zh-CN/components/form/matrix-checkboxes',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/matrix-checkboxes.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'NestedSelect 级联选择器',
|
|
|
|
path: '/zh-CN/components/form/nestedselect',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-02-01 20:44:49 +08:00
|
|
|
import('../../docs/zh-CN/components/form/nestedselect.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputNumber 数字输入',
|
|
|
|
path: '/zh-CN/components/form/input-number',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-number.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-02-03 12:22:31 +08:00
|
|
|
{
|
2021-08-16 11:46:29 +08:00
|
|
|
label: 'InputPassword 密码输入框',
|
|
|
|
path: '/zh-CN/components/form/input-password',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-08-16 11:46:29 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-password.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-03 12:22:31 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-03 12:22:31 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Picker 列表选择器',
|
|
|
|
path: '/zh-CN/components/form/picker',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/picker.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputQuarter 季度',
|
|
|
|
path: '/zh-CN/components/form/input-quarter',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-quarter.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-06-10 14:38:36 +08:00
|
|
|
{
|
|
|
|
label: 'InputQuarterRange 季度范围',
|
|
|
|
path: '/zh-CN/components/form/input-quarter-range',
|
2022-02-10 20:15:39 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-24 10:18:12 +08:00
|
|
|
import(
|
|
|
|
'../../docs/zh-CN/components/form/input-quarter-range.md'
|
2022-02-10 20:15:39 +08:00
|
|
|
).then(wrapDoc)
|
|
|
|
)
|
2021-06-10 14:38:36 +08:00
|
|
|
},
|
2023-05-31 10:22:20 +08:00
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Radio 单选框',
|
|
|
|
path: '/zh-CN/components/form/radio',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/radio.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Radios 单选框',
|
|
|
|
path: '/zh-CN/components/form/radios',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/radios.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2022-02-10 20:08:17 +08:00
|
|
|
|
|
|
|
{
|
2022-05-18 10:03:56 +08:00
|
|
|
label: 'ChartRadios 图表单选框',
|
2022-02-10 20:08:17 +08:00
|
|
|
path: '/zh-CN/components/form/chart-radios',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/chart-radios.md').then(
|
|
|
|
wrapDoc
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputRating 评分',
|
|
|
|
path: '/zh-CN/components/form/input-rating',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-rating.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputRange 滑块',
|
|
|
|
path: '/zh-CN/components/form/input-range',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-range.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputRepeat 重复频率选择器',
|
|
|
|
path: '/zh-CN/components/form/input-repeat',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-repeat.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-10-08 10:36:37 +08:00
|
|
|
label: 'InputRichText 富文本编辑器',
|
2021-06-03 22:09:30 +08:00
|
|
|
path: '/zh-CN/components/form/input-rich-text',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-rich-text.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Select 下拉框',
|
|
|
|
path: '/zh-CN/components/form/select',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/select.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputSubForm 子表单',
|
|
|
|
path: '/zh-CN/components/form/input-sub-form',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-09-09 23:22:11 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-sub-form.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Switch 开关',
|
|
|
|
path: '/zh-CN/components/form/switch',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/switch.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Static 静态展示',
|
|
|
|
path: '/zh-CN/components/form/static',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/static.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputTable 表格',
|
|
|
|
path: '/zh-CN/components/form/input-table',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-06-03 22:09:30 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-table.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputTag 标签选择器',
|
|
|
|
path: '/zh-CN/components/form/input-tag',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-tag.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputText 输入框',
|
|
|
|
path: '/zh-CN/components/form/input-text',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-text.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Textarea 多行输入框',
|
|
|
|
path: '/zh-CN/components/form/textarea',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/textarea.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputTime 时间',
|
|
|
|
path: '/zh-CN/components/form/input-time',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-time.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-08-03 10:12:35 +08:00
|
|
|
{
|
|
|
|
label: 'InputTimeRange 时间',
|
|
|
|
path: '/zh-CN/components/form/input-time-range',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-08-03 10:12:35 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-time-range.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-08-03 10:12:35 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-08-03 10:12:35 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Transfer 穿梭器',
|
|
|
|
path: '/zh-CN/components/form/transfer',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/transfer.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-11-17 18:03:07 +08:00
|
|
|
{
|
|
|
|
label: 'TransferPicker 穿梭选择器',
|
|
|
|
path: '/zh-CN/components/form/transfer-picker',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-11-17 18:03:07 +08:00
|
|
|
import('../../docs/zh-CN/components/form/transfer-picker.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-11-17 18:03:07 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-11-17 18:03:07 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'TabsTransfer 组合穿梭器',
|
|
|
|
path: '/zh-CN/components/form/tabs-transfer',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-02-01 20:44:49 +08:00
|
|
|
import('../../docs/zh-CN/components/form/tabs-transfer.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-02-01 20:44:49 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-11-16 15:49:52 +08:00
|
|
|
{
|
2021-11-17 18:03:07 +08:00
|
|
|
label: 'TabsTransferPicker 组合穿梭选择器',
|
|
|
|
path: '/zh-CN/components/form/tabs-transfer-picker',
|
2022-02-10 20:15:39 +08:00
|
|
|
component: React.lazy(() =>
|
2021-11-17 18:03:07 +08:00
|
|
|
import(
|
|
|
|
'../../docs/zh-CN/components/form/tabs-transfer-picker.md'
|
2022-02-10 20:15:39 +08:00
|
|
|
).then(wrapDoc)
|
|
|
|
)
|
2021-11-16 15:49:52 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputTree 树形选择框',
|
|
|
|
path: '/zh-CN/components/form/input-tree',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-tree.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'TreeSelect 树形选择器',
|
|
|
|
path: '/zh-CN/components/form/treeselect',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/treeselect.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
label: 'InputYear 年输入',
|
|
|
|
path: '/zh-CN/components/form/input-year',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-year.md').then(wrapDoc)
|
|
|
|
)
|
2021-08-16 11:46:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'InputYearRange 年份范围',
|
|
|
|
path: '/zh-CN/components/form/input-year-range',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
2021-08-16 11:46:11 +08:00
|
|
|
import('../../docs/zh-CN/components/form/input-year-range.md').then(
|
2022-02-10 13:50:12 +08:00
|
|
|
wrapDoc
|
2021-08-16 11:46:11 +08:00
|
|
|
)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2022-04-20 18:12:26 +08:00
|
|
|
},
|
|
|
|
|
2022-05-10 23:35:56 +08:00
|
|
|
{
|
|
|
|
label: 'JsonSchema',
|
|
|
|
path: '/zh-CN/components/form/json-schema',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/json-schema.md').then(
|
|
|
|
wrapDoc
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
|
2022-04-20 18:12:26 +08:00
|
|
|
{
|
|
|
|
label: 'JsonSchema Editor',
|
|
|
|
path: '/zh-CN/components/form/json-schema-editor',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/json-schema-editor.md').then(
|
|
|
|
wrapDoc
|
|
|
|
)
|
|
|
|
)
|
2024-03-05 15:13:14 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'InputSignature 签名面板',
|
|
|
|
path: '/zh-CN/components/form/input-signature',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/form/input-signature.md').then(
|
|
|
|
wrapDoc
|
|
|
|
)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: '数据展示',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
label: 'CRUD 增删改查',
|
|
|
|
path: '/zh-CN/components/crud',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/crud.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Table 表格',
|
|
|
|
path: '/zh-CN/components/table',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/table.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2023-09-06 21:30:21 +08:00
|
|
|
{
|
|
|
|
label: 'Table2 表格',
|
|
|
|
path: '/zh-CN/components/table2',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/table2.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
2021-06-24 10:18:12 +08:00
|
|
|
{
|
|
|
|
label: 'Table View 表格视图',
|
|
|
|
path: '/zh-CN/components/table-view',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/table-view.md').then(wrapDoc)
|
|
|
|
)
|
2022-01-13 21:19:30 +08:00
|
|
|
},
|
|
|
|
{
|
2022-01-25 20:46:11 +08:00
|
|
|
label: 'Calendar 日历日程',
|
2022-01-13 21:19:30 +08:00
|
|
|
path: '/zh-CN/components/calendar',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/calendar.md').then(wrapDoc)
|
|
|
|
)
|
2021-06-24 10:18:12 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Card 卡片',
|
|
|
|
path: '/zh-CN/components/card',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/card.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Cards 卡片组',
|
|
|
|
path: '/zh-CN/components/cards',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/cards.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Carousel 轮播图',
|
|
|
|
path: '/zh-CN/components/carousel',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/carousel.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Chart 图表',
|
|
|
|
path: '/zh-CN/components/chart',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/chart.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
|
2021-06-29 16:39:03 +08:00
|
|
|
{
|
|
|
|
label: 'Code 代码高亮',
|
|
|
|
path: '/zh-CN/components/code',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/code.md').then(wrapDoc)
|
|
|
|
)
|
2021-06-29 16:39:03 +08:00
|
|
|
},
|
|
|
|
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Color 颜色',
|
|
|
|
path: '/zh-CN/components/color',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/color.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Date 日期时间',
|
|
|
|
path: '/zh-CN/components/date',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/date.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Each 循环渲染器',
|
|
|
|
path: '/zh-CN/components/each',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/each.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Html',
|
|
|
|
path: '/zh-CN/components/html',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/html.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Icon 图标',
|
|
|
|
path: '/zh-CN/components/icon',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/icon.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'iFrame',
|
|
|
|
path: '/zh-CN/components/iframe',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/iframe.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Image 图片',
|
|
|
|
path: '/zh-CN/components/image',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/image.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Images 图片集',
|
|
|
|
path: '/zh-CN/components/images',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/images.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-11-24 20:10:04 +08:00
|
|
|
{
|
|
|
|
label: 'GridNav 宫格导航',
|
|
|
|
path: '/zh-CN/components/grid-nav',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/grid-nav.md').then(wrapDoc)
|
|
|
|
)
|
2021-11-24 20:10:04 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Json',
|
|
|
|
path: '/zh-CN/components/json',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/json.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Link 链接',
|
|
|
|
path: '/zh-CN/components/link',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/link.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'List 列表',
|
|
|
|
path: '/zh-CN/components/list',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/list.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Log 实时日志',
|
|
|
|
path: '/zh-CN/components/log',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/log.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Mapping 映射',
|
|
|
|
path: '/zh-CN/components/mapping',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/mapping.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2023-03-09 12:11:54 +08:00
|
|
|
{
|
|
|
|
label: 'Number 展示',
|
|
|
|
path: '/zh-CN/components/number',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/number.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
2021-04-19 11:36:28 +08:00
|
|
|
{
|
|
|
|
label: 'Markdown 渲染',
|
|
|
|
path: '/zh-CN/components/markdown',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/markdown.md').then(wrapDoc)
|
|
|
|
)
|
2021-04-19 11:36:28 +08:00
|
|
|
},
|
2023-03-20 20:09:13 +08:00
|
|
|
{
|
2024-03-20 11:08:43 +08:00
|
|
|
label: 'OfficeViewer Word 渲染',
|
2023-03-20 20:09:13 +08:00
|
|
|
path: '/zh-CN/components/office-viewer',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/office-viewer.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
2024-03-20 11:08:43 +08:00
|
|
|
{
|
|
|
|
label: 'OfficeViewer Excel 渲染',
|
|
|
|
path: '/zh-CN/components/office-viewer-excel',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/office-viewer-excel.md').then(
|
|
|
|
wrapDoc
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
2024-03-01 14:04:34 +08:00
|
|
|
{
|
|
|
|
label: 'PDFViewer 渲染',
|
|
|
|
path: '/zh-CN/components/pdf-viewer',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/pdf-viewer.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Progress 进度条',
|
|
|
|
path: '/zh-CN/components/progress',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/progress.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-04-13 13:21:10 +08:00
|
|
|
{
|
|
|
|
label: 'Steps 步骤条',
|
|
|
|
path: '/zh-CN/components/steps',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/steps.md').then(wrapDoc)
|
|
|
|
)
|
2021-04-13 13:21:10 +08:00
|
|
|
},
|
2021-03-26 11:59:42 +08:00
|
|
|
{
|
|
|
|
label: 'Property 属性表',
|
|
|
|
path: '/zh-CN/components/property',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/property.md').then(wrapDoc)
|
|
|
|
)
|
2021-03-26 11:59:42 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'QRCode 二维码',
|
|
|
|
path: '/zh-CN/components/qrcode',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/qrcode.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2022-01-28 16:01:02 +08:00
|
|
|
{
|
|
|
|
label: 'BarCode 条形码',
|
|
|
|
path: '/zh-CN/components/barcode',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/barcode.md').then(wrapDoc)
|
|
|
|
)
|
2022-01-28 16:01:02 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Remark 标记',
|
|
|
|
path: '/zh-CN/components/remark',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/remark.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
|
2021-04-23 11:39:32 +08:00
|
|
|
{
|
2021-04-25 17:49:29 +08:00
|
|
|
label: 'SearchBox 搜索框',
|
2021-04-23 11:39:32 +08:00
|
|
|
path: '/zh-CN/components/search-box',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/search-box.md').then(wrapDoc)
|
|
|
|
)
|
2021-04-23 11:39:32 +08:00
|
|
|
},
|
|
|
|
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Sparkline 走势图',
|
|
|
|
path: '/zh-CN/components/sparkline',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/sparkline.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Status 状态',
|
|
|
|
path: '/zh-CN/components/status',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/status.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Tpl 模板',
|
|
|
|
path: '/zh-CN/components/tpl',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/tpl.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2022-04-20 23:11:49 +08:00
|
|
|
{
|
|
|
|
label: 'Tag 标签',
|
|
|
|
path: '/zh-CN/components/tag',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/tag.md').then(wrapDoc)
|
|
|
|
)
|
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Video 视频',
|
|
|
|
path: '/zh-CN/components/video',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/video.md').then(wrapDoc)
|
|
|
|
)
|
2021-12-27 15:46:47 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Timeline 时间轴',
|
|
|
|
path: '/zh-CN/components/timeline',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/timeline.md').then(wrapDoc)
|
|
|
|
)
|
2022-01-25 20:46:11 +08:00
|
|
|
}
|
2021-02-01 20:44:49 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: '反馈',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
label: 'Alert 提示',
|
|
|
|
path: '/zh-CN/components/alert',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/alert.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Dialog 对话框',
|
|
|
|
path: '/zh-CN/components/dialog',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/dialog.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Drawer 抽屉',
|
|
|
|
path: '/zh-CN/components/drawer',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/drawer.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Spinner 加载中',
|
|
|
|
path: '/zh-CN/components/spinner',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/spinner.md').then(wrapDoc)
|
|
|
|
)
|
2022-02-17 17:42:40 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Toast 轻提示',
|
|
|
|
path: '/zh-CN/components/toast',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/toast.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: '其他',
|
|
|
|
children: [
|
2021-03-22 15:27:02 +08:00
|
|
|
{
|
|
|
|
label: 'Avatar 头像',
|
|
|
|
path: '/zh-CN/components/avatar',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/avatar.md').then(wrapDoc)
|
|
|
|
)
|
2021-03-22 15:27:02 +08:00
|
|
|
},
|
|
|
|
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Audio 音频',
|
|
|
|
path: '/zh-CN/components/audio',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/audio.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Tasks 任务操作集合',
|
|
|
|
path: '/zh-CN/components/tasks',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/tasks.md').then(wrapDoc)
|
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
},
|
2021-03-26 12:01:15 +08:00
|
|
|
{
|
|
|
|
label: 'Badge 角标',
|
|
|
|
path: '/zh-CN/components/badge',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/badge.md').then(wrapDoc)
|
|
|
|
)
|
2021-03-26 12:01:15 +08:00
|
|
|
},
|
2021-02-01 20:44:49 +08:00
|
|
|
{
|
|
|
|
label: 'Wizard 向导',
|
|
|
|
path: '/zh-CN/components/wizard',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/wizard.md').then(wrapDoc)
|
|
|
|
)
|
2021-08-09 22:21:54 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Web Component',
|
|
|
|
path: '/zh-CN/components/web-component',
|
2022-02-10 13:50:12 +08:00
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/web-component.md').then(wrapDoc)
|
2023-08-01 10:13:24 +08:00
|
|
|
)
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'amis 渲染器',
|
|
|
|
path: '/zh-CN/components/amis',
|
|
|
|
component: React.lazy(() =>
|
|
|
|
import('../../docs/zh-CN/components/amis.md').then(wrapDoc)
|
2022-02-10 13:50:12 +08:00
|
|
|
)
|
2021-02-01 20:44:49 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
export default class Components extends React.PureComponent<any> {
|
|
|
|
componentDidMount() {
|
2022-07-06 11:05:27 +08:00
|
|
|
this.props.setNavigations(components, false);
|
2021-02-01 20:44:49 +08:00
|
|
|
}
|
|
|
|
|
2021-11-16 19:11:28 +08:00
|
|
|
componentDidUpdate(preProps: any) {
|
|
|
|
if (this.props.location.pathname !== preProps.location.pathname) {
|
|
|
|
this.props.setNavigations(components, false);
|
|
|
|
}
|
2021-02-01 20:44:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
2022-02-10 13:50:12 +08:00
|
|
|
<Switch>
|
|
|
|
{navigations2route(components, {
|
2021-02-01 20:44:49 +08:00
|
|
|
theme: this.props.theme,
|
|
|
|
classPrefix: this.props.classPrefix,
|
|
|
|
locale: this.props.locale,
|
|
|
|
viewMode: this.props.viewMode,
|
|
|
|
offScreen: this.props.offScreen
|
|
|
|
})}
|
2022-02-10 13:50:12 +08:00
|
|
|
{/* {React.cloneElement(this.props.children as any, {
|
|
|
|
...(this.props.children as any).props,
|
|
|
|
theme: this.props.theme,
|
|
|
|
classPrefix: this.props.classPrefix,
|
|
|
|
locale: this.props.locale,
|
|
|
|
viewMode: this.props.viewMode,
|
|
|
|
offScreen: this.props.offScreen
|
|
|
|
})} */}
|
|
|
|
</Switch>
|
2021-02-01 20:44:49 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|