@cas-smartdesign/checkbox 5.0.2 → 5.1.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/checkbox-with-externals.js +10 -28
- package/dist/checkbox-with-externals.js.map +4 -4
- package/dist/checkbox.mjs +3 -3
- package/dist/checkbox.mjs.map +1 -1
- package/dist/docs/doc.css +1 -1
- package/dist/docs/doc.mjs +47 -50
- package/dist/docs/validation.js +1 -1
- package/npm-third-party-licenses.json +52 -47
- package/package.json +6 -6
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var window;(window||={})["@cas-smartdesign/checkbox"]=(()=>{var
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ye=/'/g,be=/"/g,Ee=/^(?:script|style|textarea|title)$/i,Ce=i=>(e,...t)=>({_$litType$:i,strings:e,values:t}),P=Ce(1),ht=Ce(2),w=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),Ae=new WeakMap,x=S.createTreeWalker(S,129,null,!1);function ke(i,e){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return me!==void 0?me.createHTML(e):e}var je=(i,e)=>{let t=i.length-1,s=[],o,r=e===2?"<svg>":"",n=M;for(let h=0;h<t;h++){let l=i[h],a,c,d=-1,u=0;for(;u<l.length&&(n.lastIndex=u,c=n.exec(l),c!==null);)u=n.lastIndex,n===M?c[1]==="!--"?n=$e:c[1]!==void 0?n=_e:c[2]!==void 0?(Ee.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=A):c[3]!==void 0&&(n=A):n===A?c[0]===">"?(n=o??M,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,a=c[1],n=c[3]===void 0?A:c[3]==='"'?be:ye):n===be||n===ye?n=A:n===$e||n===_e?n=M:(n=A,o=void 0);let f=n===A&&i[h+1].startsWith("/>")?" ":"";r+=n===M?l+Be:d>=0?(s.push(a),l.slice(0,d)+se+l.slice(d)+y+f):l+y+(d===-2?(s.push(void 0),h):f)}return[ke(i,r+(i[t]||"<?>")+(e===2?"</svg>":"")),s]},z=class i{constructor({strings:e,_$litType$:t},s){let o;this.parts=[];let r=0,n=0,h=e.length-1,l=this.parts,[a,c]=je(e,t);if(this.el=i.createElement(a,s),x.currentNode=this.el.content,t===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(o=x.nextNode())!==null&&l.length<h;){if(o.nodeType===1){if(o.hasAttributes()){let d=[];for(let u of o.getAttributeNames())if(u.endsWith(se)||u.startsWith(y)){let f=c[n++];if(d.push(u),f!==void 0){let Oe=o.getAttribute(f.toLowerCase()+se).split(y),B=/([.?@])?(.*)/.exec(f);l.push({type:1,index:r,name:B[2],strings:Oe,ctor:B[1]==="."?oe:B[1]==="?"?ne:B[1]==="@"?re:U})}else l.push({type:6,index:r})}for(let u of d)o.removeAttribute(u)}if(Ee.test(o.tagName)){let d=o.textContent.split(y),u=d.length-1;if(u>0){o.textContent=C?C.emptyScript:"";for(let f=0;f<u;f++)o.append(d[f],R()),x.nextNode(),l.push({type:2,index:++r});o.append(d[u],R())}}}else if(o.nodeType===8)if(o.data===Se)l.push({type:2,index:r});else{let d=-1;for(;(d=o.data.indexOf(y,d+1))!==-1;)l.push({type:7,index:r}),d+=y.length-1}r++}}static createElement(e,t){let s=S.createElement("template");return s.innerHTML=e,s}};function k(i,e,t=i,s){var o,r,n,h;if(e===w)return e;let l=s!==void 0?(o=t._$Co)===null||o===void 0?void 0:o[s]:t._$Cl,a=T(e)?void 0:e._$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(i),l._$AT(i,t,s)),s!==void 0?((n=(h=t)._$Co)!==null&&n!==void 0?n:h._$Co=[])[s]=l:t._$Cl=l),l!==void 0&&(e=k(i,l._$AS(i,e.values),l,s)),e}var ie=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;let{el:{content:s},parts:o}=this._$AD,r=((t=e?.creationScope)!==null&&t!==void 0?t:S).importNode(s,!0);x.currentNode=r;let n=x.nextNode(),h=0,l=0,a=o[0];for(;a!==void 0;){if(h===a.index){let c;a.type===2?c=new N(n,n.nextSibling,this,e):a.type===1?c=new a.ctor(n,a.name,a.strings,this,e):a.type===6&&(c=new le(n,this,e)),this._$AV.push(c),a=o[++l]}h!==a?.index&&(n=x.nextNode(),h++)}return x.currentNode=S,r}v(e){let t=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(e,s,t),t+=s.strings.length-2):s._$AI(e[t])),t++}},N=class i{constructor(e,t,s,o){var r;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=s,this.options=o,this._$Cp=(r=o?.isConnected)===null||r===void 0||r}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=k(this,e,t),T(e)?e===p||e==null||e===""?(this._$AH!==p&&this._$AR(),this._$AH=p):e!==this._$AH&&e!==w&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ve(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==p&&T(this._$AH)?this._$AA.nextSibling.data=e:this.$(S.createTextNode(e)),this._$AH=e}g(e){var t;let{values:s,_$litType$:o}=e,r=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=z.createElement(ke(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===r)this._$AH.v(s);else{let n=new ie(r,this),h=n.u(this.options);n.v(s),this.$(h),this._$AH=n}}_$AC(e){let t=Ae.get(e.strings);return t===void 0&&Ae.set(e.strings,t=new z(e)),t}T(e){we(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,s,o=0;for(let r of e)o===t.length?t.push(s=new i(this.k(R()),this.k(R()),this,this.options)):s=t[o],s._$AI(r),o++;o<t.length&&(this._$AR(s&&s._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var s;for((s=this._$AP)===null||s===void 0||s.call(this,!1,!0,t);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cp=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}},U=class{constructor(e,t,s,o,r){this.type=1,this._$AH=p,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,s,o){let r=this.strings,n=!1;if(r===void 0)e=k(this,e,t,0),n=!T(e)||e!==this._$AH&&e!==w,n&&(this._$AH=e);else{let h=e,l,a;for(e=r[0],l=0;l<r.length-1;l++)a=k(this,h[s+l],t,l),a===w&&(a=this._$AH[l]),n||(n=!T(a)||a!==this._$AH[l]),a===p?e=p:e!==p&&(e+=(a??"")+r[l+1]),this._$AH[l]=a}n&&!o&&this.j(e)}j(e){e===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},oe=class extends U{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===p?void 0:e}},qe=C?C.emptyScript:"",ne=class extends U{constructor(){super(...arguments),this.type=4}j(e){e&&e!==p?this.element.setAttribute(this.name,qe):this.element.removeAttribute(this.name)}},re=class extends U{constructor(e,t,s,o,r){super(e,t,s,o,r),this.type=5}_$AI(e,t=this){var s;if((e=(s=k(this,e,t,0))!==null&&s!==void 0?s:p)===w)return;let o=this._$AH,r=e===p&&o!==p||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,n=e!==p&&(o===p||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,s;typeof this._$AH=="function"?this._$AH.call((s=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&s!==void 0?s:this.element,e):this._$AH.handleEvent(e)}},le=class{constructor(e,t,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){k(this,e)}};var xe=F.litHtmlPolyfillSupport;xe?.(z,N),((ee=F.litHtmlVersions)!==null&&ee!==void 0?ee:F.litHtmlVersions=[]).push("2.8.0");var Ue=(i,e,t)=>{var s,o;let r=(s=t?.renderBefore)!==null&&s!==void 0?s:e,n=r._$litPart$;if(n===void 0){let h=(o=t?.renderBefore)!==null&&o!==void 0?o:null;r._$litPart$=n=new N(e.insertBefore(R(),h),h,void 0,t??{})}return n._$AI(i),n};var ae,he;var g=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;let s=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!==null&&e!==void 0||(t.renderBefore=s.firstChild),s}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ue(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return w}};g.finalized=!0,g._$litElement$=!0,(ae=globalThis.litElementHydrateSupport)===null||ae===void 0||ae.call(globalThis,{LitElement:g});var Pe=globalThis.litElementPolyfillSupport;Pe?.({LitElement:g});((he=globalThis.litElementVersions)!==null&&he!==void 0?he:globalThis.litElementVersions=[]).push("3.3.3");var We=(i,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(t){t.createProperty(e.key,i)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(t){t.createProperty(e.key,i)}},Fe=(i,e,t)=>{e.constructor.createProperty(t,i)};function v(i){return(e,t)=>t!==void 0?Fe(i,e,t):We(i,e)}var He=i=>i??p;var Ke=":host{display:inline-block;font-size:13px;line-height:20px;font-family:Segoe UI,Lucida Sans,Arial,sans-serif;color:#111;contain:content}:host([hidden]){display:none!important}:host([level=warn i]){color:#555}:host([level=suggest i]){color:#bf8800}:host([level=error i]){color:#cc0017}:host([level=warn]){color:#555}:host([level=suggest]){color:#bf8800}:host([level=error]){color:#cc0017}.icon{height:12px;width:12px;padding-right:4px;margin-bottom:-1px}",Je="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cstyle%20id='style3'%3e%20.st0{fill:%23fff}.st1{fill:%23c00}%20%3c/style%3e%3cg%20id='g5'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20id='path9'/%3e%3c/g%3e%3cg%20id='g11'%3e%3cpath%20class='st0'%20id='rect13'%20d='M5.5%202.5h1v4h-1z'/%3e%3cpath%20class='st1'%20d='M6%203v3-3m1-1H5v5h2V2z'%20id='path15'/%3e%3c/g%3e%3cg%20id='g17'%3e%3cpath%20class='st0'%20id='rect19'%20d='M5.5%208.5h1v1h-1z'/%3e%3cpath%20class='st1'%20id='polygon21'%20d='M7%208H5v2h2V8z'/%3e%3c/g%3e%3c/svg%3e",Ze="data:image/svg+xml,%3csvg%20id='Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cstyle%3e%20.st0{fill:%23bf8800}%20%3c/style%3e%3cpath%20class='st0'%20d='M12%20.8l11%2019.8v1.3H1v-1.3L12%20.8zm.8-.6h-1.6L0%2020v3h24v-3L12.8.2z'/%3e%3cpath%20class='st0'%20d='M11%208h2v8h-2zm0%2010h2v2h-2z'/%3e%3c/svg%3e",Ge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20fill='%23555'/%3e%3cpath%20d='M6%209V6v3m-1%201h2V5H5v5zm2-8H5v2h2z'%20class='st1'%20fill='%23555'/%3e%3c/svg%3e",Qe=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,de=(i,e,t,s)=>{for(var o=s>1?void 0:s?Xe(e,t):e,r=i.length-1,n;r>=0;r--)(n=i[r])&&(o=(s?n(e,t,o):n(o))||o);return s&&o&&Qe(e,t,o),o},H,I=(H=class extends g{static parseLevel(i){if(i){let e=Object.keys(D).find(t=>t.toLowerCase()===i.toLowerCase());return e&&D[e]}}static get styles(){return[O`
|
|
4
|
-
${E(
|
|
5
|
-
`]}render(){return P`${this.iconToUse&&P`<img class="icon" src="${this.iconToUse}">`}${this.message}`}get iconToUse(){return this.icon||this._defaultIconPath}shouldUpdate(i){return i.has("level")&&(this._defaultIconPath=this.iconForLevel,!this.icon)?!0:super.shouldUpdate(i)}get iconForLevel(){switch(
|
|
1
|
+
var window;(window||={})["@cas-smartdesign/checkbox"]=(()=>{var Z=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Pt=Object.prototype.hasOwnProperty;var Ut=(i,t)=>{for(var e in t)Z(i,e,{get:t[e],enumerable:!0})},Mt=(i,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of kt(t))!Pt.call(i,o)&&o!==e&&Z(i,o,{get:()=>t[o],enumerable:!(s=Ct(t,o))||s.enumerable});return i};var Ot=i=>Mt(Z({},"__esModule",{value:!0}),i);var ie={};Ut(ie,{SDCheckbox:()=>Et});var V=globalThis,q=V.ShadowRoot&&(V.ShadyCSS===void 0||V.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,J=Symbol(),ct=new WeakMap,M=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==J)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(q&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=ct.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&ct.set(e,t))}return t}toString(){return this.cssText}},E=i=>new M(typeof i=="string"?i:i+"",void 0,J),O=(i,...t)=>{let e=i.length===1?i[0]:t.reduce(((s,o,r)=>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.")})(o)+i[r+1]),i[0]);return new M(e,i,J)},dt=(i,t)=>{if(q)i.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),o=V.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,i.appendChild(s)}},G=q?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return E(e)})(i):i;var{is:Ht,defineProperty:Lt,getOwnPropertyDescriptor:Tt,getOwnPropertyNames:Rt,getOwnPropertySymbols:Nt,getPrototypeOf:zt}=Object,W=globalThis,pt=W.trustedTypes,Dt=pt?pt.emptyScript:"",It=W.reactiveElementPolyfillSupport,H=(i,t)=>i,L={toAttribute(i,t){switch(t){case Boolean:i=i?Dt:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},F=(i,t)=>!Ht(i,t),ut={attribute:!0,type:String,converter:L,reflect:!1,useDefault:!1,hasChanged:F};Symbol.metadata??=Symbol("metadata"),W.litPropertyMetadata??=new WeakMap;var $=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=ut){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 s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&Lt(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){let{get:o,set:r}=Tt(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:o,set(n){let h=o?.call(this);r?.call(this,n),this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ut}static _$Ei(){if(this.hasOwnProperty(H("elementProperties")))return;let t=zt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(H("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(H("properties"))){let e=this.properties,s=[...Rt(e),...Nt(e)];for(let o of s)this.createProperty(o,e[o])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,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 o of s)e.unshift(G(o))}else t!==void 0&&e.push(G(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)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,s);if(o!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:L).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,o=s._$Eh.get(t);if(o!==void 0&&this._$Em!==o){let r=s.getPropertyOptions(o),n=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:L;this._$Em=o;let h=n.fromAttribute(e,r.type);this[o]=h??this._$Ej?.get(o)??h,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let o=this.constructor,r=this[t];if(s??=o.getPropertyOptions(t),!((s.hasChanged??F)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:o,wrapped:r},n){s&&!(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||s||(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 s=this.constructor.elementProperties;if(s.size>0)for(let[o,r]of s){let{wrapped:n}=r,h=this[o];n!==!0||this._$AL.has(o)||h===void 0||this.C(o,void 0,r,h)}}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._$EM()}catch(s){throw t=!1,this._$EM(),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)}_$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){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[H("elementProperties")]=new Map,$[H("finalized")]=new Map,It?.({ReactiveElement:$}),(W.reactiveElementVersions??=[]).push("2.1.1");var it=globalThis,K=it.trustedTypes,gt=K?K.createPolicy("lit-html",{createHTML:i=>i}):void 0,yt="$lit$",y=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+y,jt=`<${bt}>`,S=document,R=()=>S.createComment(""),N=i=>i===null||typeof i!="object"&&typeof i!="function",ot=Array.isArray,Bt=i=>ot(i)||typeof i?.[Symbol.iterator]=="function",Q=`[
|
|
2
|
+
\f\r]`,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ft=/-->/g,mt=/>/g,A=RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),$t=/'/g,vt=/"/g,At=/^(?:script|style|textarea|title)$/i,rt=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),P=rt(1),le=rt(2),ce=rt(3),w=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),_t=new WeakMap,x=S.createTreeWalker(S,129);function xt(i,t){if(!ot(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return gt!==void 0?gt.createHTML(t):t}var Vt=(i,t)=>{let e=i.length-1,s=[],o,r=t===2?"<svg>":t===3?"<math>":"",n=T;for(let h=0;h<e;h++){let a=i[h],d,p,l=-1,m=0;for(;m<a.length&&(n.lastIndex=m,p=n.exec(a),p!==null);)m=n.lastIndex,n===T?p[1]==="!--"?n=ft:p[1]!==void 0?n=mt:p[2]!==void 0?(At.test(p[2])&&(o=RegExp("</"+p[2],"g")),n=A):p[3]!==void 0&&(n=A):n===A?p[0]===">"?(n=o??T,l=-1):p[1]===void 0?l=-2:(l=n.lastIndex-p[2].length,d=p[1],n=p[3]===void 0?A:p[3]==='"'?vt:$t):n===vt||n===$t?n=A:n===ft||n===mt?n=T:(n=A,o=void 0);let _=n===A&&i[h+1].startsWith("/>")?" ":"";r+=n===T?a+jt:l>=0?(s.push(d),a.slice(0,l)+yt+a.slice(l)+y+_):a+y+(l===-2?h:_)}return[xt(i,r+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},z=class i{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let r=0,n=0,h=t.length-1,a=this.parts,[d,p]=Vt(t,e);if(this.el=i.createElement(d,s),x.currentNode=this.el.content,e===2||e===3){let l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(o=x.nextNode())!==null&&a.length<h;){if(o.nodeType===1){if(o.hasAttributes())for(let l of o.getAttributeNames())if(l.endsWith(yt)){let m=p[n++],_=o.getAttribute(l).split(y),B=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:B[2],strings:_,ctor:B[1]==="."?Y:B[1]==="?"?tt:B[1]==="@"?et:k}),o.removeAttribute(l)}else l.startsWith(y)&&(a.push({type:6,index:r}),o.removeAttribute(l));if(At.test(o.tagName)){let l=o.textContent.split(y),m=l.length-1;if(m>0){o.textContent=K?K.emptyScript:"";for(let _=0;_<m;_++)o.append(l[_],R()),x.nextNode(),a.push({type:2,index:++r});o.append(l[m],R())}}}else if(o.nodeType===8)if(o.data===bt)a.push({type:2,index:r});else{let l=-1;for(;(l=o.data.indexOf(y,l+1))!==-1;)a.push({type:7,index:r}),l+=y.length-1}r++}}static createElement(t,e){let s=S.createElement("template");return s.innerHTML=t,s}};function C(i,t,e=i,s){if(t===w)return t;let o=s!==void 0?e._$Co?.[s]:e._$Cl,r=N(t)?void 0:t._$litDirective$;return o?.constructor!==r&&(o?._$AO?.(!1),r===void 0?o=void 0:(o=new r(i),o._$AT(i,e,s)),s!==void 0?(e._$Co??=[])[s]=o:e._$Cl=o),o!==void 0&&(t=C(i,o._$AS(i,t.values),o,s)),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:s}=this._$AD,o=(t?.creationScope??S).importNode(e,!0);x.currentNode=o;let r=x.nextNode(),n=0,h=0,a=s[0];for(;a!==void 0;){if(n===a.index){let d;a.type===2?d=new D(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=s[++h]}n!==a?.index&&(r=x.nextNode(),n++)}return x.currentNode=S,o}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++}},D=class i{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,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=C(this,t,e),N(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==w&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Bt(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&&N(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=z.createElement(xt(s.h,s.h[0]),this.options)),s);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=_t.get(t.strings);return e===void 0&&_t.set(t.strings,e=new z(t)),e}k(t){ot(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,o=0;for(let r of t)o===e.length?e.push(s=new i(this.O(R()),this.O(R()),this,this.options)):s=e[o],s._$AI(r),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},k=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,r){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=c}_$AI(t,e=this,s,o){let r=this.strings,n=!1;if(r===void 0)t=C(this,t,e,0),n=!N(t)||t!==this._$AH&&t!==w,n&&(this._$AH=t);else{let h=t,a,d;for(t=r[0],a=0;a<r.length-1;a++)d=C(this,h[s+a],e,a),d===w&&(d=this._$AH[a]),n||=!N(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??"")}},Y=class extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},tt=class extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},et=class extends k{constructor(t,e,s,o,r){super(t,e,s,o,r),this.type=5}_$AI(t,e=this){if((t=C(this,t,e,0)??c)===w)return;let s=this._$AH,o=t===c&&s!==c||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==c&&(s===c||o);o&&this.element.removeEventListener(this.name,this,s),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,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){C(this,t)}};var qt=it.litHtmlPolyfillSupport;qt?.(z,D),(it.litHtmlVersions??=[]).push("3.3.1");var St=(i,t,e)=>{let s=e?.renderBefore??t,o=s._$litPart$;if(o===void 0){let r=e?.renderBefore??null;s._$litPart$=o=new D(t.insertBefore(R(),r),r,void 0,e??{})}return o._$AI(i),o};var nt=globalThis,g=class extends ${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 w}};g._$litElement$=!0,g.finalized=!0,nt.litElementHydrateSupport?.({LitElement:g});var Wt=nt.litElementPolyfillSupport;Wt?.({LitElement:g});(nt.litElementVersions??=[]).push("4.2.1");var Ft={attribute:!0,type:String,converter:L,reflect:!1,hasChanged:F},Kt=(i=Ft,t,e)=>{let{kind:s,metadata:o}=e,r=globalThis.litPropertyMetadata.get(o);if(r===void 0&&globalThis.litPropertyMetadata.set(o,r=new Map),s==="setter"&&((i=Object.create(i)).wrapped=!0),r.set(e.name,i),s==="accessor"){let{name:n}=e;return{set(h){let a=t.get.call(this);t.set.call(this,h),this.requestUpdate(n,a,i)},init(h){return h!==void 0&&this.C(n,void 0,i,h),h}}}if(s==="setter"){let{name:n}=e;return function(h){let a=this[n];t.call(this,h),this.requestUpdate(n,a,i)}}throw Error("Unsupported decorator location: "+s)};function u(i){return(t,e)=>typeof e=="object"?Kt(i,t,e):((s,o,r)=>{let n=o.hasOwnProperty(r);return o.constructor.createProperty(r,s),n?Object.getOwnPropertyDescriptor(o,r):void 0})(i,t,e)}var wt=i=>i??c;var Zt=":host{display:inline-block;font-size:13px;line-height:20px;font-family:Segoe UI,Lucida Sans,Arial,sans-serif;color:#111;contain:content}:host([hidden]){display:none!important}:host([level=warn i]){color:#555}:host([level=suggest i]){color:#bf8800}:host([level=error i]){color:#cc0017}:host([level=warn]){color:#555}:host([level=suggest]){color:#bf8800}:host([level=error]){color:#cc0017}.icon{height:12px;width:12px;padding-right:4px;margin-bottom:-1px}",Jt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cstyle%20id='style3'%3e%20.st0{fill:%23fff}.st1{fill:%23c00}%20%3c/style%3e%3cg%20id='g5'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20id='path9'/%3e%3c/g%3e%3cg%20id='g11'%3e%3cpath%20class='st0'%20id='rect13'%20d='M5.5%202.5h1v4h-1z'/%3e%3cpath%20class='st1'%20d='M6%203v3-3m1-1H5v5h2V2z'%20id='path15'/%3e%3c/g%3e%3cg%20id='g17'%3e%3cpath%20class='st0'%20id='rect19'%20d='M5.5%208.5h1v1h-1z'/%3e%3cpath%20class='st1'%20id='polygon21'%20d='M7%208H5v2h2V8z'/%3e%3c/g%3e%3c/svg%3e",Gt="data:image/svg+xml,%3csvg%20id='Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cstyle%3e%20.st0{fill:%23bf8800}%20%3c/style%3e%3cpath%20class='st0'%20d='M12%20.8l11%2019.8v1.3H1v-1.3L12%20.8zm.8-.6h-1.6L0%2020v3h24v-3L12.8.2z'/%3e%3cpath%20class='st0'%20d='M11%208h2v8h-2zm0%2010h2v2h-2z'/%3e%3c/svg%3e",Qt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20fill='%23555'/%3e%3cpath%20d='M6%209V6v3m-1%201h2V5H5v5zm2-8H5v2h2z'%20class='st1'%20fill='%23555'/%3e%3c/svg%3e",Xt=Object.defineProperty,ht=(i,t,e,s)=>{for(var o=void 0,r=i.length-1,n;r>=0;r--)(n=i[r])&&(o=n(t,e,o)||o);return o&&Xt(t,e,o),o},U,I=(U=class extends g{static parseLevel(i){if(i){let t=Object.keys(j).find(e=>e.toLowerCase()===i.toLowerCase());return t&&j[t]}}static get styles(){return[O`
|
|
4
|
+
${E(Zt)}
|
|
5
|
+
`]}render(){return P`${this.iconToUse&&P`<img class="icon" src="${this.iconToUse}">`}${this.message}`}get iconToUse(){return this.icon||this._defaultIconPath}shouldUpdate(i){return i.has("level")&&(this._defaultIconPath=this.iconForLevel,!this.icon)?!0:super.shouldUpdate(i)}get iconForLevel(){switch(U.parseLevel(this.level)){case"warn":return Qt;case"suggest":return Gt;case"error":return Jt;default:return null}}},U.ID="sd-field-validation-message",U.levelConverter={fromAttribute(i){return U.parseLevel(i)},toAttribute(i){return i&&i.toLowerCase()}},U);ht([u({type:String,attribute:!0})],I.prototype,"message");ht([u({type:String,attribute:!0})],I.prototype,"icon");ht([u({converter:I.levelConverter,reflect:!0})],I.prototype,"level");var at=I,j=(i=>(i.Warn="warn",i.Suggest="suggest",i.Error="error",i))(j||{});customElements.get(at.ID)||customElements.define(at.ID,at);var Yt=`:host{display:block}:host,.label,.checkbox{outline:none}.checkbox-container{display:flex;flex-direction:row;align-items:flex-start}.checkbox{appearance:none;-moz-appearance:none;-webkit-appearance:none;display:block;margin:0;width:20px;height:20px;border:2px solid #767676;cursor:pointer;background-color:#fff}:host(:not([disabled]):focus) .highlight,:host(:not([disabled])[focused]) .highlight{background-color:#1467ba4d;border-radius:4px}:host(:not([disabled]):focus) .highlight .checkbox,:host(:not([disabled])[focused]) .highlight .checkbox{border-color:#1467ba}:host([checked]) .checkbox{background:#1467ba url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='15'%20viewBox='0%200%2020%2020'%3e%3cpath%20d='M15.9%204.6L17.4%206l-9.5%209.5-5.2-5.2%201.4-1.4%203.8%203.8%208-8.1z'%20fill='%23fff'/%3e%3c/svg%3e") no-repeat center center;border-color:#1467ba}.checkbox.indeterminate{background:#1467ba url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%3e%3cpath%20fill='%23fff'%20d='M8%2014h16v4H8z'/%3e%3c/svg%3e") no-repeat center center;background-size:20px;border-color:#1467ba}.highlight{border:4px solid transparent;margin-right:6px}:host([disabled]) .checkbox-container{opacity:.6;cursor:default;filter:grayscale(100%);pointer-events:none}.validation-message{margin-left:4px}.label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;margin-top:4px;line-height:20px}:host([oneline]) .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}`,te=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,v=(i,t,e,s)=>{for(var o=s>1?void 0:s?ee(t,e):t,r=i.length-1,n;r>=0;r--)(n=i[r])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&te(t,e,o),o},se="indeterminate",lt="delegatesFocus"in window.ShadowRoot.prototype,b,f=(b=class extends g{constructor(){super(...arguments),this._checked=!1,this._indeterminate=!1}get checked(){return this._checked}set checked(i){let t=this._checked;this._checked=i,this._checked&&(this.indeterminate=!1),this.requestUpdate("checked",t)}get indeterminate(){return this._indeterminate}set indeterminate(i){let t=this._indeterminate;this._indeterminate=i,this._indeterminate&&(this.checked=!1),this.requestUpdate("indeterminate",t)}firstUpdated(i){super.firstUpdated(i),lt||(this.checkboxElement.onfocus=()=>this.setAttribute("focused",""),this.checkboxElement.onblur=()=>this.removeAttribute("focused"),this.addEventListener("focus",t=>{t.target===this&&this.checkboxElement.focus()}))}focus(){this.checkboxElement?this.checkboxElement.focus():super.focus()}attributeChangedCallback(i,t,e){super.attributeChangedCallback(i,t,e),!lt&&i==="tabindex"&&t!==e&&e==="0"&&this.removeAttribute("tabindex")}render(){return P`
|
|
6
6
|
<div class="checkbox-container">
|
|
7
7
|
<div class="highlight">
|
|
8
8
|
<input
|
|
9
9
|
type="checkbox"
|
|
10
10
|
id="input"
|
|
11
11
|
?disabled=${this.disabled}
|
|
12
|
-
tabindex=${
|
|
12
|
+
tabindex=${wt(this.tabIndex==null?void 0:this.tabIndex)}
|
|
13
13
|
.checked=${this.checked}
|
|
14
14
|
.indeterminate=${this.indeterminate}
|
|
15
|
-
class="checkbox${this.indeterminate?" "+
|
|
15
|
+
class="checkbox${this.indeterminate?" "+se:""}"
|
|
16
16
|
@change="${this.onInputValueChange}"
|
|
17
17
|
/>
|
|
18
18
|
</div>
|
|
@@ -28,8 +28,8 @@ var window;(window||={})["@cas-smartdesign/checkbox"]=(()=>{var K=Object.defineP
|
|
|
28
28
|
</sd-field-validation-message>
|
|
29
29
|
`}
|
|
30
30
|
`}onInputValueChange(i){i.preventDefault(),i.stopPropagation(),this.checked=i.target.checked,this.fireValueChange()}fireValueChange(){this.dispatchEvent(new CustomEvent("value-change",{detail:{value:this.checked}}))}get checkboxElement(){return this.shadowRoot.querySelector(".checkbox")}static get styles(){return[O`
|
|
31
|
-
${E(
|
|
32
|
-
`]}},b.ID="sd-checkbox",b.ensureDefined=()=>{customElements.get(b.ID)||customElements.define(b.ID,b)},b.shadowRootOptions={...g.shadowRootOptions,delegatesFocus:
|
|
31
|
+
${E(Yt)}
|
|
32
|
+
`]}},b.ID="sd-checkbox",b.ensureDefined=()=>{customElements.get(b.ID)||customElements.define(b.ID,b)},b.shadowRootOptions={...g.shadowRootOptions,delegatesFocus:lt},b);v([u({type:Boolean,reflect:!0})],f.prototype,"disabled",2);v([u({type:String,reflect:!0})],f.prototype,"label",2);v([u({type:String})],f.prototype,"validationMessage",2);v([u({type:String})],f.prototype,"validationIconSrc",2);v([u({type:j,reflect:!0})],f.prototype,"validationLevel",2);v([u({type:Number})],f.prototype,"tabIndex",2);v([u({type:Boolean,reflect:!0})],f.prototype,"oneLine",2);v([u({type:Boolean,reflect:!0})],f.prototype,"checked",1);v([u({type:Boolean,reflect:!1,attribute:!1})],f.prototype,"indeterminate",1);var Et=f;Et.ensureDefined();return Ot(ie);})();
|
|
33
33
|
/*! Bundled license information:
|
|
34
34
|
|
|
35
35
|
@lit/reactive-element/css-tag.js:
|
|
@@ -40,20 +40,9 @@ var window;(window||={})["@cas-smartdesign/checkbox"]=(()=>{var K=Object.defineP
|
|
|
40
40
|
*)
|
|
41
41
|
|
|
42
42
|
@lit/reactive-element/reactive-element.js:
|
|
43
|
-
(**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2017 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*)
|
|
48
|
-
|
|
49
43
|
lit-html/lit-html.js:
|
|
50
|
-
(**
|
|
51
|
-
* @license
|
|
52
|
-
* Copyright 2017 Google LLC
|
|
53
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
-
*)
|
|
55
|
-
|
|
56
44
|
lit-element/lit-element.js:
|
|
45
|
+
@lit/reactive-element/decorators/property.js:
|
|
57
46
|
(**
|
|
58
47
|
* @license
|
|
59
48
|
* Copyright 2017 Google LLC
|
|
@@ -67,13 +56,6 @@ lit-html/is-server.js:
|
|
|
67
56
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
57
|
*)
|
|
69
58
|
|
|
70
|
-
@lit/reactive-element/decorators/property.js:
|
|
71
|
-
(**
|
|
72
|
-
* @license
|
|
73
|
-
* Copyright 2017 Google LLC
|
|
74
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
75
|
-
*)
|
|
76
|
-
|
|
77
59
|
lit-html/directives/if-defined.js:
|
|
78
60
|
(**
|
|
79
61
|
* @license
|