fix(admin): fix dynamic import error

This commit is contained in:
dntzhang 2021-08-07 11:29:07 +08:00
parent 8e13817014
commit 2945cf9cf9
9 changed files with 25 additions and 177 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{_ as e}from"./index.13d43452.js";import{W as t,h as a,t as i,s as n,b as s}from"./vendor.fc6dd635.js";import"./index.esm.9c9ca90a.js";import"./index.esm.4e389557.js";import"./index.esm.d6fe1678.js";var d=Object.defineProperty,r=Object.getOwnPropertyDescriptor;let o=class extends t{constructor(){super(...arguments),this.dataSource=[{id:1,name:"xwang",age:18,address:"Tencent"},{id:2,name:"dntzhang",age:12,address:"Tencent",$config:{bgColor:"rgb(247 176 176 / 32%)"}},{id:3,name:"lucy",age:12,address:"Tencent"},{id:4,name:"john",age:12,address:"Tencent",$config:{bgColor:"rgb(230 162 60 / 34%)"}},{id:5,name:"tim",age:12,address:"Tencent"},{id:6,name:"tim",age:12,address:"Tencent"},{id:7,name:"tim",age:12,address:"Tencent"},{id:8,name:"tim",age:12,address:"Tencent"},{id:9,name:"xwang",age:18,address:"Tencent"},{id:10,name:"dntzhang",age:12,address:"Tencent",$config:{bgColor:"rgb(247 176 176 / 32%)"}},{id:11,name:"lucy",age:12,address:"Tencent"},{id:12,name:"john",age:12,address:"Tencent",$config:{bgColor:"rgb(230 162 60 / 34%)"}},{id:13,name:"tim",age:12,address:"Tencent"},{id:14,name:"tim",age:12,address:"Tencent"},{id:15,name:"tim",age:12,address:"Tencent"},{id:16,name:"tim",age:12,address:"Tencent"}],this.columns=[{title:"ID",render:e=>a("strong",null,e.id)},{title:"Name",width:120,key:"name",editable:!0},{title:"Age",width:90,key:"age",editable:!0},{title:"Address",width:290,key:"address",editable:!0},{title:"操作",align:"right",render:e=>a("o-tooltip",{content:"删除"+e.name},a("o-icon-delete",{"data-item-id":e.id,_onclick:this.onClick,style:"cursor:pointer;font-size:20px;"}))}],this.paging=!0,this.pageSize=5,this.pageIndex=0,this.filterData=[],this.change=e=>{this.pageIndex=e.detail,this.renderTable()},this.onClick=e=>{this.table.deleteRowById(e.currentTarget.dataset.itemId)},this.exportExcel=()=>{e((()=>import("./export-excel.79cc4a4f.js")),["assets/export-excel.79cc4a4f.js","assets/vendor.fc6dd635.js"]).then((e=>{e.exportTableToExcel(this.table.rootNode.querySelector("table"))}))}}renderTable(){this.filterData=this.dataSource.slice(this.pageIndex*this.pageSize,this.pageIndex*this.pageSize+this.pageSize),this.update()}installed(){this.renderTable()}deleteItemById(e){const t=this.dataSource.indexOf(this.dataSource.find((t=>t.id===e)));-1!==t&&this.dataSource.splice(t,1),this.update()}render(){return a("div",{class:i`pl-0.5`},a("div",{class:i`relative h-10 text-right`},a("o-button",{class:i`relative top-2 right-2`,size:"mini",onClick:this.exportExcel},"导出Excel")),a("div",{class:i`px-2`},a("o-table",{ref:e=>this.table=e,checkbox:!1,stripe:!1,border:!1,compact:!1,columns:this.columns,dataSource:this.filterData}),a("div",{class:i`mt-3 text-right`},a("o-pagination",{total:this.dataSource.length,"current-page":this.pageIndex,"page-size":this.pageSize,onchange:this.change}))))}};o.css=n.target,o=((e,t,a,i)=>{for(var n,s=i>1?void 0:i?r(t,a):t,o=e.length-1;o>=0;o--)(n=e[o])&&(s=(i?n(t,a,s):n(s))||s);return i&&s&&d(t,a,s),s})([s("inline-editing")],o);export{o as default};
import{_ as e}from"./index.4427b670.js";import{W as t,h as a,t as i,s as n,b as s}from"./vendor.fc6dd635.js";import"./index.esm.9c9ca90a.js";import"./index.esm.4e389557.js";import"./index.esm.d6fe1678.js";var d=Object.defineProperty,r=Object.getOwnPropertyDescriptor;let o=class extends t{constructor(){super(...arguments),this.dataSource=[{id:1,name:"xwang",age:18,address:"Tencent"},{id:2,name:"dntzhang",age:12,address:"Tencent",$config:{bgColor:"rgb(247 176 176 / 32%)"}},{id:3,name:"lucy",age:12,address:"Tencent"},{id:4,name:"john",age:12,address:"Tencent",$config:{bgColor:"rgb(230 162 60 / 34%)"}},{id:5,name:"tim",age:12,address:"Tencent"},{id:6,name:"tim",age:12,address:"Tencent"},{id:7,name:"tim",age:12,address:"Tencent"},{id:8,name:"tim",age:12,address:"Tencent"},{id:9,name:"xwang",age:18,address:"Tencent"},{id:10,name:"dntzhang",age:12,address:"Tencent",$config:{bgColor:"rgb(247 176 176 / 32%)"}},{id:11,name:"lucy",age:12,address:"Tencent"},{id:12,name:"john",age:12,address:"Tencent",$config:{bgColor:"rgb(230 162 60 / 34%)"}},{id:13,name:"tim",age:12,address:"Tencent"},{id:14,name:"tim",age:12,address:"Tencent"},{id:15,name:"tim",age:12,address:"Tencent"},{id:16,name:"tim",age:12,address:"Tencent"}],this.columns=[{title:"ID",render:e=>a("strong",null,e.id)},{title:"Name",width:120,key:"name",editable:!0},{title:"Age",width:90,key:"age",editable:!0},{title:"Address",width:290,key:"address",editable:!0},{title:"操作",align:"right",render:e=>a("o-tooltip",{content:"删除"+e.name},a("o-icon-delete",{"data-item-id":e.id,_onclick:this.onClick,style:"cursor:pointer;font-size:20px;"}))}],this.paging=!0,this.pageSize=5,this.pageIndex=0,this.filterData=[],this.change=e=>{this.pageIndex=e.detail,this.renderTable()},this.onClick=e=>{this.table.deleteRowById(e.currentTarget.dataset.itemId)},this.exportExcel=()=>{e((()=>import("./export-excel.79cc4a4f.js")),["assets/export-excel.79cc4a4f.js","assets/vendor.fc6dd635.js"]).then((e=>{e.exportTableToExcel(this.table.rootNode.querySelector("table"))}))}}renderTable(){this.filterData=this.dataSource.slice(this.pageIndex*this.pageSize,this.pageIndex*this.pageSize+this.pageSize),this.update()}installed(){this.renderTable()}deleteItemById(e){const t=this.dataSource.indexOf(this.dataSource.find((t=>t.id===e)));-1!==t&&this.dataSource.splice(t,1),this.update()}render(){return a("div",{class:i`pl-0.5`},a("div",{class:i`relative h-10 text-right`},a("o-button",{class:i`relative top-2 right-2`,size:"mini",onClick:this.exportExcel},"导出Excel")),a("div",{class:i`px-2`},a("o-table",{ref:e=>this.table=e,checkbox:!1,stripe:!1,border:!1,compact:!1,columns:this.columns,dataSource:this.filterData}),a("div",{class:i`mt-3 text-right`},a("o-pagination",{total:this.dataSource.length,"current-page":this.pageIndex,"page-size":this.pageSize,onchange:this.change}))))}};o.css=n.target,o=((e,t,a,i)=>{for(var n,s=i>1?void 0:i?r(t,a):t,o=e.length-1;o>=0;o--)(n=e[o])&&(s=(i?n(t,a,s):n(s))||s);return i&&s&&d(t,a,s),s})([s("inline-editing")],o);export{o as default};

