UNPKG

@rero/rero-ils-ui

Version:

User interface for RERO integrated library system (RERO ILS).

786 lines (656 loc) 69.3 kB
import{Ad as Rt,Ba as Dt,Be as Xt,Ce as O,Gb as u,Hb as ct,Ib as bt,Jb as G,Kb as pt,Kc as mt,Lb as gt,Ld as J,Mb as ht,Md as Vt,Me as Ct,Nb as ot,Nd as j,Ne as $,Ob as it,Oc as b,Od as Ut,Pb as _t,Pd as jt,Qc as yt,Qe as M,Rb as Ft,Re as x,Sb as Nt,Se as g,Ta as y,Tb as E,Te as Yt,Ub as rt,Uc as p,Ue as Jt,V as A,Vb as st,Vc as Ot,W as T,Wb as Mt,Wd as qt,Y as D,Yb as Z,Zb as X,_ as a,_b as zt,_d as ut,ac as At,be as q,cc as Lt,dc as lt,fa as et,fc as P,gb as L,gc as dt,ge as vt,hb as _,hc as at,ia as Bt,ib as F,id as $t,jd as Ht,je as Qt,kb as N,kd as Wt,ke as Gt,la as nt,lb as v,le as wt,ma as Pt,mb as R,qe as Zt,rd as V,sa as S,tc as I,ue as xt,va as m,wc as ft,wd as U,xa as Tt,xb as B,yd as Y}from"./chunk-Q2WBXDIA.js";var kt=(()=>{class o{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,e){t&&e&&(t.classList?t.classList.add(e):t.className+=" "+e)}static addMultipleClasses(t,e){if(t&&e)if(t.classList){let n=e.trim().split(" ");for(let i=0;i<n.length;i++)t.classList.add(n[i])}else{let n=e.split(" ");for(let i=0;i<n.length;i++)t.className+=" "+n[i]}}static removeClass(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,e){t&&e&&[e].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(i=>this.removeClass(t,i)))}static hasClass(t,e){return t&&e?t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})}static find(t,e){return Array.from(t.querySelectorAll(e))}static findSingle(t,e){return this.isElement(t)?t.querySelector(e):null}static index(t){let e=t.parentNode.childNodes,n=0;for(var i=0;i<e.length;i++){if(e[i]==t)return n;e[i].nodeType==1&&n++}return-1}static indexWithinGroup(t,e){let n=t.parentNode?t.parentNode.childNodes:[],i=0;for(var r=0;r<n.length;r++){if(n[r]==t)return i;n[r].attributes&&n[r].attributes[e]&&n[r].nodeType==1&&i++}return-1}static appendOverlay(t,e,n="self"){n!=="self"&&t&&e&&this.appendChild(t,e)}static alignOverlay(t,e,n="self",i=!0){t&&e&&(i&&(t.style.minWidth=`${o.getOuterWidth(e)}px`),n==="self"?this.relativePosition(t,e):this.absolutePosition(t,e))}static relativePosition(t,e,n=!0){let i=W=>{if(W)return getComputedStyle(W).getPropertyValue("position")==="relative"?W:i(W.parentElement)},r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=e.offsetHeight,d=e.getBoundingClientRect(),w=this.getWindowScrollTop(),c=this.getWindowScrollLeft(),h=this.getViewport(),f=i(t)?.getBoundingClientRect()||{top:-1*w,left:-1*c},k,z,tt="top";d.top+s+r.height>h.height?(k=d.top-f.top-r.height,tt="bottom",d.top+k<0&&(k=-1*d.top)):(k=s+d.top-f.top,tt="top");let It=d.left+r.width-h.width,we=d.left-f.left;if(r.width>h.width?z=(d.left-f.left)*-1:It>0?z=we-It:z=d.left-f.left,t.style.top=k+"px",t.style.left=z+"px",t.style.transformOrigin=tt,n){let W=jt(/-anchor-gutter$/)?.value;t.style.marginTop=tt==="bottom"?`calc(${W??"2px"} * -1)`:W??""}}static absolutePosition(t,e,n=!0){let i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),r=i.height,s=i.width,d=e.offsetHeight,w=e.offsetWidth,c=e.getBoundingClientRect(),h=this.getWindowScrollTop(),C=this.getWindowScrollLeft(),f=this.getViewport(),k,z;c.top+d+r>f.height?(k=c.top+h-r,t.style.transformOrigin="bottom",k<0&&(k=h)):(k=d+c.top+h,t.style.transformOrigin="top"),c.left+s>f.width?z=Math.max(0,c.left+C+w-s):z=c.left+C,t.style.top=k+"px",t.style.left=z+"px",n&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,e=[]){return t.parentNode===null?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}static getScrollableParents(t){let e=[];if(t){let n=this.getParents(t),i=/(auto|scroll)/,r=s=>{let d=window.getComputedStyle(s,null);return i.test(d.getPropertyValue("overflow"))||i.test(d.getPropertyValue("overflowX"))||i.test(d.getPropertyValue("overflowY"))};for(let s of n){let d=s.nodeType===1&&s.dataset.scrollselectors;if(d){let w=d.split(",");for(let c of w){let h=this.findSingle(s,c);h&&r(h)&&e.push(h)}}s.nodeType!==9&&r(s)&&e.push(s)}}return e}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementDimensions(t){let e={};return t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",e}static scrollInView(t,e){let n=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=n?parseFloat(n):0,r=getComputedStyle(t).getPropertyValue("paddingTop"),s=r?parseFloat(r):0,d=t.getBoundingClientRect(),c=e.getBoundingClientRect().top+document.body.scrollTop-(d.top+document.body.scrollTop)-i-s,h=t.scrollTop,C=t.clientHeight,f=this.getOuterHeight(e);c<0?t.scrollTop=h+c:c+f>C&&(t.scrollTop=h+c-C+f)}static fadeIn(t,e){t.style.opacity=0;let n=+new Date,i=0,r=function(){i=+t.style.opacity.replace(",",".")+(new Date().getTime()-n)/e,t.style.opacity=i,n=+new Date,+i<1&&(window.requestAnimationFrame?window.requestAnimationFrame(r):setTimeout(r,16))};r()}static fadeOut(t,e){var n=1,i=50,r=e,s=i/r;let d=setInterval(()=>{n=n-s,n<=0&&(n=0,clearInterval(d)),t.style.opacity=n},i)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,e){var n=Element.prototype,i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(r){return[].indexOf.call(document.querySelectorAll(r),this)!==-1};return i.call(t,e)}static getOuterWidth(t,e){let n=t.offsetWidth;if(e){let i=getComputedStyle(t);n+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return n}static getHorizontalPadding(t){let e=getComputedStyle(t);return parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)}static getHorizontalMargin(t){let e=getComputedStyle(t);return parseFloat(e.marginLeft)+parseFloat(e.marginRight)}static innerWidth(t){let e=t.offsetWidth,n=getComputedStyle(t);return e+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}static width(t){let e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}static getInnerHeight(t){let e=t.offsetHeight,n=getComputedStyle(t);return e+=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom),e}static getOuterHeight(t,e){let n=t.offsetHeight;if(e){let i=getComputedStyle(t);n+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return n}static getHeight(t){let e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),e}static getWidth(t){let e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),e}static getViewport(){let t=window,e=document,n=e.documentElement,i=e.getElementsByTagName("body")[0],r=t.innerWidth||n.clientWidth||i.clientWidth,s=t.innerHeight||n.clientHeight||i.clientHeight;return{width:r,height:s}}static getOffset(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,e){let n=t.parentNode;if(!n)throw"Can't replace element";return n.replaceChild(e,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return!0;var n=t.indexOf("Trident/");if(n>0){var i=t.indexOf("rv:");return!0}var r=t.indexOf("Edge/");return r>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,e){if(this.isElement(e))e.appendChild(t);else if(e&&e.el&&e.el.nativeElement)e.el.nativeElement.appendChild(t);else throw"Cannot append "+e+" to "+t}static removeChild(t,e){if(this.isElement(e))e.removeChild(t);else if(e.el&&e.el.nativeElement)e.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+e}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let n=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),this.calculatedScrollbarWidth=n,n}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let e=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e}static invokeElementMethod(t,e,n){t[e].apply(t,n)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,e){t&&document.activeElement!==t&&t.focus(e)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`}static getFocusableElements(t,e=""){let n=this.find(t,this.getFocusableSelectorString(e)),i=[];for(let r of n){let s=getComputedStyle(r);this.isVisible(r)&&s.display!="none"&&s.visibility!="hidden"&&i.push(r)}return i}static getFocusableElement(t,e=""){let n=this.findSingle(t,this.getFocusableSelectorString(e));if(n){let i=getComputedStyle(n);if(this.isVisible(n)&&i.display!="none"&&i.visibility!="hidden")return n}return null}static getFirstFocusableElement(t,e=""){let n=this.getFocusableElements(t,e);return n.length>0?n[0]:null}static getLastFocusableElement(t,e){let n=this.getFocusableElements(t,e);return n.length>0?n[n.length-1]:null}static getNextFocusableElement(t,e=!1){let n=o.getFocusableElements(t),i=0;if(n&&n.length>0){let r=n.indexOf(n[0].ownerDocument.activeElement);e?r==-1||r===0?i=n.length-1:i=r-1:r!=-1&&r!==n.length-1&&(i=r+1)}return n[i]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection()?.toString():document.getSelection?document.getSelection()?.toString():document.selection?document.selection.createRange().text:null}static getTargetElement(t,e){if(!t)return null;switch(t){case"document":return document;case"window":return window;case"@next":return e?.nextElementSibling;case"@prev":return e?.previousElementSibling;case"@parent":return e?.parentElement;case"@grandparent":return e?.parentElement?.parentElement;default:let n=typeof t;if(n==="string")return document.querySelector(t);if(n==="object"&&t.hasOwnProperty("nativeElement"))return this.isExist(t.nativeElement)?t.nativeElement:void 0;let r=(s=>!!(s&&s.constructor&&s.call&&s.apply))(t)?t():t;return r&&r.nodeType===9||this.isExist(r)?r:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(t,e){if(t){let n=t.getAttribute(e);return isNaN(n)?n==="true"||n==="false"?n==="true":n:+n}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(t="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}static unblockBodyScroll(t="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}static createElement(t,e={},...n){if(t){let i=document.createElement(t);return this.setAttributes(i,e),i.append(...n),i}}static setAttribute(t,e="",n){this.isElement(t)&&n!==null&&n!==void 0&&t.setAttribute(e,n)}static setAttributes(t,e={}){if(this.isElement(t)){let n=(i,r)=>{let s=t?.$attrs?.[i]?[t?.$attrs?.[i]]:[];return[r].flat().reduce((d,w)=>{if(w!=null){let c=typeof w;if(c==="string"||c==="number")d.push(w);else if(c==="object"){let h=Array.isArray(w)?n(i,w):Object.entries(w).map(([C,f])=>i==="style"&&(f||f===0)?`${C.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${f}`:f?C:void 0);d=h.length?d.concat(h.filter(C=>!!C)):d}}return d},s)};Object.entries(e).forEach(([i,r])=>{if(r!=null){let s=i.match(/^on(.+)/);s?t.addEventListener(s[1].toLowerCase(),r):i==="pBind"?this.setAttributes(t,r):(r=i==="class"?[...new Set(n("class",r))].join(" ").trim():i==="style"?n("style",r).join(";").trim():r,(t.$attrs=t.$attrs||{})&&(t.$attrs[i]=r),t.setAttribute(i,r))}})}}static isFocusableElement(t,e=""){return this.isElement(t)?t.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`):!1}}return o})();function Je(){Vt({variableName:Ct("scrollbar.width").name})}function Ke(){Ut({variableName:Ct("scrollbar.width").name})}var Kt=class{element;listener;scrollableParents;constructor(l,t=()=>{}){this.element=l,this.listener=t}bindScrollListener(){this.scrollableParents=kt.getScrollableParents(this.element);for(let l=0;l<this.scrollableParents.length;l++)this.scrollableParents[l].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let l=0;l<this.scrollableParents.length;l++)this.scrollableParents[l].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}};var te=(()=>{class o extends x{autofocus=!1;focused=!1;platformId=a(Dt);document=a(Bt);host=a(Tt);onAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){U(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=kt.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=m(o)))(n||o)}})();static \u0275dir=F({type:o,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[v]})}return o})(),an=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=_({type:o});static \u0275inj=T({})}return o})();var ee=` .p-badge { display: inline-flex; border-radius: dt('badge.border.radius'); align-items: center; justify-content: center; padding: dt('badge.padding'); background: dt('badge.primary.background'); color: dt('badge.primary.color'); font-size: dt('badge.font.size'); font-weight: dt('badge.font.weight'); min-width: dt('badge.min.width'); height: dt('badge.height'); } .p-badge-dot { width: dt('badge.dot.size'); min-width: dt('badge.dot.size'); height: dt('badge.dot.size'); border-radius: 50%; padding: 0; } .p-badge-circle { padding: 0; border-radius: 50%; } .p-badge-secondary { background: dt('badge.secondary.background'); color: dt('badge.secondary.color'); } .p-badge-success { background: dt('badge.success.background'); color: dt('badge.success.color'); } .p-badge-info { background: dt('badge.info.background'); color: dt('badge.info.color'); } .p-badge-warn { background: dt('badge.warn.background'); color: dt('badge.warn.color'); } .p-badge-danger { background: dt('badge.danger.background'); color: dt('badge.danger.color'); } .p-badge-contrast { background: dt('badge.contrast.background'); color: dt('badge.contrast.color'); } .p-badge-sm { font-size: dt('badge.sm.font.size'); min-width: dt('badge.sm.min.width'); height: dt('badge.sm.height'); } .p-badge-lg { font-size: dt('badge.lg.font.size'); min-width: dt('badge.lg.min.width'); height: dt('badge.lg.height'); } .p-badge-xl { font-size: dt('badge.xl.font.size'); min-width: dt('badge.xl.min.width'); height: dt('badge.xl.height'); } `;var xe=` ${ee} /* For PrimeNG (directive)*/ .p-overlay-badge { position: relative; } .p-overlay-badge > .p-badge { position: absolute; top: 0; inset-inline-end: 0; transform: translate(50%, -50%); transform-origin: 100% 0; margin: 0; } `,Ce={root:({instance:o})=>{let l=typeof o.value=="function"?o.value():o.value,t=typeof o.size=="function"?o.size():o.size,e=typeof o.badgeSize=="function"?o.badgeSize():o.badgeSize,n=typeof o.severity=="function"?o.severity():o.severity;return["p-badge p-component",{"p-badge-circle":Rt(l)&&String(l).length===1,"p-badge-dot":Y(l),"p-badge-sm":t==="small"||e==="small","p-badge-lg":t==="large"||e==="large","p-badge-xl":t==="xlarge"||e==="xlarge","p-badge-info":n==="info","p-badge-success":n==="success","p-badge-warn":n==="warn","p-badge-danger":n==="danger","p-badge-secondary":n==="secondary","p-badge-contrast":n==="contrast"}]}},ne=(()=>{class o extends ${name="badge";style=xe;classes=Ce;static \u0275fac=(()=>{let t;return function(n){return(t||(t=m(o)))(n||o)}})();static \u0275prov=A({token:o,factory:o.\u0275fac})}return o})();var oe=new D("BADGE_INSTANCE");var St=(()=>{class o extends x{componentName="Badge";$pcBadge=a(oe,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=a(g,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=b();badgeSize=b();size=b();severity=b();value=b();badgeDisabled=b(!1,{transform:p});_componentStyle=a(ne);get dataP(){return this.cn({circle:this.value()!=null&&String(this.value()).length===1,empty:this.value()==null,disabled:this.badgeDisabled(),[this.severity()]:this.severity(),[this.size()]:this.size()})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=m(o)))(n||o)}})();static \u0275cmp=L({type:o,selectors:[["p-badge"]],hostVars:5,hostBindings:function(e,n){e&2&&(B("data-p",n.dataP),P(n.cn(n.cx("root"),n.styleClass())),Lt("display",n.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[I([ne,{provide:oe,useExisting:o},{provide:M,useExisting:o}]),N([g]),v],decls:1,vars:1,template:function(e,n){e&1&&dt(0),e&2&&at(n.value())},dependencies:[V,O,Yt],encapsulation:2,changeDetection:0})}return o})(),re=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=_({type:o});static \u0275inj=T({imports:[St,O,O]})}return o})();var Se=["*"],Ee={root:"p-fluid"},se=(()=>{class o extends ${name="fluid";classes=Ee;static \u0275fac=(()=>{let t;return function(n){return(t||(t=m(o)))(n||o)}})();static \u0275prov=A({token:o,factory:o.\u0275fac})}return o})();var le=new D("FLUID_INSTANCE"),Et=(()=>{class o extends x{componentName="Fluid";$pcFluid=a(le,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=a(g,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=a(se);static \u0275fac=(()=>{let t;return function(n){return(t||(t=m(o)))(n||o)}})();static \u0275cmp=L({type:o,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(e,n){e&2&&P(n.cx("root"))},features:[I([se,{provide:le,useExisting:o},{provide:M,useExisting:o}]),N([g]),v],ngContentSelectors:Se,decls:1,vars:0,template:function(e,n){e&1&&(rt(),st(0))},dependencies:[V],encapsulation:2,changeDetection:0})}return o})();var Ie=["data-p-icon","spinner"],de=(()=>{class o extends Jt{pathId;onInit(){this.pathId="url(#"+xt()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=m(o)))(n||o)}})();static \u0275cmp=L({type:o,selectors:[["","data-p-icon","spinner"]],features:[v],attrs:Ie,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(e,n){e&1&&(et(),pt(0,"g"),ht(1,"path",0),gt(),pt(2,"defs")(3,"clipPath",1),ht(4,"rect",2),gt()()),e&2&&(B("clip-path",n.pathId),y(3),Ft("id",n.pathId))},encapsulation:2})}return o})();var ae=` .p-ink { display: block; position: absolute; background: dt('ripple.background'); border-radius: 100%; transform: scale(0); pointer-events: none; } .p-ink-active { animation: ripple 0.4s linear; } @keyframes ripple { 100% { opacity: 0; transform: scale(2.5); } } `;var Be=` ${ae} /* For PrimeNG */ .p-ripple { overflow: hidden; position: relative; } .p-ripple-disabled .p-ink { display: none !important; } @keyframes ripple { 100% { opacity: 0; transform: scale(2.5); } } `,Pe={root:"p-ink"},ue=(()=>{class o extends ${name="ripple";style=Be;classes=Pe;static \u0275fac=(()=>{let t;return function(n){return(t||(t=m(o)))(n||o)}})();static \u0275prov=A({token:o,factory:o.\u0275fac})}return o})();var ce=(()=>{class o extends x{componentName="Ripple";zone=a(Pt);_componentStyle=a(ue);animationListener;mouseDownListener;timeout;constructor(){super(),S(()=>{U(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(t){let e=this.getInk();if(!e||this.document.defaultView?.getComputedStyle(e,null).display==="none")return;if(!this.$unstyled()&&j(e,"p-ink-active"),e.setAttribute("data-p-ink-active","false"),!vt(e)&&!wt(e)){let s=Math.max(qt(this.el.nativeElement),Gt(this.el.nativeElement));e.style.height=s+"px",e.style.width=s+"px"}let n=Qt(this.el.nativeElement),i=t.pageX-n.left+this.document.body.scrollTop-wt(e)/2,r=t.pageY-n.top+this.document.body.scrollLeft-vt(e)/2;this.renderer.setStyle(e,"top",r+"px"),this.renderer.setStyle(e,"left",i+"px"),!this.$unstyled()&&J(e,"p-ink-active"),e.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let s=this.getInk();s&&(!this.$unstyled()&&j(s,"p-ink-active"),s.setAttribute("data-p-ink-active","false"))},401)}getInk(){let t=this.el.nativeElement.children;for(let e=0;e<t.length;e++)if(typeof t[e].className=="string"&&t[e].className.indexOf("p-ink")!==-1)return t[e];return null}resetInk(){let t=this.getInk();t&&(!this.$unstyled()&&j(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&j(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")}create(){let t=this.renderer.createElement("span");this.renderer.addClass(t,"p-ink"),this.renderer.appendChild(this.el.nativeElement,t),this.renderer.setAttribute(t,"data-p-ink","true"),this.renderer.setAttribute(t,"data-p-ink-active","false"),this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(t,"animationend",this.onAnimationEnd.bind(this)))}remove(){let t=this.getInk();t&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,Zt(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(e){return new(e||o)};static \u0275dir=F({type:o,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[I([ue]),v]})}return o})(),Kn=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=_({type:o});static \u0275inj=T({})}return o})();var be=` .p-button { display: inline-flex; cursor: pointer; user-select: none; align-items: center; justify-content: center; overflow: hidden; position: relative; color: dt('button.primary.color'); background: dt('button.primary.background'); border: 1px solid dt('button.primary.border.color'); padding: dt('button.padding.y') dt('button.padding.x'); font-size: 1rem; font-family: inherit; font-feature-settings: inherit; transition: background dt('button.transition.duration'), color dt('button.transition.duration'), border-color dt('button.transition.duration'), outline-color dt('button.transition.duration'), box-shadow dt('button.transition.duration'); border-radius: dt('button.border.radius'); outline-color: transparent; gap: dt('button.gap'); } .p-button:disabled { cursor: default; } .p-button-icon-right { order: 1; } .p-button-icon-right:dir(rtl) { order: -1; } .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) { order: 1; } .p-button-icon-bottom { order: 2; } .p-button-icon-only { width: dt('button.icon.only.width'); padding-inline-start: 0; padding-inline-end: 0; gap: 0; } .p-button-icon-only.p-button-rounded { border-radius: 50%; height: dt('button.icon.only.width'); } .p-button-icon-only .p-button-label { visibility: hidden; width: 0; } .p-button-icon-only::after { content: "\xA0"; visibility: hidden; width: 0; } .p-button-sm { font-size: dt('button.sm.font.size'); padding: dt('button.sm.padding.y') dt('button.sm.padding.x'); } .p-button-sm .p-button-icon { font-size: dt('button.sm.font.size'); } .p-button-sm.p-button-icon-only { width: dt('button.sm.icon.only.width'); } .p-button-sm.p-button-icon-only.p-button-rounded { height: dt('button.sm.icon.only.width'); } .p-button-lg { font-size: dt('button.lg.font.size'); padding: dt('button.lg.padding.y') dt('button.lg.padding.x'); } .p-button-lg .p-button-icon { font-size: dt('button.lg.font.size'); } .p-button-lg.p-button-icon-only { width: dt('button.lg.icon.only.width'); } .p-button-lg.p-button-icon-only.p-button-rounded { height: dt('button.lg.icon.only.width'); } .p-button-vertical { flex-direction: column; } .p-button-label { font-weight: dt('button.label.font.weight'); } .p-button-fluid { width: 100%; } .p-button-fluid.p-button-icon-only { width: dt('button.icon.only.width'); } .p-button:not(:disabled):hover { background: dt('button.primary.hover.background'); border: 1px solid dt('button.primary.hover.border.color'); color: dt('button.primary.hover.color'); } .p-button:not(:disabled):active { background: dt('button.primary.active.background'); border: 1px solid dt('button.primary.active.border.color'); color: dt('button.primary.active.color'); } .p-button:focus-visible { box-shadow: dt('button.primary.focus.ring.shadow'); outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color'); outline-offset: dt('button.focus.ring.offset'); } .p-button .p-badge { min-width: dt('button.badge.size'); height: dt('button.badge.size'); line-height: dt('button.badge.size'); } .p-button-raised { box-shadow: dt('button.raised.shadow'); } .p-button-rounded { border-radius: dt('button.rounded.border.radius'); } .p-button-secondary { background: dt('button.secondary.background'); border: 1px solid dt('button.secondary.border.color'); color: dt('button.secondary.color'); } .p-button-secondary:not(:disabled):hover { background: dt('button.secondary.hover.background'); border: 1px solid dt('button.secondary.hover.border.color'); color: dt('button.secondary.hover.color'); } .p-button-secondary:not(:disabled):active { background: dt('button.secondary.active.background'); border: 1px solid dt('button.secondary.active.border.color'); color: dt('button.secondary.active.color'); } .p-button-secondary:focus-visible { outline-color: dt('button.secondary.focus.ring.color'); box-shadow: dt('button.secondary.focus.ring.shadow'); } .p-button-success { background: dt('button.success.background'); border: 1px solid dt('button.success.border.color'); color: dt('button.success.color'); } .p-button-success:not(:disabled):hover { background: dt('button.success.hover.background'); border: 1px solid dt('button.success.hover.border.color'); color: dt('button.success.hover.color'); } .p-button-success:not(:disabled):active { background: dt('button.success.active.background'); border: 1px solid dt('button.success.active.border.color'); color: dt('button.success.active.color'); } .p-button-success:focus-visible { outline-color: dt('button.success.focus.ring.color'); box-shadow: dt('button.success.focus.ring.shadow'); } .p-button-info { background: dt('button.info.background'); border: 1px solid dt('button.info.border.color'); color: dt('button.info.color'); } .p-button-info:not(:disabled):hover { background: dt('button.info.hover.background'); border: 1px solid dt('button.info.hover.border.color'); color: dt('button.info.hover.color'); } .p-button-info:not(:disabled):active { background: dt('button.info.active.background'); border: 1px solid dt('button.info.active.border.color'); color: dt('button.info.active.color'); } .p-button-info:focus-visible { outline-color: dt('button.info.focus.ring.color'); box-shadow: dt('button.info.focus.ring.shadow'); } .p-button-warn { background: dt('button.warn.background'); border: 1px solid dt('button.warn.border.color'); color: dt('button.warn.color'); } .p-button-warn:not(:disabled):hover { background: dt('button.warn.hover.background'); border: 1px solid dt('button.warn.hover.border.color'); color: dt('button.warn.hover.color'); } .p-button-warn:not(:disabled):active { background: dt('button.warn.active.background'); border: 1px solid dt('button.warn.active.border.color'); color: dt('button.warn.active.color'); } .p-button-warn:focus-visible { outline-color: dt('button.warn.focus.ring.color'); box-shadow: dt('button.warn.focus.ring.shadow'); } .p-button-help { background: dt('button.help.background'); border: 1px solid dt('button.help.border.color'); color: dt('button.help.color'); } .p-button-help:not(:disabled):hover { background: dt('button.help.hover.background'); border: 1px solid dt('button.help.hover.border.color'); color: dt('button.help.hover.color'); } .p-button-help:not(:disabled):active { background: dt('button.help.active.background'); border: 1px solid dt('button.help.active.border.color'); color: dt('button.help.active.color'); } .p-button-help:focus-visible { outline-color: dt('button.help.focus.ring.color'); box-shadow: dt('button.help.focus.ring.shadow'); } .p-button-danger { background: dt('button.danger.background'); border: 1px solid dt('button.danger.border.color'); color: dt('button.danger.color'); } .p-button-danger:not(:disabled):hover { background: dt('button.danger.hover.background'); border: 1px solid dt('button.danger.hover.border.color'); color: dt('button.danger.hover.color'); } .p-button-danger:not(:disabled):active { background: dt('button.danger.active.background'); border: 1px solid dt('button.danger.active.border.color'); color: dt('button.danger.active.color'); } .p-button-danger:focus-visible { outline-color: dt('button.danger.focus.ring.color'); box-shadow: dt('button.danger.focus.ring.shadow'); } .p-button-contrast { background: dt('button.contrast.background'); border: 1px solid dt('button.contrast.border.color'); color: dt('button.contrast.color'); } .p-button-contrast:not(:disabled):hover { background: dt('button.contrast.hover.background'); border: 1px solid dt('button.contrast.hover.border.color'); color: dt('button.contrast.hover.color'); } .p-button-contrast:not(:disabled):active { background: dt('button.contrast.active.background'); border: 1px solid dt('button.contrast.active.border.color'); color: dt('button.contrast.active.color'); } .p-button-contrast:focus-visible { outline-color: dt('button.contrast.focus.ring.color'); box-shadow: dt('button.contrast.focus.ring.shadow'); } .p-button-outlined { background: transparent; border-color: dt('button.outlined.primary.border.color'); color: dt('button.outlined.primary.color'); } .p-button-outlined:not(:disabled):hover { background: dt('button.outlined.primary.hover.background'); border-color: dt('button.outlined.primary.border.color'); color: dt('button.outlined.primary.color'); } .p-button-outlined:not(:disabled):active { background: dt('button.outlined.primary.active.background'); border-color: dt('button.outlined.primary.border.color'); color: dt('button.outlined.primary.color'); } .p-button-outlined.p-button-secondary { border-color: dt('button.outlined.secondary.border.color'); color: dt('button.outlined.secondary.color'); } .p-button-outlined.p-button-secondary:not(:disabled):hover { background: dt('button.outlined.secondary.hover.background'); border-color: dt('button.outlined.secondary.border.color'); color: dt('button.outlined.secondary.color'); } .p-button-outlined.p-button-secondary:not(:disabled):active { background: dt('button.outlined.secondary.active.background'); border-color: dt('button.outlined.secondary.border.color'); color: dt('button.outlined.secondary.color'); } .p-button-outlined.p-button-success { border-color: dt('button.outlined.success.border.color'); color: dt('button.outlined.success.color'); } .p-button-outlined.p-button-success:not(:disabled):hover { background: dt('button.outlined.success.hover.background'); border-color: dt('button.outlined.success.border.color'); color: dt('button.outlined.success.color'); } .p-button-outlined.p-button-success:not(:disabled):active { background: dt('button.outlined.success.active.background'); border-color: dt('button.outlined.success.border.color'); color: dt('button.outlined.success.color'); } .p-button-outlined.p-button-info { border-color: dt('button.outlined.info.border.color'); color: dt('button.outlined.info.color'); } .p-button-outlined.p-button-info:not(:disabled):hover { background: dt('button.outlined.info.hover.background'); border-color: dt('button.outlined.info.border.color'); color: dt('button.outlined.info.color'); } .p-button-outlined.p-button-info:not(:disabled):active { background: dt('button.outlined.info.active.background'); border-color: dt('button.outlined.info.border.color'); color: dt('button.outlined.info.color'); } .p-button-outlined.p-button-warn { border-color: dt('button.outlined.warn.border.color'); color: dt('button.outlined.warn.color'); } .p-button-outlined.p-button-warn:not(:disabled):hover { background: dt('button.outlined.warn.hover.background'); border-color: dt('button.outlined.warn.border.color'); color: dt('button.outlined.warn.color'); } .p-button-outlined.p-button-warn:not(:disabled):active { background: dt('button.outlined.warn.active.background'); border-color: dt('button.outlined.warn.border.color'); color: dt('button.outlined.warn.color'); } .p-button-outlined.p-button-help { border-color: dt('button.outlined.help.border.color'); color: dt('button.outlined.help.color'); } .p-button-outlined.p-button-help:not(:disabled):hover { background: dt('button.outlined.help.hover.background'); border-color: dt('button.outlined.help.border.color'); color: dt('button.outlined.help.color'); } .p-button-outlined.p-button-help:not(:disabled):active { background: dt('button.outlined.help.active.background'); border-color: dt('button.outlined.help.border.color'); color: dt('button.outlined.help.color'); } .p-button-outlined.p-button-danger { border-color: dt('button.outlined.danger.border.color'); color: dt('button.outlined.danger.color'); } .p-button-outlined.p-button-danger:not(:disabled):hover { background: dt('button.outlined.danger.hover.background'); border-color: dt('button.outlined.danger.border.color'); color: dt('button.outlined.danger.color'); } .p-button-outlined.p-button-danger:not(:disabled):active { background: dt('button.outlined.danger.active.background'); border-color: dt('button.outlined.danger.border.color'); color: dt('button.outlined.danger.color'); } .p-button-outlined.p-button-contrast { border-color: dt('button.outlined.contrast.border.color'); color: dt('button.outlined.contrast.color'); } .p-button-outlined.p-button-contrast:not(:disabled):hover { background: dt('button.outlined.contrast.hover.background'); border-color: dt('button.outlined.contrast.border.color'); color: dt('button.outlined.contrast.color'); } .p-button-outlined.p-button-contrast:not(:disabled):active { background: dt('button.outlined.contrast.active.background'); border-color: dt('button.outlined.contrast.border.color'); color: dt('button.outlined.contrast.color'); } .p-button-outlined.p-button-plain { border-color: dt('button.outlined.plain.border.color'); color: dt('button.outlined.plain.color'); } .p-button-outlined.p-button-plain:not(:disabled):hover { background: dt('button.outlined.plain.hover.background'); border-color: dt('button.outlined.plain.border.color'); color: dt('button.outlined.plain.color'); } .p-button-outlined.p-button-plain:not(:disabled):active { background: dt('button.outlined.plain.active.background'); border-color: dt('button.outlined.plain.border.color'); color: dt('button.outlined.plain.color'); } .p-button-text { background: transparent; border-color: transparent; color: dt('button.text.primary.color'); } .p-button-text:not(:disabled):hover { background: dt('button.text.primary.hover.background'); border-color: transparent; color: dt('button.text.primary.color'); } .p-button-text:not(:disabled):active { background: dt('button.text.primary.active.background'); border-color: transparent; color: dt('button.text.primary.color'); } .p-button-text.p-button-secondary { background: transparent; border-color: transparent; color: dt('button.text.secondary.color'); } .p-button-text.p-button-secondary:not(:disabled):hover { background: dt('button.text.secondary.hover.background'); border-color: transparent; color: dt('button.text.secondary.color'); } .p-button-text.p-button-secondary:not(:disabled):active { background: dt('button.text.secondary.active.background'); border-color: transparent; color: dt('button.text.secondary.color'); } .p-button-text.p-button-success { background: transparent; border-color: transparent; color: dt('button.text.success.color'); } .p-button-text.p-button-success:not(:disabled):hover { background: dt('button.text.success.hover.background'); border-color: transparent; color: dt('button.text.success.color'); } .p-button-text.p-button-success:not(:disabled):active { background: dt('button.text.success.active.background'); border-color: transparent; color: dt('button.text.success.color'); } .p-button-text.p-button-info { background: transparent; border-color: transparent; color: dt('button.text.info.color'); } .p-button-text.p-button-info:not(:disabled):hover { background: dt('button.text.info.hover.background'); border-color: transparent; color: dt('button.text.info.color'); } .p-button-text.p-button-info:not(:disabled):active { background: dt('button.text.info.active.background'); border-color: transparent; color: dt('button.text.info.color'); } .p-button-text.p-button-warn { background: transparent; border-color: transparent; color: dt('button.text.warn.color'); } .p-button-text.p-button-warn:not(:disabled):hover { background: dt('button.text.warn.hover.background'); border-color: transparent; color: dt('button.text.warn.color'); } .p-button-text.p-button-warn:not(:disabled):active { background: dt('button.text.warn.active.background'); border-color: transparent; color: dt('button.text.warn.color'); } .p-button-text.p-button-help { background: transparent; border-color: transparent; color: dt('button.text.help.color'); } .p-button-text.p-button-help:not(:disabled):hover { background: dt('button.text.help.hover.background'); border-color: transparent; color: dt('button.text.help.color'); } .p-button-text.p-button-help:not(:disabled):active { background: dt('button.text.help.active.background'); border-color: transparent; color: dt('button.text.help.color'); } .p-button-text.p-button-danger { background: transparent; border-color: transparent; color: dt('button.text.danger.color'); } .p-button-text.p-button-danger:not(:disabled):hover { background: dt('button.text.danger.hover.background'); border-color: transparent; color: dt('button.text.danger.color'); } .p-button-text.p-button-danger:not(:disabled):active { background: dt('button.text.danger.active.background'); border-color: transparent; color: dt('button.text.danger.color'); } .p-button-text.p-button-contrast { background: transparent; border-color: transparent; color: dt('button.text.contrast.color'); } .p-button-text.p-button-contrast:not(:disabled):hover { background: dt('button.text.contrast.hover.background'); border-color: transparent; color: dt('button.text.contrast.color'); } .p-button-text.p-button-contrast:not(:disabled):active { background: dt('button.text.contrast.active.background'); border-color: transparent; color: dt('button.text.contrast.color'); } .p-button-text.p-button-plain { background: transparent; border-color: transparent; color: dt('button.text.plain.color'); } .p-button-text.p-button-plain:not(:disabled):hover { background: dt('button.text.plain.hover.background'); border-color: transparent; color: dt('button.text.plain.color'); } .p-button-text.p-button-plain:not(:disabled):active { background: dt('button.text.plain.active.background'); border-color: transparent; color: dt('button.text.plain.color'); } .p-button-link { background: transparent; border-color: transparent; color: dt('button.link.color'); } .p-button-link:not(:disabled):hover { background: transparent; border-color: transparent; color: dt('button.link.hover.color'); } .p-button-link:not(:disabled):