fec-dev-designer 1.0.0 → 1.0.1

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.
@@ -4,12 +4,13 @@ import "../../node_modules/element-plus/theme-chalk/el-overlay.css.js";
4
4
  import "../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
5
5
  import { mergeModels as x, useModel as v, computed as l, openBlock as w, createBlock as b, withCtx as n, createElementVNode as t, toDisplayString as i, unref as r, createVNode as u } from "vue";
6
6
  import { getEditConfigData as V } from "../packages/utils/common.js";
7
- import y from "../../node_modules/vue-json-viewer/vue-json-viewer.js";
7
+ import { JsonViewer as y } from "../../node_modules/vue3-json-viewer/dist/vue3-json-viewer.js";
8
+ import "../../node_modules/vue3-json-viewer/dist/vue3-json-viewer.css.js";
8
9
  import "./JsonDataDrawer.vue2.js";
9
10
  import D from "../../_virtual/_plugin-vue_export-helper.js";
10
11
  import { ElScrollbar as g } from "../../node_modules/element-plus/es/components/scrollbar/index.js";
11
12
  import { ElDrawer as h } from "../../node_modules/element-plus/es/components/drawer/index.js";
12
- const B = { class: "drawer-header" }, S = { class: "json-stats" }, C = { class: "json-viewer-container" }, E = {
13
+ const B = { class: "drawer-header" }, S = { class: "json-stats" }, j = { class: "json-viewer-container" }, C = {
13
14
  __name: "JsonDataDrawer",
14
15
  props: /* @__PURE__ */ x({
15
16
  title: {
@@ -25,8 +26,8 @@ const B = { class: "drawer-header" }, S = { class: "json-stats" }, C = { class:
25
26
  modelModifiers: {}
26
27
  }),
27
28
  emits: ["update:modelValue"],
28
- setup(d) {
29
- const s = v(d, "modelValue"), a = l(() => V()), c = l(() => {
29
+ setup(s) {
30
+ const d = v(s, "modelValue"), a = l(() => V()), c = l(() => {
30
31
  var e;
31
32
  try {
32
33
  return ((e = a.value.fieldsData) == null ? void 0 : e.length) || 0;
@@ -40,15 +41,15 @@ const B = { class: "drawer-header" }, S = { class: "json-stats" }, C = { class:
40
41
  return (e, o) => {
41
42
  const p = g, f = h;
42
43
  return w(), b(f, {
43
- modelValue: s.value,
44
- "onUpdate:modelValue": o[0] || (o[0] = (_) => s.value = _),
44
+ modelValue: d.value,
45
+ "onUpdate:modelValue": o[0] || (o[0] = (_) => d.value = _),
45
46
  direction: "rtl",
46
47
  size: "35%",
47
48
  class: "json-data-dev-drawer"
48
49
  }, {
49
50
  header: n(() => [
50
51
  t("div", B, [
51
- o[1] || (o[1] = t("span", { class: "header-title" }, "数据结构", -1)),
52
+ o[1] || (o[1] = t("span", { class: "json-header-title" }, "数据结构", -1)),
52
53
  t("div", S, [
53
54
  t("span", null, "字段: " + i(r(c)), 1),
54
55
  t("span", null, i(r(m)), 1)
@@ -56,7 +57,7 @@ const B = { class: "drawer-header" }, S = { class: "json-stats" }, C = { class:
56
57
  ])
57
58
  ]),
58
59
  default: n(() => [
59
- t("div", C, [
60
+ t("div", j, [
60
61
  u(p, null, {
61
62
  default: n(() => [
62
63
  u(r(y), {
@@ -64,7 +65,7 @@ const B = { class: "drawer-header" }, S = { class: "json-stats" }, C = { class:
64
65
  copyable: { copyText: "复制", copiedText: "已复制" },
65
66
  "expand-depth": 10,
66
67
  "show-array-index": !1,
67
- boxed: d.boxed
68
+ boxed: s.boxed
68
69
  }, null, 8, ["value", "boxed"])
69
70
  ]),
70
71
  _: 1
@@ -75,7 +76,7 @@ const B = { class: "drawer-header" }, S = { class: "json-stats" }, C = { class:
75
76
  }, 8, ["modelValue"]);
76
77
  };
77
78
  }
78
- }, K = /* @__PURE__ */ D(E, [["__scopeId", "data-v-8d80e409"]]);
79
+ }, O = /* @__PURE__ */ D(C, [["__scopeId", "data-v-8ae9e1cd"]]);
79
80
  export {
80
- K as default
81
+ O as default
81
82
  };
@@ -17,14 +17,15 @@ import { ref as b, computed as $, watch as z, openBlock as E, createElementBlock
17
17
  import { VideoPlay as U, CopyDocument as L, Document as j } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
18
18
  import B from "../../components/ParamsConfig.vue2.js";
19
19
  import { getEditConfigDataFields as J } from "../utils/common.js";
20
- import G from "../../../node_modules/vue-json-viewer/vue-json-viewer.js";
20
+ import { JsonViewer as G } from "../../../node_modules/vue3-json-viewer/dist/vue3-json-viewer.js";
21
+ import "../../../node_modules/vue3-json-viewer/dist/vue3-json-viewer.css.js";
21
22
  import { get as H, post as K, postForm as M } from "../../axios/index.js";
22
23
  import "../../../node_modules/element-plus/theme-chalk/el-badge.css.js";
23
24
  import "../../../node_modules/element-plus/theme-chalk/el-message.css.js";
24
25
  import "./dataSource.vue2.js";
25
- import h from "../../../_virtual/_plugin-vue_export-helper.js";
26
+ import Q from "../../../_virtual/_plugin-vue_export-helper.js";
26
27
  import { ElMessage as C } from "../../../node_modules/element-plus/es/components/message/index.js";
27
- import { ElOption as A, ElSelect as Q } from "../../../node_modules/element-plus/es/components/select/index.js";
28
+ import { ElOption as h, ElSelect as A } from "../../../node_modules/element-plus/es/components/select/index.js";
28
29
  import { ElFormItem as W, ElForm as X } from "../../../node_modules/element-plus/es/components/form/index.js";
29
30
  import { ElInput as Y } from "../../../node_modules/element-plus/es/components/input/index.js";
30
31
  import { ElRadio as Z, ElRadioGroup as ee } from "../../../node_modules/element-plus/es/components/radio/index.js";
@@ -109,7 +110,7 @@ const re = { class: "data-source" }, ie = { class: "config-section" }, ue = { cl
109
110
  });
110
111
  }
111
112
  return (r, e) => {
112
- const _ = A, v = Q, l = W, x = Y, m = Z, f = ee, p = X, g = te, w = oe, F = ae, N = le, O = ne, P = se;
113
+ const _ = h, v = A, l = W, x = Y, m = Z, f = ee, p = X, g = te, w = oe, F = ae, N = le, O = ne, P = se;
113
114
  return E(), T("div", re, [
114
115
  t(P, {
115
116
  modelValue: a(V),
@@ -317,7 +318,7 @@ const re = { class: "data-source" }, ie = { class: "config-section" }, ue = { cl
317
318
  ]);
318
319
  };
319
320
  }
320
- }, et = /* @__PURE__ */ h(be, [["__scopeId", "data-v-778d8e61"]]);
321
+ }, tt = /* @__PURE__ */ Q(be, [["__scopeId", "data-v-e27d1404"]]);
321
322
  export {
322
- et as default
323
+ tt as default
323
324
  };