diff --git a/1.3/CNAME b/1.3/CNAME new file mode 100644 index 000000000..6df57ef93 --- /dev/null +++ b/1.3/CNAME @@ -0,0 +1 @@ +element.eleme.io diff --git a/1.3/docs.130412a.js b/1.3/docs.130412a.js new file mode 100644 index 000000000..f46bcaaba --- /dev/null +++ b/1.3/docs.130412a.js @@ -0,0 +1,115 @@ +webpackJsonp([0,2],[function(s,t,a){s.exports=a(1)},function(s,t,a){(function(s){"use strict";function t(s){return s&&s.__esModule?s:{default:s}}var l=a(2),n=t(l),e=a(3),i=t(e),v=a(22),_=t(v),c=a(23),r=t(c),p=a(598),o=t(p);a(985);var h=a(990),d=t(h),C=a(996),j=t(C),u=a(1002),g=t(u),m=a(1009),b=t(m),f=a(1014),y=t(f),w=a(1019),k=t(w);n.default.use(o.default),n.default.use(_.default),n.default.component("demo-block",d.default),n.default.component("main-footer",j.default),n.default.component("main-header",g.default),n.default.component("side-nav",b.default),n.default.component("footer-nav",y.default);var x=new _.default({mode:"hash",base:s,routes:r.default});x.afterEach(function(s){var t=k.default[s.meta.lang];for(var a in t)if(new RegExp("^"+a,"g").test(s.name))return void(document.title=t[a]);document.title="Element"}),new n.default({render:function(s){return s(i.default)},router:x}).$mount("#app")}).call(t,"/")},,function(s,t,a){function l(s){a(4)}var n=a(13)(a(14),a(21),l,null,null);s.exports=n.exports},function(s,t){},,,,,,,,,,function(s,t,a){"use strict";function l(s){return s&&s.__esModule?s:{default:s}}t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},e=a(15),i=a(16),v=l(i),_=a(20),c=l(_);(0,e.use)(location.href.indexOf("zh-CN")>-1?v.default:c.default),t.default={name:"app",computed:{lang:function(){return this.$route.path.split("/")[1]||"zh-CN"}},watch:{lang:function(){this.localize()}},methods:{localize:function(){(0,e.use)("zh-CN"===this.lang?v.default:c.default)},renderAnchorHref:function(){if(!/changelog/g.test(location.href)){var s=document.querySelectorAll("h2 a,h3 a"),t=location.href.split("#").splice(0,2).join("#");[].slice.call(s).forEach(function(s){var a=s.getAttribute("href");s.href=t+a})}},goAnchor:function(){if(location.href.match(/#/g).length>1){var s=function(){var s=location.href.match(/#[^#]+$/g);if(!s)return{v:void 0};var t=document.querySelector(s[0]);return t?void setTimeout(function(s){document.documentElement.scrollTop=document.body.scrollTop=t.offsetTop+120},50):{v:void 0}}();if("object"===("undefined"==typeof s?"undefined":n(s)))return s.v}}},mounted:function(){this.localize(),this.renderAnchorHref(),this.goAnchor()},created:function(){var s=this;window.addEventListener("hashchange",function(){location.href.match(/#/g).length<2?(document.documentElement.scrollTop=document.body.scrollTop=0,s.renderAnchorHref()):s.goAnchor()})}}},,,,,,function(s,t){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",year:"",month1:"Jan",month2:"Feb",month3:"Mar",month4:"Apr",month5:"May",month6:"Jun",month7:"Jul",month8:"Aug",month9:"Sep",month10:"Oct",month11:"Nov",month12:"Dec",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",placeholder:"Select"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:""},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"}}}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{attrs:{id:"app"}},["play"!==s.lang?a("main-header"):s._e(),a("div",{staticClass:"main-cnt"},[a("router-view")],1),"play"!==s.lang?a("main-footer"):s._e()],1)},staticRenderFns:[]}},function(s,t){s.exports=VueRouter},function(s,t,a){"use strict";function l(s){return s&&s.__esModule?s:{default:s}}t.__esModule=!0;var n=a(24),e=l(n),i=a(25),v=l(i),_=function(s){function t(s,t,n){var e="/changelog"===s.path?a(38)("./"+t+"/changelog.vue"):a(55)("./"+t+s.path+".md"),i={path:s.path.slice(1),meta:{title:s.title||s.name,description:s.description,lang:t},name:"component-"+(s.title||s.name),component:e.default||e};l[n].children.push(i)}var l=[];return Object.keys(s).forEach(function(n,e){var i=s[n];l.push({path:"/"+n+"/component",redirect:"/"+n+"/component/installation",component:a(26)("./"+n+"/component.vue"),children:[]}),i.forEach(function(s){s.groups?s.groups.forEach(function(s){s.list.forEach(function(s){t(s,n,e)})}):s.children?s.children.forEach(function(s){t(s,n,e)}):t(s,n,e)})}),l},c=_(e.default),r=function(s){var t={path:"/"+s+"/guide",redirect:"/"+s+"/guide/design",component:a(521)("./"+s+"/guide.vue"),children:[{path:"design",name:"guide-design"+s,meta:{lang:s},component:a(532)("./"+s+"/design.vue")},{path:"nav",name:"guide-nav"+s,meta:{lang:s},component:a(545)("./"+s+"/nav.vue")}]},l={path:"/"+s+"/resource",meta:{lang:s},name:"resource"+s,component:a(560)("./"+s+"/resource.vue")},n={path:"/"+s,meta:{lang:s},name:"home"+s,component:a(572)("./"+s+"/index.vue")};return[t,l,n]};v.default.forEach(function(s){c=c.concat(r(s.lang))}),c.push({path:"/play",name:"play",component:a(590)});var p=localStorage.getItem("ELEMENT_LANGUAGE")||window.navigator.language||"en-US",o="/en-US";p.indexOf("zh-")!==-1&&(o="/zh-CN"),c=c.concat([{path:"/",redirect:o},{path:"*",redirect:o}]),t.default=c},function(s,t){s.exports={"zh-CN":[{name:"开发指南",children:[{path:"/installation",name:"安装"},{path:"/quickstart",name:"快速上手"},{path:"/i18n",name:"国际化"},{path:"/custom-theme",name:"自定义主题"},{path:"/transition",name:"内置过渡动画"}]},{name:"更新日志",path:"/changelog"},{name:"基础组件",groups:[{groupName:"Basic",list:[{path:"/layout",title:"Layout 布局"},{path:"/color",title:"Color 色彩"},{path:"/typography",title:"Typography 字体"},{path:"/icon",title:"Icon 图标"},{path:"/button",title:"Button 按钮"}]},{groupName:"Form",list:[{path:"/radio",title:"Radio 单选框"},{path:"/checkbox",title:"Checkbox 多选框"},{path:"/input",title:"Input 输入框"},{path:"/input-number",title:"InputNumber 计数器"},{path:"/select",title:"Select 选择器"},{path:"/cascader",title:"Cascader 级联选择器"},{path:"/switch",title:"Switch 开关"},{path:"/slider",title:"Slider 滑块"},{path:"/time-picker",title:"TimePicker 时间选择器"},{path:"/date-picker",title:"DatePicker 日期选择器"},{path:"/datetime-picker",title:"DateTimePicker 日期时间选择器"},{path:"/upload",title:"Upload 上传"},{path:"/rate",title:"Rate 评分"},{path:"/color-picker",title:"ColorPicker 颜色选择器"},{path:"/transfer",title:"Transfer 穿梭框"},{path:"/form",title:"Form 表单"}]},{groupName:"Data",list:[{path:"/table",title:"Table 表格"},{path:"/tag",title:"Tag 标签"},{path:"/progress",title:"Progress 进度条"},{path:"/tree",title:"Tree 树形控件"},{path:"/pagination",title:"Pagination 分页"},{path:"/badge",title:"Badge 标记"}]},{groupName:"Notice",list:[{path:"/alert",title:"Alert 警告"},{path:"/loading",title:"Loading 加载"},{path:"/message",title:"Message 消息提示"},{path:"/message-box",title:"MessageBox 弹框"},{path:"/notification",title:"Notification 通知"}]},{groupName:"Navigation",list:[{path:"/menu",title:"NavMenu 导航菜单"},{path:"/tabs",title:"Tabs 标签页"},{path:"/breadcrumb",title:"Breadcrumb 面包屑"},{path:"/dropdown",title:"Dropdown 下拉菜单"},{path:"/steps",title:"Steps 步骤条"}]},{groupName:"Others",list:[{path:"/dialog",title:"Dialog 对话框"},{path:"/tooltip",title:"Tooltip 文字提示"},{path:"/popover",title:"Popover 弹出框"},{path:"/card",title:"Card 卡片"},{path:"/carousel",title:"Carousel 走马灯"},{path:"/collapse",title:"Collapse 折叠面板"}]}]}],"en-US":[{name:"Development",children:[{path:"/installation",name:"Installation"},{path:"/quickstart",name:"Quick Start"},{path:"/i18n",name:"Internationalization"},{path:"/custom-theme",name:"Custom Theme"},{path:"/transition",name:"Built-in transition"}]},{name:"Changelog",path:"/changelog"},{name:"Components",groups:[{groupName:"Basic",list:[{path:"/layout",title:"Layout"},{path:"/color",title:"Color"},{path:"/typography",title:"Typography"},{path:"/icon",title:"Icon"},{path:"/button",title:"Button"}]},{groupName:"Form",list:[{path:"/radio",title:"Radio"},{path:"/checkbox",title:"Checkbox"},{path:"/input",title:"Input"},{path:"/input-number",title:"InputNumber"},{path:"/select",title:"Select"},{path:"/cascader",title:"Cascader"},{path:"/switch",title:"Switch"},{path:"/slider",title:"Slider"},{path:"/time-picker",title:"TimePicker"},{path:"/date-picker",title:"DatePicker"},{path:"/datetime-picker",title:"DateTimePicker"},{path:"/upload",title:"Upload"},{path:"/rate",title:"Rate"},{path:"/color-picker",title:"ColorPicker"},{path:"/transfer",title:"Transfer"},{path:"/form",title:"Form"}]},{groupName:"Data",list:[{path:"/table",title:"Table"},{path:"/tag",title:"Tag"},{path:"/progress",title:"Progress"},{path:"/tree",title:"Tree"},{path:"/pagination",title:"Pagination"},{path:"/badge",title:"Badge"}]},{groupName:"Notice",list:[{path:"/alert",title:"Alert"},{path:"/loading",title:"Loading"},{path:"/message",title:"Message"},{path:"/message-box",title:"MessageBox"},{path:"/notification",title:"Notification"}]},{groupName:"Navigation",list:[{path:"/menu",title:"NavMenu"},{path:"/tabs",title:"Tabs"},{path:"/breadcrumb",title:"Breadcrumb"},{path:"/dropdown",title:"Dropdown"},{path:"/steps",title:"Steps"}]},{groupName:"Others",list:[{path:"/dialog",title:"Dialog"},{path:"/tooltip",title:"Tooltip"},{path:"/popover",title:"Popover"},{path:"/card",title:"Card"},{path:"/carousel",title:"Carousel"},{path:"/collapse",title:"Collapse"}]}]}]}},function(s,t){s.exports=[{lang:"zh-CN"},{lang:"en-US"}]},function(s,t,a){function l(s){return a(n(s))}function n(s){return e[s]||function(){throw new Error("Cannot find module '"+s+"'.")}()}var e={"./en-US/component.vue":27,"./zh-CN/component.vue":33};l.keys=function(){return Object.keys(e)},l.resolve=n,s.exports=l,l.id=26},function(s,t,a){function l(s){a(28)}var n=a(13)(a(30),a(32),l,null,null);s.exports=n.exports},function(s,t){},,function(s,t,a){"use strict";function l(s){return s&&s.__esModule?s:{default:s}}t.__esModule=!0;var n=a(24),e=l(n),i=a(31),v=l(i);t.default={data:function(){return{lang:this.$route.meta.lang,navsData:e.default,hover:!1,showBackToTop:!1}},methods:{toTop:function(){this.hover=!1,this.showBackToTop=!1,document.body.scrollTop=0,document.documentElement.scrollTop=0},handleScroll:function(){this.showBackToTop=(document.body.scrollTop||document.documentElement.scrollTop)>=.5*document.body.clientHeight}},mounted:function(){this.throttledScrollHandler=(0,v.default)(300,this.handleScroll),document.addEventListener("scroll",this.throttledScrollHandler)},beforeDestroy:function(){document.removeEventListener("scroll",this.throttledScrollHandler)}}},,function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-container page-component"},[a("el-row",[a("el-col",{attrs:{xs:24,sm:6}},[a("side-nav",{attrs:{data:s.navsData[s.lang],base:"/"+s.lang+"/component"}})],1),a("el-col",{attrs:{xs:24,sm:18}},[a("router-view",{staticClass:"content"}),a("footer-nav")],1)],1),a("transition",{attrs:{name:"back-top-fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:s.showBackToTop,expression:"showBackToTop"}],staticClass:"page-component-up",class:{hover:s.hover},on:{mouseenter:function(t){s.hover=!0},mouseleave:function(t){s.hover=!1},click:s.toTop}},[a("i",{staticClass:"el-icon-caret-top"})])])],1)},staticRenderFns:[]}},function(s,t,a){function l(s){a(34)}var n=a(13)(a(36),a(37),l,null,null);s.exports=n.exports},function(s,t){},,function(s,t,a){"use strict";function l(s){return s&&s.__esModule?s:{default:s}}t.__esModule=!0;var n=a(24),e=l(n),i=a(31),v=l(i);t.default={data:function(){return{lang:this.$route.meta.lang,navsData:e.default,hover:!1,showBackToTop:!1}},methods:{toTop:function(){this.hover=!1,this.showBackToTop=!1,document.body.scrollTop=0,document.documentElement.scrollTop=0},handleScroll:function(){this.showBackToTop=(document.body.scrollTop||document.documentElement.scrollTop)>=.5*document.body.clientHeight}},mounted:function(){this.throttledScrollHandler=(0,v.default)(300,this.handleScroll),document.addEventListener("scroll",this.throttledScrollHandler)},beforeDestroy:function(){document.removeEventListener("scroll",this.throttledScrollHandler)}}},function(s,t){s.exports={render:function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"page-container page-component"},[a("el-row",[a("el-col",{attrs:{xs:24,sm:6}},[a("side-nav",{attrs:{data:s.navsData[s.lang],base:"/"+s.lang+"/component"}})],1),a("el-col",{attrs:{xs:24,sm:18}},[a("router-view",{staticClass:"content"}),a("footer-nav")],1)],1),a("transition",{attrs:{name:"back-top-fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:s.showBackToTop,expression:"showBackToTop"}],staticClass:"page-component-up",class:{hover:s.hover},on:{mouseenter:function(t){s.hover=!0},mouseleave:function(t){s.hover=!1},click:s.toTop}},[a("i",{staticClass:"el-icon-caret-top"})])])],1)},staticRenderFns:[]}},function(s,t,a){function l(s){return a(n(s))}function n(s){return e[s]||function(){throw new Error("Cannot find module '"+s+"'.")}()}var e={"./en-US/changelog.vue":39,"./zh-CN/changelog.vue":47};l.keys=function(){return Object.keys(e)},l.resolve=n,s.exports=l,l.id=38},function(s,t,a){function l(s){a(40)}var n=a(13)(a(42),a(46),l,null,null);s.exports=n.exports},function(s,t){},,function(s,t,a){"use strict";function l(s){return s&&s.__esModule?s:{default:s}}t.__esModule=!0;var n=a(43),e=l(n);t.default={components:{ChangeLog:e.default},data:function(){return{count:3}},mounted:function(){var s=this.$refs.changeLog,t=s.$el.children,a=t[1].querySelector("a");a&&a.remove();for(var l=t[1].textContent.trim(),n='