dealposbooks 1.1.0 → 1.9.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 (123) hide show
  1. package/3rdpartylicenses.txt +142 -142
  2. package/assets/images/background/timeout.svg +2614 -0
  3. package/assets/scss/components/_forms.scss +5 -3
  4. package/assets/scss/style.scss +17 -20
  5. package/assets/scss/variables/_variables.scss +44 -10
  6. package/chunk-26X2X35R.js +1 -0
  7. package/chunk-2VF35PRV.js +7 -0
  8. package/chunk-34EMCCL5.js +210 -0
  9. package/chunk-35EULUGT.js +193 -0
  10. package/{chunk-B6N6C3RA.js → chunk-3TRGIHUH.js} +1 -1
  11. package/chunk-6TRUWOKK.js +1 -0
  12. package/chunk-7FE3ZTH3.js +7 -0
  13. package/chunk-7V4AFAU5.js +1 -0
  14. package/{chunk-R2KG54OT.js → chunk-AKZM2DMY.js} +2 -2
  15. package/{chunk-JR4EQTPJ.js → chunk-AVL6C3VX.js} +1 -1
  16. package/{chunk-ZU7I7MCL.js → chunk-BTZS5NIZ.js} +1 -1
  17. package/chunk-CAI423H5.js +1 -0
  18. package/{chunk-223MMYH7.js → chunk-CEMQLY34.js} +1 -1
  19. package/chunk-CMHZLZ4E.js +1 -0
  20. package/{chunk-EOLHIQHQ.js → chunk-DDBPJDR6.js} +1 -1
  21. package/{chunk-ZL4DDXH7.js → chunk-DWTUKOMR.js} +4 -4
  22. package/chunk-DXCBV3NP.js +1 -0
  23. package/{chunk-UGKSIDKE.js → chunk-DYZT7UKM.js} +1 -1
  24. package/chunk-E2RBYY7Q.js +1 -0
  25. package/chunk-E2VJWAI2.js +1 -0
  26. package/chunk-EBTC6B2W.js +2 -0
  27. package/chunk-EHULZLLD.js +300 -0
  28. package/chunk-ESKS6LNH.js +246 -0
  29. package/{chunk-S35HUXPS.js → chunk-F2X3VGZZ.js} +1 -1
  30. package/chunk-F6SXKAYF.js +67 -0
  31. package/chunk-G4MYTCDD.js +1 -0
  32. package/{chunk-V7Y6Z4AQ.js → chunk-G63G4UQZ.js} +2 -2
  33. package/{chunk-5GQEUX4M.js → chunk-G7MS6UI4.js} +1 -1
  34. package/chunk-GGZEY27B.js +1 -0
  35. package/{chunk-ZZPBK2XT.js → chunk-GHZLR44M.js} +1 -1
  36. package/{chunk-O65HPMSJ.js → chunk-HZ7WPLLK.js} +1 -1
  37. package/{chunk-CINZRZMB.js → chunk-HZLUYZB3.js} +1 -1
  38. package/chunk-I7T4W6G2.js +47 -0
  39. package/{chunk-EMVZ65TI.js → chunk-IF72X7RS.js} +1 -1
  40. package/chunk-JXI4NDYT.js +1 -0
  41. package/chunk-KFKLJQ2D.js +1 -0
  42. package/{chunk-XWVLTTMV.js → chunk-KLKIGY44.js} +1 -1
  43. package/{chunk-TUL6Y2HH.js → chunk-KO5IN2G2.js} +1 -1
  44. package/chunk-L2BS7BTV.js +1 -0
  45. package/chunk-LUH5EEUM.js +1 -0
  46. package/chunk-MEKP6D5H.js +1 -0
  47. package/chunk-MQ5Y727W.js +1 -0
  48. package/{chunk-H4HFCRFZ.js → chunk-MS3UTNX6.js} +14 -14
  49. package/chunk-NWVWD4IE.js +1 -0
  50. package/chunk-NXCLB2JQ.js +1 -0
  51. package/chunk-ON4N4CPO.js +51 -0
  52. package/chunk-OVJSBJBH.js +197 -0
  53. package/{chunk-REHXXPZY.js → chunk-PATWAZNE.js} +1 -1
  54. package/chunk-PBI352JR.js +1 -0
  55. package/chunk-PKK7JSPR.js +1 -0
  56. package/{chunk-FOUHOMEE.js → chunk-PKPPDJWT.js} +5 -5
  57. package/chunk-PMLVFBAT.js +1 -0
  58. package/{chunk-X2NM4CIV.js → chunk-Q4Y2IGA6.js} +2 -2
  59. package/chunk-QBJKUIXK.js +627 -0
  60. package/chunk-R3FUAON5.js +1 -0
  61. package/{chunk-DJ5UHXOJ.js → chunk-RNU2O7NF.js} +1 -1
  62. package/{chunk-AYVR3RIS.js → chunk-ROX6NFMK.js} +2 -2
  63. package/{chunk-ERX7ND7E.js → chunk-S64TQVWK.js} +1 -1
  64. package/chunk-SJTXIIX5.js +1 -0
  65. package/chunk-TDHD3ZTF.js +1 -0
  66. package/{chunk-YKYI4A3V.js → chunk-TL6UHPBU.js} +1 -1
  67. package/chunk-UFS2HLAY.js +1 -0
  68. package/chunk-UIM6GQ63.js +1 -0
  69. package/chunk-UM7MB5JU.js +1 -0
  70. package/chunk-UNNEEFI2.js +1 -0
  71. package/{chunk-UTL7D6E7.js → chunk-USO7UKRV.js} +4 -4
  72. package/chunk-VVC3QQUI.js +1 -0
  73. package/{chunk-SS3CMCAX.js → chunk-VYTUB2DV.js} +2 -2
  74. package/chunk-YF4S6CQO.js +524 -0
  75. package/chunk-YILEWAVV.js +1 -0
  76. package/chunk-YNI2HWIV.js +180 -0
  77. package/index.html +3 -3
  78. package/main-YPUVQR54.js +1 -0
  79. package/package.json +1 -1
  80. package/polyfills-OYTHSGNX.js +2 -0
  81. package/styles-JMIKZHNX.css +1 -0
  82. package/chunk-33KLXB2L.js +0 -180
  83. package/chunk-4Y3NYY52.js +0 -67
  84. package/chunk-5RRUIJ5U.js +0 -1
  85. package/chunk-6BFODHTZ.js +0 -2
  86. package/chunk-AXJA6OO7.js +0 -246
  87. package/chunk-DBRLQ7BX.js +0 -397
  88. package/chunk-DUOJKP2G.js +0 -300
  89. package/chunk-E4ZVZRLO.js +0 -210
  90. package/chunk-EBOJJWD5.js +0 -1
  91. package/chunk-ENPYMVZG.js +0 -1
  92. package/chunk-FKTEL4CU.js +0 -524
  93. package/chunk-J53TOHZH.js +0 -1
  94. package/chunk-JC7YOUAM.js +0 -1
  95. package/chunk-JSAAKZBO.js +0 -1
  96. package/chunk-KZ2KGWUY.js +0 -1
  97. package/chunk-LON3T466.js +0 -1
  98. package/chunk-LYEN4UBW.js +0 -1
  99. package/chunk-MG3SLH6O.js +0 -1
  100. package/chunk-NQ3CKBYP.js +0 -1
  101. package/chunk-NS7JH3QF.js +0 -47
  102. package/chunk-OCLABZZW.js +0 -1
  103. package/chunk-OH2CJBFF.js +0 -1
  104. package/chunk-OSV7AMB2.js +0 -1
  105. package/chunk-OWI3BWEZ.js +0 -197
  106. package/chunk-OYYYX3IP.js +0 -1
  107. package/chunk-PNQSQQIT.js +0 -1
  108. package/chunk-Q5PJ63MA.js +0 -1
  109. package/chunk-RIALPB2D.js +0 -1
  110. package/chunk-RJYO2KKV.js +0 -1
  111. package/chunk-ROKYJX6Q.js +0 -193
  112. package/chunk-RUGQ4OJG.js +0 -1
  113. package/chunk-RUP2SWYB.js +0 -231
  114. package/chunk-RUVT4SCE.js +0 -1
  115. package/chunk-TMY4NWZ6.js +0 -1
  116. package/chunk-TOJAZ32N.js +0 -1
  117. package/chunk-VY4Z33EE.js +0 -7
  118. package/chunk-VYKJK5YU.js +0 -7
  119. package/chunk-WG7APCJU.js +0 -51
  120. package/chunk-Y6MJGNH2.js +0 -1
  121. package/main-MCP7AVEU.js +0 -1
  122. package/polyfills-EQXJKH7W.js +0 -2
  123. package/styles-IAH7RNKW.css +0 -1
