From 650c2f432a2726d4a7d8268fb52be4ac9e4b94f4 Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Wed, 22 Jun 2016 16:23:26 -0700 Subject: [PATCH] remove ignored coverage --- test/unit/coverage/lcov-report/base.css | 212 -- test/unit/coverage/lcov-report/prettify.css | 1 - test/unit/coverage/lcov-report/prettify.js | 1 - .../lcov-report/sort-arrow-sprite.png | Bin 209 -> 0 bytes test/unit/coverage/lcov-report/sorter.js | 158 -- .../coverage/lcov-report/src/App.vue.html | 744 ------- .../lcov-report/src/components/Code.vue.html | 113 - .../src/components/Install.vue.html | 599 ------ .../src/components/Params.vue.html | 368 ---- .../src/components/Select.vue.html | 1890 ----------------- .../lcov-report/src/components/index.html | 136 -- .../snippets/InstallSnippet.vue.html | 168 -- .../src/components/snippets/index.html | 97 - .../src/countries/advanced.js.html | 806 ------- .../lcov-report/src/countries/index.html | 106 - .../lcov-report/src/countries/simple.js.html | 71 - test/unit/coverage/lcov-report/src/index.html | 97 - .../lcov-report/src/vuex/actions.js.html | 110 - .../coverage/lcov-report/src/vuex/index.html | 110 - .../lcov-report/src/vuex/store.js.html | 216 -- 20 files changed, 6003 deletions(-) delete mode 100644 test/unit/coverage/lcov-report/base.css delete mode 100644 test/unit/coverage/lcov-report/prettify.css delete mode 100644 test/unit/coverage/lcov-report/prettify.js delete mode 100644 test/unit/coverage/lcov-report/sort-arrow-sprite.png delete mode 100644 test/unit/coverage/lcov-report/sorter.js delete mode 100644 test/unit/coverage/lcov-report/src/App.vue.html delete mode 100644 test/unit/coverage/lcov-report/src/components/Code.vue.html delete mode 100644 test/unit/coverage/lcov-report/src/components/Install.vue.html delete mode 100644 test/unit/coverage/lcov-report/src/components/Params.vue.html delete mode 100644 test/unit/coverage/lcov-report/src/components/Select.vue.html delete mode 100644 test/unit/coverage/lcov-report/src/components/index.html delete mode 100644 test/unit/coverage/lcov-report/src/components/snippets/InstallSnippet.vue.html delete mode 100644 test/unit/coverage/lcov-report/src/components/snippets/index.html delete mode 100644 test/unit/coverage/lcov-report/src/countries/advanced.js.html delete mode 100644 test/unit/coverage/lcov-report/src/countries/index.html delete mode 100644 test/unit/coverage/lcov-report/src/countries/simple.js.html delete mode 100644 test/unit/coverage/lcov-report/src/index.html delete mode 100644 test/unit/coverage/lcov-report/src/vuex/actions.js.html delete mode 100644 test/unit/coverage/lcov-report/src/vuex/index.html delete mode 100644 test/unit/coverage/lcov-report/src/vuex/store.js.html diff --git a/test/unit/coverage/lcov-report/base.css b/test/unit/coverage/lcov-report/base.css deleted file mode 100644 index 417c7ad..0000000 --- a/test/unit/coverage/lcov-report/base.css +++ /dev/null @@ -1,212 +0,0 @@ -body, html { - margin:0; padding: 0; - height: 100%; -} -body { - font-family: Helvetica Neue, Helvetica, Arial; - font-size: 14px; - color:#333; -} -.small { font-size: 12px; } -*, *:after, *:before { - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box; - } -h1 { font-size: 20px; margin: 0;} -h2 { font-size: 14px; } -pre { - font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace; - margin: 0; - padding: 0; - -moz-tab-size: 2; - -o-tab-size: 2; - tab-size: 2; -} -a { color:#0074D9; text-decoration:none; } -a:hover { text-decoration:underline; } -.strong { font-weight: bold; } -.space-top1 { padding: 10px 0 0 0; } -.pad2y { padding: 20px 0; } -.pad1y { padding: 10px 0; } -.pad2x { padding: 0 20px; } -.pad2 { padding: 20px; } -.pad1 { padding: 10px; } -.space-left2 { padding-left:55px; } -.space-right2 { padding-right:20px; } -.center { text-align:center; } -.clearfix { display:block; } -.clearfix:after { - content:''; - display:block; - height:0; - clear:both; - visibility:hidden; - } -.fl { float: left; } -@media only screen and (max-width:640px) { - .col3 { width:100%; max-width:100%; } - .hide-mobile { display:none!important; } -} - -.quiet { - color: #7f7f7f; - color: rgba(0,0,0,0.5); -} -.quiet a { opacity: 0.7; } - -.fraction { - font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; - font-size: 10px; - color: #555; - background: #E8E8E8; - padding: 4px 5px; - border-radius: 3px; - vertical-align: middle; -} - -div.path a:link, div.path a:visited { color: #333; } -table.coverage { - border-collapse: collapse; - margin: 10px 0 0 0; - padding: 0; -} - -table.coverage td { - margin: 0; - padding: 0; - vertical-align: top; -} -table.coverage td.line-count { - text-align: right; - padding: 0 5px 0 20px; -} -table.coverage td.line-coverage { - text-align: right; - padding-right: 10px; - min-width:20px; -} - -table.coverage td span.cline-any { - display: inline-block; - padding: 0 5px; - width: 100%; -} -.missing-if-branch { - display: inline-block; - margin-right: 5px; - border-radius: 3px; - position: relative; - padding: 0 4px; - background: #333; - color: yellow; -} - -.skip-if-branch { - display: none; - margin-right: 10px; - position: relative; - padding: 0 4px; - background: #ccc; - color: white; -} -.missing-if-branch .typ, .skip-if-branch .typ { - color: inherit !important; -} -.coverage-summary { - border-collapse: collapse; - width: 100%; -} -.coverage-summary tr { border-bottom: 1px solid #bbb; } -.keyline-all { border: 1px solid #ddd; } -.coverage-summary td, .coverage-summary th { padding: 10px; } -.coverage-summary tbody { border: 1px solid #bbb; } -.coverage-summary td { border-right: 1px solid #bbb; } -.coverage-summary td:last-child { border-right: none; } -.coverage-summary th { - text-align: left; - font-weight: normal; - white-space: nowrap; -} -.coverage-summary th.file { border-right: none !important; } -.coverage-summary th.pct { } -.coverage-summary th.pic, -.coverage-summary th.abs, -.coverage-summary td.pct, -.coverage-summary td.abs { text-align: right; } -.coverage-summary td.file { white-space: nowrap; } -.coverage-summary td.pic { min-width: 120px !important; } -.coverage-summary tfoot td { } - -.coverage-summary .sorter { - height: 10px; - width: 7px; - display: inline-block; - margin-left: 0.5em; - background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; -} -.coverage-summary .sorted .sorter { - background-position: 0 -20px; -} -.coverage-summary .sorted-desc .sorter { - background-position: 0 -10px; -} -.status-line { height: 10px; } -/* dark red */ -.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 } -.low .chart { border:1px solid #C21F39 } -/* medium red */ -.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE } -/* light red */ -.low, .cline-no { background:#FCE1E5 } -/* light green */ -.high, .cline-yes { background:rgb(230,245,208) } -/* medium green */ -.cstat-yes { background:rgb(161,215,106) } -/* dark green */ -.status-line.high, .high .cover-fill { background:rgb(77,146,33) } -.high .chart { border:1px solid rgb(77,146,33) } - - -.medium .chart { border:1px solid #666; } -.medium .cover-fill { background: #666; } - -.cbranch-no { background: yellow !important; color: #111; } - -.cstat-skip { background: #ddd; color: #111; } -.fstat-skip { background: #ddd; color: #111 !important; } -.cbranch-skip { background: #ddd !important; color: #111; } - -span.cline-neutral { background: #eaeaea; } -.medium { background: #eaeaea; } - -.cover-fill, .cover-empty { - display:inline-block; - height: 12px; -} -.chart { - line-height: 0; -} -.cover-empty { - background: white; -} -.cover-full { - border-right: none !important; -} -pre.prettyprint { - border: none !important; - padding: 0 !important; - margin: 0 !important; -} -.com { color: #999 !important; } -.ignore-none { color: #999; font-weight: normal; } - -.wrapper { - min-height: 100%; - height: auto !important; - height: 100%; - margin: 0 auto -48px; -} -.footer, .push { - height: 48px; -} diff --git a/test/unit/coverage/lcov-report/prettify.css b/test/unit/coverage/lcov-report/prettify.css deleted file mode 100644 index b317a7c..0000000 --- a/test/unit/coverage/lcov-report/prettify.css +++ /dev/null @@ -1 +0,0 @@ -.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} diff --git a/test/unit/coverage/lcov-report/prettify.js b/test/unit/coverage/lcov-report/prettify.js deleted file mode 100644 index ef51e03..0000000 --- a/test/unit/coverage/lcov-report/prettify.js +++ /dev/null @@ -1 +0,0 @@ -window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);c(g([[F,/^[\s]+/,null," \t\r\n"],[n,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[m,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);c(g([],[[n,/^[\s\S]+/]]),["uq.val"]);c(i({keywords:l,hashComments:true,cStyleComments:true,types:e}),["c","cc","cpp","cxx","cyc","m"]);c(i({keywords:"null,true,false"}),["json"]);c(i({keywords:R,hashComments:true,cStyleComments:true,verbatimStrings:true,types:e}),["cs"]);c(i({keywords:x,cStyleComments:true}),["java"]);c(i({keywords:H,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);c(i({keywords:I,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);c(i({keywords:s,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);c(i({keywords:f,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);c(i({keywords:w,cStyleComments:true,regexLiterals:true}),["js"]);c(i({keywords:r,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);c(g([],[[C,/^[\s\S]+/]]),["regex"]);function d(V){var U=V.langExtension;try{var S=a(V.sourceNode);var T=S.sourceCode;V.sourceCode=T;V.spans=S.spans;V.basePos=0;q(U,T)(V);D(V)}catch(W){if("console" in window){console.log(W&&W.stack?W.stack:W)}}}function y(W,V,U){var S=document.createElement("PRE");S.innerHTML=W;if(U){Q(S,U)}var T={langExtension:V,numberLines:U,sourceNode:S};d(T);return S.innerHTML}function b(ad){function Y(af){return document.getElementsByTagName(af)}var ac=[Y("pre"),Y("code"),Y("xmp")];var T=[];for(var aa=0;aa=0){var ah=ai.match(ab);var am;if(!ah&&(am=o(aj))&&"CODE"===am.tagName){ah=am.className.match(ab)}if(ah){ah=ah[1]}var al=false;for(var ak=aj.parentNode;ak;ak=ak.parentNode){if((ak.tagName==="pre"||ak.tagName==="code"||ak.tagName==="xmp")&&ak.className&&ak.className.indexOf("prettyprint")>=0){al=true;break}}if(!al){var af=aj.className.match(/\blinenums\b(?::(\d+))?/);af=af?af[1]&&af[1].length?+af[1]:true:false;if(af){Q(aj,af)}S={langExtension:ah,sourceNode:aj,numberLines:af};d(S)}}}if(X]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/test/unit/coverage/lcov-report/sort-arrow-sprite.png b/test/unit/coverage/lcov-report/sort-arrow-sprite.png deleted file mode 100644 index 03f704a609c6fd0dbfdac63466a7d7c958b5cbf3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^>_9Bd!3HEZxJ@+%Qj#UE5hcO-X(i=}MX3yqDfvmM z3ZA)%>8U}fi7AzZCsS>Jii$m5978H@?Fn+^JD|Y9yzj{W`447Gxa{7*dM7nnnD-Lb z6^}Hx2)'; - } - } - return cols; - } - // attaches a data attribute to every tr element with an object - // of data values keyed by column name - function loadRowData(tableRow) { - var tableCols = tableRow.querySelectorAll('td'), - colNode, - col, - data = {}, - i, - val; - for (i = 0; i < tableCols.length; i += 1) { - colNode = tableCols[i]; - col = cols[i]; - val = colNode.getAttribute('data-value'); - if (col.type === 'number') { - val = Number(val); - } - data[col.key] = val; - } - return data; - } - // loads all row data - function loadData() { - var rows = getTableBody().querySelectorAll('tr'), - i; - - for (i = 0; i < rows.length; i += 1) { - rows[i].data = loadRowData(rows[i]); - } - } - // sorts the table using the data for the ith column - function sortByIndex(index, desc) { - var key = cols[index].key, - sorter = function (a, b) { - a = a.data[key]; - b = b.data[key]; - return a < b ? -1 : a > b ? 1 : 0; - }, - finalSorter = sorter, - tableBody = document.querySelector('.coverage-summary tbody'), - rowNodes = tableBody.querySelectorAll('tr'), - rows = [], - i; - - if (desc) { - finalSorter = function (a, b) { - return -1 * sorter(a, b); - }; - } - - for (i = 0; i < rowNodes.length; i += 1) { - rows.push(rowNodes[i]); - tableBody.removeChild(rowNodes[i]); - } - - rows.sort(finalSorter); - - for (i = 0; i < rows.length; i += 1) { - tableBody.appendChild(rows[i]); - } - } - // removes sort indicators for current column being sorted - function removeSortIndicators() { - var col = getNthColumn(currentSort.index), - cls = col.className; - - cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, ''); - col.className = cls; - } - // adds sort indicators for current column being sorted - function addSortIndicators() { - getNthColumn(currentSort.index).className += currentSort.desc ? ' sorted-desc' : ' sorted'; - } - // adds event listeners for all sorter widgets - function enableUI() { - var i, - el, - ithSorter = function ithSorter(i) { - var col = cols[i]; - - return function () { - var desc = col.defaultDescSort; - - if (currentSort.index === i) { - desc = !currentSort.desc; - } - sortByIndex(i, desc); - removeSortIndicators(); - currentSort.index = i; - currentSort.desc = desc; - addSortIndicators(); - }; - }; - for (i =0 ; i < cols.length; i += 1) { - if (cols[i].sortable) { - // add the click event handler on the th so users - // dont have to click on those tiny arrows - el = getNthColumn(i).querySelector('.sorter').parentElement; - if (el.addEventListener) { - el.addEventListener('click', ithSorter(i)); - } else { - el.attachEvent('onclick', ithSorter(i)); - } - } - } - } - // adds sorting functionality to the UI - return function () { - if (!getTable()) { - return; - } - cols = loadColumns(); - loadData(cols); - addSortIndicators(); - enableUI(); - }; -})(); - -window.addEventListener('load', addSorting); diff --git a/test/unit/coverage/lcov-report/src/App.vue.html b/test/unit/coverage/lcov-report/src/App.vue.html deleted file mode 100644 index 53de8a3..0000000 --- a/test/unit/coverage/lcov-report/src/App.vue.html +++ /dev/null @@ -1,744 +0,0 @@ - - - - Code coverage report for src/App.vue - - - - - - - -
-
-

- all files / src/ App.vue -

-
-
- 64.71% - Statements - 11/17 -
-
- 100% - Branches - 4/4 -
-
- 14.29% - Functions - 1/7 -
-
- 45.45% - Lines - 5/11 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 -225 -226  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - - - - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
// <style lang="scss">
-//
-//   @import 'variables.scss';
-//
-//   body {
-//     font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
-//     -webkit-font-smoothing: antialiased;
-//     -moz-osx-font-smoothing: grayscale;
-//   }
-//
-//   .jumbotron-top {
-//     background: $blue;
-//     background: linear-gradient(45deg, rgba(76,195,217,0) 0%,rgba(152,227,234,1) 100%);
-//     margin-bottom: 0;
-//     min-height: 100vh;
-//     position: relative;
-//     .container {
-//         position: absolute;
-//         height: 600px;
-//         left: 0;
-//         right: 0;
-//         top: 50%;
-//         -webkit-transform: translateY(-50%);
-//         transform: translateY(-50%);
-//         text-align: center;
-//     }
-//   }
-//
-//   h1 {
-//     display: inline-block;
-//     font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
-//     font-weight: 300;
-//     line-height: 1;
-//     padding-right: 80px;
-//     background-position: center right;
-//     background-repeat: no-repeat;
-//     background-size: 55px auto;
-//     background-image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lqv2msrlCDisa5FrqkEUSwIL7E93sDrPW6vqVCC5AaN0l/kVZ+iBGlxfMR2awOuc6u9lkIJkjvcwXagjuc/YK+hUILkEgnVdxeRDfYaCiVIbvEk2546nHePPbdCCZJ7rMvJORVKkEzwBtuOGp5vhz2nQgnSNMBu6uM1OM84Nedu80qQFscY1SYfx2Z7LoUSpOlwH9ubi/j9m/YcCiWIDth1YK4EaUU8z7Z7Ab/bbX+rUII0PdY36DcKJUgu8R7btnkcv83+RqEEaRncwnZkDscdsccqlCAthQrbDXM47gZ7rEIJ0nJ4lO2VE3z/ij1GoQRpWaxb4HcKJUhL4GW2XTN8vst+p1CCtDw+Oc6Y6/hEoQRpCRxm23rcv7fazxRKEIXFXZRuwBDZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC);
-//   }
-//
-//   .list-vue {
-//     text-align: left;
-//     margin: 20px auto;
-//     padding: 0;
-//   }
-//
-//   p.lead {
-//     font-size: 1.8em;
-//     margin: 1em 0;
-//   }
-//
-//   .btn-outline {
-//     background: none;
-//     padding: 10px 16px;
-//     font-size: 18px;
-//     line-height: 1.3333333;
-//     border-radius: 6px;
-//     border: 3px solid #91ddec;
-//     color: #147688;
-//
-//     &:hover {
-//       border-color: rgb(65, 184, 131);
-//       background-color: rgba(65, 184, 131, 0.67);
-//     }
-//     &:active,
-//     &:focus {
-//       border-color: rgb(65, 184, 131);
-//       background-color: rgba(65, 184, 131, 1);
-//     }
-//   }
-//
-//   .down-arrow {
-//     position: absolute;
-//     bottom: 10px;
-//     width: 100%;
-//     text-align: center;
-//     color: rgba(0,0,0,.5);
-//     font-size: 1.6em;
-//     i {
-//       font-size: .7em;
-//       opacity: .4;
-//     }
-//   }
-//
-//   /* Cyan theme */
-//   #v-select {
-//     max-width: 500px;
-//     margin: 0 auto;
-//     .dropdown-toggle {
-//       background: #fff;
-//       border-color: rgba(82, 166, 183, 0.39);
-//     }
-//     .selected-tag {
-//       color: #147688;
-//       background-color: #d7f3f9;
-//       border-color: #91ddec;
-//       .close {
-//         color: #147688;
-//         opacity: .5;
-//       }
-//     }
-//     &.dropdown.open .dropdown-toggle,
-//     &.dropdown.open .dropdown-menu,
-//     &.dropdown.open .open-indicator:before {
-//       border-color: #4CC3D9;
-//     }
-//     .active a {
-//       background: rgba(50,50,50,.1);
-//       color: #333;
-//     }
-//     &.dropdown .highlight a,
-//     &.dropdown li:hover a {
-//       background: #4CC3D9;
-//       color: #fff;
-//     }
-//   }
-//
-//   .selected-tag .close {
-//     font-family: "Helvetica Neue", "Helvetica";
-//     font-weight: 400;
-//   }
-// </style>
-//
-// <template>
-//   <div class="jumbotron jumbotron-top">
-//     <div class="container">
-//       <div class="col-md-8 col-md-offset-2">
-//
-//         <h1>Vue Select</h1>
-//
-//         <p class="accolades lead">
-//           <img src="https://img.shields.io/travis/sagalbot/vue-select.svg?style=flat-square" alt="Build Status">
-//           <img src="https://img.shields.io/badge/dependencies-none-brightgreen.svg?style=flat-square" alt="No Dependencies">
-//           <img src="https://img.shields.io/github/license/sagalbot/vue-select.svg?style=flat-square" alt="MIT License">
-//           <img src="https://img.shields.io/github/release/sagalbot/vue-select.svg?style=flat-square" alt="Current Release">
-//         </p>
-//
-//         <p class="lead">A well-tested, native Vue.js select component that provides similar functionality to Select2/Chosen without the overhead of jQuery.</p>
-//
-//         <v-select
-//           id="v-select"
-//           taggable
-//           :placeholder="placeholder"
-//           :value="selected"
-//           :options="options"
-//           :multiple="multiple"
-//           :on-change="setSelected"
-//         >
-//         </v-select>
-//
-//         <div class="row">
-//           <div class="col-md-3 col-md-offset-3">
-//             <ul class="list-vue">
-//               <li>Fully Reactive</li>
-//               <li>Tagging Support <small>v1.1.0</small></li>
-//               <li>Works with Vuex</li>
-//               <li>Zero dependencies</li>
-//             </ul>
-//           </div>
-//           <div class="col-md-3">
-//             <ul class="list-vue">
-//               <li>+90% Test Coverage</li>
-//               <li>Select Single/Multiple</li>
-//               <li>Typeahead Suggestions</li>
-//               <li>Bootstrap Friendly Markup</li>
-//             </ul>
-//           </div>
-//         </div>
-//
-//         <a class="btn btn-primary btn-outline" href="https://github.com/sagalbot/vue-select"><span class="octicon octicon-mark-github"></span> View on GitHub</a>
-//       </div>
-//     </div>
-//     <a href="#install" class="down-arrow">
-//       Install, Examples &amp; Documentation
-//       <i role="presentation" class="glyphicon glyphicon-chevron-down"></i>
-//     </a>
-//   </div>
-//
-//   <div class="container">
-//     <div class="col-md-10 col-md-offset-1">
-//       <install></install>
-//       <params></params>
-//     </div>
-//   </div>
-// </template>
-//
-// <script type="text/babel">
-import Install from './components/Install.vue'
-import Params from './components/Params.vue'
-import vSelect from './components/Select.vue'
-import { setSelected, toggleMultiple, setPlaceholder, toggleOptionType } from './vuex/actions'
- 
-export default {
-  components: { Params, Install, vSelect },
- 
-  vuex: {
-      getters: {
-        placeholder (store) {
-          return store.placeholder
-        },
-        selected (store) {
-          return store.selected
-        },
-        type (store) {
-          return store.optionType
-        },
-        options (store) {
-          return store.options[store.optionType]
-        },
-        multiple (store) {
-          return store.multiple
-        }
-      },
-      actions: { setSelected, toggleMultiple, setPlaceholder, toggleOptionType }
-    },
-    methods: {
-      onPlaceholderChange ( e ) {
-        this.setPlaceholder( e.target.value )
-      }
-    }
-}
-// </script>
- 
-/* generated by vue-loader */
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/components/Code.vue.html b/test/unit/coverage/lcov-report/src/components/Code.vue.html deleted file mode 100644 index 5d6535c..0000000 --- a/test/unit/coverage/lcov-report/src/components/Code.vue.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - Code coverage report for src/components/Code.vue - - - - - - - -
-
-

- all files / src/components/ Code.vue -

-
-
- 66.67% - Statements - 2/3 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/1 -
-
- 50% - Lines - 1/2 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
// <template>
-// <code :class="class"><slot></slot></code>
-// </template>
-//
-// <script type="text/babel">
-export default {
-  props: ['lang'],
-  computed: {
-    class () {
-      return `language-${this.lang}`
-    }
-  }
-}
-// </script>
-/* generated by vue-loader */
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/components/Install.vue.html b/test/unit/coverage/lcov-report/src/components/Install.vue.html deleted file mode 100644 index a6c1a70..0000000 --- a/test/unit/coverage/lcov-report/src/components/Install.vue.html +++ /dev/null @@ -1,599 +0,0 @@ - - - - Code coverage report for src/components/Install.vue - - - - - - - -
-
-

- all files / src/components/ Install.vue -

-
-
- 72.73% - Statements - 16/22 -
-
- 66.67% - Branches - 4/6 -
-
- 20% - Functions - 1/5 -
-
- 50% - Lines - 6/12 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - - - - - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
// <template>
-// <section>
-//   <h2 class="page-header" id="install">Install &amp; and Usage</h2>
-//   <div class="row row-col-vh">
-//     <div class="col-md-7">
-//       <install-snippet></install-snippet>
-//     </div>
-//
-//     <div class="col-md-5">
-//         <p>The resulting vue-select, and it's value: <v-code lang="json">{{ install | json }}</v-code></p>
-//         <v-select :value.sync="install" :options="['foo','bar','baz']"></v-select>
-//     </div>
-//   </div>
-//
-//   <h2 class="page-header" id="examples">Examples</h2>
-//
-//   <h3 class="page-header">Single/Multiple Selection</h3>
-//   <div class="row">
-//     <div class="col-md-6">
-//       <h4>Single Option Select</h4>
-//       <pre><v-code lang="markup">&#x3C;v-select :options=&#x22;countries&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code></pre>
-//       <v-select :options="countries"></v-select>
-//     </div>
-//
-//     <div class="col-md-6">
-//       <h4>Multiple Option Select</h4>
-//       <pre><v-code lang="markup">&#x3C;v-select multiple :options=&#x22;countries&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code></pre>
-//       <v-select multiple :options="countries"></v-select>
-//     </div>
-//   </div>
-//
-//   <h3 class="page-header">Reactive Options</h3>
-//
-//   <div class="row">
-//     <div class="col-md-6">
-//         <p>When the list of options provided by the parent changes, vue-select will react as you'd expect.</p>
-//         <div style="margin-top:0;" class="radio">
-//         <label>
-//           <input type="radio" name="reactive-options" v-model="reactive" :value="countries">
-//           <v-code lang="markup">&#x3C;v-select :options=&#x22;countries&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code>
-//         </label>
-//       </div>
-//
-//       <div class="radio">
-//         <label>
-//           <input type="radio" name="reactive-options" v-model="reactive" :value="['foo','bar','baz']">
-//           <v-code lang="markup">&#x3C;v-select options=&#x22;['foo','bar','baz']&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code>
-//         </label>
-//       </div>
-//     </div>
-//
-//     <div class="col-md-6">
-//       <v-select :options="reactive"></v-select>
-//     </div>
-//   </div>
-//
-//   <h3 class="page-header">Two-Way Value Syncing</h3>
-//   <div class="row">
-//     <div class="col-md-6">
-//       <p>The most common use case for vue-select is being able to sync the components value with a parent component. The <code>value</code> property supports two-way data binding to accomplish this.</p>
-//       <p>The <code>.sync</code> data-binding modifier is completely optional. You may use <code>value</code> without a two-way binding to preselect options.</p>
-//       <p>Here we have preselected 'Canada' by setting <code>syncedVal: 'Canada'</code> on the parent component. The buttons below demonstrate how you can set the <code>value</code> from the parent.</p>
-//
-//       <p>Current value: <v-code>{{ syncedVal | json }}</v-code></p>
-//     </div>
-//
-//     <div class="col-md-6">
-//       <div class="form-group">
-//         <pre><v-code lang="markup">&#x3C;v-select :value.sync=&#x22;syncedVal&#x22; :options=&#x22;countries&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code></pre>
-//       </div>
-//       <div class="form-group">
-//       <v-select :options="simple" :value.sync="syncedVal"></v-select>
-//       </div>
-//
-//       <div class="form-group">
-//       <button @click="syncedVal = 'United States'" class="btn btn-default">Set to United States</button>
-//       <button @click="syncedVal = 'Canada'" class="btn btn-default">Set to Canada</button>
-//       </div>
-//     </div>
-//   </div>
-//
-//   <h3 class="page-header">Custom Labels</h3>
-//   <div class="row">
-//     <div class="col-md-6">
-//       <p>By default when the <code>options</code> array contains objects, <code>vue-select</code> looks for the <code>label</code> key for display. If your data source doesn't contain that key, you can set your own using the <code>label</code> prop.</p>
-//       <p>On this page, the list of countries used in the examples contains <code>value</code> and <code>label</code> properties: <v-code lang="json">{value: "CA", label: "Canada"}</v-code>. In this example, we'll display the country code instead of the label.</p>
-//     </div>
-//
-//     <div class="col-md-6">
-//       <pre><v-code lang="markup">&#x3C;v-select label=&#x22;value&#x22; :options=&#x22;countries&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code></pre>
-//       <v-select :options="countries" label="value"></v-select>
-//     </div>
-//   </div>
-//
-//   <h3 class="page-header">On-Change Callback <small>Vuex Compatibility</small></h3>
-//   <div class="row">
-//     <div class="col-md-6">
-//       <p>vue-select provides an <code>onChange</code> property that accepts a callback function. This function is passed the currently selected value(s) as it's only parameter.</p>
-//       <p>This is very useful when integrating with Vuex, as it will allow your to trigger an action to update your vuex state object. Choose a callback and see it in action.</p>
-//
-//       <div class="form-inline">
-//         <div class="radio">
-//           <label>
-//             <input type="radio" v-model="callback" value="console"> <code>console.log(val)</code>
-//           </label>
-//         </div>
-//
-//         <div class="radio">
-//           <label>
-//             <input type="radio" v-model="callback" value="alert"> <code>alert(val)</code>
-//           </label>
-//         </div>
-//       </div>
-//     </div>
-//
-//     <div class="col-md-6">
-//       <pre><v-code lang="markup">&#x3C;v-select on-change=&#x22;consoleCallback&#x22; :options=&#x22;countries&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code></pre>
-//       <pre><v-code lang="javascript">methods: {
-//   consoleCallback(val) {
-//     console.dir(JSON.stringify(val))
-//   },
-//
-//   alertCallback(val) {
-//     alert(JSON.stringify(val))
-//   }
-// }</v-code></pre>
-//       <v-select :options="countries" :on-change="getCallback"></v-select>
-//     </div>
-//   </div>
-// </section>
-// </template>
-//
-// <style type="scss">
-//
-// </style>
-//
-// <script>
-import countries from '../countries/advanced'
-import simple from '../countries/simple'
-import vSelect from './Select.vue'
-import vCode from './Code.vue'
-import InstallSnippet from './snippets/InstallSnippet.vue'
-export default {
-  components: {vSelect,vCode,InstallSnippet},
-  data () {
-    return {
-      countries,
-      simple,
-      callback: 'console',
-      reactive: null,
-      install: null,
-      syncedVal: 'Canada'
-    }
-  },
- 
-  methods: {
-    consoleCallback(val) {
-      console.dir(JSON.stringify(val))
-    },
- 
-    alertCallback(val) {
-      alert(JSON.stringify(val))
-    }
-  },
- 
-  computed: {
-    getCallback() {
-      if( this.callback === 'alert' ) {
-        return this.alertCallback
-      }
- 
-      return this.consoleCallback
-    }
-  }
-}
-// </script>
-/* generated by vue-loader */
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/components/Params.vue.html b/test/unit/coverage/lcov-report/src/components/Params.vue.html deleted file mode 100644 index 3c1a647..0000000 --- a/test/unit/coverage/lcov-report/src/components/Params.vue.html +++ /dev/null @@ -1,368 +0,0 @@ - - - - Code coverage report for src/components/Params.vue - - - - - - - -
-
-

- all files / src/components/ Params.vue -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
// <template>
-//   <h2 class="page-header">Parameters</h2>
-//   <pre v-pre><code class="language-javascript">props: {
-//
-//     /**
-//      * Contains the currently selected value. Very similar to a
-//      * `value` attribute on an &amp;lt;input&amp;gt;. In most cases, you'll want
-//      * to set this as a two-way binding, using :value.sync. However,
-//      * this will not work with Vuex, in which case you'll need to use
-//      * the onChange callback property.
-//      * @type {Object||String||null}
-//      */
-//     value: {
-//       default: null
-//     },
-//
-//     /**
-//      * An array of strings or objects to be used as dropdown choices.
-//      * If you are using an array of objects, vue-select will look for
-//      * a `label` key (ex. [{label: 'This is Foo', value: 'foo'}]). A
-//      * custom label key can be set with the `label` prop.
-//      * @type {Array}
-//      */
-//     options: {
-//       type: Array,
-//       default() { return [] },
-//     },
-//
-//     /**
-//      * Enable/disable filtering the options.
-//      * @type {Boolean}
-//      */
-//     searchable: {
-//       type: Boolean,
-//       default: true
-//     },
-//
-//     /**
-//      * Equivalent to the `multiple` attribute on a `&lt;select&gt;` input.
-//      * @type {Boolean}
-//      */
-//     multiple: {
-//       type: Boolean,
-//       default: false
-//     },
-//
-//     /**
-//      * Equivalent to the `placeholder` attribute on an `&lt;input&gt;`.
-//      * @type {String}
-//      */
-//     placeholder: {
-//       type: String,
-//       default: ''
-//     },
-//
-//     /**
-//      * Sets a Vue transition property on the `.dropdown-menu`. vue-select
-//      * does not include CSS for transitions, you'll need to add them yourself.
-//      * @type {String}
-//      */
-//     transition: {
-//       type: String,
-//       default: 'expand'
-//     },
-//
-//     /**
-//      * Enables/disables clearing the search text when an option is selected.
-//      * @type {Boolean}
-//      */
-//     clearSearchOnSelect: {
-//       type: Boolean,
-//       default: true
-//     },
-//
-//     /**
-//      * Tells vue-select what key to use when generating option labels when
-//      * `option` is an object.
-//      * @type {String}
-//      */
-//     label: {
-//       type: String,
-//       default: 'label'
-//     },
-//
-//     /**
-//      * An optional callback function that is called each time the selected
-//      * value(s) change. When integrating with Vuex, use this callback to trigger
-//      * an action, rather than using :value.sync to retreive the selected value.
-//      * @type {Function}
-//      * @default {null}
-//      */
-//     onChange: Function
-//   }
-//     </code></pre>
-// </template>
-//
-// <script>
-export default {}
-// </script>
-/* generated by vue-loader */
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/components/Select.vue.html b/test/unit/coverage/lcov-report/src/components/Select.vue.html deleted file mode 100644 index a239a81..0000000 --- a/test/unit/coverage/lcov-report/src/components/Select.vue.html +++ /dev/null @@ -1,1890 +0,0 @@ - - - - Code coverage report for src/components/Select.vue - - - - - - - -
-
-

- all files / src/components/ Select.vue -

-
-
- 94% - Statements - 94/100 -
-
- 82.3% - Branches - 93/113 -
-
- 92.59% - Functions - 25/27 -
-
- 93.26% - Lines - 83/89 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 -225 -226 -227 -228 -229 -230 -231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -249 -250 -251 -252 -253 -254 -255 -256 -257 -258 -259 -260 -261 -262 -263 -264 -265 -266 -267 -268 -269 -270 -271 -272 -273 -274 -275 -276 -277 -278 -279 -280 -281 -282 -283 -284 -285 -286 -287 -288 -289 -290 -291 -292 -293 -294 -295 -296 -297 -298 -299 -300 -301 -302 -303 -304 -305 -306 -307 -308 -309 -310 -311 -312 -313 -314 -315 -316 -317 -318 -319 -320 -321 -322 -323 -324 -325 -326 -327 -328 -329 -330 -331 -332 -333 -334 -335 -336 -337 -338 -339 -340 -341 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -397 -398 -399 -400 -401 -402 -403 -404 -405 -406 -407 -408 -409 -410 -411 -412 -413 -414 -415 -416 -417 -418 -419 -420 -421 -422 -423 -424 -425 -426 -427 -428 -429 -430 -431 -432 -433 -434 -435 -436 -437 -438 -439 -440 -441 -442 -443 -444 -445 -446 -447 -448 -449 -450 -451 -452 -453 -454 -455 -456 -457 -458 -459 -460 -461 -462 -463 -464 -465 -466 -467 -468 -469 -470 -471 -472 -473 -474 -475 -476 -477 -478 -479 -480 -481 -482 -483 -484 -485 -486 -487 -488 -489 -490 -491 -492 -493 -494 -495 -496 -497 -498 -499 -500 -501 -502 -503 -504 -505 -506 -507 -508 -509 -510 -511 -512 -513 -514 -515 -516 -517 -518 -519 -520 -521 -522 -523 -524 -525 -526 -527 -528 -529 -530 -531 -532 -533 -534 -535 -536 -537 -538 -539 -540 -541 -542 -543 -544 -545 -546 -547 -548 -549 -550 -551 -552 -553 -554 -555 -556 -557 -558 -559 -560 -561 -562 -563 -564 -565 -566 -567 -568 -569 -570 -571 -572 -573 -574 -575 -576 -577 -578 -579 -580 -581 -582 -583 -584 -585 -586 -587 -588 -589 -590 -591 -592 -593 -594 -595 -596 -597 -598 -599 -600 -601 -602 -603 -604 -605 -606 -607 -608  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - - -  - -  -  -  -  -  -31× -  -  -  -  -  -  -  -  -17× -  -  - - -  -  -  - -  -  -12× -  -  -  -  -  -  -  -  -  -  -  - - - -  - - -  -  -  - -  - - -  - -  -  -  - -  -  - - -  -  -  - -  -  -  -  -  -  -  -  - - - -  -  - - -  -  -  -  -  -  -  -  -  - - -  -  - - -  -  -  -  -  -  -  -  -  -159× -159× -72× -72× -84× - -83× -21× -  -  -72× -  -  -87× -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -113× -37× -32× -  -  -81× -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  - - - - -  -  - - -  -  -  -  -  -  -  -  -  - -  -  - -  -  -  -  -  -  -  -  -  - - -  -  -  -  -  -  -  -  -  -  -19× -19× -  -19× -36× - -33× - -  -  -  -19× -  -  -  -  -  -  -  -  -  -  -35× -  -  -  -  -  -  -  -  -  -  -  -48× - -  -  -  -  -  -  -  -  -  -  -  -  -48× -48× - -  -48× -  -  -  -  -  -  -  -53× -38× -33× -  - -  -  -15× -  -  -  -  -  -  -  -50× -25× -25× -12× -  -  -13× -  -  -  -  -  -  -  -  - 
// <style>
-//   .v-select.dropdown {
-//     position: relative;
-//   }
-//
-//   .v-select .open-indicator {
-//     position: absolute;
-//     bottom: 6px;
-//     right: 10px;
-//     display: inline-block;
-//     cursor: pointer;
-//     pointer-events: all;
-//     transition: all 150ms cubic-bezier(1.000, -0.115, 0.975, 0.855);
-//     transition-timing-function: cubic-bezier(1.000, -0.115, 0.975, 0.855);
-//   }
-//
-//   .v-select .open-indicator:before {
-//     border-color:  rgba(60,60,60,.5);
-//     border-style: solid;
-//     border-width: 0.25em 0.25em 0 0;
-//     content: '';
-//     display: inline-block;
-//     height: 10px;
-//     width: 10px;
-//     vertical-align: top;
-//     transform: rotate(133deg);
-//     transition: all 150ms cubic-bezier(1.000, -0.115, 0.975, 0.855);
-//     transition-timing-function: cubic-bezier(1.000, -0.115, 0.975, 0.855);
-//   }
-//
-//   .v-select.open .open-indicator {
-//     bottom: 1px;
-//   }
-//
-//   .v-select.open .open-indicator:before {
-//     transform: rotate(315deg);
-//   }
-//
-//   .v-select .dropdown-toggle {
-//     display: block;
-//     padding: 0;
-//     background: none;
-//     border: 1px solid rgba(60,60,60,.26);
-//     border-radius: 4px;
-//     white-space: normal;
-//   }
-//
-//   .v-select.searchable .dropdown-toggle {
-//     cursor: text;
-//   }
-//
-//   .v-select.open .dropdown-toggle {
-//     border-bottom: none;
-//     border-bottom-left-radius: 0;
-//     border-bottom-right-radius: 0;
-//   }
-//
-//   .v-select > .dropdown-menu {
-//     margin: 0;
-//     width: 100%;
-//     overflow-y: auto;
-//     border-top: none;
-//     border-top-left-radius: 0;
-//     border-top-right-radius: 0;
-//   }
-//
-//   .v-select .selected-tag {
-//     color: #333;
-//     background-color: #f0f0f0;
-//     border: 1px solid #ccc;
-//     border-radius: 4px;
-//     height: 26px;
-//     margin: 4px 1px 0px 3px;
-//     padding: 0 0.25em;
-//     float: left;
-//     line-height: 1.7em;
-//   }
-//
-//   .v-select .selected-tag .close {
-//     float: none;
-//     margin-right: 0;
-//     font-size: 20px;
-//   }
-//
-//   .v-select input[type=search],
-//   .v-select input[type=search]:focus {
-//     display: inline-block;
-//     border: none;
-//     outline: none;
-//     margin: 0;
-//     padding: 0 .5em;
-//     width: 10em;
-//     max-width: 100%;
-//     background: none;
-//     position: relative;
-//     box-shadow: none;
-//     float: left;
-//     clear: none;
-//   }
-//
-//   .v-select input[type=search]:disabled {
-//     cursor: pointer;
-//   }
-//
-//   .v-select li a {
-//     cursor: pointer;
-//   }
-//
-//   .v-select .active a {
-//     background: rgba(50,50,50,.1);
-//     color: #333;
-//   }
-//
-//   .v-select .highlight a,
-//   .v-select li:hover > a {
-//     background: #f0f0f0;
-//     color: #333;
-//   }
-// </style>
-//
-// <template>
-//   <div class="dropdown v-select" :class="dropdownClasses">
-//     <div v-el:toggle @mousedown.prevent="toggleDropdown" class="dropdown-toggle clearfix" type="button">
-//         <span class="form-control" v-if="!searchable && isValueEmpty">
-//           {{ placeholder }}
-//         </span>
-//
-//         <span class="selected-tag" v-for="option in valueAsArray">
-//           {{ getOptionLabel(option) }}
-//           <button v-if="multiple" @click="select(option)" type="button" class="close">
-//             <span aria-hidden="true">&times;</span>
-//           </button>
-//         </span>
-//
-//       <input
-//               v-el:search
-//               v-show="searchable"
-//               v-model="search"
-//               @keydown.delete="maybeDeleteValue"
-//               @keyup.esc="onEscape"
-//               @keyup.up.prevent="typeAheadUp"
-//               @keyup.down.prevent="typeAheadDown"
-//               @keyup.enter.prevent="typeAheadSelect"
-//               @blur="open = false"
-//               @focus="open = true"
-//               type="search"
-//               class="form-control"
-//               :placeholder="searchPlaceholder"
-//               :style="{ width: isValueEmpty ? '100%' : 'auto' }"
-//       >
-//
-//       <i v-el:open-indicator role="presentation" class="open-indicator"></i>
-//     </div>
-//
-//     <ul v-show="open" v-el:dropdown-menu :transition="transition" :style="{ 'max-height': maxHeight }" class="dropdown-menu animated">
-//       <li v-for="option in filteredOptions" track-by="$index" :class="{ active: isOptionSelected(option), highlight: $index === typeAheadPointer }" @mouseover="typeAheadPointer = $index">
-//         <a @mousedown.prevent="select(option)">
-//           {{ getOptionLabel(option) }}
-//         </a>
-//       </li>
-//       <li transition="fade" v-if="!filteredOptions.length" class="divider"></li>
-//       <li transition="fade" v-if="!filteredOptions.length" class="text-center">
-//         <slot name="no-options">Sorry, no matching options.</slot>
-//       </li>
-//     </ul>
-//   </div>
-// </template>
-//
-//
-// <script type="text/babel">
-export default {
-  props: {
-    /**
-     * Contains the currently selected value. Very similar to a
-     * `value` attribute on an <input>. In most cases, you'll want
-     * to set this as a two-way binding, using :value.sync. However,
-     * this will not work with Vuex, in which case you'll need to use
-     * the onChange callback property.
-     * @type {Object||String||null}
-     */
-    value: {
-      default: null
-    },
- 
-    /**
-     * An array of strings or objects to be used as dropdown choices.
-     * If you are using an array of objects, vue-select will look for
-     * a `label` key (ex. [{label: 'This is Foo', value: 'foo'}]). A
-     * custom label key can be set with the `label` prop.
-     * @type {Object}
-     */
-    options: {
-      type: Array,
-      default() { return [] },
-    },
- 
-    /**
-     * Sets the max-height property on the dropdown list.
-     * @deprecated
-     * @type {String}
-     */
-    maxHeight: {
-      type: String,
-      default: '400px'
-    },
- 
-    /**
-     * Enable/disable filtering the options.
-     * @type {Boolean}
-     */
-    searchable: {
-      type: Boolean,
-      default: true
-    },
- 
-    /**
-     * Equivalent to the `multiple` attribute on a `<select>` input.
-     * @type {Object}
-     */
-    multiple: {
-      type: Boolean,
-      default: false
-    },
- 
-    /**
-     * Equivalent to the `placeholder` attribute on an `<input>`.
-     * @type {Object}
-     */
-    placeholder: {
-      type: String,
-      default: ''
-    },
- 
-    /**
-     * Sets a Vue transition property on the `.dropdown-menu`. vue-select
-     * does not include CSS for transitions, you'll need to add them yourself.
-     * @type {String}
-     */
-    transition: {
-      type: String,
-      default: 'expand'
-    },
- 
-    /**
-     * Enables/disables clearing the search text when an option is selected.
-     * @type {Boolean}
-     */
-    clearSearchOnSelect: {
-      type: Boolean,
-      default: true
-    },
- 
-    /**
-     * Tells vue-select what key to use when generating option
-     * labels when each `option` is an object.
-     * @type {String}
-     */
-    label: {
-      type: String,
-      default: 'label'
-    },
- 
-    /**
-     * An optional callback function that is called each time the selected
-     * value(s) change. When integrating with Vuex, use this callback to trigger
-     * an action, rather than using :value.sync to retreive the selected value.
-     * @type {Function}
-     * @default {null}
-     */
-    onChange: Function,
- 
-    /**
-     * Enable/disable creating options from searchInput.
-     * @type {Boolean}
-     */
-    taggable: {
-      type: Boolean,
-      default: false
-    },
- 
-    /**
-     * When true, newly created tags will be added to
-     * the options list.
-     * @type {Boolean}
-     */
-    pushTags: {
-      type: Boolean,
-      default: false
-    },
- 
-    /**
-     * User defined function for adding Options
-     * @type {Function}
-     */
-    createOption: {
-      type: Function,
-      default: function (newOption) {
-        if (typeof this.options[0] === 'object') {
-          return {[this.label]: newOption}
-        }
-        return newOption
-      }
-    }
-  },
- 
-  data() {
-    return {
-      search: '',
-      open: false,
-      typeAheadPointer: -1,
-    }
-  },
- 
-  watch: {
-    value(val, old) {
-      this.onChange && val !== old ? this.onChange(val) : null
-    },
-    options() {
-      if (!this.taggable) {
-        this.$set('value', this.multiple ? [] : null)
-      }
-    },
-    multiple( val ) {
-      this.$set('value', val ? [] : null)
-    },
-    filteredOptions() {
-      this.typeAheadPointer = 0
-    },
-  },
- 
-  methods: {
- 
-    /**
-     * Select a given option.
-     * @param  {Object||String} option
-     * @return {void}
-     */
-    select(option) {
-      if (!this.isOptionSelected(option)) {
-        if (this.taggable && !this.optionExists(option)) {
-          option = this.createOption(option)
- 
-          if( this.pushTags ) {
-            this.options.push(option)
-          }
-        }
- 
-        if (this.multiple) {
- 
-          if (!this.value) {
-            this.$set('value', [option])
-          } else {
-            this.value.push(option)
-          }
- 
-        } else {
-          this.value = option
-        }
-      } else {
-        Eif (this.multiple) {
-          this.value.$remove(option)
-        }
-      }
- 
-      this.onAfterSelect(option)
-    },
- 
-    /**
-     * Called from this.select after each selection.
-     * @param  {Object||String} option
-     * @return {void}
-     */
-    onAfterSelect(option) {
-      if (!this.multiple) {
-        this.open = !this.open
-        this.$els.search.blur()
-      }
- 
-      Eif( this.clearSearchOnSelect ) {
-        this.search = ''
-      }
-    },
- 
-    /**
-     * Toggle the visibility of the dropdown menu.
-     * @param  {Event} e
-     * @return {void}
-     */
-    toggleDropdown(e) {
-      Eif( e.target === this.$els.openIndicator || e.target === this.$els.search || e.target === this.$els.toggle || e.target === this.$el ) {
-        Iif( this.open ) {
-          this.$els.search.blur() // dropdown will close on blur
-        } else {
-          this.open = true
-          this.$els.search.focus()
-        }
-      }
-    },
- 
-    /**
-     * Check if the given option is currently selected.
-     * @param  {Object||String}  option
-     * @return {Boolean}         True when selected || False otherwise
-     */
-    isOptionSelected( option ) {
-      if( this.multiple && this.value ) {
-        let selected = false
-        this.value.forEach(opt => {
-          if( typeof opt === 'object' && opt[this.label] === option ) {
-            selected = true
-          } else if( opt === option ) {
-            selected = true
-          }
-        })
-        return selected
-      }
- 
-      return this.value === option
-    },
- 
-    /**
-     * If the selected option has option['value'] return it.
-     * Otherwise, return the entire option.
-     * @param  {Object||String} option
-     * @return {Object||String}
-     * @deprecated will be removed in 1.0.8
-     */
-     getOptionValue( option ) {
-       if( typeof option === 'object' && option.value ) {
-         return option.value;
-       }
- 
-       return option;
-     },
- 
-    /**
-     * Generate the option label text. If {option}
-     * is an object, return option[this.label].
-     *
-     * @param  {Object || String} option
-     * @return {String}
-     */
-    getOptionLabel( option ) {
-      if( typeof option === 'object' ) {
-        if( this.label && option[this.label] ) {
-          return option[this.label]
-        }
-      }
-      return option;
-    },
- 
-    /**
-     * Move the typeAheadPointer visually up the list by
-     * subtracting the current index by one.
-     * @return {void}
-     */
-    typeAheadUp() {
-      Eif (this.typeAheadPointer > 0) this.typeAheadPointer--
-    },
- 
-    /**
-     * Move the typeAheadPointer visually down the list by
-     * adding the current index by one.
-     * @return {void}
-     */
-    typeAheadDown() {
-      if (this.typeAheadPointer < this.filteredOptions.length - 1) this.typeAheadPointer++
-    },
- 
-    /**
-     * Select the option at the current typeAheadPointer position.
-     * Optionally clear the search input on selection.
-     * @return {void}
-     */
-    typeAheadSelect() {
-      if( this.filteredOptions[ this.typeAheadPointer ] ) {
-        this.select( this.filteredOptions[ this.typeAheadPointer ] );
-      } else Eif (this.taggable && this.search.length){
-        this.select(this.search)
-      }
- 
-      Eif( this.clearSearchOnSelect ) {
-        this.search = "";
-      }
-    },
- 
-    /**
-     * If there is any text in the search input, remove it.
-     * Otherwise, blur the search input to close the dropdown.
-     * @return {[type]} [description]
-     */
-    onEscape() {
-      Iif( ! this.search.length ) {
-        this.$els.search.blur()
-      } else {
-        this.search = ''
-      }
-    },
- 
-    /**
-     * Delete the value on Delete keypress when there is no
-     * text in the search input, & there's tags to delete
-     * @return {this.value}
-     */
-    maybeDeleteValue() {
-      Eif( ! this.$els.search.value.length && this.value ) {
-        return this.multiple ? this.value.pop() : this.$set('value', null)
-      }
-    },
- 
-    /**
-     * Determine if an option exists
-     * within this.options array.
-     *
-     * @param  {Object || String} option
-     * @return {boolean}
-     */
-    optionExists(option) {
-      let exists = false
- 
-      this.options.forEach(opt => {
-        if( typeof opt === 'object' && opt[this.label] === option ) {
-          exists = true
-        } else if( opt === option ) {
-          exists = true
-        }
-      })
- 
-      return exists
-    }
-  },
- 
-  computed: {
- 
-    /**
-     * Classes to be output on .dropdown
-     * @return {Object}
-     */
-    dropdownClasses() {
-      return {
-        open: this.open,
-        searchable: this.searchable
-      }
-    },
- 
-    /**
-     * Return the placeholder string if it's set
-     * & there is no value selected.
-     * @return {String} Placeholder text
-     */
-    searchPlaceholder() {
-      if( this.isValueEmpty && this.placeholder ) {
-        return this.placeholder;
-      }
-    },
- 
-    /**
-     * The currently displayed options, filtered
-     * by the search elements value. If tagging
-     * true, the search text will be prepended
-     * if it doesn't already exist.
-     *
-     * @return {array}
-     */
-    filteredOptions() {
-      let options = this.$options.filters.filterBy(this.options, this.search)
-      if (this.taggable && this.search.length && !this.optionExists(this.search)) {
-        options.unshift(this.search)
-      }
-      return options
-    },
- 
-    /**
-     * Check if there aren't any options selected.
-     * @return {Boolean}
-     */
-    isValueEmpty() {
-      if( this.value ) {
-        if( typeof this.value === 'object' ) {
-          return ! Object.keys(this.value).length
-        }
-        return ! this.value.length
-      }
- 
-      return true;
-    },
- 
-    /**
-     * Return the current value in array format.
-     * @return {Array}
-     */
-    valueAsArray() {
-      if( this.multiple ) {
-        return this.value
-      } else if (this.value) {
-        return [this.value]
-      }
- 
-      return []
-    }
-  }
- 
-}
-// </script>
- 
-/* generated by vue-loader */
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/components/index.html b/test/unit/coverage/lcov-report/src/components/index.html deleted file mode 100644 index fcbe36f..0000000 --- a/test/unit/coverage/lcov-report/src/components/index.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - Code coverage report for src/components/ - - - - - - - -
-
-

- all files src/components/ -

-
-
- 89.76% - Statements - 114/127 -
-
- 81.51% - Branches - 97/119 -
-
- 78.79% - Functions - 26/33 -
-
- 87.5% - Lines - 91/104 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
Code.vue
66.67%2/3100%0/00%0/150%1/2
Install.vue
72.73%16/2266.67%4/620%1/550%6/12
Params.vue
100%2/2100%0/0100%0/0100%1/1
Select.vue
94%94/10082.3%93/11392.59%25/2793.26%83/89
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/components/snippets/InstallSnippet.vue.html b/test/unit/coverage/lcov-report/src/components/snippets/InstallSnippet.vue.html deleted file mode 100644 index 2d0a9a6..0000000 --- a/test/unit/coverage/lcov-report/src/components/snippets/InstallSnippet.vue.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - Code coverage report for src/components/snippets/InstallSnippet.vue - - - - - - - -
-
-

- all files / src/components/snippets/ InstallSnippet.vue -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  - 
// <template>
-// <p>Install from GitHub via NPM</p>
-//       <pre><v-code lang="bash">npm install sagalbot/vue-select</v-code></pre>
-//
-//       <p>To use the vue-select component in your templates, simply import it, and register it with your component.</p>
-// <pre><v-code lang="markup">&#x3C;template&#x3E;
-//   &#x3C;div id=&#x22;myApp&#x22;&#x3E;
-//     &#x3C;v-select :value.sync=&#x22;selected&#x22; :options=&#x22;options&#x22;&#x3E;&#x3C;/v-select&#x3E;
-//   &#x3C;/div&#x3E;
-// &#x3C;/template&#x3E;
-// &#x3C;script&#x3E;</v-code>
-// <v-code lang="javascript">import vSelect from "vue-select"
-//   export default {
-//     components: {vSelect},
-//
-//     data() {
-//       return {
-//         selected: null,
-//         options: ['foo','bar','baz']
-//       }
-//     }
-//   }
-// &#x3C;/script&#x3E;</v-code>
-// </pre>
-// </template>
-// <script type="text/babel">
-import vCode from '../Code.vue'
-export default {
-  components: {vCode}
-}
-// </script>
-/* generated by vue-loader */
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/components/snippets/index.html b/test/unit/coverage/lcov-report/src/components/snippets/index.html deleted file mode 100644 index fadb8db..0000000 --- a/test/unit/coverage/lcov-report/src/components/snippets/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for src/components/snippets/ - - - - - - - -
-
-

- all files src/components/snippets/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
InstallSnippet.vue
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/countries/advanced.js.html b/test/unit/coverage/lcov-report/src/countries/advanced.js.html deleted file mode 100644 index 5a6a02e..0000000 --- a/test/unit/coverage/lcov-report/src/countries/advanced.js.html +++ /dev/null @@ -1,806 +0,0 @@ - - - - Code coverage report for src/countries/advanced.js - - - - - - - -
-
-

- all files / src/countries/ advanced.js -

-
-
- 100% - Statements - 1/1 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 -225 -226 -227 -228 -229 -230 -231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
module.exports = [
-              {value: "AF", label: "Afghanistan"},
-              {value: "AX", label: "Åland Islands"},
-              {value: "AL", label: "Albania"},
-              {value: "DZ", label: "Algeria"},
-              {value: "AS", label: "American Samoa"},
-              {value: "AD", label: "Andorra"},
-              {value: "AO", label: "Angola"},
-              {value: "AI", label: "Anguilla"},
-              {value: "AQ", label: "Antarctica"},
-              {value: "AG", label: "Antigua and Barbuda"},
-              {value: "AR", label: "Argentina"},
-              {value: "AM", label: "Armenia"},
-              {value: "AW", label: "Aruba"},
-              {value: "AU", label: "Australia"},
-              {value: "AT", label: "Austria"},
-              {value: "AZ", label: "Azerbaijan"},
-              {value: "BS", label: "Bahamas"},
-              {value: "BH", label: "Bahrain"},
-              {value: "BD", label: "Bangladesh"},
-              {value: "BB", label: "Barbados"},
-              {value: "BY", label: "Belarus"},
-              {value: "BE", label: "Belgium"},
-              {value: "BZ", label: "Belize"},
-              {value: "BJ", label: "Benin"},
-              {value: "BM", label: "Bermuda"},
-              {value: "BT", label: "Bhutan"},
-              {value: "BO", label: "Bolivia"},
-              {value: "BA", label: "Bosnia and Herzegovina"},
-              {value: "BW", label: "Botswana"},
-              {value: "BV", label: "Bouvet Island"},
-              {value: "BR", label: "Brazil"},
-              {value: "IO", label: "British Indian Ocean Territory"},
-              {value: "BN", label: "Brunei Darussalam"},
-              {value: "BG", label: "Bulgaria"},
-              {value: "BF", label: "Burkina Faso"},
-              {value: "BI", label: "Burundi"},
-              {value: "KH", label: "Cambodia"},
-              {value: "CM", label: "Cameroon"},
-              {value: "CA", label: "Canada"},
-              {value: "CV", label: "Cape Verde"},
-              {value: "KY", label: "Cayman Islands"},
-              {value: "CF", label: "Central African Republic"},
-              {value: "TD", label: "Chad"},
-              {value: "CL", label: "Chile"},
-              {value: "CN", label: "China"},
-              {value: "CX", label: "Christmas Island"},
-              {value: "CC", label: "Cocos (Keeling) Islands"},
-              {value: "CO", label: "Colombia"},
-              {value: "KM", label: "Comoros"},
-              {value: "CG", label: "Congo"},
-              {value: "CD", label: "Congo, The Democratic Republic of The"},
-              {value: "CK", label: "Cook Islands"},
-              {value: "CR", label: "Costa Rica"},
-              {value: "CI", label: "Cote D'ivoire"},
-              {value: "HR", label: "Croatia"},
-              {value: "CU", label: "Cuba"},
-              {value: "CY", label: "Cyprus"},
-              {value: "CZ", label: "Czech Republic"},
-              {value: "DK", label: "Denmark"},
-              {value: "DJ", label: "Djibouti"},
-              {value: "DM", label: "Dominica"},
-              {value: "DO", label: "Dominican Republic"},
-              {value: "EC", label: "Ecuador"},
-              {value: "EG", label: "Egypt"},
-              {value: "SV", label: "El Salvador"},
-              {value: "GQ", label: "Equatorial Guinea"},
-              {value: "ER", label: "Eritrea"},
-              {value: "EE", label: "Estonia"},
-              {value: "ET", label: "Ethiopia"},
-              {value: "FK", label: "Falkland Islands (Malvinas)"},
-              {value: "FO", label: "Faroe Islands"},
-              {value: "FJ", label: "Fiji"},
-              {value: "FI", label: "Finland"},
-              {value: "FR", label: "France"},
-              {value: "GF", label: "French Guiana"},
-              {value: "PF", label: "French Polynesia"},
-              {value: "TF", label: "French Southern Territories"},
-              {value: "GA", label: "Gabon"},
-              {value: "GM", label: "Gambia"},
-              {value: "GE", label: "Georgia"},
-              {value: "DE", label: "Germany"},
-              {value: "GH", label: "Ghana"},
-              {value: "GI", label: "Gibraltar"},
-              {value: "GR", label: "Greece"},
-              {value: "GL", label: "Greenland"},
-              {value: "GD", label: "Grenada"},
-              {value: "GP", label: "Guadeloupe"},
-              {value: "GU", label: "Guam"},
-              {value: "GT", label: "Guatemala"},
-              {value: "GG", label: "Guernsey"},
-              {value: "GN", label: "Guinea"},
-              {value: "GW", label: "Guinea-bissau"},
-              {value: "GY", label: "Guyana"},
-              {value: "HT", label: "Haiti"},
-              {value: "HM", label: "Heard Island and Mcdonald Islands"},
-              {value: "VA", label: "Holy See (Vatican City State)"},
-              {value: "HN", label: "Honduras"},
-              {value: "HK", label: "Hong Kong"},
-              {value: "HU", label: "Hungary"},
-              {value: "IS", label: "Iceland"},
-              {value: "IN", label: "India"},
-              {value: "ID", label: "Indonesia"},
-              {value: "IR", label: "Iran, Islamic Republic of"},
-              {value: "IQ", label: "Iraq"},
-              {value: "IE", label: "Ireland"},
-              {value: "IM", label: "Isle of Man"},
-              {value: "IL", label: "Israel"},
-              {value: "IT", label: "Italy"},
-              {value: "JM", label: "Jamaica"},
-              {value: "JP", label: "Japan"},
-              {value: "JE", label: "Jersey"},
-              {value: "JO", label: "Jordan"},
-              {value: "KZ", label: "Kazakhstan"},
-              {value: "KE", label: "Kenya"},
-              {value: "KI", label: "Kiribati"},
-              {value: "KP", label: "Korea, Democratic People's Republic of"},
-              {value: "KR", label: "Korea, Republic of"},
-              {value: "KW", label: "Kuwait"},
-              {value: "KG", label: "Kyrgyzstan"},
-              {value: "LA", label: "Lao People's Democratic Republic"},
-              {value: "LV", label: "Latvia"},
-              {value: "LB", label: "Lebanon"},
-              {value: "LS", label: "Lesotho"},
-              {value: "LR", label: "Liberia"},
-              {value: "LY", label: "Libyan Arab Jamahiriya"},
-              {value: "LI", label: "Liechtenstein"},
-              {value: "LT", label: "Lithuania"},
-              {value: "LU", label: "Luxembourg"},
-              {value: "MO", label: "Macao"},
-              {value: "MK", label: "Macedonia, The Former Yugoslav Republic of"},
-              {value: "MG", label: "Madagascar"},
-              {value: "MW", label: "Malawi"},
-              {value: "MY", label: "Malaysia"},
-              {value: "MV", label: "Maldives"},
-              {value: "ML", label: "Mali"},
-              {value: "MT", label: "Malta"},
-              {value: "MH", label: "Marshall Islands"},
-              {value: "MQ", label: "Martinique"},
-              {value: "MR", label: "Mauritania"},
-              {value: "MU", label: "Mauritius"},
-              {value: "YT", label: "Mayotte"},
-              {value: "MX", label: "Mexico"},
-              {value: "FM", label: "Micronesia, Federated States of"},
-              {value: "MD", label: "Moldova, Republic of"},
-              {value: "MC", label: "Monaco"},
-              {value: "MN", label: "Mongolia"},
-              {value: "ME", label: "Montenegro"},
-              {value: "MS", label: "Montserrat"},
-              {value: "MA", label: "Morocco"},
-              {value: "MZ", label: "Mozambique"},
-              {value: "MM", label: "Myanmar"},
-              {value: "NA", label: "Namibia"},
-              {value: "NR", label: "Nauru"},
-              {value: "NP", label: "Nepal"},
-              {value: "NL", label: "Netherlands"},
-              {value: "AN", label: "Netherlands Antilles"},
-              {value: "NC", label: "New Caledonia"},
-              {value: "NZ", label: "New Zealand"},
-              {value: "NI", label: "Nicaragua"},
-              {value: "NE", label: "Niger"},
-              {value: "NG", label: "Nigeria"},
-              {value: "NU", label: "Niue"},
-              {value: "NF", label: "Norfolk Island"},
-              {value: "MP", label: "Northern Mariana Islands"},
-              {value: "NO", label: "Norway"},
-              {value: "OM", label: "Oman"},
-              {value: "PK", label: "Pakistan"},
-              {value: "PW", label: "Palau"},
-              {value: "PS", label: "Palestinian Territory, Occupied"},
-              {value: "PA", label: "Panama"},
-              {value: "PG", label: "Papua New Guinea"},
-              {value: "PY", label: "Paraguay"},
-              {value: "PE", label: "Peru"},
-              {value: "PH", label: "Philippines"},
-              {value: "PN", label: "Pitcairn"},
-              {value: "PL", label: "Poland"},
-              {value: "PT", label: "Portugal"},
-              {value: "PR", label: "Puerto Rico"},
-              {value: "QA", label: "Qatar"},
-              {value: "RE", label: "Reunion"},
-              {value: "RO", label: "Romania"},
-              {value: "RU", label: "Russian Federation"},
-              {value: "RW", label: "Rwanda"},
-              {value: "SH", label: "Saint Helena"},
-              {value: "KN", label: "Saint Kitts and Nevis"},
-              {value: "LC", label: "Saint Lucia"},
-              {value: "PM", label: "Saint Pierre and Miquelon"},
-              {value: "VC", label: "Saint Vincent and The Grenadines"},
-              {value: "WS", label: "Samoa"},
-              {value: "SM", label: "San Marino"},
-              {value: "ST", label: "Sao Tome and Principe"},
-              {value: "SA", label: "Saudi Arabia"},
-              {value: "SN", label: "Senegal"},
-              {value: "RS", label: "Serbia"},
-              {value: "SC", label: "Seychelles"},
-              {value: "SL", label: "Sierra Leone"},
-              {value: "SG", label: "Singapore"},
-              {value: "SK", label: "Slovakia"},
-              {value: "SI", label: "Slovenia"},
-              {value: "SB", label: "Solomon Islands"},
-              {value: "SO", label: "Somalia"},
-              {value: "ZA", label: "South Africa"},
-              {value: "GS", label: "South Georgia and The South Sandwich Islands"},
-              {value: "ES", label: "Spain"},
-              {value: "LK", label: "Sri Lanka"},
-              {value: "SD", label: "Sudan"},
-              {value: "SR", label: "Suriname"},
-              {value: "SJ", label: "Svalbard and Jan Mayen"},
-              {value: "SZ", label: "Swaziland"},
-              {value: "SE", label: "Sweden"},
-              {value: "CH", label: "Switzerland"},
-              {value: "SY", label: "Syrian Arab Republic"},
-              {value: "TW", label: "Taiwan, Province of China"},
-              {value: "TJ", label: "Tajikistan"},
-              {value: "TZ", label: "Tanzania, United Republic of"},
-              {value: "TH", label: "Thailand"},
-              {value: "TL", label: "Timor-leste"},
-              {value: "TG", label: "Togo"},
-              {value: "TK", label: "Tokelau"},
-              {value: "TO", label: "Tonga"},
-              {value: "TT", label: "Trinidad and Tobago"},
-              {value: "TN", label: "Tunisia"},
-              {value: "TR", label: "Turkey"},
-              {value: "TM", label: "Turkmenistan"},
-              {value: "TC", label: "Turks and Caicos Islands"},
-              {value: "TV", label: "Tuvalu"},
-              {value: "UG", label: "Uganda"},
-              {value: "UA", label: "Ukraine"},
-              {value: "AE", label: "United Arab Emirates"},
-              {value: "GB", label: "United Kingdom"},
-              {value: "US", label: "United States"},
-              {value: "UM", label: "United States Minor Outlying Islands"},
-              {value: "UY", label: "Uruguay"},
-              {value: "UZ", label: "Uzbekistan"},
-              {value: "VU", label: "Vanuatu"},
-              {value: "VE", label: "Venezuela"},
-              {value: "VN", label: "Viet Nam"},
-              {value: "VG", label: "Virgin Islands, British"},
-              {value: "VI", label: "Virgin Islands, U.S."},
-              {value: "WF", label: "Wallis and Futuna"},
-              {value: "EH", label: "Western Sahara"},
-              {value: "YE", label: "Yemen"},
-              {value: "ZM", label: "Zambia"},
-              {value: "ZW", label: "Zimbabwe"},
-          ];
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/countries/index.html b/test/unit/coverage/lcov-report/src/countries/index.html deleted file mode 100644 index 5a70e49..0000000 --- a/test/unit/coverage/lcov-report/src/countries/index.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - Code coverage report for src/countries/ - - - - - - - -
-
-

- all files src/countries/ -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 2/2 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
advanced.js
100%1/1100%0/0100%0/0100%1/1
simple.js
100%1/1100%0/0100%0/0100%1/1
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/countries/simple.js.html b/test/unit/coverage/lcov-report/src/countries/simple.js.html deleted file mode 100644 index 94edc54..0000000 --- a/test/unit/coverage/lcov-report/src/countries/simple.js.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - Code coverage report for src/countries/simple.js - - - - - - - -
-
-

- all files / src/countries/ simple.js -

-
-
- 100% - Statements - 1/1 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -  - 
module.exports = ["Afghanistan","Åland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Congo, The Democratic Republic of The","Cook Islands","Costa Rica","Cote D'ivoire","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands (Malvinas)","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-bissau","Guyana","Haiti","Heard Island and Mcdonald Islands","Holy See (Vatican City State)","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran, Islamic Republic of","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Korea, Democratic People's Republic of","Korea, Republic of","Kuwait","Kyrgyzstan","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia, The Former Yugoslav Republic of","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia, Federated States of","Moldova, Republic of","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","Netherlands Antilles","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestinian Territory, Occupied","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Puerto Rico","Qatar","Reunion","Romania","Russian Federation","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and The Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and The South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Svalbard and Jan Mayen","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan, Province of China","Tajikistan","Tanzania, United Republic of","Thailand","Timor-leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Venezuela","Viet Nam","Virgin Islands, British","Virgin Islands, U.S.","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"];
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/index.html b/test/unit/coverage/lcov-report/src/index.html deleted file mode 100644 index c8df92b..0000000 --- a/test/unit/coverage/lcov-report/src/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for src/ - - - - - - - -
-
-

- all files src/ -

-
-
- 64.71% - Statements - 11/17 -
-
- 100% - Branches - 4/4 -
-
- 14.29% - Functions - 1/7 -
-
- 45.45% - Lines - 5/11 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
App.vue
64.71%11/17100%4/414.29%1/745.45%5/11
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/vuex/actions.js.html b/test/unit/coverage/lcov-report/src/vuex/actions.js.html deleted file mode 100644 index 055e6bd..0000000 --- a/test/unit/coverage/lcov-report/src/vuex/actions.js.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - Code coverage report for src/vuex/actions.js - - - - - - - -
-
-

- all files / src/vuex/ actions.js -

-
-
- 38.46% - Statements - 5/13 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/4 -
-
- 55.56% - Lines - 5/9 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -  -  -  - -  -  -  - -  -  -  - -  -  - 
export const setSelected = ({ dispatch }, selected) => {
-  dispatch('SET_SELECTED', selected)
-}
- 
-export const toggleOptionType = ({ dispatch }) => {
-  dispatch('TOGGLE_OPTION_TYPE')
-}
- 
-export const setPlaceholder = ({ dispatch }, placeholder) => {
-  dispatch('SET_PLACEHOLDER', placeholder)
-}
- 
-export const toggleMultiple = ({ dispatch }) => {
-  dispatch('TOGGLE_MULTIPLE')
-}
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/vuex/index.html b/test/unit/coverage/lcov-report/src/vuex/index.html deleted file mode 100644 index bcef790..0000000 --- a/test/unit/coverage/lcov-report/src/vuex/index.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - Code coverage report for src/vuex/ - - - - - - - -
-
-

- all files src/vuex/ -

-
-
- 53.13% - Statements - 17/32 -
-
- 66.67% - Branches - 4/6 -
-
- 10% - Functions - 1/10 -
-
- 52.17% - Lines - 12/23 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
actions.js
38.46%5/13100%0/00%0/455.56%5/9
store.js
63.16%12/1966.67%4/616.67%1/650%7/14
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/vuex/store.js.html b/test/unit/coverage/lcov-report/src/vuex/store.js.html deleted file mode 100644 index 859d2d4..0000000 --- a/test/unit/coverage/lcov-report/src/vuex/store.js.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - Code coverage report for src/vuex/store.js - - - - - - - -
-
-

- all files / src/vuex/ store.js -

-
-
- 63.16% - Statements - 12/19 -
-
- 66.67% - Branches - 4/6 -
-
- 16.67% - Functions - 1/6 -
-
- 50% - Lines - 7/14 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 - -  - - -  - -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import Vue from 'vue'
-import Vuex from 'vuex'
- 
-Vue.use(Vuex)
-Vue.config.debug = true
- 
-const state = {
-  selected: null,
-  placeholder: 'Select a Country',
-  multiple: true,
-  maxHeight: '400px',
-  options: {
-    advanced: require('../countries/advanced.js'),
-    simple: require('../countries/simple.js'),
-  },
-  optionType: 'advanced'
-}
- 
-const mutations = {
-  SET_SELECTED (state, selected) {
-    state.selected = selected
-  },
- 
-  TOGGLE_OPTION_TYPE (state) {
-    if( state.optionType === 'advanced' ) {
-      state.optionType = 'simple'
-    } else {
-      state.optionType = 'advanced'
-    }
-  },
- 
-  SET_PLACEHOLDER (state, placeholder) {
-    state.placeholder = placeholder
-  },
- 
-  TOGGLE_MULTIPLE (state) {
-    state.multiple = ! state.multiple
-  },
- 
-  SET_MAX_HEIGHT (state, maxHeight) {
-    state.maxHeight = maxHeight
-  }
-}
- 
-export default new Vuex.Store({
-  state,
-  mutations
-})
- 
- 
-
-
- - - - - - -