@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.
Files changed (54) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/node/index.cjs +40 -36
  3. package/dist/node/index.js +40 -36
  4. package/dist/packages/components/aside/index.vue.js +4 -4
  5. package/dist/packages/components/boxurl/index.vue.js +5 -5
  6. package/dist/packages/components/choice/choice.vue.js +4 -4
  7. package/dist/packages/components/choice/index.vue.js +1 -1
  8. package/dist/packages/components/code/highlight.vue.js +3 -3
  9. package/dist/packages/components/code/index.vue.js +3 -3
  10. package/dist/packages/components/compo/code.vue.js +2 -2
  11. package/dist/packages/components/compo/ftable.vue.js +6 -6
  12. package/dist/packages/components/compo/index.vue.js +1 -1
  13. package/dist/packages/components/compo/info-top.vue.js +2 -2
  14. package/dist/packages/components/compo/info.vue.js +5 -5
  15. package/dist/packages/components/compo/props.vue.js +1 -1
  16. package/dist/packages/components/header/index.vue.js +2 -2
  17. package/dist/packages/components/main/index.vue.js +3 -3
  18. package/dist/packages/components/md/index.vue.js +7 -7
  19. package/dist/packages/components/test/index.vue.js +4 -4
  20. package/dist/packages/components/use/code.d.ts +18 -25
  21. package/dist/packages/components/use/code.vue.js +4 -4
  22. package/dist/packages/components/use/effect.vue.js +2 -2
  23. package/dist/packages/components/use/retrie/any/index.vue.js +2 -2
  24. package/dist/packages/components/use/retrie/array/index.vue.js +2 -2
  25. package/dist/packages/components/use/retrie/boolean/index.vue.js +2 -2
  26. package/dist/packages/components/use/retrie/choice/index.vue.js +5 -5
  27. package/dist/packages/components/use/retrie/expose/index.vue.js +2 -2
  28. package/dist/packages/components/use/retrie/form/index.vue.js +1 -1
  29. package/dist/packages/components/use/retrie/function/index.vue.js +2 -2
  30. package/dist/packages/components/use/retrie/index.vue.js +1 -1
  31. package/dist/packages/components/use/retrie/input/editor/editor.d.ts +0 -49
  32. package/dist/packages/components/use/retrie/input/editor/editor.vue.js +2 -2
  33. package/dist/packages/components/use/retrie/input/index.vue.js +1 -1
  34. package/dist/packages/components/use/retrie/input/text.vue.js +2 -2
  35. package/dist/packages/components/use/retrie/number/index.vue.js +2 -2
  36. package/dist/packages/components/use/retrie/object/index.vue.js +2 -2
  37. package/dist/packages/components/use/retrie/other/index.vue.js +2 -2
  38. package/dist/packages/components/use/retrie/select/index.vue.js +5 -5
  39. package/dist/packages/components/use/retrie/slot/index.vue.js +2 -2
  40. package/dist/packages/components/use/retrie/string/index.vue.js +2 -2
  41. package/dist/packages/components/use/set-code.vue.js +2 -2
  42. package/dist/packages/components/use/set-emit.vue.js +4 -4
  43. package/dist/packages/components/use/set-expose.vue.js +6 -6
  44. package/dist/packages/components/use/set-props.vue.js +2 -2
  45. package/dist/packages/components/use/set-slot.vue.js +7 -7
  46. package/dist/packages/index/index.vue2.js +2 -2
  47. package/dist/packages/page/compon/index.vue2.js +2 -2
  48. package/dist/packages/page/comprops/index.vue2.js +3 -3
  49. package/dist/packages/page/develop/index.vue2.js +2 -2
  50. package/dist/packages/page/edit/index.vue2.js +2 -2
  51. package/dist/packages/page/index/index.vue2.js +1 -1
  52. package/dist/packages/page/single/index.vue2.js +2 -2
  53. package/dist/packages/page/tests/index.vue2.js +6 -6
  54. package/package.json +11 -11
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, ref as v, onMounted as f, createElementBlock as l, openBlock as i, createElementVNode as s, renderSlot as y, normalizeStyle as g, createCommentVNode as k, toDisplayString as a, Fragment as _, renderList as h } from "vue";
1
+ import { defineComponent as p, ref as v, onMounted as f, openBlock as l, createElementBlock as i, createElementVNode as s, renderSlot as y, normalizeStyle as g, toDisplayString as a, Fragment as k, renderList as _, createCommentVNode as h } from "vue";
2
2
  import { openInEditor as N } from "../../utils/util.js";
3
3
  import { getConfig as C } from "../../config.js";
4
4
  import { getReplaceUrls as w } from "@fangzhongya/utils/urls/getReplaceUrls";
@@ -21,7 +21,7 @@ const E = { class: "box-url-span" }, S = { class: "box-url-box-div" }, B = { cla
21
21
  let t, d;
22
22
  e.x || e.y ? (t = e.x, d = e.y) : (e.pageX || e.pageY) && (t = e.pageX - 1, d = e.pageY - 1), u.value = t + "px", x.value = d + "px";
23
23
  };
