form-imagining 0.0.86 → 0.0.87-1-sz
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-DOA5H-7O.js → App-3lmagOXz.js} +7 -7
- package/dist/Col-BnoNKgOI.js +4 -0
- package/dist/Collapse-DcAQO-cx.js +4 -0
- package/dist/{Demo-BbPt4b0a.js → Demo-DQ4nyZh3.js} +1 -1
- package/dist/FX-D3b6yt2T.js +4 -0
- package/dist/{FormGridCopy-BnpnWyws.js → FormGridCopy-yqhE-PGV.js} +27 -27
- package/dist/GenerateForm-DvEqz2Sd.js +4 -0
- package/dist/GenerateReport-CTQ0X7um.js +4 -0
- package/dist/{HelloWorld-Z5KX3bDs.js → HelloWorld-BlfI76V3.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-BiNC1gEg.js → 244-DMkwcYlP.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-akgnLuBZ.js → 244-BQCkgrd2.js} +3 -3
- package/dist/{Login-21kTGvzQ.js → Login-C4UZ7rFE.js} +1 -1
- package/dist/ReportModule-BgYgaj4w.js +4 -0
- package/dist/SqlModule-D0Oog_3S.js +4 -0
- package/dist/TableBtnModal-DDp07gWZ.js +4 -0
- package/dist/chaxun-BgbGyLhV.js +4 -0
- package/dist/childForm-DeWqQFXv.js +4 -0
- package/dist/{cssMode-eYqQmtrj.js → cssMode-dXk3bz-J.js} +1 -1
- package/dist/del-BQGik_h0.js +4 -0
- package/dist/edit-BVI11616.js +4 -0
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +243 -213
- package/dist/{formTest-DGFZcq8X.js → formTest-CEEkJ-Tf.js} +6 -6
- package/dist/formedit-_UNT3YAa.js +4 -0
- package/dist/{freemarker2-B_Twkaya.js → freemarker2-C6gPm70Q.js} +1 -1
- package/dist/{handlebars-CFlGAJYz.js → handlebars-DOQp5B22.js} +1 -1
- package/dist/{html-FPkLR8GL.js → html-kps7IAS_.js} +1 -1
- package/dist/{htmlMode-C2DZjSkL.js → htmlMode-DwfKJ3HU.js} +1 -1
- package/dist/{index-oLW6E_mM.js → index-BnJafQec.js} +7078 -6823
- package/dist/{index-yk3NCmIu.js → index-DVVTn_Pv.js} +1 -1
- package/dist/{index-D8mED41l.js → index-_xJMMFyH.js} +1 -1
- package/dist/{javascript-aogWCz2j.js → javascript-Dzt4A-bK.js} +1 -1
- package/dist/json/gbhy.json +13581 -13581
- package/dist/{jsonMode-BFqeiNX_.js → jsonMode-xUkEyGBd.js} +1 -1
- package/dist/{liquid-HZZsyKWz.js → liquid-BQoTlJO_.js} +1 -1
- package/dist/{mdx-CXzTnq9Q.js → mdx-DUSkN5AF.js} +1 -1
- package/dist/{python-BM8adfza.js → python-Bvf1TRvI.js} +1 -1
- package/dist/{razor-C06t_77b.js → razor-BvM-Emu8.js} +1 -1
- package/dist/reload-CHUmnMoL.js +4 -0
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-NRo6guNR.js → tableSelectDemo-C3LNNFzd.js} +9 -9
- package/dist/{tableSelectDemo2-RzDEy_wF.js → tableSelectDemo2-DWfmKTzR.js} +20 -20
- package/dist/{tsMode-Bkb5PEFj.js → tsMode-GbcZYQ7I.js} +5 -5
- package/dist/{typescript-BAKueLZi.js → typescript-DKkI9Rqs.js} +1 -1
- package/dist/{xml-Dz6B7vkL.js → xml-B3aImQbv.js} +1 -1
- package/dist/{yaml-DFbCfdJ1.js → yaml-BNb9uNKf.js} +1 -1
- package/package.json +1 -1
- package/dist/Ceshi-DSabsguY.js +0 -192
- package/dist/Ceshi2-BbkjXg5e.js +0 -9
- package/dist/Col-PD-2b9no.js +0 -4
- package/dist/Collapse-B6syl1zI.js +0 -4
- package/dist/FX-BpuIVhb6.js +0 -4
- package/dist/GenerateForm-Bn_7hEk5.js +0 -4
- package/dist/GenerateReport-S95Lso0H.js +0 -4
- package/dist/ReportModule-DtiVfSWq.js +0 -4
- package/dist/SqlModule-9pl7q7or.js +0 -4
- package/dist/Table-BZSdxeKH.js +0 -4
- package/dist/TableBtnModal-DzcygeAX.js +0 -4
- package/dist/childForm-C7waYbyt.js +0 -4
- package/dist/monacoeditorwork/css.worker.bundle.js +0 -52773
- package/dist/monacoeditorwork/editor.worker.bundle.js +0 -12830
- package/dist/monacoeditorwork/html.worker.bundle.js +0 -28973
- package/dist/monacoeditorwork/json.worker.bundle.js +0 -20631
- package/dist/monacoeditorwork/ts.worker.bundle.js +0 -255664
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as o, onMounted as r, resolveComponent as t, openBlock as n, createBlock as a, unref as c, withCtx as
|
|
2
|
-
import { l as
|
|
1
|
+
import { defineComponent as o, onMounted as r, resolveComponent as t, openBlock as n, createBlock as a, unref as c, withCtx as l, createVNode as p } from "vue";
|
|
2
|
+
import { l as m, F as _ } from "./index-BnJafQec.js";
|
|
3
3
|
const g = /* @__PURE__ */ o({
|
|
4
4
|
__name: "App",
|
|
5
|
-
setup(
|
|
5
|
+
setup(f) {
|
|
6
6
|
return r(() => {
|
|
7
|
-
}), (
|
|
7
|
+
}), (i, s) => {
|
|
8
8
|
const e = t("a-config-provider");
|
|
9
9
|
return n(), a(e, {
|
|
10
|
-
locale: c(
|
|
10
|
+
locale: c(m),
|
|
11
11
|
theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
|
|
12
12
|
}, {
|
|
13
|
-
default:
|
|
14
|
-
|
|
13
|
+
default: l(() => [
|
|
14
|
+
p(_)
|
|
15
15
|
]),
|
|
16
16
|
_: 1
|
|
17
17
|
}, 8, ["locale"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onBeforeUpdate, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { u as useFormStore, g as generateReportHtml, p as paginations, d as dataSource, i as initTable, b as defHttp } from "./index-BnJafQec.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 z, ref as J, watch as L, resolveComponent as h, openBlock as o, createElementBlock as u, createElementVNode as W, createVNode as r, unref as f, createCommentVNode as x, normalizeStyle as C, withCtx as g, Fragment as I, renderList as k, createBlock as w, normalizeClass as b } from "vue";
|
|
2
|
+
import { u as j, D as q, V as A, o as K, C as P, q as D, s as S, M as R, _ as H } from "./index-BnJafQec.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: {
|
|
@@ -31,8 +31,8 @@ const Q = { class: "move" }, T = {
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["childConfig", "index"],
|
|
33
33
|
setup(e, { emit: N }) {
|
|
34
|
-
const O =
|
|
35
|
-
|
|
34
|
+
const O = j(), a = e, i = J("-1");
|
|
35
|
+
L(
|
|
36
36
|
() => a.activeIndex,
|
|
37
37
|
(t, n) => {
|
|
38
38
|
i.value = t;
|
|
@@ -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
|
-
d > -1 && (n.key =
|
|
55
|
+
d > -1 && (n.key = S(), n.id = S(), 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
|
R.confirm({
|
|
65
65
|
title: "确定要删除该栅格布局吗?",
|
|
@@ -77,15 +77,15 @@ 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(), u("div", null, [
|
|
82
|
-
|
|
82
|
+
W("div", Q, [
|
|
83
83
|
e.activeIndex == e.index ? (o(), u("div", T, [
|
|
84
|
-
r(f(
|
|
84
|
+
r(f(q), { style: { padding: "6px" } })
|
|
85
85
|
])) : x("", !0)
|
|
86
86
|
]),
|
|
87
|
-
r(
|
|
88
|
-
style:
|
|
87
|
+
r(B, {
|
|
88
|
+
style: C({ 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(O).formData.config.labelWidth + "px" } },
|
|
90
90
|
labelWrap: !0
|
|
91
91
|
}, {
|
|
@@ -93,17 +93,17 @@ const Q = { class: "move" }, T = {
|
|
|
93
93
|
r(v, {
|
|
94
94
|
gutter: [e.data.options.gutter, 8],
|
|
95
95
|
tyle: "flex",
|
|
96
|
-
style:
|
|
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), u(
|
|
99
|
+
(o(!0), u(I, null, k(e.data.columns, (l, c) => (o(), w(d, {
|
|
100
100
|
class: b(["widget-col-item", { active: i.value == "col-" + e.index + "-" + c }]),
|
|
101
101
|
span: l.options.span,
|
|
102
102
|
offset: l.options.offset,
|
|
103
103
|
onMousedown: (s) => p(l, "col-" + e.index + "-" + c, s)
|
|
104
104
|
}, {
|
|
105
105
|
default: g(() => [
|
|
106
|
-
r(f(
|
|
106
|
+
r(f(A), {
|
|
107
107
|
class: "widget-col-list",
|
|
108
108
|
style: { "min-height": "50px" },
|
|
109
109
|
"ghost-class": "ghost",
|
|
@@ -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",
|
|
@@ -120,9 +120,9 @@ const Q = { class: "move" }, T = {
|
|
|
120
120
|
itemKey: ""
|
|
121
121
|
}, {
|
|
122
122
|
default: g(() => [
|
|
123
|
-
(o(!0), u(
|
|
123
|
+
(o(!0), u(I, null, k(l.list, (s, y) => (o(), u("div", {
|
|
124
124
|
class: b(["widget-view", { active: i.value == e.index + "-" + c + "-" + y }]),
|
|
125
|
-
onMousedown: (
|
|
125
|
+
onMousedown: (G) => p(s, e.index + "-" + c + "-" + y, G)
|
|
126
126
|
}, [
|
|
127
127
|
r(K, {
|
|
128
128
|
data: s,
|
|
@@ -137,20 +137,20 @@ const Q = { class: "move" }, T = {
|
|
|
137
137
|
e.activeIndex === "col-" + e.index + "-" + c ? (o(), u("div", X, [
|
|
138
138
|
r(f(P), {
|
|
139
139
|
style: { padding: "3px 5px" },
|
|
140
|
-
onClick: (s) =>
|
|
140
|
+
onClick: (s) => V(l)
|
|
141
141
|
}, null, 8, ["onClick"]),
|
|
142
|
-
e.data.columns.length !== 1 ? (o(), w(f(
|
|
142
|
+
e.data.columns.length !== 1 ? (o(), w(f(D), {
|
|
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
|
]),
|
|
148
148
|
_: 2
|
|
149
149
|
}, 1032, ["span", "class", "offset", "onMousedown"]))), 256)),
|
|
150
150
|
e.activeIndex === e.index ? (o(), u("div", Y, [
|
|
151
|
-
r(f(
|
|
151
|
+
r(f(D), {
|
|
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
|
]),
|
|
@@ -162,7 +162,7 @@ const Q = { class: "move" }, T = {
|
|
|
162
162
|
]);
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
}), te = /* @__PURE__ */
|
|
165
|
+
}), te = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-b6a6a4fd"]]);
|
|
166
166
|
export {
|
|
167
167
|
te as default
|
|
168
168
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, resolveComponent as f, openBlock as m, createBlock as v, withCtx as u, createVNode as t } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { u as c } from "./index-BnJafQec.js";
|
|
3
3
|
const x = /* @__PURE__ */ i({
|
|
4
4
|
__name: "Input-删除",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, resolveComponent as o, openBlock as n, createBlock as l, withCtx as i, createElementBlock as u, Fragment as d, renderList as r, createVNode as k, createTextVNode as x, toDisplayString as D, createCommentVNode as w } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { u as U } from "./index-BnJafQec.js";
|
|
3
|
+
const L = /* @__PURE__ */ _({
|
|
4
4
|
__name: "Label-删除",
|
|
5
5
|
props: {
|
|
6
6
|
configData: {
|
|
@@ -88,5 +88,5 @@ const F = /* @__PURE__ */ _({
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
L as default
|
|
92
92
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const a = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20class='icon'%20width='200px'%20height='200.00px'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M747.95000029%20667.43l197.39999971%20197.39999971a56.90999971%2056.90999971%200%200%201-80.52000029%2080.49000058l-197.39999971-197.40000058a378.29999971%20378.29999971%200%200%201-225.42000029%2074.10000058C232.1%20821.98999971%2062%20651.83000029%2062%20441.98%2062%20232.1%20232.12999971%2062%20442.00999971%2062c209.85000029%200%20379.98%20170.12999971%20379.98%20380.00999971a378.29999971%20378.29999971%200%200%201-74.03999942%20225.42000029z%20m-305.94000058%2040.70999971a266.15999971%20266.15999971%200%201%200%200-532.28999971%20266.15999971%20266.15999971%200%200%200%200%20532.28999971z'%20/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
a as default
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as et } from "./index-BnJafQec.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const a = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1728610754882'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='6050'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M360%20184h304V256H736V176a64%2064%200%200%200-64-64h-320a64%2064%200%200%200-64%2064V256h72V184zM864%20256h-704a32%2032%200%200%200-32%2032V320c0%204.416%203.584%208%208%208h60.416l24.704%20523.008a64%2064%200%200%200%2063.872%2060.992h454.016a63.936%2063.936%200%200%200%2063.872-60.992l24.704-523.008h60.416A8%208%200%200%200%20896%20320v-32a32%2032%200%200%200-32-32z%20m-132.672%20584H292.672l-24.192-512h487.04l-24.192%20512z'%20fill='%23000000'%20p-id='6051'%3e%3c/path%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
a as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const c = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1728611022303'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8149'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M257.7%20752c2%200%204-0.2%206-0.5L431.9%20722c2-0.4%203.9-1.3%205.3-2.8l423.9-423.9c3.9-3.9%203.9-10.2%200-14.1L694.9%20114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2%201-7.1%202.9L256.8%20538.8c-1.5%201.5-2.4%203.3-2.8%205.3l-29.5%20168.2c-1.9%2011.1%201.5%2021.9%209.4%2029.8%206.6%206.4%2014.9%209.9%2023.8%209.9z%20m67.4-174.4L687.8%20215l73.3%2073.3-362.7%20362.6-88.9%2015.7%2015.6-89zM880%20836H144c-17.7%200-32%2014.3-32%2032v36c0%204.4%203.6%208%208%208h784c4.4%200%208-3.6%208-8v-36c0-17.7-14.3-32-32-32z'%20p-id='8150'%20fill='%23000000'%3e%3c/path%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
c as default
|
|
4
|
+
};
|
package/dist/form-imagining.js
CHANGED