lit-element
Advanced tools
Comparing version 3.0.0-rc.3 to 3.0.0-rc.4
@@ -9,3 +9,3 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
globalThis['litElementHydrateSupport'] = ({ LitElement, }) => { | ||
globalThis.litElementHydrateSupport = ({ LitElement, }) => { | ||
const observedAttributes = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(LitElement), 'observedAttributes').get; | ||
@@ -12,0 +12,0 @@ // Add `defer-hydration` to observedAttributes |
@@ -10,6 +10,6 @@ /** | ||
export * from './decorators.js'; | ||
// TODO: link to docs on the new site | ||
console.warn("The main 'lit-element' module entrypoint is deprecated. Please update " + | ||
"your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' " + | ||
"or import from 'lit-element/lit-element.ts'."); | ||
"or import from 'lit-element/lit-element.ts'. See " + | ||
'https://lit.dev/msg/deprecated-import-path for more information.'); | ||
//# sourceMappingURL=index.js.map |
@@ -53,7 +53,2 @@ /** | ||
export declare const UpdatingElement: typeof ReactiveElement; | ||
declare global { | ||
interface Window { | ||
litElementVersions: string[]; | ||
} | ||
} | ||
/** | ||
@@ -60,0 +55,0 @@ * Base element class that manages element properties and attributes, and |
@@ -6,4 +6,3 @@ /** | ||
*/ | ||
var _a, _b, _c, _d, _e; | ||
var _f; | ||
var _a, _b, _c, _d; | ||
/** | ||
@@ -59,2 +58,16 @@ * The main LitElement module, which defines the [[`LitElement`]] base class and | ||
const DEV_MODE = true; | ||
let issueWarning; | ||
if (DEV_MODE) { | ||
// Ensure warnings are issued only 1x, even if multiple versions of Lit | ||
// are loaded. | ||
const issuedWarnings = ((_a = globalThis.litIssuedWarnings) !== null && _a !== void 0 ? _a : (globalThis.litIssuedWarnings = new Set())); | ||
// Issue a warning, if we haven't already. | ||
issueWarning = (code, warning) => { | ||
warning += ` See https://lit.dev/msg/${code} for more information.`; | ||
if (!issuedWarnings.has(warning)) { | ||
console.warn(warning); | ||
issuedWarnings.add(warning); | ||
} | ||
}; | ||
} | ||
/** | ||
@@ -104,8 +117,8 @@ * Base element class that manages element properties and attributes, and | ||
const value = this.render(); | ||
if (!this.hasUpdated) { | ||
this.renderOptions.isConnected = this.isConnected; | ||
} | ||
super.update(changedProperties); | ||
this.__childPart = render(value, this.renderRoot, this.renderOptions); | ||
} | ||
// TODO(kschaaf): Consider debouncing directive disconnection so element moves | ||
// do not thrash directive callbacks | ||
// https://github.com/lit/lit/issues/1457 | ||
/** | ||
@@ -149,14 +162,11 @@ * @category lifecycle | ||
// Install hydration if available | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(_b = (_a = globalThis)['litElementHydrateSupport']) === null || _b === void 0 ? void 0 : _b.call(_a, { LitElement }); | ||
(_b = globalThis.litElementHydrateSupport) === null || _b === void 0 ? void 0 : _b.call(globalThis, { LitElement }); | ||
// Apply polyfills if available | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(_d = (_c = globalThis)['litElementPlatformSupport']) === null || _d === void 0 ? void 0 : _d.call(_c, { LitElement }); | ||
(_c = globalThis.litElementPlatformSupport) === null || _c === void 0 ? void 0 : _c.call(globalThis, { LitElement }); | ||
// DEV mode warnings | ||
if (DEV_MODE) { | ||
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
// Note, for compatibility with closure compilation, this access | ||
// needs to be as a string property index. | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
LitElement['finalize'] = function () { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
const finalized = ReactiveElement.finalize.call(this); | ||
@@ -166,20 +176,17 @@ if (!finalized) { | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
const warnRemoved = (obj, name) => { | ||
if (obj[name] !== undefined) { | ||
console.warn(`\`${name}\` is implemented. It ` + | ||
`has been removed from this version of LitElement. ` | ||
// TODO(sorvell): add link to changelog when location has stabilized. | ||
// + See the changelog at https://github.com/lit/lit/blob/main/packages/lit-element/CHANGELOG.md` | ||
); | ||
const warnRemovedOrRenamed = (obj, name, renamed = false) => { | ||
if (obj.hasOwnProperty(name)) { | ||
const ctorName = (typeof obj === 'function' ? obj : obj.constructor) | ||
.name; | ||
issueWarning(renamed ? 'renamed-api' : 'removed-api', `\`${name}\` is implemented on class ${ctorName}. It ` + | ||
`has been ${renamed ? 'renamed' : 'removed'} ` + | ||
`in this version of LitElement.`); | ||
} | ||
}; | ||
[`render`, `getStyles`].forEach((name) => | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
warnRemoved(this, name)); | ||
[`adoptStyles`].forEach((name) => | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
warnRemoved(this.prototype, name)); | ||
warnRemovedOrRenamed(this, 'render'); | ||
warnRemovedOrRenamed(this, 'getStyles', true); | ||
warnRemovedOrRenamed(this.prototype, 'adoptStyles'); | ||
return true; | ||
}; | ||
/* eslint-enable @typescript-eslint/no-explicit-any */ | ||
} | ||
@@ -215,4 +222,7 @@ /** | ||
// TODO(justinfagnani): inject version number at build time | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
((_e = (_f = globalThis)['litElementVersions']) !== null && _e !== void 0 ? _e : (_f['litElementVersions'] = [])).push('3.0.0-rc.3'); | ||
((_d = globalThis.litElementVersions) !== null && _d !== void 0 ? _d : (globalThis.litElementVersions = [])).push('3.0.0-rc.4'); | ||
if (DEV_MODE && globalThis.litElementVersions.length > 1) { | ||
issueWarning('multiple-versions', `Multiple versions of Lit loaded. Loading multiple versions ` + | ||
`is not recommended.`); | ||
} | ||
//# sourceMappingURL=lit-element.js.map |
@@ -7,3 +7,2 @@ /** | ||
var _a; | ||
var _b; | ||
/** | ||
@@ -28,4 +27,3 @@ * LitElement patch to support browsers without native web components. | ||
import 'lit-html/polyfill-support.js'; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(_a = (_b = globalThis)['litElementPlatformSupport']) !== null && _a !== void 0 ? _a : (_b['litElementPlatformSupport'] = function (_a) { | ||
(_a = globalThis.litElementPlatformSupport) !== null && _a !== void 0 ? _a : (globalThis.litElementPlatformSupport = function (_a) { | ||
var LitElement = _a.LitElement; | ||
@@ -32,0 +30,0 @@ // polyfill-support is only needed if ShadyCSS or the ApplyShim is in use |
@@ -6,3 +6,3 @@ export*from"@lit/reactive-element";export*from"lit-html";export{LitElement,UpdatingElement,_$LE}from"./lit-element.js";export*from"@lit/reactive-element/decorators/base.js";export*from"@lit/reactive-element/decorators/custom-element.js";export*from"@lit/reactive-element/decorators/property.js";export*from"@lit/reactive-element/decorators/state.js";export*from"@lit/reactive-element/decorators/event-options.js";export*from"@lit/reactive-element/decorators/query.js";export*from"@lit/reactive-element/decorators/query-all.js";export*from"@lit/reactive-element/decorators/query-async.js";export*from"@lit/reactive-element/decorators/query-assigned-nodes.js"; | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'."); | ||
*/console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information."); | ||
//# sourceMappingURL=index.js.map |
@@ -53,7 +53,2 @@ /** | ||
export declare const UpdatingElement: typeof ReactiveElement; | ||
declare global { | ||
interface Window { | ||
litElementVersions: string[]; | ||
} | ||
} | ||
/** | ||
@@ -60,0 +55,0 @@ * Base element class that manages element properties and attributes, and |
@@ -1,2 +0,2 @@ | ||
import{ReactiveElement as t}from"@lit/reactive-element";export*from"@lit/reactive-element";import{render as e,noChange as r}from"lit-html";export*from"lit-html"; | ||
import{ReactiveElement as t}from"@lit/reactive-element";export*from"@lit/reactive-element";import{render as e,noChange as i}from"lit-html";export*from"lit-html"; | ||
/** | ||
@@ -6,3 +6,3 @@ * @license | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/var i,l,o,s,n,a;const c=t;class h extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const r=this.render();super.update(t),this._$Dt=e(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return r}}h.finalized=!0,h._$litElement$=!0,null===(l=(i=globalThis).litElementHydrateSupport)||void 0===l||l.call(i,{LitElement:h}),null===(s=(o=globalThis).litElementPlatformSupport)||void 0===s||s.call(o,{LitElement:h});const u={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(null!==(n=(a=globalThis).litElementVersions)&&void 0!==n?n:a.litElementVersions=[]).push("3.0.0-rc.3");export{h as LitElement,c as UpdatingElement,u as _$LE}; | ||
*/var l,o,r;const s=t;class n extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=e(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return i}}n.finalized=!0,n._$litElement$=!0,null===(l=globalThis.litElementHydrateSupport)||void 0===l||l.call(globalThis,{LitElement:n}),null===(o=globalThis.litElementPlatformSupport)||void 0===o||o.call(globalThis,{LitElement:n});const h={_$AK:(t,e,i)=>{t._$AK(e,i)},_$AL:t=>t._$AL};(null!==(r=globalThis.litElementVersions)&&void 0!==r?r:globalThis.litElementVersions=[]).push("3.0.0-rc.4");export{n as LitElement,s as UpdatingElement,h as _$LE}; | ||
//# sourceMappingURL=lit-element.js.map |
{ | ||
"name": "lit-element", | ||
"version": "3.0.0-rc.3", | ||
"version": "3.0.0-rc.4", | ||
"publishConfig": { | ||
@@ -25,2 +25,42 @@ "access": "public" | ||
}, | ||
"./decorators.js": { | ||
"development": "./development/decorators.js", | ||
"default": "./decorators.js" | ||
}, | ||
"./decorators/custom-element.js": { | ||
"development": "./development/decorators/custom-element.js", | ||
"default": "./decorators/custom-element.js" | ||
}, | ||
"./decorators/event-options.js": { | ||
"development": "./development/decorators/event-options.js", | ||
"default": "./decorators/event-options.js" | ||
}, | ||
"./decorators/property.js": { | ||
"development": "./development/decorators/property.js", | ||
"default": "./decorators/property.js" | ||
}, | ||
"./decorators/query-all.js": { | ||
"development": "./development/decorators/query-all.js", | ||
"default": "./decorators/query-all.js" | ||
}, | ||
"./decorators/query-assigned-nodes.js": { | ||
"development": "./development/decorators/query-assigned-nodes.js", | ||
"default": "./decorators/query-assigned-nodes.js" | ||
}, | ||
"./decorators/query-async.js": { | ||
"development": "./development/decorators/query-async.js", | ||
"default": "./decorators/query-async.js" | ||
}, | ||
"./decorators/query.js": { | ||
"development": "./development/decorators/query.js", | ||
"default": "./decorators/query.js" | ||
}, | ||
"./decorators/state.js": { | ||
"development": "./development/decorators/state.js", | ||
"default": "./decorators/state.js" | ||
}, | ||
"./experimental-hydrate-support.js": { | ||
"development": "./development/experimental-hydrate-support.js", | ||
"default": "./experimental-hydrate-support.js" | ||
}, | ||
"./lit-element.js": { | ||
@@ -37,14 +77,2 @@ "development": "./development/lit-element.js", | ||
"default": "./private-ssr-support.js" | ||
}, | ||
"./experimental-hydrate-support.js": { | ||
"development": "./development/experimental-hydrate-support.js", | ||
"default": "./experimental-hydrate-support.js" | ||
}, | ||
"./decorators.js": { | ||
"development": "./development/decorators.js", | ||
"default": "./decorators.js" | ||
}, | ||
"./decorators/": { | ||
"development": "./development/decorators/", | ||
"default": "./decorators/" | ||
} | ||
@@ -80,3 +108,4 @@ }, | ||
"/decorators/", | ||
"/development/" | ||
"/development/", | ||
"!/development/test/" | ||
], | ||
@@ -90,13 +119,13 @@ "dependencies": { | ||
"@types/chai": "^4.0.1", | ||
"@types/mocha": "^8.0.3", | ||
"@types/mocha": "^9.0.0", | ||
"@webcomponents/shadycss": "^1.8.0", | ||
"@webcomponents/template": "^1.4.4", | ||
"@webcomponents/webcomponentsjs": "^2.6.0", | ||
"chokidar-cli": "^2.1.0", | ||
"downlevel-dts": "^0.6.0", | ||
"chokidar-cli": "^3.0.0", | ||
"downlevel-dts": "^0.7.0", | ||
"internal-scripts": "^1.0.0", | ||
"mocha": "^8.1.1", | ||
"mocha": "^9.1.1", | ||
"rollup": "^2.26.4", | ||
"tslib": "^2.0.3", | ||
"typescript": "^4.1.3" | ||
"typescript": "^4.3.5" | ||
}, | ||
@@ -103,0 +132,0 @@ "directories": { |
@@ -1,2 +0,2 @@ | ||
!function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";var i,n,o;i=function(){ | ||
!function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";var i,n;i=function(){ | ||
/** | ||
@@ -7,3 +7,3 @@ * @license | ||
*/ | ||
var i,n,o="__scoped";null!==(i=(n=globalThis).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var t=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(t);var d=t.createRenderRoot;t.createRenderRoot=function(){var i,n,t,e=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(o)){this.constructor[o]=!0;var u=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(n=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===n||n.prepareAdoptedCssText(u,e),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var u=t._$AE;t._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),u.call(this,i)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){ | ||
var i,n="__scoped";null!==(i=globalThis.reactiveElementPlatformSupport)&&void 0!==i||(globalThis.reactiveElementPlatformSupport=function(i){var o=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var t=o.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(t);var d=t.createRenderRoot;t.createRenderRoot=function(){var i,o,t,e=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(n)){this.constructor[n]=!0;var u=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(o=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===o||o.prepareAdoptedCssText(u,e),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var u=t._$AE;t._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),u.call(this,i)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){ | ||
/** | ||
@@ -14,3 +14,3 @@ * @license | ||
*/ | ||
var i,n,o=new Set,t=new Map;null!==(i=(n=globalThis).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){return void 0!==i&&!o.has(i)},e=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},u=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),u=null==o?void 0:o.scope;if(void 0!==u&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,u),d(u))){var w=e(u),r=t.content.querySelectorAll("style");w.push.apply(w,Array.from(r).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var w=document.createDocumentFragment(),r=document.createComment(""),f=n.prototype,s=f._$AI;f._$AI=function(i,n){var u,v,f;void 0===n&&(n=this);var l=this._$AA.parentNode,a=null===(u=this.options)||void 0===u?void 0:u.scope;if(l instanceof ShadowRoot&&d(a)){var h=this._$AA,c=this._$AB;w.appendChild(r),this._$AA=r,this._$AB=null,s.call(this,i,n);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,n){var d,u=e(i),v=0!==u.length;v&&((d=document.createElement("style")).textContent=u.join("\n"),n.content.appendChild(d)),o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),v&&window.ShadyCSS.nativeShadow&&null!==(d=n.content.querySelector("style"))&&n.content.appendChild(d)}(a,y),w.removeChild(r),null===(f=window.ShadyCSS)||void 0===f?void 0:f.nativeShadow){var p=y.content.querySelector("style");null!==p&&w.appendChild(p.cloneNode(!0))}l.insertBefore(w,c),this._$AA=h,this._$AB=c}else s.call(this,i,n)},f._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=u.get(t);void 0===d&&u.set(t,d=new Map);var e=d.get(n.strings);return void 0===e&&d.set(n.strings,e=new i(n,this.options)),e}}})})),null!==(n=(o=globalThis).litElementPlatformSupport)&&void 0!==n||(o.litElementPlatformSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n._$AJ=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})})); | ||
var i,n=new Set,o=new Map;null!==(i=globalThis.litHtmlPlatformSupport)&&void 0!==i||(globalThis.litHtmlPlatformSupport=function(i,t){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){return void 0!==i&&!n.has(i)},e=function(i){var n=o.get(i);return void 0===n&&o.set(i,n=[]),n},u=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),u=null==o?void 0:o.scope;if(void 0!==u&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,u),d(u))){var w=e(u),r=t.content.querySelectorAll("style");w.push.apply(w,Array.from(r).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var w=document.createDocumentFragment(),r=document.createComment(""),l=t.prototype,s=l._$AI;l._$AI=function(i,t){var u,v,l;void 0===t&&(t=this);var f=this._$AA.parentNode,a=null===(u=this.options)||void 0===u?void 0:u.scope;if(f instanceof ShadowRoot&&d(a)){var h=this._$AA,c=this._$AB;w.appendChild(r),this._$AA=r,this._$AB=null,s.call(this,i,t);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,t){var d,u=e(i),v=0!==u.length;v&&((d=document.createElement("style")).textContent=u.join("\n"),t.content.appendChild(d)),n.add(i),o.delete(i),window.ShadyCSS.prepareTemplateStyles(t,i),v&&window.ShadyCSS.nativeShadow&&null!==(d=t.content.querySelector("style"))&&t.content.appendChild(d)}(a,y),w.removeChild(r),null===(l=window.ShadyCSS)||void 0===l?void 0:l.nativeShadow){var p=y.content.querySelector("style");null!==p&&w.appendChild(p.cloneNode(!0))}f.insertBefore(w,c),this._$AA=h,this._$AB=c}else s.call(this,i,t)},l._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=u.get(t);void 0===d&&u.set(t,d=new Map);var e=d.get(n.strings);return void 0===e&&d.set(n.strings,e=new i(n,this.options)),e}}})})),null!==(n=globalThis.litElementPlatformSupport)&&void 0!==n||(globalThis.litElementPlatformSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n._$AJ=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})})); | ||
//# sourceMappingURL=polyfill-support.js.map |
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
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
126285
115
1020