@bytenew/bn-bus-ui 1.1.485 → 1.1.487
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/README.md +637 -637
- package/common.scss +999 -999
- package/dist/{assocTableSearch-B14R7A3A.js → assocTableSearch-kbvROvpw.js} +8 -8
- package/dist/assocTableSearch.css +1 -1
- package/dist/bn-bus-ui.es.js +8 -8
- package/dist/bn-bus-ui.umd.js +5 -5
- package/dist/{chooseIPaasData-fOIG1aXx.js → chooseIPaasData-TefCGcpb.js} +22 -22
- package/dist/chooseIPaasData.css +1 -1
- package/dist/{defaultSet-HoxYE-9F.js → defaultSet-DJxZBNsM.js} +26 -25
- package/dist/defaultSet.css +1 -1
- package/dist/{formItemFooter-DKR9mHyH.js → formItemFooter-Bfpm2nsV.js} +10 -10
- package/dist/formItemFooter.css +1 -1
- package/dist/{funcExprDialog-B3RuRBna.js → funcExprDialog-CmrcvFsl.js} +9 -9
- package/dist/funcExprDialog.css +1 -1
- package/dist/{index-CJrexapm.js → index-B7Gp52m9.js} +3 -3
- package/dist/{index-DWyo9v1X.js → index-BUtlUW9s.js} +4 -4
- package/dist/{index-Cb66soEA.js → index-BZMeEMZb.js} +4 -4
- package/dist/{index-Dwp4NKkn.js → index-BaIN0Ot9.js} +6 -6
- package/dist/{index-CIr8Sq-d.js → index-BbHOGUtG.js} +4 -4
- package/dist/{index-B28RAuMb.js → index-BvPN4zvj.js} +8 -8
- package/dist/{index-Cg2yGsw3.js → index-CMriEqih.js} +7 -7
- package/dist/{index-BpK0r0CG.js → index-CQc-QjRx.js} +4 -4
- package/dist/{index-DBt9WUm6.js → index-CUoUXW3F.js} +7 -7
- package/dist/{index-jfabK2PD.js → index-CW6Ndmi7.js} +7 -7
- package/dist/{index-CVkM29td.js → index-CrbcHBsG.js} +6 -6
- package/dist/{index-DiIif5ox.js → index-DcqI-hhM.js} +99 -99
- package/dist/{index-DLy9-xYN.js → index-Dd8N65W_.js} +5 -5
- package/dist/{index-LOMO--4w.js → index-DnWfUiF9.js} +4 -4
- package/dist/{index-dTyd944h.js → index-FBa-ULJa.js} +4 -4
- package/dist/{index-CLnzh4Jq.js → index-SYGAb_rp.js} +19 -19
- package/dist/{index-DOZo0Ape.js → index-dpPMTcDm.js} +4 -4
- package/dist/index.css +1 -1
- package/dist/index2.css +1 -1
- package/dist/index3.css +1 -1
- package/dist/index4.css +1 -1
- package/dist/index5.css +1 -1
- package/dist/index6.css +1 -1
- package/dist/index7.css +1 -1
- package/dist/{install-DKs4KRaQ.js → install-DTtvr7LR.js} +294 -301
- package/dist/install.css +1 -1
- package/dist/{setOption-ZQjUdwfR.js → setOption-CzwF-xsy.js} +10 -10
- package/dist/setOption.css +1 -1
- package/dist/{setRelationOption-BdKiesUj.js → setRelationOption-4ftBKWYR.js} +5 -5
- package/dist/setRelationOption.css +1 -1
- package/package.json +49 -49
- package/packages/font/iconfont.css +243 -243
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cloneDeep as w } from "lodash";
|
|
2
|
-
import { _,
|
|
3
|
-
import { withDirectives as k,
|
|
2
|
+
import { _, $ as N, a1 as E } from "./install-DTtvr7LR.js";
|
|
3
|
+
import { withDirectives as k, openBlock as u, createElementBlock as v, withModifiers as L, normalizeStyle as z, vShow as B, resolveComponent as h, resolveDirective as U, createBlock as C, withCtx as a, createVNode as r, createElementVNode as c, Fragment as D, renderList as P, createTextVNode as g, toDisplayString as x } from "vue";
|
|
4
4
|
const A = {
|
|
5
5
|
name: "WorksheetCopy",
|
|
6
6
|
data() {
|
|
@@ -55,14 +55,14 @@ function H(s, e, n, o, t, l) {
|
|
|
55
55
|
return k((u(), v("div", {
|
|
56
56
|
class: "worksheetCopy",
|
|
57
57
|
style: z(t.style),
|
|
58
|
-
onMouseover: e[0] || (e[0] = (...
|
|
59
|
-
onMouseleave: e[1] || (e[1] = (...
|
|
60
|
-
onClick: e[2] || (e[2] = L((...
|
|
58
|
+
onMouseover: e[0] || (e[0] = (...d) => l.onMouseEvent && l.onMouseEvent(...d)),
|
|
59
|
+
onMouseleave: e[1] || (e[1] = (...d) => l.onMouseEvent && l.onMouseEvent(...d)),
|
|
60
|
+
onClick: e[2] || (e[2] = L((...d) => l.copyText && l.copyText(...d), ["stop"]))
|
|
61
61
|
}, "复制 ", 36)), [
|
|
62
62
|
[B, t.visiable || t.isMouseIn]
|
|
63
63
|
]);
|
|
64
64
|
}
|
|
65
|
-
const O = /* @__PURE__ */ _(A, [["render", H], ["__scopeId", "data-v-
|
|
65
|
+
const O = /* @__PURE__ */ _(A, [["render", H], ["__scopeId", "data-v-684f7285"]]), j = {
|
|
66
66
|
name: "chooseIPaasData",
|
|
67
67
|
components: { tableCellCopy: O },
|
|
68
68
|
props: {
|
|
@@ -196,7 +196,7 @@ const O = /* @__PURE__ */ _(A, [["render", H], ["__scopeId", "data-v-e720d7be"]]
|
|
|
196
196
|
}
|
|
197
197
|
}, J = { class: "chooseIPaasData" }, R = { class: "chooseIPaasData-search w-margin-bottom10" }, q = { class: "w-flex-between w-margin-bottom10" }, K = { class: "w-flex-center" }, W = { class: "w-flex-center" }, G = { class: "w-flex-right w-flex-center" }, Q = { class: "w-font13 w-color-gray w-margin-right8" };
|
|
198
198
|
function X(s, e, n, o, t, l) {
|
|
199
|
-
const
|
|
199
|
+
const d = h("tableCellCopy"), I = h("BnAdvancedFilter"), m = h("el-button"), T = h("BnDrop"), b = h("vxe-column"), M = h("vxe-table"), S = h("el-pagination"), y = h("el-popover"), F = h("el-dialog"), V = U("loading");
|
|
200
200
|
return u(), C(F, {
|
|
201
201
|
modelValue: t.show,
|
|
202
202
|
"onUpdate:modelValue": e[7] || (e[7] = (i) => t.show = i),
|
|
@@ -208,7 +208,7 @@ function X(s, e, n, o, t, l) {
|
|
|
208
208
|
}, {
|
|
209
209
|
footer: a(() => [
|
|
210
210
|
c("div", G, [
|
|
211
|
-
c("span", Q, "已选择(" +
|
|
211
|
+
c("span", Q, "已选择(" + x(t.selectData.length) + "/" + x(t.orderList.length) + ")条", 1),
|
|
212
212
|
r(S, {
|
|
213
213
|
class: "w-margin-right8",
|
|
214
214
|
background: "",
|
|
@@ -224,7 +224,7 @@ function X(s, e, n, o, t, l) {
|
|
|
224
224
|
onClick: e[4] || (e[4] = (i) => t.show = !1)
|
|
225
225
|
}, {
|
|
226
226
|
default: a(() => [...e[11] || (e[11] = [
|
|
227
|
-
|
|
227
|
+
g("取消", -1)
|
|
228
228
|
])]),
|
|
229
229
|
_: 1
|
|
230
230
|
}),
|
|
@@ -240,7 +240,7 @@ function X(s, e, n, o, t, l) {
|
|
|
240
240
|
disabled: t.selectData.length == 0
|
|
241
241
|
}, {
|
|
242
242
|
default: a(() => [...e[12] || (e[12] = [
|
|
243
|
-
|
|
243
|
+
g("确认追加", -1)
|
|
244
244
|
])]),
|
|
245
245
|
_: 1
|
|
246
246
|
}, 8, ["disabled"])
|
|
@@ -262,7 +262,7 @@ function X(s, e, n, o, t, l) {
|
|
|
262
262
|
disabled: t.selectData.length == 0
|
|
263
263
|
}, {
|
|
264
264
|
default: a(() => [...e[14] || (e[14] = [
|
|
265
|
-
|
|
265
|
+
g("确认覆盖", -1)
|
|
266
266
|
])]),
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, ["disabled"])
|
|
@@ -275,7 +275,7 @@ function X(s, e, n, o, t, l) {
|
|
|
275
275
|
])
|
|
276
276
|
]),
|
|
277
277
|
default: a(() => [
|
|
278
|
-
r(
|
|
278
|
+
r(d, { ref: "childTableCopy" }, null, 512),
|
|
279
279
|
c("div", J, [
|
|
280
280
|
c("div", R, [
|
|
281
281
|
(u(!0), v(D, null, P(t.searchPost.conditions, (i, p) => (u(), v("div", {
|
|
@@ -284,12 +284,12 @@ function X(s, e, n, o, t, l) {
|
|
|
284
284
|
}, [
|
|
285
285
|
r(I, {
|
|
286
286
|
modelValue: t.searchPost.conditions[p],
|
|
287
|
-
"onUpdate:modelValue": (
|
|
287
|
+
"onUpdate:modelValue": (f) => t.searchPost.conditions[p] = f,
|
|
288
288
|
columnList: t.searchColumns,
|
|
289
|
-
onValueChange: e[0] || (e[0] = (
|
|
289
|
+
onValueChange: e[0] || (e[0] = (f) => l.search()),
|
|
290
290
|
allowSearchType: !1,
|
|
291
291
|
allowDel: "",
|
|
292
|
-
onDel: (
|
|
292
|
+
onDel: (f) => t.searchPost.conditions.splice(p, 1),
|
|
293
293
|
postFunc: n.postFunc,
|
|
294
294
|
pathUrl: i.pathUrl,
|
|
295
295
|
postData: i.postData
|
|
@@ -311,7 +311,7 @@ function X(s, e, n, o, t, l) {
|
|
|
311
311
|
link: ""
|
|
312
312
|
}, {
|
|
313
313
|
default: a(() => [...e[8] || (e[8] = [
|
|
314
|
-
|
|
314
|
+
g(" + 添加筛选条件", -1)
|
|
315
315
|
])]),
|
|
316
316
|
_: 1
|
|
317
317
|
})
|
|
@@ -325,7 +325,7 @@ function X(s, e, n, o, t, l) {
|
|
|
325
325
|
onClick: l.search
|
|
326
326
|
}, {
|
|
327
327
|
default: a(() => [...e[9] || (e[9] = [
|
|
328
|
-
|
|
328
|
+
g("筛选", -1)
|
|
329
329
|
])]),
|
|
330
330
|
_: 1
|
|
331
331
|
}, 8, ["onClick"])
|
|
@@ -355,12 +355,12 @@ function X(s, e, n, o, t, l) {
|
|
|
355
355
|
c("span", null, "暂无数据", -1)
|
|
356
356
|
])]),
|
|
357
357
|
default: a(() => [
|
|
358
|
-
r(
|
|
358
|
+
r(b, {
|
|
359
359
|
type: "checkbox",
|
|
360
360
|
width: "32",
|
|
361
361
|
fixed: "left"
|
|
362
362
|
}),
|
|
363
|
-
(u(!0), v(D, null, P(t.columnData.moduleDefinition, (i, p) => (u(), C(
|
|
363
|
+
(u(!0), v(D, null, P(t.columnData.moduleDefinition, (i, p) => (u(), C(b, {
|
|
364
364
|
visible: i.extraInfo.isAddable == 1,
|
|
365
365
|
title: i.name,
|
|
366
366
|
field: i.columnCode,
|
|
@@ -370,8 +370,8 @@ function X(s, e, n, o, t, l) {
|
|
|
370
370
|
"show-overflow": "title",
|
|
371
371
|
"show-footer-overflow": ""
|
|
372
372
|
}, {
|
|
373
|
-
default: a((
|
|
374
|
-
c("span", null,
|
|
373
|
+
default: a((f) => [
|
|
374
|
+
c("span", null, x(l.getTitle(i, f.row[i.columnCode])), 1)
|
|
375
375
|
]),
|
|
376
376
|
_: 2
|
|
377
377
|
}, 1032, ["visible", "title", "field"]))), 128))
|
|
@@ -385,7 +385,7 @@ function X(s, e, n, o, t, l) {
|
|
|
385
385
|
_: 1
|
|
386
386
|
}, 8, ["modelValue", "title"]);
|
|
387
387
|
}
|
|
388
|
-
const ee = /* @__PURE__ */ _(j, [["render", X], ["__scopeId", "data-v-
|
|
388
|
+
const ee = /* @__PURE__ */ _(j, [["render", X], ["__scopeId", "data-v-67f946e1"]]);
|
|
389
389
|
export {
|
|
390
390
|
ee as default
|
|
391
391
|
};
|
package/dist/chooseIPaasData.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.worksheetCopy[data-v-
|
|
1
|
+
.worksheetCopy[data-v-684f7285]{position:fixed;width:34px;height:22px;line-height:22px;text-align:center;background-color:#3333334d;color:#fff;font-size:12px;z-index:999999}.worksheetCopy[data-v-684f7285]:hover{background-color:#65acff;cursor:pointer}.chooseIPaasData[data-v-67f946e1]{height:100%;overflow:hidden}.chooseIPaasData-search[data-v-67f946e1]{display:flex;flex-wrap:wrap;max-height:142px;overflow-y:auto;gap:10px 18px}.chooseIPaasData-search-item[data-v-67f946e1]{width:calc(33.33% - 18px);flex-grow:0}.chooseIPaasData-out[data-v-67f946e1] .vxe-table--header .vxe-header--row{background-color:#ecf5ff}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as u,
|
|
2
|
-
import { _ as C } from "./install-
|
|
1
|
+
import { resolveComponent as u, openBlock as f, createElementBlock as s, createVNode as d, withCtx as h, createElementVNode as _, createCommentVNode as r } from "vue";
|
|
2
|
+
import { _ as C } from "./install-DTtvr7LR.js";
|
|
3
3
|
import { cloneDeep as g } from "lodash";
|
|
4
4
|
const x = {
|
|
5
5
|
name: "defaultSet",
|
|
@@ -68,16 +68,17 @@ const x = {
|
|
|
68
68
|
* @param {Object} column - 被选中的组件对象
|
|
69
69
|
*/
|
|
70
70
|
handleColumnSelect(t) {
|
|
71
|
-
var e,
|
|
71
|
+
var e, c, m;
|
|
72
72
|
if (((e = this.columnInfo.extraInfo.defaultInfoRuleCols) == null ? void 0 : e.length) >= 10) {
|
|
73
73
|
this.$message.warning("最多可设置10个组件", 2.5);
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
|
-
const l = (
|
|
76
|
+
const l = (c = this.$refs.defaultContentString) == null ? void 0 : c.input, n = `$${t.name}$`, o = this.insertTextAtCursor(l, n);
|
|
77
77
|
this.columnInfo.defaultInfo = o, this.updateDefaultInfoWithCodeAndId(), ((m = this.columnInfo.extraInfo.defaultInfoRuleCols) == null ? void 0 : m.some(
|
|
78
78
|
(I) => I.id === t.id && I.name === t.name
|
|
79
79
|
)) || (this.columnInfo.extraInfo.defaultInfoRuleCols = this.columnInfo.extraInfo.defaultInfoRuleCols || [], this.columnInfo.extraInfo.defaultInfoRuleCols.push({
|
|
80
80
|
name: t.name,
|
|
81
|
+
id: t.id,
|
|
81
82
|
columnCode: t.columnCode,
|
|
82
83
|
behaviorType: t.behaviorType
|
|
83
84
|
}));
|
|
@@ -100,8 +101,8 @@ const x = {
|
|
|
100
101
|
}
|
|
101
102
|
}, D = { class: "w-default-wrap" };
|
|
102
103
|
function w(t, l, n, o, i, e) {
|
|
103
|
-
const
|
|
104
|
-
return
|
|
104
|
+
const c = u("el-tooltip"), m = u("BnDrop"), I = u("el-input");
|
|
105
|
+
return f(), s("div", D, [
|
|
105
106
|
d(I, {
|
|
106
107
|
modelValue: e.columnInfo.defaultInfo,
|
|
107
108
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => e.columnInfo.defaultInfo = p),
|
|
@@ -119,7 +120,7 @@ function w(t, l, n, o, i, e) {
|
|
|
119
120
|
}, {
|
|
120
121
|
default: h(() => [
|
|
121
122
|
_("div", null, [
|
|
122
|
-
d(
|
|
123
|
+
d(c, {
|
|
123
124
|
class: "box-item",
|
|
124
125
|
effect: "dark",
|
|
125
126
|
"show-after": 600,
|
|
@@ -140,7 +141,7 @@ function w(t, l, n, o, i, e) {
|
|
|
140
141
|
}, 8, ["modelValue", "onChange"])
|
|
141
142
|
]);
|
|
142
143
|
}
|
|
143
|
-
const T = /* @__PURE__ */ C(x, [["render", w], ["__scopeId", "data-v-
|
|
144
|
+
const T = /* @__PURE__ */ C(x, [["render", w], ["__scopeId", "data-v-f34e4372"]]), k = {
|
|
144
145
|
name: "defaultSet",
|
|
145
146
|
components: { stringDefault: T },
|
|
146
147
|
props: {
|
|
@@ -208,10 +209,10 @@ const T = /* @__PURE__ */ C(x, [["render", w], ["__scopeId", "data-v-c847d7d8"]]
|
|
|
208
209
|
};
|
|
209
210
|
function L(t, l, n, o, i, e) {
|
|
210
211
|
var b;
|
|
211
|
-
const
|
|
212
|
-
return
|
|
213
|
-
e.columnInfo.behaviorType ?
|
|
214
|
-
d(
|
|
212
|
+
const c = u("el-input"), m = u("stringDefault"), I = u("BnInpNum"), p = u("BnSelect"), V = u("BnCascader"), y = u("el-date-picker"), v = u("BnDatePicker");
|
|
213
|
+
return f(), s("div", S, [
|
|
214
|
+
e.columnInfo.behaviorType ? r("", !0) : (f(), s("div", B, [
|
|
215
|
+
d(c, {
|
|
215
216
|
modelValue: e.columnInfo.defaultInfo,
|
|
216
217
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => e.columnInfo.defaultInfo = a),
|
|
217
218
|
placeholder: "设置组件默认值",
|
|
@@ -219,23 +220,23 @@ function L(t, l, n, o, i, e) {
|
|
|
219
220
|
disabled: n.disabled
|
|
220
221
|
}, null, 8, ["modelValue", "disabled"])
|
|
221
222
|
])),
|
|
222
|
-
e.columnInfo.behaviorType == 1 ? (
|
|
223
|
+
e.columnInfo.behaviorType == 1 ? (f(), s("div", U, [
|
|
223
224
|
d(m, {
|
|
224
225
|
modelValue: e.columnInfo,
|
|
225
226
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => e.columnInfo = a),
|
|
226
227
|
disabled: n.disabled,
|
|
227
228
|
columnList: n.columnList
|
|
228
229
|
}, null, 8, ["modelValue", "disabled", "columnList"])
|
|
229
|
-
])) :
|
|
230
|
-
e.columnInfo.behaviorType == 2 ? (
|
|
230
|
+
])) : r("", !0),
|
|
231
|
+
e.columnInfo.behaviorType == 2 ? (f(), s("div", P, [
|
|
231
232
|
d(I, {
|
|
232
233
|
modelValue: e.columnInfo.defaultInfo,
|
|
233
234
|
"onUpdate:modelValue": l[2] || (l[2] = (a) => e.columnInfo.defaultInfo = a),
|
|
234
235
|
disabled: n.disabled,
|
|
235
236
|
precision: (b = e.columnInfo.extraInfo) == null ? void 0 : b.valueType
|
|
236
237
|
}, null, 8, ["modelValue", "disabled", "precision"])
|
|
237
|
-
])) :
|
|
238
|
-
[3, 4, 5].includes(e.columnInfo.behaviorType) ? (
|
|
238
|
+
])) : r("", !0),
|
|
239
|
+
[3, 4, 5].includes(e.columnInfo.behaviorType) ? (f(), s("div", A, [
|
|
239
240
|
d(p, {
|
|
240
241
|
modelValue: e.columnInfo.defaultInfo,
|
|
241
242
|
"onUpdate:modelValue": l[3] || (l[3] = (a) => e.columnInfo.defaultInfo = a),
|
|
@@ -251,8 +252,8 @@ function L(t, l, n, o, i, e) {
|
|
|
251
252
|
clearable: "",
|
|
252
253
|
filterable: ""
|
|
253
254
|
}, null, 8, ["modelValue", "options", "multiple", "disabled", "pathUrl", "postData", "postFunc"])
|
|
254
|
-
])) :
|
|
255
|
-
e.columnInfo.behaviorType == 6 || e.columnInfo.behaviorType == 20 ? (
|
|
255
|
+
])) : r("", !0),
|
|
256
|
+
e.columnInfo.behaviorType == 6 || e.columnInfo.behaviorType == 20 ? (f(), s("div", F, [
|
|
256
257
|
d(V, {
|
|
257
258
|
modelValue: e.columnInfo.defaultInfo,
|
|
258
259
|
"onUpdate:modelValue": l[4] || (l[4] = (a) => e.columnInfo.defaultInfo = a),
|
|
@@ -268,8 +269,8 @@ function L(t, l, n, o, i, e) {
|
|
|
268
269
|
multiple: e.columnInfo.behaviorType == 20,
|
|
269
270
|
clearable: ""
|
|
270
271
|
}, null, 8, ["modelValue", "postFunc", "path-url", "post-data", "label-in-value", "options", "multiple"])
|
|
271
|
-
])) :
|
|
272
|
-
e.columnInfo.behaviorType == 7 ? (
|
|
272
|
+
])) : r("", !0),
|
|
273
|
+
e.columnInfo.behaviorType == 7 ? (f(), s("div", R, [
|
|
273
274
|
d(y, {
|
|
274
275
|
style: { width: "100%" },
|
|
275
276
|
disabled: n.disabled,
|
|
@@ -280,18 +281,18 @@ function L(t, l, n, o, i, e) {
|
|
|
280
281
|
format: "YYYY-MM-DD HH:mm:ss",
|
|
281
282
|
"value-format": "YYYY-MM-DD HH:mm:ss"
|
|
282
283
|
}, null, 8, ["disabled", "modelValue"])
|
|
283
|
-
])) :
|
|
284
|
-
e.columnInfo.behaviorType == 8 ? (
|
|
284
|
+
])) : r("", !0),
|
|
285
|
+
e.columnInfo.behaviorType == 8 ? (f(), s("div", W, [
|
|
285
286
|
d(v, {
|
|
286
287
|
modelValue: e.columnInfo.defaultInfo,
|
|
287
288
|
"onUpdate:modelValue": l[6] || (l[6] = (a) => e.columnInfo.defaultInfo = a),
|
|
288
289
|
type: "datetimerange",
|
|
289
290
|
disabled: n.disabled
|
|
290
291
|
}, null, 8, ["modelValue", "disabled"])
|
|
291
|
-
])) :
|
|
292
|
+
])) : r("", !0)
|
|
292
293
|
]);
|
|
293
294
|
}
|
|
294
|
-
const E = /* @__PURE__ */ C(k, [["render", L], ["__scopeId", "data-v-
|
|
295
|
+
const E = /* @__PURE__ */ C(k, [["render", L], ["__scopeId", "data-v-b47a6b44"]]);
|
|
295
296
|
export {
|
|
296
297
|
E as default
|
|
297
298
|
};
|
package/dist/defaultSet.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.defaultSet[data-v-
|
|
1
|
+
.defaultSet[data-v-f34e4372],.defaultSet[data-v-b47a6b44]{position:relative;width:100%}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as g,
|
|
2
|
-
import { _ as v } from "./install-
|
|
1
|
+
import { resolveComponent as g, openBlock as n, createElementBlock as r, normalizeClass as y, withDirectives as m, createElementVNode as o, vShow as u, createTextVNode as c, toDisplayString as i, createBlock as w, withCtx as s, createCommentVNode as a, Fragment as B, renderList as C } from "vue";
|
|
2
|
+
import { _ as v } from "./install-DTtvr7LR.js";
|
|
3
3
|
const F = {
|
|
4
4
|
name: "formItemTop",
|
|
5
5
|
props: {
|
|
@@ -14,10 +14,10 @@ function U(d, t, e, I, h, k) {
|
|
|
14
14
|
class: y(["w-default-wrap BnSmartForm-title", { "w-color-red": e.column.error }])
|
|
15
15
|
}, [
|
|
16
16
|
m(o("span", S, "*", 512), [
|
|
17
|
-
[
|
|
17
|
+
[u, e.column.extraInfo.valueEmptyCheck == 1]
|
|
18
18
|
]),
|
|
19
19
|
c(" " + i(e.column.name) + " ", 1),
|
|
20
|
-
e.column.extraInfo.searchKey == 2 ? (n(),
|
|
20
|
+
e.column.extraInfo.searchKey == 2 ? (n(), w(l, {
|
|
21
21
|
key: 0,
|
|
22
22
|
placement: "top-start",
|
|
23
23
|
width: 400,
|
|
@@ -32,7 +32,7 @@ function U(d, t, e, I, h, k) {
|
|
|
32
32
|
]),
|
|
33
33
|
_: 1
|
|
34
34
|
})) : a("", !0),
|
|
35
|
-
e.dataBack && e.dataBack.key == e.column.columnCode ? (n(),
|
|
35
|
+
e.dataBack && e.dataBack.key == e.column.columnCode ? (n(), w(l, {
|
|
36
36
|
key: 1,
|
|
37
37
|
placement: "top-start",
|
|
38
38
|
width: 400,
|
|
@@ -56,7 +56,7 @@ function U(d, t, e, I, h, k) {
|
|
|
56
56
|
})) : a("", !0)
|
|
57
57
|
], 2);
|
|
58
58
|
}
|
|
59
|
-
const R = /* @__PURE__ */ v(F, [["render", U], ["__scopeId", "data-v-
|
|
59
|
+
const R = /* @__PURE__ */ v(F, [["render", U], ["__scopeId", "data-v-2ae0a737"]]), E = {
|
|
60
60
|
name: "formItemFooter",
|
|
61
61
|
props: {
|
|
62
62
|
//组件对象
|
|
@@ -76,10 +76,10 @@ function T(d, t, e, I, h, k) {
|
|
|
76
76
|
return n(), r("div", j, [
|
|
77
77
|
o("div", O, [
|
|
78
78
|
m(o("span", { class: "w-font-min w-color-red" }, i(e.column.error), 513), [
|
|
79
|
-
[
|
|
79
|
+
[u, e.column.error]
|
|
80
80
|
]),
|
|
81
81
|
m(o("span", { class: "w-font-min w-color-orange" }, i(e.column.warning), 513), [
|
|
82
|
-
[
|
|
82
|
+
[u, e.column.warning && !e.column.error]
|
|
83
83
|
]),
|
|
84
84
|
e.extraInfo && e.extraInfo.isCheckRepeat && e.column.warning && e.column.warning.includes("相同") ? (n(), r("span", {
|
|
85
85
|
key: 0,
|
|
@@ -89,7 +89,7 @@ function T(d, t, e, I, h, k) {
|
|
|
89
89
|
]),
|
|
90
90
|
(f = e.column.extraInfo) != null && f.paraExplain ? (n(), r("div", N, i(e.column.extraInfo.paraExplain), 1)) : a("", !0),
|
|
91
91
|
((_ = (p = e.column.extraInfo) == null ? void 0 : p.operationPictures) == null ? void 0 : _.length) > 0 ? (n(), r("div", P, [
|
|
92
|
-
(n(!0), r(B, null, C(e.column.extraInfo.operationPictures, (x, b) => (n(),
|
|
92
|
+
(n(!0), r(B, null, C(e.column.extraInfo.operationPictures, (x, b) => (n(), w(l, {
|
|
93
93
|
"preview-teleported": "",
|
|
94
94
|
style: { width: "46px", height: "46px" },
|
|
95
95
|
src: x,
|
|
@@ -101,7 +101,7 @@ function T(d, t, e, I, h, k) {
|
|
|
101
101
|
])) : a("", !0)
|
|
102
102
|
]);
|
|
103
103
|
}
|
|
104
|
-
const z = /* @__PURE__ */ v(E, [["render", T], ["__scopeId", "data-v-
|
|
104
|
+
const z = /* @__PURE__ */ v(E, [["render", T], ["__scopeId", "data-v-101622e9"]]);
|
|
105
105
|
export {
|
|
106
106
|
R as a,
|
|
107
107
|
z as f
|
package/dist/formItemFooter.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.BnSmartForm-title[data-v-
|
|
1
|
+
.BnSmartForm-title[data-v-2ae0a737]{height:32px;line-height:32px;font-size:14px;color:#666}.BnSmartForm-title-tip[data-v-2ae0a737]{font-size:12px;color:#777}.BnSmartForm-explain[data-v-2ae0a737]{margin-top:5px;color:#888;font-size:12px}.BnSmartForm-img[data-v-2ae0a737]{margin-top:8px}.BnSmartForm-img-item[data-v-2ae0a737]{display:inline-block;width:46px;height:46px;margin-right:8px;border-radius:4px;border:1px solid #E6E6E6}.BnSmartForm-img-item img[data-v-2ae0a737]{width:100%;height:100%;border-radius:4px}.BnSmartForm-tips[data-v-2ae0a737]{line-height:32px;font-size:12px}.BnSmartForm-title[data-v-101622e9]{height:32px;line-height:32px;font-size:14px;color:#666}.BnSmartForm-title-tip[data-v-101622e9]{font-size:12px;color:#777}.BnSmartForm-explain[data-v-101622e9]{margin-top:5px;color:#888;font-size:12px}.BnSmartForm-img[data-v-101622e9]{margin-top:8px}.BnSmartForm-img-item[data-v-101622e9]{display:inline-block;width:46px;height:46px;margin-right:8px;border-radius:4px;border:1px solid #E6E6E6}.BnSmartForm-img-item img[data-v-101622e9]{width:100%;height:100%;border-radius:4px}.BnSmartForm-tips[data-v-101622e9]{line-height:32px;font-size:12px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as i,
|
|
2
|
-
import { _ as I } from "./install-
|
|
1
|
+
import { resolveComponent as i, openBlock as c, createBlock as f, withCtx as n, createCommentVNode as v, createElementVNode as r, createVNode as a, createTextVNode as u } from "vue";
|
|
2
|
+
import { _ as I } from "./install-DTtvr7LR.js";
|
|
3
3
|
const _ = {
|
|
4
4
|
name: "funcExprDialog",
|
|
5
5
|
props: {
|
|
@@ -74,10 +74,10 @@ const _ = {
|
|
|
74
74
|
}
|
|
75
75
|
}, g = { class: "dialog-footer" };
|
|
76
76
|
function y(t, e, l, d, o, s) {
|
|
77
|
-
const h = i("BnFunExpr"), x = i("el-link"), p = i("el-button"),
|
|
78
|
-
return c(),
|
|
77
|
+
const h = i("BnFunExpr"), x = i("el-link"), p = i("el-button"), b = i("el-dialog");
|
|
78
|
+
return c(), f(b, {
|
|
79
79
|
modelValue: o.visible,
|
|
80
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
80
|
+
"onUpdate:modelValue": e[1] || (e[1] = (m) => o.visible = m),
|
|
81
81
|
title: "编辑函数",
|
|
82
82
|
top: "5vh",
|
|
83
83
|
"close-on-click-modal": !1,
|
|
@@ -101,7 +101,7 @@ function y(t, e, l, d, o, s) {
|
|
|
101
101
|
]),
|
|
102
102
|
r("div", null, [
|
|
103
103
|
a(p, {
|
|
104
|
-
onClick: e[0] || (e[0] = (
|
|
104
|
+
onClick: e[0] || (e[0] = (m) => o.visible = !1)
|
|
105
105
|
}, {
|
|
106
106
|
default: n(() => [...e[3] || (e[3] = [
|
|
107
107
|
u("取消", -1)
|
|
@@ -122,18 +122,18 @@ function y(t, e, l, d, o, s) {
|
|
|
122
122
|
])
|
|
123
123
|
]),
|
|
124
124
|
default: n(() => [
|
|
125
|
-
o.visible ? (c(),
|
|
125
|
+
o.visible ? (c(), f(h, {
|
|
126
126
|
key: 0,
|
|
127
127
|
id: s.columnInfo.extraInfo.exprId,
|
|
128
128
|
"column-list": s.columnList,
|
|
129
129
|
ref: "bnFunExpr",
|
|
130
130
|
"post-func": l.postFunc
|
|
131
|
-
}, null, 8, ["id", "column-list", "post-func"])) :
|
|
131
|
+
}, null, 8, ["id", "column-list", "post-func"])) : v("", !0)
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
134
134
|
}, 8, ["modelValue"]);
|
|
135
135
|
}
|
|
136
|
-
const F = /* @__PURE__ */ I(_, [["render", y], ["__scopeId", "data-v-
|
|
136
|
+
const F = /* @__PURE__ */ I(_, [["render", y], ["__scopeId", "data-v-d954db8c"]]);
|
|
137
137
|
export {
|
|
138
138
|
F as default
|
|
139
139
|
};
|
package/dist/funcExprDialog.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dialog-footer[data-v-
|
|
1
|
+
.dialog-footer[data-v-d954db8c]{display:flex;justify-content:space-between;position:relative}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debounce as h } from "lodash";
|
|
2
|
-
import { resolveComponent as n,
|
|
3
|
-
import { _ } from "./install-
|
|
2
|
+
import { resolveComponent as n, openBlock as f, createElementBlock as w, createElementVNode as o, createVNode as l, withCtx as c, createTextVNode as r } from "vue";
|
|
3
|
+
import { _ } from "./install-DTtvr7LR.js";
|
|
4
4
|
const g = {
|
|
5
5
|
name: "BnAddressParse",
|
|
6
6
|
props: {
|
|
@@ -44,7 +44,7 @@ const g = {
|
|
|
44
44
|
}, v = { class: "w-default-wrap" }, B = { class: "w-margin-bottom10 w-flex-center" };
|
|
45
45
|
function V(e, t, p, d, a, s) {
|
|
46
46
|
const i = n("el-popover"), u = n("el-input");
|
|
47
|
-
return
|
|
47
|
+
return f(), w("div", v, [
|
|
48
48
|
o("div", B, [
|
|
49
49
|
l(i, {
|
|
50
50
|
placement: "top-start",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f, a as h } from "./formItemFooter-
|
|
1
|
+
import { f, a as h } from "./formItemFooter-Bfpm2nsV.js";
|
|
2
2
|
import { debounce as p } from "lodash";
|
|
3
|
-
import { resolveComponent as m,
|
|
4
|
-
import { _ as v } from "./install-
|
|
3
|
+
import { resolveComponent as m, openBlock as _, createElementBlock as I, createVNode as u, createElementVNode as x } from "vue";
|
|
4
|
+
import { _ as v } from "./install-DTtvr7LR.js";
|
|
5
5
|
const B = {
|
|
6
6
|
name: "numberForm",
|
|
7
7
|
components: { formItemTop: h, formItemFooter: f },
|
|
@@ -44,7 +44,7 @@ const B = {
|
|
|
44
44
|
function w(n, e, o, V, g, t) {
|
|
45
45
|
var l, c, a;
|
|
46
46
|
const r = m("formItemTop"), i = m("BnInpNum"), s = m("formItemFooter");
|
|
47
|
-
return
|
|
47
|
+
return _(), I("div", b, [
|
|
48
48
|
u(r, { column: o.column }, null, 8, ["column"]),
|
|
49
49
|
x("div", F, [
|
|
50
50
|
u(i, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as i, f as s } from "./formItemFooter-
|
|
2
|
-
import { resolveComponent as o,
|
|
3
|
-
import { _ as p } from "./install-
|
|
1
|
+
import { a as i, f as s } from "./formItemFooter-Bfpm2nsV.js";
|
|
2
|
+
import { resolveComponent as o, openBlock as d, createElementBlock as r, createVNode as t, createElementVNode as f } from "vue";
|
|
3
|
+
import { _ as p } from "./install-DTtvr7LR.js";
|
|
4
4
|
const h = {
|
|
5
5
|
name: "editSelectCol",
|
|
6
6
|
components: { formItemFooter: s, formItemTop: i },
|
|
@@ -34,7 +34,7 @@ const h = {
|
|
|
34
34
|
}, _ = { class: "w-default-wrap" }, g = { class: "w-default-wrap" };
|
|
35
35
|
function I(b, n, e, x, F, l) {
|
|
36
36
|
const a = o("formItemTop"), c = o("BnSelect"), m = o("formItemFooter");
|
|
37
|
-
return
|
|
37
|
+
return d(), r("div", _, [
|
|
38
38
|
t(a, { column: e.column }, null, 8, ["column"]),
|
|
39
39
|
f("div", g, [
|
|
40
40
|
t(c, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { debounce as C } from "lodash";
|
|
2
|
-
import { f as U, a as R } from "./formItemFooter-
|
|
3
|
-
import { resolveComponent as u,
|
|
4
|
-
import { _ as j } from "./install-
|
|
2
|
+
import { f as U, a as R } from "./formItemFooter-Bfpm2nsV.js";
|
|
3
|
+
import { resolveComponent as u, openBlock as r, createElementBlock as F, createVNode as i, createElementVNode as D, createBlock as d, withCtx as N, createTextVNode as S, toDisplayString as T, createCommentVNode as O } from "vue";
|
|
4
|
+
import { _ as j } from "./install-DTtvr7LR.js";
|
|
5
5
|
const z = {
|
|
6
6
|
name: "stringForm",
|
|
7
7
|
components: { formItemTop: R, formItemFooter: U },
|
|
@@ -164,12 +164,12 @@ function A(e, l, t, m, c, a) {
|
|
|
164
164
|
style: { "padding-left": "0" },
|
|
165
165
|
onClick: l[3] || (l[3] = (o) => e.$emit("operate", this.column, "choosePackage"))
|
|
166
166
|
}, {
|
|
167
|
-
default:
|
|
168
|
-
|
|
167
|
+
default: N(() => [
|
|
168
|
+
S("选择" + T(t.column.name || ""), 1)
|
|
169
169
|
]),
|
|
170
170
|
_: 1
|
|
171
171
|
})
|
|
172
|
-
])) :
|
|
172
|
+
])) : O("", !0)
|
|
173
173
|
]),
|
|
174
174
|
i(Q, {
|
|
175
175
|
column: t.column,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as d, a as s } from "./formItemFooter-
|
|
1
|
+
import { f as d, a as s } from "./formItemFooter-Bfpm2nsV.js";
|
|
2
2
|
import { debounce as f } from "lodash";
|
|
3
|
-
import { resolveComponent as n,
|
|
4
|
-
import { _ as x } from "./install-
|
|
3
|
+
import { resolveComponent as n, openBlock as i, createElementBlock as _, createVNode as t, createElementVNode as p } from "vue";
|
|
4
|
+
import { _ as x } from "./install-DTtvr7LR.js";
|
|
5
5
|
const h = {
|
|
6
6
|
name: "numberForm",
|
|
7
7
|
components: { formItemTop: s, formItemFooter: d },
|
|
@@ -25,7 +25,7 @@ const h = {
|
|
|
25
25
|
}, I = { class: "w-default-wrap" }, b = { class: "w-default-wrap" };
|
|
26
26
|
function v(m, o, e, C, g, a) {
|
|
27
27
|
const l = n("formItemTop"), c = n("el-rate"), r = n("formItemFooter");
|
|
28
|
-
return
|
|
28
|
+
return i(), _("div", I, [
|
|
29
29
|
t(l, { column: e.column }, null, 8, ["column"]),
|
|
30
30
|
p("div", b, [
|
|
31
31
|
t(c, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { _ as F,
|
|
1
|
+
import { a as b, f as I } from "./formItemFooter-Bfpm2nsV.js";
|
|
2
|
+
import { _ as F, a7 as v } from "./install-DTtvr7LR.js";
|
|
3
3
|
import { f as w } from "./fileFormData-D_Q1vylE.js";
|
|
4
|
-
import { resolveComponent as o,
|
|
4
|
+
import { resolveComponent as o, openBlock as m, createElementBlock as y, createBlock as N, createCommentVNode as x, createElementVNode as a, createVNode as i, withCtx as V, createTextVNode as T, toDisplayString as r, withDirectives as B, vShow as C } from "vue";
|
|
5
5
|
const D = {
|
|
6
6
|
name: "FileForm",
|
|
7
|
-
components: { formItemFooter:
|
|
7
|
+
components: { formItemFooter: I, formItemTop: b },
|
|
8
8
|
props: {
|
|
9
9
|
column: { type: Object, default: () => ({}) },
|
|
10
10
|
disabled: Boolean,
|
|
@@ -137,10 +137,10 @@ function S(t, e, s, u, l, n) {
|
|
|
137
137
|
"on-progress": n.handleUploadProgress,
|
|
138
138
|
"on-success": n.fileSuccess
|
|
139
139
|
}, {
|
|
140
|
-
default:
|
|
140
|
+
default: V(() => [...e[1] || (e[1] = [
|
|
141
141
|
a("div", { class: "fileForm-btn" }, [
|
|
142
142
|
a("span", { class: "bnUIcon bnUIcon-upload" }),
|
|
143
|
-
|
|
143
|
+
T(" 选择或拖拽上传文件 ")
|
|
144
144
|
], -1)
|
|
145
145
|
])]),
|
|
146
146
|
_: 1
|
|
@@ -155,7 +155,7 @@ function S(t, e, s, u, l, n) {
|
|
|
155
155
|
}, null, 8, ["modelValue", "disabled"]),
|
|
156
156
|
a("span", L, "最多可上传" + r(l.uploadFileNumber) + "个文件,单个文件不超过" + r(l.showLimit) + "M", 1)
|
|
157
157
|
]),
|
|
158
|
-
|
|
158
|
+
B(i(h, {
|
|
159
159
|
style: { width: "100%", "max-width": "444px" },
|
|
160
160
|
percentage: l.uploadProgress,
|
|
161
161
|
class: "fileForm-progress"
|
|
@@ -172,7 +172,7 @@ function S(t, e, s, u, l, n) {
|
|
|
172
172
|
i(g, { column: s.column }, null, 8, ["column"])
|
|
173
173
|
]);
|
|
174
174
|
}
|
|
175
|
-
const A = /* @__PURE__ */ F(D, [["render", S], ["__scopeId", "data-v-
|
|
175
|
+
const A = /* @__PURE__ */ F(D, [["render", S], ["__scopeId", "data-v-ce213ba4"]]);
|
|
176
176
|
export {
|
|
177
177
|
A as default
|
|
178
178
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as f, f as _ } from "./formItemFooter-
|
|
2
|
-
import { resolveComponent as n,
|
|
3
|
-
import { _ as g } from "./install-
|
|
1
|
+
import { a as f, f as _ } from "./formItemFooter-Bfpm2nsV.js";
|
|
2
|
+
import { resolveComponent as n, openBlock as o, createElementBlock as t, createVNode as a, createElementVNode as p, Fragment as h, renderList as v, createCommentVNode as F } from "vue";
|
|
3
|
+
import { _ as g } from "./install-DTtvr7LR.js";
|
|
4
4
|
const V = {
|
|
5
5
|
name: "radioForm",
|
|
6
6
|
components: { formItemFooter: _, formItemTop: f },
|
|
@@ -24,10 +24,10 @@ const V = {
|
|
|
24
24
|
};
|
|
25
25
|
function x(B, l, e, C, k, m) {
|
|
26
26
|
const r = n("formItemTop"), c = n("BnRadio"), d = n("formItemFooter");
|
|
27
|
-
return
|
|
27
|
+
return o(), t("div", w, [
|
|
28
28
|
a(r, { column: e.column }, null, 8, ["column"]),
|
|
29
29
|
p("div", I, [
|
|
30
|
-
(
|
|
30
|
+
(o(!0), t(h, null, v(e.column.moduleDefinition, (i, u) => (o(), t("div", {
|
|
31
31
|
class: "radioForm-item",
|
|
32
32
|
key: u
|
|
33
33
|
}, [
|
|
@@ -40,12 +40,12 @@ function x(B, l, e, C, k, m) {
|
|
|
40
40
|
onChange: m.changeVal
|
|
41
41
|
}, null, 8, ["modelValue", "disabled", "trueData", "onChange"])
|
|
42
42
|
]))), 128)),
|
|
43
|
-
e.column.moduleDefinition.length == 0 ? (
|
|
43
|
+
e.column.moduleDefinition.length == 0 ? (o(), t("div", b, " 无数据 ")) : F("", !0)
|
|
44
44
|
]),
|
|
45
45
|
a(d, { column: e.column }, null, 8, ["column"])
|
|
46
46
|
]);
|
|
47
47
|
}
|
|
48
|
-
const T = /* @__PURE__ */ g(V, [["render", x], ["__scopeId", "data-v-
|
|
48
|
+
const T = /* @__PURE__ */ g(V, [["render", x], ["__scopeId", "data-v-7a529164"]]);
|
|
49
49
|
export {
|
|
50
50
|
T as default
|
|
51
51
|
};
|