@deot/docs-client 1.1.4 → 1.1.6

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.
Files changed (79) hide show
  1. package/README.md +86 -1
  2. package/dist/chunks/{compile-Bw7v7QE--Dd1-R95H.js → compile-CM_OyqYN-Bd7bk_OB.js} +1711 -2816
  3. package/dist/chunks/{compiler-sfc.esm-browser-B4_kBkG5.js → compiler-sfc.esm-browser-5dA1IWMJ.js} +185 -305
  4. package/dist/chunks/{script-xKUjE8pf-oF69rg-w.js → css-DleINdoA-FdeEznDX.js} +2669 -2480
  5. package/dist/chunks/{dist-DlmO7OlF.js → dist-B44jICwZ.js} +1 -1
  6. package/dist/chunks/{dist-COjpr4FU.js → dist-DHJhaOSs.js} +2 -2
  7. package/dist/chunks/{dist-C8z9l0mA.js → dist-DSypl37f.js} +1 -1
  8. package/dist/chunks/dist-DWn6r6un.js +76 -0
  9. package/dist/chunks/{dist-CuJyl-ef.js → dist-Wm6vE6kM.js} +8 -8
  10. package/dist/chunks/{echarts-Dk-pu7GM.js → echarts-BBzcOaek.js} +1075 -1290
  11. package/dist/chunks/{html2canvas-Deo0mM5K.js → html2canvas-DoKTvaOT.js} +3 -13
  12. package/dist/chunks/{index.es-UlJ0gfdF.js → index.es-wVPQxEPP.js} +32 -37
  13. package/dist/chunks/{jspdf.es.min-CJc40v7q.js → jspdf.es.min-Zm27YeAg.js} +1080 -1053
  14. package/dist/chunks/{jsx-CwMPlI4_-CAiik-V7.js → jsx-CwMPlI4_-CBhlIHLh.js} +8002 -8541
  15. package/dist/chunks/{jszip.min-BbVwZKYP.js → jszip.min-Da8UgalE.js} +5 -5
  16. package/dist/chunks/{lodash-Cxf6dD_I.js → lodash-CYyW02I7.js} +10 -14
  17. package/dist/chunks/{photoswipe.esm-B0V-xGTB.js → photoswipe.esm-D52MAtDT.js} +11 -38
  18. package/dist/chunks/{purify.es-BiqY1C6m.js → purify.es-DhHsvqCe.js} +1 -23
  19. package/dist/chunks/{vue-router-C0mj8Ot5.js → vue-router-DZ-KfC9f.js} +373 -361
  20. package/dist/chunks/{vue.runtime.esm-bundler-XxHGOLq2.js → vue.runtime.esm-bundler-zZTAiuf6.js} +10 -38
  21. package/dist/eval/chunks/browser-Cmwcvs-d.js +4 -0
  22. package/dist/eval/chunks/chunk-rhk8Qtmk-CUgXtmq_.js +4 -0
  23. package/dist/eval/chunks/compile-CM_OyqYN-Bd7bk_OB.js +7 -0
  24. package/dist/eval/chunks/compiler-sfc.esm-browser-5dA1IWMJ.js +4 -0
  25. package/dist/eval/chunks/css-DleINdoA-FdeEznDX.js +8 -0
  26. package/dist/eval/chunks/dayjs.min-B3g34Qcz.js +4 -0
  27. package/dist/eval/chunks/dist-0ySyXNpo.js +4 -0
  28. package/dist/eval/chunks/dist-B44jICwZ.js +5 -0
  29. package/dist/eval/chunks/dist-BUw25nXJ.js +6 -0
  30. package/dist/eval/chunks/dist-BeOE8qTX.js +4 -0
  31. package/dist/eval/chunks/dist-C3V7reR4.js +4 -0
  32. package/dist/eval/chunks/dist-CI9Lp9Cj.js +4 -0
  33. package/dist/eval/chunks/dist-CQir6D4y.js +5 -0
  34. package/dist/eval/chunks/dist-Cxf7_ocf.js +4 -0
  35. package/dist/eval/chunks/dist-DF4kisl2.js +5 -0
  36. package/dist/eval/chunks/dist-DHJhaOSs.js +5 -0
  37. package/dist/eval/chunks/dist-DLj8yJdm.js +4 -0
  38. package/dist/eval/chunks/dist-DSypl37f.js +5 -0
  39. package/dist/eval/chunks/dist-DWn6r6un.js +4 -0
  40. package/dist/eval/chunks/dist-DWqBe2Ah.js +6 -0
  41. package/dist/eval/chunks/dist-D_Uqh6m9.js +4 -0
  42. package/dist/eval/chunks/dist-DcIU51zW.js +4 -0
  43. package/dist/eval/chunks/dist-Wm6vE6kM.js +1 -0
  44. package/dist/eval/chunks/dist-kiZUqqzR.js +4 -0
  45. package/dist/eval/chunks/dist-oZ12SGqg.js +4 -0
  46. package/dist/eval/chunks/dist-va7FmnW4.js +4 -0
  47. package/dist/eval/chunks/echarts-BBzcOaek.js +4 -0
  48. package/dist/eval/chunks/eval-runtime-e7f6eb9af5d4.js +1 -0
  49. package/dist/eval/chunks/html2canvas-DoKTvaOT.js +4 -0
  50. package/dist/eval/chunks/index.es-wVPQxEPP.js +5 -0
  51. package/dist/eval/chunks/jspdf.es.min-Zm27YeAg.js +78 -0
  52. package/dist/eval/chunks/jsx-CwMPlI4_-CBhlIHLh.js +4 -0
  53. package/dist/eval/chunks/jszip.min-Da8UgalE.js +4 -0
  54. package/dist/eval/chunks/lodash-CYyW02I7.js +4 -0
  55. package/dist/eval/chunks/photoswipe.esm-D52MAtDT.js +4 -0
  56. package/dist/eval/chunks/purify.es-DhHsvqCe.js +4 -0
  57. package/dist/eval/chunks/rolldown-runtime-Ce3zPWPd.js +4 -0
  58. package/dist/eval/chunks/vue-router-DZ-KfC9f.js +5 -0
  59. package/dist/eval/chunks/vue.runtime.esm-bundler-zZTAiuf6.js +4 -0
  60. package/dist/eval/index.js +24 -0
  61. package/dist/eval/index.style.css +21 -0
  62. package/dist/index.cjs +986 -325
  63. package/dist/index.d.ts +1 -0
  64. package/dist/index.js +73526 -30926
  65. package/dist/index.style.css +3 -3
  66. package/package.json +12 -12
  67. package/dist/chunks/cdn-DEvdGJu2-bmlgKy4E.js +0 -38
  68. package/dist/chunks/dist-Bm7SK-km.js +0 -24517
  69. package/dist/chunks/dist-DN0sqx7H.js +0 -39
  70. package/dist/chunks/dist-uXnwGrO3.js +0 -76
  71. package/dist/chunks/files-C5UMzYxA-q9oJ4PrI.js +0 -110
  72. package/dist/chunks/linker-JHdz37DK-CWgUtxZ5.js +0 -118
  73. package/dist/chunks/local-sandbox-B8IJ5jWb-BgfU3iQ4.js +0 -300
  74. package/dist/chunks/modules-DlLJF_vd-DcNdL6sc.js +0 -153
  75. package/dist/chunks/pinia-pDJilYOg.js +0 -326
  76. package/dist/chunks/remote-DfXAsO9n-C_MtPVYr.js +0 -75
  77. package/dist/chunks/store-D8vwi-HV-RFStijWr.js +0 -16936
  78. package/dist/chunks/vc-components-C7ruefOT.js +0 -6
  79. 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