package/chunk-33KLXB2L.js DELETED
@@ -1,180 +0,0 @@
1
- import{a as mt,f as ue,g as xt,h as yt,i as vt}from"./chunk-UTL7D6E7.js";import{h as Ct}from"./chunk-Y6MJGNH2.js";import{a as et,b as tt,i as _e,j as ct,n as Fe,o as ge,q as _t,r as gt,s as ut,t as ht,u as ft,v as bt}from"./chunk-OWI3BWEZ.js";import{A as Me,B as De,G as Se,Ga as rt,Ha as me,I as nt,Ia as pt,K as ot,O as Ve,Pa as dt,R as at,W as lt,Y as ce,b as qe,e as Ke,i as Ge,ja as st,t as Ue,w as Z,x as pe,y as ze,ya as L,z as de}from"./chunk-ROKYJX6Q.js";import{c as it,d as Te,f as we,h as Ie,i as ke,k as Ee}from"./chunk-S35HUXPS.js";import{m as Je}from"./chunk-6BFODHTZ.js";import{d as je,k as Ze,n as le,o as $e,p as se,t as re,v as j}from"./chunk-RUGQ4OJG.js";import{Aa as He,Ab as G,Bb as m,Ca as K,Da as O,Ha as Be,Ic as R,Jb as T,Kb as o,La as Re,Nb as A,Ob as V,Pb as W,Rc as f,Sc as ae,Tc as ve,Ub as p,Vb as d,Vc as Ye,Wb as y,Xb as H,Yb as B,Zb as w,_b as b,ca as Le,da as be,dc as u,eb as Qe,ec as r,fc as U,gb as l,gc as N,hc as v,ia as I,ic as J,jc as C,kc as x,lc as ee,mc as X,nc as We,oc as xe,pa as Oe,qa as _,ra as g,rc as te,sa as q,sc as ie,ta as k,tc as ne,ub as D,uc as oe,vb as Ce,vc as Y,wb as Ae,wc as ye,xc as Ne,yb as S,yc as Xe,za as M}from"./chunk-VYKJK5YU.js";import{a as fe}from"./chunk-EQDQRRRY.js";var Tt=(()=>{class t extends ge{pathId;ngOnInit(){this.pathId="url(#"+L()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275cmp=D({type:t,selectors:[["WindowMaximizeIcon"]],features:[S],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(q(),p(0,"svg",0)(1,"g"),y(2,"path",1),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(V(i.getClassNames()),T("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),T("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var wt=(()=>{class t extends ge{pathId;ngOnInit(){this.pathId="url(#"+L()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275cmp=D({type:t,selectors:[["WindowMinimizeIcon"]],features:[S],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(q(),p(0,"svg",0)(1,"g"),y(2,"path",1),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(V(i.getClassNames()),T("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),T("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var It=(()=>{class t extends _e{pFocusTrapDisabled=!1;platformId=I(Re);document=I(je);firstHiddenFocusableElement;lastHiddenFocusableElement;ngOnInit(){super.ngOnInit(),j(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}ngOnChanges(e){super.ngOnChanges(e),e.pFocusTrapDisabled&&j(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let e="0",n=i=>ot("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:e,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:i?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(i)?at(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Ve(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?lt(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Ve(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275dir=Ae({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",f]},features:[G,S,Oe]})}return t})();var St=["header"],kt=["content"],Et=["footer"],Vt=["closeicon"],Ft=["maximizeicon"],Pt=["minimizeicon"],Lt=["headless"],Ot=["titlebar"],Ht=["*",[["p-footer"]]],Bt=["*","p-footer"],Rt=(t,s,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":s,"pointer-events":e}),Qt=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),At=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),Wt=(t,s)=>({transform:t,transition:s}),Nt=t=>({value:"visible",params:t});function Xt(t,s){t&1&&w(0)}function Yt(t,s){if(t&1&&(H(0),m(1,Xt,1,0,"ng-container",11),B()),t&2){let e=r(3);l(),o("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function jt(t,s){if(t&1){let e=b();p(0,"div",15),u("mousedown",function(i){_(e);let a=r(4);return g(a.initResize(i))}),d()}if(t&2){let e=r(4);o("ngClass",e.cx("resizeHandle"))}}function Zt(t,s){if(t&1&&(p(0,"span",21),X(1),d()),t&2){let e=r(5);o("id",e.ariaLabelledBy)("ngClass",e.cx("title")),l(),We(e.header)}}function $t(t,s){t&1&&w(0)}function qt(t,s){if(t&1&&y(0,"span",18),t&2){let e=r(6);o("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function Kt(t,s){t&1&&y(0,"WindowMaximizeIcon")}function Gt(t,s){t&1&&y(0,"WindowMinimizeIcon")}function Ut(t,s){if(t&1&&(H(0),m(1,Kt,1,0,"WindowMaximizeIcon",23)(2,Gt,1,0,"WindowMinimizeIcon",23),B()),t&2){let e=r(6);l(),o("ngIf",!e.maximized&&!e._maximizeiconTemplate&&!e.maximizeIconTemplate&&!e.maximizeIconT),l(),o("ngIf",e.maximized&&!e._minimizeiconTemplate&&!e.minimizeIconTemplate&&!e.minimizeIconT)}}function Jt(t,s){}function ei(t,s){t&1&&m(0,Jt,0,0,"ng-template")}function ti(t,s){if(t&1&&(H(0),m(1,ei,1,0,null,11),B()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function ii(t,s){}function ni(t,s){t&1&&m(0,ii,0,0,"ng-template")}function oi(t,s){if(t&1&&(H(0),m(1,ni,1,0,null,11),B()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function ai(t,s){if(t&1){let e=b();p(0,"p-button",22),u("onClick",function(){_(e);let i=r(5);return g(i.maximize())})("keydown.enter",function(){_(e);let i=r(5);return g(i.maximize())}),m(1,qt,1,1,"span",14)(2,Ut,3,2,"ng-container",23)(3,ti,2,1,"ng-container",23)(4,oi,2,1,"ng-container",23),d()}if(t&2){let e=r(5);o("styleClass",e.cx("pcMaximizeButton"))("tabindex",e.maximizable?"0":"-1")("ariaLabel",e.maximizeLabel)("buttonProps",e.maximizeButtonProps),l(),o("ngIf",e.maximizeIcon&&!e._maximizeiconTemplate&&!e._minimizeiconTemplate),l(),o("ngIf",!e.maximizeIcon&&!(e.maximizeButtonProps!=null&&e.maximizeButtonProps.icon)),l(),o("ngIf",!e.maximized),l(),o("ngIf",e.maximized)}}function li(t,s){if(t&1&&y(0,"span",18),t&2){let e=r(8);o("ngClass",e.closeIcon)}}function si(t,s){t&1&&y(0,"TimesIcon")}function ri(t,s){if(t&1&&(H(0),m(1,li,1,1,"span",14)(2,si,1,0,"TimesIcon",23),B()),t&2){let e=r(7);l(),o("ngIf",e.closeIcon),l(),o("ngIf",!e.closeIcon)}}function pi(t,s){}function di(t,s){t&1&&m(0,pi,0,0,"ng-template")}function ci(t,s){if(t&1&&(p(0,"span"),m(1,di,1,0,null,11),d()),t&2){let e=r(7);l(),o("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function mi(t,s){if(t&1&&m(0,ri,3,2,"ng-container",23)(1,ci,2,1,"span",23),t&2){let e=r(6);o("ngIf",!e._closeiconTemplate&&!e.closeIconTemplate&&!e.closeIconT&&!(e.closeButtonProps!=null&&e.closeButtonProps.icon)),l(),o("ngIf",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function _i(t,s){if(t&1){let e=b();p(0,"p-button",24),u("onClick",function(i){_(e);let a=r(5);return g(a.close(i))})("keydown.enter",function(i){_(e);let a=r(5);return g(a.close(i))}),m(1,mi,2,2,"ng-template",null,4,R),d()}if(t&2){let e=r(5);o("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function gi(t,s){if(t&1){let e=b();p(0,"div",16,3),u("mousedown",function(i){_(e);let a=r(4);return g(a.initDrag(i))}),m(2,Zt,2,3,"span",17)(3,$t,1,0,"ng-container",11),p(4,"div",18),m(5,ai,5,8,"p-button",19)(6,_i,3,4,"p-button",20),d()()}if(t&2){let e=r(4);o("ngClass",e.cx("header")),l(2),o("ngIf",!e._headerTemplate&&!e.headerTemplate&&!e.headerT),l(),o("ngTemplateOutlet",e._headerTemplate||e.headerTemplate||e.headerT),l(),o("ngClass",e.cx("headerActions")),l(),o("ngIf",e.maximizable),l(),o("ngIf",e.closable)}}function ui(t,s){t&1&&w(0)}function hi(t,s){t&1&&w(0)}function fi(t,s){if(t&1&&(p(0,"div",18,5),N(2,1),m(3,hi,1,0,"ng-container",11),d()),t&2){let e=r(4);o("ngClass",e.cx("footer")),l(3),o("ngTemplateOutlet",e._footerTemplate||e.footerTemplate||e.footerT)}}function bi(t,s){if(t&1&&(m(0,jt,1,1,"div",12)(1,gi,7,6,"div",13),p(2,"div",7,2),N(4),m(5,ui,1,0,"ng-container",11),d(),m(6,fi,4,2,"div",14)),t&2){let e=r(3);o("ngIf",e.resizable),l(),o("ngIf",e.showHeader),l(),V(e.contentStyleClass),o("ngClass",e.cx("content"))("ngStyle",e.contentStyle),T("data-pc-section","content"),l(3),o("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),l(),o("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function Ci(t,s){if(t&1){let e=b();p(0,"div",9,0),u("@animation.start",function(i){_(e);let a=r(2);return g(a.onAnimationStart(i))})("@animation.done",function(i){_(e);let a=r(2);return g(a.onAnimationEnd(i))}),m(2,Yt,2,1,"ng-container",10)(3,bi,7,9,"ng-template",null,1,R),d()}if(t&2){let e=ee(4),n=r(2);A(n.style),V(n.styleClass),o("ngClass",ye(13,Qt,n.maximizable&&n.maximized))("ngStyle",Y(15,At))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",ye(19,Nt,Ne(16,Wt,n.transformOptions,n.transitionOptions))),T("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),l(2),o("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function xi(t,s){if(t&1&&(p(0,"div",7),m(1,Ci,5,21,"div",8),d()),t&2){let e=r();A(e.maskStyle),V(e.maskStyleClass),o("ngClass",e.maskClass)("ngStyle",Xe(7,Rt,e.position==="left"||e.position==="topleft"||e.position==="bottomleft"?"flex-start":e.position==="right"||e.position==="topright"||e.position==="bottomright"?"flex-end":"center",e.position==="top"||e.position==="topleft"||e.position==="topright"?"flex-start":e.position==="bottom"||e.position==="bottomleft"||e.position==="bottomright"?"flex-end":"center",e.modal?"auto":"none")),l(),o("ngIf",e.visible)}}var yi=({dt:t})=>`
2
- .p-dialog {
3
- max-height: 90%;
4
- transform: scale(1);
5
- border-radius: ${t("dialog.border.radius")};
6
- box-shadow: ${t("dialog.shadow")};
7
- background: ${t("dialog.background")};
8
- border: 1px solid ${t("dialog.border.color")};
9
- color: ${t("dialog.color")};
10
- display: flex;
11
- flex-direction: column;
12
- pointer-events: auto
13
- }
14
-
15
- .p-dialog-content {
16
- overflow-y: auto;
17
- padding: ${t("dialog.content.padding")};
18
- flex-grow: 1;
19
- }
20
-
21
- .p-dialog-header {
22
- display: flex;
23
- align-items: center;
24
- justify-content: space-between;
25
- flex-shrink: 0;
26
- padding: ${t("dialog.header.padding")};
27
- }
28
-
29
- .p-dialog-title {
30
- font-weight: ${t("dialog.title.font.weight")};
31
- font-size: ${t("dialog.title.font.size")};
32
- }
33
-
34
- .p-dialog-footer {
35
- flex-shrink: 0;
36
- padding: ${t("dialog.footer.padding")};
37
- display: flex;
38
- justify-content: flex-end;
39
- gap: ${t("dialog.footer.gap")};
40
- }
41
-
42
- .p-dialog-header-actions {
43
- display: flex;
44
- align-items: center;
45
- gap: ${t("dialog.header.gap")};
46
- }
47
-
48
- .p-dialog-enter-active {
49
- transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
50
- }
51
-
52
- .p-dialog-leave-active {
53
- transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
54
- }
55
-
56
- .p-dialog-enter-from,
57
- .p-dialog-leave-to {
58
- opacity: 0;
59
- transform: scale(0.7);
60
- }
61
-
62
- .p-dialog-top .p-dialog,
63
- .p-dialog-bottom .p-dialog,
64
- .p-dialog-left .p-dialog,
65
- .p-dialog-right .p-dialog,
66
- .p-dialog-topleft .p-dialog,
67
- .p-dialog-topright .p-dialog,
68
- .p-dialog-bottomleft .p-dialog,
69
- .p-dialog-bottomright .p-dialog {
70
- margin: 0.75rem;
71
- transform: translate3d(0px, 0px, 0px);
72
- }
73
-
74
- .p-dialog-top .p-dialog-enter-active,
75
- .p-dialog-top .p-dialog-leave-active,
76
- .p-dialog-bottom .p-dialog-enter-active,
77
- .p-dialog-bottom .p-dialog-leave-active,
78
- .p-dialog-left .p-dialog-enter-active,
79
- .p-dialog-left .p-dialog-leave-active,
80
- .p-dialog-right .p-dialog-enter-active,
81
- .p-dialog-right .p-dialog-leave-active,
82
- .p-dialog-topleft .p-dialog-enter-active,
83
- .p-dialog-topleft .p-dialog-leave-active,
84
- .p-dialog-topright .p-dialog-enter-active,
85
- .p-dialog-topright .p-dialog-leave-active,
86
- .p-dialog-bottomleft .p-dialog-enter-active,
87
- .p-dialog-bottomleft .p-dialog-leave-active,
88
- .p-dialog-bottomright .p-dialog-enter-active,
89
- .p-dialog-bottomright .p-dialog-leave-active {
90
- transition: all 0.3s ease-out;
91
- }
92
-
93
- .p-dialog-top .p-dialog-enter-from,
94
- .p-dialog-top .p-dialog-leave-to {
95
- transform: translate3d(0px, -100%, 0px);
96
- }
97
-
98
- .p-dialog-bottom .p-dialog-enter-from,
99
- .p-dialog-bottom .p-dialog-leave-to {
100
- transform: translate3d(0px, 100%, 0px);
101
- }
102
-
103
- .p-dialog-left .p-dialog-enter-from,
104
- .p-dialog-left .p-dialog-leave-to,
105
- .p-dialog-topleft .p-dialog-enter-from,
106
- .p-dialog-topleft .p-dialog-leave-to,
107
- .p-dialog-bottomleft .p-dialog-enter-from,
108
- .p-dialog-bottomleft .p-dialog-leave-to {
109
- transform: translate3d(-100%, 0px, 0px);
110
- }
111
-
112
- .p-dialog-right .p-dialog-enter-from,
113
- .p-dialog-right .p-dialog-leave-to,
114
- .p-dialog-topright .p-dialog-enter-from,
115
- .p-dialog-topright .p-dialog-leave-to,
116
- .p-dialog-bottomright .p-dialog-enter-from,
117
- .p-dialog-bottomright .p-dialog-leave-to {
118
- transform: translate3d(100%, 0px, 0px);
119
- }
120
-
121
- .p-dialog-left:dir(rtl) .p-dialog-enter-from,
122
- .p-dialog-left:dir(rtl) .p-dialog-leave-to,
123
- .p-dialog-topleft:dir(rtl) .p-dialog-enter-from,
124
- .p-dialog-topleft:dir(rtl) .p-dialog-leave-to,
125
- .p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from,
126
- .p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to {
127
- transform: translate3d(100%, 0px, 0px);
128
- }
129
-
130
- .p-dialog-right:dir(rtl) .p-dialog-enter-from,
131
- .p-dialog-right:dir(rtl) .p-dialog-leave-to,
132
- .p-dialog-topright:dir(rtl) .p-dialog-enter-from,
133
- .p-dialog-topright:dir(rtl) .p-dialog-leave-to,
134
- .p-dialog-bottomright:dir(rtl) .p-dialog-enter-from,
135
- .p-dialog-bottomright:dir(rtl) .p-dialog-leave-to {
136
- transform: translate3d(-100%, 0px, 0px);
137
- }
138
-
139
- .p-dialog-maximized {
140
- width: 100vw !important;
141
- height: 100vh !important;
142
- top: 0px !important;
143
- left: 0px !important;
144
- max-height: 100%;
145
- height: 100%;
146
- border-radius: 0;
147
- }
148
-
149
- .p-dialog-maximized .p-dialog-content {
150
- flex-grow: 1;
151
- }
152
-
153
- .p-overlay-mask:dir(rtl) {
154
- flex-direction: row-reverse;
155
- }
156
-
157
- /* For PrimeNG */
158
-
159
- .p-dialog .p-resizable-handle {
160
- position: absolute;
161
- font-size: 0.1px;
162
- display: block;
163
- cursor: se-resize;
164
- width: 12px;
165
- height: 12px;
166
- right: 1px;
167
- bottom: 1px;
168
- }
169
-
170
- .p-confirm-dialog .p-dialog-content {
171
- display: flex;
172
- align-items: center;
173
- }
174
- `,vi={mask:({instance:t})=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:t.position==="left"||t.position==="topleft"||t.position==="bottomleft"?"flex-start":t.position==="right"||t.position==="topright"||t.position==="bottomright"?"flex-end":"center",alignItems:t.position==="top"||t.position==="topleft"||t.position==="topright"?"flex-start":t.position==="bottom"||t.position==="bottomleft"||t.position==="bottomright"?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}),root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}},Ti={mask:({instance:t})=>{let e=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(n=>n===t.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":t.modal,[`p-dialog-${e}`]:e}},root:({instance:t})=>({"p-dialog p-component":!0,"p-dialog-maximized":t.maximizable&&t.maximized}),header:"p-dialog-header",title:"p-dialog-title",resizeHandle:"p-resizable-handle",headerActions:"p-dialog-header-actions",pcMaximizeButton:"p-dialog-maximize-button",pcCloseButton:"p-dialog-close-button",content:"p-dialog-content",footer:"p-dialog-footer"},zt=(()=>{class t extends dt{name="dialog";theme=yi;classes=Ti;inlineStyles=vi;static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275prov=Le({token:t,factory:t.\u0275fac})}return t})();var wi=ke([we({transform:"{{transform}}",opacity:0}),Te("{{transition}}")]),Ii=ke([Te("{{transition}}",we({transform:"{{transform}}",opacity:0}))]),Pe=(()=>{class t extends _e{header;draggable=!0;resizable=!0;get positionLeft(){return 0}set positionLeft(e){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(e){console.log("positionTop property is deprecated.")}contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;get responsive(){return!1}set responsive(e){console.log("Responsive property is deprecated.")}appendTo;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;get breakpoint(){return 649}set breakpoint(e){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";closeIcon;closeAriaLabel;closeTabindex="0";minimizeIcon;maximizeIcon;closeButtonProps={severity:"secondary",text:!0,rounded:!0};maximizeButtonProps={severity:"secondary",text:!0,rounded:!0};get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(e){e&&(this._style=fe({},e),this.originalStyle=e)}get position(){return this._position}set position(e){switch(this._position=e,e){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)";break}}role="dialog";onShow=new M;onHide=new M;visibleChange=new M;onResizeInit=new M;onResizeEnd=new M;onDragEnd=new M;onMaximize=new M;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;closeIconTemplate;maximizeIconTemplate;minimizeIconTemplate;headlessTemplate;_headerTemplate;_contentTemplate;_footerTemplate;_closeiconTemplate;_maximizeiconTemplate;_minimizeiconTemplate;_headlessTemplate;_visible=!1;maskVisible;container;wrapper;dragging;ariaLabelledBy=this.getAriaLabelledBy();documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=L("pn_id_");_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;_componentStyle=I(zt);headerT;contentT;footerT;closeIconT;maximizeIconT;minimizeIconT;headlessT;get maximizeLabel(){return this.config.getTranslation(pt.ARIA).maximizeLabel}zone=I(He);get maskClass(){let n=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(i=>i===this.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":this.modal||this.dismissableMask,[`p-dialog-${n}`]:n}}ngOnInit(){super.ngOnInit(),this.breakpoints&&this.createStyle()}templates;ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"header":this.headerT=e.template;break;case"content":this.contentT=e.template;break;case"footer":this.footerT=e.template;break;case"closeicon":this.closeIconT=e.template;break;case"maximizeicon":this.maximizeIconT=e.template;break;case"minimizeicon":this.minimizeIconT=e.template;break;case"headless":this.headlessT=e.template;break;default:this.contentT=e.template;break}})}getAriaLabelledBy(){return this.header!==null?L("pn_id_")+"_header":null}parseDurationToMilliseconds(e){let n=/([\d\.]+)(ms|s)\b/g,i=0,a;for(;(a=n.exec(e))!==null;){let c=parseFloat(a[1]),h=a[2];h==="ms"?i+=c:h==="s"&&(i+=c*1e3)}if(i!==0)return i}_focus(e){if(e){let n=this.parseDurationToMilliseconds(this.transitionOptions),i=ct.getFocusableElements(e);if(i&&i.length>0)return this.zone.runOutsideAngular(()=>{setTimeout(()=>i[0].focus(),n||5)}),!0}return!1}focus(e){let n=this._focus(e);n||(n=this._focus(this.footerViewChild?.nativeElement),n||(n=this._focus(this.headerViewChild?.nativeElement),n||this._focus(this.contentViewChild?.nativeElement)))}close(e){this.visibleChange.emit(!1),e.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",e=>{this.wrapper&&this.wrapper.isSameNode(e.target)&&this.close(e)})),this.modal&&ze()}disableModality(){if(this.wrapper){this.dismissableMask&&this.unbindMaskClickListener();let e=document.querySelectorAll(".p-dialog-mask-scrollblocker");this.modal&&e&&e.length==1&&Me(),this.cd.destroyed||this.cd.detectChanges()}}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?ze():Me()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(Fe.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(j(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let e="";for(let n in this.breakpoints)e+=`
175
- @media screen and (max-width: ${n}) {
176
- .p-dialog[${this.id}]:not(.p-dialog-maximized) {
177
- width: ${this.breakpoints[n]} !important;
178
- }
179
- }
180
- `;this.renderer.setProperty(this.styleElement,"innerHTML",e),st(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(e){Z(e.target,"p-dialog-maximize-icon")||Z(e.target,"p-dialog-header-close-icon")||Z(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",pe(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=Se(this.container),i=ce(this.container),a=e.pageX-this.lastPageX,c=e.pageY-this.lastPageY,h=this.container.getBoundingClientRect(),F=getComputedStyle(this.container),P=parseFloat(F.marginLeft),$=parseFloat(F.marginTop),E=h.left+a-P,z=h.top+c-$,Q=De();this.container.style.position="fixed",this.keepInViewport?(E>=this.minX&&E+n<Q.width&&(this._style.left=`${E}px`,this.lastPageX=e.pageX,this.container.style.left=`${E}px`),z>=this.minY&&z+i<Q.height&&(this._style.top=`${z}px`,this.lastPageY=e.pageY,this.container.style.top=`${z}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${E}px`,this.lastPageY=e.pageY,this.container.style.top=`${z}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,de(this.document.body,"p-unselectable-text"),this.cd.detectChanges(),this.onDragEnd.emit(e))}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}center(){this.resetPosition()}initResize(e){this.resizable&&(this.resizing=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,pe(this.document.body,"p-unselectable-text"),this.onResizeInit.emit(e))}onResize(e){if(this.resizing){let n=e.pageX-this.lastPageX,i=e.pageY-this.lastPageY,a=Se(this.container),c=ce(this.container),h=ce(this.contentViewChild?.nativeElement),F=a+n,P=c+i,$=this.container.style.minWidth,E=this.container.style.minHeight,z=this.container.getBoundingClientRect(),Q=De();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(F+=n,P+=i),(!$||F>parseInt($))&&z.left+F<Q.width&&(this._style.width=F+"px",this.container.style.width=this._style.width),(!E||P>parseInt(E))&&z.top+P<Q.height&&(this.contentViewChild.nativeElement.style.height=h+P-c+"px",this._style.height&&(this._style.height=P+"px",this.container.style.height=this._style.height)),this.lastPageX=e.pageX,this.lastPageY=e.pageY}}resizeEnd(e){this.resizing&&(this.resizing=!1,de(this.document.body,"p-unselectable-text"),this.onResizeEnd.emit(e))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.documentDragListener||this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){let e=this.el?this.el.nativeElement.ownerDocument:"document";this.documentEscapeListener=this.renderer.listen(e,"keydown",n=>{n.key=="Escape"&&this.close(n)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.wrapper):nt(this.appendTo,this.wrapper))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&pe(this.wrapper,"p-overlay-mask-leave");break}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck(),this.maskVisible!==this.visible&&(this.maskVisible=this.visible);break;case"visible":this.onShow.emit({});break}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(this.document.body.style.removeProperty("--scrollbar;-width"),this.maximized=!1),this.modal&&this.disableModality(),Z(this.document.body,"p-overflow-hidden")&&de(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Fe.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?fe({},this.originalStyle):{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275cmp=D({type:t,selectors:[["p-dialog"]],contentQueries:function(n,i,a){if(n&1&&(v(a,St,4),v(a,kt,4),v(a,Et,4),v(a,Vt,4),v(a,Ft,4),v(a,Pt,4),v(a,Lt,4),v(a,rt,4)),n&2){let c;C(c=x())&&(i._headerTemplate=c.first),C(c=x())&&(i._contentTemplate=c.first),C(c=x())&&(i._footerTemplate=c.first),C(c=x())&&(i._closeiconTemplate=c.first),C(c=x())&&(i._maximizeiconTemplate=c.first),C(c=x())&&(i._minimizeiconTemplate=c.first),C(c=x())&&(i._headlessTemplate=c.first),C(c=x())&&(i.templates=c)}},viewQuery:function(n,i){if(n&1&&(J(Ot,5),J(kt,5),J(Et,5)),n&2){let a;C(a=x())&&(i.headerViewChild=a.first),C(a=x())&&(i.contentViewChild=a.first),C(a=x())&&(i.footerViewChild=a.first)}},inputs:{header:"header",draggable:[2,"draggable","draggable",f],resizable:[2,"resizable","resizable",f],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",f],closeOnEscape:[2,"closeOnEscape","closeOnEscape",f],dismissableMask:[2,"dismissableMask","dismissableMask",f],rtl:[2,"rtl","rtl",f],closable:[2,"closable","closable",f],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",f],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",f],autoZIndex:[2,"autoZIndex","autoZIndex",f],baseZIndex:[2,"baseZIndex","baseZIndex",ae],minX:[2,"minX","minX",ae],minY:[2,"minY","minY",ae],focusOnShow:[2,"focusOnShow","focusOnShow",f],maximizable:[2,"maximizable","maximizable",f],keepInViewport:[2,"keepInViewport","keepInViewport",f],focusTrap:[2,"focusTrap","focusTrap",f],transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",closeButtonProps:"closeButtonProps",maximizeButtonProps:"maximizeButtonProps",visible:"visible",style:"style",position:"position",role:"role",headerTemplate:[0,"content","headerTemplate"],contentTemplate:"contentTemplate",footerTemplate:"footerTemplate",closeIconTemplate:"closeIconTemplate",maximizeIconTemplate:"maximizeIconTemplate",minimizeIconTemplate:"minimizeIconTemplate",headlessTemplate:"headlessTemplate"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},features:[oe([zt]),G,S],ngContentSelectors:Bt,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"ngClass","class","ngStyle","style",4,"ngIf"],[3,"ngClass","ngStyle"],["pFocusTrap","",3,"class","ngClass","ngStyle","style","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["style","z-index: 90;",3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass",4,"ngIf"],[2,"z-index","90",3,"mousedown","ngClass"],[3,"mousedown","ngClass"],[3,"id","ngClass",4,"ngIf"],[3,"ngClass"],[3,"styleClass","tabindex","ariaLabel","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"styleClass","ariaLabel","tabindex","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"id","ngClass"],[3,"onClick","keydown.enter","styleClass","tabindex","ariaLabel","buttonProps"],[4,"ngIf"],[3,"onClick","keydown.enter","styleClass","ariaLabel","tabindex","buttonProps"]],template:function(n,i){n&1&&(U(Ht),m(0,xi,2,11,"div",6)),n&2&&o("ngIf",i.maskVisible)},dependencies:[re,Ze,le,se,$e,ue,It,mt,Tt,wt,me],encapsulation:2,data:{animation:[it("animation",[Ie("void => visible",[Ee(wi)]),Ie("visible => void",[Ee(Ii)])])]},changeDetection:0})}return t})(),Mt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ce({type:t});static \u0275inj=be({imports:[Pe,me,me]})}return t})();var Ei=["actionButton"],zi=["filters"],Mi=["content"],Di=[[["tabs"]]],Si=["tabs"],Vi=()=>({width:"30vw"}),Fi=()=>({"1199px":"75vw","575px":"100vw"});function Pi(t,s){if(t&1){let e=b();p(0,"p-button",30),u("onClick",function(){_(e);let i=r();return g(i.isSearchbarCollapse=!i.isSearchbarCollapse)}),d()}t&2&&o("text",!0)}function Li(t,s){if(t&1){let e=b();p(0,"p-button",31),u("click",function(){_(e);let i=r();return g(i.isCollapsed=!i.isCollapsed)}),d()}if(t&2){let e=r();o("text",!0),T("aria-expanded",!e.isCollapsed)}}function Oi(t,s){if(t&1){let e=b();p(0,"p-iconfield",20)(1,"input",32),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.onSearchInput())}),d(),p(2,"p-inputicon",33),u("click",function(){_(e);let i=r();return g(i.onSearchInput())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function Hi(t,s){if(t&1){let e=b();p(0,"button",34),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",35),d()}}function Bi(t,s){t&1&&w(0)}function Ri(t,s){if(t&1){let e=b();p(0,"p-iconfield")(1,"input",32),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.onSearchInput())}),d(),p(2,"p-inputicon",33),u("click",function(){_(e);let i=r();return g(i.onSearchInput())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function Qi(t,s){if(t&1){let e=b();p(0,"button",34),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",35),d()}}function Ai(t,s){t&1&&w(0)}function Wi(t,s){t&1&&w(0)}function Ni(t,s){t&1&&w(0)}function Xi(t,s){if(t&1){let e=b();p(0,"p-button",36),u("onClick",function(){_(e);let i=r();return g(i.isDialogFilterVisible=!1)}),d()}t&2&&o("rounded",!0)("text",!0)}function Yi(t,s){if(t&1){let e=b();p(0,"p-button",37),u("click",function(){_(e);let i=r();return g(i.isDialogFilterVisible=!1)}),d(),p(1,"p-button",38),u("click",function(){_(e);let i=r();return i.filterOKEmitted.emit(),g(i.isDialogFilterVisible=!1)}),d()}}var eo=(()=>{class t{constructor(){this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.routeInfo=O(),this.activatedRoute=I(Je),this.filterEmitted=K(),this.store=I(Ct),this.pageTitle=O(""),this.isSearchableInput=O(!1),this.searchEmitted=K(),this.searchQuery=Be(""),this.isFilterable=O(!1),this.filterOKEmitted=K(),this.isDialogFilterVisible=!1,this.isInitDialogFilterVisible=O(!1),this.pageTitleComputed=ve(()=>this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle()),this.isPageTitleTruncated=ve(()=>this.pageTitleComputed().includes("...")),this.tooltipOptions={tooltipPosition:"bottom",tooltipEvent:"hover"},Ye(()=>{this.isInitDialogFilterVisible()&&this.onOpenFilterDialog()})}onOpenFilterDialog(){this.filterEmitted.emit(),this.isDialogFilterVisible=!this.isDialogFilterVisible}onSidebarToggle(){this.store.updateSidebarType()}onSearchInput(){this.searchEmitted.emit(this.searchQuery())}handleKeyboardEvent(e){e.key==="F2"&&(this.filterOKEmitted.emit(),this.isDialogFilterVisible=!this.isDialogFilterVisible)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-main-panel"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Ei,7),v(a,zi,7),v(a,Mi,7)),n&2){let c;C(c=x())&&(i.actionButtonTemplate=c.first),C(c=x())&&(i.filterTemplate=c.first),C(c=x())&&(i.contentTemplate=c.first)}},hostBindings:function(n,i){n&1&&u("keydown",function(c){return i.handleKeyboardEvent(c)},!1,Qe)},inputs:{routeInfo:[1,"routeInfo"],pageTitle:[1,"pageTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"]},outputs:{filterEmitted:"filterEmitted",searchEmitted:"searchEmitted",filterOKEmitted:"filterOKEmitted"},features:[oe([])],ngContentSelectors:Si,decls:46,vars:25,consts:[["collapse","ngbCollapse"],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[1,"navbar","navbar-expand-lg","bg-white"],[1,"container-fluid"],[1,"row","w-100","d-block","d-lg-none","mx-0"],[1,"col","d-flex","align-items-center","justify-content-between","flex-wrap"],["icon","fa-solid fa-bars","severity","contrast",1,"text-dark",3,"onClick","text"],[1,"fs-4","m-0","fw-bolder"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"text","onClick",4,"ngIf"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"text","click",4,"ngIf"],[1,"w-100","d-none","d-lg-flex"],[1,"col-6","d-flex"],[1,"row","w-100"],[1,"col-12","d-flex","align-items-center"],[1,"d-flex","align-items-center","justify-content-between","w-100","gap-2"],[1,"flex-shrink-1"],[1,"page-title","fs-6","m-0","fw-semibold","align-middle"],[1,"d-flex","align-items-center","flex-grow-1","gap-2"],[2,"max-width","300px"],["type","button",1,"btn","btn-link"],[1,"col-6","align-self-center","d-flex","gap-2","justify-content-end"],[4,"ngTemplateOutlet"],[3,"ngbCollapseChange","ngbCollapse"],[1,"card"],[1,"card-body"],[1,"d-flex","align-items-center"],[1,"flex-grow-1","px-2","py-3"],["header","Filter","position","center","appendTo","body",3,"visibleChange","modal","visible","breakpoints","draggable","closeIconTemplate","dismissableMask"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"onClick","text"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"click","text"],["pTooltip","Search...","tooltipPosition","top","placeholder","Search...","type","text","pInputText","",3,"ngModelChange","keyup.enter","ngModel"],["styleClass","fa-solid fa-magnifying-glass",3,"click"],["type","button",1,"btn","btn-link",3,"click"],[1,"fa-solid","fa-filter"],["severity","secondary","icon","fa-solid fa-xmark",3,"onClick","rounded","text"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let a=b();U(Di),p(0,"div",3)(1,"div")(2,"nav",4)(3,"div",5)(4,"div",6)(5,"div",7)(6,"div")(7,"p-button",8),u("onClick",function(){return _(a),g(i.store.updateSidebarType())}),d(),p(8,"h1",9),X(9),d(),m(10,Pi,1,1,"p-button",10),d(),m(11,Li,1,2,"p-button",11),d()(),p(12,"div",12)(13,"div",13)(14,"div",14)(15,"div",15)(16,"div",16)(17,"div",17)(18,"h1",18),X(19),d()(),p(20,"div",19),m(21,Oi,3,1,"p-iconfield",20)(22,Hi,2,0,"button",21),d()()()()(),p(23,"div",22),m(24,Bi,1,0,"ng-container",23),d()()()(),p(25,"div",24,0),ne("ngbCollapseChange",function(h){return _(a),ie(i.isSearchbarCollapse,h)||(i.isSearchbarCollapse=h),g(h)}),p(27,"div",25)(28,"div",26)(29,"div",27),m(30,Ri,3,1,"p-iconfield")(31,Qi,2,0,"button",21),d()()()(),p(32,"div",24,0),ne("ngbCollapseChange",function(h){return _(a),ie(i.isCollapsed,h)||(i.isCollapsed=h),g(h)}),p(34,"div",25)(35,"div",26),m(36,Ai,1,0,"ng-container",23),d()()(),N(37),d(),p(38,"div",28),m(39,Wi,1,0,"ng-container",23),d()(),p(40,"p-dialog",29),ne("visibleChange",function(h){return _(a),ie(i.isDialogFilterVisible,h)||(i.isDialogFilterVisible=h),g(h)}),m(41,Ni,1,0,"ng-container",23)(42,Xi,1,2,"ng-template",null,1,R)(44,Yi,2,0,"ng-template",null,2,R),d()}if(n&2){let a=ee(43);l(7),o("text",!0),l(2),xe(" ",i.pageTitleComputed()," "),l(),o("ngIf",i.isSearchableInput()),l(),o("ngIf",i.actionButtonTemplate),l(8),xe(" ",i.pageTitle()," "),l(2),W(i.isSearchableInput()?21:-1),l(),W(i.isFilterable()?22:-1),l(2),o("ngTemplateOutlet",i.actionButtonTemplate),l(),te("ngbCollapse",i.isSearchbarCollapse),l(5),W(i.isSearchableInput()?30:-1),l(),W(i.isFilterable()?31:-1),l(),te("ngbCollapse",i.isCollapsed),l(4),o("ngTemplateOutlet",i.actionButtonTemplate),l(3),o("ngTemplateOutlet",i.contentTemplate),l(),A(Y(23,Vi)),o("modal",!0),te("visible",i.isDialogFilterVisible),o("breakpoints",Y(24,Fi))("draggable",!1)("closeIconTemplate",a)("dismissableMask",!0),l(),o("ngTemplateOutlet",i.filterTemplate)}},dependencies:[tt,et,Ue,qe,Ke,Ge,gt,_t,ht,ut,bt,ft,Mt,Pe,xt,ue,re,le,se,vt,yt],styles:["[_nghost-%COMP%]{display:block}.page-title[_ngcontent-%COMP%]{margin-left:5px}.container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100vh}.navbar-collapse.show[_ngcontent-%COMP%]{padding-bottom:auto}.input-group[_ngcontent-%COMP%]{align-items:center}.input-group-text[_ngcontent-%COMP%]{background-color:transparent}input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .3s ease}label[for=check][_ngcontent-%COMP%]{width:25px;height:25px;border-radius:50%;border:1px solid #000;display:flex;justify-content:center;align-items:center}label[for=check][_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transition:.4s cubic-bezier(.68,-.6,.32,1.6);font-size:.6rem}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transform:rotate(180deg)}@media (max-width: 575px){ .p-dialog{height:100vh!important;max-height:100vh!important;border-radius:0!important} .p-dialog-content{overflow:auto;height:calc(100vh - 4rem)}}"],changeDetection:0})}}return t})();export{Tt as a,wt as b,It as c,zt as d,Pe as e,Mt as f,eo as g};
package/chunk-4Y3NYY52.js DELETED
@@ -1,67 +0,0 @@
1
- import{i as ee}from"./chunk-OWI3BWEZ.js";import{Ga as G,Ha as B,Pa as J,S as K,x as d,ya as Z,z as f}from"./chunk-ROKYJX6Q.js";import{k as q,o as W,p as N,t as j,v as O}from"./chunk-RUGQ4OJG.js";import{Aa as k,Ab as Y,Bb as x,Jb as m,Kb as V,Ob as P,Pb as z,Sc as $,Ub as v,Vb as g,Zb as R,_b as I,ca as S,da as E,dc as y,fc as H,gb as u,gc as Q,hc as L,ia as _,ic as b,jc as h,kc as p,qa as s,ra as a,ta as C,ub as F,uc as U,vb as A,yb as X}from"./chunk-VYKJK5YU.js";var te=["content"],re=["container"],le=["xBar"],se=["yBar"],ae=["*"];function ce(i,ne){i&1&&Q(0)}function ue(i,ne){i&1&&R(0)}var he=({dt:i})=>`
2
- .p-scrollpanel-content-container {
3
- overflow: hidden;
4
- width: 100%;
5
- height: 100%;
6
- position: relative;
7
- z-index: 1;
8
- float: left;
9
- }
10
-
11
- .p-scrollpanel-content {
12
- height: calc(100% + calc(2 * ${i("scrollpanel.bar.size")}));
13
- width: calc(100% + calc(2 * ${i("scrollpanel.bar.size")}));
14
- padding-inline: 0 calc(2 * ${i("scrollpanel.bar.size")});
15
- padding-block: 0 calc(2 * ${i("scrollpanel.bar.size")});
16
- position: relative;
17
- overflow: auto;
18
- box-sizing: border-box;
19
- scrollbar-width: none;
20
- }
21
-
22
- .p-scrollpanel-content::-webkit-scrollbar {
23
- display: none;
24
- }
25
-
26
- .p-scrollpanel-bar {
27
- position: relative;
28
- border-radius: ${i("scrollpanel.bar.border.radius")};
29
- z-index: 2;
30
- cursor: pointer;
31
- opacity: 0;
32
- outline-color: transparent;
33
- transition: outline-color ${i("scrollpanel.transition.duration")};
34
- background: ${i("scrollpanel.bar.background")};
35
- border: 0 none;
36
- transition: outline-color ${i("scrollpanel.transition.duration")}, opacity ${i("scrollpanel.transition.duration")};
37
- }
38
-
39
- .p-scrollpanel-bar:focus-visible {
40
- box-shadow: ${i("scrollpanel.bar.focus.ring.shadow")};
41
- outline: ${i("scrollpanel.barfocus.ring.width")} ${i("scrollpanel.bar.focus.ring.style")} ${i("scrollpanel.bar.focus.ring.color")};
42
- outline-offset: ${i("scrollpanel.barfocus.ring.offset")};
43
- }
44
-
45
- .p-scrollpanel-bar-y {
46
- width: ${i("scrollpanel.bar.size")};
47
- top: 0;
48
- }
49
-
50
- .p-scrollpanel-bar-x {
51
- height: ${i("scrollpanel.bar.size")};
52
- bottom: 0;
53
- }
54
-
55
- .p-scrollpanel-hidden {
56
- visibility: hidden;
57
- }
58
-
59
- .p-scrollpanel:hover .p-scrollpanel-bar,
60
- .p-scrollpanel:active .p-scrollpanel-bar {
61
- opacity: 1;
62
- }
63
-
64
- .p-scrollpanel-grabbed {
65
- user-select: none;
66
- }
67
- `,pe={root:"p-scrollpanel p-component",contentContainer:"p-scrollpanel-content-container",content:"p-scrollpanel-content",barX:"p-scrollpanel-bar p-scrollpanel-bar-x",barY:"p-scrollpanel-bar p-scrollpanel-bar-y"},ie=(()=>{class i extends J{name="scrollpanel";theme=he;classes=pe;static \u0275fac=(()=>{let e;return function(t){return(e||(e=C(i)))(t||i)}})();static \u0275prov=S({token:i,factory:i.\u0275fac})}return i})();var de=(()=>{class i extends ee{style;styleClass;step=5;containerViewChild;contentViewChild;xBarViewChild;yBarViewChild;contentTemplate;templates;_contentTemplate;scrollYRatio;scrollXRatio;timeoutFrame=e=>setTimeout(e,0);initialized=!1;lastPageY;lastPageX;isXBarClicked=!1;isYBarClicked=!1;lastScrollLeft=0;lastScrollTop=0;orientation="vertical";timer;contentId;windowResizeListener;contentScrollListener;mouseEnterListener;xBarMouseDownListener;yBarMouseDownListener;documentMouseMoveListener;documentMouseUpListener;_componentStyle=_(ie);zone=_(k);ngOnInit(){super.ngOnInit(),this.contentId=Z("pn_id_")+"_content"}ngAfterViewInit(){super.ngAfterViewInit(),O(this.platformId)&&this.zone.runOutsideAngular(()=>{this.moveBar(),this.moveBar=this.moveBar.bind(this),this.onXBarMouseDown=this.onXBarMouseDown.bind(this),this.onYBarMouseDown=this.onYBarMouseDown.bind(this),this.onDocumentMouseMove=this.onDocumentMouseMove.bind(this),this.onDocumentMouseUp=this.onDocumentMouseUp.bind(this),this.windowResizeListener=this.renderer.listen(window,"resize",this.moveBar),this.contentScrollListener=this.renderer.listen(this.contentViewChild.nativeElement,"scroll",this.moveBar),this.mouseEnterListener=this.renderer.listen(this.contentViewChild.nativeElement,"mouseenter",this.moveBar),this.xBarMouseDownListener=this.renderer.listen(this.xBarViewChild.nativeElement,"mousedown",this.onXBarMouseDown),this.yBarMouseDownListener=this.renderer.listen(this.yBarViewChild.nativeElement,"mousedown",this.onYBarMouseDown),this.calculateContainerHeight(),this.initialized=!0})}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}calculateContainerHeight(){let e=this.containerViewChild.nativeElement,n=this.contentViewChild.nativeElement,t=this.xBarViewChild.nativeElement,o=this.document.defaultView,r=o.getComputedStyle(e),l=o.getComputedStyle(t),c=K(e)-parseInt(l.height,10);r["max-height"]!="none"&&c==0&&(n.offsetHeight+parseInt(l.height,10)>parseInt(r["max-height"],10)?e.style.height=r["max-height"]:e.style.height=n.offsetHeight+parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth)+"px")}moveBar(){let e=this.containerViewChild.nativeElement,n=this.contentViewChild.nativeElement,t=this.xBarViewChild.nativeElement,o=n.scrollWidth,r=n.clientWidth,l=(e.clientHeight-t.clientHeight)*-1;this.scrollXRatio=r/o;let c=this.yBarViewChild.nativeElement,D=n.scrollHeight,T=n.clientHeight,oe=(e.clientWidth-c.clientWidth)*-1;this.scrollYRatio=T/D,this.requestAnimationFrame(()=>{if(this.scrollXRatio>=1)t.setAttribute("data-p-scrollpanel-hidden","true"),d(t,"p-scrollpanel-hidden");else{t.setAttribute("data-p-scrollpanel-hidden","false"),f(t,"p-scrollpanel-hidden");let w=Math.max(this.scrollXRatio*100,10),M=Math.abs(n.scrollLeft*(100-w)/(o-r));t.style.cssText="width:"+w+"%; inset-inline-start:"+M+"%;bottom:"+l+"px;"}if(this.scrollYRatio>=1)c.setAttribute("data-p-scrollpanel-hidden","true"),d(c,"p-scrollpanel-hidden");else{c.setAttribute("data-p-scrollpanel-hidden","false"),f(c,"p-scrollpanel-hidden");let w=Math.max(this.scrollYRatio*100,10),M=n.scrollTop*(100-w)/(D-T);c.style.cssText="height:"+w+"%; top: calc("+M+"% - "+t.clientHeight+"px); inset-inline-end:"+oe+"px;"}}),this.cd.markForCheck()}onScroll(e){this.lastScrollLeft!==e.target.scrollLeft?(this.lastScrollLeft=e.target.scrollLeft,this.orientation="horizontal"):this.lastScrollTop!==e.target.scrollTop&&(this.lastScrollTop=e.target.scrollTop,this.orientation="vertical"),this.moveBar()}onKeyDown(e){if(this.orientation==="vertical")switch(e.code){case"ArrowDown":{this.setTimer("scrollTop",this.step),e.preventDefault();break}case"ArrowUp":{this.setTimer("scrollTop",this.step*-1),e.preventDefault();break}case"ArrowLeft":case"ArrowRight":{e.preventDefault();break}default:break}else if(this.orientation==="horizontal")switch(e.code){case"ArrowRight":{this.setTimer("scrollLeft",this.step),e.preventDefault();break}case"ArrowLeft":{this.setTimer("scrollLeft",this.step*-1),e.preventDefault();break}case"ArrowDown":case"ArrowUp":{e.preventDefault();break}default:break}}onKeyUp(){this.clearTimer()}repeat(e,n){this.contentViewChild.nativeElement[e]+=n,this.moveBar()}setTimer(e,n){this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(e,n)},40)}clearTimer(){this.timer&&clearTimeout(this.timer)}bindDocumentMouseListeners(){this.documentMouseMoveListener||(this.documentMouseMoveListener=e=>{this.onDocumentMouseMove(e)},this.document.addEventListener("mousemove",this.documentMouseMoveListener)),this.documentMouseUpListener||(this.documentMouseUpListener=e=>{this.onDocumentMouseUp(e)},this.document.addEventListener("mouseup",this.documentMouseUpListener))}unbindDocumentMouseListeners(){this.documentMouseMoveListener&&(this.document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null),this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)}onYBarMouseDown(e){this.isYBarClicked=!0,this.yBarViewChild.nativeElement.focus(),this.lastPageY=e.pageY,this.yBarViewChild.nativeElement.setAttribute("data-p-scrollpanel-grabbed","true"),d(this.yBarViewChild.nativeElement,"p-scrollpanel-grabbed"),this.document.body.setAttribute("data-p-scrollpanel-grabbed","true"),d(this.document.body,"p-scrollpanel-grabbed"),this.bindDocumentMouseListeners(),e.preventDefault()}onXBarMouseDown(e){this.isXBarClicked=!0,this.xBarViewChild.nativeElement.focus(),this.lastPageX=e.pageX,this.xBarViewChild.nativeElement.setAttribute("data-p-scrollpanel-grabbed","false"),d(this.xBarViewChild.nativeElement,"p-scrollpanel-grabbed"),this.document.body.setAttribute("data-p-scrollpanel-grabbed","false"),d(this.document.body,"p-scrollpanel-grabbed"),this.bindDocumentMouseListeners(),e.preventDefault()}onDocumentMouseMove(e){this.isXBarClicked?this.onMouseMoveForXBar(e):this.isYBarClicked?this.onMouseMoveForYBar(e):(this.onMouseMoveForXBar(e),this.onMouseMoveForYBar(e))}onMouseMoveForXBar(e){let n=e.pageX-this.lastPageX;this.lastPageX=e.pageX,this.requestAnimationFrame(()=>{this.contentViewChild.nativeElement.scrollLeft+=n/this.scrollXRatio})}onMouseMoveForYBar(e){let n=e.pageY-this.lastPageY;this.lastPageY=e.pageY,this.requestAnimationFrame(()=>{this.contentViewChild.nativeElement.scrollTop+=n/this.scrollYRatio})}scrollTop(e){let n=this.contentViewChild.nativeElement.scrollHeight-this.contentViewChild.nativeElement.clientHeight;e=e>n?n:e>0?e:0,this.contentViewChild.nativeElement.scrollTop=e}onFocus(e){this.xBarViewChild.nativeElement.isSameNode(e.target)?this.orientation="horizontal":this.yBarViewChild.nativeElement.isSameNode(e.target)&&(this.orientation="vertical")}onBlur(){this.orientation==="horizontal"&&(this.orientation="vertical")}onDocumentMouseUp(e){this.yBarViewChild.nativeElement.setAttribute("data-p-scrollpanel-grabbed","false"),f(this.yBarViewChild.nativeElement,"p-scrollpanel-grabbed"),this.xBarViewChild.nativeElement.setAttribute("data-p-scrollpanel-grabbed","false"),f(this.xBarViewChild.nativeElement,"p-scrollpanel-grabbed"),this.document.body.setAttribute("data-p-scrollpanel-grabbed","false"),f(this.document.body,"p-scrollpanel-grabbed"),this.unbindDocumentMouseListeners(),this.isXBarClicked=!1,this.isYBarClicked=!1}requestAnimationFrame(e){(window.requestAnimationFrame||this.timeoutFrame)(e)}unbindListeners(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null),this.contentScrollListener&&(this.contentScrollListener(),this.contentScrollListener=null),this.mouseEnterListener&&(this.mouseEnterListener(),this.mouseEnterListener=null),this.xBarMouseDownListener&&(this.xBarMouseDownListener(),this.xBarMouseDownListener=null),this.yBarMouseDownListener&&(this.yBarMouseDownListener(),this.yBarMouseDownListener=null)}ngOnDestroy(){this.initialized&&this.unbindListeners()}refresh(){this.moveBar()}static \u0275fac=(()=>{let e;return function(t){return(e||(e=C(i)))(t||i)}})();static \u0275cmp=F({type:i,selectors:[["p-scroll-panel"],["p-scrollPanel"],["p-scrollpanel"]],contentQueries:function(n,t,o){if(n&1&&(L(o,te,4),L(o,G,4)),n&2){let r;h(r=p())&&(t.contentTemplate=r.first),h(r=p())&&(t.templates=r)}},viewQuery:function(n,t){if(n&1&&(b(re,5),b(te,5),b(le,5),b(se,5)),n&2){let o;h(o=p())&&(t.containerViewChild=o.first),h(o=p())&&(t.contentViewChild=o.first),h(o=p())&&(t.xBarViewChild=o.first),h(o=p())&&(t.yBarViewChild=o.first)}},inputs:{style:"style",styleClass:"styleClass",step:[2,"step","step",$]},features:[U([ie]),Y,X],ngContentSelectors:ae,decls:11,vars:17,consts:[["container",""],["content",""],["xBar",""],["yBar",""],[3,"ngClass","ngStyle"],[1,"p-scrollpanel-content-container"],[1,"p-scrollpanel-content",3,"mouseenter","scroll"],[4,"ngTemplateOutlet"],["tabindex","0","role","scrollbar",1,"p-scrollpanel-bar","p-scrollpanel-bar-x",3,"mousedown","keydown","keyup","focus","blur"],["tabindex","0","role","scrollbar",1,"p-scrollpanel-bar","p-scrollpanel-bar-y",3,"mousedown","keydown","keyup","focus"]],template:function(n,t){if(n&1){let o=I();H(),v(0,"div",4,0)(2,"div",5)(3,"div",6,1),y("mouseenter",function(){return s(o),a(t.moveBar())})("scroll",function(l){return s(o),a(t.onScroll(l))}),x(5,ce,1,0)(6,ue,1,0,"ng-container",7),g()(),v(7,"div",8,2),y("mousedown",function(l){return s(o),a(t.onXBarMouseDown(l))})("keydown",function(l){return s(o),a(t.onKeyDown(l))})("keyup",function(){return s(o),a(t.onKeyUp())})("focus",function(l){return s(o),a(t.onFocus(l))})("blur",function(){return s(o),a(t.onBlur())}),g(),v(9,"div",9,3),y("mousedown",function(l){return s(o),a(t.onYBarMouseDown(l))})("keydown",function(l){return s(o),a(t.onKeyDown(l))})("keyup",function(){return s(o),a(t.onKeyUp())})("focus",function(l){return s(o),a(t.onFocus(l))}),g()()}n&2&&(P(t.styleClass),V("ngClass","p-scrollpanel p-component")("ngStyle",t.style),m("data-pc-name","scrollpanel"),u(2),m("data-pc-section","wrapper"),u(),m("data-pc-section","content"),u(2),z(!t.contentTemplate&&!t._contentTemplate?5:-1),u(),V("ngTemplateOutlet",t.contentTemplate||t._contentTemplate),u(),m("aria-orientation","horizontal")("aria-valuenow",t.lastScrollLeft)("data-pc-section","barx")("aria-controls",t.contentId),u(2),m("aria-orientation","vertical")("aria-valuenow",t.lastScrollTop)("data-pc-section","bary")("aria-controls",t.contentId))},dependencies:[j,q,N,W,B],encapsulation:2,changeDetection:0})}return i})(),ke=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=A({type:i});static \u0275inj=E({imports:[de,B,B]})}return i})();export{de as a,ke as b};
package/chunk-5RRUIJ5U.js DELETED
@@ -1 +0,0 @@
1
- import{a as c}from"./chunk-XWVLTTMV.js";import{g as E}from"./chunk-33KLXB2L.js";import"./chunk-UTL7D6E7.js";import"./chunk-Y6MJGNH2.js";import"./chunk-OWI3BWEZ.js";import"./chunk-ROKYJX6Q.js";import{a as C}from"./chunk-TOJAZ32N.js";import"./chunk-S35HUXPS.js";import"./chunk-6BFODHTZ.js";import{t as v}from"./chunk-RUGQ4OJG.js";import{Bb as l,Ic as _,Ub as o,Vb as r,_b as u,dc as f,ec as g,ia as i,mc as x,qa as a,ra as m,ub as p,uc as d}from"./chunk-VYKJK5YU.js";import"./chunk-EQDQRRRY.js";function M(e,S){if(e&1){let t=u();o(0,"div",2)(1,"button",3),f("click",function(){a(t);let s=g();return m(s.onMigrate())}),x(2,"Migrate"),r()()}}var V=(()=>{class e{constructor(){this.migrateService=i(c),this.toastr=i(C)}onMigrate(){this.migrateService.migrateExpenseAccount().subscribe(t=>{this.toastr.success(t.message,"Migration Successful")})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=p({type:e,selectors:[["app-expense-account"]],features:[d([c])],decls:3,vars:0,consts:[["content",""],["pageTitle","Expense Account"],[1,"container","my-2"],[1,"btn","btn-primary",3,"click"]],template:function(n,s){n&1&&(o(0,"app-main-panel",1),l(1,M,3,0,"ng-template",null,0,_),r())},dependencies:[E,v],encapsulation:2})}}return e})();export{V as ExpenseAccountComponent};