@dylanpiercey/work 0.0.33 → 0.0.34
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/index.mjs +723 -626
- package/dist/public/assets/{_ujs3Cf-s2.js → _-lFHo8zk2.js} +2 -2
- package/dist/public/assets/{_ujs3Cf-s2.js.map → _-lFHo8zk2.js.map} +1 -1
- package/dist/public/assets/{_B5cYV888.js → _0T7f8ooc.js} +2 -2
- package/dist/public/assets/{_B5cYV888.js.map → _0T7f8ooc.js.map} +1 -1
- package/dist/public/assets/{_CC1M-Ie3.js → _0lwLZLQL.js} +2 -2
- package/dist/public/assets/{_CC1M-Ie3.js.map → _0lwLZLQL.js.map} +1 -1
- package/dist/public/assets/{_iFPsXBqw2.js → _3LcAxsyH2.js} +2 -2
- package/dist/public/assets/{_iFPsXBqw2.js.map → _3LcAxsyH2.js.map} +1 -1
- package/dist/public/assets/{_Ce-UnLgA.js → _6ci7sYVv.js} +2 -2
- package/dist/public/assets/{_Ce-UnLgA.js.map → _6ci7sYVv.js.map} +1 -1
- package/dist/public/assets/{_TjWgiyx3.js → _9nXeWYZs.js} +2 -2
- package/dist/public/assets/{_TjWgiyx3.js.map → _9nXeWYZs.js.map} +1 -1
- package/dist/public/assets/{_CLptoP76.js → _B7lL4AIz.js} +2 -2
- package/dist/public/assets/{_CLptoP76.js.map → _B7lL4AIz.js.map} +1 -1
- package/dist/public/assets/{_k-BfGkJ3.js → _BA9ciy99.js} +2 -2
- package/dist/public/assets/{_k-BfGkJ3.js.map → _BA9ciy99.js.map} +1 -1
- package/dist/public/assets/{_CVhKyryg.js → _BM1NTbyi.js} +2 -2
- package/dist/public/assets/{_CVhKyryg.js.map → _BM1NTbyi.js.map} +1 -1
- package/dist/public/assets/{_BJN80lXD2.js → _BMf1fzuY2.js} +2 -2
- package/dist/public/assets/{_BJN80lXD2.js.map → _BMf1fzuY2.js.map} +1 -1
- package/dist/public/assets/{_BEWOoHPh.js → _BO3Juu4Y.js} +2 -2
- package/dist/public/assets/{_BEWOoHPh.js.map → _BO3Juu4Y.js.map} +1 -1
- package/dist/public/assets/{_Chh_cVkW.js → _BQxXqMVH.js} +2 -2
- package/dist/public/assets/{_Chh_cVkW.js.map → _BQxXqMVH.js.map} +1 -1
- package/dist/public/assets/{_D3H_FZ2N2.js → _BSNgpj6n2.js} +2 -2
- package/dist/public/assets/{_D3H_FZ2N2.js.map → _BSNgpj6n2.js.map} +1 -1
- package/dist/public/assets/{_CoLUhFVy2.js → _BTOpcZK92.js} +2 -2
- package/dist/public/assets/{_CoLUhFVy2.js.map → _BTOpcZK92.js.map} +1 -1
- package/dist/public/assets/{_D_tVtmDu.js → _BY5thO1g.js} +2 -2
- package/dist/public/assets/{_D_tVtmDu.js.map → _BY5thO1g.js.map} +1 -1
- package/dist/public/assets/{_Bw3KRZxI2.js → _BZgPjjyH2.js} +2 -2
- package/dist/public/assets/{_Bw3KRZxI2.js.map → _BZgPjjyH2.js.map} +1 -1
- package/dist/public/assets/{_wDww_MeW2.js → _BbQqGZm22.js} +2 -2
- package/dist/public/assets/{_wDww_MeW2.js.map → _BbQqGZm22.js.map} +1 -1
- package/dist/public/assets/{_CacjFFZF.js → _BgHjNH9b.js} +2 -2
- package/dist/public/assets/{_CacjFFZF.js.map → _BgHjNH9b.js.map} +1 -1
- package/dist/public/assets/{_CLf6okdk.js → _Bht4yF5z.js} +2 -2
- package/dist/public/assets/{_CLf6okdk.js.map → _Bht4yF5z.js.map} +1 -1
- package/dist/public/assets/{_BWvOOubP2.js → _Bl3hSI2b2.js} +2 -2
- package/dist/public/assets/{_BWvOOubP2.js.map → _Bl3hSI2b2.js.map} +1 -1
- package/dist/public/assets/{_DyoTtYDG2.js → _Bq-esmkV2.js} +2 -2
- package/dist/public/assets/{_DyoTtYDG2.js.map → _Bq-esmkV2.js.map} +1 -1
- package/dist/public/assets/{_AjDldx3Z2.js → _Bs1iZKsK2.js} +2 -2
- package/dist/public/assets/{_AjDldx3Z2.js.map → _Bs1iZKsK2.js.map} +1 -1
- package/dist/public/assets/{_DKhSza_S2.js → _Bu7tphR42.js} +2 -2
- package/dist/public/assets/{_DKhSza_S2.js.map → _Bu7tphR42.js.map} +1 -1
- package/dist/public/assets/{_D5dKoTRN2.js → _BuY46UEC2.js} +2 -2
- package/dist/public/assets/{_D5dKoTRN2.js.map → _BuY46UEC2.js.map} +1 -1
- package/dist/public/assets/{_CGS0u-MH.js → _Bz5bJ8Y_.js} +2 -2
- package/dist/public/assets/{_CGS0u-MH.js.map → _Bz5bJ8Y_.js.map} +1 -1
- package/dist/public/assets/{_BoGI_m2Y.js → _C-GkJLpv.js} +2 -2
- package/dist/public/assets/{_BoGI_m2Y.js.map → _C-GkJLpv.js.map} +1 -1
- package/dist/public/assets/{_DZGhnPAh2.js → _C-ZGxaMQ2.js} +2 -2
- package/dist/public/assets/{_DZGhnPAh2.js.map → _C-ZGxaMQ2.js.map} +1 -1
- package/dist/public/assets/{_D1AWvYu0.js → _C0GTiS92.js} +2 -2
- package/dist/public/assets/{_D1AWvYu0.js.map → _C0GTiS92.js.map} +1 -1
- package/dist/public/assets/{_Fu7rzwmo2.js → _C45K0E_O2.js} +2 -2
- package/dist/public/assets/{_Fu7rzwmo2.js.map → _C45K0E_O2.js.map} +1 -1
- package/dist/public/assets/{_Bg2PM8YT.js → _C47aNCsh.js} +2 -2
- package/dist/public/assets/{_Bg2PM8YT.js.map → _C47aNCsh.js.map} +1 -1
- package/dist/public/assets/{_8F9Fx5cP.js → _C5Dsq6Y3.js} +2 -2
- package/dist/public/assets/{_8F9Fx5cP.js.map → _C5Dsq6Y3.js.map} +1 -1
- package/dist/public/assets/{_DfYhW2NI.js → _C5fPbpEz.js} +2 -2
- package/dist/public/assets/{_DfYhW2NI.js.map → _C5fPbpEz.js.map} +1 -1
- package/dist/public/assets/{_D41HUXW22.js → _CCsG-c5e2.js} +2 -2
- package/dist/public/assets/{_D41HUXW22.js.map → _CCsG-c5e2.js.map} +1 -1
- package/dist/public/assets/{_9Td5xucy2.js → _CEHy4nud2.js} +2 -2
- package/dist/public/assets/{_9Td5xucy2.js.map → _CEHy4nud2.js.map} +1 -1
- package/dist/public/assets/{_BPoOSowS.js → _CFmiQtT2.js} +2 -2
- package/dist/public/assets/{_BPoOSowS.js.map → _CFmiQtT2.js.map} +1 -1
- package/dist/public/assets/{_BM1E43km2.js → _CGMX9yXC2.js} +2 -2
- package/dist/public/assets/{_BM1E43km2.js.map → _CGMX9yXC2.js.map} +1 -1
- package/dist/public/assets/{_f_1onGVo.js → _CLLEJeRs.js} +2 -2
- package/dist/public/assets/{_f_1onGVo.js.map → _CLLEJeRs.js.map} +1 -1
- package/dist/public/assets/{_BL0sT3Tb.js → _CV1pXYjT.js} +2 -2
- package/dist/public/assets/{_BL0sT3Tb.js.map → _CV1pXYjT.js.map} +1 -1
- package/dist/public/assets/{_Cv5yUW-C.js → _CdtEL9QP.js} +2 -2
- package/dist/public/assets/{_Cv5yUW-C.js.map → _CdtEL9QP.js.map} +1 -1
- package/dist/public/assets/{_-klu5fSf.js → _CkxQU6Dc.js} +2 -2
- package/dist/public/assets/{_-klu5fSf.js.map → _CkxQU6Dc.js.map} +1 -1
- package/dist/public/assets/{_D5qob12H.js → _Cqn3_VH2.js} +2 -2
- package/dist/public/assets/{_D5qob12H.js.map → _Cqn3_VH2.js.map} +1 -1
- package/dist/public/assets/{_CJmqbsWn.js → _CttvQkqp.js} +2 -2
- package/dist/public/assets/{_CJmqbsWn.js.map → _CttvQkqp.js.map} +1 -1
- package/dist/public/assets/{_DpMdqDDO.js → _Cv1QzSrA.js} +2 -2
- package/dist/public/assets/{_DpMdqDDO.js.map → _Cv1QzSrA.js.map} +1 -1
- package/dist/public/assets/{_C74n10kY.js → _CwML5wGP.js} +2 -2
- package/dist/public/assets/{_C74n10kY.js.map → _CwML5wGP.js.map} +1 -1
- package/dist/public/assets/{_Pfb9VJuM.js → _CzMaBSK6.js} +2 -2
- package/dist/public/assets/{_Pfb9VJuM.js.map → _CzMaBSK6.js.map} +1 -1
- package/dist/public/assets/{_DBjRCoSm.js → _D-jmEnaD.js} +2 -2
- package/dist/public/assets/{_DBjRCoSm.js.map → _D-jmEnaD.js.map} +1 -1
- package/dist/public/assets/{_O5V4SA2S.js → _D1XCa7K7.js} +2 -2
- package/dist/public/assets/{_O5V4SA2S.js.map → _D1XCa7K7.js.map} +1 -1
- package/dist/public/assets/{_DyjMbqNS.js → _DAK-J3AS.js} +2 -2
- package/dist/public/assets/{_DyjMbqNS.js.map → _DAK-J3AS.js.map} +1 -1
- package/dist/public/assets/{_Mhk-1VgJ.js → _DLROsaYk.js} +2 -2
- package/dist/public/assets/{_Mhk-1VgJ.js.map → _DLROsaYk.js.map} +1 -1
- package/dist/public/assets/{_muaAlGMF.js → _DM-QKGQL.js} +2 -2
- package/dist/public/assets/{_muaAlGMF.js.map → _DM-QKGQL.js.map} +1 -1
- package/dist/public/assets/{_kFNwcuvr2.js → _DQ1byX2e2.js} +2 -2
- package/dist/public/assets/{_kFNwcuvr2.js.map → _DQ1byX2e2.js.map} +1 -1
- package/dist/public/assets/{_DuBJifJJ.js → _DRCu_oY3.js} +2 -2
- package/dist/public/assets/{_DuBJifJJ.js.map → _DRCu_oY3.js.map} +1 -1
- package/dist/public/assets/{_COINgEFl.js → _DVT6rHDl.js} +2 -2
- package/dist/public/assets/{_COINgEFl.js.map → _DVT6rHDl.js.map} +1 -1
- package/dist/public/assets/{_DU4uDxJM.js → _DVW0Wg2c.js} +2 -2
- package/dist/public/assets/{_DU4uDxJM.js.map → _DVW0Wg2c.js.map} +1 -1
- package/dist/public/assets/{_hooIWuAt.js → _DeI9niJs.js} +2 -2
- package/dist/public/assets/{_hooIWuAt.js.map → _DeI9niJs.js.map} +1 -1
- package/dist/public/assets/{_BnepmhWf2.js → _DjDLEEDd2.js} +2 -2
- package/dist/public/assets/{_BnepmhWf2.js.map → _DjDLEEDd2.js.map} +1 -1
- package/dist/public/assets/{_CTdjxyC7.js → _DjxPVp5U.js} +2 -2
- package/dist/public/assets/{_CTdjxyC7.js.map → _DjxPVp5U.js.map} +1 -1
- package/dist/public/assets/{_DN64thrx.js → _DnrpkC6W.js} +2 -2
- package/dist/public/assets/{_DN64thrx.js.map → _DnrpkC6W.js.map} +1 -1
- package/dist/public/assets/{_DwglaQs8.js → _DrmxaS0k.js} +2 -2
- package/dist/public/assets/{_DwglaQs8.js.map → _DrmxaS0k.js.map} +1 -1
- package/dist/public/assets/{_CKdywEe0.js → _DwoQd6de.js} +2 -2
- package/dist/public/assets/{_CKdywEe0.js.map → _DwoQd6de.js.map} +1 -1
- package/dist/public/assets/{_CctkwSwM.js → _DyyQeo94.js} +2 -2
- package/dist/public/assets/{_CctkwSwM.js.map → _DyyQeo94.js.map} +1 -1
- package/dist/public/assets/{_C5AMG61s2.js → _HOnDceKS2.js} +2 -2
- package/dist/public/assets/{_C5AMG61s2.js.map → _HOnDceKS2.js.map} +1 -1
- package/dist/public/assets/{_B3nW8JkI.js → _JIlNGzfE.js} +2 -2
- package/dist/public/assets/{_B3nW8JkI.js.map → _JIlNGzfE.js.map} +1 -1
- package/dist/public/assets/{_BIwcYVu8.js → _MTKF2Fgh.js} +2 -2
- package/dist/public/assets/{_BIwcYVu8.js.map → _MTKF2Fgh.js.map} +1 -1
- package/dist/public/assets/{_DJsZ0bHq.js → _MWLKuKk1.js} +2 -2
- package/dist/public/assets/{_DJsZ0bHq.js.map → _MWLKuKk1.js.map} +1 -1
- package/dist/public/assets/{_CbHrblZU.js → _S_GkiS7V.js} +2 -2
- package/dist/public/assets/{_CbHrblZU.js.map → _S_GkiS7V.js.map} +1 -1
- package/dist/public/assets/{_Blld8tfN.js → _S_dWwx4b.js} +2 -2
- package/dist/public/assets/{_Blld8tfN.js.map → _S_dWwx4b.js.map} +1 -1
- package/dist/public/assets/{_BJ2Ewl882.js → _bIuAHcgW2.js} +2 -2
- package/dist/public/assets/{_BJ2Ewl882.js.map → _bIuAHcgW2.js.map} +1 -1
- package/dist/public/assets/{_Ca0wIrWe.js → _bhJWkZhp.js} +2 -2
- package/dist/public/assets/{_Ca0wIrWe.js.map → _bhJWkZhp.js.map} +1 -1
- package/dist/public/assets/{__ZPt9LLv.js → _dKI0s7pW.js} +2 -2
- package/dist/public/assets/{__ZPt9LLv.js.map → _dKI0s7pW.js.map} +1 -1
- package/dist/public/assets/{_D-977nbP2.js → _iC139j9r2.js} +2 -2
- package/dist/public/assets/{_D-977nbP2.js.map → _iC139j9r2.js.map} +1 -1
- package/dist/public/assets/{_Ez6GWFhB2.js → _jUcYdc4y2.js} +2 -2
- package/dist/public/assets/{_Ez6GWFhB2.js.map → _jUcYdc4y2.js.map} +1 -1
- package/dist/public/assets/{_DDL85kCz.js → _v8f0ZllR.js} +2 -2
- package/dist/public/assets/{_DDL85kCz.js.map → _v8f0ZllR.js.map} +1 -1
- package/dist/public/assets/{_DO5QmTxw2.js → _wZr_KYlB2.js} +2 -2
- package/dist/public/assets/{_DO5QmTxw2.js.map → _wZr_KYlB2.js.map} +1 -1
- package/dist/public/assets/index-CruM-Gda.js +1615 -0
- package/dist/public/assets/index-CruM-Gda.js.map +1 -0
- package/dist/public/assets/index-DkSXfvNK.css +1 -0
- package/package.json +1 -1
- package/dist/public/assets/index-C_nMyXjp.css +0 -1
- package/dist/public/assets/index-D98ikHh-.js +0 -1615
- package/dist/public/assets/index-D98ikHh-.js.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -10710,30 +10710,30 @@ var _layout_default = _template("a", (input) => {
|
|
|
10710
10710
|
_trailers("</body></html>");
|
|
10711
10711
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
|
|
10712
10712
|
}, 1);
|
|
10713
|
-
var page_module_default = { boot: "
|
|
10713
|
+
var page_module_default = { boot: "_a" };
|
|
10714
10714
|
var ui_module_default = {
|
|
10715
|
-
icon: "
|
|
10716
|
-
btn: "
|
|
10717
|
-
primary: "
|
|
10718
|
-
danger: "
|
|
10719
|
-
armed: "
|
|
10720
|
-
chip: "
|
|
10721
|
-
lane: "
|
|
10722
|
-
pr: "
|
|
10723
|
-
draft: "
|
|
10724
|
-
dim: "
|
|
10725
|
-
mono: "
|
|
10726
|
-
spacer: "
|
|
10727
|
-
dot: "
|
|
10728
|
-
working: "
|
|
10729
|
-
waiting: "
|
|
10730
|
-
idle: "
|
|
10731
|
-
off: "
|
|
10732
|
-
splitBtn: "
|
|
10733
|
-
splitPrimary: "_s
|
|
10734
|
-
splitGrow: "
|
|
10735
|
-
spin: "
|
|
10736
|
-
workSpin: "
|
|
10715
|
+
icon: "_b",
|
|
10716
|
+
btn: "_c",
|
|
10717
|
+
primary: "_d",
|
|
10718
|
+
danger: "_e",
|
|
10719
|
+
armed: "_f",
|
|
10720
|
+
chip: "_g",
|
|
10721
|
+
lane: "_h",
|
|
10722
|
+
pr: "_i",
|
|
10723
|
+
draft: "_j",
|
|
10724
|
+
dim: "_k",
|
|
10725
|
+
mono: "_l",
|
|
10726
|
+
spacer: "_m",
|
|
10727
|
+
dot: "_n",
|
|
10728
|
+
working: "_o",
|
|
10729
|
+
waiting: "_p",
|
|
10730
|
+
idle: "_q",
|
|
10731
|
+
off: "_r",
|
|
10732
|
+
splitBtn: "_s",
|
|
10733
|
+
splitPrimary: "_t _s",
|
|
10734
|
+
splitGrow: "_u",
|
|
10735
|
+
spin: "_v",
|
|
10736
|
+
workSpin: "_w"
|
|
10737
10737
|
};
|
|
10738
10738
|
var page_boot_module_default = { root: "_x" };
|
|
10739
10739
|
var bus = new EventTarget();
|
|
@@ -10770,17 +10770,17 @@ function coalesce(fn) {
|
|
|
10770
10770
|
};
|
|
10771
10771
|
}
|
|
10772
10772
|
var toast_module_default = {
|
|
10773
|
-
toast: "
|
|
10774
|
-
toastFloat: "
|
|
10775
|
-
toastInline: "
|
|
10776
|
-
toastError: "
|
|
10777
|
-
toastTitle: "
|
|
10778
|
-
toastWarn: "
|
|
10779
|
-
toastInfo: "
|
|
10780
|
-
toastBody: "
|
|
10781
|
-
toastContent: "
|
|
10782
|
-
toastActions: "
|
|
10783
|
-
toastDismiss: "
|
|
10773
|
+
toast: "_y",
|
|
10774
|
+
toastFloat: "_z",
|
|
10775
|
+
toastInline: "_A",
|
|
10776
|
+
toastError: "_B",
|
|
10777
|
+
toastTitle: "_C",
|
|
10778
|
+
toastWarn: "_D",
|
|
10779
|
+
toastInfo: "_E",
|
|
10780
|
+
toastBody: "_F",
|
|
10781
|
+
toastContent: "_G",
|
|
10782
|
+
toastActions: "_H",
|
|
10783
|
+
toastDismiss: "_I _d9"
|
|
10784
10784
|
};
|
|
10785
10785
|
//#endregion
|
|
10786
10786
|
//#region src/tags/toast.marko
|
|
@@ -10924,27 +10924,27 @@ function sessionPhase(state) {
|
|
|
10924
10924
|
return state?.phase === "working" ? "working" : state?.phase === "waiting" ? "waiting" : state?.alive ? "idle" : "off";
|
|
10925
10925
|
}
|
|
10926
10926
|
var palette_module_default = {
|
|
10927
|
-
paletteBackdrop: "
|
|
10928
|
-
palette: "
|
|
10929
|
-
inline: "
|
|
10930
|
-
rows: "
|
|
10931
|
-
rowWrap: "
|
|
10932
|
-
row: "
|
|
10933
|
-
rowMore: "
|
|
10934
|
-
hi: "
|
|
10935
|
-
archived: "
|
|
10936
|
-
cmdRow: "
|
|
10937
|
-
onboard: "
|
|
10938
|
-
rowName: "
|
|
10939
|
-
rowNameText: "
|
|
10940
|
-
rowStats: "
|
|
10941
|
-
open: "
|
|
10942
|
-
stat: "
|
|
10943
|
-
rowRepos: "
|
|
10944
|
-
paletteFoot: "
|
|
10945
|
-
hint: "
|
|
10946
|
-
archivedLink: "
|
|
10947
|
-
newSessionPop: "
|
|
10927
|
+
paletteBackdrop: "_S",
|
|
10928
|
+
palette: "_T",
|
|
10929
|
+
inline: "_U",
|
|
10930
|
+
rows: "_V",
|
|
10931
|
+
rowWrap: "_W",
|
|
10932
|
+
row: "_X",
|
|
10933
|
+
rowMore: "_Y",
|
|
10934
|
+
hi: "_Z",
|
|
10935
|
+
archived: "_0",
|
|
10936
|
+
cmdRow: "_1",
|
|
10937
|
+
onboard: "_2",
|
|
10938
|
+
rowName: "_3",
|
|
10939
|
+
rowNameText: "_4",
|
|
10940
|
+
rowStats: "_5",
|
|
10941
|
+
open: "_6",
|
|
10942
|
+
stat: "_7",
|
|
10943
|
+
rowRepos: "_8",
|
|
10944
|
+
paletteFoot: "_9",
|
|
10945
|
+
hint: "__",
|
|
10946
|
+
archivedLink: "_ba",
|
|
10947
|
+
newSessionPop: "_bb"
|
|
10948
10948
|
};
|
|
10949
10949
|
//#endregion
|
|
10950
10950
|
//#region src/tags/icons/icon-base.marko
|
|
@@ -11344,29 +11344,29 @@ var palette_default = _template("o", (input) => {
|
|
|
11344
11344
|
_resume_branch($scope0_id);
|
|
11345
11345
|
});
|
|
11346
11346
|
var new_workspace_module_default = {
|
|
11347
|
-
page: "
|
|
11348
|
-
body: "
|
|
11349
|
-
content: "
|
|
11350
|
-
pageHead: "
|
|
11351
|
-
backBtn: "
|
|
11352
|
-
pageHeadText: "
|
|
11353
|
-
pageMeta: "
|
|
11354
|
-
actions: "
|
|
11355
|
-
barPrimary: "
|
|
11356
|
-
iconBtn: "
|
|
11357
|
-
spinning: "
|
|
11358
|
-
field: "
|
|
11359
|
-
section: "
|
|
11360
|
-
reposHead: "
|
|
11361
|
-
curRepos: "
|
|
11362
|
-
curRepo: "
|
|
11363
|
-
curFull: "
|
|
11364
|
-
curBase: "
|
|
11365
|
-
curRemove: "
|
|
11366
|
-
emptyNote: "
|
|
11367
|
-
steps: "
|
|
11368
|
-
active: "
|
|
11369
|
-
stepDone: "
|
|
11347
|
+
page: "_bc",
|
|
11348
|
+
body: "_bd",
|
|
11349
|
+
content: "_be",
|
|
11350
|
+
pageHead: "_bf",
|
|
11351
|
+
backBtn: "_bg",
|
|
11352
|
+
pageHeadText: "_bh",
|
|
11353
|
+
pageMeta: "_bi",
|
|
11354
|
+
actions: "_bj",
|
|
11355
|
+
barPrimary: "_bk",
|
|
11356
|
+
iconBtn: "_bl _d9",
|
|
11357
|
+
spinning: "_bm _d_",
|
|
11358
|
+
field: "_bn",
|
|
11359
|
+
section: "_bo",
|
|
11360
|
+
reposHead: "_bp",
|
|
11361
|
+
curRepos: "_bq",
|
|
11362
|
+
curRepo: "_br",
|
|
11363
|
+
curFull: "_bs",
|
|
11364
|
+
curBase: "_bt",
|
|
11365
|
+
curRemove: "_bu",
|
|
11366
|
+
emptyNote: "_bv",
|
|
11367
|
+
steps: "_bw",
|
|
11368
|
+
active: "_bx",
|
|
11369
|
+
stepDone: "_by"
|
|
11370
11370
|
};
|
|
11371
11371
|
//#endregion
|
|
11372
11372
|
//#region src/tags/icons/icon-back.marko
|
|
@@ -11403,18 +11403,18 @@ var icon_refresh_default = _template("M", (input) => {
|
|
|
11403
11403
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
11404
11404
|
});
|
|
11405
11405
|
var repo_picker_module_default = {
|
|
11406
|
-
addRepo: "
|
|
11407
|
-
repoResults: "
|
|
11408
|
-
resultWrap: "
|
|
11409
|
-
hi: "
|
|
11410
|
-
resultRow: "
|
|
11411
|
-
resultBranch: "
|
|
11412
|
-
on: "
|
|
11413
|
-
branchPick: "
|
|
11414
|
-
branchList: "
|
|
11415
|
-
resultPlus: "
|
|
11416
|
-
repoName: "
|
|
11417
|
-
emptyNote: "
|
|
11406
|
+
addRepo: "_eb",
|
|
11407
|
+
repoResults: "_ec",
|
|
11408
|
+
resultWrap: "_ed",
|
|
11409
|
+
hi: "_ee",
|
|
11410
|
+
resultRow: "_ef",
|
|
11411
|
+
resultBranch: "_eg",
|
|
11412
|
+
on: "_eh",
|
|
11413
|
+
branchPick: "_ei",
|
|
11414
|
+
branchList: "_ej",
|
|
11415
|
+
resultPlus: "_ek",
|
|
11416
|
+
repoName: "_el",
|
|
11417
|
+
emptyNote: "_em"
|
|
11418
11418
|
};
|
|
11419
11419
|
//#endregion
|
|
11420
11420
|
//#region src/tags/repo-picker.marko
|
|
@@ -11824,15 +11824,15 @@ function diffUncommitted() {
|
|
|
11824
11824
|
return get("diff-uncommitted") === "1";
|
|
11825
11825
|
}
|
|
11826
11826
|
var work_view_module_default = {
|
|
11827
|
-
workView: "
|
|
11828
|
-
sideWrap: "
|
|
11829
|
-
sideHidden: "
|
|
11830
|
-
navPage: "
|
|
11831
|
-
mainCol: "
|
|
11832
|
-
termArea: "
|
|
11833
|
-
asBar: "
|
|
11834
|
-
padInline: "
|
|
11835
|
-
emptySess: "
|
|
11827
|
+
workView: "_J",
|
|
11828
|
+
sideWrap: "_K",
|
|
11829
|
+
sideHidden: "_L",
|
|
11830
|
+
navPage: "_M",
|
|
11831
|
+
mainCol: "_N",
|
|
11832
|
+
termArea: "_O",
|
|
11833
|
+
asBar: "_P",
|
|
11834
|
+
padInline: "_Q",
|
|
11835
|
+
emptySess: "_R"
|
|
11836
11836
|
};
|
|
11837
11837
|
//#endregion
|
|
11838
11838
|
//#region src/client/api.ts
|
|
@@ -11897,23 +11897,23 @@ function vapidKey(base64) {
|
|
|
11897
11897
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
11898
11898
|
}
|
|
11899
11899
|
var side_nav_module_default = {
|
|
11900
|
-
iconBtn: "
|
|
11901
|
-
spinning: "
|
|
11902
|
-
navToggle: "
|
|
11903
|
-
notifyBtn: "
|
|
11904
|
-
sideNav: "
|
|
11905
|
-
pageHead: "
|
|
11906
|
-
pageHeadActions: "
|
|
11907
|
-
sectionLabel: "
|
|
11908
|
-
newSpaceBtn: "
|
|
11909
|
-
page: "
|
|
11910
|
-
sideList: "
|
|
11911
|
-
sideRail: "
|
|
11912
|
-
sideFoot: "
|
|
11913
|
-
footSpacer: "
|
|
11914
|
-
on: "
|
|
11915
|
-
closed: "
|
|
11916
|
-
railPop: "
|
|
11900
|
+
iconBtn: "_b8 _d9",
|
|
11901
|
+
spinning: "_b9 _d_",
|
|
11902
|
+
navToggle: "_b_ _d9",
|
|
11903
|
+
notifyBtn: "_ca _d9",
|
|
11904
|
+
sideNav: "_cb",
|
|
11905
|
+
pageHead: "_cc",
|
|
11906
|
+
pageHeadActions: "_cd",
|
|
11907
|
+
sectionLabel: "_ce",
|
|
11908
|
+
newSpaceBtn: "_cf",
|
|
11909
|
+
page: "_cg",
|
|
11910
|
+
sideList: "_ch",
|
|
11911
|
+
sideRail: "_ci",
|
|
11912
|
+
sideFoot: "_cj",
|
|
11913
|
+
footSpacer: "_ck",
|
|
11914
|
+
on: "_cl",
|
|
11915
|
+
closed: "_cm",
|
|
11916
|
+
railPop: "_cn"
|
|
11917
11917
|
};
|
|
11918
11918
|
_template("B", (input) => {
|
|
11919
11919
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
@@ -11948,32 +11948,32 @@ var icon_gauge_default = _template("H", (input) => {
|
|
|
11948
11948
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
11949
11949
|
});
|
|
11950
11950
|
var side_nav_item_module_default = {
|
|
11951
|
-
railBtn: "
|
|
11952
|
-
current: "
|
|
11953
|
-
railDot: "
|
|
11954
|
-
ws: "
|
|
11955
|
-
railPopWs: "
|
|
11956
|
-
wsRow: "
|
|
11957
|
-
wsBtn: "
|
|
11958
|
-
wsActions: "
|
|
11959
|
-
newSessionPop: "
|
|
11960
|
-
rowIcon: "
|
|
11961
|
-
wsText: "
|
|
11962
|
-
wsName: "
|
|
11963
|
-
wsMeta: "
|
|
11964
|
-
wsOpenHint: "
|
|
11965
|
-
statusDot: "
|
|
11966
|
-
pageCard: "
|
|
11967
|
-
sessTitle: "
|
|
11968
|
-
sessActions: "
|
|
11969
|
-
sessRenameDot: "
|
|
11970
|
-
sessRename: "
|
|
11971
|
-
close: "
|
|
11972
|
-
sess: "
|
|
11973
|
-
armed: "
|
|
11974
|
-
sessions: "
|
|
11975
|
-
sessBtn: "
|
|
11976
|
-
sessIcon: "
|
|
11951
|
+
railBtn: "_eP _d9",
|
|
11952
|
+
current: "_eQ",
|
|
11953
|
+
railDot: "_eR",
|
|
11954
|
+
ws: "_eS",
|
|
11955
|
+
railPopWs: "_eT",
|
|
11956
|
+
wsRow: "_eU",
|
|
11957
|
+
wsBtn: "_eV",
|
|
11958
|
+
wsActions: "_eW",
|
|
11959
|
+
newSessionPop: "_eX",
|
|
11960
|
+
rowIcon: "_eY",
|
|
11961
|
+
wsText: "_eZ",
|
|
11962
|
+
wsName: "_e0",
|
|
11963
|
+
wsMeta: "_e1",
|
|
11964
|
+
wsOpenHint: "_e2",
|
|
11965
|
+
statusDot: "_e3",
|
|
11966
|
+
pageCard: "_e4",
|
|
11967
|
+
sessTitle: "_e5",
|
|
11968
|
+
sessActions: "_e6",
|
|
11969
|
+
sessRenameDot: "_e7",
|
|
11970
|
+
sessRename: "_e8",
|
|
11971
|
+
close: "_e9",
|
|
11972
|
+
sess: "_e_",
|
|
11973
|
+
armed: "_fa",
|
|
11974
|
+
sessions: "_fb",
|
|
11975
|
+
sessBtn: "_fc",
|
|
11976
|
+
sessIcon: "_fd"
|
|
11977
11977
|
};
|
|
11978
11978
|
//#endregion
|
|
11979
11979
|
//#region src/tags/icons/icon-edit.marko
|
|
@@ -11993,13 +11993,13 @@ var icon_edit_default = _template("F", (input) => {
|
|
|
11993
11993
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
11994
11994
|
});
|
|
11995
11995
|
var side_nav_chips_module_default = {
|
|
11996
|
-
sideChips: "
|
|
11997
|
-
prBtn: "
|
|
11998
|
-
portChip: "
|
|
11999
|
-
portOpen: "
|
|
12000
|
-
portKill: "
|
|
12001
|
-
rejected: "
|
|
12002
|
-
armed: "
|
|
11996
|
+
sideChips: "_fe",
|
|
11997
|
+
prBtn: "_ff",
|
|
11998
|
+
portChip: "_fg",
|
|
11999
|
+
portOpen: "_fh",
|
|
12000
|
+
portKill: "_fi",
|
|
12001
|
+
rejected: "_fj",
|
|
12002
|
+
armed: "_fk"
|
|
12003
12003
|
};
|
|
12004
12004
|
//#endregion
|
|
12005
12005
|
//#region src/tags/side-nav-chips.marko
|
|
@@ -13037,42 +13037,96 @@ function treeRows(files) {
|
|
|
13037
13037
|
return rows;
|
|
13038
13038
|
}
|
|
13039
13039
|
var diff_view_module_default = {
|
|
13040
|
-
iconBtn: "
|
|
13041
|
-
spinning: "
|
|
13042
|
-
diffView: "
|
|
13043
|
-
treeToggle: "
|
|
13044
|
-
diffTools: "
|
|
13045
|
-
on: "
|
|
13046
|
-
diffCol: "
|
|
13047
|
-
diffHead: "
|
|
13048
|
-
backBtn: "
|
|
13049
|
-
headText: "
|
|
13050
|
-
pageTitle: "
|
|
13051
|
-
headWithSend: "
|
|
13052
|
-
findBtn: "
|
|
13053
|
-
diffMain: "
|
|
13054
|
-
toastMeta: "
|
|
13055
|
-
diffStats: "
|
|
13056
|
-
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13067
|
-
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
13040
|
+
iconBtn: "_dx _d9",
|
|
13041
|
+
spinning: "_dy _d_",
|
|
13042
|
+
diffView: "_dz",
|
|
13043
|
+
treeToggle: "_dA _d9",
|
|
13044
|
+
diffTools: "_dB",
|
|
13045
|
+
on: "_dC",
|
|
13046
|
+
diffCol: "_dD",
|
|
13047
|
+
diffHead: "_dE",
|
|
13048
|
+
backBtn: "_dF",
|
|
13049
|
+
headText: "_dG",
|
|
13050
|
+
pageTitle: "_dH",
|
|
13051
|
+
headWithSend: "_dI",
|
|
13052
|
+
findBtn: "_dJ",
|
|
13053
|
+
diffMain: "_dK",
|
|
13054
|
+
toastMeta: "_dL",
|
|
13055
|
+
diffStats: "_dM",
|
|
13056
|
+
statAdd: "_dN",
|
|
13057
|
+
statDel: "_dO",
|
|
13058
|
+
statEmpty: "_dP",
|
|
13059
|
+
statSep: "_dQ",
|
|
13060
|
+
scope: "_dR",
|
|
13061
|
+
scopeOpt: "_dS",
|
|
13062
|
+
scopeOn: "_dT",
|
|
13063
|
+
scopeChip: "_dU",
|
|
13064
|
+
repoSection: "_dV",
|
|
13065
|
+
repoSep: "_dW",
|
|
13066
|
+
repoWorktree: "_dX _l",
|
|
13067
|
+
repoTitle: "_dY _k",
|
|
13068
|
+
repoMeta: "_dZ",
|
|
13069
|
+
files: "_d0",
|
|
13070
|
+
file: "_d1",
|
|
13071
|
+
diffWait: "_d2",
|
|
13072
|
+
treeChev: "_d3",
|
|
13073
|
+
status: "_d4",
|
|
13074
|
+
path: "_d5",
|
|
13075
|
+
centerPad: "_d6",
|
|
13076
|
+
filesBtn: "_d7",
|
|
13077
|
+
diffPad: "_d8"
|
|
13074
13078
|
};
|
|
13075
|
-
var
|
|
13079
|
+
var file_filter_module_default = {
|
|
13080
|
+
wrap: "_ex",
|
|
13081
|
+
fileFilter: "_ey"
|
|
13082
|
+
};
|
|
13083
|
+
//#endregion
|
|
13084
|
+
//#region src/tags/file-filter.marko
|
|
13085
|
+
var file_filter_default = _template("j", (input) => {
|
|
13086
|
+
const $scope0_reason = _scope_reason();
|
|
13087
|
+
const $scope0_id = _scope_id();
|
|
13088
|
+
let value = input.value;
|
|
13089
|
+
let pending = null;
|
|
13090
|
+
const draft = (pending ?? value) || "";
|
|
13091
|
+
const box = { timer: 0 };
|
|
13092
|
+
const flush = _resume(() => {
|
|
13093
|
+
if (box.timer) {
|
|
13094
|
+
clearTimeout(box.timer);
|
|
13095
|
+
box.timer = 0;
|
|
13096
|
+
}
|
|
13097
|
+
const next = pending !== null ? pending : value || "";
|
|
13098
|
+
pending = null;
|
|
13099
|
+
value = next;
|
|
13100
|
+
}, "j1", $scope0_id);
|
|
13101
|
+
const type = _resume((v) => {
|
|
13102
|
+
if (box.timer) clearTimeout(box.timer);
|
|
13103
|
+
if (!v) {
|
|
13104
|
+
box.timer = 0;
|
|
13105
|
+
pending = null;
|
|
13106
|
+
value = "";
|
|
13107
|
+
return;
|
|
13108
|
+
}
|
|
13109
|
+
pending = v;
|
|
13110
|
+
box.timer = setTimeout(flush, 150);
|
|
13111
|
+
}, "j2", $scope0_id);
|
|
13112
|
+
_html(`<div${_attr_class(file_filter_module_default.wrap)}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
13113
|
+
type(v);
|
|
13114
|
+
}, "j0", $scope0_id))}${_attr_class(file_filter_module_default.fileFilter)} type=search placeholder="Filter files… (globs, !excludes)" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
13115
|
+
_script($scope0_id, "j3");
|
|
13116
|
+
writeScope($scope0_id, {
|
|
13117
|
+
e: _serialize_if($scope0_reason, 1) && input.value,
|
|
13118
|
+
f: _serialize_if($scope0_reason, 0) && input.valueChange,
|
|
13119
|
+
h: value,
|
|
13120
|
+
j: pending,
|
|
13121
|
+
l: draft,
|
|
13122
|
+
n: box.timer,
|
|
13123
|
+
p: flush,
|
|
13124
|
+
r: type,
|
|
13125
|
+
i: input.valueChange || void 0
|
|
13126
|
+
});
|
|
13127
|
+
_resume_branch($scope0_id);
|
|
13128
|
+
});
|
|
13129
|
+
var diff_send_module_default = { headActions: "_ez" };
|
|
13076
13130
|
//#endregion
|
|
13077
13131
|
//#region src/tags/diff-send.marko
|
|
13078
13132
|
var diff_send_default = _template("g", (input) => {
|
|
@@ -13124,73 +13178,6 @@ var diff_send_default = _template("g", (input) => {
|
|
|
13124
13178
|
_resume_branch($scope0_id);
|
|
13125
13179
|
});
|
|
13126
13180
|
//#endregion
|
|
13127
|
-
//#region src/tags/icons/icon-search.marko
|
|
13128
|
-
var icon_search_default = _template("N", (input) => {
|
|
13129
|
-
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
13130
|
-
const $scope0_id = _scope_id();
|
|
13131
|
-
_set_serialize_reason({
|
|
13132
|
-
0: $sg__input_size__OR__input_class,
|
|
13133
|
-
1: $sg__input_size__OR__input_class
|
|
13134
|
-
});
|
|
13135
|
-
const $childScope = _peek_scope_id();
|
|
13136
|
-
icon_base_default({
|
|
13137
|
-
d: "M17 17L21 21 M3 11C3 15.4183 6.58172 19 11 19C13.213 19 15.2161 18.1015 16.6644 16.6493C18.1077 15.2022 19 13.2053 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11Z",
|
|
13138
|
-
size: input.size,
|
|
13139
|
-
class: input.class
|
|
13140
|
-
});
|
|
13141
|
-
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
13142
|
-
});
|
|
13143
|
-
var file_filter_module_default = {
|
|
13144
|
-
wrap: "_eU",
|
|
13145
|
-
fileFilter: "_eV"
|
|
13146
|
-
};
|
|
13147
|
-
//#endregion
|
|
13148
|
-
//#region src/tags/file-filter.marko
|
|
13149
|
-
var file_filter_default = _template("j", (input) => {
|
|
13150
|
-
const $scope0_reason = _scope_reason();
|
|
13151
|
-
const $scope0_id = _scope_id();
|
|
13152
|
-
let value = input.value;
|
|
13153
|
-
let pending = null;
|
|
13154
|
-
const draft = (pending ?? value) || "";
|
|
13155
|
-
const box = { timer: 0 };
|
|
13156
|
-
const flush = _resume(() => {
|
|
13157
|
-
if (box.timer) {
|
|
13158
|
-
clearTimeout(box.timer);
|
|
13159
|
-
box.timer = 0;
|
|
13160
|
-
}
|
|
13161
|
-
const next = pending !== null ? pending : value || "";
|
|
13162
|
-
pending = null;
|
|
13163
|
-
value = next;
|
|
13164
|
-
}, "j1", $scope0_id);
|
|
13165
|
-
const type = _resume((v) => {
|
|
13166
|
-
if (box.timer) clearTimeout(box.timer);
|
|
13167
|
-
if (!v) {
|
|
13168
|
-
box.timer = 0;
|
|
13169
|
-
pending = null;
|
|
13170
|
-
value = "";
|
|
13171
|
-
return;
|
|
13172
|
-
}
|
|
13173
|
-
pending = v;
|
|
13174
|
-
box.timer = setTimeout(flush, 150);
|
|
13175
|
-
}, "j2", $scope0_id);
|
|
13176
|
-
_html(`<div${_attr_class(file_filter_module_default.wrap)}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
13177
|
-
type(v);
|
|
13178
|
-
}, "j0", $scope0_id))}${_attr_class(file_filter_module_default.fileFilter)} type=search placeholder="Filter files… (globs, !excludes)" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
13179
|
-
_script($scope0_id, "j3");
|
|
13180
|
-
writeScope($scope0_id, {
|
|
13181
|
-
e: _serialize_if($scope0_reason, 1) && input.value,
|
|
13182
|
-
f: _serialize_if($scope0_reason, 0) && input.valueChange,
|
|
13183
|
-
h: value,
|
|
13184
|
-
j: pending,
|
|
13185
|
-
l: draft,
|
|
13186
|
-
n: box.timer,
|
|
13187
|
-
p: flush,
|
|
13188
|
-
r: type,
|
|
13189
|
-
i: input.valueChange || void 0
|
|
13190
|
-
});
|
|
13191
|
-
_resume_branch($scope0_id);
|
|
13192
|
-
});
|
|
13193
|
-
//#endregion
|
|
13194
13181
|
//#region src/client/diff-search.ts
|
|
13195
13182
|
var MAX_HITS = 200;
|
|
13196
13183
|
var MAX_PER_FILE = 40;
|
|
@@ -13248,10 +13235,10 @@ function clip(line, at, len) {
|
|
|
13248
13235
|
return (start > 0 ? "…" : "") + line.slice(start, end) + (end < line.length ? "…" : "");
|
|
13249
13236
|
}
|
|
13250
13237
|
var diff_find_module_default = {
|
|
13251
|
-
findBar: "
|
|
13252
|
-
findInput: "
|
|
13253
|
-
count: "
|
|
13254
|
-
findIconBtn: "
|
|
13238
|
+
findBar: "_eA",
|
|
13239
|
+
findInput: "_eB",
|
|
13240
|
+
count: "_eC",
|
|
13241
|
+
findIconBtn: "_eD _d9"
|
|
13255
13242
|
};
|
|
13256
13243
|
//#endregion
|
|
13257
13244
|
//#region src/tags/diff-find.marko
|
|
@@ -13326,7 +13313,24 @@ var diff_find_default = _template("f", (input) => {
|
|
|
13326
13313
|
});
|
|
13327
13314
|
_resume_branch($scope0_id);
|
|
13328
13315
|
});
|
|
13329
|
-
|
|
13316
|
+
//#endregion
|
|
13317
|
+
//#region src/tags/icons/icon-search.marko
|
|
13318
|
+
var icon_search_default = _template("N", (input) => {
|
|
13319
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
13320
|
+
const $scope0_id = _scope_id();
|
|
13321
|
+
_set_serialize_reason({
|
|
13322
|
+
0: $sg__input_size__OR__input_class,
|
|
13323
|
+
1: $sg__input_size__OR__input_class
|
|
13324
|
+
});
|
|
13325
|
+
const $childScope = _peek_scope_id();
|
|
13326
|
+
icon_base_default({
|
|
13327
|
+
d: "M17 17L21 21 M3 11C3 15.4183 6.58172 19 11 19C13.213 19 15.2161 18.1015 16.6644 16.6493C18.1077 15.2022 19 13.2053 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11Z",
|
|
13328
|
+
size: input.size,
|
|
13329
|
+
class: input.class
|
|
13330
|
+
});
|
|
13331
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
13332
|
+
});
|
|
13333
|
+
var diff_file_module_default = { diffFile: "_eE" };
|
|
13330
13334
|
_template("e", (input) => {
|
|
13331
13335
|
_scope_reason();
|
|
13332
13336
|
const $scope0_id = _scope_id();
|
|
@@ -13346,16 +13350,16 @@ _template("e", (input) => {
|
|
|
13346
13350
|
_resume_branch($scope0_id);
|
|
13347
13351
|
});
|
|
13348
13352
|
var diff_tree_module_default = {
|
|
13349
|
-
tree: "
|
|
13350
|
-
closed: "
|
|
13351
|
-
treeRepo: "
|
|
13352
|
-
treeRepoName: "
|
|
13353
|
-
treeDir: "
|
|
13354
|
-
treeFile: "
|
|
13355
|
-
treeFileName: "
|
|
13356
|
-
treeNote: "
|
|
13357
|
-
treeChev: "
|
|
13358
|
-
status: "
|
|
13353
|
+
tree: "_eF",
|
|
13354
|
+
closed: "_eG",
|
|
13355
|
+
treeRepo: "_eH",
|
|
13356
|
+
treeRepoName: "_eI",
|
|
13357
|
+
treeDir: "_eJ",
|
|
13358
|
+
treeFile: "_eK",
|
|
13359
|
+
treeFileName: "_eL",
|
|
13360
|
+
treeNote: "_eM",
|
|
13361
|
+
treeChev: "_eN",
|
|
13362
|
+
status: "_eO"
|
|
13359
13363
|
};
|
|
13360
13364
|
//#endregion
|
|
13361
13365
|
//#region src/tags/diff-tree.marko
|
|
@@ -13459,16 +13463,16 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
13459
13463
|
_resume_branch($scope0_id);
|
|
13460
13464
|
});
|
|
13461
13465
|
var diff_file_sheet_module_default = {
|
|
13462
|
-
iconBtn: "
|
|
13463
|
-
spinning: "
|
|
13464
|
-
sheetBackdrop: "
|
|
13465
|
-
fileSheet: "
|
|
13466
|
-
sheetHead: "
|
|
13467
|
-
fileCount: "
|
|
13468
|
-
sheetList: "
|
|
13469
|
-
sheetFile: "
|
|
13470
|
-
sheetPath: "
|
|
13471
|
-
status: "
|
|
13466
|
+
iconBtn: "_en _d9",
|
|
13467
|
+
spinning: "_eo _d_",
|
|
13468
|
+
sheetBackdrop: "_ep",
|
|
13469
|
+
fileSheet: "_eq",
|
|
13470
|
+
sheetHead: "_er",
|
|
13471
|
+
fileCount: "_es",
|
|
13472
|
+
sheetList: "_et",
|
|
13473
|
+
sheetFile: "_eu",
|
|
13474
|
+
sheetPath: "_ev",
|
|
13475
|
+
status: "_ew"
|
|
13472
13476
|
};
|
|
13473
13477
|
//#endregion
|
|
13474
13478
|
//#region src/tags/diff-file-sheet.marko
|
|
@@ -13642,6 +13646,18 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13642
13646
|
const match = makeFileFilter(fileFilter);
|
|
13643
13647
|
return allFiles.filter((f) => match(f.key));
|
|
13644
13648
|
})();
|
|
13649
|
+
const lineStats = (() => {
|
|
13650
|
+
let additions = 0;
|
|
13651
|
+
let deletions = 0;
|
|
13652
|
+
for (const f of fileFiltered) {
|
|
13653
|
+
additions += f.additions || 0;
|
|
13654
|
+
deletions += f.deletions || 0;
|
|
13655
|
+
}
|
|
13656
|
+
return {
|
|
13657
|
+
additions,
|
|
13658
|
+
deletions
|
|
13659
|
+
};
|
|
13660
|
+
})();
|
|
13645
13661
|
const findKeys = findState.query.trim() ? new Set(findState.keys) : null;
|
|
13646
13662
|
const shownFiles = findKeys ? fileFiltered.filter((f) => findKeys.has(f.key) || f.key === findState.hit?.key) : fileFiltered;
|
|
13647
13663
|
const shownKeySet = new Set(shownFiles.map((f) => f.key));
|
|
@@ -13753,18 +13769,48 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13753
13769
|
return 0;
|
|
13754
13770
|
}
|
|
13755
13771
|
}, $scope0_id, "d", $sg__input_onExit, $sg__input_onExit, 1, 0, 1);
|
|
13756
|
-
|
|
13772
|
+
_set_serialize_reason(2);
|
|
13773
|
+
const $childScope = _peek_scope_id();
|
|
13774
|
+
file_filter_default({
|
|
13775
|
+
value: fileFilter,
|
|
13776
|
+
valueChange: _resume((_new_fileFilter) => {
|
|
13777
|
+
fileFilter = _new_fileFilter;
|
|
13778
|
+
}, "i15", $scope0_id)
|
|
13779
|
+
});
|
|
13780
|
+
_html(`<div${_attr_class(diff_view_module_default.headText)}><h1${_attr_class(diff_view_module_default.pageTitle)}>Review</h1><span${_attr_class(diff_view_module_default.diffStats)}>`);
|
|
13781
|
+
_if(() => {
|
|
13782
|
+
if (lineStats.additions || lineStats.deletions) {
|
|
13783
|
+
const $scope25_id = _scope_id();
|
|
13784
|
+
_html(`<span${_attr_class(diff_view_module_default.statAdd)}>+<!>${_escape(lineStats.additions)}${_el_resume($scope25_id, "b")}</span><span${_attr_class(diff_view_module_default.statDel)}>−<!>${_escape(lineStats.deletions)}${_el_resume($scope25_id, "d")}</span>`);
|
|
13785
|
+
writeScope($scope25_id, {});
|
|
13786
|
+
return 0;
|
|
13787
|
+
} else {
|
|
13788
|
+
const $scope29_id = _scope_id();
|
|
13789
|
+
_html(`<span${_attr_class(diff_view_module_default.statEmpty)}>0</span>`);
|
|
13790
|
+
writeScope($scope29_id, {});
|
|
13791
|
+
return 1;
|
|
13792
|
+
}
|
|
13793
|
+
}, $scope0_id, "i");
|
|
13794
|
+
_if(() => {
|
|
13795
|
+
if (comments.length) {
|
|
13796
|
+
const $scope3_id = _scope_id();
|
|
13797
|
+
_html(`<span${_attr_class(diff_view_module_default.statSep)}>·</span>${_escape(comments.length)}${_el_resume($scope3_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope3_id, "c")}`);
|
|
13798
|
+
writeScope($scope3_id, {});
|
|
13799
|
+
return 0;
|
|
13800
|
+
}
|
|
13801
|
+
}, $scope0_id, "j");
|
|
13802
|
+
_html("</span></div>");
|
|
13757
13803
|
_if(() => {
|
|
13758
13804
|
if (comments.length) {
|
|
13759
13805
|
const $scope2_id = _scope_id();
|
|
13760
13806
|
_set_serialize_reason(_serialize_guard($scope0_reason, 1));
|
|
13761
|
-
const $
|
|
13807
|
+
const $childScope2 = _peek_scope_id();
|
|
13762
13808
|
diff_send_default({
|
|
13763
13809
|
sessions: input.sessions,
|
|
13764
13810
|
onCopy: copyMarkdown,
|
|
13765
13811
|
onSend: sendTo
|
|
13766
13812
|
});
|
|
13767
|
-
writeScope($scope2_id, { a: _existing_scope($
|
|
13813
|
+
writeScope($scope2_id, { a: _existing_scope($childScope2) });
|
|
13768
13814
|
return 0;
|
|
13769
13815
|
}
|
|
13770
13816
|
}, $scope0_id, "k", 1, 1, 1, 0, 1);
|
|
@@ -13772,25 +13818,10 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13772
13818
|
icon_sidebar_default({ size: 14 });
|
|
13773
13819
|
_html(`</button>${_el_resume($scope0_id, "m")}<button${_attr_class([diff_view_module_default.iconBtn, { [diff_view_module_default.spinning]: loading }])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
13774
13820
|
icon_refresh_default({ size: 14 });
|
|
13775
|
-
_html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([ui_module_default.btn, diff_view_module_default.filesBtn])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope0_id, "r")})</button>${_el_resume($scope0_id, "q")}<button${_attr_class([
|
|
13776
|
-
diff_view_module_default.iconBtn,
|
|
13777
|
-
diff_view_module_default.findBtn,
|
|
13778
|
-
{ [diff_view_module_default.on]: findOpen }
|
|
13779
|
-
])} title="Find in the review (⌘/Ctrl+F)" aria-label="Find in the review">`);
|
|
13780
|
-
icon_search_default({ size: 14 });
|
|
13781
|
-
_html(`</button>${_el_resume($scope0_id, "s")}<div${_attr_class(diff_view_module_default.scope)} role=group aria-label="Review scope"><button type=button${_attr_class([diff_view_module_default.scopeOpt, { [diff_view_module_default.scopeOn]: !uncommitted }])} aria-pressed=${!uncommitted ? "true" : "false"} title="Committed changes only — base…tip, no working-tree edits"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "v")}<button type=button${_attr_class([diff_view_module_default.scopeOpt, { [diff_view_module_default.scopeOn]: uncommitted }])} aria-pressed=${uncommitted ? "true" : "false"} title="Include uncommitted and untracked files in the working tree"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "w")}</div><button type=button${_attr_class([diff_view_module_default.scopeChip, { [diff_view_module_default.scopeOn]: uncommitted }])} aria-pressed=${uncommitted ? "true" : "false"} title=${uncommitted ? "\"Showing working tree — tap for committed only\"" : "\"Showing committed only — tap to include uncommitted\""}${_attr("disabled", loading)}>${uncommitted ? "Dirty" : "Clean"}${_el_resume($scope0_id, "y")}</button>${_el_resume($scope0_id, "x")}`);
|
|
13782
|
-
_set_serialize_reason(2);
|
|
13783
|
-
const $childScope2 = _peek_scope_id();
|
|
13784
|
-
file_filter_default({
|
|
13785
|
-
value: fileFilter,
|
|
13786
|
-
valueChange: _resume((_new_fileFilter) => {
|
|
13787
|
-
fileFilter = _new_fileFilter;
|
|
13788
|
-
}, "i15", $scope0_id)
|
|
13789
|
-
});
|
|
13790
|
-
_html("</div>");
|
|
13821
|
+
_html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([ui_module_default.btn, diff_view_module_default.filesBtn])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope0_id, "r")})</button>${_el_resume($scope0_id, "q")}<div${_attr_class(diff_view_module_default.scope)} role=group aria-label="Review scope"><button type=button${_attr_class([diff_view_module_default.scopeOpt, { [diff_view_module_default.scopeOn]: !uncommitted }])} aria-pressed=${!uncommitted ? "true" : "false"} title="Committed changes only — base…tip, no working-tree edits"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "t")}<button type=button${_attr_class([diff_view_module_default.scopeOpt, { [diff_view_module_default.scopeOn]: uncommitted }])} aria-pressed=${uncommitted ? "true" : "false"} title="Include uncommitted and untracked files in the working tree"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "u")}</div><button type=button${_attr_class([diff_view_module_default.scopeChip, { [diff_view_module_default.scopeOn]: uncommitted }])} aria-pressed=${uncommitted ? "true" : "false"} title=${uncommitted ? "\"Showing working tree — tap for committed only\"" : "\"Showing committed only — tap to include uncommitted\""}${_attr("disabled", loading)}>${uncommitted ? "Dirty" : "Clean"}${_el_resume($scope0_id, "w")}</button>${_el_resume($scope0_id, "v")}`);
|
|
13791
13822
|
_if(() => {
|
|
13792
13823
|
if (findOpen) {
|
|
13793
|
-
const $
|
|
13824
|
+
const $scope21_id = _scope_id();
|
|
13794
13825
|
_set_serialize_reason(2);
|
|
13795
13826
|
const $childScope3 = _peek_scope_id();
|
|
13796
13827
|
diff_find_default({
|
|
@@ -13799,37 +13830,45 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13799
13830
|
open: findOpen,
|
|
13800
13831
|
openChange: _resume((_new_findOpen) => {
|
|
13801
13832
|
findOpen = _new_findOpen;
|
|
13802
|
-
}, "i16", $
|
|
13833
|
+
}, "i16", $scope21_id),
|
|
13803
13834
|
stateChange: _resume(function(s) {
|
|
13804
13835
|
onFindState(s);
|
|
13805
|
-
}, "i17", $
|
|
13836
|
+
}, "i17", $scope21_id)
|
|
13806
13837
|
});
|
|
13807
|
-
writeScope($
|
|
13838
|
+
writeScope($scope21_id, { a: _existing_scope($childScope3) });
|
|
13808
13839
|
return 0;
|
|
13840
|
+
} else {
|
|
13841
|
+
const $scope28_id = _scope_id();
|
|
13842
|
+
_html(`<button${_attr_class([diff_view_module_default.iconBtn, diff_view_module_default.findBtn])} title="Find in the review (⌘/Ctrl+F)" aria-label="Find in the review">`);
|
|
13843
|
+
icon_search_default({ size: 14 });
|
|
13844
|
+
_html(`</button>${_el_resume($scope28_id, "a")}`);
|
|
13845
|
+
_script($scope28_id, "i28");
|
|
13846
|
+
writeScope($scope28_id, {});
|
|
13847
|
+
return 1;
|
|
13809
13848
|
}
|
|
13810
|
-
}, $scope0_id, "
|
|
13811
|
-
_html(
|
|
13849
|
+
}, $scope0_id, "x", 1, 1, 1, 0, 1);
|
|
13850
|
+
_html(`</div><div${_attr_class(diff_view_module_default.diffMain)} data-diff-main>`);
|
|
13812
13851
|
_if(() => {
|
|
13813
13852
|
if (error) {
|
|
13814
|
-
const $
|
|
13853
|
+
const $scope10_id = _scope_id();
|
|
13815
13854
|
toast_default({
|
|
13816
13855
|
onDismiss: _resume(function() {
|
|
13817
13856
|
error = null;
|
|
13818
|
-
}, "i18", $
|
|
13819
|
-
content: _content_resume("
|
|
13857
|
+
}, "i18", $scope10_id),
|
|
13858
|
+
content: _content_resume("i29", () => {
|
|
13820
13859
|
_scope_reason();
|
|
13821
|
-
const $
|
|
13822
|
-
_html(`${_escape(error)}${_el_resume($
|
|
13823
|
-
_subscribe($error__closures, writeScope($
|
|
13824
|
-
_resume_branch($
|
|
13825
|
-
}, $
|
|
13860
|
+
const $scope11_id = _scope_id();
|
|
13861
|
+
_html(`${_escape(error)}${_el_resume($scope11_id, "a")}`);
|
|
13862
|
+
_subscribe($error__closures, writeScope($scope11_id, { _: _scope_with_id($scope10_id) }));
|
|
13863
|
+
_resume_branch($scope11_id);
|
|
13864
|
+
}, $scope10_id)
|
|
13826
13865
|
});
|
|
13827
|
-
writeScope($
|
|
13866
|
+
writeScope($scope10_id, {});
|
|
13828
13867
|
return 0;
|
|
13829
13868
|
}
|
|
13830
|
-
}, $scope0_id, "
|
|
13869
|
+
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
13831
13870
|
_for_of(repoList.filter((r) => r.baseMissing), (repo) => {
|
|
13832
|
-
const $
|
|
13871
|
+
const $scope15_id = _scope_id();
|
|
13833
13872
|
const $for_content3__repo_base__closures = /* @__PURE__ */ new Set();
|
|
13834
13873
|
_set_serialize_reason(96);
|
|
13835
13874
|
const $childScope4 = _peek_scope_id();
|
|
@@ -13837,22 +13876,22 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13837
13876
|
kind: "warn",
|
|
13838
13877
|
placement: "inline",
|
|
13839
13878
|
title: `${repo.worktree}: base not found`,
|
|
13840
|
-
content: _content_resume("
|
|
13879
|
+
content: _content_resume("i30", () => {
|
|
13841
13880
|
_scope_reason();
|
|
13842
|
-
const $
|
|
13843
|
-
_html(`${_escape(repo.base)}${_el_resume($
|
|
13844
|
-
_subscribe($for_content3__repo_base__closures, _subscribe($uncommitted__closures, writeScope($
|
|
13845
|
-
_resume_branch($
|
|
13846
|
-
}, $
|
|
13881
|
+
const $scope16_id = _scope_id();
|
|
13882
|
+
_html(`${_escape(repo.base)}${_el_resume($scope16_id, "a")}<!>${uncommitted ? " — showing uncommitted changes only" : ""}${_el_resume($scope16_id, "b")}.`);
|
|
13883
|
+
_subscribe($for_content3__repo_base__closures, _subscribe($uncommitted__closures, writeScope($scope16_id, { _: _scope_with_id($scope15_id) })));
|
|
13884
|
+
_resume_branch($scope16_id);
|
|
13885
|
+
}, $scope15_id)
|
|
13847
13886
|
});
|
|
13848
|
-
writeScope($
|
|
13887
|
+
writeScope($scope15_id, {
|
|
13849
13888
|
e: repo?.base,
|
|
13850
13889
|
f: $for_content3__repo_base__closures,
|
|
13851
13890
|
a: _existing_scope($childScope4)
|
|
13852
13891
|
});
|
|
13853
|
-
}, "id", $scope0_id, "
|
|
13892
|
+
}, "id", $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
13854
13893
|
_for_of(repoList.filter((r) => r.contained && r.files.length), (repo) => {
|
|
13855
|
-
const $
|
|
13894
|
+
const $scope17_id = _scope_id();
|
|
13856
13895
|
const $for_content4__repo_base__closures = /* @__PURE__ */ new Set();
|
|
13857
13896
|
_set_serialize_reason(96);
|
|
13858
13897
|
const $childScope5 = _peek_scope_id();
|
|
@@ -13860,26 +13899,26 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13860
13899
|
kind: "info",
|
|
13861
13900
|
placement: "inline",
|
|
13862
13901
|
title: repo.pr ? `${repo.worktree} #${repo.pr.number}` : repo.worktree,
|
|
13863
|
-
content: _content_resume("
|
|
13902
|
+
content: _content_resume("i31", () => {
|
|
13864
13903
|
_scope_reason();
|
|
13865
|
-
const $
|
|
13866
|
-
_html(`already in <!>${_escape(repo.base)}${_el_resume($
|
|
13867
|
-
_subscribe($for_content4__repo_base__closures, _subscribe($uncommitted__closures, writeScope($
|
|
13868
|
-
_: _scope_with_id($
|
|
13869
|
-
|
|
13904
|
+
const $scope18_id = _scope_id();
|
|
13905
|
+
_html(`already in <!>${_escape(repo.base)}${_el_resume($scope18_id, "a")}<!>${uncommitted ? " — showing uncommitted changes only" : ""}${_el_resume($scope18_id, "b")}.`);
|
|
13906
|
+
_subscribe($for_content4__repo_base__closures, _subscribe($uncommitted__closures, writeScope($scope18_id, {
|
|
13907
|
+
_: _scope_with_id($scope17_id),
|
|
13908
|
+
Ccu: 1
|
|
13870
13909
|
})));
|
|
13871
|
-
_resume_branch($
|
|
13872
|
-
}, $
|
|
13910
|
+
_resume_branch($scope18_id);
|
|
13911
|
+
}, $scope17_id)
|
|
13873
13912
|
});
|
|
13874
|
-
writeScope($
|
|
13913
|
+
writeScope($scope17_id, {
|
|
13875
13914
|
g: repo?.base,
|
|
13876
13915
|
h: $for_content4__repo_base__closures,
|
|
13877
13916
|
a: _existing_scope($childScope5)
|
|
13878
13917
|
});
|
|
13879
|
-
}, "id", $scope0_id, "
|
|
13918
|
+
}, "id", $scope0_id, "a1", 1, 1, 1, 0, 1);
|
|
13880
13919
|
_if(() => {
|
|
13881
13920
|
if (driftRepos.length) {
|
|
13882
|
-
const $
|
|
13921
|
+
const $scope12_id = _scope_id();
|
|
13883
13922
|
_set_serialize_reason(1072);
|
|
13884
13923
|
const $childScope6 = _peek_scope_id();
|
|
13885
13924
|
toast_default({
|
|
@@ -13888,40 +13927,40 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13888
13927
|
title: "GitHub is behind",
|
|
13889
13928
|
onDismiss: _resume(function() {
|
|
13890
13929
|
dismissDrift();
|
|
13891
|
-
}, "i19", $
|
|
13892
|
-
action: attrTag({ content: _content_resume("
|
|
13930
|
+
}, "i19", $scope12_id),
|
|
13931
|
+
action: attrTag({ content: _content_resume("i33", () => {
|
|
13893
13932
|
_scope_reason();
|
|
13894
|
-
const $
|
|
13895
|
-
_html(`<button${_attr_class(ui_module_default.btn)}${_attr("disabled", loading)}>${loading ? "Reloading…" : "Reload"}${_el_resume($
|
|
13896
|
-
_script($
|
|
13897
|
-
_subscribe($loading__closures, writeScope($
|
|
13898
|
-
_resume_branch($
|
|
13899
|
-
}, $
|
|
13900
|
-
content: _content_resume("
|
|
13933
|
+
const $scope13_id = _scope_id();
|
|
13934
|
+
_html(`<button${_attr_class(ui_module_default.btn)}${_attr("disabled", loading)}>${loading ? "Reloading…" : "Reload"}${_el_resume($scope13_id, "b")}</button>${_el_resume($scope13_id, "a")}`);
|
|
13935
|
+
_script($scope13_id, "i32");
|
|
13936
|
+
_subscribe($loading__closures, writeScope($scope13_id, { _: _scope_with_id($scope12_id) }));
|
|
13937
|
+
_resume_branch($scope13_id);
|
|
13938
|
+
}, $scope12_id) }),
|
|
13939
|
+
content: _content_resume("i34", () => {
|
|
13901
13940
|
_scope_reason();
|
|
13902
|
-
const $
|
|
13941
|
+
const $scope27_id = _scope_id();
|
|
13903
13942
|
_html(`<span${_attr_class(ui_module_default.dim)}>`);
|
|
13904
13943
|
_for_of(driftRepos, (repo, i) => {
|
|
13905
|
-
const $
|
|
13906
|
-
_html(`${i > 0 ? " · " : ""}${_el_resume($
|
|
13907
|
-
writeScope($
|
|
13908
|
-
}, "id", $
|
|
13944
|
+
const $scope30_id = _scope_id();
|
|
13945
|
+
_html(`${i > 0 ? " · " : ""}${_el_resume($scope30_id, "a")}<!>${_escape(repo.worktree)}${_el_resume($scope30_id, "b")} #<!>${_escape(repo.pr.number)}${_el_resume($scope30_id, "c")}`);
|
|
13946
|
+
writeScope($scope30_id, {});
|
|
13947
|
+
}, "id", $scope27_id, "b");
|
|
13909
13948
|
_html(` — this view has a newer tip than the PR page.</span><span${_attr_class([ui_module_default.mono, diff_view_module_default.toastMeta])}>`);
|
|
13910
13949
|
_for_of(driftRepos, (repo, i) => {
|
|
13911
|
-
const $
|
|
13912
|
-
_html(`<span${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}`)}>${i > 0 ? " · " : ""}${_el_resume($
|
|
13913
|
-
writeScope($
|
|
13914
|
-
}, "id", $
|
|
13915
|
-
_subscribe($driftRepos__closures, writeScope($
|
|
13916
|
-
_resume_branch($
|
|
13917
|
-
}, $
|
|
13950
|
+
const $scope31_id = _scope_id();
|
|
13951
|
+
_html(`<span${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}`)}>${i > 0 ? " · " : ""}${_el_resume($scope31_id, "b")}<!>${_escape(shortSha(repo.head))}${_el_resume($scope31_id, "c")} → <!>${_escape(shortSha(repo.pr.headRefOid))}${_el_resume($scope31_id, "d")}</span>${_el_resume($scope31_id, "a")}`);
|
|
13952
|
+
writeScope($scope31_id, {});
|
|
13953
|
+
}, "id", $scope27_id, "c", 1, 1, 1, "</span>", 1);
|
|
13954
|
+
_subscribe($driftRepos__closures, writeScope($scope27_id, { _: _scope_with_id($scope12_id) }));
|
|
13955
|
+
_resume_branch($scope27_id);
|
|
13956
|
+
}, $scope12_id)
|
|
13918
13957
|
});
|
|
13919
|
-
writeScope($
|
|
13958
|
+
writeScope($scope12_id, { a: _existing_scope($childScope6) });
|
|
13920
13959
|
return 0;
|
|
13921
13960
|
}
|
|
13922
|
-
}, $scope0_id, "
|
|
13961
|
+
}, $scope0_id, "a2", 1, 1, 1, 0, 1);
|
|
13923
13962
|
_for_of(localDifferList, (repo) => {
|
|
13924
|
-
const $
|
|
13963
|
+
const $scope19_id = _scope_id();
|
|
13925
13964
|
const $for_content5__repo_head__closures = /* @__PURE__ */ new Set();
|
|
13926
13965
|
const $for_content5__repo_pr_headRefName__closures = /* @__PURE__ */ new Set();
|
|
13927
13966
|
const $for_content5__repo_localHead__closures = /* @__PURE__ */ new Set();
|
|
@@ -13932,18 +13971,18 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13932
13971
|
kind: "info",
|
|
13933
13972
|
placement: "inline",
|
|
13934
13973
|
title: `${repo.worktree} #${repo.pr.number}`,
|
|
13935
|
-
content: _content_resume("
|
|
13974
|
+
content: _content_resume("i35", () => {
|
|
13936
13975
|
_scope_reason();
|
|
13937
|
-
const $
|
|
13938
|
-
_html(`this view is <!>${_escape(shortSha(repo.head))}${_el_resume($
|
|
13939
|
-
_subscribe($for_content5__repo_branch__closures, _subscribe($for_content5__repo_localHead__closures, _subscribe($for_content5__repo_pr_headRefName__closures, _subscribe($for_content5__repo_head__closures, _subscribe($uncommitted__closures, writeScope($
|
|
13940
|
-
_: _scope_with_id($
|
|
13941
|
-
|
|
13976
|
+
const $scope20_id = _scope_id();
|
|
13977
|
+
_html(`this view is <!>${_escape(shortSha(repo.head))}${_el_resume($scope20_id, "a")} (<!>${_escape(repo.pr.headRefName)}${_el_resume($scope20_id, "b")}). Local is <!>${_escape(shortSha(repo.localHead))}${_el_resume($scope20_id, "c")} (<!>${_escape(repo.branch)}${_el_resume($scope20_id, "d")}<!>${uncommitted ? ", plus uncommitted" : ""}${_el_resume($scope20_id, "e")}).`);
|
|
13978
|
+
_subscribe($for_content5__repo_branch__closures, _subscribe($for_content5__repo_localHead__closures, _subscribe($for_content5__repo_pr_headRefName__closures, _subscribe($for_content5__repo_head__closures, _subscribe($uncommitted__closures, writeScope($scope20_id, {
|
|
13979
|
+
_: _scope_with_id($scope19_id),
|
|
13980
|
+
Ccu: 2
|
|
13942
13981
|
}))))));
|
|
13943
|
-
_resume_branch($
|
|
13944
|
-
}, $
|
|
13982
|
+
_resume_branch($scope20_id);
|
|
13983
|
+
}, $scope19_id)
|
|
13945
13984
|
});
|
|
13946
|
-
writeScope($
|
|
13985
|
+
writeScope($scope19_id, {
|
|
13947
13986
|
h: repo?.head,
|
|
13948
13987
|
i: repo?.pr?.headRefName,
|
|
13949
13988
|
j: repo?.localHead,
|
|
@@ -13954,22 +13993,22 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13954
13993
|
o: $for_content5__repo_branch__closures,
|
|
13955
13994
|
a: _existing_scope($childScope7)
|
|
13956
13995
|
});
|
|
13957
|
-
}, "id", $scope0_id, "
|
|
13996
|
+
}, "id", $scope0_id, "a3", 1, 1, 1, 0, 1);
|
|
13958
13997
|
_if(() => {
|
|
13959
13998
|
if (repos && !allFiles.length) {
|
|
13960
|
-
const $
|
|
13961
|
-
_html(`<p${_attr_class(diff_view_module_default.centerPad)}>${repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($
|
|
13962
|
-
writeScope($
|
|
13999
|
+
const $scope24_id = _scope_id();
|
|
14000
|
+
_html(`<p${_attr_class(diff_view_module_default.centerPad)}>${repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope24_id, "b")}</p>`);
|
|
14001
|
+
writeScope($scope24_id, {});
|
|
13963
14002
|
return 0;
|
|
13964
14003
|
} else if (repos && !shownFiles.length && !findState.hit) {
|
|
13965
|
-
const $
|
|
13966
|
-
_html(`<p${_attr_class(diff_view_module_default.centerPad)}>${findState.query.trim() ? "No matches in diffs." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($
|
|
13967
|
-
writeScope($
|
|
14004
|
+
const $scope14_id = _scope_id();
|
|
14005
|
+
_html(`<p${_attr_class(diff_view_module_default.centerPad)}>${findState.query.trim() ? "No matches in diffs." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope14_id, "b")}</p>`);
|
|
14006
|
+
writeScope($scope14_id, {});
|
|
13968
14007
|
return 1;
|
|
13969
14008
|
}
|
|
13970
|
-
}, $scope0_id, "
|
|
14009
|
+
}, $scope0_id, "a4", 1, 1, 1, 0, 1);
|
|
13971
14010
|
_for_of(repoList, (repo) => {
|
|
13972
|
-
const $
|
|
14011
|
+
const $scope4_id = _scope_id();
|
|
13973
14012
|
const $for_content__repo_pr_number__closures = /* @__PURE__ */ new Set();
|
|
13974
14013
|
const $for_content__repo_pr_url__closures = /* @__PURE__ */ new Set();
|
|
13975
14014
|
const $for_content__repo_pr_title__closures = /* @__PURE__ */ new Set();
|
|
@@ -13988,51 +14027,51 @@ var diff_view_default = _template("i", (input) => {
|
|
|
13988
14027
|
const shownInRepo = shownByRepo.get(repo.id) || [];
|
|
13989
14028
|
_if(() => {
|
|
13990
14029
|
if (repoFiles.length || repo.pr) {
|
|
13991
|
-
const $
|
|
14030
|
+
const $scope5_id = _scope_id();
|
|
13992
14031
|
_html(`<section${_attr_class(diff_view_module_default.repoSection)}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownInRepo.length && !repo.pr && findState.hit?.repo !== repo.id)}>`);
|
|
13993
14032
|
_if(() => {
|
|
13994
14033
|
if (repoList.length > 1) {
|
|
13995
|
-
const $
|
|
13996
|
-
_html(`<button${_attr_class(diff_view_module_default.repoSep)}><span${_attr_class(diff_view_module_default.treeChev)}>${collapsedRepos.has(repo.id) ? "▸" : "▾"}${_el_resume($
|
|
14034
|
+
const $scope22_id = _scope_id();
|
|
14035
|
+
_html(`<button${_attr_class(diff_view_module_default.repoSep)}><span${_attr_class(diff_view_module_default.treeChev)}>${collapsedRepos.has(repo.id) ? "▸" : "▾"}${_el_resume($scope22_id, "c")}</span><span${_attr_class(diff_view_module_default.repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope22_id, "e")}</span>`);
|
|
13997
14036
|
_if(() => {
|
|
13998
14037
|
if (repo.pr) {
|
|
13999
|
-
const $
|
|
14000
|
-
_html(`<a${_attr_class([ui_module_default.chip, ui_module_default.pr])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title} — ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($
|
|
14001
|
-
_script($
|
|
14002
|
-
_subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr_title__closures, _subscribe($for_content__repo_pr_url__closures, _subscribe($for_content__repo_pr_number__closures, writeScope($
|
|
14038
|
+
const $scope32_id = _scope_id();
|
|
14039
|
+
_html(`<a${_attr_class([ui_module_default.chip, ui_module_default.pr])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title} — ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}<span${_attr_class(diff_view_module_default.repoTitle)}>${_escape(repo.pr.title)}${_el_resume($scope32_id, "d")}</span>`);
|
|
14040
|
+
_script($scope32_id, "i36");
|
|
14041
|
+
_subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr_title__closures, _subscribe($for_content__repo_pr_url__closures, _subscribe($for_content__repo_pr_number__closures, writeScope($scope32_id, {
|
|
14003
14042
|
Ca4: 2,
|
|
14004
14043
|
Ca5: 2,
|
|
14005
14044
|
Ca6: 2
|
|
14006
14045
|
}))))))));
|
|
14007
14046
|
return 0;
|
|
14008
14047
|
} else {
|
|
14009
|
-
const $
|
|
14010
|
-
_html(`<span${_attr_class(diff_view_module_default.repoTitle)}>${_escape(repo.full_name)}${_el_resume($
|
|
14011
|
-
_subscribe($for_content__repo_full_name__closures, writeScope($
|
|
14048
|
+
const $scope33_id = _scope_id();
|
|
14049
|
+
_html(`<span${_attr_class(diff_view_module_default.repoTitle)}>${_escape(repo.full_name)}${_el_resume($scope33_id, "b")}</span>`);
|
|
14050
|
+
_subscribe($for_content__repo_full_name__closures, writeScope($scope33_id, {}));
|
|
14012
14051
|
return 1;
|
|
14013
14052
|
}
|
|
14014
|
-
}, $
|
|
14015
|
-
_html(`<span${_attr_class([ui_module_default.chip, ui_module_default.lane])}${_attr("title", `${repo.pr ? "PR head" : "checked out"} ${repo.pr ? repo.pr.headRefName : repo.branch} ${repo.head}`)}>on <!>${repo.pr ? _escape(repo.pr.headRefName) : _escape(repo.branch)}${_el_resume($
|
|
14053
|
+
}, $scope22_id, "f");
|
|
14054
|
+
_html(`<span${_attr_class([ui_module_default.chip, ui_module_default.lane])}${_attr("title", `${repo.pr ? "PR head" : "checked out"} ${repo.pr ? repo.pr.headRefName : repo.branch} ${repo.head}`)}>on <!>${repo.pr ? _escape(repo.pr.headRefName) : _escape(repo.branch)}${_el_resume($scope22_id, "h")}</span>${_el_resume($scope22_id, "g")}<span${_attr_class(ui_module_default.chip)}${_attr("title", `${repo.base} ${repo.baseSha}`)}>vs <!>${_escape(repo.base)}${_el_resume($scope22_id, "j")}</span>${_el_resume($scope22_id, "i")}`);
|
|
14016
14055
|
_if(() => {
|
|
14017
14056
|
if (localDifferIds.has(repo.id)) {
|
|
14018
|
-
const $
|
|
14019
|
-
_html(`<span${_attr_class(ui_module_default.chip)}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(repo.branch)}${_el_resume($
|
|
14020
|
-
_subscribe($for_content__repo_localHead__closures, _subscribe($for_content__repo_branch__closures, writeScope($
|
|
14057
|
+
const $scope34_id = _scope_id();
|
|
14058
|
+
_html(`<span${_attr_class(ui_module_default.chip)}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(repo.branch)}${_el_resume($scope34_id, "b")}</span>${_el_resume($scope34_id, "a")}`);
|
|
14059
|
+
_subscribe($for_content__repo_localHead__closures, _subscribe($for_content__repo_branch__closures, writeScope($scope34_id, { Ca8: 2 })));
|
|
14021
14060
|
return 0;
|
|
14022
14061
|
}
|
|
14023
|
-
}, $
|
|
14024
|
-
_html(`</button>${_el_resume($
|
|
14025
|
-
_script($
|
|
14026
|
-
_subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_worktree__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, _subscribe($collapsedRepos__closures, writeScope($
|
|
14062
|
+
}, $scope22_id, "k", 1, 1, 1, 0, 1);
|
|
14063
|
+
_html(`</button>${_el_resume($scope22_id, "a")}`);
|
|
14064
|
+
_script($scope22_id, "i37");
|
|
14065
|
+
_subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_worktree__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, _subscribe($collapsedRepos__closures, writeScope($scope22_id, { Ccz: 1 }))))))))));
|
|
14027
14066
|
return 0;
|
|
14028
14067
|
} else {
|
|
14029
|
-
const $
|
|
14068
|
+
const $scope26_id = _scope_id();
|
|
14030
14069
|
_html(`<p${_attr_class(diff_view_module_default.repoMeta)}>`);
|
|
14031
14070
|
_if(() => {
|
|
14032
14071
|
if (repo.pr) {
|
|
14033
|
-
const $
|
|
14034
|
-
_html(`<a${_attr_class([ui_module_default.chip, ui_module_default.pr])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title} — ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($
|
|
14035
|
-
_subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr_title__closures, _subscribe($for_content__repo_pr_url__closures, _subscribe($for_content__repo_pr_number__closures, writeScope($
|
|
14072
|
+
const $scope35_id = _scope_id();
|
|
14073
|
+
_html(`<a${_attr_class([ui_module_default.chip, ui_module_default.pr])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title} — ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#<!>${_escape(repo.pr.number)}${_el_resume($scope35_id, "b")}</a>${_el_resume($scope35_id, "a")}<span${_attr_class(ui_module_default.dim)}>${_escape(repo.pr.title)}${_el_resume($scope35_id, "d")}</span>`);
|
|
14074
|
+
_subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_pr_title__closures, _subscribe($for_content__repo_pr_url__closures, _subscribe($for_content__repo_pr_number__closures, writeScope($scope35_id, {
|
|
14036
14075
|
Ca0: 1,
|
|
14037
14076
|
Ca1: 1,
|
|
14038
14077
|
Ca2: 1,
|
|
@@ -14043,22 +14082,22 @@ var diff_view_default = _template("i", (input) => {
|
|
|
14043
14082
|
}))))))));
|
|
14044
14083
|
return 0;
|
|
14045
14084
|
}
|
|
14046
|
-
}, $
|
|
14047
|
-
_html(`<span${_attr_class([ui_module_default.chip, ui_module_default.lane])}${_attr("title", `${repo.pr ? "PR head" : "checked out"} ${repo.pr ? repo.pr.headRefName : repo.branch} ${repo.head}`)}>on <!>${repo.pr ? _escape(repo.pr.headRefName) : _escape(repo.branch)}${_el_resume($
|
|
14085
|
+
}, $scope26_id, "b");
|
|
14086
|
+
_html(`<span${_attr_class([ui_module_default.chip, ui_module_default.lane])}${_attr("title", `${repo.pr ? "PR head" : "checked out"} ${repo.pr ? repo.pr.headRefName : repo.branch} ${repo.head}`)}>on <!>${repo.pr ? _escape(repo.pr.headRefName) : _escape(repo.branch)}${_el_resume($scope26_id, "d")}</span>${_el_resume($scope26_id, "c")}<span${_attr_class(ui_module_default.chip)}${_attr("title", `${repo.base} ${repo.baseSha}`)}>vs <!>${_escape(repo.base)}${_el_resume($scope26_id, "f")}</span>${_el_resume($scope26_id, "e")}`);
|
|
14048
14087
|
_if(() => {
|
|
14049
14088
|
if (localDifferIds.has(repo.id)) {
|
|
14050
|
-
const $
|
|
14051
|
-
_html(`<span${_attr_class(ui_module_default.chip)}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(repo.branch)}${_el_resume($
|
|
14052
|
-
_subscribe($for_content__repo_localHead__closures, _subscribe($for_content__repo_branch__closures, writeScope($
|
|
14089
|
+
const $scope36_id = _scope_id();
|
|
14090
|
+
_html(`<span${_attr_class(ui_module_default.chip)}${_attr("title", `checked out ${repo.branch} ${repo.localHead}`)}>local <!>${_escape(repo.branch)}${_el_resume($scope36_id, "b")}</span>${_el_resume($scope36_id, "a")}`);
|
|
14091
|
+
_subscribe($for_content__repo_localHead__closures, _subscribe($for_content__repo_branch__closures, writeScope($scope36_id, {
|
|
14053
14092
|
Ca8: 3,
|
|
14054
14093
|
Ca9: 1
|
|
14055
14094
|
})));
|
|
14056
14095
|
return 0;
|
|
14057
14096
|
}
|
|
14058
|
-
}, $
|
|
14097
|
+
}, $scope26_id, "g", 1, 1, 1, 0, 1);
|
|
14059
14098
|
_html("</p>");
|
|
14060
|
-
_subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, writeScope($
|
|
14061
|
-
|
|
14099
|
+
_subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, writeScope($scope26_id, {
|
|
14100
|
+
Cda: 1,
|
|
14062
14101
|
Cx: 1,
|
|
14063
14102
|
Cy: 1,
|
|
14064
14103
|
Ca4: 1,
|
|
@@ -14068,62 +14107,62 @@ var diff_view_default = _template("i", (input) => {
|
|
|
14068
14107
|
}))))))));
|
|
14069
14108
|
return 1;
|
|
14070
14109
|
}
|
|
14071
|
-
}, $
|
|
14110
|
+
}, $scope5_id, "b", 1, 1, 1, 0, 1);
|
|
14072
14111
|
_if(() => {
|
|
14073
14112
|
if (!(repoList.length > 1 && collapsedRepos.has(repo.id))) {
|
|
14074
|
-
const $
|
|
14113
|
+
const $scope6_id = _scope_id();
|
|
14075
14114
|
_html(`<div${_attr_class(diff_view_module_default.files)}>`);
|
|
14076
14115
|
_for_of(repoFiles, (file) => {
|
|
14077
|
-
const $
|
|
14116
|
+
const $scope7_id = _scope_id();
|
|
14078
14117
|
const $for_content2__file__closures = /* @__PURE__ */ new Set();
|
|
14079
14118
|
const $for_content2__file_key__closures = /* @__PURE__ */ new Set();
|
|
14080
14119
|
const $for_content2__fileComments__closures = /* @__PURE__ */ new Set();
|
|
14081
14120
|
const fileComments = commentsByFile.get(file.key) || [];
|
|
14082
14121
|
let expanded = true;
|
|
14083
|
-
_html(`<details${_attr_details_or_dialog_open($
|
|
14122
|
+
_html(`<details${_attr_details_or_dialog_open($scope7_id, "a", expanded)}${_attr_class(diff_view_module_default.file)}${_attr("data-key", file.key)}${_attr("hidden", !shownKeySet.has(file.key))}><summary><span${_attr_class(diff_view_module_default.status)}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope7_id, "c")}</span>${_el_resume($scope7_id, "b")}<span${_attr_class(diff_view_module_default.path)}${_attr("title", file.path)}><bdi>${_escape(file.path)}${_el_resume($scope7_id, "e")}</bdi></span>${_el_resume($scope7_id, "d")}`);
|
|
14084
14123
|
_if(() => {
|
|
14085
14124
|
if (fileComments.length) {
|
|
14086
|
-
const $
|
|
14087
|
-
_html(`<span${_attr_class(ui_module_default.chip)}>💬 <!>${_escape(fileComments.length)}${_el_resume($
|
|
14088
|
-
writeScope($
|
|
14125
|
+
const $scope37_id = _scope_id();
|
|
14126
|
+
_html(`<span${_attr_class(ui_module_default.chip)}>💬 <!>${_escape(fileComments.length)}${_el_resume($scope37_id, "b")}</span>`);
|
|
14127
|
+
writeScope($scope37_id, {});
|
|
14089
14128
|
return 0;
|
|
14090
14129
|
}
|
|
14091
|
-
}, $
|
|
14130
|
+
}, $scope7_id, "f", 1, 1, 1, 0, 1);
|
|
14092
14131
|
_html("</summary>");
|
|
14093
14132
|
_if(() => {
|
|
14094
14133
|
if (file.binary) {
|
|
14095
|
-
const $
|
|
14134
|
+
const $scope38_id = _scope_id();
|
|
14096
14135
|
_html(`<p${_attr_class(diff_view_module_default.diffPad)}>binary file</p>`);
|
|
14097
|
-
writeScope($
|
|
14136
|
+
writeScope($scope38_id, {});
|
|
14098
14137
|
return 0;
|
|
14099
14138
|
} else if (file.tooLarge) {
|
|
14100
|
-
const $
|
|
14139
|
+
const $scope39_id = _scope_id();
|
|
14101
14140
|
_html(`<p${_attr_class(diff_view_module_default.diffPad)}>file too large to display</p>`);
|
|
14102
|
-
writeScope($
|
|
14141
|
+
writeScope($scope39_id, {});
|
|
14103
14142
|
return 1;
|
|
14104
14143
|
} else if (file.old == null && file.new == null) {
|
|
14105
|
-
const $
|
|
14144
|
+
const $scope40_id = _scope_id();
|
|
14106
14145
|
_html(`<p${_attr_class(diff_view_module_default.diffPad)}>file could not be read</p>`);
|
|
14107
|
-
writeScope($
|
|
14146
|
+
writeScope($scope40_id, {});
|
|
14108
14147
|
return 2;
|
|
14109
14148
|
} else {
|
|
14110
|
-
const $
|
|
14149
|
+
const $scope8_id = _scope_id();
|
|
14111
14150
|
_if(() => {
|
|
14112
14151
|
{
|
|
14113
|
-
const $
|
|
14114
|
-
_html(`<div${_attr_class(diff_view_module_default.diffWait)}></div>${_el_resume($
|
|
14115
|
-
_script($
|
|
14116
|
-
writeScope($
|
|
14152
|
+
const $scope23_id = _scope_id();
|
|
14153
|
+
_html(`<div${_attr_class(diff_view_module_default.diffWait)}></div>${_el_resume($scope23_id, "a")}`);
|
|
14154
|
+
_script($scope23_id, "i38");
|
|
14155
|
+
writeScope($scope23_id, {});
|
|
14117
14156
|
return 0;
|
|
14118
14157
|
}
|
|
14119
|
-
}, $
|
|
14120
|
-
writeScope($
|
|
14158
|
+
}, $scope8_id, "a", 1, 1, 1, 0, 1);
|
|
14159
|
+
writeScope($scope8_id, {});
|
|
14121
14160
|
return 3;
|
|
14122
14161
|
}
|
|
14123
|
-
}, $
|
|
14124
|
-
_html(`</details>${_el_resume($
|
|
14125
|
-
_script($
|
|
14126
|
-
_subscribe($commentsByFile__closures, _subscribe($shownKeySet__closures, writeScope($
|
|
14162
|
+
}, $scope7_id, "g");
|
|
14163
|
+
_html(`</details>${_el_resume($scope7_id, "a")}`);
|
|
14164
|
+
_script($scope7_id, "i39");
|
|
14165
|
+
_subscribe($commentsByFile__closures, _subscribe($shownKeySet__closures, writeScope($scope7_id, {
|
|
14127
14166
|
i: file,
|
|
14128
14167
|
j: file?.key,
|
|
14129
14168
|
o: file?.binary,
|
|
@@ -14137,17 +14176,17 @@ var diff_view_default = _template("i", (input) => {
|
|
|
14137
14176
|
x: $for_content2__file_key__closures,
|
|
14138
14177
|
y: $for_content2__fileComments__closures
|
|
14139
14178
|
})));
|
|
14140
|
-
}, "key", $
|
|
14141
|
-
_subscribe($for_content__repoFiles__closures, writeScope($
|
|
14179
|
+
}, "key", $scope6_id, "a", 1, 1, 1, "</div>", 1);
|
|
14180
|
+
_subscribe($for_content__repoFiles__closures, writeScope($scope6_id, {}));
|
|
14142
14181
|
return 0;
|
|
14143
14182
|
}
|
|
14144
|
-
}, $
|
|
14145
|
-
_html(`</section>${_el_resume($
|
|
14146
|
-
_subscribe($repoList_length__closures, _subscribe($collapsedRepos__closures, _subscribe($findState_hit_repo__closures, writeScope($
|
|
14183
|
+
}, $scope5_id, "c", 1, 1, 1, 0, 1);
|
|
14184
|
+
_html(`</section>${_el_resume($scope5_id, "a")}`);
|
|
14185
|
+
_subscribe($repoList_length__closures, _subscribe($collapsedRepos__closures, _subscribe($findState_hit_repo__closures, writeScope($scope5_id, {}))));
|
|
14147
14186
|
return 0;
|
|
14148
14187
|
}
|
|
14149
|
-
}, $
|
|
14150
|
-
writeScope($
|
|
14188
|
+
}, $scope4_id, "a", 1, 1, 1, 0, 1);
|
|
14189
|
+
writeScope($scope4_id, {
|
|
14151
14190
|
d: repo?.id,
|
|
14152
14191
|
g: repo?.pr,
|
|
14153
14192
|
h: repo?.worktree,
|
|
@@ -14178,8 +14217,8 @@ var diff_view_default = _template("i", (input) => {
|
|
|
14178
14217
|
z: $for_content__repo_worktree__closures,
|
|
14179
14218
|
aa: $for_content__repoFiles__closures
|
|
14180
14219
|
});
|
|
14181
|
-
}, "id", $scope0_id, "
|
|
14182
|
-
_html(`</div>${_el_resume($scope0_id, "
|
|
14220
|
+
}, "id", $scope0_id, "a5");
|
|
14221
|
+
_html(`</div>${_el_resume($scope0_id, "y")}</div>`);
|
|
14183
14222
|
_set_serialize_reason(110);
|
|
14184
14223
|
const $childScope9 = _peek_scope_id();
|
|
14185
14224
|
diff_tree_default({
|
|
@@ -14205,123 +14244,126 @@ var diff_view_default = _template("i", (input) => {
|
|
|
14205
14244
|
onJump: jumpTo
|
|
14206
14245
|
});
|
|
14207
14246
|
_html("</div>");
|
|
14208
|
-
_script($scope0_id, "i39");
|
|
14209
14247
|
_script($scope0_id, "i40");
|
|
14210
14248
|
_script($scope0_id, "i41");
|
|
14249
|
+
_script($scope0_id, "i42");
|
|
14211
14250
|
writeScope($scope0_id, {
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
|
|
14221
|
-
|
|
14222
|
-
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
|
-
|
|
14227
|
-
|
|
14228
|
-
|
|
14229
|
-
|
|
14230
|
-
|
|
14231
|
-
|
|
14232
|
-
|
|
14233
|
-
|
|
14234
|
-
|
|
14235
|
-
|
|
14236
|
-
|
|
14237
|
-
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
|
|
14253
|
-
|
|
14254
|
-
|
|
14255
|
-
|
|
14256
|
-
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
|
|
14262
|
-
|
|
14263
|
-
|
|
14264
|
-
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
da: $
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14251
|
+
aa: input.workspaceId,
|
|
14252
|
+
ab: input.focusPr,
|
|
14253
|
+
ac: input.active,
|
|
14254
|
+
ad: input.focusNonce,
|
|
14255
|
+
ae: input.onSent,
|
|
14256
|
+
af: input.onExit,
|
|
14257
|
+
ag: input.sessions,
|
|
14258
|
+
ah: repos,
|
|
14259
|
+
ai: comments,
|
|
14260
|
+
aj: comments?.length,
|
|
14261
|
+
ak: draft,
|
|
14262
|
+
am: error,
|
|
14263
|
+
an: loading,
|
|
14264
|
+
ao: fileFilter,
|
|
14265
|
+
ap: uncommitted,
|
|
14266
|
+
aq: treeOpen,
|
|
14267
|
+
as: findOpen,
|
|
14268
|
+
at: findTick,
|
|
14269
|
+
aw: findState?.query,
|
|
14270
|
+
ay: findState?.hit,
|
|
14271
|
+
az: findState?.hit?.key,
|
|
14272
|
+
b0: findState?.hit?.repo,
|
|
14273
|
+
b1: collapsedRepos,
|
|
14274
|
+
b2: dismissedDrift,
|
|
14275
|
+
b4: nearBox.cbs,
|
|
14276
|
+
b5: nearBox.io,
|
|
14277
|
+
b7: observeNear,
|
|
14278
|
+
b8: focusPrSection,
|
|
14279
|
+
ba: headBox.sig,
|
|
14280
|
+
bc: headBox.timer,
|
|
14281
|
+
bd: load,
|
|
14282
|
+
bf: loadReview,
|
|
14283
|
+
bg: reload,
|
|
14284
|
+
bi: reloadSoon,
|
|
14285
|
+
bk: repoList,
|
|
14286
|
+
bm: repoList.length,
|
|
14287
|
+
bn: allFiles,
|
|
14288
|
+
bp: allFiles?.length,
|
|
14289
|
+
bq: fileFiltered,
|
|
14290
|
+
bs: lineStats?.additions,
|
|
14291
|
+
bt: lineStats?.deletions,
|
|
14292
|
+
bv: findKeys,
|
|
14293
|
+
c1: shownKeySet,
|
|
14294
|
+
c2: filesByRepo,
|
|
14295
|
+
c3: shownByRepo,
|
|
14296
|
+
c5: commentsByFile,
|
|
14297
|
+
c9: localDifferIds,
|
|
14298
|
+
ca: driftRepos,
|
|
14299
|
+
cd: dismissDrift,
|
|
14300
|
+
ce: saveComment,
|
|
14301
|
+
cf: removeComment,
|
|
14302
|
+
cg: clearComments,
|
|
14303
|
+
cj: copyMarkdown,
|
|
14304
|
+
ck: sendTo,
|
|
14305
|
+
cl: jumpTo,
|
|
14306
|
+
cm: openFind,
|
|
14307
|
+
cn: onFindState,
|
|
14308
|
+
e: _existing_scope($childScope),
|
|
14309
|
+
cr: $error__closures,
|
|
14310
|
+
cu: $uncommitted__closures,
|
|
14311
|
+
cs: $loading__closures,
|
|
14312
|
+
db: $driftRepos__closures,
|
|
14313
|
+
cz: $collapsedRepos__closures,
|
|
14314
|
+
da: $localDifferIds__closures,
|
|
14315
|
+
cq: $draft__closures,
|
|
14316
|
+
dd: $saveComment2__closures,
|
|
14317
|
+
de: $removeComment2__closures,
|
|
14318
|
+
d6: $shownKeySet__closures,
|
|
14319
|
+
d9: $commentsByFile__closures,
|
|
14320
|
+
cy: $findState_hit_repo__closures,
|
|
14321
|
+
d2: $repoList_length__closures,
|
|
14322
|
+
a6: _existing_scope($childScope9),
|
|
14323
|
+
a7: _existing_scope($childScope10)
|
|
14282
14324
|
});
|
|
14283
14325
|
_resume_branch($scope0_id);
|
|
14284
14326
|
});
|
|
14285
14327
|
var manage_workspace_module_default = {
|
|
14286
|
-
page: "
|
|
14287
|
-
body: "
|
|
14288
|
-
content: "
|
|
14289
|
-
pageHead: "
|
|
14290
|
-
backBtn: "
|
|
14291
|
-
pageHeadText: "
|
|
14292
|
-
pageMeta: "
|
|
14293
|
-
statusPill: "
|
|
14294
|
-
statusOn: "
|
|
14295
|
-
statusOff: "
|
|
14296
|
-
progress: "
|
|
14297
|
-
section: "
|
|
14298
|
-
sectionHead: "
|
|
14299
|
-
sectionCount: "
|
|
14300
|
-
sectionBtn: "
|
|
14301
|
-
groupLabel: "
|
|
14302
|
-
pickerWrap: "
|
|
14303
|
-
cardList: "
|
|
14304
|
-
card: "
|
|
14305
|
-
pending: "
|
|
14306
|
-
cardMain: "
|
|
14307
|
-
cardTitle: "
|
|
14308
|
-
cardMeta: "
|
|
14309
|
-
cardSub: "
|
|
14310
|
-
cardTag: "
|
|
14311
|
-
cardAction: "
|
|
14312
|
-
dangerAction: "
|
|
14313
|
-
armed: "
|
|
14314
|
-
okAction: "
|
|
14315
|
-
prState: "
|
|
14316
|
-
portLink: "
|
|
14317
|
-
emptyNote: "
|
|
14318
|
-
dangerZone: "
|
|
14319
|
-
dangerRow: "
|
|
14320
|
-
dangerBtn: "
|
|
14321
|
-
dangerHint: "
|
|
14322
|
-
pageHeadAside: "
|
|
14323
|
-
iconBtn: "
|
|
14324
|
-
spinning: "
|
|
14328
|
+
page: "_co",
|
|
14329
|
+
body: "_cp",
|
|
14330
|
+
content: "_cq",
|
|
14331
|
+
pageHead: "_cr",
|
|
14332
|
+
backBtn: "_cs",
|
|
14333
|
+
pageHeadText: "_ct",
|
|
14334
|
+
pageMeta: "_cu",
|
|
14335
|
+
statusPill: "_cv",
|
|
14336
|
+
statusOn: "_cw",
|
|
14337
|
+
statusOff: "_cx",
|
|
14338
|
+
progress: "_cy",
|
|
14339
|
+
section: "_cz",
|
|
14340
|
+
sectionHead: "_cA",
|
|
14341
|
+
sectionCount: "_cB",
|
|
14342
|
+
sectionBtn: "_cC",
|
|
14343
|
+
groupLabel: "_cD",
|
|
14344
|
+
pickerWrap: "_cE",
|
|
14345
|
+
cardList: "_cF",
|
|
14346
|
+
card: "_cG",
|
|
14347
|
+
pending: "_cH",
|
|
14348
|
+
cardMain: "_cI",
|
|
14349
|
+
cardTitle: "_cJ",
|
|
14350
|
+
cardMeta: "_cK",
|
|
14351
|
+
cardSub: "_cL",
|
|
14352
|
+
cardTag: "_cM",
|
|
14353
|
+
cardAction: "_cN",
|
|
14354
|
+
dangerAction: "_cO",
|
|
14355
|
+
armed: "_cP",
|
|
14356
|
+
okAction: "_cQ",
|
|
14357
|
+
prState: "_cR",
|
|
14358
|
+
portLink: "_cS",
|
|
14359
|
+
emptyNote: "_cT",
|
|
14360
|
+
dangerZone: "_cU",
|
|
14361
|
+
dangerRow: "_cV",
|
|
14362
|
+
dangerBtn: "_cW",
|
|
14363
|
+
dangerHint: "_cX",
|
|
14364
|
+
pageHeadAside: "_cY",
|
|
14365
|
+
iconBtn: "_cZ _d9",
|
|
14366
|
+
spinning: "_c0 _d_"
|
|
14325
14367
|
};
|
|
14326
14368
|
//#endregion
|
|
14327
14369
|
//#region src/tags/manage-workspace.marko
|
|
@@ -14733,39 +14775,39 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
14733
14775
|
_resume_branch($scope0_id);
|
|
14734
14776
|
});
|
|
14735
14777
|
var usage_stats_module_default = {
|
|
14736
|
-
page: "
|
|
14737
|
-
body: "
|
|
14738
|
-
content: "
|
|
14739
|
-
iconBtn: "
|
|
14740
|
-
spinning: "
|
|
14741
|
-
pageHead: "
|
|
14742
|
-
backBtn: "
|
|
14743
|
-
refreshBtn: "
|
|
14744
|
-
pageHeadText: "
|
|
14745
|
-
pageMeta: "
|
|
14746
|
-
pageHeadAside: "
|
|
14747
|
-
note: "
|
|
14748
|
-
usageList: "
|
|
14749
|
-
usageRow: "
|
|
14750
|
-
usageName: "
|
|
14751
|
-
plan: "
|
|
14752
|
-
usageStale: "
|
|
14753
|
-
stale: "
|
|
14754
|
-
usageMeters: "
|
|
14755
|
-
meter: "
|
|
14756
|
-
meterLabel: "
|
|
14757
|
-
meterTrack: "
|
|
14758
|
-
meterFill: "
|
|
14759
|
-
fillOk: "
|
|
14760
|
-
fillMid: "
|
|
14761
|
-
fillWarm: "
|
|
14762
|
-
fillHot: "
|
|
14763
|
-
meterPct: "
|
|
14764
|
-
pctOk: "
|
|
14765
|
-
pctMid: "
|
|
14766
|
-
pctWarm: "
|
|
14767
|
-
pctHot: "
|
|
14768
|
-
meterReset: "
|
|
14778
|
+
page: "_c1",
|
|
14779
|
+
body: "_c2",
|
|
14780
|
+
content: "_c3",
|
|
14781
|
+
iconBtn: "_c4 _d9",
|
|
14782
|
+
spinning: "_c5 _d_",
|
|
14783
|
+
pageHead: "_c6",
|
|
14784
|
+
backBtn: "_c7",
|
|
14785
|
+
refreshBtn: "_c8",
|
|
14786
|
+
pageHeadText: "_c9",
|
|
14787
|
+
pageMeta: "_c_",
|
|
14788
|
+
pageHeadAside: "_da",
|
|
14789
|
+
note: "_db",
|
|
14790
|
+
usageList: "_dc",
|
|
14791
|
+
usageRow: "_dd",
|
|
14792
|
+
usageName: "_de",
|
|
14793
|
+
plan: "_df",
|
|
14794
|
+
usageStale: "_dg",
|
|
14795
|
+
stale: "_dh",
|
|
14796
|
+
usageMeters: "_di",
|
|
14797
|
+
meter: "_dj",
|
|
14798
|
+
meterLabel: "_dk",
|
|
14799
|
+
meterTrack: "_dl",
|
|
14800
|
+
meterFill: "_dm",
|
|
14801
|
+
fillOk: "_dn",
|
|
14802
|
+
fillMid: "_do",
|
|
14803
|
+
fillWarm: "_dp",
|
|
14804
|
+
fillHot: "_dq",
|
|
14805
|
+
meterPct: "_dr",
|
|
14806
|
+
pctOk: "_ds",
|
|
14807
|
+
pctMid: "_dt",
|
|
14808
|
+
pctWarm: "_du",
|
|
14809
|
+
pctHot: "_dv",
|
|
14810
|
+
meterReset: "_dw"
|
|
14769
14811
|
};
|
|
14770
14812
|
//#endregion
|
|
14771
14813
|
//#region src/tags/usage-stats.marko
|
|
@@ -14876,41 +14918,41 @@ var usage_stats_default = _template("w", (input) => {
|
|
|
14876
14918
|
_resume_branch($scope0_id);
|
|
14877
14919
|
});
|
|
14878
14920
|
var term_module_default = {
|
|
14879
|
-
iconBtn: "
|
|
14880
|
-
termWrap: "
|
|
14881
|
-
term: "
|
|
14882
|
-
xterm: "
|
|
14883
|
-
termDead: "
|
|
14884
|
-
termCopied: "
|
|
14885
|
-
termCopiedFade: "
|
|
14886
|
-
termUploading: "
|
|
14887
|
-
trapBackdrop: "
|
|
14888
|
-
pasteTrap: "
|
|
14889
|
-
kbSlot: "
|
|
14890
|
-
keyBar: "
|
|
14891
|
-
kspacer: "
|
|
14892
|
-
sessBtn: "
|
|
14893
|
-
sessDot: "
|
|
14894
|
-
sessPop: "
|
|
14895
|
-
sessRow: "
|
|
14896
|
-
current: "
|
|
14897
|
-
sessOpen: "
|
|
14898
|
-
sessTitle: "
|
|
14899
|
-
sessRename: "
|
|
14900
|
-
sessX: "
|
|
14901
|
-
armed: "
|
|
14902
|
-
sessEdit: "
|
|
14903
|
-
sessNew: "
|
|
14904
|
-
lone: "
|
|
14905
|
-
kbarWs: "
|
|
14906
|
-
kbarWsName: "
|
|
14907
|
-
kbtn: "
|
|
14908
|
-
kbtnEsc: "
|
|
14909
|
-
dpadGrid: "
|
|
14910
|
-
repeat: "
|
|
14911
|
-
on: "
|
|
14912
|
-
bigGlyph: "
|
|
14913
|
-
enter: "
|
|
14921
|
+
iconBtn: "_bz _d9",
|
|
14922
|
+
termWrap: "_bA",
|
|
14923
|
+
term: "_bB",
|
|
14924
|
+
xterm: "_bC",
|
|
14925
|
+
termDead: "_bD",
|
|
14926
|
+
termCopied: "_bE",
|
|
14927
|
+
termCopiedFade: "_bF",
|
|
14928
|
+
termUploading: "_bG",
|
|
14929
|
+
trapBackdrop: "_bH",
|
|
14930
|
+
pasteTrap: "_bI",
|
|
14931
|
+
kbSlot: "_bJ",
|
|
14932
|
+
keyBar: "_bK",
|
|
14933
|
+
kspacer: "_bL",
|
|
14934
|
+
sessBtn: "_bM",
|
|
14935
|
+
sessDot: "_bN",
|
|
14936
|
+
sessPop: "_bO",
|
|
14937
|
+
sessRow: "_bP",
|
|
14938
|
+
current: "_bQ",
|
|
14939
|
+
sessOpen: "_bR",
|
|
14940
|
+
sessTitle: "_bS",
|
|
14941
|
+
sessRename: "_bT",
|
|
14942
|
+
sessX: "_bU",
|
|
14943
|
+
armed: "_bV",
|
|
14944
|
+
sessEdit: "_bW",
|
|
14945
|
+
sessNew: "_bX",
|
|
14946
|
+
lone: "_bY",
|
|
14947
|
+
kbarWs: "_bZ",
|
|
14948
|
+
kbarWsName: "_b0",
|
|
14949
|
+
kbtn: "_b1 _d9",
|
|
14950
|
+
kbtnEsc: "_b2",
|
|
14951
|
+
dpadGrid: "_b3",
|
|
14952
|
+
repeat: "_b4",
|
|
14953
|
+
on: "_b5",
|
|
14954
|
+
bigGlyph: "_b6",
|
|
14955
|
+
enter: "_b7"
|
|
14914
14956
|
};
|
|
14915
14957
|
_template("Q", (input) => {
|
|
14916
14958
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
@@ -18081,7 +18123,7 @@ function prMeta(pr) {
|
|
|
18081
18123
|
};
|
|
18082
18124
|
}
|
|
18083
18125
|
async function collectFiles(dir, oldRev, newRev, uncommitted) {
|
|
18084
|
-
const
|
|
18126
|
+
const nameArgs = uncommitted ? [
|
|
18085
18127
|
"diff",
|
|
18086
18128
|
"--name-status",
|
|
18087
18129
|
"-z",
|
|
@@ -18095,12 +18137,30 @@ async function collectFiles(dir, oldRev, newRev, uncommitted) {
|
|
|
18095
18137
|
oldRev,
|
|
18096
18138
|
newRev
|
|
18097
18139
|
];
|
|
18098
|
-
const
|
|
18099
|
-
"
|
|
18100
|
-
"--
|
|
18101
|
-
"
|
|
18102
|
-
"-
|
|
18103
|
-
|
|
18140
|
+
const numArgs = uncommitted ? [
|
|
18141
|
+
"diff",
|
|
18142
|
+
"--numstat",
|
|
18143
|
+
"-z",
|
|
18144
|
+
"--no-renames",
|
|
18145
|
+
oldRev
|
|
18146
|
+
] : [
|
|
18147
|
+
"diff",
|
|
18148
|
+
"--numstat",
|
|
18149
|
+
"-z",
|
|
18150
|
+
"--no-renames",
|
|
18151
|
+
oldRev,
|
|
18152
|
+
newRev
|
|
18153
|
+
];
|
|
18154
|
+
const [nameStatus, numstat, untracked] = await Promise.all([
|
|
18155
|
+
git(nameArgs, dir).catch(() => ""),
|
|
18156
|
+
git(numArgs, dir).catch(() => ""),
|
|
18157
|
+
uncommitted ? git([
|
|
18158
|
+
"ls-files",
|
|
18159
|
+
"--others",
|
|
18160
|
+
"--exclude-standard",
|
|
18161
|
+
"-z"
|
|
18162
|
+
], dir).catch(() => "") : Promise.resolve("")
|
|
18163
|
+
]);
|
|
18104
18164
|
const entries = [];
|
|
18105
18165
|
const parts = nameStatus.split("\0").filter(Boolean);
|
|
18106
18166
|
for (let i = 0; i + 1 < parts.length; i += 2) entries.push({
|
|
@@ -18111,12 +18171,49 @@ async function collectFiles(dir, oldRev, newRev, uncommitted) {
|
|
|
18111
18171
|
path: file,
|
|
18112
18172
|
status: "A"
|
|
18113
18173
|
});
|
|
18174
|
+
const stats = parseNumstat(numstat);
|
|
18114
18175
|
const olds = await batchContents(dir, oldRev, entries.filter((e) => e.status !== "A").map((e) => e.path));
|
|
18115
18176
|
const news = uncommitted ? null : await batchContents(dir, newRev, entries.filter((e) => e.status !== "D").map((e) => e.path));
|
|
18116
|
-
const files = await Promise.all(entries.map((e) =>
|
|
18177
|
+
const files = await Promise.all(entries.map(async (e) => {
|
|
18178
|
+
const file = news ? fromBlobs(e.path, e.status, olds.get(e.path), news.get(e.path)) : await loadWorktreeFile(dir, e.path, e.status, olds.get(e.path));
|
|
18179
|
+
const st = stats.get(e.path);
|
|
18180
|
+
if (st) {
|
|
18181
|
+
file.additions = st.additions;
|
|
18182
|
+
file.deletions = st.deletions;
|
|
18183
|
+
} else if (e.status === "A" && file.new != null && !file.binary) {
|
|
18184
|
+
file.additions = countLines(file.new);
|
|
18185
|
+
file.deletions = 0;
|
|
18186
|
+
}
|
|
18187
|
+
return file;
|
|
18188
|
+
}));
|
|
18117
18189
|
files.sort((a, b) => a.path.localeCompare(b.path));
|
|
18118
18190
|
return files;
|
|
18119
18191
|
}
|
|
18192
|
+
/** `git diff --numstat -z`: `add\tdel\tpath\0` (or `-\t-\tpath` for binary). */
|
|
18193
|
+
function parseNumstat(raw) {
|
|
18194
|
+
const map = /* @__PURE__ */ new Map();
|
|
18195
|
+
for (const chunk of raw.split("\0").filter(Boolean)) {
|
|
18196
|
+
const tab1 = chunk.indexOf(" ");
|
|
18197
|
+
const tab2 = tab1 < 0 ? -1 : chunk.indexOf(" ", tab1 + 1);
|
|
18198
|
+
if (tab1 < 0 || tab2 < 0) continue;
|
|
18199
|
+
const addRaw = chunk.slice(0, tab1);
|
|
18200
|
+
const delRaw = chunk.slice(tab1 + 1, tab2);
|
|
18201
|
+
const filePath = chunk.slice(tab2 + 1);
|
|
18202
|
+
if (!filePath || addRaw === "-" || delRaw === "-") continue;
|
|
18203
|
+
map.set(filePath, {
|
|
18204
|
+
additions: Number(addRaw) || 0,
|
|
18205
|
+
deletions: Number(delRaw) || 0
|
|
18206
|
+
});
|
|
18207
|
+
}
|
|
18208
|
+
return map;
|
|
18209
|
+
}
|
|
18210
|
+
function countLines(text) {
|
|
18211
|
+
if (!text) return 0;
|
|
18212
|
+
let n = 1;
|
|
18213
|
+
for (let i = 0; i < text.length; i++) if (text.charCodeAt(i) === 10) n++;
|
|
18214
|
+
if (text.endsWith("\n")) n--;
|
|
18215
|
+
return n;
|
|
18216
|
+
}
|
|
18120
18217
|
/** Blob contents for many paths through a single `git cat-file --batch`
|
|
18121
18218
|
* process (instead of one `git show` per file). Blobs over MAX_FILE_BYTES
|
|
18122
18219
|
* are skipped and mapped to "tooLarge". */
|
|
@@ -22807,4 +22904,4 @@ server.listen(port, () => {
|
|
|
22807
22904
|
//#endregion
|
|
22808
22905
|
export {};
|
|
22809
22906
|
|
|
22810
|
-
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-
|
|
22907
|
+
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-DkSXfvNK.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-DkSXfvNK.css\"",">"],"defer":[2,"/assets/index-CruM-Gda.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-CruM-Gda.js\"","></script>"]}};
|