From 2bcf85a90bade7728ef0da50edb025cd2f855410 Mon Sep 17 00:00:00 2001 From: kzhrk Date: Fri, 30 Nov 2018 19:07:54 +0900 Subject: [PATCH] Update docs --- docs/index.html | 1 + docs/js/app.js | 8 +------- docs/webpack.config.js | 4 +++- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/index.html b/docs/index.html index 51dc10e..2b660cc 100644 --- a/docs/index.html +++ b/docs/index.html @@ -24,6 +24,7 @@ + \ No newline at end of file diff --git a/docs/js/app.js b/docs/js/app.js index cbb0138..9f7cec3 100644 --- a/docs/js/app.js +++ b/docs/js/app.js @@ -1,7 +1 @@ -!function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/js/",i(i.s=5)}([function(u,v){var w;w=function(){return this}();try{w=w||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(w=window)}u.exports=w},function(e,t,n){(function($s,xs){ -/*! - * Vue.js v2.5.17 - * (c) 2014-2018 Evan You - * Released under the MIT License. - */ -e.exports=function(){"use strict";var g=Object.freeze({});function N(e){return null==e}function P(e){return null!=e}function M(e){return!0===e}function L(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function D(e){return null!==e&&"object"==typeof e}var t=Object.prototype.toString;function f(e){return t.call(e).slice(8,-1)}function l(e){return"[object Object]"===t.call(e)}function c(e){return"[object RegExp]"===t.call(e)}function i(e){var t=parseFloat(String(e));return 0<=t&&Math.floor(t)===t&&isFinite(e)}function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function F(e){var t=parseFloat(e);return isNaN(t)?e:t}function R(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e||{},r=n.name||n._componentTag,i=n.__file;if(!r&&i){var o=i.match(/([^/\\]+)\.vue$/);r=o&&o[1]}return(r?"<"+r.replace(fe,function(e){return e.toUpperCase()}).replace(/[-_]/g,"")+">":"")+(i&&!1!==t?" at "+i:"")},ce=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(0>=1;return n}(" ",5+2*t))+(Array.isArray(e)?le(e[0])+"... ("+e[1]+" recursive calls)":le(e))}).join("\n")}return"\n\n(found in "+le(e)+")"};var de=0,pe=function(){this.id=de++,this.subs=[]};pe.prototype.addSub=function(e){this.subs.push(e)},pe.prototype.removeSub=function(e){p(this.subs,e)},pe.prototype.depend=function(){pe.target&&pe.target.addDep(this)},pe.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;tJt)){ae("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=Kt.slice(),r=qt.slice();Zt=qt.length=Kt.length=0,Wt={},Xt=Yt=!(Gt={}),function(e){for(var t=0;te.id;)n--;qt.splice(n+1,0,e)}else qt.push(e);Xt||(Xt=!0,ut(Qt))}}(this)},tn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||D(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Xe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},tn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},tn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},tn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var nn={enumerable:!0,configurable:!0,get:w,set:w};function rn(e,t,n){nn.get=function(){return this[t][n]},nn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,nn)}function on(e){e._watchers=[];var t=e.$options;t.props&&function(r,i){var o=r.$options.propsData||{},a=r._props={},s=r.$options._propKeys=[];r.$parent&&Ae(!1);var e=function(e){s.push(e);var t=ze(e,i,o,r),n=b(e);(d(n)||B.isReservedAttr(n))&&ae('"'+n+'" is a reserved attribute and cannot be used as component prop.',r),Ie(a,e,t,function(){r.$parent&&!Ut&&ae("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+e+'"',r)}),e in r||rn(r,"_props",e)};for(var t in i)e(t);Ae(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var r in t)null==t[r]&&ae('Method "'+r+'" has an undefined value in the component definition. Did you reference the function correctly?',e),n&&_(n,r)&&ae('Method "'+r+'" has already been defined as a prop.',e),r in e&&S(r)&&ae('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]=null==t[r]?w:s(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){he();try{return e.call(t,t)}catch(e){return Xe(e,t,"data()"),{}}finally{me()}}(t,e):t||{})||(t={},ae("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var n=Object.keys(t),r=e.$options.props,i=e.$options.methods,o=n.length;o--;){var a=n[o];i&&_(i,a)&&ae('Method "'+a+'" has already been defined as a data property.',e),r&&_(r,a)?ae('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):S(a)||rn(e,"_data",a)}je(t,!0)}(e):je(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=te();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;null==a&&ae('Getter is missing for computed property "'+i+'".',e),r||(n[i]=new tn(e,a||w,w,an)),i in e?i in e.$data?ae('The computed property "'+i+'" is already defined in data.',e):e.$options.props&&i in e.$options.props&&ae('The computed property "'+i+'" is already defined as a prop.',e):sn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;iparseInt(this.max)&&Yn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};Zn=qn,Qn={get:function(){return B},set:function(){ae("Do not replace the Vue.config object, set individual fields instead.")}},Object.defineProperty(Zn,"config",Qn),Zn.util={warn:ae,extend:m,mergeOptions:Be,defineReactive:Ie},Zn.set=Ee,Zn.delete=Me,Zn.nextTick=ut,Zn.options=Object.create(null),A.forEach(function(e){Zn.options[e+"s"]=Object.create(null)}),m((Zn.options._base=Zn).options.components,nr),Zn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1=a&&l()};setTimeout(function(){c explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&ae(" explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function io(e){return"number"==typeof e&&!isNaN(e)}function oo(e){if(N(e))return!1;var t=e.fns;return P(t)?oo(Array.isArray(t)?t[0]:t):1<(e._length||e.length)}function ao(e,t){!0!==t.data.show&&to(t)}var so=[Ur,Gr,wi,xi,Li,z?{create:ao,activate:ao,remove:function(e,t){!0!==e.data.show?no(e,t):t()}}:{}].concat(Pr),co=function(e){var r,t,g={},n=e.modules,_=e.nodeOps;for(r=0;r - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?_.createElementNS(e.ns,l):_.createElement(l,e),y(e),h(e,c,t),P(s)&&m(e,t),v(n,e.elm,r),s&&s.pre&&f--):(M(e.isComment)?e.elm=_.createComment(e.text):e.elm=_.createTextNode(e.text),v(n,e.elm,r))}}function d(e,t,n,r){var i=e.data;if(P(i)){var o=P(e.componentInstance)&&i.keepAlive;if(P(i=i.hook)&&P(i=i.init)&&i(e,!1,n,r),P(e.componentInstance))return p(e,t),M(o)&&a(e,t,n,r),!0}}function p(e,t){P(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,w(e)?(m(e,t),y(e)):(Ar(e),t.push(e))}function a(e,t,n,r){for(var i,o=e;o.componentInstance;)if(o=o.componentInstance._vnode,P(i=o.data)&&P(i=i.transition)){for(i=0;i, or missing . Bailing hydration and performing full client-side render.")}a=e,e=new ye(_.tagName(a).toLowerCase(),{},[],void 0,a)}var u=e.elm,f=_.parentNode(u);if(b(t,c,u._leaveCb?null:f,_.nextSibling(u)),P(t.parent))for(var d=t.parent,p=w(t);d;){for(var v=0;v expects an Array value for its binding, but got '+Object.prototype.toString.call(r).slice(8,-1),n)}function po(t,e){return e.every(function(e){return!x(e,t)})}function vo(e){return"_value"in e?e._value:e.value}function ho(e){e.target.composing=!0}function mo(e){e.target.composing&&(e.target.composing=!1,yo(e.target,"input"))}function yo(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function go(e){return!e.componentInstance||e.data&&e.data.transition?e:go(e.componentInstance._vnode)}var _o={model:lo,show:{bind:function(e,t,n){var r=t.value,i=(n=go(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,to(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!=!i){var o=(n=go(n)).data&&n.data.transition;o?(n.data.show=!0,r?to(n,function(){e.style.display=e.__vOriginalDisplay}):no(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},bo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function wo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?wo(It(t.children)):e}function $o(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[k(o)]=i[o];return t}function xo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Co={name:"transition",props:bo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag||jt(e)})).length){1 can only be used on a single element. Use for lists.",this.$parent);var r=this.mode;r&&"in-out"!==r&&"out-in"!==r&&ae("invalid mode: "+r,this.$parent);var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=wo(i);if(!o)return i;if(this._leaving)return xo(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:L(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s,c,l=(o.data||(o.data={})).transition=$o(this),u=this._vnode,f=wo(u);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),f&&f.data&&(s=o,(c=f).key!==s.key||c.tag!==s.tag)&&!jt(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var d=f.data.transition=m({},l);if("out-in"===r)return this._leaving=!0,kt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),xo(e,i);if("in-out"===r){if(jt(o))return u;var p,v=function(){p()};kt(l,"afterEnter",v),kt(l,"enterCancelled",v),kt(d,"delayLeave",function(e){p=e})}}return i}}},ko=m({tag:String,moveClass:String},bo);function Ao(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Oo(e){e.data.newPos=e.elm.getBoundingClientRect()}function To(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete ko.mode;var So={Transition:Co,TransitionGroup:{props:ko,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=$o(this),s=0;s children must be keyed: <"+u+">")}}if(r){for(var f=[],d=[],p=0;p, use
.')}r&&(e.staticClass=JSON.stringify(r));var o=oi(e,"class",!1);o&&(e.classBinding=o)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},Po={staticKeys:["staticStyle"],transformNode:function(e,t){var n=t.warn||Qr,r=ai(e,"style");if(r){var i=Mo(r,t.delimiters);i&&n('style="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of
, use
.'),e.staticStyle=JSON.stringify(Ci(r))}var o=oi(e,"style",!1);o&&(e.styleBinding=o)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Do={decode:function(e){return(Lo=Lo||document.createElement("div")).innerHTML=e,Lo.textContent}},Fo=R("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ro=R("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Uo=R("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ho=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Bo="[a-zA-Z_][\\w\\-\\.]*",Vo="((?:"+Bo+"\\:)?"+Bo+")",zo=new RegExp("^<"+Vo),Jo=/^\s*(\/?)>/,qo=new RegExp("^<\\/"+Vo+"[^>]*>"),Ko=/^]+>/i,Wo=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},ca=/&(?:lt|gt|quot|amp);/g,la=/&(?:lt|gt|quot|amp|#10|#9);/g,ua=R("pre,textarea",!0),fa=function(e,t){return e&&ua(e)&&"\n"===t[0]},da=/^@|^v-on:/,pa=/^v-|^@|^:/,va=/([^]*?)\s+(?:in|of)\s+([^]*)/,ha=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ma=/^\(|\)$/g,ya=/:(.*)$/,ga=/^:|^v-bind:/,_a=/\.[^.]+/g,ba=e(Do.decode);function wa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n]*>)","i")),n=i.replace(t,function(e,t,n){return r=n.length,oa(o)||"noscript"===o||(t=t.replace(//g,"$1").replace(//g,"$1")),fa(o,t)&&(t=t.slice(1)),p.chars&&p.chars(t),""});a+=i.length-n.length,i=n,A(o,a-r,a)}else{var s=i.indexOf("<");if(0===s){if(Wo.test(i)){var c=i.indexOf("--\x3e");if(0<=c){p.shouldKeepComment&&p.comment(i.substring(4,c)),x(c+3);continue}}if(Go.test(i)){var l=i.indexOf("]>");if(0<=l){x(l+2);continue}}var u=i.match(Ko);if(u){x(u[0].length);continue}var f=i.match(qo);if(f){var d=a;x(f[0].length),A(f[1],d,a);continue}var _=C();if(_){k(_),fa(v,i)&&x(1);continue}}var b=void 0,w=void 0,$=void 0;if(0<=s){for(w=i.slice(s);!(qo.test(w)||zo.test(w)||Wo.test(w)||Go.test(w)||($=w.indexOf("<",1))<0);)s+=$,w=i.slice(s);b=i.substring(0,s),x(s)}s<0&&(b=i,i=""),p.chars&&b&&p.chars(b)}if(i===e){p.chars&&p.chars(i),!h.length&&p.warn&&p.warn('Mal-formatted tag at end of template: "'+i+'"');break}}function x(e){a+=e,i=i.substring(e)}function C(){var e=i.match(zo);if(e){var t,n,r={tagName:e[1],attrs:[],start:a};for(x(e[0].length);!(t=i.match(Jo))&&(n=i.match(Ho));)x(n[0].length),r.attrs.push(n);if(t)return r.unarySlash=t[1],x(t[0].length),r.end=a,r}}function k(e){var t=e.tagName,n=e.unarySlash;m&&("p"===v&&Uo(t)&&A(v),g(t)&&v===t&&A(t));for(var r,i,o,a=y(t)||!!n,s=e.attrs.length,c=new Array(s),l=0;l has no matching end tag."),p.end&&p.end(h[o].tag,t,n);h.length=r,v=r&&h[r-1].tag}else"br"===i?p.start&&p.start(e,[],!0,t,n):"p"===i&&(p.start&&p.start(e,[],!1,t,n),p.end&&p.end(e,t,n))}A()}(i,{warn:Yo,expectHTML:p.expectHTML,isUnaryTag:p.isUnaryTag,canBeLeftOpenTag:p.canBeLeftOpenTag,shouldDecodeNewlines:p.shouldDecodeNewlines,shouldDecodeNewlinesForHref:p.shouldDecodeNewlinesForHref,shouldKeepComment:p.comments,start:function(e,t,n){var r=h&&h.ns||ia(e);W&&"svg"===r&&(t=function(e){for(var t=[],n=0;n, as they will not be parsed."));for(var u=0;u as component root element because it may contain multiple nodes."),e.attrsMap.hasOwnProperty("v-for")&&_("Cannot use v-for on stateful component root element because it renders multiple elements.")}if(y||(null!=ai(o=l,"v-pre")&&(o.pre=!0),l.pre&&(y=!0)),na(l.tag)&&(g=!0),y?function(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),r=0;r without corresponding v-if.");else if(l.slotScope){h.plain=!1;var d=l.slotTarget||'"default"';(h.scopedSlots||(h.scopedSlots={}))[d]=l}else h.children.push(l),l.parent=h;n?b(l):(h=l,m.push(l))},end:function(){var e=m[m.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!g&&e.children.pop(),m.length-=1,h=m[m.length-1],b(e)},chars:function(e){if(h){if(!W||"textarea"!==h.tag||h.attrsMap.placeholder!==e){var t,n,r=h.children;(e=g||e.trim()?"script"===(t=h).tag||"style"===t.tag?e:ba(e):o&&r.length?" ":"")&&(!y&&" "!==e&&(n=Mo(e,Zo))?r.push({type:2,expression:n.expression,tokens:n.tokens,text:e}):" "===e&&r.length&&" "===r[r.length-1].text||r.push({type:3,text:e}))}}else e===i?_("Component template requires a root element, rather than just text."):(e=e.trim())&&_('text "'+e+'" outside root element will be ignored.')},comment:function(e){h.children.push({type:3,text:e,isComment:!0})}}),v}function xa(e,t){var n,r,i,o,a,s;(r=oi(n=e,"key"))&&("template"===n.tag&&Yo("