dealpos 25.50.4 → 25.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{chunk-TZGHU6I5.js → chunk-243EB36Y.js} +2 -2
- package/browser/{chunk-HGSF7LOB.js → chunk-27OXTS7Y.js} +1 -1
- package/browser/{chunk-BRNU2JXC.js → chunk-2MAOKHWO.js} +1 -1
- package/browser/{chunk-KVMBRL53.js → chunk-2WSP3Y6V.js} +1 -1
- package/browser/{chunk-HWPSC7RE.js → chunk-3DL5OLEL.js} +1 -1
- package/browser/{chunk-CFWHBIM3.js → chunk-3DUSH3ND.js} +1 -1
- package/browser/{chunk-NOYC5PIT.js → chunk-3FS7DBBR.js} +1 -1
- package/browser/{chunk-2BO3IFU3.js → chunk-3K2A4Z67.js} +1 -1
- package/browser/chunk-3M5FKEPW.js +1 -0
- package/browser/{chunk-O2VVATBW.js → chunk-3MAZIRSX.js} +1 -1
- package/browser/{chunk-PHH2AA3W.js → chunk-3Q5WV3VF.js} +1 -1
- package/browser/{chunk-ZMJLTU5O.js → chunk-3XH2STFE.js} +1 -1
- package/browser/{chunk-26YFRPR2.js → chunk-3ZH3XK5V.js} +1 -1
- package/browser/{chunk-MLBTUOHX.js → chunk-4467AQLM.js} +1 -1
- package/browser/{chunk-2MPRVJXH.js → chunk-4HJHXVYF.js} +1 -1
- package/browser/{chunk-S7FOJJP2.js → chunk-4HLKKTIV.js} +1 -1
- package/browser/{chunk-MNJSQKLX.js → chunk-4L4MSVOU.js} +1 -1
- package/browser/{chunk-NFOJONR6.js → chunk-4OP4E5Q4.js} +1 -1
- package/browser/{chunk-OP66LK4H.js → chunk-4PDGY62B.js} +1 -1
- package/browser/chunk-54SK3PVO.js +1 -0
- package/browser/{chunk-3NPCLTJT.js → chunk-55Z32OLJ.js} +1 -1
- package/browser/{chunk-TXJJUZ26.js → chunk-5PDQ5UNO.js} +1 -1
- package/browser/{chunk-FW4OCSXV.js → chunk-5RFSSCAR.js} +1 -1
- package/browser/{chunk-36GWLMZX.js → chunk-5RYL4EJ2.js} +1 -1
- package/browser/{chunk-B36P4U32.js → chunk-5VYU6SHE.js} +1 -1
- package/browser/{chunk-KZG64H5Q.js → chunk-5XTMPVSF.js} +1 -1
- package/browser/chunk-5YBSS4EL.js +21 -0
- package/browser/{chunk-DC3TCY6D.js → chunk-6G7LPAEQ.js} +1 -1
- package/browser/{chunk-7F4QLFQQ.js → chunk-6I2YT4SH.js} +1 -1
- package/browser/{chunk-RQFU4YVM.js → chunk-6OULAYGH.js} +1 -1
- package/browser/{chunk-QMOYHBVM.js → chunk-6VYP636I.js} +1 -1
- package/browser/{chunk-OXWQ7ZZS.js → chunk-6WMEGLEF.js} +1 -1
- package/browser/{chunk-D7DUI5NF.js → chunk-6XNP4ZXB.js} +1 -1
- package/browser/{chunk-YSRJI33K.js → chunk-7264OPXA.js} +1 -1
- package/browser/chunk-735YXRQB.js +1 -0
- package/browser/{chunk-OYGBAHVX.js → chunk-73ADHCC2.js} +1 -1
- package/browser/{chunk-QZZ2NRA3.js → chunk-75FYOZH7.js} +1 -1
- package/browser/{chunk-CCD6EYWH.js → chunk-76CUXDTU.js} +1 -1
- package/browser/{chunk-DWZ5JTI2.js → chunk-7MRUPBXU.js} +1 -1
- package/browser/{chunk-QVKXQ4BK.js → chunk-7OQXKVTC.js} +16 -16
- package/browser/{chunk-KZFNI67M.js → chunk-7YYWBCWJ.js} +1 -1
- package/browser/{chunk-QI7I46MV.js → chunk-A7C35XPM.js} +1 -1
- package/browser/{chunk-W3PBP3KZ.js → chunk-AB7O2ERM.js} +1 -1
- package/browser/{chunk-ILTEBIEO.js → chunk-ABOSNV75.js} +1 -1
- package/browser/{chunk-AQW4VS3Y.js → chunk-ACXQ2FOW.js} +1 -1
- package/browser/{chunk-WMZLH4YK.js → chunk-AHTR7XKG.js} +1 -1
- package/browser/{chunk-XTCEZONP.js → chunk-AJAUI7BA.js} +1 -1
- package/browser/{chunk-6C2HPRJZ.js → chunk-AQKJ3LSN.js} +1 -1
- package/browser/{chunk-RESN2GAB.js → chunk-ARAUAPQU.js} +1 -1
- package/browser/{chunk-3HZIDGPN.js → chunk-AXCTEREY.js} +1 -1
- package/browser/{chunk-SIQZO2WM.js → chunk-B4TZQBTN.js} +1 -1
- package/browser/{chunk-BT7NN7PT.js → chunk-BAXZ74LK.js} +1 -1
- package/browser/{chunk-AKRUT4XG.js → chunk-BCGNQKO5.js} +2 -2
- package/browser/{chunk-KB4247J2.js → chunk-BHQZXJKQ.js} +1 -1
- package/browser/{chunk-MHD5SGI2.js → chunk-BRQVQGLJ.js} +1 -1
- package/browser/{chunk-IBGFKSEC.js → chunk-BWVEZ3MZ.js} +1 -1
- package/browser/{chunk-RSNEHVIM.js → chunk-C22G4JGX.js} +1 -1
- package/browser/{chunk-WWWSD2MX.js → chunk-CAGFIP4G.js} +1 -1
- package/browser/{chunk-4BXCIT62.js → chunk-CCIHCGP5.js} +1 -1
- package/browser/{chunk-FQZELIHB.js → chunk-CERE2LBX.js} +1 -1
- package/browser/{chunk-MLEUJB3A.js → chunk-CJ4ET4PG.js} +1 -1
- package/browser/{chunk-O4RWYZYV.js → chunk-CR5CHTI7.js} +1 -1
- package/browser/{chunk-FAED643P.js → chunk-CVN6ZXXJ.js} +1 -1
- package/browser/{chunk-BYTV42NJ.js → chunk-D6HBPIFD.js} +1 -1
- package/browser/chunk-DAH4EEQV.js +149 -0
- package/browser/{chunk-E4VY3BC3.js → chunk-DBRZ7F2Z.js} +1 -1
- package/browser/{chunk-TYE7PH3R.js → chunk-DIWYKKLA.js} +1 -1
- package/browser/{chunk-2LKYW2KM.js → chunk-DNY4JYTC.js} +1 -1
- package/browser/{chunk-GWKBJZYT.js → chunk-DODZXMH2.js} +1 -1
- package/browser/{chunk-GTPQNPNO.js → chunk-DSXOFWO7.js} +1 -1
- package/browser/{chunk-VVYRPW2Y.js → chunk-E4AXPU4U.js} +1 -1
- package/browser/{chunk-Y7QIF2WS.js → chunk-E5TUY2II.js} +1 -1
- package/browser/{chunk-R2GUMKAU.js → chunk-E634BI4W.js} +1 -1
- package/browser/{chunk-DDWKAORH.js → chunk-EFDMYOLZ.js} +2 -2
- package/browser/{chunk-C2NCV7VC.js → chunk-EMH25BNO.js} +1 -1
- package/browser/{chunk-NVOIIOWN.js → chunk-EMHEIQNS.js} +1 -1
- package/browser/{chunk-TCUCRGQD.js → chunk-EXFA6B6P.js} +1 -1
- package/browser/{chunk-B5IABJO5.js → chunk-EZNBK62W.js} +3 -3
- package/browser/chunk-F3HDP5CA.js +1 -0
- package/browser/{chunk-IFIH2CE2.js → chunk-F6LSMAF4.js} +1 -1
- package/browser/{chunk-BKTC6IB2.js → chunk-FEHMPX43.js} +1 -1
- package/browser/{chunk-ESDXMFGP.js → chunk-FINTUPRM.js} +1 -1
- package/browser/{chunk-D4FCXEV4.js → chunk-FM7BHGBW.js} +1 -1
- package/browser/{chunk-VZUPDSBH.js → chunk-FMEMQRBJ.js} +1 -1
- package/browser/chunk-FVFTYYCC.js +4 -0
- package/browser/{chunk-A565EUMD.js → chunk-FVNQ7SQY.js} +1 -1
- package/browser/{chunk-X44CHNHS.js → chunk-FZQE7J2C.js} +1 -1
- package/browser/{chunk-HSIXOQO7.js → chunk-G7L6AVIG.js} +1 -1
- package/browser/{chunk-23VPQAH7.js → chunk-GE5I6JYL.js} +1 -1
- package/browser/{chunk-DTVCBHPA.js → chunk-GFSJZHCB.js} +1 -1
- package/browser/{chunk-QPAUI5EG.js → chunk-GXAF3JUO.js} +1 -1
- package/browser/chunk-GZ6OVEDL.js +380 -0
- package/browser/{chunk-7AZJVR4Y.js → chunk-H6RHVRGW.js} +1 -1
- package/browser/{chunk-4XJWQAS6.js → chunk-HAXEFEKW.js} +1 -1
- package/browser/{chunk-7Q672H4P.js → chunk-HLCZLXPS.js} +1 -1
- package/browser/{chunk-FPRM3L6U.js → chunk-HYCKETL4.js} +1 -1
- package/browser/{chunk-4OEDK7YE.js → chunk-IDJEXQ5I.js} +1 -1
- package/browser/{chunk-XMZLK7EB.js → chunk-IDOUPEKS.js} +1 -1
- package/browser/{chunk-H74MLHRV.js → chunk-IET73YWA.js} +1 -1
- package/browser/{chunk-VKWSK452.js → chunk-IEX7S7T7.js} +1 -1
- package/browser/{chunk-AXUSK4R7.js → chunk-IF6EZMOM.js} +3 -3
- package/browser/chunk-IKSROKD5.css +1 -0
- package/browser/chunk-ISZRZRCT.js +3 -0
- package/browser/{chunk-WM2DGNWH.js → chunk-ITTFNOLB.js} +1 -1
- package/browser/{chunk-JXXYVM7W.js → chunk-IZF7S2RF.js} +1 -1
- package/browser/{chunk-C3STDN73.js → chunk-JEZMYDZR.js} +1 -1
- package/browser/{chunk-QHXZVGLB.js → chunk-JHBK7LOJ.js} +7 -7
- package/browser/{chunk-T4MU3R7Y.js → chunk-JIRDK6TJ.js} +1 -1
- package/browser/chunk-JOLAOKHD.js +21 -0
- package/browser/{chunk-6WATOQG3.js → chunk-JQDS4BXR.js} +1 -1
- package/browser/{chunk-J6M7UWVR.js → chunk-JT4M6AIA.js} +1 -1
- package/browser/{chunk-USD2ALDX.js → chunk-K355XAWO.js} +1 -1
- package/browser/{chunk-WFQIMZGL.js → chunk-KBLVOO4J.js} +1 -1
- package/browser/{chunk-VDZXLRMK.js → chunk-KDISSQKT.js} +1 -1
- package/browser/{chunk-XFGPCEKV.js → chunk-KFC3V2GW.js} +1 -1
- package/browser/{chunk-FHB5KLDR.js → chunk-KFOEUAQT.js} +1 -1
- package/browser/{chunk-3TWVKV7J.js → chunk-KHB5Q7IN.js} +1 -1
- package/browser/{chunk-W2HVYAUB.js → chunk-KIYO2YC2.js} +1 -1
- package/browser/{chunk-VX7AVGUY.js → chunk-KKM7I2BT.js} +1 -1
- package/browser/chunk-KOZYTEZI.js +1 -0
- package/browser/{chunk-KUG5VVV4.js → chunk-KRBFME4B.js} +1 -1
- package/browser/chunk-L3U6V3BF.js +5 -0
- package/browser/{chunk-45E6XCHN.js → chunk-LB5UXGDG.js} +1 -1
- package/browser/{chunk-NM3IQUNN.js → chunk-LGD5WUG2.js} +1 -1
- package/browser/{chunk-X5XDXZ47.js → chunk-LHTHIOAY.js} +1 -1
- package/browser/{chunk-M4EQZHIE.js → chunk-LKVUZZ5J.js} +1 -1
- package/browser/{chunk-4ZITX27A.js → chunk-LMUFX64W.js} +1 -1
- package/browser/{chunk-DWYMJ5NO.js → chunk-M4FNFZNJ.js} +1 -1
- package/browser/{chunk-D55YCZRM.js → chunk-MEL6Z4NI.js} +1 -1
- package/browser/{chunk-IA5RDP6C.js → chunk-MHPLYS7O.js} +1 -1
- package/browser/{chunk-45Z7RKI2.js → chunk-MJCLLJBB.js} +2 -2
- package/browser/{chunk-53VS5DA7.js → chunk-MM4IJDHI.js} +1 -1
- package/browser/{chunk-LNDHYAFW.js → chunk-MWGICBEB.js} +1 -1
- package/browser/{chunk-UEN2SKB2.js → chunk-MZDVGN2B.js} +1 -1
- package/browser/{chunk-ZTD4APMR.js → chunk-N5RDRDT7.js} +1 -1
- package/browser/{chunk-7P3L3ODB.js → chunk-N7OS7SFI.js} +1 -1
- package/browser/{chunk-RACYAEOL.js → chunk-NFWYR26Q.js} +1 -1
- package/browser/{chunk-S27D5MBU.js → chunk-NJ4KEQKH.js} +1 -1
- package/browser/{chunk-72RZBOHX.js → chunk-NS6IC2PT.js} +1 -1
- package/browser/{chunk-QIQOKWUA.js → chunk-NYMHQHNP.js} +1 -1
- package/browser/{chunk-BNNKSBQ6.js → chunk-O22HDFH6.js} +1 -1
- package/browser/{chunk-L7NMU3EE.js → chunk-O7SYLGUB.js} +2 -2
- package/browser/{chunk-7YUPYNWQ.js → chunk-OB6KFXD6.js} +2 -2
- package/browser/{chunk-5ZD6KTDH.js → chunk-ODYEJFNJ.js} +1 -1
- package/browser/{chunk-EHXF34TI.js → chunk-OEOAWKXA.js} +1 -1
- package/browser/chunk-OF3BZHBQ.js +1 -0
- package/browser/{chunk-VGTN2T5K.js → chunk-OFWJY5WB.js} +1 -1
- package/browser/{chunk-SXYJ7APZ.js → chunk-ORTAUDOX.js} +1 -1
- package/browser/{chunk-TSH564VU.js → chunk-OUJXEQKL.js} +1 -1
- package/browser/{chunk-PRVQ3NAP.js → chunk-P3TFDLWR.js} +2 -2
- package/browser/{chunk-COA4UL2V.js → chunk-P7KMHPVN.js} +1 -1
- package/browser/{chunk-7JULWG2B.js → chunk-PCRUTQ3T.js} +1 -1
- package/browser/{chunk-T7XU5W5A.js → chunk-PNFJVQUF.js} +1 -1
- package/browser/{chunk-WKM2QOAU.js → chunk-PSFQWURP.js} +1 -1
- package/browser/{chunk-Q6APDC4Z.js → chunk-PSLGWGNP.js} +1 -1
- package/browser/{chunk-ERE6AE7H.js → chunk-Q22HR52N.js} +1 -1
- package/browser/{chunk-WJXKZZS2.js → chunk-QEL7CGCP.js} +1 -1
- package/browser/{chunk-M5R2CYXH.js → chunk-QHGZQ2IG.js} +1 -1
- package/browser/{chunk-2CL5FM3P.js → chunk-QJ3CWKQT.js} +1 -1
- package/browser/{chunk-PS7477UG.js → chunk-QLSGGWTW.js} +1 -1
- package/browser/{chunk-TEGIL5RZ.js → chunk-QWLNF7VL.js} +1 -1
- package/browser/chunk-R3HIQ5AX.js +1 -0
- package/browser/chunk-R6DRKF4V.js +136 -0
- package/browser/{chunk-TOPX3JFU.js → chunk-RDASAJA5.js} +1 -1
- package/browser/{chunk-FU2ZGMX4.js → chunk-RIZ4YVMH.js} +1 -1
- package/browser/chunk-RJYFOAYX.js +1 -0
- package/browser/{chunk-QR7VN5GL.js → chunk-RPBIQ4ME.js} +1 -1
- package/browser/{chunk-PWTUEIUR.js → chunk-RT7OZJYZ.js} +1 -1
- package/browser/{chunk-EQ4O2B6P.js → chunk-RWW55Z7V.js} +1 -1
- package/browser/{chunk-ZNBXH3TQ.js → chunk-RWZGTR3S.js} +1 -1
- package/browser/{chunk-IZLEZJ6U.js → chunk-SCAKRK4B.js} +1 -1
- package/browser/{chunk-THT6CY5E.js → chunk-SCGKVOSE.js} +1 -1
- package/browser/chunk-SMEVWRVE.js +1 -0
- package/browser/{chunk-RTQ4SJP2.js → chunk-SQAFHZEO.js} +1 -1
- package/browser/{chunk-IKKPP4JS.js → chunk-SWF6XISV.js} +1 -1
- package/browser/{chunk-VVWAYTKN.js → chunk-SWVQK6HM.js} +1 -1
- package/browser/{chunk-7DAPNQYU.js → chunk-SXRKKO75.js} +1 -1
- package/browser/{chunk-WBWMUDOK.js → chunk-T43ISYOP.js} +1 -1
- package/browser/{chunk-LGOSIAUC.js → chunk-TANYEHMZ.js} +1 -1
- package/browser/{chunk-PQ6W7KXC.js → chunk-TDHDQRJN.js} +1 -1
- package/browser/{chunk-YWOH2LVD.js → chunk-TKHSLAZH.js} +14 -14
- package/browser/{chunk-6P2ASCNY.js → chunk-TP6ZUC53.js} +1 -1
- package/browser/{chunk-ZKOARDC2.js → chunk-TPJWIEYA.js} +1 -1
- package/browser/{chunk-L6PKNRWO.js → chunk-TRK4LJDS.js} +1 -1
- package/browser/{chunk-QTAF2OHJ.js → chunk-TYVVSM36.js} +1 -1
- package/browser/{chunk-32QBWLTN.js → chunk-U4MC22BG.js} +1 -1
- package/browser/{chunk-QJUU75N6.js → chunk-U56LRRCE.js} +1 -1
- package/browser/{chunk-BAEWHHDC.js → chunk-U6FO6TSU.js} +1 -1
- package/browser/{chunk-7NZLZJYF.js → chunk-UFVN6MTY.js} +1 -1
- package/browser/{chunk-HXXX3USD.js → chunk-UI6U53UY.js} +9 -9
- package/browser/{chunk-B7AC4RMR.js → chunk-UIVJ2JQT.js} +1 -1
- package/browser/chunk-UMFN4AJF.js +1 -0
- package/browser/{chunk-QG4B6W6L.js → chunk-UPV6ZIB5.js} +1 -1
- package/browser/{chunk-ZTU3TIGR.js → chunk-UPZZHMG6.js} +1 -1
- package/browser/{chunk-MZITJQAC.js → chunk-UX4QS4XQ.js} +1 -1
- package/browser/{chunk-PPVORSJQ.js → chunk-V4LDEQZZ.js} +1 -1
- package/browser/chunk-V4V55JMO.js +1 -0
- package/browser/{chunk-JBS5UYZC.js → chunk-V6D6TV7B.js} +1 -1
- package/browser/{chunk-KYXB2UQI.js → chunk-VEQJR5VL.js} +1 -1
- package/browser/{chunk-S2B6A2P3.js → chunk-VG3B7TDX.js} +1 -1
- package/browser/{chunk-5USF4MRW.js → chunk-VGHEGWAM.js} +1 -1
- package/browser/{chunk-7BQKGIZM.js → chunk-VL7THV5U.js} +1 -1
- package/browser/chunk-VRKJC53Z.js +10 -0
- package/browser/{chunk-EJWFW6Y5.js → chunk-VS6CGXUJ.js} +1 -1
- package/browser/{chunk-54UGZEAQ.js → chunk-WDUPZI6X.js} +1 -1
- package/browser/{chunk-4CPRMZL6.js → chunk-WFVMID6Q.js} +1 -1
- package/browser/{chunk-Z6X5UYRZ.js → chunk-WFWUOLEG.js} +1 -1
- package/browser/{chunk-ARYZHNFV.js → chunk-WGOUSPMF.js} +1 -1
- package/browser/{chunk-3CSCTT6I.js → chunk-WOAKN4QZ.js} +1 -1
- package/browser/{chunk-GDNVMJOU.js → chunk-WSFSSHIX.js} +1 -1
- package/browser/{chunk-ZZBF7AOW.js → chunk-WSWTWRKJ.js} +1 -1
- package/browser/chunk-WTIIZBRC.js +22 -0
- package/browser/{chunk-5UMDVS4U.js → chunk-XCSDEGWL.js} +1 -1
- package/browser/{chunk-FIOEXMKH.js → chunk-XDFUPYND.js} +1 -1
- package/browser/{chunk-COGKLKKE.js → chunk-XEPEGKS2.js} +1 -1
- package/browser/{chunk-VBIZF245.js → chunk-XFU3EMCG.js} +1 -1
- package/browser/{chunk-3NPP3FHR.js → chunk-XGXXFTMA.js} +1 -1
- package/browser/{chunk-EHEOIROM.js → chunk-XMPWQ5UV.js} +1 -1
- package/browser/chunk-XPM7J5AN.js +1 -0
- package/browser/{chunk-RL24GQSJ.js → chunk-XW7VJLDW.js} +1 -1
- package/browser/{chunk-4W3WYXI2.js → chunk-XWYCNPUZ.js} +1 -1
- package/browser/{chunk-PJ3DTEH2.js → chunk-Y4MERAVA.js} +1 -1
- package/browser/chunk-Y6SAXN2J.js +1 -0
- package/browser/{chunk-363IDTE3.js → chunk-Y7ZKGM5U.js} +1 -1
- package/browser/{chunk-SIDUUVNA.js → chunk-YDL2MTWE.js} +1 -1
- package/browser/{chunk-LOWQOYUL.js → chunk-YLXBICIW.js} +1 -1
- package/browser/{chunk-JTZHHVPI.js → chunk-YMKZUNJH.js} +1 -1
- package/browser/{chunk-VXPORXGI.js → chunk-YQ5PAXUW.js} +1 -1
- package/browser/{chunk-C5N3GKEC.js → chunk-Z4WEJMVU.js} +1 -1
- package/browser/{chunk-IISHJIET.js → chunk-Z5BFBI3D.js} +1 -1
- package/browser/chunk-Z5HEFUTD.js +1 -0
- package/browser/{chunk-SLX34TWD.js → chunk-Z76C52NM.js} +1 -1
- package/browser/{chunk-A2EVMYAR.js → chunk-ZBHPM2JC.js} +1 -1
- package/browser/{chunk-LGINK7BD.js → chunk-ZOYWCF3Q.js} +1 -1
- package/browser/{chunk-VZBXT2TV.js → chunk-ZRC22L45.js} +1 -1
- package/browser/{chunk-LUKLFBAY.js → chunk-ZRJU5XBX.js} +1 -1
- package/browser/{chunk-BQUL7SGN.js → chunk-ZV4K4PP6.js} +3 -3
- package/browser/chunk-ZVWC6CBP.js +1 -0
- package/browser/index.html +2 -2
- package/browser/main-4BFS7RVV.css +1 -0
- package/browser/main-6NLSRECT.js +3 -0
- package/browser/{styles-URIEURGQ.css → styles-LFDMQGKE.css} +1 -1
- package/package.json +1 -1
- package/browser/chunk-2VE2WNSA.js +0 -21
- package/browser/chunk-4HEJOI53.js +0 -1
- package/browser/chunk-4SRWAPD4.js +0 -1
- package/browser/chunk-65JSM2XC.js +0 -1
- package/browser/chunk-7SRLQQ53.js +0 -22
- package/browser/chunk-CQLZHUT4.js +0 -9
- package/browser/chunk-DI2O7SU5.js +0 -4
- package/browser/chunk-DOCQN2VL.js +0 -1
- package/browser/chunk-DSNA2CBA.js +0 -1
- package/browser/chunk-DTX2BFBV.js +0 -1
- package/browser/chunk-FBNETY2W.js +0 -1
- package/browser/chunk-GRGZQFG6.js +0 -380
- package/browser/chunk-IEVGW2RT.js +0 -5
- package/browser/chunk-JB7Y2263.js +0 -1
- package/browser/chunk-KWWIO4GT.js +0 -1
- package/browser/chunk-M3DKYPGC.js +0 -1
- package/browser/chunk-NBMH5YL2.css +0 -1
- package/browser/chunk-NIDHEU4E.js +0 -3
- package/browser/chunk-Q7YUJXQP.js +0 -1
- package/browser/chunk-SLYXMED6.js +0 -1
- package/browser/chunk-SVVH6PSD.js +0 -137
- package/browser/chunk-V432I4ZE.js +0 -21
- package/browser/chunk-VLISY5AT.js +0 -149
- package/browser/chunk-VM4K4MNV.js +0 -1
- package/browser/chunk-XY3FCZN2.js +0 -1
- package/browser/chunk-ZCQDZKFQ.js +0 -1
- package/browser/main-4WYCY6M5.js +0 -3
- package/browser/main-WPNH2WGQ.css +0 -1
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import{a as Vt,b as Ot}from"./chunk-TRK4LJDS.js";import{b as It}from"./chunk-B4TZQBTN.js";import{a as St,b as wt,c as Et,d as kt,e as Dt}from"./chunk-OB6KFXD6.js";import{a as Ct}from"./chunk-ZOYWCF3Q.js";import{a as we,b as Qe}from"./chunk-GXAF3JUO.js";import{a as Nt}from"./chunk-LB5UXGDG.js";import{a as Mt}from"./chunk-YDL2MTWE.js";import{c as xt}from"./chunk-RWW55Z7V.js";import{b as Tt,c as vt}from"./chunk-V6D6TV7B.js";import{a as ot}from"./chunk-UIVJ2JQT.js";import{a as Ie,b as mt,c as yt,d as bt}from"./chunk-4HLKKTIV.js";import{b as ut,c as pe,d as ze,j as ht,k as O,l as _t}from"./chunk-RIZ4YVMH.js";import{A as st,F as ct,H as dt,V as He,W as pt,a as Se,ga as Re,m as lt,oa as ee,pa as P,qa as gt,ra as ft,v as Pe,w as at,x as Z,xa as Ne,z as de}from"./chunk-Z76C52NM.js";import{F as ce,a as rt,h as ve,o as xe}from"./chunk-7MRUPBXU.js";import{a as Te}from"./chunk-WUV22SZ4.js";import{s as Ce}from"./chunk-TANYEHMZ.js";import{$b as h,Ab as Q,Ac as A,Bc as $,Ca as me,Cb as U,Cc as Xe,Hb as a,Hc as Ze,Ia as G,Ib as m,Ic as et,Jb as y,Kb as I,Nc as k,Ob as w,Pb as E,Qb as N,Qc as F,Rb as V,Ub as C,Uc as tt,Vc as le,Wb as s,Xa as c,Y as Oe,Ya as x,Zb as v,Zc as Ae,_b as D,ac as _,bd as T,ca as Fe,cd as q,d as $e,eb as ie,ec as Y,fa as qe,fc as Le,ga as Be,hc as J,ib as z,ic as f,id as nt,jb as he,jc as L,ka as ge,kc as ye,kd as ae,la as W,lc as X,ld as se,ma as fe,mb as oe,na as ne,nb as _e,o as Ve,oa as je,ob as d,oc as Ge,od as be,pa as M,pc as Ye,pd as j,qc as Je,qd as it,ta as u,ua as g,va as B,wb as S,xb as Ke,xd as K,yb as We,yc as re}from"./chunk-L3U6V3BF.js";import{a as te}from"./chunk-SNAKHGZS.js";var Ft=`
|
|
2
|
+
.p-tree {
|
|
3
|
+
display: block;
|
|
4
|
+
background: dt('tree.background');
|
|
5
|
+
color: dt('tree.color');
|
|
6
|
+
padding: dt('tree.padding');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.p-tree-root-children,
|
|
10
|
+
.p-tree-node-children {
|
|
11
|
+
display: flex;
|
|
12
|
+
list-style-type: none;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
margin: 0;
|
|
15
|
+
gap: dt('tree.gap');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.p-tree-root-children {
|
|
19
|
+
padding: 0;
|
|
20
|
+
padding-block-start: dt('tree.gap');
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.p-tree-node-children {
|
|
24
|
+
padding: 0;
|
|
25
|
+
padding-block-start: dt('tree.gap');
|
|
26
|
+
padding-inline-start: dt('tree.indent');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-tree-node {
|
|
30
|
+
padding: 0;
|
|
31
|
+
outline: 0 none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-tree-node-content {
|
|
35
|
+
border-radius: dt('tree.node.border.radius');
|
|
36
|
+
padding: dt('tree.node.padding');
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
outline-color: transparent;
|
|
40
|
+
color: dt('tree.node.color');
|
|
41
|
+
gap: dt('tree.node.gap');
|
|
42
|
+
transition:
|
|
43
|
+
background dt('tree.transition.duration'),
|
|
44
|
+
color dt('tree.transition.duration'),
|
|
45
|
+
outline-color dt('tree.transition.duration'),
|
|
46
|
+
box-shadow dt('tree.transition.duration');
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-tree-node-content[data-p-dragging] {
|
|
50
|
+
outline: 1px dashed dt('primary.color');
|
|
51
|
+
outline-offset: -1px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-tree-node-content[data-pc-section="drag-image"] {
|
|
55
|
+
background: dt('tree.background');
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-tree-node:focus-visible > .p-tree-node-content {
|
|
59
|
+
box-shadow: dt('tree.node.focus.ring.shadow');
|
|
60
|
+
outline: dt('tree.node.focus.ring.width') dt('tree.node.focus.ring.style') dt('tree.node.focus.ring.color');
|
|
61
|
+
outline-offset: dt('tree.node.focus.ring.offset');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.p-tree-node-content.p-tree-node-selectable:not(.p-tree-node-selected):hover {
|
|
65
|
+
background: dt('tree.node.hover.background');
|
|
66
|
+
color: dt('tree.node.hover.color');
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.p-tree-node-content.p-tree-node-selectable:not(.p-tree-node-selected):hover .p-tree-node-icon {
|
|
70
|
+
color: dt('tree.node.icon.hover.color');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.p-tree-node-content.p-tree-node-selected {
|
|
74
|
+
background: dt('tree.node.selected.background');
|
|
75
|
+
color: dt('tree.node.selected.color');
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-tree-node-content.p-tree-node-selected .p-tree-node-toggle-button {
|
|
79
|
+
color: inherit;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.p-tree-node-content.p-tree-node-dragover {
|
|
83
|
+
background: dt('tree.node.hover.background');
|
|
84
|
+
color: dt('tree.node.hover.color');
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.p-tree-node-drop-point {
|
|
88
|
+
outline: 1px solid dt('primary.color');
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.p-tree-node-toggle-button {
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
user-select: none;
|
|
94
|
+
display: inline-flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
position: relative;
|
|
99
|
+
flex-shrink: 0;
|
|
100
|
+
width: dt('tree.node.toggle.button.size');
|
|
101
|
+
height: dt('tree.node.toggle.button.size');
|
|
102
|
+
color: dt('tree.node.toggle.button.color');
|
|
103
|
+
border: 0 none;
|
|
104
|
+
background: transparent;
|
|
105
|
+
border-radius: dt('tree.node.toggle.button.border.radius');
|
|
106
|
+
transition:
|
|
107
|
+
background dt('tree.transition.duration'),
|
|
108
|
+
color dt('tree.transition.duration'),
|
|
109
|
+
border-color dt('tree.transition.duration'),
|
|
110
|
+
outline-color dt('tree.transition.duration'),
|
|
111
|
+
box-shadow dt('tree.transition.duration');
|
|
112
|
+
outline-color: transparent;
|
|
113
|
+
padding: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.p-tree-node-toggle-button:enabled:hover {
|
|
117
|
+
background: dt('tree.node.toggle.button.hover.background');
|
|
118
|
+
color: dt('tree.node.toggle.button.hover.color');
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.p-tree-node-content.p-tree-node-selected .p-tree-node-toggle-button:hover {
|
|
122
|
+
background: dt('tree.node.toggle.button.selected.hover.background');
|
|
123
|
+
color: dt('tree.node.toggle.button.selected.hover.color');
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.p-tree-root {
|
|
127
|
+
overflow: auto;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.p-tree-node-selectable {
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
user-select: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.p-tree-node-leaf > .p-tree-node-content .p-tree-node-toggle-button {
|
|
136
|
+
visibility: hidden;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.p-tree-node-icon {
|
|
140
|
+
color: dt('tree.node.icon.color');
|
|
141
|
+
transition: color dt('tree.transition.duration');
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.p-tree-node-content.p-tree-node-selected .p-tree-node-icon {
|
|
145
|
+
color: dt('tree.node.icon.selected.color');
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.p-tree-filter {
|
|
149
|
+
margin: dt('tree.filter.margin');
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.p-tree-filter-input {
|
|
153
|
+
width: 100%;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.p-tree-loading {
|
|
157
|
+
position: relative;
|
|
158
|
+
height: 100%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.p-tree-loading-icon {
|
|
162
|
+
font-size: dt('tree.loading.icon.size');
|
|
163
|
+
width: dt('tree.loading.icon.size');
|
|
164
|
+
height: dt('tree.loading.icon.size');
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.p-tree .p-tree-mask {
|
|
168
|
+
position: absolute;
|
|
169
|
+
z-index: 1;
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
justify-content: center;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.p-tree-flex-scrollable {
|
|
176
|
+
display: flex;
|
|
177
|
+
flex: 1;
|
|
178
|
+
height: 100%;
|
|
179
|
+
flex-direction: column;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.p-tree-flex-scrollable .p-tree-root {
|
|
183
|
+
flex: 1;
|
|
184
|
+
}
|
|
185
|
+
`;var Ht=t=>({height:t}),Jt=(t,r)=>({$implicit:t,loading:r}),Xt=(t,r,e)=>({$implicit:t,partialSelected:r,class:e}),Rt=t=>({$implicit:t});function Zt(t,r){if(t&1&&I(0,"div",9),t&2){let e=s(2);f(e.cx("dropPoint")),a("pBind",e.getPTOptions("dropPoint")),S("aria-hidden",!0)}}function en(t,r){if(t&1&&(B(),I(0,"svg",13)),t&2){let e=s(4);f(e.cx("nodeToggleIcon")),a("pBind",e.getPTOptions("nodeToggleIcon"))}}function tn(t,r){if(t&1&&(B(),I(0,"svg",14)),t&2){let e=s(4);f(e.cx("nodeToggleIcon")),a("pBind",e.getPTOptions("nodeToggleIcon"))}}function nn(t,r){if(t&1&&(w(0),d(1,en,1,3,"svg",11)(2,tn,1,3,"svg",12),E()),t&2){let e=s(3);c(),a("ngIf",!e.node.expanded),c(),a("ngIf",e.node.expanded)}}function on(t,r){if(t&1&&(w(0),B(),I(1,"svg",15),E()),t&2){let e=s(3);c(),f(e.cx("nodeToggleIcon")),a("pBind",e.getPTOptions("nodeToggleIcon"))}}function rn(t,r){if(t&1&&(w(0),d(1,nn,3,2,"ng-container",6)(2,on,2,3,"ng-container",6),E()),t&2){let e=s(2);c(),a("ngIf",!e.node.loading),c(),a("ngIf",e.loadingMode==="icon"&&e.node.loading)}}function ln(t,r){}function an(t,r){t&1&&d(0,ln,0,0,"ng-template")}function sn(t,r){if(t&1&&(m(0,"span",9),d(1,an,1,0,null,16),y()),t&2){let e=s(2);f(e.cx("nodeToggleIcon")),a("pBind",e.getPTOptions("nodeToggleIcon")),c(),a("ngTemplateOutlet",e.tree.togglerIconTemplate||e.tree._togglerIconTemplate)("ngTemplateOutletContext",$(5,Jt,e.node.expanded,e.node.loading))}}function cn(t,r){}function dn(t,r){t&1&&d(0,cn,0,0,"ng-template")}function pn(t,r){if(t&1&&d(0,dn,1,0,null,16),t&2){let e=s(4);a("ngTemplateOutlet",e.tree.checkboxIconTemplate||e.tree._checkboxIconTemplate)("ngTemplateOutletContext",Xe(2,Xt,e.isSelected(),e.node.partialSelected,e.cx("nodeCheckbox")))}}function un(t,r){t&1&&(w(0),d(1,pn,1,6,"ng-template",null,0,k),E())}function gn(t,r){if(t&1){let e=V();m(0,"p-checkbox",17),C("click",function(n){return u(e),g(n.preventDefault())}),d(1,un,3,0,"ng-container",6),y()}if(t&2){let e=s(2);a("ngModel",e.isSelected())("styleClass",e.cx("nodeCheckbox"))("binary",!0)("indeterminate",e.node.partialSelected)("disabled",e.node.selectable===!1)("variant",(e.tree==null?null:e.tree.config.inputStyle())==="filled"||(e.tree==null?null:e.tree.config.inputVariant())==="filled"?"filled":"outlined")("tabindex",-1)("pt",e.getPTOptions("pcNodeCheckbox")),S("data-p-partialchecked",e.node.partialSelected),c(),a("ngIf",e.tree.checkboxIconTemplate||e.tree._checkboxIconTemplate)}}function fn(t,r){if(t&1&&I(0,"span",9),t&2){let e=s(2);f(e.getIcon()),a("pBind",e.getPTOptions("nodeIcon"))}}function mn(t,r){if(t&1&&(m(0,"span"),L(1),y()),t&2){let e=s(2);c(),ye(e.node.label)}}function hn(t,r){t&1&&N(0)}function _n(t,r){if(t&1&&(m(0,"span"),d(1,hn,1,0,"ng-container",16),y()),t&2){let e=s(2);c(),a("ngTemplateOutlet",e.tree.getTemplateForNode(e.node))("ngTemplateOutletContext",A(2,Rt,e.node))}}function yn(t,r){if(t&1&&I(0,"div",9),t&2){let e=s(2);f(e.cx("dropPoint")),a("pBind",e.getPTOptions("dropPoint")),S("aria-hidden",!0)}}function bn(t,r){if(t&1&&I(0,"p-treeNode",20),t&2){let e=r.$implicit,i=r.first,n=r.last,o=r.index,l=s(3);a("node",e)("parentNode",l.node)("firstChild",i)("lastChild",n)("index",o)("itemSize",l.itemSize)("level",l.level+1)("loadingMode",l.loadingMode)("pt",l.pt)("unstyled",l.unstyled())}}function Tn(t,r){if(t&1&&(m(0,"ul",18),d(1,bn,1,10,"p-treeNode",19),y()),t&2){let e=s(2);f(e.cx("nodeChildren")),a("pBind",e.ptm("nodeChildren")),c(),a("ngForOf",e.node.children)("ngForTrackBy",e.tree.trackBy.bind(e))}}function vn(t,r){if(t&1){let e=V();m(0,"li",2),C("keydown",function(n){u(e);let o=s();return g(o.onKeyDown(n))}),Q(1,Zt,1,4,"div",3),m(2,"div",4),C("click",function(n){u(e);let o=s();return g(o.onNodeClick(n))})("contextmenu",function(n){u(e);let o=s();return g(o.onNodeRightClick(n))})("dblclick",function(n){u(e);let o=s();return g(o.onNodeDblClick(n))})("touchend",function(){u(e);let n=s();return g(n.onNodeTouchEnd())})("drop",function(n){u(e);let o=s();return g(o.onNodeDrop(n))})("dragstart",function(n){u(e);let o=s();return g(o.onNodeDragStart(n))})("dragover",function(n){u(e);let o=s();return g(o.onNodeDragOver(n))})("dragleave",function(n){u(e);let o=s();return g(o.onNodeDragLeave(n))})("dragend",function(n){u(e);let o=s();return g(o.onNodeDragEnd(n))}),m(3,"button",5),C("click",function(n){u(e);let o=s();return g(o.toggle(n))}),d(4,rn,3,2,"ng-container",6)(5,sn,2,8,"span",7),y(),d(6,gn,2,10,"p-checkbox",8)(7,fn,1,3,"span",7),m(8,"span",9),d(9,mn,2,1,"span",6)(10,_n,2,4,"span",6),y()(),Q(11,yn,1,4,"div",3),d(12,Tn,2,5,"ul",10),y()}if(t&2){let e=s();J(e.node.style),f(e.cn(e.cx("node"),e.node.styleClass)),a("ngStyle",A(36,Ht,e.itemSize+"px"))("pBind",e.getPTOptions("node")),S("aria-label",e.node.label)("aria-checked",e.checked)("aria-setsize",e.node.children?e.node.children.length:0)("aria-selected",e.selected)("aria-expanded",e.node.expanded)("aria-posinset",e.index+1)("aria-level",e.level+1)("tabindex",e.index===0?0:-1)("data-id",e.node.key),c(),U(e.isPrevDropPointActive()?1:-1),c(),f(e.cx("nodeContent")),Le("padding-left",e.level*e.indentation+"rem"),a("draggable",e.tree.draggableNodes)("pBind",e.getPTOptions("nodeContent")),c(),f(e.cx("nodeToggleButton")),a("pBind",e.getPTOptions("nodeToggleButton")),c(),a("ngIf",!e.tree.togglerIconTemplate&&!e.tree._togglerIconTemplate),c(),a("ngIf",e.tree.togglerIconTemplate||e.tree._togglerIconTemplate),c(),a("ngIf",e.tree.selectionMode=="checkbox"),c(),a("ngIf",e.node.icon||e.node.expandedIcon||e.node.collapsedIcon),c(),f(e.cx("nodeLabel")),a("pBind",e.getPTOptions("nodeLabel")),c(),a("ngIf",!e.tree.getTemplateForNode(e.node)),c(),a("ngIf",e.tree.getTemplateForNode(e.node)),c(),U(e.isNextDropPointActive()?11:-1),c(),a("ngIf",!e.tree.virtualScroll&&e.node.children&&e.node.expanded)}}var Bt=["filter"],xn=["node"],Cn=["header"],Sn=["footer"],Nn=["loader"],In=["empty"],wn=["togglericon"],En=["checkboxicon"],kn=["loadingicon"],Mn=["filtericon"],Dn=["scroller"],Vn=["wrapper"],On=["content"],Fn=t=>({options:t});function Bn(t,r){if(t&1&&I(0,"i",11),t&2){let e=s(2);f(e.cn(e.cx("loadingIcon"),"pi-spin"+e.loadingIcon)),a("pBind",e.ptm("loadingIcon"))}}function Ln(t,r){if(t&1&&(B(),I(0,"svg",13)),t&2){let e=s(3);f(e.cx("loadingIcon")),a("pBind",e.ptm("loadingIcon"))}}function An(t,r){}function Pn(t,r){t&1&&d(0,An,0,0,"ng-template")}function Hn(t,r){if(t&1&&(m(0,"span",11),d(1,Pn,1,0,null,8),y()),t&2){let e=s(3);f(e.cx("loadingIcon")),a("pBind",e.ptm("loadingIcon")),c(),a("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function Rn(t,r){if(t&1&&(w(0),d(1,Ln,1,3,"svg",12)(2,Hn,2,4,"span",7),E()),t&2){let e=s(2);c(),a("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),c(),a("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function zn(t,r){if(t&1&&(m(0,"div",11),We("p-overlay-mask-leave-active"),Ke("p-overlay-mask-enter-active"),d(1,Bn,1,3,"i",7)(2,Rn,3,2,"ng-container",10),y()),t&2){let e=s();f(e.cx("mask")),a("pBind",e.ptm("mask")),c(),a("ngIf",e.loadingIcon),c(),a("ngIf",!e.loadingIcon)}}function Qn(t,r){t&1&&N(0)}function Un(t,r){t&1&&N(0)}function $n(t,r){if(t&1&&d(0,Un,1,0,"ng-container",14),t&2){let e=s();a("ngTemplateOutlet",e.filterTemplate||e._filterTemplate)("ngTemplateOutletContext",A(2,Rt,e.filterOptions))}}function qn(t,r){if(t&1&&(B(),I(0,"svg",19)),t&2){let e=s(3);f(e.cx("filterIcon")),a("pBind",e.ptm("filterIcon"))}}function jn(t,r){}function Kn(t,r){t&1&&d(0,jn,0,0,"ng-template")}function Wn(t,r){if(t&1&&(m(0,"span",11),d(1,Kn,1,0,null,8),y()),t&2){let e=s(3);f(e.cx("filterIcon")),a("pBind",e.ptm("filterIcon")),c(),a("ngTemplateOutlet",e.filterIconTemplate||e._filterIconTemplate)}}function Gn(t,r){if(t&1){let e=V();m(0,"p-iconfield",16)(1,"input",17,0),C("keydown.enter",function(n){return u(e),g(n.preventDefault())})("input",function(n){u(e);let o=s(2);return g(o._filter(n.target==null?null:n.target.value))}),y(),m(3,"p-inputicon",16),d(4,qn,1,3,"svg",18)(5,Wn,2,4,"span",7),y()()}if(t&2){let e=s(2);f(e.cx("pcFilterContainer")),a("pt",e.ptm("pcFilterContainer"))("unstyled",e.unstyled()),c(),f(e.cx("pcFilterInput")),a("pAutoFocus",e.filterInputAutoFocus)("pt",e.ptm("pcFilterInput"))("unstyled",e.unstyled()),S("placeholder",e.filterPlaceholder),c(2),a("pt",e.ptm("pcFilterIconContainer"))("unstyled",e.unstyled()),c(),a("ngIf",!e.filterIconTemplate&&!e._filterIconTemplate),c(),a("ngIf",e.filterIconTemplate||e._filterIconTemplate)}}function Yn(t,r){if(t&1&&d(0,Gn,6,14,"p-iconfield",15),t&2){let e=s();a("ngIf",e.filter)}}function Jn(t,r){if(t&1&&I(0,"p-treeNode",25,3),t&2){let e=r.$implicit,i=r.first,n=r.last,o=r.index,l=s(2).options,p=s(3);a("level",e.level)("rowNode",e)("node",e.node)("parentNode",e.parent)("firstChild",i)("lastChild",n)("index",p.getIndex(l,o))("itemSize",l.itemSize)("indentation",p.indentation)("loadingMode",p.loadingMode)("pt",p.pt)("unstyled",p.unstyled())}}function Xn(t,r){if(t&1&&(m(0,"ul",23,2),d(2,Jn,2,12,"p-treeNode",24),y()),t&2){let e=s(),i=e.$implicit,n=e.options,o=s(3);J(n.contentStyle),f(o.cx("rootChildren")),a("ngClass",n.contentStyleClass)("pBind",o.ptm("rootChildren")),S("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledBy),c(2),a("ngForOf",i)("ngForTrackBy",o.trackBy)}}function Zn(t,r){if(t&1&&d(0,Xn,3,10,"ul",22),t&2){let e=r.$implicit;a("ngIf",e)}}function ei(t,r){t&1&&N(0)}function ti(t,r){if(t&1&&d(0,ei,1,0,"ng-container",14),t&2){let e=r.options,i=s(4);a("ngTemplateOutlet",i.loaderTemplate||i._loaderTemplate)("ngTemplateOutletContext",A(2,Fn,e))}}function ni(t,r){t&1&&(w(0),d(1,ti,1,4,"ng-template",null,4,k),E())}function ii(t,r){if(t&1){let e=V();m(0,"p-scroller",21,1),C("onScroll",function(n){u(e);let o=s(2);return g(o.onScroll.emit(n))})("onScrollIndexChange",function(n){u(e);let o=s(2);return g(o.onScrollIndexChange.emit(n))})("onLazyLoad",function(n){u(e);let o=s(2);return g(o.onLazyLoad.emit(n))}),d(2,Zn,1,1,"ng-template",null,2,k)(4,ni,3,0,"ng-container",10),y()}if(t&2){let e=s(2);J(A(12,Ht,e.scrollHeight!=="flex"?e.scrollHeight:void 0)),a("items",e.serializedValue)("tabindex",-1)("styleClass",e.cx("wrapper"))("scrollHeight",e.scrollHeight!=="flex"?void 0:"100%")("itemSize",e.virtualScrollItemSize)("lazy",e.lazy)("options",e.virtualScrollOptions)("pt",e.ptm("virtualScroller")),S("data-p",e.wrapperDataP),c(4),a("ngIf",e.loaderTemplate||e._loaderTemplate)}}function oi(t,r){if(t&1&&I(0,"p-treeNode",29),t&2){let e=r.$implicit,i=r.first,n=r.last,o=r.index,l=s(4);a("node",e)("firstChild",i)("lastChild",n)("index",o)("level",0)("loadingMode",l.loadingMode)("pt",l.pt)("unstyled",l.unstyled())}}function ri(t,r){if(t&1&&(m(0,"ul",27,2),d(2,oi,1,8,"p-treeNode",28),y()),t&2){let e=s(3);f(e.cx("rootChildren")),a("pBind",e.ptm("rootChildren")),S("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy),c(2),a("ngForOf",e.getRootNode())("ngForTrackBy",e.trackBy.bind(e))}}function li(t,r){if(t&1&&(w(0),m(1,"div",11,5),d(3,ri,3,7,"ul",26),y(),E()),t&2){let e=s(2);c(),f(e.cx("wrapper")),Le("max-height",e.scrollHeight),a("pBind",e.ptm("wrapper")),S("data-p",e.wrapperDataP),c(2),a("ngIf",e.getRootNode())}}function ai(t,r){if(t&1&&(w(0),d(1,ii,5,14,"p-scroller",20)(2,li,4,7,"ng-container",10),E()),t&2){let e=s();c(),a("ngIf",e.virtualScroll),c(),a("ngIf",!e.virtualScroll)}}function si(t,r){if(t&1&&(w(0),L(1),E()),t&2){let e=s(2);c(),X(" ",e.emptyMessageLabel," ")}}function ci(t,r){}function di(t,r){t&1&&d(0,ci,0,0,"ng-template",null,6,k)}function pi(t,r){if(t&1&&(m(0,"div",11),d(1,si,2,1,"ng-container",30)(2,di,2,0,null,8),y()),t&2){let e=s();f(e.cx("emptyMessage")),a("pBind",e.ptm("emptyMessage")),c(),a("ngIf",!e.emptyTemplate&&!e._emptyTemplate)("ngIfElse",e.emptyFilter),c(),a("ngTemplateOutlet",e.emptyTemplate||e._emptyTemplate)}}function ui(t,r){t&1&&N(0)}var gi={root:({instance:t})=>["p-tree p-component",{"p-tree-selectable":t.selectionMode!=null,"p-tree-loading":t.loading,"p-tree-flex-scrollable":t.scrollHeight==="flex","p-tree-node-dragover":t.dragHover}],mask:"p-tree-mask p-overlay-mask",loadingIcon:"p-tree-loading-icon",pcFilterInput:"p-tree-filter-input",wrapper:"p-tree-root",rootChildren:"p-tree-root-children",node:({instance:t})=>({"p-tree-node":!0,"p-tree-node-leaf":t.isLeaf()}),nodeContent:({instance:t})=>({"p-tree-node-content":!0,"p-tree-node-selectable":t.selectable,"p-tree-node-dragover":t.isNodeDropActive(),"p-tree-node-selected":t.selectionMode==="checkbox"&&t.tree.highlightOnSelect?t.checked:t.selected}),nodeToggleButton:"p-tree-node-toggle-button",nodeToggleIcon:"p-tree-node-toggle-icon",nodeCheckbox:"p-tree-node-checkbox",nodeIcon:"p-tree-node-icon",nodeLabel:"p-tree-node-label",nodeChildren:"p-tree-node-children",emptyMessage:"p-tree-empty-message",dropPoint:"p-tree-node-drop-point"},Ee=(()=>{class t extends Ne{name="tree";style=Ft;classes=gi;static \u0275fac=(()=>{let e;return function(n){return(e||(e=G(t)))(n||t)}})();static \u0275prov=W({token:t,factory:t.\u0275fac})}return t})();var Lt=new ne("TREE_INSTANCE"),At=new ne("TREENODE_INSTANCE"),fi=(()=>{class t extends ze{$pcTreeNode=M(At,{optional:!0,skipSelf:!0})??void 0;static ICON_CLASS="p-tree-node-icon ";rowNode;node;parentNode;root;index;firstChild;lastChild;level;indentation;itemSize;loadingMode;tree=M(ge(()=>ke));timeout;isPrevDropPointHovered=me(!1);isNextDropPointHovered=me(!1);isNodeDropHovered=me(!1);isPrevDropPointActive=F(()=>this.isPrevDropPointHovered()&&this.isDroppable());isNextDropPointActive=F(()=>this.isNextDropPointHovered()&&this.isDroppable());isNodeDropActive=F(()=>this.isNodeDropHovered()&&this.isNodeDroppable());dropPosition=F(()=>this.isPrevDropPointActive()?-1:this.isNextDropPointActive()?1:0);_componentStyle=M(Ee);_selected=F(()=>(this.tree.selection(),this.tree.isSelected(this.node)));_contextMenuSelected=F(()=>{let e=this.tree.contextMenuSelection();return!e||!this.node?!1:e===this.node||e.key&&e.key===this.node.key});get selected(){return this.tree.selectionMode==="single"||this.tree.selectionMode==="multiple"?this._selected():void 0}get checked(){return this.tree.selectionMode==="checkbox"?this._selected():void 0}get contextMenuSelected(){return this._contextMenuSelected()}get nodeClass(){return this.tree._componentStyle.classes.node({instance:this})}get selectable(){return this.node?.selectable===!1?!1:this.tree?.selectionMode!=null}get subNodes(){return this.node?.parent?this.node.parent.children:this.tree.value}getPTOptions(e){return this.ptm(e,{context:{node:this.node,index:this.index,expanded:this.node?.expanded,selected:this.selected,checked:this.checked,partialChecked:this.node?.partialSelected,contextMenuSelected:this.contextMenuSelected,leaf:this.isLeaf()}})}onInit(){this.node.parent=this.parentNode;let i=this.tree.el.nativeElement.closest("p-dialog");this.parentNode&&!i&&(this.setAllNodesTabIndexes(),this.tree.syncNodeOption(this.node,this.tree.value,"parent",this.tree.getNodeWithKey(this.parentNode.key,this.tree.value)))}getIcon(){let e;return this.node.icon?e=this.node.icon:e=this.node.expanded&&this.node.children&&this.node.children?.length?this.node.expandedIcon:this.node.collapsedIcon,t.ICON_CLASS+" "+e+" p-tree-node-icon"}isLeaf(){return this.tree.isNodeLeaf(this.node)}isSelected(){return this._selected()}isContextMenuSelected(){return this._contextMenuSelected()}isSameNode(e){return e.currentTarget&&(e.currentTarget.isSameNode(e.target)||e.currentTarget.isSameNode(e.target.closest('[role="treeitem"]')))}isDraggable(){return this.tree.draggableNodes}isDroppable(){return this.tree.droppableNodes&&this.tree.allowDrop(this.tree.dragNode,this.node,this.tree.dragNodeScope)}isNodeDroppable(){return this.node?.droppable!==!1&&this.isDroppable()}isNodeDraggable(){return this.node?.draggable!==!1&&this.isDraggable()}toggle(e){this.node.expanded?this.collapse(e):this.expand(e),e.stopPropagation()}expand(e){this.node.expanded=!0,this.tree.virtualScroll&&(this.tree.updateSerializedValue(),this.focusVirtualNode()),this.tree.onNodeExpand.emit({originalEvent:e,node:this.node})}collapse(e){this.node.expanded=!1,this.tree.virtualScroll&&(this.tree.updateSerializedValue(),this.focusVirtualNode()),this.tree.onNodeCollapse.emit({originalEvent:e,node:this.node})}onNodeClick(e){this.tree.onNodeClick(e,this.node)}onNodeKeydown(e){e.key==="Enter"&&this.tree.onNodeClick(e,this.node)}onNodeTouchEnd(){this.tree.onNodeTouchEnd()}onNodeRightClick(e){this.tree.onNodeRightClick(e,this.node)}onNodeDblClick(e){this.tree.onNodeDblClick(e,this.node)}insertNodeOnDrop(){let{dragNode:e,dragNodeIndex:i,dragNodeSubNodes:n}=this.tree;if(!this.node||i==null||!e||!n)return;let o=this.dropPosition(),l=this.subNodes||[],p=this.index||0,b=n===l?i>p?p:p-1:p;n.splice(i,1),o<0?l.splice(b,0,e):o>0?l.splice(b+1,0,e):(this.node.children=this.node.children||[],this.node.children.push(e)),this.tree.dragDropService.stopDrag({node:e,subNodes:l,index:i})}onNodeDrop(e){if(e.preventDefault(),e.stopPropagation(),this.isDroppable()){let{dragNode:i}=this.tree,n=this.dropPosition();(n!==0||n===0&&this.isNodeDroppable())&&(this.tree.validateDrop?this.tree.onNodeDrop.emit({originalEvent:e,dragNode:i,dropNode:this.node,index:this.index,accept:()=>{this.insertNodeOnDrop()}}):(this.insertNodeOnDrop(),this.tree.onNodeDrop.emit({originalEvent:e,dragNode:i,dropNode:this.node,index:this.index})))}this.isPrevDropPointHovered.set(!1),this.isNextDropPointHovered.set(!1),this.isNodeDropHovered.set(!1)}onNodeDragStart(e){if(this.isNodeDraggable()){e.dataTransfer.effectAllowed="all",e.dataTransfer?.setData("text","data");let i=e.currentTarget,n=i.cloneNode(!0),o=n.querySelector('[data-pc-section="nodetogglebutton"]'),l=n.querySelector('[data-pc-name="pcnodecheckbox"]');i.setAttribute("data-p-dragging","true"),n.style.width=lt(i)+"px",n.style.height=dt(i)+"px",n.setAttribute("data-pc-section","drag-image"),o.style.visibility="hidden",l?.remove(),document.body.appendChild(n),e.dataTransfer?.setDragImage(n,0,0),setTimeout(()=>document.body.removeChild(n),0),this.tree.dragDropService.startDrag({tree:this,node:this.node,subNodes:this.subNodes,index:this.index,scope:this.tree.draggableScope})}else e.preventDefault()}onNodeDragOver(e){if(this.isDroppable()){e.dataTransfer.dropEffect="copy";let n=e.currentTarget.getBoundingClientRect(),o=e.clientY-parseInt(n.top);this.isPrevDropPointHovered.set(!1),this.isNextDropPointHovered.set(!1),this.isNodeDropHovered.set(!1),o<n.height*.25?this.isPrevDropPointHovered.set(!0):o>n.height*.75?this.isNextDropPointHovered.set(!0):this.isNodeDroppable()&&this.isNodeDropHovered.set(!0)}else e.dataTransfer.dropEffect="none";this.tree.droppableNodes&&(e.preventDefault(),e.stopPropagation())}onNodeDragLeave(){this.isPrevDropPointHovered.set(!1),this.isNextDropPointHovered.set(!1),this.isNodeDropHovered.set(!1)}onNodeDragEnd(e){e.currentTarget?.removeAttribute("data-p-dragging"),this.tree.dragDropService.stopDrag({node:this.node,subNodes:this.subNodes,index:this.index})}onKeyDown(e){if(!(!this.isSameNode(e)||this.tree.contextMenu&&this.tree.contextMenu.containerViewChild?.nativeElement.style.display==="block"))switch(e.code){case"ArrowDown":this.onArrowDown(e);break;case"ArrowUp":this.onArrowUp(e);break;case"ArrowRight":this.onArrowRight(e);break;case"ArrowLeft":this.onArrowLeft(e);break;case"Enter":case"Space":case"NumpadEnter":this.onEnter(e);break;case"Tab":this.setAllNodesTabIndexes();break;default:break}}onArrowUp(e){let i=e.target.getAttribute("data-pc-section")==="nodetogglebutton"?e.target.closest('[role="treeitem"]'):e.target.parentElement;if(i?.previousElementSibling)this.focusRowChange(i,i.previousElementSibling,this.findLastVisibleDescendant(i.previousElementSibling));else{let n=this.getParentNodeElement(i);n&&this.focusRowChange(i,n)}e.preventDefault()}onArrowDown(e){let i=e.target.getAttribute("data-pc-section")==="nodetogglebutton"?e.target.closest('[role="treeitem"]'):e.target,n=i?.children[1];if(n&&n.children.length>0)this.focusRowChange(i,n.children[0]);else if(i?.parentElement?.nextElementSibling)this.focusRowChange(i,i.parentElement.nextElementSibling);else{let o=this.findNextSiblingOfAncestor(i?.parentElement);o&&this.focusRowChange(i,o)}e.preventDefault()}onArrowRight(e){!this.node?.expanded&&!this.tree.isNodeLeaf(this.node)&&(this.expand(e),e.currentTarget.tabIndex=-1,setTimeout(()=>{this.onArrowDown(e)},1)),e.preventDefault()}onArrowLeft(e){let i=e.target.getAttribute("data-pc-section")==="nodetogglebutton"?e.target.closest('[role="treeitem"]'):e.target;if(this.level===0&&!this.node?.expanded)return!1;if(this.node?.expanded){this.collapse(e);return}let n=this.getParentNodeElement(i?.parentElement);n&&this.focusRowChange(e.currentTarget,n),e.preventDefault()}onEnter(e){this.tree.onNodeClick(e,this.node),this.setTabIndexForSelectionMode(e,this.tree.nodeTouched),e.preventDefault()}setAllNodesTabIndexes(){let e=Pe(this.tree.el.nativeElement,'[data-pc-section="node"]'),i=[...e].some(n=>n.getAttribute("aria-selected")==="true"||n.getAttribute("aria-checked")==="true");if([...e].forEach(n=>{n.tabIndex=-1}),i){let n=[...e].filter(o=>o.getAttribute("aria-selected")==="true"||o.getAttribute("aria-checked")==="true");n[0].tabIndex=0;return}e.length&&([...e][0].tabIndex=0)}setTabIndexForSelectionMode(e,i){if(this.tree.selectionMode!==null){let n=[...Pe(this.tree.el.nativeElement,'[role="treeitem"]')];e.currentTarget.tabIndex=i===!1?-1:0,n.every(o=>o.tabIndex===-1)&&(n[0].tabIndex=0)}}findNextSiblingOfAncestor(e){let i=this.getParentNodeElement(e);return i?i.nextElementSibling?i.nextElementSibling:this.findNextSiblingOfAncestor(i):null}findLastVisibleDescendant(e){let n=Array.from(e.children).find(o=>o.getAttribute("data-pc-section")==="node")?.children[1];if(n&&n.children.length>0){let o=n.children[n.children.length-1];return this.findLastVisibleDescendant(o)}else return e}getParentNodeElement(e){let i=e.parentElement?.parentElement?.parentElement;return i?.tagName==="P-TREENODE"?i:null}focusNode(e){this.tree.droppableNodes?e.children[1].focus():e.children[0].focus()}focusRowChange(e,i,n){e.tabIndex="-1",i.children[0].tabIndex="0",this.focusNode(n||i)}focusVirtualNode(){this.timeout=setTimeout(()=>{let e=at(this.tree?.contentViewChild?.nativeElement,`[data-id="${this.node?.key??this.node?.data}"]`);Z(e)},1)}static \u0275fac=(()=>{let e;return function(n){return(e||(e=G(t)))(n||t)}})();static \u0275cmp=z({type:t,selectors:[["p-treeNode"]],inputs:{rowNode:"rowNode",node:"node",parentNode:"parentNode",root:[2,"root","root",T],index:[2,"index","index",q],firstChild:[2,"firstChild","firstChild",T],lastChild:[2,"lastChild","lastChild",T],level:[2,"level","level",q],indentation:[2,"indentation","indentation",q],itemSize:[2,"itemSize","itemSize",q],loadingMode:"loadingMode"},features:[re([Ee,{provide:At,useExisting:t},{provide:pe,useExisting:t}]),oe],decls:1,vars:1,consts:[["icon",""],["role","treeitem",3,"class","ngStyle","style","pBind"],["role","treeitem",3,"keydown","ngStyle","pBind"],[3,"class","pBind"],[3,"click","contextmenu","dblclick","touchend","drop","dragstart","dragover","dragleave","dragend","draggable","pBind"],["type","button","pRipple","","tabindex","-1",3,"click","pBind"],[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"ngModel","styleClass","binary","indeterminate","disabled","variant","tabindex","pt","click",4,"ngIf"],[3,"pBind"],["role","group",3,"class","pBind",4,"ngIf"],["data-p-icon","chevron-right",3,"class","pBind",4,"ngIf"],["data-p-icon","chevron-down",3,"class","pBind",4,"ngIf"],["data-p-icon","chevron-right",3,"pBind"],["data-p-icon","chevron-down",3,"pBind"],["data-p-icon","spinner","spin","",3,"pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"click","ngModel","styleClass","binary","indeterminate","disabled","variant","tabindex","pt"],["role","group",3,"pBind"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level","loadingMode","pt","unstyled",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level","loadingMode","pt","unstyled"]],template:function(i,n){i&1&&Q(0,vn,13,38,"li",1),i&2&&U(n.node?0:-1)},dependencies:[t,K,ae,se,j,be,Mt,xt,ce,ve,xe,Ct,we,Qe,P,_t,O],encapsulation:2})}return t})(),ke=(()=>{class t extends ze{dragDropService;bindDirectiveInstance=M(O,{self:!0});$pcTree=M(Lt,{optional:!0,skipSelf:!0})??void 0;onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}value;selectionMode;loadingMode="mask";selection=Ae(null);styleClass;contextMenu;contextMenuSelectionMode="separate";contextMenuSelection=Ae(null);draggableScope;droppableScope;draggableNodes;droppableNodes;metaKeySelection=!1;propagateSelectionUp=!0;propagateSelectionDown=!0;loading;loadingIcon;emptyMessage="";ariaLabel;togglerAriaLabel;ariaLabelledBy;validateDrop;filter;filterInputAutoFocus=!1;filterBy="label";filterMode="lenient";filterOptions;filterPlaceholder;filteredNodes;filterLocale;scrollHeight;lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;indentation=1.5;_templateMap;trackBy=(e,i)=>i;highlightOnSelect=!1;onNodeSelect=new x;onNodeUnselect=new x;onNodeExpand=new x;onNodeCollapse=new x;onNodeContextMenuSelect=new x;onNodeDoubleClick=new x;onNodeDrop=new x;onLazyLoad=new x;onScroll=new x;onScrollIndexChange=new x;onFilter=new x;filterTemplate;nodeTemplate;headerTemplate;footerTemplate;loaderTemplate;emptyTemplate;togglerIconTemplate;checkboxIconTemplate;loadingIconTemplate;filterIconTemplate;filterViewChild;scroller;wrapperViewChild;contentViewChild;templates;_headerTemplate;_emptyTemplate;_footerTemplate;_loaderTemplate;_togglerIconTemplate;_checkboxIconTemplate;_loadingIconTemplate;_filterIconTemplate;_filterTemplate;onAfterContentInit(){this.templates.length&&(this._templateMap={}),this.templates.forEach(e=>{switch(e.getType()){case"header":this._headerTemplate=e.template;break;case"empty":this._emptyTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"loader":this._loaderTemplate=e.template;break;case"togglericon":this._togglerIconTemplate=e.template;break;case"checkboxicon":this._checkboxIconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;case"filtericon":this._filterIconTemplate=e.template;break;case"filter":this._filterTemplate=e.template;break;default:this._templateMap[e.name]=e.template;break}})}serializedValue;nodeTouched;dragNodeTree;dragNode;dragNodeSubNodes;dragNodeIndex;dragNodeScope;dragHover;dragStartSubscription;dragStopSubscription;_componentStyle=M(Ee);handleDropEvent(e){this.onDrop(e)}handleDragOverEvent(e){this.onDragOver(e)}handleDragEnterEvent(){this.onDragEnter()}handleDragLeaveEvent(e){this.onDragLeave(e)}constructor(e){super(),this.dragDropService=e}onInit(){this.filterBy&&(this.filterOptions={filter:e=>this._filter(e),reset:()=>this.resetFilter()}),this.droppableNodes&&(this.dragStartSubscription=this.dragDropService.dragStart$.subscribe(e=>{this.dragNodeTree=e.tree,this.dragNode=e.node,this.dragNodeSubNodes=e.subNodes,this.dragNodeIndex=e.index,this.dragNodeScope=e.scope}),this.dragStopSubscription=this.dragDropService.dragStop$.subscribe(e=>{this.dragNodeTree=null,this.dragNode=null,this.dragNodeSubNodes=null,this.dragNodeIndex=null,this.dragNodeScope=null,this.dragHover=!1}))}onChanges(e){e.value&&(this.updateSerializedValue(),this.hasFilterActive()&&this._filter(this.filterViewChild?.nativeElement?.value))}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(gt.EMPTY_MESSAGE)}updateSerializedValue(){this.serializedValue=[],this.serializeNodes(null,this.getRootNode(),0,!0)}serializeNodes(e,i,n,o){if(i&&i.length)for(let l of i){l.parent=e;let p={node:l,parent:e,level:n,visible:o&&(e?e.expanded:!0)};this.serializedValue.push(p),p.visible&&l.expanded&&this.serializeNodes(l,l.children,n+1,p.visible)}}onNodeClick(e,i){let o=e.target?.getAttribute?.("data-pc-section");if(!(o==="nodetogglebutton"||o==="nodetoggleicon")){if(this.selectionMode){if(i.selectable===!1){i.style="--p-focus-ring-color: none;";return}else i.style?.includes("--p-focus-ring-color")||(i.style=i.style?`${i.style}--p-focus-ring-color: var(--primary-color)`:"--p-focus-ring-color: var(--primary-color)");if(this.hasFilteredNodes()&&(i=this.getNodeWithKey(i.key,this.filteredNodes),!i))return;let l=this.findIndexInSelection(i),p=l>=0,b=this.selection();if(this.isCheckboxSelectionMode())p?(this.propagateSelectionDown?this.propagateDown(i,!1):this.selection.set(b.filter((H,R)=>R!=l)),this.propagateSelectionUp&&i.parent&&this.propagateUp(i.parent,!1),this.onNodeUnselect.emit({originalEvent:e,node:i})):(this.propagateSelectionDown?this.propagateDown(i,!0):this.selection.set([...b||[],i]),this.propagateSelectionUp&&i.parent&&this.propagateUp(i.parent,!0),this.onNodeSelect.emit({originalEvent:e,node:i}));else if(this.nodeTouched?!1:this.metaKeySelection){let R=e.metaKey||e.ctrlKey;if(p&&R)this.isSingleSelectionMode()?this.selection.set(null):this.selection.set(b.filter((ue,Kt)=>Kt!=l)),this.onNodeUnselect.emit({originalEvent:e,node:i});else{if(this.isSingleSelectionMode())this.selection.set(i);else if(this.isMultipleSelectionMode()){let ue=R?b||[]:[];this.selection.set([...ue,i])}this.onNodeSelect.emit({originalEvent:e,node:i})}}else this.isSingleSelectionMode()?p?(this.selection.set(null),this.onNodeUnselect.emit({originalEvent:e,node:i})):(this.selection.set(i),setTimeout(()=>{this.onNodeSelect.emit({originalEvent:e,node:i})})):p?(this.selection.set(b.filter((R,ue)=>ue!=l)),this.onNodeUnselect.emit({originalEvent:e,node:i})):(this.selection.set([...b||[],i]),setTimeout(()=>{this.onNodeSelect.emit({originalEvent:e,node:i})}))}this.nodeTouched=!1}}onNodeTouchEnd(){this.nodeTouched=!0}onNodeRightClick(e,i){if(this.contextMenu){let o=e.target.getAttribute("data-pc-section");if(o==="nodetogglebutton"||o==="nodetoggleicon")return;let p=this.findIndexInSelection(i)>=0,b=()=>{this.contextMenu.show(e),this.contextMenu.hideCallback=()=>{this.contextMenuSelection.set(null)},this.onNodeContextMenuSelect.emit({originalEvent:e,node:i})};this.contextMenuSelectionMode==="separate"?(this.contextMenuSelection.set(i),b()):this.contextMenuSelectionMode==="joint"&&(p||(this.isSingleSelectionMode()?this.selection.set(i):this.selection.set([i])),b())}}onNodeDblClick(e,i){this.onNodeDoubleClick.emit({originalEvent:e,node:i})}findIndexInSelection(e){let i=-1,n=this.selection();if(this.selectionMode&&n)if(this.isSingleSelectionMode()){let o=n;i=o.key&&o.key===e.key||o==e?0:-1}else{let o=n;for(let l=0;l<o.length;l++){let p=o[l];if(p.key&&p.key===e.key||p==e){i=l;break}}}return i}syncNodeOption(e,i,n,o){let l=this.hasFilteredNodes()?this.getNodeWithKey(e.key,i):null;l&&(l[n]=o||e[n])}hasFilteredNodes(){return this.filter&&this.filteredNodes&&this.filteredNodes.length}hasFilterActive(){return this.filter&&this.filterViewChild?.nativeElement?.value.length>0}getNodeWithKey(e,i){for(let n of i){if(n.key===e)return n;if(n.children){let o=this.getNodeWithKey(e,n.children);if(o)return o}}}propagateUp(e,i){if(e.children&&e.children.length){let o=0,l=!1;for(let b of e.children)this.isSelected(b)?o++:b.partialSelected&&(l=!0);let p=this.selection()||[];if(i&&o==e.children.length)this.selection.set([...p,e]),e.partialSelected=!1;else{if(!i){let b=this.findIndexInSelection(e);b>=0&&this.selection.set(p.filter((H,R)=>R!=b))}l||o>0&&o!=e.children.length?e.partialSelected=!0:e.partialSelected=!1}this.syncNodeOption(e,this.filteredNodes,"partialSelected")}let n=e.parent;n&&this.propagateUp(n,i)}propagateDown(e,i){let n=this.findIndexInSelection(e),o=this.selection()||[];if(i&&n==-1?this.selection.set([...o,e]):!i&&n>-1&&this.selection.set(o.filter((l,p)=>p!=n)),e.partialSelected=!1,this.syncNodeOption(e,this.filteredNodes,"partialSelected"),e.children&&e.children.length)for(let l of e.children)this.propagateDown(l,i)}isSelected(e){return this.findIndexInSelection(e)!=-1}isSingleSelectionMode(){return this.selectionMode&&this.selectionMode=="single"}isMultipleSelectionMode(){return this.selectionMode&&this.selectionMode=="multiple"}isCheckboxSelectionMode(){return this.selectionMode&&this.selectionMode=="checkbox"}isNodeLeaf(e){return e.leaf==!1?!1:!(e.children&&e.children.length)}getRootNode(){return this.filteredNodes?this.filteredNodes:this.value}getTemplateForNode(e){return this._templateMap?e.type?this._templateMap[e.type]:this._templateMap.default:null}onDragOver(e){this.droppableNodes&&this.allowDrop(this.dragNode,null,this.dragNodeScope)&&(e.dataTransfer.dropEffect="copy",e.preventDefault())}onDrop(e){if(this.droppableNodes){e.preventDefault();let i=this.dragNode;if(this.isSameTreeScope(this.dragNodeScope))return;if(this.allowDrop(i,null,this.dragNodeScope)){let n=this.dragNodeIndex;this.value=this.value||[],this.validateDrop?this.onNodeDrop.emit({originalEvent:e,dragNode:i,dropNode:null,index:n,accept:()=>{this.processTreeDrop(i,n)}}):(this.onNodeDrop.emit({originalEvent:e,dragNode:i,dropNode:null,index:n}),this.processTreeDrop(i,n))}}}processTreeDrop(e,i){this.dragNodeSubNodes.splice(i,1),this.value.push(e),this.dragDropService.stopDrag({node:e})}onDragEnter(){this.droppableNodes&&this.allowDrop(this.dragNode,null,this.dragNodeScope)&&(this.dragHover=!0)}onDragLeave(e){if(this.droppableNodes){let i=e.currentTarget.getBoundingClientRect();(e.x>parseInt(i.left)+i.width||e.x<parseInt(i.left)||e.y>parseInt(i.top)+i.height||e.y<parseInt(i.top))&&(this.dragHover=!1)}}allowDrop(e,i,n){if(e)if(this.isValidDragScope(n)){let o=!0;if(i)if(e===i)o=!1;else{let l=i.parent;for(;l!=null;){if(l===e){o=!1;break}l=l.parent}}return o}else return!1;else return!1}hasCommonScope(e,i){if(typeof i=="string"){if(typeof e=="string")return i===e;if(Array.isArray(e))return e.indexOf(i)!=-1}else if(Array.isArray(i)){if(typeof e=="string")return i.indexOf(e)!=-1;if(Array.isArray(e)){for(let n of i)for(let o of e)if(n===o)return!0}}return!1}isSameTreeScope(e){return this.hasCommonScope(e,this.draggableScope)}isValidDragScope(e){let i=this.droppableScope;return i?this.hasCommonScope(e,i):!0}_filter(e){let i=e;if(i==="")this.filteredNodes=null;else{this.filteredNodes=[];let n=this.filterBy.split(","),o=Re(i).toLocaleLowerCase(this.filterLocale),l=this.filterMode==="strict";for(let p of this.value){let b=te({},p),H={searchFields:n,filterText:o,isStrictMode:l};(l&&(this.findFilteredNodes(b,H)||this.isFilterMatched(b,H))||!l&&(this.isFilterMatched(b,H)||this.findFilteredNodes(b,H)))&&this.filteredNodes.push(b)}}this.updateSerializedValue(),this.onFilter.emit({filter:i,filteredValue:this.filteredNodes})}resetFilter(){this.filteredNodes=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}scrollToVirtualIndex(e){this.virtualScroll&&this.scroller?.scrollToIndex(e)}scrollTo(e){this.virtualScroll?this.scroller?.scrollTo(e):this.wrapperViewChild&&this.wrapperViewChild.nativeElement&&(this.wrapperViewChild.nativeElement.scrollTo?this.wrapperViewChild.nativeElement.scrollTo(e):(this.wrapperViewChild.nativeElement.scrollLeft=e.left,this.wrapperViewChild.nativeElement.scrollTop=e.top))}findFilteredNodes(e,i){if(e){let n=!1;if(e.children){let o=[...e.children];e.children=[];for(let l of o){let p=te({},l);this.isFilterMatched(p,i)&&(n=!0,e.children.push(p))}}if(n)return e.expanded=!0,!0}}isFilterMatched(e,i){let{searchFields:n,filterText:o,isStrictMode:l}=i,p=!1;for(let b of n)Re(String(pt(e,b))).toLocaleLowerCase(this.filterLocale).indexOf(o)>-1&&(p=!0);return(!p||l&&!this.isNodeLeaf(e))&&(p=this.findFilteredNodes(e,{searchFields:n,filterText:o,isStrictMode:l})||p),p}getIndex(e,i){let n=e.getItemOptions;return n?n(i).index:i}getBlockableElement(){return this.el.nativeElement.children[0]}onDestroy(){this.dragStartSubscription&&this.dragStartSubscription.unsubscribe(),this.dragStopSubscription&&this.dragStopSubscription.unsubscribe()}get containerDataP(){return this.cn({loading:this.loading,scrollable:this.scrollHeight==="flex"})}get wrapperDataP(){return this.cn({scrollable:this.scrollHeight==="flex"})}static \u0275fac=function(i){return new(i||t)(ie(ft,8))};static \u0275cmp=z({type:t,selectors:[["p-tree"]],contentQueries:function(i,n,o){if(i&1&&(v(o,Bt,4),v(o,xn,4),v(o,Cn,4),v(o,Sn,4),v(o,Nn,4),v(o,In,4),v(o,wn,4),v(o,En,4),v(o,kn,4),v(o,Mn,4),v(o,ee,4)),i&2){let l;h(l=_())&&(n.filterTemplate=l.first),h(l=_())&&(n.nodeTemplate=l.first),h(l=_())&&(n.headerTemplate=l.first),h(l=_())&&(n.footerTemplate=l.first),h(l=_())&&(n.loaderTemplate=l.first),h(l=_())&&(n.emptyTemplate=l.first),h(l=_())&&(n.togglerIconTemplate=l.first),h(l=_())&&(n.checkboxIconTemplate=l.first),h(l=_())&&(n.loadingIconTemplate=l.first),h(l=_())&&(n.filterIconTemplate=l.first),h(l=_())&&(n.templates=l)}},viewQuery:function(i,n){if(i&1&&(D(Bt,5),D(Dn,5),D(Vn,5),D(On,5)),i&2){let o;h(o=_())&&(n.filterViewChild=o.first),h(o=_())&&(n.scroller=o.first),h(o=_())&&(n.wrapperViewChild=o.first),h(o=_())&&(n.contentViewChild=o.first)}},hostVars:3,hostBindings:function(i,n){i&1&&C("drop",function(l){return n.handleDropEvent(l)})("dragover",function(l){return n.handleDragOverEvent(l)})("dragenter",function(){return n.handleDragEnterEvent()})("dragleave",function(l){return n.handleDragLeaveEvent(l)}),i&2&&(S("data-p",n.containerDataP),f(n.cn(n.cx("root"),n.styleClass)))},inputs:{value:"value",selectionMode:"selectionMode",loadingMode:"loadingMode",selection:[1,"selection"],styleClass:"styleClass",contextMenu:"contextMenu",contextMenuSelectionMode:"contextMenuSelectionMode",contextMenuSelection:[1,"contextMenuSelection"],draggableScope:"draggableScope",droppableScope:"droppableScope",draggableNodes:[2,"draggableNodes","draggableNodes",T],droppableNodes:[2,"droppableNodes","droppableNodes",T],metaKeySelection:[2,"metaKeySelection","metaKeySelection",T],propagateSelectionUp:[2,"propagateSelectionUp","propagateSelectionUp",T],propagateSelectionDown:[2,"propagateSelectionDown","propagateSelectionDown",T],loading:[2,"loading","loading",T],loadingIcon:"loadingIcon",emptyMessage:"emptyMessage",ariaLabel:"ariaLabel",togglerAriaLabel:"togglerAriaLabel",ariaLabelledBy:"ariaLabelledBy",validateDrop:[2,"validateDrop","validateDrop",T],filter:[2,"filter","filter",T],filterInputAutoFocus:[2,"filterInputAutoFocus","filterInputAutoFocus",T],filterBy:"filterBy",filterMode:"filterMode",filterOptions:"filterOptions",filterPlaceholder:"filterPlaceholder",filteredNodes:"filteredNodes",filterLocale:"filterLocale",scrollHeight:"scrollHeight",lazy:[2,"lazy","lazy",T],virtualScroll:[2,"virtualScroll","virtualScroll",T],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",q],virtualScrollOptions:"virtualScrollOptions",indentation:[2,"indentation","indentation",q],_templateMap:"_templateMap",trackBy:"trackBy",highlightOnSelect:[2,"highlightOnSelect","highlightOnSelect",T]},outputs:{selection:"selectionChange",contextMenuSelection:"contextMenuSelectionChange",onNodeSelect:"onNodeSelect",onNodeUnselect:"onNodeUnselect",onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onNodeContextMenuSelect:"onNodeContextMenuSelect",onNodeDoubleClick:"onNodeDoubleClick",onNodeDrop:"onNodeDrop",onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange",onFilter:"onFilter"},features:[re([Ee,{provide:Lt,useExisting:t},{provide:pe,useExisting:t}]),_e([O]),oe],decls:7,vars:6,consts:[["filter",""],["scroller",""],["content",""],["treeNode",""],["loader",""],["wrapper",""],["emptyFilter",""],[3,"class","pBind",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"class","pt","unstyled"],[4,"ngIf"],[3,"pBind"],["data-p-icon","spinner","spin","",3,"class","pBind",4,"ngIf"],["data-p-icon","spinner","spin","",3,"pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"class","pt","unstyled",4,"ngIf"],[3,"pt","unstyled"],["pInputText","","type","search","autocomplete","off",3,"keydown.enter","input","pAutoFocus","pt","unstyled"],["data-p-icon","search",3,"class","pBind",4,"ngIf"],["data-p-icon","search",3,"pBind"],["hostName","tree",3,"items","tabindex","styleClass","style","scrollHeight","itemSize","lazy","options","pt","onScroll","onScrollIndexChange","onLazyLoad",4,"ngIf"],["hostName","tree",3,"onScroll","onScrollIndexChange","onLazyLoad","items","tabindex","styleClass","scrollHeight","itemSize","lazy","options","pt"],["role","tree",3,"class","ngClass","style","pBind",4,"ngIf"],["role","tree",3,"ngClass","pBind"],[3,"level","rowNode","node","parentNode","firstChild","lastChild","index","itemSize","indentation","loadingMode","pt","unstyled",4,"ngFor","ngForOf","ngForTrackBy"],[3,"level","rowNode","node","parentNode","firstChild","lastChild","index","itemSize","indentation","loadingMode","pt","unstyled"],["role","tree",3,"class","pBind",4,"ngIf"],["role","tree",3,"pBind"],[3,"node","firstChild","lastChild","index","level","loadingMode","pt","unstyled",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","firstChild","lastChild","index","level","loadingMode","pt","unstyled"],[4,"ngIf","ngIfElse"]],template:function(i,n){if(i&1&&(d(0,zn,3,5,"div",7)(1,Qn,1,0,"ng-container",8),Q(2,$n,1,4,"ng-container")(3,Yn,1,1,"p-iconfield",9),d(4,ai,3,2,"ng-container",10)(5,pi,3,6,"div",7)(6,ui,1,0,"ng-container",8)),i&2){let o;a("ngIf",n.loading&&n.loadingMode==="mask"),c(),a("ngTemplateOutlet",n.headerTemplate||n._headerTemplate),c(),U(n.filterTemplate||n._filterTemplate?2:3),c(2),a("ngIf",(o=n.getRootNode())==null?null:o.length),c(),a("ngIf",!n.loading&&(n.getRootNode()==null||n.getRootNode().length===0)),c(),a("ngTemplateOutlet",n.footerTemplate||n._footerTemplate)}},dependencies:[K,nt,ae,se,j,Dt,P,St,Qe,bt,ce,Et,kt,fi,mt,Ie,O],encapsulation:2,changeDetection:0})}return t})(),lr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=he({type:t});static \u0275inj=fe({imports:[ke,P,P]})}return t})();var zt=`
|
|
186
|
+
.p-treeselect {
|
|
187
|
+
display: inline-flex;
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
position: relative;
|
|
190
|
+
user-select: none;
|
|
191
|
+
background: dt('treeselect.background');
|
|
192
|
+
border: 1px solid dt('treeselect.border.color');
|
|
193
|
+
transition:
|
|
194
|
+
background dt('treeselect.transition.duration'),
|
|
195
|
+
color dt('treeselect.transition.duration'),
|
|
196
|
+
border-color dt('treeselect.transition.duration'),
|
|
197
|
+
outline-color dt('treeselect.transition.duration'),
|
|
198
|
+
box-shadow dt('treeselect.transition.duration');
|
|
199
|
+
border-radius: dt('treeselect.border.radius');
|
|
200
|
+
outline-color: transparent;
|
|
201
|
+
box-shadow: dt('treeselect.shadow');
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.p-treeselect:not(.p-disabled):hover {
|
|
205
|
+
border-color: dt('treeselect.hover.border.color');
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.p-treeselect:not(.p-disabled).p-focus {
|
|
209
|
+
border-color: dt('treeselect.focus.border.color');
|
|
210
|
+
box-shadow: dt('treeselect.focus.ring.shadow');
|
|
211
|
+
outline: dt('treeselect.focus.ring.width') dt('treeselect.focus.ring.style') dt('treeselect.focus.ring.color');
|
|
212
|
+
outline-offset: dt('treeselect.focus.ring.offset');
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.p-treeselect.p-variant-filled {
|
|
216
|
+
background: dt('treeselect.filled.background');
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.p-treeselect.p-variant-filled:not(.p-disabled):hover {
|
|
220
|
+
background: dt('treeselect.filled.hover.background');
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.p-treeselect.p-variant-filled.p-focus {
|
|
224
|
+
background: dt('treeselect.filled.focus.background');
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.p-treeselect.p-invalid {
|
|
228
|
+
border-color: dt('treeselect.invalid.border.color');
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.p-treeselect.p-disabled {
|
|
232
|
+
opacity: 1;
|
|
233
|
+
background: dt('treeselect.disabled.background');
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.p-treeselect-clear-icon {
|
|
237
|
+
align-self: center;
|
|
238
|
+
color: dt('treeselect.clear.icon.color');
|
|
239
|
+
inset-inline-end: dt('treeselect.dropdown.width');
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.p-treeselect-dropdown {
|
|
243
|
+
display: flex;
|
|
244
|
+
align-items: center;
|
|
245
|
+
justify-content: center;
|
|
246
|
+
flex-shrink: 0;
|
|
247
|
+
background: transparent;
|
|
248
|
+
color: dt('treeselect.dropdown.color');
|
|
249
|
+
width: dt('treeselect.dropdown.width');
|
|
250
|
+
border-start-end-radius: dt('border.radius.md');
|
|
251
|
+
border-end-end-radius: dt('border.radius.md');
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.p-treeselect-label-container {
|
|
255
|
+
overflow: hidden;
|
|
256
|
+
flex: 1 1 auto;
|
|
257
|
+
cursor: pointer;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.p-treeselect-label {
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
gap: calc(dt('treeselect.padding.y') / 2);
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
cursor: pointer;
|
|
266
|
+
overflow: hidden;
|
|
267
|
+
text-overflow: ellipsis;
|
|
268
|
+
padding: dt('treeselect.padding.y') dt('treeselect.padding.x');
|
|
269
|
+
color: dt('treeselect.color');
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.p-treeselect-label.p-placeholder {
|
|
273
|
+
color: dt('treeselect.placeholder.color');
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.p-treeselect.p-invalid .p-treeselect-label.p-placeholder {
|
|
277
|
+
color: dt('treeselect.invalid.placeholder.color');
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.p-treeselect:has(.p-select-clear-icon) .p-treeselect-label {
|
|
281
|
+
padding-inline-end: dt('treeselect.padding.x');
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.p-treeselect.p-disabled .p-treeselect-label {
|
|
285
|
+
color: dt('treeselect.disabled.color');
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.p-treeselect-label-empty {
|
|
289
|
+
overflow: hidden;
|
|
290
|
+
visibility: hidden;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.p-treeselect-overlay {
|
|
294
|
+
position: absolute;
|
|
295
|
+
top: 0;
|
|
296
|
+
left: 0;
|
|
297
|
+
background: dt('treeselect.overlay.background');
|
|
298
|
+
color: dt('treeselect.overlay.color');
|
|
299
|
+
border: 1px solid dt('treeselect.overlay.border.color');
|
|
300
|
+
border-radius: dt('treeselect.overlay.border.radius');
|
|
301
|
+
box-shadow: dt('treeselect.overlay.shadow');
|
|
302
|
+
overflow: hidden;
|
|
303
|
+
min-width: 100%;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.p-treeselect-tree-container {
|
|
307
|
+
overflow: auto;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.p-treeselect-empty-message {
|
|
311
|
+
padding: dt('treeselect.empty.message.padding');
|
|
312
|
+
background: transparent;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.p-treeselect-fluid {
|
|
316
|
+
display: flex;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.p-treeselect-overlay .p-tree {
|
|
320
|
+
padding: dt('treeselect.tree.padding');
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.p-treeselect-overlay .p-tree-loading {
|
|
324
|
+
min-height: 3rem;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.p-treeselect-label .p-chip {
|
|
328
|
+
padding-block-start: calc(dt('treeselect.padding.y') / 2);
|
|
329
|
+
padding-block-end: calc(dt('treeselect.padding.y') / 2);
|
|
330
|
+
border-radius: dt('treeselect.chip.border.radius');
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.p-treeselect-label:has(.p-chip) {
|
|
334
|
+
padding: calc(dt('treeselect.padding.y') / 2) calc(dt('treeselect.padding.x') / 2);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.p-treeselect-sm .p-treeselect-label {
|
|
338
|
+
font-size: dt('treeselect.sm.font.size');
|
|
339
|
+
padding-block: dt('treeselect.sm.padding.y');
|
|
340
|
+
padding-inline: dt('treeselect.sm.padding.x');
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.p-treeselect-sm .p-treeselect-dropdown .p-icon {
|
|
344
|
+
font-size: dt('treeselect.sm.font.size');
|
|
345
|
+
width: dt('treeselect.sm.font.size');
|
|
346
|
+
height: dt('treeselect.sm.font.size');
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.p-treeselect-lg .p-treeselect-label {
|
|
350
|
+
font-size: dt('treeselect.lg.font.size');
|
|
351
|
+
padding-block: dt('treeselect.lg.padding.y');
|
|
352
|
+
padding-inline: dt('treeselect.lg.padding.x');
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.p-treeselect-lg .p-treeselect-dropdown .p-icon {
|
|
356
|
+
font-size: dt('treeselect.lg.font.size');
|
|
357
|
+
width: dt('treeselect.lg.font.size');
|
|
358
|
+
height: dt('treeselect.lg.font.size');
|
|
359
|
+
}
|
|
360
|
+
`;var mi=["value"],hi=["header"],_i=["empty"],yi=["footer"],bi=["clearicon"],Ti=["triggericon"],vi=["dropdownicon"],xi=["filtericon"],Ci=["closeicon"],Si=["itemtogglericon"],Ni=["itemcheckboxicon"],Ii=["itemloadingicon"],wi=["focusInput"],Ei=["filter"],ki=["tree"],Mi=["panel"],Di=["overlay"],Vi=["firstHiddenFocusableEl"],Oi=["lastHiddenFocusableEl"],Fi=(t,r)=>({$implicit:t,placeholder:r}),Qt=(t,r)=>({$implicit:t,options:r}),Bi=t=>({"max-height":t}),Li=t=>({$implicit:t}),Ai=(t,r)=>({$implicit:t,partialSelected:r});function Pi(t,r){t&1&&N(0)}function Hi(t,r){if(t&1&&(w(0),d(1,Pi,1,0,"ng-container",23),E()),t&2){let e=s();c(),a("ngTemplateOutlet",e.valueTemplate||e._valueTemplate)("ngTemplateOutletContext",$(2,Fi,e.value,e.placeholder))}}function Ri(t,r){if(t&1&&(w(0),L(1),E()),t&2){let e=s(2);c(),X(" ",e.label||"empty"," ")}}function zi(t,r){if(t&1&&(m(0,"div",15),I(1,"p-chip",25),y()),t&2){let e=r.$implicit,i=s(3);f(i.cx("chipItem")),a("pBind",i.ptm("chipItem")),c(),f(i.cx("pcChip")),a("label",e.label)("pt",i.ptm("pcChip"))}}function Qi(t,r){if(t&1&&(w(0),L(1),E()),t&2){let e=s(3);c(),ye(e.placeholder||"empty")}}function Ui(t,r){if(t&1&&d(0,zi,2,7,"div",24)(1,Qi,2,1,"ng-container",18),t&2){let e=s(2);a("ngForOf",e.value),c(),a("ngIf",e.emptyValue)}}function $i(t,r){if(t&1&&d(0,Ri,2,1,"ng-container",17)(1,Ui,2,2,"ng-template",null,4,k),t&2){let e=Y(2),i=s();a("ngIf",i.display==="comma")("ngIfElse",e)}}function qi(t,r){if(t&1){let e=V();B(),m(0,"svg",28),C("click",function(n){u(e);let o=s(2);return g(o.clear(n))}),y()}if(t&2){let e=s(2);f(e.cx("clearIcon")),a("pBind",e.ptm("clearIcon"))}}function ji(t,r){}function Ki(t,r){t&1&&d(0,ji,0,0,"ng-template")}function Wi(t,r){if(t&1){let e=V();m(0,"span",29),C("click",function(n){u(e);let o=s(2);return g(o.clear(n))}),d(1,Ki,1,0,null,30),y()}if(t&2){let e=s(2);f(e.cx("clearIcon")),a("pBind",e.ptm("clearIcon")),c(),a("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function Gi(t,r){if(t&1&&(w(0),d(1,qi,1,3,"svg",26)(2,Wi,2,4,"span",27),E()),t&2){let e=s();c(),a("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),c(),a("ngIf",e.clearIconTemplate||e.clearIconTemplate)}}function Yi(t,r){if(t&1&&(B(),I(0,"svg",31)),t&2){let e=s();f(e.cx("dropdownIcon")),a("pBind",e.ptm("dropdownIcon"))}}function Ji(t,r){}function Xi(t,r){t&1&&d(0,Ji,0,0,"ng-template")}function Zi(t,r){if(t&1&&(m(0,"span",15),d(1,Xi,1,0,null,30),y()),t&2){let e=s();f(e.cx("dropdownIcon")),a("pBind",e.ptm("dropdownIcon")),c(),a("ngTemplateOutlet",e.triggerIconTemplate||e._triggerIconTemplate||e.dropdownIconTemplate||e._dropdownIconTemplate)}}function eo(t,r){t&1&&N(0)}function to(t,r){t&1&&N(0)}function no(t,r){if(t&1&&d(0,to,1,0,"ng-container",30),t&2){let e=s(3);a("ngTemplateOutlet",e.emptyTemplate||e._emptyTemplate)}}function io(t,r){t&1&&(w(0),d(1,no,1,1,"ng-template",null,9,k),E())}function oo(t,r){t&1&&N(0)}function ro(t,r){if(t&1&&d(0,oo,1,0,"ng-container",23),t&2){let e=r.$implicit,i=s(3);a("ngTemplateOutlet",i.itemTogglerIconTemplate||i._itemTogglerIconTemplate)("ngTemplateOutletContext",A(2,Li,e))}}function lo(t,r){t&1&&d(0,ro,1,4,"ng-template",null,10,k)}function ao(t,r){t&1&&N(0)}function so(t,r){if(t&1&&d(0,ao,1,0,"ng-container",23),t&2){let e=r.$implicit,i=r.partialSelected,n=s(3);a("ngTemplateOutlet",n.itemCheckboxIconTemplate||n._itemCheckboxIconTemplate)("ngTemplateOutletContext",$(2,Ai,e,i))}}function co(t,r){t&1&&d(0,so,1,5,"ng-template",null,11,k)}function po(t,r){t&1&&N(0)}function uo(t,r){if(t&1&&d(0,po,1,0,"ng-container",30),t&2){let e=s(3);a("ngTemplateOutlet",e.itemLoadingIconTemplate||e._itemLoadingIconTemplate)}}function go(t,r){t&1&&d(0,uo,1,1,"ng-template",null,12,k)}function fo(t,r){t&1&&N(0)}function mo(t,r){if(t&1){let e=V();m(0,"div",16,5)(2,"span",32,6),C("focus",function(n){u(e);let o=s();return g(o.onFirstHiddenFocus(n))}),y(),d(4,eo,1,0,"ng-container",23),m(5,"div",16)(6,"p-tree",33,7),C("selectionChange",function(n){u(e);let o=s();return g(o.onSelectionChange(n))})("onNodeExpand",function(n){u(e);let o=s();return g(o.nodeExpand(n))})("onNodeCollapse",function(n){u(e);let o=s();return g(o.nodeCollapse(n))})("onNodeSelect",function(n){u(e);let o=s();return g(o.onSelect(n))})("onNodeUnselect",function(n){u(e);let o=s();return g(o.onUnselect(n))}),d(8,io,3,0,"ng-container",18)(9,lo,2,0,null,18)(10,co,2,0,null,18)(11,go,2,0,null,18),y()(),d(12,fo,1,0,"ng-container",23),m(13,"span",32,8),C("focus",function(n){u(e);let o=s();return g(o.onLastHiddenFocus(n))}),y()()}if(t&2){let e=s();f(e.cn(e.cx("panel"),e.panelStyleClass,e.panelClass)),a("ngStyle",e.panelStyle)("pBind",e.ptm("panel")),S("id",e.listId),c(2),a("pBind",e.ptm("hiddenFirstFocusableEl")),S("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),c(2),a("ngTemplateOutlet",e.headerTemplate||e._headerTemplate)("ngTemplateOutletContext",$(46,Qt,e.value,e.options)),c(),f(e.cx("treeContainer")),a("ngStyle",A(49,Bi,e.scrollHeight))("pBind",e.ptm("treeContainer")),c(),a("value",e.options)("propagateSelectionDown",e.propagateSelectionDown)("propagateSelectionUp",e.propagateSelectionUp)("selectionMode",e.selectionMode)("selection",e.value)("metaKeySelection",e.metaKeySelection)("emptyMessage",e.emptyMessage)("filter",e.filter)("filterBy",e.filterBy)("filterMode",e.filterMode)("filterPlaceholder",e.filterPlaceholder)("filterLocale",e.filterLocale)("filteredNodes",e.filteredNodes)("virtualScroll",e.virtualScroll)("virtualScrollItemSize",e.virtualScrollItemSize)("virtualScrollOptions",e.virtualScrollOptions)("_templateMap",e.templateMap)("loading",e.loading)("filterInputAutoFocus",e.filterInputAutoFocus)("pt",e.ptm("pcTree"))("loadingMode",e.loadingMode),c(2),a("ngIf",e.emptyTemplate||e._emptyTemplate),c(),a("ngIf",e.itemTogglerIconTemplate||e._itemTogglerIconTemplate),c(),a("ngIf",e.itemCheckboxIconTemplate||e._itemCheckboxIconTemplate),c(),a("ngIf",e.itemLoadingIconTemplate||e._itemLoadingIconTemplate),c(),a("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",$(51,Qt,e.value,e.options)),c(),a("pBind",e.ptm("hiddenLastFocusableEl")),S("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}var ho=`
|
|
361
|
+
${zt}
|
|
362
|
+
|
|
363
|
+
/* For PrimeNG */
|
|
364
|
+
|
|
365
|
+
.p-treeselect.ng-invalid.ng-dirty {
|
|
366
|
+
border-color: dt('treeselect.invalid.border.color');
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
p-treeselect.ng-invalid.ng-dirty.p-focus {
|
|
370
|
+
border-color: dt('treeselect.focus.border.color');
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
p-treeselect.ng-invalid.ng-dirty .p-treeselect-label.p-placeholder {
|
|
374
|
+
color: dt('treeselect.invalid.placeholder.color');
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.p-treeselect-clear-icon.p-icon {
|
|
378
|
+
flex-shrink: 0;
|
|
379
|
+
}
|
|
380
|
+
`,_o={root:({instance:t})=>te({position:t.$appendTo()==="self"?"relative":void 0},t.containerStyle)},yo={root:({instance:t})=>["p-treeselect p-component p-inputwrapper",{"p-treeselect-display-chip":t.display==="chip","p-disabled":t.$disabled(),"p-invalid":t.invalid(),"p-focus":t.focused,"p-variant-filled":t.$variant()==="filled","p-inputwrapper-filled":!t.emptyValue,"p-inputwrapper-focus":t.focused||t.overlayVisible,"p-treeselect-open":t.overlayVisible,"p-treeselect-clearable":t.showClear,"p-treeselect-fluid":t.hasFluid,"p-treeselect-sm p-inputfield-sm":t.size()==="small","p-treeselect-lg p-inputfield-lg":t.size()==="large"}],labelContainer:"p-treeselect-label-container",label:({instance:t})=>["p-treeselect-label",{"p-placeholder":t.label===t.placeholder,"p-treeselect-label-empty":!t.placeholder&&t.emptyValue}],clearIcon:"p-treeselect-clear-icon",chip:"p-treeselect-chip-item",pcChip:"p-treeselect-chip",dropdown:"p-treeselect-dropdown",dropdownIcon:"p-treeselect-dropdown-icon",panel:"p-treeselect-overlay p-component-overlay p-component",treeContainer:"p-treeselect-tree-container",emptyMessage:"p-treeselect-empty-message"},Ut=(()=>{class t extends Ne{name="treeselect";style=ho;classes=yo;inlineStyles=_o;static \u0275fac=(()=>{let e;return function(n){return(e||(e=G(t)))(n||t)}})();static \u0275prov=W({token:t,factory:t.\u0275fac})}return t})();var bo={provide:rt,useExisting:ge(()=>Me),multi:!0},$t=new ne("TREESELECT_INSTANCE"),Me=(()=>{class t extends ht{$pcTreeSelect=M($t,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=M(O,{self:!0});_componentStyle=M(Ut);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}inputId;scrollHeight="400px";metaKeySelection=!1;display="comma";selectionMode="single";tabindex="0";ariaLabel;ariaLabelledBy;placeholder;panelClass;panelStyle;panelStyleClass;containerStyle;containerStyleClass;labelStyle;labelStyleClass;overlayOptions;emptyMessage="";filter=!1;filterBy="label";filterMode="lenient";filterPlaceholder;filterLocale;filterInputAutoFocus=!0;propagateSelectionDown=!0;propagateSelectionUp=!0;showClear=!1;resetFilterOnHide=!0;virtualScroll;virtualScrollItemSize;virtualScrollOptions;autofocus;get options(){return this._options}set options(e){this._options=e,this.updateTreeState()}loading;loadingMode="mask";size=le();variant=le();fluid=le(void 0,{transform:T});appendTo=le(void 0);onNodeExpand=new x;onNodeCollapse=new x;onShow=new x;onHide=new x;onClear=new x;onFilter=new x;onFocus=new x;onBlur=new x;onNodeUnselect=new x;onNodeSelect=new x;$appendTo=F(()=>this.appendTo()||this.config.overlayAppendTo());focusInput;filterViewChild;treeViewChild;panelEl;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;$variant=F(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());pcFluid=M(yt,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}filteredNodes;filterValue=null;serializedValue;valueTemplate;headerTemplate;emptyTemplate;footerTemplate;clearIconTemplate;triggerIconTemplate;dropdownIconTemplate;filterIconTemplate;closeIconTemplate;itemTogglerIconTemplate;itemCheckboxIconTemplate;itemLoadingIconTemplate;templates;_valueTemplate;_headerTemplate;_emptyTemplate;_footerTemplate;_clearIconTemplate;_triggerIconTemplate;_filterIconTemplate;_closeIconTemplate;_itemTogglerIconTemplate;_itemCheckboxIconTemplate;_itemLoadingIconTemplate;_dropdownIconTemplate;focused;overlayVisible;value;expandedNodes=[];_options;templateMap;listId="";onHostClick(e){this.onClick(e)}onInit(){this.listId=ut("pn_id_")+"_list",this.updateTreeState()}onAfterContentInit(){this.templates.length&&(this.templateMap={}),this.templates.forEach(e=>{switch(e.getType()){case"value":this._valueTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"empty":this._emptyTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"triggericon":this._triggerIconTemplate=e.template;break;case"filtericon":this._filterIconTemplate=e.template;break;case"closeicon":this._closeIconTemplate=e.template;break;case"itemtogglericon":this._itemTogglerIconTemplate=e.template;break;case"itemcheckboxicon":this._itemCheckboxIconTemplate=e.template;break;case"dropdownicon":this._dropdownIconTemplate=e.template;break;case"itemloadingicon":this._itemLoadingIconTemplate=e.template;break;default:e.name?this.templateMap[e.name]=e.template:this.valueTemplate=e.template;break}})}onOverlayAnimationStart(e){switch(e.toState){case"visible":if(this.filter)He(this.filterValue)&&this.treeViewChild?._filter(this.filterValue),this.filterInputAutoFocus&&this.filterViewChild?.nativeElement.focus();else{let i=de(this.panelEl?.nativeElement);i&&i.length>0&&i[0].focus()}break}}onOverlayBeforeHide(e){let i=de(this.el.nativeElement);i&&i.length>0&&i[0].focus()}onSelectionChange(e){this.value=e,this.onModelChange(this.value),this.cd.markForCheck()}onClick(e){this.$disabled()||!this.overlayViewChild?.el?.nativeElement?.contains(e.target)&&!Se(e.target,"p-treeselect-close")&&!Se(e.target,"p-checkbox-box")&&!Se(e.target,"p-checkbox-icon")&&(this.overlayVisible?this.hide():this.show(),this.focusInput?.nativeElement.focus())}onKeyDown(e){switch(e.code){case"ArrowDown":this.overlayVisible||(this.show(),e.preventDefault()),this.onArrowDown(e),e.preventDefault();break;case"Space":case"Enter":this.overlayVisible||(this.show(),e.preventDefault());break;case"Escape":this.overlayVisible&&(this.hide(),this.focusInput?.nativeElement.focus(),e.preventDefault());break;case"Tab":this.onTabKey(e);break;default:break}}onFilterInput(e){this.filterValue=e.target.value,this.treeViewChild?._filter(this.filterValue),this.onFilter.emit({filter:this.filterValue,filteredValue:this.treeViewChild?.filteredNodes}),setTimeout(()=>{this.overlayViewChild?.alignOverlay()})}onArrowDown(e){if(this.overlayVisible&&this.panelEl?.nativeElement){let i=de(this.panelEl.nativeElement,".p-tree-node");i&&i.length>0&&i[0].focus(),e.preventDefault()}}onFirstHiddenFocus(e){let i=e.relatedTarget===this.focusInput?.nativeElement?st(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;Z(i)}onLastHiddenFocus(e){let i=e.relatedTarget===this.focusInput?.nativeElement?ct(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;Z(i)}show(){this.overlayVisible=!0}hide(e){this.overlayVisible=!1,this.resetFilter(),this.onHide.emit(e),this.cd.markForCheck()}clear(e){this.value=null,this.resetExpandedNodes(),this.resetPartialSelected(),this.onModelChange(this.value),this.onClear.emit(),e.stopPropagation()}checkValue(){return this.value!==null&&He(this.value)}onTabKey(e,i=!1){i||(this.overlayVisible&&this.hasFocusableElements()?(Z(e.shiftKey?this.lastHiddenFocusableElementOnOverlay?.nativeElement:this.firstHiddenFocusableElementOnOverlay?.nativeElement),e.preventDefault()):this.overlayVisible&&this.hide(this.filter))}hasFocusableElements(){return de(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}resetFilter(){this.filter&&!this.resetFilterOnHide?(this.filteredNodes=this.treeViewChild?.filteredNodes,this.treeViewChild?.resetFilter()):this.filterValue=null}updateTreeState(){if(this.value){let e=this.selectionMode==="single"?[this.value]:[...this.value];this.resetExpandedNodes(),this.resetPartialSelected(),e&&this.options&&this.updateTreeBranchState(null,null,e)}}updateTreeBranchState(e,i,n){if(e){if(this.isSelected(e)&&(this.expandPath(i),n.splice(n.indexOf(e),1)),n.length>0&&e.children)for(let o of e.children)this.updateTreeBranchState(o,[...i,e],n)}else for(let o of this.options)this.updateTreeBranchState(o,[],n)}expandPath(e){for(let i of e)i.expanded=!0;this.expandedNodes=[...e]}nodeExpand(e){this.onNodeExpand.emit(e),this.expandedNodes.push(e.node),setTimeout(()=>{this.overlayViewChild?.alignOverlay()})}nodeCollapse(e){this.onNodeCollapse.emit(e),this.expandedNodes.splice(this.expandedNodes.indexOf(e.node),1),setTimeout(()=>{this.overlayViewChild?.alignOverlay()})}resetExpandedNodes(){for(let e of this.expandedNodes)e.expanded=!1;this.expandedNodes=[]}resetPartialSelected(e=this.options){if(e)for(let i of e)i.partialSelected=!1,i.children&&i.children?.length>0&&this.resetPartialSelected(i.children)}findSelectedNodes(e,i,n){if(e){if(this.isSelected(e)&&(n.push(e),delete i[e.key]),Object.keys(i).length&&e.children)for(let o of e.children)this.findSelectedNodes(o,i,n)}else for(let o of this.options)this.findSelectedNodes(o,i,n)}isSelected(e){return this.findIndexInSelection(e)!=-1}findIndexInSelection(e){let i=-1;if(this.value)if(this.selectionMode==="single")i=this.value.key&&this.value.key===e.key||this.value==e?0:-1;else for(let n=0;n<this.value.length;n++){let o=this.value[n];if(o.key&&o.key===e.key||o==e){i=n;break}}return i}onSelect(e){this.onNodeSelect.emit(e),this.selectionMode==="single"&&(this.hide(),this.focusInput?.nativeElement.focus())}onUnselect(e){this.onNodeUnselect.emit(e)}onInputFocus(e){this.$disabled()||(this.focused=!0,this.onFocus.emit(e))}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.onModelTouched()}writeControlValue(e){this.value=e,this.updateTreeState(),this.cd.markForCheck()}get emptyValue(){return!this.value||Object.keys(this.value).length===0}get emptyOptions(){return!this.options||this.options.length===0}get label(){let e=this.value||[];return e.length?e.map(i=>i.label).join(", "):this.selectionMode==="single"&&this.value?e.label:this.placeholder}static \u0275fac=(()=>{let e;return function(n){return(e||(e=G(t)))(n||t)}})();static \u0275cmp=z({type:t,selectors:[["p-treeSelect"],["p-treeselect"],["p-tree-select"]],contentQueries:function(i,n,o){if(i&1&&(v(o,mi,4),v(o,hi,4),v(o,_i,4),v(o,yi,4),v(o,bi,4),v(o,Ti,4),v(o,vi,4),v(o,xi,4),v(o,Ci,4),v(o,Si,4),v(o,Ni,4),v(o,Ii,4),v(o,ee,4)),i&2){let l;h(l=_())&&(n.valueTemplate=l.first),h(l=_())&&(n.headerTemplate=l.first),h(l=_())&&(n.emptyTemplate=l.first),h(l=_())&&(n.footerTemplate=l.first),h(l=_())&&(n.clearIconTemplate=l.first),h(l=_())&&(n.triggerIconTemplate=l.first),h(l=_())&&(n.dropdownIconTemplate=l.first),h(l=_())&&(n.filterIconTemplate=l.first),h(l=_())&&(n.closeIconTemplate=l.first),h(l=_())&&(n.itemTogglerIconTemplate=l.first),h(l=_())&&(n.itemCheckboxIconTemplate=l.first),h(l=_())&&(n.itemLoadingIconTemplate=l.first),h(l=_())&&(n.templates=l)}},viewQuery:function(i,n){if(i&1&&(D(wi,5),D(Ei,5),D(ki,5),D(Mi,5),D(Di,5),D(Vi,5),D(Oi,5)),i&2){let o;h(o=_())&&(n.focusInput=o.first),h(o=_())&&(n.filterViewChild=o.first),h(o=_())&&(n.treeViewChild=o.first),h(o=_())&&(n.panelEl=o.first),h(o=_())&&(n.overlayViewChild=o.first),h(o=_())&&(n.firstHiddenFocusableElementOnOverlay=o.first),h(o=_())&&(n.lastHiddenFocusableElementOnOverlay=o.first)}},hostVars:4,hostBindings:function(i,n){i&1&&C("mousedown",function(l){return n.onHostClick(l)}),i&2&&(J(n.sx("root")),f(n.cn(n.cx("root"),n.containerStyleClass)))},inputs:{inputId:"inputId",scrollHeight:"scrollHeight",metaKeySelection:[2,"metaKeySelection","metaKeySelection",T],display:"display",selectionMode:"selectionMode",tabindex:"tabindex",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",placeholder:"placeholder",panelClass:"panelClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",containerStyle:"containerStyle",containerStyleClass:"containerStyleClass",labelStyle:"labelStyle",labelStyleClass:"labelStyleClass",overlayOptions:"overlayOptions",emptyMessage:"emptyMessage",filter:[2,"filter","filter",T],filterBy:"filterBy",filterMode:"filterMode",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",filterInputAutoFocus:[2,"filterInputAutoFocus","filterInputAutoFocus",T],propagateSelectionDown:[2,"propagateSelectionDown","propagateSelectionDown",T],propagateSelectionUp:[2,"propagateSelectionUp","propagateSelectionUp",T],showClear:[2,"showClear","showClear",T],resetFilterOnHide:[2,"resetFilterOnHide","resetFilterOnHide",T],virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",autofocus:[2,"autofocus","autofocus",T],options:"options",loading:[2,"loading","loading",T],loadingMode:"loadingMode",size:[1,"size"],variant:[1,"variant"],fluid:[1,"fluid"],appendTo:[1,"appendTo"]},outputs:{onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onShow:"onShow",onHide:"onHide",onClear:"onClear",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onNodeUnselect:"onNodeUnselect",onNodeSelect:"onNodeSelect"},features:[re([bo,Ut,{provide:$t,useExisting:t},{provide:pe,useExisting:t}]),_e([O]),oe],decls:16,vars:35,consts:[["focusInput",""],["defaultValueTemplate",""],["overlay",""],["content",""],["chipsValueTemplate",""],["panel",""],["firstHiddenFocusableEl",""],["tree",""],["lastHiddenFocusableEl",""],["empty",""],["togglericon",""],["checkboxicon",""],["loadingicon",""],[1,"p-hidden-accessible",3,"pBind"],["type","text","role","combobox","readonly","",3,"focus","blur","keydown","pAutoFocus","pBind"],[3,"pBind"],[3,"ngStyle","pBind"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["role","button","aria-haspopup","tree",3,"pBind"],["data-p-icon","chevron-down",3,"class","pBind",4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"visibleChange","onAnimationStart","onBeforeHide","onShow","onHide","hostAttrSelector","visible","options","target","appendTo","pt"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"class","pBind",4,"ngFor","ngForOf"],[3,"label","pt"],["data-p-icon","times",3,"class","pBind","click",4,"ngIf"],[3,"class","pBind","click",4,"ngIf"],["data-p-icon","times",3,"click","pBind"],[3,"click","pBind"],[4,"ngTemplateOutlet"],["data-p-icon","chevron-down",3,"pBind"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus","pBind"],[3,"selectionChange","onNodeExpand","onNodeCollapse","onNodeSelect","onNodeUnselect","value","propagateSelectionDown","propagateSelectionUp","selectionMode","selection","metaKeySelection","emptyMessage","filter","filterBy","filterMode","filterPlaceholder","filterLocale","filteredNodes","virtualScroll","virtualScrollItemSize","virtualScrollOptions","_templateMap","loading","filterInputAutoFocus","pt","loadingMode"]],template:function(i,n){if(i&1){let o=V();m(0,"div",13)(1,"input",14,0),C("focus",function(p){return u(o),g(n.onInputFocus(p))})("blur",function(p){return u(o),g(n.onInputBlur(p))})("keydown",function(p){return u(o),g(n.onKeyDown(p))}),y()(),m(3,"div",15)(4,"div",16),d(5,Hi,2,5,"ng-container",17)(6,$i,3,2,"ng-template",null,1,k),y()(),d(8,Gi,3,2,"ng-container",18),m(9,"div",19),d(10,Yi,1,3,"svg",20)(11,Zi,2,4,"span",21),y(),m(12,"p-overlay",22,2),Je("visibleChange",function(p){return u(o),Ye(n.overlayVisible,p)||(n.overlayVisible=p),g(p)}),C("onAnimationStart",function(p){return u(o),g(n.onOverlayAnimationStart(p))})("onBeforeHide",function(p){return u(o),g(n.onOverlayBeforeHide(p))})("onShow",function(p){return u(o),g(n.onShow.emit(p))})("onHide",function(p){return u(o),g(n.hide(p))}),d(14,mo,15,54,"ng-template",null,3,k),y()}if(i&2){let o=Y(7);a("pBind",n.ptm("hiddenInputContainer")),S("data-p-hidden-accessible",!0),c(),a("pAutoFocus",n.autofocus)("pBind",n.ptm("hiddenInput")),S("id",n.inputId)("disabled",n.$disabled()?"":void 0)("tabindex",n.$disabled()?-1:n.tabindex)("aria-controls",n.overlayVisible?n.listId:null)("aria-haspopup","tree")("aria-expanded",n.overlayVisible??!1)("aria-labelledby",n.ariaLabelledBy)("aria-label",n.ariaLabel||(n.label==="p-emptylabel"?void 0:n.label)),c(2),f(n.cx("labelContainer")),a("pBind",n.ptm("labelContainer")),c(),f(n.cn(n.cx("label"),n.labelStyleClass)),a("ngStyle",n.labelStyle)("pBind",n.ptm("label")),c(),a("ngIf",n.valueTemplate||n._valueTemplate)("ngIfElse",o),c(3),a("ngIf",n.checkValue()&&!n.$disabled()&&n.showClear),c(),f(n.cx("dropdown")),a("pBind",n.ptm("dropdown")),S("aria-expanded",n.overlayVisible??!1)("aria-label","treeselect trigger"),c(),a("ngIf",!n.triggerIconTemplate&&!n._triggerIconTemplate&&!n.dropdownIconTemplate&&!n._dropdownIconTemplate),c(),a("ngIf",n.triggerIconTemplate||n._triggerIconTemplate||n.dropdownIconTemplate||n._dropdownIconTemplate),c(),a("hostAttrSelector",n.$attrSelector),Ge("visible",n.overlayVisible),a("options",n.overlayOptions)("target","@parent")("appendTo",n.$appendTo())("pt",n.ptm("pcOverlay"))}},dependencies:[K,ae,se,j,be,wt,P,ke,Ie,Nt,we,It,O],encapsulation:2,changeDetection:0})}return t})(),qt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=he({type:t});static \u0275inj=fe({imports:[Me,P,P]})}return t})();var De=class t{signalRClient=M(ot);continuedCategories$;allCategories$;_onOpenTreeSelector=new $e;onOpenTreeSelector$=this._onOpenTreeSelector.asObservable();constructor(r){this.continuedCategories$=this.onOpenTreeSelector$.pipe(Be(this.signalRClient.recacheCategory$),Fe((e,[i,n])=>n||!e.length?(this.signalRClient.resetCategoryCache(),r.get("/API/catalog/category/ActiveOptions")):Ve(e),[]),Oe(1)),this.allCategories$=this.onOpenTreeSelector$.pipe(Be(this.signalRClient.recacheCategory$),Fe((e,[i,n])=>n||!e.length?r.get("/API/catalog/category/SelectOptions"):Ve(e),[]),Oe(1))}onOpenTreeSelector(){this._onOpenTreeSelector.next(!0)}forceLoadCategories(){this._onOpenTreeSelector.next(!0)}static \u0275fac=function(e){return new(e||t)(je(Ce))};static \u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"})};function Co(t,r){t&1&&N(0)}function So(t,r){if(t&1&&(m(0,"p-floatLabel",1),d(1,Co,1,0,"ng-container",2),m(2,"label",3),L(3,"Category"),y()()),t&2){s();let e=Y(3);c(),a("ngTemplateOutlet",e)}}function No(t,r){t&1&&N(0)}function Io(t,r){if(t&1&&d(0,No,1,0,"ng-container",2),t&2){s();let e=Y(3);a("ngTemplateOutlet",e)}}function wo(t,r){if(t&1&&(m(0,"div",6),L(1),y()),t&2){let e=s(2);a("matTooltip",e.selectedCategoryLabel),c(),X(" ",e.selectedCategoryLabel," ")}}function Eo(t,r){if(t&1){let e=V();m(0,"p-treeSelect",4),Ze(1,"async"),C("click",function(){u(e);let n=s();return g(n.loadCategories())})("ngModelChange",function(n){u(e);let o=s();return g(o.onSelectCategory(n))})("onClear",function(){u(e);let n=s();return g(n.onClear())}),d(2,wo,2,2,"ng-template",5),y()}if(t&2){let e=s();a("options",et(1,4,e.categories$))("ngModel",e.selectedCategory)("showClear",e.showClear)("placeholder",e.showLabel?"":e.placeholder)}}var jt=class t{constructor(r,e){this.http=r;this.treeSelector=e}continuedCategoriesOnly=!0;categories=[];showClear=!1;showLabel=!1;placeholder="Select Category";isInitializedCategoryLabel=!1;selectedCategory;selectedCategoryID;selectedCategoryIDChange=new x;onSelectedCategory=tt();selectedCategoryLabel;top=0;isLoadCategories=!1;categories$;ngAfterViewInit(){let r=document.querySelector("body");this.top=r.getBoundingClientRect().top*-1}ngOnInit(){this.isInitializedCategoryLabel&&(Te.IsEmpty(this.selectedCategoryID)&&Te.IsNotEmpty(this.categories)&&(this.selectedCategoryID=this.categories[0]?.key),this.selectedCategory=this.findSelectedCategory(this.categories,this.selectedCategoryID),this.generateLabelSelectedCategory(this.selectedCategory)),this.categories$=this.continuedCategoriesOnly?this.treeSelector.continuedCategories$:this.treeSelector.allCategories$,this.categories$=this.categories$.pipe(qe(r=>{this.selectedCategory=this.findSelectedCategory(r,this.selectedCategoryID),this.generateLabelSelectedCategory(this.selectedCategory)}))}onSelectCategory(r){this.selectedCategory=r,this.generateLabelSelectedCategory(this.selectedCategory),this.selectedCategoryID=r?.key,this.selectedCategoryIDChange.emit(this.selectedCategoryID),this.onSelectedCategory.emit(this.selectedCategory)}generateLabelSelectedCategory(r){if(r){let e=[];this.selectedCategoryLabel="";do e=[...e,r.label],r=r.parent;while(r!==void 0);this.selectedCategoryLabel=e.reverse().join("/")}else this.selectedCategoryLabel=this.placeholder}findSelectedCategory(r,e){if(Te.IsNotEmpty(e))for(let i of r){if(i.key===e)return i;{i.children=i.children?i.children:[],i.children=i.children.map(o=>(o.parent=i,o));let n=this.findSelectedCategory(i.children,e);if(n)return n}}else return null}loadCategories(){try{setTimeout(()=>{let r=document.querySelector(".p-overlay.p-component"),e=this.top+r.getBoundingClientRect().top,i=r.getAttribute("style")||"";r.setAttribute("style",`${i} top: ${e+this.top}px;`)},0)}catch(r){console.error("Error adjusting top position:",r)}finally{this.treeSelector.onOpenTreeSelector()}}onClear(){this.selectedCategoryID=null,this.selectedCategoryIDChange.emit(this.selectedCategoryID)}static \u0275fac=function(e){return new(e||t)(ie(Ce),ie(De))};static \u0275cmp=z({type:t,selectors:[["POS-product-category-select"]],inputs:{continuedCategoriesOnly:"continuedCategoriesOnly",categories:"categories",showClear:"showClear",showLabel:"showLabel",placeholder:"placeholder",isInitializedCategoryLabel:"isInitializedCategoryLabel",selectedCategoryID:"selectedCategoryID"},outputs:{selectedCategoryIDChange:"selectedCategoryIDChange",onSelectedCategory:"onSelectedCategory"},decls:4,vars:1,consts:[["categorySelectTemplate",""],["variant","on",1,"w-100"],[4,"ngTemplateOutlet"],["for","selectCategory",1,"tree-category-label",2,"z-index","99 !important"],["appendTo","body","selectionMode","single","filter","true","filterInputAutoFocus","true","scrollHeight","250px","inputId","selectCategory",3,"click","ngModelChange","onClear","options","ngModel","showClear","placeholder"],["pTemplate","value"],["matTooltipPosition","above",3,"matTooltip"]],template:function(e,i){e&1&&(Q(0,So,4,1,"p-floatLabel",1)(1,Io,1,1,"ng-container"),d(2,Eo,3,6,"ng-template",null,0,k)),e&2&&U(i.showLabel?0:1)},dependencies:[K,j,vt,Tt,qt,Me,ee,ce,ve,xe,Ot,Vt,it],styles:[".p-overlay.p-component{z-index:10000000000000000000000!important} .p-treeselect-panel .p-treeselect-items-wrapper .p-tree{padding-left:4px!important} .p-float-label .p-inputwrapper-filled~label.tree-category-label{left:.5rem!important}"]})};export{ke as a,lr as b,Me as c,qt as d,De as e,jt as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var e={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},pos:{indexedDBVersion:3,submitOrderTimeout:2e4,fileSizeLimit:9e5},version:"
|
|
1
|
+
var e={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},pos:{indexedDBVersion:3,submitOrderTimeout:2e4,fileSizeLimit:9e5},version:"25511",outletMaximumSubscription:10,midtransClientKey:"Mid-client-rdi5ridKhHfeIvTj",ngHttpLoaderDebounceDelay:175,news:"https://changelog.dealpos.app/umbraco/delivery/api/v2/content?fetch=children:web&sort=sortOrder:asc",changelog:[],uppy:{invoicePayment:25e5,receiptTemplate:25e5},intercom:{appId:"xv1oomgl"},whatsappTemplateMessage:`Thank you for shopping at {Brand}
|
|
2
2
|
Here is the receipt for your purchase {Number} - {Currency} {Amount}
|
|
3
3
|
{ReceiptLink}
|
|
4
4
|
Please let us know about your shopping experience using the receipt link.`,FALLBACK_PRODUCT_IMAGE_URL:"https://cdn.dealpos.app/template/products_thumb.png",files:{csv:{sales_person_import:"https://cdn.dealpos.xyz/web-import-template/SalesPerson_DealPOS.csv",supplier_import:"https://cdn.dealpos.xyz/web-import-template/Import_Supplier_DealPOS.csv",customer_import:"https://cdn.dealpos.xyz/web-import-template/Customer_Import_TemplateV2.csv",courier_import:"https://cdn.dealpos.xyz/web-import-template/Courier-Import-Template.csv",customer_invoice_import:"https://cdn.dealpos.xyz/web-import-template/Import-Invoice-Template.csv",estimate_import:"https://cdn.dealpos.xyz/web-import-template/Estimate_DealPOS_New.csv",supplier_bill_import:"https://cdn.dealpos.xyz/web-import-template/SupplierBill_Import_TemplateV2.csv",outlet_import:"https://cdn.dealpos.xyz/web-import-template/Outlet_Import_Template.csv",payment_import:"https://cdn.dealpos.xyz/web-import-template/Import-Payment.csv",product_import:"https://cdn.dealpos.xyz/web-import-template/Product_Import_TemplateV2.csv",pricebook_import:"https://res.cloudinary.com/pos/raw/upload/v1647931293/POS/CSV/Pricebook.csv",promotion_coupon_import:"https://cdn.dealpos.xyz/web-import-template/Promotion-Coupon-Import-TemplateV3.csv",adjustment_item_import:"https://cdn.dealpos.xyz/web-import-template/ImportItem_Adjustment_TemplateV2.csv",transfer_order_import:"https://res.cloudinary.com/pos/raw/upload/v1699867624/POS/CSV/ImportTransferOrder_DealPOS_New.csv",buy_import:"https://cdn.dealpos.xyz/web-import-template/ImportBuyV2_DealPOS_New.csv",sell_import:"https://res.cloudinary.com/pos/raw/upload/v1699867624/POS/CSV/ImportSell_DealPOS_New.csv",promotion_event_import:"https://cdn.dealpos.xyz/web-import-template/PromotionEvent_Import_TemplateV2.csv",promotion_event_item_requirement_import:"https://cdn.dealpos.xyz/web-import-template/PromotionEvent_ItemRequirement_Import_TemplateV2.csv",promotion_coupon_item_requirement_import:"https://cdn.dealpos.xyz/web-import-template/PromotionCoupon_ItemRequirement_Import_TemplateV2.csv"}}};export{e as a};
|