sun-form-v3 1.0.128 → 1.0.129

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { ref as g, resolveComponent as u, openBlock as b, createElementBlock as V, Fragment as w, createVNode as e, withCtx as n, unref as a } from "vue";
2
- import { c } from "./index-CKvtn0DY.js";
2
+ import { c } from "./index-DI6XM9Ts.js";
3
3
  const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
4
4
  __name: "index",
5
5
  props: {
@@ -1,5 +1,5 @@
1
- import { ref as C, resolveComponent as m, openBlock as H, createElementBlock as T, Fragment as A, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as L, createElementVNode as f, toDisplayString as k, createCommentVNode as R } from "vue";
2
- import { _ as $ } from "./index-CKvtn0DY.js";
1
+ import { ref as C, resolveComponent as m, openBlock as H, createElementBlock as T, Fragment as E, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as A, createElementVNode as f, toDisplayString as k, createCommentVNode as D } from "vue";
2
+ import { _ as $ } from "./index-DI6XM9Ts.js";
3
3
  const J = {
4
4
  key: 0,
5
5
  class: "flex h-full flex-col"
@@ -32,30 +32,30 @@ const J = {
32
32
  }, B = (r) => {
33
33
  o.value.label = r.props.label, o.value.id = r.id, o.value.isComponent = !0, U.value = !1;
34
34
  }, i = (r, u) => {
35
- const V = r.parent, z = V.data.children || V.data, F = z.findIndex((D) => D.id === u.id);
36
- z.splice(F, 1), s.value = [...s.value];
35
+ const V = r.parent, z = V.data.children || V.data, S = z.findIndex((F) => F.id === u.id);
36
+ z.splice(S, 1), s.value = [...s.value];
37
37
  }, d = {
38
38
  children: "children",
39
39
  label: "label"
40
40
  };
41
41
  let v = C(!1), U = C(!1);
42
- const E = ({ row: r }) => {
42
+ const I = ({ row: r }) => {
43
43
  console.log(r);
44
- }, I = () => {
44
+ }, L = () => {
45
45
  v.value = !0;
46
- }, S = () => {
46
+ }, R = () => {
47
47
  v.value = !1;
48
48
  }, M = () => {
49
49
  v.value = !1, y.widget.props.headerTree = s.value;
50
50
  };
51
51
  return (r, u) => {
52
- const V = m("el-button"), z = m("el-input"), F = m("el-button-group"), D = m("el-tree"), j = m("vxe-modal"), _ = m("vxe-column"), P = m("vxe-table");
53
- return H(), T(A, null, [
52
+ const V = m("el-button"), z = m("el-input"), S = m("el-button-group"), F = m("el-tree"), j = m("vxe-modal"), _ = m("vxe-column"), P = m("vxe-table");
53
+ return H(), T(E, null, [
54
54
  e(V, {
55
55
  plain: "",
56
56
  type: l(y).widget.props.headerTree.length ? "primary" : "",
57
57
  icon: "Setting",
58
- onClick: I
58
+ onClick: L
59
59
  }, {
60
60
  default: a(() => u[3] || (u[3] = [
61
61
  b(" 复杂表头 ")
@@ -65,11 +65,11 @@ const J = {
65
65
  e(j, {
66
66
  transfer: "",
67
67
  modelValue: l(v),
68
- "onUpdate:modelValue": u[1] || (u[1] = (p) => L(v) ? v.value = p : v = p),
68
+ "onUpdate:modelValue": u[1] || (u[1] = (p) => A(v) ? v.value = p : v = p),
69
69
  width: "800px",
70
70
  height: "700px",
71
71
  "show-footer": "",
72
- onClose: S
72
+ onClose: R
73
73
  }, {
74
74
  title: a(() => u[4] || (u[4] = [
75
75
  f("span", null, "复杂表头配置", -1)
@@ -87,7 +87,7 @@ const J = {
87
87
  ])),
88
88
  _: 1
89
89
  }),
90
- e(D, {
90
+ e(F, {
91
91
  data: s.value,
92
92
  props: d,
93
93
  "node-key": "id",
@@ -109,7 +109,7 @@ const J = {
109
109
  ])
110
110
  ]),
111
111
  f("div", null, [
112
- e(F, null, {
112
+ e(S, null, {
113
113
  default: a(() => [
114
114
  e(V, {
115
115
  onClick: (O) => n(w.children),
@@ -153,13 +153,13 @@ const J = {
153
153
  ]),
154
154
  _: 1
155
155
  }, 8, ["data"])
156
- ])) : R("", !0)
156
+ ])) : D("", !0)
157
157
  ]),
158
158
  footer: a(() => [
159
159
  e(V, {
160
160
  icon: "Close",
161
161
  size: "small",
162
- onClick: S
162
+ onClick: R
163
163
  }, {
164
164
  default: a(() => u[9] || (u[9] = [
165
165
  b("关闭")
@@ -183,7 +183,7 @@ const J = {
183
183
  e(j, {
184
184
  transfer: "",
185
185
  modelValue: l(U),
186
- "onUpdate:modelValue": u[2] || (u[2] = (p) => L(U) ? U.value = p : U = p),
186
+ "onUpdate:modelValue": u[2] || (u[2] = (p) => A(U) ? U.value = p : U = p),
187
187
  width: "700px",
188
188
  height: "600px"
189
189
  }, {
@@ -198,7 +198,7 @@ const J = {
198
198
  data: x.value,
199
199
  height: "auto",
200
200
  "row-config": { isCurrent: !0, isHover: !0 },
201
- onCurrentChange: E,
201
+ onCurrentChange: I,
202
202
  size: "mini",
203
203
  border: "",
204
204
  "scroll-y": { enabled: !0 },
@@ -268,7 +268,7 @@ const J = {
268
268
  _: 1
269
269
  }, 8, ["data"])
270
270
  ])
271
- ])) : R("", !0)
271
+ ])) : D("", !0)
272
272
  ]),
273
273
  _: 1
274
274
  }, 8, ["modelValue"])
@@ -291,7 +291,7 @@ const J = {
291
291
  let t = N;
292
292
  return (y, o) => {
293
293
  const s = m("el-option"), x = m("el-select"), n = m("common-label-container"), g = m("el-input"), B = m("el-input-number"), i = m("el-switch");
294
- return H(), T(A, null, [
294
+ return H(), T(E, null, [
295
295
  e(n, { label: "组件尺寸" }, {
296
296
  default: a(() => [
297
297
  e(x, {
@@ -669,16 +669,16 @@ const J = {
669
669
  ]),
670
670
  _: 1
671
671
  }),
672
- e(n, { label: "是否带连接线" }, {
672
+ e(n, { label: "父子不关联" }, {
673
673
  default: a(() => [
674
674
  e(i, {
675
- modelValue: l(t).widget.props.isLine,
676
- "onUpdate:modelValue": o[34] || (o[34] = (d) => l(t).widget.props.isLine = d)
675
+ modelValue: l(t).widget.props.checkStrictly,
676
+ "onUpdate:modelValue": o[34] || (o[34] = (d) => l(t).widget.props.checkStrictly = d)
677
677
  }, null, 8, ["modelValue"])
678
678
  ]),
679
679
  _: 1
680
680
  })
681
- ])) : R("", !0),
681
+ ])) : D("", !0),
682
682
  e(n, { label: "复杂表头设置" }, {
683
683
  default: a(() => [
684
684
  e(G, {
@@ -1,5 +1,5 @@
1
1
  import { computed as j, ref as g, onMounted as $, resolveComponent as f, openBlock as v, createElementBlock as h, Fragment as x, createVNode as u, withCtx as o, createTextVNode as C, createElementVNode as a, renderList as B, unref as V, toDisplayString as N, nextTick as U, createBlock as D } from "vue";
2
- import { e as E, i as M } from "./index-CKvtn0DY.js";
2
+ import { e as E, i as M } from "./index-DI6XM9Ts.js";
3
3
  const R = { class: "flex-wrap flex" }, S = ["onClick"], T = { class: "inner cursor-pointer hover:shadow-md hover:shadow-blue-200 border w-full h-full p-1 flex flex-col overflow-hidden items-center rounded-md shadow-sm" }, z = { class: "lab border-t w-full text-center mt-1 font-bold" }, F = /* @__PURE__ */ Object.assign({ name: "chatChoose" }, {
4
4
  __name: "chartChoose",
5
5
  props: {
@@ -3782,6 +3782,7 @@ const f1e = {
3782
3782
  isHideButton: !1,
3783
3783
  isHideIndex: !1,
3784
3784
  isHideHeader: !1,
3785
+ checkStrictly: !1,
3785
3786
  isHideQueryBtn: !1,
3786
3787
  isHideResetBtn: !1,
3787
3788
  isCurrendClick: !0,
@@ -4325,6 +4326,7 @@ const f1e = {
4325
4326
  }), D = ct({
4326
4327
  trigger: a.value.isHideChoose ? void 0 : "row",
4327
4328
  // labelField: "my_check",
4329
+ checkStrictly: a.value.checkStrictly,
4328
4330
  highlight: !0,
4329
4331
  range: a.value.treeMode ? void 0 : !0
4330
4332
  }), M = wi({
@@ -4785,7 +4787,7 @@ const f1e = {
4785
4787
  ], 4);
4786
4788
  };
4787
4789
  }
4788
- }), U1e = /* @__PURE__ */ Fs(G1e, [["__scopeId", "data-v-4b8dbf84"]]);
4790
+ }), U1e = /* @__PURE__ */ Fs(G1e, [["__scopeId", "data-v-e7805cfb"]]);
4789
4791
  /**!
4790
4792
  * Sortable 1.15.3
4791
4793
  * @author RubaXa <trash@rubaxa.org>
@@ -93285,7 +93287,7 @@ const LH = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
93285
93287
  },
93286
93288
  setup(e) {
93287
93289
  const n = Object.fromEntries(
93288
- Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-alert/index.vue": () => import("./index-ZVIqhtUw.js"), "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-card/index.vue": () => import("./index-BJ0vPF5A.js"), "../widgetConfigComps/config-cascader/index.vue": () => import("./index-DsyWW00w.js"), "../widgetConfigComps/config-checkCode/index.vue": () => import("./index-kUQct_cM.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-codeEditor/index.vue": () => import("./index-CzkuANsf.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-CUI4gWhA.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-div/index.vue": () => import("./index-BAEL_Fhr.js"), "../widgetConfigComps/config-echarts/index.vue": () => import("./index-C2FdJI3a.js"), "../widgetConfigComps/config-editor/index.vue": () => import("./index-CXNYHPLK.js"), "../widgetConfigComps/config-file/index.vue": () => import("./index-BU3xx_sm.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CIaeKFCl.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CifChfEv.js"), "../widgetConfigComps/config-image/index.vue": () => import("./index-dGJDj4ro.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-kzElMYkk.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-DIwhu60e.js"), "../widgetConfigComps/config-modal2/index.vue": () => import("./index-D7zr1ztZ.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DVgKDMax.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-B0fldwhm.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-B1b5cejN.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-CZZfzYn7.js"), "../widgetConfigComps/config-statistic/index.vue": () => import("./index-Ddnm0WbP.js"), "../widgetConfigComps/config-steps/index.vue": () => import("./index-DLIjzu1r.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-Dag4zSq7.js"), "../widgetConfigComps/config-tag/index.vue": () => import("./index-BWMhD1KV.js"), "../widgetConfigComps/config-text/index.vue": () => import("./index-BYbxnzUx.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js"), "../widgetConfigComps/config-timeline/index.vue": () => import("./index-DBKMwcLc.js"), "../widgetConfigComps/config-title/index.vue": () => import("./index-C78PiK5v.js"), "../widgetConfigComps/config-transfer/index.vue": () => import("./index-DQ3y00Pa.js") })).map(([p, h]) => {
93290
+ Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-alert/index.vue": () => import("./index-ZVIqhtUw.js"), "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-card/index.vue": () => import("./index-BJ0vPF5A.js"), "../widgetConfigComps/config-cascader/index.vue": () => import("./index-DsyWW00w.js"), "../widgetConfigComps/config-checkCode/index.vue": () => import("./index-kUQct_cM.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-codeEditor/index.vue": () => import("./index-CzkuANsf.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-C6f8D-r7.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-div/index.vue": () => import("./index-BAEL_Fhr.js"), "../widgetConfigComps/config-echarts/index.vue": () => import("./index-CxnBjGni.js"), "../widgetConfigComps/config-editor/index.vue": () => import("./index-CXNYHPLK.js"), "../widgetConfigComps/config-file/index.vue": () => import("./index-BU3xx_sm.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CIaeKFCl.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CifChfEv.js"), "../widgetConfigComps/config-image/index.vue": () => import("./index-dGJDj4ro.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-kzElMYkk.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-DIwhu60e.js"), "../widgetConfigComps/config-modal2/index.vue": () => import("./index-D7zr1ztZ.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DVgKDMax.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-B0fldwhm.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-B1b5cejN.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-CZZfzYn7.js"), "../widgetConfigComps/config-statistic/index.vue": () => import("./index-DSXvvOdL.js"), "../widgetConfigComps/config-steps/index.vue": () => import("./index-DY7OyvD_.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-Dag4zSq7.js"), "../widgetConfigComps/config-tag/index.vue": () => import("./index-BEnJvE6-.js"), "../widgetConfigComps/config-text/index.vue": () => import("./index-BYbxnzUx.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js"), "../widgetConfigComps/config-timeline/index.vue": () => import("./index-lVXWCoWo.js"), "../widgetConfigComps/config-title/index.vue": () => import("./index-C78PiK5v.js"), "../widgetConfigComps/config-transfer/index.vue": () => import("./index-DQ3y00Pa.js") })).map(([p, h]) => {
93289
93291
  const y = p.match(/\/([^/]+)\/index\.vue$/);
93290
93292
  return [y ? y[1] : null, p_e(h)];
93291
93293
  })
@@ -1,5 +1,5 @@
1
1
  import { computed as z, ref as x, resolveComponent as p, openBlock as k, createElementBlock as U, Fragment as O, createVNode as e, withCtx as l, createTextVNode as V, unref as u, isRef as J, createElementVNode as m } from "vue";
2
- import { _ as E, c as H } from "./index-CKvtn0DY.js";
2
+ import { _ as E, c as H } from "./index-DI6XM9Ts.js";
3
3
  const h = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
4
4
  __name: "dataConfig",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { computed as S, ref as C, resolveComponent as u, openBlock as k, createElementBlock as O, Fragment as U, createVNode as e, withCtx as l, createTextVNode as f, unref as i, isRef as J, createElementVNode as c } from "vue";
2
- import { _ as E } from "./index-CKvtn0DY.js";
2
+ import { _ as E } from "./index-DI6XM9Ts.js";
3
3
  const H = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = {
4
4
  __name: "dataConfig",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { computed as S, ref as C, resolveComponent as p, openBlock as U, createElementBlock as k, Fragment as O, createVNode as e, withCtx as l, createTextVNode as g, unref as i, isRef as J, createElementVNode as f } from "vue";
2
- import { _ as T } from "./index-CKvtn0DY.js";
2
+ import { _ as T } from "./index-DI6XM9Ts.js";
3
3
  const E = { class: "h-full flex flex-col" }, H = { class: "flex-1 overflow-hidden" }, B = {
4
4
  __name: "dataConfig",
5
5
  props: {