@dylanpiercey/work 0.0.64 → 0.0.66
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/dist/{_D4h268HL.js → _CLt6aKrh.js} +64 -45
- package/dist/{_ByG3GBnQ.js → _prItJCwP.js} +227 -224
- package/dist/index.mjs +2526 -2108
- package/dist/public/assets/_6zkzF93t.js +1 -0
- package/dist/public/assets/_6zkzF93t.js.br +0 -0
- package/dist/public/assets/{_Nmnye_1v2.js → _B05o73WT2.js} +1 -1
- package/dist/public/assets/_B05o73WT2.js.br +0 -0
- package/dist/public/assets/{_CaLmf9v_2.js → _B0k7NugC2.js} +1 -1
- package/dist/public/assets/_B0k7NugC2.js.br +0 -0
- package/dist/public/assets/{_CyFVU5mI.js → _B1EEc4qP.js} +1 -1
- package/dist/public/assets/_B1EEc4qP.js.br +0 -0
- package/dist/public/assets/{_QGeXhMMm.js → _B1mF3byy.js} +1 -1
- package/dist/public/assets/_B1mF3byy.js.br +0 -0
- package/dist/public/assets/{_CQ5YFSoz.js → _B5xui1fA.js} +1 -1
- package/dist/public/assets/_B5xui1fA.js.br +0 -0
- package/dist/public/assets/{_C6OJXRQI.js → _B8G3NoPj.js} +1 -1
- package/dist/public/assets/_B8G3NoPj.js.br +0 -0
- package/dist/public/assets/{_BB8x4GTA.js → _BD4oLAJs.js} +1 -1
- package/dist/public/assets/_BD4oLAJs.js.br +0 -0
- package/dist/public/assets/{_fyZQIdGC2.js → _BHfYUVf92.js} +1 -1
- package/dist/public/assets/_BQx2yI4L2.js +1 -0
- package/dist/public/assets/_BQx2yI4L2.js.br +0 -0
- package/dist/public/assets/_BS0vA9WC.js +1 -0
- package/dist/public/assets/_BS0vA9WC.js.br +0 -0
- package/dist/public/assets/{_ClsvLvq9.js → _BWVJscSb.js} +1 -1
- package/dist/public/assets/_BWVJscSb.js.br +0 -0
- package/dist/public/assets/{_CeOxF4LT.js → _BrmwzOnI.js} +1 -1
- package/dist/public/assets/_BrmwzOnI.js.br +0 -0
- package/dist/public/assets/{_BGLpZn66.js → _BsO1b3gk.js} +1 -1
- package/dist/public/assets/_BsO1b3gk.js.br +0 -0
- package/dist/public/assets/{_xVbSYHC1.js → _BskoQ_9N.js} +1 -1
- package/dist/public/assets/_BskoQ_9N.js.br +0 -0
- package/dist/public/assets/{_CELqAUa7.js → _Bu3F-JoI.js} +1 -1
- package/dist/public/assets/_Bu3F-JoI.js.br +0 -0
- package/dist/public/assets/{_BYylAsTA.js → _ByLRpoD8.js} +1 -1
- package/dist/public/assets/{_BXY6tRzK.js → _Bz51lZqR.js} +1 -1
- package/dist/public/assets/_Bz51lZqR.js.br +0 -0
- package/dist/public/assets/{_Bnwodjuf.js → _BzqAPgV-.js} +1 -1
- package/dist/public/assets/_BzqAPgV-.js.br +0 -0
- package/dist/public/assets/{_Bc8VjeFk2.js → _C4-16Peb2.js} +1 -1
- package/dist/public/assets/_C4-16Peb2.js.br +0 -0
- package/dist/public/assets/{_shu_NdEE.js → _C49UpI2x.js} +1 -1
- package/dist/public/assets/_C49UpI2x.js.br +0 -0
- package/dist/public/assets/{_BGv8AOWB.js → _C9OXLFHE.js} +1 -1
- package/dist/public/assets/_C9OXLFHE.js.br +0 -0
- package/dist/public/assets/{_DvzUNhWh2.js → _CCtam4vN2.js} +1 -1
- package/dist/public/assets/_CCtam4vN2.js.br +0 -0
- package/dist/public/assets/{_B4P5vBPb.js → _CCthH_iX.js} +1 -1
- package/dist/public/assets/_CCthH_iX.js.br +0 -0
- package/dist/public/assets/{_C6i1ekF42.js → _CHvHhxWd2.js} +1 -1
- package/dist/public/assets/_CHvHhxWd2.js.br +0 -0
- package/dist/public/assets/{_pjASEu__2.js → _CMW5tN5O2.js} +1 -1
- package/dist/public/assets/_CMW5tN5O2.js.br +0 -0
- package/dist/public/assets/{_DKF6tfmm2.js → _CPFyUv8c.js} +1 -1
- package/dist/public/assets/_CPFyUv8c.js.br +0 -0
- package/dist/public/assets/{_72K44f_h.js → _CPY9iUML.js} +1 -1
- package/dist/public/assets/_CPY9iUML.js.br +0 -0
- package/dist/public/assets/{_B9zB94hy.js → _CVsVJtsx2.js} +1 -1
- package/dist/public/assets/_CVsVJtsx2.js.br +0 -0
- package/dist/public/assets/{_D9FzQerH.js → _CXUgu159.js} +1 -1
- package/dist/public/assets/_CXUgu159.js.br +0 -0
- package/dist/public/assets/{_qD4lxfI_.js → _CaqW-zk5.js} +1 -1
- package/dist/public/assets/_CaqW-zk5.js.br +0 -0
- package/dist/public/assets/_CbWbEVg6.js +1 -0
- package/dist/public/assets/_CbWbEVg6.js.br +0 -0
- package/dist/public/assets/_Cdheecpj.js +1 -0
- package/dist/public/assets/_Cdheecpj.js.br +0 -0
- package/dist/public/assets/{_p-UGLikC.js → _CnuCerLV.js} +1 -1
- package/dist/public/assets/_CnuCerLV.js.br +0 -0
- package/dist/public/assets/{_WEEnryDw.js → _CqVqqLWQ.js} +1 -1
- package/dist/public/assets/_CqVqqLWQ.js.br +0 -0
- package/dist/public/assets/{_65H_kIjK.js → _CuKBxxEj.js} +1 -1
- package/dist/public/assets/_CuKBxxEj.js.br +0 -0
- package/dist/public/assets/_CusaLcB32.js +1 -0
- package/dist/public/assets/_CusaLcB32.js.br +0 -0
- package/dist/public/assets/_CxfdAeEw2.js +1 -0
- package/dist/public/assets/_CxfdAeEw2.js.br +0 -0
- package/dist/public/assets/{_D8H9ELrD.js → _D-NX3TNd.js} +1 -1
- package/dist/public/assets/_D-NX3TNd.js.br +0 -0
- package/dist/public/assets/{_BAr_CSvD.js → _D7CRrNvF.js} +1 -1
- package/dist/public/assets/_D7CRrNvF.js.br +0 -0
- package/dist/public/assets/{_B0FsfqEm.js → _D816eq_5.js} +1 -1
- package/dist/public/assets/_D816eq_5.js.br +0 -0
- package/dist/public/assets/_D9saMO33.js +1 -0
- package/dist/public/assets/_D9saMO33.js.br +0 -0
- package/dist/public/assets/{_B2jIVPhB.js → _DDlrIXcy.js} +1 -1
- package/dist/public/assets/_DDlrIXcy.js.br +0 -0
- package/dist/public/assets/{_ByQr15Ol.js → _DNEFW33V.js} +1 -1
- package/dist/public/assets/_DNEFW33V.js.br +0 -0
- package/dist/public/assets/_DNX2C5WJ2.js +1 -0
- package/dist/public/assets/_DNX2C5WJ2.js.br +0 -0
- package/dist/public/assets/{_BjGw33mr2.js → _DQUq9TzX2.js} +1 -1
- package/dist/public/assets/_DQUq9TzX2.js.br +0 -0
- package/dist/public/assets/{_Cr7e9j-6.js → _DTKF7fNw.js} +1 -1
- package/dist/public/assets/_DTKF7fNw.js.br +0 -0
- package/dist/public/assets/{_EoDv3B2A.js → _DV7j4cO7.js} +1 -1
- package/dist/public/assets/_DV7j4cO7.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/_DYzEbPN62.js +1 -0
- package/dist/public/assets/_DYzEbPN62.js.br +0 -0
- package/dist/public/assets/{_6Myj1hK42.js → _DaJqwjNP2.js} +1 -1
- package/dist/public/assets/_DaJqwjNP2.js.br +0 -0
- package/dist/public/assets/{_BlBM-IPW.js → _DcprnWO8.js} +1 -1
- package/dist/public/assets/_DcprnWO8.js.br +0 -0
- package/dist/public/assets/{_B675zlkV.js → _DgRqz5gW.js} +1 -1
- package/dist/public/assets/_DgRqz5gW.js.br +0 -0
- package/dist/public/assets/{_BUEsgS4s.js → _DmiiHlMw.js} +1 -1
- package/dist/public/assets/_DmiiHlMw.js.br +0 -0
- package/dist/public/assets/{_6VYAvwvG2.js → _DoPHUocN2.js} +1 -1
- package/dist/public/assets/_DoPHUocN2.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/{_CqhZzk-Q2.js → _DuRPosDU2.js} +1 -1
- package/dist/public/assets/_DuRPosDU2.js.br +0 -0
- package/dist/public/assets/_DuYhjVLw.js +1 -0
- package/dist/public/assets/_DuYhjVLw.js.br +0 -0
- package/dist/public/assets/{_CXIiF1dy.js → _HzkUNjYF.js} +1 -1
- package/dist/public/assets/_HzkUNjYF.js.br +0 -0
- package/dist/public/assets/{_CtQra8T02.js → _ILiR5QWb2.js} +1 -1
- package/dist/public/assets/_ILiR5QWb2.js.br +0 -0
- package/dist/public/assets/_PuhXJ75Y2.js +1 -0
- package/dist/public/assets/_PuhXJ75Y2.js.br +0 -0
- package/dist/public/assets/{_B36I-e1O.js → _TGf7nf1b.js} +1 -1
- package/dist/public/assets/_TGf7nf1b.js.br +0 -0
- package/dist/public/assets/{_Dw8kHrnm.js → _Uj1o8NRL.js} +1 -1
- package/dist/public/assets/_Uj1o8NRL.js.br +0 -0
- package/dist/public/assets/{_D_R54hG22.js → _WP2Lc15n2.js} +1 -1
- package/dist/public/assets/{_Gx1ovPtL.js → _bN6AHjz72.js} +1 -1
- package/dist/public/assets/_bN6AHjz72.js.br +0 -0
- package/dist/public/assets/{_ChYx4fuj.js → _d0SVuxND.js} +1 -1
- package/dist/public/assets/_d0SVuxND.js.br +0 -0
- package/dist/public/assets/{_DtD9G9S42.js → _dh9Nkmu2.js} +1 -1
- package/dist/public/assets/_dh9Nkmu2.js.br +0 -0
- package/dist/public/assets/{_CDBu-zyP.js → _e-tg77rn.js} +1 -1
- package/dist/public/assets/_e-tg77rn.js.br +0 -0
- package/dist/public/assets/{_C4L-8mN9.js → _jOq05NWI.js} +1 -1
- package/dist/public/assets/_jOq05NWI.js.br +0 -0
- package/dist/public/assets/{_C0b7auhW2.js → _jR8RP1Ko2.js} +1 -1
- package/dist/public/assets/_jR8RP1Ko2.js.br +0 -0
- package/dist/public/assets/{_CQQncEWM.js → _kh47s6nR.js} +1 -1
- package/dist/public/assets/_kh47s6nR.js.br +0 -0
- package/dist/public/assets/{_fTU9kouy2.js → _mcTiUg5Q.js} +1 -1
- package/dist/public/assets/_mcTiUg5Q.js.br +0 -0
- package/dist/public/assets/{_DwCYtjJB2.js → _opBVTnU5.js} +1 -1
- package/dist/public/assets/_opBVTnU5.js.br +0 -0
- package/dist/public/assets/{_CBMt4SVC.js → _r0Ipkhml2.js} +1 -1
- package/dist/public/assets/_r0Ipkhml2.js.br +0 -0
- package/dist/public/assets/_rZXmOaG32.js +1 -0
- package/dist/public/assets/_rZXmOaG32.js.br +0 -0
- package/dist/public/assets/{_C3qyrcO9.js → _vRoufqCj.js} +45 -45
- package/dist/public/assets/_vRoufqCj.js.br +0 -0
- package/dist/public/assets/{_BQwUqJm0.js → _w1EhXX_8.js} +1 -1
- package/dist/public/assets/_w1EhXX_8.js.br +0 -0
- package/dist/public/assets/_wN6_cR73.js +85 -0
- package/dist/public/assets/_wN6_cR73.js.br +0 -0
- package/dist/public/assets/app-page-DASXpmZa.css +1 -0
- package/dist/public/assets/app-page-DASXpmZa.css.br +0 -0
- package/dist/public/assets/diff-view-DsPD6PLr.css +1 -0
- package/dist/public/assets/diff-view-DsPD6PLr.css.br +0 -0
- package/dist/public/assets/new-DYa0KZD7.js +1 -0
- package/dist/public/assets/settings-DYa0KZD7.js +1 -0
- package/dist/public/assets/w-DYa0KZD7.js +1 -0
- package/dist/public/assets/w._-CN7l1nb6.js +1 -0
- package/dist/public/assets/w._-DYa0KZD7.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_65H_kIjK.js.br +0 -0
- package/dist/public/assets/_6Myj1hK42.js.br +0 -0
- package/dist/public/assets/_6VYAvwvG2.js.br +0 -0
- package/dist/public/assets/_72K44f_h.js.br +0 -0
- package/dist/public/assets/_83k-11-P2.js +0 -1
- package/dist/public/assets/_83k-11-P2.js.br +0 -0
- package/dist/public/assets/_B-8Z8oIY.js +0 -1
- package/dist/public/assets/_B-8Z8oIY.js.br +0 -0
- package/dist/public/assets/_B0FsfqEm.js.br +0 -0
- package/dist/public/assets/_B2jIVPhB.js.br +0 -0
- package/dist/public/assets/_B36I-e1O.js.br +0 -0
- package/dist/public/assets/_B4P5vBPb.js.br +0 -0
- package/dist/public/assets/_B675zlkV.js.br +0 -0
- package/dist/public/assets/_B9zB94hy.js.br +0 -0
- package/dist/public/assets/_BAr_CSvD.js.br +0 -0
- package/dist/public/assets/_BB8x4GTA.js.br +0 -0
- package/dist/public/assets/_BGLpZn66.js.br +0 -0
- package/dist/public/assets/_BGv8AOWB.js.br +0 -0
- package/dist/public/assets/_BLABN4kn.js +0 -1
- package/dist/public/assets/_BLABN4kn.js.br +0 -0
- package/dist/public/assets/_BQwUqJm0.js.br +0 -0
- package/dist/public/assets/_BUEsgS4s.js.br +0 -0
- package/dist/public/assets/_BXY6tRzK.js.br +0 -0
- package/dist/public/assets/_Bc8VjeFk2.js.br +0 -0
- package/dist/public/assets/_BiiQtd9c.js +0 -1
- package/dist/public/assets/_BiiQtd9c.js.br +0 -0
- package/dist/public/assets/_BjGw33mr2.js.br +0 -0
- package/dist/public/assets/_BlBM-IPW.js.br +0 -0
- package/dist/public/assets/_Bnwodjuf.js.br +0 -0
- package/dist/public/assets/_ByQr15Ol.js.br +0 -0
- package/dist/public/assets/_C-KRN5dY2.js +0 -1
- package/dist/public/assets/_C-KRN5dY2.js.br +0 -0
- package/dist/public/assets/_C0b7auhW2.js.br +0 -0
- package/dist/public/assets/_C3qyrcO9.js.br +0 -0
- package/dist/public/assets/_C4L-8mN9.js.br +0 -0
- package/dist/public/assets/_C6OJXRQI.js.br +0 -0
- package/dist/public/assets/_C6i1ekF42.js.br +0 -0
- package/dist/public/assets/_CBMt4SVC.js.br +0 -0
- package/dist/public/assets/_CDBu-zyP.js.br +0 -0
- package/dist/public/assets/_CELqAUa7.js.br +0 -0
- package/dist/public/assets/_CQ5YFSoz.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/_CQQncEWM.js.br +0 -0
- package/dist/public/assets/_CXIiF1dy.js.br +0 -0
- package/dist/public/assets/_CaLmf9v_2.js.br +0 -0
- package/dist/public/assets/_CeOxF4LT.js.br +0 -0
- package/dist/public/assets/_ChYx4fuj.js.br +0 -0
- package/dist/public/assets/_ClsvLvq9.js.br +0 -0
- package/dist/public/assets/_CqhZzk-Q2.js.br +0 -0
- package/dist/public/assets/_Cr7e9j-6.js.br +0 -0
- package/dist/public/assets/_CtQra8T02.js.br +0 -0
- package/dist/public/assets/_CyFVU5mI.js.br +0 -0
- package/dist/public/assets/_D8H9ELrD.js.br +0 -0
- package/dist/public/assets/_D9FzQerH.js.br +0 -0
- package/dist/public/assets/_DKF6tfmm2.js.br +0 -0
- package/dist/public/assets/_DOJFehKz2.js +0 -1
- package/dist/public/assets/_DOJFehKz2.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/_DX_MU9Ip2.js +0 -1
- package/dist/public/assets/_DX_MU9Ip2.js.br +0 -0
- package/dist/public/assets/_Dpc4pIai.js +0 -1
- package/dist/public/assets/_Dpc4pIai.js.br +0 -0
- package/dist/public/assets/_DqAeQk4f2.js +0 -1
- package/dist/public/assets/_DqAeQk4f2.js.br +0 -0
- package/dist/public/assets/_DtD9G9S42.js.br +0 -0
- package/dist/public/assets/_DvzUNhWh2.js.br +0 -0
- package/dist/public/assets/_Dw8kHrnm.js.br +0 -0
- package/dist/public/assets/_DwCYtjJB2.js.br +0 -0
- package/dist/public/assets/_EoDv3B2A.js.br +0 -0
- package/dist/public/assets/_Gx1ovPtL.js.br +0 -0
- package/dist/public/assets/_Nmnye_1v2.js.br +0 -0
- package/dist/public/assets/_QGeXhMMm.js.br +0 -0
- package/dist/public/assets/_VnlUe4Rf.js +0 -1
- package/dist/public/assets/_VnlUe4Rf.js.br +0 -0
- package/dist/public/assets/_WEEnryDw.js.br +0 -0
- package/dist/public/assets/_fTU9kouy2.js.br +0 -0
- package/dist/public/assets/_hEhKGFAi.js +0 -1
- package/dist/public/assets/_hEhKGFAi.js.br +0 -0
- package/dist/public/assets/_p-UGLikC.js.br +0 -0
- package/dist/public/assets/_pX9ul4kg2.js +0 -1
- package/dist/public/assets/_pX9ul4kg2.js.br +0 -0
- package/dist/public/assets/_pjASEu__2.js.br +0 -0
- package/dist/public/assets/_qD4lxfI_.js.br +0 -0
- package/dist/public/assets/_shu_NdEE.js.br +0 -0
- package/dist/public/assets/_xVbSYHC1.js.br +0 -0
- package/dist/public/assets/_z4329J00.js +0 -1
- package/dist/public/assets/_z4329J00.js.br +0 -0
- package/dist/public/assets/diff-view-DvND0FJi.css +0 -1
- package/dist/public/assets/diff-view-DvND0FJi.css.br +0 -0
- package/dist/public/assets/index-BAolJTj4.css +0 -1
- package/dist/public/assets/index-BAolJTj4.css.br +0 -0
- package/dist/public/assets/index-CPfPckDD.js +0 -85
- package/dist/public/assets/index-CPfPckDD.js.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 {
|
|
1
|
+
import { $ as _for_of, B as _attr_style, E as iconBtnRow, Et as writeScope, F as _attr_details_or_dialog_open, G as _content_resume, I as _attr_input_value, J as _el_read_error, L as _attr_option_value, N as _attr, P as _attr_class, T as iconBtnLg, X as _escape, Y as _el_resume, Z as _existing_scope, _ as toast_default, _t as _show_start, a as diffUncommitted, at as _peek_scope_id, b as repoLabel, ct as _scope_id, d as icon_search_default, dt as _script, f as icon_back_default, ft as _sep, gt as _show_end, ht as _set_serialize_reason, i as diffTreeOpen, it as _if, j as tone, l as fuzzy, lt as _scope_reason, mt as _serialize_if, n as findInput, nt as _html, ot as _resume, p as icon_refresh_default, pt as _serialize_guard, q as _el, r as icon_sidebar_default, st as _resume_branch, t as findIconBtn, ut as _scope_with_id, v as icon_xmark_default, vt as _subscribe, wt as attrTag, yt as _template, z as _attr_select_value } from "./_CLt6aKrh.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
|
|
@@ -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 = "_ea _X _g";
|
|
264
|
+
var repoWorktree = "_eD _u";
|
|
265
|
+
var repoTitle = "_eF _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,28 +312,28 @@ 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("
|
|
322
|
+
_html(`<span${_attr_class("_fh")}><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("
|
|
332
|
+
_html(`<span${_attr_class("_fi")}><button type=button${_attr_class(["_m", "_fj"])}${_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
|
-
}, "
|
|
336
|
-
_html(`<select${_attr_class("
|
|
335
|
+
}, "h0", $scope2_id), () => {
|
|
336
|
+
_html(`<select${_attr_class("_fk")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
337
337
|
_for_of(sessions, (s) => {
|
|
338
338
|
const $scope3_id = _scope_id();
|
|
339
339
|
_html(`<option${_attr_option_value(s.id)}>${_escape(s.title || s.agent)}${_el_resume($scope3_id, "b", $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
|
|
@@ -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,48 +1868,51 @@ 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(["_e2", !open && "_e1"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
1873
1873
|
type(v);
|
|
1874
|
-
}, "
|
|
1875
|
-
|
|
1876
|
-
|
|
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("_e5")}>${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"}>`);
|
|
1875
|
+
icon_xmark_default({ size: 14 });
|
|
1876
|
+
_html(`</button>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a")}`);
|
|
1877
|
+
_script($scope0_id, "g6");
|
|
1878
|
+
_script($scope0_id, "g7");
|
|
1879
|
+
_script($scope0_id, "g8");
|
|
1878
1880
|
writeScope($scope0_id, {
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1881
|
+
k: _serialize_if($scope0_reason, 1) && input.open,
|
|
1882
|
+
l: _serialize_if($scope0_reason, 0) && input.openChange,
|
|
1883
|
+
n: _serialize_if($scope0_reason, 3) && input.query,
|
|
1884
|
+
o: _serialize_if($scope0_reason, 2) && input.queryChange,
|
|
1885
|
+
q: _serialize_if($scope0_reason, 5) && input.state,
|
|
1886
|
+
r: _serialize_if($scope0_reason, 4) && input.stateChange,
|
|
1887
|
+
t: input.files,
|
|
1888
|
+
u: input.focusRef,
|
|
1889
|
+
v: input.tick,
|
|
1890
|
+
w: open,
|
|
1891
|
+
y: query,
|
|
1892
|
+
a1: hi,
|
|
1893
|
+
a3: hits?.length,
|
|
1894
|
+
a6: at,
|
|
1895
|
+
a9: live.open,
|
|
1896
|
+
ac: box.timer,
|
|
1897
|
+
ae: box.tick,
|
|
1898
|
+
af: box.wasOpen,
|
|
1899
|
+
ag: emit,
|
|
1900
|
+
aj: type,
|
|
1901
|
+
al: next,
|
|
1902
|
+
am: close,
|
|
1903
|
+
an: focusInput,
|
|
1904
|
+
x: input.openChange || void 0,
|
|
1905
|
+
z: input.queryChange || void 0,
|
|
1906
|
+
p: input.stateChange || void 0
|
|
1904
1907
|
});
|
|
1905
1908
|
_resume_branch($scope0_id);
|
|
1906
1909
|
});
|
|
1907
|
-
var diff_file_default = _template("
|
|
1910
|
+
var diff_file_default = _template("f", (input) => {
|
|
1908
1911
|
_scope_reason();
|
|
1909
1912
|
const $scope0_id = _scope_id();
|
|
1910
|
-
_el($scope0_id, "
|
|
1911
|
-
_html(`<div${_attr_class(["
|
|
1912
|
-
_script($scope0_id, "
|
|
1913
|
+
_el($scope0_id, "f0");
|
|
1914
|
+
_html(`<div${_attr_class(["_fl", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
1915
|
+
_script($scope0_id, "f1");
|
|
1913
1916
|
writeScope($scope0_id, {
|
|
1914
1917
|
e: input.file,
|
|
1915
1918
|
f: input.comments,
|
|
@@ -1927,7 +1930,7 @@ var diff_file_default = _template("e", (input) => {
|
|
|
1927
1930
|
});
|
|
1928
1931
|
//#endregion
|
|
1929
1932
|
//#region src/tags/diff-tree.marko
|
|
1930
|
-
var diff_tree_default = _template("
|
|
1933
|
+
var diff_tree_default = _template("i", (input) => {
|
|
1931
1934
|
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
1935
|
const $scope0_id = _scope_id();
|
|
1933
1936
|
const $collapsedDirs__closures = /* @__PURE__ */ new Set();
|
|
@@ -1937,10 +1940,10 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1937
1940
|
let openedRepos = input.openedRepos;
|
|
1938
1941
|
let collapsedDirs = /* @__PURE__ */ new Set();
|
|
1939
1942
|
const commentKeys = input.commentKeys || /* @__PURE__ */ new Set();
|
|
1940
|
-
_html(`<aside${_attr_class(["
|
|
1943
|
+
_html(`<aside${_attr_class(["_fx", { ["_fw"]: input.open === false }])}>`);
|
|
1941
1944
|
_for_of(input.sections, (section) => {
|
|
1942
1945
|
const $scope1_id = _scope_id();
|
|
1943
|
-
_html(`<div${_attr_class("
|
|
1946
|
+
_html(`<div${_attr_class("_fy")}><button type=button${_attr_class(["_fz", { ["_fw"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_fE")}>${collapsedRepos.has(section.id) ? "▸" : "▾"}${_el_resume($scope1_id, "d")}</span>${_sep($sg__input_sections)}${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</button>${_el_resume($scope1_id, "b")}`);
|
|
1944
1947
|
_if(() => {
|
|
1945
1948
|
if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
|
|
1946
1949
|
const $scope2_id = _scope_id();
|
|
@@ -1948,8 +1951,8 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1948
1951
|
const $show = !collapsedRepos.has(section.id);
|
|
1949
1952
|
_show_start($show, 1);
|
|
1950
1953
|
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("/")) : "", "
|
|
1954
|
+
const dirKey = _resume((path) => `${section.id}/${path}`, "i0", $scope2_id);
|
|
1955
|
+
const rowDir = _resume((row) => row.kind === "dir" ? row.path : row.file.path.includes("/") ? row.file.path.slice(0, row.file.path.lastIndexOf("/")) : "", "i1");
|
|
1953
1956
|
const hiddenByCollapse = _resume((row) => {
|
|
1954
1957
|
const dir = rowDir(row);
|
|
1955
1958
|
for (const collapsed of collapsedDirs) {
|
|
@@ -1961,29 +1964,29 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1961
1964
|
if (dir === path || dir.startsWith(`${path}/`)) return true;
|
|
1962
1965
|
}
|
|
1963
1966
|
return false;
|
|
1964
|
-
}, "
|
|
1967
|
+
}, "i2", $scope2_id);
|
|
1965
1968
|
_for_of(repoRows, (row) => {
|
|
1966
1969
|
const $scope3_id = _scope_id();
|
|
1967
1970
|
_if(() => {
|
|
1968
1971
|
if (!hiddenByCollapse(row) && row.kind === "dir") {
|
|
1969
1972
|
const $scope5_id = _scope_id();
|
|
1970
|
-
_html(`<button type=button${_attr_class(["
|
|
1971
|
-
_script($scope5_id, "
|
|
1973
|
+
_html(`<button type=button${_attr_class(["_fA", { ["_fw"]: collapsedDirs.has(dirKey(row.path)) }])}${_attr("title", row.path)}${_attr_style(`padding-left:${.35 + row.depth * .75}rem`)}><span${_attr_class("_fE")}>${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")}`);
|
|
1974
|
+
_script($scope5_id, "i3");
|
|
1972
1975
|
_subscribe($si__input_sections && $if_content__dirKey__closures, _subscribe($collapsedDirs__closures, writeScope($scope5_id, { Cv: 1 })));
|
|
1973
1976
|
return 0;
|
|
1974
1977
|
} else if (!hiddenByCollapse(row) && row.kind !== "dir") {
|
|
1975
1978
|
const $scope4_id = _scope_id();
|
|
1976
|
-
_html(`<button type=button${_attr_class("
|
|
1979
|
+
_html(`<button type=button${_attr_class("_fB")}${_attr("title", row.file.path)}${_attr_style(`padding-left:${.5 + row.depth * .75}rem`)}><span${_attr_class("_fF")}${_attr("data-status", row.file.status)}>${_escape(row.file.status)}${_el_resume($scope4_id, "c", $sg__input_sections)}</span>${_el_resume($scope4_id, "b", $sg__input_sections)}<span${_attr_class("_fC")}>${_escape(row.name)}${_el_resume($scope4_id, "e", $sg__input_sections)}</span>`);
|
|
1977
1980
|
_if(() => {
|
|
1978
1981
|
if (commentKeys.has(row.file.key)) {
|
|
1979
1982
|
const $scope6_id = _scope_id();
|
|
1980
|
-
_html(`<span${_attr_class("
|
|
1983
|
+
_html(`<span${_attr_class("_fD")}>💬</span>`);
|
|
1981
1984
|
_serialize_if($scope0_reason, 0) && writeScope($scope6_id, {});
|
|
1982
1985
|
return 0;
|
|
1983
1986
|
}
|
|
1984
1987
|
}, $scope4_id, "f", $sg__input_commentKeys__OR__input_sections, $sg__input_commentKeys__OR__input_sections, $sg__input_commentKeys__OR__input_sections, 0, 1);
|
|
1985
1988
|
_html(`</button>${_el_resume($scope4_id, "a")}`);
|
|
1986
|
-
_script($scope4_id, "
|
|
1989
|
+
_script($scope4_id, "i4");
|
|
1987
1990
|
_subscribe($si__input_commentKeys && $commentKeys__closures, writeScope($scope4_id, {}));
|
|
1988
1991
|
return 1;
|
|
1989
1992
|
}
|
|
@@ -2011,7 +2014,7 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
2011
2014
|
}
|
|
2012
2015
|
}, $scope1_id, "f");
|
|
2013
2016
|
_html("</div>");
|
|
2014
|
-
_script($scope1_id, "
|
|
2017
|
+
_script($scope1_id, "i5");
|
|
2015
2018
|
writeScope($scope1_id, {
|
|
2016
2019
|
i: section?.id,
|
|
2017
2020
|
m: section?.files,
|
|
@@ -2038,7 +2041,7 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
2038
2041
|
});
|
|
2039
2042
|
//#endregion
|
|
2040
2043
|
//#region src/tags/diff-file-sheet.marko
|
|
2041
|
-
var diff_file_sheet_default = _template("
|
|
2044
|
+
var diff_file_sheet_default = _template("e", (input) => {
|
|
2042
2045
|
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
2046
|
const $scope0_id = _scope_id();
|
|
2044
2047
|
const $commentKeys__closures = /* @__PURE__ */ new Set();
|
|
@@ -2048,10 +2051,12 @@ var diff_file_sheet_default = _template("d", (input) => {
|
|
|
2048
2051
|
_if(() => {
|
|
2049
2052
|
if (open) {
|
|
2050
2053
|
const $scope1_id = _scope_id();
|
|
2051
|
-
_html(`<div${_attr_class("
|
|
2054
|
+
_html(`<div${_attr_class("_fo")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_fp")} role=dialog aria-label="Jump to file"><div${_attr_class("_fq")}><strong${_attr_class("_fn")}>Files</strong><span${_attr_class("_fr")}>${_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, "_fm"])} title=Close aria-label=Close>`);
|
|
2055
|
+
icon_xmark_default({ size: 16 });
|
|
2056
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_fs")}>`);
|
|
2052
2057
|
_for_of(input.files, (file) => {
|
|
2053
2058
|
const $scope2_id = _scope_id();
|
|
2054
|
-
_html(`<button type=button${_attr_class(["
|
|
2059
|
+
_html(`<button type=button${_attr_class(["_ft", "_u"])}><span${_attr_class("_fv")}${_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("_fu")}${_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
2060
|
_if(() => {
|
|
2056
2061
|
if (commentKeys.has(file.key)) {
|
|
2057
2062
|
const $scope3_id = _scope_id();
|
|
@@ -2061,14 +2066,14 @@ var diff_file_sheet_default = _template("d", (input) => {
|
|
|
2061
2066
|
}
|
|
2062
2067
|
}, $scope2_id, "f", $sg__input_commentKeys__OR__input_files, $sg__input_commentKeys__OR__input_files, $sg__input_commentKeys__OR__input_files, 0, 1);
|
|
2063
2068
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
2064
|
-
_script($scope2_id, "
|
|
2069
|
+
_script($scope2_id, "e0");
|
|
2065
2070
|
_subscribe($si__input_commentKeys && $commentKeys__closures, writeScope($scope2_id, {
|
|
2066
2071
|
i: file?.key,
|
|
2067
2072
|
_: _scope_with_id($scope1_id)
|
|
2068
2073
|
}));
|
|
2069
|
-
}, "key", $scope1_id, "
|
|
2074
|
+
}, "key", $scope1_id, "j", $sg__input_files, $sg__input_files, $sg__input_files, "</div>", 1);
|
|
2070
2075
|
_html("</div>");
|
|
2071
|
-
_script($scope1_id, "
|
|
2076
|
+
_script($scope1_id, "e1");
|
|
2072
2077
|
writeScope($scope1_id, {});
|
|
2073
2078
|
return 0;
|
|
2074
2079
|
}
|
|
@@ -2093,8 +2098,8 @@ var api;
|
|
|
2093
2098
|
var getTermDims;
|
|
2094
2099
|
var revealSearchHit;
|
|
2095
2100
|
var setSearchPaint;
|
|
2096
|
-
var diff_view_default = _template("
|
|
2097
|
-
const $scope0_reason = _scope_reason(), $
|
|
2101
|
+
var diff_view_default = _template("j", (input) => {
|
|
2102
|
+
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
2103
|
const $scope0_id = _scope_id();
|
|
2099
2104
|
const $error__closures = /* @__PURE__ */ new Set();
|
|
2100
2105
|
const $uncommitted__closures = /* @__PURE__ */ new Set();
|
|
@@ -2129,7 +2134,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2129
2134
|
let fileSheet = false;
|
|
2130
2135
|
let findOpen = input.findOpen;
|
|
2131
2136
|
let findTick = input.findTick || 0;
|
|
2132
|
-
const findFocusRef = input.findFocusRef || { focus: _resume(function() {}, "
|
|
2137
|
+
const findFocusRef = input.findFocusRef || { focus: _resume(function() {}, "j0") };
|
|
2133
2138
|
let findState = {
|
|
2134
2139
|
query: "",
|
|
2135
2140
|
hit: null,
|
|
@@ -2177,7 +2182,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2177
2182
|
cb();
|
|
2178
2183
|
}
|
|
2179
2184
|
});
|
|
2180
|
-
}, "
|
|
2185
|
+
}, "j1", $scope0_id);
|
|
2181
2186
|
const focusPrSection = _resume((pr) => {
|
|
2182
2187
|
if (!pr) return;
|
|
2183
2188
|
const list = repos || [];
|
|
@@ -2202,7 +2207,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2202
2207
|
root.scrollTo({ top: Math.max(0, top - 8) });
|
|
2203
2208
|
};
|
|
2204
2209
|
requestAnimationFrame(tryScroll);
|
|
2205
|
-
}, "
|
|
2210
|
+
}, "j2", $scope0_id);
|
|
2206
2211
|
const headBox = {
|
|
2207
2212
|
sig: "",
|
|
2208
2213
|
timer: 0
|
|
@@ -2229,7 +2234,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2229
2234
|
} finally {
|
|
2230
2235
|
if (seq === loadBox.seq) loading = false;
|
|
2231
2236
|
}
|
|
2232
|
-
}, "
|
|
2237
|
+
}, "j3", $scope0_id);
|
|
2233
2238
|
const sendGate = { busy: 0 };
|
|
2234
2239
|
const loadReview = _resume(async () => {
|
|
2235
2240
|
if (sendGate.busy) return;
|
|
@@ -2238,18 +2243,18 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2238
2243
|
if (sendGate.busy) return;
|
|
2239
2244
|
comments = reviewData.comments || [];
|
|
2240
2245
|
} catch {}
|
|
2241
|
-
}, "
|
|
2246
|
+
}, "j4", $scope0_id);
|
|
2242
2247
|
const reload = _resume(() => {
|
|
2243
2248
|
dismissedDrift = /* @__PURE__ */ new Set();
|
|
2244
2249
|
return load(uncommitted, true);
|
|
2245
|
-
}, "
|
|
2250
|
+
}, "j5", $scope0_id);
|
|
2246
2251
|
const reloadSoon = _resume(() => {
|
|
2247
2252
|
if (headBox.timer) clearTimeout(headBox.timer);
|
|
2248
2253
|
headBox.timer = setTimeout(() => {
|
|
2249
2254
|
headBox.timer = 0;
|
|
2250
2255
|
reload();
|
|
2251
2256
|
}, 250);
|
|
2252
|
-
}, "
|
|
2257
|
+
}, "j6", $scope0_id);
|
|
2253
2258
|
const repoList = repos || [];
|
|
2254
2259
|
const allFiles = repoList.flatMap((r) => r.files.map((f) => ({
|
|
2255
2260
|
...f,
|
|
@@ -2296,8 +2301,8 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2296
2301
|
const driftRepos = repoList.filter((r) => r.githubDrift && !dismissedDrift.has(r.id));
|
|
2297
2302
|
const dismissDrift = _resume(() => {
|
|
2298
2303
|
dismissedDrift = /* @__PURE__ */ new Set([...dismissedDrift, ...driftRepos.map((r) => r.id)]);
|
|
2299
|
-
}, "
|
|
2300
|
-
const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "
|
|
2304
|
+
}, "j7", $scope0_id);
|
|
2305
|
+
const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "j8");
|
|
2301
2306
|
const saveComment = _resume(async (file, text) => {
|
|
2302
2307
|
const range = draft;
|
|
2303
2308
|
draft = null;
|
|
@@ -2319,11 +2324,11 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2319
2324
|
} catch (err) {
|
|
2320
2325
|
error = String(err.message || err);
|
|
2321
2326
|
}
|
|
2322
|
-
}, "
|
|
2327
|
+
}, "j9", $scope0_id);
|
|
2323
2328
|
const removeComment = _resume(async (id) => {
|
|
2324
2329
|
comments = comments.filter((c) => c.id !== id);
|
|
2325
2330
|
await fetch(`/api/review-comments/${id}`, { method: "DELETE" });
|
|
2326
|
-
}, "
|
|
2331
|
+
}, "j10", $scope0_id);
|
|
2327
2332
|
const clearComments = _resume(async () => {
|
|
2328
2333
|
comments = [];
|
|
2329
2334
|
draft = null;
|
|
@@ -2332,7 +2337,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2332
2337
|
headers: { "content-type": "application/json" },
|
|
2333
2338
|
body: JSON.stringify({ action: "clear" })
|
|
2334
2339
|
});
|
|
2335
|
-
}, "
|
|
2340
|
+
}, "j11", $scope0_id);
|
|
2336
2341
|
const postToSession = _resume(async (list, sessionId) => {
|
|
2337
2342
|
if (!list.length) return;
|
|
2338
2343
|
await api(`/api/sessions/${sessionId}/send`, {
|
|
@@ -2343,7 +2348,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2343
2348
|
...getTermDims() || {}
|
|
2344
2349
|
})
|
|
2345
2350
|
});
|
|
2346
|
-
}, "
|
|
2351
|
+
}, "j12", $scope0_id);
|
|
2347
2352
|
const copyMarkdown = _resume(async () => {
|
|
2348
2353
|
if (!await copyText(commentMarkdown(comments, repos))) {
|
|
2349
2354
|
error = "Copy failed: the clipboard needs HTTPS in this browser.";
|
|
@@ -2351,7 +2356,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2351
2356
|
}
|
|
2352
2357
|
await clearComments();
|
|
2353
2358
|
return true;
|
|
2354
|
-
}, "
|
|
2359
|
+
}, "j13", $scope0_id);
|
|
2355
2360
|
const sendTo = _resume(async (sessionId) => {
|
|
2356
2361
|
const batch = comments;
|
|
2357
2362
|
sendGate.busy++;
|
|
@@ -2370,7 +2375,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2370
2375
|
} finally {
|
|
2371
2376
|
sendGate.busy--;
|
|
2372
2377
|
}
|
|
2373
|
-
}, "
|
|
2378
|
+
}, "j14", $scope0_id);
|
|
2374
2379
|
const sendDraftComment = _resume(async (file, text, sessionId) => {
|
|
2375
2380
|
const range = draft;
|
|
2376
2381
|
if (!range) return;
|
|
@@ -2397,7 +2402,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2397
2402
|
} finally {
|
|
2398
2403
|
sendGate.busy--;
|
|
2399
2404
|
}
|
|
2400
|
-
}, "
|
|
2405
|
+
}, "j15", $scope0_id);
|
|
2401
2406
|
const sendOneComment = _resume(async (id, sessionId) => {
|
|
2402
2407
|
const comment = comments.find((c) => c.id === id);
|
|
2403
2408
|
if (!comment) return;
|
|
@@ -2412,20 +2417,20 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2412
2417
|
} finally {
|
|
2413
2418
|
sendGate.busy--;
|
|
2414
2419
|
}
|
|
2415
|
-
}, "
|
|
2420
|
+
}, "j16", $scope0_id);
|
|
2416
2421
|
const openFile = _resume((key) => {
|
|
2417
2422
|
const el = ((scrollEl) => scrollEl())(_el_read_error)?.querySelector(`details[data-key="${CSS.escape(key)}"]`);
|
|
2418
2423
|
if (el) el.open = true;
|
|
2419
2424
|
return el;
|
|
2420
|
-
}, "
|
|
2425
|
+
}, "j17", $scope0_id);
|
|
2421
2426
|
const jumpTo = _resume((key) => {
|
|
2422
2427
|
openFile(key)?.scrollIntoView({ block: "start" });
|
|
2423
|
-
}, "
|
|
2428
|
+
}, "j18", $scope0_id);
|
|
2424
2429
|
const openFind = _resume(() => {
|
|
2425
2430
|
findOpen = true;
|
|
2426
2431
|
findTick++;
|
|
2427
2432
|
findFocusRef.focus();
|
|
2428
|
-
}, "
|
|
2433
|
+
}, "j19", $scope0_id);
|
|
2429
2434
|
const onFindState = _resume((next) => {
|
|
2430
2435
|
findState = next;
|
|
2431
2436
|
if (!next.hit) return;
|
|
@@ -2444,38 +2449,37 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2444
2449
|
setSearchPaint(next.query, hit);
|
|
2445
2450
|
revealSearchHit();
|
|
2446
2451
|
}, 0);
|
|
2447
|
-
}, "
|
|
2448
|
-
_html(`<div${_attr_class("
|
|
2452
|
+
}, "j20", $scope0_id);
|
|
2453
|
+
_html(`<div${_attr_class("_d8")}><div${_attr_class("_ec")}><div${_attr_class(["_ed", { ["_ef"]: comments.length > 0 }])}><div${_attr_class("_ep")}>`);
|
|
2449
2454
|
_if(() => {
|
|
2450
2455
|
if (input.onExit) {
|
|
2451
2456
|
const $scope1_id = _scope_id();
|
|
2452
|
-
_html(`<
|
|
2457
|
+
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_ee"])} title="Back to terminal (Esc)">`);
|
|
2453
2458
|
icon_back_default({ size: 14 });
|
|
2454
|
-
_html(`</
|
|
2455
|
-
|
|
2456
|
-
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
2459
|
+
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 3))}`);
|
|
2460
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 3) && _scope_with_id($scope0_id) });
|
|
2457
2461
|
return 0;
|
|
2458
2462
|
}
|
|
2459
|
-
}, $scope0_id, "e", $
|
|
2460
|
-
_html(`<h1${_attr_class("
|
|
2463
|
+
}, $scope0_id, "e", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 4), 1, 0, 1);
|
|
2464
|
+
_html(`<h1${_attr_class("_eh")}>Review</h1><div${_attr_class("_eq")}>`);
|
|
2461
2465
|
_set_serialize_reason(2);
|
|
2462
2466
|
const $childScope = _peek_scope_id();
|
|
2463
2467
|
file_filter_default({
|
|
2464
2468
|
value: fileFilter,
|
|
2465
2469
|
valueChange: _resume((_new_fileFilter) => {
|
|
2466
2470
|
fileFilter = _new_fileFilter;
|
|
2467
|
-
}, "
|
|
2471
|
+
}, "j21", $scope0_id)
|
|
2468
2472
|
});
|
|
2469
|
-
_html(`</div><div${_attr_class("
|
|
2473
|
+
_html(`</div><div${_attr_class("_eg")}><span${_attr_class("_er")}>`);
|
|
2470
2474
|
_if(() => {
|
|
2471
2475
|
if (lineStats.additions || lineStats.deletions) {
|
|
2472
2476
|
const $scope27_id = _scope_id();
|
|
2473
|
-
_html(`<span${_attr_class("
|
|
2477
|
+
_html(`<span${_attr_class("_es")}>+<!>${_escape(lineStats.additions)}${_el_resume($scope27_id, "b")}</span><span${_attr_class("_et")}>−<!>${_escape(lineStats.deletions)}${_el_resume($scope27_id, "d")}</span>`);
|
|
2474
2478
|
writeScope($scope27_id, {});
|
|
2475
2479
|
return 0;
|
|
2476
2480
|
} else {
|
|
2477
2481
|
const $scope29_id = _scope_id();
|
|
2478
|
-
_html(`<span${_attr_class("
|
|
2482
|
+
_html(`<span${_attr_class("_eu")}>0</span>`);
|
|
2479
2483
|
writeScope($scope29_id, {});
|
|
2480
2484
|
return 1;
|
|
2481
2485
|
}
|
|
@@ -2483,7 +2487,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2483
2487
|
_if(() => {
|
|
2484
2488
|
if (comments.length) {
|
|
2485
2489
|
const $scope13_id = _scope_id();
|
|
2486
|
-
_html(`<span${_attr_class("
|
|
2490
|
+
_html(`<span${_attr_class("_ev")}>·</span>${_escape(comments.length)}${_el_resume($scope13_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope13_id, "c")}`);
|
|
2487
2491
|
writeScope($scope13_id, {});
|
|
2488
2492
|
return 0;
|
|
2489
2493
|
}
|
|
@@ -2492,7 +2496,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2492
2496
|
_if(() => {
|
|
2493
2497
|
if (comments.length) {
|
|
2494
2498
|
const $scope2_id = _scope_id();
|
|
2495
|
-
_set_serialize_reason(_serialize_guard($scope0_reason,
|
|
2499
|
+
_set_serialize_reason(_serialize_guard($scope0_reason, 5));
|
|
2496
2500
|
const $childScope2 = _peek_scope_id();
|
|
2497
2501
|
diff_send_default({
|
|
2498
2502
|
sessions: input.sessions,
|
|
@@ -2503,23 +2507,23 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2503
2507
|
return 0;
|
|
2504
2508
|
}
|
|
2505
2509
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
2506
|
-
_html(`</div><div${_attr_class("
|
|
2510
|
+
_html(`</div><div${_attr_class("_eb")}><button${_attr_class([
|
|
2507
2511
|
treeToggle,
|
|
2508
|
-
"
|
|
2509
|
-
{ ["
|
|
2512
|
+
"_d_",
|
|
2513
|
+
{ ["_d9"]: treeOpen }
|
|
2510
2514
|
])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
|
|
2511
2515
|
icon_sidebar_default({ size: 14 });
|
|
2512
|
-
_html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([iconBtnRow, "
|
|
2516
|
+
_html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([iconBtnRow, "_d_"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
2513
2517
|
_set_serialize_reason(1);
|
|
2514
2518
|
const $childScope3 = _peek_scope_id();
|
|
2515
2519
|
icon_refresh_default({
|
|
2516
2520
|
size: 14,
|
|
2517
|
-
class: loading && "
|
|
2521
|
+
class: loading && "_B"
|
|
2518
2522
|
});
|
|
2519
|
-
_html(`</button>${_el_resume($scope0_id, "q")}<button${_attr_class(["
|
|
2520
|
-
["
|
|
2521
|
-
["
|
|
2522
|
-
}])} 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(["
|
|
2523
|
+
_html(`</button>${_el_resume($scope0_id, "q")}<button${_attr_class(["_l", "_eW"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope0_id, "t")})</button>${_el_resume($scope0_id, "s")}<div${_attr_class("_ew")} role=group aria-label="Review scope"><button type=button${_attr_class(["_ey", { ["_ex"]: !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(["_ey", { ["_ex"]: 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(["_ez", {
|
|
2524
|
+
["_ex"]: uncommitted,
|
|
2525
|
+
["_2"]: uncommitted
|
|
2526
|
+
}])} 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(["_ek", { ["_ej"]: !findOpen }])}>`);
|
|
2523
2527
|
_set_serialize_reason(2);
|
|
2524
2528
|
const $childScope4 = _peek_scope_id();
|
|
2525
2529
|
diff_find_default({
|
|
@@ -2528,27 +2532,27 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2528
2532
|
open: findOpen,
|
|
2529
2533
|
openChange: _resume((_new_findOpen) => {
|
|
2530
2534
|
findOpen = _new_findOpen;
|
|
2531
|
-
}, "
|
|
2535
|
+
}, "j22", $scope0_id),
|
|
2532
2536
|
focusRef: findFocusRef,
|
|
2533
2537
|
stateChange: _resume(function(s) {
|
|
2534
2538
|
onFindState(s);
|
|
2535
|
-
}, "
|
|
2539
|
+
}, "j23", $scope0_id)
|
|
2536
2540
|
});
|
|
2537
2541
|
_html(`</div>${_el_resume($scope0_id, "z")}<button${_attr_class([
|
|
2538
2542
|
iconBtnRow,
|
|
2539
|
-
"
|
|
2540
|
-
"
|
|
2543
|
+
"_ei",
|
|
2544
|
+
"_d_"
|
|
2541
2545
|
])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
2542
2546
|
icon_search_default({ size: 14 });
|
|
2543
|
-
_html(`</button>${_el_resume($scope0_id, "a1")}</div></div>${_el_resume($scope0_id, "c")}<div${_attr_class("
|
|
2547
|
+
_html(`</button>${_el_resume($scope0_id, "a1")}</div></div>${_el_resume($scope0_id, "c")}<div${_attr_class("_en")} data-diff-main>`);
|
|
2544
2548
|
_if(() => {
|
|
2545
2549
|
if (error) {
|
|
2546
2550
|
const $scope14_id = _scope_id();
|
|
2547
2551
|
toast_default({
|
|
2548
2552
|
onDismiss: _resume(function() {
|
|
2549
2553
|
error = null;
|
|
2550
|
-
}, "
|
|
2551
|
-
content: _content_resume("
|
|
2554
|
+
}, "j24", $scope14_id),
|
|
2555
|
+
content: _content_resume("j36", () => {
|
|
2552
2556
|
_scope_reason();
|
|
2553
2557
|
const $scope15_id = _scope_id();
|
|
2554
2558
|
_html(`${_escape(error)}${_el_resume($scope15_id, "a")}`);
|
|
@@ -2563,7 +2567,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2563
2567
|
_if(() => {
|
|
2564
2568
|
if (!repos && loading) {
|
|
2565
2569
|
const $scope30_id = _scope_id();
|
|
2566
|
-
_html(`<p${_attr_class("
|
|
2570
|
+
_html(`<p${_attr_class("_bB")}>Loading diff…</p>`);
|
|
2567
2571
|
writeScope($scope30_id, {});
|
|
2568
2572
|
return 0;
|
|
2569
2573
|
}
|
|
@@ -2577,7 +2581,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2577
2581
|
kind: "warn",
|
|
2578
2582
|
placement: "inline",
|
|
2579
2583
|
title: `${repo.worktree}: base not found`,
|
|
2580
|
-
content: _content_resume("
|
|
2584
|
+
content: _content_resume("j37", () => {
|
|
2581
2585
|
_scope_reason();
|
|
2582
2586
|
const $scope20_id = _scope_id();
|
|
2583
2587
|
_html(`${_escape(repo.base)}${_el_resume($scope20_id, "a")}<!>${uncommitted ? ", showing uncommitted changes only" : ""}${_el_resume($scope20_id, "b")}.`);
|
|
@@ -2600,13 +2604,13 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2600
2604
|
kind: "info",
|
|
2601
2605
|
placement: "inline",
|
|
2602
2606
|
title: repo.pr ? `${repo.worktree} #${repo.pr.number}` : repo.worktree,
|
|
2603
|
-
content: _content_resume("
|
|
2607
|
+
content: _content_resume("j38", () => {
|
|
2604
2608
|
_scope_reason();
|
|
2605
2609
|
const $scope22_id = _scope_id();
|
|
2606
2610
|
_html(`already in <!>${_escape(repo.base)}${_el_resume($scope22_id, "a")}<!>${uncommitted ? ", showing uncommitted changes only" : ""}${_el_resume($scope22_id, "b")}.`);
|
|
2607
2611
|
_subscribe($for_content4__repo_base__closures, _subscribe($uncommitted__closures, writeScope($scope22_id, {
|
|
2608
2612
|
_: _scope_with_id($scope21_id),
|
|
2609
|
-
|
|
2613
|
+
Cdw: 1
|
|
2610
2614
|
})));
|
|
2611
2615
|
_resume_branch($scope22_id);
|
|
2612
2616
|
}, $scope21_id)
|
|
@@ -2628,25 +2632,25 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2628
2632
|
title: "GitHub is behind",
|
|
2629
2633
|
onDismiss: _resume(function() {
|
|
2630
2634
|
dismissDrift();
|
|
2631
|
-
}, "
|
|
2632
|
-
action: attrTag({ content: _content_resume("
|
|
2635
|
+
}, "j25", $scope16_id),
|
|
2636
|
+
action: attrTag({ content: _content_resume("j40", () => {
|
|
2633
2637
|
_scope_reason();
|
|
2634
2638
|
const $scope17_id = _scope_id();
|
|
2635
|
-
_html(`<button${_attr_class("
|
|
2636
|
-
_script($scope17_id, "
|
|
2639
|
+
_html(`<button${_attr_class("_l")}${_attr("disabled", loading)}>${loading ? "Reloading…" : "Reload"}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
|
|
2640
|
+
_script($scope17_id, "j39");
|
|
2637
2641
|
_subscribe($loading__closures, writeScope($scope17_id, { _: _scope_with_id($scope16_id) }));
|
|
2638
2642
|
_resume_branch($scope17_id);
|
|
2639
2643
|
}, $scope16_id) }),
|
|
2640
|
-
content: _content_resume("
|
|
2644
|
+
content: _content_resume("j41", () => {
|
|
2641
2645
|
_scope_reason();
|
|
2642
2646
|
const $scope28_id = _scope_id();
|
|
2643
|
-
_html(`<span${_attr_class("
|
|
2647
|
+
_html(`<span${_attr_class("_t")}>`);
|
|
2644
2648
|
_for_of(driftRepos, (repo, i) => {
|
|
2645
2649
|
const $scope31_id = _scope_id();
|
|
2646
2650
|
_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
2651
|
writeScope($scope31_id, {});
|
|
2648
2652
|
}, "id", $scope28_id, "b");
|
|
2649
|
-
_html(` : this view has a newer tip than the PR page.</span><span${_attr_class(["
|
|
2653
|
+
_html(` : this view has a newer tip than the PR page.</span><span${_attr_class(["_u", "_eo"])}>`);
|
|
2650
2654
|
_for_of(driftRepos, (repo, i) => {
|
|
2651
2655
|
const $scope32_id = _scope_id();
|
|
2652
2656
|
_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 +2676,13 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2672
2676
|
kind: "info",
|
|
2673
2677
|
placement: "inline",
|
|
2674
2678
|
title: `${repo.worktree} #${repo.pr.number}`,
|
|
2675
|
-
content: _content_resume("
|
|
2679
|
+
content: _content_resume("j42", () => {
|
|
2676
2680
|
_scope_reason();
|
|
2677
2681
|
const $scope24_id = _scope_id();
|
|
2678
2682
|
_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
2683
|
_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
2684
|
_: _scope_with_id($scope23_id),
|
|
2681
|
-
|
|
2685
|
+
Cdw: 2
|
|
2682
2686
|
}))))));
|
|
2683
2687
|
_resume_branch($scope24_id);
|
|
2684
2688
|
}, $scope23_id)
|
|
@@ -2698,12 +2702,12 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2698
2702
|
_if(() => {
|
|
2699
2703
|
if (repos && !allFiles.length) {
|
|
2700
2704
|
const $scope26_id = _scope_id();
|
|
2701
|
-
_html(`<p${_attr_class("
|
|
2705
|
+
_html(`<p${_attr_class("_bB")}>${repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope26_id, "b")}</p>`);
|
|
2702
2706
|
writeScope($scope26_id, {});
|
|
2703
2707
|
return 0;
|
|
2704
2708
|
} else if (repos && !shownFiles.length && !findState.hit) {
|
|
2705
2709
|
const $scope18_id = _scope_id();
|
|
2706
|
-
_html(`<p${_attr_class("
|
|
2710
|
+
_html(`<p${_attr_class("_bB")}>${findState.query.trim() ? "No matches in review." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope18_id, "b")}</p>`);
|
|
2707
2711
|
writeScope($scope18_id, {});
|
|
2708
2712
|
return 1;
|
|
2709
2713
|
}
|
|
@@ -2732,22 +2736,22 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2732
2736
|
_if(() => {
|
|
2733
2737
|
if (repoFiles.length || repo.pr) {
|
|
2734
2738
|
const $scope4_id = _scope_id();
|
|
2735
|
-
_html(`<section${_attr_class("
|
|
2739
|
+
_html(`<section${_attr_class("_eA")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownInRepo.length && !repo.pr && findState.hit?.repo !== repo.id)}>`);
|
|
2736
2740
|
_if(() => {
|
|
2737
2741
|
if (repoList.length > 1) {
|
|
2738
2742
|
const $scope5_id = _scope_id();
|
|
2739
2743
|
const repoCollapsed = collapsedRepos.has(repo.id);
|
|
2740
2744
|
const repoExpanding = expandingRepos.has(repo.id);
|
|
2741
|
-
_html(`<button type=button${_attr_class(["
|
|
2742
|
-
"
|
|
2743
|
-
!repoCollapsed && "
|
|
2744
|
-
repoExpanding && "
|
|
2745
|
+
_html(`<button type=button${_attr_class(["_eB", repoCollapsed && "_eC"])} 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([
|
|
2746
|
+
"_eR",
|
|
2747
|
+
!repoCollapsed && "_eS",
|
|
2748
|
+
repoExpanding && "_eT"
|
|
2745
2749
|
])} 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
2750
|
_if(() => {
|
|
2747
2751
|
if (repo.pr) {
|
|
2748
2752
|
const $scope33_id = _scope_id();
|
|
2749
|
-
_html(`<a${_attr_class(["
|
|
2750
|
-
_script($scope33_id, "
|
|
2753
|
+
_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>`);
|
|
2754
|
+
_script($scope33_id, "j43");
|
|
2751
2755
|
_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
2756
|
Ca4: 2,
|
|
2753
2757
|
Ca5: 2,
|
|
@@ -2763,14 +2767,14 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2763
2767
|
}
|
|
2764
2768
|
}, $scope5_id, "f");
|
|
2765
2769
|
const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "", input.workspaceName || "");
|
|
2766
|
-
_html(`<span${_attr_class("
|
|
2770
|
+
_html(`<span${_attr_class("_eH")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_F", "_eI"])}>${_escape(compare$1.base)}${_el_resume($scope5_id, "i")}</span><span${_attr_class(["_H", "_eK"])} aria-hidden=true>vs</span><span${_attr_class(["_F", "_eJ"])}>${_escape(compare$1.head)}${_el_resume($scope5_id, "l")}</span>`);
|
|
2767
2771
|
_if(() => {
|
|
2768
2772
|
if (compare$1.topic) {
|
|
2769
2773
|
const $scope36_id = _scope_id();
|
|
2770
2774
|
_html(`<span${_attr_class([
|
|
2771
|
-
"
|
|
2775
|
+
"_F",
|
|
2772
2776
|
tone.accent,
|
|
2773
|
-
"
|
|
2777
|
+
"_eL"
|
|
2774
2778
|
])}>${_escape(compare$1.topic)}${_el_resume($scope36_id, "b")}</span>`);
|
|
2775
2779
|
writeScope($scope36_id, {});
|
|
2776
2780
|
return 0;
|
|
@@ -2780,31 +2784,31 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2780
2784
|
_if(() => {
|
|
2781
2785
|
if (localDifferIds.has(repo.id)) {
|
|
2782
2786
|
const $scope6_id = _scope_id();
|
|
2783
|
-
_html(`<span${_attr_class("
|
|
2787
|
+
_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
2788
|
_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
|
-
|
|
2789
|
+
Cdp: $si__input_workspaceBranch && 1,
|
|
2790
|
+
Cdq: $si__input_workspaceName && 1,
|
|
2787
2791
|
Caa: 1
|
|
2788
2792
|
})))));
|
|
2789
2793
|
return 0;
|
|
2790
2794
|
}
|
|
2791
2795
|
}, $scope5_id, "n", 1, 1, 1, 0, 1);
|
|
2792
|
-
_html(`<span${_attr_class("
|
|
2793
|
-
_script($scope5_id, "
|
|
2796
|
+
_html(`<span${_attr_class("_eE")}>${_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")}`);
|
|
2797
|
+
_script($scope5_id, "j44");
|
|
2794
2798
|
_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
2799
|
r: repoCollapsed,
|
|
2796
2800
|
t: repoExpanding,
|
|
2797
2801
|
a0: compare$1?.topic,
|
|
2798
|
-
|
|
2802
|
+
Ce1: 1
|
|
2799
2803
|
})))))))))))))))));
|
|
2800
2804
|
return 0;
|
|
2801
2805
|
} else {
|
|
2802
2806
|
const $scope7_id = _scope_id();
|
|
2803
|
-
_html(`<p${_attr_class("
|
|
2807
|
+
_html(`<p${_attr_class("_eG")}>`);
|
|
2804
2808
|
_if(() => {
|
|
2805
2809
|
if (repo.pr) {
|
|
2806
2810
|
const $scope35_id = _scope_id();
|
|
2807
|
-
_html(`<a${_attr_class(["
|
|
2811
|
+
_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
2812
|
_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
2813
|
Ca1: 1,
|
|
2810
2814
|
Ca2: 1,
|
|
@@ -2818,14 +2822,14 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2818
2822
|
}
|
|
2819
2823
|
}, $scope7_id, "b");
|
|
2820
2824
|
const compare$2 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "", input.workspaceName || "");
|
|
2821
|
-
_html(`<span${_attr_class("
|
|
2825
|
+
_html(`<span${_attr_class("_eH")}${_attr("title", `${compare$2.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_F", "_eI"])}>${_escape(compare$2.base)}${_el_resume($scope7_id, "e")}</span><span${_attr_class(["_H", "_eK"])} aria-hidden=true>vs</span><span${_attr_class(["_F", "_eJ"])}>${_escape(compare$2.head)}${_el_resume($scope7_id, "h")}</span>`);
|
|
2822
2826
|
_if(() => {
|
|
2823
2827
|
if (compare$2.topic) {
|
|
2824
2828
|
const $scope37_id = _scope_id();
|
|
2825
2829
|
_html(`<span${_attr_class([
|
|
2826
|
-
"
|
|
2830
|
+
"_F",
|
|
2827
2831
|
tone.accent,
|
|
2828
|
-
"
|
|
2832
|
+
"_eL"
|
|
2829
2833
|
])}>${_escape(compare$2.topic)}${_el_resume($scope37_id, "b")}</span>`);
|
|
2830
2834
|
writeScope($scope37_id, {});
|
|
2831
2835
|
return 0;
|
|
@@ -2835,10 +2839,10 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2835
2839
|
_if(() => {
|
|
2836
2840
|
if (localDifferIds.has(repo.id)) {
|
|
2837
2841
|
const $scope8_id = _scope_id();
|
|
2838
|
-
_html(`<span${_attr_class("
|
|
2842
|
+
_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
2843
|
_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
|
-
|
|
2844
|
+
Cdp: $si__input_workspaceBranch && 3,
|
|
2845
|
+
Cdq: $si__input_workspaceName && 3,
|
|
2842
2846
|
Caa: 3,
|
|
2843
2847
|
Cab: 1
|
|
2844
2848
|
})))));
|
|
@@ -2848,9 +2852,9 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2848
2852
|
_html("</p>");
|
|
2849
2853
|
_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
2854
|
p: compare$2?.topic,
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2855
|
+
Cdp: $si__input_workspaceBranch && 2,
|
|
2856
|
+
Cdq: $si__input_workspaceName && 2,
|
|
2857
|
+
Ced: 1,
|
|
2854
2858
|
Cy: 1,
|
|
2855
2859
|
Cz: 1,
|
|
2856
2860
|
Ca4: 1,
|
|
@@ -2868,7 +2872,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2868
2872
|
const $scope9_id = _scope_id();
|
|
2869
2873
|
const $show = repoList.length === 1 || !collapsedRepos.has(repo.id);
|
|
2870
2874
|
_show_start($show);
|
|
2871
|
-
_html(`<div${_attr_class("
|
|
2875
|
+
_html(`<div${_attr_class("_eM")}>`);
|
|
2872
2876
|
_for_of(repoFiles, (file$1) => {
|
|
2873
2877
|
const $scope10_id = _scope_id();
|
|
2874
2878
|
const $for_content2__file__closures = /* @__PURE__ */ new Set();
|
|
@@ -2876,11 +2880,11 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2876
2880
|
const $for_content2__fileComments__closures = /* @__PURE__ */ new Set();
|
|
2877
2881
|
const fileComments = commentsByFile.get(file$1.key) || [];
|
|
2878
2882
|
let expanded = true;
|
|
2879
|
-
_html(`<details${_attr_details_or_dialog_open($scope10_id, "a", expanded)}${_attr_class(["
|
|
2883
|
+
_html(`<details${_attr_details_or_dialog_open($scope10_id, "a", expanded)}${_attr_class(["_eN", findState.hit?.key === file$1.key && "_el"])}${_attr("data-key", file$1.key)}${_attr("hidden", !shownKeySet.has(file$1.key))}><summary${_attr_class("_eP")}><span${_attr_class("_eU")}${_attr("data-status", file$1.status)}>${_escape(file$1.status)}${_el_resume($scope10_id, "d")}</span>${_el_resume($scope10_id, "c")}<span${_attr_class(["_eV", findState.hit?.key === file$1.key && findState.hit.line < 1 && "_em"])}${_attr("title", file$1.path)}><bdi>${_escape(file$1.path)}${_el_resume($scope10_id, "f")}</bdi></span>${_el_resume($scope10_id, "e")}`);
|
|
2880
2884
|
_if(() => {
|
|
2881
2885
|
if (fileComments.length) {
|
|
2882
2886
|
const $scope38_id = _scope_id();
|
|
2883
|
-
_html(`<span${_attr_class("
|
|
2887
|
+
_html(`<span${_attr_class("_p")}>💬 <!>${_escape(fileComments.length)}${_el_resume($scope38_id, "b")}</span>`);
|
|
2884
2888
|
writeScope($scope38_id, {});
|
|
2885
2889
|
return 0;
|
|
2886
2890
|
}
|
|
@@ -2889,17 +2893,17 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2889
2893
|
_if(() => {
|
|
2890
2894
|
if (file$1.binary) {
|
|
2891
2895
|
const $scope39_id = _scope_id();
|
|
2892
|
-
_html(`<p${_attr_class(["
|
|
2896
|
+
_html(`<p${_attr_class(["_eX", "_eO"])}>binary file</p>`);
|
|
2893
2897
|
writeScope($scope39_id, {});
|
|
2894
2898
|
return 0;
|
|
2895
2899
|
} else if (file$1.tooLarge) {
|
|
2896
2900
|
const $scope40_id = _scope_id();
|
|
2897
|
-
_html(`<p${_attr_class(["
|
|
2901
|
+
_html(`<p${_attr_class(["_eX", "_eO"])}>file too large to display</p>`);
|
|
2898
2902
|
writeScope($scope40_id, {});
|
|
2899
2903
|
return 1;
|
|
2900
2904
|
} else if (file$1.old == null && file$1.new == null) {
|
|
2901
2905
|
const $scope41_id = _scope_id();
|
|
2902
|
-
_html(`<p${_attr_class(["
|
|
2906
|
+
_html(`<p${_attr_class(["_eX", "_eO"])}>file could not be read</p>`);
|
|
2903
2907
|
writeScope($scope41_id, {});
|
|
2904
2908
|
return 2;
|
|
2905
2909
|
} else {
|
|
@@ -2909,15 +2913,15 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2909
2913
|
_if(() => {
|
|
2910
2914
|
if (!forceNear) {
|
|
2911
2915
|
const $scope25_id = _scope_id();
|
|
2912
|
-
_html(`<div${_attr_class(["
|
|
2913
|
-
_script($scope25_id, "
|
|
2916
|
+
_html(`<div${_attr_class(["_eQ", "_eO"])}></div>${_el_resume($scope25_id, "a")}`);
|
|
2917
|
+
_script($scope25_id, "j45");
|
|
2914
2918
|
writeScope($scope25_id, {});
|
|
2915
2919
|
return 0;
|
|
2916
2920
|
} else {
|
|
2917
2921
|
const $scope12_id = _scope_id();
|
|
2918
2922
|
const $childScope9 = _peek_scope_id();
|
|
2919
2923
|
diff_file_default({
|
|
2920
|
-
class: "
|
|
2924
|
+
class: "_eO",
|
|
2921
2925
|
file: file$1,
|
|
2922
2926
|
comments: fileComments,
|
|
2923
2927
|
draft: draft && draft.key === file$1.key ? draft : null,
|
|
@@ -2929,25 +2933,25 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2929
2933
|
start: Math.min(range.start, range.end),
|
|
2930
2934
|
end: Math.max(range.start, range.end)
|
|
2931
2935
|
};
|
|
2932
|
-
}, "
|
|
2936
|
+
}, "j26", $scope12_id),
|
|
2933
2937
|
onSaveComment: _resume(function(text) {
|
|
2934
2938
|
saveComment(file$1, text);
|
|
2935
|
-
}, "
|
|
2939
|
+
}, "j27", $scope12_id),
|
|
2936
2940
|
onSendDraft: _resume(function(text, sessionId) {
|
|
2937
2941
|
sendDraftComment(file$1, text, sessionId);
|
|
2938
|
-
}, "
|
|
2942
|
+
}, "j28", $scope12_id),
|
|
2939
2943
|
onCancelDraft: _resume(function() {
|
|
2940
2944
|
draft = null;
|
|
2941
|
-
}, "
|
|
2945
|
+
}, "j29", $scope12_id),
|
|
2942
2946
|
onDeleteComment: _resume(function(id) {
|
|
2943
2947
|
removeComment(id);
|
|
2944
|
-
}, "
|
|
2948
|
+
}, "j30", $scope12_id),
|
|
2945
2949
|
onSendComment: _resume(function(id, sessionId) {
|
|
2946
2950
|
sendOneComment(id, sessionId);
|
|
2947
|
-
}, "
|
|
2951
|
+
}, "j31", $scope12_id),
|
|
2948
2952
|
onError: _resume(function(message) {
|
|
2949
2953
|
error = message;
|
|
2950
|
-
}, "
|
|
2954
|
+
}, "j32", $scope12_id)
|
|
2951
2955
|
});
|
|
2952
2956
|
_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
2957
|
return 1;
|
|
@@ -2956,13 +2960,13 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2956
2960
|
_subscribe($findState_hit_key__closures, writeScope($scope11_id, {
|
|
2957
2961
|
b: near,
|
|
2958
2962
|
c: forceNear,
|
|
2959
|
-
|
|
2963
|
+
Cdy: 1
|
|
2960
2964
|
}));
|
|
2961
2965
|
return 3;
|
|
2962
2966
|
}
|
|
2963
2967
|
}, $scope10_id, "h");
|
|
2964
2968
|
_html(`</details>${_el_resume($scope10_id, "a")}`);
|
|
2965
|
-
_script($scope10_id, "
|
|
2969
|
+
_script($scope10_id, "j46");
|
|
2966
2970
|
_subscribe($commentsByFile__closures, _subscribe($shownKeySet__closures, _subscribe($findState_hit_line__closures, _subscribe($findState_hit_key__closures, writeScope($scope10_id, {
|
|
2967
2971
|
j: file$1,
|
|
2968
2972
|
k: file$1?.key,
|
|
@@ -2980,8 +2984,8 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2980
2984
|
}, "key", $scope9_id, "b", 1, 1, 1, "</div>", 1);
|
|
2981
2985
|
_show_end($scope9_id, "c", $show, 1, 1, 0, 1);
|
|
2982
2986
|
_subscribe($for_content__repoFiles__closures, _subscribe($for_content__repo_id__closures, _subscribe($repoList_length__closures, _subscribe($collapsedRepos__closures, writeScope($scope9_id, {
|
|
2983
|
-
|
|
2984
|
-
|
|
2987
|
+
Ce1: 2,
|
|
2988
|
+
Ce6: 1,
|
|
2985
2989
|
Cy: 2
|
|
2986
2990
|
})))));
|
|
2987
2991
|
return 0;
|
|
@@ -3038,11 +3042,11 @@ var diff_view_default = _template("i", (input) => {
|
|
|
3038
3042
|
collapsedRepos,
|
|
3039
3043
|
collapsedReposChange: _resume((_new_collapsedRepos) => {
|
|
3040
3044
|
collapsedRepos = _new_collapsedRepos;
|
|
3041
|
-
}, "
|
|
3045
|
+
}, "j33", $scope0_id),
|
|
3042
3046
|
openedRepos,
|
|
3043
3047
|
openedReposChange: _resume((_new_openedRepos) => {
|
|
3044
3048
|
openedRepos = _new_openedRepos;
|
|
3045
|
-
}, "
|
|
3049
|
+
}, "j34", $scope0_id),
|
|
3046
3050
|
commentKeys,
|
|
3047
3051
|
onJump: jumpTo
|
|
3048
3052
|
});
|
|
@@ -3052,27 +3056,26 @@ var diff_view_default = _template("i", (input) => {
|
|
|
3052
3056
|
open: fileSheet,
|
|
3053
3057
|
openChange: _resume((_new_fileSheet) => {
|
|
3054
3058
|
fileSheet = _new_fileSheet;
|
|
3055
|
-
}, "
|
|
3059
|
+
}, "j35", $scope0_id),
|
|
3056
3060
|
files: shownFiles,
|
|
3057
3061
|
commentKeys,
|
|
3058
3062
|
total: allFiles.length,
|
|
3059
3063
|
onJump: jumpTo
|
|
3060
3064
|
});
|
|
3061
3065
|
_html("</div>");
|
|
3062
|
-
_script($scope0_id, "
|
|
3063
|
-
_script($scope0_id, "
|
|
3064
|
-
_script($scope0_id, "
|
|
3065
|
-
_script($scope0_id, "
|
|
3066
|
+
_script($scope0_id, "j47");
|
|
3067
|
+
_script($scope0_id, "j48");
|
|
3068
|
+
_script($scope0_id, "j49");
|
|
3069
|
+
_script($scope0_id, "j50");
|
|
3066
3070
|
writeScope($scope0_id, {
|
|
3067
|
-
ag: _serialize_if($scope0_reason,
|
|
3068
|
-
ah: _serialize_if($scope0_reason,
|
|
3071
|
+
ag: _serialize_if($scope0_reason, 2) && input.findOpen,
|
|
3072
|
+
ah: _serialize_if($scope0_reason, 1) && input.findOpenChange,
|
|
3069
3073
|
aj: input.findTick,
|
|
3070
3074
|
al: input.workspaceId,
|
|
3071
3075
|
am: input.focusPr,
|
|
3072
3076
|
an: input.active,
|
|
3073
3077
|
ao: input.focusNonce,
|
|
3074
3078
|
ap: input.onSent,
|
|
3075
|
-
aq: input.onExit,
|
|
3076
3079
|
ar: input.sessions,
|
|
3077
3080
|
as: input.workspaceBranch,
|
|
3078
3081
|
at: input.workspaceName,
|
|
@@ -3140,28 +3143,28 @@ var diff_view_default = _template("i", (input) => {
|
|
|
3140
3143
|
h: _existing_scope($childScope),
|
|
3141
3144
|
r: _existing_scope($childScope3),
|
|
3142
3145
|
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
|
-
|
|
3146
|
+
dt: $error__closures,
|
|
3147
|
+
dw: $uncommitted__closures,
|
|
3148
|
+
du: $loading__closures,
|
|
3149
|
+
ee: $driftRepos__closures,
|
|
3150
|
+
dp: $si__input_workspaceBranch && $input_workspaceBranch__closures,
|
|
3151
|
+
dq: $si__input_workspaceName && $input_workspaceName__closures,
|
|
3152
|
+
e1: $collapsedRepos__closures,
|
|
3153
|
+
e3: $expandingRepos__closures,
|
|
3154
|
+
ed: $localDifferIds__closures,
|
|
3155
|
+
do: $si__input_sessions && $input_sessions__closures,
|
|
3156
|
+
ds: $draft__closures,
|
|
3157
|
+
eg: $saveComment2__closures,
|
|
3158
|
+
eh: $removeComment2__closures,
|
|
3159
|
+
ek: $sendDraftComment2__closures,
|
|
3160
|
+
el: $sendOneComment2__closures,
|
|
3161
|
+
dy: $findState_hit_key__closures,
|
|
3162
|
+
e0: $findState_hit_line__closures,
|
|
3163
|
+
e9: $shownKeySet__closures,
|
|
3164
|
+
ec: $commentsByFile__closures,
|
|
3165
|
+
e6: $repoList_length__closures,
|
|
3166
|
+
dz: $findState_hit_repo__closures,
|
|
3167
|
+
e2: $openedRepos__closures,
|
|
3165
3168
|
ac: _existing_scope($childScope10),
|
|
3166
3169
|
ad: _existing_scope($childScope11)
|
|
3167
3170
|
});
|