Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coreui/coreui-pro

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coreui/coreui-pro - npm Package Compare versions

Comparing version 2.0.12 to 2.0.13

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## v2.0.13
- fix(scss): add missing `light-blue` color variable
- chore: update `@babel/core` to `7.1.2`
- chore: update `@babel/cli` to `7.1.2`
- chore: update `eslint` to `5.6.1`
## v2.0.12

@@ -2,0 +8,0 @@ - fix(layout) `aside` IE issue with `.main` margin on mobile

10

dist/js/coreui-utilities.js
/*!
* CoreUI Pro v2.0.12 (https://coreui.io/pro/)
* CoreUI Pro v2.0.13 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek

@@ -13,3 +13,3 @@ */

* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): get-style.js
* CoreUI Utilities (v2.0.13): get-style.js
* Licensed under MIT (https://coreui.io/license)

@@ -81,3 +81,3 @@ * --------------------------------------------------------------------------

* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): hex-to-rgb.js
* CoreUI Utilities (v2.0.13): hex-to-rgb.js
* Licensed under MIT (https://coreui.io/license)

@@ -118,3 +118,3 @@ * --------------------------------------------------------------------------

* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): hex-to-rgba.js
* CoreUI Utilities (v2.0.13): hex-to-rgba.js
* Licensed under MIT (https://coreui.io/license)

@@ -159,3 +159,3 @@ * --------------------------------------------------------------------------

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): rgb-to-hex.js
* CoreUI (v2.0.13): rgb-to-hex.js
* Licensed under MIT (https://coreui.io/license)

@@ -162,0 +162,0 @@ * --------------------------------------------------------------------------

/*!
* CoreUI Pro v2.0.12 (https://coreui.io/pro/)
* CoreUI Pro v2.0.13 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek

@@ -4,0 +4,0 @@ */

/*!
* CoreUI Pro v2.0.12 (https://coreui.io/pro/)
* CoreUI Pro v2.0.13 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek

@@ -32,3 +32,3 @@ */

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): ajax-load.js
* CoreUI (v2.0.13): ajax-load.js
* Licensed under MIT (https://coreui.io/license)

@@ -45,3 +45,3 @@ * --------------------------------------------------------------------------

var NAME = 'ajaxLoad';
var VERSION = '2.0.12';
var VERSION = '2.0.13';
var DATA_KEY = 'coreui.ajaxLoad';

@@ -239,3 +239,3 @@ var JQUERY_NO_CONFLICT = $$$1.fn[NAME];

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): toggle-classes.js
* CoreUI (v2.0.13): toggle-classes.js
* Licensed under MIT (https://coreui.io/license)

@@ -265,3 +265,3 @@ * --------------------------------------------------------------------------

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): aside-menu.js
* CoreUI (v2.0.13): aside-menu.js
* Licensed under MIT (https://coreui.io/license)

@@ -278,3 +278,3 @@ * --------------------------------------------------------------------------

var NAME = 'aside-menu';
var VERSION = '2.0.12';
var VERSION = '2.0.13';
var DATA_KEY = 'coreui.aside-menu';

@@ -376,3 +376,3 @@ var EVENT_KEY = "." + DATA_KEY;

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): sidebar.js
* CoreUI (v2.0.13): sidebar.js
* Licensed under MIT (https://coreui.io/license)

@@ -389,3 +389,3 @@ * --------------------------------------------------------------------------

var NAME = 'sidebar';
var VERSION = '2.0.12';
var VERSION = '2.0.13';
var DATA_KEY = 'coreui.sidebar';

@@ -609,3 +609,3 @@ var EVENT_KEY = "." + DATA_KEY;

* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): get-style.js
* CoreUI Utilities (v2.0.13): get-style.js
* Licensed under MIT (https://coreui.io/license)

@@ -677,3 +677,3 @@ * --------------------------------------------------------------------------

* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): hex-to-rgb.js
* CoreUI Utilities (v2.0.13): hex-to-rgb.js
* Licensed under MIT (https://coreui.io/license)

@@ -714,3 +714,3 @@ * --------------------------------------------------------------------------

* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): hex-to-rgba.js
* CoreUI Utilities (v2.0.13): hex-to-rgba.js
* Licensed under MIT (https://coreui.io/license)

@@ -755,3 +755,3 @@ * --------------------------------------------------------------------------

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): rgb-to-hex.js
* CoreUI (v2.0.13): rgb-to-hex.js
* Licensed under MIT (https://coreui.io/license)

@@ -781,3 +781,3 @@ * --------------------------------------------------------------------------

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): index.js
* CoreUI (v2.0.13): index.js
* Licensed under MIT (https://coreui.io/license)

@@ -784,0 +784,0 @@ * --------------------------------------------------------------------------

/*!
* CoreUI Pro v2.0.12 (https://coreui.io/pro/)
* CoreUI Pro v2.0.13 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("perfect-scrollbar")):"function"==typeof define&&define.amd?define(["exports","jquery","perfect-scrollbar"],t):t(e.coreui={},e.jQuery,e.PerfectScrollbar)}(this,function(e,t,r){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}t=t&&t.hasOwnProperty("default")?t.default:t,r=r&&r.hasOwnProperty("default")?r.default:r;var i,n,s,c,u,l,d,f,p,h,g,m,b,v,y,w,I,C,_,T,S,L,E,j,A,P,x,D,O,k,Q,U,q,N,R,G,K,H,M,V,z,B,J,Y,$,X,F=(n="ajaxLoad",s="coreui.ajaxLoad",c=(i=t).fn[n],u="active",l="open",d="view-script",f="click",p=".sidebar-nav .nav-dropdown",h=".sidebar-nav .nav-link",g=".sidebar-nav .nav-item",m=".view-script",b={defaultPage:"main.html",errorPage:"404.html",subpagesDirectory:"views/"},v=function(){function n(e,t){this._config=this._getConfig(t),this._element=e;var n=location.hash.replace(/^#/,"");""!==n?this.setUpUrl(n):this.setUpUrl(this._config.defaultPage),this._addEventListeners()}var e=n.prototype;return e.loadPage=function(r){var o=this._element,e=this._config;i.ajax({type:"GET",url:e.subpagesDirectory+r,dataType:"html",beforeSend:function(){i(m).remove()},success:function(e){var t=document.createElement("div");t.innerHTML=e;var n=Array.from(t.querySelectorAll("script")).map(function(e){return e.attributes.getNamedItem("src").nodeValue});t.querySelectorAll("script").forEach(function(e){return e.parentNode.removeChild(e)}),i("body").animate({scrollTop:0},0),i(o).html(t),n.length&&function e(t,n){void 0===n&&(n=0);var r=document.createElement("script");r.type="text/javascript",r.src=t[n],r.className=d,r.onload=r.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState||t.length>n+1&&e(t,n+1)},document.getElementsByTagName("body")[0].appendChild(r)}(n),window.location.hash=r},error:function(){window.location.href=e.errorPage}})},e.setUpUrl=function(e){i(h).removeClass(u),i(p).removeClass(l),i(p+':has(a[href="'+e.replace(/^\//,"").split("?")[0]+'"])').addClass(l),i(g+' a[href="'+e.replace(/^\//,"").split("?")[0]+'"]').addClass(u),this.loadPage(e)},e.loadBlank=function(e){window.open(e)},e.loadTop=function(e){window.location=e},e._getConfig=function(e){return e=Object.assign({},b,e)},e._addEventListeners=function(){var t=this;i(document).on(f,h+'[href!="#"]',function(e){e.preventDefault(),e.stopPropagation(),"_top"===e.currentTarget.target?t.loadTop(e.currentTarget.href):"_blank"===e.currentTarget.target?t.loadBlank(e.currentTarget.href):t.setUpUrl(e.currentTarget.getAttribute("href"))})},n._jQueryInterface=function(t){return this.each(function(){var e=i(this).data(s);e||(e=new n(this,"object"==typeof t&&t),i(this).data(s,e))})},a(n,null,[{key:"VERSION",get:function(){return"2.0.12"}},{key:"Default",get:function(){return b}}]),n}(),i.fn[n]=v._jQueryInterface,i.fn[n].Constructor=v,i.fn[n].noConflict=function(){return i.fn[n]=c,v._jQueryInterface},v),W=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);-1!==r.map(function(e){return document.body.classList.contains(e)}).indexOf(!0)?r.map(function(e){return document.body.classList.remove(e)}):document.body.classList.add(e)},Z=(w="aside-menu",I="coreui.aside-menu",C=(y=t).fn[w],_={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},T=".aside-menu",S=".aside-menu-toggler",L=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],E=function(){function n(e){this._element=e,this._addEventListeners()}return n.prototype._addEventListeners=function(){y(S).on(_.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;W(t,L)})},n._jQueryInterface=function(){return this.each(function(){var e=y(this),t=e.data(I);t||(t=new n(this),e.data(I,t))})},a(n,null,[{key:"VERSION",get:function(){return"2.0.12"}}]),n}(),y(window).on(_.LOAD_DATA_API,function(){var e=y(T);E._jQueryInterface.call(e)}),y.fn[w]=E._jQueryInterface,y.fn[w].Constructor=E,y.fn[w].noConflict=function(){return y.fn[w]=C,E._jQueryInterface},E),ee=(A="sidebar",P="coreui.sidebar",x=(j=t).fn[A],D=400,O="active",k="brand-minimized",Q="open",U="sidebar-minimized",q={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle",UPDATE:"update"},N="body",R=".brand-minimizer",G=".nav-dropdown-toggle",K=".nav-dropdown-items",H=".nav-item",M=".nav-link",V=".sidebar-nav",z=".sidebar-nav > .nav",B=".sidebar",J=".sidebar-minimizer",Y=".sidebar-toggler",$=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],X=function(){function n(e){this._element=e,this.ps=null,this.perfectScrollbar(q.INIT),this.setActiveLink(),this._addEventListeners()}var e=n.prototype;return e.perfectScrollbar=function(e){var t=this;"undefined"!=typeof r&&(e!==q.INIT||document.body.classList.contains(U)||(this.ps=this.makeScrollbar()),e===q.DESTROY&&this.destroyScrollbar(),e===q.TOGGLE&&(document.body.classList.contains(U)?this.destroyScrollbar():(this.ps=this.makeScrollbar(),this.ps.isRtl=!1)),e!==q.UPDATE||document.body.classList.contains(U)||setTimeout(function(){t.destroyScrollbar(),t.ps=t.makeScrollbar(),t.ps.isRtl=!1},D))},e.makeScrollbar=function(e){return void 0===e&&(e=V),new r(document.querySelector(e),{suppressScrollX:!0})},e.destroyScrollbar=function(){this.ps&&(this.ps.destroy(),this.ps=null)},e.setActiveLink=function(){j(z).find(M).each(function(e,t){var n=t,r=String(window.location).split("?")[0];"#"===r.substr(r.length-1)&&(r=r.slice(0,-1)),j(j(n))[0].href===r&&j(n).addClass(O).parents(K).add(n).each(function(e,t){j(n=t).parent().addClass(Q)})})},e._addEventListeners=function(){var n=this;j(R).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),j(N).toggleClass(k)}),j(G).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.target;j(t).parent().toggleClass(Q),n.perfectScrollbar(q.UPDATE)}),j(J).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),j(N).toggleClass(U),n.perfectScrollbar(q.TOGGLE)}),j(Y).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;W(t,$)}),j(z+" > "+H+" "+M+":not("+G+")").on(q.CLICK,function(){document.body.classList.remove("sidebar-show")})},n._jQueryInterface=function(){return this.each(function(){var e=j(this),t=e.data(P);t||(t=new n(this),e.data(P,t))})},a(n,null,[{key:"VERSION",get:function(){return"2.0.12"}}]),n}(),j(window).on(q.LOAD_DATA_API,function(){var e=j(B);X._jQueryInterface.call(e)}),j.fn[A]=X._jQueryInterface,j.fn[A].Constructor=X,j.fn[A].noConflict=function(){return j.fn[A]=x,X._jQueryInterface},X);!function(e){if("undefined"==typeof e)throw new TypeError("CoreUI's JavaScript requires jQuery. jQuery must be included before CoreUI's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("CoreUI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),window.getStyle=function(e,t){var n;void 0===t&&(t=document.body),n=e.match(/^--.*/i)&&Boolean(document.documentMode)&&10<=document.documentMode?function(){for(var r={},e=document.styleSheets,t="",n=e.length-1;-1<n;n--){for(var o=e[n].cssRules,a=o.length-1;-1<a;a--)if(".ie-custom-properties"===o[a].selectorText){t=o[a].cssText;break}if(t)break}return(t=t.substring(t.lastIndexOf("{")+1,t.lastIndexOf("}"))).split(";").forEach(function(e){if(e){var t=e.split(": ")[0],n=e.split(": ")[1];t&&n&&(r["--"+t.trim()]=n.trim())}}),r}()[e]:window.getComputedStyle(t,null).getPropertyValue(e).replace(/^\s/,"");return n},window.hexToRgb=function(e){if("undefined"==typeof e)throw new Error("Hex color is not defined");var t,n,r;if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");return r=7===e.length?(t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),parseInt(e.substring(3,5),16)),"rgba("+t+", "+n+", "+r+")"},window.hexToRgba=function(e,t){if(void 0===t&&(t=100),"undefined"==typeof e)throw new Error("Hex color is not defined");var n,r,o;if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");return o=7===e.length?(n=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)):(n=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),parseInt(e.substring(3,5),16)),"rgba("+n+", "+r+", "+o+", "+t/100+")"},window.rgbToHex=function(e){if("undefined"==typeof e)throw new Error("Hex color is not defined");var t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!t)throw new Error(e+" is not a valid rgb color");var n="0"+parseInt(t[1],10).toString(16),r="0"+parseInt(t[2],10).toString(16),o="0"+parseInt(t[3],10).toString(16);return"#"+n.slice(-2)+r.slice(-2)+o.slice(-2)},e.AjaxLoad=F,e.AsideMenu=Z,e.Sidebar=ee,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("perfect-scrollbar")):"function"==typeof define&&define.amd?define(["exports","jquery","perfect-scrollbar"],t):t(e.coreui={},e.jQuery,e.PerfectScrollbar)}(this,function(e,t,r){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}t=t&&t.hasOwnProperty("default")?t.default:t,r=r&&r.hasOwnProperty("default")?r.default:r;var i,n,s,c,u,l,d,f,p,h,g,m,b,v,y,w,I,C,_,T,S,L,E,j,A,P,x,D,O,k,Q,U,q,N,R,G,K,H,M,V,z,B,J,Y,$,X,F=(n="ajaxLoad",s="coreui.ajaxLoad",c=(i=t).fn[n],u="active",l="open",d="view-script",f="click",p=".sidebar-nav .nav-dropdown",h=".sidebar-nav .nav-link",g=".sidebar-nav .nav-item",m=".view-script",b={defaultPage:"main.html",errorPage:"404.html",subpagesDirectory:"views/"},v=function(){function n(e,t){this._config=this._getConfig(t),this._element=e;var n=location.hash.replace(/^#/,"");""!==n?this.setUpUrl(n):this.setUpUrl(this._config.defaultPage),this._addEventListeners()}var e=n.prototype;return e.loadPage=function(r){var o=this._element,e=this._config;i.ajax({type:"GET",url:e.subpagesDirectory+r,dataType:"html",beforeSend:function(){i(m).remove()},success:function(e){var t=document.createElement("div");t.innerHTML=e;var n=Array.from(t.querySelectorAll("script")).map(function(e){return e.attributes.getNamedItem("src").nodeValue});t.querySelectorAll("script").forEach(function(e){return e.parentNode.removeChild(e)}),i("body").animate({scrollTop:0},0),i(o).html(t),n.length&&function e(t,n){void 0===n&&(n=0);var r=document.createElement("script");r.type="text/javascript",r.src=t[n],r.className=d,r.onload=r.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState||t.length>n+1&&e(t,n+1)},document.getElementsByTagName("body")[0].appendChild(r)}(n),window.location.hash=r},error:function(){window.location.href=e.errorPage}})},e.setUpUrl=function(e){i(h).removeClass(u),i(p).removeClass(l),i(p+':has(a[href="'+e.replace(/^\//,"").split("?")[0]+'"])').addClass(l),i(g+' a[href="'+e.replace(/^\//,"").split("?")[0]+'"]').addClass(u),this.loadPage(e)},e.loadBlank=function(e){window.open(e)},e.loadTop=function(e){window.location=e},e._getConfig=function(e){return e=Object.assign({},b,e)},e._addEventListeners=function(){var t=this;i(document).on(f,h+'[href!="#"]',function(e){e.preventDefault(),e.stopPropagation(),"_top"===e.currentTarget.target?t.loadTop(e.currentTarget.href):"_blank"===e.currentTarget.target?t.loadBlank(e.currentTarget.href):t.setUpUrl(e.currentTarget.getAttribute("href"))})},n._jQueryInterface=function(t){return this.each(function(){var e=i(this).data(s);e||(e=new n(this,"object"==typeof t&&t),i(this).data(s,e))})},a(n,null,[{key:"VERSION",get:function(){return"2.0.13"}},{key:"Default",get:function(){return b}}]),n}(),i.fn[n]=v._jQueryInterface,i.fn[n].Constructor=v,i.fn[n].noConflict=function(){return i.fn[n]=c,v._jQueryInterface},v),W=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);-1!==r.map(function(e){return document.body.classList.contains(e)}).indexOf(!0)?r.map(function(e){return document.body.classList.remove(e)}):document.body.classList.add(e)},Z=(w="aside-menu",I="coreui.aside-menu",C=(y=t).fn[w],_={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},T=".aside-menu",S=".aside-menu-toggler",L=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],E=function(){function n(e){this._element=e,this._addEventListeners()}return n.prototype._addEventListeners=function(){y(S).on(_.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;W(t,L)})},n._jQueryInterface=function(){return this.each(function(){var e=y(this),t=e.data(I);t||(t=new n(this),e.data(I,t))})},a(n,null,[{key:"VERSION",get:function(){return"2.0.13"}}]),n}(),y(window).on(_.LOAD_DATA_API,function(){var e=y(T);E._jQueryInterface.call(e)}),y.fn[w]=E._jQueryInterface,y.fn[w].Constructor=E,y.fn[w].noConflict=function(){return y.fn[w]=C,E._jQueryInterface},E),ee=(A="sidebar",P="coreui.sidebar",x=(j=t).fn[A],D=400,O="active",k="brand-minimized",Q="open",U="sidebar-minimized",q={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle",UPDATE:"update"},N="body",R=".brand-minimizer",G=".nav-dropdown-toggle",K=".nav-dropdown-items",H=".nav-item",M=".nav-link",V=".sidebar-nav",z=".sidebar-nav > .nav",B=".sidebar",J=".sidebar-minimizer",Y=".sidebar-toggler",$=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],X=function(){function n(e){this._element=e,this.ps=null,this.perfectScrollbar(q.INIT),this.setActiveLink(),this._addEventListeners()}var e=n.prototype;return e.perfectScrollbar=function(e){var t=this;"undefined"!=typeof r&&(e!==q.INIT||document.body.classList.contains(U)||(this.ps=this.makeScrollbar()),e===q.DESTROY&&this.destroyScrollbar(),e===q.TOGGLE&&(document.body.classList.contains(U)?this.destroyScrollbar():(this.ps=this.makeScrollbar(),this.ps.isRtl=!1)),e!==q.UPDATE||document.body.classList.contains(U)||setTimeout(function(){t.destroyScrollbar(),t.ps=t.makeScrollbar(),t.ps.isRtl=!1},D))},e.makeScrollbar=function(e){return void 0===e&&(e=V),new r(document.querySelector(e),{suppressScrollX:!0})},e.destroyScrollbar=function(){this.ps&&(this.ps.destroy(),this.ps=null)},e.setActiveLink=function(){j(z).find(M).each(function(e,t){var n=t,r=String(window.location).split("?")[0];"#"===r.substr(r.length-1)&&(r=r.slice(0,-1)),j(j(n))[0].href===r&&j(n).addClass(O).parents(K).add(n).each(function(e,t){j(n=t).parent().addClass(Q)})})},e._addEventListeners=function(){var n=this;j(R).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),j(N).toggleClass(k)}),j(G).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.target;j(t).parent().toggleClass(Q),n.perfectScrollbar(q.UPDATE)}),j(J).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),j(N).toggleClass(U),n.perfectScrollbar(q.TOGGLE)}),j(Y).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;W(t,$)}),j(z+" > "+H+" "+M+":not("+G+")").on(q.CLICK,function(){document.body.classList.remove("sidebar-show")})},n._jQueryInterface=function(){return this.each(function(){var e=j(this),t=e.data(P);t||(t=new n(this),e.data(P,t))})},a(n,null,[{key:"VERSION",get:function(){return"2.0.13"}}]),n}(),j(window).on(q.LOAD_DATA_API,function(){var e=j(B);X._jQueryInterface.call(e)}),j.fn[A]=X._jQueryInterface,j.fn[A].Constructor=X,j.fn[A].noConflict=function(){return j.fn[A]=x,X._jQueryInterface},X);!function(e){if("undefined"==typeof e)throw new TypeError("CoreUI's JavaScript requires jQuery. jQuery must be included before CoreUI's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("CoreUI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),window.getStyle=function(e,t){var n;void 0===t&&(t=document.body),n=e.match(/^--.*/i)&&Boolean(document.documentMode)&&10<=document.documentMode?function(){for(var r={},e=document.styleSheets,t="",n=e.length-1;-1<n;n--){for(var o=e[n].cssRules,a=o.length-1;-1<a;a--)if(".ie-custom-properties"===o[a].selectorText){t=o[a].cssText;break}if(t)break}return(t=t.substring(t.lastIndexOf("{")+1,t.lastIndexOf("}"))).split(";").forEach(function(e){if(e){var t=e.split(": ")[0],n=e.split(": ")[1];t&&n&&(r["--"+t.trim()]=n.trim())}}),r}()[e]:window.getComputedStyle(t,null).getPropertyValue(e).replace(/^\s/,"");return n},window.hexToRgb=function(e){if("undefined"==typeof e)throw new Error("Hex color is not defined");var t,n,r;if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");return r=7===e.length?(t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),parseInt(e.substring(3,5),16)),"rgba("+t+", "+n+", "+r+")"},window.hexToRgba=function(e,t){if(void 0===t&&(t=100),"undefined"==typeof e)throw new Error("Hex color is not defined");var n,r,o;if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");return o=7===e.length?(n=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)):(n=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),parseInt(e.substring(3,5),16)),"rgba("+n+", "+r+", "+o+", "+t/100+")"},window.rgbToHex=function(e){if("undefined"==typeof e)throw new Error("Hex color is not defined");var t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!t)throw new Error(e+" is not a valid rgb color");var n="0"+parseInt(t[1],10).toString(16),r="0"+parseInt(t[2],10).toString(16),o="0"+parseInt(t[3],10).toString(16);return"#"+n.slice(-2)+r.slice(-2)+o.slice(-2)},e.AjaxLoad=F,e.AsideMenu=Z,e.Sidebar=ee,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=coreui.min.js.map

@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): ajax-load.js
* CoreUI (v2.0.13): ajax-load.js
* Licensed under MIT (https://coreui.io/license)

@@ -19,3 +19,3 @@ * --------------------------------------------------------------------------

var NAME = 'ajaxLoad';
var VERSION = '2.0.12';
var VERSION = '2.0.13';
var DATA_KEY = 'coreui.ajaxLoad';

@@ -22,0 +22,0 @@ var JQUERY_NO_CONFLICT = $.fn[NAME];

@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): aside-menu.js
* CoreUI (v2.0.13): aside-menu.js
* Licensed under MIT (https://coreui.io/license)

@@ -19,3 +19,3 @@ * --------------------------------------------------------------------------

var NAME = 'aside-menu';
var VERSION = '2.0.12';
var VERSION = '2.0.13';
var DATA_KEY = 'coreui.aside-menu';

@@ -22,0 +22,0 @@ var EVENT_KEY = "." + DATA_KEY;

/**
* --------------------------------------------------------------------------
* CoreUI (v2.0.12): index.js
* CoreUI (v2.0.13): index.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): sidebar.js
* CoreUI (v2.0.13): sidebar.js
* Licensed under MIT (https://coreui.io/license)

@@ -19,3 +19,3 @@ * --------------------------------------------------------------------------

var NAME = 'sidebar';
var VERSION = '2.0.12';
var VERSION = '2.0.13';
var DATA_KEY = 'coreui.sidebar';

@@ -22,0 +22,0 @@ var EVENT_KEY = "." + DATA_KEY;

/**
* --------------------------------------------------------------------------
* CoreUI (v2.0.12): toggle-classes.js
* CoreUI (v2.0.13): toggle-classes.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

/**
* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): get-style.js
* CoreUI Utilities (v2.0.13): get-style.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

/**
* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): hex-to-rgb.js
* CoreUI Utilities (v2.0.13): hex-to-rgb.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

/**
* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): hex-to-rgba.js
* CoreUI Utilities (v2.0.13): hex-to-rgba.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

/**
* --------------------------------------------------------------------------
* CoreUI (v2.0.12): rgb-to-hex.js
* CoreUI (v2.0.13): rgb-to-hex.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

@@ -5,3 +5,3 @@ import $ from 'jquery'

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): ajax-load.js
* CoreUI (v2.0.13): ajax-load.js
* Licensed under MIT (https://coreui.io/license)

@@ -20,3 +20,3 @@ * --------------------------------------------------------------------------

const NAME = 'ajaxLoad'
const VERSION = '2.0.12'
const VERSION = '2.0.13'
const DATA_KEY = 'coreui.ajaxLoad'

@@ -23,0 +23,0 @@ const JQUERY_NO_CONFLICT = $.fn[NAME]

@@ -6,3 +6,3 @@ import $ from 'jquery'

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): aside-menu.js
* CoreUI (v2.0.13): aside-menu.js
* Licensed under MIT (https://coreui.io/license)

@@ -20,3 +20,3 @@ * --------------------------------------------------------------------------

const NAME = 'aside-menu'
const VERSION = '2.0.12'
const VERSION = '2.0.13'
const DATA_KEY = 'coreui.aside-menu'

@@ -23,0 +23,0 @@ const EVENT_KEY = `.${DATA_KEY}`

@@ -8,3 +8,3 @@ import $ from 'jquery'

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): index.js
* CoreUI (v2.0.13): index.js
* Licensed under MIT (https://coreui.io/license)

@@ -11,0 +11,0 @@ * --------------------------------------------------------------------------

@@ -7,3 +7,3 @@ import $ from 'jquery'

* --------------------------------------------------------------------------
* CoreUI (v2.0.12): sidebar.js
* CoreUI (v2.0.13): sidebar.js
* Licensed under MIT (https://coreui.io/license)

@@ -21,3 +21,3 @@ * --------------------------------------------------------------------------

const NAME = 'sidebar'
const VERSION = '2.0.12'
const VERSION = '2.0.13'
const DATA_KEY = 'coreui.sidebar'

@@ -24,0 +24,0 @@ const EVENT_KEY = `.${DATA_KEY}`

/**
* --------------------------------------------------------------------------
* CoreUI (v2.0.12): toggle-classes.js
* CoreUI (v2.0.13): toggle-classes.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

/**
* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): get-style.js
* CoreUI Utilities (v2.0.13): get-style.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

/**
* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): hex-to-rgb.js
* CoreUI Utilities (v2.0.13): hex-to-rgb.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

/**
* --------------------------------------------------------------------------
* CoreUI Utilities (v2.0.12): hex-to-rgba.js
* CoreUI Utilities (v2.0.13): hex-to-rgba.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

/**
* --------------------------------------------------------------------------
* CoreUI (v2.0.12): rgb-to-hex.js
* CoreUI (v2.0.13): rgb-to-hex.js
* Licensed under MIT (https://coreui.io/license)

@@ -5,0 +5,0 @@ * --------------------------------------------------------------------------

{
"name": "@coreui/coreui-pro",
"version": "2.0.12",
"version": "2.0.13",
"description": "UI Kit built on top of Bootstrap 4",

@@ -77,4 +77,4 @@ "keywords": [

"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",

@@ -93,3 +93,3 @@ "@babel/plugin-proposal-throw-expressions": "^7.0.0",

"cross-env": "^5.2.0",
"eslint": "^5.6.0",
"eslint": "^5.6.1",
"eslint-plugin-compat": "^2.5.1",

@@ -96,0 +96,0 @@ "node-sass": "^4.9.3",

@@ -55,3 +55,3 @@ # CoreUI - WebApp UI Kit built on top of Bootstrap 4 [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/intent/tweet?text=CoreUI%20-%20Free%20Bootstrap%204%20Admin%20Template%20&url=https://coreui.io&hashtags=bootstrap,admin,template,dashboard,panel,free,angular,react,vue)

``` bash
$ yarn add @coreui/coreui@2.0.12
$ yarn add @coreui/coreui@2.0.13
```

@@ -62,3 +62,3 @@

``` bash
$ composer require coreui/coreui:2.0.12
$ composer require coreui/coreui:2.0.13
```

@@ -65,0 +65,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc