form-imagining 0.0.90-52-beta12 → 0.0.90-52-beta15
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-CIfg8t-_.js +23 -0
- package/dist/Area-Dcgma3F3.js +4 -0
- package/dist/Bar-C8Hw4L-2.js +4 -0
- package/dist/ChartsArea-XXGsYD3b.js +4 -0
- package/dist/ChartsBar-Bd1DjWnt.js +4 -0
- package/dist/ChartsPie-CoLhrAGw.js +4 -0
- package/dist/Col-vXBIYkVU.js +4 -0
- package/dist/Collapse-CYNUuDvj.js +4 -0
- package/dist/{Demo-RzK3K99M.js → Demo-2QUKybg8.js} +14 -15
- package/dist/{Demo-DAYYdOW0.js → Demo-CaiHTBTH.js} +1 -1
- package/dist/FView-DQ_N_KMt.js +4 -0
- package/dist/FX-0b_FzQi0.js +4 -0
- package/dist/{FormGridCopy-rfX7V43n.js → FormGridCopy-BoyNCnZh.js} +14 -14
- package/dist/{FormImagining-CHaV19N-.js → FormImagining-CgC8A6AM.js} +1 -1
- package/dist/GenerateForm-Bah5QeD5.js +4 -0
- package/dist/GenerateReport-CUuxutjl.js +4 -0
- package/dist/{HelloWorld-anjs2pM1.js → HelloWorld-CMZfFB-C.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-CvALpaoA.js → 244-C0qRFHzL.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-C0I-yccP.js → 244-BOkQp01u.js} +1 -1
- package/dist/{Login-BpZ3AV1m.js → Login-B-dhcdMk.js} +1 -1
- package/dist/Pie-DSw3EtmZ.js +4 -0
- package/dist/RView-Dnsp4WCI.js +4 -0
- package/dist/SqlModule-r-IH3aPp.js +4 -0
- package/dist/TableBtnModal-C_maogIy.js +4 -0
- package/dist/childForm-7kEcavgy.js +4 -0
- package/dist/{cssMode-Cha7tq-X.js → cssMode-DDbhXZre.js} +1 -1
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +122 -117
- package/dist/{formTest-DhQ6LXZq.js → formTest-CJy_NVKm.js} +1 -1
- package/dist/{freemarker2-M5RBup9r.js → freemarker2-DBV6KJY0.js} +1 -1
- package/dist/{handlebars-kmhcJdRk.js → handlebars-DbMwpQ8n.js} +1 -1
- package/dist/{html-B3MCoi9x.js → html-uVKDu8fv.js} +1 -1
- package/dist/{htmlMode-DiLNA8z3.js → htmlMode-o8DCb3xG.js} +1 -1
- package/dist/{index-Dr2vdLRz.js → index-Bmbee3Zq.js} +1 -1
- package/dist/{index-csyIImJp.js → index-DSNrVRhl.js} +311 -299
- package/dist/{index-mWz2k8io.js → index-DtPOoi_T.js} +6363 -6626
- package/dist/{javascript-Bbsgkr0d.js → javascript-ZGl7DVTy.js} +1 -1
- package/dist/{jsonMode-pdEfmujV.js → jsonMode-caAxkKaB.js} +1 -1
- package/dist/{liquid-C64IssDU.js → liquid-D9LWHZs6.js} +1 -1
- package/dist/{mdx-D2urDwLa.js → mdx-dFPUGxDu.js} +1 -1
- package/dist/{python-2d7Aquhc.js → python-5z7zzn4Y.js} +1 -1
- package/dist/{razor-BFF6LKe2.js → razor-BHuow_OB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-DRIByZth.js → tableSelectDemo-BpS7HT-d.js} +5 -6
- package/dist/{tableSelectDemo2-DzSJkNv-.js → tableSelectDemo2-D_En4sMF.js} +5 -6
- package/dist/{tsMode-B3qGd2Ce.js → tsMode-Buk_fot1.js} +1 -1
- package/dist/{typescript-Cm4Vcdgg.js → typescript-BwYond-P.js} +1 -1
- package/dist/{xml-CxBG2Ab5.js → xml-DHCK25Lq.js} +1 -1
- package/dist/{yaml-CNS_wsbf.js → yaml-DbGMuPUa.js} +1 -1
- package/package.json +1 -1
- package/dist/App-eFGnvpEr.js +0 -23
- package/dist/Area-DTarjo3Q.js +0 -4
- package/dist/Bar-BWn1N812.js +0 -4
- package/dist/ChartsArea-irGqEXZ_.js +0 -4
- package/dist/ChartsBar-WYCS2wiz.js +0 -4
- package/dist/ChartsPie-D1Bfh1O6.js +0 -4
- package/dist/Col-CW-MVMDq.js +0 -4
- package/dist/Collapse-Bh8Rl4ii.js +0 -4
- package/dist/FView-D6EzNCqJ.js +0 -4
- package/dist/FX-q4a6uFbk.js +0 -4
- package/dist/GenerateForm-zdgozx10.js +0 -4
- package/dist/GenerateReport-BM3ZWUec.js +0 -4
- package/dist/Pie-CcNzI9hy.js +0 -4
- package/dist/RView-1umVbkrf.js +0 -4
- package/dist/SqlModule-Bs469zLR.js +0 -4
- package/dist/TableBtnModal-e07nCsoM.js +0 -4
- package/dist/childForm-BT9T18C9.js +0 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as o, onMounted as r, resolveComponent as t, createBlock as n, openBlock as a, unref as c, withCtx as p, createVNode as l } from "vue";
|
|
2
|
+
import { u as s, l as _, R as f } from "./index-DtPOoi_T.js";
|
|
3
|
+
const g = /* @__PURE__ */ o({
|
|
4
|
+
__name: "App",
|
|
5
|
+
setup(i) {
|
|
6
|
+
return s(), r(() => {
|
|
7
|
+
}), (m, u) => {
|
|
8
|
+
const e = t("a-config-provider");
|
|
9
|
+
return a(), n(e, {
|
|
10
|
+
locale: c(_),
|
|
11
|
+
theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
|
|
12
|
+
}, {
|
|
13
|
+
default: p(() => [
|
|
14
|
+
l(f)
|
|
15
|
+
]),
|
|
16
|
+
_: 1
|
|
17
|
+
}, 8, ["locale"]);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as J, ref as s, reactive as K, resolveComponent as r, createElementBlock as l, openBlock as n, createVNode as c, withCtx as d, createBlock as y, createCommentVNode as L, createTextVNode as p, unref as a, isRef as P, Fragment as g, toDisplayString as f, withModifiers as Q } from "vue";
|
|
2
|
+
import { A as X, B as z, E as h, G as A, H as Y, I as Z, _ as ee } from "./index-DtPOoi_T.js";
|
|
3
3
|
const te = {
|
|
4
4
|
ref: "formRef",
|
|
5
5
|
class: "cici-form-css",
|
|
@@ -7,7 +7,7 @@ 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();
|
|
@@ -17,7 +17,7 @@ const te = {
|
|
|
17
17
|
title: "文件",
|
|
18
18
|
keyCol: "",
|
|
19
19
|
searchInfo: []
|
|
20
|
-
}),
|
|
20
|
+
}), O = {
|
|
21
21
|
title: {
|
|
22
22
|
text: "本年度不动产登记情况",
|
|
23
23
|
width: "800",
|
|
@@ -44,7 +44,7 @@ const te = {
|
|
|
44
44
|
sortOrder: ""
|
|
45
45
|
};
|
|
46
46
|
function H() {
|
|
47
|
-
_.value.current = 1,
|
|
47
|
+
_.value.current = 1, A(k);
|
|
48
48
|
}
|
|
49
49
|
let q = s([]);
|
|
50
50
|
q.value = w.value;
|
|
@@ -53,7 +53,7 @@ const te = {
|
|
|
53
53
|
}
|
|
54
54
|
function R(o, i) {
|
|
55
55
|
const { sorter: C, pagination: D } = o, { field: x, order: I } = C;
|
|
56
|
-
k.sortField = x, k.sortOrder = I, _.value.current = D.current,
|
|
56
|
+
k.sortField = x, k.sortOrder = I, _.value.current = D.current, A(k);
|
|
57
57
|
}
|
|
58
58
|
function W(o) {
|
|
59
59
|
let i = s(o);
|
|
@@ -64,7 +64,7 @@ const te = {
|
|
|
64
64
|
Z(i, B, m, V);
|
|
65
65
|
}
|
|
66
66
|
return (o, i) => {
|
|
67
|
-
const C = r("a-col"), D = r("a-button"), x = r("a-form-item"), I = r("a-row"), F = r("a-form"), $ = r("c-echarts-bar"), T = r("a-tag"), G = r("a-divider"),
|
|
67
|
+
const C = r("a-col"), D = r("a-button"), x = r("a-form-item"), I = r("a-row"), F = r("a-form"), $ = r("c-echarts-bar"), T = r("a-tag"), G = r("a-divider"), U = r("a-space"), j = r("c-table");
|
|
68
68
|
return n(), l("div", te, [
|
|
69
69
|
c(F, {
|
|
70
70
|
"label-col": { style: { width: "120px" } },
|
|
@@ -100,11 +100,10 @@ const te = {
|
|
|
100
100
|
onClick: i[0] || (i[0] = (e) => H()),
|
|
101
101
|
class: "btn-icon-content"
|
|
102
102
|
}, {
|
|
103
|
-
default: d(() => i[3] || (i[3] = [
|
|
104
|
-
p(" 查询 ")
|
|
105
|
-
])),
|
|
106
|
-
_: 1
|
|
107
|
-
__: [3]
|
|
103
|
+
default: d(() => [...i[3] || (i[3] = [
|
|
104
|
+
p(" 查询 ", -1)
|
|
105
|
+
])]),
|
|
106
|
+
_: 1
|
|
108
107
|
})
|
|
109
108
|
]),
|
|
110
109
|
_: 1
|
|
@@ -120,10 +119,10 @@ const te = {
|
|
|
120
119
|
}),
|
|
121
120
|
a(u) && a(u).length > 0 ? (n(), y($, {
|
|
122
121
|
key: 0,
|
|
123
|
-
options: a(
|
|
122
|
+
options: a(O),
|
|
124
123
|
data: a(u)
|
|
125
124
|
}, null, 8, ["options", "data"])) : L("", !0),
|
|
126
|
-
c(
|
|
125
|
+
c(j, {
|
|
127
126
|
columns: a(w),
|
|
128
127
|
"data-source": a(u),
|
|
129
128
|
onColumnsChange: M,
|
|
@@ -177,7 +176,7 @@ const te = {
|
|
|
177
176
|
p(f(o.getLabelByTreeDictCode(e.treeDict, t)), 1)
|
|
178
177
|
], 64)) : L("", !0)
|
|
179
178
|
], 64)),
|
|
180
|
-
e.key === "action" ? (n(), y(
|
|
179
|
+
e.key === "action" ? (n(), y(U, {
|
|
181
180
|
key: 3,
|
|
182
181
|
size: 0
|
|
183
182
|
}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onBeforeUpdate, createBlock, openBlock, unref } from "vue";
|
|
2
|
-
import { f as useFormStore, g as generateReportHtml, h as defHttp } from "./index-
|
|
2
|
+
import { f as useFormStore, g as generateReportHtml, h as defHttp } from "./index-DtPOoi_T.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "Demo",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { f as j, D as A, V as K,
|
|
1
|
+
import { defineComponent as z, ref as J, watch as L, resolveComponent as h, createElementBlock as r, openBlock as o, createElementVNode as W, createVNode as u, createCommentVNode as x, unref as f, normalizeStyle as I, withCtx as g, Fragment as k, renderList as w, createBlock as b, normalizeClass as D } from "vue";
|
|
2
|
+
import { f as j, D as A, V as K, F as P, C as R, x as S, y as N, M as q, _ as H } from "./index-DtPOoi_T.js";
|
|
3
3
|
const Q = { class: "move" }, T = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "widget-view-drag"
|
|
@@ -9,7 +9,7 @@ const Q = { class: "move" }, T = {
|
|
|
9
9
|
}, Y = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "item-action"
|
|
12
|
-
}, Z = /* @__PURE__ */
|
|
12
|
+
}, Z = /* @__PURE__ */ z({
|
|
13
13
|
__name: "FormGridCopy",
|
|
14
14
|
props: {
|
|
15
15
|
list: {
|
|
@@ -45,21 +45,21 @@ const Q = { class: "move" }, T = {
|
|
|
45
45
|
function $() {
|
|
46
46
|
i.value = "-1", console.log("开始拖拽");
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function F(t, n) {
|
|
49
49
|
t.to.className == "widget-col-list" ? i.value = a.index + "-" + n + "-" + t.newIndex : i.value = t.newIndex, m("index", i.value);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function M(t) {
|
|
52
52
|
const n = JSON.parse(JSON.stringify(t));
|
|
53
53
|
if (a.data.columns && a.data.columns.length > 0) {
|
|
54
54
|
let d = a.data.columns.findIndex((v) => v.key == t.key);
|
|
55
55
|
d > -1 && (n.key = N(), n.id = N(), a.data.columns.splice(d + 1, 0, n));
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function V(t) {
|
|
59
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
|
-
function
|
|
62
|
+
function E() {
|
|
63
63
|
if (a.data.columns.length > 0)
|
|
64
64
|
q.confirm({
|
|
65
65
|
title: "确定要删除该栅格布局吗?",
|
|
@@ -77,14 +77,14 @@ const Q = { class: "move" }, T = {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
return (t, n) => {
|
|
80
|
-
const d = h("a-col"), v = h("a-row"),
|
|
80
|
+
const d = h("a-col"), v = h("a-row"), B = h("a-form");
|
|
81
81
|
return o(), r("div", null, [
|
|
82
82
|
W("div", Q, [
|
|
83
83
|
e.activeIndex == e.index ? (o(), r("div", T, [
|
|
84
84
|
u(f(A), { style: { padding: "6px" } })
|
|
85
85
|
])) : x("", !0)
|
|
86
86
|
]),
|
|
87
|
-
u(
|
|
87
|
+
u(B, {
|
|
88
88
|
style: I({ padding: `${e.data.top || 0}px ${e.data.right || 0}px ${e.data.bottom || 0}px ${e.data.left || 0}px` }),
|
|
89
89
|
"label-col": { style: { width: f(p).formData.config.labelWidth + "px" } },
|
|
90
90
|
labelWrap: !0
|
|
@@ -112,7 +112,7 @@ const Q = { class: "move" }, T = {
|
|
|
112
112
|
"chosen-class": "chosenClass2",
|
|
113
113
|
"drag-class": "dragClass1",
|
|
114
114
|
onStart: $,
|
|
115
|
-
onEnd: (s) =>
|
|
115
|
+
onEnd: (s) => F(s, c),
|
|
116
116
|
group: "itxst",
|
|
117
117
|
sort: !1,
|
|
118
118
|
animation: "300",
|
|
@@ -122,7 +122,7 @@ const Q = { class: "move" }, T = {
|
|
|
122
122
|
default: g(() => [
|
|
123
123
|
(o(!0), r(k, null, w(l.list, (s, y) => (o(), r("div", {
|
|
124
124
|
class: D(["widget-view", { active: i.value == e.index + "-" + c + "-" + y }]),
|
|
125
|
-
onMousedown: (
|
|
125
|
+
onMousedown: (G) => C(s, e.index + "-" + c + "-" + y, G)
|
|
126
126
|
}, [
|
|
127
127
|
u(P, {
|
|
128
128
|
data: s,
|
|
@@ -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) =>
|
|
140
|
+
onClick: (s) => M(l)
|
|
141
141
|
}, null, 8, ["onClick"]),
|
|
142
142
|
e.data.columns.length !== 1 ? (o(), b(f(S), {
|
|
143
143
|
key: 0,
|
|
144
|
-
onClick: (s) =>
|
|
144
|
+
onClick: (s) => V(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] = (l) =>
|
|
153
|
+
onClick: n[0] || (n[0] = (l) => E())
|
|
154
154
|
})
|
|
155
155
|
])) : x("", !0)
|
|
156
156
|
]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, resolveComponent as f, createBlock as m, openBlock as v, withCtx as u, createVNode as t } from "vue";
|
|
2
|
-
import { f as c } from "./index-
|
|
2
|
+
import { f as c } from "./index-DtPOoi_T.js";
|
|
3
3
|
const x = /* @__PURE__ */ i({
|
|
4
4
|
__name: "Input-删除",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, resolveComponent as o, createBlock as l, openBlock as n, withCtx as i, createElementBlock as u, Fragment as d, renderList as r, createVNode as k, createCommentVNode as x, createTextVNode as D, toDisplayString as w } from "vue";
|
|
2
|
-
import { f as U } from "./index-
|
|
2
|
+
import { f as U } from "./index-DtPOoi_T.js";
|
|
3
3
|
const L = /* @__PURE__ */ _({
|
|
4
4
|
__name: "Label-删除",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as et } from "./index-
|
|
1
|
+
import { L as et } from "./index-DtPOoi_T.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
package/dist/form-imagining.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a2 as s, a3 as t, a1 as o, O as r, P as n, g as l, U as d, Q as f, X as m, Y as i, S as u, T as g, $ as p, Z as I, W as F, a0 as v } from "./index-DtPOoi_T.js";
|
|
2
2
|
export {
|
|
3
3
|
s as createScopedBus,
|
|
4
4
|
t as default,
|