From 694258042fb7eced0dc7095266f069debe7a4b86 Mon Sep 17 00:00:00 2001 From: Anthony Koerber Date: Tue, 14 Mar 2017 17:55:31 -0500 Subject: [PATCH] Release v4.3.0 --- CHANGELOG.md | 11 +++++++++++ bower.json | 2 +- dist/strand-action/strand-action.html | 2 +- dist/strand-array-munge/strand-array-munge.html | 2 +- dist/strand-autocomplete/strand-autocomplete.html | 2 +- dist/strand-button/strand-button.html | 2 +- dist/strand-calendar/strand-calendar.html | 2 +- dist/strand-currency/strand-currency.html | 2 +- .../strand-datepicker-panel.html | 2 +- dist/strand-datepicker/strand-datepicker.html | 2 +- dist/strand-dropdown/strand-dropdown.html | 2 +- dist/strand-file-upload/strand-file-upload.html | 2 +- dist/strand-form/strand-form.html | 2 +- dist/strand-grid-column/strand-grid-column.html | 2 +- dist/strand-group/strand-group.html | 2 +- dist/strand-guide-tooltip/strand-guide-tooltip.html | 2 +- dist/strand-guide/strand-guide.html | 2 +- dist/strand-header/strand-header.html | 2 +- dist/strand-highlight/strand-highlight.html | 2 +- dist/strand-icon/strand-icon.html | 2 +- dist/strand-inline-box/strand-inline-box.html | 2 +- dist/strand-input-mask/strand-input-mask.html | 2 +- dist/strand-input/strand-input.html | 2 +- dist/strand-list-item/strand-list-item.html | 2 +- .../strand-pulldown-button.html | 2 +- dist/strand-radio/strand-radio.html | 2 +- dist/strand-repeater-row/strand-repeater-row.html | 2 +- dist/strand-repeater/strand-repeater.html | 2 +- dist/strand-tab/strand-tab.html | 2 +- dist/strand-tabs/strand-tabs.html | 2 +- dist/strand-textarea/strand-textarea.html | 2 +- dist/strand-timeformat/strand-timeformat.html | 2 +- dist/strand-timepicker/strand-timepicker.html | 2 +- dist/strand-tooltip/strand-tooltip.html | 2 +- dist/strand-view-manager/strand-view-manager.html | 2 +- dist/strand-wizard-ribbon/strand-wizard-ribbon.html | 2 +- dist/strand-wizard/strand-wizard.html | 2 +- dist/strand.html | 6 +++--- package.json | 2 +- 39 files changed, 51 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46e8e0e6..bd5569ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ + +# v4.3.0 (2017-03-14) + +* Add charity icon to strand-icon ([5805e92](https://github.com/MediaMath/strand/commit/5805e92)) +* Docs edits ([761f8b2](https://github.com/MediaMath/strand/commit/761f8b2)) +* Docs example edits ([b865574](https://github.com/MediaMath/strand/commit/b865574)) +* FWRK-330 add 'quick-edit' icon ([1f74d2f](https://github.com/MediaMath/strand/commit/1f74d2f)) +* notify selection change ([6d2460f](https://github.com/MediaMath/strand/commit/6d2460f)) + + + ## v4.2.3 (2016-12-20) diff --git a/bower.json b/bower.json index 2b44251a..c93c90c9 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "strand", - "version": "4.2.3", + "version": "4.3.0", "homepage": "https://github.com/MediaMath/strand", "repository": { "type": "git", diff --git a/dist/strand-action/strand-action.html b/dist/strand-action/strand-action.html index 4ea62c9f..5003c245 100644 --- a/dist/strand-action/strand-action.html +++ b/dist/strand-action/strand-action.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-array-munge/strand-array-munge.html b/dist/strand-array-munge/strand-array-munge.html index 09a777b3..3fb9493e 100644 --- a/dist/strand-array-munge/strand-array-munge.html +++ b/dist/strand-array-munge/strand-array-munge.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-autocomplete/strand-autocomplete.html b/dist/strand-autocomplete/strand-autocomplete.html index e5bfa7be..2f61fc6c 100644 --- a/dist/strand-autocomplete/strand-autocomplete.html +++ b/dist/strand-autocomplete/strand-autocomplete.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-button/strand-button.html b/dist/strand-button/strand-button.html index 65d10bd4..e53111cc 100644 --- a/dist/strand-button/strand-button.html +++ b/dist/strand-button/strand-button.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-calendar/strand-calendar.html b/dist/strand-calendar/strand-calendar.html index 6568a1e1..d574bb01 100644 --- a/dist/strand-calendar/strand-calendar.html +++ b/dist/strand-calendar/strand-calendar.html @@ -3,4 +3,4 @@ * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt --> \ No newline at end of file +"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),r=e?i._week.dow:0;if(null!=n)return An(t,(n+r)%7,s,"day");var o,u=[];for(o=0;o<7;o++)u[o]=An(t,(o+r)%7,s,"day");return u}function zn(e,t){return En(e,t,"months")}function Zn(e,t){return En(e,t,"monthsShort")}function $n(e,t,n){return In(e,t,n,"weekdays")}function qn(e,t,n){return In(e,t,n,"weekdaysShort")}function Bn(e,t,n){return In(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=Ki(this._milliseconds),this._days=Ki(this._days),this._months=Ki(this._months),e.milliseconds=Ki(e.milliseconds),e.seconds=Ki(e.seconds),e.minutes=Ki(e.minutes),e.hours=Ki(e.hours),e.months=Ki(e.months),e.years=Ki(e.years),this}function Qn(e,t,n,s){var i=Nt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Xn(e,t){return Qn(this,e,t,1)}function Kn(e,t){return Qn(this,e,t,-1)}function es(e){return e<0?Math.floor(e):Math.ceil(e)}function ts(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*es(ss(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=v(r/1e3),u.seconds=e%60,t=v(e/60),u.minutes=t%60,n=v(t/60),u.hours=n%24,a+=v(n/24),i=v(ns(a)),o+=i,a-=es(ss(i)),s=v(o/12),o%=12,u.days=a,u.months=o,u.years=s,this}function ns(e){return 4800*e/146097}function ss(e){return 146097*e/4800}function is(e){var t,n,s=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+s/864e5,n=this._months+ns(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ss(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}}function rs(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)}function as(e){return function(){return this.as(e)}}function os(e){return e=L(e),this[e+"s"]()}function us(e){return function(){return this._data[e]}}function ls(){return v(this.days()/7)}function ds(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function hs(e,t,n){var s=Nt(e).abs(),i=_r(s.as("s")),r=_r(s.as("m")),a=_r(s.as("h")),o=_r(s.as("d")),u=_r(s.as("M")),l=_r(s.as("y")),d=i0,d[4]=n,ds.apply(null,d)}function cs(e){return void 0===e?_r:"function"==typeof e&&(_r=e,!0)}function fs(e,t){return void 0!==yr[e]&&(void 0===t?yr[e]:(yr[e]=t,!0))}function ms(e){var t=this.localeData(),n=hs(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _s(){var e,t,n,s=gr(this._milliseconds)/1e3,i=gr(this._days),r=gr(this._months);e=v(s/60),t=v(e/60),s%=60,e%=60,n=v(r/12),r%=12;var a=n,o=r,u=i,l=t,d=e,h=s,c=this.asSeconds();return c?(c<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(u?u+"D":"")+(l||d||h?"T":"")+(l?l+"H":"")+(d?d+"M":"")+(h?h+"S":""):"P0D"}var ys,gs;gs=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s68?1900:2e3)};var gi=N("FullYear",!0);$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),V("week",5),V("isoWeek",5),X("w",As),X("ww",As,Gs),X("W",As),X("WW",As,Gs),se(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=S(e)});var pi={dow:0,doy:6};$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),X("d",As),X("e",As),X("E",As),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),se(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),se(["d","e","E"],function(e,t,n,s){t[s]=S(e)});var wi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Si="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mi=Ks,ki=Ks,Di=Ks;$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Ie),$("k",["kk",2],0,ze),$("hmm",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)}),$("hmmss",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)}),Ze("a",!0),Ze("A",!1),H("hour","h"),V("hour",13),X("a",$e),X("A",$e),X("H",As),X("h",As),X("HH",As,Gs),X("hh",As,Gs),X("hmm",Es),X("hmmss",Is),X("Hmm",Es),X("Hmmss",Is),ne(["H","HH"],ri),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ri]=S(e),f(n).bigHour=!0}),ne("hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s)),f(n).bigHour=!0}),ne("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i)),f(n).bigHour=!0}),ne("Hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s))}),ne("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i))});var Yi,Oi=/[ap]\.?m?\.?/i,xi=N("Hours",!0),Ti={calendar:Ys,longDateFormat:Os,invalidDate:xs,ordinal:Ts,ordinalParse:bs,relativeTime:Ps,months:fi,monthsShort:mi,week:pi,weekdays:wi,weekdaysMin:Si,weekdaysShort:vi,meridiemParse:Oi},bi={},Pi={},Wi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ui=/Z|[+-]\d\d(?::?\d\d)?/,Ci=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Fi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Hi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=D("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Li=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:_()}),Vi=function(){return Date.now?Date.now():+new Date};Ot("Z",":"),Ot("ZZ",""),X("Z",Qs),X("ZZ",Qs),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=xt(Qs,e)});var ji=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ni=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ai=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Nt.fn=kt.prototype;var Ei=zt(1,"add"),Ii=zt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var zi=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xn("gggg","weekYear"),xn("ggggg","weekYear"),xn("GGGG","isoWeekYear"),xn("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),X("G",Bs),X("g",Bs),X("GG",As,Gs),X("gg",As,Gs),X("GGGG",Zs,js),X("gggg",Zs,js),X("GGGGG",$s,Ns),X("ggggg",$s,Ns),se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=S(e)}),se(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),$("Q",0,"Qo","quarter"),H("quarter","Q"),V("quarter",7),X("Q",Ls),ne("Q",function(e,t){t[si]=3*(S(e)-1)}),$("D",["DD",2],"Do","date"),H("date","D"),V("date",9),X("D",As),X("DD",As,Gs),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ii),ne("Do",function(e,t){t[ii]=S(e.match(As)[0],10)});var Zi=N("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),V("dayOfYear",4),X("DDD",zs),X("DDDD",Vs),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=S(e)}),$("m",["mm",2],0,"minute"),H("minute","m"),V("minute",14),X("m",As),X("mm",As,Gs),ne(["m","mm"],ai);var $i=N("Minutes",!1);$("s",["ss",2],0,"second"),H("second","s"),V("second",15),X("s",As),X("ss",As,Gs),ne(["s","ss"],oi);var qi=N("Seconds",!1);$("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),V("millisecond",16),X("S",zs,Ls),X("SS",zs,Gs),X("SSS",zs,Vs);var Bi;for(Bi="SSSS";Bi.length<=9;Bi+="S")X(Bi,qs);for(Bi="S";Bi.length<=9;Bi+="S")ne(Bi,Hn);var Ji=N("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Qi=p.prototype;Qi.add=Ei,Qi.calendar=qt,Qi.clone=Bt,Qi.diff=nn,Qi.endOf=yn,Qi.format=un,Qi.from=ln,Qi.fromNow=dn,Qi.to=hn,Qi.toNow=cn,Qi.get=I,Qi.invalidAt=Yn,Qi.isAfter=Jt,Qi.isBefore=Qt,Qi.isBetween=Xt,Qi.isSame=Kt,Qi.isSameOrAfter=en,Qi.isSameOrBefore=tn,Qi.isValid=kn,Qi.lang=zi,Qi.locale=fn,Qi.localeData=mn,Qi.max=Gi,Qi.min=Li,Qi.parsingFlags=Dn,Qi.set=z,Qi.startOf=_n,Qi.subtract=Ii,Qi.toArray=vn,Qi.toObject=Sn,Qi.toDate=wn,Qi.toISOString=an,Qi.inspect=on,Qi.toJSON=Mn,Qi.toString=rn,Qi.unix=pn,Qi.valueOf=gn,Qi.creationData=On,Qi.year=gi,Qi.isLeapYear=pe,Qi.weekYear=Tn,Qi.isoWeekYear=bn,Qi.quarter=Qi.quarters=Cn,Qi.month=he,Qi.daysInMonth=ce,Qi.week=Qi.weeks=Te,Qi.isoWeek=Qi.isoWeeks=be,Qi.weeksInYear=Wn,Qi.isoWeeksInYear=Pn,Qi.date=Zi,Qi.day=Qi.days=Le,Qi.weekday=Ge,Qi.isoWeekday=Ve,Qi.dayOfYear=Fn,Qi.hour=Qi.hours=xi,Qi.minute=Qi.minutes=$i,Qi.second=Qi.seconds=qi,Qi.millisecond=Qi.milliseconds=Ji,Qi.utcOffset=Pt,Qi.utc=Rt,Qi.local=Ut,Qi.parseZone=Ct,Qi.hasAlignedHourOffset=Ft,Qi.isDST=Ht,Qi.isLocal=Gt,Qi.isUtcOffset=Vt,Qi.isUtc=jt,Qi.isUTC=jt,Qi.zoneAbbr=Ln,Qi.zoneName=Gn,Qi.dates=D("dates accessor is deprecated. Use date instead.",Zi),Qi.months=D("months accessor is deprecated. Use month instead",he),Qi.years=D("years accessor is deprecated. Use year instead",gi),Qi.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),Qi.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lt);var Xi=b.prototype;Xi.calendar=P,Xi.longDateFormat=W,Xi.invalidDate=R,Xi.ordinal=U,Xi.preparse=Nn,Xi.postformat=Nn,Xi.relativeTime=C,Xi.pastFuture=F,Xi.set=x,Xi.months=ae,Xi.monthsShort=oe,Xi.monthsParse=le,Xi.monthsRegex=me,Xi.monthsShortRegex=fe,Xi.week=Ye,Xi.firstDayOfYear=xe,Xi.firstDayOfWeek=Oe,Xi.weekdays=Re,Xi.weekdaysMin=Ce,Xi.weekdaysShort=Ue,Xi.weekdaysParse=He,Xi.weekdaysRegex=je,Xi.weekdaysShortRegex=Ne,Xi.weekdaysMinRegex=Ae,Xi.isPM=qe,Xi.meridiem=Be,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===S(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=D("moment.lang is deprecated. Use moment.locale instead.",Ke),e.langData=D("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ki=Math.abs,er=as("ms"),tr=as("s"),nr=as("m"),sr=as("h"),ir=as("d"),rr=as("w"),ar=as("M"),or=as("y"),ur=us("milliseconds"),lr=us("seconds"),dr=us("minutes"),hr=us("hours"),cr=us("days"),fr=us("months"),mr=us("years"),_r=Math.round,yr={s:45,m:45,h:22,d:26,M:11},gr=Math.abs,pr=kt.prototype;return pr.abs=Jn,pr.add=Xn,pr.subtract=Kn,pr.as=is,pr.asMilliseconds=er,pr.asSeconds=tr,pr.asMinutes=nr,pr.asHours=sr,pr.asDays=ir,pr.asWeeks=rr,pr.asMonths=ar,pr.asYears=or,pr.valueOf=rs,pr._bubble=ts,pr.get=os,pr.milliseconds=ur,pr.seconds=lr,pr.minutes=dr,pr.hours=hr,pr.days=cr,pr.weeks=ls,pr.months=fr,pr.years=mr,pr.humanize=ms,pr.toISOString=_s,pr.toString=_s,pr.toJSON=_s,pr.locale=fn,pr.localeData=mn,pr.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_s),pr.lang=zi,$("X",0,0,"unix"),$("x",0,0,"valueOf"),X("x",Bs),X("X",Xs),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(S(e))}),e.version="2.17.1",n(wt),e.fn=Qi,e.min=St,e.max=Mt,e.now=Vi,e.utc=h,e.unix=Vn,e.months=zn,e.isDate=o,e.locale=Ke,e.invalid=_,e.duration=Nt,e.isMoment=w,e.weekdays=$n,e.parseZone=jn,e.localeData=nt,e.isDuration=Dt,e.monthsShort=Zn,e.weekdaysMin=Bn,e.defineLocale=et,e.updateLocale=tt,e.locales=st,e.weekdaysShort=qn,e.normalizeUnits=L,e.relativeTimeRounding=cs,e.relativeTimeThreshold=fs,e.calendarFormat=$t,e.prototype=Qi,e})}(); \ No newline at end of file diff --git a/dist/strand-currency/strand-currency.html b/dist/strand-currency/strand-currency.html index 50ce9f14..00b5e51d 100644 --- a/dist/strand-currency/strand-currency.html +++ b/dist/strand-currency/strand-currency.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-datepicker-panel/strand-datepicker-panel.html b/dist/strand-datepicker-panel/strand-datepicker-panel.html index 6a405995..bfc9cfe3 100644 --- a/dist/strand-datepicker-panel/strand-datepicker-panel.html +++ b/dist/strand-datepicker-panel/strand-datepicker-panel.html @@ -3,4 +3,4 @@ * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt --> \ No newline at end of file +"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),r=e?i._week.dow:0;if(null!=n)return An(t,(n+r)%7,s,"day");var o,u=[];for(o=0;o<7;o++)u[o]=An(t,(o+r)%7,s,"day");return u}function zn(e,t){return En(e,t,"months")}function Zn(e,t){return En(e,t,"monthsShort")}function $n(e,t,n){return In(e,t,n,"weekdays")}function qn(e,t,n){return In(e,t,n,"weekdaysShort")}function Bn(e,t,n){return In(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=Ki(this._milliseconds),this._days=Ki(this._days),this._months=Ki(this._months),e.milliseconds=Ki(e.milliseconds),e.seconds=Ki(e.seconds),e.minutes=Ki(e.minutes),e.hours=Ki(e.hours),e.months=Ki(e.months),e.years=Ki(e.years),this}function Qn(e,t,n,s){var i=Nt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Xn(e,t){return Qn(this,e,t,1)}function Kn(e,t){return Qn(this,e,t,-1)}function es(e){return e<0?Math.floor(e):Math.ceil(e)}function ts(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*es(ss(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=v(r/1e3),u.seconds=e%60,t=v(e/60),u.minutes=t%60,n=v(t/60),u.hours=n%24,a+=v(n/24),i=v(ns(a)),o+=i,a-=es(ss(i)),s=v(o/12),o%=12,u.days=a,u.months=o,u.years=s,this}function ns(e){return 4800*e/146097}function ss(e){return 146097*e/4800}function is(e){var t,n,s=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+s/864e5,n=this._months+ns(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ss(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}}function rs(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)}function as(e){return function(){return this.as(e)}}function os(e){return e=L(e),this[e+"s"]()}function us(e){return function(){return this._data[e]}}function ls(){return v(this.days()/7)}function ds(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function hs(e,t,n){var s=Nt(e).abs(),i=_r(s.as("s")),r=_r(s.as("m")),a=_r(s.as("h")),o=_r(s.as("d")),u=_r(s.as("M")),l=_r(s.as("y")),d=i0,d[4]=n,ds.apply(null,d)}function cs(e){return void 0===e?_r:"function"==typeof e&&(_r=e,!0)}function fs(e,t){return void 0!==yr[e]&&(void 0===t?yr[e]:(yr[e]=t,!0))}function ms(e){var t=this.localeData(),n=hs(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _s(){var e,t,n,s=gr(this._milliseconds)/1e3,i=gr(this._days),r=gr(this._months);e=v(s/60),t=v(e/60),s%=60,e%=60,n=v(r/12),r%=12;var a=n,o=r,u=i,l=t,d=e,h=s,c=this.asSeconds();return c?(c<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(u?u+"D":"")+(l||d||h?"T":"")+(l?l+"H":"")+(d?d+"M":"")+(h?h+"S":""):"P0D"}var ys,gs;gs=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s68?1900:2e3)};var gi=N("FullYear",!0);$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),V("week",5),V("isoWeek",5),X("w",As),X("ww",As,Gs),X("W",As),X("WW",As,Gs),se(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=S(e)});var pi={dow:0,doy:6};$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),X("d",As),X("e",As),X("E",As),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),se(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),se(["d","e","E"],function(e,t,n,s){t[s]=S(e)});var wi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Si="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mi=Ks,ki=Ks,Di=Ks;$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Ie),$("k",["kk",2],0,ze),$("hmm",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)}),$("hmmss",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)}),Ze("a",!0),Ze("A",!1),H("hour","h"),V("hour",13),X("a",$e),X("A",$e),X("H",As),X("h",As),X("HH",As,Gs),X("hh",As,Gs),X("hmm",Es),X("hmmss",Is),X("Hmm",Es),X("Hmmss",Is),ne(["H","HH"],ri),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ri]=S(e),f(n).bigHour=!0}),ne("hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s)),f(n).bigHour=!0}),ne("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i)),f(n).bigHour=!0}),ne("Hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s))}),ne("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i))});var Yi,Oi=/[ap]\.?m?\.?/i,xi=N("Hours",!0),Ti={calendar:Ys,longDateFormat:Os,invalidDate:xs,ordinal:Ts,ordinalParse:bs,relativeTime:Ps,months:fi,monthsShort:mi,week:pi,weekdays:wi,weekdaysMin:Si,weekdaysShort:vi,meridiemParse:Oi},bi={},Pi={},Wi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ui=/Z|[+-]\d\d(?::?\d\d)?/,Ci=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Fi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Hi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=D("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Li=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:_()}),Vi=function(){return Date.now?Date.now():+new Date};Ot("Z",":"),Ot("ZZ",""),X("Z",Qs),X("ZZ",Qs),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=xt(Qs,e)});var ji=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ni=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ai=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Nt.fn=kt.prototype;var Ei=zt(1,"add"),Ii=zt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var zi=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xn("gggg","weekYear"),xn("ggggg","weekYear"),xn("GGGG","isoWeekYear"),xn("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),X("G",Bs),X("g",Bs),X("GG",As,Gs),X("gg",As,Gs),X("GGGG",Zs,js),X("gggg",Zs,js),X("GGGGG",$s,Ns),X("ggggg",$s,Ns),se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=S(e)}),se(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),$("Q",0,"Qo","quarter"),H("quarter","Q"),V("quarter",7),X("Q",Ls),ne("Q",function(e,t){t[si]=3*(S(e)-1)}),$("D",["DD",2],"Do","date"),H("date","D"),V("date",9),X("D",As),X("DD",As,Gs),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ii),ne("Do",function(e,t){t[ii]=S(e.match(As)[0],10)});var Zi=N("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),V("dayOfYear",4),X("DDD",zs),X("DDDD",Vs),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=S(e)}),$("m",["mm",2],0,"minute"),H("minute","m"),V("minute",14),X("m",As),X("mm",As,Gs),ne(["m","mm"],ai);var $i=N("Minutes",!1);$("s",["ss",2],0,"second"),H("second","s"),V("second",15),X("s",As),X("ss",As,Gs),ne(["s","ss"],oi);var qi=N("Seconds",!1);$("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),V("millisecond",16),X("S",zs,Ls),X("SS",zs,Gs),X("SSS",zs,Vs);var Bi;for(Bi="SSSS";Bi.length<=9;Bi+="S")X(Bi,qs);for(Bi="S";Bi.length<=9;Bi+="S")ne(Bi,Hn);var Ji=N("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Qi=p.prototype;Qi.add=Ei,Qi.calendar=qt,Qi.clone=Bt,Qi.diff=nn,Qi.endOf=yn,Qi.format=un,Qi.from=ln,Qi.fromNow=dn,Qi.to=hn,Qi.toNow=cn,Qi.get=I,Qi.invalidAt=Yn,Qi.isAfter=Jt,Qi.isBefore=Qt,Qi.isBetween=Xt,Qi.isSame=Kt,Qi.isSameOrAfter=en,Qi.isSameOrBefore=tn,Qi.isValid=kn,Qi.lang=zi,Qi.locale=fn,Qi.localeData=mn,Qi.max=Gi,Qi.min=Li,Qi.parsingFlags=Dn,Qi.set=z,Qi.startOf=_n,Qi.subtract=Ii,Qi.toArray=vn,Qi.toObject=Sn,Qi.toDate=wn,Qi.toISOString=an,Qi.inspect=on,Qi.toJSON=Mn,Qi.toString=rn,Qi.unix=pn,Qi.valueOf=gn,Qi.creationData=On,Qi.year=gi,Qi.isLeapYear=pe,Qi.weekYear=Tn,Qi.isoWeekYear=bn,Qi.quarter=Qi.quarters=Cn,Qi.month=he,Qi.daysInMonth=ce,Qi.week=Qi.weeks=Te,Qi.isoWeek=Qi.isoWeeks=be,Qi.weeksInYear=Wn,Qi.isoWeeksInYear=Pn,Qi.date=Zi,Qi.day=Qi.days=Le,Qi.weekday=Ge,Qi.isoWeekday=Ve,Qi.dayOfYear=Fn,Qi.hour=Qi.hours=xi,Qi.minute=Qi.minutes=$i,Qi.second=Qi.seconds=qi,Qi.millisecond=Qi.milliseconds=Ji,Qi.utcOffset=Pt,Qi.utc=Rt,Qi.local=Ut,Qi.parseZone=Ct,Qi.hasAlignedHourOffset=Ft,Qi.isDST=Ht,Qi.isLocal=Gt,Qi.isUtcOffset=Vt,Qi.isUtc=jt,Qi.isUTC=jt,Qi.zoneAbbr=Ln,Qi.zoneName=Gn,Qi.dates=D("dates accessor is deprecated. Use date instead.",Zi),Qi.months=D("months accessor is deprecated. Use month instead",he),Qi.years=D("years accessor is deprecated. Use year instead",gi),Qi.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),Qi.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lt);var Xi=b.prototype;Xi.calendar=P,Xi.longDateFormat=W,Xi.invalidDate=R,Xi.ordinal=U,Xi.preparse=Nn,Xi.postformat=Nn,Xi.relativeTime=C,Xi.pastFuture=F,Xi.set=x,Xi.months=ae,Xi.monthsShort=oe,Xi.monthsParse=le,Xi.monthsRegex=me,Xi.monthsShortRegex=fe,Xi.week=Ye,Xi.firstDayOfYear=xe,Xi.firstDayOfWeek=Oe,Xi.weekdays=Re,Xi.weekdaysMin=Ce,Xi.weekdaysShort=Ue,Xi.weekdaysParse=He,Xi.weekdaysRegex=je,Xi.weekdaysShortRegex=Ne,Xi.weekdaysMinRegex=Ae,Xi.isPM=qe,Xi.meridiem=Be,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===S(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=D("moment.lang is deprecated. Use moment.locale instead.",Ke),e.langData=D("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ki=Math.abs,er=as("ms"),tr=as("s"),nr=as("m"),sr=as("h"),ir=as("d"),rr=as("w"),ar=as("M"),or=as("y"),ur=us("milliseconds"),lr=us("seconds"),dr=us("minutes"),hr=us("hours"),cr=us("days"),fr=us("months"),mr=us("years"),_r=Math.round,yr={s:45,m:45,h:22,d:26,M:11},gr=Math.abs,pr=kt.prototype;return pr.abs=Jn,pr.add=Xn,pr.subtract=Kn,pr.as=is,pr.asMilliseconds=er,pr.asSeconds=tr,pr.asMinutes=nr,pr.asHours=sr,pr.asDays=ir,pr.asWeeks=rr,pr.asMonths=ar,pr.asYears=or,pr.valueOf=rs,pr._bubble=ts,pr.get=os,pr.milliseconds=ur,pr.seconds=lr,pr.minutes=dr,pr.hours=hr,pr.days=cr,pr.weeks=ls,pr.months=fr,pr.years=mr,pr.humanize=ms,pr.toISOString=_s,pr.toString=_s,pr.toJSON=_s,pr.locale=fn,pr.localeData=mn,pr.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_s),pr.lang=zi,$("X",0,0,"unix"),$("x",0,0,"valueOf"),X("x",Bs),X("X",Xs),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(S(e))}),e.version="2.17.1",n(wt),e.fn=Qi,e.min=St,e.max=Mt,e.now=Vi,e.utc=h,e.unix=Vn,e.months=zn,e.isDate=o,e.locale=Ke,e.invalid=_,e.duration=Nt,e.isMoment=w,e.weekdays=$n,e.parseZone=jn,e.localeData=nt,e.isDuration=Dt,e.monthsShort=Zn,e.weekdaysMin=Bn,e.defineLocale=et,e.updateLocale=tt,e.locales=st,e.weekdaysShort=qn,e.normalizeUnits=L,e.relativeTimeRounding=cs,e.relativeTimeThreshold=fs,e.calendarFormat=$t,e.prototype=Qi,e})}(); \ No newline at end of file diff --git a/dist/strand-datepicker/strand-datepicker.html b/dist/strand-datepicker/strand-datepicker.html index 1d2c08f3..f199173d 100644 --- a/dist/strand-datepicker/strand-datepicker.html +++ b/dist/strand-datepicker/strand-datepicker.html @@ -3,4 +3,4 @@ * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt --> \ No newline at end of file +"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),r=e?i._week.dow:0;if(null!=n)return An(t,(n+r)%7,s,"day");var o,u=[];for(o=0;o<7;o++)u[o]=An(t,(o+r)%7,s,"day");return u}function zn(e,t){return En(e,t,"months")}function Zn(e,t){return En(e,t,"monthsShort")}function $n(e,t,n){return In(e,t,n,"weekdays")}function qn(e,t,n){return In(e,t,n,"weekdaysShort")}function Bn(e,t,n){return In(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=Ki(this._milliseconds),this._days=Ki(this._days),this._months=Ki(this._months),e.milliseconds=Ki(e.milliseconds),e.seconds=Ki(e.seconds),e.minutes=Ki(e.minutes),e.hours=Ki(e.hours),e.months=Ki(e.months),e.years=Ki(e.years),this}function Qn(e,t,n,s){var i=Nt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Xn(e,t){return Qn(this,e,t,1)}function Kn(e,t){return Qn(this,e,t,-1)}function es(e){return e<0?Math.floor(e):Math.ceil(e)}function ts(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*es(ss(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=v(r/1e3),u.seconds=e%60,t=v(e/60),u.minutes=t%60,n=v(t/60),u.hours=n%24,a+=v(n/24),i=v(ns(a)),o+=i,a-=es(ss(i)),s=v(o/12),o%=12,u.days=a,u.months=o,u.years=s,this}function ns(e){return 4800*e/146097}function ss(e){return 146097*e/4800}function is(e){var t,n,s=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+s/864e5,n=this._months+ns(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ss(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}}function rs(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)}function as(e){return function(){return this.as(e)}}function os(e){return e=L(e),this[e+"s"]()}function us(e){return function(){return this._data[e]}}function ls(){return v(this.days()/7)}function ds(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function hs(e,t,n){var s=Nt(e).abs(),i=_r(s.as("s")),r=_r(s.as("m")),a=_r(s.as("h")),o=_r(s.as("d")),u=_r(s.as("M")),l=_r(s.as("y")),d=i0,d[4]=n,ds.apply(null,d)}function cs(e){return void 0===e?_r:"function"==typeof e&&(_r=e,!0)}function fs(e,t){return void 0!==yr[e]&&(void 0===t?yr[e]:(yr[e]=t,!0))}function ms(e){var t=this.localeData(),n=hs(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _s(){var e,t,n,s=gr(this._milliseconds)/1e3,i=gr(this._days),r=gr(this._months);e=v(s/60),t=v(e/60),s%=60,e%=60,n=v(r/12),r%=12;var a=n,o=r,u=i,l=t,d=e,h=s,c=this.asSeconds();return c?(c<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(u?u+"D":"")+(l||d||h?"T":"")+(l?l+"H":"")+(d?d+"M":"")+(h?h+"S":""):"P0D"}var ys,gs;gs=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s68?1900:2e3)};var gi=N("FullYear",!0);$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),V("week",5),V("isoWeek",5),X("w",As),X("ww",As,Gs),X("W",As),X("WW",As,Gs),se(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=S(e)});var pi={dow:0,doy:6};$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),X("d",As),X("e",As),X("E",As),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),se(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),se(["d","e","E"],function(e,t,n,s){t[s]=S(e)});var wi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Si="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mi=Ks,ki=Ks,Di=Ks;$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Ie),$("k",["kk",2],0,ze),$("hmm",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)}),$("hmmss",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)}),Ze("a",!0),Ze("A",!1),H("hour","h"),V("hour",13),X("a",$e),X("A",$e),X("H",As),X("h",As),X("HH",As,Gs),X("hh",As,Gs),X("hmm",Es),X("hmmss",Is),X("Hmm",Es),X("Hmmss",Is),ne(["H","HH"],ri),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ri]=S(e),f(n).bigHour=!0}),ne("hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s)),f(n).bigHour=!0}),ne("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i)),f(n).bigHour=!0}),ne("Hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s))}),ne("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i))});var Yi,Oi=/[ap]\.?m?\.?/i,xi=N("Hours",!0),Ti={calendar:Ys,longDateFormat:Os,invalidDate:xs,ordinal:Ts,ordinalParse:bs,relativeTime:Ps,months:fi,monthsShort:mi,week:pi,weekdays:wi,weekdaysMin:Si,weekdaysShort:vi,meridiemParse:Oi},bi={},Pi={},Wi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ui=/Z|[+-]\d\d(?::?\d\d)?/,Ci=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Fi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Hi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=D("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Li=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:_()}),Vi=function(){return Date.now?Date.now():+new Date};Ot("Z",":"),Ot("ZZ",""),X("Z",Qs),X("ZZ",Qs),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=xt(Qs,e)});var ji=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ni=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ai=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Nt.fn=kt.prototype;var Ei=zt(1,"add"),Ii=zt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var zi=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xn("gggg","weekYear"),xn("ggggg","weekYear"),xn("GGGG","isoWeekYear"),xn("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),X("G",Bs),X("g",Bs),X("GG",As,Gs),X("gg",As,Gs),X("GGGG",Zs,js),X("gggg",Zs,js),X("GGGGG",$s,Ns),X("ggggg",$s,Ns),se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=S(e)}),se(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),$("Q",0,"Qo","quarter"),H("quarter","Q"),V("quarter",7),X("Q",Ls),ne("Q",function(e,t){t[si]=3*(S(e)-1)}),$("D",["DD",2],"Do","date"),H("date","D"),V("date",9),X("D",As),X("DD",As,Gs),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ii),ne("Do",function(e,t){t[ii]=S(e.match(As)[0],10)});var Zi=N("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),V("dayOfYear",4),X("DDD",zs),X("DDDD",Vs),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=S(e)}),$("m",["mm",2],0,"minute"),H("minute","m"),V("minute",14),X("m",As),X("mm",As,Gs),ne(["m","mm"],ai);var $i=N("Minutes",!1);$("s",["ss",2],0,"second"),H("second","s"),V("second",15),X("s",As),X("ss",As,Gs),ne(["s","ss"],oi);var qi=N("Seconds",!1);$("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),V("millisecond",16),X("S",zs,Ls),X("SS",zs,Gs),X("SSS",zs,Vs);var Bi;for(Bi="SSSS";Bi.length<=9;Bi+="S")X(Bi,qs);for(Bi="S";Bi.length<=9;Bi+="S")ne(Bi,Hn);var Ji=N("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Qi=p.prototype;Qi.add=Ei,Qi.calendar=qt,Qi.clone=Bt,Qi.diff=nn,Qi.endOf=yn,Qi.format=un,Qi.from=ln,Qi.fromNow=dn,Qi.to=hn,Qi.toNow=cn,Qi.get=I,Qi.invalidAt=Yn,Qi.isAfter=Jt,Qi.isBefore=Qt,Qi.isBetween=Xt,Qi.isSame=Kt,Qi.isSameOrAfter=en,Qi.isSameOrBefore=tn,Qi.isValid=kn,Qi.lang=zi,Qi.locale=fn,Qi.localeData=mn,Qi.max=Gi,Qi.min=Li,Qi.parsingFlags=Dn,Qi.set=z,Qi.startOf=_n,Qi.subtract=Ii,Qi.toArray=vn,Qi.toObject=Sn,Qi.toDate=wn,Qi.toISOString=an,Qi.inspect=on,Qi.toJSON=Mn,Qi.toString=rn,Qi.unix=pn,Qi.valueOf=gn,Qi.creationData=On,Qi.year=gi,Qi.isLeapYear=pe,Qi.weekYear=Tn,Qi.isoWeekYear=bn,Qi.quarter=Qi.quarters=Cn,Qi.month=he,Qi.daysInMonth=ce,Qi.week=Qi.weeks=Te,Qi.isoWeek=Qi.isoWeeks=be,Qi.weeksInYear=Wn,Qi.isoWeeksInYear=Pn,Qi.date=Zi,Qi.day=Qi.days=Le,Qi.weekday=Ge,Qi.isoWeekday=Ve,Qi.dayOfYear=Fn,Qi.hour=Qi.hours=xi,Qi.minute=Qi.minutes=$i,Qi.second=Qi.seconds=qi,Qi.millisecond=Qi.milliseconds=Ji,Qi.utcOffset=Pt,Qi.utc=Rt,Qi.local=Ut,Qi.parseZone=Ct,Qi.hasAlignedHourOffset=Ft,Qi.isDST=Ht,Qi.isLocal=Gt,Qi.isUtcOffset=Vt,Qi.isUtc=jt,Qi.isUTC=jt,Qi.zoneAbbr=Ln,Qi.zoneName=Gn,Qi.dates=D("dates accessor is deprecated. Use date instead.",Zi),Qi.months=D("months accessor is deprecated. Use month instead",he),Qi.years=D("years accessor is deprecated. Use year instead",gi),Qi.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),Qi.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lt);var Xi=b.prototype;Xi.calendar=P,Xi.longDateFormat=W,Xi.invalidDate=R,Xi.ordinal=U,Xi.preparse=Nn,Xi.postformat=Nn,Xi.relativeTime=C,Xi.pastFuture=F,Xi.set=x,Xi.months=ae,Xi.monthsShort=oe,Xi.monthsParse=le,Xi.monthsRegex=me,Xi.monthsShortRegex=fe,Xi.week=Ye,Xi.firstDayOfYear=xe,Xi.firstDayOfWeek=Oe,Xi.weekdays=Re,Xi.weekdaysMin=Ce,Xi.weekdaysShort=Ue,Xi.weekdaysParse=He,Xi.weekdaysRegex=je,Xi.weekdaysShortRegex=Ne,Xi.weekdaysMinRegex=Ae,Xi.isPM=qe,Xi.meridiem=Be,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===S(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=D("moment.lang is deprecated. Use moment.locale instead.",Ke),e.langData=D("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ki=Math.abs,er=as("ms"),tr=as("s"),nr=as("m"),sr=as("h"),ir=as("d"),rr=as("w"),ar=as("M"),or=as("y"),ur=us("milliseconds"),lr=us("seconds"),dr=us("minutes"),hr=us("hours"),cr=us("days"),fr=us("months"),mr=us("years"),_r=Math.round,yr={s:45,m:45,h:22,d:26,M:11},gr=Math.abs,pr=kt.prototype;return pr.abs=Jn,pr.add=Xn,pr.subtract=Kn,pr.as=is,pr.asMilliseconds=er,pr.asSeconds=tr,pr.asMinutes=nr,pr.asHours=sr,pr.asDays=ir,pr.asWeeks=rr,pr.asMonths=ar,pr.asYears=or,pr.valueOf=rs,pr._bubble=ts,pr.get=os,pr.milliseconds=ur,pr.seconds=lr,pr.minutes=dr,pr.hours=hr,pr.days=cr,pr.weeks=ls,pr.months=fr,pr.years=mr,pr.humanize=ms,pr.toISOString=_s,pr.toString=_s,pr.toJSON=_s,pr.locale=fn,pr.localeData=mn,pr.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_s),pr.lang=zi,$("X",0,0,"unix"),$("x",0,0,"valueOf"),X("x",Bs),X("X",Xs),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(S(e))}),e.version="2.17.1",n(wt),e.fn=Qi,e.min=St,e.max=Mt,e.now=Vi,e.utc=h,e.unix=Vn,e.months=zn,e.isDate=o,e.locale=Ke,e.invalid=_,e.duration=Nt,e.isMoment=w,e.weekdays=$n,e.parseZone=jn,e.localeData=nt,e.isDuration=Dt,e.monthsShort=Zn,e.weekdaysMin=Bn,e.defineLocale=et,e.updateLocale=tt,e.locales=st,e.weekdaysShort=qn,e.normalizeUnits=L,e.relativeTimeRounding=cs,e.relativeTimeThreshold=fs,e.calendarFormat=$t,e.prototype=Qi,e})}(); \ No newline at end of file diff --git a/dist/strand-dropdown/strand-dropdown.html b/dist/strand-dropdown/strand-dropdown.html index 089a2faf..64b4ee2c 100644 --- a/dist/strand-dropdown/strand-dropdown.html +++ b/dist/strand-dropdown/strand-dropdown.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-file-upload/strand-file-upload.html b/dist/strand-file-upload/strand-file-upload.html index cfb5dccb..8b49c1e1 100644 --- a/dist/strand-file-upload/strand-file-upload.html +++ b/dist/strand-file-upload/strand-file-upload.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-form/strand-form.html b/dist/strand-form/strand-form.html index dd63019b..32866c36 100644 --- a/dist/strand-form/strand-form.html +++ b/dist/strand-form/strand-form.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-grid-column/strand-grid-column.html b/dist/strand-grid-column/strand-grid-column.html index 6cd87a79..aec2ffd3 100644 --- a/dist/strand-grid-column/strand-grid-column.html +++ b/dist/strand-grid-column/strand-grid-column.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-group/strand-group.html b/dist/strand-group/strand-group.html index db9aeed8..ceb6b1ac 100644 --- a/dist/strand-group/strand-group.html +++ b/dist/strand-group/strand-group.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-guide-tooltip/strand-guide-tooltip.html b/dist/strand-guide-tooltip/strand-guide-tooltip.html index 071374c0..ad5a6619 100644 --- a/dist/strand-guide-tooltip/strand-guide-tooltip.html +++ b/dist/strand-guide-tooltip/strand-guide-tooltip.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-guide/strand-guide.html b/dist/strand-guide/strand-guide.html index 668e05c5..8ff331c2 100644 --- a/dist/strand-guide/strand-guide.html +++ b/dist/strand-guide/strand-guide.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-header/strand-header.html b/dist/strand-header/strand-header.html index d31280cd..9c732ea0 100644 --- a/dist/strand-header/strand-header.html +++ b/dist/strand-header/strand-header.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-highlight/strand-highlight.html b/dist/strand-highlight/strand-highlight.html index 474c5f8b..4e557822 100644 --- a/dist/strand-highlight/strand-highlight.html +++ b/dist/strand-highlight/strand-highlight.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-icon/strand-icon.html b/dist/strand-icon/strand-icon.html index 105253cb..30b8200d 100644 --- a/dist/strand-icon/strand-icon.html +++ b/dist/strand-icon/strand-icon.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-inline-box/strand-inline-box.html b/dist/strand-inline-box/strand-inline-box.html index d89c49fa..b23fc5dc 100644 --- a/dist/strand-inline-box/strand-inline-box.html +++ b/dist/strand-inline-box/strand-inline-box.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-input-mask/strand-input-mask.html b/dist/strand-input-mask/strand-input-mask.html index 1e7c0721..632d1fac 100644 --- a/dist/strand-input-mask/strand-input-mask.html +++ b/dist/strand-input-mask/strand-input-mask.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-input/strand-input.html b/dist/strand-input/strand-input.html index fcf47d42..9479b325 100644 --- a/dist/strand-input/strand-input.html +++ b/dist/strand-input/strand-input.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-list-item/strand-list-item.html b/dist/strand-list-item/strand-list-item.html index d7ccbfe5..4224e207 100644 --- a/dist/strand-list-item/strand-list-item.html +++ b/dist/strand-list-item/strand-list-item.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-pulldown-button/strand-pulldown-button.html b/dist/strand-pulldown-button/strand-pulldown-button.html index da531e71..cbcdd850 100644 --- a/dist/strand-pulldown-button/strand-pulldown-button.html +++ b/dist/strand-pulldown-button/strand-pulldown-button.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-radio/strand-radio.html b/dist/strand-radio/strand-radio.html index 8f5a2520..b08f4ead 100644 --- a/dist/strand-radio/strand-radio.html +++ b/dist/strand-radio/strand-radio.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-repeater-row/strand-repeater-row.html b/dist/strand-repeater-row/strand-repeater-row.html index 521e8655..755e3c8a 100644 --- a/dist/strand-repeater-row/strand-repeater-row.html +++ b/dist/strand-repeater-row/strand-repeater-row.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-repeater/strand-repeater.html b/dist/strand-repeater/strand-repeater.html index 54c05d49..57c3cc77 100644 --- a/dist/strand-repeater/strand-repeater.html +++ b/dist/strand-repeater/strand-repeater.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-tab/strand-tab.html b/dist/strand-tab/strand-tab.html index e27c5978..a6e81f1e 100644 --- a/dist/strand-tab/strand-tab.html +++ b/dist/strand-tab/strand-tab.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-tabs/strand-tabs.html b/dist/strand-tabs/strand-tabs.html index 57873444..4518c8b7 100644 --- a/dist/strand-tabs/strand-tabs.html +++ b/dist/strand-tabs/strand-tabs.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-textarea/strand-textarea.html b/dist/strand-textarea/strand-textarea.html index b4dc9f2c..1e2cf0a9 100644 --- a/dist/strand-textarea/strand-textarea.html +++ b/dist/strand-textarea/strand-textarea.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-timeformat/strand-timeformat.html b/dist/strand-timeformat/strand-timeformat.html index d269cb12..a0b40cf2 100644 --- a/dist/strand-timeformat/strand-timeformat.html +++ b/dist/strand-timeformat/strand-timeformat.html @@ -3,4 +3,4 @@ * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt --> \ No newline at end of file +"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),r=e?i._week.dow:0;if(null!=n)return An(t,(n+r)%7,s,"day");var o,u=[];for(o=0;o<7;o++)u[o]=An(t,(o+r)%7,s,"day");return u}function zn(e,t){return En(e,t,"months")}function Zn(e,t){return En(e,t,"monthsShort")}function $n(e,t,n){return In(e,t,n,"weekdays")}function qn(e,t,n){return In(e,t,n,"weekdaysShort")}function Bn(e,t,n){return In(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=Ki(this._milliseconds),this._days=Ki(this._days),this._months=Ki(this._months),e.milliseconds=Ki(e.milliseconds),e.seconds=Ki(e.seconds),e.minutes=Ki(e.minutes),e.hours=Ki(e.hours),e.months=Ki(e.months),e.years=Ki(e.years),this}function Qn(e,t,n,s){var i=Nt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Xn(e,t){return Qn(this,e,t,1)}function Kn(e,t){return Qn(this,e,t,-1)}function es(e){return e<0?Math.floor(e):Math.ceil(e)}function ts(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*es(ss(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=v(r/1e3),u.seconds=e%60,t=v(e/60),u.minutes=t%60,n=v(t/60),u.hours=n%24,a+=v(n/24),i=v(ns(a)),o+=i,a-=es(ss(i)),s=v(o/12),o%=12,u.days=a,u.months=o,u.years=s,this}function ns(e){return 4800*e/146097}function ss(e){return 146097*e/4800}function is(e){var t,n,s=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+s/864e5,n=this._months+ns(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ss(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}}function rs(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)}function as(e){return function(){return this.as(e)}}function os(e){return e=L(e),this[e+"s"]()}function us(e){return function(){return this._data[e]}}function ls(){return v(this.days()/7)}function ds(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function hs(e,t,n){var s=Nt(e).abs(),i=_r(s.as("s")),r=_r(s.as("m")),a=_r(s.as("h")),o=_r(s.as("d")),u=_r(s.as("M")),l=_r(s.as("y")),d=i0,d[4]=n,ds.apply(null,d)}function cs(e){return void 0===e?_r:"function"==typeof e&&(_r=e,!0)}function fs(e,t){return void 0!==yr[e]&&(void 0===t?yr[e]:(yr[e]=t,!0))}function ms(e){var t=this.localeData(),n=hs(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _s(){var e,t,n,s=gr(this._milliseconds)/1e3,i=gr(this._days),r=gr(this._months);e=v(s/60),t=v(e/60),s%=60,e%=60,n=v(r/12),r%=12;var a=n,o=r,u=i,l=t,d=e,h=s,c=this.asSeconds();return c?(c<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(u?u+"D":"")+(l||d||h?"T":"")+(l?l+"H":"")+(d?d+"M":"")+(h?h+"S":""):"P0D"}var ys,gs;gs=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s68?1900:2e3)};var gi=N("FullYear",!0);$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),V("week",5),V("isoWeek",5),X("w",As),X("ww",As,Gs),X("W",As),X("WW",As,Gs),se(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=S(e)});var pi={dow:0,doy:6};$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),X("d",As),X("e",As),X("E",As),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),se(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),se(["d","e","E"],function(e,t,n,s){t[s]=S(e)});var wi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Si="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mi=Ks,ki=Ks,Di=Ks;$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Ie),$("k",["kk",2],0,ze),$("hmm",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)}),$("hmmss",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)}),Ze("a",!0),Ze("A",!1),H("hour","h"),V("hour",13),X("a",$e),X("A",$e),X("H",As),X("h",As),X("HH",As,Gs),X("hh",As,Gs),X("hmm",Es),X("hmmss",Is),X("Hmm",Es),X("Hmmss",Is),ne(["H","HH"],ri),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ri]=S(e),f(n).bigHour=!0}),ne("hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s)),f(n).bigHour=!0}),ne("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i)),f(n).bigHour=!0}),ne("Hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s))}),ne("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i))});var Yi,Oi=/[ap]\.?m?\.?/i,xi=N("Hours",!0),Ti={calendar:Ys,longDateFormat:Os,invalidDate:xs,ordinal:Ts,ordinalParse:bs,relativeTime:Ps,months:fi,monthsShort:mi,week:pi,weekdays:wi,weekdaysMin:Si,weekdaysShort:vi,meridiemParse:Oi},bi={},Pi={},Wi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ui=/Z|[+-]\d\d(?::?\d\d)?/,Ci=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Fi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Hi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=D("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Li=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:_()}),Vi=function(){return Date.now?Date.now():+new Date};Ot("Z",":"),Ot("ZZ",""),X("Z",Qs),X("ZZ",Qs),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=xt(Qs,e)});var ji=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ni=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ai=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Nt.fn=kt.prototype;var Ei=zt(1,"add"),Ii=zt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var zi=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xn("gggg","weekYear"),xn("ggggg","weekYear"),xn("GGGG","isoWeekYear"),xn("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),X("G",Bs),X("g",Bs),X("GG",As,Gs),X("gg",As,Gs),X("GGGG",Zs,js),X("gggg",Zs,js),X("GGGGG",$s,Ns),X("ggggg",$s,Ns),se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=S(e)}),se(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),$("Q",0,"Qo","quarter"),H("quarter","Q"),V("quarter",7),X("Q",Ls),ne("Q",function(e,t){t[si]=3*(S(e)-1)}),$("D",["DD",2],"Do","date"),H("date","D"),V("date",9),X("D",As),X("DD",As,Gs),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ii),ne("Do",function(e,t){t[ii]=S(e.match(As)[0],10)});var Zi=N("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),V("dayOfYear",4),X("DDD",zs),X("DDDD",Vs),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=S(e)}),$("m",["mm",2],0,"minute"),H("minute","m"),V("minute",14),X("m",As),X("mm",As,Gs),ne(["m","mm"],ai);var $i=N("Minutes",!1);$("s",["ss",2],0,"second"),H("second","s"),V("second",15),X("s",As),X("ss",As,Gs),ne(["s","ss"],oi);var qi=N("Seconds",!1);$("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),V("millisecond",16),X("S",zs,Ls),X("SS",zs,Gs),X("SSS",zs,Vs);var Bi;for(Bi="SSSS";Bi.length<=9;Bi+="S")X(Bi,qs);for(Bi="S";Bi.length<=9;Bi+="S")ne(Bi,Hn);var Ji=N("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Qi=p.prototype;Qi.add=Ei,Qi.calendar=qt,Qi.clone=Bt,Qi.diff=nn,Qi.endOf=yn,Qi.format=un,Qi.from=ln,Qi.fromNow=dn,Qi.to=hn,Qi.toNow=cn,Qi.get=I,Qi.invalidAt=Yn,Qi.isAfter=Jt,Qi.isBefore=Qt,Qi.isBetween=Xt,Qi.isSame=Kt,Qi.isSameOrAfter=en,Qi.isSameOrBefore=tn,Qi.isValid=kn,Qi.lang=zi,Qi.locale=fn,Qi.localeData=mn,Qi.max=Gi,Qi.min=Li,Qi.parsingFlags=Dn,Qi.set=z,Qi.startOf=_n,Qi.subtract=Ii,Qi.toArray=vn,Qi.toObject=Sn,Qi.toDate=wn,Qi.toISOString=an,Qi.inspect=on,Qi.toJSON=Mn,Qi.toString=rn,Qi.unix=pn,Qi.valueOf=gn,Qi.creationData=On,Qi.year=gi,Qi.isLeapYear=pe,Qi.weekYear=Tn,Qi.isoWeekYear=bn,Qi.quarter=Qi.quarters=Cn,Qi.month=he,Qi.daysInMonth=ce,Qi.week=Qi.weeks=Te,Qi.isoWeek=Qi.isoWeeks=be,Qi.weeksInYear=Wn,Qi.isoWeeksInYear=Pn,Qi.date=Zi,Qi.day=Qi.days=Le,Qi.weekday=Ge,Qi.isoWeekday=Ve,Qi.dayOfYear=Fn,Qi.hour=Qi.hours=xi,Qi.minute=Qi.minutes=$i,Qi.second=Qi.seconds=qi,Qi.millisecond=Qi.milliseconds=Ji,Qi.utcOffset=Pt,Qi.utc=Rt,Qi.local=Ut,Qi.parseZone=Ct,Qi.hasAlignedHourOffset=Ft,Qi.isDST=Ht,Qi.isLocal=Gt,Qi.isUtcOffset=Vt,Qi.isUtc=jt,Qi.isUTC=jt,Qi.zoneAbbr=Ln,Qi.zoneName=Gn,Qi.dates=D("dates accessor is deprecated. Use date instead.",Zi),Qi.months=D("months accessor is deprecated. Use month instead",he),Qi.years=D("years accessor is deprecated. Use year instead",gi),Qi.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),Qi.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lt);var Xi=b.prototype;Xi.calendar=P,Xi.longDateFormat=W,Xi.invalidDate=R,Xi.ordinal=U,Xi.preparse=Nn,Xi.postformat=Nn,Xi.relativeTime=C,Xi.pastFuture=F,Xi.set=x,Xi.months=ae,Xi.monthsShort=oe,Xi.monthsParse=le,Xi.monthsRegex=me,Xi.monthsShortRegex=fe,Xi.week=Ye,Xi.firstDayOfYear=xe,Xi.firstDayOfWeek=Oe,Xi.weekdays=Re,Xi.weekdaysMin=Ce,Xi.weekdaysShort=Ue,Xi.weekdaysParse=He,Xi.weekdaysRegex=je,Xi.weekdaysShortRegex=Ne,Xi.weekdaysMinRegex=Ae,Xi.isPM=qe,Xi.meridiem=Be,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===S(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=D("moment.lang is deprecated. Use moment.locale instead.",Ke),e.langData=D("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ki=Math.abs,er=as("ms"),tr=as("s"),nr=as("m"),sr=as("h"),ir=as("d"),rr=as("w"),ar=as("M"),or=as("y"),ur=us("milliseconds"),lr=us("seconds"),dr=us("minutes"),hr=us("hours"),cr=us("days"),fr=us("months"),mr=us("years"),_r=Math.round,yr={s:45,m:45,h:22,d:26,M:11},gr=Math.abs,pr=kt.prototype;return pr.abs=Jn,pr.add=Xn,pr.subtract=Kn,pr.as=is,pr.asMilliseconds=er,pr.asSeconds=tr,pr.asMinutes=nr,pr.asHours=sr,pr.asDays=ir,pr.asWeeks=rr,pr.asMonths=ar,pr.asYears=or,pr.valueOf=rs,pr._bubble=ts,pr.get=os,pr.milliseconds=ur,pr.seconds=lr,pr.minutes=dr,pr.hours=hr,pr.days=cr,pr.weeks=ls,pr.months=fr,pr.years=mr,pr.humanize=ms,pr.toISOString=_s,pr.toString=_s,pr.toJSON=_s,pr.locale=fn,pr.localeData=mn,pr.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_s),pr.lang=zi,$("X",0,0,"unix"),$("x",0,0,"valueOf"),X("x",Bs),X("X",Xs),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(S(e))}),e.version="2.17.1",n(wt),e.fn=Qi,e.min=St,e.max=Mt,e.now=Vi,e.utc=h,e.unix=Vn,e.months=zn,e.isDate=o,e.locale=Ke,e.invalid=_,e.duration=Nt,e.isMoment=w,e.weekdays=$n,e.parseZone=jn,e.localeData=nt,e.isDuration=Dt,e.monthsShort=Zn,e.weekdaysMin=Bn,e.defineLocale=et,e.updateLocale=tt,e.locales=st,e.weekdaysShort=qn,e.normalizeUnits=L,e.relativeTimeRounding=cs,e.relativeTimeThreshold=fs,e.calendarFormat=$t,e.prototype=Qi,e})}(); \ No newline at end of file diff --git a/dist/strand-timepicker/strand-timepicker.html b/dist/strand-timepicker/strand-timepicker.html index 88b0cbaf..f64d1779 100644 --- a/dist/strand-timepicker/strand-timepicker.html +++ b/dist/strand-timepicker/strand-timepicker.html @@ -3,4 +3,4 @@ * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt --> \ No newline at end of file +"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),r=e?i._week.dow:0;if(null!=n)return An(t,(n+r)%7,s,"day");var o,u=[];for(o=0;o<7;o++)u[o]=An(t,(o+r)%7,s,"day");return u}function zn(e,t){return En(e,t,"months")}function Zn(e,t){return En(e,t,"monthsShort")}function $n(e,t,n){return In(e,t,n,"weekdays")}function qn(e,t,n){return In(e,t,n,"weekdaysShort")}function Bn(e,t,n){return In(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=Ki(this._milliseconds),this._days=Ki(this._days),this._months=Ki(this._months),e.milliseconds=Ki(e.milliseconds),e.seconds=Ki(e.seconds),e.minutes=Ki(e.minutes),e.hours=Ki(e.hours),e.months=Ki(e.months),e.years=Ki(e.years),this}function Qn(e,t,n,s){var i=Nt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Xn(e,t){return Qn(this,e,t,1)}function Kn(e,t){return Qn(this,e,t,-1)}function es(e){return e<0?Math.floor(e):Math.ceil(e)}function ts(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*es(ss(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=v(r/1e3),u.seconds=e%60,t=v(e/60),u.minutes=t%60,n=v(t/60),u.hours=n%24,a+=v(n/24),i=v(ns(a)),o+=i,a-=es(ss(i)),s=v(o/12),o%=12,u.days=a,u.months=o,u.years=s,this}function ns(e){return 4800*e/146097}function ss(e){return 146097*e/4800}function is(e){var t,n,s=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+s/864e5,n=this._months+ns(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ss(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}}function rs(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)}function as(e){return function(){return this.as(e)}}function os(e){return e=L(e),this[e+"s"]()}function us(e){return function(){return this._data[e]}}function ls(){return v(this.days()/7)}function ds(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function hs(e,t,n){var s=Nt(e).abs(),i=_r(s.as("s")),r=_r(s.as("m")),a=_r(s.as("h")),o=_r(s.as("d")),u=_r(s.as("M")),l=_r(s.as("y")),d=i0,d[4]=n,ds.apply(null,d)}function cs(e){return void 0===e?_r:"function"==typeof e&&(_r=e,!0)}function fs(e,t){return void 0!==yr[e]&&(void 0===t?yr[e]:(yr[e]=t,!0))}function ms(e){var t=this.localeData(),n=hs(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _s(){var e,t,n,s=gr(this._milliseconds)/1e3,i=gr(this._days),r=gr(this._months);e=v(s/60),t=v(e/60),s%=60,e%=60,n=v(r/12),r%=12;var a=n,o=r,u=i,l=t,d=e,h=s,c=this.asSeconds();return c?(c<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(u?u+"D":"")+(l||d||h?"T":"")+(l?l+"H":"")+(d?d+"M":"")+(h?h+"S":""):"P0D"}var ys,gs;gs=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s68?1900:2e3)};var gi=N("FullYear",!0);$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),V("week",5),V("isoWeek",5),X("w",As),X("ww",As,Gs),X("W",As),X("WW",As,Gs),se(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=S(e)});var pi={dow:0,doy:6};$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),X("d",As),X("e",As),X("E",As),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),se(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),se(["d","e","E"],function(e,t,n,s){t[s]=S(e)});var wi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Si="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mi=Ks,ki=Ks,Di=Ks;$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Ie),$("k",["kk",2],0,ze),$("hmm",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)}),$("hmmss",0,0,function(){return""+Ie.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)}),Ze("a",!0),Ze("A",!1),H("hour","h"),V("hour",13),X("a",$e),X("A",$e),X("H",As),X("h",As),X("HH",As,Gs),X("hh",As,Gs),X("hmm",Es),X("hmmss",Is),X("Hmm",Es),X("Hmmss",Is),ne(["H","HH"],ri),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ri]=S(e),f(n).bigHour=!0}),ne("hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s)),f(n).bigHour=!0}),ne("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i)),f(n).bigHour=!0}),ne("Hmm",function(e,t,n){var s=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s))}),ne("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ri]=S(e.substr(0,s)),t[ai]=S(e.substr(s,2)),t[oi]=S(e.substr(i))});var Yi,Oi=/[ap]\.?m?\.?/i,xi=N("Hours",!0),Ti={calendar:Ys,longDateFormat:Os,invalidDate:xs,ordinal:Ts,ordinalParse:bs,relativeTime:Ps,months:fi,monthsShort:mi,week:pi,weekdays:wi,weekdaysMin:Si,weekdaysShort:vi,meridiemParse:Oi},bi={},Pi={},Wi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ui=/Z|[+-]\d\d(?::?\d\d)?/,Ci=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Fi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Hi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=D("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Li=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:_()}),Vi=function(){return Date.now?Date.now():+new Date};Ot("Z",":"),Ot("ZZ",""),X("Z",Qs),X("ZZ",Qs),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=xt(Qs,e)});var ji=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ni=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ai=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Nt.fn=kt.prototype;var Ei=zt(1,"add"),Ii=zt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var zi=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xn("gggg","weekYear"),xn("ggggg","weekYear"),xn("GGGG","isoWeekYear"),xn("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),X("G",Bs),X("g",Bs),X("GG",As,Gs),X("gg",As,Gs),X("GGGG",Zs,js),X("gggg",Zs,js),X("GGGGG",$s,Ns),X("ggggg",$s,Ns),se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=S(e)}),se(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),$("Q",0,"Qo","quarter"),H("quarter","Q"),V("quarter",7),X("Q",Ls),ne("Q",function(e,t){t[si]=3*(S(e)-1)}),$("D",["DD",2],"Do","date"),H("date","D"),V("date",9),X("D",As),X("DD",As,Gs),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ii),ne("Do",function(e,t){t[ii]=S(e.match(As)[0],10)});var Zi=N("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),V("dayOfYear",4),X("DDD",zs),X("DDDD",Vs),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=S(e)}),$("m",["mm",2],0,"minute"),H("minute","m"),V("minute",14),X("m",As),X("mm",As,Gs),ne(["m","mm"],ai);var $i=N("Minutes",!1);$("s",["ss",2],0,"second"),H("second","s"),V("second",15),X("s",As),X("ss",As,Gs),ne(["s","ss"],oi);var qi=N("Seconds",!1);$("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),V("millisecond",16),X("S",zs,Ls),X("SS",zs,Gs),X("SSS",zs,Vs);var Bi;for(Bi="SSSS";Bi.length<=9;Bi+="S")X(Bi,qs);for(Bi="S";Bi.length<=9;Bi+="S")ne(Bi,Hn);var Ji=N("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Qi=p.prototype;Qi.add=Ei,Qi.calendar=qt,Qi.clone=Bt,Qi.diff=nn,Qi.endOf=yn,Qi.format=un,Qi.from=ln,Qi.fromNow=dn,Qi.to=hn,Qi.toNow=cn,Qi.get=I,Qi.invalidAt=Yn,Qi.isAfter=Jt,Qi.isBefore=Qt,Qi.isBetween=Xt,Qi.isSame=Kt,Qi.isSameOrAfter=en,Qi.isSameOrBefore=tn,Qi.isValid=kn,Qi.lang=zi,Qi.locale=fn,Qi.localeData=mn,Qi.max=Gi,Qi.min=Li,Qi.parsingFlags=Dn,Qi.set=z,Qi.startOf=_n,Qi.subtract=Ii,Qi.toArray=vn,Qi.toObject=Sn,Qi.toDate=wn,Qi.toISOString=an,Qi.inspect=on,Qi.toJSON=Mn,Qi.toString=rn,Qi.unix=pn,Qi.valueOf=gn,Qi.creationData=On,Qi.year=gi,Qi.isLeapYear=pe,Qi.weekYear=Tn,Qi.isoWeekYear=bn,Qi.quarter=Qi.quarters=Cn,Qi.month=he,Qi.daysInMonth=ce,Qi.week=Qi.weeks=Te,Qi.isoWeek=Qi.isoWeeks=be,Qi.weeksInYear=Wn,Qi.isoWeeksInYear=Pn,Qi.date=Zi,Qi.day=Qi.days=Le,Qi.weekday=Ge,Qi.isoWeekday=Ve,Qi.dayOfYear=Fn,Qi.hour=Qi.hours=xi,Qi.minute=Qi.minutes=$i,Qi.second=Qi.seconds=qi,Qi.millisecond=Qi.milliseconds=Ji,Qi.utcOffset=Pt,Qi.utc=Rt,Qi.local=Ut,Qi.parseZone=Ct,Qi.hasAlignedHourOffset=Ft,Qi.isDST=Ht,Qi.isLocal=Gt,Qi.isUtcOffset=Vt,Qi.isUtc=jt,Qi.isUTC=jt,Qi.zoneAbbr=Ln,Qi.zoneName=Gn,Qi.dates=D("dates accessor is deprecated. Use date instead.",Zi),Qi.months=D("months accessor is deprecated. Use month instead",he),Qi.years=D("years accessor is deprecated. Use year instead",gi),Qi.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),Qi.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lt);var Xi=b.prototype;Xi.calendar=P,Xi.longDateFormat=W,Xi.invalidDate=R,Xi.ordinal=U,Xi.preparse=Nn,Xi.postformat=Nn,Xi.relativeTime=C,Xi.pastFuture=F,Xi.set=x,Xi.months=ae,Xi.monthsShort=oe,Xi.monthsParse=le,Xi.monthsRegex=me,Xi.monthsShortRegex=fe,Xi.week=Ye,Xi.firstDayOfYear=xe,Xi.firstDayOfWeek=Oe,Xi.weekdays=Re,Xi.weekdaysMin=Ce,Xi.weekdaysShort=Ue,Xi.weekdaysParse=He,Xi.weekdaysRegex=je,Xi.weekdaysShortRegex=Ne,Xi.weekdaysMinRegex=Ae,Xi.isPM=qe,Xi.meridiem=Be,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===S(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=D("moment.lang is deprecated. Use moment.locale instead.",Ke),e.langData=D("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ki=Math.abs,er=as("ms"),tr=as("s"),nr=as("m"),sr=as("h"),ir=as("d"),rr=as("w"),ar=as("M"),or=as("y"),ur=us("milliseconds"),lr=us("seconds"),dr=us("minutes"),hr=us("hours"),cr=us("days"),fr=us("months"),mr=us("years"),_r=Math.round,yr={s:45,m:45,h:22,d:26,M:11},gr=Math.abs,pr=kt.prototype;return pr.abs=Jn,pr.add=Xn,pr.subtract=Kn,pr.as=is,pr.asMilliseconds=er,pr.asSeconds=tr,pr.asMinutes=nr,pr.asHours=sr,pr.asDays=ir,pr.asWeeks=rr,pr.asMonths=ar,pr.asYears=or,pr.valueOf=rs,pr._bubble=ts,pr.get=os,pr.milliseconds=ur,pr.seconds=lr,pr.minutes=dr,pr.hours=hr,pr.days=cr,pr.weeks=ls,pr.months=fr,pr.years=mr,pr.humanize=ms,pr.toISOString=_s,pr.toString=_s,pr.toJSON=_s,pr.locale=fn,pr.localeData=mn,pr.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_s),pr.lang=zi,$("X",0,0,"unix"),$("x",0,0,"valueOf"),X("x",Bs),X("X",Xs),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(S(e))}),e.version="2.17.1",n(wt),e.fn=Qi,e.min=St,e.max=Mt,e.now=Vi,e.utc=h,e.unix=Vn,e.months=zn,e.isDate=o,e.locale=Ke,e.invalid=_,e.duration=Nt,e.isMoment=w,e.weekdays=$n,e.parseZone=jn,e.localeData=nt,e.isDuration=Dt,e.monthsShort=Zn,e.weekdaysMin=Bn,e.defineLocale=et,e.updateLocale=tt,e.locales=st,e.weekdaysShort=qn,e.normalizeUnits=L,e.relativeTimeRounding=cs,e.relativeTimeThreshold=fs,e.calendarFormat=$t,e.prototype=Qi,e})}(); \ No newline at end of file diff --git a/dist/strand-tooltip/strand-tooltip.html b/dist/strand-tooltip/strand-tooltip.html index aba3c006..2943c3bb 100644 --- a/dist/strand-tooltip/strand-tooltip.html +++ b/dist/strand-tooltip/strand-tooltip.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-view-manager/strand-view-manager.html b/dist/strand-view-manager/strand-view-manager.html index 34d90c37..ad6fc457 100644 --- a/dist/strand-view-manager/strand-view-manager.html +++ b/dist/strand-view-manager/strand-view-manager.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-wizard-ribbon/strand-wizard-ribbon.html b/dist/strand-wizard-ribbon/strand-wizard-ribbon.html index c03398fc..69afc2d5 100644 --- a/dist/strand-wizard-ribbon/strand-wizard-ribbon.html +++ b/dist/strand-wizard-ribbon/strand-wizard-ribbon.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand-wizard/strand-wizard.html b/dist/strand-wizard/strand-wizard.html index 49755cf0..60cd2875 100644 --- a/dist/strand-wizard/strand-wizard.html +++ b/dist/strand-wizard/strand-wizard.html @@ -2,4 +2,4 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file + --> \ No newline at end of file diff --git a/dist/strand.html b/dist/strand.html index 560d9ee1..6ffd9c75 100644 --- a/dist/strand.html +++ b/dist/strand.html @@ -2,8 +2,8 @@ * @license * Copyright (c) 2015 MediaMath Inc. All rights reserved. * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt - --> \ No newline at end of file +n&&e.updateNativeStyleProperties(document.documentElement,this.customStyle)}};return r}(),function(){"use strict";var e=Polymer.Base.serializeValueToAttribute,t=Polymer.StyleProperties,n=Polymer.StyleTransformer,r=Polymer.StyleDefaults,s=Polymer.Settings.useNativeShadow,i=Polymer.Settings.useNativeCSSProperties;Polymer.Base._addFeature({_prepStyleProperties:function(){i||(this._ownStylePropertyNames=this._styles&&this._styles.length?t.decorateStyles(this._styles,this):null)},customStyle:null,getComputedStyleValue:function(e){return i||this._styleProperties||this._computeStyleProperties(),!i&&this._styleProperties&&this._styleProperties[e]||getComputedStyle(this).getPropertyValue(e)},_setupStyleProperties:function(){this.customStyle={},this._styleCache=null,this._styleProperties=null,this._scopeSelector=null,this._ownStyleProperties=null,this._customStyle=null},_needsStyleProperties:function(){return Boolean(!i&&this._ownStylePropertyNames&&this._ownStylePropertyNames.length)},_validateApplyShim:function(){if(this.__applyShimInvalid){Polymer.ApplyShim.transform(this._styles,this.__proto__);var e=n.elementStyles(this);if(s){var t=this._template.content.querySelector("style");t&&(t.textContent=e)}else{var r=this._scopeStyle&&this._scopeStyle.nextSibling;r&&(r.textContent=e)}}},_beforeAttached:function(){this._scopeSelector&&!this.__stylePropertiesInvalid||!this._needsStyleProperties()||(this.__stylePropertiesInvalid=!1,this._updateStyleProperties())},_findStyleHost:function(){for(var e,t=this;e=Polymer.dom(t).getOwnerRoot();){if(Polymer.isInstance(e.host))return e.host;t=e.host}return r},_updateStyleProperties:function(){var e,n=this._findStyleHost();n._styleProperties||n._computeStyleProperties(),n._styleCache||(n._styleCache=new Polymer.StyleCache);var r=t.propertyDataFromStyles(n._styles,this),i=!this.__notStyleScopeCacheable;i&&(r.key.customStyle=this.customStyle,e=n._styleCache.retrieve(this.is,r.key,this._styles));var a=Boolean(e);a?this._styleProperties=e._styleProperties:this._computeStyleProperties(r.properties),this._computeOwnStyleProperties(),a||(e=o.retrieve(this.is,this._ownStyleProperties,this._styles));var l=Boolean(e)&&!a,c=this._applyStyleProperties(e);a||(c=c&&s?c.cloneNode(!0):c,e={style:c,_scopeSelector:this._scopeSelector,_styleProperties:this._styleProperties},i&&(r.key.customStyle={},this.mixin(r.key.customStyle,this.customStyle),n._styleCache.store(this.is,e,r.key,this._styles)),l||o.store(this.is,Object.create(e),this._ownStyleProperties,this._styles))},_computeStyleProperties:function(e){var n=this._findStyleHost();n._styleProperties||n._computeStyleProperties();var r=Object.create(n._styleProperties),s=t.hostAndRootPropertiesForScope(this);this.mixin(r,s.hostProps),e=e||t.propertyDataFromStyles(n._styles,this).properties,this.mixin(r,e),this.mixin(r,s.rootProps),t.mixinCustomStyle(r,this.customStyle),t.reify(r),this._styleProperties=r},_computeOwnStyleProperties:function(){for(var e,t={},n=0;n0&&l.push(t);return[{removed:a,added:l}]}},Polymer.Collection.get=function(e){return Polymer._collections.get(e)||new Polymer.Collection(e)},Polymer.Collection.applySplices=function(e,t){var n=Polymer._collections.get(e);return n?n._applySplices(t):null},Polymer({is:"dom-repeat",extends:"template",_template:null,properties:{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},sort:{type:Function,observer:"_sortChanged"},filter:{type:Function,observer:"_filterChanged"},observe:{type:String,observer:"_observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!0,readOnly:!0},initialCount:{type:Number,observer:"_initializeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"_computeFrameTime(targetFramerate)"}},behaviors:[Polymer.Templatizer],observers:["_itemsChanged(items.*)"],created:function(){this._instances=[],this._pool=[],this._limit=1/0;var e=this;this._boundRenderChunk=function(){e._renderChunk()}},detached:function(){this.__isDetached=!0;for(var e=0;e=0;t--){var n=this._instances[t];n.isPlaceholder&&t=this._limit&&(n=this._downgradeInstance(t,n.__key__)),e[n.__key__]=t,n.isPlaceholder||n.__setProperty(this.indexAs,t,!0)}this._pool.length=0,this._setRenderedItemCount(this._instances.length),this.fire("dom-change"),this._tryRenderChunk()},_applyFullRefresh:function(){var e,t=this.collection;if(this._sortFn)e=t?t.getKeys():[];else{e=[];var n=this.items;if(n)for(var r=0;r=r;a--)this._detachAndRemoveInstance(a)},_numericSort:function(e,t){return e-t},_applySplicesUserSort:function(e){for(var t,n,r=this.collection,s={},i=0;i=0;i--){var c=a[i];void 0!==c&&this._detachAndRemoveInstance(c)}var h=this;if(l.length){this._filterFn&&(l=l.filter(function(e){return h._filterFn(r.getItem(e))})),l.sort(function(e,t){return h._sortFn(r.getItem(e),r.getItem(t))});var u=0;for(i=0;i>1,a=this._instances[o].__key__,l=this._sortFn(n.getItem(a),r);if(l<0)e=o+1;else{if(!(l>0)){i=o;break}s=o-1}}return i<0&&(i=s+1),this._insertPlaceholder(i,t),i},_applySplicesArrayOrder:function(e){for(var t,n=0;n=0?(e=this.as+"."+e.substring(n+1),i._notifyPath(e,t,!0)):i.__setProperty(this.as,t,!0))}},itemForElement:function(e){var t=this.modelForElement(e);return t&&t[this.as]},keyForElement:function(e){var t=this.modelForElement(e);return t&&t.__key__},indexForElement:function(e){var t=this.modelForElement(e);return t&&t[this.indexAs]}}),Polymer({is:"array-selector",_template:null,properties:{items:{type:Array,observer:"clearSelection"},multi:{type:Boolean,value:!1,observer:"clearSelection"},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}},clearSelection:function(){if(Array.isArray(this.selected))for(var e=0;e \ No newline at end of file diff --git a/package.json b/package.json index 7510843a..c119e03b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "strand", - "version": "4.2.3", + "version": "4.3.0", "description": "MediaMath UI-Framework based on polymer.js", "repository": { "type": "git",