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.1 to 2.0.2

dist/css/themes/coreui-dark.css

10

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

@@ -14,3 +14,3 @@ * Licensed under MIT (https://coreui.io/pro/)

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

@@ -86,3 +86,3 @@ * --------------------------------------------------------------------------

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

@@ -123,3 +123,3 @@ * --------------------------------------------------------------------------

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

@@ -164,3 +164,3 @@ * --------------------------------------------------------------------------

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

@@ -167,0 +167,0 @@ * --------------------------------------------------------------------------

/*!
* CoreUI v2.0.1 (https://coreui.io/pro/)
* CoreUI v2.0.2 (https://coreui.io/pro/)
* Copyright 2018 Łukasz Holeczek

@@ -4,0 +4,0 @@ * Licensed under MIT (https://coreui.io/pro/)

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

@@ -33,3 +33,3 @@ * Licensed under MIT (https://coreui.io/pro/)

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

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

var NAME = 'ajaxLoad';
var VERSION = '2.0.1';
var VERSION = '2.0.2';
var DATA_KEY = 'coreui.ajaxLoad';

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

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

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

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

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

var NAME = 'aside-menu';
var VERSION = '2.0.1';
var VERSION = '2.0.2';
var DATA_KEY = 'coreui.aside-menu';

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

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

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

var NAME = 'sidebar';
var VERSION = '2.0.1';
var VERSION = '2.0.2';
var DATA_KEY = 'coreui.sidebar';

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

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

@@ -653,3 +653,3 @@ * --------------------------------------------------------------------------

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

@@ -690,3 +690,3 @@ * --------------------------------------------------------------------------

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

@@ -731,3 +731,3 @@ * --------------------------------------------------------------------------

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

@@ -757,3 +757,3 @@ * --------------------------------------------------------------------------

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

@@ -760,0 +760,0 @@ * --------------------------------------------------------------------------

/*!
* CoreUI Pro v2.0.1 (https://coreui.io/pro/)
* CoreUI Pro v2.0.2 (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 i(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 a,n,s,c,u,d,l,f,p,g,h,m,v,b,y,w,I,_,C,j,S,T,L,E,O,A,x,P,D,k,Q,q,U,N,G,R,K,H,M,V,z,B,X,J,Y=(n="ajaxLoad",s="coreui.ajaxLoad",c=(a=t).fn[n],u="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;a.ajax({type:"GET",url:e.subpagesDirectory+r,dataType:"html",beforeSend:function(){a(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)}),a("body").animate({scrollTop:0},0),a(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){a(g).removeClass(u),a(p).removeClass(d),a(p+':has(a[href="'+e.replace(/^\//,"").split("?")[0]+'"])').addClass(d),a(h+' 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({},v,e)},e._addEventListeners=function(){var t=this;a(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=a(this).data(s);e||(e=new n(this,"object"==typeof t&&t),a(this).data(s,e))})},i(n,null,[{key:"VERSION",get:function(){return"2.0.1"}},{key:"Default",get:function(){return v}}]),n}(),a.fn[n]=b._jQueryInterface,a.fn[n].Constructor=b,a.fn[n].noConflict=function(){return a.fn[n]=c,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"},j=".aside-menu",S=".aside-menu-toggler",T=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],L=function(){function n(e){this._element=e,this._addEventListeners()}return n.prototype._addEventListeners=function(){y(S).on(C.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;$(t,T)})},n._jQueryInterface=function(){return this.each(function(){var e=y(this),t=e.data(I);t||(t=new n(this),e.data(I,t))})},i(n,null,[{key:"VERSION",get:function(){return"2.0.1"}}]),n}(),y(window).on(C.LOAD_DATA_API,function(){var e=y(j);L._jQueryInterface.call(e)}),y.fn[w]=L._jQueryInterface,y.fn[w].Constructor=L,y.fn[w].noConflict=function(){return y.fn[w]=_,L._jQueryInterface},L),W=(O="sidebar",A="coreui.sidebar",x=(E=t).fn[O],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(){E(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)),E(E(n))[0].href===r&&E(n).addClass(P).parents(R).add(n).each(function(e,t){E(n=t).parent().addClass(k)})})},e._addEventListeners=function(){var t=this;E(N).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),E(U).toggleClass(D)}),E(G).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.target;E(t).parent().toggleClass(k)}),E(z).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),E(U).toggleClass(Q),t.perfectScrollbar(q.TOGGLE)}),E(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=E(this),t=e.data(A);t||(t=new n(this),e.data(A,t))})},i(n,null,[{key:"VERSION",get:function(){return"2.0.1"}}]),n}(),E(window).on(q.LOAD_DATA_API,function(){var e=E(V);J._jQueryInterface.call(e)}),E.fn[O]=J._jQueryInterface,E.fn[O].Constructor=J,E.fn[O].noConflict=function(){return E.fn[O]=x,J._jQueryInterface},J);Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r});!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,r,o;void 0===t&&(t=document.body),n=e.match(/^--.*/i)&&Boolean(document.documentMode)&&10<=document.documentMode?(r={},0===(o=Object.entries(document.styleSheets).filter(function(e){return":root"===e[1].cssText.substring(0,":root".length)})).length&&(o=Object.entries(document.styleSheets)),Object.entries(o[0][1].cssRules).filter(function(e){return".ie-custom-properties"===e[1].selectorText})[0][1].style.cssText.split(";").forEach(function(e){if(e){var t=e.split(": ")[0],n=e.split(": ")[1];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,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 i(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 a,n,s,c,u,d,l,f,p,g,h,m,v,b,y,w,I,_,C,j,S,T,L,E,O,A,x,P,D,k,Q,q,U,N,G,R,K,H,M,V,z,B,X,J,Y=(n="ajaxLoad",s="coreui.ajaxLoad",c=(a=t).fn[n],u="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;a.ajax({type:"GET",url:e.subpagesDirectory+r,dataType:"html",beforeSend:function(){a(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)}),a("body").animate({scrollTop:0},0),a(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){a(g).removeClass(u),a(p).removeClass(d),a(p+':has(a[href="'+e.replace(/^\//,"").split("?")[0]+'"])').addClass(d),a(h+' 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({},v,e)},e._addEventListeners=function(){var t=this;a(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=a(this).data(s);e||(e=new n(this,"object"==typeof t&&t),a(this).data(s,e))})},i(n,null,[{key:"VERSION",get:function(){return"2.0.2"}},{key:"Default",get:function(){return v}}]),n}(),a.fn[n]=b._jQueryInterface,a.fn[n].Constructor=b,a.fn[n].noConflict=function(){return a.fn[n]=c,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"},j=".aside-menu",S=".aside-menu-toggler",T=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],L=function(){function n(e){this._element=e,this._addEventListeners()}return n.prototype._addEventListeners=function(){y(S).on(C.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;$(t,T)})},n._jQueryInterface=function(){return this.each(function(){var e=y(this),t=e.data(I);t||(t=new n(this),e.data(I,t))})},i(n,null,[{key:"VERSION",get:function(){return"2.0.2"}}]),n}(),y(window).on(C.LOAD_DATA_API,function(){var e=y(j);L._jQueryInterface.call(e)}),y.fn[w]=L._jQueryInterface,y.fn[w].Constructor=L,y.fn[w].noConflict=function(){return y.fn[w]=_,L._jQueryInterface},L),W=(O="sidebar",A="coreui.sidebar",x=(E=t).fn[O],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(){E(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)),E(E(n))[0].href===r&&E(n).addClass(P).parents(R).add(n).each(function(e,t){E(n=t).parent().addClass(k)})})},e._addEventListeners=function(){var t=this;E(N).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),E(U).toggleClass(D)}),E(G).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.target;E(t).parent().toggleClass(k)}),E(z).on(q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),E(U).toggleClass(Q),t.perfectScrollbar(q.TOGGLE)}),E(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=E(this),t=e.data(A);t||(t=new n(this),e.data(A,t))})},i(n,null,[{key:"VERSION",get:function(){return"2.0.2"}}]),n}(),E(window).on(q.LOAD_DATA_API,function(){var e=E(V);J._jQueryInterface.call(e)}),E.fn[O]=J._jQueryInterface,E.fn[O].Constructor=J,E.fn[O].noConflict=function(){return E.fn[O]=x,J._jQueryInterface},J);Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r});!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,r,o;void 0===t&&(t=document.body),n=e.match(/^--.*/i)&&Boolean(document.documentMode)&&10<=document.documentMode?(r={},0===(o=Object.entries(document.styleSheets).filter(function(e){return":root"===e[1].cssText.substring(0,":root".length)})).length&&(o=Object.entries(document.styleSheets)),Object.entries(o[0][1].cssRules).filter(function(e){return".ie-custom-properties"===e[1].selectorText})[0][1].style.cssText.split(";").forEach(function(e){if(e){var t=e.split(": ")[0],n=e.split(": ")[1];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.1): ajax-load.js
* CoreUI (v2.0.2): ajax-load.js
* Licensed under MIT (https://coreui.io/license)

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

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

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

var NAME = 'aside-menu';
var VERSION = '2.0.1';
var VERSION = '2.0.2';
var DATA_KEY = 'coreui.aside-menu';

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

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

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

var NAME = 'sidebar';
var VERSION = '2.0.1';
var VERSION = '2.0.2';
var DATA_KEY = 'coreui.sidebar';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

const NAME = 'sidebar'
const VERSION = '2.0.1'
const VERSION = '2.0.2'
const DATA_KEY = 'coreui.sidebar'

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

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

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

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

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

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

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

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

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

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

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

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

@@ -56,2 +56,4 @@ "keywords": [

"css-minify-standalone": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/coreui-standalone.min.css dist/css/coreui-standalone.css",
"css-compile-templates": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/themes/dark/coreui-dark.scss dist/css/themes/coreui-dark.css",
"css-minify-templates": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/themes/coreui-dark.min.css dist/css/themes/coreui-dark.css",
"dist": "npm-run-all --parallel css js",

@@ -69,4 +71,4 @@ "increment-version": "node build/increment-version.js",

"watch": "npm-run-all --parallel watch-css watch-js",
"watch-js": "nodemon --ignore js/dist/ --ignore dist/ -e js -x \"npm-run-all js-compile* js-minify*\"",
"watch-css": "nodemon --ignore dist/ -e scss -x \"npm run css\""
"watch-js": "nodemon --ignore js/dist --ignore dist/ -e js -x \"npm-run-all js-compile* js-minify*\"",
"watch-css": "nodemon --ignore dist -e scss -x \"npm run css\""
},

@@ -73,0 +75,0 @@ "dependencies": {

@@ -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.1
$ yarn add @coreui/coreui@2.0.2
```

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

``` bash
$ composer require coreui/coreui:2.0.1
$ composer require coreui/coreui:2.0.2
```

@@ -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

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