@antdv-next/x 1.2.1-beta.1 → 1.2.2
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/attachments/index.js +1 -2
- package/dist/code-highlighter/style/index.d.ts +51 -19
- package/dist/code-highlighter/style/index.js +44 -31
- package/dist/index.umd.js +133 -52
- package/dist/package.js +1 -1
- package/dist/sender/hooks/use-speech.js +1 -2
- package/dist/suggestion/Suggestion.js +37 -6
- package/dist/suggestion/useActive.d.ts +1 -1
- package/dist/suggestion/useActive.js +44 -2
- package/dist/theme/util/alias.js +5 -5
- package/dist/think/Think.js +2 -3
- package/dist/thought-chain/Node.js +2 -3
- package/dist/x-provider/index.js +2 -3
- package/es/{_basePickBy-CrbncDqR.js → _basePickBy-BL4DHvHb.js} +1 -1
- package/es/{_baseUniq-B-qU_Imh.js → _baseUniq-CyFYmJd-.js} +7 -7
- package/es/antdv-next-x.esm.js +374 -335
- package/es/architecture-PBZL5I3N-M9p1teRv.js +3 -0
- package/es/{architectureDiagram-2XIMDMQ5-OvuktNfv.js → architectureDiagram-2XIMDMQ5-zW5aGalx.js} +99 -89
- package/es/{blockDiagram-WCTKOSBZ-CS-kh74L.js → blockDiagram-WCTKOSBZ-0QujSG-h.js} +36 -33
- package/es/{c4Diagram-IC4MRINW-BZGIF4Dk.js → c4Diagram-IC4MRINW-B7y07WFn.js} +24 -16
- package/es/{channel-DrSSYyxp.js → channel-CxLj88Pg.js} +1 -1
- package/es/{chunk-4BX2VUAB-Rm8-te6i.js → chunk-4BX2VUAB-CprgMM4u.js} +1 -1
- package/es/{chunk-55IACEB6-Tre45n-8.js → chunk-55IACEB6-BpkEkHy8.js} +1 -1
- package/es/{chunk-7R4GIKGN-scch4dXY.js → chunk-7R4GIKGN-mKY502R8.js} +6 -4
- package/es/{chunk-FMBD7UC4-JmekSPZP.js → chunk-FMBD7UC4-B88neS61.js} +1 -1
- package/es/{chunk-GEFDOKGD-BEzc6NZw.js → chunk-GEFDOKGD-oBEpn5hN.js} +67 -27
- package/es/chunk-GLR3WWYH-B2D9kjtF.js +41 -0
- package/es/chunk-HHEYEP7N-DcZkCke2.js +9 -0
- package/es/{chunk-JSJVCQXG-_l_UVbaa.js → chunk-JSJVCQXG-BbVOaXjl.js} +3 -3
- package/es/{chunk-KX2RTZJC-BUWM8pJz.js → chunk-KX2RTZJC-Dw3D7Wrw.js} +2 -2
- package/es/{chunk-KYZI473N-BSgb_E0Q.js → chunk-KYZI473N-33-uii7Y.js} +10 -10
- package/es/{chunk-MX3YWQON-D602L8pU.js → chunk-MX3YWQON-D4cz36rq.js} +1 -1
- package/es/{chunk-NQ4KR5QH-BPQV0i93.js → chunk-NQ4KR5QH-CprADZhD.js} +44 -40
- package/es/{chunk-O4XLMI2P-BMqc3iYa.js → chunk-O4XLMI2P-DBAvycZ-.js} +13 -14
- package/es/{chunk-PQ6SQG4A-DcYrzB1X.js → chunk-PQ6SQG4A-BITIwHAS.js} +2 -2
- package/es/{chunk-PU5JKC2W-TuGY6X1n.js → chunk-PU5JKC2W-DIl8TkGX.js} +22 -26
- package/es/{chunk-QZHKN3VN-CKbD02cl.js → chunk-QZHKN3VN-Cg0ROtzE.js} +1 -1
- package/es/{chunk-WL4C6EOR-B31ErTFp.js → chunk-WL4C6EOR-Bhp_3T_o.js} +15 -15
- package/es/chunk-XPW4576I-255j2Rgd.js +1146 -0
- package/es/{chunk-XZSTWKYB-DYKLwCEy.js → chunk-XZSTWKYB-kjAdbx6i.js} +266 -321
- package/es/{chunk-YBOYWFTD-CRiKEIiS.js → chunk-YBOYWFTD-C2IdGsg8.js} +5 -5
- package/es/classDiagram-VBA2DB6C-BQonl2jX.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-C9U3lqTc.js +29 -0
- package/es/{clone-yzFtXY5G.js → clone-DIGEZsKS.js} +1 -1
- package/es/{cose-bilkent-S5V4N54A-BM90wTBk.js → cose-bilkent-S5V4N54A-Cyxewg9z.js} +36 -31
- package/es/{cytoscape.esm-B_-hKv4-.js → cytoscape.esm-DBPri10E.js} +197 -155
- package/es/{dagre-DCYVBij1.js → dagre-BHOjJWBG.js} +26 -24
- package/es/{dagre-KLK3FWXG-Ced70SgJ.js → dagre-KLK3FWXG-CnJPDj7X.js} +17 -18
- package/es/{defaultLocale-yzzuPw6P.js → defaultLocale-aSMWOJHq.js} +4 -1
- package/es/{diagram-E7M64L7V-xZCloH_i.js → diagram-E7M64L7V-CBOCgbMd.js} +22 -24
- package/es/{diagram-IFDJBPK2-BTmFZhvz.js → diagram-IFDJBPK2-BtubJp0H.js} +11 -11
- package/es/{diagram-P4PSJMXO-DX_3B0LB.js → diagram-P4PSJMXO-CI30BBYG.js} +10 -10
- package/es/{dist-h4ggShny.js → dist-BpM0Gz7z.js} +1 -1
- package/es/{erDiagram-INFDFZHY-MJ_HVY-7.js → erDiagram-INFDFZHY-C8hYuPxm.js} +21 -21
- package/es/{flowDiagram-PKNHOUZH-CQIRy1sx.js → flowDiagram-PKNHOUZH-D5vrDkks.js} +40 -33
- package/es/{ganttDiagram-A5KZAMGK-Dw9bjWjx.js → ganttDiagram-A5KZAMGK-BmIEQBGq.js} +33 -21
- package/es/gitGraph-HDMCJU4V-x8fnR2OX.js +3 -0
- package/es/{gitGraphDiagram-K3NZZRJ6-Gk6FiGbZ.js → gitGraphDiagram-K3NZZRJ6-PO0pMJD3.js} +7 -7
- package/es/{graphlib-BMvIh7N7.js → graphlib-DqWOhV4K.js} +2 -2
- package/es/info-3K5VOQVL-CRBCVSej.js +3 -0
- package/es/{infoDiagram-LFFYTUFH-CS64-uil.js → infoDiagram-LFFYTUFH-DOcKfbXf.js} +4 -4
- package/es/{init-sjaVZO3f.js → init-Co4dhKfe.js} +3 -1
- package/es/isEmpty-BJdINx-6.js +35 -0
- package/es/{ishikawaDiagram-PHBUUO56-C_Hw5UnV.js → ishikawaDiagram-PHBUUO56-DM1elxPS.js} +12 -12
- package/es/{journeyDiagram-4ABVD52K-CFFyM4Ar.js → journeyDiagram-4ABVD52K-BnYWOH1P.js} +11 -11
- package/es/{kanban-definition-K7BYSVSG-B_R-mA10.js → kanban-definition-K7BYSVSG-Ys7nAs7y.js} +27 -26
- package/es/{katex-C-qdUNlg.js → katex-olkKUfKs.js} +52 -62
- package/es/{line-D05MESIS.js → line-Cm2n2y9Z.js} +1 -1
- package/es/{linear-B8tPH2Pw.js → linear-D-yDc6KG.js} +6 -4
- package/es/{mermaid-parser.core-C_69nk7j.js → mermaid-parser.core-DFgQn74w.js} +8 -8
- package/es/mermaid.core-BzgA0NbC.js +680 -0
- package/es/{mindmap-definition-YRQLILUH-qgGUYYe3.js → mindmap-definition-YRQLILUH-Ca8psfLi.js} +26 -24
- package/es/{ordinal-CNQzPcrr.js → ordinal-95c16pGC.js} +1 -1
- package/es/packet-RMMSAZCW-CyE-elPF.js +3 -0
- package/es/pie-UPGHQEXC-EfdQ-_OF.js +3 -0
- package/es/{pieDiagram-SKSYHLDU-B8-AVOmP.js → pieDiagram-SKSYHLDU-DhQSMJCw.js} +11 -11
- package/es/{quadrantDiagram-337W2JSQ-C2Z0CN4Z.js → quadrantDiagram-337W2JSQ-jOtIC8r0.js} +9 -9
- package/es/radar-KQ55EAFF-B68vkNB4.js +3 -0
- package/es/{requirementDiagram-Z7DCOOCP-Cdj7PwWC.js → requirementDiagram-Z7DCOOCP-CNngzPE4.js} +18 -18
- package/es/{rolldown-runtime-CEY2VRuR.js → rolldown-runtime-Dv1pqm0U.js} +2 -2
- package/es/{sankeyDiagram-WA2Y5GQK-BNmU-dM1.js → sankeyDiagram-WA2Y5GQK-BgsyVNdD.js} +9 -9
- package/es/{sequenceDiagram-2WXFIKYE-pj0uPf22.js → sequenceDiagram-2WXFIKYE-BAc5PP9P.js} +46 -34
- package/es/{shiki-runtime-7QG17np_.js → shiki-runtime-BlKUZiZP.js} +41 -44
- package/es/{src-Dynw_Lub.js → src-3T61hYex.js} +1 -1
- package/es/{stateDiagram-RAJIS63D-BgCfMnGb.js → stateDiagram-RAJIS63D-153LjStx.js} +18 -18
- package/es/stateDiagram-v2-FVOUBMTO-BXEvy1YD.js +27 -0
- package/es/{timeline-definition-YZTLITO2-Bj5QKnBI.js → timeline-definition-YZTLITO2-BLhlkb_X.js} +8 -8
- package/es/treemap-KZPCXAKY-Dg_ShzRB.js +3 -0
- package/es/{vennDiagram-LZ73GAT5-lpWcIvN6.js → vennDiagram-LZ73GAT5-BTYWphmf.js} +13 -13
- package/es/{xychartDiagram-JWTSCODW-De1M-7Yz.js → xychartDiagram-JWTSCODW-B9Nlu6S_.js} +29 -25
- package/package.json +1 -1
- package/es/architecture-PBZL5I3N-BRGGaMu3.js +0 -3
- package/es/classDiagram-VBA2DB6C-BDqwxUdU.js +0 -29
- package/es/classDiagram-v2-RAHNMMFH-DdmOjeUb.js +0 -29
- package/es/gitGraph-HDMCJU4V-oForq_Vw.js +0 -3
- package/es/info-3K5VOQVL-0F-ZLEMx.js +0 -3
- package/es/mermaid.core-BVGVwWcu.js +0 -1914
- package/es/packet-RMMSAZCW-CeqtQQ_e.js +0 -3
- package/es/pie-UPGHQEXC-BI60FhK4.js +0 -3
- package/es/radar-KQ55EAFF-CRwOOFw0.js +0 -3
- package/es/stateDiagram-v2-FVOUBMTO-ByMhP6Xo.js +0 -27
- package/es/treemap-KZPCXAKY-BlOAFUbR.js +0 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as e, t } from "./rolldown-runtime-
|
|
2
|
-
import { a as n, c as r, d as i, f as a, g as o, h as s, i as c, p as l, s as u, u as d, v as f } from "./src-
|
|
3
|
-
import { h as p } from "./chunk-GEFDOKGD-
|
|
4
|
-
import { B as m, C as h, V as g, W as _, _ as v, a as y, b, c as x, s as S, v as C } from "./chunk-7R4GIKGN-
|
|
5
|
-
import { a as w, i as T, n as E, r as D, t as O } from "./linear-
|
|
6
|
-
import { t as k } from "./init-
|
|
7
|
-
import { t as ee } from "./dist-
|
|
1
|
+
import { o as e, t } from "./rolldown-runtime-Dv1pqm0U.js";
|
|
2
|
+
import { a as n, c as r, d as i, f as a, g as o, h as s, i as c, p as l, s as u, u as d, v as f } from "./src-3T61hYex.js";
|
|
3
|
+
import { h as p } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
4
|
+
import { B as m, C as h, V as g, W as _, _ as v, a as y, b, c as x, s as S, v as C } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
5
|
+
import { a as w, i as T, n as E, r as D, t as O } from "./linear-D-yDc6KG.js";
|
|
6
|
+
import { t as k } from "./init-Co4dhKfe.js";
|
|
7
|
+
import { t as ee } from "./dist-BpM0Gz7z.js";
|
|
8
8
|
//#region ../../node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/plugin/advancedFormat.js
|
|
9
9
|
var A = /* @__PURE__ */ t(((e, t) => {
|
|
10
10
|
(function(n, r) {
|
|
@@ -1669,7 +1669,9 @@ var Un = /* @__PURE__ */ t(((e, t) => {
|
|
|
1669
1669
|
this.$ = a[s - 2] + " " + a[s - 1] + " " + a[s];
|
|
1670
1670
|
break;
|
|
1671
1671
|
case 44:
|
|
1672
|
-
case 46:
|
|
1672
|
+
case 46:
|
|
1673
|
+
this.$ = a[s - 3] + " " + a[s - 2] + " " + a[s - 1] + " " + a[s];
|
|
1674
|
+
break;
|
|
1673
1675
|
}
|
|
1674
1676
|
}, "anonymous"),
|
|
1675
1677
|
table: [
|
|
@@ -1807,7 +1809,7 @@ var Un = /* @__PURE__ */ t(((e, t) => {
|
|
|
1807
1809
|
var v = h.yylloc;
|
|
1808
1810
|
a.push(v);
|
|
1809
1811
|
var y = h.options && h.options.ranges;
|
|
1810
|
-
|
|
1812
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
1811
1813
|
function b(e) {
|
|
1812
1814
|
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
1813
1815
|
}
|
|
@@ -1960,10 +1962,8 @@ var Un = /* @__PURE__ */ t(((e, t) => {
|
|
|
1960
1962
|
if (this._backtrack) {
|
|
1961
1963
|
t = !1;
|
|
1962
1964
|
continue;
|
|
1963
|
-
}
|
|
1964
|
-
|
|
1965
|
-
}
|
|
1966
|
-
if (!this.options.flex) break;
|
|
1965
|
+
} else return !1;
|
|
1966
|
+
} else if (!this.options.flex) break;
|
|
1967
1967
|
}
|
|
1968
1968
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1969
1969
|
text: "",
|
|
@@ -2356,7 +2356,10 @@ var Qn = {
|
|
|
2356
2356
|
case 2:
|
|
2357
2357
|
i.id = Yr(), i.startTime = Gr(void 0, X, r[0]), a = r[1];
|
|
2358
2358
|
break;
|
|
2359
|
-
case 3:
|
|
2359
|
+
case 3:
|
|
2360
|
+
i.id = Yr(r[0]), i.startTime = Gr(void 0, X, r[1]), a = r[2];
|
|
2361
|
+
break;
|
|
2362
|
+
default:
|
|
2360
2363
|
}
|
|
2361
2364
|
return a && (i.endTime = qr(i.startTime, X, a, dr), i.manualEndTime = (0, Y.default)(a, "YYYY-MM-DD", !0).isValid(), Ur(i, X, rr, nr)), i;
|
|
2362
2365
|
}, "compileData"), Zr = /* @__PURE__ */ s(function(e, t) {
|
|
@@ -2378,10 +2381,13 @@ var Qn = {
|
|
|
2378
2381
|
startData: r[0]
|
|
2379
2382
|
}, i.endTime = { data: r[1] };
|
|
2380
2383
|
break;
|
|
2381
|
-
case 3:
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2384
|
+
case 3:
|
|
2385
|
+
i.id = Yr(r[0]), i.startTime = {
|
|
2386
|
+
type: "getStartDate",
|
|
2387
|
+
startData: r[1]
|
|
2388
|
+
}, i.endTime = { data: r[2] };
|
|
2389
|
+
break;
|
|
2390
|
+
default:
|
|
2385
2391
|
}
|
|
2386
2392
|
return i;
|
|
2387
2393
|
}, "parseData"), Qr, $r, Z = [], ei = {}, ti = /* @__PURE__ */ s(function(e, t) {
|
|
@@ -2417,7 +2423,9 @@ var Qn = {
|
|
|
2417
2423
|
case "prevTaskEnd":
|
|
2418
2424
|
t.startTime = Q(t.prevTaskId).endTime;
|
|
2419
2425
|
break;
|
|
2420
|
-
case "getStartDate":
|
|
2426
|
+
case "getStartDate":
|
|
2427
|
+
n = Gr(void 0, X, Z[e].raw.startTime.startData), n && (Z[e].startTime = n);
|
|
2428
|
+
break;
|
|
2421
2429
|
}
|
|
2422
2430
|
return Z[e].startTime && (Z[e].endTime = qr(Z[e].startTime, X, Z[e].raw.endTime.data, dr), Z[e].endTime && (Z[e].processed = !0, Z[e].manualEndTime = (0, Y.default)(Z[e].raw.endTime.data, "YYYY-MM-DD", !0).isValid(), Ur(Z[e], X, rr, nr))), Z[e].processed;
|
|
2423
2431
|
}, "compileTask"), t = !0;
|
|
@@ -2698,7 +2706,9 @@ var ui = /* @__PURE__ */ s(function() {
|
|
|
2698
2706
|
case "week":
|
|
2699
2707
|
u.ticks(di[n].every(e));
|
|
2700
2708
|
break;
|
|
2701
|
-
case "month":
|
|
2709
|
+
case "month":
|
|
2710
|
+
u.ticks(lt.every(e));
|
|
2711
|
+
break;
|
|
2702
2712
|
}
|
|
2703
2713
|
}
|
|
2704
2714
|
}
|
|
@@ -2728,7 +2738,9 @@ var ui = /* @__PURE__ */ s(function() {
|
|
|
2728
2738
|
case "week":
|
|
2729
2739
|
n.ticks(di[a].every(e));
|
|
2730
2740
|
break;
|
|
2731
|
-
case "month":
|
|
2741
|
+
case "month":
|
|
2742
|
+
n.ticks(lt.every(e));
|
|
2743
|
+
break;
|
|
2732
2744
|
}
|
|
2733
2745
|
}
|
|
2734
2746
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { h as r, p as i, r as a } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { t as o } from "./mermaid-parser.core-
|
|
4
|
-
import { B as s, C as c, V as l, W as u, _ as d, a as f, d as ee, q as te, s as p, v as m, y as h } from "./chunk-7R4GIKGN-
|
|
5
|
-
import { t as g } from "./chunk-4BX2VUAB-
|
|
6
|
-
import { t as ne } from "./chunk-QZHKN3VN-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-3T61hYex.js";
|
|
2
|
+
import { h as r, p as i, r as a } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { t as o } from "./mermaid-parser.core-DFgQn74w.js";
|
|
4
|
+
import { B as s, C as c, V as l, W as u, _ as d, a as f, d as ee, q as te, s as p, v as m, y as h } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
5
|
+
import { t as g } from "./chunk-4BX2VUAB-CprgMM4u.js";
|
|
6
|
+
import { t as ne } from "./chunk-QZHKN3VN-Cg0ROtzE.js";
|
|
7
7
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-K3NZZRJ6.mjs
|
|
8
8
|
var _ = {
|
|
9
9
|
NORMAL: 0,
|
|
@@ -218,7 +218,7 @@ t(T, "upsert");
|
|
|
218
218
|
function E(t) {
|
|
219
219
|
let n = t.reduce((e, t) => e.seq > t.seq ? e : t, t[0]), r = "";
|
|
220
220
|
t.forEach(function(e) {
|
|
221
|
-
|
|
221
|
+
e === n ? r += " *" : r += " |";
|
|
222
222
|
});
|
|
223
223
|
let i = [
|
|
224
224
|
r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as e, P as t, R as n, t as r } from "./isArrayLikeObject-Dqk_yOP-.js";
|
|
2
|
-
import { D as i, S as a, a as o, i as s, n as c, r as l, s as u, t as d } from "./_baseUniq-
|
|
3
|
-
import {
|
|
2
|
+
import { D as i, S as a, a as o, i as s, n as c, r as l, s as u, t as d } from "./_baseUniq-CyFYmJd-.js";
|
|
3
|
+
import { t as f } from "./isEmpty-BJdINx-6.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/union.js
|
|
5
5
|
var p = e(function(e) {
|
|
6
6
|
return d(a(e, 1, r, !0));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import { t as n } from "./mermaid-parser.core-
|
|
3
|
-
import { c as r } from "./chunk-7R4GIKGN-
|
|
4
|
-
import {
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { t as n } from "./mermaid-parser.core-DFgQn74w.js";
|
|
3
|
+
import { c as r } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { t as i } from "./chunk-HHEYEP7N-DcZkCke2.js";
|
|
5
5
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-LFFYTUFH.mjs
|
|
6
6
|
var a = { parse: /* @__PURE__ */ t(async (t) => {
|
|
7
7
|
let r = await n("info", t);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { G as e, I as t, L as n, U as r, V as i, b as a, f as o, g as s, m as c, w as l, x as u, y as d } from "./isArrayLikeObject-Dqk_yOP-.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.js
|
|
3
|
+
var f = t(e, "WeakMap"), p = c(Object.keys, Object), m = Object.prototype.hasOwnProperty;
|
|
4
|
+
function h(e) {
|
|
5
|
+
if (!u(e)) return p(e);
|
|
6
|
+
var t = [];
|
|
7
|
+
for (var n in Object(e)) m.call(e, n) && n != "constructor" && t.push(n);
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_DataView.js
|
|
12
|
+
var g = t(e, "DataView"), _ = t(e, "Promise"), v = t(e, "Set"), y = "[object Map]", b = "[object Object]", x = "[object Promise]", S = "[object Set]", C = "[object WeakMap]", w = "[object DataView]", T = n(g), E = n(o), D = n(_), O = n(v), k = n(f), A = r;
|
|
13
|
+
(g && A(new g(/* @__PURE__ */ new ArrayBuffer(1))) != w || o && A(new o()) != y || _ && A(_.resolve()) != x || v && A(new v()) != S || f && A(new f()) != C) && (A = function(e) {
|
|
14
|
+
var t = r(e), i = t == b ? e.constructor : void 0, a = i ? n(i) : "";
|
|
15
|
+
if (a) switch (a) {
|
|
16
|
+
case T: return w;
|
|
17
|
+
case E: return y;
|
|
18
|
+
case D: return x;
|
|
19
|
+
case O: return S;
|
|
20
|
+
case k: return C;
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
});
|
|
24
|
+
var j = A, M = "[object Map]", N = "[object Set]", P = Object.prototype.hasOwnProperty;
|
|
25
|
+
function F(e) {
|
|
26
|
+
if (e == null) return !0;
|
|
27
|
+
if (l(e) && (i(e) || typeof e == "string" || typeof e.splice == "function" || d(e) || s(e) || a(e))) return !e.length;
|
|
28
|
+
var t = j(e);
|
|
29
|
+
if (t == M || t == N) return !e.size;
|
|
30
|
+
if (u(e)) return !h(e).length;
|
|
31
|
+
for (var n in e) if (P.call(e, n)) return !1;
|
|
32
|
+
return !0;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { h as i, j as n, v as r, F as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h as e } from "./src-
|
|
2
|
-
import { f as t } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { B as n, C as r, V as i, W as a, _ as o, a as s, b as c, c as l, s as u, v as d } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as f } from "./
|
|
5
|
-
import {
|
|
1
|
+
import { h as e } from "./src-3T61hYex.js";
|
|
2
|
+
import { f as t } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { B as n, C as r, V as i, W as a, _ as o, a as s, b as c, c as l, s as u, v as d } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { t as f } from "./chunk-HHEYEP7N-DcZkCke2.js";
|
|
5
|
+
import { t as p } from "./rough.esm-D1ibUQD-.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-PHBUUO56.mjs
|
|
7
7
|
var m = (function() {
|
|
8
8
|
var t = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
@@ -86,7 +86,9 @@ var m = (function() {
|
|
|
86
86
|
case 15:
|
|
87
87
|
r.addNode(a[s - 1].length, a[s].trim());
|
|
88
88
|
break;
|
|
89
|
-
case 16:
|
|
89
|
+
case 16:
|
|
90
|
+
r.addNode(0, a[s].trim());
|
|
91
|
+
break;
|
|
90
92
|
}
|
|
91
93
|
}, "anonymous"),
|
|
92
94
|
table: [
|
|
@@ -186,7 +188,7 @@ var m = (function() {
|
|
|
186
188
|
var v = h.yylloc;
|
|
187
189
|
o.push(v);
|
|
188
190
|
var y = h.options && h.options.ranges;
|
|
189
|
-
|
|
191
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
190
192
|
function b(e) {
|
|
191
193
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
192
194
|
}
|
|
@@ -339,10 +341,8 @@ var m = (function() {
|
|
|
339
341
|
if (this._backtrack) {
|
|
340
342
|
t = !1;
|
|
341
343
|
continue;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
}
|
|
345
|
-
if (!this.options.flex) break;
|
|
344
|
+
} else return !1;
|
|
345
|
+
} else if (!this.options.flex) break;
|
|
346
346
|
}
|
|
347
347
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
348
348
|
text: "",
|
|
@@ -475,7 +475,7 @@ var h = m, g = class {
|
|
|
475
475
|
}, "applyPaddedViewBox"), E = /* @__PURE__ */ e((e, n, r, i) => {
|
|
476
476
|
let a = i.db.getRoot();
|
|
477
477
|
if (!a) return;
|
|
478
|
-
let o = c(), { look: s, handDrawnSeed: l, themeVariables: u } = o, d = t(o.fontSize)[0] ?? _, m = s === "handDrawn", h = a.children ?? [], g = o.ishikawa?.diagramPadding ?? 20, y = o.ishikawa?.useMaxWidth ?? !1, b =
|
|
478
|
+
let o = c(), { look: s, handDrawnSeed: l, themeVariables: u } = o, d = t(o.fontSize)[0] ?? _, m = s === "handDrawn", h = a.children ?? [], g = o.ishikawa?.diagramPadding ?? 20, y = o.ishikawa?.useMaxWidth ?? !1, b = f(n), x = b.append("g").attr("class", "ishikawa"), S = m ? p.svg(b.node()) : void 0, C = S ? {
|
|
479
479
|
roughSvg: S,
|
|
480
480
|
seed: l ?? 0,
|
|
481
481
|
lineColor: u?.lineColor ?? "#333",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h as e, p as t } from "./src-
|
|
2
|
-
import { B as n, C as r, V as i, W as a, _ as o, a as s, b as c, c as l, v as u } from "./chunk-7R4GIKGN-
|
|
1
|
+
import { h as e, p as t } from "./src-3T61hYex.js";
|
|
2
|
+
import { B as n, C as r, V as i, W as a, _ as o, a as s, b as c, c as l, v as u } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
3
3
|
import { t as d } from "./arc-NI3ROx5X.js";
|
|
4
|
-
import { t as f } from "./chunk-FMBD7UC4-
|
|
5
|
-
import { a as p, n as m, o as h, s as g } from "./chunk-JSJVCQXG-
|
|
4
|
+
import { t as f } from "./chunk-FMBD7UC4-B88neS61.js";
|
|
5
|
+
import { a as p, n as m, o as h, s as g } from "./chunk-JSJVCQXG-BbVOaXjl.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-4ABVD52K.mjs
|
|
7
7
|
var _ = (function() {
|
|
8
8
|
var t = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
@@ -106,7 +106,9 @@ var _ = (function() {
|
|
|
106
106
|
case 12:
|
|
107
107
|
r.addSection(a[s].substr(8)), this.$ = a[s].substr(8);
|
|
108
108
|
break;
|
|
109
|
-
case 13:
|
|
109
|
+
case 13:
|
|
110
|
+
r.addTask(a[s - 1], a[s]), this.$ = "task";
|
|
111
|
+
break;
|
|
110
112
|
}
|
|
111
113
|
}, "anonymous"),
|
|
112
114
|
table: [
|
|
@@ -168,7 +170,7 @@ var _ = (function() {
|
|
|
168
170
|
var v = h.yylloc;
|
|
169
171
|
o.push(v);
|
|
170
172
|
var y = h.options && h.options.ranges;
|
|
171
|
-
|
|
173
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
172
174
|
function b(e) {
|
|
173
175
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
174
176
|
}
|
|
@@ -321,10 +323,8 @@ var _ = (function() {
|
|
|
321
323
|
if (this._backtrack) {
|
|
322
324
|
t = !1;
|
|
323
325
|
continue;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
if (!this.options.flex) break;
|
|
326
|
+
} else return !1;
|
|
327
|
+
} else if (!this.options.flex) break;
|
|
328
328
|
}
|
|
329
329
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
330
330
|
text: "",
|
|
@@ -820,7 +820,7 @@ var q = c().journey, J = 0, Y = /* @__PURE__ */ e(function(e, n, r, i) {
|
|
|
820
820
|
}, this.verticalPos = 0;
|
|
821
821
|
}, "init"),
|
|
822
822
|
updateVal: /* @__PURE__ */ e(function(e, t, n, r) {
|
|
823
|
-
e[t]
|
|
823
|
+
e[t] === void 0 ? e[t] = n : e[t] = r(n, e[t]);
|
|
824
824
|
}, "updateVal"),
|
|
825
825
|
updateBounds: /* @__PURE__ */ e(function(t, n, r, i) {
|
|
826
826
|
let a = c().journey, o = this, s = 0;
|
package/es/{kanban-definition-K7BYSVSG-B_R-mA10.js → kanban-definition-K7BYSVSG-Ys7nAs7y.js}
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import "./chunk-GEFDOKGD-
|
|
3
|
-
import { $ as n, K as r, L as i, Q as a, b as o, d as s, tt as c } from "./chunk-7R4GIKGN-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import
|
|
9
|
-
import { a as
|
|
1
|
+
import { g as e, h as t } from "./src-3T61hYex.js";
|
|
2
|
+
import "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
3
|
+
import { $ as n, K as r, L as i, Q as a, b as o, d as s, tt as c } from "./chunk-7R4GIKGN-mKY502R8.js";
|
|
4
|
+
import { t as l } from "./chunk-HHEYEP7N-DcZkCke2.js";
|
|
5
|
+
import "./chunk-PU5JKC2W-DIl8TkGX.js";
|
|
6
|
+
import { t as u } from "./chunk-FMBD7UC4-B88neS61.js";
|
|
7
|
+
import "./chunk-YBOYWFTD-C2IdGsg8.js";
|
|
8
|
+
import "./chunk-PQ6SQG4A-BITIwHAS.js";
|
|
9
|
+
import { a as d, c as f, i as p } from "./chunk-KYZI473N-33-uii7Y.js";
|
|
10
|
+
import { n as m, t as h } from "./chunk-XPW4576I-255j2Rgd.js";
|
|
10
11
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-K7BYSVSG.mjs
|
|
11
12
|
var g = (function() {
|
|
12
13
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -188,7 +189,9 @@ var g = (function() {
|
|
|
188
189
|
case 30:
|
|
189
190
|
this.$ = a[s - 1] + a[s];
|
|
190
191
|
break;
|
|
191
|
-
case 31:
|
|
192
|
+
case 31:
|
|
193
|
+
this.$ = a[s];
|
|
194
|
+
break;
|
|
192
195
|
}
|
|
193
196
|
}, "anonymous"),
|
|
194
197
|
table: [
|
|
@@ -343,7 +346,7 @@ var g = (function() {
|
|
|
343
346
|
var v = h.yylloc;
|
|
344
347
|
o.push(v);
|
|
345
348
|
var y = h.options && h.options.ranges;
|
|
346
|
-
|
|
349
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
347
350
|
function b(e) {
|
|
348
351
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
349
352
|
}
|
|
@@ -496,10 +499,8 @@ var g = (function() {
|
|
|
496
499
|
if (this._backtrack) {
|
|
497
500
|
t = !1;
|
|
498
501
|
continue;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
}
|
|
502
|
-
if (!this.options.flex) break;
|
|
502
|
+
} else return !1;
|
|
503
|
+
} else if (!this.options.flex) break;
|
|
503
504
|
}
|
|
504
505
|
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
505
506
|
text: "",
|
|
@@ -845,34 +846,34 @@ var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ t(() => {
|
|
|
845
846
|
getElementById: /* @__PURE__ */ t((e) => x[e], "getElementById")
|
|
846
847
|
}, k = { draw: /* @__PURE__ */ t(async (t, n, i, a) => {
|
|
847
848
|
e.debug("Rendering kanban diagram\n" + t);
|
|
848
|
-
let c = a.db.getData(),
|
|
849
|
-
|
|
850
|
-
let m =
|
|
849
|
+
let c = a.db.getData(), u = o();
|
|
850
|
+
u.htmlLabels = !1;
|
|
851
|
+
let m = l(n), h = m.append("g");
|
|
851
852
|
h.attr("class", "sections");
|
|
852
853
|
let g = m.append("g");
|
|
853
854
|
g.attr("class", "items");
|
|
854
855
|
let _ = c.nodes.filter((e) => e.isGroup), v = 0, y = [], b = 25;
|
|
855
856
|
for (let e of _) {
|
|
856
|
-
let t =
|
|
857
|
+
let t = u?.kanban?.sectionWidth || 200;
|
|
857
858
|
v += 1, e.x = t * v + (v - 1) * 10 / 2, e.width = t, e.y = 0, e.height = t * 3, e.rx = 5, e.ry = 5, e.cssClasses = e.cssClasses + " section-" + v;
|
|
858
|
-
let n = await
|
|
859
|
+
let n = await p(h, e);
|
|
859
860
|
b = Math.max(b, n?.labelBBox?.height), y.push(n);
|
|
860
861
|
}
|
|
861
862
|
let x = 0;
|
|
862
863
|
for (let e of _) {
|
|
863
864
|
let t = y[x];
|
|
864
865
|
x += 1;
|
|
865
|
-
let n =
|
|
866
|
+
let n = u?.kanban?.sectionWidth || 200, r = -n * 3 / 2 + b, i = r, a = c.nodes.filter((t) => t.parentId === e.id);
|
|
866
867
|
for (let t of a) {
|
|
867
868
|
if (t.isGroup) throw Error("Groups within groups are not allowed in Kanban diagrams");
|
|
868
|
-
t.x = e.x, t.width = n -
|
|
869
|
-
let r = (await
|
|
870
|
-
t.y = i + r.height / 2, await
|
|
869
|
+
t.x = e.x, t.width = n - 1.5 * 10;
|
|
870
|
+
let r = (await d(g, t, { config: u })).node().getBBox();
|
|
871
|
+
t.y = i + r.height / 2, await f(t), i = t.y + r.height / 2 + 10 / 2;
|
|
871
872
|
}
|
|
872
873
|
let o = t.cluster.select("rect"), s = Math.max(i - r + 30, 50) + (b - 25);
|
|
873
874
|
o.attr("height", s);
|
|
874
875
|
}
|
|
875
|
-
r(void 0, m,
|
|
876
|
+
r(void 0, m, u.mindmap?.padding ?? s.kanban.padding, u.mindmap?.useMaxWidth ?? s.kanban.useMaxWidth);
|
|
876
877
|
}, "draw") }, A = /* @__PURE__ */ t((e) => {
|
|
877
878
|
let r = "";
|
|
878
879
|
for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], c(e["lineColor" + t]) ? e["lineColor" + t] = n(e["lineColor" + t], 20) : e["lineColor" + t] = a(e["lineColor" + t], 20);
|
|
@@ -963,7 +964,7 @@ var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ t(() => {
|
|
|
963
964
|
dominant-baseline: middle;
|
|
964
965
|
text-align: center;
|
|
965
966
|
}
|
|
966
|
-
${
|
|
967
|
+
${u()}
|
|
967
968
|
`, "getStyles")
|
|
968
969
|
};
|
|
969
970
|
//#endregion
|
|
@@ -15426,14 +15426,12 @@ var gt = [
|
|
|
15426
15426
|
if (119808 <= a && a < 120484) {
|
|
15427
15427
|
var s = Math.floor((a - 119808) / 26);
|
|
15428
15428
|
return [gt[s][2], gt[s][o]];
|
|
15429
|
-
}
|
|
15430
|
-
if (120782 <= a && a <= 120831) {
|
|
15429
|
+
} else if (120782 <= a && a <= 120831) {
|
|
15431
15430
|
var c = Math.floor((a - 120782) / 10);
|
|
15432
15431
|
return [_t[c][2], _t[c][o]];
|
|
15433
|
-
}
|
|
15434
|
-
if (
|
|
15435
|
-
|
|
15436
|
-
throw new e("Unsupported character: " + t);
|
|
15432
|
+
} else if (a === 120485 || a === 120486) return [gt[0][2], gt[0][o]];
|
|
15433
|
+
else if (120486 < a && a < 120782) return ["", ""];
|
|
15434
|
+
else throw new e("Unsupported character: " + t);
|
|
15437
15435
|
}, yt = function(e, t, n) {
|
|
15438
15436
|
if (O[n][e]) {
|
|
15439
15437
|
var r = O[n][e].replace;
|
|
@@ -15493,8 +15491,7 @@ var gt = [
|
|
|
15493
15491
|
if (h === "main" || !h) return bt(i, Pt("textrm", t.fontWeight, t.fontShape), r, t, a.concat(t.fontWeight, t.fontShape));
|
|
15494
15492
|
var g = Pt(h, t.fontWeight, t.fontShape);
|
|
15495
15493
|
return bt(i, g, r, t, a.concat(g, t.fontWeight, t.fontShape));
|
|
15496
|
-
}
|
|
15497
|
-
throw Error("unexpected type: " + n + " in makeOrd");
|
|
15494
|
+
} else throw Error("unexpected type: " + n + " in makeOrd");
|
|
15498
15495
|
}, wt = (e, t) => {
|
|
15499
15496
|
if (we(e.classes) !== we(t.classes) || e.skew !== t.skew || e.maxFontSize !== t.maxFontSize || e.italic !== 0 && e.hasClass("mathnormal")) return !1;
|
|
15500
15497
|
if (e.classes.length === 1) {
|
|
@@ -15896,8 +15893,7 @@ var Kt = function(e) {
|
|
|
15896
15893
|
i.height *= a, i.depth *= a;
|
|
15897
15894
|
}
|
|
15898
15895
|
return i;
|
|
15899
|
-
}
|
|
15900
|
-
throw new e("Got group of unknown type: '" + t.type + "'");
|
|
15896
|
+
} else throw new e("Got group of unknown type: '" + t.type + "'");
|
|
15901
15897
|
};
|
|
15902
15898
|
function nn(e, t) {
|
|
15903
15899
|
var n = H(["base"], e, t), r = H(["strut"]);
|
|
@@ -15970,7 +15966,7 @@ var Y = class {
|
|
|
15970
15966
|
}
|
|
15971
15967
|
}, on = class {
|
|
15972
15968
|
constructor(e) {
|
|
15973
|
-
this.width = e,
|
|
15969
|
+
this.width = e, e >= .05555 && e <= .05556 ? this.character = " " : e >= .1666 && e <= .1667 ? this.character = " " : e >= .2222 && e <= .2223 ? this.character = " " : e >= .2777 && e <= .2778 ? this.character = " " : e >= -.05556 && e <= -.05555 ? this.character = " " : e >= -.1667 && e <= -.1666 ? this.character = " " : e >= -.2223 && e <= -.2222 ? this.character = " " : e >= -.2778 && e <= -.2777 ? this.character = " " : this.character = null;
|
|
15974
15970
|
}
|
|
15975
15971
|
toNode() {
|
|
15976
15972
|
if (this.character) return document.createTextNode(this.character);
|
|
@@ -16019,12 +16015,10 @@ function fn(e) {
|
|
|
16019
16015
|
if (e.type === "mi" && e.children.length === 1) {
|
|
16020
16016
|
var t = e.children[0];
|
|
16021
16017
|
return t instanceof X && t.text === ".";
|
|
16022
|
-
}
|
|
16023
|
-
if (e.type === "mo" && e.children.length === 1 && e.getAttribute("separator") === "true" && e.getAttribute("lspace") === "0em" && e.getAttribute("rspace") === "0em") {
|
|
16018
|
+
} else if (e.type === "mo" && e.children.length === 1 && e.getAttribute("separator") === "true" && e.getAttribute("lspace") === "0em" && e.getAttribute("rspace") === "0em") {
|
|
16024
16019
|
var n = e.children[0];
|
|
16025
16020
|
return n instanceof X && n.text === ",";
|
|
16026
|
-
}
|
|
16027
|
-
return !1;
|
|
16021
|
+
} else return !1;
|
|
16028
16022
|
}
|
|
16029
16023
|
var pn = function(e, t, n) {
|
|
16030
16024
|
if (e.length === 1) {
|
|
@@ -16037,16 +16031,13 @@ var pn = function(e, t, n) {
|
|
|
16037
16031
|
if (s.type === "mtext" && a.type === "mtext" && s.getAttribute("mathvariant") === a.getAttribute("mathvariant")) {
|
|
16038
16032
|
a.children.push(...s.children);
|
|
16039
16033
|
continue;
|
|
16040
|
-
}
|
|
16041
|
-
if (s.type === "mn" && a.type === "mn") {
|
|
16034
|
+
} else if (s.type === "mn" && a.type === "mn") {
|
|
16042
16035
|
a.children.push(...s.children);
|
|
16043
16036
|
continue;
|
|
16044
|
-
}
|
|
16045
|
-
if (fn(s) && a.type === "mn") {
|
|
16037
|
+
} else if (fn(s) && a.type === "mn") {
|
|
16046
16038
|
a.children.push(...s.children);
|
|
16047
16039
|
continue;
|
|
16048
|
-
}
|
|
16049
|
-
if (s.type === "mn" && fn(a)) s.children = [...a.children, ...s.children], i.pop();
|
|
16040
|
+
} else if (s.type === "mn" && fn(a)) s.children = [...a.children, ...s.children], i.pop();
|
|
16050
16041
|
else if ((s.type === "msup" || s.type === "msub") && s.children.length >= 1 && (a.type === "mn" || fn(a))) {
|
|
16051
16042
|
var c = s.children[0];
|
|
16052
16043
|
c instanceof Y && c.type === "mn" && (c.children = [...a.children, ...c.children], i.pop());
|
|
@@ -16631,41 +16622,42 @@ var bn = function(e) {
|
|
|
16631
16622
|
minWidth: 0,
|
|
16632
16623
|
height: c
|
|
16633
16624
|
};
|
|
16634
|
-
}
|
|
16635
|
-
|
|
16636
|
-
|
|
16637
|
-
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16625
|
+
} else {
|
|
16626
|
+
var u = [], d = En[r], [f, p, m] = d, h = m / 1e3, g = f.length, _, v;
|
|
16627
|
+
if (g === 1) {
|
|
16628
|
+
var y = d[3];
|
|
16629
|
+
_ = ["hide-tail"], v = [y];
|
|
16630
|
+
} else if (g === 2) _ = ["halfarrow-left", "halfarrow-right"], v = ["xMinYMin", "xMaxYMin"];
|
|
16631
|
+
else if (g === 3) _ = [
|
|
16632
|
+
"brace-left",
|
|
16633
|
+
"brace-center",
|
|
16634
|
+
"brace-right"
|
|
16635
|
+
], v = [
|
|
16636
|
+
"xMinYMin",
|
|
16637
|
+
"xMidYMin",
|
|
16638
|
+
"xMaxYMin"
|
|
16639
|
+
];
|
|
16640
|
+
else throw Error("Correct katexImagesData or update code here to support\n " + g + " children.");
|
|
16641
|
+
for (var b = 0; b < g; b++) {
|
|
16642
|
+
var x = new Pe([new Fe(f[b])], {
|
|
16643
|
+
width: "400em",
|
|
16644
|
+
height: D(h),
|
|
16645
|
+
viewBox: "0 0 " + n + " " + m,
|
|
16646
|
+
preserveAspectRatio: v[b] + " slice"
|
|
16647
|
+
}), S = Dt([_[b]], [x], t);
|
|
16648
|
+
if (g === 1) return {
|
|
16649
|
+
span: S,
|
|
16650
|
+
minWidth: p,
|
|
16651
|
+
height: h
|
|
16652
|
+
};
|
|
16653
|
+
S.style.height = D(h), u.push(S);
|
|
16654
|
+
}
|
|
16655
|
+
return {
|
|
16656
|
+
span: H(["stretchy"], u, t),
|
|
16659
16657
|
minWidth: p,
|
|
16660
16658
|
height: h
|
|
16661
16659
|
};
|
|
16662
|
-
S.style.height = D(h), u.push(S);
|
|
16663
16660
|
}
|
|
16664
|
-
return {
|
|
16665
|
-
span: H(["stretchy"], u, t),
|
|
16666
|
-
minWidth: p,
|
|
16667
|
-
height: h
|
|
16668
|
-
};
|
|
16669
16661
|
}
|
|
16670
16662
|
var { span: r, minWidth: i, height: a } = n();
|
|
16671
16663
|
return r.height = a, r.style.height = D(a), i > 0 && (r.style.minWidth = D(i)), r;
|
|
@@ -18044,7 +18036,9 @@ var jr = (e, t) => {
|
|
|
18044
18036
|
r.setAttribute("style", "border: " + D(i) + " solid " + e.borderColor);
|
|
18045
18037
|
}
|
|
18046
18038
|
break;
|
|
18047
|
-
case "\\xcancel":
|
|
18039
|
+
case "\\xcancel":
|
|
18040
|
+
r.setAttribute("notation", "updiagonalstrike downdiagonalstrike");
|
|
18041
|
+
break;
|
|
18048
18042
|
}
|
|
18049
18043
|
return e.backgroundColor && r.setAttribute("mathbackground", e.backgroundColor), r;
|
|
18050
18044
|
};
|
|
@@ -20233,8 +20227,7 @@ G({
|
|
|
20233
20227
|
elem: p
|
|
20234
20228
|
}]
|
|
20235
20229
|
})]), d], t);
|
|
20236
|
-
}
|
|
20237
|
-
return H(["mord", "sqrt"], [d], t);
|
|
20230
|
+
} else return H(["mord", "sqrt"], [d], t);
|
|
20238
20231
|
},
|
|
20239
20232
|
mathmlBuilder(e, t) {
|
|
20240
20233
|
var { body: n, index: r } = e;
|
|
@@ -20427,11 +20420,9 @@ Gt({
|
|
|
20427
20420
|
if (t.mode === "text") {
|
|
20428
20421
|
var i = Ct(t, n, "textord");
|
|
20429
20422
|
return i.classes.push(r), i;
|
|
20430
|
-
}
|
|
20431
|
-
|
|
20432
|
-
|
|
20433
|
-
if (vi.hasOwnProperty(t.text)) return H(["mspace", vi[t.text]], [], n);
|
|
20434
|
-
throw new e("Unknown type of space \"" + t.text + "\"");
|
|
20423
|
+
} else return H(["mspace", r], [xt(t.text, t.mode, n)], n);
|
|
20424
|
+
} else if (vi.hasOwnProperty(t.text)) return H(["mspace", vi[t.text]], [], n);
|
|
20425
|
+
else throw new e("Unknown type of space \"" + t.text + "\"");
|
|
20435
20426
|
},
|
|
20436
20427
|
mathmlBuilder(t, n) {
|
|
20437
20428
|
var r;
|
|
@@ -21592,8 +21583,7 @@ var Gi = {
|
|
|
21592
21583
|
t[n],
|
|
21593
21584
|
s
|
|
21594
21585
|
], []) : this.callFunction(r, [o, s], [])];
|
|
21595
|
-
}
|
|
21596
|
-
return t;
|
|
21586
|
+
} else return t;
|
|
21597
21587
|
}
|
|
21598
21588
|
handleSupSubscript(t) {
|
|
21599
21589
|
var n = this.fetch(), r = n.text;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as e } from "./chunk-GEFDOKGD-
|
|
1
|
+
import { O as e } from "./chunk-GEFDOKGD-oBEpn5hN.js";
|
|
2
2
|
import { n as t, t as n } from "./path-CqWAdh69.js";
|
|
3
3
|
import { t as r } from "./array-CApNbSU9.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.js
|