@bytenew/bn-bus-ui 1.1.455 → 1.1.457
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/{assocTableSearch-DQrXjeKz.js → assocTableSearch-BvOds67b.js} +1 -1
- package/dist/bn-bus-ui.es.js +1 -1
- package/dist/bn-bus-ui.umd.js +22 -22
- package/dist/{chooseIPaasData-Ccmo6qx_.js → chooseIPaasData-CkMU9mft.js} +1 -1
- package/dist/{defaultSet-B8rXW9zh.js → defaultSet-BDGd7bIi.js} +1 -1
- package/dist/{formItemFooter-DUvTaeUI.js → formItemFooter-CZwjvGLN.js} +1 -1
- package/dist/{funcExprDialog-D38V5m0l.js → funcExprDialog-DEA3EwOR.js} +1 -1
- package/dist/{index-Bom00ZeA.js → index-B3h8L8gs.js} +1 -1
- package/dist/{index-B-dwri1k.js → index-BfHnPHGM.js} +2 -2
- package/dist/{index-_EDCbvjm.js → index-BsUfH5ic.js} +2 -2
- package/dist/{index-quldsYZc.js → index-C5Jgh8ra.js} +1 -1
- package/dist/{index-BWUMyjwC.js → index-C5KMdgNj.js} +2 -2
- package/dist/{index-CYBomQth.js → index-CVit-ykJ.js} +2 -2
- package/dist/{index-Cd1zKXjf.js → index-CVwjoILd.js} +3 -3
- package/dist/{index-B6gjjOdw.js → index-CeZNQNkj.js} +2 -2
- package/dist/{index-BzVAdLr8.js → index-CrCMs3lx.js} +1 -1
- package/dist/{index-BPWYWHlx.js → index-DPRIfS4m.js} +3 -3
- package/dist/{index-CdOjkPka.js → index-DZtMgqfi.js} +2 -2
- package/dist/{index-DfdsMpLS.js → index-DwdBD7xO.js} +2 -2
- package/dist/{index-87GaeeTj.js → index-M-d6UG_a.js} +2 -2
- package/dist/{index-D5Zr5goE.js → index-Pute51Sw.js} +3 -3
- package/dist/{index-Dg57aJNW.js → index-pgfSgu10.js} +2 -2
- package/dist/{index-BIcMOndM.js → index-t_BK5Ban.js} +2 -2
- package/dist/{index-DQjAuHvl.js → index-wil5-g18.js} +2 -2
- package/dist/{install-Cl6Wrj9F.js → install-D52rIDx7.js} +613 -612
- package/dist/install.css +1 -1
- package/dist/{setOption-BjEEHwrv.js → setOption-DKT38no6.js} +1 -1
- package/dist/{setRelationOption-DM8_4ZNh.js → setRelationOption-BpU1Ai4h.js} +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { resolveComponent as O, openBlock as w, createElementBlock as D, normalizeClass as Te, Fragment as ie, renderList as ue, createVNode as P, withCtx as M, withDirectives as Se, createBlock as U, vShow as Xe, createElementVNode as v, normalizeStyle as ct, createCommentVNode as z, toDisplayString as W, renderSlot as _e, createSlots as Ql, Transition as
|
|
2
|
-
import { isEmpty as Fe, debounce as Ot, cloneDeep as de, toLower as Qr, includes as
|
|
1
|
+
import { resolveComponent as O, openBlock as w, createElementBlock as D, normalizeClass as Te, Fragment as ie, renderList as ue, createVNode as P, withCtx as M, withDirectives as Se, createBlock as U, vShow as Xe, createElementVNode as v, normalizeStyle as ct, createCommentVNode as z, toDisplayString as W, renderSlot as _e, createSlots as Ql, Transition as zd, withModifiers as Mt, resolveDynamicComponent as oo, createTextVNode as Y, resolveDirective as Bt, Teleport as Hd, defineAsyncComponent as ge, createStaticVNode as Rd, mergeProps as ul, isMemoSame as Ud, markRaw as jd } from "vue";
|
|
2
|
+
import { isEmpty as Fe, debounce as Ot, cloneDeep as de, toLower as Qr, includes as Kd, map as Wd, last as Ia, get as Sn, omit as ua } from "lodash";
|
|
3
3
|
const ne = (n, i) => {
|
|
4
4
|
const o = n.__vccOpts || n;
|
|
5
5
|
for (const [c, a] of i)
|
|
6
6
|
o[c] = a;
|
|
7
7
|
return o;
|
|
8
|
-
},
|
|
8
|
+
}, Xd = {
|
|
9
9
|
name: "BnAddress",
|
|
10
10
|
props: {
|
|
11
11
|
modelValue: Array,
|
|
@@ -86,8 +86,8 @@ const ne = (n, i) => {
|
|
|
86
86
|
this.value[n] ? this.value[n + 1] && this.value.splice(n + 1, this.value.length - n) : this.value.splice(n, this.value.length + 1 - n), this.$emit("change");
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
},
|
|
90
|
-
function
|
|
89
|
+
}, Gd = { class: "w-empty" }, Yd = { class: "w-empty" };
|
|
90
|
+
function Jd(n, i, o, c, a, u) {
|
|
91
91
|
const m = O("el-option"), b = O("el-select");
|
|
92
92
|
return w(), D("div", {
|
|
93
93
|
class: Te(["bnAddress", o.wrapShow ? "w-flex-wrap" : ""])
|
|
@@ -119,10 +119,10 @@ function Yd(n, i, o, c, a, u) {
|
|
|
119
119
|
label: x.title,
|
|
120
120
|
value: x
|
|
121
121
|
}, null, 8, ["label", "value"]))), 128)),
|
|
122
|
-
Se(v("div",
|
|
122
|
+
Se(v("div", Gd, "加载中...", 512), [
|
|
123
123
|
[Xe, a.loading]
|
|
124
124
|
]),
|
|
125
|
-
Se(v("div",
|
|
125
|
+
Se(v("div", Yd, "无数据", 512), [
|
|
126
126
|
[Xe, !a.loading && a.optionList.length == 0]
|
|
127
127
|
])
|
|
128
128
|
]),
|
|
@@ -131,7 +131,7 @@ function Yd(n, i, o, c, a, u) {
|
|
|
131
131
|
], 2))), 256))
|
|
132
132
|
], 2);
|
|
133
133
|
}
|
|
134
|
-
const
|
|
134
|
+
const qd = /* @__PURE__ */ ne(Xd, [["render", Jd], ["__scopeId", "data-v-0e9cc2d1"]]), Qd = {
|
|
135
135
|
name: "MenuItem",
|
|
136
136
|
// 注入父组件 BnMenus 实例
|
|
137
137
|
inject: ["bnMenus"],
|
|
@@ -210,11 +210,11 @@ const Jd = /* @__PURE__ */ ne(Wd, [["render", Yd], ["__scopeId", "data-v-0e9cc2d
|
|
|
210
210
|
this.disableFold || this.bnMenus.toggleSubMenu(this.menu);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
},
|
|
213
|
+
}, Zd = { class: "BnMenus-sub-title-inner" }, $d = ["title"], ec = { class: "BnMenus-item-folder" }, tc = { class: "BnMenus-sub-list" }, ic = ["title"], nc = { class: "BnMenus-item-text" }, lc = {
|
|
214
214
|
key: 1,
|
|
215
215
|
class: "BnMenus-item-stick bnUIcon bnUIcon-stick"
|
|
216
216
|
};
|
|
217
|
-
function
|
|
217
|
+
function rc(n, i, o, c, a, u) {
|
|
218
218
|
var b, C, k, x;
|
|
219
219
|
const m = O("menu-item", !0);
|
|
220
220
|
return u.hasChildren ? (w(), D("div", {
|
|
@@ -226,7 +226,7 @@ function lc(n, i, o, c, a, u) {
|
|
|
226
226
|
style: ct(u.rowPaddingStyle),
|
|
227
227
|
onClick: i[0] || (i[0] = (...B) => u.toggleSubMenu && u.toggleSubMenu(...B))
|
|
228
228
|
}, [
|
|
229
|
-
v("div",
|
|
229
|
+
v("div", Zd, [
|
|
230
230
|
v("div", {
|
|
231
231
|
class: "BnMenus-item",
|
|
232
232
|
title: o.menu.title || ((b = o.menu.meta) == null ? void 0 : b.title)
|
|
@@ -235,8 +235,8 @@ function lc(n, i, o, c, a, u) {
|
|
|
235
235
|
key: 0,
|
|
236
236
|
class: Te(["BnMenus-item-icon", u.menuIcon])
|
|
237
237
|
}, null, 2)) : z("", !0),
|
|
238
|
-
v("span",
|
|
239
|
-
], 8,
|
|
238
|
+
v("span", ec, W(o.menu.title || ((C = o.menu.meta) == null ? void 0 : C.title)), 1)
|
|
239
|
+
], 8, $d),
|
|
240
240
|
u.disableFold ? (w(), D("span", {
|
|
241
241
|
key: 0,
|
|
242
242
|
class: "BnMenus-sub-dot bnUIcon bnUIcon-circle w-font12",
|
|
@@ -247,7 +247,7 @@ function lc(n, i, o, c, a, u) {
|
|
|
247
247
|
}, null, 2))
|
|
248
248
|
])
|
|
249
249
|
], 6),
|
|
250
|
-
Se(v("div",
|
|
250
|
+
Se(v("div", tc, [
|
|
251
251
|
(w(!0), D(ie, null, ue(o.menu.children, (B, V) => (w(), U(m, {
|
|
252
252
|
key: u.bnMenus.getMenuIndex(B) || V,
|
|
253
253
|
menu: B,
|
|
@@ -274,12 +274,12 @@ function lc(n, i, o, c, a, u) {
|
|
|
274
274
|
key: 0,
|
|
275
275
|
class: Te(["BnMenus-item-icon", u.menuIcon])
|
|
276
276
|
}, null, 2)) : z("", !0),
|
|
277
|
-
v("span",
|
|
278
|
-
u.active ? (w(), D("span",
|
|
279
|
-
], 8,
|
|
277
|
+
v("span", nc, W(o.menu.title || ((x = o.menu.meta) == null ? void 0 : x.title)), 1),
|
|
278
|
+
u.active ? (w(), D("span", lc)) : z("", !0)
|
|
279
|
+
], 8, ic)
|
|
280
280
|
], 6));
|
|
281
281
|
}
|
|
282
|
-
const
|
|
282
|
+
const oc = /* @__PURE__ */ ne(Qd, [["render", rc], ["__scopeId", "data-v-52ca94ba"]]), da = [
|
|
283
283
|
"#1890ff",
|
|
284
284
|
// 蓝
|
|
285
285
|
"#4f46e5",
|
|
@@ -298,10 +298,10 @@ const rc = /* @__PURE__ */ ne(qd, [["render", lc], ["__scopeId", "data-v-52ca94b
|
|
|
298
298
|
// 玫瑰红
|
|
299
299
|
"#009966"
|
|
300
300
|
// 玫瑰红
|
|
301
|
-
],
|
|
301
|
+
], sc = {
|
|
302
302
|
name: "BnMenus",
|
|
303
303
|
components: {
|
|
304
|
-
MenuItem:
|
|
304
|
+
MenuItem: oc
|
|
305
305
|
},
|
|
306
306
|
/**
|
|
307
307
|
* 向子组件 MenuItem 注入当前实例,供其调用菜单状态与方法
|
|
@@ -592,8 +592,8 @@ const rc = /* @__PURE__ */ ne(qd, [["render", lc], ["__scopeId", "data-v-52ca94b
|
|
|
592
592
|
return this.flatTree(this.menuList);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
},
|
|
596
|
-
function
|
|
595
|
+
}, ac = { class: "BnMenu-logo" }, uc = { class: "BnMenu-logo-main" }, dc = { class: "BnMenu-logo-title" }, cc = { class: "BnMenu-list" }, fc = { class: "BnMenu-body" };
|
|
596
|
+
function hc(n, i, o, c, a, u) {
|
|
597
597
|
const m = O("menu-item"), b = O("el-scrollbar");
|
|
598
598
|
return w(), D("div", {
|
|
599
599
|
class: Te(["BnMenu", { "BnMenu--collapsed": u.isCollapsed }])
|
|
@@ -604,10 +604,10 @@ function fc(n, i, o, c, a, u) {
|
|
|
604
604
|
title: "展开",
|
|
605
605
|
onClick: i[0] || (i[0] = (...C) => u.toggleCollapse && u.toggleCollapse(...C))
|
|
606
606
|
})) : (w(), D(ie, { key: 1 }, [
|
|
607
|
-
v("div",
|
|
608
|
-
v("div",
|
|
607
|
+
v("div", ac, [
|
|
608
|
+
v("div", uc, [
|
|
609
609
|
_e(n.$slots, "menuLogo", { collapsed: u.isCollapsed }, () => [
|
|
610
|
-
v("div",
|
|
610
|
+
v("div", dc, W(o.title), 1)
|
|
611
611
|
], !0)
|
|
612
612
|
]),
|
|
613
613
|
v("span", {
|
|
@@ -616,10 +616,10 @@ function fc(n, i, o, c, a, u) {
|
|
|
616
616
|
onClick: i[1] || (i[1] = (...C) => u.toggleCollapse && u.toggleCollapse(...C))
|
|
617
617
|
})
|
|
618
618
|
]),
|
|
619
|
-
v("div",
|
|
619
|
+
v("div", cc, [
|
|
620
620
|
P(b, { height: "100%" }, {
|
|
621
621
|
default: M(() => [
|
|
622
|
-
v("div",
|
|
622
|
+
v("div", fc, [
|
|
623
623
|
(w(!0), D(ie, null, ue(o.menuList, (C, k) => (w(), U(m, {
|
|
624
624
|
key: u.getMenuIndex(C) || k,
|
|
625
625
|
menu: C,
|
|
@@ -634,7 +634,7 @@ function fc(n, i, o, c, a, u) {
|
|
|
634
634
|
], 64))
|
|
635
635
|
], 2);
|
|
636
636
|
}
|
|
637
|
-
const
|
|
637
|
+
const pc = /* @__PURE__ */ ne(sc, [["render", hc], ["__scopeId", "data-v-d363a28b"]]), mc = {
|
|
638
638
|
name: "BnSelect",
|
|
639
639
|
props: {
|
|
640
640
|
//最终选中的value
|
|
@@ -945,8 +945,8 @@ const hc = /* @__PURE__ */ ne(oc, [["render", fc], ["__scopeId", "data-v-d363a28
|
|
|
945
945
|
}
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
|
-
},
|
|
949
|
-
function
|
|
948
|
+
}, gc = { class: "emptyLoading" }, vc = { class: "w-text-center w-padding-tb10 w-color-gray" }, yc = { class: "bnDrop-body-footer w-flex-center" }, bc = { class: "w-flex-center w-flex-column-gap4 w-text-over w-font14 w-color-black6" }, Cc = { class: "w-margin-left4" }, wc = { class: "" };
|
|
949
|
+
function kc(n, i, o, c, a, u) {
|
|
950
950
|
const m = O("el-option"), b = O("BnCheck"), C = O("el-select");
|
|
951
951
|
return w(), U(C, {
|
|
952
952
|
modelValue: u.val,
|
|
@@ -985,10 +985,10 @@ function wc(n, i, o, c, a, u) {
|
|
|
985
985
|
disabled: k.disabled,
|
|
986
986
|
value: o.labelInValue ? k : k[o.optionProps.value]
|
|
987
987
|
}, null, 8, ["label", "disabled", "value"]))), 128)),
|
|
988
|
-
Se(v("div",
|
|
988
|
+
Se(v("div", gc, "加载中", 512), [
|
|
989
989
|
[Xe, a.loading]
|
|
990
990
|
]),
|
|
991
|
-
Se(v("div",
|
|
991
|
+
Se(v("div", vc, "未搜索到数据 ", 512), [
|
|
992
992
|
[Xe, !a.loading && u.optionList.length == 0]
|
|
993
993
|
])
|
|
994
994
|
]),
|
|
@@ -997,7 +997,7 @@ function wc(n, i, o, c, a, u) {
|
|
|
997
997
|
o.multiple && o.checkedAll ? {
|
|
998
998
|
name: "footer",
|
|
999
999
|
fn: M(() => [
|
|
1000
|
-
v("div",
|
|
1000
|
+
v("div", yc, [
|
|
1001
1001
|
P(b, {
|
|
1002
1002
|
"true-data": 999,
|
|
1003
1003
|
"is-checked": u.isCheckedAll,
|
|
@@ -1006,9 +1006,9 @@ function wc(n, i, o, c, a, u) {
|
|
|
1006
1006
|
default: M(() => {
|
|
1007
1007
|
var k, x;
|
|
1008
1008
|
return [
|
|
1009
|
-
v("div",
|
|
1010
|
-
v("span",
|
|
1011
|
-
v("span",
|
|
1009
|
+
v("div", bc, [
|
|
1010
|
+
v("span", Cc, W(!u.val || ((k = u.val) == null ? void 0 : k.length) == 0 ? "全选" : `已选${(x = u.val) == null ? void 0 : x.length}项`), 1),
|
|
1011
|
+
v("span", wc, "已加载" + W(u.optionList.length) + "/" + W(a.total) + "项", 1)
|
|
1012
1012
|
])
|
|
1013
1013
|
];
|
|
1014
1014
|
}),
|
|
@@ -1020,7 +1020,7 @@ function wc(n, i, o, c, a, u) {
|
|
|
1020
1020
|
} : void 0
|
|
1021
1021
|
]), 1032, ["modelValue", "placeholder", "onVisibleChange", "no-data-text", "value-key", "multiple", "collapseTags", "collapse-tags-tooltip", "onPopupScroll", "max-collapse-tags", "multipleLimit", "filter-method", "props", "size", "disabled", "clearable"]);
|
|
1022
1022
|
}
|
|
1023
|
-
const
|
|
1023
|
+
const xc = /* @__PURE__ */ ne(mc, [["render", kc], ["__scopeId", "data-v-7379d8fa"]]), Tc = {
|
|
1024
1024
|
name: "BnVirtPopover",
|
|
1025
1025
|
props: {
|
|
1026
1026
|
// popover的宽度,支持数字或字符串(如'200px')
|
|
@@ -1135,8 +1135,8 @@ const kc = /* @__PURE__ */ ne(pc, [["render", wc], ["__scopeId", "data-v-7379d8f
|
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
1137
|
};
|
|
1138
|
-
function
|
|
1139
|
-
return w(), U(
|
|
1138
|
+
function Ic(n, i, o, c, a, u) {
|
|
1139
|
+
return w(), U(zd, {
|
|
1140
1140
|
appear: "",
|
|
1141
1141
|
name: o.popoverPosition == "bottom" ? "el-zoom-in-top" : "el-zoom-in-bottom"
|
|
1142
1142
|
}, {
|
|
@@ -1166,7 +1166,7 @@ function Tc(n, i, o, c, a, u) {
|
|
|
1166
1166
|
_: 3
|
|
1167
1167
|
}, 8, ["name"]);
|
|
1168
1168
|
}
|
|
1169
|
-
const
|
|
1169
|
+
const Sc = /* @__PURE__ */ ne(Tc, [["render", Ic], ["__scopeId", "data-v-3c22e617"]]), Dc = {
|
|
1170
1170
|
1: "等于",
|
|
1171
1171
|
2: "不等于",
|
|
1172
1172
|
3: "包含",
|
|
@@ -1186,7 +1186,7 @@ const Ic = /* @__PURE__ */ ne(xc, [["render", Tc], ["__scopeId", "data-v-3c22e61
|
|
|
1186
1186
|
17: "小于",
|
|
1187
1187
|
18: "大于等于",
|
|
1188
1188
|
19: "小于等于"
|
|
1189
|
-
},
|
|
1189
|
+
}, Pc = {
|
|
1190
1190
|
1: [
|
|
1191
1191
|
{ title: "等于", id: "1" },
|
|
1192
1192
|
{ title: "不等于", id: "2" },
|
|
@@ -1337,7 +1337,7 @@ const Ic = /* @__PURE__ */ ne(xc, [["render", Tc], ["__scopeId", "data-v-3c22e61
|
|
|
1337
1337
|
{ title: "为空", id: "9" },
|
|
1338
1338
|
{ title: "不为空", id: "10" }
|
|
1339
1339
|
]
|
|
1340
|
-
},
|
|
1340
|
+
}, Lc = {
|
|
1341
1341
|
inheritAttrs: !1,
|
|
1342
1342
|
name: "stringVal",
|
|
1343
1343
|
props: {
|
|
@@ -1448,7 +1448,7 @@ const Ic = /* @__PURE__ */ ne(xc, [["render", Tc], ["__scopeId", "data-v-3c22e61
|
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
1450
|
};
|
|
1451
|
-
function
|
|
1451
|
+
function Oc(n, i, o, c, a, u) {
|
|
1452
1452
|
const m = O("el-autocomplete"), b = O("el-input");
|
|
1453
1453
|
return u.isUrlType ? (w(), U(m, {
|
|
1454
1454
|
key: 0,
|
|
@@ -1480,7 +1480,7 @@ function Lc(n, i, o, c, a, u) {
|
|
|
1480
1480
|
"show-word-limit": ""
|
|
1481
1481
|
}, null, 8, ["placeholder", "rows", "disabled", "modelValue"]));
|
|
1482
1482
|
}
|
|
1483
|
-
const
|
|
1483
|
+
const Mc = /* @__PURE__ */ ne(Lc, [["render", Oc], ["__scopeId", "data-v-e4af26fd"]]), Bc = {
|
|
1484
1484
|
inheritAttrs: !1,
|
|
1485
1485
|
name: "numVal",
|
|
1486
1486
|
props: {
|
|
@@ -1506,7 +1506,7 @@ const Oc = /* @__PURE__ */ ne(Pc, [["render", Lc], ["__scopeId", "data-v-e4af26f
|
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
1508
|
};
|
|
1509
|
-
function
|
|
1509
|
+
function Fc(n, i, o, c, a, u) {
|
|
1510
1510
|
const m = O("BnInpNum");
|
|
1511
1511
|
return w(), U(m, {
|
|
1512
1512
|
modelValue: u.val[o.optionProps.value],
|
|
@@ -1515,7 +1515,7 @@ function Bc(n, i, o, c, a, u) {
|
|
|
1515
1515
|
onChange: i[1] || (i[1] = (b) => u.change("number"))
|
|
1516
1516
|
}, null, 8, ["modelValue", "disabled"]);
|
|
1517
1517
|
}
|
|
1518
|
-
const
|
|
1518
|
+
const Ac = /* @__PURE__ */ ne(Bc, [["render", Fc], ["__scopeId", "data-v-a84bd230"]]), Vc = {
|
|
1519
1519
|
name: "numRegVal",
|
|
1520
1520
|
props: {
|
|
1521
1521
|
modelValue: Object,
|
|
@@ -1541,11 +1541,11 @@ const Fc = /* @__PURE__ */ ne(Mc, [["render", Bc], ["__scopeId", "data-v-a84bd23
|
|
|
1541
1541
|
}
|
|
1542
1542
|
}
|
|
1543
1543
|
}
|
|
1544
|
-
},
|
|
1545
|
-
function
|
|
1544
|
+
}, _c = { class: "w-default-wrap numReg clearFix" }, Ec = { class: "numReg-item" }, Nc = { class: "numReg-item" };
|
|
1545
|
+
function zc(n, i, o, c, a, u) {
|
|
1546
1546
|
const m = O("BnInpNum");
|
|
1547
|
-
return w(), D("div",
|
|
1548
|
-
v("div",
|
|
1547
|
+
return w(), D("div", _c, [
|
|
1548
|
+
v("div", Ec, [
|
|
1549
1549
|
P(m, {
|
|
1550
1550
|
class: "numReg-item-input",
|
|
1551
1551
|
onChange: i[0] || (i[0] = (b) => {
|
|
@@ -1560,7 +1560,7 @@ function Nc(n, i, o, c, a, u) {
|
|
|
1560
1560
|
}, null, 8, ["precision", "disabled", "modelValue"])
|
|
1561
1561
|
]),
|
|
1562
1562
|
i[4] || (i[4] = v("div", { class: "numReg-text" }, " 至 ", -1)),
|
|
1563
|
-
v("div",
|
|
1563
|
+
v("div", Nc, [
|
|
1564
1564
|
P(m, {
|
|
1565
1565
|
class: "numReg-item-input",
|
|
1566
1566
|
onChange: i[2] || (i[2] = (b) => {
|
|
@@ -1576,7 +1576,7 @@ function Nc(n, i, o, c, a, u) {
|
|
|
1576
1576
|
])
|
|
1577
1577
|
]);
|
|
1578
1578
|
}
|
|
1579
|
-
const
|
|
1579
|
+
const Hc = /* @__PURE__ */ ne(Vc, [["render", zc], ["__scopeId", "data-v-688728f8"]]), Rc = {
|
|
1580
1580
|
name: "selectVal",
|
|
1581
1581
|
props: {
|
|
1582
1582
|
modelValue: Object,
|
|
@@ -1623,7 +1623,7 @@ const zc = /* @__PURE__ */ ne(Ac, [["render", Nc], ["__scopeId", "data-v-688728f
|
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
1625
|
};
|
|
1626
|
-
function
|
|
1626
|
+
function Uc(n, i, o, c, a, u) {
|
|
1627
1627
|
const m = O("BnSelect");
|
|
1628
1628
|
return w(), U(m, {
|
|
1629
1629
|
modelValue: u.val[o.optionProps.value],
|
|
@@ -1643,7 +1643,7 @@ function Rc(n, i, o, c, a, u) {
|
|
|
1643
1643
|
placeholder: "请选择"
|
|
1644
1644
|
}, null, 8, ["modelValue", "optionProps", "options", "postFunc", "postData", "pathUrl", "valueProps", "multiple", "disabled"]);
|
|
1645
1645
|
}
|
|
1646
|
-
const
|
|
1646
|
+
const jc = /* @__PURE__ */ ne(Rc, [["render", Uc]]), Kc = {
|
|
1647
1647
|
name: "dateVal",
|
|
1648
1648
|
props: {
|
|
1649
1649
|
modelValue: Object,
|
|
@@ -1674,7 +1674,7 @@ const Uc = /* @__PURE__ */ ne(Hc, [["render", Rc]]), jc = {
|
|
|
1674
1674
|
}
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
|
-
function
|
|
1677
|
+
function Wc(n, i, o, c, a, u) {
|
|
1678
1678
|
const m = O("el-date-picker");
|
|
1679
1679
|
return w(), U(m, {
|
|
1680
1680
|
style: { width: "100%" },
|
|
@@ -1689,7 +1689,7 @@ function Kc(n, i, o, c, a, u) {
|
|
|
1689
1689
|
align: "right"
|
|
1690
1690
|
}, null, 8, ["modelValue", "disabled", "format", "value-format"]);
|
|
1691
1691
|
}
|
|
1692
|
-
const
|
|
1692
|
+
const Xc = /* @__PURE__ */ ne(Kc, [["render", Wc]]), Gc = {
|
|
1693
1693
|
name: "dateRegVal",
|
|
1694
1694
|
props: {
|
|
1695
1695
|
modelValue: Object,
|
|
@@ -1720,7 +1720,7 @@ const Wc = /* @__PURE__ */ ne(jc, [["render", Kc]]), Xc = {
|
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
1722
1722
|
};
|
|
1723
|
-
function
|
|
1723
|
+
function Yc(n, i, o, c, a, u) {
|
|
1724
1724
|
const m = O("BnDatePicker");
|
|
1725
1725
|
return w(), U(m, {
|
|
1726
1726
|
modelValue: u.val[o.optionProps.value],
|
|
@@ -1734,7 +1734,7 @@ function Gc(n, i, o, c, a, u) {
|
|
|
1734
1734
|
align: "right"
|
|
1735
1735
|
}, null, 8, ["modelValue", "disabled"]);
|
|
1736
1736
|
}
|
|
1737
|
-
const
|
|
1737
|
+
const Jc = /* @__PURE__ */ ne(Gc, [["render", Yc]]), qc = {
|
|
1738
1738
|
name: "relationVal",
|
|
1739
1739
|
props: {
|
|
1740
1740
|
modelValue: Object,
|
|
@@ -1781,7 +1781,7 @@ const Yc = /* @__PURE__ */ ne(Xc, [["render", Gc]]), Jc = {
|
|
|
1781
1781
|
}
|
|
1782
1782
|
}
|
|
1783
1783
|
};
|
|
1784
|
-
function
|
|
1784
|
+
function Qc(n, i, o, c, a, u) {
|
|
1785
1785
|
const m = O("BnRelation");
|
|
1786
1786
|
return w(), U(m, {
|
|
1787
1787
|
onChange: u.change,
|
|
@@ -1798,7 +1798,7 @@ function qc(n, i, o, c, a, u) {
|
|
|
1798
1798
|
pathUrl: o.pathUrl
|
|
1799
1799
|
}, null, 8, ["onChange", "options", "props", "modelValue", "multiple", "disabled", "postFunc", "postData", "pathUrl"]);
|
|
1800
1800
|
}
|
|
1801
|
-
const
|
|
1801
|
+
const Zc = /* @__PURE__ */ ne(qc, [["render", Qc]]), $c = {
|
|
1802
1802
|
name: "selectColumnVal",
|
|
1803
1803
|
props: {
|
|
1804
1804
|
modelValue: Object,
|
|
@@ -1846,7 +1846,7 @@ const Qc = /* @__PURE__ */ ne(Jc, [["render", qc]]), Zc = {
|
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
};
|
|
1849
|
-
function
|
|
1849
|
+
function ef(n, i, o, c, a, u) {
|
|
1850
1850
|
const m = O("BnSelect");
|
|
1851
1851
|
return w(), U(m, {
|
|
1852
1852
|
modelValue: u.val[o.optionProps.value],
|
|
@@ -1861,7 +1861,7 @@ function $c(n, i, o, c, a, u) {
|
|
|
1861
1861
|
placeholder: "请选择"
|
|
1862
1862
|
}, null, 8, ["modelValue", "optionProps", "options", "disabled", "valueProps"]);
|
|
1863
1863
|
}
|
|
1864
|
-
const
|
|
1864
|
+
const tf = /* @__PURE__ */ ne($c, [["render", ef]]), nf = {
|
|
1865
1865
|
name: "BnCondVal",
|
|
1866
1866
|
props: {
|
|
1867
1867
|
modelValue: Object,
|
|
@@ -1871,14 +1871,14 @@ const ef = /* @__PURE__ */ ne(Zc, [["render", $c]]), tf = {
|
|
|
1871
1871
|
postFunc: Function
|
|
1872
1872
|
},
|
|
1873
1873
|
components: {
|
|
1874
|
-
stringVal:
|
|
1875
|
-
numVal:
|
|
1876
|
-
numRegVal:
|
|
1877
|
-
selectVal:
|
|
1878
|
-
dateVal:
|
|
1879
|
-
dateRegVal:
|
|
1880
|
-
relationVal:
|
|
1881
|
-
selectColumnVal:
|
|
1874
|
+
stringVal: Mc,
|
|
1875
|
+
numVal: Ac,
|
|
1876
|
+
numRegVal: Hc,
|
|
1877
|
+
selectVal: jc,
|
|
1878
|
+
dateVal: Xc,
|
|
1879
|
+
dateRegVal: Jc,
|
|
1880
|
+
relationVal: Zc,
|
|
1881
|
+
selectColumnVal: tf
|
|
1882
1882
|
},
|
|
1883
1883
|
methods: {
|
|
1884
1884
|
/**
|
|
@@ -1940,7 +1940,7 @@ const ef = /* @__PURE__ */ ne(Zc, [["render", $c]]), tf = {
|
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
1942
|
};
|
|
1943
|
-
function
|
|
1943
|
+
function lf(n, i, o, c, a, u) {
|
|
1944
1944
|
return w(), U(oo(u.checkFilter()), {
|
|
1945
1945
|
modelValue: u.val,
|
|
1946
1946
|
"onUpdate:modelValue": i[0] || (i[0] = (m) => u.val = m),
|
|
@@ -1952,9 +1952,9 @@ function nf(n, i, o, c, a, u) {
|
|
|
1952
1952
|
postData: o.columnInfo.postData
|
|
1953
1953
|
}, null, 8, ["modelValue", "optionProps", "columnInfo", "postFunc", "otherColumns", "pathUrl", "postData"]);
|
|
1954
1954
|
}
|
|
1955
|
-
const
|
|
1955
|
+
const Sa = /* @__PURE__ */ ne(nf, [["render", lf]]), rf = {
|
|
1956
1956
|
name: "BnAdvancedFilter",
|
|
1957
|
-
components: { BnCondVal:
|
|
1957
|
+
components: { BnCondVal: Sa },
|
|
1958
1958
|
props: {
|
|
1959
1959
|
//最终选中的value
|
|
1960
1960
|
modelValue: [String, Array, Number, Object],
|
|
@@ -2015,7 +2015,7 @@ const Ia = /* @__PURE__ */ ne(tf, [["render", nf]]), lf = {
|
|
|
2015
2015
|
data() {
|
|
2016
2016
|
return {
|
|
2017
2017
|
//计算条件列表
|
|
2018
|
-
searchList:
|
|
2018
|
+
searchList: Pc,
|
|
2019
2019
|
//多行文本获取焦点
|
|
2020
2020
|
openInput: !1
|
|
2021
2021
|
};
|
|
@@ -2155,11 +2155,11 @@ const Ia = /* @__PURE__ */ ne(tf, [["render", nf]]), lf = {
|
|
|
2155
2155
|
});
|
|
2156
2156
|
}
|
|
2157
2157
|
}
|
|
2158
|
-
},
|
|
2159
|
-
function
|
|
2158
|
+
}, of = { class: "bnAdvance clearFix" }, sf = { class: "bnAdvance-setting" }, af = ["title"], uf = { class: "bnAdvance-condition" };
|
|
2159
|
+
function df(n, i, o, c, a, u) {
|
|
2160
2160
|
const m = O("BnDrop"), b = O("BnCondVal");
|
|
2161
|
-
return w(), D("div",
|
|
2162
|
-
v("div",
|
|
2161
|
+
return w(), D("div", of, [
|
|
2162
|
+
v("div", sf, [
|
|
2163
2163
|
v("div", {
|
|
2164
2164
|
class: Te(["bnAdvance-setting-left", { "bnAdvance-setting-left-min": o.allowDel }])
|
|
2165
2165
|
}, [
|
|
@@ -2176,7 +2176,7 @@ function uf(n, i, o, c, a, u) {
|
|
|
2176
2176
|
key: 0,
|
|
2177
2177
|
class: "bnAdvance-setting-column",
|
|
2178
2178
|
title: u.ruleVal[o.optionProps.name]
|
|
2179
|
-
}, W(u.ruleVal[o.optionProps.name]), 9,
|
|
2179
|
+
}, W(u.ruleVal[o.optionProps.name]), 9, af))
|
|
2180
2180
|
], !0),
|
|
2181
2181
|
o.allowSearchType ? (w(), U(m, {
|
|
2182
2182
|
key: 0,
|
|
@@ -2196,7 +2196,7 @@ function uf(n, i, o, c, a, u) {
|
|
|
2196
2196
|
v("span", { class: "bnUIcon bnUIcon-delete" }, null, -1)
|
|
2197
2197
|
])])) : z("", !0)
|
|
2198
2198
|
]),
|
|
2199
|
-
v("div",
|
|
2199
|
+
v("div", uf, [
|
|
2200
2200
|
P(b, {
|
|
2201
2201
|
modelValue: u.ruleVal,
|
|
2202
2202
|
"onUpdate:modelValue": i[3] || (i[3] = (C) => u.ruleVal = C),
|
|
@@ -2208,7 +2208,7 @@ function uf(n, i, o, c, a, u) {
|
|
|
2208
2208
|
])
|
|
2209
2209
|
]);
|
|
2210
2210
|
}
|
|
2211
|
-
const
|
|
2211
|
+
const cf = /* @__PURE__ */ ne(rf, [["render", df], ["__scopeId", "data-v-24032be0"]]), ff = {
|
|
2212
2212
|
name: "BnFilterView",
|
|
2213
2213
|
props: {
|
|
2214
2214
|
conditions: {
|
|
@@ -2236,7 +2236,7 @@ const df = /* @__PURE__ */ ne(lf, [["render", uf], ["__scopeId", "data-v-24032be
|
|
|
2236
2236
|
},
|
|
2237
2237
|
// 获取条件操作符文案
|
|
2238
2238
|
getSearchTypeLabel(n) {
|
|
2239
|
-
return
|
|
2239
|
+
return Dc[n.searchType] || "";
|
|
2240
2240
|
},
|
|
2241
2241
|
// 格式化筛选条件的值用于展示
|
|
2242
2242
|
formatValue(n) {
|
|
@@ -2248,21 +2248,21 @@ const df = /* @__PURE__ */ ne(lf, [["render", uf], ["__scopeId", "data-v-24032be
|
|
|
2248
2248
|
return i && o ? `${n.name}: ${i}-${o}` : i ? `${n.name}: ${i}` : o ? `${n.name}: ${o}` : n.name;
|
|
2249
2249
|
}
|
|
2250
2250
|
}
|
|
2251
|
-
},
|
|
2252
|
-
function
|
|
2253
|
-
return w(), D("div",
|
|
2251
|
+
}, hf = { class: "search-view" }, pf = { class: "search-view-tags" }, mf = { class: "search-tag-text" }, gf = ["onClick"];
|
|
2252
|
+
function vf(n, i, o, c, a, u) {
|
|
2253
|
+
return w(), D("div", hf, [
|
|
2254
2254
|
i[2] || (i[2] = v("span", { class: "search-view-label" }, "筛选条件:", -1)),
|
|
2255
|
-
v("div",
|
|
2255
|
+
v("div", pf, [
|
|
2256
2256
|
(w(!0), D(ie, null, ue(o.conditions, (m, b) => (w(), D("div", {
|
|
2257
2257
|
key: b,
|
|
2258
2258
|
class: "search-tag"
|
|
2259
2259
|
}, [
|
|
2260
|
-
v("span",
|
|
2260
|
+
v("span", mf, W(u.formatDisplay(m)), 1),
|
|
2261
2261
|
o.notDelCodes.includes(m.columnCode) ? z("", !0) : (w(), D("span", {
|
|
2262
2262
|
key: 0,
|
|
2263
2263
|
class: "search-tag-close",
|
|
2264
2264
|
onClick: (C) => u.handleClose(b)
|
|
2265
|
-
}, "×", 8,
|
|
2265
|
+
}, "×", 8, gf))
|
|
2266
2266
|
]))), 128))
|
|
2267
2267
|
]),
|
|
2268
2268
|
v("span", {
|
|
@@ -2275,7 +2275,7 @@ function gf(n, i, o, c, a, u) {
|
|
|
2275
2275
|
}, "展开")
|
|
2276
2276
|
]);
|
|
2277
2277
|
}
|
|
2278
|
-
const
|
|
2278
|
+
const yf = /* @__PURE__ */ ne(ff, [["render", vf], ["__scopeId", "data-v-e3bfa7fe"]]), bf = {
|
|
2279
2279
|
name: "BnDatePicker",
|
|
2280
2280
|
props: {
|
|
2281
2281
|
// 时间选择器类型 日期:daterange 日期+时间:datetimerange 年:year 月:month 日:date 周:week
|
|
@@ -2420,7 +2420,7 @@ const vf = /* @__PURE__ */ ne(cf, [["render", gf], ["__scopeId", "data-v-e3bfa7f
|
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
2422
|
};
|
|
2423
|
-
function
|
|
2423
|
+
function Cf(n, i, o, c, a, u) {
|
|
2424
2424
|
const m = O("el-date-picker");
|
|
2425
2425
|
return w(), U(m, {
|
|
2426
2426
|
style: { width: "100%" },
|
|
@@ -2445,7 +2445,7 @@ function bf(n, i, o, c, a, u) {
|
|
|
2445
2445
|
onFocus: u.focus
|
|
2446
2446
|
}, null, 8, ["modelValue", "type", "size", "disabled", "editable", "clearable", "placeholder", "start-placeholder", "end-placeholder", "time-arrow-control", "format", "value-format", "popper-class", "range-separator", "defaultTime", "onBlur", "onFocus"]);
|
|
2447
2447
|
}
|
|
2448
|
-
const
|
|
2448
|
+
const wf = /* @__PURE__ */ ne(bf, [["render", Cf]]), kf = {
|
|
2449
2449
|
name: "BnCheck",
|
|
2450
2450
|
props: {
|
|
2451
2451
|
modelValue: [Boolean, String, Number, Array],
|
|
@@ -2545,8 +2545,8 @@ const Cf = /* @__PURE__ */ ne(yf, [["render", bf]]), wf = {
|
|
|
2545
2545
|
});
|
|
2546
2546
|
}
|
|
2547
2547
|
}
|
|
2548
|
-
},
|
|
2549
|
-
function
|
|
2548
|
+
}, xf = ["title"];
|
|
2549
|
+
function Tf(n, i, o, c, a, u) {
|
|
2550
2550
|
return w(), D("div", {
|
|
2551
2551
|
class: Te(["bnChecked", { disabled: o.disabled }]),
|
|
2552
2552
|
onClick: i[0] || (i[0] = (...m) => u.handleClick && u.handleClick(...m))
|
|
@@ -2562,11 +2562,11 @@ function xf(n, i, o, c, a, u) {
|
|
|
2562
2562
|
class: "bnChecked-label",
|
|
2563
2563
|
style: ct(o.labelStyle),
|
|
2564
2564
|
title: u.title
|
|
2565
|
-
}, W(u.title), 13,
|
|
2565
|
+
}, W(u.title), 13, xf)) : z("", !0)
|
|
2566
2566
|
], !0)
|
|
2567
2567
|
], 2);
|
|
2568
2568
|
}
|
|
2569
|
-
const
|
|
2569
|
+
const If = /* @__PURE__ */ ne(kf, [["render", Tf], ["__scopeId", "data-v-1dc8f457"]]), Da = {
|
|
2570
2570
|
// 淘宝 sellerType为1 旗帜颜色 和 key值对应
|
|
2571
2571
|
1: [
|
|
2572
2572
|
{ value: "grey", className: "gray", key: "0" },
|
|
@@ -2722,7 +2722,7 @@ const Tf = /* @__PURE__ */ ne(wf, [["render", xf], ["__scopeId", "data-v-1dc8f45
|
|
|
2722
2722
|
// 紫色
|
|
2723
2723
|
// {value: "yellow2", className: "yellow", key: '6'}, // 黄色
|
|
2724
2724
|
]
|
|
2725
|
-
},
|
|
2725
|
+
}, Sf = {
|
|
2726
2726
|
name: "orderRemark",
|
|
2727
2727
|
props: {
|
|
2728
2728
|
// 接口请求外部转发
|
|
@@ -2733,7 +2733,7 @@ const Tf = /* @__PURE__ */ ne(wf, [["render", xf], ["__scopeId", "data-v-1dc8f45
|
|
|
2733
2733
|
data() {
|
|
2734
2734
|
return {
|
|
2735
2735
|
show: !1,
|
|
2736
|
-
flagList:
|
|
2736
|
+
flagList: Da,
|
|
2737
2737
|
postData: { flag: "", sellerMemo: "" },
|
|
2738
2738
|
loading: !1
|
|
2739
2739
|
};
|
|
@@ -2779,8 +2779,8 @@ const Tf = /* @__PURE__ */ ne(wf, [["render", xf], ["__scopeId", "data-v-1dc8f45
|
|
|
2779
2779
|
});
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
|
-
},
|
|
2783
|
-
function
|
|
2782
|
+
}, Df = { class: "orderRemark" }, Pf = { class: "w-flex-right w-flex-center" }, Lf = { class: "w-font13 w-color-gray w-margin-right8" }, Of = { class: "w-color-blue" };
|
|
2783
|
+
function Mf(n, i, o, c, a, u) {
|
|
2784
2784
|
const m = O("el-radio"), b = O("el-radio-group"), C = O("el-form-item"), k = O("el-input"), x = O("el-form"), B = O("el-button"), V = O("el-dialog");
|
|
2785
2785
|
return w(), U(V, {
|
|
2786
2786
|
modelValue: a.show,
|
|
@@ -2792,10 +2792,10 @@ function Of(n, i, o, c, a, u) {
|
|
|
2792
2792
|
"align-center": ""
|
|
2793
2793
|
}, {
|
|
2794
2794
|
footer: M(() => [
|
|
2795
|
-
v("div",
|
|
2796
|
-
v("span",
|
|
2795
|
+
v("div", Pf, [
|
|
2796
|
+
v("span", Lf, [
|
|
2797
2797
|
i[5] || (i[5] = Y("已输入 ", -1)),
|
|
2798
|
-
v("span",
|
|
2798
|
+
v("span", Of, W(u.changeContent(a.postData.sellerMemo)), 1),
|
|
2799
2799
|
i[6] || (i[6] = Y("/1000", -1))
|
|
2800
2800
|
]),
|
|
2801
2801
|
P(B, {
|
|
@@ -2819,7 +2819,7 @@ function Of(n, i, o, c, a, u) {
|
|
|
2819
2819
|
])
|
|
2820
2820
|
]),
|
|
2821
2821
|
default: M(() => [
|
|
2822
|
-
v("div",
|
|
2822
|
+
v("div", Df, [
|
|
2823
2823
|
P(x, {
|
|
2824
2824
|
model: a.postData,
|
|
2825
2825
|
"label-width": "auto"
|
|
@@ -2874,9 +2874,9 @@ function Of(n, i, o, c, a, u) {
|
|
|
2874
2874
|
_: 1
|
|
2875
2875
|
}, 8, ["modelValue", "title"]);
|
|
2876
2876
|
}
|
|
2877
|
-
const
|
|
2877
|
+
const Bf = /* @__PURE__ */ ne(Sf, [["render", Mf], ["__scopeId", "data-v-a61a7bee"]]), Ff = {
|
|
2878
2878
|
name: "BnOrderCard",
|
|
2879
|
-
components: { orderRemark:
|
|
2879
|
+
components: { orderRemark: Bf },
|
|
2880
2880
|
props: {
|
|
2881
2881
|
// 接口请求外部转发
|
|
2882
2882
|
postFunc: Function,
|
|
@@ -2900,7 +2900,7 @@ const Mf = /* @__PURE__ */ ne(If, [["render", Of], ["__scopeId", "data-v-a61a7be
|
|
|
2900
2900
|
},
|
|
2901
2901
|
data() {
|
|
2902
2902
|
return {
|
|
2903
|
-
flagList:
|
|
2903
|
+
flagList: Da,
|
|
2904
2904
|
orderData: {},
|
|
2905
2905
|
// 解密历史
|
|
2906
2906
|
decryptIs: []
|
|
@@ -2999,10 +2999,10 @@ const Mf = /* @__PURE__ */ ne(If, [["render", Of], ["__scopeId", "data-v-a61a7be
|
|
|
2999
2999
|
}
|
|
3000
3000
|
}
|
|
3001
3001
|
}
|
|
3002
|
-
},
|
|
3003
|
-
function
|
|
3002
|
+
}, Af = { class: "bnOrder" }, Vf = { class: "bnOrder-info" }, _f = { class: "bnOrder-info-item" }, Ef = { class: "bnOrder-info-item" }, Nf = { class: "bnOrder-info" }, zf = { class: "bnOrder-info-item" }, Hf = { class: "w-color-orange" }, Rf = { class: "bnOrder-info-item" }, Uf = { class: "w-color-blue" }, jf = { class: "bnOrder-info" }, Kf = { class: "bnOrder-info-item" }, Wf = ["onClick"], Xf = { class: "bnOrder-good" }, Gf = { class: "w-flex-top" }, Yf = { class: "bnOrder-good-info" }, Jf = ["onClick"], qf = { class: "w-font13" }, Qf = { class: "w-font16 w-font-weight" }, Zf = { class: "w-flex-lrCenter w-text-over" }, $f = { class: "w-font-weight w-font16 w-color-deep-orange" }, eh = { class: "bnOrder-flag" }, th = { class: "bnOrder-flag-content" }, ih = { class: "w-font14 w-margin-lr3" };
|
|
3003
|
+
function nh(n, i, o, c, a, u) {
|
|
3004
3004
|
const m = O("orderRemark"), b = O("el-image"), C = O("el-table-column"), k = O("el-table"), x = O("el-card");
|
|
3005
|
-
return w(), D("div",
|
|
3005
|
+
return w(), D("div", Af, [
|
|
3006
3006
|
P(m, {
|
|
3007
3007
|
ref: "orderRemark",
|
|
3008
3008
|
onOverRemark: u.overRemark,
|
|
@@ -3015,27 +3015,27 @@ function ih(n, i, o, c, a, u) {
|
|
|
3015
3015
|
default: M(() => {
|
|
3016
3016
|
var B, V;
|
|
3017
3017
|
return [
|
|
3018
|
-
v("div",
|
|
3019
|
-
v("div",
|
|
3018
|
+
v("div", Vf, [
|
|
3019
|
+
v("div", _f, [
|
|
3020
3020
|
i[3] || (i[3] = v("span", { class: "bnOrder-info-title" }, "订单号:", -1)),
|
|
3021
3021
|
v("span", {
|
|
3022
3022
|
class: "w-default-hover",
|
|
3023
3023
|
onClick: i[0] || (i[0] = (N) => u.openTid("tid"))
|
|
3024
3024
|
}, W(a.orderData.tid), 1)
|
|
3025
3025
|
]),
|
|
3026
|
-
v("div",
|
|
3026
|
+
v("div", Ef, [
|
|
3027
3027
|
i[4] || (i[4] = v("span", { class: "bnOrder-info-title" }, "付款时间:", -1)),
|
|
3028
3028
|
v("span", null, W(a.orderData.CRMTRADE.payTime || "-"), 1)
|
|
3029
3029
|
])
|
|
3030
3030
|
]),
|
|
3031
|
-
v("div",
|
|
3032
|
-
v("div",
|
|
3031
|
+
v("div", Nf, [
|
|
3032
|
+
v("div", zf, [
|
|
3033
3033
|
i[5] || (i[5] = v("span", { class: "bnOrder-info-title" }, "店铺:", -1)),
|
|
3034
|
-
v("span",
|
|
3034
|
+
v("span", Hf, W(((V = (B = a.orderData) == null ? void 0 : B.CRMSELLER) == null ? void 0 : V.title) || "-"), 1)
|
|
3035
3035
|
]),
|
|
3036
|
-
v("div",
|
|
3036
|
+
v("div", Rf, [
|
|
3037
3037
|
i[6] || (i[6] = v("span", { class: "bnOrder-info-title" }, "昵称:", -1)),
|
|
3038
|
-
v("span",
|
|
3038
|
+
v("span", Uf, W(a.orderData.CRMTRADE.buyerNick.slice(0, 10)), 1),
|
|
3039
3039
|
a.decryptIs.includes("buyerNick") ? z("", !0) : (w(), D("span", {
|
|
3040
3040
|
key: 0,
|
|
3041
3041
|
class: "bnUIcon bnUIcon-openLock w-color-blue w-cursor-pointer",
|
|
@@ -3043,8 +3043,8 @@ function ih(n, i, o, c, a, u) {
|
|
|
3043
3043
|
}))
|
|
3044
3044
|
])
|
|
3045
3045
|
]),
|
|
3046
|
-
v("div",
|
|
3047
|
-
v("div",
|
|
3046
|
+
v("div", jf, [
|
|
3047
|
+
v("div", Kf, [
|
|
3048
3048
|
i[7] || (i[7] = v("span", { class: "bnOrder-info-title" }, "收货地址:", -1)),
|
|
3049
3049
|
(w(), D(ie, null, ue(["receiverAddress", "receiverName", "buyMobile"], (N, E) => v("span", {
|
|
3050
3050
|
class: "w-margin-right8",
|
|
@@ -3055,7 +3055,7 @@ function ih(n, i, o, c, a, u) {
|
|
|
3055
3055
|
key: 0,
|
|
3056
3056
|
class: "bnUIcon bnUIcon-openLock w-color-blue w-cursor-pointer",
|
|
3057
3057
|
onClick: (ee) => u.decryptData(N)
|
|
3058
|
-
}, null, 8,
|
|
3058
|
+
}, null, 8, Wf))
|
|
3059
3059
|
])), 64))
|
|
3060
3060
|
])
|
|
3061
3061
|
]),
|
|
@@ -3067,8 +3067,8 @@ function ih(n, i, o, c, a, u) {
|
|
|
3067
3067
|
default: M(() => [
|
|
3068
3068
|
P(C, { width: "560" }, {
|
|
3069
3069
|
default: M((N) => [
|
|
3070
|
-
v("div",
|
|
3071
|
-
v("div",
|
|
3070
|
+
v("div", Xf, [
|
|
3071
|
+
v("div", Gf, [
|
|
3072
3072
|
v("div", null, [
|
|
3073
3073
|
P(b, {
|
|
3074
3074
|
class: "bnOrder-good-img",
|
|
@@ -3080,12 +3080,12 @@ function ih(n, i, o, c, a, u) {
|
|
|
3080
3080
|
fit: "cover"
|
|
3081
3081
|
}, null, 8, ["src", "preview-src-list"])
|
|
3082
3082
|
]),
|
|
3083
|
-
v("div",
|
|
3083
|
+
v("div", Yf, [
|
|
3084
3084
|
v("div", {
|
|
3085
3085
|
class: "w-text-over-two w-color-black3 w-default-hover",
|
|
3086
3086
|
onClick: (E) => u.openTid(N.row.sourceItemId)
|
|
3087
|
-
}, W(N.row.title), 9,
|
|
3088
|
-
v("div",
|
|
3087
|
+
}, W(N.row.title), 9, Jf),
|
|
3088
|
+
v("div", qf, [
|
|
3089
3089
|
i[8] || (i[8] = v("span", { class: "w-color-gray" }, "商品属性:", -1)),
|
|
3090
3090
|
Y(W(N.row.skuPropName || "-") + " ", 1),
|
|
3091
3091
|
i[9] || (i[9] = v("span", { class: "w-color-gray w-margin-left8" }, "商家编码:", -1)),
|
|
@@ -3095,7 +3095,7 @@ function ih(n, i, o, c, a, u) {
|
|
|
3095
3095
|
]),
|
|
3096
3096
|
v("div", null, [
|
|
3097
3097
|
i[10] || (i[10] = v("span", { class: "w-font12 w-margin-right2" }, "x", -1)),
|
|
3098
|
-
v("span",
|
|
3098
|
+
v("span", Qf, W(N.row.num), 1)
|
|
3099
3099
|
])
|
|
3100
3100
|
])
|
|
3101
3101
|
]),
|
|
@@ -3103,8 +3103,8 @@ function ih(n, i, o, c, a, u) {
|
|
|
3103
3103
|
}),
|
|
3104
3104
|
P(C, null, {
|
|
3105
3105
|
default: M((N) => [
|
|
3106
|
-
v("div",
|
|
3107
|
-
v("span",
|
|
3106
|
+
v("div", Zf, [
|
|
3107
|
+
v("span", $f, "¥" + W(N.row.price), 1)
|
|
3108
3108
|
])
|
|
3109
3109
|
]),
|
|
3110
3110
|
_: 1
|
|
@@ -3112,14 +3112,14 @@ function ih(n, i, o, c, a, u) {
|
|
|
3112
3112
|
]),
|
|
3113
3113
|
_: 1
|
|
3114
3114
|
}, 8, ["data"]),
|
|
3115
|
-
v("div",
|
|
3115
|
+
v("div", eh, [
|
|
3116
3116
|
i[11] || (i[11] = v("div", { class: "bnOrder-info-item w-color-black8" }, "卖家备注:", -1)),
|
|
3117
|
-
v("div",
|
|
3117
|
+
v("div", th, [
|
|
3118
3118
|
a.orderData.CRMTRADE.sellerFlag && u.sellerRemarksColor ? (w(), D("span", {
|
|
3119
3119
|
key: 0,
|
|
3120
3120
|
class: Te(["bnUIcon bnUIcon-flag", [`flag-color-${u.sellerRemarksColor}`]])
|
|
3121
3121
|
}, null, 2)) : z("", !0),
|
|
3122
|
-
v("span",
|
|
3122
|
+
v("span", ih, W(a.orderData.CRMTRADE.sellerMemo), 1),
|
|
3123
3123
|
v("span", {
|
|
3124
3124
|
class: "w-color-blue w-cursor-pointer w-font14",
|
|
3125
3125
|
onClick: i[2] || (i[2] = (...N) => u.orderRemark && u.orderRemark(...N))
|
|
@@ -3132,7 +3132,7 @@ function ih(n, i, o, c, a, u) {
|
|
|
3132
3132
|
})) : z("", !0)
|
|
3133
3133
|
]);
|
|
3134
3134
|
}
|
|
3135
|
-
const
|
|
3135
|
+
const lh = /* @__PURE__ */ ne(Ff, [["render", nh], ["__scopeId", "data-v-88cfaf09"]]), rh = {
|
|
3136
3136
|
name: "BnDrop",
|
|
3137
3137
|
props: {
|
|
3138
3138
|
//最终选中的value
|
|
@@ -3555,23 +3555,23 @@ const nh = /* @__PURE__ */ ne(Bf, [["render", ih], ["__scopeId", "data-v-88cfaf0
|
|
|
3555
3555
|
return this.collapsedTags.length;
|
|
3556
3556
|
}
|
|
3557
3557
|
}
|
|
3558
|
-
},
|
|
3558
|
+
}, oh = {
|
|
3559
3559
|
key: 0,
|
|
3560
3560
|
class: "bnDrop-placeholder"
|
|
3561
|
-
},
|
|
3561
|
+
}, sh = ["title"], ah = {
|
|
3562
3562
|
key: 1,
|
|
3563
3563
|
class: "bnDrop-tags"
|
|
3564
|
-
},
|
|
3564
|
+
}, uh = ["title"], dh = ["onClick"], ch = { class: "bnDrop-collapse-tooltip" }, fh = { class: "bnDrop-tag bnDrop-tag--collapse" }, hh = ["title"], ph = { class: "bnUIcon bnUIcon-down bnDrop-select-down" }, mh = ["onClick"], gh = ["title"], vh = {
|
|
3565
3565
|
key: 0,
|
|
3566
3566
|
class: "bnDrop-body-list-empty"
|
|
3567
|
-
},
|
|
3567
|
+
}, yh = {
|
|
3568
3568
|
key: 1,
|
|
3569
3569
|
class: "bnDrop-body-list-empty"
|
|
3570
|
-
},
|
|
3570
|
+
}, bh = {
|
|
3571
3571
|
key: 0,
|
|
3572
3572
|
class: "bnDrop-body-footer w-flex-center w-padding-lr10 w-padding-tb8 w-border-solid-top"
|
|
3573
|
-
},
|
|
3574
|
-
function
|
|
3573
|
+
}, Ch = { class: "w-flex-center w-flex-column-gap4 w-text-over" }, wh = { class: "w-margin-left4" }, kh = { class: "" };
|
|
3574
|
+
function xh(n, i, o, c, a, u) {
|
|
3575
3575
|
const m = O("el-tooltip"), b = O("el-input"), C = O("BnCheck"), k = O("el-scrollbar"), x = O("el-popover"), B = Bt("loading");
|
|
3576
3576
|
return w(), U(x, {
|
|
3577
3577
|
ref: "popover",
|
|
@@ -3588,8 +3588,8 @@ function kh(n, i, o, c, a, u) {
|
|
|
3588
3588
|
key: 1,
|
|
3589
3589
|
class: Te(["bnDrop-select", { simple: !o.border, disabled: o.disabled, "is-multiple-tags": o.multiple && o.collapseTags && u.val.length > 0 }])
|
|
3590
3590
|
}, [
|
|
3591
|
-
o.multiple && u.val.length == 0 || !o.multiple && (!o.labelInValue && u.val === "" || o.labelInValue && !u.val[o.optionProps.value]) ? (w(), D("span",
|
|
3592
|
-
o.multiple ? o.collapseTags ? (w(), D("div",
|
|
3591
|
+
o.multiple && u.val.length == 0 || !o.multiple && (!o.labelInValue && u.val === "" || o.labelInValue && !u.val[o.optionProps.value]) ? (w(), D("span", oh, W(o.placeholder), 1)) : (w(), D(ie, { key: 1 }, [
|
|
3592
|
+
o.multiple ? o.collapseTags ? (w(), D("div", ah, [
|
|
3593
3593
|
(w(!0), D(ie, null, ue(u.visibleTags, (V) => (w(), D("span", {
|
|
3594
3594
|
key: V.index,
|
|
3595
3595
|
class: "bnDrop-tag"
|
|
@@ -3597,12 +3597,12 @@ function kh(n, i, o, c, a, u) {
|
|
|
3597
3597
|
v("span", {
|
|
3598
3598
|
class: "bnDrop-tag-text",
|
|
3599
3599
|
title: V.label
|
|
3600
|
-
}, W(V.label), 9,
|
|
3600
|
+
}, W(V.label), 9, uh),
|
|
3601
3601
|
o.disabled ? z("", !0) : (w(), D("span", {
|
|
3602
3602
|
key: 0,
|
|
3603
3603
|
class: "bnDrop-tag-close bnUIcon bnUIcon-close",
|
|
3604
3604
|
onClick: Mt((N) => u.removeTag(V.index), ["stop"])
|
|
3605
|
-
}, null, 8,
|
|
3605
|
+
}, null, 8, dh))
|
|
3606
3606
|
]))), 128)),
|
|
3607
3607
|
u.collapsedCount > 0 ? (w(), U(m, {
|
|
3608
3608
|
key: 0,
|
|
@@ -3611,31 +3611,31 @@ function kh(n, i, o, c, a, u) {
|
|
|
3611
3611
|
placement: "top"
|
|
3612
3612
|
}, {
|
|
3613
3613
|
content: M(() => [
|
|
3614
|
-
v("div",
|
|
3614
|
+
v("div", ch, [
|
|
3615
3615
|
(w(!0), D(ie, null, ue(u.collapsedTags, (V) => (w(), D("div", {
|
|
3616
3616
|
key: V.index
|
|
3617
3617
|
}, W(V.label), 1))), 128))
|
|
3618
3618
|
])
|
|
3619
3619
|
]),
|
|
3620
3620
|
default: M(() => [
|
|
3621
|
-
v("span",
|
|
3621
|
+
v("span", fh, "+ " + W(u.collapsedCount), 1)
|
|
3622
3622
|
]),
|
|
3623
3623
|
_: 1
|
|
3624
3624
|
}, 8, ["disabled"])) : z("", !0)
|
|
3625
3625
|
])) : (w(), D("span", {
|
|
3626
3626
|
key: 2,
|
|
3627
3627
|
title: u.multipleTitle
|
|
3628
|
-
}, W(u.multipleTitle), 9,
|
|
3628
|
+
}, W(u.multipleTitle), 9, hh)) : (w(), D("span", {
|
|
3629
3629
|
key: 0,
|
|
3630
3630
|
title: u.singleTitle
|
|
3631
|
-
}, W(u.singleTitle), 9,
|
|
3631
|
+
}, W(u.singleTitle), 9, sh)),
|
|
3632
3632
|
o.clearable ? (w(), D("span", {
|
|
3633
3633
|
key: 3,
|
|
3634
3634
|
class: "bnUIcon bnUIcon-clear bnDrop-select-clear",
|
|
3635
3635
|
onClick: i[0] || (i[0] = Mt((...V) => u.clear && u.clear(...V), ["stop"]))
|
|
3636
3636
|
})) : z("", !0)
|
|
3637
3637
|
], 64)),
|
|
3638
|
-
Se(v("span",
|
|
3638
|
+
Se(v("span", ph, null, 512), [
|
|
3639
3639
|
[B, a.loading]
|
|
3640
3640
|
])
|
|
3641
3641
|
], 2))
|
|
@@ -3677,23 +3677,23 @@ function kh(n, i, o, c, a, u) {
|
|
|
3677
3677
|
}, null, 8, ["modelValue", "true-data", "is-checked"])) : z("", !0),
|
|
3678
3678
|
v("span", {
|
|
3679
3679
|
title: V[o.optionProps.label]
|
|
3680
|
-
}, W(V[o.optionProps.label]), 9,
|
|
3681
|
-
], 8,
|
|
3682
|
-
u.optionList.length == 0 && !a.loading ? (w(), D("div",
|
|
3683
|
-
a.loading ? (w(), D("div",
|
|
3680
|
+
}, W(V[o.optionProps.label]), 9, gh)
|
|
3681
|
+
], 8, mh))), 128)),
|
|
3682
|
+
u.optionList.length == 0 && !a.loading ? (w(), D("div", vh, W(o.noDataText), 1)) : z("", !0),
|
|
3683
|
+
a.loading ? (w(), D("div", yh, "加载中")) : z("", !0)
|
|
3684
3684
|
]),
|
|
3685
3685
|
_: 1
|
|
3686
3686
|
}, 8, ["onEndReached"]),
|
|
3687
|
-
o.multiple && o.checkedAll ? (w(), D("div",
|
|
3687
|
+
o.multiple && o.checkedAll ? (w(), D("div", bh, [
|
|
3688
3688
|
P(C, {
|
|
3689
3689
|
"true-data": 999,
|
|
3690
3690
|
"is-checked": u.isCheckedAll,
|
|
3691
3691
|
onClick: u.checkAll
|
|
3692
3692
|
}, {
|
|
3693
3693
|
default: M(() => [
|
|
3694
|
-
v("div",
|
|
3695
|
-
v("span",
|
|
3696
|
-
v("span",
|
|
3694
|
+
v("div", Ch, [
|
|
3695
|
+
v("span", wh, W(u.val.length == 0 ? "全选" : `已选${u.val.length - o.fixedFrontOptions.length}项`), 1),
|
|
3696
|
+
v("span", kh, "已加载" + W(u.optionList.length) + "/" + W(a.total) + "项", 1)
|
|
3697
3697
|
])
|
|
3698
3698
|
]),
|
|
3699
3699
|
_: 1
|
|
@@ -3705,7 +3705,7 @@ function kh(n, i, o, c, a, u) {
|
|
|
3705
3705
|
_: 3
|
|
3706
3706
|
}, 8, ["placement", "onShow", "disabled"]);
|
|
3707
3707
|
}
|
|
3708
|
-
const
|
|
3708
|
+
const Th = /* @__PURE__ */ ne(rh, [["render", xh], ["__scopeId", "data-v-82bb20b3"]]), Ih = {
|
|
3709
3709
|
data() {
|
|
3710
3710
|
return {
|
|
3711
3711
|
url: "",
|
|
@@ -3720,14 +3720,14 @@ const xh = /* @__PURE__ */ ne(lh, [["render", kh], ["__scopeId", "data-v-82bb20b
|
|
|
3720
3720
|
this.url = n, this.show = !0;
|
|
3721
3721
|
}
|
|
3722
3722
|
}
|
|
3723
|
-
},
|
|
3723
|
+
}, Sh = {
|
|
3724
3724
|
key: 0,
|
|
3725
3725
|
class: "videoPreview"
|
|
3726
|
-
},
|
|
3727
|
-
function
|
|
3728
|
-
return w(), U(
|
|
3729
|
-
a.show ? (w(), D("div",
|
|
3730
|
-
v("div",
|
|
3726
|
+
}, Dh = { class: "videoPreview-content" }, Ph = ["src"];
|
|
3727
|
+
function Lh(n, i, o, c, a, u) {
|
|
3728
|
+
return w(), U(Hd, { to: "body" }, [
|
|
3729
|
+
a.show ? (w(), D("div", Sh, [
|
|
3730
|
+
v("div", Dh, [
|
|
3731
3731
|
v("span", {
|
|
3732
3732
|
class: "videoPreview-content-close",
|
|
3733
3733
|
onClick: i[0] || (i[0] = (m) => a.show = !1)
|
|
@@ -3740,12 +3740,12 @@ function Ph(n, i, o, c, a, u) {
|
|
|
3740
3740
|
controls: "",
|
|
3741
3741
|
src: a.url,
|
|
3742
3742
|
autoplay: ""
|
|
3743
|
-
}, null, 8,
|
|
3743
|
+
}, null, 8, Ph)
|
|
3744
3744
|
])
|
|
3745
3745
|
])) : z("", !0)
|
|
3746
3746
|
]);
|
|
3747
3747
|
}
|
|
3748
|
-
const
|
|
3748
|
+
const Oh = /* @__PURE__ */ ne(Ih, [["render", Lh], ["__scopeId", "data-v-b9506480"]]), Mh = {
|
|
3749
3749
|
name: "FileDetail",
|
|
3750
3750
|
props: {
|
|
3751
3751
|
//附件
|
|
@@ -3777,32 +3777,32 @@ const Lh = /* @__PURE__ */ ne(Th, [["render", Ph], ["__scopeId", "data-v-b950648
|
|
|
3777
3777
|
return n && parseFloat(n) / 1024 / 1024 < 1 ? `${(parseFloat(n) / 1024).toFixed(2)}KB` : n && parseFloat(n) / 1024 / 1024 >= 1 ? `${(parseFloat(n) / 1024 / 1024).toFixed(2)}MB` : "";
|
|
3778
3778
|
}
|
|
3779
3779
|
}
|
|
3780
|
-
},
|
|
3780
|
+
}, Bh = { class: "fileDetail" }, Fh = { class: "fileDetail-info" }, Ah = ["title"], Vh = {
|
|
3781
3781
|
key: 0,
|
|
3782
3782
|
class: "fileDetail-info-title w-text-over"
|
|
3783
|
-
},
|
|
3783
|
+
}, _h = { class: "fileDetail-btn clearFix" }, Eh = {
|
|
3784
3784
|
key: 0,
|
|
3785
3785
|
class: "fileDetail-btn-item"
|
|
3786
|
-
},
|
|
3787
|
-
function
|
|
3788
|
-
return w(), D("div",
|
|
3789
|
-
v("div",
|
|
3786
|
+
}, Nh = ["href"];
|
|
3787
|
+
function zh(n, i, o, c, a, u) {
|
|
3788
|
+
return w(), D("div", Bh, [
|
|
3789
|
+
v("div", Fh, [
|
|
3790
3790
|
v("div", {
|
|
3791
3791
|
class: "fileDetail-info-title titleHover w-text-over",
|
|
3792
3792
|
onClick: i[0] || (i[0] = (m) => n.$emit("lookFile", o.file)),
|
|
3793
3793
|
title: o.file.title
|
|
3794
|
-
}, W(o.file.title), 9,
|
|
3795
|
-
o.showSize ? (w(), D("div",
|
|
3794
|
+
}, W(o.file.title), 9, Ah),
|
|
3795
|
+
o.showSize ? (w(), D("div", Vh, W(u.returnSizeText(o.file.size)), 1)) : z("", !0)
|
|
3796
3796
|
]),
|
|
3797
|
-
v("div",
|
|
3798
|
-
o.file.id != -1 ? (w(), D("div",
|
|
3797
|
+
v("div", _h, [
|
|
3798
|
+
o.file.id != -1 ? (w(), D("div", Eh, [
|
|
3799
3799
|
v("a", {
|
|
3800
3800
|
class: "w-color-blue w-cursor-pointer",
|
|
3801
3801
|
href: u.getDownloadUrl(o.file),
|
|
3802
3802
|
target: "_blank"
|
|
3803
3803
|
}, [...i[2] || (i[2] = [
|
|
3804
3804
|
v("span", { class: "bnUIcon bnUIcon-download" }, null, -1)
|
|
3805
|
-
])], 8,
|
|
3805
|
+
])], 8, Nh)
|
|
3806
3806
|
])) : z("", !0),
|
|
3807
3807
|
o.isDel && !o.disabled ? (w(), D("div", {
|
|
3808
3808
|
key: 1,
|
|
@@ -3814,9 +3814,9 @@ function Nh(n, i, o, c, a, u) {
|
|
|
3814
3814
|
])
|
|
3815
3815
|
]);
|
|
3816
3816
|
}
|
|
3817
|
-
const
|
|
3817
|
+
const Hh = /* @__PURE__ */ ne(Mh, [["render", zh], ["__scopeId", "data-v-307e6554"]]), Rh = {
|
|
3818
3818
|
name: "BnFileView",
|
|
3819
|
-
components: { videoPreview:
|
|
3819
|
+
components: { videoPreview: Oh, fileDetail: Hh },
|
|
3820
3820
|
props: {
|
|
3821
3821
|
//附件列表
|
|
3822
3822
|
fileList: {
|
|
@@ -3901,7 +3901,7 @@ const zh = /* @__PURE__ */ ne(Oh, [["render", Nh], ["__scopeId", "data-v-307e655
|
|
|
3901
3901
|
* 忽略大小写判断文件类型
|
|
3902
3902
|
* */
|
|
3903
3903
|
includesType(n, i) {
|
|
3904
|
-
return i ?
|
|
3904
|
+
return i ? Kd(Wd(n, Qr), Qr(i)) : !1;
|
|
3905
3905
|
},
|
|
3906
3906
|
/**
|
|
3907
3907
|
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
@@ -3927,8 +3927,8 @@ const zh = /* @__PURE__ */ ne(Oh, [["render", Nh], ["__scopeId", "data-v-307e655
|
|
|
3927
3927
|
this.fileList.splice(n, 1), this.$emit("delFile", this.fileList);
|
|
3928
3928
|
}
|
|
3929
3929
|
}
|
|
3930
|
-
},
|
|
3931
|
-
function
|
|
3930
|
+
}, Uh = { class: "bnFileView-body" }, jh = ["title", "onClick"], Kh = { key: 0 }, Wh = ["src"], Xh = ["src"];
|
|
3931
|
+
function Gh(n, i, o, c, a, u) {
|
|
3932
3932
|
const m = O("el-image"), b = O("videoPreview"), C = O("fileDetail"), k = O("el-popover");
|
|
3933
3933
|
return w(), D("div", {
|
|
3934
3934
|
class: "bnFileView",
|
|
@@ -3944,7 +3944,7 @@ function Xh(n, i, o, c, a, u) {
|
|
|
3944
3944
|
fit: "cover"
|
|
3945
3945
|
}, null, 8, ["initial-index", "preview-teleported", "src", "preview-src-list"]),
|
|
3946
3946
|
P(b, { ref: "videoRef" }, null, 512),
|
|
3947
|
-
v("div",
|
|
3947
|
+
v("div", Uh, [
|
|
3948
3948
|
(w(!0), D(ie, null, ue(o.fileList, (x, B) => (w(), D("div", {
|
|
3949
3949
|
key: B,
|
|
3950
3950
|
class: Te(["bnFileView-item", { "bnFileView-showDetail": !o.isMini }]),
|
|
@@ -3967,14 +3967,14 @@ function Xh(n, i, o, c, a, u) {
|
|
|
3967
3967
|
v("img", {
|
|
3968
3968
|
style: ct(u.widthStyle),
|
|
3969
3969
|
src: u.getFileImg(x)
|
|
3970
|
-
}, null, 12,
|
|
3970
|
+
}, null, 12, Xh)
|
|
3971
3971
|
]),
|
|
3972
3972
|
default: M(() => [
|
|
3973
|
-
u.includesType(a.pictureType, x.type) && o.imagePreview ? (w(), D("div",
|
|
3973
|
+
u.includesType(a.pictureType, x.type) && o.imagePreview ? (w(), D("div", Kh, [
|
|
3974
3974
|
v("img", {
|
|
3975
3975
|
style: { width: "180px", height: "180px" },
|
|
3976
3976
|
src: u.getFileImg(x)
|
|
3977
|
-
}, null, 8,
|
|
3977
|
+
}, null, 8, Wh)
|
|
3978
3978
|
])) : z("", !0),
|
|
3979
3979
|
o.isMini ? (w(), U(C, {
|
|
3980
3980
|
key: 1,
|
|
@@ -3990,7 +3990,7 @@ function Xh(n, i, o, c, a, u) {
|
|
|
3990
3990
|
]),
|
|
3991
3991
|
_: 2
|
|
3992
3992
|
}, 1032, ["disabled"])
|
|
3993
|
-
], 8,
|
|
3993
|
+
], 8, jh),
|
|
3994
3994
|
o.isMini ? z("", !0) : (w(), U(C, {
|
|
3995
3995
|
key: 0,
|
|
3996
3996
|
style: ct(u.detailStyle),
|
|
@@ -4007,7 +4007,7 @@ function Xh(n, i, o, c, a, u) {
|
|
|
4007
4007
|
])
|
|
4008
4008
|
], 4);
|
|
4009
4009
|
}
|
|
4010
|
-
const
|
|
4010
|
+
const Yh = /* @__PURE__ */ ne(Rh, [["render", Gh], ["__scopeId", "data-v-d3538d4f"]]), Jh = {
|
|
4011
4011
|
name: "BnInpNum",
|
|
4012
4012
|
props: {
|
|
4013
4013
|
modelValue: [String, Number],
|
|
@@ -4094,7 +4094,7 @@ const Gh = /* @__PURE__ */ ne(Hh, [["render", Xh], ["__scopeId", "data-v-d3538d4
|
|
|
4094
4094
|
}
|
|
4095
4095
|
}
|
|
4096
4096
|
};
|
|
4097
|
-
function
|
|
4097
|
+
function qh(n, i, o, c, a, u) {
|
|
4098
4098
|
const m = O("el-input");
|
|
4099
4099
|
return w(), U(m, {
|
|
4100
4100
|
placeholder: o.placeholder,
|
|
@@ -4118,7 +4118,7 @@ function Jh(n, i, o, c, a, u) {
|
|
|
4118
4118
|
_: 3
|
|
4119
4119
|
}, 8, ["placeholder", "modelValue", "disabled", "clearable", "class", "onInput", "onChange", "onBlur", "size", "maxlength"]);
|
|
4120
4120
|
}
|
|
4121
|
-
const
|
|
4121
|
+
const Qh = /* @__PURE__ */ ne(Jh, [["render", qh], ["__scopeId", "data-v-e1de6a24"]]), Zh = {
|
|
4122
4122
|
name: "BnRadio",
|
|
4123
4123
|
props: {
|
|
4124
4124
|
modelValue: [Boolean, String, Number, Object],
|
|
@@ -4213,8 +4213,8 @@ const qh = /* @__PURE__ */ ne(Yh, [["render", Jh], ["__scopeId", "data-v-e1de6a2
|
|
|
4213
4213
|
});
|
|
4214
4214
|
}
|
|
4215
4215
|
}
|
|
4216
|
-
},
|
|
4217
|
-
function
|
|
4216
|
+
}, $h = ["title"];
|
|
4217
|
+
function ep(n, i, o, c, a, u) {
|
|
4218
4218
|
return w(), D("div", {
|
|
4219
4219
|
class: Te(["BnRadio", { disabled: o.disabled }]),
|
|
4220
4220
|
onClick: i[0] || (i[0] = (...m) => u.handleClick && u.handleClick(...m))
|
|
@@ -4228,11 +4228,11 @@ function $h(n, i, o, c, a, u) {
|
|
|
4228
4228
|
class: "BnRadio-label",
|
|
4229
4229
|
style: ct(o.labelStyle),
|
|
4230
4230
|
title: u.title
|
|
4231
|
-
}, W(u.title), 13,
|
|
4231
|
+
}, W(u.title), 13, $h)) : z("", !0)
|
|
4232
4232
|
], !0)
|
|
4233
4233
|
], 2);
|
|
4234
4234
|
}
|
|
4235
|
-
const
|
|
4235
|
+
const tp = /* @__PURE__ */ ne(Zh, [["render", ep], ["__scopeId", "data-v-cecdf48e"]]), ip = {
|
|
4236
4236
|
name: "bnRelation",
|
|
4237
4237
|
props: {
|
|
4238
4238
|
// value数据绑定
|
|
@@ -4322,7 +4322,7 @@ const ep = /* @__PURE__ */ ne(Qh, [["render", $h], ["__scopeId", "data-v-cecdf48
|
|
|
4322
4322
|
}
|
|
4323
4323
|
}
|
|
4324
4324
|
};
|
|
4325
|
-
function
|
|
4325
|
+
function np(n, i, o, c, a, u) {
|
|
4326
4326
|
const m = O("el-cascader");
|
|
4327
4327
|
return w(), U(m, {
|
|
4328
4328
|
size: o.size,
|
|
@@ -4342,7 +4342,7 @@ function ip(n, i, o, c, a, u) {
|
|
|
4342
4342
|
"show-all-levels": o.showAllLevels
|
|
4343
4343
|
}, null, 8, ["size", "modelValue", "placeholder", "options", "props", "onVisibleChange", "filterable", "collapse-tags", "separator", "disabled", "clearable", "show-all-levels"]);
|
|
4344
4344
|
}
|
|
4345
|
-
const
|
|
4345
|
+
const lp = /* @__PURE__ */ ne(ip, [["render", np]]), rp = {
|
|
4346
4346
|
1: [
|
|
4347
4347
|
{ title: "等于", id: "1" },
|
|
4348
4348
|
{ title: "不等于", id: "2" },
|
|
@@ -4509,7 +4509,7 @@ const np = /* @__PURE__ */ ne(tp, [["render", ip]]), lp = {
|
|
|
4509
4509
|
{ title: "为空", id: "9" },
|
|
4510
4510
|
{ title: "不为空", id: "10" }
|
|
4511
4511
|
]
|
|
4512
|
-
},
|
|
4512
|
+
}, op = {
|
|
4513
4513
|
//{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
|
|
4514
4514
|
1: [{ id: "0", title: "自定义填写" }, { id: "1", title: "其他组件" }],
|
|
4515
4515
|
2: [{ id: "0", title: "自定义填写" }, { id: "1", title: "其他组件" }],
|
|
@@ -4527,7 +4527,7 @@ const np = /* @__PURE__ */ ne(tp, [["render", ip]]), lp = {
|
|
|
4527
4527
|
14: [{ id: "2", title: "组件选项" }],
|
|
4528
4528
|
15: [{ id: "2", title: "组件选项" }],
|
|
4529
4529
|
20: [{ id: "2", title: "组件选项" }]
|
|
4530
|
-
},
|
|
4530
|
+
}, sp = {
|
|
4531
4531
|
7: [
|
|
4532
4532
|
{ id: "5", title: "指定时间" },
|
|
4533
4533
|
{ id: "0", title: "今天" },
|
|
@@ -4537,9 +4537,9 @@ const np = /* @__PURE__ */ ne(tp, [["render", ip]]), lp = {
|
|
|
4537
4537
|
{ id: "4", title: "未来x天" }
|
|
4538
4538
|
//部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
|
|
4539
4539
|
]
|
|
4540
|
-
},
|
|
4540
|
+
}, ap = {
|
|
4541
4541
|
name: "BnCondition",
|
|
4542
|
-
components: { BnCondVal:
|
|
4542
|
+
components: { BnCondVal: Sa },
|
|
4543
4543
|
props: {
|
|
4544
4544
|
//最终选中的value
|
|
4545
4545
|
modelValue: [String, Array, Number, Object],
|
|
@@ -4663,11 +4663,11 @@ const np = /* @__PURE__ */ ne(tp, [["render", ip]]), lp = {
|
|
|
4663
4663
|
data() {
|
|
4664
4664
|
return {
|
|
4665
4665
|
//计算条件列表
|
|
4666
|
-
searchList:
|
|
4666
|
+
searchList: rp,
|
|
4667
4667
|
//值类型列表
|
|
4668
|
-
valueTypeList:
|
|
4668
|
+
valueTypeList: op,
|
|
4669
4669
|
//子类型
|
|
4670
|
-
subTypeList:
|
|
4670
|
+
subTypeList: sp
|
|
4671
4671
|
};
|
|
4672
4672
|
},
|
|
4673
4673
|
computed: {
|
|
@@ -4879,18 +4879,18 @@ const np = /* @__PURE__ */ ne(tp, [["render", ip]]), lp = {
|
|
|
4879
4879
|
});
|
|
4880
4880
|
}
|
|
4881
4881
|
}
|
|
4882
|
-
},
|
|
4882
|
+
}, up = { class: "bnCon clearFix" }, dp = { class: "bnCon-setting" }, cp = { class: "bnCon-setting-left" }, fp = ["title"], hp = { class: "bnCon-condition" }, pp = {
|
|
4883
4883
|
key: 0,
|
|
4884
4884
|
class: "bnCon-condition-valType"
|
|
4885
|
-
},
|
|
4885
|
+
}, mp = {
|
|
4886
4886
|
key: 1,
|
|
4887
4887
|
class: "bnCon-condition-valType"
|
|
4888
|
-
},
|
|
4889
|
-
function
|
|
4888
|
+
}, gp = { class: "bnCon-condition-valSet" };
|
|
4889
|
+
function vp(n, i, o, c, a, u) {
|
|
4890
4890
|
const m = O("BnDrop"), b = O("el-option"), C = O("el-select"), k = O("BnCondVal");
|
|
4891
|
-
return w(), D("div",
|
|
4892
|
-
v("div",
|
|
4893
|
-
v("div",
|
|
4891
|
+
return w(), D("div", up, [
|
|
4892
|
+
v("div", dp, [
|
|
4893
|
+
v("div", cp, [
|
|
4894
4894
|
_e(n.$slots, "selectComponent", {}, () => [
|
|
4895
4895
|
o.allowSelectColumn ? (w(), U(m, {
|
|
4896
4896
|
key: 1,
|
|
@@ -4904,7 +4904,7 @@ function gp(n, i, o, c, a, u) {
|
|
|
4904
4904
|
key: 0,
|
|
4905
4905
|
class: "bnCon-setting-column",
|
|
4906
4906
|
title: u.ruleVal[o.optionProps.name]
|
|
4907
|
-
}, W(u.ruleVal[o.optionProps.name]), 9,
|
|
4907
|
+
}, W(u.ruleVal[o.optionProps.name]), 9, fp))
|
|
4908
4908
|
], !0),
|
|
4909
4909
|
P(m, {
|
|
4910
4910
|
onChange: u.searchChange,
|
|
@@ -4923,8 +4923,8 @@ function gp(n, i, o, c, a, u) {
|
|
|
4923
4923
|
v("span", { class: "bnUIcon bnUIcon-delete" }, null, -1)
|
|
4924
4924
|
])])) : z("", !0)
|
|
4925
4925
|
]),
|
|
4926
|
-
v("div",
|
|
4927
|
-
o.allowValueType ? (w(), D("div",
|
|
4926
|
+
v("div", hp, [
|
|
4927
|
+
o.allowValueType ? (w(), D("div", pp, [
|
|
4928
4928
|
P(C, {
|
|
4929
4929
|
modelValue: u.ruleVal[o.optionProps.valueType],
|
|
4930
4930
|
"onUpdate:modelValue": i[3] || (i[3] = (x) => u.ruleVal[o.optionProps.valueType] = x),
|
|
@@ -4942,7 +4942,7 @@ function gp(n, i, o, c, a, u) {
|
|
|
4942
4942
|
_: 1
|
|
4943
4943
|
}, 8, ["modelValue", "disabled", "onChange"])
|
|
4944
4944
|
])) : z("", !0),
|
|
4945
|
-
u.ruleVal.behaviorType == 7 && o.allowSubType ? (w(), D("div",
|
|
4945
|
+
u.ruleVal.behaviorType == 7 && o.allowSubType ? (w(), D("div", mp, [
|
|
4946
4946
|
P(C, {
|
|
4947
4947
|
modelValue: u.ruleVal[o.optionProps.subType],
|
|
4948
4948
|
"onUpdate:modelValue": i[4] || (i[4] = (x) => u.ruleVal[o.optionProps.subType] = x),
|
|
@@ -4960,7 +4960,7 @@ function gp(n, i, o, c, a, u) {
|
|
|
4960
4960
|
_: 1
|
|
4961
4961
|
}, 8, ["modelValue", "disabled", "onChange"])
|
|
4962
4962
|
])) : z("", !0),
|
|
4963
|
-
v("div",
|
|
4963
|
+
v("div", gp, [
|
|
4964
4964
|
P(k, {
|
|
4965
4965
|
modelValue: u.ruleVal,
|
|
4966
4966
|
"onUpdate:modelValue": i[5] || (i[5] = (x) => u.ruleVal = x),
|
|
@@ -4976,7 +4976,7 @@ function gp(n, i, o, c, a, u) {
|
|
|
4976
4976
|
])
|
|
4977
4977
|
]);
|
|
4978
4978
|
}
|
|
4979
|
-
const
|
|
4979
|
+
const yp = /* @__PURE__ */ ne(ap, [["render", vp], ["__scopeId", "data-v-acf59911"]]), Yl = {
|
|
4980
4980
|
1: "stringForm",
|
|
4981
4981
|
// 单行文本输入框
|
|
4982
4982
|
2: "numberForm",
|
|
@@ -5029,13 +5029,13 @@ const vp = /* @__PURE__ */ ne(sp, [["render", gp], ["__scopeId", "data-v-acf5991
|
|
|
5029
5029
|
// 级联组件关联组件查询选项
|
|
5030
5030
|
relationColumns: {}
|
|
5031
5031
|
};
|
|
5032
|
-
function
|
|
5032
|
+
function Pa(n, i) {
|
|
5033
5033
|
return n.behaviorType == 6 && i.value ? i.value.map((o) => o.code) : de(i);
|
|
5034
5034
|
}
|
|
5035
|
-
function yp(n) {
|
|
5036
|
-
return n.behaviorType == 6 && Array.isArray(n.value) ? n.value.length > 0 ? Ta(n.value) : null : Sn(n, "value.code") || Sn(n, "value.id");
|
|
5037
|
-
}
|
|
5038
5035
|
function bp(n) {
|
|
5036
|
+
return n.behaviorType == 6 && Array.isArray(n.value) ? n.value.length > 0 ? Ia(n.value) : null : Sn(n, "value.code") || Sn(n, "value.id");
|
|
5037
|
+
}
|
|
5038
|
+
function Cp(n) {
|
|
5039
5039
|
var u;
|
|
5040
5040
|
let i = de(al.defaultLink), o = de(al.columnMapping), c = !1, a = {};
|
|
5041
5041
|
try {
|
|
@@ -5055,14 +5055,14 @@ function bp(n) {
|
|
|
5055
5055
|
if ([3, 4, 6].includes(b.behaviorType) && C && k && k != "[]") {
|
|
5056
5056
|
let x = JSON.parse(k);
|
|
5057
5057
|
if (!o.defaultColumn[C]) {
|
|
5058
|
-
let V = n.find((E) => E.columnCode == C), N = Array.isArray(V.value) && !Fe(V.value) ? { code:
|
|
5058
|
+
let V = n.find((E) => E.columnCode == C), N = Array.isArray(V.value) && !Fe(V.value) ? { code: Ia(V.value), value: V.value } : Sn(V, "value.code") ? V.value : {};
|
|
5059
5059
|
o.defaultColumn[C] = N;
|
|
5060
5060
|
}
|
|
5061
5061
|
o.column = Array.from(/* @__PURE__ */ new Set([C, ...o.column])), o.setColumn[C] || (o.setColumn[C] = {}), o.setColumn[C][b.columnCode] = x;
|
|
5062
5062
|
let B = Sn(o.defaultColumn[C], "code");
|
|
5063
5063
|
if (B) {
|
|
5064
5064
|
let V = x.find((N) => String(N.fromValue.code) == String(B));
|
|
5065
|
-
V && (b.value =
|
|
5065
|
+
V && (b.value = Pa(b, V.toValue));
|
|
5066
5066
|
}
|
|
5067
5067
|
}
|
|
5068
5068
|
[6, 20].includes(b.behaviorType) && b.extraInfo.relationColumns && b.extraInfo.relationColumns.forEach((x) => {
|
|
@@ -5150,7 +5150,7 @@ function so(n, i, o) {
|
|
|
5150
5150
|
}
|
|
5151
5151
|
return c;
|
|
5152
5152
|
}
|
|
5153
|
-
function
|
|
5153
|
+
function La(n, i) {
|
|
5154
5154
|
var o;
|
|
5155
5155
|
for (let c in n.moduleDefinition) {
|
|
5156
5156
|
let a = n.moduleDefinition[c], u = !i && a.extraInfo.isAddable != "1" || i && a.extraInfo.isEditable != "1", m = "", b = !u && ((o = a.extraInfo) == null ? void 0 : o.valueEmptyCheck) == "1";
|
|
@@ -5186,7 +5186,7 @@ function Pa(n, i) {
|
|
|
5186
5186
|
return m;
|
|
5187
5187
|
}
|
|
5188
5188
|
}
|
|
5189
|
-
function
|
|
5189
|
+
function wp(n) {
|
|
5190
5190
|
let i = window.atob(n.split(",")[1]), o = new ArrayBuffer(i.length), c = new Uint8Array(o);
|
|
5191
5191
|
for (let a = 0; a < i.length; a++)
|
|
5192
5192
|
c[a] = i.charCodeAt(a);
|
|
@@ -5199,7 +5199,7 @@ function xC(n, i) {
|
|
|
5199
5199
|
Array.prototype.forEach.call(c, (a) => {
|
|
5200
5200
|
let u = a.getAsFile(), m = new FileReader();
|
|
5201
5201
|
m.onloadend = (b) => {
|
|
5202
|
-
let C = b.target.result, k =
|
|
5202
|
+
let C = b.target.result, k = wp(C), x = new FormData();
|
|
5203
5203
|
x.append("file", k), x.append("source", "task");
|
|
5204
5204
|
let B = new XMLHttpRequest();
|
|
5205
5205
|
B.open("POST", i), B.onload = () => {
|
|
@@ -5261,7 +5261,7 @@ function fa(n, i, o) {
|
|
|
5261
5261
|
return console.log("isValueEqualErr:" + c), n === i;
|
|
5262
5262
|
}
|
|
5263
5263
|
}
|
|
5264
|
-
function
|
|
5264
|
+
function kp(n, i) {
|
|
5265
5265
|
let o = n.moduleDefinition.filter((a) => {
|
|
5266
5266
|
var u;
|
|
5267
5267
|
return (u = a.insideDataSourceInfo) == null ? void 0 : u.fieldCode;
|
|
@@ -5274,32 +5274,32 @@ function wp(n, i) {
|
|
|
5274
5274
|
}), u;
|
|
5275
5275
|
});
|
|
5276
5276
|
}
|
|
5277
|
-
function
|
|
5277
|
+
function xp(n) {
|
|
5278
5278
|
return Array.isArray(n) ? [] : typeof n == "object" ? {} : "";
|
|
5279
5279
|
}
|
|
5280
|
-
const
|
|
5280
|
+
const Tp = {
|
|
5281
5281
|
name: "index",
|
|
5282
5282
|
props: {
|
|
5283
5283
|
log: Object,
|
|
5284
5284
|
animation: Boolean
|
|
5285
5285
|
}
|
|
5286
|
-
},
|
|
5287
|
-
function
|
|
5288
|
-
return w(), D("div",
|
|
5286
|
+
}, Ip = { class: "elfLog" }, Sp = { class: "elfLog-content" }, Dp = { class: "elfLog-content-time" }, Pp = { class: "elfLog-content-warp" };
|
|
5287
|
+
function Lp(n, i, o, c, a, u) {
|
|
5288
|
+
return w(), D("div", Ip, [
|
|
5289
5289
|
i[0] || (i[0] = v("div", { class: "elfLog-top" }, [
|
|
5290
5290
|
v("img", { src: "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_26e18a1f306bad541a1713b86e6d1030.png" })
|
|
5291
5291
|
], -1)),
|
|
5292
|
-
v("div",
|
|
5293
|
-
v("div",
|
|
5294
|
-
v("div",
|
|
5292
|
+
v("div", Sp, [
|
|
5293
|
+
v("div", Dp, W(o.log.time), 1),
|
|
5294
|
+
v("div", Pp, [
|
|
5295
5295
|
v("span", null, W(o.log.content), 1)
|
|
5296
5296
|
])
|
|
5297
5297
|
])
|
|
5298
5298
|
]);
|
|
5299
5299
|
}
|
|
5300
|
-
const
|
|
5300
|
+
const Op = /* @__PURE__ */ ne(Tp, [["render", Lp], ["__scopeId", "data-v-569615ca"]]), Mp = {
|
|
5301
5301
|
name: "index",
|
|
5302
|
-
components: { elfLog:
|
|
5302
|
+
components: { elfLog: Op },
|
|
5303
5303
|
props: { logs: Array },
|
|
5304
5304
|
data() {
|
|
5305
5305
|
return {
|
|
@@ -5319,14 +5319,14 @@ const Lp = /* @__PURE__ */ ne(xp, [["render", Pp], ["__scopeId", "data-v-569615c
|
|
|
5319
5319
|
immediate: !0
|
|
5320
5320
|
}
|
|
5321
5321
|
}
|
|
5322
|
-
},
|
|
5323
|
-
function
|
|
5322
|
+
}, Bp = { class: "BnSmartElf" }, Fp = { class: "BnSmartElf-logs" }, Ap = { src: "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_34d142cdae778fe5751269e3ebb078be.png" }, Vp = { src: "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_a3e8db53df86fa2143e8d5238fc5dac0.png" };
|
|
5323
|
+
function _p(n, i, o, c, a, u) {
|
|
5324
5324
|
const m = O("elfLog"), b = O("el-scrollbar"), C = O("el-tooltip");
|
|
5325
|
-
return w(), D("div",
|
|
5325
|
+
return w(), D("div", Bp, [
|
|
5326
5326
|
i[3] || (i[3] = v("div", { class: "BnSmartElf-head" }, [
|
|
5327
5327
|
v("span", null, "建单助手")
|
|
5328
5328
|
], -1)),
|
|
5329
|
-
v("div",
|
|
5329
|
+
v("div", Fp, [
|
|
5330
5330
|
P(b, {
|
|
5331
5331
|
height: "100%",
|
|
5332
5332
|
ref: "scrollbarRef"
|
|
@@ -5348,7 +5348,7 @@ function Vp(n, i, o, c, a, u) {
|
|
|
5348
5348
|
onMouseleave: i[1] || (i[1] = (k) => a.close = !1),
|
|
5349
5349
|
onClick: i[2] || (i[2] = (k) => n.$emit("close"))
|
|
5350
5350
|
}, [
|
|
5351
|
-
Se(v("img",
|
|
5351
|
+
Se(v("img", Ap, null, 512), [
|
|
5352
5352
|
[Xe, !a.close]
|
|
5353
5353
|
]),
|
|
5354
5354
|
P(C, {
|
|
@@ -5358,7 +5358,7 @@ function Vp(n, i, o, c, a, u) {
|
|
|
5358
5358
|
"show-arrow": !1
|
|
5359
5359
|
}, {
|
|
5360
5360
|
default: M(() => [
|
|
5361
|
-
Se(v("img",
|
|
5361
|
+
Se(v("img", Vp, null, 512), [
|
|
5362
5362
|
[Xe, a.close]
|
|
5363
5363
|
])
|
|
5364
5364
|
]),
|
|
@@ -5367,7 +5367,7 @@ function Vp(n, i, o, c, a, u) {
|
|
|
5367
5367
|
], 32)
|
|
5368
5368
|
]);
|
|
5369
5369
|
}
|
|
5370
|
-
const
|
|
5370
|
+
const Ep = /* @__PURE__ */ ne(Mp, [["render", _p], ["__scopeId", "data-v-7c0c7c08"]]), Np = {
|
|
5371
5371
|
name: "choosePackage",
|
|
5372
5372
|
props: {
|
|
5373
5373
|
orderList: Array,
|
|
@@ -5529,11 +5529,11 @@ const _p = /* @__PURE__ */ ne(Op, [["render", Vp], ["__scopeId", "data-v-7c0c7c0
|
|
|
5529
5529
|
return (o + c).toFixed(a);
|
|
5530
5530
|
}
|
|
5531
5531
|
}
|
|
5532
|
-
},
|
|
5532
|
+
}, zp = { class: "choosePackage" }, Hp = {
|
|
5533
5533
|
key: 0,
|
|
5534
5534
|
class: "choosePackage-operate"
|
|
5535
|
-
},
|
|
5536
|
-
function
|
|
5535
|
+
}, Rp = { class: "choosePackage-inner" }, Up = { key: 0 }, jp = { key: 0 }, Kp = { class: "w-flex-right w-flex-center" }, Wp = { class: "w-font13 w-color-gray w-margin-right8" };
|
|
5536
|
+
function Xp(n, i, o, c, a, u) {
|
|
5537
5537
|
const m = O("el-button"), b = O("vxe-column"), C = O("BnFileView"), k = O("vxe-table"), x = O("el-dialog");
|
|
5538
5538
|
return w(), U(x, {
|
|
5539
5539
|
modelValue: a.show,
|
|
@@ -5545,8 +5545,8 @@ function Wp(n, i, o, c, a, u) {
|
|
|
5545
5545
|
style: { "margin-bottom": "0" }
|
|
5546
5546
|
}, {
|
|
5547
5547
|
footer: M(() => [
|
|
5548
|
-
v("div",
|
|
5549
|
-
v("span",
|
|
5548
|
+
v("div", Kp, [
|
|
5549
|
+
v("span", Wp, "已选择(" + W(a.selectData.length) + "/" + W(o.orderList.length) + ")条", 1),
|
|
5550
5550
|
P(m, {
|
|
5551
5551
|
onClick: i[2] || (i[2] = (B) => a.show = !1)
|
|
5552
5552
|
}, {
|
|
@@ -5567,8 +5567,8 @@ function Wp(n, i, o, c, a, u) {
|
|
|
5567
5567
|
])
|
|
5568
5568
|
]),
|
|
5569
5569
|
default: M(() => [
|
|
5570
|
-
v("div",
|
|
5571
|
-
u.tableData.length > 0 ? (w(), D("div",
|
|
5570
|
+
v("div", zp, [
|
|
5571
|
+
u.tableData.length > 0 ? (w(), D("div", Hp, [
|
|
5572
5572
|
a.expandAll ? (w(), U(m, {
|
|
5573
5573
|
key: 0,
|
|
5574
5574
|
onClick: i[0] || (i[0] = (B) => u.changeOpen(!1)),
|
|
@@ -5622,7 +5622,7 @@ function Wp(n, i, o, c, a, u) {
|
|
|
5622
5622
|
visible: !1
|
|
5623
5623
|
}, {
|
|
5624
5624
|
content: M(({ row: B }) => [
|
|
5625
|
-
v("div",
|
|
5625
|
+
v("div", Rp, [
|
|
5626
5626
|
P(k, {
|
|
5627
5627
|
size: "small",
|
|
5628
5628
|
"column-config": { resizable: !0 },
|
|
@@ -5642,7 +5642,7 @@ function Wp(n, i, o, c, a, u) {
|
|
|
5642
5642
|
"show-overflow": "title"
|
|
5643
5643
|
}, {
|
|
5644
5644
|
default: M((E) => [
|
|
5645
|
-
V.behaviorType != 10 ? (w(), D("span",
|
|
5645
|
+
V.behaviorType != 10 ? (w(), D("span", Up, W(u.getTitle(V, E.row[V.columnCode])), 1)) : z("", !0),
|
|
5646
5646
|
V.behaviorType == 10 && E.row[V.columnCode] ? (w(), U(C, {
|
|
5647
5647
|
key: 1,
|
|
5648
5648
|
"file-list": E.row[V.columnCode],
|
|
@@ -5670,7 +5670,7 @@ function Wp(n, i, o, c, a, u) {
|
|
|
5670
5670
|
"show-overflow": "title"
|
|
5671
5671
|
}, {
|
|
5672
5672
|
default: M((N) => [
|
|
5673
|
-
B.behaviorType != 10 ? (w(), D("span",
|
|
5673
|
+
B.behaviorType != 10 ? (w(), D("span", jp, W(u.getTitle(B, N.row[B.columnCode])), 1)) : z("", !0),
|
|
5674
5674
|
B.behaviorType == 10 && N.row[B.columnCode] ? (w(), U(C, {
|
|
5675
5675
|
key: 1,
|
|
5676
5676
|
"file-list": N.row[B.columnCode],
|
|
@@ -5688,7 +5688,7 @@ function Wp(n, i, o, c, a, u) {
|
|
|
5688
5688
|
_: 1
|
|
5689
5689
|
}, 8, ["modelValue", "title"]);
|
|
5690
5690
|
}
|
|
5691
|
-
const
|
|
5691
|
+
const Gp = /* @__PURE__ */ ne(Np, [["render", Xp], ["__scopeId", "data-v-7ccc583a"]]), Yp = {
|
|
5692
5692
|
name: "chooseChildOrder",
|
|
5693
5693
|
props: {
|
|
5694
5694
|
childOrders: Array,
|
|
@@ -5741,8 +5741,8 @@ const Xp = /* @__PURE__ */ ne(Ep, [["render", Wp], ["__scopeId", "data-v-7ccc583
|
|
|
5741
5741
|
this.$emit("setChildrenForm", n, "cover", this.dataBack.order), this.show = !1;
|
|
5742
5742
|
}
|
|
5743
5743
|
}
|
|
5744
|
-
},
|
|
5745
|
-
function
|
|
5744
|
+
}, Jp = { class: "chooseChildOrder" }, qp = { key: 0 }, Qp = { class: "w-flex-right w-flex-center" }, Zp = { class: "w-font13 w-color-gray w-margin-right8" };
|
|
5745
|
+
function $p(n, i, o, c, a, u) {
|
|
5746
5746
|
const m = O("vxe-column"), b = O("BnFileView"), C = O("vxe-table"), k = O("el-button"), x = O("el-dialog");
|
|
5747
5747
|
return w(), U(x, {
|
|
5748
5748
|
modelValue: a.show,
|
|
@@ -5754,8 +5754,8 @@ function Zp(n, i, o, c, a, u) {
|
|
|
5754
5754
|
style: { "margin-bottom": "0" }
|
|
5755
5755
|
}, {
|
|
5756
5756
|
footer: M(() => [
|
|
5757
|
-
v("div",
|
|
5758
|
-
v("span",
|
|
5757
|
+
v("div", Qp, [
|
|
5758
|
+
v("span", Zp, "已选择(" + W(a.selectData.length) + "/" + W(o.childOrders.length) + ")条", 1),
|
|
5759
5759
|
P(k, {
|
|
5760
5760
|
onClick: i[0] || (i[0] = (B) => a.show = !1)
|
|
5761
5761
|
}, {
|
|
@@ -5776,7 +5776,7 @@ function Zp(n, i, o, c, a, u) {
|
|
|
5776
5776
|
])
|
|
5777
5777
|
]),
|
|
5778
5778
|
default: M(() => [
|
|
5779
|
-
v("div",
|
|
5779
|
+
v("div", Jp, [
|
|
5780
5780
|
P(C, {
|
|
5781
5781
|
ref: "packageTable",
|
|
5782
5782
|
border: "",
|
|
@@ -5810,7 +5810,7 @@ function Zp(n, i, o, c, a, u) {
|
|
|
5810
5810
|
"show-footer-overflow": ""
|
|
5811
5811
|
}, {
|
|
5812
5812
|
default: M((N) => [
|
|
5813
|
-
B.behaviorType != 10 ? (w(), D("span",
|
|
5813
|
+
B.behaviorType != 10 ? (w(), D("span", qp, W(u.getTitle(B, N.row[B.columnCode])), 1)) : z("", !0),
|
|
5814
5814
|
B.behaviorType == 10 && N.row[B.columnCode] ? (w(), U(b, {
|
|
5815
5815
|
key: 1,
|
|
5816
5816
|
"file-list": N.row[B.columnCode],
|
|
@@ -5828,7 +5828,7 @@ function Zp(n, i, o, c, a, u) {
|
|
|
5828
5828
|
_: 1
|
|
5829
5829
|
}, 8, ["modelValue"]);
|
|
5830
5830
|
}
|
|
5831
|
-
const
|
|
5831
|
+
const em = /* @__PURE__ */ ne(Yp, [["render", $p], ["__scopeId", "data-v-d3be0803"]]), tm = {
|
|
5832
5832
|
name: "chooseChildGood",
|
|
5833
5833
|
data() {
|
|
5834
5834
|
return {
|
|
@@ -5935,8 +5935,8 @@ const $p = /* @__PURE__ */ ne(Gp, [["render", Zp], ["__scopeId", "data-v-d3be080
|
|
|
5935
5935
|
this.$emit("setChildGood", i, n), this.show = !1;
|
|
5936
5936
|
}
|
|
5937
5937
|
}
|
|
5938
|
-
},
|
|
5939
|
-
function
|
|
5938
|
+
}, im = { class: "chooseChildGood" }, nm = { class: "chooseChildGood-main w-margin-bottom10" }, lm = { class: "w-flex-right w-flex-center" }, rm = { class: "w-font13 w-color-gray w-margin-right8" };
|
|
5939
|
+
function om(n, i, o, c, a, u) {
|
|
5940
5940
|
const m = O("vxe-column"), b = O("BnFileView"), C = O("vxe-table"), k = O("el-button"), x = O("el-popover"), B = O("el-dialog"), V = Bt("loading");
|
|
5941
5941
|
return w(), U(B, {
|
|
5942
5942
|
modelValue: a.show,
|
|
@@ -5948,8 +5948,8 @@ function rm(n, i, o, c, a, u) {
|
|
|
5948
5948
|
style: { "margin-bottom": "0" }
|
|
5949
5949
|
}, {
|
|
5950
5950
|
footer: M(() => [
|
|
5951
|
-
v("div",
|
|
5952
|
-
v("span",
|
|
5951
|
+
v("div", lm, [
|
|
5952
|
+
v("span", rm, "已选择(" + W(a.selectData.length) + "/" + W(a.childOrderList.length) + ")条", 1),
|
|
5953
5953
|
P(k, {
|
|
5954
5954
|
onClick: i[0] || (i[0] = (N) => a.show = !1)
|
|
5955
5955
|
}, {
|
|
@@ -6005,8 +6005,8 @@ function rm(n, i, o, c, a, u) {
|
|
|
6005
6005
|
])
|
|
6006
6006
|
]),
|
|
6007
6007
|
default: M(() => [
|
|
6008
|
-
v("div",
|
|
6009
|
-
v("div",
|
|
6008
|
+
v("div", im, [
|
|
6009
|
+
v("div", nm, [
|
|
6010
6010
|
i[5] || (i[5] = v("div", { class: "w-margin-bottom5 w-color-gray" }, " 主商品信息", -1)),
|
|
6011
6011
|
P(C, {
|
|
6012
6012
|
border: "",
|
|
@@ -6115,7 +6115,7 @@ function rm(n, i, o, c, a, u) {
|
|
|
6115
6115
|
_: 1
|
|
6116
6116
|
}, 8, ["modelValue", "title"]);
|
|
6117
6117
|
}
|
|
6118
|
-
const
|
|
6118
|
+
const sm = /* @__PURE__ */ ne(tm, [["render", om], ["__scopeId", "data-v-918e611f"]]), am = {
|
|
6119
6119
|
name: "WorksheetCopy",
|
|
6120
6120
|
data() {
|
|
6121
6121
|
return {
|
|
@@ -6165,7 +6165,7 @@ const om = /* @__PURE__ */ ne(em, [["render", rm], ["__scopeId", "data-v-918e611
|
|
|
6165
6165
|
}
|
|
6166
6166
|
}
|
|
6167
6167
|
};
|
|
6168
|
-
function
|
|
6168
|
+
function um(n, i, o, c, a, u) {
|
|
6169
6169
|
return Se((w(), D("div", {
|
|
6170
6170
|
class: "worksheetCopy",
|
|
6171
6171
|
style: ct(a.style),
|
|
@@ -6176,7 +6176,7 @@ function am(n, i, o, c, a, u) {
|
|
|
6176
6176
|
[Xe, a.visiable || a.isMouseIn]
|
|
6177
6177
|
]);
|
|
6178
6178
|
}
|
|
6179
|
-
const
|
|
6179
|
+
const dm = /* @__PURE__ */ ne(am, [["render", um], ["__scopeId", "data-v-ea01cce7"]]), dl = {
|
|
6180
6180
|
// API基础URL
|
|
6181
6181
|
apiBaseUrl: ""
|
|
6182
6182
|
// 其他配置项可以在这里添加
|
|
@@ -6195,7 +6195,7 @@ function Zl() {
|
|
|
6195
6195
|
}
|
|
6196
6196
|
let gi = [];
|
|
6197
6197
|
const Dn = {}, vi = {}, Zr = {};
|
|
6198
|
-
function
|
|
6198
|
+
function cm(n, i) {
|
|
6199
6199
|
if (gi.length)
|
|
6200
6200
|
return !0;
|
|
6201
6201
|
gi = n, gi.forEach((o) => {
|
|
@@ -6219,7 +6219,7 @@ function dm(n, i) {
|
|
|
6219
6219
|
});
|
|
6220
6220
|
});
|
|
6221
6221
|
}
|
|
6222
|
-
function
|
|
6222
|
+
function fm(n, i) {
|
|
6223
6223
|
const o = {
|
|
6224
6224
|
name: "",
|
|
6225
6225
|
mobile: "",
|
|
@@ -6229,9 +6229,9 @@ function cm(n, i) {
|
|
|
6229
6229
|
extensionNumber: ""
|
|
6230
6230
|
// 淘宝分机号码
|
|
6231
6231
|
};
|
|
6232
|
-
n =
|
|
6232
|
+
n = wm(n);
|
|
6233
6233
|
var c = n.name;
|
|
6234
|
-
n =
|
|
6234
|
+
n = Ba(n.text), ["详细地址", "收货地址", "联系地址", "收件地址", "邮政编码", "手机号码", "联系电话", "联系方式", "收货人", "收件人", "联系人", "姓名", "名字", "手机号", "邮编", "收货", "地址", "详细", "电话", "固话", ":", ":", ";", ";", ",", ",", "。"].forEach((ee) => {
|
|
6235
6235
|
n = n.replace(new RegExp(ee, "g"), " ");
|
|
6236
6236
|
}), n = n.replace(/ {2,}/g, " "), n = n.replace(/(\d{3})-(\d{4})-(\d{4})/g, "$1$2$3"), n = n.replace(/(\d{3}) (\d{4}) (\d{4})/g, "$1$2$3");
|
|
6237
6237
|
const m = /([1][0-9]{10}((-[0-9]{4})?))|((86-?)?[1][0-9]{10})/g.exec(n);
|
|
@@ -6248,7 +6248,7 @@ function cm(n, i) {
|
|
|
6248
6248
|
}
|
|
6249
6249
|
const N = /([0-9]{6})/g.exec(n);
|
|
6250
6250
|
N && (o.zip_code = N[0], n = n.replace(N[0], "")), n = n.replace(/ {2,}/g, " ").trim();
|
|
6251
|
-
let E =
|
|
6251
|
+
let E = hm(n);
|
|
6252
6252
|
if (console.log("正向解析结果:", JSON.stringify(E)), E.city || (E = ha(n), console.log("逆向解析结果:", JSON.stringify(E)), E.area && !E.city && (E = ha(n, { ignoreArea: !0 }), console.log("ignoreArea解析结果:", JSON.stringify(E)))), E.name)
|
|
6253
6253
|
o.name = E.name;
|
|
6254
6254
|
else {
|
|
@@ -6259,7 +6259,7 @@ function cm(n, i) {
|
|
|
6259
6259
|
}
|
|
6260
6260
|
return o.extensionNumber && (o.name = o.name + "[转" + o.extensionNumber + "]"), o.province = E.province || "", o.city = E.city || "", o.area = E.area || "", o.street = E.street || "", o.addr = E.addr || "", c && (o.name = c, o.addr && (o.addr = o.addr.replace(c, "").trim())), o.province === "澳门" || o.province === "香港" ? o.province += "特别行政区" : o.province === "新疆" ? o.province = "新疆维吾尔自治区" : o.province === "西藏" ? o.province = "西藏自治区" : o.province === "广西" ? o.province = "广西壮族自治区" : o.province === "宁夏" ? o.province = "宁夏回族自治区" : o.province === "内蒙古" && (o.province = "内蒙古自治区"), console.log("最终解析结果:", JSON.stringify(o)), o;
|
|
6261
6261
|
}
|
|
6262
|
-
function
|
|
6262
|
+
function hm(n, i) {
|
|
6263
6263
|
const o = {
|
|
6264
6264
|
province: "",
|
|
6265
6265
|
city: "",
|
|
@@ -6309,7 +6309,7 @@ function fm(n, i) {
|
|
|
6309
6309
|
}
|
|
6310
6310
|
if (!a) {
|
|
6311
6311
|
console.log("未匹配到省份,defaultData前3个:", gi.slice(0, 3).map((b) => b.name));
|
|
6312
|
-
const m =
|
|
6312
|
+
const m = pm(c);
|
|
6313
6313
|
return m && (o.province = m.province, o.city = m.city, o.area = m.area, o.addr = m.addr || c), o;
|
|
6314
6314
|
}
|
|
6315
6315
|
if (a.city && a.city.length > 0) {
|
|
@@ -6370,7 +6370,7 @@ function fm(n, i) {
|
|
|
6370
6370
|
}
|
|
6371
6371
|
return o.addr = c, o;
|
|
6372
6372
|
}
|
|
6373
|
-
function
|
|
6373
|
+
function pm(n) {
|
|
6374
6374
|
if (!vi) return null;
|
|
6375
6375
|
let i = [];
|
|
6376
6376
|
for (const o in vi)
|
|
@@ -6449,31 +6449,31 @@ function ha(n, { ignoreArea: i = !1 } = {}) {
|
|
|
6449
6449
|
}
|
|
6450
6450
|
return o;
|
|
6451
6451
|
}
|
|
6452
|
-
const
|
|
6453
|
-
function
|
|
6452
|
+
const mm = ["上海", "北京", "天津", "重庆"];
|
|
6453
|
+
function Oa(n) {
|
|
6454
6454
|
return String(n || "").replace(/\r\n/g, `
|
|
6455
6455
|
`).replace(/\r/g, `
|
|
6456
6456
|
`).replace(/\t/g, " ");
|
|
6457
6457
|
}
|
|
6458
|
-
var
|
|
6459
|
-
function
|
|
6460
|
-
return String(n || "").replace(
|
|
6458
|
+
var Ma = "(?:详细地址|收货地址|联系地址|收件地址|邮政编码|手机号码|联系电话|联系方式|收货人|收件人|联系人|姓名|名字|手机号|邮编|收货|地址|详细|固话|电话)[::]", gm = new RegExp(Ma, "g"), vm = new RegExp(Ma);
|
|
6459
|
+
function Ba(n) {
|
|
6460
|
+
return String(n || "").replace(gm, " ");
|
|
6461
6461
|
}
|
|
6462
|
-
var
|
|
6463
|
-
function
|
|
6462
|
+
var ym = ["姓名", "名字", "联系人", "收货人", "收件人"], bm = ["电话", "手机号", "手机号码", "联系电话", "联系方式", "固话"];
|
|
6463
|
+
function Cm(n) {
|
|
6464
6464
|
var i = n.match(/^([\u4e00-\u9fa5A-Za-z0-9]+)[::]\s*(.+)$/);
|
|
6465
6465
|
return i ? { label: i[1], value: i[2].trim() } : null;
|
|
6466
6466
|
}
|
|
6467
|
-
function
|
|
6468
|
-
var i =
|
|
6467
|
+
function wm(n) {
|
|
6468
|
+
var i = Oa(n), o = i.split(`
|
|
6469
6469
|
`).filter(function(k) {
|
|
6470
6470
|
return k.replace(/[ \t\f\v]+/g, " ").trim();
|
|
6471
6471
|
});
|
|
6472
6472
|
if (o.length === 1) {
|
|
6473
6473
|
var c = o[0].replace(/[ \t\f\v]+/g, " ").trim();
|
|
6474
|
-
if ((c.match(/[::]/g) || []).length > 1 &&
|
|
6474
|
+
if ((c.match(/[::]/g) || []).length > 1 && vm.test(c))
|
|
6475
6475
|
return {
|
|
6476
|
-
text:
|
|
6476
|
+
text: Ba(c).replace(/ {2,}/g, " ").trim(),
|
|
6477
6477
|
name: "",
|
|
6478
6478
|
phoneHint: ""
|
|
6479
6479
|
};
|
|
@@ -6481,8 +6481,8 @@ function Cm(n) {
|
|
|
6481
6481
|
for (var a = [], u = { name: "", phoneHint: "" }, m = 0; m < o.length; m++) {
|
|
6482
6482
|
var b = o[m].replace(/[ \t\f\v]+/g, " ").trim();
|
|
6483
6483
|
if (b) {
|
|
6484
|
-
var C =
|
|
6485
|
-
C ?
|
|
6484
|
+
var C = Cm(b);
|
|
6485
|
+
C ? ym.indexOf(C.label) > -1 ? u.name = C.value : bm.indexOf(C.label) > -1 ? u.phoneHint = C.value : a.push(C.value) : a.push(b);
|
|
6486
6486
|
}
|
|
6487
6487
|
}
|
|
6488
6488
|
return {
|
|
@@ -6491,7 +6491,7 @@ function Cm(n) {
|
|
|
6491
6491
|
phoneHint: u.phoneHint
|
|
6492
6492
|
};
|
|
6493
6493
|
}
|
|
6494
|
-
function
|
|
6494
|
+
function km(n = {}) {
|
|
6495
6495
|
if (n.areaList)
|
|
6496
6496
|
return n.areaList;
|
|
6497
6497
|
if (typeof window < "u" && window.areaList)
|
|
@@ -6507,10 +6507,10 @@ function pa(n, i) {
|
|
|
6507
6507
|
const o = n.substring(0, 8), c = o.indexOf(i), a = o.lastIndexOf(i);
|
|
6508
6508
|
return c !== -1 && c === a;
|
|
6509
6509
|
}
|
|
6510
|
-
function
|
|
6511
|
-
var i =
|
|
6510
|
+
function xm(n) {
|
|
6511
|
+
var i = Oa(n).replace(/[ \t\f\v]+/g, "");
|
|
6512
6512
|
return i = i.replace(/\n+/g, `
|
|
6513
|
-
`).replace(/^\n+|\n+$/g, ""),
|
|
6513
|
+
`).replace(/^\n+|\n+$/g, ""), mm.forEach(function(o) {
|
|
6514
6514
|
if (i.indexOf(`
|
|
6515
6515
|
`) > -1) {
|
|
6516
6516
|
for (var c = i.split(`
|
|
@@ -6522,12 +6522,12 @@ function km(n) {
|
|
|
6522
6522
|
}), i;
|
|
6523
6523
|
}
|
|
6524
6524
|
function SC(n, i, o = {}) {
|
|
6525
|
-
const c =
|
|
6526
|
-
c &&
|
|
6527
|
-
const a =
|
|
6528
|
-
return
|
|
6525
|
+
const c = km(o);
|
|
6526
|
+
c && cm(c);
|
|
6527
|
+
const a = xm(n);
|
|
6528
|
+
return fm(a);
|
|
6529
6529
|
}
|
|
6530
|
-
const
|
|
6530
|
+
const ma = {
|
|
6531
6531
|
1: [
|
|
6532
6532
|
{ title: "等于", id: "1" },
|
|
6533
6533
|
{ title: "不等于", id: "2" },
|
|
@@ -6960,7 +6960,7 @@ function PC(n, i) {
|
|
|
6960
6960
|
return n.value;
|
|
6961
6961
|
}
|
|
6962
6962
|
function lo(n) {
|
|
6963
|
-
var o;
|
|
6963
|
+
var o, c;
|
|
6964
6964
|
if (n.extraInfo.listShow != 1)
|
|
6965
6965
|
return null;
|
|
6966
6966
|
let i = {
|
|
@@ -6973,7 +6973,8 @@ function lo(n) {
|
|
|
6973
6973
|
moduleDefinition: n.moduleDefinition || [],
|
|
6974
6974
|
insideDataSourceInfo: n.insideDataSourceInfo,
|
|
6975
6975
|
outDataSourceInfo: n.outDataSourceInfo || [],
|
|
6976
|
-
matchType: (o =
|
|
6976
|
+
matchType: (o = ma[n.behaviorType][0]) == null ? void 0 : o.id,
|
|
6977
|
+
searchType: (c = ma[n.behaviorType][0]) == null ? void 0 : c.id,
|
|
6977
6978
|
parentCode: n.parent ? n.parent.columnCode : "",
|
|
6978
6979
|
parentId: n.parent ? n.parent.id : "",
|
|
6979
6980
|
parentBehaviorType: n.parent ? n.parent.behaviorType : ""
|
|
@@ -7023,12 +7024,12 @@ function lo(n) {
|
|
|
7023
7024
|
}
|
|
7024
7025
|
case 13: {
|
|
7025
7026
|
i.value = [], i.moduleDefinition = i.moduleDefinition ? i.moduleDefinition : [];
|
|
7026
|
-
let
|
|
7027
|
-
for (let
|
|
7028
|
-
let
|
|
7029
|
-
|
|
7027
|
+
let a = [];
|
|
7028
|
+
for (let u in i.moduleDefinition) {
|
|
7029
|
+
let m = lo(i.moduleDefinition[u]);
|
|
7030
|
+
m && a.push(m);
|
|
7030
7031
|
}
|
|
7031
|
-
i.moduleDefinition =
|
|
7032
|
+
i.moduleDefinition = a;
|
|
7032
7033
|
break;
|
|
7033
7034
|
}
|
|
7034
7035
|
}
|
|
@@ -7054,7 +7055,7 @@ function LC(n, i, o) {
|
|
|
7054
7055
|
}
|
|
7055
7056
|
}), c;
|
|
7056
7057
|
}
|
|
7057
|
-
function
|
|
7058
|
+
function Fa(n) {
|
|
7058
7059
|
let i = de(n);
|
|
7059
7060
|
return i.forEach((o) => {
|
|
7060
7061
|
if (o.value != null) {
|
|
@@ -7179,7 +7180,7 @@ function Dm(n, i, o, c = "listShow") {
|
|
|
7179
7180
|
m && a.push(m);
|
|
7180
7181
|
}), a;
|
|
7181
7182
|
}
|
|
7182
|
-
function
|
|
7183
|
+
function Aa(n, i, o) {
|
|
7183
7184
|
let c = {
|
|
7184
7185
|
id: n.id,
|
|
7185
7186
|
type: n.type,
|
|
@@ -7271,7 +7272,7 @@ function Fa(n, i, o) {
|
|
|
7271
7272
|
c.value = i ? i[c.columnCode] || [] : [], c.moduleDefinition = c.moduleDefinition ? c.moduleDefinition : [];
|
|
7272
7273
|
let u = [];
|
|
7273
7274
|
for (let m in c.moduleDefinition) {
|
|
7274
|
-
let b =
|
|
7275
|
+
let b = Aa(c.moduleDefinition[m]);
|
|
7275
7276
|
b && u.push(b);
|
|
7276
7277
|
}
|
|
7277
7278
|
if (c.moduleDefinition = u, c.value.length > 0 && c.moduleDefinition.length > 0) {
|
|
@@ -7300,7 +7301,7 @@ function Fa(n, i, o) {
|
|
|
7300
7301
|
function OC(n, i, o, c) {
|
|
7301
7302
|
let a = [], u = c && c.id ? "isEditable" : "isAddable";
|
|
7302
7303
|
return n.forEach((m) => {
|
|
7303
|
-
let b =
|
|
7304
|
+
let b = Aa({ ...m, appId: i, tableId: o }, c, u);
|
|
7304
7305
|
b && a.push(b);
|
|
7305
7306
|
}), a;
|
|
7306
7307
|
}
|
|
@@ -7381,7 +7382,7 @@ function FC(n) {
|
|
|
7381
7382
|
}
|
|
7382
7383
|
const Om = {
|
|
7383
7384
|
name: "chooseAssocTable",
|
|
7384
|
-
components: { chooseChildGood:
|
|
7385
|
+
components: { chooseChildGood: sm, tableCellCopy: dm },
|
|
7385
7386
|
props: {
|
|
7386
7387
|
// 接口请求外部转发
|
|
7387
7388
|
postFunc: Function,
|
|
@@ -7539,7 +7540,7 @@ const Om = {
|
|
|
7539
7540
|
let i = {
|
|
7540
7541
|
...this.searchPost,
|
|
7541
7542
|
// 高级筛选要进行最后组装:tab也有筛选条件,带入一起搜索
|
|
7542
|
-
conditions:
|
|
7543
|
+
conditions: Fa([...this.searchPost.conditions])
|
|
7543
7544
|
};
|
|
7544
7545
|
this.loading = !0, this.postFunc("/biztable/content/query", i).then((o) => {
|
|
7545
7546
|
if (this.loading = !1, o.code)
|
|
@@ -7856,7 +7857,7 @@ const Rm = /* @__PURE__ */ ne(Om, [["render", Hm], ["__scopeId", "data-v-134c4ef
|
|
|
7856
7857
|
function mi(n, i) {
|
|
7857
7858
|
return n.some((o) => o == i);
|
|
7858
7859
|
}
|
|
7859
|
-
function
|
|
7860
|
+
function ga(n, i, o) {
|
|
7860
7861
|
let c = JSON.parse(JSON.stringify($r(n).componentMap)), a = [], u = [], m = [];
|
|
7861
7862
|
i.map((C) => {
|
|
7862
7863
|
if (C.status == 1 && (o && C.columnRules.showScene.includes(2) || !o && C.columnRules.showScene.includes(1))) {
|
|
@@ -8230,27 +8231,27 @@ function eo(n, i, o) {
|
|
|
8230
8231
|
return c = Array.from(/* @__PURE__ */ new Set([...n, ...i])), c;
|
|
8231
8232
|
}
|
|
8232
8233
|
const to = {
|
|
8233
|
-
stringForm: ge(() => import("./index-
|
|
8234
|
-
numberForm: ge(() => import("./index-
|
|
8235
|
-
selectForm: ge(() => import("./index-
|
|
8236
|
-
radioForm: ge(() => import("./index-
|
|
8237
|
-
checkboxForm: ge(() => import("./index-
|
|
8238
|
-
dateForm: ge(() => import("./index-
|
|
8239
|
-
dateDualForm: ge(() => import("./index-
|
|
8240
|
-
fileForm: ge(() => import("./index-
|
|
8241
|
-
childrenForm: ge(() => import("./index-
|
|
8242
|
-
addressForm: ge(() => import("./index-
|
|
8243
|
-
receiveForm: ge(() => import("./index-
|
|
8244
|
-
relationForm: ge(() => import("./index-
|
|
8245
|
-
scoreForm: ge(() => import("./index-
|
|
8234
|
+
stringForm: ge(() => import("./index-pgfSgu10.js")),
|
|
8235
|
+
numberForm: ge(() => import("./index-C5KMdgNj.js")),
|
|
8236
|
+
selectForm: ge(() => import("./index-BsUfH5ic.js")),
|
|
8237
|
+
radioForm: ge(() => import("./index-DwdBD7xO.js")),
|
|
8238
|
+
checkboxForm: ge(() => import("./index-CVit-ykJ.js")),
|
|
8239
|
+
dateForm: ge(() => import("./index-BfHnPHGM.js")),
|
|
8240
|
+
dateDualForm: ge(() => import("./index-M-d6UG_a.js")),
|
|
8241
|
+
fileForm: ge(() => import("./index-DZtMgqfi.js")),
|
|
8242
|
+
childrenForm: ge(() => import("./index-CeZNQNkj.js")),
|
|
8243
|
+
addressForm: ge(() => import("./index-Pute51Sw.js")),
|
|
8244
|
+
receiveForm: ge(() => import("./index-CVwjoILd.js")),
|
|
8245
|
+
relationForm: ge(() => import("./index-t_BK5Ban.js")),
|
|
8246
|
+
scoreForm: ge(() => import("./index-wil5-g18.js"))
|
|
8246
8247
|
}, qm = {
|
|
8247
8248
|
name: "BnSmartForm",
|
|
8248
8249
|
components: {
|
|
8249
|
-
BnSmartElf:
|
|
8250
|
-
choosePackage:
|
|
8251
|
-
chooseChildOrder:
|
|
8250
|
+
BnSmartElf: Ep,
|
|
8251
|
+
choosePackage: Gp,
|
|
8252
|
+
chooseChildOrder: em,
|
|
8252
8253
|
chooseAssocTable: Rm,
|
|
8253
|
-
chooseIPaasData: ge(() => import("./chooseIPaasData-
|
|
8254
|
+
chooseIPaasData: ge(() => import("./chooseIPaasData-CkMU9mft.js"))
|
|
8254
8255
|
},
|
|
8255
8256
|
props: {
|
|
8256
8257
|
// 表单id 涉及编辑表单
|
|
@@ -8317,7 +8318,7 @@ const to = {
|
|
|
8317
8318
|
* 初始化表单数据、初始话表单规则
|
|
8318
8319
|
* */
|
|
8319
8320
|
init() {
|
|
8320
|
-
let { defaultLink: n, columnMapping: i, hasExprExec: o, relationColumns: c } =
|
|
8321
|
+
let { defaultLink: n, columnMapping: i, hasExprExec: o, relationColumns: c } = Cp(this.componentList);
|
|
8321
8322
|
this.defaultLink = de(n), this.columnMapping = de(i), this.relationColumns = de(c), this.hasExprExec = o, this.hasExprExec && !this.id && this.exprExecCalc(null, "新建初始化"), this.getPsychicRules(), this.getAssocTableRules(), this.getCheckedRules();
|
|
8322
8323
|
},
|
|
8323
8324
|
/**
|
|
@@ -8327,7 +8328,7 @@ const to = {
|
|
|
8327
8328
|
this.psychicRules = [], this.hiddenCodes = [], this.psychicConditionCodes = [], this.postFunc("/v2/columnRule/getColumnRule", { ...this.extendPost, type: 2, dataFormatFlag: !0 }).then((n) => {
|
|
8328
8329
|
if (!n.code && n.data.columnRuleList) {
|
|
8329
8330
|
this.psychicRules = n.data.columnRuleList;
|
|
8330
|
-
let { conditionIds: i, hiddenIds: o } =
|
|
8331
|
+
let { conditionIds: i, hiddenIds: o } = ga(this.componentList, this.psychicRules, this.id);
|
|
8331
8332
|
this.hiddenCodes = o, this.psychicConditionCodes = i;
|
|
8332
8333
|
}
|
|
8333
8334
|
});
|
|
@@ -8480,7 +8481,7 @@ const to = {
|
|
|
8480
8481
|
if (Fe(o.value))
|
|
8481
8482
|
this.componentList[i].error = o.name + "至少要有一条内容";
|
|
8482
8483
|
else {
|
|
8483
|
-
let a =
|
|
8484
|
+
let a = La(o, this.id);
|
|
8484
8485
|
a && (this.componentList[i].error = a);
|
|
8485
8486
|
}
|
|
8486
8487
|
break;
|
|
@@ -8648,7 +8649,7 @@ const to = {
|
|
|
8648
8649
|
* 防抖触发组件显隐
|
|
8649
8650
|
*/
|
|
8650
8651
|
getHiddenCodes: Ot(function(n, i) {
|
|
8651
|
-
let o = `【${n.name}】${i}触发组件显隐`, { hiddenIds: c } =
|
|
8652
|
+
let o = `【${n.name}】${i}触发组件显隐`, { hiddenIds: c } = ga(this.componentList, this.psychicRules, this.id);
|
|
8652
8653
|
this.hiddenCodes = c, this.hiddenCodes.length > 0 ? o += ",共隐藏" + this.hiddenCodes.length + "个组件" : o += ",没有要隐藏的组件。", this.insetLog({ content: o });
|
|
8653
8654
|
}, 300),
|
|
8654
8655
|
/**
|
|
@@ -8712,7 +8713,7 @@ const to = {
|
|
|
8712
8713
|
let m = u.data.inside, b = [], C = [];
|
|
8713
8714
|
this.componentList.forEach((k) => {
|
|
8714
8715
|
var x;
|
|
8715
|
-
k.behaviorType == 13 && this.assocTableSearchColumnId.includes(k.id) && (m[k.columnCode] ? (k.extraInfo.dataForceFill || ((x = k.value) == null ? void 0 : x.length) == 0) && (k.value =
|
|
8716
|
+
k.behaviorType == 13 && this.assocTableSearchColumnId.includes(k.id) && (m[k.columnCode] ? (k.extraInfo.dataForceFill || ((x = k.value) == null ? void 0 : x.length) == 0) && (k.value = kp(k, m[k.columnCode]), this.afterEventForm(k, "关联筛选赋值"), b.push(k.name)) : (k.extraInfo.dataForceClear || k.value.length > 0) && (k.value = [], C.push(k.name)));
|
|
8716
8717
|
}), b.length > 0 && (o += `后,修改了 ${b.join(",")} 的值`), C.length > 0 && (o += `,清空了 ${C.join(",")} 的值`);
|
|
8717
8718
|
} else
|
|
8718
8719
|
o += ",未拉取到数据";
|
|
@@ -8763,7 +8764,7 @@ const to = {
|
|
|
8763
8764
|
(((u = a.data) == null ? void 0 : u.length) > 0 ? a.data : []).forEach((C) => {
|
|
8764
8765
|
for (let k in this.componentList)
|
|
8765
8766
|
if (this.componentList[k].columnCode == C.columnCode && !fa(this.componentList[k].value, C.value, this.componentList[k].behaviorType)) {
|
|
8766
|
-
m.push(this.componentList[k].name), this.componentList[k].value = C.value ||
|
|
8767
|
+
m.push(this.componentList[k].name), this.componentList[k].value = C.value || xp(this.componentList[k].value), this.afterEventForm(this.componentList[k], "函数表达式计算");
|
|
8767
8768
|
break;
|
|
8768
8769
|
}
|
|
8769
8770
|
}), m.length > 0 ? o += "后,修改了" + m.join(",") + "的值" : o += ",但没有获取到需要修改的组件。", this.insetLog({ content: o });
|
|
@@ -8792,11 +8793,11 @@ const to = {
|
|
|
8792
8793
|
* */
|
|
8793
8794
|
columnMappingEvent(n, i) {
|
|
8794
8795
|
try {
|
|
8795
|
-
let o = `【${n.name}】${i}触发组件映射`, c = [], a =
|
|
8796
|
+
let o = `【${n.name}】${i}触发组件映射`, c = [], a = bp(n);
|
|
8796
8797
|
this.componentList.forEach((u) => {
|
|
8797
8798
|
if ([3, 4, 6].includes(u.behaviorType) && this.columnMapping.setColumn[n.columnCode][u.columnCode]) {
|
|
8798
8799
|
let b = this.columnMapping.setColumn[n.columnCode][u.columnCode].find((C) => String(C.fromValue.code || C.fromValue.id) == String(a));
|
|
8799
|
-
b && (c.push(u.name), u.value =
|
|
8800
|
+
b && (c.push(u.name), u.value = Pa(u, b.toValue), this.afterEventForm(u, "组件映射"));
|
|
8800
8801
|
}
|
|
8801
8802
|
}), c.length > 0 ? o += "后,修改了" + c.join(",") + "的值" : o += ",没有找到符合映射规则的组件", this.insetLog({ content: o });
|
|
8802
8803
|
} catch (o) {
|
|
@@ -9103,7 +9104,7 @@ const ng = /* @__PURE__ */ ne(qm, [["render", ig], ["__scopeId", "data-v-c658ebe
|
|
|
9103
9104
|
if (Fe(o.value))
|
|
9104
9105
|
this.componentList[i].error = o.name + "至少要有一条内容";
|
|
9105
9106
|
else {
|
|
9106
|
-
let a =
|
|
9107
|
+
let a = La(o, this.id);
|
|
9107
9108
|
a && (this.componentList[i].error = a);
|
|
9108
9109
|
}
|
|
9109
9110
|
break;
|
|
@@ -9150,18 +9151,18 @@ const ng = /* @__PURE__ */ ne(qm, [["render", ig], ["__scopeId", "data-v-c658ebe
|
|
|
9150
9151
|
* */
|
|
9151
9152
|
componentView(n) {
|
|
9152
9153
|
const i = {
|
|
9153
|
-
stringForm: ge(() => import("./index-
|
|
9154
|
-
numberForm: ge(() => import("./index-
|
|
9155
|
-
selectForm: ge(() => import("./index-
|
|
9156
|
-
radioForm: ge(() => import("./index-
|
|
9157
|
-
checkboxForm: ge(() => import("./index-
|
|
9158
|
-
dateForm: ge(() => import("./index-
|
|
9159
|
-
dateDualForm: ge(() => import("./index-
|
|
9160
|
-
fileForm: ge(() => import("./index-
|
|
9161
|
-
childrenForm: ge(() => import("./index-
|
|
9162
|
-
addressForm: ge(() => import("./index-
|
|
9163
|
-
receiveForm: ge(() => import("./index-
|
|
9164
|
-
relationForm: ge(() => import("./index-
|
|
9154
|
+
stringForm: ge(() => import("./index-pgfSgu10.js")),
|
|
9155
|
+
numberForm: ge(() => import("./index-C5KMdgNj.js")),
|
|
9156
|
+
selectForm: ge(() => import("./index-BsUfH5ic.js")),
|
|
9157
|
+
radioForm: ge(() => import("./index-DwdBD7xO.js")),
|
|
9158
|
+
checkboxForm: ge(() => import("./index-CVit-ykJ.js")),
|
|
9159
|
+
dateForm: ge(() => import("./index-BfHnPHGM.js")),
|
|
9160
|
+
dateDualForm: ge(() => import("./index-M-d6UG_a.js")),
|
|
9161
|
+
fileForm: ge(() => import("./index-DZtMgqfi.js")),
|
|
9162
|
+
childrenForm: ge(() => import("./index-CeZNQNkj.js")),
|
|
9163
|
+
addressForm: ge(() => import("./index-Pute51Sw.js")),
|
|
9164
|
+
receiveForm: ge(() => import("./index-CVwjoILd.js")),
|
|
9165
|
+
relationForm: ge(() => import("./index-t_BK5Ban.js"))
|
|
9165
9166
|
// showValForm: defineAsyncComponent(() => import('./showValForm/index.vue')),
|
|
9166
9167
|
};
|
|
9167
9168
|
let o = Yl[n.behaviorType] || null;
|
|
@@ -9227,9 +9228,9 @@ function ug(n, i, o, c, a, u) {
|
|
|
9227
9228
|
], 8, og)
|
|
9228
9229
|
]);
|
|
9229
9230
|
}
|
|
9230
|
-
const
|
|
9231
|
+
const Va = /* @__PURE__ */ ne(lg, [["render", ug], ["__scopeId", "data-v-600466e3"]]), dg = "/biztable/content/updateBatch", cg = {
|
|
9231
9232
|
name: "BnBatchFormDialog",
|
|
9232
|
-
components: { BnBatchForm:
|
|
9233
|
+
components: { BnBatchForm: Va },
|
|
9233
9234
|
props: {
|
|
9234
9235
|
// 表信息 { tableCode, appId, tableId },appId/projectId 从中提取传给 BnBatchForm
|
|
9235
9236
|
tableInfo: {
|
|
@@ -9437,7 +9438,7 @@ function xg(n, i, o, c, a, u) {
|
|
|
9437
9438
|
v("div", vg, [
|
|
9438
9439
|
_e(n.$slots, "tip", {}, () => [
|
|
9439
9440
|
v("div", yg, [
|
|
9440
|
-
i[7] || (i[7] =
|
|
9441
|
+
i[7] || (i[7] = Rd('<div data-v-b1811f13><span class="bn-batch-form-dialog-tip-num" data-v-b1811f13>1.</span><span class="w-color-orange" data-v-b1811f13>批量编辑不支持组件触发拉取,</span><span class="w-color-gray" data-v-b1811f13>例如:订单号、ERP订单号、物流单号、运单号等组件不允许批量修改。</span></div><div data-v-b1811f13><span class="bn-batch-form-dialog-tip-num" data-v-b1811f13>2.</span><span class="w-color-gray" data-v-b1811f13>不可编辑的工单组件不支持批量修改。</span></div><div data-v-b1811f13><span class="bn-batch-form-dialog-tip-num" data-v-b1811f13>3.</span><span class="w-color-gray" data-v-b1811f13>手动添加需要修改的组件,注意:如添加的组件最后保存时值为空,则会清空工单组件数据。</span></div>', 3)),
|
|
9441
9442
|
_e(n.$slots, "tip-extra", {}, void 0, !0)
|
|
9442
9443
|
])
|
|
9443
9444
|
], !0),
|
|
@@ -9527,9 +9528,9 @@ function xg(n, i, o, c, a, u) {
|
|
|
9527
9528
|
])) : z("", !0);
|
|
9528
9529
|
}
|
|
9529
9530
|
const Tg = /* @__PURE__ */ ne(cg, [["render", xg], ["__scopeId", "data-v-b1811f13"]]);
|
|
9530
|
-
var
|
|
9531
|
-
function
|
|
9532
|
-
return
|
|
9531
|
+
var va = { exports: {} }, Jl = { exports: {} }, Ig = Jl.exports, ya;
|
|
9532
|
+
function _a() {
|
|
9533
|
+
return ya || (ya = 1, (function(n, i) {
|
|
9533
9534
|
(function(o, c) {
|
|
9534
9535
|
n.exports = c();
|
|
9535
9536
|
})(Ig, (function() {
|
|
@@ -10190,9 +10191,9 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10190
10191
|
if (t.line < e.first)
|
|
10191
10192
|
return _(e.first, 0);
|
|
10192
10193
|
var r = e.first + e.size - 1;
|
|
10193
|
-
return t.line > r ? _(r, te(e, r).text.length) :
|
|
10194
|
+
return t.line > r ? _(r, te(e, r).text.length) : Ha(t, te(e, t.line).text.length);
|
|
10194
10195
|
}
|
|
10195
|
-
function
|
|
10196
|
+
function Ha(e, t) {
|
|
10196
10197
|
var r = e.ch;
|
|
10197
10198
|
return r == null || r > t ? _(e.line, t) : r < 0 ? _(e.line, 0) : e;
|
|
10198
10199
|
}
|
|
@@ -10271,7 +10272,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10271
10272
|
var l = e.doc, s = e.display;
|
|
10272
10273
|
if (!l.mode.startState)
|
|
10273
10274
|
return new Zt(l, !0, t);
|
|
10274
|
-
var d =
|
|
10275
|
+
var d = Ra(e, t, r), f = d > l.first && te(l, d - 1).stateAfter, h = f ? Zt.fromSaved(l, f, d) : new Zt(l, ln(l.mode), d);
|
|
10275
10276
|
return l.iter(d, t, function(p) {
|
|
10276
10277
|
lr(e, p.text, h);
|
|
10277
10278
|
var g = h.line;
|
|
@@ -10345,7 +10346,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10345
10346
|
s(H, g), p = H;
|
|
10346
10347
|
}
|
|
10347
10348
|
}
|
|
10348
|
-
function
|
|
10349
|
+
function Ra(e, t, r) {
|
|
10349
10350
|
for (var l, s, d = e.doc, f = r ? -1 : t - (e.doc.mode.innerMode ? 1e3 : 100), h = t; h > f; --h) {
|
|
10350
10351
|
if (h <= d.first)
|
|
10351
10352
|
return d.first;
|
|
@@ -10357,7 +10358,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10357
10358
|
}
|
|
10358
10359
|
return s;
|
|
10359
10360
|
}
|
|
10360
|
-
function
|
|
10361
|
+
function Ua(e, t) {
|
|
10361
10362
|
if (e.modeFrontier = Math.min(e.modeFrontier, t), !(e.highlightFrontier < t - 10)) {
|
|
10362
10363
|
for (var r = e.first, l = t - 1; l > r; l--) {
|
|
10363
10364
|
var s = te(e, l).stateAfter;
|
|
@@ -10370,10 +10371,10 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10370
10371
|
}
|
|
10371
10372
|
}
|
|
10372
10373
|
var bo = !1, ui = !1;
|
|
10373
|
-
function
|
|
10374
|
+
function ja() {
|
|
10374
10375
|
bo = !0;
|
|
10375
10376
|
}
|
|
10376
|
-
function
|
|
10377
|
+
function Ka() {
|
|
10377
10378
|
ui = !0;
|
|
10378
10379
|
}
|
|
10379
10380
|
function yl(e, t, r) {
|
|
@@ -10387,16 +10388,16 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10387
10388
|
return l;
|
|
10388
10389
|
}
|
|
10389
10390
|
}
|
|
10390
|
-
function
|
|
10391
|
+
function Wa(e, t) {
|
|
10391
10392
|
for (var r, l = 0; l < e.length; ++l)
|
|
10392
10393
|
e[l] != t && (r || (r = [])).push(e[l]);
|
|
10393
10394
|
return r;
|
|
10394
10395
|
}
|
|
10395
|
-
function
|
|
10396
|
+
function Xa(e, t, r) {
|
|
10396
10397
|
var l = r && window.WeakSet && (r.markedSpans || (r.markedSpans = /* @__PURE__ */ new WeakSet()));
|
|
10397
10398
|
l && e.markedSpans && l.has(e.markedSpans) ? e.markedSpans.push(t) : (e.markedSpans = e.markedSpans ? e.markedSpans.concat([t]) : [t], l && l.add(e.markedSpans)), t.marker.attachLine(e);
|
|
10398
10399
|
}
|
|
10399
|
-
function
|
|
10400
|
+
function Ga(e, t, r) {
|
|
10400
10401
|
var l;
|
|
10401
10402
|
if (e)
|
|
10402
10403
|
for (var s = 0; s < e.length; ++s) {
|
|
@@ -10408,7 +10409,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10408
10409
|
}
|
|
10409
10410
|
return l;
|
|
10410
10411
|
}
|
|
10411
|
-
function
|
|
10412
|
+
function Ya(e, t, r) {
|
|
10412
10413
|
var l;
|
|
10413
10414
|
if (e)
|
|
10414
10415
|
for (var s = 0; s < e.length; ++s) {
|
|
@@ -10430,7 +10431,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10430
10431
|
var r = R(e, t.from.line) && te(e, t.from.line).markedSpans, l = R(e, t.to.line) && te(e, t.to.line).markedSpans;
|
|
10431
10432
|
if (!r && !l)
|
|
10432
10433
|
return null;
|
|
10433
|
-
var s = t.from.ch, d = t.to.ch, f = Q(t.from, t.to) == 0, h =
|
|
10434
|
+
var s = t.from.ch, d = t.to.ch, f = Q(t.from, t.to) == 0, h = Ga(r, s, f), p = Ya(l, d, f), g = t.text.length == 1, T = Ie(t.text).length + (g ? s : 0);
|
|
10434
10435
|
if (h)
|
|
10435
10436
|
for (var S = 0; S < h.length; ++S) {
|
|
10436
10437
|
var A = h[S];
|
|
@@ -10468,7 +10469,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10468
10469
|
}
|
|
10469
10470
|
return e.length ? e : null;
|
|
10470
10471
|
}
|
|
10471
|
-
function
|
|
10472
|
+
function Ja(e, t, r) {
|
|
10472
10473
|
var l = null;
|
|
10473
10474
|
if (e.iter(t.line, r.line + 1, function(F) {
|
|
10474
10475
|
if (F.markedSpans)
|
|
@@ -10532,7 +10533,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10532
10533
|
function wl(e) {
|
|
10533
10534
|
return xo(e, !1);
|
|
10534
10535
|
}
|
|
10535
|
-
function
|
|
10536
|
+
function qa(e, t) {
|
|
10536
10537
|
var r = ui && e.markedSpans, l;
|
|
10537
10538
|
if (r)
|
|
10538
10539
|
for (var s = 0; s < r.length; ++s) {
|
|
@@ -10558,12 +10559,12 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10558
10559
|
e = t.find(-1, !0).line;
|
|
10559
10560
|
return e;
|
|
10560
10561
|
}
|
|
10561
|
-
function
|
|
10562
|
+
function Qa(e) {
|
|
10562
10563
|
for (var t; t = wl(e); )
|
|
10563
10564
|
e = t.find(1, !0).line;
|
|
10564
10565
|
return e;
|
|
10565
10566
|
}
|
|
10566
|
-
function
|
|
10567
|
+
function Za(e) {
|
|
10567
10568
|
for (var t, r; t = wl(e); )
|
|
10568
10569
|
e = t.find(1, !0).line, (r || (r = [])).push(e);
|
|
10569
10570
|
return r;
|
|
@@ -10648,19 +10649,19 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10648
10649
|
on.prototype.lineNo = function() {
|
|
10649
10650
|
return y(this);
|
|
10650
10651
|
}, Et(on);
|
|
10651
|
-
function
|
|
10652
|
+
function $a(e, t, r, l) {
|
|
10652
10653
|
e.text = t, e.stateAfter && (e.stateAfter = null), e.styles && (e.styles = null), e.order != null && (e.order = null), wo(e), ko(e, r);
|
|
10653
10654
|
var s = l ? l(e) : 1;
|
|
10654
10655
|
s != e.height && Pt(e, s);
|
|
10655
10656
|
}
|
|
10656
|
-
function
|
|
10657
|
+
function eu(e) {
|
|
10657
10658
|
e.parent = null, wo(e);
|
|
10658
10659
|
}
|
|
10659
|
-
var
|
|
10660
|
+
var tu = {}, iu = {};
|
|
10660
10661
|
function Do(e, t) {
|
|
10661
10662
|
if (!e || /^\s*$/.test(e))
|
|
10662
10663
|
return null;
|
|
10663
|
-
var r = t.addModeClass ?
|
|
10664
|
+
var r = t.addModeClass ? iu : tu;
|
|
10664
10665
|
return r[e] || (r[e] = e.replace(/\S+/g, "cm-$&"));
|
|
10665
10666
|
}
|
|
10666
10667
|
function Po(e, t) {
|
|
@@ -10676,9 +10677,9 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10676
10677
|
t.measure = {};
|
|
10677
10678
|
for (var s = 0; s <= (t.rest ? t.rest.length : 0); s++) {
|
|
10678
10679
|
var d = s ? t.rest[s - 1] : t.line, f = void 0;
|
|
10679
|
-
l.pos = 0, l.addToken =
|
|
10680
|
+
l.pos = 0, l.addToken = lu, xi(e.display.measure) && (f = xe(d, e.doc.direction)) && (l.addToken = ou(l.addToken, f)), l.map = [];
|
|
10680
10681
|
var h = t != e.display.externalMeasured && y(d);
|
|
10681
|
-
|
|
10682
|
+
su(d, l, ho(e, d, h)), d.styleClasses && (d.styleClasses.bgClass && (l.bgClass = ni(d.styleClasses.bgClass, l.bgClass || "")), d.styleClasses.textClass && (l.textClass = ni(d.styleClasses.textClass, l.textClass || ""))), l.map.length == 0 && l.map.push(0, 0, l.content.appendChild(ml(e.display.measure))), s == 0 ? (t.measure.map = l.map, t.measure.cache = {}) : ((t.measure.maps || (t.measure.maps = [])).push(l.map), (t.measure.caches || (t.measure.caches = [])).push({}));
|
|
10682
10683
|
}
|
|
10683
10684
|
if (x) {
|
|
10684
10685
|
var p = l.content.lastChild;
|
|
@@ -10686,13 +10687,13 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10686
10687
|
}
|
|
10687
10688
|
return Ee(e, "renderLine", e, t.line, l.pre), l.pre.className && (l.textClass = ni(l.pre.className, l.textClass || "")), l;
|
|
10688
10689
|
}
|
|
10689
|
-
function
|
|
10690
|
+
function nu(e) {
|
|
10690
10691
|
var t = L("span", "•", "cm-invalidchar");
|
|
10691
10692
|
return t.title = "\\u" + e.charCodeAt(0).toString(16), t.setAttribute("aria-label", t.title), t;
|
|
10692
10693
|
}
|
|
10693
|
-
function
|
|
10694
|
+
function lu(e, t, r, l, s, d, f) {
|
|
10694
10695
|
if (t) {
|
|
10695
|
-
var h = e.splitSpaces ?
|
|
10696
|
+
var h = e.splitSpaces ? ru(t, e.trailingSpace) : t, p = e.cm.state.specialChars, g = !1, T;
|
|
10696
10697
|
if (!p.test(t))
|
|
10697
10698
|
e.col += t.length, T = document.createTextNode(h), e.map.push(e.pos, e.pos + t.length, T), C && k < 9 && (g = !0), e.pos += t.length;
|
|
10698
10699
|
else {
|
|
@@ -10728,7 +10729,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10728
10729
|
e.content.appendChild(T);
|
|
10729
10730
|
}
|
|
10730
10731
|
}
|
|
10731
|
-
function
|
|
10732
|
+
function ru(e, t) {
|
|
10732
10733
|
if (e.length > 1 && !/ /.test(e))
|
|
10733
10734
|
return e;
|
|
10734
10735
|
for (var r = t, l = "", s = 0; s < e.length; s++) {
|
|
@@ -10737,7 +10738,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10737
10738
|
}
|
|
10738
10739
|
return l;
|
|
10739
10740
|
}
|
|
10740
|
-
function
|
|
10741
|
+
function ou(e, t) {
|
|
10741
10742
|
return function(r, l, s, d, f, h, p) {
|
|
10742
10743
|
s = s ? s + " cm-force-border" : "cm-force-border";
|
|
10743
10744
|
for (var g = r.pos, T = g + l.length; ; ) {
|
|
@@ -10753,7 +10754,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10753
10754
|
var s = !l && r.widgetNode;
|
|
10754
10755
|
s && e.map.push(e.pos, e.pos + t, s), !l && e.cm.display.input.needsContentAttribute && (s || (s = e.content.appendChild(document.createElement("span"))), s.setAttribute("cm-marker", r.id)), s && (e.cm.display.input.setUneditable(s), e.content.appendChild(s)), e.pos += t, e.trailingSpace = !1;
|
|
10755
10756
|
}
|
|
10756
|
-
function
|
|
10757
|
+
function su(e, t, r) {
|
|
10757
10758
|
var l = e.markedSpans, s = e.text, d = 0;
|
|
10758
10759
|
if (!l) {
|
|
10759
10760
|
for (var f = 1; f < r.length; f += 2)
|
|
@@ -10819,7 +10820,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10819
10820
|
}
|
|
10820
10821
|
}
|
|
10821
10822
|
function Oo(e, t, r) {
|
|
10822
|
-
this.line = t, this.rest =
|
|
10823
|
+
this.line = t, this.rest = Za(t), this.size = this.rest ? y(Ie(this.rest)) - r + 1 : 1, this.node = this.text = null, this.hidden = Si(e, t);
|
|
10823
10824
|
}
|
|
10824
10825
|
function xl(e, t, r) {
|
|
10825
10826
|
for (var l = [], s, d = t; d < r; d = s) {
|
|
@@ -10829,13 +10830,13 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10829
10830
|
return l;
|
|
10830
10831
|
}
|
|
10831
10832
|
var sn = null;
|
|
10832
|
-
function
|
|
10833
|
+
function au(e) {
|
|
10833
10834
|
sn ? sn.ops.push(e) : e.ownsGroup = sn = {
|
|
10834
10835
|
ops: [e],
|
|
10835
10836
|
delayedCallbacks: []
|
|
10836
10837
|
};
|
|
10837
10838
|
}
|
|
10838
|
-
function
|
|
10839
|
+
function uu(e) {
|
|
10839
10840
|
var t = e.delayedCallbacks, r = 0;
|
|
10840
10841
|
do {
|
|
10841
10842
|
for (; r < t.length; r++)
|
|
@@ -10848,11 +10849,11 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10848
10849
|
}
|
|
10849
10850
|
} while (r < t.length);
|
|
10850
10851
|
}
|
|
10851
|
-
function
|
|
10852
|
+
function du(e, t) {
|
|
10852
10853
|
var r = e.ownsGroup;
|
|
10853
10854
|
if (r)
|
|
10854
10855
|
try {
|
|
10855
|
-
|
|
10856
|
+
uu(r);
|
|
10856
10857
|
} finally {
|
|
10857
10858
|
sn = null, t(r);
|
|
10858
10859
|
}
|
|
@@ -10862,7 +10863,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10862
10863
|
var r = si(e, t);
|
|
10863
10864
|
if (r.length) {
|
|
10864
10865
|
var l = Array.prototype.slice.call(arguments, 2), s;
|
|
10865
|
-
sn ? s = sn.delayedCallbacks : En ? s = En : (s = En = [], setTimeout(
|
|
10866
|
+
sn ? s = sn.delayedCallbacks : En ? s = En : (s = En = [], setTimeout(cu, 0));
|
|
10866
10867
|
for (var d = function(h) {
|
|
10867
10868
|
s.push(function() {
|
|
10868
10869
|
return r[h].apply(null, l);
|
|
@@ -10871,7 +10872,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10871
10872
|
d(f);
|
|
10872
10873
|
}
|
|
10873
10874
|
}
|
|
10874
|
-
function
|
|
10875
|
+
function cu() {
|
|
10875
10876
|
var e = En;
|
|
10876
10877
|
En = null;
|
|
10877
10878
|
for (var t = 0; t < e.length; ++t)
|
|
@@ -10880,14 +10881,14 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10880
10881
|
function Mo(e, t, r, l) {
|
|
10881
10882
|
for (var s = 0; s < t.changes.length; s++) {
|
|
10882
10883
|
var d = t.changes[s];
|
|
10883
|
-
d == "text" ?
|
|
10884
|
+
d == "text" ? hu(e, t) : d == "gutter" ? Fo(e, t, r, l) : d == "class" ? cr(e, t) : d == "widget" && pu(e, t, l);
|
|
10884
10885
|
}
|
|
10885
10886
|
t.changes = null;
|
|
10886
10887
|
}
|
|
10887
10888
|
function Nn(e) {
|
|
10888
10889
|
return e.node == e.text && (e.node = L("div", null, null, "position: relative"), e.text.parentNode && e.text.parentNode.replaceChild(e.node, e.text), e.node.appendChild(e.text), C && k < 8 && (e.node.style.zIndex = 2)), e.node;
|
|
10889
10890
|
}
|
|
10890
|
-
function
|
|
10891
|
+
function fu(e, t) {
|
|
10891
10892
|
var r = t.bgClass ? t.bgClass + " " + (t.line.bgClass || "") : t.line.bgClass;
|
|
10892
10893
|
if (r && (r += " CodeMirror-linebackground"), t.background)
|
|
10893
10894
|
r ? t.background.className = r : (t.background.parentNode.removeChild(t.background), t.background = null);
|
|
@@ -10900,12 +10901,12 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10900
10901
|
var r = e.display.externalMeasured;
|
|
10901
10902
|
return r && r.line == t.line ? (e.display.externalMeasured = null, t.measure = r.measure, r.built) : Po(e, t);
|
|
10902
10903
|
}
|
|
10903
|
-
function
|
|
10904
|
+
function hu(e, t) {
|
|
10904
10905
|
var r = t.text.className, l = Bo(e, t);
|
|
10905
10906
|
t.text == t.node && (t.node = l.pre), t.text.parentNode.replaceChild(l.pre, t.text), t.text = l.pre, l.bgClass != t.bgClass || l.textClass != t.textClass ? (t.bgClass = l.bgClass, t.textClass = l.textClass, cr(e, t)) : r && (t.text.className = r);
|
|
10906
10907
|
}
|
|
10907
10908
|
function cr(e, t) {
|
|
10908
|
-
|
|
10909
|
+
fu(e, t), t.line.wrapClass ? Nn(t).className = t.line.wrapClass : t.node != t.text && (t.node.className = "");
|
|
10909
10910
|
var r = t.textClass ? t.textClass + " " + (t.line.textClass || "") : t.line.textClass;
|
|
10910
10911
|
t.text.className = r || "";
|
|
10911
10912
|
}
|
|
@@ -10941,13 +10942,13 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10941
10942
|
}
|
|
10942
10943
|
}
|
|
10943
10944
|
}
|
|
10944
|
-
function
|
|
10945
|
+
function pu(e, t, r) {
|
|
10945
10946
|
t.alignable && (t.alignable = null);
|
|
10946
10947
|
for (var l = we("CodeMirror-linewidget"), s = t.node.firstChild, d = void 0; s; s = d)
|
|
10947
10948
|
d = s.nextSibling, l.test(s.className) && t.node.removeChild(s);
|
|
10948
10949
|
Ao(e, t, r);
|
|
10949
10950
|
}
|
|
10950
|
-
function
|
|
10951
|
+
function mu(e, t, r, l) {
|
|
10951
10952
|
var s = Bo(e, t);
|
|
10952
10953
|
return t.text = t.node = s.pre, s.bgClass && (t.bgClass = s.bgClass), s.textClass && (t.textClass = s.textClass), cr(e, t), Fo(e, t, r, l), Ao(e, t, l), t.node;
|
|
10953
10954
|
}
|
|
@@ -10960,10 +10961,10 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
10960
10961
|
if (t.widgets)
|
|
10961
10962
|
for (var d = Nn(r), f = 0, h = t.widgets; f < h.length; ++f) {
|
|
10962
10963
|
var p = h[f], g = L("div", [p.node], "CodeMirror-linewidget" + (p.className ? " " + p.className : ""));
|
|
10963
|
-
p.handleMouseEvents || g.setAttribute("cm-ignore-events", "true"),
|
|
10964
|
+
p.handleMouseEvents || g.setAttribute("cm-ignore-events", "true"), gu(p, g, r, l), e.display.input.setUneditable(g), s && p.above ? d.insertBefore(g, r.gutter || r.text) : d.appendChild(g), Je(p, "redraw");
|
|
10964
10965
|
}
|
|
10965
10966
|
}
|
|
10966
|
-
function
|
|
10967
|
+
function gu(e, t, r, l) {
|
|
10967
10968
|
if (e.noHScroll) {
|
|
10968
10969
|
(r.alignable || (r.alignable = [])).push(t);
|
|
10969
10970
|
var s = l.wrapperWidth;
|
|
@@ -11009,7 +11010,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11009
11010
|
function hr(e) {
|
|
11010
11011
|
return e.display.scroller.clientHeight - $t(e) - e.display.barHeight;
|
|
11011
11012
|
}
|
|
11012
|
-
function
|
|
11013
|
+
function vu(e, t, r) {
|
|
11013
11014
|
var l = e.options.lineWrapping, s = l && Ri(e);
|
|
11014
11015
|
if (!t.measure.heights || l && t.measure.width != s) {
|
|
11015
11016
|
var d = t.measure.heights = [];
|
|
@@ -11035,7 +11036,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11035
11036
|
return { map: e.measure.maps[s], cache: e.measure.caches[s], before: !0 };
|
|
11036
11037
|
}
|
|
11037
11038
|
}
|
|
11038
|
-
function
|
|
11039
|
+
function yu(e, t) {
|
|
11039
11040
|
t = Ut(t);
|
|
11040
11041
|
var r = y(t), l = e.display.externalMeasured = new Oo(e.doc, t, r);
|
|
11041
11042
|
l.lineN = r;
|
|
@@ -11054,7 +11055,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11054
11055
|
}
|
|
11055
11056
|
function an(e, t) {
|
|
11056
11057
|
var r = y(t), l = pr(e, r);
|
|
11057
|
-
l && !l.text ? l = null : l && l.changes && (Mo(e, l, r, br(e)), e.curOp.forceUpdate = !0), l || (l =
|
|
11058
|
+
l && !l.text ? l = null : l && l.changes && (Mo(e, l, r, br(e)), e.curOp.forceUpdate = !0), l || (l = yu(e, t));
|
|
11058
11059
|
var s = Eo(l, t, r);
|
|
11059
11060
|
return {
|
|
11060
11061
|
line: t,
|
|
@@ -11069,7 +11070,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11069
11070
|
function ei(e, t, r, l, s) {
|
|
11070
11071
|
t.before && (r = -1);
|
|
11071
11072
|
var d = r + (l || ""), f;
|
|
11072
|
-
return t.cache.hasOwnProperty(d) ? f = t.cache[d] : (t.rect || (t.rect = t.view.text.getBoundingClientRect()), t.hasHeights || (
|
|
11073
|
+
return t.cache.hasOwnProperty(d) ? f = t.cache[d] : (t.rect || (t.rect = t.view.text.getBoundingClientRect()), t.hasHeights || (vu(e, t.view, t.rect), t.hasHeights = !0), f = Cu(e, t, r, l), f.bogus || (t.cache[d] = f)), {
|
|
11073
11074
|
left: f.left,
|
|
11074
11075
|
right: f.right,
|
|
11075
11076
|
top: s ? f.rtop : f.top,
|
|
@@ -11090,7 +11091,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11090
11091
|
}
|
|
11091
11092
|
return { node: l, start: s, end: d, collapse: f, coverStart: h, coverEnd: p };
|
|
11092
11093
|
}
|
|
11093
|
-
function
|
|
11094
|
+
function bu(e, t) {
|
|
11094
11095
|
var r = zo;
|
|
11095
11096
|
if (t == "left")
|
|
11096
11097
|
for (var l = 0; l < e.length && (r = e[l]).left == r.right; l++)
|
|
@@ -11100,7 +11101,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11100
11101
|
;
|
|
11101
11102
|
return r;
|
|
11102
11103
|
}
|
|
11103
|
-
function
|
|
11104
|
+
function Cu(e, t, r, l) {
|
|
11104
11105
|
var s = Ho(t.map, r, l), d = s.node, f = s.start, h = s.end, p = s.collapse, g;
|
|
11105
11106
|
if (d.nodeType == 3) {
|
|
11106
11107
|
for (var T = 0; T < 4; T++) {
|
|
@@ -11108,11 +11109,11 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11108
11109
|
--f;
|
|
11109
11110
|
for (; s.coverStart + h < s.coverEnd && Ue(t.line.text.charAt(s.coverStart + h)); )
|
|
11110
11111
|
++h;
|
|
11111
|
-
if (C && k < 9 && f == 0 && h == s.coverEnd - s.coverStart ? g = d.parentNode.getBoundingClientRect() : g =
|
|
11112
|
+
if (C && k < 9 && f == 0 && h == s.coverEnd - s.coverStart ? g = d.parentNode.getBoundingClientRect() : g = bu(Ct(d, f, h).getClientRects(), l), g.left || g.right || f == 0)
|
|
11112
11113
|
break;
|
|
11113
11114
|
h = f, f = f - 1, p = "right";
|
|
11114
11115
|
}
|
|
11115
|
-
C && k < 11 && (g =
|
|
11116
|
+
C && k < 11 && (g = wu(e.display.measure, g));
|
|
11116
11117
|
} else {
|
|
11117
11118
|
f > 0 && (p = l = "right");
|
|
11118
11119
|
var S;
|
|
@@ -11132,7 +11133,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11132
11133
|
};
|
|
11133
11134
|
return !g.left && !g.right && ($.bogus = !0), e.options.singleCursorHeightPerLine || ($.rtop = F, $.rbottom = H), $;
|
|
11134
11135
|
}
|
|
11135
|
-
function
|
|
11136
|
+
function wu(e, t) {
|
|
11136
11137
|
if (!window.screen || screen.logicalXDPI == null || screen.logicalXDPI == screen.deviceXDPI || !nr(e))
|
|
11137
11138
|
return t;
|
|
11138
11139
|
var r = screen.logicalXDPI / screen.deviceXDPI, l = screen.logicalYDPI / screen.deviceYDPI;
|
|
@@ -11237,7 +11238,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11237
11238
|
return gr(l.first + l.size - 1, te(l, d).text.length, null, 1, 1);
|
|
11238
11239
|
t < 0 && (t = 0);
|
|
11239
11240
|
for (var f = te(l, s); ; ) {
|
|
11240
|
-
var h =
|
|
11241
|
+
var h = ku(e, f, s, t, r), p = qa(f, h.ch + (h.xRel > 0 || h.outside > 0 ? 1 : 0));
|
|
11241
11242
|
if (!p)
|
|
11242
11243
|
return h;
|
|
11243
11244
|
var g = p.find(1);
|
|
@@ -11263,11 +11264,11 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11263
11264
|
function yr(e, t, r, l) {
|
|
11264
11265
|
return e.bottom <= r ? !1 : e.top > r ? !0 : (l ? e.left : e.right) > t;
|
|
11265
11266
|
}
|
|
11266
|
-
function
|
|
11267
|
+
function ku(e, t, r, l, s) {
|
|
11267
11268
|
s -= di(t);
|
|
11268
11269
|
var d = an(e, t), f = mr(t), h = 0, p = t.text.length, g = !0, T = xe(t, e.doc.direction);
|
|
11269
11270
|
if (T) {
|
|
11270
|
-
var S = (e.options.lineWrapping ?
|
|
11271
|
+
var S = (e.options.lineWrapping ? Tu : xu)(e, t, r, d, T, l, s);
|
|
11271
11272
|
g = S.level != 1, h = g ? S.from : S.to - 1, p = g ? S.to : S.from - 1;
|
|
11272
11273
|
}
|
|
11273
11274
|
var A = null, F = null, H = qt(function(se) {
|
|
@@ -11284,7 +11285,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11284
11285
|
}
|
|
11285
11286
|
return H = bi(t.text, H, 1), gr(r, H, G, J, l - j);
|
|
11286
11287
|
}
|
|
11287
|
-
function
|
|
11288
|
+
function xu(e, t, r, l, s, d, f) {
|
|
11288
11289
|
var h = qt(function(S) {
|
|
11289
11290
|
var A = s[S], F = A.level != 1;
|
|
11290
11291
|
return yr(jt(
|
|
@@ -11307,7 +11308,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11307
11308
|
}
|
|
11308
11309
|
return p;
|
|
11309
11310
|
}
|
|
11310
|
-
function
|
|
11311
|
+
function Tu(e, t, r, l, s, d, f) {
|
|
11311
11312
|
var h = Go(e, t, l, f), p = h.begin, g = h.end;
|
|
11312
11313
|
/\s/.test(t.text.charAt(g - 1)) && g--;
|
|
11313
11314
|
for (var T = null, S = null, A = 0; A < s.length; A++) {
|
|
@@ -11458,7 +11459,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11458
11459
|
}
|
|
11459
11460
|
return { index: s, lineN: r };
|
|
11460
11461
|
}
|
|
11461
|
-
function
|
|
11462
|
+
function Iu(e, t, r) {
|
|
11462
11463
|
var l = e.display, s = l.view;
|
|
11463
11464
|
s.length == 0 || t >= l.viewTo || r <= l.viewFrom ? (l.view = xl(e, t, r), l.viewFrom = t) : (l.viewFrom > t ? l.view = xl(e, t, l.viewFrom).concat(l.view) : l.viewFrom < t && (l.view = l.view.slice(Ki(e, t))), l.viewFrom = t, l.viewTo < r ? l.view = l.view.concat(xl(e, l.viewTo, r)) : l.viewTo > r && (l.view = l.view.slice(0, Ki(e, r)))), l.viewTo = r;
|
|
11464
11465
|
}
|
|
@@ -11485,7 +11486,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11485
11486
|
var T = f(e, p);
|
|
11486
11487
|
T && kr(e, T, s);
|
|
11487
11488
|
} else (g || e.options.showCursorWhenSelecting) && kr(e, p.head, s);
|
|
11488
|
-
g ||
|
|
11489
|
+
g || Su(e, p, d);
|
|
11489
11490
|
}
|
|
11490
11491
|
}
|
|
11491
11492
|
return l;
|
|
@@ -11504,7 +11505,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11504
11505
|
function Pl(e, t) {
|
|
11505
11506
|
return e.top - t.top || e.left - t.left;
|
|
11506
11507
|
}
|
|
11507
|
-
function
|
|
11508
|
+
function Su(e, t, r) {
|
|
11508
11509
|
var l = e.display, s = e.doc, d = document.createDocumentFragment(), f = _o(e.display), h = f.left, p = Math.max(l.sizerWidth, Ri(e) - l.sizer.offsetLeft) - f.right, g = s.direction == "ltr";
|
|
11509
11510
|
function T(q, $, se, le) {
|
|
11510
11511
|
$ < 0 && ($ = 0), $ = Math.round($), le = Math.round(le), d.appendChild(L("div", null, "CodeMirror-selected", "position: absolute; left: " + q + `px;
|
|
@@ -11610,7 +11611,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11610
11611
|
}
|
|
11611
11612
|
return { from: d, to: Math.max(f, d + 1) };
|
|
11612
11613
|
}
|
|
11613
|
-
function
|
|
11614
|
+
function Du(e, t) {
|
|
11614
11615
|
if (!Ne(e, "scrollCursorIntoView")) {
|
|
11615
11616
|
var r = e.display, l = r.sizer.getBoundingClientRect(), s = null, d = r.wrapper.ownerDocument;
|
|
11616
11617
|
if (t.top + l.top < 0 ? s = !0 : t.bottom + l.top > (d.defaultView.innerHeight || d.documentElement.clientHeight) && (s = !1), s != null && !he) {
|
|
@@ -11622,7 +11623,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11622
11623
|
}
|
|
11623
11624
|
}
|
|
11624
11625
|
}
|
|
11625
|
-
function
|
|
11626
|
+
function Pu(e, t, r, l) {
|
|
11626
11627
|
l == null && (l = 0);
|
|
11627
11628
|
var s;
|
|
11628
11629
|
!e.options.lineWrapping && t == r && (r = t.sticky == "before" ? _(t.line, t.ch + 1, "before") : t, t = t.ch ? _(t.line, t.sticky == "before" ? t.ch - 1 : t.ch, "after") : t);
|
|
@@ -11640,7 +11641,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11640
11641
|
}
|
|
11641
11642
|
return s;
|
|
11642
11643
|
}
|
|
11643
|
-
function
|
|
11644
|
+
function Lu(e, t) {
|
|
11644
11645
|
var r = Sr(e, t);
|
|
11645
11646
|
r.scrollTop != null && jn(e, r.scrollTop), r.scrollLeft != null && Wi(e, r.scrollLeft);
|
|
11646
11647
|
}
|
|
@@ -11670,7 +11671,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11670
11671
|
function Un(e, t, r) {
|
|
11671
11672
|
(t != null || r != null) && Ml(e), t != null && (e.curOp.scrollLeft = t), r != null && (e.curOp.scrollTop = r);
|
|
11672
11673
|
}
|
|
11673
|
-
function
|
|
11674
|
+
function Ou(e, t) {
|
|
11674
11675
|
Ml(e), e.curOp.scrollToPos = t;
|
|
11675
11676
|
}
|
|
11676
11677
|
function Ml(e) {
|
|
@@ -11787,7 +11788,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11787
11788
|
r == "horizontal" ? Wi(e, t) : jn(e, t);
|
|
11788
11789
|
}, e), e.display.scrollbars.addClass && Tt(e.display.wrapper, e.display.scrollbars.addClass);
|
|
11789
11790
|
}
|
|
11790
|
-
var
|
|
11791
|
+
var Mu = 0;
|
|
11791
11792
|
function Gi(e) {
|
|
11792
11793
|
e.curOp = {
|
|
11793
11794
|
cm: e,
|
|
@@ -11817,59 +11818,59 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11817
11818
|
scrollToPos: null,
|
|
11818
11819
|
// Used to scroll to a specific position
|
|
11819
11820
|
focus: !1,
|
|
11820
|
-
id: ++
|
|
11821
|
+
id: ++Mu,
|
|
11821
11822
|
// Unique ID
|
|
11822
11823
|
markArrays: null
|
|
11823
11824
|
// Used by addMarkedSpan
|
|
11824
|
-
},
|
|
11825
|
+
}, au(e.curOp);
|
|
11825
11826
|
}
|
|
11826
11827
|
function Yi(e) {
|
|
11827
11828
|
var t = e.curOp;
|
|
11828
|
-
t &&
|
|
11829
|
+
t && du(t, function(r) {
|
|
11829
11830
|
for (var l = 0; l < r.ops.length; l++)
|
|
11830
11831
|
r.ops[l].cm.curOp = null;
|
|
11831
|
-
|
|
11832
|
+
Bu(r);
|
|
11832
11833
|
});
|
|
11833
11834
|
}
|
|
11834
|
-
function
|
|
11835
|
+
function Bu(e) {
|
|
11835
11836
|
for (var t = e.ops, r = 0; r < t.length; r++)
|
|
11836
|
-
|
|
11837
|
+
Fu(t[r]);
|
|
11837
11838
|
for (var l = 0; l < t.length; l++)
|
|
11838
|
-
|
|
11839
|
+
Au(t[l]);
|
|
11839
11840
|
for (var s = 0; s < t.length; s++)
|
|
11840
|
-
|
|
11841
|
+
Vu(t[s]);
|
|
11841
11842
|
for (var d = 0; d < t.length; d++)
|
|
11842
|
-
|
|
11843
|
+
_u(t[d]);
|
|
11843
11844
|
for (var f = 0; f < t.length; f++)
|
|
11844
|
-
|
|
11845
|
+
Eu(t[f]);
|
|
11845
11846
|
}
|
|
11846
|
-
function
|
|
11847
|
+
function Fu(e) {
|
|
11847
11848
|
var t = e.cm, r = t.display;
|
|
11848
|
-
|
|
11849
|
+
zu(t), e.updateMaxLine && dr(t), e.mustUpdate = e.viewChanged || e.forceUpdate || e.scrollTop != null || e.scrollToPos && (e.scrollToPos.from.line < r.viewFrom || e.scrollToPos.to.line >= r.viewTo) || r.maxLineChanged && t.options.lineWrapping, e.update = e.mustUpdate && new Bl(t, e.mustUpdate && { top: e.scrollTop, ensure: e.scrollToPos }, e.forceUpdate);
|
|
11849
11850
|
}
|
|
11850
|
-
function
|
|
11851
|
+
function Au(e) {
|
|
11851
11852
|
e.updatedDisplay = e.mustUpdate && Pr(e.cm, e.update);
|
|
11852
11853
|
}
|
|
11853
|
-
function
|
|
11854
|
+
function Vu(e) {
|
|
11854
11855
|
var t = e.cm, r = t.display;
|
|
11855
11856
|
e.updatedDisplay && Ll(t), e.barMeasure = Kn(t), r.maxLineChanged && !t.options.lineWrapping && (e.adjustWidthTo = No(t, r.maxLine, r.maxLine.text.length).left + 3, t.display.sizerWidth = e.adjustWidthTo, e.barMeasure.scrollWidth = Math.max(r.scroller.clientWidth, r.sizer.offsetLeft + e.adjustWidthTo + $t(t) + t.display.barWidth), e.maxScrollLeft = Math.max(0, r.sizer.offsetLeft + e.adjustWidthTo - Ri(t))), (e.updatedDisplay || e.selectionChanged) && (e.preparedSelection = r.input.prepareSelection());
|
|
11856
11857
|
}
|
|
11857
|
-
function
|
|
11858
|
+
function _u(e) {
|
|
11858
11859
|
var t = e.cm;
|
|
11859
11860
|
e.adjustWidthTo != null && (t.display.sizer.style.minWidth = e.adjustWidthTo + "px", e.maxScrollLeft < t.doc.scrollLeft && Wi(t, Math.min(t.display.scroller.scrollLeft, e.maxScrollLeft), !0), t.display.maxLineChanged = !1);
|
|
11860
11861
|
var r = e.focus && e.focus == it(_t(t));
|
|
11861
11862
|
e.preparedSelection && t.display.input.showSelection(e.preparedSelection, r), (e.updatedDisplay || e.startHeight != t.doc.height) && hn(t, e.barMeasure), e.updatedDisplay && Mr(t, e.barMeasure), e.selectionChanged && xr(t), t.state.focused && e.updateInput && t.display.input.reset(e.typing), r && Zo(e.cm);
|
|
11862
11863
|
}
|
|
11863
|
-
function
|
|
11864
|
+
function Eu(e) {
|
|
11864
11865
|
var t = e.cm, r = t.display, l = t.doc;
|
|
11865
11866
|
if (e.updatedDisplay && rs(t, e.update), r.wheelStartX != null && (e.scrollTop != null || e.scrollLeft != null || e.scrollToPos) && (r.wheelStartX = r.wheelStartY = null), e.scrollTop != null && ts(t, e.scrollTop, e.forceScroll), e.scrollLeft != null && Wi(t, e.scrollLeft, !0, !0), e.scrollToPos) {
|
|
11866
|
-
var s =
|
|
11867
|
+
var s = Pu(
|
|
11867
11868
|
t,
|
|
11868
11869
|
pe(l, e.scrollToPos.from),
|
|
11869
11870
|
pe(l, e.scrollToPos.to),
|
|
11870
11871
|
e.scrollToPos.margin
|
|
11871
11872
|
);
|
|
11872
|
-
|
|
11873
|
+
Du(t, s);
|
|
11873
11874
|
}
|
|
11874
11875
|
var d = e.maybeHiddenMarkers, f = e.maybeUnhiddenMarkers;
|
|
11875
11876
|
if (d)
|
|
@@ -11928,9 +11929,9 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11928
11929
|
};
|
|
11929
11930
|
}
|
|
11930
11931
|
function Xn(e, t) {
|
|
11931
|
-
e.doc.highlightFrontier < e.display.viewTo && e.state.highlight.set(t, ce(
|
|
11932
|
+
e.doc.highlightFrontier < e.display.viewTo && e.state.highlight.set(t, ce(Nu, e));
|
|
11932
11933
|
}
|
|
11933
|
-
function
|
|
11934
|
+
function Nu(e) {
|
|
11934
11935
|
var t = e.doc;
|
|
11935
11936
|
if (!(t.highlightFrontier >= e.display.viewTo)) {
|
|
11936
11937
|
var r = +/* @__PURE__ */ new Date() + e.options.workTime, l = Vn(e, t.highlightFrontier), s = [];
|
|
@@ -11963,11 +11964,11 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11963
11964
|
for (var e = 0; e < this.events.length; e++)
|
|
11964
11965
|
Ee.apply(null, this.events[e]);
|
|
11965
11966
|
};
|
|
11966
|
-
function
|
|
11967
|
+
function zu(e) {
|
|
11967
11968
|
var t = e.display;
|
|
11968
11969
|
!t.scrollbarsClipped && t.scroller.offsetWidth && (t.nativeBarWidth = t.scroller.offsetWidth - t.scroller.clientWidth, t.heightForcer.style.height = $t(e) + "px", t.sizer.style.marginBottom = -t.nativeBarWidth + "px", t.sizer.style.borderRightWidth = $t(e) + "px", t.scrollbarsClipped = !0);
|
|
11969
11970
|
}
|
|
11970
|
-
function
|
|
11971
|
+
function Hu(e) {
|
|
11971
11972
|
if (e.hasFocus())
|
|
11972
11973
|
return null;
|
|
11973
11974
|
var t = it(_t(e));
|
|
@@ -11980,7 +11981,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11980
11981
|
}
|
|
11981
11982
|
return r;
|
|
11982
11983
|
}
|
|
11983
|
-
function
|
|
11984
|
+
function Ru(e) {
|
|
11984
11985
|
if (!(!e || !e.activeElt || e.activeElt == it(Ge(e.activeElt))) && (e.activeElt.focus(), !/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName) && e.anchorNode && Vt(document.body, e.anchorNode) && Vt(document.body, e.focusNode))) {
|
|
11985
11986
|
var t = e.activeElt.ownerDocument, r = t.defaultView.getSelection(), l = t.createRange();
|
|
11986
11987
|
l.setEnd(e.anchorNode, e.anchorOffset), l.collapse(!1), r.removeAllRanges(), r.addRange(l), r.extend(e.focusNode, e.focusOffset);
|
|
@@ -11996,12 +11997,12 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
11996
11997
|
var s = l.first + l.size, d = Math.max(t.visible.from - e.options.viewportMargin, l.first), f = Math.min(s, t.visible.to + e.options.viewportMargin);
|
|
11997
11998
|
r.viewFrom < d && d - r.viewFrom < 20 && (d = Math.max(l.first, r.viewFrom)), r.viewTo > f && r.viewTo - f < 20 && (f = Math.min(s, r.viewTo)), ui && (d = ar(e.doc, d), f = So(e.doc, f));
|
|
11998
11999
|
var h = d != r.viewFrom || f != r.viewTo || r.lastWrapHeight != t.wrapperHeight || r.lastWrapWidth != t.wrapperWidth;
|
|
11999
|
-
|
|
12000
|
+
Iu(e, d, f), r.viewOffset = di(te(e.doc, r.viewFrom)), e.display.mover.style.top = r.viewOffset + "px";
|
|
12000
12001
|
var p = qo(e);
|
|
12001
12002
|
if (!h && p == 0 && !t.force && r.renderedView == r.view && (r.updateLineNumbers == null || r.updateLineNumbers >= r.viewTo))
|
|
12002
12003
|
return !1;
|
|
12003
|
-
var g =
|
|
12004
|
-
return p > 4 && (r.lineDiv.style.display = "none"),
|
|
12004
|
+
var g = Hu(e);
|
|
12005
|
+
return p > 4 && (r.lineDiv.style.display = "none"), Uu(e, r.updateLineNumbers, t.dims), p > 4 && (r.lineDiv.style.display = ""), r.renderedView = r.view, Ru(g), K(r.cursorDiv), K(r.selectionDiv), r.gutters.style.height = r.sizer.style.minHeight = 0, h && (r.lastWrapHeight = t.wrapperHeight, r.lastWrapWidth = t.wrapperWidth, Xn(e, 400)), r.updateLineNumbers = null, !0;
|
|
12005
12006
|
}
|
|
12006
12007
|
function rs(e, t) {
|
|
12007
12008
|
for (var r = t.viewport, l = !0; ; l = !1) {
|
|
@@ -12025,7 +12026,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12025
12026
|
Rn(e), hn(e, l), Mr(e, l), r.finish();
|
|
12026
12027
|
}
|
|
12027
12028
|
}
|
|
12028
|
-
function
|
|
12029
|
+
function Uu(e, t, r) {
|
|
12029
12030
|
var l = e.display, s = e.options.lineNumbers, d = l.lineDiv, f = d.firstChild;
|
|
12030
12031
|
function h(H) {
|
|
12031
12032
|
var j = H.nextSibling;
|
|
@@ -12034,7 +12035,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12034
12035
|
for (var p = l.view, g = l.viewFrom, T = 0; T < p.length; T++) {
|
|
12035
12036
|
var S = p[T];
|
|
12036
12037
|
if (!S.hidden) if (!S.node || S.node.parentNode != d) {
|
|
12037
|
-
var A =
|
|
12038
|
+
var A = mu(e, S, g, r);
|
|
12038
12039
|
d.insertBefore(A, f);
|
|
12039
12040
|
} else {
|
|
12040
12041
|
for (; f != S.node; )
|
|
@@ -12106,7 +12107,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12106
12107
|
function Gn(e) {
|
|
12107
12108
|
as(e.display), mt(e), os(e);
|
|
12108
12109
|
}
|
|
12109
|
-
function
|
|
12110
|
+
function ju(e, t, r, l) {
|
|
12110
12111
|
var s = this;
|
|
12111
12112
|
this.input = r, s.scrollbarFiller = L("div", null, "CodeMirror-scrollbar-filler"), s.scrollbarFiller.setAttribute("cm-not-content", "true"), s.gutterFiller = L("div", null, "CodeMirror-gutter-filler"), s.gutterFiller.setAttribute("cm-not-content", "true"), s.lineDiv = Xt("div", null, "CodeMirror-code"), s.selectionDiv = L("div", null, null, "position: relative; z-index: 1"), s.cursorDiv = L("div", null, "CodeMirror-cursors"), s.measure = L("div", null, "CodeMirror-measure"), s.lineMeasure = L("div", null, "CodeMirror-measure"), s.lineSpace = Xt(
|
|
12112
12113
|
"div",
|
|
@@ -12123,7 +12124,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12123
12124
|
var t = e.wheelDeltaX, r = e.wheelDeltaY;
|
|
12124
12125
|
return t == null && e.detail && e.axis == e.HORIZONTAL_AXIS && (t = e.detail), r == null && e.detail && e.axis == e.VERTICAL_AXIS ? r = e.detail : r == null && (r = e.wheelDelta), { x: t, y: r };
|
|
12125
12126
|
}
|
|
12126
|
-
function
|
|
12127
|
+
function Ku(e) {
|
|
12127
12128
|
var t = us(e);
|
|
12128
12129
|
return t.x *= fi, t.y *= fi, t;
|
|
12129
12130
|
}
|
|
@@ -12247,7 +12248,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12247
12248
|
function fs(e, t, r) {
|
|
12248
12249
|
return e.line == t.line ? _(r.line, e.ch - t.ch + r.ch) : _(r.line + (e.line - t.line), e.ch);
|
|
12249
12250
|
}
|
|
12250
|
-
function
|
|
12251
|
+
function Wu(e, t, r) {
|
|
12251
12252
|
for (var l = [], s = _(e.first, 0), d = s, f = 0; f < t.length; f++) {
|
|
12252
12253
|
var h = t[f], p = fs(h.from, s, d), g = fs(Oi(h), s, d);
|
|
12253
12254
|
if (s = h.to, d = g, r == "around") {
|
|
@@ -12274,7 +12275,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12274
12275
|
return r ? r[Z] : null;
|
|
12275
12276
|
}
|
|
12276
12277
|
function d(Z, q, $) {
|
|
12277
|
-
|
|
12278
|
+
$a(Z, q, $, l), Je(Z, "change", Z, t);
|
|
12278
12279
|
}
|
|
12279
12280
|
function f(Z, q) {
|
|
12280
12281
|
for (var $ = [], se = Z; se < q; ++se)
|
|
@@ -12324,7 +12325,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12324
12325
|
function ms(e) {
|
|
12325
12326
|
(e.doc.direction == "rtl" ? Tt : ft)(e.display.lineDiv, "CodeMirror-rtl");
|
|
12326
12327
|
}
|
|
12327
|
-
function
|
|
12328
|
+
function Xu(e) {
|
|
12328
12329
|
kt(e, function() {
|
|
12329
12330
|
ms(e), mt(e);
|
|
12330
12331
|
});
|
|
@@ -12347,7 +12348,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12347
12348
|
break;
|
|
12348
12349
|
}
|
|
12349
12350
|
}
|
|
12350
|
-
function
|
|
12351
|
+
function Gu(e, t) {
|
|
12351
12352
|
if (t)
|
|
12352
12353
|
return gs(e.done), Ie(e.done);
|
|
12353
12354
|
if (e.done.length && !Ie(e.done).ranges)
|
|
@@ -12359,7 +12360,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12359
12360
|
var s = e.history;
|
|
12360
12361
|
s.undone.length = 0;
|
|
12361
12362
|
var d = +/* @__PURE__ */ new Date(), f, h;
|
|
12362
|
-
if ((s.lastOp == l || s.lastOrigin == t.origin && t.origin && (t.origin.charAt(0) == "+" && s.lastModTime > d - (e.cm ? e.cm.options.historyEventDelay : 500) || t.origin.charAt(0) == "*")) && (f =
|
|
12363
|
+
if ((s.lastOp == l || s.lastOrigin == t.origin && t.origin && (t.origin.charAt(0) == "+" && s.lastModTime > d - (e.cm ? e.cm.options.historyEventDelay : 500) || t.origin.charAt(0) == "*")) && (f = Gu(s, s.lastOp == l)))
|
|
12363
12364
|
h = Ie(f.changes), Q(t.from, t.to) == 0 && Q(t.from, h.to) == 0 ? h.to = Oi(t) : f.changes.push(_r(e, t));
|
|
12364
12365
|
else {
|
|
12365
12366
|
var p = Ie(s.done);
|
|
@@ -12371,13 +12372,13 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12371
12372
|
}
|
|
12372
12373
|
s.done.push(r), s.generation = ++s.maxGeneration, s.lastModTime = s.lastSelTime = d, s.lastOp = s.lastSelOp = l, s.lastOrigin = s.lastSelOrigin = t.origin, h || Ee(e, "historyAdded");
|
|
12373
12374
|
}
|
|
12374
|
-
function
|
|
12375
|
+
function Yu(e, t, r, l) {
|
|
12375
12376
|
var s = t.charAt(0);
|
|
12376
12377
|
return s == "*" || s == "+" && r.ranges.length == l.ranges.length && r.somethingSelected() == l.somethingSelected() && /* @__PURE__ */ new Date() - e.history.lastSelTime <= (e.cm ? e.cm.options.historyEventDelay : 500);
|
|
12377
12378
|
}
|
|
12378
|
-
function
|
|
12379
|
+
function Ju(e, t, r, l) {
|
|
12379
12380
|
var s = e.history, d = l && l.origin;
|
|
12380
|
-
r == s.lastSelOp || d && s.lastSelOrigin == d && (s.lastModTime == s.lastSelTime && s.lastOrigin == d ||
|
|
12381
|
+
r == s.lastSelOp || d && s.lastSelOrigin == d && (s.lastModTime == s.lastSelTime && s.lastOrigin == d || Yu(e, d, Ie(s.done), t)) ? s.done[s.done.length - 1] = t : Vl(t, s.done), s.lastSelTime = +/* @__PURE__ */ new Date(), s.lastSelOrigin = d, s.lastSelOp = r, l && l.clearRedo !== !1 && gs(s.undone);
|
|
12381
12382
|
}
|
|
12382
12383
|
function Vl(e, t) {
|
|
12383
12384
|
var r = Ie(t);
|
|
@@ -12389,23 +12390,23 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12389
12390
|
f.markedSpans && ((s || (s = t["spans_" + e.id] = {}))[d] = f.markedSpans), ++d;
|
|
12390
12391
|
});
|
|
12391
12392
|
}
|
|
12392
|
-
function
|
|
12393
|
+
function qu(e) {
|
|
12393
12394
|
if (!e)
|
|
12394
12395
|
return null;
|
|
12395
12396
|
for (var t, r = 0; r < e.length; ++r)
|
|
12396
12397
|
e[r].marker.explicitlyCleared ? t || (t = e.slice(0, r)) : t && t.push(e[r]);
|
|
12397
12398
|
return t ? t.length ? t : null : e;
|
|
12398
12399
|
}
|
|
12399
|
-
function
|
|
12400
|
+
function Qu(e, t) {
|
|
12400
12401
|
var r = t["spans_" + e.id];
|
|
12401
12402
|
if (!r)
|
|
12402
12403
|
return null;
|
|
12403
12404
|
for (var l = [], s = 0; s < t.text.length; ++s)
|
|
12404
|
-
l.push(
|
|
12405
|
+
l.push(qu(r[s]));
|
|
12405
12406
|
return l;
|
|
12406
12407
|
}
|
|
12407
12408
|
function bs(e, t) {
|
|
12408
|
-
var r =
|
|
12409
|
+
var r = Qu(e, t), l = or(e, t);
|
|
12409
12410
|
if (!r)
|
|
12410
12411
|
return l;
|
|
12411
12412
|
if (!l)
|
|
@@ -12468,7 +12469,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12468
12469
|
function ws(e, t, r, l) {
|
|
12469
12470
|
rt(e, Li(t, r), l);
|
|
12470
12471
|
}
|
|
12471
|
-
function
|
|
12472
|
+
function Zu(e, t, r) {
|
|
12472
12473
|
var l = {
|
|
12473
12474
|
ranges: t.ranges,
|
|
12474
12475
|
update: function(s) {
|
|
@@ -12488,10 +12489,10 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12488
12489
|
s && s.ranges ? (l[l.length - 1] = t, El(e, t, r)) : rt(e, t, r);
|
|
12489
12490
|
}
|
|
12490
12491
|
function rt(e, t, r) {
|
|
12491
|
-
El(e, t, r),
|
|
12492
|
+
El(e, t, r), Ju(e, e.sel, e.cm ? e.cm.curOp.id : NaN, r);
|
|
12492
12493
|
}
|
|
12493
12494
|
function El(e, t, r) {
|
|
12494
|
-
(wt(e, "beforeSelectionChange") || e.cm && wt(e.cm, "beforeSelectionChange")) && (t =
|
|
12495
|
+
(wt(e, "beforeSelectionChange") || e.cm && wt(e.cm, "beforeSelectionChange")) && (t = Zu(e, t, r));
|
|
12495
12496
|
var l = r && r.bias || (Q(t.primary().head, e.sel.primary().head) < 0 ? -1 : 1);
|
|
12496
12497
|
xs(e, Is(e, t, l, !0)), !(r && r.scroll === !1) && e.cm && e.cm.getOption("readOnly") != "nocursor" && fn(e.cm);
|
|
12497
12498
|
}
|
|
@@ -12566,7 +12567,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12566
12567
|
return;
|
|
12567
12568
|
}
|
|
12568
12569
|
if (!((wt(e, "beforeChange") || e.cm && wt(e.cm, "beforeChange")) && (t = Ps(e, t, !0), !t))) {
|
|
12569
|
-
var l = bo && !r &&
|
|
12570
|
+
var l = bo && !r && Ja(e, t.from, t.to);
|
|
12570
12571
|
if (l)
|
|
12571
12572
|
for (var s = l.length - 1; s >= 0; --s)
|
|
12572
12573
|
Ls(e, { from: l[s].from, to: l[s].to, text: s ? [""] : t.text, origin: t.origin });
|
|
@@ -12657,10 +12658,10 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12657
12658
|
to: _(d, te(e, d).text.length),
|
|
12658
12659
|
text: [t.text[0]],
|
|
12659
12660
|
origin: t.origin
|
|
12660
|
-
}), t.removed = ai(e, t.from, t.to), r || (r = Fr(e, t)), e.cm ?
|
|
12661
|
+
}), t.removed = ai(e, t.from, t.to), r || (r = Fr(e, t)), e.cm ? $u(e.cm, t, l) : Vr(e, t, l), El(e, r, St), e.cantEdit && Nl(e, _(e.firstLine(), 0)) && (e.cantEdit = !1);
|
|
12661
12662
|
}
|
|
12662
12663
|
}
|
|
12663
|
-
function
|
|
12664
|
+
function $u(e, t, r) {
|
|
12664
12665
|
var l = e.doc, s = e.display, d = t.from, f = t.to, h = !1, p = d.line;
|
|
12665
12666
|
e.options.lineWrapping || (p = y(Ut(te(l, d.line))), l.iter(p, f.line + 1, function(F) {
|
|
12666
12667
|
if (F == s.maxLine)
|
|
@@ -12668,7 +12669,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12668
12669
|
})), l.sel.contains(t.from, t.to) > -1 && Ft(e), Vr(l, t, r, Jo(e)), e.options.lineWrapping || (l.iter(p, d.line + t.text.length, function(F) {
|
|
12669
12670
|
var H = kl(F);
|
|
12670
12671
|
H > s.maxLineLength && (s.maxLine = F, s.maxLineLength = H, s.maxLineChanged = !0, h = !1);
|
|
12671
|
-
}), h && (e.curOp.updateMaxLine = !0)),
|
|
12672
|
+
}), h && (e.curOp.updateMaxLine = !0)), Ua(l, d.line), Xn(e, 400);
|
|
12672
12673
|
var g = t.text.length - (f.line - d.line) - 1;
|
|
12673
12674
|
t.full ? mt(e) : d.line == f.line && t.text.length == 1 && !hs(e.doc, t) ? Di(e, d.line, "text") : mt(e, d.line, f.line + 1, g);
|
|
12674
12675
|
var T = wt(e, "changes"), S = wt(e, "change");
|
|
@@ -12734,7 +12735,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12734
12735
|
removeInner: function(e, t) {
|
|
12735
12736
|
for (var r = e, l = e + t; r < l; ++r) {
|
|
12736
12737
|
var s = this.lines[r];
|
|
12737
|
-
this.height -= s.height,
|
|
12738
|
+
this.height -= s.height, eu(s), Je(s, "delete");
|
|
12738
12739
|
}
|
|
12739
12740
|
this.lines.splice(e, t);
|
|
12740
12741
|
},
|
|
@@ -12868,7 +12869,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12868
12869
|
function As(e, t, r) {
|
|
12869
12870
|
di(t) < (e.curOp && e.curOp.scrollTop || e.doc.scrollTop) && Dr(e, r);
|
|
12870
12871
|
}
|
|
12871
|
-
function
|
|
12872
|
+
function ed(e, t, r, l) {
|
|
12872
12873
|
var s = new $n(e, r, l), d = e.cm;
|
|
12873
12874
|
return d && s.noHScroll && (d.display.alignWidgets = !0), qn(e, t, "widget", function(f) {
|
|
12874
12875
|
var h = f.widgets || (f.widgets = []);
|
|
@@ -12891,7 +12892,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12891
12892
|
}
|
|
12892
12893
|
for (var l = null, s = null, d = 0; d < this.lines.length; ++d) {
|
|
12893
12894
|
var f = this.lines[d], h = _n(f.markedSpans, this);
|
|
12894
|
-
e && !this.collapsed ? Di(e, y(f), "text") : e && (h.to != null && (s = y(f)), h.from != null && (l = y(f))), f.markedSpans =
|
|
12895
|
+
e && !this.collapsed ? Di(e, y(f), "text") : e && (h.to != null && (s = y(f)), h.from != null && (l = y(f))), f.markedSpans = Wa(f.markedSpans, h), h.from == null && this.collapsed && !Si(this.doc, f) && e && Pt(f, un(e.display));
|
|
12895
12896
|
}
|
|
12896
12897
|
if (e && this.collapsed && !e.options.lineWrapping)
|
|
12897
12898
|
for (var p = 0; p < this.lines.length; ++p) {
|
|
@@ -12936,7 +12937,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12936
12937
|
}, Et(Bi);
|
|
12937
12938
|
function yn(e, t, r, l, s) {
|
|
12938
12939
|
if (l && l.shared)
|
|
12939
|
-
return
|
|
12940
|
+
return td(e, t, r, l, s);
|
|
12940
12941
|
if (e.cm && !e.cm.curOp)
|
|
12941
12942
|
return qe(e.cm, yn)(e, t, r, l, s);
|
|
12942
12943
|
var d = new Bi(e, s), f = Q(t, r);
|
|
@@ -12945,12 +12946,12 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12945
12946
|
if (d.replacedWith && (d.collapsed = !0, d.widgetNode = Xt("span", [d.replacedWith], "CodeMirror-widget"), l.handleMouseEvents || d.widgetNode.setAttribute("cm-ignore-events", "true"), l.insertLeft && (d.widgetNode.insertLeft = !0)), d.collapsed) {
|
|
12946
12947
|
if (Io(e, t.line, t, r, d) || t.line != r.line && Io(e, r.line, t, r, d))
|
|
12947
12948
|
throw new Error("Inserting collapsed marker partially overlapping an existing one");
|
|
12948
|
-
|
|
12949
|
+
Ka();
|
|
12949
12950
|
}
|
|
12950
12951
|
d.addToHistory && vs(e, { from: t, to: r, origin: "markText" }, e.sel, NaN);
|
|
12951
12952
|
var h = t.line, p = e.cm, g;
|
|
12952
12953
|
if (e.iter(h, r.line + 1, function(S) {
|
|
12953
|
-
p && d.collapsed && !p.options.lineWrapping && Ut(S) == p.display.maxLine && (g = !0), d.collapsed && h != t.line && Pt(S, 0),
|
|
12954
|
+
p && d.collapsed && !p.options.lineWrapping && Ut(S) == p.display.maxLine && (g = !0), d.collapsed && h != t.line && Pt(S, 0), Xa(S, new yl(
|
|
12954
12955
|
d,
|
|
12955
12956
|
h == t.line ? t.ch : null,
|
|
12956
12957
|
h == r.line ? r.ch : null
|
|
@@ -12959,7 +12960,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12959
12960
|
Si(e, S) && Pt(S, 0);
|
|
12960
12961
|
}), d.clearOnEnter && oe(d, "beforeCursorEnter", function() {
|
|
12961
12962
|
return d.clear();
|
|
12962
|
-
}), d.readOnly && (
|
|
12963
|
+
}), d.readOnly && (ja(), (e.history.done.length || e.history.undone.length) && e.clearHistory()), d.collapsed && (d.id = ++Vs, d.atomic = !0), p) {
|
|
12963
12964
|
if (g && (p.curOp.updateMaxLine = !0), d.collapsed)
|
|
12964
12965
|
mt(p, t.line, r.line + 1);
|
|
12965
12966
|
else if (d.className || d.startStyle || d.endStyle || d.css || d.attributes || d.title)
|
|
@@ -12984,7 +12985,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
12984
12985
|
}, el.prototype.find = function(e, t) {
|
|
12985
12986
|
return this.primary.find(e, t);
|
|
12986
12987
|
}, Et(el);
|
|
12987
|
-
function
|
|
12988
|
+
function td(e, t, r, l, s) {
|
|
12988
12989
|
l = Ce(l), l.shared = !1;
|
|
12989
12990
|
var d = [yn(e, t, r, l, s)], f = d[0], h = l.widgetNode;
|
|
12990
12991
|
return Mi(e, function(p) {
|
|
@@ -13000,7 +13001,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13000
13001
|
return t.parent;
|
|
13001
13002
|
});
|
|
13002
13003
|
}
|
|
13003
|
-
function
|
|
13004
|
+
function id(e, t) {
|
|
13004
13005
|
for (var r = 0; r < t.length; r++) {
|
|
13005
13006
|
var l = t[r], s = l.find(), d = e.clipPos(s.from), f = e.clipPos(s.to);
|
|
13006
13007
|
if (Q(d, f)) {
|
|
@@ -13009,7 +13010,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13009
13010
|
}
|
|
13010
13011
|
}
|
|
13011
13012
|
}
|
|
13012
|
-
function
|
|
13013
|
+
function nd(e) {
|
|
13013
13014
|
for (var t = function(l) {
|
|
13014
13015
|
var s = e[l], d = [s.primary.doc];
|
|
13015
13016
|
Mi(s.primary.doc, function(p) {
|
|
@@ -13021,12 +13022,12 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13021
13022
|
}
|
|
13022
13023
|
}, r = 0; r < e.length; r++) t(r);
|
|
13023
13024
|
}
|
|
13024
|
-
var
|
|
13025
|
+
var ld = 0, gt = function(e, t, r, l, s) {
|
|
13025
13026
|
if (!(this instanceof gt))
|
|
13026
13027
|
return new gt(e, t, r, l, s);
|
|
13027
13028
|
r == null && (r = 0), Zn.call(this, [new Qn([new on("", null)])]), this.first = r, this.scrollTop = this.scrollLeft = 0, this.cantEdit = !1, this.cleanGeneration = 1, this.modeFrontier = this.highlightFrontier = r;
|
|
13028
13029
|
var d = _(r, 0);
|
|
13029
|
-
this.sel = Li(d), this.history = new Al(null), this.id = ++
|
|
13030
|
+
this.sel = Li(d), this.history = new Al(null), this.id = ++ld, this.modeOption = t, this.lineSep = l, this.direction = s == "rtl" ? "rtl" : "ltr", this.extend = !1, typeof e == "string" && (e = this.splitLines(e)), Vr(this, { from: d, to: d, text: e }), rt(this, Li(d), St);
|
|
13030
13031
|
};
|
|
13031
13032
|
gt.prototype = fl(Zn.prototype, {
|
|
13032
13033
|
constructor: gt,
|
|
@@ -13159,7 +13160,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13159
13160
|
var f = s.ranges[d];
|
|
13160
13161
|
l[d] = { from: f.from(), to: f.to(), text: this.splitLines(e[d]), origin: r };
|
|
13161
13162
|
}
|
|
13162
|
-
for (var h = t && t != "end" &&
|
|
13163
|
+
for (var h = t && t != "end" && Wu(this, l, t), p = l.length - 1; p >= 0; p--)
|
|
13163
13164
|
gn(this, l[p]);
|
|
13164
13165
|
h ? ks(this, h) : this.cm && fn(this.cm);
|
|
13165
13166
|
}),
|
|
@@ -13276,7 +13277,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13276
13277
|
});
|
|
13277
13278
|
}),
|
|
13278
13279
|
addLineWidget: Qe(function(e, t, r) {
|
|
13279
|
-
return
|
|
13280
|
+
return ed(this, e, t, r);
|
|
13280
13281
|
}),
|
|
13281
13282
|
removeLineWidget: function(e) {
|
|
13282
13283
|
e.clear();
|
|
@@ -13360,14 +13361,14 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13360
13361
|
var t = this.first, r = this.first + this.size;
|
|
13361
13362
|
e.from != null && e.from > t && (t = e.from), e.to != null && e.to < r && (r = e.to);
|
|
13362
13363
|
var l = new gt(An(this, t, r), e.mode || this.modeOption, t, this.lineSep, this.direction);
|
|
13363
|
-
return e.sharedHist && (l.history = this.history), (this.linked || (this.linked = [])).push({ doc: l, sharedHist: e.sharedHist }), l.linked = [{ doc: this, isParent: !0, sharedHist: e.sharedHist }],
|
|
13364
|
+
return e.sharedHist && (l.history = this.history), (this.linked || (this.linked = [])).push({ doc: l, sharedHist: e.sharedHist }), l.linked = [{ doc: this, isParent: !0, sharedHist: e.sharedHist }], id(l, _s(this)), l;
|
|
13364
13365
|
},
|
|
13365
13366
|
unlinkDoc: function(e) {
|
|
13366
13367
|
if (e instanceof Ae && (e = e.doc), this.linked)
|
|
13367
13368
|
for (var t = 0; t < this.linked.length; ++t) {
|
|
13368
13369
|
var r = this.linked[t];
|
|
13369
13370
|
if (r.doc == e) {
|
|
13370
|
-
this.linked.splice(t, 1), e.unlinkDoc(this),
|
|
13371
|
+
this.linked.splice(t, 1), e.unlinkDoc(this), nd(_s(this));
|
|
13371
13372
|
break;
|
|
13372
13373
|
}
|
|
13373
13374
|
}
|
|
@@ -13397,11 +13398,11 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13397
13398
|
setDirection: Qe(function(e) {
|
|
13398
13399
|
e != "rtl" && (e = "ltr"), e != this.direction && (this.direction = e, this.iter(function(t) {
|
|
13399
13400
|
return t.order = null;
|
|
13400
|
-
}), this.cm &&
|
|
13401
|
+
}), this.cm && Xu(this.cm));
|
|
13401
13402
|
})
|
|
13402
13403
|
}), gt.prototype.eachLine = gt.prototype.iter;
|
|
13403
13404
|
var Es = 0;
|
|
13404
|
-
function
|
|
13405
|
+
function rd(e) {
|
|
13405
13406
|
var t = this;
|
|
13406
13407
|
if (Ns(t), !(Ne(t, e) || ci(t.display, e))) {
|
|
13407
13408
|
lt(e), C && (Es = +/* @__PURE__ */ new Date());
|
|
@@ -13462,7 +13463,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13462
13463
|
}
|
|
13463
13464
|
}
|
|
13464
13465
|
}
|
|
13465
|
-
function
|
|
13466
|
+
function od(e, t) {
|
|
13466
13467
|
if (C && (!e.state.draggingText || +/* @__PURE__ */ new Date() - Es < 100)) {
|
|
13467
13468
|
ki(t);
|
|
13468
13469
|
return;
|
|
@@ -13472,7 +13473,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13472
13473
|
r.src = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", E && (r.width = r.height = 1, e.display.wrapper.appendChild(r), r._top = r.offsetTop), t.dataTransfer.setDragImage(r, 0, 0), E && r.parentNode.removeChild(r);
|
|
13473
13474
|
}
|
|
13474
13475
|
}
|
|
13475
|
-
function
|
|
13476
|
+
function sd(e, t) {
|
|
13476
13477
|
var r = ji(e, t);
|
|
13477
13478
|
if (r) {
|
|
13478
13479
|
var l = document.createDocumentFragment();
|
|
@@ -13495,20 +13496,20 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13495
13496
|
}
|
|
13496
13497
|
}
|
|
13497
13498
|
var Hs = !1;
|
|
13498
|
-
function sd() {
|
|
13499
|
-
Hs || (ad(), Hs = !0);
|
|
13500
|
-
}
|
|
13501
13499
|
function ad() {
|
|
13500
|
+
Hs || (ud(), Hs = !0);
|
|
13501
|
+
}
|
|
13502
|
+
function ud() {
|
|
13502
13503
|
var e;
|
|
13503
13504
|
oe(window, "resize", function() {
|
|
13504
13505
|
e == null && (e = setTimeout(function() {
|
|
13505
|
-
e = null, zs(
|
|
13506
|
+
e = null, zs(dd);
|
|
13506
13507
|
}, 100));
|
|
13507
13508
|
}), oe(window, "blur", function() {
|
|
13508
13509
|
return zs(cn);
|
|
13509
13510
|
});
|
|
13510
13511
|
}
|
|
13511
|
-
function
|
|
13512
|
+
function dd(e) {
|
|
13512
13513
|
var t = e.display;
|
|
13513
13514
|
t.cachedCharWidth = t.cachedTextHeight = t.cachedPaddingH = null, t.scrollbarsClipped = !1, e.setSize();
|
|
13514
13515
|
}
|
|
@@ -13669,7 +13670,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13669
13670
|
"Ctrl-Down": "goDocEnd",
|
|
13670
13671
|
fallthrough: ["basic", "emacsy"]
|
|
13671
13672
|
}, hi.default = Me ? hi.macDefault : hi.pcDefault;
|
|
13672
|
-
function
|
|
13673
|
+
function cd(e) {
|
|
13673
13674
|
var t = e.split(/-(?!$)/);
|
|
13674
13675
|
e = t[t.length - 1];
|
|
13675
13676
|
for (var r, l, s, d, f = 0; f < t.length - 1; f++) {
|
|
@@ -13687,7 +13688,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13687
13688
|
}
|
|
13688
13689
|
return r && (e = "Alt-" + e), l && (e = "Ctrl-" + e), d && (e = "Cmd-" + e), s && (e = "Shift-" + e), e;
|
|
13689
13690
|
}
|
|
13690
|
-
function
|
|
13691
|
+
function fd(e) {
|
|
13691
13692
|
var t = {};
|
|
13692
13693
|
for (var r in e)
|
|
13693
13694
|
if (e.hasOwnProperty(r)) {
|
|
@@ -13698,7 +13699,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13698
13699
|
delete e[r];
|
|
13699
13700
|
continue;
|
|
13700
13701
|
}
|
|
13701
|
-
for (var s = Ni(r.split(" "),
|
|
13702
|
+
for (var s = Ni(r.split(" "), cd), d = 0; d < s.length; d++) {
|
|
13702
13703
|
var f = void 0, h = void 0;
|
|
13703
13704
|
d == s.length - 1 ? (h = s.join(" "), f = l) : (h = s.slice(0, d + 1).join(" "), f = "...");
|
|
13704
13705
|
var p = t[h];
|
|
@@ -13794,7 +13795,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13794
13795
|
}
|
|
13795
13796
|
return new _(l, s < 0 ? r.text.length : 0, s < 0 ? "before" : "after");
|
|
13796
13797
|
}
|
|
13797
|
-
function
|
|
13798
|
+
function hd(e, t, r, l) {
|
|
13798
13799
|
var s = xe(t, e.doc.direction);
|
|
13799
13800
|
if (!s)
|
|
13800
13801
|
return Hr(t, r, l);
|
|
@@ -13907,7 +13908,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
13907
13908
|
goLineEnd: function(e) {
|
|
13908
13909
|
return e.extendSelectionsBy(
|
|
13909
13910
|
function(t) {
|
|
13910
|
-
return
|
|
13911
|
+
return pd(e, t.head.line);
|
|
13911
13912
|
},
|
|
13912
13913
|
{ origin: "+move", bias: -1 }
|
|
13913
13914
|
);
|
|
@@ -14063,8 +14064,8 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14063
14064
|
var r = te(e.doc, t), l = Ut(r);
|
|
14064
14065
|
return l != r && (t = y(l)), Rr(!0, e, l, t, 1);
|
|
14065
14066
|
}
|
|
14066
|
-
function
|
|
14067
|
-
var r = te(e.doc, t), l =
|
|
14067
|
+
function pd(e, t) {
|
|
14068
|
+
var r = te(e.doc, t), l = Qa(r);
|
|
14068
14069
|
return l != r && (t = y(l)), Rr(!0, e, r, t, -1);
|
|
14069
14070
|
}
|
|
14070
14071
|
function Ws(e, t) {
|
|
@@ -14087,7 +14088,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14087
14088
|
}
|
|
14088
14089
|
return s;
|
|
14089
14090
|
}
|
|
14090
|
-
function
|
|
14091
|
+
function md(e, t, r) {
|
|
14091
14092
|
for (var l = 0; l < e.state.keyMaps.length; l++) {
|
|
14092
14093
|
var s = bn(t, e.state.keyMaps[l], r, e);
|
|
14093
14094
|
if (s)
|
|
@@ -14095,13 +14096,13 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14095
14096
|
}
|
|
14096
14097
|
return e.options.extraKeys && bn(t, e.options.extraKeys, r, e) || bn(t, e.options.keyMap, r, e);
|
|
14097
14098
|
}
|
|
14098
|
-
var
|
|
14099
|
+
var gd = new Gt();
|
|
14099
14100
|
function ll(e, t, r, l) {
|
|
14100
14101
|
var s = e.state.keySeq;
|
|
14101
14102
|
if (s) {
|
|
14102
14103
|
if (Rs(t))
|
|
14103
14104
|
return "handled";
|
|
14104
|
-
if (/\'$/.test(t) ? e.state.keySeq = null :
|
|
14105
|
+
if (/\'$/.test(t) ? e.state.keySeq = null : gd.set(50, function() {
|
|
14105
14106
|
e.state.keySeq == s && (e.state.keySeq = null, e.display.input.reset());
|
|
14106
14107
|
}), Xs(e, s + " " + t, r, l))
|
|
14107
14108
|
return !0;
|
|
@@ -14109,7 +14110,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14109
14110
|
return Xs(e, t, r, l);
|
|
14110
14111
|
}
|
|
14111
14112
|
function Xs(e, t, r, l) {
|
|
14112
|
-
var s =
|
|
14113
|
+
var s = md(e, t, l);
|
|
14113
14114
|
return s == "multi" && (e.state.keySeq = t), s == "handled" && Je(e, "keyHandled", e, t, r), (s == "handled" || s == "multi") && (lt(r), xr(e)), !!s;
|
|
14114
14115
|
}
|
|
14115
14116
|
function Gs(e, t) {
|
|
@@ -14123,7 +14124,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14123
14124
|
return Ul(e, l);
|
|
14124
14125
|
}) : !1;
|
|
14125
14126
|
}
|
|
14126
|
-
function
|
|
14127
|
+
function vd(e, t, r) {
|
|
14127
14128
|
return ll(e, "'" + r + "'", t, function(l) {
|
|
14128
14129
|
return Ul(e, l, !0);
|
|
14129
14130
|
});
|
|
@@ -14136,10 +14137,10 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14136
14137
|
var r = e.keyCode;
|
|
14137
14138
|
t.display.shift = r == 16 || e.shiftKey;
|
|
14138
14139
|
var l = Gs(t, e);
|
|
14139
|
-
E && (Ur = l ? r : null, !l && r == 88 && !gl && (Me ? e.metaKey : e.ctrlKey) && t.replaceSelection("", null, "cut")), a && !Me && !l && r == 46 && e.shiftKey && !e.ctrlKey && document.execCommand && document.execCommand("cut"), r == 18 && !/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className) &&
|
|
14140
|
+
E && (Ur = l ? r : null, !l && r == 88 && !gl && (Me ? e.metaKey : e.ctrlKey) && t.replaceSelection("", null, "cut")), a && !Me && !l && r == 46 && e.shiftKey && !e.ctrlKey && document.execCommand && document.execCommand("cut"), r == 18 && !/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className) && yd(t);
|
|
14140
14141
|
}
|
|
14141
14142
|
}
|
|
14142
|
-
function
|
|
14143
|
+
function yd(e) {
|
|
14143
14144
|
var t = e.display.lineDiv;
|
|
14144
14145
|
Tt(t, "CodeMirror-crosshair");
|
|
14145
14146
|
function r(l) {
|
|
@@ -14160,18 +14161,18 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14160
14161
|
}
|
|
14161
14162
|
if (!(E && (!e.which || e.which < 10) && Gs(t, e))) {
|
|
14162
14163
|
var s = String.fromCharCode(l ?? r);
|
|
14163
|
-
s != "\b" && (
|
|
14164
|
+
s != "\b" && (vd(t, e, s) || t.display.input.onKeyPress(e));
|
|
14164
14165
|
}
|
|
14165
14166
|
}
|
|
14166
14167
|
}
|
|
14167
|
-
var
|
|
14168
|
+
var bd = 400, jr = function(e, t, r) {
|
|
14168
14169
|
this.time = e, this.pos = t, this.button = r;
|
|
14169
14170
|
};
|
|
14170
14171
|
jr.prototype.compare = function(e, t, r) {
|
|
14171
|
-
return this.time +
|
|
14172
|
+
return this.time + bd > e && Q(t, this.pos) == 0 && r == this.button;
|
|
14172
14173
|
};
|
|
14173
14174
|
var rl, ol;
|
|
14174
|
-
function
|
|
14175
|
+
function Cd(e, t) {
|
|
14175
14176
|
var r = +/* @__PURE__ */ new Date();
|
|
14176
14177
|
return ol && ol.compare(r, e, t) ? (rl = ol = null, "triple") : rl && rl.compare(r, e, t) ? (ol = new jr(r, e, t), rl = null, "double") : (rl = new jr(r, e, t), ol = null, "single");
|
|
14177
14178
|
}
|
|
@@ -14185,14 +14186,14 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14185
14186
|
return;
|
|
14186
14187
|
}
|
|
14187
14188
|
if (!Kr(t, e)) {
|
|
14188
|
-
var l = ji(t, e), s = Nt(e), d = l ?
|
|
14189
|
-
me(t).focus(), s == 1 && t.state.selectingText && t.state.selectingText(e), !(l &&
|
|
14189
|
+
var l = ji(t, e), s = Nt(e), d = l ? Cd(l, s) : "single";
|
|
14190
|
+
me(t).focus(), s == 1 && t.state.selectingText && t.state.selectingText(e), !(l && wd(t, s, l, d, e)) && (s == 1 ? l ? xd(t, l, d, e) : Mn(e) == r.scroller && lt(e) : s == 2 ? (l && _l(t.doc, l), setTimeout(function() {
|
|
14190
14191
|
return r.input.focus();
|
|
14191
14192
|
}, 20)) : s == 3 && (ii ? t.display.input.onContextMenu(e) : Tr(t)));
|
|
14192
14193
|
}
|
|
14193
14194
|
}
|
|
14194
14195
|
}
|
|
14195
|
-
function
|
|
14196
|
+
function wd(e, t, r, l, s) {
|
|
14196
14197
|
var d = "Click";
|
|
14197
14198
|
return l == "double" ? d = "Double" + d : l == "triple" && (d = "Triple" + d), d = (t == 1 ? "Left" : t == 2 ? "Middle" : "Right") + d, ll(e, Us(d, s), s, function(f) {
|
|
14198
14199
|
if (typeof f == "string" && (f = nl[f]), !f)
|
|
@@ -14206,7 +14207,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14206
14207
|
return h;
|
|
14207
14208
|
});
|
|
14208
14209
|
}
|
|
14209
|
-
function
|
|
14210
|
+
function kd(e, t, r) {
|
|
14210
14211
|
var l = e.getOption("configureMouse"), s = l ? l(e, t, r) : {};
|
|
14211
14212
|
if (s.unit == null) {
|
|
14212
14213
|
var d = et ? r.shiftKey && r.metaKey : r.altKey;
|
|
@@ -14214,12 +14215,12 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14214
14215
|
}
|
|
14215
14216
|
return (s.extend == null || e.doc.extend) && (s.extend = e.doc.extend || r.shiftKey), s.addNew == null && (s.addNew = Me ? r.metaKey : r.ctrlKey), s.moveOnDrag == null && (s.moveOnDrag = !(Me ? r.altKey : r.ctrlKey)), s;
|
|
14216
14217
|
}
|
|
14217
|
-
function
|
|
14218
|
+
function xd(e, t, r, l) {
|
|
14218
14219
|
C ? setTimeout(ce(Zo, e), 0) : e.curOp.focus = it(_t(e));
|
|
14219
|
-
var s =
|
|
14220
|
-
e.options.dragDrop && ir && !e.isReadOnly() && r == "single" && (f = d.contains(t)) > -1 && (Q((f = d.ranges[f]).from(), t) < 0 || t.xRel > 0) && (Q(f.to(), t) > 0 || t.xRel < 0) ?
|
|
14220
|
+
var s = kd(e, r, l), d = e.doc.sel, f;
|
|
14221
|
+
e.options.dragDrop && ir && !e.isReadOnly() && r == "single" && (f = d.contains(t)) > -1 && (Q((f = d.ranges[f]).from(), t) < 0 || t.xRel > 0) && (Q(f.to(), t) > 0 || t.xRel < 0) ? Td(e, l, t, s) : Id(e, l, t, s);
|
|
14221
14222
|
}
|
|
14222
|
-
function
|
|
14223
|
+
function Td(e, t, r, l) {
|
|
14223
14224
|
var s = e.display, d = !1, f = qe(e, function(g) {
|
|
14224
14225
|
x && (s.scroller.draggable = !1), e.state.draggingText = !1, e.state.delayingBlurEvent && (e.hasFocus() ? e.state.delayingBlurEvent = !1 : Tr(e)), nt(s.wrapper.ownerDocument, "mouseup", f), nt(s.wrapper.ownerDocument, "mousemove", h), nt(s.scroller, "dragstart", p), nt(s.scroller, "drop", f), d || (lt(g), l.addNew || _l(e.doc, r, null, null, l.extend), x && !ee || C && k == 9 ? setTimeout(function() {
|
|
14225
14226
|
s.wrapper.ownerDocument.body.focus({ preventScroll: !0 }), s.input.focus();
|
|
@@ -14243,7 +14244,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14243
14244
|
var l = r(e, t);
|
|
14244
14245
|
return new Pe(l.from, l.to);
|
|
14245
14246
|
}
|
|
14246
|
-
function
|
|
14247
|
+
function Id(e, t, r, l) {
|
|
14247
14248
|
C && Tr(e);
|
|
14248
14249
|
var s = e.display, d = e.doc;
|
|
14249
14250
|
lt(t);
|
|
@@ -14280,7 +14281,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14280
14281
|
var yt = f, tt = Zs(e, q, l.unit), We = yt.anchor, Ke;
|
|
14281
14282
|
Q(tt.anchor, We) > 0 ? (Ke = tt.head, We = rn(yt.from(), tt.anchor)) : (Ke = tt.anchor, We = pt(yt.to(), tt.head));
|
|
14282
14283
|
var He = p.ranges.slice(0);
|
|
14283
|
-
He[h] =
|
|
14284
|
+
He[h] = Sd(e, new Pe(pe(d, We), Ke)), rt(d, Kt(e, He, h), Yt);
|
|
14284
14285
|
}
|
|
14285
14286
|
}
|
|
14286
14287
|
var F = s.wrapper.getBoundingClientRect(), H = 0;
|
|
@@ -14308,7 +14309,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14308
14309
|
}), Z = qe(e, G);
|
|
14309
14310
|
e.state.selectingText = Z, oe(s.wrapper.ownerDocument, "mousemove", J), oe(s.wrapper.ownerDocument, "mouseup", Z);
|
|
14310
14311
|
}
|
|
14311
|
-
function
|
|
14312
|
+
function Sd(e, t) {
|
|
14312
14313
|
var r = t.anchor, l = t.head, s = te(e.doc, r.line);
|
|
14313
14314
|
if (Q(r, l) == 0 && r.sticky == l.sticky)
|
|
14314
14315
|
return t;
|
|
@@ -14360,9 +14361,9 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14360
14361
|
return $s(e, t, "gutterClick", !0);
|
|
14361
14362
|
}
|
|
14362
14363
|
function ea(e, t) {
|
|
14363
|
-
ci(e.display, t) ||
|
|
14364
|
+
ci(e.display, t) || Dd(e, t) || Ne(e, t, "contextmenu") || ii || e.display.input.onContextMenu(t);
|
|
14364
14365
|
}
|
|
14365
|
-
function
|
|
14366
|
+
function Dd(e, t) {
|
|
14366
14367
|
return wt(e, "gutterContextMenu") ? $s(e, t, "gutterContextMenu", !1) : !1;
|
|
14367
14368
|
}
|
|
14368
14369
|
function ta(e) {
|
|
@@ -14371,7 +14372,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14371
14372
|
var wn = { toString: function() {
|
|
14372
14373
|
return "CodeMirror.Init";
|
|
14373
14374
|
} }, ia = {}, jl = {};
|
|
14374
|
-
function
|
|
14375
|
+
function Pd(e) {
|
|
14375
14376
|
var t = e.optionHandlers;
|
|
14376
14377
|
function r(l, s, d, f) {
|
|
14377
14378
|
e.defaults[l] = s, d && (t[l] = f ? function(h, p, g) {
|
|
@@ -14401,7 +14402,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14401
14402
|
}
|
|
14402
14403
|
}), r("specialChars", /[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g, function(l, s, d) {
|
|
14403
14404
|
l.state.specialChars = new RegExp(s.source + (s.test(" ") ? "" : "| "), "g"), d != wn && l.refresh();
|
|
14404
|
-
}), r("specialCharPlaceholder",
|
|
14405
|
+
}), r("specialCharPlaceholder", nu, function(l) {
|
|
14405
14406
|
return l.refresh();
|
|
14406
14407
|
}, !0), r("electricChars", !0), r("inputStyle", be ? "contenteditable" : "textarea", function() {
|
|
14407
14408
|
throw new Error("inputStyle can not (yet) be changed in a running editor");
|
|
@@ -14416,7 +14417,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14416
14417
|
}, !0), r("keyMap", "default", function(l, s, d) {
|
|
14417
14418
|
var f = Rl(s), h = d != wn && Rl(d);
|
|
14418
14419
|
h && h.detach && h.detach(l, f), f.attach && f.attach(l, h || null);
|
|
14419
|
-
}), r("extraKeys", null), r("configureMouse", null), r("lineWrapping", !1,
|
|
14420
|
+
}), r("extraKeys", null), r("configureMouse", null), r("lineWrapping", !1, Od, !0), r("gutters", [], function(l, s) {
|
|
14420
14421
|
l.display.gutterSpecs = Br(s, l.options.lineNumbers), Gn(l);
|
|
14421
14422
|
}, !0), r("fixedGutter", !0, function(l, s) {
|
|
14422
14423
|
l.display.gutters.style.left = s ? Cr(l.display) + "px" : "0", l.refresh();
|
|
@@ -14434,7 +14435,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14434
14435
|
s = s === "" ? null : s, l.display.input.screenReaderLabelChanged(s);
|
|
14435
14436
|
}), r("disableInput", !1, function(l, s) {
|
|
14436
14437
|
s || l.display.input.reset();
|
|
14437
|
-
}, !0), r("dragDrop", !0,
|
|
14438
|
+
}, !0), r("dragDrop", !0, Ld), r("allowDropFileTypes", null), r("cursorBlinkRate", 530), r("cursorScrollMargin", 0), r("cursorHeight", 1, Rn, !0), r("singleCursorHeightPerLine", !0, Rn, !0), r("workTime", 100), r("workDelay", 100), r("flattenSpans", !0, Yn, !0), r("addModeClass", !1, Yn, !0), r("pollInterval", 100), r("undoDepth", 200, function(l, s) {
|
|
14438
14439
|
return l.doc.history.undoDepth = s;
|
|
14439
14440
|
}), r("historyEventDelay", 1250), r("viewportMargin", 10, function(l) {
|
|
14440
14441
|
return l.refresh();
|
|
@@ -14446,14 +14447,14 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14446
14447
|
return l.doc.setDirection(s);
|
|
14447
14448
|
}, !0), r("phrases", null);
|
|
14448
14449
|
}
|
|
14449
|
-
function
|
|
14450
|
+
function Ld(e, t, r) {
|
|
14450
14451
|
var l = r && r != wn;
|
|
14451
14452
|
if (!t != !l) {
|
|
14452
14453
|
var s = e.display.dragFunctions, d = t ? oe : nt;
|
|
14453
14454
|
d(e.display.scroller, "dragstart", s.start), d(e.display.scroller, "dragenter", s.enter), d(e.display.scroller, "dragover", s.over), d(e.display.scroller, "dragleave", s.leave), d(e.display.scroller, "drop", s.drop);
|
|
14454
14455
|
}
|
|
14455
14456
|
}
|
|
14456
|
-
function
|
|
14457
|
+
function Od(e) {
|
|
14457
14458
|
e.options.lineWrapping ? (Tt(e.display.wrapper, "CodeMirror-wrap"), e.display.sizer.style.minWidth = "", e.display.sizerWidth = null) : (ft(e.display.wrapper, "CodeMirror-wrap"), dr(e)), wr(e), mt(e), Hn(e), setTimeout(function() {
|
|
14458
14459
|
return hn(e);
|
|
14459
14460
|
}, 100);
|
|
@@ -14465,7 +14466,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14465
14466
|
this.options = t = t ? Ce(t) : {}, Ce(ia, t, !1);
|
|
14466
14467
|
var l = t.value;
|
|
14467
14468
|
typeof l == "string" ? l = new gt(l, t.mode, null, t.lineSeparator, t.direction) : t.mode && (l.modeOption = t.mode), this.doc = l;
|
|
14468
|
-
var s = new Ae.inputStyles[t.inputStyle](this), d = this.display = new
|
|
14469
|
+
var s = new Ae.inputStyles[t.inputStyle](this), d = this.display = new ju(e, l, s, t);
|
|
14469
14470
|
d.wrapper.CodeMirror = this, ta(this), t.lineWrapping && (this.display.wrapper.className += " CodeMirror-wrap"), ls(this), this.state = {
|
|
14470
14471
|
keyMaps: [],
|
|
14471
14472
|
// stores maps added by addKeyMap
|
|
@@ -14490,7 +14491,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14490
14491
|
specialChars: null
|
|
14491
14492
|
}, t.autofocus && !be && d.input.focus(), C && k < 11 && setTimeout(function() {
|
|
14492
14493
|
return r.display.input.reset(!0);
|
|
14493
|
-
}, 20),
|
|
14494
|
+
}, 20), Md(this), ad(), Gi(this), this.curOp.forceUpdate = !0, ps(this, l), t.autofocus && !be || this.hasFocus() ? setTimeout(function() {
|
|
14494
14495
|
r.hasFocus() && !r.state.focused && Ir(r);
|
|
14495
14496
|
}, 20) : cn(this);
|
|
14496
14497
|
for (var f in jl)
|
|
@@ -14501,7 +14502,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14501
14502
|
Yi(this), x && t.lineWrapping && getComputedStyle(d.lineDiv).textRendering == "optimizelegibility" && (d.lineDiv.style.textRendering = "auto");
|
|
14502
14503
|
}
|
|
14503
14504
|
Ae.defaults = ia, Ae.optionHandlers = jl;
|
|
14504
|
-
function
|
|
14505
|
+
function Md(e) {
|
|
14505
14506
|
var t = e.display;
|
|
14506
14507
|
oe(t.scroller, "mousedown", qe(e, Qs)), C && k < 11 ? oe(t.scroller, "dblclick", qe(e, function(p) {
|
|
14507
14508
|
if (!Ne(e, p)) {
|
|
@@ -14569,12 +14570,12 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14569
14570
|
Ne(e, p) || ki(p);
|
|
14570
14571
|
},
|
|
14571
14572
|
over: function(p) {
|
|
14572
|
-
Ne(e, p) || (
|
|
14573
|
+
Ne(e, p) || (sd(e, p), ki(p));
|
|
14573
14574
|
},
|
|
14574
14575
|
start: function(p) {
|
|
14575
|
-
return
|
|
14576
|
+
return od(e, p);
|
|
14576
14577
|
},
|
|
14577
|
-
drop: qe(e,
|
|
14578
|
+
drop: qe(e, rd),
|
|
14578
14579
|
leave: function(p) {
|
|
14579
14580
|
Ne(e, p) || Ns(e);
|
|
14580
14581
|
}
|
|
@@ -14693,7 +14694,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14693
14694
|
var e = L("textarea", null, null, "position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"), t = L("div", [e], null, "overflow: hidden; position: relative; width: 3px; height: 0px;");
|
|
14694
14695
|
return x ? e.style.width = "1000px" : e.setAttribute("wrap", "off"), ke && (e.style.border = "1px solid black"), t;
|
|
14695
14696
|
}
|
|
14696
|
-
function
|
|
14697
|
+
function Bd(e) {
|
|
14697
14698
|
var t = e.optionHandlers, r = e.helpers = {};
|
|
14698
14699
|
e.prototype = {
|
|
14699
14700
|
constructor: e,
|
|
@@ -14861,7 +14862,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14861
14862
|
var S = Math.max(p.wrapper.clientHeight, this.doc.height), A = Math.max(p.sizer.clientWidth, p.lineSpace.clientWidth);
|
|
14862
14863
|
(f == "above" || l.bottom + s.offsetHeight > S) && l.top > s.offsetHeight ? g = l.top - s.offsetHeight : l.bottom + s.offsetHeight <= S && (g = l.bottom), T + s.offsetWidth > A && (T = A - s.offsetWidth);
|
|
14863
14864
|
}
|
|
14864
|
-
s.style.top = g + "px", s.style.left = s.style.right = "", h == "right" ? (T = p.sizer.clientWidth - s.offsetWidth, s.style.right = "0px") : (h == "left" ? T = 0 : h == "middle" && (T = (p.sizer.clientWidth - s.offsetWidth) / 2), s.style.left = T + "px"), d &&
|
|
14865
|
+
s.style.top = g + "px", s.style.left = s.style.right = "", h == "right" ? (T = p.sizer.clientWidth - s.offsetWidth, s.style.right = "0px") : (h == "left" ? T = 0 : h == "middle" && (T = (p.sizer.clientWidth - s.offsetWidth) / 2), s.style.left = T + "px"), d && Lu(this, { left: T, top: g, right: T + s.offsetWidth, bottom: g + s.offsetHeight });
|
|
14865
14866
|
},
|
|
14866
14867
|
triggerOnKeyDown: ut(Ys),
|
|
14867
14868
|
triggerOnKeyPress: ut(qs),
|
|
@@ -14960,7 +14961,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
14960
14961
|
};
|
|
14961
14962
|
},
|
|
14962
14963
|
scrollIntoView: ut(function(l, s) {
|
|
14963
|
-
l == null ? (l = { from: this.doc.sel.primary().head, to: null }, s == null && (s = this.options.cursorScrollMargin)) : typeof l == "number" ? l = { from: _(l, 0), to: null } : l.from == null && (l = { from: l, to: null }), l.to || (l.to = l.from), l.margin = s || 0, l.from.line != null ?
|
|
14964
|
+
l == null ? (l = { from: this.doc.sel.primary().head, to: null }, s == null && (s = this.options.cursorScrollMargin)) : typeof l == "number" ? l = { from: _(l, 0), to: null } : l.from == null && (l = { from: l, to: null }), l.to || (l.to = l.from), l.margin = s || 0, l.from.line != null ? Ou(this, l) : es(this, l.from, l.to, l.margin);
|
|
14964
14965
|
}),
|
|
14965
14966
|
setSize: ut(function(l, s) {
|
|
14966
14967
|
var d = this, f = function(p) {
|
|
@@ -15034,7 +15035,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15034
15035
|
var se = r > 0 ? $ >= 55296 && $ < 56320 : $ >= 56320 && $ < 57343;
|
|
15035
15036
|
q = new _(t.line, Math.max(0, Math.min(h.text.length, t.ch + r * (se ? 2 : 1))), -r);
|
|
15036
15037
|
}
|
|
15037
|
-
} else s ? q =
|
|
15038
|
+
} else s ? q = hd(e.cm, h, t, r) : q = Hr(h, t, r);
|
|
15038
15039
|
if (q == null)
|
|
15039
15040
|
if (!Z && g())
|
|
15040
15041
|
t = Rr(s, e.cm, h, t.line, p);
|
|
@@ -15214,7 +15215,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15214
15215
|
}, Oe.prototype.pollSelection = function() {
|
|
15215
15216
|
if (!(this.readDOMTimeout != null || this.gracePeriod || !this.selectionChanged())) {
|
|
15216
15217
|
var e = this.getSelection(), t = this.cm;
|
|
15217
|
-
if (fe && V && this.cm.display.gutterSpecs.length &&
|
|
15218
|
+
if (fe && V && this.cm.display.gutterSpecs.length && Fd(e.anchorNode)) {
|
|
15218
15219
|
this.cm.triggerOnKeyDown({ type: "keydown", keyCode: 8, preventDefault: Math.abs }), this.blur(), this.focus();
|
|
15219
15220
|
return;
|
|
15220
15221
|
}
|
|
@@ -15236,7 +15237,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15236
15237
|
var p = Ki(e, s.line), g, T;
|
|
15237
15238
|
if (p == t.view.length - 1 ? (g = t.viewTo - 1, T = t.lineDiv.lastChild) : (g = y(t.view[p + 1].line) - 1, T = t.view[p + 1].node.previousSibling), !h)
|
|
15238
15239
|
return !1;
|
|
15239
|
-
for (var S = e.doc.splitLines(
|
|
15240
|
+
for (var S = e.doc.splitLines(Ad(e, h, T, f, g)), A = ai(e.doc, _(f, 0), _(g, te(e.doc, g).text.length)); S.length > 1 && A.length > 1; )
|
|
15240
15241
|
if (Ie(S) == Ie(A))
|
|
15241
15242
|
S.pop(), A.pop(), g--;
|
|
15242
15243
|
else if (S[0] == A[0])
|
|
@@ -15299,7 +15300,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15299
15300
|
var p = Ho(s.map, t.ch, f);
|
|
15300
15301
|
return p.offset = p.collapse == "right" ? p.end : p.start, p;
|
|
15301
15302
|
}
|
|
15302
|
-
function
|
|
15303
|
+
function Fd(e) {
|
|
15303
15304
|
for (var t = e; t; t = t.parentNode)
|
|
15304
15305
|
if (/CodeMirror-gutter-wrapper/.test(t.className))
|
|
15305
15306
|
return !0;
|
|
@@ -15308,7 +15309,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15308
15309
|
function kn(e, t) {
|
|
15309
15310
|
return t && (e.bad = !0), e;
|
|
15310
15311
|
}
|
|
15311
|
-
function
|
|
15312
|
+
function Ad(e, t, r, l, s) {
|
|
15312
15313
|
var d = "", f = !1, h = e.doc.lineSeparator(), p = !1;
|
|
15313
15314
|
function g(F) {
|
|
15314
15315
|
return function(H) {
|
|
@@ -15365,10 +15366,10 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15365
15366
|
for (var s = 0; s < e.display.view.length; s++) {
|
|
15366
15367
|
var d = e.display.view[s];
|
|
15367
15368
|
if (d.node == l)
|
|
15368
|
-
return
|
|
15369
|
+
return Vd(d, t, r);
|
|
15369
15370
|
}
|
|
15370
15371
|
}
|
|
15371
|
-
function
|
|
15372
|
+
function Vd(e, t, r) {
|
|
15372
15373
|
var l = e.text.firstChild, s = !1;
|
|
15373
15374
|
if (!t || !Vt(l, t))
|
|
15374
15375
|
return kn(_(y(e.line), 0), !0);
|
|
@@ -15586,7 +15587,7 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15586
15587
|
e || this.reset(), this.textarea.disabled = e == "nocursor", this.textarea.readOnly = !!e;
|
|
15587
15588
|
}, Re.prototype.setUneditable = function() {
|
|
15588
15589
|
}, Re.prototype.needsContentAttribute = !1;
|
|
15589
|
-
function
|
|
15590
|
+
function _d(e, t) {
|
|
15590
15591
|
if (t = t ? Ce(t) : {}, t.value = e.value, !t.tabindex && e.tabIndex && (t.tabindex = e.tabIndex), !t.placeholder && e.placeholder && (t.placeholder = e.placeholder), t.autofocus == null) {
|
|
15591
15592
|
var r = it(Ge(e));
|
|
15592
15593
|
t.autofocus = r == e || e.getAttribute("autofocus") != null && r == document.body;
|
|
@@ -15620,13 +15621,13 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15620
15621
|
);
|
|
15621
15622
|
return h;
|
|
15622
15623
|
}
|
|
15623
|
-
function
|
|
15624
|
-
e.off = nt, e.on = oe, e.wheelEventPixels =
|
|
15624
|
+
function Ed(e) {
|
|
15625
|
+
e.off = nt, e.on = oe, e.wheelEventPixels = Ku, e.Doc = gt, e.splitLines = At, e.countColumn = Le, e.findColumn = Jt, e.isWordChar = On, e.Pass = yi, e.signal = Ee, e.Line = on, e.changeEnd = Oi, e.scrollbarModel = ns, e.Pos = _, e.cmpPos = Q, e.modes = $i, e.mimeModes = Ht, e.resolveMode = en, e.getMode = tn, e.modeExtensions = Ii, e.extendMode = nn, e.copyState = Qt, e.startState = ln, e.innerMode = Fn, e.commands = nl, e.keyMap = hi, e.keyName = js, e.isModifierKey = Rs, e.lookupKey = bn, e.normalizeKeyMap = fd, e.StringStream = ze, e.SharedTextMarker = el, e.TextMarker = Bi, e.LineWidget = $n, e.e_preventDefault = lt, e.e_stopPropagation = Qi, e.e_stop = ki, e.addClass = Tt, e.contains = Vt, e.rmClass = ft, e.keyNames = Fi;
|
|
15625
15626
|
}
|
|
15626
|
-
|
|
15627
|
-
var
|
|
15627
|
+
Pd(Ae), Bd(Ae);
|
|
15628
|
+
var Nd = "iter insert remove copy getEditor constructor".split(" ");
|
|
15628
15629
|
for (var Xl in gt.prototype)
|
|
15629
|
-
gt.prototype.hasOwnProperty(Xl) && ve(
|
|
15630
|
+
gt.prototype.hasOwnProperty(Xl) && ve(Nd, Xl) < 0 && (Ae.prototype[Xl] = /* @__PURE__ */ (function(e) {
|
|
15630
15631
|
return function() {
|
|
15631
15632
|
return e.apply(this.doc, arguments);
|
|
15632
15633
|
};
|
|
@@ -15641,15 +15642,15 @@ b`.split(/\n/).length != 3 ? function(e) {
|
|
|
15641
15642
|
Ae.prototype[e] = t;
|
|
15642
15643
|
}, Ae.defineDocExtension = function(e, t) {
|
|
15643
15644
|
gt.prototype[e] = t;
|
|
15644
|
-
}, Ae.fromTextArea =
|
|
15645
|
+
}, Ae.fromTextArea = _d, Ed(Ae), Ae.version = "5.65.21", Ae;
|
|
15645
15646
|
}));
|
|
15646
15647
|
})(Jl)), Jl.exports;
|
|
15647
15648
|
}
|
|
15648
|
-
var
|
|
15649
|
+
var ba;
|
|
15649
15650
|
function Sg() {
|
|
15650
|
-
return
|
|
15651
|
+
return ba || (ba = 1, (function(n, i) {
|
|
15651
15652
|
(function(o) {
|
|
15652
|
-
o(
|
|
15653
|
+
o(_a());
|
|
15653
15654
|
})(function(o) {
|
|
15654
15655
|
o.defineMode("javascript", function(c, a) {
|
|
15655
15656
|
var u = c.indentUnit, m = a.statementIndent, b = a.jsonld, C = a.json || b, k = a.trackScope !== !1, x = a.typescript, B = a.wordCharacters || /[\w$\xa1-\uffff]/, V = (function() {
|
|
@@ -16346,14 +16347,14 @@ function Sg() {
|
|
|
16346
16347
|
};
|
|
16347
16348
|
}), o.registerHelper("wordChars", "javascript", /[\w$]/), o.defineMIME("text/javascript", "javascript"), o.defineMIME("text/ecmascript", "javascript"), o.defineMIME("application/javascript", "javascript"), o.defineMIME("application/x-javascript", "javascript"), o.defineMIME("application/ecmascript", "javascript"), o.defineMIME("application/json", { name: "javascript", json: !0 }), o.defineMIME("application/x-json", { name: "javascript", json: !0 }), o.defineMIME("application/manifest+json", { name: "javascript", json: !0 }), o.defineMIME("application/ld+json", { name: "javascript", jsonld: !0 }), o.defineMIME("text/typescript", { name: "javascript", typescript: !0 }), o.defineMIME("application/typescript", { name: "javascript", typescript: !0 });
|
|
16348
16349
|
});
|
|
16349
|
-
})()),
|
|
16350
|
+
})()), va.exports;
|
|
16350
16351
|
}
|
|
16351
16352
|
Sg();
|
|
16352
|
-
var
|
|
16353
|
+
var Ca = { exports: {} }, wa;
|
|
16353
16354
|
function Dg() {
|
|
16354
|
-
return
|
|
16355
|
+
return wa || (wa = 1, (function(n, i) {
|
|
16355
16356
|
(function(o) {
|
|
16356
|
-
o(
|
|
16357
|
+
o(_a());
|
|
16357
16358
|
})(function(o) {
|
|
16358
16359
|
o.defineOption("placeholder", "", function(k, x, B) {
|
|
16359
16360
|
var V = B && B != o.Init;
|
|
@@ -16399,7 +16400,7 @@ function Dg() {
|
|
|
16399
16400
|
return k.lineCount() === 1 && k.getLine(0) === "";
|
|
16400
16401
|
}
|
|
16401
16402
|
});
|
|
16402
|
-
})()),
|
|
16403
|
+
})()), Ca.exports;
|
|
16403
16404
|
}
|
|
16404
16405
|
Dg();
|
|
16405
16406
|
const Pg = {
|
|
@@ -16860,7 +16861,7 @@ const Qg = /* @__PURE__ */ ne(Pg, [["render", qg], ["__scopeId", "data-v-8214601
|
|
|
16860
16861
|
// title: '收寄信息',
|
|
16861
16862
|
// id: 15
|
|
16862
16863
|
// },
|
|
16863
|
-
],
|
|
16864
|
+
], ka = {
|
|
16864
16865
|
behaviorType: "",
|
|
16865
16866
|
name: "",
|
|
16866
16867
|
extraInfo: {
|
|
@@ -16919,13 +16920,13 @@ const Qg = /* @__PURE__ */ ne(Pg, [["render", qg], ["__scopeId", "data-v-8214601
|
|
|
16919
16920
|
isChildren: Boolean
|
|
16920
16921
|
},
|
|
16921
16922
|
components: {
|
|
16922
|
-
paraExplainSet: ge(() => import("./index-
|
|
16923
|
-
defaultSet: ge(() => import("./defaultSet-
|
|
16924
|
-
funcExprDialog: ge(() => import("./funcExprDialog-
|
|
16925
|
-
setOption: ge(() => import("./setOption-
|
|
16926
|
-
setRelationOption: ge(() => import("./setRelationOption-
|
|
16927
|
-
childrenFormSetting: ge(() => import("./index-
|
|
16928
|
-
packageFilter: ge(() => import("./index-
|
|
16923
|
+
paraExplainSet: ge(() => import("./index-C5Jgh8ra.js")),
|
|
16924
|
+
defaultSet: ge(() => import("./defaultSet-BDGd7bIi.js")),
|
|
16925
|
+
funcExprDialog: ge(() => import("./funcExprDialog-DEA3EwOR.js")),
|
|
16926
|
+
setOption: ge(() => import("./setOption-DKT38no6.js")),
|
|
16927
|
+
setRelationOption: ge(() => import("./setRelationOption-BpU1Ai4h.js")),
|
|
16928
|
+
childrenFormSetting: ge(() => import("./index-DPRIfS4m.js")),
|
|
16929
|
+
packageFilter: ge(() => import("./index-CrCMs3lx.js"))
|
|
16929
16930
|
},
|
|
16930
16931
|
data() {
|
|
16931
16932
|
return {
|
|
@@ -17454,13 +17455,13 @@ const Av = /* @__PURE__ */ ne(ev, [["render", Fv], ["__scopeId", "data-v-b0caf18
|
|
|
17454
17455
|
return {
|
|
17455
17456
|
visible: !1,
|
|
17456
17457
|
loading: !1,
|
|
17457
|
-
componentData: de(
|
|
17458
|
+
componentData: de(ka)
|
|
17458
17459
|
};
|
|
17459
17460
|
},
|
|
17460
17461
|
methods: {
|
|
17461
17462
|
open(n) {
|
|
17462
17463
|
var c;
|
|
17463
|
-
const i = n ? de(n) : de(
|
|
17464
|
+
const i = n ? de(n) : de(ka), o = (c = i.extraInfo) == null ? void 0 : c.valueEmptyCheck;
|
|
17464
17465
|
(o === 1 || o === 0) && (i.extraInfo.valueEmptyCheck = String(o)), this.componentData = i, this.visible = !0;
|
|
17465
17466
|
},
|
|
17466
17467
|
saveColumn() {
|
|
@@ -17545,9 +17546,9 @@ function Ev(n, i, o, c, a, u) {
|
|
|
17545
17546
|
_: 1
|
|
17546
17547
|
}, 8, ["modelValue", "title"]);
|
|
17547
17548
|
}
|
|
17548
|
-
const
|
|
17549
|
+
const Ea = /* @__PURE__ */ ne(Vv, [["render", Ev]]), AC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17549
17550
|
__proto__: null,
|
|
17550
|
-
default:
|
|
17551
|
+
default: Ea
|
|
17551
17552
|
}, Symbol.toStringTag, { value: "Module" })), Nv = {
|
|
17552
17553
|
name: "BnFilterOption",
|
|
17553
17554
|
props: {
|
|
@@ -17580,9 +17581,9 @@ const _a = /* @__PURE__ */ ne(Vv, [["render", Ev]]), AC = /* @__PURE__ */ Object
|
|
|
17580
17581
|
* 查询筛选条件
|
|
17581
17582
|
* */
|
|
17582
17583
|
searchFiler() {
|
|
17583
|
-
this.loading = !0, this.postFunc("/v2/projects/getUserQueryCondition", { relationTableId: -
|
|
17584
|
+
this.loading = !0, this.postFunc("/v2/projects/getUserQueryCondition", { relationTableId: -1, ...this.extendPost }).then((n) => {
|
|
17584
17585
|
this.loading = !1, this.filterList = [], n.code || (this.filterList = n.data.filter(
|
|
17585
|
-
(i) => i.userId == -1 || this.user && this.user.id == i.userId
|
|
17586
|
+
(i) => i.key != "COLUMN_HIDE_GLOBAL_RULE_KEY" && (i.userId == -1 || this.user && this.user.id == i.userId)
|
|
17586
17587
|
));
|
|
17587
17588
|
});
|
|
17588
17589
|
},
|
|
@@ -17744,7 +17745,7 @@ function Kv(n, i, o, c, a, u) {
|
|
|
17744
17745
|
})
|
|
17745
17746
|
]);
|
|
17746
17747
|
}
|
|
17747
|
-
const Wv = /* @__PURE__ */ ne(Nv, [["render", Kv], ["__scopeId", "data-v-
|
|
17748
|
+
const Wv = /* @__PURE__ */ ne(Nv, [["render", Kv], ["__scopeId", "data-v-497080f1"]]), Xv = {
|
|
17748
17749
|
name: "BnImportOrder",
|
|
17749
17750
|
props: {
|
|
17750
17751
|
postFunc: Function,
|
|
@@ -18085,7 +18086,7 @@ function sy(n, i, o, c, a, u) {
|
|
|
18085
18086
|
_: 1
|
|
18086
18087
|
}, 8, ["modelValue"]);
|
|
18087
18088
|
}
|
|
18088
|
-
const
|
|
18089
|
+
const Na = /* @__PURE__ */ ne(Xv, [["render", sy], ["__scopeId", "data-v-28423e18"]]), ay = {
|
|
18089
18090
|
name: "ImportTemplateTrigger",
|
|
18090
18091
|
props: {
|
|
18091
18092
|
// 父组件传入的 Popover 显隐状态,对应 v-model。
|
|
@@ -18949,7 +18950,7 @@ const eb = /* @__PURE__ */ ne(Ky, [["render", $y], ["__scopeId", "data-v-dc2d771
|
|
|
18949
18950
|
name: "BnImportTemplate",
|
|
18950
18951
|
components: {
|
|
18951
18952
|
ImportTemplateTrigger: gy,
|
|
18952
|
-
BnImportOrder:
|
|
18953
|
+
BnImportOrder: Na,
|
|
18953
18954
|
TemplateListDialog: xy,
|
|
18954
18955
|
TemplateEditDialog: eb
|
|
18955
18956
|
},
|
|
@@ -19786,7 +19787,7 @@ const hb = /* @__PURE__ */ ne(sb, [["render", fb], ["__scopeId", "data-v-317f44e
|
|
|
19786
19787
|
checkCode: this.$refs.validatorCode.codeNum,
|
|
19787
19788
|
columns: this.postParams.columns.join(",")
|
|
19788
19789
|
};
|
|
19789
|
-
(o = (i = this.postData) == null ? void 0 : i.conditions) != null && o.length && (n.conditions =
|
|
19790
|
+
(o = (i = this.postData) == null ? void 0 : i.conditions) != null && o.length && (n.conditions = Fa(this.postData.conditions)), this.postFunc("/biztable/io/export", n).then((c) => {
|
|
19790
19791
|
this.loading = !1, c.code || (this.$message.success(c.msg), this.$emit("exportOver", n, c), this.show = !1);
|
|
19791
19792
|
});
|
|
19792
19793
|
},
|
|
@@ -21386,13 +21387,13 @@ const n0 = /* @__PURE__ */ ne(Z1, [["render", i0], ["__scopeId", "data-v-eba7ecc
|
|
|
21386
21387
|
label: "title",
|
|
21387
21388
|
children: "children"
|
|
21388
21389
|
};
|
|
21389
|
-
function
|
|
21390
|
+
function za(n = {}) {
|
|
21390
21391
|
return { ...l0, ...n };
|
|
21391
21392
|
}
|
|
21392
21393
|
function r0(n, i, o = {}) {
|
|
21393
21394
|
if (!Array.isArray(n) || !n.length)
|
|
21394
21395
|
return [];
|
|
21395
|
-
const c =
|
|
21396
|
+
const c = za(o), a = [];
|
|
21396
21397
|
let u = i || [];
|
|
21397
21398
|
for (const m of n) {
|
|
21398
21399
|
const b = u.find((k) => (k == null ? void 0 : k[c.value]) === m);
|
|
@@ -21424,7 +21425,7 @@ function o0(n, {
|
|
|
21424
21425
|
} = {}) {
|
|
21425
21426
|
if (Fe(n) || !Array.isArray(n) || !n.length)
|
|
21426
21427
|
return "";
|
|
21427
|
-
const m =
|
|
21428
|
+
const m = za(o);
|
|
21428
21429
|
let b;
|
|
21429
21430
|
return i ? b = n.map((C) => C && typeof C == "object" ? C[m.label] ?? C.title ?? C.label ?? "" : String(C ?? "")) : c != null && c.length ? b = r0(n, c, o) : b = n.map((C) => String(C ?? "")), ro(b, { separator: a, showAllLevels: u });
|
|
21430
21431
|
}
|
|
@@ -21767,7 +21768,7 @@ function y0(n, i, o, c, a, u) {
|
|
|
21767
21768
|
_: 3
|
|
21768
21769
|
}, 8, ["placement", "disabled", "teleported", "popper-class", "onShow", "onHide"]);
|
|
21769
21770
|
}
|
|
21770
|
-
const b0 = /* @__PURE__ */ ne(a0, [["render", y0], ["__scopeId", "data-v-3c0b31dc"]]), io = 6, Gl = 34,
|
|
21771
|
+
const b0 = /* @__PURE__ */ ne(a0, [["render", y0], ["__scopeId", "data-v-3c0b31dc"]]), io = 6, Gl = 34, xa = 3, Ta = "", C0 = { value: "id", label: "title", children: "children" }, w0 = {
|
|
21771
21772
|
name: "BnCascaderPanel",
|
|
21772
21773
|
props: {
|
|
21773
21774
|
/** 绑定值,格式见文件头 @modelValue 说明 */
|
|
@@ -21947,7 +21948,7 @@ const b0 = /* @__PURE__ */ ne(a0, [["render", y0], ["__scopeId", "data-v-3c0b31d
|
|
|
21947
21948
|
},
|
|
21948
21949
|
/** 根据滚动位置计算当前列应渲染的 [start, end) 区间 */
|
|
21949
21950
|
getVirtualRange(n, i) {
|
|
21950
|
-
const o = this.columnScrollTops[i] || 0, c = Math.max(0, Math.floor(o / Gl) -
|
|
21951
|
+
const o = this.columnScrollTops[i] || 0, c = Math.max(0, Math.floor(o / Gl) - xa), a = Math.min(n.length, Math.ceil((o + this.columnHeight) / Gl) + xa);
|
|
21951
21952
|
return { start: c, end: a };
|
|
21952
21953
|
},
|
|
21953
21954
|
/**
|
|
@@ -22036,11 +22037,11 @@ const b0 = /* @__PURE__ */ ne(a0, [["render", y0], ["__scopeId", "data-v-3c0b31d
|
|
|
22036
22037
|
/** 路径唯一键,供 Set 索引 */
|
|
22037
22038
|
getPathKey(n) {
|
|
22038
22039
|
const i = this.normalizePath(n);
|
|
22039
|
-
return i.length ? i.join(
|
|
22040
|
+
return i.length ? i.join(Ta) : "";
|
|
22040
22041
|
},
|
|
22041
22042
|
/** 当前节点路径唯一键 */
|
|
22042
22043
|
getItemPathKey(n, i) {
|
|
22043
|
-
return this.buildPathValues(n, i).join(
|
|
22044
|
+
return this.buildPathValues(n, i).join(Ta);
|
|
22044
22045
|
},
|
|
22045
22046
|
/** 判断两条路径是否完全一致 */
|
|
22046
22047
|
isSamePath(n, i) {
|
|
@@ -22259,7 +22260,7 @@ const b0 = /* @__PURE__ */ ne(a0, [["render", y0], ["__scopeId", "data-v-3c0b31d
|
|
|
22259
22260
|
},
|
|
22260
22261
|
/** 写入 lazy 子级缓存(markRaw 避免 Vue 深度响应式化大数组) */
|
|
22261
22262
|
cacheLazyChildren(n, i, o) {
|
|
22262
|
-
const c =
|
|
22263
|
+
const c = jd(o || []);
|
|
22263
22264
|
this.lazyChildrenMap = { ...this.lazyChildrenMap, [i]: c }, this.lazyLoadedKeys = { ...this.lazyLoadedKeys, [i]: !0 }, n && (n[this.mergedOptionProps.children] = c);
|
|
22264
22265
|
},
|
|
22265
22266
|
/** 重置 lazy 缓存与列滚动状态 */
|
|
@@ -22478,7 +22479,7 @@ function _0(n, i, o, c, a, u) {
|
|
|
22478
22479
|
}, [
|
|
22479
22480
|
(w(!0), D(ie, null, ue(u.getColumnVisibleItems(x, B), (V, N, E, ee) => {
|
|
22480
22481
|
const ae = [u.isItemSelected(V, B), u.isItemActive(V, B), o.disabled, V.disabled, u.isItemLoading(V, B), a.checkToLastModel];
|
|
22481
|
-
if (ee && ee.el && ee.key === u.getItemPathKey(V, B) &&
|
|
22482
|
+
if (ee && ee.el && ee.key === u.getItemPathKey(V, B) && Ud(ee, ae)) return ee;
|
|
22482
22483
|
const he = (w(), D("div", {
|
|
22483
22484
|
key: u.getItemPathKey(V, B),
|
|
22484
22485
|
class: Te(["BnCascaderPanel-item", {
|
|
@@ -22715,32 +22716,32 @@ function rC(n, i, o, c, a, u) {
|
|
|
22715
22716
|
])
|
|
22716
22717
|
]);
|
|
22717
22718
|
}
|
|
22718
|
-
const oC = /* @__PURE__ */ ne(N0, [["render", rC], ["__scopeId", "data-v-8d25baf6"]]), sC = ge(() => import("./index-
|
|
22719
|
+
const oC = /* @__PURE__ */ ne(N0, [["render", rC], ["__scopeId", "data-v-8d25baf6"]]), sC = ge(() => import("./index-pgfSgu10.js")), aC = ge(() => import("./index-C5KMdgNj.js")), uC = ge(() => import("./index-BsUfH5ic.js")), dC = ge(() => import("./index-DwdBD7xO.js")), cC = ge(() => import("./index-CVit-ykJ.js")), fC = ge(() => import("./index-BfHnPHGM.js")), hC = ge(() => import("./index-M-d6UG_a.js")), pC = ge(() => import("./index-DZtMgqfi.js")), mC = ge(() => import("./index-CeZNQNkj.js")), gC = ge(() => import("./chooseIPaasData-CkMU9mft.js")), vC = ge(() => import("./index-Pute51Sw.js")), yC = ge(() => import("./index-CVwjoILd.js")), bC = ge(() => import("./index-t_BK5Ban.js")), CC = {
|
|
22719
22720
|
install: (n) => {
|
|
22720
|
-
n.component("BnAddress",
|
|
22721
|
+
n.component("BnAddress", qd), n.component("BnMenus", pc), n.component("BnSelect", xc), n.component("BnVirtPopover", Sc), n.component("BnAdvancedFilter", cf), n.component("BnFilterView", yf), n.component("BnDatePicker", wf), n.component("BnCheck", If), n.component("BnOrderCard", lh), n.component("BnDrop", Th), n.component("BnFileView", Yh), n.component("BnInpNum", Qh), n.component("BnRadio", tp), n.component("BnRelation", lp), n.component("BnCondition", yp), n.component("BnSmartForm", ng), n.component("BnBatchForm", Va), n.component("BnBatchFormDialog", Tg), n.component("BnStringForm", sC), n.component("BnNumberForm", aC), n.component("BnSelectForm", uC), n.component("BnRadioForm", dC), n.component("BnCheckboxForm", cC), n.component("BnDateForm", fC), n.component("BnDateDualForm", hC), n.component("BnFileForm", pC), n.component("BnChildrenForm", mC), n.component("BnChooseIPaasData", gC), n.component("BnAddressForm", vC), n.component("BnReceiveForm", yC), n.component("BnRelationForm", bC), n.component("BnFunExpr", Qg), n.component("BnColumnConfig", Av), n.component("BnColumnConfigDialog", Ea), n.component("BnFilterOption", Wv), n.component("BnImportOrder", Na), n.component("BnImportTemplate", ob), n.component("BnExportOrder", Fb), n.component("BnOrderShare", l1), n.component("BnOrderDetail", Q1), n.component("BnEmptyTip", n0), n.component("BnWebLog", oC), n.component("BnCascader", b0), n.component("BnCascaderPanel", E0);
|
|
22721
22722
|
}
|
|
22722
22723
|
};
|
|
22723
22724
|
typeof window < "u" && window.Vue && window.Vue.use(CC);
|
|
22724
22725
|
export {
|
|
22725
22726
|
Dm as $,
|
|
22726
22727
|
ob as A,
|
|
22727
|
-
|
|
22728
|
-
|
|
22729
|
-
|
|
22728
|
+
qd as B,
|
|
22729
|
+
Qh as C,
|
|
22730
|
+
pc as D,
|
|
22730
22731
|
aC as E,
|
|
22731
|
-
|
|
22732
|
+
lh as F,
|
|
22732
22733
|
Q1 as G,
|
|
22733
22734
|
l1 as H,
|
|
22734
|
-
|
|
22735
|
+
tp as I,
|
|
22735
22736
|
dC as J,
|
|
22736
22737
|
yC as K,
|
|
22737
|
-
|
|
22738
|
+
lp as L,
|
|
22738
22739
|
bC as M,
|
|
22739
|
-
|
|
22740
|
+
xc as N,
|
|
22740
22741
|
uC as O,
|
|
22741
22742
|
ng as P,
|
|
22742
22743
|
sC as Q,
|
|
22743
|
-
|
|
22744
|
+
Sc as R,
|
|
22744
22745
|
oC as S,
|
|
22745
22746
|
SC as T,
|
|
22746
22747
|
AC as U,
|
|
@@ -22757,35 +22758,35 @@ export {
|
|
|
22757
22758
|
FC as a3,
|
|
22758
22759
|
xC as a4,
|
|
22759
22760
|
BC as a5,
|
|
22760
|
-
|
|
22761
|
+
Fa as a6,
|
|
22761
22762
|
TC as a7,
|
|
22762
22763
|
OC as a8,
|
|
22763
22764
|
MC as a9,
|
|
22764
22765
|
LC as aa,
|
|
22765
22766
|
Pm as ab,
|
|
22766
|
-
|
|
22767
|
-
|
|
22767
|
+
cf as b,
|
|
22768
|
+
Va as c,
|
|
22768
22769
|
Tg as d,
|
|
22769
22770
|
CC as e,
|
|
22770
22771
|
b0 as f,
|
|
22771
22772
|
E0 as g,
|
|
22772
|
-
|
|
22773
|
+
If as h,
|
|
22773
22774
|
cC as i,
|
|
22774
22775
|
mC as j,
|
|
22775
22776
|
gC as k,
|
|
22776
22777
|
Av as l,
|
|
22777
|
-
|
|
22778
|
-
|
|
22778
|
+
Ea as m,
|
|
22779
|
+
yp as n,
|
|
22779
22780
|
hC as o,
|
|
22780
22781
|
fC as p,
|
|
22781
|
-
|
|
22782
|
-
|
|
22782
|
+
wf as q,
|
|
22783
|
+
Th as r,
|
|
22783
22784
|
n0 as s,
|
|
22784
22785
|
Fb as t,
|
|
22785
22786
|
pC as u,
|
|
22786
|
-
|
|
22787
|
+
Yh as v,
|
|
22787
22788
|
Wv as w,
|
|
22788
|
-
|
|
22789
|
+
yf as x,
|
|
22789
22790
|
Qg as y,
|
|
22790
|
-
|
|
22791
|
+
Na as z
|
|
22791
22792
|
};
|