@webcomponents/webcomponentsjs
Advanced tools
Comparing version 1.2.6 to 1.2.7
{ | ||
"name": "@webcomponents/webcomponentsjs", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"description": "Web Components Polyfills", | ||
@@ -32,3 +32,3 @@ "main": "webcomponents-lite.js", | ||
"@webcomponents/html-imports": "^1.2.0", | ||
"@webcomponents/shadycss": "^1.5.0", | ||
"@webcomponents/shadycss": "^1.5.2", | ||
"@webcomponents/shadydom": "^1.2.0", | ||
@@ -35,0 +35,0 @@ "@webcomponents/template": "^1.4.0", |
@@ -140,4 +140,4 @@ /** | ||
m.styleElement=function(a,b){var c=W(a);if(!c){var d=S(a);c=d.is;d=d.G;var e=X[c]||null;c=Xe[c];if(c){var f=c._styleAst;var h=c.C;var g=T(c)}f=new ue(f,e,h,d,g);c&&ve(a,f);c=f}a!==this.c&&(this.C=!0);b&&(c.B=c.B||{},Object.assign(c.B,b));if(O){b=c;f=S(a).is;if(b.B){h=b.B;for(var k in h)null===k?a.style.removeProperty(k):a.style.setProperty(k,h[k])}if(!(!(k=Xe[f])&&a!==this.c||k&&""!==T(k))&&k&&k.b&&!$e(k)){if($e(k)||k._applyShimValidatingVersion!==k._applyShimNextVersion)cf(this),this.a&&this.a.transformRules(k._styleAst, | ||
f),k.b.textContent=Ud(a,b.u),af(k);N&&(f=a.shadowRoot)&&(f.querySelector("style").textContent=Ud(a,b.u));b.u=k._styleAst}}else if(k=c,this.flush(),ef(this,a,k),k.c&&k.c.length){b=S(a).is;c=(f=bf.fetch(b,k.w,k.c))?f.styleElement:null;h=k.m;(g=f&&f.m)||(g=this.P[b]=(this.P[b]||0)+1,g=b+"-"+g);k.m=g;g=k.m;d=Le;d=c?c.textContent||"":He(d,a,k.w,g);e=W(a);var l=e.a;l&&!N&&l!==c&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));N?e.a?(e.a.textContent=d,c=e.a):d&&(c=Hd(d,g,a.shadowRoot, | ||
e.b)):c?c.parentNode||(xe&&-1<d.indexOf("@media")&&(c.textContent=d),Id(c,null,e.b)):d&&(c=Hd(d,g,null,e.b));c&&(c._useCount=c._useCount||0,e.a!=c&&c._useCount++,e.a=c);g=c;N||(c=k.m,e=d=a.getAttribute("class")||"",h&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+h+"\\s*","g")," ")),e+=(e?" ":"")+"x-scope "+c,d!==e&&Md(a,e));f||bf.store(b,k.w,g,k.m)}};function ff(a,b){return(b=b.getRootNode().host)?W(b)?b:ff(a,b):a.c} | ||
f),k.b.textContent=Ud(a,b.u),af(k);N&&(f=a.shadowRoot)&&(f=f.querySelector("style"))&&(f.textContent=Ud(a,b.u));b.u=k._styleAst}}else if(k=c,this.flush(),ef(this,a,k),k.c&&k.c.length){b=S(a).is;c=(f=bf.fetch(b,k.w,k.c))?f.styleElement:null;h=k.m;(g=f&&f.m)||(g=this.P[b]=(this.P[b]||0)+1,g=b+"-"+g);k.m=g;g=k.m;d=Le;d=c?c.textContent||"":He(d,a,k.w,g);e=W(a);var l=e.a;l&&!N&&l!==c&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));N?e.a?(e.a.textContent=d,c=e.a):d&&(c=Hd(d,g, | ||
a.shadowRoot,e.b)):c?c.parentNode||(xe&&-1<d.indexOf("@media")&&(c.textContent=d),Id(c,null,e.b)):d&&(c=Hd(d,g,null,e.b));c&&(c._useCount=c._useCount||0,e.a!=c&&c._useCount++,e.a=c);g=c;N||(c=k.m,e=d=a.getAttribute("class")||"",h&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+h+"\\s*","g")," ")),e+=(e?" ":"")+"x-scope "+c,d!==e&&Md(a,e));f||bf.store(b,k.w,g,k.m)}};function ff(a,b){return(b=b.getRootNode().host)?W(b)?b:ff(a,b):a.c} | ||
function ef(a,b,c){a=ff(a,b);var d=W(a);a=Object.create(d.w||null);var e=Ge(b,c.u,c.N);b=Ee(d.u,b).s;Object.assign(a,e.ua,b,e.wa);b=c.B;for(var f in b)if((e=b[f])||0===e)a[f]=e;f=Le;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=Ce(f,a[d],a);c.w=a}m.styleDocument=function(a){this.styleSubtree(this.c,a)}; | ||
@@ -144,0 +144,0 @@ m.styleSubtree=function(a,b){var c=a.shadowRoot;(c||a===this.c)&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
3258867