ant-design-vue/site/demo.js

350 lines
6.6 KiB
JavaScript

export default {
avatar: {
category: 'Components',
subtitle: '头像',
type: 'Data Display',
title: 'Avatar',
},
badge: {
category: 'Components',
subtitle: '徽标数',
type: 'Data Display',
title: 'Badge',
},
comment: {
category: 'Components',
subtitle: '评论',
type: 'Data Display',
title: 'Comment',
},
configProvider: {
category: 'Components',
subtitle: '全局化配置',
type: 'Other',
title: 'ConfigProvider',
},
breadcrumb: {
category: 'Components',
subtitle: '面包屑',
type: 'Navigation',
title: 'Breadcrumb',
},
button: {
category: 'Components',
subtitle: '按钮',
type: 'General',
title: 'Button',
},
card: {
category: 'Components',
subtitle: '卡片',
type: 'Data Display',
title: 'Card',
cols: 1,
},
checkbox: {
category: 'Components',
subtitle: '多选框',
type: 'Data Entry',
title: 'Checkbox',
},
grid: {
category: 'Components',
subtitle: '栅格',
type: 'Layout',
title: 'Grid',
cols: 1,
},
icon: {
category: 'Components',
subtitle: '图标',
type: 'General',
title: 'Icon',
},
input: {
category: 'Components',
subtitle: '输入框',
type: 'Data Entry',
title: 'Input',
},
select: {
category: 'Components',
subtitle: '选择器',
type: 'Data Entry',
title: 'Select',
},
menu: {
category: 'Components',
subtitle: '导航菜单',
type: 'Navigation',
title: 'Menu',
cols: 1,
},
pagination: {
category: 'Components',
subtitle: '分页',
type: 'Navigation',
title: 'Pagination',
cols: 1,
},
popconfirm: {
category: 'Components',
subtitle: '气泡确认框',
type: 'Feedback',
title: 'Popconfirm',
},
popover: {
category: 'Components',
subtitle: '气泡卡片',
type: 'Data Display',
title: 'Popover',
},
radio: {
category: 'Components',
subtitle: '单选框',
type: 'Data Entry',
title: 'Radio',
},
rate: {
category: 'Components',
subtitle: '评分',
type: 'Data Entry',
title: 'Rate',
cols: 1,
},
tabs: {
category: 'Components',
subtitle: '标签页',
type: 'Data Display',
title: 'Tabs',
cols: 1,
},
tag: {
category: 'Components',
subtitle: '标签',
type: 'Data Display',
title: 'Tag',
},
tooltip: {
category: 'Components',
subtitle: '文字提示',
type: 'Data Display',
title: 'Tooltip',
},
dropdown: {
category: 'Components',
subtitle: '下拉菜单',
type: 'Navigation',
title: 'Dropdown',
},
divider: {
category: 'Components',
subtitle: '分割线',
type: 'Other',
title: 'Divider',
},
collapse: {
category: 'Components',
subtitle: '折叠面板',
type: 'Data Display',
title: 'Collapse',
cols: 1,
},
notification: {
category: 'Components',
subtitle: '通知提醒框',
type: 'Feedback',
title: 'Notification',
},
message: {
category: 'Components',
subtitle: '全局提示',
type: 'Feedback',
title: 'Message',
},
spin: {
category: 'Components',
subtitle: '加载中',
type: 'Feedback',
title: 'Spin',
},
switch: {
category: 'Components',
subtitle: '开关',
type: 'Data Entry',
title: 'Switch',
},
autoComplete: {
category: 'Components',
subtitle: '自动完成',
type: 'Data Entry',
title: 'AutoComplete',
cols: 2,
},
affix: {
category: 'Components',
subtitle: '固钉',
type: 'Navigation',
title: 'Affix',
},
cascader: {
category: 'Components',
subtitle: '级联选择',
type: 'Data Entry',
title: 'Cascader',
},
backTop: {
category: 'Components',
subtitle: '回到顶部',
type: 'Other',
title: 'BackTop',
},
modal: {
category: 'Components',
subtitle: '对话框',
type: 'Feedback',
title: 'Modal',
},
alert: {
category: 'Components',
subtitle: '警告提示',
type: 'Feedback',
title: 'Alert',
},
timePicker: {
category: 'Components',
subtitle: '时间选择框',
type: 'Data Entry',
title: 'TimePicker',
},
steps: {
category: 'Components',
subtitle: '步骤条',
type: 'Navigation',
title: 'Steps',
cols: 1,
},
calendar: {
category: 'Components',
subtitle: '日历',
type: 'Data Display',
title: 'Calendar',
cols: 1,
},
datePicker: {
category: 'Components',
subtitle: '日期选择框',
type: 'Data Entry',
title: 'DatePicker',
},
localeProvider: {
category: 'Components',
subtitle: '国际化',
type: 'Other',
title: 'LocaleProvider',
cols: 1,
},
slider: {
category: 'Components',
subtitle: '滑动输入条',
type: 'Data Entry',
title: 'Slider',
},
progress: {
category: 'Components',
subtitle: '进度条',
type: 'Feedback',
title: 'Progress',
},
timeline: {
category: 'Components',
subtitle: '时间轴',
type: 'Data Display',
title: 'Timeline',
},
table: {
category: 'Components',
subtitle: '表格',
type: 'Data Display',
title: 'Table',
cols: 1,
},
inputNumber: {
category: 'Components',
subtitle: '数字输入框',
type: 'Data Entry',
title: 'InputNumber',
},
transfer: {
category: 'Components',
subtitle: '穿梭框',
type: 'Data Entry',
title: 'Transfer',
cols: '1',
},
upload: {
category: 'Components',
subtitle: '上传',
type: 'Data Entry',
title: 'Upload',
},
carousel: {
category: 'Components',
type: 'Data Display',
title: 'Carousel',
subtitle: '走马灯',
},
tree: {
category: 'Components',
subtitle: '树形控件',
type: 'Data Display',
title: 'Tree',
},
treeSelect: {
category: 'Components',
subtitle: '树选择',
type: 'Data Entry',
title: 'TreeSelect',
},
layout: {
category: 'Components',
subtitle: '布局',
type: 'Layout',
title: 'Layout',
cols: 1,
},
form: {
category: 'Components',
subtitle: '表单',
type: 'Data Entry',
title: 'Form',
cols: 1,
},
anchor: {
category: 'Components',
subtitle: '锚点',
type: 'Other',
title: 'Anchor',
cols: 2,
},
list: {
category: 'Components',
subtitle: '列表',
type: 'Data Display',
title: 'List',
cols: 1,
},
drawer: {
category: 'Components',
type: 'Feedback',
title: 'Drawer',
subtitle: '抽屉',
},
skeleton: {
category: 'Components',
type: 'Feedback',
title: 'Skeleton',
subtitle: '骨架屏',
},
};