24
- }), (n, e) => (i(), l("div", {
24
+ }), (n, e) => (l(), i("div", {
25
25
  ref_key: "boxurl",
26
26
  ref: c,
27
27
  class: "box-url"
@@ -38,12 +38,12 @@ const E = { class: "box-url-span" }, S = { class: "box-url-box-div" }, B = { cla
38
38
  s("div", V, a(o.value?.name), 1),
39
39
  s("div", X, a(o.value?.value), 1)
40
40
  ]),
41
- o.value?.aliasNames && o.value?.aliasNames.length ? (i(), l("div", Y, [
41
+ o.value?.aliasNames && o.value?.aliasNames.length ? (l(), i("div", Y, [
42
42
  e[0] || (e[0] = s("div", { class: "box-div-li-span" }, "别名", -1)),
43
43
  s("div", j, [
44
- (i(!0), l(_, null, h(o.value?.aliasNames, (t) => (i(), l("span", null, a(t), 1))), 256))
44
+ (l(!0), i(k, null, _(o.value?.aliasNames, (t) => (l(), i("span", null, a(t), 1))), 256))
45
45
  ])
46
- ])) : k("", !0),
46
+ ])) : h("", !0),
47
47
  s("div", z, [
48
48
  e[1] || (e[1] = s("div", { class: "box-div-li-span" }, "文件路径", -1)),
49
49
  s("div", D, a(o.value?.key), 1)
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, createElementBlock as s, openBlock as a, Fragment as l, renderList as r, normalizeClass as h, createVNode as v, withCtx as k, createElementVNode as n, toDisplayString as t } from "vue";
1
+ import { defineComponent as p, openBlock as s, createElementBlock as a, Fragment as l, renderList as r, normalizeClass as h, createVNode as v, withCtx as k, createElementVNode as n, toDisplayString as t } from "vue";
2
2
  import f from "../boxurl/index.vue.js";
3
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({
4
4
  __name: "choice",
@@ -16,8 +16,8 @@ const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-nam
16
16
  function m(c) {
17
17
  u("change", c);
18
18
  }
19
- return (c, E) => (a(), s("div", y, [
20
- (a(!0), s(l, null, r(i.value, (e, V) => (a(), s("div", {
19
+ return (c, E) => (s(), a("div", y, [
20
+ (s(!0), a(l, null, r(i.value, (e, V) => (s(), a("div", {
21
21
  class: h(["aside-li", {
22
22
  on: e.key == i.choice?.key
23
23
  }]),
@@ -28,7 +28,7 @@ const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-nam
28
28
  n("div", g, [
29
29
  n("div", x, t(e.name), 1),
30
30
  n("div", N, [
31
- (a(!0), s(l, null, r(e.aliasNames, (o) => (a(), s("span", null, t(o), 1))), 256))
31
+ (s(!0), a(l, null, r(e.aliasNames, (o) => (s(), a("span", null, t(o), 1))), 256))
32
32
  ]),
33
33
  n("div", B, [
34
34
  n("span", null, t(e.key), 1)
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, ref as v, watch as q, createElementBlock as i, openBlock as a, createCommentVNode as p, createElementVNode as f, createBlock as b, toDisplayString as _, normalizeClass as x, renderSlot as B, unref as K } from "vue";
1
+ import { defineComponent as N, ref as v, watch as q, openBlock as a, createElementBlock as i, createBlock as b, createCommentVNode as p, createElementVNode as f, toDisplayString as _, normalizeClass as x, renderSlot as B, unref as K } from "vue";
2
2
  import { humpToLine as g } from "@fangzhongya/utils/name/humpToLine";
3
3
  import $ from "./choice.vue.js";
4
4
  import { getCompoName as D } from "../../utils/glob.js";
@@ -1,14 +1,14 @@
1
1
  import t from "./highlight.vue2.js";
2
- import { resolveComponent as n, createBlock as r, createCommentVNode as c, openBlock as a } from "vue";
2
+ import { resolveComponent as n, openBlock as r, createBlock as c, createCommentVNode as a } from "vue";
3
3
  import s from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  function g(e, i, l, h, p, m) {
5
5
  const o = n("highlightjs");
6
- return e.code ? (a(), r(o, {
6
+ return e.code ? (r(), c(o, {
7
7
  key: 0,
8
8
  class: "highlightjs",
9
9
  language: e.language,
10
10
  code: e.code
11
- }, null, 8, ["language", "code"])) : c("", !0);
11
+ }, null, 8, ["language", "code"])) : a("", !0);
12
12
  }
13
13
  const _ = /* @__PURE__ */ s(t, [["render", g]]);
14
14
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as j, watch as B, ref as s, createElementBlock as d, openBlock as u, createElementVNode as l, withDirectives as $, toDisplayString as f, createVNode as m, withCtx as p, withModifiers as _, normalizeClass as k, Fragment as E, renderList as F, createBlock as L, vShow as N } from "vue";
1
+ import { defineComponent as j, watch as B, ref as s, openBlock as u, createElementBlock as d, createElementVNode as l, toDisplayString as f, createVNode as m, withCtx as p, withModifiers as _, normalizeClass as k, Fragment as $, renderList as E, createBlock as F, withDirectives as L, vShow as N } from "vue";
2
2
  import h from "../boxurl/index.vue.js";
3
3
  import { toSingle as O } from "../../router/index.js";
4
4
  import U from "./highlight.vue.js";
@@ -85,7 +85,7 @@ const H = { class: "code" }, I = { class: "code-top" }, M = { class: "code-top-b
85
85
  ]),
86
86
  _: 1
87
87
  }, 8, ["value"]),
88
- (u(!0), d(E, null, F(c.value, (a, J) => (u(), L(h, { value: a }, {
88
+ (u(!0), d($, null, E(c.value, (a, J) => (u(), F(h, { value: a }, {
89
89
  default: p(() => [
90
90
  l("div", {
91
91
  class: k(["but-div", {
@@ -99,7 +99,7 @@ const H = { class: "code" }, I = { class: "code-top" }, M = { class: "code-top-b
99
99
  ])
100
100
  ])
101
101
  ]),
102
- $(l("div", G, [
102
+ L(l("div", G, [
103
103
  m(U, {
104
104
  language: "html",
105
105
  code: t.value?.raw || e.text
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, createElementBlock as c, openBlock as n, createVNode as r, unref as a } from "vue";
1
+ import { defineComponent as t, openBlock as c, createElementBlock as n, createVNode as r, unref as a } from "vue";
2
2
  import p from "../use/edit.js";
3
3
  const l = { class: "compo-code" }, _ = /* @__PURE__ */ t({
4
4
  __name: "code",
@@ -9,7 +9,7 @@ const l = { class: "compo-code" }, _ = /* @__PURE__ */ t({
9
9
  },
10
10
  setup(e) {
11
11
  const o = e;
12
- return (s, u) => (n(), c("div", l, [
12
+ return (s, u) => (c(), n("div", l, [
13
13
  r(a(p), {
14
14
  value: o.value
15
15
  }, null, 8, ["value"])
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, createElementBlock as e, openBlock as l, createElementVNode as n, Fragment as u, renderList as c, toDisplayString as p } from "vue";
1
+ import { defineComponent as m, openBlock as e, createElementBlock as l, createElementVNode as n, Fragment as u, renderList as c, toDisplayString as p } from "vue";
2
2
  const b = { class: "compo-talbe" }, y = { class: "compo-talbe-body" }, h = { class: "compo-talbe-top" }, v = { class: "compo-talbe-li" }, k = {
3
3
  key: 1,
4
4
  class: "compo-talbe-zw"
@@ -34,17 +34,17 @@ const b = { class: "compo-talbe" }, y = { class: "compo-talbe-body" }, h = { cla
34
34
  if (t.prop)
35
35
  return a[t.prop];
36
36
  }
37
- return (a, t) => (l(), e("div", b, [
37
+ return (a, t) => (e(), l("div", b, [
38
38
  n("table", y, [
39
39
  n("thead", null, [
40
40
  n("tr", h, [
41
- (l(!0), e(u, null, c(r.list, (o, s) => (l(), e("th", null, p(o?.label), 1))), 256))
41
+ (e(!0), l(u, null, c(r.list, (o, s) => (e(), l("th", null, p(o?.label), 1))), 256))
42
42
  ])
43
43
  ]),
44
44
  n("tbody", null, [
45
- r.value && r.value.length > 0 ? (l(!0), e(u, { key: 0 }, c(r.value, (o, s) => (l(), e("tr", v, [
46
- (l(!0), e(u, null, c(r.list, (_, f) => (l(), e("td", null, p(i(o, _, s, f)), 1))), 256))
47
- ]))), 256)) : (l(), e("tr", k, [...t[0] || (t[0] = [
45
+ r.value && r.value.length > 0 ? (e(!0), l(u, { key: 0 }, c(r.value, (o, s) => (e(), l("tr", v, [
46
+ (e(!0), l(u, null, c(r.list, (_, f) => (e(), l("td", null, p(i(o, _, s, f)), 1))), 256))
47
+ ]))), 256)) : (e(), l("tr", k, [...t[0] || (t[0] = [
48
48
  n("td", { colspan: "7" }, "暂无", -1)
49
49
  ])]))
50
50
  ])
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, ref as l, reactive as h, watch as y, createElementBlock as o, openBlock as t, createCommentVNode as m, createVNode as v, createElementVNode as C, Fragment as x, renderList as B, createBlock as N, unref as d } from "vue";
1
+ import { defineComponent as g, ref as l, reactive as h, watch as y, openBlock as t, createElementBlock as o, createElementVNode as C, Fragment as x, renderList as B, createBlock as N, createCommentVNode as m, createVNode as v, unref as d } from "vue";
2
2
  import V from "../use/index.js";
3
3
  import $ from "./props.vue.js";
4
4
  import { getConfig as E } from "../../config.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as l, watch as p, createElementBlock as s, openBlock as u, createVNode as i, unref as f } from "vue";
1
+ import { defineComponent as c, ref as l, watch as p, openBlock as s, createElementBlock as u, createVNode as i, unref as f } from "vue";
2
2
  import m from "./top.js";
3
3
  import { getNotesText as v } from "../../utils/annotat.js";
4
4
  import { getLocalTextComponents as _ } from "../../utils/glob.js";
@@ -22,7 +22,7 @@ const d = { class: "info-top" }, y = /* @__PURE__ */ c({
22
22
  () => {
23
23
  o();
24
24
  }
25
- ), o(), (n, a) => (u(), s("div", d, [
25
+ ), o(), (n, a) => (s(), u("div", d, [
26
26
  i(f(m), { value: t.value }, null, 8, ["value"])
27
27
  ]));
28
28
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, createElementBlock as n, openBlock as a, createVNode as c, withCtx as p, createElementVNode as e, createCommentVNode as r, toDisplayString as t, Fragment as d, renderList as u } from "vue";
1
+ import { defineComponent as m, openBlock as n, createElementBlock as a, createVNode as c, withCtx as p, createElementVNode as e, toDisplayString as t, Fragment as r, renderList as d, createCommentVNode as u } from "vue";
2
2
  import _ from "../boxurl/index.vue.js";
3
3
  const f = { class: "compo-info" }, v = { class: "compo-info-name" }, h = { class: "compo-info-name-span" }, N = {
4
4
  key: 0,
@@ -12,19 +12,19 @@ const f = { class: "compo-info" }, v = { class: "compo-info-name" }, h = { class
12
12
  },
13
13
  setup(i) {
14
14
  const o = i;
15
- return (x, s) => (a(), n("div", f, [
15
+ return (x, s) => (n(), a("div", f, [
16
16
  c(_, {
17
17
  value: o.value
18
18
  }, {
19
19
  default: p(() => [
20
20
  e("div", v, [
21
21
  e("div", h, t(o.value?.name), 1),
22
- o.value?.aliasNames && o.value?.aliasNames.length ? (a(), n("div", N, [
22
+ o.value?.aliasNames && o.value?.aliasNames.length ? (n(), a("div", N, [
23
23
  s[0] || (s[0] = e("span", { class: "compo-info-name-li-span" }, " 别名 ", -1)),
24
24
  e("span", k, [
25
- (a(!0), n(d, null, u(o.value.aliasNames, (l) => (a(), n("span", null, t(l), 1))), 256))
25
+ (n(!0), a(r, null, d(o.value.aliasNames, (l) => (n(), a("span", null, t(l), 1))), 256))
26
26
  ])
27
- ])) : r("", !0),
27
+ ])) : u("", !0),
28
28
  e("div", y, [
29
29
  s[1] || (s[1] = e("span", { class: "compo-info-name-li-span" }, " 文件路径 ", -1)),
30
30
  e("span", g, t(o.value?.key), 1)
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, ref as p, reactive as $, watch as B, createElementBlock as h, openBlock as l, createCommentVNode as i, createElementVNode as o, createBlock as n, unref as u } from "vue";
1
+ import { defineComponent as g, ref as p, reactive as $, watch as B, openBlock as l, createElementBlock as h, createBlock as n, unref as u, createCommentVNode as i, createElementVNode as o } from "vue";
2
2
  import N from "./top.js";
3
3
  import r from "./ftable.vue.js";
4
4
  import { tprops as E, temits as T, texpose as V, tslot as b } from "./index.js";
@@ -1,8 +1,8 @@
1
- import { createElementBlock as e, openBlock as r } from "vue";
1
+ import { openBlock as e, createElementBlock as r } from "vue";
2
2
  import c from "../../../_virtual/_plugin-vue_export-helper.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
- return r(), e("div");
5
+ return e(), r("div");
6
6
  }
7
7
  const m = /* @__PURE__ */ c(o, [["render", t]]);
8
8
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, ref as f, watch as p, createElementBlock as v, openBlock as m, createElementVNode as t, createVNode as a, Fragment as _, renderList as $ } from "vue";
1
+ import { defineComponent as d, ref as f, watch as p, openBlock as v, createElementBlock as m, createElementVNode as t, createVNode as a, Fragment as _, renderList as $ } from "vue";
2
2
  import { useRouter as C } from "vue-router";
3
3
  import { toCompon as b, toTests as k, toDevelop as g, toEdit as x } from "../../router/index.js";
4
4
  import E from "../compo/index.vue.js";
@@ -26,7 +26,7 @@ const j = { class: "main" }, w = { class: "main-top" }, D = { class: "main-compo
26
26
  function n(s) {
27
27
  s == 1 ? b(l, o.value) : s == 2 ? k(l, o.value) : s == 3 ? g(l, o.value) : s == 4 && x(l, o.value);
28
28
  }
29
- return (s, e) => (m(), v("div", j, [
29
+ return (s, e) => (v(), m("div", j, [
30
30
  t("div", w, [
31
31
  a(N, { value: u.value }, null, 8, ["value"])
32
32
  ]),
@@ -51,7 +51,7 @@ const j = { class: "main" }, w = { class: "main-top" }, D = { class: "main-compo
51
51
  onClick: e[3] || (e[3] = (i) => n(4))
52
52
  }, "编辑")
53
53
  ]),
54
- (m(!0), v(_, null, $(r.value, (i) => (m(), v("div", L, [
54
+ (v(!0), m(_, null, $(r.value, (i) => (v(), m("div", L, [
55
55
  a(T, { value: i }, null, 8, ["value"])
56
56
  ]))), 256)),
57
57
  t("div", O, [
@@ -1,4 +1,4 @@
1
- import { defineComponent as s, ref as d, watch as h, createElementBlock as r, openBlock as i, createCommentVNode as v, Fragment as _, createVNode as f, createElementVNode as l, withCtx as p, toDisplayString as g } from "vue";
1
+ import { defineComponent as s, ref as d, watch as h, openBlock as r, createElementBlock as i, Fragment as v, createVNode as _, withCtx as f, createElementVNode as l, toDisplayString as p, createCommentVNode as g } from "vue";
2
2
  import x from "../boxurl/index.vue.js";
3
3
  import u from "../../../_virtual/common.js";
4
4
  import k from "markdown-it";
@@ -36,18 +36,18 @@ const y = { class: "md" }, L = { class: "md-top-name" }, T = ["innerHTML"], D =
36
36
  t.value = "";
37
37
  });
38
38
  }
39
- return n(), (a, o) => (i(), r("div", y, [
40
- t.value ? (i(), r(_, { key: 0 }, [
41
- f(x, {
39
+ return n(), (a, o) => (r(), i("div", y, [
40
+ t.value ? (r(), i(v, { key: 0 }, [
41
+ _(x, {
42
42
  value: e.value
43
43
  }, {
44
- default: p(() => [
45
- l("div", L, g(e.value?.value) + " 说明文档", 1)
44
+ default: f(() => [
45
+ l("div", L, p(e.value?.value) + " 说明文档", 1)
46
46
  ]),
47
47
  _: 1
48
48
  }, 8, ["value"]),
49
49
  l("div", { innerHTML: t.value }, null, 8, T)
50
- ], 64)) : v("", !0)
50
+ ], 64)) : g("", !0)
51
51
  ]));
52
52
  }
53
53
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as k, ref as u, watch as g, defineAsyncComponent as C, createElementBlock as p, openBlock as i, normalizeClass as N, createVNode as a, createElementVNode as o, withCtx as r, toDisplayString as B, unref as f, createCommentVNode as T, createBlock as V, Suspense as b, createTextVNode as w } from "vue";
1
+ import { defineComponent as k, ref as u, watch as g, defineAsyncComponent as C, openBlock as i, createElementBlock as p, normalizeClass as N, createVNode as a, withCtx as r, createElementVNode as o, toDisplayString as B, unref as f, createBlock as T, Suspense as V, createTextVNode as b, createCommentVNode as w } from "vue";
2
2
  import A from "../boxurl/index.vue.js";
3
3
  import D from "./top.js";
4
4
  import E from "../code/index.vue.js";
@@ -50,9 +50,9 @@ const j = { class: "md-top-name" }, z = { class: "test-top" }, L = { class: "tes
50
50
  ]),
51
51
  o("div", L, [
52
52
  o("div", O, [
53
- (i(), V(b, null, {
53
+ (i(), T(V, null, {
54
54
  fallback: r(() => [...t[0] || (t[0] = [
55
- w(" 示例加载中... ", -1)
55
+ b(" 示例加载中... ", -1)
56
56
  ])]),
57
57
  default: r(() => [
58
58
  a(f(v))
@@ -65,7 +65,7 @@ const j = { class: "md-top-name" }, z = { class: "test-top" }, L = { class: "tes
65
65
  value: e.value,
66
66
  text: s.value
67
67
  }, null, 8, ["value", "text"])
68
- ])) : T("", !0)
68
+ ])) : w("", !0)
69
69
  ])
70
70
  ], 2));
71
71
  }
@@ -1,25 +1,18 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
3
- name: {
4
- type: StringConstructor;
5
- };
6
- html: {
7
- type: StringConstructor;
8
- default(): string;
9
- };
10
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- refresh: (...args: any[]) => void;
12
- }, string, PublicProps, Readonly< ExtractPropTypes<{
13
- name: {
14
- type: StringConstructor;
15
- };
16
- html: {
17
- type: StringConstructor;
18
- default(): string;
19
- };
20
- }>> & Readonly<{
21
- onRefresh?: ((...args: any[]) => any) | undefined;
22
- }>, {
23
- html: string;
24
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
25
- export default _default;
1
+ import { ObjStr, ObjUnk } from '../../config';
2
+ import { SpecObjs, Spec } from '../../utils/index';
3
+ import { DataType } from './util';
4
+ export declare function getHmtl(propsname: string, param: {
5
+ [key: string]: SpecObjs[];
6
+ }, value: ObjUnk, slotValue?: ObjStr, propsText?: ObjStr, exposeText?: ObjUnk): Promise<string>;
7
+ export declare function setValStringify(v: unknown, key: string, propsText?: ObjStr): string | Promise<string>;
8
+ type SelectsObj = {
9
+ label: string;
10
+ prop: unknown;
11
+ };
12
+ export declare function getSpecType(val: Spec): {
13
+ arr: SelectsObj[];
14
+ type: string;
15
+ dataType: DataType[];
16
+ };
17
+ export declare function getDefaultValue(obj: Spec, is?: boolean): any;
18
+ export {};
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, ref as p, createElementBlock as v, openBlock as f, createElementVNode as e, withDirectives as h, toDisplayString as C, withModifiers as i, createVNode as _, vShow as b } from "vue";
1
+ import { defineComponent as m, ref as p, openBlock as v, createElementBlock as f, createElementVNode as e, toDisplayString as h, withModifiers as i, withDirectives as C, createVNode as _, vShow as b } from "vue";
2
2
  import k from "../code/highlight.vue.js";
3
3
  import { copyCode as g } from "../../utils/index.js";
4
4
  import { exportStringToFile as S } from "../../utils/util.js";
@@ -30,13 +30,13 @@ const y = { class: "set-code" }, w = { class: "but-div set-code-but" }, x = { cl
30
30
  function a() {
31
31
  l("refresh");
32
32
  }
33
- return (D, s) => (f(), v("div", y, [
33
+ return (D, s) => (v(), f("div", y, [
34
34
  e("div", {
35
35
  onClick: r,
36
36
  class: "set-code-buts"
37
37
  }, [
38
38
  s[0] || (s[0] = e("div", null, "代码", -1)),
39
- e("div", w, C(o.value ? "显示" : "隐藏"), 1),
39
+ e("div", w, h(o.value ? "显示" : "隐藏"), 1),
40
40
  e("div", {
41
41
  onClick: i(d, ["stop"]),
42
42
  class: "but-div set-code-but"
@@ -50,7 +50,7 @@ const y = { class: "set-code" }, w = { class: "but-div set-code-but" }, x = { cl
50
50
  class: "but-div set-code-but"
51
51
  }, " 刷新 ")
52
52
  ]),
53
- h(e("div", x, [
53
+ C(e("div", x, [
54
54
  _(k, {
55
55
  language: "html",
56
56
  code: t.html
@@ -1,8 +1,8 @@
1
- import { createElementBlock as t, openBlock as o, renderSlot as c } from "vue";
1
+ import { openBlock as t, createElementBlock as o, renderSlot as c } from "vue";
2
2
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
3
3
  const s = {}, f = { class: "use-effect" };
4
4
  function n(e, _) {
5
- return o(), t("div", f, [
5
+ return t(), o("div", f, [
6
6
  c(e.$slots, "default")
7
7
  ]);
8
8
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, ref as p, watch as _, createElementBlock as v, openBlock as h, createElementVNode as j, createVNode as u } from "vue";
1
+ import { defineComponent as V, ref as p, watch as _, openBlock as v, createElementBlock as h, createElementVNode as j, createVNode as u } from "vue";
2
2
  import { getDataTypeType as T, isDefaultType as C } from "../../util.js";
3
3
  import x from "../form/index.vue.js";
4
4
  import O from "../select/index.vue.js";
@@ -92,7 +92,7 @@ const k = { class: "form-any" }, N = /* @__PURE__ */ V({
92
92
  function y(...e) {
93
93
  d("change", ...e);
94
94
  }
95
- return (e, l) => (h(), v("div", k, [
95
+ return (e, l) => (v(), h("div", k, [
96
96
  j("div", null, [
97
97
  u(O, {
98
98
  noValue: "",
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as s, watch as f, createElementBlock as p, openBlock as d, createVNode as v } from "vue";
1
+ import { defineComponent as c, ref as s, watch as f, openBlock as p, createElementBlock as d, createVNode as v } from "vue";
2
2
  import y from "../input/index.vue.js";
3
3
  /* empty css */
4
4
  import { prettierArrFormat as _ } from "../../util.js";
@@ -40,7 +40,7 @@ const V = { class: "form-array" }, A = /* @__PURE__ */ c({
40
40
  ]`, t("value", void 0, r), t("error", !1);
41
41
  return r;
42
42
  }
43
- return (e, r) => (d(), p("div", V, [
43
+ return (e, r) => (p(), d("div", V, [
44
44
  v(y, {
45
45
  format: "json",
46
46
  modelValue: n.value,
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as p, watch as m, createElementBlock as v, openBlock as b, createElementVNode as t, withModifiers as i } from "vue";
1
+ import { defineComponent as c, ref as p, watch as m, openBlock as v, createElementBlock as b, createElementVNode as t, withModifiers as i } from "vue";
2
2
  const k = { class: "form-boolean" }, y = ["disabled", "checked"], h = ["disabled", "checked"], V = /* @__PURE__ */ c({
3
3
  __name: "index",
4
4
  props: {
@@ -35,7 +35,7 @@ const k = { class: "form-boolean" }, y = ["disabled", "checked"], h = ["disabled
35
35
  function n(e) {
36
36
  o.value = d(e) || !1, u("value", o.value, JSON.stringify(o.value));
37
37
  }
38
- return (e, l) => (b(), v("div", k, [
38
+ return (e, l) => (v(), b("div", k, [
39
39
  t("div", {
40
40
  class: "form-boolean-div",
41
41
  onClick: l[0] || (l[0] = i((f) => n(!0), ["stop"]))
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, ref as c, computed as _, watch as L, createElementBlock as i, openBlock as r, createElementVNode as p, withModifiers as s, withDirectives as z, Fragment as E, renderList as F, normalizeClass as I, toDisplayString as O, vShow as $ } from "vue";
1
+ import { defineComponent as D, ref as c, computed as _, watch as L, openBlock as i, createElementBlock as r, createElementVNode as p, withModifiers as s, withDirectives as z, Fragment as E, renderList as F, normalizeClass as I, toDisplayString as O, vShow as $ } from "vue";
2
2
  import "@fangzhongya/utils/basic/object/mergeObject";
3
3
  import { toggleArray as J } from "@fangzhongya/utils/basic/array/toggleArray";
4
4
  import "@fangzhongya/utils/name/humpToLine";
@@ -102,7 +102,7 @@ const G = { class: "form-select" }, H = ["value", "disabled"], K = { class: "for
102
102
  );
103
103
  V("value", e, JSON.stringify(e));
104
104
  }
105
- return (e, t) => (r(), i("div", G, [
105
+ return (e, t) => (i(), r("div", G, [
106
106
  p("input", {
107
107
  value: w.value,
108
108
  readonly: "",
@@ -120,8 +120,8 @@ const G = { class: "form-select" }, H = ["value", "disabled"], K = { class: "for
120
120
  class: "form-select-box"
121
121
  }, [
122
122
  z(p("div", K, [
123
- o.list && o.list.length > 0 ? (r(), i("div", Q, [
124
- (r(!0), i(E, null, F(o.list, (n, a) => (r(), i("div", {
123
+ o.list && o.list.length > 0 ? (i(), r("div", Q, [
124
+ (i(!0), r(E, null, F(o.list, (n, a) => (i(), r("div", {
125
125
  class: I(["form-select-list-li", {
126
126
  active: A(n)
127
127
  }]),
@@ -129,7 +129,7 @@ const G = { class: "form-select" }, H = ["value", "disabled"], K = { class: "for
129
129
  }, [
130
130
  p("span", null, O(g(n)), 1)
131
131
  ], 10, R))), 256))
132
- ])) : (r(), i("div", U, "暂无数据"))
132
+ ])) : (i(), r("div", U, "暂无数据"))
133
133
  ], 512), [
134
134
  [$, m.value]
135
135
  ])
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, ref as i, computed as h, createElementBlock as x, openBlock as b, createElementVNode as p, createVNode as N, toDisplayString as c } from "vue";
1
+ import { defineComponent as y, ref as i, computed as h, openBlock as x, createElementBlock as b, createElementVNode as p, toDisplayString as c, createVNode as N } from "vue";
2
2
  import { parseParamString as S } from "../../../../utils/annotat.js";
3
3
  import E from "../index.vue.js";
4
4
  /* empty css */
@@ -46,7 +46,7 @@ const O = { class: "expose" }, R = { class: "expose-label" }, j = { class: "expo
46
46
  } else
47
47
  console.log("请选择方法");
48
48
  }
49
- return (t, l) => (b(), x("div", O, [
49
+ return (t, l) => (x(), b("div", O, [
50
50
  p("div", R, c(m.value || "请选择方法"), 1),
51
51
  N(E, {
52
52
  list: _.value,
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, ref as g, createElementBlock as u, openBlock as i, normalizeClass as y, createBlock as n } from "vue";
1
+ import { defineComponent as r, ref as g, openBlock as i, createElementBlock as u, normalizeClass as y, createBlock as n } from "vue";
2
2
  import b from "../function/index.vue.js";
3
3
  import V from "../object/index.vue.js";
4
4
  import T from "../array/index.vue.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, computed as f, ref as s, watch as d, createElementBlock as v, openBlock as _, createVNode as y } from "vue";
1
+ import { defineComponent as p, computed as f, ref as s, watch as d, openBlock as v, createElementBlock as _, createVNode as y } from "vue";
2
2
  import V from "../input/index.vue.js";
3
3
  /* empty css */
4
4
  import { prettierFunFormat as g } from "../../util.js";
@@ -53,7 +53,7 @@ const h = { class: "form-function" }, B = /* @__PURE__ */ p({
53
53
  }`, t("value", void 0, c() + r), t("error", !1);
54
54
  return r;
55
55
  }
56
- return (e, r) => (_(), v("div", h, [
56
+ return (e, r) => (v(), _("div", h, [
57
57
  y(V, {
58
58
  format: "js",
59
59
  modelValue: l.value,
@@ -1,4 +1,4 @@
1
- import { defineComponent as k, ref as m, watch as V, nextTick as g, createElementBlock as r, openBlock as l, createElementVNode as d, withModifiers as b, toDisplayString as f, Fragment as h, renderList as x, createCommentVNode as C, createBlock as p } from "vue";
1
+ import { defineComponent as k, ref as m, watch as V, nextTick as g, openBlock as l, createElementBlock as r, createElementVNode as d, withModifiers as b, toDisplayString as f, Fragment as h, renderList as x, createCommentVNode as C, createBlock as p } from "vue";
2
2
  import N from "./any/index.vue.js";
3
3
  import q from "./form/index.vue.js";
4
4
  const B = { class: "com-retrie" }, S = {
@@ -3,52 +3,3 @@ export declare function getJs(parent: HTMLElement, value: string, options?: stri
3
3
  export declare function getHtml(parent: HTMLElement, value: string, options?: string[]): monaco.editor.IStandaloneCodeEditor;
4
4
  export declare function getJson(parent: HTMLElement, value: string, options?: string[]): monaco.editor.IStandaloneCodeEditor;
5
5
  export declare function getCss(parent: HTMLElement, value: string, options?: string[]): monaco.editor.IStandaloneCodeEditor;
6
- ...items: string[]): string[];
7
- isArray(arg: any): arg is any[];
8
- readonly prototype: any[];
9
- from<T>(arrayLike: ArrayLike<T>): T[];
10
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
11
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
12
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
13
- of<T>(...items: T[]): T[];
14
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
15
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
16
- readonly [Symbol.species]: ArrayConstructor;
17
- };
18
- };
19
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
- "update:modelValue": (...args: any[]) => void;
21
- }, string, PublicProps, Readonly< ExtractPropTypes<{
22
- modelValue: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- format: {
27
- type: StringConstructor;
28
- };
29
- options: {
30
- type: {
31
- (arrayLength: number): string[];
32
- (...items: string[]): string[];
33
- new (arrayLength: number): string[];
34
- new (...items: string[]): string[];
35
- isArray(arg: any): arg is any[];
36
- readonly prototype: any[];
37
- from<T>(arrayLike: ArrayLike<T>): T[];
38
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
39
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
40
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
41
- of<T>(...items: T[]): T[];
42
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
43
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
44
- readonly [Symbol.species]: ArrayConstructor;
45
- };
46
- };
47
- }>> & Readonly<{
48
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
49
- }>, {
50
- modelValue: string;
51
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
52
- refText: HTMLDivElement;
53
- }, HTMLDivElement>;
54
- export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, ref as f, shallowRef as c, watch as d, onMounted as v, withDirectives as p, createElementBlock as V, openBlock as _, createElementVNode as g, unref as h } from "vue";
1
+ import { defineComponent as m, ref as f, shallowRef as c, watch as d, onMounted as v, withDirectives as p, openBlock as V, createElementBlock as _, createElementVNode as g, unref as h } from "vue";
2
2
  import x from "../../../../../directives/adjust/index.js";
3
3
  import { getJs as y, getCss as B, getHtml as j, getJson as k } from "./editor.js";
4
4
  const w = { class: "editor-div" }, C = /* @__PURE__ */ m({
@@ -41,7 +41,7 @@ const w = { class: "editor-div" }, C = /* @__PURE__ */ m({
41
41
  i(a);
42
42
  }
43
43
  });
44
- }), (t, a) => p((_(), V("div", w, [
44
+ }), (t, a) => p((V(), _("div", w, [
45
45
  g("div", {
46
46
  class: "editor-code",
47
47
  ref_key: "refText",
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, ref as s, computed as f, createElementBlock as c, openBlock as l, createBlock as r } from "vue";
1
+ import { defineComponent as d, ref as s, computed as f, openBlock as l, createElementBlock as c, createBlock as r } from "vue";
2
2
  import V from "./text.vue.js";
3
3
  /* empty css */
4
4
  import y from "./editor/editor.vue.js";