@dylanpiercey/work 0.0.63 → 0.0.65
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/bin/work.mjs +11 -11
- package/dist/{_CkMJ5gOG.js → _CJOORMBO.js} +22 -22
- package/dist/{_DJw6QDd6.js → _CSvmyeWI.js} +191 -193
- package/dist/_CTJQVrRJ.js +2 -0
- package/dist/{_BejZlkF2.js → _Dp9_KYvx.js} +2 -2
- package/dist/index.mjs +2424 -2038
- package/dist/public/assets/{_DGvaJxhN2.js → _B0K8ONkz.js} +1 -1
- package/dist/public/assets/_B0K8ONkz.js.br +0 -0
- package/dist/public/assets/{_BahoEUEl.js → _B7r33ix3.js} +1 -1
- package/dist/public/assets/_B7r33ix3.js.br +0 -0
- package/dist/public/assets/{_BjiBvh1F.js → _BCM54uP7.js} +1 -1
- package/dist/public/assets/_BCM54uP7.js.br +0 -0
- package/dist/public/assets/{_qx7lbylN2.js → _BEfV6dr52.js} +1 -1
- package/dist/public/assets/_BEfV6dr52.js.br +0 -0
- package/dist/public/assets/{_C6wSov-5.js → _BH1orsGI.js} +1 -1
- package/dist/public/assets/_BH1orsGI.js.br +0 -0
- package/dist/public/assets/{_Dr_nTK62.js → _BQQEle5V2.js} +1 -1
- package/dist/public/assets/_BQQEle5V2.js.br +0 -0
- package/dist/public/assets/{_CtQ_-SCD.js → _BThtwt0w.js} +1 -1
- package/dist/public/assets/_BThtwt0w.js.br +0 -0
- package/dist/public/assets/{_Cs32oXy_.js → _BUgZMYtw.js} +1 -1
- package/dist/public/assets/_BUgZMYtw.js.br +0 -0
- package/dist/public/assets/{_ag3kTHuY2.js → _BZ1m666c2.js} +1 -1
- package/dist/public/assets/{_BCdzZsn_.js → _BboF69sq.js} +1 -1
- package/dist/public/assets/_BboF69sq.js.br +0 -0
- package/dist/public/assets/{_BbXjig9P.js → _BdX2kLzM.js} +1 -1
- package/dist/public/assets/_BdX2kLzM.js.br +0 -0
- package/dist/public/assets/{_DnGXgL0i.js → _BlzJNKIq.js} +1 -1
- package/dist/public/assets/_BlzJNKIq.js.br +0 -0
- package/dist/public/assets/{_Bla8nnOV.js → _BmiI8e9v.js} +1 -1
- package/dist/public/assets/_BmiI8e9v.js.br +0 -0
- package/dist/public/assets/{_FR2-KCqo.js → _Bo6_Newo.js} +1 -1
- package/dist/public/assets/_Bo6_Newo.js.br +0 -0
- package/dist/public/assets/_BoY3-Vy52.js +1 -0
- package/dist/public/assets/_BoY3-Vy52.js.br +0 -0
- package/dist/public/assets/_Bp8I3szc.js +1 -0
- package/dist/public/assets/_Bp8I3szc.js.br +0 -0
- package/dist/public/assets/{_CuOsKTaT.js → _BtQw2bmP.js} +1 -1
- package/dist/public/assets/_BtQw2bmP.js.br +0 -0
- package/dist/public/assets/{_CoqFfSgg.js → _BxbPiayr.js} +1 -1
- package/dist/public/assets/_BxbPiayr.js.br +0 -0
- package/dist/public/assets/{_DMp6AZKA.js → _C-9k1_iP.js} +1 -1
- package/dist/public/assets/_C-9k1_iP.js.br +0 -0
- package/dist/public/assets/{_Bj-Zy9Ch.js → _C4xR-bcw.js} +1 -1
- package/dist/public/assets/_C4xR-bcw.js.br +0 -0
- package/dist/public/assets/{_Bif8ny7j.js → _C5wBIhjz.js} +1 -1
- package/dist/public/assets/_C5wBIhjz.js.br +0 -0
- package/dist/public/assets/{_BfBRi0102.js → _C8nC95yB.js} +1 -1
- package/dist/public/assets/_C8nC95yB.js.br +0 -0
- package/dist/public/assets/{_CB8oTGqD.js → _CITgMOC9.js} +1 -1
- package/dist/public/assets/_CITgMOC9.js.br +0 -0
- package/dist/public/assets/{_CgVVBthC2.js → _CIkG14ic.js} +1 -1
- package/dist/public/assets/_CIkG14ic.js.br +0 -0
- package/dist/public/assets/{_DCzqg64T.js → _COIRZlBz.js} +1 -1
- package/dist/public/assets/_COIRZlBz.js.br +0 -0
- package/dist/public/assets/_COmbCgXJ.js +1 -0
- package/dist/public/assets/_COmbCgXJ.js.br +0 -0
- package/dist/public/assets/{_Doqy2mrF.js → _CTT6B6-b.js} +1 -1
- package/dist/public/assets/_CTT6B6-b.js.br +0 -0
- package/dist/public/assets/{_BNV4QnFb.js → _CTuqiWc4.js} +1 -1
- package/dist/public/assets/_CTuqiWc4.js.br +0 -0
- package/dist/public/assets/{_zsjVrG7P2.js → _CUyMzA_n2.js} +1 -1
- package/dist/public/assets/_CUyMzA_n2.js.br +0 -0
- package/dist/public/assets/{_14DmBChI.js → _CWbBPRed.js} +1 -1
- package/dist/public/assets/_CWbBPRed.js.br +0 -0
- package/dist/public/assets/{_C7-54NbO2.js → _CZn9N_LK2.js} +1 -1
- package/dist/public/assets/_CZn9N_LK2.js.br +0 -0
- package/dist/public/assets/{_CWkU9r_m2.js → _CaI2OErv2.js} +1 -1
- package/dist/public/assets/_CaI2OErv2.js.br +0 -0
- package/dist/public/assets/{_CgpdtGAg.js → _CaKapByl.js} +8 -8
- package/dist/public/assets/_CaKapByl.js.br +0 -0
- package/dist/public/assets/{_HcLcz5i82.js → _CeiVaZaE2.js} +1 -1
- package/dist/public/assets/_CeiVaZaE2.js.br +0 -0
- package/dist/public/assets/{_Bkllp0As2.js → _CerQ_0732.js} +1 -1
- package/dist/public/assets/_CerQ_0732.js.br +0 -0
- package/dist/public/assets/_CioERcnr2.js +1 -0
- package/dist/public/assets/_CioERcnr2.js.br +0 -0
- package/dist/public/assets/_CqRLihbS.js +1 -0
- package/dist/public/assets/_CqRLihbS.js.br +0 -0
- package/dist/public/assets/{_DsAa3Xy42.js → _CqwvvARM2.js} +1 -1
- package/dist/public/assets/_CqwvvARM2.js.br +0 -0
- package/dist/public/assets/{_DC4Dw05t2.js → _CrV-j-_J2.js} +1 -1
- package/dist/public/assets/_CrV-j-_J2.js.br +0 -0
- package/dist/public/assets/{_B1u5Uh3T.js → _Cs1TioRL.js} +1 -1
- package/dist/public/assets/_Cs1TioRL.js.br +0 -0
- package/dist/public/assets/{_Cs0oBAc0.js → _D4ERlOIt.js} +1 -1
- package/dist/public/assets/_D4ERlOIt.js.br +0 -0
- package/dist/public/assets/{_BKY_bMM62.js → _DAEfR_pv2.js} +1 -1
- package/dist/public/assets/_DAEfR_pv2.js.br +0 -0
- package/dist/public/assets/{_CzaqMz01.js → _DBsRrJl2.js} +1 -1
- package/dist/public/assets/_DBsRrJl2.js.br +0 -0
- package/dist/public/assets/{_BrBaHkF_.js → _DGSiyVF7.js} +1 -1
- package/dist/public/assets/_DGSiyVF7.js.br +0 -0
- package/dist/public/assets/{_DMG2J4L6.js → _DHM4stpd.js} +1 -1
- package/dist/public/assets/_DHM4stpd.js.br +0 -0
- package/dist/public/assets/{_urqw27Lw.js → _DIPk3FlP.js} +1 -1
- package/dist/public/assets/_DIPk3FlP.js.br +0 -0
- package/dist/public/assets/{_CNqZ6LTq.js → _DIqr-isS2.js} +1 -1
- package/dist/public/assets/_DIqr-isS2.js.br +0 -0
- package/dist/public/assets/_DMSaSonW.js +85 -0
- package/dist/public/assets/_DMSaSonW.js.br +0 -0
- package/dist/public/assets/_DQnRz4N-2.js +1 -0
- package/dist/public/assets/_DQnRz4N-2.js.br +0 -0
- package/dist/public/assets/{_BoCIFzP2.js → _DRy7E0y4.js} +1 -1
- package/dist/public/assets/_DRy7E0y4.js.br +0 -0
- package/dist/public/assets/{_Q2qQseiI.js → _DSl96WfX.js} +1 -1
- package/dist/public/assets/_DSl96WfX.js.br +0 -0
- package/dist/public/assets/_DTg6G0mG2.js +1 -0
- package/dist/public/assets/_DTg6G0mG2.js.br +0 -0
- package/dist/public/assets/{_BAXP44gA.js → _DVhX7A38.js} +1 -1
- package/dist/public/assets/{_BAgMDk4k.js → _DW89HP67.js} +1 -1
- package/dist/public/assets/_DW89HP67.js.br +0 -0
- package/dist/public/assets/{_C-PAnbq3.js → _DXx38Nka.js} +1 -1
- package/dist/public/assets/_DXx38Nka.js.br +0 -0
- package/dist/public/assets/_DY5hwH4S2.js +1 -0
- package/dist/public/assets/_DY5hwH4S2.js.br +0 -0
- package/dist/public/assets/_DbucXXAA.js +1 -0
- package/dist/public/assets/_DbucXXAA.js.br +0 -0
- package/dist/public/assets/{_D9dzMNoO.js → _DdWJlopw.js} +1 -1
- package/dist/public/assets/_DdWJlopw.js.br +0 -0
- package/dist/public/assets/{_RGFDEa9_.js → _Dhz04q_D.js} +1 -1
- package/dist/public/assets/_Dhz04q_D.js.br +0 -0
- package/dist/public/assets/_Dj5rhxkK2.js +1 -0
- package/dist/public/assets/_Dj5rhxkK2.js.br +0 -0
- package/dist/public/assets/{_BUaVKf3v.js → _Dk0TvYyB.js} +1 -1
- package/dist/public/assets/_Dk0TvYyB.js.br +0 -0
- package/dist/public/assets/{_BZD7uwi9.js → _DkrY5R_L.js} +1 -1
- package/dist/public/assets/_DkrY5R_L.js.br +0 -0
- package/dist/public/assets/{_BMO-ZlzJ2.js → _DktisilP.js} +1 -1
- package/dist/public/assets/_DktisilP.js.br +0 -0
- package/dist/public/assets/_Dla_sQtT.js +1 -0
- package/dist/public/assets/_Dla_sQtT.js.br +0 -0
- package/dist/public/assets/{_0hNVJ4JO.js → _DmhJqFxg.js} +1 -1
- package/dist/public/assets/_DmhJqFxg.js.br +0 -0
- package/dist/public/assets/{_AnXZ6DjN2.js → _DobhJicG2.js} +1 -1
- package/dist/public/assets/_DobhJicG2.js.br +0 -0
- package/dist/public/assets/_DsKRHcpP2.js +1 -0
- package/dist/public/assets/_DsKRHcpP2.js.br +0 -0
- package/dist/public/assets/_DsedTKoi2.js +1 -0
- package/dist/public/assets/_DsedTKoi2.js.br +0 -0
- package/dist/public/assets/_DvCKkq4p.js +1 -0
- package/dist/public/assets/_DvCKkq4p.js.br +0 -0
- package/dist/public/assets/{_H1UQxF28.js → _DwFgGl5j.js} +1 -1
- package/dist/public/assets/_DwFgGl5j.js.br +0 -0
- package/dist/public/assets/{_D_J7qiyb.js → _GAJYC2Mn.js} +1 -1
- package/dist/public/assets/_GAJYC2Mn.js.br +0 -0
- package/dist/public/assets/{_BDTS1vjt2.js → _IQRs4Vxk2.js} +1 -1
- package/dist/public/assets/_Ig-G3Vb-2.js +1 -0
- package/dist/public/assets/_Ig-G3Vb-2.js.br +0 -0
- package/dist/public/assets/{_CzNPwcYd2.js → _JJ2tpZIq2.js} +1 -1
- package/dist/public/assets/_JJ2tpZIq2.js.br +0 -0
- package/dist/public/assets/{_DpeDF238.js → _bAkDCn_T2.js} +1 -1
- package/dist/public/assets/_bAkDCn_T2.js.br +0 -0
- package/dist/public/assets/{_CHMOdIBF.js → _dGG0GxLJ.js} +1 -1
- package/dist/public/assets/_dGG0GxLJ.js.br +0 -0
- package/dist/public/assets/{_truEpqET.js → _tyL67pnw.js} +1 -1
- package/dist/public/assets/_tyL67pnw.js.br +0 -0
- package/dist/public/assets/{_DEV1HUyH2.js → _zBoBE4zG2.js} +1 -1
- package/dist/public/assets/_zBoBE4zG2.js.br +0 -0
- package/dist/public/assets/app-page-BDcrPm2k.css +1 -0
- package/dist/public/assets/app-page-BDcrPm2k.css.br +0 -0
- package/dist/public/assets/{diff-view-09aeMxRD.css → diff-view-UombrS99.css} +1 -1
- package/dist/public/assets/diff-view-UombrS99.css.br +0 -0
- package/dist/public/assets/new-CzSXygvC.js +1 -0
- package/dist/public/assets/settings-CzSXygvC.js +1 -0
- package/dist/public/assets/w-CzSXygvC.js +1 -0
- package/dist/public/assets/w._-CzSXygvC.js +1 -0
- package/dist/public/assets/w._-q-GIPDIo.js +1 -0
- package/install.sh +4 -4
- package/lib/setup/doctor.mjs +1 -1
- package/lib/setup/install.mjs +1 -1
- package/package.json +1 -1
- package/scripts/migrate.mjs +1 -1
- package/dist/_C_Ufy3TH.js +0 -2
- package/dist/public/assets/_0hNVJ4JO.js.br +0 -0
- package/dist/public/assets/_14DmBChI.js.br +0 -0
- package/dist/public/assets/_1aIRcB6T.js +0 -1
- package/dist/public/assets/_1aIRcB6T.js.br +0 -0
- package/dist/public/assets/_AnXZ6DjN2.js.br +0 -0
- package/dist/public/assets/_B1u5Uh3T.js.br +0 -0
- package/dist/public/assets/_BAgMDk4k.js.br +0 -0
- package/dist/public/assets/_BCdzZsn_.js.br +0 -0
- package/dist/public/assets/_BKY_bMM62.js.br +0 -0
- package/dist/public/assets/_BMO-ZlzJ2.js.br +0 -0
- package/dist/public/assets/_BNV4QnFb.js.br +0 -0
- package/dist/public/assets/_BUaVKf3v.js.br +0 -0
- package/dist/public/assets/_BZD7uwi9.js.br +0 -0
- package/dist/public/assets/_BahoEUEl.js.br +0 -0
- package/dist/public/assets/_BbXjig9P.js.br +0 -0
- package/dist/public/assets/_BfBRi0102.js.br +0 -0
- package/dist/public/assets/_Bif8ny7j.js.br +0 -0
- package/dist/public/assets/_Bj-Zy9Ch.js.br +0 -0
- package/dist/public/assets/_BjiBvh1F.js.br +0 -0
- package/dist/public/assets/_Bkllp0As2.js.br +0 -0
- package/dist/public/assets/_Bla8nnOV.js.br +0 -0
- package/dist/public/assets/_BnfbE-el2.js +0 -1
- package/dist/public/assets/_BnfbE-el2.js.br +0 -0
- package/dist/public/assets/_BoCIFzP2.js.br +0 -0
- package/dist/public/assets/_BrBaHkF_.js.br +0 -0
- package/dist/public/assets/_C-PAnbq3.js.br +0 -0
- package/dist/public/assets/_C2_4nxz12.js +0 -1
- package/dist/public/assets/_C2_4nxz12.js.br +0 -0
- package/dist/public/assets/_C6wSov-5.js.br +0 -0
- package/dist/public/assets/_C7-54NbO2.js.br +0 -0
- package/dist/public/assets/_CB8oTGqD.js.br +0 -0
- package/dist/public/assets/_CGdTzrY1.js +0 -1
- package/dist/public/assets/_CGdTzrY1.js.br +0 -0
- package/dist/public/assets/_CHMOdIBF.js.br +0 -0
- package/dist/public/assets/_CNqZ6LTq.js.br +0 -0
- package/dist/public/assets/_CQJs3lWb.js +0 -1
- package/dist/public/assets/_CQJs3lWb.js.br +0 -0
- package/dist/public/assets/_CWkU9r_m2.js.br +0 -0
- package/dist/public/assets/_CgURBhsh2.js +0 -1
- package/dist/public/assets/_CgURBhsh2.js.br +0 -0
- package/dist/public/assets/_CgVVBthC2.js.br +0 -0
- package/dist/public/assets/_CgpdtGAg.js.br +0 -0
- package/dist/public/assets/_CoqFfSgg.js.br +0 -0
- package/dist/public/assets/_CqHt_5jw.js +0 -1
- package/dist/public/assets/_CqHt_5jw.js.br +0 -0
- package/dist/public/assets/_Cs0oBAc0.js.br +0 -0
- package/dist/public/assets/_Cs32oXy_.js.br +0 -0
- package/dist/public/assets/_CtQ_-SCD.js.br +0 -0
- package/dist/public/assets/_CuOsKTaT.js.br +0 -0
- package/dist/public/assets/_CzNPwcYd2.js.br +0 -0
- package/dist/public/assets/_CzaqMz01.js.br +0 -0
- package/dist/public/assets/_D9dzMNoO.js.br +0 -0
- package/dist/public/assets/_DC4Dw05t2.js.br +0 -0
- package/dist/public/assets/_DCzqg64T.js.br +0 -0
- package/dist/public/assets/_DEV1HUyH2.js.br +0 -0
- package/dist/public/assets/_DGvaJxhN2.js.br +0 -0
- package/dist/public/assets/_DJx4mibl2.js +0 -1
- package/dist/public/assets/_DJx4mibl2.js.br +0 -0
- package/dist/public/assets/_DMG2J4L6.js.br +0 -0
- package/dist/public/assets/_DMp6AZKA.js.br +0 -0
- package/dist/public/assets/_DWEFguKu2.js +0 -1
- package/dist/public/assets/_DWEFguKu2.js.br +0 -0
- package/dist/public/assets/_DWQbgPoS.js +0 -1
- package/dist/public/assets/_DWQbgPoS.js.br +0 -0
- package/dist/public/assets/_DY1QitV0.js +0 -1
- package/dist/public/assets/_DY1QitV0.js.br +0 -0
- package/dist/public/assets/_D_J7qiyb.js.br +0 -0
- package/dist/public/assets/_DnGXgL0i.js.br +0 -0
- package/dist/public/assets/_Doqy2mrF.js.br +0 -0
- package/dist/public/assets/_DpeDF238.js.br +0 -0
- package/dist/public/assets/_Dr_nTK62.js.br +0 -0
- package/dist/public/assets/_DsAa3Xy42.js.br +0 -0
- package/dist/public/assets/_FR2-KCqo.js.br +0 -0
- package/dist/public/assets/_H1UQxF28.js.br +0 -0
- package/dist/public/assets/_HcLcz5i82.js.br +0 -0
- package/dist/public/assets/_Obe-5WKG.js +0 -1
- package/dist/public/assets/_Obe-5WKG.js.br +0 -0
- package/dist/public/assets/_Q2qQseiI.js.br +0 -0
- package/dist/public/assets/_RGFDEa9_.js.br +0 -0
- package/dist/public/assets/_ScSFhsTr.js +0 -1
- package/dist/public/assets/_ScSFhsTr.js.br +0 -0
- package/dist/public/assets/_nC_b5l_M.js +0 -1
- package/dist/public/assets/_nC_b5l_M.js.br +0 -0
- package/dist/public/assets/_njLSeYG62.js +0 -1
- package/dist/public/assets/_njLSeYG62.js.br +0 -0
- package/dist/public/assets/_qx7lbylN2.js.br +0 -0
- package/dist/public/assets/_truEpqET.js.br +0 -0
- package/dist/public/assets/_urqw27Lw.js.br +0 -0
- package/dist/public/assets/_zsjVrG7P2.js.br +0 -0
- package/dist/public/assets/diff-view-09aeMxRD.css.br +0 -0
- package/dist/public/assets/index-BJoarFLU.js +0 -85
- package/dist/public/assets/index-BJoarFLU.js.br +0 -0
- package/dist/public/assets/index-Kv8GSDQR.css +0 -1
- package/dist/public/assets/index-Kv8GSDQR.css.br +0 -0
- /package/dist/public/assets/{_2IIEA8gg.js → _2IIEA8gg2.js} +0 -0
- /package/dist/public/assets/{_2IIEA8gg.js.br → _2IIEA8gg2.js.br} +0 -0
- /package/dist/public/assets/{_B5W6OYN7.js → _B5W6OYN72.js} +0 -0
- /package/dist/public/assets/{_B5W6OYN7.js.br → _B5W6OYN72.js.br} +0 -0
- /package/dist/public/assets/{_BJitypiv.js → _BJitypiv2.js} +0 -0
- /package/dist/public/assets/{_BJitypiv.js.br → _BJitypiv2.js.br} +0 -0
- /package/dist/public/assets/{_BXeXVLqQ.js → _BXeXVLqQ2.js} +0 -0
- /package/dist/public/assets/{_BXeXVLqQ.js.br → _BXeXVLqQ2.js.br} +0 -0
- /package/dist/public/assets/{_BYnGhZoM.js → _BYnGhZoM2.js} +0 -0
- /package/dist/public/assets/{_BYnGhZoM.js.br → _BYnGhZoM2.js.br} +0 -0
- /package/dist/public/assets/{_BZCL-v6S2.js → _BZCL-v6S.js} +0 -0
- /package/dist/public/assets/{_BZCL-v6S2.js.br → _BZCL-v6S.js.br} +0 -0
- /package/dist/public/assets/{_Bj61d0ZC2.js → _Bj61d0ZC.js} +0 -0
- /package/dist/public/assets/{_Bj61d0ZC2.js.br → _Bj61d0ZC.js.br} +0 -0
- /package/dist/public/assets/{_BnlCZFoB2.js → _BnlCZFoB.js} +0 -0
- /package/dist/public/assets/{_BnlCZFoB2.js.br → _BnlCZFoB.js.br} +0 -0
- /package/dist/public/assets/{_BxMlprV5.js → _BxMlprV52.js} +0 -0
- /package/dist/public/assets/{_BxMlprV5.js.br → _BxMlprV52.js.br} +0 -0
- /package/dist/public/assets/{_C03EYrpw.js → _C03EYrpw2.js} +0 -0
- /package/dist/public/assets/{_C03EYrpw.js.br → _C03EYrpw2.js.br} +0 -0
- /package/dist/public/assets/{_C7UOKdEL2.js → _C7UOKdEL.js} +0 -0
- /package/dist/public/assets/{_C7UOKdEL2.js.br → _C7UOKdEL.js.br} +0 -0
- /package/dist/public/assets/{_C8r90Shi2.js → _C8r90Shi.js} +0 -0
- /package/dist/public/assets/{_CCSX75yM2.js → _CCSX75yM.js} +0 -0
- /package/dist/public/assets/{_CCSX75yM2.js.br → _CCSX75yM.js.br} +0 -0
- /package/dist/public/assets/{_CHQ94UKr.js → _CHQ94UKr2.js} +0 -0
- /package/dist/public/assets/{_CHQ94UKr.js.br → _CHQ94UKr2.js.br} +0 -0
- /package/dist/public/assets/{_CYNrtFtB.js → _CYNrtFtB2.js} +0 -0
- /package/dist/public/assets/{_CYNrtFtB.js.br → _CYNrtFtB2.js.br} +0 -0
- /package/dist/public/assets/{_CZbG8q4J2.js → _CZbG8q4J.js} +0 -0
- /package/dist/public/assets/{_CZbG8q4J2.js.br → _CZbG8q4J.js.br} +0 -0
- /package/dist/public/assets/{_ClFFjSW22.js → _ClFFjSW2.js} +0 -0
- /package/dist/public/assets/{_ClFFjSW22.js.br → _ClFFjSW2.js.br} +0 -0
- /package/dist/public/assets/{_Cmm7eHzH.js → _Cmm7eHzH2.js} +0 -0
- /package/dist/public/assets/{_Cmm7eHzH.js.br → _Cmm7eHzH2.js.br} +0 -0
- /package/dist/public/assets/{_CohzipZa.js → _CohzipZa2.js} +0 -0
- /package/dist/public/assets/{_CohzipZa.js.br → _CohzipZa2.js.br} +0 -0
- /package/dist/public/assets/{_CyEgAFGc.js → _CyEgAFGc2.js} +0 -0
- /package/dist/public/assets/{_CyEgAFGc.js.br → _CyEgAFGc2.js.br} +0 -0
- /package/dist/public/assets/{_DJMQeKeT.js → _DJMQeKeT2.js} +0 -0
- /package/dist/public/assets/{_DJMQeKeT.js.br → _DJMQeKeT2.js.br} +0 -0
- /package/dist/public/assets/{_DLL8P-h_2.js → _DLL8P-h_.js} +0 -0
- /package/dist/public/assets/{_DLL8P-h_2.js.br → _DLL8P-h_.js.br} +0 -0
- /package/dist/public/assets/{_DLbMbJfH2.js → _DLbMbJfH.js} +0 -0
- /package/dist/public/assets/{_DLbMbJfH2.js.br → _DLbMbJfH.js.br} +0 -0
- /package/dist/public/assets/{_DMgNhnYS2.js → _DMgNhnYS.js} +0 -0
- /package/dist/public/assets/{_DMgNhnYS2.js.br → _DMgNhnYS.js.br} +0 -0
- /package/dist/public/assets/{_DMoTqEGO.js → _DMoTqEGO2.js} +0 -0
- /package/dist/public/assets/{_DMoTqEGO.js.br → _DMoTqEGO2.js.br} +0 -0
- /package/dist/public/assets/{_DNMTfnFr2.js → _DNMTfnFr.js} +0 -0
- /package/dist/public/assets/{_DNMTfnFr2.js.br → _DNMTfnFr.js.br} +0 -0
- /package/dist/public/assets/{_DVQuIRkW.js → _DVQuIRkW2.js} +0 -0
- /package/dist/public/assets/{_DVQuIRkW.js.br → _DVQuIRkW2.js.br} +0 -0
- /package/dist/public/assets/{_DdrHHSXu2.js → _DdrHHSXu.js} +0 -0
- /package/dist/public/assets/{_DdrHHSXu2.js.br → _DdrHHSXu.js.br} +0 -0
- /package/dist/public/assets/{_DdvCle-K2.js → _DdvCle-K.js} +0 -0
- /package/dist/public/assets/{_DdvCle-K2.js.br → _DdvCle-K.js.br} +0 -0
- /package/dist/public/assets/{_Dh5ihWbf.js → _Dh5ihWbf2.js} +0 -0
- /package/dist/public/assets/{_Dh5ihWbf.js.br → _Dh5ihWbf2.js.br} +0 -0
- /package/dist/public/assets/{_DmIc4jLQ.js → _DmIc4jLQ2.js} +0 -0
- /package/dist/public/assets/{_DmIc4jLQ.js.br → _DmIc4jLQ2.js.br} +0 -0
- /package/dist/public/assets/{_DsUTQ-LC2.js → _DsUTQ-LC.js} +0 -0
- /package/dist/public/assets/{_DsUTQ-LC2.js.br → _DsUTQ-LC.js.br} +0 -0
- /package/dist/public/assets/{_VbXTXTou2.js → _VbXTXTou.js} +0 -0
- /package/dist/public/assets/{_VbXTXTou2.js.br → _VbXTXTou.js.br} +0 -0
- /package/dist/public/assets/{__X_XdTYD.js → __X_XdTYD2.js} +0 -0
- /package/dist/public/assets/{__X_XdTYD.js.br → __X_XdTYD2.js.br} +0 -0
- /package/dist/public/assets/{_fwtXNY1n2.js → _fwtXNY1n.js} +0 -0
- /package/dist/public/assets/{_fwtXNY1n2.js.br → _fwtXNY1n.js.br} +0 -0
- /package/dist/public/assets/{_iXnhIJG72.js → _iXnhIJG7.js} +0 -0
- /package/dist/public/assets/{_iXnhIJG72.js.br → _iXnhIJG7.js.br} +0 -0
- /package/dist/public/assets/{_oM2G3aXe2.js → _oM2G3aXe.js} +0 -0
- /package/dist/public/assets/{_oM2G3aXe2.js.br → _oM2G3aXe.js.br} +0 -0
- /package/dist/public/assets/{_oeQT6MSM2.js → _oeQT6MSM.js} +0 -0
- /package/dist/public/assets/{_oeQT6MSM2.js.br → _oeQT6MSM.js.br} +0 -0
- /package/dist/public/assets/{_uhdI0v04.js → _uhdI0v042.js} +0 -0
- /package/dist/public/assets/{_uhdI0v04.js.br → _uhdI0v042.js.br} +0 -0
- /package/dist/public/assets/{_vGVdxbeo2.js → _vGVdxbeo.js} +0 -0
- /package/dist/public/assets/{_vGVdxbeo2.js.br → _vGVdxbeo.js.br} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as tone, Ct as attrTag, F as _attr_input_value, I as _attr_option_value, J as _el_resume, K as _el, M as _attr, N as _attr_class, P as _attr_details_or_dialog_open, Q as _for_of, R as _attr_select_value, T as iconBtnRow, Tt as writeScope, W as _content_resume, X as _existing_scope, Y as _escape, _t as _subscribe, a as diffUncommitted, at as _resume, ct as _scope_reason, d as icon_search_default, dt as _sep, f as icon_back_default, ft as _serialize_guard, gt as _show_start, ht as _show_end, i as diffTreeOpen, it as _peek_scope_id, l as fuzzy, lt as _scope_with_id, mt as _set_serialize_reason, n as findInput, ot as _resume_branch, p as icon_refresh_default, pt as _serialize_if, q as _el_read_error, r as icon_sidebar_default, rt as _if, st as _scope_id, t as findIconBtn, tt as _html, ut as _script, v as toast_default, vt as _template, w as iconBtnLg, y as repoLabel, z as _attr_style } from "./
|
|
1
|
+
import { A as tone, Ct as attrTag, F as _attr_input_value, I as _attr_option_value, J as _el_resume, K as _el, M as _attr, N as _attr_class, P as _attr_details_or_dialog_open, Q as _for_of, R as _attr_select_value, T as iconBtnRow, Tt as writeScope, W as _content_resume, X as _existing_scope, Y as _escape, _t as _subscribe, a as diffUncommitted, at as _resume, ct as _scope_reason, d as icon_search_default, dt as _sep, f as icon_back_default, ft as _serialize_guard, gt as _show_start, ht as _show_end, i as diffTreeOpen, it as _peek_scope_id, l as fuzzy, lt as _scope_with_id, mt as _set_serialize_reason, n as findInput, ot as _resume_branch, p as icon_refresh_default, pt as _serialize_if, q as _el_read_error, r as icon_sidebar_default, rt as _if, st as _scope_id, t as findIconBtn, tt as _html, ut as _script, v as toast_default, vt as _template, w as iconBtnLg, y as repoLabel, z as _attr_style } from "./_CJOORMBO.js";
|
|
2
2
|
//#region src/client/clipboard.ts
|
|
3
3
|
/** Copy text to the clipboard. `navigator.clipboard` needs a secure
|
|
4
4
|
* context — absent over plain-http LAN origins — so fall back to a hidden
|
|
@@ -173,7 +173,7 @@ function repoHeader(worktree, repo) {
|
|
|
173
173
|
const head = shortSha(repo.head);
|
|
174
174
|
const base = shortSha(repo.baseSha);
|
|
175
175
|
const branch = repo.pr?.headRefName || repo.branch || "HEAD";
|
|
176
|
-
return `${worktree}/${repo.pr ? ` #${repo.pr.number}` : ""}
|
|
176
|
+
return `${worktree}/${repo.pr ? ` #${repo.pr.number}` : ""}: \`${branch}\` ${head} vs \`${repo.base}\` ${base}`;
|
|
177
177
|
}
|
|
178
178
|
function shortSha(sha, n = 12) {
|
|
179
179
|
return sha.slice(0, n);
|
|
@@ -260,13 +260,13 @@ function treeRows(files) {
|
|
|
260
260
|
walk(root, 0, "");
|
|
261
261
|
return rows;
|
|
262
262
|
}
|
|
263
|
-
var treeToggle = "
|
|
264
|
-
var repoWorktree = "
|
|
265
|
-
var repoTitle = "
|
|
266
|
-
var fileFilter = "
|
|
263
|
+
var treeToggle = "_ec _X _g";
|
|
264
|
+
var repoWorktree = "_eF _u";
|
|
265
|
+
var repoTitle = "_eH _t";
|
|
266
|
+
var fileFilter = "_fG _i";
|
|
267
267
|
//#endregion
|
|
268
268
|
//#region src/tags/file-filter.marko
|
|
269
|
-
var file_filter_default = _template("
|
|
269
|
+
var file_filter_default = _template("k", (input) => {
|
|
270
270
|
const $scope0_reason = _scope_reason();
|
|
271
271
|
const $scope0_id = _scope_id();
|
|
272
272
|
let value = input.value;
|
|
@@ -281,7 +281,7 @@ var file_filter_default = _template("j", (input) => {
|
|
|
281
281
|
const next = pending !== null ? pending : value || "";
|
|
282
282
|
pending = null;
|
|
283
283
|
value = next;
|
|
284
|
-
}, "
|
|
284
|
+
}, "k1", $scope0_id);
|
|
285
285
|
const type = _resume((v) => {
|
|
286
286
|
if (box.timer) clearTimeout(box.timer);
|
|
287
287
|
if (!v) {
|
|
@@ -292,11 +292,11 @@ var file_filter_default = _template("j", (input) => {
|
|
|
292
292
|
}
|
|
293
293
|
pending = v;
|
|
294
294
|
box.timer = setTimeout(flush, 150);
|
|
295
|
-
}, "
|
|
296
|
-
_html(`<div${_attr_class("
|
|
295
|
+
}, "k2", $scope0_id);
|
|
296
|
+
_html(`<div${_attr_class("_fF")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
297
297
|
type(v);
|
|
298
|
-
}, "
|
|
299
|
-
_script($scope0_id, "
|
|
298
|
+
}, "k0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
299
|
+
_script($scope0_id, "k3");
|
|
300
300
|
writeScope($scope0_id, {
|
|
301
301
|
e: _serialize_if($scope0_reason, 1) && input.value,
|
|
302
302
|
f: _serialize_if($scope0_reason, 0) && input.valueChange,
|
|
@@ -312,27 +312,27 @@ var file_filter_default = _template("j", (input) => {
|
|
|
312
312
|
});
|
|
313
313
|
//#endregion
|
|
314
314
|
//#region src/tags/diff-send.marko
|
|
315
|
-
var diff_send_default = _template("
|
|
315
|
+
var diff_send_default = _template("h", (input) => {
|
|
316
316
|
const $scope0_reason = _scope_reason(), $sg__input_sessions = _serialize_guard($scope0_reason, 0), $si__input_sessions = _serialize_if($scope0_reason, 0);
|
|
317
317
|
const $scope0_id = _scope_id();
|
|
318
318
|
let sending = false;
|
|
319
319
|
let sendTarget = null;
|
|
320
320
|
const sessions = input.sessions || [];
|
|
321
321
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
322
|
-
_html(`<span${_attr_class("_fS")}><button type=button${_attr_class("
|
|
322
|
+
_html(`<span${_attr_class("_fS")}><button type=button${_attr_class("_l")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
|
|
323
323
|
_if(() => {
|
|
324
324
|
if (sessions.length === 1) {
|
|
325
325
|
const $scope1_id = _scope_id();
|
|
326
|
-
_html(`<button type=button${_attr_class(["
|
|
327
|
-
_script($scope1_id, "
|
|
326
|
+
_html(`<button type=button${_attr_class(["_l", "_m"])}${_attr("disabled", sending)}>${`Send to ${_escape(`${sessions[0].title || sessions[0].agent}`)}`}${_el_resume($scope1_id, "b")}</button>${_el_resume($scope1_id, "a")}`);
|
|
327
|
+
_script($scope1_id, "h1");
|
|
328
328
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
329
329
|
return 0;
|
|
330
330
|
} else if (sessions.length) {
|
|
331
331
|
const $scope2_id = _scope_id();
|
|
332
|
-
_html(`<span${_attr_class("_fT")}><button type=button${_attr_class(["
|
|
332
|
+
_html(`<span${_attr_class("_fT")}><button type=button${_attr_class(["_m", "_fU"])}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
|
|
333
333
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
334
334
|
sendTarget = _new_sendTarget;
|
|
335
|
-
}, "
|
|
335
|
+
}, "h0", $scope2_id), () => {
|
|
336
336
|
_html(`<select${_attr_class("_fV")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
337
337
|
_for_of(sessions, (s) => {
|
|
338
338
|
const $scope3_id = _scope_id();
|
|
@@ -341,13 +341,13 @@ var diff_send_default = _template("g", (input) => {
|
|
|
341
341
|
}, "id", $scope2_id, "d", $sg__input_sessions, 1, $sg__input_sessions, "</select>", 1);
|
|
342
342
|
});
|
|
343
343
|
_html("</span>");
|
|
344
|
-
_script($scope2_id, "
|
|
344
|
+
_script($scope2_id, "h2");
|
|
345
345
|
writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
346
346
|
return 1;
|
|
347
347
|
}
|
|
348
348
|
}, $scope0_id, "d", 1, $sg__input_sessions, $sg__input_sessions, 0, 1);
|
|
349
349
|
_html("</span>");
|
|
350
|
-
_script($scope0_id, "
|
|
350
|
+
_script($scope0_id, "h3");
|
|
351
351
|
writeScope($scope0_id, {
|
|
352
352
|
h: input.onCopy,
|
|
353
353
|
i: input.onSend,
|
|
@@ -1803,7 +1803,7 @@ function clip(line, at, len) {
|
|
|
1803
1803
|
//#endregion
|
|
1804
1804
|
//#region src/tags/diff-find.marko
|
|
1805
1805
|
var setSearchPaint$1;
|
|
1806
|
-
var diff_find_default = _template("
|
|
1806
|
+
var diff_find_default = _template("g", (input) => {
|
|
1807
1807
|
const $scope0_reason = _scope_reason();
|
|
1808
1808
|
const $scope0_id = _scope_id();
|
|
1809
1809
|
let open = input.open;
|
|
@@ -1830,7 +1830,7 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1830
1830
|
hi = (i % list.length + list.length) % list.length;
|
|
1831
1831
|
const hit = list[hi];
|
|
1832
1832
|
setSearchPaint$1(q, hit);
|
|
1833
|
-
}, "
|
|
1833
|
+
}, "g1", $scope0_id);
|
|
1834
1834
|
const type = _resume((v) => {
|
|
1835
1835
|
if (!live.open) return;
|
|
1836
1836
|
query = v;
|
|
@@ -1841,7 +1841,7 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1841
1841
|
box.timer = 0;
|
|
1842
1842
|
emit(v, 0);
|
|
1843
1843
|
}, 80);
|
|
1844
|
-
}, "
|
|
1844
|
+
}, "g2", $scope0_id);
|
|
1845
1845
|
const next = _resume((dir) => {
|
|
1846
1846
|
if (!live.open) return;
|
|
1847
1847
|
if (box.timer) {
|
|
@@ -1849,7 +1849,7 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1849
1849
|
box.timer = 0;
|
|
1850
1850
|
}
|
|
1851
1851
|
emit(query || "", (at < 0 ? 0 : at) + dir);
|
|
1852
|
-
}, "
|
|
1852
|
+
}, "g3", $scope0_id);
|
|
1853
1853
|
const close = _resume(() => {
|
|
1854
1854
|
open = false;
|
|
1855
1855
|
live.open = false;
|
|
@@ -1858,7 +1858,7 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1858
1858
|
box.timer = 0;
|
|
1859
1859
|
}
|
|
1860
1860
|
setSearchPaint$1("", null);
|
|
1861
|
-
}, "
|
|
1861
|
+
}, "g4", $scope0_id);
|
|
1862
1862
|
const focusInput = _resume(() => {
|
|
1863
1863
|
const el = ((findEl) => findEl())(_el_read_error);
|
|
1864
1864
|
if (!el) return;
|
|
@@ -1868,13 +1868,13 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1868
1868
|
el.focus();
|
|
1869
1869
|
el.select();
|
|
1870
1870
|
}, 0);
|
|
1871
|
-
}, "
|
|
1872
|
-
_html(`<div${_attr_class(["
|
|
1871
|
+
}, "g5", $scope0_id);
|
|
1872
|
+
_html(`<div${_attr_class(["_e1", !open && "_e0"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
1873
1873
|
type(v);
|
|
1874
|
-
}, "
|
|
1875
|
-
_script($scope0_id, "
|
|
1876
|
-
_script($scope0_id, "
|
|
1877
|
-
_script($scope0_id, "
|
|
1874
|
+
}, "g0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_e4")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a")}`);
|
|
1875
|
+
_script($scope0_id, "g6");
|
|
1876
|
+
_script($scope0_id, "g7");
|
|
1877
|
+
_script($scope0_id, "g8");
|
|
1878
1878
|
writeScope($scope0_id, {
|
|
1879
1879
|
j: _serialize_if($scope0_reason, 1) && input.open,
|
|
1880
1880
|
k: _serialize_if($scope0_reason, 0) && input.openChange,
|
|
@@ -1904,12 +1904,12 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1904
1904
|
});
|
|
1905
1905
|
_resume_branch($scope0_id);
|
|
1906
1906
|
});
|
|
1907
|
-
var diff_file_default = _template("
|
|
1907
|
+
var diff_file_default = _template("f", (input) => {
|
|
1908
1908
|
_scope_reason();
|
|
1909
1909
|
const $scope0_id = _scope_id();
|
|
1910
|
-
_el($scope0_id, "
|
|
1911
|
-
_html(`<div${_attr_class(["
|
|
1912
|
-
_script($scope0_id, "
|
|
1910
|
+
_el($scope0_id, "f0");
|
|
1911
|
+
_html(`<div${_attr_class(["_fH", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
1912
|
+
_script($scope0_id, "f1");
|
|
1913
1913
|
writeScope($scope0_id, {
|
|
1914
1914
|
e: input.file,
|
|
1915
1915
|
f: input.comments,
|
|
@@ -1927,7 +1927,7 @@ var diff_file_default = _template("e", (input) => {
|
|
|
1927
1927
|
});
|
|
1928
1928
|
//#endregion
|
|
1929
1929
|
//#region src/tags/diff-tree.marko
|
|
1930
|
-
var diff_tree_default = _template("
|
|
1930
|
+
var diff_tree_default = _template("i", (input) => {
|
|
1931
1931
|
const $scope0_reason = _scope_reason(), $sg__input_sections = _serialize_guard($scope0_reason, 7), $sg__input_commentKeys__OR__input_sections = _serialize_guard($scope0_reason, 0), $si__input_sections = _serialize_if($scope0_reason, 7), $si__input_commentKeys = _serialize_if($scope0_reason, 6);
|
|
1932
1932
|
const $scope0_id = _scope_id();
|
|
1933
1933
|
const $collapsedDirs__closures = /* @__PURE__ */ new Set();
|
|
@@ -1948,8 +1948,8 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1948
1948
|
const $show = !collapsedRepos.has(section.id);
|
|
1949
1949
|
_show_start($show, 1);
|
|
1950
1950
|
const repoRows = treeRows(section.files);
|
|
1951
|
-
const dirKey = _resume((path) => `${section.id}/${path}`, "
|
|
1952
|
-
const rowDir = _resume((row) => row.kind === "dir" ? row.path : row.file.path.includes("/") ? row.file.path.slice(0, row.file.path.lastIndexOf("/")) : "", "
|
|
1951
|
+
const dirKey = _resume((path) => `${section.id}/${path}`, "i0", $scope2_id);
|
|
1952
|
+
const rowDir = _resume((row) => row.kind === "dir" ? row.path : row.file.path.includes("/") ? row.file.path.slice(0, row.file.path.lastIndexOf("/")) : "", "i1");
|
|
1953
1953
|
const hiddenByCollapse = _resume((row) => {
|
|
1954
1954
|
const dir = rowDir(row);
|
|
1955
1955
|
for (const collapsed of collapsedDirs) {
|
|
@@ -1961,14 +1961,14 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1961
1961
|
if (dir === path || dir.startsWith(`${path}/`)) return true;
|
|
1962
1962
|
}
|
|
1963
1963
|
return false;
|
|
1964
|
-
}, "
|
|
1964
|
+
}, "i2", $scope2_id);
|
|
1965
1965
|
_for_of(repoRows, (row) => {
|
|
1966
1966
|
const $scope3_id = _scope_id();
|
|
1967
1967
|
_if(() => {
|
|
1968
1968
|
if (!hiddenByCollapse(row) && row.kind === "dir") {
|
|
1969
1969
|
const $scope5_id = _scope_id();
|
|
1970
1970
|
_html(`<button type=button${_attr_class(["_f0", { ["_fW"]: collapsedDirs.has(dirKey(row.path)) }])}${_attr("title", row.path)}${_attr_style(`padding-left:${.35 + row.depth * .75}rem`)}><span${_attr_class("_f4")}>${collapsedDirs.has(dirKey(row.path)) ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_escape(row.label)}${_el_resume($scope5_id, "d", $sg__input_sections)}/</button>${_el_resume($scope5_id, "a")}`);
|
|
1971
|
-
_script($scope5_id, "
|
|
1971
|
+
_script($scope5_id, "i3");
|
|
1972
1972
|
_subscribe($si__input_sections && $if_content__dirKey__closures, _subscribe($collapsedDirs__closures, writeScope($scope5_id, { Cv: 1 })));
|
|
1973
1973
|
return 0;
|
|
1974
1974
|
} else if (!hiddenByCollapse(row) && row.kind !== "dir") {
|
|
@@ -1983,7 +1983,7 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1983
1983
|
}
|
|
1984
1984
|
}, $scope4_id, "f", $sg__input_commentKeys__OR__input_sections, $sg__input_commentKeys__OR__input_sections, $sg__input_commentKeys__OR__input_sections, 0, 1);
|
|
1985
1985
|
_html(`</button>${_el_resume($scope4_id, "a")}`);
|
|
1986
|
-
_script($scope4_id, "
|
|
1986
|
+
_script($scope4_id, "i4");
|
|
1987
1987
|
_subscribe($si__input_commentKeys && $commentKeys__closures, writeScope($scope4_id, {}));
|
|
1988
1988
|
return 1;
|
|
1989
1989
|
}
|
|
@@ -2011,7 +2011,7 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
2011
2011
|
}
|
|
2012
2012
|
}, $scope1_id, "f");
|
|
2013
2013
|
_html("</div>");
|
|
2014
|
-
_script($scope1_id, "
|
|
2014
|
+
_script($scope1_id, "i5");
|
|
2015
2015
|
writeScope($scope1_id, {
|
|
2016
2016
|
i: section?.id,
|
|
2017
2017
|
m: section?.files,
|
|
@@ -2038,7 +2038,7 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
2038
2038
|
});
|
|
2039
2039
|
//#endregion
|
|
2040
2040
|
//#region src/tags/diff-file-sheet.marko
|
|
2041
|
-
var diff_file_sheet_default = _template("
|
|
2041
|
+
var diff_file_sheet_default = _template("e", (input) => {
|
|
2042
2042
|
const $scope0_reason = _scope_reason(), $sg__input_total__OR__input_files_length = _serialize_guard($scope0_reason, 1), $sg__input_files = _serialize_guard($scope0_reason, 5), $sg__input_commentKeys__OR__input_files = _serialize_guard($scope0_reason, 0), $si__input_commentKeys = _serialize_if($scope0_reason, 4);
|
|
2043
2043
|
const $scope0_id = _scope_id();
|
|
2044
2044
|
const $commentKeys__closures = /* @__PURE__ */ new Set();
|
|
@@ -2048,10 +2048,10 @@ var diff_file_sheet_default = _template("d", (input) => {
|
|
|
2048
2048
|
_if(() => {
|
|
2049
2049
|
if (open) {
|
|
2050
2050
|
const $scope1_id = _scope_id();
|
|
2051
|
-
_html(`<div${_attr_class("
|
|
2051
|
+
_html(`<div${_attr_class("_fK")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_fL")} role=dialog aria-label="Jump to file"><div${_attr_class("_fM")}><strong${_attr_class("_fJ")}>Files</strong><span${_attr_class("_fN")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", _serialize_guard($scope0_reason, 6))}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "g", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class([iconBtnLg, "_fI"])} title=Close aria-label=Close>×</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_fO")}>`);
|
|
2052
2052
|
_for_of(input.files, (file) => {
|
|
2053
2053
|
const $scope2_id = _scope_id();
|
|
2054
|
-
_html(`<button type=button${_attr_class(["
|
|
2054
|
+
_html(`<button type=button${_attr_class(["_fP", "_u"])}><span${_attr_class("_fR")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope2_id, "c", $sg__input_files)}</span>${_el_resume($scope2_id, "b", $sg__input_files)}<span${_attr_class("_fQ")}${_attr("title", file.key)}><bdi>${_escape(file.key)}${_el_resume($scope2_id, "e", $sg__input_files)}</bdi></span>${_el_resume($scope2_id, "d", $sg__input_files)}`);
|
|
2055
2055
|
_if(() => {
|
|
2056
2056
|
if (commentKeys.has(file.key)) {
|
|
2057
2057
|
const $scope3_id = _scope_id();
|
|
@@ -2061,14 +2061,14 @@ var diff_file_sheet_default = _template("d", (input) => {
|
|
|
2061
2061
|
}
|
|
2062
2062
|
}, $scope2_id, "f", $sg__input_commentKeys__OR__input_files, $sg__input_commentKeys__OR__input_files, $sg__input_commentKeys__OR__input_files, 0, 1);
|
|
2063
2063
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
2064
|
-
_script($scope2_id, "
|
|
2064
|
+
_script($scope2_id, "e0");
|
|
2065
2065
|
_subscribe($si__input_commentKeys && $commentKeys__closures, writeScope($scope2_id, {
|
|
2066
2066
|
i: file?.key,
|
|
2067
2067
|
_: _scope_with_id($scope1_id)
|
|
2068
2068
|
}));
|
|
2069
2069
|
}, "key", $scope1_id, "i", $sg__input_files, $sg__input_files, $sg__input_files, "</div>", 1);
|
|
2070
2070
|
_html("</div>");
|
|
2071
|
-
_script($scope1_id, "
|
|
2071
|
+
_script($scope1_id, "e1");
|
|
2072
2072
|
writeScope($scope1_id, {});
|
|
2073
2073
|
return 0;
|
|
2074
2074
|
}
|
|
@@ -2093,8 +2093,8 @@ var api;
|
|
|
2093
2093
|
var getTermDims;
|
|
2094
2094
|
var revealSearchHit;
|
|
2095
2095
|
var setSearchPaint;
|
|
2096
|
-
var diff_view_default = _template("
|
|
2097
|
-
const $scope0_reason = _scope_reason(), $
|
|
2096
|
+
var diff_view_default = _template("j", (input) => {
|
|
2097
|
+
const $scope0_reason = _scope_reason(), $si__input_workspaceBranch = _serialize_if($scope0_reason, 6), $si__input_workspaceName = _serialize_if($scope0_reason, 7), $si__input_sessions = _serialize_if($scope0_reason, 5);
|
|
2098
2098
|
const $scope0_id = _scope_id();
|
|
2099
2099
|
const $error__closures = /* @__PURE__ */ new Set();
|
|
2100
2100
|
const $uncommitted__closures = /* @__PURE__ */ new Set();
|
|
@@ -2129,7 +2129,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2129
2129
|
let fileSheet = false;
|
|
2130
2130
|
let findOpen = input.findOpen;
|
|
2131
2131
|
let findTick = input.findTick || 0;
|
|
2132
|
-
const findFocusRef = input.findFocusRef || { focus: _resume(function() {}, "
|
|
2132
|
+
const findFocusRef = input.findFocusRef || { focus: _resume(function() {}, "j0") };
|
|
2133
2133
|
let findState = {
|
|
2134
2134
|
query: "",
|
|
2135
2135
|
hit: null,
|
|
@@ -2177,7 +2177,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2177
2177
|
cb();
|
|
2178
2178
|
}
|
|
2179
2179
|
});
|
|
2180
|
-
}, "
|
|
2180
|
+
}, "j1", $scope0_id);
|
|
2181
2181
|
const focusPrSection = _resume((pr) => {
|
|
2182
2182
|
if (!pr) return;
|
|
2183
2183
|
const list = repos || [];
|
|
@@ -2202,7 +2202,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2202
2202
|
root.scrollTo({ top: Math.max(0, top - 8) });
|
|
2203
2203
|
};
|
|
2204
2204
|
requestAnimationFrame(tryScroll);
|
|
2205
|
-
}, "
|
|
2205
|
+
}, "j2", $scope0_id);
|
|
2206
2206
|
const headBox = {
|
|
2207
2207
|
sig: "",
|
|
2208
2208
|
timer: 0
|
|
@@ -2229,7 +2229,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2229
2229
|
} finally {
|
|
2230
2230
|
if (seq === loadBox.seq) loading = false;
|
|
2231
2231
|
}
|
|
2232
|
-
}, "
|
|
2232
|
+
}, "j3", $scope0_id);
|
|
2233
2233
|
const sendGate = { busy: 0 };
|
|
2234
2234
|
const loadReview = _resume(async () => {
|
|
2235
2235
|
if (sendGate.busy) return;
|
|
@@ -2238,18 +2238,18 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2238
2238
|
if (sendGate.busy) return;
|
|
2239
2239
|
comments = reviewData.comments || [];
|
|
2240
2240
|
} catch {}
|
|
2241
|
-
}, "
|
|
2241
|
+
}, "j4", $scope0_id);
|
|
2242
2242
|
const reload = _resume(() => {
|
|
2243
2243
|
dismissedDrift = /* @__PURE__ */ new Set();
|
|
2244
2244
|
return load(uncommitted, true);
|
|
2245
|
-
}, "
|
|
2245
|
+
}, "j5", $scope0_id);
|
|
2246
2246
|
const reloadSoon = _resume(() => {
|
|
2247
2247
|
if (headBox.timer) clearTimeout(headBox.timer);
|
|
2248
2248
|
headBox.timer = setTimeout(() => {
|
|
2249
2249
|
headBox.timer = 0;
|
|
2250
2250
|
reload();
|
|
2251
2251
|
}, 250);
|
|
2252
|
-
}, "
|
|
2252
|
+
}, "j6", $scope0_id);
|
|
2253
2253
|
const repoList = repos || [];
|
|
2254
2254
|
const allFiles = repoList.flatMap((r) => r.files.map((f) => ({
|
|
2255
2255
|
...f,
|
|
@@ -2296,8 +2296,8 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2296
2296
|
const driftRepos = repoList.filter((r) => r.githubDrift && !dismissedDrift.has(r.id));
|
|
2297
2297
|
const dismissDrift = _resume(() => {
|
|
2298
2298
|
dismissedDrift = /* @__PURE__ */ new Set([...dismissedDrift, ...driftRepos.map((r) => r.id)]);
|
|
2299
|
-
}, "
|
|
2300
|
-
const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "
|
|
2299
|
+
}, "j7", $scope0_id);
|
|
2300
|
+
const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "j8");
|
|
2301
2301
|
const saveComment = _resume(async (file, text) => {
|
|
2302
2302
|
const range = draft;
|
|
2303
2303
|
draft = null;
|
|
@@ -2319,11 +2319,11 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2319
2319
|
} catch (err) {
|
|
2320
2320
|
error = String(err.message || err);
|
|
2321
2321
|
}
|
|
2322
|
-
}, "
|
|
2322
|
+
}, "j9", $scope0_id);
|
|
2323
2323
|
const removeComment = _resume(async (id) => {
|
|
2324
2324
|
comments = comments.filter((c) => c.id !== id);
|
|
2325
2325
|
await fetch(`/api/review-comments/${id}`, { method: "DELETE" });
|
|
2326
|
-
}, "
|
|
2326
|
+
}, "j10", $scope0_id);
|
|
2327
2327
|
const clearComments = _resume(async () => {
|
|
2328
2328
|
comments = [];
|
|
2329
2329
|
draft = null;
|
|
@@ -2332,7 +2332,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2332
2332
|
headers: { "content-type": "application/json" },
|
|
2333
2333
|
body: JSON.stringify({ action: "clear" })
|
|
2334
2334
|
});
|
|
2335
|
-
}, "
|
|
2335
|
+
}, "j11", $scope0_id);
|
|
2336
2336
|
const postToSession = _resume(async (list, sessionId) => {
|
|
2337
2337
|
if (!list.length) return;
|
|
2338
2338
|
await api(`/api/sessions/${sessionId}/send`, {
|
|
@@ -2343,15 +2343,15 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2343
2343
|
...getTermDims() || {}
|
|
2344
2344
|
})
|
|
2345
2345
|
});
|
|
2346
|
-
}, "
|
|
2346
|
+
}, "j12", $scope0_id);
|
|
2347
2347
|
const copyMarkdown = _resume(async () => {
|
|
2348
2348
|
if (!await copyText(commentMarkdown(comments, repos))) {
|
|
2349
|
-
error = "Copy failed
|
|
2349
|
+
error = "Copy failed: the clipboard needs HTTPS in this browser.";
|
|
2350
2350
|
return false;
|
|
2351
2351
|
}
|
|
2352
2352
|
await clearComments();
|
|
2353
2353
|
return true;
|
|
2354
|
-
}, "
|
|
2354
|
+
}, "j13", $scope0_id);
|
|
2355
2355
|
const sendTo = _resume(async (sessionId) => {
|
|
2356
2356
|
const batch = comments;
|
|
2357
2357
|
sendGate.busy++;
|
|
@@ -2370,7 +2370,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2370
2370
|
} finally {
|
|
2371
2371
|
sendGate.busy--;
|
|
2372
2372
|
}
|
|
2373
|
-
}, "
|
|
2373
|
+
}, "j14", $scope0_id);
|
|
2374
2374
|
const sendDraftComment = _resume(async (file, text, sessionId) => {
|
|
2375
2375
|
const range = draft;
|
|
2376
2376
|
if (!range) return;
|
|
@@ -2397,7 +2397,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2397
2397
|
} finally {
|
|
2398
2398
|
sendGate.busy--;
|
|
2399
2399
|
}
|
|
2400
|
-
}, "
|
|
2400
|
+
}, "j15", $scope0_id);
|
|
2401
2401
|
const sendOneComment = _resume(async (id, sessionId) => {
|
|
2402
2402
|
const comment = comments.find((c) => c.id === id);
|
|
2403
2403
|
if (!comment) return;
|
|
@@ -2412,20 +2412,20 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2412
2412
|
} finally {
|
|
2413
2413
|
sendGate.busy--;
|
|
2414
2414
|
}
|
|
2415
|
-
}, "
|
|
2415
|
+
}, "j16", $scope0_id);
|
|
2416
2416
|
const openFile = _resume((key) => {
|
|
2417
2417
|
const el = ((scrollEl) => scrollEl())(_el_read_error)?.querySelector(`details[data-key="${CSS.escape(key)}"]`);
|
|
2418
2418
|
if (el) el.open = true;
|
|
2419
2419
|
return el;
|
|
2420
|
-
}, "
|
|
2420
|
+
}, "j17", $scope0_id);
|
|
2421
2421
|
const jumpTo = _resume((key) => {
|
|
2422
2422
|
openFile(key)?.scrollIntoView({ block: "start" });
|
|
2423
|
-
}, "
|
|
2423
|
+
}, "j18", $scope0_id);
|
|
2424
2424
|
const openFind = _resume(() => {
|
|
2425
2425
|
findOpen = true;
|
|
2426
2426
|
findTick++;
|
|
2427
2427
|
findFocusRef.focus();
|
|
2428
|
-
}, "
|
|
2428
|
+
}, "j19", $scope0_id);
|
|
2429
2429
|
const onFindState = _resume((next) => {
|
|
2430
2430
|
findState = next;
|
|
2431
2431
|
if (!next.hit) return;
|
|
@@ -2444,38 +2444,37 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2444
2444
|
setSearchPaint(next.query, hit);
|
|
2445
2445
|
revealSearchHit();
|
|
2446
2446
|
}, 0);
|
|
2447
|
-
}, "
|
|
2448
|
-
_html(`<div${_attr_class("
|
|
2447
|
+
}, "j20", $scope0_id);
|
|
2448
|
+
_html(`<div${_attr_class("_d_")}><div${_attr_class("_ee")}><div${_attr_class(["_ef", { ["_eh"]: comments.length > 0 }])}><div${_attr_class("_er")}>`);
|
|
2449
2449
|
_if(() => {
|
|
2450
2450
|
if (input.onExit) {
|
|
2451
2451
|
const $scope1_id = _scope_id();
|
|
2452
|
-
_html(`<
|
|
2452
|
+
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_eg"])} title="Back to terminal (Esc)">`);
|
|
2453
2453
|
icon_back_default({ size: 14 });
|
|
2454
|
-
_html(`</
|
|
2455
|
-
|
|
2456
|
-
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
2454
|
+
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
2455
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 3) && _scope_with_id($scope0_id) });
|
|
2457
2456
|
return 0;
|
|
2458
2457
|
}
|
|
2459
|
-
}, $scope0_id, "e", $
|
|
2460
|
-
_html(`<h1${_attr_class("
|
|
2458
|
+
}, $scope0_id, "e", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 4), 1, 0, 1);
|
|
2459
|
+
_html(`<h1${_attr_class("_ej")}>Review</h1><div${_attr_class("_es")}>`);
|
|
2461
2460
|
_set_serialize_reason(2);
|
|
2462
2461
|
const $childScope = _peek_scope_id();
|
|
2463
2462
|
file_filter_default({
|
|
2464
2463
|
value: fileFilter,
|
|
2465
2464
|
valueChange: _resume((_new_fileFilter) => {
|
|
2466
2465
|
fileFilter = _new_fileFilter;
|
|
2467
|
-
}, "
|
|
2466
|
+
}, "j21", $scope0_id)
|
|
2468
2467
|
});
|
|
2469
|
-
_html(`</div><div${_attr_class("
|
|
2468
|
+
_html(`</div><div${_attr_class("_ei")}><span${_attr_class("_et")}>`);
|
|
2470
2469
|
_if(() => {
|
|
2471
2470
|
if (lineStats.additions || lineStats.deletions) {
|
|
2472
2471
|
const $scope27_id = _scope_id();
|
|
2473
|
-
_html(`<span${_attr_class("
|
|
2472
|
+
_html(`<span${_attr_class("_eu")}>+<!>${_escape(lineStats.additions)}${_el_resume($scope27_id, "b")}</span><span${_attr_class("_ev")}>−<!>${_escape(lineStats.deletions)}${_el_resume($scope27_id, "d")}</span>`);
|
|
2474
2473
|
writeScope($scope27_id, {});
|
|
2475
2474
|
return 0;
|
|
2476
2475
|
} else {
|
|
2477
2476
|
const $scope29_id = _scope_id();
|
|
2478
|
-
_html(`<span${_attr_class("
|
|
2477
|
+
_html(`<span${_attr_class("_ew")}>0</span>`);
|
|
2479
2478
|
writeScope($scope29_id, {});
|
|
2480
2479
|
return 1;
|
|
2481
2480
|
}
|
|
@@ -2483,7 +2482,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2483
2482
|
_if(() => {
|
|
2484
2483
|
if (comments.length) {
|
|
2485
2484
|
const $scope13_id = _scope_id();
|
|
2486
|
-
_html(`<span${_attr_class("
|
|
2485
|
+
_html(`<span${_attr_class("_ex")}>·</span>${_escape(comments.length)}${_el_resume($scope13_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope13_id, "c")}`);
|
|
2487
2486
|
writeScope($scope13_id, {});
|
|
2488
2487
|
return 0;
|
|
2489
2488
|
}
|
|
@@ -2492,7 +2491,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2492
2491
|
_if(() => {
|
|
2493
2492
|
if (comments.length) {
|
|
2494
2493
|
const $scope2_id = _scope_id();
|
|
2495
|
-
_set_serialize_reason(_serialize_guard($scope0_reason,
|
|
2494
|
+
_set_serialize_reason(_serialize_guard($scope0_reason, 5));
|
|
2496
2495
|
const $childScope2 = _peek_scope_id();
|
|
2497
2496
|
diff_send_default({
|
|
2498
2497
|
sessions: input.sessions,
|
|
@@ -2503,23 +2502,23 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2503
2502
|
return 0;
|
|
2504
2503
|
}
|
|
2505
2504
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
2506
|
-
_html(`</div><div${_attr_class("
|
|
2505
|
+
_html(`</div><div${_attr_class("_ed")}><button${_attr_class([
|
|
2507
2506
|
treeToggle,
|
|
2508
|
-
"
|
|
2509
|
-
{ ["
|
|
2507
|
+
"_eb",
|
|
2508
|
+
{ ["_ea"]: treeOpen }
|
|
2510
2509
|
])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
|
|
2511
2510
|
icon_sidebar_default({ size: 14 });
|
|
2512
|
-
_html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([iconBtnRow, "
|
|
2511
|
+
_html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([iconBtnRow, "_eb"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
2513
2512
|
_set_serialize_reason(1);
|
|
2514
2513
|
const $childScope3 = _peek_scope_id();
|
|
2515
2514
|
icon_refresh_default({
|
|
2516
2515
|
size: 14,
|
|
2517
|
-
class: loading && "
|
|
2516
|
+
class: loading && "_B"
|
|
2518
2517
|
});
|
|
2519
|
-
_html(`</button>${_el_resume($scope0_id, "q")}<button${_attr_class(["
|
|
2520
|
-
["
|
|
2521
|
-
["
|
|
2522
|
-
}])} aria-pressed=${uncommitted ? "true" : "false"} title=${uncommitted ? "\"Working tree
|
|
2518
|
+
_html(`</button>${_el_resume($scope0_id, "q")}<button${_attr_class(["_l", "_eY"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope0_id, "t")})</button>${_el_resume($scope0_id, "s")}<div${_attr_class("_ey")} role=group aria-label="Review scope"><button type=button${_attr_class(["_eA", { ["_ez"]: !uncommitted }])} aria-pressed=${!uncommitted ? "true" : "false"} title="Committed changes only (base…tip, no working-tree edits)"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(["_eA", { ["_ez"]: uncommitted }])} aria-pressed=${uncommitted ? "true" : "false"} title="Include uncommitted and untracked files in the working tree"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "w")}</div><button type=button${_attr_class(["_eB", {
|
|
2519
|
+
["_ez"]: uncommitted,
|
|
2520
|
+
["_1"]: uncommitted
|
|
2521
|
+
}])} aria-pressed=${uncommitted ? "true" : "false"} title=${uncommitted ? "\"Working tree, including uncommitted. Switch to committed only\"" : "\"Committed only. Switch to the working tree\""}${_attr("disabled", loading)}>${uncommitted ? "Working tree" : "Committed"}${_el_resume($scope0_id, "y")}</button>${_el_resume($scope0_id, "x")}<div${_attr_class(["_em", { ["_el"]: !findOpen }])}>`);
|
|
2523
2522
|
_set_serialize_reason(2);
|
|
2524
2523
|
const $childScope4 = _peek_scope_id();
|
|
2525
2524
|
diff_find_default({
|
|
@@ -2528,27 +2527,27 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2528
2527
|
open: findOpen,
|
|
2529
2528
|
openChange: _resume((_new_findOpen) => {
|
|
2530
2529
|
findOpen = _new_findOpen;
|
|
2531
|
-
}, "
|
|
2530
|
+
}, "j22", $scope0_id),
|
|
2532
2531
|
focusRef: findFocusRef,
|
|
2533
2532
|
stateChange: _resume(function(s) {
|
|
2534
2533
|
onFindState(s);
|
|
2535
|
-
}, "
|
|
2534
|
+
}, "j23", $scope0_id)
|
|
2536
2535
|
});
|
|
2537
2536
|
_html(`</div>${_el_resume($scope0_id, "z")}<button${_attr_class([
|
|
2538
2537
|
iconBtnRow,
|
|
2539
|
-
"
|
|
2540
|
-
"
|
|
2538
|
+
"_ek",
|
|
2539
|
+
"_eb"
|
|
2541
2540
|
])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
2542
2541
|
icon_search_default({ size: 14 });
|
|
2543
|
-
_html(`</button>${_el_resume($scope0_id, "a1")}</div></div>${_el_resume($scope0_id, "c")}<div${_attr_class("
|
|
2542
|
+
_html(`</button>${_el_resume($scope0_id, "a1")}</div></div>${_el_resume($scope0_id, "c")}<div${_attr_class("_ep")} data-diff-main>`);
|
|
2544
2543
|
_if(() => {
|
|
2545
2544
|
if (error) {
|
|
2546
2545
|
const $scope14_id = _scope_id();
|
|
2547
2546
|
toast_default({
|
|
2548
2547
|
onDismiss: _resume(function() {
|
|
2549
2548
|
error = null;
|
|
2550
|
-
}, "
|
|
2551
|
-
content: _content_resume("
|
|
2549
|
+
}, "j24", $scope14_id),
|
|
2550
|
+
content: _content_resume("j36", () => {
|
|
2552
2551
|
_scope_reason();
|
|
2553
2552
|
const $scope15_id = _scope_id();
|
|
2554
2553
|
_html(`${_escape(error)}${_el_resume($scope15_id, "a")}`);
|
|
@@ -2577,10 +2576,10 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2577
2576
|
kind: "warn",
|
|
2578
2577
|
placement: "inline",
|
|
2579
2578
|
title: `${repo.worktree}: base not found`,
|
|
2580
|
-
content: _content_resume("
|
|
2579
|
+
content: _content_resume("j37", () => {
|
|
2581
2580
|
_scope_reason();
|
|
2582
2581
|
const $scope20_id = _scope_id();
|
|
2583
|
-
_html(`${_escape(repo.base)}${_el_resume($scope20_id, "a")}<!>${uncommitted ? "
|
|
2582
|
+
_html(`${_escape(repo.base)}${_el_resume($scope20_id, "a")}<!>${uncommitted ? ", showing uncommitted changes only" : ""}${_el_resume($scope20_id, "b")}.`);
|
|
2584
2583
|
_subscribe($for_content3__repo_base__closures, _subscribe($uncommitted__closures, writeScope($scope20_id, { _: _scope_with_id($scope19_id) })));
|
|
2585
2584
|
_resume_branch($scope20_id);
|
|
2586
2585
|
}, $scope19_id)
|
|
@@ -2600,13 +2599,13 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2600
2599
|
kind: "info",
|
|
2601
2600
|
placement: "inline",
|
|
2602
2601
|
title: repo.pr ? `${repo.worktree} #${repo.pr.number}` : repo.worktree,
|
|
2603
|
-
content: _content_resume("
|
|
2602
|
+
content: _content_resume("j38", () => {
|
|
2604
2603
|
_scope_reason();
|
|
2605
2604
|
const $scope22_id = _scope_id();
|
|
2606
|
-
_html(`already in <!>${_escape(repo.base)}${_el_resume($scope22_id, "a")}<!>${uncommitted ? "
|
|
2605
|
+
_html(`already in <!>${_escape(repo.base)}${_el_resume($scope22_id, "a")}<!>${uncommitted ? ", showing uncommitted changes only" : ""}${_el_resume($scope22_id, "b")}.`);
|
|
2607
2606
|
_subscribe($for_content4__repo_base__closures, _subscribe($uncommitted__closures, writeScope($scope22_id, {
|
|
2608
2607
|
_: _scope_with_id($scope21_id),
|
|
2609
|
-
|
|
2608
|
+
Cdw: 1
|
|
2610
2609
|
})));
|
|
2611
2610
|
_resume_branch($scope22_id);
|
|
2612
2611
|
}, $scope21_id)
|
|
@@ -2628,25 +2627,25 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2628
2627
|
title: "GitHub is behind",
|
|
2629
2628
|
onDismiss: _resume(function() {
|
|
2630
2629
|
dismissDrift();
|
|
2631
|
-
}, "
|
|
2632
|
-
action: attrTag({ content: _content_resume("
|
|
2630
|
+
}, "j25", $scope16_id),
|
|
2631
|
+
action: attrTag({ content: _content_resume("j40", () => {
|
|
2633
2632
|
_scope_reason();
|
|
2634
2633
|
const $scope17_id = _scope_id();
|
|
2635
|
-
_html(`<button${_attr_class("
|
|
2636
|
-
_script($scope17_id, "
|
|
2634
|
+
_html(`<button${_attr_class("_l")}${_attr("disabled", loading)}>${loading ? "Reloading…" : "Reload"}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
|
|
2635
|
+
_script($scope17_id, "j39");
|
|
2637
2636
|
_subscribe($loading__closures, writeScope($scope17_id, { _: _scope_with_id($scope16_id) }));
|
|
2638
2637
|
_resume_branch($scope17_id);
|
|
2639
2638
|
}, $scope16_id) }),
|
|
2640
|
-
content: _content_resume("
|
|
2639
|
+
content: _content_resume("j41", () => {
|
|
2641
2640
|
_scope_reason();
|
|
2642
2641
|
const $scope28_id = _scope_id();
|
|
2643
|
-
_html(`<span${_attr_class("
|
|
2642
|
+
_html(`<span${_attr_class("_t")}>`);
|
|
2644
2643
|
_for_of(driftRepos, (repo, i) => {
|
|
2645
2644
|
const $scope31_id = _scope_id();
|
|
2646
2645
|
_html(`${i > 0 ? " · " : ""}${_el_resume($scope31_id, "a")}<!>${_escape(repo.worktree)}${_el_resume($scope31_id, "b")} #<!>${_escape(repo.pr.number)}${_el_resume($scope31_id, "c")}`);
|
|
2647
2646
|
writeScope($scope31_id, {});
|
|
2648
2647
|
}, "id", $scope28_id, "b");
|
|
2649
|
-
_html(`
|
|
2648
|
+
_html(` : this view has a newer tip than the PR page.</span><span${_attr_class(["_u", "_eq"])}>`);
|
|
2650
2649
|
_for_of(driftRepos, (repo, i) => {
|
|
2651
2650
|
const $scope32_id = _scope_id();
|
|
2652
2651
|
_html(`<span${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}`)}>${i > 0 ? " · " : ""}${_el_resume($scope32_id, "b")}<!>${_escape(shortSha(repo.head))}${_el_resume($scope32_id, "c")} → <!>${_escape(shortSha(repo.pr.headRefOid))}${_el_resume($scope32_id, "d")}</span>${_el_resume($scope32_id, "a")}`);
|
|
@@ -2672,13 +2671,13 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2672
2671
|
kind: "info",
|
|
2673
2672
|
placement: "inline",
|
|
2674
2673
|
title: `${repo.worktree} #${repo.pr.number}`,
|
|
2675
|
-
content: _content_resume("
|
|
2674
|
+
content: _content_resume("j42", () => {
|
|
2676
2675
|
_scope_reason();
|
|
2677
2676
|
const $scope24_id = _scope_id();
|
|
2678
2677
|
_html(`this view is <!>${_escape(shortSha(repo.head))}${_el_resume($scope24_id, "a")} (<!>${_escape(repo.pr.headRefName)}${_el_resume($scope24_id, "b")}). Local is <!>${_escape(shortSha(repo.localHead))}${_el_resume($scope24_id, "c")} (<!>${_escape(repo.branch)}${_el_resume($scope24_id, "d")}<!>${uncommitted ? ", plus uncommitted" : ""}${_el_resume($scope24_id, "e")}).`);
|
|
2679
2678
|
_subscribe($for_content5__repo_branch__closures, _subscribe($for_content5__repo_localHead__closures, _subscribe($for_content5__repo_pr_headRefName__closures, _subscribe($for_content5__repo_head__closures, _subscribe($uncommitted__closures, writeScope($scope24_id, {
|
|
2680
2679
|
_: _scope_with_id($scope23_id),
|
|
2681
|
-
|
|
2680
|
+
Cdw: 2
|
|
2682
2681
|
}))))));
|
|
2683
2682
|
_resume_branch($scope24_id);
|
|
2684
2683
|
}, $scope23_id)
|
|
@@ -2732,22 +2731,22 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2732
2731
|
_if(() => {
|
|
2733
2732
|
if (repoFiles.length || repo.pr) {
|
|
2734
2733
|
const $scope4_id = _scope_id();
|
|
2735
|
-
_html(`<section${_attr_class("
|
|
2734
|
+
_html(`<section${_attr_class("_eC")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownInRepo.length && !repo.pr && findState.hit?.repo !== repo.id)}>`);
|
|
2736
2735
|
_if(() => {
|
|
2737
2736
|
if (repoList.length > 1) {
|
|
2738
2737
|
const $scope5_id = _scope_id();
|
|
2739
2738
|
const repoCollapsed = collapsedRepos.has(repo.id);
|
|
2740
2739
|
const repoExpanding = expandingRepos.has(repo.id);
|
|
2741
|
-
_html(`<button type=button${_attr_class(["
|
|
2742
|
-
"
|
|
2743
|
-
!repoCollapsed && "
|
|
2744
|
-
repoExpanding && "
|
|
2740
|
+
_html(`<button type=button${_attr_class(["_eD", repoCollapsed && "_eE"])} aria-expanded=${!repoCollapsed ? "true" : "false"} aria-busy=${repoExpanding ? "true" : "false"}${repoCollapsed ? _attr("title", `Show ${shownInRepo.length || repoFiles.length} files`) : " title=\"Hide files\""}><span${_attr_class([
|
|
2741
|
+
"_eT",
|
|
2742
|
+
!repoCollapsed && "_eU",
|
|
2743
|
+
repoExpanding && "_eV"
|
|
2745
2744
|
])} aria-hidden=true>${repoCollapsed ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_el_resume($scope5_id, "b")}<span${_attr_class(repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope5_id, "e")}</span>`);
|
|
2746
2745
|
_if(() => {
|
|
2747
2746
|
if (repo.pr) {
|
|
2748
2747
|
const $scope33_id = _scope_id();
|
|
2749
|
-
_html(`<a${_attr_class(["
|
|
2750
|
-
_script($scope33_id, "
|
|
2748
|
+
_html(`<a${_attr_class(["_p", "_r"])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($scope33_id, "b")}</a>${_el_resume($scope33_id, "a")}<span${_attr_class(repoTitle)}>${_escape(repo.pr.title)}${_el_resume($scope33_id, "d")}</span>`);
|
|
2749
|
+
_script($scope33_id, "j43");
|
|
2751
2750
|
_subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr_title__closures, _subscribe($for_content__repo_pr_url__closures, _subscribe($for_content__repo_pr_number__closures, writeScope($scope33_id, {
|
|
2752
2751
|
Ca4: 2,
|
|
2753
2752
|
Ca5: 2,
|
|
@@ -2763,14 +2762,14 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2763
2762
|
}
|
|
2764
2763
|
}, $scope5_id, "f");
|
|
2765
2764
|
const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "", input.workspaceName || "");
|
|
2766
|
-
_html(`<span${_attr_class("
|
|
2765
|
+
_html(`<span${_attr_class("_eJ")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_F", "_eK"])}>${_escape(compare$1.base)}${_el_resume($scope5_id, "i")}</span><span${_attr_class(["_H", "_eM"])} aria-hidden=true>vs</span><span${_attr_class(["_F", "_eL"])}>${_escape(compare$1.head)}${_el_resume($scope5_id, "l")}</span>`);
|
|
2767
2766
|
_if(() => {
|
|
2768
2767
|
if (compare$1.topic) {
|
|
2769
2768
|
const $scope36_id = _scope_id();
|
|
2770
2769
|
_html(`<span${_attr_class([
|
|
2771
|
-
"
|
|
2770
|
+
"_F",
|
|
2772
2771
|
tone.accent,
|
|
2773
|
-
"
|
|
2772
|
+
"_eN"
|
|
2774
2773
|
])}>${_escape(compare$1.topic)}${_el_resume($scope36_id, "b")}</span>`);
|
|
2775
2774
|
writeScope($scope36_id, {});
|
|
2776
2775
|
return 0;
|
|
@@ -2780,31 +2779,31 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2780
2779
|
_if(() => {
|
|
2781
2780
|
if (localDifferIds.has(repo.id)) {
|
|
2782
2781
|
const $scope6_id = _scope_id();
|
|
2783
|
-
_html(`<span${_attr_class("
|
|
2782
|
+
_html(`<span${_attr_class("_p")}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(shortBranch(repo.branch, input.workspaceBranch || "", input.workspaceName || ""))}${_el_resume($scope6_id, "b")}</span>${_el_resume($scope6_id, "a")}`);
|
|
2784
2783
|
_subscribe($for_content__repo_localHead__closures, _subscribe($for_content__repo_branch__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope6_id, {
|
|
2785
|
-
|
|
2786
|
-
|
|
2784
|
+
Cdp: $si__input_workspaceBranch && 1,
|
|
2785
|
+
Cdq: $si__input_workspaceName && 1,
|
|
2787
2786
|
Caa: 1
|
|
2788
2787
|
})))));
|
|
2789
2788
|
return 0;
|
|
2790
2789
|
}
|
|
2791
2790
|
}, $scope5_id, "n", 1, 1, 1, 0, 1);
|
|
2792
|
-
_html(`<span${_attr_class("
|
|
2793
|
-
_script($scope5_id, "
|
|
2791
|
+
_html(`<span${_attr_class("_eG")}>${_escape(shownInRepo.length || repoFiles.length)}${_el_resume($scope5_id, "p")} file<!>${(shownInRepo.length || repoFiles.length) === 1 ? "" : "s"}${_el_resume($scope5_id, "q")}</span></button>${_el_resume($scope5_id, "a")}`);
|
|
2792
|
+
_script($scope5_id, "j44");
|
|
2794
2793
|
_subscribe($for_content__shownInRepo_length__closures, _subscribe($for_content__repoFiles_length__closures, _subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_pr_baseRefName__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_worktree__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, _subscribe($expandingRepos__closures, _subscribe($collapsedRepos__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope5_id, {
|
|
2795
2794
|
r: repoCollapsed,
|
|
2796
2795
|
t: repoExpanding,
|
|
2797
2796
|
a0: compare$1?.topic,
|
|
2798
|
-
|
|
2797
|
+
Ce1: 1
|
|
2799
2798
|
})))))))))))))))));
|
|
2800
2799
|
return 0;
|
|
2801
2800
|
} else {
|
|
2802
2801
|
const $scope7_id = _scope_id();
|
|
2803
|
-
_html(`<p${_attr_class("
|
|
2802
|
+
_html(`<p${_attr_class("_eI")}>`);
|
|
2804
2803
|
_if(() => {
|
|
2805
2804
|
if (repo.pr) {
|
|
2806
2805
|
const $scope35_id = _scope_id();
|
|
2807
|
-
_html(`<a${_attr_class(["
|
|
2806
|
+
_html(`<a${_attr_class(["_p", "_r"])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($scope35_id, "b")}</a>${_el_resume($scope35_id, "a")}<span${_attr_class("_t")}>${_escape(repo.pr.title)}${_el_resume($scope35_id, "d")}</span>`);
|
|
2808
2807
|
_subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr_title__closures, _subscribe($for_content__repo_pr_url__closures, _subscribe($for_content__repo_pr_number__closures, writeScope($scope35_id, {
|
|
2809
2808
|
Ca1: 1,
|
|
2810
2809
|
Ca2: 1,
|
|
@@ -2818,14 +2817,14 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2818
2817
|
}
|
|
2819
2818
|
}, $scope7_id, "b");
|
|
2820
2819
|
const compare$2 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "", input.workspaceName || "");
|
|
2821
|
-
_html(`<span${_attr_class("
|
|
2820
|
+
_html(`<span${_attr_class("_eJ")}${_attr("title", `${compare$2.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_F", "_eK"])}>${_escape(compare$2.base)}${_el_resume($scope7_id, "e")}</span><span${_attr_class(["_H", "_eM"])} aria-hidden=true>vs</span><span${_attr_class(["_F", "_eL"])}>${_escape(compare$2.head)}${_el_resume($scope7_id, "h")}</span>`);
|
|
2822
2821
|
_if(() => {
|
|
2823
2822
|
if (compare$2.topic) {
|
|
2824
2823
|
const $scope37_id = _scope_id();
|
|
2825
2824
|
_html(`<span${_attr_class([
|
|
2826
|
-
"
|
|
2825
|
+
"_F",
|
|
2827
2826
|
tone.accent,
|
|
2828
|
-
"
|
|
2827
|
+
"_eN"
|
|
2829
2828
|
])}>${_escape(compare$2.topic)}${_el_resume($scope37_id, "b")}</span>`);
|
|
2830
2829
|
writeScope($scope37_id, {});
|
|
2831
2830
|
return 0;
|
|
@@ -2835,10 +2834,10 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2835
2834
|
_if(() => {
|
|
2836
2835
|
if (localDifferIds.has(repo.id)) {
|
|
2837
2836
|
const $scope8_id = _scope_id();
|
|
2838
|
-
_html(`<span${_attr_class("
|
|
2837
|
+
_html(`<span${_attr_class("_p")}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(shortBranch(repo.branch, input.workspaceBranch || "", input.workspaceName || ""))}${_el_resume($scope8_id, "b")}</span>${_el_resume($scope8_id, "a")}`);
|
|
2839
2838
|
_subscribe($for_content__repo_localHead__closures, _subscribe($for_content__repo_branch__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope8_id, {
|
|
2840
|
-
|
|
2841
|
-
|
|
2839
|
+
Cdp: $si__input_workspaceBranch && 3,
|
|
2840
|
+
Cdq: $si__input_workspaceName && 3,
|
|
2842
2841
|
Caa: 3,
|
|
2843
2842
|
Cab: 1
|
|
2844
2843
|
})))));
|
|
@@ -2848,9 +2847,9 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2848
2847
|
_html("</p>");
|
|
2849
2848
|
_subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_pr_baseRefName__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope7_id, {
|
|
2850
2849
|
p: compare$2?.topic,
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2850
|
+
Cdp: $si__input_workspaceBranch && 2,
|
|
2851
|
+
Cdq: $si__input_workspaceName && 2,
|
|
2852
|
+
Ced: 1,
|
|
2854
2853
|
Cy: 1,
|
|
2855
2854
|
Cz: 1,
|
|
2856
2855
|
Ca4: 1,
|
|
@@ -2868,7 +2867,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2868
2867
|
const $scope9_id = _scope_id();
|
|
2869
2868
|
const $show = repoList.length === 1 || !collapsedRepos.has(repo.id);
|
|
2870
2869
|
_show_start($show);
|
|
2871
|
-
_html(`<div${_attr_class("
|
|
2870
|
+
_html(`<div${_attr_class("_eO")}>`);
|
|
2872
2871
|
_for_of(repoFiles, (file$1) => {
|
|
2873
2872
|
const $scope10_id = _scope_id();
|
|
2874
2873
|
const $for_content2__file__closures = /* @__PURE__ */ new Set();
|
|
@@ -2876,11 +2875,11 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2876
2875
|
const $for_content2__fileComments__closures = /* @__PURE__ */ new Set();
|
|
2877
2876
|
const fileComments = commentsByFile.get(file$1.key) || [];
|
|
2878
2877
|
let expanded = true;
|
|
2879
|
-
_html(`<details${_attr_details_or_dialog_open($scope10_id, "a", expanded)}${_attr_class(["
|
|
2878
|
+
_html(`<details${_attr_details_or_dialog_open($scope10_id, "a", expanded)}${_attr_class(["_eP", findState.hit?.key === file$1.key && "_en"])}${_attr("data-key", file$1.key)}${_attr("hidden", !shownKeySet.has(file$1.key))}><summary${_attr_class("_eR")}><span${_attr_class("_eW")}${_attr("data-status", file$1.status)}>${_escape(file$1.status)}${_el_resume($scope10_id, "d")}</span>${_el_resume($scope10_id, "c")}<span${_attr_class(["_eX", findState.hit?.key === file$1.key && findState.hit.line < 1 && "_eo"])}${_attr("title", file$1.path)}><bdi>${_escape(file$1.path)}${_el_resume($scope10_id, "f")}</bdi></span>${_el_resume($scope10_id, "e")}`);
|
|
2880
2879
|
_if(() => {
|
|
2881
2880
|
if (fileComments.length) {
|
|
2882
2881
|
const $scope38_id = _scope_id();
|
|
2883
|
-
_html(`<span${_attr_class("
|
|
2882
|
+
_html(`<span${_attr_class("_p")}>💬 <!>${_escape(fileComments.length)}${_el_resume($scope38_id, "b")}</span>`);
|
|
2884
2883
|
writeScope($scope38_id, {});
|
|
2885
2884
|
return 0;
|
|
2886
2885
|
}
|
|
@@ -2889,17 +2888,17 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2889
2888
|
_if(() => {
|
|
2890
2889
|
if (file$1.binary) {
|
|
2891
2890
|
const $scope39_id = _scope_id();
|
|
2892
|
-
_html(`<p${_attr_class(["
|
|
2891
|
+
_html(`<p${_attr_class(["_eZ", "_eQ"])}>binary file</p>`);
|
|
2893
2892
|
writeScope($scope39_id, {});
|
|
2894
2893
|
return 0;
|
|
2895
2894
|
} else if (file$1.tooLarge) {
|
|
2896
2895
|
const $scope40_id = _scope_id();
|
|
2897
|
-
_html(`<p${_attr_class(["
|
|
2896
|
+
_html(`<p${_attr_class(["_eZ", "_eQ"])}>file too large to display</p>`);
|
|
2898
2897
|
writeScope($scope40_id, {});
|
|
2899
2898
|
return 1;
|
|
2900
2899
|
} else if (file$1.old == null && file$1.new == null) {
|
|
2901
2900
|
const $scope41_id = _scope_id();
|
|
2902
|
-
_html(`<p${_attr_class(["
|
|
2901
|
+
_html(`<p${_attr_class(["_eZ", "_eQ"])}>file could not be read</p>`);
|
|
2903
2902
|
writeScope($scope41_id, {});
|
|
2904
2903
|
return 2;
|
|
2905
2904
|
} else {
|
|
@@ -2909,15 +2908,15 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2909
2908
|
_if(() => {
|
|
2910
2909
|
if (!forceNear) {
|
|
2911
2910
|
const $scope25_id = _scope_id();
|
|
2912
|
-
_html(`<div${_attr_class(["
|
|
2913
|
-
_script($scope25_id, "
|
|
2911
|
+
_html(`<div${_attr_class(["_eS", "_eQ"])}></div>${_el_resume($scope25_id, "a")}`);
|
|
2912
|
+
_script($scope25_id, "j45");
|
|
2914
2913
|
writeScope($scope25_id, {});
|
|
2915
2914
|
return 0;
|
|
2916
2915
|
} else {
|
|
2917
2916
|
const $scope12_id = _scope_id();
|
|
2918
2917
|
const $childScope9 = _peek_scope_id();
|
|
2919
2918
|
diff_file_default({
|
|
2920
|
-
class: "
|
|
2919
|
+
class: "_eQ",
|
|
2921
2920
|
file: file$1,
|
|
2922
2921
|
comments: fileComments,
|
|
2923
2922
|
draft: draft && draft.key === file$1.key ? draft : null,
|
|
@@ -2929,25 +2928,25 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2929
2928
|
start: Math.min(range.start, range.end),
|
|
2930
2929
|
end: Math.max(range.start, range.end)
|
|
2931
2930
|
};
|
|
2932
|
-
}, "
|
|
2931
|
+
}, "j26", $scope12_id),
|
|
2933
2932
|
onSaveComment: _resume(function(text) {
|
|
2934
2933
|
saveComment(file$1, text);
|
|
2935
|
-
}, "
|
|
2934
|
+
}, "j27", $scope12_id),
|
|
2936
2935
|
onSendDraft: _resume(function(text, sessionId) {
|
|
2937
2936
|
sendDraftComment(file$1, text, sessionId);
|
|
2938
|
-
}, "
|
|
2937
|
+
}, "j28", $scope12_id),
|
|
2939
2938
|
onCancelDraft: _resume(function() {
|
|
2940
2939
|
draft = null;
|
|
2941
|
-
}, "
|
|
2940
|
+
}, "j29", $scope12_id),
|
|
2942
2941
|
onDeleteComment: _resume(function(id) {
|
|
2943
2942
|
removeComment(id);
|
|
2944
|
-
}, "
|
|
2943
|
+
}, "j30", $scope12_id),
|
|
2945
2944
|
onSendComment: _resume(function(id, sessionId) {
|
|
2946
2945
|
sendOneComment(id, sessionId);
|
|
2947
|
-
}, "
|
|
2946
|
+
}, "j31", $scope12_id),
|
|
2948
2947
|
onError: _resume(function(message) {
|
|
2949
2948
|
error = message;
|
|
2950
|
-
}, "
|
|
2949
|
+
}, "j32", $scope12_id)
|
|
2951
2950
|
});
|
|
2952
2951
|
_subscribe($for_content2__fileComments__closures, _subscribe($for_content2__file_key__closures, _subscribe($for_content2__file__closures, _subscribe($sendOneComment2__closures, _subscribe($sendDraftComment2__closures, _subscribe($removeComment2__closures, _subscribe($saveComment2__closures, _subscribe($draft__closures, _subscribe($si__input_sessions && $input_sessions__closures, writeScope($scope12_id, { a: _existing_scope($childScope9) }))))))))));
|
|
2953
2952
|
return 1;
|
|
@@ -2956,13 +2955,13 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2956
2955
|
_subscribe($findState_hit_key__closures, writeScope($scope11_id, {
|
|
2957
2956
|
b: near,
|
|
2958
2957
|
c: forceNear,
|
|
2959
|
-
|
|
2958
|
+
Cdy: 1
|
|
2960
2959
|
}));
|
|
2961
2960
|
return 3;
|
|
2962
2961
|
}
|
|
2963
2962
|
}, $scope10_id, "h");
|
|
2964
2963
|
_html(`</details>${_el_resume($scope10_id, "a")}`);
|
|
2965
|
-
_script($scope10_id, "
|
|
2964
|
+
_script($scope10_id, "j46");
|
|
2966
2965
|
_subscribe($commentsByFile__closures, _subscribe($shownKeySet__closures, _subscribe($findState_hit_line__closures, _subscribe($findState_hit_key__closures, writeScope($scope10_id, {
|
|
2967
2966
|
j: file$1,
|
|
2968
2967
|
k: file$1?.key,
|
|
@@ -2980,8 +2979,8 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2980
2979
|
}, "key", $scope9_id, "b", 1, 1, 1, "</div>", 1);
|
|
2981
2980
|
_show_end($scope9_id, "c", $show, 1, 1, 0, 1);
|
|
2982
2981
|
_subscribe($for_content__repoFiles__closures, _subscribe($for_content__repo_id__closures, _subscribe($repoList_length__closures, _subscribe($collapsedRepos__closures, writeScope($scope9_id, {
|
|
2983
|
-
|
|
2984
|
-
|
|
2982
|
+
Ce1: 2,
|
|
2983
|
+
Ce6: 1,
|
|
2985
2984
|
Cy: 2
|
|
2986
2985
|
})))));
|
|
2987
2986
|
return 0;
|
|
@@ -3038,11 +3037,11 @@ var diff_view_default = _template("i", (input) => {
|
|
|
3038
3037
|
collapsedRepos,
|
|
3039
3038
|
collapsedReposChange: _resume((_new_collapsedRepos) => {
|
|
3040
3039
|
collapsedRepos = _new_collapsedRepos;
|
|
3041
|
-
}, "
|
|
3040
|
+
}, "j33", $scope0_id),
|
|
3042
3041
|
openedRepos,
|
|
3043
3042
|
openedReposChange: _resume((_new_openedRepos) => {
|
|
3044
3043
|
openedRepos = _new_openedRepos;
|
|
3045
|
-
}, "
|
|
3044
|
+
}, "j34", $scope0_id),
|
|
3046
3045
|
commentKeys,
|
|
3047
3046
|
onJump: jumpTo
|
|
3048
3047
|
});
|
|
@@ -3052,27 +3051,26 @@ var diff_view_default = _template("i", (input) => {
|
|
|
3052
3051
|
open: fileSheet,
|
|
3053
3052
|
openChange: _resume((_new_fileSheet) => {
|
|
3054
3053
|
fileSheet = _new_fileSheet;
|
|
3055
|
-
}, "
|
|
3054
|
+
}, "j35", $scope0_id),
|
|
3056
3055
|
files: shownFiles,
|
|
3057
3056
|
commentKeys,
|
|
3058
3057
|
total: allFiles.length,
|
|
3059
3058
|
onJump: jumpTo
|
|
3060
3059
|
});
|
|
3061
3060
|
_html("</div>");
|
|
3062
|
-
_script($scope0_id, "
|
|
3063
|
-
_script($scope0_id, "
|
|
3064
|
-
_script($scope0_id, "
|
|
3065
|
-
_script($scope0_id, "
|
|
3061
|
+
_script($scope0_id, "j47");
|
|
3062
|
+
_script($scope0_id, "j48");
|
|
3063
|
+
_script($scope0_id, "j49");
|
|
3064
|
+
_script($scope0_id, "j50");
|
|
3066
3065
|
writeScope($scope0_id, {
|
|
3067
|
-
ag: _serialize_if($scope0_reason,
|
|
3068
|
-
ah: _serialize_if($scope0_reason,
|
|
3066
|
+
ag: _serialize_if($scope0_reason, 2) && input.findOpen,
|
|
3067
|
+
ah: _serialize_if($scope0_reason, 1) && input.findOpenChange,
|
|
3069
3068
|
aj: input.findTick,
|
|
3070
3069
|
al: input.workspaceId,
|
|
3071
3070
|
am: input.focusPr,
|
|
3072
3071
|
an: input.active,
|
|
3073
3072
|
ao: input.focusNonce,
|
|
3074
3073
|
ap: input.onSent,
|
|
3075
|
-
aq: input.onExit,
|
|
3076
3074
|
ar: input.sessions,
|
|
3077
3075
|
as: input.workspaceBranch,
|
|
3078
3076
|
at: input.workspaceName,
|
|
@@ -3140,28 +3138,28 @@ var diff_view_default = _template("i", (input) => {
|
|
|
3140
3138
|
h: _existing_scope($childScope),
|
|
3141
3139
|
r: _existing_scope($childScope3),
|
|
3142
3140
|
a0: _existing_scope($childScope4),
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3141
|
+
dt: $error__closures,
|
|
3142
|
+
dw: $uncommitted__closures,
|
|
3143
|
+
du: $loading__closures,
|
|
3144
|
+
ee: $driftRepos__closures,
|
|
3145
|
+
dp: $si__input_workspaceBranch && $input_workspaceBranch__closures,
|
|
3146
|
+
dq: $si__input_workspaceName && $input_workspaceName__closures,
|
|
3147
|
+
e1: $collapsedRepos__closures,
|
|
3148
|
+
e3: $expandingRepos__closures,
|
|
3149
|
+
ed: $localDifferIds__closures,
|
|
3150
|
+
do: $si__input_sessions && $input_sessions__closures,
|
|
3151
|
+
ds: $draft__closures,
|
|
3152
|
+
eg: $saveComment2__closures,
|
|
3153
|
+
eh: $removeComment2__closures,
|
|
3154
|
+
ek: $sendDraftComment2__closures,
|
|
3155
|
+
el: $sendOneComment2__closures,
|
|
3156
|
+
dy: $findState_hit_key__closures,
|
|
3157
|
+
e0: $findState_hit_line__closures,
|
|
3158
|
+
e9: $shownKeySet__closures,
|
|
3159
|
+
ec: $commentsByFile__closures,
|
|
3160
|
+
e6: $repoList_length__closures,
|
|
3161
|
+
dz: $findState_hit_repo__closures,
|
|
3162
|
+
e2: $openedRepos__closures,
|
|
3165
3163
|
ac: _existing_scope($childScope10),
|
|
3166
3164
|
ad: _existing_scope($childScope11)
|
|
3167
3165
|
});
|