@deot/docs-client 1.1.2 → 1.1.4

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 +2 -3
  2. package/dist/chunks/browser-Cmwcvs-d.js +505 -0
  3. package/dist/chunks/cdn-DEvdGJu2-bmlgKy4E.js +38 -0
  4. package/dist/chunks/chunk-rhk8Qtmk-CUgXtmq_.js +14 -0
  5. package/dist/chunks/compile-Bw7v7QE--Dd1-R95H.js +79920 -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-BUw25nXJ.js +65 -0
  10. package/dist/chunks/dist-BeOE8qTX.js +345 -0
  11. package/dist/chunks/dist-Bm7SK-km.js +24517 -0
  12. package/dist/chunks/dist-C3V7reR4.js +197 -0
  13. package/dist/chunks/dist-C8z9l0mA.js +58 -0
  14. package/dist/chunks/dist-CI9Lp9Cj.js +247 -0
  15. package/dist/chunks/dist-COjpr4FU.js +426 -0
  16. package/dist/chunks/dist-CQir6D4y.js +244 -0
  17. package/dist/chunks/dist-CuJyl-ef.js +17 -0
  18. package/dist/chunks/dist-Cxf7_ocf.js +44 -0
  19. package/dist/chunks/dist-DF4kisl2.js +43 -0
  20. package/dist/chunks/dist-DLj8yJdm.js +38 -0
  21. package/dist/chunks/dist-DN0sqx7H.js +39 -0
  22. package/dist/chunks/dist-DWqBe2Ah.js +132 -0
  23. package/dist/chunks/dist-D_Uqh6m9.js +80 -0
  24. package/dist/chunks/dist-DcIU51zW.js +166 -0
  25. package/dist/chunks/dist-DlmO7OlF.js +22 -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-C5UMzYxA-q9oJ4PrI.js +110 -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-JHdz37DK-CWgUtxZ5.js +118 -0
  38. package/dist/chunks/local-sandbox-B8IJ5jWb-BgfU3iQ4.js +300 -0
  39. package/dist/chunks/lodash-Cxf6dD_I.js +5161 -0
  40. package/dist/chunks/modules-DlLJF_vd-DcNdL6sc.js +153 -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-DfXAsO9n-C_MtPVYr.js +75 -0
  45. package/dist/chunks/script-xKUjE8pf-oF69rg-w.js +14941 -0
  46. package/dist/chunks/store-D8vwi-HV-RFStijWr.js +16936 -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 +17 -17
  50. package/dist/index.d.ts +1 -1
  51. package/dist/index.js +41759 -103263
  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,75 @@
1
+ globalThis.process;
2
+ import { isRelativeSpecifier as e, listImportSpecifiers as t } from "./files-C5UMzYxA-q9oJ4PrI.js";
3
+ import { r as n, t as r } from "./script-xKUjE8pf-oF69rg-w.js";
4
+ import { n as i, prefersLocalBuiltin as a, resolveHostModule as o, resolveImportTarget as s, t as c, toHostModule as l } from "./modules-DlLJF_vd-DcNdL6sc.js";
5
+ //#region packages/playground/dist/remote-DfXAsO9n.js
6
+ var u = /* @__PURE__ */ new Set(["vue", "vue/server-renderer"]), d = (d, f, p) => {
7
+ let m = {
8
+ vue: f.vue,
9
+ "vue-router": f.vueRouter
10
+ }, h = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Set(), y = (e) => {
11
+ if (d[e] && !a(e, d, p)) return null;
12
+ if (a(e, d, p)) return e;
13
+ let t = e;
14
+ for (;;) {
15
+ let e = t.lastIndexOf("/");
16
+ if (e <= 0) return null;
17
+ let n = t.slice(0, e);
18
+ if (a(n, d, p)) return n;
19
+ t = n;
20
+ }
21
+ }, b = (t, n) => {
22
+ if (e(n)) return new URL(n, t).href;
23
+ if (d[n] && !a(n, d, p)) return d[n];
24
+ if (u.has(n) && a(n, d, p)) return null;
25
+ let r = n;
26
+ for (; r;) {
27
+ if (i.has(r) && a(r, d, p)) return h.add(r), null;
28
+ let e = r.lastIndexOf("/");
29
+ if (e <= 0) break;
30
+ r = r.slice(0, e);
31
+ }
32
+ let o = d[n] ? n : s(n, d);
33
+ return !o || !d[o] ? null : d[o];
34
+ }, x = async (e) => {
35
+ if (v.has(e)) return;
36
+ v.add(e);
37
+ let n = await fetch(e);
38
+ if (!n.ok) throw Error(`${n.status} ${e}`);
39
+ let r = await n.text();
40
+ g.set(e, r);
41
+ let i = r.replace(/\/\*[\s\S]*?\*\//g, "");
42
+ await Promise.all(t(i).map(async (t) => {
43
+ let n = b(e, t);
44
+ n && await x(n);
45
+ }));
46
+ }, S = (t) => (n) => {
47
+ if (u.has(n) && a(n, d, p)) return l(f.vue);
48
+ let r = y(n);
49
+ if (r) return l(m[r]);
50
+ if (e(n)) return C(new URL(n, t).href);
51
+ let i = d[n] ? n : s(n, d);
52
+ if (!i || !d[i]) throw Error(`[Playground] 未注册的模块 "${n}"`);
53
+ let c = C(d[i]);
54
+ if (i === n) return c;
55
+ if (!o(n, { [i]: c }))
56
+ /* istanbul ignore next -- 父包没有对应导出时才拒绝 */
57
+ throw Error(`[Playground] 未注册的模块 "${n}"`);
58
+ return c;
59
+ }, C = (e) => {
60
+ if (_.has(e)) return _.get(e);
61
+ let t = g.get(e);
62
+ if (t == null) throw Error(`[Playground] 远程模块尚未下载: ${e}`);
63
+ let i = n(r(t, e), {
64
+ transforms: ["imports"],
65
+ production: !0,
66
+ filePath: e
67
+ }).code, a = { exports: {} };
68
+ return _.set(e, a.exports), Function("require", "module", "exports", i)(S(e), a, a.exports), _.set(e, a.exports), a.exports;
69
+ };
70
+ return { load: async (e) => (await x(e), await Promise.all([...h].map(async (e) => {
71
+ e !== "vue" && e !== "vue-router" && (m[e] = await c(e));
72
+ })), C(e)) };
73
+ };
74
+ //#endregion
75
+ export { d as createRemoteLoader };