@cas-smartdesign/list-item 7.2.3 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs/doc.css +1 -1
- package/dist/docs/doc.mjs +53 -56
- package/dist/list-item-with-externals.js +17 -47
- package/dist/list-item-with-externals.js.map +4 -4
- package/dist/list-item.mjs +85 -78
- package/dist/list-item.mjs.map +1 -1
- package/npm-third-party-licenses.json +52 -47
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var window;(window||={})["@cas-smartdesign/list-item"]=(()=>{var
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),_t=/'/g,yt=/"/g,wt=/^(?:script|style|textarea|title)$/i,xt=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),N=xt(1),se=xt(2),_=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),At=new WeakMap,S=E.createTreeWalker(E,129,null,!1);function Ct(s,t){if(!Array.isArray(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return $t!==void 0?$t.createHTML(t):t}var Vt=(s,t)=>{let e=s.length-1,i=[],o,r=t===2?"<svg>":"",n=k;for(let c=0;c<e;c++){let l=s[c],a,d,p=-1,u=0;for(;u<l.length&&(n.lastIndex=u,d=n.exec(l),d!==null);)u=n.lastIndex,n===k?d[1]==="!--"?n=mt:d[1]!==void 0?n=gt:d[2]!==void 0?(wt.test(d[2])&&(o=RegExp("</"+d[2],"g")),n=b):d[3]!==void 0&&(n=b):n===b?d[0]===">"?(n=o??k,p=-1):d[1]===void 0?p=-2:(p=n.lastIndex-d[2].length,a=d[1],n=d[3]===void 0?b:d[3]==='"'?yt:_t):n===yt||n===_t?n=b:n===mt||n===gt?n=k:(n=b,o=void 0);let m=n===b&&s[c+1].startsWith("/>")?" ":"";r+=n===k?l+zt:p>=0?(i.push(a),l.slice(0,p)+st+l.slice(p)+y+m):l+y+(p===-2?(i.push(void 0),c):m)}return[Ct(s,r+(s[e]||"<?>")+(t===2?"</svg>":"")),i]},L=class s{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0,c=t.length-1,l=this.parts,[a,d]=Vt(t,e);if(this.el=s.createElement(a,i),S.currentNode=this.el.content,e===2){let p=this.el.content,u=p.firstChild;u.remove(),p.append(...u.childNodes)}for(;(o=S.nextNode())!==null&&l.length<c;){if(o.nodeType===1){if(o.hasAttributes()){let p=[];for(let u of o.getAttributeNames())if(u.endsWith(st)||u.startsWith(y)){let m=d[n++];if(p.push(u),m!==void 0){let Lt=o.getAttribute(m.toLowerCase()+st).split(y),I=/([.?@])?(.*)/.exec(m);l.push({type:1,index:r,name:I[2],strings:Lt,ctor:I[1]==="."?nt:I[1]==="?"?rt:I[1]==="@"?lt:P})}else l.push({type:6,index:r})}for(let u of p)o.removeAttribute(u)}if(wt.test(o.tagName)){let p=o.textContent.split(y),u=p.length-1;if(u>0){o.textContent=x?x.emptyScript:"";for(let m=0;m<u;m++)o.append(p[m],U()),S.nextNode(),l.push({type:2,index:++r});o.append(p[u],U())}}}else if(o.nodeType===8)if(o.data===St)l.push({type:2,index:r});else{let p=-1;for(;(p=o.data.indexOf(y,p+1))!==-1;)l.push({type:7,index:r}),p+=y.length-1}r++}}static createElement(t,e){let i=E.createElement("template");return i.innerHTML=t,i}};function C(s,t,e=s,i){var o,r,n,c;if(t===_)return t;let l=i!==void 0?(o=e._$Co)===null||o===void 0?void 0:o[i]:e._$Cl,a=H(t)?void 0:t._$litDirective$;return l?.constructor!==a&&((r=l?._$AO)===null||r===void 0||r.call(l,!1),a===void 0?l=void 0:(l=new a(s),l._$AT(s,e,i)),i!==void 0?((n=(c=e)._$Co)!==null&&n!==void 0?n:c._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=C(s,l._$AS(s,t.values),l,i)),t}var ot=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 e;let{el:{content:i},parts:o}=this._$AD,r=((e=t?.creationScope)!==null&&e!==void 0?e:E).importNode(i,!0);S.currentNode=r;let n=S.nextNode(),c=0,l=0,a=o[0];for(;a!==void 0;){if(c===a.index){let d;a.type===2?d=new M(n,n.nextSibling,this,t):a.type===1?d=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(d=new at(n,this,t)),this._$AV.push(d),a=o[++l]}c!==a?.index&&(n=S.nextNode(),c++)}return S.currentNode=E,r}v(t){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},M=class s{constructor(t,e,i,o){var r;this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=(r=o?.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}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=C(this,t,e),H(t)?t===h||t==null||t===""?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==_&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):jt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==h&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(E.createTextNode(t)),this._$AH=t}g(t){var e;let{values:i,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=L.createElement(Ct(o.h,o.h[0]),this.options)),o);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.v(i);else{let n=new ot(r,this),c=n.u(this.options);n.v(i),this.$(c),this._$AH=n}}_$AC(t){let e=At.get(t.strings);return e===void 0&&At.set(t.strings,e=new L(t)),e}T(t){Et(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,o=0;for(let r of t)o===e.length?e.push(i=new s(this.k(U()),this.k(U()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}},P=class{constructor(t,e,i,o,r){this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=h}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){let r=this.strings,n=!1;if(r===void 0)t=C(this,t,e,0),n=!H(t)||t!==this._$AH&&t!==_,n&&(this._$AH=t);else{let c=t,l,a;for(t=r[0],l=0;l<r.length-1;l++)a=C(this,c[i+l],e,l),a===_&&(a=this._$AH[l]),n||(n=!H(a)||a!==this._$AH[l]),a===h?t=h:t!==h&&(t+=(a??"")+r[l+1]),this._$AH[l]=a}n&&!o&&this.j(t)}j(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},nt=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===h?void 0:t}},Wt=x?x.emptyScript:"",rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){t&&t!==h?this.element.setAttribute(this.name,Wt):this.element.removeAttribute(this.name)}},lt=class extends P{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=(i=C(this,t,e,0))!==null&&i!==void 0?i:h)===_)return;let o=this._$AH,r=t===h&&o!==h||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==h&&(o===h||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){C(this,t)}};var bt=W.litHtmlPolyfillSupport;bt?.(L,M),((et=W.litHtmlVersions)!==null&&et!==void 0?et:W.litHtmlVersions=[]).push("2.8.0");var Pt=(s,t,e)=>{var i,o;let r=(i=e?.renderBefore)!==null&&i!==void 0?i:t,n=r._$litPart$;if(n===void 0){let c=(o=e?.renderBefore)!==null&&o!==void 0?o:null;r._$litPart$=n=new M(t.insertBefore(U(),c),c,void 0,e??{})}return n._$AI(s),n};var ct,ht;var A=class extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;let i=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=i.firstChild),i}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Pt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return _}};A.finalized=!0,A._$litElement$=!0,(ct=globalThis.litElementHydrateSupport)===null||ct===void 0||ct.call(globalThis,{LitElement:A});var Tt=globalThis.litElementPolyfillSupport;Tt?.({LitElement:A});((ht=globalThis.litElementVersions)!==null&&ht!==void 0?ht:globalThis.litElementVersions=[]).push("3.3.3");var qt=(s,t)=>t.kind==="method"&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(e){e.createProperty(t.key,s)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){typeof t.initializer=="function"&&(this[t.key]=t.initializer.call(this))},finisher(e){e.createProperty(t.key,s)}},Kt=(s,t,e)=>{t.constructor.createProperty(e,s)};function v(s){return(t,e)=>e!==void 0?Kt(s,t,e):qt(s,t)}var kt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ut=s=>(...t)=>({_$litDirective$:s,values:t}),q=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var R=class extends q{constructor(t){if(super(t),this.et=h,t.type!==kt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===h||t==null)return this.ft=void 0,this.et=t;if(t===_)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;let e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}};R.directiveName="unsafeHTML",R.resultType=1;var Ht=Ut(R);var O=s=>s??h;var K=class{static showImage(t,e,i,o){let r;if(o||!(t instanceof HTMLImageElement)?r=n=>t.style.backgroundImage=this.prepareSrc(n):r=n=>t.src=n,r(i),e){let n=()=>{r(e)},c=new Image;c.addEventListener("load",n),c.src=e,c.complete&&(c.removeEventListener("load",n),n())}}static prepareSrc(t){return t?t.startsWith("url")?t:`url("${t}")`:null}};var Gt=':host{display:block;contain:strict;height:50px}:host([selected]){background-color:#d3e6fa}:host(:not([selected]):hover),:host(:not([selected])[focused]){background-color:#e7f1fa}@media (forced-colors: active){:host([selected]){outline:4px solid}:host(:not([selected]):hover){outline:4px dotted}:host(:not([selected])[focused]){outline:4px dashed}}:host([enable-line-clamp]) .labels>:only-child{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;word-wrap:break-word}.container{display:flex;height:100%;box-sizing:border-box}.container .level-indicator{width:7px;height:100%}.container .level-indicator.level-0{background-color:#a0c3ef}.container .level-indicator.level-1{background-color:#e7c374}.container .level-indicator.level-2{background-color:#bfd596}.container .level-indicator.level-3{background-color:#fd998d}.container .level-indicator.level-4{background-color:#c6e8f5}.container .level-indicator.level-5{background-color:#fde3a4}.container .level-indicator.level-6{background-color:#dcbfe0}.side-content{display:flex;align-items:center;flex-grow:0}.labels{display:flex;flex-direction:column;justify-content:center;flex:1 1 0px;height:100%;line-height:normal;overflow:hidden;padding:var(--sd-list-item-label-content-padding, 0 8px)}.caption,.description{width:100%;font-family:var(--sd-list-item-font-family, "Segoe UI", "Lucida Sans", Arial, sans-serif);font-style:normal;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-webkit-user-select:none;user-select:none;text-decoration:var(--sd-list-item-text-decoration, inherit)}.caption em,.description em{font-weight:bolder}.caption{font-size:var(--sd-list-item-caption-font-size, 16px);color:var(--sd-list-item-caption-text-color, #111);font-weight:var(--sd-list-item-caption-font-weight, normal)}.description{font-size:var(--sd-list-item-description-font-size, 13px);color:var(--sd-list-item-description-text-color, #767676);font-weight:var(--sd-list-item-description-font-weight, normal)}.icon-wrapper{width:var(--sd-list-item-icon-wrapper-width, 45px);height:100%;display:flex;align-items:center;justify-content:center}.icon-wrapper .icon{min-height:var(--sd-list-item-icon-size, 24px);min-width:var(--sd-list-item-icon-size, 24px);background-repeat:no-repeat;background-position:center;background-size:cover}',Ft=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,$=(s,t,e,i)=>{for(var o=i>1?void 0:i?Jt(t,e):t,r=s.length-1,n;r>=0;r--)(n=s[r])&&(o=(i?n(t,e,o):n(o))||o);return i&&o&&Ft(t,e,o),o},w,f=(w=class extends A{constructor(){super(...arguments),this.contentMode="text",this.role="option"}static get styles(){return[J`
|
|
4
|
-
${z(
|
|
5
|
-
`]}render(){return
|
|
1
|
+
var window;(window||={})["@cas-smartdesign/list-item"]=(()=>{var F=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var Pt=Object.getOwnPropertyNames;var Tt=Object.prototype.hasOwnProperty;var Ut=(s,t)=>{for(var e in t)F(s,e,{get:t[e],enumerable:!0})},Mt=(s,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Pt(t))!Tt.call(s,o)&&o!==e&&F(s,o,{get:()=>t[o],enumerable:!(i=Ct(t,o))||i.enumerable});return s};var kt=s=>Mt(F({},"__esModule",{value:!0}),s);var Yt={};Ut(Yt,{default:()=>lt,generator:()=>Jt});var B=globalThis,j=B.ShadowRoot&&(B.ShadyCSS===void 0||B.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Z=Symbol(),ct=new WeakMap,P=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==Z)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(j&&t===void 0){let i=e!==void 0&&e.length===1;i&&(t=ct.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&ct.set(e,t))}return t}toString(){return this.cssText}},z=s=>new P(typeof s=="string"?s:s+"",void 0,Z),J=(s,...t)=>{let e=s.length===1?s[0]:t.reduce(((i,o,r)=>i+(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.")})(o)+s[r+1]),s[0]);return new P(e,s,Z)},ht=(s,t)=>{if(j)s.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let i=document.createElement("style"),o=B.litNonce;o!==void 0&&i.setAttribute("nonce",o),i.textContent=e.cssText,s.appendChild(i)}},Y=j?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let i of t.cssRules)e+=i.cssText;return z(e)})(s):s;var{is:Ot,defineProperty:Ht,getOwnPropertyDescriptor:Lt,getOwnPropertyNames:Rt,getOwnPropertySymbols:Nt,getPrototypeOf:Dt}=Object,W=globalThis,dt=W.trustedTypes,It=dt?dt.emptyScript:"",Bt=W.reactiveElementPolyfillSupport,T=(s,t)=>s,U={toAttribute(s,t){switch(t){case Boolean:s=s?It:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},q=(s,t)=>!Ot(s,t),pt={attribute:!0,type:String,converter:U,reflect:!1,useDefault:!1,hasChanged:q};Symbol.metadata??=Symbol("metadata"),W.litPropertyMetadata??=new WeakMap;var g=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=pt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let i=Symbol(),o=this.getPropertyDescriptor(t,i,e);o!==void 0&&Ht(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){let{get:o,set:r}=Lt(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:o,set(n){let l=o?.call(this);r?.call(this,n),this.requestUpdate(t,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??pt}static _$Ei(){if(this.hasOwnProperty(T("elementProperties")))return;let t=Dt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(T("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(T("properties"))){let e=this.properties,i=[...Rt(e),...Nt(e)];for(let o of i)this.createProperty(o,e[o])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[i,o]of e)this.elementProperties.set(i,o)}this._$Eh=new Map;for(let[e,i]of this.elementProperties){let o=this._$Eu(e,i);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let i=new Set(t.flat(1/0).reverse());for(let o of i)e.unshift(Y(o))}else t!==void 0&&e.push(Y(t));return e}static _$Eu(t,e){let i=e.attribute;return i===!1?void 0:typeof i=="string"?i: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 i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(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,i){this._$AK(t,i)}_$ET(t,e){let i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(o!==void 0&&i.reflect===!0){let r=(i.converter?.toAttribute!==void 0?i.converter:U).toAttribute(e,i.type);this._$Em=t,r==null?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null}}_$AK(t,e){let i=this.constructor,o=i._$Eh.get(t);if(o!==void 0&&this._$Em!==o){let r=i.getPropertyOptions(o),n=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:U;this._$Em=o;let l=n.fromAttribute(e,r.type);this[o]=l??this._$Ej?.get(o)??l,this._$Em=null}}requestUpdate(t,e,i){if(t!==void 0){let o=this.constructor,r=this[t];if(i??=o.getPropertyOptions(t),!((i.hasChanged??q)(r,e)||i.useDefault&&i.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,i))))return;this.C(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:i,reflect:o,wrapped:r},n){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),r!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||i||(e=void 0),this._$AL.set(t,e)),o===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){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[o,r]of this._$Ep)this[o]=r;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[o,r]of i){let{wrapped:n}=r,l=this[o];n!==!0||this._$AL.has(o)||l===void 0||this.C(o,void 0,r,l)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((i=>i.hostUpdate?.())),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}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)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};g.elementStyles=[],g.shadowRootOptions={mode:"open"},g[T("elementProperties")]=new Map,g[T("finalized")]=new Map,Bt?.({ReactiveElement:g}),(W.reactiveElementVersions??=[]).push("2.1.1");var ot=globalThis,V=ot.trustedTypes,ut=V?V.createPolicy("lit-html",{createHTML:s=>s}):void 0,_t="$lit$",y=`lit$${Math.random().toFixed(9).slice(2)}$`,yt="?"+y,jt=`<${yt}>`,E=document,k=()=>E.createComment(""),O=s=>s===null||typeof s!="object"&&typeof s!="function",rt=Array.isArray,zt=s=>rt(s)||typeof s?.[Symbol.iterator]=="function",Q=`[
|
|
2
|
+
\f\r]`,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ft=/-->/g,mt=/>/g,b=RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),$t=/'/g,gt=/"/g,At=/^(?:script|style|textarea|title)$/i,nt=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),R=nt(1),se=nt(2),oe=nt(3),v=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),vt=new WeakMap,S=E.createTreeWalker(E,129);function bt(s,t){if(!rt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return ut!==void 0?ut.createHTML(t):t}var Wt=(s,t)=>{let e=s.length-1,i=[],o,r=t===2?"<svg>":t===3?"<math>":"",n=M;for(let l=0;l<e;l++){let a=s[l],d,p,h=-1,$=0;for(;$<a.length&&(n.lastIndex=$,p=n.exec(a),p!==null);)$=n.lastIndex,n===M?p[1]==="!--"?n=ft:p[1]!==void 0?n=mt:p[2]!==void 0?(At.test(p[2])&&(o=RegExp("</"+p[2],"g")),n=b):p[3]!==void 0&&(n=b):n===b?p[0]===">"?(n=o??M,h=-1):p[1]===void 0?h=-2:(h=n.lastIndex-p[2].length,d=p[1],n=p[3]===void 0?b:p[3]==='"'?gt:$t):n===gt||n===$t?n=b:n===ft||n===mt?n=M:(n=b,o=void 0);let _=n===b&&s[l+1].startsWith("/>")?" ":"";r+=n===M?a+jt:h>=0?(i.push(d),a.slice(0,h)+_t+a.slice(h)+y+_):a+y+(h===-2?l:_)}return[bt(s,r+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},H=class s{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0,l=t.length-1,a=this.parts,[d,p]=Wt(t,e);if(this.el=s.createElement(d,i),S.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(o=S.nextNode())!==null&&a.length<l;){if(o.nodeType===1){if(o.hasAttributes())for(let h of o.getAttributeNames())if(h.endsWith(_t)){let $=p[n++],_=o.getAttribute(h).split(y),I=/([.?@])?(.*)/.exec($);a.push({type:1,index:r,name:I[2],strings:_,ctor:I[1]==="."?tt:I[1]==="?"?et:I[1]==="@"?it:C}),o.removeAttribute(h)}else h.startsWith(y)&&(a.push({type:6,index:r}),o.removeAttribute(h));if(At.test(o.tagName)){let h=o.textContent.split(y),$=h.length-1;if($>0){o.textContent=V?V.emptyScript:"";for(let _=0;_<$;_++)o.append(h[_],k()),S.nextNode(),a.push({type:2,index:++r});o.append(h[$],k())}}}else if(o.nodeType===8)if(o.data===yt)a.push({type:2,index:r});else{let h=-1;for(;(h=o.data.indexOf(y,h+1))!==-1;)a.push({type:7,index:r}),h+=y.length-1}r++}}static createElement(t,e){let i=E.createElement("template");return i.innerHTML=t,i}};function x(s,t,e=s,i){if(t===v)return t;let o=i!==void 0?e._$Co?.[i]:e._$Cl,r=O(t)?void 0:t._$litDirective$;return o?.constructor!==r&&(o?._$AO?.(!1),r===void 0?o=void 0:(o=new r(s),o._$AT(s,e,i)),i!==void 0?(e._$Co??=[])[i]=o:e._$Cl=o),o!==void 0&&(t=x(s,o._$AS(s,t.values),o,i)),t}var X=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:i}=this._$AD,o=(t?.creationScope??E).importNode(e,!0);S.currentNode=o;let r=S.nextNode(),n=0,l=0,a=i[0];for(;a!==void 0;){if(n===a.index){let d;a.type===2?d=new L(r,r.nextSibling,this,t):a.type===1?d=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(d=new st(r,this,t)),this._$AV.push(d),a=i[++l]}n!==a?.index&&(r=S.nextNode(),n++)}return S.currentNode=E,o}p(t){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},L=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.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=x(this,t,e),O(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==v&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):zt(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!==c&&O(this._$AH)?this._$AA.nextSibling.data=t:this.T(E.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:i}=t,o=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=H.createElement(bt(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{let r=new X(o,this),n=r.u(this.options);r.p(e),this.T(n),this._$AH=r}}_$AC(t){let e=vt.get(t.strings);return e===void 0&&vt.set(t.strings,e=new H(t)),e}k(t){rt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,o=0;for(let r of t)o===e.length?e.push(i=new s(this.O(k()),this.O(k()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},C=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=c}_$AI(t,e=this,i,o){let r=this.strings,n=!1;if(r===void 0)t=x(this,t,e,0),n=!O(t)||t!==this._$AH&&t!==v,n&&(this._$AH=t);else{let l=t,a,d;for(t=r[0],a=0;a<r.length-1;a++)d=x(this,l[i+a],e,a),d===v&&(d=this._$AH[a]),n||=!O(d)||d!==this._$AH[a],d===c?t=c:t!==c&&(t+=(d??"")+r[a+1]),this._$AH[a]=d}n&&!o&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends C{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},et=class extends C{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},it=class extends C{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=x(this,t,e,0)??c)===v)return;let i=this._$AH,o=t===c&&i!==c||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==c&&(i===c||o);o&&this.element.removeEventListener(this.name,this,i),r&&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)}},st=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){x(this,t)}};var qt=ot.litHtmlPolyfillSupport;qt?.(H,L),(ot.litHtmlVersions??=[]).push("3.3.1");var St=(s,t,e)=>{let i=e?.renderBefore??t,o=i._$litPart$;if(o===void 0){let r=e?.renderBefore??null;i._$litPart$=o=new L(t.insertBefore(k(),r),r,void 0,e??{})}return o._$AI(s),o};var at=globalThis,A=class extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=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._$Do=St(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return v}};A._$litElement$=!0,A.finalized=!0,at.litElementHydrateSupport?.({LitElement:A});var Vt=at.litElementPolyfillSupport;Vt?.({LitElement:A});(at.litElementVersions??=[]).push("4.2.1");var Gt={attribute:!0,type:String,converter:U,reflect:!1,hasChanged:q},Kt=(s=Gt,t,e)=>{let{kind:i,metadata:o}=e,r=globalThis.litPropertyMetadata.get(o);if(r===void 0&&globalThis.litPropertyMetadata.set(o,r=new Map),i==="setter"&&((s=Object.create(s)).wrapped=!0),r.set(e.name,s),i==="accessor"){let{name:n}=e;return{set(l){let a=t.get.call(this);t.set.call(this,l),this.requestUpdate(n,a,s)},init(l){return l!==void 0&&this.C(n,void 0,s,l),l}}}if(i==="setter"){let{name:n}=e;return function(l){let a=this[n];t.call(this,l),this.requestUpdate(n,a,s)}}throw Error("Unsupported decorator location: "+i)};function u(s){return(t,e)=>typeof e=="object"?Kt(s,t,e):((i,o,r)=>{let n=o.hasOwnProperty(r);return o.constructor.createProperty(r,i),n?Object.getOwnPropertyDescriptor(o,r):void 0})(s,t,e)}var Et={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},wt=s=>(...t)=>({_$litDirective$:s,values:t}),G=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var N=class extends G{constructor(t){if(super(t),this.it=c,t.type!==Et.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===c||t==null)return this._t=void 0,this.it=t;if(t===v)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};N.directiveName="unsafeHTML",N.resultType=1;var xt=wt(N);var D=s=>s??c;var K=class{static showImage(t,e,i,o){let r;if(o||!(t instanceof HTMLImageElement)?r=n=>t.style.backgroundImage=this.prepareSrc(n):r=n=>t.src=n,r(i),e){let n=()=>{r(e)},l=new Image;l.addEventListener("load",n),l.src=e,l.complete&&(l.removeEventListener("load",n),n())}}static prepareSrc(t){return t?t.startsWith("url")?t:`url("${t}")`:null}};var Ft=':host{display:block;contain:strict;height:50px}:host([selected]){background-color:#d3e6fa}:host(:not([selected]):hover),:host(:not([selected])[focused]){background-color:#e7f1fa}@media (forced-colors: active){:host([selected]){outline:4px solid}:host(:not([selected]):hover){outline:4px dotted}:host(:not([selected])[focused]){outline:4px dashed}}:host([enable-line-clamp]) .labels>:only-child{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow-wrap:break-word}.container{display:flex;height:100%;box-sizing:border-box}.container .level-indicator{width:7px;height:100%}.container .level-indicator.level-0{background-color:#a0c3ef}.container .level-indicator.level-1{background-color:#e7c374}.container .level-indicator.level-2{background-color:#bfd596}.container .level-indicator.level-3{background-color:#fd998d}.container .level-indicator.level-4{background-color:#c6e8f5}.container .level-indicator.level-5{background-color:#fde3a4}.container .level-indicator.level-6{background-color:#dcbfe0}.side-content{display:flex;align-items:center;flex-grow:0}.labels{display:flex;flex-direction:column;justify-content:center;flex:1 1 0px;height:100%;line-height:normal;overflow:hidden;padding:var(--sd-list-item-label-content-padding, 0 8px)}.caption,.description{width:100%;font-family:var(--sd-list-item-font-family, "Segoe UI", "Lucida Sans", Arial, sans-serif);font-style:normal;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-webkit-user-select:none;user-select:none;text-decoration:var(--sd-list-item-text-decoration, inherit)}.caption em,.description em{font-weight:bolder}.caption{font-size:var(--sd-list-item-caption-font-size, 16px);color:var(--sd-list-item-caption-text-color, #111);font-weight:var(--sd-list-item-caption-font-weight, normal)}.description{font-size:var(--sd-list-item-description-font-size, 13px);color:var(--sd-list-item-description-text-color, #767676);font-weight:var(--sd-list-item-description-font-weight, normal)}.icon-wrapper{width:var(--sd-list-item-icon-wrapper-width, 45px);height:100%;display:flex;align-items:center;justify-content:center}.icon-wrapper .icon{min-height:var(--sd-list-item-icon-size, 24px);min-width:var(--sd-list-item-icon-size, 24px);background-repeat:no-repeat;background-position:center;background-size:cover}',Zt=Object.defineProperty,m=(s,t,e,i)=>{for(var o=void 0,r=s.length-1,n;r>=0;r--)(n=s[r])&&(o=n(t,e,o)||o);return o&&Zt(t,e,o),o},w,f=(w=class extends A{constructor(){super(...arguments),this.contentMode="text",this.role="option"}static get styles(){return[J`
|
|
4
|
+
${z(Ft)}
|
|
5
|
+
`]}render(){return R`
|
|
6
6
|
<div class="container">
|
|
7
|
-
${this.getLevelIndicators().map((s,t)=>
|
|
7
|
+
${this.getLevelIndicators().map((s,t)=>R` <div class="level-indicator level-${t}"></div> `)}
|
|
8
8
|
<div class="side-content">
|
|
9
9
|
<slot name="left-content"></slot>
|
|
10
10
|
${this.renderIcon()}
|
|
@@ -17,22 +17,22 @@ var window;(window||={})["@cas-smartdesign/list-item"]=(()=>{var G=Object.define
|
|
|
17
17
|
<slot name="right-content"></slot>
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
|
-
`}renderIcon(){if(this.icon||this.iconPlaceholder){let s=this.iconBackgroundColor!=null?`background-color:${this.iconBackgroundColor}`:void 0;return
|
|
20
|
+
`}renderIcon(){if(this.icon||this.iconPlaceholder){let s=this.iconBackgroundColor!=null?`background-color:${this.iconBackgroundColor}`:void 0;return R`
|
|
21
21
|
<div
|
|
22
22
|
class="icon-wrapper"
|
|
23
23
|
@pointerdown="${this.handleIconClick}"
|
|
24
|
-
style="${
|
|
24
|
+
style="${D(s)}"
|
|
25
25
|
role="img"
|
|
26
|
-
aria-label="${
|
|
27
|
-
title="${
|
|
26
|
+
aria-label="${D(this.iconAttrAriaLabel)}"
|
|
27
|
+
title="${D(this.iconAttrTitle)}"
|
|
28
28
|
>
|
|
29
29
|
<div class="icon"></div>
|
|
30
30
|
</div>
|
|
31
|
-
`}return
|
|
32
|
-
<div class="${s}" title="${
|
|
33
|
-
${this.contentMode==="html"?
|
|
31
|
+
`}return c}renderLabel(s,t,e){return t?R`
|
|
32
|
+
<div class="${s}" title="${D(e)}">
|
|
33
|
+
${this.contentMode==="html"?xt(t):t}
|
|
34
34
|
</div>
|
|
35
|
-
`:
|
|
35
|
+
`:c}updated(s){super.updated(s),(s.has("icon")||s.has("iconPlaceholder"))&&(this.icon||this.iconPlaceholder)&&K.showImage(this.shadowRoot.querySelector(".icon"),this.icon,this.iconPlaceholder),s.has("selected")&&this.setAttribute("aria-selected",String(this.selected))}get missingWidthForTexts(){let s=this.enableLineClamp;this.removeAttribute("enable-line-clamp");let t=0,e=this.shadowRoot.querySelector(".caption");e&&(t+=e.scrollWidth-e.clientWidth);let i=this.shadowRoot.querySelector(".description");return i&&(t=Math.max(t,i.scrollWidth-i.clientWidth)),t>0&&t++,s&&this.setAttribute("enable-line-clamp",""),t}handleIconClick(s){!this.disabled&&!this.dispatchEvent(new PointerEvent("list-item-icon-click",s))&&s.preventDefault()}getLevelIndicators(){return this.level?Array(Number(this.level)).fill(null):[]}},w.ID="sd-list-item",w.ensureDefined=()=>{customElements.get(w.ID)||customElements.define(w.ID,w)},w);m([u({type:String})],f.prototype,"caption");m([u({type:String})],f.prototype,"description");m([u({type:Boolean})],f.prototype,"selected");m([u({type:String})],f.prototype,"icon");m([u({type:String})],f.prototype,"iconBackgroundColor");m([u({type:String})],f.prototype,"iconPlaceholder");m([u({type:Number})],f.prototype,"level");m([u()],f.prototype,"contentMode");m([u({type:Boolean,reflect:!0,attribute:"enable-line-clamp"})],f.prototype,"enableLineClamp");m([u({converter:{fromAttribute:s=>s=="true",toAttribute:s=>s},reflect:!0,attribute:"aria-disabled"})],f.prototype,"disabled");m([u({type:String,attribute:"icon-attr-aria-label"})],f.prototype,"iconAttrAriaLabel");m([u({type:String,reflect:!0})],f.prototype,"role");m([u({type:String,attribute:"caption-attr-title"})],f.prototype,"captionAttrTitle");m([u({type:String,attribute:"description-attr-title"})],f.prototype,"descriptionAttrTitle");m([u({type:String,attribute:"icon-attr-title"})],f.prototype,"iconAttrTitle");var lt=f,Jt=(s,t)=>{let e=document.createElement(lt.ID);if(s){if(e.caption=s.caption,e.description=s.description,e.icon=s.icon,e.iconBackgroundColor=s.iconBackgroundColor,e.iconPlaceholder=s.iconPlaceholder,e.level=s.level,e.disabled=s.disabled,s.contentMode&&(e.contentMode=s.contentMode),s.leftContentGenerator){let i=s.leftContentGenerator(s,e);i&&(i.slot="left-content",e.appendChild(i))}if(s.rightContentGenerator){let i=s.rightContentGenerator(s,e);i&&(i.slot="right-content",e.appendChild(i))}}return e};lt.ensureDefined();return kt(Yt);})();
|
|
36
36
|
/*! Bundled license information:
|
|
37
37
|
|
|
38
38
|
@lit/reactive-element/css-tag.js:
|
|
@@ -43,51 +43,21 @@ var window;(window||={})["@cas-smartdesign/list-item"]=(()=>{var G=Object.define
|
|
|
43
43
|
*)
|
|
44
44
|
|
|
45
45
|
@lit/reactive-element/reactive-element.js:
|
|
46
|
-
(**
|
|
47
|
-
* @license
|
|
48
|
-
* Copyright 2017 Google LLC
|
|
49
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
|
-
*)
|
|
51
|
-
|
|
52
46
|
lit-html/lit-html.js:
|
|
53
|
-
(**
|
|
54
|
-
* @license
|
|
55
|
-
* Copyright 2017 Google LLC
|
|
56
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
|
-
*)
|
|
58
|
-
|
|
59
47
|
lit-element/lit-element.js:
|
|
60
|
-
(**
|
|
61
|
-
* @license
|
|
62
|
-
* Copyright 2017 Google LLC
|
|
63
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
64
|
-
*)
|
|
65
|
-
|
|
66
|
-
lit-html/is-server.js:
|
|
67
|
-
(**
|
|
68
|
-
* @license
|
|
69
|
-
* Copyright 2022 Google LLC
|
|
70
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
71
|
-
*)
|
|
72
|
-
|
|
73
48
|
@lit/reactive-element/decorators/property.js:
|
|
74
|
-
(**
|
|
75
|
-
* @license
|
|
76
|
-
* Copyright 2017 Google LLC
|
|
77
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
*)
|
|
79
|
-
|
|
80
49
|
lit-html/directive.js:
|
|
50
|
+
lit-html/directives/unsafe-html.js:
|
|
81
51
|
(**
|
|
82
52
|
* @license
|
|
83
53
|
* Copyright 2017 Google LLC
|
|
84
54
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
55
|
*)
|
|
86
56
|
|
|
87
|
-
lit-html/
|
|
57
|
+
lit-html/is-server.js:
|
|
88
58
|
(**
|
|
89
59
|
* @license
|
|
90
|
-
* Copyright
|
|
60
|
+
* Copyright 2022 Google LLC
|
|
91
61
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
92
62
|
*)
|
|
93
63
|
|