@bytechain.cn/colamd 2.7.8-rc.2 → 2.7.9
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/main/chunks/docx-export.js +21 -12
- package/dist/renderer/assets/{2DXBBFLN-BQWZeEOZ.js → 2DXBBFLN-BZbS7Pd1.js} +4 -4
- package/dist/renderer/assets/{46IJ22JX-CR0BA3Ks.js → 46IJ22JX-CNFviTsR.js} +5 -5
- package/dist/renderer/assets/{4TTDE5I4-BdBL5ywh.js → 4TTDE5I4-C7pizLRz.js} +3 -3
- package/dist/renderer/assets/{4UF3HTLV-BYMrPeBv.js → 4UF3HTLV-Bgp6lNzK.js} +4 -4
- package/dist/renderer/assets/{AAXQQPKT-CTS7qJK7.js → AAXQQPKT-DiRTivQz.js} +8 -8
- package/dist/renderer/assets/{AKE5O7KZ-pEeLbu6F.js → AKE5O7KZ-DB0fY69K.js} +5 -5
- package/dist/renderer/assets/{BNMLP6AG-CbkwmI8G.js → BNMLP6AG-B895CsjY.js} +7 -7
- package/dist/renderer/assets/{DR6PKOQU-C6Iahoa3.js → DR6PKOQU-CrswvvVG.js} +3 -3
- package/dist/renderer/assets/{E4RJ7UJB-D58gl0M0.js → E4RJ7UJB-Dgy0Anf4.js} +6 -6
- package/dist/renderer/assets/{ELSXBIJH-DpS4enQ6.js → ELSXBIJH-Bg-hsqjD.js} +1 -1
- package/dist/renderer/assets/{ERTIBQVS-DD8jjKTj.js → ERTIBQVS-BNxjgPXX.js} +4 -4
- package/dist/renderer/assets/{F653G4FO-DoDhFXEy.js → F653G4FO-Dt3YtuWS.js} +8 -8
- package/dist/renderer/assets/{FKCDD66M-B0wYO26L.js → FKCDD66M-CenzCJNz.js} +1 -1
- package/dist/renderer/assets/{FP7KDXVC-B0LUknwq.js → FP7KDXVC-BmH1Qg4f.js} +6 -6
- package/dist/renderer/assets/{FT5I3RHX-GdBjTcHf.js → FT5I3RHX-Dd_6diyz.js} +7 -7
- package/dist/renderer/assets/{GY35JXOZ-Dg2P-i-d.js → GY35JXOZ-Cz54qXE9.js} +4 -4
- package/dist/renderer/assets/{H5EEJPP2-C3d8qkta.js → H5EEJPP2-FerEQPg3.js} +9 -9
- package/dist/renderer/assets/{HWDLEDTA-Rm5NjB2N.js → HWDLEDTA-dKG_tB6l.js} +1 -1
- package/dist/renderer/assets/{JZWSX6AR-qgXs8q-t.js → JZWSX6AR-DGqy6mhj.js} +2 -2
- package/dist/renderer/assets/{KQOEJWJY-mqwm7WG0.js → KQOEJWJY-RpP1RapT.js} +1 -1
- package/dist/renderer/assets/{KS3BB3KE-ufj8X6Wa.js → KS3BB3KE-ChYPdbg1.js} +5 -5
- package/dist/renderer/assets/{KXJRRZHI-C7vOZ5ie.js → KXJRRZHI-DSLhPV79.js} +3 -3
- package/dist/renderer/assets/{MFVI5XKI-DQ5z-nMh.js → MFVI5XKI-C1-R608I.js} +1 -1
- package/dist/renderer/assets/{MWY2J62P-DUIamY6F.js → MWY2J62P-CYEJcQI7.js} +5 -5
- package/dist/renderer/assets/{MXGNCBL2-DqeFe7Wj.js → MXGNCBL2-DEhdb9Po.js} +5 -5
- package/dist/renderer/assets/{N6DAJLIZ-CvgcQPUI.js → N6DAJLIZ-Jz5IcMsB.js} +2 -2
- package/dist/renderer/assets/{NU5M23IW-DpTeCZq5.js → NU5M23IW-C8k8MpXh.js} +5 -5
- package/dist/renderer/assets/{NV4XNBIS-wuvA_U-J.js → NV4XNBIS-BCaP1w8q.js} +7 -7
- package/dist/renderer/assets/{OGLU4SIR-CJL7p3WR.js → OGLU4SIR-OGqdd7qE.js} +5 -5
- package/dist/renderer/assets/{OUNS5N76-CQVdszCS.js → OUNS5N76-p6wVW2dP.js} +6 -6
- package/dist/renderer/assets/{PU4ISKXV-Bcshpks1.js → PU4ISKXV-D-ZMREMw.js} +5 -5
- package/dist/renderer/assets/{PUZGS23X-B8gmR_q3.js → PUZGS23X-DsbrgiWg.js} +1 -1
- package/dist/renderer/assets/{Q3IYVLG5-B-qlhAM-.js → Q3IYVLG5-BpItOJB9.js} +5 -5
- package/dist/renderer/assets/{QYHQDLKZ-EFOsxom5.js → QYHQDLKZ-Dm9JiJIz.js} +9 -9
- package/dist/renderer/assets/{RZSVICHU-B4a4ijU5.js → RZSVICHU-Chf4nk49.js} +1 -1
- package/dist/renderer/assets/{UEXXS2NB-BYEZA17b.js → UEXXS2NB-Bm2T4HQE.js} +1 -1
- package/dist/renderer/assets/{UHTQJXKL-Dr2lF0X7.js → UHTQJXKL-Y4ThTfXK.js} +5 -5
- package/dist/renderer/assets/{URA2L2QI-CpWV8ZqC.js → URA2L2QI-DkaJzKIj.js} +1 -1
- package/dist/renderer/assets/{UXCHDUKG-BhvBbCG9.js → UXCHDUKG-D6Ae72SJ.js} +5 -5
- package/dist/renderer/assets/{VKNV3BUX-BYO3cWfq.js → VKNV3BUX-CQYQjCVp.js} +6 -6
- package/dist/renderer/assets/{VMV7XPHP-Cv3j51G-.js → VMV7XPHP-CKz3lx9e.js} +1 -1
- package/dist/renderer/assets/{WEVWDWVA-Bk5T2zs5.js → WEVWDWVA-DXDXU985.js} +1 -1
- package/dist/renderer/assets/{XRRJ35LF-BmKX-UhN.js → XRRJ35LF-C66qdAcN.js} +4 -4
- package/dist/renderer/assets/{YFKBLVVN-BsN6JCME.js → YFKBLVVN-B1JutB4t.js} +4 -4
- package/dist/renderer/assets/{YHRE5QGZ-BfqB5qTM.js → YHRE5QGZ-BoAzNT7K.js} +7 -7
- package/dist/renderer/assets/{ZF3OVT4B-71e7gqxT.js → ZF3OVT4B-tBhjRApP.js} +3 -3
- package/dist/renderer/assets/{index-KXmfqOLZ.js → index-6XszqTLE.js} +1 -1
- package/dist/renderer/assets/{index-iM3KwPgz.js → index-8VmLWls0.js} +1 -1
- package/dist/renderer/assets/{index-BZI3MrwX.js → index-BHNBF13i.js} +1 -1
- package/dist/renderer/assets/{index-bx07CRyn.css → index-BSrZe3ki.css} +54 -17
- package/dist/renderer/assets/{index-BfRf6YNA.js → index-Bcx2JMPS.js} +261 -67
- package/dist/renderer/assets/{index-CMEBb_j9.js → index-Bk6TVqB_.js} +1 -1
- package/dist/renderer/assets/{index-C-S_Yg_y.js → index-Bz1F6_A_.js} +1 -1
- package/dist/renderer/assets/{index-FbcCt5ge.js → index-C1fw6u5V.js} +1 -1
- package/dist/renderer/assets/{index-DNjOyVpF.js → index-CAuNb95h.js} +1 -1
- package/dist/renderer/assets/{index-S_JLIQUn.js → index-CQ2EdLQr.js} +1 -1
- package/dist/renderer/assets/{index-BkXNa75_.js → index-CZRO_PAZ.js} +1 -1
- package/dist/renderer/assets/{index-DrX0ymyh.js → index-Coye68JD.js} +1 -1
- package/dist/renderer/assets/{index-eE3MJT-Z.js → index-CxqBaXly.js} +1 -1
- package/dist/renderer/assets/{index-CeRIIlMp.js → index-DROMWNcj.js} +1 -1
- package/dist/renderer/assets/{index-Cz6s0BAO.js → index-DUg0by2F.js} +1 -1
- package/dist/renderer/assets/{index-CcV4JcXV.js → index-Dg6oPZ5w.js} +3 -3
- package/dist/renderer/assets/{index-7XM2a0Z_.js → index-Dl8YooLt.js} +3 -3
- package/dist/renderer/assets/{index-DwT_NY9Q.js → index-Dqlv2y9T.js} +1 -1
- package/dist/renderer/assets/{index-2bn6g3NY.js → index-HSHw3F3k.js} +1 -1
- package/dist/renderer/assets/{index-DXBizOwH.js → index-KKUqPjEB.js} +1 -1
- package/dist/renderer/assets/{index-fPGCpVWp.js → index-UzBrnlvb.js} +1 -1
- package/dist/renderer/assets/{index-D3xwJ3eb.js → index-eBhE19Gh.js} +1 -1
- package/dist/renderer/assets/{index-VDcE-MZS.js → index-k6oLH39v.js} +3 -3
- package/dist/renderer/assets/{lazy-SjZiJQmj.js → lazy-DVRRTm-q.js} +3 -3
- package/dist/renderer/assets/{web-BSnrlb26.js → web-CAJ9chii.js} +1 -1
- package/dist/renderer/assets/{web-raTBZuvw.js → web-Ct-G5Yg8.js} +2 -2
- package/dist/renderer/assets/{web-GpaN5nX1.js → web-Y168OUbw.js} +1 -1
- package/dist/renderer/index.html +2 -2
- package/package.json +1 -1
- package/scripts/theme-verify-core.mjs +345 -345
- package/scripts/verify-themes-cli.mjs +95 -95
- package/themes/contract.json +128 -127
- package/themes/elegant.css +0 -1
- package/themes/sepia.css +0 -1
- package/themes/template.css +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { c as c$2 } from "./MFVI5XKI-
|
|
1
|
+
import { c as c$2 } from "./MFVI5XKI-C1-R608I.js";
|
|
2
2
|
import { c as c$1 } from "./G3MDBVQH-qZ3yfAIw.js";
|
|
3
3
|
import { h } from "./7WLXJQOR-C8MM6Bra.js";
|
|
4
|
-
import { x, h as h$1, y as y$1, C } from "./ELSXBIJH-
|
|
5
|
-
import { b as be, d as de, m as me } from "./FKCDD66M-
|
|
6
|
-
import { L, N } from "./JZWSX6AR-
|
|
7
|
-
import { R } from "./URA2L2QI-
|
|
8
|
-
import { $, o, e, i, L as L$1, H } from "./lazy-
|
|
4
|
+
import { x, h as h$1, y as y$1, C } from "./ELSXBIJH-Bg-hsqjD.js";
|
|
5
|
+
import { b as be, d as de, m as me } from "./FKCDD66M-CenzCJNz.js";
|
|
6
|
+
import { L, N } from "./JZWSX6AR-DGqy6mhj.js";
|
|
7
|
+
import { R } from "./URA2L2QI-DkaJzKIj.js";
|
|
8
|
+
import { $, o, e, i, L as L$1, H } from "./lazy-DVRRTm-q.js";
|
|
9
9
|
import { m, c, p } from "./DKTLEL5E-Dj3316cp.js";
|
|
10
|
-
import { F as Fn, S as Sn, D as Dn, w as wn } from "./HWDLEDTA-
|
|
11
|
-
import { a as _t, g as gt, y, _, x as x$1, f as ft, b, h as ht, $ as $t$1 } from "./RZSVICHU-
|
|
12
|
-
import "./index-
|
|
10
|
+
import { F as Fn, S as Sn, D as Dn, w as wn } from "./HWDLEDTA-dKG_tB6l.js";
|
|
11
|
+
import { a as _t, g as gt, y, _, x as x$1, f as ft, b, h as ht, $ as $t$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
12
|
+
import "./index-Bcx2JMPS.js";
|
|
13
13
|
function kt(u) {
|
|
14
14
|
return u === "#" || u === "+" || u === "~" || u === "-";
|
|
15
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $, W as W$1 } from "./lazy-
|
|
1
|
+
import { $, W as W$1 } from "./lazy-DVRRTm-q.js";
|
|
2
2
|
var H = /[&<>"\x00-\x08\x0b\x0c\x0e-\x1f\x7f]/, P = /[&<>"]|[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]+/g, U = { "&": "&", "<": "<", ">": ">", '"': """ };
|
|
3
3
|
function b(t) {
|
|
4
4
|
return H.test(t) ? t.replace(P, (e) => U[e] ?? "") : t;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { X, W, Y } from "./N6DAJLIZ-
|
|
2
|
-
import { H, q, x as x$1, W as W$1 } from "./lazy-
|
|
3
|
-
import { M, A as A$1, O } from "./JZWSX6AR-
|
|
1
|
+
import { X, W, Y } from "./N6DAJLIZ-Jz5IcMsB.js";
|
|
2
|
+
import { H, q, x as x$1, W as W$1 } from "./lazy-DVRRTm-q.js";
|
|
3
|
+
import { M, A as A$1, O } from "./JZWSX6AR-DGqy6mhj.js";
|
|
4
4
|
import { h } from "./DKTLEL5E-Dj3316cp.js";
|
|
5
|
-
import { a as _t$1, _, x, b, h as ht, y, f as ft, $ as $t, q as q$1, u as ut } from "./RZSVICHU-
|
|
6
|
-
import "./index-
|
|
5
|
+
import { a as _t$1, _, x, b, h as ht, y, f as ft, $ as $t, q as q$1, u as ut } from "./RZSVICHU-Chf4nk49.js";
|
|
6
|
+
import "./index-Bcx2JMPS.js";
|
|
7
7
|
var E = class {
|
|
8
8
|
type = "kanban";
|
|
9
9
|
title;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _, x as x$1 } from "./RZSVICHU-
|
|
1
|
+
import { _, x as x$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
2
2
|
var o = 18, i = 12, f = 12, p = (n, t, e) => (e ? t : n) - 2 * f, z = (n) => (t, e, s) => s ? 0 : t - 2 * n(e) - 2 * f;
|
|
3
3
|
function H(n, t, e) {
|
|
4
4
|
let s = Math.min(1, Math.abs(n) / t);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k } from "./KQOEJWJY-
|
|
2
|
-
import { e, L, i, H } from "./lazy-
|
|
1
|
+
import { k } from "./KQOEJWJY-RpP1RapT.js";
|
|
2
|
+
import { e, L, i, H } from "./lazy-DVRRTm-q.js";
|
|
3
3
|
import { c, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
4
|
-
import { D as Dn, a as St } from "./HWDLEDTA-
|
|
5
|
-
import { a as _t, x, f as ft, y, _, $ as $t } from "./RZSVICHU-
|
|
6
|
-
import "./index-
|
|
4
|
+
import { D as Dn, a as St } from "./HWDLEDTA-dKG_tB6l.js";
|
|
5
|
+
import { a as _t, x, f as ft, y, _, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
6
|
+
import "./index-Bcx2JMPS.js";
|
|
7
7
|
var D = class {
|
|
8
8
|
type = "ishikawa";
|
|
9
9
|
title;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i } from "./PUZGS23X-
|
|
2
|
-
import { H as H$3, A } from "./KQOEJWJY-
|
|
3
|
-
import { x, r, H as H$2, $ as $$1 } from "./lazy-
|
|
1
|
+
import { i } from "./PUZGS23X-DsbrgiWg.js";
|
|
2
|
+
import { H as H$3, A } from "./KQOEJWJY-RpP1RapT.js";
|
|
3
|
+
import { x, r, H as H$2, $ as $$1 } from "./lazy-DVRRTm-q.js";
|
|
4
4
|
import { p, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
5
|
-
import { x as x$1, D as D$1, $, v, U, z, Y, H as H$1 } from "./VMV7XPHP-
|
|
6
|
-
import { a as _t, x as x$2, _, y, b, h as ht, f as ft, $ as $t } from "./RZSVICHU-
|
|
7
|
-
import "./index-
|
|
5
|
+
import { x as x$1, D as D$1, $, v, U, z, Y, H as H$1 } from "./VMV7XPHP-CKz3lx9e.js";
|
|
6
|
+
import { a as _t, x as x$2, _, y, b, h as ht, f as ft, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
7
|
+
import "./index-Bcx2JMPS.js";
|
|
8
8
|
var K = /[─━│┃└┗├┣]/, Ve = /[└┗├┣]/, Ge = /[─━]/, Ce = /^[\s│┃]+$/, Ue = /^[\s─━│┃└┗├┣]+$/, Ye = /^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/, qe = /^\s*%%/, Ke = " ";
|
|
9
9
|
function Qe(t) {
|
|
10
10
|
return t.some((e) => K.test(e));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
2
|
-
import { x as x$1, D, M, $, v, w, V, W, G, O, P as P$1, j, Y, z, U, H } from "./VMV7XPHP-
|
|
3
|
-
import { a as _t, y, m as mt, x as x$2, f as ft, $ as $t } from "./RZSVICHU-
|
|
4
|
-
import { x, H as H$1 } from "./lazy-
|
|
5
|
-
import "./index-
|
|
2
|
+
import { x as x$1, D, M, $, v, w, V, W, G, O, P as P$1, j, Y, z, U, H } from "./VMV7XPHP-CKz3lx9e.js";
|
|
3
|
+
import { a as _t, y, m as mt, x as x$2, f as ft, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
4
|
+
import { x, H as H$1 } from "./lazy-DVRRTm-q.js";
|
|
5
|
+
import "./index-Bcx2JMPS.js";
|
|
6
6
|
function ve(i, e) {
|
|
7
7
|
let t = /* @__PURE__ */ new Map();
|
|
8
8
|
for (let { label: n, value: c } of i.sections) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { N, A as A$1 } from "./JZWSX6AR-
|
|
2
|
-
import { H, x as x$2, e, L as L$1 } from "./lazy-
|
|
1
|
+
import { N, A as A$1 } from "./JZWSX6AR-DGqy6mhj.js";
|
|
2
|
+
import { H, x as x$2, e, L as L$1 } from "./lazy-DVRRTm-q.js";
|
|
3
3
|
import { l } from "./DKTLEL5E-Dj3316cp.js";
|
|
4
|
-
import { a as _t$1, f as ft, $ as $t$1, b, y, x as x$1, u as ut, _, g as gt } from "./RZSVICHU-
|
|
5
|
-
import "./index-
|
|
4
|
+
import { a as _t$1, f as ft, $ as $t$1, b, y, x as x$1, u as ut, _, g as gt } from "./RZSVICHU-Chf4nk49.js";
|
|
5
|
+
import "./index-Bcx2JMPS.js";
|
|
6
6
|
var K = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], L = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
|
7
7
|
function Q(t) {
|
|
8
8
|
return !Number.isNaN(t.getTime());
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A } from "./KQOEJWJY-
|
|
2
|
-
import { N, L as L$1 } from "./JZWSX6AR-
|
|
3
|
-
import { E } from "./URA2L2QI-
|
|
4
|
-
import { e, i, L, H, x } from "./lazy-
|
|
1
|
+
import { A } from "./KQOEJWJY-RpP1RapT.js";
|
|
2
|
+
import { N, L as L$1 } from "./JZWSX6AR-DGqy6mhj.js";
|
|
3
|
+
import { E } from "./URA2L2QI-DkaJzKIj.js";
|
|
4
|
+
import { e, i, L, H, x } from "./lazy-DVRRTm-q.js";
|
|
5
5
|
import { p, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
6
|
-
import { a as St, D as Dn, w as wn } from "./HWDLEDTA-
|
|
7
|
-
import { b, y, a as _t$1, x as x$1, f as ft, _, $ as $t$1, g as gt$1 } from "./RZSVICHU-
|
|
8
|
-
import "./index-
|
|
6
|
+
import { a as St, D as Dn, w as wn } from "./HWDLEDTA-dKG_tB6l.js";
|
|
7
|
+
import { b, y, a as _t$1, x as x$1, f as ft, _, $ as $t$1, g as gt$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
8
|
+
import "./index-Bcx2JMPS.js";
|
|
9
9
|
var Dt = /* @__PURE__ */ new Set(["label", "type", "descr", "techn", "sprite", "tags", "link", "bgColor", "fontColor", "borderColor", "shadowing", "shape", "legendText", "legendSprite"]), It = /* @__PURE__ */ new Set(["label", "descr", "techn", "sprite", "tags", "link", "textColor", "lineColor"]);
|
|
10
10
|
function he(t, e2) {
|
|
11
11
|
let { key: n, value: r } = e2;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s } from "./RVARI57O-DMrXgtoB.js";
|
|
2
|
-
import { H, x as x$1, i, e, u, t, L, o } from "./lazy-
|
|
2
|
+
import { H, x as x$1, i, e, u, t, L, o } from "./lazy-DVRRTm-q.js";
|
|
3
3
|
import { l } from "./DKTLEL5E-Dj3316cp.js";
|
|
4
|
-
import { a as _t$1, _, x, f as ft, h as ht, y, g as gt$1, $ as $t$1, m as mt$1 } from "./RZSVICHU-
|
|
5
|
-
import "./index-
|
|
4
|
+
import { a as _t$1, _, x, f as ft, h as ht, y, g as gt$1, $ as $t$1, m as mt$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
5
|
+
import "./index-Bcx2JMPS.js";
|
|
6
6
|
var Jt = /^\d+$/, wt = /^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/, Zt = /^\d+px$/;
|
|
7
7
|
function ct(t2, n, s2) {
|
|
8
8
|
return new x$1(`value for ${t2} ${n} is invalid, please use a valid ${s2}`, "semantic", { type: "quadrantChart" });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as LRParser, E as ExternalTokenizer, C as ContextTracker, s as styleTags, t as tags, h as EditorView, g as syntaxTree, j as EditorSelection, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, f as foldNodeProp, x as bracketMatchingHandle } from "./index-
|
|
1
|
+
import { e as LRParser, E as ExternalTokenizer, C as ContextTracker, s as styleTags, t as tags, h as EditorView, g as syntaxTree, j as EditorSelection, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, f as foldNodeProp, x as bracketMatchingHandle } from "./index-Bcx2JMPS.js";
|
|
2
2
|
const StartTag = 1, StartCloseTag = 2, MissingCloseTag = 3, mismatchedStartCloseTag = 4, incompleteStartCloseTag = 5, commentContent$1 = 36, piContent$1 = 37, cdataContent$1 = 38, Element$1 = 11, OpenTag = 13;
|
|
3
3
|
function nameChar(ch) {
|
|
4
4
|
return ch == 45 || ch == 46 || ch == 58 || ch >= 65 && ch <= 90 || ch == 95 || ch >= 97 && ch <= 122 || ch >= 161;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LRLanguage, a as LanguageSupport, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, s as styleTags, t as tags, E as ExternalTokenizer, b as ifNotIn, d as completeFromList, e as LRParser, g as syntaxTree } from "./index-
|
|
1
|
+
import { L as LRLanguage, a as LanguageSupport, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, s as styleTags, t as tags, E as ExternalTokenizer, b as ifNotIn, d as completeFromList, e as LRParser, g as syntaxTree } from "./index-Bcx2JMPS.js";
|
|
2
2
|
const whitespace = 36, LineComment = 1, BlockComment = 2, String$1 = 3, Number = 4, Bool = 5, Null = 6, ParenL = 7, ParenR = 8, BraceL = 9, BraceR = 10, BracketL = 11, BracketR = 12, Semi = 13, Dot = 14, Operator = 15, Punctuation = 16, SpecialVar = 17, Identifier = 18, QuotedIdentifier = 19, Keyword = 20, Type = 21, Bits = 22, Bytes = 23, Builtin = 24;
|
|
3
3
|
function isAlpha(ch) {
|
|
4
4
|
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 48 && ch <= 57;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as LRParser, E as ExternalTokenizer, s as styleTags, t as tags, k as html, a as LanguageSupport, p as parseMixed, L as LRLanguage, i as indentNodeProp, c as continuedIndent, l as delimitedIndent, f as foldNodeProp, o as foldInside } from "./index-
|
|
1
|
+
import { e as LRParser, E as ExternalTokenizer, s as styleTags, t as tags, k as html, a as LanguageSupport, p as parseMixed, L as LRLanguage, i as indentNodeProp, c as continuedIndent, l as delimitedIndent, f as foldNodeProp, o as foldInside } from "./index-Bcx2JMPS.js";
|
|
2
2
|
const castOpen = 1, HeredocString = 2, interpolatedStringContent = 276, EscapeSequence = 3, afterInterpolation = 277, automaticSemicolon = 278, eof = 279, abstract = 4, and = 5, array = 6, as = 7, Boolean = 8, _break = 9, _case = 10, _catch = 11, clone = 12, _const = 13, _continue = 14, _default = 15, declare = 16, _do = 17, echo = 18, _else = 19, elseif = 20, enddeclare = 21, endfor = 22, endforeach = 23, endif = 24, endswitch = 25, endwhile = 26, _enum = 27, _extends = 28, final = 29, _finally = 30, fn = 31, _for = 32, foreach = 33, from = 34, _function = 35, global = 36, goto = 37, _if = 38, _implements = 39, include = 40, include_once = 41, _instanceof = 42, insteadof = 43, _interface = 44, list = 45, match = 46, namespace = 47, _new = 48, _null = 49, or = 50, print = 51, readonly = 52, _require = 53, require_once = 54, _return = 55, _switch = 56, _throw = 57, trait = 58, _try = 59, unset = 60, use = 61, _var = 62, Visibility = 63, _while = 64, xor = 65, _yield = 66;
|
|
3
3
|
const keywordMap = {
|
|
4
4
|
abstract,
|
|
@@ -1727,10 +1727,21 @@ body.source-mode #editor .cm-content {
|
|
|
1727
1727
|
|
|
1728
1728
|
/* ======= 标题 ======= */
|
|
1729
1729
|
|
|
1730
|
+
/* 标题上方留白。
|
|
1731
|
+
*
|
|
1732
|
+
* 换内核之后标题只靠上一行的空行把它和上文分开,而 Milkdown 时代每个标题自带
|
|
1733
|
+
* 上边距(h1 1.5em、h2 1.25em、h3 以下 1em,2026-10-20 量过旧版)。少了这一段,
|
|
1734
|
+
* 标题和前一段挤在一起,整页读起来比原来紧。
|
|
1735
|
+
*
|
|
1736
|
+
* 用 padding-top 而不是 margin-top:CodeMirror 按行盒量光标位置,margin 不进入
|
|
1737
|
+
* 行盒,落在空白里的点击会被判到相邻行;padding 计入行盒,点标题上方的空白仍然
|
|
1738
|
+
* 落在这一个标题上。下方的留白不动,那里已经有空行。
|
|
1739
|
+
*/
|
|
1730
1740
|
.cm-content .cm-md-atxheading1 {
|
|
1731
1741
|
font-size: 2em;
|
|
1732
1742
|
font-weight: 700;
|
|
1733
1743
|
line-height: 1.25;
|
|
1744
|
+
padding-top: 1.5em;
|
|
1734
1745
|
padding-bottom: 0.3em;
|
|
1735
1746
|
border-bottom: 1px solid var(--border-color);
|
|
1736
1747
|
}
|
|
@@ -1739,6 +1750,7 @@ body.source-mode #editor .cm-content {
|
|
|
1739
1750
|
font-size: 1.5em;
|
|
1740
1751
|
font-weight: 600;
|
|
1741
1752
|
line-height: 1.3;
|
|
1753
|
+
padding-top: 1.25em;
|
|
1742
1754
|
padding-bottom: 0.25em;
|
|
1743
1755
|
border-bottom: 1px solid var(--border-color);
|
|
1744
1756
|
}
|
|
@@ -1747,6 +1759,7 @@ body.source-mode #editor .cm-content {
|
|
|
1747
1759
|
font-size: 1.25em;
|
|
1748
1760
|
font-weight: 600;
|
|
1749
1761
|
line-height: 1.4;
|
|
1762
|
+
padding-top: 1em;
|
|
1750
1763
|
}
|
|
1751
1764
|
|
|
1752
1765
|
.cm-content .cm-md-atxheading4,
|
|
@@ -1754,6 +1767,7 @@ body.source-mode #editor .cm-content {
|
|
|
1754
1767
|
.cm-content .cm-md-atxheading6 {
|
|
1755
1768
|
font-weight: 600;
|
|
1756
1769
|
line-height: 1.5;
|
|
1770
|
+
padding-top: 1em;
|
|
1757
1771
|
}
|
|
1758
1772
|
|
|
1759
1773
|
/* 标记字符(#、>、-、围栏、*):光标不在这一行时压淡。 */
|
|
@@ -1774,8 +1788,8 @@ body.source-mode #editor .cm-content {
|
|
|
1774
1788
|
}
|
|
1775
1789
|
|
|
1776
1790
|
.cm-content .cm-md-strike {
|
|
1791
|
+
/* 删除线本身已经在说「这行被划掉了」,不必再换一种颜色。 */
|
|
1777
1792
|
text-decoration: line-through;
|
|
1778
|
-
color: var(--text-muted);
|
|
1779
1793
|
}
|
|
1780
1794
|
|
|
1781
1795
|
/* 行内代码:底色与圆角,跟旧版一致(2px 6px、圆角 3px、0.875em)。 */
|
|
@@ -1808,12 +1822,26 @@ body.source-mode #editor .cm-content {
|
|
|
1808
1822
|
/* ======= 引用块 ======= */
|
|
1809
1823
|
|
|
1810
1824
|
.cm-content .cm-md-blockquote {
|
|
1811
|
-
|
|
1825
|
+
position: relative;
|
|
1826
|
+
/* 引用只用左边的竖线和底色区别于正文,文字仍是正文色。
|
|
1827
|
+
* 文字颜色越少越干净:同一种字灰一档,读起来像是被打了个「次要」的标签(2026-10-25 定)。 */
|
|
1828
|
+
color: var(--text-color);
|
|
1812
1829
|
border-left: 4px solid var(--blockquote-border);
|
|
1813
1830
|
padding-left: 16px;
|
|
1814
1831
|
padding-right: 16px;
|
|
1815
1832
|
}
|
|
1816
1833
|
|
|
1834
|
+
/* 引用底色和代码块一样放在选区下方,不能直接画在文字行上。
|
|
1835
|
+
* 引用内的代码行使用代码块自己的底色。 */
|
|
1836
|
+
.cm-content .cm-md-blockquote:not(.cm-md-codeblock)::before {
|
|
1837
|
+
content: '';
|
|
1838
|
+
position: absolute;
|
|
1839
|
+
inset: 0;
|
|
1840
|
+
z-index: -3;
|
|
1841
|
+
background: var(--blockquote-bg, transparent);
|
|
1842
|
+
pointer-events: none;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1817
1845
|
/* ======= 列表 ======= */
|
|
1818
1846
|
|
|
1819
1847
|
/* CM6 里没有 ul/ol/li 元素,整行就是一个 div,所以缩进与标记全靠行装饰。
|
|
@@ -1828,13 +1856,21 @@ body.source-mode #editor .cm-content {
|
|
|
1828
1856
|
.cm-content .cm-md-li-5 { padding-left: 9em; }
|
|
1829
1857
|
.cm-content .cm-md-li-6 { padding-left: 10.5em; }
|
|
1830
1858
|
|
|
1831
|
-
/* 无序列表的圆点。宽度与 `- ` 接近,避免换掉标记时行内文字抖动。
|
|
1859
|
+
/* 无序列表的圆点。宽度与 `- ` 接近,避免换掉标记时行内文字抖动。
|
|
1860
|
+
*
|
|
1861
|
+
* 圆点和序号是排版的一部分,用正文色,不跟 `#`、`>` 那些标记一起压灰(2026-10-25:
|
|
1862
|
+
* 十二套主题量下来,圆点与序号全部是 --text-muted,整段列表看着发灰)。 */
|
|
1832
1863
|
.cm-content .cm-md-li-bullet {
|
|
1833
|
-
color: var(--text-
|
|
1864
|
+
color: var(--text-color);
|
|
1834
1865
|
display: inline-block;
|
|
1835
1866
|
width: 0.8em;
|
|
1836
1867
|
}
|
|
1837
1868
|
|
|
1869
|
+
/* 有序列表的序号。行首那个数被替换成了重排后的编号,它是内容,不是标记。 */
|
|
1870
|
+
.cm-content .cm-md-li .cm-md-listmark {
|
|
1871
|
+
color: var(--text-color);
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1838
1874
|
/* ======= 代码块 ======= */
|
|
1839
1875
|
|
|
1840
1876
|
/* 逐行加底色,首末行加圆角,拼出整块的外形(旧版 pre 是 16px 内边距、圆角 6px)。
|
|
@@ -1878,6 +1914,19 @@ body.source-mode #editor .cm-content {
|
|
|
1878
1914
|
padding-bottom: 0.8em;
|
|
1879
1915
|
}
|
|
1880
1916
|
|
|
1917
|
+
/* 引用里的代码块:这些行同时带着引用和代码块的类。
|
|
1918
|
+
*
|
|
1919
|
+
* 雅致、Sepia 等主题把引用的底色直接画在行上,而代码块的深色底在 z-index -3 的伪元素上
|
|
1920
|
+
* (为了让选区高亮落在它上面,见上面那条),行自己的底色反过来把它盖住,浅色的代码字落在
|
|
1921
|
+
* 浅色的引用底上几乎看不见(v2.7.7 用户报的)。nord、dracula 等主题给引用设的文字色,选择器
|
|
1922
|
+
* 比代码块的重,代码字也会被染成引用色。所以这些行不要引用底色,字色回到代码块的;
|
|
1923
|
+
* 引用左边的竖线留着,代码块贴着它画。选择器带 #editor,独立主题文件里的引用规则也压得住。 */
|
|
1924
|
+
#editor .cm-content .cm-md-blockquote.cm-md-codeblock {
|
|
1925
|
+
background: transparent;
|
|
1926
|
+
color: var(--code-block-text, var(--text-color));
|
|
1927
|
+
font-style: normal;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1881
1930
|
/* 围栏上的语言名。压淡到与底色同族的灰,别抢代码正文的注意力。 */
|
|
1882
1931
|
.cm-content .cm-md-codeinfo {
|
|
1883
1932
|
color: color-mix(in srgb, var(--code-block-text, var(--text-color)) 45%, transparent);
|
|
@@ -2300,24 +2349,11 @@ body.theme-bear .cm-content .cm-md-atxheading1 {
|
|
|
2300
2349
|
}
|
|
2301
2350
|
|
|
2302
2351
|
/* 引用块 */
|
|
2303
|
-
body.theme-elegant .cm-content .cm-md-blockquote {
|
|
2304
|
-
background: var(--blockquote-bg);
|
|
2305
|
-
}
|
|
2306
|
-
|
|
2307
|
-
body.theme-sepia .cm-content .cm-md-blockquote {
|
|
2308
|
-
background: var(--blockquote-bg);
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
2352
|
body.theme-writer .cm-content .cm-md-blockquote {
|
|
2312
2353
|
border-left-width: 3px;
|
|
2313
2354
|
font-style: normal;
|
|
2314
2355
|
}
|
|
2315
2356
|
|
|
2316
|
-
body.theme-nord .cm-content .cm-md-blockquote { color: #aeb9c9; }
|
|
2317
|
-
body.theme-gruvbox .cm-content .cm-md-blockquote { color: #bdae93; }
|
|
2318
|
-
body.theme-dracula .cm-content .cm-md-blockquote { color: #c3c8e0; }
|
|
2319
|
-
body.theme-midnight .cm-content .cm-md-blockquote { color: #9a9a9a; }
|
|
2320
|
-
|
|
2321
2357
|
/* 表格 */
|
|
2322
2358
|
body.theme-elegant .cm-content .cm-md-table-widget th,
|
|
2323
2359
|
body.theme-elegant .cm-content .cm-md-table-widget td,
|
|
@@ -2437,6 +2473,7 @@ body.theme-notion .cm-content .cm-md-url {
|
|
|
2437
2473
|
padding: 14px 16px;
|
|
2438
2474
|
border-radius: 6px;
|
|
2439
2475
|
background: var(--code-block-bg);
|
|
2476
|
+
color: var(--code-block-text, var(--text-color));
|
|
2440
2477
|
overflow-x: auto;
|
|
2441
2478
|
}
|
|
2442
2479
|
|