(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b27c308"],{2095:function(t,e,a){"use strict";a.r(e);var i,r,s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.split("").reduce((function(t,e){var a=e.charCodeAt(0);return a>=0&&a<=128?t+1:t+2}),0)},n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,a=0;return t.split("").reduce((function(t,i){var r=i.charCodeAt(0);return a+=r>=0&&r<=128?1:2,a<=e?t+i:t}),"")},o={name:"Ellipsis",props:{prefixCls:{type:String,default:"ant-pro-ellipsis"},tooltip:{type:Boolean,default:!0},length:{type:Number,default:25},lines:{type:Number,default:1},fullWidthRecognition:{type:Boolean,default:!1}},methods:{},render:function(){var t=arguments[0],e=this.$props,a=e.tooltip,i=e.length,r="";return this.$slots.default&&(r=this.$slots.default.map((function(t){return t.text})).join("")),a&&s(r)>i?t("a-tooltip",[t("template",{slot:"title"},[r]),t("span",[n(r,this.length)+"…"])]):t("span",[r])}},l=o,c=a("2877"),u=Object(c["a"])(l,i,r,!1,null,null,null);e["default"]=u.exports},"23fe":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{class:[t.prefixCls]},[t._t("subtitle",(function(){return[e("div",{class:["".concat(t.prefixCls,"-subtitle")]},[t._v(t._s("string"===typeof t.subTitle?t.subTitle:t.subTitle()))])]})),e("div",{staticClass:"number-info-value"},[e("span",[t._v(t._s(t.total))]),e("span",{staticClass:"sub-total"},[t._v("\n "+t._s(t.subTotal)+"\n "),e("icon",{attrs:{type:"caret-".concat(t.status)}})],1)])],2)},r=[],s=a("0c63"),n={name:"NumberInfo",props:{prefixCls:{type:String,default:"ant-pro-number-info"},total:{type:Number,required:!0},subTotal:{type:Number,required:!0},subTitle:{type:[String,Function],default:""},status:{type:String,default:"up"}},components:{Icon:s["a"]},data:function(){return{}}},o=n,l=(a("8814"),a("2877")),c=Object(l["a"])(o,i,r,!1,null,"20be0d96",null);e["default"]=c.exports},"58f7":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return""!==t.tips?e("tooltip",[e("template",{slot:"title"},[t._v(t._s(t.tips))]),e("avatar",{attrs:{size:t.avatarSize,src:t.src}})],2):e("avatar",{attrs:{size:t.avatarSize,src:t.src}})},r=[],s=a("27fd"),n=a("f933"),o={name:"AvatarItem",components:{Avatar:s["a"],Tooltip:n["a"]},props:{tips:{type:String,default:"",required:!1},src:{type:String,default:""}},data:function(){return{size:this.$parent.size}},computed:{avatarSize:function(){return"mini"!==this.size&&this.size||20}},watch:{"$parent.size":function(t){this.size=t}}},l=o,c=a("2877"),u=Object(c["a"])(l,i,r,!1,null,null,null);e["default"]=u.exports},6531:function(t,e,a){},"69bb":function(t,e,a){},"6a2a":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("span",[t._v("\n "+t._s(t._f("format")(t.lastTime))+"\n")])},r=[];function s(t){return 1*t<10?"0".concat(t):t}var n={name:"CountDown",props:{format:{type:Function,default:void 0},target:{type:[Date,Number],required:!0},onEnd:{type:Function,default:function(){}}},data:function(){return{dateTime:"0",originTargetTime:0,lastTime:0,timer:0,interval:1e3}},filters:{format:function(t){var e=36e5,a=6e4,i=Math.floor(t/e),r=Math.floor((t-i*e)/a),n=Math.floor((t-i*e-r*a)/1e3);return"".concat(s(i),":").concat(s(r),":").concat(s(n))}},created:function(){this.initTime(),this.tick()},methods:{initTime:function(){var t=0,e=0;this.originTargetTime=this.target;try{e="[object Date]"===Object.prototype.toString.call(this.target)?this.target:new Date(this.target).getTime()}catch(a){throw new Error("invalid target prop")}t=e-(new Date).getTime(),this.lastTime=t<0?0:t},tick:function(){var t=this,e=this.onEnd;this.timer=setTimeout((function(){t.lastTime0&&void 0!==arguments[0]?arguments[0]:[];return t.filter((function(t){return t.tag||t.text&&""!==t.text.trim()}))}function n(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var o,l,c={AvatarItem:r["default"],name:"AvatarList",components:{Avatar:i["a"],AvatarItem:r["default"]},props:{prefixCls:{type:String,default:"ant-pro-avatar-list"},size:{type:[String,Number],default:"default"},maxLength:{type:Number,default:0},excessItemsStyle:{type:Object,default:function(){return{color:"#f56a00",backgroundColor:"#fde3cf"}}}},data:function(){return{}},methods:{getItems:function(t){var e,a=this.$createElement,r=(e={},n(e,"".concat(this.prefixCls,"-item"),!0),n(e,"".concat(this.size),!0),e);this.maxLength>0&&(t=t.slice(0,this.maxLength),t.push(a(i["a"],{attrs:{size:this.size},style:this.excessItemsStyle},["+".concat(this.maxLength)])));var s=t.map((function(t){return a("li",{class:r},[t])}));return s}},render:function(){var t,e=arguments[0],a=this.$props,i=a.prefixCls,r=a.size,o=(t={},n(t,"".concat(i),!0),n(t,"".concat(r),!0),t),l=s(this.$slots.default),c=l&&l.length?e("ul",{class:"".concat(i,"-items")},[this.getItems(l)]):null;return e("div",{class:o},[c])}},u=c,p=a("2877"),m=Object(p["a"])(u,o,l,!1,null,null,null);e["default"]=m.exports},bb51:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"home"},[t._m(0),e("br"),e("h2",[t._v("# Trend 组件 ")]),e("a-divider",[t._v(" 正常 ")]),e("a-card",[e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"up"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("工资")]),t._v("\n 5%\n ")]),e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"up"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("工作量")]),t._v("\n 50%\n ")]),e("trend",{attrs:{flag:"down"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("身体状态")]),t._v("\n 50%\n ")])],1),e("a-divider",[t._v(" 颜色反转 ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"up","reverse-color":!0}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("工资")]),t._v("\n 5%\n ")]),e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"down","reverse-color":!0}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("工作量")]),t._v("\n 50%\n ")])],1),e("h2",[t._v("# AvatarList 组件 ")]),e("a-divider",[t._v(" AvatarList ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("avatar-list",{attrs:{"max-length":3}},[e("avatar-list-item",{attrs:{tips:"Jake",src:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png"}}),e("avatar-list-item",{attrs:{tips:"Andy",src:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}})],1),e("a-divider",{staticStyle:{margin:"0 16px"},attrs:{type:"vertical"}}),e("avatar-list",{attrs:{size:"mini"}},[e("avatar-list-item",{attrs:{tips:"Jake",src:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png"}}),e("avatar-list-item",{attrs:{tips:"Andy",src:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}})],1)],1),e("h2",[t._v("# CountDown 组件 ")]),e("a-divider",[t._v(" CountDown ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("count-down",{staticStyle:{"font-size":"2rem"},attrs:{target:(new Date).getTime()+3e6,"on-end":t.onEndHandle}}),e("a-divider",{staticStyle:{margin:"0 16px"},attrs:{type:"vertical"}}),e("count-down",{staticStyle:{"font-size":"2rem"},attrs:{target:(new Date).getTime()+1e4,"on-end":t.onEndHandle2}})],1),e("h2",[t._v("# Ellipsis 组件 ")]),e("a-divider",[t._v(" Ellipsis ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("ellipsis",{attrs:{length:100,tooltip:""}},[t._v("\n There were injuries alleged in three cases in 2015, and a\n fourth incident in September, according to the safety recall report. After meeting with US regulators in October, the firm decided to issue a voluntary recall.\n ")])],1),e("h2",[t._v("# NumberInfo 组件 ")]),e("a-divider",[t._v(" NumberInfo ")]),e("a-card",[e("number-info",{attrs:{"sub-title":function(){return"Visits this week"},total:12321,status:"up","sub-total":17.1}})],1)],1)},r=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"banner"},[e("img",{staticStyle:{width:"64px",height:"64px"},attrs:{alt:"Vue logo",src:a("cf05")}}),e("h3",{staticStyle:{"margin-top":"1rem"}},[t._v("Welcome to Your Vue.js App")])])}],s=a("611e"),n=a("a40c3"),o=(a("84962"),n["default"]),l=a("6a2a"),c=a("c4db"),u=a("23fe"),p=u["default"],m=o.AvatarItem,f={name:"Home",components:{NumberInfo:p,Ellipsis:c["a"],CountDown:l["default"],Trend:s["a"],AvatarList:o,AvatarListItem:m},data:function(){return{targetTime:(new Date).getTime()+39e5}},methods:{onEndHandle:function(){this.$message.success("CountDown callback!!!")},onEndHandle2:function(){this.$notification.open({message:"Notification Title",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})}}},d=f,v=(a("f484"),a("2877")),h=Object(v["a"])(d,i,r,!1,null,"79252c15",null);e["default"]=h.exports},c4db:function(t,e,a){"use strict";var i=a("2095");e["a"]=i["default"]},f484:function(t,e,a){"use strict";a("69bb")}}]);