mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-10 23:32:58 +08:00
1216 lines
36 KiB
TypeScript
1216 lines
36 KiB
TypeScript
import makeMarkdownRenderer from './MdRenderer';
|
|
|
|
export default [
|
|
{
|
|
// prefix: ({classnames: cx}) => <li className={cx('AsideNav-divider')} />,
|
|
label: '📌 开始',
|
|
children: [
|
|
{
|
|
label: '介绍',
|
|
path: '/zh-CN/docs/index',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/index.md').then(makeMarkdownRenderer)
|
|
},
|
|
|
|
{
|
|
label: '快速开始',
|
|
path: '/zh-CN/docs/start/getting-started',
|
|
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/start/getting-started.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
|
|
{
|
|
label: '常见问题',
|
|
path: '/zh-CN/docs/start/faq',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/start/faq.md').then(makeMarkdownRenderer)
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
label: '💡 概念',
|
|
children: [
|
|
{
|
|
label: '配置与组件',
|
|
path: '/zh-CN/docs/concepts/schema',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/concepts/schema.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '数据域与数据链',
|
|
path: '/zh-CN/docs/concepts/datascope-and-datachain',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/concepts/datascope-and-datachain.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '模板',
|
|
path: '/zh-CN/docs/concepts/template',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/concepts/template.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '数据映射',
|
|
path: '/zh-CN/docs/concepts/data-mapping',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/concepts/data-mapping.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '表达式',
|
|
path: '/zh-CN/docs/concepts/expression',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/concepts/expression.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '联动',
|
|
path: '/zh-CN/docs/concepts/linkage',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/concepts/linkage.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '行为',
|
|
path: '/zh-CN/docs/concepts/action',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/concepts/action.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '样式',
|
|
path: '/zh-CN/docs/concepts/style',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/concepts/style.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
label: '🎼 类型',
|
|
children: [
|
|
{
|
|
label: 'SchemaNode',
|
|
path: '/zh-CN/docs/types/schemanode',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/types/schemanode.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'API',
|
|
path: '/zh-CN/docs/types/api',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/types/api.md').then(makeMarkdownRenderer)
|
|
},
|
|
{
|
|
label: 'Definitions',
|
|
path: '/zh-CN/docs/types/definitions',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/types/definitions.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
label: '⚙ 组件',
|
|
children: [
|
|
{
|
|
label: '组件介绍',
|
|
path: '/zh-CN/docs/components/component',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/component.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Page 页面',
|
|
path: '/zh-CN/docs/components/page',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/page.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Form 表单',
|
|
path: '/zh-CN/docs/components/form/index',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/index.md').then(
|
|
makeMarkdownRenderer
|
|
),
|
|
children: [
|
|
{
|
|
label: 'FormItem 表单项',
|
|
path: '/zh-CN/docs/components/form/formitem',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/formitem.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Options 选择器表单项',
|
|
path: '/zh-CN/docs/components/form/options',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/options.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Array 数组输入框',
|
|
path: '/zh-CN/docs/components/form/array',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/array.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Button 按钮',
|
|
path: '/zh-CN/docs/components/form/button',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/button.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Button-Toolbar 按钮工具栏',
|
|
path: '/zh-CN/docs/components/form/button-toolbar',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/button-toolbar.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Button-Group 按钮集合',
|
|
path: '/zh-CN/docs/components/form/button-group',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/button-group.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Chain-Select 链式下拉框',
|
|
path: '/zh-CN/docs/components/form/chain-select',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/chain-select.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Checkbox 勾选框',
|
|
path: '/zh-CN/docs/components/form/checkbox',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/checkbox.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Checkboxes 复选框',
|
|
path: '/zh-CN/docs/components/form/checkboxes',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/checkboxes.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'City 城市选择器',
|
|
path: '/zh-CN/docs/components/form/city',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/city.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Color 颜色选择器',
|
|
path: '/zh-CN/docs/components/form/color',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/color.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Combo 组合',
|
|
path: '/zh-CN/docs/components/form/combo',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/combo.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Date 日期选择器',
|
|
path: '/zh-CN/docs/components/form/date',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/date.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Datetime 日期时间选择器',
|
|
path: '/zh-CN/docs/components/form/datetime',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/datetime.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Month 月份选择器',
|
|
path: '/zh-CN/docs/components/form/month',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/month.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Date-Range 日期范围选择器',
|
|
path: '/zh-CN/docs/components/form/date-range',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/date-range.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Datetime-Range 日期时间范围',
|
|
path: '/zh-CN/docs/components/form/datetime-range',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/datetime-range.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'DiffEditor 对比编辑器',
|
|
path: '/zh-CN/docs/components/form/diff-editor',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/diff-editor.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Editor 代码编辑器',
|
|
path: '/zh-CN/docs/components/form/editor',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/editor.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'FieldSet 表单项集合',
|
|
path: '/zh-CN/docs/components/form/fieldset',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/fieldset.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'File 文件上传',
|
|
path: '/zh-CN/docs/components/form/file',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/file.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Formula 公式',
|
|
path: '/zh-CN/docs/components/form/formula',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/formula.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Grid 水平布局',
|
|
path: '/zh-CN/docs/components/form/grid',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/grid.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Group 表单项组',
|
|
path: '/zh-CN/docs/components/form/group',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/group.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'HBox',
|
|
path: '/zh-CN/docs/components/form/hbox',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/hbox.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Hidden 隐藏字段',
|
|
path: '/zh-CN/docs/components/form/hidden',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/hidden.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Image 图片',
|
|
path: '/zh-CN/docs/components/form/image',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/image.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Input-Group 输入框组合',
|
|
path: '/zh-CN/docs/components/form/input-group',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/input-group.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'List 列表',
|
|
path: '/zh-CN/docs/components/form/list',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/list.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Location 地理位置',
|
|
path: '/zh-CN/docs/components/form/location',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/location.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'UUID 随机 ID',
|
|
path: '/zh-CN/docs/components/form/uuid',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/uuid.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Matrix 矩阵',
|
|
path: '/zh-CN/docs/components/form/matrix',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/matrix.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'NestedSelect 级联选择器',
|
|
path: '/zh-CN/docs/components/form/nestedselect',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/nestedselect.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Number 数字输入框',
|
|
path: '/zh-CN/docs/components/form/number',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/number.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Panel 面板',
|
|
path: '/zh-CN/docs/components/form/panel',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/panel.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Picker 列表选择器',
|
|
path: '/zh-CN/docs/components/form/picker',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/picker.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Quarter 季度',
|
|
path: '/zh-CN/docs/components/form/quarter',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/quarter.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Radios 单选框',
|
|
path: '/zh-CN/docs/components/form/radios',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/radios.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Rating 评分',
|
|
path: '/zh-CN/docs/components/form/rating',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/rating.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Range 滑块',
|
|
path: '/zh-CN/docs/components/form/range',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/range.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Repeat 重复频率选择器',
|
|
path: '/zh-CN/docs/components/form/repeat',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/repeat.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Rich-Text 富文本编辑器',
|
|
path: '/zh-CN/docs/components/form/rich-text',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/rich-text.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Select 选择器',
|
|
path: '/zh-CN/docs/components/form/select',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/select.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Service 功能容器',
|
|
path: '/zh-CN/docs/components/form/service',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/service.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'SubForm 子表单',
|
|
path: '/zh-CN/docs/components/form/subform',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/subform.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Switch 开关',
|
|
path: '/zh-CN/docs/components/form/switch',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/switch.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Static 静态展示',
|
|
path: '/zh-CN/docs/components/form/static',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/static.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Tabs 选项卡',
|
|
path: '/zh-CN/docs/components/form/tabs',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/tabs.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Table 表格',
|
|
path: '/zh-CN/docs/components/form/table',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/table.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Tag 标签选择器',
|
|
path: '/zh-CN/docs/components/form/tag',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/tag.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Text 输入框',
|
|
path: '/zh-CN/docs/components/form/text',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/text.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Textarea 多行输入框',
|
|
path: '/zh-CN/docs/components/form/textarea',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/textarea.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Time 时间',
|
|
path: '/zh-CN/docs/components/form/time',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/time.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Transfer 穿梭器',
|
|
path: '/zh-CN/docs/components/form/transfer',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/transfer.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'TabsTransfer 组合穿梭器',
|
|
path: '/zh-CN/docs/components/form/tabs-transfer',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/tabs-transfer.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Tree 树形选择框',
|
|
path: '/zh-CN/docs/components/form/tree',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/tree.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'TreeSelect 树形选择器',
|
|
path: '/zh-CN/docs/components/form/treeselect',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/treeselect.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Year 年',
|
|
path: '/zh-CN/docs/components/form/year',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/form/year.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
}
|
|
]
|
|
},
|
|
{
|
|
label: 'CRUD 增删改查',
|
|
path: '/zh-CN/docs/components/crud',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/crud.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Custom 自定义组件',
|
|
path: '/zh-CN/docs/components/custom',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/custom.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Table 表格',
|
|
path: '/zh-CN/docs/components/table',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/table.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Action 行为按钮',
|
|
path: '/zh-CN/docs/components/action',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/action.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Alert 提示',
|
|
path: '/zh-CN/docs/components/alert',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/alert.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Audio 音频',
|
|
path: '/zh-CN/docs/components/audio',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/audio.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Button 按钮',
|
|
path: '/zh-CN/docs/components/button',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/button.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'ButtonGroup 按钮组',
|
|
path: '/zh-CN/docs/components/button-group',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/button-group.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Card 卡片',
|
|
path: '/zh-CN/docs/components/card',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/card.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Cards 卡片组',
|
|
path: '/zh-CN/docs/components/cards',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/cards.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Carousel 轮播图',
|
|
path: '/zh-CN/docs/components/carousel',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/carousel.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Chart 图表',
|
|
path: '/zh-CN/docs/components/chart',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/chart.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Collapse 折叠器',
|
|
path: '/zh-CN/docs/components/collapse',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/collapse.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Color 颜色',
|
|
path: '/zh-CN/docs/components/color',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/color.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Container 容器',
|
|
path: '/zh-CN/docs/components/container',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/container.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Date 日期时间',
|
|
path: '/zh-CN/docs/components/date',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/date.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Dialog 对话框',
|
|
path: '/zh-CN/docs/components/dialog',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/dialog.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Divider 分割线',
|
|
path: '/zh-CN/docs/components/divider',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/divider.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Drawer 抽屉',
|
|
path: '/zh-CN/docs/components/drawer',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/drawer.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'DropDownButton',
|
|
path: '/zh-CN/docs/components/dropdown-button',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/dropdown-button.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Each 循环渲染器',
|
|
path: '/zh-CN/docs/components/each',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/each.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Grid 水平布局',
|
|
path: '/zh-CN/docs/components/grid',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/grid.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Grid 2D 布局',
|
|
path: '/zh-CN/docs/components/grid-2d',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/grid-2d.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'HBox 布局',
|
|
path: '/zh-CN/docs/components/hbox',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/hbox.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Html',
|
|
path: '/zh-CN/docs/components/html',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/html.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Icon 图标',
|
|
path: '/zh-CN/docs/components/icon',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/icon.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'iFrame',
|
|
path: '/zh-CN/docs/components/iframe',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/iframe.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Image 图片',
|
|
path: '/zh-CN/docs/components/image',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/image.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Images 图片集',
|
|
path: '/zh-CN/docs/components/images',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/images.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Json',
|
|
path: '/zh-CN/docs/components/json',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/json.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Link 链接',
|
|
path: '/zh-CN/docs/components/link',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/link.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'List 列表',
|
|
path: '/zh-CN/docs/components/list',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/list.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Mapping 映射',
|
|
path: '/zh-CN/docs/components/mapping',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/mapping.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Nav 导航',
|
|
path: '/zh-CN/docs/components/nav',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/nav.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Panel 面板',
|
|
path: '/zh-CN/docs/components/panel',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/panel.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'PaginationWrapper',
|
|
path: '/zh-CN/docs/components/pagination-wrapper',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/pagination-wrapper.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Progress 进度条',
|
|
path: '/zh-CN/docs/components/progress',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/progress.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'QRCode 二维码',
|
|
path: '/zh-CN/docs/components/qrcode',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/qrcode.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Remark 标记',
|
|
path: '/zh-CN/docs/components/remark',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/remark.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Service 功能型容器',
|
|
path: '/zh-CN/docs/components/service',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/service.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Sparkline 走势图',
|
|
path: '/zh-CN/docs/components/sparkline',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/sparkline.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Spinner 加载中',
|
|
path: '/zh-CN/docs/components/spinner',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/spinner.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Status 状态',
|
|
path: '/zh-CN/docs/components/status',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/status.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Switch 开关',
|
|
path: '/zh-CN/docs/components/switch',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/switch.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Tabs 选项卡',
|
|
path: '/zh-CN/docs/components/tabs',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/tabs.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Tasks 任务操作集合',
|
|
path: '/zh-CN/docs/components/tasks',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/tasks.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Tpl 模板',
|
|
path: '/zh-CN/docs/components/tpl',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/tpl.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Video 视频',
|
|
path: '/zh-CN/docs/components/video',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/video.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Wrapper 包裹容器',
|
|
path: '/zh-CN/docs/components/wrapper',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/wrapper.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'Wizard 向导',
|
|
path: '/zh-CN/docs/components/wizard',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/wizard.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: 'App 多页应用',
|
|
path: '/zh-CN/docs/components/app',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/components/app.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
label: '💎 高级',
|
|
children: [
|
|
{
|
|
label: '工作原理',
|
|
path: '/zh-CN/docs/extend/internal',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/extend/internal.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '自定义组件 - SDK',
|
|
path: '/zh-CN/docs/extend/custom-sdk',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/extend/custom-sdk.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '自定义组件 - React',
|
|
path: '/zh-CN/docs/extend/custom-react',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/extend/custom-react.md').then(
|
|
makeMarkdownRenderer
|
|
)
|
|
},
|
|
{
|
|
label: '扩展现有组件',
|
|
path: '/zh-CN/docs/extend/addon',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/extend/addon.md').then(makeMarkdownRenderer)
|
|
},
|
|
{
|
|
label: '移动端定制',
|
|
path: '/zh-CN/docs/extend/mobile',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/extend/mobile.md').then(makeMarkdownRenderer)
|
|
},
|
|
{
|
|
label: '多语言',
|
|
path: '/zh-CN/docs/extend/i18n',
|
|
getComponent: () =>
|
|
// @ts-ignore
|
|
import('../../docs/zh-CN/extend/i18n.md').then(makeMarkdownRenderer)
|
|
}
|
|
]
|
|
}
|
|
];
|