@dylanpiercey/work 0.0.97 → 0.0.98
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/{_DPT3XRV0.js → _CQgZXJbG.js} +224 -154
- package/dist/{_CRHCebx8.js → _Dc6tTxJq.js} +27 -27
- package/dist/index.mjs +319 -319
- package/dist/public/assets/{_ERnhNh-Y.js → _-tuiGbc-.js} +1 -1
- package/dist/public/assets/_-tuiGbc-.js.br +0 -0
- package/dist/public/assets/{_8tiEU3RO.js → _2fq8NmQD.js} +1 -1
- package/dist/public/assets/_2fq8NmQD.js.br +0 -0
- package/dist/public/assets/{_BZsn-7u1.js → _A0gPg0dM.js} +1 -1
- package/dist/public/assets/_A0gPg0dM.js.br +0 -0
- package/dist/public/assets/{_DyjSeFv1.js → _B2t0Kzqt.js} +1 -1
- package/dist/public/assets/_B2t0Kzqt.js.br +0 -0
- package/dist/public/assets/{_CPeBESzl.js → _B5U6PSkP.js} +1 -1
- package/dist/public/assets/_B5U6PSkP.js.br +0 -0
- package/dist/public/assets/{_DwVknvPD2.js → _B5aGEX-X2.js} +1 -1
- package/dist/public/assets/_B5aGEX-X2.js.br +0 -0
- package/dist/public/assets/{_Skj5Z76l2.js → _B6afBkTT2.js} +1 -1
- package/dist/public/assets/_B6afBkTT2.js.br +0 -0
- package/dist/public/assets/{_Dx_iq98R.js → _B8LZzSK1.js} +1 -1
- package/dist/public/assets/_B8LZzSK1.js.br +0 -0
- package/dist/public/assets/{_BE3R8mFE.js → _B97yBb0l.js} +1 -1
- package/dist/public/assets/_B97yBb0l.js.br +0 -0
- package/dist/public/assets/{_B2AC3SUA.js → _BDnmfHp7.js} +1 -1
- package/dist/public/assets/_BDnmfHp7.js.br +0 -0
- package/dist/public/assets/{_Ka1PvLiD.js → _BPZG-nGh.js} +1 -1
- package/dist/public/assets/_BPZG-nGh.js.br +0 -0
- package/dist/public/assets/{_COSXS0J8.js → _BQHp2hkb.js} +1 -1
- package/dist/public/assets/_BQHp2hkb.js.br +0 -0
- package/dist/public/assets/{_C5xrDvQI2.js → _BT-fEnqx2.js} +1 -1
- package/dist/public/assets/_BT-fEnqx2.js.br +0 -0
- package/dist/public/assets/{_DSX5dMw5.js → _BUFMn4Gx.js} +1 -1
- package/dist/public/assets/_BUFMn4Gx.js.br +0 -0
- package/dist/public/assets/{_Bzp9X35S2.js → _BVCDd7aR2.js} +1 -1
- package/dist/public/assets/_BVCDd7aR2.js.br +0 -0
- package/dist/public/assets/{_DLSsOTkW2.js → _BVy5NPdq2.js} +1 -1
- package/dist/public/assets/{_C2SDF9Yg2.js → _BWC4hGHG2.js} +1 -1
- package/dist/public/assets/{_0KWxGbZw.js → _BXSKPpGJ.js} +1 -1
- package/dist/public/assets/_BXSKPpGJ.js.br +0 -0
- package/dist/public/assets/{_YOqlhSHw2.js → _Baz1XicV2.js} +1 -1
- package/dist/public/assets/_Baz1XicV2.js.br +0 -0
- package/dist/public/assets/{_Bl512FoL.js → _BbDLs84u.js} +1 -1
- package/dist/public/assets/_BbDLs84u.js.br +0 -0
- package/dist/public/assets/{_BP_u4OL-.js → _BcYwVgcu.js} +1 -1
- package/dist/public/assets/_BcYwVgcu.js.br +0 -0
- package/dist/public/assets/{_BIOtkDha2.js → _BervXOMT2.js} +1 -1
- package/dist/public/assets/_BervXOMT2.js.br +0 -0
- package/dist/public/assets/{_BzGLDIBO2.js → _BnJ8gNIR2.js} +1 -1
- package/dist/public/assets/_BnJ8gNIR2.js.br +0 -0
- package/dist/public/assets/{_DaH2ZbUV.js → _BsUV6fEA.js} +1 -1
- package/dist/public/assets/_BsUV6fEA.js.br +0 -0
- package/dist/public/assets/{_D4cKCypW.js → _BtKhlRGM.js} +1 -1
- package/dist/public/assets/_BtKhlRGM.js.br +0 -0
- package/dist/public/assets/{_Bw9jvu1-.js → _BwBdmWbG.js} +1 -1
- package/dist/public/assets/_BwBdmWbG.js.br +0 -0
- package/dist/public/assets/{_XQjM1w_8.js → _BxpxdFjO.js} +1 -1
- package/dist/public/assets/_BxpxdFjO.js.br +0 -0
- package/dist/public/assets/{_tzwJRvKK.js → _ByIhH2L0.js} +4 -4
- package/dist/public/assets/_ByIhH2L0.js.br +0 -0
- package/dist/public/assets/{_J13dOJAl.js → _BytBjgvR.js} +46 -46
- package/dist/public/assets/_BytBjgvR.js.br +0 -0
- package/dist/public/assets/{_CRbRTfeP2.js → _C-es4gJw2.js} +1 -1
- package/dist/public/assets/_C-es4gJw2.js.br +0 -0
- package/dist/public/assets/{_DFpIp88l2.js → _C-igEDzm2.js} +1 -1
- package/dist/public/assets/_C-igEDzm2.js.br +0 -0
- package/dist/public/assets/{_cd0Dn5oM2.js → _C1FnBrBU2.js} +1 -1
- package/dist/public/assets/_C1FnBrBU2.js.br +0 -0
- package/dist/public/assets/{_a_oWV3XM.js → _C1aQ2w3g.js} +1 -1
- package/dist/public/assets/_C1aQ2w3g.js.br +0 -0
- package/dist/public/assets/{_DYCJZ-Iu.js → _C9Gk79ni.js} +1 -1
- package/dist/public/assets/_C9Gk79ni.js.br +0 -0
- package/dist/public/assets/{_zZovbli0.js → _CGcONmxe.js} +1 -1
- package/dist/public/assets/_CGcONmxe.js.br +0 -0
- package/dist/public/assets/{_BBS5zv8C2.js → _CKccXLgP2.js} +1 -1
- package/dist/public/assets/_CKccXLgP2.js.br +0 -0
- package/dist/public/assets/{_D5o1QAvJ.js → _CPVYCZMv.js} +1 -1
- package/dist/public/assets/_CPVYCZMv.js.br +0 -0
- package/dist/public/assets/{_DJ6cJzuI.js → _CRzqqlR0.js} +1 -1
- package/dist/public/assets/_CRzqqlR0.js.br +0 -0
- package/dist/public/assets/{_CyQMVS2T.js → _CUeqLqzO.js} +1 -1
- package/dist/public/assets/_CUeqLqzO.js.br +0 -0
- package/dist/public/assets/{_mU_JkZbV.js → _CVcWNcIW.js} +1 -1
- package/dist/public/assets/_CVcWNcIW.js.br +0 -0
- package/dist/public/assets/{_BiDyvSOO2.js → _CYOQH5YC2.js} +1 -1
- package/dist/public/assets/_CYOQH5YC2.js.br +0 -0
- package/dist/public/assets/{_Cn1q8R2G.js → _Cej15Wz_.js} +1 -1
- package/dist/public/assets/_Cej15Wz_.js.br +0 -0
- package/dist/public/assets/{_Cyl9FKNU2.js → _CiSNeDML2.js} +1 -1
- package/dist/public/assets/_CiSNeDML2.js.br +0 -0
- package/dist/public/assets/{_C4nOqeMD.js → _Cmt1Ut6b.js} +1 -1
- package/dist/public/assets/_Cmt1Ut6b.js.br +0 -0
- package/dist/public/assets/{_BwFRjBOz.js → _Cvc68VXt.js} +1 -1
- package/dist/public/assets/_Cvc68VXt.js.br +0 -0
- package/dist/public/assets/{_BPfQaxTd.js → _Cxu0r4me.js} +1 -1
- package/dist/public/assets/_Cxu0r4me.js.br +0 -0
- package/dist/public/assets/{_VJa0VTCn.js → _D-ojdvNK.js} +1 -1
- package/dist/public/assets/_D-ojdvNK.js.br +0 -0
- package/dist/public/assets/{_DA_USHEu.js → _D3cgvMOc.js} +1 -1
- package/dist/public/assets/_D3cgvMOc.js.br +0 -0
- package/dist/public/assets/{_C-KXAuRh2.js → _D4g_4fW62.js} +1 -1
- package/dist/public/assets/_D4g_4fW62.js.br +0 -0
- package/dist/public/assets/{_-b51A6U7.js → _DBvCZ4eD.js} +1 -1
- package/dist/public/assets/_DBvCZ4eD.js.br +0 -0
- package/dist/public/assets/{_Ct6qquOF.js → _DCRuwmyv.js} +1 -1
- package/dist/public/assets/_DCRuwmyv.js.br +0 -0
- package/dist/public/assets/{_DcTJxua3.js → _DEvsPiuq.js} +1 -1
- package/dist/public/assets/_DEvsPiuq.js.br +0 -0
- package/dist/public/assets/{_pImBOEXD2.js → _DEzyKNH02.js} +1 -1
- package/dist/public/assets/_DEzyKNH02.js.br +0 -0
- package/dist/public/assets/{_e3oDddUx2.js → _DKmAvbSL2.js} +1 -1
- package/dist/public/assets/_DKmAvbSL2.js.br +0 -0
- package/dist/public/assets/{_BTsrDfH-.js → _DOfxrwd5.js} +1 -1
- package/dist/public/assets/_DOfxrwd5.js.br +0 -0
- package/dist/public/assets/{_B80qXOTR.js → _DS-rvgPq.js} +1 -1
- package/dist/public/assets/_DS-rvgPq.js.br +0 -0
- package/dist/public/assets/{_BLcb3Cg42.js → _DVqsGkcR2.js} +1 -1
- package/dist/public/assets/_DVqsGkcR2.js.br +0 -0
- package/dist/public/assets/{_zWXmuT9S.js → _DXUc5JLw.js} +1 -1
- package/dist/public/assets/_DXUc5JLw.js.br +0 -0
- package/dist/public/assets/{_Is38l22C.js → _D_VEyzQS.js} +1 -1
- package/dist/public/assets/_D_VEyzQS.js.br +0 -0
- package/dist/public/assets/{_BaY0h2ec2.js → _DrLr9gq22.js} +1 -1
- package/dist/public/assets/_DrLr9gq22.js.br +0 -0
- package/dist/public/assets/{_BkjyxJ0i.js → _DzUh69ip.js} +1 -1
- package/dist/public/assets/{_DJ0uAfUp2.js → _HE70SsNX2.js} +1 -1
- package/dist/public/assets/_HE70SsNX2.js.br +0 -0
- package/dist/public/assets/{_BzfCLxV82.js → _Nr_XTCP62.js} +1 -1
- package/dist/public/assets/_Nr_XTCP62.js.br +0 -0
- package/dist/public/assets/{_B9D12lOA.js → _OHfRW1ji.js} +1 -1
- package/dist/public/assets/_OHfRW1ji.js.br +0 -0
- package/dist/public/assets/{_CMYGsqdf.js → _Sz6yIHnm.js} +1 -1
- package/dist/public/assets/_Sz6yIHnm.js.br +0 -0
- package/dist/public/assets/{_BGvyA4oE2.js → _V0N1wym_2.js} +1 -1
- package/dist/public/assets/_V0N1wym_2.js.br +0 -0
- package/dist/public/assets/{_I8D7wiZO.js → _W41_M6ks.js} +1 -1
- package/dist/public/assets/_W41_M6ks.js.br +0 -0
- package/dist/public/assets/{_jK_yh8X8.js → _YCFUpy_e.js} +1 -1
- package/dist/public/assets/_YCFUpy_e.js.br +0 -0
- package/dist/public/assets/{_gu9YaOjx.js → _YXt0NV8C.js} +1 -1
- package/dist/public/assets/_YXt0NV8C.js.br +0 -0
- package/dist/public/assets/{_BgPTyoAr2.js → __6Ao2IpB2.js} +1 -1
- package/dist/public/assets/__6Ao2IpB2.js.br +0 -0
- package/dist/public/assets/{_Cyhh59cC.js → _ar-pHXPS.js} +1 -1
- package/dist/public/assets/_ar-pHXPS.js.br +0 -0
- package/dist/public/assets/{_Bc4j5n7x.js → _eCg9cVES.js} +1 -1
- package/dist/public/assets/_eCg9cVES.js.br +0 -0
- package/dist/public/assets/{_B8-V5BF5.js → _pPGMLP6w.js} +1 -1
- package/dist/public/assets/_pPGMLP6w.js.br +0 -0
- package/dist/public/assets/{_BCovSJRb.js → _pn5L5369.js} +1 -1
- package/dist/public/assets/_pn5L5369.js.br +0 -0
- package/dist/public/assets/{_8GNWgmjH.js → _qBx90PKO.js} +1 -1
- package/dist/public/assets/_qBx90PKO.js.br +0 -0
- package/dist/public/assets/{_t5tGr2D1.js → _uKykNxr_.js} +1 -1
- package/dist/public/assets/_uKykNxr_.js.br +0 -0
- package/dist/public/assets/{app-page-D30JmXcA.css → app-page-ChAo2NHp.css} +1 -1
- package/dist/public/assets/app-page-ChAo2NHp.css.br +0 -0
- package/dist/public/assets/diff-view-Cj1gonmn.css +1 -0
- package/dist/public/assets/diff-view-Cj1gonmn.css.br +0 -0
- package/dist/public/assets/new-DkhWTPMD.js +1 -0
- package/dist/public/assets/settings-DkhWTPMD.js +1 -0
- package/dist/public/assets/w-DkhWTPMD.js +1 -0
- package/dist/public/assets/w._-CSX6R2qy.js +1 -0
- package/dist/public/assets/w._-DkhWTPMD.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_-b51A6U7.js.br +0 -0
- package/dist/public/assets/_0KWxGbZw.js.br +0 -0
- package/dist/public/assets/_8GNWgmjH.js.br +0 -0
- package/dist/public/assets/_8tiEU3RO.js.br +0 -0
- package/dist/public/assets/_B2AC3SUA.js.br +0 -0
- package/dist/public/assets/_B8-V5BF5.js.br +0 -0
- package/dist/public/assets/_B80qXOTR.js.br +0 -0
- package/dist/public/assets/_B9D12lOA.js.br +0 -0
- package/dist/public/assets/_BBS5zv8C2.js.br +0 -0
- package/dist/public/assets/_BCovSJRb.js.br +0 -0
- package/dist/public/assets/_BE3R8mFE.js.br +0 -0
- package/dist/public/assets/_BGvyA4oE2.js.br +0 -0
- package/dist/public/assets/_BIOtkDha2.js.br +0 -0
- package/dist/public/assets/_BLcb3Cg42.js.br +0 -0
- package/dist/public/assets/_BP_u4OL-.js.br +0 -0
- package/dist/public/assets/_BPfQaxTd.js.br +0 -0
- package/dist/public/assets/_BTsrDfH-.js.br +0 -0
- package/dist/public/assets/_BZsn-7u1.js.br +0 -0
- package/dist/public/assets/_BaY0h2ec2.js.br +0 -0
- package/dist/public/assets/_Bc4j5n7x.js.br +0 -0
- package/dist/public/assets/_BgPTyoAr2.js.br +0 -0
- package/dist/public/assets/_BiDyvSOO2.js.br +0 -0
- package/dist/public/assets/_Bl512FoL.js.br +0 -0
- package/dist/public/assets/_Bw9jvu1-.js.br +0 -0
- package/dist/public/assets/_BwFRjBOz.js.br +0 -0
- package/dist/public/assets/_BzGLDIBO2.js.br +0 -0
- package/dist/public/assets/_BzfCLxV82.js.br +0 -0
- package/dist/public/assets/_Bzp9X35S2.js.br +0 -0
- package/dist/public/assets/_C-KXAuRh2.js.br +0 -0
- package/dist/public/assets/_C4nOqeMD.js.br +0 -0
- package/dist/public/assets/_C5xrDvQI2.js.br +0 -0
- package/dist/public/assets/_CMYGsqdf.js.br +0 -0
- package/dist/public/assets/_COSXS0J8.js.br +0 -0
- package/dist/public/assets/_CPeBESzl.js.br +0 -0
- package/dist/public/assets/_CRbRTfeP2.js.br +0 -0
- package/dist/public/assets/_Cn1q8R2G.js.br +0 -0
- package/dist/public/assets/_Ct6qquOF.js.br +0 -0
- package/dist/public/assets/_CyQMVS2T.js.br +0 -0
- package/dist/public/assets/_Cyhh59cC.js.br +0 -0
- package/dist/public/assets/_Cyl9FKNU2.js.br +0 -0
- package/dist/public/assets/_D4cKCypW.js.br +0 -0
- package/dist/public/assets/_D5o1QAvJ.js.br +0 -0
- package/dist/public/assets/_DA_USHEu.js.br +0 -0
- package/dist/public/assets/_DFpIp88l2.js.br +0 -0
- package/dist/public/assets/_DJ0uAfUp2.js.br +0 -0
- package/dist/public/assets/_DJ6cJzuI.js.br +0 -0
- package/dist/public/assets/_DSX5dMw5.js.br +0 -0
- package/dist/public/assets/_DYCJZ-Iu.js.br +0 -0
- package/dist/public/assets/_DaH2ZbUV.js.br +0 -0
- package/dist/public/assets/_DcTJxua3.js.br +0 -0
- package/dist/public/assets/_DwVknvPD2.js.br +0 -0
- package/dist/public/assets/_Dx_iq98R.js.br +0 -0
- package/dist/public/assets/_DyjSeFv1.js.br +0 -0
- package/dist/public/assets/_ERnhNh-Y.js.br +0 -0
- package/dist/public/assets/_I8D7wiZO.js.br +0 -0
- package/dist/public/assets/_Is38l22C.js.br +0 -0
- package/dist/public/assets/_J13dOJAl.js.br +0 -0
- package/dist/public/assets/_Ka1PvLiD.js.br +0 -0
- package/dist/public/assets/_Skj5Z76l2.js.br +0 -0
- package/dist/public/assets/_VJa0VTCn.js.br +0 -0
- package/dist/public/assets/_XQjM1w_8.js.br +0 -0
- package/dist/public/assets/_YOqlhSHw2.js.br +0 -0
- package/dist/public/assets/_a_oWV3XM.js.br +0 -0
- package/dist/public/assets/_cd0Dn5oM2.js.br +0 -0
- package/dist/public/assets/_e3oDddUx2.js.br +0 -0
- package/dist/public/assets/_gu9YaOjx.js.br +0 -0
- package/dist/public/assets/_jK_yh8X8.js.br +0 -0
- package/dist/public/assets/_mU_JkZbV.js.br +0 -0
- package/dist/public/assets/_pImBOEXD2.js.br +0 -0
- package/dist/public/assets/_t5tGr2D1.js.br +0 -0
- package/dist/public/assets/_tzwJRvKK.js.br +0 -0
- package/dist/public/assets/_zWXmuT9S.js.br +0 -0
- package/dist/public/assets/_zZovbli0.js.br +0 -0
- package/dist/public/assets/app-page-D30JmXcA.css.br +0 -0
- package/dist/public/assets/diff-view-WfajAxvs.css +0 -1
- package/dist/public/assets/diff-view-WfajAxvs.css.br +0 -0
- package/dist/public/assets/new-BiAv3en2.js +0 -1
- package/dist/public/assets/settings-BiAv3en2.js +0 -1
- package/dist/public/assets/w-BiAv3en2.js +0 -1
- package/dist/public/assets/w._-BiAv3en2.js +0 -1
- package/dist/public/assets/w._-DoR9D5Ku.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as repoLabel, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, F as iconBtnLg, G as _attr_details_or_dialog_open, I as iconBtnRow, K as _attr_input_value, O as icon_base_default, Pt as writeScope, St as _sep, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, _ as diffTreeOpen, _t as _resume_branch, a as fuzzy, at as _el_resume, b as setDiffScope, bt as _scope_with_id, c as icon_arrow_up_default, ft as _html, g as diffScope, gt as _resume, h as diffPos, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, l as icon_back_default, lt as _for_of, m as diffFilter, mt as _if, n as findIconBtn, ot as _escape, q as _attr_option_value, r as findInput, rt as _el, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, vt as _scope_id, wt as _serialize_if, xt as _script, y as setDiffPos, yt as _scope_reason } from "./
|
|
1
|
+
import { A as repoLabel, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, F as iconBtnLg, G as _attr_details_or_dialog_open, I as iconBtnRow, K as _attr_input_value, L as iconBtnXs, O as icon_base_default, Pt as writeScope, St as _sep, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, _ as diffTreeOpen, _t as _resume_branch, a as fuzzy, at as _el_resume, b as setDiffScope, bt as _scope_with_id, c as icon_arrow_up_default, ft as _html, g as diffScope, gt as _resume, h as diffPos, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, l as icon_back_default, lt as _for_of, m as diffFilter, mt as _if, n as findIconBtn, ot as _escape, q as _attr_option_value, r as findInput, rt as _el, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, vt as _scope_id, wt as _serialize_if, xt as _script, y as setDiffPos, yt as _scope_reason } from "./_Dc6tTxJq.js";
|
|
2
2
|
//#region src/client/router.ts
|
|
3
3
|
function urlFor(r) {
|
|
4
4
|
if (r.view === "settings") return "/settings";
|
|
@@ -242,7 +242,7 @@ function treeDirs(files) {
|
|
|
242
242
|
};
|
|
243
243
|
return build(root, "", "", -1);
|
|
244
244
|
}
|
|
245
|
-
var treeToggle = "
|
|
245
|
+
var treeToggle = "_dt _U _d";
|
|
246
246
|
//#endregion
|
|
247
247
|
//#region src/tags/diff-send.marko
|
|
248
248
|
var diff_send_default = _template("j", (input) => {
|
|
@@ -252,21 +252,21 @@ var diff_send_default = _template("j", (input) => {
|
|
|
252
252
|
let sendTarget = null;
|
|
253
253
|
const sessions = input.sessions || [];
|
|
254
254
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
255
|
-
_html(`<span${_attr_class("
|
|
255
|
+
_html(`<span${_attr_class("_gZ")}><button type=button${_attr_class("_i")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
|
|
256
256
|
_if(() => {
|
|
257
257
|
if (sessions.length === 1) {
|
|
258
258
|
const $scope1_id = _scope_id();
|
|
259
|
-
_html(`<button type=button${_attr_class(["
|
|
259
|
+
_html(`<button type=button${_attr_class(["_i", "_j"])}${_attr("disabled", sending)}>${`Send to ${_escape(`${sessions[0].title || sessions[0].agent}`)}`}${_el_resume($scope1_id, "b")}</button>${_el_resume($scope1_id, "a")}`);
|
|
260
260
|
_script($scope1_id, "j1");
|
|
261
261
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
262
262
|
return 0;
|
|
263
263
|
} else if (sessions.length) {
|
|
264
264
|
const $scope2_id = _scope_id();
|
|
265
|
-
_html(`<span${_attr_class("
|
|
265
|
+
_html(`<span${_attr_class("_g0")}><button type=button${_attr_class(["_j", "_g1"])}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
|
|
266
266
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
267
267
|
sendTarget = _new_sendTarget;
|
|
268
268
|
}, "j0", $scope2_id), () => {
|
|
269
|
-
_html(`<select${_attr_class("
|
|
269
|
+
_html(`<select${_attr_class("_g2")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
270
270
|
_for_of(sessions, (s) => {
|
|
271
271
|
const $scope3_id = _scope_id();
|
|
272
272
|
_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)}`);
|
|
@@ -1832,9 +1832,9 @@ var diff_find_default = _template("i", (input) => {
|
|
|
1832
1832
|
el.select();
|
|
1833
1833
|
}, 0);
|
|
1834
1834
|
}, "i5", $scope0_id);
|
|
1835
|
-
_html(`<div${_attr_class(["
|
|
1835
|
+
_html(`<div${_attr_class(["_fG", !open && "_fF"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
1836
1836
|
type(v);
|
|
1837
|
-
}, "i0", $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("
|
|
1837
|
+
}, "i0", $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("_fJ")}>${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"}>`);
|
|
1838
1838
|
icon_arrow_up_default({ size: 14 });
|
|
1839
1839
|
_html(`</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
1840
1840
|
icon_arrow_down_default({ size: 14 });
|
|
@@ -1935,8 +1935,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
return shortHeadFallback(head);
|
|
1937
1937
|
}
|
|
1938
|
-
var repoWorktree = "
|
|
1939
|
-
var repoTitle = "
|
|
1938
|
+
var repoWorktree = "_f0 _r";
|
|
1939
|
+
var repoTitle = "_f6 _q";
|
|
1940
1940
|
//#endregion
|
|
1941
1941
|
//#region src/tags/icons/icon-chevron-right.marko
|
|
1942
1942
|
var icon_chevron_right_default = _template("R", (input) => {
|
|
@@ -1988,34 +1988,70 @@ var icon_comment_default = _template("T", (input) => {
|
|
|
1988
1988
|
});
|
|
1989
1989
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
1990
1990
|
});
|
|
1991
|
+
//#endregion
|
|
1992
|
+
//#region src/tags/icons/icon-compress-lines.marko
|
|
1993
|
+
var icon_compress_lines_default = _template("U", (input) => {
|
|
1994
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
1995
|
+
const $scope0_id = _scope_id();
|
|
1996
|
+
_set_serialize_reason({
|
|
1997
|
+
0: $sg__input_size__OR__input_class,
|
|
1998
|
+
1: $sg__input_size__OR__input_class
|
|
1999
|
+
});
|
|
2000
|
+
const $childScope = _peek_scope_id();
|
|
2001
|
+
icon_base_default({
|
|
2002
|
+
d: "M18 2L6 2 M18 22L6 22 M12 5V10M12 10L15 7M12 10L9 7 M12 19V14M12 14L15 17M12 14L9 17",
|
|
2003
|
+
size: input.size,
|
|
2004
|
+
class: input.class
|
|
2005
|
+
});
|
|
2006
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
2007
|
+
});
|
|
2008
|
+
//#endregion
|
|
2009
|
+
//#region src/tags/icons/icon-expand-lines.marko
|
|
2010
|
+
var icon_expand_lines_default = _template("Z", (input) => {
|
|
2011
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
2012
|
+
const $scope0_id = _scope_id();
|
|
2013
|
+
_set_serialize_reason({
|
|
2014
|
+
0: $sg__input_size__OR__input_class,
|
|
2015
|
+
1: $sg__input_size__OR__input_class
|
|
2016
|
+
});
|
|
2017
|
+
const $childScope = _peek_scope_id();
|
|
2018
|
+
icon_base_default({
|
|
2019
|
+
d: "M18 2L6 2 M18 22L6 22 M12 14V19M12 19L15 16M12 19L9 16 M12 10V5M12 5L15 8M12 5L9 8",
|
|
2020
|
+
size: input.size,
|
|
2021
|
+
class: input.class
|
|
2022
|
+
});
|
|
2023
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
2024
|
+
});
|
|
1991
2025
|
tone.warn;
|
|
1992
2026
|
var diff_file_default = _template("h", (input) => {
|
|
1993
2027
|
_scope_reason();
|
|
1994
2028
|
const $scope0_id = _scope_id();
|
|
1995
2029
|
_el($scope0_id, "h0");
|
|
1996
|
-
_html(`<div${_attr_class(["
|
|
2030
|
+
_html(`<div${_attr_class(["_hp", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
1997
2031
|
_script($scope0_id, "h1");
|
|
1998
2032
|
writeScope($scope0_id, {
|
|
1999
2033
|
e: input.file,
|
|
2000
2034
|
f: input.comments,
|
|
2001
2035
|
g: input.draft,
|
|
2002
2036
|
h: input.sessions,
|
|
2003
|
-
i: input.
|
|
2004
|
-
j: input.
|
|
2005
|
-
k: input.
|
|
2006
|
-
l: input.
|
|
2007
|
-
m: input.
|
|
2008
|
-
n: input.
|
|
2009
|
-
o: input.
|
|
2010
|
-
p: input.
|
|
2037
|
+
i: input.wholeFile,
|
|
2038
|
+
j: input.onDeleteComment,
|
|
2039
|
+
k: input.onEditComment,
|
|
2040
|
+
l: input.onSendComment,
|
|
2041
|
+
m: input.onSendDraft,
|
|
2042
|
+
n: input.onSaveComment,
|
|
2043
|
+
o: input.onCancelDraft,
|
|
2044
|
+
p: input.onSelect,
|
|
2045
|
+
q: input.onError
|
|
2011
2046
|
});
|
|
2012
2047
|
_resume_branch($scope0_id);
|
|
2013
2048
|
});
|
|
2014
2049
|
//#endregion
|
|
2015
2050
|
//#region src/tags/review-section.marko
|
|
2016
2051
|
var review_section_default = _template("u", (input) => {
|
|
2017
|
-
const $scope0_reason = _scope_reason(), $si__input_collapsed = _serialize_if($scope0_reason,
|
|
2052
|
+
const $scope0_reason = _scope_reason(), $si__input_collapsed = _serialize_if($scope0_reason, 38), $sg__input_collapsed = _serialize_guard($scope0_reason, 38), $sg__input_repo = _serialize_guard($scope0_reason, 33), $si__input_repo = _serialize_if($scope0_reason, 33), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened = _serialize_guard($scope0_reason, 31), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 13), $sg__input_repo__OR__input_files_length = _serialize_guard($scope0_reason, 0), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 13), $sg__input_files__OR__input_shownKeys = _serialize_guard($scope0_reason, 3), $sg__input_files__OR__input_onlyNew = _serialize_guard($scope0_reason, 4), $sg__input_files = _serialize_guard($scope0_reason, 34), $sg__input_files__OR__input_commentsByFile = _serialize_guard($scope0_reason, 5), $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 18), $sg__input_files__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 6), $si__input_files__OR__input_collapsedFiles = _serialize_if($scope0_reason, 6), $si__input_files = _serialize_if($scope0_reason, 34), $si__input_files__OR__input_commentsByFile = _serialize_if($scope0_reason, 5), $si__input_findHit_key = _serialize_if($scope0_reason, 42), $si__input_onFileToggle = _serialize_if($scope0_reason, 43), $si__input_repo__OR__input_files__OR__input_shownKeys = _serialize_if($scope0_reason, 11), $si__input_collapsible__OR__input_collapsed = _serialize_if($scope0_reason, 9), $si__input_files__OR__input_collapsible__OR__input_collapsed__OR__input_opened = _serialize_if($scope0_reason, 24), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers = _serialize_if($scope0_reason, 23), $si__input_files__OR__input_shownKeys = _serialize_if($scope0_reason, 3), $si__input_files__OR__input_onlyNew = _serialize_if($scope0_reason, 4), $si__input = _serialize_if($scope0_reason, 32), $si__input_draft = _serialize_if($scope0_reason, 45), $si__input_sessions = _serialize_if($scope0_reason, 46), $si__input_onSelect = _serialize_if($scope0_reason, 47), $si__input_onSaveComment = _serialize_if($scope0_reason, 48), $si__input_onSendDraft = _serialize_if($scope0_reason, 49), $si__input_onCancelDraft = _serialize_if($scope0_reason, 50), $si__input_onDeleteComment = _serialize_if($scope0_reason, 51), $si__input_onEditComment = _serialize_if($scope0_reason, 52), $si__input_onSendComment = _serialize_if($scope0_reason, 53), $si__input_onError = _serialize_if($scope0_reason, 54), $si__input_shownKeys = _serialize_if($scope0_reason, 35), $si__input_commentsByFile = _serialize_if($scope0_reason, 40), $si__input_collapsedFiles = _serialize_if($scope0_reason, 41), $si__input_findHit_line = _serialize_if($scope0_reason, 44);
|
|
2018
2053
|
const $scope0_id = _scope_id();
|
|
2054
|
+
const $wholeFiles__closures = /* @__PURE__ */ new Set();
|
|
2019
2055
|
const $input__closures = /* @__PURE__ */ new Set();
|
|
2020
2056
|
const $input_draft__closures = /* @__PURE__ */ new Set();
|
|
2021
2057
|
const $input_sessions__closures = /* @__PURE__ */ new Set();
|
|
@@ -2034,6 +2070,7 @@ var review_section_default = _template("u", (input) => {
|
|
|
2034
2070
|
const $input_onFileToggle__closures = /* @__PURE__ */ new Set();
|
|
2035
2071
|
const $input_findHit_line__closures = /* @__PURE__ */ new Set();
|
|
2036
2072
|
const repo = input.repo;
|
|
2073
|
+
let wholeFiles = /* @__PURE__ */ new Set();
|
|
2037
2074
|
const shownFiles = input.files.filter((f) => input.shownKeys.has(f.key));
|
|
2038
2075
|
const shownCount = shownFiles.length;
|
|
2039
2076
|
const countLabel = shownCount || input.files.length;
|
|
@@ -2052,25 +2089,25 @@ var review_section_default = _template("u", (input) => {
|
|
|
2052
2089
|
const newCount = input.files.filter((f) => f.changedSince).length;
|
|
2053
2090
|
const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
|
|
2054
2091
|
const prTitle = repo.pr ? `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}` : "";
|
|
2055
|
-
_html(`<section${_attr_class("
|
|
2092
|
+
_html(`<section${_attr_class("_fW")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_fX", { ["_fY"]: input.collapsible && input.collapsed }])}>`);
|
|
2056
2093
|
_if(() => {
|
|
2057
2094
|
if (input.collapsible) {
|
|
2058
2095
|
const $scope1_id = _scope_id();
|
|
2059
|
-
_html(`<button type=button${_attr_class("
|
|
2060
|
-
"
|
|
2061
|
-
!input.collapsed && "
|
|
2062
|
-
input.expanding && "
|
|
2096
|
+
_html(`<button type=button${_attr_class("_fZ")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
|
|
2097
|
+
"_gi",
|
|
2098
|
+
!input.collapsed && "_gj",
|
|
2099
|
+
input.expanding && "_gk"
|
|
2063
2100
|
])} aria-hidden=true>`);
|
|
2064
2101
|
_if(() => {
|
|
2065
2102
|
if (input.collapsed) {
|
|
2066
|
-
const $
|
|
2103
|
+
const $scope17_id = _scope_id();
|
|
2067
2104
|
icon_chevron_right_default({ size: 14 });
|
|
2068
|
-
$si__input_collapsed && writeScope($
|
|
2105
|
+
$si__input_collapsed && writeScope($scope17_id, {});
|
|
2069
2106
|
return 0;
|
|
2070
2107
|
} else {
|
|
2071
|
-
const $
|
|
2108
|
+
const $scope18_id = _scope_id();
|
|
2072
2109
|
icon_chevron_down_default({ size: 14 });
|
|
2073
|
-
$si__input_collapsed && writeScope($
|
|
2110
|
+
$si__input_collapsed && writeScope($scope18_id, {});
|
|
2074
2111
|
return 1;
|
|
2075
2112
|
}
|
|
2076
2113
|
}, $scope1_id, "b", $sg__input_collapsed, _serialize_guard($scope0_reason, 10), $sg__input_collapsed, "</span>", 1);
|
|
@@ -2084,11 +2121,11 @@ var review_section_default = _template("u", (input) => {
|
|
|
2084
2121
|
_serialize_if($scope0_reason, 1) && writeScope($scope10_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
|
|
2085
2122
|
return 1;
|
|
2086
2123
|
}
|
|
2087
|
-
}, $scope0_id, "c", _serialize_guard($scope0_reason, 1) || _serialize_guard($scope0_reason, 28), _serialize_guard($scope0_reason,
|
|
2124
|
+
}, $scope0_id, "c", _serialize_guard($scope0_reason, 1) || _serialize_guard($scope0_reason, 28), _serialize_guard($scope0_reason, 37), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened, 0, 1);
|
|
2088
2125
|
_if(() => {
|
|
2089
2126
|
if (repo.pr) {
|
|
2090
2127
|
const $scope11_id = _scope_id();
|
|
2091
|
-
_html(`<a${_attr_class(["
|
|
2128
|
+
_html(`<a${_attr_class(["_m", "_o"])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", prTitle)}>#${_sep($sg__input_repo)}${_escape(repo.pr.number)}${_el_resume($scope11_id, "b", $sg__input_repo)}</a>${_el_resume($scope11_id, "a", $sg__input_repo)}<span${_attr_class(repoTitle)}>${_escape(repo.pr.title)}${_el_resume($scope11_id, "d", $sg__input_repo)}</span>`);
|
|
2092
2129
|
$si__input_repo && writeScope($scope11_id, { _: _scope_with_id($scope0_id) });
|
|
2093
2130
|
return 0;
|
|
2094
2131
|
} else {
|
|
@@ -2098,16 +2135,16 @@ var review_section_default = _template("u", (input) => {
|
|
|
2098
2135
|
return 1;
|
|
2099
2136
|
}
|
|
2100
2137
|
}, $scope0_id, "d", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened);
|
|
2101
|
-
_html(`<span${_attr_class("
|
|
2138
|
+
_html(`<span${_attr_class("_f7")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_C", "_f8"])}>${_escape(compare$1.base)}${_el_resume($scope0_id, "g", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_E", "_f_"])} aria-hidden=true>vs</span><span${_attr_class(["_C", "_f9"])}>${_escape(compare$1.head)}${_el_resume($scope0_id, "j", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
2102
2139
|
_if(() => {
|
|
2103
2140
|
if (compare$1.topic) {
|
|
2104
|
-
const $
|
|
2141
|
+
const $scope16_id = _scope_id();
|
|
2105
2142
|
_html(`<span${_attr_class([
|
|
2106
|
-
"
|
|
2143
|
+
"_C",
|
|
2107
2144
|
tone.accent,
|
|
2108
|
-
"
|
|
2109
|
-
])}>${_escape(compare$1.topic)}${_el_resume($
|
|
2110
|
-
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($
|
|
2145
|
+
"_ga"
|
|
2146
|
+
])}>${_escape(compare$1.topic)}${_el_resume($scope16_id, "b", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
2147
|
+
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope16_id, { _: _scope_with_id($scope0_id) });
|
|
2111
2148
|
return 0;
|
|
2112
2149
|
}
|
|
2113
2150
|
}, $scope0_id, "k", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened, 0, 1);
|
|
@@ -2116,9 +2153,9 @@ var review_section_default = _template("u", (input) => {
|
|
|
2116
2153
|
if (repo.githubDrift) {
|
|
2117
2154
|
const $scope2_id = _scope_id();
|
|
2118
2155
|
_html(`<button type=button${_attr_class([
|
|
2119
|
-
"
|
|
2156
|
+
"_C",
|
|
2120
2157
|
tone.warn,
|
|
2121
|
-
"
|
|
2158
|
+
"_gb"
|
|
2122
2159
|
])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_sep($sg__input_repo)}${_escape(shortSha(repo.head, 7))}${_el_resume($scope2_id, "b", $sg__input_repo)} → ${_sep($sg__input_repo)}${_escape(shortSha(repo.pr.headRefOid, 7))}${_el_resume($scope2_id, "c", $sg__input_repo)}</button>${_el_resume($scope2_id, "a")}`);
|
|
2123
2160
|
_script($scope2_id, "u10");
|
|
2124
2161
|
writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2128,7 +2165,7 @@ var review_section_default = _template("u", (input) => {
|
|
|
2128
2165
|
_if(() => {
|
|
2129
2166
|
if (repo.contained && input.files.length) {
|
|
2130
2167
|
const $scope13_id = _scope_id();
|
|
2131
|
-
_html(`<span${_attr_class(["
|
|
2168
|
+
_html(`<span${_attr_class(["_C", "_gb"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_sep($sg__input_repo)}${_escape(repo.base)}${_el_resume($scope13_id, "b", $sg__input_repo)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
|
|
2132
2169
|
_serialize_if($scope0_reason, 0) && writeScope($scope13_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
|
|
2133
2170
|
return 0;
|
|
2134
2171
|
}
|
|
@@ -2136,24 +2173,24 @@ var review_section_default = _template("u", (input) => {
|
|
|
2136
2173
|
_if(() => {
|
|
2137
2174
|
if (input.localDiffers) {
|
|
2138
2175
|
const $scope3_id = _scope_id();
|
|
2139
|
-
_html(`<span${_attr_class(["
|
|
2176
|
+
_html(`<span${_attr_class(["_C", "_gb"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_sep($sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}${_escape(shortBranch(repo.branch, input.workspaceBranch, input.workspaceName))}${_el_resume($scope3_id, "b", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)} ${_sep($sg__input_repo)}${_escape(shortSha(repo.localHead, 7))}${_el_resume($scope3_id, "c", $sg__input_repo)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
|
|
2140
2177
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope3_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
|
|
2141
2178
|
return 0;
|
|
2142
2179
|
}
|
|
2143
|
-
}, $scope0_id, "n", _serialize_guard($scope0_reason, 23), _serialize_guard($scope0_reason,
|
|
2144
|
-
_html(`<span${_attr_class("
|
|
2180
|
+
}, $scope0_id, "n", _serialize_guard($scope0_reason, 23), _serialize_guard($scope0_reason, 39), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened, 0, 1);
|
|
2181
|
+
_html(`<span${_attr_class("_f1")}><span>${_escape(countLabel)}${_el_resume($scope0_id, "p", $sg__input_files__OR__input_shownKeys)} file${_sep($sg__input_files__OR__input_shownKeys)}${countLabel === 1 ? "" : "s"}${_el_resume($scope0_id, "q", $sg__input_files__OR__input_shownKeys)}</span>`);
|
|
2145
2182
|
_if(() => {
|
|
2146
2183
|
if (stats.additions || stats.deletions) {
|
|
2147
|
-
const $
|
|
2148
|
-
_html(`<span${_attr_class("
|
|
2149
|
-
$si__input_files__OR__input_shownKeys && writeScope($
|
|
2184
|
+
const $scope15_id = _scope_id();
|
|
2185
|
+
_html(`<span${_attr_class("_f2")}>+${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.additions)}${_el_resume($scope15_id, "b", $sg__input_files__OR__input_shownKeys)}</span><span${_attr_class("_f3")}>−${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.deletions)}${_el_resume($scope15_id, "d", $sg__input_files__OR__input_shownKeys)}</span>`);
|
|
2186
|
+
$si__input_files__OR__input_shownKeys && writeScope($scope15_id, { _: _scope_with_id($scope0_id) });
|
|
2150
2187
|
return 0;
|
|
2151
2188
|
}
|
|
2152
2189
|
}, $scope0_id, "r", $sg__input_files__OR__input_shownKeys, $sg__input_files__OR__input_shownKeys, $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened);
|
|
2153
2190
|
_if(() => {
|
|
2154
2191
|
if (newCount || input.onlyNew) {
|
|
2155
2192
|
const $scope4_id = _scope_id();
|
|
2156
|
-
_html(`<button type=button${_attr_class(["
|
|
2193
|
+
_html(`<button type=button${_attr_class(["_f5", { ["_f4"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_escape(newCount)}${_el_resume($scope4_id, "b", $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
|
|
2157
2194
|
_script($scope4_id, "u11");
|
|
2158
2195
|
writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
2159
2196
|
return 0;
|
|
@@ -2163,7 +2200,7 @@ var review_section_default = _template("u", (input) => {
|
|
|
2163
2200
|
_if(() => {
|
|
2164
2201
|
if (!input.collapsible || !input.collapsed || input.opened) {
|
|
2165
2202
|
const $scope5_id = _scope_id();
|
|
2166
|
-
_html(`<div${_attr_class("
|
|
2203
|
+
_html(`<div${_attr_class("_gd")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
|
|
2167
2204
|
_for_of(input.files, (file$1) => {
|
|
2168
2205
|
const $scope6_id = _scope_id();
|
|
2169
2206
|
const $for_content__file__closures = /* @__PURE__ */ new Set();
|
|
@@ -2173,41 +2210,70 @@ var review_section_default = _template("u", (input) => {
|
|
|
2173
2210
|
const expanded = !input.collapsedFiles.has(file$1.key);
|
|
2174
2211
|
_html(`<details${_attr_details_or_dialog_open($scope6_id, "a", expanded, _resume(function(open) {
|
|
2175
2212
|
input.onFileToggle(file$1.key, open);
|
|
2176
|
-
}, "u0", $scope6_id))}${_attr_class(["
|
|
2213
|
+
}, "u0", $scope6_id))}${_attr_class(["_ge", input.findHit?.key === file$1.key && "_fU"])}${_attr("data-key", file$1.key)}${_attr("hidden", !input.shownKeys.has(file$1.key))}><summary${_attr_class("_gg")}><span${_attr_class("_gl")}${_attr("data-status", file$1.status)}>${_escape(file$1.status)}${_el_resume($scope6_id, "d", $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class(["_gm", input.findHit?.key === file$1.key && input.findHit.line < 1 && "_fV"])}${_attr("title", file$1.path)}><bdi>${_escape(file$1.path)}${_el_resume($scope6_id, "f", $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
|
|
2177
2214
|
_if(() => {
|
|
2178
2215
|
if (file$1.changedSince) {
|
|
2179
|
-
const $
|
|
2180
|
-
_html(`<span${_attr_class(["
|
|
2181
|
-
$si__input_files && writeScope($
|
|
2216
|
+
const $scope20_id = _scope_id();
|
|
2217
|
+
_html(`<span${_attr_class(["_t", "_gc"])} title="Changed since your last visit"></span>`);
|
|
2218
|
+
$si__input_files && writeScope($scope20_id, {});
|
|
2182
2219
|
return 0;
|
|
2183
2220
|
}
|
|
2184
2221
|
}, $scope6_id, "g", $sg__input_files, $sg__input_files, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles, 0, 1);
|
|
2185
2222
|
_if(() => {
|
|
2186
2223
|
if (fileComments.length) {
|
|
2187
|
-
const $
|
|
2188
|
-
_html(`<span${_attr_class("
|
|
2224
|
+
const $scope19_id = _scope_id();
|
|
2225
|
+
_html(`<span${_attr_class("_m")}>`);
|
|
2189
2226
|
icon_comment_default({ size: 12 });
|
|
2190
|
-
_html(` ${_sep($sg__input_files__OR__input_commentsByFile)}${_escape(fileComments.length)}${_el_resume($
|
|
2191
|
-
$si__input_files__OR__input_commentsByFile && writeScope($
|
|
2227
|
+
_html(` ${_sep($sg__input_files__OR__input_commentsByFile)}${_escape(fileComments.length)}${_el_resume($scope19_id, "c", $sg__input_files__OR__input_commentsByFile)}</span>`);
|
|
2228
|
+
$si__input_files__OR__input_commentsByFile && writeScope($scope19_id, { _: _scope_with_id($scope6_id) });
|
|
2192
2229
|
return 0;
|
|
2193
2230
|
}
|
|
2194
2231
|
}, $scope6_id, "h", $sg__input_files__OR__input_commentsByFile, $sg__input_files__OR__input_commentsByFile, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles, 0, 1);
|
|
2232
|
+
_if(() => {
|
|
2233
|
+
if (expanded && !file$1.binary && !file$1.tooLarge) {
|
|
2234
|
+
const $scope14_id = _scope_id();
|
|
2235
|
+
_html(`<button type=button${_attr_class([
|
|
2236
|
+
iconBtnXs,
|
|
2237
|
+
"_go",
|
|
2238
|
+
{ ["_gp"]: wholeFiles.has(file$1.key) }
|
|
2239
|
+
])} title=${wholeFiles.has(file$1.key) ? "\"Show changes only\"" : "\"Show whole file\""} aria-label=${wholeFiles.has(file$1.key) ? "\"Show changes only\"" : "\"Show whole file\""} aria-pressed=${wholeFiles.has(file$1.key) ? "true" : "false"}>`);
|
|
2240
|
+
_if(() => {
|
|
2241
|
+
if (wholeFiles.has(file$1.key)) {
|
|
2242
|
+
const $scope21_id = _scope_id();
|
|
2243
|
+
icon_compress_lines_default({ size: 13 });
|
|
2244
|
+
writeScope($scope21_id, {});
|
|
2245
|
+
return 0;
|
|
2246
|
+
} else {
|
|
2247
|
+
const $scope22_id = _scope_id();
|
|
2248
|
+
icon_expand_lines_default({ size: 13 });
|
|
2249
|
+
writeScope($scope22_id, {});
|
|
2250
|
+
return 1;
|
|
2251
|
+
}
|
|
2252
|
+
}, $scope14_id, "a", 1, 1, 1, "</button>", 1);
|
|
2253
|
+
_script($scope14_id, "u12");
|
|
2254
|
+
_subscribe($wholeFiles__closures, writeScope($scope14_id, {
|
|
2255
|
+
_: _scope_with_id($scope6_id),
|
|
2256
|
+
Cd1: 1
|
|
2257
|
+
}));
|
|
2258
|
+
return 0;
|
|
2259
|
+
}
|
|
2260
|
+
}, $scope6_id, "i", $sg__input_files__OR__input_collapsedFiles, $sg__input_files__OR__input_collapsedFiles, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles, 0, 1);
|
|
2195
2261
|
_html("</summary>");
|
|
2196
2262
|
_if(() => {
|
|
2197
2263
|
if (file$1.binary) {
|
|
2198
|
-
const $
|
|
2199
|
-
_html(`<p${_attr_class(["
|
|
2200
|
-
$si__input_files__OR__input_collapsedFiles && writeScope($
|
|
2264
|
+
const $scope23_id = _scope_id();
|
|
2265
|
+
_html(`<p${_attr_class(["_gn", "_gf"])}>binary file</p>`);
|
|
2266
|
+
$si__input_files__OR__input_collapsedFiles && writeScope($scope23_id, {});
|
|
2201
2267
|
return 0;
|
|
2202
2268
|
} else if (file$1.tooLarge) {
|
|
2203
|
-
const $
|
|
2204
|
-
_html(`<p${_attr_class(["
|
|
2205
|
-
$si__input_files__OR__input_collapsedFiles && writeScope($
|
|
2269
|
+
const $scope24_id = _scope_id();
|
|
2270
|
+
_html(`<p${_attr_class(["_gn", "_gf"])}>file too large to display</p>`);
|
|
2271
|
+
$si__input_files__OR__input_collapsedFiles && writeScope($scope24_id, {});
|
|
2206
2272
|
return 1;
|
|
2207
2273
|
} else if (file$1.old == null && file$1.new == null) {
|
|
2208
|
-
const $
|
|
2209
|
-
_html(`<p${_attr_class(["
|
|
2210
|
-
$si__input_files__OR__input_collapsedFiles && writeScope($
|
|
2274
|
+
const $scope25_id = _scope_id();
|
|
2275
|
+
_html(`<p${_attr_class(["_gn", "_gf"])}>file could not be read</p>`);
|
|
2276
|
+
$si__input_files__OR__input_collapsedFiles && writeScope($scope25_id, {});
|
|
2211
2277
|
return 2;
|
|
2212
2278
|
} else if (expanded) {
|
|
2213
2279
|
const $scope7_id = _scope_id();
|
|
@@ -2216,19 +2282,20 @@ var review_section_default = _template("u", (input) => {
|
|
|
2216
2282
|
_if(() => {
|
|
2217
2283
|
if (!forceNear) {
|
|
2218
2284
|
const $scope8_id = _scope_id();
|
|
2219
|
-
_html(`<div${_attr_class(["
|
|
2220
|
-
_script($scope8_id, "
|
|
2285
|
+
_html(`<div${_attr_class(["_gh", "_gf"])}></div>${_el_resume($scope8_id, "a")}`);
|
|
2286
|
+
_script($scope8_id, "u13");
|
|
2221
2287
|
_subscribe($si__input && $input__closures, writeScope($scope8_id, {}));
|
|
2222
2288
|
return 0;
|
|
2223
2289
|
} else {
|
|
2224
2290
|
const $scope9_id = _scope_id();
|
|
2225
2291
|
const $childScope = _peek_scope_id();
|
|
2226
2292
|
diff_file_default({
|
|
2227
|
-
class: "
|
|
2293
|
+
class: "_gf",
|
|
2228
2294
|
file: file$1,
|
|
2229
2295
|
comments: fileComments,
|
|
2230
2296
|
draft: input.draft && input.draft.key === file$1.key ? input.draft : null,
|
|
2231
2297
|
sessions: input.sessions,
|
|
2298
|
+
wholeFile: wholeFiles.has(file$1.key),
|
|
2232
2299
|
onSelect: _resume(function(range) {
|
|
2233
2300
|
input.onSelect(file$1, range);
|
|
2234
2301
|
}, "u1", $scope9_id),
|
|
@@ -2254,7 +2321,7 @@ var review_section_default = _template("u", (input) => {
|
|
|
2254
2321
|
input.onError(message);
|
|
2255
2322
|
}, "u8", $scope9_id)
|
|
2256
2323
|
});
|
|
2257
|
-
_subscribe($si__input_files__OR__input_commentsByFile && $for_content__fileComments__closures, _subscribe($si__input_files && $for_content__file_key__closures, _subscribe($si__input_files && $for_content__file__closures, _subscribe($si__input_onError && $input_onError__closures, _subscribe($si__input_onSendComment && $input_onSendComment__closures, _subscribe($si__input_onEditComment && $input_onEditComment__closures, _subscribe($si__input_onDeleteComment && $input_onDeleteComment__closures, _subscribe($si__input_onCancelDraft && $input_onCancelDraft__closures, _subscribe($si__input_onSendDraft && $input_onSendDraft__closures, _subscribe($si__input_onSaveComment && $input_onSaveComment__closures, _subscribe($si__input_onSelect && $input_onSelect__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_draft && $input_draft__closures, writeScope($scope9_id, { a:
|
|
2324
|
+
_subscribe($si__input_files__OR__input_commentsByFile && $for_content__fileComments__closures, _subscribe($si__input_files && $for_content__file_key__closures, _subscribe($si__input_files && $for_content__file__closures, _subscribe($wholeFiles__closures, _subscribe($si__input_onError && $input_onError__closures, _subscribe($si__input_onSendComment && $input_onSendComment__closures, _subscribe($si__input_onEditComment && $input_onEditComment__closures, _subscribe($si__input_onDeleteComment && $input_onDeleteComment__closures, _subscribe($si__input_onCancelDraft && $input_onCancelDraft__closures, _subscribe($si__input_onSendDraft && $input_onSendDraft__closures, _subscribe($si__input_onSaveComment && $input_onSaveComment__closures, _subscribe($si__input_onSelect && $input_onSelect__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_draft && $input_draft__closures, writeScope($scope9_id, { a: _existing_scope($childScope) })))))))))))))));
|
|
2258
2325
|
return 1;
|
|
2259
2326
|
}
|
|
2260
2327
|
}, $scope7_id, "a", 1, 1, 1, 0, 1);
|
|
@@ -2262,27 +2329,27 @@ var review_section_default = _template("u", (input) => {
|
|
|
2262
2329
|
c: _serialize_if($scope0_reason, 7) && near,
|
|
2263
2330
|
d: forceNear,
|
|
2264
2331
|
_: _scope_with_id($scope6_id),
|
|
2265
|
-
|
|
2332
|
+
Ccc: $si__input_findHit_key && 1
|
|
2266
2333
|
}));
|
|
2267
2334
|
return 3;
|
|
2268
2335
|
}
|
|
2269
|
-
}, $scope6_id, "
|
|
2336
|
+
}, $scope6_id, "j", $sg__input_files__OR__input_collapsedFiles, $sg__input_files__OR__input_collapsedFiles, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles);
|
|
2270
2337
|
_html(`</details>${_el_resume($scope6_id, "a")}`);
|
|
2271
|
-
_script($scope6_id, "
|
|
2338
|
+
_script($scope6_id, "u14");
|
|
2272
2339
|
_subscribe($si__input_findHit_line && $input_findHit_line__closures, _subscribe($si__input_onFileToggle && $input_onFileToggle__closures, _subscribe($si__input_findHit_key && $input_findHit_key__closures, _subscribe($si__input_collapsedFiles && $input_collapsedFiles__closures, _subscribe($si__input_commentsByFile && $input_commentsByFile__closures, _subscribe($si__input_shownKeys && $input_shownKeys__closures, writeScope($scope6_id, {
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2340
|
+
l: file$1,
|
|
2341
|
+
m: file$1?.key,
|
|
2342
|
+
v: $si__input_files__OR__input_collapsedFiles && file$1?.binary,
|
|
2343
|
+
w: $si__input_files__OR__input_collapsedFiles && file$1?.tooLarge,
|
|
2344
|
+
x: $si__input_files__OR__input_collapsedFiles && file$1?.old,
|
|
2345
|
+
y: $si__input_files__OR__input_collapsedFiles && file$1?.new,
|
|
2346
|
+
z: fileComments,
|
|
2347
|
+
a0: $si__input_files__OR__input_commentsByFile && fileComments.length,
|
|
2348
|
+
a1: $si__input_onFileToggle && expanded,
|
|
2282
2349
|
_: _scope_with_id($scope5_id),
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2350
|
+
a5: $si__input_files && $for_content__file__closures,
|
|
2351
|
+
a6: $si__input_files && $for_content__file_key__closures,
|
|
2352
|
+
a7: $si__input_files__OR__input_commentsByFile && $for_content__fileComments__closures
|
|
2286
2353
|
})))))));
|
|
2287
2354
|
}, "key", $scope5_id, "a", $sg__input_files, _serialize_guard($scope0_reason, 17), $sg__input_files, "</div>", 1);
|
|
2288
2355
|
writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2330,41 +2397,44 @@ var review_section_default = _template("u", (input) => {
|
|
|
2330
2397
|
b3: $si__input_repo && repo?.pr?.title,
|
|
2331
2398
|
b4: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && repo?.head,
|
|
2332
2399
|
b5: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && repo?.baseSha,
|
|
2333
|
-
b6: _serialize_if($scope0_reason,
|
|
2400
|
+
b6: _serialize_if($scope0_reason, 37) && repo?.worktree,
|
|
2334
2401
|
b7: $si__input_repo && repo?.pr?.number,
|
|
2335
2402
|
b8: _serialize_if($scope0_reason, 16) && repo?.id,
|
|
2336
2403
|
b9: $si__input_repo && repo?.pr?.url,
|
|
2337
2404
|
ba: $si__input_repo && repo?.full_name,
|
|
2338
2405
|
bc: $si__input_repo && repo?.pr?.headRefOid,
|
|
2339
|
-
bd: _serialize_if($scope0_reason,
|
|
2340
|
-
bf: _serialize_if($scope0_reason,
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
bo: $si__input_files__OR__input_shownKeys && stats?.
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
by: $
|
|
2348
|
-
bz: $
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2406
|
+
bd: _serialize_if($scope0_reason, 36) && repo?.contained,
|
|
2407
|
+
bf: _serialize_if($scope0_reason, 39) && repo?.localHead,
|
|
2408
|
+
bg: wholeFiles,
|
|
2409
|
+
bj: _serialize_if($scope0_reason, 12) && shownCount,
|
|
2410
|
+
bm: $si__input_collapsible__OR__input_collapsed && countLabel,
|
|
2411
|
+
bo: $si__input_files__OR__input_shownKeys && stats?.additions,
|
|
2412
|
+
bp: $si__input_files__OR__input_shownKeys && stats?.deletions,
|
|
2413
|
+
br: $si__input_files__OR__input_onlyNew && newCount,
|
|
2414
|
+
by: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.topic,
|
|
2415
|
+
bz: $si__input_repo && prTitle,
|
|
2416
|
+
d1: $wholeFiles__closures,
|
|
2417
|
+
c0: $si__input && $input__closures,
|
|
2418
|
+
cf: $si__input_draft && $input_draft__closures,
|
|
2419
|
+
cg: $si__input_sessions && $input_sessions__closures,
|
|
2420
|
+
ch: $si__input_onSelect && $input_onSelect__closures,
|
|
2421
|
+
ci: $si__input_onSaveComment && $input_onSaveComment__closures,
|
|
2422
|
+
cj: $si__input_onSendDraft && $input_onSendDraft__closures,
|
|
2423
|
+
ck: $si__input_onCancelDraft && $input_onCancelDraft__closures,
|
|
2424
|
+
cl: $si__input_onDeleteComment && $input_onDeleteComment__closures,
|
|
2425
|
+
cm: $si__input_onEditComment && $input_onEditComment__closures,
|
|
2426
|
+
cn: $si__input_onSendComment && $input_onSendComment__closures,
|
|
2427
|
+
co: $si__input_onError && $input_onError__closures,
|
|
2428
|
+
cc: $si__input_findHit_key && $input_findHit_key__closures,
|
|
2429
|
+
c2: $si__input_shownKeys && $input_shownKeys__closures,
|
|
2430
|
+
ca: $si__input_commentsByFile && $input_commentsByFile__closures,
|
|
2431
|
+
cb: $si__input_collapsedFiles && $input_collapsedFiles__closures,
|
|
2432
|
+
cd: $si__input_onFileToggle && $input_onFileToggle__closures,
|
|
2433
|
+
ce: $si__input_findHit_line && $input_findHit_line__closures
|
|
2365
2434
|
});
|
|
2435
|
+
_resume_branch($scope0_id);
|
|
2366
2436
|
});
|
|
2367
|
-
var fileFilter = "
|
|
2437
|
+
var fileFilter = "_hl _f";
|
|
2368
2438
|
//#endregion
|
|
2369
2439
|
//#region src/tags/file-filter.marko
|
|
2370
2440
|
var file_filter_default = _template("n", (input) => {
|
|
@@ -2394,7 +2464,7 @@ var file_filter_default = _template("n", (input) => {
|
|
|
2394
2464
|
pending = v;
|
|
2395
2465
|
box.timer = setTimeout(flush, 150);
|
|
2396
2466
|
}, "n2", $scope0_id);
|
|
2397
|
-
_html(`<div${_attr_class("
|
|
2467
|
+
_html(`<div${_attr_class("_hk")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
2398
2468
|
type(v);
|
|
2399
2469
|
}, "n0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
2400
2470
|
_script($scope0_id, "n3");
|
|
@@ -2427,7 +2497,7 @@ var $content = (input) => {
|
|
|
2427
2497
|
_for_of(dir.dirs, (child) => {
|
|
2428
2498
|
const $scope1_id = _scope_id();
|
|
2429
2499
|
const shut = input.collapsed.has(input.collapsedKey(child.path));
|
|
2430
|
-
_html(`<div${_attr_class("
|
|
2500
|
+
_html(`<div${_attr_class("_ha")}><button type=button${_attr_class(["_hb", { ["_g3"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_hi")}>`);
|
|
2431
2501
|
_if(() => {
|
|
2432
2502
|
if (shut) {
|
|
2433
2503
|
const $scope4_id = _scope_id();
|
|
@@ -2441,7 +2511,7 @@ var $content = (input) => {
|
|
|
2441
2511
|
return 1;
|
|
2442
2512
|
}
|
|
2443
2513
|
}, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
|
|
2444
|
-
_html(`<span${_attr_class("
|
|
2514
|
+
_html(`<span${_attr_class("_hc")}>${_escape(child.label)}${_el_resume($scope1_id, "e", $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
|
|
2445
2515
|
_if(() => {
|
|
2446
2516
|
if (!shut) {
|
|
2447
2517
|
const $scope2_id = _scope_id();
|
|
@@ -2488,11 +2558,11 @@ var $content = (input) => {
|
|
|
2488
2558
|
}, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
|
|
2489
2559
|
_for_of(dir.files, ({ file, name }) => {
|
|
2490
2560
|
const $scope3_id = _scope_id();
|
|
2491
|
-
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["
|
|
2561
|
+
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_he", { ["_hd"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_hj")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope3_id, "c", $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_hf")}>${_escape(name)}${_el_resume($scope3_id, "e", $sg__input_dir)}</span>`);
|
|
2492
2562
|
_if(() => {
|
|
2493
2563
|
if (input.newKeys.has(file.key)) {
|
|
2494
2564
|
const $scope6_id = _scope_id();
|
|
2495
|
-
_html(`<span${_attr_class(["
|
|
2565
|
+
_html(`<span${_attr_class(["_t", "_hg"])} title="Changed since your last visit"></span>`);
|
|
2496
2566
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
2497
2567
|
return 0;
|
|
2498
2568
|
}
|
|
@@ -2500,7 +2570,7 @@ var $content = (input) => {
|
|
|
2500
2570
|
_if(() => {
|
|
2501
2571
|
if (input.commentKeys.has(file.key)) {
|
|
2502
2572
|
const $scope7_id = _scope_id();
|
|
2503
|
-
_html(`<span${_attr_class("
|
|
2573
|
+
_html(`<span${_attr_class("_hh")}>`);
|
|
2504
2574
|
icon_comment_default({ size: 12 });
|
|
2505
2575
|
_html("</span>");
|
|
2506
2576
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
@@ -2558,7 +2628,7 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
2558
2628
|
scope: input.scope ?? null,
|
|
2559
2629
|
file: key
|
|
2560
2630
|
}), "l0", $scope0_id);
|
|
2561
|
-
_html(`<aside${_attr_class(["
|
|
2631
|
+
_html(`<aside${_attr_class(["_g4", { ["_g3"]: input.open === false }])}><div${_attr_class("_g5")}>`);
|
|
2562
2632
|
_set_serialize_reason(2);
|
|
2563
2633
|
const $childScope = _peek_scope_id();
|
|
2564
2634
|
file_filter_default({
|
|
@@ -2567,18 +2637,18 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
2567
2637
|
filter = _new_filter;
|
|
2568
2638
|
}, "l1", $scope0_id)
|
|
2569
2639
|
});
|
|
2570
|
-
_html(`</div><div${_attr_class("
|
|
2640
|
+
_html(`</div><div${_attr_class("_g6")}>`);
|
|
2571
2641
|
_if(() => {
|
|
2572
2642
|
if (!input.sections.length && filter) {
|
|
2573
2643
|
const $scope3_id = _scope_id();
|
|
2574
|
-
_html(`<p${_attr_class("
|
|
2644
|
+
_html(`<p${_attr_class("_g7")}>No files match.</p>`);
|
|
2575
2645
|
writeScope($scope3_id, {});
|
|
2576
2646
|
return 0;
|
|
2577
2647
|
}
|
|
2578
2648
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
2579
2649
|
_for_of(input.sections, (section) => {
|
|
2580
2650
|
const $scope1_id = _scope_id();
|
|
2581
|
-
_html(`<div${_attr_class("
|
|
2651
|
+
_html(`<div${_attr_class("_g8")}><button type=button${_attr_class(["_g9", { ["_g3"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_hi")}>`);
|
|
2582
2652
|
_if(() => {
|
|
2583
2653
|
if (collapsedRepos.has(section.id)) {
|
|
2584
2654
|
const $scope4_id = _scope_id();
|
|
@@ -2592,12 +2662,12 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
2592
2662
|
return 1;
|
|
2593
2663
|
}
|
|
2594
2664
|
}, $scope1_id, "c", 1, 1, 1, "</span>", 1);
|
|
2595
|
-
_html(`<span${_attr_class("
|
|
2665
|
+
_html(`<span${_attr_class("_hc")}>${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
|
|
2596
2666
|
_if(() => {
|
|
2597
2667
|
if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
|
|
2598
2668
|
const $scope2_id = _scope_id();
|
|
2599
2669
|
const root = treeDirs(section.files);
|
|
2600
|
-
_html(`<div${_attr_class("
|
|
2670
|
+
_html(`<div${_attr_class("_g_")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
|
|
2601
2671
|
_set_serialize_reason(1);
|
|
2602
2672
|
const $childScope2 = _peek_scope_id();
|
|
2603
2673
|
diff_tree_dir_default({
|
|
@@ -2722,9 +2792,9 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
2722
2792
|
_if(() => {
|
|
2723
2793
|
if (open) {
|
|
2724
2794
|
const $scope1_id = _scope_id();
|
|
2725
|
-
_html(`<div${_attr_class("
|
|
2795
|
+
_html(`<div${_attr_class("_fp")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_fq")} role=dialog aria-label="Jump to file"><div${_attr_class("_fr")}><strong${_attr_class("_fo")}>Files</strong><span${_attr_class("_fs")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", $sg__input_files_length)}${_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, "_fn"])} title=Close aria-label=Close>`);
|
|
2726
2796
|
icon_xmark_default({ size: 16 });
|
|
2727
|
-
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("
|
|
2797
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_fA")}>`);
|
|
2728
2798
|
_set_serialize_reason(2);
|
|
2729
2799
|
const $childScope = _peek_scope_id();
|
|
2730
2800
|
file_filter_default({
|
|
@@ -2733,28 +2803,28 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
2733
2803
|
filter = _new_filter;
|
|
2734
2804
|
}, "g1", $scope1_id)
|
|
2735
2805
|
});
|
|
2736
|
-
_html(`</div><div${_attr_class("
|
|
2806
|
+
_html(`</div><div${_attr_class("_ft")}>`);
|
|
2737
2807
|
_for_of(groups, (group) => {
|
|
2738
2808
|
const $scope2_id = _scope_id();
|
|
2739
|
-
_html(`<div${_attr_class("
|
|
2809
|
+
_html(`<div${_attr_class("_fu")}><div${_attr_class("_fv")}>${_escape(group.repo)}${_el_resume($scope2_id, "c", $sg__input_files)}</div>`);
|
|
2740
2810
|
_for_of(group.dirs, ({ dir, files }) => {
|
|
2741
2811
|
const $scope3_id = _scope_id();
|
|
2742
|
-
_html(`<div${_attr_class("
|
|
2812
|
+
_html(`<div${_attr_class("_fw")}>`);
|
|
2743
2813
|
_if(() => {
|
|
2744
2814
|
if (dir) {
|
|
2745
2815
|
const $scope5_id = _scope_id();
|
|
2746
|
-
_html(`<div${_attr_class("
|
|
2816
|
+
_html(`<div${_attr_class("_fy")}${_attr("title", dir)}><bdi>${_escape(dir)}${_el_resume($scope5_id, "b", $sg__input_files)}/</bdi></div>${_el_resume($scope5_id, "a", $sg__input_files)}`);
|
|
2747
2817
|
$si__input_files && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
|
|
2748
2818
|
return 0;
|
|
2749
2819
|
}
|
|
2750
2820
|
}, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
|
|
2751
2821
|
_for_of(files, ({ file, name }) => {
|
|
2752
2822
|
const $scope4_id = _scope_id();
|
|
2753
|
-
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["
|
|
2823
|
+
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_fx", "_r"])}><span${_attr_class("_fE")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope4_id, "c", $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_fz")}><bdi>${_escape(name)}${_el_resume($scope4_id, "e", $sg__input_files)}</bdi></span>`);
|
|
2754
2824
|
_if(() => {
|
|
2755
2825
|
if (newKeys.has(file.key)) {
|
|
2756
2826
|
const $scope6_id = _scope_id();
|
|
2757
|
-
_html(`<span${_attr_class(["
|
|
2827
|
+
_html(`<span${_attr_class(["_t", "_fC"])} title="Changed since your last visit"></span>`);
|
|
2758
2828
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
2759
2829
|
return 0;
|
|
2760
2830
|
}
|
|
@@ -2764,7 +2834,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
2764
2834
|
const $scope7_id = _scope_id();
|
|
2765
2835
|
icon_comment_default({
|
|
2766
2836
|
size: 12,
|
|
2767
|
-
class: "
|
|
2837
|
+
class: "_fD"
|
|
2768
2838
|
});
|
|
2769
2839
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
2770
2840
|
return 0;
|
|
@@ -2789,7 +2859,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
2789
2859
|
_if(() => {
|
|
2790
2860
|
if (!input.files.length) {
|
|
2791
2861
|
const $scope8_id = _scope_id();
|
|
2792
|
-
_html(`<p${_attr_class("
|
|
2862
|
+
_html(`<p${_attr_class("_fB")}>No files match.</p>`);
|
|
2793
2863
|
$si__input_files_length && writeScope($scope8_id, {});
|
|
2794
2864
|
return 0;
|
|
2795
2865
|
}
|
|
@@ -3328,22 +3398,22 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3328
3398
|
collapsedRepos = /* @__PURE__ */ new Set([...collapsedRepos, id]);
|
|
3329
3399
|
}
|
|
3330
3400
|
}, "m35", $scope0_id);
|
|
3331
|
-
_html(`<div${_attr_class("
|
|
3401
|
+
_html(`<div${_attr_class("_dq")}><div${_attr_class("_dv")}><div${_attr_class("_dw")}><div${_attr_class(["_dG", { ["_dF"]: !comments.length }])}>`);
|
|
3332
3402
|
_if(() => {
|
|
3333
3403
|
if (input.onExit) {
|
|
3334
3404
|
const $scope1_id = _scope_id();
|
|
3335
|
-
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "
|
|
3405
|
+
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_dx"])} title="Back to terminal (Esc)">`);
|
|
3336
3406
|
icon_back_default({ size: 14 });
|
|
3337
3407
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 1))}`);
|
|
3338
3408
|
_serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
|
|
3339
3409
|
return 0;
|
|
3340
3410
|
}
|
|
3341
3411
|
}, $scope0_id, "e", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 4), 1, 0, 1);
|
|
3342
|
-
_html(`<h1${_attr_class("
|
|
3412
|
+
_html(`<h1${_attr_class("_dA")}>Review</h1>`);
|
|
3343
3413
|
_if(() => {
|
|
3344
3414
|
if (comments.length) {
|
|
3345
3415
|
const $scope5_id = _scope_id();
|
|
3346
|
-
_html(`<span${_attr_class("
|
|
3416
|
+
_html(`<span${_attr_class("_dz")}>${_escape(comments.length)}${_el_resume($scope5_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope5_id, "c")}</span>`);
|
|
3347
3417
|
writeScope($scope5_id, {});
|
|
3348
3418
|
return 0;
|
|
3349
3419
|
}
|
|
@@ -3351,7 +3421,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3351
3421
|
_if(() => {
|
|
3352
3422
|
if (comments.length) {
|
|
3353
3423
|
const $scope2_id = _scope_id();
|
|
3354
|
-
_html(`<span${_attr_class("
|
|
3424
|
+
_html(`<span${_attr_class("_dy")}>`);
|
|
3355
3425
|
_set_serialize_reason(_serialize_guard($scope0_reason, 5));
|
|
3356
3426
|
const $childScope = _peek_scope_id();
|
|
3357
3427
|
diff_send_default({
|
|
@@ -3364,14 +3434,14 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3364
3434
|
return 0;
|
|
3365
3435
|
}
|
|
3366
3436
|
}, $scope0_id, "h", 1, 1, 1, 0, 1);
|
|
3367
|
-
_html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("
|
|
3437
|
+
_html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_du")}>`);
|
|
3368
3438
|
_if(() => {
|
|
3369
3439
|
if (hasFiles) {
|
|
3370
3440
|
const $scope12_id = _scope_id();
|
|
3371
3441
|
_html(`<button${_attr_class([
|
|
3372
3442
|
treeToggle,
|
|
3373
|
-
"
|
|
3374
|
-
{ ["
|
|
3443
|
+
"_ds",
|
|
3444
|
+
{ ["_dr"]: treeOpen }
|
|
3375
3445
|
])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
|
|
3376
3446
|
icon_sidebar_default({ size: 14 });
|
|
3377
3447
|
_html(`</button>${_el_resume($scope12_id, "a")}`);
|
|
@@ -3380,30 +3450,30 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3380
3450
|
return 0;
|
|
3381
3451
|
}
|
|
3382
3452
|
}, $scope0_id, "j", 1, 1, 1, 0, 1);
|
|
3383
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3453
|
+
_html(`<button${_attr_class([iconBtnRow, "_ds"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
3384
3454
|
_set_serialize_reason(1);
|
|
3385
3455
|
const $childScope2 = _peek_scope_id();
|
|
3386
3456
|
icon_refresh_default({
|
|
3387
3457
|
size: 14,
|
|
3388
|
-
class: loading && "
|
|
3458
|
+
class: loading && "_y"
|
|
3389
3459
|
});
|
|
3390
3460
|
_html(`</button>${_el_resume($scope0_id, "k")}`);
|
|
3391
3461
|
_if(() => {
|
|
3392
3462
|
if (hasFiles) {
|
|
3393
3463
|
const $scope13_id = _scope_id();
|
|
3394
|
-
_html(`<button${_attr_class(["
|
|
3464
|
+
_html(`<button${_attr_class(["_i", "_dS"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope13_id, "b")})</button>${_el_resume($scope13_id, "a")}`);
|
|
3395
3465
|
_script($scope13_id, "m55");
|
|
3396
3466
|
writeScope($scope13_id, {});
|
|
3397
3467
|
return 0;
|
|
3398
3468
|
}
|
|
3399
3469
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
3400
|
-
_html(`<div${_attr_class("
|
|
3470
|
+
_html(`<div${_attr_class("_dH")} role=group aria-label="Review scope"><button type=button${_attr_class(["_dJ", { ["_dI"]: scope$1 === "committed" }])} aria-pressed=${scope$1 === "committed" ? "true" : "false"} title="Committed changes only (base…tip, no working-tree edits)"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "o")}<button type=button${_attr_class(["_dJ", { ["_dI"]: scope$1 === "working" }])} aria-pressed=${scope$1 === "working" ? "true" : "false"} title="Committed changes plus uncommitted and untracked files"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "p")}<button type=button${_attr_class(["_dJ", { ["_dI"]: scope$1 === "dirty" }])} aria-pressed=${scope$1 === "dirty" ? "true" : "false"} title="Only uncommitted and untracked files, against HEAD"${_attr("disabled", loading)}>Uncommitted</button>${_el_resume($scope0_id, "q")}</div><span${_attr_class(["_g", "_dK"])}>`);
|
|
3401
3471
|
_attr_select_value($scope0_id, "s", scope$1, _resume(function(v) {
|
|
3402
3472
|
setScope(v);
|
|
3403
3473
|
}, "m0", $scope0_id), () => {
|
|
3404
|
-
_html(`<select${_attr_class(["
|
|
3474
|
+
_html(`<select${_attr_class(["_h", "_dL"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
|
|
3405
3475
|
});
|
|
3406
|
-
_html(`${_el_resume($scope0_id, "s")}</span><div${_attr_class(["
|
|
3476
|
+
_html(`${_el_resume($scope0_id, "s")}</span><div${_attr_class(["_dD", { ["_dC"]: !findOpen }])}>`);
|
|
3407
3477
|
_set_serialize_reason(2);
|
|
3408
3478
|
const $childScope3 = _peek_scope_id();
|
|
3409
3479
|
diff_find_default({
|
|
@@ -3424,8 +3494,8 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3424
3494
|
const $scope14_id = _scope_id();
|
|
3425
3495
|
_html(`<button${_attr_class([
|
|
3426
3496
|
iconBtnRow,
|
|
3427
|
-
"
|
|
3428
|
-
"
|
|
3497
|
+
"_dB",
|
|
3498
|
+
"_ds"
|
|
3429
3499
|
])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
3430
3500
|
icon_search_default({ size: 14 });
|
|
3431
3501
|
_html(`</button>${_el_resume($scope14_id, "a")}`);
|
|
@@ -3434,7 +3504,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3434
3504
|
return 0;
|
|
3435
3505
|
}
|
|
3436
3506
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
3437
|
-
_html(`</div></div><div${_attr_class("
|
|
3507
|
+
_html(`</div></div><div${_attr_class("_dE")} data-diff-main>`);
|
|
3438
3508
|
_if(() => {
|
|
3439
3509
|
if (error) {
|
|
3440
3510
|
const $scope6_id = _scope_id();
|
|
@@ -3457,7 +3527,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3457
3527
|
_if(() => {
|
|
3458
3528
|
if (!repos && loading) {
|
|
3459
3529
|
const $scope15_id = _scope_id();
|
|
3460
|
-
_html(`<div${_attr_class("
|
|
3530
|
+
_html(`<div${_attr_class("_dN")} aria-hidden=true><div${_attr_class(["_dO", "_dP"])}></div><div${_attr_class(["_dO", "_dQ"])}></div><div${_attr_class(["_dO", "_dR"])}></div><div${_attr_class(["_dO", "_dQ"])}></div><div${_attr_class(["_dO", "_dR"])}></div></div>`);
|
|
3461
3531
|
writeScope($scope15_id, {});
|
|
3462
3532
|
return 0;
|
|
3463
3533
|
}
|
|
@@ -3488,12 +3558,12 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3488
3558
|
_if(() => {
|
|
3489
3559
|
if (repos && !allFiles.length) {
|
|
3490
3560
|
const $scope11_id = _scope_id();
|
|
3491
|
-
_html(`<p${_attr_class("
|
|
3561
|
+
_html(`<p${_attr_class("_bI")}>${repoList.some((r) => r.unborn) ? "No commits yet." : scope$1 === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope11_id, "b")}</p>`);
|
|
3492
3562
|
writeScope($scope11_id, {});
|
|
3493
3563
|
return 0;
|
|
3494
3564
|
} else if (repos && !shownFiles.length && !findState.hit) {
|
|
3495
3565
|
const $scope8_id = _scope_id();
|
|
3496
|
-
_html(`<p${_attr_class("
|
|
3566
|
+
_html(`<p${_attr_class("_bI")}>${findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope8_id, "b")}</p>`);
|
|
3497
3567
|
writeScope($scope8_id, {});
|
|
3498
3568
|
return 1;
|
|
3499
3569
|
}
|