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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-JB7Y2263.js";import"./chunk-B36P4U32.js";import"./chunk-D7DUI5NF.js";import"./chunk-TXJJUZ26.js";import"./chunk-BNNKSBQ6.js";import"./chunk-6C2HPRJZ.js";import"./chunk-4CPRMZL6.js";import"./chunk-363IDTE3.js";import"./chunk-QZZ2NRA3.js";import"./chunk-TEGIL5RZ.js";import"./chunk-36GWLMZX.js";import"./chunk-WFQIMZGL.js";import"./chunk-WUV22SZ4.js";import"./chunk-LGOSIAUC.js";import"./chunk-IEVGW2RT.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";export{a as PrintModule};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-7NZLZJYF.js";import"./chunk-23VPQAH7.js";import"./chunk-AQW4VS3Y.js";import"./chunk-4W3WYXI2.js";import"./chunk-GRGZQFG6.js";import"./chunk-W3PBP3KZ.js";import"./chunk-VXPORXGI.js";import"./chunk-5UMDVS4U.js";import"./chunk-3NPCLTJT.js";import"./chunk-L6PKNRWO.js";import"./chunk-SIQZO2WM.js";import"./chunk-J6M7UWVR.js";import"./chunk-UEN2SKB2.js";import"./chunk-45Z7RKI2.js";import"./chunk-7YUPYNWQ.js";import"./chunk-2CL5FM3P.js";import"./chunk-LGINK7BD.js";import"./chunk-IKKPP4JS.js";import"./chunk-QPAUI5EG.js";import"./chunk-45E6XCHN.js";import"./chunk-SIDUUVNA.js";import"./chunk-KZFNI67M.js";import"./chunk-4BXCIT62.js";import"./chunk-D4FCXEV4.js";import"./chunk-6P2ASCNY.js";import"./chunk-EQ4O2B6P.js";import"./chunk-SLYXMED6.js";import"./chunk-R2GUMKAU.js";import"./chunk-BT7NN7PT.js";import"./chunk-26YFRPR2.js";import"./chunk-JBS5UYZC.js";import"./chunk-TEGIL5RZ.js";import"./chunk-B7AC4RMR.js";import"./chunk-EQLHPWVB.js";import"./chunk-THT6CY5E.js";import"./chunk-ZTD4APMR.js";import"./chunk-7P3L3ODB.js";import"./chunk-S7FOJJP2.js";import"./chunk-FU2ZGMX4.js";import"./chunk-2FWFPV5I.js";import"./chunk-SLX34TWD.js";import"./chunk-DWZ5JTI2.js";import"./chunk-ILTEBIEO.js";import"./chunk-PWTUEIUR.js";import"./chunk-36GWLMZX.js";import"./chunk-WFQIMZGL.js";import"./chunk-WUV22SZ4.js";import"./chunk-7AZJVR4Y.js";import"./chunk-LGOSIAUC.js";import"./chunk-IEVGW2RT.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";export{a as CompositeInventoryComponent};
|
|
@@ -1,380 +0,0 @@
|
|
|
1
|
-
import{a as wt,b as Et}from"./chunk-L6PKNRWO.js";import{b as vt}from"./chunk-SIQZO2WM.js";import{a as Tt,b as Ct,c as xt,d as St,e as Nt}from"./chunk-7YUPYNWQ.js";import{a as yt}from"./chunk-LGINK7BD.js";import{a as Ie,b as He}from"./chunk-QPAUI5EG.js";import{a as bt}from"./chunk-45E6XCHN.js";import{a as It}from"./chunk-SIDUUVNA.js";import{c as _t}from"./chunk-EQ4O2B6P.js";import{b as mt,c as ht}from"./chunk-JBS5UYZC.js";import{a as Ze}from"./chunk-B7AC4RMR.js";import{a as Se,b as dt,c as gt,d as ft}from"./chunk-S7FOJJP2.js";import{b as at,c as pe,d as Pe,j as pt,k as O,l as ut}from"./chunk-FU2ZGMX4.js";import{A as it,F as ot,H as rt,V as Le,W as lt,a as R,ga as Ae,m as tt,oa as ee,pa as P,qa as st,ra as ct,v as Be,w as nt,x as Z,xa as xe,z as de}from"./chunk-SLX34TWD.js";import{F as ce,a as et,h as be,o as ve}from"./chunk-DWZ5JTI2.js";import{a as Te}from"./chunk-WUV22SZ4.js";import{s as Ce}from"./chunk-LGOSIAUC.js";import{$c as T,Ab as U,Ac as Ke,Ca as fe,Fb as a,Fc as We,Gb as m,Gc as Ge,Hb as y,Ia as G,Ib as I,Lc as k,Mb as N,Nb as w,Ob as S,Oc as H,Pb as V,Sb as C,Sc as Ye,Tc as le,Ub as s,Xa as c,Xb as v,Y as Me,Ya as b,Yb as M,Zb as h,_b as _,ad as q,ca as Ve,cc as Y,d as ze,dc as Fe,eb as ie,fa as Qe,fc as J,ga as Oe,gc as f,gd as Je,hc as L,ib as z,ic as _e,id as ae,jb as me,jc as X,jd as se,ka as ue,la as W,ma as ge,mb as oe,mc as $e,md as ye,na as ne,nb as he,nc as qe,nd as j,o as De,oa as Ue,ob as d,oc as je,od as Xe,pa as D,ta as u,ua as g,va as B,vd as K,wb as E,wc as re,yb as Q,yc as A,zc as $}from"./chunk-IEVGW2RT.js";import{a as te}from"./chunk-SNAKHGZS.js";var kt=`
|
|
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 Ft=t=>({height:t}),jt=(t,r)=>({$implicit:t,loading:r}),Kt=(t,r,e)=>({$implicit:t,partialSelected:r,class:e}),Bt=t=>({$implicit:t});function Wt(t,r){if(t&1&&I(0,"div",9),t&2){let e=s(2);f(e.cx("dropPoint")),a("pBind",e.getPTOptions("dropPoint")),E("aria-hidden",!0)}}function Gt(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 Yt(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 Jt(t,r){if(t&1&&(N(0),d(1,Gt,1,3,"svg",11)(2,Yt,1,3,"svg",12),w()),t&2){let e=s(3);c(),a("ngIf",!e.node.expanded),c(),a("ngIf",e.node.expanded)}}function Xt(t,r){if(t&1&&(N(0),B(),I(1,"svg",15),w()),t&2){let e=s(3);c(),f(e.cx("nodeToggleIcon")),a("pBind",e.getPTOptions("nodeToggleIcon"))}}function Zt(t,r){if(t&1&&(N(0),d(1,Jt,3,2,"ng-container",6)(2,Xt,2,3,"ng-container",6),w()),t&2){let e=s(2);c(),a("ngIf",!e.node.loading),c(),a("ngIf",e.loadingMode==="icon"&&e.node.loading)}}function en(t,r){}function tn(t,r){t&1&&d(0,en,0,0,"ng-template")}function nn(t,r){if(t&1&&(m(0,"span",9),d(1,tn,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 on(t,r){}function rn(t,r){t&1&&d(0,on,0,0,"ng-template")}function ln(t,r){if(t&1&&d(0,rn,1,0,null,16),t&2){let e=s(4);a("ngTemplateOutlet",e.tree.checkboxIconTemplate||e.tree._checkboxIconTemplate)("ngTemplateOutletContext",Ke(2,Kt,e.isSelected(),e.node.partialSelected,e.cx("nodeCheckbox")))}}function an(t,r){t&1&&(N(0),d(1,ln,1,6,"ng-template",null,0,k),w())}function sn(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,an,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")),E("data-p-partialchecked",e.node.partialSelected),c(),a("ngIf",e.tree.checkboxIconTemplate||e.tree._checkboxIconTemplate)}}function cn(t,r){if(t&1&&I(0,"span",9),t&2){let e=s(2);f(e.getIcon()),a("pBind",e.getPTOptions("nodeIcon"))}}function dn(t,r){if(t&1&&(m(0,"span"),L(1),y()),t&2){let e=s(2);c(),_e(e.node.label)}}function pn(t,r){t&1&&S(0)}function un(t,r){if(t&1&&(m(0,"span"),d(1,pn,1,0,"ng-container",16),y()),t&2){let e=s(2);c(),a("ngTemplateOutlet",e.tree.getTemplateForNode(e.node))("ngTemplateOutletContext",A(2,Bt,e.node))}}function gn(t,r){if(t&1&&I(0,"div",9),t&2){let e=s(2);f(e.cx("dropPoint")),a("pBind",e.getPTOptions("dropPoint")),E("aria-hidden",!0)}}function fn(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)}}function mn(t,r){if(t&1&&(m(0,"ul",18),d(1,fn,1,8,"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 hn(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,Wt,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,Zt,3,2,"ng-container",6)(5,nn,2,8,"span",7),y(),d(6,sn,2,10,"p-checkbox",8)(7,cn,1,3,"span",7),m(8,"span",9),d(9,dn,2,1,"span",6)(10,un,2,4,"span",6),y()(),Q(11,gn,1,4,"div",3),d(12,mn,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,Ft,e.itemSize+"px"))("pBind",e.getPTOptions("node")),E("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")),Fe("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 Dt=["filter"],_n=["node"],yn=["header"],Tn=["footer"],bn=["loader"],vn=["empty"],Cn=["togglericon"],xn=["checkboxicon"],Sn=["loadingicon"],In=["filtericon"],Nn=["scroller"],wn=["wrapper"],En=["content"],kn=t=>({options:t});function Dn(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 Mn(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 Vn(t,r){}function On(t,r){t&1&&d(0,Vn,0,0,"ng-template")}function Fn(t,r){if(t&1&&(m(0,"span",11),d(1,On,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 Bn(t,r){if(t&1&&(N(0),d(1,Mn,1,3,"svg",12)(2,Fn,2,4,"span",7),w()),t&2){let e=s(2);c(),a("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),c(),a("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function Ln(t,r){if(t&1&&(m(0,"div",11),d(1,Dn,1,3,"i",7)(2,Bn,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 An(t,r){t&1&&S(0)}function Pn(t,r){t&1&&S(0)}function Hn(t,r){if(t&1&&d(0,Pn,1,0,"ng-container",14),t&2){let e=s();a("ngTemplateOutlet",e.filterTemplate||e._filterTemplate)("ngTemplateOutletContext",A(2,Bt,e.filterOptions))}}function Rn(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 zn(t,r){}function Qn(t,r){t&1&&d(0,zn,0,0,"ng-template")}function Un(t,r){if(t&1&&(m(0,"span",11),d(1,Qn,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 $n(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,Rn,1,3,"svg",18)(5,Un,2,4,"span",7),y()()}if(t&2){let e=s(2);f(e.cx("pcFilterContainer")),a("pt",e.ptm("pcFilterContainer")),c(),f(e.cx("pcFilterInput")),a("pAutoFocus",e.filterInputAutoFocus)("pt",e.ptm("pcFilterInput")),E("placeholder",e.filterPlaceholder),c(2),a("pt",e.ptm("pcFilterIconContainer")),c(),a("ngIf",!e.filterIconTemplate&&!e._filterIconTemplate),c(),a("ngIf",e.filterIconTemplate||e._filterIconTemplate)}}function qn(t,r){if(t&1&&d(0,$n,6,11,"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)}}function Kn(t,r){if(t&1&&(m(0,"ul",23,2),d(2,jn,2,11,"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")),E("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledBy),c(2),a("ngForOf",i)("ngForTrackBy",o.trackBy)}}function Wn(t,r){if(t&1&&d(0,Kn,3,10,"ul",22),t&2){let e=r.$implicit;a("ngIf",e)}}function Gn(t,r){t&1&&S(0)}function Yn(t,r){if(t&1&&d(0,Gn,1,0,"ng-container",14),t&2){let e=r.options,i=s(4);a("ngTemplateOutlet",i.loaderTemplate||i._loaderTemplate)("ngTemplateOutletContext",A(2,kn,e))}}function Jn(t,r){t&1&&(N(0),d(1,Yn,1,4,"ng-template",null,4,k),w())}function Xn(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,Wn,1,1,"ng-template",null,2,k)(4,Jn,3,0,"ng-container",10),y()}if(t&2){let e=s(2);J(A(11,Ft,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")),c(4),a("ngIf",e.loaderTemplate||e._loaderTemplate)}}function Zn(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)}}function ei(t,r){if(t&1&&(m(0,"ul",27,2),d(2,Zn,1,7,"p-treeNode",28),y()),t&2){let e=s(3);f(e.cx("rootChildren")),a("pBind",e.ptm("rootChildren")),E("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy),c(2),a("ngForOf",e.getRootNode())("ngForTrackBy",e.trackBy.bind(e))}}function ti(t,r){if(t&1&&(N(0),m(1,"div",11,5),d(3,ei,3,7,"ul",26),y(),w()),t&2){let e=s(2);c(),f(e.cx("wrapper")),Fe("max-height",e.scrollHeight),a("pBind",e.ptm("wrapper")),c(2),a("ngIf",e.getRootNode())}}function ni(t,r){if(t&1&&(N(0),d(1,Xn,5,13,"p-scroller",20)(2,ti,4,6,"ng-container",10),w()),t&2){let e=s();c(),a("ngIf",e.virtualScroll),c(),a("ngIf",!e.virtualScroll)}}function ii(t,r){if(t&1&&(N(0),L(1),w()),t&2){let e=s(2);c(),X(" ",e.emptyMessageLabel," ")}}function oi(t,r){}function ri(t,r){t&1&&d(0,oi,0,0,"ng-template",null,6,k)}function li(t,r){if(t&1&&(m(0,"div",11),d(1,ii,2,1,"ng-container",30)(2,ri,2,0,null,8),y()),t&2){let e=s();f(e.cx("emptyMessage")),a("pBind",e.ptm("emptyMessage")),c(),a("ngIf",!e.emptyMessageTemplate&&!e._emptyMessageTemplate)("ngIfElse",e.emptyFilter),c(),a("ngTemplateOutlet",e.emptyMessageTemplate||e._emptyMessageTemplate)}}function ai(t,r){t&1&&S(0)}var si={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"},Ne=(()=>{class t extends xe{name="tree";style=kt;classes=si;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 Mt=new ne("TREE_INSTANCE"),Vt=new ne("TREENODE_INSTANCE"),ci=(()=>{class t extends Pe{$pcTreeNode=D(Vt,{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=D(ue(()=>we));timeout;isPrevDropPointHovered=fe(!1);isNextDropPointHovered=fe(!1);isNodeDropHovered=fe(!1);isPrevDropPointActive=H(()=>this.isPrevDropPointHovered()&&this.isDroppable());isNextDropPointActive=H(()=>this.isNextDropPointHovered()&&this.isDroppable());isNodeDropActive=H(()=>this.isNodeDropHovered()&&this.isNodeDroppable());dropPosition=H(()=>this.isPrevDropPointActive()?-1:this.isNextDropPointActive()?1:0);_componentStyle=D(Ne);get selected(){return this.tree.selectionMode==="single"||this.tree.selectionMode==="multiple"?this.isSelected():void 0}get checked(){return this.tree.selectionMode==="checkbox"?this.isSelected():void 0}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,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.tree.isSelected(this.node)}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,x=n===l?i>p?p:p-1:p;n.splice(i,1),o<0?l.splice(x,0,e):o>0?l.splice(x+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=tt(i)+"px",n.style.height=rt(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=Be(this.tree.el.nativeElement,".p-tree-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=[...Be(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=>R(o,"p-tree-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=nt(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([Ne,{provide:Vt,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",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level","loadingMode"]],template:function(i,n){i&1&&Q(0,hn,13,38,"li",1),i&2&&U(n.node?0:-1)},dependencies:[t,K,ae,se,j,ye,It,_t,ce,be,ve,yt,Ie,He,P,ut,O],encapsulation:2})}return t})(),we=(()=>{class t extends Pe{dragDropService;bindDirectiveInstance=D(O,{self:!0});$pcTree=D(Mt,{optional:!0,skipSelf:!0})??void 0;onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}value;selectionMode;loadingMode="mask";selection;styleClass;contextMenu;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;selectionChange=new b;onNodeSelect=new b;onNodeUnselect=new b;onNodeExpand=new b;onNodeCollapse=new b;onNodeContextMenuSelect=new b;onNodeDoubleClick=new b;onNodeDrop=new b;onLazyLoad=new b;onScroll=new b;onScrollIndexChange=new b;onFilter=new b;filterTemplate;nodeTemplate;headerTemplate;footerTemplate;loaderTemplate;emptyMessageTemplate;togglerIconTemplate;checkboxIconTemplate;loadingIconTemplate;filterIconTemplate;filterViewChild;scroller;wrapperViewChild;contentViewChild;templates;_headerTemplate;_emptyMessageTemplate;_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._emptyMessageTemplate=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=D(Ne);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(st.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 n=e.target;if(!(R(n,"p-tree-toggler")||R(n,"p-tree-toggler-icon"))){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 o=this.findIndexInSelection(i),l=o>=0;if(this.isCheckboxSelectionMode())l?(this.propagateSelectionDown?this.propagateDown(i,!1):this.selection=this.selection.filter((p,x)=>x!=o),this.propagateSelectionUp&&i.parent&&this.propagateUp(i.parent,!1),this.selectionChange.emit(this.selection),this.onNodeUnselect.emit({originalEvent:e,node:i})):(this.propagateSelectionDown?this.propagateDown(i,!0):this.selection=[...this.selection||[],i],this.propagateSelectionUp&&i.parent&&this.propagateUp(i.parent,!0),this.selectionChange.emit(this.selection),this.onNodeSelect.emit({originalEvent:e,node:i}));else if(this.nodeTouched?!1:this.metaKeySelection){let x=e.metaKey||e.ctrlKey;l&&x?(this.isSingleSelectionMode()?this.selectionChange.emit(null):(this.selection=this.selection.filter((F,Qt)=>Qt!=o),this.selectionChange.emit(this.selection)),this.onNodeUnselect.emit({originalEvent:e,node:i})):(this.isSingleSelectionMode()?this.selectionChange.emit(i):this.isMultipleSelectionMode()&&(this.selection=x?this.selection||[]:[],this.selection=[...this.selection,i],this.selectionChange.emit(this.selection)),this.onNodeSelect.emit({originalEvent:e,node:i}))}else this.isSingleSelectionMode()?l?(this.selection=null,this.onNodeUnselect.emit({originalEvent:e,node:i})):(this.selection=i,setTimeout(()=>{this.onNodeSelect.emit({originalEvent:e,node:i})})):l?(this.selection=this.selection.filter((x,F)=>F!=o),this.onNodeUnselect.emit({originalEvent:e,node:i})):(this.selection=[...this.selection||[],i],setTimeout(()=>{this.onNodeSelect.emit({originalEvent:e,node:i})})),this.selectionChange.emit(this.selection)}this.nodeTouched=!1}}onNodeTouchEnd(){this.nodeTouched=!0}onNodeRightClick(e,i){if(this.contextMenu){let n=e.target;if(n.className&&n.className.indexOf("p-tree-toggler")===0)return;this.findIndexInSelection(i)>=0||(this.isSingleSelectionMode()?this.selectionChange.emit(i):this.selectionChange.emit([i])),this.contextMenu.show(e),this.onNodeContextMenuSelect.emit({originalEvent:e,node:i})}}onNodeDblClick(e,i){this.onNodeDoubleClick.emit({originalEvent:e,node:i})}findIndexInSelection(e){let i=-1;if(this.selectionMode&&this.selection)if(this.isSingleSelectionMode())i=this.selection.key&&this.selection.key===e.key||this.selection==e?0:-1;else for(let n=0;n<this.selection.length;n++){let o=this.selection[n];if(o.key&&o.key===e.key||o==e){i=n;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 p of e.children)this.isSelected(p)?o++:p.partialSelected&&(l=!0);if(i&&o==e.children.length)this.selection=[...this.selection||[],e],e.partialSelected=!1;else{if(!i){let p=this.findIndexInSelection(e);p>=0&&(this.selection=this.selection.filter((x,F)=>F!=p))}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);if(i&&n==-1?this.selection=[...this.selection||[],e]:!i&&n>-1&&(this.selection=this.selection.filter((o,l)=>l!=n)),e.partialSelected=!1,this.syncNodeOption(e,this.filteredNodes,"partialSelected"),e.children&&e.children.length)for(let o of e.children)this.propagateDown(o,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=Ae(i).toLocaleLowerCase(this.filterLocale),l=this.filterMode==="strict";for(let p of this.value){let x=te({},p),F={searchFields:n,filterText:o,isStrictMode:l};(l&&(this.findFilteredNodes(x,F)||this.isFilterMatched(x,F))||!l&&(this.isFilterMatched(x,F)||this.findFilteredNodes(x,F)))&&this.filteredNodes.push(x)}}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 x of n)Ae(String(lt(e,x))).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()}static \u0275fac=function(i){return new(i||t)(ie(ct,8))};static \u0275cmp=z({type:t,selectors:[["p-tree"]],contentQueries:function(i,n,o){if(i&1&&(v(o,Dt,4),v(o,_n,4),v(o,yn,4),v(o,Tn,4),v(o,bn,4),v(o,vn,4),v(o,Cn,4),v(o,xn,4),v(o,Sn,4),v(o,In,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.emptyMessageTemplate=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&&(M(Dt,5),M(Nn,5),M(wn,5),M(En,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:2,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&&f(n.cn(n.cx("root"),n.styleClass))},inputs:{value:"value",selectionMode:"selectionMode",loadingMode:"loadingMode",selection:"selection",styleClass:"styleClass",contextMenu:"contextMenu",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:{selectionChange:"selectionChange",onNodeSelect:"onNodeSelect",onNodeUnselect:"onNodeUnselect",onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onNodeContextMenuSelect:"onNodeContextMenuSelect",onNodeDoubleClick:"onNodeDoubleClick",onNodeDrop:"onNodeDrop",onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange",onFilter:"onFilter"},features:[re([Ne,{provide:Mt,useExisting:t},{provide:pe,useExisting:t}]),he([O]),oe],decls:7,vars:6,consts:[["filter",""],["scroller",""],["content",""],["treeNode",""],["loader",""],["wrapper",""],["emptyFilter",""],[3,"class","pBind",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"class","pt"],[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",4,"ngIf"],[3,"pt"],["pInputText","","type","search","autocomplete","off",3,"keydown.enter","input","pAutoFocus","pt"],["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",4,"ngFor","ngForOf","ngForTrackBy"],[3,"level","rowNode","node","parentNode","firstChild","lastChild","index","itemSize","indentation","loadingMode","pt"],["role","tree",3,"class","pBind",4,"ngIf"],["role","tree",3,"pBind"],[3,"node","firstChild","lastChild","index","level","loadingMode","pt",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","firstChild","lastChild","index","level","loadingMode","pt"],[4,"ngIf","ngIfElse"]],template:function(i,n){if(i&1&&(d(0,Ln,3,5,"div",7)(1,An,1,0,"ng-container",8),Q(2,Hn,1,4,"ng-container")(3,qn,1,1,"p-iconfield",9),d(4,ni,3,2,"ng-container",10)(5,li,3,6,"div",7)(6,ai,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,Je,ae,se,j,Nt,P,Tt,He,ft,ce,xt,St,ci,dt,Se,O],encapsulation:2,changeDetection:0})}return t})(),tr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=me({type:t});static \u0275inj=ge({imports:[we,P,P]})}return t})();var Lt=`
|
|
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 di=["value"],pi=["header"],ui=["empty"],gi=["footer"],fi=["clearicon"],mi=["triggericon"],hi=["dropdownicon"],_i=["filtericon"],yi=["closeicon"],Ti=["itemtogglericon"],bi=["itemcheckboxicon"],vi=["itemloadingicon"],Ci=["focusInput"],xi=["filter"],Si=["tree"],Ii=["panel"],Ni=["overlay"],wi=["firstHiddenFocusableEl"],Ei=["lastHiddenFocusableEl"],ki=(t,r)=>({$implicit:t,placeholder:r}),At=(t,r)=>({$implicit:t,options:r}),Di=t=>({"max-height":t}),Mi=t=>({$implicit:t}),Vi=(t,r)=>({$implicit:t,partialSelected:r});function Oi(t,r){t&1&&S(0)}function Fi(t,r){if(t&1&&(N(0),d(1,Oi,1,0,"ng-container",23),w()),t&2){let e=s();c(),a("ngTemplateOutlet",e.valueTemplate||e._valueTemplate)("ngTemplateOutletContext",$(2,ki,e.value,e.placeholder))}}function Bi(t,r){if(t&1&&(N(0),L(1),w()),t&2){let e=s(2);c(),X(" ",e.label||"empty"," ")}}function Li(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 Ai(t,r){if(t&1&&(N(0),L(1),w()),t&2){let e=s(3);c(),_e(e.placeholder||"empty")}}function Pi(t,r){if(t&1&&d(0,Li,2,7,"div",24)(1,Ai,2,1,"ng-container",18),t&2){let e=s(2);a("ngForOf",e.value),c(),a("ngIf",e.emptyValue)}}function Hi(t,r){if(t&1&&d(0,Bi,2,1,"ng-container",17)(1,Pi,2,2,"ng-template",null,4,k),t&2){let e=Y(2),i=s();a("ngIf",i.display==="comma")("ngIfElse",e)}}function Ri(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 zi(t,r){}function Qi(t,r){t&1&&d(0,zi,0,0,"ng-template")}function Ui(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,Qi,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 $i(t,r){if(t&1&&(N(0),d(1,Ri,1,3,"svg",26)(2,Ui,2,4,"span",27),w()),t&2){let e=s();c(),a("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),c(),a("ngIf",e.clearIconTemplate||e.clearIconTemplate)}}function qi(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 Ki(t,r){t&1&&d(0,ji,0,0,"ng-template")}function Wi(t,r){if(t&1&&(m(0,"span",15),d(1,Ki,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 Gi(t,r){t&1&&S(0)}function Yi(t,r){t&1&&S(0)}function Ji(t,r){if(t&1&&d(0,Yi,1,0,"ng-container",30),t&2){let e=s(3);a("ngTemplateOutlet",e.emptyTemplate||e._emptyTemplate)}}function Xi(t,r){t&1&&(N(0),d(1,Ji,1,1,"ng-template",null,9,k),w())}function Zi(t,r){t&1&&S(0)}function eo(t,r){if(t&1&&d(0,Zi,1,0,"ng-container",23),t&2){let e=r.$implicit,i=s(3);a("ngTemplateOutlet",i.itemTogglerIconTemplate||i._itemTogglerIconTemplate)("ngTemplateOutletContext",A(2,Mi,e))}}function to(t,r){t&1&&d(0,eo,1,4,"ng-template",null,10,k)}function no(t,r){t&1&&S(0)}function io(t,r){if(t&1&&d(0,no,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,Vi,e,i))}}function oo(t,r){t&1&&d(0,io,1,5,"ng-template",null,11,k)}function ro(t,r){t&1&&S(0)}function lo(t,r){if(t&1&&d(0,ro,1,0,"ng-container",30),t&2){let e=s(3);a("ngTemplateOutlet",e.itemLoadingIconTemplate||e._itemLoadingIconTemplate)}}function ao(t,r){t&1&&d(0,lo,1,1,"ng-template",null,12,k)}function so(t,r){t&1&&S(0)}function co(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,Gi,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,Xi,3,0,"ng-container",18)(9,to,2,0,null,18)(10,oo,2,0,null,18)(11,ao,2,0,null,18),y()(),d(12,so,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")),E("id",e.listId),c(2),a("pBind",e.ptm("hiddenFirstFocusableEl")),E("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),c(2),a("ngTemplateOutlet",e.headerTemplate||e._headerTemplate)("ngTemplateOutletContext",$(45,At,e.value,e.options)),c(),f(e.cx("treeContainer")),a("ngStyle",A(48,Di,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")),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",$(50,At,e.value,e.options)),c(),a("pBind",e.ptm("hiddenLastFocusableEl")),E("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}var po=`
|
|
361
|
-
${Lt}
|
|
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
|
-
`,uo={root:({instance:t})=>te({position:t.$appendTo()==="self"?"relative":void 0},t.containerStyle)},go={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"},Pt=(()=>{class t extends xe{name="treeselect";style=po;classes=go;inlineStyles=uo;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 fo={provide:et,useExisting:ue(()=>Ee),multi:!0},Ht=new ne("TREESELECT_INSTANCE"),Ee=(()=>{class t extends pt{$pcTreeSelect=D(Ht,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=D(O,{self:!0});_componentStyle=D(Pt);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;size=le();variant=le();fluid=le(void 0,{transform:T});appendTo=le(void 0);onNodeExpand=new b;onNodeCollapse=new b;onShow=new b;onHide=new b;onClear=new b;onFilter=new b;onFocus=new b;onBlur=new b;onNodeUnselect=new b;onNodeSelect=new b;$appendTo=H(()=>this.appendTo()||this.config.overlayAppendTo());focusInput;filterViewChild;treeViewChild;panelEl;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;$variant=H(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());pcFluid=D(gt,{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=at("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)Le(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)&&!R(e.target,"p-treeselect-close")&&!R(e.target,"p-checkbox-box")&&!R(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?it(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;Z(i)}onLastHiddenFocus(e){let i=e.relatedTarget===this.focusInput?.nativeElement?ot(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&&Le(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,di,4),v(o,pi,4),v(o,ui,4),v(o,gi,4),v(o,fi,4),v(o,mi,4),v(o,hi,4),v(o,_i,4),v(o,yi,4),v(o,Ti,4),v(o,bi,4),v(o,vi,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&&(M(Ci,5),M(xi,5),M(Si,5),M(Ii,5),M(Ni,5),M(wi,5),M(Ei,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("click",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],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([fo,Pt,{provide:Ht,useExisting:t},{provide:pe,useExisting:t}]),he([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"]],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,Fi,2,5,"ng-container",17)(6,Hi,3,2,"ng-template",null,1,k),y()(),d(8,$i,3,2,"ng-container",18),m(9,"div",19),d(10,qi,1,3,"svg",20)(11,Wi,2,4,"span",21),y(),m(12,"p-overlay",22,2),je("visibleChange",function(p){return u(o),qe(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,co,15,53,"ng-template",null,3,k),y()}if(i&2){let o=Y(7);a("pBind",n.ptm("hiddenInputContainer")),E("data-p-hidden-accessible",!0),c(),a("pAutoFocus",n.autofocus)("pBind",n.ptm("hiddenInput")),E("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")),E("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),$e("visible",n.overlayVisible),a("options",n.overlayOptions)("target","@parent")("appendTo",n.$appendTo())("pt",n.ptm("pcOverlay"))}},dependencies:[K,ae,se,j,ye,Ct,P,we,Se,bt,Ie,vt,O],encapsulation:2,changeDetection:0})}return t})(),Rt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=me({type:t});static \u0275inj=ge({imports:[Ee,P,P]})}return t})();var ke=class t{signalRClient=D(Ze);continuedCategories$;allCategories$;_onOpenTreeSelector=new ze;onOpenTreeSelector$=this._onOpenTreeSelector.asObservable();constructor(r){this.continuedCategories$=this.onOpenTreeSelector$.pipe(Oe(this.signalRClient.recacheCategory$),Ve((e,[i,n])=>n||!e.length?(this.signalRClient.resetCategoryCache(),r.get("/API/catalog/category/ActiveOptions")):De(e),[]),Me(1)),this.allCategories$=this.onOpenTreeSelector$.pipe(Oe(this.signalRClient.recacheCategory$),Ve((e,[i,n])=>n||!e.length?r.get("/API/catalog/category/SelectOptions"):De(e),[]),Me(1))}onOpenTreeSelector(){this._onOpenTreeSelector.next(!0)}forceLoadCategories(){this._onOpenTreeSelector.next(!0)}static \u0275fac=function(e){return new(e||t)(Ue(Ce))};static \u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"})};function yo(t,r){t&1&&S(0)}function To(t,r){if(t&1&&(m(0,"p-floatLabel",1),d(1,yo,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 bo(t,r){t&1&&S(0)}function vo(t,r){if(t&1&&d(0,bo,1,0,"ng-container",2),t&2){s();let e=Y(3);a("ngTemplateOutlet",e)}}function Co(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 xo(t,r){if(t&1){let e=V();m(0,"p-treeSelect",4),We(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,Co,2,2,"ng-template",5),y()}if(t&2){let e=s();a("options",Ge(1,4,e.categories$))("ngModel",e.selectedCategory)("showClear",e.showClear)("placeholder",e.showLabel?"":e.placeholder)}}var zt=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 b;onSelectedCategory=Ye();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(ke))};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,To,4,1,"p-floatLabel",1)(1,vo,1,1,"ng-container"),d(2,xo,3,6,"ng-template",null,0,k)),e&2&&U(i.showLabel?0:1)},dependencies:[K,j,ht,mt,Rt,Ee,ee,ce,be,ve,Et,wt,Xe],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{we as a,tr as b,Ee as c,Rt as d,ke as e,zt as f};
|