baseui/build/lib.js

13 lines
260 KiB
JavaScript
Raw Normal View History

2017-12-13 16:27:42 +01:00
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.baseUI=t():n.baseUI=t()}(this,function(){return function(n){function t(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var e={};return t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="build/",t(t.s=406)}([function(n,t,e){var r=e(2),i=e(23),o=e(12),a=e(13),s=e(19),c=function(n,t,e){var u,l,f,p,A=n&c.F,h=n&c.G,d=n&c.S,g=n&c.P,v=n&c.B,b=h?r:d?r[t]||(r[t]={}):(r[t]||{}).prototype,m=h?i:i[t]||(i[t]={}),C=m.prototype||(m.prototype={});h&&(e=t);for(u in e)l=!A&&b&&void 0!==b[u],f=(l?b:e)[u],p=v&&l?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,b&&a(b,u,f,n&c.U),m[u]!=f&&o(m,u,p),g&&C[u]!=f&&(C[u]=f)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,n.exports=c},function(n,t,e){var r=e(4);n.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(n,t){var e=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(n,t){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,e){var r=e(53)("wks"),i=e(37),o=e(2).Symbol,a="function"==typeof o;(n.exports=function(n){return r[n]||(r[n]=a&&o[n]||(a?o:i)("Symbol."+n))}).store=r},function(n,t,e){n.exports=!e(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,e){var r=e(1),i=e(96),o=e(24),a=Object.defineProperty;t.f=e(6)?Object.defineProperty:function(n,t,e){if(r(n),t=o(t,!0),r(e),i)try{return a(n,t,e)}catch(n){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(n[t]=e.value),n}},function(n,t,e){var r=e(26),i=Math.min;n.exports=function(n){return n>0?i(r(n),9007199254740991):0}},function(n,t,e){var r=e(25);n.exports=function(n){return Object(r(n))}},function(n,t){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t){var e={}.hasOwnProperty;n.exports=function(n,t){return e.call(n,t)}},function(n,t,e){var r=e(7),i=e(36);n.exports=e(6)?function(n,t,e){return r.f(n,t,i(1,e))}:function(n,t,e){return n[t]=e,n}},function(n,t,e){var r=e(2),i=e(12),o=e(11),a=e(37)("src"),s=Function.toString,c=(""+s).split("toString");e(23).inspectSource=function(n){return s.call(n)},(n.exports=function(n,t,e,s){var u="function"==typeof e;u&&(o(e,"name")||i(e,"name",t)),n[t]!==e&&(u&&(o(e,a)||i(e,a,n[t]?""+n[t]:c.join(String(t)))),n===r?n[t]=e:s?n[t]?n[t]=e:i(n,t,e):(delete n[t],i(n,t,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(n,t,e){var r=e(50),i=e(25);n.exports=function(n){return r(i(n))}},function(n,t,e){var r=e(0),i=e(3),o=e(25),a=/"/g,s=function(n,t,e,r){var i=String(o(n)),s="<"+t;return""!==e&&(s+=" "+e+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+t+">"};n.exports=function(n,t){var e={};e[n]=t(s),r(r.P+r.F*i(function(){var t=""[n]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",e)}},function(n,t,e){var r=e(51),i=e(36),o=e(14),a=e(24),s=e(11),c=e(96),u=Object.getOwnPropertyDescriptor;t.f=e(6)?u:function(n,t){if(n=o(n),t=a(t,!0),c)try{return u(n,t)}catch(n){}if(s(n,t))return i(!r.f.call(n,t),n[t])}},function(n,t,e){var r=e(11),i=e(9),o=e(70)("IE_PROTO"),a=Object.prototype;n.exports=Object.getPrototypeOf||function(n){return n=i(n),r(n,o)?n[o]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?a:null}},function(n,t,e){"use strict";function r(n){return"[object Array]"===x.call
2017-10-04 17:33:40 +02:00
* vuex v2.3.0
* (c) 2017 Evan You
* @license MIT
*/
2017-12-13 16:27:42 +01:00
var x=function(n){function t(){var n=this.$options;n.store?this.$store=n.store:n.parent&&n.parent.$store&&(this.$store=n.parent.$store)}if(Number(n.version.split(".")[0])>=2){var e=n.config._lifecycleHooks.indexOf("init")>-1;n.mixin(e?{init:t}:{beforeCreate:t})}else{var r=n.prototype._init;n.prototype._init=function(n){void 0===n&&(n={}),n.init=n.init?[t].concat(n.init):t,r.call(this,n)}}},w="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,_=function(n,t){this.runtime=t,this._children=Object.create(null),this._rawModule=n;var e=n.state;this.state=("function"==typeof e?e():e)||{}},k={namespaced:{}};k.namespaced.get=function(){return!!this._rawModule.namespaced},_.prototype.addChild=function(n,t){this._children[n]=t},_.prototype.removeChild=function(n){delete this._children[n]},_.prototype.getChild=function(n){return this._children[n]},_.prototype.update=function(n){this._rawModule.namespaced=n.namespaced,n.actions&&(this._rawModule.actions=n.actions),n.mutations&&(this._rawModule.mutations=n.mutations),n.getters&&(this._rawModule.getters=n.getters)},_.prototype.forEachChild=function(n){i(this._children,n)},_.prototype.forEachGetter=function(n){this._rawModule.getters&&i(this._rawModule.getters,n)},_.prototype.forEachAction=function(n){this._rawModule.actions&&i(this._rawModule.actions,n)},_.prototype.forEachMutation=function(n){this._rawModule.mutations&&i(this._rawModule.mutations,n)},Object.defineProperties(_.prototype,k);var S=function(n){var t=this;this.root=new _(n,!1),n.modules&&i(n.modules,function(n,e){t.register([e],n,!1)})};S.prototype.get=function(n){return n.reduce(function(n,t){return n.getChild(t)},this.root)},S.prototype.getNamespace=function(n){var t=this.root;return n.reduce(function(n,e){return t=t.getChild(e),n+(t.namespaced?e+"/":"")},"")},S.prototype.update=function(n){c(this.root,n)},S.prototype.register=function(n,t,e){var r=this;void 0===e&&(e=!0);var o=this.get(n.slice(0,-1)),a=new _(t,e);o.addChild(n[n.length-1],a),t.modules&&i(t.modules,function(t,i){r.register(n.concat(i),t,e)})},S.prototype.unregister=function(n){var t=this.get(n.slice(0,-1)),e=n[n.length-1];t.getChild(e).runtime&&t.removeChild(e)};var D,I=function(n){var t=this;void 0===n&&(n={}),s(D,"must call Vue.use(Vuex) before creating a store instance."),s("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser.");var e=n.state;void 0===e&&(e={});var i=n.plugins;void 0===i&&(i=[]);var o=n.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new S(n),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new D;var a=this,c=this,u=c.dispatch,p=c.commit;this.dispatch=function(n,t){return u.call(a,n,t)},this.commit=function(n,t,e){return p.call(a,n,t,e)},this.strict=o,f(this,e,[],this._modules.root),l(this,e),i.concat(r).forEach(function(n){return n(t)})},O={state:{}};O.state.get=function(){return this._vm._data.$$state},O.state.set=function(n){s(!1,"Use store.replaceState() to explicit replace store state.")},I.prototype.commit=function(n,t,e){var r=this,i=m(n,t,e),o=i.type,a=i.payload,s=i.options,c={type:o,payload:a},u=this._mutations[o];if(!u)return void console.error("[vuex] unknown mutation type: "+o);this._withCommit(function(){u.forEach(function(n){n(a)})}),this._subscribers.forEach(function(n){return n(c,r.state)}),s&&s.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")},I.prototype.dispatch=function(n,t){var e=m(n,t),r=e.type,i=e.payload,o=this._actions[r];return o?o.length>1?Promise.all(o.map(function(n){return n(i)})):o[0](i):void console.error("[vuex] unknown action type: "+r)},I.prototype.subscribe=function(n){var t=this._subscribers;return t.indexOf(n)<0&&t.push(n),function(){var e=t.indexOf(n);e>-1&&t.splice(e,1)}},I.prototype.watch=function(n,t,e){var r=this;return s("function"==typeof n,"store.watch only accepts a function."),this._watcherVM.$watch(function(){re
2017-10-04 17:33:40 +02:00
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
2017-12-13 16:27:42 +01:00
n.exports=function(n){return null!=n&&(e(n)||r(n)||!!n._isBuffer)}},function(n,t,e){"use strict";function r(n){this.defaults=n,this.interceptors={request:new a,response:new a}}var i=e(94),o=e(18),a=e(357),s=e(358),c=e(360),u=e(361);r.prototype.request=function(n){"string"==typeof n&&(n=o.merge({url:arguments[0]},arguments[1])),n=o.merge(i,this.defaults,{method:"get"},n),n.method=n.method.toLowerCase(),n.baseURL&&!c(n.url)&&(n.url=u(n.baseURL,n.url));var t=[s,void 0],e=Promise.resolve(n);for(this.interceptors.request.forEach(function(n){t.unshift(n.fulfilled,n.rejected)}),this.interceptors.response.forEach(function(n){t.push(n.fulfilled,n.rejected)});t.length;)e=e.then(t.shift(),t.shift());return e},o.forEach(["delete","get","head","options"],function(n){r.prototype[n]=function(t,e){return this.request(o.merge(e||{},{method:n,url:t}))}}),o.forEach(["post","put","patch"],function(n){r.prototype[n]=function(t,e,r){return this.request(o.merge(r||{},{method:n,url:t,data:e}))}}),n.exports=r},function(n,t){function e(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(n){if(l===setTimeout)return setTimeout(n,0);if((l===e||!l)&&setTimeout)return l=setTimeout,setTimeout(n,0);try{return l(n,0)}catch(t){try{return l.call(null,n,0)}catch(t){return l.call(this,n,0)}}}function o(n){if(f===clearTimeout)return clearTimeout(n);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(n);try{return f(n)}catch(t){try{return f.call(null,n)}catch(t){return f.call(this,n)}}}function a(){d&&A&&(d=!1,A.length?h=A.concat(h):g=-1,h.length&&s())}function s(){if(!d){var n=i(a);d=!0;for(var t=h.length;t;){for(A=h,h=[];++g<t;)A&&A[g].run();g=-1,t=h.length}A=null,d=!1,o(n)}}function c(n,t){this.fun=n,this.array=t}function u(){}var l,f,p=n.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:e}catch(n){l=e}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(n){f=r}}();var A,h=[],d=!1,g=-1;p.nextTick=function(n){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];h.push(new c(n,t)),1!==h.length||d||i(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(n){return[]},p.binding=function(n){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(n){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(n,t,e){"use strict";var r=e(18);n.exports=function(n,t){r.forEach(n,function(e,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(n[t]=e,delete n[r])})}},function(n,t,e){"use strict";var r=e(131);n.exports=function(n,t,e){var i=e.config.validateStatus;e.status&&i&&!i(e.status)?t(r("Request failed with status code "+e.status,e.config,null,e.request,e)):n(e)}},function(n,t,e){"use strict";n.exports=function(n,t,e,r,i){return n.config=t,e&&(n.code=e),n.request=r,n.response=i,n}},function(n,t,e){"use strict";function r(n){return encodeURIComponent(n).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=e(18);n.exports=function(n,t,e){if(!t)return n;var o;if(e)o=e(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(n,t){null!==n&&void 0!==n&&(i.isArray(n)&&(t+="[]"),i.isArray(n)||(n=[n]),i.forEach(n,function(n){i.isDate(n)?n=n.toISOString():i.isObject(n)&&(n=JSON.stringify(n)),a.push(r(t)+"="+r(n))}))}),o=a.join("&")}return o&&(n+=(-1===n.indexOf("?")?"?":"&")+o),n}},function(n,t,e){"use strict";var r=e(18);n.exports=function(n){var t,e,i,o={};return n?(r.forEach(n.split("\n"),function(n){i=n.indexOf(":"),t=r.trim(n.substr(0,i)).toLowerCase(),e=r.trim(n.substr(i+1)),t&&(o[t]=o[t]?o[t]+", "+e:e)}),o):o}},function(n,t,e){"use strict";var r=e(18);n.exports=r.isSt
2017-10-04 17:33:40 +02:00
//# sourceMappingURL=lib.js.map