form-imagining 0.0.87-4 → 0.0.87-5
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-DG2_2-Fi.js → App-NW3Q6Sb6.js} +7 -7
- package/dist/{Ceshi-BcLeFL30.js → Ceshi-BdSc5eVT.js} +1 -1
- package/dist/{Ceshi2-_3ckkSPk.js → Ceshi2-h59pfXDu.js} +1 -1
- package/dist/Col-CDnQ_tPU.js +4 -0
- package/dist/Collapse-BM_nsXl6.js +4 -0
- package/dist/{Demo-ZD0mCh5N.js → Demo-D0UG9fpr.js} +1 -1
- package/dist/FX-B76NeC8T.js +4 -0
- package/dist/{FormGridCopy-BR2g53mW.js → FormGridCopy-CurlXqzd.js} +12 -12
- package/dist/GenerateForm-Doy_M9Ym.js +4 -0
- package/dist/GenerateReport-BKZzlbw5.js +4 -0
- package/dist/{HelloWorld-u_HbulFY.js → HelloWorld-BSwDqPIY.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-UiLCQSZY.js → 244-CP-QSWRs.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-DrgB7sF6.js → 244-8glVDHSt.js} +1 -1
- package/dist/{Login-Benm4ChJ.js → Login-DyfgNysv.js} +1 -1
- package/dist/ReportModule-BYlKwLmY.js +4 -0
- package/dist/SqlModule-C-e36jQU.js +4 -0
- package/dist/TableBtnModal-BPDl8cPp.js +4 -0
- package/dist/childForm-CkVha7zg.js +4 -0
- package/dist/{cssMode-D1Tj0IAa.js → cssMode-ClKfNBis.js} +1 -1
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +2 -2
- package/dist/{formTest-DAR4IzmT.js → formTest-BtB6DlOi.js} +1 -1
- package/dist/{freemarker2-BMEZohG1.js → freemarker2-BWwUQUYD.js} +1 -1
- package/dist/{handlebars-jasIbZXK.js → handlebars-0FULipSA.js} +1 -1
- package/dist/{html-ehyDZCFf.js → html-Cn1bKpdW.js} +1 -1
- package/dist/{htmlMode-CjjxpWa_.js → htmlMode-DEFOFJZM.js} +1 -1
- package/dist/{index-C0lQMLLd.js → index-19l09TVn.js} +1 -1
- package/dist/{index-eqFQXWgR.js → index-B3IQPJAL.js} +40 -37
- package/dist/{index-dx-SbYFR.js → index-C5tpKve8.js} +1 -1
- package/dist/{javascript-BgmY1IAV.js → javascript-CC9KVmWl.js} +1 -1
- package/dist/{jsonMode-C-4dANJ9.js → jsonMode-BUmVUVRy.js} +1 -1
- package/dist/{liquid-D_JATsGf.js → liquid-BIeS569R.js} +1 -1
- package/dist/{mdx-DROB7RaF.js → mdx-DSDFyclB.js} +1 -1
- package/dist/{python-jBg2fNf_.js → python-BqUTZJmc.js} +1 -1
- package/dist/{razor-sl5YU67b.js → razor-BmtAnzja.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-BBkKQbhR.js → tableSelectDemo-C6O0mKzI.js} +1 -1
- package/dist/{tableSelectDemo2-BXp2A2wu.js → tableSelectDemo2-grxyTvAx.js} +1 -1
- package/dist/{tsMode-DaIxfa8l.js → tsMode-DIEiCACy.js} +1 -1
- package/dist/{typescript-C8XTGg6D.js → typescript-Bbgc41az.js} +1 -1
- package/dist/{xml-zJJIswk3.js → xml-DgViPsaL.js} +1 -1
- package/dist/{yaml-ByfY5_Pe.js → yaml-DkvZFSfi.js} +1 -1
- package/package.json +1 -1
- package/dist/Col-Bhcp0BHv.js +0 -4
- package/dist/Collapse-CUmqRYcF.js +0 -4
- package/dist/FX-BtjRCPXM.js +0 -4
- package/dist/GenerateForm-B20ZpTAB.js +0 -4
- package/dist/GenerateReport-BL1Sef-5.js +0 -4
- package/dist/ReportModule-BVOoAvhV.js +0 -4
- package/dist/SqlModule-BQP0k2UT.js +0 -4
- package/dist/TableBtnModal-B9itHqxm.js +0 -4
- package/dist/childForm-BFZvWOc6.js +0 -4
|
@@ -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 p, createVNode as l } from "vue";
|
|
2
|
+
import { l as _, R as f } from "./index-B3IQPJAL.js";
|
|
3
3
|
const g = /* @__PURE__ */ o({
|
|
4
4
|
__name: "App",
|
|
5
|
-
setup(
|
|
5
|
+
setup(i) {
|
|
6
6
|
return r(() => {
|
|
7
|
-
}), (
|
|
7
|
+
}), (m, s) => {
|
|
8
8
|
const e = t("a-config-provider");
|
|
9
9
|
return n(), a(e, {
|
|
10
|
-
locale: c(
|
|
10
|
+
locale: c(_),
|
|
11
11
|
theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
|
|
12
12
|
}, {
|
|
13
|
-
default:
|
|
14
|
-
|
|
13
|
+
default: p(() => [
|
|
14
|
+
l(f)
|
|
15
15
|
]),
|
|
16
16
|
_: 1
|
|
17
17
|
}, 8, ["locale"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as h, ref as r, useAttrs as w, withAsyncContext as p, reactive as k, computed as f, watch as x, onMounted as q, onBeforeUpdate as F, resolveComponent as u, openBlock as Y, createElementBlock as J, Fragment as U, createVNode as _, withCtx as o, createTextVNode as s, createElementVNode as V, unref as a, mergeProps as N, toDisplayString as H } from "vue";
|
|
2
|
-
import { u as X, b as K, g as j, d as z, e as Q, f as Z, v as R, h as I, i as T, s as P, o as $, _ as ee } from "./index-
|
|
2
|
+
import { u as X, b as K, g as j, d as z, e as Q, f as Z, v as R, h as I, i as T, s as P, o as $, _ as ee } from "./index-B3IQPJAL.js";
|
|
3
3
|
const b = 14, ae = /* @__PURE__ */ h({
|
|
4
4
|
__name: "Ceshi",
|
|
5
5
|
async setup(te, { expose: g }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onBeforeUpdate, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import { j as useFormStore, k as generateReportHtml, p as paginations, m as dataSource, n as initTable, q as defHttp } from "./index-
|
|
2
|
+
import { j as useFormStore, k as generateReportHtml, p as paginations, m as dataSource, n as initTable, q as defHttp } from "./index-B3IQPJAL.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "Demo",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as j, ref as z, watch as J, resolveComponent as h, openBlock as o, createElementBlock as u, createElementVNode as L, createVNode as r, unref as f, createCommentVNode as x, normalizeStyle as
|
|
2
|
-
import { j as W, D as A, V as H,
|
|
1
|
+
import { defineComponent as j, ref as z, watch as J, resolveComponent as h, openBlock as o, createElementBlock as u, createElementVNode as L, 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 { j as W, D as A, V as H, F as K, E as P, G as D, H as S, M as R, _ as q } from "./index-B3IQPJAL.js";
|
|
3
3
|
const Q = { class: "move" }, T = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "widget-view-drag"
|
|
@@ -48,18 +48,18 @@ const Q = { class: "move" }, T = {
|
|
|
48
48
|
function E(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 F(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 = S(), n.id = S(), a.data.columns.splice(d + 1, 0, n));
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function M(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 V() {
|
|
63
63
|
if (a.data.columns.length > 0)
|
|
64
64
|
R.confirm({
|
|
65
65
|
title: "确定要删除该栅格布局吗?",
|
|
@@ -85,7 +85,7 @@ const Q = { class: "move" }, T = {
|
|
|
85
85
|
])) : x("", !0)
|
|
86
86
|
]),
|
|
87
87
|
r(G, {
|
|
88
|
-
style:
|
|
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,10 +93,10 @@ 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,
|
|
@@ -120,7 +120,7 @@ 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
125
|
onMousedown: (B) => p(s, e.index + "-" + c + "-" + y, B)
|
|
126
126
|
}, [
|
|
@@ -137,11 +137,11 @@ 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) => F(l)
|
|
141
141
|
}, null, 8, ["onClick"]),
|
|
142
142
|
e.data.columns.length !== 1 ? (o(), w(f(D), {
|
|
143
143
|
key: 0,
|
|
144
|
-
onClick: (s) =>
|
|
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(), u("div", Y, [
|
|
151
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) => V())
|
|
154
154
|
})
|
|
155
155
|
])) : x("", !0)
|
|
156
156
|
]),
|
|
@@ -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 { j as c } from "./index-
|
|
2
|
+
import { j as c } from "./index-B3IQPJAL.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, 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 { j as U } from "./index-
|
|
2
|
+
import { j as U } from "./index-B3IQPJAL.js";
|
|
3
3
|
const F = /* @__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-B3IQPJAL.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
package/dist/form-imagining.js
CHANGED