@deot/docs-client 1.1.5 → 1.1.7
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/README.md +22 -6
- package/dist/chunks/{compile-BHD98Ttf-BJaenUUQ.js → compile-CM_OyqYN-rhv4v6Tt.js} +634 -1734
- package/dist/chunks/{compiler-sfc.esm-browser-B4_kBkG5.js → compiler-sfc.esm-browser-5dA1IWMJ.js} +185 -305
- package/dist/chunks/{script-DjUf9uWK-Cu5Kla_E.js → css-DleINdoA-Brc23sJ9.js} +2716 -2641
- package/dist/chunks/{dist-COjpr4FU.js → dist-DHJhaOSs.js} +2 -2
- package/dist/chunks/{dist-C8z9l0mA.js → dist-DSypl37f.js} +1 -1
- package/dist/chunks/{dist-BQyOK8Qy.js → dist-Wm6vE6kM.js} +2 -2
- package/dist/chunks/{echarts-Dk-pu7GM.js → echarts-BBzcOaek.js} +1075 -1290
- package/dist/chunks/{html2canvas-Deo0mM5K.js → html2canvas-DoKTvaOT.js} +3 -13
- package/dist/chunks/{index.es-UlJ0gfdF.js → index.es-wVPQxEPP.js} +32 -37
- package/dist/chunks/{jspdf.es.min-CJc40v7q.js → jspdf.es.min-Zm27YeAg.js} +1080 -1053
- package/dist/chunks/{jsx-CwMPlI4_-CAiik-V7.js → jsx-CwMPlI4_-CBhlIHLh.js} +8002 -8541
- package/dist/chunks/{jszip.min-BbVwZKYP.js → jszip.min-Da8UgalE.js} +5 -5
- package/dist/chunks/{lodash-Cxf6dD_I.js → lodash-CYyW02I7.js} +10 -14
- package/dist/chunks/{photoswipe.esm-B0V-xGTB.js → photoswipe.esm-D52MAtDT.js} +11 -38
- package/dist/chunks/{purify.es-BiqY1C6m.js → purify.es-DhHsvqCe.js} +1 -23
- package/dist/chunks/{vue-router-C0mj8Ot5.js → vue-router-LT2FR3OX.js} +384 -372
- package/dist/chunks/{vue.runtime.esm-bundler-XxHGOLq2.js → vue.runtime.esm-bundler-Bk0CnRBe.js} +11 -39
- package/dist/eval/chunks/browser-Cmwcvs-d.js +4 -0
- package/dist/eval/chunks/chunk-rhk8Qtmk-CUgXtmq_.js +4 -0
- package/dist/eval/chunks/compile-CM_OyqYN-rhv4v6Tt.js +7 -0
- package/dist/eval/chunks/compiler-sfc.esm-browser-5dA1IWMJ.js +4 -0
- package/dist/eval/chunks/css-DleINdoA-Brc23sJ9.js +8 -0
- package/dist/eval/chunks/dayjs.min-B3g34Qcz.js +4 -0
- package/dist/eval/chunks/dist-0ySyXNpo.js +4 -0
- package/dist/eval/chunks/dist-B44jICwZ.js +5 -0
- package/dist/eval/chunks/dist-BUw25nXJ.js +6 -0
- package/dist/eval/chunks/dist-BeOE8qTX.js +4 -0
- package/dist/eval/chunks/dist-C3V7reR4.js +4 -0
- package/dist/eval/chunks/dist-CI9Lp9Cj.js +4 -0
- package/dist/eval/chunks/dist-CQir6D4y.js +5 -0
- package/dist/eval/chunks/dist-Cxf7_ocf.js +4 -0
- package/dist/eval/chunks/dist-DF4kisl2.js +5 -0
- package/dist/eval/chunks/dist-DHJhaOSs.js +5 -0
- package/dist/eval/chunks/dist-DLj8yJdm.js +4 -0
- package/dist/eval/chunks/dist-DSypl37f.js +5 -0
- package/dist/eval/chunks/dist-DWn6r6un.js +4 -0
- package/dist/eval/chunks/dist-DWqBe2Ah.js +6 -0
- package/dist/eval/chunks/dist-D_Uqh6m9.js +4 -0
- package/dist/eval/chunks/dist-DcIU51zW.js +4 -0
- package/dist/eval/chunks/dist-Wm6vE6kM.js +1 -0
- package/dist/eval/chunks/dist-kiZUqqzR.js +4 -0
- package/dist/eval/chunks/dist-oZ12SGqg.js +4 -0
- package/dist/eval/chunks/dist-va7FmnW4.js +4 -0
- package/dist/eval/chunks/echarts-BBzcOaek.js +4 -0
- package/dist/eval/chunks/eval-runtime-e7f6eb9af5d4.js +1 -0
- package/dist/eval/chunks/html2canvas-DoKTvaOT.js +4 -0
- package/dist/eval/chunks/index.es-wVPQxEPP.js +5 -0
- package/dist/eval/chunks/jspdf.es.min-Zm27YeAg.js +78 -0
- package/dist/eval/chunks/jsx-CwMPlI4_-CBhlIHLh.js +4 -0
- package/dist/eval/chunks/jszip.min-Da8UgalE.js +4 -0
- package/dist/eval/chunks/lodash-CYyW02I7.js +4 -0
- package/dist/eval/chunks/photoswipe.esm-D52MAtDT.js +4 -0
- package/dist/eval/chunks/purify.es-DhHsvqCe.js +4 -0
- package/dist/eval/chunks/rolldown-runtime-Ce3zPWPd.js +4 -0
- package/dist/eval/chunks/vue-router-LT2FR3OX.js +5 -0
- package/dist/eval/chunks/vue.runtime.esm-bundler-Bk0CnRBe.js +4 -0
- package/dist/eval/index.js +24 -0
- package/dist/eval/index.style.css +21 -0
- package/dist/index.cjs +895 -354
- package/dist/index.js +81684 -37415
- package/dist/index.style.css +3 -3
- package/package.json +16 -11
- package/dist/chunks/cdn-DQoETju_-DS-873Vi.js +0 -38
- package/dist/chunks/dist-9UPCn_ag.js +0 -24601
- package/dist/chunks/dist-uXnwGrO3.js +0 -76
- package/dist/chunks/files-BqucFldk-B-hTQ-ip.js +0 -148
- package/dist/chunks/linker-xqjVl0X0-CWWI367H.js +0 -118
- package/dist/chunks/local-sandbox-DvcgaBOa-CzJxrdVx.js +0 -298
- package/dist/chunks/modules-BGzPcoRR-C9BWX8hC.js +0 -154
- package/dist/chunks/pinia-pDJilYOg.js +0 -326
- package/dist/chunks/remote-mq4zvrI1-Bib9tTkb.js +0 -104
- package/dist/chunks/store-BOyC8F2y-CbodPye0.js +0 -17037
- package/dist/chunks/vc-components-C7ruefOT.js +0 -6
- package/dist/chunks/vc-components-m3l_xrd8.js +0 -6
|
@@ -754,9 +754,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
|
|
|
754
754
|
if (e.type === 4) {
|
|
755
755
|
if (n.length === 0) throw Error("Error parsing function args, zero tokens for arg");
|
|
756
756
|
t.push(n), n = [];
|
|
757
|
-
|
|
758
|
-
}
|
|
759
|
-
e.type !== 31 && n.push(e);
|
|
757
|
+
} else e.type !== 31 && n.push(e);
|
|
760
758
|
}), n.length && t.push(n), t;
|
|
761
759
|
}, ir = function(e, t) {
|
|
762
760
|
return t === 11 && e.type === 12 || t === 28 && e.type === 29 || t === 2 && e.type === 3;
|
|
@@ -872,7 +870,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
|
|
|
872
870
|
var t = 255 & e, n = 255 & e >> 8, r = 255 & e >> 16, i = 255 & e >> 24;
|
|
873
871
|
return t < 255 ? "rgba(" + i + "," + r + "," + n + "," + t / 255 + ")" : "rgb(" + i + "," + r + "," + n + ")";
|
|
874
872
|
}, yr = function(e, t, n, r) {
|
|
875
|
-
return (e << 24 | t << 16 | n << 8 | Math.round(r * 255)
|
|
873
|
+
return (e << 24 | t << 16 | n << 8 | Math.round(r * 255)) >>> 0;
|
|
876
874
|
}, br = function(e, t) {
|
|
877
875
|
if (e.type === 17) return e.number;
|
|
878
876
|
if (e.type === 16) {
|
|
@@ -3102,15 +3100,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
|
|
|
3102
3100
|
return n.className = "html2canvas-container", n.style.visibility = "hidden", n.style.position = "fixed", n.style.left = "-10000px", n.style.top = "0px", n.style.border = "0", n.width = t.width.toString(), n.height = t.height.toString(), n.scrolling = "no", n.setAttribute(rc, "true"), e.body.appendChild(n), n;
|
|
3103
3101
|
}, sc = function(e) {
|
|
3104
3102
|
return new Promise(function(t) {
|
|
3105
|
-
|
|
3106
|
-
t();
|
|
3107
|
-
return;
|
|
3108
|
-
}
|
|
3109
|
-
if (!e.src) {
|
|
3110
|
-
t();
|
|
3111
|
-
return;
|
|
3112
|
-
}
|
|
3113
|
-
e.onload = t, e.onerror = t;
|
|
3103
|
+
e.complete ? t() : e.src ? (e.onload = t, e.onerror = t) : t();
|
|
3114
3104
|
});
|
|
3115
3105
|
}, cc = function(e) {
|
|
3116
3106
|
return Promise.all([].slice.call(e.images, 0).map(sc));
|
|
@@ -3,7 +3,7 @@ var e = globalThis.process || {
|
|
|
3
3
|
nextTick: queueMicrotask
|
|
4
4
|
};
|
|
5
5
|
import { i as t, t as n } from "./rolldown-runtime-Ce3zPWPd.js";
|
|
6
|
-
import { n as r } from "./jspdf.es.min-
|
|
6
|
+
import { n as r } from "./jspdf.es.min-Zm27YeAg.js";
|
|
7
7
|
//#region node_modules/.pnpm/core-js@3.50.0/node_modules/core-js/internals/global-this.js
|
|
8
8
|
var i = /* @__PURE__ */ n(((e, t) => {
|
|
9
9
|
var n = function(e) {
|
|
@@ -1605,8 +1605,8 @@ var xt = /* @__PURE__ */ n(((e, t) => {
|
|
|
1605
1605
|
Lt(), zt(), Ut(), Zt(), en();
|
|
1606
1606
|
function tn(e, t) {
|
|
1607
1607
|
if (r(e) != "object" || !e) return e;
|
|
1608
|
-
var n
|
|
1609
|
-
if (n !== void 0) {
|
|
1608
|
+
var n;
|
|
1609
|
+
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
1610
1610
|
var i = n.call(e, t || "default");
|
|
1611
1611
|
if (r(i) != "object") return i;
|
|
1612
1612
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
@@ -1614,13 +1614,13 @@ function tn(e, t) {
|
|
|
1614
1614
|
return (t === "string" ? String : Number)(e);
|
|
1615
1615
|
}
|
|
1616
1616
|
//#endregion
|
|
1617
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.
|
|
1617
|
+
//#region node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
1618
1618
|
function nn(e) {
|
|
1619
1619
|
var t = tn(e, "string");
|
|
1620
1620
|
return r(t) == "symbol" ? t : t + "";
|
|
1621
1621
|
}
|
|
1622
1622
|
//#endregion
|
|
1623
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.
|
|
1623
|
+
//#region node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1624
1624
|
function rn(e, t, n) {
|
|
1625
1625
|
return (t = nn(t)) in e ? Object.defineProperty(e, t, {
|
|
1626
1626
|
value: n,
|
|
@@ -3243,7 +3243,7 @@ var J = class e {
|
|
|
3243
3243
|
}
|
|
3244
3244
|
getColor(e) {
|
|
3245
3245
|
var t = this.getString(e);
|
|
3246
|
-
return this.isNormalizedColor
|
|
3246
|
+
return this.isNormalizedColor || (this.isNormalizedColor = !0, t = ar(t), this.value = t), t;
|
|
3247
3247
|
}
|
|
3248
3248
|
getDpi() {
|
|
3249
3249
|
return 96;
|
|
@@ -3988,14 +3988,14 @@ var Xr = class {
|
|
|
3988
3988
|
if (a === 0) return;
|
|
3989
3989
|
var c = -s / a;
|
|
3990
3990
|
0 < c && c < 1 && (e ? this.addX(this.sumCubic(c, t, n, r, i)) : this.addY(this.sumCubic(c, t, n, r, i)));
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3991
|
+
} else {
|
|
3992
|
+
var l = a ** 2 - 4 * s * o;
|
|
3993
|
+
if (!(l < 0)) {
|
|
3994
|
+
var u = (-a + Math.sqrt(l)) / (2 * o);
|
|
3995
|
+
0 < u && u < 1 && (e ? this.addX(this.sumCubic(u, t, n, r, i)) : this.addY(this.sumCubic(u, t, n, r, i)));
|
|
3996
|
+
var d = (-a - Math.sqrt(l)) / (2 * o);
|
|
3997
|
+
0 < d && d < 1 && (e ? this.addX(this.sumCubic(d, t, n, r, i)) : this.addY(this.sumCubic(d, t, n, r, i)));
|
|
3998
|
+
}
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
4001
|
addBezierCurve(e, t, n, r, i, a, o, s) {
|
|
@@ -4359,29 +4359,27 @@ var Xr = class {
|
|
|
4359
4359
|
return r === 0 && (a = er(a)), r === i && (a = tr(a)), a;
|
|
4360
4360
|
}
|
|
4361
4361
|
renderChildren(e) {
|
|
4362
|
-
if (this.type !== "text")
|
|
4363
|
-
|
|
4364
|
-
|
|
4362
|
+
if (this.type !== "text") this.renderTElementChildren(e);
|
|
4363
|
+
else {
|
|
4364
|
+
this.initializeCoordinates(), this.adjustChildCoordinatesRecursive(e), this.children.forEach((t, n) => {
|
|
4365
|
+
this.renderChild(e, this, this, n);
|
|
4366
|
+
});
|
|
4367
|
+
var { mouse: t } = this.document.screen;
|
|
4368
|
+
t.isWorking() && t.checkBoundingBox(this, this.getBoundingBox(e));
|
|
4365
4369
|
}
|
|
4366
|
-
this.initializeCoordinates(), this.adjustChildCoordinatesRecursive(e), this.children.forEach((t, n) => {
|
|
4367
|
-
this.renderChild(e, this, this, n);
|
|
4368
|
-
});
|
|
4369
|
-
var { mouse: t } = this.document.screen;
|
|
4370
|
-
t.isWorking() && t.checkBoundingBox(this, this.getBoundingBox(e));
|
|
4371
4370
|
}
|
|
4372
4371
|
renderTElementChildren(e) {
|
|
4373
4372
|
var { document: t, parent: n } = this, r = this.getText(), i = n.getStyle("font-family").getDefinition();
|
|
4374
|
-
if (i) {
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4373
|
+
if (i) for (var { unitsPerEm: a } = i.fontFace, o = Yr.parse(t.ctx.font), s = n.getStyle("font-size").getNumber(o.fontSize), c = n.getStyle("font-style").getString(o.fontStyle), l = s / a, u = i.isRTL ? r.split("").reverse().join("") : r, d = q(n.getAttribute("dx").getString()), f = u.length, p = 0; p < f; p++) {
|
|
4374
|
+
var m = this.getGlyph(i, u, p);
|
|
4375
|
+
e.translate(this.x, this.y), e.scale(l, -l);
|
|
4376
|
+
var h = e.lineWidth;
|
|
4377
|
+
e.lineWidth = e.lineWidth * a / s, c === "italic" && e.transform(1, 0, .4, 1, 0, 0), m.render(e), c === "italic" && e.transform(1, 0, -.4, 1, 0, 0), e.lineWidth = h, e.scale(1 / l, -1 / l), e.translate(-this.x, -this.y), this.x += s * (m.horizAdvX || i.horizAdvX) / a, d[p] !== void 0 && !isNaN(d[p]) && (this.x += d[p]);
|
|
4378
|
+
}
|
|
4379
|
+
else {
|
|
4380
|
+
var { x: g, y: _ } = this;
|
|
4381
|
+
e.fillStyle && e.fillText(r, g, _), e.strokeStyle && e.strokeText(r, g, _);
|
|
4382
4382
|
}
|
|
4383
|
-
var { x: g, y: _ } = this;
|
|
4384
|
-
e.fillStyle && e.fillText(r, g, _), e.strokeStyle && e.strokeText(r, g, _);
|
|
4385
4383
|
}
|
|
4386
4384
|
applyAnchoring() {
|
|
4387
4385
|
if (!(this.textChunkStart >= this.leafTexts.length)) {
|
|
@@ -5085,11 +5083,8 @@ var Di = class extends $r {
|
|
|
5085
5083
|
var t = this.getPathLength(), n = 0, r = null;
|
|
5086
5084
|
if (e < -5e-5 || e - 5e-5 > t) return null;
|
|
5087
5085
|
var { dataArray: i } = this;
|
|
5088
|
-
for (var a of i)
|
|
5089
|
-
|
|
5090
|
-
n += a.pathLength;
|
|
5091
|
-
continue;
|
|
5092
|
-
}
|
|
5086
|
+
for (var a of i) if (a && (a.pathLength < 5e-5 || n + a.pathLength + 5e-5 < e)) n += a.pathLength;
|
|
5087
|
+
else {
|
|
5093
5088
|
var o = e - n, s = 0;
|
|
5094
5089
|
switch (a.type) {
|
|
5095
5090
|
case Z.LINE_TO:
|