form-imagining 0.0.91-4 → 0.0.91-4-beta2
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-BLYzyT6S.js → App-BopSP0Iy.js} +5 -5
- package/dist/Area-BI2TZ1aF.js +4 -0
- package/dist/Bar-KO2-KDI1.js +4 -0
- package/dist/ChartsArea-D-oaWMUm.js +4 -0
- package/dist/ChartsBar-BdBBI7J-.js +4 -0
- package/dist/ChartsPie-DjBmPeg5.js +4 -0
- package/dist/CheckBoxModel-DDcrtKcU.js +4 -0
- package/dist/Col-X74ALBn7.js +4 -0
- package/dist/Collapse-CTAn4c1m.js +4 -0
- package/dist/{CommonText copy-BopfYNXm.js → CommonText copy-N_BFu0_A.js } +36 -36
- package/dist/{Demo copy-CubdSIKo.js → Demo copy-Bux2O9AZ.js } +2 -2
- package/dist/{Demo-BPThqNgl.js → Demo-D-QrLbAq.js} +22 -22
- package/dist/{Demo-B6HHgjg2.js → Demo-fG7EPixH.js} +2 -2
- package/dist/FView-3f1hmx3v.js +4 -0
- package/dist/FX-B8lVtOGx.js +4 -0
- package/dist/{Form-CsKlmwSd.js → Form-CE0VVIWD.js} +4 -4
- package/dist/{FormGridCopy-DN8sO6Kt.js → FormGridCopy-W-0YK7Pl.js} +19 -19
- package/dist/FormImagining-vAJ5KXmH.js +9 -0
- package/dist/GenerateForm-DftVJEbe.js +4 -0
- package/dist/GenerateReport-D-lebIqo.js +4 -0
- package/dist/HelloWorld-CubIU1_f.js +9 -0
- package/dist/Input-/345/210/240/351/231/{244-C2ZQxXp7.js → 244-CMmK1Kuu.js} +3 -3
- package/dist/Label-/345/210/240/351/231/{244-BGLpb5t3.js → 244-CGdvpYdv.js} +4 -4
- package/dist/LabelModel-DSqDSnc8.js +4 -0
- package/dist/Login-Bxv64KQC.js +9 -0
- package/dist/Pie-3YhCjb28.js +4 -0
- package/dist/PropertyIndex-CHhVYhgq.js +4 -0
- package/dist/RView-DrmUH4WC.js +4 -0
- package/dist/SqlModule-CBJ_UX31.js +4 -0
- package/dist/{SvgIconCopy-CmgZ504W.js → SvgIconCopy-DGNF4uOG.js} +7 -7
- package/dist/TableBtnModal-HInNoiOp.js +4 -0
- package/dist/TableModel-q5kNUnia.js +4 -0
- package/dist/TextModel-BEOvhru5.js +9 -0
- package/dist/assets/editor.worker-DzMH9hFo.js +26 -0
- package/dist/childForm-DB_9Rk5l.js +4 -0
- package/dist/{cssMode-C759-pk-.js → cssMode-OuhLkRA2.js} +3 -3
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +220 -218
- package/dist/{formTest-nJQQ0bQe.js → formTest-BdBPJxz5.js} +4 -4
- package/dist/{freemarker2-B34G0qJ-.js → freemarker2-BfrKBbSP.js} +1 -1
- package/dist/{handlebars-D26dKsiI.js → handlebars-zQ_-kfdJ.js} +1 -1
- package/dist/{html-ByNsvsma.js → html-BFFY8H4k.js} +1 -1
- package/dist/{htmlMode-Qg6uuoAj.js → htmlMode-CBRCxiGw.js} +3 -3
- package/dist/index - /345/211/257/346/234/{254-CEYPGXTM.js" → 254-CoBeyLH9.js" } +17 -17
- package/dist/{index-Dea3S2cp.js → index-1bHQCPqU.js} +5258 -5121
- package/dist/{index-BOooJJ2S.js → index-BLtw8F0e.js} +4 -4
- package/dist/index-BrXB6Q18.js +3658 -0
- package/dist/index-Bt0vvDK4.js +4 -0
- package/dist/index-Bvbl39xq.js +11 -0
- package/dist/{javascript-D75vK7re.js → javascript-D8kuxz5o.js} +1 -1
- package/dist/json/scope_type.json +6 -6
- package/dist/{jsonMode-DxXDmpA1.js → jsonMode-AxsV4aiv.js} +3 -3
- package/dist/{liquid-CBl6Z7Kf.js → liquid-BB02cfFE.js} +1 -1
- package/dist/{lspLanguageFeatures-C7EDcZ_E.js → lspLanguageFeatures-C1q6GnT5.js} +1 -1
- package/dist/{mdx-B5OJ3ipK.js → mdx-DSVAGJCC.js} +1 -1
- package/dist/{python-3P9SskHq.js → python-BHFPX2-3.js} +1 -1
- package/dist/{razor-BHRaOMxL.js → razor-Dgr22R33.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-26yK5RCD.js → tableSelectDemo-CjCSZcfX.js} +9 -9
- package/dist/{tableSelectDemo2-ClZOZP4A.js → tableSelectDemo2-BcM27-Ii.js} +3 -3
- package/dist/{tsMode-BjRTn9IQ.js → tsMode-C5DmNpla.js} +1 -1
- package/dist/{typescript-BUowGFyj.js → typescript-kRGGqRjl.js} +1 -1
- package/dist/{xml-CAim-ClR.js → xml-DKbs2ecN.js} +1 -1
- package/dist/{yaml-BK-HcFR3.js → yaml-DHz4XXAF.js} +1 -1
- package/package.json +68 -68
- package/dist/App-Bxi89UcU.js +0 -32
- package/dist/Area-CvHsGV9F.js +0 -4
- package/dist/Area-Dk-JyZuA.js +0 -4
- package/dist/Bar-C3z_a_vt.js +0 -4
- package/dist/Bar-DB6_WUnN.js +0 -4
- package/dist/ChartsArea-BlMSTtxD.js +0 -4
- package/dist/ChartsArea-Dh_s3VUh.js +0 -4
- package/dist/ChartsBar-Dtvy61dU.js +0 -4
- package/dist/ChartsBar-mweIhkHV.js +0 -4
- package/dist/ChartsPie-C0nCuyxl.js +0 -4
- package/dist/ChartsPie-Dme9Rimc.js +0 -4
- package/dist/CheckBoxModel-C3tzT1cr.js +0 -4
- package/dist/CheckBoxModel-Dosj8eXH.js +0 -4
- package/dist/Col-1GJRBe0Y.js +0 -4
- package/dist/Col-D9aMXSbc.js +0 -4
- package/dist/Collapse-DWZGsSeX.js +0 -4
- package/dist/Collapse-ETDwU-O2.js +0 -4
- package/dist/CommonText copy-CtZQ-rZC.js +0 -189
- package/dist/Demo-C0lbIJaF.js +0 -72
- package/dist/Demo-CODnm-nS.js +0 -201
- package/dist/FView-BBn6wUUM.js +0 -4
- package/dist/FView-jlOlDqOY.js +0 -4
- package/dist/FX-147FbcEF.js +0 -4
- package/dist/FX-DhOwtpUS.js +0 -4
- package/dist/FormGridCopy-Dw2RgMLH.js +0 -168
- package/dist/FormImagining--Iqak7ti.js +0 -9
- package/dist/FormImagining-C17IoaOi.js +0 -9
- package/dist/GenerateForm-90ZRSbQo.js +0 -4
- package/dist/GenerateForm-DlOHiBT6.js +0 -4
- package/dist/GenerateReport-B0Pq7WlY.js +0 -4
- package/dist/GenerateReport-w1Z4L5RS.js +0 -4
- package/dist/HelloWorld-Cs9vcQZy.js +0 -9
- package/dist/HelloWorld-DlFYfpFE.js +0 -9
- package/dist/Input-/345/210/240/351/231/244-DCeI8oTh.js +0 -87
- package/dist/Label-/345/210/240/351/231/244-D9kbjQME.js +0 -92
- package/dist/LabelModel-CC7D6EvM.js +0 -4
- package/dist/LabelModel-ChEsZOMK.js +0 -4
- package/dist/Login-BYfdmBcy.js +0 -9
- package/dist/Login-DGeuCv29.js +0 -9
- package/dist/Pie-B4LSMmCR.js +0 -4
- package/dist/Pie-_Tkspn12.js +0 -4
- package/dist/PropertyIndex-C1Dxu1yr.js +0 -4
- package/dist/PropertyIndex-CCRaKy-z.js +0 -4
- package/dist/RView-CCoSsSSg.js +0 -4
- package/dist/RView-D3CweAvr.js +0 -4
- package/dist/SqlModule-BTUDXWIr.js +0 -4
- package/dist/SqlModule-CNnr4udP.js +0 -4
- package/dist/SvgIconCopy-cigFmeRG.js +0 -39
- package/dist/TableBtnModal-DFS5msV0.js +0 -4
- package/dist/TableBtnModal-M8DypZA1.js +0 -4
- package/dist/TableModel-BdSL6XuV.js +0 -4
- package/dist/TableModel-DIwB1vC8.js +0 -4
- package/dist/TextModel-CDxQib2U.js +0 -9
- package/dist/TextModel-CUnlDRpW.js +0 -9
- package/dist/childForm-C22i7-9a.js +0 -4
- package/dist/childForm-DT9GyhXy.js +0 -4
- package/dist/cssMode-boX_9-4D.js +0 -141
- package/dist/formTest-DbNmgQvj.js +0 -19
- package/dist/freemarker2-DgPtWzLN.js +0 -982
- package/dist/handlebars-DA8edosH.js +0 -412
- package/dist/html-aOpN5llN.js +0 -301
- package/dist/htmlMode-hufZZVNO.js +0 -152
- package/dist/index - /345/211/257/346/234/254-RvFzPF3k.js" +0 -531
- package/dist/index-2MtBAd7I.js +0 -3323
- package/dist/index-7gCI5vmP.js +0 -3323
- package/dist/index-BZD_CDu8.js +0 -4
- package/dist/index-BnlZAJZ1.js +0 -11
- package/dist/index-Cb2JEXGA.js +0 -4
- package/dist/index-DCqqRo7P.js +0 -36
- package/dist/index-DlY2PibK.js +0 -11
- package/dist/index-ddJVKxaq.js +0 -302308
- package/dist/javascript-Z2Y4Qgpz.js +0 -70
- package/dist/jsonMode-HetuXHCd.js +0 -569
- package/dist/liquid-DehwaRgZ.js +0 -233
- package/dist/lspLanguageFeatures-ClI91xUa.js +0 -1458
- package/dist/mdx-OGpXhBIh.js +0 -158
- package/dist/python-CEj1hYZ3.js +0 -294
- package/dist/razor-DbIVYwZo.js +0 -543
- package/dist/tableSelectDemo-77My1j_i.js +0 -134
- package/dist/tableSelectDemo2-DSBmgXuv.js +0 -108
- package/dist/tsMode-DZ5AE1Kt.js +0 -946
- package/dist/typescript-DvJxupAp.js +0 -336
- package/dist/xml-DCfW2ko-.js +0 -88
- package/dist/yaml-Ppzka_sQ.js +0 -199
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as c, onMounted as p, resolveComponent as i,
|
|
2
|
-
import { l as m, R as s } from "./index-
|
|
1
|
+
import { defineComponent as c, onMounted as p, resolveComponent as i, createBlock as e, openBlock as o, unref as n, withCtx as t, createVNode as f, KeepAlive as u, resolveDynamicComponent as _ } from "vue";
|
|
2
|
+
import { l as m, R as s } from "./index-1bHQCPqU.js";
|
|
3
3
|
const x = /* @__PURE__ */ c({
|
|
4
4
|
__name: "App",
|
|
5
5
|
setup(d) {
|
|
6
6
|
return p(() => {
|
|
7
7
|
}), (v, h) => {
|
|
8
8
|
const r = i("a-config-provider");
|
|
9
|
-
return
|
|
9
|
+
return o(), e(r, {
|
|
10
10
|
locale: n(m),
|
|
11
11
|
theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
|
|
12
12
|
}, {
|
|
13
13
|
default: t(() => [
|
|
14
14
|
f(n(s), null, {
|
|
15
15
|
default: t(({ Component: l, route: a }) => [
|
|
16
|
-
(
|
|
17
|
-
(
|
|
16
|
+
(o(), e(u, null, [
|
|
17
|
+
(o(), e(_(l), {
|
|
18
18
|
key: a.fullPath
|
|
19
19
|
}))
|
|
20
20
|
], 1024))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as R, computed as f, resolveComponent as u,
|
|
2
|
-
import {
|
|
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-1bHQCPqU.js";
|
|
3
3
|
const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe = /* @__PURE__ */ R({
|
|
4
4
|
__name: "CommonText copy",
|
|
5
5
|
props: {
|
|
@@ -9,38 +9,38 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
emits: ["update:textElement"],
|
|
12
|
-
setup(k, { emit:
|
|
13
|
-
const
|
|
14
|
-
get: () =>
|
|
15
|
-
set: (a) =>
|
|
16
|
-
}),
|
|
12
|
+
setup(k, { emit: w }) {
|
|
13
|
+
const A = k, E = w, e = f({
|
|
14
|
+
get: () => A.textElement,
|
|
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
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
31
|
return a ? a.icon : S;
|
|
32
32
|
});
|
|
33
|
-
function
|
|
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);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function V({ key: a }) {
|
|
37
37
|
e.value.border = a;
|
|
38
38
|
}
|
|
39
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,28 +51,28 @@ 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:
|
|
75
|
+
icon: x(i(X)),
|
|
76
76
|
onClick: I
|
|
77
77
|
}, null, 8, ["icon"]),
|
|
78
78
|
t(s, {
|
|
@@ -80,7 +80,7 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
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,12 +95,12 @@ 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
|
|
@@ -108,15 +108,15 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
|
|
|
108
108
|
t(L, { type: "vertical" }),
|
|
109
109
|
t(W, null, {
|
|
110
110
|
overlay: n(() => [
|
|
111
|
-
t(N, { onClick:
|
|
111
|
+
t(N, { onClick: V }, {
|
|
112
112
|
default: n(() => [
|
|
113
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,29 +137,29 @@ 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,
|
|
144
144
|
max: 10,
|
|
145
145
|
style: { width: "80px" },
|
|
146
|
-
onChange:
|
|
146
|
+
onChange: T,
|
|
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(g, null, B(
|
|
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 J, ref as
|
|
2
|
-
import { am as X, an as z, ao as h, ap as O,
|
|
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-1bHQCPqU.js";
|
|
3
3
|
const te = {
|
|
4
4
|
ref: "formRef",
|
|
5
5
|
class: "cici-form-css",
|
|
@@ -11,7 +11,7 @@ const te = {
|
|
|
11
11
|
__name: "Demo",
|
|
12
12
|
setup(de) {
|
|
13
13
|
X();
|
|
14
|
-
let u =
|
|
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,30 +33,30 @@ 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
|
-
|
|
37
|
-
let b =
|
|
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
|
+
let b = r([]), k = {
|
|
38
38
|
viewData: B,
|
|
39
39
|
dataSource: u,
|
|
40
40
|
reportInfo: m,
|
|
41
|
-
paginations:
|
|
41
|
+
paginations: y,
|
|
42
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
|
-
let E =
|
|
49
|
+
let E = r([]);
|
|
50
50
|
E.value = w.value;
|
|
51
51
|
function R(o) {
|
|
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
|
-
let i =
|
|
59
|
+
let i = r(o);
|
|
60
60
|
if (i.value.length == 0) {
|
|
61
61
|
Y.warning("请选择要导出的列");
|
|
62
62
|
return;
|
|
@@ -64,7 +64,7 @@ const te = {
|
|
|
64
64
|
Z(i, B, m, V);
|
|
65
65
|
}
|
|
66
66
|
return (o, i) => {
|
|
67
|
-
const C =
|
|
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,9 +93,9 @@ 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"
|
|
@@ -117,7 +117,7 @@ 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)
|
|
@@ -132,7 +132,7 @@ const te = {
|
|
|
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 }) => {
|
|
@@ -146,7 +146,7 @@ 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
|
}, {
|
|
@@ -154,13 +154,13 @@ const te = {
|
|
|
154
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
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
165
|
f(p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 1)
|
|
166
166
|
]),
|
|
@@ -168,7 +168,7 @@ const te = {
|
|
|
168
168
|
}, 1024))
|
|
169
169
|
], 64)) : e.options.displayType == "href" ? (n(), l("a", {
|
|
170
170
|
key: 1,
|
|
171
|
-
onClick: Q((
|
|
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
174
|
f(p(a(h)(e.dict, t)), 1)
|
|
@@ -176,7 +176,7 @@ const te = {
|
|
|
176
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
|
}, {
|
|
@@ -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 { a0 as useFormStore, a1 as generateReportHtml,
|
|
1
|
+
import { defineComponent, ref, onBeforeUpdate, createBlock, openBlock, unref } from "vue";
|
|
2
|
+
import { a0 as useFormStore, a1 as generateReportHtml, o as defHttp } from "./index-1bHQCPqU.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),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as j, ref as z, watch as J, resolveComponent as h,
|
|
2
|
-
import { a0 as W, ae as A, af as K, ag as P, ah as R, ai as S, aj as N, ak as q,
|
|
1
|
+
import { defineComponent as j, ref as z, watch as J, resolveComponent as h, createElementBlock as r, openBlock as o, createElementVNode as L, createVNode as u, createCommentVNode as x, unref as f, normalizeStyle as C, withCtx as g, Fragment as I, renderList as w, createBlock as b, normalizeClass as D } from "vue";
|
|
2
|
+
import { a0 as W, ae as A, af as K, ag as P, ah as R, ai as S, aj as N, ak as q, x as H } from "./index-1bHQCPqU.js";
|
|
3
3
|
const Q = { class: "move" }, T = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "widget-view-drag"
|
|
@@ -39,8 +39,8 @@ const Q = { class: "move" }, T = {
|
|
|
39
39
|
}
|
|
40
40
|
);
|
|
41
41
|
const m = O;
|
|
42
|
-
function k(t, n,
|
|
43
|
-
i.value = n, m("childConfig", t), m("index", i.value),
|
|
42
|
+
function k(t, n, d) {
|
|
43
|
+
i.value = n, m("childConfig", t), m("index", i.value), d.stopPropagation(), d.preventDefault();
|
|
44
44
|
}
|
|
45
45
|
function $() {
|
|
46
46
|
i.value = "-1", console.log("开始拖拽");
|
|
@@ -51,12 +51,12 @@ const Q = { class: "move" }, T = {
|
|
|
51
51
|
function F(t) {
|
|
52
52
|
const n = JSON.parse(JSON.stringify(t));
|
|
53
53
|
if (a.data.columns && a.data.columns.length > 0) {
|
|
54
|
-
let
|
|
55
|
-
|
|
54
|
+
let d = a.data.columns.findIndex((v) => v.key == t.key);
|
|
55
|
+
d > -1 && (n.key = N(), n.id = N(), a.data.columns.splice(d + 1, 0, n));
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function M(t) {
|
|
59
|
-
let n = a.data.columns.findIndex((
|
|
59
|
+
let n = a.data.columns.findIndex((d) => d.key == t.key);
|
|
60
60
|
n > -1 && a.data.columns.splice(n, 1);
|
|
61
61
|
}
|
|
62
62
|
function V() {
|
|
@@ -77,7 +77,7 @@ const Q = { class: "move" }, T = {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
return (t, n) => {
|
|
80
|
-
const
|
|
80
|
+
const d = h("a-col"), v = h("a-row"), B = h("a-form");
|
|
81
81
|
return o(), r("div", null, [
|
|
82
82
|
L("div", Q, [
|
|
83
83
|
e.activeIndex == e.index ? (o(), r("div", T, [
|
|
@@ -96,18 +96,18 @@ const Q = { class: "move" }, T = {
|
|
|
96
96
|
style: C({ marginLeft: -e.data.options.gutter / 2 + "px", marginRight: -e.data.options.gutter / 2 + "px" })
|
|
97
97
|
}, {
|
|
98
98
|
default: g(() => [
|
|
99
|
-
(o(!0), r(I, null, w(e.data.columns, (
|
|
99
|
+
(o(!0), r(I, null, w(e.data.columns, (l, c) => (o(), b(d, {
|
|
100
100
|
class: D(["widget-col-item", { active: i.value == "col-" + e.index + "-" + c }]),
|
|
101
|
-
span:
|
|
102
|
-
offset:
|
|
103
|
-
onMousedown: (s) => k(
|
|
101
|
+
span: l.options.span,
|
|
102
|
+
offset: l.options.offset,
|
|
103
|
+
onMousedown: (s) => k(l, "col-" + e.index + "-" + c, s)
|
|
104
104
|
}, {
|
|
105
105
|
default: g(() => [
|
|
106
106
|
u(f(K), {
|
|
107
107
|
class: "widget-col-list",
|
|
108
108
|
style: { "min-height": "50px" },
|
|
109
109
|
"ghost-class": "ghost",
|
|
110
|
-
list:
|
|
110
|
+
list: l.list,
|
|
111
111
|
"force-fallback": !0,
|
|
112
112
|
"chosen-class": "chosenClass2",
|
|
113
113
|
"drag-class": "dragClass1",
|
|
@@ -120,13 +120,13 @@ const Q = { class: "move" }, T = {
|
|
|
120
120
|
itemKey: ""
|
|
121
121
|
}, {
|
|
122
122
|
default: g(() => [
|
|
123
|
-
(o(!0), r(I, null, w(
|
|
123
|
+
(o(!0), r(I, null, w(l.list, (s, y) => (o(), r("div", {
|
|
124
124
|
class: D(["widget-view", { active: i.value == e.index + "-" + c + "-" + y }]),
|
|
125
125
|
onMousedown: (G) => k(s, e.index + "-" + c + "-" + y, G)
|
|
126
126
|
}, [
|
|
127
127
|
u(P, {
|
|
128
128
|
data: s,
|
|
129
|
-
list:
|
|
129
|
+
list: l.list,
|
|
130
130
|
activeIndex: i.value,
|
|
131
131
|
index: e.index + "-" + c + "-" + y
|
|
132
132
|
}, null, 8, ["data", "list", "activeIndex", "index"])
|
|
@@ -137,11 +137,11 @@ const Q = { class: "move" }, T = {
|
|
|
137
137
|
e.activeIndex === "col-" + e.index + "-" + c ? (o(), r("div", X, [
|
|
138
138
|
u(f(R), {
|
|
139
139
|
style: { padding: "3px 5px" },
|
|
140
|
-
onClick: (s) => F(
|
|
140
|
+
onClick: (s) => F(l)
|
|
141
141
|
}, null, 8, ["onClick"]),
|
|
142
142
|
e.data.columns.length !== 1 ? (o(), b(f(S), {
|
|
143
143
|
key: 0,
|
|
144
|
-
onClick: (s) => M(
|
|
144
|
+
onClick: (s) => M(l)
|
|
145
145
|
}, null, 8, ["onClick"])) : x("", !0)
|
|
146
146
|
])) : x("", !0)
|
|
147
147
|
]),
|
|
@@ -150,7 +150,7 @@ const Q = { class: "move" }, T = {
|
|
|
150
150
|
e.activeIndex === e.index ? (o(), r("div", Y, [
|
|
151
151
|
u(f(S), {
|
|
152
152
|
style: { padding: "3px 5px", color: "#fff" },
|
|
153
|
-
onClick: n[0] || (n[0] = (
|
|
153
|
+
onClick: n[0] || (n[0] = (l) => V())
|
|
154
154
|
})
|
|
155
155
|
])) : x("", !0)
|
|
156
156
|
]),
|
|
@@ -162,7 +162,7 @@ const Q = { class: "move" }, T = {
|
|
|
162
162
|
]);
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
}), ne = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-
|
|
165
|
+
}), ne = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-b6a6a4fd"]]);
|
|
166
166
|
export {
|
|
167
167
|
ne as default
|
|
168
168
|
};
|