View File

@ -0,0 +1 @@
var n="## What's Omiu ?\n\nOmiu is a cross framework UI component library developed based on [OMI](https://github.com/tencent/omi), which outputs custom elements of standard web components. Any component can be used in any framework or frameless environment such as react, Vue, preact, OMI or native JS at the same time, which is very convenient. Overall, omiu has these characteristics:\n\n> [Omiu Codepen Collection](https://codepen.io/collection/XBJjke)\n\n* Cross frameworks \n* Integrated [all the MUI Icon](https://tencent.github.io/omi/components/icon/demos/icon.html)\n* Mobile terminal and PC share one set of components\n* Theme switching support at runtime (color, font, and fillets)\n* Components directly decoupled, independently polished, independently released, independently quoted\n* Extended HTML capabilities. You can pass false to an element through the string `'0'` or the string `'false'`\n\n## Usage\n\n### Install by script\n\n```html\n<script src=\"https://unpkg.com/omi\"><\/script>\n<script src=\"https://unpkg.com/@omiu/button\"><\/script>\n\n<o-button>I am button</o-button>\n```\n\n### Install by npm\n\n``` bash\nnpm install @omiu/button\n```\n\nImport to use it:\n\n```js\nimport '@omiu/button'\n```\n\nThen use it in any framework, such as Omi, react, Vue or angular:\n\n``` html\n<o-button>I am button</o-button>\n```\n\nYou can also use native JS:\n\n```js\nvar button = document.createElement('o-button')\nbutton.innerHTML = 'I am omiu button'\ndocument.body.append(button)\nbutton.addEventListener('click', function () {\n console.log('Clicked!')\n})\n\n//or\n//document.body.innerHTML = '<o-button>I am omiu button</o-button>'\n```\n\n## HTML Extension \n\nWhen the default value is true and you need to pass false to the element, it used to be a historical problem. OMI has solved this problem perfectly. You can set it through the string `'0'` or the string `'false'`.\n\n```js\ndefine('my-element', class extends WeElement {\n static defaultProps = {\n show: true\n }\n\n static propTypes = {\n show: Boolean\n }\n\n render(props) {\n ...\n ...\n }\n})\n```\n\nUse:\n\n```html\n<my-element show=\"false\"></my-element>\n```\n\nor\n\n```html\n<my-element show=\"0\"></my-element>\n```\n\n\n## Using omiu in Vue\n\n```html\n<script>\nimport '@omiu/icon-button'\n\nexport default {\n name: 'HelloWorld',\n data: function() {\n return {\n result: false\n }\n },\n methods: {\n myEvent: function(evt) {\n this.result = evt.detail.isOn\n }\n }\n}\n<\/script>\n\n<template>\n <div class=\"component\">\n <p>The switch is {{result? 'on' : 'off'}}</p>\n <o-icon-button color=\"red\" icons=\"['favorite', 'favorite_border']\" @change=\"myEvent\"></o-icon-button>\n </div>\n</template>\n```\n\n## Using omiu in preact\n\n```tsx\nimport { useState, h } from 'preact'\nimport '@omiu/icon-button'\n\nexport default function SomeComponent(props) {\n const [result, setSwitch] = useState(false)\n\n return (\n <div>\n <p>The switch is {result ? 'on' : 'off'}</p>\n <o-icon-button color=\"red\" icons=\"['favorite', 'favorite_border']\" onChange={e => setSwitch(e.detail.isOn)}>\n </o-icon-button>\n </div>\n )\n}\n```\n\n\n## Using omiu in react\n\n```tsx\nimport { useState } from 'react'\nimport '@omiu/icon-button'\n\nexport default function SomeComponent(props) {\n const [result, setSwitch] = useState(false)\n\n return (\n <div>\n <p>The switch is {result ? 'on' : 'off'}</p>\n {// bind event by addEventListener}\n <o-icon-button color=\"red\" icons=\"['favorite', 'favorite_border']\">\n </o-icon-button>\n </div>\n )\n}\n```\n\nMany thanks to calebdwilliams's [jsx-native-events](https://github.com/calebdwilliams/jsx-native-events#readme)。\n\n\n## Event triggering and binding best practices\n\nDue to the need for cross framework, in order to unify component behavior in event binding, best practices for component development and use are given here. The event triggering of the omiu component is in the form of uppercase dash:\n\n```js\nthis.fire('Change')\nthis.fire('MyEvent')\n```\n\nIn Omi or Preact :\n\n```jsx\n<my-ele onchange={this.changeHandler} onMyEvent={this.myEventHandler}></my-ele>\n```\n\nIn Vue:\n\n```html\n<my-ele @change=\"changeHandler\" @MyEvent=\"myEventHandler\"></my-ele>\n```\n\nIn React or JS:\n\n```jsx\nmyEl.addEventListener('MyEvent', (evt) => {})\n```\n\n## Contribution\n\nBuild:\n\n```bash\nnpm run build\n```\n\nBuild Demo:\n\n```bash\nnpm start \n```\n\nGenerate the docs:\n\n```bash\nnpm run docs\n```\n\nPublic to npm:\n\n```bash\nnpm publish --access public\n```\n\n\n";export{n as default};

