sun-form-v3 1.0.127 → 1.0.128

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-Bso_TcY1.js";
2
+ import { c } from "./index-CKvtn0DY.js";
3
3
  const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
4
4
  __name: "index",
5
5
  props: {
@@ -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-Bso_TcY1.js";
2
+ import { e as E, i as M } from "./index-CKvtn0DY.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: {
@@ -93285,7 +93285,7 @@ const LH = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
93285
93285
  },
93286
93286
  setup(e) {
93287
93287
  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-BZzszUdw.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-CeRoldDl.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-DlO84j5c.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-DmAkABDD.js"), "../widgetConfigComps/config-steps/index.vue": () => import("./index-Da-wnXwd.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-Dag4zSq7.js"), "../widgetConfigComps/config-tag/index.vue": () => import("./index-CjYNJYIl.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-CV4rr20N.js"), "../widgetConfigComps/config-title/index.vue": () => import("./index-C78PiK5v.js"), "../widgetConfigComps/config-transfer/index.vue": () => import("./index-DQ3y00Pa.js") })).map(([p, h]) => {
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]) => {
93289
93289
  const y = p.match(/\/([^/]+)\/index\.vue$/);
93290
93290
  return [y ? y[1] : null, p_e(h)];
93291
93291
  })
@@ -1,5 +1,5 @@
1
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-Bso_TcY1.js";
2
+ import { _ as $ } from "./index-CKvtn0DY.js";
3
3
  const J = {
4
4
  key: 0,
5
5
  class: "flex h-full flex-col"
@@ -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-Bso_TcY1.js";
2
+ import { _ as T } from "./index-CKvtn0DY.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: {
@@ -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-Bso_TcY1.js";
2
+ import { _ as E } from "./index-CKvtn0DY.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 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-Bso_TcY1.js";
2
+ import { _ as E, c as H } from "./index-CKvtn0DY.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: {
@@ -0,0 +1,150 @@
1
+ import { resolveComponent as n, openBlock as b, createElementBlock as f, Fragment as _, createVNode as e, withCtx as d, unref as t } from "vue";
2
+ const L = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(m) {
15
+ let l = m;
16
+ const V = (s) => {
17
+ s && (l.widget.props.postLastLevel = !1);
18
+ }, g = (s) => {
19
+ s && (l.widget.props.multiple = !1);
20
+ };
21
+ return (s, o) => {
22
+ const r = n("el-option"), w = n("el-select"), a = n("common-label-container"), i = n("el-input"), u = n("el-switch");
23
+ return b(), f(_, null, [
24
+ e(a, { label: "组件尺寸" }, {
25
+ default: d(() => [
26
+ e(w, {
27
+ modelValue: t(l).widget.props.size,
28
+ "onUpdate:modelValue": o[0] || (o[0] = (p) => t(l).widget.props.size = p)
29
+ }, {
30
+ default: d(() => [
31
+ e(r, {
32
+ label: "大尺寸",
33
+ value: "large"
34
+ }),
35
+ e(r, {
36
+ label: "默认",
37
+ value: "default"
38
+ }),
39
+ e(r, {
40
+ label: "小尺寸",
41
+ value: "small"
42
+ })
43
+ ]),
44
+ _: 1
45
+ }, 8, ["modelValue"])
46
+ ]),
47
+ _: 1
48
+ }),
49
+ e(a, { label: "数据源真实值" }, {
50
+ default: d(() => [
51
+ e(i, {
52
+ modelValue: t(l).widget.props.propsKey,
53
+ "onUpdate:modelValue": o[1] || (o[1] = (p) => t(l).widget.props.propsKey = p),
54
+ placeholder: "填写数据源真实值"
55
+ }, null, 8, ["modelValue"])
56
+ ]),
57
+ _: 1
58
+ }),
59
+ e(a, { label: "数据源显示值" }, {
60
+ default: d(() => [
61
+ e(i, {
62
+ modelValue: t(l).widget.props.propsLabel,
63
+ "onUpdate:modelValue": o[2] || (o[2] = (p) => t(l).widget.props.propsLabel = p),
64
+ placeholder: "填写数据源显示值"
65
+ }, null, 8, ["modelValue"])
66
+ ]),
67
+ _: 1
68
+ }),
69
+ e(a, { label: "数据源子级" }, {
70
+ default: d(() => [
71
+ e(i, {
72
+ modelValue: t(l).widget.props.propsChildren,
73
+ "onUpdate:modelValue": o[3] || (o[3] = (p) => t(l).widget.props.propsChildren = p),
74
+ placeholder: "填写数据源子级"
75
+ }, null, 8, ["modelValue"])
76
+ ]),
77
+ _: 1
78
+ }),
79
+ e(a, { label: "是否必填" }, {
80
+ default: d(() => [
81
+ e(u, {
82
+ modelValue: t(l).widget.props.required,
83
+ "onUpdate:modelValue": o[4] || (o[4] = (p) => t(l).widget.props.required = p)
84
+ }, null, 8, ["modelValue"])
85
+ ]),
86
+ _: 1
87
+ }),
88
+ e(a, { label: "是否禁用" }, {
89
+ default: d(() => [
90
+ e(u, {
91
+ modelValue: t(l).widget.props.disabled,
92
+ "onUpdate:modelValue": o[5] || (o[5] = (p) => t(l).widget.props.disabled = p)
93
+ }, null, 8, ["modelValue"])
94
+ ]),
95
+ _: 1
96
+ }),
97
+ e(a, { label: "显示全部级" }, {
98
+ default: d(() => [
99
+ e(u, {
100
+ modelValue: t(l).widget.props.showAllLevels,
101
+ "onUpdate:modelValue": o[6] || (o[6] = (p) => t(l).widget.props.showAllLevels = p)
102
+ }, null, 8, ["modelValue"])
103
+ ]),
104
+ _: 1
105
+ }),
106
+ e(a, { label: "是否可清除" }, {
107
+ default: d(() => [
108
+ e(u, {
109
+ modelValue: t(l).widget.props.clearable,
110
+ "onUpdate:modelValue": o[7] || (o[7] = (p) => t(l).widget.props.clearable = p)
111
+ }, null, 8, ["modelValue"])
112
+ ]),
113
+ _: 1
114
+ }),
115
+ e(a, { label: "是否只传末级" }, {
116
+ default: d(() => [
117
+ e(u, {
118
+ onChange: g,
119
+ modelValue: t(l).widget.props.postLastLevel,
120
+ "onUpdate:modelValue": o[8] || (o[8] = (p) => t(l).widget.props.postLastLevel = p)
121
+ }, null, 8, ["modelValue"])
122
+ ]),
123
+ _: 1
124
+ }),
125
+ e(a, { label: "是否可选任一级" }, {
126
+ default: d(() => [
127
+ e(u, {
128
+ modelValue: t(l).widget.props.checkStrictly,
129
+ "onUpdate:modelValue": o[9] || (o[9] = (p) => t(l).widget.props.checkStrictly = p)
130
+ }, null, 8, ["modelValue"])
131
+ ]),
132
+ _: 1
133
+ }),
134
+ e(a, { label: "是否多选" }, {
135
+ default: d(() => [
136
+ e(u, {
137
+ onChange: V,
138
+ modelValue: t(l).widget.props.multiple,
139
+ "onUpdate:modelValue": o[10] || (o[10] = (p) => t(l).widget.props.multiple = p)
140
+ }, null, 8, ["modelValue"])
141
+ ]),
142
+ _: 1
143
+ })
144
+ ], 64);
145
+ };
146
+ }
147
+ });
148
+ export {
149
+ L as default
150
+ };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./index-Bso_TcY1.js";
1
+ import { a as f } from "./index-CKvtn0DY.js";
2
2
  export {
3
3
  f as default
4
4
  };