@fangzhongya/vue-archive 0.0.2-10 → 0.0.2-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 (127) hide show
  1. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +0 -0
  2. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +0 -0
  3. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +0 -0
  4. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +0 -0
  5. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +0 -0
  6. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +0 -0
  7. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +0 -0
  8. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +0 -0
  9. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +0 -0
  10. package/dist/es/node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +19 -20
  11. package/dist/es/packages/components/aside/index.vue.js +44 -48
  12. package/dist/es/packages/components/boxurl/index.vue.js +22 -25
  13. package/dist/es/packages/components/choice/choice.vue.js +19 -21
  14. package/dist/es/packages/components/choice/index.vue.js +36 -39
  15. package/dist/es/packages/components/code/highlight.vue.js +8 -9
  16. package/dist/es/packages/components/code/highlight.vue2.js +4 -4
  17. package/dist/es/packages/components/code/index.vue.js +33 -37
  18. package/dist/es/packages/components/compo/ftable.vue.js +21 -23
  19. package/dist/es/packages/components/compo/index.vue.js +35 -37
  20. package/dist/es/packages/components/compo/info.vue.js +15 -17
  21. package/dist/es/packages/components/compo/top.js +6 -7
  22. package/dist/es/packages/components/header/index.vue.js +7 -8
  23. package/dist/es/packages/components/main/index.vue.js +21 -23
  24. package/dist/es/packages/components/md/index.vue.js +26 -29
  25. package/dist/es/packages/components/test/index.vue.js +32 -35
  26. package/dist/es/packages/components/test/top.js +3 -4
  27. package/dist/es/packages/components/use/index.js +21 -23
  28. package/dist/es/packages/components/use/retrie/any/index.vue.js +23 -25
  29. package/dist/es/packages/components/use/retrie/array/index.vue.js +15 -17
  30. package/dist/es/packages/components/use/retrie/boolean/index.vue.js +13 -16
  31. package/dist/es/packages/components/use/retrie/choice/index.vue.js +49 -53
  32. package/dist/es/packages/components/use/retrie/expose/index.vue.js +23 -26
  33. package/dist/es/packages/components/use/retrie/form/index.vue.js +36 -39
  34. package/dist/es/packages/components/use/retrie/function/index.vue.js +15 -17
  35. package/dist/es/packages/components/use/retrie/index.vue.js +23 -27
  36. package/dist/es/packages/components/use/retrie/number/index.vue.js +7 -10
  37. package/dist/es/packages/components/use/retrie/object/index.vue.js +9 -11
  38. package/dist/es/packages/components/use/retrie/other/index.vue.js +15 -17
  39. package/dist/es/packages/components/use/retrie/select/index.vue.js +16 -20
  40. package/dist/es/packages/components/use/retrie/slot/index.vue.js +14 -17
  41. package/dist/es/packages/components/use/retrie/string/index.vue.js +18 -21
  42. package/dist/es/packages/components/use/set-code.vue.js +45 -49
  43. package/dist/es/packages/components/use/set-emit.vue.js +14 -16
  44. package/dist/es/packages/components/use/set-expose.vue.js +12 -14
  45. package/dist/es/packages/components/use/set-props.vue.js +18 -20
  46. package/dist/es/packages/components/use/set-slot.vue.js +14 -17
  47. package/dist/es/packages/config.js +1 -1
  48. package/dist/es/packages/index/index.vue.js +8 -9
  49. package/dist/es/packages/page/compon/index.vue2.js +9 -10
  50. package/dist/es/packages/page/develop/index.vue2.js +9 -10
  51. package/dist/es/packages/page/index/index.vue2.js +24 -26
  52. package/dist/es/packages/page/single/index.vue2.js +30 -34
  53. package/dist/es/packages/page/tests/index.vue2.js +29 -32
  54. package/dist/es/packages/utils/common.js +6 -6
  55. package/dist/es/packages/utils/glob.js +5 -5
  56. package/dist/es/style.css +2 -2
  57. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +0 -0
  58. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +0 -0
  59. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +0 -0
  60. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +0 -0
  61. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +0 -0
  62. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +0 -0
  63. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +0 -0
  64. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +0 -0
  65. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-11 → @fangzhongya_utils@0.0.7-10}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +0 -0
  66. package/dist/lib/node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +1 -1
  67. package/dist/lib/packages/components/aside/index.vue.js +1 -1
  68. package/dist/lib/packages/components/boxurl/index.vue.js +1 -1
  69. package/dist/lib/packages/components/choice/choice.vue.js +1 -1
  70. package/dist/lib/packages/components/choice/index.vue.js +1 -1
  71. package/dist/lib/packages/components/code/highlight.vue.js +1 -1
  72. package/dist/lib/packages/components/code/index.vue.js +1 -1
  73. package/dist/lib/packages/components/compo/ftable.vue.js +1 -1
  74. package/dist/lib/packages/components/compo/index.vue.js +1 -1
  75. package/dist/lib/packages/components/compo/info.vue.js +1 -1
  76. package/dist/lib/packages/components/compo/top.js +1 -1
  77. package/dist/lib/packages/components/header/index.vue.js +1 -1
  78. package/dist/lib/packages/components/main/index.vue.js +1 -1
  79. package/dist/lib/packages/components/md/index.vue.js +1 -1
  80. package/dist/lib/packages/components/test/index.vue.js +1 -1
  81. package/dist/lib/packages/components/test/top.js +1 -1
  82. package/dist/lib/packages/components/use/index.js +1 -1
  83. package/dist/lib/packages/components/use/retrie/any/index.vue.js +1 -1
  84. package/dist/lib/packages/components/use/retrie/array/index.vue.js +3 -3
  85. package/dist/lib/packages/components/use/retrie/boolean/index.vue.js +1 -1
  86. package/dist/lib/packages/components/use/retrie/choice/index.vue.js +3 -3
  87. package/dist/lib/packages/components/use/retrie/expose/index.vue.js +1 -1
  88. package/dist/lib/packages/components/use/retrie/form/index.vue.js +1 -1
  89. package/dist/lib/packages/components/use/retrie/function/index.vue.js +2 -2
  90. package/dist/lib/packages/components/use/retrie/index.vue.js +1 -1
  91. package/dist/lib/packages/components/use/retrie/number/index.vue.js +1 -1
  92. package/dist/lib/packages/components/use/retrie/object/index.vue.js +3 -3
  93. package/dist/lib/packages/components/use/retrie/other/index.vue.js +2 -2
  94. package/dist/lib/packages/components/use/retrie/select/index.vue.js +1 -1
  95. package/dist/lib/packages/components/use/retrie/slot/index.vue.js +1 -1
  96. package/dist/lib/packages/components/use/retrie/string/index.vue.js +1 -1
  97. package/dist/lib/packages/components/use/set-code.vue.js +6 -6
  98. package/dist/lib/packages/components/use/set-emit.vue.js +1 -1
  99. package/dist/lib/packages/components/use/set-expose.vue.js +1 -1
  100. package/dist/lib/packages/components/use/set-props.vue.js +1 -1
  101. package/dist/lib/packages/components/use/set-slot.vue.js +1 -1
  102. package/dist/lib/packages/config.js +1 -1
  103. package/dist/lib/packages/index/index.vue.js +1 -1
  104. package/dist/lib/packages/page/compon/index.vue2.js +1 -1
  105. package/dist/lib/packages/page/develop/index.vue2.js +1 -1
  106. package/dist/lib/packages/page/index/index.vue2.js +1 -1
  107. package/dist/lib/packages/page/single/index.vue2.js +1 -1
  108. package/dist/lib/packages/page/tests/index.vue2.js +1 -1
  109. package/dist/lib/packages/utils/common.js +1 -1
  110. package/dist/lib/packages/utils/glob.js +1 -1
  111. package/package.json +12 -10
  112. package/dist/es/node_modules/.pnpm/@vue_compiler-core@3.2.47/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -2881
  113. package/dist/es/node_modules/.pnpm/@vue_compiler-dom@3.2.47/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -408
  114. package/dist/es/node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -700
  115. package/dist/es/node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -3908
  116. package/dist/es/node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1023
  117. package/dist/es/node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -280
  118. package/dist/es/node_modules/.pnpm/vue-router@4.1.6_vue@3.2.47/node_modules/vue-router/dist/vue-router.js +0 -37
  119. package/dist/es/node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js +0 -163
  120. package/dist/lib/node_modules/.pnpm/@vue_compiler-core@3.2.47/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -9
  121. package/dist/lib/node_modules/.pnpm/@vue_compiler-dom@3.2.47/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -1
  122. package/dist/lib/node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -1
  123. package/dist/lib/node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -14
  124. package/dist/lib/node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1
  125. package/dist/lib/node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -2
  126. package/dist/lib/node_modules/.pnpm/vue-router@4.1.6_vue@3.2.47/node_modules/vue-router/dist/vue-router.js +0 -5
  127. package/dist/lib/node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js +0 -2
