yh-report 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{StatementDesign-9af211fb.mjs → StatementDesign-d7c6350b.mjs} +278 -261
- package/{StatementDesign-9af211fb.mjs.map → StatementDesign-d7c6350b.mjs.map} +1 -1
- package/{StatementDetail-9cbae603.mjs → StatementDetail-e0cb5168.mjs} +2 -2
- package/{StatementDetail-9cbae603.mjs.map → StatementDetail-e0cb5168.mjs.map} +1 -1
- package/{StatementList-c91eaf94.mjs → StatementList-fcd4d635.mjs} +2 -2
- package/{StatementList-c91eaf94.mjs.map → StatementList-fcd4d635.mjs.map} +1 -1
- package/{index-963ea492.mjs → index-5cc82a75.mjs} +4332 -4304
- package/index-5cc82a75.mjs.map +1 -0
- package/index.es.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/index-963ea492.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as T1 from "vue";
|
|
2
|
-
import { ref as Oe, watch as
|
|
3
|
-
import { ElMessage as
|
|
2
|
+
import { ref as Oe, watch as Ni, computed as Te, defineComponent as wt, resolveComponent as de, openBlock as V, createBlock as ee, unref as g, withCtx as S, createVNode as b, createTextVNode as N, createElementBlock as H, Fragment as fe, renderList as Je, toDisplayString as De, createElementVNode as Y, nextTick as uO, normalizeStyle as gi, normalizeClass as Wo, withModifiers as Hs, renderSlot as Da, createCommentVNode as ue, pushScopeId as C1, popScopeId as R1, onMounted as Qr, onUnmounted as Ah, resolveDynamicComponent as hO, toRaw as Z1, reactive as E1, withKeys as X1, onActivated as A1, onDeactivated as V1, withDirectives as Dc, vShow as Mc, isRef as D1 } from "vue";
|
|
3
|
+
import { ElMessage as un, ElScrollbar as cO, ElDialog as jo, ElButton as Ut, ElForm as cr, ElFormItem as G, ElInput as Me, ElTable as fO, ElTableColumn as hn, ElSwitch as Ie, ElRadioGroup as Et, ElMessageBox as Yc, ElCheckbox as Oi, ElRadioButton as be, ElTabs as dO, ElTabPane as ro, ElRow as Lc, ElCol as ht, ElTooltip as Ma, ElTag as Ks, ElColorPicker as Qu, ElCollapse as M1, ElCollapseItem as Uc, ElInputNumber as Js, ElCascader as Ic } from "element-plus";
|
|
4
4
|
import { defineStore as Y1, storeToRefs as Qt } from "pinia";
|
|
5
5
|
import { cloneDeep as fr } from "lodash-es";
|
|
6
6
|
import { useRoute as pO, onBeforeRouteLeave as L1 } from "vue-router";
|
|
7
|
-
import { a as U1, b as OO, e as I1, l as W1, s as j1, f as mO, h as N1, i as q1, j as z1, _ as gO, k as G1, m as vO, n as B1, o as Wc, p as F1, D as Nn, q as H1, r as K1, t as J1, u as ev } from "./index-
|
|
7
|
+
import { a as U1, b as OO, e as I1, l as W1, s as j1, f as mO, h as N1, i as q1, j as z1, _ as gO, k as G1, m as vO, n as B1, o as Wc, p as F1, D as Nn, q as H1, r as K1, t as J1, u as ev } from "./index-5cc82a75.mjs";
|
|
8
8
|
import { useFullscreen as tv } from "@vueuse/core";
|
|
9
9
|
import "@/libs/api.request.js";
|
|
10
10
|
import "echarts";
|
|
@@ -119,11 +119,11 @@ function nv (n) {
|
|
|
119
119
|
paramsData: JSON.stringify(y),
|
|
120
120
|
chartConfig: JSON.stringify(Z)
|
|
121
121
|
}).then((E) => {
|
|
122
|
-
E.data.result ?
|
|
122
|
+
E.data.result ? un.success(E.data.msg) : un.error(E.data.msg);
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
const s = Oe(null), a = Oe(null), o = Oe(null), l = Oe(!0), u = Oe([]), h = Oe([]), c = Oe({}), f = Oe(!1);
|
|
126
|
-
|
|
126
|
+
Ni(
|
|
127
127
|
() => u.value,
|
|
128
128
|
(x) => {
|
|
129
129
|
e.value.listData = x.map(({ id: $, name: Q, url: k }) => `${$}:${Q}:${k}`).join(","), c.value = {}, x.forEach(async ({ id: $, url: Q }) => {
|
|
@@ -333,22 +333,22 @@ const ov = /* @__PURE__ */ wt({
|
|
|
333
333
|
onSelectionChange: u
|
|
334
334
|
}, {
|
|
335
335
|
default: S(() => [
|
|
336
|
-
b(g(
|
|
336
|
+
b(g(hn), {
|
|
337
337
|
"reserve-selection": "",
|
|
338
338
|
type: "selection",
|
|
339
339
|
width: "50"
|
|
340
340
|
}),
|
|
341
|
-
b(g(
|
|
341
|
+
b(g(hn), {
|
|
342
342
|
label: "#",
|
|
343
343
|
type: "index",
|
|
344
344
|
width: "50"
|
|
345
345
|
}),
|
|
346
|
-
b(g(
|
|
346
|
+
b(g(hn), {
|
|
347
347
|
label: "名称",
|
|
348
348
|
prop: "name",
|
|
349
349
|
"min-width": "150"
|
|
350
350
|
}),
|
|
351
|
-
b(g(
|
|
351
|
+
b(g(hn), {
|
|
352
352
|
label: "请求链接",
|
|
353
353
|
prop: "url",
|
|
354
354
|
"min-width": "150"
|
|
@@ -467,19 +467,19 @@ function Ov () {
|
|
|
467
467
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
468
468
|
}
|
|
469
469
|
var mv = "1.14.0";
|
|
470
|
-
function
|
|
470
|
+
function qi (n) {
|
|
471
471
|
if (typeof window < "u" && window.navigator)
|
|
472
472
|
return !!/* @__PURE__ */ navigator.userAgent.match(n);
|
|
473
473
|
}
|
|
474
|
-
var
|
|
474
|
+
var Ki = qi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ms = qi(/Edge/i), qc = qi(/firefox/i), os = qi(/safari/i) && !qi(/chrome/i) && !qi(/android/i), yO = qi(/iP(ad|od|hone)/i), gv = qi(/chrome/i) && qi(/android/i), _O = {
|
|
475
475
|
capture: !1,
|
|
476
476
|
passive: !1
|
|
477
477
|
};
|
|
478
478
|
function Ce (n, e, t) {
|
|
479
|
-
n.addEventListener(e, t, !
|
|
479
|
+
n.addEventListener(e, t, !Ki && _O);
|
|
480
480
|
}
|
|
481
481
|
function ke (n, e, t) {
|
|
482
|
-
n.removeEventListener(e, t, !
|
|
482
|
+
n.removeEventListener(e, t, !Ki && _O);
|
|
483
483
|
}
|
|
484
484
|
function so (n, e) {
|
|
485
485
|
if (e) {
|
|
@@ -559,7 +559,7 @@ function Xi () {
|
|
|
559
559
|
function Be (n, e, t, i, r) {
|
|
560
560
|
if (!(!n.getBoundingClientRect && n !== window)) {
|
|
561
561
|
var s, a, o, l, u, h, c;
|
|
562
|
-
if (n !== window && n.parentNode && n !== Xi() ? (s = n.getBoundingClientRect(), a = s.top, o = s.left, l = s.bottom, u = s.right, h = s.height, c = s.width) : (a = 0, o = 0, l = window.innerHeight, u = window.innerWidth, h = window.innerHeight, c = window.innerWidth), (e || t) && n !== window && (r = r || n.parentNode, !
|
|
562
|
+
if (n !== window && n.parentNode && n !== Xi() ? (s = n.getBoundingClientRect(), a = s.top, o = s.left, l = s.bottom, u = s.right, h = s.height, c = s.width) : (a = 0, o = 0, l = window.innerHeight, u = window.innerWidth, h = window.innerHeight, c = window.innerWidth), (e || t) && n !== window && (r = r || n.parentNode, !Ki))
|
|
563
563
|
do
|
|
564
564
|
if (r && r.getBoundingClientRect && (ae(r, "transform") !== "none" || t && ae(r, "position") !== "static")) {
|
|
565
565
|
var f = r.getBoundingClientRect();
|
|
@@ -582,13 +582,13 @@ function Be (n, e, t, i, r) {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
function Gc (n, e, t) {
|
|
585
|
-
for (var i =
|
|
585
|
+
for (var i = cn(n, !0), r = Be(n)[e]; i;) {
|
|
586
586
|
var s = Be(i)[t], a = void 0;
|
|
587
587
|
if (t === "top" || t === "left" ? a = r >= s : a = r <= s, !a)
|
|
588
588
|
return i;
|
|
589
589
|
if (i === Xi())
|
|
590
590
|
break;
|
|
591
|
-
i =
|
|
591
|
+
i = cn(i, !1);
|
|
592
592
|
}
|
|
593
593
|
return !1;
|
|
594
594
|
}
|
|
@@ -634,7 +634,7 @@ function bv (n, e) {
|
|
|
634
634
|
}
|
|
635
635
|
return -1;
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function cn (n, e) {
|
|
638
638
|
if (!n || !n.getBoundingClientRect)
|
|
639
639
|
return Xi();
|
|
640
640
|
var t = n, i = !1;
|
|
@@ -809,7 +809,7 @@ function Hr (n) {
|
|
|
809
809
|
var e = n.sortable, t = n.rootEl, i = n.name, r = n.targetEl, s = n.cloneEl, a = n.toEl, o = n.fromEl, l = n.oldIndex, u = n.newIndex, h = n.oldDraggableIndex, c = n.newDraggableIndex, f = n.originalEvent, d = n.putSortable, p = n.extraEventProperties;
|
|
810
810
|
if (e = e || t && t[kt], !!e) {
|
|
811
811
|
var v, m = e.options, O = "on" + i.charAt(0).toUpperCase() + i.substr(1);
|
|
812
|
-
window.CustomEvent && !
|
|
812
|
+
window.CustomEvent && !Ki && !Ms ? v = new CustomEvent(i, {
|
|
813
813
|
bubbles: !0,
|
|
814
814
|
cancelable: !0
|
|
815
815
|
}) : (v = document.createEvent("Event"), v.initEvent(i, !0, !0)), v.to = a || t, v.from = o || t, v.item = r || t, v.clone = s, v.oldIndex = l, v.newIndex = u, v.oldDraggableIndex = h, v.newDraggableIndex = c, v.originalEvent = f, v.pullMode = d ? d.lastPutMode : void 0;
|
|
@@ -829,7 +829,7 @@ var wv = ["evt"], Yt = function (e, t) {
|
|
|
829
829
|
nextEl: Rn,
|
|
830
830
|
lastDownEl: La,
|
|
831
831
|
cloneEl: it,
|
|
832
|
-
cloneHidden:
|
|
832
|
+
cloneHidden: on,
|
|
833
833
|
dragStarted: Kr,
|
|
834
834
|
putSortable: vt,
|
|
835
835
|
activeSortable: ve.active,
|
|
@@ -837,14 +837,14 @@ var wv = ["evt"], Yt = function (e, t) {
|
|
|
837
837
|
oldIndex: tr,
|
|
838
838
|
oldDraggableIndex: us,
|
|
839
839
|
newIndex: Kt,
|
|
840
|
-
newDraggableIndex:
|
|
840
|
+
newDraggableIndex: rn,
|
|
841
841
|
hideGhostForTarget: kO,
|
|
842
842
|
unhideGhostForTarget: TO,
|
|
843
843
|
cloneNowHidden: function () {
|
|
844
|
-
|
|
844
|
+
on = !0;
|
|
845
845
|
},
|
|
846
846
|
cloneNowShown: function () {
|
|
847
|
-
|
|
847
|
+
on = !1;
|
|
848
848
|
},
|
|
849
849
|
dispatchSortableEvent: function (o) {
|
|
850
850
|
Zt({
|
|
@@ -864,12 +864,12 @@ function Zt (n) {
|
|
|
864
864
|
oldIndex: tr,
|
|
865
865
|
oldDraggableIndex: us,
|
|
866
866
|
newIndex: Kt,
|
|
867
|
-
newDraggableIndex:
|
|
867
|
+
newDraggableIndex: rn
|
|
868
868
|
}, n));
|
|
869
869
|
}
|
|
870
|
-
var F, tt, we, Ge, Rn, La, it,
|
|
870
|
+
var F, tt, we, Ge, Rn, La, it, on, tr, Kt, us, rn, ea, vt, Kn = !1, ao = !1, oo = [], $n, di, pl, Ol, Hc, Kc, Kr, zn, hs, cs = !1, ta = !1, Ua, Pt, ml = [], wu = !1, lo = [], No = typeof document < "u", ia = yO, Jc = Ms || Ki ? "cssFloat" : "float", Pv = No && !gv && !yO && "draggable" in document.createElement("div"), wO = function () {
|
|
871
871
|
if (No) {
|
|
872
|
-
if (
|
|
872
|
+
if (Ki)
|
|
873
873
|
return !1;
|
|
874
874
|
var n = document.createElement("x");
|
|
875
875
|
return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
|
|
@@ -1069,7 +1069,7 @@ ve.prototype = /** @lends Sortable.prototype */
|
|
|
1069
1069
|
SO(F, h.trim(), gl);
|
|
1070
1070
|
}), Ce(o, "dragover", kn), Ce(o, "mousemove", kn), Ce(o, "touchmove", kn), Ce(o, "mouseup", r._onDrop), Ce(o, "touchend", r._onDrop), Ce(o, "touchcancel", r._onDrop), qc && this.nativeDraggable && (this.options.touchStartThreshold = 4, F.draggable = !0), Yt("delayStart", this, {
|
|
1071
1071
|
evt: e
|
|
1072
|
-
}), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ms ||
|
|
1072
|
+
}), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ms || Ki))) {
|
|
1073
1073
|
if (ve.eventCanceled) {
|
|
1074
1074
|
this._onDrop();
|
|
1075
1075
|
return;
|
|
@@ -1218,12 +1218,12 @@ ve.prototype = /** @lends Sortable.prototype */
|
|
|
1218
1218
|
}), p !== f && (f.animateAll(), f._ignoreWhileAnimating = null)), (i === F && !F.animated || i === t && !i.animated) && (zn = null), !o.dragoverBubble && !e.rootEl && i !== document && (F.parentNode[kt]._isOutsideThisEl(e.target), !U && kn(e)), !o.dragoverBubble && e.stopPropagation && e.stopPropagation(), v = !0;
|
|
1219
1219
|
}
|
|
1220
1220
|
function T () {
|
|
1221
|
-
Kt = nt(F),
|
|
1221
|
+
Kt = nt(F), rn = nt(F, o.draggable), Zt({
|
|
1222
1222
|
sortable: p,
|
|
1223
1223
|
name: "change",
|
|
1224
1224
|
toEl: t,
|
|
1225
1225
|
newIndex: Kt,
|
|
1226
|
-
newDraggableIndex:
|
|
1226
|
+
newDraggableIndex: rn,
|
|
1227
1227
|
originalEvent: e
|
|
1228
1228
|
});
|
|
1229
1229
|
}
|
|
@@ -1283,9 +1283,9 @@ ve.prototype = /** @lends Sortable.prototype */
|
|
|
1283
1283
|
},
|
|
1284
1284
|
_onDrop: function (e) {
|
|
1285
1285
|
var t = this.el, i = this.options;
|
|
1286
|
-
if (Kt = nt(F),
|
|
1286
|
+
if (Kt = nt(F), rn = nt(F, i.draggable), Yt("drop", this, {
|
|
1287
1287
|
evt: e
|
|
1288
|
-
}), tt = F && F.parentNode, Kt = nt(F),
|
|
1288
|
+
}), tt = F && F.parentNode, Kt = nt(F), rn = nt(F, i.draggable), ve.eventCanceled) {
|
|
1289
1289
|
this._nulling();
|
|
1290
1290
|
return;
|
|
1291
1291
|
}
|
|
@@ -1328,7 +1328,7 @@ ve.prototype = /** @lends Sortable.prototype */
|
|
|
1328
1328
|
name: "sort",
|
|
1329
1329
|
toEl: tt,
|
|
1330
1330
|
originalEvent: e
|
|
1331
|
-
})), ve.active && ((Kt == null || Kt === -1) && (Kt = tr,
|
|
1331
|
+
})), ve.active && ((Kt == null || Kt === -1) && (Kt = tr, rn = us), Zt({
|
|
1332
1332
|
sortable: this,
|
|
1333
1333
|
name: "end",
|
|
1334
1334
|
toEl: tt,
|
|
@@ -1336,7 +1336,7 @@ ve.prototype = /** @lends Sortable.prototype */
|
|
|
1336
1336
|
}), this.save()))), this._nulling();
|
|
1337
1337
|
},
|
|
1338
1338
|
_nulling: function () {
|
|
1339
|
-
Yt("nulling", this), Ge = F = tt = we = Rn = it = La =
|
|
1339
|
+
Yt("nulling", this), Ge = F = tt = we = Rn = it = La = on = $n = di = Kr = Kt = rn = tr = us = zn = hs = vt = ea = ve.dragged = ve.ghost = ve.clone = ve.active = null, lo.forEach(function (e) {
|
|
1340
1340
|
e.checked = !0;
|
|
1341
1341
|
}), lo.length = pl = Ol = 0;
|
|
1342
1342
|
},
|
|
@@ -1417,10 +1417,10 @@ ve.prototype = /** @lends Sortable.prototype */
|
|
|
1417
1417
|
}), this._onDrop(), this._disableDelayedDragEvents(), oo.splice(oo.indexOf(this.el), 1), this.el = e = null;
|
|
1418
1418
|
},
|
|
1419
1419
|
_hideClone: function () {
|
|
1420
|
-
if (!
|
|
1420
|
+
if (!on) {
|
|
1421
1421
|
if (Yt("hideClone", this), ve.eventCanceled)
|
|
1422
1422
|
return;
|
|
1423
|
-
ae(it, "display", "none"), this.options.removeCloneOnHide && it.parentNode && it.parentNode.removeChild(it),
|
|
1423
|
+
ae(it, "display", "none"), this.options.removeCloneOnHide && it.parentNode && it.parentNode.removeChild(it), on = !0;
|
|
1424
1424
|
}
|
|
1425
1425
|
},
|
|
1426
1426
|
_showClone: function (e) {
|
|
@@ -1428,10 +1428,10 @@ ve.prototype = /** @lends Sortable.prototype */
|
|
|
1428
1428
|
this._hideClone();
|
|
1429
1429
|
return;
|
|
1430
1430
|
}
|
|
1431
|
-
if (
|
|
1431
|
+
if (on) {
|
|
1432
1432
|
if (Yt("showClone", this), ve.eventCanceled)
|
|
1433
1433
|
return;
|
|
1434
|
-
F.parentNode == Ge && !this.options.group.revertClone ? Ge.insertBefore(it, F) : Rn ? Ge.insertBefore(it, Rn) : Ge.appendChild(it), this.options.group.revertClone && this.animate(F, it), ae(it, "display", ""),
|
|
1434
|
+
F.parentNode == Ge && !this.options.group.revertClone ? Ge.insertBefore(it, F) : Rn ? Ge.insertBefore(it, Rn) : Ge.appendChild(it), this.options.group.revertClone && this.animate(F, it), ae(it, "display", ""), on = !1;
|
|
1435
1435
|
}
|
|
1436
1436
|
}
|
|
1437
1437
|
};
|
|
@@ -1440,7 +1440,7 @@ function Cv (n) {
|
|
|
1440
1440
|
}
|
|
1441
1441
|
function na (n, e, t, i, r, s, a, o) {
|
|
1442
1442
|
var l, u = n[kt], h = u.options.onMove, c;
|
|
1443
|
-
return window.CustomEvent && !
|
|
1443
|
+
return window.CustomEvent && !Ki && !Ms ? l = new CustomEvent("move", {
|
|
1444
1444
|
bubbles: !0,
|
|
1445
1445
|
cancelable: !0
|
|
1446
1446
|
}) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = e, l.from = n, l.dragged = t, l.draggedRect = i, l.related = r || e, l.relatedRect = s || Be(e), l.willInsertAfter = o, l.originalEvent = a, n.dispatchEvent(l), h && (c = h.call(u, l, a)), c;
|
|
@@ -1564,19 +1564,19 @@ function Mv () {
|
|
|
1564
1564
|
},
|
|
1565
1565
|
_handleAutoScroll: function (t, i) {
|
|
1566
1566
|
var r = this, s = (t.touches ? t.touches[0] : t).clientX, a = (t.touches ? t.touches[0] : t).clientY, o = document.elementFromPoint(s, a);
|
|
1567
|
-
if (uo = t, i || this.options.forceAutoScrollFallback || Ms ||
|
|
1567
|
+
if (uo = t, i || this.options.forceAutoScrollFallback || Ms || Ki || os) {
|
|
1568
1568
|
yl(t, this.options, o, i);
|
|
1569
|
-
var l =
|
|
1569
|
+
var l = cn(o, !0);
|
|
1570
1570
|
ku && (!es || s !== vl || a !== bl) && (es && ef(), es = setInterval(function () {
|
|
1571
|
-
var u =
|
|
1571
|
+
var u = cn(document.elementFromPoint(s, a), !0);
|
|
1572
1572
|
u !== l && (l = u, Wa()), yl(t, r.options, u, i);
|
|
1573
1573
|
}, 10), vl = s, bl = a);
|
|
1574
1574
|
} else {
|
|
1575
|
-
if (!this.options.bubbleScroll ||
|
|
1575
|
+
if (!this.options.bubbleScroll || cn(o, !0) === Xi()) {
|
|
1576
1576
|
Wa();
|
|
1577
1577
|
return;
|
|
1578
1578
|
}
|
|
1579
|
-
yl(t, this.options,
|
|
1579
|
+
yl(t, this.options, cn(o, !1), !1);
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
1582
|
}, ui(n, {
|
|
@@ -1595,7 +1595,7 @@ function ef () {
|
|
|
1595
1595
|
var yl = QO(function (n, e, t, i) {
|
|
1596
1596
|
if (e.scroll) {
|
|
1597
1597
|
var r = (n.touches ? n.touches[0] : n).clientX, s = (n.touches ? n.touches[0] : n).clientY, a = e.scrollSensitivity, o = e.scrollSpeed, l = Xi(), u = !1, h;
|
|
1598
|
-
$u !== t && ($u = t, Wa(), Jr = e.scroll, h = e.scrollFn, Jr === !0 && (Jr =
|
|
1598
|
+
$u !== t && ($u = t, Wa(), Jr = e.scroll, h = e.scrollFn, Jr === !0 && (Jr = cn(t, !0)));
|
|
1599
1599
|
var c = 0, f = Jr;
|
|
1600
1600
|
do {
|
|
1601
1601
|
var d = f, p = Be(d), v = p.top, m = p.bottom, O = p.left, _ = p.right, T = p.width, x = p.height, $ = void 0, Q = void 0, k = d.scrollWidth, C = d.scrollHeight, R = ae(d), y = d.scrollLeft, w = d.scrollTop;
|
|
@@ -1611,7 +1611,7 @@ var yl = QO(function (n, e, t, i) {
|
|
|
1611
1611
|
}).bind({
|
|
1612
1612
|
layer: c
|
|
1613
1613
|
}), 24))), c++;
|
|
1614
|
-
} while (e.bubbleScroll && f !== l && (f =
|
|
1614
|
+
} while (e.bubbleScroll && f !== l && (f = cn(f, !1)));
|
|
1615
1615
|
ku = u;
|
|
1616
1616
|
}
|
|
1617
1617
|
}, 30), CO = function (e) {
|
|
@@ -2619,9 +2619,9 @@ const Wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2619
2619
|
dt.push(x(ie[zt]));
|
|
2620
2620
|
var Li = ie.groups;
|
|
2621
2621
|
if (U) {
|
|
2622
|
-
var
|
|
2623
|
-
Li !== void 0 &&
|
|
2624
|
-
var mt = String(X.apply(void 0,
|
|
2622
|
+
var tn = [Ye].concat(dt, Dt, L);
|
|
2623
|
+
Li !== void 0 && tn.push(Li);
|
|
2624
|
+
var mt = String(X.apply(void 0, tn));
|
|
2625
2625
|
} else
|
|
2626
2626
|
mt = Z(Ye, L, Dt, dt, Li, X);
|
|
2627
2627
|
Dt >= pe && (he += L.slice(pe, Dt) + mt, pe = Dt + Ye.length);
|
|
@@ -3284,7 +3284,7 @@ const Wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3284
3284
|
a4d3: (
|
|
3285
3285
|
/***/
|
|
3286
3286
|
function (r, s, a) {
|
|
3287
|
-
var o = a("23e7"), l = a("da84"), u = a("d066"), h = a("c430"), c = a("83ab"), f = a("4930"), d = a("fdbf"), p = a("d039"), v = a("5135"), m = a("e8b5"), O = a("861d"), _ = a("825a"), T = a("7b0b"), x = a("fc6a"), $ = a("c04e"), Q = a("5c6c"), k = a("7c73"), C = a("df75"), R = a("241c"), y = a("057f"), w = a("7418"), Z = a("06cf"), E = a("9bf2"), X = a("d1e7"), j = a("9112"), q = a("6eeb"), L = a("5692"), U = a("f772"), A = a("d012"), J = a("90e3"), I = a("b622"), ie = a("e538"), me = a("746f"), he = a("d44e"), pe = a("69f3"), ye = a("b727").forEach, Ye = U("hidden"), Dt = "Symbol", dt = "prototype", zt = I("toPrimitive"), Li = pe.set,
|
|
3287
|
+
var o = a("23e7"), l = a("da84"), u = a("d066"), h = a("c430"), c = a("83ab"), f = a("4930"), d = a("fdbf"), p = a("d039"), v = a("5135"), m = a("e8b5"), O = a("861d"), _ = a("825a"), T = a("7b0b"), x = a("fc6a"), $ = a("c04e"), Q = a("5c6c"), k = a("7c73"), C = a("df75"), R = a("241c"), y = a("057f"), w = a("7418"), Z = a("06cf"), E = a("9bf2"), X = a("d1e7"), j = a("9112"), q = a("6eeb"), L = a("5692"), U = a("f772"), A = a("d012"), J = a("90e3"), I = a("b622"), ie = a("e538"), me = a("746f"), he = a("d44e"), pe = a("69f3"), ye = a("b727").forEach, Ye = U("hidden"), Dt = "Symbol", dt = "prototype", zt = I("toPrimitive"), Li = pe.set, tn = pe.getterFor(Dt), mt = Object[dt], gt = l.Symbol, Pn = u("JSON", "stringify"), Si = Z.f, Qi = E.f, Bs = y.f, ll = X.f, fi = L("symbols"), nn = L("op-symbols"), jn = L("string-to-symbol-registry"), Rr = L("symbol-to-string-registry"), Zr = L("wks"), Er = l.QObject, Xr = !Er || !Er[dt] || !Er[dt].findChild, Ar = c && p(function () {
|
|
3288
3288
|
return k(Qi({}, "a", {
|
|
3289
3289
|
get: function () {
|
|
3290
3290
|
return Qi(this, "a", { value: 7 }).a;
|
|
@@ -3305,7 +3305,7 @@ const Wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3305
3305
|
} : function (Se) {
|
|
3306
3306
|
return Object(Se) instanceof gt;
|
|
3307
3307
|
}, D = function (oe, ge, Re) {
|
|
3308
|
-
oe === mt && D(
|
|
3308
|
+
oe === mt && D(nn, ge, Re), _(oe);
|
|
3309
3309
|
var Ee = $(ge, !0);
|
|
3310
3310
|
return _(Re), v(fi, Ee) ? (Re.enumerable ? (v(oe, Ye) && oe[Ye][Ee] && (oe[Ye][Ee] = !1), Re = k(Re, { enumerable: Q(0, !1) })) : (v(oe, Ye) || Qi(oe, Ye, Q(1, {})), oe[Ye][Ee] = !0), Ar(oe, Ee, Re)) : Qi(oe, Ee, Re);
|
|
3311
3311
|
}, W = function (oe, ge) {
|
|
@@ -3318,10 +3318,10 @@ const Wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3318
3318
|
return ge === void 0 ? k(oe) : W(k(oe), ge);
|
|
3319
3319
|
}, se = function (oe) {
|
|
3320
3320
|
var ge = $(oe, !0), Re = ll.call(this, ge);
|
|
3321
|
-
return this === mt && v(fi, ge) && !v(
|
|
3321
|
+
return this === mt && v(fi, ge) && !v(nn, ge) ? !1 : Re || !v(this, ge) || !v(fi, ge) || v(this, Ye) && this[Ye][ge] ? Re : !0;
|
|
3322
3322
|
}, _e = function (oe, ge) {
|
|
3323
3323
|
var Re = x(oe), Ee = $(ge, !0);
|
|
3324
|
-
if (!(Re === mt && v(fi, Ee) && !v(
|
|
3324
|
+
if (!(Re === mt && v(fi, Ee) && !v(nn, Ee))) {
|
|
3325
3325
|
var Mt = Si(Re, Ee);
|
|
3326
3326
|
return Mt && v(fi, Ee) && !(v(Re, Ye) && Re[Ye][Ee]) && (Mt.enumerable = !0), Mt;
|
|
3327
3327
|
}
|
|
@@ -3331,7 +3331,7 @@ const Wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3331
3331
|
!v(fi, Ee) && !v(A, Ee) && Re.push(Ee);
|
|
3332
3332
|
}), Re;
|
|
3333
3333
|
}, Ve = function (oe) {
|
|
3334
|
-
var ge = oe === mt, Re = Bs(ge ?
|
|
3334
|
+
var ge = oe === mt, Re = Bs(ge ? nn : x(oe)), Ee = [];
|
|
3335
3335
|
return ye(Re, function (Mt) {
|
|
3336
3336
|
v(fi, Mt) && (!ge || v(mt, Mt)) && Ee.push(fi[Mt]);
|
|
3337
3337
|
}), Ee;
|
|
@@ -3340,11 +3340,11 @@ const Wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3340
3340
|
if (this instanceof gt)
|
|
3341
3341
|
throw TypeError("Symbol is not a constructor");
|
|
3342
3342
|
var oe = !arguments.length || arguments[0] === void 0 ? void 0 : String(arguments[0]), ge = J(oe), Re = function (Ee) {
|
|
3343
|
-
this === mt && Re.call(
|
|
3343
|
+
this === mt && Re.call(nn, Ee), v(this, Ye) && v(this[Ye], ge) && (this[Ye][ge] = !1), Ar(this, ge, Q(1, Ee));
|
|
3344
3344
|
};
|
|
3345
3345
|
return c && Xr && Ar(mt, ge, { configurable: !0, set: Re }), Vr(ge, oe);
|
|
3346
3346
|
}, q(gt[dt], "toString", function () {
|
|
3347
|
-
return
|
|
3347
|
+
return tn(this).tag;
|
|
3348
3348
|
}), q(gt, "withoutSetter", function (Se) {
|
|
3349
3349
|
return Vr(J(Se), Se);
|
|
3350
3350
|
}), X.f = se, E.f = D, Z.f = _e, R.f = y.f = Pe, w.f = Ve, ie.f = function (Se) {
|
|
@@ -3352,7 +3352,7 @@ const Wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3352
3352
|
}, c && (Qi(gt[dt], "description", {
|
|
3353
3353
|
configurable: !0,
|
|
3354
3354
|
get: function () {
|
|
3355
|
-
return
|
|
3355
|
+
return tn(this).description;
|
|
3356
3356
|
}
|
|
3357
3357
|
}), h || q(mt, "propertyIsEnumerable", se, { unsafe: !0 }))), o({ global: !0, wrap: !0, forced: !f, sham: !f }, {
|
|
3358
3358
|
Symbol: gt
|
|
@@ -4409,7 +4409,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4409
4409
|
function Li (M, D, W) {
|
|
4410
4410
|
return D && zt(M.prototype, D), W && zt(M, W), M;
|
|
4411
4411
|
}
|
|
4412
|
-
var
|
|
4412
|
+
var tn = function (D) {
|
|
4413
4413
|
var W = D.el;
|
|
4414
4414
|
return W;
|
|
4415
4415
|
}, mt = function (D, W) {
|
|
@@ -4436,7 +4436,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4436
4436
|
value: function () {
|
|
4437
4437
|
var W = this.defaultNodes, B = this.realList;
|
|
4438
4438
|
W.forEach(function (se, _e) {
|
|
4439
|
-
mt(
|
|
4439
|
+
mt(tn(se), {
|
|
4440
4440
|
element: B[_e],
|
|
4441
4441
|
index: _e
|
|
4442
4442
|
});
|
|
@@ -4458,7 +4458,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4458
4458
|
return rt.index;
|
|
4459
4459
|
if (_e === 0)
|
|
4460
4460
|
return 0;
|
|
4461
|
-
var Se =
|
|
4461
|
+
var Se = tn(se[0]), oe = Q(Pe).findIndex(function (ge) {
|
|
4462
4462
|
return ge === Se;
|
|
4463
4463
|
});
|
|
4464
4464
|
return W < oe ? 0 : _e;
|
|
@@ -4518,7 +4518,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4518
4518
|
realList: B
|
|
4519
4519
|
});
|
|
4520
4520
|
}
|
|
4521
|
-
function
|
|
4521
|
+
function nn (M, D) {
|
|
4522
4522
|
var W = this;
|
|
4523
4523
|
Object(Si.nextTick)(function () {
|
|
4524
4524
|
return W.$emit(M.toLowerCase(), D);
|
|
@@ -4534,7 +4534,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4534
4534
|
function Rr (M) {
|
|
4535
4535
|
var D = this, W = jn.call(this, M);
|
|
4536
4536
|
return function (B, se) {
|
|
4537
|
-
W.call(D, B, se),
|
|
4537
|
+
W.call(D, B, se), nn.call(D, M, B);
|
|
4538
4538
|
};
|
|
4539
4539
|
}
|
|
4540
4540
|
var Zr = null, Er = {
|
|
@@ -4621,7 +4621,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4621
4621
|
return Rr.call(D, rt);
|
|
4622
4622
|
},
|
|
4623
4623
|
emit: function (rt) {
|
|
4624
|
-
return
|
|
4624
|
+
return nn.bind(D, rt);
|
|
4625
4625
|
},
|
|
4626
4626
|
manage: function (rt) {
|
|
4627
4627
|
return jn.call(D, rt);
|
|
@@ -5007,7 +5007,7 @@ const qo = (n) => (C1("data-v-45eeeaeb"), n = n(), R1(), n), qv = { class: "fiel
|
|
|
5007
5007
|
break;
|
|
5008
5008
|
}
|
|
5009
5009
|
} else
|
|
5010
|
-
|
|
5010
|
+
un.warning("当前位置不合适");
|
|
5011
5011
|
} else if (L.dataTransfer.effectAllowed === "move") {
|
|
5012
5012
|
let { type: A, index: J } = JSON.parse(L.dataTransfer.getData("application/json")), { area: I, index: ie } = U.dataset;
|
|
5013
5013
|
if (A && I)
|
|
@@ -5016,7 +5016,7 @@ const qo = (n) => (C1("data-v-45eeeaeb"), n = n(), R1(), n), qv = { class: "fiel
|
|
|
5016
5016
|
let me = t.statement.params.splice(J, 1)[0];
|
|
5017
5017
|
t.statement.params.splice(parseInt(ie), 0, me);
|
|
5018
5018
|
} else
|
|
5019
|
-
|
|
5019
|
+
un.warning("拖放无效");
|
|
5020
5020
|
else {
|
|
5021
5021
|
let me;
|
|
5022
5022
|
switch (A) {
|
|
@@ -5043,9 +5043,9 @@ const qo = (n) => (C1("data-v-45eeeaeb"), n = n(), R1(), n), qv = { class: "fiel
|
|
|
5043
5043
|
}
|
|
5044
5044
|
}
|
|
5045
5045
|
else
|
|
5046
|
-
|
|
5046
|
+
un.warning("拖放无效");
|
|
5047
5047
|
} else
|
|
5048
|
-
|
|
5048
|
+
un.warning("拖放无效");
|
|
5049
5049
|
}
|
|
5050
5050
|
function o (L) {
|
|
5051
5051
|
L.preventDefault();
|
|
@@ -6374,7 +6374,7 @@ class ft extends Ai {
|
|
|
6374
6374
|
let h = Math.min(s.len, l - o);
|
|
6375
6375
|
$t(r, h, -1);
|
|
6376
6376
|
let c = s.ins == -1 ? -1 : s.off == 0 ? s.ins : 0;
|
|
6377
|
-
$t(t, h, c), c > 0 &&
|
|
6377
|
+
$t(t, h, c), c > 0 && fn(i, t, s.text), s.forward(h), o += h;
|
|
6378
6378
|
}
|
|
6379
6379
|
let u = e[a++];
|
|
6380
6380
|
for (; o < u;) {
|
|
@@ -6428,7 +6428,7 @@ class ft extends Ai {
|
|
|
6428
6428
|
let p = d ? typeof d == "string" ? Ze.of(d.split(i || Ru)) : d : Ze.empty, v = p.length;
|
|
6429
6429
|
if (c == f && v == 0)
|
|
6430
6430
|
return;
|
|
6431
|
-
c < a && l(), c > a && $t(r, c - a, -1), $t(r, f - c, v),
|
|
6431
|
+
c < a && l(), c > a && $t(r, c - a, -1), $t(r, f - c, v), fn(s, r, p), a = f;
|
|
6432
6432
|
}
|
|
6433
6433
|
}
|
|
6434
6434
|
return u(e), l(!o), o;
|
|
@@ -6478,7 +6478,7 @@ function $t (n, e, t, i = !1) {
|
|
|
6478
6478
|
let r = n.length - 2;
|
|
6479
6479
|
r >= 0 && t <= 0 && t == n[r + 1] ? n[r] += e : r >= 0 && e == 0 && n[r] == 0 ? n[r + 1] += t : i ? (n[r] += e, n[r + 1] += t) : n.push(e, t);
|
|
6480
6480
|
}
|
|
6481
|
-
function
|
|
6481
|
+
function fn (n, e, t) {
|
|
6482
6482
|
if (t.length == 0)
|
|
6483
6483
|
return;
|
|
6484
6484
|
let i = e.length - 2 >> 1;
|
|
@@ -6516,7 +6516,7 @@ function Eu (n, e, t, i = !1) {
|
|
|
6516
6516
|
let u = o.len;
|
|
6517
6517
|
for ($t(r, o.ins, -1); u;) {
|
|
6518
6518
|
let h = Math.min(a.len, u);
|
|
6519
|
-
a.ins >= 0 && l < a.i && a.len <= h && ($t(r, 0, a.ins), s &&
|
|
6519
|
+
a.ins >= 0 && l < a.i && a.len <= h && ($t(r, 0, a.ins), s && fn(s, r, a.text), l = a.i), a.forward(h), u -= h;
|
|
6520
6520
|
}
|
|
6521
6521
|
o.next();
|
|
6522
6522
|
} else if (a.ins >= 0) {
|
|
@@ -6529,7 +6529,7 @@ function Eu (n, e, t, i = !1) {
|
|
|
6529
6529
|
h -= o.len, o.next();
|
|
6530
6530
|
else
|
|
6531
6531
|
break;
|
|
6532
|
-
$t(r, u, l < a.i ? a.ins : 0), s && l < a.i &&
|
|
6532
|
+
$t(r, u, l < a.i ? a.ins : 0), s && l < a.i && fn(s, r, a.text), l = a.i, a.forward(a.len - h);
|
|
6533
6533
|
} else {
|
|
6534
6534
|
if (a.done && o.done)
|
|
6535
6535
|
return s ? ft.createSet(r, s) : Ai.create(r);
|
|
@@ -6545,7 +6545,7 @@ function DO (n, e, t = !1) {
|
|
|
6545
6545
|
if (s.ins == 0)
|
|
6546
6546
|
$t(i, s.len, 0, o), s.next();
|
|
6547
6547
|
else if (a.len == 0 && !a.done)
|
|
6548
|
-
$t(i, 0, a.ins, o), r &&
|
|
6548
|
+
$t(i, 0, a.ins, o), r && fn(r, i, a.text), a.next();
|
|
6549
6549
|
else {
|
|
6550
6550
|
if (s.done || a.done)
|
|
6551
6551
|
throw new Error("Mismatched change set lengths");
|
|
@@ -6553,9 +6553,9 @@ function DO (n, e, t = !1) {
|
|
|
6553
6553
|
let l = Math.min(s.len2, a.len), u = i.length;
|
|
6554
6554
|
if (s.ins == -1) {
|
|
6555
6555
|
let h = a.ins == -1 ? -1 : a.off ? 0 : a.ins;
|
|
6556
|
-
$t(i, l, h, o), r && h &&
|
|
6556
|
+
$t(i, l, h, o), r && h && fn(r, i, a.text);
|
|
6557
6557
|
} else
|
|
6558
|
-
a.ins == -1 ? ($t(i, s.off ? 0 : s.len, l, o), r &&
|
|
6558
|
+
a.ins == -1 ? ($t(i, s.off ? 0 : s.len, l, o), r && fn(r, i, s.textBit(l))) : ($t(i, s.off ? 0 : s.len, a.off ? 0 : a.ins, o), r && !a.off && fn(r, i, a.text));
|
|
6559
6559
|
o = (s.ins > l || a.ins >= 0 && a.len > l) && (o || i.length > u), s.forward2(l), a.forward(l);
|
|
6560
6560
|
}
|
|
6561
6561
|
}
|
|
@@ -7160,7 +7160,7 @@ const LO = /* @__PURE__ */ re.define(), Vu = /* @__PURE__ */ re.define({
|
|
|
7160
7160
|
}), IO = /* @__PURE__ */ re.define(), WO = /* @__PURE__ */ re.define(), jO = /* @__PURE__ */ re.define(), NO = /* @__PURE__ */ re.define({
|
|
7161
7161
|
combine: (n) => n.length ? n[0] : !1
|
|
7162
7162
|
});
|
|
7163
|
-
class
|
|
7163
|
+
class Ji {
|
|
7164
7164
|
/**
|
|
7165
7165
|
@internal
|
|
7166
7166
|
*/
|
|
@@ -7179,7 +7179,7 @@ class ay {
|
|
|
7179
7179
|
Create an instance of this annotation.
|
|
7180
7180
|
*/
|
|
7181
7181
|
of (e) {
|
|
7182
|
-
return new
|
|
7182
|
+
return new Ji(this, e);
|
|
7183
7183
|
}
|
|
7184
7184
|
}
|
|
7185
7185
|
class oy {
|
|
@@ -7319,10 +7319,10 @@ class lt {
|
|
|
7319
7319
|
return !!(t && (t == e || t.length > e.length && t.slice(0, e.length) == e && t[e.length] == "."));
|
|
7320
7320
|
}
|
|
7321
7321
|
}
|
|
7322
|
-
lt.time = /* @__PURE__ */
|
|
7323
|
-
lt.userEvent = /* @__PURE__ */
|
|
7324
|
-
lt.addToHistory = /* @__PURE__ */
|
|
7325
|
-
lt.remote = /* @__PURE__ */
|
|
7322
|
+
lt.time = /* @__PURE__ */ Ji.define();
|
|
7323
|
+
lt.userEvent = /* @__PURE__ */ Ji.define();
|
|
7324
|
+
lt.addToHistory = /* @__PURE__ */ Ji.define();
|
|
7325
|
+
lt.remote = /* @__PURE__ */ Ji.define();
|
|
7326
7326
|
function ly (n, e) {
|
|
7327
7327
|
let t = [];
|
|
7328
7328
|
for (let i = 0, r = 0; ;) {
|
|
@@ -7862,7 +7862,7 @@ class Ae {
|
|
|
7862
7862
|
return this;
|
|
7863
7863
|
if (i && (t = t.slice().sort(Lu)), this.isEmpty)
|
|
7864
7864
|
return t.length ? Ae.of(t) : this;
|
|
7865
|
-
let o = new BO(this, null, -1).goto(0), l = 0, u = [], h = new
|
|
7865
|
+
let o = new BO(this, null, -1).goto(0), l = 0, u = [], h = new Bi();
|
|
7866
7866
|
for (; o.value || l < t.length;)
|
|
7867
7867
|
if (l < t.length && (o.from - t[l].from || o.startSide - t[l].value.startSide) >= 0) {
|
|
7868
7868
|
let c = t[l++];
|
|
@@ -7983,7 +7983,7 @@ class Ae {
|
|
|
7983
7983
|
cause the method to sort them.
|
|
7984
7984
|
*/
|
|
7985
7985
|
static of (e, t = !1) {
|
|
7986
|
-
let i = new
|
|
7986
|
+
let i = new Bi();
|
|
7987
7987
|
for (let r of e instanceof Yu ? [e] : t ? Oy(e) : e)
|
|
7988
7988
|
i.add(r.from, r.to, r.value);
|
|
7989
7989
|
return i.finish();
|
|
@@ -8013,7 +8013,7 @@ function Oy (n) {
|
|
|
8013
8013
|
return n;
|
|
8014
8014
|
}
|
|
8015
8015
|
Ae.empty.nextLayer = Ae.empty;
|
|
8016
|
-
class
|
|
8016
|
+
class Bi {
|
|
8017
8017
|
finishChunk (e) {
|
|
8018
8018
|
this.chunks.push(new Wh(this.from, this.to, this.value, this.maxPoint)), this.chunkPos.push(this.chunkStart), this.chunkStart = -1, this.setMaxPoint = Math.max(this.setMaxPoint, this.maxPoint), this.maxPoint = -1, e && (this.from = [], this.to = [], this.value = []);
|
|
8019
8019
|
}
|
|
@@ -8028,7 +8028,7 @@ class Gi {
|
|
|
8028
8028
|
`value.startSide`) order.
|
|
8029
8029
|
*/
|
|
8030
8030
|
add (e, t, i) {
|
|
8031
|
-
this.addInner(e, t, i) || (this.nextLayer || (this.nextLayer = new
|
|
8031
|
+
this.addInner(e, t, i) || (this.nextLayer || (this.nextLayer = new Bi())).add(e, t, i);
|
|
8032
8032
|
}
|
|
8033
8033
|
/**
|
|
8034
8034
|
@internal
|
|
@@ -9055,7 +9055,7 @@ class bi extends We {
|
|
|
9055
9055
|
return $y(this.dom, e, t);
|
|
9056
9056
|
}
|
|
9057
9057
|
}
|
|
9058
|
-
class
|
|
9058
|
+
class Fi extends We {
|
|
9059
9059
|
constructor (e, t = [], i = 0) {
|
|
9060
9060
|
super(), this.mark = e, this.children = t, this.length = i;
|
|
9061
9061
|
for (let r of t)
|
|
@@ -9077,7 +9077,7 @@ class Bi extends We {
|
|
|
9077
9077
|
this.dom ? this.flags & 4 && this.setAttrs(this.dom) : this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))), super.sync(e, t);
|
|
9078
9078
|
}
|
|
9079
9079
|
merge (e, t, i, r, s, a) {
|
|
9080
|
-
return i && (!(i instanceof
|
|
9080
|
+
return i && (!(i instanceof Fi && i.mark.eq(this.mark)) || e && s <= 0 || t < this.length && a <= 0) ? !1 : (rm(this, e, t, i ? i.children.slice() : [], s - 1, a - 1), this.markDirty(), !0);
|
|
9081
9081
|
}
|
|
9082
9082
|
split (e) {
|
|
9083
9083
|
let t = [], i = 0, r = -1, s = 0;
|
|
@@ -9086,7 +9086,7 @@ class Bi extends We {
|
|
|
9086
9086
|
l > e && t.push(i < e ? o.split(e - i) : o), r < 0 && i >= e && (r = s), i = l, s++;
|
|
9087
9087
|
}
|
|
9088
9088
|
let a = this.length - e;
|
|
9089
|
-
return this.length = e, r > -1 && (this.children.length = r, this.markDirty()), new
|
|
9089
|
+
return this.length = e, r > -1 && (this.children.length = r, this.markDirty()), new Fi(this.mark, t, a);
|
|
9090
9090
|
}
|
|
9091
9091
|
domAtPos (e) {
|
|
9092
9092
|
return om(this, e);
|
|
@@ -9106,15 +9106,15 @@ function $y (n, e, t) {
|
|
|
9106
9106
|
let l = o[(a ? a < 0 : t >= 0) ? 0 : o.length - 1];
|
|
9107
9107
|
return ne.safari && !a && l.width == 0 && (l = Array.prototype.find.call(o, (u) => u.width) || l), a ? Go(l, a < 0) : l || null;
|
|
9108
9108
|
}
|
|
9109
|
-
class
|
|
9109
|
+
class dn extends We {
|
|
9110
9110
|
static create (e, t, i) {
|
|
9111
|
-
return new
|
|
9111
|
+
return new dn(e, t, i);
|
|
9112
9112
|
}
|
|
9113
9113
|
constructor (e, t, i) {
|
|
9114
9114
|
super(), this.widget = e, this.length = t, this.side = i, this.prevWidget = null;
|
|
9115
9115
|
}
|
|
9116
9116
|
split (e) {
|
|
9117
|
-
let t =
|
|
9117
|
+
let t = dn.create(this.widget, this.length - e, this.side);
|
|
9118
9118
|
return this.length -= e, t;
|
|
9119
9119
|
}
|
|
9120
9120
|
sync (e) {
|
|
@@ -9124,10 +9124,10 @@ class fn extends We {
|
|
|
9124
9124
|
return this.side;
|
|
9125
9125
|
}
|
|
9126
9126
|
merge (e, t, i, r, s, a) {
|
|
9127
|
-
return i && (!(i instanceof
|
|
9127
|
+
return i && (!(i instanceof dn) || !this.widget.compare(i.widget) || e > 0 && s <= 0 || t < this.length && a <= 0) ? !1 : (this.length = e + (i ? i.length : 0) + (this.length - t), !0);
|
|
9128
9128
|
}
|
|
9129
9129
|
become (e) {
|
|
9130
|
-
return e instanceof
|
|
9130
|
+
return e instanceof dn && e.side == this.side && this.widget.constructor == e.widget.constructor ? (this.widget.compare(e.widget) || this.markDirty(!0), this.dom && !this.prevWidget && (this.prevWidget = this.widget), this.widget = e.widget, this.length = e.length, !0) : !1;
|
|
9131
9131
|
}
|
|
9132
9132
|
ignoreMutation () {
|
|
9133
9133
|
return !0;
|
|
@@ -9219,7 +9219,7 @@ class Or extends We {
|
|
|
9219
9219
|
return !0;
|
|
9220
9220
|
}
|
|
9221
9221
|
}
|
|
9222
|
-
bi.prototype.children =
|
|
9222
|
+
bi.prototype.children = dn.prototype.children = Or.prototype.children = jh;
|
|
9223
9223
|
function om (n, e) {
|
|
9224
9224
|
let t = n.dom, { children: i } = n, r = 0;
|
|
9225
9225
|
for (let s = 0; r < i.length; r++) {
|
|
@@ -9246,7 +9246,7 @@ function om (n, e) {
|
|
|
9246
9246
|
}
|
|
9247
9247
|
function lm (n, e, t) {
|
|
9248
9248
|
let i, { children: r } = n;
|
|
9249
|
-
t > 0 && e instanceof
|
|
9249
|
+
t > 0 && e instanceof Fi && r.length && (i = r[r.length - 1]) instanceof Fi && i.mark.eq(e.mark) ? lm(i, e.children[0], t - 1) : (r.push(e), e.setParent(n)), n.length += e.length;
|
|
9250
9250
|
}
|
|
9251
9251
|
function um (n, e, t) {
|
|
9252
9252
|
let i = null, r = -1, s = null, a = -1;
|
|
@@ -9303,7 +9303,7 @@ function Ty (n) {
|
|
|
9303
9303
|
}
|
|
9304
9304
|
return e;
|
|
9305
9305
|
}
|
|
9306
|
-
class
|
|
9306
|
+
class en {
|
|
9307
9307
|
/**
|
|
9308
9308
|
Compare this instance to another instance of the same type.
|
|
9309
9309
|
(TypeScript can't express this, but only instances of the same
|
|
@@ -9571,7 +9571,7 @@ class ot extends We {
|
|
|
9571
9571
|
var i;
|
|
9572
9572
|
this.dom ? this.flags & 4 && (KO(this.dom), this.dom.className = "cm-line", this.prevAttrs = this.attrs ? null : void 0) : (this.setDOM(document.createElement("div")), this.dom.className = "cm-line", this.prevAttrs = this.attrs ? null : void 0), this.prevAttrs !== void 0 && (Fu(this.dom, this.prevAttrs, this.attrs), this.dom.classList.add("cm-line"), this.prevAttrs = void 0), super.sync(e, t);
|
|
9573
9573
|
let r = this.dom.lastChild;
|
|
9574
|
-
for (; r && We.get(r) instanceof
|
|
9574
|
+
for (; r && We.get(r) instanceof Fi;)
|
|
9575
9575
|
r = r.lastChild;
|
|
9576
9576
|
if (!r || !this.length || r.nodeName != "BR" && ((i = We.get(r)) === null || i === void 0 ? void 0 : i.isEditable) == !1 && (!ne.ios || !this.children.some((s) => s instanceof bi))) {
|
|
9577
9577
|
let s = document.createElement("BR");
|
|
@@ -9627,12 +9627,12 @@ class ot extends We {
|
|
|
9627
9627
|
return null;
|
|
9628
9628
|
}
|
|
9629
9629
|
}
|
|
9630
|
-
class
|
|
9630
|
+
class zi extends We {
|
|
9631
9631
|
constructor (e, t, i) {
|
|
9632
9632
|
super(), this.widget = e, this.length = t, this.deco = i, this.breakAfter = 0, this.prevWidget = null;
|
|
9633
9633
|
}
|
|
9634
9634
|
merge (e, t, i, r, s, a) {
|
|
9635
|
-
return i && (!(i instanceof
|
|
9635
|
+
return i && (!(i instanceof zi) || !this.widget.compare(i.widget) || e > 0 && s <= 0 || t < this.length && a <= 0) ? !1 : (this.length = e + (i ? i.length : 0) + (this.length - t), !0);
|
|
9636
9636
|
}
|
|
9637
9637
|
domAtPos (e) {
|
|
9638
9638
|
return e == 0 ? Tt.before(this.dom) : Tt.after(this.dom, e == this.length);
|
|
@@ -9640,7 +9640,7 @@ class qi extends We {
|
|
|
9640
9640
|
split (e) {
|
|
9641
9641
|
let t = this.length - e;
|
|
9642
9642
|
this.length = e;
|
|
9643
|
-
let i = new
|
|
9643
|
+
let i = new zi(this.widget, t, this.deco);
|
|
9644
9644
|
return i.breakAfter = this.breakAfter, i;
|
|
9645
9645
|
}
|
|
9646
9646
|
get children () {
|
|
@@ -9656,7 +9656,7 @@ class qi extends We {
|
|
|
9656
9656
|
return null;
|
|
9657
9657
|
}
|
|
9658
9658
|
become (e) {
|
|
9659
|
-
return e instanceof
|
|
9659
|
+
return e instanceof zi && e.widget.constructor == this.widget.constructor ? (e.widget.compare(this.widget) || this.markDirty(!0), this.dom && !this.prevWidget && (this.prevWidget = this.widget), this.widget = e.widget, this.length = e.length, this.deco = e.deco, this.breakAfter = e.breakAfter, !0) : !1;
|
|
9660
9660
|
}
|
|
9661
9661
|
ignoreMutation () {
|
|
9662
9662
|
return !0;
|
|
@@ -9682,7 +9682,7 @@ class qi extends We {
|
|
|
9682
9682
|
return t == i ? !1 : e < 0 ? t < 0 : i > 0;
|
|
9683
9683
|
}
|
|
9684
9684
|
}
|
|
9685
|
-
class Hu extends
|
|
9685
|
+
class Hu extends en {
|
|
9686
9686
|
constructor (e) {
|
|
9687
9687
|
super(), this.height = e;
|
|
9688
9688
|
}
|
|
@@ -9714,7 +9714,7 @@ class Os {
|
|
|
9714
9714
|
if (this.content.length == 0)
|
|
9715
9715
|
return !this.breakAtStart && this.doc.lineAt(this.pos).from != this.pos;
|
|
9716
9716
|
let e = this.content[this.content.length - 1];
|
|
9717
|
-
return !(e.breakAfter || e instanceof
|
|
9717
|
+
return !(e.breakAfter || e instanceof zi && e.deco.endSide < 0);
|
|
9718
9718
|
}
|
|
9719
9719
|
getLine () {
|
|
9720
9720
|
return this.curLine || (this.content.push(this.curLine = new ot()), this.atCursorPos = !0), this.curLine;
|
|
@@ -9726,7 +9726,7 @@ class Os {
|
|
|
9726
9726
|
this.flushBuffer(), this.curLine = null, this.content.push(e);
|
|
9727
9727
|
}
|
|
9728
9728
|
finish (e) {
|
|
9729
|
-
this.pendingBuffer && e <= this.bufferMarks.length ? this.flushBuffer() : this.pendingBuffer = 0, !this.posCovered() && !(e && this.content.length && this.content[this.content.length - 1] instanceof
|
|
9729
|
+
this.pendingBuffer && e <= this.bufferMarks.length ? this.flushBuffer() : this.pendingBuffer = 0, !this.posCovered() && !(e && this.content.length && this.content[this.content.length - 1] instanceof zi) && this.getLine();
|
|
9730
9730
|
}
|
|
9731
9731
|
buildText (e, t, i) {
|
|
9732
9732
|
for (; e > 0;) {
|
|
@@ -9762,9 +9762,9 @@ class Os {
|
|
|
9762
9762
|
let o = t - e;
|
|
9763
9763
|
if (i instanceof bn)
|
|
9764
9764
|
if (i.block)
|
|
9765
|
-
i.startSide > 0 && !this.posCovered() && this.getLine(), this.addBlockWidget(new
|
|
9765
|
+
i.startSide > 0 && !this.posCovered() && this.getLine(), this.addBlockWidget(new zi(i.widget || mr.block, o, i));
|
|
9766
9766
|
else {
|
|
9767
|
-
let l =
|
|
9767
|
+
let l = dn.create(i.widget || mr.inline, o, o ? 0 : i.startSide), u = this.atCursorPos && !l.isEditable && s <= r.length && (e < t || i.startSide > 0), h = !l.isEditable && (e < t || s > r.length || i.startSide <= 0), c = this.getLine();
|
|
9768
9768
|
this.pendingBuffer == 2 && !u && !l.isEditable && (this.pendingBuffer = 0), this.flushBuffer(r), u && (c.append(ua(new Or(1), r), s), s = r.length + Math.max(0, s - r.length)), c.append(ua(l, r), s), this.atCursorPos = h, this.pendingBuffer = h ? e < t || s > r.length ? 1 : 2 : 0, this.pendingBuffer && (this.bufferMarks = r.slice());
|
|
9769
9769
|
}
|
|
9770
9770
|
else
|
|
@@ -9778,10 +9778,10 @@ class Os {
|
|
|
9778
9778
|
}
|
|
9779
9779
|
function ua (n, e) {
|
|
9780
9780
|
for (let t of e)
|
|
9781
|
-
n = new
|
|
9781
|
+
n = new Fi(t, [n], n.length);
|
|
9782
9782
|
return n;
|
|
9783
9783
|
}
|
|
9784
|
-
class mr extends
|
|
9784
|
+
class mr extends en {
|
|
9785
9785
|
constructor (e) {
|
|
9786
9786
|
super(), this.tag = e;
|
|
9787
9787
|
}
|
|
@@ -9819,7 +9819,7 @@ function fm (n) {
|
|
|
9819
9819
|
return n <= 247 ? Ry[n] : 1424 <= n && n <= 1524 ? 2 : 1536 <= n && n <= 1785 ? Zy[n - 1536] : 1774 <= n && n <= 2220 ? 4 : 8192 <= n && n <= 8204 ? 256 : 64336 <= n && n <= 65023 ? 4 : 1;
|
|
9820
9820
|
}
|
|
9821
9821
|
const Ey = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;
|
|
9822
|
-
class
|
|
9822
|
+
class pn {
|
|
9823
9823
|
/**
|
|
9824
9824
|
The direction of this span.
|
|
9825
9825
|
*/
|
|
@@ -9990,7 +9990,7 @@ function Ju (n, e, t, i, r, s, a) {
|
|
|
9990
9990
|
if (u++, f)
|
|
9991
9991
|
f.push(v);
|
|
9992
9992
|
else {
|
|
9993
|
-
v.from > l && a.push(new
|
|
9993
|
+
v.from > l && a.push(new pn(l, v.from, d));
|
|
9994
9994
|
let m = v.direction == In != !(d % 2);
|
|
9995
9995
|
eh(n, m ? i + 1 : i, r, v.inner, v.from, v.to, a), l = v.to;
|
|
9996
9996
|
}
|
|
@@ -10000,7 +10000,7 @@ function Ju (n, e, t, i, r, s, a) {
|
|
|
10000
10000
|
break;
|
|
10001
10001
|
p++;
|
|
10002
10002
|
}
|
|
10003
|
-
f ? Ju(n, l, p, i + 1, r, f, a) : l < p && a.push(new
|
|
10003
|
+
f ? Ju(n, l, p, i + 1, r, f, a) : l < p && a.push(new pn(l, p, d)), l = p;
|
|
10004
10004
|
}
|
|
10005
10005
|
else
|
|
10006
10006
|
for (let l = t, u = s.length; l > e;) {
|
|
@@ -10031,7 +10031,7 @@ function Ju (n, e, t, i, r, s, a) {
|
|
|
10031
10031
|
if (f)
|
|
10032
10032
|
f.push(v);
|
|
10033
10033
|
else {
|
|
10034
|
-
v.to < l && a.push(new
|
|
10034
|
+
v.to < l && a.push(new pn(v.to, l, d));
|
|
10035
10035
|
let m = v.direction == In != !(d % 2);
|
|
10036
10036
|
eh(n, m ? i + 1 : i, r, v.inner, v.from, v.to, a), l = v.from;
|
|
10037
10037
|
}
|
|
@@ -10041,7 +10041,7 @@ function Ju (n, e, t, i, r, s, a) {
|
|
|
10041
10041
|
break;
|
|
10042
10042
|
p--;
|
|
10043
10043
|
}
|
|
10044
|
-
f ? Ju(n, p, l, i + 1, r, f, a) : p < l && a.push(new
|
|
10044
|
+
f ? Ju(n, p, l, i + 1, r, f, a) : p < l && a.push(new pn(p, l, d)), l = p;
|
|
10045
10045
|
}
|
|
10046
10046
|
}
|
|
10047
10047
|
function eh (n, e, t, i, r, s, a) {
|
|
@@ -10050,7 +10050,7 @@ function eh (n, e, t, i, r, s, a) {
|
|
|
10050
10050
|
}
|
|
10051
10051
|
function Dy (n, e, t) {
|
|
10052
10052
|
if (!n)
|
|
10053
|
-
return [new
|
|
10053
|
+
return [new pn(0, 0, e == Nh ? 1 : 0)];
|
|
10054
10054
|
if (e == In && !t.length && !Ey.test(n))
|
|
10055
10055
|
return pm(n.length);
|
|
10056
10056
|
if (t.length)
|
|
@@ -10060,12 +10060,12 @@ function Dy (n, e, t) {
|
|
|
10060
10060
|
return eh(n, r, r, t, 0, n.length, i), i;
|
|
10061
10061
|
}
|
|
10062
10062
|
function pm (n) {
|
|
10063
|
-
return [new
|
|
10063
|
+
return [new pn(0, n, 0)];
|
|
10064
10064
|
}
|
|
10065
10065
|
let Om = "";
|
|
10066
10066
|
function My (n, e, t, i, r) {
|
|
10067
10067
|
var s;
|
|
10068
|
-
let a = i.head - n.from, o =
|
|
10068
|
+
let a = i.head - n.from, o = pn.find(e, a, (s = i.bidiLevel) !== null && s !== void 0 ? s : -1, i.assoc), l = e[o], u = l.side(r, t);
|
|
10069
10069
|
if (a == u) {
|
|
10070
10070
|
let f = o += r ? 1 : -1;
|
|
10071
10071
|
if (f < 0 || f >= e.length)
|
|
@@ -10358,7 +10358,7 @@ class wf extends We {
|
|
|
10358
10358
|
let s = [];
|
|
10359
10359
|
if (this.view.viewport.from || this.view.viewport.to < this.view.state.doc.length)
|
|
10360
10360
|
for (let a of this.children)
|
|
10361
|
-
a instanceof
|
|
10361
|
+
a instanceof zi && a.widget instanceof Hu && s.push(a.dom);
|
|
10362
10362
|
r.updateGaps(s);
|
|
10363
10363
|
}
|
|
10364
10364
|
updateChildren (e, t, i) {
|
|
@@ -10390,7 +10390,7 @@ class wf extends We {
|
|
|
10390
10390
|
let t = new bi(e.text.nodeValue);
|
|
10391
10391
|
t.flags |= 8;
|
|
10392
10392
|
for (let { deco: r } of e.marks)
|
|
10393
|
-
t = new
|
|
10393
|
+
t = new Fi(r, [t], t.length);
|
|
10394
10394
|
let i = new ot();
|
|
10395
10395
|
return i.append(t, 0), i;
|
|
10396
10396
|
}
|
|
@@ -10522,7 +10522,7 @@ class wf extends We {
|
|
|
10522
10522
|
break;
|
|
10523
10523
|
if (u <= e && (u < e || o.covers(-1)) && (l > e || o.covers(1)) && (!i || o instanceof ot && !(i instanceof ot && t >= 0)))
|
|
10524
10524
|
i = o, r = u;
|
|
10525
|
-
else if (i && u == e && l == e && o instanceof
|
|
10525
|
+
else if (i && u == e && l == e && o instanceof zi && Math.abs(t) < 2) {
|
|
10526
10526
|
if (o.deco.startSide < 0)
|
|
10527
10527
|
break;
|
|
10528
10528
|
a && (i = null);
|
|
@@ -10696,7 +10696,7 @@ function Iy (n, e, t) {
|
|
|
10696
10696
|
let l = e.invertedDesc, u = new oi(l.mapPos(s), l.mapPos(a), s, a), h = [];
|
|
10697
10697
|
for (let c = r.parentNode; ; c = c.parentNode) {
|
|
10698
10698
|
let f = We.get(c);
|
|
10699
|
-
if (f instanceof
|
|
10699
|
+
if (f instanceof Fi)
|
|
10700
10700
|
h.push({ node: c, deco: f.mark });
|
|
10701
10701
|
else {
|
|
10702
10702
|
if (f instanceof ot || c.nodeName == "DIV" && c.parentNode == n.contentDOM)
|
|
@@ -11634,7 +11634,7 @@ yi.copy = yi.cut = (n, e) => {
|
|
|
11634
11634
|
let s = Am ? null : e.clipboardData;
|
|
11635
11635
|
return s ? (s.clearData(), s.setData("text/plain", t), !0) : (Q_(n, t), !1);
|
|
11636
11636
|
};
|
|
11637
|
-
const Mm = /* @__PURE__ */
|
|
11637
|
+
const Mm = /* @__PURE__ */ Ji.define();
|
|
11638
11638
|
function Ym (n, e) {
|
|
11639
11639
|
let t = [];
|
|
11640
11640
|
for (let i of n.facet(_m)) {
|
|
@@ -12204,7 +12204,7 @@ class kl {
|
|
|
12204
12204
|
}).range(this.from, this.to);
|
|
12205
12205
|
}
|
|
12206
12206
|
}
|
|
12207
|
-
class A_ extends
|
|
12207
|
+
class A_ extends en {
|
|
12208
12208
|
constructor (e, t) {
|
|
12209
12209
|
super(), this.size = e, this.vertical = t;
|
|
12210
12210
|
}
|
|
@@ -13713,7 +13713,7 @@ class te {
|
|
|
13713
13713
|
let i = this.docView.coordsAt(e, t);
|
|
13714
13714
|
if (!i || i.left == i.right)
|
|
13715
13715
|
return i;
|
|
13716
|
-
let r = this.state.doc.lineAt(e), s = this.bidiSpans(r), a = s[
|
|
13716
|
+
let r = this.state.doc.lineAt(e), s = this.bidiSpans(r), a = s[pn.find(s, e - r.from, -1, t)];
|
|
13717
13717
|
return Go(i, a.dir == ze.LTR == t > 0);
|
|
13718
13718
|
}
|
|
13719
13719
|
/**
|
|
@@ -14014,7 +14014,7 @@ function Nm (n) {
|
|
|
14014
14014
|
function z_ (n, e, t) {
|
|
14015
14015
|
return qm(Nm(n.state), e, n, t);
|
|
14016
14016
|
}
|
|
14017
|
-
let
|
|
14017
|
+
let ln = null;
|
|
14018
14018
|
const G_ = 4e3;
|
|
14019
14019
|
function B_ (n, e = j_) {
|
|
14020
14020
|
let t = /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null), r = (a, o) => {
|
|
@@ -14032,9 +14032,9 @@ function B_ (n, e = j_) {
|
|
|
14032
14032
|
preventDefault: !0,
|
|
14033
14033
|
stopPropagation: !1,
|
|
14034
14034
|
run: [(T) => {
|
|
14035
|
-
let x =
|
|
14035
|
+
let x = ln = { view: T, prefix: _, scope: a };
|
|
14036
14036
|
return setTimeout(() => {
|
|
14037
|
-
|
|
14037
|
+
ln == x && (ln = null);
|
|
14038
14038
|
}, G_), !0;
|
|
14039
14039
|
}]
|
|
14040
14040
|
});
|
|
@@ -14069,7 +14069,7 @@ let lh = null;
|
|
|
14069
14069
|
function qm (n, e, t, i) {
|
|
14070
14070
|
lh = e;
|
|
14071
14071
|
let r = by(e), s = It(r, 0), a = Ti(s) == r.length && r != " ", o = "", l = !1, u = !1, h = !1;
|
|
14072
|
-
|
|
14072
|
+
ln && ln.view == t && ln.scope == i && (o = ln.prefix + " ", Xm.indexOf(e.keyCode) < 0 && (u = !0, ln = null));
|
|
14073
14073
|
let c = /* @__PURE__ */ new Set(), f = (m) => {
|
|
14074
14074
|
if (m) {
|
|
14075
14075
|
for (let O of m.run)
|
|
@@ -14405,7 +14405,7 @@ class aS {
|
|
|
14405
14405
|
plugin.
|
|
14406
14406
|
*/
|
|
14407
14407
|
createDeco (e) {
|
|
14408
|
-
let t = new
|
|
14408
|
+
let t = new Bi(), i = t.add.bind(t);
|
|
14409
14409
|
for (let { from: r, to: s } of sS(e, this.maxLength))
|
|
14410
14410
|
Jf(e.state.doc, this.regexp, r, s, (a, o) => this.addMatch(o, e, a, i));
|
|
14411
14411
|
return t.finish();
|
|
@@ -14530,7 +14530,7 @@ const fS = "•";
|
|
|
14530
14530
|
function dS (n) {
|
|
14531
14531
|
return n >= 32 ? fS : n == 10 ? "" : String.fromCharCode(9216 + n);
|
|
14532
14532
|
}
|
|
14533
|
-
class pS extends
|
|
14533
|
+
class pS extends en {
|
|
14534
14534
|
constructor (e, t) {
|
|
14535
14535
|
super(), this.options = e, this.code = t;
|
|
14536
14536
|
}
|
|
@@ -14548,7 +14548,7 @@ class pS extends Ji {
|
|
|
14548
14548
|
return !1;
|
|
14549
14549
|
}
|
|
14550
14550
|
}
|
|
14551
|
-
class OS extends
|
|
14551
|
+
class OS extends en {
|
|
14552
14552
|
constructor (e) {
|
|
14553
14553
|
super(), this.width = e;
|
|
14554
14554
|
}
|
|
@@ -15025,7 +15025,7 @@ class CS {
|
|
|
15025
15025
|
if (!i)
|
|
15026
15026
|
return;
|
|
15027
15027
|
let r, s = 1;
|
|
15028
|
-
if (i instanceof
|
|
15028
|
+
if (i instanceof dn)
|
|
15029
15029
|
r = i.posAtStart;
|
|
15030
15030
|
else {
|
|
15031
15031
|
if (r = e.posAtCoords(t), r == null)
|
|
@@ -15233,7 +15233,7 @@ function sd (n) {
|
|
|
15233
15233
|
const Ps = /* @__PURE__ */ re.define({
|
|
15234
15234
|
enables: eg
|
|
15235
15235
|
});
|
|
15236
|
-
class
|
|
15236
|
+
class Hi extends Yn {
|
|
15237
15237
|
/**
|
|
15238
15238
|
@internal
|
|
15239
15239
|
*/
|
|
@@ -15253,11 +15253,11 @@ class Fi extends Yn {
|
|
|
15253
15253
|
destroy (e) {
|
|
15254
15254
|
}
|
|
15255
15255
|
}
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
|
|
15260
|
-
|
|
15256
|
+
Hi.prototype.elementClass = "";
|
|
15257
|
+
Hi.prototype.toDOM = void 0;
|
|
15258
|
+
Hi.prototype.mapMode = _t.TrackBefore;
|
|
15259
|
+
Hi.prototype.startSide = Hi.prototype.endSide = -1;
|
|
15260
|
+
Hi.prototype.point = !0;
|
|
15261
15261
|
const Ka = /* @__PURE__ */ re.define(), AS = /* @__PURE__ */ re.define(), VS = {
|
|
15262
15262
|
class: "",
|
|
15263
15263
|
renderEmptyElements: !1,
|
|
@@ -15491,7 +15491,7 @@ const US = /* @__PURE__ */ re.define(), IS = /* @__PURE__ */ re.define(), ir = /
|
|
|
15491
15491
|
});
|
|
15492
15492
|
}
|
|
15493
15493
|
});
|
|
15494
|
-
class Zl extends
|
|
15494
|
+
class Zl extends Hi {
|
|
15495
15495
|
constructor (e) {
|
|
15496
15496
|
super(), this.number = e;
|
|
15497
15497
|
}
|
|
@@ -15545,7 +15545,7 @@ function ld (n) {
|
|
|
15545
15545
|
e = e * 10 + 9;
|
|
15546
15546
|
return e;
|
|
15547
15547
|
}
|
|
15548
|
-
const NS = /* @__PURE__ */ new class extends
|
|
15548
|
+
const NS = /* @__PURE__ */ new class extends Hi {
|
|
15549
15549
|
constructor () {
|
|
15550
15550
|
super(...arguments), this.elementClass = "cm-activeLineGutter";
|
|
15551
15551
|
}
|
|
@@ -16859,7 +16859,7 @@ class og {
|
|
|
16859
16859
|
return e.buffer ? this.getBuffer(e.buffer.buffer, e.index) : this.map.get(e.tree);
|
|
16860
16860
|
}
|
|
16861
16861
|
}
|
|
16862
|
-
class
|
|
16862
|
+
class Gi {
|
|
16863
16863
|
/**
|
|
16864
16864
|
Construct a tree fragment. You'll usually want to use
|
|
16865
16865
|
[`addTree`](#common.TreeFragment^addTree) and
|
|
@@ -16894,7 +16894,7 @@ class zi {
|
|
|
16894
16894
|
true.
|
|
16895
16895
|
*/
|
|
16896
16896
|
static addTree (e, t = [], i = !1) {
|
|
16897
|
-
let r = [new
|
|
16897
|
+
let r = [new Gi(0, e.length, e, 0, !1, i)];
|
|
16898
16898
|
for (let s of t)
|
|
16899
16899
|
s.to > e.length && r.push(s);
|
|
16900
16900
|
return r;
|
|
@@ -16915,7 +16915,7 @@ class zi {
|
|
|
16915
16915
|
let f = a;
|
|
16916
16916
|
if (l >= f.from || c <= f.to || u) {
|
|
16917
16917
|
let d = Math.max(f.from, l) - u, p = Math.min(f.to, c) - u;
|
|
16918
|
-
f = d >= p ? null : new
|
|
16918
|
+
f = d >= p ? null : new Gi(d, p, f.tree, f.offset + u, o > 0, !!h);
|
|
16919
16919
|
}
|
|
16920
16920
|
if (f && r.push(f), a.to > c)
|
|
16921
16921
|
break;
|
|
@@ -17215,12 +17215,12 @@ function gd (n, e) {
|
|
|
17215
17215
|
let h = r.overlay.map((f) => new ri(f.from + i, f.to + i)), c = oQ(e, h, l, u);
|
|
17216
17216
|
for (let f = 0, d = l; ; f++) {
|
|
17217
17217
|
let p = f == c.length, v = p ? u : c[f].from;
|
|
17218
|
-
if (v > d && t.push(new
|
|
17218
|
+
if (v > d && t.push(new Gi(d, v, r.tree, -a, s.from >= d || s.openStart, s.to <= v || s.openEnd)), p)
|
|
17219
17219
|
break;
|
|
17220
17220
|
d = c[f].to;
|
|
17221
17221
|
}
|
|
17222
17222
|
} else
|
|
17223
|
-
t.push(new
|
|
17223
|
+
t.push(new Gi(l, u, r.tree, -a, s.from >= a || s.openStart, s.to <= o || s.openEnd));
|
|
17224
17224
|
}
|
|
17225
17225
|
return t;
|
|
17226
17226
|
}
|
|
@@ -17439,7 +17439,7 @@ function OQ (n) {
|
|
|
17439
17439
|
e = e.next;
|
|
17440
17440
|
return e || null;
|
|
17441
17441
|
}
|
|
17442
|
-
const K = ni.define, _a = K(),
|
|
17442
|
+
const K = ni.define, _a = K(), sn = K(), vd = K(sn), bd = K(sn), an = K(), Sa = K(an), Xl = K(an), $i = K(), Tn = K($i), wi = K(), Pi = K(), mh = K(), Wr = K(mh), Qa = K(), P = {
|
|
17443
17443
|
/**
|
|
17444
17444
|
A comment.
|
|
17445
17445
|
*/
|
|
@@ -17459,11 +17459,11 @@ const K = ni.define, _a = K(), rn = K(), vd = K(rn), bd = K(rn), sn = K(), Sa =
|
|
|
17459
17459
|
/**
|
|
17460
17460
|
Any kind of identifier.
|
|
17461
17461
|
*/
|
|
17462
|
-
name:
|
|
17462
|
+
name: sn,
|
|
17463
17463
|
/**
|
|
17464
17464
|
The [name](#highlight.tags.name) of a variable.
|
|
17465
17465
|
*/
|
|
17466
|
-
variableName: K(
|
|
17466
|
+
variableName: K(sn),
|
|
17467
17467
|
/**
|
|
17468
17468
|
A type [name](#highlight.tags.name).
|
|
17469
17469
|
*/
|
|
@@ -17483,23 +17483,23 @@ const K = ni.define, _a = K(), rn = K(), vd = K(rn), bd = K(rn), sn = K(), Sa =
|
|
|
17483
17483
|
/**
|
|
17484
17484
|
The [name](#highlight.tags.name) of a class.
|
|
17485
17485
|
*/
|
|
17486
|
-
className: K(
|
|
17486
|
+
className: K(sn),
|
|
17487
17487
|
/**
|
|
17488
17488
|
A label [name](#highlight.tags.name).
|
|
17489
17489
|
*/
|
|
17490
|
-
labelName: K(
|
|
17490
|
+
labelName: K(sn),
|
|
17491
17491
|
/**
|
|
17492
17492
|
A namespace [name](#highlight.tags.name).
|
|
17493
17493
|
*/
|
|
17494
|
-
namespace: K(
|
|
17494
|
+
namespace: K(sn),
|
|
17495
17495
|
/**
|
|
17496
17496
|
The [name](#highlight.tags.name) of a macro.
|
|
17497
17497
|
*/
|
|
17498
|
-
macroName: K(
|
|
17498
|
+
macroName: K(sn),
|
|
17499
17499
|
/**
|
|
17500
17500
|
A literal value.
|
|
17501
17501
|
*/
|
|
17502
|
-
literal:
|
|
17502
|
+
literal: an,
|
|
17503
17503
|
/**
|
|
17504
17504
|
A string [literal](#highlight.tags.literal).
|
|
17505
17505
|
*/
|
|
@@ -17531,24 +17531,24 @@ const K = ni.define, _a = K(), rn = K(), vd = K(rn), bd = K(rn), sn = K(), Sa =
|
|
|
17531
17531
|
/**
|
|
17532
17532
|
A boolean [literal](#highlight.tags.literal).
|
|
17533
17533
|
*/
|
|
17534
|
-
bool: K(
|
|
17534
|
+
bool: K(an),
|
|
17535
17535
|
/**
|
|
17536
17536
|
Regular expression [literal](#highlight.tags.literal).
|
|
17537
17537
|
*/
|
|
17538
|
-
regexp: K(
|
|
17538
|
+
regexp: K(an),
|
|
17539
17539
|
/**
|
|
17540
17540
|
An escape [literal](#highlight.tags.literal), for example a
|
|
17541
17541
|
backslash escape in a string.
|
|
17542
17542
|
*/
|
|
17543
|
-
escape: K(
|
|
17543
|
+
escape: K(an),
|
|
17544
17544
|
/**
|
|
17545
17545
|
A color [literal](#highlight.tags.literal).
|
|
17546
17546
|
*/
|
|
17547
|
-
color: K(
|
|
17547
|
+
color: K(an),
|
|
17548
17548
|
/**
|
|
17549
17549
|
A URL [literal](#highlight.tags.literal).
|
|
17550
17550
|
*/
|
|
17551
|
-
url: K(
|
|
17551
|
+
url: K(an),
|
|
17552
17552
|
/**
|
|
17553
17553
|
A language keyword.
|
|
17554
17554
|
*/
|
|
@@ -18020,7 +18020,7 @@ class So {
|
|
|
18020
18020
|
for (this.parse || (this.parse = this.startParse()), t != null && (this.parse.stoppedAt == null || this.parse.stoppedAt > t) && t < this.state.doc.length && this.parse.stopAt(t); ;) {
|
|
18021
18021
|
let r = this.parse.advance();
|
|
18022
18022
|
if (r)
|
|
18023
|
-
if (this.fragments = this.withoutTempSkipped(
|
|
18023
|
+
if (this.fragments = this.withoutTempSkipped(Gi.addTree(r, this.fragments, this.parse.stoppedAt != null)), this.treeLen = (i = this.parse.stoppedAt) !== null && i !== void 0 ? i : this.state.doc.length, this.tree = r, this.parse = null, this.treeLen < (t ?? this.state.doc.length))
|
|
18024
18024
|
this.parse = this.startParse();
|
|
18025
18025
|
else
|
|
18026
18026
|
return !0;
|
|
@@ -18037,7 +18037,7 @@ class So {
|
|
|
18037
18037
|
this.parse && (e = this.parse.parsedPos) >= this.treeLen && ((this.parse.stoppedAt == null || this.parse.stoppedAt > e) && this.parse.stopAt(e), this.withContext(() => {
|
|
18038
18038
|
for (; !(t = this.parse.advance());)
|
|
18039
18039
|
;
|
|
18040
|
-
}), this.treeLen = e, this.tree = t, this.fragments = this.withoutTempSkipped(
|
|
18040
|
+
}), this.treeLen = e, this.tree = t, this.fragments = this.withoutTempSkipped(Gi.addTree(this.tree, this.fragments, !0)), this.parse = null);
|
|
18041
18041
|
}
|
|
18042
18042
|
withContext (e) {
|
|
18043
18043
|
let t = jr;
|
|
@@ -18060,7 +18060,7 @@ class So {
|
|
|
18060
18060
|
let { fragments: i, tree: r, treeLen: s, viewport: a, skipped: o } = this;
|
|
18061
18061
|
if (this.takeTree(), !e.empty) {
|
|
18062
18062
|
let l = [];
|
|
18063
|
-
if (e.iterChangedRanges((u, h, c, f) => l.push({ fromA: u, toA: h, fromB: c, toB: f })), i =
|
|
18063
|
+
if (e.iterChangedRanges((u, h, c, f) => l.push({ fromA: u, toA: h, fromB: c, toB: f })), i = Gi.applyChanges(i, l), r = et.empty, s = 0, a = { from: e.mapPos(a.from, -1), to: e.mapPos(a.to, 1) }, this.skipped.length) {
|
|
18064
18064
|
o = [];
|
|
18065
18065
|
for (let u of this.skipped) {
|
|
18066
18066
|
let h = e.mapPos(u.from, 1), c = e.mapPos(u.to, -1);
|
|
@@ -18146,7 +18146,7 @@ class So {
|
|
|
18146
18146
|
}
|
|
18147
18147
|
}
|
|
18148
18148
|
function _d (n, e, t) {
|
|
18149
|
-
return
|
|
18149
|
+
return Gi.applyChanges(n, [{ fromA: e, toA: t, fromB: e, toB: t }]);
|
|
18150
18150
|
}
|
|
18151
18151
|
class vr {
|
|
18152
18152
|
constructor (e) {
|
|
@@ -18694,13 +18694,13 @@ function Sg (n, e) {
|
|
|
18694
18694
|
return s.textContent = i.placeholderText, s.setAttribute("aria-label", t.phrase("folded code")), s.title = t.phrase("unfold"), s.className = "cm-foldPlaceholder", s.onclick = r, s;
|
|
18695
18695
|
}
|
|
18696
18696
|
const Sd = /* @__PURE__ */ ce.replace({
|
|
18697
|
-
widget: /* @__PURE__ */ new class extends
|
|
18697
|
+
widget: /* @__PURE__ */ new class extends en {
|
|
18698
18698
|
toDOM (n) {
|
|
18699
18699
|
return Sg(n, null);
|
|
18700
18700
|
}
|
|
18701
18701
|
}()
|
|
18702
18702
|
});
|
|
18703
|
-
class DQ extends
|
|
18703
|
+
class DQ extends en {
|
|
18704
18704
|
constructor (e) {
|
|
18705
18705
|
super(), this.value = e;
|
|
18706
18706
|
}
|
|
@@ -18718,7 +18718,7 @@ const MQ = {
|
|
|
18718
18718
|
domEventHandlers: {},
|
|
18719
18719
|
foldingChanged: () => !1
|
|
18720
18720
|
};
|
|
18721
|
-
class Dl extends
|
|
18721
|
+
class Dl extends Hi {
|
|
18722
18722
|
constructor (e, t) {
|
|
18723
18723
|
super(), this.config = e, this.open = t;
|
|
18724
18724
|
}
|
|
@@ -18741,7 +18741,7 @@ function YQ (n = {}) {
|
|
|
18741
18741
|
(a.docChanged || a.viewportChanged || a.startState.facet(Sn) != a.state.facet(Sn) || a.startState.field(Wn, !1) != a.state.field(Wn, !1) || He(a.startState) != He(a.state) || e.foldingChanged(a)) && (this.markers = this.buildMarkers(a.view));
|
|
18742
18742
|
}
|
|
18743
18743
|
buildMarkers (a) {
|
|
18744
|
-
let o = new
|
|
18744
|
+
let o = new Bi();
|
|
18745
18745
|
for (let l of a.viewportLineBlocks) {
|
|
18746
18746
|
let u = wo(a.state, l.from, l.to) ? i : xo(a.state, l.from, l.to) ? t : null;
|
|
18747
18747
|
u && o.add(l.from, l.from, u);
|
|
@@ -18849,7 +18849,7 @@ class UQ {
|
|
|
18849
18849
|
buildDeco (e, t) {
|
|
18850
18850
|
if (!t || !this.tree.length)
|
|
18851
18851
|
return ce.none;
|
|
18852
|
-
let i = new
|
|
18852
|
+
let i = new Bi();
|
|
18853
18853
|
for (let { from: r, to: s } of e.visibleRanges)
|
|
18854
18854
|
dQ(this.tree, t, (a, o, l) => {
|
|
18855
18855
|
i.add(a, o, this.markCache[l] || (this.markCache[l] = ce.mark({ class: l })));
|
|
@@ -19214,7 +19214,7 @@ function lx (n, e, t = e.selection.ranges) {
|
|
|
19214
19214
|
}
|
|
19215
19215
|
return null;
|
|
19216
19216
|
}
|
|
19217
|
-
const yh = /* @__PURE__ */
|
|
19217
|
+
const yh = /* @__PURE__ */ Ji.define(), ux = /* @__PURE__ */ Ji.define(), hx = /* @__PURE__ */ re.define(), Cg = /* @__PURE__ */ re.define({
|
|
19218
19218
|
combine (n) {
|
|
19219
19219
|
return Mi(n, {
|
|
19220
19220
|
minDepth: 100,
|
|
@@ -20411,7 +20411,7 @@ const Rw = /* @__PURE__ */ ce.mark({ class: "cm-searchMatch" }), Zw = /* @__PURE
|
|
|
20411
20411
|
highlight ({ query: n, panel: e }) {
|
|
20412
20412
|
if (!e || !n.spec.valid)
|
|
20413
20413
|
return ce.none;
|
|
20414
|
-
let { view: t } = this, i = new
|
|
20414
|
+
let { view: t } = this, i = new Bi();
|
|
20415
20415
|
for (let r = 0, s = t.visibleRanges, a = s.length; r < a; r++) {
|
|
20416
20416
|
let { from: o, to: l } = s[r];
|
|
20417
20417
|
for (; r < a - 1 && l > s[r + 1].from - 2 * 250;)
|
|
@@ -20817,7 +20817,7 @@ function v0 (n, e) {
|
|
|
20817
20817
|
let { source: i } = n, r = e && i[0] != "^", s = i[i.length - 1] != "$";
|
|
20818
20818
|
return !r && !s ? n : new RegExp(`${r ? "^" : ""}(?:${i})${s ? "$" : ""}`, (t = n.flags) !== null && t !== void 0 ? t : n.ignoreCase ? "i" : "");
|
|
20819
20819
|
}
|
|
20820
|
-
const bc = /* @__PURE__ */
|
|
20820
|
+
const bc = /* @__PURE__ */ Ji.define();
|
|
20821
20821
|
function Iw (n, e, t, i) {
|
|
20822
20822
|
let { main: r } = n.selection, s = t - r.from, a = i - r.from;
|
|
20823
20823
|
return Object.assign(Object.assign({}, n.changeByRange((o) => {
|
|
@@ -21727,7 +21727,7 @@ class Qc {
|
|
|
21727
21727
|
}
|
|
21728
21728
|
}
|
|
21729
21729
|
let dP = /* @__PURE__ */ ce.widget({
|
|
21730
|
-
widget: /* @__PURE__ */ new class extends
|
|
21730
|
+
widget: /* @__PURE__ */ new class extends en {
|
|
21731
21731
|
toDOM () {
|
|
21732
21732
|
let n = document.createElement("span");
|
|
21733
21733
|
return n.className = "cm-snippetFieldPosition", n;
|
|
@@ -22061,7 +22061,7 @@ class Xn {
|
|
|
22061
22061
|
static init (e, t, i) {
|
|
22062
22062
|
let r = i.facet(Xs).markerFilter;
|
|
22063
22063
|
r && (e = r(e, i));
|
|
22064
|
-
let s = e.slice().sort((h, c) => h.from - c.from || h.to - c.to), a = new
|
|
22064
|
+
let s = e.slice().sort((h, c) => h.from - c.from || h.to - c.to), a = new Bi(), o = [], l = 0;
|
|
22065
22065
|
for (let h = 0; ;) {
|
|
22066
22066
|
let c = h == s.length ? null : s[h];
|
|
22067
22067
|
if (!c && !o.length)
|
|
@@ -22236,7 +22236,7 @@ function R0 (n, e, t) {
|
|
|
22236
22236
|
}, c);
|
|
22237
22237
|
}), e.source && Le("div", { class: "cm-diagnosticSource" }, e.source));
|
|
22238
22238
|
}
|
|
22239
|
-
class jP extends
|
|
22239
|
+
class jP extends en {
|
|
22240
22240
|
constructor (e) {
|
|
22241
22241
|
super(), this.sev = e;
|
|
22242
22242
|
}
|
|
@@ -28673,7 +28673,7 @@ function QT () {
|
|
|
28673
28673
|
})(n);
|
|
28674
28674
|
})(_1);
|
|
28675
28675
|
var xT = _1.exports;
|
|
28676
|
-
const wT = { class: "code-slot" }, PT = { class: "code-slot" }, $T = { class: "editor-operation-btn" },
|
|
28676
|
+
const wT = { class: "code-slot" }, PT = { class: "code-slot" }, $T = { class: "editor-operation-btn" }, ji = /* @__PURE__ */ wt({
|
|
28677
28677
|
__name: "CodeMirror",
|
|
28678
28678
|
props: {
|
|
28679
28679
|
modelValue: { default: "" },
|
|
@@ -28698,7 +28698,7 @@ const wT = { class: "code-slot" }, PT = { class: "code-slot" }, $T = { class: "e
|
|
|
28698
28698
|
let f = {};
|
|
28699
28699
|
return t.height !== void 0 && !isNaN(t.height) && (f.flex = "1", f.overflow = "auto"), f;
|
|
28700
28700
|
});
|
|
28701
|
-
|
|
28701
|
+
Ni(
|
|
28702
28702
|
() => t.modelValue,
|
|
28703
28703
|
(f) => {
|
|
28704
28704
|
if (a && o && typeof f == "string" && f != a.state.doc.toString()) {
|
|
@@ -28747,7 +28747,7 @@ const wT = { class: "code-slot" }, PT = { class: "code-slot" }, $T = { class: "e
|
|
|
28747
28747
|
v = d.sliceDoc(m.from, m.to);
|
|
28748
28748
|
} else
|
|
28749
28749
|
v = d.doc.toString();
|
|
28750
|
-
navigator.clipboard.writeText(v),
|
|
28750
|
+
navigator.clipboard.writeText(v), un({
|
|
28751
28751
|
message: "复制成功!",
|
|
28752
28752
|
type: "success"
|
|
28753
28753
|
});
|
|
@@ -29451,7 +29451,7 @@ const CT = { class: "chart-series-box" }, RT = {
|
|
|
29451
29451
|
default: S(() => [
|
|
29452
29452
|
b(g(G), { label: "字段格式化" }, {
|
|
29453
29453
|
default: S(() => [
|
|
29454
|
-
b(
|
|
29454
|
+
b(ji, {
|
|
29455
29455
|
modelValue: g(a).formatter,
|
|
29456
29456
|
"onUpdate:modelValue": u[7] || (u[7] = (v) => g(a).formatter = v),
|
|
29457
29457
|
height: 200,
|
|
@@ -29638,11 +29638,11 @@ const CT = { class: "chart-series-box" }, RT = {
|
|
|
29638
29638
|
])
|
|
29639
29639
|
]),
|
|
29640
29640
|
default: S(() => [
|
|
29641
|
-
b(g(
|
|
29641
|
+
b(g(hn), {
|
|
29642
29642
|
label: "#",
|
|
29643
29643
|
type: "index"
|
|
29644
29644
|
}),
|
|
29645
|
-
b(g(
|
|
29645
|
+
b(g(hn), { label: "" }, {
|
|
29646
29646
|
header: S(() => [
|
|
29647
29647
|
N(" 字段名 "),
|
|
29648
29648
|
b(f, {
|
|
@@ -29664,11 +29664,11 @@ const CT = { class: "chart-series-box" }, RT = {
|
|
|
29664
29664
|
]),
|
|
29665
29665
|
_: 1
|
|
29666
29666
|
}),
|
|
29667
|
-
b(g(
|
|
29667
|
+
b(g(hn), {
|
|
29668
29668
|
label: "字段",
|
|
29669
29669
|
prop: "field"
|
|
29670
29670
|
}),
|
|
29671
|
-
b(g(
|
|
29671
|
+
b(g(hn), {
|
|
29672
29672
|
label: "操作",
|
|
29673
29673
|
align: "center",
|
|
29674
29674
|
width: "400"
|
|
@@ -29728,7 +29728,7 @@ const qT = {
|
|
|
29728
29728
|
t.value = !0, r.value && r.value.data.pageSizes ? s.value = r.value.data.pageSizes.split(",").map((x) => parseInt(x)) : s.value = [10, 20, 50, 100, 200];
|
|
29729
29729
|
}
|
|
29730
29730
|
const { activeStatement: r } = Qt(e), s = Oe([]);
|
|
29731
|
-
|
|
29731
|
+
Ni(
|
|
29732
29732
|
() => s.value,
|
|
29733
29733
|
(x) => {
|
|
29734
29734
|
r.value && r.value.data && (r.value.data.pageSizes = x.join(","));
|
|
@@ -29805,7 +29805,7 @@ const qT = {
|
|
|
29805
29805
|
s.value.splice(x, 1);
|
|
29806
29806
|
}
|
|
29807
29807
|
function _ () {
|
|
29808
|
-
p.value && !s.value.includes(p.value) ? (v.value = !1, s.value.push(p.value), s.value.sort((x, $) => x - $), p.value = void 0) :
|
|
29808
|
+
p.value && !s.value.includes(p.value) ? (v.value = !1, s.value.push(p.value), s.value.sort((x, $) => x - $), p.value = void 0) : un.error("请不要输入重复的数字");
|
|
29809
29809
|
}
|
|
29810
29810
|
const T = Te({
|
|
29811
29811
|
get () {
|
|
@@ -29980,7 +29980,7 @@ const qT = {
|
|
|
29980
29980
|
a5
|
|
29981
29981
|
]),
|
|
29982
29982
|
default: S(() => [
|
|
29983
|
-
b(
|
|
29983
|
+
b(ji, {
|
|
29984
29984
|
height: 300,
|
|
29985
29985
|
modelValue: g(r).data.processData,
|
|
29986
29986
|
"onUpdate:modelValue": $[4] || ($[4] = (j) => g(r).data.processData = j)
|
|
@@ -30020,7 +30020,7 @@ const l5 = { ArrowDown: '<svg width="10px" height="10px" viewBox="0 0 10 10" ver
|
|
|
30020
30020
|
__name: "condition-data-config",
|
|
30021
30021
|
setup (n) {
|
|
30022
30022
|
const e = xt(), { activeStatement: t } = Qt(e), i = Oe([]);
|
|
30023
|
-
|
|
30023
|
+
Ni(
|
|
30024
30024
|
() => i.value,
|
|
30025
30025
|
(d) => {
|
|
30026
30026
|
t.value && (t.value.condition = d);
|
|
@@ -30260,7 +30260,7 @@ const l5 = { ArrowDown: '<svg width="10px" height="10px" viewBox="0 0 10 10" ver
|
|
|
30260
30260
|
]),
|
|
30261
30261
|
_: 1
|
|
30262
30262
|
}),
|
|
30263
|
-
u.value.isCustom ? (V(), ee(
|
|
30263
|
+
u.value.isCustom ? (V(), ee(ji, {
|
|
30264
30264
|
key: 0,
|
|
30265
30265
|
modelValue: u.value.code,
|
|
30266
30266
|
"onUpdate:modelValue": p[4] || (p[4] = (w) => u.value.code = w)
|
|
@@ -30530,7 +30530,7 @@ const b5 = /* @__PURE__ */ Y("div", { class: "s2-data-config-dialog-title" }, [
|
|
|
30530
30530
|
__name: "totals-data-config",
|
|
30531
30531
|
setup (n) {
|
|
30532
30532
|
const e = xt(), { activeStatement: t } = Qt(e), i = Oe(!1), r = Oe(!1), s = Oe({});
|
|
30533
|
-
|
|
30533
|
+
Ni(
|
|
30534
30534
|
() => i.value,
|
|
30535
30535
|
(u) => {
|
|
30536
30536
|
u ? s.value.row === void 0 && (s.value.row = {
|
|
@@ -30549,7 +30549,7 @@ const b5 = /* @__PURE__ */ Y("div", { class: "s2-data-config-dialog-title" }, [
|
|
|
30549
30549
|
subTotalsGroupDimensions: []
|
|
30550
30550
|
}) : s.value.row = void 0;
|
|
30551
30551
|
}
|
|
30552
|
-
),
|
|
30552
|
+
), Ni(
|
|
30553
30553
|
() => r.value,
|
|
30554
30554
|
(u) => {
|
|
30555
30555
|
u ? s.value.col === void 0 && (s.value.col = {
|
|
@@ -30568,7 +30568,7 @@ const b5 = /* @__PURE__ */ Y("div", { class: "s2-data-config-dialog-title" }, [
|
|
|
30568
30568
|
subTotalsGroupDimensions: []
|
|
30569
30569
|
}) : s.value.col = void 0;
|
|
30570
30570
|
}
|
|
30571
|
-
),
|
|
30571
|
+
), Ni(
|
|
30572
30572
|
() => s.value,
|
|
30573
30573
|
(u) => {
|
|
30574
30574
|
console.log(u), u && u && t.value && u !== t.value.total && (t.value.total = u);
|
|
@@ -30755,7 +30755,7 @@ const b5 = /* @__PURE__ */ Y("div", { class: "s2-data-config-dialog-title" }, [
|
|
|
30755
30755
|
]),
|
|
30756
30756
|
_: 1
|
|
30757
30757
|
}, 8, ["modelValue"]),
|
|
30758
|
-
s.value.row.calcGrandTotals === "CUSTOM" ? (V(), ee(
|
|
30758
|
+
s.value.row.calcGrandTotals === "CUSTOM" ? (V(), ee(ji, {
|
|
30759
30759
|
key: 0,
|
|
30760
30760
|
modelValue: s.value.row.calcGrandTotalsCode,
|
|
30761
30761
|
"onUpdate:modelValue": h[6] || (h[6] = (O) => s.value.row.calcGrandTotalsCode = O)
|
|
@@ -30862,7 +30862,7 @@ const b5 = /* @__PURE__ */ Y("div", { class: "s2-data-config-dialog-title" }, [
|
|
|
30862
30862
|
]),
|
|
30863
30863
|
_: 1
|
|
30864
30864
|
}, 8, ["modelValue"]),
|
|
30865
|
-
s.value.row.calcSubTotals === "CUSTOM" ? (V(), ee(
|
|
30865
|
+
s.value.row.calcSubTotals === "CUSTOM" ? (V(), ee(ji, {
|
|
30866
30866
|
key: 0,
|
|
30867
30867
|
modelValue: s.value.row.calcSubTotalsCode,
|
|
30868
30868
|
"onUpdate:modelValue": h[11] || (h[11] = (O) => s.value.row.calcSubTotalsCode = O)
|
|
@@ -31075,7 +31075,7 @@ const b5 = /* @__PURE__ */ Y("div", { class: "s2-data-config-dialog-title" }, [
|
|
|
31075
31075
|
]),
|
|
31076
31076
|
_: 1
|
|
31077
31077
|
}, 8, ["modelValue"]),
|
|
31078
|
-
s.value.col.calcGrandTotals === "CUSTOM" ? (V(), ee(
|
|
31078
|
+
s.value.col.calcGrandTotals === "CUSTOM" ? (V(), ee(ji, {
|
|
31079
31079
|
key: 0,
|
|
31080
31080
|
modelValue: s.value.col.calcGrandTotalsCode,
|
|
31081
31081
|
"onUpdate:modelValue": h[20] || (h[20] = (O) => s.value.col.calcGrandTotalsCode = O)
|
|
@@ -31182,7 +31182,7 @@ const b5 = /* @__PURE__ */ Y("div", { class: "s2-data-config-dialog-title" }, [
|
|
|
31182
31182
|
]),
|
|
31183
31183
|
_: 1
|
|
31184
31184
|
}, 8, ["modelValue"]),
|
|
31185
|
-
s.value.col.calcSubTotals === "CUSTOM" ? (V(), ee(
|
|
31185
|
+
s.value.col.calcSubTotals === "CUSTOM" ? (V(), ee(ji, {
|
|
31186
31186
|
key: 0,
|
|
31187
31187
|
modelValue: s.value.col.calcSubTotalsCode,
|
|
31188
31188
|
"onUpdate:modelValue": h[25] || (h[25] = (O) => s.value.col.calcSubTotalsCode = O)
|
|
@@ -31271,22 +31271,24 @@ const b5 = /* @__PURE__ */ Y("div", { class: "s2-data-config-dialog-title" }, [
|
|
|
31271
31271
|
};
|
|
31272
31272
|
}
|
|
31273
31273
|
});
|
|
31274
|
-
const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "字段", -1), P5 = { class: "custom-from-item-label" }, $5 = /* @__PURE__ */ Y("div", { class: "custom-from-item-label-context" }, "拖拽到指定区域设置筛选及字段", -1), k5 = /* @__PURE__ */ Y("i", { class: "iconfont icon-info-circle" }, null, -1), T5 = { class: "statement-config-meta" }, C5 = { class: "statement-config-meta-item" }, R5 = ["onDragstart"], Z5 = { class: "statement-option-title" }, E5 = /* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "数据源", -1), X5 = /* @__PURE__ */ Y("div", { class: "option-tips" }, "设置数据翻页、数据预处理、自定义表头、自定义静态数据等", -1), A5 =
|
|
31274
|
+
const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "字段", -1), P5 = { class: "custom-from-item-label" }, $5 = /* @__PURE__ */ Y("div", { class: "custom-from-item-label-context" }, "拖拽到指定区域设置筛选及字段", -1), k5 = /* @__PURE__ */ Y("i", { class: "iconfont icon-info-circle" }, null, -1), T5 = { class: "statement-config-meta" }, C5 = { class: "statement-config-meta-item" }, R5 = ["onDragstart"], Z5 = { class: "statement-option-title" }, E5 = /* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "数据源", -1), X5 = /* @__PURE__ */ Y("div", { class: "option-tips" }, "设置数据翻页、数据预处理、自定义表头、自定义静态数据等", -1), A5 = /* @__PURE__ */ Y("div", { class: "statement-option-title" }, [
|
|
31275
|
+
/* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "报表信息")
|
|
31276
|
+
], -1), V5 = /* @__PURE__ */ Y("div", { class: "option-tips" }, "报表上方显示的简要综合信息", -1), D5 = { class: "statement-option-title" }, M5 = /* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "字段样式", -1), Y5 = /* @__PURE__ */ Y("div", { class: "option-tips" }, "指定元数据字段,并设定它的字体、图标、背景、柱状图", -1), L5 = { class: "statement-option-title" }, U5 = /* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "小计总计", -1), I5 = /* @__PURE__ */ Y("div", { class: "option-tips" }, "设置行列两个循环方向的分组小计和总计的字段,以及其计算方式。", -1), W5 = /* @__PURE__ */ Y("div", {
|
|
31275
31277
|
class: "statement-option-title",
|
|
31276
31278
|
style: { top: "0" }
|
|
31277
31279
|
}, [
|
|
31278
31280
|
/* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "宽高")
|
|
31279
|
-
], -1),
|
|
31281
|
+
], -1), j5 = /* @__PURE__ */ Y("div", {
|
|
31280
31282
|
class: "statement-option-title",
|
|
31281
31283
|
style: { top: "0" }
|
|
31282
31284
|
}, [
|
|
31283
31285
|
/* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "文本外观")
|
|
31284
|
-
], -1),
|
|
31286
|
+
], -1), N5 = /* @__PURE__ */ Y("div", {
|
|
31285
31287
|
class: "statement-option-title",
|
|
31286
31288
|
style: { top: "100px" }
|
|
31287
31289
|
}, [
|
|
31288
31290
|
/* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "主题设置")
|
|
31289
|
-
], -1),
|
|
31291
|
+
], -1), q5 = /* @__PURE__ */ wt({
|
|
31290
31292
|
__name: "statementOption",
|
|
31291
31293
|
setup (n) {
|
|
31292
31294
|
const e = xt(), { activeStatement: t, activeStatementItem: i, metaDraging: r, detail: s } = Qt(e), a = Oe("data"), o = Te(() => {
|
|
@@ -31337,7 +31339,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31337
31339
|
b(g(dO), {
|
|
31338
31340
|
stretch: "",
|
|
31339
31341
|
modelValue: a.value,
|
|
31340
|
-
"onUpdate:modelValue": d[
|
|
31342
|
+
"onUpdate:modelValue": d[20] || (d[20] = (v) => a.value = v)
|
|
31341
31343
|
}, {
|
|
31342
31344
|
default: S(() => [
|
|
31343
31345
|
b(g(ro), {
|
|
@@ -31426,16 +31428,31 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31426
31428
|
b(o5)
|
|
31427
31429
|
]),
|
|
31428
31430
|
X5,
|
|
31429
|
-
|
|
31430
|
-
|
|
31431
|
+
A5,
|
|
31432
|
+
V5,
|
|
31433
|
+
b(ji, {
|
|
31434
|
+
modelValue: g(t).info,
|
|
31435
|
+
"onUpdate:modelValue": d[1] || (d[1] = (v) => g(t).info = v),
|
|
31436
|
+
language: "javascript"
|
|
31437
|
+
}, {
|
|
31438
|
+
"pre-code": S(() => [
|
|
31439
|
+
N("async (allData) => {")
|
|
31440
|
+
]),
|
|
31441
|
+
"next-code": S(() => [
|
|
31442
|
+
N("}")
|
|
31443
|
+
]),
|
|
31444
|
+
_: 1
|
|
31445
|
+
}, 8, ["modelValue"]),
|
|
31446
|
+
Y("div", D5, [
|
|
31447
|
+
M5,
|
|
31431
31448
|
b(v5)
|
|
31432
31449
|
]),
|
|
31433
|
-
|
|
31434
|
-
Y("div",
|
|
31435
|
-
|
|
31450
|
+
Y5,
|
|
31451
|
+
Y("div", L5, [
|
|
31452
|
+
U5,
|
|
31436
31453
|
b(Q5)
|
|
31437
31454
|
]),
|
|
31438
|
-
|
|
31455
|
+
I5
|
|
31439
31456
|
]),
|
|
31440
31457
|
_: 1
|
|
31441
31458
|
})
|
|
@@ -31449,7 +31466,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31449
31466
|
default: S(() => [
|
|
31450
31467
|
b(g(Lc), { gutter: 10 }, {
|
|
31451
31468
|
default: S(() => [
|
|
31452
|
-
|
|
31469
|
+
W5,
|
|
31453
31470
|
g(t).custom ? (V(), H(fe, { key: 0 }, [
|
|
31454
31471
|
b(g(ht), { span: 12 }, {
|
|
31455
31472
|
default: S(() => [
|
|
@@ -31457,7 +31474,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31457
31474
|
default: S(() => [
|
|
31458
31475
|
b(g(Ie), {
|
|
31459
31476
|
modelValue: g(t).custom.fullContainer,
|
|
31460
|
-
"onUpdate:modelValue": d[
|
|
31477
|
+
"onUpdate:modelValue": d[2] || (d[2] = (v) => g(t).custom.fullContainer = v)
|
|
31461
31478
|
}, null, 8, ["modelValue"])
|
|
31462
31479
|
]),
|
|
31463
31480
|
_: 1
|
|
@@ -31472,7 +31489,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31472
31489
|
b(g(Ie), {
|
|
31473
31490
|
disabled: !g(o),
|
|
31474
31491
|
modelValue: g(t).custom.fullHeight,
|
|
31475
|
-
"onUpdate:modelValue": d[
|
|
31492
|
+
"onUpdate:modelValue": d[3] || (d[3] = (v) => g(t).custom.fullHeight = v)
|
|
31476
31493
|
}, null, 8, ["disabled", "modelValue"])
|
|
31477
31494
|
]),
|
|
31478
31495
|
_: 1
|
|
@@ -31491,7 +31508,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31491
31508
|
type: "number",
|
|
31492
31509
|
disabled: (v = g(t).custom) == null ? void 0 : v.fullContainer,
|
|
31493
31510
|
modelValue: g(t).width,
|
|
31494
|
-
"onUpdate:modelValue": d[
|
|
31511
|
+
"onUpdate:modelValue": d[4] || (d[4] = (m) => g(t).width = m),
|
|
31495
31512
|
modelModifiers: { number: !0 }
|
|
31496
31513
|
}, {
|
|
31497
31514
|
suffix: S(() => [
|
|
@@ -31516,7 +31533,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31516
31533
|
type: "number",
|
|
31517
31534
|
disabled: (v = g(t).custom) == null ? void 0 : v.fullHeight,
|
|
31518
31535
|
modelValue: g(t).height,
|
|
31519
|
-
"onUpdate:modelValue": d[
|
|
31536
|
+
"onUpdate:modelValue": d[5] || (d[5] = (m) => g(t).height = m),
|
|
31520
31537
|
modelModifiers: { number: !0 }
|
|
31521
31538
|
}, {
|
|
31522
31539
|
suffix: S(() => [
|
|
@@ -31540,7 +31557,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31540
31557
|
default: S(() => [
|
|
31541
31558
|
b(g(Et), {
|
|
31542
31559
|
modelValue: g(t).hierarchyType,
|
|
31543
|
-
"onUpdate:modelValue": d[
|
|
31560
|
+
"onUpdate:modelValue": d[6] || (d[6] = (v) => g(t).hierarchyType = v)
|
|
31544
31561
|
}, {
|
|
31545
31562
|
default: S(() => [
|
|
31546
31563
|
b(g(be), { label: "grid" }, {
|
|
@@ -31571,7 +31588,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31571
31588
|
default: S(() => [
|
|
31572
31589
|
b(g(Me), {
|
|
31573
31590
|
modelValue: g(t).frozen.rowCount,
|
|
31574
|
-
"onUpdate:modelValue": d[
|
|
31591
|
+
"onUpdate:modelValue": d[7] || (d[7] = (v) => g(t).frozen.rowCount = v)
|
|
31575
31592
|
}, null, 8, ["modelValue"])
|
|
31576
31593
|
]),
|
|
31577
31594
|
_: 1
|
|
@@ -31585,7 +31602,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31585
31602
|
default: S(() => [
|
|
31586
31603
|
b(g(Me), {
|
|
31587
31604
|
modelValue: g(t).frozen.colCount,
|
|
31588
|
-
"onUpdate:modelValue": d[
|
|
31605
|
+
"onUpdate:modelValue": d[8] || (d[8] = (v) => g(t).frozen.colCount = v)
|
|
31589
31606
|
}, null, 8, ["modelValue"])
|
|
31590
31607
|
]),
|
|
31591
31608
|
_: 1
|
|
@@ -31599,7 +31616,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31599
31616
|
default: S(() => [
|
|
31600
31617
|
b(g(Me), {
|
|
31601
31618
|
modelValue: g(t).frozen.trailingRowCount,
|
|
31602
|
-
"onUpdate:modelValue": d[
|
|
31619
|
+
"onUpdate:modelValue": d[9] || (d[9] = (v) => g(t).frozen.trailingRowCount = v)
|
|
31603
31620
|
}, null, 8, ["modelValue"])
|
|
31604
31621
|
]),
|
|
31605
31622
|
_: 1
|
|
@@ -31613,7 +31630,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31613
31630
|
default: S(() => [
|
|
31614
31631
|
b(g(Me), {
|
|
31615
31632
|
modelValue: g(t).frozen.trailingColCount,
|
|
31616
|
-
"onUpdate:modelValue": d[
|
|
31633
|
+
"onUpdate:modelValue": d[10] || (d[10] = (v) => g(t).frozen.trailingColCount = v)
|
|
31617
31634
|
}, null, 8, ["modelValue"])
|
|
31618
31635
|
]),
|
|
31619
31636
|
_: 1
|
|
@@ -31628,7 +31645,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31628
31645
|
default: S(() => [
|
|
31629
31646
|
b(g(Ie), {
|
|
31630
31647
|
modelValue: g(t).seriesNumberEnable,
|
|
31631
|
-
"onUpdate:modelValue": d[
|
|
31648
|
+
"onUpdate:modelValue": d[11] || (d[11] = (v) => g(t).seriesNumberEnable = v)
|
|
31632
31649
|
}, null, 8, ["modelValue"])
|
|
31633
31650
|
]),
|
|
31634
31651
|
_: 1
|
|
@@ -31642,7 +31659,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31642
31659
|
default: S(() => [
|
|
31643
31660
|
b(g(Me), {
|
|
31644
31661
|
modelValue: g(t).seriesNumberText,
|
|
31645
|
-
"onUpdate:modelValue": d[
|
|
31662
|
+
"onUpdate:modelValue": d[12] || (d[12] = (v) => g(t).seriesNumberText = v)
|
|
31646
31663
|
}, null, 8, ["modelValue"])
|
|
31647
31664
|
]),
|
|
31648
31665
|
_: 1
|
|
@@ -31656,7 +31673,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31656
31673
|
default: S(() => [
|
|
31657
31674
|
b(g(Me), {
|
|
31658
31675
|
modelValue: g(t).seriesNumberWidth,
|
|
31659
|
-
"onUpdate:modelValue": d[
|
|
31676
|
+
"onUpdate:modelValue": d[13] || (d[13] = (v) => g(t).seriesNumberWidth = v)
|
|
31660
31677
|
}, null, 8, ["modelValue"])
|
|
31661
31678
|
]),
|
|
31662
31679
|
_: 1
|
|
@@ -31665,14 +31682,14 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31665
31682
|
_: 1
|
|
31666
31683
|
}),
|
|
31667
31684
|
g(t).textWordWrap ? (V(), H(fe, { key: 3 }, [
|
|
31668
|
-
|
|
31685
|
+
j5,
|
|
31669
31686
|
b(g(ht), { span: 24 }, {
|
|
31670
31687
|
default: S(() => [
|
|
31671
31688
|
b(g(G), { label: "是否开启多行文本" }, {
|
|
31672
31689
|
default: S(() => [
|
|
31673
31690
|
b(g(Ie), {
|
|
31674
31691
|
modelValue: g(t).textWordWrap.open,
|
|
31675
|
-
"onUpdate:modelValue": d[
|
|
31692
|
+
"onUpdate:modelValue": d[14] || (d[14] = (v) => g(t).textWordWrap.open = v)
|
|
31676
31693
|
}, null, 8, ["modelValue"])
|
|
31677
31694
|
]),
|
|
31678
31695
|
_: 1
|
|
@@ -31686,7 +31703,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31686
31703
|
default: S(() => [
|
|
31687
31704
|
b(p, {
|
|
31688
31705
|
modelValue: g(t).textWordWrap.maxLine,
|
|
31689
|
-
"onUpdate:modelValue": d[
|
|
31706
|
+
"onUpdate:modelValue": d[15] || (d[15] = (v) => g(t).textWordWrap.maxLine = v)
|
|
31690
31707
|
}, null, 8, ["modelValue"])
|
|
31691
31708
|
]),
|
|
31692
31709
|
_: 1
|
|
@@ -31700,7 +31717,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31700
31717
|
default: S(() => [
|
|
31701
31718
|
b(p, {
|
|
31702
31719
|
modelValue: g(t).textWordWrap.height,
|
|
31703
|
-
"onUpdate:modelValue": d[
|
|
31720
|
+
"onUpdate:modelValue": d[16] || (d[16] = (v) => g(t).textWordWrap.height = v)
|
|
31704
31721
|
}, null, 8, ["modelValue"])
|
|
31705
31722
|
]),
|
|
31706
31723
|
_: 1
|
|
@@ -31715,7 +31732,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31715
31732
|
default: S(() => [
|
|
31716
31733
|
b(g(Ie), {
|
|
31717
31734
|
modelValue: g(t).tooltips,
|
|
31718
|
-
"onUpdate:modelValue": d[
|
|
31735
|
+
"onUpdate:modelValue": d[17] || (d[17] = (v) => g(t).tooltips = v)
|
|
31719
31736
|
}, null, 8, ["modelValue"])
|
|
31720
31737
|
]),
|
|
31721
31738
|
_: 1
|
|
@@ -31723,14 +31740,14 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31723
31740
|
]),
|
|
31724
31741
|
_: 1
|
|
31725
31742
|
}),
|
|
31726
|
-
|
|
31743
|
+
N5,
|
|
31727
31744
|
b(g(ht), { span: 24 }, {
|
|
31728
31745
|
default: S(() => [
|
|
31729
31746
|
b(g(G), { label: "主题" }, {
|
|
31730
31747
|
default: S(() => [
|
|
31731
31748
|
b(g(Et), {
|
|
31732
31749
|
modelValue: g(t).theme.themeName,
|
|
31733
|
-
"onUpdate:modelValue": d[
|
|
31750
|
+
"onUpdate:modelValue": d[18] || (d[18] = (v) => g(t).theme.themeName = v)
|
|
31734
31751
|
}, {
|
|
31735
31752
|
default: S(() => [
|
|
31736
31753
|
b(g(be), { label: "default" }, {
|
|
@@ -31781,7 +31798,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31781
31798
|
default: S(() => [
|
|
31782
31799
|
b(g(Qu), {
|
|
31783
31800
|
modelValue: g(t).theme.themeColor,
|
|
31784
|
-
"onUpdate:modelValue": d[
|
|
31801
|
+
"onUpdate:modelValue": d[19] || (d[19] = (v) => g(t).theme.themeColor = v),
|
|
31785
31802
|
size: "large",
|
|
31786
31803
|
"show-alpha": ""
|
|
31787
31804
|
}, null, 8, ["modelValue"])
|
|
@@ -31805,9 +31822,9 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31805
31822
|
})) : ue("", !0);
|
|
31806
31823
|
};
|
|
31807
31824
|
}
|
|
31808
|
-
}),
|
|
31825
|
+
}), z5 = /* @__PURE__ */ Y("div", { class: "statement-option-title" }, [
|
|
31809
31826
|
/* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "筛选参数配置")
|
|
31810
|
-
], -1),
|
|
31827
|
+
], -1), G5 = /* @__PURE__ */ wt({
|
|
31811
31828
|
__name: "chart-param-editor",
|
|
31812
31829
|
setup (n) {
|
|
31813
31830
|
const e = xt(), { detail: t, activeChartParamDataIndex: i } = Qt(e), r = Te({
|
|
@@ -31821,7 +31838,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
31821
31838
|
return (s, a) => {
|
|
31822
31839
|
const o = de("el-col"), l = de("el-option"), u = de("el-select");
|
|
31823
31840
|
return V(), H(fe, null, [
|
|
31824
|
-
|
|
31841
|
+
z5,
|
|
31825
31842
|
g(r) ? (V(), H(fe, { key: 0 }, [
|
|
31826
31843
|
b(o, { span: 12 }, {
|
|
31827
31844
|
default: S(() => [
|
|
@@ -32138,7 +32155,7 @@ const x5 = { class: "statement-option-title" }, w5 = /* @__PURE__ */ Y("div", {
|
|
|
32138
32155
|
};
|
|
32139
32156
|
}
|
|
32140
32157
|
});
|
|
32141
|
-
function
|
|
32158
|
+
function B5 (n, e, t, i, r) {
|
|
32142
32159
|
let s = Oe(!1);
|
|
32143
32160
|
function a (u) {
|
|
32144
32161
|
let { clientX: h, clientY: c, target: f } = u, { classList: d } = f;
|
|
@@ -32163,7 +32180,7 @@ function z5 (n, e, t, i, r) {
|
|
|
32163
32180
|
}
|
|
32164
32181
|
function lO (n, e = 1) {
|
|
32165
32182
|
let t = 0, i = 300, r = Oe(300);
|
|
32166
|
-
return
|
|
32183
|
+
return B5(
|
|
32167
32184
|
n,
|
|
32168
32185
|
"drag-tap",
|
|
32169
32186
|
(s, a, o) => {
|
|
@@ -32180,7 +32197,7 @@ function lO (n, e = 1) {
|
|
|
32180
32197
|
formWidth: r
|
|
32181
32198
|
};
|
|
32182
32199
|
}
|
|
32183
|
-
let
|
|
32200
|
+
let F5 = [
|
|
32184
32201
|
ct("sourceData", {
|
|
32185
32202
|
label: "sourceData",
|
|
32186
32203
|
type: "variable",
|
|
@@ -32192,15 +32209,15 @@ let G5 = [
|
|
|
32192
32209
|
detail: "接口请求."
|
|
32193
32210
|
})
|
|
32194
32211
|
];
|
|
32195
|
-
const
|
|
32212
|
+
const H5 = function (n, e) {
|
|
32196
32213
|
let t = n.matchBefore(/[\w.-\[\]]+/);
|
|
32197
32214
|
if (t === null || t.from == t.to && !n.explicit)
|
|
32198
32215
|
return null;
|
|
32199
32216
|
{
|
|
32200
32217
|
let i = t.text, r = He(n.state).resolveInner(n.pos, -1), s = /\./.test(r.name) ? r.to : r.from;
|
|
32201
|
-
return
|
|
32218
|
+
return K5(s, i, e);
|
|
32202
32219
|
}
|
|
32203
|
-
},
|
|
32220
|
+
}, K5 = function (n, e, t) {
|
|
32204
32221
|
let i = [];
|
|
32205
32222
|
const r = /sourceData./, s = /sourceData.\w+\[/;
|
|
32206
32223
|
if (/sourceData.\w+\[\d+\]./.test(e)) {
|
|
@@ -32247,18 +32264,18 @@ const B5 = function (n, e) {
|
|
|
32247
32264
|
);
|
|
32248
32265
|
}), i = o;
|
|
32249
32266
|
} else
|
|
32250
|
-
i =
|
|
32267
|
+
i = F5.filter((o) => o.label.includes(e));
|
|
32251
32268
|
return i ? {
|
|
32252
32269
|
from: n,
|
|
32253
32270
|
options: i,
|
|
32254
32271
|
validFor: /^[\w.-\[\]]$/
|
|
32255
32272
|
} : null;
|
|
32256
|
-
},
|
|
32273
|
+
}, J5 = { class: "statement-design-top" }, eC = { class: "statement-name" }, tC = { class: "statement-actions" }, iC = /* @__PURE__ */ Y("i", { class: "iconfont icon-fullscreen-exit" }, null, -1), nC = /* @__PURE__ */ Y("i", { class: "iconfont icon-fullscreen" }, null, -1), rC = /* @__PURE__ */ Y("i", { class: "iconfont icon-save" }, null, -1), sC = /* @__PURE__ */ Y("i", { class: "iconfont icon-help-circle-filled" }, null, -1), aC = /* @__PURE__ */ Y("i", { class: "iconfont icon-eye-fill" }, null, -1), oC = { class: "statement-design-body" }, lC = /* @__PURE__ */ Y("div", { class: "drag-tap right" }, null, -1), uC = /* @__PURE__ */ Y("div", { class: "title-context" }, "图表数据源", -1), hC = {
|
|
32257
32274
|
key: 1,
|
|
32258
32275
|
class: "statement-content"
|
|
32259
|
-
},
|
|
32276
|
+
}, cC = /* @__PURE__ */ Y("div", { class: "drag-tap left" }, null, -1), fC = /* @__PURE__ */ Y("div", { class: "statement-option-title" }, [
|
|
32260
32277
|
/* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "图表样式")
|
|
32261
|
-
], -1),
|
|
32278
|
+
], -1), dC = /* @__PURE__ */ Y("div", { class: "statement-option-title" }, "数据", -1), pC = /* @__PURE__ */ Y("div", { class: "statement-form-sub-title" }, "固定定位", -1), OC = /* @__PURE__ */ Y("span", { class: "tooltip-span" }, "顶部距离", -1), mC = /* @__PURE__ */ Y("span", { class: "tooltip-span" }, "左侧距离", -1), TC = /* @__PURE__ */ wt({
|
|
32262
32279
|
__name: "StatementDesign",
|
|
32263
32280
|
setup (n) {
|
|
32264
32281
|
const e = xt(), { detail: t, keyControl: i, listData: r, showListData: s, sourceData: a, isPreview: o, selectedChartId: l, selectedChart: u, activeChartParamDataIndex: h } = Qt(e), c = Oe(), { isFullscreen: f, toggle: d } = tv(c), p = Te(() => {
|
|
@@ -32377,7 +32394,7 @@ const B5 = function (n, e) {
|
|
|
32377
32394
|
}, L = (U) => {
|
|
32378
32395
|
U.length <= 0 || (E.value = ev(u.value, E.value, U, a.value, !1, s.value, t.value.statementOptions));
|
|
32379
32396
|
};
|
|
32380
|
-
return
|
|
32397
|
+
return Ni(
|
|
32381
32398
|
() => l,
|
|
32382
32399
|
(U) => {
|
|
32383
32400
|
var A;
|
|
@@ -32386,7 +32403,7 @@ const B5 = function (n, e) {
|
|
|
32386
32403
|
}), E.value = (A = u.value) == null ? void 0 : A.option);
|
|
32387
32404
|
},
|
|
32388
32405
|
{ deep: !0 }
|
|
32389
|
-
),
|
|
32406
|
+
), Ni([() => u.value.smooth, () => u.value.symbol, () => u.value.showLabel, () => u.value.areaStyle, () => u.value.labelColor, () => u.value.labelPosition, () => u.value.radius], (U) => {
|
|
32390
32407
|
E.value.series instanceof Array ? E.value.series.forEach((A) => {
|
|
32391
32408
|
A.smooth = U[0], A.symbol = U[1], A.label = {
|
|
32392
32409
|
show: U[2],
|
|
@@ -32417,9 +32434,9 @@ const B5 = function (n, e) {
|
|
|
32417
32434
|
ref_key: "designContainerRef",
|
|
32418
32435
|
ref: c
|
|
32419
32436
|
}, [
|
|
32420
|
-
Y("div",
|
|
32421
|
-
Y("div",
|
|
32422
|
-
Y("div",
|
|
32437
|
+
Y("div", J5, [
|
|
32438
|
+
Y("div", eC, De((J = g(t)) == null ? void 0 : J.name), 1),
|
|
32439
|
+
Y("div", tC, [
|
|
32423
32440
|
g(o) ? (V(), ee(g(Ma), {
|
|
32424
32441
|
key: 1,
|
|
32425
32442
|
effect: "dark",
|
|
@@ -32454,10 +32471,10 @@ const B5 = function (n, e) {
|
|
|
32454
32471
|
}, {
|
|
32455
32472
|
default: S(() => [
|
|
32456
32473
|
g(f) ? (V(), H(fe, { key: 0 }, [
|
|
32457
|
-
|
|
32474
|
+
iC,
|
|
32458
32475
|
N(" 退出全屏 ")
|
|
32459
32476
|
], 64)) : (V(), H(fe, { key: 1 }, [
|
|
32460
|
-
|
|
32477
|
+
nC,
|
|
32461
32478
|
N(" 进入全屏 ")
|
|
32462
32479
|
], 64))
|
|
32463
32480
|
]),
|
|
@@ -32469,7 +32486,7 @@ const B5 = function (n, e) {
|
|
|
32469
32486
|
onClick: g(x)
|
|
32470
32487
|
}, {
|
|
32471
32488
|
default: S(() => [
|
|
32472
|
-
|
|
32489
|
+
rC,
|
|
32473
32490
|
N(" 保存 ")
|
|
32474
32491
|
]),
|
|
32475
32492
|
_: 1
|
|
@@ -32479,7 +32496,7 @@ const B5 = function (n, e) {
|
|
|
32479
32496
|
text: ""
|
|
32480
32497
|
}, {
|
|
32481
32498
|
default: S(() => [
|
|
32482
|
-
|
|
32499
|
+
sC,
|
|
32483
32500
|
N(" 帮助 ")
|
|
32484
32501
|
]),
|
|
32485
32502
|
_: 1
|
|
@@ -32489,7 +32506,7 @@ const B5 = function (n, e) {
|
|
|
32489
32506
|
onClick: A[2] || (A[2] = (I) => o.value = !0)
|
|
32490
32507
|
}, {
|
|
32491
32508
|
default: S(() => [
|
|
32492
|
-
|
|
32509
|
+
aC,
|
|
32493
32510
|
N(" 预览 ")
|
|
32494
32511
|
]),
|
|
32495
32512
|
_: 1
|
|
@@ -32497,7 +32514,7 @@ const B5 = function (n, e) {
|
|
|
32497
32514
|
], 64))
|
|
32498
32515
|
])
|
|
32499
32516
|
]),
|
|
32500
|
-
Y("div",
|
|
32517
|
+
Y("div", oC, [
|
|
32501
32518
|
Dc(Y("div", {
|
|
32502
32519
|
class: "statement-form",
|
|
32503
32520
|
ref_key: "leftFormRef",
|
|
@@ -32506,7 +32523,7 @@ const B5 = function (n, e) {
|
|
|
32506
32523
|
width: `${g(k)}px`
|
|
32507
32524
|
})
|
|
32508
32525
|
}, [
|
|
32509
|
-
|
|
32526
|
+
lC,
|
|
32510
32527
|
b(g(M1), {
|
|
32511
32528
|
modelValue: R.value,
|
|
32512
32529
|
"onUpdate:modelValue": A[4] || (A[4] = (I) => R.value = I)
|
|
@@ -32530,7 +32547,7 @@ const B5 = function (n, e) {
|
|
|
32530
32547
|
name: "data-source"
|
|
32531
32548
|
}, {
|
|
32532
32549
|
title: S(() => [
|
|
32533
|
-
|
|
32550
|
+
uC,
|
|
32534
32551
|
b(g(Ut), {
|
|
32535
32552
|
onClick: g(O),
|
|
32536
32553
|
type: "primary",
|
|
@@ -32557,7 +32574,7 @@ const B5 = function (n, e) {
|
|
|
32557
32574
|
[Mc, !g(o)]
|
|
32558
32575
|
]),
|
|
32559
32576
|
g(o) ? ue("", !0) : (V(), ee(Fb, { key: 0 })),
|
|
32560
|
-
g(o) ? (V(), H("div",
|
|
32577
|
+
g(o) ? (V(), H("div", hC, [
|
|
32561
32578
|
b(K1, {
|
|
32562
32579
|
id: g(w).params.id
|
|
32563
32580
|
}, null, 8, ["id"])
|
|
@@ -32570,8 +32587,8 @@ const B5 = function (n, e) {
|
|
|
32570
32587
|
width: `${g(C)}px`
|
|
32571
32588
|
})
|
|
32572
32589
|
}, [
|
|
32573
|
-
|
|
32574
|
-
b(
|
|
32590
|
+
cC,
|
|
32591
|
+
b(q5),
|
|
32575
32592
|
g(l) ? (V(), ee(g(cr), {
|
|
32576
32593
|
key: 0,
|
|
32577
32594
|
"label-position": "top",
|
|
@@ -32590,8 +32607,8 @@ const B5 = function (n, e) {
|
|
|
32590
32607
|
}, {
|
|
32591
32608
|
default: S(() => [
|
|
32592
32609
|
g(h) !== null ? (V(), H(fe, { key: 0 }, [
|
|
32593
|
-
b(
|
|
32594
|
-
|
|
32610
|
+
b(G5),
|
|
32611
|
+
fC
|
|
32595
32612
|
], 64)) : ue("", !0),
|
|
32596
32613
|
b(g(G), { label: "背景色" }, {
|
|
32597
32614
|
default: S(() => [
|
|
@@ -32895,7 +32912,7 @@ const B5 = function (n, e) {
|
|
|
32895
32912
|
]),
|
|
32896
32913
|
_: 1
|
|
32897
32914
|
})) : ue("", !0),
|
|
32898
|
-
|
|
32915
|
+
dC,
|
|
32899
32916
|
b(g(G), { label: "数据分组求和" }, {
|
|
32900
32917
|
default: S(() => [
|
|
32901
32918
|
b(g(Ie), {
|
|
@@ -32934,7 +32951,7 @@ const B5 = function (n, e) {
|
|
|
32934
32951
|
_: 1
|
|
32935
32952
|
}),
|
|
32936
32953
|
g(u).position ? (V(), H(fe, { key: 9 }, [
|
|
32937
|
-
|
|
32954
|
+
pC,
|
|
32938
32955
|
b(g(G), null, {
|
|
32939
32956
|
label: S(() => [
|
|
32940
32957
|
b(g(Ma), {
|
|
@@ -32944,7 +32961,7 @@ const B5 = function (n, e) {
|
|
|
32944
32961
|
placement: "top-start"
|
|
32945
32962
|
}, {
|
|
32946
32963
|
default: S(() => [
|
|
32947
|
-
|
|
32964
|
+
OC
|
|
32948
32965
|
]),
|
|
32949
32966
|
_: 1
|
|
32950
32967
|
})
|
|
@@ -32967,7 +32984,7 @@ const B5 = function (n, e) {
|
|
|
32967
32984
|
placement: "top-start"
|
|
32968
32985
|
}, {
|
|
32969
32986
|
default: S(() => [
|
|
32970
|
-
|
|
32987
|
+
mC
|
|
32971
32988
|
]),
|
|
32972
32989
|
_: 1
|
|
32973
32990
|
})
|
|
@@ -32992,12 +33009,12 @@ const B5 = function (n, e) {
|
|
|
32992
33009
|
default: S(() => [
|
|
32993
33010
|
b(g(G), { label: "自定义配置" }, {
|
|
32994
33011
|
default: S(() => [
|
|
32995
|
-
X.value === "custom" ? (V(), ee(
|
|
33012
|
+
X.value === "custom" ? (V(), ee(ji, {
|
|
32996
33013
|
key: 0,
|
|
32997
33014
|
modelValue: g(j),
|
|
32998
33015
|
"onUpdate:modelValue": A[29] || (A[29] = (I) => D1(j) ? j.value = I : null),
|
|
32999
33016
|
autocomplete: {
|
|
33000
|
-
javascript: g(
|
|
33017
|
+
javascript: g(H5)
|
|
33001
33018
|
},
|
|
33002
33019
|
language: "javascript"
|
|
33003
33020
|
}, null, 8, ["modelValue", "autocomplete"])) : ue("", !0)
|
|
@@ -33027,6 +33044,6 @@ const B5 = function (n, e) {
|
|
|
33027
33044
|
}
|
|
33028
33045
|
});
|
|
33029
33046
|
export {
|
|
33030
|
-
|
|
33047
|
+
TC as default
|
|
33031
33048
|
};
|
|
33032
|
-
//# sourceMappingURL=StatementDesign-
|
|
33049
|
+
//# sourceMappingURL=StatementDesign-d7c6350b.mjs.map
|