@deot/docs-client 1.1.3 → 1.1.5

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 (55) hide show
  1. package/README.md +88 -4
  2. package/dist/chunks/browser-Cmwcvs-d.js +505 -0
  3. package/dist/chunks/cdn-DQoETju_-DS-873Vi.js +38 -0
  4. package/dist/chunks/chunk-rhk8Qtmk-CUgXtmq_.js +14 -0
  5. package/dist/chunks/compile-BHD98Ttf-BJaenUUQ.js +79915 -0
  6. package/dist/chunks/compiler-sfc.esm-browser-B4_kBkG5.js +24975 -0
  7. package/dist/chunks/dayjs.min-B3g34Qcz.js +300 -0
  8. package/dist/chunks/dist-0ySyXNpo.js +415 -0
  9. package/dist/chunks/dist-9UPCn_ag.js +24601 -0
  10. package/dist/chunks/dist-B44jICwZ.js +22 -0
  11. package/dist/chunks/dist-BQyOK8Qy.js +17 -0
  12. package/dist/chunks/dist-BUw25nXJ.js +65 -0
  13. package/dist/chunks/dist-BeOE8qTX.js +345 -0
  14. package/dist/chunks/dist-C3V7reR4.js +197 -0
  15. package/dist/chunks/dist-C8z9l0mA.js +58 -0
  16. package/dist/chunks/dist-CI9Lp9Cj.js +247 -0
  17. package/dist/chunks/dist-COjpr4FU.js +426 -0
  18. package/dist/chunks/dist-CQir6D4y.js +244 -0
  19. package/dist/chunks/dist-Cxf7_ocf.js +44 -0
  20. package/dist/chunks/dist-DF4kisl2.js +43 -0
  21. package/dist/chunks/dist-DLj8yJdm.js +38 -0
  22. package/dist/chunks/dist-DWn6r6un.js +76 -0
  23. package/dist/chunks/dist-DWqBe2Ah.js +132 -0
  24. package/dist/chunks/dist-D_Uqh6m9.js +80 -0
  25. package/dist/chunks/dist-DcIU51zW.js +166 -0
  26. package/dist/chunks/dist-kiZUqqzR.js +27 -0
  27. package/dist/chunks/dist-oZ12SGqg.js +6 -0
  28. package/dist/chunks/dist-uXnwGrO3.js +76 -0
  29. package/dist/chunks/dist-va7FmnW4.js +156 -0
  30. package/dist/chunks/{echarts-I1Rk_oCV.js → echarts-Dk-pu7GM.js} +450 -398
  31. package/dist/chunks/files-BqucFldk-B-hTQ-ip.js +148 -0
  32. package/dist/chunks/html2canvas-Deo0mM5K.js +4022 -0
  33. package/dist/chunks/index.es-UlJ0gfdF.js +5757 -0
  34. package/dist/chunks/jspdf.es.min-CJc40v7q.js +17873 -0
  35. package/dist/chunks/jsx-CwMPlI4_-CAiik-V7.js +128454 -0
  36. package/dist/chunks/jszip.min-BbVwZKYP.js +3044 -0
  37. package/dist/chunks/linker-xqjVl0X0-CWWI367H.js +118 -0
  38. package/dist/chunks/local-sandbox-DvcgaBOa-CzJxrdVx.js +298 -0
  39. package/dist/chunks/lodash-Cxf6dD_I.js +5161 -0
  40. package/dist/chunks/modules-BGzPcoRR-C9BWX8hC.js +154 -0
  41. package/dist/chunks/{photoswipe.esm-CT37djgx.js → photoswipe.esm-B0V-xGTB.js} +36 -31
  42. package/dist/chunks/pinia-pDJilYOg.js +326 -0
  43. package/dist/chunks/purify.es-BiqY1C6m.js +867 -0
  44. package/dist/chunks/remote-mq4zvrI1-Bib9tTkb.js +104 -0
  45. package/dist/chunks/script-DjUf9uWK-Cu5Kla_E.js +15055 -0
  46. package/dist/chunks/store-BOyC8F2y-CbodPye0.js +17037 -0
  47. package/dist/chunks/vue-router-C0mj8Ot5.js +1196 -0
  48. package/dist/chunks/vue.runtime.esm-bundler-XxHGOLq2.js +4879 -0
  49. package/dist/index.cjs +997 -340
  50. package/dist/index.d.ts +2 -1
  51. package/dist/index.js +42205 -103464
  52. package/dist/index.style.css +3 -4
  53. package/package.json +9 -9
  54. package/dist/chunks/_commonjsHelpers-BFTU3MAI-D_7z5o6A.js +0 -8
  55. package/dist/chunks/jsx-H2PmTOgp-C0GVSSMR.js +0 -128281
