form-imagining 0.0.90-21 → 0.0.90-23
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-BRF6Bsh3.js +23 -0
- package/dist/Area-DS3e5l1E.js +4 -0
- package/dist/Bar-WPyFCfOb.js +4 -0
- package/dist/ChartsArea-vAkSJF51.js +4 -0
- package/dist/ChartsBar-iihy-4yu.js +4 -0
- package/dist/ChartsPie-DeK_m7J0.js +4 -0
- package/dist/Col-LpT6d67q.js +4 -0
- package/dist/Collapse-4zWJEwyv.js +4 -0
- package/dist/{Demo-BMZO9kk4.js → Demo-C0hyHA40.js} +1 -1
- package/dist/{Demo-NuhHRe98.js → Demo-cv0ao61G.js} +10 -10
- package/dist/FView-B7aIVldp.js +4 -0
- package/dist/FX-CfIj0Kzw.js +4 -0
- package/dist/{FormGridCopy-B3iO49wY.js → FormGridCopy-DsjWK5Le.js} +14 -14
- package/dist/{FormImagining-CzSjK-ko.js → FormImagining-DJzydARJ.js} +1 -1
- package/dist/GenerateForm-BJ_k2YE_.js +4 -0
- package/dist/GenerateReport-CrGXFR6K.js +4 -0
- package/dist/{HelloWorld-CCk87TUY.js → HelloWorld-CDRveR65.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-CugceCcX.js → 244-BEx57wGs.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-BU2yT5tO.js → 244-D6kTpeEU.js} +1 -1
- package/dist/{Login-AuNDSZ9O.js → Login-D_S3mq3e.js} +1 -1
- package/dist/Pie-4Arguy7s.js +4 -0
- package/dist/RView-eFlFE3iQ.js +4 -0
- package/dist/SqlModule-DBzXJwCD.js +4 -0
- package/dist/TableBtnModal-6F0cIEwz.js +4 -0
- package/dist/childForm-Dcp7YjzD.js +4 -0
- package/dist/{cssMode-D23mZ6Ba.js → cssMode-D_aCUTmW.js} +1 -1
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +20 -20
- package/dist/{formTest-CP8GySee.js → formTest-D0Es6za3.js} +1 -1
- package/dist/{freemarker2-D1iBu7TG.js → freemarker2-CU_VXasn.js} +1 -1
- package/dist/{handlebars-BsOPcPH7.js → handlebars-BeLeU9ms.js} +1 -1
- package/dist/{html-CE18gDA0.js → html-Cd6GJgKL.js} +1 -1
- package/dist/{htmlMode-BWvMGfAd.js → htmlMode-BLjn1xuL.js} +1 -1
- package/dist/{index-DJ-9JfIL.js → index-Bfm85Uja.js} +1 -1
- package/dist/{index-BkHIOnXB.js → index-pfvD4wLu.js} +1 -1
- package/dist/{index-Dlu8wXyw.js → index-xAg3yw8E.js} +75 -74
- package/dist/{javascript-BHzzBiyA.js → javascript-Tvh2mARK.js} +1 -1
- package/dist/{jsonMode-BoFWGyWP.js → jsonMode-B5VRJhr4.js} +1 -1
- package/dist/{liquid-C_xmJOvB.js → liquid-NEoGV9fF.js} +1 -1
- package/dist/{mdx-D0djIAuh.js → mdx-C6IeANxd.js} +1 -1
- package/dist/{python-B-AKOYHZ.js → python-BwAvXaRo.js} +1 -1
- package/dist/{razor-MKCIKwey.js → razor-C3RQH9P7.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-Bu6_ofFS.js → tableSelectDemo-BSAL_tNK.js} +1 -1
- package/dist/{tableSelectDemo2-uUipsGn9.js → tableSelectDemo2-B_zkzBSj.js} +1 -1
- package/dist/{tsMode-DjvOxnMi.js → tsMode-hPoczd65.js} +1 -1
- package/dist/{typescript-CTLGmuPU.js → typescript-BHEBWy-W.js} +1 -1
- package/dist/{xml-B-Qu-Y0h.js → xml-DNm5kB8M.js} +1 -1
- package/dist/{yaml-D28bwkmL.js → yaml-DCPiOx0Q.js} +1 -1
- package/package.json +1 -1
- package/dist/App-jPZfRtiS.js +0 -23
- package/dist/Area-NdUuGHxO.js +0 -4
- package/dist/Bar-BCNV7jde.js +0 -4
- package/dist/ChartsArea-DzE3ZCAa.js +0 -4
- package/dist/ChartsBar-AQOG5dwL.js +0 -4
- package/dist/ChartsPie-D-qeOC4g.js +0 -4
- package/dist/Col-SOjH-vml.js +0 -4
- package/dist/Collapse-DiTJ92-X.js +0 -4
- package/dist/FView-Hq2RL2Kx.js +0 -4
- package/dist/FX-D4bwgdif.js +0 -4
- package/dist/GenerateForm-CPYmseA1.js +0 -4
- package/dist/GenerateReport-utfThLeT.js +0 -4
- package/dist/Pie-Cex2wTM8.js +0 -4
- package/dist/RView-WrjqOfI8.js +0 -4
- package/dist/SqlModule-4KaCParu.js +0 -4
- package/dist/TableBtnModal-BSCQ3yHo.js +0 -4
- package/dist/childForm-CVYs2P-R.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 l, createVNode as p } from "vue";
|
|
2
|
+
import { u as m, l as s, F as _ } from "./index-xAg3yw8E.js";
|
|
3
|
+
const h = /* @__PURE__ */ o({
|
|
4
|
+
__name: "App",
|
|
5
|
+
setup(f) {
|
|
6
|
+
return m(), r(() => {
|
|
7
|
+
}), (i, u) => {
|
|
8
|
+
const e = t("a-config-provider");
|
|
9
|
+
return a(), n(e, {
|
|
10
|
+
locale: c(s),
|
|
11
|
+
theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
|
|
12
|
+
}, {
|
|
13
|
+
default: l(() => [
|
|
14
|
+
p(_)
|
|
15
|
+
]),
|
|
16
|
+
_: 1
|
|
17
|
+
}, 8, ["locale"]);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
h as default
|
|
23
|
+
};
|
|
@@ -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-xAg3yw8E.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 {
|
|
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 { B as X, E as z, G as h, H as O, I as Y, J as Z, _ as ee } from "./index-xAg3yw8E.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
|
+
}), A = {
|
|
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, O(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, O(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"), J = r("a-space"), U = r("c-table");
|
|
68
68
|
return n(), l("div", te, [
|
|
69
69
|
c(F, {
|
|
70
70
|
"label-col": { style: { width: "120px" } },
|
|
@@ -120,10 +120,10 @@ const te = {
|
|
|
120
120
|
}),
|
|
121
121
|
a(u) && a(u).length > 0 ? (n(), y($, {
|
|
122
122
|
key: 0,
|
|
123
|
-
options: a(
|
|
123
|
+
options: a(A),
|
|
124
124
|
data: a(u)
|
|
125
125
|
}, null, 8, ["options", "data"])) : L("", !0),
|
|
126
|
-
c(
|
|
126
|
+
c(U, {
|
|
127
127
|
columns: a(w),
|
|
128
128
|
"data-source": a(u),
|
|
129
129
|
onColumnsChange: M,
|
|
@@ -177,7 +177,7 @@ const te = {
|
|
|
177
177
|
p(f(o.getLabelByTreeDictCode(e.treeDict, t)), 1)
|
|
178
178
|
], 64)) : L("", !0)
|
|
179
179
|
], 64)),
|
|
180
|
-
e.key === "action" ? (n(), y(
|
|
180
|
+
e.key === "action" ? (n(), y(J, {
|
|
181
181
|
key: 3,
|
|
182
182
|
size: 0
|
|
183
183
|
}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { f as j, D as A, V as K,
|
|
1
|
+
import { defineComponent as G, 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, x as P, C as R, y as S, z as N, M as q, _ as H } from "./index-xAg3yw8E.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__ */ G({
|
|
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 M(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 V(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 E(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 F() {
|
|
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"), z = 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(z, {
|
|
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) => M(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: (B) => C(s, e.index + "-" + c + "-" + y, B)
|
|
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) => V(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) => E(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) => F())
|
|
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-xAg3yw8E.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-xAg3yw8E.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-xAg3yw8E.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 { a1 as s, a2 as t, a0 as o, O as r, P as n, g as l, T as d, Q as f, W as m, X as i, R as u, S as g, Z as p, Y as I, U as F, $ as v } from "./index-xAg3yw8E.js";
|
|
2
2
|
export {
|
|
3
3
|
s as createScopedBus,
|
|
4
4
|
t as default,
|