@@ -1,36 +1,35 @@
1
- import "../../../../../vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
1
+ import { defineComponent as c, ref as h, watch as d, computed as t, h as g } from "vue";
2
2
  import u from "../../../../../highlight.js@11.7.0/node_modules/highlight.js/lib/core.js";
3
- import { defineComponent as c, watch as p, computed as l, h as g } from "../../../../../@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
4
- import { ref as d } from "../../../../../@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
5
3
  var i = c({ props: { code: { type: String, required: !0 }, language: { type: String, default: "" }, autodetect: { type: Boolean, default: !0 }, ignoreIllegals: { type: Boolean, default: !0 } }, setup: function(e) {
6
- var t = d(e.language);
7
- p(function() {
4
+ var n = h(e.language);
5
+ d(function() {
8
6
  return e.language;
9
- }, function(n) {
10
- t.value = n;
7
+ }, function(l) {
8
+ n.value = l;
11
9
  });
12
- var o = l(function() {
13
- return e.autodetect || !t.value;
14
- }), r = l(function() {
15
- return !o.value && !u.getLanguage(t.value);
10
+ var o = t(function() {
11
+ return e.autodetect || !n.value;
12
+ }), r = t(function() {
13
+ return !o.value && !u.getLanguage(n.value);
16
14
  });
17
- return { className: l(function() {
18
- return r.value ? "" : "hljs " + t.value;
19
- }), highlightedCode: l(function() {
20
- var n;
15
+ return { className: t(function() {
16
+ return r.value ? "" : "hljs " + n.value;
17
+ }), highlightedCode: t(function() {
18
+ var l;
21
19
  if (r.value)
22
- return console.warn('The language "' + t.value + '" you specified could not be found.'), e.code.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
20
+ return console.warn('The language "' + n.value + '" you specified could not be found.'), e.code.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
23
21
  if (o.value) {
24
22
  var a = u.highlightAuto(e.code);
25
- return t.value = (n = a.language) !== null && n !== void 0 ? n : "", a.value;
23
+ return n.value = (l = a.language) !== null && l !== void 0 ? l : "", a.value;
26
24
  }
27
- return (a = u.highlight(e.code, { language: t.value, ignoreIllegals: e.ignoreIllegals })).value;
25
+ return (a = u.highlight(e.code, { language: n.value, ignoreIllegals: e.ignoreIllegals })).value;
28
26
  }) };
29
27
  }, render: function() {
30
28
  return g("pre", {}, [g("code", { class: this.className, innerHTML: this.highlightedCode })]);
31
- } }), m = { install: function(e) {
29
+ } }), p = { install: function(e) {
32
30
  e.component("highlightjs", i);
33
31
  }, component: i };
32
+ const v = p;
34
33
  export {
35
- m as default
34
+ v as default
36
35
  };
@@ -1,62 +1,58 @@
1
- import "../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
2
- import A from "../boxurl/index.vue.js";
3
- import { getCompoNameObj as y, getCompoNameKey as V, getCompoName as w } from "../../utils/glob.js";
4
- import { getAsideKey as B, setAsideKey as S } from "../../utils/common.js";
5
- import { defineComponent as b, watch as h, onMounted as j, nextTick as z, openBlock as n, createElementBlock as i, createElementVNode as o, withDirectives as D, Fragment as g, renderList as C, createVNode as E, withCtx as M } from "../../../node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
6
- import { vModelText as O } from "../../../node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js";
7
- import { normalizeClass as $, toDisplayString as N } from "../../../node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js";
8
- import { ref as u } from "../../../node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
9
- const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"], U = { class: "aside-li-name" }, G = { class: "aside-li-name-name" }, H = { class: "aside-li-name-aliass" }, Z = /* @__PURE__ */ b({
1
+ import { defineComponent as A, ref as c, watch as y, onMounted as w, nextTick as S, openBlock as n, createElementBlock as i, createElementVNode as l, withDirectives as V, vModelText as b, Fragment as h, renderList as g, normalizeClass as j, createVNode as z, withCtx as B, toDisplayString as C } from "vue";
2
+ import D from "../boxurl/index.vue.js";
3
+ import { getCompoNameObj as N, getCompoNameKey as E, getCompoName as M } from "../../utils/glob.js";
4
+ import { getAsideKey as O, setAsideKey as $ } from "../../utils/common.js";
5
+ const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"], U = { class: "aside-li-name" }, G = { class: "aside-li-name-name" }, H = { class: "aside-li-name-aliass" }, R = /* @__PURE__ */ A({
10
6
  __name: "index",
11
7
  props: {
12
8
  value: Object
13
9
  },
14
10
  emits: ["change"],
15
- setup(x, { emit: v }) {
16
- const c = x, d = u(), l = u([]);
17
- l.value = y();
18
- const a = u(
19
- c.value
11
+ setup(x, { emit: m }) {
12
+ const r = x, d = c(), o = c([]);
13
+ o.value = N();
14
+ const a = c(
15
+ r.value
20
16
  );
21
17
  if (!a.value || !a.value.key) {
22
- let e = B();
23
- e ? a.value = V(e) : a.value = l.value[0];
18
+ let e = O();
19
+ e ? a.value = E(e) : a.value = o.value[0];
24
20
  }
25
- const r = u("");
26
- h(
27
- () => c.value,
21
+ const u = c("");
22
+ y(
23
+ () => r.value,
28
24
  () => {
29
- a.value = c.value, m();
25
+ a.value = r.value, v();
30
26
  }
31
- ), h(
32
- () => r.value,
27
+ ), y(
28
+ () => u.value,
33
29
  () => {
34
30
  K();
35
31
  }
36
32
  );
37
- function p(e) {
33
+ function f(e) {
38
34
  return e ? e.replace(/[\.|\/|\s]/g, "-") : "a";
39
35
  }
40
36
  function T(e) {
41
- a.value = e, m(), v("change", e);
37
+ a.value = e, v(), m("change", e);
42
38
  }
43
- let f;
39
+ let p;
44
40
  function K() {
45
- clearTimeout(f), f = setTimeout(() => {
46
- let e = r.value;
47
- e ? l.value = w(e, !0) : l.value = y();
41
+ clearTimeout(p), p = setTimeout(() => {
42
+ let e = u.value;
43
+ e ? o.value = M(e, !0) : o.value = N();
48
44
  }, 400);
49
45
  }
50
- function m() {
46
+ function v() {
51
47
  var s;
52
48
  let e = ((s = a.value) == null ? void 0 : s.key) || "";
53
- S(e);
49
+ $(e);
54
50
  }
55
- return m(), v("change", a.value), j(() => {
56
- z(() => {
51
+ return v(), m("change", a.value), w(() => {
52
+ S(() => {
57
53
  var s;
58
54
  const e = d.value.querySelector(
59
- ".aside-li." + p((s = a.value) == null ? void 0 : s.key)
55
+ ".aside-li." + f((s = a.value) == null ? void 0 : s.key)
60
56
  );
61
57
  if (e) {
62
58
  const t = e.offsetTop, _ = d.value.parentNode;
@@ -68,27 +64,27 @@ const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"
68
64
  ref_key: "refAside",
69
65
  ref: d
70
66
  }, [
71
- o("div", q, [
72
- D(o("input", {
73
- "onUpdate:modelValue": s[0] || (s[0] = (t) => r.value = t)
67
+ l("div", q, [
68
+ V(l("input", {
69
+ "onUpdate:modelValue": s[0] || (s[0] = (t) => u.value = t)
74
70
  }, null, 512), [
75
- [O, r.value]
71
+ [b, u.value]
76
72
  ])
77
73
  ]),
78
- o("div", F, [
79
- (n(!0), i(g, null, C(l.value, (t, _) => (n(), i("div", {
80
- class: $([
74
+ l("div", F, [
75
+ (n(!0), i(h, null, g(o.value, (t, _) => (n(), i("div", {
76
+ class: j([
81
77
  "aside-li",
82
- p(t.key) + " " + (t.key == a.value.key ? "on" : "")
78
+ f(t.key) + " " + (t.key == a.value.key ? "on" : "")
83
79
  ]),
84
80
  onClick: (k) => T(t)
85
81
  }, [
86
- E(A, { value: t }, {
87
- default: M(() => [
88
- o("div", U, [
89
- o("div", G, N(t.name), 1),
90
- o("span", H, [
91
- (n(!0), i(g, null, C(t.aliasNames, (k) => (n(), i("span", null, N(k), 1))), 256))
82
+ z(D, { value: t }, {
83
+ default: B(() => [
84
+ l("div", U, [
85
+ l("div", G, C(t.name), 1),
86
+ l("span", H, [
87
+ (n(!0), i(h, null, g(t.aliasNames, (k) => (n(), i("span", null, C(k), 1))), 256))
92
88
  ])
93
89
  ])
94
90
  ]),
@@ -100,5 +96,5 @@ const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"
100
96
  }
101
97
  });
102
98
  export {
103
- Z as default
99
+ R as default
104
100
  };
@@ -1,51 +1,48 @@
1
- import "../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
2
- import { defineComponent as f, onMounted as h, openBlock as l, createElementBlock as i, createElementVNode as s, renderSlot as y, Fragment as g, renderList as N, createCommentVNode as k } from "../../../node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
3
- import { ref as d } from "../../../node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
4
- import { toDisplayString as n, normalizeStyle as B } from "../../../node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js";
5
- const S = { class: "box-url-span" }, V = { class: "box-url-box-div" }, w = { class: "box-div-li" }, C = { class: "box-div-li-span" }, E = { class: "box-div-li-span" }, X = {
1
+ import { defineComponent as h, ref as d, onMounted as f, openBlock as o, createElementBlock as i, createElementVNode as s, renderSlot as y, normalizeStyle as g, toDisplayString as n, Fragment as k, renderList as N, createCommentVNode as S } from "vue";
2
+ const w = { class: "box-url-span" }, B = { class: "box-url-box-div" }, C = { class: "box-div-li" }, E = { class: "box-div-li-span" }, V = { class: "box-div-li-span" }, X = {
6
3
  key: 0,
7
4
  class: "box-div-li"
8
- }, Y = /* @__PURE__ */ s("div", { class: "box-div-li-span" }, "别名", -1), j = { class: "box-div-li-span" }, z = { class: "box-div-li" }, D = /* @__PURE__ */ s("div", { class: "box-div-li-span" }, " 文件路径 ", -1), F = { class: "box-div-li-span" }, q = /* @__PURE__ */ f({
5
+ }, Y = /* @__PURE__ */ s("div", { class: "box-div-li-span" }, "别名", -1), j = { class: "box-div-li-span" }, z = { class: "box-div-li" }, D = /* @__PURE__ */ s("div", { class: "box-div-li-span" }, " 文件路径 ", -1), F = { class: "box-div-li-span" }, M = /* @__PURE__ */ h({
9
6
  __name: "index",
10
7
  props: {
11
8
  value: Object
12
9
  },
13
- setup(o) {
14
- const v = d(), c = d(""), r = d("");
15
- return h(() => {
10
+ setup(l) {
11
+ const v = d(), c = d(""), u = d("");
12
+ return f(() => {
16
13
  v.value.onmouseenter = (e) => {
17
14
  var e = e || window.event;
18
15
  let t, a;
19
- e.x || e.y ? (t = e.x, a = e.y) : (e.pageX || e.pageY) && (t = e.pageX - 1, a = e.pageY - 1), c.value = t + "px", r.value = a + "px";
16
+ e.x || e.y ? (t = e.x, a = e.y) : (e.pageX || e.pageY) && (t = e.pageX - 1, a = e.pageY - 1), c.value = t + "px", u.value = a + "px";
20
17
  };
21
- }), (p, e) => {
22
- var t, a, u, x, m, b;
23
- return l(), i("div", {
18
+ }), (m, e) => {
19
+ var t, a, r, x, b, _;
20
+ return o(), i("div", {
24
21
  ref_key: "boxurl",
25
22
  ref: v,
26
23
  class: "box-url"
27
24
  }, [
28
- s("span", S, [
29
- y(p.$slots, "default")
25
+ s("span", w, [
26
+ y(m.$slots, "default")
30
27
  ]),
31
28
  s("div", {
32
29
  class: "box-url-box",
33
- style: B({ top: r.value, left: c.value })
30
+ style: g({ top: u.value, left: c.value })
34
31
  }, [
35
- s("div", V, [
36
- s("div", w, [
37
- s("div", C, n((t = o.value) == null ? void 0 : t.name), 1),
38
- s("div", E, n((a = o.value) == null ? void 0 : a.value), 1)
32
+ s("div", B, [
33
+ s("div", C, [
34
+ s("div", E, n((t = l.value) == null ? void 0 : t.name), 1),
35
+ s("div", V, n((a = l.value) == null ? void 0 : a.value), 1)
39
36
  ]),
40
- (u = o.value) != null && u.aliasNames && ((x = o.value) != null && x.aliasNames.length) ? (l(), i("div", X, [
37
+ (r = l.value) != null && r.aliasNames && ((x = l.value) != null && x.aliasNames.length) ? (o(), i("div", X, [
41
38
  Y,
42
39
  s("div", j, [
43
- (l(!0), i(g, null, N((m = o.value) == null ? void 0 : m.aliasNames, (_) => (l(), i("span", null, n(_), 1))), 256))
40
+ (o(!0), i(k, null, N((b = l.value) == null ? void 0 : b.aliasNames, (p) => (o(), i("span", null, n(p), 1))), 256))
44
41
  ])
45
- ])) : k("", !0),
42
+ ])) : S("", !0),
46
43
  s("div", z, [
47
44
  D,
48
- s("div", F, n((b = o.value) == null ? void 0 : b.key), 1)
45
+ s("div", F, n((_ = l.value) == null ? void 0 : _.key), 1)
49
46
  ])
50
47
  ])
51
48
  ], 4)
@@ -54,5 +51,5 @@ const S = { class: "box-url-span" }, V = { class: "box-url-box-div" }, w = { cla
54
51
  }
55
52
  });
56
53
  export {
57
- q as default
54
+ M as default
58
55
  };
@@ -1,8 +1,6 @@
1
- import "../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
2
- import p from "../boxurl/index.vue.js";
3
- import { defineComponent as h, openBlock as s, createElementBlock as a, Fragment as r, renderList as d, createVNode as v, withCtx as f, createElementVNode as n } from "../../../node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
4
- import { normalizeClass as k, toDisplayString as o } from "../../../node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js";
5
- const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-name" }, N = { class: "aside-li-name-name" }, x = { class: "aside-li-name-aliass" }, B = { class: "aside-li-name-aliass" }, z = /* @__PURE__ */ h({
1
+ import { defineComponent as p, openBlock as s, createElementBlock as a, Fragment as r, renderList as d, normalizeClass as h, createVNode as v, withCtx as k, createElementVNode as n, toDisplayString as i } from "vue";
2
+ import f from "../boxurl/index.vue.js";
3
+ const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-name" }, x = { class: "aside-li-name-name" }, N = { class: "aside-li-name-aliass" }, B = { class: "aside-li-name-aliass" }, j = /* @__PURE__ */ p({
6
4
  __name: "choice",
7
5
  props: {
8
6
  value: {
@@ -13,29 +11,29 @@ const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-nam
13
11
  }
14
12
  },
15
13
  emits: ["change"],
16
- setup(_, { emit: m }) {
14
+ setup(_, { emit: u }) {
17
15
  const t = _;
18
- function u(i) {
19
- m("change", i);
16
+ function m(c) {
17
+ u("change", c);
20
18
  }
21
- return (i, V) => (s(), a("div", y, [
22
- (s(!0), a(r, null, d(t.value, (e, E) => {
23
- var c;
19
+ return (c, E) => (s(), a("div", y, [
20
+ (s(!0), a(r, null, d(t.value, (e, V) => {
21
+ var o;
24
22
  return s(), a("div", {
25
- class: k(["aside-li", {
26
- on: e.key == ((c = t.choice) == null ? void 0 : c.key)
23
+ class: h(["aside-li", {
24
+ on: e.key == ((o = t.choice) == null ? void 0 : o.key)
27
25
  }]),
28
- onClick: (l) => u(e)
26
+ onClick: (l) => m(e)
29
27
  }, [
30
- v(p, { value: e }, {
31
- default: f(() => [
28
+ v(f, { value: e }, {
29
+ default: k(() => [
32
30
  n("div", g, [
33
- n("div", N, o(e.name), 1),
34
- n("div", x, [
35
- (s(!0), a(r, null, d(e.aliasNames, (l) => (s(), a("span", null, o(l), 1))), 256))
31
+ n("div", x, i(e.name), 1),
32
+ n("div", N, [
33
+ (s(!0), a(r, null, d(e.aliasNames, (l) => (s(), a("span", null, i(l), 1))), 256))
36
34
  ]),
37
35
  n("div", B, [
38
- n("span", null, o(e.key), 1)
36
+ n("span", null, i(e.key), 1)
39
37
  ])
40
38
  ])
41
39
  ]),
@@ -47,5 +45,5 @@ const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-nam
47
45
  }
48
46
  });
49
47
  export {
50
- z as default
48
+ j as default
51
49
  };
@@ -1,79 +1,76 @@
1
- import "../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
2
- import y from "./choice.vue.js";
3
- import { getCompoName as k } from "../../utils/glob.js";
4
- import { setAsideKey as C } from "../../utils/common.js";
5
- import { useRoute as N } from "../../../node_modules/.pnpm/vue-router@4.1.6_vue@3.2.47/node_modules/vue-router/dist/vue-router.js";
6
- import { getPageParams as B } from "../../router/index.js";
7
- import { defineComponent as q, watch as K, openBlock as n, createElementBlock as l, createBlock as V, createCommentVNode as p, createElementVNode as f, renderSlot as $ } from "../../../node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
8
- import { ref as s, unref as b } from "../../../node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
9
- import { toDisplayString as _, normalizeClass as x } from "../../../node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js";
10
- const D = { class: "__document-compon" }, E = {
1
+ import { defineComponent as y, ref as r, watch as k, openBlock as n, createElementBlock as u, createBlock as C, createCommentVNode as p, createElementVNode as _, toDisplayString as h, normalizeClass as N, renderSlot as q, unref as B } from "vue";
2
+ import K from "./choice.vue.js";
3
+ import { getCompoName as $ } from "../../utils/glob.js";
4
+ import { setAsideKey as b } from "../../utils/common.js";
5
+ import { useRoute as x } from "vue-router";
6
+ import { getPageParams as D } from "../../router/index.js";
7
+ const E = { class: "__document-compon" }, F = {
11
8
  key: 0,
12
9
  class: "__document-compon-choice"
13
- }, F = { key: 0 }, P = { key: 1 }, S = { key: 2 }, M = /* @__PURE__ */ q({
10
+ }, P = { key: 0 }, S = { key: 1 }, V = { key: 2 }, I = /* @__PURE__ */ y({
14
11
  __name: "index",
15
12
  props: {
16
13
  getName: {
17
14
  type: Function,
18
- default(c) {
19
- return c.id;
15
+ default(l) {
16
+ return l.id;
20
17
  }
21
18
  },
22
19
  getKey: {
23
20
  type: Function,
24
- default(c) {
25
- return c.key;
21
+ default(l) {
22
+ return l.key;
26
23
  }
27
24
  }
28
25
  },
29
26
  emits: ["change"],
30
- setup(c, { emit: r }) {
31
- const i = c, u = N(), h = B(u), e = s(), t = s([]), a = s(!1);
32
- K(
33
- () => u.query.id,
27
+ setup(l, { emit: s }) {
28
+ const i = l, c = x(), f = D(c), e = r(), o = r([]), a = r(!1);
29
+ k(
30
+ () => c.query.id,
34
31
  () => {
35
32
  m();
36
33
  }
37
34
  );
38
35
  function m() {
39
- let o = k(
40
- i.getName(u.query),
36
+ let t = $(
37
+ i.getName(c.query),
41
38
  !0,
42
- i.getKey(h)
39
+ i.getKey(f)
43
40
  ) || [];
44
- t.value = [], o.length == 1 ? (e.value = o[0], r("change", e.value)) : o.length == 0 ? (e.value = void 0, r("change", e.value)) : (a.value = !0, t.value = o);
41
+ o.value = [], t.length == 1 ? (e.value = t[0], s("change", e.value)) : t.length == 0 ? (e.value = void 0, s("change", e.value)) : (a.value = !0, o.value = t);
45
42
  }
46
- function g(o) {
47
- a.value = !1, e.value = o, r("change", e.value), C(o.key);
43
+ function g(t) {
44
+ a.value = !1, e.value = t, s("change", e.value), b(t.key);
48
45
  }
49
- return m(), (o, v) => {
46
+ return m(), (t, v) => {
50
47
  var d;
51
- return n(), l("div", D, [
52
- t.value.length ? (n(), l("div", E, [
53
- a.value ? (n(), V(y, {
48
+ return n(), u("div", E, [
49
+ o.value.length ? (n(), u("div", F, [
50
+ a.value ? (n(), C(K, {
54
51
  key: 0,
55
52
  onChange: g,
56
- value: t.value,
53
+ value: o.value,
57
54
  choice: e.value
58
55
  }, null, 8, ["value", "choice"])) : p("", !0),
59
- f("div", {
56
+ _("div", {
60
57
  onClick: v[0] || (v[0] = (w) => a.value = !a.value),
61
58
  class: "__document-compon-choice-but"
62
- }, _(a.value ? "展开" : "隐藏"), 1)
59
+ }, h(a.value ? "展开" : "隐藏"), 1)
63
60
  ])) : p("", !0),
64
- f("div", {
65
- class: x(["__document-compon-body", {
66
- choice: t.value.length
61
+ _("div", {
62
+ class: N(["__document-compon-body", {
63
+ choice: o.value.length
67
64
  }])
68
65
  }, [
69
- (d = e.value) != null && d.key ? (n(), l("div", F, [
70
- $(o.$slots, "default", { value: e.value })
71
- ])) : t.value.length ? (n(), l("div", P, " 请先选择要查看的组件 ")) : (n(), l("div", S, " 没有查询到" + _(b(u).query.id) + "组件 ", 1))
66
+ (d = e.value) != null && d.key ? (n(), u("div", P, [
67
+ q(t.$slots, "default", { value: e.value })
68
+ ])) : o.value.length ? (n(), u("div", S, " 请先选择要查看的组件 ")) : (n(), u("div", V, " 没有查询到" + h(B(c).query.id) + "组件 ", 1))
72
69
  ], 2)
73
70
  ]);
74
71
  };
75
72
  }
76
73
  });
77
74
  export {
78
- M as default
75
+ I as default
79
76
  };
@@ -1,17 +1,16 @@
1
1
  import t from "./highlight.vue2.js";
2
- import "../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
3
- import c from "../../../_virtual/_plugin-vue_export-helper.js";
4
- import { resolveComponent as n, openBlock as r, createBlock as a, createCommentVNode as i } from "../../../node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
5
- function g(l, h, e, m, s, _) {
6
- const o = n("highlightjs");
7
- return e.code ? (r(), a(o, {
2
+ import { resolveComponent as c, openBlock as n, createBlock as r, createCommentVNode as a } from "vue";
3
+ import g from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ function i(l, h, e, s, m, _) {
5
+ const o = c("highlightjs");
6
+ return e.code ? (n(), r(o, {
8
7
  key: 0,
9
8
  class: "highlightjs",
10
9
  language: e.language,
11
10
  code: e.code
12
- }, null, 8, ["language", "code"])) : i("", !0);
11
+ }, null, 8, ["language", "code"])) : a("", !0);
13
12
  }
14
- const j = /* @__PURE__ */ c(t, [["render", g]]);
13
+ const p = /* @__PURE__ */ g(t, [["render", i]]);
15
14
  export {
16
- j as default
15
+ p as default
17
16
  };
@@ -1,6 +1,6 @@
1
1
  import "../../../node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js";
2
- import o from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
3
- const p = {
2
+ import t from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
3
+ const e = {
4
4
  props: {
5
5
  language: {
6
6
  type: String
@@ -10,9 +10,9 @@ const p = {
10
10
  }
11
11
  },
12
12
  components: {
13
- highlightjs: o.component
13
+ highlightjs: t.component
14
14
  }
15
15
  };
16
16
  export {
17
- p as default
17
+ e as default
18
18
  };