@dylanpiercey/work 0.0.94 → 0.0.96
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/{_tpJju-55.js → _C_EF8rh-.js} +56 -22
- package/dist/{_DILbc8yV.js → _Cel25igI.js} +201 -97
- package/dist/index.mjs +339 -160
- package/dist/public/assets/{_C4TNH2ZM.js → _3d2N4uW7.js} +1 -1
- package/dist/public/assets/_3d2N4uW7.js.br +0 -0
- package/dist/public/assets/{_EoqXooxT2.js → _63r8H6KD2.js} +1 -1
- package/dist/public/assets/_63r8H6KD2.js.br +0 -0
- package/dist/public/assets/{_DBqph3js.js → _6Tvpa4Xu.js} +1 -1
- package/dist/public/assets/_6Tvpa4Xu.js.br +0 -0
- package/dist/public/assets/_Ame3I5fr.js +85 -0
- package/dist/public/assets/_Ame3I5fr.js.br +0 -0
- package/dist/public/assets/{_0ap9drti.js → _B2uZZeNN.js} +1 -1
- package/dist/public/assets/_B2uZZeNN.js.br +0 -0
- package/dist/public/assets/{_aUMNXFec.js → _B3G8MYzv.js} +1 -1
- package/dist/public/assets/_B3G8MYzv.js.br +0 -0
- package/dist/public/assets/{_CM1DnGXf2.js → _B4JWlIQw2.js} +1 -1
- package/dist/public/assets/_B4JWlIQw2.js.br +0 -0
- package/dist/public/assets/{_xROUdW2l.js → _BAJq8l9L.js} +1 -1
- package/dist/public/assets/_BAJq8l9L.js.br +0 -0
- package/dist/public/assets/{_CWWMMUQ2.js → _BBpJiyYC.js} +1 -1
- package/dist/public/assets/_BBpJiyYC.js.br +0 -0
- package/dist/public/assets/{_3-QozS0i.js → _BEejQ7lO.js} +1 -1
- package/dist/public/assets/_BEejQ7lO.js.br +0 -0
- package/dist/public/assets/{_9CNGJ9vT.js → _BGuxBUC6.js} +1 -1
- package/dist/public/assets/_BGuxBUC6.js.br +0 -0
- package/dist/public/assets/{_CmDw7YCz.js → _BGz6c5fQ.js} +1 -1
- package/dist/public/assets/_BGz6c5fQ.js.br +0 -0
- package/dist/public/assets/{_DDwgXS0M.js → _BKaiZ1NX.js} +1 -1
- package/dist/public/assets/_BKaiZ1NX.js.br +0 -0
- package/dist/public/assets/{_CS7v5Ou6.js → _BQiqdgb9.js} +1 -1
- package/dist/public/assets/_BQiqdgb9.js.br +0 -0
- package/dist/public/assets/{_FtJI7TqL2.js → _BdRvtpe42.js} +1 -1
- package/dist/public/assets/_BdRvtpe42.js.br +0 -0
- package/dist/public/assets/{_CbLNY8O12.js → _BgA0nPVc2.js} +1 -1
- package/dist/public/assets/_BgA0nPVc2.js.br +0 -0
- package/dist/public/assets/{_BwV0gWNS.js → _BggRFG6b.js} +1 -1
- package/dist/public/assets/{_BdwOi-GZ.js → _BnDvpSPb.js} +1 -1
- package/dist/public/assets/_BnDvpSPb.js.br +0 -0
- package/dist/public/assets/{_7EZIn6_b2.js → _Bpnk-HWG2.js} +1 -1
- package/dist/public/assets/_Bpnk-HWG2.js.br +0 -0
- package/dist/public/assets/{_gJJKIoXJ.js → _Bx5JF3nx.js} +1 -1
- package/dist/public/assets/_Bx5JF3nx.js.br +0 -0
- package/dist/public/assets/{_BTjvprBB2.js → _Bxjd-YPA2.js} +1 -1
- package/dist/public/assets/_Bxjd-YPA2.js.br +0 -0
- package/dist/public/assets/{_D0KXsxOT.js → _Bzv-EzCt.js} +1 -1
- package/dist/public/assets/_Bzv-EzCt.js.br +0 -0
- package/dist/public/assets/{_DfnV6slB.js → _C1AEjtWB.js} +1 -1
- package/dist/public/assets/_C1AEjtWB.js.br +0 -0
- package/dist/public/assets/{_CBDLBvL52.js → _C2Qcx14K2.js} +1 -1
- package/dist/public/assets/_C2Qcx14K2.js.br +0 -0
- package/dist/public/assets/{_BWPWFQVh.js → _C3JlLCxf.js} +1 -1
- package/dist/public/assets/_C3JlLCxf.js.br +0 -0
- package/dist/public/assets/{_D_SSjw-p2.js → _CAhTTF9I2.js} +1 -1
- package/dist/public/assets/_CAhTTF9I2.js.br +0 -0
- package/dist/public/assets/{_VHLalE0r.js → _CBkUW_R-.js} +1 -1
- package/dist/public/assets/_CBkUW_R-.js.br +0 -0
- package/dist/public/assets/{_RcUvSExn.js → _CHSMtXGV.js} +1 -1
- package/dist/public/assets/_CHSMtXGV.js.br +0 -0
- package/dist/public/assets/{_bzyyofyd2.js → _CHu5Km3j2.js} +1 -1
- package/dist/public/assets/_CHu5Km3j2.js.br +0 -0
- package/dist/public/assets/{_Dz0jY0m42.js → _CKqbHwCF2.js} +1 -1
- package/dist/public/assets/_CKqbHwCF2.js.br +0 -0
- package/dist/public/assets/{_Bv7d26Fi2.js → _CNW9dpu42.js} +1 -1
- package/dist/public/assets/_CNW9dpu42.js.br +0 -0
- package/dist/public/assets/{_Dmct9TiM.js → _CRtlCbY-.js} +1 -1
- package/dist/public/assets/_CRtlCbY-.js.br +0 -0
- package/dist/public/assets/{_CAXDYTcU.js → _CaZfk2zB.js} +1 -1
- package/dist/public/assets/_CaZfk2zB.js.br +0 -0
- package/dist/public/assets/{_B2p-Gk_h2.js → _CbFus18_2.js} +1 -1
- package/dist/public/assets/_CbFus18_2.js.br +0 -0
- package/dist/public/assets/{_CK6Y_nu02.js → _Cerr01H42.js} +1 -1
- package/dist/public/assets/_Cerr01H42.js.br +0 -0
- package/dist/public/assets/{_add36kcw.js → _Ch3aclh9.js} +1 -1
- package/dist/public/assets/_Ch3aclh9.js.br +0 -0
- package/dist/public/assets/{_-4uLyFkk2.js → _CnF5wkxz2.js} +1 -1
- package/dist/public/assets/_CnF5wkxz2.js.br +0 -0
- package/dist/public/assets/{_DuibtMJh.js → _CqgdIwou.js} +1 -1
- package/dist/public/assets/_CqgdIwou.js.br +0 -0
- package/dist/public/assets/{_6sn0vJvZ.js → _CvciVzJE.js} +1 -1
- package/dist/public/assets/_CvciVzJE.js.br +0 -0
- package/dist/public/assets/{_CnHoenY3.js → _Cwn2Dzif.js} +1 -1
- package/dist/public/assets/_Cwn2Dzif.js.br +0 -0
- package/dist/public/assets/{_BB6JnGn8.js → _CzGmg6J6.js} +1 -1
- package/dist/public/assets/_CzGmg6J6.js.br +0 -0
- package/dist/public/assets/{_FhaXp6fC2.js → _CzuNzNf52.js} +1 -1
- package/dist/public/assets/_CzuNzNf52.js.br +0 -0
- package/dist/public/assets/{_bKDAmi-82.js → _D0XB9M1F2.js} +1 -1
- package/dist/public/assets/_D0XB9M1F2.js.br +0 -0
- package/dist/public/assets/{_MuSMLCM3.js → _D3o4Rxbh.js} +1 -1
- package/dist/public/assets/_D3o4Rxbh.js.br +0 -0
- package/dist/public/assets/{_DOTpO7fW.js → _D8QuoF51.js} +1 -1
- package/dist/public/assets/_D8QuoF51.js.br +0 -0
- package/dist/public/assets/{_CJuXw-yU.js → _D8ZjEIBC.js} +1 -1
- package/dist/public/assets/_D8ZjEIBC.js.br +0 -0
- package/dist/public/assets/{_reVR5VkG.js → _D8kpusiR.js} +1 -1
- package/dist/public/assets/_D8kpusiR.js.br +0 -0
- package/dist/public/assets/{_DuQe1JMh.js → _D9Iriq-Y.js} +1 -1
- package/dist/public/assets/_D9Iriq-Y.js.br +0 -0
- package/dist/public/assets/{_D37AXv7r.js → _DCUcB2sk.js} +1 -1
- package/dist/public/assets/_DCUcB2sk.js.br +0 -0
- package/dist/public/assets/{_B1WdcSZg.js → _DI8J66CZ.js} +1 -1
- package/dist/public/assets/_DI8J66CZ.js.br +0 -0
- package/dist/public/assets/{_By8sbq8t.js → _DPjHjfD8.js} +1 -1
- package/dist/public/assets/_DPjHjfD8.js.br +0 -0
- package/dist/public/assets/{_DbbH1iIb2.js → _DYN4MZjM2.js} +1 -1
- package/dist/public/assets/_DYN4MZjM2.js.br +0 -0
- package/dist/public/assets/{_lRXSQmR6.js → _D_7Jyml2.js} +1 -1
- package/dist/public/assets/_D_7Jyml2.js.br +0 -0
- package/dist/public/assets/{_BQzt8gQO.js → _D_Ut2Ol9.js} +1 -1
- package/dist/public/assets/_D_Ut2Ol9.js.br +0 -0
- package/dist/public/assets/{_tJnEccOk2.js → _DdeqfoDq2.js} +1 -1
- package/dist/public/assets/_DdeqfoDq2.js.br +0 -0
- package/dist/public/assets/{__OFelAWw.js → _Dfr7TISb.js} +1 -1
- package/dist/public/assets/_Dfr7TISb.js.br +0 -0
- package/dist/public/assets/{_BeMdtqMm2.js → _DkuBJFLN2.js} +1 -1
- package/dist/public/assets/_DkuBJFLN2.js.br +0 -0
- package/dist/public/assets/{_CK8_JQ-J.js → _DmknNPV-.js} +1 -1
- package/dist/public/assets/_DmknNPV-.js.br +0 -0
- package/dist/public/assets/{_Da02h1aJ2.js → _DyVuhWqf2.js} +1 -1
- package/dist/public/assets/_DyVuhWqf2.js.br +0 -0
- package/dist/public/assets/{_DdnViDFP.js → _DzyBRpRU.js} +1 -1
- package/dist/public/assets/_DzyBRpRU.js.br +0 -0
- package/dist/public/assets/{_CSMs4NeF.js → _E4WOoQhA.js} +1 -1
- package/dist/public/assets/_E4WOoQhA.js.br +0 -0
- package/dist/public/assets/{_4QTn6pgM.js → _Em_sWtVW.js} +46 -46
- package/dist/public/assets/_Em_sWtVW.js.br +0 -0
- package/dist/public/assets/{_DxdpRnU9.js → _FsklS6Cf.js} +1 -1
- package/dist/public/assets/_FsklS6Cf.js.br +0 -0
- package/dist/public/assets/{_DGJJBFwy.js → _Qqf8g1TK.js} +1 -1
- package/dist/public/assets/_Qqf8g1TK.js.br +0 -0
- package/dist/public/assets/{_ZZxaDa4e.js → _TPFL8bDN.js} +1 -1
- package/dist/public/assets/_TPFL8bDN.js.br +0 -0
- package/dist/public/assets/{_Cn__Rzhw.js → _a17toZcs.js} +1 -1
- package/dist/public/assets/_a17toZcs.js.br +0 -0
- package/dist/public/assets/{_Bh18hLqm2.js → _jEfYpM3E2.js} +1 -1
- package/dist/public/assets/_jEfYpM3E2.js.br +0 -0
- package/dist/public/assets/{_BiLvO1DD2.js → _koIBjoCI2.js} +1 -1
- package/dist/public/assets/{_bRfUNPeG.js → _mf72EOR_.js} +1 -1
- package/dist/public/assets/_mf72EOR_.js.br +0 -0
- package/dist/public/assets/{_ChXihsr_2.js → _tMvc_5W_2.js} +1 -1
- package/dist/public/assets/{_BQgBjW_z.js → _uVBAFIy8.js} +1 -1
- package/dist/public/assets/_uVBAFIy8.js.br +0 -0
- package/dist/public/assets/{_Do2X8dol.js → _vBAanm_x.js} +1 -1
- package/dist/public/assets/_vBAanm_x.js.br +0 -0
- package/dist/public/assets/{_DcSYeYey.js → _vE0bTBGo.js} +1 -1
- package/dist/public/assets/_vE0bTBGo.js.br +0 -0
- package/dist/public/assets/{_DTu7x41J.js → _xACnj4IY.js} +1 -1
- package/dist/public/assets/_xACnj4IY.js.br +0 -0
- package/dist/public/assets/{_CUPEXKrl.js → _xIRNtE1V.js} +1 -1
- package/dist/public/assets/_xIRNtE1V.js.br +0 -0
- package/dist/public/assets/{_BojsTanh2.js → _y6bl1mtk2.js} +1 -1
- package/dist/public/assets/_y6bl1mtk2.js.br +0 -0
- package/dist/public/assets/app-page-B1_16TZW.css +1 -0
- package/dist/public/assets/app-page-B1_16TZW.css.br +0 -0
- package/dist/public/assets/{diff-view-l__lAr2d.css → diff-view-CKc458jK.css} +1 -1
- package/dist/public/assets/diff-view-CKc458jK.css.br +0 -0
- package/dist/public/assets/new-BpwV-DKC.js +1 -0
- package/dist/public/assets/settings-BpwV-DKC.js +1 -0
- package/dist/public/assets/w-BpwV-DKC.js +1 -0
- package/dist/public/assets/w._-BpwV-DKC.js +1 -0
- package/dist/public/assets/w._-C0I_DcpJ.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_-4uLyFkk2.js.br +0 -0
- package/dist/public/assets/_0ap9drti.js.br +0 -0
- package/dist/public/assets/_3-QozS0i.js.br +0 -0
- package/dist/public/assets/_4QTn6pgM.js.br +0 -0
- package/dist/public/assets/_6sn0vJvZ.js.br +0 -0
- package/dist/public/assets/_7EZIn6_b2.js.br +0 -0
- package/dist/public/assets/_9CNGJ9vT.js.br +0 -0
- package/dist/public/assets/_B1WdcSZg.js.br +0 -0
- package/dist/public/assets/_B2p-Gk_h2.js.br +0 -0
- package/dist/public/assets/_BB6JnGn8.js.br +0 -0
- package/dist/public/assets/_BQgBjW_z.js.br +0 -0
- package/dist/public/assets/_BQzt8gQO.js.br +0 -0
- package/dist/public/assets/_BTjvprBB2.js.br +0 -0
- package/dist/public/assets/_BWPWFQVh.js.br +0 -0
- package/dist/public/assets/_BdwOi-GZ.js.br +0 -0
- package/dist/public/assets/_BeMdtqMm2.js.br +0 -0
- package/dist/public/assets/_Bh18hLqm2.js.br +0 -0
- package/dist/public/assets/_BojsTanh2.js.br +0 -0
- package/dist/public/assets/_Bv7d26Fi2.js.br +0 -0
- package/dist/public/assets/_By8sbq8t.js.br +0 -0
- package/dist/public/assets/_C4TNH2ZM.js.br +0 -0
- package/dist/public/assets/_C7EUXi77.js +0 -85
- package/dist/public/assets/_C7EUXi77.js.br +0 -0
- package/dist/public/assets/_CAXDYTcU.js.br +0 -0
- package/dist/public/assets/_CBDLBvL52.js.br +0 -0
- package/dist/public/assets/_CJuXw-yU.js.br +0 -0
- package/dist/public/assets/_CK6Y_nu02.js.br +0 -0
- package/dist/public/assets/_CK8_JQ-J.js.br +0 -0
- package/dist/public/assets/_CM1DnGXf2.js.br +0 -0
- package/dist/public/assets/_CS7v5Ou6.js.br +0 -0
- package/dist/public/assets/_CSMs4NeF.js.br +0 -0
- package/dist/public/assets/_CUPEXKrl.js.br +0 -0
- package/dist/public/assets/_CWWMMUQ2.js.br +0 -0
- package/dist/public/assets/_CbLNY8O12.js.br +0 -0
- package/dist/public/assets/_CmDw7YCz.js.br +0 -0
- package/dist/public/assets/_CnHoenY3.js.br +0 -0
- package/dist/public/assets/_Cn__Rzhw.js.br +0 -0
- package/dist/public/assets/_D0KXsxOT.js.br +0 -0
- package/dist/public/assets/_D37AXv7r.js.br +0 -0
- package/dist/public/assets/_DBqph3js.js.br +0 -0
- package/dist/public/assets/_DDwgXS0M.js.br +0 -0
- package/dist/public/assets/_DGJJBFwy.js.br +0 -0
- package/dist/public/assets/_DOTpO7fW.js.br +0 -0
- package/dist/public/assets/_DTu7x41J.js.br +0 -0
- package/dist/public/assets/_D_SSjw-p2.js.br +0 -0
- package/dist/public/assets/_Da02h1aJ2.js.br +0 -0
- package/dist/public/assets/_DbbH1iIb2.js.br +0 -0
- package/dist/public/assets/_DcSYeYey.js.br +0 -0
- package/dist/public/assets/_DdnViDFP.js.br +0 -0
- package/dist/public/assets/_DfnV6slB.js.br +0 -0
- package/dist/public/assets/_Dmct9TiM.js.br +0 -0
- package/dist/public/assets/_Do2X8dol.js.br +0 -0
- package/dist/public/assets/_DuQe1JMh.js.br +0 -0
- package/dist/public/assets/_DuibtMJh.js.br +0 -0
- package/dist/public/assets/_DxdpRnU9.js.br +0 -0
- package/dist/public/assets/_Dz0jY0m42.js.br +0 -0
- package/dist/public/assets/_EoqXooxT2.js.br +0 -0
- package/dist/public/assets/_FhaXp6fC2.js.br +0 -0
- package/dist/public/assets/_FtJI7TqL2.js.br +0 -0
- package/dist/public/assets/_MuSMLCM3.js.br +0 -0
- package/dist/public/assets/_RcUvSExn.js.br +0 -0
- package/dist/public/assets/_VHLalE0r.js.br +0 -0
- package/dist/public/assets/_ZZxaDa4e.js.br +0 -0
- package/dist/public/assets/__OFelAWw.js.br +0 -0
- package/dist/public/assets/_aUMNXFec.js.br +0 -0
- package/dist/public/assets/_add36kcw.js.br +0 -0
- package/dist/public/assets/_bKDAmi-82.js.br +0 -0
- package/dist/public/assets/_bRfUNPeG.js.br +0 -0
- package/dist/public/assets/_bzyyofyd2.js.br +0 -0
- package/dist/public/assets/_gJJKIoXJ.js.br +0 -0
- package/dist/public/assets/_lRXSQmR6.js.br +0 -0
- package/dist/public/assets/_reVR5VkG.js.br +0 -0
- package/dist/public/assets/_tJnEccOk2.js.br +0 -0
- package/dist/public/assets/_xROUdW2l.js.br +0 -0
- package/dist/public/assets/app-page-Br2mpp1y.css +0 -1
- package/dist/public/assets/app-page-Br2mpp1y.css.br +0 -0
- package/dist/public/assets/diff-view-l__lAr2d.css.br +0 -0
- package/dist/public/assets/new-CwwrA15U.js +0 -1
- package/dist/public/assets/settings-CwwrA15U.js +0 -1
- package/dist/public/assets/w-CwwrA15U.js +0 -1
- package/dist/public/assets/w._-CwwrA15U.js +0 -1
- package/dist/public/assets/w._-CyPkgfCF.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 "./_C_EF8rh-.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 = "_dI _0 _j";
|
|
246
246
|
//#endregion
|
|
247
247
|
//#region src/tags/diff-send.marko
|
|
248
248
|
var diff_send_default = _template("i", (input) => {
|
|
@@ -252,7 +252,7 @@ var diff_send_default = _template("i", (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("_fl")}><button type=button${_attr_class("_o")} 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();
|
|
@@ -262,11 +262,11 @@ var diff_send_default = _template("i", (input) => {
|
|
|
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("_fm")}><button type=button${_attr_class(["_p", "_fn"])}${_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
|
}, "i0", $scope2_id), () => {
|
|
269
|
-
_html(`<select${_attr_class("
|
|
269
|
+
_html(`<select${_attr_class("_fo")} 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,41 +1832,45 @@ var diff_find_default = _template("h", (input) => {
|
|
|
1832
1832
|
el.select();
|
|
1833
1833
|
}, 0);
|
|
1834
1834
|
}, "h5", $scope0_id);
|
|
1835
|
-
_html(`<div${_attr_class(["
|
|
1835
|
+
_html(`<div${_attr_class(["_fO", !open && "_fN"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
1836
1836
|
type(v);
|
|
1837
|
-
}, "h0", $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
|
+
}, "h0", $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("_fR")}>${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
|
+
icon_arrow_up_default({ size: 14 });
|
|
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
|
+
icon_arrow_down_default({ size: 14 });
|
|
1841
|
+
_html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
1838
1842
|
icon_xmark_default({ size: 14 });
|
|
1839
|
-
_html(`</button>${_el_resume($scope0_id, "
|
|
1843
|
+
_html(`</button>${_el_resume($scope0_id, "i")}</div>${_el_resume($scope0_id, "a")}`);
|
|
1840
1844
|
_script($scope0_id, "h6");
|
|
1841
1845
|
_script($scope0_id, "h7");
|
|
1842
1846
|
_script($scope0_id, "h8");
|
|
1843
1847
|
writeScope($scope0_id, {
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1848
|
+
m: _serialize_if($scope0_reason, 1) && input.open,
|
|
1849
|
+
n: _serialize_if($scope0_reason, 0) && input.openChange,
|
|
1850
|
+
p: _serialize_if($scope0_reason, 3) && input.query,
|
|
1851
|
+
q: _serialize_if($scope0_reason, 2) && input.queryChange,
|
|
1852
|
+
s: _serialize_if($scope0_reason, 5) && input.state,
|
|
1853
|
+
t: _serialize_if($scope0_reason, 4) && input.stateChange,
|
|
1854
|
+
v: input.files,
|
|
1855
|
+
w: input.focusRef,
|
|
1856
|
+
x: input.tick,
|
|
1857
|
+
y: open,
|
|
1858
|
+
a0: query,
|
|
1859
|
+
a5: hi,
|
|
1860
|
+
a7: hits?.length,
|
|
1861
|
+
aa: at,
|
|
1862
|
+
ad: live.open,
|
|
1863
|
+
ag: box.timer,
|
|
1864
|
+
ai: box.tick,
|
|
1865
|
+
aj: box.wasOpen,
|
|
1866
|
+
ak: emit,
|
|
1867
|
+
an: type,
|
|
1868
|
+
ap: next,
|
|
1869
|
+
aq: close,
|
|
1870
|
+
ar: focusInput,
|
|
1871
|
+
z: input.openChange || void 0,
|
|
1872
|
+
a1: input.queryChange || void 0,
|
|
1873
|
+
a4: input.stateChange || void 0
|
|
1870
1874
|
});
|
|
1871
1875
|
_resume_branch($scope0_id);
|
|
1872
1876
|
});
|
|
@@ -1933,12 +1937,63 @@ function shortBranch(name, wsBranch = "", wsName = "") {
|
|
|
1933
1937
|
}
|
|
1934
1938
|
var repoWorktree = "_gV _x";
|
|
1935
1939
|
var repoTitle = "_g1 _w";
|
|
1940
|
+
//#endregion
|
|
1941
|
+
//#region src/tags/icons/icon-chevron-right.marko
|
|
1942
|
+
var icon_chevron_right_default = _template("Q", (input) => {
|
|
1943
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
1944
|
+
const $scope0_id = _scope_id();
|
|
1945
|
+
_set_serialize_reason({
|
|
1946
|
+
0: $sg__input_size__OR__input_class,
|
|
1947
|
+
1: $sg__input_size__OR__input_class
|
|
1948
|
+
});
|
|
1949
|
+
const $childScope = _peek_scope_id();
|
|
1950
|
+
icon_base_default({
|
|
1951
|
+
d: "M9 6L15 12L9 18",
|
|
1952
|
+
size: input.size,
|
|
1953
|
+
class: input.class
|
|
1954
|
+
});
|
|
1955
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
1956
|
+
});
|
|
1957
|
+
//#endregion
|
|
1958
|
+
//#region src/tags/icons/icon-chevron-down.marko
|
|
1959
|
+
var icon_chevron_down_default = _template("P", (input) => {
|
|
1960
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
1961
|
+
const $scope0_id = _scope_id();
|
|
1962
|
+
_set_serialize_reason({
|
|
1963
|
+
0: $sg__input_size__OR__input_class,
|
|
1964
|
+
1: $sg__input_size__OR__input_class
|
|
1965
|
+
});
|
|
1966
|
+
const $childScope = _peek_scope_id();
|
|
1967
|
+
icon_base_default({
|
|
1968
|
+
d: "M6 9L12 15L18 9",
|
|
1969
|
+
size: input.size,
|
|
1970
|
+
class: input.class
|
|
1971
|
+
});
|
|
1972
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
1973
|
+
});
|
|
1974
|
+
//#endregion
|
|
1975
|
+
//#region src/tags/icons/icon-comment.marko
|
|
1976
|
+
var icon_comment_default = _template("S", (input) => {
|
|
1977
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
1978
|
+
const $scope0_id = _scope_id();
|
|
1979
|
+
_set_serialize_reason({
|
|
1980
|
+
0: $sg__input_size__OR__input_class,
|
|
1981
|
+
1: $sg__input_size__OR__input_class
|
|
1982
|
+
});
|
|
1983
|
+
const $childScope = _peek_scope_id();
|
|
1984
|
+
icon_base_default({
|
|
1985
|
+
d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 13.8214 2.48697 15.5291 3.33782 17L2.5 21.5L7 20.6622C8.47087 21.513 10.1786 22 12 22Z",
|
|
1986
|
+
size: input.size,
|
|
1987
|
+
class: input.class
|
|
1988
|
+
});
|
|
1989
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
1990
|
+
});
|
|
1936
1991
|
tone.warn;
|
|
1937
1992
|
var diff_file_default = _template("g", (input) => {
|
|
1938
1993
|
_scope_reason();
|
|
1939
1994
|
const $scope0_id = _scope_id();
|
|
1940
1995
|
_el($scope0_id, "g0");
|
|
1941
|
-
_html(`<div${_attr_class(["
|
|
1996
|
+
_html(`<div${_attr_class(["_hj", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
1942
1997
|
_script($scope0_id, "g1");
|
|
1943
1998
|
writeScope($scope0_id, {
|
|
1944
1999
|
e: input.file,
|
|
@@ -1959,7 +2014,7 @@ var diff_file_default = _template("g", (input) => {
|
|
|
1959
2014
|
//#endregion
|
|
1960
2015
|
//#region src/tags/review-section.marko
|
|
1961
2016
|
var review_section_default = _template("t", (input) => {
|
|
1962
|
-
const $scope0_reason = _scope_reason(), $sg__input_repo = _serialize_guard($scope0_reason, 34), $si__input_repo = _serialize_if($scope0_reason, 34), $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, 35), $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), $si__input_files__OR__input_collapsedFiles = _serialize_if($scope0_reason, 6), $si__input_files = _serialize_if($scope0_reason, 35), $si__input_files__OR__input_commentsByFile = _serialize_if($scope0_reason, 5), $si__input_findHit_key = _serialize_if($scope0_reason, 43), $sg__input_files__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 6), $si__input_onFileToggle = _serialize_if($scope0_reason, 44), $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, 33), $si__input_draft = _serialize_if($scope0_reason, 46), $si__input_sessions = _serialize_if($scope0_reason, 47), $si__input_onSelect = _serialize_if($scope0_reason, 48), $si__input_onSaveComment = _serialize_if($scope0_reason, 49), $si__input_onSendDraft = _serialize_if($scope0_reason, 50), $si__input_onCancelDraft = _serialize_if($scope0_reason, 51), $si__input_onDeleteComment = _serialize_if($scope0_reason, 52), $si__input_onEditComment = _serialize_if($scope0_reason, 53), $si__input_onSendComment = _serialize_if($scope0_reason, 54), $si__input_onError = _serialize_if($scope0_reason, 55), $si__input_shownKeys = _serialize_if($scope0_reason, 36), $si__input_commentsByFile = _serialize_if($scope0_reason, 41), $si__input_collapsedFiles = _serialize_if($scope0_reason, 42), $si__input_findHit_line = _serialize_if($scope0_reason, 45);
|
|
2017
|
+
const $scope0_reason = _scope_reason(), $si__input_collapsed = _serialize_if($scope0_reason, 39), $sg__input_collapsed = _serialize_guard($scope0_reason, 39), $sg__input_repo = _serialize_guard($scope0_reason, 34), $si__input_repo = _serialize_if($scope0_reason, 34), $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, 35), $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), $si__input_files__OR__input_collapsedFiles = _serialize_if($scope0_reason, 6), $si__input_files = _serialize_if($scope0_reason, 35), $si__input_files__OR__input_commentsByFile = _serialize_if($scope0_reason, 5), $si__input_findHit_key = _serialize_if($scope0_reason, 43), $sg__input_files__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 6), $si__input_onFileToggle = _serialize_if($scope0_reason, 44), $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, 33), $si__input_draft = _serialize_if($scope0_reason, 46), $si__input_sessions = _serialize_if($scope0_reason, 47), $si__input_onSelect = _serialize_if($scope0_reason, 48), $si__input_onSaveComment = _serialize_if($scope0_reason, 49), $si__input_onSendDraft = _serialize_if($scope0_reason, 50), $si__input_onCancelDraft = _serialize_if($scope0_reason, 51), $si__input_onDeleteComment = _serialize_if($scope0_reason, 52), $si__input_onEditComment = _serialize_if($scope0_reason, 53), $si__input_onSendComment = _serialize_if($scope0_reason, 54), $si__input_onError = _serialize_if($scope0_reason, 55), $si__input_shownKeys = _serialize_if($scope0_reason, 36), $si__input_commentsByFile = _serialize_if($scope0_reason, 41), $si__input_collapsedFiles = _serialize_if($scope0_reason, 42), $si__input_findHit_line = _serialize_if($scope0_reason, 45);
|
|
1963
2018
|
const $scope0_id = _scope_id();
|
|
1964
2019
|
const $input__closures = /* @__PURE__ */ new Set();
|
|
1965
2020
|
const $input_draft__closures = /* @__PURE__ */ new Set();
|
|
@@ -2005,7 +2060,21 @@ var review_section_default = _template("t", (input) => {
|
|
|
2005
2060
|
"_hd",
|
|
2006
2061
|
!input.collapsed && "_he",
|
|
2007
2062
|
input.expanding && "_hf"
|
|
2008
|
-
])} aria-hidden=true
|
|
2063
|
+
])} aria-hidden=true>`);
|
|
2064
|
+
_if(() => {
|
|
2065
|
+
if (input.collapsed) {
|
|
2066
|
+
const $scope16_id = _scope_id();
|
|
2067
|
+
icon_chevron_right_default({ size: 14 });
|
|
2068
|
+
$si__input_collapsed && writeScope($scope16_id, {});
|
|
2069
|
+
return 0;
|
|
2070
|
+
} else {
|
|
2071
|
+
const $scope17_id = _scope_id();
|
|
2072
|
+
icon_chevron_down_default({ size: 14 });
|
|
2073
|
+
$si__input_collapsed && writeScope($scope17_id, {});
|
|
2074
|
+
return 1;
|
|
2075
|
+
}
|
|
2076
|
+
}, $scope1_id, "b", $sg__input_collapsed, _serialize_guard($scope0_reason, 10), $sg__input_collapsed, "</span>", 1);
|
|
2077
|
+
_html(`<span${_attr_class(repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope1_id, "d", $sg__input_repo)}</span></button>${_el_resume($scope1_id, "a")}`);
|
|
2009
2078
|
_script($scope1_id, "t9");
|
|
2010
2079
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
2011
2080
|
return 0;
|
|
@@ -2107,36 +2176,38 @@ var review_section_default = _template("t", (input) => {
|
|
|
2107
2176
|
}, "t0", $scope6_id))}${_attr_class(["_g_", input.findHit?.key === file$1.key && "_gP"])}${_attr("data-key", file$1.key)}${_attr("hidden", !input.shownKeys.has(file$1.key))}><summary${_attr_class("_hb")}><span${_attr_class("_hg")}${_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(["_hh", input.findHit?.key === file$1.key && input.findHit.line < 1 && "_gQ"])}${_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))}`);
|
|
2108
2177
|
_if(() => {
|
|
2109
2178
|
if (file$1.changedSince) {
|
|
2110
|
-
const $
|
|
2179
|
+
const $scope19_id = _scope_id();
|
|
2111
2180
|
_html(`<span${_attr_class(["_z", "_g8"])} title="Changed since your last visit"></span>`);
|
|
2112
|
-
$si__input_files && writeScope($
|
|
2181
|
+
$si__input_files && writeScope($scope19_id, {});
|
|
2113
2182
|
return 0;
|
|
2114
2183
|
}
|
|
2115
2184
|
}, $scope6_id, "g", $sg__input_files, $sg__input_files, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles, 0, 1);
|
|
2116
2185
|
_if(() => {
|
|
2117
2186
|
if (fileComments.length) {
|
|
2118
|
-
const $
|
|
2119
|
-
_html(`<span${_attr_class("_s")}
|
|
2120
|
-
|
|
2187
|
+
const $scope18_id = _scope_id();
|
|
2188
|
+
_html(`<span${_attr_class("_s")}>`);
|
|
2189
|
+
icon_comment_default({ size: 12 });
|
|
2190
|
+
_html(` ${_sep($sg__input_files__OR__input_commentsByFile)}${_escape(fileComments.length)}${_el_resume($scope18_id, "c", $sg__input_files__OR__input_commentsByFile)}</span>`);
|
|
2191
|
+
$si__input_files__OR__input_commentsByFile && writeScope($scope18_id, { _: _scope_with_id($scope6_id) });
|
|
2121
2192
|
return 0;
|
|
2122
2193
|
}
|
|
2123
2194
|
}, $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);
|
|
2124
2195
|
_html("</summary>");
|
|
2125
2196
|
_if(() => {
|
|
2126
2197
|
if (file$1.binary) {
|
|
2127
|
-
const $
|
|
2198
|
+
const $scope20_id = _scope_id();
|
|
2128
2199
|
_html(`<p${_attr_class(["_hi", "_ha"])}>binary file</p>`);
|
|
2129
|
-
$si__input_files__OR__input_collapsedFiles && writeScope($
|
|
2200
|
+
$si__input_files__OR__input_collapsedFiles && writeScope($scope20_id, {});
|
|
2130
2201
|
return 0;
|
|
2131
2202
|
} else if (file$1.tooLarge) {
|
|
2132
|
-
const $
|
|
2203
|
+
const $scope21_id = _scope_id();
|
|
2133
2204
|
_html(`<p${_attr_class(["_hi", "_ha"])}>file too large to display</p>`);
|
|
2134
|
-
$si__input_files__OR__input_collapsedFiles && writeScope($
|
|
2205
|
+
$si__input_files__OR__input_collapsedFiles && writeScope($scope21_id, {});
|
|
2135
2206
|
return 1;
|
|
2136
2207
|
} else if (file$1.old == null && file$1.new == null) {
|
|
2137
|
-
const $
|
|
2208
|
+
const $scope22_id = _scope_id();
|
|
2138
2209
|
_html(`<p${_attr_class(["_hi", "_ha"])}>file could not be read</p>`);
|
|
2139
|
-
$si__input_files__OR__input_collapsedFiles && writeScope($
|
|
2210
|
+
$si__input_files__OR__input_collapsedFiles && writeScope($scope22_id, {});
|
|
2140
2211
|
return 2;
|
|
2141
2212
|
} else if (expanded) {
|
|
2142
2213
|
const $scope7_id = _scope_id();
|
|
@@ -2293,7 +2364,7 @@ var review_section_default = _template("t", (input) => {
|
|
|
2293
2364
|
cd: $si__input_findHit_line && $input_findHit_line__closures
|
|
2294
2365
|
});
|
|
2295
2366
|
});
|
|
2296
|
-
var fileFilter = "
|
|
2367
|
+
var fileFilter = "_hl _l";
|
|
2297
2368
|
//#endregion
|
|
2298
2369
|
//#region src/tags/file-filter.marko
|
|
2299
2370
|
var file_filter_default = _template("m", (input) => {
|
|
@@ -2323,7 +2394,7 @@ var file_filter_default = _template("m", (input) => {
|
|
|
2323
2394
|
pending = v;
|
|
2324
2395
|
box.timer = setTimeout(flush, 150);
|
|
2325
2396
|
}, "m2", $scope0_id);
|
|
2326
|
-
_html(`<div${_attr_class("
|
|
2397
|
+
_html(`<div${_attr_class("_hk")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
2327
2398
|
type(v);
|
|
2328
2399
|
}, "m0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
2329
2400
|
_script($scope0_id, "m3");
|
|
@@ -2343,7 +2414,7 @@ var file_filter_default = _template("m", (input) => {
|
|
|
2343
2414
|
//#endregion
|
|
2344
2415
|
//#region src/tags/diff-tree-dir.marko
|
|
2345
2416
|
var $content = (input) => {
|
|
2346
|
-
const $scope0_reason = _scope_reason(), $
|
|
2417
|
+
const $scope0_reason = _scope_reason(), $si__input = _serialize_if($scope0_reason, 4), $sg__input = _serialize_guard($scope0_reason, 4), $sg__input_dir__OR__input_collapsed__OR__input_onToggleDir__OR__input_collapsedKey__OR__input_hrefFor__OR__input_collapsedFiles__OR__input_commentKeys__OR__input_newKeys = _serialize_guard($scope0_reason, 3), $sg__input_dir = _serialize_guard($scope0_reason, 5), $sg__input_dir__OR__input_newKeys = _serialize_guard($scope0_reason, 1), $sg__input_dir__OR__input_commentKeys__OR__input_newKeys = _serialize_guard($scope0_reason, 2), $sg__input_dir__OR__input_commentKeys = _serialize_guard($scope0_reason, 0), $si__input_collapsedFiles = _serialize_if($scope0_reason, 10), $si__input_dir = _serialize_if($scope0_reason, 5), $si__input_collapsed = _serialize_if($scope0_reason, 6), $si__input_onToggleDir = _serialize_if($scope0_reason, 7), $si__input_collapsedKey = _serialize_if($scope0_reason, 8), $si__input_hrefFor = _serialize_if($scope0_reason, 9), $si__input_commentKeys = _serialize_if($scope0_reason, 11), $si__input_newKeys = _serialize_if($scope0_reason, 12);
|
|
2347
2418
|
const $scope0_id = _scope_id();
|
|
2348
2419
|
const $input_collapsed__closures = /* @__PURE__ */ new Set();
|
|
2349
2420
|
const $input_onToggleDir__closures = /* @__PURE__ */ new Set();
|
|
@@ -2356,7 +2427,21 @@ var $content = (input) => {
|
|
|
2356
2427
|
_for_of(dir.dirs, (child) => {
|
|
2357
2428
|
const $scope1_id = _scope_id();
|
|
2358
2429
|
const shut = input.collapsed.has(input.collapsedKey(child.path));
|
|
2359
|
-
_html(`<div${_attr_class("
|
|
2430
|
+
_html(`<div${_attr_class("_fx")}><button type=button${_attr_class(["_fy", { ["_fp"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_fF")}>`);
|
|
2431
|
+
_if(() => {
|
|
2432
|
+
if (shut) {
|
|
2433
|
+
const $scope4_id = _scope_id();
|
|
2434
|
+
icon_chevron_right_default({ size: 12 });
|
|
2435
|
+
$si__input && writeScope($scope4_id, {});
|
|
2436
|
+
return 0;
|
|
2437
|
+
} else {
|
|
2438
|
+
const $scope5_id = _scope_id();
|
|
2439
|
+
icon_chevron_down_default({ size: 12 });
|
|
2440
|
+
$si__input && writeScope($scope5_id, {});
|
|
2441
|
+
return 1;
|
|
2442
|
+
}
|
|
2443
|
+
}, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
|
|
2444
|
+
_html(`<span${_attr_class("_fz")}>${_escape(child.label)}${_el_resume($scope1_id, "e", $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
|
|
2360
2445
|
_if(() => {
|
|
2361
2446
|
if (!shut) {
|
|
2362
2447
|
const $scope2_id = _scope_id();
|
|
@@ -2392,31 +2477,33 @@ var $content = (input) => {
|
|
|
2392
2477
|
}))))))));
|
|
2393
2478
|
return 0;
|
|
2394
2479
|
}
|
|
2395
|
-
}, $scope1_id, "
|
|
2480
|
+
}, $scope1_id, "f", $sg__input, $sg__input, $sg__input);
|
|
2396
2481
|
_html("</div>");
|
|
2397
2482
|
_script($scope1_id, "j0");
|
|
2398
2483
|
writeScope($scope1_id, {
|
|
2399
|
-
|
|
2400
|
-
|
|
2484
|
+
h: child,
|
|
2485
|
+
i: $si__input && child?.path,
|
|
2401
2486
|
_: _scope_with_id($scope0_id)
|
|
2402
2487
|
});
|
|
2403
2488
|
}, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
|
|
2404
2489
|
_for_of(dir.files, ({ file, name }) => {
|
|
2405
2490
|
const $scope3_id = _scope_id();
|
|
2406
|
-
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["
|
|
2491
|
+
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_fB", { ["_fA"]: 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("_fG")}${_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("_fC")}>${_escape(name)}${_el_resume($scope3_id, "e", $sg__input_dir)}</span>`);
|
|
2407
2492
|
_if(() => {
|
|
2408
2493
|
if (input.newKeys.has(file.key)) {
|
|
2409
|
-
const $
|
|
2410
|
-
_html(`<span${_attr_class(["_z", "
|
|
2411
|
-
_serialize_if($scope0_reason, 1) && writeScope($
|
|
2494
|
+
const $scope6_id = _scope_id();
|
|
2495
|
+
_html(`<span${_attr_class(["_z", "_fD"])} title="Changed since your last visit"></span>`);
|
|
2496
|
+
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
2412
2497
|
return 0;
|
|
2413
2498
|
}
|
|
2414
2499
|
}, $scope3_id, "f", $sg__input_dir__OR__input_newKeys, $sg__input_dir__OR__input_newKeys, $sg__input_dir__OR__input_commentKeys__OR__input_newKeys, 0, 1);
|
|
2415
2500
|
_if(() => {
|
|
2416
2501
|
if (input.commentKeys.has(file.key)) {
|
|
2417
|
-
const $
|
|
2418
|
-
_html(`<span${_attr_class("
|
|
2419
|
-
|
|
2502
|
+
const $scope7_id = _scope_id();
|
|
2503
|
+
_html(`<span${_attr_class("_fE")}>`);
|
|
2504
|
+
icon_comment_default({ size: 12 });
|
|
2505
|
+
_html("</span>");
|
|
2506
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
2420
2507
|
return 0;
|
|
2421
2508
|
}
|
|
2422
2509
|
}, $scope3_id, "g", $sg__input_dir__OR__input_commentKeys, $sg__input_dir__OR__input_commentKeys, $sg__input_dir__OR__input_commentKeys__OR__input_newKeys, 0, 1);
|
|
@@ -2471,7 +2558,7 @@ var diff_tree_default = _template("k", (input) => {
|
|
|
2471
2558
|
scope: input.scope ?? null,
|
|
2472
2559
|
file: key
|
|
2473
2560
|
}), "k0", $scope0_id);
|
|
2474
|
-
_html(`<aside${_attr_class(["
|
|
2561
|
+
_html(`<aside${_attr_class(["_fq", { ["_fp"]: input.open === false }])}><div${_attr_class("_fr")}>`);
|
|
2475
2562
|
_set_serialize_reason(2);
|
|
2476
2563
|
const $childScope = _peek_scope_id();
|
|
2477
2564
|
file_filter_default({
|
|
@@ -2480,23 +2567,37 @@ var diff_tree_default = _template("k", (input) => {
|
|
|
2480
2567
|
filter = _new_filter;
|
|
2481
2568
|
}, "k1", $scope0_id)
|
|
2482
2569
|
});
|
|
2483
|
-
_html(`</div><div${_attr_class("
|
|
2570
|
+
_html(`</div><div${_attr_class("_fs")}>`);
|
|
2484
2571
|
_if(() => {
|
|
2485
2572
|
if (!input.sections.length && filter) {
|
|
2486
2573
|
const $scope3_id = _scope_id();
|
|
2487
|
-
_html(`<p${_attr_class("
|
|
2574
|
+
_html(`<p${_attr_class("_ft")}>No files match.</p>`);
|
|
2488
2575
|
writeScope($scope3_id, {});
|
|
2489
2576
|
return 0;
|
|
2490
2577
|
}
|
|
2491
2578
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
2492
2579
|
_for_of(input.sections, (section) => {
|
|
2493
2580
|
const $scope1_id = _scope_id();
|
|
2494
|
-
_html(`<div${_attr_class("
|
|
2581
|
+
_html(`<div${_attr_class("_fu")}><button type=button${_attr_class(["_fv", { ["_fp"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_fF")}>`);
|
|
2582
|
+
_if(() => {
|
|
2583
|
+
if (collapsedRepos.has(section.id)) {
|
|
2584
|
+
const $scope4_id = _scope_id();
|
|
2585
|
+
icon_chevron_right_default({ size: 12 });
|
|
2586
|
+
writeScope($scope4_id, {});
|
|
2587
|
+
return 0;
|
|
2588
|
+
} else {
|
|
2589
|
+
const $scope5_id = _scope_id();
|
|
2590
|
+
icon_chevron_down_default({ size: 12 });
|
|
2591
|
+
writeScope($scope5_id, {});
|
|
2592
|
+
return 1;
|
|
2593
|
+
}
|
|
2594
|
+
}, $scope1_id, "c", 1, 1, 1, "</span>", 1);
|
|
2595
|
+
_html(`<span${_attr_class("_fz")}>${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
|
|
2495
2596
|
_if(() => {
|
|
2496
2597
|
if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
|
|
2497
2598
|
const $scope2_id = _scope_id();
|
|
2498
2599
|
const root = treeDirs(section.files);
|
|
2499
|
-
_html(`<div${_attr_class("
|
|
2600
|
+
_html(`<div${_attr_class("_fw")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
|
|
2500
2601
|
_set_serialize_reason(1);
|
|
2501
2602
|
const $childScope2 = _peek_scope_id();
|
|
2502
2603
|
diff_tree_dir_default({
|
|
@@ -2523,12 +2624,12 @@ var diff_tree_default = _template("k", (input) => {
|
|
|
2523
2624
|
}))))))));
|
|
2524
2625
|
return 0;
|
|
2525
2626
|
}
|
|
2526
|
-
}, $scope1_id, "
|
|
2627
|
+
}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
2527
2628
|
_html("</div>");
|
|
2528
2629
|
_script($scope1_id, "k4");
|
|
2529
2630
|
writeScope($scope1_id, {
|
|
2530
|
-
|
|
2531
|
-
|
|
2631
|
+
i: section?.id,
|
|
2632
|
+
m: section?.files,
|
|
2532
2633
|
_: _scope_with_id($scope0_id)
|
|
2533
2634
|
});
|
|
2534
2635
|
}, "id", $scope0_id, "f", 1, $sg__input_sections, $sg__input_sections, 0, 1);
|
|
@@ -2621,9 +2722,9 @@ var diff_file_sheet_default = _template("f", (input) => {
|
|
|
2621
2722
|
_if(() => {
|
|
2622
2723
|
if (open) {
|
|
2623
2724
|
const $scope1_id = _scope_id();
|
|
2624
|
-
_html(`<div${_attr_class("
|
|
2725
|
+
_html(`<div${_attr_class("_f5")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_f6")} role=dialog aria-label="Jump to file"><div${_attr_class("_f7")}><strong${_attr_class("_f4")}>Files</strong><span${_attr_class("_f8")}>${_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, "_f3"])} title=Close aria-label=Close>`);
|
|
2625
2726
|
icon_xmark_default({ size: 16 });
|
|
2626
|
-
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("
|
|
2727
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_gf")}>`);
|
|
2627
2728
|
_set_serialize_reason(2);
|
|
2628
2729
|
const $childScope = _peek_scope_id();
|
|
2629
2730
|
file_filter_default({
|
|
@@ -2632,28 +2733,28 @@ var diff_file_sheet_default = _template("f", (input) => {
|
|
|
2632
2733
|
filter = _new_filter;
|
|
2633
2734
|
}, "f1", $scope1_id)
|
|
2634
2735
|
});
|
|
2635
|
-
_html(`</div><div${_attr_class("
|
|
2736
|
+
_html(`</div><div${_attr_class("_f9")}>`);
|
|
2636
2737
|
_for_of(groups, (group) => {
|
|
2637
2738
|
const $scope2_id = _scope_id();
|
|
2638
|
-
_html(`<div${_attr_class("
|
|
2739
|
+
_html(`<div${_attr_class("_f_")}><div${_attr_class("_ga")}>${_escape(group.repo)}${_el_resume($scope2_id, "c", $sg__input_files)}</div>`);
|
|
2639
2740
|
_for_of(group.dirs, ({ dir, files }) => {
|
|
2640
2741
|
const $scope3_id = _scope_id();
|
|
2641
|
-
_html(`<div${_attr_class("
|
|
2742
|
+
_html(`<div${_attr_class("_gb")}>`);
|
|
2642
2743
|
_if(() => {
|
|
2643
2744
|
if (dir) {
|
|
2644
2745
|
const $scope5_id = _scope_id();
|
|
2645
|
-
_html(`<div${_attr_class("
|
|
2746
|
+
_html(`<div${_attr_class("_gd")}${_attr("title", dir)}><bdi>${_escape(dir)}${_el_resume($scope5_id, "b", $sg__input_files)}/</bdi></div>${_el_resume($scope5_id, "a", $sg__input_files)}`);
|
|
2646
2747
|
$si__input_files && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
|
|
2647
2748
|
return 0;
|
|
2648
2749
|
}
|
|
2649
2750
|
}, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
|
|
2650
2751
|
_for_of(files, ({ file, name }) => {
|
|
2651
2752
|
const $scope4_id = _scope_id();
|
|
2652
|
-
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["
|
|
2753
|
+
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_gc", "_x"])}><span${_attr_class("_gj")}${_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("_ge")}><bdi>${_escape(name)}${_el_resume($scope4_id, "e", $sg__input_files)}</bdi></span>`);
|
|
2653
2754
|
_if(() => {
|
|
2654
2755
|
if (newKeys.has(file.key)) {
|
|
2655
2756
|
const $scope6_id = _scope_id();
|
|
2656
|
-
_html(`<span${_attr_class(["_z", "
|
|
2757
|
+
_html(`<span${_attr_class(["_z", "_gh"])} title="Changed since your last visit"></span>`);
|
|
2657
2758
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
2658
2759
|
return 0;
|
|
2659
2760
|
}
|
|
@@ -2661,7 +2762,10 @@ var diff_file_sheet_default = _template("f", (input) => {
|
|
|
2661
2762
|
_if(() => {
|
|
2662
2763
|
if (commentKeys.has(file.key)) {
|
|
2663
2764
|
const $scope7_id = _scope_id();
|
|
2664
|
-
|
|
2765
|
+
icon_comment_default({
|
|
2766
|
+
size: 12,
|
|
2767
|
+
class: "_gi"
|
|
2768
|
+
});
|
|
2665
2769
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
2666
2770
|
return 0;
|
|
2667
2771
|
}
|
|
@@ -2685,7 +2789,7 @@ var diff_file_sheet_default = _template("f", (input) => {
|
|
|
2685
2789
|
_if(() => {
|
|
2686
2790
|
if (!input.files.length) {
|
|
2687
2791
|
const $scope8_id = _scope_id();
|
|
2688
|
-
_html(`<p${_attr_class("
|
|
2792
|
+
_html(`<p${_attr_class("_gg")}>No files match.</p>`);
|
|
2689
2793
|
$si__input_files_length && writeScope($scope8_id, {});
|
|
2690
2794
|
return 0;
|
|
2691
2795
|
}
|
|
@@ -3224,22 +3328,22 @@ var diff_view_default = _template("l", (input) => {
|
|
|
3224
3328
|
collapsedRepos = /* @__PURE__ */ new Set([...collapsedRepos, id]);
|
|
3225
3329
|
}
|
|
3226
3330
|
}, "l35", $scope0_id);
|
|
3227
|
-
_html(`<div${_attr_class("
|
|
3331
|
+
_html(`<div${_attr_class("_dF")}><div${_attr_class("_dK")}><div${_attr_class("_dL")}><div${_attr_class(["_dV", { ["_dU"]: !comments.length }])}>`);
|
|
3228
3332
|
_if(() => {
|
|
3229
3333
|
if (input.onExit) {
|
|
3230
3334
|
const $scope1_id = _scope_id();
|
|
3231
|
-
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "
|
|
3335
|
+
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_dM"])} title="Back to terminal (Esc)">`);
|
|
3232
3336
|
icon_back_default({ size: 14 });
|
|
3233
3337
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 1))}`);
|
|
3234
3338
|
_serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
|
|
3235
3339
|
return 0;
|
|
3236
3340
|
}
|
|
3237
3341
|
}, $scope0_id, "e", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 4), 1, 0, 1);
|
|
3238
|
-
_html(`<h1${_attr_class("
|
|
3342
|
+
_html(`<h1${_attr_class("_dP")}>Review</h1>`);
|
|
3239
3343
|
_if(() => {
|
|
3240
3344
|
if (comments.length) {
|
|
3241
3345
|
const $scope5_id = _scope_id();
|
|
3242
|
-
_html(`<span${_attr_class("
|
|
3346
|
+
_html(`<span${_attr_class("_dO")}>${_escape(comments.length)}${_el_resume($scope5_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope5_id, "c")}</span>`);
|
|
3243
3347
|
writeScope($scope5_id, {});
|
|
3244
3348
|
return 0;
|
|
3245
3349
|
}
|
|
@@ -3247,7 +3351,7 @@ var diff_view_default = _template("l", (input) => {
|
|
|
3247
3351
|
_if(() => {
|
|
3248
3352
|
if (comments.length) {
|
|
3249
3353
|
const $scope2_id = _scope_id();
|
|
3250
|
-
_html(`<span${_attr_class("
|
|
3354
|
+
_html(`<span${_attr_class("_dN")}>`);
|
|
3251
3355
|
_set_serialize_reason(_serialize_guard($scope0_reason, 5));
|
|
3252
3356
|
const $childScope = _peek_scope_id();
|
|
3253
3357
|
diff_send_default({
|
|
@@ -3260,14 +3364,14 @@ var diff_view_default = _template("l", (input) => {
|
|
|
3260
3364
|
return 0;
|
|
3261
3365
|
}
|
|
3262
3366
|
}, $scope0_id, "h", 1, 1, 1, 0, 1);
|
|
3263
|
-
_html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("
|
|
3367
|
+
_html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_dJ")}>`);
|
|
3264
3368
|
_if(() => {
|
|
3265
3369
|
if (hasFiles) {
|
|
3266
3370
|
const $scope12_id = _scope_id();
|
|
3267
3371
|
_html(`<button${_attr_class([
|
|
3268
3372
|
treeToggle,
|
|
3269
|
-
"
|
|
3270
|
-
{ ["
|
|
3373
|
+
"_dH",
|
|
3374
|
+
{ ["_dG"]: treeOpen }
|
|
3271
3375
|
])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
|
|
3272
3376
|
icon_sidebar_default({ size: 14 });
|
|
3273
3377
|
_html(`</button>${_el_resume($scope12_id, "a")}`);
|
|
@@ -3276,7 +3380,7 @@ var diff_view_default = _template("l", (input) => {
|
|
|
3276
3380
|
return 0;
|
|
3277
3381
|
}
|
|
3278
3382
|
}, $scope0_id, "j", 1, 1, 1, 0, 1);
|
|
3279
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3383
|
+
_html(`<button${_attr_class([iconBtnRow, "_dH"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
3280
3384
|
_set_serialize_reason(1);
|
|
3281
3385
|
const $childScope2 = _peek_scope_id();
|
|
3282
3386
|
icon_refresh_default({
|
|
@@ -3287,19 +3391,19 @@ var diff_view_default = _template("l", (input) => {
|
|
|
3287
3391
|
_if(() => {
|
|
3288
3392
|
if (hasFiles) {
|
|
3289
3393
|
const $scope13_id = _scope_id();
|
|
3290
|
-
_html(`<button${_attr_class(["_o", "
|
|
3394
|
+
_html(`<button${_attr_class(["_o", "_d7"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope13_id, "b")})</button>${_el_resume($scope13_id, "a")}`);
|
|
3291
3395
|
_script($scope13_id, "l55");
|
|
3292
3396
|
writeScope($scope13_id, {});
|
|
3293
3397
|
return 0;
|
|
3294
3398
|
}
|
|
3295
3399
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
3296
|
-
_html(`<div${_attr_class("
|
|
3400
|
+
_html(`<div${_attr_class("_dW")} role=group aria-label="Review scope"><button type=button${_attr_class(["_dY", { ["_dX"]: 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(["_dY", { ["_dX"]: 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(["_dY", { ["_dX"]: 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(["_m", "_dZ"])}>`);
|
|
3297
3401
|
_attr_select_value($scope0_id, "s", scope$1, _resume(function(v) {
|
|
3298
3402
|
setScope(v);
|
|
3299
3403
|
}, "l0", $scope0_id), () => {
|
|
3300
|
-
_html(`<select${_attr_class(["_n", "
|
|
3404
|
+
_html(`<select${_attr_class(["_n", "_d0"])} 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>`);
|
|
3301
3405
|
});
|
|
3302
|
-
_html(`${_el_resume($scope0_id, "s")}</span><div${_attr_class(["
|
|
3406
|
+
_html(`${_el_resume($scope0_id, "s")}</span><div${_attr_class(["_dS", { ["_dR"]: !findOpen }])}>`);
|
|
3303
3407
|
_set_serialize_reason(2);
|
|
3304
3408
|
const $childScope3 = _peek_scope_id();
|
|
3305
3409
|
diff_find_default({
|
|
@@ -3320,8 +3424,8 @@ var diff_view_default = _template("l", (input) => {
|
|
|
3320
3424
|
const $scope14_id = _scope_id();
|
|
3321
3425
|
_html(`<button${_attr_class([
|
|
3322
3426
|
iconBtnRow,
|
|
3323
|
-
"
|
|
3324
|
-
"
|
|
3427
|
+
"_dQ",
|
|
3428
|
+
"_dH"
|
|
3325
3429
|
])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
3326
3430
|
icon_search_default({ size: 14 });
|
|
3327
3431
|
_html(`</button>${_el_resume($scope14_id, "a")}`);
|
|
@@ -3330,7 +3434,7 @@ var diff_view_default = _template("l", (input) => {
|
|
|
3330
3434
|
return 0;
|
|
3331
3435
|
}
|
|
3332
3436
|
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
3333
|
-
_html(`</div></div><div${_attr_class("
|
|
3437
|
+
_html(`</div></div><div${_attr_class("_dT")} data-diff-main>`);
|
|
3334
3438
|
_if(() => {
|
|
3335
3439
|
if (error) {
|
|
3336
3440
|
const $scope6_id = _scope_id();
|
|
@@ -3353,7 +3457,7 @@ var diff_view_default = _template("l", (input) => {
|
|
|
3353
3457
|
_if(() => {
|
|
3354
3458
|
if (!repos && loading) {
|
|
3355
3459
|
const $scope15_id = _scope_id();
|
|
3356
|
-
_html(`<div${_attr_class("
|
|
3460
|
+
_html(`<div${_attr_class("_d2")} aria-hidden=true><div${_attr_class(["_d3", "_d4"])}></div><div${_attr_class(["_d3", "_d5"])}></div><div${_attr_class(["_d3", "_d6"])}></div><div${_attr_class(["_d3", "_d5"])}></div><div${_attr_class(["_d3", "_d6"])}></div></div>`);
|
|
3357
3461
|
writeScope($scope15_id, {});
|
|
3358
3462
|
return 0;
|
|
3359
3463
|
}
|