@thxgg/steward 0.1.5 → 0.1.7
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/.output/nitro.json +15 -0
- package/.output/public/_nuxt/2EtD6e53.js +1 -0
- package/.output/public/_nuxt/2UxHyX5q.js +1 -0
- package/.output/public/_nuxt/3e1v2bzS.js +1 -0
- package/.output/public/_nuxt/4A_iFExJ.js +1 -0
- package/.output/public/_nuxt/5X7smno1.js +1 -0
- package/.output/public/_nuxt/5i3qLPDT.js +1 -0
- package/.output/public/_nuxt/83L43bj1.js +1 -0
- package/.output/public/_nuxt/85-TOEBH.js +1 -0
- package/.output/public/_nuxt/B0m2ddpp.js +1 -0
- package/.output/public/_nuxt/B1dDrJ26.js +1 -0
- package/.output/public/_nuxt/B1yitclQ.js +1 -0
- package/.output/public/_nuxt/B3hkJjmY.js +1 -0
- package/.output/public/_nuxt/B6aJPvgy.js +1 -0
- package/.output/public/_nuxt/B7c-h3xW.js +1 -0
- package/.output/public/_nuxt/B7mTdjB0.js +1 -0
- package/.output/public/_nuxt/B93PlW-d.js +1 -0
- package/.output/public/_nuxt/BBf5iR-q.js +1 -0
- package/.output/public/_nuxt/BEDo0Tqx.js +1 -0
- package/.output/public/_nuxt/BERRCDM3.js +1 -0
- package/.output/public/_nuxt/BETggiCN.js +1 -0
- package/.output/public/_nuxt/BEwlwnbL.js +1 -0
- package/.output/public/_nuxt/BFfxhgS-.js +1 -0
- package/.output/public/_nuxt/BGHnOYBU.js +1 -0
- package/.output/public/_nuxt/BGJmEYvX.js +1 -0
- package/.output/public/_nuxt/BH7IYjvW.js +1 -0
- package/.output/public/_nuxt/BIGW1oBm.js +1 -0
- package/.output/public/_nuxt/BJDFO7_C.js +1 -0
- package/.output/public/_nuxt/BLmx8bSh.js +1 -0
- package/.output/public/_nuxt/BLtJtn59.js +1 -0
- package/.output/public/_nuxt/BM1_JUlF.js +1 -0
- package/.output/public/_nuxt/BMWR74SV.js +1 -0
- package/.output/public/_nuxt/BNzFoVmP.js +1 -0
- package/.output/public/_nuxt/BPQ3VLAy.js +1 -0
- package/.output/public/_nuxt/BQ8w6xss.js +1 -0
- package/.output/public/_nuxt/BR5kRUq4.js +1 -0
- package/.output/public/_nuxt/BRDbaJqY.js +4 -0
- package/.output/public/_nuxt/BRHolxvo.js +1 -0
- package/.output/public/_nuxt/BRZ36xJF.js +1 -0
- package/.output/public/_nuxt/BTJTHyun.js +1 -0
- package/.output/public/_nuxt/BTifaqeh.js +1 -0
- package/.output/public/_nuxt/BUw7H-hv.js +1 -0
- package/.output/public/_nuxt/BV7otONQ.js +1 -0
- package/.output/public/_nuxt/BVQ-GDCI.js +1 -0
- package/.output/public/_nuxt/BWvSN4gD.js +1 -0
- package/.output/public/_nuxt/BXkSAIEj.js +1 -0
- package/.output/public/_nuxt/BYV0-3_D.js +1 -0
- package/.output/public/_nuxt/BYunw83y.js +1 -0
- package/.output/public/_nuxt/BZvkOJ9d.js +1 -0
- package/.output/public/_nuxt/B_m7g4N7.js +1 -0
- package/.output/public/_nuxt/Ba13S78F.js +1 -0
- package/.output/public/_nuxt/BcOcwvcX.js +1 -0
- package/.output/public/_nuxt/BcVCzyr7.js +1 -0
- package/.output/public/_nuxt/BdImnpbu.js +1 -0
- package/.output/public/_nuxt/BdnUsdx6.js +1 -0
- package/.output/public/_nuxt/BfHTSMKl.js +1 -0
- package/.output/public/_nuxt/BfjtVDDH.js +1 -0
- package/.output/public/_nuxt/BgDCqdQA.js +1 -0
- package/.output/public/_nuxt/BhOHFoWU.js +1 -0
- package/.output/public/_nuxt/BhRPY-oY.js +1 -0
- package/.output/public/_nuxt/Bhrxn6JZ.js +1 -0
- package/.output/public/_nuxt/BkioyH1T.js +1 -0
- package/.output/public/_nuxt/Bkuqu6BP.js +1 -0
- package/.output/public/_nuxt/BmXAJ9_W.js +1 -0
- package/.output/public/_nuxt/Bmn6On1c.js +1 -0
- package/.output/public/_nuxt/Bo1Fdv48.js +76 -0
- package/.output/public/_nuxt/Bp3cYrEr.js +1 -0
- package/.output/public/_nuxt/Bp6g37R7.js +1 -0
- package/.output/public/_nuxt/BqTXFGrv.js +1 -0
- package/.output/public/_nuxt/BqYA7rlc.js +1 -0
- package/.output/public/_nuxt/BqmZq_gb.js +1 -0
- package/.output/public/_nuxt/Br6cN0cg.js +1 -0
- package/.output/public/_nuxt/Bri1ZtcQ.js +1 -0
- package/.output/public/_nuxt/BrzmwbiE.js +1 -0
- package/.output/public/_nuxt/BsS91CYL.js +1 -0
- package/.output/public/_nuxt/BspZqrRM.js +1 -0
- package/.output/public/_nuxt/BtCnVYZw.js +1 -0
- package/.output/public/_nuxt/BtOb2qkB.js +1 -0
- package/.output/public/_nuxt/BthQWCQV.js +1 -0
- package/.output/public/_nuxt/BtqSS_iP.js +1 -0
- package/.output/public/_nuxt/BtvRca6l.js +1 -0
- package/.output/public/_nuxt/Buea-lGh.js +1 -0
- package/.output/public/_nuxt/Bv_4Rxtq.js +1 -0
- package/.output/public/_nuxt/BvzEVeQv.js +1 -0
- package/.output/public/_nuxt/Bw305WKR.js +1 -0
- package/.output/public/_nuxt/BxgE0vQu.js +1 -0
- package/.output/public/_nuxt/BzJJZx-M.js +1 -0
- package/.output/public/_nuxt/BzTr9Aqm.js +1 -0
- package/.output/public/_nuxt/C-HG3fhB.js +1 -0
- package/.output/public/_nuxt/C-SQnVFl.js +1 -0
- package/.output/public/_nuxt/C-sUppwS.js +1 -0
- package/.output/public/_nuxt/C0HS_06l.js +1 -0
- package/.output/public/_nuxt/C0hk2d4L.js +1 -0
- package/.output/public/_nuxt/C151Ov-r.js +1 -0
- package/.output/public/_nuxt/C2t-YnRu.js +1 -0
- package/.output/public/_nuxt/C39BiMTA.js +1 -0
- package/.output/public/_nuxt/C3B-1QV4.js +1 -0
- package/.output/public/_nuxt/C3Wv6jpd.js +1 -0
- package/.output/public/_nuxt/C3mMm8J8.js +1 -0
- package/.output/public/_nuxt/C47S-Tmv.js +1 -0
- package/.output/public/_nuxt/C4EeE6gA.js +1 -0
- package/.output/public/_nuxt/C4IJs8-o.js +1 -0
- package/.output/public/_nuxt/C4gqWexZ.js +1 -0
- package/.output/public/_nuxt/C5YyOfLZ.js +1 -0
- package/.output/public/_nuxt/C7zT0LnQ.js +1 -0
- package/.output/public/_nuxt/C8M2exoo.js +1 -0
- package/.output/public/_nuxt/C8lEn-DE.js +1 -0
- package/.output/public/_nuxt/C98Dy4si.js +1 -0
- package/.output/public/_nuxt/C9XAeP06.js +1 -0
- package/.output/public/_nuxt/C9dUb6Cb.js +1 -0
- package/.output/public/_nuxt/C9oPPf7i.js +1 -0
- package/.output/public/_nuxt/C9tS-k6U.js +1 -0
- package/.output/public/_nuxt/CDVJQ6XC.js +1 -0
- package/.output/public/_nuxt/CDx5xZoG.js +1 -0
- package/.output/public/_nuxt/CEJOILWG.js +1 -0
- package/.output/public/_nuxt/CEL-wOlO.js +1 -0
- package/.output/public/_nuxt/CEu0bR-o.js +1 -0
- package/.output/public/_nuxt/CF10PKvl.js +1 -0
- package/.output/public/_nuxt/CFHQjOhq.js +1 -0
- package/.output/public/_nuxt/CFsNy2aC.js +1 -0
- package/.output/public/_nuxt/CG6Dc4jp.js +1 -0
- package/.output/public/_nuxt/CG8Ifv2g.js +1 -0
- package/.output/public/_nuxt/CGscLIrv.js +1 -0
- package/.output/public/_nuxt/CH1njM8p.js +1 -0
- package/.output/public/_nuxt/CHLpvVh8.js +1 -0
- package/.output/public/_nuxt/CHM0blh-.js +1 -0
- package/.output/public/_nuxt/CJc9bBzg.js +1 -0
- package/.output/public/_nuxt/CKIfxQSi.js +1 -0
- package/.output/public/_nuxt/CLZrNe3w.js +1 -0
- package/.output/public/_nuxt/CLxacb5B.js +1 -0
- package/.output/public/_nuxt/CMTm3GFP.js +1 -0
- package/.output/public/_nuxt/CMjwMIkn.js +1 -0
- package/.output/public/_nuxt/CO1LY3CK.js +1 -0
- package/.output/public/_nuxt/COcwbKMJ.js +1 -0
- package/.output/public/_nuxt/COkxafJQ.js +1 -0
- package/.output/public/_nuxt/COt5Ahok.js +1 -0
- package/.output/public/_nuxt/CQ8jqdy-.js +1 -0
- package/.output/public/_nuxt/CS3Unz2-.js +1 -0
- package/.output/public/_nuxt/CSXwinHm.js +1 -0
- package/.output/public/_nuxt/CTRr51gU.js +1 -0
- package/.output/public/_nuxt/CVO1_9PV.js +1 -0
- package/.output/public/_nuxt/CVdnzihN.js +1 -0
- package/.output/public/_nuxt/CW8IKDeL.js +1 -0
- package/.output/public/_nuxt/CXZktZb0.js +1 -0
- package/.output/public/_nuxt/CXtECtnM.js +1 -0
- package/.output/public/_nuxt/CYsAdtH9.js +1 -0
- package/.output/public/_nuxt/CZhp0h8q.js +1 -0
- package/.output/public/_nuxt/CafNBF8u.js +1 -0
- package/.output/public/_nuxt/CbFg5uaA.js +1 -0
- package/.output/public/_nuxt/CbfX1IO0.js +1 -0
- package/.output/public/_nuxt/CeAyd5Ju.js +1 -0
- package/.output/public/_nuxt/CeZK1NFH.js +1 -0
- package/.output/public/_nuxt/CenWIFCC.js +1 -0
- package/.output/public/_nuxt/CfQXZHmo.js +1 -0
- package/.output/public/_nuxt/Cg-RD9OK.js +1 -0
- package/.output/public/_nuxt/ChMvpjG-.js +1 -0
- package/.output/public/_nuxt/Cj5Yp3dK.js +1 -0
- package/.output/public/_nuxt/CjoLj4QM.js +1 -0
- package/.output/public/_nuxt/CkByrt1z.js +1 -0
- package/.output/public/_nuxt/CkXjmgJE.js +1 -0
- package/.output/public/_nuxt/CklMAg4u.js +1 -0
- package/.output/public/_nuxt/Cl0AqbOI.js +1 -0
- package/.output/public/_nuxt/Cm3UrAx6.js +1 -0
- package/.output/public/_nuxt/CmIQRyeF.js +1 -0
- package/.output/public/_nuxt/Cmh6b_Ma.js +1 -0
- package/.output/public/_nuxt/Cn7AkR1O.js +1 -0
- package/.output/public/_nuxt/CnnebwVN.js +1 -0
- package/.output/public/_nuxt/CnnmHF94.js +1 -0
- package/.output/public/_nuxt/CnsnAmq5.js +1 -0
- package/.output/public/_nuxt/Co6uUVPk.js +1 -0
- package/.output/public/_nuxt/CoDkCxhg.js +1 -0
- package/.output/public/_nuxt/Cp-IABpG.js +1 -0
- package/.output/public/_nuxt/CpOuai2O.js +1 -0
- package/.output/public/_nuxt/Cq5zzVJU.js +1 -0
- package/.output/public/_nuxt/CquLrc37.js +1 -0
- package/.output/public/_nuxt/CsfeWuGM.js +1 -0
- package/.output/public/_nuxt/Csfq5Kiy.js +1 -0
- package/.output/public/_nuxt/CuPHTKiy.js +1 -0
- package/.output/public/_nuxt/CufHLc7y.js +1 -0
- package/.output/public/_nuxt/Cuk6v7N8.js +1 -0
- package/.output/public/_nuxt/Cvjx9yec.js +1 -0
- package/.output/public/_nuxt/CwoSXNpI.js +1 -0
- package/.output/public/_nuxt/CxGSJlkm.js +1 -0
- package/.output/public/_nuxt/CxLEBnE3.js +1 -0
- package/.output/public/_nuxt/CxbxFI8M.js +1 -0
- package/.output/public/_nuxt/CyktbL80.js +1 -0
- package/.output/public/_nuxt/CylS5w8V.js +1 -0
- package/.output/public/_nuxt/CzTSHFRz.js +1 -0
- package/.output/public/_nuxt/D-2ljcwZ.js +1 -0
- package/.output/public/_nuxt/D0YGMca9.js +1 -0
- package/.output/public/_nuxt/D0r3Knsf.js +1 -0
- package/.output/public/_nuxt/D0zW6lUK.js +1 -0
- package/.output/public/_nuxt/D17OF-Vu.js +1 -0
- package/.output/public/_nuxt/D1j8_8rp.js +1 -0
- package/.output/public/_nuxt/D3lLCCz7.js +1 -0
- package/.output/public/_nuxt/D4_iv3hh.js +1 -0
- package/.output/public/_nuxt/D4h5O-jR.js +1 -0
- package/.output/public/_nuxt/D5-asLiD.js +1 -0
- package/.output/public/_nuxt/D53aC0YG.js +1 -0
- package/.output/public/_nuxt/D5KoaKCx.js +1 -0
- package/.output/public/_nuxt/D7o27uSR.js +1 -0
- package/.output/public/_nuxt/D7oLnXFd.js +1 -0
- package/.output/public/_nuxt/D82EKSYY.js +1 -0
- package/.output/public/_nuxt/D87Tk5Gz.js +1 -0
- package/.output/public/_nuxt/D8_7TLub.js +1 -0
- package/.output/public/_nuxt/D93ZcfNL.js +1 -0
- package/.output/public/_nuxt/D97Zzqfu.js +1 -0
- package/.output/public/_nuxt/DAi9KRSo.js +1 -0
- package/.output/public/_nuxt/DEthMvLe.js +1 -0
- package/.output/public/_nuxt/DFQXde-d.js +1 -0
- package/.output/public/_nuxt/DFWUc33u.js +1 -0
- package/.output/public/_nuxt/DFXneXwc.js +1 -0
- package/.output/public/_nuxt/DGP4VlC8.js +1 -0
- package/.output/public/_nuxt/DGztddWO.js +1 -0
- package/.output/public/_nuxt/DH5Ifo-i.js +1 -0
- package/.output/public/_nuxt/DHCkPAjA.js +1 -0
- package/.output/public/_nuxt/DHJKELXO.js +1 -0
- package/.output/public/_nuxt/DHQR4-dF.js +1 -0
- package/.output/public/_nuxt/DJjDtW9f.js +1 -0
- package/.output/public/_nuxt/DM8c43g1.js +1 -0
- package/.output/public/_nuxt/DMwsHuHA.js +1 -0
- package/.output/public/_nuxt/DMzUqQB5.js +1 -0
- package/.output/public/_nuxt/DPfMkruS.js +1 -0
- package/.output/public/_nuxt/DQwYQDb2.js +1 -0
- package/.output/public/_nuxt/DQyhUUbL.js +1 -0
- package/.output/public/_nuxt/DRg8JJMk.js +1 -0
- package/.output/public/_nuxt/DRw_LuNl.js +1 -0
- package/.output/public/_nuxt/DU1UobuO.js +1 -0
- package/.output/public/_nuxt/DUszq2jm.js +1 -0
- package/.output/public/_nuxt/DV7GczEv.js +1 -0
- package/.output/public/_nuxt/DVFEvuxE.js +1 -0
- package/.output/public/_nuxt/DVMEJ2y_.js +1 -0
- package/.output/public/_nuxt/DVxCFoDh.js +1 -0
- package/.output/public/_nuxt/DWedfzmr.js +1 -0
- package/.output/public/_nuxt/DWrx1Km3.js +1 -0
- package/.output/public/_nuxt/DXbdFlpD.js +1 -0
- package/.output/public/_nuxt/DXmwc3jG.js +1 -0
- package/.output/public/_nuxt/DXvB9xmW.js +1 -0
- package/.output/public/_nuxt/DYDTtHLR.js +1 -0
- package/.output/public/_nuxt/DYoxhk2S.js +1 -0
- package/.output/public/_nuxt/DZf3V79B.js +1 -0
- package/.output/public/_nuxt/DZu-aV2c.js +1 -0
- package/.output/public/_nuxt/DZxFcAj9.js +1 -0
- package/.output/public/_nuxt/D_Q5rh1f.js +1 -0
- package/.output/public/_nuxt/Da5cRb03.js +1 -0
- package/.output/public/_nuxt/DcaNXYhu.js +1 -0
- package/.output/public/_nuxt/Dd19v3D-.js +1 -0
- package/.output/public/_nuxt/DdkO51Og.js +1 -0
- package/.output/public/_nuxt/Ddv68eIx.js +1 -0
- package/.output/public/_nuxt/Des-eS-w.js +1 -0
- package/.output/public/_nuxt/Df6bDoY_.js +1 -0
- package/.output/public/_nuxt/Dg5xB15N.js +1 -0
- package/.output/public/_nuxt/DhQtydpF.js +3 -0
- package/.output/public/_nuxt/DhmSosst.js +1 -0
- package/.output/public/_nuxt/DkFqJrB1.js +1 -0
- package/.output/public/_nuxt/DkwncUOv.js +1 -0
- package/.output/public/_nuxt/DlAUqK2U.js +1 -0
- package/.output/public/_nuxt/DnULxvSX.js +1 -0
- package/.output/public/_nuxt/Dpen1YoG.js +1 -0
- package/.output/public/_nuxt/Dph4kLrZ.js +1 -0
- package/.output/public/_nuxt/DqQDbK_p.js +1 -0
- package/.output/public/_nuxt/DqwNpetd.js +1 -0
- package/.output/public/_nuxt/DsOJ9woJ.js +1 -0
- package/.output/public/_nuxt/Dspwwk_N.js +1 -0
- package/.output/public/_nuxt/DsumFeuD.js +1 -0
- package/.output/public/_nuxt/Dv7Oe6Be.js +1 -0
- package/.output/public/_nuxt/Dx-B1_4e.js +1 -0
- package/.output/public/_nuxt/DxNHbxmM.js +1 -0
- package/.output/public/_nuxt/DxSwrfjg.js +1 -0
- package/.output/public/_nuxt/DyxjwDmM.js +1 -0
- package/.output/public/_nuxt/Dzze3sRP.js +1 -0
- package/.output/public/_nuxt/E3gJ1_iC.js +1 -0
- package/.output/public/_nuxt/GsRaNv29.js +1 -0
- package/.output/public/_nuxt/IF9eRakj.js +1 -0
- package/.output/public/_nuxt/IeuSbFQv.js +1 -0
- package/.output/public/_nuxt/L9t79GZl.js +1 -0
- package/.output/public/_nuxt/MzD3tlZU.js +1 -0
- package/.output/public/_nuxt/P80f7IUj.js +1 -0
- package/.output/public/_nuxt/Pmp26Uib.js +1 -0
- package/.output/public/_nuxt/QIJgUcNo.js +1 -0
- package/.output/public/_nuxt/RNghxpo_.js +1 -0
- package/.output/public/_nuxt/TsXTqZ29.js +1 -0
- package/.output/public/_nuxt/VCDPK7BO.js +1 -0
- package/.output/public/_nuxt/VOosw3JB.js +1 -0
- package/.output/public/_nuxt/W9tJ9s81.js +1 -0
- package/.output/public/_nuxt/X6fIXIFO.js +1 -0
- package/.output/public/_nuxt/YqXBG_HV.js +1 -0
- package/.output/public/_nuxt/Yzrsuije.js +1 -0
- package/.output/public/_nuxt/_prd_.DYvuV73Q.css +1 -0
- package/.output/public/_nuxt/_ykCGR6B.js +1 -0
- package/.output/public/_nuxt/bCR0ucgS.js +1 -0
- package/.output/public/_nuxt/bN70gL4F.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/6683a0d9-9c02-4098-b750-bbbc0305261e.json +1 -0
- package/.output/public/_nuxt/dwOrl1Do.js +1 -0
- package/.output/public/_nuxt/entry.Dk19PK4d.css +1 -0
- package/.output/public/_nuxt/error-404.o50T1Yh0.css +1 -0
- package/.output/public/_nuxt/error-500.DdcU-NLM.css +1 -0
- package/.output/public/_nuxt/fKv21gyL.js +1 -0
- package/.output/public/_nuxt/fuZLfV_i.js +1 -0
- package/.output/public/_nuxt/g9-lgVsj.js +1 -0
- package/.output/public/_nuxt/gcz8RCvz.js +1 -0
- package/.output/public/_nuxt/hJgmCMqR.js +1 -0
- package/.output/public/_nuxt/hegEt444.js +1 -0
- package/.output/public/_nuxt/k_qm7-4y.js +1 -0
- package/.output/public/_nuxt/lXgVvXCa.js +1 -0
- package/.output/public/_nuxt/m17aaUwq.js +1 -0
- package/.output/public/_nuxt/mWjccvbQ.js +1 -0
- package/.output/public/_nuxt/mjskCLCv.js +1 -0
- package/.output/public/_nuxt/n2N0HUVH.js +1 -0
- package/.output/public/_nuxt/qdsjHGoJ.js +1 -0
- package/.output/public/_nuxt/rGO070M0.js +1 -0
- package/.output/public/_nuxt/u5AG7uiY.js +1 -0
- package/.output/public/_nuxt/uYugtg8r.js +1 -0
- package/.output/public/_nuxt/vGWfd6FD.js +1 -0
- package/.output/public/_nuxt/wDzz0qaB.js +1 -0
- package/.output/public/_nuxt/yv6CvBhz.js +1 -0
- package/.output/server/chunks/_/error-500.mjs +19 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/git-api.mjs +100 -0
- package/.output/server/chunks/_/git-api.mjs.map +1 -0
- package/.output/server/chunks/_/git.mjs +303 -0
- package/.output/server/chunks/_/git.mjs.map +1 -0
- package/.output/server/chunks/_/watcher.mjs +129 -0
- package/.output/server/chunks/_/watcher.mjs.map +1 -0
- package/.output/server/chunks/build/Column-styles.fAtZNsCt.mjs +8 -0
- package/.output/server/chunks/build/Column-styles.fAtZNsCt.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles-1.mjs-ZdBUa15f.mjs +4 -0
- package/.output/server/chunks/build/DiffViewer-styles-1.mjs-ZdBUa15f.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles-2.mjs-X6QKNjM0.mjs +4 -0
- package/.output/server/chunks/build/DiffViewer-styles-2.mjs-X6QKNjM0.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles.0AbHFl6N.mjs +8 -0
- package/.output/server/chunks/build/DiffViewer-styles.0AbHFl6N.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles.CoMVrk_N.mjs +8 -0
- package/.output/server/chunks/build/DiffViewer-styles.CoMVrk_N.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles.cLfMOdMh.mjs +10 -0
- package/.output/server/chunks/build/DiffViewer-styles.cLfMOdMh.mjs.map +1 -0
- package/.output/server/chunks/build/Viewer-styles.CshnetGw.mjs +8 -0
- package/.output/server/chunks/build/Viewer-styles.CshnetGw.mjs.map +1 -0
- package/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs +10 -0
- package/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs.map +1 -0
- package/.output/server/chunks/build/_prd_-CnwhMRyf.mjs +4225 -0
- package/.output/server/chunks/build/_prd_-CnwhMRyf.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/.output/server/chunks/build/default-DGOIWqjD.mjs +2222 -0
- package/.output/server/chunks/build/default-DGOIWqjD.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-Bf6kdO80.mjs +98 -0
- package/.output/server/chunks/build/error-404-Bf6kdO80.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DjEXIT5C.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.DjEXIT5C.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-D_bcARXN.mjs +76 -0
- package/.output/server/chunks/build/error-500-D_bcARXN.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.DObwArFs.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.DObwArFs.mjs.map +1 -0
- package/.output/server/chunks/build/index-CTpuP9Mj.mjs +76 -0
- package/.output/server/chunks/build/index-CTpuP9Mj.mjs.map +1 -0
- package/.output/server/chunks/build/index-D21S97KB.mjs +256 -0
- package/.output/server/chunks/build/index-D21S97KB.mjs.map +1 -0
- package/.output/server/chunks/build/nuxt-link-SvT1nf8Z.mjs +290 -0
- package/.output/server/chunks/build/nuxt-link-SvT1nf8Z.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +1257 -0
- package/.output/server/chunks/build/server.mjs.map +1 -0
- package/.output/server/chunks/build/styles.mjs +17 -0
- package/.output/server/chunks/build/styles.mjs.map +1 -0
- package/.output/server/chunks/build/usePrd-YhvN6Ary.mjs +563 -0
- package/.output/server/chunks/build/usePrd-YhvN6Ary.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +8056 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/api/browse.get.mjs +55 -0
- package/.output/server/chunks/routes/api/browse.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/index.get.mjs +17 -0
- package/.output/server/chunks/routes/api/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/index.post.mjs +46 -0
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/commits.get.mjs +111 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/commits.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/diff.get.mjs +86 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/diff.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/file-content.get.mjs +95 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/file-content.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/file-diff.get.mjs +112 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/file-diff.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/progress.get.mjs +44 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/progress.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks/_taskId/commits.get.mjs +121 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks/_taskId/commits.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks.get.mjs +44 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug_.get.mjs +81 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prds.get.mjs +76 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prds.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/refresh-git-repos.post.mjs +44 -0
- package/.output/server/chunks/routes/api/repos/_repoId/refresh-git-repos.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId_.delete.mjs +34 -0
- package/.output/server/chunks/routes/api/repos/_repoId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/watch.get.mjs +67 -0
- package/.output/server/chunks/routes/api/watch.get.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +500 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/index.mjs +11 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14582 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1055 -0
- package/.output/server/node_modules/@floating-ui/core/package.json +63 -0
- package/.output/server/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +777 -0
- package/.output/server/node_modules/@floating-ui/dom/package.json +71 -0
- package/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +161 -0
- package/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +139 -0
- package/.output/server/node_modules/@floating-ui/utils/package.json +70 -0
- package/.output/server/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +190 -0
- package/.output/server/node_modules/@floating-ui/vue/package.json +71 -0
- package/.output/server/node_modules/@internationalized/date/dist/BuddhistCalendar.mjs +48 -0
- package/.output/server/node_modules/@internationalized/date/dist/CalendarDate.mjs +252 -0
- package/.output/server/node_modules/@internationalized/date/dist/DateFormatter.mjs +140 -0
- package/.output/server/node_modules/@internationalized/date/dist/EthiopicCalendar.mjs +167 -0
- package/.output/server/node_modules/@internationalized/date/dist/GregorianCalendar.mjs +140 -0
- package/.output/server/node_modules/@internationalized/date/dist/HebrewCalendar.mjs +150 -0
- package/.output/server/node_modules/@internationalized/date/dist/IndianCalendar.mjs +101 -0
- package/.output/server/node_modules/@internationalized/date/dist/IslamicCalendar.mjs +161 -0
- package/.output/server/node_modules/@internationalized/date/dist/JapaneseCalendar.mjs +174 -0
- package/.output/server/node_modules/@internationalized/date/dist/PersianCalendar.mjs +82 -0
- package/.output/server/node_modules/@internationalized/date/dist/TaiwanCalendar.mjs +75 -0
- package/.output/server/node_modules/@internationalized/date/dist/conversion.mjs +218 -0
- package/.output/server/node_modules/@internationalized/date/dist/createCalendar.mjs +64 -0
- package/.output/server/node_modules/@internationalized/date/dist/import.mjs +45 -0
- package/.output/server/node_modules/@internationalized/date/dist/manipulation.mjs +344 -0
- package/.output/server/node_modules/@internationalized/date/dist/queries.mjs +320 -0
- package/.output/server/node_modules/@internationalized/date/dist/string.mjs +175 -0
- package/.output/server/node_modules/@internationalized/date/dist/utils.mjs +17 -0
- package/.output/server/node_modules/@internationalized/date/dist/weekStartData.mjs +113 -0
- package/.output/server/node_modules/@internationalized/date/package.json +35 -0
- package/.output/server/node_modules/@internationalized/number/dist/NumberFormatter.mjs +152 -0
- package/.output/server/node_modules/@internationalized/number/dist/NumberParser.mjs +273 -0
- package/.output/server/node_modules/@internationalized/number/dist/import.mjs +19 -0
- package/.output/server/node_modules/@internationalized/number/package.json +35 -0
- package/.output/server/node_modules/@shikijs/core/dist/index.mjs +2446 -0
- package/.output/server/node_modules/@shikijs/core/package.json +56 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +52 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +22 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/shared/engine-javascript.hzpS1_41.mjs +93 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +39 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +448 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +42 -0
- package/.output/server/node_modules/@shikijs/langs/dist/abap.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/actionscript-3.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ada.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-expression.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-html.mjs +16 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-inline-style.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-inline-template.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-let-declaration.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-template-blocks.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-template.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-ts.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/apache.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/apex.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/apl.mjs +16 -0
- package/.output/server/node_modules/@shikijs/langs/dist/applescript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ara.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/asciidoc.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/asm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/astro.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/awk.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ballerina.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/bat.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/beancount.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/berry.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/bibtex.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/bicep.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/blade.mjs +20 -0
- package/.output/server/node_modules/@shikijs/langs/dist/bsl.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/c.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/c3.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cadence.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cairo.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/clarity.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/clojure.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cmake.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cobol.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/codeowners.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/codeql.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/coffee.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/common-lisp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/coq.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cpp-macro.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cpp.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/crystal.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/csharp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/css.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/csv.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cue.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cypher.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/d.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/dart.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/dax.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/desktop.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/diff.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/docker.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/dotenv.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/dream-maker.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/edge.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/elixir.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/elm.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/erb.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/erlang.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-css.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-glsl.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-html.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-sql.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-xml.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fennel.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fish.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fluent.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fortran-fixed-form.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fortran-free-form.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fsharp.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gdresource.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gdscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gdshader.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/genie.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gherkin.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/git-commit.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/git-rebase.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gleam.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/glimmer-js.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/glimmer-ts.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/glsl.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gn.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gnuplot.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/go.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/graphql.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/groovy.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hack.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/haml.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/handlebars.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/haskell.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/haxe.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hcl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hjson.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hlsl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/html.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/http.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hurl.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hxml.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hy.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/imba.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ini.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/java.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jinja-html.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jinja.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jison.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/json.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/json5.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsonc.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsonl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsonnet.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jssm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/julia.mjs +16 -0
- package/.output/server/node_modules/@shikijs/langs/dist/kdl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/kotlin.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/kusto.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/latex.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/lean.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/less.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/liquid.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/llvm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/log.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/logo.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/lua.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/luau.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/make.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown-nix.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/marko.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/matlab.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mdx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mermaid.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mipsasm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mojo.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/moonbit.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/move.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/narrat.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nextflow.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nginx.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nim.mjs +20 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nix.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nushell.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/objective-c.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/objective-cpp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ocaml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/odin.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/openscad.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/pascal.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/perl.mjs +16 -0
- package/.output/server/node_modules/@shikijs/langs/dist/php.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/pkl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/plsql.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/po.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/polar.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/postcss.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/powerquery.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/powershell.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/prisma.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/prolog.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/proto.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/pug.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/puppet.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/purescript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/python.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/qml.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/qmldir.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/qss.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/r.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/racket.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/raku.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/razor.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/reg.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/regexp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/rel.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/riscv.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ron.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/rosmsg.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/rst.mjs +22 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ruby.mjs +30 -0
- package/.output/server/node_modules/@shikijs/langs/dist/rust.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sas.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sass.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/scala.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/scheme.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/scss.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sdbl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/shaderlab.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/shellsession.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/smalltalk.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/solidity.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/soy.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sparql.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/splunk.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sql.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ssh-config.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/stata.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/stylus.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/surrealql.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/svelte.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/swift.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/system-verilog.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/systemd.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/talonscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tasl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tcl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/templ.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/terraform.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tex.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/toml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ts-tags.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tsv.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/turtle.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/twig.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/typespec.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/typst.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/v.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vala.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vb.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/verilog.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vhdl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/viml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-html.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-vine.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vyper.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wasm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wenyan.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wgsl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wikitext.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wit.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wolfram.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/xml.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/xsl.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/zenscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/zig.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/package.json +380 -0
- package/.output/server/node_modules/@shikijs/themes/dist/andromeeda.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/aurora-x.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/ayu-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/ayu-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/ayu-mirage.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-frappe.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-latte.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-macchiato.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-mocha.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/dark-plus.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/dracula-soft.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/dracula.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/everforest-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/everforest-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark-default.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark-dimmed.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark-high-contrast.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-light-default.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-light-high-contrast.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-hard.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-medium.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-soft.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/horizon.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/houston.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-dragon.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-lotus.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-wave.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/laserwave.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/light-plus.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-darker.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-ocean.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/min-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/min-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/monokai.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/night-owl-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/night-owl.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/nord.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/one-dark-pro.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/one-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/plastic.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/poimandres.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/red.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/rose-pine-dawn.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/rose-pine-moon.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/rose-pine.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/slack-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/slack-ochin.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/snazzy-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/solarized-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/solarized-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/synthwave-84.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/tokyo-night.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/vesper.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/vitesse-black.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/vitesse-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/vitesse-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/package.json +102 -0
- package/.output/server/node_modules/@shikijs/types/dist/index.mjs +8 -0
- package/.output/server/node_modules/@shikijs/types/package.json +36 -0
- package/.output/server/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
- package/.output/server/node_modules/@shikijs/vscode-textmate/package.json +46 -0
- package/.output/server/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +8 -0
- package/.output/server/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +9 -0
- package/.output/server/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +6 -0
- package/.output/server/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
- package/.output/server/node_modules/@swc/helpers/package.json +694 -0
- package/.output/server/node_modules/@tanstack/virtual-core/dist/esm/index.js +887 -0
- package/.output/server/node_modules/@tanstack/virtual-core/dist/esm/utils.js +73 -0
- package/.output/server/node_modules/@tanstack/virtual-core/package.json +56 -0
- package/.output/server/node_modules/@tanstack/vue-virtual/dist/esm/index.js +66 -0
- package/.output/server/node_modules/@tanstack/vue-virtual/package.json +68 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
- package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1870 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6798 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1750 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/@vueuse/core/dist/index.js +8596 -0
- package/.output/server/node_modules/@vueuse/core/package.json +49 -0
- package/.output/server/node_modules/@vueuse/shared/dist/index.js +2066 -0
- package/.output/server/node_modules/@vueuse/shared/package.json +42 -0
- package/.output/server/node_modules/aria-hidden/dist/es5/index.js +174 -0
- package/.output/server/node_modules/aria-hidden/package.json +71 -0
- package/.output/server/node_modules/ccount/index.js +27 -0
- package/.output/server/node_modules/ccount/package.json +71 -0
- package/.output/server/node_modules/character-entities-html4/index.js +259 -0
- package/.output/server/node_modules/character-entities-html4/package.json +79 -0
- package/.output/server/node_modules/character-entities-legacy/index.js +113 -0
- package/.output/server/node_modules/character-entities-legacy/package.json +77 -0
- package/.output/server/node_modules/chokidar/handler.js +632 -0
- package/.output/server/node_modules/chokidar/index.js +822 -0
- package/.output/server/node_modules/chokidar/package.json +63 -0
- package/.output/server/node_modules/class-variance-authority/dist/index.mjs +56 -0
- package/.output/server/node_modules/class-variance-authority/package.json +63 -0
- package/.output/server/node_modules/clsx/dist/clsx.mjs +1 -0
- package/.output/server/node_modules/clsx/package.json +60 -0
- package/.output/server/node_modules/comma-separated-tokens/index.js +74 -0
- package/.output/server/node_modules/comma-separated-tokens/package.json +72 -0
- package/.output/server/node_modules/defu/dist/defu.mjs +69 -0
- package/.output/server/node_modules/defu/package.json +43 -0
- package/.output/server/node_modules/devalue/index.js +4 -0
- package/.output/server/node_modules/devalue/package.json +37 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +7 -0
- package/.output/server/node_modules/devalue/src/parse.js +246 -0
- package/.output/server/node_modules/devalue/src/stringify.js +350 -0
- package/.output/server/node_modules/devalue/src/uneval.js +490 -0
- package/.output/server/node_modules/devalue/src/utils.js +148 -0
- package/.output/server/node_modules/dompurify/dist/purify.es.mjs +1386 -0
- package/.output/server/node_modules/dompurify/package.json +171 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/hast-util-to-html/index.js +8 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
- package/.output/server/node_modules/hast-util-to-html/lib/index.js +257 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
- package/.output/server/node_modules/hast-util-to-html/package.json +106 -0
- package/.output/server/node_modules/hast-util-whitespace/index.js +1 -0
- package/.output/server/node_modules/hast-util-whitespace/lib/index.js +34 -0
- package/.output/server/node_modules/hast-util-whitespace/package.json +83 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +266 -0
- package/.output/server/node_modules/hookable/package.json +52 -0
- package/.output/server/node_modules/html-void-elements/index.js +27 -0
- package/.output/server/node_modules/html-void-elements/package.json +79 -0
- package/.output/server/node_modules/lucide-vue-next/dist/cjs/lucide-vue-next.js +24066 -0
- package/.output/server/node_modules/lucide-vue-next/package.json +64 -0
- package/.output/server/node_modules/marked/lib/marked.esm.js +72 -0
- package/.output/server/node_modules/marked/package.json +103 -0
- package/.output/server/node_modules/ohash/dist/crypto/node/index.mjs +5 -0
- package/.output/server/node_modules/ohash/dist/index.mjs +10 -0
- package/.output/server/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs +13 -0
- package/.output/server/node_modules/ohash/package.json +57 -0
- package/.output/server/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
- package/.output/server/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/utils.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/package.json +64 -0
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/index.js +1876 -0
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
- package/.output/server/node_modules/oniguruma-to-es/package.json +61 -0
- package/.output/server/node_modules/perfect-debounce/dist/index.mjs +89 -0
- package/.output/server/node_modules/perfect-debounce/package.json +41 -0
- package/.output/server/node_modules/property-information/index.js +17 -0
- package/.output/server/node_modules/property-information/lib/aria.js +61 -0
- package/.output/server/node_modules/property-information/lib/find.js +97 -0
- package/.output/server/node_modules/property-information/lib/hast-to-react.js +30 -0
- package/.output/server/node_modules/property-information/lib/html.js +322 -0
- package/.output/server/node_modules/property-information/lib/normalize.js +12 -0
- package/.output/server/node_modules/property-information/lib/svg.js +567 -0
- package/.output/server/node_modules/property-information/lib/util/case-insensitive-transform.js +13 -0
- package/.output/server/node_modules/property-information/lib/util/case-sensitive-transform.js +11 -0
- package/.output/server/node_modules/property-information/lib/util/create.js +69 -0
- package/.output/server/node_modules/property-information/lib/util/defined-info.js +60 -0
- package/.output/server/node_modules/property-information/lib/util/info.js +32 -0
- package/.output/server/node_modules/property-information/lib/util/merge.js +27 -0
- package/.output/server/node_modules/property-information/lib/util/schema.js +29 -0
- package/.output/server/node_modules/property-information/lib/util/types.js +13 -0
- package/.output/server/node_modules/property-information/lib/xlink.js +17 -0
- package/.output/server/node_modules/property-information/lib/xml.js +9 -0
- package/.output/server/node_modules/property-information/lib/xmlns.js +9 -0
- package/.output/server/node_modules/property-information/package.json +121 -0
- package/.output/server/node_modules/readdirp/index.js +272 -0
- package/.output/server/node_modules/readdirp/package.json +66 -0
- package/.output/server/node_modules/regex/package.json +60 -0
- package/.output/server/node_modules/regex/src/atomic.js +224 -0
- package/.output/server/node_modules/regex/src/internals.js +2 -0
- package/.output/server/node_modules/regex/src/subclass.js +98 -0
- package/.output/server/node_modules/regex/src/utils-internals.js +33 -0
- package/.output/server/node_modules/regex-recursion/package.json +47 -0
- package/.output/server/node_modules/regex-recursion/src/index.js +365 -0
- package/.output/server/node_modules/regex-utilities/package.json +35 -0
- package/.output/server/node_modules/regex-utilities/src/index.js +170 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionContent.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionHeader.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionItem.js +116 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionRoot.js +96 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionTrigger.js +68 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogAction.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogCancel.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogContent.js +73 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogDescription.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogOverlay.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogRoot.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogTitle.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogTrigger.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/AspectRatio/AspectRatio.js +56 -0
- package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarFallback.js +59 -0
- package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarImage.js +76 -0
- package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarRoot.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Avatar/utils.js +49 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarCell.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarCellTrigger.js +176 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGrid.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridBody.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridHead.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridRow.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeadCell.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeader.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeading.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarNext.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarPrev.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarRoot.js +317 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/useCalendar.js +267 -0
- package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxGroupRoot.js +115 -0
- package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxIndicator.js +59 -0
- package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxRoot.js +157 -0
- package/.output/server/node_modules/reka-ui/dist/Checkbox/utils.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleContent.js +113 -0
- package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleRoot.js +86 -0
- package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleTrigger.js +59 -0
- package/.output/server/node_modules/reka-ui/dist/Collection/Collection.js +79 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js +50 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxArrow.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxCancel.js +50 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxContent.js +144 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js +214 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxInput.js +134 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxItem.js +88 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxLabel.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js +259 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxSeparator.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js +68 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxViewport.js +64 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxVirtualizer.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/ConfigProvider/ConfigProvider.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuCheckboxItem.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuContent.js +136 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuGroup.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuItem.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuItemIndicator.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuLabel.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRadioGroup.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRadioItem.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRoot.js +74 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSeparator.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSub.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSubContent.js +126 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSubTrigger.js +44 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuTrigger.js +124 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/utils.js +8 -0
- package/.output/server/node_modules/reka-ui/dist/DateField/DateFieldInput.js +90 -0
- package/.output/server/node_modules/reka-ui/dist/DateField/DateFieldRoot.js +284 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerAnchor.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerArrow.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCalendar.js +60 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCell.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCellTrigger.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerClose.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerContent.js +147 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerField.js +56 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGrid.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridBody.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridHead.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridRow.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeadCell.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeader.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeading.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerInput.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerNext.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerPrev.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerRoot.js +245 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerTrigger.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangeField/DateRangeFieldInput.js +96 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangeField/DateRangeFieldRoot.js +342 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerAnchor.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerArrow.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCalendar.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCell.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCellTrigger.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerClose.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerContent.js +147 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerField.js +57 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGrid.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridBody.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridHead.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridRow.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeadCell.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeader.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeading.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerInput.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerNext.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerPrev.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerRoot.js +284 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerTrigger.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogClose.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContent.js +79 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentImpl.js +111 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentModal.js +85 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentNonModal.js +87 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogDescription.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogOverlay.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogOverlayImpl.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogRoot.js +71 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogTitle.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogTrigger.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/utils.js +26 -0
- package/.output/server/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js +130 -0
- package/.output/server/node_modules/reka-ui/dist/DismissableLayer/DismissableLayerBranch.js +43 -0
- package/.output/server/node_modules/reka-ui/dist/DismissableLayer/utils.js +122 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuCheckboxItem.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuContent.js +158 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuGroup.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuItem.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuItemIndicator.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuLabel.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRadioGroup.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRadioItem.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRoot.js +82 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSeparator.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSub.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubContent.js +126 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubTrigger.js +44 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuTrigger.js +95 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableArea.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableCancelTrigger.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableEditTrigger.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableInput.js +90 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditablePreview.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableRoot.js +224 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableSubmitTrigger.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/FocusScope/FocusScope.js +154 -0
- package/.output/server/node_modules/reka-ui/dist/FocusScope/stack.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/FocusScope/utils.js +79 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardContent.js +131 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardContentImpl.js +192 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardRoot.js +88 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardTrigger.js +70 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/utils.js +20 -0
- package/.output/server/node_modules/reka-ui/dist/Label/Label.js +43 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxContent.js +79 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxFilter.js +104 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxGroup.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxGroupLabel.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxItem.js +108 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxRoot.js +338 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxVirtualizer.js +218 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/utils.js +22 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuAnchor.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuArrow.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuCheckboxItem.js +65 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuContent.js +143 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuContentImpl.js +324 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuGroup.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuItem.js +90 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuItemImpl.js +100 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuItemIndicator.js +54 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuLabel.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRadioGroup.js +54 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRadioItem.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRoot.js +71 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRootContentModal.js +135 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRootContentNonModal.js +129 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuSeparator.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuSub.js +64 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuSubContent.js +167 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuSubTrigger.js +157 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/utils.js +69 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarCheckboxItem.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarContent.js +180 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarGroup.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarItem.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarItemIndicator.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarLabel.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarMenu.js +56 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRadioGroup.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRadioItem.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRoot.js +100 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSeparator.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSub.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSubContent.js +147 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSubTrigger.js +44 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarTrigger.js +125 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuContent.js +95 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuContentImpl.js +166 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuIndicator.js +85 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuItem.js +121 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuLink.js +75 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuList.js +57 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuRoot.js +183 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuSub.js +114 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuTrigger.js +150 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuViewport.js +158 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/utils.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldDecrement.js +69 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldIncrement.js +69 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldInput.js +115 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldRoot.js +224 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/utils.js +72 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationEllipsis.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationFirst.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationLast.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationList.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationListItem.js +59 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationNext.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationPrev.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationRoot.js +96 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/utils.js +74 -0
- package/.output/server/node_modules/reka-ui/dist/PinInput/PinInputInput.js +210 -0
- package/.output/server/node_modules/reka-ui/dist/PinInput/PinInputRoot.js +149 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverAnchor.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverClose.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContent.js +139 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentImpl.js +171 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentModal.js +146 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentNonModal.js +148 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverRoot.js +70 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverTrigger.js +68 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/PopperAnchor.js +49 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/PopperArrow.js +96 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/PopperContent.js +273 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/PopperRoot.js +27 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/utils.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Presence/Presence.js +50 -0
- package/.output/server/node_modules/reka-ui/dist/Presence/usePresence.js +122 -0
- package/.output/server/node_modules/reka-ui/dist/Primitive/Primitive.js +33 -0
- package/.output/server/node_modules/reka-ui/dist/Primitive/Slot.js +30 -0
- package/.output/server/node_modules/reka-ui/dist/Primitive/usePrimitiveElement.js +16 -0
- package/.output/server/node_modules/reka-ui/dist/Progress/ProgressIndicator.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/Progress/ProgressRoot.js +124 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/Radio.js +126 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupIndicator.js +57 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupItem.js +132 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupRoot.js +138 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/utils.js +15 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarCell.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarCellTrigger.js +237 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGrid.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridBody.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridHead.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridRow.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeadCell.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeader.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeading.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarNext.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarPrev.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarRoot.js +392 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/useRangeCalendar.js +145 -0
- package/.output/server/node_modules/reka-ui/dist/RovingFocus/RovingFocusGroup.js +145 -0
- package/.output/server/node_modules/reka-ui/dist/RovingFocus/RovingFocusItem.js +110 -0
- package/.output/server/node_modules/reka-ui/dist/RovingFocus/utils.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaCorner.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaCornerImpl.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaRoot.js +128 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbar.js +99 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarAuto.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarGlimpse.js +126 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarHover.js +65 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarImpl.js +123 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarScroll.js +88 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarVisible.js +107 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarX.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarY.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaThumb.js +98 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaViewport.js +76 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/utils.js +72 -0
- package/.output/server/node_modules/reka-ui/dist/Select/BubbleSelect.js +95 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectContent.js +160 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectContentImpl.js +311 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectGroup.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectIcon.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectItem.js +153 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectItemAlignedPosition.js +162 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectItemIndicator.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectItemText.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectLabel.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectPopperPosition.js +118 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectProvider.js +29 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectRoot.js +185 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollButtonImpl.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollDownButton.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollUpButton.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectSeparator.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectTrigger.js +132 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectValue.js +72 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectViewport.js +97 -0
- package/.output/server/node_modules/reka-ui/dist/Select/utils.js +30 -0
- package/.output/server/node_modules/reka-ui/dist/Separator/Separator.js +43 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderHorizontal.js +106 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderImpl.js +78 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderRange.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderRoot.js +217 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderThumb.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderThumbImpl.js +103 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderTrack.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderVertical.js +101 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/utils.js +129 -0
- package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterGroup.js +409 -0
- package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterPanel.js +151 -0
- package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterResizeHandle.js +154 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperDescription.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperIndicator.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperItem.js +94 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperRoot.js +172 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperSeparator.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperTitle.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperTrigger.js +115 -0
- package/.output/server/node_modules/reka-ui/dist/Switch/SwitchRoot.js +133 -0
- package/.output/server/node_modules/reka-ui/dist/Switch/SwitchThumb.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsContent.js +88 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsIndicator.js +70 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsList.js +68 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsRoot.js +109 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsTrigger.js +93 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/utils.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputClear.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputInput.js +151 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItem.js +78 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItemDelete.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItemText.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputRoot.js +256 -0
- package/.output/server/node_modules/reka-ui/dist/Teleport/Teleport.js +49 -0
- package/.output/server/node_modules/reka-ui/dist/TimeField/TimeFieldInput.js +92 -0
- package/.output/server/node_modules/reka-ui/dist/TimeField/TimeFieldRoot.js +320 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/FocusProxy.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastAction.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastAnnounce.js +32 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastAnnounceExclude.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastClose.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastDescription.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastProvider.js +80 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastRoot.js +140 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastRootImpl.js +234 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastTitle.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastViewport.js +178 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/utils.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Toggle/Toggle.js +110 -0
- package/.output/server/node_modules/reka-ui/dist/ToggleGroup/ToggleGroupItem.js +63 -0
- package/.output/server/node_modules/reka-ui/dist/ToggleGroup/ToggleGroupRoot.js +128 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarButton.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarLink.js +49 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarRoot.js +81 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarSeparator.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarToggleGroup.js +89 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarToggleItem.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipArrow.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContent.js +104 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContentHoverable.js +100 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContentImpl.js +148 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipProvider.js +78 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipRoot.js +132 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipTrigger.js +114 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/utils.js +6 -0
- package/.output/server/node_modules/reka-ui/dist/Tree/TreeItem.js +175 -0
- package/.output/server/node_modules/reka-ui/dist/Tree/TreeRoot.js +243 -0
- package/.output/server/node_modules/reka-ui/dist/Tree/TreeVirtualizer.js +168 -0
- package/.output/server/node_modules/reka-ui/dist/Tree/utils.js +12 -0
- package/.output/server/node_modules/reka-ui/dist/Viewport/Viewport.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHidden.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInput.js +86 -0
- package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js +73 -0
- package/.output/server/node_modules/reka-ui/dist/component/Arrow.js +69 -0
- package/.output/server/node_modules/reka-ui/dist/component/BaseSeparator.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/composables/useWindowSplitterBehavior.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/composables/useWindowSplitterPanelGroupBehavior.js +94 -0
- package/.output/server/node_modules/reka-ui/dist/date/calendar.js +156 -0
- package/.output/server/node_modules/reka-ui/dist/date/comparators.js +194 -0
- package/.output/server/node_modules/reka-ui/dist/date/index.js +0 -0
- package/.output/server/node_modules/reka-ui/dist/date/parser.js +135 -0
- package/.output/server/node_modules/reka-ui/dist/date/parts.js +27 -0
- package/.output/server/node_modules/reka-ui/dist/date/placeholders.js +493 -0
- package/.output/server/node_modules/reka-ui/dist/date/segment.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/date/useDateField.js +720 -0
- package/.output/server/node_modules/reka-ui/dist/date/utils.js +85 -0
- package/.output/server/node_modules/reka-ui/dist/index.js +466 -0
- package/.output/server/node_modules/reka-ui/dist/index2.js +0 -0
- package/.output/server/node_modules/reka-ui/dist/shared/arrays.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/shared/browser.js +6 -0
- package/.output/server/node_modules/reka-ui/dist/shared/clamp.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/shared/createContext.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/shared/getActiveElement.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js +15 -0
- package/.output/server/node_modules/reka-ui/dist/shared/isValueEqualOrExist.js +22 -0
- package/.output/server/node_modules/reka-ui/dist/shared/nullish.js +8 -0
- package/.output/server/node_modules/reka-ui/dist/shared/renderSlotFragments.js +14 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useArrowNavigation.js +64 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useBodyScrollLock.js +95 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useDateFormatter.js +140 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useDirection.js +17 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useEmitAsProps.js +26 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useFilter.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useFocusGuards.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useFormControl.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useForwardExpose.js +57 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useForwardProps.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js +29 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useGraceArea.js +200 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useHideOthers.js +26 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useId.js +24 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useIsUsingKeyboard.js +27 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useKbd.js +43 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useLocale.js +17 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useNonce.js +12 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useSelectionBehavior.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useSingleOrMultipleValue.js +63 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useSize.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useStateMachine.js +32 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useTypeahead.js +70 -0
- package/.output/server/node_modules/reka-ui/dist/shared/withDefault.js +25 -0
- package/.output/server/node_modules/reka-ui/dist/utils/assert.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/utils/calculate.js +113 -0
- package/.output/server/node_modules/reka-ui/dist/utils/callPanelCallbacks.js +25 -0
- package/.output/server/node_modules/reka-ui/dist/utils/compare.js +17 -0
- package/.output/server/node_modules/reka-ui/dist/utils/constants.js +6 -0
- package/.output/server/node_modules/reka-ui/dist/utils/debounce.js +15 -0
- package/.output/server/node_modules/reka-ui/dist/utils/dom.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/utils/events.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/utils/layout.js +137 -0
- package/.output/server/node_modules/reka-ui/dist/utils/pivot.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/utils/rects.js +9 -0
- package/.output/server/node_modules/reka-ui/dist/utils/registry.js +183 -0
- package/.output/server/node_modules/reka-ui/dist/utils/resizePanel.js +22 -0
- package/.output/server/node_modules/reka-ui/dist/utils/stackingOrder.js +94 -0
- package/.output/server/node_modules/reka-ui/dist/utils/storage.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/utils/style.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/utils/validation.js +53 -0
- package/.output/server/node_modules/reka-ui/package.json +121 -0
- package/.output/server/node_modules/shiki/dist/bundle-full.mjs +27 -0
- package/.output/server/node_modules/shiki/dist/bundle-web.mjs +366 -0
- package/.output/server/node_modules/shiki/dist/index.mjs +6 -0
- package/.output/server/node_modules/shiki/dist/langs.mjs +1412 -0
- package/.output/server/node_modules/shiki/dist/themes.mjs +389 -0
- package/.output/server/node_modules/shiki/dist/wasm.mjs +2 -0
- package/.output/server/node_modules/shiki/package.json +70 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/space-separated-tokens/index.js +24 -0
- package/.output/server/node_modules/space-separated-tokens/package.json +67 -0
- package/.output/server/node_modules/stringify-entities/index.js +6 -0
- package/.output/server/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/core.js +117 -0
- package/.output/server/node_modules/stringify-entities/lib/index.js +36 -0
- package/.output/server/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
- package/.output/server/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-named.js +57 -0
- package/.output/server/node_modules/stringify-entities/package.json +86 -0
- package/.output/server/node_modules/tailwind-merge/dist/bundle-mjs.mjs +3282 -0
- package/.output/server/node_modules/tailwind-merge/package.json +93 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.B578PsDV.mjs +266 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BFfcxOoW.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BPM0-cfG.mjs +44 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.eK9_7LaY.mjs +198 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +105 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
- package/.output/server/node_modules/vue-demi/lib/index.mjs +34 -0
- package/.output/server/node_modules/vue-demi/package.json +47 -0
- package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
- package/.output/server/node_modules/vue-router/package.json +153 -0
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/node_modules/vue-sonner/lib/vue-sonner.js +801 -0
- package/.output/server/node_modules/vue-sonner/package.json +80 -0
- package/.output/server/node_modules/zwitch/index.js +118 -0
- package/.output/server/node_modules/zwitch/package.json +72 -0
- package/.output/server/package.json +78 -0
- package/README.md +1 -2
- package/dist/host/src/index.js +2 -2
- package/dist/host/src/ui.js +62 -22
- package/dist/server/utils/repos.js +2 -2
- package/package.json +17 -15
- package/app/app.vue +0 -14
- package/app/assets/css/main.css +0 -129
- package/app/components/CommandPalette.vue +0 -182
- package/app/components/ShortcutsHelp.vue +0 -85
- package/app/components/git/ChangesMinimap.vue +0 -143
- package/app/components/git/CommitList.vue +0 -224
- package/app/components/git/DiffPanel.vue +0 -402
- package/app/components/git/DiffViewer.vue +0 -803
- package/app/components/layout/RepoSelector.vue +0 -358
- package/app/components/layout/Sidebar.vue +0 -91
- package/app/components/prd/Meta.vue +0 -69
- package/app/components/prd/Viewer.vue +0 -285
- package/app/components/tasks/Board.vue +0 -86
- package/app/components/tasks/Card.vue +0 -108
- package/app/components/tasks/Column.vue +0 -108
- package/app/components/tasks/Detail.vue +0 -291
- package/app/components/ui/badge/Badge.vue +0 -26
- package/app/components/ui/badge/index.ts +0 -26
- package/app/components/ui/button/Button.vue +0 -29
- package/app/components/ui/button/index.ts +0 -38
- package/app/components/ui/card/Card.vue +0 -22
- package/app/components/ui/card/CardAction.vue +0 -17
- package/app/components/ui/card/CardContent.vue +0 -17
- package/app/components/ui/card/CardDescription.vue +0 -17
- package/app/components/ui/card/CardFooter.vue +0 -17
- package/app/components/ui/card/CardHeader.vue +0 -17
- package/app/components/ui/card/CardTitle.vue +0 -17
- package/app/components/ui/card/index.ts +0 -7
- package/app/components/ui/combobox/Combobox.vue +0 -19
- package/app/components/ui/combobox/ComboboxAnchor.vue +0 -23
- package/app/components/ui/combobox/ComboboxEmpty.vue +0 -21
- package/app/components/ui/combobox/ComboboxGroup.vue +0 -27
- package/app/components/ui/combobox/ComboboxInput.vue +0 -42
- package/app/components/ui/combobox/ComboboxItem.vue +0 -24
- package/app/components/ui/combobox/ComboboxItemIndicator.vue +0 -23
- package/app/components/ui/combobox/ComboboxList.vue +0 -33
- package/app/components/ui/combobox/ComboboxSeparator.vue +0 -21
- package/app/components/ui/combobox/ComboboxTrigger.vue +0 -24
- package/app/components/ui/combobox/ComboboxViewport.vue +0 -23
- package/app/components/ui/combobox/index.ts +0 -13
- package/app/components/ui/command/Command.vue +0 -103
- package/app/components/ui/command/CommandDialog.vue +0 -33
- package/app/components/ui/command/CommandEmpty.vue +0 -27
- package/app/components/ui/command/CommandGroup.vue +0 -45
- package/app/components/ui/command/CommandInput.vue +0 -54
- package/app/components/ui/command/CommandItem.vue +0 -76
- package/app/components/ui/command/CommandList.vue +0 -25
- package/app/components/ui/command/CommandSeparator.vue +0 -21
- package/app/components/ui/command/CommandShortcut.vue +0 -17
- package/app/components/ui/command/index.ts +0 -25
- package/app/components/ui/dialog/Dialog.vue +0 -19
- package/app/components/ui/dialog/DialogClose.vue +0 -15
- package/app/components/ui/dialog/DialogContent.vue +0 -53
- package/app/components/ui/dialog/DialogDescription.vue +0 -23
- package/app/components/ui/dialog/DialogFooter.vue +0 -15
- package/app/components/ui/dialog/DialogHeader.vue +0 -17
- package/app/components/ui/dialog/DialogOverlay.vue +0 -21
- package/app/components/ui/dialog/DialogScrollContent.vue +0 -59
- package/app/components/ui/dialog/DialogTitle.vue +0 -23
- package/app/components/ui/dialog/DialogTrigger.vue +0 -15
- package/app/components/ui/dialog/index.ts +0 -10
- package/app/components/ui/input/Input.vue +0 -33
- package/app/components/ui/input/index.ts +0 -1
- package/app/components/ui/scroll-area/ScrollArea.vue +0 -33
- package/app/components/ui/scroll-area/ScrollBar.vue +0 -32
- package/app/components/ui/scroll-area/index.ts +0 -2
- package/app/components/ui/separator/Separator.vue +0 -29
- package/app/components/ui/separator/index.ts +0 -1
- package/app/components/ui/sheet/Sheet.vue +0 -19
- package/app/components/ui/sheet/SheetClose.vue +0 -15
- package/app/components/ui/sheet/SheetContent.vue +0 -62
- package/app/components/ui/sheet/SheetDescription.vue +0 -21
- package/app/components/ui/sheet/SheetFooter.vue +0 -16
- package/app/components/ui/sheet/SheetHeader.vue +0 -15
- package/app/components/ui/sheet/SheetOverlay.vue +0 -21
- package/app/components/ui/sheet/SheetTitle.vue +0 -21
- package/app/components/ui/sheet/SheetTrigger.vue +0 -15
- package/app/components/ui/sheet/index.ts +0 -8
- package/app/components/ui/tabs/Tabs.vue +0 -24
- package/app/components/ui/tabs/TabsContent.vue +0 -21
- package/app/components/ui/tabs/TabsList.vue +0 -24
- package/app/components/ui/tabs/TabsTrigger.vue +0 -26
- package/app/components/ui/tabs/index.ts +0 -4
- package/app/components/ui/tooltip/Tooltip.vue +0 -19
- package/app/components/ui/tooltip/TooltipContent.vue +0 -34
- package/app/components/ui/tooltip/TooltipProvider.vue +0 -14
- package/app/components/ui/tooltip/TooltipTrigger.vue +0 -15
- package/app/components/ui/tooltip/index.ts +0 -4
- package/app/composables/useFileWatch.ts +0 -78
- package/app/composables/useGit.ts +0 -180
- package/app/composables/useKeyboard.ts +0 -180
- package/app/composables/usePrd.ts +0 -86
- package/app/composables/useRepos.ts +0 -108
- package/app/composables/useThemeMode.ts +0 -38
- package/app/composables/useToast.ts +0 -31
- package/app/layouts/default.vue +0 -197
- package/app/lib/utils.ts +0 -7
- package/app/pages/[repo]/[prd].vue +0 -263
- package/app/pages/index.vue +0 -257
- package/app/types/git.ts +0 -81
- package/app/types/index.ts +0 -29
- package/app/types/prd.ts +0 -49
- package/app/types/repo.ts +0 -37
- package/app/types/task.ts +0 -134
- package/components.json +0 -21
- package/nuxt.config.ts +0 -34
- package/server/api/browse.get.ts +0 -52
- package/server/api/repos/[repoId]/git/commits.get.ts +0 -103
- package/server/api/repos/[repoId]/git/diff.get.ts +0 -77
- package/server/api/repos/[repoId]/git/file-content.get.ts +0 -66
- package/server/api/repos/[repoId]/git/file-diff.get.ts +0 -109
- package/server/api/repos/[repoId]/prd/[prdSlug]/progress.get.ts +0 -36
- package/server/api/repos/[repoId]/prd/[prdSlug]/tasks/[taskId]/commits.get.ts +0 -146
- package/server/api/repos/[repoId]/prd/[prdSlug]/tasks.get.ts +0 -36
- package/server/api/repos/[repoId]/prd/[prdSlug].get.ts +0 -97
- package/server/api/repos/[repoId]/prds.get.ts +0 -85
- package/server/api/repos/[repoId]/refresh-git-repos.post.ts +0 -42
- package/server/api/repos/[repoId].delete.ts +0 -27
- package/server/api/repos/index.get.ts +0 -5
- package/server/api/repos/index.post.ts +0 -39
- package/server/api/watch.get.ts +0 -63
- package/server/plugins/migrate-legacy-state.ts +0 -19
- package/server/tsconfig.json +0 -3
- package/server/utils/db.ts +0 -169
- package/server/utils/git.ts +0 -478
- package/server/utils/prd-state.ts +0 -335
- package/server/utils/repos.ts +0 -322
- package/server/utils/watcher.ts +0 -179
- package/tsconfig.json +0 -4
- /package/{public → .output/public}/favicon.ico +0 -0
- /package/{public → .output/public}/robots.txt +0 -0
|
@@ -0,0 +1,2066 @@
|
|
|
1
|
+
import { computed, customRef, effectScope, getCurrentInstance, getCurrentScope, hasInjectionContext, inject, isReactive, isRef, nextTick, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, provide, reactive, readonly, ref, shallowReadonly, shallowRef, toRef as toRef$1, toRefs as toRefs$1, toValue, unref, watch, watchEffect } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region computedEager/index.ts
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated This function will be removed in future version.
|
|
7
|
+
*
|
|
8
|
+
* Note: If you are using Vue 3.4+, you can straight use computed instead.
|
|
9
|
+
* Because in Vue 3.4+, if computed new value does not change,
|
|
10
|
+
* computed, effect, watch, watchEffect, render dependencies will not be triggered.
|
|
11
|
+
* refer: https://github.com/vuejs/core/pull/5912
|
|
12
|
+
*
|
|
13
|
+
* @param fn effect function
|
|
14
|
+
* @param options WatchOptionsBase
|
|
15
|
+
* @returns readonly shallowRef
|
|
16
|
+
*/
|
|
17
|
+
function computedEager(fn, options) {
|
|
18
|
+
var _options$flush;
|
|
19
|
+
const result = shallowRef();
|
|
20
|
+
watchEffect(() => {
|
|
21
|
+
result.value = fn();
|
|
22
|
+
}, {
|
|
23
|
+
...options,
|
|
24
|
+
flush: (_options$flush = options === null || options === void 0 ? void 0 : options.flush) !== null && _options$flush !== void 0 ? _options$flush : "sync"
|
|
25
|
+
});
|
|
26
|
+
return readonly(result);
|
|
27
|
+
}
|
|
28
|
+
/** @deprecated use `computedEager` instead */
|
|
29
|
+
const eagerComputed = computedEager;
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region computedWithControl/index.ts
|
|
33
|
+
/**
|
|
34
|
+
* Explicitly define the deps of computed.
|
|
35
|
+
*
|
|
36
|
+
* @param source
|
|
37
|
+
* @param fn
|
|
38
|
+
*/
|
|
39
|
+
function computedWithControl(source, fn, options = {}) {
|
|
40
|
+
let v = void 0;
|
|
41
|
+
let track;
|
|
42
|
+
let trigger;
|
|
43
|
+
let dirty = true;
|
|
44
|
+
const update = () => {
|
|
45
|
+
dirty = true;
|
|
46
|
+
trigger();
|
|
47
|
+
};
|
|
48
|
+
watch(source, update, {
|
|
49
|
+
flush: "sync",
|
|
50
|
+
...options
|
|
51
|
+
});
|
|
52
|
+
const get$1 = typeof fn === "function" ? fn : fn.get;
|
|
53
|
+
const set$1 = typeof fn === "function" ? void 0 : fn.set;
|
|
54
|
+
const result = customRef((_track, _trigger) => {
|
|
55
|
+
track = _track;
|
|
56
|
+
trigger = _trigger;
|
|
57
|
+
return {
|
|
58
|
+
get() {
|
|
59
|
+
if (dirty) {
|
|
60
|
+
v = get$1(v);
|
|
61
|
+
dirty = false;
|
|
62
|
+
}
|
|
63
|
+
track();
|
|
64
|
+
return v;
|
|
65
|
+
},
|
|
66
|
+
set(v$1) {
|
|
67
|
+
set$1 === null || set$1 === void 0 || set$1(v$1);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
result.trigger = update;
|
|
72
|
+
return result;
|
|
73
|
+
}
|
|
74
|
+
/** @deprecated use `computedWithControl` instead */
|
|
75
|
+
const controlledComputed = computedWithControl;
|
|
76
|
+
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region tryOnScopeDispose/index.ts
|
|
79
|
+
/**
|
|
80
|
+
* Call onScopeDispose() if it's inside an effect scope lifecycle, if not, do nothing
|
|
81
|
+
*
|
|
82
|
+
* @param fn
|
|
83
|
+
*/
|
|
84
|
+
function tryOnScopeDispose(fn, failSilently) {
|
|
85
|
+
if (getCurrentScope()) {
|
|
86
|
+
onScopeDispose(fn, failSilently);
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region createEventHook/index.ts
|
|
94
|
+
/**
|
|
95
|
+
* Utility for creating event hooks
|
|
96
|
+
*
|
|
97
|
+
* @see https://vueuse.org/createEventHook
|
|
98
|
+
*
|
|
99
|
+
* @__NO_SIDE_EFFECTS__
|
|
100
|
+
*/
|
|
101
|
+
function createEventHook() {
|
|
102
|
+
const fns = /* @__PURE__ */ new Set();
|
|
103
|
+
const off = (fn) => {
|
|
104
|
+
fns.delete(fn);
|
|
105
|
+
};
|
|
106
|
+
const clear = () => {
|
|
107
|
+
fns.clear();
|
|
108
|
+
};
|
|
109
|
+
const on = (fn) => {
|
|
110
|
+
fns.add(fn);
|
|
111
|
+
const offFn = () => off(fn);
|
|
112
|
+
tryOnScopeDispose(offFn);
|
|
113
|
+
return { off: offFn };
|
|
114
|
+
};
|
|
115
|
+
const trigger = (...args) => {
|
|
116
|
+
return Promise.all(Array.from(fns).map((fn) => fn(...args)));
|
|
117
|
+
};
|
|
118
|
+
return {
|
|
119
|
+
on,
|
|
120
|
+
off,
|
|
121
|
+
trigger,
|
|
122
|
+
clear
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region createGlobalState/index.ts
|
|
128
|
+
/**
|
|
129
|
+
* Keep states in the global scope to be reusable across Vue instances.
|
|
130
|
+
*
|
|
131
|
+
* @see https://vueuse.org/createGlobalState
|
|
132
|
+
* @param stateFactory A factory function to create the state
|
|
133
|
+
*
|
|
134
|
+
* @__NO_SIDE_EFFECTS__
|
|
135
|
+
*/
|
|
136
|
+
function createGlobalState(stateFactory) {
|
|
137
|
+
let initialized = false;
|
|
138
|
+
let state;
|
|
139
|
+
const scope = effectScope(true);
|
|
140
|
+
return ((...args) => {
|
|
141
|
+
if (!initialized) {
|
|
142
|
+
state = scope.run(() => stateFactory(...args));
|
|
143
|
+
initialized = true;
|
|
144
|
+
}
|
|
145
|
+
return state;
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
//#endregion
|
|
150
|
+
//#region provideLocal/map.ts
|
|
151
|
+
const localProvidedStateMap = /* @__PURE__ */ new WeakMap();
|
|
152
|
+
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region injectLocal/index.ts
|
|
155
|
+
/**
|
|
156
|
+
* On the basis of `inject`, it is allowed to directly call inject to obtain the value after call provide in the same component.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* ```ts
|
|
160
|
+
* injectLocal('MyInjectionKey', 1)
|
|
161
|
+
* const injectedValue = injectLocal('MyInjectionKey') // injectedValue === 1
|
|
162
|
+
* ```
|
|
163
|
+
*
|
|
164
|
+
* @__NO_SIDE_EFFECTS__
|
|
165
|
+
*/
|
|
166
|
+
const injectLocal = (...args) => {
|
|
167
|
+
var _getCurrentInstance;
|
|
168
|
+
const key = args[0];
|
|
169
|
+
const instance = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.proxy;
|
|
170
|
+
const owner = instance !== null && instance !== void 0 ? instance : getCurrentScope();
|
|
171
|
+
if (owner == null && !hasInjectionContext()) throw new Error("injectLocal must be called in setup");
|
|
172
|
+
if (owner && localProvidedStateMap.has(owner) && key in localProvidedStateMap.get(owner)) return localProvidedStateMap.get(owner)[key];
|
|
173
|
+
return inject(...args);
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
//#endregion
|
|
177
|
+
//#region provideLocal/index.ts
|
|
178
|
+
/**
|
|
179
|
+
* On the basis of `provide`, it is allowed to directly call inject to obtain the value after call provide in the same component.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* ```ts
|
|
183
|
+
* provideLocal('MyInjectionKey', 1)
|
|
184
|
+
* const injectedValue = injectLocal('MyInjectionKey') // injectedValue === 1
|
|
185
|
+
* ```
|
|
186
|
+
*/
|
|
187
|
+
function provideLocal(key, value) {
|
|
188
|
+
var _getCurrentInstance;
|
|
189
|
+
const instance = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.proxy;
|
|
190
|
+
const owner = instance !== null && instance !== void 0 ? instance : getCurrentScope();
|
|
191
|
+
if (owner == null) throw new Error("provideLocal must be called in setup");
|
|
192
|
+
if (!localProvidedStateMap.has(owner)) localProvidedStateMap.set(owner, Object.create(null));
|
|
193
|
+
const localProvidedState = localProvidedStateMap.get(owner);
|
|
194
|
+
localProvidedState[key] = value;
|
|
195
|
+
return provide(key, value);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
//#endregion
|
|
199
|
+
//#region createInjectionState/index.ts
|
|
200
|
+
/**
|
|
201
|
+
* Create global state that can be injected into components.
|
|
202
|
+
*
|
|
203
|
+
* @see https://vueuse.org/createInjectionState
|
|
204
|
+
*
|
|
205
|
+
* @__NO_SIDE_EFFECTS__
|
|
206
|
+
*/
|
|
207
|
+
function createInjectionState(composable, options) {
|
|
208
|
+
const key = (options === null || options === void 0 ? void 0 : options.injectionKey) || Symbol(composable.name || "InjectionState");
|
|
209
|
+
const defaultValue = options === null || options === void 0 ? void 0 : options.defaultValue;
|
|
210
|
+
const useProvidingState = (...args) => {
|
|
211
|
+
const state = composable(...args);
|
|
212
|
+
provideLocal(key, state);
|
|
213
|
+
return state;
|
|
214
|
+
};
|
|
215
|
+
const useInjectedState = () => injectLocal(key, defaultValue);
|
|
216
|
+
return [useProvidingState, useInjectedState];
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region createRef/index.ts
|
|
221
|
+
/**
|
|
222
|
+
* Returns a `deepRef` or `shallowRef` depending on the `deep` param.
|
|
223
|
+
*
|
|
224
|
+
* @example createRef(1) // ShallowRef<number>
|
|
225
|
+
* @example createRef(1, false) // ShallowRef<number>
|
|
226
|
+
* @example createRef(1, true) // Ref<number>
|
|
227
|
+
* @example createRef("string") // ShallowRef<string>
|
|
228
|
+
* @example createRef<"A"|"B">("A", true) // Ref<"A"|"B">
|
|
229
|
+
*
|
|
230
|
+
* @param value
|
|
231
|
+
* @param deep
|
|
232
|
+
* @returns the `deepRef` or `shallowRef`
|
|
233
|
+
*
|
|
234
|
+
* @__NO_SIDE_EFFECTS__
|
|
235
|
+
*/
|
|
236
|
+
function createRef(value, deep) {
|
|
237
|
+
if (deep === true) return ref(value);
|
|
238
|
+
else return shallowRef(value);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region utils/is.ts
|
|
243
|
+
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
244
|
+
const isWorker = typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
245
|
+
const isDef = (val) => typeof val !== "undefined";
|
|
246
|
+
const notNullish = (val) => val != null;
|
|
247
|
+
const assert = (condition, ...infos) => {
|
|
248
|
+
if (!condition) console.warn(...infos);
|
|
249
|
+
};
|
|
250
|
+
const toString = Object.prototype.toString;
|
|
251
|
+
const isObject = (val) => toString.call(val) === "[object Object]";
|
|
252
|
+
const now = () => Date.now();
|
|
253
|
+
const timestamp = () => +Date.now();
|
|
254
|
+
const clamp = (n, min, max) => Math.min(max, Math.max(min, n));
|
|
255
|
+
const noop = () => {};
|
|
256
|
+
const rand = (min, max) => {
|
|
257
|
+
min = Math.ceil(min);
|
|
258
|
+
max = Math.floor(max);
|
|
259
|
+
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
260
|
+
};
|
|
261
|
+
const hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key);
|
|
262
|
+
const isIOS = /* @__PURE__ */ getIsIOS();
|
|
263
|
+
function getIsIOS() {
|
|
264
|
+
var _window, _window2, _window3;
|
|
265
|
+
return isClient && !!((_window = window) === null || _window === void 0 || (_window = _window.navigator) === null || _window === void 0 ? void 0 : _window.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.navigator) === null || _window2 === void 0 ? void 0 : _window2.maxTouchPoints) > 2 && /iPad|Macintosh/.test((_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.navigator.userAgent));
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
//#endregion
|
|
269
|
+
//#region toRef/index.ts
|
|
270
|
+
function toRef(...args) {
|
|
271
|
+
if (args.length !== 1) return toRef$1(...args);
|
|
272
|
+
const r = args[0];
|
|
273
|
+
return typeof r === "function" ? readonly(customRef(() => ({
|
|
274
|
+
get: r,
|
|
275
|
+
set: noop
|
|
276
|
+
}))) : ref(r);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
//#endregion
|
|
280
|
+
//#region utils/filters.ts
|
|
281
|
+
/**
|
|
282
|
+
* @internal
|
|
283
|
+
*/
|
|
284
|
+
function createFilterWrapper(filter, fn) {
|
|
285
|
+
function wrapper(...args) {
|
|
286
|
+
return new Promise((resolve, reject) => {
|
|
287
|
+
Promise.resolve(filter(() => fn.apply(this, args), {
|
|
288
|
+
fn,
|
|
289
|
+
thisArg: this,
|
|
290
|
+
args
|
|
291
|
+
})).then(resolve).catch(reject);
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
return wrapper;
|
|
295
|
+
}
|
|
296
|
+
const bypassFilter = (invoke$1) => {
|
|
297
|
+
return invoke$1();
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* Create an EventFilter that debounce the events
|
|
301
|
+
*/
|
|
302
|
+
function debounceFilter(ms, options = {}) {
|
|
303
|
+
let timer;
|
|
304
|
+
let maxTimer;
|
|
305
|
+
let lastRejector = noop;
|
|
306
|
+
const _clearTimeout = (timer$1) => {
|
|
307
|
+
clearTimeout(timer$1);
|
|
308
|
+
lastRejector();
|
|
309
|
+
lastRejector = noop;
|
|
310
|
+
};
|
|
311
|
+
let lastInvoker;
|
|
312
|
+
const filter = (invoke$1) => {
|
|
313
|
+
const duration = toValue(ms);
|
|
314
|
+
const maxDuration = toValue(options.maxWait);
|
|
315
|
+
if (timer) _clearTimeout(timer);
|
|
316
|
+
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
317
|
+
if (maxTimer) {
|
|
318
|
+
_clearTimeout(maxTimer);
|
|
319
|
+
maxTimer = void 0;
|
|
320
|
+
}
|
|
321
|
+
return Promise.resolve(invoke$1());
|
|
322
|
+
}
|
|
323
|
+
return new Promise((resolve, reject) => {
|
|
324
|
+
lastRejector = options.rejectOnCancel ? reject : resolve;
|
|
325
|
+
lastInvoker = invoke$1;
|
|
326
|
+
if (maxDuration && !maxTimer) maxTimer = setTimeout(() => {
|
|
327
|
+
if (timer) _clearTimeout(timer);
|
|
328
|
+
maxTimer = void 0;
|
|
329
|
+
resolve(lastInvoker());
|
|
330
|
+
}, maxDuration);
|
|
331
|
+
timer = setTimeout(() => {
|
|
332
|
+
if (maxTimer) _clearTimeout(maxTimer);
|
|
333
|
+
maxTimer = void 0;
|
|
334
|
+
resolve(invoke$1());
|
|
335
|
+
}, duration);
|
|
336
|
+
});
|
|
337
|
+
};
|
|
338
|
+
return filter;
|
|
339
|
+
}
|
|
340
|
+
function throttleFilter(...args) {
|
|
341
|
+
let lastExec = 0;
|
|
342
|
+
let timer;
|
|
343
|
+
let isLeading = true;
|
|
344
|
+
let lastRejector = noop;
|
|
345
|
+
let lastValue;
|
|
346
|
+
let ms;
|
|
347
|
+
let trailing;
|
|
348
|
+
let leading;
|
|
349
|
+
let rejectOnCancel;
|
|
350
|
+
if (!isRef(args[0]) && typeof args[0] === "object") ({delay: ms, trailing = true, leading = true, rejectOnCancel = false} = args[0]);
|
|
351
|
+
else [ms, trailing = true, leading = true, rejectOnCancel = false] = args;
|
|
352
|
+
const clear = () => {
|
|
353
|
+
if (timer) {
|
|
354
|
+
clearTimeout(timer);
|
|
355
|
+
timer = void 0;
|
|
356
|
+
lastRejector();
|
|
357
|
+
lastRejector = noop;
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
const filter = (_invoke) => {
|
|
361
|
+
const duration = toValue(ms);
|
|
362
|
+
const elapsed = Date.now() - lastExec;
|
|
363
|
+
const invoke$1 = () => {
|
|
364
|
+
return lastValue = _invoke();
|
|
365
|
+
};
|
|
366
|
+
clear();
|
|
367
|
+
if (duration <= 0) {
|
|
368
|
+
lastExec = Date.now();
|
|
369
|
+
return invoke$1();
|
|
370
|
+
}
|
|
371
|
+
if (elapsed > duration) {
|
|
372
|
+
lastExec = Date.now();
|
|
373
|
+
if (leading || !isLeading) invoke$1();
|
|
374
|
+
} else if (trailing) lastValue = new Promise((resolve, reject) => {
|
|
375
|
+
lastRejector = rejectOnCancel ? reject : resolve;
|
|
376
|
+
timer = setTimeout(() => {
|
|
377
|
+
lastExec = Date.now();
|
|
378
|
+
isLeading = true;
|
|
379
|
+
resolve(invoke$1());
|
|
380
|
+
clear();
|
|
381
|
+
}, Math.max(0, duration - elapsed));
|
|
382
|
+
});
|
|
383
|
+
if (!leading && !timer) timer = setTimeout(() => isLeading = true, duration);
|
|
384
|
+
isLeading = false;
|
|
385
|
+
return lastValue;
|
|
386
|
+
};
|
|
387
|
+
return filter;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* EventFilter that gives extra controls to pause and resume the filter
|
|
391
|
+
*
|
|
392
|
+
* @param extendFilter Extra filter to apply when the PausableFilter is active, default to none
|
|
393
|
+
* @param options Options to configure the filter
|
|
394
|
+
*/
|
|
395
|
+
function pausableFilter(extendFilter = bypassFilter, options = {}) {
|
|
396
|
+
const { initialState = "active" } = options;
|
|
397
|
+
const isActive = toRef(initialState === "active");
|
|
398
|
+
function pause() {
|
|
399
|
+
isActive.value = false;
|
|
400
|
+
}
|
|
401
|
+
function resume() {
|
|
402
|
+
isActive.value = true;
|
|
403
|
+
}
|
|
404
|
+
const eventFilter = (...args) => {
|
|
405
|
+
if (isActive.value) extendFilter(...args);
|
|
406
|
+
};
|
|
407
|
+
return {
|
|
408
|
+
isActive: readonly(isActive),
|
|
409
|
+
pause,
|
|
410
|
+
resume,
|
|
411
|
+
eventFilter
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
//#endregion
|
|
416
|
+
//#region utils/general.ts
|
|
417
|
+
function promiseTimeout(ms, throwOnTimeout = false, reason = "Timeout") {
|
|
418
|
+
return new Promise((resolve, reject) => {
|
|
419
|
+
if (throwOnTimeout) setTimeout(() => reject(reason), ms);
|
|
420
|
+
else setTimeout(resolve, ms);
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
function identity(arg) {
|
|
424
|
+
return arg;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Create singleton promise function
|
|
428
|
+
*
|
|
429
|
+
* @example
|
|
430
|
+
* ```
|
|
431
|
+
* const promise = createSingletonPromise(async () => { ... })
|
|
432
|
+
*
|
|
433
|
+
* await promise()
|
|
434
|
+
* await promise() // all of them will be bind to a single promise instance
|
|
435
|
+
* await promise() // and be resolved together
|
|
436
|
+
* ```
|
|
437
|
+
*/
|
|
438
|
+
function createSingletonPromise(fn) {
|
|
439
|
+
let _promise;
|
|
440
|
+
function wrapper() {
|
|
441
|
+
if (!_promise) _promise = fn();
|
|
442
|
+
return _promise;
|
|
443
|
+
}
|
|
444
|
+
wrapper.reset = async () => {
|
|
445
|
+
const _prev = _promise;
|
|
446
|
+
_promise = void 0;
|
|
447
|
+
if (_prev) await _prev;
|
|
448
|
+
};
|
|
449
|
+
return wrapper;
|
|
450
|
+
}
|
|
451
|
+
function invoke(fn) {
|
|
452
|
+
return fn();
|
|
453
|
+
}
|
|
454
|
+
function containsProp(obj, ...props) {
|
|
455
|
+
return props.some((k) => k in obj);
|
|
456
|
+
}
|
|
457
|
+
function increaseWithUnit(target, delta) {
|
|
458
|
+
var _target$match;
|
|
459
|
+
if (typeof target === "number") return target + delta;
|
|
460
|
+
const value = ((_target$match = target.match(/^-?\d+\.?\d*/)) === null || _target$match === void 0 ? void 0 : _target$match[0]) || "";
|
|
461
|
+
const unit = target.slice(value.length);
|
|
462
|
+
const result = Number.parseFloat(value) + delta;
|
|
463
|
+
if (Number.isNaN(result)) return target;
|
|
464
|
+
return result + unit;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* Get a px value for SSR use, do not rely on this method outside of SSR as REM unit is assumed at 16px, which might not be the case on the client
|
|
468
|
+
*/
|
|
469
|
+
function pxValue(px) {
|
|
470
|
+
return px.endsWith("rem") ? Number.parseFloat(px) * 16 : Number.parseFloat(px);
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Create a new subset object by giving keys
|
|
474
|
+
*/
|
|
475
|
+
function objectPick(obj, keys, omitUndefined = false) {
|
|
476
|
+
return keys.reduce((n, k) => {
|
|
477
|
+
if (k in obj) {
|
|
478
|
+
if (!omitUndefined || obj[k] !== void 0) n[k] = obj[k];
|
|
479
|
+
}
|
|
480
|
+
return n;
|
|
481
|
+
}, {});
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* Create a new subset object by omit giving keys
|
|
485
|
+
*/
|
|
486
|
+
function objectOmit(obj, keys, omitUndefined = false) {
|
|
487
|
+
return Object.fromEntries(Object.entries(obj).filter(([key, value]) => {
|
|
488
|
+
return (!omitUndefined || value !== void 0) && !keys.includes(key);
|
|
489
|
+
}));
|
|
490
|
+
}
|
|
491
|
+
function objectEntries(obj) {
|
|
492
|
+
return Object.entries(obj);
|
|
493
|
+
}
|
|
494
|
+
function toArray(value) {
|
|
495
|
+
return Array.isArray(value) ? value : [value];
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
//#endregion
|
|
499
|
+
//#region utils/port.ts
|
|
500
|
+
function cacheStringFunction(fn) {
|
|
501
|
+
const cache = Object.create(null);
|
|
502
|
+
return ((str) => {
|
|
503
|
+
return cache[str] || (cache[str] = fn(str));
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
const hyphenateRE = /\B([A-Z])/g;
|
|
507
|
+
const hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
|
|
508
|
+
const camelizeRE = /-(\w)/g;
|
|
509
|
+
const camelize = cacheStringFunction((str) => {
|
|
510
|
+
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
511
|
+
});
|
|
512
|
+
|
|
513
|
+
//#endregion
|
|
514
|
+
//#region utils/vue.ts
|
|
515
|
+
function getLifeCycleTarget(target) {
|
|
516
|
+
return target || getCurrentInstance();
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
//#endregion
|
|
520
|
+
//#region createSharedComposable/index.ts
|
|
521
|
+
/**
|
|
522
|
+
* Make a composable function usable with multiple Vue instances.
|
|
523
|
+
*
|
|
524
|
+
* @see https://vueuse.org/createSharedComposable
|
|
525
|
+
*
|
|
526
|
+
* @__NO_SIDE_EFFECTS__
|
|
527
|
+
*/
|
|
528
|
+
function createSharedComposable(composable) {
|
|
529
|
+
if (!isClient) return composable;
|
|
530
|
+
let subscribers = 0;
|
|
531
|
+
let state;
|
|
532
|
+
let scope;
|
|
533
|
+
const dispose = () => {
|
|
534
|
+
subscribers -= 1;
|
|
535
|
+
if (scope && subscribers <= 0) {
|
|
536
|
+
scope.stop();
|
|
537
|
+
state = void 0;
|
|
538
|
+
scope = void 0;
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
return ((...args) => {
|
|
542
|
+
subscribers += 1;
|
|
543
|
+
if (!scope) {
|
|
544
|
+
scope = effectScope(true);
|
|
545
|
+
state = scope.run(() => composable(...args));
|
|
546
|
+
}
|
|
547
|
+
tryOnScopeDispose(dispose);
|
|
548
|
+
return state;
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
//#endregion
|
|
553
|
+
//#region extendRef/index.ts
|
|
554
|
+
function extendRef(ref$1, extend, { enumerable = false, unwrap = true } = {}) {
|
|
555
|
+
for (const [key, value] of Object.entries(extend)) {
|
|
556
|
+
if (key === "value") continue;
|
|
557
|
+
if (isRef(value) && unwrap) Object.defineProperty(ref$1, key, {
|
|
558
|
+
get() {
|
|
559
|
+
return value.value;
|
|
560
|
+
},
|
|
561
|
+
set(v) {
|
|
562
|
+
value.value = v;
|
|
563
|
+
},
|
|
564
|
+
enumerable
|
|
565
|
+
});
|
|
566
|
+
else Object.defineProperty(ref$1, key, {
|
|
567
|
+
value,
|
|
568
|
+
enumerable
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
return ref$1;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
//#endregion
|
|
575
|
+
//#region get/index.ts
|
|
576
|
+
function get(obj, key) {
|
|
577
|
+
if (key == null) return unref(obj);
|
|
578
|
+
return unref(obj)[key];
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
//#endregion
|
|
582
|
+
//#region isDefined/index.ts
|
|
583
|
+
function isDefined(v) {
|
|
584
|
+
return unref(v) != null;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
//#endregion
|
|
588
|
+
//#region makeDestructurable/index.ts
|
|
589
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
590
|
+
function makeDestructurable(obj, arr) {
|
|
591
|
+
if (typeof Symbol !== "undefined") {
|
|
592
|
+
const clone = { ...obj };
|
|
593
|
+
Object.defineProperty(clone, Symbol.iterator, {
|
|
594
|
+
enumerable: false,
|
|
595
|
+
value() {
|
|
596
|
+
let index = 0;
|
|
597
|
+
return { next: () => ({
|
|
598
|
+
value: arr[index++],
|
|
599
|
+
done: index > arr.length
|
|
600
|
+
}) };
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
return clone;
|
|
604
|
+
} else return Object.assign([...arr], obj);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
//#endregion
|
|
608
|
+
//#region reactify/index.ts
|
|
609
|
+
/**
|
|
610
|
+
* Converts plain function into a reactive function.
|
|
611
|
+
* The converted function accepts refs as it's arguments
|
|
612
|
+
* and returns a ComputedRef, with proper typing.
|
|
613
|
+
*
|
|
614
|
+
* @param fn - Source function
|
|
615
|
+
* @param options - Options
|
|
616
|
+
*
|
|
617
|
+
* @__NO_SIDE_EFFECTS__
|
|
618
|
+
*/
|
|
619
|
+
function reactify(fn, options) {
|
|
620
|
+
const unrefFn = (options === null || options === void 0 ? void 0 : options.computedGetter) === false ? unref : toValue;
|
|
621
|
+
return function(...args) {
|
|
622
|
+
return computed(() => fn.apply(this, args.map((i) => unrefFn(i))));
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
/** @deprecated use `reactify` instead */
|
|
626
|
+
const createReactiveFn = reactify;
|
|
627
|
+
|
|
628
|
+
//#endregion
|
|
629
|
+
//#region reactifyObject/index.ts
|
|
630
|
+
/**
|
|
631
|
+
* Apply `reactify` to an object
|
|
632
|
+
*
|
|
633
|
+
* @__NO_SIDE_EFFECTS__
|
|
634
|
+
*/
|
|
635
|
+
function reactifyObject(obj, optionsOrKeys = {}) {
|
|
636
|
+
let keys = [];
|
|
637
|
+
let options;
|
|
638
|
+
if (Array.isArray(optionsOrKeys)) keys = optionsOrKeys;
|
|
639
|
+
else {
|
|
640
|
+
options = optionsOrKeys;
|
|
641
|
+
const { includeOwnProperties = true } = optionsOrKeys;
|
|
642
|
+
keys.push(...Object.keys(obj));
|
|
643
|
+
if (includeOwnProperties) keys.push(...Object.getOwnPropertyNames(obj));
|
|
644
|
+
}
|
|
645
|
+
return Object.fromEntries(keys.map((key) => {
|
|
646
|
+
const value = obj[key];
|
|
647
|
+
return [key, typeof value === "function" ? reactify(value.bind(obj), options) : value];
|
|
648
|
+
}));
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
//#endregion
|
|
652
|
+
//#region toReactive/index.ts
|
|
653
|
+
/**
|
|
654
|
+
* Converts ref to reactive.
|
|
655
|
+
*
|
|
656
|
+
* @see https://vueuse.org/toReactive
|
|
657
|
+
* @param objectRef A ref of object
|
|
658
|
+
*/
|
|
659
|
+
function toReactive(objectRef) {
|
|
660
|
+
if (!isRef(objectRef)) return reactive(objectRef);
|
|
661
|
+
return reactive(new Proxy({}, {
|
|
662
|
+
get(_, p, receiver) {
|
|
663
|
+
return unref(Reflect.get(objectRef.value, p, receiver));
|
|
664
|
+
},
|
|
665
|
+
set(_, p, value) {
|
|
666
|
+
if (isRef(objectRef.value[p]) && !isRef(value)) objectRef.value[p].value = value;
|
|
667
|
+
else objectRef.value[p] = value;
|
|
668
|
+
return true;
|
|
669
|
+
},
|
|
670
|
+
deleteProperty(_, p) {
|
|
671
|
+
return Reflect.deleteProperty(objectRef.value, p);
|
|
672
|
+
},
|
|
673
|
+
has(_, p) {
|
|
674
|
+
return Reflect.has(objectRef.value, p);
|
|
675
|
+
},
|
|
676
|
+
ownKeys() {
|
|
677
|
+
return Object.keys(objectRef.value);
|
|
678
|
+
},
|
|
679
|
+
getOwnPropertyDescriptor() {
|
|
680
|
+
return {
|
|
681
|
+
enumerable: true,
|
|
682
|
+
configurable: true
|
|
683
|
+
};
|
|
684
|
+
}
|
|
685
|
+
}));
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
//#endregion
|
|
689
|
+
//#region reactiveComputed/index.ts
|
|
690
|
+
/**
|
|
691
|
+
* Computed reactive object.
|
|
692
|
+
*/
|
|
693
|
+
function reactiveComputed(fn) {
|
|
694
|
+
return toReactive(computed(fn));
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
//#endregion
|
|
698
|
+
//#region reactiveOmit/index.ts
|
|
699
|
+
/**
|
|
700
|
+
* Reactively omit fields from a reactive object
|
|
701
|
+
*
|
|
702
|
+
* @see https://vueuse.org/reactiveOmit
|
|
703
|
+
*/
|
|
704
|
+
function reactiveOmit(obj, ...keys) {
|
|
705
|
+
const flatKeys = keys.flat();
|
|
706
|
+
const predicate = flatKeys[0];
|
|
707
|
+
return reactiveComputed(() => typeof predicate === "function" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => !predicate(toValue(v), k))) : Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !flatKeys.includes(e[0]))));
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
//#endregion
|
|
711
|
+
//#region reactivePick/index.ts
|
|
712
|
+
/**
|
|
713
|
+
* Reactively pick fields from a reactive object
|
|
714
|
+
*
|
|
715
|
+
* @see https://vueuse.org/reactivePick
|
|
716
|
+
*/
|
|
717
|
+
function reactivePick(obj, ...keys) {
|
|
718
|
+
const flatKeys = keys.flat();
|
|
719
|
+
const predicate = flatKeys[0];
|
|
720
|
+
return reactiveComputed(() => typeof predicate === "function" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => predicate(toValue(v), k))) : Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
//#endregion
|
|
724
|
+
//#region refAutoReset/index.ts
|
|
725
|
+
/**
|
|
726
|
+
* Create a ref which will be reset to the default value after some time.
|
|
727
|
+
*
|
|
728
|
+
* @see https://vueuse.org/refAutoReset
|
|
729
|
+
* @param defaultValue The value which will be set.
|
|
730
|
+
* @param afterMs A zero-or-greater delay in milliseconds.
|
|
731
|
+
*/
|
|
732
|
+
function refAutoReset(defaultValue, afterMs = 1e4) {
|
|
733
|
+
return customRef((track, trigger) => {
|
|
734
|
+
let value = toValue(defaultValue);
|
|
735
|
+
let timer;
|
|
736
|
+
const resetAfter = () => setTimeout(() => {
|
|
737
|
+
value = toValue(defaultValue);
|
|
738
|
+
trigger();
|
|
739
|
+
}, toValue(afterMs));
|
|
740
|
+
tryOnScopeDispose(() => {
|
|
741
|
+
clearTimeout(timer);
|
|
742
|
+
});
|
|
743
|
+
return {
|
|
744
|
+
get() {
|
|
745
|
+
track();
|
|
746
|
+
return value;
|
|
747
|
+
},
|
|
748
|
+
set(newValue) {
|
|
749
|
+
value = newValue;
|
|
750
|
+
trigger();
|
|
751
|
+
clearTimeout(timer);
|
|
752
|
+
timer = resetAfter();
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
});
|
|
756
|
+
}
|
|
757
|
+
/** @deprecated use `refAutoReset` instead */
|
|
758
|
+
const autoResetRef = refAutoReset;
|
|
759
|
+
|
|
760
|
+
//#endregion
|
|
761
|
+
//#region useDebounceFn/index.ts
|
|
762
|
+
/**
|
|
763
|
+
* Debounce execution of a function.
|
|
764
|
+
*
|
|
765
|
+
* @see https://vueuse.org/useDebounceFn
|
|
766
|
+
* @param fn A function to be executed after delay milliseconds debounced.
|
|
767
|
+
* @param ms A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
|
|
768
|
+
* @param options Options
|
|
769
|
+
*
|
|
770
|
+
* @return A new, debounce, function.
|
|
771
|
+
*
|
|
772
|
+
* @__NO_SIDE_EFFECTS__
|
|
773
|
+
*/
|
|
774
|
+
function useDebounceFn(fn, ms = 200, options = {}) {
|
|
775
|
+
return createFilterWrapper(debounceFilter(ms, options), fn);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
//#endregion
|
|
779
|
+
//#region refDebounced/index.ts
|
|
780
|
+
/**
|
|
781
|
+
* Debounce updates of a ref.
|
|
782
|
+
*
|
|
783
|
+
* @return A new debounced ref.
|
|
784
|
+
*/
|
|
785
|
+
function refDebounced(value, ms = 200, options = {}) {
|
|
786
|
+
const debounced = ref(toValue(value));
|
|
787
|
+
const updater = useDebounceFn(() => {
|
|
788
|
+
debounced.value = value.value;
|
|
789
|
+
}, ms, options);
|
|
790
|
+
watch(value, () => updater());
|
|
791
|
+
return shallowReadonly(debounced);
|
|
792
|
+
}
|
|
793
|
+
/** @deprecated use `refDebounced` instead */
|
|
794
|
+
const debouncedRef = refDebounced;
|
|
795
|
+
/** @deprecated use `refDebounced` instead */
|
|
796
|
+
const useDebounce = refDebounced;
|
|
797
|
+
|
|
798
|
+
//#endregion
|
|
799
|
+
//#region refDefault/index.ts
|
|
800
|
+
/**
|
|
801
|
+
* Apply default value to a ref.
|
|
802
|
+
*
|
|
803
|
+
* @__NO_SIDE_EFFECTS__
|
|
804
|
+
*/
|
|
805
|
+
function refDefault(source, defaultValue) {
|
|
806
|
+
return computed({
|
|
807
|
+
get() {
|
|
808
|
+
var _source$value;
|
|
809
|
+
return (_source$value = source.value) !== null && _source$value !== void 0 ? _source$value : defaultValue;
|
|
810
|
+
},
|
|
811
|
+
set(value) {
|
|
812
|
+
source.value = value;
|
|
813
|
+
}
|
|
814
|
+
});
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
//#endregion
|
|
818
|
+
//#region refManualReset/index.ts
|
|
819
|
+
/**
|
|
820
|
+
* Create a ref with manual reset functionality.
|
|
821
|
+
*
|
|
822
|
+
* @see https://vueuse.org/refManualReset
|
|
823
|
+
* @param defaultValue The value which will be set.
|
|
824
|
+
*/
|
|
825
|
+
function refManualReset(defaultValue) {
|
|
826
|
+
let value = toValue(defaultValue);
|
|
827
|
+
let trigger;
|
|
828
|
+
const reset = () => {
|
|
829
|
+
value = toValue(defaultValue);
|
|
830
|
+
trigger();
|
|
831
|
+
};
|
|
832
|
+
const refValue = customRef((track, _trigger) => {
|
|
833
|
+
trigger = _trigger;
|
|
834
|
+
return {
|
|
835
|
+
get() {
|
|
836
|
+
track();
|
|
837
|
+
return value;
|
|
838
|
+
},
|
|
839
|
+
set(newValue) {
|
|
840
|
+
value = newValue;
|
|
841
|
+
trigger();
|
|
842
|
+
}
|
|
843
|
+
};
|
|
844
|
+
});
|
|
845
|
+
refValue.reset = reset;
|
|
846
|
+
return refValue;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
//#endregion
|
|
850
|
+
//#region useThrottleFn/index.ts
|
|
851
|
+
/**
|
|
852
|
+
* Throttle execution of a function. Especially useful for rate limiting
|
|
853
|
+
* execution of handlers on events like resize and scroll.
|
|
854
|
+
*
|
|
855
|
+
* @param fn A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,
|
|
856
|
+
* to `callback` when the throttled-function is executed.
|
|
857
|
+
* @param ms A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
|
|
858
|
+
* (default value: 200)
|
|
859
|
+
*
|
|
860
|
+
* @param [trailing] if true, call fn again after the time is up (default value: false)
|
|
861
|
+
*
|
|
862
|
+
* @param [leading] if true, call fn on the leading edge of the ms timeout (default value: true)
|
|
863
|
+
*
|
|
864
|
+
* @param [rejectOnCancel] if true, reject the last call if it's been cancel (default value: false)
|
|
865
|
+
*
|
|
866
|
+
* @return A new, throttled, function.
|
|
867
|
+
*
|
|
868
|
+
* @__NO_SIDE_EFFECTS__
|
|
869
|
+
*/
|
|
870
|
+
function useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {
|
|
871
|
+
return createFilterWrapper(throttleFilter(ms, trailing, leading, rejectOnCancel), fn);
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
//#endregion
|
|
875
|
+
//#region refThrottled/index.ts
|
|
876
|
+
/**
|
|
877
|
+
* Throttle execution of a function. Especially useful for rate limiting
|
|
878
|
+
* execution of handlers on events like resize and scroll.
|
|
879
|
+
*
|
|
880
|
+
* @param value Ref value to be watched with throttle effect
|
|
881
|
+
* @param delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
|
|
882
|
+
* @param trailing if true, update the value again after the delay time is up
|
|
883
|
+
* @param leading if true, update the value on the leading edge of the ms timeout
|
|
884
|
+
*/
|
|
885
|
+
function refThrottled(value, delay = 200, trailing = true, leading = true) {
|
|
886
|
+
if (delay <= 0) return value;
|
|
887
|
+
const throttled = ref(toValue(value));
|
|
888
|
+
const updater = useThrottleFn(() => {
|
|
889
|
+
throttled.value = value.value;
|
|
890
|
+
}, delay, trailing, leading);
|
|
891
|
+
watch(value, () => updater());
|
|
892
|
+
return throttled;
|
|
893
|
+
}
|
|
894
|
+
/** @deprecated use `refThrottled` instead */
|
|
895
|
+
const throttledRef = refThrottled;
|
|
896
|
+
/** @deprecated use `refThrottled` instead */
|
|
897
|
+
const useThrottle = refThrottled;
|
|
898
|
+
|
|
899
|
+
//#endregion
|
|
900
|
+
//#region refWithControl/index.ts
|
|
901
|
+
/**
|
|
902
|
+
* Fine-grained controls over ref and its reactivity.
|
|
903
|
+
*
|
|
904
|
+
* @__NO_SIDE_EFFECTS__
|
|
905
|
+
*/
|
|
906
|
+
function refWithControl(initial, options = {}) {
|
|
907
|
+
let source = initial;
|
|
908
|
+
let track;
|
|
909
|
+
let trigger;
|
|
910
|
+
const ref$1 = customRef((_track, _trigger) => {
|
|
911
|
+
track = _track;
|
|
912
|
+
trigger = _trigger;
|
|
913
|
+
return {
|
|
914
|
+
get() {
|
|
915
|
+
return get$1();
|
|
916
|
+
},
|
|
917
|
+
set(v) {
|
|
918
|
+
set$1(v);
|
|
919
|
+
}
|
|
920
|
+
};
|
|
921
|
+
});
|
|
922
|
+
function get$1(tracking = true) {
|
|
923
|
+
if (tracking) track();
|
|
924
|
+
return source;
|
|
925
|
+
}
|
|
926
|
+
function set$1(value, triggering = true) {
|
|
927
|
+
var _options$onBeforeChan, _options$onChanged;
|
|
928
|
+
if (value === source) return;
|
|
929
|
+
const old = source;
|
|
930
|
+
if (((_options$onBeforeChan = options.onBeforeChange) === null || _options$onBeforeChan === void 0 ? void 0 : _options$onBeforeChan.call(options, value, old)) === false) return;
|
|
931
|
+
source = value;
|
|
932
|
+
(_options$onChanged = options.onChanged) === null || _options$onChanged === void 0 || _options$onChanged.call(options, value, old);
|
|
933
|
+
if (triggering) trigger();
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* Get the value without tracked in the reactivity system
|
|
937
|
+
*/
|
|
938
|
+
const untrackedGet = () => get$1(false);
|
|
939
|
+
/**
|
|
940
|
+
* Set the value without triggering the reactivity system
|
|
941
|
+
*/
|
|
942
|
+
const silentSet = (v) => set$1(v, false);
|
|
943
|
+
/**
|
|
944
|
+
* Get the value without tracked in the reactivity system.
|
|
945
|
+
*
|
|
946
|
+
* Alias for `untrackedGet()`
|
|
947
|
+
*/
|
|
948
|
+
const peek = () => get$1(false);
|
|
949
|
+
/**
|
|
950
|
+
* Set the value without triggering the reactivity system
|
|
951
|
+
*
|
|
952
|
+
* Alias for `silentSet(v)`
|
|
953
|
+
*/
|
|
954
|
+
const lay = (v) => set$1(v, false);
|
|
955
|
+
return extendRef(ref$1, {
|
|
956
|
+
get: get$1,
|
|
957
|
+
set: set$1,
|
|
958
|
+
untrackedGet,
|
|
959
|
+
silentSet,
|
|
960
|
+
peek,
|
|
961
|
+
lay
|
|
962
|
+
}, { enumerable: true });
|
|
963
|
+
}
|
|
964
|
+
/** @deprecated use `refWithControl` instead */
|
|
965
|
+
const controlledRef = refWithControl;
|
|
966
|
+
|
|
967
|
+
//#endregion
|
|
968
|
+
//#region set/index.ts
|
|
969
|
+
/**
|
|
970
|
+
* Shorthand for `ref.value = x`
|
|
971
|
+
*/
|
|
972
|
+
function set(...args) {
|
|
973
|
+
if (args.length === 2) {
|
|
974
|
+
const [ref$1, value] = args;
|
|
975
|
+
ref$1.value = value;
|
|
976
|
+
}
|
|
977
|
+
if (args.length === 3) {
|
|
978
|
+
const [target, key, value] = args;
|
|
979
|
+
target[key] = value;
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
//#endregion
|
|
984
|
+
//#region watchWithFilter/index.ts
|
|
985
|
+
function watchWithFilter(source, cb, options = {}) {
|
|
986
|
+
const { eventFilter = bypassFilter,...watchOptions } = options;
|
|
987
|
+
return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
//#endregion
|
|
991
|
+
//#region watchPausable/index.ts
|
|
992
|
+
/** @deprecated Use Vue's built-in `watch` instead. This function will be removed in future version. */
|
|
993
|
+
function watchPausable(source, cb, options = {}) {
|
|
994
|
+
const { eventFilter: filter, initialState = "active",...watchOptions } = options;
|
|
995
|
+
const { eventFilter, pause, resume, isActive } = pausableFilter(filter, { initialState });
|
|
996
|
+
return {
|
|
997
|
+
stop: watchWithFilter(source, cb, {
|
|
998
|
+
...watchOptions,
|
|
999
|
+
eventFilter
|
|
1000
|
+
}),
|
|
1001
|
+
pause,
|
|
1002
|
+
resume,
|
|
1003
|
+
isActive
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
/** @deprecated Use Vue's built-in `watch` instead. This function will be removed in future version. */
|
|
1007
|
+
const pausableWatch = watchPausable;
|
|
1008
|
+
|
|
1009
|
+
//#endregion
|
|
1010
|
+
//#region syncRef/index.ts
|
|
1011
|
+
/**
|
|
1012
|
+
* Two-way refs synchronization.
|
|
1013
|
+
* From the set theory perspective to restrict the option's type
|
|
1014
|
+
* Check in the following order:
|
|
1015
|
+
* 1. L = R
|
|
1016
|
+
* 2. L ∩ R ≠ ∅
|
|
1017
|
+
* 3. L ⊆ R
|
|
1018
|
+
* 4. L ∩ R = ∅
|
|
1019
|
+
*/
|
|
1020
|
+
function syncRef(left, right, ...[options]) {
|
|
1021
|
+
const { flush = "sync", deep = false, immediate = true, direction = "both", transform = {} } = options || {};
|
|
1022
|
+
const watchers = [];
|
|
1023
|
+
const transformLTR = "ltr" in transform && transform.ltr || ((v) => v);
|
|
1024
|
+
const transformRTL = "rtl" in transform && transform.rtl || ((v) => v);
|
|
1025
|
+
if (direction === "both" || direction === "ltr") watchers.push(watchPausable(left, (newValue) => {
|
|
1026
|
+
watchers.forEach((w) => w.pause());
|
|
1027
|
+
right.value = transformLTR(newValue);
|
|
1028
|
+
watchers.forEach((w) => w.resume());
|
|
1029
|
+
}, {
|
|
1030
|
+
flush,
|
|
1031
|
+
deep,
|
|
1032
|
+
immediate
|
|
1033
|
+
}));
|
|
1034
|
+
if (direction === "both" || direction === "rtl") watchers.push(watchPausable(right, (newValue) => {
|
|
1035
|
+
watchers.forEach((w) => w.pause());
|
|
1036
|
+
left.value = transformRTL(newValue);
|
|
1037
|
+
watchers.forEach((w) => w.resume());
|
|
1038
|
+
}, {
|
|
1039
|
+
flush,
|
|
1040
|
+
deep,
|
|
1041
|
+
immediate
|
|
1042
|
+
}));
|
|
1043
|
+
const stop = () => {
|
|
1044
|
+
watchers.forEach((w) => w.stop());
|
|
1045
|
+
};
|
|
1046
|
+
return stop;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
//#endregion
|
|
1050
|
+
//#region syncRefs/index.ts
|
|
1051
|
+
/**
|
|
1052
|
+
* Keep target ref(s) in sync with the source ref
|
|
1053
|
+
*
|
|
1054
|
+
* @param source source ref
|
|
1055
|
+
* @param targets
|
|
1056
|
+
*/
|
|
1057
|
+
function syncRefs(source, targets, options = {}) {
|
|
1058
|
+
const { flush = "sync", deep = false, immediate = true } = options;
|
|
1059
|
+
const targetsArray = toArray(targets);
|
|
1060
|
+
return watch(source, (newValue) => targetsArray.forEach((target) => target.value = newValue), {
|
|
1061
|
+
flush,
|
|
1062
|
+
deep,
|
|
1063
|
+
immediate
|
|
1064
|
+
});
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
//#endregion
|
|
1068
|
+
//#region toRefs/index.ts
|
|
1069
|
+
/**
|
|
1070
|
+
* Extended `toRefs` that also accepts refs of an object.
|
|
1071
|
+
*
|
|
1072
|
+
* @see https://vueuse.org/toRefs
|
|
1073
|
+
* @param objectRef A ref or normal object or array.
|
|
1074
|
+
* @param options Options
|
|
1075
|
+
*/
|
|
1076
|
+
function toRefs(objectRef, options = {}) {
|
|
1077
|
+
if (!isRef(objectRef)) return toRefs$1(objectRef);
|
|
1078
|
+
const result = Array.isArray(objectRef.value) ? Array.from({ length: objectRef.value.length }) : {};
|
|
1079
|
+
for (const key in objectRef.value) result[key] = customRef(() => ({
|
|
1080
|
+
get() {
|
|
1081
|
+
return objectRef.value[key];
|
|
1082
|
+
},
|
|
1083
|
+
set(v) {
|
|
1084
|
+
var _toValue;
|
|
1085
|
+
if ((_toValue = toValue(options.replaceRef)) !== null && _toValue !== void 0 ? _toValue : true) if (Array.isArray(objectRef.value)) {
|
|
1086
|
+
const copy = [...objectRef.value];
|
|
1087
|
+
copy[key] = v;
|
|
1088
|
+
objectRef.value = copy;
|
|
1089
|
+
} else {
|
|
1090
|
+
const newObject = {
|
|
1091
|
+
...objectRef.value,
|
|
1092
|
+
[key]: v
|
|
1093
|
+
};
|
|
1094
|
+
Object.setPrototypeOf(newObject, Object.getPrototypeOf(objectRef.value));
|
|
1095
|
+
objectRef.value = newObject;
|
|
1096
|
+
}
|
|
1097
|
+
else objectRef.value[key] = v;
|
|
1098
|
+
}
|
|
1099
|
+
}));
|
|
1100
|
+
return result;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
//#endregion
|
|
1104
|
+
//#region tryOnBeforeMount/index.ts
|
|
1105
|
+
/**
|
|
1106
|
+
* Call onBeforeMount() if it's inside a component lifecycle, if not, just call the function
|
|
1107
|
+
*
|
|
1108
|
+
* @param fn
|
|
1109
|
+
* @param sync if set to false, it will run in the nextTick() of Vue
|
|
1110
|
+
* @param target
|
|
1111
|
+
*/
|
|
1112
|
+
function tryOnBeforeMount(fn, sync = true, target) {
|
|
1113
|
+
if (getLifeCycleTarget(target)) onBeforeMount(fn, target);
|
|
1114
|
+
else if (sync) fn();
|
|
1115
|
+
else nextTick(fn);
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
//#endregion
|
|
1119
|
+
//#region tryOnBeforeUnmount/index.ts
|
|
1120
|
+
/**
|
|
1121
|
+
* Call onBeforeUnmount() if it's inside a component lifecycle, if not, do nothing
|
|
1122
|
+
*
|
|
1123
|
+
* @param fn
|
|
1124
|
+
* @param target
|
|
1125
|
+
*/
|
|
1126
|
+
function tryOnBeforeUnmount(fn, target) {
|
|
1127
|
+
if (getLifeCycleTarget(target)) onBeforeUnmount(fn, target);
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
//#endregion
|
|
1131
|
+
//#region tryOnMounted/index.ts
|
|
1132
|
+
/**
|
|
1133
|
+
* Call onMounted() if it's inside a component lifecycle, if not, just call the function
|
|
1134
|
+
*
|
|
1135
|
+
* @param fn
|
|
1136
|
+
* @param sync if set to false, it will run in the nextTick() of Vue
|
|
1137
|
+
* @param target
|
|
1138
|
+
*/
|
|
1139
|
+
function tryOnMounted(fn, sync = true, target) {
|
|
1140
|
+
if (getLifeCycleTarget(target)) onMounted(fn, target);
|
|
1141
|
+
else if (sync) fn();
|
|
1142
|
+
else nextTick(fn);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
//#endregion
|
|
1146
|
+
//#region tryOnUnmounted/index.ts
|
|
1147
|
+
/**
|
|
1148
|
+
* Call onUnmounted() if it's inside a component lifecycle, if not, do nothing
|
|
1149
|
+
*
|
|
1150
|
+
* @param fn
|
|
1151
|
+
* @param target
|
|
1152
|
+
*/
|
|
1153
|
+
function tryOnUnmounted(fn, target) {
|
|
1154
|
+
if (getLifeCycleTarget(target)) onUnmounted(fn, target);
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
//#endregion
|
|
1158
|
+
//#region until/index.ts
|
|
1159
|
+
function createUntil(r, isNot = false) {
|
|
1160
|
+
function toMatch(condition, { flush = "sync", deep = false, timeout, throwOnTimeout } = {}) {
|
|
1161
|
+
let stop = null;
|
|
1162
|
+
const promises = [new Promise((resolve) => {
|
|
1163
|
+
stop = watch(r, (v) => {
|
|
1164
|
+
if (condition(v) !== isNot) {
|
|
1165
|
+
if (stop) stop();
|
|
1166
|
+
else nextTick(() => stop === null || stop === void 0 ? void 0 : stop());
|
|
1167
|
+
resolve(v);
|
|
1168
|
+
}
|
|
1169
|
+
}, {
|
|
1170
|
+
flush,
|
|
1171
|
+
deep,
|
|
1172
|
+
immediate: true
|
|
1173
|
+
});
|
|
1174
|
+
})];
|
|
1175
|
+
if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop === null || stop === void 0 ? void 0 : stop()));
|
|
1176
|
+
return Promise.race(promises);
|
|
1177
|
+
}
|
|
1178
|
+
function toBe(value, options) {
|
|
1179
|
+
if (!isRef(value)) return toMatch((v) => v === value, options);
|
|
1180
|
+
const { flush = "sync", deep = false, timeout, throwOnTimeout } = options !== null && options !== void 0 ? options : {};
|
|
1181
|
+
let stop = null;
|
|
1182
|
+
const promises = [new Promise((resolve) => {
|
|
1183
|
+
stop = watch([r, value], ([v1, v2]) => {
|
|
1184
|
+
if (isNot !== (v1 === v2)) {
|
|
1185
|
+
if (stop) stop();
|
|
1186
|
+
else nextTick(() => stop === null || stop === void 0 ? void 0 : stop());
|
|
1187
|
+
resolve(v1);
|
|
1188
|
+
}
|
|
1189
|
+
}, {
|
|
1190
|
+
flush,
|
|
1191
|
+
deep,
|
|
1192
|
+
immediate: true
|
|
1193
|
+
});
|
|
1194
|
+
})];
|
|
1195
|
+
if (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {
|
|
1196
|
+
stop === null || stop === void 0 || stop();
|
|
1197
|
+
return toValue(r);
|
|
1198
|
+
}));
|
|
1199
|
+
return Promise.race(promises);
|
|
1200
|
+
}
|
|
1201
|
+
function toBeTruthy(options) {
|
|
1202
|
+
return toMatch((v) => Boolean(v), options);
|
|
1203
|
+
}
|
|
1204
|
+
function toBeNull(options) {
|
|
1205
|
+
return toBe(null, options);
|
|
1206
|
+
}
|
|
1207
|
+
function toBeUndefined(options) {
|
|
1208
|
+
return toBe(void 0, options);
|
|
1209
|
+
}
|
|
1210
|
+
function toBeNaN(options) {
|
|
1211
|
+
return toMatch(Number.isNaN, options);
|
|
1212
|
+
}
|
|
1213
|
+
function toContains(value, options) {
|
|
1214
|
+
return toMatch((v) => {
|
|
1215
|
+
const array = Array.from(v);
|
|
1216
|
+
return array.includes(value) || array.includes(toValue(value));
|
|
1217
|
+
}, options);
|
|
1218
|
+
}
|
|
1219
|
+
function changed(options) {
|
|
1220
|
+
return changedTimes(1, options);
|
|
1221
|
+
}
|
|
1222
|
+
function changedTimes(n = 1, options) {
|
|
1223
|
+
let count = -1;
|
|
1224
|
+
return toMatch(() => {
|
|
1225
|
+
count += 1;
|
|
1226
|
+
return count >= n;
|
|
1227
|
+
}, options);
|
|
1228
|
+
}
|
|
1229
|
+
if (Array.isArray(toValue(r))) return {
|
|
1230
|
+
toMatch,
|
|
1231
|
+
toContains,
|
|
1232
|
+
changed,
|
|
1233
|
+
changedTimes,
|
|
1234
|
+
get not() {
|
|
1235
|
+
return createUntil(r, !isNot);
|
|
1236
|
+
}
|
|
1237
|
+
};
|
|
1238
|
+
else return {
|
|
1239
|
+
toMatch,
|
|
1240
|
+
toBe,
|
|
1241
|
+
toBeTruthy,
|
|
1242
|
+
toBeNull,
|
|
1243
|
+
toBeNaN,
|
|
1244
|
+
toBeUndefined,
|
|
1245
|
+
changed,
|
|
1246
|
+
changedTimes,
|
|
1247
|
+
get not() {
|
|
1248
|
+
return createUntil(r, !isNot);
|
|
1249
|
+
}
|
|
1250
|
+
};
|
|
1251
|
+
}
|
|
1252
|
+
function until(r) {
|
|
1253
|
+
return createUntil(r);
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
//#endregion
|
|
1257
|
+
//#region useArrayDifference/index.ts
|
|
1258
|
+
function defaultComparator(value, othVal) {
|
|
1259
|
+
return value === othVal;
|
|
1260
|
+
}
|
|
1261
|
+
/**
|
|
1262
|
+
* Reactive get array difference of two array
|
|
1263
|
+
* @see https://vueuse.org/useArrayDifference
|
|
1264
|
+
* @returns - the difference of two array
|
|
1265
|
+
* @param args
|
|
1266
|
+
*
|
|
1267
|
+
* @__NO_SIDE_EFFECTS__
|
|
1268
|
+
*/
|
|
1269
|
+
function useArrayDifference(...args) {
|
|
1270
|
+
var _args$, _args$2;
|
|
1271
|
+
const list = args[0];
|
|
1272
|
+
const values = args[1];
|
|
1273
|
+
let compareFn = (_args$ = args[2]) !== null && _args$ !== void 0 ? _args$ : defaultComparator;
|
|
1274
|
+
const { symmetric = false } = (_args$2 = args[3]) !== null && _args$2 !== void 0 ? _args$2 : {};
|
|
1275
|
+
if (typeof compareFn === "string") {
|
|
1276
|
+
const key = compareFn;
|
|
1277
|
+
compareFn = (value, othVal) => value[key] === othVal[key];
|
|
1278
|
+
}
|
|
1279
|
+
const diff1 = computed(() => toValue(list).filter((x) => toValue(values).findIndex((y) => compareFn(x, y)) === -1));
|
|
1280
|
+
if (symmetric) {
|
|
1281
|
+
const diff2 = computed(() => toValue(values).filter((x) => toValue(list).findIndex((y) => compareFn(x, y)) === -1));
|
|
1282
|
+
return computed(() => symmetric ? [...toValue(diff1), ...toValue(diff2)] : toValue(diff1));
|
|
1283
|
+
} else return diff1;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
//#endregion
|
|
1287
|
+
//#region useArrayEvery/index.ts
|
|
1288
|
+
/**
|
|
1289
|
+
* Reactive `Array.every`
|
|
1290
|
+
*
|
|
1291
|
+
* @see https://vueuse.org/useArrayEvery
|
|
1292
|
+
* @param list - the array was called upon.
|
|
1293
|
+
* @param fn - a function to test each element.
|
|
1294
|
+
*
|
|
1295
|
+
* @returns **true** if the `fn` function returns a **truthy** value for every element from the array. Otherwise, **false**.
|
|
1296
|
+
*
|
|
1297
|
+
* @__NO_SIDE_EFFECTS__
|
|
1298
|
+
*/
|
|
1299
|
+
function useArrayEvery(list, fn) {
|
|
1300
|
+
return computed(() => toValue(list).every((element, index, array) => fn(toValue(element), index, array)));
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
//#endregion
|
|
1304
|
+
//#region useArrayFilter/index.ts
|
|
1305
|
+
/**
|
|
1306
|
+
* Reactive `Array.filter`
|
|
1307
|
+
*
|
|
1308
|
+
* @see https://vueuse.org/useArrayFilter
|
|
1309
|
+
* @param list - the array was called upon.
|
|
1310
|
+
* @param fn - a function that is called for every element of the given `list`. Each time `fn` executes, the returned value is added to the new array.
|
|
1311
|
+
*
|
|
1312
|
+
* @returns a shallow copy of a portion of the given array, filtered down to just the elements from the given array that pass the test implemented by the provided function. If no elements pass the test, an empty array will be returned.
|
|
1313
|
+
*
|
|
1314
|
+
* @__NO_SIDE_EFFECTS__
|
|
1315
|
+
*/
|
|
1316
|
+
function useArrayFilter(list, fn) {
|
|
1317
|
+
return computed(() => toValue(list).map((i) => toValue(i)).filter(fn));
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
//#endregion
|
|
1321
|
+
//#region useArrayFind/index.ts
|
|
1322
|
+
/**
|
|
1323
|
+
* Reactive `Array.find`
|
|
1324
|
+
*
|
|
1325
|
+
* @see https://vueuse.org/useArrayFind
|
|
1326
|
+
* @param list - the array was called upon.
|
|
1327
|
+
* @param fn - a function to test each element.
|
|
1328
|
+
*
|
|
1329
|
+
* @returns the first element in the array that satisfies the provided testing function. Otherwise, undefined is returned.
|
|
1330
|
+
*
|
|
1331
|
+
* @__NO_SIDE_EFFECTS__
|
|
1332
|
+
*/
|
|
1333
|
+
function useArrayFind(list, fn) {
|
|
1334
|
+
return computed(() => toValue(toValue(list).find((element, index, array) => fn(toValue(element), index, array))));
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
//#endregion
|
|
1338
|
+
//#region useArrayFindIndex/index.ts
|
|
1339
|
+
/**
|
|
1340
|
+
* Reactive `Array.findIndex`
|
|
1341
|
+
*
|
|
1342
|
+
* @see https://vueuse.org/useArrayFindIndex
|
|
1343
|
+
* @param list - the array was called upon.
|
|
1344
|
+
* @param fn - a function to test each element.
|
|
1345
|
+
*
|
|
1346
|
+
* @returns the index of the first element in the array that passes the test. Otherwise, "-1".
|
|
1347
|
+
*
|
|
1348
|
+
* @__NO_SIDE_EFFECTS__
|
|
1349
|
+
*/
|
|
1350
|
+
function useArrayFindIndex(list, fn) {
|
|
1351
|
+
return computed(() => toValue(list).findIndex((element, index, array) => fn(toValue(element), index, array)));
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
//#endregion
|
|
1355
|
+
//#region useArrayFindLast/index.ts
|
|
1356
|
+
function findLast(arr, cb) {
|
|
1357
|
+
let index = arr.length;
|
|
1358
|
+
while (index-- > 0) if (cb(arr[index], index, arr)) return arr[index];
|
|
1359
|
+
}
|
|
1360
|
+
/**
|
|
1361
|
+
* Reactive `Array.findLast`
|
|
1362
|
+
*
|
|
1363
|
+
* @see https://vueuse.org/useArrayFindLast
|
|
1364
|
+
* @param list - the array was called upon.
|
|
1365
|
+
* @param fn - a function to test each element.
|
|
1366
|
+
*
|
|
1367
|
+
* @returns the last element in the array that satisfies the provided testing function. Otherwise, undefined is returned.
|
|
1368
|
+
*
|
|
1369
|
+
* @__NO_SIDE_EFFECTS__
|
|
1370
|
+
*/
|
|
1371
|
+
function useArrayFindLast(list, fn) {
|
|
1372
|
+
return computed(() => toValue(!Array.prototype.findLast ? findLast(toValue(list), (element, index, array) => fn(toValue(element), index, array)) : toValue(list).findLast((element, index, array) => fn(toValue(element), index, array))));
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
//#endregion
|
|
1376
|
+
//#region useArrayIncludes/index.ts
|
|
1377
|
+
function isArrayIncludesOptions(obj) {
|
|
1378
|
+
return isObject(obj) && containsProp(obj, "formIndex", "comparator");
|
|
1379
|
+
}
|
|
1380
|
+
/**
|
|
1381
|
+
* Reactive `Array.includes`
|
|
1382
|
+
*
|
|
1383
|
+
* @see https://vueuse.org/useArrayIncludes
|
|
1384
|
+
*
|
|
1385
|
+
* @returns true if the `value` is found in the array. Otherwise, false.
|
|
1386
|
+
*
|
|
1387
|
+
* @__NO_SIDE_EFFECTS__
|
|
1388
|
+
*/
|
|
1389
|
+
function useArrayIncludes(...args) {
|
|
1390
|
+
var _comparator;
|
|
1391
|
+
const list = args[0];
|
|
1392
|
+
const value = args[1];
|
|
1393
|
+
let comparator = args[2];
|
|
1394
|
+
let formIndex = 0;
|
|
1395
|
+
if (isArrayIncludesOptions(comparator)) {
|
|
1396
|
+
var _comparator$fromIndex;
|
|
1397
|
+
formIndex = (_comparator$fromIndex = comparator.fromIndex) !== null && _comparator$fromIndex !== void 0 ? _comparator$fromIndex : 0;
|
|
1398
|
+
comparator = comparator.comparator;
|
|
1399
|
+
}
|
|
1400
|
+
if (typeof comparator === "string") {
|
|
1401
|
+
const key = comparator;
|
|
1402
|
+
comparator = (element, value$1) => element[key] === toValue(value$1);
|
|
1403
|
+
}
|
|
1404
|
+
comparator = (_comparator = comparator) !== null && _comparator !== void 0 ? _comparator : ((element, value$1) => element === toValue(value$1));
|
|
1405
|
+
return computed(() => toValue(list).slice(formIndex).some((element, index, array) => comparator(toValue(element), toValue(value), index, toValue(array))));
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
//#endregion
|
|
1409
|
+
//#region useArrayJoin/index.ts
|
|
1410
|
+
/**
|
|
1411
|
+
* Reactive `Array.join`
|
|
1412
|
+
*
|
|
1413
|
+
* @see https://vueuse.org/useArrayJoin
|
|
1414
|
+
* @param list - the array was called upon.
|
|
1415
|
+
* @param separator - a string to separate each pair of adjacent elements of the array. If omitted, the array elements are separated with a comma (",").
|
|
1416
|
+
*
|
|
1417
|
+
* @returns a string with all array elements joined. If arr.length is 0, the empty string is returned.
|
|
1418
|
+
*
|
|
1419
|
+
* @__NO_SIDE_EFFECTS__
|
|
1420
|
+
*/
|
|
1421
|
+
function useArrayJoin(list, separator) {
|
|
1422
|
+
return computed(() => toValue(list).map((i) => toValue(i)).join(toValue(separator)));
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
//#endregion
|
|
1426
|
+
//#region useArrayMap/index.ts
|
|
1427
|
+
/**
|
|
1428
|
+
* Reactive `Array.map`
|
|
1429
|
+
*
|
|
1430
|
+
* @see https://vueuse.org/useArrayMap
|
|
1431
|
+
* @param list - the array was called upon.
|
|
1432
|
+
* @param fn - a function that is called for every element of the given `list`. Each time `fn` executes, the returned value is added to the new array.
|
|
1433
|
+
*
|
|
1434
|
+
* @returns a new array with each element being the result of the callback function.
|
|
1435
|
+
*
|
|
1436
|
+
* @__NO_SIDE_EFFECTS__
|
|
1437
|
+
*/
|
|
1438
|
+
function useArrayMap(list, fn) {
|
|
1439
|
+
return computed(() => toValue(list).map((i) => toValue(i)).map(fn));
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
//#endregion
|
|
1443
|
+
//#region useArrayReduce/index.ts
|
|
1444
|
+
/**
|
|
1445
|
+
* Reactive `Array.reduce`
|
|
1446
|
+
*
|
|
1447
|
+
* @see https://vueuse.org/useArrayReduce
|
|
1448
|
+
* @param list - the array was called upon.
|
|
1449
|
+
* @param reducer - a "reducer" function.
|
|
1450
|
+
* @param args
|
|
1451
|
+
*
|
|
1452
|
+
* @returns the value that results from running the "reducer" callback function to completion over the entire array.
|
|
1453
|
+
*
|
|
1454
|
+
* @__NO_SIDE_EFFECTS__
|
|
1455
|
+
*/
|
|
1456
|
+
function useArrayReduce(list, reducer, ...args) {
|
|
1457
|
+
const reduceCallback = (sum, value, index) => reducer(toValue(sum), toValue(value), index);
|
|
1458
|
+
return computed(() => {
|
|
1459
|
+
const resolved = toValue(list);
|
|
1460
|
+
return args.length ? resolved.reduce(reduceCallback, typeof args[0] === "function" ? toValue(args[0]()) : toValue(args[0])) : resolved.reduce(reduceCallback);
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
//#endregion
|
|
1465
|
+
//#region useArraySome/index.ts
|
|
1466
|
+
/**
|
|
1467
|
+
* Reactive `Array.some`
|
|
1468
|
+
*
|
|
1469
|
+
* @see https://vueuse.org/useArraySome
|
|
1470
|
+
* @param list - the array was called upon.
|
|
1471
|
+
* @param fn - a function to test each element.
|
|
1472
|
+
*
|
|
1473
|
+
* @returns **true** if the `fn` function returns a **truthy** value for any element from the array. Otherwise, **false**.
|
|
1474
|
+
*
|
|
1475
|
+
* @__NO_SIDE_EFFECTS__
|
|
1476
|
+
*/
|
|
1477
|
+
function useArraySome(list, fn) {
|
|
1478
|
+
return computed(() => toValue(list).some((element, index, array) => fn(toValue(element), index, array)));
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
//#endregion
|
|
1482
|
+
//#region useArrayUnique/index.ts
|
|
1483
|
+
function uniq(array) {
|
|
1484
|
+
return Array.from(new Set(array));
|
|
1485
|
+
}
|
|
1486
|
+
function uniqueElementsBy(array, fn) {
|
|
1487
|
+
return array.reduce((acc, v) => {
|
|
1488
|
+
if (!acc.some((x) => fn(v, x, array))) acc.push(v);
|
|
1489
|
+
return acc;
|
|
1490
|
+
}, []);
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
* reactive unique array
|
|
1494
|
+
* @see https://vueuse.org/useArrayUnique
|
|
1495
|
+
* @param list - the array was called upon.
|
|
1496
|
+
* @param compareFn
|
|
1497
|
+
* @returns A computed ref that returns a unique array of items.
|
|
1498
|
+
*
|
|
1499
|
+
* @__NO_SIDE_EFFECTS__
|
|
1500
|
+
*/
|
|
1501
|
+
function useArrayUnique(list, compareFn) {
|
|
1502
|
+
return computed(() => {
|
|
1503
|
+
const resolvedList = toValue(list).map((element) => toValue(element));
|
|
1504
|
+
return compareFn ? uniqueElementsBy(resolvedList, compareFn) : uniq(resolvedList);
|
|
1505
|
+
});
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
//#endregion
|
|
1509
|
+
//#region useCounter/index.ts
|
|
1510
|
+
/**
|
|
1511
|
+
* Basic counter with utility functions.
|
|
1512
|
+
*
|
|
1513
|
+
* @see https://vueuse.org/useCounter
|
|
1514
|
+
* @param [initialValue]
|
|
1515
|
+
* @param options
|
|
1516
|
+
*/
|
|
1517
|
+
function useCounter(initialValue = 0, options = {}) {
|
|
1518
|
+
let _initialValue = unref(initialValue);
|
|
1519
|
+
const count = shallowRef(initialValue);
|
|
1520
|
+
const { max = Number.POSITIVE_INFINITY, min = Number.NEGATIVE_INFINITY } = options;
|
|
1521
|
+
const inc = (delta = 1) => count.value = Math.max(Math.min(max, count.value + delta), min);
|
|
1522
|
+
const dec = (delta = 1) => count.value = Math.min(Math.max(min, count.value - delta), max);
|
|
1523
|
+
const get$1 = () => count.value;
|
|
1524
|
+
const set$1 = (val) => count.value = Math.max(min, Math.min(max, val));
|
|
1525
|
+
const reset = (val = _initialValue) => {
|
|
1526
|
+
_initialValue = val;
|
|
1527
|
+
return set$1(val);
|
|
1528
|
+
};
|
|
1529
|
+
return {
|
|
1530
|
+
count: shallowReadonly(count),
|
|
1531
|
+
inc,
|
|
1532
|
+
dec,
|
|
1533
|
+
get: get$1,
|
|
1534
|
+
set: set$1,
|
|
1535
|
+
reset
|
|
1536
|
+
};
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
//#endregion
|
|
1540
|
+
//#region useDateFormat/index.ts
|
|
1541
|
+
const REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i;
|
|
1542
|
+
const REGEX_FORMAT = /[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;
|
|
1543
|
+
function defaultMeridiem(hours, minutes, isLowercase, hasPeriod) {
|
|
1544
|
+
let m = hours < 12 ? "AM" : "PM";
|
|
1545
|
+
if (hasPeriod) m = m.split("").reduce((acc, curr) => acc += `${curr}.`, "");
|
|
1546
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
1547
|
+
}
|
|
1548
|
+
function formatOrdinal(num) {
|
|
1549
|
+
const suffixes = [
|
|
1550
|
+
"th",
|
|
1551
|
+
"st",
|
|
1552
|
+
"nd",
|
|
1553
|
+
"rd"
|
|
1554
|
+
];
|
|
1555
|
+
const v = num % 100;
|
|
1556
|
+
return num + (suffixes[(v - 20) % 10] || suffixes[v] || suffixes[0]);
|
|
1557
|
+
}
|
|
1558
|
+
function formatDate(date, formatStr, options = {}) {
|
|
1559
|
+
var _options$customMeridi;
|
|
1560
|
+
const years = date.getFullYear();
|
|
1561
|
+
const month = date.getMonth();
|
|
1562
|
+
const days = date.getDate();
|
|
1563
|
+
const hours = date.getHours();
|
|
1564
|
+
const minutes = date.getMinutes();
|
|
1565
|
+
const seconds = date.getSeconds();
|
|
1566
|
+
const milliseconds = date.getMilliseconds();
|
|
1567
|
+
const day = date.getDay();
|
|
1568
|
+
const meridiem = (_options$customMeridi = options.customMeridiem) !== null && _options$customMeridi !== void 0 ? _options$customMeridi : defaultMeridiem;
|
|
1569
|
+
const stripTimeZone = (dateString) => {
|
|
1570
|
+
var _dateString$split$;
|
|
1571
|
+
return (_dateString$split$ = dateString.split(" ")[1]) !== null && _dateString$split$ !== void 0 ? _dateString$split$ : "";
|
|
1572
|
+
};
|
|
1573
|
+
const matches = {
|
|
1574
|
+
Yo: () => formatOrdinal(years),
|
|
1575
|
+
YY: () => String(years).slice(-2),
|
|
1576
|
+
YYYY: () => years,
|
|
1577
|
+
M: () => month + 1,
|
|
1578
|
+
Mo: () => formatOrdinal(month + 1),
|
|
1579
|
+
MM: () => `${month + 1}`.padStart(2, "0"),
|
|
1580
|
+
MMM: () => date.toLocaleDateString(toValue(options.locales), { month: "short" }),
|
|
1581
|
+
MMMM: () => date.toLocaleDateString(toValue(options.locales), { month: "long" }),
|
|
1582
|
+
D: () => String(days),
|
|
1583
|
+
Do: () => formatOrdinal(days),
|
|
1584
|
+
DD: () => `${days}`.padStart(2, "0"),
|
|
1585
|
+
H: () => String(hours),
|
|
1586
|
+
Ho: () => formatOrdinal(hours),
|
|
1587
|
+
HH: () => `${hours}`.padStart(2, "0"),
|
|
1588
|
+
h: () => `${hours % 12 || 12}`.padStart(1, "0"),
|
|
1589
|
+
ho: () => formatOrdinal(hours % 12 || 12),
|
|
1590
|
+
hh: () => `${hours % 12 || 12}`.padStart(2, "0"),
|
|
1591
|
+
m: () => String(minutes),
|
|
1592
|
+
mo: () => formatOrdinal(minutes),
|
|
1593
|
+
mm: () => `${minutes}`.padStart(2, "0"),
|
|
1594
|
+
s: () => String(seconds),
|
|
1595
|
+
so: () => formatOrdinal(seconds),
|
|
1596
|
+
ss: () => `${seconds}`.padStart(2, "0"),
|
|
1597
|
+
SSS: () => `${milliseconds}`.padStart(3, "0"),
|
|
1598
|
+
d: () => day,
|
|
1599
|
+
dd: () => date.toLocaleDateString(toValue(options.locales), { weekday: "narrow" }),
|
|
1600
|
+
ddd: () => date.toLocaleDateString(toValue(options.locales), { weekday: "short" }),
|
|
1601
|
+
dddd: () => date.toLocaleDateString(toValue(options.locales), { weekday: "long" }),
|
|
1602
|
+
A: () => meridiem(hours, minutes),
|
|
1603
|
+
AA: () => meridiem(hours, minutes, false, true),
|
|
1604
|
+
a: () => meridiem(hours, minutes, true),
|
|
1605
|
+
aa: () => meridiem(hours, minutes, true, true),
|
|
1606
|
+
z: () => stripTimeZone(date.toLocaleDateString(toValue(options.locales), { timeZoneName: "shortOffset" })),
|
|
1607
|
+
zz: () => stripTimeZone(date.toLocaleDateString(toValue(options.locales), { timeZoneName: "shortOffset" })),
|
|
1608
|
+
zzz: () => stripTimeZone(date.toLocaleDateString(toValue(options.locales), { timeZoneName: "shortOffset" })),
|
|
1609
|
+
zzzz: () => stripTimeZone(date.toLocaleDateString(toValue(options.locales), { timeZoneName: "longOffset" }))
|
|
1610
|
+
};
|
|
1611
|
+
return formatStr.replace(REGEX_FORMAT, (match, $1) => {
|
|
1612
|
+
var _ref, _matches$match;
|
|
1613
|
+
return (_ref = $1 !== null && $1 !== void 0 ? $1 : (_matches$match = matches[match]) === null || _matches$match === void 0 ? void 0 : _matches$match.call(matches)) !== null && _ref !== void 0 ? _ref : match;
|
|
1614
|
+
});
|
|
1615
|
+
}
|
|
1616
|
+
function normalizeDate(date) {
|
|
1617
|
+
if (date === null) return /* @__PURE__ */ new Date(NaN);
|
|
1618
|
+
if (date === void 0) return /* @__PURE__ */ new Date();
|
|
1619
|
+
if (date instanceof Date) return new Date(date);
|
|
1620
|
+
if (typeof date === "string" && !/Z$/i.test(date)) {
|
|
1621
|
+
const d = date.match(REGEX_PARSE);
|
|
1622
|
+
if (d) {
|
|
1623
|
+
const m = d[2] - 1 || 0;
|
|
1624
|
+
const ms = (d[7] || "0").substring(0, 3);
|
|
1625
|
+
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
return new Date(date);
|
|
1629
|
+
}
|
|
1630
|
+
/**
|
|
1631
|
+
* Get the formatted date according to the string of tokens passed in.
|
|
1632
|
+
*
|
|
1633
|
+
* @see https://vueuse.org/useDateFormat
|
|
1634
|
+
* @param date - The date to format, can either be a `Date` object, a timestamp, or a string
|
|
1635
|
+
* @param formatStr - The combination of tokens to format the date
|
|
1636
|
+
* @param options - UseDateFormatOptions
|
|
1637
|
+
*
|
|
1638
|
+
* @__NO_SIDE_EFFECTS__
|
|
1639
|
+
*/
|
|
1640
|
+
function useDateFormat(date, formatStr = "HH:mm:ss", options = {}) {
|
|
1641
|
+
return computed(() => formatDate(normalizeDate(toValue(date)), toValue(formatStr), options));
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
//#endregion
|
|
1645
|
+
//#region useIntervalFn/index.ts
|
|
1646
|
+
/**
|
|
1647
|
+
* Wrapper for `setInterval` with controls
|
|
1648
|
+
*
|
|
1649
|
+
* @see https://vueuse.org/useIntervalFn
|
|
1650
|
+
* @param cb
|
|
1651
|
+
* @param interval
|
|
1652
|
+
* @param options
|
|
1653
|
+
*/
|
|
1654
|
+
function useIntervalFn(cb, interval = 1e3, options = {}) {
|
|
1655
|
+
const { immediate = true, immediateCallback = false } = options;
|
|
1656
|
+
let timer = null;
|
|
1657
|
+
const isActive = shallowRef(false);
|
|
1658
|
+
function clean() {
|
|
1659
|
+
if (timer) {
|
|
1660
|
+
clearInterval(timer);
|
|
1661
|
+
timer = null;
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
function pause() {
|
|
1665
|
+
isActive.value = false;
|
|
1666
|
+
clean();
|
|
1667
|
+
}
|
|
1668
|
+
function resume() {
|
|
1669
|
+
const intervalValue = toValue(interval);
|
|
1670
|
+
if (intervalValue <= 0) return;
|
|
1671
|
+
isActive.value = true;
|
|
1672
|
+
if (immediateCallback) cb();
|
|
1673
|
+
clean();
|
|
1674
|
+
if (isActive.value) timer = setInterval(cb, intervalValue);
|
|
1675
|
+
}
|
|
1676
|
+
if (immediate && isClient) resume();
|
|
1677
|
+
if (isRef(interval) || typeof interval === "function") tryOnScopeDispose(watch(interval, () => {
|
|
1678
|
+
if (isActive.value && isClient) resume();
|
|
1679
|
+
}));
|
|
1680
|
+
tryOnScopeDispose(pause);
|
|
1681
|
+
return {
|
|
1682
|
+
isActive: shallowReadonly(isActive),
|
|
1683
|
+
pause,
|
|
1684
|
+
resume
|
|
1685
|
+
};
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
//#endregion
|
|
1689
|
+
//#region useInterval/index.ts
|
|
1690
|
+
function useInterval(interval = 1e3, options = {}) {
|
|
1691
|
+
const { controls: exposeControls = false, immediate = true, callback } = options;
|
|
1692
|
+
const counter = shallowRef(0);
|
|
1693
|
+
const update = () => counter.value += 1;
|
|
1694
|
+
const reset = () => {
|
|
1695
|
+
counter.value = 0;
|
|
1696
|
+
};
|
|
1697
|
+
const controls = useIntervalFn(callback ? () => {
|
|
1698
|
+
update();
|
|
1699
|
+
callback(counter.value);
|
|
1700
|
+
} : update, interval, { immediate });
|
|
1701
|
+
if (exposeControls) return {
|
|
1702
|
+
counter: shallowReadonly(counter),
|
|
1703
|
+
reset,
|
|
1704
|
+
...controls
|
|
1705
|
+
};
|
|
1706
|
+
else return shallowReadonly(counter);
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
//#endregion
|
|
1710
|
+
//#region useLastChanged/index.ts
|
|
1711
|
+
function useLastChanged(source, options = {}) {
|
|
1712
|
+
var _options$initialValue;
|
|
1713
|
+
const ms = shallowRef((_options$initialValue = options.initialValue) !== null && _options$initialValue !== void 0 ? _options$initialValue : null);
|
|
1714
|
+
watch(source, () => ms.value = timestamp(), options);
|
|
1715
|
+
return shallowReadonly(ms);
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
//#endregion
|
|
1719
|
+
//#region useTimeoutFn/index.ts
|
|
1720
|
+
/**
|
|
1721
|
+
* Wrapper for `setTimeout` with controls.
|
|
1722
|
+
*
|
|
1723
|
+
* @param cb
|
|
1724
|
+
* @param interval
|
|
1725
|
+
* @param options
|
|
1726
|
+
*/
|
|
1727
|
+
function useTimeoutFn(cb, interval, options = {}) {
|
|
1728
|
+
const { immediate = true, immediateCallback = false } = options;
|
|
1729
|
+
const isPending = shallowRef(false);
|
|
1730
|
+
let timer;
|
|
1731
|
+
function clear() {
|
|
1732
|
+
if (timer) {
|
|
1733
|
+
clearTimeout(timer);
|
|
1734
|
+
timer = void 0;
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
function stop() {
|
|
1738
|
+
isPending.value = false;
|
|
1739
|
+
clear();
|
|
1740
|
+
}
|
|
1741
|
+
function start(...args) {
|
|
1742
|
+
if (immediateCallback) cb();
|
|
1743
|
+
clear();
|
|
1744
|
+
isPending.value = true;
|
|
1745
|
+
timer = setTimeout(() => {
|
|
1746
|
+
isPending.value = false;
|
|
1747
|
+
timer = void 0;
|
|
1748
|
+
cb(...args);
|
|
1749
|
+
}, toValue(interval));
|
|
1750
|
+
}
|
|
1751
|
+
if (immediate) {
|
|
1752
|
+
isPending.value = true;
|
|
1753
|
+
if (isClient) start();
|
|
1754
|
+
}
|
|
1755
|
+
tryOnScopeDispose(stop);
|
|
1756
|
+
return {
|
|
1757
|
+
isPending: shallowReadonly(isPending),
|
|
1758
|
+
start,
|
|
1759
|
+
stop
|
|
1760
|
+
};
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
//#endregion
|
|
1764
|
+
//#region useTimeout/index.ts
|
|
1765
|
+
function useTimeout(interval = 1e3, options = {}) {
|
|
1766
|
+
const { controls: exposeControls = false, callback } = options;
|
|
1767
|
+
const controls = useTimeoutFn(callback !== null && callback !== void 0 ? callback : noop, interval, options);
|
|
1768
|
+
const ready = computed(() => !controls.isPending.value);
|
|
1769
|
+
if (exposeControls) return {
|
|
1770
|
+
ready,
|
|
1771
|
+
...controls
|
|
1772
|
+
};
|
|
1773
|
+
else return ready;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
//#endregion
|
|
1777
|
+
//#region useToNumber/index.ts
|
|
1778
|
+
/**
|
|
1779
|
+
* Reactively convert a string ref to number.
|
|
1780
|
+
*
|
|
1781
|
+
* @__NO_SIDE_EFFECTS__
|
|
1782
|
+
*/
|
|
1783
|
+
function useToNumber(value, options = {}) {
|
|
1784
|
+
const { method = "parseFloat", radix, nanToZero } = options;
|
|
1785
|
+
return computed(() => {
|
|
1786
|
+
let resolved = toValue(value);
|
|
1787
|
+
if (typeof method === "function") resolved = method(resolved);
|
|
1788
|
+
else if (typeof resolved === "string") resolved = Number[method](resolved, radix);
|
|
1789
|
+
if (nanToZero && Number.isNaN(resolved)) resolved = 0;
|
|
1790
|
+
return resolved;
|
|
1791
|
+
});
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
//#endregion
|
|
1795
|
+
//#region useToString/index.ts
|
|
1796
|
+
/**
|
|
1797
|
+
* Reactively convert a ref to string.
|
|
1798
|
+
*
|
|
1799
|
+
* @see https://vueuse.org/useToString
|
|
1800
|
+
*
|
|
1801
|
+
* @__NO_SIDE_EFFECTS__
|
|
1802
|
+
*/
|
|
1803
|
+
function useToString(value) {
|
|
1804
|
+
return computed(() => `${toValue(value)}`);
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
//#endregion
|
|
1808
|
+
//#region useToggle/index.ts
|
|
1809
|
+
/**
|
|
1810
|
+
* A boolean ref with a toggler
|
|
1811
|
+
*
|
|
1812
|
+
* @see https://vueuse.org/useToggle
|
|
1813
|
+
* @param [initialValue]
|
|
1814
|
+
* @param options
|
|
1815
|
+
*
|
|
1816
|
+
* @__NO_SIDE_EFFECTS__
|
|
1817
|
+
*/
|
|
1818
|
+
function useToggle(initialValue = false, options = {}) {
|
|
1819
|
+
const { truthyValue = true, falsyValue = false } = options;
|
|
1820
|
+
const valueIsRef = isRef(initialValue);
|
|
1821
|
+
const _value = shallowRef(initialValue);
|
|
1822
|
+
function toggle(value) {
|
|
1823
|
+
if (arguments.length) {
|
|
1824
|
+
_value.value = value;
|
|
1825
|
+
return _value.value;
|
|
1826
|
+
} else {
|
|
1827
|
+
const truthy = toValue(truthyValue);
|
|
1828
|
+
_value.value = _value.value === truthy ? toValue(falsyValue) : truthy;
|
|
1829
|
+
return _value.value;
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
if (valueIsRef) return toggle;
|
|
1833
|
+
else return [_value, toggle];
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
//#endregion
|
|
1837
|
+
//#region watchArray/index.ts
|
|
1838
|
+
/**
|
|
1839
|
+
* Watch for an array with additions and removals.
|
|
1840
|
+
*
|
|
1841
|
+
* @see https://vueuse.org/watchArray
|
|
1842
|
+
*/
|
|
1843
|
+
function watchArray(source, cb, options) {
|
|
1844
|
+
let oldList = (options === null || options === void 0 ? void 0 : options.immediate) ? [] : [...typeof source === "function" ? source() : Array.isArray(source) ? source : toValue(source)];
|
|
1845
|
+
return watch(source, (newList, _, onCleanup) => {
|
|
1846
|
+
const oldListRemains = Array.from({ length: oldList.length });
|
|
1847
|
+
const added = [];
|
|
1848
|
+
for (const obj of newList) {
|
|
1849
|
+
let found = false;
|
|
1850
|
+
for (let i = 0; i < oldList.length; i++) if (!oldListRemains[i] && obj === oldList[i]) {
|
|
1851
|
+
oldListRemains[i] = true;
|
|
1852
|
+
found = true;
|
|
1853
|
+
break;
|
|
1854
|
+
}
|
|
1855
|
+
if (!found) added.push(obj);
|
|
1856
|
+
}
|
|
1857
|
+
const removed = oldList.filter((_$1, i) => !oldListRemains[i]);
|
|
1858
|
+
cb(newList, oldList, added, removed, onCleanup);
|
|
1859
|
+
oldList = [...newList];
|
|
1860
|
+
}, options);
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
//#endregion
|
|
1864
|
+
//#region watchAtMost/index.ts
|
|
1865
|
+
function watchAtMost(source, cb, options) {
|
|
1866
|
+
const { count,...watchOptions } = options;
|
|
1867
|
+
const current = shallowRef(0);
|
|
1868
|
+
const { stop, resume, pause } = watchWithFilter(source, (...args) => {
|
|
1869
|
+
current.value += 1;
|
|
1870
|
+
if (current.value >= toValue(count)) nextTick(() => stop());
|
|
1871
|
+
cb(...args);
|
|
1872
|
+
}, watchOptions);
|
|
1873
|
+
return {
|
|
1874
|
+
count: current,
|
|
1875
|
+
stop,
|
|
1876
|
+
resume,
|
|
1877
|
+
pause
|
|
1878
|
+
};
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
//#endregion
|
|
1882
|
+
//#region watchDebounced/index.ts
|
|
1883
|
+
function watchDebounced(source, cb, options = {}) {
|
|
1884
|
+
const { debounce = 0, maxWait = void 0,...watchOptions } = options;
|
|
1885
|
+
return watchWithFilter(source, cb, {
|
|
1886
|
+
...watchOptions,
|
|
1887
|
+
eventFilter: debounceFilter(debounce, { maxWait })
|
|
1888
|
+
});
|
|
1889
|
+
}
|
|
1890
|
+
/** @deprecated use `watchDebounced` instead */
|
|
1891
|
+
const debouncedWatch = watchDebounced;
|
|
1892
|
+
|
|
1893
|
+
//#endregion
|
|
1894
|
+
//#region watchDeep/index.ts
|
|
1895
|
+
/**
|
|
1896
|
+
* Shorthand for watching value with {deep: true}
|
|
1897
|
+
*
|
|
1898
|
+
* @see https://vueuse.org/watchDeep
|
|
1899
|
+
*/
|
|
1900
|
+
function watchDeep(source, cb, options) {
|
|
1901
|
+
return watch(source, cb, {
|
|
1902
|
+
...options,
|
|
1903
|
+
deep: true
|
|
1904
|
+
});
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
//#endregion
|
|
1908
|
+
//#region watchIgnorable/index.ts
|
|
1909
|
+
function watchIgnorable(source, cb, options = {}) {
|
|
1910
|
+
const { eventFilter = bypassFilter,...watchOptions } = options;
|
|
1911
|
+
const filteredCb = createFilterWrapper(eventFilter, cb);
|
|
1912
|
+
let ignoreUpdates;
|
|
1913
|
+
let ignorePrevAsyncUpdates;
|
|
1914
|
+
let stop;
|
|
1915
|
+
if (watchOptions.flush === "sync") {
|
|
1916
|
+
let ignore = false;
|
|
1917
|
+
ignorePrevAsyncUpdates = () => {};
|
|
1918
|
+
ignoreUpdates = (updater) => {
|
|
1919
|
+
ignore = true;
|
|
1920
|
+
updater();
|
|
1921
|
+
ignore = false;
|
|
1922
|
+
};
|
|
1923
|
+
stop = watch(source, (...args) => {
|
|
1924
|
+
if (!ignore) filteredCb(...args);
|
|
1925
|
+
}, watchOptions);
|
|
1926
|
+
} else {
|
|
1927
|
+
const disposables = [];
|
|
1928
|
+
let ignoreCounter = 0;
|
|
1929
|
+
let syncCounter = 0;
|
|
1930
|
+
ignorePrevAsyncUpdates = () => {
|
|
1931
|
+
ignoreCounter = syncCounter;
|
|
1932
|
+
};
|
|
1933
|
+
disposables.push(watch(source, () => {
|
|
1934
|
+
syncCounter++;
|
|
1935
|
+
}, {
|
|
1936
|
+
...watchOptions,
|
|
1937
|
+
flush: "sync"
|
|
1938
|
+
}));
|
|
1939
|
+
ignoreUpdates = (updater) => {
|
|
1940
|
+
const syncCounterPrev = syncCounter;
|
|
1941
|
+
updater();
|
|
1942
|
+
ignoreCounter += syncCounter - syncCounterPrev;
|
|
1943
|
+
};
|
|
1944
|
+
disposables.push(watch(source, (...args) => {
|
|
1945
|
+
const ignore = ignoreCounter > 0 && ignoreCounter === syncCounter;
|
|
1946
|
+
ignoreCounter = 0;
|
|
1947
|
+
syncCounter = 0;
|
|
1948
|
+
if (ignore) return;
|
|
1949
|
+
filteredCb(...args);
|
|
1950
|
+
}, watchOptions));
|
|
1951
|
+
stop = () => {
|
|
1952
|
+
disposables.forEach((fn) => fn());
|
|
1953
|
+
};
|
|
1954
|
+
}
|
|
1955
|
+
return {
|
|
1956
|
+
stop,
|
|
1957
|
+
ignoreUpdates,
|
|
1958
|
+
ignorePrevAsyncUpdates
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1961
|
+
/** @deprecated use `watchIgnorable` instead */
|
|
1962
|
+
const ignorableWatch = watchIgnorable;
|
|
1963
|
+
|
|
1964
|
+
//#endregion
|
|
1965
|
+
//#region watchImmediate/index.ts
|
|
1966
|
+
/**
|
|
1967
|
+
* Shorthand for watching value with {immediate: true}
|
|
1968
|
+
*
|
|
1969
|
+
* @see https://vueuse.org/watchImmediate
|
|
1970
|
+
*/
|
|
1971
|
+
function watchImmediate(source, cb, options) {
|
|
1972
|
+
return watch(source, cb, {
|
|
1973
|
+
...options,
|
|
1974
|
+
immediate: true
|
|
1975
|
+
});
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
//#endregion
|
|
1979
|
+
//#region watchOnce/index.ts
|
|
1980
|
+
/**
|
|
1981
|
+
* Shorthand for watching value with { once: true }
|
|
1982
|
+
*
|
|
1983
|
+
* @see https://vueuse.org/watchOnce
|
|
1984
|
+
*/
|
|
1985
|
+
function watchOnce(source, cb, options) {
|
|
1986
|
+
return watch(source, cb, {
|
|
1987
|
+
...options,
|
|
1988
|
+
once: true
|
|
1989
|
+
});
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
//#endregion
|
|
1993
|
+
//#region watchThrottled/index.ts
|
|
1994
|
+
function watchThrottled(source, cb, options = {}) {
|
|
1995
|
+
const { throttle = 0, trailing = true, leading = true,...watchOptions } = options;
|
|
1996
|
+
return watchWithFilter(source, cb, {
|
|
1997
|
+
...watchOptions,
|
|
1998
|
+
eventFilter: throttleFilter(throttle, trailing, leading)
|
|
1999
|
+
});
|
|
2000
|
+
}
|
|
2001
|
+
/** @deprecated use `watchThrottled` instead */
|
|
2002
|
+
const throttledWatch = watchThrottled;
|
|
2003
|
+
|
|
2004
|
+
//#endregion
|
|
2005
|
+
//#region watchTriggerable/index.ts
|
|
2006
|
+
function watchTriggerable(source, cb, options = {}) {
|
|
2007
|
+
let cleanupFn;
|
|
2008
|
+
function onEffect() {
|
|
2009
|
+
if (!cleanupFn) return;
|
|
2010
|
+
const fn = cleanupFn;
|
|
2011
|
+
cleanupFn = void 0;
|
|
2012
|
+
fn();
|
|
2013
|
+
}
|
|
2014
|
+
/** Register the function `cleanupFn` */
|
|
2015
|
+
function onCleanup(callback) {
|
|
2016
|
+
cleanupFn = callback;
|
|
2017
|
+
}
|
|
2018
|
+
const _cb = (value, oldValue) => {
|
|
2019
|
+
onEffect();
|
|
2020
|
+
return cb(value, oldValue, onCleanup);
|
|
2021
|
+
};
|
|
2022
|
+
const res = watchIgnorable(source, _cb, options);
|
|
2023
|
+
const { ignoreUpdates } = res;
|
|
2024
|
+
const trigger = () => {
|
|
2025
|
+
let res$1;
|
|
2026
|
+
ignoreUpdates(() => {
|
|
2027
|
+
res$1 = _cb(getWatchSources(source), getOldValue(source));
|
|
2028
|
+
});
|
|
2029
|
+
return res$1;
|
|
2030
|
+
};
|
|
2031
|
+
return {
|
|
2032
|
+
...res,
|
|
2033
|
+
trigger
|
|
2034
|
+
};
|
|
2035
|
+
}
|
|
2036
|
+
function getWatchSources(sources) {
|
|
2037
|
+
if (isReactive(sources)) return sources;
|
|
2038
|
+
if (Array.isArray(sources)) return sources.map((item) => toValue(item));
|
|
2039
|
+
return toValue(sources);
|
|
2040
|
+
}
|
|
2041
|
+
function getOldValue(source) {
|
|
2042
|
+
return Array.isArray(source) ? source.map(() => void 0) : void 0;
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
//#endregion
|
|
2046
|
+
//#region whenever/index.ts
|
|
2047
|
+
/**
|
|
2048
|
+
* Shorthand for watching value to be truthy
|
|
2049
|
+
*
|
|
2050
|
+
* @see https://vueuse.org/whenever
|
|
2051
|
+
*/
|
|
2052
|
+
function whenever(source, cb, options) {
|
|
2053
|
+
const stop = watch(source, (v, ov, onInvalidate) => {
|
|
2054
|
+
if (v) {
|
|
2055
|
+
if (options === null || options === void 0 ? void 0 : options.once) nextTick(() => stop());
|
|
2056
|
+
cb(v, ov, onInvalidate);
|
|
2057
|
+
}
|
|
2058
|
+
}, {
|
|
2059
|
+
...options,
|
|
2060
|
+
once: false
|
|
2061
|
+
});
|
|
2062
|
+
return stop;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
//#endregion
|
|
2066
|
+
export { assert, autoResetRef, bypassFilter, camelize, clamp, computedEager, computedWithControl, containsProp, controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, createReactiveFn, createRef, createSharedComposable, createSingletonPromise, debounceFilter, debouncedRef, debouncedWatch, eagerComputed, extendRef, formatDate, get, getLifeCycleTarget, hasOwn, hyphenate, identity, ignorableWatch, increaseWithUnit, injectLocal, invoke, isClient, isDef, isDefined, isIOS, isObject, isWorker, makeDestructurable, noop, normalizeDate, notNullish, now, objectEntries, objectOmit, objectPick, pausableFilter, pausableWatch, promiseTimeout, provideLocal, pxValue, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refManualReset, refThrottled, refWithControl, set, syncRef, syncRefs, throttleFilter, throttledRef, throttledWatch, timestamp, toArray, toReactive, toRef, toRefs, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useCounter, useDateFormat, useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };
|