View File

@ -0,0 +1 @@
var n="## Omiu 是什么?\n\nOmiu 是基于 [Omi](https://github.com/Tencent/omi) 开发的跨框架 UI 组件库,输出标准 Web Components 的 Custom Elements任意组件可以同时在 React、Vue、Preact、Omi 或者原生 JS 等任意框架或无框架中使用非常方便。总体来看Omiu 有这些特性:\n\n> [Omiu Codepen 合集](https://codepen.io/collection/XBJjke)\n\n* 跨框架使用\n* 集成 MUI [海量 ICON](https://tencent.github.io/omi/components/icon/demos/icon.html)\n* 移动端和 PC 共用一套组件\n* 运行时的主题切换支持(颜色、字体和圆角)\n* 组件直接解耦,独立打磨,独立发布,独立引用\n* 扩展了 HTML 能力,你可以通过字符串 `'0'` 或者字符串 `'false'` 传递 false 给元素\n\n## 使用指南\n\n### 通过 script\n\n```html\n<script src=\"https://unpkg.com/omi\"><\/script>\n<script src=\"https://unpkg.com/@omiu/button\"><\/script>\n\n<o-button>I am button</o-button>\n```\n\n### 通过 npm\n\n``` bash\nnpm install @omiu/button\n```\n\n然后导入自动全局注册:\n\n```js\nimport '@omiu/button'\n```\n\n然后在任意框架中使用比如 Omi, React, Vue or Angular:\n\n``` html\n<o-button>I am button</o-button>\n```\n\n也可以原生 JS 使用:\n\n```js\nvar button = document.createElement('o-button')\nbutton.innerHTML = 'I am omiu button'\ndocument.body.append(button)\nbutton.addEventListener('click', function () {\n console.log('Clicked!')\n})\n\n//or\n//document.body.innerHTML = '<o-button>I am omiu button</o-button>'\n```\n\n## HTML 扩展 \n\n当默认值为 true需要传递 false 给 element 的时候以前是历史难题Omi 完美解决了这一点,你可以通过字符串 `'0'` 或者 字符串 `'false'` 来设置。\n\n```js\ndefine('my-element', class extends WeElement {\n static defaultProps = {\n show: true\n }\n\n static propTypes = {\n show: Boolean\n }\n\n render(props) {\n ...\n ...\n }\n})\n```\n\nUse:\n\n```html\n<my-element show=\"false\"></my-element>\n```\n\nor\n\n```html\n<my-element show=\"0\"></my-element>\n```\n\n## React 中使用 omiu\n\n```tsx\nimport { useState } from 'react'\nimport '@omiu/icon-button'\n\nexport default function SomeComponent(props) {\n const [result, setSwitch] = useState(false)\n\n return (\n <div>\n <p>The switch is {result ? 'on' : 'off'}</p>\n {//使用 addEventListener 绑定自定义事件}\n <o-icon-button color=\"red\" icons=\"['favorite', 'favorite_border']\">\n </o-icon-button>\n </div>\n )\n}\n```\n\n\n## Vue 中使用 Omiu\n\n```html\n<script>\nimport '@omiu/icon-button'\n\nexport default {\n name: 'HelloWorld',\n data: function() {\n return {\n result: false\n }\n },\n methods: {\n myEvent: function(evt) {\n this.result = evt.detail.isOn\n }\n }\n}\n<\/script>\n\n<template>\n <div class=\"component\">\n <p>The switch is {{result? 'on' : 'off'}}</p>\n <o-icon-button color=\"red\" icons=\"['favorite', 'favorite_border']\" @change=\"myEvent\"></o-icon-button>\n </div>\n</template>\n```\n\n## 事件触发和绑定最佳实践\n\n由于需要跨框架在事件绑定上为了统一组件行为这里给除了组件开发和使用的最佳实践。Omiu 组件的事件触发统一使用大写的形式:\n\n```js\nthis.fire('Change')\nthis.fire('MyEvent')\n```\n\n在 Omi 或者 Preact 中进行对应的事件绑定:\n\n```jsx\n<my-ele onchange={this.changeHandler} onMyEvent={this.myEventHandler}></my-ele>\n```\n\n在 Vue 中进行对应的事件绑定:\n\n```html\n<my-ele @change=\"changeHandler\" @MyEvent=\"myEventHandler\"></my-ele>\n```\n\n在 React 和 JS 中进行对应的事件绑定:\n\n```jsx\nmyEl.addEventListener('MyEvent', (evt) => {})\n```\n\n## 贡献\n\n### 一些命令\n\nBuild 组件:\n\n```bash\nnpm run build \n```\n\nBuild 例子:\n\n```bash\nnpm start\n```\n\n生成文档:\n\n```bash\nnpm run docs\n```\n\n发布:\n\n```bash\nnpm publish --access public\n```\n";export{n as default};

