@momentum-design/components 0.4.13 → 0.4.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/index.js +86 -31
- package/dist/browser/index.js.map +4 -4
- package/dist/components/badge/badge.component.d.ts +74 -29
- package/dist/components/badge/badge.component.js +156 -68
- package/dist/components/badge/badge.constants.d.ts +28 -4
- package/dist/components/badge/badge.constants.js +32 -5
- package/dist/components/badge/badge.styles.js +54 -12
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/badge/index.js +2 -0
- package/dist/custom-elements.json +230 -51
- package/dist/react/badge/index.d.ts +6 -3
- package/dist/react/badge/index.js +6 -3
- package/package.json +1 -1
- package/dist/components/badge/badge.types.d.ts +0 -1
- package/dist/components/badge/badge.types.js +0 -2
package/dist/browser/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
"use strict";(()=>{var Me=Object.defineProperty;var
|
2
|
-
\f\r]`,
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
1
|
+
"use strict";(()=>{var Me=Object.defineProperty;var ke=Object.getOwnPropertyDescriptor;var d=(o,t,e,r)=>{for(var s=r>1?void 0:r?ke(t,e):t,n=o.length-1,i;n>=0;n--)(i=o[n])&&(s=(r?i(t,e,s):i(s))||s);return r&&s&&Me(t,e,s),s};var it=globalThis,nt=it.ShadowRoot&&(it.ShadyCSS===void 0||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,St=Symbol(),Wt=new WeakMap,B=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==St)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(nt&&t===void 0){let r=e!==void 0&&e.length===1;r&&(t=Wt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&Wt.set(e,t))}return t}toString(){return this.cssText}},Yt=o=>new B(typeof o=="string"?o:o+"",void 0,St),g=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((r,s,n)=>r+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+o[n+1],o[0]);return new B(e,o,St)},Tt=(o,t)=>{if(nt)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let r=document.createElement("style"),s=it.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=e.cssText,o.appendChild(r)}},at=nt?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let r of t.cssRules)e+=r.cssText;return Yt(e)})(o):o;var{is:He,defineProperty:De,getOwnPropertyDescriptor:qe,getOwnPropertyNames:Fe,getOwnPropertySymbols:Ge,getPrototypeOf:Ve}=Object,w=globalThis,Zt=w.trustedTypes,je=Zt?Zt.emptyScript:"",Ct=w.reactiveElementPolyfillSupport,X=(o,t)=>o,W={toAttribute(o,t){switch(t){case Boolean:o=o?je:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},lt=(o,t)=>!He(o,t),Kt={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:lt},Jt,Qt;(Jt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Qt=w.litPropertyMetadata)!=null||(w.litPropertyMetadata=new WeakMap);var _=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Kt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let r=Symbol(),s=this.getPropertyDescriptor(t,r,e);s!==void 0&&De(this.prototype,t,s)}}static getPropertyDescriptor(t,e,r){var i;let{get:s,set:n}=(i=qe(this.prototype,t))!=null?i:{get(){return this[e]},set(a){this[e]=a}};return{get(){return s==null?void 0:s.call(this)},set(a){let l=s==null?void 0:s.call(this);n.call(this,a),this.requestUpdate(t,l,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Kt}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=Ve(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let e=this.properties,r=[...Fe(e),...Ge(e)];for(let s of r)this.createProperty(s,e[s])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[r,s]of e)this.elementProperties.set(r,s)}this._$Eh=new Map;for(let[e,r]of this.elementProperties){let s=this._$Eu(e,r);s!==void 0&&this._$Eh.set(s,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let r=new Set(t.flat(1/0).reverse());for(let s of r)e.unshift(at(s))}else t!==void 0&&e.push(at(t));return e}static _$Eu(t,e){let r=e.attribute;return r===!1?void 0:typeof r=="string"?r:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,r;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((r=t.hostConnected)==null||r.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Tt(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(r=>{var s;return(s=r.hostConnected)==null?void 0:s.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var r;return(r=e.hostDisconnected)==null?void 0:r.call(e)})}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){var n;let r=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,r);if(s!==void 0&&r.reflect===!0){let i=(((n=r.converter)==null?void 0:n.toAttribute)!==void 0?r.converter:W).toAttribute(e,r.type);this._$Em=t,i==null?this.removeAttribute(s):this.setAttribute(s,i),this._$Em=null}}_$AK(t,e){var n;let r=this.constructor,s=r._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let i=r.getPropertyOptions(s),a=typeof i.converter=="function"?{fromAttribute:i.converter}:((n=i.converter)==null?void 0:n.fromAttribute)!==void 0?i.converter:W;this._$Em=s,this[s]=a.fromAttribute(e,i.type),this._$Em=null}}requestUpdate(t,e,r){var s;if(t!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(t)),!((s=r.hasChanged)!=null?s:lt)(this[t],e))return;this.P(t,e,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,r){var s;this._$AL.has(t)||this._$AL.set(t,e),r.reflect===!0&&this._$Em!==t&&((s=this._$Ej)!=null?s:this._$Ej=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r,s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],a)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(n=>{var i;return(i=n.hostUpdate)==null?void 0:i.call(n)}),this.update(e)):this._$EU()}catch(n){throw t=!1,this._$EU(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}},te;_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[X("elementProperties")]=new Map,_[X("finalized")]=new Map,Ct==null||Ct({ReactiveElement:_}),((te=w.reactiveElementVersions)!=null?te:w.reactiveElementVersions=[]).push("2.0.4");var Be={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:lt},Xe=(o=Be,t,e)=>{let{kind:r,metadata:s}=e,n=globalThis.litPropertyMetadata.get(s);if(n===void 0&&globalThis.litPropertyMetadata.set(s,n=new Map),n.set(e.name,o),r==="accessor"){let{name:i}=e;return{set(a){let l=t.get.call(this);t.set.call(this,a),this.requestUpdate(i,l,o)},init(a){return a!==void 0&&this.P(i,void 0,o),a}}}if(r==="setter"){let{name:i}=e;return function(a){let l=this[i];t.call(this,a),this.requestUpdate(i,l,o)}}throw Error("Unsupported decorator location: "+r)};function c(o){return(t,e)=>typeof e=="object"?Xe(o,t,e):((r,s,n)=>{let i=s.hasOwnProperty(n);return s.constructor.createProperty(n,i?{...r,wrapped:!0}:r),i?Object.getOwnPropertyDescriptor(s,n):void 0})(o,t,e)}function k(o){return c({...o,state:!0,attribute:!1})}var We={PREFIX:"mdc",SEPARATOR:"-"},Ye={NAMESPACE:We},$t=Ye;var Ze=o=>[$t.NAMESPACE.PREFIX,o].join($t.NAMESPACE.SEPARATOR),x={constructTagName:Ze};var ct=x.constructTagName("themeprovider"),Nt={THEMECLASS:"mds-theme-stable-darkWebex"};var Z=globalThis,mt=Z.trustedTypes,ee=mt?mt.createPolicy("lit-html",{createHTML:o=>o}):void 0,le="$lit$",R=`lit$${Math.random().toFixed(9).slice(2)}$`,de="?"+R,Ke=`<${de}>`,L=document,K=()=>L.createComment(""),J=o=>o===null||typeof o!="object"&&typeof o!="function",Lt=Array.isArray,Je=o=>Lt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",wt=`[
|
2
|
+
\f\r]`,Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,re=/-->/g,se=/>/g,U=RegExp(`>|${wt}(?:([^\\s"'>=/]+)(${wt}*=${wt}*(?:[^
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ie=/"/g,ce=/^(?:script|style|textarea|title)$/i,Mt=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),h=Mt(1),Kr=Mt(2),Jr=Mt(3),S=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),ne=new WeakMap,I=L.createTreeWalker(L,129);function me(o,t){if(!Lt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return ee!==void 0?ee.createHTML(t):t}var Qe=(o,t)=>{let e=o.length-1,r=[],s,n=t===2?"<svg>":t===3?"<math>":"",i=Y;for(let a=0;a<e;a++){let l=o[a],u,p,m=-1,A=0;for(;A<l.length&&(i.lastIndex=A,p=i.exec(l),p!==null);)A=i.lastIndex,i===Y?p[1]==="!--"?i=re:p[1]!==void 0?i=se:p[2]!==void 0?(ce.test(p[2])&&(s=RegExp("</"+p[2],"g")),i=U):p[3]!==void 0&&(i=U):i===U?p[0]===">"?(i=s!=null?s:Y,m=-1):p[1]===void 0?m=-2:(m=i.lastIndex-p[2].length,u=p[1],i=p[3]===void 0?U:p[3]==='"'?ie:oe):i===ie||i===oe?i=U:i===re||i===se?i=Y:(i=U,s=void 0);let N=i===U&&o[a+1].startsWith("/>")?" ":"";n+=i===Y?l+Ke:m>=0?(r.push(u),l.slice(0,m)+le+l.slice(m)+R+N):l+R+(m===-2?a:N)}return[me(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),r]},Q=class o{constructor({strings:t,_$litType$:e},r){let s;this.parts=[];let n=0,i=0,a=t.length-1,l=this.parts,[u,p]=Qe(t,e);if(this.el=o.createElement(u,r),I.currentNode=this.el.content,e===2||e===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(s=I.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(let m of s.getAttributeNames())if(m.endsWith(le)){let A=p[i++],N=s.getAttribute(m).split(R),ot=/([.?@])?(.*)/.exec(A);l.push({type:1,index:n,name:ot[2],strings:N,ctor:ot[1]==="."?Ot:ot[1]==="?"?Pt:ot[1]==="@"?Ut:D}),s.removeAttribute(m)}else m.startsWith(R)&&(l.push({type:6,index:n}),s.removeAttribute(m));if(ce.test(s.tagName)){let m=s.textContent.split(R),A=m.length-1;if(A>0){s.textContent=mt?mt.emptyScript:"";for(let N=0;N<A;N++)s.append(m[N],K()),I.nextNode(),l.push({type:2,index:++n});s.append(m[A],K())}}}else if(s.nodeType===8)if(s.data===de)l.push({type:2,index:n});else{let m=-1;for(;(m=s.data.indexOf(R,m+1))!==-1;)l.push({type:7,index:n}),m+=R.length-1}n++}}static createElement(t,e){let r=L.createElement("template");return r.innerHTML=t,r}};function H(o,t,e=o,r){var i,a,l;if(t===S)return t;let s=r!==void 0?(i=e.o)==null?void 0:i[r]:e.l,n=J(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==n&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),n===void 0?s=void 0:(s=new n(o),s._$AT(o,e,r)),r!==void 0?((l=e.o)!=null?l:e.o=[])[r]=s:e.l=s),s!==void 0&&(t=H(o,s._$AS(o,t.values),s,r)),t}var zt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var u;let{el:{content:e},parts:r}=this._$AD,s=((u=t==null?void 0:t.creationScope)!=null?u:L).importNode(e,!0);I.currentNode=s;let n=I.nextNode(),i=0,a=0,l=r[0];for(;l!==void 0;){if(i===l.index){let p;l.type===2?p=new tt(n,n.nextSibling,this,t):l.type===1?p=new l.ctor(n,l.name,l.strings,this,t):l.type===6&&(p=new It(n,this,t)),this._$AV.push(p),l=r[++a]}i!==(l==null?void 0:l.index)&&(n=I.nextNode(),i++)}return I.currentNode=L,s}p(t){let e=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},tt=class o{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,r,s){var n;this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=s,this.v=(n=s==null?void 0:s.isConnected)!=null?n:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=H(this,t,e),J(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==S&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Je(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==f&&J(this._$AH)?this._$AA.nextSibling.data=t:this.T(L.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:r}=t,s=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=Q.createElement(me(r.h,r.h[0]),this.options)),r);if(((n=this._$AH)==null?void 0:n._$AD)===s)this._$AH.p(e);else{let i=new zt(s,this),a=i.u(this.options);i.p(e),this.T(a),this._$AH=i}}_$AC(t){let e=ne.get(t.strings);return e===void 0&&ne.set(t.strings,e=new Q(t)),e}k(t){Lt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,r,s=0;for(let n of t)s===e.length?e.push(r=new o(this.O(K()),this.O(K()),this,this.options)):r=e[s],r._$AI(n),s++;s<e.length&&(this._$AR(r&&r._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this.v=t,(e=this._$AP)==null||e.call(this,t))}},D=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,s,n){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=f}_$AI(t,e=this,r,s){let n=this.strings,i=!1;if(n===void 0)t=H(this,t,e,0),i=!J(t)||t!==this._$AH&&t!==S,i&&(this._$AH=t);else{let a=t,l,u;for(t=n[0],l=0;l<n.length-1;l++)u=H(this,a[r+l],e,l),u===S&&(u=this._$AH[l]),i||(i=!J(u)||u!==this._$AH[l]),u===f?t=f:t!==f&&(t+=(u!=null?u:"")+n[l+1]),this._$AH[l]=u}i&&!s&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},Ot=class extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}},Pt=class extends D{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}},Ut=class extends D{constructor(t,e,r,s,n){super(t,e,r,s,n),this.type=5}_$AI(t,e=this){var i;if((t=(i=H(this,t,e,0))!=null?i:f)===S)return;let r=this._$AH,s=t===f&&r!==f||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==f&&(r===f||s);s&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;typeof this._$AH=="function"?this._$AH.call((r=(e=this.options)==null?void 0:e.host)!=null?r:this.element,t):this._$AH.handleEvent(t)}},It=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}};var Rt=Z.litHtmlPolyfillSupport,ae;Rt==null||Rt(Q,tt),((ae=Z.litHtmlVersions)!=null?ae:Z.litHtmlVersions=[]).push("3.2.0");var he=(o,t,e)=>{var n,i;let r=(n=e==null?void 0:e.renderBefore)!=null?n:t,s=r._$litPart$;if(s===void 0){let a=(i=e==null?void 0:e.renderBefore)!=null?i:null;r._$litPart$=s=new tt(t.insertBefore(K(),a),a,void 0,e!=null?e:{})}return s._$AI(o),s};var z=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,r;let t=super.createRenderRoot();return(r=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=he(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this.o)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.o)==null||t.setConnected(!1)}render(){return S}},pe;z._$litElement$=!0,z.finalized=!0,(pe=globalThis.litElementHydrateSupport)==null||pe.call(globalThis,{LitElement:z});var kt=globalThis.litElementPolyfillSupport;kt==null||kt({LitElement:z});var ue;((ue=globalThis.litElementVersions)!=null?ue:globalThis.litElementVersions=[]).push("4.1.0");var ge=g`
|
4
4
|
:host {
|
5
5
|
box-sizing: border-box;
|
6
6
|
}
|
@@ -10,11 +10,11 @@
|
|
10
10
|
:host *::after {
|
11
11
|
box-sizing: inherit;
|
12
12
|
}
|
13
|
-
`;var
|
13
|
+
`;var ht=class extends z{static register(t){customElements.get(t)||customElements.define(t,this)}};ht.styles=[ge];var fe=ht;var b=fe;var O=class extends Event{constructor(t,e,r){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=r!=null?r:!1}};var q=class{constructor(t,e,r,s){var n;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(i,a)=>{this.unsubscribe&&(this.unsubscribe!==a&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=i,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(i,a)),this.unsubscribe=a},this.host=t,e.context!==void 0){let i=e;this.context=i.context,this.callback=i.callback,this.subscribe=(n=i.subscribe)!=null?n:!1}else this.context=e,this.callback=r,this.subscribe=s!=null?s:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new O(this.context,this.t,this.subscribe))}};var pt=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let r=e||!Object.is(t,this.o);this.o=t,r&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:r}]of this.subscriptions)e(this.o,r)},t!==void 0&&(this.value=t)}addCallback(t,e,r){if(!r)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var Ht=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},F=class extends pt{constructor(t,e,r){var s,n;super(e.context!==void 0?e.initialValue:r),this.onContextRequest=i=>{let a=i.composedPath()[0];i.context===this.context&&a!==this.host&&(i.stopPropagation(),this.addCallback(i.callback,a,i.subscribe))},this.onProviderRequest=i=>{let a=i.composedPath()[0];if(i.context!==this.context||a===this.host)return;let l=new Set;for(let[u,{consumerHost:p}]of this.subscriptions)l.has(u)||(l.add(u),p.dispatchEvent(new O(this.context,u,!0)));i.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(n=(s=this.host).addController)==null||n.call(s,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Ht(this.context))}};var tr=g`
|
14
14
|
:host {
|
15
15
|
display: contents;
|
16
16
|
}
|
17
|
-
`,
|
17
|
+
`,ve=tr;var ut=class extends b{constructor({context:t,initialValue:e}){super(),this.context=new F(this,{context:t,initialValue:e})}render(){return this.updateContext(),h`<slot></slot>`}};ut.styles=[...b.styles,ve];var xe=ut;var G=xe;var gt=class{constructor(t){this.themeclass=t}};gt.context=ct;var ft=gt;var er=g`
|
18
18
|
:host {
|
19
19
|
--mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
|
20
20
|
--mdc-themeprovider-font-family: var(--mds-font-family-primary);
|
@@ -27,7 +27,7 @@
|
|
27
27
|
font-weight: var(--mdc-themeprovider-font-weight);
|
28
28
|
letter-spacing: var(--mdc-themeprovider-letter-spacing-adjustment);
|
29
29
|
}
|
30
|
-
`,
|
30
|
+
`,ye=[er];var V=class extends G{constructor(){super({context:ft.context,initialValue:new ft(Nt.THEMECLASS)});this.themeclass=Nt.THEMECLASS}static get Context(){return ft.context}updated(e){super.updated(e),e.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};V.styles=[...G.styles,...ye],d([k()],V.prototype,"currentThemeClass",2),d([c({type:String})],V.prototype,"themeclass",2);var Dt=V;Dt.register(ct);var rr=Dt;var bt=g`
|
31
31
|
:host {
|
32
32
|
align-items: center;
|
33
33
|
display: flex;
|
@@ -35,7 +35,7 @@
|
|
35
35
|
justify-content: center;
|
36
36
|
width: fit-content;
|
37
37
|
}
|
38
|
-
`,yo=
|
38
|
+
`,yo=g`
|
39
39
|
:host {
|
40
40
|
--mdc-focus-ring-inner-color: var(--mds-color-theme-focus-0);
|
41
41
|
--mdc-focus-ring-middle-color: var(--mds-color-theme-focus-1);
|
@@ -56,7 +56,7 @@
|
|
56
56
|
0 0 0 var(--mdc-focus-ring-middle-width) var(--mdc-focus-ring-middle-color),
|
57
57
|
0 0 0 var(--mdc-focus-ring-outer-width) var(--mdc-focus-ring-outer-color);
|
58
58
|
}
|
59
|
-
`;var
|
59
|
+
`;var sr=[bt,g`
|
60
60
|
:host {
|
61
61
|
--mdc-icon-fill-color: currentColor;
|
62
62
|
}
|
@@ -65,7 +65,7 @@
|
|
65
65
|
width: 100%;
|
66
66
|
fill: var(--mdc-icon-fill-color);
|
67
67
|
}
|
68
|
-
`],
|
68
|
+
`],Ee=sr;var or=o=>{let{host:t,context:e,subscribe:r}=o;return new q(t,{context:e,subscribe:r!=null?r:!0})},ir={consume:or},Ae=ir;var vt=x.constructTagName("iconprovider"),_e=["svg"],Se=["em","rem","px"],T={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",LENGTH_UNIT_SIZE:{px:16,em:1,rem:1}};var xt=class{};xt.context=vt;var yt=xt;var M=class extends G{constructor(){super({context:yt.context,initialValue:new yt});this.fileExtension=T.FILE_EXTENSION;this.lengthUnit=T.LENGTH_UNIT;this.size=T.LENGTH_UNIT_SIZE[T.LENGTH_UNIT]}static get Context(){return yt.context}updateValuesInContext(){this.fileExtension&&_e.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=T.FILE_EXTENSION,this.context.value.fileExtension=T.FILE_EXTENSION),this.context.value.url=this.url,this.context.value.size=this.size,this.lengthUnit&&Se.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=T.LENGTH_UNIT,this.context.value.lengthUnit=T.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size)&&(this.updateValuesInContext(),this.context.updateObservers())}};d([c({type:String})],M.prototype,"url",2),d([c({type:String,attribute:"file-extension",reflect:!0})],M.prototype,"fileExtension",2),d([c({type:String,attribute:"length-unit",reflect:!0})],M.prototype,"lengthUnit",2),d([c({type:Number,reflect:!0})],M.prototype,"size",2);var et=M;var Te=async(o,t,e)=>{let r=await fetch(`${o}/${t}.${e}`);if(!r.ok)throw new Error("There was a problem while fetching the icon!");let s=await r.text();return new DOMParser().parseFromString(s,"text/html").body.children[0]};var Ce=x.constructTagName("icon"),qt={NAME:void 0,SIZE:1};var y=class extends b{constructor(){super(...arguments);this.name=qt.NAME;this.ariaLabel=null;this.iconProviderContext=Ae.consume({host:this,context:et.Context})}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:e,url:r}=this.iconProviderContext.value;if(r&&e&&this.name){let s=await Te(r,this.name,e);this.iconData=s,this.setRoleOnIcon(),this.setAriaLabelOnIcon(),this.setAriaHiddenOnIcon()}}}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.width=r,this.style.height=r}}setRoleOnIcon(){this.role=this.ariaLabel?"img":null}setAriaHiddenOnIcon(){var e;(e=this.iconData)==null||e.setAttribute("aria-hidden","true")}setAriaLabelOnIcon(){var e,r;this.ariaLabel?(e=this.iconData)==null||e.setAttribute("aria-label",this.ariaLabel):(r=this.iconData)==null||r.removeAttribute("aria-label")}get computedIconSize(){var e,r;return(r=(e=this.size)!=null?e:this.sizeFromContext)!=null?r:qt.SIZE}updated(e){var r,s,n,i;super.updated(e),e.has("name")&&this.getIconData().catch(a=>{console.error(a)}),e.has("ariaLabel")&&(this.setRoleOnIcon(),this.setAriaLabelOnIcon()),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((r=this.iconProviderContext.value)==null?void 0:r.lengthUnit)&&(this.lengthUnitFromContext=(s=this.iconProviderContext.value)==null?void 0:s.lengthUnit,this.updateSize()),this.sizeFromContext!==((n=this.iconProviderContext.value)==null?void 0:n.size)&&(this.sizeFromContext=(i=this.iconProviderContext.value)==null?void 0:i.size,this.updateSize())}render(){return h` ${this.iconData} `}};y.styles=[...b.styles,...Ee],d([k()],y.prototype,"iconData",2),d([k()],y.prototype,"lengthUnitFromContext",2),d([k()],y.prototype,"sizeFromContext",2),d([c({type:String,reflect:!0})],y.prototype,"name",2),d([c({type:Number})],y.prototype,"size",2),d([c({type:String,attribute:"length-unit"})],y.prototype,"lengthUnit",2),d([c({type:String,attribute:"aria-label"})],y.prototype,"ariaLabel",2);var Ft=y;Ft.register(Ce);var nr=Ft;et.register(vt);var ar=et;var rt=o=>o!=null?o:f;var lr=g`
|
69
69
|
:host {
|
70
70
|
display: flex;
|
71
71
|
justify-content: center;
|
@@ -80,33 +80,88 @@
|
|
80
80
|
width: inherit;
|
81
81
|
object-fit: cover;
|
82
82
|
}
|
83
|
-
|
83
|
+
`,$e=[lr];var Ne=x.constructTagName("avatar"),we="rem",Gt={TYPE:"photo",SIZE:1.5};var P=class extends b{constructor(){super(...arguments);this.type=Gt.TYPE;this.size=Gt.SIZE}updateSize(){if(this.size){let e=`${this.size}${we}`;this.style.width=e,this.style.height=e}}updated(e){super.updated(e),e.has("size")&&this.updateSize()}photoTemplate(){return h`
|
84
84
|
<img
|
85
|
-
src="${
|
86
|
-
alt="${
|
85
|
+
src="${rt(this.src)}"
|
86
|
+
alt="${rt(this.alt)}"
|
87
87
|
/>
|
88
|
-
`}render(){let e;return this.type==="photo"?e=this.photoTemplate():e=
|
88
|
+
`}render(){let e;return this.type==="photo"?e=this.photoTemplate():e=h``,h`${e}`}};P.styles=[...b.styles,...$e],d([c({type:String,reflect:!0})],P.prototype,"type",2),d([c({type:String})],P.prototype,"alt",2),d([c({type:String})],P.prototype,"src",2),d([c({type:Number})],P.prototype,"size",2);var Vt=P;Vt.register(Ne);var dr=Vt;var Re={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ze=o=>(...t)=>({_$litDirective$:o,values:t}),Et=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this.t=t,this._$AM=e,this.i=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var At=ze(class extends Et{constructor(o){var t;if(super(o),o.type!==Re.ATTRIBUTE||o.name!=="class"||((t=o.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){var r,s;if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!((r=this.nt)!=null&&r.has(n))&&this.st.add(n);return this.render(t)}let e=o.element.classList;for(let n of this.st)n in t||(e.remove(n),this.st.delete(n));for(let n in t){let i=!!t[n];i===this.st.has(n)||(s=this.nt)!=null&&s.has(n)||(i?(e.add(n),this.st.add(n)):(e.remove(n),this.st.delete(n)))}return S}});var Oe=x.constructTagName("badge"),C={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},_t={SUCCESS_ICON_NAME:"check-circle-filled",WARNING_ICON_NAME:"warning-filled",ERROR_ICON_NAME:"error-legacy-filled"},jt={PRIMARY:"primary",SECONDARY:"secondary"},st={SUCCESS:"success",WARNING:"warning",ERROR:"error"},$={TYPE:C.DOT,LENGTH_UNIT:"rem",MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:jt.PRIMARY,ICON_SIZE:1};var cr=[bt,g`
|
89
89
|
:host {
|
90
|
-
--mdc-badge-
|
91
|
-
--mdc-badge-
|
90
|
+
--mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
|
91
|
+
--mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
|
92
|
+
|
93
|
+
--mdc-badge-secondary-foreground-color: var(--mds-color-theme-text-secondary-normal);
|
94
|
+
--mdc-badge-secondary-background-color: var(--mds-color-theme-background-alert-default-normal);
|
95
|
+
|
96
|
+
--mdc-badge-success-foreground-color: var(--mds-color-theme-text-success-normal);
|
97
|
+
--mdc-badge-success-background-color: var(--mds-color-theme-background-alert-success-normal);
|
98
|
+
|
99
|
+
--mdc-badge-warning-foreground-color: var(--mds-color-theme-text-warning-normal);
|
100
|
+
--mdc-badge-warning-background-color: var(--mds-color-theme-background-alert-warning-normal);
|
101
|
+
|
102
|
+
--mdc-badge-error-foreground-color: var(--mds-color-theme-text-error-normal);
|
103
|
+
--mdc-badge-error-background-color: var(--mds-color-theme-background-alert-error-normal);
|
104
|
+
|
105
|
+
--mdc-badge-overlay-background-color: var(--mds-color-theme-background-solid-primary-normal);
|
106
|
+
|
107
|
+
color: var(--mdc-badge-primary-foreground-color);
|
92
108
|
}
|
93
|
-
|
94
|
-
|
109
|
+
.mdc-badge-overlay {
|
110
|
+
outline: 0.0625rem solid var(--mdc-badge-overlay-background-color);
|
111
|
+
}
|
112
|
+
.mdc-badge-text {
|
113
|
+
padding: 0 0.25rem;
|
114
|
+
border-radius: 6.25rem;
|
115
|
+
min-width: 1rem;
|
95
116
|
display: flex;
|
96
117
|
justify-content: center;
|
97
|
-
|
98
|
-
border-radius: 9999px;
|
99
|
-
background-color: var(--mdc-badge-icon-background-color);
|
100
|
-
color: var(--mdc-badge-icon-color);
|
118
|
+
background-color: var(--mdc-badge-primary-background-color);
|
101
119
|
}
|
102
|
-
|
103
|
-
|
104
|
-
height:
|
105
|
-
|
120
|
+
.mdc-badge-dot {
|
121
|
+
width: 0.75rem;
|
122
|
+
height: 0.75rem;
|
123
|
+
border-radius: 50%;
|
124
|
+
background-color: var(--mdc-badge-primary-background-color);
|
125
|
+
}
|
126
|
+
.mdc-badge-icon {
|
127
|
+
padding: 2px;
|
128
|
+
border-radius: 50%;
|
129
|
+
}
|
130
|
+
.mdc-badge-icon__primary {
|
131
|
+
background-color: var(--mdc-badge-primary-background-color);
|
132
|
+
}
|
133
|
+
.mdc-badge-icon__success {
|
134
|
+
background-color: var(--mdc-badge-success-background-color);
|
135
|
+
color: var(--mdc-badge-success-foreground-color);
|
136
|
+
}
|
137
|
+
.mdc-badge-icon__warning {
|
138
|
+
background-color: var(--mdc-badge-warning-background-color);
|
139
|
+
color: var(--mdc-badge-warning-foreground-color);
|
140
|
+
}
|
141
|
+
.mdc-badge-icon__error {
|
142
|
+
background-color: var(--mdc-badge-error-background-color);
|
143
|
+
color: var(--mdc-badge-error-foreground-color);
|
144
|
+
}
|
145
|
+
.mdc-badge-icon__secondary {
|
146
|
+
background-color: var(--mdc-badge-secondary-background-color);
|
147
|
+
color: var(--mdc-badge-secondary-foreground-color);
|
106
148
|
}
|
107
|
-
`],
|
108
|
-
<mdc-icon
|
109
|
-
|
149
|
+
`],Pe=cr;var E=class extends b{constructor(){super(...arguments);this.type=$.TYPE;this.variant=$.VARIANT;this.maxCounter=$.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(e,r){return r===void 0||typeof r!="number"?"":r>$.MAX_COUNTER_LIMIT?`${$.MAX_COUNTER_LIMIT}+`:r>e?`${e}+`:r.toString()}getBadgeIcon(e,r,s,n){return h`
|
150
|
+
<mdc-icon
|
151
|
+
class="mdc-badge-icon ${At(this.getIconClasses(r,s,n))}"
|
152
|
+
name="${rt(e)}"
|
153
|
+
length-unit="${$.LENGTH_UNIT}"
|
154
|
+
size="${$.ICON_SIZE}"
|
155
|
+
></mdc-icon>
|
156
|
+
`}getBadgeDot(e){return h`<div class="mdc-badge-dot ${At({"mdc-badge-overlay":e})}"></div>`}getIconClasses(e,r,s){let n={"mdc-badge-overlay":e},i=s===C.ICON?jt:st,l={[`mdc-badge-icon__${Object.values(i).includes(r)?r:$.VARIANT}`]:!0};return{...n,...l}}getBadgeCounterText(e,r,s){return h`
|
157
|
+
<mdc-text
|
158
|
+
type="body-small-medium"
|
159
|
+
tagname="div"
|
160
|
+
class="mdc-badge-text ${At({"mdc-badge-overlay":r})}"
|
161
|
+
>
|
162
|
+
${this.getCounterText(e,s)}
|
163
|
+
</mdc-text>
|
164
|
+
`}setRoleByAriaLabel(){this.ariaLabel?this.role="img":this.role=null}getBadgeContentBasedOnType(){let{counter:e,iconName:r,maxCounter:s,overlay:n,type:i,variant:a}=this;switch(i){case C.DOT:return this.getBadgeDot(n);case C.ICON:return this.getBadgeIcon(r||"",n,a,i);case C.COUNTER:return this.getBadgeCounterText(s,n,e);case C.SUCCESS:return this.getBadgeIcon(_t.SUCCESS_ICON_NAME,n,st.SUCCESS);case C.WARNING:return this.getBadgeIcon(_t.WARNING_ICON_NAME,n,st.WARNING);case C.ERROR:return this.getBadgeIcon(_t.ERROR_ICON_NAME,n,st.ERROR);default:return h``}}update(e){super.update(e),e.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};E.styles=[...b.styles,...Pe],d([c({type:String,reflect:!0})],E.prototype,"type",2),d([c({type:String,attribute:"icon-name"})],E.prototype,"iconName",2),d([c({type:String})],E.prototype,"variant",2),d([c({type:Number})],E.prototype,"counter",2),d([c({type:Number,attribute:"max-counter"})],E.prototype,"maxCounter",2),d([c({type:Boolean})],E.prototype,"overlay",2),d([c({type:String,attribute:"aria-label"})],E.prototype,"ariaLabel",2);var Bt=E;var Ue=g`
|
110
165
|
:host([type="headline-small-regular"])::part(text) {
|
111
166
|
font-size: var(--mds-font-apps-headline-small-regular-font-size);
|
112
167
|
font-weight: var(--mds-font-apps-headline-small-regular-font-weight);
|
@@ -338,14 +393,14 @@
|
|
338
393
|
text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
|
339
394
|
text-transform: var(--mds-font-apps-body-small-regular-text-case);
|
340
395
|
}
|
341
|
-
`;var
|
396
|
+
`;var mr=[g`
|
342
397
|
:host {
|
343
398
|
--mdc-text-font-family: var(--mdc-themeprovider-font-family);
|
344
399
|
|
345
400
|
display: block;
|
346
401
|
font-family: var(--mdc-text-font-family);
|
347
402
|
}
|
348
|
-
`,
|
403
|
+
`,Ue],Ie=mr;var Le=x.constructTagName("text");var v={TYPE:"body-midsize-regular",TEXT_ELEMENT_TAGNAME:"p",CSS_PART_TEXT:"text"};var j=class extends b{constructor(){super(...arguments);this.type=v.TYPE;this.tagname=v.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case"h1":return h`<h1 part=${v.CSS_PART_TEXT}><slot></slot></h1>`;case"h2":return h`<h2 part=${v.CSS_PART_TEXT}><slot></slot></h2>`;case"h3":return h`<h3 part=${v.CSS_PART_TEXT}><slot></slot></h3>`;case"h4":return h`<h4 part=${v.CSS_PART_TEXT}><slot></slot></h4>`;case"h5":return h`<h5 part=${v.CSS_PART_TEXT}><slot></slot></h5>`;case"h6":return h`<h6 part=${v.CSS_PART_TEXT}><slot></slot></h6>`;case"div":return h`<div part=${v.CSS_PART_TEXT}><slot></slot></div>`;case"span":return h`<span part=${v.CSS_PART_TEXT}><slot></slot></span>`;case"small":return h`<small part=${v.CSS_PART_TEXT}><slot></slot></small>`;case"p":default:return h`<p part=${v.CSS_PART_TEXT}><slot></slot></p>`}}};j.styles=[...b.styles,...Ie],d([c({attribute:"type",reflect:!0,type:String})],j.prototype,"type",2),d([c({attribute:"tagname",reflect:!0,type:String})],j.prototype,"tagname",2);var Xt=j;Xt.register(Le);var hr=Xt;Bt.register(Oe);var pr=Bt;})();
|
349
404
|
/*! Bundled license information:
|
350
405
|
|
351
406
|
@lit/reactive-element/decorators/custom-element.js:
|
@@ -523,7 +578,7 @@ lit-html/directive.js:
|
|
523
578
|
* SPDX-License-Identifier: BSD-3-Clause
|
524
579
|
*)
|
525
580
|
|
526
|
-
lit-html/directives/
|
581
|
+
lit-html/directives/class-map.js:
|
527
582
|
(**
|
528
583
|
* @license
|
529
584
|
* Copyright 2018 Google LLC
|