@highstate/designer 0.9.5 → 0.9.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/-gUCin__.js +1 -0
- package/.output/public/_nuxt/0cvrggvQ.js +6 -0
- package/.output/public/_nuxt/1FBXtL6T.js +1 -0
- package/.output/public/_nuxt/25W9uPmb.js +6 -0
- package/.output/public/_nuxt/2vEc2rIP.js +1 -0
- package/.output/public/_nuxt/32uRPJ4N.js +1 -0
- package/.output/public/_nuxt/3e1v2bzS.js +1 -0
- package/.output/public/_nuxt/3x3noH9Z.js +1 -0
- package/.output/public/_nuxt/4Ik7cdeQ.js +8 -0
- package/.output/public/_nuxt/5Rap-vPy.js +6 -0
- package/.output/public/_nuxt/5i3qLPDT.js +1 -0
- package/.output/public/_nuxt/6nHXG8SA.js +1 -0
- package/.output/public/_nuxt/7i6GEmcB.js +1 -0
- package/.output/public/_nuxt/8VYUoF4n.js +1 -0
- package/.output/public/_nuxt/8iK_SAcF.js +1 -0
- package/.output/public/_nuxt/8p8hHNKb.js +6 -0
- package/.output/public/_nuxt/B-n0qIwP.js +1 -0
- package/.output/public/_nuxt/B03wrqEc.js +6 -0
- package/.output/public/_nuxt/B0QpCHAm.js +1 -0
- package/.output/public/_nuxt/B0m2ddpp.js +1 -0
- package/.output/public/_nuxt/B1yitclQ.js +1 -0
- package/.output/public/_nuxt/B2VXiYNb.js +1 -0
- package/.output/public/_nuxt/B2yha3tK.js +6 -0
- package/.output/public/_nuxt/B5zXfXm9.js +6 -0
- package/.output/public/_nuxt/B7mTdjB0.js +1 -0
- package/.output/public/_nuxt/B7zkapVa.js +1 -0
- package/.output/public/_nuxt/B82-JnRn.js +1 -0
- package/.output/public/_nuxt/B9Kps4VT.js +1 -0
- package/.output/public/_nuxt/B9QVBjCK.js +1 -0
- package/.output/public/_nuxt/B9QZihn4.js +1 -0
- package/.output/public/_nuxt/B9Xyijhd.js +6 -0
- package/.output/public/_nuxt/BAmeXbWa.js +1 -0
- package/.output/public/_nuxt/BAsAT7ku.js +1 -0
- package/.output/public/_nuxt/BB0-839A.js +1 -0
- package/.output/public/_nuxt/BBdd5e-P.js +6 -0
- package/.output/public/_nuxt/BDJi0rE3.js +1 -0
- package/.output/public/_nuxt/BEwlwnbL.js +1 -0
- package/.output/public/_nuxt/BFG1Mk7z.js +6 -0
- package/.output/public/_nuxt/BFKVEqu8.js +1 -0
- package/.output/public/_nuxt/BFVdkX1U.js +1 -0
- package/.output/public/_nuxt/BFdI9D2b.js +1 -0
- package/.output/public/_nuxt/BG8T9Pi3.js +1 -0
- package/.output/public/_nuxt/BHrmToEH.js +1 -0
- package/.output/public/_nuxt/BHuRbl13.js +1 -0
- package/.output/public/_nuxt/BIHI7g3E.js +1 -0
- package/.output/public/_nuxt/BIkblFNm.js +1 -0
- package/.output/public/_nuxt/BInbHe_J.js +1 -0
- package/.output/public/_nuxt/BIzIjuvV.js +1 -0
- package/.output/public/_nuxt/BJCLCDEU.js +1 -0
- package/.output/public/_nuxt/BKLW6Or0.js +1 -0
- package/.output/public/_nuxt/BKe6jfpc.js +1 -0
- package/.output/public/_nuxt/BKlk5iyT.js +6 -0
- package/.output/public/_nuxt/BLe-5KzV.js +1 -0
- package/.output/public/_nuxt/BMWR74SV.js +1 -0
- package/.output/public/_nuxt/BNKpk_J-.js +6 -0
- package/.output/public/_nuxt/BPQEJVH-.js +1 -0
- package/.output/public/_nuxt/BQ8w6xss.js +1 -0
- package/.output/public/_nuxt/BR7mELCv.js +1 -0
- package/.output/public/_nuxt/BRGHnwaO.js +1 -0
- package/.output/public/_nuxt/BRZ36xJF.js +1 -0
- package/.output/public/_nuxt/BSkB5QuD.js +6 -0
- package/.output/public/_nuxt/BTJTHyun.js +1 -0
- package/.output/public/_nuxt/BU0udk1K.js +1 -0
- package/.output/public/_nuxt/BUGa-R-r.js +1 -0
- package/.output/public/_nuxt/BV7otONQ.js +1 -0
- package/.output/public/_nuxt/BVgHyAf_.js +1 -0
- package/.output/public/_nuxt/BWvSN4gD.js +1 -0
- package/.output/public/_nuxt/BXkSAIEj.js +1 -0
- package/.output/public/_nuxt/B_c3zf-v.js +6 -0
- package/.output/public/_nuxt/B_fMsGYe.js +6 -0
- package/.output/public/_nuxt/B_m7g4N7.js +1 -0
- package/.output/public/_nuxt/BaJupSGV.js +6 -0
- package/.output/public/_nuxt/BaLxmfj-.js +6 -0
- package/.output/public/_nuxt/BauLn-NW.js +1 -0
- package/.output/public/_nuxt/BbcW6ACK.js +1 -0
- package/.output/public/_nuxt/Bc-MNOVW.js +1 -0
- package/.output/public/_nuxt/Bc-ZgV77.js +6 -0
- package/.output/public/_nuxt/Bc5W3P_y.js +1 -0
- package/.output/public/_nuxt/BcOcwvcX.js +1 -0
- package/.output/public/_nuxt/BdBarL6S.js +1 -0
- package/.output/public/_nuxt/BdnUsdx6.js +1 -0
- package/.output/public/_nuxt/BfB9GJr7.js +1 -0
- package/.output/public/_nuxt/BfEKNvv3.js +7 -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/BgLz8NXr.js +1 -0
- package/.output/public/_nuxt/BgWFZNIN.js +1 -0
- package/.output/public/_nuxt/Bhzvs7bI.js +6 -0
- package/.output/public/_nuxt/Bio4gycK.js +6 -0
- package/.output/public/_nuxt/BjMo22yv.js +1 -0
- package/.output/public/_nuxt/BkPM1oy1.js +1 -0
- package/.output/public/_nuxt/Bkuqu6BP.js +1 -0
- package/.output/public/_nuxt/Bl2oy6fF.js +1 -0
- package/.output/public/_nuxt/BlI8fBv_.js +1 -0
- package/.output/public/_nuxt/BmXAJ9_W.js +1 -0
- package/.output/public/_nuxt/BoASPUxF.js +1 -0
- package/.output/public/_nuxt/BoFRg7Ot.js +6 -0
- package/.output/public/_nuxt/BoKiGodi.js +1 -0
- package/.output/public/_nuxt/Bp6g37R7.js +1 -0
- package/.output/public/_nuxt/Bp_PLy4w.js +1 -0
- package/.output/public/_nuxt/Bqgm2twL.js +6 -0
- package/.output/public/_nuxt/BrgZPUOV.js +6 -0
- package/.output/public/_nuxt/BsS91CYL.js +1 -0
- package/.output/public/_nuxt/BsTHnhdd.js +7 -0
- package/.output/public/_nuxt/BthQWCQV.js +1 -0
- package/.output/public/_nuxt/Btyk0a-E.js +1 -0
- package/.output/public/_nuxt/Buea-lGh.js +1 -0
- package/.output/public/_nuxt/Bv2DfwTI.js +1 -0
- package/.output/public/_nuxt/BvCpsbMi.js +1 -0
- package/.output/public/_nuxt/Bw305WKR.js +1 -0
- package/.output/public/_nuxt/Bx8CTVFK.js +1 -0
- package/.output/public/_nuxt/BzJJZx-M.js +1 -0
- package/.output/public/_nuxt/BzgE5b26.js +1 -0
- package/.output/public/_nuxt/C-LNjlSw.js +1 -0
- package/.output/public/_nuxt/C-SQnVFl.js +1 -0
- package/.output/public/_nuxt/C0HS_06l.js +1 -0
- package/.output/public/_nuxt/C151Ov-r.js +1 -0
- package/.output/public/_nuxt/C1s3v70Z.js +1 -0
- package/.output/public/_nuxt/C2pHKz2C.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/C3khCPGq.js +1 -0
- package/.output/public/_nuxt/C3mMm8J8.js +1 -0
- package/.output/public/_nuxt/C4IJs8-o.js +1 -0
- package/.output/public/_nuxt/C5CPwoy2.js +1 -0
- package/.output/public/_nuxt/C5DMNY_Y.js +1 -0
- package/.output/public/_nuxt/C5WLch3f.js +6 -0
- package/.output/public/_nuxt/C8M2exoo.js +1 -0
- package/.output/public/_nuxt/C8_cZGvL.js +1 -0
- package/.output/public/_nuxt/C8lEn-DE.js +1 -0
- package/.output/public/_nuxt/C9-wYoAy.js +1 -0
- package/.output/public/_nuxt/C96HV_dC.js +1 -0
- package/.output/public/_nuxt/C9lfyjdU.js +1 -0
- package/.output/public/_nuxt/C9sg6759.js +1 -0
- package/.output/public/_nuxt/C9tS-k6U.js +1 -0
- package/.output/public/_nuxt/CBs8Keu3.js +1 -0
- package/.output/public/_nuxt/CCLpvtro.js +1 -0
- package/.output/public/_nuxt/CCSDG5nI.js +6 -0
- package/.output/public/_nuxt/CChMg1-B.js +1 -0
- package/.output/public/_nuxt/CCouqEzj.js +1 -0
- package/.output/public/_nuxt/CDCQC_zV.js +1 -0
- package/.output/public/_nuxt/CDGzqUPQ.js +6 -0
- package/.output/public/_nuxt/CDVJQ6XC.js +1 -0
- package/.output/public/_nuxt/CDntyWJ8.js +6 -0
- package/.output/public/_nuxt/CEizyJ1q.js +1 -0
- package/.output/public/_nuxt/CEu0bR-o.js +1 -0
- package/.output/public/_nuxt/CF10PKvl.js +1 -0
- package/.output/public/_nuxt/CFJys5tQ.js +1 -0
- package/.output/public/_nuxt/CFKIUWau.js +6 -0
- package/.output/public/_nuxt/CFOPXBzS.js +6 -0
- package/.output/public/_nuxt/CFetOo1p.js +1 -0
- package/.output/public/_nuxt/CFfumueS.js +1 -0
- package/.output/public/_nuxt/CG6Dc4jp.js +1 -0
- package/.output/public/_nuxt/CHM0blh-.js +1 -0
- package/.output/public/_nuxt/CHadp7IV.js +1 -0
- package/.output/public/_nuxt/CJ1eVxFS.js +1 -0
- package/.output/public/_nuxt/CK-KhNJq.js +1 -0
- package/.output/public/_nuxt/CKfMBS6n.js +1 -0
- package/.output/public/_nuxt/CLLBncYj.js +6 -0
- package/.output/public/_nuxt/CNgRkp1_.js +1 -0
- package/.output/public/_nuxt/COqw26dr.js +1 -0
- package/.output/public/_nuxt/COyEY5Pt.js +7 -0
- package/.output/public/_nuxt/CPajHgWi.js +6 -0
- package/.output/public/_nuxt/CS3Unz2-.js +1 -0
- package/.output/public/_nuxt/CSgDAwbP.js +1 -0
- package/.output/public/_nuxt/CTRr51gU.js +1 -0
- package/.output/public/_nuxt/CVO1_9PV.js +1 -0
- package/.output/public/_nuxt/CVTao1yP.js +1 -0
- package/.output/public/_nuxt/CVwtpugi.js +6 -0
- package/.output/public/_nuxt/CW2Vrioc.js +1 -0
- package/.output/public/_nuxt/CX-rkNHf.js +6 -0
- package/.output/public/_nuxt/CXOwvkN_.js +6 -0
- package/.output/public/_nuxt/CXTBPihj.js +1 -0
- package/.output/public/_nuxt/CXtECtnM.js +1 -0
- package/.output/public/_nuxt/CYBft37h.js +1 -0
- package/.output/public/_nuxt/CYoF9-Z5.js +1 -0
- package/.output/public/_nuxt/CYx6PXAq.js +1 -0
- package/.output/public/_nuxt/CafNBF8u.js +1 -0
- package/.output/public/_nuxt/CbfX1IO0.js +1 -0
- package/.output/public/_nuxt/Cc-FHe7z.js +1 -0
- package/.output/public/_nuxt/CdQndTaG.js +6 -0
- package/.output/public/_nuxt/Ce3n6wWz.js +6 -0
- package/.output/public/_nuxt/CeDfCXaY.js +1 -0
- package/.output/public/_nuxt/CfQXZHmo.js +1 -0
- package/.output/public/_nuxt/Cg7bfA9N.js +6 -0
- package/.output/public/_nuxt/Chm2_3hY.js +1 -0
- package/.output/public/_nuxt/Cj5Yp3dK.js +1 -0
- package/.output/public/_nuxt/CkXjmgJE.js +1 -0
- package/.output/public/_nuxt/ClSdsI-R.js +1 -0
- package/.output/public/_nuxt/Cm8RCLWU.js +1 -0
- package/.output/public/_nuxt/Cn55uXmY.js +1 -0
- package/.output/public/_nuxt/CnK8MTSM.js +1 -0
- package/.output/public/_nuxt/Coaw_UDX.js +6 -0
- package/.output/public/_nuxt/Coy0nst6.js +1 -0
- package/.output/public/_nuxt/Cp-IABpG.js +1 -0
- package/.output/public/_nuxt/Cp1zYvxS.js +6 -0
- package/.output/public/_nuxt/CpIb_Oan.js +6 -0
- package/.output/public/_nuxt/Cpb6xl2v.js +6 -0
- package/.output/public/_nuxt/Cphgjts3.js +6 -0
- package/.output/public/_nuxt/Cpx7UCi2.js +1 -0
- package/.output/public/_nuxt/Cqtoupvr.js +1 -0
- package/.output/public/_nuxt/CquLrc37.js +1 -0
- package/.output/public/_nuxt/CrUG655c.js +1 -0
- package/.output/public/_nuxt/CrsuDi_R.js +6 -0
- package/.output/public/_nuxt/CrtRcjh8.js +1 -0
- package/.output/public/_nuxt/Csfq5Kiy.js +1 -0
- package/.output/public/_nuxt/CtIj0LFu.js +1 -0
- package/.output/public/_nuxt/CtpALBBA.js +1 -0
- package/.output/public/_nuxt/CtrldY6v.js +1 -0
- package/.output/public/_nuxt/Cuk6v7N8.js +1 -0
- package/.output/public/_nuxt/Cv9koXgw.js +1 -0
- package/.output/public/_nuxt/CwNk8-XU.js +6 -0
- package/.output/public/_nuxt/CwwkfVSR.js +1 -0
- package/.output/public/_nuxt/CxGSJlkm.js +1 -0
- package/.output/public/_nuxt/CyktbL80.js +1 -0
- package/.output/public/_nuxt/CzKuDChf.js +6 -0
- package/.output/public/_nuxt/D-2ljcwZ.js +1 -0
- package/.output/public/_nuxt/D-6xwGAn.js +6 -0
- package/.output/public/_nuxt/D-MeaMDU.js +6 -0
- package/.output/public/_nuxt/D08WgyRC.js +1 -0
- package/.output/public/_nuxt/D0YGMca9.js +1 -0
- package/.output/public/_nuxt/D0r3Knsf.js +1 -0
- package/.output/public/_nuxt/D1HCxHaw.js +1 -0
- package/.output/public/_nuxt/D3h14YRZ.js +8 -0
- package/.output/public/_nuxt/D4h5O-jR.js +1 -0
- package/.output/public/_nuxt/D5-asLiD.js +1 -0
- package/.output/public/_nuxt/D5C2fndG.js +6 -0
- package/.output/public/_nuxt/D5KoaKCx.js +1 -0
- package/.output/public/_nuxt/D7oLnXFd.js +1 -0
- package/.output/public/_nuxt/D82EKSYY.js +1 -0
- package/.output/public/_nuxt/D97Zzqfu.js +1 -0
- package/.output/public/_nuxt/DAi9KRSo.js +1 -0
- package/.output/public/_nuxt/DC3yV9u3.js +1 -0
- package/.output/public/_nuxt/DCIw00iZ.js +1 -0
- package/.output/public/_nuxt/DDwshQtU.js +6 -0
- package/.output/public/_nuxt/DFFYXpeI.js +1 -0
- package/.output/public/_nuxt/DFR6f4Jn.js +1 -0
- package/.output/public/_nuxt/DFXneXwc.js +1 -0
- package/.output/public/_nuxt/DH0TeGmy.js +1 -0
- package/.output/public/_nuxt/DH5Ifo-i.js +1 -0
- package/.output/public/_nuxt/DHJKELXO.js +1 -0
- package/.output/public/_nuxt/DHaeiCBh.js +6 -0
- package/.output/public/_nuxt/DHd_1LBM.js +1 -0
- package/.output/public/_nuxt/DJs7a6wl.js +1 -0
- package/.output/public/_nuxt/DLb4zeju.js +1 -0
- package/.output/public/_nuxt/DLpp9LvF.js +1 -0
- package/.output/public/_nuxt/DOiXYxxS.js +1 -0
- package/.output/public/_nuxt/DOyVva0m.js +8 -0
- package/.output/public/_nuxt/DPjEyH5T.js +1 -0
- package/.output/public/_nuxt/DREyJzTe.js +1 -0
- package/.output/public/_nuxt/DRg8JJMk.js +1 -0
- package/.output/public/_nuxt/DSZPf7rp.js +6 -0
- package/.output/public/_nuxt/DTECt2xU.js +6 -0
- package/.output/public/_nuxt/DU1UobuO.js +1 -0
- package/.output/public/_nuxt/DUszq2jm.js +1 -0
- package/.output/public/_nuxt/DUyX-Nai.js +1 -0
- package/.output/public/_nuxt/DVMEJ2y_.js +1 -0
- package/.output/public/_nuxt/DVZd9B17.js +1 -0
- package/.output/public/_nuxt/DVxCFoDh.js +1 -0
- package/.output/public/_nuxt/DW9tJLXY.js +1 -0
- package/.output/public/_nuxt/DWedfzmr.js +1 -0
- package/.output/public/_nuxt/DXbdFlpD.js +1 -0
- package/.output/public/_nuxt/DXyYeYxl.js +6 -0
- package/.output/public/_nuxt/DYQUnd45.js +303 -0
- package/.output/public/_nuxt/D_3VmgUT.js +1 -0
- package/.output/public/_nuxt/D_T-aAMc.js +1 -0
- package/.output/public/_nuxt/Da4t7zrk.js +1 -0
- package/.output/public/_nuxt/Da5cRb03.js +1 -0
- package/.output/public/_nuxt/DbnbuKy4.js +1 -0
- package/.output/public/_nuxt/DcaNXYhu.js +1 -0
- package/.output/public/_nuxt/Dcsh5twl.js +1 -0
- package/.output/public/_nuxt/Dd19v3D-.js +1 -0
- package/.output/public/_nuxt/Dd3NCNK9.js +6 -0
- package/.output/public/_nuxt/Ddv68eIx.js +1 -0
- package/.output/public/_nuxt/Des-eS-w.js +1 -0
- package/.output/public/_nuxt/Df68jz8_.js +1 -0
- package/.output/public/_nuxt/Df6bDoY_.js +1 -0
- package/.output/public/_nuxt/DfYh35At.js +1 -0
- package/.output/public/_nuxt/DfbSQCnh.js +1 -0
- package/.output/public/_nuxt/DfzH4Xui.js +6 -0
- package/.output/public/_nuxt/DgWikGMS.js +1 -0
- package/.output/public/_nuxt/DgyLZaXg.js +6 -0
- package/.output/public/_nuxt/Dkp-fog0.js +9 -0
- package/.output/public/_nuxt/DkwncUOv.js +1 -0
- package/.output/public/_nuxt/DmN1BIHU.js +1 -0
- package/.output/public/_nuxt/DnHyzjbg.js +6 -0
- package/.output/public/_nuxt/DnULxvSX.js +1 -0
- package/.output/public/_nuxt/Dp7F1VOI.js +9 -0
- package/.output/public/_nuxt/DpWJAGvS.js +1 -0
- package/.output/public/_nuxt/Dql7v_Bn.js +1 -0
- package/.output/public/_nuxt/DqnT6WTg.js +1 -0
- package/.output/public/_nuxt/DqwNpetd.js +1 -0
- package/.output/public/_nuxt/DrQuvNYM.js +6 -0
- package/.output/public/_nuxt/Drc7WvVn.js +6 -0
- package/.output/public/_nuxt/DtXx6hVj.js +1 -0
- package/.output/public/_nuxt/DwJ7jVG9.js +8 -0
- package/.output/public/_nuxt/Dx-B1_4e.js +1 -0
- package/.output/public/_nuxt/DyJlTyXw.js +1 -0
- package/.output/public/_nuxt/DyP6w7ZV.js +6 -0
- package/.output/public/_nuxt/Dykf6cri.js +1 -0
- package/.output/public/_nuxt/E3gJ1_iC.js +1 -0
- package/.output/public/_nuxt/E_RAAYUa.js +1 -0
- package/.output/public/_nuxt/G3-HApOe.js +1 -0
- package/.output/public/_nuxt/GXefNOxV.js +1 -0
- package/.output/public/_nuxt/Hhtzho9R.js +1 -0
- package/.output/public/_nuxt/L9t79GZl.js +1 -0
- package/.output/public/_nuxt/LUZpk28X.js +1 -0
- package/.output/public/_nuxt/LoOpS6-W.js +1122 -0
- package/.output/public/_nuxt/M64VA-8k.js +1 -0
- package/.output/public/_nuxt/NleAzG8P.js +1 -0
- package/.output/public/_nuxt/Ou6kGHs0.js +6 -0
- package/.output/public/_nuxt/P80f7IUj.js +1 -0
- package/.output/public/_nuxt/P9Jyl3kd.js +1 -0
- package/.output/public/_nuxt/PDBGRe-6.js +1 -0
- package/.output/public/_nuxt/Pmp26Uib.js +1 -0
- package/.output/public/_nuxt/PoHY5YXO.js +1 -0
- package/.output/public/_nuxt/QIJgUcNo.js +1 -0
- package/.output/public/_nuxt/QX45V2Sx.js +1 -0
- package/.output/public/_nuxt/RUaqLVwG.js +1 -0
- package/.output/public/_nuxt/SN78sQLf.js +1 -0
- package/.output/public/_nuxt/SpSV0q3Y.js +1 -0
- package/.output/public/_nuxt/Tw7wswEv.js +6 -0
- package/.output/public/_nuxt/WZprGpd_.js +1 -0
- package/.output/public/_nuxt/Wlg0E1_o.js +1 -0
- package/.output/public/_nuxt/WwEXBnAl.js +1 -0
- package/.output/public/_nuxt/Y7AfTJ_q.js +1 -0
- package/.output/public/_nuxt/YKhVXekE.js +6 -0
- package/.output/public/_nuxt/YWi4-JPR.js +6 -0
- package/.output/public/_nuxt/Z9sDDOrt.js +1 -0
- package/.output/public/_nuxt/Zznr-cwX.js +6 -0
- package/.output/public/_nuxt/_ykCGR6B.js +1 -0
- package/.output/public/_nuxt/afimtvtX.js +1 -0
- package/.output/public/_nuxt/bN70gL4F.js +1 -0
- package/.output/public/_nuxt/bbDxRicf.js +1 -0
- package/.output/public/_nuxt/brDaU2vB.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/abff4838-ae5a-4d5c-a501-d3c47733668e.json +1 -0
- package/.output/public/_nuxt/cP9hzipi.js +1 -0
- package/.output/public/_nuxt/caUT6aIO.js +1 -0
- package/.output/public/_nuxt/codicon.DCmgc-ay.ttf +0 -0
- package/.output/public/_nuxt/dUCx_-0o.js +6 -0
- package/.output/public/_nuxt/deUWdS0T.js +6 -0
- package/.output/public/_nuxt/diaQH6uK.js +1 -0
- package/.output/public/_nuxt/dwOrl1Do.js +1 -0
- package/.output/public/_nuxt/edge-router-BFNVMcBx.js +4 -0
- package/.output/public/_nuxt/editor.worker-B6Jl4jUd.js +12 -0
- package/.output/public/_nuxt/enPR0-Fz.js +1 -0
- package/.output/public/_nuxt/entry.DXDO6kt2.css +5 -0
- package/.output/public/_nuxt/error-404.D7tj2jQK.css +1 -0
- package/.output/public/_nuxt/error-500.TOCKLquH.css +1 -0
- package/.output/public/_nuxt/fuZLfV_i.js +1 -0
- package/.output/public/_nuxt/fve9TYiY.js +1 -0
- package/.output/public/_nuxt/gI3nN7Ut.js +1 -0
- package/.output/public/_nuxt/graph-layout-CVosnvhn.js +1 -0
- package/.output/public/_nuxt/graph-resolver-DGViKqWe.js +8 -0
- package/.output/public/_nuxt/gsC4jtYg.js +1 -0
- package/.output/public/_nuxt/h0LN4FIn.js +1 -0
- package/.output/public/_nuxt/hIfYPPDs.js +1 -0
- package/.output/public/_nuxt/hegEt444.js +1 -0
- package/.output/public/_nuxt/i9-g7ZhI.js +6 -0
- package/.output/public/_nuxt/itr3s8OG.js +1 -0
- package/.output/public/_nuxt/kdhEWpvT.js +1 -0
- package/.output/public/_nuxt/leinZj1a.js +1 -0
- package/.output/public/_nuxt/lrsjGwJC.js +1 -0
- package/.output/public/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2 +0 -0
- package/.output/public/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf +0 -0
- package/.output/public/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff +0 -0
- package/.output/public/_nuxt/materialdesignicons-webfont.TEmAk13K.eot +0 -0
- package/.output/public/_nuxt/mtNz0_Xw.js +1 -0
- package/.output/public/_nuxt/nf6ki56Z.js +6 -0
- package/.output/public/_nuxt/nsowKw4B.js +1 -0
- package/.output/public/_nuxt/obT3sI9W.js +15 -0
- package/.output/public/_nuxt/os-I7NdE.js +1 -0
- package/.output/public/_nuxt/pnP8ivHi.js +6 -0
- package/.output/public/_nuxt/q-j0iyEw.js +1 -0
- package/.output/public/_nuxt/rUNN04Wq.js +6 -0
- package/.output/public/_nuxt/ryoHgIpY.js +1 -0
- package/.output/public/_nuxt/tGk8EFnU.js +6 -0
- package/.output/public/_nuxt/vYowaR43.js +16 -0
- package/.output/public/_nuxt/wef_wrfO.js +1 -0
- package/.output/public/_nuxt/xqGqC3LV.js +6 -0
- package/.output/public/_nuxt/y_XAX2KJ.js +1 -0
- package/.output/public/_nuxt/yaml.worker-B8S0iqeR.js +411 -0
- package/.output/public/_nuxt/zH8SnKTm.js +1 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/libavoid.wasm +0 -0
- package/.output/public/robots.txt +1 -0
- package/.output/server/index.mjs +19022 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14246 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/fetchRequestHandler.mjs +74 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.mjs +1 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/node-http/incomingMessageToRequest.mjs +119 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/node-http/index.mjs +2 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/node-http/nodeHTTPRequestHandler.mjs +92 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/node-http/writeResponse.mjs +79 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/ws.mjs +521 -0
- package/.output/server/node_modules/@trpc/server/dist/index.mjs +12 -0
- package/.output/server/node_modules/@trpc/server/dist/observable/observable.mjs +175 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/createProxy.mjs +73 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/TRPCError.mjs +79 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/formatter.mjs +5 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/getErrorShape.mjs +29 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/abortError.mjs +10 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/contentType.mjs +229 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/getHTTPStatusCode.mjs +76 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/parseConnectionParams.mjs +39 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/resolveResponse.mjs +570 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/initTRPC.mjs +80 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/middleware.mjs +90 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/parser.mjs +52 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedure.mjs +7 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs +198 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rootConfig.mjs +6 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs +278 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rpc/codes.mjs +54 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rpc/parseTRPCMessage.mjs +61 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/jsonl.mjs +603 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/sse.mjs +369 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/tracked.mjs +25 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/asyncIterable.mjs +165 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/createDeferred.mjs +15 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/disposable.mjs +43 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/mergeAsyncIterables.mjs +239 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/readableStreamFrom.mjs +23 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/timerResource.mjs +23 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/withPing.mjs +127 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/transformer.mjs +101 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/utils.mjs +83 -0
- package/.output/server/node_modules/@trpc/server/dist/vendor/standard-schema-v1/error.mjs +26 -0
- package/.output/server/node_modules/@trpc/server/dist/vendor/unpromise/unpromise.mjs +289 -0
- package/.output/server/node_modules/@trpc/server/package.json +156 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6690 -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 +686 -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 +1404 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1789 -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 +6654 -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 +1669 -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 +857 -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 +594 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/devalue/index.js +3 -0
- package/.output/server/node_modules/devalue/package.json +34 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +6 -0
- package/.output/server/node_modules/devalue/src/parse.js +160 -0
- package/.output/server/node_modules/devalue/src/stringify.js +232 -0
- package/.output/server/node_modules/devalue/src/uneval.js +351 -0
- package/.output/server/node_modules/devalue/src/utils.js +113 -0
- package/.output/server/node_modules/entities/lib/decode.js +536 -0
- package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/.output/server/node_modules/entities/package.json +90 -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/hookable/dist/index.mjs +290 -0
- package/.output/server/node_modules/hookable/package.json +49 -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/ufo/dist/index.mjs +630 -0
- package/.output/server/node_modules/ufo/package.json +47 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +94 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +220 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C13swrCa.mjs +48 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Cp0iF6eN.mjs +177 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DeCxexjU.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Txd0XTIP.mjs +172 -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 +101 -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 +196 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
- package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
- package/.output/server/node_modules/ws/lib/constants.js +18 -0
- package/.output/server/node_modules/ws/lib/event-target.js +292 -0
- package/.output/server/node_modules/ws/lib/extension.js +203 -0
- package/.output/server/node_modules/ws/lib/limiter.js +55 -0
- package/.output/server/node_modules/ws/lib/permessage-deflate.js +514 -0
- package/.output/server/node_modules/ws/lib/receiver.js +706 -0
- package/.output/server/node_modules/ws/lib/sender.js +602 -0
- package/.output/server/node_modules/ws/lib/stream.js +161 -0
- package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
- package/.output/server/node_modules/ws/lib/validation.js +152 -0
- package/.output/server/node_modules/ws/lib/websocket-server.js +540 -0
- package/.output/server/node_modules/ws/lib/websocket.js +1388 -0
- package/.output/server/node_modules/ws/package.json +69 -0
- package/.output/server/node_modules/ws/wrapper.mjs +8 -0
- package/.output/server/node_modules/zod/lib/index.mjs +4405 -0
- package/.output/server/node_modules/zod/package.json +122 -0
- package/.output/server/package.json +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,857 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/server-renderer v3.5.13
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
var Vue = require('vue');
|
|
11
|
+
var shared = require('@vue/shared');
|
|
12
|
+
var compilerSsr = require('@vue/compiler-ssr');
|
|
13
|
+
|
|
14
|
+
function _interopNamespaceDefault(e) {
|
|
15
|
+
var n = Object.create(null);
|
|
16
|
+
if (e) {
|
|
17
|
+
for (var k in e) {
|
|
18
|
+
n[k] = e[k];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var Vue__namespace = /*#__PURE__*/_interopNamespaceDefault(Vue);
|
|
26
|
+
|
|
27
|
+
const shouldIgnoreProp = /* @__PURE__ */ shared.makeMap(
|
|
28
|
+
`,key,ref,innerHTML,textContent,ref_key,ref_for`
|
|
29
|
+
);
|
|
30
|
+
function ssrRenderAttrs(props, tag) {
|
|
31
|
+
let ret = "";
|
|
32
|
+
for (const key in props) {
|
|
33
|
+
if (shouldIgnoreProp(key) || shared.isOn(key) || tag === "textarea" && key === "value") {
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
const value = props[key];
|
|
37
|
+
if (key === "class") {
|
|
38
|
+
ret += ` class="${ssrRenderClass(value)}"`;
|
|
39
|
+
} else if (key === "style") {
|
|
40
|
+
ret += ` style="${ssrRenderStyle(value)}"`;
|
|
41
|
+
} else if (key === "className") {
|
|
42
|
+
ret += ` class="${String(value)}"`;
|
|
43
|
+
} else {
|
|
44
|
+
ret += ssrRenderDynamicAttr(key, value, tag);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return ret;
|
|
48
|
+
}
|
|
49
|
+
function ssrRenderDynamicAttr(key, value, tag) {
|
|
50
|
+
if (!shared.isRenderableAttrValue(value)) {
|
|
51
|
+
return ``;
|
|
52
|
+
}
|
|
53
|
+
const attrKey = tag && (tag.indexOf("-") > 0 || shared.isSVGTag(tag)) ? key : shared.propsToAttrMap[key] || key.toLowerCase();
|
|
54
|
+
if (shared.isBooleanAttr(attrKey)) {
|
|
55
|
+
return shared.includeBooleanAttr(value) ? ` ${attrKey}` : ``;
|
|
56
|
+
} else if (shared.isSSRSafeAttrName(attrKey)) {
|
|
57
|
+
return value === "" ? ` ${attrKey}` : ` ${attrKey}="${shared.escapeHtml(value)}"`;
|
|
58
|
+
} else {
|
|
59
|
+
console.warn(
|
|
60
|
+
`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${attrKey}`
|
|
61
|
+
);
|
|
62
|
+
return ``;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function ssrRenderAttr(key, value) {
|
|
66
|
+
if (!shared.isRenderableAttrValue(value)) {
|
|
67
|
+
return ``;
|
|
68
|
+
}
|
|
69
|
+
return ` ${key}="${shared.escapeHtml(value)}"`;
|
|
70
|
+
}
|
|
71
|
+
function ssrRenderClass(raw) {
|
|
72
|
+
return shared.escapeHtml(shared.normalizeClass(raw));
|
|
73
|
+
}
|
|
74
|
+
function ssrRenderStyle(raw) {
|
|
75
|
+
if (!raw) {
|
|
76
|
+
return "";
|
|
77
|
+
}
|
|
78
|
+
if (shared.isString(raw)) {
|
|
79
|
+
return shared.escapeHtml(raw);
|
|
80
|
+
}
|
|
81
|
+
const styles = shared.normalizeStyle(raw);
|
|
82
|
+
return shared.escapeHtml(shared.stringifyStyle(styles));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function ssrRenderComponent(comp, props = null, children = null, parentComponent = null, slotScopeId) {
|
|
86
|
+
return renderComponentVNode(
|
|
87
|
+
Vue.createVNode(comp, props, children),
|
|
88
|
+
parentComponent,
|
|
89
|
+
slotScopeId
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const { ensureValidVNode } = Vue.ssrUtils;
|
|
94
|
+
function ssrRenderSlot(slots, slotName, slotProps, fallbackRenderFn, push, parentComponent, slotScopeId) {
|
|
95
|
+
push(`<!--[-->`);
|
|
96
|
+
ssrRenderSlotInner(
|
|
97
|
+
slots,
|
|
98
|
+
slotName,
|
|
99
|
+
slotProps,
|
|
100
|
+
fallbackRenderFn,
|
|
101
|
+
push,
|
|
102
|
+
parentComponent,
|
|
103
|
+
slotScopeId
|
|
104
|
+
);
|
|
105
|
+
push(`<!--]-->`);
|
|
106
|
+
}
|
|
107
|
+
function ssrRenderSlotInner(slots, slotName, slotProps, fallbackRenderFn, push, parentComponent, slotScopeId, transition) {
|
|
108
|
+
const slotFn = slots[slotName];
|
|
109
|
+
if (slotFn) {
|
|
110
|
+
const slotBuffer = [];
|
|
111
|
+
const bufferedPush = (item) => {
|
|
112
|
+
slotBuffer.push(item);
|
|
113
|
+
};
|
|
114
|
+
const ret = slotFn(
|
|
115
|
+
slotProps,
|
|
116
|
+
bufferedPush,
|
|
117
|
+
parentComponent,
|
|
118
|
+
slotScopeId ? " " + slotScopeId : ""
|
|
119
|
+
);
|
|
120
|
+
if (shared.isArray(ret)) {
|
|
121
|
+
const validSlotContent = ensureValidVNode(ret);
|
|
122
|
+
if (validSlotContent) {
|
|
123
|
+
renderVNodeChildren(
|
|
124
|
+
push,
|
|
125
|
+
validSlotContent,
|
|
126
|
+
parentComponent,
|
|
127
|
+
slotScopeId
|
|
128
|
+
);
|
|
129
|
+
} else if (fallbackRenderFn) {
|
|
130
|
+
fallbackRenderFn();
|
|
131
|
+
}
|
|
132
|
+
} else {
|
|
133
|
+
let isEmptySlot = true;
|
|
134
|
+
if (transition) {
|
|
135
|
+
isEmptySlot = false;
|
|
136
|
+
} else {
|
|
137
|
+
for (let i = 0; i < slotBuffer.length; i++) {
|
|
138
|
+
if (!isComment(slotBuffer[i])) {
|
|
139
|
+
isEmptySlot = false;
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if (isEmptySlot) {
|
|
145
|
+
if (fallbackRenderFn) {
|
|
146
|
+
fallbackRenderFn();
|
|
147
|
+
}
|
|
148
|
+
} else {
|
|
149
|
+
let start = 0;
|
|
150
|
+
let end = slotBuffer.length;
|
|
151
|
+
if (transition && slotBuffer[0] === "<!--[-->" && slotBuffer[end - 1] === "<!--]-->") {
|
|
152
|
+
start++;
|
|
153
|
+
end--;
|
|
154
|
+
}
|
|
155
|
+
for (let i = start; i < end; i++) {
|
|
156
|
+
push(slotBuffer[i]);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
} else if (fallbackRenderFn) {
|
|
161
|
+
fallbackRenderFn();
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
const commentTestRE = /^<!--[\s\S]*-->$/;
|
|
165
|
+
const commentRE = /<!--[^]*?-->/gm;
|
|
166
|
+
function isComment(item) {
|
|
167
|
+
if (typeof item !== "string" || !commentTestRE.test(item)) return false;
|
|
168
|
+
if (item.length <= 8) return true;
|
|
169
|
+
return !item.replace(commentRE, "").trim();
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
function ssrRenderTeleport(parentPush, contentRenderFn, target, disabled, parentComponent) {
|
|
173
|
+
parentPush("<!--teleport start-->");
|
|
174
|
+
const context = parentComponent.appContext.provides[Vue.ssrContextKey];
|
|
175
|
+
const teleportBuffers = context.__teleportBuffers || (context.__teleportBuffers = {});
|
|
176
|
+
const targetBuffer = teleportBuffers[target] || (teleportBuffers[target] = []);
|
|
177
|
+
const bufferIndex = targetBuffer.length;
|
|
178
|
+
let teleportContent;
|
|
179
|
+
if (disabled) {
|
|
180
|
+
contentRenderFn(parentPush);
|
|
181
|
+
teleportContent = `<!--teleport start anchor--><!--teleport anchor-->`;
|
|
182
|
+
} else {
|
|
183
|
+
const { getBuffer, push } = createBuffer();
|
|
184
|
+
push(`<!--teleport start anchor-->`);
|
|
185
|
+
contentRenderFn(push);
|
|
186
|
+
push(`<!--teleport anchor-->`);
|
|
187
|
+
teleportContent = getBuffer();
|
|
188
|
+
}
|
|
189
|
+
targetBuffer.splice(bufferIndex, 0, teleportContent);
|
|
190
|
+
parentPush("<!--teleport end-->");
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
function ssrInterpolate(value) {
|
|
194
|
+
return shared.escapeHtml(shared.toDisplayString(value));
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function ssrRenderList(source, renderItem) {
|
|
198
|
+
if (shared.isArray(source) || shared.isString(source)) {
|
|
199
|
+
for (let i = 0, l = source.length; i < l; i++) {
|
|
200
|
+
renderItem(source[i], i);
|
|
201
|
+
}
|
|
202
|
+
} else if (typeof source === "number") {
|
|
203
|
+
for (let i = 0; i < source; i++) {
|
|
204
|
+
renderItem(i + 1, i);
|
|
205
|
+
}
|
|
206
|
+
} else if (shared.isObject(source)) {
|
|
207
|
+
if (source[Symbol.iterator]) {
|
|
208
|
+
const arr = Array.from(source);
|
|
209
|
+
for (let i = 0, l = arr.length; i < l; i++) {
|
|
210
|
+
renderItem(arr[i], i);
|
|
211
|
+
}
|
|
212
|
+
} else {
|
|
213
|
+
const keys = Object.keys(source);
|
|
214
|
+
for (let i = 0, l = keys.length; i < l; i++) {
|
|
215
|
+
const key = keys[i];
|
|
216
|
+
renderItem(source[key], key, i);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
async function ssrRenderSuspense(push, { default: renderContent }) {
|
|
223
|
+
if (renderContent) {
|
|
224
|
+
renderContent();
|
|
225
|
+
} else {
|
|
226
|
+
push(`<!---->`);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function ssrGetDirectiveProps(instance, dir, value, arg, modifiers = {}) {
|
|
231
|
+
if (typeof dir !== "function" && dir.getSSRProps) {
|
|
232
|
+
return dir.getSSRProps(
|
|
233
|
+
{
|
|
234
|
+
dir,
|
|
235
|
+
instance: Vue.ssrUtils.getComponentPublicInstance(instance.$),
|
|
236
|
+
value,
|
|
237
|
+
oldValue: void 0,
|
|
238
|
+
arg,
|
|
239
|
+
modifiers
|
|
240
|
+
},
|
|
241
|
+
null
|
|
242
|
+
) || {};
|
|
243
|
+
}
|
|
244
|
+
return {};
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
const ssrLooseEqual = shared.looseEqual;
|
|
248
|
+
function ssrLooseContain(arr, value) {
|
|
249
|
+
return shared.looseIndexOf(arr, value) > -1;
|
|
250
|
+
}
|
|
251
|
+
function ssrRenderDynamicModel(type, model, value) {
|
|
252
|
+
switch (type) {
|
|
253
|
+
case "radio":
|
|
254
|
+
return shared.looseEqual(model, value) ? " checked" : "";
|
|
255
|
+
case "checkbox":
|
|
256
|
+
return (shared.isArray(model) ? ssrLooseContain(model, value) : model) ? " checked" : "";
|
|
257
|
+
default:
|
|
258
|
+
return ssrRenderAttr("value", model);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
function ssrGetDynamicModelProps(existingProps = {}, model) {
|
|
262
|
+
const { type, value } = existingProps;
|
|
263
|
+
switch (type) {
|
|
264
|
+
case "radio":
|
|
265
|
+
return shared.looseEqual(model, value) ? { checked: true } : null;
|
|
266
|
+
case "checkbox":
|
|
267
|
+
return (shared.isArray(model) ? ssrLooseContain(model, value) : model) ? { checked: true } : null;
|
|
268
|
+
default:
|
|
269
|
+
return { value: model };
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
var helpers = /*#__PURE__*/Object.freeze({
|
|
274
|
+
__proto__: null,
|
|
275
|
+
ssrGetDirectiveProps: ssrGetDirectiveProps,
|
|
276
|
+
ssrGetDynamicModelProps: ssrGetDynamicModelProps,
|
|
277
|
+
ssrIncludeBooleanAttr: shared.includeBooleanAttr,
|
|
278
|
+
ssrInterpolate: ssrInterpolate,
|
|
279
|
+
ssrLooseContain: ssrLooseContain,
|
|
280
|
+
ssrLooseEqual: ssrLooseEqual,
|
|
281
|
+
ssrRenderAttr: ssrRenderAttr,
|
|
282
|
+
ssrRenderAttrs: ssrRenderAttrs,
|
|
283
|
+
ssrRenderClass: ssrRenderClass,
|
|
284
|
+
ssrRenderComponent: ssrRenderComponent,
|
|
285
|
+
ssrRenderDynamicAttr: ssrRenderDynamicAttr,
|
|
286
|
+
ssrRenderDynamicModel: ssrRenderDynamicModel,
|
|
287
|
+
ssrRenderList: ssrRenderList,
|
|
288
|
+
ssrRenderSlot: ssrRenderSlot,
|
|
289
|
+
ssrRenderSlotInner: ssrRenderSlotInner,
|
|
290
|
+
ssrRenderStyle: ssrRenderStyle,
|
|
291
|
+
ssrRenderSuspense: ssrRenderSuspense,
|
|
292
|
+
ssrRenderTeleport: ssrRenderTeleport,
|
|
293
|
+
ssrRenderVNode: renderVNode
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
const compileCache = /* @__PURE__ */ Object.create(null);
|
|
297
|
+
function ssrCompile(template, instance) {
|
|
298
|
+
const Component = instance.type;
|
|
299
|
+
const { isCustomElement, compilerOptions } = instance.appContext.config;
|
|
300
|
+
const { delimiters, compilerOptions: componentCompilerOptions } = Component;
|
|
301
|
+
const finalCompilerOptions = shared.extend(
|
|
302
|
+
shared.extend(
|
|
303
|
+
{
|
|
304
|
+
isCustomElement,
|
|
305
|
+
delimiters
|
|
306
|
+
},
|
|
307
|
+
compilerOptions
|
|
308
|
+
),
|
|
309
|
+
componentCompilerOptions
|
|
310
|
+
);
|
|
311
|
+
finalCompilerOptions.isCustomElement = finalCompilerOptions.isCustomElement || shared.NO;
|
|
312
|
+
finalCompilerOptions.isNativeTag = finalCompilerOptions.isNativeTag || shared.NO;
|
|
313
|
+
const cacheKey = JSON.stringify(
|
|
314
|
+
{
|
|
315
|
+
template,
|
|
316
|
+
compilerOptions: finalCompilerOptions
|
|
317
|
+
},
|
|
318
|
+
(key, value) => {
|
|
319
|
+
return shared.isFunction(value) ? value.toString() : value;
|
|
320
|
+
}
|
|
321
|
+
);
|
|
322
|
+
const cached = compileCache[cacheKey];
|
|
323
|
+
if (cached) {
|
|
324
|
+
return cached;
|
|
325
|
+
}
|
|
326
|
+
finalCompilerOptions.onError = (err) => {
|
|
327
|
+
{
|
|
328
|
+
throw err;
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
const { code } = compilerSsr.compile(template, finalCompilerOptions);
|
|
332
|
+
const requireMap = {
|
|
333
|
+
vue: Vue__namespace,
|
|
334
|
+
"vue/server-renderer": helpers
|
|
335
|
+
};
|
|
336
|
+
const fakeRequire = (id) => requireMap[id];
|
|
337
|
+
return compileCache[cacheKey] = Function("require", code)(fakeRequire);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
const {
|
|
341
|
+
createComponentInstance,
|
|
342
|
+
setCurrentRenderingInstance,
|
|
343
|
+
setupComponent,
|
|
344
|
+
renderComponentRoot,
|
|
345
|
+
normalizeVNode,
|
|
346
|
+
pushWarningContext,
|
|
347
|
+
popWarningContext
|
|
348
|
+
} = Vue.ssrUtils;
|
|
349
|
+
function createBuffer() {
|
|
350
|
+
let appendable = false;
|
|
351
|
+
const buffer = [];
|
|
352
|
+
return {
|
|
353
|
+
getBuffer() {
|
|
354
|
+
return buffer;
|
|
355
|
+
},
|
|
356
|
+
push(item) {
|
|
357
|
+
const isStringItem = shared.isString(item);
|
|
358
|
+
if (appendable && isStringItem) {
|
|
359
|
+
buffer[buffer.length - 1] += item;
|
|
360
|
+
return;
|
|
361
|
+
}
|
|
362
|
+
buffer.push(item);
|
|
363
|
+
appendable = isStringItem;
|
|
364
|
+
if (shared.isPromise(item) || shared.isArray(item) && item.hasAsync) {
|
|
365
|
+
buffer.hasAsync = true;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
function renderComponentVNode(vnode, parentComponent = null, slotScopeId) {
|
|
371
|
+
const instance = vnode.component = createComponentInstance(
|
|
372
|
+
vnode,
|
|
373
|
+
parentComponent,
|
|
374
|
+
null
|
|
375
|
+
);
|
|
376
|
+
const res = setupComponent(
|
|
377
|
+
instance,
|
|
378
|
+
true
|
|
379
|
+
/* isSSR */
|
|
380
|
+
);
|
|
381
|
+
const hasAsyncSetup = shared.isPromise(res);
|
|
382
|
+
let prefetches = instance.sp;
|
|
383
|
+
if (hasAsyncSetup || prefetches) {
|
|
384
|
+
const p = Promise.resolve(res).then(() => {
|
|
385
|
+
if (hasAsyncSetup) prefetches = instance.sp;
|
|
386
|
+
if (prefetches) {
|
|
387
|
+
return Promise.all(
|
|
388
|
+
prefetches.map((prefetch) => prefetch.call(instance.proxy))
|
|
389
|
+
);
|
|
390
|
+
}
|
|
391
|
+
}).catch(shared.NOOP);
|
|
392
|
+
return p.then(() => renderComponentSubTree(instance, slotScopeId));
|
|
393
|
+
} else {
|
|
394
|
+
return renderComponentSubTree(instance, slotScopeId);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
function renderComponentSubTree(instance, slotScopeId) {
|
|
398
|
+
const comp = instance.type;
|
|
399
|
+
const { getBuffer, push } = createBuffer();
|
|
400
|
+
if (shared.isFunction(comp)) {
|
|
401
|
+
let root = renderComponentRoot(instance);
|
|
402
|
+
if (!comp.props) {
|
|
403
|
+
for (const key in instance.attrs) {
|
|
404
|
+
if (key.startsWith(`data-v-`)) {
|
|
405
|
+
(root.props || (root.props = {}))[key] = ``;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
renderVNode(push, instance.subTree = root, instance, slotScopeId);
|
|
410
|
+
} else {
|
|
411
|
+
if ((!instance.render || instance.render === shared.NOOP) && !instance.ssrRender && !comp.ssrRender && shared.isString(comp.template)) {
|
|
412
|
+
comp.ssrRender = ssrCompile(comp.template, instance);
|
|
413
|
+
}
|
|
414
|
+
const ssrRender = instance.ssrRender || comp.ssrRender;
|
|
415
|
+
if (ssrRender) {
|
|
416
|
+
let attrs = instance.inheritAttrs !== false ? instance.attrs : void 0;
|
|
417
|
+
let hasCloned = false;
|
|
418
|
+
let cur = instance;
|
|
419
|
+
while (true) {
|
|
420
|
+
const scopeId = cur.vnode.scopeId;
|
|
421
|
+
if (scopeId) {
|
|
422
|
+
if (!hasCloned) {
|
|
423
|
+
attrs = { ...attrs };
|
|
424
|
+
hasCloned = true;
|
|
425
|
+
}
|
|
426
|
+
attrs[scopeId] = "";
|
|
427
|
+
}
|
|
428
|
+
const parent = cur.parent;
|
|
429
|
+
if (parent && parent.subTree && parent.subTree === cur.vnode) {
|
|
430
|
+
cur = parent;
|
|
431
|
+
} else {
|
|
432
|
+
break;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
if (slotScopeId) {
|
|
436
|
+
if (!hasCloned) attrs = { ...attrs };
|
|
437
|
+
const slotScopeIdList = slotScopeId.trim().split(" ");
|
|
438
|
+
for (let i = 0; i < slotScopeIdList.length; i++) {
|
|
439
|
+
attrs[slotScopeIdList[i]] = "";
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
const prev = setCurrentRenderingInstance(instance);
|
|
443
|
+
try {
|
|
444
|
+
ssrRender(
|
|
445
|
+
instance.proxy,
|
|
446
|
+
push,
|
|
447
|
+
instance,
|
|
448
|
+
attrs,
|
|
449
|
+
// compiler-optimized bindings
|
|
450
|
+
instance.props,
|
|
451
|
+
instance.setupState,
|
|
452
|
+
instance.data,
|
|
453
|
+
instance.ctx
|
|
454
|
+
);
|
|
455
|
+
} finally {
|
|
456
|
+
setCurrentRenderingInstance(prev);
|
|
457
|
+
}
|
|
458
|
+
} else if (instance.render && instance.render !== shared.NOOP) {
|
|
459
|
+
renderVNode(
|
|
460
|
+
push,
|
|
461
|
+
instance.subTree = renderComponentRoot(instance),
|
|
462
|
+
instance,
|
|
463
|
+
slotScopeId
|
|
464
|
+
);
|
|
465
|
+
} else {
|
|
466
|
+
const componentName = comp.name || comp.__file || `<Anonymous>`;
|
|
467
|
+
Vue.warn(`Component ${componentName} is missing template or render function.`);
|
|
468
|
+
push(`<!---->`);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
return getBuffer();
|
|
472
|
+
}
|
|
473
|
+
function renderVNode(push, vnode, parentComponent, slotScopeId) {
|
|
474
|
+
const { type, shapeFlag, children, dirs, props } = vnode;
|
|
475
|
+
if (dirs) {
|
|
476
|
+
vnode.props = applySSRDirectives(vnode, props, dirs);
|
|
477
|
+
}
|
|
478
|
+
switch (type) {
|
|
479
|
+
case Vue.Text:
|
|
480
|
+
push(shared.escapeHtml(children));
|
|
481
|
+
break;
|
|
482
|
+
case Vue.Comment:
|
|
483
|
+
push(
|
|
484
|
+
children ? `<!--${shared.escapeHtmlComment(children)}-->` : `<!---->`
|
|
485
|
+
);
|
|
486
|
+
break;
|
|
487
|
+
case Vue.Static:
|
|
488
|
+
push(children);
|
|
489
|
+
break;
|
|
490
|
+
case Vue.Fragment:
|
|
491
|
+
if (vnode.slotScopeIds) {
|
|
492
|
+
slotScopeId = (slotScopeId ? slotScopeId + " " : "") + vnode.slotScopeIds.join(" ");
|
|
493
|
+
}
|
|
494
|
+
push(`<!--[-->`);
|
|
495
|
+
renderVNodeChildren(
|
|
496
|
+
push,
|
|
497
|
+
children,
|
|
498
|
+
parentComponent,
|
|
499
|
+
slotScopeId
|
|
500
|
+
);
|
|
501
|
+
push(`<!--]-->`);
|
|
502
|
+
break;
|
|
503
|
+
default:
|
|
504
|
+
if (shapeFlag & 1) {
|
|
505
|
+
renderElementVNode(push, vnode, parentComponent, slotScopeId);
|
|
506
|
+
} else if (shapeFlag & 6) {
|
|
507
|
+
push(renderComponentVNode(vnode, parentComponent, slotScopeId));
|
|
508
|
+
} else if (shapeFlag & 64) {
|
|
509
|
+
renderTeleportVNode(push, vnode, parentComponent, slotScopeId);
|
|
510
|
+
} else if (shapeFlag & 128) {
|
|
511
|
+
renderVNode(push, vnode.ssContent, parentComponent, slotScopeId);
|
|
512
|
+
} else {
|
|
513
|
+
Vue.warn(
|
|
514
|
+
"[@vue/server-renderer] Invalid VNode type:",
|
|
515
|
+
type,
|
|
516
|
+
`(${typeof type})`
|
|
517
|
+
);
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
function renderVNodeChildren(push, children, parentComponent, slotScopeId) {
|
|
522
|
+
for (let i = 0; i < children.length; i++) {
|
|
523
|
+
renderVNode(push, normalizeVNode(children[i]), parentComponent, slotScopeId);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
function renderElementVNode(push, vnode, parentComponent, slotScopeId) {
|
|
527
|
+
const tag = vnode.type;
|
|
528
|
+
let { props, children, shapeFlag, scopeId } = vnode;
|
|
529
|
+
let openTag = `<${tag}`;
|
|
530
|
+
if (props) {
|
|
531
|
+
openTag += ssrRenderAttrs(props, tag);
|
|
532
|
+
}
|
|
533
|
+
if (scopeId) {
|
|
534
|
+
openTag += ` ${scopeId}`;
|
|
535
|
+
}
|
|
536
|
+
let curParent = parentComponent;
|
|
537
|
+
let curVnode = vnode;
|
|
538
|
+
while (curParent && curVnode === curParent.subTree) {
|
|
539
|
+
curVnode = curParent.vnode;
|
|
540
|
+
if (curVnode.scopeId) {
|
|
541
|
+
openTag += ` ${curVnode.scopeId}`;
|
|
542
|
+
}
|
|
543
|
+
curParent = curParent.parent;
|
|
544
|
+
}
|
|
545
|
+
if (slotScopeId) {
|
|
546
|
+
openTag += ` ${slotScopeId}`;
|
|
547
|
+
}
|
|
548
|
+
push(openTag + `>`);
|
|
549
|
+
if (!shared.isVoidTag(tag)) {
|
|
550
|
+
let hasChildrenOverride = false;
|
|
551
|
+
if (props) {
|
|
552
|
+
if (props.innerHTML) {
|
|
553
|
+
hasChildrenOverride = true;
|
|
554
|
+
push(props.innerHTML);
|
|
555
|
+
} else if (props.textContent) {
|
|
556
|
+
hasChildrenOverride = true;
|
|
557
|
+
push(shared.escapeHtml(props.textContent));
|
|
558
|
+
} else if (tag === "textarea" && props.value) {
|
|
559
|
+
hasChildrenOverride = true;
|
|
560
|
+
push(shared.escapeHtml(props.value));
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
if (!hasChildrenOverride) {
|
|
564
|
+
if (shapeFlag & 8) {
|
|
565
|
+
push(shared.escapeHtml(children));
|
|
566
|
+
} else if (shapeFlag & 16) {
|
|
567
|
+
renderVNodeChildren(
|
|
568
|
+
push,
|
|
569
|
+
children,
|
|
570
|
+
parentComponent,
|
|
571
|
+
slotScopeId
|
|
572
|
+
);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
push(`</${tag}>`);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
function applySSRDirectives(vnode, rawProps, dirs) {
|
|
579
|
+
const toMerge = [];
|
|
580
|
+
for (let i = 0; i < dirs.length; i++) {
|
|
581
|
+
const binding = dirs[i];
|
|
582
|
+
const {
|
|
583
|
+
dir: { getSSRProps }
|
|
584
|
+
} = binding;
|
|
585
|
+
if (getSSRProps) {
|
|
586
|
+
const props = getSSRProps(binding, vnode);
|
|
587
|
+
if (props) toMerge.push(props);
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
return Vue.mergeProps(rawProps || {}, ...toMerge);
|
|
591
|
+
}
|
|
592
|
+
function renderTeleportVNode(push, vnode, parentComponent, slotScopeId) {
|
|
593
|
+
const target = vnode.props && vnode.props.to;
|
|
594
|
+
const disabled = vnode.props && vnode.props.disabled;
|
|
595
|
+
if (!target) {
|
|
596
|
+
if (!disabled) {
|
|
597
|
+
Vue.warn(`[@vue/server-renderer] Teleport is missing target prop.`);
|
|
598
|
+
}
|
|
599
|
+
return [];
|
|
600
|
+
}
|
|
601
|
+
if (!shared.isString(target)) {
|
|
602
|
+
Vue.warn(
|
|
603
|
+
`[@vue/server-renderer] Teleport target must be a query selector string.`
|
|
604
|
+
);
|
|
605
|
+
return [];
|
|
606
|
+
}
|
|
607
|
+
ssrRenderTeleport(
|
|
608
|
+
push,
|
|
609
|
+
(push2) => {
|
|
610
|
+
renderVNodeChildren(
|
|
611
|
+
push2,
|
|
612
|
+
vnode.children,
|
|
613
|
+
parentComponent,
|
|
614
|
+
slotScopeId
|
|
615
|
+
);
|
|
616
|
+
},
|
|
617
|
+
target,
|
|
618
|
+
disabled || disabled === "",
|
|
619
|
+
parentComponent
|
|
620
|
+
);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
const { isVNode: isVNode$1 } = Vue.ssrUtils;
|
|
624
|
+
function nestedUnrollBuffer(buffer, parentRet, startIndex) {
|
|
625
|
+
if (!buffer.hasAsync) {
|
|
626
|
+
return parentRet + unrollBufferSync$1(buffer);
|
|
627
|
+
}
|
|
628
|
+
let ret = parentRet;
|
|
629
|
+
for (let i = startIndex; i < buffer.length; i += 1) {
|
|
630
|
+
const item = buffer[i];
|
|
631
|
+
if (shared.isString(item)) {
|
|
632
|
+
ret += item;
|
|
633
|
+
continue;
|
|
634
|
+
}
|
|
635
|
+
if (shared.isPromise(item)) {
|
|
636
|
+
return item.then((nestedItem) => {
|
|
637
|
+
buffer[i] = nestedItem;
|
|
638
|
+
return nestedUnrollBuffer(buffer, ret, i);
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
const result = nestedUnrollBuffer(item, ret, 0);
|
|
642
|
+
if (shared.isPromise(result)) {
|
|
643
|
+
return result.then((nestedItem) => {
|
|
644
|
+
buffer[i] = nestedItem;
|
|
645
|
+
return nestedUnrollBuffer(buffer, "", i);
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
ret = result;
|
|
649
|
+
}
|
|
650
|
+
return ret;
|
|
651
|
+
}
|
|
652
|
+
function unrollBuffer$1(buffer) {
|
|
653
|
+
return nestedUnrollBuffer(buffer, "", 0);
|
|
654
|
+
}
|
|
655
|
+
function unrollBufferSync$1(buffer) {
|
|
656
|
+
let ret = "";
|
|
657
|
+
for (let i = 0; i < buffer.length; i++) {
|
|
658
|
+
let item = buffer[i];
|
|
659
|
+
if (shared.isString(item)) {
|
|
660
|
+
ret += item;
|
|
661
|
+
} else {
|
|
662
|
+
ret += unrollBufferSync$1(item);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
return ret;
|
|
666
|
+
}
|
|
667
|
+
async function renderToString(input, context = {}) {
|
|
668
|
+
if (isVNode$1(input)) {
|
|
669
|
+
return renderToString(Vue.createApp({ render: () => input }), context);
|
|
670
|
+
}
|
|
671
|
+
const vnode = Vue.createVNode(input._component, input._props);
|
|
672
|
+
vnode.appContext = input._context;
|
|
673
|
+
input.provide(Vue.ssrContextKey, context);
|
|
674
|
+
const buffer = await renderComponentVNode(vnode);
|
|
675
|
+
const result = await unrollBuffer$1(buffer);
|
|
676
|
+
await resolveTeleports(context);
|
|
677
|
+
if (context.__watcherHandles) {
|
|
678
|
+
for (const unwatch of context.__watcherHandles) {
|
|
679
|
+
unwatch();
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
return result;
|
|
683
|
+
}
|
|
684
|
+
async function resolveTeleports(context) {
|
|
685
|
+
if (context.__teleportBuffers) {
|
|
686
|
+
context.teleports = context.teleports || {};
|
|
687
|
+
for (const key in context.__teleportBuffers) {
|
|
688
|
+
context.teleports[key] = await unrollBuffer$1(
|
|
689
|
+
await Promise.all([context.__teleportBuffers[key]])
|
|
690
|
+
);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
const { isVNode } = Vue.ssrUtils;
|
|
696
|
+
async function unrollBuffer(buffer, stream) {
|
|
697
|
+
if (buffer.hasAsync) {
|
|
698
|
+
for (let i = 0; i < buffer.length; i++) {
|
|
699
|
+
let item = buffer[i];
|
|
700
|
+
if (shared.isPromise(item)) {
|
|
701
|
+
item = await item;
|
|
702
|
+
}
|
|
703
|
+
if (shared.isString(item)) {
|
|
704
|
+
stream.push(item);
|
|
705
|
+
} else {
|
|
706
|
+
await unrollBuffer(item, stream);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
} else {
|
|
710
|
+
unrollBufferSync(buffer, stream);
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
function unrollBufferSync(buffer, stream) {
|
|
714
|
+
for (let i = 0; i < buffer.length; i++) {
|
|
715
|
+
let item = buffer[i];
|
|
716
|
+
if (shared.isString(item)) {
|
|
717
|
+
stream.push(item);
|
|
718
|
+
} else {
|
|
719
|
+
unrollBufferSync(item, stream);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
function renderToSimpleStream(input, context, stream) {
|
|
724
|
+
if (isVNode(input)) {
|
|
725
|
+
return renderToSimpleStream(
|
|
726
|
+
Vue.createApp({ render: () => input }),
|
|
727
|
+
context,
|
|
728
|
+
stream
|
|
729
|
+
);
|
|
730
|
+
}
|
|
731
|
+
const vnode = Vue.createVNode(input._component, input._props);
|
|
732
|
+
vnode.appContext = input._context;
|
|
733
|
+
input.provide(Vue.ssrContextKey, context);
|
|
734
|
+
Promise.resolve(renderComponentVNode(vnode)).then((buffer) => unrollBuffer(buffer, stream)).then(() => resolveTeleports(context)).then(() => {
|
|
735
|
+
if (context.__watcherHandles) {
|
|
736
|
+
for (const unwatch of context.__watcherHandles) {
|
|
737
|
+
unwatch();
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}).then(() => stream.push(null)).catch((error) => {
|
|
741
|
+
stream.destroy(error);
|
|
742
|
+
});
|
|
743
|
+
return stream;
|
|
744
|
+
}
|
|
745
|
+
function renderToStream(input, context = {}) {
|
|
746
|
+
console.warn(
|
|
747
|
+
`[@vue/server-renderer] renderToStream is deprecated - use renderToNodeStream instead.`
|
|
748
|
+
);
|
|
749
|
+
return renderToNodeStream(input, context);
|
|
750
|
+
}
|
|
751
|
+
function renderToNodeStream(input, context = {}) {
|
|
752
|
+
const stream = new (require("node:stream")).Readable({ read() {
|
|
753
|
+
} }) ;
|
|
754
|
+
if (!stream) {
|
|
755
|
+
throw new Error(
|
|
756
|
+
`ESM build of renderToStream() does not support renderToNodeStream(). Use pipeToNodeWritable() with an existing Node.js Writable stream instance instead.`
|
|
757
|
+
);
|
|
758
|
+
}
|
|
759
|
+
return renderToSimpleStream(input, context, stream);
|
|
760
|
+
}
|
|
761
|
+
function pipeToNodeWritable(input, context = {}, writable) {
|
|
762
|
+
renderToSimpleStream(input, context, {
|
|
763
|
+
push(content) {
|
|
764
|
+
if (content != null) {
|
|
765
|
+
writable.write(content);
|
|
766
|
+
} else {
|
|
767
|
+
writable.end();
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
destroy(err) {
|
|
771
|
+
writable.destroy(err);
|
|
772
|
+
}
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
function renderToWebStream(input, context = {}) {
|
|
776
|
+
if (typeof ReadableStream !== "function") {
|
|
777
|
+
throw new Error(
|
|
778
|
+
`ReadableStream constructor is not available in the global scope. If the target environment does support web streams, consider using pipeToWebWritable() with an existing WritableStream instance instead.`
|
|
779
|
+
);
|
|
780
|
+
}
|
|
781
|
+
const encoder = new TextEncoder();
|
|
782
|
+
let cancelled = false;
|
|
783
|
+
return new ReadableStream({
|
|
784
|
+
start(controller) {
|
|
785
|
+
renderToSimpleStream(input, context, {
|
|
786
|
+
push(content) {
|
|
787
|
+
if (cancelled) return;
|
|
788
|
+
if (content != null) {
|
|
789
|
+
controller.enqueue(encoder.encode(content));
|
|
790
|
+
} else {
|
|
791
|
+
controller.close();
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
destroy(err) {
|
|
795
|
+
controller.error(err);
|
|
796
|
+
}
|
|
797
|
+
});
|
|
798
|
+
},
|
|
799
|
+
cancel() {
|
|
800
|
+
cancelled = true;
|
|
801
|
+
}
|
|
802
|
+
});
|
|
803
|
+
}
|
|
804
|
+
function pipeToWebWritable(input, context = {}, writable) {
|
|
805
|
+
const writer = writable.getWriter();
|
|
806
|
+
const encoder = new TextEncoder();
|
|
807
|
+
let hasReady = false;
|
|
808
|
+
try {
|
|
809
|
+
hasReady = shared.isPromise(writer.ready);
|
|
810
|
+
} catch (e) {
|
|
811
|
+
}
|
|
812
|
+
renderToSimpleStream(input, context, {
|
|
813
|
+
async push(content) {
|
|
814
|
+
if (hasReady) {
|
|
815
|
+
await writer.ready;
|
|
816
|
+
}
|
|
817
|
+
if (content != null) {
|
|
818
|
+
return writer.write(encoder.encode(content));
|
|
819
|
+
} else {
|
|
820
|
+
return writer.close();
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
destroy(err) {
|
|
824
|
+
console.log(err);
|
|
825
|
+
writer.close();
|
|
826
|
+
}
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
Vue.initDirectivesForSSR();
|
|
831
|
+
|
|
832
|
+
exports.ssrIncludeBooleanAttr = shared.includeBooleanAttr;
|
|
833
|
+
exports.pipeToNodeWritable = pipeToNodeWritable;
|
|
834
|
+
exports.pipeToWebWritable = pipeToWebWritable;
|
|
835
|
+
exports.renderToNodeStream = renderToNodeStream;
|
|
836
|
+
exports.renderToSimpleStream = renderToSimpleStream;
|
|
837
|
+
exports.renderToStream = renderToStream;
|
|
838
|
+
exports.renderToString = renderToString;
|
|
839
|
+
exports.renderToWebStream = renderToWebStream;
|
|
840
|
+
exports.ssrGetDirectiveProps = ssrGetDirectiveProps;
|
|
841
|
+
exports.ssrGetDynamicModelProps = ssrGetDynamicModelProps;
|
|
842
|
+
exports.ssrInterpolate = ssrInterpolate;
|
|
843
|
+
exports.ssrLooseContain = ssrLooseContain;
|
|
844
|
+
exports.ssrLooseEqual = ssrLooseEqual;
|
|
845
|
+
exports.ssrRenderAttr = ssrRenderAttr;
|
|
846
|
+
exports.ssrRenderAttrs = ssrRenderAttrs;
|
|
847
|
+
exports.ssrRenderClass = ssrRenderClass;
|
|
848
|
+
exports.ssrRenderComponent = ssrRenderComponent;
|
|
849
|
+
exports.ssrRenderDynamicAttr = ssrRenderDynamicAttr;
|
|
850
|
+
exports.ssrRenderDynamicModel = ssrRenderDynamicModel;
|
|
851
|
+
exports.ssrRenderList = ssrRenderList;
|
|
852
|
+
exports.ssrRenderSlot = ssrRenderSlot;
|
|
853
|
+
exports.ssrRenderSlotInner = ssrRenderSlotInner;
|
|
854
|
+
exports.ssrRenderStyle = ssrRenderStyle;
|
|
855
|
+
exports.ssrRenderSuspense = ssrRenderSuspense;
|
|
856
|
+
exports.ssrRenderTeleport = ssrRenderTeleport;
|
|
857
|
+
exports.ssrRenderVNode = renderVNode;
|