- return;
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) << 0) >>> 0;
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
- if (e.complete) {
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-CJc40v7q.js";
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 = e[Symbol.toPrimitive];
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.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
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.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js
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 ? t : (this.isNormalizedColor = !0, t = ar(t), this.value = t, t);
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
- return;
3992
- }
3993
- var l = a ** 2 - 4 * s * o;
3994
- if (!(l < 0)) {
3995
- var u = (-a + Math.sqrt(l)) / (2 * o);
3996
- 0 < u && u < 1 && (e ? this.addX(this.sumCubic(u, t, n, r, i)) : this.addY(this.sumCubic(u, t, n, r, i)));
3997
- var d = (-a - Math.sqrt(l)) / (2 * o);
3998
- 0 < d && d < 1 && (e ? this.addX(this.sumCubic(d, t, n, r, i)) : this.addY(this.sumCubic(d, t, n, r, i)));
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
- this.renderTElementChildren(e);
4364
- return;
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
- 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++) {
4376
- var m = this.getGlyph(i, u, p);
4377
- e.translate(this.x, this.y), e.scale(l, -l);
4378
- var h = e.lineWidth;
4379
- 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]);
4380
- }
4381
- return;
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
- if (a && (a.pathLength < 5e-5 || n + a.pathLength + 5e-5 < e)) {
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: