form-imagining 0.0.91-4-beta25 → 0.0.91-4-beta27
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-CeHnB5Iq.js +30 -0
- package/dist/Area-DfRMMsIz.js +4 -0
- package/dist/Bar-Bv-SjS3U.js +4 -0
- package/dist/ChartsArea-AVupUvwi.js +4 -0
- package/dist/ChartsBar-sqHTD8T0.js +4 -0
- package/dist/ChartsPie-CwbIQGAq.js +4 -0
- package/dist/CheckBoxModel-GwG4VbfR.js +4 -0
- package/dist/Col-hItH-PT5.js +4 -0
- package/dist/Collapse-Bws5eTLn.js +4 -0
- package/dist/{CommonText copy-COQ2cbSQ.js → CommonText copy-BzcCJlsq.js } +38 -38
- package/dist/{Demo copy-CubdSIKo.js → Demo copy-Bux2O9AZ.js } +2 -2
- package/dist/{Demo-9O6Vs1B7.js → Demo-B5wYXUSP.js} +33 -33
- package/dist/{Demo-BnoOVntq.js → Demo-D9RDzwQw.js} +2 -2
- package/dist/FView-DU6e7Rjx.js +4 -0
- package/dist/FX-B-c7pOQY.js +4 -0
- package/dist/{Form-CsKlmwSd.js → Form-CE0VVIWD.js} +4 -4
- package/dist/{FormGridCopy-BgX9zXrR.js → FormGridCopy-C8LqMwuR.js} +32 -32
- package/dist/FormImagining-C2q8KMFi.js +9 -0
- package/dist/GenerateForm-Bz3IuwGv.js +4 -0
- package/dist/GenerateReport-DDL7iiuC.js +4 -0
- package/dist/HelloWorld-CPAlqXdf.js +9 -0
- package/dist/Input-/345/210/240/351/231/{244-BOfAbj5A.js → 244-CwsWX7i2.js} +3 -3
- package/dist/Label-/345/210/240/351/231/{244-BI9eXjja.js → 244-2BG-jjRF.js} +4 -4
- package/dist/LabelModel-AfOAtWgm.js +4 -0
- package/dist/Login-DwnbXR8O.js +9 -0
- package/dist/Pie-BQJFpxQ_.js +4 -0
- package/dist/PropertyIndex-NYEdW5a4.js +4 -0
- package/dist/RView-C8jOJ2Yq.js +4 -0
- package/dist/SqlModule-iH3rLRVj.js +4 -0
- package/dist/{SvgIconCopy-BqCYEAP1.js → SvgIconCopy-0VOln6TR.js} +7 -7
- package/dist/TableBtnModal-Coo4zWqE.js +4 -0
- package/dist/TableModel-wE5FMbci.js +4 -0
- package/dist/TextModel-DE79Aumk.js +9 -0
- package/dist/childForm-YVp-DtGE.js +4 -0
- package/dist/{cssMode-D8bi7U81.js → cssMode-B5ZOc4sU.js} +1 -1
- package/dist/form-imagining.js +4 -4
- package/dist/form-imagining.umd.cjs +292 -290
- package/dist/formTest-B3eW699s.js +19 -0
- package/dist/{freemarker2-BIbccOks.js → freemarker2-CENlXxoo.js} +1 -1
- package/dist/{handlebars-BJu4nj2w.js → handlebars-BjGn1zTj.js} +7 -7
- package/dist/{html-BEG_APTy.js → html-BA-bwyHA.js} +1 -1
- package/dist/{htmlMode-CqCbTZh_.js → htmlMode-B9C4Cz8T.js} +1 -1
- package/dist/index - /345/211/257/346/234/{254-DEYEVHQA.js" → 254-1zQHeyHs.js" } +25 -25
- package/dist/index-B4GGnf6Q.js +3658 -0
- package/dist/{index-DiHQ25zt.js → index-BToMVYUv.js} +5 -5
- package/dist/{index-CdE5rAGt.js → index-DHb_Qaxq.js} +12670 -12754
- package/dist/index-DkmX4rWG.js +11 -0
- package/dist/{javascript-C8Dz11ZA.js → javascript-CX1cq21Y.js} +1 -1
- package/dist/json/scope_type.json +6 -6
- package/dist/{jsonMode-B301ufPT.js → jsonMode-BOwzGdW7.js} +1 -1
- package/dist/{liquid-BGEhyo_E.js → liquid-U_8sanxb.js} +1 -1
- package/dist/{mdx-DWJEmhf8.js → mdx-DVWSYRXh.js} +1 -1
- package/dist/{python-Crf1z73w.js → python-1r7mhe1m.js} +1 -1
- package/dist/{razor-CfJvyfqa.js → razor-XpSkGC_6.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-Ba_0U1le.js → tableSelectDemo-Csjt1FSn.js} +16 -16
- package/dist/{tableSelectDemo2-Bp6A8cTO.js → tableSelectDemo2-bSAfVlOl.js} +6 -6
- package/dist/{tsMode-3hhcoXRk.js → tsMode-DS3zihw3.js} +1 -1
- package/dist/{typescript-CBpc34Hn.js → typescript-BwxGU9Q0.js} +1 -1
- package/dist/{xml-BJe3IxSF.js → xml-BTUhA4QY.js} +1 -1
- package/dist/{yaml-Ce-4hPFw.js → yaml-CbG6sG40.js} +1 -1
- package/package.json +68 -68
- package/dist/App-C0XGVNdy.js +0 -32
- package/dist/App-Cy2zBt4F.js +0 -32
- package/dist/Area-DVAVaC27.js +0 -4
- package/dist/Area-XhkyQ2On.js +0 -4
- package/dist/Bar-DjW5ug6u.js +0 -4
- package/dist/Bar-hr2U6nRr.js +0 -4
- package/dist/ChartsArea-4tXIuIXa.js +0 -4
- package/dist/ChartsArea-DM8dEN-p.js +0 -4
- package/dist/ChartsBar-BFC3q8xE.js +0 -4
- package/dist/ChartsBar-C3vw6k-M.js +0 -4
- package/dist/ChartsPie-D6oDeBgM.js +0 -4
- package/dist/ChartsPie-wNzzM8Tt.js +0 -4
- package/dist/CheckBoxModel-BeVY277j.js +0 -4
- package/dist/CheckBoxModel-OjUVLWdA.js +0 -4
- package/dist/Col-C4Z6tl2L.js +0 -4
- package/dist/Col-DzoY5XOk.js +0 -4
- package/dist/Collapse-COVQHkJL.js +0 -4
- package/dist/Collapse-DYHkA9o7.js +0 -4
- package/dist/CommonText copy-bRE06eRm.js +0 -189
- package/dist/Demo-Dj0Fuhb4.js +0 -201
- package/dist/Demo-UbTEiXgH.js +0 -72
- package/dist/FView-BbqQUHXS.js +0 -4
- package/dist/FView-DqvguInT.js +0 -4
- package/dist/FX-BYJBRVDu.js +0 -4
- package/dist/FX-D_Qgfe3K.js +0 -4
- package/dist/FormGridCopy-Ur7JH45C.js +0 -168
- package/dist/FormImagining-BZD_hyBl.js +0 -9
- package/dist/FormImagining-D_REjsfx.js +0 -9
- package/dist/GenerateForm-DJJk0MyW.js +0 -4
- package/dist/GenerateForm-DRTCVz47.js +0 -4
- package/dist/GenerateReport-D4uPi_-l.js +0 -4
- package/dist/GenerateReport-DuM8hiyK.js +0 -4
- package/dist/HelloWorld-6FioGK1k.js +0 -9
- package/dist/HelloWorld-CnqF-5Ci.js +0 -9
- package/dist/Input-/345/210/240/351/231/244-DA9w9jox.js +0 -87
- package/dist/Label-/345/210/240/351/231/244-Bn_tmauY.js +0 -92
- package/dist/LabelModel-CF16UIAK.js +0 -4
- package/dist/LabelModel-DNIRg2Lf.js +0 -4
- package/dist/Login-64MzHRnv.js +0 -9
- package/dist/Login-C-1NYQ1J.js +0 -9
- package/dist/Pie-CsOIHwQc.js +0 -4
- package/dist/Pie-IZZKih_y.js +0 -4
- package/dist/PropertyIndex-B29UUPhF.js +0 -4
- package/dist/PropertyIndex-CzYFB5V7.js +0 -4
- package/dist/RView-DR3_VMTs.js +0 -4
- package/dist/RView-o73nJ2rO.js +0 -4
- package/dist/SqlModule-BZ5NvxkN.js +0 -4
- package/dist/SqlModule-S0Q7C7hM.js +0 -4
- package/dist/SvgIconCopy-Dt_6EouD.js +0 -39
- package/dist/TableBtnModal-Ce3FF69T.js +0 -4
- package/dist/TableBtnModal-edwM36WN.js +0 -4
- package/dist/TableModel-Cze0i_Qu.js +0 -4
- package/dist/TableModel-yuyjF5Ei.js +0 -4
- package/dist/TextModel-Br8jhuxP.js +0 -9
- package/dist/TextModel-DigL9DE8.js +0 -9
- package/dist/childForm-BKg0RAj3.js +0 -4
- package/dist/childForm-BNnQX9SC.js +0 -4
- package/dist/cssMode-YUlrvQ6h.js +0 -1577
- package/dist/formTest-BTogMiGb.js +0 -19
- package/dist/formTest-DK3A78bl.js +0 -19
- package/dist/freemarker2-BidAIG-4.js +0 -995
- package/dist/handlebars-Bdc1dfaZ.js +0 -425
- package/dist/html-BcxN5cW3.js +0 -314
- package/dist/htmlMode-CqTUqUDJ.js +0 -1587
- package/dist/index - /345/211/257/346/234/254-eTLL61cu.js" +0 -531
- package/dist/index-CGT0q2_a.js +0 -3323
- package/dist/index-CQDYfa2o.js +0 -11
- package/dist/index-CtvzNLOk.js +0 -3323
- package/dist/index-D6kO24sZ.js +0 -299321
- package/dist/index-DBKDMwux.js +0 -11
- package/dist/index-rSuEfEyl.js +0 -36
- package/dist/javascript-Dd_t2j2L.js +0 -76
- package/dist/jsonMode-DJDD0shd.js +0 -2002
- package/dist/liquid-Bax6sw1P.js +0 -246
- package/dist/mdx-X3kAlf4s.js +0 -171
- package/dist/python-DZP7vWTx.js +0 -307
- package/dist/razor-rFf_7v6f.js +0 -556
- package/dist/tableSelectDemo-TGyGTYuH.js +0 -134
- package/dist/tableSelectDemo2-CWFfM0NY.js +0 -108
- package/dist/tsMode-7aG7WNMZ.js +0 -895
- package/dist/typescript-D_DjjXH5.js +0 -349
- package/dist/xml-Dfp3lhbE.js +0 -101
- package/dist/yaml-CmDO3Gkc.js +0 -212
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as c, onMounted as p, resolveComponent as f, createBlock as e, openBlock as o, unref as t, withCtx as n, createVNode as i, resolveDynamicComponent as _ } from "vue";
|
|
2
|
+
import { l as m, R as u } from "./index-DHb_Qaxq.js";
|
|
3
|
+
const C = /* @__PURE__ */ c({
|
|
4
|
+
__name: "App",
|
|
5
|
+
setup(s) {
|
|
6
|
+
return p(() => {
|
|
7
|
+
}), (d, h) => {
|
|
8
|
+
const r = f("a-config-provider");
|
|
9
|
+
return o(), e(r, {
|
|
10
|
+
locale: t(m),
|
|
11
|
+
theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
|
|
12
|
+
}, {
|
|
13
|
+
default: n(() => [
|
|
14
|
+
i(t(u), null, {
|
|
15
|
+
default: n(({ Component: a, route: l }) => [
|
|
16
|
+
(o(), e(_(a), {
|
|
17
|
+
key: l.fullPath
|
|
18
|
+
}))
|
|
19
|
+
]),
|
|
20
|
+
_: 1
|
|
21
|
+
})
|
|
22
|
+
]),
|
|
23
|
+
_: 1
|
|
24
|
+
}, 8, ["locale"]);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
C as default
|
|
30
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as R, computed as f, resolveComponent as u, createElementBlock as c, openBlock as r, createElementVNode as v, createVNode as t, withDirectives as y, withCtx as n, unref as i, h as x, vModelText as O, Fragment as g, renderList as B, createBlock as C, createTextVNode as h, resolveDynamicComponent as z, toDisplayString as j } from "vue";
|
|
2
|
+
import { B as S, z as F, G, H, I as J, J as K, K as P, L as Q, M as q, N as X, O as Y, P as Z, Q as $, x as ee } from "./index-DHb_Qaxq.js";
|
|
3
|
+
const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe = /* @__PURE__ */ R({
|
|
4
4
|
__name: "CommonText copy",
|
|
5
5
|
props: {
|
|
6
6
|
textElement: {
|
|
@@ -9,26 +9,26 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
emits: ["update:textElement"],
|
|
12
|
-
setup(
|
|
13
|
-
const A =
|
|
12
|
+
setup(k, { emit: w }) {
|
|
13
|
+
const A = k, E = w, e = f({
|
|
14
14
|
get: () => A.textElement,
|
|
15
|
-
set: (a) =>
|
|
16
|
-
}),
|
|
15
|
+
set: (a) => E("update:textElement", a)
|
|
16
|
+
}), U = [
|
|
17
17
|
{ value: "solid", label: "实线", icon: Y },
|
|
18
18
|
{ value: "dashed", label: "虚线", icon: Z },
|
|
19
19
|
{ value: "dotted", label: "点线", icon: $ }
|
|
20
20
|
], m = [
|
|
21
|
-
{ value: "none", label: "无框线", icon:
|
|
21
|
+
{ value: "none", label: "无框线", icon: S },
|
|
22
22
|
{ value: "all", label: "所有框线", icon: F },
|
|
23
|
-
{ value: "top", label: "上框线", icon:
|
|
24
|
-
{ value: "right", label: "右框线", icon:
|
|
25
|
-
{ value: "bottom", label: "下框线", icon:
|
|
26
|
-
{ value: "left", label: "左框线", icon:
|
|
27
|
-
],
|
|
23
|
+
{ value: "top", label: "上框线", icon: G },
|
|
24
|
+
{ value: "right", label: "右框线", icon: H },
|
|
25
|
+
{ value: "bottom", label: "下框线", icon: J },
|
|
26
|
+
{ value: "left", label: "左框线", icon: K }
|
|
27
|
+
], D = f(() => {
|
|
28
28
|
const a = m.find(
|
|
29
29
|
(o) => o.value === e.value.border
|
|
30
30
|
);
|
|
31
|
-
return a ? a.icon :
|
|
31
|
+
return a ? a.icon : S;
|
|
32
32
|
});
|
|
33
33
|
function T(a) {
|
|
34
34
|
a > 0 && !e.value.borderStyle && (e.value.borderStyle = "solid", e.value.border = "all"), a === 0 && (e.value.border = "none", e.value.borderStyle = null);
|
|
@@ -36,11 +36,11 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
36
36
|
function V({ key: a }) {
|
|
37
37
|
e.value.border = a;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function I() {
|
|
40
40
|
e.value.bold = !e.value.bold;
|
|
41
41
|
}
|
|
42
42
|
return (a, o) => {
|
|
43
|
-
const d = u("a-radio-button"), p = u("a-radio-group"),
|
|
43
|
+
const d = u("a-radio-button"), p = u("a-radio-group"), b = u("a-button"), _ = u("a-input-number"), s = u("a-tooltip"), L = u("a-divider"), M = u("a-menu-item"), N = u("a-menu"), W = u("a-dropdown");
|
|
44
44
|
return r(), c("div", le, [
|
|
45
45
|
v("div", te, [
|
|
46
46
|
t(p, {
|
|
@@ -51,36 +51,36 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
51
51
|
default: n(() => [
|
|
52
52
|
t(d, { value: "left" }, {
|
|
53
53
|
default: n(() => [
|
|
54
|
-
t(i(
|
|
54
|
+
t(i(P))
|
|
55
55
|
]),
|
|
56
56
|
_: 1
|
|
57
57
|
}),
|
|
58
58
|
t(d, { value: "center" }, {
|
|
59
59
|
default: n(() => [
|
|
60
|
-
t(i(
|
|
60
|
+
t(i(Q))
|
|
61
61
|
]),
|
|
62
62
|
_: 1
|
|
63
63
|
}),
|
|
64
64
|
t(d, { value: "right" }, {
|
|
65
65
|
default: n(() => [
|
|
66
|
-
t(i(
|
|
66
|
+
t(i(q))
|
|
67
67
|
]),
|
|
68
68
|
_: 1
|
|
69
69
|
})
|
|
70
70
|
]),
|
|
71
71
|
_: 1
|
|
72
72
|
}, 8, ["value"]),
|
|
73
|
-
t(
|
|
73
|
+
t(b, {
|
|
74
74
|
size: "small",
|
|
75
|
-
icon:
|
|
76
|
-
onClick:
|
|
75
|
+
icon: x(i(X)),
|
|
76
|
+
onClick: I
|
|
77
77
|
}, null, 8, ["icon"]),
|
|
78
78
|
t(s, {
|
|
79
79
|
title: "字号",
|
|
80
80
|
color: "blue"
|
|
81
81
|
}, {
|
|
82
82
|
default: n(() => [
|
|
83
|
-
t(
|
|
83
|
+
t(_, {
|
|
84
84
|
value: e.value.fontSize,
|
|
85
85
|
"onUpdate:value": o[1] || (o[1] = (l) => e.value.fontSize = l),
|
|
86
86
|
placeholder: "字体大小",
|
|
@@ -95,28 +95,28 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
95
95
|
color: "blue"
|
|
96
96
|
}, {
|
|
97
97
|
default: n(() => [
|
|
98
|
-
|
|
98
|
+
y(v("input", {
|
|
99
99
|
type: "color",
|
|
100
100
|
"onUpdate:modelValue": o[2] || (o[2] = (l) => e.value.color = l),
|
|
101
101
|
class: "color-picker"
|
|
102
102
|
}, null, 512), [
|
|
103
|
-
[
|
|
103
|
+
[O, e.value.color]
|
|
104
104
|
])
|
|
105
105
|
]),
|
|
106
106
|
_: 1
|
|
107
107
|
}),
|
|
108
|
-
t(
|
|
108
|
+
t(L, { type: "vertical" }),
|
|
109
109
|
t(W, null, {
|
|
110
110
|
overlay: n(() => [
|
|
111
111
|
t(N, { onClick: V }, {
|
|
112
112
|
default: n(() => [
|
|
113
|
-
(r(), c(
|
|
113
|
+
(r(), c(g, null, B(m, (l) => t(M, {
|
|
114
114
|
key: l.value,
|
|
115
115
|
disabled: l.value === e.value.border
|
|
116
116
|
}, {
|
|
117
117
|
default: n(() => [
|
|
118
|
-
(r(), C(
|
|
119
|
-
|
|
118
|
+
(r(), C(z(l.icon), { style: { fontSize: "18px" } })),
|
|
119
|
+
h(" " + j(l.label), 1)
|
|
120
120
|
]),
|
|
121
121
|
_: 2
|
|
122
122
|
}, 1032, ["disabled"])), 64))
|
|
@@ -125,9 +125,9 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
125
125
|
})
|
|
126
126
|
]),
|
|
127
127
|
default: n(() => [
|
|
128
|
-
t(
|
|
128
|
+
t(b, {
|
|
129
129
|
size: "small",
|
|
130
|
-
icon:
|
|
130
|
+
icon: x(D.value)
|
|
131
131
|
}, null, 8, ["icon"])
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
@@ -137,7 +137,7 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
137
137
|
color: "blue"
|
|
138
138
|
}, {
|
|
139
139
|
default: n(() => [
|
|
140
|
-
t(
|
|
140
|
+
t(_, {
|
|
141
141
|
value: e.value.borderWidth,
|
|
142
142
|
"onUpdate:value": o[3] || (o[3] = (l) => e.value.borderWidth = l),
|
|
143
143
|
min: 0,
|
|
@@ -147,19 +147,19 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
147
147
|
size: "small"
|
|
148
148
|
}, {
|
|
149
149
|
addonAfter: n(() => [...o[6] || (o[6] = [
|
|
150
|
-
|
|
150
|
+
h("px", -1)
|
|
151
151
|
])]),
|
|
152
152
|
_: 1
|
|
153
153
|
}, 8, ["value"])
|
|
154
154
|
]),
|
|
155
155
|
_: 1
|
|
156
156
|
}),
|
|
157
|
-
|
|
157
|
+
y(v("input", {
|
|
158
158
|
type: "color",
|
|
159
159
|
"onUpdate:modelValue": o[4] || (o[4] = (l) => e.value.borderColor = l),
|
|
160
160
|
class: "color-picker"
|
|
161
161
|
}, null, 512), [
|
|
162
|
-
[
|
|
162
|
+
[O, e.value.borderColor]
|
|
163
163
|
]),
|
|
164
164
|
t(p, {
|
|
165
165
|
value: e.value.borderStyle,
|
|
@@ -167,12 +167,12 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
167
167
|
size: "small"
|
|
168
168
|
}, {
|
|
169
169
|
default: n(() => [
|
|
170
|
-
(r(), c(
|
|
170
|
+
(r(), c(g, null, B(U, (l) => t(d, {
|
|
171
171
|
key: l.value,
|
|
172
172
|
value: l.value
|
|
173
173
|
}, {
|
|
174
174
|
default: n(() => [
|
|
175
|
-
(r(), C(
|
|
175
|
+
(r(), C(z(l.icon)))
|
|
176
176
|
]),
|
|
177
177
|
_: 2
|
|
178
178
|
}, 1032, ["value"])), 64))
|
|
@@ -183,7 +183,7 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
183
183
|
]);
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
}), ue = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-
|
|
186
|
+
}), ue = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-19d43bdb"]]);
|
|
187
187
|
export {
|
|
188
188
|
ue as default
|
|
189
189
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as n, resolveComponent as t,
|
|
1
|
+
import { defineComponent as n, resolveComponent as t, createBlock as c, openBlock as p } from "vue";
|
|
2
2
|
const a = /* @__PURE__ */ n({
|
|
3
3
|
__name: "Demo copy",
|
|
4
4
|
setup(r) {
|
|
5
5
|
return (o, s) => {
|
|
6
6
|
const e = t("c-echarts-pie");
|
|
7
|
-
return
|
|
7
|
+
return p(), c(e, { options: o.chartOptionss }, null, 8, ["options"]);
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as J, ref as r, reactive as K, resolveComponent as s, createElementBlock as l, openBlock as n, createVNode as c, withCtx as d, createBlock as _, createCommentVNode as L, createTextVNode as f, unref as a, isRef as P, Fragment as g, toDisplayString as p, withModifiers as Q } from "vue";
|
|
2
|
+
import { am as X, an as z, ao as h, ap as O, s as Y, aq as Z, x as ee } from "./index-DHb_Qaxq.js";
|
|
3
3
|
const te = {
|
|
4
4
|
ref: "formRef",
|
|
5
5
|
class: "cici-form-css",
|
|
@@ -7,11 +7,11 @@ const te = {
|
|
|
7
7
|
}, ae = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "required-text"
|
|
10
|
-
}, oe = { key: 1 }, ne = ["onClick"], ie = /* @__PURE__ */
|
|
10
|
+
}, oe = { key: 1 }, ne = ["onClick"], ie = /* @__PURE__ */ J({
|
|
11
11
|
__name: "Demo",
|
|
12
12
|
setup(de) {
|
|
13
13
|
X();
|
|
14
|
-
let u = r([]),
|
|
14
|
+
let u = r([]), y = r(), w = r([]), B = r({}), q = r(!1), V = r(!1), m = K({
|
|
15
15
|
formId: "",
|
|
16
16
|
tableName: "",
|
|
17
17
|
title: "文件",
|
|
@@ -33,18 +33,18 @@ const te = {
|
|
|
33
33
|
yAxis: [{ name: "抵押", type: "value", min: "1", interval: 100, unit: "个" }],
|
|
34
34
|
series: [{ name: "产权", type: "bar", dataIndex: "cq_count" }, { name: "抵押", type: "bar", dataIndex: "dy_count", unit: "个" }, { name: "预告", type: "line", dataIndex: "yg_count" }]
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
y.value = { total: 0, current: 1, pageSize: 5, showSizeChanger: !1, showTotal: (o) => `共 ${o} 条数据` }, w.value = [{ key: "column-617ff7f2-a54f-1979c0fd2a8-fd70-700057f84a62", title: "year", dataIndex: "year", width: "auto", options: { hidden: !1 }, rules: [] }, { key: "column-1cf72339-f874-1979c0fd2a8-b988-60f9b58ff66a", title: "month", dataIndex: "month", width: "auto", options: { hidden: !1 }, rules: [] }, { key: "column-84b63a70-2238-1979c0fd2a8-29a5-68340db892fa", title: "cq_count", dataIndex: "cq_count", width: "auto", options: { hidden: !1 }, rules: [] }, { key: "column-f8aa1b10-fe0d-1979c0fd2a8-8167-9c69e75fdf15", title: "dy_count", dataIndex: "dy_count", width: "auto", options: { hidden: !1 }, rules: [] }, { key: "column-cf6692ef-5ce7-1979c0fd2a8-4531-cb617052dd15", title: "yg_count", dataIndex: "yg_count", width: "auto", options: { hidden: !1 }, rules: [] }, { id: "action", key: "action", title: "操作", dataIndex: "action", width: "auto", fixed: "right", align: "left", options: { hidden: !1 }, rules: [] }], m.formId = "1935623887264063490", m.title = "刘鹭测试";
|
|
37
37
|
let b = r([]), k = {
|
|
38
38
|
viewData: B,
|
|
39
39
|
dataSource: u,
|
|
40
40
|
reportInfo: m,
|
|
41
|
-
paginations:
|
|
42
|
-
loading:
|
|
41
|
+
paginations: y,
|
|
42
|
+
loading: q,
|
|
43
43
|
sortField: "",
|
|
44
44
|
sortOrder: ""
|
|
45
45
|
};
|
|
46
46
|
function M() {
|
|
47
|
-
|
|
47
|
+
y.value.current = 1, O(k);
|
|
48
48
|
}
|
|
49
49
|
let E = r([]);
|
|
50
50
|
E.value = w.value;
|
|
@@ -52,8 +52,8 @@ const te = {
|
|
|
52
52
|
E.value = o;
|
|
53
53
|
}
|
|
54
54
|
function W(o, i) {
|
|
55
|
-
const { sorter: C, pagination:
|
|
56
|
-
k.sortField =
|
|
55
|
+
const { sorter: C, pagination: x } = o, { field: D, order: I } = C;
|
|
56
|
+
k.sortField = D, k.sortOrder = I, y.value.current = x.current, O(k);
|
|
57
57
|
}
|
|
58
58
|
function $(o) {
|
|
59
59
|
let i = r(o);
|
|
@@ -61,10 +61,10 @@ const te = {
|
|
|
61
61
|
Y.warning("请选择要导出的列");
|
|
62
62
|
return;
|
|
63
63
|
} else
|
|
64
|
-
Z(i, B, m,
|
|
64
|
+
Z(i, B, m, V);
|
|
65
65
|
}
|
|
66
66
|
return (o, i) => {
|
|
67
|
-
const C = s("a-col"),
|
|
67
|
+
const C = s("a-col"), x = s("a-button"), D = s("a-form-item"), I = s("a-row"), F = s("a-form"), H = s("c-echarts-bar"), T = s("a-tag"), U = s("a-divider"), j = s("a-space"), G = s("c-table");
|
|
68
68
|
return n(), l("div", te, [
|
|
69
69
|
c(F, {
|
|
70
70
|
"label-col": { style: { width: "120px" } },
|
|
@@ -93,15 +93,15 @@ const te = {
|
|
|
93
93
|
offset: 0
|
|
94
94
|
}, {
|
|
95
95
|
default: d(() => [
|
|
96
|
-
c(
|
|
96
|
+
c(D, { style: { "text-align": "left", "padding-left": "5px" } }, {
|
|
97
97
|
default: d(() => [
|
|
98
|
-
c(
|
|
98
|
+
c(x, {
|
|
99
99
|
type: "primary",
|
|
100
100
|
onClick: i[0] || (i[0] = (e) => M()),
|
|
101
101
|
class: "btn-icon-content"
|
|
102
102
|
}, {
|
|
103
103
|
default: d(() => [...i[3] || (i[3] = [
|
|
104
|
-
|
|
104
|
+
f(" 查询 ", -1)
|
|
105
105
|
])]),
|
|
106
106
|
_: 1
|
|
107
107
|
})
|
|
@@ -117,28 +117,28 @@ const te = {
|
|
|
117
117
|
]),
|
|
118
118
|
_: 1
|
|
119
119
|
}),
|
|
120
|
-
a(u) && a(u).length > 0 ? (n(),
|
|
120
|
+
a(u) && a(u).length > 0 ? (n(), _(H, {
|
|
121
121
|
key: 0,
|
|
122
122
|
options: a(A),
|
|
123
123
|
data: a(u)
|
|
124
124
|
}, null, 8, ["options", "data"])) : L("", !0),
|
|
125
|
-
c(
|
|
125
|
+
c(G, {
|
|
126
126
|
columns: a(w),
|
|
127
127
|
"data-source": a(u),
|
|
128
128
|
onColumnsChange: R,
|
|
129
|
-
loading: a(
|
|
129
|
+
loading: a(q),
|
|
130
130
|
onExport: $,
|
|
131
|
-
eLoading: a(
|
|
131
|
+
eLoading: a(V),
|
|
132
132
|
value: a(b),
|
|
133
133
|
"onUpdate:value": i[1] || (i[1] = (e) => P(b) ? b.value = e : b = e),
|
|
134
134
|
scroll: { x: "max-content" },
|
|
135
|
-
pagination: a(
|
|
135
|
+
pagination: a(y),
|
|
136
136
|
onChange: i[2] || (i[2] = (e) => W(e))
|
|
137
137
|
}, {
|
|
138
138
|
headerCell: d(({ title: e, column: t }) => {
|
|
139
139
|
var v;
|
|
140
140
|
return [
|
|
141
|
-
(v = t.rules) != null && v.find((N) => N.required) ? (n(), l("span", ae,
|
|
141
|
+
(v = t.rules) != null && v.find((N) => N.required) ? (n(), l("span", ae, p(e), 1)) : (n(), l("span", oe, p(e), 1))
|
|
142
142
|
];
|
|
143
143
|
}),
|
|
144
144
|
bodyCell: d(({ column: e, text: t, record: v, index: N }) => {
|
|
@@ -146,42 +146,42 @@ const te = {
|
|
|
146
146
|
return [
|
|
147
147
|
e.options.displayType == "tag" ? (n(), l(g, { key: 0 }, [
|
|
148
148
|
e.options.tagList.length ? (n(), l(g, { key: 0 }, [
|
|
149
|
-
a(z)(e.options.tagList, t) ? (n(),
|
|
149
|
+
a(z)(e.options.tagList, t) ? (n(), _(T, {
|
|
150
150
|
key: 0,
|
|
151
151
|
color: (S = a(z)(e.options.tagList, t)) == null ? void 0 : S.color[0]
|
|
152
152
|
}, {
|
|
153
153
|
default: d(() => [
|
|
154
|
-
p(
|
|
154
|
+
f(p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 1)
|
|
155
155
|
]),
|
|
156
156
|
_: 2
|
|
157
|
-
}, 1032, ["color"])) : (n(),
|
|
157
|
+
}, 1032, ["color"])) : (n(), _(T, { key: 1 }, {
|
|
158
158
|
default: d(() => [
|
|
159
|
-
p(
|
|
159
|
+
f(p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 1)
|
|
160
160
|
]),
|
|
161
161
|
_: 2
|
|
162
162
|
}, 1024))
|
|
163
|
-
], 64)) : (n(),
|
|
163
|
+
], 64)) : (n(), _(T, { key: 1 }, {
|
|
164
164
|
default: d(() => [
|
|
165
|
-
p(
|
|
165
|
+
f(p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 1)
|
|
166
166
|
]),
|
|
167
167
|
_: 2
|
|
168
168
|
}, 1024))
|
|
169
169
|
], 64)) : e.options.displayType == "href" ? (n(), l("a", {
|
|
170
170
|
key: 1,
|
|
171
171
|
onClick: Q((se) => o.excuteHrefFun(e.options.hrefFun, v), ["stop"])
|
|
172
|
-
},
|
|
172
|
+
}, p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 9, ne)) : (n(), l(g, { key: 2 }, [
|
|
173
173
|
e.dict ? (n(), l(g, { key: 0 }, [
|
|
174
|
-
p(
|
|
174
|
+
f(p(a(h)(e.dict, t)), 1)
|
|
175
175
|
], 64)) : e.treeDict ? (n(), l(g, { key: 1 }, [
|
|
176
|
-
p(
|
|
176
|
+
f(p(o.getLabelByTreeDictCode(e.treeDict, t)), 1)
|
|
177
177
|
], 64)) : L("", !0)
|
|
178
178
|
], 64)),
|
|
179
|
-
e.key === "action" ? (n(),
|
|
179
|
+
e.key === "action" ? (n(), _(j, {
|
|
180
180
|
key: 3,
|
|
181
181
|
size: 0
|
|
182
182
|
}, {
|
|
183
183
|
split: d(() => [
|
|
184
|
-
c(
|
|
184
|
+
c(U, { type: "vertical" })
|
|
185
185
|
]),
|
|
186
186
|
_: 1
|
|
187
187
|
})) : L("", !0)
|
|
@@ -195,7 +195,7 @@ const te = {
|
|
|
195
195
|
], 512);
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
|
-
}), ce = /* @__PURE__ */ ee(ie, [["__scopeId", "data-v-
|
|
198
|
+
}), ce = /* @__PURE__ */ ee(ie, [["__scopeId", "data-v-edc0a571"]]);
|
|
199
199
|
export {
|
|
200
200
|
ce as default
|
|
201
201
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, onBeforeUpdate,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, ref, onBeforeUpdate, createBlock, openBlock, unref } from "vue";
|
|
2
|
+
import { a0 as useFormStore, a1 as generateReportHtml, o as defHttp } from "./index-DHb_Qaxq.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "Demo",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, resolveComponent as o,
|
|
1
|
+
import { defineComponent as d, resolveComponent as o, createBlock as l, openBlock as n, withCtx as c, createCommentVNode as u } from "vue";
|
|
2
2
|
const D = /* @__PURE__ */ d({
|
|
3
3
|
__name: "Form",
|
|
4
4
|
props: {
|
|
@@ -10,16 +10,16 @@ const D = /* @__PURE__ */ d({
|
|
|
10
10
|
setup(e) {
|
|
11
11
|
return (i, t) => {
|
|
12
12
|
const m = o("a-input"), r = o("a-textarea"), f = o("a-form-item");
|
|
13
|
-
return
|
|
13
|
+
return n(), l(f, {
|
|
14
14
|
label: e.formData.name
|
|
15
15
|
}, {
|
|
16
16
|
default: c(() => [
|
|
17
|
-
e.formData.type == "input" ? (
|
|
17
|
+
e.formData.type == "input" ? (n(), l(m, {
|
|
18
18
|
key: 0,
|
|
19
19
|
value: e.formData.defaultValue,
|
|
20
20
|
"onUpdate:value": t[0] || (t[0] = (a) => e.formData.defaultValue = a)
|
|
21
21
|
}, null, 8, ["value"])) : u("", !0),
|
|
22
|
-
e.formData.type == "textarea" ? (
|
|
22
|
+
e.formData.type == "textarea" ? (n(), l(r, {
|
|
23
23
|
key: 1,
|
|
24
24
|
value: e.formData.defaultValue,
|
|
25
25
|
"onUpdate:value": t[1] || (t[1] = (a) => e.formData.defaultValue = a),
|