form-imagining 0.0.76 → 0.0.77-2
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-2c847a69.js → App-d9509c8a.js} +1 -1
- package/dist/Code-29fc0dcb.js +5 -0
- package/dist/Col-1c9cbf5b.js +5 -0
- package/dist/Collapse-dd4a65db.js +5 -0
- package/dist/{Demo-cd05496c.js → Demo-c25686e3.js} +1 -1
- package/dist/FX-cd23dfeb.js +5 -0
- package/dist/Form-4feedda4.js +5 -0
- package/dist/{FormGridCopy-f37f9e15.js → FormGridCopy-bb7e0fe3.js} +4 -4
- package/dist/FormSetting-10db0d83.js +365 -0
- package/dist/GenerateForm-31237b8f.js +5 -0
- package/dist/{GenerateReport-59103f1c.js → GenerateReport-5c13d6e9.js} +1 -1
- package/dist/{HelloWorld-ac5f7252.js → HelloWorld-ed6f018c.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-fbd58c8d.js → 244-1c6c3abf.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-f65a6451.js → 244-1dee5f5a.js} +1 -1
- package/dist/{Login-1e7b679a.js → Login-2877b5bd.js} +1 -1
- package/dist/ReportModule-be92269d.js +5 -0
- package/dist/SqlModule-78525ead.js +5 -0
- package/dist/Table-d0d4c0ab.js +5 -0
- package/dist/TableBtnModal-e7289ca0.js +5 -0
- package/dist/cTable-3047c9d9.js +5 -0
- package/dist/childForm-01a642ee.js +5 -0
- package/dist/{cssMode-61095764.js → cssMode-dffdf9a0.js} +1 -1
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +119 -113
- package/dist/{formTest-d1348046.js → formTest-0cf2fbca.js} +3 -3
- package/dist/{freemarker2-a93847ae.js → freemarker2-c69db377.js} +1 -1
- package/dist/{handlebars-582c20d0.js → handlebars-2413adb8.js} +1 -1
- package/dist/{html-3416b19d.js → html-fc64f2ff.js} +1 -1
- package/dist/{htmlMode-34050fe3.js → htmlMode-e379bced.js} +1 -1
- package/dist/{index-bdc00930.js → index-0aeafa2b.js} +1 -1
- package/dist/{index-e1441d08.js → index-e0cba5bd.js} +2715 -2639
- package/dist/{javascript-2a35335f.js → javascript-b91b4261.js} +2 -2
- package/dist/{jsonMode-2cae5b48.js → jsonMode-828d90ff.js} +1 -1
- package/dist/{liquid-93502c03.js → liquid-dbec9b59.js} +1 -1
- package/dist/{mdx-2e21fc7e.js → mdx-bd5e9de6.js} +1 -1
- package/dist/{python-53d174cf.js → python-24e65f6d.js} +1 -1
- package/dist/{razor-684b2014.js → razor-86f0f144.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-c254f049.js → tableSelectDemo-bdc4acc8.js} +1 -1
- package/dist/{tableSelectDemo2-f5f052da.js → tableSelectDemo2-1e2daa63.js} +1 -1
- package/dist/{tsMode-f072cb46.js → tsMode-131f936e.js} +1 -1
- package/dist/{typescript-4acd90b5.js → typescript-868f93a7.js} +1 -1
- package/dist/{xml-c7b78381.js → xml-ab3ed2f3.js} +1 -1
- package/dist/{yaml-b08d2a99.js → yaml-df212ffc.js} +1 -1
- package/package.json +3 -3
- package/dist/Code-908c8fc6.js +0 -5
- package/dist/Col-c8f55cd6.js +0 -5
- package/dist/Collapse-32ecf1f7.js +0 -5
- package/dist/FX-cbc22dab.js +0 -5
- package/dist/Form-fc8144ed.js +0 -5
- package/dist/GenerateForm-235d4ea6.js +0 -5
- package/dist/ReportModule-633b91b7.js +0 -5
- package/dist/SqlModule-a5dd3e1a.js +0 -5
- package/dist/Table-2081f1ac.js +0 -5
- package/dist/TableBtnModal-ffb4ee1d.js +0 -5
- package/dist/cTable-e69c11cc.js +0 -5
- package/dist/childForm-ce822128.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
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 m } from "vue";
|
|
2
|
-
import { z as _, F as f } from "./index-
|
|
2
|
+
import { z as _, F as f } from "./index-e0cba5bd.js";
|
|
3
3
|
const h = /* @__PURE__ */ o({
|
|
4
4
|
__name: "App",
|
|
5
5
|
setup(i) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onBeforeUpdate, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import { u as useFormStore, g as generateReportHtml, p as paginations, d as dataSource, i as initTable, b as defHttp } from "./index-
|
|
2
|
+
import { u as useFormStore, g as generateReportHtml, p as paginations, d as dataSource, i as initTable, b as defHttp } from "./index-e0cba5bd.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "Demo",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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,
|
|
2
|
+
import { u as j, q, V as A, r as K, C as P, s as S, v as D, M as R, _ } from "./index-e0cba5bd.js";
|
|
3
3
|
const H = { class: "move" }, Q = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "widget-view-drag"
|
|
@@ -52,7 +52,7 @@ const H = { class: "move" }, Q = {
|
|
|
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 = D(), n.id = D(), a.data.columns.splice(d + 1, 0, n));
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function V(t) {
|
|
@@ -139,7 +139,7 @@ const H = { class: "move" }, Q = {
|
|
|
139
139
|
style: { padding: "3px 5px" },
|
|
140
140
|
onClick: (s) => M(l)
|
|
141
141
|
}, null, 8, ["onClick"]),
|
|
142
|
-
e.data.columns.length !== 1 ? (o(), w(f(
|
|
142
|
+
e.data.columns.length !== 1 ? (o(), w(f(S), {
|
|
143
143
|
key: 0,
|
|
144
144
|
onClick: (s) => V(l)
|
|
145
145
|
}, null, 8, ["onClick"])) : x("", !0)
|
|
@@ -148,7 +148,7 @@ const H = { class: "move" }, Q = {
|
|
|
148
148
|
_: 2
|
|
149
149
|
}, 1032, ["span", "class", "offset", "onMousedown"]))), 256)),
|
|
150
150
|
e.activeIndex === e.index ? (o(), u("div", X, [
|
|
151
|
-
r(f(
|
|
151
|
+
r(f(S), {
|
|
152
152
|
style: { padding: "3px 5px", color: "#fff" },
|
|
153
153
|
onClick: n[0] || (n[0] = (l) => E())
|
|
154
154
|
})
|
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import { createVNode as l, defineComponent as oe, ref as h, computed as re, resolveComponent as i, openBlock as d, createBlock as U, unref as a, isRef as ue, withCtx as n, createTextVNode as c, createElementVNode as _, createCommentVNode as M, createElementBlock as b, toDisplayString as k, Fragment as C, renderList as T, withModifiers as $ } from "vue";
|
|
2
|
+
import { A as ie, u as se, P as z, S as de, D as pe, _ as ce } from "./index-e0cba5bd.js";
|
|
3
|
+
var fe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z" } }] }, name: "arrow-right", theme: "outlined" };
|
|
4
|
+
const me = fe;
|
|
5
|
+
function H(s) {
|
|
6
|
+
for (var u = 1; u < arguments.length; u++) {
|
|
7
|
+
var o = arguments[u] != null ? Object(arguments[u]) : {}, p = Object.keys(o);
|
|
8
|
+
typeof Object.getOwnPropertySymbols == "function" && (p = p.concat(Object.getOwnPropertySymbols(o).filter(function(f) {
|
|
9
|
+
return Object.getOwnPropertyDescriptor(o, f).enumerable;
|
|
10
|
+
}))), p.forEach(function(f) {
|
|
11
|
+
ve(s, f, o[f]);
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return s;
|
|
15
|
+
}
|
|
16
|
+
function ve(s, u, o) {
|
|
17
|
+
return u in s ? Object.defineProperty(s, u, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : s[u] = o, s;
|
|
18
|
+
}
|
|
19
|
+
var F = function(u, o) {
|
|
20
|
+
var p = H({}, u, o.attrs);
|
|
21
|
+
return l(ie, H({}, p, {
|
|
22
|
+
icon: me
|
|
23
|
+
}), null);
|
|
24
|
+
};
|
|
25
|
+
F.displayName = "ArrowRightOutlined";
|
|
26
|
+
F.inheritAttrs = !1;
|
|
27
|
+
const G = F, _e = { style: { "min-height": "500px" } }, ye = { style: { "padding-top": "10px" } }, ge = { style: { padding: "0 0 10px", color: "rgba(139,61,255)" } }, he = {
|
|
28
|
+
key: 0,
|
|
29
|
+
style: { "background-color": "#fff", border: "1px solid #d9d9d9" }
|
|
30
|
+
}, be = { style: { "font-weight": "600", "padding-left": "20px" } }, we = { key: 1 }, ke = { style: { padding: "15px 0 15px", color: "rgba(139,61,255)" } }, J = "bottom", xe = /* @__PURE__ */ oe({
|
|
31
|
+
__name: "FormSetting",
|
|
32
|
+
props: {
|
|
33
|
+
open: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !1
|
|
36
|
+
},
|
|
37
|
+
title: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: "设置"
|
|
40
|
+
},
|
|
41
|
+
isedit: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: !1
|
|
44
|
+
},
|
|
45
|
+
data: {
|
|
46
|
+
type: Object,
|
|
47
|
+
default: () => ({ name: "", ruleList: [], actionList: [] })
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
emits: ["onClose"],
|
|
51
|
+
setup(s, { emit: u }) {
|
|
52
|
+
const o = s;
|
|
53
|
+
let p = h(o.open);
|
|
54
|
+
const f = se(), x = h(!1);
|
|
55
|
+
let y = h({});
|
|
56
|
+
y.value = o.data;
|
|
57
|
+
const L = h([]), D = h([]), B = h(""), Q = [
|
|
58
|
+
{ value: "eq", label: "等于" },
|
|
59
|
+
{ value: "neq", label: "不等于" },
|
|
60
|
+
{ value: "in", label: "包含" },
|
|
61
|
+
{ value: "notIn", label: "不包含" }
|
|
62
|
+
// { value: 'gt', label: '大于' },
|
|
63
|
+
// { value: 'lt', label: '小于' },
|
|
64
|
+
// { value: 'gte', label: '大于等于' },
|
|
65
|
+
// { value: 'lte', label: '小于等于' },
|
|
66
|
+
], W = [
|
|
67
|
+
{ value: "fix", label: "固定值" },
|
|
68
|
+
{ value: "field", label: "字段值" }
|
|
69
|
+
], K = [
|
|
70
|
+
{ value: "隐藏", label: "隐藏" },
|
|
71
|
+
{ value: "显示", label: "显示" }
|
|
72
|
+
];
|
|
73
|
+
function X(m) {
|
|
74
|
+
y.value.actionList.push({ actionType: m.value, actionField: [] });
|
|
75
|
+
}
|
|
76
|
+
function Y(m, e) {
|
|
77
|
+
if (e.checked) {
|
|
78
|
+
let g = y.value.ruleList, v = "当";
|
|
79
|
+
g.length > 0 && (v = "且"), g.push({
|
|
80
|
+
matchType: v,
|
|
81
|
+
title: e.node.name,
|
|
82
|
+
field: e.node.id,
|
|
83
|
+
ruleType: "等于",
|
|
84
|
+
selectType: "fix",
|
|
85
|
+
ruleValue: ""
|
|
86
|
+
}), x.value = !x;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
let A = re(() => {
|
|
90
|
+
let m = [];
|
|
91
|
+
return f.getFormDesignConfig.list.forEach((e) => {
|
|
92
|
+
e.type == "input" || e.type == "inputnumber" || e.type == "radio" ? P(m, e) : e.type == "grid" && e.columns.forEach((g) => {
|
|
93
|
+
g.list.forEach((v) => {
|
|
94
|
+
(v.type == "input" || v.type == "inputnumber" || v.type == "radio") && P(m, v);
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
}), m;
|
|
98
|
+
});
|
|
99
|
+
function P(m, e) {
|
|
100
|
+
m.push({
|
|
101
|
+
id: e.model == null ? e.id : e.model,
|
|
102
|
+
name: e.name
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
const R = u;
|
|
106
|
+
function E() {
|
|
107
|
+
R("onClose", { refresh: !0 });
|
|
108
|
+
}
|
|
109
|
+
function Z() {
|
|
110
|
+
o.isedit || (f.formData.config.formSetting == null && (f.formData.config.formSetting = []), f.formData.config.formSetting.push(y.value)), R("onClose", { refresh: !0 });
|
|
111
|
+
}
|
|
112
|
+
let ee = h(!1);
|
|
113
|
+
return (m, e) => {
|
|
114
|
+
const g = i("a-input"), v = i("a-form-item"), te = i("a-tree"), j = i("a-menu-item"), N = i("a-menu"), I = i("a-dropdown"), w = i("a-col"), V = i("a-row"), O = i("a-select"), q = i("a-button"), le = i("a-space"), ne = i("a-drawer");
|
|
115
|
+
return d(), U(ne, {
|
|
116
|
+
title: s.title,
|
|
117
|
+
width: 700,
|
|
118
|
+
open: a(p),
|
|
119
|
+
"onUpdate:open": e[7] || (e[7] = (t) => ue(p) ? p.value = t : p = t),
|
|
120
|
+
"body-style": { paddingBottom: "80px" },
|
|
121
|
+
"footer-style": { textAlign: "right" },
|
|
122
|
+
onClose: E
|
|
123
|
+
}, {
|
|
124
|
+
extra: n(() => [
|
|
125
|
+
l(le, null, {
|
|
126
|
+
default: n(() => [
|
|
127
|
+
l(q, { onClick: E }, {
|
|
128
|
+
default: n(() => [
|
|
129
|
+
c("取消")
|
|
130
|
+
]),
|
|
131
|
+
_: 1
|
|
132
|
+
}),
|
|
133
|
+
l(q, {
|
|
134
|
+
type: "primary",
|
|
135
|
+
onClick: Z
|
|
136
|
+
}, {
|
|
137
|
+
default: n(() => [
|
|
138
|
+
c("保存")
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
})
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
})
|
|
145
|
+
]),
|
|
146
|
+
default: n(() => [
|
|
147
|
+
_("div", _e, [
|
|
148
|
+
a(ee) ? (d(), U(v, {
|
|
149
|
+
key: 0,
|
|
150
|
+
label: "规则名称",
|
|
151
|
+
name: "name",
|
|
152
|
+
rules: [{ required: !0, message: "规则名称" }]
|
|
153
|
+
}, {
|
|
154
|
+
default: n(() => [
|
|
155
|
+
l(g, {
|
|
156
|
+
value: a(y).name,
|
|
157
|
+
"onUpdate:value": e[0] || (e[0] = (t) => a(y).name = t)
|
|
158
|
+
}, null, 8, ["value"])
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
})) : M("", !0),
|
|
162
|
+
_("a", {
|
|
163
|
+
class: "ant-dropdown-link",
|
|
164
|
+
onClick: e[1] || (e[1] = () => x.value = !x.value)
|
|
165
|
+
}, [
|
|
166
|
+
l(a(z)),
|
|
167
|
+
c(" 添加条件 ")
|
|
168
|
+
]),
|
|
169
|
+
_("div", ye, [
|
|
170
|
+
_("h3", ge, [
|
|
171
|
+
c("当满足以下条件 "),
|
|
172
|
+
l(a(G))
|
|
173
|
+
]),
|
|
174
|
+
x.value ? (d(), b("div", he, [
|
|
175
|
+
l(g, {
|
|
176
|
+
value: B.value,
|
|
177
|
+
"onUpdate:value": e[2] || (e[2] = (t) => B.value = t),
|
|
178
|
+
style: { "margin-bottom": "2px" }
|
|
179
|
+
}, {
|
|
180
|
+
prefix: n(() => [
|
|
181
|
+
l(a(de))
|
|
182
|
+
]),
|
|
183
|
+
_: 1
|
|
184
|
+
}, 8, ["value"]),
|
|
185
|
+
l(te, {
|
|
186
|
+
selectedKeys: L.value,
|
|
187
|
+
"onUpdate:selectedKeys": e[3] || (e[3] = (t) => L.value = t),
|
|
188
|
+
checkedKeys: D.value,
|
|
189
|
+
"onUpdate:checkedKeys": e[4] || (e[4] = (t) => D.value = t),
|
|
190
|
+
checkable: "",
|
|
191
|
+
"tree-data": a(A),
|
|
192
|
+
onCheck: Y
|
|
193
|
+
}, {
|
|
194
|
+
title: n(({ name: t, id: S }) => [
|
|
195
|
+
_("span", null, k(t), 1)
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
}, 8, ["selectedKeys", "checkedKeys", "tree-data"])
|
|
199
|
+
])) : M("", !0),
|
|
200
|
+
(d(!0), b(C, null, T(a(y).ruleList, (t, S) => (d(), b(C, null, [
|
|
201
|
+
l(V, { style: { margin: "8px 0" } }, {
|
|
202
|
+
default: n(() => [
|
|
203
|
+
l(w, { span: 12 }, {
|
|
204
|
+
default: n(() => [
|
|
205
|
+
c(k(t.matchType), 1),
|
|
206
|
+
_("span", be, k(t.title), 1),
|
|
207
|
+
l(I, {
|
|
208
|
+
trigger: ["click"],
|
|
209
|
+
placement: J
|
|
210
|
+
}, {
|
|
211
|
+
overlay: n(() => [
|
|
212
|
+
l(N, null, {
|
|
213
|
+
default: n(() => [
|
|
214
|
+
(d(), b(C, null, T(Q, (r, ae) => l(j, {
|
|
215
|
+
key: ae,
|
|
216
|
+
onClick: () => t.ruleType = r.label
|
|
217
|
+
}, {
|
|
218
|
+
default: n(() => [
|
|
219
|
+
c(k(r.label), 1)
|
|
220
|
+
]),
|
|
221
|
+
_: 2
|
|
222
|
+
}, 1032, ["onClick"])), 64))
|
|
223
|
+
]),
|
|
224
|
+
_: 2
|
|
225
|
+
}, 1024)
|
|
226
|
+
]),
|
|
227
|
+
default: n(() => [
|
|
228
|
+
_("a", {
|
|
229
|
+
class: "ant-dropdown-link",
|
|
230
|
+
onClick: e[5] || (e[5] = $(() => {
|
|
231
|
+
}, ["prevent"])),
|
|
232
|
+
style: { "padding-left": "20px" }
|
|
233
|
+
}, [
|
|
234
|
+
c(k(t.ruleType) + " ", 1),
|
|
235
|
+
l(a(pe))
|
|
236
|
+
])
|
|
237
|
+
]),
|
|
238
|
+
_: 2
|
|
239
|
+
}, 1024)
|
|
240
|
+
]),
|
|
241
|
+
_: 2
|
|
242
|
+
}, 1024),
|
|
243
|
+
l(w, { span: 12 })
|
|
244
|
+
]),
|
|
245
|
+
_: 2
|
|
246
|
+
}, 1024),
|
|
247
|
+
l(V, { gutter: [8, 8] }, {
|
|
248
|
+
default: n(() => [
|
|
249
|
+
l(w, { span: 5 }, {
|
|
250
|
+
default: n(() => [
|
|
251
|
+
l(O, {
|
|
252
|
+
value: t.selectType,
|
|
253
|
+
"onUpdate:value": (r) => t.selectType = r,
|
|
254
|
+
options: W,
|
|
255
|
+
allowClear: "",
|
|
256
|
+
style: { width: "100%" }
|
|
257
|
+
}, null, 8, ["value", "onUpdate:value"])
|
|
258
|
+
]),
|
|
259
|
+
_: 2
|
|
260
|
+
}, 1024),
|
|
261
|
+
l(w, { span: 19 }, {
|
|
262
|
+
default: n(() => [
|
|
263
|
+
t.selectType == "fix" ? (d(), U(g, {
|
|
264
|
+
key: 0,
|
|
265
|
+
value: t.ruleValue,
|
|
266
|
+
"onUpdate:value": (r) => t.ruleValue = r
|
|
267
|
+
}, null, 8, ["value", "onUpdate:value"])) : (d(), b("div", we, [
|
|
268
|
+
l(O, {
|
|
269
|
+
value: t.ruleValue,
|
|
270
|
+
"onUpdate:value": (r) => t.ruleValue = r,
|
|
271
|
+
options: a(A),
|
|
272
|
+
"field-names": { label: "name", value: "id" },
|
|
273
|
+
allowClear: "",
|
|
274
|
+
style: { width: "100%" }
|
|
275
|
+
}, null, 8, ["value", "onUpdate:value", "options"])
|
|
276
|
+
]))
|
|
277
|
+
]),
|
|
278
|
+
_: 2
|
|
279
|
+
}, 1024)
|
|
280
|
+
]),
|
|
281
|
+
_: 2
|
|
282
|
+
}, 1024)
|
|
283
|
+
], 64))), 256)),
|
|
284
|
+
_("h3", ke, [
|
|
285
|
+
c("则执行以下动作 "),
|
|
286
|
+
l(a(G))
|
|
287
|
+
]),
|
|
288
|
+
(d(!0), b(C, null, T(a(y).actionList, (t, S) => (d(), U(V, {
|
|
289
|
+
gutter: [8, 8],
|
|
290
|
+
style: { "margin-top": "5px", "margin-bottom": "5px" }
|
|
291
|
+
}, {
|
|
292
|
+
default: n(() => [
|
|
293
|
+
l(w, { span: 5 }, {
|
|
294
|
+
default: n(() => [
|
|
295
|
+
l(O, {
|
|
296
|
+
value: t.actionType,
|
|
297
|
+
"onUpdate:value": (r) => t.actionType = r,
|
|
298
|
+
options: K,
|
|
299
|
+
allowClear: "",
|
|
300
|
+
style: { width: "100%" }
|
|
301
|
+
}, null, 8, ["value", "onUpdate:value"])
|
|
302
|
+
]),
|
|
303
|
+
_: 2
|
|
304
|
+
}, 1024),
|
|
305
|
+
l(w, { span: 19 }, {
|
|
306
|
+
default: n(() => [
|
|
307
|
+
l(O, {
|
|
308
|
+
value: t.actionField,
|
|
309
|
+
"onUpdate:value": (r) => t.actionField = r,
|
|
310
|
+
options: a(A),
|
|
311
|
+
"field-names": { label: "name", value: "name" },
|
|
312
|
+
allowClear: "",
|
|
313
|
+
style: { width: "100%" },
|
|
314
|
+
mode: "tags"
|
|
315
|
+
}, null, 8, ["value", "onUpdate:value", "options"])
|
|
316
|
+
]),
|
|
317
|
+
_: 2
|
|
318
|
+
}, 1024)
|
|
319
|
+
]),
|
|
320
|
+
_: 2
|
|
321
|
+
}, 1024))), 256)),
|
|
322
|
+
l(I, {
|
|
323
|
+
trigger: ["click"],
|
|
324
|
+
placement: J
|
|
325
|
+
}, {
|
|
326
|
+
overlay: n(() => [
|
|
327
|
+
l(N, null, {
|
|
328
|
+
default: n(() => [
|
|
329
|
+
(d(), b(C, null, T(K, (t, S) => l(j, {
|
|
330
|
+
key: S,
|
|
331
|
+
onClick: (r) => X(t)
|
|
332
|
+
}, {
|
|
333
|
+
default: n(() => [
|
|
334
|
+
c(k(t.label), 1)
|
|
335
|
+
]),
|
|
336
|
+
_: 2
|
|
337
|
+
}, 1032, ["onClick"])), 64))
|
|
338
|
+
]),
|
|
339
|
+
_: 1
|
|
340
|
+
})
|
|
341
|
+
]),
|
|
342
|
+
default: n(() => [
|
|
343
|
+
_("a", {
|
|
344
|
+
class: "ant-dropdown-link",
|
|
345
|
+
onClick: e[6] || (e[6] = $(() => {
|
|
346
|
+
}, ["prevent"]))
|
|
347
|
+
}, [
|
|
348
|
+
l(a(z)),
|
|
349
|
+
c(" 添加动作 ")
|
|
350
|
+
])
|
|
351
|
+
]),
|
|
352
|
+
_: 1
|
|
353
|
+
})
|
|
354
|
+
])
|
|
355
|
+
])
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
}, 8, ["title", "open"]);
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
const Se = /* @__PURE__ */ ce(xe, [["__scopeId", "data-v-7f6affaf"]]);
|
|
363
|
+
export {
|
|
364
|
+
Se as default
|
|
365
|
+
};
|
|
@@ -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 { u as c } from "./index-
|
|
2
|
+
import { u as c } from "./index-e0cba5bd.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 { u as U } from "./index-
|
|
2
|
+
import { u as U } from "./index-e0cba5bd.js";
|
|
3
3
|
const L = /* @__PURE__ */ _({
|
|
4
4
|
__name: "Label-删除",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import {
|
|
4
|
+
import { E as Ne } from "./index-e0cba5bd.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/form-imagining.js
CHANGED