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.3 to 2.0.4

11

dist/js/coreui-utilities.js
/*!
* CoreUI v2.0.3 (https://coreui.io/pro/)
* CoreUI Pro v2.0.4 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek
* Licensed under MIT (https://coreui.io/pro/)
*/

@@ -14,3 +13,3 @@ (function (global, factory) {

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

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

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

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

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

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

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

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

/*!
* CoreUI v2.0.3 (https://coreui.io/pro/)
* CoreUI Pro v2.0.4 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek
* Licensed under MIT (https://coreui.io/pro/)
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.utilities={})}(this,function(e){"use strict";e.getStyle=function(e,t){var r;void 0===t&&(t=document.body),r=e.match(/^--.*/i)&&Boolean(document.documentMode)&&10<=document.documentMode?function(){for(var n={},e=document.styleSheets,t="",r=e.length-1;-1<r;r--){for(var s=e[r].cssRules,o=s.length-1;-1<o;o--)if(".ie-custom-properties"===s[o].selectorText){t=s[o].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],r=e.split(": ")[1];t&&r&&(n["--"+t.trim()]=r.trim())}}),n}()[e]:window.getComputedStyle(t,null).getPropertyValue(e).replace(/^\s/,"");return r},e.hexToRgb=function(e){if("undefined"==typeof e)throw new Error("Hex color is not defined");var t,r,n;if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");return 7===e.length?(t=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),n=parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),n=parseInt(e.substring(3,5),16)),"rgba("+t+", "+r+", "+n+")"},e.hexToRgba=function(e,t){if(void 0===t&&(t=100),"undefined"==typeof e)throw new Error("Hex color is not defined");var r,n,s;if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");return 7===e.length?(r=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),s=parseInt(e.substring(5,7),16)):(r=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),s=parseInt(e.substring(3,5),16)),"rgba("+r+", "+n+", "+s+", "+t/100+")"},e.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 r="0"+parseInt(t[1],10).toString(16),n="0"+parseInt(t[2],10).toString(16),s="0"+parseInt(t[3],10).toString(16);return"#"+r.slice(-2)+n.slice(-2)+s.slice(-2)},Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=coreui-utilities.min.js.map
/*!
* CoreUI Pro v2.0.3 (https://coreui.io/pro/)
* CoreUI Pro v2.0.4 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek
* Licensed under MIT (https://coreui.io/pro/)
*/