View File

@ -0,0 +1 @@
var e="## 自定义主题 \n\nOmiu 支持运行时动态主题切换。\n\n\n## 安装\n\n```js\nimport '@omiu/common'\n```\n\n或者直接 script 标签引入。\n\n\n```html\n<script src=\"https://unpkg.com/@omiu/common\"><\/script>\n```\n\n## 更改主题\n\n```js\nconst setTheme = Omiu.setTheme\n\nsetTheme('primary', '#07c160')\nsetTheme('danger', '#f5222d')\nsetTheme('surface', '#ffffff')\nsetTheme('on-primary', '#ffffff')\nsetTheme('on-danger', '#ffffff')\nsetTheme('on-surface', '#000000')\nsetTheme('background', '#ffffff')\nsetTheme('small-radius', '4px')\nsetTheme('medium-radius', '4px')\nsetTheme('large-radius', '0px')\nsetTheme('font-family', '-apple-system-font,\"Helvetica Neue\",sans-serif')\n```\n\n或者\n\n```js\nOmiu.setThemePrimary('green')\n```\n\n\n";export{e as default};

View File

@ -0,0 +1 @@
var e="## Custom Theme \n\nOmiu supports dynamic theme switching at runtime.\n\n\n\n## Import\n\n```js\nimport '@omiu/common'\n```\n\nOr use script tag to ref it.\n\n\n```html\n<script src=\"https://unpkg.com/@omiu/common\"><\/script>\n```\n\n## Change Theme\n\n```js\nconst setTheme = Omiu.setTheme\n\nsetTheme('primary', '#07c160')\nsetTheme('danger', '#f5222d')\nsetTheme('surface', '#ffffff')\nsetTheme('on-primary', '#ffffff')\nsetTheme('on-danger', '#ffffff')\nsetTheme('on-surface', '#000000')\nsetTheme('background', '#ffffff')\nsetTheme('small-radius', '4px')\nsetTheme('medium-radius', '4px')\nsetTheme('large-radius', '0px')\nsetTheme('font-family', '-apple-system-font,\"Helvetica Neue\",sans-serif')\n```\n\nor\n\n```js\nOmiu.setThemePrimary('green')\n```\n\n";export{e as default};

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OMI ADMIN</title>
<script type="module" crossorigin src="./assets/index.13d43452.js"></script>
<script type="module" crossorigin src="./assets/index.4427b670.js"></script>
<link rel="modulepreload" href="./assets/vendor.fc6dd635.js">
<link rel="stylesheet" href="./assets/index.e4c38a11.css">
</head>

