dealposbooks 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/3rdpartylicenses.txt +30 -30
  2. package/assets/scss/layouts/_customizer.scss +11 -6
  3. package/assets/scss/layouts/_sidebar.scss +15 -12
  4. package/assets/scss/style.scss +4 -0
  5. package/assets/scss/variables/_variables.scss +5 -12
  6. package/{chunk-LCATVZKP.js → chunk-223MMYH7.js} +1 -1
  7. package/chunk-33KLXB2L.js +180 -0
  8. package/{chunk-C66O26ZI.js → chunk-4Y3NYY52.js} +1 -1
  9. package/{chunk-MNPBLC23.js → chunk-5GQEUX4M.js} +1 -1
  10. package/{chunk-GCTIPWTU.js → chunk-5RRUIJ5U.js} +1 -1
  11. package/{chunk-25PFXJAK.js → chunk-6BFODHTZ.js} +1 -1
  12. package/chunk-AXJA6OO7.js +246 -0
  13. package/{chunk-G52TDPSD.js → chunk-AYVR3RIS.js} +1 -1
  14. package/{chunk-WTRMIJHX.js → chunk-B6N6C3RA.js} +1 -1
  15. package/{chunk-ZNN2E36Y.js → chunk-CINZRZMB.js} +1 -1
  16. package/{chunk-3GWDCNXX.js → chunk-DBRLQ7BX.js} +1 -1
  17. package/{chunk-JFAO2CIB.js → chunk-DJ5UHXOJ.js} +1 -1
  18. package/{chunk-EP22HTZC.js → chunk-DUOJKP2G.js} +1 -1
  19. package/{chunk-UC2RR4WT.js → chunk-E4ZVZRLO.js} +3 -3
  20. package/chunk-EBOJJWD5.js +1 -0
  21. package/{chunk-PG4QL7N2.js → chunk-EMVZ65TI.js} +1 -1
  22. package/{chunk-T7R7C3RX.js → chunk-ENPYMVZG.js} +1 -1
  23. package/chunk-EOLHIQHQ.js +1 -0
  24. package/chunk-EQDQRRRY.js +1 -0
  25. package/chunk-ERX7ND7E.js +1 -0
  26. package/chunk-FKTEL4CU.js +524 -0
  27. package/chunk-FOUHOMEE.js +301 -0
  28. package/{chunk-HG23WDL5.js → chunk-H4HFCRFZ.js} +2 -2
  29. package/chunk-HBVENULS.js +1 -0
  30. package/chunk-J53TOHZH.js +1 -0
  31. package/chunk-JC7YOUAM.js +1 -0
  32. package/{chunk-TJSPXPO6.js → chunk-JR4EQTPJ.js} +1 -1
  33. package/{chunk-I4HDCL3W.js → chunk-JSAAKZBO.js} +1 -1
  34. package/{chunk-RJYIKNTI.js → chunk-KZ2KGWUY.js} +1 -1
  35. package/chunk-LON3T466.js +1 -0
  36. package/chunk-LYEN4UBW.js +1 -0
  37. package/chunk-MG3SLH6O.js +1 -0
  38. package/chunk-NQ3CKBYP.js +1 -0
  39. package/{chunk-ATVC2UCR.js → chunk-NS7JH3QF.js} +1 -1
  40. package/{chunk-O7OAT4UO.js → chunk-O65HPMSJ.js} +1 -1
  41. package/{chunk-NQ24E7JY.js → chunk-OCLABZZW.js} +1 -1
  42. package/chunk-OH2CJBFF.js +1 -0
  43. package/{chunk-GMTXOQ6X.js → chunk-OSV7AMB2.js} +1 -1
  44. package/{chunk-PNAWRNGD.js → chunk-OWI3BWEZ.js} +1 -1
  45. package/chunk-OYYYX3IP.js +1 -0
  46. package/{chunk-I7MT7OUB.js → chunk-PNQSQQIT.js} +1 -1
  47. package/{chunk-JXNLXEJT.js → chunk-Q5PJ63MA.js} +1 -1
  48. package/{chunk-4ANSU2AT.js → chunk-R2KG54OT.js} +1 -1
  49. package/{chunk-NTDTN5DF.js → chunk-REHXXPZY.js} +1 -1
  50. package/{chunk-JT2WCR5Q.js → chunk-RIALPB2D.js} +1 -1
  51. package/{chunk-AWY6AD76.js → chunk-RJYO2KKV.js} +1 -1
  52. package/{chunk-FVXLQNAC.js → chunk-ROKYJX6Q.js} +1 -1
  53. package/{chunk-GRTIJ77T.js → chunk-RUGQ4OJG.js} +1 -1
  54. package/{chunk-SQKLMC5H.js → chunk-RUP2SWYB.js} +1 -1
  55. package/chunk-RUVT4SCE.js +1 -0
  56. package/{chunk-52HZNWBM.js → chunk-SS3CMCAX.js} +1 -1
  57. package/{chunk-AOB6BRGQ.js → chunk-TMY4NWZ6.js} +1 -1
  58. package/chunk-TOJAZ32N.js +1 -0
  59. package/{chunk-2RWUYFYR.js → chunk-TUL6Y2HH.js} +1 -1
  60. package/{chunk-AH4LZWJY.js → chunk-UGKSIDKE.js} +1 -1
  61. package/{chunk-Z4SGDPGH.js → chunk-UTL7D6E7.js} +1 -1
  62. package/{chunk-2ODJIB2A.js → chunk-V7Y6Z4AQ.js} +2 -2
  63. package/chunk-VY4Z33EE.js +7 -0
  64. package/{chunk-RSHFIZV3.js → chunk-VYKJK5YU.js} +4 -4
  65. package/{chunk-UVBFYB2X.js → chunk-WG7APCJU.js} +1 -1
  66. package/{chunk-E6QGADC5.js → chunk-X2NM4CIV.js} +1 -1
  67. package/chunk-XWVLTTMV.js +1 -0
  68. package/{chunk-FJ7O4K2Y.js → chunk-Y6MJGNH2.js} +1 -1
  69. package/{chunk-QJ2XA575.js → chunk-YKYI4A3V.js} +1 -1
  70. package/chunk-ZL4DDXH7.js +348 -0
  71. package/{chunk-E6EWXQXJ.js → chunk-ZU7I7MCL.js} +1 -1
  72. package/{chunk-KFHCGO62.js → chunk-ZZPBK2XT.js} +1 -1
  73. package/index.html +6 -3
  74. package/{main-F2OQVLJM.js → main-MCP7AVEU.js} +1 -1
  75. package/package.json +1 -1
  76. package/styles-IAH7RNKW.css +1 -0
  77. package/chunk-63UNI6LK.js +0 -256
  78. package/chunk-7LG2CFYI.js +0 -1
  79. package/chunk-AKBPKNCH.js +0 -1
  80. package/chunk-B4JAAGJX.js +0 -1
  81. package/chunk-BGKS3L73.js +0 -246
  82. package/chunk-C6Q5SG76.js +0 -1
  83. package/chunk-DOKYUX3G.js +0 -1
  84. package/chunk-EN5MVYJQ.js +0 -180
  85. package/chunk-ISXV3FIH.js +0 -1
  86. package/chunk-JQNCWTZN.js +0 -1
  87. package/chunk-K36WQVFR.js +0 -1
  88. package/chunk-LJMMN36O.js +0 -1
  89. package/chunk-OHVHLILJ.js +0 -1
  90. package/chunk-OJWZH7AB.js +0 -301
  91. package/chunk-RR5AUWZO.js +0 -1
  92. package/chunk-T3ZCO6EC.js +0 -1
  93. package/chunk-TNXHYK2R.js +0 -7
  94. package/chunk-TTG6XQNP.js +0 -1
  95. package/chunk-UOFRXQI7.js +0 -1
  96. package/chunk-WCQQSWYQ.js +0 -616
  97. package/styles-GUJHQHWA.css +0 -1