@@ -0,0 +1,148 @@
1
+ globalThis.process;
2
+ import { n as e } from "./rolldown-runtime-Ce3zPWPd.js";
3
+ //#region packages/playground/dist/files-BqucFldk.js
4
+ var t = /* @__PURE__ */ e({
5
+ a: () => g,
6
+ c: () => _,
7
+ d: () => p,
8
+ f: () => h,
9
+ i: () => a,
10
+ l: () => y,
11
+ n: () => b,
12
+ o: () => u,
13
+ p: () => r,
14
+ r: () => f,
15
+ s: () => d,
16
+ t: () => x,
17
+ u: () => o
18
+ }), n = Object.defineProperty, r = (e, t) => {
19
+ let r = {};
20
+ for (var i in e) n(r, i, {
21
+ get: e[i],
22
+ enumerable: !0
23
+ });
24
+ return t || n(r, Symbol.toStringTag, { value: "Module" }), r;
25
+ }, i = /* @__PURE__ */ new Set(["import-map.json", "tsconfig.json"]), a = /* @__PURE__ */ r({
26
+ basename: () => c,
27
+ collectBareSpecifiers: () => x,
28
+ collectReachableFilenames: () => b,
29
+ createFileIndex: () => f,
30
+ dirname: () => s,
31
+ getCommonRoot: () => g,
32
+ getExtension: () => u,
33
+ isIgnoredFilename: () => d,
34
+ isInsideRoot: () => _,
35
+ isRelativeSpecifier: () => y,
36
+ joinVirtualPath: () => l,
37
+ listImportSpecifiers: () => v,
38
+ normalizeVirtualPath: () => o,
39
+ resolveEntry: () => p,
40
+ resolveModulePath: () => h
41
+ }), o = (e) => {
42
+ let t = String(e || "").replace(/\\/gu, "/").trim();
43
+ if (!t) return "/";
44
+ let n = (t.startsWith("/") ? t : `/${t}`).split("/"), r = [];
45
+ for (let e of n) if (e && e !== ".") {
46
+ if (e === "..") {
47
+ r.length && r.pop();
48
+ continue;
49
+ }
50
+ r.push(e);
51
+ }
52
+ return `/${r.join("/")}`;
53
+ }, s = (e) => {
54
+ let t = o(e), n = t.lastIndexOf("/");
55
+ return n <= 0 ? "/" : t.slice(0, n) || "/";
56
+ }, c = (e) => {
57
+ let t = o(e), n = t.lastIndexOf("/");
58
+ return n === -1 ? t : t.slice(n + 1);
59
+ }, l = (e, t) => {
60
+ let n = String(t || "").replace(/\\/gu, "/");
61
+ if (n.startsWith("/")) return o(n);
62
+ let r = o(e);
63
+ return o(`${r === "/" ? "" : r}/${n}`);
64
+ }, u = (e) => {
65
+ let t = c(e), n = t.lastIndexOf(".");
66
+ return n <= 0 ? "" : t.slice(n).toLowerCase();
67
+ }, d = (e) => i.has(c(e)), f = (e) => {
68
+ let t = /* @__PURE__ */ new Map();
69
+ return Object.entries(e || {}).forEach(([e, n]) => {
70
+ let r = o(e);
71
+ d(r) || t.set(r, n);
72
+ }), t;
73
+ }, p = (e, t) => {
74
+ let n = f(e);
75
+ if (!n.size) throw Error("[Playground] files 为空,无法确定入口");
76
+ if (t) {
77
+ let e = o(t);
78
+ if (d(e)) throw Error(`[Playground] entry 不能是 ${c(e)}`);
79
+ if (!n.has(e)) throw Error(`[Playground] entry 不在 files 中: ${t}`);
80
+ return e;
81
+ }
82
+ for (let t of Object.keys(e || {})) {
83
+ let e = o(t);
84
+ if (!d(e) && n.has(e)) return e;
85
+ }
86
+ /* istanbul ignore next -- 忽略文件已在前面排除,正常 files 不会走到这里 */
87
+ throw Error("[Playground] files 中没有可用的入口文件");
88
+ }, m = [
89
+ ".vue",
90
+ ".ts",
91
+ ".js",
92
+ ".tsx",
93
+ ".jsx",
94
+ ".json",
95
+ ".css",
96
+ ".scss",
97
+ ".sass"
98
+ ], h = (e, t, n) => {
99
+ if (!t || !(t === "." || t === ".." || t.startsWith("./") || t.startsWith("../") || t.startsWith("/"))) return null;
100
+ let r = l(s(e), t);
101
+ if (n.has(r)) return r;
102
+ for (let e of m) {
103
+ let t = `${r}${e}`;
104
+ if (n.has(t)) return t;
105
+ }
106
+ for (let e of m) {
107
+ let t = `${r}/index${e}`;
108
+ if (n.has(t)) return t;
109
+ }
110
+ return null;
111
+ }, g = (e) => {
112
+ let t = e.map(o);
113
+ if (!t.length) return "/";
114
+ let n = t.map((e) => e.split("/").filter(Boolean)), r = n[0], i = r.length;
115
+ for (let e = 1; e < n.length; e += 1) {
116
+ let t = 0;
117
+ for (; t < i && t < n[e].length && r[t] === n[e][t];) t += 1;
118
+ i = t;
119
+ }
120
+ if (!i) return "/";
121
+ let a = `/${r.slice(0, i).join("/")}`;
122
+ return t.some((e) => e === a) ? s(a) : a;
123
+ }, _ = (e, t) => {
124
+ let n = o(e), r = o(t);
125
+ return r === "/" || n === r || n.startsWith(`${r}/`);
126
+ }, v = (e) => {
127
+ let t = [], n = String(e || "");
128
+ for (let e of n.matchAll(/(?:\bfrom\s+|import\s*\(\s*|import\s+)['"]([^'"]+)['"]/gu)) e[1] && t.push(e[1]);
129
+ return t;
130
+ }, y = (e) => e === "." || e === ".." || e.startsWith("./") || e.startsWith("../") || e.startsWith("/"), b = (e, t) => {
131
+ let n = f(e), r = [], i = /* @__PURE__ */ new Set(), a = (e) => {
132
+ let t = o(e);
133
+ !i.has(t) && n.has(t) && (i.add(t), r.push(t), v(n.get(t) || "").forEach((e) => {
134
+ let r = h(t, e, n);
135
+ r && a(r);
136
+ }));
137
+ };
138
+ return a(t), r;
139
+ }, x = (e, t) => {
140
+ let n = f(e), r = [], i = /* @__PURE__ */ new Set();
141
+ return t.forEach((e) => {
142
+ v(n.get(o(e)) || "").forEach((e) => {
143
+ !e || y(e) || i.has(e) || /\.(?:css|scss|sass)(?:[?#]|$)/.test(e) || (i.add(e), r.push(e));
144
+ });
145
+ }), r;
146
+ };
147
+ //#endregion
148
+ export { t as a, d as c, o as d, p as f, f as i, _ as l, x as n, g as o, h as p, b as r, u as s, r as t, y as u };