@@ -9,3 +8,3 @@ (function (global, factory) {

typeof define === 'function' && define.amd ? define(['exports', 'jquery', 'perfect-scrollbar'], factory) :
(factory((global.coreui = {}),global.jQuery,global.PerfectScrollbar));
(factory((global.coreui = {}),global.jQuery,null));
}(this, (function (exports,$,PerfectScrollbar) { 'use strict';

@@ -34,3 +33,3 @@

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

@@ -47,3 +46,3 @@ * --------------------------------------------------------------------------

var NAME = 'ajaxLoad';
var VERSION = '2.0.3';
var VERSION = '2.0.4';
var DATA_KEY = 'coreui.ajaxLoad';

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

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

@@ -267,3 +266,3 @@ * --------------------------------------------------------------------------

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

@@ -280,3 +279,3 @@ * --------------------------------------------------------------------------

var NAME = 'aside-menu';
var VERSION = '2.0.3';
var VERSION = '2.0.4';
var DATA_KEY = 'coreui.aside-menu';

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

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

@@ -391,3 +390,3 @@ * --------------------------------------------------------------------------

var NAME = 'sidebar';
var VERSION = '2.0.3';
var VERSION = '2.0.4';
var DATA_KEY = 'coreui.sidebar';

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

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

@@ -650,3 +649,3 @@ * --------------------------------------------------------------------------

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

@@ -687,3 +686,3 @@ * --------------------------------------------------------------------------

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

@@ -728,3 +727,3 @@ * --------------------------------------------------------------------------

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

@@ -754,3 +753,3 @@ * --------------------------------------------------------------------------

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

@@ -757,0 +756,0 @@ * --------------------------------------------------------------------------

/*!
* CoreUI Pro v2.0.3 (https://coreui.io/pro/)
* CoreUI Pro v2.0.4 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek
* Licensed under MIT (https://coreui.io/pro/)
*/
!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,u,c,d,l,f,p,g,h,m,v,b,y,w,I,_,C,S,T,L,E,j,x,A,O,P,D,k,Q,q,U,N,G,R,K,H,M,V,z,B,X,J,Y=(n="ajaxLoad",s="coreui.ajaxLoad",u=(i=t).fn[n],c="active",d="open",l="view-script",f="click",p=".sidebar-nav .nav-dropdown",g=".sidebar-nav .nav-link",h=".sidebar-nav .nav-item",m=".view-script",v={defaultPage:"main.html",errorPage:"404.html",subpagesDirectory:"views/"},b=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=l,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(g).removeClass(c),i(p).removeClass(d),i(p+':has(a[href="'+e.replace(/^\//,"").split("?")[0]+'"])').addClass(d),i(h+' a[href="'+e.replace(/^\//,"").split("?")[0]+'"]').addClass(c),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({},v,e)},e._addEventListeners=function(){var t=this;i(document).on(f,g+'[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.3"}},{key:"Default",get:function(){return v}}]),n}(),i.fn[n]=b._jQueryInterface,i.fn[n].Constructor=b,i.fn[n].noConflict=function(){return i.fn[n]=u,b._jQueryInterface},b),$=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)},F=(w="aside-menu",I="coreui.aside-menu",_=(y=t).fn[w],C={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},S=".aside-menu",T=".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(T).on(C.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;$(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.3"}}]),n}(),y(window).on(C.LOAD_DATA_API,function(){var e=y(S);E._jQueryInterface.call(e)}),y.fn[w]=E._jQueryInterface,y.fn[w].Constructor=E,y.fn[w].noConflict=function(){return y.fn[w]=_,E._jQueryInterface},E),W=(x="sidebar",A="coreui.sidebar",O=(j=t).fn[x],P="active",D="brand-minimized",k="open",Q="sidebar-minimized",q={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle"},U="body",N=".brand-minimizer",G=".nav-dropdown-toggle",R=".nav-dropdown-items",K=".nav-link",H=".sidebar-nav",M=".sidebar-nav > .nav",V=".sidebar",z=".sidebar-minimizer",B=".sidebar-toggler",X=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],J=function(){function n(e){this._element=e,this.perfectScrollbar(q.INIT),this.setActiveLink(),this._addEventListeners()}var e=n.prototype;return e.perfectScrollbar=function(e){"undefined"!=typeof r&&(e!==q.INIT||document.body.classList.contains(Q)||new r(document.querySelector(H),{suppressScrollX:!0}),e===q.DESTROY&&new r(document.querySelector(H),{suppressScrollX:!0}).destroy(),e===q.TOGGLE&&(document.body.classList.contains(Q)?new r(document.querySelector(H),{suppressScrollX:!0}).destroy():new r(document.querySelector(H),{suppressScrollX:!0})))},e.setActiveLink=function(){j(M).find(K).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(P).parents(R).add(n).each(function(e,t){j(n=t).parent().addClass(k)})})},e._addEventListeners=function(){var t=this;j(N).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),j(U).toggleClass(D)}),j(G).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.target;j(t).parent().toggleClass(k)}),j(z).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),j(U).toggleClass(Q),t.perfectScrollbar(q.TOGGLE)}),j(B).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;$(t,X)})},n._jQueryInterface=function(){return this.each(function(){var e=j(this),t=e.data(A);t||(t=new n(this),e.data(A,t))})},a(n,null,[{key:"VERSION",get:function(){return"2.0.3"}}]),n}(),j(window).on(q.LOAD_DATA_API,function(){var e=j(V);J._jQueryInterface.call(e)}),j.fn[x]=J._jQueryInterface,j.fn[x].Constructor=J,j.fn[x].noConflict=function(){return j.fn[x]=O,J._jQueryInterface},J);!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 7===e.length?(t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),r=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 7===e.length?(n=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),o=parseInt(e.substring(5,7),16)):(n=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),o=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=Y,e.AsideMenu=F,e.Sidebar=W,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,null)}(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,u,c,d,l,f,p,g,h,m,v,b,y,w,I,_,C,T,L,S,E,j,x,A,O,P,D,k,Q,q,U,N,G,R,K,H,M,V,z,B,X,J,Y=(n="ajaxLoad",s="coreui.ajaxLoad",u=(i=t).fn[n],c="active",d="open",l="view-script",f="click",p=".sidebar-nav .nav-dropdown",g=".sidebar-nav .nav-link",h=".sidebar-nav .nav-item",m=".view-script",v={defaultPage:"main.html",errorPage:"404.html",subpagesDirectory:"views/"},b=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=l,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(g).removeClass(c),i(p).removeClass(d),i(p+':has(a[href="'+e.replace(/^\//,"").split("?")[0]+'"])').addClass(d),i(h+' a[href="'+e.replace(/^\//,"").split("?")[0]+'"]').addClass(c),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({},v,e)},e._addEventListeners=function(){var t=this;i(document).on(f,g+'[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.4"}},{key:"Default",get:function(){return v}}]),n}(),i.fn[n]=b._jQueryInterface,i.fn[n].Constructor=b,i.fn[n].noConflict=function(){return i.fn[n]=u,b._jQueryInterface},b),$=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)},F=(w="aside-menu",I="coreui.aside-menu",_=(y=t).fn[w],C={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},T=".aside-menu",L=".aside-menu-toggler",S=["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(L).on(C.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;$(t,S)})},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.4"}}]),n}(),y(window).on(C.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]=_,E._jQueryInterface},E),W=(x="sidebar",A="coreui.sidebar",O=(j=t).fn[x],P="active",D="brand-minimized",k="open",Q="sidebar-minimized",q={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle"},U="body",N=".brand-minimizer",G=".nav-dropdown-toggle",R=".nav-dropdown-items",K=".nav-link",H=".sidebar-nav",M=".sidebar-nav > .nav",V=".sidebar",z=".sidebar-minimizer",B=".sidebar-toggler",X=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],J=function(){function n(e){this._element=e,this.perfectScrollbar(q.INIT),this.setActiveLink(),this._addEventListeners()}var e=n.prototype;return e.perfectScrollbar=function(e){"undefined"!=typeof r&&(e!==q.INIT||document.body.classList.contains(Q)||new r(document.querySelector(H),{suppressScrollX:!0}),e===q.DESTROY&&new r(document.querySelector(H),{suppressScrollX:!0}).destroy(),e===q.TOGGLE&&(document.body.classList.contains(Q)?new r(document.querySelector(H),{suppressScrollX:!0}).destroy():new r(document.querySelector(H),{suppressScrollX:!0})))},e.setActiveLink=function(){j(M).find(K).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(P).parents(R).add(n).each(function(e,t){j(n=t).parent().addClass(k)})})},e._addEventListeners=function(){var t=this;j(N).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),j(U).toggleClass(D)}),j(G).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.target;j(t).parent().toggleClass(k)}),j(z).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),j(U).toggleClass(Q),t.perfectScrollbar(q.TOGGLE)}),j(B).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;$(t,X)})},n._jQueryInterface=function(){return this.each(function(){var e=j(this),t=e.data(A);t||(t=new n(this),e.data(A,t))})},a(n,null,[{key:"VERSION",get:function(){return"2.0.4"}}]),n}(),j(window).on(q.LOAD_DATA_API,function(){var e=j(V);J._jQueryInterface.call(e)}),j.fn[x]=J._jQueryInterface,j.fn[x].Constructor=J,j.fn[x].noConflict=function(){return j.fn[x]=O,J._jQueryInterface},J);!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 7===e.length?(t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),r=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 7===e.length?(n=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),o=parseInt(e.substring(5,7),16)):(n=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),o=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=Y,e.AsideMenu=F,e.Sidebar=W,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.3): ajax-load.js
* CoreUI (v2.0.4): ajax-load.js
* Licensed under MIT (https://coreui.io/license)

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

var NAME = 'ajaxLoad';
var VERSION = '2.0.3';
var VERSION = '2.0.4';
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.3): aside-menu.js
* CoreUI (v2.0.4): aside-menu.js
* Licensed under MIT (https://coreui.io/license)

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

var NAME = 'aside-menu';
var VERSION = '2.0.3';
var VERSION = '2.0.4';
var DATA_KEY = 'coreui.aside-menu';

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

/**
* --------------------------------------------------------------------------
* CoreUI (v2.0.3): index.js
* CoreUI (v2.0.4): 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.3): sidebar.js
* CoreUI (v2.0.4): sidebar.js
* Licensed under MIT (https://coreui.io/license)

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

var NAME = 'sidebar';
var VERSION = '2.0.3';
var VERSION = '2.0.4';
var DATA_KEY = 'coreui.sidebar';

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

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

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

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

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

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

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

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

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

/**
* --------------------------------------------------------------------------
* CoreUI (v2.0.3): rgb-to-hex.js
* CoreUI (v2.0.4): 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.3): ajax-load.js
* CoreUI (v2.0.4): ajax-load.js
* Licensed under MIT (https://coreui.io/license)

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

const NAME = 'ajaxLoad'
const VERSION = '2.0.3'
const VERSION = '2.0.4'
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.3): aside-menu.js
* CoreUI (v2.0.4): aside-menu.js
* Licensed under MIT (https://coreui.io/license)

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

const NAME = 'aside-menu'
const VERSION = '2.0.3'
const VERSION = '2.0.4'
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.3): index.js
* CoreUI (v2.0.4): index.js
* Licensed under MIT (https://coreui.io/license)

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

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

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

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

const NAME = 'sidebar'
const VERSION = '2.0.3'
const VERSION = '2.0.4'
const DATA_KEY = 'coreui.sidebar'

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

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

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

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

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

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

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

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

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

@@ -0,0 +0,0 @@ import getStyle from './get-style'

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

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

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

@@ -21,3 +21,2 @@ "keywords": [

},
"license": "MIT",
"author": {

@@ -78,9 +77,9 @@ "name": "Łukasz Holeczek",

"devDependencies": {
"@babel/cli": "^7.0.0-beta.46",
"@babel/core": "^7.0.0-beta.46",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.46",
"@babel/plugin-proposal-throw-expressions": "^7.0.0-beta.46",
"@babel/plugin-transform-runtime": "^7.0.0-beta.46",
"@babel/preset-env": "^7.0.0-beta.46",
"autoprefixer": "^8.3.0",
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.51",
"@babel/plugin-proposal-throw-expressions": "^7.0.0-beta.51",
"@babel/plugin-transform-runtime": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"autoprefixer": "^8.6.3",
"babel-eslint": "^8.2.3",

@@ -91,22 +90,22 @@ "babel-plugin-external-helpers": "^6.22.0",

"babel-plugin-transform-object-rest-spread": "^6.26.0",
"clean-css-cli": "^4.1.10",
"cross-env": "^5.1.4",
"clean-css-cli": "^4.1.11",
"cross-env": "^5.2.0",
"eslint": "^4.19.1",
"eslint-plugin-compat": "^2.2.0",
"eslint-plugin-compat": "^2.4.0",
"node-sass": "^4.9.0",
"nodemon": "^1.17.3",
"npm-run-all": "^4.1.2",
"postcss-cli": "^5.0.0",
"rollup": "^0.57.1",
"rollup-plugin-babel": "^4.0.0-beta.4",
"nodemon": "^1.17.5",
"npm-run-all": "^4.1.3",
"postcss-cli": "^5.0.1",
"rollup": "^0.60.7",
"rollup-plugin-babel": "^4.0.0-beta.5",
"rollup-plugin-node-resolve": "^3.3.0",
"semver": "^5.5.0",
"shelljs": "^0.8.1",
"shx": "^0.2.2",
"stylelint": "^9.2.0",
"shelljs": "^0.8.2",
"shx": "^0.3.0",
"stylelint": "^9.3.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^0.8.1",
"stylelint-scss": "^3.1.0",
"uglify-js": "^3.3.22"
"stylelint-scss": "^3.1.3",
"uglify-js": "^3.4.0"
},

@@ -113,0 +112,0 @@ "peerDependencies": {

@@ -55,3 +55,3 @@ # CoreUI - Free 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.3
$ yarn add @coreui/coreui@2.0.4
```

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

``` bash
$ composer require coreui/coreui:2.0.3
$ composer require coreui/coreui:2.0.4
```

@@ -135,4 +135,3 @@

copyright 2018 creativeLabs Łukasz Holeczek. Code released under [the MIT license](https://github.com/coreui/coreui/blob/master/LICENSE).
There is only one limitation you can't can’t re-distribute the CoreUI as stock. You can’t do this if you modify the CoreUI. In past we faced some problems with persons who tried to sell CoreUI based templates.
copyright 2018 creativeLabs Łukasz Holeczek.

@@ -139,0 +138,0 @@ ## Support CoreUI Development

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

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

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