@@ -0,0 +1 @@
1
+ import{c as bt,d as Y,f as B,g as F,h as tt}from"./chunk-S35HUXPS.js";import{d as gt,e as Tt,k as _t}from"./chunk-6BFODHTZ.js";import{d as W,n as X}from"./chunk-RUGQ4OJG.js";import{Aa as q,Bb as A,Ha as O,I as D,Ib as S,Jb as E,Kb as c,Lb as R,Ob as p,Ub as h,Vb as m,Wb as H,Xb as J,Yb as K,Z,_b as Q,ab as pt,ac as vt,bb as G,ca as C,da as ut,dc as M,ec as l,fa as ht,g,gb as a,ha as y,hb as _,ia as d,ja as dt,lb as mt,mc as f,n as ct,oc as b,q as lt,qa as L,r as x,ra as z,s as $,ub as U,va as N,vb as ft}from"./chunk-VYKJK5YU.js";import{a as r,b as v}from"./chunk-EQDQRRRY.js";var Ct=["toast-component",""];function At(s,n){if(s&1){let t=Q();h(0,"button",5),M("click",function(){L(t);let i=l();return z(i.remove())}),h(1,"span",6),f(2,"\xD7"),m()()}}function Et(s,n){if(s&1&&(J(0),f(1),K()),s&2){let t=l(2);a(),b("[",t.duplicatesCount+1,"]")}}function Rt(s,n){if(s&1&&(h(0,"div"),f(1),A(2,Et,2,1,"ng-container",4),m()),s&2){let t=l();p(t.options.titleClass),E("aria-label",t.title),a(),b(" ",t.title," "),a(),c("ngIf",t.duplicatesCount)}}function Ht(s,n){if(s&1&&H(0,"div",7),s&2){let t=l();p(t.options.messageClass),c("innerHTML",t.message,G)}}function Mt(s,n){if(s&1&&(h(0,"div",8),f(1),m()),s&2){let t=l();p(t.options.messageClass),E("aria-label",t.message),a(),b(" ",t.message," ")}}function jt(s,n){if(s&1&&(h(0,"div"),H(1,"div",9),m()),s&2){let t=l();a(),R("width",t.width()+"%")}}function Nt(s,n){if(s&1){let t=Q();h(0,"button",5),M("click",function(){L(t);let i=l();return z(i.remove())}),h(1,"span",6),f(2,"\xD7"),m()()}}function St(s,n){if(s&1&&(J(0),f(1),K()),s&2){let t=l(2);a(),b("[",t.duplicatesCount+1,"]")}}function Bt(s,n){if(s&1&&(h(0,"div"),f(1),A(2,St,2,1,"ng-container",4),m()),s&2){let t=l();p(t.options.titleClass),E("aria-label",t.title),a(),b(" ",t.title," "),a(),c("ngIf",t.duplicatesCount)}}function Ft(s,n){if(s&1&&H(0,"div",7),s&2){let t=l();p(t.options.messageClass),c("innerHTML",t.message,G)}}function Pt(s,n){if(s&1&&(h(0,"div",8),f(1),m()),s&2){let t=l();p(t.options.messageClass),E("aria-label",t.message),a(),b(" ",t.message," ")}}function Vt(s,n){if(s&1&&(h(0,"div"),H(1,"div",9),m()),s&2){let t=l();a(),R("width",t.width()+"%")}}var et=class{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},it=class{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},st=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new g;_activate=new g;_manualClose=new g;_resetTimeout=new g;_countDuplicate=new g;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},I=class{toastId;config;message;title;toastType;toastRef;_onTap=new g;_onAction=new g;constructor(n,t,e,i,o,u){this.toastId=n,this.config=t,this.message=e,this.title=i,this.toastType=o,this.toastRef=u,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},yt={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},It=new ht("ToastConfig"),nt=class extends it{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,e){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=e}attachComponentPortal(n,t){let e=this._componentFactoryResolver.resolveComponentFactory(n.component),i;return i=e.create(n.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},kt=(()=>{class s{_document=d(W);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(e){return new(e||s)};static \u0275prov=C({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),ot=class{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}},$t=(()=>{class s{_overlayContainer=d(kt);_componentFactoryResolver=d(mt);_appRef=d(S);_document=d(W);_paneElements=new Map;create(t,e){return this._createOverlayRef(this.getPaneElement(t,e))}getPaneElement(t="",e){return this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]}_createPaneElement(t,e){let i=this._document.createElement("div");return i.id="toast-container",i.classList.add(t),i.classList.add("toast-container"),e?e.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(t){return new nt(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new ot(this._createPortalHost(t))}static \u0275fac=function(e){return new(e||s)};static \u0275prov=C({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),P=(()=>{class s{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,e,i,o,u){this.overlay=e,this._injector=i,this.sanitizer=o,this.ngZone=u,this.toastrConfig=r(r({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=r(r({},t.default.iconClasses),t.config.iconClasses))}show(t,e,i={},o=""){return this._preBuildNotification(o,t,e,this.applyConfig(i))}success(t,e,i={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,t,e,this.applyConfig(i))}error(t,e,i={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,t,e,this.applyConfig(i))}info(t,e,i={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,t,e,this.applyConfig(i))}warning(t,e,i={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,t,e,this.applyConfig(i))}clear(t){for(let e of this.toasts)if(t!==void 0){if(e.toastId===t){e.toastRef.manualClose();return}}else e.toastRef.manualClose()}remove(t){let e=this._findToast(t);if(!e||(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(t="",e="",i,o){let{includeTitleDuplicates:u}=this.toastrConfig;for(let T of this.toasts){let j=u&&T.title===t;if((!u||j)&&T.message===e)return T.toastRef.onDuplicate(i,o),T}return null}applyConfig(t={}){return r(r({},this.toastrConfig),t)}_findToast(t){for(let e=0;e<this.toasts.length;e++)if(this.toasts[e].toastId===t)return{index:e,activeToast:this.toasts[e]};return null}_preBuildNotification(t,e,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,e,i,o)):this._buildNotification(t,e,i,o)}_buildNotification(t,e,i,o){if(!o.toastComponent)throw new Error("toastComponent required");let u=this.findDuplicate(i,e,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||e)&&this.toastrConfig.preventDuplicates&&u!==null)return u;this.previousToastMessage=e;let T=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(T=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let j=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let at=e;e&&o.enableHtml&&(at=this.sanitizer.sanitize(pt.HTML,e));let w=new st(j),V=new I(this.index,o,at,i,t,w),wt=[{provide:I,useValue:V}],xt=N.create({providers:wt,parent:this._injector}),Dt=new et(o.toastComponent,xt),rt=j.attach(Dt,o.newestOnTop);w.componentInstance=rt.instance;let k={toastId:this.index,title:i||"",message:e||"",toastRef:w,onShown:w.afterActivate(),onHidden:w.afterClosed(),onTap:V.onTap(),onAction:V.onAction(),portal:rt};return T||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{k.toastRef.activate()})),this.toasts.push(k),k}static \u0275fac=function(e){return new(e||s)(y(It),y($t),y(N),y(_t),y(q))};static \u0275prov=C({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Zt=(()=>{class s{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=O(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,e,i){this.toastrService=t,this.toastPackage=e,this.ngZone=i,this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=O({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>v(r({},t),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),e=this.hideTime-t;this.width.set(e/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>v(r({},t),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(t=>v(r({},t),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),e)):this.timeout=setTimeout(()=>t(),e)}outsideInterval(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),e)):this.intervalId=setInterval(()=>t(),e)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(e){return new(e||s)(_(P),_(I),_(q))};static \u0275cmp=U({type:s,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,i){e&1&&M("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),e&2&&(vt("@flyInOut",i._state),p(i.toastClasses),R("display",i.displayStyle))},attrs:Ct,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,i){e&1&&A(0,At,3,0,"button",0)(1,Rt,3,5,"div",1)(2,Ht,1,3,"div",2)(3,Mt,2,4,"div",3)(4,jt,2,2,"div",4),e&2&&(c("ngIf",i.options.closeButton),a(),c("ngIf",i.title),a(),c("ngIf",i.message&&i.options.enableHtml),a(),c("ngIf",i.message&&!i.options.enableHtml),a(),c("ngIf",i.options.progressBar))},dependencies:[X],encapsulation:2,data:{animation:[bt("flyInOut",[F("inactive",B({opacity:0})),F("active",B({opacity:1})),F("removed",B({opacity:0})),tt("inactive => active",Y("{{ easeTime }}ms {{ easing }}")),tt("active => removed",Y("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return s})(),Lt=v(r({},yt),{toastComponent:Zt}),zt=(s={})=>dt([{provide:It,useValue:{default:Lt,config:s}}]),re=(()=>{class s{static forRoot(t={}){return{ngModule:s,providers:[zt(t)]}}static \u0275fac=function(e){return new(e||s)};static \u0275mod=ft({type:s});static \u0275inj=ut({})}return s})();var qt=(()=>{class s{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=O(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=O("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,e,i){this.toastrService=t,this.toastPackage=e,this.appRef=i,this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),e=this.hideTime-t;this.width.set(e/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(e){return new(e||s)(_(P),_(I),_(S))};static \u0275cmp=U({type:s,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(e,i){e&1&&M("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),e&2&&(p(i.toastClasses),R("display",i.displayStyle))},attrs:Ct,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,i){e&1&&A(0,Nt,3,0,"button",0)(1,Bt,3,5,"div",1)(2,Ft,1,3,"div",2)(3,Pt,2,4,"div",3)(4,Vt,2,2,"div",4),e&2&&(c("ngIf",i.options.closeButton),a(),c("ngIf",i.title),a(),c("ngIf",i.message&&i.options.enableHtml),a(),c("ngIf",i.message&&!i.options.enableHtml),a(),c("ngIf",i.options.progressBar))},dependencies:[X],encapsulation:2,changeDetection:0})}return s})(),ce=v(r({},yt),{toastComponent:qt});var ve=(()=>{class s{constructor(){this.httpClient=d(Tt),this.toastr=d(P),this.requestTimeout=1e4}get(t="",e,i={}){return this.httpClient.get(`${t}${e}`,i).pipe(x(this.requestTimeout),D(this.handleError.bind(this)))}post(t="",e,i,o={}){return this.httpClient.post(`${t}${e}`,i,r({observe:"response"},o)).pipe(x(this.requestTimeout),Z(this.handleResponse.bind(this)),$(u=>u.body),D(this.handleError.bind(this)))}put(t="",e,i,o={}){return this.httpClient.put(`${t}${e}`,i,r({},o)).pipe(x(this.requestTimeout),D(this.handleError.bind(this)))}delete(t="",e,i={}){return this.httpClient.delete(`${t}${e}`,v(r({},i),{observe:"response"})).pipe(x(this.requestTimeout),Z(this.handleResponse.bind(this)),$(o=>o.body),D(this.handleError.bind(this)))}handleResponse(t){if(t.status===200&&t.body){let e=t.body.message;e&&this.toastr.success(e,"Success")}}handleError(t){let e={header:"API Error",message:"An unknown error occurred"};return t instanceof lt&&(e.header="Timeout Error",e.message="The request took too long to complete. Please try again later."),t instanceof gt&&(Object.keys(t.error||{}).length?(e.message=t.error.Message||t.error.message,e.header=`API Error: ${t.error.title??"Error"}`):(e.header=`API Error: ${t.statusText}`,e.message=t.message)),console.error(e),this.toastr.error(e.message,e.header),ct(()=>e)}static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275prov=C({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();export{P as a,zt as b,re as c,ve as d};
@@ -1 +1 @@
1
- import{d as m}from"./chunk-T3ZCO6EC.js";import{o as g}from"./chunk-25PFXJAK.js";import{Z as s,ca as l,ia as c}from"./chunk-RSHFIZV3.js";var a=class extends Error{};a.prototype.name="InvalidTokenError";function T(o){return decodeURIComponent(atob(o).replace(/(.)/g,(r,t)=>{let e=t.charCodeAt(0).toString(16).toUpperCase();return e.length<2&&(e="0"+e),"%"+e}))}function p(o){let r=o.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return T(r)}catch{return atob(r)}}function u(o,r){if(typeof o!="string")throw new a("Invalid token specified: must be a string");r||(r={});let t=r.header===!0?0:1,e=o.split(".")[t];if(typeof e!="string")throw new a(`Invalid token specified: missing part #${t+1}`);let n;try{n=p(e)}catch(i){throw new a(`Invalid token specified: invalid base64 for part #${t+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new a(`Invalid token specified: invalid json for part #${t+1} (${i.message})`)}}var E=(()=>{class o{constructor(){this.httpService=c(m),this.router=c(g),this.autoLogout()}login(t){return this.httpService.post("","api/Authentication/login",t).pipe(s(e=>{let n=t.SubDomain;localStorage.setItem("AUTH_TOKEN",e.access_token),localStorage.setItem("AUTH_POS_TOKEN",e.pos.access_token),localStorage.setItem("AUTH_TOKEN_TYPE",e.token_type),localStorage.setItem("AUTH_EXPIRES_AT",e.expiredAt),localStorage.setItem("AUTH_DOMAIN",n.substring(n.indexOf("."))),localStorage.setItem("AUTH_SUB_DOMAIN",t.SubDomain.split(".")[0]),localStorage.setItem("AUTH_USERNAME",t.Username),this.storeTenantId(e.access_token),this.autoLogout()}))}isAuthenticated(){return!!localStorage.getItem("AUTH_TOKEN")}getToken(){return localStorage.getItem("AUTH_TOKEN")}getTokenType(){return localStorage.getItem("AUTH_TOKEN_TYPE")}isTokenExpired(){let t=localStorage.getItem("AUTH_EXPIRES_AT");return t?new Date(t).getTime()<Date.now():!0}autoLogout(){clearTimeout(this.logoutTimer);let t=localStorage.getItem("AUTH_EXPIRES_AT");if(!t)return;let e=new Date(t).getTime()-Date.now();e>0?this.logoutTimer=setTimeout(()=>this.logout(),e):this.logout()}getTenantExternalURL(){let t=localStorage.getItem("AUTH_SUB_DOMAIN")||"",e=localStorage.getItem("AUTH_DOMAIN")||"";return t&&e?`https://${t}${e}`:""}getTanantToken(){return localStorage.getItem("AUTH_POS_TOKEN")}logout(){localStorage.removeItem("AUTH_TOKEN"),localStorage.removeItem("AUTH_TOKEN_TYPE"),localStorage.removeItem("AUTH_EXPIRES_AT"),clearTimeout(this.logoutTimer),this.router.navigate(["/authentication/login"])}getFullDomain(){let t=localStorage.getItem("AUTH_SUB_DOMAIN"),e=localStorage.getItem("AUTH_DOMAIN");return!t||!e?(console.error("Subdomain or domain is missing in local storage."),null):`${t}${e}`}storeTenantId(t){let e=u(t);e&&localStorage.setItem("AC_TENANT",e.TID)}static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275prov=l({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();export{E as a};
1
+ import{d as m}from"./chunk-TOJAZ32N.js";import{o as g}from"./chunk-6BFODHTZ.js";import{Z as s,ca as l,ia as c}from"./chunk-VYKJK5YU.js";var a=class extends Error{};a.prototype.name="InvalidTokenError";function T(o){return decodeURIComponent(atob(o).replace(/(.)/g,(r,t)=>{let e=t.charCodeAt(0).toString(16).toUpperCase();return e.length<2&&(e="0"+e),"%"+e}))}function p(o){let r=o.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return T(r)}catch{return atob(r)}}function u(o,r){if(typeof o!="string")throw new a("Invalid token specified: must be a string");r||(r={});let t=r.header===!0?0:1,e=o.split(".")[t];if(typeof e!="string")throw new a(`Invalid token specified: missing part #${t+1}`);let n;try{n=p(e)}catch(i){throw new a(`Invalid token specified: invalid base64 for part #${t+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new a(`Invalid token specified: invalid json for part #${t+1} (${i.message})`)}}var E=(()=>{class o{constructor(){this.httpService=c(m),this.router=c(g),this.autoLogout()}login(t){return this.httpService.post("","api/Authentication/login",t).pipe(s(e=>{let n=t.SubDomain;localStorage.setItem("AUTH_TOKEN",e.access_token),localStorage.setItem("AUTH_POS_TOKEN",e.pos.access_token),localStorage.setItem("AUTH_TOKEN_TYPE",e.token_type),localStorage.setItem("AUTH_EXPIRES_AT",e.expiredAt),localStorage.setItem("AUTH_DOMAIN",n.substring(n.indexOf("."))),localStorage.setItem("AUTH_SUB_DOMAIN",t.SubDomain.split(".")[0]),localStorage.setItem("AUTH_USERNAME",t.Username),this.storeTenantId(e.access_token),this.autoLogout()}))}isAuthenticated(){return!!localStorage.getItem("AUTH_TOKEN")}getToken(){return localStorage.getItem("AUTH_TOKEN")}getTokenType(){return localStorage.getItem("AUTH_TOKEN_TYPE")}isTokenExpired(){let t=localStorage.getItem("AUTH_EXPIRES_AT");return t?new Date(t).getTime()<Date.now():!0}autoLogout(){clearTimeout(this.logoutTimer);let t=localStorage.getItem("AUTH_EXPIRES_AT");if(!t)return;let e=new Date(t).getTime()-Date.now();e>0?this.logoutTimer=setTimeout(()=>this.logout(),e):this.logout()}getTenantExternalURL(){let t=localStorage.getItem("AUTH_SUB_DOMAIN")||"",e=localStorage.getItem("AUTH_DOMAIN")||"";return t&&e?`https://${t}${e}`:""}getTanantToken(){return localStorage.getItem("AUTH_POS_TOKEN")}logout(){localStorage.removeItem("AUTH_TOKEN"),localStorage.removeItem("AUTH_TOKEN_TYPE"),localStorage.removeItem("AUTH_EXPIRES_AT"),clearTimeout(this.logoutTimer),this.router.navigate(["/authentication/login"])}getFullDomain(){let t=localStorage.getItem("AUTH_SUB_DOMAIN"),e=localStorage.getItem("AUTH_DOMAIN");return!t||!e?(console.error("Subdomain or domain is missing in local storage."),null):`${t}${e}`}storeTenantId(t){let e=u(t);e&&localStorage.setItem("AC_TENANT",e.TID)}static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275prov=l({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();export{E as a};
@@ -1 +1 @@
1
- import{d as o}from"./chunk-T3ZCO6EC.js";import{ca as r,ia as i}from"./chunk-RSHFIZV3.js";var c=(()=>{class n{constructor(){this.httpService=i(o)}getJournalInvoice(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/invoice/get",t)}generateJournalInvoice(e){return this.httpService.post(void 0,"api/GenerateJournal/invoice/Submit",e)}getJournalSupplierBill(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/bill/get",t)}generateJournalSupplierBill(e){return this.httpService.post(void 0,"api/GenerateJournal/bill/Submit",e)}getJournalShift(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/Shift/get",t)}generateJornalShift(e){return this.httpService.post(void 0,"api/GenerateJournal/Shift/Submit",e)}getARJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/JoinInvoice/get",t)}createARJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/JoinInvoice/Submit",e)}getAPJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/JoinBill/get",t)}createAPJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/JoinBill/Submit",e)}getAdjustmentJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/InventoryAdjustment/get",t)}createAdjustmentJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/InventoryAdjustment/Submit",e)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=r({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();export{c as a};
1
+ import{d as o}from"./chunk-TOJAZ32N.js";import{ca as r,ia as i}from"./chunk-VYKJK5YU.js";var c=(()=>{class n{constructor(){this.httpService=i(o)}getJournalInvoice(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/invoice/get",t)}generateJournalInvoice(e){return this.httpService.post(void 0,"api/GenerateJournal/invoice/Submit",e)}getJournalSupplierBill(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/bill/get",t)}generateJournalSupplierBill(e){return this.httpService.post(void 0,"api/GenerateJournal/bill/Submit",e)}getJournalShift(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/Shift/get",t)}generateJornalShift(e){return this.httpService.post(void 0,"api/GenerateJournal/Shift/Submit",e)}getARJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/JoinInvoice/get",t)}createARJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/JoinInvoice/Submit",e)}getAPJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/JoinBill/get",t)}createAPJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/JoinBill/Submit",e)}getAdjustmentJournal(e){let t={params:e};return this.httpService.get(void 0,"api/GenerateJournal/InventoryAdjustment/get",t)}createAdjustmentJournal(e){return this.httpService.post(void 0,"api/GenerateJournal/InventoryAdjustment/Submit",e)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=r({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();export{c as a};
@@ -1,4 +1,4 @@
1
- import{i as k,j as It,k as Lt,n as G,o as St,p as Ot,w as Dt}from"./chunk-PNAWRNGD.js";import{B as kt,C as Ct,D as wt,G as y,Ga as Et,Ha as x,I as tt,L as Tt,N as U,Pa as D,Y as $,ha as _t,ka as N,na as et,w as O,ya as ot}from"./chunk-FVXLQNAC.js";import{d as mt,k as vt,n as yt,o as $t,p as xt,t as V,v as W}from"./chunk-GRTIJ77T.js";import{Aa as st,Ab as I,Bb as C,Da as g,Ea as at,Jb as m,Kb as s,La as lt,Lb as dt,Nb as bt,Ob as L,Rc as r,Sc as v,Tc as Y,Ub as F,Vb as M,Wb as w,Xb as R,Yb as Q,Zb as pt,ca as T,da as h,dc as ht,ec as d,fc as gt,gb as c,gc as ft,hb as K,hc as P,ia as b,jc as A,kb as ct,kc as H,mc as Z,nc as q,ob as ut,pa as B,sa as rt,ta as u,ub as _,uc as S,vb as f,wb as E,wc as X,yb as p,za as j}from"./chunk-RSHFIZV3.js";import{a as z}from"./chunk-C6Q5SG76.js";var zt=(()=>{class t extends k{autofocus=!1;_autofocus=!1;focused=!1;platformId=b(lt);document=b(mt);host=b(at);ngAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}ngAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){W(this.platformId)&&this._autofocus&&setTimeout(()=>{let e=It.getFocusableElements(this.host?.nativeElement);e.length===0&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=u(t)))(n||t)}})();static \u0275dir=E({type:t,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[2,"autofocus","autofocus",r],_autofocus:[0,"pAutoFocus","_autofocus"]},features:[I,p]})}return t})(),ve=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=f({type:t});static \u0275inj=h({})}return t})();var Vt=({dt:t})=>`
1
+ import{i as k,j as It,k as Lt,n as G,o as St,p as Ot,w as Dt}from"./chunk-OWI3BWEZ.js";import{B as kt,C as Ct,D as wt,G as y,Ga as Et,Ha as x,I as tt,L as Tt,N as U,Pa as D,Y as $,ha as _t,ka as N,na as et,w as O,ya as ot}from"./chunk-ROKYJX6Q.js";import{d as mt,k as vt,n as yt,o as $t,p as xt,t as V,v as W}from"./chunk-RUGQ4OJG.js";import{Aa as st,Ab as I,Bb as C,Da as g,Ea as at,Jb as m,Kb as s,La as lt,Lb as dt,Nb as bt,Ob as L,Rc as r,Sc as v,Tc as Y,Ub as F,Vb as M,Wb as w,Xb as R,Yb as Q,Zb as pt,ca as T,da as h,dc as ht,ec as d,fc as gt,gb as c,gc as ft,hb as K,hc as P,ia as b,jc as A,kb as ct,kc as H,mc as Z,nc as q,ob as ut,pa as B,sa as rt,ta as u,ub as _,uc as S,vb as f,wb as E,wc as X,yb as p,za as j}from"./chunk-VYKJK5YU.js";import{a as z}from"./chunk-EQDQRRRY.js";var zt=(()=>{class t extends k{autofocus=!1;_autofocus=!1;focused=!1;platformId=b(lt);document=b(mt);host=b(at);ngAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}ngAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){W(this.platformId)&&this._autofocus&&setTimeout(()=>{let e=It.getFocusableElements(this.host?.nativeElement);e.length===0&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=u(t)))(n||t)}})();static \u0275dir=E({type:t,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[2,"autofocus","autofocus",r],_autofocus:[0,"pAutoFocus","_autofocus"]},features:[I,p]})}return t})(),ve=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=f({type:t});static \u0275inj=h({})}return t})();var Vt=({dt:t})=>`
2
2
  .p-badge {
3
3
  display: inline-flex;
4
4
  border-radius: ${t("badge.border.radius")};