View File

@ -1,181 +1,25 @@
export const getIntroductionNode = (lacale, localeMap) => {
return {
label: localeMap.base.Introduction,
//icon: 'description',
href: '#/docs/introduction',
md: import(`./${lacale}/introduction.md?raw`),
id: 31,
}
return {
label: localeMap.base.Introduction,
//icon: 'description',
href: '#/docs/introduction',
md: lacale === 'zh' ? import(`./zh/introduction.md?raw`) : import(`./en/introduction.md?raw`),
// vite 目前不支持
//md: import(`./${lacale}/introduction.md?raw`),
id: 31,
}
}
export const getThemeNode = (lacale, localeMap) => {
return {
label: localeMap.base.CustomTheme,
//icon: 'description',
href: '#/docs/theme',
md: import(`./${lacale}/theme.md?raw`),
id: 32,
}
return {
label: localeMap.base.CustomTheme,
//icon: 'description',
href: '#/docs/theme',
md: lacale === 'zh' ? import(`./zh/theme.md?raw`) : import(`./en/theme.md?raw`),
// vite 目前不支持
// md: import(`./${lacale}/theme.md?raw`),
id: 32,
}
}
// const config = {
// menus: {
// 'zh-cn': [
// {
// title: 'OMIU',
// list: [
// { name: '简介', md: 'introduction' },
// { name: '自定义主题', md: 'theme' },
// { name: '文档解释', md: 'doc-explanation' }
// ]
// },
// {
// title: '基础组件',
// list: [
// { name: 'Button 按钮', md: 'button' },
// { name: 'Icon 图标', md: 'icon' },
// { name: 'OIcon 矢量图标', md: 'o-icon' },
// { name: 'Transition 过渡动画', md: 'transition' },
// { name: 'Badge 徽章', md: 'badge' },
// { name: 'Avatar 头像', md: 'avatar' },
// { name: 'ToggleIcon 可切换图标', md: 'toggle-icon' },
// { name: 'Link 文字链接', md: 'link' },
// { name: 'HamburgerMenu 汉堡包菜单', md: 'hamburger-menu' }
// ]
// },
// {
// title: '导航',
// list: [
// { name: 'Tabs 选项卡', md: 'tabs' },
// { name: 'Breadcrumb 面包屑', md: 'breadcrumb' },
// { name: 'BottomNav 底部导航', md: 'bottom-nav' }
// ]
// },
// {
// title: '表单',
// list: [
// { name: 'Input 输入框', md: 'input' },
// { name: 'Checkbox 复选框', md: 'checkbox' },
// { name: 'Switch 开关', md: 'switch' },
// { name: 'Radio 单选框', md: 'radio' },
// { name: 'ColorPicker 颜色选择器', md: 'color-picker' }
// ]
// },
// {
// title: '数据',
// list: [
// { name: 'Tree 树形控件', md: 'tree' },
// { name: 'Pagination 分页', md: 'pagination' }
// ]
// },
// {
// title: '通知',
// list: [
// { name: 'Dialog 对话框', md: 'dialog' },
// { name: 'DialogExtention 基础对话框', md: 'dialog-extention' },
// { name: 'Loading 加载', md: 'loading' },
// { name: 'Toast 弹出式提示', md: 'toast' },
// { name: 'ActionSheet 弹出式菜单', md: 'action-sheet' }
// ]
// },
// {
// title: '图表',
// list: [
// { name: '简介', md: 'chart' },
// { name: 'Bar 柱状图', md: 'bar' },
// { name: 'Line 线状图', md: 'line' },
// { name: 'Scatter 散点图', md: 'scatter' },
// { name: 'Pie 饼图', md: 'pie' },
// { name: 'Doughnut 环状图', md: 'doughnut' },
// { name: 'Radar 雷达图', md: 'radar' },
// { name: 'PolarArea 极区图', md: 'polar-area' },
// { name: 'Bubble 气泡图', md: 'bubble' },
// { name: 'BarLine 合成图', md: 'bar-line' }
// ]
// }
// ],
// en: [
// {
// title: 'OMIU',
// list: [
// { name: 'Introduction', md: 'introduction' },
// { name: 'Custom Theme', md: 'theme' },
// { name: 'Explanation', md: 'doc-explanation' }
// ]
// },
// {
// title: 'Base',
// list: [
// { name: 'Button', md: 'button' },
// { name: 'Icon', md: 'icon' },
// { name: 'OIcon', md: 'o-icon' },
// { name: 'Transition', md: 'transition' },
// { name: 'Badge', md: 'badge' },
// { name: 'Avatar', md: 'avatar' },
// { name: 'ToggleIcon', md: 'toggle-icon' },
// { name: 'Link', md: 'link' },
// { name: 'Hamburger Menu', md: 'hamburger-menu' }
// ]
// },
// {
// title: 'Navigation',
// list: [
// { name: 'Tabs', md: 'tabs' },
// { name: 'Breadcrumb', md: 'breadcrumb' },
// { name: 'BottomNav', md: 'bottom-nav' }
// ]
// },
// {
// title: 'Form',
// list: [
// { name: 'Input', md: 'input' },
// { name: 'Checkbox', md: 'checkbox' },
// { name: 'Switch', md: 'switch' },
// { name: 'Radio', md: 'radio' },
// { name: 'ColorPicker', md: 'color-picker' }
// ]
// },
// {
// title: 'Data',
// list: [
// { name: 'Tree', md: 'tree' },
// { name: 'Pagination', md: 'pagination' }
// ]
// },
// {
// title: 'Notice',
// list: [
// { name: 'Dialog', md: 'dialog' },
// { name: 'DialogExtention', md: 'dialog-extention' },
// { name: 'Loading', md: 'loading' },
// { name: 'Toast', md: 'toast' },
// { name: 'ActionSheet', md: 'action-sheet' }
// ]
// },
// {
// title: 'Chart',
// list: [
// { name: 'Introduction', md: 'chart' },
// { name: 'Bar', md: 'bar', demo: './repl/bar.html' },
// { name: 'Line', md: 'line', demo: './repl/line.html' },
// { name: 'Scatter', md: 'scatter', demo: './repl/scatter.html' },
// { name: 'Pie', md: 'pie', demo: './repl/pie.html' },
// { name: 'Doughnut', md: 'doughnut', demo: './repl/doughnut.html' },
// { name: 'Radar', md: 'radar', demo: './repl/radar.html' },
// { name: 'PolarArea', md: 'polar-area', demo: './repl/polar-area.html' },
// { name: 'Bubble', md: 'bubble', demo: './repl/bubble.html' },
// { name: 'BarLine', md: 'bar-line', demo: './repl/bar-line.html' }
// ]
// }
// ]
// }
// }
// export default config