@dylanpiercey/work 0.0.60 → 0.0.62
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/{_ClVMyLE5.js → _7mK9AY0T.js} +38 -38
- package/dist/{_ChewfKaJ.js → _Bku5pAVE.js} +59 -61
- package/dist/index.mjs +263 -248
- package/dist/public/assets/{_DLcRnroj.js → _0nS-teL3.js} +1 -1
- package/dist/public/assets/_0nS-teL3.js.br +0 -0
- package/dist/public/assets/{_CSallSJG.js → _8exFiBrt.js} +1 -1
- package/dist/public/assets/_8exFiBrt.js.br +0 -0
- package/dist/public/assets/{_lXuBRT2E.js → _8iazSXl8.js} +1 -1
- package/dist/public/assets/_8iazSXl8.js.br +0 -0
- package/dist/public/assets/{_CZgG2kDY2.js → _B0-BDtgM2.js} +1 -1
- package/dist/public/assets/_B0-BDtgM2.js.br +0 -0
- package/dist/public/assets/{_DecAo0iu2.js → _B2-kdJTs2.js} +1 -1
- package/dist/public/assets/_B2-kdJTs2.js.br +0 -0
- package/dist/public/assets/{_42x5s11H2.js → _B4UdeAxL2.js} +1 -1
- package/dist/public/assets/_B4UdeAxL2.js.br +0 -0
- package/dist/public/assets/{_DkfT40OE.js → _B8TieFt8.js} +1 -1
- package/dist/public/assets/_B8TieFt8.js.br +0 -0
- package/dist/public/assets/{_CgqUZdZA.js → _BCeOFTBB.js} +1 -1
- package/dist/public/assets/_BCeOFTBB.js.br +0 -0
- package/dist/public/assets/{_B2tNWK-Q.js → _BIeQw4Bf.js} +1 -1
- package/dist/public/assets/_BIeQw4Bf.js.br +0 -0
- package/dist/public/assets/{_CqxlXMkX2.js → _BLwcyRiN2.js} +1 -1
- package/dist/public/assets/{_CstLsPiV.js → _BWytSBjx.js} +1 -1
- package/dist/public/assets/_BWytSBjx.js.br +0 -0
- package/dist/public/assets/{_lYKYmM3J.js → _Bayn9p2i.js} +1 -1
- package/dist/public/assets/_Bayn9p2i.js.br +0 -0
- package/dist/public/assets/{_CLiDNUtB2.js → _BeTcBc4J2.js} +1 -1
- package/dist/public/assets/_BeTcBc4J2.js.br +0 -0
- package/dist/public/assets/{_IRZfmIpy2.js → _BgmVSeJ-2.js} +1 -1
- package/dist/public/assets/_BgmVSeJ-2.js.br +0 -0
- package/dist/public/assets/{_BdcrknAf.js → _BjagzzUC.js} +1 -1
- package/dist/public/assets/_BjagzzUC.js.br +0 -0
- package/dist/public/assets/{_C2cS7p242.js → _BkGvxDxN2.js} +1 -1
- package/dist/public/assets/_BkGvxDxN2.js.br +0 -0
- package/dist/public/assets/{_CaekXjJU.js → _Bl99pSfp.js} +1 -1
- package/dist/public/assets/_Bl99pSfp.js.br +0 -0
- package/dist/public/assets/{_CjAQ1KCh.js → _BmYp0pKL.js} +1 -1
- package/dist/public/assets/_BmYp0pKL.js.br +0 -0
- package/dist/public/assets/{_B3-VeQSO2.js → _Br-E8YAz2.js} +1 -1
- package/dist/public/assets/_Br-E8YAz2.js.br +0 -0
- package/dist/public/assets/{_DhH0F8Zn2.js → _ByAdeD1X2.js} +1 -1
- package/dist/public/assets/{_CtTl8f7P.js → _BzOQxEe-.js} +1 -1
- package/dist/public/assets/_BzOQxEe-.js.br +0 -0
- package/dist/public/assets/{_UbPz401r2.js → _C2j7Tws62.js} +1 -1
- package/dist/public/assets/_C2j7Tws62.js.br +0 -0
- package/dist/public/assets/{_CtEn0wfF.js → _C5iLuQxE.js} +1 -1
- package/dist/public/assets/_C5iLuQxE.js.br +0 -0
- package/dist/public/assets/{_BJP0SbUA.js → _C9MpuLme.js} +1 -1
- package/dist/public/assets/_C9MpuLme.js.br +0 -0
- package/dist/public/assets/{_BLYyRpTe.js → _CCyW-1Sn.js} +1 -1
- package/dist/public/assets/_CCyW-1Sn.js.br +0 -0
- package/dist/public/assets/{_DPHZ6DKx.js → _CHDkG0wx.js} +1 -1
- package/dist/public/assets/_CHDkG0wx.js.br +0 -0
- package/dist/public/assets/{_BPIre04w.js → _CInstDdo.js} +1 -1
- package/dist/public/assets/_CInstDdo.js.br +0 -0
- package/dist/public/assets/{_BZWHHLk02.js → _CLM8BIDc2.js} +1 -1
- package/dist/public/assets/_CLM8BIDc2.js.br +0 -0
- package/dist/public/assets/{_BRMDNCsM.js → _CRdIqR3o.js} +1 -1
- package/dist/public/assets/_CRdIqR3o.js.br +0 -0
- package/dist/public/assets/{_Uip1nPxb.js → _CRyXwIGb.js} +1 -1
- package/dist/public/assets/_CRyXwIGb.js.br +0 -0
- package/dist/public/assets/{_DrlSH3bL.js → _CSAeGtT-.js} +1 -1
- package/dist/public/assets/_CSAeGtT-.js.br +0 -0
- package/dist/public/assets/{_BzO7NAJi.js → _CVsuoQ1S.js} +1 -1
- package/dist/public/assets/_CVsuoQ1S.js.br +0 -0
- package/dist/public/assets/{_CChX5EZ7.js → _CX9IsvBg.js} +1 -1
- package/dist/public/assets/_CX9IsvBg.js.br +0 -0
- package/dist/public/assets/{_cJ8Aa7n2.js → _C_Lwpyr2.js} +1 -1
- package/dist/public/assets/_C_Lwpyr2.js.br +0 -0
- package/dist/public/assets/{_BzvuTyae.js → _Cbo_I8cI.js} +1 -1
- package/dist/public/assets/_Cbo_I8cI.js.br +0 -0
- package/dist/public/assets/{_CWei98x02.js → _Cbxy3waF2.js} +1 -1
- package/dist/public/assets/_Cbxy3waF2.js.br +0 -0
- package/dist/public/assets/{_C1ArFVEP.js → _CcbdxX3j.js} +1 -1
- package/dist/public/assets/_CcbdxX3j.js.br +0 -0
- package/dist/public/assets/{_BSzW3g1d.js → _CflINbuk.js} +1 -1
- package/dist/public/assets/_CflINbuk.js.br +0 -0
- package/dist/public/assets/{_CV6cTcz8.js → _CojE1Rih.js} +1 -1
- package/dist/public/assets/_CojE1Rih.js.br +0 -0
- package/dist/public/assets/{_BnXEI9qo.js → _Cpgb4jiw.js} +1 -1
- package/dist/public/assets/_Cpgb4jiw.js.br +0 -0
- package/dist/public/assets/{_DYaK87nx2.js → _CrK5zb132.js} +1 -1
- package/dist/public/assets/_CrK5zb132.js.br +0 -0
- package/dist/public/assets/{_DhNL-76d.js → _CtfiRZQm.js} +1 -1
- package/dist/public/assets/_CtfiRZQm.js.br +0 -0
- package/dist/public/assets/{_VNMl-psc.js → _CtqLNr1H.js} +1 -1
- package/dist/public/assets/_CtqLNr1H.js.br +0 -0
- package/dist/public/assets/{_oPgm8NHr.js → _CyGDwTMI.js} +1 -1
- package/dist/public/assets/_CyGDwTMI.js.br +0 -0
- package/dist/public/assets/{_DBV_h12q.js → _CyMahfmq.js} +1 -1
- package/dist/public/assets/_CyMahfmq.js.br +0 -0
- package/dist/public/assets/{_BcYb7jmc2.js → _CzOaX-Fg2.js} +1 -1
- package/dist/public/assets/_CzOaX-Fg2.js.br +0 -0
- package/dist/public/assets/{_B1Muv8-Y.js → _D5J07fN3.js} +6 -5
- package/dist/public/assets/_D5J07fN3.js.br +0 -0
- package/dist/public/assets/{_DimnOG4y.js → _D9D3tNbX.js} +1 -1
- package/dist/public/assets/_D9D3tNbX.js.br +0 -0
- package/dist/public/assets/{_P2ZXyuJW.js → _DGUdL3hy.js} +1 -1
- package/dist/public/assets/_DGUdL3hy.js.br +0 -0
- package/dist/public/assets/{_Dwxu4g1O.js → _DJ_WfU5M.js} +1 -1
- package/dist/public/assets/_DJ_WfU5M.js.br +0 -0
- package/dist/public/assets/{_CSsiYrRQ2.js → _DM9tVZE72.js} +1 -1
- package/dist/public/assets/_DM9tVZE72.js.br +0 -0
- package/dist/public/assets/{_DnaeKZ2S.js → _DWW1tzOL.js} +1 -1
- package/dist/public/assets/_DWW1tzOL.js.br +0 -0
- package/dist/public/assets/{_B7RPF2Ld2.js → _DWpVZhhs2.js} +1 -1
- package/dist/public/assets/_DWpVZhhs2.js.br +0 -0
- package/dist/public/assets/{_CyZOsK7a.js → _DY8zXUcR.js} +1 -1
- package/dist/public/assets/_DY8zXUcR.js.br +0 -0
- package/dist/public/assets/{_C4a9EXfX2.js → _DZ7anwBF2.js} +1 -1
- package/dist/public/assets/_DZ7anwBF2.js.br +0 -0
- package/dist/public/assets/{_Kp0f82GC.js → _D_33ZhIK.js} +1 -1
- package/dist/public/assets/_D_33ZhIK.js.br +0 -0
- package/dist/public/assets/{_CsJ1M8hH.js → _DaT55_68.js} +1 -1
- package/dist/public/assets/_DaT55_68.js.br +0 -0
- package/dist/public/assets/{_Ch-Ac6NX.js → _Dc74DSEe.js} +1 -1
- package/dist/public/assets/{_iebfhv5g.js → _DfsjLM7K.js} +1 -1
- package/dist/public/assets/_DfsjLM7K.js.br +0 -0
- package/dist/public/assets/{_Blwm7iuJ.js → _DipM3Zqc.js} +1 -1
- package/dist/public/assets/_DipM3Zqc.js.br +0 -0
- package/dist/public/assets/{_Chzm4pk_.js → _DmcXv3A7.js} +1 -1
- package/dist/public/assets/_DmcXv3A7.js.br +0 -0
- package/dist/public/assets/{_C5AseieR.js → _Dr72TtQR.js} +1 -1
- package/dist/public/assets/_Dr72TtQR.js.br +0 -0
- package/dist/public/assets/{_BSGoXuh02.js → _DsQjcbbX2.js} +1 -1
- package/dist/public/assets/_DsQjcbbX2.js.br +0 -0
- package/dist/public/assets/{_BbMqXFsD2.js → _EgE1aM6k2.js} +1 -1
- package/dist/public/assets/_EgE1aM6k2.js.br +0 -0
- package/dist/public/assets/{_BpaY9jer.js → _IW93tBtf.js} +1 -1
- package/dist/public/assets/_IW93tBtf.js.br +0 -0
- package/dist/public/assets/{_Blr2G5VU2.js → _McDy2LPi2.js} +1 -1
- package/dist/public/assets/_McDy2LPi2.js.br +0 -0
- package/dist/public/assets/{_CNew2Kbs.js → _O5V7T0S-.js} +1 -1
- package/dist/public/assets/_O5V7T0S-.js.br +0 -0
- package/dist/public/assets/{_C0Z-HVyc.js → _dqzbkz96.js} +1 -1
- package/dist/public/assets/_dqzbkz96.js.br +0 -0
- package/dist/public/assets/{_DICJiWRS2.js → _hruXV0aM2.js} +1 -1
- package/dist/public/assets/_hruXV0aM2.js.br +0 -0
- package/dist/public/assets/{_C3hrwY6C2.js → _jFQI4vL22.js} +1 -1
- package/dist/public/assets/_jFQI4vL22.js.br +0 -0
- package/dist/public/assets/{_CtcDduFc.js → _jXivZHPc.js} +1 -1
- package/dist/public/assets/_jXivZHPc.js.br +0 -0
- package/dist/public/assets/{_BYrXO5Dy2.js → _txgmYLEK2.js} +1 -1
- package/dist/public/assets/_txgmYLEK2.js.br +0 -0
- package/dist/public/assets/{_BS-YaebF2.js → _vKlXsaGv2.js} +1 -1
- package/dist/public/assets/_vKlXsaGv2.js.br +0 -0
- package/dist/public/assets/{_BQAtssSI.js → _vtp3N3QP.js} +1 -1
- package/dist/public/assets/_vtp3N3QP.js.br +0 -0
- package/dist/public/assets/{_CcHz4ajH.js → _yt9OUojE.js} +1 -1
- package/dist/public/assets/_yt9OUojE.js.br +0 -0
- package/dist/public/assets/diff-view-3nxNMkla.css +1 -0
- package/dist/public/assets/diff-view-3nxNMkla.css.br +0 -0
- package/dist/public/assets/index-Crdde1-o.css +1 -0
- package/dist/public/assets/index-Crdde1-o.css.br +0 -0
- package/dist/public/assets/index-CuKPDokr.js +85 -0
- package/dist/public/assets/index-CuKPDokr.js.br +0 -0
- package/package.json +1 -1
- package/dist/public/assets/_42x5s11H2.js.br +0 -0
- package/dist/public/assets/_B1Muv8-Y.js.br +0 -0
- package/dist/public/assets/_B2tNWK-Q.js.br +0 -0
- package/dist/public/assets/_B3-VeQSO2.js.br +0 -0
- package/dist/public/assets/_B7RPF2Ld2.js.br +0 -0
- package/dist/public/assets/_BJP0SbUA.js.br +0 -0
- package/dist/public/assets/_BLYyRpTe.js.br +0 -0
- package/dist/public/assets/_BPIre04w.js.br +0 -4
- package/dist/public/assets/_BQAtssSI.js.br +0 -0
- package/dist/public/assets/_BRMDNCsM.js.br +0 -0
- package/dist/public/assets/_BS-YaebF2.js.br +0 -0
- package/dist/public/assets/_BSGoXuh02.js.br +0 -0
- package/dist/public/assets/_BSzW3g1d.js.br +0 -0
- package/dist/public/assets/_BYrXO5Dy2.js.br +0 -0
- package/dist/public/assets/_BZWHHLk02.js.br +0 -0
- package/dist/public/assets/_BbMqXFsD2.js.br +0 -0
- package/dist/public/assets/_BcYb7jmc2.js.br +0 -0
- package/dist/public/assets/_BdcrknAf.js.br +0 -0
- package/dist/public/assets/_Blr2G5VU2.js.br +0 -0
- package/dist/public/assets/_Blwm7iuJ.js.br +0 -0
- package/dist/public/assets/_BnXEI9qo.js.br +0 -0
- package/dist/public/assets/_BpaY9jer.js.br +0 -0
- package/dist/public/assets/_BzO7NAJi.js.br +0 -0
- package/dist/public/assets/_BzvuTyae.js.br +0 -0
- package/dist/public/assets/_C0Z-HVyc.js.br +0 -0
- package/dist/public/assets/_C1ArFVEP.js.br +0 -0
- package/dist/public/assets/_C2cS7p242.js.br +0 -0
- package/dist/public/assets/_C3hrwY6C2.js.br +0 -0
- package/dist/public/assets/_C4a9EXfX2.js.br +0 -0
- package/dist/public/assets/_C5AseieR.js.br +0 -0
- package/dist/public/assets/_CChX5EZ7.js.br +0 -0
- package/dist/public/assets/_CLiDNUtB2.js.br +0 -0
- package/dist/public/assets/_CNew2Kbs.js.br +0 -0
- package/dist/public/assets/_CSallSJG.js.br +0 -0
- package/dist/public/assets/_CSsiYrRQ2.js.br +0 -0
- package/dist/public/assets/_CV6cTcz8.js.br +0 -0
- package/dist/public/assets/_CWei98x02.js.br +0 -0
- package/dist/public/assets/_CZgG2kDY2.js.br +0 -0
- package/dist/public/assets/_CaekXjJU.js.br +0 -0
- package/dist/public/assets/_CcHz4ajH.js.br +0 -0
- package/dist/public/assets/_CgqUZdZA.js.br +0 -0
- package/dist/public/assets/_Chzm4pk_.js.br +0 -0
- package/dist/public/assets/_CjAQ1KCh.js.br +0 -0
- package/dist/public/assets/_CsJ1M8hH.js.br +0 -0
- package/dist/public/assets/_CstLsPiV.js.br +0 -0
- package/dist/public/assets/_CtEn0wfF.js.br +0 -0
- package/dist/public/assets/_CtTl8f7P.js.br +0 -0
- package/dist/public/assets/_CtcDduFc.js.br +0 -0
- package/dist/public/assets/_CyZOsK7a.js.br +0 -0
- package/dist/public/assets/_DBV_h12q.js.br +0 -0
- package/dist/public/assets/_DICJiWRS2.js.br +0 -0
- package/dist/public/assets/_DLcRnroj.js.br +0 -0
- package/dist/public/assets/_DPHZ6DKx.js.br +0 -0
- package/dist/public/assets/_DYaK87nx2.js.br +0 -0
- package/dist/public/assets/_DecAo0iu2.js.br +0 -0
- package/dist/public/assets/_DhNL-76d.js.br +0 -0
- package/dist/public/assets/_DimnOG4y.js.br +0 -0
- package/dist/public/assets/_DkfT40OE.js.br +0 -0
- package/dist/public/assets/_DnaeKZ2S.js.br +0 -0
- package/dist/public/assets/_DrlSH3bL.js.br +0 -0
- package/dist/public/assets/_Dwxu4g1O.js.br +0 -0
- package/dist/public/assets/_IRZfmIpy2.js.br +0 -0
- package/dist/public/assets/_Kp0f82GC.js.br +0 -0
- package/dist/public/assets/_P2ZXyuJW.js.br +0 -0
- package/dist/public/assets/_UbPz401r2.js.br +0 -0
- package/dist/public/assets/_Uip1nPxb.js.br +0 -0
- package/dist/public/assets/_VNMl-psc.js.br +0 -0
- package/dist/public/assets/_cJ8Aa7n2.js.br +0 -0
- package/dist/public/assets/_iebfhv5g.js.br +0 -0
- package/dist/public/assets/_lXuBRT2E.js.br +0 -0
- package/dist/public/assets/_lYKYmM3J.js.br +0 -0
- package/dist/public/assets/_oPgm8NHr.js.br +0 -0
- package/dist/public/assets/diff-view-ftFkEP29.css +0 -1
- package/dist/public/assets/diff-view-ftFkEP29.css.br +0 -0
- package/dist/public/assets/index-BlSd7rYn.js +0 -85
- package/dist/public/assets/index-BlSd7rYn.js.br +0 -0
- package/dist/public/assets/index-D1yXf_HO.css +0 -1
- package/dist/public/assets/index-D1yXf_HO.css.br +0 -0
|
@@ -2001,9 +2001,9 @@ var tone = {
|
|
|
2001
2001
|
};
|
|
2002
2002
|
var metaTrunc = "_N _M";
|
|
2003
2003
|
var inputLg = "_P _O";
|
|
2004
|
-
var iconBtnXs = "
|
|
2005
|
-
var iconBtnRow = "
|
|
2006
|
-
var iconBtnLg = "
|
|
2004
|
+
var iconBtnXs = "_T _d";
|
|
2005
|
+
var iconBtnRow = "_U _d";
|
|
2006
|
+
var iconBtnLg = "_V _d";
|
|
2007
2007
|
//#endregion
|
|
2008
2008
|
//#region src/client/github.ts
|
|
2009
2009
|
/** A repo's full name is `[host/]owner/name`; the host segment is present
|
|
@@ -2028,15 +2028,15 @@ function repoLabel(fullName) {
|
|
|
2028
2028
|
return fullName;
|
|
2029
2029
|
}
|
|
2030
2030
|
var toastKind = {
|
|
2031
|
-
error: "_2",
|
|
2032
|
-
warn: "_3",
|
|
2033
|
-
info: "_4"
|
|
2034
|
-
};
|
|
2035
|
-
var toastTitle = {
|
|
2036
2031
|
error: "_5",
|
|
2037
2032
|
warn: "_6",
|
|
2038
2033
|
info: "_7"
|
|
2039
2034
|
};
|
|
2035
|
+
var toastTitle = {
|
|
2036
|
+
error: "_8",
|
|
2037
|
+
warn: "_9",
|
|
2038
|
+
info: "__"
|
|
2039
|
+
};
|
|
2040
2040
|
//#endregion
|
|
2041
2041
|
//#region src/tags/toast.marko
|
|
2042
2042
|
var toast_default = _template("x", (input) => {
|
|
@@ -2047,18 +2047,18 @@ var toast_default = _template("x", (input) => {
|
|
|
2047
2047
|
const kind = inputKind || "error";
|
|
2048
2048
|
const placement = inputPlacement || "float";
|
|
2049
2049
|
const placementClass = {
|
|
2050
|
-
float: "
|
|
2051
|
-
inline: "
|
|
2050
|
+
float: "_3",
|
|
2051
|
+
inline: "_4"
|
|
2052
2052
|
}[placement];
|
|
2053
2053
|
_html(`<div${_attr_class([
|
|
2054
|
-
"
|
|
2054
|
+
"_2",
|
|
2055
2055
|
toastKind[kind],
|
|
2056
2056
|
placementClass,
|
|
2057
2057
|
inputClass
|
|
2058
2058
|
])} role=${kind === "error" ? "alert" : "status"}${_attrs_partial(htmlInput, {
|
|
2059
2059
|
class: 1,
|
|
2060
2060
|
role: 1
|
|
2061
|
-
}, "a", $scope0_id, "div")}><div${_attr_class("
|
|
2061
|
+
}, "a", $scope0_id, "div")}><div${_attr_class("_ba")}>`);
|
|
2062
2062
|
_if(() => {
|
|
2063
2063
|
if (title) {
|
|
2064
2064
|
const $scope1_id = _scope_id();
|
|
@@ -2070,7 +2070,7 @@ var toast_default = _template("x", (input) => {
|
|
|
2070
2070
|
_if(() => {
|
|
2071
2071
|
if (content) {
|
|
2072
2072
|
const $scope2_id = _scope_id();
|
|
2073
|
-
_html(`<div${_attr_class("
|
|
2073
|
+
_html(`<div${_attr_class("_bb")}>`);
|
|
2074
2074
|
_dynamic_tag($scope2_id, "b", content, {}, 0, 0, $sg__input_content);
|
|
2075
2075
|
_html("</div>");
|
|
2076
2076
|
$si__input_content && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2081,7 +2081,7 @@ var toast_default = _template("x", (input) => {
|
|
|
2081
2081
|
_if(() => {
|
|
2082
2082
|
if (action || onDismiss) {
|
|
2083
2083
|
const $scope3_id = _scope_id();
|
|
2084
|
-
_html(`<div${_attr_class("
|
|
2084
|
+
_html(`<div${_attr_class("_bc")}>`);
|
|
2085
2085
|
_if(() => {
|
|
2086
2086
|
if (action) {
|
|
2087
2087
|
const $scope4_id = _scope_id();
|
|
@@ -2093,7 +2093,7 @@ var toast_default = _template("x", (input) => {
|
|
|
2093
2093
|
_if(() => {
|
|
2094
2094
|
if (onDismiss) {
|
|
2095
2095
|
const $scope5_id = _scope_id();
|
|
2096
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
2096
|
+
_html(`<button${_attr_class([iconBtnRow, "_bd"])} type=button title=Dismiss aria-label=Dismiss>×</button>${_el_resume($scope5_id, "a")}`);
|
|
2097
2097
|
_script($scope5_id, "x0");
|
|
2098
2098
|
writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
|
|
2099
2099
|
return 0;
|
|
@@ -2121,9 +2121,9 @@ var toast_default = _template("x", (input) => {
|
|
|
2121
2121
|
});
|
|
2122
2122
|
_resume_branch($scope0_id);
|
|
2123
2123
|
});
|
|
2124
|
-
var sectionCount = "
|
|
2125
|
-
var row = "
|
|
2126
|
-
var iconBtn = "
|
|
2124
|
+
var sectionCount = "_bq _C _D";
|
|
2125
|
+
var row = "_bB _bt";
|
|
2126
|
+
var iconBtn = "_U _d";
|
|
2127
2127
|
//#endregion
|
|
2128
2128
|
//#region src/tags/icons/icon-base.marko
|
|
2129
2129
|
var icon_base_default = _template("C", (input) => {
|
|
@@ -2168,6 +2168,23 @@ var icon_back_default = _template("B", (input) => {
|
|
|
2168
2168
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
2169
2169
|
});
|
|
2170
2170
|
//#endregion
|
|
2171
|
+
//#region src/tags/icons/icon-search.marko
|
|
2172
|
+
var icon_search_default = _template("P", (input) => {
|
|
2173
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
2174
|
+
const $scope0_id = _scope_id();
|
|
2175
|
+
_set_serialize_reason({
|
|
2176
|
+
0: $sg__input_size__OR__input_class,
|
|
2177
|
+
1: $sg__input_size__OR__input_class
|
|
2178
|
+
});
|
|
2179
|
+
const $childScope = _peek_scope_id();
|
|
2180
|
+
icon_base_default({
|
|
2181
|
+
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",
|
|
2182
|
+
size: input.size,
|
|
2183
|
+
class: input.class
|
|
2184
|
+
});
|
|
2185
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
2186
|
+
});
|
|
2187
|
+
//#endregion
|
|
2171
2188
|
//#region src/client/fuzzy.ts
|
|
2172
2189
|
/** Rank an "org/name" repo against a query, weighting the name over the
|
|
2173
2190
|
* org. Higher is better; -1 means no match (including an empty query —
|
|
@@ -2269,24 +2286,7 @@ var icon_sidebar_default = _template("S", (input) => {
|
|
|
2269
2286
|
});
|
|
2270
2287
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
2271
2288
|
});
|
|
2272
|
-
var findInput = "
|
|
2273
|
-
var findIconBtn = "
|
|
2274
|
-
//#endregion
|
|
2275
|
-
//#region src/tags/icons/icon-search.marko
|
|
2276
|
-
var icon_search_default = _template("P", (input) => {
|
|
2277
|
-
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
2278
|
-
const $scope0_id = _scope_id();
|
|
2279
|
-
_set_serialize_reason({
|
|
2280
|
-
0: $sg__input_size__OR__input_class,
|
|
2281
|
-
1: $sg__input_size__OR__input_class
|
|
2282
|
-
});
|
|
2283
|
-
const $childScope = _peek_scope_id();
|
|
2284
|
-
icon_base_default({
|
|
2285
|
-
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",
|
|
2286
|
-
size: input.size,
|
|
2287
|
-
class: input.class
|
|
2288
|
-
});
|
|
2289
|
-
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
2290
|
-
});
|
|
2289
|
+
var findInput = "_fL _f";
|
|
2290
|
+
var findIconBtn = "_fO _d";
|
|
2291
2291
|
//#endregion
|
|
2292
|
-
export { _hoist as $, tone as A, _attrs as B, btnSm as C, attrTag as Ct, inputLg as D, iconBtnXs as E, _attr_input_value as F, _dynamic_tag as G, _await as H, _attr_option_value as I, _el_resume as J, _el as K, _attr_or as L, _attr as M, _attr_class as N, metaTrunc as O, _attr_details_or_dialog_open as P, _for_of as Q, _attr_select_value as R, btnLg as S, _var as St, iconBtnRow as T, writeScope as Tt, _content as U, _attrs_partial as V, _content_resume as W, _existing_scope as X, _escape as Y, _flush_head as Z, sectionCount as _, _subscribe as _t,
|
|
2292
|
+
export { _hoist as $, tone as A, _attrs as B, btnSm as C, attrTag as Ct, inputLg as D, iconBtnXs as E, _attr_input_value as F, _dynamic_tag as G, _await as H, _attr_option_value as I, _el_resume as J, _el as K, _attr_or as L, _attr as M, _attr_class as N, metaTrunc as O, _attr_details_or_dialog_open as P, _for_of as Q, _attr_select_value as R, btnLg as S, _var as St, iconBtnRow as T, writeScope as Tt, _content as U, _attrs_partial as V, _content_resume as W, _existing_scope as X, _escape as Y, _flush_head as Z, sectionCount as _, _subscribe as _t, diffUncommitted as a, _resume as at, repoWebUrl as b, _trailers as bt, workspaceTab as c, _scope_reason as ct, icon_search_default as d, _sep as dt, _hoist_read_error as et, icon_back_default as f, _serialize_guard as ft, row as g, _show_start as gt, iconBtn as h, _show_end as ht, diffTreeOpen as i, _peek_scope_id as it, $global as j, phase as k, fuzzy as l, _scope_with_id as lt, icon_base_default as m, _set_serialize_reason as mt, findInput as n, _id as nt, setWorkspaceTab as o, _resume_branch as ot, icon_refresh_default as p, _serialize_if as pt, _el_read_error as q, icon_sidebar_default as r, _if as rt, sideNavOpen as s, _scope_id as st, findIconBtn as t, _html as tt, rankRepos as u, _script as ut, toast_default as v, _template as vt, iconBtnLg as w, withPageAssets as wt, setPrimaryHost as x, _try as xt, repoLabel as y, _to_text as yt, _attr_style as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as tone, Ct as attrTag, F as _attr_input_value, I as _attr_option_value, J as _el_resume, K as _el, M as _attr, N as _attr_class, P as _attr_details_or_dialog_open, Q as _for_of, R as _attr_select_value, T as iconBtnRow, Tt as writeScope, W as _content_resume, X as _existing_scope, Y as _escape, _t as _subscribe, a as
|
|
1
|
+
import { A as tone, Ct as attrTag, F as _attr_input_value, I as _attr_option_value, J as _el_resume, K as _el, M as _attr, N as _attr_class, P as _attr_details_or_dialog_open, Q as _for_of, R as _attr_select_value, T as iconBtnRow, Tt as writeScope, W as _content_resume, X as _existing_scope, Y as _escape, _t as _subscribe, a as diffUncommitted, at as _resume, ct as _scope_reason, d as icon_search_default, dt as _sep, f as icon_back_default, ft as _serialize_guard, gt as _show_start, ht as _show_end, i as diffTreeOpen, it as _peek_scope_id, l as fuzzy, lt as _scope_with_id, mt as _set_serialize_reason, n as findInput, ot as _resume_branch, p as icon_refresh_default, pt as _serialize_if, q as _el_read_error, r as icon_sidebar_default, rt as _if, st as _scope_id, t as findIconBtn, tt as _html, ut as _script, v as toast_default, vt as _template, w as iconBtnLg, y as repoLabel, z as _attr_style } from "./_7mK9AY0T.js";
|
|
2
2
|
//#region src/client/clipboard.ts
|
|
3
3
|
/** Copy text to the clipboard. `navigator.clipboard` needs a secure
|
|
4
4
|
* context — absent over plain-http LAN origins — so fall back to a hidden
|
|
@@ -260,10 +260,10 @@ function treeRows(files) {
|
|
|
260
260
|
walk(root, 0, "");
|
|
261
261
|
return rows;
|
|
262
262
|
}
|
|
263
|
-
var treeToggle = "
|
|
264
|
-
var repoWorktree = "
|
|
265
|
-
var repoTitle = "
|
|
266
|
-
var fileFilter = "
|
|
263
|
+
var treeToggle = "_d_ _U _d";
|
|
264
|
+
var repoWorktree = "_eC _r";
|
|
265
|
+
var repoTitle = "_eE _q";
|
|
266
|
+
var fileFilter = "_fy _f";
|
|
267
267
|
//#endregion
|
|
268
268
|
//#region src/tags/file-filter.marko
|
|
269
269
|
var file_filter_default = _template("j", (input) => {
|
|
@@ -293,7 +293,7 @@ var file_filter_default = _template("j", (input) => {
|
|
|
293
293
|
pending = v;
|
|
294
294
|
box.timer = setTimeout(flush, 150);
|
|
295
295
|
}, "j2", $scope0_id);
|
|
296
|
-
_html(`<div${_attr_class("
|
|
296
|
+
_html(`<div${_attr_class("_fx")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
297
297
|
type(v);
|
|
298
298
|
}, "j0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
299
299
|
_script($scope0_id, "j3");
|
|
@@ -319,7 +319,7 @@ var diff_send_default = _template("g", (input) => {
|
|
|
319
319
|
let sendTarget = null;
|
|
320
320
|
const sessions = input.sessions || [];
|
|
321
321
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
322
|
-
_html(`<span${_attr_class("
|
|
322
|
+
_html(`<span${_attr_class("_ft")}><button type=button${_attr_class("_i")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
|
|
323
323
|
_if(() => {
|
|
324
324
|
if (sessions.length === 1) {
|
|
325
325
|
const $scope1_id = _scope_id();
|
|
@@ -329,11 +329,11 @@ var diff_send_default = _template("g", (input) => {
|
|
|
329
329
|
return 0;
|
|
330
330
|
} else if (sessions.length) {
|
|
331
331
|
const $scope2_id = _scope_id();
|
|
332
|
-
_html(`<span${_attr_class("
|
|
332
|
+
_html(`<span${_attr_class("_fu")}><button type=button${_attr_class(["_j", "_fv"])}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
|
|
333
333
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
334
334
|
sendTarget = _new_sendTarget;
|
|
335
335
|
}, "g0", $scope2_id), () => {
|
|
336
|
-
_html(`<select${_attr_class("
|
|
336
|
+
_html(`<select${_attr_class("_fw")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
337
337
|
_for_of(sessions, (s) => {
|
|
338
338
|
const $scope3_id = _scope_id();
|
|
339
339
|
_html(`<option${_attr_option_value(s.id)}>${_escape(s.title || s.agent)}${_el_resume($scope3_id, "b", $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
|
|
@@ -1869,9 +1869,9 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1869
1869
|
el.select();
|
|
1870
1870
|
}, 0);
|
|
1871
1871
|
}, "f5", $scope0_id);
|
|
1872
|
-
_html(`<div${_attr_class(["
|
|
1872
|
+
_html(`<div${_attr_class(["_fK", !open && "_fJ"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
1873
1873
|
type(v);
|
|
1874
|
-
}, "f0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in diffs" aria-label="Find in diffs">${_el_resume($scope0_id, "b")}<span${_attr_class("
|
|
1874
|
+
}, "f0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in diffs" aria-label="Find in diffs">${_el_resume($scope0_id, "b")}<span${_attr_class("_fN")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a")}`);
|
|
1875
1875
|
_script($scope0_id, "f6");
|
|
1876
1876
|
_script($scope0_id, "f7");
|
|
1877
1877
|
_script($scope0_id, "f8");
|
|
@@ -1904,13 +1904,11 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1904
1904
|
});
|
|
1905
1905
|
_resume_branch($scope0_id);
|
|
1906
1906
|
});
|
|
1907
|
-
//#endregion
|
|
1908
|
-
//#region src/tags/diff-file.marko
|
|
1909
1907
|
var diff_file_default = _template("e", (input) => {
|
|
1910
1908
|
_scope_reason();
|
|
1911
1909
|
const $scope0_id = _scope_id();
|
|
1912
1910
|
_el($scope0_id, "e0");
|
|
1913
|
-
_html(`<div${_attr_class(["
|
|
1911
|
+
_html(`<div${_attr_class(["_fs", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
1914
1912
|
_script($scope0_id, "e1");
|
|
1915
1913
|
writeScope($scope0_id, {
|
|
1916
1914
|
e: input.file,
|
|
@@ -1939,10 +1937,10 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1939
1937
|
let openedRepos = input.openedRepos;
|
|
1940
1938
|
let collapsedDirs = /* @__PURE__ */ new Set();
|
|
1941
1939
|
const commentKeys = input.commentKeys || /* @__PURE__ */ new Set();
|
|
1942
|
-
_html(`<aside${_attr_class(["
|
|
1940
|
+
_html(`<aside${_attr_class(["_fA", { ["_fz"]: input.open === false }])}>`);
|
|
1943
1941
|
_for_of(input.sections, (section) => {
|
|
1944
1942
|
const $scope1_id = _scope_id();
|
|
1945
|
-
_html(`<div${_attr_class("
|
|
1943
|
+
_html(`<div${_attr_class("_fB")}><button type=button${_attr_class(["_fC", { ["_fz"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_fH")}>${collapsedRepos.has(section.id) ? "▸" : "▾"}${_el_resume($scope1_id, "d")}</span>${_sep($sg__input_sections)}${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</button>${_el_resume($scope1_id, "b")}`);
|
|
1946
1944
|
_if(() => {
|
|
1947
1945
|
if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
|
|
1948
1946
|
const $scope2_id = _scope_id();
|
|
@@ -1969,17 +1967,17 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1969
1967
|
_if(() => {
|
|
1970
1968
|
if (!hiddenByCollapse(row) && row.kind === "dir") {
|
|
1971
1969
|
const $scope5_id = _scope_id();
|
|
1972
|
-
_html(`<button type=button${_attr_class(["
|
|
1970
|
+
_html(`<button type=button${_attr_class(["_fD", { ["_fz"]: collapsedDirs.has(dirKey(row.path)) }])}${_attr("title", row.path)}${_attr_style(`padding-left:${.35 + row.depth * .75}rem`)}><span${_attr_class("_fH")}>${collapsedDirs.has(dirKey(row.path)) ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_escape(row.label)}${_el_resume($scope5_id, "d", $sg__input_sections)}/</button>${_el_resume($scope5_id, "a")}`);
|
|
1973
1971
|
_script($scope5_id, "h3");
|
|
1974
1972
|
_subscribe($si__input_sections && $if_content__dirKey__closures, _subscribe($collapsedDirs__closures, writeScope($scope5_id, { Cv: 1 })));
|
|
1975
1973
|
return 0;
|
|
1976
1974
|
} else if (!hiddenByCollapse(row) && row.kind !== "dir") {
|
|
1977
1975
|
const $scope4_id = _scope_id();
|
|
1978
|
-
_html(`<button type=button${_attr_class("
|
|
1976
|
+
_html(`<button type=button${_attr_class("_fE")}${_attr("title", row.file.path)}${_attr_style(`padding-left:${.5 + row.depth * .75}rem`)}><span${_attr_class("_fI")}${_attr("data-status", row.file.status)}>${_escape(row.file.status)}${_el_resume($scope4_id, "c", $sg__input_sections)}</span>${_el_resume($scope4_id, "b", $sg__input_sections)}<span${_attr_class("_fF")}>${_escape(row.name)}${_el_resume($scope4_id, "e", $sg__input_sections)}</span>`);
|
|
1979
1977
|
_if(() => {
|
|
1980
1978
|
if (commentKeys.has(row.file.key)) {
|
|
1981
1979
|
const $scope6_id = _scope_id();
|
|
1982
|
-
_html(`<span${_attr_class("
|
|
1980
|
+
_html(`<span${_attr_class("_fG")}>💬</span>`);
|
|
1983
1981
|
_serialize_if($scope0_reason, 0) && writeScope($scope6_id, {});
|
|
1984
1982
|
return 0;
|
|
1985
1983
|
}
|
|
@@ -2050,10 +2048,10 @@ var diff_file_sheet_default = _template("d", (input) => {
|
|
|
2050
2048
|
_if(() => {
|
|
2051
2049
|
if (open) {
|
|
2052
2050
|
const $scope1_id = _scope_id();
|
|
2053
|
-
_html(`<div${_attr_class("
|
|
2051
|
+
_html(`<div${_attr_class("_fY")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_fZ")} role=dialog aria-label="Jump to file"><div${_attr_class("_f0")}><strong${_attr_class("_fX")}>Files</strong><span${_attr_class("_f1")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", _serialize_guard($scope0_reason, 6))}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "g", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class([iconBtnLg, "_fW"])} title=Close aria-label=Close>×</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_f2")}>`);
|
|
2054
2052
|
_for_of(input.files, (file) => {
|
|
2055
2053
|
const $scope2_id = _scope_id();
|
|
2056
|
-
_html(`<button type=button${_attr_class(["
|
|
2054
|
+
_html(`<button type=button${_attr_class(["_f3", "_r"])}><span${_attr_class("_f5")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope2_id, "c", $sg__input_files)}</span>${_el_resume($scope2_id, "b", $sg__input_files)}<span${_attr_class("_f4")}${_attr("title", file.key)}><bdi>${_escape(file.key)}${_el_resume($scope2_id, "e", $sg__input_files)}</bdi></span>${_el_resume($scope2_id, "d", $sg__input_files)}`);
|
|
2057
2055
|
_if(() => {
|
|
2058
2056
|
if (commentKeys.has(file.key)) {
|
|
2059
2057
|
const $scope3_id = _scope_id();
|
|
@@ -2447,11 +2445,11 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2447
2445
|
revealSearchHit();
|
|
2448
2446
|
}, 0);
|
|
2449
2447
|
}, "i20", $scope0_id);
|
|
2450
|
-
_html(`<div${_attr_class("
|
|
2448
|
+
_html(`<div${_attr_class("_d7")}><div${_attr_class("_eb")}><div${_attr_class(["_ec", { ["_ee"]: comments.length > 0 }])}><div${_attr_class("_eo")}>`);
|
|
2451
2449
|
_if(() => {
|
|
2452
2450
|
if (input.onExit) {
|
|
2453
2451
|
const $scope1_id = _scope_id();
|
|
2454
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
2452
|
+
_html(`<button${_attr_class([iconBtnRow, "_ed"])} title="Back to terminal (Esc)">`);
|
|
2455
2453
|
icon_back_default({ size: 14 });
|
|
2456
2454
|
_html(`</button>${_el_resume($scope1_id, "a")}`);
|
|
2457
2455
|
_script($scope1_id, "i36");
|
|
@@ -2459,7 +2457,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2459
2457
|
return 0;
|
|
2460
2458
|
}
|
|
2461
2459
|
}, $scope0_id, "e", $sg__input_onExit, $sg__input_onExit, 1, 0, 1);
|
|
2462
|
-
_html(`<h1${_attr_class("
|
|
2460
|
+
_html(`<h1${_attr_class("_eg")}>Review</h1><div${_attr_class("_ep")}>`);
|
|
2463
2461
|
_set_serialize_reason(2);
|
|
2464
2462
|
const $childScope = _peek_scope_id();
|
|
2465
2463
|
file_filter_default({
|
|
@@ -2468,16 +2466,16 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2468
2466
|
fileFilter = _new_fileFilter;
|
|
2469
2467
|
}, "i21", $scope0_id)
|
|
2470
2468
|
});
|
|
2471
|
-
_html(`</div><div${_attr_class("
|
|
2469
|
+
_html(`</div><div${_attr_class("_ef")}><span${_attr_class("_eq")}>`);
|
|
2472
2470
|
_if(() => {
|
|
2473
2471
|
if (lineStats.additions || lineStats.deletions) {
|
|
2474
2472
|
const $scope27_id = _scope_id();
|
|
2475
|
-
_html(`<span${_attr_class("
|
|
2473
|
+
_html(`<span${_attr_class("_er")}>+<!>${_escape(lineStats.additions)}${_el_resume($scope27_id, "b")}</span><span${_attr_class("_es")}>−<!>${_escape(lineStats.deletions)}${_el_resume($scope27_id, "d")}</span>`);
|
|
2476
2474
|
writeScope($scope27_id, {});
|
|
2477
2475
|
return 0;
|
|
2478
2476
|
} else {
|
|
2479
2477
|
const $scope29_id = _scope_id();
|
|
2480
|
-
_html(`<span${_attr_class("
|
|
2478
|
+
_html(`<span${_attr_class("_et")}>0</span>`);
|
|
2481
2479
|
writeScope($scope29_id, {});
|
|
2482
2480
|
return 1;
|
|
2483
2481
|
}
|
|
@@ -2485,7 +2483,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2485
2483
|
_if(() => {
|
|
2486
2484
|
if (comments.length) {
|
|
2487
2485
|
const $scope13_id = _scope_id();
|
|
2488
|
-
_html(`<span${_attr_class("
|
|
2486
|
+
_html(`<span${_attr_class("_eu")}>·</span>${_escape(comments.length)}${_el_resume($scope13_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope13_id, "c")}`);
|
|
2489
2487
|
writeScope($scope13_id, {});
|
|
2490
2488
|
return 0;
|
|
2491
2489
|
}
|
|
@@ -2505,23 +2503,23 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2505
2503
|
return 0;
|
|
2506
2504
|
}
|
|
2507
2505
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
2508
|
-
_html(`</div><div${_attr_class("
|
|
2506
|
+
_html(`</div><div${_attr_class("_ea")}><button${_attr_class([
|
|
2509
2507
|
treeToggle,
|
|
2510
|
-
"
|
|
2511
|
-
{ ["
|
|
2508
|
+
"_d9",
|
|
2509
|
+
{ ["_d8"]: treeOpen }
|
|
2512
2510
|
])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
|
|
2513
2511
|
icon_sidebar_default({ size: 14 });
|
|
2514
|
-
_html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([iconBtnRow, "
|
|
2512
|
+
_html(`</button>${_el_resume($scope0_id, "o")}<button${_attr_class([iconBtnRow, "_d9"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
2515
2513
|
_set_serialize_reason(1);
|
|
2516
2514
|
const $childScope3 = _peek_scope_id();
|
|
2517
2515
|
icon_refresh_default({
|
|
2518
2516
|
size: 14,
|
|
2519
2517
|
class: loading && "_y"
|
|
2520
2518
|
});
|
|
2521
|
-
_html(`</button>${_el_resume($scope0_id, "q")}<button${_attr_class(["_i", "
|
|
2522
|
-
["
|
|
2523
|
-
["
|
|
2524
|
-
}])} aria-pressed=${uncommitted ? "true" : "false"} title=${uncommitted ? "\"Working tree (incl. uncommitted) — tap for committed only\"" : "\"Committed only — tap to include the working tree\""}${_attr("disabled", loading)}>${uncommitted ? "Working tree" : "Committed"}${_el_resume($scope0_id, "y")}</button>${_el_resume($scope0_id, "x")}<div${_attr_class(["
|
|
2519
|
+
_html(`</button>${_el_resume($scope0_id, "q")}<button${_attr_class(["_i", "_eV"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope0_id, "t")})</button>${_el_resume($scope0_id, "s")}<div${_attr_class("_ev")} role=group aria-label="Review scope"><button type=button${_attr_class(["_ex", { ["_ew"]: !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(["_ex", { ["_ew"]: 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(["_ey", {
|
|
2520
|
+
["_ew"]: uncommitted,
|
|
2521
|
+
["_Y"]: uncommitted
|
|
2522
|
+
}])} aria-pressed=${uncommitted ? "true" : "false"} title=${uncommitted ? "\"Working tree (incl. uncommitted) — tap for committed only\"" : "\"Committed only — tap to include the working tree\""}${_attr("disabled", loading)}>${uncommitted ? "Working tree" : "Committed"}${_el_resume($scope0_id, "y")}</button>${_el_resume($scope0_id, "x")}<div${_attr_class(["_ej", { ["_ei"]: !findOpen }])}>`);
|
|
2525
2523
|
_set_serialize_reason(2);
|
|
2526
2524
|
const $childScope4 = _peek_scope_id();
|
|
2527
2525
|
diff_find_default({
|
|
@@ -2538,11 +2536,11 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2538
2536
|
});
|
|
2539
2537
|
_html(`</div>${_el_resume($scope0_id, "z")}<button${_attr_class([
|
|
2540
2538
|
iconBtnRow,
|
|
2541
|
-
"
|
|
2542
|
-
"
|
|
2539
|
+
"_eh",
|
|
2540
|
+
"_d9"
|
|
2543
2541
|
])} title="Find in the review (⌘/Ctrl+F)" aria-label="Find in the review"${_attr("hidden", findOpen)}>`);
|
|
2544
2542
|
icon_search_default({ size: 14 });
|
|
2545
|
-
_html(`</button>${_el_resume($scope0_id, "a1")}</div></div>${_el_resume($scope0_id, "c")}<div${_attr_class("
|
|
2543
|
+
_html(`</button>${_el_resume($scope0_id, "a1")}</div></div>${_el_resume($scope0_id, "c")}<div${_attr_class("_em")} data-diff-main>`);
|
|
2546
2544
|
_if(() => {
|
|
2547
2545
|
if (error) {
|
|
2548
2546
|
const $scope14_id = _scope_id();
|
|
@@ -2565,7 +2563,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2565
2563
|
_if(() => {
|
|
2566
2564
|
if (!repos && loading) {
|
|
2567
2565
|
const $scope30_id = _scope_id();
|
|
2568
|
-
_html(`<p${_attr_class("
|
|
2566
|
+
_html(`<p${_attr_class("_bA")}>Loading diff…</p>`);
|
|
2569
2567
|
writeScope($scope30_id, {});
|
|
2570
2568
|
return 0;
|
|
2571
2569
|
}
|
|
@@ -2648,7 +2646,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2648
2646
|
_html(`${i > 0 ? " · " : ""}${_el_resume($scope31_id, "a")}<!>${_escape(repo.worktree)}${_el_resume($scope31_id, "b")} #<!>${_escape(repo.pr.number)}${_el_resume($scope31_id, "c")}`);
|
|
2649
2647
|
writeScope($scope31_id, {});
|
|
2650
2648
|
}, "id", $scope28_id, "b");
|
|
2651
|
-
_html(` — this view has a newer tip than the PR page.</span><span${_attr_class(["_r", "
|
|
2649
|
+
_html(` — this view has a newer tip than the PR page.</span><span${_attr_class(["_r", "_en"])}>`);
|
|
2652
2650
|
_for_of(driftRepos, (repo, i) => {
|
|
2653
2651
|
const $scope32_id = _scope_id();
|
|
2654
2652
|
_html(`<span${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}`)}>${i > 0 ? " · " : ""}${_el_resume($scope32_id, "b")}<!>${_escape(shortSha(repo.head))}${_el_resume($scope32_id, "c")} → <!>${_escape(shortSha(repo.pr.headRefOid))}${_el_resume($scope32_id, "d")}</span>${_el_resume($scope32_id, "a")}`);
|
|
@@ -2700,12 +2698,12 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2700
2698
|
_if(() => {
|
|
2701
2699
|
if (repos && !allFiles.length) {
|
|
2702
2700
|
const $scope26_id = _scope_id();
|
|
2703
|
-
_html(`<p${_attr_class("
|
|
2701
|
+
_html(`<p${_attr_class("_bA")}>${repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope26_id, "b")}</p>`);
|
|
2704
2702
|
writeScope($scope26_id, {});
|
|
2705
2703
|
return 0;
|
|
2706
2704
|
} else if (repos && !shownFiles.length && !findState.hit) {
|
|
2707
2705
|
const $scope18_id = _scope_id();
|
|
2708
|
-
_html(`<p${_attr_class("
|
|
2706
|
+
_html(`<p${_attr_class("_bA")}>${findState.query.trim() ? "No matches in diffs." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope18_id, "b")}</p>`);
|
|
2709
2707
|
writeScope($scope18_id, {});
|
|
2710
2708
|
return 1;
|
|
2711
2709
|
}
|
|
@@ -2734,16 +2732,16 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2734
2732
|
_if(() => {
|
|
2735
2733
|
if (repoFiles.length || repo.pr) {
|
|
2736
2734
|
const $scope4_id = _scope_id();
|
|
2737
|
-
_html(`<section${_attr_class("
|
|
2735
|
+
_html(`<section${_attr_class("_ez")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownInRepo.length && !repo.pr && findState.hit?.repo !== repo.id)}>`);
|
|
2738
2736
|
_if(() => {
|
|
2739
2737
|
if (repoList.length > 1) {
|
|
2740
2738
|
const $scope5_id = _scope_id();
|
|
2741
2739
|
const repoCollapsed = collapsedRepos.has(repo.id);
|
|
2742
2740
|
const repoExpanding = expandingRepos.has(repo.id);
|
|
2743
|
-
_html(`<button type=button${_attr_class(["
|
|
2744
|
-
"
|
|
2745
|
-
!repoCollapsed && "
|
|
2746
|
-
repoExpanding && "
|
|
2741
|
+
_html(`<button type=button${_attr_class(["_eA", repoCollapsed && "_eB"])} aria-expanded=${!repoCollapsed ? "true" : "false"} aria-busy=${repoExpanding ? "true" : "false"}${repoCollapsed ? _attr("title", `Show ${shownInRepo.length || repoFiles.length} files`) : " title=\"Hide files\""}><span${_attr_class([
|
|
2742
|
+
"_eQ",
|
|
2743
|
+
!repoCollapsed && "_eR",
|
|
2744
|
+
repoExpanding && "_eS"
|
|
2747
2745
|
])} aria-hidden=true>${repoCollapsed ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_el_resume($scope5_id, "b")}<span${_attr_class(repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope5_id, "e")}</span>`);
|
|
2748
2746
|
_if(() => {
|
|
2749
2747
|
if (repo.pr) {
|
|
@@ -2765,14 +2763,14 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2765
2763
|
}
|
|
2766
2764
|
}, $scope5_id, "f");
|
|
2767
2765
|
const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "", input.workspaceName || "");
|
|
2768
|
-
_html(`<span${_attr_class("
|
|
2766
|
+
_html(`<span${_attr_class("_eG")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_C", "_eH"])}>${_escape(compare$1.base)}${_el_resume($scope5_id, "i")}</span><span${_attr_class(["_E", "_eJ"])} aria-hidden=true>vs</span><span${_attr_class(["_C", "_eI"])}>${_escape(compare$1.head)}${_el_resume($scope5_id, "l")}</span>`);
|
|
2769
2767
|
_if(() => {
|
|
2770
2768
|
if (compare$1.topic) {
|
|
2771
2769
|
const $scope36_id = _scope_id();
|
|
2772
2770
|
_html(`<span${_attr_class([
|
|
2773
2771
|
"_C",
|
|
2774
2772
|
tone.accent,
|
|
2775
|
-
"
|
|
2773
|
+
"_eK"
|
|
2776
2774
|
])}>${_escape(compare$1.topic)}${_el_resume($scope36_id, "b")}</span>`);
|
|
2777
2775
|
writeScope($scope36_id, {});
|
|
2778
2776
|
return 0;
|
|
@@ -2791,7 +2789,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2791
2789
|
return 0;
|
|
2792
2790
|
}
|
|
2793
2791
|
}, $scope5_id, "n", 1, 1, 1, 0, 1);
|
|
2794
|
-
_html(`<span${_attr_class("
|
|
2792
|
+
_html(`<span${_attr_class("_eD")}>${_escape(shownInRepo.length || repoFiles.length)}${_el_resume($scope5_id, "p")} file<!>${(shownInRepo.length || repoFiles.length) === 1 ? "" : "s"}${_el_resume($scope5_id, "q")}</span></button>${_el_resume($scope5_id, "a")}`);
|
|
2795
2793
|
_script($scope5_id, "i45");
|
|
2796
2794
|
_subscribe($for_content__shownInRepo_length__closures, _subscribe($for_content__repoFiles_length__closures, _subscribe($for_content__repo_branch__closures, _subscribe($for_content__repo_pr_baseRefName__closures, _subscribe($for_content__repo_baseSha__closures, _subscribe($for_content__repo_base__closures, _subscribe($for_content__repo_head__closures, _subscribe($for_content__repo_pr_headRefName__closures, _subscribe($for_content__repo_worktree__closures, _subscribe($for_content__repo_pr__closures, _subscribe($for_content__repo_id__closures, _subscribe($localDifferIds__closures, _subscribe($expandingRepos__closures, _subscribe($collapsedRepos__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope5_id, {
|
|
2797
2795
|
r: repoCollapsed,
|
|
@@ -2802,7 +2800,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2802
2800
|
return 0;
|
|
2803
2801
|
} else {
|
|
2804
2802
|
const $scope7_id = _scope_id();
|
|
2805
|
-
_html(`<p${_attr_class("
|
|
2803
|
+
_html(`<p${_attr_class("_eF")}>`);
|
|
2806
2804
|
_if(() => {
|
|
2807
2805
|
if (repo.pr) {
|
|
2808
2806
|
const $scope35_id = _scope_id();
|
|
@@ -2820,14 +2818,14 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2820
2818
|
}
|
|
2821
2819
|
}, $scope7_id, "b");
|
|
2822
2820
|
const compare$2 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch || "", input.workspaceName || "");
|
|
2823
|
-
_html(`<span${_attr_class("
|
|
2821
|
+
_html(`<span${_attr_class("_eG")}${_attr("title", `${compare$2.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_C", "_eH"])}>${_escape(compare$2.base)}${_el_resume($scope7_id, "e")}</span><span${_attr_class(["_E", "_eJ"])} aria-hidden=true>vs</span><span${_attr_class(["_C", "_eI"])}>${_escape(compare$2.head)}${_el_resume($scope7_id, "h")}</span>`);
|
|
2824
2822
|
_if(() => {
|
|
2825
2823
|
if (compare$2.topic) {
|
|
2826
2824
|
const $scope37_id = _scope_id();
|
|
2827
2825
|
_html(`<span${_attr_class([
|
|
2828
2826
|
"_C",
|
|
2829
2827
|
tone.accent,
|
|
2830
|
-
"
|
|
2828
|
+
"_eK"
|
|
2831
2829
|
])}>${_escape(compare$2.topic)}${_el_resume($scope37_id, "b")}</span>`);
|
|
2832
2830
|
writeScope($scope37_id, {});
|
|
2833
2831
|
return 0;
|
|
@@ -2870,7 +2868,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2870
2868
|
const $scope9_id = _scope_id();
|
|
2871
2869
|
const $show = repoList.length === 1 || !collapsedRepos.has(repo.id);
|
|
2872
2870
|
_show_start($show);
|
|
2873
|
-
_html(`<div${_attr_class("
|
|
2871
|
+
_html(`<div${_attr_class("_eL")}>`);
|
|
2874
2872
|
_for_of(repoFiles, (file$1) => {
|
|
2875
2873
|
const $scope10_id = _scope_id();
|
|
2876
2874
|
const $for_content2__file__closures = /* @__PURE__ */ new Set();
|
|
@@ -2878,7 +2876,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2878
2876
|
const $for_content2__fileComments__closures = /* @__PURE__ */ new Set();
|
|
2879
2877
|
const fileComments = commentsByFile.get(file$1.key) || [];
|
|
2880
2878
|
let expanded = true;
|
|
2881
|
-
_html(`<details${_attr_details_or_dialog_open($scope10_id, "a", expanded)}${_attr_class(["
|
|
2879
|
+
_html(`<details${_attr_details_or_dialog_open($scope10_id, "a", expanded)}${_attr_class(["_eM", findState.hit?.key === file$1.key && "_ek"])}${_attr("data-key", file$1.key)}${_attr("hidden", !shownKeySet.has(file$1.key))}><summary${_attr_class("_eO")}><span${_attr_class("_eT")}${_attr("data-status", file$1.status)}>${_escape(file$1.status)}${_el_resume($scope10_id, "d")}</span>${_el_resume($scope10_id, "c")}<span${_attr_class(["_eU", findState.hit?.key === file$1.key && findState.hit.line < 1 && "_el"])}${_attr("title", file$1.path)}><bdi>${_escape(file$1.path)}${_el_resume($scope10_id, "f")}</bdi></span>${_el_resume($scope10_id, "e")}`);
|
|
2882
2880
|
_if(() => {
|
|
2883
2881
|
if (fileComments.length) {
|
|
2884
2882
|
const $scope38_id = _scope_id();
|
|
@@ -2891,17 +2889,17 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2891
2889
|
_if(() => {
|
|
2892
2890
|
if (file$1.binary) {
|
|
2893
2891
|
const $scope39_id = _scope_id();
|
|
2894
|
-
_html(`<p${_attr_class(["
|
|
2892
|
+
_html(`<p${_attr_class(["_eW", "_eN"])}>binary file</p>`);
|
|
2895
2893
|
writeScope($scope39_id, {});
|
|
2896
2894
|
return 0;
|
|
2897
2895
|
} else if (file$1.tooLarge) {
|
|
2898
2896
|
const $scope40_id = _scope_id();
|
|
2899
|
-
_html(`<p${_attr_class(["
|
|
2897
|
+
_html(`<p${_attr_class(["_eW", "_eN"])}>file too large to display</p>`);
|
|
2900
2898
|
writeScope($scope40_id, {});
|
|
2901
2899
|
return 1;
|
|
2902
2900
|
} else if (file$1.old == null && file$1.new == null) {
|
|
2903
2901
|
const $scope41_id = _scope_id();
|
|
2904
|
-
_html(`<p${_attr_class(["
|
|
2902
|
+
_html(`<p${_attr_class(["_eW", "_eN"])}>file could not be read</p>`);
|
|
2905
2903
|
writeScope($scope41_id, {});
|
|
2906
2904
|
return 2;
|
|
2907
2905
|
} else {
|
|
@@ -2911,7 +2909,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2911
2909
|
_if(() => {
|
|
2912
2910
|
if (!forceNear) {
|
|
2913
2911
|
const $scope25_id = _scope_id();
|
|
2914
|
-
_html(`<div${_attr_class(["
|
|
2912
|
+
_html(`<div${_attr_class(["_eP", "_eN"])}></div>${_el_resume($scope25_id, "a")}`);
|
|
2915
2913
|
_script($scope25_id, "i46");
|
|
2916
2914
|
writeScope($scope25_id, {});
|
|
2917
2915
|
return 0;
|
|
@@ -2919,7 +2917,7 @@ var diff_view_default = _template("i", (input) => {
|
|
|
2919
2917
|
const $scope12_id = _scope_id();
|
|
2920
2918
|
const $childScope9 = _peek_scope_id();
|
|
2921
2919
|
diff_file_default({
|
|
2922
|
-
class: "
|
|
2920
|
+
class: "_eN",
|
|
2923
2921
|
file: file$1,
|
|
2924
2922
|
comments: fileComments,
|
|
2925
2923
|
draft: draft && draft.key === file$1.key ? draft : null,
|