@cas-smartdesign/combo-box 7.5.4 → 7.5.5
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.mjs
CHANGED
|
@@ -1421,7 +1421,7 @@ function updateMandatory(combobox: ComboBox) {
|
|
|
1421
1421
|
\f\r]`,It=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,na=/-->/g,oa=/>/g,nt=RegExp(`>|${zi}(?:([^\\s"'>=/]+)(${zi}*=${zi}*(?:[^
|
|
1422
1422
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),la=/'/g,ca=/"/g,tr=/^(?:script|style|textarea|title)$/i,Zn=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),be=Zn(1),dt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),ma=new WeakMap,lt=mt.createTreeWalker(mt,129);function ir(t,e){if(!Ss(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ra!==void 0?ra.createHTML(e):e}const Xn=(t,e)=>{const i=t.length-1,a=[];let s,r=e===2?"<svg>":e===3?"<math>":"",o=It;for(let d=0;d<i;d++){const h=t[d];let u,n,m=-1,c=0;for(;c<h.length&&(o.lastIndex=c,n=o.exec(h),n!==null);)c=o.lastIndex,o===It?n[1]==="!--"?o=na:n[1]!==void 0?o=oa:n[2]!==void 0?(tr.test(n[2])&&(s=RegExp("</"+n[2],"g")),o=nt):n[3]!==void 0&&(o=nt):o===nt?n[0]===">"?(o=s??It,m=-1):n[1]===void 0?m=-2:(m=o.lastIndex-n[2].length,u=n[1],o=n[3]===void 0?nt:n[3]==='"'?ca:la):o===ca||o===la?o=nt:o===na||o===oa?o=It:(o=nt,s=void 0);const l=o===nt&&t[d+1].startsWith("/>")?" ":"";r+=o===It?h+Kn:m>=0?(a.push(u),h.slice(0,m)+Qa+h.slice(m)+Qe+l):h+Qe+(m===-2?d:l)}return[ir(t,r+(t[i]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),a]};class Ft{constructor({strings:e,_$litType$:i},a){let s;this.parts=[];let r=0,o=0;const d=e.length-1,h=this.parts,[u,n]=Xn(e,i);if(this.el=Ft.createElement(u,a),lt.currentNode=this.el.content,i===2||i===3){const m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(s=lt.nextNode())!==null&&h.length<d;){if(s.nodeType===1){if(s.hasAttributes())for(const m of s.getAttributeNames())if(m.endsWith(Qa)){const c=n[o++],l=s.getAttribute(m).split(Qe),f=/([.?@])?(.*)/.exec(c);h.push({type:1,index:r,name:f[2],strings:l,ctor:f[1]==="."?Qn:f[1]==="?"?eo:f[1]==="@"?to:xi}),s.removeAttribute(m)}else m.startsWith(Qe)&&(h.push({type:6,index:r}),s.removeAttribute(m));if(tr.test(s.tagName)){const m=s.textContent.split(Qe),c=m.length-1;if(c>0){s.textContent=pi?pi.emptyScript:"";for(let l=0;l<c;l++)s.append(m[l],jt()),lt.nextNode(),h.push({type:2,index:++r});s.append(m[c],jt())}}}else if(s.nodeType===8)if(s.data===er)h.push({type:2,index:r});else{let m=-1;for(;(m=s.data.indexOf(Qe,m+1))!==-1;)h.push({type:7,index:r}),m+=Qe.length-1}r++}}static createElement(e,i){const a=mt.createElement("template");return a.innerHTML=e,a}}function vt(t,e,i=t,a){if(e===dt)return e;let s=a!==void 0?i._$Co?.[a]:i._$Cl;const r=Vt(e)?void 0:e._$litDirective$;return s?.constructor!==r&&(s?._$AO?.(!1),r===void 0?s=void 0:(s=new r(t),s._$AT(t,i,a)),a!==void 0?(i._$Co??=[])[a]=s:i._$Cl=s),s!==void 0&&(e=vt(t,s._$AS(t,e.values),s,a)),e}class Yn{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:i},parts:a}=this._$AD,s=(e?.creationScope??mt).importNode(i,!0);lt.currentNode=s;let r=lt.nextNode(),o=0,d=0,h=a[0];for(;h!==void 0;){if(o===h.index){let u;h.type===2?u=new Kt(r,r.nextSibling,this,e):h.type===1?u=new h.ctor(r,h.name,h.strings,this,e):h.type===6&&(u=new io(r,this,e)),this._$AV.push(u),h=a[++d]}o!==h?.index&&(r=lt.nextNode(),o++)}return lt.currentNode=mt,s}p(e){let i=0;for(const a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(e,a,i),i+=a.strings.length-2):a._$AI(e[i])),i++}}class Kt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,i,a,s){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=a,this.options=s,this._$Cv=s?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const i=this._$AM;return i!==void 0&&e?.nodeType===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=vt(this,e,i),Vt(e)?e===X||e==null||e===""?(this._$AH!==X&&this._$AR(),this._$AH=X):e!==this._$AH&&e!==dt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Jn(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==X&&Vt(this._$AH)?this._$AA.nextSibling.data=e:this.T(mt.createTextNode(e)),this._$AH=e}$(e){const{values:i,_$litType$:a}=e,s=typeof a=="number"?this._$AC(e):(a.el===void 0&&(a.el=Ft.createElement(ir(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===s)this._$AH.p(i);else{const r=new Yn(s,this),o=r.u(this.options);r.p(i),this.T(o),this._$AH=r}}_$AC(e){let i=ma.get(e.strings);return i===void 0&&ma.set(e.strings,i=new Ft(e)),i}k(e){Ss(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let a,s=0;for(const r of e)s===i.length?i.push(a=new Kt(this.O(jt()),this.O(jt()),this,this.options)):a=i[s],a._$AI(r),s++;s<i.length&&(this._$AR(a&&a._$AB.nextSibling,s),i.length=s)}_$AR(e=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);e!==this._$AB;){const a=e.nextSibling;e.remove(),e=a}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}}class xi{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,i,a,s,r){this.type=1,this._$AH=X,this._$AN=void 0,this.element=e,this.name=i,this._$AM=s,this.options=r,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=X}_$AI(e,i=this,a,s){const r=this.strings;let o=!1;if(r===void 0)e=vt(this,e,i,0),o=!Vt(e)||e!==this._$AH&&e!==dt,o&&(this._$AH=e);else{const d=e;let h,u;for(e=r[0],h=0;h<r.length-1;h++)u=vt(this,d[a+h],i,h),u===dt&&(u=this._$AH[h]),o||=!Vt(u)||u!==this._$AH[h],u===X?e=X:e!==X&&(e+=(u??"")+r[h+1]),this._$AH[h]=u}o&&!s&&this.j(e)}j(e){e===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Qn extends xi{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===X?void 0:e}}let eo=class extends xi{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==X)}},to=class extends xi{constructor(e,i,a,s,r){super(e,i,a,s,r),this.type=5}_$AI(e,i=this){if((e=vt(this,e,i,0)??X)===dt)return;const a=this._$AH,s=e===X&&a!==X||e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive,r=e!==X&&(a===X||s);s&&this.element.removeEventListener(this.name,this,a),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},io=class{constructor(e,i,a){this.element=e,this.type=6,this._$AN=void 0,this._$AM=i,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(e){vt(this,e)}};const so=_s.litHtmlPolyfillSupport;so?.(Ft,Kt),(_s.litHtmlVersions??=[]).push("3.3.1");const ao=(t,e,i)=>{const a=i?.renderBefore??e;let s=a._$litPart$;if(s===void 0){const r=i?.renderBefore??null;a._$litPart$=s=new Kt(e.insertBefore(jt(),r),r,void 0,i??{})}return s._$AI(t),s};const Cs=globalThis;let We=class extends bt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ao(i,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return dt}};We._$litElement$=!0,We.finalized=!0,Cs.litElementHydrateSupport?.({LitElement:We});const ro=Cs.litElementPolyfillSupport;ro?.({LitElement:We});(Cs.litElementVersions??=[]).push("4.2.1");const no={attribute:!0,type:String,converter:fi,reflect:!1,hasChanged:ws},oo=(t=no,e,i)=>{const{kind:a,metadata:s}=i;let r=globalThis.litPropertyMetadata.get(s);if(r===void 0&&globalThis.litPropertyMetadata.set(s,r=new Map),a==="setter"&&((t=Object.create(t)).wrapped=!0),r.set(i.name,t),a==="accessor"){const{name:o}=i;return{set(d){const h=e.get.call(this);e.set.call(this,d),this.requestUpdate(o,h,t)},init(d){return d!==void 0&&this.C(o,void 0,t,d),d}}}if(a==="setter"){const{name:o}=i;return function(d){const h=this[o];e.call(this,d),this.requestUpdate(o,h,t)}}throw Error("Unsupported decorator location: "+a)};function P(t){return(e,i)=>typeof i=="object"?oo(t,e,i):((a,s,r)=>{const o=s.hasOwnProperty(r);return s.constructor.createProperty(r,a),o?Object.getOwnPropertyDescriptor(s,r):void 0})(t,e,i)}var ye="top",ke="bottom",Me="right",ve="left",As="auto",Jt=[ye,ke,Me,ve],xt="start",Ht="end",lo="clippingParents",sr="viewport",Rt="popper",co="reference",da=Jt.reduce(function(t,e){return t.concat([e+"-"+xt,e+"-"+Ht])},[]),ar=[].concat(Jt,[As]).reduce(function(t,e){return t.concat([e,e+"-"+xt,e+"-"+Ht])},[]),mo="beforeRead",uo="read",ho="afterRead",fo="beforeMain",po="main",go="afterMain",No="beforeWrite",bo="write",yo="afterWrite",vo=[mo,uo,ho,fo,po,go,No,bo,yo];function je(t){return t?(t.nodeName||"").toLowerCase():null}function _e(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ut(t){var e=_e(t).Element;return t instanceof e||t instanceof Element}function Ee(t){var e=_e(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Es(t){if(typeof ShadowRoot>"u")return!1;var e=_e(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function xo(t){var e=t.state;Object.keys(e.elements).forEach(function(i){var a=e.styles[i]||{},s=e.attributes[i]||{},r=e.elements[i];!Ee(r)||!je(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(o){var d=s[o];d===!1?r.removeAttribute(o):r.setAttribute(o,d===!0?"":d)}))})}function wo(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(a){var s=e.elements[a],r=e.attributes[a]||{},o=Object.keys(e.styles.hasOwnProperty(a)?e.styles[a]:i[a]),d=o.reduce(function(h,u){return h[u]="",h},{});!Ee(s)||!je(s)||(Object.assign(s.style,d),Object.keys(r).forEach(function(h){s.removeAttribute(h)}))})}}const _o={name:"applyStyles",enabled:!0,phase:"write",fn:xo,effect:wo,requires:["computeStyles"]};function ze(t){return t.split("-")[0]}var ct=Math.max,gi=Math.min,wt=Math.round;function ps(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function rr(){return!/^((?!chrome|android).)*safari/i.test(ps())}function _t(t,e,i){e===void 0&&(e=!1),i===void 0&&(i=!1);var a=t.getBoundingClientRect(),s=1,r=1;e&&Ee(t)&&(s=t.offsetWidth>0&&wt(a.width)/t.offsetWidth||1,r=t.offsetHeight>0&&wt(a.height)/t.offsetHeight||1);var o=ut(t)?_e(t):window,d=o.visualViewport,h=!rr()&&i,u=(a.left+(h&&d?d.offsetLeft:0))/s,n=(a.top+(h&&d?d.offsetTop:0))/r,m=a.width/s,c=a.height/r;return{width:m,height:c,top:n,right:u+m,bottom:n+c,left:u,x:u,y:n}}function ks(t){var e=_t(t),i=t.offsetWidth,a=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-a)<=1&&(a=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:a}}function nr(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&Es(i)){var a=e;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Ge(t){return _e(t).getComputedStyle(t)}function So(t){return["table","td","th"].indexOf(je(t))>=0}function et(t){return((ut(t)?t.ownerDocument:t.document)||window.document).documentElement}function wi(t){return je(t)==="html"?t:t.assignedSlot||t.parentNode||(Es(t)?t.host:null)||et(t)}function ua(t){return!Ee(t)||Ge(t).position==="fixed"?null:t.offsetParent}function Co(t){var e=/firefox/i.test(ps()),i=/Trident/i.test(ps());if(i&&Ee(t)){var a=Ge(t);if(a.position==="fixed")return null}var s=wi(t);for(Es(s)&&(s=s.host);Ee(s)&&["html","body"].indexOf(je(s))<0;){var r=Ge(s);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return s;s=s.parentNode}return null}function Zt(t){for(var e=_e(t),i=ua(t);i&&So(i)&&Ge(i).position==="static";)i=ua(i);return i&&(je(i)==="html"||je(i)==="body"&&Ge(i).position==="static")?e:i||Co(t)||e}function Ms(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Bt(t,e,i){return ct(t,gi(e,i))}function Ao(t,e,i){var a=Bt(t,e,i);return a>i?i:a}function or(){return{top:0,right:0,bottom:0,left:0}}function lr(t){return Object.assign({},or(),t)}function cr(t,e){return e.reduce(function(i,a){return i[a]=t,i},{})}var Eo=function(e,i){return e=typeof e=="function"?e(Object.assign({},i.rects,{placement:i.placement})):e,lr(typeof e!="number"?e:cr(e,Jt))};function ko(t){var e,i=t.state,a=t.name,s=t.options,r=i.elements.arrow,o=i.modifiersData.popperOffsets,d=ze(i.placement),h=Ms(d),u=[ve,Me].indexOf(d)>=0,n=u?"height":"width";if(!(!r||!o)){var m=Eo(s.padding,i),c=ks(r),l=h==="y"?ye:ve,f=h==="y"?ke:Me,p=i.rects.reference[n]+i.rects.reference[h]-o[h]-i.rects.popper[n],N=o[h]-i.rects.reference[h],x=Zt(r),w=x?h==="y"?x.clientHeight||0:x.clientWidth||0:0,v=p/2-N/2,y=m[l],b=w-c[n]-m[f],_=w/2-c[n]/2+v,C=Bt(y,_,b),I=h;i.modifiersData[a]=(e={},e[I]=C,e.centerOffset=C-_,e)}}function Mo(t){var e=t.state,i=t.options,a=i.element,s=a===void 0?"[data-popper-arrow]":a;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||nr(e.elements.popper,s)&&(e.elements.arrow=s))}const Oo={name:"arrow",enabled:!0,phase:"main",fn:ko,effect:Mo,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function St(t){return t.split("-")[1]}var Io={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ro(t,e){var i=t.x,a=t.y,s=e.devicePixelRatio||1;return{x:wt(i*s)/s||0,y:wt(a*s)/s||0}}function ha(t){var e,i=t.popper,a=t.popperRect,s=t.placement,r=t.variation,o=t.offsets,d=t.position,h=t.gpuAcceleration,u=t.adaptive,n=t.roundOffsets,m=t.isFixed,c=o.x,l=c===void 0?0:c,f=o.y,p=f===void 0?0:f,N=typeof n=="function"?n({x:l,y:p}):{x:l,y:p};l=N.x,p=N.y;var x=o.hasOwnProperty("x"),w=o.hasOwnProperty("y"),v=ve,y=ye,b=window;if(u){var _=Zt(i),C="clientHeight",I="clientWidth";if(_===_e(i)&&(_=et(i),Ge(_).position!=="static"&&d==="absolute"&&(C="scrollHeight",I="scrollWidth")),_=_,s===ye||(s===ve||s===Me)&&r===Ht){y=ke;var L=m&&_===b&&b.visualViewport?b.visualViewport.height:_[C];p-=L-a.height,p*=h?1:-1}if(s===ve||(s===ye||s===ke)&&r===Ht){v=Me;var E=m&&_===b&&b.visualViewport?b.visualViewport.width:_[I];l-=E-a.width,l*=h?1:-1}}var H=Object.assign({position:d},u&&Io),V=n===!0?Ro({x:l,y:p},_e(i)):{x:l,y:p};if(l=V.x,p=V.y,h){var Q;return Object.assign({},H,(Q={},Q[y]=w?"0":"",Q[v]=x?"0":"",Q.transform=(b.devicePixelRatio||1)<=1?"translate("+l+"px, "+p+"px)":"translate3d("+l+"px, "+p+"px, 0)",Q))}return Object.assign({},H,(e={},e[y]=w?p+"px":"",e[v]=x?l+"px":"",e.transform="",e))}function $o(t){var e=t.state,i=t.options,a=i.gpuAcceleration,s=a===void 0?!0:a,r=i.adaptive,o=r===void 0?!0:r,d=i.roundOffsets,h=d===void 0?!0:d,u={placement:ze(e.placement),variation:St(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,ha(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:h})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,ha(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:h})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Lo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$o,data:{}};var oi={passive:!0};function Po(t){var e=t.state,i=t.instance,a=t.options,s=a.scroll,r=s===void 0?!0:s,o=a.resize,d=o===void 0?!0:o,h=_e(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&u.forEach(function(n){n.addEventListener("scroll",i.update,oi)}),d&&h.addEventListener("resize",i.update,oi),function(){r&&u.forEach(function(n){n.removeEventListener("scroll",i.update,oi)}),d&&h.removeEventListener("resize",i.update,oi)}}const Bo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Po,data:{}};var Do={left:"right",right:"left",bottom:"top",top:"bottom"};function ui(t){return t.replace(/left|right|bottom|top/g,function(e){return Do[e]})}var To={start:"end",end:"start"};function fa(t){return t.replace(/start|end/g,function(e){return To[e]})}function Os(t){var e=_e(t),i=e.pageXOffset,a=e.pageYOffset;return{scrollLeft:i,scrollTop:a}}function Is(t){return _t(et(t)).left+Os(t).scrollLeft}function zo(t,e){var i=_e(t),a=et(t),s=i.visualViewport,r=a.clientWidth,o=a.clientHeight,d=0,h=0;if(s){r=s.width,o=s.height;var u=rr();(u||!u&&e==="fixed")&&(d=s.offsetLeft,h=s.offsetTop)}return{width:r,height:o,x:d+Is(t),y:h}}function jo(t){var e,i=et(t),a=Os(t),s=(e=t.ownerDocument)==null?void 0:e.body,r=ct(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=ct(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),d=-a.scrollLeft+Is(t),h=-a.scrollTop;return Ge(s||i).direction==="rtl"&&(d+=ct(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:d,y:h}}function Rs(t){var e=Ge(t),i=e.overflow,a=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+a)}function mr(t){return["html","body","#document"].indexOf(je(t))>=0?t.ownerDocument.body:Ee(t)&&Rs(t)?t:mr(wi(t))}function Dt(t,e){var i;e===void 0&&(e=[]);var a=mr(t),s=a===((i=t.ownerDocument)==null?void 0:i.body),r=_e(a),o=s?[r].concat(r.visualViewport||[],Rs(a)?a:[]):a,d=e.concat(o);return s?d:d.concat(Dt(wi(o)))}function gs(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Vo(t,e){var i=_t(t,!1,e==="fixed");return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}function pa(t,e,i){return e===sr?gs(zo(t,i)):ut(e)?Vo(e,i):gs(jo(et(t)))}function Fo(t){var e=Dt(wi(t)),i=["absolute","fixed"].indexOf(Ge(t).position)>=0,a=i&&Ee(t)?Zt(t):t;return ut(a)?e.filter(function(s){return ut(s)&&nr(s,a)&&je(s)!=="body"}):[]}function Ho(t,e,i,a){var s=e==="clippingParents"?Fo(t):[].concat(e),r=[].concat(s,[i]),o=r[0],d=r.reduce(function(h,u){var n=pa(t,u,a);return h.top=ct(n.top,h.top),h.right=gi(n.right,h.right),h.bottom=gi(n.bottom,h.bottom),h.left=ct(n.left,h.left),h},pa(t,o,a));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function dr(t){var e=t.reference,i=t.element,a=t.placement,s=a?ze(a):null,r=a?St(a):null,o=e.x+e.width/2-i.width/2,d=e.y+e.height/2-i.height/2,h;switch(s){case ye:h={x:o,y:e.y-i.height};break;case ke:h={x:o,y:e.y+e.height};break;case Me:h={x:e.x+e.width,y:d};break;case ve:h={x:e.x-i.width,y:d};break;default:h={x:e.x,y:e.y}}var u=s?Ms(s):null;if(u!=null){var n=u==="y"?"height":"width";switch(r){case xt:h[u]=h[u]-(e[n]/2-i[n]/2);break;case Ht:h[u]=h[u]+(e[n]/2-i[n]/2);break}}return h}function qt(t,e){e===void 0&&(e={});var i=e,a=i.placement,s=a===void 0?t.placement:a,r=i.strategy,o=r===void 0?t.strategy:r,d=i.boundary,h=d===void 0?lo:d,u=i.rootBoundary,n=u===void 0?sr:u,m=i.elementContext,c=m===void 0?Rt:m,l=i.altBoundary,f=l===void 0?!1:l,p=i.padding,N=p===void 0?0:p,x=lr(typeof N!="number"?N:cr(N,Jt)),w=c===Rt?co:Rt,v=t.rects.popper,y=t.elements[f?w:c],b=Ho(ut(y)?y:y.contextElement||et(t.elements.popper),h,n,o),_=_t(t.elements.reference),C=dr({reference:_,element:v,placement:s}),I=gs(Object.assign({},v,C)),L=c===Rt?I:_,E={top:b.top-L.top+x.top,bottom:L.bottom-b.bottom+x.bottom,left:b.left-L.left+x.left,right:L.right-b.right+x.right},H=t.modifiersData.offset;if(c===Rt&&H){var V=H[s];Object.keys(E).forEach(function(Q){var re=[Me,ke].indexOf(Q)>=0?1:-1,O=[ye,ke].indexOf(Q)>=0?"y":"x";E[Q]+=V[O]*re})}return E}function qo(t,e){e===void 0&&(e={});var i=e,a=i.placement,s=i.boundary,r=i.rootBoundary,o=i.padding,d=i.flipVariations,h=i.allowedAutoPlacements,u=h===void 0?ar:h,n=St(a),m=n?d?da:da.filter(function(f){return St(f)===n}):Jt,c=m.filter(function(f){return u.indexOf(f)>=0});c.length===0&&(c=m);var l=c.reduce(function(f,p){return f[p]=qt(t,{placement:p,boundary:s,rootBoundary:r,padding:o})[ze(p)],f},{});return Object.keys(l).sort(function(f,p){return l[f]-l[p]})}function Uo(t){if(ze(t)===As)return[];var e=ui(t);return[fa(t),e,fa(e)]}function Wo(t){var e=t.state,i=t.options,a=t.name;if(!e.modifiersData[a]._skip){for(var s=i.mainAxis,r=s===void 0?!0:s,o=i.altAxis,d=o===void 0?!0:o,h=i.fallbackPlacements,u=i.padding,n=i.boundary,m=i.rootBoundary,c=i.altBoundary,l=i.flipVariations,f=l===void 0?!0:l,p=i.allowedAutoPlacements,N=e.options.placement,x=ze(N),w=x===N,v=h||(w||!f?[ui(N)]:Uo(N)),y=[N].concat(v).reduce(function(Ce,pe){return Ce.concat(ze(pe)===As?qo(e,{placement:pe,boundary:n,rootBoundary:m,padding:u,flipVariations:f,allowedAutoPlacements:p}):pe)},[]),b=e.rects.reference,_=e.rects.popper,C=new Map,I=!0,L=y[0],E=0;E<y.length;E++){var H=y[E],V=ze(H),Q=St(H)===xt,re=[ye,ke].indexOf(V)>=0,O=re?"width":"height",ne=qt(e,{placement:H,boundary:n,rootBoundary:m,altBoundary:c,padding:u}),q=re?Q?Me:ve:Q?ke:ye;b[O]>_[O]&&(q=ui(q));var Z=ui(q),te=[];if(r&&te.push(ne[V]<=0),d&&te.push(ne[q]<=0,ne[Z]<=0),te.every(function(Ce){return Ce})){L=H,I=!1;break}C.set(H,te)}if(I)for(var le=f?3:1,Se=function(pe){var Fe=y.find(function(Re){var Oe=C.get(Re);if(Oe)return Oe.slice(0,pe).every(function($e){return $e})});if(Fe)return L=Fe,"break"},xe=le;xe>0;xe--){var T=Se(xe);if(T==="break")break}e.placement!==L&&(e.modifiersData[a]._skip=!0,e.placement=L,e.reset=!0)}}const Go={name:"flip",enabled:!0,phase:"main",fn:Wo,requiresIfExists:["offset"],data:{_skip:!1}};function ga(t,e,i){return i===void 0&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Na(t){return[ye,Me,ke,ve].some(function(e){return t[e]>=0})}function Ko(t){var e=t.state,i=t.name,a=e.rects.reference,s=e.rects.popper,r=e.modifiersData.preventOverflow,o=qt(e,{elementContext:"reference"}),d=qt(e,{altBoundary:!0}),h=ga(o,a),u=ga(d,s,r),n=Na(h),m=Na(u);e.modifiersData[i]={referenceClippingOffsets:h,popperEscapeOffsets:u,isReferenceHidden:n,hasPopperEscaped:m},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":n,"data-popper-escaped":m})}const Jo={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ko};function Zo(t,e,i){var a=ze(t),s=[ve,ye].indexOf(a)>=0?-1:1,r=typeof i=="function"?i(Object.assign({},e,{placement:t})):i,o=r[0],d=r[1];return o=o||0,d=(d||0)*s,[ve,Me].indexOf(a)>=0?{x:d,y:o}:{x:o,y:d}}function Xo(t){var e=t.state,i=t.options,a=t.name,s=i.offset,r=s===void 0?[0,0]:s,o=ar.reduce(function(n,m){return n[m]=Zo(m,e.rects,r),n},{}),d=o[e.placement],h=d.x,u=d.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=h,e.modifiersData.popperOffsets.y+=u),e.modifiersData[a]=o}const Yo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Xo};function Qo(t){var e=t.state,i=t.name;e.modifiersData[i]=dr({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const el={name:"popperOffsets",enabled:!0,phase:"read",fn:Qo,data:{}};function tl(t){return t==="x"?"y":"x"}function il(t){var e=t.state,i=t.options,a=t.name,s=i.mainAxis,r=s===void 0?!0:s,o=i.altAxis,d=o===void 0?!1:o,h=i.boundary,u=i.rootBoundary,n=i.altBoundary,m=i.padding,c=i.tether,l=c===void 0?!0:c,f=i.tetherOffset,p=f===void 0?0:f,N=qt(e,{boundary:h,rootBoundary:u,padding:m,altBoundary:n}),x=ze(e.placement),w=St(e.placement),v=!w,y=Ms(x),b=tl(y),_=e.modifiersData.popperOffsets,C=e.rects.reference,I=e.rects.popper,L=typeof p=="function"?p(Object.assign({},e.rects,{placement:e.placement})):p,E=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),H=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(_){if(r){var Q,re=y==="y"?ye:ve,O=y==="y"?ke:Me,ne=y==="y"?"height":"width",q=_[y],Z=q+N[re],te=q-N[O],le=l?-I[ne]/2:0,Se=w===xt?C[ne]:I[ne],xe=w===xt?-I[ne]:-C[ne],T=e.elements.arrow,Ce=l&&T?ks(T):{width:0,height:0},pe=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:or(),Fe=pe[re],Re=pe[O],Oe=Bt(0,C[ne],Ce[ne]),$e=v?C[ne]/2-le-Oe-Fe-E.mainAxis:Se-Oe-Fe-E.mainAxis,Et=v?-C[ne]/2+le+Oe+Re+E.mainAxis:xe+Oe+Re+E.mainAxis,Ae=e.elements.arrow&&Zt(e.elements.arrow),it=Ae?y==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,st=(Q=H?.[y])!=null?Q:0,Mi=q+$e-st-it,Oi=q+Et-st,Yt=Bt(l?gi(Z,Mi):Z,q,l?ct(te,Oi):te);_[y]=Yt,V[y]=Yt-q}if(d){var Qt,Ii=y==="x"?ye:ve,ei=y==="x"?ke:Me,He=_[b],ft=b==="y"?"height":"width",kt=He+N[Ii],Le=He-N[ei],pt=[ye,ve].indexOf(x)!==-1,qe=(Qt=H?.[b])!=null?Qt:0,at=pt?kt:He-C[ft]-I[ft]-qe+E.altAxis,Mt=pt?He+C[ft]+I[ft]-qe-E.altAxis:Le,ti=l&&pt?Ao(at,He,Mt):Bt(l?at:kt,He,l?Mt:Le);_[b]=ti,V[b]=ti-He}e.modifiersData[a]=V}}const sl={name:"preventOverflow",enabled:!0,phase:"main",fn:il,requiresIfExists:["offset"]};function al(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function rl(t){return t===_e(t)||!Ee(t)?Os(t):al(t)}function nl(t){var e=t.getBoundingClientRect(),i=wt(e.width)/t.offsetWidth||1,a=wt(e.height)/t.offsetHeight||1;return i!==1||a!==1}function ol(t,e,i){i===void 0&&(i=!1);var a=Ee(e),s=Ee(e)&&nl(e),r=et(e),o=_t(t,s,i),d={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(a||!a&&!i)&&((je(e)!=="body"||Rs(r))&&(d=rl(e)),Ee(e)?(h=_t(e,!0),h.x+=e.clientLeft,h.y+=e.clientTop):r&&(h.x=Is(r))),{x:o.left+d.scrollLeft-h.x,y:o.top+d.scrollTop-h.y,width:o.width,height:o.height}}function ll(t){var e=new Map,i=new Set,a=[];t.forEach(function(r){e.set(r.name,r)});function s(r){i.add(r.name);var o=[].concat(r.requires||[],r.requiresIfExists||[]);o.forEach(function(d){if(!i.has(d)){var h=e.get(d);h&&s(h)}}),a.push(r)}return t.forEach(function(r){i.has(r.name)||s(r)}),a}function cl(t){var e=ll(t);return vo.reduce(function(i,a){return i.concat(e.filter(function(s){return s.phase===a}))},[])}function ml(t){var e;return function(){return e||(e=new Promise(function(i){Promise.resolve().then(function(){e=void 0,i(t())})})),e}}function dl(t){var e=t.reduce(function(i,a){var s=i[a.name];return i[a.name]=s?Object.assign({},s,a,{options:Object.assign({},s.options,a.options),data:Object.assign({},s.data,a.data)}):a,i},{});return Object.keys(e).map(function(i){return e[i]})}var ba={placement:"bottom",modifiers:[],strategy:"absolute"};function ya(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function ul(t){t===void 0&&(t={});var e=t,i=e.defaultModifiers,a=i===void 0?[]:i,s=e.defaultOptions,r=s===void 0?ba:s;return function(d,h,u){u===void 0&&(u=r);var n={placement:"bottom",orderedModifiers:[],options:Object.assign({},ba,r),modifiersData:{},elements:{reference:d,popper:h},attributes:{},styles:{}},m=[],c=!1,l={state:n,setOptions:function(x){var w=typeof x=="function"?x(n.options):x;p(),n.options=Object.assign({},r,n.options,w),n.scrollParents={reference:ut(d)?Dt(d):d.contextElement?Dt(d.contextElement):[],popper:Dt(h)};var v=cl(dl([].concat(a,n.options.modifiers)));return n.orderedModifiers=v.filter(function(y){return y.enabled}),f(),l.update()},forceUpdate:function(){if(!c){var x=n.elements,w=x.reference,v=x.popper;if(ya(w,v)){n.rects={reference:ol(w,Zt(v),n.options.strategy==="fixed"),popper:ks(v)},n.reset=!1,n.placement=n.options.placement,n.orderedModifiers.forEach(function(E){return n.modifiersData[E.name]=Object.assign({},E.data)});for(var y=0;y<n.orderedModifiers.length;y++){if(n.reset===!0){n.reset=!1,y=-1;continue}var b=n.orderedModifiers[y],_=b.fn,C=b.options,I=C===void 0?{}:C,L=b.name;typeof _=="function"&&(n=_({state:n,options:I,name:L,instance:l})||n)}}}},update:ml(function(){return new Promise(function(N){l.forceUpdate(),N(n)})}),destroy:function(){p(),c=!0}};if(!ya(d,h))return l;l.setOptions(u).then(function(N){!c&&u.onFirstUpdate&&u.onFirstUpdate(N)});function f(){n.orderedModifiers.forEach(function(N){var x=N.name,w=N.options,v=w===void 0?{}:w,y=N.effect;if(typeof y=="function"){var b=y({state:n,name:x,instance:l,options:v}),_=function(){};m.push(b||_)}})}function p(){m.forEach(function(N){return N()}),m=[]}return l}}var hl=[Bo,el,Lo,_o,Yo,Go,sl,Oo,Jo],fl=ul({defaultModifiers:hl});const ge=t=>t??X,pl=":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}",gl="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",Nl="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",bl="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";var yl=Object.defineProperty,$s=(t,e,i,a)=>{for(var s=void 0,r=t.length-1,o;r>=0;r--)(o=t[r])&&(s=o(e,i,s)||s);return s&&yl(e,i,s),s},Nt;const Ut=(Nt=class extends We{static parseLevel(t){if(t){const e=Object.keys(Ni).find(i=>i.toLowerCase()===t.toLowerCase());return e&&Ni[e]}}static get styles(){return[Gt`
|
|
1423
1423
|
${At(pl)}
|
|
1424
|
-
`]}render(){return be`${this.iconToUse&&be`<img class="icon" src="${this.iconToUse}">`}${this.message}`}get iconToUse(){return this.icon||this._defaultIconPath}shouldUpdate(t){return t.has("level")&&(this._defaultIconPath=this.iconForLevel,!this.icon)?!0:super.shouldUpdate(t)}get iconForLevel(){switch(Nt.parseLevel(this.level)){case"warn":return bl;case"suggest":return Nl;case"error":return gl;default:return null}}},Nt.ID="sd-field-validation-message",Nt.levelConverter={fromAttribute(t){return Nt.parseLevel(t)},toAttribute(t){return t&&t.toLowerCase()}},Nt);$s([P({type:String,attribute:!0})],Ut.prototype,"message");$s([P({type:String,attribute:!0})],Ut.prototype,"icon");$s([P({converter:Ut.levelConverter,reflect:!0})],Ut.prototype,"level");let ji=Ut;var Ni=(t=>(t.Warn="warn",t.Suggest="suggest",t.Error="error",t))(Ni||{});customElements.get(ji.ID)||customElements.define(ji.ID,ji);const vl=":host{display:inline-flex;position:relative;cursor:text;font-family:Segoe UI,Lucida Sans,Arial,sans-serif;font-size:16px;color:#111;contain:layout style;flex-direction:column}:host([hidden]),:host([type=hidden]){display:none!important}:host([effective-disabled]){opacity:.6;cursor:default;filter:grayscale(100%)}:host([effective-disabled]) .unfocused-line,:host([effective-disabled]) .focused-line{border-bottom-style:dashed}:host(:not([effective-disabled]):focus) .focused-line,:host(:not([effective-disabled])[focused]) .focused-line{transform:none;transition:transform .25s}:host(:not([effective-disabled]):focus) .label.float,:host(:not([effective-disabled])[focused]) .label.float{color:var(--sd-input-focused-color, #1467ba)}:host([inactive]) .input{pointer-events:none}:host([effective-disabled]:focus),:host([effective-disabled][focused]){box-shadow:0 0 0 1px #111}:host(:not([effective-disabled])[validationlevel]) .focused-line,:host(:not([effective-disabled]):invalid) .focused-line{transform:none;transition:transform .25s}:host([validationlevel=warn i]) .focused-line{border-bottom-color:var(--sd-input-validation-color, #555555)}:host([validationlevel=warn i]) .label,:host([validationlevel=warn i]) .validation-message{color:var(--sd-input-validation-color, #555555)!important}:host([validationlevel=suggest i]) .focused-line{border-bottom-color:var(--sd-input-validation-color, #bf8800)}:host([validationlevel=suggest i]) .label,:host([validationlevel=suggest i]) .validation-message{color:var(--sd-input-validation-color, #bf8800)!important}:host([validationlevel=error i]) .focused-line,:host(:not([validationlevel]):invalid) .focused-line{border-bottom-color:var(--sd-input-validation-color, #cc0017)}:host([validationlevel=error i]) .label,:host([validationlevel=error i]) .validation-message,:host(:not([validationlevel]):invalid) .label,:host(:not([validationlevel]):invalid) .validation-message{color:var(--sd-input-validation-color, #cc0017)!important}.validation-message-wrapper{min-height:var(--sd-input-validation-message-minheight, 0px);position:relative;font-size:0}.validation-message{position:relative;position:var(--sd-input-validation-message-minheight, absolute);left:0;right:0}.label.float{transform:translateY(-75%) scale(.75);width:133%}.label:not(.float){max-width:100%}.floated-label-placeholder{height:20px;width:100%}.label{position:absolute;top:0;left:0;line-height:24px;pointer-events:none;color:var(--sd-input-color, #767676);transition:transform .25s,width .25s;transform-origin:left top}.input-wrapper{position:relative;display:flex;flex-direction:row;align-items:center;background-color:var(--input-wrapper-background-color)}:host([extended-prefix]:focus-within:not([effective-disabled])) .input-wrapper{flex-direction:column;align-items:baseline}:host([extended-prefix]:focus-within:not([effective-disabled])) .input-container{width:100%}:host([extended-prefix]:not(:focus-within)) .input-container,:host([extended-prefix][effective-disabled]) .input-container{width:0px}.input-container{line-height:var(--sd-input-line-height, 24px);flex:1 1 auto}.input{width:100%;background:var(--sd-input-background, transparent);font-family:inherit;font-size:inherit;text-align:inherit;color:inherit;border:none;outline:none;resize:none;padding-left:0;padding-right:0}.input:-webkit-autofill{animation-name:onautofillstart}.input:not(:-webkit-autofill){animation-name:onautofillcancel}@keyframes onautofillstart{0%{outline:none}}@keyframes onautofillcancel{0%{outline:none}}.label,input.input{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}.validation-message{text-overflow:ellipsis;overflow-x:hidden;white-space:normal;white-space:var(--sd-input-validation-message-minheight, nowrap)}.input::placeholder{color:var(--sd-input-color, #767676)}.underline{height:2px;width:100%;position:relative}.unfocused-line,.focused-line{position:absolute;inset:0}.unfocused-line{border-bottom:1px solid var(--sd-input-underline-color, #959595)}.focused-line{border-bottom:2px solid var(--sd-input-focused-color, #1467ba);transform-origin:center center;transform:scale3d(0,1,1)}.prefix,.suffix{display:flex;flex-wrap:nowrap;max-width:100%}.prefix ::slotted(*),.suffix ::slotted(*){display:flex}";var xl=Object.defineProperty,ie=(t,e,i,a)=>{for(var s=void 0,r=t.length-1,o;r>=0;r--)(o=t[r])&&(s=o(e,i,s)||s);return s&&xl(e,i,s),s};const wl="sd-lit-input",va="delegatesFocus"in window.ShadowRoot.prototype;let _l=0;var Te;const ee=(Te=class extends We{constructor(){super(),this.rows=1,this.effectiveDisabled=!1,this.type="text",this.autocomplete="off";const t=_l++;this._validationMessageId=Te.ID+"_message_"+t,this._inputId=Te.ID+"_input_"+t,this.attachInternals&&!this.activeShadyDOM&&(this._internals=this.attachInternals())}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabIndex")||(this.tabIndex=0)}firstUpdated(t){super.firstUpdated(t),this.initAutocompleted(this.inputElement),this.updateInitialValue(),this.updateFormValidity(),this.hasAttribute("disabled")&&(this.disabled=!0),this.inputElement.oninput=e=>{this.autocompleted=e.inputType==="insertReplacementText"||!("data"in e),this.currentText=this.inputElement.value,this.fireValueChange(!0)},this.inputElement.onchange=()=>this.fireValueChange(),va||(this.inputElement.onfocus=()=>this.setAttribute("focused",""),this.inputElement.onblur=()=>this.removeAttribute("focused"),this.addEventListener("focus",e=>{e.target===this&&this.inputElement.focus()})),this.inputElement.addEventListener("keyup",()=>{this.updateFormValidity()}),this.addEventListener("keydown",e=>{e.key=="Enter"&&this._internals?.form?.requestSubmit()}),this._initialized=!0}initAutocompleted(t){const e=i=>{/^onautofillstart(-sd-lit-input-\d+|\s?)$/.test(i.animationName)?this.autocompleted=!0:/^onautofillcancel(-sd-lit-input-\d+|\s?)$/.test(i.animationName)&&(this.autocompleted=!1)};this.activeShadyDOM?(this._needsAutocompletedCheck=!0,this.activeShadyDOM.nativeMethods.addEventListener.call(t,"animationstart",e)):t.addEventListener("animationstart",e)}get activeShadyDOM(){const t=window.ShadyDOM;return t&&t.inUse?t:null}updateInitialValue(){typeof this.currentText<"u"?this.value=this.currentText:this.value=this.getAttribute("value"),this.value&&(this.currentText=this.inputElement.value),this._initialValue=this.value}get disabled(){return this.hasAttribute("disabled")}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled"),this._internals||(this.effectiveDisabled=t)}get inputElement(){return this.shadowRoot&&!this._inputElement&&(this._inputElement=this.shadowRoot.querySelector(".input")),this._inputElement}get value(){return this.inputElement&&this.inputElement.value}set value(t){this.currentText=t||"",this.inputElement&&(this.inputElement.value=this.currentText),this.setFormValue(this.currentText)}get selectionStart(){return this.inputElement?this.inputElement.selectionStart:0}focus(){this.inputElement?this.inputElement.focus():super.focus()}select(){this.inputElement&&this.inputElement.select()}setSelectionRange(t,e){this.updateComplete.then(()=>{this.inputElement&&this.inputElement.setSelectionRange(t,e)})}static get styles(){return[Gt`
|
|
1424
|
+
`]}render(){return be`${this.iconToUse&&be`<img class="icon" src="${this.iconToUse}">`}${this.message}`}get iconToUse(){return this.icon||this._defaultIconPath}shouldUpdate(t){return t.has("level")&&(this._defaultIconPath=this.iconForLevel,!this.icon)?!0:super.shouldUpdate(t)}get iconForLevel(){switch(Nt.parseLevel(this.level)){case"warn":return bl;case"suggest":return Nl;case"error":return gl;default:return null}}},Nt.ID="sd-field-validation-message",Nt.levelConverter={fromAttribute(t){return Nt.parseLevel(t)},toAttribute(t){return t&&t.toLowerCase()}},Nt);$s([P({type:String,attribute:!0})],Ut.prototype,"message");$s([P({type:String,attribute:!0})],Ut.prototype,"icon");$s([P({converter:Ut.levelConverter,reflect:!0})],Ut.prototype,"level");let ji=Ut;var Ni=(t=>(t.Warn="warn",t.Suggest="suggest",t.Error="error",t))(Ni||{});customElements.get(ji.ID)||customElements.define(ji.ID,ji);const vl=":host{display:inline-flex;position:relative;cursor:text;font-family:Segoe UI,Lucida Sans,Arial,sans-serif;font-size:16px;color:#111;contain:layout style;flex-direction:column}:host([hidden]),:host([type=hidden]){display:none!important}:host([effective-disabled]){opacity:.6;cursor:default;filter:grayscale(100%)}:host([effective-disabled]) .unfocused-line,:host([effective-disabled]) .focused-line{border-bottom-style:dashed}:host(:not([effective-disabled]):focus) .focused-line,:host(:not([effective-disabled])[focused]) .focused-line{transform:none;transition:transform .25s}:host(:not([effective-disabled]):focus) .label.float,:host(:not([effective-disabled])[focused]) .label.float{color:var(--sd-input-focused-color, #1467ba)}:host([inactive]) .input{pointer-events:none}:host([effective-disabled]:focus),:host([effective-disabled][focused]){box-shadow:0 0 0 1px #111}:host(:not([effective-disabled])[validationlevel]) .focused-line,:host(:not([effective-disabled]):invalid) .focused-line{transform:none;transition:transform .25s}:host([validationlevel=warn i]) .focused-line{border-bottom-color:var(--sd-input-validation-color, #555555)}:host([validationlevel=warn i]) .label,:host([validationlevel=warn i]) .validation-message{color:var(--sd-input-validation-color, #555555)!important}:host([validationlevel=suggest i]) .focused-line{border-bottom-color:var(--sd-input-validation-color, #bf8800)}:host([validationlevel=suggest i]) .label,:host([validationlevel=suggest i]) .validation-message{color:var(--sd-input-validation-color, #bf8800)!important}:host([validationlevel=error i]) .focused-line,:host(:not([validationlevel]):invalid) .focused-line{border-bottom-color:var(--sd-input-validation-color, #cc0017)}:host([validationlevel=error i]) .label,:host([validationlevel=error i]) .validation-message,:host(:not([validationlevel]):invalid) .label,:host(:not([validationlevel]):invalid) .validation-message{color:var(--sd-input-validation-color, #cc0017)!important}.validation-message-wrapper{min-height:var(--sd-input-validation-message-minheight, 0px);position:relative;font-size:0}.validation-message{position:relative;position:var(--sd-input-validation-message-minheight, absolute);left:0;right:0}.label.float{transform:translateY(-75%) scale(.75);width:133%}.label:not(.float){max-width:100%}.floated-label-placeholder{height:20px;width:100%}.label{position:absolute;top:0;left:0;line-height:24px;pointer-events:none;color:var(--sd-input-color, #767676);transition:transform .25s,width .25s;transform-origin:left top}.input-wrapper{position:relative;display:flex;flex-direction:row;align-items:center;background-color:var(--input-wrapper-background-color)}:host([extended-prefix]:focus-within:not([effective-disabled])) .input-wrapper{flex-direction:column;align-items:baseline}:host([extended-prefix]:focus-within:not([effective-disabled])) .input-container{width:100%}:host([extended-prefix]:not(:focus-within)) .input-container,:host([extended-prefix][effective-disabled]) .input-container{width:0px}.input-container{line-height:var(--sd-input-line-height, 24px);flex:1 1 auto}.input{width:100%;background:var(--sd-input-background, transparent);font-family:inherit;font-size:inherit;text-align:inherit;color:inherit;border:none;outline:none;resize:none;padding-left:0;padding-right:0}.input:-webkit-autofill{animation-name:onautofillstart}.input:not(:-webkit-autofill){animation-name:onautofillcancel}@keyframes onautofillstart{0%{outline:none}}@keyframes onautofillcancel{0%{outline:none}}.label,input.input{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}.validation-message{text-overflow:ellipsis;overflow-x:hidden;white-space:normal;white-space:var(--sd-input-validation-message-minheight, nowrap)}.input::placeholder{color:var(--sd-input-color, #767676)}.underline{height:2px;width:100%;position:relative}.unfocused-line,.focused-line{position:absolute;inset:0}.unfocused-line{border-bottom:1px solid var(--sd-input-underline-color, #959595)}.focused-line{border-bottom:2px solid var(--sd-input-focused-color, #1467ba);transform-origin:center center;transform:scale3d(0,1,1)}.prefix,.suffix{display:flex;flex-wrap:nowrap;max-width:100%}.prefix ::slotted(*),.suffix ::slotted(*){display:flex}";var xl=Object.defineProperty,ie=(t,e,i,a)=>{for(var s=void 0,r=t.length-1,o;r>=0;r--)(o=t[r])&&(s=o(e,i,s)||s);return s&&xl(e,i,s),s};const wl="sd-lit-input",va="delegatesFocus"in window.ShadowRoot.prototype;let _l=0;var Te;const ee=(Te=class extends We{constructor(){super(),this.rows=1,this.effectiveDisabled=!1,this.type="text",this.autocomplete="off";const t=_l++;this._validationMessageId=Te.ID+"_message_"+t,this._inputId=Te.ID+"_input_"+t,this.attachInternals&&!this.activeShadyDOM&&(this._internals=this.attachInternals())}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabIndex")||(this.tabIndex=0)}firstUpdated(t){super.firstUpdated(t),this.initAutocompleted(this.inputElement),this.updateInitialValue(),this.updateFormValidity(),this.hasAttribute("disabled")&&(this.disabled=!0),this.inputElement.oninput=e=>{this.autocompleted=e.inputType==="insertReplacementText"||!("data"in e),this.currentText=this.inputElement.value,this.fireValueChange(!0)},this.inputElement.onchange=()=>this.fireValueChange(),va||(this.inputElement.onfocus=()=>this.setAttribute("focused",""),this.inputElement.onblur=()=>this.removeAttribute("focused"),this.addEventListener("focus",e=>{e.target===this&&this.inputElement.focus()})),this.inputElement.addEventListener("keyup",()=>{this.updateFormValidity()}),this.addEventListener("keydown",e=>{this.rows==1&&e.key=="Enter"&&this._internals?.form?.requestSubmit()}),this._initialized=!0}initAutocompleted(t){const e=i=>{/^onautofillstart(-sd-lit-input-\d+|\s?)$/.test(i.animationName)?this.autocompleted=!0:/^onautofillcancel(-sd-lit-input-\d+|\s?)$/.test(i.animationName)&&(this.autocompleted=!1)};this.activeShadyDOM?(this._needsAutocompletedCheck=!0,this.activeShadyDOM.nativeMethods.addEventListener.call(t,"animationstart",e)):t.addEventListener("animationstart",e)}get activeShadyDOM(){const t=window.ShadyDOM;return t&&t.inUse?t:null}updateInitialValue(){typeof this.currentText<"u"?this.value=this.currentText:this.value=this.getAttribute("value"),this.value&&(this.currentText=this.inputElement.value),this._initialValue=this.value}get disabled(){return this.hasAttribute("disabled")}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled"),this._internals||(this.effectiveDisabled=t)}get inputElement(){return this.shadowRoot&&!this._inputElement&&(this._inputElement=this.shadowRoot.querySelector(".input")),this._inputElement}get value(){return this.inputElement&&this.inputElement.value}set value(t){this.currentText=t||"",this.inputElement&&(this.inputElement.value=this.currentText),this.setFormValue(this.currentText)}get selectionStart(){return this.inputElement?this.inputElement.selectionStart:0}focus(){this.inputElement?this.inputElement.focus():super.focus()}select(){this.inputElement&&this.inputElement.select()}setSelectionRange(t,e){this.updateComplete.then(()=>{this.inputElement&&this.inputElement.setSelectionRange(t,e)})}static get styles(){return[Gt`
|
|
1425
1425
|
${At(vl)}
|
|
1426
1426
|
`]}render(){let t;const e=this.validationMessage||this.inputElement?.validationMessage,i=e||this.validationLevel!=null;return this.rows===1?t=be`
|
|
1427
1427
|
<input
|
|
@@ -1521,13 +1521,13 @@ function updateMandatory(combobox: ComboBox) {
|
|
|
1521
1521
|
${a?be` <div class="${t}-icon" style="background-image:url('${a}')" aria-hidden="true"></div> `:X}
|
|
1522
1522
|
${this.contentMode==="html"?Sl(e):e}
|
|
1523
1523
|
</div>
|
|
1524
|
-
`:X}updated(t){super.updated(t),t.has("selected")&&this.setAttribute("aria-selected",String(this.selected))}get missingWidthForTexts(){const t=this.enableLineClamp;this.removeAttribute("enable-line-clamp");let e=0;const i=this.shadowRoot.querySelector(".caption");i&&(e+=i.scrollWidth-i.clientWidth);const a=this.shadowRoot.querySelector(".description");return a&&(e=Math.max(e,a.scrollWidth-a.clientWidth)),e>0&&e++,t&&this.setAttribute("enable-line-clamp",""),e}handleIconClick(t){!this.disabled&&!this.dispatchEvent(new PointerEvent("list-item-icon-click",t))&&t.preventDefault()}getLevelIndicators(){return this.level?Array(Number(this.level)).fill(null):[]}},ot.ID="sd-list-item",ot.ensureDefined=()=>{customElements.get(ot.ID)||customElements.define(ot.ID,ot)},ot);fe([P({type:String})],ue.prototype,"caption");fe([P({type:String})],ue.prototype,"description");fe([P({type:String})],ue.prototype,"descriptionIcon");fe([P({type:Boolean})],ue.prototype,"selected");fe([P({type:String})],ue.prototype,"icon");fe([P({type:String})],ue.prototype,"iconBackgroundColor");fe([P({type:String})],ue.prototype,"iconPlaceholder");fe([P({type:Number})],ue.prototype,"level");fe([P()],ue.prototype,"contentMode");fe([P({type:Boolean,reflect:!0,attribute:"enable-line-clamp"})],ue.prototype,"enableLineClamp");fe([P({converter:{fromAttribute:t=>t=="true",toAttribute:t=>t},reflect:!0,attribute:"aria-disabled"})],ue.prototype,"disabled");fe([P({type:String,attribute:"icon-attr-aria-label"})],ue.prototype,"iconAttrAriaLabel");fe([P({type:String,reflect:!0})],ue.prototype,"role");fe([P({type:String,attribute:"caption-attr-title"})],ue.prototype,"captionAttrTitle");fe([P({type:String,attribute:"description-attr-title"})],ue.prototype,"descriptionAttrTitle");fe([P({type:String,attribute:"icon-attr-title"})],ue.prototype,"iconAttrTitle");let yt=ue;const gr=(t,e)=>{const i=document.createElement(yt.ID);if(t){if(i.caption=t.caption,i.description=t.description,i.descriptionIcon=t.descriptionIcon,i.icon=t.icon,i.iconBackgroundColor=t.iconBackgroundColor,i.iconPlaceholder=t.iconPlaceholder,i.level=t.level,i.disabled=t.disabled,t.contentMode&&(i.contentMode=t.contentMode),t.leftContentGenerator){const a=t.leftContentGenerator(t,i);a&&(a.slot="left-content",i.appendChild(a))}if(t.rightContentGenerator){const a=t.rightContentGenerator(t,i);a&&(a.slot="right-content",i.appendChild(a))}}return i};yt.ensureDefined();class Pl{getOffsetForIndexAndAlignment(e,i,a,s,r,o){const d=Math.max(0,o*s),h=Math.min(d,e*s),u=Math.max(0,e*s-r+s);switch(i){case"start":return h;case"end":return u;case"center":{const n=Math.round(u+(h-u)/2);return n<Math.ceil(r/2)?0:n>d+Math.floor(r/2)?d:n}case"auto":default:return a>=u&&a<=h?a:a<u?u:h}}debounce(e){let i;return(...a)=>{i&&window.cancelAnimationFrame(i),i=window.requestAnimationFrame(()=>{e(...a),i=null})}}}const Bl=new Pl;class Dl{constructor(e=100,i=5){this.pageSize=e,this.preloadedItemsCount=i,this._finalSizeIsKnown=!1,this._itemCache=[],this._lastRequestedFirstIndex=0,this._lastRequestedLastIndex=0,this._lastLoadedIndex=0,this.handleListDataRequest=a=>{const{startIndex:s,stopIndex:r}=a.detail;this._lastRequestedFirstIndex=s,this._lastRequestedLastIndex=r,this._list.items=this._itemCache.slice(s,r+1),!this.finalSizeIsKnown&&this._lastLoadedIndex<r+this.preloadedItemsCount&&this.requestData()},this.itemCount=e}get currentPage(){return this.items.length==0&&this.finalSizeIsKnown?0:Math.floor((this.items.length-1)/this.pageSize)}get finalSizeIsKnown(){return this._finalSizeIsKnown}set finalSizeIsKnown(e){this._finalSizeIsKnown=e,e&&(this.itemCount=this._itemCache.length),this._list&&(this._list.finalSizeIsKnown=e)}get itemCount(){return this._itemCount}set itemCount(e){this._itemCount=e,this._list&&(this._list.itemCount=e)}get items(){return this._itemCache}set items(e){this._itemCache=e,this.onItemsChange()}addItems(e){this._itemCache=this._itemCache.concat(e),this.onItemsChange()}connectList(e){this._list&&this._list.removeEventListener("data-request",this.handleListDataRequest),this._list=e,e.itemCount=this.itemCount,e.addEventListener("data-request",this.handleListDataRequest),e.finalSizeIsKnown=this._finalSizeIsKnown}onItemsChange(){this._pendingDataRequest=!1,this._lastLoadedIndex=this._itemCache.length-1,this.finalSizeIsKnown?this.itemCount=this._itemCache.length:this._lastLoadedIndex>this.itemCount&&(this.itemCount=this._lastLoadedIndex),this._list&&(this._list.items=this._itemCache.slice(this._lastRequestedFirstIndex,this._lastRequestedLastIndex+1))}requestData(){if(!this._pendingDataRequest)if(this.onDataRequest)this._pendingDataRequest=!0,this.onDataRequest(this.currentPage+1),this._lastLoadedIndex+=this.pageSize-1,this._lastLoadedIndex>this.itemCount&&(this.itemCount=this._lastLoadedIndex);else throw Error("The final size is not yet known and the list would require item data from index "+this._lastRequestedFirstIndex+". to "+this._lastRequestedLastIndex+". which is not possible to load without a configured onDataRequest")}}const Tl=":host{display:block;position:relative;contain:layout}:host(:focus){outline:none}:host(:focus-visible) ::slotted([focused]){box-shadow:0 0 0 1px #1467ba inset}.container{width:100%}.container>::slotted(*){width:100%;position:absolute;box-sizing:border-box}.container>::slotted(:not([last])){border-bottom:1px solid #d9d9d9}";var zl=Object.defineProperty,jl=Object.getOwnPropertyDescriptor,tt=(t,e,i,a)=>{for(var s=a>1?void 0:a?jl(e,i):e,r=t.length-1,o;r>=0;r--)(o=t[r])&&(s=(a?o(e,i,s):o(s))||s);return a&&s&&zl(e,i,s),s},Lt=(t=>(t.TriggerOnly="trigger-only",t.Single="single",t.Multi="multi",t))(Lt||{});let Vl=0;var Ye;const Ke=(Ye=class extends We{constructor(){super(),this.items=[],this.selectionType="trigger-only",this.id=Ye.ID+"_"+Vl++,this.role="listbox",this.itemGenerator=gr,this._lastKnownScrollTop=0,this._lastRenderedScrollTop=0,this._itemsRenderData=[],this._elementCache=new Map,this._visibleItemsNum=0,this._selectedIndices=[],this._focusIndex=-1,this._lastKnownHeight=0,this.onScroll=()=>{this._lastKnownScrollTop=this.scrollTop;const t=this._lastRenderedScrollTop-this._lastKnownScrollTop;Math.abs(t)>=this.itemHeight&&(this._lastRenderedScrollTop=this._lastKnownScrollTop,this.requestUpdate())},this.handleKeyDown=t=>{let e=!0;switch(t.key){case"Down":case"ArrowDown":this.focusIndex=
|
|
1524
|
+
`:X}updated(t){super.updated(t),t.has("selected")&&this.setAttribute("aria-selected",String(this.selected))}get missingWidthForTexts(){const t=this.enableLineClamp;this.removeAttribute("enable-line-clamp");let e=0;const i=this.shadowRoot.querySelector(".caption");i&&(e+=i.scrollWidth-i.clientWidth);const a=this.shadowRoot.querySelector(".description");return a&&(e=Math.max(e,a.scrollWidth-a.clientWidth)),e>0&&e++,t&&this.setAttribute("enable-line-clamp",""),e}handleIconClick(t){!this.disabled&&!this.dispatchEvent(new PointerEvent("list-item-icon-click",t))&&t.preventDefault()}getLevelIndicators(){return this.level?Array(Number(this.level)).fill(null):[]}},ot.ID="sd-list-item",ot.ensureDefined=()=>{customElements.get(ot.ID)||customElements.define(ot.ID,ot)},ot);fe([P({type:String})],ue.prototype,"caption");fe([P({type:String})],ue.prototype,"description");fe([P({type:String})],ue.prototype,"descriptionIcon");fe([P({type:Boolean})],ue.prototype,"selected");fe([P({type:String})],ue.prototype,"icon");fe([P({type:String})],ue.prototype,"iconBackgroundColor");fe([P({type:String})],ue.prototype,"iconPlaceholder");fe([P({type:Number})],ue.prototype,"level");fe([P()],ue.prototype,"contentMode");fe([P({type:Boolean,reflect:!0,attribute:"enable-line-clamp"})],ue.prototype,"enableLineClamp");fe([P({converter:{fromAttribute:t=>t=="true",toAttribute:t=>t},reflect:!0,attribute:"aria-disabled"})],ue.prototype,"disabled");fe([P({type:String,attribute:"icon-attr-aria-label"})],ue.prototype,"iconAttrAriaLabel");fe([P({type:String,reflect:!0})],ue.prototype,"role");fe([P({type:String,attribute:"caption-attr-title"})],ue.prototype,"captionAttrTitle");fe([P({type:String,attribute:"description-attr-title"})],ue.prototype,"descriptionAttrTitle");fe([P({type:String,attribute:"icon-attr-title"})],ue.prototype,"iconAttrTitle");let yt=ue;const gr=(t,e)=>{const i=document.createElement(yt.ID);if(t){if(i.caption=t.caption,i.description=t.description,i.descriptionIcon=t.descriptionIcon,i.icon=t.icon,i.iconBackgroundColor=t.iconBackgroundColor,i.iconPlaceholder=t.iconPlaceholder,i.level=t.level,i.disabled=t.disabled,t.contentMode&&(i.contentMode=t.contentMode),t.leftContentGenerator){const a=t.leftContentGenerator(t,i);a&&(a.slot="left-content",i.appendChild(a))}if(t.rightContentGenerator){const a=t.rightContentGenerator(t,i);a&&(a.slot="right-content",i.appendChild(a))}}return i};yt.ensureDefined();class Pl{getOffsetForIndexAndAlignment(e,i,a,s,r,o){const d=Math.max(0,o*s),h=Math.min(d,e*s),u=Math.max(0,e*s-r+s);switch(i){case"start":return h;case"end":return u;case"center":{const n=Math.round(u+(h-u)/2);return n<Math.ceil(r/2)?0:n>d+Math.floor(r/2)?d:n}case"auto":default:return a>=u&&a<=h?a:a<u?u:h}}debounce(e){let i;return(...a)=>{i&&window.cancelAnimationFrame(i),i=window.requestAnimationFrame(()=>{e(...a),i=null})}}}const Bl=new Pl;class Dl{constructor(e=100,i=5){this.pageSize=e,this.preloadedItemsCount=i,this._finalSizeIsKnown=!1,this._itemCache=[],this._lastRequestedFirstIndex=0,this._lastRequestedLastIndex=0,this._lastLoadedIndex=0,this.handleListDataRequest=a=>{const{startIndex:s,stopIndex:r}=a.detail;this._lastRequestedFirstIndex=s,this._lastRequestedLastIndex=r,this._list.items=this._itemCache.slice(s,r+1),!this.finalSizeIsKnown&&this._lastLoadedIndex<r+this.preloadedItemsCount&&this.requestData()},this.itemCount=e}get currentPage(){return this.items.length==0&&this.finalSizeIsKnown?0:Math.floor((this.items.length-1)/this.pageSize)}get finalSizeIsKnown(){return this._finalSizeIsKnown}set finalSizeIsKnown(e){this._finalSizeIsKnown=e,e&&(this.itemCount=this._itemCache.length),this._list&&(this._list.finalSizeIsKnown=e)}get itemCount(){return this._itemCount}set itemCount(e){this._itemCount=e,this._list&&(this._list.itemCount=e)}get items(){return this._itemCache}set items(e){this._itemCache=e,this.onItemsChange()}addItems(e){this._itemCache=this._itemCache.concat(e),this.onItemsChange()}connectList(e){this._list&&this._list.removeEventListener("data-request",this.handleListDataRequest),this._list=e,e.itemCount=this.itemCount,e.addEventListener("data-request",this.handleListDataRequest),e.finalSizeIsKnown=this._finalSizeIsKnown}onItemsChange(){this._pendingDataRequest=!1,this._lastLoadedIndex=this._itemCache.length-1,this.finalSizeIsKnown?this.itemCount=this._itemCache.length:this._lastLoadedIndex>this.itemCount&&(this.itemCount=this._lastLoadedIndex),this._list&&(this._list.items=this._itemCache.slice(this._lastRequestedFirstIndex,this._lastRequestedLastIndex+1))}requestData(){if(!this._pendingDataRequest)if(this.onDataRequest)this._pendingDataRequest=!0,this.onDataRequest(this.currentPage+1),this._lastLoadedIndex+=this.pageSize-1,this._lastLoadedIndex>this.itemCount&&(this.itemCount=this._lastLoadedIndex);else throw Error("The final size is not yet known and the list would require item data from index "+this._lastRequestedFirstIndex+". to "+this._lastRequestedLastIndex+". which is not possible to load without a configured onDataRequest")}}const Tl=":host{display:block;position:relative;contain:layout}:host(:focus){outline:none}:host(:focus-visible) ::slotted([focused]){box-shadow:0 0 0 1px #1467ba inset}.container{width:100%}.container>::slotted(*){width:100%;position:absolute;box-sizing:border-box}.container>::slotted(:not([last])){border-bottom:1px solid #d9d9d9}";var zl=Object.defineProperty,jl=Object.getOwnPropertyDescriptor,tt=(t,e,i,a)=>{for(var s=a>1?void 0:a?jl(e,i):e,r=t.length-1,o;r>=0;r--)(o=t[r])&&(s=(a?o(e,i,s):o(s))||s);return a&&s&&zl(e,i,s),s},Lt=(t=>(t.TriggerOnly="trigger-only",t.Single="single",t.Multi="multi",t))(Lt||{});let Vl=0;var Ye;const Ke=(Ye=class extends We{constructor(){super(),this.items=[],this.selectionType="trigger-only",this.id=Ye.ID+"_"+Vl++,this.role="listbox",this.itemGenerator=gr,this._lastKnownScrollTop=0,this._lastRenderedScrollTop=0,this._itemsRenderData=[],this._elementCache=new Map,this._visibleItemsNum=0,this._selectedIndices=[],this._focusIndex=-1,this._lastKnownHeight=0,this.onScroll=()=>{this._lastKnownScrollTop=this.scrollTop;const t=this._lastRenderedScrollTop-this._lastKnownScrollTop;Math.abs(t)>=this.itemHeight&&(this._lastRenderedScrollTop=this._lastKnownScrollTop,this.requestUpdate())},this.handleKeyDown=t=>{let e=!0;switch(t.key){case"Down":case"ArrowDown":this.focusIndex=(this.focusIndex+1)%this.itemCount;break;case"Up":case"ArrowUp":this.focusIndex>0?this.focusIndex--:this.finalSizeIsKnown&&(this.focusIndex=this.itemCount-1);break;case"Enter":this.handleSelection(this.focusIndex,t);break;case"End":this.focusIndex=this.itemCount-1;break;case"PageDown":this.focusIndex=this.normalizeIndex(this.focusIndex+this._visibleItemsNum-1);break;case"Home":this.focusIndex=0;break;case"PageUp":this.focusIndex=this.normalizeIndex(this.focusIndex-this._visibleItemsNum+1);break;default:e=!1;break}e&&(t.preventDefault(),t.stopPropagation())},this._resizeObserver=new ResizeObserver(()=>{this._lastKnownHeight!==this.offsetHeight&&(this._lastKnownHeight=this.offsetHeight,this.requestUpdate())})}get focusTarget(){return this.hasAttribute("focus-target")}set focusTarget(t){this.toggleAttribute("focus-target",t)}get focusIndex(){return this._focusIndex}set focusIndex(t){if(t>=-1&&t<this.itemCount){const e=this._focusIndex;this._focusIndex=t,(t<=this._firstVisibleIndex||this._lastVisibleIndex<=t)&&this.scrollToItem(t),e!=t&&(t==-1&&this.removeAttribute("aria-activedescendant"),this.requestUpdate("focusIndex",e))}}get selectedIndices(){return this._selectedIndices}set selectedIndices(t){t?this._selectedIndices=t.map(e=>Number(e)):this._selectedIndices=[],this.requestUpdate("selectedIndices")}scrollToItem(t,e="auto"){this.scrollTop=Bl.getOffsetForIndexAndAlignment(this.normalizeIndex(t),e,this.scrollTop,this.itemHeight,this.height,this.itemCount),this._lastKnownScrollTop=this.scrollTop}getListItem(t){return!this.shadowRoot||t<this._firstVisibleIndex||this._lastVisibleIndex<t?null:this.querySelector(`[item-index="${t}"]`)}connectedCallback(){super.connectedCallback(),this._resizeObserver.observe(this),this.scrollTop!==this._lastKnownScrollTop&&(this.scrollTop=this._lastKnownScrollTop,this.requestUpdate())}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver.disconnect()}firstUpdated(t){super.firstUpdated(t),this.addEventListener("scroll",this.onScroll),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick),this.addEventListener("mousedown",e=>{e.button==1&&e.preventDefault()}),this.addEventListener("auxclick",this.handleClick),this.addEventListener("focus",()=>{this.matches(":focus-visible")&&(this.focusIndex==-1?(this.selectedIndices&&(this.focusIndex=this.selectedIndices[0]),this.focusIndex==-1&&this.itemCount>0&&(this.focusIndex=0)):this.updateFocusedItemAttributes())}),this.addEventListener("blur",()=>{this.focusIndex!=-1&&this.updateFocusedItemAttributes()}),this.selectedIndices.length>0&&this.scrollToItem(this.selectedIndices[0],"center")}updateFocusedItemAttributes(){const t=this.getListItem(this.focusIndex);t&&(this.focusTarget||document.activeElement==this?(t.setAttribute("focused",""),this.setAttribute("aria-activedescendant",t.id)):(t.removeAttribute("focused"),this.removeAttribute("aria-activedescendant")))}static get styles(){return[Gt`
|
|
1525
1525
|
${At(Tl)}
|
|
1526
1526
|
`]}render(){return this.updateItemsRenderData(),be`
|
|
1527
1527
|
<div class="container" style="height: ${this.itemCount*this.itemHeight}px">
|
|
1528
1528
|
<slot name="items"></slot>
|
|
1529
1529
|
</div>
|
|
1530
|
-
`}updated(t){if(super.updated(t),this._lastRenderedScrollTop=this._lastKnownScrollTop,this.updateItems(),(this._increaseWidthOnNextRenderIfNeeded||this._reachedMaxWidth)&&this._firstVisibleIndex<this._lastVisibleIndex)if(this.querySelector("[item-index]"))this.adjustWidthIfNeeded();else{const e=new MutationObserver(()=>{this.adjustWidthIfNeeded(),e.disconnect()});e.observe(this)}}adjustWidthIfNeeded(){this._increaseWidthOnNextRenderIfNeeded?(this._increaseWidthOnNextRenderIfNeeded=!1,window.requestAnimationFrame(()=>{const t=Number.parseInt(getComputedStyle(this).maxWidth)-this.offsetWidth;if(t==0)this._reachedMaxWidth=!0,this.enableLineClampOnItemsIfNeeded();else{this._reachedMaxWidth=!1;const e=[...this.querySelectorAll("[item-index]")].map(a=>{if(a instanceof yt){a.enableLineClamp=!1;const s=a.missingWidthForTexts;return s>t&&(a.enableLineClamp=!0),s}}),i=Math.max(...e);i>0&&(this.style.width=`${this.offsetWidth+i}px`)}})):this._reachedMaxWidth&&this.enableLineClampOnItemsIfNeeded()}enableLineClampOnItemsIfNeeded(){this.querySelectorAll("[item-index]").forEach(t=>{t instanceof yt&&(t.enableLineClamp=t.enableLineClamp||t.missingWidthForTexts>0)})}increaseWidthOnNextRenderIfNeeded(){this._increaseWidthOnNextRenderIfNeeded=!0}updateItems(){const t=[...this.querySelectorAll("[item-index]")],e=new Map,i=document.createDocumentFragment();for(const a of this._itemsRenderData){const s=this.renderItem(a);s.parentElement||i.appendChild(s),e.set(a.dataHash,s);const r=t.indexOf(s);r!==-1&&t.splice(r,1)}this.appendChild(i);for(const a of t)a instanceof yt&&(a.enableLineClamp=!1),this.removeChild(a);e.forEach((a,s)=>{this._elementCache.set(s,a)})}renderItem({index:t,top:e,dataHash:i,data:a}){let s;return a?this._elementCache.has(i)?(s=this._elementCache.get(i),this._elementCache.delete(i)):(s=this.itemGenerator(a,t),s.setAttribute("slot","items")):(s=document.createElement("div"),s.setAttribute("placeholder-item",""),s.setAttribute("slot","items")),Object.assign(s.style,{transform:`translateY(${e}px)`,height:`${this.itemHeight}px`}),s.setAttribute("item-index",t.toString()),s.setAttribute("aria-setsize",String(this.finalSizeIsKnown?this.itemCount:-1)),s.setAttribute("aria-posinset",String(t+1)),(!s.id||s.id.startsWith(this.id+"_item_"))&&(s.id=this.id+"_item_"+t),this.itemCount-1==t?s.setAttribute("last",""):s.removeAttribute("last"),this.updateSelectedAttribute(t,s),this.updateFocusedAttribute(t,s),s}updateFocusedAttribute(t,e){this.focusIndex==t&&(this.focusTarget||document.activeElement==this)?(e.setAttribute("focused",""),this.setAttribute("aria-activedescendant",e.id)):e.removeAttribute("focused")}updateSelectedAttribute(t,e){const i=this.selectedIndices.indexOf(t)!==-1;i?e.setAttribute("selected",""):e.removeAttribute("selected"),e.setAttribute("aria-selected",String(i))}updateItemsRenderData(){if(this._itemsRenderData=[],this._visibleItemsNum=Math.min(Math.ceil(this.height/this.itemHeight),this.itemCount),this._visibleItemsNum>0){this._firstVisibleIndex=this.normalizeIndex(Math.floor(this._lastKnownScrollTop/this.itemHeight)),this._lastVisibleIndex=this.normalizeIndex(this._firstVisibleIndex+this._visibleItemsNum);const t=this.normalizeIndex(this._firstVisibleIndex-2),e=this.normalizeIndex(this._lastVisibleIndex+2);this.requestData(t,e);for(let i=t;i<=e;i++){const a=i-t,s=this.items[a];let r;s?r=JSON.stringify(s):r=`placeholder-${a}`,this._itemsRenderData.push({index:i,top:this.itemHeight*i,physicalIndex:a,dataHash:r,data:s})}}else this._firstVisibleIndex=0,this._lastVisibleIndex=0}normalizeIndex(t){return Math.max(0,Math.min(t,this.itemCount-1))}get height(){return this.offsetHeight}requestData(t,e){!Number.isNaN(t)&&!Number.isNaN(e)&&this.dispatchEvent(new CustomEvent("data-request",{detail:{startIndex:t,stopIndex:e}}))}handleSelection(t,e){if(t<0||this.itemCount<=t)return;const i=this.getListItem(t);if(i.getAttribute("aria-disabled")=="true"||i.hasAttribute("disabled"))return;let a=!0;if(this.selectionType!=="trigger-only"){const s=this.selectedIndices.indexOf(t);a=s==-1,a?this.selectionType==="single"?this.selectedIndices=[t]:this.selectedIndices.push(t):this.selectedIndices.splice(s,1),this.requestUpdate("selectedIndices")}this.focusIndex=t,this.dispatchSelectionEvent(t,a,e)}dispatchSelectionEvent(t,e,i){this.dispatchEvent(new CustomEvent("selection",{detail:{index:t,selected:e,hasModifier:i}}))}handleClick(t){const e=t.composedPath().find(i=>i.hasAttribute&&i.hasAttribute("item-index"));if(e){const i=parseInt(e.getAttribute("item-index"));if(Number.isInteger(i)){if(t.button==0||t.button==1){const a=t.type=="auxclick"&&t.button==1||t.metaKey||t.ctrlKey;this.handleSelection(i,a)}this.focusIndex=i}}}},Ye.ID="sd-virtual-list",Ye.ensureDefined=()=>{yt.ensureDefined(),customElements.get(Ye.ID)||customElements.define(Ye.ID,Ye)},Ye);tt([P({type:Number,attribute:"item-height",reflect:!0})],Ke.prototype,"itemHeight",2);tt([P({type:Number})],Ke.prototype,"itemCount",2);tt([P({type:Array,attribute:!1})],Ke.prototype,"items",2);tt([P({type:String,attribute:"selection-type",reflect:!0,noAccessor:!0})],Ke.prototype,"selectionType",2);tt([P({type:String,attribute:!0,reflect:!0})],Ke.prototype,"id",2);tt([P({type:String,reflect:!0})],Ke.prototype,"role",2);tt([P({type:Number,attribute:"focus-index",reflect:!0})],Ke.prototype,"focusIndex",1);tt([P({type:Array,attribute:!1})],Ke.prototype,"selectedIndices",1);let ys=Ke;ys.ensureDefined();const Fl=":host{display:inline-flex;position:relative;cursor:text;font-family:Segoe UI,Lucida Sans,Arial,sans-serif;font-size:16px;color:#111;contain:layout style;flex-direction:column}:host([hidden]),:host([type=hidden]){display:none!important}:host([effective-disabled]){opacity:.6;cursor:default;filter:grayscale(100%)}:host([effective-disabled]) .unfocused-line,:host([effective-disabled]) .focused-line{border-bottom-style:dashed}:host(:not([effective-disabled]):focus) .focused-line,:host(:not([effective-disabled])[focused]) .focused-line{transform:none;transition:transform .25s}:host(:not([effective-disabled]):focus) .label.float,:host(:not([effective-disabled])[focused]) .label.float{color:var(--sd-input-focused-color, #1467ba)}:host([inactive]) .input{pointer-events:none}:host([effective-disabled]:focus),:host([effective-disabled][focused]){box-shadow:0 0 0 1px #111}:host(:not([effective-disabled])[validationlevel]) .focused-line,:host(:not([effective-disabled]):invalid) .focused-line{transform:none;transition:transform .25s}:host([validationlevel=warn i]) .focused-line{border-bottom-color:var(--sd-input-validation-color, #555555)}:host([validationlevel=warn i]) .label,:host([validationlevel=warn i]) .validation-message{color:var(--sd-input-validation-color, #555555)!important}:host([validationlevel=suggest i]) .focused-line{border-bottom-color:var(--sd-input-validation-color, #bf8800)}:host([validationlevel=suggest i]) .label,:host([validationlevel=suggest i]) .validation-message{color:var(--sd-input-validation-color, #bf8800)!important}:host([validationlevel=error i]) .focused-line,:host(:not([validationlevel]):invalid) .focused-line{border-bottom-color:var(--sd-input-validation-color, #cc0017)}:host([validationlevel=error i]) .label,:host([validationlevel=error i]) .validation-message,:host(:not([validationlevel]):invalid) .label,:host(:not([validationlevel]):invalid) .validation-message{color:var(--sd-input-validation-color, #cc0017)!important}.validation-message-wrapper{min-height:var(--sd-input-validation-message-minheight, 0px);position:relative;font-size:0}.validation-message{position:relative;position:var(--sd-input-validation-message-minheight, absolute);left:0;right:0}.label.float{transform:translateY(-75%) scale(.75);width:133%}.label:not(.float){max-width:100%}.floated-label-placeholder{height:20px;width:100%}.label{position:absolute;top:0;left:0;line-height:24px;pointer-events:none;color:var(--sd-input-color, #767676);transition:transform .25s,width .25s;transform-origin:left top}.input-wrapper{position:relative;display:flex;flex-direction:row;align-items:center;background-color:var(--input-wrapper-background-color)}:host([extended-prefix]:focus-within:not([effective-disabled])) .input-wrapper{flex-direction:column;align-items:baseline}:host([extended-prefix]:focus-within:not([effective-disabled])) .input-container{width:100%}:host([extended-prefix]:not(:focus-within)) .input-container,:host([extended-prefix][effective-disabled]) .input-container{width:0px}.input-container{line-height:var(--sd-input-line-height, 24px);flex:1 1 auto}.input{width:100%;background:var(--sd-input-background, transparent);font-family:inherit;font-size:inherit;text-align:inherit;color:inherit;border:none;outline:none;resize:none;padding-left:0;padding-right:0}.input:-webkit-autofill{animation-name:onautofillstart}.input:not(:-webkit-autofill){animation-name:onautofillcancel}@keyframes onautofillstart{0%{outline:none}}@keyframes onautofillcancel{0%{outline:none}}.label,input.input{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}.validation-message{text-overflow:ellipsis;overflow-x:hidden;white-space:normal;white-space:var(--sd-input-validation-message-minheight, nowrap)}.input::placeholder{color:var(--sd-input-color, #767676)}.underline{height:2px;width:100%;position:relative}.unfocused-line,.focused-line{position:absolute;inset:0}.unfocused-line{border-bottom:1px solid var(--sd-input-underline-color, #959595)}.focused-line{border-bottom:2px solid var(--sd-input-focused-color, #1467ba);transform-origin:center center;transform:scale3d(0,1,1)}.prefix,.suffix{display:flex;flex-wrap:nowrap;max-width:100%}.prefix ::slotted(*),.suffix ::slotted(*){display:flex}:host(:focus){outline:none}.suffix ::slotted(.clear-button),.suffix ::slotted(.toggle-button){cursor:pointer;width:16px;height:32px;padding:0 8px;margin-top:-8px;margin-bottom:-8px;fill:#666;outline:none;flex-shrink:0}.suffix ::slotted(.toggle-button){transition:transform .2s}:host([opened]) .suffix ::slotted(.toggle-button){transform:rotate(180deg)}:host([disabled]) .suffix ::slotted(.clear-button),:host([disabled]) .suffix ::slotted(.toggle-button){display:none!important}.prefix ::slotted(.icon-wrapper){width:32px;height:32px;padding-right:4px;margin-top:-8px;margin-bottom:-8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}:host(:not([has-value])) .suffix ::slotted(.clear-button),:host([null-setting-disallowed]) .suffix ::slotted(.clear-button){display:none!important}:host(:not([allow-custom-value]):not([trigger-only])) .input{caret-color:transparent}:host(:not([allow-custom-value]):not([disabled])) .input{cursor:pointer}#default-slot{display:none}",Hl=`<svg xmlns="http://www.w3.org/2000/svg" class="toggle-button" slot="suffix" viewBox="0 0 16 16">\r
|
|
1530
|
+
`}updated(t){if(super.updated(t),this._lastRenderedScrollTop=this._lastKnownScrollTop,this.updateItems(),(this._increaseWidthOnNextRenderIfNeeded||this._reachedMaxWidth)&&this._firstVisibleIndex<this._lastVisibleIndex)if(this.querySelector("[item-index]"))this.adjustWidthIfNeeded();else{const e=new MutationObserver(()=>{this.adjustWidthIfNeeded(),e.disconnect()});e.observe(this)}}adjustWidthIfNeeded(){this._increaseWidthOnNextRenderIfNeeded?(this._increaseWidthOnNextRenderIfNeeded=!1,window.requestAnimationFrame(()=>{const t=Number.parseInt(getComputedStyle(this).maxWidth)-this.offsetWidth;if(t==0)this._reachedMaxWidth=!0,this.enableLineClampOnItemsIfNeeded();else{this._reachedMaxWidth=!1;const e=[...this.querySelectorAll("[item-index]")].map(a=>{if(a instanceof yt){a.enableLineClamp=!1;const s=a.missingWidthForTexts;return s>t&&(a.enableLineClamp=!0),s}}),i=Math.max(...e);i>0&&(this.style.width=`${this.offsetWidth+i}px`)}})):this._reachedMaxWidth&&this.enableLineClampOnItemsIfNeeded()}enableLineClampOnItemsIfNeeded(){this.querySelectorAll("[item-index]").forEach(t=>{t instanceof yt&&(t.enableLineClamp=t.enableLineClamp||t.missingWidthForTexts>0)})}increaseWidthOnNextRenderIfNeeded(){this._increaseWidthOnNextRenderIfNeeded=!0}updateItems(){const t=[...this.querySelectorAll("[item-index]")],e=new Map,i=document.createDocumentFragment();for(const a of this._itemsRenderData){const s=this.renderItem(a);s.parentElement||i.appendChild(s),e.set(a.dataHash,s);const r=t.indexOf(s);r!==-1&&t.splice(r,1)}this.appendChild(i);for(const a of t)a instanceof yt&&(a.enableLineClamp=!1),this.removeChild(a);e.forEach((a,s)=>{this._elementCache.set(s,a)})}renderItem({index:t,top:e,dataHash:i,data:a}){let s;return a?this._elementCache.has(i)?(s=this._elementCache.get(i),this._elementCache.delete(i)):(s=this.itemGenerator(a,t),s.setAttribute("slot","items")):(s=document.createElement("div"),s.setAttribute("placeholder-item",""),s.setAttribute("slot","items")),Object.assign(s.style,{transform:`translateY(${e}px)`,height:`${this.itemHeight}px`}),s.setAttribute("item-index",t.toString()),s.setAttribute("aria-setsize",String(this.finalSizeIsKnown?this.itemCount:-1)),s.setAttribute("aria-posinset",String(t+1)),(!s.id||s.id.startsWith(this.id+"_item_"))&&(s.id=this.id+"_item_"+t),this.itemCount-1==t?s.setAttribute("last",""):s.removeAttribute("last"),this.updateSelectedAttribute(t,s),this.updateFocusedAttribute(t,s),s}updateFocusedAttribute(t,e){this.focusIndex==t&&(this.focusTarget||document.activeElement==this)?(e.setAttribute("focused",""),this.setAttribute("aria-activedescendant",e.id)):e.removeAttribute("focused")}updateSelectedAttribute(t,e){const i=this.selectedIndices.indexOf(t)!==-1;i?e.setAttribute("selected",""):e.removeAttribute("selected"),e.setAttribute("aria-selected",String(i))}updateItemsRenderData(){if(this._itemsRenderData=[],this._visibleItemsNum=Math.min(Math.ceil(this.height/this.itemHeight),this.itemCount),this._visibleItemsNum>0){this._firstVisibleIndex=this.normalizeIndex(Math.floor(this._lastKnownScrollTop/this.itemHeight)),this._lastVisibleIndex=this.normalizeIndex(this._firstVisibleIndex+this._visibleItemsNum);const t=this.normalizeIndex(this._firstVisibleIndex-2),e=this.normalizeIndex(this._lastVisibleIndex+2);this.requestData(t,e);for(let i=t;i<=e;i++){const a=i-t,s=this.items[a];let r;s?r=JSON.stringify(s):r=`placeholder-${a}`,this._itemsRenderData.push({index:i,top:this.itemHeight*i,physicalIndex:a,dataHash:r,data:s})}}else this._firstVisibleIndex=0,this._lastVisibleIndex=0}normalizeIndex(t){return Math.max(0,Math.min(t,this.itemCount-1))}get height(){return this.offsetHeight}requestData(t,e){!Number.isNaN(t)&&!Number.isNaN(e)&&this.dispatchEvent(new CustomEvent("data-request",{detail:{startIndex:t,stopIndex:e}}))}handleSelection(t,e){if(t<0||this.itemCount<=t)return;const i=this.getListItem(t);if(i.getAttribute("aria-disabled")=="true"||i.hasAttribute("disabled"))return;let a=!0;if(this.selectionType!=="trigger-only"){const s=this.selectedIndices.indexOf(t);a=s==-1,a?this.selectionType==="single"?this.selectedIndices=[t]:this.selectedIndices.push(t):this.selectedIndices.splice(s,1),this.requestUpdate("selectedIndices")}this.focusIndex=t,this.dispatchSelectionEvent(t,a,e)}dispatchSelectionEvent(t,e,i){this.dispatchEvent(new CustomEvent("selection",{detail:{index:t,selected:e,originalEvent:i}}))}handleClick(t){const e=t.composedPath().find(i=>i.hasAttribute&&i.hasAttribute("item-index"));if(e){const i=parseInt(e.getAttribute("item-index"));Number.isInteger(i)&&((t.button==0||t.button==1)&&this.handleSelection(i,t),this.focusIndex=i)}}},Ye.ID="sd-virtual-list",Ye.ensureDefined=()=>{yt.ensureDefined(),customElements.get(Ye.ID)||customElements.define(Ye.ID,Ye)},Ye);tt([P({type:Number,attribute:"item-height",reflect:!0})],Ke.prototype,"itemHeight",2);tt([P({type:Number})],Ke.prototype,"itemCount",2);tt([P({type:Array,attribute:!1})],Ke.prototype,"items",2);tt([P({type:String,attribute:"selection-type",reflect:!0,noAccessor:!0})],Ke.prototype,"selectionType",2);tt([P({type:String,attribute:!0,reflect:!0})],Ke.prototype,"id",2);tt([P({type:String,reflect:!0})],Ke.prototype,"role",2);tt([P({type:Number,attribute:"focus-index",reflect:!0})],Ke.prototype,"focusIndex",1);tt([P({type:Array,attribute:!1})],Ke.prototype,"selectedIndices",1);let ys=Ke;ys.ensureDefined();const Fl=":host{display:inline-flex;position:relative;cursor:text;font-family:Segoe UI,Lucida Sans,Arial,sans-serif;font-size:16px;color:#111;contain:layout style;flex-direction:column}:host([hidden]),:host([type=hidden]){display:none!important}:host([effective-disabled]){opacity:.6;cursor:default;filter:grayscale(100%)}:host([effective-disabled]) .unfocused-line,:host([effective-disabled]) .focused-line{border-bottom-style:dashed}:host(:not([effective-disabled]):focus) .focused-line,:host(:not([effective-disabled])[focused]) .focused-line{transform:none;transition:transform .25s}:host(:not([effective-disabled]):focus) .label.float,:host(:not([effective-disabled])[focused]) .label.float{color:var(--sd-input-focused-color, #1467ba)}:host([inactive]) .input{pointer-events:none}:host([effective-disabled]:focus),:host([effective-disabled][focused]){box-shadow:0 0 0 1px #111}:host(:not([effective-disabled])[validationlevel]) .focused-line,:host(:not([effective-disabled]):invalid) .focused-line{transform:none;transition:transform .25s}:host([validationlevel=warn i]) .focused-line{border-bottom-color:var(--sd-input-validation-color, #555555)}:host([validationlevel=warn i]) .label,:host([validationlevel=warn i]) .validation-message{color:var(--sd-input-validation-color, #555555)!important}:host([validationlevel=suggest i]) .focused-line{border-bottom-color:var(--sd-input-validation-color, #bf8800)}:host([validationlevel=suggest i]) .label,:host([validationlevel=suggest i]) .validation-message{color:var(--sd-input-validation-color, #bf8800)!important}:host([validationlevel=error i]) .focused-line,:host(:not([validationlevel]):invalid) .focused-line{border-bottom-color:var(--sd-input-validation-color, #cc0017)}:host([validationlevel=error i]) .label,:host([validationlevel=error i]) .validation-message,:host(:not([validationlevel]):invalid) .label,:host(:not([validationlevel]):invalid) .validation-message{color:var(--sd-input-validation-color, #cc0017)!important}.validation-message-wrapper{min-height:var(--sd-input-validation-message-minheight, 0px);position:relative;font-size:0}.validation-message{position:relative;position:var(--sd-input-validation-message-minheight, absolute);left:0;right:0}.label.float{transform:translateY(-75%) scale(.75);width:133%}.label:not(.float){max-width:100%}.floated-label-placeholder{height:20px;width:100%}.label{position:absolute;top:0;left:0;line-height:24px;pointer-events:none;color:var(--sd-input-color, #767676);transition:transform .25s,width .25s;transform-origin:left top}.input-wrapper{position:relative;display:flex;flex-direction:row;align-items:center;background-color:var(--input-wrapper-background-color)}:host([extended-prefix]:focus-within:not([effective-disabled])) .input-wrapper{flex-direction:column;align-items:baseline}:host([extended-prefix]:focus-within:not([effective-disabled])) .input-container{width:100%}:host([extended-prefix]:not(:focus-within)) .input-container,:host([extended-prefix][effective-disabled]) .input-container{width:0px}.input-container{line-height:var(--sd-input-line-height, 24px);flex:1 1 auto}.input{width:100%;background:var(--sd-input-background, transparent);font-family:inherit;font-size:inherit;text-align:inherit;color:inherit;border:none;outline:none;resize:none;padding-left:0;padding-right:0}.input:-webkit-autofill{animation-name:onautofillstart}.input:not(:-webkit-autofill){animation-name:onautofillcancel}@keyframes onautofillstart{0%{outline:none}}@keyframes onautofillcancel{0%{outline:none}}.label,input.input{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}.validation-message{text-overflow:ellipsis;overflow-x:hidden;white-space:normal;white-space:var(--sd-input-validation-message-minheight, nowrap)}.input::placeholder{color:var(--sd-input-color, #767676)}.underline{height:2px;width:100%;position:relative}.unfocused-line,.focused-line{position:absolute;inset:0}.unfocused-line{border-bottom:1px solid var(--sd-input-underline-color, #959595)}.focused-line{border-bottom:2px solid var(--sd-input-focused-color, #1467ba);transform-origin:center center;transform:scale3d(0,1,1)}.prefix,.suffix{display:flex;flex-wrap:nowrap;max-width:100%}.prefix ::slotted(*),.suffix ::slotted(*){display:flex}:host(:focus){outline:none}.suffix ::slotted(.clear-button),.suffix ::slotted(.toggle-button){cursor:pointer;width:16px;height:32px;padding:0 8px;margin-top:-8px;margin-bottom:-8px;fill:#666;outline:none;flex-shrink:0}.suffix ::slotted(.toggle-button){transition:transform .2s}:host([opened]) .suffix ::slotted(.toggle-button){transform:rotate(180deg)}:host([disabled]) .suffix ::slotted(.clear-button),:host([disabled]) .suffix ::slotted(.toggle-button){display:none!important}.prefix ::slotted(.icon-wrapper){width:32px;height:32px;padding-right:4px;margin-top:-8px;margin-bottom:-8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}:host(:not([has-value])) .suffix ::slotted(.clear-button),:host([null-setting-disallowed]) .suffix ::slotted(.clear-button){display:none!important}:host(:not([allow-custom-value]):not([trigger-only])) .input{caret-color:transparent}:host(:not([allow-custom-value]):not([disabled])) .input{cursor:pointer}#default-slot{display:none}",Hl=`<svg xmlns="http://www.w3.org/2000/svg" class="toggle-button" slot="suffix" viewBox="0 0 16 16">\r
|
|
1531
1531
|
<path d="M13 4v2l-5 5-5-5v-2l5 5z"/>\r
|
|
1532
1532
|
</svg>\r
|
|
1533
1533
|
`,ql=`<svg xmlns="http://www.w3.org/2000/svg" class="clear-button" slot="suffix" viewBox="0 0 16 16">\r
|
|
@@ -7,57 +7,62 @@
|
|
|
7
7
|
"@eslint/js@9.34.0": {
|
|
8
8
|
"licenses": "MIT",
|
|
9
9
|
"repository": "https://github.com/eslint/eslint",
|
|
10
|
-
"licenseUrl": "https://
|
|
10
|
+
"licenseUrl": "https://unpkg.com/@eslint/js@9.34.0/LICENSE"
|
|
11
11
|
},
|
|
12
12
|
"@popperjs/core@2.11.8": {
|
|
13
13
|
"licenses": "MIT",
|
|
14
14
|
"repository": "https://github.com/popperjs/popper-core",
|
|
15
|
-
"licenseUrl": "https://
|
|
15
|
+
"licenseUrl": "https://unpkg.com/@popperjs/core@2.11.8/LICENSE.md"
|
|
16
16
|
},
|
|
17
17
|
"@rollup/plugin-node-resolve@16.0.1": {
|
|
18
18
|
"licenses": "MIT",
|
|
19
19
|
"repository": "https://github.com/rollup/plugins",
|
|
20
|
-
"licenseUrl": "https://
|
|
20
|
+
"licenseUrl": "https://unpkg.com/@rollup/plugin-node-resolve@16.0.1/LICENSE"
|
|
21
|
+
},
|
|
22
|
+
"@types/d3-color@3.1.3": {
|
|
23
|
+
"licenses": "MIT",
|
|
24
|
+
"repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
|
|
25
|
+
"licenseUrl": "https://unpkg.com/@types/d3-color@3.1.3/LICENSE"
|
|
21
26
|
},
|
|
22
27
|
"@types/node@24.3.0": {
|
|
23
28
|
"licenses": "MIT",
|
|
24
29
|
"repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
|
|
25
|
-
"licenseUrl": "https://
|
|
30
|
+
"licenseUrl": "https://unpkg.com/@types/node@24.3.0/LICENSE"
|
|
26
31
|
},
|
|
27
32
|
"@types/postcss-prefix-selector@1.16.3": {
|
|
28
33
|
"licenses": "MIT",
|
|
29
34
|
"repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
|
|
30
|
-
"licenseUrl": "https://
|
|
35
|
+
"licenseUrl": "https://unpkg.com/@types/postcss-prefix-selector@1.16.3/LICENSE"
|
|
31
36
|
},
|
|
32
37
|
"@typescript-eslint/eslint-plugin@8.41.0": {
|
|
33
38
|
"licenses": "MIT",
|
|
34
39
|
"repository": "https://github.com/typescript-eslint/typescript-eslint",
|
|
35
|
-
"licenseUrl": "https://
|
|
40
|
+
"licenseUrl": "https://unpkg.com/@typescript-eslint/eslint-plugin@8.41.0/LICENSE"
|
|
36
41
|
},
|
|
37
42
|
"@typescript-eslint/parser@8.41.0": {
|
|
38
43
|
"licenses": "MIT",
|
|
39
44
|
"repository": "https://github.com/typescript-eslint/typescript-eslint",
|
|
40
|
-
"licenseUrl": "https://
|
|
45
|
+
"licenseUrl": "https://unpkg.com/@typescript-eslint/parser@8.41.0/LICENSE"
|
|
41
46
|
},
|
|
42
47
|
"@vitest/coverage-v8@3.2.4": {
|
|
43
48
|
"licenses": "MIT",
|
|
44
49
|
"repository": "https://github.com/vitest-dev/vitest",
|
|
45
|
-
"licenseUrl": "https://
|
|
50
|
+
"licenseUrl": "https://unpkg.com/@vitest/coverage-v8@3.2.4/LICENSE"
|
|
46
51
|
},
|
|
47
52
|
"@vitest/ui@3.2.4": {
|
|
48
53
|
"licenses": "MIT",
|
|
49
54
|
"repository": "https://github.com/vitest-dev/vitest",
|
|
50
|
-
"licenseUrl": "https://
|
|
55
|
+
"licenseUrl": "https://unpkg.com/@vitest/ui@3.2.4/LICENSE"
|
|
51
56
|
},
|
|
52
57
|
"axe-core@4.10.3": {
|
|
53
58
|
"licenses": "MPL-2.0",
|
|
54
59
|
"repository": "https://github.com/dequelabs/axe-core",
|
|
55
|
-
"licenseUrl": "https://
|
|
60
|
+
"licenseUrl": "https://unpkg.com/axe-core@4.10.3/LICENSE"
|
|
56
61
|
},
|
|
57
62
|
"cypress-axe@1.7.0": {
|
|
58
63
|
"licenses": "MIT",
|
|
59
64
|
"repository": "https://github.com/component-driven/cypress-axe",
|
|
60
|
-
"licenseUrl": "https://
|
|
65
|
+
"licenseUrl": "https://unpkg.com/cypress-axe@1.7.0/License.md"
|
|
61
66
|
},
|
|
62
67
|
"cypress@15.0.0": {
|
|
63
68
|
"licenses": "MIT",
|
|
@@ -67,146 +72,146 @@
|
|
|
67
72
|
"d3-color@3.1.0": {
|
|
68
73
|
"licenses": "ISC",
|
|
69
74
|
"repository": "https://github.com/d3/d3-color",
|
|
70
|
-
"licenseUrl": "https://
|
|
75
|
+
"licenseUrl": "https://unpkg.com/d3-color@3.1.0/LICENSE"
|
|
71
76
|
},
|
|
72
77
|
"esbuild@0.25.9": {
|
|
73
78
|
"licenses": "MIT",
|
|
74
79
|
"repository": "https://github.com/evanw/esbuild",
|
|
75
|
-
"licenseUrl": "https://
|
|
80
|
+
"licenseUrl": "https://unpkg.com/esbuild@0.25.9/LICENSE.md"
|
|
76
81
|
},
|
|
77
82
|
"eslint-config-google@0.14.0": {
|
|
78
83
|
"licenses": "Apache-2.0",
|
|
79
84
|
"repository": "https://github.com/google/eslint-config-google",
|
|
80
|
-
"licenseUrl": "https://
|
|
85
|
+
"licenseUrl": "https://unpkg.com/eslint-config-google@0.14.0/LICENSE"
|
|
81
86
|
},
|
|
82
87
|
"eslint-config-prettier@10.1.8": {
|
|
83
88
|
"licenses": "MIT",
|
|
84
89
|
"repository": "https://github.com/prettier/eslint-config-prettier",
|
|
85
|
-
"licenseUrl": "https://
|
|
90
|
+
"licenseUrl": "https://unpkg.com/eslint-config-prettier@10.1.8/LICENSE"
|
|
86
91
|
},
|
|
87
92
|
"eslint@9.34.0": {
|
|
88
93
|
"licenses": "MIT",
|
|
89
94
|
"repository": "https://github.com/eslint/eslint",
|
|
90
|
-
"licenseUrl": "https://
|
|
95
|
+
"licenseUrl": "https://unpkg.com/eslint@9.34.0/LICENSE"
|
|
91
96
|
},
|
|
92
97
|
"github-markdown-css@5.8.1": {
|
|
93
98
|
"licenses": "MIT",
|
|
94
99
|
"repository": "https://github.com/sindresorhus/github-markdown-css",
|
|
95
|
-
"licenseUrl": "https://
|
|
100
|
+
"licenseUrl": "https://unpkg.com/github-markdown-css@5.8.1/license"
|
|
96
101
|
},
|
|
97
102
|
"highlight.js@11.11.1": {
|
|
98
103
|
"licenses": "BSD-3-Clause",
|
|
99
104
|
"repository": "https://github.com/highlightjs/highlight.js",
|
|
100
|
-
"licenseUrl": "https://
|
|
105
|
+
"licenseUrl": "https://unpkg.com/highlight.js@11.11.1/LICENSE"
|
|
101
106
|
},
|
|
102
107
|
"junit-report-builder@5.1.1": {
|
|
103
108
|
"licenses": "MIT",
|
|
104
109
|
"repository": "https://github.com/davidparsson/junit-report-builder",
|
|
105
|
-
"licenseUrl": "https://
|
|
110
|
+
"licenseUrl": "https://unpkg.com/junit-report-builder@5.1.1/LICENSE"
|
|
106
111
|
},
|
|
107
112
|
"lint-staged@16.1.5": {
|
|
108
113
|
"licenses": "MIT",
|
|
109
114
|
"repository": "https://github.com/lint-staged/lint-staged",
|
|
110
|
-
"licenseUrl": "https://
|
|
115
|
+
"licenseUrl": "https://unpkg.com/lint-staged@16.1.5/LICENSE"
|
|
111
116
|
},
|
|
112
117
|
"lit-html@3.3.1": {
|
|
113
118
|
"licenses": "BSD-3-Clause",
|
|
114
119
|
"repository": "https://github.com/lit/lit",
|
|
115
|
-
"licenseUrl": "https://
|
|
120
|
+
"licenseUrl": "https://unpkg.com/lit-html@3.3.1/LICENSE"
|
|
116
121
|
},
|
|
117
122
|
"lit@3.3.1": {
|
|
118
123
|
"licenses": "BSD-3-Clause",
|
|
119
124
|
"repository": "https://github.com/lit/lit",
|
|
120
|
-
"licenseUrl": "https://
|
|
125
|
+
"licenseUrl": "https://unpkg.com/lit@3.3.1/LICENSE"
|
|
121
126
|
},
|
|
122
127
|
"marked@16.2.1": {
|
|
123
128
|
"licenses": "MIT",
|
|
124
129
|
"repository": "https://github.com/markedjs/marked",
|
|
125
|
-
"licenseUrl": "https://
|
|
130
|
+
"licenseUrl": "https://unpkg.com/marked@16.2.1/LICENSE.md"
|
|
126
131
|
},
|
|
127
132
|
"postcss-prefix-selector@2.1.1": {
|
|
128
133
|
"licenses": "MIT",
|
|
129
134
|
"repository": "https://github.com/RadValentin/postcss-prefix-selector",
|
|
130
|
-
"licenseUrl": "https://
|
|
135
|
+
"licenseUrl": "https://unpkg.com/postcss-prefix-selector@2.1.1/LICENSE"
|
|
131
136
|
},
|
|
132
137
|
"postcss@8.5.6": {
|
|
133
138
|
"licenses": "MIT",
|
|
134
139
|
"repository": "https://github.com/postcss/postcss",
|
|
135
|
-
"licenseUrl": "https://
|
|
140
|
+
"licenseUrl": "https://unpkg.com/postcss@8.5.6/LICENSE"
|
|
136
141
|
},
|
|
137
142
|
"prettier@3.6.2": {
|
|
138
143
|
"licenses": "MIT",
|
|
139
144
|
"repository": "https://github.com/prettier/prettier",
|
|
140
|
-
"licenseUrl": "https://
|
|
145
|
+
"licenseUrl": "https://unpkg.com/prettier@3.6.2/LICENSE"
|
|
141
146
|
},
|
|
142
147
|
"resolve-pkg@2.0.0": {
|
|
143
148
|
"licenses": "MIT",
|
|
144
149
|
"repository": "https://github.com/sindresorhus/resolve-pkg",
|
|
145
|
-
"licenseUrl": "https://
|
|
150
|
+
"licenseUrl": "https://unpkg.com/resolve-pkg@2.0.0/license"
|
|
146
151
|
},
|
|
147
152
|
"sass@1.91.0": {
|
|
148
153
|
"licenses": "MIT",
|
|
149
154
|
"repository": "https://github.com/sass/dart-sass",
|
|
150
|
-
"licenseUrl": "https://
|
|
155
|
+
"licenseUrl": "https://unpkg.com/sass@1.91.0/LICENSE"
|
|
151
156
|
},
|
|
152
157
|
"stylelint-config-recommended-scss@16.0.0": {
|
|
153
158
|
"licenses": "MIT",
|
|
154
159
|
"repository": "https://github.com/stylelint-scss/stylelint-config-recommended-scss",
|
|
155
|
-
"licenseUrl": "https://
|
|
160
|
+
"licenseUrl": "https://unpkg.com/stylelint-config-recommended-scss@16.0.0/LICENSE"
|
|
156
161
|
},
|
|
157
162
|
"stylelint-config-standard@39.0.0": {
|
|
158
163
|
"licenses": "MIT",
|
|
159
164
|
"repository": "https://github.com/stylelint/stylelint-config-standard",
|
|
160
|
-
"licenseUrl": "https://
|
|
165
|
+
"licenseUrl": "https://unpkg.com/stylelint-config-standard@39.0.0/LICENSE"
|
|
161
166
|
},
|
|
162
167
|
"stylelint-scss@6.12.1": {
|
|
163
168
|
"licenses": "MIT",
|
|
164
169
|
"repository": "https://github.com/stylelint-scss/stylelint-scss",
|
|
165
|
-
"licenseUrl": "https://
|
|
170
|
+
"licenseUrl": "https://unpkg.com/stylelint-scss@6.12.1/LICENSE"
|
|
166
171
|
},
|
|
167
172
|
"stylelint@16.23.1": {
|
|
168
173
|
"licenses": "MIT",
|
|
169
174
|
"repository": "https://github.com/stylelint/stylelint",
|
|
170
|
-
"licenseUrl": "https://
|
|
175
|
+
"licenseUrl": "https://unpkg.com/stylelint@16.23.1/LICENSE"
|
|
171
176
|
},
|
|
172
177
|
"tsup@8.5.0": {
|
|
173
178
|
"licenses": "MIT",
|
|
174
179
|
"repository": "https://github.com/egoist/tsup",
|
|
175
|
-
"licenseUrl": "https://
|
|
180
|
+
"licenseUrl": "https://unpkg.com/tsup@8.5.0/LICENSE"
|
|
176
181
|
},
|
|
177
182
|
"turbo@2.5.6": {
|
|
178
183
|
"licenses": "MIT",
|
|
179
184
|
"repository": "https://github.com/vercel/turborepo",
|
|
180
|
-
"licenseUrl": "https://
|
|
185
|
+
"licenseUrl": "https://unpkg.com/turbo@2.5.6/LICENSE"
|
|
181
186
|
},
|
|
182
187
|
"typescript-eslint@8.41.0": {
|
|
183
188
|
"licenses": "MIT",
|
|
184
189
|
"repository": "https://github.com/typescript-eslint/typescript-eslint",
|
|
185
|
-
"licenseUrl": "https://
|
|
190
|
+
"licenseUrl": "https://unpkg.com/typescript-eslint@8.41.0/LICENSE"
|
|
186
191
|
},
|
|
187
192
|
"typescript@5.9.2": {
|
|
188
193
|
"licenses": "Apache-2.0",
|
|
189
194
|
"repository": "https://github.com/microsoft/TypeScript",
|
|
190
|
-
"licenseUrl": "https://
|
|
195
|
+
"licenseUrl": "https://unpkg.com/typescript@5.9.2/LICENSE.txt"
|
|
191
196
|
},
|
|
192
197
|
"vite-tsconfig-paths@5.1.4": {
|
|
193
198
|
"licenses": "MIT",
|
|
194
199
|
"repository": "https://github.com/aleclarson/vite-tsconfig-paths",
|
|
195
|
-
"licenseUrl": "https://
|
|
200
|
+
"licenseUrl": "https://unpkg.com/vite-tsconfig-paths@5.1.4/LICENSE"
|
|
196
201
|
},
|
|
197
202
|
"vite@7.1.3": {
|
|
198
203
|
"licenses": "MIT",
|
|
199
204
|
"repository": "https://github.com/vitejs/vite",
|
|
200
|
-
"licenseUrl": "https://
|
|
205
|
+
"licenseUrl": "https://unpkg.com/vite@7.1.3/LICENSE.md"
|
|
201
206
|
},
|
|
202
207
|
"vitest@3.2.4": {
|
|
203
208
|
"licenses": "MIT",
|
|
204
209
|
"repository": "https://github.com/vitest-dev/vitest",
|
|
205
|
-
"licenseUrl": "https://
|
|
210
|
+
"licenseUrl": "https://unpkg.com/vitest@3.2.4/LICENSE.md"
|
|
206
211
|
},
|
|
207
212
|
"yargs@18.0.0": {
|
|
208
213
|
"licenses": "MIT",
|
|
209
214
|
"repository": "https://github.com/yargs/yargs",
|
|
210
|
-
"licenseUrl": "https://
|
|
215
|
+
"licenseUrl": "https://unpkg.com/yargs@18.0.0/LICENSE"
|
|
211
216
|
}
|
|
212
217
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cas-smartdesign/combo-box",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.5",
|
|
4
4
|
"description": "A combo-box element with the look and feel of the SmartDesign inputs & list item layouts",
|
|
5
5
|
"main": "dist/combo-box-with-externals.js",
|
|
6
6
|
"module": "dist/combo-box.mjs",
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@popperjs/core": "^2.11.8",
|
|
11
11
|
"lit": "^3.3.1",
|
|
12
|
-
"@cas-smartdesign/list-item": "^7.4.
|
|
13
|
-
"@cas-smartdesign/virtual-list": "^
|
|
14
|
-
"@cas-smartdesign/
|
|
15
|
-
"@cas-smartdesign/
|
|
12
|
+
"@cas-smartdesign/list-item": "^7.4.4",
|
|
13
|
+
"@cas-smartdesign/virtual-list": "^7.0.1",
|
|
14
|
+
"@cas-smartdesign/image-tools": "^3.2.2",
|
|
15
|
+
"@cas-smartdesign/lit-input": "^7.4.4"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@cas-smartdesign/element-preview": "^0.3.
|
|
19
|
-
"@cas-smartdesign/field-validation-message": "^5.1.
|
|
20
|
-
"@cas-smartdesign/license-generator": "^1.
|
|
21
|
-
"@cas-smartdesign/styles": "^3.7.
|
|
18
|
+
"@cas-smartdesign/element-preview": "^0.3.1",
|
|
19
|
+
"@cas-smartdesign/field-validation-message": "^5.1.1",
|
|
20
|
+
"@cas-smartdesign/license-generator": "^1.8.1",
|
|
21
|
+
"@cas-smartdesign/styles": "^3.7.1"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|