sun-form-v3 1.0.102 → 1.0.104

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { computed as j, ref as g, onMounted as $, resolveComponent as f, openBlock as _, createElementBlock as v, Fragment as x, createVNode as r, withCtx as o, createTextVNode as C, createElementVNode as u, 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-BLhjUzvt.js";
2
+ import { e as E, i as M } from "./index-DX_xKbfY.js";
3
3
  const R = /* @__PURE__ */ u("span", null, "图表选择", -1), S = { class: "flex-wrap flex" }, T = ["onClick"], z = { 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" }, F = { class: "lab border-t w-full text-center mt-1 font-bold" }, L = /* @__PURE__ */ Object.assign({ name: "chatChoose" }, {
4
4
  __name: "chartChoose",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { resolveComponent as n, openBlock as V, createElementBlock as b, Fragment as g, createVNode as e, withCtx as p, unref as t } from "vue";
1
+ import { resolveComponent as u, openBlock as V, createElementBlock as g, Fragment as w, createVNode as e, withCtx as p, unref as t } from "vue";
2
2
  const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
3
3
  __name: "index",
4
4
  props: {
@@ -13,9 +13,9 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
13
13
  },
14
14
  setup(m) {
15
15
  let l = m;
16
- return (w, o) => {
17
- const r = n("el-option"), i = n("el-select"), a = n("common-label-container"), s = n("el-input"), u = n("el-switch");
18
- return V(), b(g, null, [
16
+ return (b, o) => {
17
+ const s = u("el-option"), i = u("el-select"), a = u("common-label-container"), r = u("el-input"), n = u("el-switch");
18
+ return V(), g(w, null, [
19
19
  e(a, { label: "组件尺寸" }, {
20
20
  default: p(() => [
21
21
  e(i, {
@@ -23,15 +23,15 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
23
23
  "onUpdate:modelValue": o[0] || (o[0] = (d) => t(l).widget.props.size = d)
24
24
  }, {
25
25
  default: p(() => [
26
- e(r, {
26
+ e(s, {
27
27
  label: "大尺寸",
28
28
  value: "large"
29
29
  }),
30
- e(r, {
30
+ e(s, {
31
31
  label: "默认",
32
32
  value: "default"
33
33
  }),
34
- e(r, {
34
+ e(s, {
35
35
  label: "小尺寸",
36
36
  value: "small"
37
37
  })
@@ -43,7 +43,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
43
43
  }),
44
44
  e(a, { label: "数据源真实值" }, {
45
45
  default: p(() => [
46
- e(s, {
46
+ e(r, {
47
47
  modelValue: t(l).widget.props.propsKey,
48
48
  "onUpdate:modelValue": o[1] || (o[1] = (d) => t(l).widget.props.propsKey = d),
49
49
  placeholder: "填写数据源真实值"
@@ -53,7 +53,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
53
53
  }),
54
54
  e(a, { label: "数据源显示值" }, {
55
55
  default: p(() => [
56
- e(s, {
56
+ e(r, {
57
57
  modelValue: t(l).widget.props.propsLabel,
58
58
  "onUpdate:modelValue": o[2] || (o[2] = (d) => t(l).widget.props.propsLabel = d),
59
59
  placeholder: "填写数据源显示值"
@@ -63,7 +63,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
63
63
  }),
64
64
  e(a, { label: "数据源子级" }, {
65
65
  default: p(() => [
66
- e(s, {
66
+ e(r, {
67
67
  modelValue: t(l).widget.props.propsChildren,
68
68
  "onUpdate:modelValue": o[3] || (o[3] = (d) => t(l).widget.props.propsChildren = d),
69
69
  placeholder: "填写数据源子级"
@@ -73,7 +73,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
73
73
  }),
74
74
  e(a, { label: "是否必填" }, {
75
75
  default: p(() => [
76
- e(u, {
76
+ e(n, {
77
77
  modelValue: t(l).widget.props.required,
78
78
  "onUpdate:modelValue": o[4] || (o[4] = (d) => t(l).widget.props.required = d)
79
79
  }, null, 8, ["modelValue"])
@@ -82,7 +82,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
82
82
  }),
83
83
  e(a, { label: "是否禁用" }, {
84
84
  default: p(() => [
85
- e(u, {
85
+ e(n, {
86
86
  modelValue: t(l).widget.props.disabled,
87
87
  "onUpdate:modelValue": o[5] || (o[5] = (d) => t(l).widget.props.disabled = d)
88
88
  }, null, 8, ["modelValue"])
@@ -91,7 +91,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
91
91
  }),
92
92
  e(a, { label: "显示全部级" }, {
93
93
  default: p(() => [
94
- e(u, {
94
+ e(n, {
95
95
  modelValue: t(l).widget.props.showAllLevels,
96
96
  "onUpdate:modelValue": o[6] || (o[6] = (d) => t(l).widget.props.showAllLevels = d)
97
97
  }, null, 8, ["modelValue"])
@@ -100,12 +100,21 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
100
100
  }),
101
101
  e(a, { label: "是否可清除" }, {
102
102
  default: p(() => [
103
- e(u, {
103
+ e(n, {
104
104
  modelValue: t(l).widget.props.clearable,
105
105
  "onUpdate:modelValue": o[7] || (o[7] = (d) => t(l).widget.props.clearable = d)
106
106
  }, null, 8, ["modelValue"])
107
107
  ]),
108
108
  _: 1
109
+ }),
110
+ e(a, { label: "是否只传末级" }, {
111
+ default: p(() => [
112
+ e(n, {
113
+ modelValue: t(l).widget.props.postLastLevel,
114
+ "onUpdate:modelValue": o[8] || (o[8] = (d) => t(l).widget.props.postLastLevel = d)
115
+ }, null, 8, ["modelValue"])
116
+ ]),
117
+ _: 1
109
118
  })
110
119
  ], 64);
111
120
  };