v-uikit
Version:
基于 UIKit 和 Vue2 开发的界面套件
7 lines • 103 kB
JavaScript
webpackJsonp([2,0],[function(t,e,n){(function(t){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}var r=n(306),o=e(r),a=n(248),i=e(a),s=n(47),u=e(s),c=n(9),l=e(c),d=n(268),v=e(d),f=n(274),_=e(f),p=n(271),h=e(p),m=n(273),b=e(m),k=n(272),y=e(k),g=n(275),w=e(g),x=n(276),$=e(x),C=n(267),E=e(C),j=n(269),S=e(j),R=n(264),M=e(R),A=n(265),F=e(A),I=n(266),O=e(I),P=n(270),z=e(P);o.default.use(u.default),o.default.use(l.default),o.default.component("code-block",M.default);var N=new l.default({mode:"history",base:t,routes:[{name:"Pickers",path:"/examples/pickers",component:E.default},{name:"Accordions",path:"/examples/accordions",component:v.default},{name:"Panels",path:"/examples/panels",component:_.default},{name:"Modals",path:"/examples/modals",component:y.default},{name:"Uploaders",path:"/examples/uploaders",component:$.default},{name:"Tabs",path:"/examples/tabs",component:w.default},{name:"HtmlEditors",path:"/examples/html-editors",component:h.default},{name:"Buttons",path:"/examples/buttons",component:S.default},{name:"Offcanvas",path:"/examples/offcanvas",component:b.default},{name:"Common",path:"/examples/common",component:F.default},{name:"Forms",path:"/examples/forms",component:O.default},{name:"Dropdowns",path:"/examples/dropdown",component:z.default}]});new o.default({el:"#app",router:N,template:"<App/>",components:{App:i.default}})}).call(e,"/")},,,,,,,,,function(t,e,n){/**
* vue-router v2.0.1
* (c) 2016 Evan You
* @license MIT
*/
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t,e,n){if("/"===t.charAt(0))return t;if("?"===t.charAt(0)||"#"===t.charAt(0))return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var i=o[a];"."!==i&&(".."===i?r.pop():r.push(i))}return""!==r[0]&&r.unshift(""),r.join("/")}function e(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function n(t){return t.replace(/\/\//g,"/")}function r(t,e){if(!t)throw new Error("[vue-router] "+e)}function o(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}function a(t,e){if(void 0===e&&(e={}),t){var n;try{n=i(t)}catch(t){o(!1,t.message),n={}}for(var r in e)n[r]=e[r];return n}return e}function i(t){var e=Object.create(null);return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=ut(n.shift()),o=n.length>0?ut(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function s(t){var e=t?Object.keys(t).sort().map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return st(e);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?r.push(st(e)):r.push(st(e)+"="+st(t)))}),r.join("&")}return st(e)+"="+st(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function u(t,e,n){var r={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:l(e),matched:t?c(t):[]};return n&&(r.redirectedFrom=l(n)),Object.freeze(r)}function c(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function l(t){var e=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(e||"/")+s(n)+r}function d(t,e){return e===ct?t===e:!!e&&(t.path&&e.path?t.path.replace(lt,"")===e.path.replace(lt,"")&&t.hash===e.hash&&v(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&v(t.query,e.query)&&v(t.params,e.params)))}function v(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){return String(t[n])===String(e[n])})}function f(t,e){return 0===t.path.indexOf(e.path)&&(!e.hash||t.hash===e.hash)&&_(t.query,e.query)}function _(t,e){for(var n in e)if(!(n in t))return!1;return!0}function p(n,r,o){var i="string"==typeof n?{path:n}:n;if(i.name||i._normalized)return i;var s=e(i.path||""),u=r&&r.path||"/",c=s.path?t(s.path,u,o):r&&r.path||"/",l=a(s.query,i.query),d=i.hash||s.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:c,query:l,hash:d}}function h(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=h(e.children)))return e}}function m(t){m.installed||(m.installed=!0,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}}),t.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current))}}),t.component("router-view",it),t.component("router-link",vt))}function b(t){for(var e,n=[],r=0,o=0,a="";null!=(e=yt.exec(t));){var i=e[0],s=e[1],u=e.index;if(a+=t.slice(o,u),o=u+i.length,s)a+=s[1];else{var c=t[o],l=e[2],d=e[3],v=e[4],f=e[5],_=e[6],p=e[7];a&&(n.push(a),a="");var h=null!=l&&null!=c&&c!==l,m="+"===_||"*"===_,b="?"===_||"*"===_,k=e[2]||"/",y=v||f||(p?".*":"[^"+k+"]+?");n.push({name:d||r++,prefix:l||"",delimiter:k,optional:b,repeat:m,partial:h,asterisk:!!p,pattern:$(y)})}}return o<t.length&&(a+=t.substr(o)),a&&n.push(a),n}function k(t){return w(b(t))}function y(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function g(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function w(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var o="",a=n||{},i=r||{},s=i.pretty?y:encodeURIComponent,u=0;u<t.length;u++){var c=t[u];if("string"!=typeof c){var l,d=a[c.name];if(null==d){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(_t(d)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var v=0;v<d.length;v++){if(l=s(d[v]),!e[u].test(l))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(l)+"`");o+=(0===v?c.prefix:c.delimiter)+l}}else{if(l=c.asterisk?g(d):s(d),!e[u].test(l))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+l+'"');o+=c.prefix+l}}else o+=c}return o}}function x(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function $(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function C(t,e){return t.keys=e,t}function E(t){return t.sensitive?"":"i"}function j(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return C(t,e)}function S(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(A(t[o],e,n).source);var a=new RegExp("(?:"+r.join("|")+")",E(n));return C(a,e)}function R(t,e,n){for(var r=b(t),o=M(r,n),a=0;a<r.length;a++)"string"!=typeof r[a]&&e.push(r[a]);return C(o,e)}function M(t,e){e=e||{};for(var n=e.strict,r=e.end!==!1,o="",a=t[t.length-1],i="string"==typeof a&&/\/$/.test(a),s=0;s<t.length;s++){var u=t[s];if("string"==typeof u)o+=x(u);else{var c=x(u.prefix),l="(?:"+u.pattern+")";u.repeat&&(l+="(?:"+c+l+")*"),l=u.optional?u.partial?c+"("+l+")?":"(?:"+c+"("+l+"))?":c+"("+l+")",o+=l}}return n||(o=(i?o.slice(0,-2):o)+"(?:\\/(?=$))?"),o+=r?"$":n&&i?"":"(?=\\/|$)",new RegExp("^"+o,E(e))}function A(t,e,n){return e=e||[],_t(e)?n||(n={}):(n=e,e=[]),t instanceof RegExp?j(t,e):_t(t)?S(t,e,n):R(t,e,n)}function F(t){var e=Object.create(null),n=Object.create(null);return t.forEach(function(t){I(e,n,t)}),{pathMap:e,nameMap:n}}function I(t,e,n,o,a){var i=n.path,s=n.name;r(null!=i,'"path" is required in a route configuration.');var u={path:O(i,o),components:n.components||{default:n.component},instances:{},name:s,parent:o,matchAs:a,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{}};n.children&&n.children.forEach(function(n){I(t,e,n,u)}),n.alias&&(Array.isArray(n.alias)?n.alias.forEach(function(n){I(t,e,{path:n},o,u.path)}):I(t,e,{path:n.alias},o,u.path)),t[u.path]=u,s&&(e[s]=u)}function O(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:n(e.path+"/"+t)}function P(t){function e(t,e,n){var r=p(t,e),o=r.name;if(o){var a=l[o];if(a)return r.path=N(a.path,r.params,'named route "'+o+'"'),i(a,r,n)}else if(r.path){r.params={};for(var s in c)if(z(s,r.params,r.path))return i(c[s],r,n)}return i(null,r)}function n(t,n){var a=t.redirect,s="function"==typeof a?a(u(t,n)):a;if("string"==typeof s&&(s={path:s}),!s||"object"!=typeof s)return o(!1,"invalid redirect option: "+JSON.stringify(s)),i(null,n);var c=s,d=c.name,v=c.path,f=n.query,_=n.hash,p=n.params;if(f=c.hasOwnProperty("query")?c.query:f,_=c.hasOwnProperty("hash")?c.hash:_,p=c.hasOwnProperty("params")?c.params:p,d){var h=l[d];return r(h,'redirect failed: named route "'+d+'" not found.'),e({_normalized:!0,name:d,query:f,hash:_,params:p},void 0,n)}if(v){var m=D(v,t),b=N(m,p,'redirect route with path "'+m+'"');return e({_normalized:!0,path:b,query:f,hash:_},void 0,n)}return o(!1,"invalid redirect option: "+JSON.stringify(s)),i(null,n)}function a(t,n,r){var o=N(r,n.params,'aliased route with path "'+r+'"'),a=e({_normalized:!0,path:o});if(a){var s=a.matched,u=s[s.length-1];return n.params=a.params,i(u,n)}return i(null,n)}function i(t,e,r){return t&&t.redirect?n(t,r||e):t&&t.matchAs?a(t,e,t.matchAs):u(t,e,r)}var s=F(t),c=s.pathMap,l=s.nameMap;return e}function z(t,e,n){var r,o,a=gt[t];a?(r=a.keys,o=a.regexp):(r=[],o=pt(t,r),gt[t]={keys:r,regexp:o});var i=n.match(o);if(!i)return!1;if(!e)return!0;for(var s=1,u=i.length;s<u;++s){var c=r[s-1],l="string"==typeof i[s]?decodeURIComponent(i[s]):i[s];c&&(e[c.name]=l)}return!0}function N(t,e,n){try{var o=wt[t]||(wt[t]=pt.compile(t));return o(e||{},{pretty:!0})}catch(t){return r(!1,"missing param for "+n+": "+t.message),""}}function D(e,n){return t(e,n.parent?n.parent.path:"/",!0)}function B(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function L(t){if(!t)if(xt){var e=document.querySelector("base");t=e?e.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function T(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{activated:e.slice(n),deactivated:t.slice(n)}}function U(t){return Z(t,function(t,e){var n=t&&t.beforeRouteLeave;if(n)return function(){return n.apply(e,arguments)}}).reverse()}function H(t,e,n){return Z(t,function(t,r,o,a){var i=t&&t.beforeRouteEnter;if(i)return function(t,r,s){return i(t,r,function(t){s(t),"function"==typeof t&&e.push(function(){V(t,o.instances,a,n)})})}})}function V(t,e,n,r){e[n]?t(e[n]):r()&&setTimeout(function(){V(t,e,n,r)},16)}function Y(t){return Z(t,function(t,e,n,r){if("function"==typeof t&&!t.options)return function(e,a,i){var s=function(t){n.components[r]=t,i()},u=function(t){o(!1,"Failed to resolve async component "+r+": "+t),i(!1)},c=t(s,u);c&&"function"==typeof c.then&&c.then(s,u)}})}function Z(t,e){return Array.prototype.concat.apply([],t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function W(t){t&&window.sessionStorage.setItem(t,JSON.stringify({x:window.pageXOffset,y:window.pageYOffset}))}function q(t){if(t)return JSON.parse(window.sessionStorage.getItem(t))}function G(t){var e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-e.left,y:n.top-e.top}}function J(t){return X(t.x)||X(t.y)}function Q(t){return{x:X(t.x)?t.x:window.pageXOffset,y:X(t.y)?t.y:window.pageYOffset}}function X(t){return"number"==typeof t}function K(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}function tt(t,e){var n=window.history;try{e?n.replaceState({key:jt},"",t):(jt=Et(),n.pushState({key:jt},"",t)),W(jt)}catch(n){window.location[e?"assign":"replace"](t)}}function et(t){tt(t,!0)}function nt(){var t=rt();return"/"===t.charAt(0)||(at("/"+t),!1)}function rt(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.slice(e+1)}function ot(t){window.location.hash=t}function at(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)}var it={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,a=e.data;a.routerView=!0;for(var i=o.$route,s=o._routerViewCache||(o._routerViewCache={}),u=0,c=!1;o;)o.$vnode&&o.$vnode.data.routerView&&u++,o._inactive&&(c=!0),o=o.$parent;a.routerViewDepth=u;var l=i.matched[u];if(!l)return t();var d=n.name,v=c?s[d]:s[d]=l.components[d];if(!c){var f=a.hook||(a.hook={});f.init=function(t){l.instances[d]=t.child},f.destroy=function(t){l.instances[d]===t.child&&(l.instances[d]=void 0)}}return t(v,a,r)}},st=encodeURIComponent,ut=decodeURIComponent,ct=u(null,{path:"/"}),lt=/\/$/,dt=[String,Object],vt={name:"router-link",props:{to:{type:dt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String},render:function(t){var e=this,r=this.$router,o=this.$route,a=p(this.to,o,this.append),i=r.match(a),s=i.redirectedFrom||i.fullPath,c=r.history.base,l=c?n(c+s):s,v={},_=this.activeClass||r.options.linkActiveClass||"router-link-active",m=a.path?u(null,a):i;v[_]=this.exact?d(o,m):f(o,m);var b={click:function(t){t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||0===t.button&&(t.preventDefault(),e.replace?r.replace(a):r.push(a))}},k={class:v};if("a"===this.tag)k.on=b,k.attrs={href:l};else{var y=h(this.$slots.default);if(y){var g=y.data||(y.data={});g.on=b;var w=g.attrs||(g.attrs={});w.href=l}else k.on=b}return t(this.tag,k,this.$slots.default)}},ft=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},_t=ft,pt=A,ht=b,mt=k,bt=w,kt=M,yt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");pt.parse=ht,pt.compile=mt,pt.tokensToFunction=bt,pt.tokensToRegExp=kt;var gt=Object.create(null),wt=Object.create(null),xt="undefined"!=typeof window,$t=xt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Ct=function(t,e){this.router=t,this.base=L(e),this.current=ct,this.pending=null};Ct.prototype.listen=function(t){this.cb=t},Ct.prototype.transitionTo=function(t,e){var n=this,r=this.router.match(t,this.current);this.confirmTransition(r,function(){n.updateRoute(r),e&&e(r),n.ensureURL()})},Ct.prototype.confirmTransition=function(t,e){var n=this,r=this.current;if(d(t,r))return void this.ensureURL();var o=T(this.current.matched,t.matched),a=o.deactivated,i=o.activated,s=[].concat(U(a),this.router.beforeHooks,i.map(function(t){return t.beforeEnter}),Y(i));this.pending=t;var u=function(e,o){n.pending===t&&e(t,r,function(t){t===!1?n.ensureURL():"string"==typeof t||"object"==typeof t?n.push(t):o(t)})};B(s,u,function(){var r=[],o=H(i,r,function(){return n.current===t});B(o,u,function(){n.pending===t&&(n.pending=null,e(t),n.router.app.$nextTick(function(){r.forEach(function(t){return t()})}))})})},Ct.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var Et=function(){return String(Date.now())},jt=Et(),St=function(t){function e(e,n){var r=this;t.call(this,e,n),this.transitionTo(K(this.base));var o=e.options.scrollBehavior;window.addEventListener("popstate",function(t){jt=t.state&&t.state.key;var e=r.current;r.transitionTo(K(r.base),function(t){o&&r.handleScroll(t,e,!0)})}),o&&window.addEventListener("scroll",function(){W(jt)})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t){var e=this,r=this.current;this.transitionTo(t,function(t){tt(n(e.base+t.fullPath)),e.handleScroll(t,r,!1)})},e.prototype.replace=function(t){var e=this,r=this.current;this.transitionTo(t,function(t){et(n(e.base+t.fullPath)),e.handleScroll(t,r,!1)})},e.prototype.ensureURL=function(){K(this.base)!==this.current.fullPath&&et(n(this.base+this.current.fullPath))},e.prototype.handleScroll=function(t,e,n){var o=this.router;if(o.app){var a=o.options.scrollBehavior;a&&(r("function"==typeof a,"scrollBehavior must be a function"),o.app.$nextTick(function(){var r=q(jt),o=a(t,e,n?r:null);if(o){var i="object"==typeof o;if(i&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?r=G(s):J(o)&&(r=Q(o))}else i&&J(o)&&(r=Q(o));r&&window.scrollTo(r.x,r.y)}}))}},e}(Ct),Rt=function(t){function e(e,n,r){var o=this;t.call(this,e,n),r&&this.checkFallback()||(nt(),this.transitionTo(rt(),function(){window.addEventListener("hashchange",function(){o.onHashChange()})}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.checkFallback=function(){var t=K(this.base);if(!/^\/#/.test(t))return window.location.replace(n(this.base+"/#"+t)),!0},e.prototype.onHashChange=function(){nt()&&this.transitionTo(rt(),function(t){at(t.fullPath)})},e.prototype.push=function(t){this.transitionTo(t,function(t){ot(t.fullPath)})},e.prototype.replace=function(t){this.transitionTo(t,function(t){at(t.fullPath)})},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(){rt()!==this.current.fullPath&&at(this.current.fullPath)},e}(Ct),Mt=function(t){function e(e){t.call(this,e),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index+1).concat(t),e.index++})},e.prototype.replace=function(t){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index).concat(t)})},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.ensureURL=function(){},e}(Ct),At=function(t){void 0===t&&(t={}),this.app=null,this.options=t,this.beforeHooks=[],this.afterHooks=[],this.match=P(t.routes||[]);var e=t.mode||"hash";this.fallback="history"===e&&!$t,this.fallback&&(e="hash"),xt||(e="abstract"),this.mode=e},Ft={currentRoute:{}};return Ft.currentRoute.get=function(){return this.history&&this.history.current},At.prototype.init=function(t){var e=this;r(m.installed,"not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."),this.app=t;var n=this,o=n.mode,a=n.options,i=n.fallback;switch(o){case"history":this.history=new St(this,a.base);break;case"hash":this.history=new Rt(this,a.base,i);break;case"abstract":this.history=new Mt(this);break;default:r(!1,"invalid mode: "+o)}this.history.listen(function(t){e.app._route=t})},At.prototype.beforeEach=function(t){this.beforeHooks.push(t)},At.prototype.afterEach=function(t){this.afterHooks.push(t)},At.prototype.push=function(t){this.history.push(t)},At.prototype.replace=function(t){this.history.replace(t)},At.prototype.go=function(t){this.history.go(t)},At.prototype.back=function(){this.go(-1)},At.prototype.forward=function(){this.go(1)},At.prototype.getMatchedComponents=function(){return this.currentRoute?[].concat.apply([],this.currentRoute.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Object.defineProperties(At.prototype,Ft),At.install=m,xt&&window.Vue&&window.Vue.use(At),At})},,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"app",mounted:function(){this.$router.push({name:"Buttons"})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{closable:{type:Boolean,default:!1},color:{type:String},large:{type:Boolean,default:!1}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["color"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(238),n(57),e.default={name:"UkDatePicker",props:{value:{type:String},weekstart:{type:Number,default:1},mobile:{type:Boolean,default:!1},i18n:{type:Object,default:function(){return{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],weekdays:["日","一","二","三","四","五","六"]}}},format:{type:String,default:"YYYY-MM-DD"},offsettop:{type:Number,default:5},maxDate:{type:Boolean,default:!1},minDate:{type:Boolean,default:!1},pos:{type:String,default:"auto"}},computed:{options:function(){return JSON.stringify({weekstart:this.weekstart,mobile:this.mobile,i18n:this.i18n,format:this.format,offsettop:this.offsetop,maxDate:this.maxDate,minDate:this.minDate,pos:this.pos})}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"UkDropdown",props:{items:{type:Array,default:function(){return[]}},textField:{type:String,default:"label"},valueField:{type:String,default:"value"}},data:function(){return{selectedItem:void 0}},computed:{selectedValue:function(){return this.selectedItem?this.selectedItem[this.valueField]:""}},methods:{selectItem:function(t){this.selectedItem=t,this.$emit("change",t)}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{stacked:{type:Boolean,default:!1},horizontal:{type:Boolean,default:!1}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{icon:{type:String}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{name:{type:String},icon:{type:String},label:{type:String}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{type:{type:String,default:"text"},color:{type:String},size:{type:String},width:{type:String},blank:{type:Boolean,default:!1}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{name:{type:String},items:{type:Array,default:function(){return[]}},textField:{type:String,default:"label"},valueField:{type:String,default:"value"}},data:function(){return{selectedItem:void 0}},computed:{selectedValue:function(){return this.selectedItem?this.selectedItem[this.valueField]:""}},methods:{selectItem:function(t){this.selectedItem=t,this.$emit("change",t)}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"UkModal",data:function(){return{dialog:void 0}},props:{title:{type:String},blank:{type:Boolean,default:!1},large:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},lightbox:{type:Boolean,default:!1},keyboard:{type:Boolean,default:!0},bgclose:{type:Boolean,default:!0},center:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},minScrollHeight:{type:Number,default:150}},mounted:function(){this.dialog=this.$ui.modal(this.$refs.modal,{center:this.center,modal:this.modal,minScrollHeight:this.minScrollHeight,keyboard:this.keyboard,bgclose:this.bgclose});var t=this;this.dialog.on("show.uk.modal",function(){return t.$emit("open")}),this.dialog.on("hide.uk.modal",function(){return t.$emit("close")})},methods:{open:function(){this.dialog.show()},close:function(){this.dialog.hide()}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["title"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(239),n(58),e.default={props:{name:{type:String},value:{type:String},showLabel:{type:String,default:"显示"},hideLabel:{type:String,default:"隐藏"}},mounted:function(){UIkit.formPassword(this.$refs.pwd,{lblShow:this.showLabel,lblHide:this.hideLabel})}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"UkProgress",props:{value:{type:Number,default:0},showValue:{type:Boolean,default:!0},striped:{type:Boolean,default:!1},size:{type:String},color:{type:String}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(240),n(59),e.default={props:{name:{type:String},value:{type:String},tag:{type:String,default:"span"},items:{type:Array,default:function(){return[]}}},computed:{options:function(){return this.items&&this.items.length&&"string"==typeof this.items[0]?this.items.map(function(t){return{label:t,value:t}}):this.items}},mounted:function(){UIkit.formSelect(this.$refs.formSelect)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(237),n(243),e.default={name:"UkTimepicker",props:{value:{type:String},format:{type:String,default:"24h"},start:{type:Number,default:0},end:{type:Number,default:24}},computed:{options:function(){return JSON.stringify({format:this.format,start:this.start,end:this.end})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(65),a=r(o);n(55),e.default={props:{lang:{type:String,default:"html"}},mounted:function(){a.default.highlightBlock(this.$refs.code)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{color:void 0,badgeColor:void 0,name:"edit",spin:!1,hover:!1,button:!1,justify:!1,closable:!1,size:void 0,usages:{alert:'<uk-alert\n :closable="true|false"\n color="success|warning|danger">\n 文字内容\n</uk-alert>',icon:{basic:'<uk-icon\n name="去除前缀后的图标名"\n size="small|medium|large"\n hover="true|false"\n justify="true|false"\n spin="true|false"\n button="true|false">\n</uk-icon>'},badge:{basic:'<uk-badge color="success|warning|danger">注意</uk-badge>'}}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(62),e.default={data:function(){return{formStacked:!1,formHorizontal:!1,showLabel:"显示",hideLabel:"隐藏",percent:40,size:void 0,color:void 0,striped:!1,showValue:!0,usages:{pwd:'<uk-password name="user-password"\n show-label="显示"\n hide-label="隐藏"></uk-password>',select:"<uk-select :items=\"[\n {label:'选项1',value:1},\n {label:'选项2',value:2},\n {label:'选项3',value:3},\n {label:'选项4',value:4},\n {label:'选项5',value:5}\n ]\">\n</uk-select>",progress:'<uk-progress\n :striped="true|false"\n :show-value="true|false"\n size="mini|small"\n color="success|warning|danger"\n :value="0-100">\n</uk-progress>',form:'<uk-form :stacked="formStacked"\n :horizontal="formHorizontal">\n <uk-field name="username"\n label="用户"\n icon="user">\n <uk-input name="username"\n id="username"></uk-input>\n </uk-field>\n <uk-field name="github"\n label="Github"\n icon="github">\n <uk-input name="github"\n id="github"></uk-input>\n </uk-field>\n</uk-form>'}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{usages:{basic:'<uk-datepicker :weekstart="1"\n :i18n="{ months:[\'January\',...], weekdays:[\'Sun\',..,\'Sat\'] }"\n format="YYYY-MM-DD"\n :offsettop="5"\n :minDate="false"\n :maxDate="false"\n pos="auto|top|bottom"\n></uk-datepicker>',timepicker:'<uk-timepicker format="12h"\n :start="0"\n :end="24"\n></uk-timepicker>'}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{buttonType:void 0,color:void 0,size:void 0,width:void 0,icon:void 0,isDisabled:!1,isActive:!1,usages:{basic:'<uk-button color="primary|success|danger"\n size="mini|small|lager"\n icon="search"\n width="1-1"\n :disabled="true|false"\n :active="true|false">按钮文字\n</uk-button>',group:'<uk-button-group type="checkbox|radio">\n <uk-button>选项1</uk-button>\n <uk-button>选项2</uk-button>\n <uk-button>选项3</uk-button>\n</uk-button-group>'}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{usages:{basic:"<uk-dropdown-list :items=\"[\n {label:'选项1',value:'item1'},\n {label:'选项2',value:'item2'},\n {label:'选项3',value:'item3'},\n {label:'选项4',value:'item4'},\n {label:'选项5',value:'item5'},\n {label:'选项6',value:'item6'},\n {label:'选项7',value:'item7'}\n ]\">\n <uk-button right-icon=\"caret-down\">下拉</uk-button>\n</uk-dropdown-list>"}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{usages:{basic:"<uk-html-editor\n mode=\"split|tab\"\n :enable-scripts=\"true|false\"\n :toolbar=\"['bold', 'italic', 'strike', 'link', 'image', 'blockquote', 'listUl', 'listOl']\"\n :max-split-size=\"1000\"\n preview-label=\"预览\"\n codeview-label=\"Markdown\">\n</uk-html-editor>"}}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{usages:{basic:'<uk-button @click="$refs.dialog.open()">打开对话框</uk-button>\n<uk-modal title="对话框标题"\n ref="dialog">\n <p>您好!这是一段简单的文字内容</p>\n</uk-modal>',lightbox:'<uk-button @click="$refs.lightboxDlg.open()">Lightbox</uk-button>\n<uk-modal ref="lightboxDlg"\n :closable="true"\n :lightbox="true">\n <img src="../assets/placeholder_600x400.svg"\n width="600"\n height="400" alt="">\n</uk-modal>'}}},methods:{open:function(){this.$refs.dialog.open()}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{usages:{basic:'<uk-panel title="Panel title">\n Panel body\n</uk-panel>',customize:'<uk-panel>\n <header slot="header">\n <h3>Custom header</h3>\n </header>\n Panel body\n</uk-panel>'}}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(51),a=r(o);e.default={data:function(){return{tabWidth:"1-3",tabCenter:!1,tabLayout:void 0,tabIndex:0,chance:new a.default,usages:{basic:'<uk-tabs :active="1"\n layout="flip|left|right|bottom"\n :center="true|false"\n width="1-3">\n <uk-tab label="页标题">\n 内容页1\n </uk-tab>\n <uk-tab label="页2">\n 内容页2\n </uk-tab>\n\n ...\n\n <uk-tab :disabled="true" label="禁用">\n </uk-tab>\n </uk-tabs>'}}},methods:{getContent:function(){return chance.paragraph()}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var a=n(10),i=r(a);n(56),e.default={name:"UkButton",props:{active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},color:{type:String,default:""},icon:{type:String},rightIcon:{type:String},size:{type:String,default:""},width:{type:String,default:""}},render:function(t){var e,n=this,r={class:(e={"uk-button":!0,"uk-active":this.active},o(e,"uk-width-"+this.width,this.width),o(e,"uk-button-primary","primary"===this.color),o(e,"uk-button-success","success"===this.color),o(e,"uk-button-danger","danger"===this.color),o(e,"uk-button-link","link"===this.color),o(e,"uk-button-mini","mini"===this.size),o(e,"uk-button-small","small"===this.size),o(e,"uk-button-large","large"===this.size),e)},a=function(t){t.preventDefault(),n.$emit("click")};"uk-icon-"+this.icon;return t("button",(0,i.default)([{attrs:{disabled:this.disabled},on:{click:a}},r]),[t("uk-icon",{attrs:{name:this.icon}},[])," ",this.$slots.default," ",this.rightIcon&&t("uk-icon",{attrs:{name:this.rightIcon}},[])])}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["type"],render:function(t){var e={};return"checkbox"===this.type&&(e["data-uk-button-checkbox"]=!0),"radio"===this.type&&(e["data-uk-button-radio"]=!0),t("div",{class:{"uk-button-group":!0},attrs:e},this.$slots.default)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(1),n(5),n(4),n(6),n(52),n(236),n(54),n(241),n(60),n(61),e.default={name:"UkHtmlEditor",props:{value:{type:String,default:""},mode:{type:String,default:"split"},enabledScripts:{type:Boolean,default:!1},toolbar:{type:Array,default:function(){return["bold","italic","strike","link","image","blockquote","listUl","listOl"]}},maxSplitSize:{type:Number,default:1e3},previewLabel:{type:String,default:"预览"},codeViewLabel:{type:String,default:"Markdown"}},data:function(){return{editor:void 0}},mounted:function(){var t=this,e=window.UIkit.htmleditor(this.$refs.editor,{markdown:!0,mode:this.mode,enabledscripts:this.enabledScripts,toolbar:this.toolbar,maxsplitsize:this.maxSplitSize,lblPreview:this.previewLabel,lblCodeview:this.codeViewLabel}),n=this;this.$ui.$(this.$refs.editor).on("input",function(){var r=e.editor.getValue();r!==n.value&&t.$emit("change",r)})},render:function(t){return t("div",null,[t("textarea",{attrs:{rows:"20"},ref:"editor"
},[this.value])])}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"UkIcon",props:{name:{type:String},size:{type:String},hover:{type:Boolean},button:{type:Boolean},spin:{type:Boolean},justify:{type:Boolean}},render:function(t){var e={"uk-icon":!0,"uk-icon-hover":this.hover,"uk-icon-button":this.button,"uk-icon-justify":this.justify,"uk-icon-spin":this.spin};if(this.name){var n="uk-icon-"+this.name;if(e[n]=!0,this.size){var r="uk-icon-"+this.size;e[r]=!0}}return this.name?t("i",{class:e},[]):this.$slots.default}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"UkNav",props:{items:{type:Array,default:function(){return[]}},textField:{type:String,default:"label"},childrenField:{type:String,default:"items"}},methods:{itemClickHandler:function(t){this.$emit("itemclick",t)}},render:function(t){var e=this,n=function(n){return n.header?t("span",null,[n.icon&&t("i",{class:"uk-margin-right uk-icon uk-icon-"+n.icon},[]),n[e.textField]]):t("a",{attrs:{href:"#"},on:{click:function(){return e.itemClickHandler(n)}}},[n.icon&&t("i",{class:"uk-margin-right uk-icon uk-icon-"+n.icon},[]),n[e.textField]])},r=function r(o){return t("ul",{class:"uk-nav-sub"},[o.map(function(o){return t("li",{class:{"uk-nav-header":o.header,"uk-parent":o[e.childrenField]}},[n(o),o[e.childrenField]&&r(o[e.childrenField])])})])};return t("ul",{class:"uk-nav uk-nav-parent-icon",attrs:{"data-uk-nav":!0}},[this[this.childrenField].map(function(o){return t("li",{class:{"uk-nav-header":o.header,"uk-parent":o[e.childrenField]}},[n(o),o[e.childrenField]&&r(o[e.childrenField])])})])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(242),e.default={name:"UkPager",props:{items:{type:Number,default:1},size:{type:Number,default:10},current:{type:Number,default:0}},mounted:function(){var t=this;window.UIkit.pagination(this.$refs.pager,{items:this.items,itemsOnPage:this.size,currentPage:this.current}),this.$ui.$(this.$refs.pager).on("select.uk.pagination",function(e,n){t.$emit("pagechanged",n)})},render:function(t){return t("ul",{class:"uk-pagination",ref:"pager"},[])}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.UkTabs=e.UkTab=void 0;var o=n(245),a=r(o);e.UkTab={name:"UkTab",props:{label:{type:String,default:"Tab"},index:{type:Number,default:0},disabled:{type:Boolean}},computed:{active:function(){return this.index===this.$parent.index}},render:function(t){return t("li",null,[this.$slots.default])}},e.UkTabs={name:"UkTabs",props:{active:{type:Number,default:0},layout:{type:String},center:{type:Boolean},width:{type:String}},data:function(){return{tabItems:[]}},beforeMount:function(){this.tabItems=this.$slots.default.filter(function(t){return t.componentOptions&&"uk-tab"===t.componentOptions.tag}).map(function(t,e){var n=t.componentOptions.propsData;return n.index=e,t})},render:function(t){var e=this,n=a.default.v4(),r="{ active:"+this.active+",connect:'#"+n+"'}",o={"uk-tab":!0};this.layout&&(o["uk-tab-"+this.layout]=!0);var i={"uk-switcher":!0,"uk-margin":!0};if(this.width&&("left"===this.layout||"right"===this.layout)){o["uk-width-medium-"+this.width]=!0;var s=this.width.split("-"),u=parseInt(s[1])-parseInt(s[0]);i["uk-width-medium-"+u+"-"+s[1]]=!0,"right"===this.layout&&(o["uk-push-"+u+"-"+s[1]]=!0,i["uk-pull-"+this.width]=!0,i["uk-row-first"]=!0)}var c=function(){return t("ul",{class:o,attrs:{"data-uk-tab":r}},[e.tabItems.map(function(e){return t("li",{class:{"uk-disabled":e.componentOptions.propsData.disabled}},[t("a",{attrs:{href:""}},[e.componentOptions.propsData.label])])})])},l=function(){return t("ul",{class:i,attrs:{id:n}},[e.tabItems.map(function(e){return t("li",null,[e.componentOptions.children])})])};return t("div",{class:{"uk-tab-center":this.center,"uk-grid":"left"===this.layout||"right"===this.layout}},["bottom"===this.layout?[l(),c()]:[c(),l()]])}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),n(3),n(2),n(63);var o=n(43),a=r(o),i=n(40),s=r(i),u=n(41),c=r(u),l=n(259),d=r(l),v=n(44),f=r(v),_=n(251),p=r(_),h=n(263),m=r(h),b=n(46),k=n(42),y=r(k),g=n(249),w=r(g),x=n(258),$=r(x),C=n(45),E=r(C),j=n(250),S=r(j),R=n(260),M=r(R),A=n(262),F=r(A),I=n(261),O=r(I),P=n(252),z=r(P),N=n(257),D=r(N),B=n(253),L=r(B),T=n(255),U=r(T),H=n(254),V=r(H),Y=n(256),Z=r(Y);e.default=function(t,e){var n=window.UIkit;t.prototype.$ui={$:n.$,modal:n.modal,alert:n.modal.alert,confirm:n.modal.confirm,prompt:n.modal.prompt,block:n.modal.blockUI},t.prototype.$uikit=window.UIKit,t.component("uk-icon",a.default),t.component("uk-icon-field",V.default),t.component("uk-badge",S.default),t.component("uk-button",s.default),t.component("uk-button-group",c.default),t.component("uk-panel",d.default),t.component("uk-tab",b.UkTab),t.component("uk-tabs",b.UkTabs),t.component("uk-nav",f.default),t.component("uk-datepicker",p.default),t.component("uk-timepicker",m.default),t.component("uk-html-editor",y.default),t.component("uk-alert",w.default),t.component("uk-modal",$.default),t.component("uk-pager",E.default),t.component("uk-password",M.default),t.component("uk-select",F.default),t.component("uk-progress",O.default),t.component("uk-dropdown-list",z.default),t.component("uk-itempicker",D.default),t.component("uk-input",Z.default),t.component("uk-form",L.default),t.component("uk-field",U.default)}},,,,,,,function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9InBsYWNlaG9sZGVyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjYwMHB4IiBoZWlnaHQ9IjQwMHB4IiB2aWV3Qm94PSIwIDAgNjAwIDQwMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNjAwIDQwMCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cmFkaWFsR3JhZGllbnQgaWQ9IlNWR0lEXzFfIiBjeD0iNjE1LjgyMDMiIGN5PSItNDcuNjMxOCIgcj0iNDQ3Ljg2ODciIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgLTMyMSAxNjMuNSkiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4NCgk8c3RvcCAgb2Zmc2V0PSIwIiBzdHlsZT0ic3RvcC1jb2xvcjojM0FBOUQ3Ii8+DQoJPHN0b3AgIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzJCQTNENCIvPg0KPC9yYWRpYWxHcmFkaWVudD4NCjxyZWN0IGZpbGw9InVybCgjU1ZHSURfMV8pIiB3aWR0aD0iNjAwIiBoZWlnaHQ9IjQwMCIvPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTIzNC41MzksMTQ4LjV2MTAzaDEzMC45MjJ2LTEwM0gyMzQuNTM5eiBNMzU0LjkwOSwyNDAuMzNIMjQ1LjcwN3YtODAuNjYxaDEwOS4yMDJWMjQwLjMzTDM1NC45MDksMjQwLjMzeiINCgkvPg0KPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIyNTEuNTgsMjMxLjY0MyAyNzQuMDg4LDIwNy45ODQgMjgyLjUyMSwyMTEuNjMzIDMwOS4xMywxODMuMzA4IDMxOS42MDQsMTk1LjgzNiAzMjQuMzMsMTkyLjk4Mg0KCTM0OS44OTgsMjMxLjY0MyAiLz4NCjxjaXJjbGUgZmlsbD0iI0ZGRkZGRiIgY3g9IjI3Ny41ODIiIGN5PSIxODAuMTgiIHI9IjkuODMiLz4NCjwvc3ZnPg0K"},,,,function(t,e,n){var r,o;r=n(11);var a=n(282);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(12);var a=n(305);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(13);var a=n(293);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(14);var a=n(289);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(15);var a=n(295);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(16);var a=n(288);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(17);var a=n(292);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(18);var a=n(301);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(19);var a=n(286);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(20);var a=n(277);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(21);var a=n(294);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(22);var a=n(297);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(23);var a=n(278);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(24);var a=n(280);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(25);var a=n(298);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(26);var a=n(300);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(27);var a=n(291);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(28);var a=n(299);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(29);var a=n(279);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(30);var a=n(304);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(31);var a=n(296);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(32);var a=n(283);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(33);var a=n(285);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(34);var a=n(281);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(35);var a=n(303);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(36);var a=n(284);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(37);var a=n(302);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(38);var a=n(290);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e,n){var r,o;r=n(39);var a=n(287);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=a.render,o.staticRenderFns=a.staticRenderFns,t.exports=r},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uk-form"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedValue,expression:"selectedValue"}],attrs:{type:"text",name:t.name,"data-uk-dropdown":""},domProps:{value:t._s(t.selectedValue)},on:{input:function(e){e.target.composing||(t.selectedValue=e.target.value)}}}),t._v(" "),n("div",{staticClass:"uk-dropdown uk-dropdown-small"},[n("ul",{staticClass:"uk-nav uk-nav-dropdown"},t._l(t.items,function(e){return n("li",{on:{click:function(n){t.selectItem(e)}}},[t._v(t._s(e[t.textField]))])}))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uk-form-password"},[n("input",{attrs:{type:"password",name:t.name},domProps:{value:t.value},on:{change:function(e){t.$emit("change",e)},focus:function(e){t.$emit("focus")},blur:function(e){t.$emit("blur")},key:function(e){t.$emit("key",e)}}}),t._v(" "),n("a",{ref:"pwd",staticClass:"uk-form-password-toggle",attrs:{href:""}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",[t._v("表单与输入")]),t._v(" "),n("hr"),t._v(" "),n("h2",[t._v("表单 - <uk-form>")]),t._v(" "),n("uk-form",{attrs:{stacked:t.formStacked,horizontal:t.formHorizontal}},[n("uk-field",{attrs:{name:"username",label:"用户",icon:"user"}},[n("uk-input",{attrs:{name:"username",id:"username"}})],1),t._v(" "),n("uk-field",{attrs:{name:"github",label:"Github",icon:"github"}},[n("uk-input",{attrs:{name:"github",id:"github"}})],1)],1),t._v(" "),n("h3",[t._v("<uk-form> 属性")]),t._v(" "),n("table",{staticClass:"uk-table uk-table-striped uk-table-condensed"},[t._m(0),t._v(" "),n("tbody",[n("tr",[t._m(1),t._v(" "),t._m(2),t._v(" "),t._m(3),t._v(" "),n("td",[t._v("堆叠布局")]),t._v(" "),n("td",{staticClass:"uk-form"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.formStacked,expression:"formStacked"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.formStacked)?t._i(t.formStacked,null)>-1:t.formStacked},on:{change:function(e){var n=t.formStacked,r=e.target,o=!!r.checked;if(Array.isArray(n)){var a=null,i=t._i(n,a);o?i<0&&(t.formStacked=n.concat(a)):i>-1&&(t.formStacked=n.slice(0,i).concat(n.slice(i+1)))}else t.formStacked=o}}})])]),t._v(" "),n("tr",[t._m(4),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),n("td",[t