@openmfp/webcomponents 0.14.8 → 0.14.10
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/mfp-webcomponents.js +1 -1
- package/package.json +1 -1
package/mfp-webcomponents.js
CHANGED
|
@@ -102,7 +102,7 @@ ${t.map((i,a)=>`${a+1}) ${i.toString()}`).join(`
|
|
|
102
102
|
`],encapsulation:3})},CX={schedule(e,t){let i=setTimeout(e,t);return()=>clearTimeout(i)}};function wX(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function yX(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var dd;function AX(e,t){if(!dd){let i=Element.prototype;dd=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?dd.call(e,t):!1}function xX(e){let t={};return e.forEach(({propName:i,templateName:a,transform:o})=>{t[wX(a)]=[i,o]}),t}function SX(e,t){return t.get(ul).resolveComponentFactory(e).inputs}function IX(e,t){let i=e.childNodes,a=t.map(()=>[]),o=-1;t.some((n,c)=>n==="*"?(o=c,!0):!1);for(let n=0,c=i.length;n<c;++n){let d=i[n],m=TX(d,t,o);m!==-1&&a[m].push(d)}return a}function TX(e,t,i){let a=i;return yX(e)&&t.some((o,n)=>o!=="*"&&AX(e,o)?(a=n,!0):!1),a}var BX=10,MX=class{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(ul).resolveComponentFactory(e);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(e){return new kX(this.componentFactory,e,this.inputMap)}},kX=class{componentFactory;injector;inputMap;eventEmitters=new Cx(1);events=this.eventEmitters.pipe(lz(e=>rz(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,i){this.componentFactory=e,this.injector=t,this.inputMap=i,this.ngZone=this.injector.get(e2),this.appRef=this.injector.get(ac),this.cdScheduler=t.get(sl),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=CX.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},BX))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),vW(this.componentRef.hostView)&&(mW(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=bt.create({providers:[],parent:this.injector}),i=IX(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:i,templateName:a})=>{let o=e.instance[i];return new oi(n=>{let c=o.subscribe(d=>n.next({name:a,value:d}));return()=>c.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},EX=class extends HTMLElement{ngElementEventsSubscription=null};function n6(e,t){let i=SX(e,t.injector),a=t.strategyFactory||new MX(e,t.injector),o=xX(i);class n extends EX{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let d=this._ngElementStrategy=a.create(this.injector||t.injector);i.forEach(({propName:m,transform:C})=>{if(!this.hasOwnProperty(m))return;let x=this[m];delete this[m],d.setInputValue(m,x,C)})}return this._ngElementStrategy}_ngElementStrategy;constructor(d){super(),this.injector=d}attributeChangedCallback(d,m,C,x){let[w,B]=o[d];this.ngElementStrategy.setInputValue(w,C,B)}connectedCallback(){let d=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),d=!0),this.ngElementStrategy.connect(this),d||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(d=>{let m=new CustomEvent(d.name,{detail:d.value});this.dispatchEvent(m)})}}return i.forEach(({propName:c,transform:d,isSignal:m})=>{Object.defineProperty(n.prototype,c,{get(){let C=this.ngElementStrategy.getInputValue(c);return m&&zG(C)?C():C},set(C){this.ngElementStrategy.setInputValue(c,C,d)},configurable:!0,enumerable:!0})}),n}var nB=null;function lc(){return nB}function ZX(e){nB??=e}var LX=class{},HX=(()=>{class e{_viewContainer;_context=new RX;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(i,a){this._viewContainer=i,this._thenTemplateRef=a}set ngIf(i){this._context.$implicit=this._context.ngIf=i,this._updateView()}set ngIfThen(i){Jy(i,!1),this._thenTemplateRef=i,this._thenViewRef=null,this._updateView()}set ngIfElse(i){Jy(i,!1),this._elseTemplateRef=i,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(i,a){return!0}static \u0275fac=function(i){return new(i||e)(D1(Y2),D1(V3))};static \u0275dir=eo({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),RX=class{$implicit=null;ngIf=null};function Jy(e,t){if(e&&!e.createEmbeddedView)throw new tt(2020,!1)}function DX(e,t){t=encodeURIComponent(t);for(let i of e.split(";")){let a=i.indexOf("="),[o,n]=a==-1?[i,""]:[i.slice(0,a),i.slice(a+1)];if(o.trim()===t)return decodeURIComponent(n)}return null}var OX=class{},NX="browser",sB=class{_doc;constructor(e){this._doc=e}manager},Cu=(()=>{class e extends sB{constructor(i){super(i)}supports(i){return!0}addEventListener(i,a,o,n){return i.addEventListener(a,o,n),()=>this.removeEventListener(i,a,o,n)}removeEventListener(i,a,o,n){return i.removeEventListener(a,o,n)}static \u0275fac=function(i){return new(i||e)(d1(Bn))};static \u0275prov=G1({token:e,factory:e.\u0275fac})}return e})(),wu=new Nt(""),lB=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(i,a){this._zone=a,i.forEach(c=>{c.manager=this});let o=i.filter(c=>!(c instanceof Cu));this._plugins=o.slice().reverse();let n=i.find(c=>c instanceof Cu);n&&this._plugins.push(n)}addEventListener(i,a,o,n){return this._findPluginFor(a).addEventListener(i,a,o,n)}getZone(){return this._zone}_findPluginFor(i){let a=this._eventNameToPlugin.get(i);if(a)return a;if(a=this._plugins.find(o=>o.supports(i)),!a)throw new tt(5101,!1);return this._eventNameToPlugin.set(i,a),a}static \u0275fac=function(i){return new(i||e)(d1(wu),d1(e2))};static \u0275prov=G1({token:e,factory:e.\u0275fac})}return e})(),ud="ng-app-id";function Qy(e){for(let t of e)t.remove()}function eA(e,t){let i=t.createElement("style");return i.textContent=e,i}function VX(e,t,i,a){let o=e.head?.querySelectorAll(`style[${ud}="${t}"],link[${ud}="${t}"]`);if(o)for(let n of o)n.removeAttribute(ud),n instanceof HTMLLinkElement?a.set(n.href.slice(n.href.lastIndexOf("/")+1),{usage:0,elements:[n]}):n.textContent&&i.set(n.textContent,{usage:0,elements:[n]})}function yu(e,t){let i=t.createElement("link");return i.setAttribute("rel","stylesheet"),i.setAttribute("href",e),i}var cB=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(i,a,o,n={}){this.doc=i,this.appId=a,this.nonce=o,VX(i,a,this.inline,this.external),this.hosts.add(i.head)}addStyles(i,a){for(let o of i)this.addUsage(o,this.inline,eA);a?.forEach(o=>this.addUsage(o,this.external,yu))}removeStyles(i,a){for(let o of i)this.removeUsage(o,this.inline);a?.forEach(o=>this.removeUsage(o,this.external))}addUsage(i,a,o){let n=a.get(i);n?n.usage++:a.set(i,{usage:1,elements:[...this.hosts].map(c=>this.addElement(c,o(i,this.doc)))})}removeUsage(i,a){let o=a.get(i);o&&(o.usage--,o.usage<=0&&(Qy(o.elements),a.delete(i)))}ngOnDestroy(){for(let[,{elements:i}]of[...this.inline,...this.external])Qy(i);this.hosts.clear()}addHost(i){this.hosts.add(i);for(let[a,{elements:o}]of this.inline)o.push(this.addElement(i,eA(a,this.doc)));for(let[a,{elements:o}]of this.external)o.push(this.addElement(i,yu(a,this.doc)))}removeHost(i){this.hosts.delete(i)}addElement(i,a){return this.nonce&&a.setAttribute("nonce",this.nonce),i.appendChild(a)}static \u0275fac=function(i){return new(i||e)(d1(Bn),d1(hI),d1(_I,8),d1(uI))};static \u0275prov=G1({token:e,factory:e.\u0275fac})}return e})(),_d={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},fp=/%COMP%/g,hB="%COMP%",PX=`_nghost-${hB}`,zX=`_ngcontent-${hB}`,FX=!0,UX=new Nt("",{factory:()=>FX});function jX(e){return zX.replace(fp,e)}function WX(e){return PX.replace(fp,e)}function dB(e,t){return t.map(i=>i.replace(fp,e))}var tA=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(i,a,o,n,c,d,m=null,C=null){this.eventManager=i,this.sharedStylesHost=a,this.appId=o,this.removeStylesOnCompDestroy=n,this.doc=c,this.ngZone=d,this.nonce=m,this.tracingService=C,this.defaultRenderer=new bp(i,c,d,this.tracingService)}createRenderer(i,a){if(!i||!a)return this.defaultRenderer;let o=this.getOrCreateRenderer(i,a);return o instanceof oA?o.applyToHost(i):o instanceof Au&&o.applyStyles(),o}getOrCreateRenderer(i,a){let o=this.rendererByCompId,n=o.get(a.id);if(!n){let c=this.doc,d=this.ngZone,m=this.eventManager,C=this.sharedStylesHost,x=this.removeStylesOnCompDestroy,w=this.tracingService;switch(a.encapsulation){case Po.Emulated:n=new oA(m,C,a,this.appId,x,c,d,w);break;case Po.ShadowDom:return new aA(m,i,a,c,d,this.nonce,w,C);case Po.ExperimentalIsolatedShadowDom:return new aA(m,i,a,c,d,this.nonce,w);default:n=new Au(m,C,a,x,c,d,w);break}o.set(a.id,n)}return n}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(i){this.rendererByCompId.delete(i)}static \u0275fac=function(i){return new(i||e)(d1(lB),d1(cB),d1(hI),d1(UX),d1(Bn),d1(e2),d1(_I),d1(v7,8))};static \u0275prov=G1({token:e,factory:e.\u0275fac})}return e})(),bp=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,i,a){this.eventManager=e,this.doc=t,this.ngZone=i,this.tracingService=a}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(_d[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(iA(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(iA(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){t.remove()}selectRootElement(e,t){let i=typeof e=="string"?this.doc.querySelector(e):e;if(!i)throw new tt(-5104,!1);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,a){if(a){t=a+":"+t;let o=_d[a];o?e.setAttributeNS(o,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){let a=_d[i];a?e.removeAttributeNS(a,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,a){a&(sn.DashCase|sn.Important)?e.style.setProperty(t,i,a&sn.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&sn.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e!=null&&(e[t]=i)}setValue(e,t){e.nodeValue=t}listen(e,t,i,a){if(typeof e=="string"&&(e=lc().getGlobalEventTarget(this.doc,e),!e))throw new tt(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(e,t,o)),this.eventManager.addEventListener(e,t,o,a)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;e(t)===!1&&t.preventDefault()}}};function iA(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var aA=class extends bp{hostEl;sharedStylesHost;shadowRoot;constructor(e,t,i,a,o,n,c,d){super(e,a,o,c),this.hostEl=t,this.sharedStylesHost=d,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let m=i.styles;m=dB(i.id,m);for(let x of m){let w=document.createElement("style");n&&w.setAttribute("nonce",n),w.textContent=x,this.shadowRoot.appendChild(w)}let C=i.getExternalStyles?.();if(C)for(let x of C){let w=yu(x,a);n&&w.setAttribute("nonce",n),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Au=class extends bp{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,i,a,o,n,c,d){super(e,o,n,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=a;let m=i.styles;this.styles=d?dB(d,m):m,this.styleUrls=i.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&R3.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},oA=class extends Au{contentAttr;hostAttr;constructor(e,t,i,a,o,n,c,d){let m=a+"-"+i.id;super(e,t,i,o,n,c,d,m),this.contentAttr=jX(m),this.hostAttr=WX(m)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}},GX=class uB extends LX{supportsDOMEvents=!0;static makeCurrent(){ZX(new uB)}onAndCancel(t,i,a,o){return t.addEventListener(i,a,o),()=>{t.removeEventListener(i,a,o)}}dispatchEvent(t,i){t.dispatchEvent(i)}remove(t){t.remove()}createElement(t,i){return i=i||this.getDefaultDocument(),i.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,i){return i==="window"?window:i==="document"?t:i==="body"?t.body:null}getBaseHref(t){let i=qX();return i==null?null:XX(i)}resetBaseElement(){w3=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return DX(document.cookie,t)}},w3=null;function qX(){return w3=w3||document.head.querySelector("base"),w3?w3.getAttribute("href"):null}function XX(e){return new URL(e,document.baseURI).pathname}var $X=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=G1({token:e,factory:e.\u0275fac})}return e})(),rA=["alt","control","meta","shift"],KX={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},YX={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},JX=(()=>{class e extends sB{constructor(i){super(i)}supports(i){return e.parseEventName(i)!=null}addEventListener(i,a,o,n){let c=e.parseEventName(a),d=e.eventCallback(c.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>lc().onAndCancel(i,c.domEventName,d,n))}static parseEventName(i){let a=i.toLowerCase().split("."),o=a.shift();if(a.length===0||!(o==="keydown"||o==="keyup"))return null;let n=e._normalizeKey(a.pop()),c="",d=a.indexOf("code");if(d>-1&&(a.splice(d,1),c="code."),rA.forEach(C=>{let x=a.indexOf(C);x>-1&&(a.splice(x,1),c+=C+".")}),c+=n,a.length!=0||n.length===0)return null;let m={};return m.domEventName=o,m.fullKey=c,m}static matchEventFullKeyCode(i,a){let o=KX[i.key]||i.key,n="";return a.indexOf("code.")>-1&&(o=i.code,n="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),rA.forEach(c=>{if(c!==o){let d=YX[c];d(i)&&(n+=c+".")}}),n+=o,n===a)}static eventCallback(i,a,o){return n=>{e.matchEventFullKeyCode(n,i)&&o.runGuarded(()=>a(n))}}static _normalizeKey(i){return i==="esc"?"escape":i}static \u0275fac=function(i){return new(i||e)(d1(Bn))};static \u0275prov=G1({token:e,factory:e.\u0275fac})}return e})();async function QX(e,t){return lX(e$(e,t))}function e$(e,t){return{platformRef:t?.platformRef,appProviders:[...r$,...e?.providers??[]],platformProviders:o$}}function t$(){GX.makeCurrent()}function i$(){return new _7}function a$(){return lU(document),document}var o$=[{provide:uI,useValue:NX},{provide:dI,useValue:t$,multi:!0},{provide:Bn,useFactory:a$}],r$=[{provide:B_,useValue:"root"},{provide:_7,useFactory:i$},{provide:wu,useClass:Cu,multi:!0},{provide:wu,useClass:JX,multi:!0},tA,cB,lB,{provide:np,useExisting:tA},{provide:OX,useClass:$X},[]],_B=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=G1({token:e,factory:function(i){let a=null;return i?a=new(i||e):a=d1(n$),a},providedIn:"root"})}return e})(),n$=(()=>{class e extends _B{_doc;constructor(i){super(),this._doc=i}sanitize(i,a){if(a==null)return null;switch(i){case ca.NONE:return a;case ca.HTML:return an(a,"HTML")?Oa(a):AI(this._doc,String(a)).toString();case ca.STYLE:return an(a,"Style")?Oa(a):a;case ca.SCRIPT:if(an(a,"Script"))return Oa(a);throw new tt(5200,!1);case ca.URL:return an(a,"URL")?Oa(a):G_(String(a));case ca.RESOURCE_URL:if(an(a,"ResourceURL"))return Oa(a);throw new tt(5201,!1);default:throw new tt(5202,!1)}}bypassSecurityTrustHtml(i){return IU(i)}bypassSecurityTrustStyle(i){return TU(i)}bypassSecurityTrustScript(i){return BU(i)}bypassSecurityTrustUrl(i){return MU(i)}bypassSecurityTrustResourceUrl(i){return kU(i)}static \u0275fac=function(i){return new(i||e)(d1(Bn))};static \u0275prov=G1({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nA=e=>e==="true"?!0:e==="false"?!1:isNaN(Number(e))?e:Number(e),pB=(e,t)=>{let i=nA(t),a=nA(e.if.value);switch(e.if.condition){case"equals":return i===a;case"notEquals":return i!==a;case"greaterThan":return i>a;case"greaterThanOrEqual":return i>=a;case"lessThan":return i<a;case"lessThanOrEqual":return i<=a;case"contains":return Array.isArray(i)||typeof i=="string"&&typeof a=="string"?i.includes(a):!1}return!1},s$=(e,t)=>t?t.reduce((i,a)=>pB(a,e)?X(X({},i),a.styles):i,{}):{},l$=(e,t)=>{if(!t)return e;for(let i of t)if(pB(i,e))return i.then;return e},c$=class{add(e,t,i){if(typeof arguments[0]!="string")for(let a in arguments[0])this.add(a,arguments[0][a],arguments[1]);else(Array.isArray(e)?e:[e]).forEach(function(a){this[a]=this[a]||[],t&&this[a][i?"unshift":"push"](t)},this)}run(e,t){this[e]=this[e]||[],this[e].forEach(function(i){i.call(t&&t.context?t.context:t,t)})}},h$=class{constructor(e){this.jsep=e,this.registered={}}register(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];t.forEach(a=>{if(typeof a!="object"||!a.name||!a.init)throw new Error("Invalid JSEP plugin format");this.registered[a.name]||(a.init(this.jsep),this.registered[a.name]=a)})}},D5=class J{static get version(){return"1.4.0"}static toString(){return"JavaScript Expression Parser (JSEP) v"+J.version}static addUnaryOp(t){return J.max_unop_len=Math.max(t.length,J.max_unop_len),J.unary_ops[t]=1,J}static addBinaryOp(t,i,a){return J.max_binop_len=Math.max(t.length,J.max_binop_len),J.binary_ops[t]=i,a?J.right_associative.add(t):J.right_associative.delete(t),J}static addIdentifierChar(t){return J.additional_identifier_chars.add(t),J}static addLiteral(t,i){return J.literals[t]=i,J}static removeUnaryOp(t){return delete J.unary_ops[t],t.length===J.max_unop_len&&(J.max_unop_len=J.getMaxKeyLen(J.unary_ops)),J}static removeAllUnaryOps(){return J.unary_ops={},J.max_unop_len=0,J}static removeIdentifierChar(t){return J.additional_identifier_chars.delete(t),J}static removeBinaryOp(t){return delete J.binary_ops[t],t.length===J.max_binop_len&&(J.max_binop_len=J.getMaxKeyLen(J.binary_ops)),J.right_associative.delete(t),J}static removeAllBinaryOps(){return J.binary_ops={},J.max_binop_len=0,J}static removeLiteral(t){return delete J.literals[t],J}static removeAllLiterals(){return J.literals={},J}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(t){this.expr=t,this.index=0}static parse(t){return new J(t).parse()}static getMaxKeyLen(t){return Math.max(0,...Object.keys(t).map(i=>i.length))}static isDecimalDigit(t){return t>=48&&t<=57}static binaryPrecedence(t){return J.binary_ops[t]||0}static isIdentifierStart(t){return t>=65&&t<=90||t>=97&&t<=122||t>=128&&!J.binary_ops[String.fromCharCode(t)]||J.additional_identifier_chars.has(String.fromCharCode(t))}static isIdentifierPart(t){return J.isIdentifierStart(t)||J.isDecimalDigit(t)}throwError(t){let i=new Error(t+" at character "+this.index);throw i.index=this.index,i.description=t,i}runHook(t,i){if(J.hooks[t]){let a={context:this,node:i};return J.hooks.run(t,a),a.node}return i}searchHook(t){if(J.hooks[t]){let i={context:this};return J.hooks[t].find(function(a){return a.call(i.context,i),i.node}),i.node}}gobbleSpaces(){let t=this.code;for(;t===J.SPACE_CODE||t===J.TAB_CODE||t===J.LF_CODE||t===J.CR_CODE;)t=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}parse(){this.runHook("before-all");let t=this.gobbleExpressions(),i=t.length===1?t[0]:{type:J.COMPOUND,body:t};return this.runHook("after-all",i)}gobbleExpressions(t){let i=[],a,o;for(;this.index<this.expr.length;)if(a=this.code,a===J.SEMCOL_CODE||a===J.COMMA_CODE)this.index++;else if(o=this.gobbleExpression())i.push(o);else if(this.index<this.expr.length){if(a===t)break;this.throwError('Unexpected "'+this.char+'"')}return i}gobbleExpression(){let t=this.searchHook("gobble-expression")||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook("after-expression",t)}gobbleBinaryOp(){this.gobbleSpaces();let t=this.expr.substr(this.index,J.max_binop_len),i=t.length;for(;i>0;){if(J.binary_ops.hasOwnProperty(t)&&(!J.isIdentifierStart(this.code)||this.index+t.length<this.expr.length&&!J.isIdentifierPart(this.expr.charCodeAt(this.index+t.length))))return this.index+=i,t;t=t.substr(0,--i)}return!1}gobbleBinaryExpression(){let t,i,a,o,n,c,d,m,C;if(c=this.gobbleToken(),!c||(i=this.gobbleBinaryOp(),!i))return c;for(n={value:i,prec:J.binaryPrecedence(i),right_a:J.right_associative.has(i)},d=this.gobbleToken(),d||this.throwError("Expected expression after "+i),o=[c,n,d];i=this.gobbleBinaryOp();){if(a=J.binaryPrecedence(i),a===0){this.index-=i.length;break}n={value:i,prec:a,right_a:J.right_associative.has(i)},C=i;let x=w=>n.right_a&&w.right_a?a>w.prec:a<=w.prec;for(;o.length>2&&x(o[o.length-2]);)d=o.pop(),i=o.pop().value,c=o.pop(),t={type:J.BINARY_EXP,operator:i,left:c,right:d},o.push(t);t=this.gobbleToken(),t||this.throwError("Expected expression after "+C),o.push(n,t)}for(m=o.length-1,t=o[m];m>1;)t={type:J.BINARY_EXP,operator:o[m-1].value,left:o[m-2],right:t},m-=2;return t}gobbleToken(){let t,i,a,o;if(this.gobbleSpaces(),o=this.searchHook("gobble-token"),o)return this.runHook("after-token",o);if(t=this.code,J.isDecimalDigit(t)||t===J.PERIOD_CODE)return this.gobbleNumericLiteral();if(t===J.SQUOTE_CODE||t===J.DQUOTE_CODE)o=this.gobbleStringLiteral();else if(t===J.OBRACK_CODE)o=this.gobbleArray();else{for(i=this.expr.substr(this.index,J.max_unop_len),a=i.length;a>0;){if(J.unary_ops.hasOwnProperty(i)&&(!J.isIdentifierStart(this.code)||this.index+i.length<this.expr.length&&!J.isIdentifierPart(this.expr.charCodeAt(this.index+i.length)))){this.index+=a;let n=this.gobbleToken();return n||this.throwError("missing unaryOp argument"),this.runHook("after-token",{type:J.UNARY_EXP,operator:i,argument:n,prefix:!0})}i=i.substr(0,--a)}J.isIdentifierStart(t)?(o=this.gobbleIdentifier(),J.literals.hasOwnProperty(o.name)?o={type:J.LITERAL,value:J.literals[o.name],raw:o.name}:o.name===J.this_str&&(o={type:J.THIS_EXP})):t===J.OPAREN_CODE&&(o=this.gobbleGroup())}return o?(o=this.gobbleTokenProperty(o),this.runHook("after-token",o)):this.runHook("after-token",!1)}gobbleTokenProperty(t){this.gobbleSpaces();let i=this.code;for(;i===J.PERIOD_CODE||i===J.OBRACK_CODE||i===J.OPAREN_CODE||i===J.QUMARK_CODE;){let a;if(i===J.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==J.PERIOD_CODE)break;a=!0,this.index+=2,this.gobbleSpaces(),i=this.code}this.index++,i===J.OBRACK_CODE?(t={type:J.MEMBER_EXP,computed:!0,object:t,property:this.gobbleExpression()},t.property||this.throwError('Unexpected "'+this.char+'"'),this.gobbleSpaces(),i=this.code,i!==J.CBRACK_CODE&&this.throwError("Unclosed ["),this.index++):i===J.OPAREN_CODE?t={type:J.CALL_EXP,arguments:this.gobbleArguments(J.CPAREN_CODE),callee:t}:(i===J.PERIOD_CODE||a)&&(a&&this.index--,this.gobbleSpaces(),t={type:J.MEMBER_EXP,computed:!1,object:t,property:this.gobbleIdentifier()}),a&&(t.optional=!0),this.gobbleSpaces(),i=this.code}return t}gobbleNumericLiteral(){let t="",i,a;for(;J.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);if(this.code===J.PERIOD_CODE)for(t+=this.expr.charAt(this.index++);J.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);if(i=this.char,i==="e"||i==="E"){for(t+=this.expr.charAt(this.index++),i=this.char,(i==="+"||i==="-")&&(t+=this.expr.charAt(this.index++));J.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);J.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+t+this.char+")")}return a=this.code,J.isIdentifierStart(a)?this.throwError("Variable names cannot start with a number ("+t+this.char+")"):(a===J.PERIOD_CODE||t.length===1&&t.charCodeAt(0)===J.PERIOD_CODE)&&this.throwError("Unexpected period"),{type:J.LITERAL,value:parseFloat(t),raw:t}}gobbleStringLiteral(){let t="",i=this.index,a=this.expr.charAt(this.index++),o=!1;for(;this.index<this.expr.length;){let n=this.expr.charAt(this.index++);if(n===a){o=!0;break}else if(n==="\\")switch(n=this.expr.charAt(this.index++),n){case"n":t+=`
|
|
103
103
|
`;break;case"r":t+="\r";break;case"t":t+=" ";break;case"b":t+="\b";break;case"f":t+="\f";break;case"v":t+="\v";break;default:t+=n}else t+=n}return o||this.throwError('Unclosed quote after "'+t+'"'),{type:J.LITERAL,value:t,raw:this.expr.substring(i,this.index)}}gobbleIdentifier(){let t=this.code,i=this.index;for(J.isIdentifierStart(t)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length&&(t=this.code,J.isIdentifierPart(t));)this.index++;return{type:J.IDENTIFIER,name:this.expr.slice(i,this.index)}}gobbleArguments(t){let i=[],a=!1,o=0;for(;this.index<this.expr.length;){this.gobbleSpaces();let n=this.code;if(n===t){a=!0,this.index++,t===J.CPAREN_CODE&&o&&o>=i.length&&this.throwError("Unexpected token "+String.fromCharCode(t));break}else if(n===J.COMMA_CODE){if(this.index++,o++,o!==i.length){if(t===J.CPAREN_CODE)this.throwError("Unexpected token ,");else if(t===J.CBRACK_CODE)for(let c=i.length;c<o;c++)i.push(null)}}else if(i.length!==o&&o!==0)this.throwError("Expected comma");else{let c=this.gobbleExpression();(!c||c.type===J.COMPOUND)&&this.throwError("Expected comma"),i.push(c)}}return a||this.throwError("Expected "+String.fromCharCode(t)),i}gobbleGroup(){this.index++;let t=this.gobbleExpressions(J.CPAREN_CODE);if(this.code===J.CPAREN_CODE)return this.index++,t.length===1?t[0]:t.length?{type:J.SEQUENCE_EXP,expressions:t}:!1;this.throwError("Unclosed (")}gobbleArray(){return this.index++,{type:J.ARRAY_EXP,elements:this.gobbleArguments(J.CBRACK_CODE)}}},d$=new c$;Object.assign(D5,{hooks:d$,plugins:new h$(D5),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"??":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set(["**"]),additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"});D5.max_unop_len=D5.getMaxKeyLen(D5.unary_ops);D5.max_binop_len=D5.getMaxKeyLen(D5.binary_ops);var qa=e=>new D5(e).parse(),u$=Object.getOwnPropertyNames(class{});Object.getOwnPropertyNames(D5).filter(e=>!u$.includes(e)&&qa[e]===void 0).forEach(e=>{qa[e]=D5[e]});qa.Jsep=D5;var _$="ConditionalExpression",p$={name:"ternary",init(e){e.hooks.add("after-expression",function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;let i=t.node,a=this.gobbleExpression();if(a||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;let o=this.gobbleExpression();if(o||this.throwError("Expected expression"),t.node={type:_$,test:i,consequent:a,alternate:o},i.operator&&e.binary_ops[i.operator]<=.9){let n=i;for(;n.right.operator&&e.binary_ops[n.right.operator]<=.9;)n=n.right;t.node.test=n.right,n.right=t.node,t.node=i}}else this.throwError("Expected :")}})}};qa.plugins.register(p$);var sA=47,v$=92,m$={name:"regex",init(e){e.hooks.add("gobble-token",function(t){if(this.code===sA){let i=++this.index,a=!1;for(;this.index<this.expr.length;){if(this.code===sA&&!a){let o=this.expr.slice(i,this.index),n="";for(;++this.index<this.expr.length;){let d=this.code;if(d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57)n+=this.char;else break}let c;try{c=new RegExp(o,n)}catch(d){this.throwError(d.message)}return t.node={type:e.LITERAL,value:c,raw:this.expr.slice(i-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?a=!0:a&&this.code===e.CBRACK_CODE&&(a=!1),this.index+=this.code===v$?2:1}this.throwError("Unclosed Regex")}})}},pd=43,g$=45,ms={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|=","||=","&&=","??="]),updateOperators:[pd,g$],assignmentPrecedence:.9,init(e){let t=[e.IDENTIFIER,e.MEMBER_EXP];ms.assignmentOperators.forEach(a=>e.addBinaryOp(a,ms.assignmentPrecedence,!0)),e.hooks.add("gobble-token",function(a){let o=this.code;ms.updateOperators.some(n=>n===o&&n===this.expr.charCodeAt(this.index+1))&&(this.index+=2,a.node={type:"UpdateExpression",operator:o===pd?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},(!a.node.argument||!t.includes(a.node.argument.type))&&this.throwError(`Unexpected ${a.node.operator}`))}),e.hooks.add("after-token",function(a){if(a.node){let o=this.code;ms.updateOperators.some(n=>n===o&&n===this.expr.charCodeAt(this.index+1))&&(t.includes(a.node.type)||this.throwError(`Unexpected ${a.node.operator}`),this.index+=2,a.node={type:"UpdateExpression",operator:o===pd?"++":"--",argument:a.node,prefix:!1})}}),e.hooks.add("after-expression",function(a){a.node&&i(a.node)});function i(a){ms.assignmentOperators.has(a.operator)?(a.type="AssignmentExpression",i(a.left),i(a.right)):a.operator||Object.values(a).forEach(o=>{o&&typeof o=="object"&&i(o)})}}};qa.plugins.register(m$,ms);qa.addUnaryOp("typeof");qa.addUnaryOp("void");qa.addLiteral("null",null);qa.addLiteral("undefined",void 0);var f$=new Set(["constructor","__proto__","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"]),qt={evalAst(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":return qt.evalBinaryExpression(e,t);case"Compound":return qt.evalCompound(e,t);case"ConditionalExpression":return qt.evalConditionalExpression(e,t);case"Identifier":return qt.evalIdentifier(e,t);case"Literal":return qt.evalLiteral(e,t);case"MemberExpression":return qt.evalMemberExpression(e,t);case"UnaryExpression":return qt.evalUnaryExpression(e,t);case"ArrayExpression":return qt.evalArrayExpression(e,t);case"CallExpression":return qt.evalCallExpression(e,t);case"AssignmentExpression":return qt.evalAssignmentExpression(e,t);default:throw SyntaxError("Unexpected expression",e)}},evalBinaryExpression(e,t){return{"||":(i,a)=>i||a(),"&&":(i,a)=>i&&a(),"|":(i,a)=>i|a(),"^":(i,a)=>i^a(),"&":(i,a)=>i&a(),"==":(i,a)=>i==a(),"!=":(i,a)=>i!=a(),"===":(i,a)=>i===a(),"!==":(i,a)=>i!==a(),"<":(i,a)=>i<a(),">":(i,a)=>i>a(),"<=":(i,a)=>i<=a(),">=":(i,a)=>i>=a(),"<<":(i,a)=>i<<a(),">>":(i,a)=>i>>a(),">>>":(i,a)=>i>>>a(),"+":(i,a)=>i+a(),"-":(i,a)=>i-a(),"*":(i,a)=>i*a(),"/":(i,a)=>i/a(),"%":(i,a)=>i%a()}[e.operator](qt.evalAst(e.left,t),()=>qt.evalAst(e.right,t))},evalCompound(e,t){let i;for(let a=0;a<e.body.length;a++){e.body[a].type==="Identifier"&&["var","let","const"].includes(e.body[a].name)&&e.body[a+1]&&e.body[a+1].type==="AssignmentExpression"&&(a+=1);let o=e.body[a];i=qt.evalAst(o,t)}return i},evalConditionalExpression(e,t){return qt.evalAst(e.test,t)?qt.evalAst(e.consequent,t):qt.evalAst(e.alternate,t)},evalIdentifier(e,t){if(Object.hasOwn(t,e.name))return t[e.name];throw ReferenceError(`${e.name} is not defined`)},evalLiteral(e){return e.value},evalMemberExpression(e,t){let i=String(e.computed?qt.evalAst(e.property):e.property.name),a=qt.evalAst(e.object,t);if(a==null)throw TypeError(`Cannot read properties of ${a} (reading '${i}')`);if(!Object.hasOwn(a,i)&&f$.has(i))throw TypeError(`Cannot read properties of ${a} (reading '${i}')`);let o=a[i];return typeof o=="function"?o.bind(a):o},evalUnaryExpression(e,t){return{"-":i=>-qt.evalAst(i,t),"!":i=>!qt.evalAst(i,t),"~":i=>~qt.evalAst(i,t),"+":i=>+qt.evalAst(i,t),typeof:i=>typeof qt.evalAst(i,t),void:i=>{qt.evalAst(i,t)}}[e.operator](e.argument)},evalArrayExpression(e,t){return e.elements.map(i=>qt.evalAst(i,t))},evalCallExpression(e,t){let i=e.arguments.map(o=>qt.evalAst(o,t)),a=qt.evalAst(e.callee,t);if(a===Function)throw new Error("Function constructor is disabled");return a(...i)},evalAssignmentExpression(e,t){if(e.left.type!=="Identifier")throw SyntaxError("Invalid left-hand side in assignment");let i=e.left.name,a=qt.evalAst(e.right,t);return t[i]=a,t[i]}},b$=class{constructor(e){this.code=e,this.ast=qa(this.code)}runInNewContext(e){let t=Object.assign(Object.create(null),e);return qt.evalAst(this.ast,t)}};function k2(e,t){return e=e.slice(),e.push(t),e}function xu(e,t){return t=t.slice(),t.unshift(e),t}var C$=class extends Error{constructor(e){super('JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'),this.avoidNew=!0,this.value=e,this.name="NewError"}};function Zt(e,t,i,a,o){if(!(this instanceof Zt))try{return new Zt(e,t,i,a,o)}catch(c){if(!c.avoidNew)throw c;return c.value}typeof e=="string"&&(o=a,a=i,i=t,t=e,e=null);let n=e&&typeof e=="object";if(e=e||{},this.json=e.json||i,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=Object.hasOwn(e,"wrap")?e.wrap:!0,this.sandbox=e.sandbox||{},this.eval=e.eval===void 0?"safe":e.eval,this.ignoreEvalErrors=typeof e.ignoreEvalErrors>"u"?!1:e.ignoreEvalErrors,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||a||null,this.otherTypeCallback=e.otherTypeCallback||o||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},e.autostart!==!1){let c={path:n?e.path:t};n?"json"in e&&(c.json=e.json):c.json=i;let d=this.evaluate(c);if(!d||typeof d!="object")throw new C$(d);return d}}Zt.prototype.evaluate=function(e,t,i,a){let o=this.parent,n=this.parentProperty,{flatten:c,wrap:d}=this;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,i=i||this.callback,this.currOtherTypeCallback=a||this.otherTypeCallback,t=t||this.json,e=e||this.path,e&&typeof e=="object"&&!Array.isArray(e)){if(!e.path&&e.path!=="")throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!Object.hasOwn(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');({json:t}=e),c=Object.hasOwn(e,"flatten")?e.flatten:c,this.currResultType=Object.hasOwn(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=Object.hasOwn(e,"sandbox")?e.sandbox:this.currSandbox,d=Object.hasOwn(e,"wrap")?e.wrap:d,this.currEval=Object.hasOwn(e,"eval")?e.eval:this.currEval,i=Object.hasOwn(e,"callback")?e.callback:i,this.currOtherTypeCallback=Object.hasOwn(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,o=Object.hasOwn(e,"parent")?e.parent:o,n=Object.hasOwn(e,"parentProperty")?e.parentProperty:n,e=e.path}if(o=o||null,n=n||null,Array.isArray(e)&&(e=Zt.toPathString(e)),!e&&e!==""||!t)return;let m=Zt.toPathArray(e);m[0]==="$"&&m.length>1&&m.shift(),this._hasParentSelector=null;let C=this._trace(m,t,["$"],o,n,i).filter(function(x){return x&&!x.isParentSelector});return C.length?!d&&C.length===1&&!C[0].hasArrExpr?this._getPreferredOutput(C[0]):C.reduce((x,w)=>{let B=this._getPreferredOutput(w);return c&&Array.isArray(B)?x=x.concat(B):x.push(B),x},[]):d?[]:void 0};Zt.prototype._getPreferredOutput=function(e){let t=this.currResultType;switch(t){case"all":{let i=Array.isArray(e.path)?e.path:Zt.toPathArray(e.path);return e.pointer=Zt.toPointer(i),e.path=typeof e.path=="string"?e.path:Zt.toPathString(e.path),e}case"value":case"parent":case"parentProperty":return e[t];case"path":return Zt.toPathString(e[t]);case"pointer":return Zt.toPointer(e.path);default:throw new TypeError("Unknown result type")}};Zt.prototype._handleCallback=function(e,t,i){if(t){let a=this._getPreferredOutput(e);e.path=typeof e.path=="string"?e.path:Zt.toPathString(e.path),t(a,i,e)}};Zt.prototype._trace=function(e,t,i,a,o,n,c,d){let m;if(!e.length)return m={path:i,value:t,parent:a,parentProperty:o,hasArrExpr:c},this._handleCallback(m,n,"value"),m;let C=e[0],x=e.slice(1),w=[];function B(I){Array.isArray(I)?I.forEach(R=>{w.push(R)}):w.push(I)}if((typeof C!="string"||d)&&t&&Object.hasOwn(t,C))B(this._trace(x,t[C],k2(i,C),t,C,n,c));else if(C==="*")this._walk(t,I=>{B(this._trace(x,t[I],k2(i,I),t,I,n,!0,!0))});else if(C==="..")B(this._trace(x,t,i,a,o,n,c)),this._walk(t,I=>{typeof t[I]=="object"&&B(this._trace(e.slice(),t[I],k2(i,I),t,I,n,!0))});else{if(C==="^")return this._hasParentSelector=!0,{path:i.slice(0,-1),expr:x,isParentSelector:!0};if(C==="~")return m={path:k2(i,C),value:o,parent:a,parentProperty:null},this._handleCallback(m,n,"property"),m;if(C==="$")B(this._trace(x,t,i,null,null,n,c));else if(/^(-?\d*):(-?\d*):?(\d*)$/u.test(C))B(this._slice(C,x,t,i,a,o,n));else if(C.indexOf("?(")===0){if(this.currEval===!1)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");let I=C.replace(/^\?\((.*?)\)$/u,"$1"),R=/@.?([^?]*)[['](\??\(.*?\))(?!.\)\])[\]']/gu.exec(I);R?this._walk(t,W=>{let ne=[R[2]],z=R[1]?t[W][R[1]]:t[W];this._trace(ne,z,i,a,o,n,!0).length>0&&B(this._trace(x,t[W],k2(i,W),t,W,n,!0))}):this._walk(t,W=>{this._eval(I,t[W],W,i,a,o)&&B(this._trace(x,t[W],k2(i,W),t,W,n,!0))})}else if(C[0]==="("){if(this.currEval===!1)throw new Error("Eval [(expr)] prevented in JSONPath expression.");B(this._trace(xu(this._eval(C,t,i.at(-1),i.slice(0,-1),a,o),x),t,i,a,o,n,c))}else if(C[0]==="@"){let I=!1,R=C.slice(1,-2);switch(R){case"scalar":(!t||!["object","function"].includes(typeof t))&&(I=!0);break;case"boolean":case"string":case"undefined":case"function":typeof t===R&&(I=!0);break;case"integer":Number.isFinite(t)&&!(t%1)&&(I=!0);break;case"number":Number.isFinite(t)&&(I=!0);break;case"nonFinite":typeof t=="number"&&!Number.isFinite(t)&&(I=!0);break;case"object":t&&typeof t===R&&(I=!0);break;case"array":Array.isArray(t)&&(I=!0);break;case"other":I=this.currOtherTypeCallback(t,i,a,o);break;case"null":t===null&&(I=!0);break;default:throw new TypeError("Unknown value type "+R)}if(I)return m={path:i,value:t,parent:a,parentProperty:o},this._handleCallback(m,n,"value"),m}else if(C[0]==="`"&&t&&Object.hasOwn(t,C.slice(1))){let I=C.slice(1);B(this._trace(x,t[I],k2(i,I),t,I,n,c,!0))}else if(C.includes(",")){let I=C.split(",");for(let R of I)B(this._trace(xu(R,x),t,i,a,o,n,!0))}else!d&&t&&Object.hasOwn(t,C)&&B(this._trace(x,t[C],k2(i,C),t,C,n,c,!0))}if(this._hasParentSelector)for(let I=0;I<w.length;I++){let R=w[I];if(R&&R.isParentSelector){let W=this._trace(R.expr,t,R.path,a,o,n,c);if(Array.isArray(W)){w[I]=W[0];let ne=W.length;for(let z=1;z<ne;z++)I++,w.splice(I,0,W[z])}else w[I]=W}}return w};Zt.prototype._walk=function(e,t){if(Array.isArray(e)){let i=e.length;for(let a=0;a<i;a++)t(a)}else e&&typeof e=="object"&&Object.keys(e).forEach(i=>{t(i)})};Zt.prototype._slice=function(e,t,i,a,o,n,c){if(!Array.isArray(i))return;let d=i.length,m=e.split(":"),C=m[2]&&Number.parseInt(m[2])||1,x=m[0]&&Number.parseInt(m[0])||0,w=m[1]&&Number.parseInt(m[1])||d;x=x<0?Math.max(0,x+d):Math.min(d,x),w=w<0?Math.max(0,w+d):Math.min(d,w);let B=[];for(let I=x;I<w;I+=C)this._trace(xu(I,t),i,a,o,n,c,!0).forEach(R=>{B.push(R)});return B};Zt.prototype._eval=function(e,t,i,a,o,n){this.currSandbox._$_parentProperty=n,this.currSandbox._$_parent=o,this.currSandbox._$_property=i,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;let c=e.includes("@path");c&&(this.currSandbox._$_path=Zt.toPathString(a.concat([i])));let d=this.currEval+"Script:"+e;if(!Zt.cache[d]){let m=e.replaceAll("@parentProperty","_$_parentProperty").replaceAll("@parent","_$_parent").replaceAll("@property","_$_property").replaceAll("@root","_$_root").replaceAll(/@([.\s)[])/gu,"_$_v$1");if(c&&(m=m.replaceAll("@path","_$_path")),this.currEval==="safe"||this.currEval===!0||this.currEval===void 0)Zt.cache[d]=new this.safeVm.Script(m);else if(this.currEval==="native")Zt.cache[d]=new this.vm.Script(m);else if(typeof this.currEval=="function"&&this.currEval.prototype&&Object.hasOwn(this.currEval.prototype,"runInNewContext")){let C=this.currEval;Zt.cache[d]=new C(m)}else if(typeof this.currEval=="function")Zt.cache[d]={runInNewContext:C=>this.currEval(m,C)};else throw new TypeError(`Unknown "eval" property "${this.currEval}"`)}try{return Zt.cache[d].runInNewContext(this.currSandbox)}catch(m){if(this.ignoreEvalErrors)return!1;throw new Error("jsonPath: "+m.message+": "+e)}};Zt.cache={};Zt.toPathString=function(e){let t=e,i=t.length,a="$";for(let o=1;o<i;o++)/^(~|\^|@.*?\(\))$/u.test(t[o])||(a+=/^[0-9*]+$/u.test(t[o])?"["+t[o]+"]":"['"+t[o]+"']");return a};Zt.toPointer=function(e){let t=e,i=t.length,a="";for(let o=1;o<i;o++)/^(~|\^|@.*?\(\))$/u.test(t[o])||(a+="/"+t[o].toString().replaceAll("~","~0").replaceAll("/","~1"));return a};Zt.toPathArray=function(e){let{cache:t}=Zt;if(t[e])return t[e].concat();let i=[],a=e.replaceAll(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/gu,";$&;").replaceAll(/[['](\??\(.*?\))[\]'](?!.\])/gu,function(o,n){return"[#"+(i.push(n)-1)+"]"}).replaceAll(/\[['"]([^'\]]*)['"]\]/gu,function(o,n){return"['"+n.replaceAll(".","%@%").replaceAll("~","%%@@%%")+"']"}).replaceAll("~",";~;").replaceAll(/['"]?\.['"]?(?![^[]*\])|\[['"]?/gu,";").replaceAll("%@%",".").replaceAll("%%@@%%","~").replaceAll(/(?:;)?(\^+)(?:;)?/gu,function(o,n){return";"+n.split("").join(";")+";"}).replaceAll(/;;;|;;/gu,";..;").replaceAll(/;$|'?\]|'$/gu,"").split(";").map(function(o){let n=o.match(/#(\d+)/u);return!n||!n[1]?o:i[n[1]]});return t[e]=a,t[e].concat()};Zt.prototype.safeVm={Script:b$};var w$=function(e,t,i){let a=e.length;for(let o=0;o<a;o++){let n=e[o];i(n)&&t.push(e.splice(o--,1)[0])}},y$=class{constructor(e){this.code=e}runInNewContext(e){let t=this.code,i=Object.keys(e),a=[];w$(i,a,d=>typeof e[d]=="function");let o=i.map(d=>e[d]);t=a.reduce((d,m)=>{let C=e[m].toString();return/function/u.test(C)||(C="function "+C),"var "+m+"="+C+";"+d},"")+t,!/(['"])use strict\1/u.test(t)&&!i.includes("arguments")&&(t="var arguments = undefined;"+t),t=t.replace(/;\s*$/u,"");let n=t.lastIndexOf(";"),c=n!==-1?t.slice(0,n+1)+" return "+t.slice(n+1):" return "+t;return new Function(...i,c)(...o)}};Zt.prototype.vm={Script:y$};var Cp=(e,t)=>{let i=t.jsonPathExpression||t.property;if(!i)return;if(i instanceof Array){console.error(`Property defined as an array: ${JSON.stringify(i)}, provide "jsonPathExpression" field to properly ready resource value`);return}let a=i.startsWith("$.")?"":"$.",o=Zt({path:`${a}${i}`,json:e}),n=o.length?o[0]:void 0;return n&&t.propertyField?A$(n[t.propertyField.key],t.propertyField.transform):n},A$=(e,t)=>e==null||t==null||!t.length?e:t.reduce((i,a)=>{if(i==null)return i;switch(a){case"uppercase":return i.toUpperCase();case"lowercase":return i.toLowerCase();case"capitalize":{let o=String(i);return o.length?o.charAt(0).toUpperCase()+o.slice(1):o}case"decode":try{return S$(i)}catch{return i}case"encode":try{return x$(i)}catch{return i}default:return i}},e),x$=e=>{try{let t=new TextEncoder().encode(e),i=Array.from(t,a=>String.fromCharCode(a)).join("");return btoa(i)}catch(t){throw console.error("Base64 encoding failed:",t),new Error("Failed to encode string to Base64")}},S$=e=>{try{let t=atob(e),i=Uint8Array.from(t,a=>a.charCodeAt(0));return new TextDecoder().decode(i)}catch(t){throw console.error("Base64 decoding failed:",t),new Error("Failed to decode Base64 string")}};function I$(e,t){return t?Cp(t,e)??e.value:e.value}var T$="Positive",B$="Negative",M$="accept",k$="decline",E$=class Su{boolValue=L.required();testId=L("boolean-value-icon");iconDesign=Ve(()=>this.boolValue()?T$:B$);iconName=Ve(()=>this.boolValue()?M$:k$);static \u0275fac=function(t){return new(t||Su)};static \u0275cmp=$e({type:Su,selectors:[["mfp-boolean-value"]],inputs:{boolValue:[1,"boolValue"],testId:[1,"testId"]},decls:1,vars:3,consts:[[3,"design","name"]],template:function(t,i){t&1&&X1(0,"ui5-icon",0),t&2&&(we("design",i.iconDesign())("name",i.iconName()),Tt("data-testid",i.testId()))},dependencies:[Hn],encapsulation:2,changeDetection:0})},Z$=["*"],L$=(()=>{class e{constructor(){this.disabled=L(!1,{transform:Pe}),this.tooltip=L(),this.href=L(),this.target=L(),this.design=L("Default"),this.interactiveAreaSize=L("Normal"),this.wrappingType=L("Normal"),this.accessibleName=L(),this.accessibleNameRef=L(),this.accessibleRole=L("Link"),this.accessibilityAttributes=L({}),this.accessibleDescription=L(),this.icon=L(),this.endIcon=L(),this.ui5Click=me(),this.slots=[{name:"default",description:`Defines the text of the component.
|
|
104
104
|
|
|
105
|
-
**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.`}],this.elementRef=ae(pt),this.injector=ae(bt)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let i=this.element,a=["disabled","tooltip","href","target","design","interactiveAreaSize","wrappingType","accessibleName","accessibleNameRef","accessibleRole","accessibilityAttributes","accessibleDescription","icon","endIcon"];for(let n of a){let c=n.replace(/-./g,d=>d[1].toUpperCase());this[c]&&typeof this[c]=="function"&&m1(this.injector,()=>{yt(()=>{let d=this[c]();i&&(i[n]=d)})})}let o=["ui5Click"];for(let n of o){let c=n.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[n]&&typeof this[n].emit=="function"&&i.addEventListener&&i.addEventListener(c,d=>{this[n].emit(d)})}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$e({type:e,selectors:[["ui5-link"],["","ui5-link",""]],inputs:{disabled:[1,"disabled"],tooltip:[1,"tooltip"],href:[1,"href"],target:[1,"target"],design:[1,"design"],interactiveAreaSize:[1,"interactiveAreaSize"],wrappingType:[1,"wrappingType"],accessibleName:[1,"accessibleName"],accessibleNameRef:[1,"accessibleNameRef"],accessibleRole:[1,"accessibleRole"],accessibilityAttributes:[1,"accessibilityAttributes"],accessibleDescription:[1,"accessibleDescription"],icon:[1,"icon"],endIcon:[1,"endIcon"]},outputs:{ui5Click:"ui5Click"},exportAs:["ui5Link"],ngContentSelectors:Z$,decls:1,vars:0,template:function(i,a){i&1&&($t(),jt(0))},encapsulation:2,changeDetection:0})}}return e})(),H$=class Iu{urlValue=L.required();testId=L("link-value-link");stopPropagation(t){t.stopPropagation()}static \u0275fac=function(t){return new(t||Iu)};static \u0275cmp=$e({type:Iu,selectors:[["mfp-link-value"]],inputs:{urlValue:[1,"urlValue"],testId:[1,"testId"]},decls:2,vars:3,consts:[["target","_blank",3,"click","href","tooltip"]],template:function(t,i){t&1&&(Q(0,"ui5-link",0),Te("click",function(a){return i.stopPropagation(a)}),ke(1,"Link"),te()),t&2&&(we("href",i.urlValue())("tooltip",i.urlValue()),Tt("data-testid",i.testId()))},dependencies:[L$],encapsulation:2,changeDetection:0})};function R$(e,t){if(e&1&&ke(0),e&2){let i=Y();I0(" ",i.value()," ")}}function D$(e,t){if(e&1&&ke(0),e&2){let i=Y();I0(" ",i.maskedValue()," ")}}var O$=class Tu{value=L.required();isVisible=L(!1);testId=L("secret-value");maskedValue=Ve(()=>"*".repeat(this.value().length||8));static \u0275fac=function(t){return new(t||Tu)};static \u0275cmp=$e({type:Tu,selectors:[["mfp-secret-value"]],inputs:{value:[1,"value"],isVisible:[1,"isVisible"],testId:[1,"testId"]},decls:3,vars:4,consts:[[1,"secret-value"]],template:function(t,i){t&1&&(_p(0,"span",0),nt(1,R$,1,1)(2,D$,1,1),pp()),t&2&&(nr("masked",!i.isVisible()),Tt("data-testid",i.testId()),q(),st(i.isVisible()?1:2))},styles:[".secret-value[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem}.masked[_ngcontent-%COMP%]{transform:translateY(.2em);display:flex}"],changeDetection:0})},N$="sys-help-2",V$="M8 0c1.104 0 2.14.208 3.11.625a8.215 8.215 0 0 1 2.546 1.703 7.852 7.852 0 0 1 1.719 2.547c.417.98.625 2.02.625 3.125 0 1.104-.208 2.14-.625 3.11a8.082 8.082 0 0 1-1.719 2.546 8.082 8.082 0 0 1-2.547 1.719A7.785 7.785 0 0 1 8 16a7.897 7.897 0 0 1-3.125-.625 7.852 7.852 0 0 1-2.547-1.719A8.215 8.215 0 0 1 .625 11.11 7.786 7.786 0 0 1 0 8c0-1.104.208-2.146.625-3.125a7.977 7.977 0 0 1 1.703-2.547A7.977 7.977 0 0 1 4.875.625 7.897 7.897 0 0 1 8 0Zm-.156 13.281c.312 0 .583-.114.812-.344.23-.229.344-.5.344-.812a1.06 1.06 0 0 0-.344-.797A1.136 1.136 0 0 0 7.844 11c-.313 0-.578.11-.797.328a1.085 1.085 0 0 0-.328.797c0 .313.11.583.328.813.219.229.484.343.797.343ZM11 5.812c0-.666-.281-1.26-.844-1.78-.562-.522-1.364-.782-2.406-.782-.958 0-1.714.25-2.266.75s-.859 1.115-.921 1.844h1.625c.104-.5.286-.839.546-1.016.26-.177.63-.266 1.11-.266.479 0 .843.13 1.093.391.25.26.376.547.376.86 0 .208-.027.354-.079.437-.052.083-.192.24-.421.469l-.626.531c-.312.25-.552.469-.718.656-.167.188-.287.38-.36.578-.073.198-.12.417-.14.657-.021.24-.032.526-.032.859H8.5c0-.25.005-.448.016-.594.01-.146.041-.276.093-.39a1.12 1.12 0 0 1 .235-.329c.104-.104.26-.24.469-.406l.843-.781.5-.563.281-.5.063-.625Z",P$=!0,z$="0 0 16 16",F$="SAP-icons-v4",U$="@ui5/webcomponents-icons";ee(N$,{pathData:V$,ltr:P$,viewBox:z$,collection:F$,packageName:U$});var j$="sys-help-2",W$="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm0 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm.2-8A3.194 3.194 0 0 0 5 6.2a1 1 0 0 0 1.995.103C6.995 5.619 7.443 5 8.2 5c.668 0 1.2.533 1.2 1.2 0 .41-.136.684-.322.859-.19.179-.528.341-1.078.341a1 1 0 0 0-.995.898S7 8.448 7 9a1 1 0 0 0 1.956.291 3.214 3.214 0 0 0 1.491-.774c.64-.6.953-1.428.953-2.317C11.4 4.428 9.972 3 8.2 3Z",G$=!0,q$="0 0 16 16",X$="SAP-icons-v5",$$="@ui5/webcomponents-icons";ee(j$,{pathData:W$,ltr:G$,viewBox:q$,collection:X$,packageName:$$});var vB=(function(e){return e.Set1="Set1",e.Set2="Set2",e.Neutral="Neutral",e.Information="Information",e.Positive="Positive",e.Negative="Negative",e.Critical="Critical",e})(vB||{}),Ha=vB;function K$(){return g(se,{children:this.interactive?g("button",{class:"ui5-tag-root",title:this._title,"aria-roledescription":this._roleDescription,"aria-description":this._valueState,onClick:this._onclick,part:"root",children:lA.call(this)}):g("div",{class:"ui5-tag-root",title:this._title,part:"root",children:lA.call(this)})})}function lA(){return k(se,{children:[g("slot",{name:"icon"}),this._semanticIconName&&g(_e,{class:"ui5-tag-semantic-icon",name:this._semanticIconName}),g("span",{class:"ui5-hidden-text",children:this.tagDescription}),this.hasText&&g("span",{class:"ui5-tag-text",children:g("slot",{})})]})}Z("@ui5/webcomponents-theming","sap_horizon",async()=>K);Z("@ui5/webcomponents","sap_horizon",async()=>ye,"host");var Y$=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{font-size:var(--sapFontSmallSize);font-family:var(--sapFontBoldFamily);font-weight:var(--_ui5-tag-font-weight);letter-spacing:var(--_ui5-tag-letter-spacing);line-height:var(--_ui5-tag-height)}.ui5-tag-root{display:flex;align-items:baseline;justify-content:center;width:100%;min-width:1.125em;max-width:100%;box-sizing:border-box;padding:var(--_ui5-tag-text-padding);border:.0625rem solid;border-radius:var(--sapButton_BorderCornerRadius);white-space:normal;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit}:host([interactive]) .ui5-tag-root:active{text-shadow:var(--ui5-tag-text-shadow)}:host([interactive]) .ui5-tag-root{cursor:pointer}:host([desktop][interactive]) .ui5-tag-root:focus,:host([interactive]) .ui5-tag-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:1px}:host([wrapping-type="None"]) .ui5-tag-root{white-space:nowrap}:host([_icon-only]) .ui5-tag-root{padding-inline:var(--_ui5-tag-padding-inline-icon-only)}.ui5-tag-text{text-transform:var(--_ui5-tag-text-transform);text-align:start;pointer-events:none;overflow:hidden;text-overflow:ellipsis}:host([_has-icon]) .ui5-tag-text{padding-inline-start:var(--_ui5-tag-icon-gap)}[ui5-icon],::slotted([ui5-icon]){width:var(--_ui5-tag-icon-width);min-width:var(--_ui5-tag-icon-width);color:inherit;pointer-events:none;align-self:flex-start}.ui5-tag-root{background-color:var(--sapNeutralBackground);border-color:var(--sapNeutralBorderColor);color:var(--sapTextColor);text-shadow:var(--ui5-tag-text-shadow)}:host([interactive]) .ui5-tag-root:hover{background-color:var(--sapButton_Neutral_Hover_Background);border-color:var(--sapButton_Neutral_Hover_BorderColor);color:var(--sapButton_Neutral_Hover_TextColor)}:host([interactive]) .ui5-tag-root:active{background-color:var(--sapButton_Neutral_Active_Background);border-color:var(--sapButton_Neutral_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]) .ui5-tag-root{background-color:var(--sapButton_Success_Background);border-color:var(--sapButton_Success_BorderColor);color:var(--sapButton_Success_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Positive"]) .ui5-tag-root:hover{background-color:var(--sapButton_Success_Hover_Background);border-color:var(--sapButton_Success_Hover_BorderColor);color:var(--sapButton_Success_Hover_TextColor)}:host([interactive][design="Positive"]) .ui5-tag-root:active{background-color:var(--sapButton_Success_Active_Background);border-color:var(--sapButton_Success_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Negative"]) .ui5-tag-root{background-color:var(--sapButton_Negative_Background);border-color:var(--sapButton_Negative_BorderColor);color:var(--sapButton_Negative_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Negative"]) .ui5-tag-root:hover{background-color:var(--sapButton_Negative_Hover_Background);border-color:var(--sapButton_Negative_Hover_BorderColor);color:var(--sapButton_Negative_Hover_TextColor)}:host([interactive][design="Negative"]) .ui5-tag-root:active{background-color:var(--sapButton_Negative_Active_Background);border-color:var(--sapButton_Negative_Active_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Critical"]) .ui5-tag-root{background-color:var(--sapButton_Critical_Background);border-color:var(--sapButton_Critical_BorderColor);color:var(--sapButton_Critical_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Critical"]) .ui5-tag-root:hover{background-color:var(--sapButton_Critical_Hover_Background);border-color:var(--sapButton_Critical_Hover_BorderColor);color:var(--sapButton_Critical_Hover_TextColor)}:host([interactive][design="Critical"]) .ui5-tag-root:active{background-color:var(--sapButton_Critical_Active_Background);border-color:var(--sapButton_Critical_Active_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Information"]) .ui5-tag-root{background-color:var(--sapButton_Information_Background);border-color:var(--sapButton_Information_BorderColor);color:var(--sapButton_Information_TextColor);text-shadow:var(--ui5-tag-information-text-shadow)}:host([interactive][design="Information"]) .ui5-tag-root:hover{background-color:var(--sapButton_Information_Hover_Background);border-color:var(--sapButton_Information_Hover_BorderColor);color:var(--sapButton_Information_Hover_TextColor)}:host([interactive][design="Information"]) .ui5-tag-root:active{background-color:var(--sapButton_Information_Active_Background);border-color:var(--sapButton_Information_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Set1"]) .ui5-tag-root{text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([design="Set1"]) .ui5-tag-root,:host([interactive][design="Set1"]) .ui5-tag-root{background-color:var(--sapIndicationColor_1_Background);border-color:var(--sapIndicationColor_1_BorderColor);color:var(--sapIndicationColor_1_TextColor)}:host([interactive][design="Set1"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_1_Hover_Background)}:host([interactive][design="Set1"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_1_Active_Background);border-color:var(--sapIndicationColor_1_Active_BorderColor);color:var(--sapIndicationColor_1_Active_TextColor)}:host([design="Set1"][color-scheme="2"]) .ui5-tag-root{background-color:var(--sapIndicationColor_2_Background);border-color:var(--sapIndicationColor_2_BorderColor);color:var(--sapIndicationColor_2_TextColor)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_2_Hover_Background)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_2_Active_Background);border-color:var(--sapIndicationColor_2_Active_BorderColor);color:var(--sapIndicationColor_2_Active_TextColor)}:host([design="Set1"][color-scheme="3"]) .ui5-tag-root{background-color:var(--sapIndicationColor_3_Background);border-color:var(--sapIndicationColor_3_BorderColor);color:var(--sapIndicationColor_3_TextColor)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_3_Hover_Background)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_3_Active_Background);border-color:var(--sapIndicationColor_3_Active_BorderColor);color:var(--sapIndicationColor_3_Active_TextColor)}:host([design="Set1"][color-scheme="4"]) .ui5-tag-root{background-color:var(--sapIndicationColor_4_Background);border-color:var(--sapIndicationColor_4_BorderColor);color:var(--sapIndicationColor_4_TextColor)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_4_Hover_Background)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_4_Active_Background);border-color:var(--sapIndicationColor_4_Active_BorderColor);color:var(--sapIndicationColor_4_Active_TextColor)}:host([design="Set1"][color-scheme="5"]) .ui5-tag-root{background-color:var(--sapIndicationColor_5_Background);border-color:var(--sapIndicationColor_5_BorderColor);color:var(--sapIndicationColor_5_TextColor)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_5_Hover_Background)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_5_Active_Background);border-color:var(--sapIndicationColor_5_Active_BorderColor);color:var(--sapIndicationColor_5_Active_TextColor)}:host([design="Set1"][color-scheme="6"]) .ui5-tag-root{background-color:var(--sapIndicationColor_6_Background);border-color:var(--sapIndicationColor_6_BorderColor);color:var(--sapIndicationColor_6_TextColor)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_6_Hover_Background)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_6_Active_Background);border-color:var(--sapIndicationColor_6_Active_BorderColor);color:var(--sapIndicationColor_6_Active_TextColor)}:host([design="Set1"][color-scheme="7"]) .ui5-tag-root{background-color:var(--sapIndicationColor_7_Background);border-color:var(--sapIndicationColor_7_BorderColor);color:var(--sapIndicationColor_7_TextColor)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_7_Hover_Background)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_7_Active_Background);border-color:var(--sapIndicationColor_7_Active_BorderColor);color:var(--sapIndicationColor_7_Active_TextColor)}:host([design="Set1"][color-scheme="8"]) .ui5-tag-root{background-color:var(--sapIndicationColor_8_Background);border-color:var(--sapIndicationColor_8_BorderColor);color:var(--sapIndicationColor_8_TextColor)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_8_Hover_Background)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_8_Active_Background);border-color:var(--sapIndicationColor_8_Active_BorderColor);color:var(--sapIndicationColor_8_Active_TextColor)}:host([design="Set1"][color-scheme="9"]) .ui5-tag-root{background-color:var(--sapIndicationColor_9_Background);border-color:var(--sapIndicationColor_9_BorderColor);color:var(--sapIndicationColor_9_TextColor)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_9_Hover_Background)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_9_Active_Background);border-color:var(--sapIndicationColor_9_Active_BorderColor);color:var(--sapIndicationColor_9_Active_TextColor)}:host([design="Set1"][color-scheme="10"]) .ui5-tag-root{background-color:var(--sapIndicationColor_10_Background);border-color:var(--sapIndicationColor_10_BorderColor);color:var(--sapIndicationColor_10_TextColor)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_10_Hover_Background)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_10_Active_Background);border-color:var(--sapIndicationColor_10_Active_BorderColor);color:var(--sapIndicationColor_10_Active_TextColor)}:host([design="Set2"]) .ui5-tag-root{text-shadow:var(--ui5-tag-text-shadow)}:host([design="Set2"]) .ui5-tag-root,:host([interactive][design="Set2"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-1-background);border-color:var(--ui5-tag-set2-color-scheme-1-border);color:var(--ui5-tag-set2-color-scheme-1-color)}:host([interactive][design="Set2"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-1-hover-background)}:host([interactive][design="Set2"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-1-active-background);border-color:var(--ui5-tag-set2-color-scheme-1-active-border);color:var(--ui5-tag-set2-color-scheme-1-active-color)}:host([design="Set2"][color-scheme="2"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-2-background);border-color:var(--ui5-tag-set2-color-scheme-2-border);color:var(--ui5-tag-set2-color-scheme-2-color)}:host([design="Set2"][color-scheme="3"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-3-background);border-color:var(--ui5-tag-set2-color-scheme-3-border);color:var(--ui5-tag-set2-color-scheme-3-color)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-3-hover-background)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-3-active-background);border-color:var(--ui5-tag-set2-color-scheme-3-active-border);color:var(--ui5-tag-set2-color-scheme-3-active-color)}:host([design="Set2"][color-scheme="4"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-4-background);border-color:var(--ui5-tag-set2-color-scheme-4-border);color:var(--ui5-tag-set2-color-scheme-4-color)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-4-hover-background)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-4-active-background);border-color:var(--ui5-tag-set2-color-scheme-4-active-border);color:var(--ui5-tag-set2-color-scheme-4-active-color)}:host([design="Set2"][color-scheme="5"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-5-background);border-color:var(--ui5-tag-set2-color-scheme-5-border);color:var(--ui5-tag-set2-color-scheme-5-color)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-5-hover-background)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-5-active-background);border-color:var(--ui5-tag-set2-color-scheme-5-active-border);color:var(--ui5-tag-set2-color-scheme-5-active-color)}:host([design="Set2"][color-scheme="6"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-6-background);border-color:var(--ui5-tag-set2-color-scheme-6-border);color:var(--ui5-tag-set2-color-scheme-6-color)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-6-hover-background)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-6-active-background);border-color:var(--ui5-tag-set2-color-scheme-6-active-border);color:var(--ui5-tag-set2-color-scheme-6-active-color)}:host([design="Set2"][color-scheme="7"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-7-background);border-color:var(--ui5-tag-set2-color-scheme-7-border);color:var(--ui5-tag-set2-color-scheme-7-color)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-7-hover-background)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-7-active-background);border-color:var(--ui5-tag-set2-color-scheme-7-active-border);color:var(--ui5-tag-set2-color-scheme-7-active-color)}:host([design="Set2"][color-scheme="8"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-8-background);border-color:var(--ui5-tag-set2-color-scheme-8-border);color:var(--ui5-tag-set2-color-scheme-8-color)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-8-hover-background)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-8-active-background);border-color:var(--ui5-tag-set2-color-scheme-8-active-border);color:var(--ui5-tag-set2-color-scheme-8-active-color)}:host([design="Set2"][color-scheme="9"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-9-background);border-color:var(--ui5-tag-set2-color-scheme-9-border);color:var(--ui5-tag-set2-color-scheme-9-color)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-9-hover-background)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-9-active-background);border-color:var(--ui5-tag-set2-color-scheme-9-active-border);color:var(--ui5-tag-set2-color-scheme-9-active-color)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-10-hover-background)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-10-active-background);border-color:var(--ui5-tag-set2-color-scheme-10-active-border);color:var(--ui5-tag-set2-color-scheme-10-active-color)}:host([design="Set2"][color-scheme="10"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-10-background);border-color:var(--ui5-tag-set2-color-scheme-10-border);color:var(--ui5-tag-set2-color-scheme-10-color)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-2-hover-background)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-2-active-background);border-color:var(--ui5-tag-set2-color-scheme-2-active-border);color:var(--ui5-tag-set2-color-scheme-2-active-color)}:host([size="L"]){font-family:var(--sapFontSemiboldDuplexFamily);line-height:var(--_ui5-tag-height_size_l)}:host([size="L"]) .ui5-tag-root{font-size:var(--_ui5-tag-font-size_size_l);min-width:var(--_ui5-tag-min-width_size_l);padding:var(--_ui5-tag-text_padding_size_l)}:host([size="L"]) [ui5-icon],:host([size="L"]) ::slotted([ui5-icon]){min-width:var(--_ui5-tag-icon_min_width_size_l);min-height:var(--_ui5-tag-icon_min_height_size_l);height:var(--_ui5-tag-icon_height_size_l)}
|
|
105
|
+
**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.`}],this.elementRef=ae(pt),this.injector=ae(bt)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let i=this.element,a=["disabled","tooltip","href","target","design","interactiveAreaSize","wrappingType","accessibleName","accessibleNameRef","accessibleRole","accessibilityAttributes","accessibleDescription","icon","endIcon"];for(let n of a){let c=n.replace(/-./g,d=>d[1].toUpperCase());this[c]&&typeof this[c]=="function"&&m1(this.injector,()=>{yt(()=>{let d=this[c]();i&&(i[n]=d)})})}let o=["ui5Click"];for(let n of o){let c=n.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[n]&&typeof this[n].emit=="function"&&i.addEventListener&&i.addEventListener(c,d=>{this[n].emit(d)})}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$e({type:e,selectors:[["ui5-link"],["","ui5-link",""]],inputs:{disabled:[1,"disabled"],tooltip:[1,"tooltip"],href:[1,"href"],target:[1,"target"],design:[1,"design"],interactiveAreaSize:[1,"interactiveAreaSize"],wrappingType:[1,"wrappingType"],accessibleName:[1,"accessibleName"],accessibleNameRef:[1,"accessibleNameRef"],accessibleRole:[1,"accessibleRole"],accessibilityAttributes:[1,"accessibilityAttributes"],accessibleDescription:[1,"accessibleDescription"],icon:[1,"icon"],endIcon:[1,"endIcon"]},outputs:{ui5Click:"ui5Click"},exportAs:["ui5Link"],ngContentSelectors:Z$,decls:1,vars:0,template:function(i,a){i&1&&($t(),jt(0))},encapsulation:2,changeDetection:0})}}return e})(),H$=class Iu{urlValue=L.required();testId=L("link-value-link");stopPropagation(t){t.stopPropagation()}static \u0275fac=function(t){return new(t||Iu)};static \u0275cmp=$e({type:Iu,selectors:[["mfp-link-value"]],inputs:{urlValue:[1,"urlValue"],testId:[1,"testId"]},decls:2,vars:3,consts:[["target","_blank",3,"click","href","tooltip"]],template:function(t,i){t&1&&(Q(0,"ui5-link",0),Te("click",function(a){return i.stopPropagation(a)}),ke(1,"Link"),te()),t&2&&(we("href",i.urlValue())("tooltip",i.urlValue()),Tt("data-testid",i.testId()))},dependencies:[L$],encapsulation:2,changeDetection:0})};function R$(e,t){if(e&1&&ke(0),e&2){let i=Y();I0(" ",i.value()," ")}}function D$(e,t){if(e&1&&ke(0),e&2){let i=Y();I0(" ",i.maskedValue()," ")}}var O$=class Tu{value=L.required();isVisible=L(!1);testId=L("secret-value");maskedValue=Ve(()=>"*".repeat(this.value()?.length||8));static \u0275fac=function(t){return new(t||Tu)};static \u0275cmp=$e({type:Tu,selectors:[["mfp-secret-value"]],inputs:{value:[1,"value"],isVisible:[1,"isVisible"],testId:[1,"testId"]},decls:3,vars:4,consts:[[1,"secret-value"]],template:function(t,i){t&1&&(_p(0,"span",0),nt(1,R$,1,1)(2,D$,1,1),pp()),t&2&&(nr("masked",!i.isVisible()),Tt("data-testid",i.testId()),q(),st(i.isVisible()?1:2))},styles:[".secret-value[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem}.masked[_ngcontent-%COMP%]{transform:translateY(.2em);display:flex}"],changeDetection:0})},N$="sys-help-2",V$="M8 0c1.104 0 2.14.208 3.11.625a8.215 8.215 0 0 1 2.546 1.703 7.852 7.852 0 0 1 1.719 2.547c.417.98.625 2.02.625 3.125 0 1.104-.208 2.14-.625 3.11a8.082 8.082 0 0 1-1.719 2.546 8.082 8.082 0 0 1-2.547 1.719A7.785 7.785 0 0 1 8 16a7.897 7.897 0 0 1-3.125-.625 7.852 7.852 0 0 1-2.547-1.719A8.215 8.215 0 0 1 .625 11.11 7.786 7.786 0 0 1 0 8c0-1.104.208-2.146.625-3.125a7.977 7.977 0 0 1 1.703-2.547A7.977 7.977 0 0 1 4.875.625 7.897 7.897 0 0 1 8 0Zm-.156 13.281c.312 0 .583-.114.812-.344.23-.229.344-.5.344-.812a1.06 1.06 0 0 0-.344-.797A1.136 1.136 0 0 0 7.844 11c-.313 0-.578.11-.797.328a1.085 1.085 0 0 0-.328.797c0 .313.11.583.328.813.219.229.484.343.797.343ZM11 5.812c0-.666-.281-1.26-.844-1.78-.562-.522-1.364-.782-2.406-.782-.958 0-1.714.25-2.266.75s-.859 1.115-.921 1.844h1.625c.104-.5.286-.839.546-1.016.26-.177.63-.266 1.11-.266.479 0 .843.13 1.093.391.25.26.376.547.376.86 0 .208-.027.354-.079.437-.052.083-.192.24-.421.469l-.626.531c-.312.25-.552.469-.718.656-.167.188-.287.38-.36.578-.073.198-.12.417-.14.657-.021.24-.032.526-.032.859H8.5c0-.25.005-.448.016-.594.01-.146.041-.276.093-.39a1.12 1.12 0 0 1 .235-.329c.104-.104.26-.24.469-.406l.843-.781.5-.563.281-.5.063-.625Z",P$=!0,z$="0 0 16 16",F$="SAP-icons-v4",U$="@ui5/webcomponents-icons";ee(N$,{pathData:V$,ltr:P$,viewBox:z$,collection:F$,packageName:U$});var j$="sys-help-2",W$="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm0 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm.2-8A3.194 3.194 0 0 0 5 6.2a1 1 0 0 0 1.995.103C6.995 5.619 7.443 5 8.2 5c.668 0 1.2.533 1.2 1.2 0 .41-.136.684-.322.859-.19.179-.528.341-1.078.341a1 1 0 0 0-.995.898S7 8.448 7 9a1 1 0 0 0 1.956.291 3.214 3.214 0 0 0 1.491-.774c.64-.6.953-1.428.953-2.317C11.4 4.428 9.972 3 8.2 3Z",G$=!0,q$="0 0 16 16",X$="SAP-icons-v5",$$="@ui5/webcomponents-icons";ee(j$,{pathData:W$,ltr:G$,viewBox:q$,collection:X$,packageName:$$});var vB=(function(e){return e.Set1="Set1",e.Set2="Set2",e.Neutral="Neutral",e.Information="Information",e.Positive="Positive",e.Negative="Negative",e.Critical="Critical",e})(vB||{}),Ha=vB;function K$(){return g(se,{children:this.interactive?g("button",{class:"ui5-tag-root",title:this._title,"aria-roledescription":this._roleDescription,"aria-description":this._valueState,onClick:this._onclick,part:"root",children:lA.call(this)}):g("div",{class:"ui5-tag-root",title:this._title,part:"root",children:lA.call(this)})})}function lA(){return k(se,{children:[g("slot",{name:"icon"}),this._semanticIconName&&g(_e,{class:"ui5-tag-semantic-icon",name:this._semanticIconName}),g("span",{class:"ui5-hidden-text",children:this.tagDescription}),this.hasText&&g("span",{class:"ui5-tag-text",children:g("slot",{})})]})}Z("@ui5/webcomponents-theming","sap_horizon",async()=>K);Z("@ui5/webcomponents","sap_horizon",async()=>ye,"host");var Y$=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{font-size:var(--sapFontSmallSize);font-family:var(--sapFontBoldFamily);font-weight:var(--_ui5-tag-font-weight);letter-spacing:var(--_ui5-tag-letter-spacing);line-height:var(--_ui5-tag-height)}.ui5-tag-root{display:flex;align-items:baseline;justify-content:center;width:100%;min-width:1.125em;max-width:100%;box-sizing:border-box;padding:var(--_ui5-tag-text-padding);border:.0625rem solid;border-radius:var(--sapButton_BorderCornerRadius);white-space:normal;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit}:host([interactive]) .ui5-tag-root:active{text-shadow:var(--ui5-tag-text-shadow)}:host([interactive]) .ui5-tag-root{cursor:pointer}:host([desktop][interactive]) .ui5-tag-root:focus,:host([interactive]) .ui5-tag-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:1px}:host([wrapping-type="None"]) .ui5-tag-root{white-space:nowrap}:host([_icon-only]) .ui5-tag-root{padding-inline:var(--_ui5-tag-padding-inline-icon-only)}.ui5-tag-text{text-transform:var(--_ui5-tag-text-transform);text-align:start;pointer-events:none;overflow:hidden;text-overflow:ellipsis}:host([_has-icon]) .ui5-tag-text{padding-inline-start:var(--_ui5-tag-icon-gap)}[ui5-icon],::slotted([ui5-icon]){width:var(--_ui5-tag-icon-width);min-width:var(--_ui5-tag-icon-width);color:inherit;pointer-events:none;align-self:flex-start}.ui5-tag-root{background-color:var(--sapNeutralBackground);border-color:var(--sapNeutralBorderColor);color:var(--sapTextColor);text-shadow:var(--ui5-tag-text-shadow)}:host([interactive]) .ui5-tag-root:hover{background-color:var(--sapButton_Neutral_Hover_Background);border-color:var(--sapButton_Neutral_Hover_BorderColor);color:var(--sapButton_Neutral_Hover_TextColor)}:host([interactive]) .ui5-tag-root:active{background-color:var(--sapButton_Neutral_Active_Background);border-color:var(--sapButton_Neutral_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]) .ui5-tag-root{background-color:var(--sapButton_Success_Background);border-color:var(--sapButton_Success_BorderColor);color:var(--sapButton_Success_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Positive"]) .ui5-tag-root:hover{background-color:var(--sapButton_Success_Hover_Background);border-color:var(--sapButton_Success_Hover_BorderColor);color:var(--sapButton_Success_Hover_TextColor)}:host([interactive][design="Positive"]) .ui5-tag-root:active{background-color:var(--sapButton_Success_Active_Background);border-color:var(--sapButton_Success_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Negative"]) .ui5-tag-root{background-color:var(--sapButton_Negative_Background);border-color:var(--sapButton_Negative_BorderColor);color:var(--sapButton_Negative_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Negative"]) .ui5-tag-root:hover{background-color:var(--sapButton_Negative_Hover_Background);border-color:var(--sapButton_Negative_Hover_BorderColor);color:var(--sapButton_Negative_Hover_TextColor)}:host([interactive][design="Negative"]) .ui5-tag-root:active{background-color:var(--sapButton_Negative_Active_Background);border-color:var(--sapButton_Negative_Active_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Critical"]) .ui5-tag-root{background-color:var(--sapButton_Critical_Background);border-color:var(--sapButton_Critical_BorderColor);color:var(--sapButton_Critical_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Critical"]) .ui5-tag-root:hover{background-color:var(--sapButton_Critical_Hover_Background);border-color:var(--sapButton_Critical_Hover_BorderColor);color:var(--sapButton_Critical_Hover_TextColor)}:host([interactive][design="Critical"]) .ui5-tag-root:active{background-color:var(--sapButton_Critical_Active_Background);border-color:var(--sapButton_Critical_Active_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Information"]) .ui5-tag-root{background-color:var(--sapButton_Information_Background);border-color:var(--sapButton_Information_BorderColor);color:var(--sapButton_Information_TextColor);text-shadow:var(--ui5-tag-information-text-shadow)}:host([interactive][design="Information"]) .ui5-tag-root:hover{background-color:var(--sapButton_Information_Hover_Background);border-color:var(--sapButton_Information_Hover_BorderColor);color:var(--sapButton_Information_Hover_TextColor)}:host([interactive][design="Information"]) .ui5-tag-root:active{background-color:var(--sapButton_Information_Active_Background);border-color:var(--sapButton_Information_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Set1"]) .ui5-tag-root{text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([design="Set1"]) .ui5-tag-root,:host([interactive][design="Set1"]) .ui5-tag-root{background-color:var(--sapIndicationColor_1_Background);border-color:var(--sapIndicationColor_1_BorderColor);color:var(--sapIndicationColor_1_TextColor)}:host([interactive][design="Set1"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_1_Hover_Background)}:host([interactive][design="Set1"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_1_Active_Background);border-color:var(--sapIndicationColor_1_Active_BorderColor);color:var(--sapIndicationColor_1_Active_TextColor)}:host([design="Set1"][color-scheme="2"]) .ui5-tag-root{background-color:var(--sapIndicationColor_2_Background);border-color:var(--sapIndicationColor_2_BorderColor);color:var(--sapIndicationColor_2_TextColor)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_2_Hover_Background)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_2_Active_Background);border-color:var(--sapIndicationColor_2_Active_BorderColor);color:var(--sapIndicationColor_2_Active_TextColor)}:host([design="Set1"][color-scheme="3"]) .ui5-tag-root{background-color:var(--sapIndicationColor_3_Background);border-color:var(--sapIndicationColor_3_BorderColor);color:var(--sapIndicationColor_3_TextColor)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_3_Hover_Background)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_3_Active_Background);border-color:var(--sapIndicationColor_3_Active_BorderColor);color:var(--sapIndicationColor_3_Active_TextColor)}:host([design="Set1"][color-scheme="4"]) .ui5-tag-root{background-color:var(--sapIndicationColor_4_Background);border-color:var(--sapIndicationColor_4_BorderColor);color:var(--sapIndicationColor_4_TextColor)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_4_Hover_Background)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_4_Active_Background);border-color:var(--sapIndicationColor_4_Active_BorderColor);color:var(--sapIndicationColor_4_Active_TextColor)}:host([design="Set1"][color-scheme="5"]) .ui5-tag-root{background-color:var(--sapIndicationColor_5_Background);border-color:var(--sapIndicationColor_5_BorderColor);color:var(--sapIndicationColor_5_TextColor)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_5_Hover_Background)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_5_Active_Background);border-color:var(--sapIndicationColor_5_Active_BorderColor);color:var(--sapIndicationColor_5_Active_TextColor)}:host([design="Set1"][color-scheme="6"]) .ui5-tag-root{background-color:var(--sapIndicationColor_6_Background);border-color:var(--sapIndicationColor_6_BorderColor);color:var(--sapIndicationColor_6_TextColor)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_6_Hover_Background)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_6_Active_Background);border-color:var(--sapIndicationColor_6_Active_BorderColor);color:var(--sapIndicationColor_6_Active_TextColor)}:host([design="Set1"][color-scheme="7"]) .ui5-tag-root{background-color:var(--sapIndicationColor_7_Background);border-color:var(--sapIndicationColor_7_BorderColor);color:var(--sapIndicationColor_7_TextColor)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_7_Hover_Background)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_7_Active_Background);border-color:var(--sapIndicationColor_7_Active_BorderColor);color:var(--sapIndicationColor_7_Active_TextColor)}:host([design="Set1"][color-scheme="8"]) .ui5-tag-root{background-color:var(--sapIndicationColor_8_Background);border-color:var(--sapIndicationColor_8_BorderColor);color:var(--sapIndicationColor_8_TextColor)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_8_Hover_Background)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_8_Active_Background);border-color:var(--sapIndicationColor_8_Active_BorderColor);color:var(--sapIndicationColor_8_Active_TextColor)}:host([design="Set1"][color-scheme="9"]) .ui5-tag-root{background-color:var(--sapIndicationColor_9_Background);border-color:var(--sapIndicationColor_9_BorderColor);color:var(--sapIndicationColor_9_TextColor)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_9_Hover_Background)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_9_Active_Background);border-color:var(--sapIndicationColor_9_Active_BorderColor);color:var(--sapIndicationColor_9_Active_TextColor)}:host([design="Set1"][color-scheme="10"]) .ui5-tag-root{background-color:var(--sapIndicationColor_10_Background);border-color:var(--sapIndicationColor_10_BorderColor);color:var(--sapIndicationColor_10_TextColor)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_10_Hover_Background)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_10_Active_Background);border-color:var(--sapIndicationColor_10_Active_BorderColor);color:var(--sapIndicationColor_10_Active_TextColor)}:host([design="Set2"]) .ui5-tag-root{text-shadow:var(--ui5-tag-text-shadow)}:host([design="Set2"]) .ui5-tag-root,:host([interactive][design="Set2"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-1-background);border-color:var(--ui5-tag-set2-color-scheme-1-border);color:var(--ui5-tag-set2-color-scheme-1-color)}:host([interactive][design="Set2"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-1-hover-background)}:host([interactive][design="Set2"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-1-active-background);border-color:var(--ui5-tag-set2-color-scheme-1-active-border);color:var(--ui5-tag-set2-color-scheme-1-active-color)}:host([design="Set2"][color-scheme="2"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-2-background);border-color:var(--ui5-tag-set2-color-scheme-2-border);color:var(--ui5-tag-set2-color-scheme-2-color)}:host([design="Set2"][color-scheme="3"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-3-background);border-color:var(--ui5-tag-set2-color-scheme-3-border);color:var(--ui5-tag-set2-color-scheme-3-color)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-3-hover-background)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-3-active-background);border-color:var(--ui5-tag-set2-color-scheme-3-active-border);color:var(--ui5-tag-set2-color-scheme-3-active-color)}:host([design="Set2"][color-scheme="4"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-4-background);border-color:var(--ui5-tag-set2-color-scheme-4-border);color:var(--ui5-tag-set2-color-scheme-4-color)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-4-hover-background)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-4-active-background);border-color:var(--ui5-tag-set2-color-scheme-4-active-border);color:var(--ui5-tag-set2-color-scheme-4-active-color)}:host([design="Set2"][color-scheme="5"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-5-background);border-color:var(--ui5-tag-set2-color-scheme-5-border);color:var(--ui5-tag-set2-color-scheme-5-color)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-5-hover-background)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-5-active-background);border-color:var(--ui5-tag-set2-color-scheme-5-active-border);color:var(--ui5-tag-set2-color-scheme-5-active-color)}:host([design="Set2"][color-scheme="6"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-6-background);border-color:var(--ui5-tag-set2-color-scheme-6-border);color:var(--ui5-tag-set2-color-scheme-6-color)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-6-hover-background)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-6-active-background);border-color:var(--ui5-tag-set2-color-scheme-6-active-border);color:var(--ui5-tag-set2-color-scheme-6-active-color)}:host([design="Set2"][color-scheme="7"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-7-background);border-color:var(--ui5-tag-set2-color-scheme-7-border);color:var(--ui5-tag-set2-color-scheme-7-color)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-7-hover-background)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-7-active-background);border-color:var(--ui5-tag-set2-color-scheme-7-active-border);color:var(--ui5-tag-set2-color-scheme-7-active-color)}:host([design="Set2"][color-scheme="8"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-8-background);border-color:var(--ui5-tag-set2-color-scheme-8-border);color:var(--ui5-tag-set2-color-scheme-8-color)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-8-hover-background)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-8-active-background);border-color:var(--ui5-tag-set2-color-scheme-8-active-border);color:var(--ui5-tag-set2-color-scheme-8-active-color)}:host([design="Set2"][color-scheme="9"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-9-background);border-color:var(--ui5-tag-set2-color-scheme-9-border);color:var(--ui5-tag-set2-color-scheme-9-color)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-9-hover-background)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-9-active-background);border-color:var(--ui5-tag-set2-color-scheme-9-active-border);color:var(--ui5-tag-set2-color-scheme-9-active-color)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-10-hover-background)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-10-active-background);border-color:var(--ui5-tag-set2-color-scheme-10-active-border);color:var(--ui5-tag-set2-color-scheme-10-active-color)}:host([design="Set2"][color-scheme="10"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-10-background);border-color:var(--ui5-tag-set2-color-scheme-10-border);color:var(--ui5-tag-set2-color-scheme-10-color)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-2-hover-background)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-2-active-background);border-color:var(--ui5-tag-set2-color-scheme-2-active-border);color:var(--ui5-tag-set2-color-scheme-2-active-color)}:host([size="L"]){font-family:var(--sapFontSemiboldDuplexFamily);line-height:var(--_ui5-tag-height_size_l)}:host([size="L"]) .ui5-tag-root{font-size:var(--_ui5-tag-font-size_size_l);min-width:var(--_ui5-tag-min-width_size_l);padding:var(--_ui5-tag-text_padding_size_l)}:host([size="L"]) [ui5-icon],:host([size="L"]) ::slotted([ui5-icon]){min-width:var(--_ui5-tag-icon_min_width_size_l);min-height:var(--_ui5-tag-icon_min_height_size_l);height:var(--_ui5-tag-icon_height_size_l)}
|
|
106
106
|
`,W5=function(e,t,i,a){var o=arguments.length,n=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,i):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,a);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(n=(o<3?c(n):o>3?c(t,i,n):c(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},H2,Ii=H2=class extends ue{constructor(){super(...arguments),this.design="Neutral",this.colorScheme="1",this.hideStateIcon=!1,this.interactive=!1,this.wrappingType="Normal",this.size="S",this._hasIcon=!1,this._iconOnly=!1}onEnterDOM(){kt()&&this.setAttribute("desktop","")}onBeforeRendering(){this._hasIcon=this.hasIcon||!!this._semanticIconName,this._iconOnly=this.iconOnly}get _roleDescription(){return H2.i18nBundle.getText(bg)}get _valueState(){switch(this.design){case Ha.Positive:return H2.i18nBundle.getText(yg);case Ha.Negative:return H2.i18nBundle.getText(Cg);case Ha.Critical:return H2.i18nBundle.getText(wg);case Ha.Information:return H2.i18nBundle.getText(Ag)}}get hasText(){return So(this.text)}get hasIcon(){return!!this.icon.length}get iconOnly(){return this.hasIcon&&!this.hasText}get _title(){return this.title||void 0}get tagDescription(){if(this.interactive)return;let e=this._valueState,t=H2.i18nBundle.getText(fg);return e&&(t=`${t} ${e}`),t}get _semanticIconName(){if(this.hideStateIcon||this.hasIcon)return null;switch(this.design){case Ha.Neutral:return"sys-help-2";case Ha.Positive:return"sys-enter-2";case Ha.Negative:return"error";case Ha.Critical:return"alert";case Ha.Information:return"information";default:return null}}_onclick(e){e.stopPropagation(),this.fireDecoratorEvent("click")}};W5([b()],Ii.prototype,"design",void 0);W5([b()],Ii.prototype,"colorScheme",void 0);W5([b({type:Boolean})],Ii.prototype,"hideStateIcon",void 0);W5([b({type:Boolean})],Ii.prototype,"interactive",void 0);W5([b()],Ii.prototype,"wrappingType",void 0);W5([b()],Ii.prototype,"size",void 0);W5([b({type:Boolean})],Ii.prototype,"_hasIcon",void 0);W5([b({type:Boolean})],Ii.prototype,"_iconOnly",void 0);W5([V({type:Node,default:!0})],Ii.prototype,"text",void 0);W5([V()],Ii.prototype,"icon",void 0);W5([Ce("@ui5/webcomponents")],Ii,"i18nBundle",void 0);Ii=H2=W5([$({tag:"ui5-tag",languageAware:!0,renderer:ce,template:K$,styles:Y$}),O("click",{bubbles:!0})],Ii);Ii.define();var vl=Ii,J$=["*"],Q$=(()=>{class e{constructor(){this.design=L("Neutral"),this.colorScheme=L("1"),this.hideStateIcon=L(!1,{transform:Pe}),this.interactive=L(!1,{transform:Pe}),this.wrappingType=L("Normal"),this.size=L("S"),this.ui5Click=me(),this.slots=[{name:"default",description:`Defines the text of the component.
|
|
107
107
|
|
|
108
108
|
**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.`},{name:"icon",description:"Defines the icon to be displayed in the component."}],this.elementRef=ae(pt),this.injector=ae(bt)}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){let i=this.element,a=["design","colorScheme","hideStateIcon","interactive","wrappingType","size"];for(let n of a){let c=n.replace(/-./g,d=>d[1].toUpperCase());this[c]&&typeof this[c]=="function"&&m1(this.injector,()=>{yt(()=>{let d=this[c]();i&&(i[n]=d)})})}let o=["ui5Click"];for(let n of o){let c=n.replace("ui5","").replace(/([A-Z])/g,"-$1").toLowerCase().substring(1);this[n]&&typeof this[n].emit=="function"&&i.addEventListener&&i.addEventListener(c,d=>{this[n].emit(d)})}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$e({type:e,selectors:[["ui5-tag"],["","ui5-tag",""]],inputs:{design:[1,"design"],colorScheme:[1,"colorScheme"],hideStateIcon:[1,"hideStateIcon"],interactive:[1,"interactive"],wrappingType:[1,"wrappingType"],size:[1,"size"]},outputs:{ui5Click:"ui5Click"},exportAs:["ui5Tag"],ngContentSelectors:J$,decls:1,vars:0,template:function(i,a){i&1&&($t(),jt(0))},encapsulation:2,changeDetection:0})}}return e})();function eK(e,t){if(e&1&&(Q(0,"ui5-tag",1),ke(1),te()),e&2){let i,a,o=t.$implicit,n=Y();we("colorScheme",(i=n.tagSettings())==null?null:i.colorScheme)("design",((a=n.tagSettings())==null?null:a.design)??"Neutral")("hideStateIcon",!0),q(),ft(o)}}var tK=class Bu{tags=L.required();tagSettings=L();testId=L("tag-list-value");static \u0275fac=function(t){return new(t||Bu)};static \u0275cmp=$e({type:Bu,selectors:[["mfp-tag-list-value"]],inputs:{tags:[1,"tags"],tagSettings:[1,"tagSettings"],testId:[1,"testId"]},decls:3,vars:1,consts:[[1,"tag-list"],[3,"colorScheme","design","hideStateIcon"]],template:function(t,i){t&1&&(Q(0,"span",0),Fi(1,eK,2,4,"ui5-tag",1,JG),te()),t&2&&(Tt("data-testid",i.testId()),q(),Ui(i.tags()))},dependencies:[Q$],styles:["[_nghost-%COMP%]{display:inline-flex}.tag-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:4px}"],changeDetection:0})},iK=["*"],lr=(()=>{class e{constructor(){this.design=L("Default"),this.disabled=L(!1,{transform:Pe}),this.icon=L(),this.endIcon=L(),this.submits=L(!1,{transform:Pe}),this.tooltip=L(),this.accessibleName=L(),this.accessibleNameRef=L(),this.accessibilityAttributes=L({}),this.accessibleDescription=L(),this.type=L("Button"),this.accessibleRole=L("Button"),this.loading=L(!1,{transform:Pe}),this.loadingDelay=L(1e3),this.ui5Click=me(),this.slots=[{name:"default",description:`Defines the text of the component.
|