form-imagining 0.0.32 → 0.0.34
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.
- package/dist/App-639185df.js +24 -0
- package/dist/Code-16b535b8.js +5 -0
- package/dist/Col-dcf8fd4e.js +5 -0
- package/dist/Collapse-5a3696ea.js +5 -0
- package/dist/Demo-be0d3a37.js +10 -0
- package/dist/Demo-c294a839.js +76 -0
- package/dist/Form-30437aaa.js +5 -0
- package/dist/GenerateForm-8e63a340.js +5 -0
- package/dist/{cTable-6ef99e66.js → GenerateReport-b816c048.js} +1 -1
- package/dist/Grid-c489fc08.js +5 -0
- package/dist/HelloWorld-a3f13c42.js +10 -0
- package/dist/Input-/345/210/240/351/231/{244-52e86c3f.js → 244-bbcbc8dd.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-d3e56205.js → 244-51abf27d.js} +1 -1
- package/dist/{Login-74d2a8c0.js → Login-84c418e9.js} +1 -1
- package/dist/ReportModule-83616536.js +5 -0
- package/dist/SqlModule-e2e8098a.js +5 -0
- package/dist/Table-e412d800.js +5 -0
- package/dist/arrow-0f9d2c91.js +4 -0
- package/dist/cTable-b4844432.js +5 -0
- package/dist/childForm-216b318b.js +5 -0
- package/dist/collapse-d0408569.js +4 -0
- package/dist/{cssMode-04c71774.js → cssMode-a4cbe20b.js} +1 -1
- package/dist/form-imagining.js +4 -2
- package/dist/form-imagining.umd.cjs +824 -414
- package/dist/{freemarker2-b6f028a0.js → freemarker2-c23f783b.js} +1 -1
- package/dist/{handlebars-2019ba89.js → handlebars-b4d92eb1.js} +1 -1
- package/dist/{html-536dc687.js → html-fa70f40f.js} +1 -1
- package/dist/{htmlMode-b4bce87c.js → htmlMode-9975936c.js} +1 -1
- package/dist/{index-a03a7e79.js → index-0e942346.js} +1 -1
- package/dist/{index-ae909b3d.js → index-7aef62cd.js} +187999 -160163
- package/dist/{javascript-27d1ed02.js → javascript-d09f4edd.js} +2 -2
- package/dist/{jsonMode-4d329c63.js → jsonMode-73af7c2d.js} +1 -1
- package/dist/{liquid-3d64e789.js → liquid-5f75f12d.js} +1 -1
- package/dist/{mdx-d874a50e.js → mdx-5093cac6.js} +1 -1
- package/dist/{python-3e7e8eb9.js → python-d614655e.js} +1 -1
- package/dist/{razor-4aa9f2f2.js → razor-9ddbb2d1.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-91143acc.js → tableSelectDemo-3175ccb4.js} +39 -40
- package/dist/{tableSelectDemo2-72697acb.js → tableSelectDemo2-8104e5c8.js} +34 -34
- package/dist/{tsMode-e5fb290f.js → tsMode-ded83a41.js} +1 -1
- package/dist/{typescript-1bab9a0c.js → typescript-149dfa07.js} +1 -1
- package/dist/{xml-f45d900d.js → xml-1e4b8fa9.js} +1 -1
- package/dist/{yaml-dfef5fab.js → yaml-d251ce2f.js} +1 -1
- package/package.json +1 -1
- package/dist/App-790a83c6.js +0 -19
- package/dist/Code-953bd738.js +0 -5
- package/dist/Col-395e8c20.js +0 -5
- package/dist/Demo-8d597096.js +0 -110
- package/dist/Demo-d347a1c2.js +0 -45
- package/dist/Form-417fdfad.js +0 -5
- package/dist/FormPublic-277fc835.js +0 -5
- package/dist/GenerateForm-e631bb7e.js +0 -5
- package/dist/Grid-f6ec82a6.js +0 -5
- package/dist/Preview0925-fdfb9dcc.js +0 -62
- package/dist/PreviewDemo-20d4552f.js +0 -6
- package/dist/PreviewDemo.vue_vue_type_script_setup_true_lang-c74625b2.js +0 -285
- package/dist/PreviewDemo2-07cc2276.js +0 -6
- package/dist/PreviewDemo2.vue_vue_type_script_setup_true_lang-d03684e1.js +0 -88
- package/dist/PreviewDemo3-3c1071f6.js +0 -82
- package/dist/SqlModule-2b638336.js +0 -5
- package/dist/Table-28a24022.js +0 -5
- package/dist/ceshi2-d399c135.js +0 -82
- package/dist/ceshiDemo-be19020c.js +0 -85
- package/dist/childForm-1a46e611.js +0 -5
- package/dist/modalDemo-396a6892.js +0 -53
- package/dist/tableSelectOptions-97e674c2.js +0 -16
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { defineComponent as U, reactive as C, ref as N, onMounted as R, resolveComponent as r, openBlock as O, createElementBlock as P, createVNode as l, withCtx as a, mergeProps as i, unref as o, createTextVNode as u, createElementVNode as c } from "vue";
|
|
2
|
-
import { o as V, v as s, b as m, c as E } from "./index-ae909b3d.js";
|
|
3
|
-
const F = {
|
|
4
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
5
|
-
class: "ant-picker-range-custom",
|
|
6
|
-
"write-field": "bdc_djzb.range"
|
|
7
|
-
}, S = {
|
|
8
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
9
|
-
class: "ant-picker-custom",
|
|
10
|
-
"write-field": "bdc_djzb.time"
|
|
11
|
-
}, L = /* @__PURE__ */ U({
|
|
12
|
-
__name: "PreviewDemo",
|
|
13
|
-
props: {
|
|
14
|
-
disabled: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: !1
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
setup(n, { expose: w }) {
|
|
20
|
-
const t = C({
|
|
21
|
-
bdc_djzb: {
|
|
22
|
-
业务号: "",
|
|
23
|
-
age: 20,
|
|
24
|
-
受理编号: 2,
|
|
25
|
-
下拉必填: "",
|
|
26
|
-
单选必填: "",
|
|
27
|
-
多选框必填: [],
|
|
28
|
-
time: "",
|
|
29
|
-
range: [],
|
|
30
|
-
textarea: ""
|
|
31
|
-
},
|
|
32
|
-
bdc_ywfw: {
|
|
33
|
-
name: "",
|
|
34
|
-
title: "我是yefw"
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
let p = N();
|
|
38
|
-
w({
|
|
39
|
-
onSubmit: y
|
|
40
|
-
}), R(() => {
|
|
41
|
-
console.info("我是预览页面");
|
|
42
|
-
});
|
|
43
|
-
function y() {
|
|
44
|
-
return V(p.value);
|
|
45
|
-
}
|
|
46
|
-
function g() {
|
|
47
|
-
let v = E({
|
|
48
|
-
title: "测试二级",
|
|
49
|
-
width: 300,
|
|
50
|
-
onOk: () => {
|
|
51
|
-
console.log("二级ok"), v.destroy();
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
return (v, e) => {
|
|
56
|
-
const z = r("a-input"), b = r("a-form-item"), j = r("a-select-option"), x = r("a-select"), f = r("a-checkbox"), k = r("a-checkbox-group"), _ = r("a-radio"), q = r("a-radio-group"), Y = r("a-range-picker"), D = r("a-date-picker"), M = r("a-textarea"), B = r("a-form");
|
|
57
|
-
return O(), P("div", {
|
|
58
|
-
ref_key: "formRef",
|
|
59
|
-
ref: p,
|
|
60
|
-
class: "cici-form-css"
|
|
61
|
-
}, [
|
|
62
|
-
l(B, {
|
|
63
|
-
"label-col": { style: { width: "100px" } },
|
|
64
|
-
labelWrap: !0,
|
|
65
|
-
model: t
|
|
66
|
-
}, {
|
|
67
|
-
default: a(() => [
|
|
68
|
-
l(b, i({
|
|
69
|
-
label: "受理编号",
|
|
70
|
-
required: ""
|
|
71
|
-
}, o(s)["bdc_djzb.id;"]), {
|
|
72
|
-
default: a(() => [
|
|
73
|
-
l(z, {
|
|
74
|
-
value: t.bdc_djzb.受理编号,
|
|
75
|
-
"onUpdate:value": e[0] || (e[0] = (d) => t.bdc_djzb.受理编号 = d),
|
|
76
|
-
rules: [{ type: "required", msg: "必须填写此项" }, { type: "number", msg: "请填写数字" }],
|
|
77
|
-
disabled: n.disabled,
|
|
78
|
-
"write-field": "bdc_djzb.id",
|
|
79
|
-
onBlur: e[1] || (e[1] = (d) => o(m)(d, "blur"))
|
|
80
|
-
}, null, 8, ["value", "disabled"])
|
|
81
|
-
]),
|
|
82
|
-
_: 1
|
|
83
|
-
}, 16),
|
|
84
|
-
l(b, i({
|
|
85
|
-
label: "下拉必填",
|
|
86
|
-
required: ""
|
|
87
|
-
}, o(s)["bdc_djzb.下拉必填"]), {
|
|
88
|
-
default: a(() => [
|
|
89
|
-
l(x, {
|
|
90
|
-
value: t.bdc_djzb.下拉必填,
|
|
91
|
-
"onUpdate:value": e[2] || (e[2] = (d) => t.bdc_djzb.下拉必填 = d),
|
|
92
|
-
disabled: n.disabled,
|
|
93
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
94
|
-
"write-field": "bdc_djzb.下拉必填",
|
|
95
|
-
onBlur: e[3] || (e[3] = (d) => o(m)(d, "blur", t.bdc_djzb.下拉必填))
|
|
96
|
-
}, {
|
|
97
|
-
default: a(() => [
|
|
98
|
-
l(j, { value: "lucy" }, {
|
|
99
|
-
default: a(() => [
|
|
100
|
-
u("Lucy")
|
|
101
|
-
]),
|
|
102
|
-
_: 1
|
|
103
|
-
}),
|
|
104
|
-
l(j, { value: "nancy" }, {
|
|
105
|
-
default: a(() => [
|
|
106
|
-
u("Nancy")
|
|
107
|
-
]),
|
|
108
|
-
_: 1
|
|
109
|
-
})
|
|
110
|
-
]),
|
|
111
|
-
_: 1
|
|
112
|
-
}, 8, ["value", "disabled"])
|
|
113
|
-
]),
|
|
114
|
-
_: 1
|
|
115
|
-
}, 16),
|
|
116
|
-
l(b, i({
|
|
117
|
-
label: "多选框必填",
|
|
118
|
-
required: ""
|
|
119
|
-
}, o(s)["bdc_djzb.多选框必填"]), {
|
|
120
|
-
default: a(() => [
|
|
121
|
-
l(k, {
|
|
122
|
-
value: t.bdc_djzb.多选框必填,
|
|
123
|
-
"onUpdate:value": e[4] || (e[4] = (d) => t.bdc_djzb.多选框必填 = d),
|
|
124
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
125
|
-
"write-field": "bdc_djzb.多选框必填",
|
|
126
|
-
disabled: n.disabled
|
|
127
|
-
}, {
|
|
128
|
-
default: a(() => [
|
|
129
|
-
l(f, {
|
|
130
|
-
name: "type",
|
|
131
|
-
value: "1"
|
|
132
|
-
}, {
|
|
133
|
-
default: a(() => [
|
|
134
|
-
u("Online")
|
|
135
|
-
]),
|
|
136
|
-
_: 1
|
|
137
|
-
}),
|
|
138
|
-
l(f, {
|
|
139
|
-
name: "type",
|
|
140
|
-
value: "2"
|
|
141
|
-
}, {
|
|
142
|
-
default: a(() => [
|
|
143
|
-
u("Promotion")
|
|
144
|
-
]),
|
|
145
|
-
_: 1
|
|
146
|
-
}),
|
|
147
|
-
l(f, {
|
|
148
|
-
name: "type",
|
|
149
|
-
value: "3"
|
|
150
|
-
}, {
|
|
151
|
-
default: a(() => [
|
|
152
|
-
u("Offline")
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
})
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
}, 8, ["value", "disabled"])
|
|
159
|
-
]),
|
|
160
|
-
_: 1
|
|
161
|
-
}, 16),
|
|
162
|
-
l(b, i({
|
|
163
|
-
label: "单选必填",
|
|
164
|
-
required: ""
|
|
165
|
-
}, o(s)["bdc_djzb.单选必填"]), {
|
|
166
|
-
default: a(() => [
|
|
167
|
-
l(q, {
|
|
168
|
-
value: t.bdc_djzb.单选必填,
|
|
169
|
-
"onUpdate:value": e[5] || (e[5] = (d) => t.bdc_djzb.单选必填 = d),
|
|
170
|
-
disabled: n.disabled,
|
|
171
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
172
|
-
"write-field": "bdc_djzb.单选必填"
|
|
173
|
-
}, {
|
|
174
|
-
default: a(() => [
|
|
175
|
-
l(_, { value: "1" }, {
|
|
176
|
-
default: a(() => [
|
|
177
|
-
u("A")
|
|
178
|
-
]),
|
|
179
|
-
_: 1
|
|
180
|
-
}),
|
|
181
|
-
l(_, { value: "2" }, {
|
|
182
|
-
default: a(() => [
|
|
183
|
-
u("B")
|
|
184
|
-
]),
|
|
185
|
-
_: 1
|
|
186
|
-
}),
|
|
187
|
-
l(_, { value: "3" }, {
|
|
188
|
-
default: a(() => [
|
|
189
|
-
u("C")
|
|
190
|
-
]),
|
|
191
|
-
_: 1
|
|
192
|
-
}),
|
|
193
|
-
l(_, { value: "4" }, {
|
|
194
|
-
default: a(() => [
|
|
195
|
-
u("D")
|
|
196
|
-
]),
|
|
197
|
-
_: 1
|
|
198
|
-
})
|
|
199
|
-
]),
|
|
200
|
-
_: 1
|
|
201
|
-
}, 8, ["value", "disabled"])
|
|
202
|
-
]),
|
|
203
|
-
_: 1
|
|
204
|
-
}, 16),
|
|
205
|
-
l(b, i({
|
|
206
|
-
label: "日期范围",
|
|
207
|
-
required: ""
|
|
208
|
-
}, o(s)["bdc_djzb.range"]), {
|
|
209
|
-
default: a(() => [
|
|
210
|
-
c("div", F, [
|
|
211
|
-
l(Y, {
|
|
212
|
-
value: t.bdc_djzb.range,
|
|
213
|
-
"onUpdate:value": e[6] || (e[6] = (d) => t.bdc_djzb.range = d),
|
|
214
|
-
disabled: n.disabled,
|
|
215
|
-
format: "YYYY-MM-DD",
|
|
216
|
-
"value-format": "YYYY-MM-DD",
|
|
217
|
-
onBlur: e[7] || (e[7] = (d) => o(m)(d, "blur"))
|
|
218
|
-
}, null, 8, ["value", "disabled"])
|
|
219
|
-
])
|
|
220
|
-
]),
|
|
221
|
-
_: 1
|
|
222
|
-
}, 16),
|
|
223
|
-
l(b, i({
|
|
224
|
-
label: "日期",
|
|
225
|
-
required: ""
|
|
226
|
-
}, o(s)["bdc_djzb.time"]), {
|
|
227
|
-
default: a(() => [
|
|
228
|
-
c("div", S, [
|
|
229
|
-
l(D, {
|
|
230
|
-
value: t.bdc_djzb.time,
|
|
231
|
-
"onUpdate:value": e[8] || (e[8] = (d) => t.bdc_djzb.time = d),
|
|
232
|
-
disabled: n.disabled,
|
|
233
|
-
format: "YYYY-MM-DD",
|
|
234
|
-
"value-format": "YYYY-MM-DD",
|
|
235
|
-
onBlur: e[9] || (e[9] = (d) => o(m)(d, "blur"))
|
|
236
|
-
}, null, 8, ["value", "disabled"])
|
|
237
|
-
])
|
|
238
|
-
]),
|
|
239
|
-
_: 1
|
|
240
|
-
}, 16),
|
|
241
|
-
l(b, i({
|
|
242
|
-
label: "多文本",
|
|
243
|
-
required: ""
|
|
244
|
-
}, o(s)["bdc_djzb.textarea;bdc_djzb.id"]), {
|
|
245
|
-
default: a(() => [
|
|
246
|
-
l(M, {
|
|
247
|
-
value: t.bdc_djzb.textarea,
|
|
248
|
-
"onUpdate:value": e[10] || (e[10] = (d) => t.bdc_djzb.textarea = d),
|
|
249
|
-
disabled: n.disabled,
|
|
250
|
-
placeholder: "请输入多文本",
|
|
251
|
-
"auto-size": { minRows: "2", maxRows: "5" },
|
|
252
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
253
|
-
"write-field": "bdc_djzb.textarea;bdc_djzb.id",
|
|
254
|
-
onBlur: e[11] || (e[11] = (d) => o(m)(d, "blur"))
|
|
255
|
-
}, null, 8, ["value", "disabled"])
|
|
256
|
-
]),
|
|
257
|
-
_: 1
|
|
258
|
-
}, 16),
|
|
259
|
-
l(b, i({
|
|
260
|
-
label: "名称",
|
|
261
|
-
required: ""
|
|
262
|
-
}, o(s)["bdc_ywfw.name"]), {
|
|
263
|
-
default: a(() => [
|
|
264
|
-
l(z, {
|
|
265
|
-
value: t.bdc_ywfw.name,
|
|
266
|
-
"onUpdate:value": e[12] || (e[12] = (d) => t.bdc_ywfw.name = d),
|
|
267
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
268
|
-
"write-field": "bdc_ywfw.name",
|
|
269
|
-
disabled: n.disabled,
|
|
270
|
-
onBlur: e[13] || (e[13] = (d) => o(m)(d, "blur"))
|
|
271
|
-
}, null, 8, ["value", "disabled"])
|
|
272
|
-
]),
|
|
273
|
-
_: 1
|
|
274
|
-
}, 16),
|
|
275
|
-
c("a", { onClick: g }, "测试弹窗")
|
|
276
|
-
]),
|
|
277
|
-
_: 1
|
|
278
|
-
}, 8, ["model"])
|
|
279
|
-
], 512);
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
});
|
|
283
|
-
export {
|
|
284
|
-
L as _
|
|
285
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { defineComponent as w, ref as r, reactive as y, onMounted as j, resolveComponent as n, openBlock as z, createElementBlock as g, createVNode as t, withCtx as a, mergeProps as s, unref as d } from "vue";
|
|
2
|
-
import { o as x, v as f, b as p } from "./index-ae909b3d.js";
|
|
3
|
-
const C = /* @__PURE__ */ w({
|
|
4
|
-
__name: "PreviewDemo2",
|
|
5
|
-
props: {
|
|
6
|
-
disabled: {
|
|
7
|
-
type: Boolean,
|
|
8
|
-
default: !1
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
setup(i, { expose: _ }) {
|
|
12
|
-
r([]), r([]);
|
|
13
|
-
const l = y({
|
|
14
|
-
bdc_djzb: {
|
|
15
|
-
业务号: "",
|
|
16
|
-
age: 20,
|
|
17
|
-
受理编号: 2
|
|
18
|
-
},
|
|
19
|
-
bdc_ywfw: {
|
|
20
|
-
name: "",
|
|
21
|
-
title: "我是yefw"
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
let u = r();
|
|
25
|
-
_({
|
|
26
|
-
onSubmit: c
|
|
27
|
-
}), j(() => {
|
|
28
|
-
console.info("我是预览页面");
|
|
29
|
-
});
|
|
30
|
-
function c() {
|
|
31
|
-
return x(u.value);
|
|
32
|
-
}
|
|
33
|
-
return (B, e) => {
|
|
34
|
-
const m = n("a-input"), b = n("a-form-item"), v = n("a-form");
|
|
35
|
-
return z(), g("div", {
|
|
36
|
-
class: "cici-form-css",
|
|
37
|
-
ref_key: "formRef",
|
|
38
|
-
ref: u
|
|
39
|
-
}, [
|
|
40
|
-
t(v, {
|
|
41
|
-
"label-col": { style: { width: "100px" } },
|
|
42
|
-
labelWrap: !0,
|
|
43
|
-
model: l
|
|
44
|
-
}, {
|
|
45
|
-
default: a(() => [
|
|
46
|
-
t(b, s({
|
|
47
|
-
required: "",
|
|
48
|
-
label: "受理编号"
|
|
49
|
-
}, d(f)["bdc_djzb.受理编号"]), {
|
|
50
|
-
default: a(() => [
|
|
51
|
-
t(m, {
|
|
52
|
-
value: l.bdc_djzb.受理编号,
|
|
53
|
-
"onUpdate:value": e[0] || (e[0] = (o) => l.bdc_djzb.受理编号 = o),
|
|
54
|
-
valueModifiers: { number: !0 },
|
|
55
|
-
disabled: i.disabled,
|
|
56
|
-
"write-field": "bdc_djzb.受理编号",
|
|
57
|
-
rules: [{ type: "required", msg: "必须填写此项" }, { type: "number", msg: "请填写数字" }],
|
|
58
|
-
onBlur: e[1] || (e[1] = (o) => d(p)(o, "blur"))
|
|
59
|
-
}, null, 8, ["value", "disabled"])
|
|
60
|
-
]),
|
|
61
|
-
_: 1
|
|
62
|
-
}, 16),
|
|
63
|
-
t(b, s({
|
|
64
|
-
required: "",
|
|
65
|
-
label: "名称"
|
|
66
|
-
}, d(f)["bdc_djzb.name"]), {
|
|
67
|
-
default: a(() => [
|
|
68
|
-
t(m, {
|
|
69
|
-
value: l.bdc_ywfw.name,
|
|
70
|
-
"onUpdate:value": e[2] || (e[2] = (o) => l.bdc_ywfw.name = o),
|
|
71
|
-
disabled: i.disabled,
|
|
72
|
-
"write-field": "bdc_djzb.name",
|
|
73
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
74
|
-
onBlur: e[3] || (e[3] = (o) => d(p)(o, "blur"))
|
|
75
|
-
}, null, 8, ["value", "disabled"])
|
|
76
|
-
]),
|
|
77
|
-
_: 1
|
|
78
|
-
}, 16)
|
|
79
|
-
]),
|
|
80
|
-
_: 1
|
|
81
|
-
}, 8, ["model"])
|
|
82
|
-
], 512);
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
export {
|
|
87
|
-
C as _
|
|
88
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, ref as m, reactive as w, onMounted as C, onBeforeUpdate as D, resolveComponent as l, openBlock as K, createElementBlock as R, createVNode as e, unref as c, isRef as g, withCtx as o, createElementVNode as p } from "vue";
|
|
2
|
-
import { _ as x } from "./PreviewDemo.vue_vue_type_script_setup_true_lang-c74625b2.js";
|
|
3
|
-
import { _ as B } from "./PreviewDemo2.vue_vue_type_script_setup_true_lang-d03684e1.js";
|
|
4
|
-
import { s as h } from "./index-ae909b3d.js";
|
|
5
|
-
const E = { class: "cici-form-css" }, z = /* @__PURE__ */ k({
|
|
6
|
-
__name: "PreviewDemo3",
|
|
7
|
-
setup(M) {
|
|
8
|
-
let t = m("1"), n = [], i = !1, a = m(!1);
|
|
9
|
-
w({
|
|
10
|
-
bdc_djzb: {
|
|
11
|
-
业务号: "",
|
|
12
|
-
age: 20,
|
|
13
|
-
受理编号: 2
|
|
14
|
-
},
|
|
15
|
-
bdc_ywfw: {
|
|
16
|
-
name: "",
|
|
17
|
-
title: "我是yefw"
|
|
18
|
-
}
|
|
19
|
-
}), C(() => {
|
|
20
|
-
i = !0;
|
|
21
|
-
}), D(() => {
|
|
22
|
-
n = [];
|
|
23
|
-
});
|
|
24
|
-
const f = (s) => {
|
|
25
|
-
s && i && n.push(s);
|
|
26
|
-
};
|
|
27
|
-
function u() {
|
|
28
|
-
h(n);
|
|
29
|
-
}
|
|
30
|
-
function b() {
|
|
31
|
-
a.value = !a.value;
|
|
32
|
-
}
|
|
33
|
-
return (s, r) => {
|
|
34
|
-
const _ = l("a-tab-pane"), v = l("a-tabs"), y = l("a-space");
|
|
35
|
-
return K(), R("div", E, [
|
|
36
|
-
e(v, {
|
|
37
|
-
activeKey: c(t),
|
|
38
|
-
"onUpdate:activeKey": r[0] || (r[0] = (d) => g(t) ? t.value = d : t = d)
|
|
39
|
-
}, {
|
|
40
|
-
default: o(() => [
|
|
41
|
-
e(_, {
|
|
42
|
-
key: "1",
|
|
43
|
-
tab: "测试1"
|
|
44
|
-
}, {
|
|
45
|
-
default: o(() => [
|
|
46
|
-
e(x, {
|
|
47
|
-
ref: f,
|
|
48
|
-
disabled: c(a)
|
|
49
|
-
}, null, 8, ["disabled"])
|
|
50
|
-
]),
|
|
51
|
-
_: 1
|
|
52
|
-
}),
|
|
53
|
-
e(_, {
|
|
54
|
-
key: "2",
|
|
55
|
-
tab: "测试2",
|
|
56
|
-
forceRender: ""
|
|
57
|
-
}, {
|
|
58
|
-
default: o(() => [
|
|
59
|
-
e(B, {
|
|
60
|
-
ref: f,
|
|
61
|
-
disabled: c(a)
|
|
62
|
-
}, null, 8, ["disabled"])
|
|
63
|
-
]),
|
|
64
|
-
_: 1
|
|
65
|
-
})
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 8, ["activeKey"]),
|
|
69
|
-
e(y, null, {
|
|
70
|
-
default: o(() => [
|
|
71
|
-
p("a", { onClick: u }, "保存"),
|
|
72
|
-
p("a", { onClick: b }, "是否允许编辑")
|
|
73
|
-
]),
|
|
74
|
-
_: 1
|
|
75
|
-
})
|
|
76
|
-
]);
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
export {
|
|
81
|
-
z as default
|
|
82
|
-
};
|
package/dist/Table-28a24022.js
DELETED
package/dist/ceshi2-d399c135.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, ref as n, reactive as x, resolveComponent as d, openBlock as I, createElementBlock as C, createVNode as a, unref as t, isRef as T, withCtx as m } from "vue";
|
|
2
|
-
import { g as R, o as O, a as A } from "./index-ae909b3d.js";
|
|
3
|
-
const B = /* @__PURE__ */ k({
|
|
4
|
-
__name: "ceshi2",
|
|
5
|
-
setup(K, { expose: p }) {
|
|
6
|
-
n([]);
|
|
7
|
-
let l = n(), c = n({ wonder_form: {}, wonder_form1: {}, BW_PROGRAM_LOCATION: {} });
|
|
8
|
-
R(c);
|
|
9
|
-
let i = n("Tab2"), b = n([]), g = n([]), s = x({ pagination2: { total: 0, current: 1, pageSize: 5 }, pagination3: { total: 0, current: 1, pageSize: 5 } });
|
|
10
|
-
const r = { columns2: [{ key: "column-fdae630a-3839-a1a3-716c-b3c013f840c4", title: "id", dataIndex: "id", width: "auto", options: { hidden: !1 } }, { key: "column-4cabf6bf-e072-d0b0-9161-ef3b967b0fa4", title: "code", dataIndex: "code", width: "auto", options: { hidden: !1 } }, { key: "column-ffb43c61-75e2-2a89-2891-00d9a5a1ac92", title: "form_name", dataIndex: "form_name", width: "auto", options: { hidden: !1 } }], columns3: [{ key: "column-cbc04157-dd75-dba2-94c9-143822ef380d", title: "doc_no", dataIndex: "doc_no", width: "auto", options: { hidden: !1 } }, { key: "column-97159629-04b1-ee99-fa5c-161b33d9e1e4", title: "loc_district", dataIndex: "loc_district", width: "auto", options: { hidden: !1 } }, { key: "column-0db8e0bc-e7b3-ac8d-9200-7f31d7f400a2", title: "loc_location", dataIndex: "loc_location", width: "auto", options: { hidden: !1 } }, { key: "column-32cb70b4-e52c-3d01-88f4-66b4081471a5", title: "checkd_func", dataIndex: "checkd_func", width: "auto", options: { hidden: !1 } }] };
|
|
11
|
-
function h() {
|
|
12
|
-
return O(l.value);
|
|
13
|
-
}
|
|
14
|
-
return p({
|
|
15
|
-
onSubmit: h
|
|
16
|
-
}), (f, e) => {
|
|
17
|
-
const u = d("a-tab-pane"), y = d("a-tabs"), w = d("a-input"), v = d("a-form-item"), _ = d("a-table");
|
|
18
|
-
return I(), C("div", {
|
|
19
|
-
ref_key: "formRef",
|
|
20
|
-
ref: l,
|
|
21
|
-
class: "cici-form-css"
|
|
22
|
-
}, [
|
|
23
|
-
a(y, {
|
|
24
|
-
activeKey: t(i),
|
|
25
|
-
"onUpdate:activeKey": e[0] || (e[0] = (o) => T(i) ? i.value = o : i = o),
|
|
26
|
-
hideAdd: "",
|
|
27
|
-
type: "line",
|
|
28
|
-
style: { width: "100%" }
|
|
29
|
-
}, {
|
|
30
|
-
default: m(() => [
|
|
31
|
-
a(u, {
|
|
32
|
-
key: "Tab1",
|
|
33
|
-
tab: "Tab1",
|
|
34
|
-
closable: !1,
|
|
35
|
-
"force-render": ""
|
|
36
|
-
}),
|
|
37
|
-
a(u, {
|
|
38
|
-
key: "Tab2",
|
|
39
|
-
tab: "Tab2",
|
|
40
|
-
closable: !1,
|
|
41
|
-
"force-render": ""
|
|
42
|
-
})
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
45
|
-
}, 8, ["activeKey"]),
|
|
46
|
-
a(v, {
|
|
47
|
-
label: "单行文本",
|
|
48
|
-
"label-col": { style: { width: "100px" } }
|
|
49
|
-
}, {
|
|
50
|
-
default: m(() => [
|
|
51
|
-
a(w, {
|
|
52
|
-
value: t(c).wonder_form.code,
|
|
53
|
-
"onUpdate:value": e[1] || (e[1] = (o) => t(c).wonder_form.code = o),
|
|
54
|
-
"write-field": "wonder_form.code",
|
|
55
|
-
prefix: "",
|
|
56
|
-
suffix: ""
|
|
57
|
-
}, null, 8, ["value"])
|
|
58
|
-
]),
|
|
59
|
-
_: 1
|
|
60
|
-
}),
|
|
61
|
-
a(_, {
|
|
62
|
-
columns: r.columns2,
|
|
63
|
-
"data-source": t(b),
|
|
64
|
-
pagination: t(s).pagination2,
|
|
65
|
-
onChange: e[2] || (e[2] = (o) => f.onChange2(o, "pagination2")),
|
|
66
|
-
bordered: ""
|
|
67
|
-
}, null, 8, ["columns", "data-source", "pagination"]),
|
|
68
|
-
a(_, {
|
|
69
|
-
columns: r.columns3,
|
|
70
|
-
"data-source": t(g),
|
|
71
|
-
pagination: t(s).pagination3,
|
|
72
|
-
onChange: e[3] || (e[3] = (o) => f.onChange3(o, "pagination3")),
|
|
73
|
-
bordered: ""
|
|
74
|
-
}, null, 8, ["columns", "data-source", "pagination"])
|
|
75
|
-
], 512);
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
const z = /* @__PURE__ */ A(B, [["__scopeId", "data-v-2d70ecab"]]);
|
|
80
|
-
export {
|
|
81
|
-
z as default
|
|
82
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, ref as i, onBeforeUpdate as b, resolveComponent as s, openBlock as f, createElementBlock as D, createVNode as m, mergeProps as x, unref as r, withCtx as d, createElementVNode as F, createBlock as P, createCommentVNode as S } from "vue";
|
|
2
|
-
import { g as y, v as k, b as C, _ as T, o as B, a as I } from "./index-ae909b3d.js";
|
|
3
|
-
const M = {
|
|
4
|
-
class: "ant-picker-custom",
|
|
5
|
-
"write-field": "wonder_form.create_time"
|
|
6
|
-
}, O = /* @__PURE__ */ h({
|
|
7
|
-
__name: "ceshiDemo",
|
|
8
|
-
setup(j, { expose: l }) {
|
|
9
|
-
i([]);
|
|
10
|
-
let p = i(), n = i({ wonder_form: {}, wonder_form1: {} });
|
|
11
|
-
const u = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-790a83c6.js"), "/src/components/HelloWorld.vue": () => import("./index-ae909b3d.js").then((e) => e.H), "/src/components/cModal/index.vue": () => import("./index-ae909b3d.js").then((e) => e.O), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-1a46e611.js"), "/src/components/form-widget/widget/tableSelect.vue": () => import("./index-ae909b3d.js").then((e) => e.Q), "/src/components/form-widget/widget/tableSelectDemo.vue": () => import("./tableSelectDemo-91143acc.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-72697acb.js"), "/src/components/generate/Demo.vue": () => import("./Demo-d347a1c2.js"), "/src/components/generate/FormPublic.vue": () => import("./FormPublic-277fc835.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-e631bb7e.js"), "/src/components/icon/SvgIcon.vue": () => import("./index-ae909b3d.js").then((e) => e.S), "/src/components/monaco/monacoEditor.vue": () => import("./index-ae909b3d.js").then((e) => e.K), "/src/components/table/cTable.vue": () => import("./cTable-6ef99e66.js"), "/src/components/wonderform/config/index.vue": () => import("./index-ae909b3d.js").then((e) => e.N), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-395e8c20.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => import("./index-ae909b3d.js").then((e) => e.J), "/src/components/wonderform/config/modules/Form.vue": () => import("./Form-417fdfad.js"), "/src/components/wonderform/config/modules/Grid.vue": () => import("./Grid-f6ec82a6.js"), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-52e86c3f.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-d3e56205.js"), "/src/components/wonderform/config/modules/Properties.vue": () => import("./index-ae909b3d.js").then((e) => e.P), "/src/components/wonderform/config/modules/Table.vue": () => import("./Table-28a24022.js"), "/src/components/wonderform/config/modules/TableColumn.vue": () => import("./index-ae909b3d.js").then((e) => e.T), "/src/components/wonderform/config/modules/Tabs.vue": () => import("./index-ae909b3d.js").then((e) => e.M), "/src/components/wonderform/config/modules/TypeScript.vue": () => import("./index-ae909b3d.js").then((e) => e.L), "/src/components/wonderform/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => import("./index-ae909b3d.js").then((e) => e.I), "/src/components/wonderform/design/modules/FormGrid.vue": () => import("./index-ae909b3d.js").then((e) => e.B), "/src/components/wonderform/design/modules/FormInput.vue": () => import("./index-ae909b3d.js").then((e) => e.A), "/src/components/wonderform/design/modules/FormReport.vue": () => import("./index-ae909b3d.js").then((e) => e.D), "/src/components/wonderform/design/modules/FormTable.vue": () => import("./index-ae909b3d.js").then((e) => e.C), "/src/components/wonderform/design/modules/FormTabs.vue": () => import("./index-ae909b3d.js").then((e) => e.G), "/src/components/wonderform/design/modules/FormVue.vue": () => import("./index-ae909b3d.js").then((e) => e.E), "/src/components/wonderform/dsource/index.vue": () => import("./index-ae909b3d.js").then((e) => e.U), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-2b638336.js"), "/src/components/wonderform/free/Demo.vue": () => import("./Demo-8d597096.js"), "/src/components/wonderform/free/Preview0925.vue": () => import("./Preview0925-fdfb9dcc.js"), "/src/components/wonderform/free/PreviewDemo.vue": () => import("./PreviewDemo-20d4552f.js"), "/src/components/wonderform/free/PreviewDemo2.vue": () => import("./PreviewDemo2-07cc2276.js"), "/src/components/wonderform/free/PreviewDemo3.vue": () => import("./PreviewDemo3-3c1071f6.js"), "/src/components/wonderform/free/ceshi2.vue": () => import("./ceshi2-d399c135.js"), "/src/components/wonderform/free/ceshiDemo.vue": () => Promise.resolve().then(() => V), "/src/components/wonderform/free/modalDemo.vue": () => import("./modalDemo-396a6892.js"), "/src/components/wonderform/header/Header.vue": () => import("./index-ae909b3d.js").then((e) => e.R), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-953bd738.js"), "/src/components/wonderform/index.vue": () => import("./index-ae909b3d.js").then((e) => e.V), "/src/components/wonderform/tool/index.vue": () => import("./index-ae909b3d.js").then((e) => e.y), "/src/views/sys/login/Login.vue": () => import("./Login-74d2a8c0.js"), "/src/views/workbench/index.vue": () => import("./index-a03a7e79.js") });
|
|
12
|
-
console.log("modules", u), b(() => {
|
|
13
|
-
}), y(n);
|
|
14
|
-
function a(e) {
|
|
15
|
-
let o = `/src/${e}.vue`;
|
|
16
|
-
return e ? Object.keys(u).includes(o) : !1;
|
|
17
|
-
}
|
|
18
|
-
function v() {
|
|
19
|
-
return B(p.value);
|
|
20
|
-
}
|
|
21
|
-
return l({
|
|
22
|
-
onSubmit: v
|
|
23
|
-
}), (e, o) => {
|
|
24
|
-
const w = s("a-input"), c = s("a-form-item"), _ = s("a-textarea"), g = s("a-date-picker");
|
|
25
|
-
return f(), D("div", {
|
|
26
|
-
ref_key: "formRef",
|
|
27
|
-
ref: p,
|
|
28
|
-
class: "cici-form-css"
|
|
29
|
-
}, [
|
|
30
|
-
m(c, x({
|
|
31
|
-
label: "单行文本1",
|
|
32
|
-
required: ""
|
|
33
|
-
}, r(k)["wonder_form.code"]), {
|
|
34
|
-
default: d(() => [
|
|
35
|
-
m(w, {
|
|
36
|
-
value: r(n).wonder_form.code,
|
|
37
|
-
"onUpdate:value": o[0] || (o[0] = (t) => r(n).wonder_form.code = t),
|
|
38
|
-
"write-field": "wonder_form.code",
|
|
39
|
-
prefix: "",
|
|
40
|
-
suffix: "",
|
|
41
|
-
rules: [{ type: "required", msg: "不能为空" }],
|
|
42
|
-
onBlur: o[1] || (o[1] = (t) => r(C)(t, "blur"))
|
|
43
|
-
}, null, 8, ["value"])
|
|
44
|
-
]),
|
|
45
|
-
_: 1
|
|
46
|
-
}, 16),
|
|
47
|
-
m(c, { label: "多行文本" }, {
|
|
48
|
-
default: d(() => [
|
|
49
|
-
m(_, {
|
|
50
|
-
value: r(n).wonder_form1.form_name,
|
|
51
|
-
"onUpdate:value": o[2] || (o[2] = (t) => r(n).wonder_form1.form_name = t),
|
|
52
|
-
"write-field": "wonder_rule.rule_name,wonder_form.form_name",
|
|
53
|
-
placeholder: "",
|
|
54
|
-
rows: 2
|
|
55
|
-
}, null, 8, ["value"])
|
|
56
|
-
]),
|
|
57
|
-
_: 1
|
|
58
|
-
}),
|
|
59
|
-
m(c, { label: "日期" }, {
|
|
60
|
-
default: d(() => [
|
|
61
|
-
F("div", M, [
|
|
62
|
-
m(g, {
|
|
63
|
-
value: r(n).wonder_form.create_time,
|
|
64
|
-
"onUpdate:value": o[3] || (o[3] = (t) => r(n).wonder_form.create_time = t),
|
|
65
|
-
"value-format": "YYYY-MM-DD"
|
|
66
|
-
}, null, 8, ["value"])
|
|
67
|
-
])
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}),
|
|
71
|
-
a("components/wonderform/free/ceshi2") ? (f(), P(T, {
|
|
72
|
-
key: 0,
|
|
73
|
-
filePath: "components/wonderform/free/ceshi2"
|
|
74
|
-
})) : S("", !0)
|
|
75
|
-
], 512);
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
const U = /* @__PURE__ */ I(O, [["__scopeId", "data-v-747ab1f8"]]), V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
80
|
-
__proto__: null,
|
|
81
|
-
default: U
|
|
82
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
83
|
-
export {
|
|
84
|
-
U as default
|
|
85
|
-
};
|