@momentum-design/components 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/index.js +51 -51
- package/dist/browser/index.js.map +4 -4
- package/dist/components/iconprovider/iconprovider.stories.utils.d.ts +12 -0
- package/dist/components/iconprovider/iconprovider.stories.utils.js +24 -0
- package/dist/components/themeprovider/themeprovider.stories.utils.d.ts +12 -0
- package/dist/components/themeprovider/themeprovider.stories.utils.js +20 -0
- package/dist/custom-elements.json +18 -12
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -4
- package/dist/react/avatar/index.d.ts +11 -0
- package/dist/react/avatar/index.js +23 -0
- package/dist/react/badge/index.d.ts +11 -0
- package/dist/react/badge/index.js +23 -0
- package/dist/react/icon/index.d.ts +25 -0
- package/dist/react/icon/index.js +37 -0
- package/dist/react/iconprovider/index.d.ts +14 -0
- package/dist/react/iconprovider/index.js +26 -0
- package/dist/react/index.d.ts +6 -0
- package/dist/react/index.js +18 -0
- package/dist/react/text/index.d.ts +15 -0
- package/dist/react/text/index.js +27 -0
- package/dist/react/themeprovider/index.d.ts +14 -0
- package/dist/react/themeprovider/index.js +26 -0
- package/dist/utils/mixins/DisabledMixin.d.ts +7 -0
- package/dist/utils/mixins/DisabledMixin.js +20 -0
- package/dist/utils/mixins/TabIndexMixin.d.ts +7 -0
- package/dist/utils/mixins/TabIndexMixin.js +20 -0
- package/package.json +6 -3
package/dist/browser/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
"use strict";(()=>{var Pe=Object.defineProperty;var Re=Object.getOwnPropertyDescriptor;var l=(o,t,e,s)=>{for(var r=s>1?void 0:s?Re(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&Pe(t,e,r),r};var Y=globalThis,K=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pt=Symbol(),zt=new WeakMap,
|
2
|
-
\f\r]`,
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
1
|
+
"use strict";(()=>{var Pe=Object.defineProperty;var Re=Object.getOwnPropertyDescriptor;var l=(o,t,e,s)=>{for(var r=s>1?void 0:s?Re(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&Pe(t,e,r),r};var Y=globalThis,K=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pt=Symbol(),zt=new WeakMap,k=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==pt)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(K&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=zt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&zt.set(e,t))}return t}toString(){return this.cssText}},qt=o=>new k(typeof o=="string"?o:o+"",void 0,pt),u=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1],o[0]);return new k(e,o,pt)},dt=(o,t)=>{if(K)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},Q=K?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return qt(e)})(o):o;var{is:Me,defineProperty:Ue,getOwnPropertyDescriptor:Le,getOwnPropertyNames:Oe,getOwnPropertySymbols:He,getPrototypeOf:ke}=Object,J=globalThis,Ft=J.trustedTypes,Ie=Ft?Ft.emptyScript:"",De=J.reactiveElementPolyfillSupport,I=(o,t)=>o,D={toAttribute(o,t){switch(t){case Boolean:o=o?Ie: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}},Z=(o,t)=>!Me(o,t),jt={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:Z};Symbol.metadata??=Symbol("metadata"),J.litPropertyMetadata??=new WeakMap;var E=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&Ue(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=Le(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r?.call(this)},set(n){let h=r?.call(this);i.call(this,n),this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(I("elementProperties")))return;let t=ke(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(I("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(I("properties"))){let e=this.properties,s=[...Oe(e),...He(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(Q(r))}else t!==void 0&&e.push(Q(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s: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(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return dt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:D).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:D;this._$Em=r,this[r]=n.fromAttribute(e,i.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??Z)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(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(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s)i.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],i)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),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.forEach(e=>this._$EC(e,this[e])),this._$EU()}updated(t){}firstUpdated(t){}};E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[I("elementProperties")]=new Map,E[I("finalized")]=new Map,De?.({ReactiveElement:E}),(J.reactiveElementVersions??=[]).push("2.0.4");var ze={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:Z},qe=(o=ze,t,e)=>{let{kind:s,metadata:r}=e,i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),i.set(e.name,o),s==="accessor"){let{name:n}=e;return{set(h){let a=t.get.call(this);t.set.call(this,h),this.requestUpdate(n,a,o)},init(h){return h!==void 0&&this.P(n,void 0,o),h}}}if(s==="setter"){let{name:n}=e;return function(h){let a=this[n];t.call(this,h),this.requestUpdate(n,a,o)}}throw Error("Unsupported decorator location: "+s)};function c(o){return(t,e)=>typeof e=="object"?qe(o,t,e):((s,r,i)=>{let n=r.hasOwnProperty(i);return r.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(r,i):void 0})(o,t,e)}function mt(o){return c({...o,state:!0,attribute:!1})}var Fe={PREFIX:"mdc",SEPARATOR:"-"},je={NAMESPACE:Fe},ut=je;var Ve=o=>[ut.NAMESPACE.PREFIX,o].join(ut.NAMESPACE.SEPARATOR),y={constructTagName:Ve};var We="mds-theme-stable",Ge="-",Be=o=>[We,o].join(Ge),Xe={getFullQualifiedTheme:Be},ft=Xe;var et=y.constructTagName("themeprovider"),Vt={DARK_WEBEX:"darkWebex",LIGHT_WEBEX:"lightWebex"},Wt=Object.values(Vt).map(o=>ft.getFullQualifiedTheme(o)),gt={THEME:ft.getFullQualifiedTheme(Vt.DARK_WEBEX)};var _t=globalThis,st=_t.trustedTypes,Gt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,Jt="$lit$",$=`lit$${Math.random().toFixed(9).slice(2)}$`,Zt="?"+$,Ye=`<${Zt}>`,P=document,q=()=>P.createComment(""),F=o=>o===null||typeof o!="object"&&typeof o!="function",$t=Array.isArray,Ke=o=>$t(o)||typeof o?.[Symbol.iterator]=="function",yt=`[
|
2
|
+
\f\r]`,z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,Xt=/>/g,N=RegExp(`>|${yt}(?:([^\\s"'>=/]+)(${yt}*=${yt}*(?:[^
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Yt=/'/g,Kt=/"/g,te=/^(?:script|style|textarea|title)$/i,St=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),f=St(1),to=St(2),eo=St(3),A=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Qt=new WeakMap,w=P.createTreeWalker(P,129);function ee(o,t){if(!$t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gt!==void 0?Gt.createHTML(t):t}var Qe=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=z;for(let h=0;h<e;h++){let a=o[h],m,g,p=-1,b=0;for(;b<a.length&&(n.lastIndex=b,g=n.exec(a),g!==null);)b=n.lastIndex,n===z?g[1]==="!--"?n=Bt:g[1]!==void 0?n=Xt:g[2]!==void 0?(te.test(g[2])&&(r=RegExp("</"+g[2],"g")),n=N):g[3]!==void 0&&(n=N):n===N?g[0]===">"?(n=r??z,p=-1):g[1]===void 0?p=-2:(p=n.lastIndex-g[2].length,m=g[1],n=g[3]===void 0?N:g[3]==='"'?Kt:Yt):n===Kt||n===Yt?n=N:n===Bt||n===Xt?n=z:(n=N,r=void 0);let _=n===N&&o[h+1].startsWith("/>")?" ":"";i+=n===z?a+Ye:p>=0?(s.push(m),a.slice(0,p)+Jt+a.slice(p)+$+_):a+$+(p===-2?h:_)}return[ee(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},j=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,h=t.length-1,a=this.parts,[m,g]=Qe(t,e);if(this.el=o.createElement(m,s),w.currentNode=this.el.content,e===2||e===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(r=w.nextNode())!==null&&a.length<h;){if(r.nodeType===1){if(r.hasAttributes())for(let p of r.getAttributeNames())if(p.endsWith(Jt)){let b=g[n++],_=r.getAttribute(p).split($),X=/([.?@])?(.*)/.exec(b);a.push({type:1,index:i,name:X[2],strings:_,ctor:X[1]==="."?vt:X[1]==="?"?bt:X[1]==="@"?Et:U}),r.removeAttribute(p)}else p.startsWith($)&&(a.push({type:6,index:i}),r.removeAttribute(p));if(te.test(r.tagName)){let p=r.textContent.split($),b=p.length-1;if(b>0){r.textContent=st?st.emptyScript:"";for(let _=0;_<b;_++)r.append(p[_],q()),w.nextNode(),a.push({type:2,index:++i});r.append(p[b],q())}}}else if(r.nodeType===8)if(r.data===Zt)a.push({type:2,index:i});else{let p=-1;for(;(p=r.data.indexOf($,p+1))!==-1;)a.push({type:7,index:i}),p+=$.length-1}i++}}static createElement(t,e){let s=P.createElement("template");return s.innerHTML=t,s}};function M(o,t,e=o,s){if(t===A)return t;let r=s!==void 0?e.o?.[s]:e.l,i=F(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e.o??=[])[s]=r:e.l=r),r!==void 0&&(t=M(o,r._$AS(o,t.values),r,s)),t}var xt=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){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??P).importNode(e,!0);w.currentNode=r;let i=w.nextNode(),n=0,h=0,a=s[0];for(;a!==void 0;){if(n===a.index){let m;a.type===2?m=new V(i,i.nextSibling,this,t):a.type===1?m=new a.ctor(i,a.name,a.strings,this,t):a.type===6&&(m=new At(i,this,t)),this._$AV.push(m),a=s[++h]}n!==a?.index&&(i=w.nextNode(),n++)}return w.currentNode=P,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},V=class o{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this.v=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),F(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==A&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ke(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!==d&&F(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=j.createElement(ee(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new xt(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Qt.get(t.strings);return e===void 0&&Qt.set(t.strings,e=new j(t)),e}k(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(q()),this.O(q()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=M(this,t,e,0),n=!F(t)||t!==this._$AH&&t!==A,n&&(this._$AH=t);else{let h=t,a,m;for(t=i[0],a=0;a<i.length-1;a++)m=M(this,h[s+a],e,a),m===A&&(m=this._$AH[a]),n||=!F(m)||m!==this._$AH[a],m===d?t=d:t!==d&&(t+=(m??"")+i[a+1]),this._$AH[a]=m}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vt=class extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},bt=class extends U{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},Et=class extends U{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??d)===A)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},At=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}};var Je=_t.litHtmlPolyfillSupport;Je?.(j,V),(_t.litHtmlVersions??=[]).push("3.2.0");var se=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new V(t.insertBefore(q(),i),i,void 0,e??{})}return r._$AI(o),r};var S=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=se(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return A}};S._$litElement$=!0,S.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:S});var Ze=globalThis.litElementPolyfillSupport;Ze?.({LitElement:S});(globalThis.litElementVersions??=[]).push("4.1.0");var Tt=class extends S{static register(t){customElements.get(t)||customElements.define(t,this)}},oe=Tt;var x=oe;var T=class extends Event{constructor(t,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=s??!1}};var L=class{constructor(t,e,s,r){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(i,n)=>{this.unsubscribe&&(this.unsubscribe!==n&&(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,n)),this.unsubscribe=n},this.host=t,e.context!==void 0){let i=e;this.context=i.context,this.callback=i.callback,this.subscribe=i.subscribe??!1}else this.context=e,this.callback=s,this.subscribe=r??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new T(this.context,this.t,this.subscribe))}};var ot=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let s=e||!Object.is(t,this.o);this.o=t,s&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},t!==void 0&&(this.value=t)}addCallback(t,e,s){if(!s)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:r}=this.subscriptions.get(t);t(this.value,r)}clearCallbacks(){this.subscriptions.clear()}};var Ct=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},O=class extends ot{constructor(t,e,s){super(e.context!==void 0?e.initialValue:s),this.onContextRequest=r=>{let i=r.composedPath()[0];r.context===this.context&&i!==this.host&&(r.stopPropagation(),this.addCallback(r.callback,i,r.subscribe))},this.onProviderRequest=r=>{let i=r.composedPath()[0];if(r.context!==this.context||i===this.host)return;let n=new Set;for(let[h,{consumerHost:a}]of this.subscriptions)n.has(h)||(n.add(h),a.dispatchEvent(new T(this.context,h,!0)));r.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Ct(this.context))}};var ts=u`
|
4
4
|
:host {
|
5
5
|
border: 0;
|
6
6
|
display: block;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
padding: 0;
|
10
10
|
width: 100%;
|
11
11
|
}
|
12
|
-
`,
|
12
|
+
`,ie=ts;var Nt=class extends x{constructor({context:t,initialValue:e}){super(),this.context=new O(this,{context:t,initialValue:e})}static{this.styles=ie}render(){return this.updateContext(),f`<slot></slot>`}},ne=Nt;var W=ne;var wt=class{static{this.context=et}constructor(t){this.theme=t}},rt=wt;var es=u`
|
13
13
|
:host {
|
14
14
|
--mdc-themeprovider-font-family: "Momentum";
|
15
15
|
--mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
|
@@ -17,7 +17,7 @@
|
|
17
17
|
font-family: var(--mdc-themeprovider-font-family);
|
18
18
|
color: var(--mdc-themeprovider-color-default);
|
19
19
|
}
|
20
|
-
`,ae=es;var G=class extends
|
20
|
+
`,ae=es;var G=class extends W{constructor(){super({context:rt.context,initialValue:new rt(gt.THEME)});this.themes=Wt.join(" ");this.theme=gt.THEME}static get Context(){return rt.context}updated(e){super.updated(e),e.has("theme")&&this.updateActiveThemeClass()}updateContext(){let e=!1;this.context.value.theme!==this.theme&&(this.context.value.theme=this.theme,e=!0),e&&this.context.updateObservers()}updateActiveThemeClass(){this.classList.remove(...this.themes.split(" ")),this.classList.add(this.theme)}static{this.styles=ae}};l([c({type:String})],G.prototype,"themes",2),l([c({type:String})],G.prototype,"theme",2);var Pt=G;Pt.register(et);var ss=Pt;var it=u`
|
21
21
|
:host {
|
22
22
|
align-items: center;
|
23
23
|
display: flex;
|
@@ -31,7 +31,7 @@
|
|
31
31
|
width: 100%;
|
32
32
|
fill: currentColor;
|
33
33
|
}
|
34
|
-
`],le=os;var rs=o=>{let{host:t,context:e,subscribe:s}=o;return new L(t,{context:e,subscribe:s??!0})},is={consume:rs},ce=is;var nt=
|
34
|
+
`],le=os;var rs=o=>{let{host:t,context:e,subscribe:s}=o;return new L(t,{context:e,subscribe:s??!0})},is={consume:rs},ce=is;var nt=y.constructTagName("iconprovider"),he=["svg"],Rt={FILE_EXTENSION:"svg",LENGTH_UNIT:"em"};var Mt=class{static{this.context=nt}},at=Mt;var H=class extends W{constructor(){super({context:at.context,initialValue:new at});this.fileExtension=Rt.FILE_EXTENSION;this.lengthUnit=Rt.LENGTH_UNIT}static get Context(){return at.context}updateValuesInContext(){this.fileExtension&&he.includes(this.fileExtension)&&(this.context.value.fileExtension=this.fileExtension),this.context.value.url=this.url,this.context.value.lengthUnit=this.lengthUnit}updateContext(){let e=!1;(this.context.value.fileExtension!==this.fileExtension||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit)&&(this.updateValuesInContext(),e=!0),e&&this.context.updateObservers()}};l([c({type:String})],H.prototype,"url",2),l([c({type:String,attribute:"file-extension",reflect:!0})],H.prototype,"fileExtension",2),l([c({type:String,attribute:"length-unit",reflect:!0})],H.prototype,"lengthUnit",2);var B=H;var pe=async(o,t,e)=>fetch(`${o}/${t}.${e}`).then(s=>{if(!s.ok)throw new Error("There was a problem while fetching the icon!");return s.text()}).then(s=>new DOMParser().parseFromString(s,"text/html").body.children[0]);var de=y.constructTagName("icon"),Ut={NAME:void 0,SCALE:1};var v=class extends x{constructor(){super(...arguments);this.name=Ut.NAME;this.scale=Ut.SCALE;this.role=null;this.ariaLabel=null;this.iconProviderContext=ce.consume({host:this,context:B.Context})}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:e,url:s}=this.iconProviderContext.value;if(s&&e&&this.name){let r=await pe(s,this.name,e);this.iconData=r,this.setRoleOnIcon(),this.setAriaLabelOnIcon()}}}updateSize(){if(this.scale&&(this.lengthUnit||this.lengthUnitFromContext)){let e=`${this.scale}${this.lengthUnit||this.lengthUnitFromContext}`;this.style.width=e,this.style.height=e}}setRoleOnIcon(){this.role?this.iconData?.setAttribute("role",this.role):this.iconData?.removeAttribute("role")}setAriaLabelOnIcon(){this.ariaLabel?this.iconData?.setAttribute("aria-label",this.ariaLabel):this.iconData?.removeAttribute("aria-label")}updated(e){super.updated(e),e.has("name")&&this.getIconData().catch(s=>{console.error(s)}),e.has("role")&&this.setRoleOnIcon(),e.has("ariaLabel")&&this.setAriaLabelOnIcon(),(e.has("scale")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==this.iconProviderContext.value?.lengthUnit&&(this.lengthUnitFromContext=this.iconProviderContext.value?.lengthUnit,this.updateSize())}render(){return f` ${this.iconData} `}static{this.styles=le}};l([mt()],v.prototype,"iconData",2),l([mt()],v.prototype,"lengthUnitFromContext",2),l([c({type:String,reflect:!0})],v.prototype,"name",2),l([c({type:Number})],v.prototype,"scale",2),l([c({type:String,attribute:"length-unit"})],v.prototype,"lengthUnit",2),l([c({type:String})],v.prototype,"role",2),l([c({type:String,attribute:"aria-label"})],v.prototype,"ariaLabel",2);var Lt=v;Lt.register(de);var ns=Lt;B.register(nt);var as=B;var Ot=o=>o??d;var ls=u`
|
35
35
|
:host {
|
36
36
|
display: flex;
|
37
37
|
justify-content: center;
|
@@ -46,12 +46,12 @@
|
|
46
46
|
width: inherit;
|
47
47
|
object-fit: cover;
|
48
48
|
}
|
49
|
-
`,me=ls;var ue=
|
49
|
+
`,me=ls;var ue=y.constructTagName("avatar"),fe="rem",Ht={TYPE:"photo",SCALE:1.5};var R=class extends x{constructor(){super(...arguments);this.type=Ht.TYPE;this.scale=Ht.SCALE}updateSize(){if(this.scale){let e=`${this.scale}${fe}`;this.style.width=e,this.style.height=e}}updated(e){super.updated(e),e.has("scale")&&this.updateSize()}photoTemplate(){return f`
|
50
50
|
<img
|
51
51
|
src="${Ot(this.src)}"
|
52
52
|
alt="${Ot(this.alt)}"
|
53
53
|
/>
|
54
|
-
`}render(){let e;return this.type==="photo"?e=this.photoTemplate():e=f``,f`${e}`}static{this.styles=me}};l([c({type:String,reflect:!0})],R.prototype,"type",2),l([c({type:String})],R.prototype,"alt",2),l([c({type:String})],R.prototype,"src",2),l([c({type:Number})],R.prototype,"scale",2);var kt=R;kt.register(ue);var cs=kt;var ge={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ye=o=>(...t)=>({_$litDirective$:o,values:t}),lt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this.t=t,this._$AM=e,this.i=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var xe="important",hs=" !"+xe,ve=ye(class extends lt{constructor(o){if(super(o),o.type!==ge.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(hs);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?xe:""):e[s]=r}}return A}});var be=
|
54
|
+
`}render(){let e;return this.type==="photo"?e=this.photoTemplate():e=f``,f`${e}`}static{this.styles=me}};l([c({type:String,reflect:!0})],R.prototype,"type",2),l([c({type:String})],R.prototype,"alt",2),l([c({type:String})],R.prototype,"src",2),l([c({type:Number})],R.prototype,"scale",2);var kt=R;kt.register(ue);var cs=kt;var ge={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ye=o=>(...t)=>({_$litDirective$:o,values:t}),lt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this.t=t,this._$AM=e,this.i=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var xe="important",hs=" !"+xe,ve=ye(class extends lt{constructor(o){if(super(o),o.type!==ge.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(hs);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?xe:""):e[s]=r}}return A}});var be=y.constructTagName("badge"),Ee="warning-badge-filled",ct={TYPE:"regular",SCALE:1,LENGTH_UNIT:"rem"};var ps=[it,u`
|
55
55
|
:host {
|
56
56
|
--mdc-badge-icon-background-color: var(--mds-color-theme-background-accent-normal);
|
57
57
|
}
|
@@ -68,7 +68,7 @@
|
|
68
68
|
height: 80%;
|
69
69
|
width: 80%;
|
70
70
|
}
|
71
|
-
`],Ae=ps;var C=class extends
|
71
|
+
`],Ae=ps;var C=class extends x{constructor(){super(...arguments);this.type=ct.TYPE;this.scale=ct.SCALE;this.lengthUnit=ct.LENGTH_UNIT}updateSize(){}updated(e){super.updated(e),(e.has("scale")||e.has("lengthUnit"))&&this.updateSize()}iconTemplate(){return f`<div class="mdc-badge-icon-container">
|
72
72
|
<mdc-icon name="${this.iconName}" scale="100" length-unit="%"></mdc-icon>
|
73
73
|
</div>`}textTemplate(){return f`${this.text}`}warningTemplate(){return f` <mdc-icon name="${Ee}" class="mdc-badge-warning"></mdc-icon> `}render(){let e,s=`${this.scale}${this.lengthUnit}`,r={width:s,height:s};switch(this.type){case"regular":e=f``;break;case"icon":e=this.iconTemplate();break;case"text":e=this.textTemplate(),r={height:r.height};break;case"warning":e=this.warningTemplate();break;default:e=f``;break}return f`<div class="mdc-badge-container" style=${ve(r)}>${e}</div>`}static{this.styles=Ae}};l([c({type:String,reflect:!0})],C.prototype,"type",2),l([c({type:Number})],C.prototype,"scale",2),l([c({type:String,attribute:"length-unit"})],C.prototype,"lengthUnit",2),l([c({type:String,attribute:"icon-name"})],C.prototype,"iconName",2),l([c({type:String})],C.prototype,"text",2);var It=C;It.register(be);var ds=It;var _e=u`
|
74
74
|
:host([type="heading-1"]) {
|
@@ -171,167 +171,167 @@
|
|
171
171
|
display: block;
|
172
172
|
font-family: var(--mdc-text-font-family);
|
173
173
|
}
|
174
|
-
`,_e],$e=ms;var Se=o=>{let t=o.split("-");return{firstPart:t[0],secondPart:t[1]}},Te=o=>{let{firstPart:t,secondPart:e}=Se(o);return t==="heading"&&+e>0&&+e<7},Ce=o=>o?Te(o)?"heading":"paragraph":null,Ne=o=>{if(o&&Te(o)){let{secondPart:t}=Se(o);return t}return null};var ht=class extends
|
174
|
+
`,_e],$e=ms;var Se=o=>{let t=o.split("-");return{firstPart:t[0],secondPart:t[1]}},Te=o=>{let{firstPart:t,secondPart:e}=Se(o);return t==="heading"&&+e>0&&+e<7},Ce=o=>o?Te(o)?"heading":"paragraph":null,Ne=o=>{if(o&&Te(o)){let{secondPart:t}=Se(o);return t}return null};var ht=class extends x{handleTypeChanged(){this.role=Ce(this.type),this.ariaLevel=Ne(this.type)}updated(t){super.updated(t),t.has("type")&&this.handleTypeChanged()}render(){return f`<slot></slot>`}static{this.styles=$e}};l([c({attribute:"type",reflect:!0,type:String})],ht.prototype,"type",2);var Dt=ht;var we=y.constructTagName("text");Dt.register(we);var us=Dt;})();
|
175
175
|
/*! Bundled license information:
|
176
176
|
|
177
|
-
@lit/reactive-element/
|
177
|
+
@lit/reactive-element/decorators/custom-element.js:
|
178
178
|
(**
|
179
179
|
* @license
|
180
|
-
* Copyright
|
180
|
+
* Copyright 2017 Google LLC
|
181
181
|
* SPDX-License-Identifier: BSD-3-Clause
|
182
182
|
*)
|
183
183
|
|
184
|
-
@lit/reactive-element/
|
184
|
+
@lit/reactive-element/css-tag.js:
|
185
185
|
(**
|
186
186
|
* @license
|
187
|
-
* Copyright
|
187
|
+
* Copyright 2019 Google LLC
|
188
188
|
* SPDX-License-Identifier: BSD-3-Clause
|
189
189
|
*)
|
190
190
|
|
191
|
-
lit-
|
191
|
+
@lit/reactive-element/reactive-element.js:
|
192
192
|
(**
|
193
193
|
* @license
|
194
194
|
* Copyright 2017 Google LLC
|
195
195
|
* SPDX-License-Identifier: BSD-3-Clause
|
196
196
|
*)
|
197
197
|
|
198
|
-
lit-element/
|
198
|
+
@lit/reactive-element/decorators/property.js:
|
199
199
|
(**
|
200
200
|
* @license
|
201
201
|
* Copyright 2017 Google LLC
|
202
202
|
* SPDX-License-Identifier: BSD-3-Clause
|
203
203
|
*)
|
204
204
|
|
205
|
-
lit-
|
205
|
+
@lit/reactive-element/decorators/state.js:
|
206
206
|
(**
|
207
207
|
* @license
|
208
|
-
* Copyright
|
208
|
+
* Copyright 2017 Google LLC
|
209
209
|
* SPDX-License-Identifier: BSD-3-Clause
|
210
210
|
*)
|
211
211
|
|
212
|
-
@lit/
|
212
|
+
@lit/reactive-element/decorators/event-options.js:
|
213
213
|
(**
|
214
214
|
* @license
|
215
|
-
* Copyright
|
215
|
+
* Copyright 2017 Google LLC
|
216
216
|
* SPDX-License-Identifier: BSD-3-Clause
|
217
217
|
*)
|
218
218
|
|
219
|
-
@lit/
|
219
|
+
@lit/reactive-element/decorators/base.js:
|
220
220
|
(**
|
221
221
|
* @license
|
222
|
-
* Copyright
|
222
|
+
* Copyright 2017 Google LLC
|
223
223
|
* SPDX-License-Identifier: BSD-3-Clause
|
224
224
|
*)
|
225
225
|
|
226
|
-
@lit/
|
226
|
+
@lit/reactive-element/decorators/query.js:
|
227
227
|
(**
|
228
228
|
* @license
|
229
|
-
* Copyright
|
229
|
+
* Copyright 2017 Google LLC
|
230
230
|
* SPDX-License-Identifier: BSD-3-Clause
|
231
231
|
*)
|
232
232
|
|
233
|
-
@lit/
|
233
|
+
@lit/reactive-element/decorators/query-all.js:
|
234
234
|
(**
|
235
235
|
* @license
|
236
|
-
* Copyright
|
236
|
+
* Copyright 2017 Google LLC
|
237
237
|
* SPDX-License-Identifier: BSD-3-Clause
|
238
238
|
*)
|
239
239
|
|
240
|
-
@lit/
|
240
|
+
@lit/reactive-element/decorators/query-async.js:
|
241
241
|
(**
|
242
242
|
* @license
|
243
|
-
* Copyright
|
243
|
+
* Copyright 2017 Google LLC
|
244
244
|
* SPDX-License-Identifier: BSD-3-Clause
|
245
245
|
*)
|
246
246
|
|
247
|
-
@lit/
|
247
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
248
248
|
(**
|
249
249
|
* @license
|
250
250
|
* Copyright 2021 Google LLC
|
251
251
|
* SPDX-License-Identifier: BSD-3-Clause
|
252
252
|
*)
|
253
253
|
|
254
|
-
@lit/
|
254
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
255
255
|
(**
|
256
256
|
* @license
|
257
257
|
* Copyright 2017 Google LLC
|
258
258
|
* SPDX-License-Identifier: BSD-3-Clause
|
259
259
|
*)
|
260
260
|
|
261
|
-
|
261
|
+
lit-html/lit-html.js:
|
262
262
|
(**
|
263
263
|
* @license
|
264
|
-
* Copyright
|
264
|
+
* Copyright 2017 Google LLC
|
265
265
|
* SPDX-License-Identifier: BSD-3-Clause
|
266
266
|
*)
|
267
267
|
|
268
|
-
|
268
|
+
lit-element/lit-element.js:
|
269
269
|
(**
|
270
270
|
* @license
|
271
271
|
* Copyright 2017 Google LLC
|
272
272
|
* SPDX-License-Identifier: BSD-3-Clause
|
273
273
|
*)
|
274
274
|
|
275
|
-
|
275
|
+
lit-html/is-server.js:
|
276
276
|
(**
|
277
277
|
* @license
|
278
|
-
* Copyright
|
278
|
+
* Copyright 2022 Google LLC
|
279
279
|
* SPDX-License-Identifier: BSD-3-Clause
|
280
280
|
*)
|
281
281
|
|
282
|
-
@lit/
|
282
|
+
@lit/context/lib/context-request-event.js:
|
283
283
|
(**
|
284
284
|
* @license
|
285
|
-
* Copyright
|
285
|
+
* Copyright 2021 Google LLC
|
286
286
|
* SPDX-License-Identifier: BSD-3-Clause
|
287
287
|
*)
|
288
288
|
|
289
|
-
@lit/
|
289
|
+
@lit/context/lib/create-context.js:
|
290
290
|
(**
|
291
291
|
* @license
|
292
|
-
* Copyright
|
292
|
+
* Copyright 2021 Google LLC
|
293
293
|
* SPDX-License-Identifier: BSD-3-Clause
|
294
294
|
*)
|
295
295
|
|
296
|
-
@lit/
|
296
|
+
@lit/context/lib/controllers/context-consumer.js:
|
297
297
|
(**
|
298
298
|
* @license
|
299
|
-
* Copyright
|
299
|
+
* Copyright 2021 Google LLC
|
300
300
|
* SPDX-License-Identifier: BSD-3-Clause
|
301
301
|
*)
|
302
302
|
|
303
|
-
@lit/
|
303
|
+
@lit/context/lib/value-notifier.js:
|
304
304
|
(**
|
305
305
|
* @license
|
306
|
-
* Copyright
|
306
|
+
* Copyright 2021 Google LLC
|
307
307
|
* SPDX-License-Identifier: BSD-3-Clause
|
308
308
|
*)
|
309
309
|
|
310
|
-
@lit/
|
310
|
+
@lit/context/lib/controllers/context-provider.js:
|
311
311
|
(**
|
312
312
|
* @license
|
313
|
-
* Copyright
|
313
|
+
* Copyright 2021 Google LLC
|
314
314
|
* SPDX-License-Identifier: BSD-3-Clause
|
315
315
|
*)
|
316
316
|
|
317
|
-
@lit/
|
317
|
+
@lit/context/lib/context-root.js:
|
318
318
|
(**
|
319
319
|
* @license
|
320
|
-
* Copyright
|
320
|
+
* Copyright 2021 Google LLC
|
321
321
|
* SPDX-License-Identifier: BSD-3-Clause
|
322
322
|
*)
|
323
323
|
|
324
|
-
@lit/
|
324
|
+
@lit/context/lib/decorators/provide.js:
|
325
325
|
(**
|
326
326
|
* @license
|
327
|
-
* Copyright
|
327
|
+
* Copyright 2017 Google LLC
|
328
328
|
* SPDX-License-Identifier: BSD-3-Clause
|
329
329
|
*)
|
330
330
|
|
331
|
-
@lit/
|
331
|
+
@lit/context/lib/decorators/consume.js:
|
332
332
|
(**
|
333
333
|
* @license
|
334
|
-
* Copyright
|
334
|
+
* Copyright 2022 Google LLC
|
335
335
|
* SPDX-License-Identifier: BSD-3-Clause
|
336
336
|
*)
|
337
337
|
|