Commit d0da616d authored by Benjamin Franzke's avatar Benjamin Franzke
Browse files

[TASK] Update to Lit v2-rc1

Lit is the umbrella term for the next major
lit-html (v2) and lit-element (v3) versions.
Therefore we will refer to these components as
*Lit* in TYPO3 from now on as well.

These two libraries also have been migrated into
a single entry point module named `lit`.
It is officially described as:
> The main module exports the core pieces needed for component
> development: LitElement, html, css, and the most

lit-html v2 and lit-element v3 are mostly compatible
to the previous major versions. Main changes are

 * Deprecation of the `lit-element` entry point in
   favor of the new `lit` module
 * @internalProperty changed to @state
 * shadow css declaration via static property
   instead of static getter method
 * The CSSResult type declaration is gone
 * Directive (currently unused in TYPO3) API has changed

Related testing framework change is:
https://github.com/TYPO3/testing-framework/pull/229

Commands used:

  rm -rf typo3/sysext/core/Resources/Public/JavaScript/Contrib/{@lit,lit-element,lit-html,lit}/
  yarn add lit@^2.0.0-rc.1 lit-html@^2.0.0-rc.2 lit-element@^3.0.0-rc.1
  yarn add --dev rollup@^2.32.0 @rollup/plugin-replace
  grunt build
  git add typo3/sysext/core/Resources/Public/JavaScript/Contrib/{@lit,lit-element,lit-html,lit}/

  composer require --dev typo3/testing-framework:^6.8.1
  composer require --dev typo3/testing-framework:^6.8.1 \
    --no-update --working-dir=typo3/sysext/core

