@fangzhongya/vue-archive 0.1.10 → 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 (60) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/node/index.cjs +63 -36
  3. package/dist/node/index.js +63 -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/highlight.vue2.cjs +1 -1
  10. package/dist/packages/components/code/highlight.vue2.js +1 -1
  11. package/dist/packages/components/code/index.vue.js +3 -3
  12. package/dist/packages/components/compo/code.vue.js +2 -2
  13. package/dist/packages/components/compo/ftable.vue.js +6 -6
  14. package/dist/packages/components/compo/index.vue.js +1 -1
  15. package/dist/packages/components/compo/info-top.vue.js +2 -2
  16. package/dist/packages/components/compo/info.vue.js +5 -5
  17. package/dist/packages/components/compo/props.vue.js +1 -1
  18. package/dist/packages/components/header/index.vue.js +2 -2
  19. package/dist/packages/components/main/index.vue.js +3 -3
  20. package/dist/packages/components/md/index.vue.js +7 -7
  21. package/dist/packages/components/test/index.vue.js +4 -4
  22. package/dist/packages/components/use/code.d.ts +18 -25
  23. package/dist/packages/components/use/code.vue.js +4 -4
  24. package/dist/packages/components/use/effect.vue.js +2 -2
  25. package/dist/packages/components/use/retrie/any/index.vue.js +2 -2
  26. package/dist/packages/components/use/retrie/array/index.vue.js +2 -2
  27. package/dist/packages/components/use/retrie/boolean/index.vue.js +2 -2
  28. package/dist/packages/components/use/retrie/choice/index.vue.js +5 -5
  29. package/dist/packages/components/use/retrie/expose/index.vue.js +2 -2
  30. package/dist/packages/components/use/retrie/form/index.vue.js +1 -1
  31. package/dist/packages/components/use/retrie/function/index.vue.js +2 -2
  32. package/dist/packages/components/use/retrie/index.vue.js +1 -1
  33. package/dist/packages/components/use/retrie/input/editor/editor.d.ts +0 -49
  34. package/dist/packages/components/use/retrie/input/editor/editor.vue.js +2 -2
  35. package/dist/packages/components/use/retrie/input/index.vue.js +1 -1
  36. package/dist/packages/components/use/retrie/input/text.vue.js +2 -2
  37. package/dist/packages/components/use/retrie/number/index.vue.js +2 -2
  38. package/dist/packages/components/use/retrie/object/index.vue.js +2 -2
  39. package/dist/packages/components/use/retrie/other/index.vue.js +2 -2
  40. package/dist/packages/components/use/retrie/select/index.vue.js +5 -5
  41. package/dist/packages/components/use/retrie/slot/index.vue.js +2 -2
  42. package/dist/packages/components/use/retrie/string/index.vue.js +2 -2
  43. package/dist/packages/components/use/set-code.vue.js +2 -2
  44. package/dist/packages/components/use/set-emit.vue.js +4 -4
  45. package/dist/packages/components/use/set-expose.vue.js +6 -6
  46. package/dist/packages/components/use/set-props.vue.js +2 -2
  47. package/dist/packages/components/use/set-slot.vue.js +7 -7
  48. package/dist/packages/index/index.vue2.js +2 -2
  49. package/dist/packages/page/compon/index.vue2.js +2 -2
  50. package/dist/packages/page/comprops/index.vue2.js +3 -3
  51. package/dist/packages/page/develop/index.vue2.js +2 -2
  52. package/dist/packages/page/edit/index.vue2.js +2 -2
  53. package/dist/packages/page/index/index.vue2.js +1 -1
  54. package/dist/packages/page/single/index.vue2.js +2 -2
  55. package/dist/packages/page/tests/index.vue2.js +6 -6
  56. package/dist/packages/utils/annotat.cjs +1 -1
  57. package/dist/packages/utils/annotat.js +1 -0
  58. package/package.json +19 -19
  59. /package/dist/node_modules/.pnpm/{@highlightjs_vue-plugin@2.1_088738b011f896e680b57492efece010 → @highlightjs_vue-plugin@2.1_09b7e5d2c19325dc414e3a91415b2e91}/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs +0 -0
  60. /package/dist/node_modules/.pnpm/{@highlightjs_vue-plugin@2.1_088738b011f896e680b57492efece010 → @highlightjs_vue-plugin@2.1_09b7e5d2c19325dc414e3a91415b2e91}/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +0 -0
@@ -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";
@@ -1,4 +1,4 @@
1
- import { defineComponent as s, ref as d, watch as p, withDirectives as c, createElementBlock as i, openBlock as f, vModelText as v } from "vue";
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((f(), i("textarea", {
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, createElementBlock as d, openBlock as p, withDirectives as v, createElementVNode as N, withModifiers as _, vModelText as V } from "vue";
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) => (p(), d("div", b, [
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, createElementBlock as p, openBlock as d, createVNode as v } from "vue";
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) => (d(), p("div", V, [
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, createElementBlock as f, openBlock as y, createVNode as v } from "vue";
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) => (y(), f("div", h, [
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, createElementBlock as s, openBlock 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";
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) => (i(), s("div", z, [
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 ? (i(), s("div", F, [
105
- (i(!0), s(B, null, S(l.list, (o, u) => (i(), s("div", {
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
- ])) : (i(), s("div", M, "暂无数据"))
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, createElementBlock as m, openBlock as u, createVNode as p, createElementVNode as d, withModifiers as f } from "vue";
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) => (u(), m("div", h, [
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, createElementBlock as d, openBlock as f, withDirectives as v, createElementVNode as g, withModifiers as x, vModelText as _ } from "vue";
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) => (f(), d("div", h, [
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, createElementBlock as r, openBlock as c, createVNode as m } from "vue";
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) => (c(), r("div", i, [
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, createElementBlock as r, createCommentVNode as b, openBlock as a, Fragment as o, renderList as c, createElementVNode as s, toDisplayString as i } from "vue";
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 ? (a(), r("div", g, [
31
- (a(!0), r(o, null, c(n.list, (t, f) => (a(), r("div", {
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
- (a(!0), r(o, null, c(d(t), (v, u) => (a(), r("div", { key: u }, [
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, createElementBlock as l, createCommentVNode as V, openBlock as a, createTextVNode as b, createVNode as p, createElementVNode as r, withModifiers as N, Fragment as R, renderList as y } from "vue";
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 ? (a(), l("div", E, [
38
- t[1] || (t[1] = b(" 请先选择要执行的方法 ", -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: N(C, ["stop"])
45
+ onClick: b(C, ["stop"])
46
46
  }, [...t[0] || (t[0] = [
47
47
  r("span", null, "添加", -1)
48
48
  ])]),
49
- (a(!0), l(R, null, y(s.value, (o, i) => (a(), l("div", F, [
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
- ])) : V("", !0);
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, createElementBlock as k, openBlock as x, createVNode as B } from "vue";
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) => (x(), k("div", A, [
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 _, createElementBlock as l, createCommentVNode as v, openBlock as a, createElementVNode as i, Fragment as h, renderList as C, toDisplayString as y, normalizeClass as k, createVNode as E } from "vue";
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 ? (a(), l("div", V, [
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
- (a(!0), l(h, null, C(r.list, (n, o) => (a(), l("div", { key: o }, [
25
- i("div", null, y(d(n)), 1),
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: k(["form-item", { error: m.value[o] }])
27
+ class: y(["form-item", { error: m.value[o] }])
28
28
  }, [
29
- E(N, {
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
- ])) : v("", !0);
40
+ ])) : E("", !0);
41
41
  }
42
42
  });
43
43
  export {