@fangzhongya/vue-archive 0.1.11 → 0.1.12
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/dist/index.css +1 -1
- package/dist/node/index.cjs +40 -36
- package/dist/node/index.js +40 -36
- package/dist/packages/components/aside/index.vue.js +4 -4
- package/dist/packages/components/boxurl/index.vue.js +5 -5
- package/dist/packages/components/choice/choice.vue.js +4 -4
- package/dist/packages/components/choice/index.vue.js +1 -1
- package/dist/packages/components/code/highlight.vue.js +3 -3
- package/dist/packages/components/code/index.vue.js +3 -3
- package/dist/packages/components/compo/code.vue.js +2 -2
- package/dist/packages/components/compo/ftable.vue.js +6 -6
- package/dist/packages/components/compo/index.vue.js +1 -1
- package/dist/packages/components/compo/info-top.vue.js +2 -2
- package/dist/packages/components/compo/info.vue.js +5 -5
- package/dist/packages/components/compo/props.vue.js +1 -1
- package/dist/packages/components/header/index.vue.js +2 -2
- package/dist/packages/components/main/index.vue.js +3 -3
- package/dist/packages/components/md/index.vue.js +7 -7
- package/dist/packages/components/test/index.vue.js +4 -4
- package/dist/packages/components/use/code.d.ts +18 -25
- package/dist/packages/components/use/code.vue.js +4 -4
- package/dist/packages/components/use/effect.vue.js +2 -2
- package/dist/packages/components/use/retrie/any/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/array/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/boolean/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/choice/index.vue.js +5 -5
- package/dist/packages/components/use/retrie/expose/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/form/index.vue.js +1 -1
- package/dist/packages/components/use/retrie/function/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/index.vue.js +1 -1
- package/dist/packages/components/use/retrie/input/editor/editor.d.ts +0 -49
- package/dist/packages/components/use/retrie/input/editor/editor.vue.js +2 -2
- package/dist/packages/components/use/retrie/input/index.vue.js +1 -1
- package/dist/packages/components/use/retrie/input/text.vue.js +2 -2
- package/dist/packages/components/use/retrie/number/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/object/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/other/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/select/index.vue.js +5 -5
- package/dist/packages/components/use/retrie/slot/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/string/index.vue.js +2 -2
- package/dist/packages/components/use/set-code.vue.js +2 -2
- package/dist/packages/components/use/set-emit.vue.js +4 -4
- package/dist/packages/components/use/set-expose.vue.js +6 -6
- package/dist/packages/components/use/set-props.vue.js +2 -2
- package/dist/packages/components/use/set-slot.vue.js +7 -7
- package/dist/packages/index/index.vue2.js +2 -2
- package/dist/packages/page/compon/index.vue2.js +2 -2
- package/dist/packages/page/comprops/index.vue2.js +3 -3
- package/dist/packages/page/develop/index.vue2.js +2 -2
- package/dist/packages/page/edit/index.vue2.js +2 -2
- package/dist/packages/page/index/index.vue2.js +1 -1
- package/dist/packages/page/single/index.vue2.js +2 -2
- package/dist/packages/page/tests/index.vue2.js +6 -6
- package/package.json +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, ref as d, watch as p, withDirectives as c,
|
|
1
|
+
import { defineComponent as s, ref as d, watch as p, withDirectives as c, openBlock as i, createElementBlock as f, vModelText as v } from "vue";
|
|
2
2
|
const V = /* @__PURE__ */ s({
|
|
3
3
|
__name: "text",
|
|
4
4
|
props: {
|
|
@@ -24,7 +24,7 @@ const V = /* @__PURE__ */ s({
|
|
|
24
24
|
const e = t.value;
|
|
25
25
|
e && u("update:modelValue", e);
|
|
26
26
|
}
|
|
27
|
-
return (r, e) => c((
|
|
27
|
+
return (r, e) => c((i(), f("textarea", {
|
|
28
28
|
class: "form-input-text",
|
|
29
29
|
rows: "5",
|
|
30
30
|
"onUpdate:modelValue": e[0] || (e[0] = (m) => t.value = m),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, ref as c, watch as f,
|
|
1
|
+
import { defineComponent as m, ref as c, watch as f, openBlock as d, createElementBlock as p, withDirectives as v, createElementVNode as N, withModifiers as _, vModelText as V } from "vue";
|
|
2
2
|
const b = { class: "form-number" }, x = /* @__PURE__ */ m({
|
|
3
3
|
__name: "index",
|
|
4
4
|
props: {
|
|
@@ -33,7 +33,7 @@ const b = { class: "form-number" }, x = /* @__PURE__ */ m({
|
|
|
33
33
|
} else
|
|
34
34
|
return r("value", void 0, JSON.stringify(0)), r("error", !1), 0;
|
|
35
35
|
}
|
|
36
|
-
return (t, e) => (
|
|
36
|
+
return (t, e) => (d(), p("div", b, [
|
|
37
37
|
v(N("input", {
|
|
38
38
|
class: "form-number-input",
|
|
39
39
|
"onUpdate:modelValue": e[0] || (e[0] = (a) => o.value = a),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, ref as s, watch as f,
|
|
1
|
+
import { defineComponent as m, ref as s, watch as f, openBlock as p, createElementBlock as d, createVNode as v } from "vue";
|
|
2
2
|
import _ from "../input/index.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { prettierObjFormat as y } from "../../util.js";
|
|
@@ -40,7 +40,7 @@ const V = { class: "form-object" }, k = /* @__PURE__ */ m({
|
|
|
40
40
|
}`, t("value", void 0, r), t("error", !1);
|
|
41
41
|
return r;
|
|
42
42
|
}
|
|
43
|
-
return (e, r) => (
|
|
43
|
+
return (e, r) => (p(), d("div", V, [
|
|
44
44
|
v(_, {
|
|
45
45
|
format: "json",
|
|
46
46
|
modelValue: l.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, ref as p, watch as d,
|
|
1
|
+
import { defineComponent as m, ref as p, watch as d, openBlock as f, createElementBlock as y, createVNode as v } from "vue";
|
|
2
2
|
import _ from "../input/index.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { isTypeEqual as V, prettierFormat as g } from "../../util.js";
|
|
@@ -52,7 +52,7 @@ const h = { class: "form-other" }, B = /* @__PURE__ */ m({
|
|
|
52
52
|
r = "", o("value", void 0, r), o("error", !1);
|
|
53
53
|
return r;
|
|
54
54
|
}
|
|
55
|
-
return (e, r) => (
|
|
55
|
+
return (e, r) => (f(), y("div", h, [
|
|
56
56
|
v(_, {
|
|
57
57
|
format: "js",
|
|
58
58
|
modelValue: l.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, ref as y, watch as T,
|
|
1
|
+
import { defineComponent as C, ref as y, watch as T, openBlock as s, createElementBlock as i, createElementVNode as c, withModifiers as d, withDirectives as x, Fragment as B, renderList as S, normalizeClass as w, toDisplayString as N, vShow as j } from "vue";
|
|
2
2
|
import { getDataTypeType as A, getString as D } from "../../util.js";
|
|
3
3
|
const z = { class: "form-select" }, E = ["value", "disabled"], L = { class: "form-select-box" }, O = { class: "form-select-list" }, F = {
|
|
4
4
|
key: 0,
|
|
@@ -88,7 +88,7 @@ const z = { class: "form-select" }, E = ["value", "disabled"], L = { class: "for
|
|
|
88
88
|
t = e;
|
|
89
89
|
f("value", t, JSON.stringify(e)), f("change", t, n.value);
|
|
90
90
|
}
|
|
91
|
-
return (e, t) => (
|
|
91
|
+
return (e, t) => (s(), i("div", z, [
|
|
92
92
|
c("input", {
|
|
93
93
|
class: "form-select-input",
|
|
94
94
|
value: p(n.value),
|
|
@@ -101,8 +101,8 @@ const z = { class: "form-select" }, E = ["value", "disabled"], L = { class: "for
|
|
|
101
101
|
}, null, 40, E),
|
|
102
102
|
c("div", L, [
|
|
103
103
|
x(c("div", O, [
|
|
104
|
-
l.list && l.list.length > 0 ? (
|
|
105
|
-
(
|
|
104
|
+
l.list && l.list.length > 0 ? (s(), i("div", F, [
|
|
105
|
+
(s(!0), i(B, null, S(l.list, (o, u) => (s(), i("div", {
|
|
106
106
|
class: w(["form-select-list-li", {
|
|
107
107
|
active: b(o)
|
|
108
108
|
}]),
|
|
@@ -110,7 +110,7 @@ const z = { class: "form-select" }, E = ["value", "disabled"], L = { class: "for
|
|
|
110
110
|
}, [
|
|
111
111
|
c("span", null, N(p(o)), 1)
|
|
112
112
|
], 10, J))), 256))
|
|
113
|
-
])) : (
|
|
113
|
+
])) : (s(), i("div", M, "暂无数据"))
|
|
114
114
|
], 512), [
|
|
115
115
|
[j, r.value]
|
|
116
116
|
])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i, ref as s,
|
|
1
|
+
import { defineComponent as i, ref as s, openBlock as m, createElementBlock as u, createVNode as p, createElementVNode as d, withModifiers as f } from "vue";
|
|
2
2
|
import _ from "../input/index.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { prettierHtml as v } from "../../util.js";
|
|
@@ -24,7 +24,7 @@ const h = { class: "slot" }, C = /* @__PURE__ */ i({
|
|
|
24
24
|
function c(t) {
|
|
25
25
|
return t;
|
|
26
26
|
}
|
|
27
|
-
return (t, e) => (
|
|
27
|
+
return (t, e) => (m(), u("div", h, [
|
|
28
28
|
p(_, {
|
|
29
29
|
format: "html",
|
|
30
30
|
modelValue: o.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, ref as m, watch as p,
|
|
1
|
+
import { defineComponent as c, ref as m, watch as p, openBlock as d, createElementBlock as f, withDirectives as v, createElementVNode as g, withModifiers as x, vModelText as _ } from "vue";
|
|
2
2
|
import { getString as V } from "../../util.js";
|
|
3
3
|
const h = { class: "form-string" }, B = /* @__PURE__ */ c({
|
|
4
4
|
__name: "index",
|
|
@@ -36,7 +36,7 @@ const h = { class: "form-string" }, B = /* @__PURE__ */ c({
|
|
|
36
36
|
function n(e) {
|
|
37
37
|
return e ? (e = V(e), r("value", e, JSON.stringify(e)), e) : (r("value", void 0, JSON.stringify("")), "");
|
|
38
38
|
}
|
|
39
|
-
return (e, o) => (
|
|
39
|
+
return (e, o) => (d(), f("div", h, [
|
|
40
40
|
v(g("textarea", {
|
|
41
41
|
class: "form-string-text",
|
|
42
42
|
rows: "3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, ref as n, watch as s,
|
|
1
|
+
import { defineComponent as p, ref as n, watch as s, openBlock as r, createElementBlock as c, createVNode as m } from "vue";
|
|
2
2
|
import l from "./code.vue.js";
|
|
3
3
|
import { getHmtl as u } from "./code.js";
|
|
4
4
|
const i = { class: "set-code" }, y = /* @__PURE__ */ p({
|
|
@@ -49,7 +49,7 @@ const i = { class: "set-code" }, y = /* @__PURE__ */ p({
|
|
|
49
49
|
e.exposeText
|
|
50
50
|
);
|
|
51
51
|
}
|
|
52
|
-
return (f, x) => (
|
|
52
|
+
return (f, x) => (r(), c("div", i, [
|
|
53
53
|
m(l, {
|
|
54
54
|
name: e.name,
|
|
55
55
|
html: t.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h,
|
|
1
|
+
import { defineComponent as h, openBlock as r, createElementBlock as a, Fragment as o, renderList as c, createElementVNode as s, toDisplayString as i, createCommentVNode as b } from "vue";
|
|
2
2
|
const g = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "set-emit"
|
|
@@ -27,15 +27,15 @@ const g = {
|
|
|
27
27
|
let l = e.name;
|
|
28
28
|
return n.value && n.value[l]?._date_ || "";
|
|
29
29
|
}
|
|
30
|
-
return (e, l) => n.list && n.list.length > 0 ? (
|
|
31
|
-
(
|
|
30
|
+
return (e, l) => n.list && n.list.length > 0 ? (r(), a("div", g, [
|
|
31
|
+
(r(!0), a(o, null, c(n.list, (t, f) => (r(), a("div", {
|
|
32
32
|
class: "set-emit-li",
|
|
33
33
|
key: f
|
|
34
34
|
}, [
|
|
35
35
|
s("div", y, i(p(t)), 1),
|
|
36
36
|
s("div", N, [
|
|
37
37
|
s("span", null, "事件返回数据:" + i(_(t)), 1),
|
|
38
|
-
(
|
|
38
|
+
(r(!0), a(o, null, c(d(t), (v, u) => (r(), a("div", { key: u }, [
|
|
39
39
|
s("span", null, i(t.selectable.split(",")[u]), 1),
|
|
40
40
|
s("span", null, "参数" + i(u + 1) + ":", 1),
|
|
41
41
|
s("span", null, i(JSON.stringify(v)), 1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, computed as k, ref as m,
|
|
1
|
+
import { defineComponent as x, computed as k, ref as m, openBlock as l, createElementBlock as a, createTextVNode as V, createVNode as p, createElementVNode as r, withModifiers as b, Fragment as N, renderList as R, createCommentVNode as y } from "vue";
|
|
2
2
|
import $ from "./retrie/select/index.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import B from "./retrie/expose/index.vue.js";
|
|
@@ -34,19 +34,19 @@ const E = {
|
|
|
34
34
|
function h(e, t, o, i) {
|
|
35
35
|
u[e] = { params: t, type: o, name: e, text: i }, v("change", u);
|
|
36
36
|
}
|
|
37
|
-
return (e, t) => n.list && n.list.length > 0 ? (
|
|
38
|
-
t[1] || (t[1] =
|
|
37
|
+
return (e, t) => n.list && n.list.length > 0 ? (l(), a("div", E, [
|
|
38
|
+
t[1] || (t[1] = V(" 请先选择要执行的方法 ", -1)),
|
|
39
39
|
p($, {
|
|
40
40
|
onChange: _,
|
|
41
41
|
list: g.value
|
|
42
42
|
}, null, 8, ["list"]),
|
|
43
43
|
r("div", {
|
|
44
44
|
class: "but-div com-retrie-but",
|
|
45
|
-
onClick:
|
|
45
|
+
onClick: b(C, ["stop"])
|
|
46
46
|
}, [...t[0] || (t[0] = [
|
|
47
47
|
r("span", null, "添加", -1)
|
|
48
48
|
])]),
|
|
49
|
-
(
|
|
49
|
+
(l(!0), a(N, null, R(s.value, (o, i) => (l(), a("div", F, [
|
|
50
50
|
r("span", {
|
|
51
51
|
class: "set-expose-delete",
|
|
52
52
|
onClick: (j) => s.value.splice(i, 1)
|
|
@@ -58,7 +58,7 @@ const E = {
|
|
|
58
58
|
onChange: h
|
|
59
59
|
}, null, 8, ["name", "value", "getRef"])
|
|
60
60
|
]))), 256))
|
|
61
|
-
])) :
|
|
61
|
+
])) : y("", !0);
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, ref as l, watch as j,
|
|
1
|
+
import { defineComponent as T, ref as l, watch as j, openBlock as k, createElementBlock as x, createVNode as B } from "vue";
|
|
2
2
|
import E from "./retrie/index.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { getDefaultValue as S, getSpecType as w } from "./code.js";
|
|
@@ -54,7 +54,7 @@ const A = { class: "set-props" }, Q = /* @__PURE__ */ T({
|
|
|
54
54
|
{
|
|
55
55
|
immediate: !0
|
|
56
56
|
}
|
|
57
|
-
), (s, t) => (
|
|
57
|
+
), (s, t) => (k(), x("div", A, [
|
|
58
58
|
B(E, {
|
|
59
59
|
refresh: p.value,
|
|
60
60
|
modelValue: a.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, ref as _,
|
|
1
|
+
import { defineComponent as g, ref as _, openBlock as l, createElementBlock as a, createElementVNode as i, Fragment as v, renderList as h, toDisplayString as C, normalizeClass as y, createVNode as k, createCommentVNode as E } from "vue";
|
|
2
2
|
import N from "./retrie/slot/index.vue.js";
|
|
3
3
|
const V = {
|
|
4
4
|
key: 0,
|
|
@@ -19,14 +19,14 @@ const V = {
|
|
|
19
19
|
let n = t.name || "default";
|
|
20
20
|
p("change", n, e[0]);
|
|
21
21
|
}
|
|
22
|
-
return (e, t) => r.list && r.list.length > 0 ? (
|
|
22
|
+
return (e, t) => r.list && r.list.length > 0 ? (l(), a("div", V, [
|
|
23
23
|
t[0] || (t[0] = i("div", null, "当前作用域参数使用 scope ,使用 template 来渲染", -1)),
|
|
24
|
-
(
|
|
25
|
-
i("div", null,
|
|
24
|
+
(l(!0), a(v, null, h(r.list, (n, o) => (l(), a("div", { key: o }, [
|
|
25
|
+
i("div", null, C(d(n)), 1),
|
|
26
26
|
i("div", {
|
|
27
|
-
class:
|
|
27
|
+
class: y(["form-item", { error: m.value[o] }])
|
|
28
28
|
}, [
|
|
29
|
-
|
|
29
|
+
k(N, {
|
|
30
30
|
onError: (s) => {
|
|
31
31
|
m.value[o] = s;
|
|
32
32
|
},
|
|
@@ -37,7 +37,7 @@ const V = {
|
|
|
37
37
|
}, null, 8, ["onError", "onChange", "value"])
|
|
38
38
|
], 2)
|
|
39
39
|
]))), 128))
|
|
40
|
-
])) :
|
|
40
|
+
])) : E("", !0);
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
1
|
+
import { defineComponent as e, openBlock as o, createElementBlock as t, createVNode as r, unref as n } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { RouterView as c } from "vue-router";
|
|
4
4
|
const _ = { class: "__document" }, u = /* @__PURE__ */ e({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(m) {
|
|
7
|
-
return (i, p) => (
|
|
7
|
+
return (i, p) => (o(), t("div", _, [
|
|
8
8
|
r(n(c))
|
|
9
9
|
]));
|
|
10
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as t,
|
|
1
|
+
import { defineComponent as t, openBlock as n, createElementBlock as _, createVNode as e, withCtx as c } from "vue";
|
|
2
2
|
import m from "../../components/main/index.vue.js";
|
|
3
3
|
import a from "../../components/choice/index.vue.js";
|
|
4
4
|
const r = { class: "__document-com __document-compon" }, f = /* @__PURE__ */ t({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(l) {
|
|
7
|
-
return (u, i) => (
|
|
7
|
+
return (u, i) => (n(), _("div", r, [
|
|
8
8
|
e(a, null, {
|
|
9
9
|
default: c((o) => [
|
|
10
10
|
e(m, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, ref as c,
|
|
1
|
+
import { defineComponent as g, ref as c, openBlock as l, createElementBlock as d, createElementVNode as e, Fragment as k, renderList as C, normalizeClass as y, createVNode as t, withCtx as u, toDisplayString as a } from "vue";
|
|
2
2
|
import f from "../../components/boxurl/index.vue.js";
|
|
3
3
|
import w from "../../components/compo/props.vue.js";
|
|
4
4
|
import $ from "../../components/header/index.vue.js";
|
|
@@ -31,11 +31,11 @@ const D = { class: "__document-index" }, O = { class: "index-aside" }, P = { cla
|
|
|
31
31
|
v.value = o.raw;
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
return p(), (s, o) => (
|
|
34
|
+
return p(), (s, o) => (l(), d("div", D, [
|
|
35
35
|
e("div", O, [
|
|
36
36
|
e("div", P, [
|
|
37
37
|
e("div", R, [
|
|
38
|
-
(
|
|
38
|
+
(l(!0), d(k, null, C(m.value, (i, U) => (l(), d("div", {
|
|
39
39
|
class: y(["aside-li", {
|
|
40
40
|
on: i.key == n.value?.key
|
|
41
41
|
}]),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as t,
|
|
1
|
+
import { defineComponent as t, openBlock as n, createElementBlock as _, createVNode as e, withCtx as m } from "vue";
|
|
2
2
|
import a from "../../components/compo/info.vue.js";
|
|
3
3
|
import l from "../../components/compo/index.vue.js";
|
|
4
4
|
import c from "../../components/choice/index.vue.js";
|
|
5
5
|
const r = { class: "__document-com __document-compon" }, x = /* @__PURE__ */ t({
|
|
6
6
|
__name: "index",
|
|
7
7
|
setup(u) {
|
|
8
|
-
return (i, s) => (
|
|
8
|
+
return (i, s) => (n(), _("div", r, [
|
|
9
9
|
e(c, null, {
|
|
10
10
|
default: m((o) => [
|
|
11
11
|
e(a, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o,
|
|
1
|
+
import { defineComponent as o, openBlock as _, createElementBlock as n, createVNode as e, withCtx as m } from "vue";
|
|
2
2
|
import a from "../../components/compo/info.vue.js";
|
|
3
3
|
import l from "../../components/compo/code.vue.js";
|
|
4
4
|
/* empty css */
|
|
@@ -6,7 +6,7 @@ import r from "../../components/choice/index.vue.js";
|
|
|
6
6
|
const c = { class: "__document-com __document-edit" }, h = /* @__PURE__ */ o({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(i) {
|
|
9
|
-
return (u, s) => (
|
|
9
|
+
return (u, s) => (_(), n("div", c, [
|
|
10
10
|
e(r, null, {
|
|
11
11
|
default: m((t) => [
|
|
12
12
|
e(a, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r, ref as _, watch as l, onMounted as u,
|
|
1
|
+
import { defineComponent as r, ref as _, watch as l, onMounted as u, openBlock as i, createElementBlock as d, createElementVNode as e, createVNode as a, withDirectives as m, createBlock as v, unref as f } from "vue";
|
|
2
2
|
import h from "../../directives/adjust/index.js";
|
|
3
3
|
import p from "../../components/aside/index.vue.js";
|
|
4
4
|
import x from "../../components/header/index.vue.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, ref as n,
|
|
1
|
+
import { defineComponent as v, ref as n, openBlock as f, createElementBlock as g, createVNode as i, withCtx as h, createElementVNode as e, toDisplayString as l } from "vue";
|
|
2
2
|
import k from "../../components/compo/info.vue.js";
|
|
3
3
|
import y from "../../components/choice/index.vue.js";
|
|
4
4
|
import x from "../../components/test/index.vue.js";
|
|
@@ -25,7 +25,7 @@ const w = { class: "__document-com __document-single" }, B = { class: "single-to
|
|
|
25
25
|
t.key
|
|
26
26
|
)[0];
|
|
27
27
|
}
|
|
28
|
-
return (t, o) => (
|
|
28
|
+
return (t, o) => (f(), g("div", w, [
|
|
29
29
|
i(y, {
|
|
30
30
|
"get-name": _,
|
|
31
31
|
"get-key": u,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, ref as i,
|
|
1
|
+
import { defineComponent as g, ref as i, openBlock as s, createElementBlock as a, createVNode as r, withCtx as y, createElementVNode as _, Fragment as v, renderList as f, normalizeClass as x, toDisplayString as $ } from "vue";
|
|
2
2
|
import N from "../../components/compo/info.vue.js";
|
|
3
3
|
import b from "../../components/choice/index.vue.js";
|
|
4
4
|
import B from "../../components/test/index.vue.js";
|
|
@@ -37,25 +37,25 @@ const L = { class: "__document-com __document-tests" }, S = { class: "tests-top"
|
|
|
37
37
|
} else
|
|
38
38
|
n.value = [...o.value];
|
|
39
39
|
}
|
|
40
|
-
return (t, l) => (
|
|
40
|
+
return (t, l) => (s(), a("div", L, [
|
|
41
41
|
r(b, { onChange: k }, {
|
|
42
42
|
default: y(() => [
|
|
43
43
|
r(N, { value: d.value }, null, 8, ["value"]),
|
|
44
44
|
_("div", S, [
|
|
45
|
-
(
|
|
45
|
+
(s(), a(v, null, f(p, (e, c) => _("span", {
|
|
46
46
|
class: x(["but-div", { on: m.value == e.id }]),
|
|
47
47
|
key: c,
|
|
48
48
|
onClick: (F) => C(e)
|
|
49
49
|
}, $(e.name), 11, V)), 64))
|
|
50
50
|
]),
|
|
51
|
-
n.value && n.value.length > 0 ? (
|
|
52
|
-
(
|
|
51
|
+
n.value && n.value.length > 0 ? (s(), a("div", j, [
|
|
52
|
+
(s(!0), a(v, null, f(n.value, (e) => (s(), a("div", w, [
|
|
53
53
|
r(B, {
|
|
54
54
|
onState: h,
|
|
55
55
|
value: e
|
|
56
56
|
}, null, 8, ["value"])
|
|
57
57
|
]))), 256))
|
|
58
|
-
])) : (
|
|
58
|
+
])) : (s(), a("div", z, "没有查询到示例"))
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
61
|
})
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/vue-archive",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.12",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "vue 组件注释生成文档",
|
|
7
7
|
"author": "fangzhongya ",
|
|
@@ -24,37 +24,37 @@
|
|
|
24
24
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
25
25
|
"@codemirror/lang-json": "^6.0.2",
|
|
26
26
|
"@codemirror/state": "^6.5.4",
|
|
27
|
-
"@codemirror/view": "^6.39.
|
|
27
|
+
"@codemirror/view": "^6.39.12",
|
|
28
28
|
"@fangzhongya/create": "0.2.50",
|
|
29
|
-
"@fangzhongya/utils": "0.0.
|
|
29
|
+
"@fangzhongya/utils": "0.0.78",
|
|
30
30
|
"@fangzhongya/vue-components": "0.1.29",
|
|
31
31
|
"@highlightjs/vue-plugin": "^2.1.0",
|
|
32
|
-
"@types/node": "^25.0
|
|
33
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
32
|
+
"@types/node": "^25.2.0",
|
|
33
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
34
34
|
"@vue/compiler-dom": "3.5.27",
|
|
35
35
|
"@vue/compiler-sfc": "3.5.27",
|
|
36
36
|
"@vue/runtime-dom": "3.5.27",
|
|
37
37
|
"@vue/server-renderer": "3.5.27",
|
|
38
38
|
"codemirror": "^6.0.2",
|
|
39
39
|
"fast-glob": "^3.3.3",
|
|
40
|
-
"sass": "^1.97.
|
|
40
|
+
"sass": "^1.97.3",
|
|
41
41
|
"ts-node": "^10.9.2",
|
|
42
42
|
"tsup": "^8.5.1",
|
|
43
43
|
"typescript": "^5.9.3",
|
|
44
44
|
"unplugin-vue-components": "^31.0.0",
|
|
45
45
|
"vite": "^7.3.1",
|
|
46
46
|
"vite-plugin-dts": "4.5.4",
|
|
47
|
-
"vitest": "^4.0.
|
|
48
|
-
"vue-tsc": "^3.2.
|
|
47
|
+
"vitest": "^4.0.18",
|
|
48
|
+
"vue-tsc": "^3.2.4"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"comment-parser": "^1.4.
|
|
51
|
+
"comment-parser": "^1.4.5",
|
|
52
52
|
"highlight.js": "^11.11.1",
|
|
53
53
|
"markdown-it": "^14.1.0",
|
|
54
54
|
"monaco-editor": "^0.55.1",
|
|
55
|
-
"prettier": "^3.8.
|
|
55
|
+
"prettier": "^3.8.1",
|
|
56
56
|
"vue": "^3.5.27",
|
|
57
|
-
"vue-router": "^
|
|
57
|
+
"vue-router": "^5.0.2"
|
|
58
58
|
},
|
|
59
59
|
"types": "./dist/packages/index.d.ts",
|
|
60
60
|
"main": "./dist/packages/index.cjs",
|