uniform-ui 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/uniform.es5.js +1 -0
- data/lib/assets/javascripts/{uniform-jquery.js → uniform.jquery.js} +0 -0
- data/lib/assets/javascripts/uniform.js +2 -0
- data/lib/assets/javascripts/uniform/resizer.js +1 -1
- data/lib/assets/stylesheets/uniform/components/row.scss +38 -48
- data/lib/assets/stylesheets/uniform/components/table.scss +2 -2
- data/lib/assets/stylesheets/uniform/components/thumb.scss +9 -9
- data/lib/assets/stylesheets/uniform/helpers/position.scss +1 -0
- data/lib/assets/stylesheets/uniform/helpers/text.scss +7 -0
- data/lib/uniform/version.rb +1 -1
- metadata +4 -4
- data/lib/assets/javascripts/uniform-es5.js +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 143d67c2923a932a2dac22c38c5d34b3c34d20ee9342f5b78dd3b16186519586
|
4
|
+
data.tar.gz: 137630fa26775f6a2daebad301f5b180d739dbf56cec8b36e315cc06521abb61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95ada558865451809abc9d757fc5fde4d2aeec45bf47d7403d57ac7e077a8d49abfcdf27fca692efc86341a3429b79440ee01a369effcb593a04d998f171856a
|
7
|
+
data.tar.gz: 4ed537a653c15ebdd10d3365d5c79e5f8db3ada7ba71f89e685dd538eb2b3aec6c1fc3a94dd63db0ceadacb375eee09478d86c37e3f836704e5cfbb15861ddde
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}var v=t(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),y=t(function(t){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)}),m=(y.version,function(n,o,t){if(function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!")}(n),void 0===o)return n;switch(t){case 1:return function(t){return n.call(o,t)};case 2:return function(t,e){return n.call(o,t,e)};case 3:return function(t,e,i){return n.call(o,t,e,i)}}return function(){return n.apply(o,arguments)}}),h=function(t){return"object"==typeof t?null!==t:"function"==typeof t},r=function(t){if(!h(t))throw TypeError(t+" is not an object!");return t},c=function(t){try{return!!t()}catch(t){return!0}},n=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),e=v.document,i=h(e)&&h(e.createElement),o=function(t){return i?e.createElement(t):{}},s=!n&&!c(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}),l=function(t,e){if(!h(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!h(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!h(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!h(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},a=Object.defineProperty,u={f:n?Object.defineProperty:function(t,e,i){if(r(t),e=l(e,!0),r(i),s)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},_=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},S=n?function(t,e,i){return u.f(t,e,_(1,i))}:function(t,e,i){return t[e]=i,t},d={}.hasOwnProperty,b=function(t,e){return d.call(t,e)},g="prototype",w=function(t,e,i){var n,o,s,r=t&w.F,l=t&w.G,h=t&w.S,c=t&w.P,a=t&w.B,u=t&w.W,d=l?y:y[e]||(y[e]={}),p=d[g],f=l?v:h?v[e]:(v[e]||{})[g];for(n in l&&(i=e),i)(o=!r&&f&&void 0!==f[n])&&b(d,n)||(s=o?f[n]:i[n],d[n]=l&&"function"!=typeof f[n]?i[n]:a&&o?m(s,v):u&&f[n]==s?function(n){var t=function(t,e,i){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(t);case 2:return new n(t,e)}return new n(t,e,i)}return n.apply(this,arguments)};return t[g]=n[g],t}(s):c&&"function"==typeof s?m(Function.call,s):s,c&&((d.virtual||(d.virtual={}))[n]=s,t&w.R&&p&&!p[n]&&S(p,n,s)))};w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128;var p,L=w,f={}.toString,k=function(t){return f.call(t).slice(8,-1)},E=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==k(t)?t.split(""):Object(t)},x=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},O=function(t){return E(x(t))},C=Math.ceil,z=Math.floor,T=function(t){return isNaN(t=+t)?0:(0<t?z:C)(t)},j=Math.min,M=Math.max,P=Math.min,N=t(function(t){var e="__core-js_shared__",i=v[e]||(v[e]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:y.version,mode:"pure",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})}),A=0,H=Math.random(),W=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++A+H).toString(36))},q=N("keys"),F=function(t){return q[t]||(q[t]=W(t))},I=(p=!1,function(t,e,i){var n,o,s,r,l=O(t),h=0<(n=l.length)?j(T(n),9007199254740991):0,c=(s=h,(o=T(o=i))<0?M(o+s,0):P(o,s));if(p&&e!=e){for(;c<h;)if((r=l[c++])!=r)return!0}else for(;c<h;c++)if((p||c in l)&&l[c]===e)return p||c||0;return!p&&-1}),B=F("IE_PROTO"),D=function(t,e){var i,n=O(t),o=0,s=[];for(i in n)i!=B&&b(n,i)&&s.push(i);for(;e.length>o;)b(n,i=e[o++])&&(~I(s,i)||s.push(i));return s},R="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),G=Object.keys||function(t){return D(t,R)},Y={f:Object.getOwnPropertySymbols},V={f:{}.propertyIsEnumerable},K=function(t){return Object(x(t))},J=Object.assign,Q=!J||c(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=J({},t)[i]||Object.keys(J({},e)).join("")!=n})?function(t,e){for(var i=K(t),n=arguments.length,o=1,s=Y.f,r=V.f;o<n;)for(var l,h=E(arguments[o++]),c=s?G(h).concat(s(h)):G(h),a=c.length,u=0;u<a;)r.call(h,l=c[u++])&&(i[l]=h[l]);return i}:J;L(L.S+L.F,"Object",{assign:Q});var U=y.Object.assign,X=function(t,e){var i=(y.Object||{})[t]||Object[t],n={};n[t]=e(i),L(L.S+L.F*c(function(){i(1)}),"Object",n)};X("keys",function(){return function(t){return G(K(t))}});var Z=y.Object.keys;var tt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};L(L.S+L.F*!n,"Object",{defineProperty:u.f});var et=y.Object,it=function(t,e,i){return et.defineProperty(t,e,i)};function nt(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),it(t,n.key,n)}}var ot=function(t,e,i){return e&&nt(t.prototype,e),i&&nt(t,i),t},st=S,rt=n?Object.defineProperties:function(t,e){r(t);for(var i,n=G(e),o=n.length,s=0;s<o;)u.f(t,i=n[s++],e[i]);return t},lt=v.document,ht=lt&<.documentElement,ct=F("IE_PROTO"),at=function(){},ut="prototype",dt=function(){var t,e=o("iframe"),i=R.length;for(e.style.display="none",ht.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),dt=t.F;i--;)delete dt[ut][R[i]];return dt()},pt=Object.create||function(t,e){var i;return null!==t?(at[ut]=r(t),i=new at,at[ut]=null,i[ct]=t):i=dt(),void 0===e?i:rt(i,e)},ft=t(function(t){var e=N("wks"),i=v.Symbol,n="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=n&&i[t]||(n?i:W)("Symbol."+t))}).store=e}),vt=u.f,yt=ft("toStringTag"),mt=function(t,e,i){t&&!b(t=i?t:t.prototype,yt)&&vt(t,yt,{configurable:!0,value:e})},bt={};S(bt,ft("iterator"),function(){return this});var gt,wt=F("IE_PROTO"),kt=Object.prototype,_t=Object.getPrototypeOf||function(t){return t=K(t),b(t,wt)?t[wt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?kt:null},St=ft("iterator"),Lt=!([].keys&&"next"in[].keys()),Et="values",xt=function(t,e,i,n,o,s,r){var l,h,c;h=e,c=n,(l=i).prototype=pt(bt,{next:_(1,c)}),mt(l,h+" Iterator");var a,u,d,p=function(t){if(!Lt&&t in m)return m[t];switch(t){case"keys":case Et:return function(){return new i(this,t)}}return function(){return new i(this,t)}},f=e+" Iterator",v=o==Et,y=!1,m=t.prototype,b=m[St]||m["@@iterator"]||o&&m[o],g=b||p(o),w=o?v?p("entries"):g:void 0,k="Array"==e&&m.entries||b;if(k&&(d=_t(k.call(new t)))!==Object.prototype&&d.next&&mt(d,f,!0),v&&b&&b.name!==Et&&(y=!0,g=function(){return b.call(this)}),r&&(Lt||y||!m[St])&&S(m,St,g),o)if(a={values:v?g:p(Et),keys:s?g:p("keys"),entries:w},r)for(u in a)u in m||st(m,u,a[u]);else L(L.P+L.F*(Lt||y),e,a);return a},Ot=(gt=!0,function(t,e){var i,n,o=String(x(t)),s=T(e),r=o.length;return s<0||r<=s?gt?"":void 0:(i=o.charCodeAt(s))<55296||56319<i||s+1===r||(n=o.charCodeAt(s+1))<56320||57343<n?gt?o.charAt(s):i:gt?o.slice(s,s+2):n-56320+(i-55296<<10)+65536});xt(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=Ot(e,i),this._i+=t.length,{value:t,done:!1})});for(var Ct=function(t,e){return{value:e,done:!!t}},zt=(xt(Array,"Array",function(t,e){this._t=O(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,Ct(1)):Ct(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),ft("toStringTag")),Tt="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),jt=0;jt<Tt.length;jt++){var Mt=Tt[jt],Pt=v[Mt],Nt=Pt&&Pt.prototype;Nt&&!Nt[zt]&&S(Nt,zt,Mt)}var At={f:ft},Ht=At.f("iterator"),Wt=t(function(t){var i=W("meta"),e=u.f,n=0,o=Object.isExtensible||function(){return!0},s=!c(function(){return o(Object.preventExtensions({}))}),r=function(t){e(t,i,{value:{i:"O"+ ++n,w:{}}})},l=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!h(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!b(t,i)){if(!o(t))return"F";if(!e)return"E";r(t)}return t[i].i},getWeak:function(t,e){if(!b(t,i)){if(!o(t))return!0;if(!e)return!1;r(t)}return t[i].w},onFreeze:function(t){return s&&l.NEED&&o(t)&&!b(t,i)&&r(t),t}}}),qt=(Wt.KEY,Wt.NEED,Wt.fastKey,Wt.getWeak,Wt.onFreeze,u.f),Ft=function(t){var e=y.Symbol||(y.Symbol={});"_"==t.charAt(0)||t in e||qt(e,t,{value:At.f(t)})},It=Array.isArray||function(t){return"Array"==k(t)},$t=R.concat("length","prototype"),Bt={f:Object.getOwnPropertyNames||function(t){return D(t,$t)}},Dt=Bt.f,Rt={}.toString,Gt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Yt={f:function(t){return Gt&&"[object Window]"==Rt.call(t)?function(t){try{return Dt(t)}catch(t){return Gt.slice()}}(t):Dt(O(t))}},Vt=Object.getOwnPropertyDescriptor,Kt={f:n?Vt:function(t,e){if(t=O(t),e=l(e,!0),s)try{return Vt(t,e)}catch(t){}if(b(t,e))return _(!V.f.call(t,e),t[e])}},Jt=Wt.KEY,Qt=Kt.f,Ut=u.f,Xt=Yt.f,Zt=v.Symbol,te=v.JSON,ee=te&&te.stringify,ie="prototype",ne=ft("_hidden"),oe=ft("toPrimitive"),se={}.propertyIsEnumerable,re=N("symbol-registry"),le=N("symbols"),he=N("op-symbols"),ce=Object[ie],ae="function"==typeof Zt,ue=v.QObject,de=!ue||!ue[ie]||!ue[ie].findChild,pe=n&&c(function(){return 7!=pt(Ut({},"a",{get:function(){return Ut(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=Qt(ce,e);n&&delete ce[e],Ut(t,e,i),n&&t!==ce&&Ut(ce,e,n)}:Ut,fe=function(t){var e=le[t]=pt(Zt[ie]);return e._k=t,e},ve=ae&&"symbol"==typeof Zt.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Zt},ye=function(t,e,i){return t===ce&&ye(he,e,i),r(t),e=l(e,!0),r(i),b(le,e)?(i.enumerable?(b(t,ne)&&t[ne][e]&&(t[ne][e]=!1),i=pt(i,{enumerable:_(0,!1)})):(b(t,ne)||Ut(t,ne,_(1,{})),t[ne][e]=!0),pe(t,e,i)):Ut(t,e,i)},me=function(t,e){r(t);for(var i,n=function(t){var e=G(t),i=Y.f;if(i)for(var n,o=i(t),s=V.f,r=0;o.length>r;)s.call(t,n=o[r++])&&e.push(n);return e}(e=O(e)),o=0,s=n.length;o<s;)ye(t,i=n[o++],e[i]);return t},be=function(t){var e=se.call(this,t=l(t,!0));return!(this===ce&&b(le,t)&&!b(he,t))&&(!(e||!b(this,t)||!b(le,t)||b(this,ne)&&this[ne][t])||e)},ge=function(t,e){if(t=O(t),e=l(e,!0),t!==ce||!b(le,e)||b(he,e)){var i=Qt(t,e);return!i||!b(le,e)||b(t,ne)&&t[ne][e]||(i.enumerable=!0),i}},we=function(t){for(var e,i=Xt(O(t)),n=[],o=0;i.length>o;)b(le,e=i[o++])||e==ne||e==Jt||n.push(e);return n},ke=function(t){for(var e,i=t===ce,n=Xt(i?he:O(t)),o=[],s=0;n.length>s;)!b(le,e=n[s++])||i&&!b(ce,e)||o.push(le[e]);return o};ae||(st((Zt=function(){if(this instanceof Zt)throw TypeError("Symbol is not a constructor!");var e=W(0<arguments.length?arguments[0]:void 0),i=function(t){this===ce&&i.call(he,t),b(this,ne)&&b(this[ne],e)&&(this[ne][e]=!1),pe(this,e,_(1,t))};return n&&de&&pe(ce,e,{configurable:!0,set:i}),fe(e)})[ie],"toString",function(){return this._k}),Kt.f=ge,u.f=ye,Bt.f=Yt.f=we,V.f=be,Y.f=ke,At.f=function(t){return fe(ft(t))}),L(L.G+L.W+L.F*!ae,{Symbol:Zt});for(var _e="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Se=0;_e.length>Se;)ft(_e[Se++]);for(var Le=G(ft.store),Ee=0;Le.length>Ee;)Ft(Le[Ee++]);L(L.S+L.F*!ae,"Symbol",{for:function(t){return b(re,t+="")?re[t]:re[t]=Zt(t)},keyFor:function(t){if(!ve(t))throw TypeError(t+" is not a symbol!");for(var e in re)if(re[e]===t)return e},useSetter:function(){de=!0},useSimple:function(){de=!1}}),L(L.S+L.F*!ae,"Object",{create:function(t,e){return void 0===e?pt(t):me(pt(t),e)},defineProperty:ye,defineProperties:me,getOwnPropertyDescriptor:ge,getOwnPropertyNames:we,getOwnPropertySymbols:ke}),te&&L(L.S+L.F*(!ae||c(function(){var t=Zt();return"[null]"!=ee([t])||"{}"!=ee({a:t})||"{}"!=ee(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(i=e=n[1],(h(e)||void 0!==t)&&!ve(t))return It(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!ve(e))return e}),n[1]=e,ee.apply(te,n)}}),Zt[ie][oe]||S(Zt[ie],oe,Zt[ie].valueOf),mt(Zt,"Symbol"),mt(Math,"Math",!0),mt(v.JSON,"JSON",!0),Ft("asyncIterator"),Ft("observable");var xe=y.Symbol,Oe=t(function(e){function i(t){return(i="function"==typeof xe&&"symbol"==typeof Ht?function(t){return typeof t}:function(t){return t&&"function"==typeof xe&&t.constructor===xe&&t!==xe.prototype?"symbol":typeof t})(t)}function n(t){return"function"==typeof xe&&"symbol"===i(Ht)?e.exports=n=function(t){return i(t)}:e.exports=n=function(t){return t&&"function"==typeof xe&&t.constructor===xe&&t!==xe.prototype?"symbol":i(t)},n(t)}e.exports=n});var Ce=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};var ze=function(t,e){return!e||"object"!==Oe(e)&&"function"!=typeof e?Ce(t):e};X("getPrototypeOf",function(){return function(t){return _t(K(t))}});var Te=y.Object.getPrototypeOf,je=function(t,e){if(r(t),!h(e)&&null!==e)throw TypeError(e+": can't set as prototype!")},Me={set:Object.setPrototypeOf||("__proto__"in{}?function(t,i,n){try{(n=m(Function.call,Kt.f(Object.prototype,"__proto__").set,2))(t,[]),i=!(t instanceof Array)}catch(t){i=!0}return function(t,e){return je(t,e),i?t.__proto__=e:n(t,e),t}}({},!1):void 0),check:je};L(L.S,"Object",{setPrototypeOf:Me.set});var Pe=y.Object.setPrototypeOf,Ne=t(function(e){function i(t){return e.exports=i=Pe?Te:function(t){return t.__proto__||Te(t)},i(t)}e.exports=i});L(L.S,"Object",{create:pt});var Ae=y.Object,He=function(t,e){return Ae.create(t,e)},We=t(function(i){function n(t,e){return i.exports=n=Pe||function(t,e){return t.__proto__=e,t},n(t,e)}i.exports=n});var qe=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=He(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&We(t,e)},Fe=function(){function e(t){tt(this,e),t=t||{},this.eventListeners=new Array,this.el=t.el||document.createElement("div"),this.$el=$(this.el),this.on=function(t,e){this.eventListeners.push({type:t,handler:e})},this.trigger=function(t){for(var e=0;e<this.eventListeners.length;e++)"*"!=this.eventListeners[e].type&&"all"!=this.eventListeners[e].type&&t!=this.eventListeners[e].type||this.eventListeners[e].handler(t,this)},this.initialize(t)}return ot(e,[{key:"pick",value:function(e,t){var i={};return t.forEach(function(t){void 0!==e[t]&&(i[t]=e[t])}),i}},{key:"extend",value:function(t,e){}},{key:"initialize",value:function(){}}]),e}();function Ie(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}function $e(e,t){e.classList?Ge(t.split(" "),function(t){e.classList.add(t)}):e.className+=" "+t}function Be(t,e){var i=function(t){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")};NodeList.prototype.isPrototypeOf(t)?Ge(t,i):i(t)}function De(t,e,i){if(t.classList)t.classList.toggle(e,i);else{var n=t.className.split(" "),o=n.indexOf(e);!1===i||!0!==i&&0<=o?n.splice(o,1):n.push(e),t.className=n.join(" ")}}function Re(t,e){var i=document.createEvent("HTMLEvents");i.initEvent(e,!0,!1),t.dispatchEvent(i)}function Ge(t,e){for(var i=0;i<t.length;i++)e(t[i],i)}function Ye(t,e){return getComputedStyle(t)[e]}function Ve(t){t.parentNode.removeChild(t)}function Ke(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]}function Je(t,e){var i=[];return Ge(t,function(t){e(t)&&i.push(t)}),i}function Qe(t,i,n){t.addEventListener(i,function t(e){return console.log("fn",i,t),e.target.removeEventListener(e.type,t),n(e)})}function Ue(t){var e=t.getBoundingClientRect();return{top:e.top+window.scrollY,left:e.left+window.scrollX}}var Xe=function(t){function e(){return tt(this,e),ze(this,Ne(e).apply(this,arguments))}return qe(e,Fe),ot(e,[{key:"initialize",value:function(t){t=t||{},this.options={align:"center",trigger:"click",show_arrow:!0,hide_sm:!1,square:!1},U(this.options,this.pick(t,Z(this.options))),this.content=t.content,(this.el.dropdown=this).el.addEventListener(this.options.trigger,this.toggle.bind(this)),this.el.addEventListener("mousedown",function(){this.mousedown=!0}.bind(this)),this.el.addEventListener("mouseup",function(){this.mousedown=!1}.bind(this)),this.el.addEventListener("focus",function(){this.mousedown||this.show()}.bind(this)),document.addEventListener("focus",this.outsideClick.bind(this)),document.addEventListener(this.options.trigger,this.outsideClick.bind(this)),document.addEventListener("keyup",this.keyup.bind(this)),window.addEventListener("resize",this.resize.bind(this))}},{key:"render",value:function(){if(this.dropdown=document.createElement("div"),$e(this.dropdown,"uniformDropdown-dropdown"),$e(this.dropdown,"absolute"),this.dropdown.style.minWidth=this.$el.outerWidth(),this.dropdown.innerHTML=this.content.innerHTML?this.content.innerHTML:this.content,this.options.show_arrow){$e(this.dropdown,"has-pointer");var t=document.createElement("div");$e(t,"uniformDropdown-pointer"),this.dropdown.appendChild(t)}return De(this.dropdown,"square",this.options.square),this.dropdown.style.display="none",document.body.appendChild(this.dropdown),Be(this.dropdown.querySelectorAll(".hidden"),"hidden"),this}},{key:"resize",value:function(){if(this.dropdown){var t=Ue(this.el);this.dropdown.style.top=t.top+this.el.offsetHeight+"px","center"==this.options.align?this.dropdown.style.left=t.left+this.el.offsetWidth/2-this.dropdown.offsetWidth/2+"px":"right"==this.options.align?this.dropdown.style.right=window.innerWidth-(t.left+this.el.offsetWidth)+"px":this.dropdown.style.left=t.left+"px",this.dropdown.style.left&&this.dropdown.style.left+this.dropdown.offsetWidth>window.innerWidth&&(this.dropdown.style.left=window.innerWidth-this.dropdown.offsetWidth+"px")}}},{key:"remove",value:function(){this.el.parentNode.removeChild(this.el),this.el.removeEventListener(this.options.trigger),window.removeEventListener("resize",this.resize.bind(this)),document.removeEventListener(this.options.trigger,this.outsideClick.bind(this)),document.removeEventListener("keyup",this.keyup.bind(this))}},{key:"toggle",value:function(t){Ie(this.el,"active")&&"click"==t.type?this.hide():this.show()}},{key:"show",value:function(){this.options.hide_sm&&window.innerWidth<720||(this.dropdown||this.render(),this.dropdown.style.display="block",$e(this.el,"active"),this.resize(),this.overlay=document.createElement("div"),$e(this.overlay,"uniformOverlay"),document.body.appendChild(this.overlay),window.innerWidth<720&&(this.lastScrollPosition=window.scrollY,$e(document.body,"uniformModal-hideBody")),this.overlay.addEventListener("click",this.hide.bind(this)),this.trigger("shown"))}},{key:"hide",value:function(){this.dropdown&&(this.dropdown.style.display="none",Be(this.el,"active"),this.overlay&&this.overlay.parentNode.removeChild(this.overlay),window.innerWidth<720&&(Be(document.body,"uniformModal-hideBody"),window.scrollTo(0,this.lastScrollPosition)),this.trigger("hidden"))}},{key:"outsideClick",value:function(t){this.dropdown&&null!==this.dropdown.offsetParent&&t.target!==this.el&&t.target!==this.overlay&&(this.el.contains(t.target)||this.dropdown.contains(t.target)||this.hide())}},{key:"keyup",value:function(t){27==t.which&&this.hide()}}]),e}(),Ze=function(t){function e(){return tt(this,e),ze(this,Ne(e).apply(this,arguments))}return qe(e,Fe),ot(e,[{key:"initialize",value:function(t){this.el.addEventListener("change",this.change.bind(this))}},{key:"render",value:function(){var t=Ie(this.el,"uniformRadio")?"uniformRadio":"uniformCheckbox";return this.checkbox=document.createElement("div"),$e(this.checkbox,"".concat(t,"-indicator")),this.el.className&&""!=this.el.className.replace(t,"")&&$e(this.checkbox,this.el.className.replace(t,"")),De(this.checkbox,"checked",this.el.checked),this.el.parentNode.insertBefore(this.checkbox,this.el.nextSibling),this.checkbox.addEventListener("click",this.click.bind(this)),this}},{key:"click",value:function(t){this.el.disabled||(this.el.checked=!this.el.checked,Re(this.el,"change"),t.preventDefault())}},{key:"change",value:function(){De(this.checkbox,"checked",this.el.checked)}}]),e}(),ti=function(t){function e(){return tt(this,e),ze(this,Ne(e).apply(this,arguments))}return qe(e,Fe),ot(e,[{key:"initialize",value:function(t){this.options={},this.options.klass=t.klass||!1,this.content=t.content,$e(this.el,"uniformModal"),document.addEventListener("keyup",this.keyup.bind(this)),this.el.addEventListener("click",this.checkCloseButton.bind(this))}},{key:"keyup",value:function(t){27==t.which&&this.close()}},{key:"render",value:function(){var t="function"==typeof this.content?this.content():this.content;this.highest_z_index=0,this.overlay=document.createElement("div"),$e(this.overlay,"uniformModal-overlay"),this.blur=document.createElement("div"),$e(this.blur,"uniformModal-blur"),this.original_scroll=window.scrollY,this.blur.style.top=0-this.original_scroll+"px",0<document.body.querySelectorAll(".uniformModal").length&&(this.highest_z_index=Math.max(Array.prototype.map.call(document.body.querySelectorAll(".uniformModal"),function(t){return parseInt(Ye(t,"zIndex"))})),this.el.style.zIndex=this.highest_z_index+2),this.el.appendChild(this.overlay);for(var e=document.body.children,i=e.length,n=0;n<i;n++)this.blur.appendChild(e[0]);$e(document.body,"uniformModal-active"),document.body.appendChild(this.blur),document.body.appendChild(this.el);var o=document.createElement("div");$e(o,"uniformModal-container"),o.innerHTML=t.innerHTML?t.innerHTML:t;var s=document.createElement("div");return $e(s,"uniformModal-close"),o.appendChild(s),this.el.style.top=window.scrollY,this.overlay.addEventListener("click",this.close.bind(this)),this.el.appendChild(o),this.options.klass&&$e(o,this.options.klass),t.innerHTML&&Re(t,"rendered"),this.trigger("rendered"),this}},{key:"checkCloseButton",value:function(t){Ie(t.target,"uniformModal-close")&&this.close()}},{key:"close",value:function(){Be(document.querySelectorAll("uniformModal-active"),"uniformModal-active");for(var t=this.blur.children,e=t.length,i=0;i<e;i++)document.body.appendChild(t[0]);this.blur.parentNode.removeChild(this.blur),window.scrollTo(0,this.original_scroll),this.trigger("closed"),this.remove()}},{key:"remove",value:function(){this.overlay.parentNode.removeChild(this.overlay),this.el.parentNode.removeChild(this.el),this.el.removeEventListener("click",this.checkCloseButton.bind(this)),this.overlay.removeEventListener("click",this.close.bind(this)),document.removeEventListener("keyup",this.keyup.bind(this))}}]),e}(),ei='\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em" viewBox="0 0 32 32">\n<path d="M28.998 8.531l-2.134-2.134c-0.394-0.393-1.030-0.393-1.423 0l-12.795 12.795-6.086-6.13c-0.393-0.393-1.029-0.393-1.423 0l-2.134 2.134c-0.393 0.394-0.393 1.030 0 1.423l8.924 8.984c0.393 0.393 1.030 0.393 1.423 0l15.648-15.649c0.393-0.392 0.393-1.030 0-1.423z"></path>\n</svg>\n'.trim(),ii='\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em" viewBox="0 0 20 20">\n<path d="M13.418 7.601c0.271-0.268 0.709-0.268 0.979 0s0.271 0.701 0 0.969l-3.907 3.83c-0.271 0.268-0.709 0.268-0.979 0l-3.908-3.83c-0.27-0.268-0.27-0.701 0-0.969s0.708-0.268 0.979 0l3.418 3.14 3.418-3.14z"></path>\n</svg>\n'.trim(),ni=function(t){function e(){return tt(this,e),ze(this,Ne(e).apply(this,arguments))}return qe(e,Fe),ot(e,[{key:"initialize",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.options={label:!1,class:"",showAll:function(t){Be(t.querySelectorAll("button.hide"),"hide");var e=t.querySelector(".uniformSelect-show-all");return e.parentNode.removeChild(e),!1},limit:8},U(this.options,this.pick(t,Z(this.options))),this.el.addEventListener("change",this.updateSelect.bind(this)),this.el.addEventListener("close",this.hideOptions.bind(this)),this.el.addEventListener("revealed",this.resize.bind(this)),this.el.uniformSelect=this,window.addEventListener("resize",this.resize.bind(this)),window.addEventListener("scroll",this.updatePosition.bind(this)),document.addEventListener("click",this.outsideClick.bind(this)),document.addEventListener("keyup",this.keyup.bind(this)),this.activeIcon=document.createElement("span"),$e(this.activeIcon,"uniformSelect-option-icon"),this.activeIcon.innerHTML=ei}},{key:"outsideClick",value:function(t){this.showing&&t.target!==this.select_options&&(this.container.contains(t.target)||this.select_options.contains(t.target)||this.hideOptions())}},{key:"keyup",value:function(t){27===t.which&&this.hideOptions()}},{key:"render",value:function(){this.container=document.createElement("div"),$e(this.container,"uniformSelect-container"),this.edit_button=Ke("<button type='button' class='uniformSelect-edit uniformInput outline block ".concat(this.options.class,'\'><span class="text-js"></span><span class="uniformSelect-edit-icon">').concat(ii,"</span></button>")),this.container.appendChild(this.edit_button),this.el.name&&$e(this.container,this.name.toLowerCase().replace(/[^a-z0-9\-_]+/g,"-")),this.el.style.display="none",this.el.insertAdjacentElement("beforebegin",this.container),this.updateSelect(),this.resize(),this.edit_button.addEventListener("click",this.showOptions.bind(this))}},{key:"resize",value:function(){for(var t=[],e=this.edit_button.children.length,i=0;i<e;i++)t.push(this.edit_button.children[0]),this.edit_button.children[0].parentNode.removeChild(this.edit_button.children[0]);this.edit_button.innerHTML="",this.edit_button.style.width="auto",this.edit_button.style.width=this.container.offsetWidth+"px",Ge(t,function(t){this.edit_button.appendChild(t)}.bind(this)),void 0!==this.select_options&&(window.innerWidth<720||(this.select_options.style.position="absolute",this.select_options.style.top=Ue(this.container).top+this.container.offsetHeight+"px",this.select_options.style.left=Ue(this.container).left+1+"px",this.select_options.style.minWidth=this.container.offsetWidth-1+"px"))}},{key:"renderOptions",value:function(){this.select_options=Ke("<div class='uniformSelect-options'>"),this.options.label&&this.select_options.append('<div class="uniformSelect-label hide show-sm margin-bottom text-bold">'.concat(this.options.label,"</div>")),this.el.name&&$e(this.select_options,this.el.name.toLowerCase().replace(/[^a-z0-9\-_]+/g,"-")),this.select_options.style.fontSize=Ye(this.el,"font-size"),this.select_options.style.display="none",document.body.appendChild(this.select_options),Ge(this.el.querySelectorAll("option"),function(t,e){var i=Ke("<button type='button' class='uniformSelect-option block outline text-left'>");i.option=t,i.textContent=t.textContent,i.value=t.value,""==i.textContent&&i.innerHTML("<span class='text-italic text-muted'>None</span>"),t.selected?($e(i,"active"),i.append(this.activeIcon.cloneNode(!0))):this.options.limit&&e>this.options.limit&&$e(i,"hide"),this.select_options.append(i),i.addEventListener("click",this.selectOption.bind(this))}.bind(this));var t=Ke('<div class="uniformSelect-options-actions"></div>');if(this.options.limit&&this.el.querySelectorAll("option").length>this.options.limit){var e=Ke("<button type='button' class='uniformSelect-show-all outline blue' style='display: block; border: none'>Show All</button>");e.addEventListener("click",function(t){Re(this.el,"show_all"),this.options.showAll&&this.options.showAll(this.select_options),t.preventDefault(),t.stopPropagation()}.bind(this)),t.appendChild(e)}if(this.el.multiple){var i=Ke("<button type='button' class='uniformSelect-done block outline blue'>Done</button>");i.addEventListener("click",this.hideOptions.bind(this)),t.appendChild(i)}""!==t.innerHTML&&this.select_options.appendChild(t),Re(this.el,"rendered")}},{key:"hideOptions",value:function(){void 0!==this.select_options&&(this.showing=!1,this.select_options.style.display="none",Be(this.select_options,"fixed"),Be(this.edit_button,"active"),Be(document.body,"uniformModal-hideBody"),this.lastScrollPosition&&window.innerWidth<720&&window.scrollTo(0,this.lastScrollPosition),Re(this.el,"hidden:options"))}},{key:"showOptions",value:function(){if(this.showing)return this.hideOptions(),!1;this.showing=!0,this.select_options||this.renderOptions(),this.resize(),this.select_options.style.display="block",$e(this.edit_button,"active"),this.lastScrollPosition=window.scrollY,this.updatePosition(),$e(document.body,"uniformModal-hideBody")}},{key:"selectOption",value:function(t){this.el.multiple||(Ge(Je(this.el.querySelectorAll("option"),function(t){return t.selected}),function(t){t.selected=!1}),Ge(this.select_options.querySelectorAll(".uniformSelect-option.active .uniformSelect-option-icon"),Ve),Be(this.select_options.querySelectorAll(".uniformSelect-option.active"),"active")),De(t.currentTarget,"active"),t.currentTarget.option.selected=Ie(t.currentTarget,"active"),Ie(t.currentTarget,"active")?t.currentTarget.append(this.activeIcon.cloneNode(!0)):Ge(t.currentTarget.querySelectorAll(".uniformSelect-option-icon"),Ve),Re(this.el,"change")}},{key:"updateSelect",value:function(){this.el.multiple||this.hideOptions();var t=function(t,e){for(var i=[],n=0;n<t.length;n++)i.push(e(t[n],n));return i}(Je(this.el.querySelectorAll("option"),function(t){return t.selected}),function(t){return t.textContent}).join(", ");""==t&&(t=" "),this.edit_button.querySelector(".text-js").innerHTML=t}},{key:"updatePosition",value:function(){if(this.select_options){var t=Je(function(t){var e=[];for(t=t.parentElement;t;)e.push(t),t=t.parentElement;return e}(this.container),function(t){return"fixed"==Ye(t,"position")});Ie(this.select_options,"fixed")?0==t.length&&(this.select_options.style.position="absolute",this.select_options.style.top=Ue(this.container).top+this.container.offsetHeight+"px",Be(this.select_options,"fixed")):0<t.length&&(720<window.innerWidth&&(this.lastScrollPosition=!1),this.select_options.style.position="fixed",this.select_options.style.top=Ue(this.container).top+this.container.offsetHeight+"px",this.select_options.style.left=Ue(this.container).left+"px",$e(this.select_options,"fixed"))}}}]),e}(),oi=function(t){function e(){return tt(this,e),ze(this,Ne(e).apply(this,arguments))}return qe(e,Fe),ot(e,[{key:"initialize",value:function(){this.label=this.el.querySelector("label"),this.input=this.el.querySelector("#"+this.label.getAttribute("for")),this.startingHeight,this.input.addEventListener("focus",this.activate.bind(this)),this.input.addEventListener("blur",this.deactivate.bind(this)),this.input.addEventListener("revealed",this.render.bind(this))}},{key:"render",value:function(){if(null!==this.input.offsetParent&&!Ie(this.el,"enabled")){var t,e=parseInt(Ye(this.input,"paddingBottom"));this.startingHeight=this.input.offsetHeight,$e(this.el,"enabled"),$e(this.el,"inactive"),this.input.style.paddingTop=e+e/2+"px",this.input.style.paddingBottom=e-e/2-2+"px",this.label.style.position="absolute",this.label.style.top=0,this.label.style.left=this.label.offsetLeft,this.label.style.paddingLeft=Ye(this.input,"paddingLeft"),this.label.style.height=this.startingHeight,this.label.style.lineHeight=this.startingHeight+"px",t=this.input,document.activeElement===t&&this.activate(),void 0!==this.input.value&&""!=this.input.value&&this.activate()}}},{key:"activate",value:function(t){void 0!==t&&$e(this.el,"active"),Ie(this.el,"float")||($e(this.el,"float"),Be(this.el,"inactive"),this.label.style.lineHeight=this.startingHeight/2+"px")}},{key:"deactivate",value:function(t){void 0!==t&&Be(this.el,"active"),""==this.input.value&&(Be(this.el,"float"),$e(this.el,"inactive"),this.label.style.lineHeight=this.startingHeight+"px")}}]),e}(),si=function(t){function e(){return tt(this,e),ze(this,Ne(e).apply(this,arguments))}return qe(e,Fe),ot(e,[{key:"initialize",value:function(){window.addEventListener("resize",this.resize.bind(this)),Re(window,"resize")}},{key:"resize",value:function(){var t=this.el.offsetWidth;720<t&&!Ie(this.el,"md-size")?($e(this.el,"md-size"),Re(window,"resized-md")):t<720&&Ie(this.el,"md-size")&&Be(this.el,"md-size"),1080<t&&!this.el.hasClass("lg-size")?($e(this.el,"lg-size"),Re(window,"resized-lg")):t<1080&&Ie(this.el,"lg-size")&&Be(this.el,"lg-size"),1440<t&&!Ie(this.el,"xl-size")?($e(this.el,"xl-size"),Re(window,"resized-xl")):t<1440&&Ie(this.el,"xl-size")&&Be(this.el,"xl-size"),t<720&&!Ie(this.el,"sm-size")?($e(this.el,"sm-size"),Re(window,"resized-sm")):720<t&&Ie(this.el,"sm-size")&&Be(this.el,"sm-size")}}]),e}(),ri=function(t){function e(){return tt(this,e),ze(this,Ne(e).apply(this,arguments))}return qe(e,Fe),ot(e,[{key:"initialize",value:function(t){t=t||{},this.options={align:"top"},U(this.options,this.pick(t,Z(this.options))),this.enabled=!0,this.message=t.message,(t.el.tooltip=this).el.addEventListener("mouseenter",this.show.bind(this)),this.el.addEventListener("mouseleave",this.hide.bind(this))}},{key:"render",value:function(){return this.popup=Ke('<div class="uniformTooltip-popup">'+this.message+"</div>"),this.popup.insertBefore(Ke("<div class='uniformTooltip-pointer'></div>"),this.popup.firstChild),this.el.appendChild(this.popup),100<this.message.length?this.popup.style.minWidth="200px":this.popup.style.whiteSpace="nowrap",this.popup.offsetWidth+Ue(this.popup).left>window.innerWidth&&(this.popup.style.left=window.innerWidth-this.popup.offsetWidth-Ue(this.popup).left+"px"),this.popup.style.display="block",("bottom"==this.options.align||Ue(this.popup).top<0)&&$e(this.popup,"-align-bottom"),this.popup.style.display="none",this}},{key:"remove",value:function(){this.el.parentNode.removeChild(this.el)}},{key:"show",value:function(){if(this.popup||this.render(),this.enabled){if(this.hiding)return this.show_after_hide=!0;if(!this.showing&&!this.shown){this.popup.style.display="block",this.showing=!0,this.hidden=!1;var t=function(t){this.trigger("shown"),this.showing=!1,this.shown=!0,this.hide_after_show&&this.hide(),this.hide_after_show=!1}.bind(this);Qe(this.popup,"transitionend",t),Qe(this.popup,"msTransitionEnd",t),Qe(this.popup,"oTransitionEnd",t),Ue(this.popup).left<0&&(this.popup.style.left="0"),$e(this.el,"active"),setTimeout(function(){$e(this.popup,"-reveal")}.bind(this),1)}}}},{key:"hide",value:function(){if(this.showing)return this.hide_after_show=!0;if(!this.hiding&&!this.hidden){this.hiding=!0,this.shown=!1;var t=function(t){this.trigger("hidden"),Be(this.el,"active"),this.popup.style.display="none",this.hiding=!1,this.hidden=!0,this.show_after_hide&&this.show(),this.show_after_hide=!1}.bind(this);Qe(this.popup,"transitionend",t),Qe(this.popup,"msTransitionEnd",t),Qe(this.popup,"oTransitionEnd",t),Be(this.popup,"-reveal")}}},{key:"disable",value:function(){this.enabled=!1}},{key:"enabled",value:function(){this.enabled=!0}}]),e}();$&&($.fn.uniformDropdown=function(){return this.each(function(){var i=$(this),t={el:this};void 0!==i.data("dropdown-align")&&(t.align=i.data("dropdown-align")),void 0!==i.data("dropdown-trigger")&&(t.trigger=i.data("dropdown-trigger")),void 0!==i.data("dropdown-show_arrow")&&(t.show_arrow=i.data("dropdown-show_arrow")),void 0!==i.data("dropdown-square")&&(t.square=i.data("dropdown-square")),void 0!==i.data("dropdown-hide_sm")&&(t.hide_sm=i.data("dropdown-hide_sm")),void 0!==i.data("dropdown-content")&&(t.content="<div class='pad'>".concat(i.data("dropdown-content"),"</div>")),void 0!==i.data("dropdown-target")&&(t.content=$(i.data("dropdown-target"))[0]);var e=new Xe(t);e.on("*",function(t,e){i.trigger("dropdown-"+t,e)}),e.render()})},$.fn.uniformCheckbox=function(){return this.each(function(){$(this);new Ze({el:this}).render()})},$.fn.uniformRadio=$.fn.uniformCheckbox,$.fn.uniformFloatingLabel=function(){return this.each(function(){new oi({el:this}).render()})},$.fn.uniformModal=function(){return this.click(function(){var i=$(this),t={klass:i.data("modal-klass"),content:i.data("modal-content")};if(i.data("modal-target")){var e=$(i.data("modal-target")).clone();e.removeClass("hidden"),t.content=e[0]}new ti(t).render().on("*",function(t,e){i.trigger("modal-"+t,e)})})},$.fn.uniformResizer=function(){return this.each(function(){new si({el:this})})},$.fn.uniformSelect=function(){return this.each(function(){var t={el:this};U(t,$(this).data()),new ni(t).render()})},$.fn.uniformTooltip=function(){return this.each(function(){var i=$(this),t=new ri({message:i.data("tooltip-message"),el:this});t.on("*",function(t,e){i.trigger("tooltip-"+t,e)}),t.render()})})}();
|
File without changes
|
@@ -19,7 +19,7 @@ export default class Resizer extends Component {
|
|
19
19
|
Helpers.removeClass(this.el, 'md-size');
|
20
20
|
}
|
21
21
|
|
22
|
-
if(width > 1080 && !this.el
|
22
|
+
if(width > 1080 && !Helpers.hasClass(this.el, 'lg-size')) {
|
23
23
|
Helpers.addClass(this.el, 'lg-size');
|
24
24
|
Helpers.trigger(window, 'resized-lg');
|
25
25
|
} else if (width < 1080 && Helpers.hasClass(this.el, 'lg-size')) {
|
@@ -1,69 +1,59 @@
|
|
1
1
|
.uniformRow{
|
2
2
|
background: white;
|
3
|
-
|
3
|
+
display: block;
|
4
4
|
text-decoration:none;
|
5
5
|
color: color('gray');
|
6
6
|
border: 1px solid color('gray-light');
|
7
|
-
&.border-none{
|
8
|
-
margin-bottom: 0;
|
9
|
-
border: none;
|
10
|
-
border-top: 1px solid color('gray-light');
|
11
|
-
&:first-of-type{
|
12
|
-
border-top:none;
|
13
|
-
}
|
14
|
-
}
|
15
7
|
&:hover{
|
16
8
|
background: lighten(color('blue'), 50);
|
17
9
|
}
|
18
|
-
|
19
|
-
|
20
|
-
|
10
|
+
}
|
11
|
+
@include size-rule('md') {
|
12
|
+
.uniformRowContainer{
|
13
|
+
display: table;
|
14
|
+
width: 100%;
|
15
|
+
border-left: 1px solid color('gray-light');
|
16
|
+
border-right: 1px solid color('gray-light');
|
17
|
+
.uniformRow{
|
18
|
+
display: table-row;
|
19
|
+
}
|
21
20
|
}
|
22
|
-
.uniformRow
|
23
|
-
display:
|
24
|
-
|
21
|
+
.uniformRow{
|
22
|
+
display: table;
|
23
|
+
width: 100%;
|
24
|
+
border-left: 1px solid color('gray-light');
|
25
|
+
border-right: 1px solid color('gray-light');
|
26
|
+
box-shadow: 0px 1px 0 color('gray-light');
|
27
|
+
&.-middle{
|
28
|
+
& > * {
|
29
|
+
vertical-align: middle;
|
30
|
+
}
|
31
|
+
}
|
25
32
|
& > * {
|
26
|
-
|
33
|
+
max-width: 0;
|
34
|
+
display: table-cell;
|
35
|
+
border-top: 1px solid color('gray-light');
|
27
36
|
}
|
28
37
|
}
|
29
38
|
}
|
30
39
|
|
31
|
-
|
32
40
|
@include size-rule('sm') {
|
33
|
-
.
|
41
|
+
.uniformRowContainer{
|
34
42
|
display: block;
|
35
|
-
|
36
|
-
.
|
37
|
-
|
38
|
-
width: 100%;
|
39
|
-
max-width: 100%;
|
40
|
-
}
|
41
|
-
.uniformRow-body{
|
42
|
-
flex-wrap: wrap;
|
43
|
-
& > * {
|
44
|
-
width: 100%;
|
45
|
-
}
|
43
|
+
border: none;
|
44
|
+
.uniformRow {
|
45
|
+
display: block;
|
46
46
|
}
|
47
47
|
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
align-self: stretch;
|
58
|
-
}
|
59
|
-
|
60
|
-
.uniformRow-body{
|
61
|
-
flex-wrap: nowrap;
|
62
|
-
align-self: center;
|
63
|
-
padding: 0.5em 0;
|
64
|
-
& > * {
|
65
|
-
padding: 0 1em;
|
66
|
-
}
|
48
|
+
.uniformRow {
|
49
|
+
margin: 0.5em 0;
|
50
|
+
display: block;
|
51
|
+
border: 1px solid color('gray-light');
|
52
|
+
box-shadow: none;
|
53
|
+
& > * {
|
54
|
+
max-width: inherit;
|
55
|
+
display: block;
|
56
|
+
border-top: none;
|
67
57
|
}
|
68
58
|
}
|
69
59
|
}
|
@@ -3,15 +3,6 @@
|
|
3
3
|
background: darken(color('gray-light'), 10);
|
4
4
|
position:relative;
|
5
5
|
color: white;
|
6
|
-
.aspect-4x3{
|
7
|
-
padding-top: 75%;
|
8
|
-
}
|
9
|
-
.aspect-2x1{
|
10
|
-
padding-top: 50%;
|
11
|
-
}
|
12
|
-
.aspect-square{
|
13
|
-
padding-top:100%;
|
14
|
-
}
|
15
6
|
img{
|
16
7
|
position:absolute;
|
17
8
|
top:0;
|
@@ -28,6 +19,15 @@
|
|
28
19
|
text-align:center;
|
29
20
|
}
|
30
21
|
}
|
22
|
+
@include size-rules(".aspect-4x3"){
|
23
|
+
padding-top: 75%;
|
24
|
+
}
|
25
|
+
@include size-rules(".aspect-2x1"){
|
26
|
+
padding-top: 50%;
|
27
|
+
}
|
28
|
+
@include size-rules(".aspect-square"){
|
29
|
+
padding-top:100%;
|
30
|
+
}
|
31
31
|
|
32
32
|
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
33
33
|
.uniformThumb {
|
@@ -5,6 +5,7 @@
|
|
5
5
|
.position-left{ left: 0;}
|
6
6
|
.position-right{ right: 0;}
|
7
7
|
.position-bottom{ bottom: 0;}
|
8
|
+
.position-fill{ @include position-fill;}
|
8
9
|
.position-center{ @include position-center;}
|
9
10
|
.position-v-center{ @include position-v-center;}
|
10
11
|
.position-h-center{ @include position-h-center;}
|
@@ -116,6 +116,13 @@ blockquote.quote{
|
|
116
116
|
column-count: 2;
|
117
117
|
column-gap: 5em;
|
118
118
|
}
|
119
|
+
@include size-rules('.text-col-3'){
|
120
|
+
column-count: 3;
|
121
|
+
column-gap: 5em;
|
122
|
+
}
|
123
|
+
.text-col-no-break{
|
124
|
+
break-inside: avoid-column;
|
125
|
+
}
|
119
126
|
|
120
127
|
//----------------------------------------------------------------
|
121
128
|
// Breaking
|
data/lib/uniform/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uniform-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Ehmke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -60,8 +60,8 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- lib/assets/config/manifest.js
|
63
|
-
- lib/assets/javascripts/uniform
|
64
|
-
- lib/assets/javascripts/uniform
|
63
|
+
- lib/assets/javascripts/uniform.es5.js
|
64
|
+
- lib/assets/javascripts/uniform.jquery.js
|
65
65
|
- lib/assets/javascripts/uniform.js
|
66
66
|
- lib/assets/javascripts/uniform/checkbox.js
|
67
67
|
- lib/assets/javascripts/uniform/component.js
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}var v=t(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),y=t(function(t){var e=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=e)}),m=(y.version,function(n,o,t){if(function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!")}(n),void 0===o)return n;switch(t){case 1:return function(t){return n.call(o,t)};case 2:return function(t,e){return n.call(o,t,e)};case 3:return function(t,e,i){return n.call(o,t,e,i)}}return function(){return n.apply(o,arguments)}}),h=function(t){return"object"==typeof t?null!==t:"function"==typeof t},r=function(t){if(!h(t))throw TypeError(t+" is not an object!");return t},c=function(t){try{return!!t()}catch(t){return!0}},n=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),e=v.document,i=h(e)&&h(e.createElement),o=function(t){return i?e.createElement(t):{}},s=!n&&!c(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}),l=function(t,e){if(!h(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!h(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!h(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!h(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},a=Object.defineProperty,u={f:n?Object.defineProperty:function(t,e,i){if(r(t),e=l(e,!0),r(i),s)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},k=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},S=n?function(t,e,i){return u.f(t,e,k(1,i))}:function(t,e,i){return t[e]=i,t},d={}.hasOwnProperty,b=function(t,e){return d.call(t,e)},w="prototype",g=function(t,e,i){var n,o,s,r=t&g.F,l=t&g.G,h=t&g.S,c=t&g.P,a=t&g.B,u=t&g.W,d=l?y:y[e]||(y[e]={}),p=d[w],f=l?v:h?v[e]:(v[e]||{})[w];for(n in l&&(i=e),i)(o=!r&&f&&void 0!==f[n])&&b(d,n)||(s=o?f[n]:i[n],d[n]=l&&"function"!=typeof f[n]?i[n]:a&&o?m(s,v):u&&f[n]==s?function(n){var t=function(t,e,i){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(t);case 2:return new n(t,e)}return new n(t,e,i)}return n.apply(this,arguments)};return t[w]=n[w],t}(s):c&&"function"==typeof s?m(Function.call,s):s,c&&((d.virtual||(d.virtual={}))[n]=s,t&g.R&&p&&!p[n]&&S(p,n,s)))};g.F=1,g.G=2,g.S=4,g.P=8,g.B=16,g.W=32,g.U=64,g.R=128;var p,L=g,f={}.toString,_=function(t){return f.call(t).slice(8,-1)},E=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==_(t)?t.split(""):Object(t)},O=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},x=function(t){return E(O(t))},C=Math.ceil,T=Math.floor,j=function(t){return isNaN(t=+t)?0:(0<t?T:C)(t)},z=Math.min,M=Math.max,P=Math.min,N="__core-js_shared__",A=v[N]||(v[N]={}),H=function(t){return A[t]||(A[t]={})},W=0,q=Math.random(),F=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++W+q).toString(36))},I=H("keys"),B=function(t){return I[t]||(I[t]=F(t))},R=(p=!1,function(t,e,i){var n,o,s,r,l=x(t),h=0<(n=l.length)?z(j(n),9007199254740991):0,c=(s=h,(o=j(o=i))<0?M(o+s,0):P(o,s));if(p&&e!=e){for(;c<h;)if((r=l[c++])!=r)return!0}else for(;c<h;c++)if((p||c in l)&&l[c]===e)return p||c||0;return!p&&-1}),D=B("IE_PROTO"),G=function(t,e){var i,n=x(t),o=0,s=[];for(i in n)i!=D&&b(n,i)&&s.push(i);for(;e.length>o;)b(n,i=e[o++])&&(~R(s,i)||s.push(i));return s},Y="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),V=Object.keys||function(t){return G(t,Y)},K={f:Object.getOwnPropertySymbols},J={f:{}.propertyIsEnumerable},Q=function(t){return Object(O(t))},U=Object.assign,X=!U||c(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=U({},t)[i]||Object.keys(U({},e)).join("")!=n})?function(t,e){for(var i=Q(t),n=arguments.length,o=1,s=K.f,r=J.f;o<n;)for(var l,h=E(arguments[o++]),c=s?V(h).concat(s(h)):V(h),a=c.length,u=0;u<a;)r.call(h,l=c[u++])&&(i[l]=h[l]);return i}:U;L(L.S+L.F,"Object",{assign:X});var Z=y.Object.assign,tt=function(t,e){var i=(y.Object||{})[t]||Object[t],n={};n[t]=e(i),L(L.S+L.F*c(function(){i(1)}),"Object",n)};tt("keys",function(){return function(t){return V(Q(t))}});var et=y.Object.keys,it=B("IE_PROTO"),nt=Object.prototype,ot=Object.getPrototypeOf||function(t){return t=Q(t),b(t,it)?t[it]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?nt:null};tt("getPrototypeOf",function(){return function(t){return ot(Q(t))}});var st=y.Object.getPrototypeOf;function rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}L(L.S+L.F*!n,"Object",{defineProperty:u.f});var lt=y.Object,ht=function(t,e,i){return lt.defineProperty(t,e,i)};function ct(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),ht(t,n.key,n)}}function at(t,e,i){return e&&ct(t.prototype,e),i&&ct(t,i),t}var ut=S,dt=n?Object.defineProperties:function(t,e){r(t);for(var i,n=V(e),o=n.length,s=0;s<o;)u.f(t,i=n[s++],e[i]);return t},pt=v.document,ft=pt&&pt.documentElement,vt=B("IE_PROTO"),yt=function(){},mt="prototype",bt=function(){var t,e=o("iframe"),i=Y.length;for(e.style.display="none",ft.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),bt=t.F;i--;)delete bt[mt][Y[i]];return bt()},wt=Object.create||function(t,e){var i;return null!==t?(yt[mt]=r(t),i=new yt,yt[mt]=null,i[vt]=t):i=bt(),void 0===e?i:dt(i,e)},gt=t(function(t){var e=H("wks"),i=v.Symbol,n="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=n&&i[t]||(n?i:F)("Symbol."+t))}).store=e}),_t=u.f,kt=gt("toStringTag"),St=function(t,e,i){t&&!b(t=i?t:t.prototype,kt)&&_t(t,kt,{configurable:!0,value:e})},Lt={};S(Lt,gt("iterator"),function(){return this});var Et,Ot=gt("iterator"),xt=!([].keys&&"next"in[].keys()),Ct="values",Tt=function(t,e,i,n,o,s,r){var l,h,c;h=e,c=n,(l=i).prototype=wt(Lt,{next:k(1,c)}),St(l,h+" Iterator");var a,u,d,p=function(t){if(!xt&&t in m)return m[t];switch(t){case"keys":case Ct:return function(){return new i(this,t)}}return function(){return new i(this,t)}},f=e+" Iterator",v=o==Ct,y=!1,m=t.prototype,b=m[Ot]||m["@@iterator"]||o&&m[o],w=b||p(o),g=o?v?p("entries"):w:void 0,_="Array"==e&&m.entries||b;if(_&&(d=ot(_.call(new t)))!==Object.prototype&&d.next&&St(d,f,!0),v&&b&&b.name!==Ct&&(y=!0,w=function(){return b.call(this)}),r&&(xt||y||!m[Ot])&&S(m,Ot,w),o)if(a={values:v?w:p(Ct),keys:s?w:p("keys"),entries:g},r)for(u in a)u in m||ut(m,u,a[u]);else L(L.P+L.F*(xt||y),e,a);return a},jt=(Et=!0,function(t,e){var i,n,o=String(O(t)),s=j(e),r=o.length;return s<0||r<=s?Et?"":void 0:(i=o.charCodeAt(s))<55296||56319<i||s+1===r||(n=o.charCodeAt(s+1))<56320||57343<n?Et?o.charAt(s):i:Et?o.slice(s,s+2):n-56320+(i-55296<<10)+65536});Tt(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=jt(e,i),this._i+=t.length,{value:t,done:!1})});for(var zt=function(t,e){return{value:e,done:!!t}},Mt=(Tt(Array,"Array",function(t,e){this._t=x(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,zt(1)):zt(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),gt("toStringTag")),Pt="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),Nt=0;Nt<Pt.length;Nt++){var At=Pt[Nt],Ht=v[At],Wt=Ht&&Ht.prototype;Wt&&!Wt[Mt]&&S(Wt,Mt,At)}var qt={f:gt},Ft=qt.f("iterator"),It=t(function(t){var i=F("meta"),e=u.f,n=0,o=Object.isExtensible||function(){return!0},s=!c(function(){return o(Object.preventExtensions({}))}),r=function(t){e(t,i,{value:{i:"O"+ ++n,w:{}}})},l=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!h(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!b(t,i)){if(!o(t))return"F";if(!e)return"E";r(t)}return t[i].i},getWeak:function(t,e){if(!b(t,i)){if(!o(t))return!0;if(!e)return!1;r(t)}return t[i].w},onFreeze:function(t){return s&&l.NEED&&o(t)&&!b(t,i)&&r(t),t}}}),$t=(It.KEY,It.NEED,It.fastKey,It.getWeak,It.onFreeze,u.f),Bt=function(t){var e=y.Symbol||(y.Symbol={});"_"==t.charAt(0)||t in e||$t(e,t,{value:qt.f(t)})},Rt=Array.isArray||function(t){return"Array"==_(t)},Dt=Y.concat("length","prototype"),Gt={f:Object.getOwnPropertyNames||function(t){return G(t,Dt)}},Yt=Gt.f,Vt={}.toString,Kt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Jt={f:function(t){return Kt&&"[object Window]"==Vt.call(t)?function(t){try{return Yt(t)}catch(t){return Kt.slice()}}(t):Yt(x(t))}},Qt=Object.getOwnPropertyDescriptor,Ut={f:n?Qt:function(t,e){if(t=x(t),e=l(e,!0),s)try{return Qt(t,e)}catch(t){}if(b(t,e))return k(!J.f.call(t,e),t[e])}},Xt=It.KEY,Zt=Ut.f,te=u.f,ee=Jt.f,ie=v.Symbol,ne=v.JSON,oe=ne&&ne.stringify,se="prototype",re=gt("_hidden"),le=gt("toPrimitive"),he={}.propertyIsEnumerable,ce=H("symbol-registry"),ae=H("symbols"),ue=H("op-symbols"),de=Object[se],pe="function"==typeof ie,fe=v.QObject,ve=!fe||!fe[se]||!fe[se].findChild,ye=n&&c(function(){return 7!=wt(te({},"a",{get:function(){return te(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=Zt(de,e);n&&delete de[e],te(t,e,i),n&&t!==de&&te(de,e,n)}:te,me=function(t){var e=ae[t]=wt(ie[se]);return e._k=t,e},be=pe&&"symbol"==typeof ie.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof ie},we=function(t,e,i){return t===de&&we(ue,e,i),r(t),e=l(e,!0),r(i),b(ae,e)?(i.enumerable?(b(t,re)&&t[re][e]&&(t[re][e]=!1),i=wt(i,{enumerable:k(0,!1)})):(b(t,re)||te(t,re,k(1,{})),t[re][e]=!0),ye(t,e,i)):te(t,e,i)},ge=function(t,e){r(t);for(var i,n=function(t){var e=V(t),i=K.f;if(i)for(var n,o=i(t),s=J.f,r=0;o.length>r;)s.call(t,n=o[r++])&&e.push(n);return e}(e=x(e)),o=0,s=n.length;o<s;)we(t,i=n[o++],e[i]);return t},_e=function(t){var e=he.call(this,t=l(t,!0));return!(this===de&&b(ae,t)&&!b(ue,t))&&(!(e||!b(this,t)||!b(ae,t)||b(this,re)&&this[re][t])||e)},ke=function(t,e){if(t=x(t),e=l(e,!0),t!==de||!b(ae,e)||b(ue,e)){var i=Zt(t,e);return!i||!b(ae,e)||b(t,re)&&t[re][e]||(i.enumerable=!0),i}},Se=function(t){for(var e,i=ee(x(t)),n=[],o=0;i.length>o;)b(ae,e=i[o++])||e==re||e==Xt||n.push(e);return n},Le=function(t){for(var e,i=t===de,n=ee(i?ue:x(t)),o=[],s=0;n.length>s;)!b(ae,e=n[s++])||i&&!b(de,e)||o.push(ae[e]);return o};pe||(ut((ie=function(){if(this instanceof ie)throw TypeError("Symbol is not a constructor!");var e=F(0<arguments.length?arguments[0]:void 0),i=function(t){this===de&&i.call(ue,t),b(this,re)&&b(this[re],e)&&(this[re][e]=!1),ye(this,e,k(1,t))};return n&&ve&&ye(de,e,{configurable:!0,set:i}),me(e)})[se],"toString",function(){return this._k}),Ut.f=ke,u.f=we,Gt.f=Jt.f=Se,J.f=_e,K.f=Le,qt.f=function(t){return me(gt(t))}),L(L.G+L.W+L.F*!pe,{Symbol:ie});for(var Ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Oe=0;Ee.length>Oe;)gt(Ee[Oe++]);for(var xe=V(gt.store),Ce=0;xe.length>Ce;)Bt(xe[Ce++]);L(L.S+L.F*!pe,"Symbol",{for:function(t){return b(ce,t+="")?ce[t]:ce[t]=ie(t)},keyFor:function(t){if(!be(t))throw TypeError(t+" is not a symbol!");for(var e in ce)if(ce[e]===t)return e},useSetter:function(){ve=!0},useSimple:function(){ve=!1}}),L(L.S+L.F*!pe,"Object",{create:function(t,e){return void 0===e?wt(t):ge(wt(t),e)},defineProperty:we,defineProperties:ge,getOwnPropertyDescriptor:ke,getOwnPropertyNames:Se,getOwnPropertySymbols:Le}),ne&&L(L.S+L.F*(!pe||c(function(){var t=ie();return"[null]"!=oe([t])||"{}"!=oe({a:t})||"{}"!=oe(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(i=e=n[1],(h(e)||void 0!==t)&&!be(t))return Rt(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!be(e))return e}),n[1]=e,oe.apply(ne,n)}}),ie[se][le]||S(ie[se],le,ie[se].valueOf),St(ie,"Symbol"),St(Math,"Math",!0),St(v.JSON,"JSON",!0),Bt("asyncIterator"),Bt("observable");var Te=y.Symbol;function je(t){return(je="function"==typeof Te&&"symbol"==typeof Ft?function(t){return typeof t}:function(t){return t&&"function"==typeof Te&&t.constructor===Te&&t!==Te.prototype?"symbol":typeof t})(t)}function ze(t){return(ze="function"==typeof Te&&"symbol"===je(Ft)?function(t){return je(t)}:function(t){return t&&"function"==typeof Te&&t.constructor===Te&&t!==Te.prototype?"symbol":je(t)})(t)}function Me(t,e){return!e||"object"!==ze(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}var Pe=function(t,e){if(r(t),!h(e)&&null!==e)throw TypeError(e+": can't set as prototype!")},Ne={set:Object.setPrototypeOf||("__proto__"in{}?function(t,i,n){try{(n=m(Function.call,Ut.f(Object.prototype,"__proto__").set,2))(t,[]),i=!(t instanceof Array)}catch(t){i=!0}return function(t,e){return Pe(t,e),i?t.__proto__=e:n(t,e),t}}({},!1):void 0),check:Pe};L(L.S,"Object",{setPrototypeOf:Ne.set});var Ae=y.Object.setPrototypeOf;L(L.S,"Object",{create:wt});var He=y.Object,We=function(t,e){return He.create(t,e)};function qe(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=We(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Ae?Ae(t,e):t.__proto__=e)}var Fe=function(){function e(t){rt(this,e),t=t||{},this.eventListeners=new Array,this.el=t.el||document.createElement("div"),this.$el=$(this.el),this.on=function(t,e){this.eventListeners.push({type:t,handler:e})},this.trigger=function(t){for(var e=0;e<this.eventListeners.length;e++)"*"!=this.eventListeners[e].type&&"all"!=this.eventListeners[e].type&&t!=this.eventListeners[e].type||this.eventListeners[e].handler(t,this)},this.initialize(t)}return at(e,[{key:"pick",value:function(e,t){var i={};return t.forEach(function(t){void 0!==e[t]&&(i[t]=e[t])}),i}},{key:"extend",value:function(t,e){}},{key:"initialize",value:function(){}}]),e}();function Ie(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}function $e(e,t){e.classList?Ge(t.split(" "),function(t){e.classList.add(t)}):e.className+=" "+t}function Be(t,e){var i=function(t){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")};NodeList.prototype.isPrototypeOf(t)?Ge(t,i):i(t)}function Re(t,e,i){if(t.classList)t.classList.toggle(e,i);else{var n=t.className.split(" "),o=n.indexOf(e);!1===i||!0!==i&&0<=o?n.splice(o,1):n.push(e),t.className=n.join(" ")}}function De(t,e){var i=document.createEvent("HTMLEvents");i.initEvent(e,!0,!1),t.dispatchEvent(i)}function Ge(t,e){for(var i=0;i<t.length;i++)e(t[i],i)}function Ye(t,e){return getComputedStyle(t)[e]}function Ve(t){t.parentNode.removeChild(t)}function Ke(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]}function Je(t,e){var i=[];return Ge(t,function(t){e(t)&&i.push(t)}),i}function Qe(t,i,n){t.addEventListener(i,function t(e){return console.log("fn",i,t),e.target.removeEventListener(e.type,t),n(e)})}function Ue(t){var e=t.getBoundingClientRect();return{top:e.top+window.scrollY,left:e.left+window.scrollX}}var Xe=function(t){function e(){return rt(this,e),Me(this,(e.__proto__||st(e)).apply(this,arguments))}return qe(e,Fe),at(e,[{key:"initialize",value:function(t){t=t||{},this.options={align:"center",trigger:"click",show_arrow:!0,hide_sm:!1,square:!1},Z(this.options,this.pick(t,et(this.options))),this.content=t.content,(this.el.dropdown=this).el.addEventListener(this.options.trigger,this.toggle.bind(this)),this.el.addEventListener("mousedown",function(){this.mousedown=!0}.bind(this)),this.el.addEventListener("mouseup",function(){this.mousedown=!1}.bind(this)),this.el.addEventListener("focus",function(){this.mousedown||this.show()}.bind(this)),document.addEventListener("focus",this.outsideClick.bind(this)),document.addEventListener(this.options.trigger,this.outsideClick.bind(this)),document.addEventListener("keyup",this.keyup.bind(this)),window.addEventListener("resize",this.resize.bind(this))}},{key:"render",value:function(){if(this.dropdown=document.createElement("div"),$e(this.dropdown,"uniformDropdown-dropdown"),$e(this.dropdown,"absolute"),this.dropdown.style.minWidth=this.$el.outerWidth(),this.dropdown.innerHTML=this.content.innerHTML?this.content.innerHTML:this.content,this.options.show_arrow){$e(this.dropdown,"has-pointer");var t=document.createElement("div");$e(t,"uniformDropdown-pointer"),this.dropdown.appendChild(t)}return Re(this.dropdown,"square",this.options.square),this.dropdown.style.display="none",document.body.appendChild(this.dropdown),Be(this.dropdown.querySelectorAll(".hidden"),"hidden"),this}},{key:"resize",value:function(){if(this.dropdown){var t=Ue(this.el);this.dropdown.style.top=t.top+this.el.offsetHeight+"px","center"==this.options.align?this.dropdown.style.left=t.left+this.el.offsetWidth/2-this.dropdown.offsetWidth/2+"px":"right"==this.options.align?this.dropdown.style.right=window.innerWidth-(t.left+this.el.offsetWidth)+"px":this.dropdown.style.left=t.left+"px",this.dropdown.style.left&&this.dropdown.style.left+this.dropdown.offsetWidth>window.innerWidth&&(this.dropdown.style.left=window.innerWidth-this.dropdown.offsetWidth+"px")}}},{key:"remove",value:function(){this.el.parentNode.removeChild(this.el),this.el.removeEventListener(this.options.trigger),window.removeEventListener("resize",this.resize.bind(this)),document.removeEventListener(this.options.trigger,this.outsideClick.bind(this)),document.removeEventListener("keyup",this.keyup.bind(this))}},{key:"toggle",value:function(t){Ie(this.el,"active")&&"click"==t.type?this.hide():this.show()}},{key:"show",value:function(){this.options.hide_sm&&window.innerWidth<720||(this.dropdown||this.render(),this.dropdown.style.display="block",$e(this.el,"active"),this.resize(),this.overlay=document.createElement("div"),$e(this.overlay,"uniformOverlay"),document.body.appendChild(this.overlay),window.innerWidth<720&&(this.lastScrollPosition=window.scrollY,$e(document.body,"uniformModal-hideBody")),this.overlay.addEventListener("click",this.hide.bind(this)),this.trigger("shown"))}},{key:"hide",value:function(){this.dropdown&&(this.dropdown.style.display="none",Be(this.el,"active"),this.overlay&&this.overlay.parentNode.removeChild(this.overlay),window.innerWidth<720&&(Be(document.body,"uniformModal-hideBody"),window.scrollTo(0,this.lastScrollPosition)),this.trigger("hidden"))}},{key:"outsideClick",value:function(t){this.dropdown&&null!==this.dropdown.offsetParent&&t.target!==this.el&&t.target!==this.overlay&&(this.el.contains(t.target)||this.dropdown.contains(t.target)||this.hide())}},{key:"keyup",value:function(t){27==t.which&&this.hide()}}]),e}(),Ze=function(t){function e(){return rt(this,e),Me(this,(e.__proto__||st(e)).apply(this,arguments))}return qe(e,Fe),at(e,[{key:"initialize",value:function(t){this.el.addEventListener("change",this.change.bind(this))}},{key:"render",value:function(){var t=Ie(this.el,"uniformRadio")?"uniformRadio":"uniformCheckbox";return this.checkbox=document.createElement("div"),$e(this.checkbox,"".concat(t,"-indicator")),this.el.className&&""!=this.el.className.replace(t,"")&&$e(this.checkbox,this.el.className.replace(t,"")),Re(this.checkbox,"checked",this.el.checked),this.el.parentNode.insertBefore(this.checkbox,this.el.nextSibling),this.checkbox.addEventListener("click",this.click.bind(this)),this}},{key:"click",value:function(t){this.el.disabled||(this.el.checked=!this.el.checked,De(this.el,"change"),t.preventDefault())}},{key:"change",value:function(){Re(this.checkbox,"checked",this.el.checked)}}]),e}(),ti=function(t){function e(){return rt(this,e),Me(this,(e.__proto__||st(e)).apply(this,arguments))}return qe(e,Fe),at(e,[{key:"initialize",value:function(t){this.options={},this.options.klass=t.klass||!1,this.content=t.content,$e(this.el,"uniformModal"),document.addEventListener("keyup",this.keyup.bind(this)),this.el.addEventListener("click",this.checkCloseButton.bind(this))}},{key:"keyup",value:function(t){27==t.which&&this.close()}},{key:"render",value:function(){var t="function"==typeof this.content?this.content():this.content;this.highest_z_index=0,this.overlay=document.createElement("div"),$e(this.overlay,"uniformModal-overlay"),this.blur=document.createElement("div"),$e(this.blur,"uniformModal-blur"),this.original_scroll=window.scrollY,this.blur.style.top=0-this.original_scroll+"px",0<document.body.querySelectorAll(".uniformModal").length&&(this.highest_z_index=Math.max(Array.prototype.map.call(document.body.querySelectorAll(".uniformModal"),function(t){return parseInt(Ye(t,"zIndex"))})),this.el.style.zIndex=this.highest_z_index+2),this.el.appendChild(this.overlay);for(var e=document.body.children,i=e.length,n=0;n<i;n++)this.blur.appendChild(e[0]);$e(document.body,"uniformModal-active"),document.body.appendChild(this.blur),document.body.appendChild(this.el);var o=document.createElement("div");$e(o,"uniformModal-container"),o.innerHTML=t.innerHTML?t.innerHTML:t;var s=document.createElement("div");return $e(s,"uniformModal-close"),o.appendChild(s),this.el.style.top=window.scrollY,this.overlay.addEventListener("click",this.close.bind(this)),this.el.appendChild(o),this.options.klass&&$e(o,this.options.klass),t.innerHTML&&De(t,"rendered"),this.trigger("rendered"),this}},{key:"checkCloseButton",value:function(t){Ie(t.target,"uniformModal-close")&&this.close()}},{key:"close",value:function(){Be(document.querySelectorAll("uniformModal-active"),"uniformModal-active");for(var t=this.blur.children,e=t.length,i=0;i<e;i++)document.body.appendChild(t[0]);this.blur.parentNode.removeChild(this.blur),window.scrollTo(0,this.original_scroll),this.trigger("closed"),this.remove()}},{key:"remove",value:function(){this.overlay.parentNode.removeChild(this.overlay),this.el.parentNode.removeChild(this.el),this.el.removeEventListener("click",this.checkCloseButton.bind(this)),this.overlay.removeEventListener("click",this.close.bind(this)),document.removeEventListener("keyup",this.keyup.bind(this))}}]),e}(),ei='\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em" viewBox="0 0 32 32">\n<path d="M28.998 8.531l-2.134-2.134c-0.394-0.393-1.030-0.393-1.423 0l-12.795 12.795-6.086-6.13c-0.393-0.393-1.029-0.393-1.423 0l-2.134 2.134c-0.393 0.394-0.393 1.030 0 1.423l8.924 8.984c0.393 0.393 1.030 0.393 1.423 0l15.648-15.649c0.393-0.392 0.393-1.030 0-1.423z"></path>\n</svg>\n'.trim(),ii='\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em" viewBox="0 0 20 20">\n<path d="M13.418 7.601c0.271-0.268 0.709-0.268 0.979 0s0.271 0.701 0 0.969l-3.907 3.83c-0.271 0.268-0.709 0.268-0.979 0l-3.908-3.83c-0.27-0.268-0.27-0.701 0-0.969s0.708-0.268 0.979 0l3.418 3.14 3.418-3.14z"></path>\n</svg>\n'.trim(),ni=function(t){function e(){return rt(this,e),Me(this,(e.__proto__||st(e)).apply(this,arguments))}return qe(e,Fe),at(e,[{key:"initialize",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.options={label:!1,class:"",showAll:function(t){Be(t.querySelectorAll("button.hide"),"hide");var e=t.querySelector(".uniformSelect-show-all");return e.parentNode.removeChild(e),!1},limit:8},Z(this.options,this.pick(t,et(this.options))),this.el.addEventListener("change",this.updateSelect.bind(this)),this.el.addEventListener("close",this.hideOptions.bind(this)),this.el.addEventListener("revealed",this.resize.bind(this)),this.el.uniformSelect=this,window.addEventListener("resize",this.resize.bind(this)),window.addEventListener("scroll",this.updatePosition.bind(this)),document.addEventListener("click",this.outsideClick.bind(this)),document.addEventListener("keyup",this.keyup.bind(this)),this.activeIcon=document.createElement("span"),$e(this.activeIcon,"uniformSelect-option-icon"),this.activeIcon.innerHTML=ei}},{key:"outsideClick",value:function(t){this.showing&&t.target!==this.select_options&&(this.container.contains(t.target)||this.select_options.contains(t.target)||this.hideOptions())}},{key:"keyup",value:function(t){27===t.which&&this.hideOptions()}},{key:"render",value:function(){this.container=document.createElement("div"),$e(this.container,"uniformSelect-container"),this.edit_button=Ke("<button type='button' class='uniformSelect-edit uniformInput outline block ".concat(this.options.class,'\'><span class="text-js"></span><span class="uniformSelect-edit-icon">').concat(ii,"</span></button>")),this.container.appendChild(this.edit_button),this.el.name&&$e(this.container,this.name.toLowerCase().replace(/[^a-z0-9\-_]+/g,"-")),this.el.style.display="none",this.el.insertAdjacentElement("beforebegin",this.container),this.updateSelect(),this.resize(),this.edit_button.addEventListener("click",this.showOptions.bind(this))}},{key:"resize",value:function(){for(var t=[],e=this.edit_button.children.length,i=0;i<e;i++)t.push(this.edit_button.children[0]),this.edit_button.children[0].parentNode.removeChild(this.edit_button.children[0]);this.edit_button.innerHTML="",this.edit_button.style.width="auto",this.edit_button.style.width=this.container.offsetWidth+"px",Ge(t,function(t){this.edit_button.appendChild(t)}.bind(this)),void 0!==this.select_options&&(window.innerWidth<720||(this.select_options.style.position="absolute",this.select_options.style.top=Ue(this.container).top+this.container.offsetHeight+"px",this.select_options.style.left=Ue(this.container).left+1+"px",this.select_options.style.minWidth=this.container.offsetWidth-1+"px"))}},{key:"renderOptions",value:function(){this.select_options=Ke("<div class='uniformSelect-options'>"),this.options.label&&this.select_options.append('<div class="uniformSelect-label hide show-sm margin-bottom text-bold">'.concat(this.options.label,"</div>")),this.el.name&&$e(this.select_options,this.el.name.toLowerCase().replace(/[^a-z0-9\-_]+/g,"-")),this.select_options.style.fontSize=Ye(this.el,"font-size"),this.select_options.style.display="none",document.body.appendChild(this.select_options),Ge(this.el.querySelectorAll("option"),function(t,e){var i=Ke("<button type='button' class='uniformSelect-option block outline text-left'>");i.option=t,i.textContent=t.textContent,i.value=t.value,""==i.textContent&&i.innerHTML("<span class='text-italic text-muted'>None</span>"),t.selected?($e(i,"active"),i.append(this.activeIcon.cloneNode(!0))):this.options.limit&&e>this.options.limit&&$e(i,"hide"),this.select_options.append(i),i.addEventListener("click",this.selectOption.bind(this))}.bind(this));var t=Ke('<div class="uniformSelect-options-actions"></div>');if(this.options.limit&&this.el.querySelectorAll("option").length>this.options.limit){var e=Ke("<button type='button' class='uniformSelect-show-all outline blue' style='display: block; border: none'>Show All</button>");e.addEventListener("click",function(t){De(this.el,"show_all"),this.options.showAll&&this.options.showAll(this.select_options),t.preventDefault(),t.stopPropagation()}.bind(this)),t.appendChild(e)}if(this.el.multiple){var i=Ke("<button type='button' class='uniformSelect-done block outline blue'>Done</button>");i.addEventListener("click",this.hideOptions.bind(this)),t.appendChild(i)}""!==t.innerHTML&&this.select_options.appendChild(t),De(this.el,"rendered")}},{key:"hideOptions",value:function(){void 0!==this.select_options&&(this.showing=!1,this.select_options.style.display="none",Be(this.select_options,"fixed"),Be(this.edit_button,"active"),Be(document.body,"uniformModal-hideBody"),this.lastScrollPosition&&window.innerWidth<720&&window.scrollTo(0,this.lastScrollPosition),De(this.el,"hidden:options"))}},{key:"showOptions",value:function(){if(this.showing)return this.hideOptions(),!1;this.showing=!0,this.select_options||this.renderOptions(),this.resize(),this.select_options.style.display="block",$e(this.edit_button,"active"),this.lastScrollPosition=window.scrollY,this.updatePosition(),$e(document.body,"uniformModal-hideBody")}},{key:"selectOption",value:function(t){this.el.multiple||(Ge(Je(this.el.querySelectorAll("option"),function(t){return t.selected}),function(t){t.selected=!1}),Ge(this.select_options.querySelectorAll(".uniformSelect-option.active .uniformSelect-option-icon"),Ve),Be(this.select_options.querySelectorAll(".uniformSelect-option.active"),"active")),Re(t.currentTarget,"active"),t.currentTarget.option.selected=Ie(t.currentTarget,"active"),Ie(t.currentTarget,"active")?t.currentTarget.append(this.activeIcon.cloneNode(!0)):Ge(t.currentTarget.querySelectorAll(".uniformSelect-option-icon"),Ve),De(this.el,"change")}},{key:"updateSelect",value:function(){this.el.multiple||this.hideOptions();var t=function(t,e){for(var i=[],n=0;n<t.length;n++)i.push(e(t[n],n));return i}(Je(this.el.querySelectorAll("option"),function(t){return t.selected}),function(t){return t.textContent}).join(", ");""==t&&(t=" "),this.edit_button.querySelector(".text-js").innerHTML=t}},{key:"updatePosition",value:function(){if(this.select_options){var t=Je(function(t){var e=[];for(t=t.parentElement;t;)e.push(t),t=t.parentElement;return e}(this.container),function(t){return"fixed"==Ye(t,"position")});Ie(this.select_options,"fixed")?0==t.length&&(this.select_options.style.position="absolute",this.select_options.style.top=Ue(this.container).top+this.container.offsetHeight+"px",Be(this.select_options,"fixed")):0<t.length&&(720<window.innerWidth&&(this.lastScrollPosition=!1),this.select_options.style.position="fixed",this.select_options.style.top=Ue(this.container).top+this.container.offsetHeight+"px",this.select_options.style.left=Ue(this.container).left+"px",$e(this.select_options,"fixed"))}}}]),e}(),oi=function(t){function e(){return rt(this,e),Me(this,(e.__proto__||st(e)).apply(this,arguments))}return qe(e,Fe),at(e,[{key:"initialize",value:function(){this.label=this.el.querySelector("label"),this.input=this.el.querySelector("#"+this.label.getAttribute("for")),this.startingHeight,this.input.addEventListener("focus",this.activate.bind(this)),this.input.addEventListener("blur",this.deactivate.bind(this)),this.input.addEventListener("revealed",this.render.bind(this))}},{key:"render",value:function(){if(null!==this.input.offsetParent&&!Ie(this.el,"enabled")){var t,e=parseInt(Ye(this.input,"paddingBottom"));this.startingHeight=this.input.offsetHeight,$e(this.el,"enabled"),$e(this.el,"inactive"),this.input.style.paddingTop=e+e/2+"px",this.input.style.paddingBottom=e-e/2-2+"px",this.label.style.position="absolute",this.label.style.top=0,this.label.style.left=this.label.offsetLeft,this.label.style.paddingLeft=Ye(this.input,"paddingLeft"),this.label.style.height=this.startingHeight,this.label.style.lineHeight=this.startingHeight+"px",t=this.input,document.activeElement===t&&this.activate(),void 0!==this.input.value&&""!=this.input.value&&this.activate()}}},{key:"activate",value:function(t){void 0!==t&&$e(this.el,"active"),Ie(this.el,"float")||($e(this.el,"float"),Be(this.el,"inactive"),this.label.style.lineHeight=this.startingHeight/2+"px")}},{key:"deactivate",value:function(t){void 0!==t&&Be(this.el,"active"),""==this.input.value&&(Be(this.el,"float"),$e(this.el,"inactive"),this.label.style.lineHeight=this.startingHeight+"px")}}]),e}(),si=function(t){function e(){return rt(this,e),Me(this,(e.__proto__||st(e)).apply(this,arguments))}return qe(e,Fe),at(e,[{key:"initialize",value:function(){window.addEventListener("resize",this.resize.bind(this)),De(window,"resize")}},{key:"resize",value:function(){var t=this.el.offsetWidth;720<t&&!Ie(this.el,"md-size")?($e(this.el,"md-size"),De(window,"resized-md")):t<720&&Ie(this.el,"md-size")&&Be(this.el,"md-size"),1080<t&&!this.el.hasClass("lg-size")?($e(this.el,"lg-size"),De(window,"resized-lg")):t<1080&&Ie(this.el,"lg-size")&&Be(this.el,"lg-size"),1440<t&&!Ie(this.el,"xl-size")?($e(this.el,"xl-size"),De(window,"resized-xl")):t<1440&&Ie(this.el,"xl-size")&&Be(this.el,"xl-size"),t<720&&!Ie(this.el,"sm-size")?($e(this.el,"sm-size"),De(window,"resized-sm")):720<t&&Ie(this.el,"sm-size")&&Be(this.el,"sm-size")}}]),e}(),ri=function(t){function e(){return rt(this,e),Me(this,(e.__proto__||st(e)).apply(this,arguments))}return qe(e,Fe),at(e,[{key:"initialize",value:function(t){t=t||{},this.options={align:"top"},Z(this.options,this.pick(t,et(this.options))),this.enabled=!0,this.message=t.message,(t.el.tooltip=this).el.addEventListener("mouseenter",this.show.bind(this)),this.el.addEventListener("mouseleave",this.hide.bind(this))}},{key:"render",value:function(){return this.popup=Ke('<div class="uniformTooltip-popup">'+this.message+"</div>"),this.popup.insertBefore(Ke("<div class='uniformTooltip-pointer'></div>"),this.popup.firstChild),this.el.appendChild(this.popup),100<this.message.length?this.popup.style.minWidth="200px":this.popup.style.whiteSpace="nowrap",this.popup.offsetWidth+Ue(this.popup).left>window.innerWidth&&(this.popup.style.left=window.innerWidth-this.popup.offsetWidth-Ue(this.popup).left+"px"),this.popup.style.display="block",("bottom"==this.options.align||Ue(this.popup).top<0)&&$e(this.popup,"-align-bottom"),this.popup.style.display="none",this}},{key:"remove",value:function(){this.el.parentNode.removeChild(this.el)}},{key:"show",value:function(){if(this.popup||this.render(),this.enabled){if(this.hiding)return this.show_after_hide=!0;if(!this.showing&&!this.shown){this.popup.style.display="block",this.showing=!0,this.hidden=!1;var t=function(t){this.trigger("shown"),this.showing=!1,this.shown=!0,this.hide_after_show&&this.hide(),this.hide_after_show=!1}.bind(this);Qe(this.popup,"transitionend",t),Qe(this.popup,"msTransitionEnd",t),Qe(this.popup,"oTransitionEnd",t),Ue(this.popup).left<0&&(this.popup.style.left="0"),$e(this.el,"active"),setTimeout(function(){$e(this.popup,"-reveal")}.bind(this),1)}}}},{key:"hide",value:function(){if(this.showing)return this.hide_after_show=!0;if(!this.hiding&&!this.hidden){this.hiding=!0,this.shown=!1;var t=function(t){this.trigger("hidden"),Be(this.el,"active"),this.popup.style.display="none",this.hiding=!1,this.hidden=!0,this.show_after_hide&&this.show(),this.show_after_hide=!1}.bind(this);Qe(this.popup,"transitionend",t),Qe(this.popup,"msTransitionEnd",t),Qe(this.popup,"oTransitionEnd",t),Be(this.popup,"-reveal")}}},{key:"disable",value:function(){this.enabled=!1}},{key:"enabled",value:function(){this.enabled=!0}}]),e}();$&&($.fn.uniformDropdown=function(){return this.each(function(){var i=$(this),t={el:this};void 0!==i.data("dropdown-align")&&(t.align=i.data("dropdown-align")),void 0!==i.data("dropdown-trigger")&&(t.trigger=i.data("dropdown-trigger")),void 0!==i.data("dropdown-show_arrow")&&(t.show_arrow=i.data("dropdown-show_arrow")),void 0!==i.data("dropdown-square")&&(t.square=i.data("dropdown-square")),void 0!==i.data("dropdown-hide_sm")&&(t.hide_sm=i.data("dropdown-hide_sm")),void 0!==i.data("dropdown-content")&&(t.content="<div class='pad'>".concat(i.data("dropdown-content"),"</div>")),void 0!==i.data("dropdown-target")&&(t.content=$(i.data("dropdown-target"))[0]);var e=new Xe(t);e.on("*",function(t,e){i.trigger("dropdown-"+t,e)}),e.render()})},$.fn.uniformCheckbox=function(){return this.each(function(){$(this);new Ze({el:this}).render()})},$.fn.uniformRadio=$.fn.uniformCheckbox,$.fn.uniformFloatingLabel=function(){return this.each(function(){new oi({el:this}).render()})},$.fn.uniformModal=function(){return this.click(function(){var i=$(this),t={klass:i.data("modal-klass"),content:i.data("modal-content")};if(i.data("modal-target")){var e=$(i.data("modal-target")).clone();e.removeClass("hidden"),t.content=e[0]}new ti(t).render().on("*",function(t,e){i.trigger("modal-"+t,e)})})},$.fn.uniformResizer=function(){return this.each(function(){new si({el:this})})},$.fn.uniformSelect=function(){return this.each(function(){var t={el:this};Z(t,$(this).data()),new ni(t).render()})},$.fn.uniformTooltip=function(){return this.each(function(){var i=$(this),t=new ri({message:i.data("tooltip-message"),el:this});t.on("*",function(t,e){i.trigger("tooltip-"+t,e)}),t.render()})})}();
|