sequenceserver 1.1.0.beta10 → 1.1.0.beta11
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sequenceserver might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.codeclimate.yml +9 -1
- data/Dockerfile +28 -0
- data/README.md +22 -16
- data/lib/sequenceserver/api_errors.rb +10 -3
- data/lib/sequenceserver/blast/formatter.rb +18 -19
- data/lib/sequenceserver/blast/job.rb +36 -10
- data/lib/sequenceserver/blast/report.rb +12 -0
- data/lib/sequenceserver/job.rb +2 -2
- data/lib/sequenceserver/version.rb +1 -1
- data/public/css/grapher.css +5 -3
- data/public/css/sequenceserver.css +0 -3
- data/public/css/sequenceserver.min.css +2 -2
- data/public/fonts/FontAwesome.otf +0 -0
- data/public/fonts/fontawesome-webfont.eot +0 -0
- data/public/fonts/fontawesome-webfont.svg +640 -0
- data/public/fonts/fontawesome-webfont.ttf +0 -0
- data/public/fonts/fontawesome-webfont.woff +0 -0
- data/public/fonts/fontawesome-webfont.woff2 +0 -0
- data/public/js/circos.js +1 -1
- data/public/js/grapher.js +5 -7
- data/public/js/hsp.js +23 -16
- data/public/js/kablammo.js +11 -11
- data/public/js/report.js +77 -89
- data/public/sequenceserver-report.min.js +8 -8
- data/public/shims/form-core.js +3 -0
- data/public/shims/form-validation.js +3 -0
- data/public/shims/plugins/jquery.ui.position.js +13 -0
- data/public/shims/styles/shim.css +1 -0
- data/spec/database/ox_parse_error/query.fa +1 -0
- data/spec/database/ox_parse_error/rand1.fa +2 -0
- data/spec/database/ox_parse_error/rand1.fa.nhd +1 -0
- data/spec/database/ox_parse_error/rand1.fa.nhi +0 -0
- data/spec/database/ox_parse_error/rand1.fa.nhr +0 -0
- data/spec/database/ox_parse_error/rand1.fa.nin +0 -0
- data/spec/database/ox_parse_error/rand1.fa.nog +0 -0
- data/spec/database/ox_parse_error/rand1.fa.nsd +2 -0
- data/spec/database/ox_parse_error/rand1.fa.nsi +0 -0
- data/spec/database/ox_parse_error/rand1.fa.nsq +0 -0
- data/spec/database/ox_parse_error/rand2.fa +2 -0
- data/spec/database/ox_parse_error/rand2.fa.nhd +1 -0
- data/spec/database/ox_parse_error/rand2.fa.nhi +0 -0
- data/spec/database/ox_parse_error/rand2.fa.nhr +0 -0
- data/spec/database/ox_parse_error/rand2.fa.nin +0 -0
- data/spec/database/ox_parse_error/rand2.fa.nog +0 -0
- data/spec/database/ox_parse_error/rand2.fa.nsd +2 -0
- data/spec/database/ox_parse_error/rand2.fa.nsi +0 -0
- data/spec/database/ox_parse_error/rand2.fa.nsq +0 -0
- data/spec/database/ox_parse_error_unique_ids/query.fa +1 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa +2 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa.nhd +1 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa.nhi +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa.nhr +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa.nin +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa.nog +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa.nsd +2 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa.nsi +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand1.fa.nsq +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa +2 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa.nhd +1 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa.nhi +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa.nhr +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa.nin +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa.nog +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa.nsd +2 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa.nsi +0 -0
- data/spec/database/ox_parse_error_unique_ids/rand2.fa.nsq +0 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa +6 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa.nhd +1 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa.nhi +0 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa.nhr +0 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa.nin +0 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa.nog +0 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsd +2 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsi +0 -0
- data/spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsq +0 -0
- metadata +54 -4
- data/docker/Dockerfile +0 -20
- data/public/fonts/FontAwesome.otf +0 -1
- data/public/fonts/fontawesome-webfont.eot +0 -1
- data/public/fonts/fontawesome-webfont.svg +0 -1
- data/public/fonts/fontawesome-webfont.ttf +0 -1
- data/public/fonts/fontawesome-webfont.woff +0 -1
- data/public/fonts/fontawesome-webfont.woff2 +0 -1
- data/public/shims +0 -1
@@ -0,0 +1,3 @@
|
|
1
|
+
/* */
|
2
|
+
"format cjs";
|
3
|
+
webshims.register("form-core",function(a,b,c,d,e,f){"use strict";b.capturingEventPrevented=function(b){if(!b._isPolyfilled){var c=b.isDefaultPrevented,d=b.preventDefault;b.preventDefault=function(){return clearTimeout(a.data(b.target,b.type+"DefaultPrevented")),a.data(b.target,b.type+"DefaultPrevented",setTimeout(function(){a.removeData(b.target,b.type+"DefaultPrevented")},30)),d.apply(this,arguments)},b.isDefaultPrevented=function(){return!(!c.apply(this,arguments)&&!a.data(b.target,b.type+"DefaultPrevented"))},b._isPolyfilled=!0}};var g=b.modules,h=b.support,i=function(b){return(a.prop(b,"validity")||{valid:1}).valid},j=function(){var c=["form-validation"];a(d).off(".lazyloadvalidation"),f.lazyCustomMessages&&(f.customMessages=!0,c.push("form-message")),b._getAutoEnhance(f.customDatalist)&&(f.fD=!0,c.push("form-datalist")),f.addValidators&&c.push("form-validators"),b.reTest(c)},k=function(){var c,e,g=a.expr[":"],j=/^(?:form|fieldset)$/i,k=function(b){var c=!1;return a(b).jProp("elements").each(function(){return!j.test(this.nodeName||"")&&(c=g.invalid(this))?!1:void 0}),c};if(a.extend(g,{"valid-element":function(b){return j.test(b.nodeName||"")?!k(b):!(!a.prop(b,"willValidate")||!i(b))},"invalid-element":function(b){return j.test(b.nodeName||"")?k(b):!(!a.prop(b,"willValidate")||i(b))},"required-element":function(b){return!(!a.prop(b,"willValidate")||!a.prop(b,"required"))},"user-error":function(b){return a.prop(b,"willValidate")&&a(b).getShadowElement().hasClass(f.iVal.errorClass||"user-error")},"optional-element":function(b){return!(!a.prop(b,"willValidate")||a.prop(b,"required")!==!1)}}),["valid","invalid","required","optional"].forEach(function(b){g[b]=a.expr[":"][b+"-element"]}),h.fieldsetdisabled&&!a('<fieldset disabled=""><input /><input /></fieldset>').find(":disabled").filter(":disabled").is(":disabled")&&(c=a.find.matches,e={":disabled":1,":enabled":1},a.find.matches=function(a,b){return e[a]?c.call(this,"*"+a,b):c.apply(this,arguments)},a.extend(g,{enabled:function(b){return"disabled"in b&&b.disabled===!1&&!a.find.matchesSelector(b,"fieldset[disabled] *")},disabled:function(b){return b.disabled===!0||"disabled"in b&&a.find.matchesSelector(b,"fieldset[disabled] *")}})),"unknown"==typeof d.activeElement){var l=g.focus;g.focus=function(){try{return l.apply(this,arguments)}catch(a){b.error(a)}return!1}}},l={noAutoCallback:!0,options:f},m=b.loader.addModule,n=function(a,c,d){j(),b.ready("form-validation",function(){a[c].apply(a,d)})},o="transitionDelay"in d.documentElement.style?"":" no-transition",p=b.cfg.wspopover,q=/</g,r=/>/g;m("form-validation",a.extend({d:["form-message"]},l)),m("form-validators",a.extend({},l)),h.formvalidation&&!b.bugs.bustedValidity&&b.capturingEvents(["invalid"],!0),a.expr.filters?k():b.ready("sizzle",k),b.triggerInlineForm=function(b,c){a(b).trigger(c)},p.position||p.position===!1||(p.position={at:"left bottom",my:"left top",collision:"fit flip"}),b.wsPopover={id:0,_create:function(){this.options=a.extend(!0,{},p,this.options),this.id=b.wsPopover.id++,this.eventns=".wsoverlay"+this.id,this.timers={},this.element=a('<div class="ws-popover'+o+'" tabindex="-1"><div class="ws-po-outerbox"><div class="ws-po-arrow"><div class="ws-po-arrowbox" /></div><div class="ws-po-box" /></div></div>'),this.contentElement=a(".ws-po-box",this.element),this.lastElement=a([]),this.bindElement(),this.element.data("wspopover",this)},options:{},content:function(a){this.contentElement.html(a)},bindElement:function(){var a=this,b=function(){a.stopBlur=!1};this.preventBlur=function(){a.stopBlur=!0,clearTimeout(a.timers.stopBlur),a.timers.stopBlur=setTimeout(b,9)},this.element.on({mousedown:this.preventBlur})},show:function(){n(this,"show",arguments)}},b.validityAlert={showFor:function(){n(this,"showFor",arguments)}},b.getContentValidationMessage=function(c,d,e){var f;b.errorbox&&b.errorbox.initIvalContentMessage&&b.errorbox.initIvalContentMessage(c);var g=(b.getOptions&&b.errorbox?b.getOptions(c,"errormessage",!1,!0):a(c).data("errormessage"))||c.getAttribute("x-moz-errormessage")||"";return e&&g[e]?g=g[e]:g&&(d=d||a.prop(c,"validity")||{valid:1},d.valid&&(g="")),"object"==typeof g&&(d=d||a.prop(c,"validity")||{valid:1},d.customError&&(f=a.data(c,"customMismatchedRule"))&&g[f]&&"string"==typeof g[f]?g=g[f]:d.valid||(a.each(d,function(a,b){return b&&"valid"!=a&&g[a]?(g=g[a],!1):void 0}),"object"==typeof g&&(d.typeMismatch&&g.badInput&&(g=g.badInput),d.badInput&&g.typeMismatch&&(g=g.typeMismatch)))),"object"==typeof g&&(g=g.defaultMessage),b.replaceValidationplaceholder&&(g=b.replaceValidationplaceholder(c,g)),g||""},b.refreshCustomValidityRules=a.noop,a.fn.getErrorMessage=function(c){var d="",e=this[0];return e&&(d=b.getContentValidationMessage(e,!1,c)||a.prop(e,"customValidationMessage")||(a.prop(e,"validationMessage")||"").replace(q,"<").replace(r,">")),d},a.event.special.valuevalidation={setup:function(){b.error("valuevalidation was renamed to validatevalue!")}},a.event.special.validatevalue={setup:function(){var b=a(this).data()||a.data(this,{});"validatevalue"in b||(b.validatevalue=!0)}},a(d).on("focusin.lazyloadvalidation mousedown.lazyloadvalidation touchstart.lazyloadvalidation",function(a){"form"in a.target&&j()}),b.ready("WINDOWLOAD",j),g["form-number-date-ui"].loaded&&!f.customMessages&&(g["form-number-date-api"].test()||h.inputtypes.range&&h.inputtypes.color)&&b.isReady("form-number-date-ui",!0),b.ready("DOM",function(){d.querySelector(".ws-custom-file")&&b.reTest(["form-validation"])}),f.addValidators&&f.fastValidators&&b.reTest(["form-validators","form-validation"]),"complete"==d.readyState&&b.isReady("WINDOWLOAD",!0)});
|
@@ -0,0 +1,3 @@
|
|
1
|
+
/* */
|
2
|
+
"format cjs";
|
3
|
+
webshims.register("form-validation",function(a,b,c,d,e,f){"use strict";function g(a){return a.name}function h(){if(!a.data(this,"wsCustomFile")){var b=Array.prototype.map,c=a(this),d=a('input[type="file"]',c),e=a(".ws-file-value",c),f=a.trim(e.html())||" ",h=function(){var a=d.prop("files")||[],c=b.call(a,g).join(", ")||d.val();c?e.text(c):e.html(f)};a.data(this,"wsCustomFile",{showSelected:h}),a("button:not(.ws-capture-button)",c).attr("tabindex","-1"),d.on("change.webshim",h).each(h).jProp("form").on("reset",function(){setTimeout(h)}),n&&a('<div class="ws-coverfile" />').insertAfter(d).on("click.webshim",function(a){a.stopImmediatePropagation(),d.trigger("click")})}}var i="webkitURL"in c,j=b.support,k=j.formvalidation&&!b.bugs.bustedValidity,l=i&&k,m=navigator.userAgent,n=-1!=m.indexOf("MSIE"),o=l&&parseFloat((m.match(/Safari\/([\d\.]+)/)||["","999999"])[1],10),p=f.iVal,q=p.errorClass||(p.errorClass="user-error"),r=p.successClass||(p.successClass="user-success"),s="."+r+", ."+q,t=p.errorWrapperClass||(p.errorWrapperClass="ws-invalid"),u=p.successWrapperClass||(p.successWrapperClass="ws-success"),v=p.errorBoxClass||(p.errorBoxClass="ws-errorbox"),w=p.errorMessageClass||(p.errorMessageClass="ws-errormessage"),x=p.errorBoxWrapper||(p.errorBoxWrapper="div"),y=p.errorMessageWrapper||(p.errorMessageWrapper="p"),z={checkbox:1,radio:1},A=b.loader,B=A.addModule,C=a([]),D=function(){return!a.prop(this,"form")},E=b.modules,F=E["form-core"].getGroupElements||function(b){b=a(b);var c,e,f=C;return"radio"==b[0].type&&(e=b.prop("form"),c=b[0].name,f=c?e?a(e).jProp(c):a(d.getElementsByName(c)).filter(D):b,f=f.filter('[type="radio"]')),f},G=function(b,c){var d;return a.each(b,function(b,e){return e?(d=b+a.prop(c,"validationMessage"),!1):void 0}),d},H=function(a){var b;try{b=d.activeElement.name===a}catch(c){}return b},I={radio:1,checkbox:1,"select-one":1,"select-multiple":1,file:1,date:1,month:1,week:1,text:1,password:1,search:1,email:1,tel:1,url:1},J={time:1,date:1,month:1,datetime:1,week:1,"datetime-local":1},K={refreshvalidityui:1,updatevalidation:1},L="."+p.errorClass+", ."+p.successClass,M=function(c){if(p.sel){var d,e,f,g;if(c.target&&(d=a(c.target).getNativeElement()[0],f=a(d).getShadowElement(),"submit"!=d.type&&a.prop(d,"willValidate")&&("change"!=c.type||!(g=f.prop("type"))||I[g]))){e=a.data(d,"webshimsswitchvalidityclass");var h=function(){if(g||(g=f.prop("type")),!(l&&("change"==c.type||537.36>o)&&J[g]&&a.find.matchesSelector(c.target,":focus")||"focusout"==c.type&&"radio"==d.type&&H(d.name))){if("async"==b.refreshCustomValidityRules(d))return void a(d).one("updatevalidation.webshims",M);var e,h,i,j,k,m=a.prop(d,"validity");m.valid?f.hasClass(r)||(e=r,h=q,j="changedvaliditystate",i="changedvalid",z[d.type]&&d.checked&&F(d).not(d).removeClass(h).addClass(e).removeAttr("aria-invalid"),f.removeAttr("aria-invalid"),a.removeData(d,"webshimsinvalidcause")):(k=G(m,d),a.data(d,"webshimsinvalidcause")!=k&&(a.data(d,"webshimsinvalidcause",k),j="changedvaliditystate"),f.hasClass(q)||(e=q,h=r,z[d.type]&&!d.checked&&F(d).not(d).removeClass(h).addClass(e).attr("aria-invalid","true"),f.attr("aria-invalid","true"),i="changedinvalid")),e&&(f.addClass(e).removeClass(h),setTimeout(function(){a(d).trigger(i)})),j&&setTimeout(function(){a(d).trigger(j)}),a.removeData(d,"webshimsswitchvalidityclass")}};f.triggerHandler("wsallowinstantvalidation",[c])!==!1&&(e&&clearTimeout(e),K[c.type]?("refreshvalidityui"==c.type&&b.error("refreshvalidityui was renamed to updatevalidation"),h()):a.data(d,"webshimsswitchvalidityclass",setTimeout(h)))}}},N=function(){b.errorbox.reset(this)};"validityUIEvents"in f&&(b.error("validityUIEvents was renamed to iVal.events"),p.events=f.validityUIEvents),p.events="events"in p?p.events||"":"focusout change",p.events&&(p.events+=" "),p.fieldWrapper||(p.fieldWrapper=":not(span):not(label):not(em):not(strong):not(p):not(.ws-custom-file)"),E["form-core"].getGroupElements||(E["form-core"].getGroupElements=F),a(d.body||"html").on(p.events+"refreshvalidityui updatevalidation.webshims invalid",M).on("refreshvalidationui.webshims",function(b){a(b.target).getShadowElement().is(s)&&M({type:"updatevalidation",target:b.target})}).on("reset resetvalidation.webshims resetvalui",function(c){var d,e=a(c.target);"resetvalui"==c.type&&b.error("resetvalui was renamed to resetvalidation"),e.is("form, fieldset")&&("form"==e[0].nodeName.toLowerCase()&&(d=!e.is(p.sel)),e=e.jProp("elements")),e=e.filter(L).removeAttr("aria-invalid").removeClass(p.errorClass+" "+p.successClass).getNativeElement().each(function(){a.removeData(this,"webshimsinvalidcause")}),d||(d===!1?e.each(N):e.trigger("resetvalidityui.webshims"))});var O=function(){b.scrollRoot=a(i||"BackCompat"==d.compatMode?d.body:d.documentElement)},P="transitionDelay"in d.documentElement.style,Q={display:"inline-block",left:0,top:0,marginTop:0,marginLeft:0,marginRight:0,marginBottom:0},R={slide:{show:"slideDown",hide:"slideUp"},fade:{show:"fadeIn",hide:"fadeOut"},no:{show:"show",hide:"hide"}};O(),b.ready("DOM",O);var S=/right|left/g,T=function(a){return"left"==a?"right":"left"};b.getRelOffset=function(b,c,d){var e,f;return b=a(b),a.swap(b[0],Q,function(){var g;a.position&&d&&a.position.getScrollInfo?(d.of||(d.of=c),g="rtl"==a(d.of).css("direction"),d.isRtl||(d.isRtl=!1),d.isRtl!=g&&(d.my=(d.my||"center").replace(S,T),d.at=(d.at||"center").replace(S,T),d.isRtl=g),b[d.isRtl?"addClass":"removeClass"]("ws-is-rtl"),d.using=function(a,c){b.attr({"data-horizontal":c.horizontal,"data-vertical":c.vertical}),e=a},b.attr({"data-horizontal":"","data-vertical":"","data-my":d.my,"data-at":d.at}),b.position(d)):(e=a(c).offset(),f=b.offset(),e.top-=f.top,e.left-=f.left,e.top+=c.outerHeight())}),e},a.extend(b.wsPopover,{isInElement:function(b,c){a.isArray(b)||(b=[b]);var d,e,f,g=!1;for(d=0,e=b.length;e>d;d++)if(f=b[d],f&&f.jquery&&(f=f[0]),f&&(f==c||a.contains(f,c))){g=!0;break}return g},show:function(e){var f;if(!this.isVisible){var g=a.Event("wspopoverbeforeshow");if(this.element.trigger(g),!g.isDefaultPrevented()){this.isVisible=!0,!this._shadowAdded&&b.shadowClass&&(this.element.addClass(b.shadowClass),this._shadowAdded=!0),e=a(e||this.options.prepareFor).getNativeElement();var h=this,i=function(a){!h.options.hideOnBlur||h.stopBlur||h.isInElement([h.lastElement[0],e[0],h.element[0]],a.target)||h.hide()},j=a(e).getShadowElement(),k=function(a){clearTimeout(h.timers.repos),h.timers.repos=setTimeout(function(){h.position(j)},a&&"pospopover"==a.type?4:200)};this.clear(),this.element.css("display","none"),this.prepareFor(e,j),this.position(j),this.options.inline?(f=(R[this.options.inline]||R.slide).show,h.element[f]().trigger("wspopovershow")):(this.element.removeClass("ws-po-visible"),h.timers.show=setTimeout(function(){h.element.css("display",""),h.timers.show=setTimeout(function(){h.element.addClass("ws-po-visible").trigger("wspopovershow")},14)},4)),a(d.body).on("focusin"+this.eventns+" mousedown"+this.eventns,i).children(":not(script), :not(iframe), :not(noscript)").on("mousedown"+this.eventns,i),this.element.off("pospopover").on("pospopover",k),a(c).on("resize"+this.eventns+" pospopover"+this.eventns,k)}}},_getAutoAppendElement:function(){var b=/^(?:span|i|label|b|p|tr|thead|tbody|table|strong|em|ul|ol|dl|html)$/i;return function(c){for(var e,f=c[0],g=d.body;(f=f[e?"offsetParent":"parentNode"])&&1==f.nodeType&&f!=g;)e||b.test(f.nodeName)||(e=f),e&&"visible"!=a.css(f,"overflow")&&"static"!=a.css(f,"position")&&(e=!1);return a(e||g)}}(),prepareFor:function(b,c){var d,e,f=this,g={},h=a.extend(!0,{},this.options,b.jProp("form").data("wspopover")||{},b.data("wspopover"));this.lastOpts=h,this.lastElement=a(b).getShadowFocusElement(),this.prepared&&this.options.prepareFor||(e="element"==h.appendTo||h.inline&&"auto"==h.appendTo?c.parent():"auto"==h.appendTo?this._getAutoAppendElement(c):a(h.appendTo),this.prepared&&e[0]==this.element[0].parentNode||this.element.appendTo(e)),this.element.attr({"data-class":b.prop("className"),"data-id":b.prop("id")}),h.constrainWidth?(this.element.addClass("ws-popover-constrained-width"),g.minWidth=c.outerWidth()):(this.element.removeClass("ws-popover-constrained-width"),g.minWidth=""),h.inline?this.element.addClass("ws-popinline ws-po-visible"):this.element.removeClass("ws-popinline"),this.element.css(g),h.hideOnBlur&&(d=function(a){f.stopBlur?a.stopImmediatePropagation():f.hide()},f.timers.bindBlur=setTimeout(function(){f.lastElement.off(f.eventns).on("focusout"+f.eventns+" blur"+f.eventns,d),f.lastElement.getNativeElement().off(f.eventns)},10)),this.prepared=!0},clear:function(){a(c).off(this.eventns),a(d).off(this.eventns),a(d.body).off(this.eventns).children(":not(script), :not(iframe), :not(noscript)").off(this.eventns),this.element.off("transitionend"+this.eventns),this.stopBlur=!1,this.lastOpts=!1,a.each(this.timers,function(a,b){clearTimeout(b)})},hide:function(){var b,d=a.Event("wspopoverbeforehide");if(this.element.trigger(d),!d.isDefaultPrevented()&&this.isVisible){this.isVisible=!1;var e=this,f=function(b){b&&"transitionend"==b.type&&(b=b.originalEvent)&&b.target==e.element[0]&&"hidden"==e.element.css("visibility")||(e.element.off("transitionend"+e.eventns).css("display","none").attr({"data-id":"","data-class":"",hidden:"hidden"}),clearTimeout(e.timers.forcehide),a(c).off("resize"+e.eventns))};this.clear(),this.options.inline?(b=(R[this.options.inline]||R.slide).hide,this.element[b]()):(this.element.removeClass("ws-po-visible"),a(c).on("resize"+this.eventns,f),P&&this.element.off("transitionend"+this.eventns).on("transitionend"+this.eventns,f),e.timers.forcehide=setTimeout(f,P?600:40)),this.element.trigger("wspopoverhide")}},position:function(a){var c,d=this.lastOpts||this.options;d.inline||(c=b.getRelOffset(this.element.removeAttr("hidden"),a,(this.lastOpts||this.options).position),this.element.css(c))}}),b.validityAlert=function(){f.messagePopover.position=a.extend({},{at:"left bottom",my:"left top",collision:"none"},f.messagePopover.position||{});var c=b.objectCreate(b.wsPopover,e,f.messagePopover),d=c.hide.bind(c);return c.element.addClass("validity-alert").attr({role:"alert"}),a.extend(c,{hideDelay:5e3,showFor:function(b,c,e,f){b=a(b).getNativeElement(),this.clear(),this.hide(),f||(this.getMessage(b,c),this.show(b),this.hideDelay&&(this.timers.delayedHide=setTimeout(d,this.hideDelay))),e||this.setFocus(b)},setFocus:function(d){var e=a(d).getShadowFocusElement(),g=b.scrollRoot.scrollTop()+(f.viewportOffset||0),h=e.offset().top-(f.scrollOffset||30),i=function(){try{e[0].focus()}catch(a){}e[0].offsetWidth||e[0].offsetHeight||b.warn("invalid element seems to be hidden. Make element either visible or use disabled/readonly to bar elements from validation. With fieldset[disabled] a group of elements can be ignored! In case of select replacement see shims/form-combat.js to fix issue."),c.element.triggerHandler("pospopover")};g>h?b.scrollRoot.animate({scrollTop:h-5-(f.viewportOffset||0)},{queue:!1,duration:Math.max(Math.min(600,1.5*(g-h)),80),complete:i}):i()},getMessage:function(a,b){b||(b=a.getErrorMessage()),b?c.contentElement.html(b):this.hide()}}),c}(),p.fx&&R[p.fx]||(p.fx="slide"),a.fn[R[p.fx].show]||(p.fx="no");var U=0;b.errorbox={create:function(b,c){c||(c=this.getFieldWrapper(b));var d=a("."+v,c);return d.length||(d=a("<"+x+' class="'+v+'" hidden="hidden" style="display: none;" />'),c.append(d)),d.prop("id")||(U++,d.prop("id","errorbox-"+U)),c.data("errorbox",d),d},getFieldWrapper:function(c){var d;return d="function"==typeof p.fieldWrapper?p.fieldWrapper.apply(this,arguments):a(c).parent().closest(p.fieldWrapper),d.length||b.error("could not find fieldwrapper: "+p.fieldWrapper),d},_createContentMessage:function(){var c=function(){return!c.types[this.type]};c.types={hidden:1,image:1,button:1,reset:1,submit:1};var d={},e=function(a){return"-"+a.toLowerCase()},f=function(b){var c=a(b).data("errortype");return c||a.each(d,function(d,e){return a.find.matchesSelector(b,e)?(c=d,!1):void 0}),c||"defaultMessage"};return a.each(["customError","badInput","typeMismatch","rangeUnderflow","rangeOverflow","stepMismatch","tooLong","tooShort","patternMismatch","valueMissing"],function(a,b){var c=b.replace(/[A-Z]/,e);d[b]="."+c+", ."+b+", ."+b.toLowerCase()+', [data-errortype="'+b+'"]'}),function(d,e,g){var h=!1,i={};a(e).children().each(function(){var b=f(this);i[b]=a(this).html()}),a("input, select, textarea",g).filter(c).each(function(c,d){var e=a(d).data("errormessage")||{};"string"==typeof e&&(e={defaultMessage:e}),a.each(i,function(a,b){e[a]||(h=!0,e[a]=b)}),h&&a(d).data("errormessage",e),b.getOptions&&b.getOptions(d,"errormessage",!1,!0)})}}(),initIvalContentMessage:function(b){var c;p.sel&&(c=a.prop(b,"form"))&&a.find.matchesSelector(c,p.sel)&&this.get(b)},get:function(b,c){c||(c=this.getFieldWrapper(b));var d,e=c.data("errorbox");return"object"!=(d=typeof e)&&(e?"string"==d&&(e=a("#"+e),c.data("errorbox",e,c)):e=this.create(b,c),this._createContentMessage(b,e,c)),e},addSuccess:function(b,c){var d=a.prop(b,"type"),e=function(){var e=z[d]?a.prop(b,"checked"):a(b).val();c[e?"addClass":"removeClass"](u)},f=I[d]?"change":"blur";a(b).off(".recheckvalid").on(f+".recheckinvalid",e),e()},hideError:function(b,c){var d,e,f,g=this.getFieldWrapper(b);return c||(d=a("input:invalid, select:invalid, textarea:invalid",g)),g.hasClass(t)&&(a(b).filter("input").off(".recheckinvalid"),!c&&d&&d[0]?a(d).trigger("updatevalidation.webshims"):(e=this.get(b,g),g.removeClass(t),e.message="",f=function(){this.id==b.getAttribute("aria-describedby")&&b.removeAttribute("aria-describedby"),a(this).attr({hidden:"hidden"})},"no"!=p.fx?e[R[p.fx].hide](f):e[R[p.fx].hide]().each(f))),c||d&&d.length||this.addSuccess(b,g),g},recheckInvalidInput:function(b){if(p.recheckDelay&&p.recheckDelay>90){var c,d=function(){M({type:"input",target:b})};a(b).filter('input:not([type="checkbox"]):not([type="radio"]), textarea').off(".recheckinvalid").on("input.recheckinvalid",function(){clearTimeout(c),c=setTimeout(d,p.recheckDelay)}).on("focusout.recheckinvalid",function(){clearTimeout(c)})}},showError:function(b){var c=this.getFieldWrapper(b),d=this.get(b,c),e=a(b).getErrorMessage();return d.message!=e&&(d.stop&&d.stop(!0,!0),d.html("<"+y+' class="'+w+'">'+e+"</"+y+">"),d.message=e,c.addClass(t).removeClass(u),this.recheckInvalidInput(b),(d.is("[hidden]")||"none"==d.css("display"))&&(b.getAttribute("aria-describedby")||b.setAttribute("aria-describedby",d.prop("id")),d.css({display:"none"}).removeAttr("hidden")[R[p.fx].show]())),c.removeClass(u),a(b).off(".recheckvalid"),c},reset:function(a){this.hideError(a,!0).removeClass(u)},toggle:function(b){a.find.matchesSelector(b,":invalid")?this.showError(b):this.hideError(b)}},a(d.body).on({changedvaliditystate:function(c){var d;p.sel&&(d=a.prop(c.target,"form"))&&a.find.matchesSelector(d,p.sel)&&b.errorbox.toggle(c.target)},"resetvalidityui.webshims":function(c){var d;p.sel&&(d=a.prop(c.target,"form"))&&a.find.matchesSelector(d,p.sel)&&b.errorbox.reset(c.target)},firstinvalid:function(c){var d;p.sel&&p.handleBubble&&p.sel&&(d=a.prop(c.target,"form"))&&a.find.matchesSelector(d,p.sel)&&(c.preventDefault(),"none"!=p.handleBubble&&b.validityAlert.showFor(c.target,!1,!1,"hide"==p.handleBubble))},submit:function(b){return p.sel&&p.submitCheck&&a.find.matchesSelector(b.target,p.sel)&&a.prop(b.target,"noValidate")&&!a(b.target).checkValidity()?(b.stopImmediatePropagation(),!1):void 0}}),/[\s\:\>\~\+]/.test(p.sel||"")&&b.error("please use a simple selector for iVal.sel: for example .validate"),f.replaceValidationUI&&a(d).on("firstinvalid",function(a){a.isDefaultPrevented()||(a.preventDefault(),setTimeout(function(){b.validityAlert.showFor(a.target)},4))}),function(){var b,c,e,f=[];a(d).on("invalid",function(d){if(!d.wrongWebkitInvalid&&!e){var g=a(d.target);b||a.find.matchesSelector(d.target,"form, fieldset")||(b=a.Event("firstinvalid"),g.addClass("first-invalid").trigger(b)),b&&b.isDefaultPrevented()&&d.preventDefault(),f.push(d.target),d.extraData="fix",clearTimeout(c),c=setTimeout(function(){var c={type:"lastinvalid",cancelable:!1,invalidlist:a(f)};f=[],e=!0,a(d.target).trigger(c,[c]),a(b.target).removeClass("first-invalid"),b=!1,e=!1},9),g=null}})}(),a(function(){var a="FileReader"in c&&"FormData"in c;a||b.addReady(function(c){!a&&E["filereader-xhr"]&&!E["filereader-xhr"].loaded&&c.querySelector("input.ws-filereader")&&(b.reTest(["filereader"]),a=!0)})}),b.addReady(function(b,c){a(b.querySelectorAll(".ws-custom-file")).add(a(c).filter(".ws-custom-file")).each(h)}),B("form-fixrangechange",{test:!(!a.event.special.change&&!a.event.special.input&&j.inputtypes.range&&f.fixRangeChange)}),B("form-inputmode",{test:!(!f.noInputmodeFix&&d.addEventListener&&j.inputtypes.number&&-1!=m.indexOf("Mobile")&&(!("inputMode"in d.createElement("input"))||"inputmode"in d.createElement("input")))}),B("form-combat",{d:["dom-support"],test:!(a.mobile&&(a.mobile.selectmenu||a.mobile.checkboxradio)||a.ui&&a.ui.selectmenu||a.fn.select2||a.fn.chosen||a.fn.selectpicker||a.fn.selectBoxIt)}),B("position",{src:"plugins/jquery.ui.position.js",test:!(!a.position||!a.position.getScrollInfo)}),A.loadList(["form-combat","position","form-fixrangechange","form-inputmode"])});
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/* */
|
2
|
+
"format cjs";
|
3
|
+
/*!
|
4
|
+
* jQuery UI Position 1.11.0
|
5
|
+
* http://jqueryui.com
|
6
|
+
*
|
7
|
+
* Copyright 2014 jQuery Foundation and other contributors
|
8
|
+
* Released under the MIT license.
|
9
|
+
* http://jquery.org/license
|
10
|
+
*
|
11
|
+
* http://api.jqueryui.com/position/
|
12
|
+
*/
|
13
|
+
!function(a){a(window.webshims&&window.webshims.$||jQuery)}(function(a){return function(){function b(a,b,c){return[parseFloat(a[0])*(n.test(a[0])?b/100:1),parseFloat(a[1])*(n.test(a[1])?c/100:1)]}function c(b,c){return parseInt(a.css(b,c),10)||0}function d(b){var c=b[0];return 9===c.nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:a.isWindow(c)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()}}a.ui=a.ui||{};var e,f,g=Math.max,h=Math.abs,i=Math.round,j=/left|center|right/,k=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,m=/^\w+/,n=/%$/,o=a.fn.position;a.position={scrollbarWidth:function(){if(void 0!==e)return e;var b,c,d=a("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),f=d.children()[0];return a("body").append(d),b=f.offsetWidth,d.css("overflow","scroll"),c=f.offsetWidth,b===c&&(c=d[0].clientWidth),d.remove(),e=b-c},getScrollInfo:function(b){var c=b.isWindow||b.isDocument?"":b.element.css("overflow-x"),d=b.isWindow||b.isDocument?"":b.element.css("overflow-y"),e="scroll"===c||"auto"===c&&b.width<b.element[0].scrollWidth,f="scroll"===d||"auto"===d&&b.height<b.element[0].scrollHeight;return{width:f?a.position.scrollbarWidth():0,height:e?a.position.scrollbarWidth():0}},getWithinInfo:function(b){var c=a(b||window),d=a.isWindow(c[0]),e=!!c[0]&&9===c[0].nodeType;return{element:c,isWindow:d,isDocument:e,offset:c.offset()||{left:0,top:0},scrollLeft:c.scrollLeft(),scrollTop:c.scrollTop(),width:d?c.width():c.outerWidth(),height:d?c.height():c.outerHeight()}}},a.fn.position=function(e){if(!e||!e.of)return o.apply(this,arguments);e=a.extend({},e);var n,p,q,r,s,t,u=a(e.of),v=a.position.getWithinInfo(e.within),w=a.position.getScrollInfo(v),x=(e.collision||"flip").split(" "),y={};return t=d(u),u[0].preventDefault&&(e.at="left top"),p=t.width,q=t.height,r=t.offset,s=a.extend({},r),a.each(["my","at"],function(){var a,b,c=(e[this]||"").split(" ");1===c.length&&(c=j.test(c[0])?c.concat(["center"]):k.test(c[0])?["center"].concat(c):["center","center"]),c[0]=j.test(c[0])?c[0]:"center",c[1]=k.test(c[1])?c[1]:"center",a=l.exec(c[0]),b=l.exec(c[1]),y[this]=[a?a[0]:0,b?b[0]:0],e[this]=[m.exec(c[0])[0],m.exec(c[1])[0]]}),1===x.length&&(x[1]=x[0]),"right"===e.at[0]?s.left+=p:"center"===e.at[0]&&(s.left+=p/2),"bottom"===e.at[1]?s.top+=q:"center"===e.at[1]&&(s.top+=q/2),n=b(y.at,p,q),s.left+=n[0],s.top+=n[1],this.each(function(){var d,j,k=a(this),l=k.outerWidth(),m=k.outerHeight(),o=c(this,"marginLeft"),t=c(this,"marginTop"),z=l+o+c(this,"marginRight")+w.width,A=m+t+c(this,"marginBottom")+w.height,B=a.extend({},s),C=b(y.my,k.outerWidth(),k.outerHeight());"right"===e.my[0]?B.left-=l:"center"===e.my[0]&&(B.left-=l/2),"bottom"===e.my[1]?B.top-=m:"center"===e.my[1]&&(B.top-=m/2),B.left+=C[0],B.top+=C[1],f||(B.left=i(B.left),B.top=i(B.top)),d={marginLeft:o,marginTop:t},a.each(["left","top"],function(b,c){a.ui.position[x[b]]&&a.ui.position[x[b]][c](B,{targetWidth:p,targetHeight:q,elemWidth:l,elemHeight:m,collisionPosition:d,collisionWidth:z,collisionHeight:A,offset:[n[0]+C[0],n[1]+C[1]],my:e.my,at:e.at,within:v,elem:k})}),e.using&&(j=function(a){var b=r.left-B.left,c=b+p-l,d=r.top-B.top,f=d+q-m,i={target:{element:u,left:r.left,top:r.top,width:p,height:q},element:{element:k,left:B.left,top:B.top,width:l,height:m},horizontal:0>c?"left":b>0?"right":"center",vertical:0>f?"top":d>0?"bottom":"middle"};l>p&&h(b+c)<p&&(i.horizontal="center"),m>q&&h(d+f)<q&&(i.vertical="middle"),i.important=g(h(b),h(c))>g(h(d),h(f))?"horizontal":"vertical",e.using.call(this,a,i)}),k.offset(a.extend(B,{using:j}))})},a.ui.position={fit:{left:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollLeft:d.offset.left,f=d.width,h=a.left-b.collisionPosition.marginLeft,i=e-h,j=h+b.collisionWidth-f-e;b.collisionWidth>f?i>0&&0>=j?(c=a.left+i+b.collisionWidth-f-e,a.left+=i-c):a.left=j>0&&0>=i?e:i>j?e+f-b.collisionWidth:e:i>0?a.left+=i:j>0?a.left-=j:a.left=g(a.left-h,a.left)},top:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollTop:d.offset.top,f=b.within.height,h=a.top-b.collisionPosition.marginTop,i=e-h,j=h+b.collisionHeight-f-e;b.collisionHeight>f?i>0&&0>=j?(c=a.top+i+b.collisionHeight-f-e,a.top+=i-c):a.top=j>0&&0>=i?e:i>j?e+f-b.collisionHeight:e:i>0?a.top+=i:j>0?a.top-=j:a.top=g(a.top-h,a.top)}},flip:{left:function(a,b){var c,d,e=b.within,f=e.offset.left+e.scrollLeft,g=e.width,i=e.isWindow?e.scrollLeft:e.offset.left,j=a.left-b.collisionPosition.marginLeft,k=j-i,l=j+b.collisionWidth-g-i,m="left"===b.my[0]?-b.elemWidth:"right"===b.my[0]?b.elemWidth:0,n="left"===b.at[0]?b.targetWidth:"right"===b.at[0]?-b.targetWidth:0,o=-2*b.offset[0];0>k?(c=a.left+m+n+o+b.collisionWidth-g-f,(0>c||c<h(k))&&(a.left+=m+n+o)):l>0&&(d=a.left-b.collisionPosition.marginLeft+m+n+o-i,(d>0||h(d)<l)&&(a.left+=m+n+o))},top:function(a,b){var c,d,e=b.within,f=e.offset.top+e.scrollTop,g=e.height,i=e.isWindow?e.scrollTop:e.offset.top,j=a.top-b.collisionPosition.marginTop,k=j-i,l=j+b.collisionHeight-g-i,m="top"===b.my[1],n=m?-b.elemHeight:"bottom"===b.my[1]?b.elemHeight:0,o="top"===b.at[1]?b.targetHeight:"bottom"===b.at[1]?-b.targetHeight:0,p=-2*b.offset[1];0>k?(d=a.top+n+o+p+b.collisionHeight-g-f,a.top+n+o+p>k&&(0>d||d<h(k))&&(a.top+=n+o+p)):l>0&&(c=a.top-b.collisionPosition.marginTop+n+o+p-i,a.top+n+o+p>l&&(c>0||h(c)<l)&&(a.top+=n+o+p))}},flipfit:{left:function(){a.ui.position.flip.left.apply(this,arguments),a.ui.position.fit.left.apply(this,arguments)},top:function(){a.ui.position.flip.top.apply(this,arguments),a.ui.position.fit.top.apply(this,arguments)}}},function(){var b,c,d,e,g,h=document.getElementsByTagName("body")[0],i=document.createElement("div");b=document.createElement(h?"div":"body"),d={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},h&&a.extend(d,{position:"absolute",left:"-1000px",top:"-1000px"});for(g in d)b.style[g]=d[g];b.appendChild(i),c=h||document.documentElement,c.insertBefore(b,c.firstChild),i.style.cssText="position: absolute; left: 10.7432222px;",e=a(i).offset().left,f=e>10&&11>e,b.innerHTML="",c.removeChild(b)}()}(),a.ui.position});
|
@@ -0,0 +1 @@
|
|
1
|
+
.ws-important-hide{display:none!important;visibility:hidden!important;position:absolute;top:-999999px}.ws-po-box button,.ws-custom-file>button,.ws-capture-file>button{display:inline-block;overflow:visible;position:relative;margin:0;border:0;padding:0;-webkit-appearance:none;appearance:none;font-family:inherit;background:transparent;cursor:pointer;font-size:inherit;line-height:inherit;touch-action:none}.ws-po-box button::-moz-focus-inner,.ws-custom-file>button::-moz-focus-inner,.ws-capture-file>button::-moz-focus-inner{border:0;padding:0}.ws-po-box button[disabled],.ws-custom-file>button[disabled],.ws-capture-file>button[disabled]{cursor:default;color:#888}[hidden]{display:none}article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio{display:none;height:0;width:0;overflow:hidden}video{overflow:hidden}video,audio[controls]{display:inline-block;min-height:45px;min-width:40px}audio[controls]{width:300px}.polyfill-mediaelement>iframe{border:0;padding:0;margin:0;width:100%;height:100%}.flashblocker-assumed{min-height:20px;min-width:20px;z-index:99999}.cue-display{position:absolute!important;margin:0;padding:0!important;max-width:100%!important;max-height:100%!important;border:0!important;background:none!important;text-align:center;visibility:hidden;font-family:sans-serif;font-size:12px;white-space:pre-wrap;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cue-display b{font-weight:700}.cue-display i{font-style:italic}.cue-display u{text-decoration:underline}.cue-display span.cue-wrapper{position:absolute;left:0;bottom:0;right:0;display:block;padding:0;margin:0;width:100%;font-size:160%;color:#fff;visibility:visible!important;pointer-events:none}.cue-display .cue-line{display:block}.cue-display span.cue{display:inline-block;padding:3px 5px;background:#000;background:rgba(0,0,0,.7);color:#fff}.cue-display .description-cues{position:absolute;top:-99px;left:-99px;display:block;width:5px;height:5px;overflow:hidden}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700}.placeholder-box,.placeholder-text,.details-open-indicator,progress span.progress-value{margin:0;padding:0;border:0;width:auto;background:transparent none}output{position:relative}.webshims-visual-hide{position:absolute!important;top:0!important;left:0!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important}.placeholder-box{position:relative;display:inline-block;zoom:1}.placeholder-box-input{vertical-align:bottom}.placeholder-box-left{float:left}.placeholder-box-right{float:right}.placeholder-text{position:absolute;display:none;top:0;left:0;overflow:hidden;color:#999;line-height:1;cursor:text}.placeholder-visible .placeholder-text,.placeholder-text.placeholder-visible{display:inline-block}.placeholder-box-input .placeholder-text{white-space:nowrap}.placeholder-visible{color:#999}.placeholder-focused.placeholder-visible{color:#ccc}.ws-popover{font-size:13px;display:block;visibility:hidden;overflow:hidden;position:absolute;top:0;left:0;outline:0;padding:0 .92308em;margin:0 0 0 -.92308em;z-index:1100;min-width:3.84615em;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:visibility 400ms ease-in-out;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;direction:ltr;-webkit-tap-highlight-color:transparent}.ws-popover.ws-popover-constrained-width{box-sizing:content-box}.ws-popover.ws-is-rtl{direction:rtl;margin:0 0 0 .92308em}.ws-popover.no-transition{display:none}.ws-popover.ws-po-visible{visibility:visible;display:block}.ws-popinline{position:relative;visibility:visible;display:none}.ws-po-outerbox{position:relative;opacity:0;padding:.84615em 0 .69231em;-webkit-transform:translate(0,-100%);transform:translate(0,-100%);transition:all 400ms ease-in-out}[data-vertical=bottom] .ws-po-outerbox{-webkit-transform:translate(0,100%);transform:translate(0,100%);padding:.30769em 0 .84615em}[data-vertical=middle] .ws-po-outerbox{-webkit-transform:translate(0,0) scale(0.3);transform:translate(0,0) scale(0.3);padding:.30769em 0}.ws-popover.ws-po-visible .ws-po-outerbox,div.ws-popover[data-vertical][data-horizontal].ws-po-visible .ws-po-outerbox{opacity:1;-webkit-transform:translate(0,0) scale(1);transform:translate(0,0) scale(1)}.ws-po-box{border:.07692em solid #ccc;background:#fff;color:#000;padding:.38462em .38462em .23077em}.ws-po-arrow{position:absolute;top:.30769em;left:1.53846em;display:block;width:0;height:0;border-left:.61538em solid transparent;border-right:.61538em solid transparent;border-bottom:.61538em solid #ccc;border-top:0;zoom:1}.ws-is-rtl .ws-po-arrow{left:auto;right:1.53846em}[data-horizontal=center] .ws-po-arrow{left:50%;margin-left:-.30769em}[data-horizontal=right] .ws-po-arrow{left:auto;right:1.53846em}[data-vertical=bottom] .ws-po-arrow{top:auto;bottom:.30769em;border-bottom:0;border-top:.61538em solid #ccc}html .ws-po-arrow{border-left-color:transparent;border-right-color:transparent}html .ws-po-arrow .ws-po-arrowbox{border-left-color:transparent;border-right-color:transparent}[data-vertical=middle] .ws-po-arrow{display:none}.ws-po-arrow .ws-po-arrowbox{position:relative;top:.07692em;left:-.53846em;display:block;width:0;height:0;border-left:.53846em solid transparent;border-right:.53846em solid transparent;border-bottom:.53846em solid #fefefe;border-top:0;z-index:999999999}.ws-is-rtl .ws-po-arrow .ws-po-arrowbox{left:auto;right:-.53846em}[data-vertical=bottom] .ws-po-arrow .ws-po-arrowbox{top:-.61538em;border-bottom:0;border-top:.53846em solid #fefefe}datalist{display:none}input[data-wslist]::-webkit-calendar-picker-indicator{display:none}.datalist-polyfill{position:absolute;text-align:left}.datalist-polyfill .ws-po-box{padding:.38462em 0}.datalist-polyfill .datalist-box{position:relative;max-height:15.38462em;overflow:hidden;overflow-x:hidden!important;overflow-y:auto}.datalist-polyfill .datalist-box ul,.datalist-polyfill .datalist-box li{font-size:100%;list-style:none!important}.datalist-polyfill .datalist-box ul{position:static!important;overflow:hidden;margin:0;padding:.07692em 0;height:auto!important;background-color:#fff;color:#000}.datalist-polyfill .datalist-box li{margin:.07692em 0;padding:.30769em .76923em;overflow:hidden;white-space:nowrap;cursor:default;zoom:1;overflow:hidden;text-overflow:ellipsis;background-color:#fff;transition:background-color 400ms;touch-action:none}.datalist-polyfill .datalist-box mark{font-weight:400;font-style:normal}.datalist-polyfill .datalist-box .option-value{display:block;text-overflow:ellipsis;max-width:100%;color:#000;transition:color 400ms}.datalist-polyfill .datalist-box .option-label{display:none;font-size:90%;color:#666;text-overflow:ellipsis;margin-top:.1em;transition:color 400ms}.datalist-polyfill .datalist-box .has-option-label .option-label{display:block}.datalist-polyfill .datalist-box .hidden-item{display:none!important}.datalist-polyfill .datalist-box .active-item{cursor:default;background-color:#39f}.datalist-polyfill .datalist-box .active-item .option-value{color:#fff}.datalist-polyfill .datalist-box .active-item .option-label{color:#eee}.validity-alert{display:inline-block;z-index:1000000000}.validity-alert .ws-titlevalue{display:block}.ws-errorbox{display:none;border:0;margin:0;padding:0;overflow:hidden;position:relative;clear:both;font-family:sans-serif}.ws-errorbox p{margin:2px 0 3px;padding:0;color:#a94442}progress{position:relative;display:inline-block;width:164px;height:20px;overflow:hidden;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:-.2em}progress.ws-style{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border:1px solid #ddd;background:#f0f0f0}progress.ws-style::-webkit-progress-bar{border:1px solid #ddd;background:#f0f0f0;border:0 none}progress.ws-style::-moz-progress-bar{border:1px solid #ddd;background:#f0f0f0}progress.ws-style::-ms-fill{animation-name:none;border:1px solid #ddd;background:#f0f0f0}progress.ws-style>span.progress-value{left:0}progress.ws-style.ws-is-rtl>span.progress-value{left:auto;right:0}progress.ws-style::-webkit-progress-value{position:absolute;top:0;bottom:0;height:100%;background:#0063a6 url(progress.png);border:0}progress.ws-style::-moz-progress-bar{position:absolute;top:0;bottom:0;height:100%;background:#0063a6 url(progress.png);border:0}progress.ws-style::-ms-fill{animation-name:none;position:absolute;top:0;bottom:0;height:100%;background:#0063a6 url(progress.png);border:0}progress.ws-style>span.progress-value{display:block!important;position:absolute;top:0;bottom:0;height:100%;background:#0063a6 url(progress.png);border:0}progress.ws-style:indeterminate::-webkit-progress-bar{background-image:url(progress.gif)}progress.ws-style:indeterminate::-moz-progress-bar{background-image:url(progress.gif)}progress.ws-style:indeterminate{animation-name:none;background-image:url(progress.gif)}progress.ws-style.ws-indeterminate>span.progress-value{display:block!important;width:100%;right:0;background-image:url(progress.gif)}details{overflow:hidden}summary{position:relative}.closed-details-child{display:none!important}.details-open-indicator{margin:-1px 0 0;display:inline-block;margin-right:.4em;width:0;height:0;border-style:solid;border-width:.76923em .38462em 0;border-color:#000 transparent transparent;vertical-align:middle}.closed-details-summary .details-open-indicator{border-width:.38462em 0 .38462em .76923em;border-color:transparent transparent transparent #000}summary.summary-has-focus{outline:1px dotted #aaa;outline-offset:-1px}.ws-custom-file,.ws-capture-file{position:relative;overflow:hidden}.ws-custom-file>button,.ws-custom-file>input,.ws-capture-file>button,.ws-capture-file>input{box-sizing:border-box;cursor:pointer}.ws-custom-file>button,.ws-custom-file>.ws-file-value,.ws-capture-file>button,.ws-capture-file>.ws-file-value{position:relative;z-index:0;display:inline-block;padding:.38462em;border:1px solid #ccc;background:#eee;color:#333;transition:400ms all}.ws-custom-file>button,.ws-capture-file>button{margin-right:.4em;float:left}.ws-capture-file>button{padding-bottom:.30769em;padding-top:.30769em}.ws-custom-file .ws-file-value{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ws-custom-file>input[type=file],.ws-custom-file .ws-coverfile{position:absolute;top:-1%;left:-3%;bottom:-1%;right:-1%;height:102%;width:104%;z-index:9;padding:0;margin:0;border:0 none;color:transparent;background:transparent}.ws-custom-file>input[type=file]{filter:alpha(opacity=0);opacity:.00001}.ws-custom-file>input[type=file][disabled]{cursor:default;cursor:not-allowed}.ws-custom-file .ws-coverfile{background:url(transparent.png);z-index:10;cursor:pointer}[readonly]+.ws-custom-file .ws-coverfile{cursor:default}[disabled]+.ws-custom-file .ws-coverfile{cursor:default;cursor:not-allowed}.ws-custom-file>.moxie-shim{z-index:20}.ws-custom-file:hover>button,.ws-custom-file.ws-mouseenter>button,.ws-custom-file>input[type=file]:focus~button{background:#fff;border-color:#999;background:#eee linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))}.ws-custom-file:hover>.ws-file-value,.ws-custom-file.ws-mouseenter>.ws-file-value,.ws-custom-file>input[type=file]:focus~.ws-file-value{border-color:#999}.ws-custom-file.ws-active>button,.ws-custom-file>input[type=file]:active~button{border-color:#000}.ws-custom-file.ws-active>.ws-file-value,.ws-custom-file>input[type=file]:active~.ws-file-value{border-color:#000}.ws-custom-file>input[type=file][disabled]~.ws-file-value,.ws-custom-file>input[type=file][disabled]~button{border-color:#bbb;background:#eee;color:#999}.ws-sticky{top:auto;left:auto!important;right:auto!important;bottom:auto;position:static;position:-webkit-sticky;position:-ms-sticky;position:sticky;float:none!important;margin-left:0;margin-right:0}thead.ws-sticky,tbody.ws-sticky,tfoot.ws-sticky{margin-left:-.8px;margin-right:-1px}.ws-sticky.ws-sticky-on{position:fixed!important}.ws-fixedsticky-placeholder{position:static!important;visibility:hidden!important;padding:0;border:0;margin:0;left:-999px;zoom:1}
|
@@ -0,0 +1 @@
|
|
1
|
+
SWSVLVVKRKPQNVS*THHPTPDNSRR
|
@@ -0,0 +1 @@
|
|
1
|
+
16084494740
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
33143875060
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
SWSVLVVKRKPQNVS*THHPTPDNSRR
|
@@ -0,0 +1 @@
|
|
1
|
+
16084494740
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
33143875060
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,6 @@
|
|
1
|
+
>PWVi6_TR80574|c0_g1_i1 len=350 path=[655:0-349] [-1, 655, -2]
|
2
|
+
CGAGGATCCTTTGTCCTTATCAATGGCAAATAATGTCATTTGTCATTTATTTATTCCTTTGAAAGGAGTTGAAAGGACGA
|
3
|
+
TAGGAATAATAAATAAATCTAGGAATTCTTTTCTTTATCAGAATAGATGAACCAACGTCTCCAAATTATGCGTTTGAGGC
|
4
|
+
TCTTGACAAAAATCAAGAAAAGTTGGCAGTTTTCAACAATTTAAAAATTCGTTTTTAAAATCAAGAAATTACAAAAAATG
|
5
|
+
GTGAATTCTATAATTAATAAAATGTGAAGGAGATTATGAAACAGAATTTTGGTGAAGCAGAGTGTTTAATTTATACTTAA
|
6
|
+
AGGAAATATTTTTAGTTGATGAACTGAAAG
|
@@ -0,0 +1 @@
|
|
1
|
+
41854911120
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequenceserver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.beta11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anurag Priyam
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-
|
14
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: sinatra
|
@@ -255,6 +255,7 @@ files:
|
|
255
255
|
- ".rubocop.yml"
|
256
256
|
- ".travis.yml"
|
257
257
|
- COPYRIGHT.txt
|
258
|
+
- Dockerfile
|
258
259
|
- LICENSE.txt
|
259
260
|
- LICENSE/Apache.txt
|
260
261
|
- LICENSE/d3.txt
|
@@ -262,7 +263,6 @@ files:
|
|
262
263
|
- Rakefile
|
263
264
|
- bin/sequenceserver
|
264
265
|
- config.ru
|
265
|
-
- docker/Dockerfile
|
266
266
|
- lib/sequenceserver.rb
|
267
267
|
- lib/sequenceserver/api_errors.rb
|
268
268
|
- lib/sequenceserver/blast.rb
|
@@ -328,7 +328,10 @@ files:
|
|
328
328
|
- public/js/visualisation_helpers.js
|
329
329
|
- public/sequenceserver-report.min.js
|
330
330
|
- public/sequenceserver-search.min.js
|
331
|
-
- public/shims
|
331
|
+
- public/shims/form-core.js
|
332
|
+
- public/shims/form-validation.js
|
333
|
+
- public/shims/plugins/jquery.ui.position.js
|
334
|
+
- public/shims/styles/shim.css
|
332
335
|
- public/vendor/.dependencies.json
|
333
336
|
- public/vendor/.loaderversions
|
334
337
|
- public/vendor/github/components/jquery@2.1.4.js
|
@@ -3697,6 +3700,53 @@ files:
|
|
3697
3700
|
- spec/database/funky_sequences/funky_na_sequences.fa.nsd
|
3698
3701
|
- spec/database/funky_sequences/funky_na_sequences.fa.nsi
|
3699
3702
|
- spec/database/funky_sequences/funky_na_sequences.fa.nsq
|
3703
|
+
- spec/database/ox_parse_error/query.fa
|
3704
|
+
- spec/database/ox_parse_error/rand1.fa
|
3705
|
+
- spec/database/ox_parse_error/rand1.fa.nhd
|
3706
|
+
- spec/database/ox_parse_error/rand1.fa.nhi
|
3707
|
+
- spec/database/ox_parse_error/rand1.fa.nhr
|
3708
|
+
- spec/database/ox_parse_error/rand1.fa.nin
|
3709
|
+
- spec/database/ox_parse_error/rand1.fa.nog
|
3710
|
+
- spec/database/ox_parse_error/rand1.fa.nsd
|
3711
|
+
- spec/database/ox_parse_error/rand1.fa.nsi
|
3712
|
+
- spec/database/ox_parse_error/rand1.fa.nsq
|
3713
|
+
- spec/database/ox_parse_error/rand2.fa
|
3714
|
+
- spec/database/ox_parse_error/rand2.fa.nhd
|
3715
|
+
- spec/database/ox_parse_error/rand2.fa.nhi
|
3716
|
+
- spec/database/ox_parse_error/rand2.fa.nhr
|
3717
|
+
- spec/database/ox_parse_error/rand2.fa.nin
|
3718
|
+
- spec/database/ox_parse_error/rand2.fa.nog
|
3719
|
+
- spec/database/ox_parse_error/rand2.fa.nsd
|
3720
|
+
- spec/database/ox_parse_error/rand2.fa.nsi
|
3721
|
+
- spec/database/ox_parse_error/rand2.fa.nsq
|
3722
|
+
- spec/database/ox_parse_error_unique_ids/query.fa
|
3723
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa
|
3724
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa.nhd
|
3725
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa.nhi
|
3726
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa.nhr
|
3727
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa.nin
|
3728
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa.nog
|
3729
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa.nsd
|
3730
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa.nsi
|
3731
|
+
- spec/database/ox_parse_error_unique_ids/rand1.fa.nsq
|
3732
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa
|
3733
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa.nhd
|
3734
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa.nhi
|
3735
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa.nhr
|
3736
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa.nin
|
3737
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa.nog
|
3738
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa.nsd
|
3739
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa.nsi
|
3740
|
+
- spec/database/ox_parse_error_unique_ids/rand2.fa.nsq
|
3741
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa
|
3742
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa.nhd
|
3743
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa.nhi
|
3744
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa.nhr
|
3745
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa.nin
|
3746
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa.nog
|
3747
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsd
|
3748
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsi
|
3749
|
+
- spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsq
|
3700
3750
|
- spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhd
|
3701
3751
|
- spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhi
|
3702
3752
|
- spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhr
|
data/docker/Dockerfile
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# SequenceServer
|
2
|
-
#
|
3
|
-
# Intuitive local web frontend for the BLAST bioinformatics tool http://www.sequenceserver.com
|
4
|
-
#
|
5
|
-
# Contact:
|
6
|
-
# Anurag Priyam (architect) <anurag08priyam@gmail.com> <twitter.com/yeban>
|
7
|
-
# Yannick Wurm (PI) <yannickwurm@gmail.com> <twitter.com/yannick__>
|
8
|
-
# Mailing list / forum <https://groups.google.com/forum/#!forum/sequenceserver>
|
9
|
-
#
|
10
|
-
# VERSION 1.0.0
|
11
|
-
|
12
|
-
FROM ubuntu:16.04
|
13
|
-
MAINTAINER Bruno Vieira <mail@bmpvieira.com>
|
14
|
-
|
15
|
-
LABEL Description="Intuitive local web frontend for the BLAST bioinformatics tool http://www.sequenceserver.com" Version="1.0.0"
|
16
|
-
|
17
|
-
RUN apt-get update
|
18
|
-
RUN apt-get install -y build-essential ruby ruby-dev ncbi-blast+
|
19
|
-
RUN gem install sequenceserver
|
20
|
-
CMD sequenceserver -d /db
|
@@ -1 +0,0 @@
|
|
1
|
-
../vendor/npm/font-awesome@4.4.0/fonts/FontAwesome.otf
|
@@ -1 +0,0 @@
|
|
1
|
-
../vendor/npm/font-awesome@4.4.0/fonts/fontawesome-webfont.eot
|
@@ -1 +0,0 @@
|
|
1
|
-
../vendor/npm/font-awesome@4.4.0/fonts/fontawesome-webfont.svg
|
@@ -1 +0,0 @@
|
|
1
|
-
../vendor/npm/font-awesome@4.4.0/fonts/fontawesome-webfont.ttf
|
@@ -1 +0,0 @@
|
|
1
|
-
../vendor/npm/font-awesome@4.4.0/fonts/fontawesome-webfont.woff
|
@@ -1 +0,0 @@
|
|
1
|
-
../vendor/npm/font-awesome@4.4.0/fonts/fontawesome-webfont.woff2
|
data/public/shims
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
vendor/npm/webshim@1.15.8/js-webshim/minified/shims
|