Resolves: #93965
Releases: master
Change-Id: I9b659d851e6ad9dc3cc649bd40aab886b86fb0f8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68104

Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
parent 0005bc5b
......@@ -10,7 +10,8 @@ Description
===========
To avoid custom jQuery template building a new slim client-side templating
engine lit-html_ together with lit-element_ is introduced.
engine lit-html_ together with lit-element_ is introduced. The modules
are avilable via the umbrella javascript module `lit`.
This templating engine supports conditions, iterations, events, virtual DOM,
data-binding and mutation/change detections in templates.
......@@ -43,7 +44,7 @@ Variable assignment
.. code-block:: ts
import {html, render} from 'lit-html';
import {html, render} from 'lit';
const value = 'World';
const target = document.getElementById('target');
......@@ -62,8 +63,8 @@ Condition and iteration
.. code-block:: ts
import {html, render} from 'lit-html';
import {classMap} from 'lit-html/directives/class-map.js';
import {html, render} from 'lit';
import {classMap} from 'lit/directives/class-map.js';
const items = ['a', 'b', 'c']
const classes = { list: true };
......@@ -87,7 +88,7 @@ Condition and iteration
The :js:`${...}` literal used in template tags can basically contain any
JavaScript instruction - as long as their result can be casted to `string`
again or is of type `lit-html.TemplateResult`. This allows to
again or is of type `lit.TemplateResult`. This allows to
make use of custom conditions as well as iterations:
* condition: :js:`${condition ? thenReturn : elseReturn}`
......@@ -101,7 +102,7 @@ Events can be bound using the `@` attribute prefix.
.. code-block:: ts
import {html, render} from 'lit-html';
import {html, render} from 'lit';
const value = 'World';
const target = document.getElementById('target');
......@@ -120,11 +121,12 @@ Custom HTML elements
--------------------
A web component based on the W3C custom elements (web-components_) specification
can be implemented using `lit-element`.
can be implemented using the `LitElement` base class.
.. code-block:: ts
import {LitElement, html, customElement, property} from 'lit-element';
import {LitElement, html} from 'lit';
import {customElement, property} from 'lit/decorators';
@customElement('my-element')
class MyElement extends LitElement {
......
......@@ -10,7 +10,7 @@
*
* The TYPO3 project - inspiring people to share!
*/
var __decorate=this&&this.__decorate||function(t,e,o,r){var i,l=arguments.length,n=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,r);else for(var p=t.length-1;p>=0;p--)(i=t[p])&&(n=(l<3?i(n):l>3?i(e,o,n):i(e,o))||n);return l>3&&n&&Object.defineProperty(e,o,n),n};define(["require","exports","lit-html","lit-element","TYPO3/CMS/Backend/Modal"],(function(t,e,o,r,i){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.modalBody=".t3js-modal-body"}(l||(l={}));let n=class extends r.LitElement{constructor(){super(),this.addEventListener("click",t=>{t.preventDefault(),this.showTotpAuthUrlModal()})}render(){return o.html`<slot></slot>`}showTotpAuthUrlModal(){i.advanced({title:this.title,buttons:[{trigger:()=>i.dismiss(),text:this.ok||"OK",active:!0,btnClass:"btn-default",name:"ok"}],callback:t=>{o.render(o.html`
var __decorate=this&&this.__decorate||function(t,e,o,r){var i,l=arguments.length,n=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,r);else for(var d=t.length-1;d>=0;d--)(i=t[d])&&(n=(l<3?i(n):l>3?i(e,o,n):i(e,o))||n);return l>3&&n&&Object.defineProperty(e,o,n),n};define(["require","exports","lit","lit/decorators","TYPO3/CMS/Backend/Modal"],(function(t,e,o,r,i){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.modalBody=".t3js-modal-body"}(l||(l={}));let n=class extends o.LitElement{constructor(){super(),this.addEventListener("click",t=>{t.preventDefault(),this.showTotpAuthUrlModal()})}render(){return o.html`<slot></slot>`}showTotpAuthUrlModal(){i.advanced({title:this.title,buttons:[{trigger:()=>i.dismiss(),text:this.ok||"OK",active:!0,btnClass:"btn-default",name:"ok"}],callback:t=>{o.render(o.html`
<p>${this.description}</p>
<pre>${this.url}</pre>
`,t[0].querySelector(l.modalBody))}})}};__decorate([r.property({type:String})],n.prototype,"url",void 0),__decorate([r.property({type:String})],n.prototype,"title",void 0),__decorate([r.property({type:String})],n.prototype,"description",void 0),__decorate([r.property({type:String})],n.prototype,"ok",void 0),n=__decorate([r.customElement("typo3-mfa-totp-url-info-button")],n)}));
\ No newline at end of file
define(["exports"],(function(exports){"use strict";
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const t=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e=Symbol();class n{constructor(t,n){if(n!==e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return t&&void 0===this.t&&(this.t=new CSSStyleSheet,this.t.replaceSync(this.cssText)),this.t}toString(){return this.cssText}}const s=t=>new n(t+"",e),o=new Map,S=t?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return s(e)})(t):t;exports.CSSResult=n,exports.adoptStyles=(e,n)=>{t?e.adoptedStyleSheets=n.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):n.forEach(t=>{const n=document.createElement("style");n.textContent=t.cssText,e.appendChild(n)})},exports.css=(t,...s)=>{const r=s.reduce((e,s,o)=>e+(t=>{if(t instanceof n)return t.cssText;if("number"==typeof t)return t;throw Error(`Value passed to 'css' function must be a 'css' function result: ${t}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(s)+t[o+1],t[0]);let i=o.get(r);return void 0===i&&o.set(r,i=new n(r,e)),i},exports.getCompatibleStyle=S,exports.supportsAdoptingStyleSheets=t,exports.unsafeCSS=s,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./decorators/base","./decorators/custom-element","./decorators/property","./decorators/state","./decorators/event-options","./decorators/query","./decorators/query-all","./decorators/query-async","./decorators/query-assigned-nodes"],(function(exports,base,customElement,property,state,eventOptions,query,queryAll,queryAsync,queryAssignedNodes){"use strict";exports.decorateProperty=base.decorateProperty,exports.legacyPrototypeMethod=base.legacyPrototypeMethod,exports.standardPrototypeMethod=base.standardPrototypeMethod,exports.customElement=customElement.customElement,exports.property=property.property,exports.state=state.state,exports.eventOptions=eventOptions.eventOptions,exports.query=query.query,exports.queryAll=queryAll.queryAll,exports.queryAsync=queryAsync.queryAsync,exports.queryAssignedNodes=queryAssignedNodes.queryAssignedNodes,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports"],(function(exports){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/exports.decorateProperty=({finisher:e,descriptor:t})=>(o,n)=>{var r;if(void 0===n){const n=null!==(r=o.originalKey)&&void 0!==r?r:o.key,i=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(o.key)}:{...o,key:n};return null!=e&&(i.finisher=function(t){e(t,n)}),i}{const r=o.constructor;void 0!==t&&Object.defineProperty(o,n,t(n)),null==e||e(r,n)}},exports.legacyPrototypeMethod=(e,t,o)=>{Object.defineProperty(t,o,e)},exports.standardPrototypeMethod=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports"],(function(exports){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/exports.customElement=n=>e=>"function"==typeof e?((n,e)=>(window.customElements.define(n,e),e))(n,e):((n,e)=>{const{kind:t,elements:i}=e;return{kind:t,elements:i,finisher(e){window.customElements.define(n,e)}}})(n,e),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./base"],(function(exports,base){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/exports.eventOptions=function(e){return base.decorateProperty({finisher:(r,t)=>{Object.assign(r.prototype[t],e)}})},Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports"],(function(exports){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const i=(i,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,i)}};exports.property=function(e){return(n,t)=>void 0!==t?((i,e,n)=>{e.constructor.createProperty(n,i)})(e,n,t):i(e,n)},Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./base"],(function(exports,base){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/exports.queryAll=function(e){return base.decorateProperty({descriptor:r=>({get(){var r;return null===(r=this.renderRoot)||void 0===r?void 0:r.querySelectorAll(e)},enumerable:!0,configurable:!0})})},Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./base"],(function(exports,base){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const t=Element.prototype,n=t.msMatchesSelector||t.webkitMatchesSelector;exports.queryAssignedNodes=function(t="",o=!1,r=""){return base.decorateProperty({descriptor:e=>({get(){var e,l;const i="slot"+(t?`[name=${t}]`:":not([name])");let a=null===(l=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(i))||void 0===l?void 0:l.assignedNodes({flatten:o});return a&&r&&(a=a.filter(e=>e.nodeType===Node.ELEMENT_NODE&&(e.matches?e.matches(r):n.call(e,r)))),a},enumerable:!0,configurable:!0})})},Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./base"],(function(exports,base){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/exports.queryAsync=function(e){return base.decorateProperty({descriptor:r=>({async get(){var r;return await this.updateComplete,null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(e)},enumerable:!0,configurable:!0})})},Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./base"],(function(exports,base){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/exports.query=function(o,r){return base.decorateProperty({descriptor:t=>{const i={get(){var t;return null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(o)},enumerable:!0,configurable:!0};if(r){const r="symbol"==typeof t?Symbol():"__"+t;i.get=function(){var t;return void 0===this[r]&&(this[r]=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(o)),this[r]}}return i}})},Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./property"],(function(exports,property){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/exports.state=function(r){return property.property({...r,state:!0,attribute:!1})},Object.defineProperty(exports,"__esModule",{value:!0})}));
define((function(){"use strict";var i;i=function(){
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
var i,n,t="__scoped";null!==(i=(n=window).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var o=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(o);var d=o.createRenderRoot;o.createRenderRoot=function(){var i,n,o,w=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(t)){this.constructor[t]=!0;var e=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(e,w),void 0===this.constructor.J&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),w)}return null!==(o=this.shadowRoot)&&void 0!==o?o:this.attachShadow(this.constructor.shadowRootOptions)};var w=o.connectedCallback;o.connectedCallback=function(){w.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var e=o.E;o.E=function(i){var n=!this.hasUpdated;e.call(this,i),n&&window.ShadyCSS.styleElement(this)}}})},"function"==typeof define&&define.amd?define(i):i()}));
define(["exports","./css-tag"],(function(exports,cssTag){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var s,e,h,r;const o={toAttribute(t,i){switch(i){case Boolean:t=t?"":null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},n=(t,i)=>i!==t&&(i==i||t==t),l={attribute:!0,type:String,converter:o,reflect:!1,hasChanged:n};class a extends HTMLElement{constructor(){super(),this.Πi=new Map,this.Πo=void 0,this.Πl=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.Πh=null,this.u()}static addInitializer(t){var i;null!==(i=this.v)&&void 0!==i||(this.v=[]),this.v.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((i,s)=>{const e=this.Πp(s,i);void 0!==e&&(this.Πm.set(e,s),t.push(e))}),t}static createProperty(t,i=l){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,i,s){return{get(){return this[i]},set(e){const h=this[t];this[i]=e,this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this.Πm=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(cssTag.getCompatibleStyle(i))}else void 0!==i&&s.push(cssTag.getCompatibleStyle(i));return s}static Πp(t,i){const s=i.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this.Πg=new Promise(t=>this.enableUpdating=t),this.L=new Map,this.Π_(),this.requestUpdate(),null===(t=this.constructor.v)||void 0===t||t.forEach(t=>t(this))}addController(t){var i,s;(null!==(i=this.ΠU)&&void 0!==i?i:this.ΠU=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var i;null===(i=this.ΠU)||void 0===i||i.splice(this.ΠU.indexOf(t)>>>0,1)}Π_(){this.constructor.elementProperties.forEach((t,i)=>{this.hasOwnProperty(i)&&(this.Πi.set(i,this[i]),delete this[i])})}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return cssTag.adoptStyles(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this.ΠU)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}),this.Πl&&(this.Πl(),this.Πo=this.Πl=void 0)}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this.ΠU)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}),this.Πo=new Promise(t=>this.Πl=t)}attributeChangedCallback(t,i,s){this.K(t,s)}Πj(t,i,s=l){var e,h;const r=this.constructor.Πp(t,s);if(void 0!==r&&!0===s.reflect){const n=(null!==(h=null===(e=s.converter)||void 0===e?void 0:e.toAttribute)&&void 0!==h?h:o.toAttribute)(i,s.type);this.Πh=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this.Πh=null}}K(t,i){var s,e,h;const r=this.constructor,n=r.Πm.get(t);if(void 0!==n&&this.Πh!==n){const t=r.getPropertyOptions(n),l=t.converter,a=null!==(h=null!==(e=null===(s=l)||void 0===s?void 0:s.fromAttribute)&&void 0!==e?e:"function"==typeof l?l:null)&&void 0!==h?h:o.fromAttribute;this.Πh=n,this[n]=a(i,t.type),this.Πh=null}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||n)(this[t],i)?(this.L.has(t)||this.L.set(t,i),!0===s.reflect&&this.Πh!==t&&(void 0===this.Πk&&(this.Πk=new Map),this.Πk.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this.Πg=this.Πq())}async Πq(){this.isUpdatePending=!0;try{for(await this.Πg;this.Πo;)await this.Πo}catch(t){Promise.reject(t)}const t=this.performUpdate();return null!=t&&await t,!this.isUpdatePending}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this.Πi&&(this.Πi.forEach((t,i)=>this[i]=t),this.Πi=void 0);let i=!1;const s=this.L;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this.ΠU)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)}),this.update(s)):this.Π$()}catch(t){throw i=!1,this.Π$(),t}i&&this.E(s)}willUpdate(t){}E(t){var i;null===(i=this.ΠU)||void 0===i||i.forEach(t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}Π$(){this.L=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.Πg}shouldUpdate(t){return!0}update(t){void 0!==this.Πk&&(this.Πk.forEach((t,i)=>this.Πj(i,this[i],t)),this.Πk=void 0),this.Π$()}updated(t){}firstUpdated(t){}}a.finalized=!0,a.shadowRootOptions={mode:"open"},null===(e=(s=window).reactiveElementPlatformSupport)||void 0===e||e.call(s,{ReactiveElement:a}),(null!==(h=(r=window).reactiveElementVersions)&&void 0!==h?h:r.reactiveElementVersions=[]).push("1.0.0-rc.1"),exports.CSSResult=cssTag.CSSResult,exports.adoptStyles=cssTag.adoptStyles,exports.css=cssTag.css,exports.getCompatibleStyle=cssTag.getCompatibleStyle,exports.supportsAdoptingStyleSheets=cssTag.supportsAdoptingStyleSheets,exports.unsafeCSS=cssTag.unsafeCSS,exports.ReactiveElement=a,exports.defaultConverter=o,exports.notEqual=n,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","@lit/reactive-element/decorators/base","@lit/reactive-element/decorators/custom-element","@lit/reactive-element/decorators/property","@lit/reactive-element/decorators/state","@lit/reactive-element/decorators/event-options","@lit/reactive-element/decorators/query","@lit/reactive-element/decorators/query-all","@lit/reactive-element/decorators/query-async","@lit/reactive-element/decorators/query-assigned-nodes"],(function(exports,base,customElement,property,state,eventOptions,query,queryAll,queryAsync,queryAssignedNodes){"use strict";Object.keys(base).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return base[k]}})})),Object.keys(customElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return customElement[k]}})})),Object.keys(property).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return property[k]}})})),Object.keys(state).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return state[k]}})})),Object.keys(eventOptions).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return eventOptions[k]}})})),Object.keys(query).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return query[k]}})})),Object.keys(queryAll).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAll[k]}})})),Object.keys(queryAsync).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAsync[k]}})})),Object.keys(queryAssignedNodes).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAssignedNodes[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","@lit/reactive-element/decorators/custom-element"],(function(exports,customElement){"use strict";Object.keys(customElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return customElement[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","@lit/reactive-element/decorators/event-options"],(function(exports,eventOptions){"use strict";Object.keys(eventOptions).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return eventOptions[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","@lit/reactive-element/decorators/property"],(function(exports,property){"use strict";Object.keys(property).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return property[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","@lit/reactive-element/decorators/query-all"],(function(exports,queryAll){"use strict";Object.keys(queryAll).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAll[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment