@lu-development/ux-gdpr-consent
Advanced tools
Comparing version 2.0.31 to 2.0.32
@@ -17,3 +17,3 @@ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,c){a.raw=c;return a};$jscomp.arrayIteratorImpl=function(a){var c=0;return function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var c="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return c?c.call(a):$jscomp.arrayIterator(a)}; | ||
GDPR.calculateDomain=function(){var a=$jscomp.makeIterator(window.location.hostname.split(".").slice(-2)),c=a.next().value;a=a.next().value;return c&&a?c+"."+a:c};GDPR.getCookie=function(a){a=("; "+document.cookie).split("; "+a+"=");return 2==a.length?a.pop().split(";").shift():null}; | ||
GDPR.setCookie=function(a,c,b){b="undefined"!==typeof b?b:30;var d=new Date,e=this.getCookie(a);if(null===e||e!==c)d.setTime(d.getTime()+864E5*b),b="expires="+d.toUTCString(),d=(window.location.href.indexOf("local."),""),document.cookie=a+"="+(c||"")+"; "+b+"; domain="+this.calculateDomain()+"; path=/; "+d};GDPR.deleteCookie=function(a){if(this.getCookie(a)){var c=this.calculateDomain();document.cookie=a+"=; path=/"+(c?"; domain="+c:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT"}};GDPR.style=function(){return"<style>\n:host {\n display: flex;\n position: fixed;\n bottom: 0px;\n left: 0px;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n width: 100vw;\n background: white;\n font-family: Roboto, sans-serif;\n font-size: 1em;\n box-shadow: rgba(0, 0, 0, .18) -14px 0px 28px 0px, rgba(0, 0, 0, .09) -10px 0px 10px 0px;\n z-index: 100000;\n}\n:host([hidden]) {\n display: none;\n}\n:host * {\n box-sizing: content-box;\n}\n:host .ux-gdpr__text-container {\n padding: 1.71429em 1.71429em 1.57143em;\n flex: 0 1 26.6429em;\n}\n:host .ux-gdpr__header {\n margin: 0px 0px 0.571429em;\n flex: 1 1 100%;\n font-size: 1em;\n font-weight: 500;\n font-family: inherit;\n line-height: 1;\n}\n:host .ux-gdpr__description {\n margin: 0px;\n flex: 1 1 100%;\n font-family: inherit;\n font-size: 0.857143em;\n}\n:host .ux-gdpr__link, \n:host .ux-gdpr__link:visited {\n transition: box-shadow 0.2s ease-out 0s, -webkit-box-shadow 0.2s ease-out 0s;\n color: rgb(34, 114, 189);\n text-decoration: none;\n}\n:host .ux-gdpr__action-container {\n display: flex;\n flex: 0 1 17.1429em;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n}\n:host .ux-gdpr__button_revoke,\n:host .ux-gdpr__button_grant {\n border-radius: 0.142857em;\n margin: 0px 0px 2em;\n padding: 0px;\n height: 2.83333em;\n transition: box-shadow 0.2s ease-out 0s, -webkit-box-shadow 0.2s ease-out 0s;\n border: none;\n background: none;\n font-family: inherit;\n font-size: 0.857143em;\n font-weight: 300;\n}\n:host .ux-gdpr__button_grant {\n order: 1;\n width: 13.3333em;\n background-color: rgb(34, 114, 189);\n color: white;\n}\n:host .ux-gdpr__button_revoke {\n order: 0;\n width: 9.16667em;\n background-color: white;\n color: rgb(34, 114, 189);\n box-shadow: rgb(198, 199, 201) 0px 0px 0px 0.071428\n}\n@media (min-width: 45em) {\n :host {\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__text-container {\n padding: 1.71429em 2.28571em 1.57143em;\n flex: 1 1 100%;\n max-width: 82.4286em;\n }\n :host .ux-gdpr__action-container {\n padding: 0px 2.28571em 0px 0px;\n flex: 0 0 20.4286em;\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__button_revoke,\n :host .ux-gdpr__button_grant {\n margin: 0px;\n }\n}\n@media (min-width: 20em) {\n :host .ux-gdpr__action-container {\n flex: 0 1 20.4286em;\n justify-content: space-between;\n }\n}\n</style>"}; | ||
GDPR.setCookie=function(a,c,b){b="undefined"!==typeof b?b:30;var d=new Date,e=this.getCookie(a);if(null===e||e!==c)d.setTime(d.getTime()+864E5*b),b="expires="+d.toUTCString(),d=(window.location.href.indexOf("local."),""),document.cookie=a+"="+(c||"")+"; "+b+"; domain="+this.calculateDomain()+"; path=/; "+d};GDPR.deleteCookie=function(a){if(this.getCookie(a)){var c=this.calculateDomain();document.cookie=a+"=; path=/"+(c?"; domain="+c:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT"}};GDPR.style=function(){return"<style>\n:host {\n display: flex;\n position: fixed;\n bottom: 0px;\n left: 0px;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n width: 100vw;\n background: white!important;\n font-family: Roboto, sans-serif;\n font-size: 1em;\n box-shadow: rgba(0, 0, 0, .18) -14px 0px 28px 0px, rgba(0, 0, 0, .09) -10px 0px 10px 0px;\n z-index: 100000;\n}\n:host([hidden]) {\n display: none;\n}\n:host * {\n box-sizing: content-box;\n}\n:host .ux-gdpr__text-container {\n padding: 1.71429em 1.71429em 1.57143em;\n flex: 0 1 26.6429em;\n}\n:host .ux-gdpr__header {\n margin: 0px 0px 0.571429em;\n flex: 1 1 100%;\n font-size: 1em;\n font-weight: 500;\n font-family: inherit;\n line-height: 1;\n}\n:host .ux-gdpr__description {\n margin: 0px;\n flex: 1 1 100%;\n font-family: inherit;\n font-size: 0.857143em;\n}\n:host .ux-gdpr__link, \n:host .ux-gdpr__link:visited {\n transition: box-shadow 0.2s ease-out 0s, -webkit-box-shadow 0.2s ease-out 0s;\n color: rgb(34, 114, 189);\n text-decoration: none;\n}\n:host .ux-gdpr__action-container {\n display: flex;\n flex: 0 1 17.1429em;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n}\n:host .ux-gdpr__button_revoke,\n:host .ux-gdpr__button_grant {\n border-radius: 0.142857em;\n margin: 0px 0px 2em;\n padding: 0px;\n height: 2.83333em;\n transition: box-shadow 0.2s ease-out 0s, -webkit-box-shadow 0.2s ease-out 0s;\n border: none;\n background: none;\n font-family: inherit;\n font-size: 0.857143em;\n font-weight: 300;\n}\n:host .ux-gdpr__button_grant {\n order: 1;\n width: 13.3333em;\n background-color: rgb(34, 114, 189);\n color: white;\n}\n:host .ux-gdpr__button_revoke {\n order: 0;\n width: 9.16667em;\n background-color: white;\n color: rgb(34, 114, 189);\n box-shadow: rgb(198, 199, 201) 0px 0px 0px 0.071428\n}\n@media (min-width: 45em) {\n :host {\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__text-container {\n padding: 1.71429em 2.28571em 1.57143em;\n flex: 1 1 100%;\n max-width: 82.4286em;\n }\n :host .ux-gdpr__action-container {\n padding: 0px 2.28571em 0px 0px;\n flex: 0 0 20.4286em;\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__button_revoke,\n :host .ux-gdpr__button_grant {\n margin: 0px;\n }\n}\n@media (min-width: 20em) {\n :host .ux-gdpr__action-container {\n flex: 0 1 20.4286em;\n justify-content: space-between;\n }\n}\n</style>"}; | ||
GDPR.check(); |
@@ -17,3 +17,3 @@ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,c){a.raw=c;return a};$jscomp.arrayIteratorImpl=function(a){var c=0;return function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var c="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return c?c.call(a):$jscomp.arrayIterator(a)}; | ||
GDPR.calculateDomain=function(){var a=$jscomp.makeIterator(window.location.hostname.split(".").slice(-2)),c=a.next().value;a=a.next().value;return c&&a?c+"."+a:c};GDPR.getCookie=function(a){a=("; "+document.cookie).split("; "+a+"=");return 2==a.length?a.pop().split(";").shift():null}; | ||
GDPR.setCookie=function(a,c,b){b="undefined"!==typeof b?b:30;var d=new Date,e=this.getCookie(a);if(null===e||e!==c)d.setTime(d.getTime()+864E5*b),b="expires="+d.toUTCString(),d=(window.location.href.indexOf("local."),""),document.cookie=a+"="+(c||"")+"; "+b+"; domain="+this.calculateDomain()+"; path=/; "+d};GDPR.deleteCookie=function(a){if(this.getCookie(a)){var c=this.calculateDomain();document.cookie=a+"=; path=/"+(c?"; domain="+c:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT"}};GDPR.style=function(){return"<style>\n:host {\n display: flex;\n position: fixed;\n bottom: 0px;\n left: 0px;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n width: 100vw;\n background: white;\n font-family: Roboto, sans-serif;\n font-size: 1em;\n box-shadow: rgba(0, 0, 0, .18) -14px 0px 28px 0px, rgba(0, 0, 0, .09) -10px 0px 10px 0px;\n z-index: 100000;\n}\n:host([hidden]) {\n display: none;\n}\n:host * {\n box-sizing: content-box;\n}\n:host .ux-gdpr__text-container {\n padding: 1.71429em 1.71429em 1.57143em;\n flex: 0 1 26.6429em;\n}\n:host .ux-gdpr__header {\n margin: 0px 0px 0.571429em;\n flex: 1 1 100%;\n font-size: 1em;\n font-weight: 500;\n font-family: inherit;\n line-height: 1;\n}\n:host .ux-gdpr__description {\n margin: 0px;\n flex: 1 1 100%;\n font-family: inherit;\n font-size: 0.857143em;\n}\n:host .ux-gdpr__link, \n:host .ux-gdpr__link:visited {\n transition: box-shadow 0.2s ease-out 0s, -webkit-box-shadow 0.2s ease-out 0s;\n color: rgb(34, 114, 189);\n text-decoration: none;\n}\n:host .ux-gdpr__action-container {\n display: flex;\n flex: 0 1 17.1429em;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n}\n:host .ux-gdpr__button_revoke,\n:host .ux-gdpr__button_grant {\n border-radius: 0.142857em;\n margin: 0px 0px 2em;\n padding: 0px;\n height: 2.83333em;\n transition: box-shadow 0.2s ease-out 0s, -webkit-box-shadow 0.2s ease-out 0s;\n border: none;\n background: none;\n font-family: inherit;\n font-size: 0.857143em;\n font-weight: 300;\n}\n:host .ux-gdpr__button_grant {\n order: 1;\n width: 13.3333em;\n background-color: rgb(34, 114, 189);\n color: white;\n}\n:host .ux-gdpr__button_revoke {\n order: 0;\n width: 9.16667em;\n background-color: white;\n color: rgb(34, 114, 189);\n box-shadow: rgb(198, 199, 201) 0px 0px 0px 0.071428\n}\n@media (min-width: 45em) {\n :host {\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__text-container {\n padding: 1.71429em 2.28571em 1.57143em;\n flex: 1 1 100%;\n max-width: 82.4286em;\n }\n :host .ux-gdpr__action-container {\n padding: 0px 2.28571em 0px 0px;\n flex: 0 0 20.4286em;\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__button_revoke,\n :host .ux-gdpr__button_grant {\n margin: 0px;\n }\n}\n@media (min-width: 20em) {\n :host .ux-gdpr__action-container {\n flex: 0 1 20.4286em;\n justify-content: space-between;\n }\n}\n</style>"}; | ||
GDPR.setCookie=function(a,c,b){b="undefined"!==typeof b?b:30;var d=new Date,e=this.getCookie(a);if(null===e||e!==c)d.setTime(d.getTime()+864E5*b),b="expires="+d.toUTCString(),d=(window.location.href.indexOf("local."),""),document.cookie=a+"="+(c||"")+"; "+b+"; domain="+this.calculateDomain()+"; path=/; "+d};GDPR.deleteCookie=function(a){if(this.getCookie(a)){var c=this.calculateDomain();document.cookie=a+"=; path=/"+(c?"; domain="+c:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT"}};GDPR.style=function(){return"<style>\n:host {\n display: flex;\n position: fixed;\n bottom: 0px;\n left: 0px;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n width: 100vw;\n background: white!important;\n font-family: Roboto, sans-serif;\n font-size: 1em;\n box-shadow: rgba(0, 0, 0, .18) -14px 0px 28px 0px, rgba(0, 0, 0, .09) -10px 0px 10px 0px;\n z-index: 100000;\n}\n:host([hidden]) {\n display: none;\n}\n:host * {\n box-sizing: content-box;\n}\n:host .ux-gdpr__text-container {\n padding: 1.71429em 1.71429em 1.57143em;\n flex: 0 1 26.6429em;\n}\n:host .ux-gdpr__header {\n margin: 0px 0px 0.571429em;\n flex: 1 1 100%;\n font-size: 1em;\n font-weight: 500;\n font-family: inherit;\n line-height: 1;\n}\n:host .ux-gdpr__description {\n margin: 0px;\n flex: 1 1 100%;\n font-family: inherit;\n font-size: 0.857143em;\n}\n:host .ux-gdpr__link, \n:host .ux-gdpr__link:visited {\n transition: box-shadow 0.2s ease-out 0s, -webkit-box-shadow 0.2s ease-out 0s;\n color: rgb(34, 114, 189);\n text-decoration: none;\n}\n:host .ux-gdpr__action-container {\n display: flex;\n flex: 0 1 17.1429em;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n}\n:host .ux-gdpr__button_revoke,\n:host .ux-gdpr__button_grant {\n border-radius: 0.142857em;\n margin: 0px 0px 2em;\n padding: 0px;\n height: 2.83333em;\n transition: box-shadow 0.2s ease-out 0s, -webkit-box-shadow 0.2s ease-out 0s;\n border: none;\n background: none;\n font-family: inherit;\n font-size: 0.857143em;\n font-weight: 300;\n}\n:host .ux-gdpr__button_grant {\n order: 1;\n width: 13.3333em;\n background-color: rgb(34, 114, 189);\n color: white;\n}\n:host .ux-gdpr__button_revoke {\n order: 0;\n width: 9.16667em;\n background-color: white;\n color: rgb(34, 114, 189);\n box-shadow: rgb(198, 199, 201) 0px 0px 0px 0.071428\n}\n@media (min-width: 45em) {\n :host {\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__text-container {\n padding: 1.71429em 2.28571em 1.57143em;\n flex: 1 1 100%;\n max-width: 82.4286em;\n }\n :host .ux-gdpr__action-container {\n padding: 0px 2.28571em 0px 0px;\n flex: 0 0 20.4286em;\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__button_revoke,\n :host .ux-gdpr__button_grant {\n margin: 0px;\n }\n}\n@media (min-width: 20em) {\n :host .ux-gdpr__action-container {\n flex: 0 1 20.4286em;\n justify-content: space-between;\n }\n}\n</style>"}; | ||
GDPR.check(); |
{ | ||
"name": "@lu-development/ux-gdpr-consent", | ||
"version": "2.0.31", | ||
"version": "2.0.32", | ||
"description": "GDPR compliance plugin", | ||
@@ -5,0 +5,0 @@ "unpkg": "http://localhost:3456/dist/ux-gdpr-consent/ux-gdpr-consent.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
49744
2