yh-report 2.3.22 → 2.3.23
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-772df9ca.mjs → StatementDesign-992929b6.mjs} +253 -250
- package/{StatementDesign-772df9ca.mjs.map → StatementDesign-992929b6.mjs.map} +1 -1
- package/{StatementDetail-7c5de4c8.mjs → StatementDetail-e0406425.mjs} +2 -2
- package/{StatementDetail-7c5de4c8.mjs.map → StatementDetail-e0406425.mjs.map} +1 -1
- package/{StatementList-45ece2f4.mjs → StatementList-d5eabf08.mjs} +87 -68
- package/StatementList-d5eabf08.mjs.map +1 -0
- package/{index-08507a23.mjs → index-0496fae5.mjs} +788 -788
- package/index-0496fae5.mjs.map +1 -0
- package/index.es.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/StatementList-45ece2f4.mjs.map +0 -1
- package/index-08507a23.mjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { onMounted as Ti, onUnmounted as _s, ref as be, computed as _e, shallowReactive as Nm, watch as Qs, defineComponent as it, resolveComponent as he, openBlock as q, createElementBlock as F, createElementVNode as A, normalizeStyle as Pt, unref as g, Fragment as
|
|
1
|
+
import { onMounted as Ti, onUnmounted as _s, ref as be, computed as _e, shallowReactive as Nm, watch as Qs, defineComponent as it, resolveComponent as he, openBlock as q, createElementBlock as F, createElementVNode as A, normalizeStyle as Pt, unref as g, Fragment as re, renderList as qe, normalizeClass as Zt, createCommentVNode as ce, createBlock as le, withCtx as b, createVNode as _, createTextVNode as D, toDisplayString as Ue, reactive as yr, resolveDynamicComponent as jm, renderSlot as In, useCssVars as Gm, onActivated as Lf, onDeactivated as zf, toRaw as Fm, withDirectives as Ut, vShow as Wt, isRef as Hm, withKeys as Km, nextTick as Jm, mergeProps as eg } from "vue";
|
|
2
2
|
import { ElMessageBox as Uf, ElMessage as Di, ElEmpty as tg, ElDialog as Wf, ElFormItem as ye, ElInput as ni, ElSwitch as pi, ElButton as Te, ElRadioGroup as Gi, ElRadioButton as Le, ElColorPicker as ku, ElCheckbox as Tu, ElForm as ig, ElTabs as If, ElCollapse as ng, ElCollapseItem as sg, ElTabPane as Cu } from "element-plus";
|
|
3
3
|
import { useRoute as Bf, useRouter as rg } from "vue-router";
|
|
4
4
|
import { defineStore as lg, storeToRefs as yt } from "pinia";
|
|
5
5
|
import { a as ag } from "./editorLock-afc375cb.mjs";
|
|
6
|
-
import { C as de, b as og, s as ug, F as Xe, r as hg, c as cg, e as va, f as fg, _ as dg, D as Sa, p as Og, h as Xu, i as Ts, j as Ru, v as pg, k as Nf, l as mg, m as gg, T as _l, n as _g, I as Qg, o as bg } from "./index-
|
|
6
|
+
import { C as de, b as og, s as ug, F as Xe, r as hg, c as cg, e as va, f as fg, _ as dg, D as Sa, p as Og, h as Xu, i as Ts, j as Ru, v as pg, k as Nf, l as mg, m as gg, T as _l, n as _g, I as Qg, o as bg } from "./index-0496fae5.mjs";
|
|
7
7
|
import { cloneDeep as He, set as Xt, get as yg } from "lodash-es";
|
|
8
8
|
import "@/libs/api.request.js";
|
|
9
9
|
import "echarts";
|
|
@@ -456,17 +456,17 @@ const Ql = {}, vt = function() {
|
|
|
456
456
|
}, [
|
|
457
457
|
A("colgroup", null, [
|
|
458
458
|
kg,
|
|
459
|
-
(q(!0), F(
|
|
459
|
+
(q(!0), F(re, null, qe(g(o), (R) => (q(), F("col", {
|
|
460
460
|
width: R == null ? void 0 : R.size
|
|
461
461
|
}, null, 8, Tg))), 256))
|
|
462
462
|
]),
|
|
463
|
-
(q(!0), F(
|
|
463
|
+
(q(!0), F(re, null, qe(g(m), ({ size: R, cols: Q, bind: T, loop: X, hidden: z }, j) => (q(), F("tr", {
|
|
464
464
|
class: Zt({
|
|
465
465
|
hidden: z
|
|
466
466
|
}),
|
|
467
467
|
style: Pt(`height: ${R}px;`)
|
|
468
468
|
}, [
|
|
469
|
-
(q(!0), F(
|
|
469
|
+
(q(!0), F(re, null, qe(Q, (H, K) => (q(), F("td", {
|
|
470
470
|
class: Zt(H.class),
|
|
471
471
|
style: Pt(H.styleAttr),
|
|
472
472
|
title: `${(T || H.bind) && H.type === "head" ? "随数据循环" : H.text}`,
|
|
@@ -482,10 +482,10 @@ const Ql = {}, vt = function() {
|
|
|
482
482
|
}, [
|
|
483
483
|
H.group ? (q(), F("i", Xg)) : ce("", !0),
|
|
484
484
|
H.combine ? (q(), F("i", Rg)) : ce("", !0),
|
|
485
|
-
H.type === "head" ? (q(), F(
|
|
485
|
+
H.type === "head" ? (q(), F(re, { key: 2 }, [
|
|
486
486
|
X || H.loop ? (q(), F("i", Zg)) : ce("", !0),
|
|
487
487
|
T || H.bind ? (q(), F("i", Vg)) : ce("", !0),
|
|
488
|
-
j === 0 ? (q(), F(
|
|
488
|
+
j === 0 ? (q(), F(re, { key: 2 }, [
|
|
489
489
|
K !== 0 ? (q(), F("div", {
|
|
490
490
|
key: 0,
|
|
491
491
|
class: "drag-bar mouse-move-target",
|
|
@@ -502,7 +502,7 @@ const Ql = {}, vt = function() {
|
|
|
502
502
|
"data-table": e.tableIndex,
|
|
503
503
|
"data-row": j - 1
|
|
504
504
|
}, null, 8, Yg)) : ce("", !0),
|
|
505
|
-
j === 0 && K === 0 ? (q(),
|
|
505
|
+
j === 0 && K === 0 ? (q(), le(k, { key: 4 }, {
|
|
506
506
|
default: b(() => {
|
|
507
507
|
var me, Se;
|
|
508
508
|
return [
|
|
@@ -670,7 +670,7 @@ const Ql = {}, vt = function() {
|
|
|
670
670
|
A("div", Mg, [
|
|
671
671
|
_(Q, { inline: "" }, {
|
|
672
672
|
default: b(() => [
|
|
673
|
-
(q(!0), F(
|
|
673
|
+
(q(!0), F(re, null, qe(g(f), (X, z) => (q(), le(R, {
|
|
674
674
|
class: Zt(["params-desinger-item report-drag-source report-drop-target", { active: z === g(r) }]),
|
|
675
675
|
draggable: "true",
|
|
676
676
|
"data-drag": "params",
|
|
@@ -682,7 +682,7 @@ const Ql = {}, vt = function() {
|
|
|
682
682
|
label: X.name
|
|
683
683
|
}, {
|
|
684
684
|
default: b(() => [
|
|
685
|
-
(q(),
|
|
685
|
+
(q(), le(jm(X.componentName), {
|
|
686
686
|
type: X.type,
|
|
687
687
|
placeholder: X.placeholer
|
|
688
688
|
}, null, 8, ["type", "placeholder"])),
|
|
@@ -701,7 +701,7 @@ const Ql = {}, vt = function() {
|
|
|
701
701
|
]),
|
|
702
702
|
A("div", Ug, [
|
|
703
703
|
Wg,
|
|
704
|
-
(q(!0), F(
|
|
704
|
+
(q(!0), F(re, null, qe(g(h).tableConfig, (X, z) => (q(), le(Eg, {
|
|
705
705
|
"table-config": X,
|
|
706
706
|
"table-index": z,
|
|
707
707
|
index: t.index
|
|
@@ -819,7 +819,7 @@ const Ql = {}, vt = function() {
|
|
|
819
819
|
}, [
|
|
820
820
|
In(O.$slots, "default"),
|
|
821
821
|
A("div", Jg, [
|
|
822
|
-
g(o).isSuspend ? (q(), F(
|
|
822
|
+
g(o).isSuspend ? (q(), F(re, { key: 0 }, [
|
|
823
823
|
_(m, {
|
|
824
824
|
type: "primary",
|
|
825
825
|
title: "移动",
|
|
@@ -843,7 +843,7 @@ const Ql = {}, vt = function() {
|
|
|
843
843
|
]),
|
|
844
844
|
_: 1
|
|
845
845
|
})
|
|
846
|
-
], 64)) : (q(),
|
|
846
|
+
], 64)) : (q(), le(m, {
|
|
847
847
|
key: 1,
|
|
848
848
|
type: "primary",
|
|
849
849
|
title: "悬浮",
|
|
@@ -1178,20 +1178,20 @@ const g_ = /* @__PURE__ */ it({
|
|
|
1178
1178
|
"data-source": "canvas",
|
|
1179
1179
|
"data-target": "canvas"
|
|
1180
1180
|
}, [
|
|
1181
|
-
(q(!0), F(
|
|
1182
|
-
P.type === "report" ? (q(),
|
|
1181
|
+
(q(!0), F(re, null, qe(g(c), (P, w) => (q(), F(re, null, [
|
|
1182
|
+
P.type === "report" ? (q(), le(Hg, {
|
|
1183
1183
|
key: 0,
|
|
1184
1184
|
option: P,
|
|
1185
1185
|
index: w,
|
|
1186
1186
|
onChoose: f,
|
|
1187
1187
|
onDel: d
|
|
1188
|
-
}, null, 8, ["option", "index"])) : P.type === "label" ? (q(),
|
|
1188
|
+
}, null, 8, ["option", "index"])) : P.type === "label" ? (q(), le(m_, {
|
|
1189
1189
|
key: 1,
|
|
1190
1190
|
index: w,
|
|
1191
1191
|
item: P,
|
|
1192
1192
|
onChoose: f,
|
|
1193
1193
|
onDel: d
|
|
1194
|
-
}, null, 8, ["index", "item"])) : (q(),
|
|
1194
|
+
}, null, 8, ["index", "item"])) : (q(), le(o_, {
|
|
1195
1195
|
key: 2,
|
|
1196
1196
|
index: w,
|
|
1197
1197
|
onChoose: f,
|
|
@@ -1203,7 +1203,7 @@ const g_ = /* @__PURE__ */ it({
|
|
|
1203
1203
|
_: 2
|
|
1204
1204
|
}, 1032, ["index"]))
|
|
1205
1205
|
], 64))), 256)),
|
|
1206
|
-
g(c).length === 0 ? (q(),
|
|
1206
|
+
g(c).length === 0 ? (q(), le(g(tg), {
|
|
1207
1207
|
key: 0,
|
|
1208
1208
|
style: { width: "100%" },
|
|
1209
1209
|
description: "拖拽至此添加报表或图表"
|
|
@@ -1221,7 +1221,7 @@ const g_ = /* @__PURE__ */ it({
|
|
|
1221
1221
|
emits: ["update:modelValue"],
|
|
1222
1222
|
setup(n, { emit: e }) {
|
|
1223
1223
|
const t = n;
|
|
1224
|
-
return (i, s) => (q(),
|
|
1224
|
+
return (i, s) => (q(), le(g(Wf), {
|
|
1225
1225
|
fullscreen: "",
|
|
1226
1226
|
"model-value": t.modelValue,
|
|
1227
1227
|
onClose: s[0] || (s[0] = (r) => e("update:modelValue", !1)),
|
|
@@ -1244,7 +1244,7 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1244
1244
|
},
|
|
1245
1245
|
setup(n) {
|
|
1246
1246
|
return (e, t) => (q(), F("ul", b_, [
|
|
1247
|
-
(q(!0), F(
|
|
1247
|
+
(q(!0), F(re, null, qe(n.chartReportList, (i, s) => (q(), F("li", {
|
|
1248
1248
|
class: "chart-series-box report-drag-source",
|
|
1249
1249
|
draggable: "true",
|
|
1250
1250
|
"data-drag": i.type,
|
|
@@ -1456,7 +1456,7 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1456
1456
|
}), s = _e(() => t.value && t.value.dateType && ["daterange", "datetimerange"].includes(t.value.dateType));
|
|
1457
1457
|
return (r, l) => {
|
|
1458
1458
|
const a = he("el-col"), o = he("el-option"), u = he("el-select"), h = he("el-tooltip");
|
|
1459
|
-
return g(t) ? (q(), F(
|
|
1459
|
+
return g(t) ? (q(), F(re, { key: 0 }, [
|
|
1460
1460
|
P_,
|
|
1461
1461
|
_(a, { span: 12 }, {
|
|
1462
1462
|
default: b(() => [
|
|
@@ -1494,7 +1494,7 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1494
1494
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => g(t).type = c)
|
|
1495
1495
|
}, {
|
|
1496
1496
|
default: b(() => [
|
|
1497
|
-
(q(!0), F(
|
|
1497
|
+
(q(!0), F(re, null, qe(g(x_), (c) => (q(), le(o, {
|
|
1498
1498
|
value: c.value,
|
|
1499
1499
|
label: c.label
|
|
1500
1500
|
}, null, 8, ["value", "label"]))), 256))
|
|
@@ -1590,7 +1590,7 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1590
1590
|
]),
|
|
1591
1591
|
_: 1
|
|
1592
1592
|
}),
|
|
1593
|
-
[g(Sa).DATE, g(Sa).DATETIME].includes(g(t).dataType) ? (q(), F(
|
|
1593
|
+
[g(Sa).DATE, g(Sa).DATETIME].includes(g(t).dataType) ? (q(), F(re, { key: 0 }, [
|
|
1594
1594
|
_(a, { span: 12 }, {
|
|
1595
1595
|
default: b(() => [
|
|
1596
1596
|
_(g(ye), { label: "日期选择类型" }, {
|
|
@@ -1601,7 +1601,7 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1601
1601
|
"onUpdate:modelValue": l[5] || (l[5] = (c) => g(t).dateType = c)
|
|
1602
1602
|
}, {
|
|
1603
1603
|
default: b(() => [
|
|
1604
|
-
(q(!0), F(
|
|
1604
|
+
(q(!0), F(re, null, qe(g($_), (c) => (q(), le(o, {
|
|
1605
1605
|
value: c.value,
|
|
1606
1606
|
label: c.label
|
|
1607
1607
|
}, null, 8, ["value", "label"]))), 256))
|
|
@@ -1623,7 +1623,7 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1623
1623
|
"onUpdate:modelValue": l[6] || (l[6] = (c) => g(t).defaultValue = c)
|
|
1624
1624
|
}, {
|
|
1625
1625
|
default: b(() => [
|
|
1626
|
-
(q(!0), F(
|
|
1626
|
+
(q(!0), F(re, null, qe(g(i), (c) => (q(), le(o, {
|
|
1627
1627
|
value: c.value,
|
|
1628
1628
|
label: c.label
|
|
1629
1629
|
}, null, 8, ["value", "label"]))), 256))
|
|
@@ -1636,7 +1636,7 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1636
1636
|
]),
|
|
1637
1637
|
_: 1
|
|
1638
1638
|
}),
|
|
1639
|
-
g(s) ? (q(), F(
|
|
1639
|
+
g(s) ? (q(), F(re, { key: 0 }, [
|
|
1640
1640
|
_(a, { span: 24 }, {
|
|
1641
1641
|
default: b(() => [
|
|
1642
1642
|
_(g(ye), null, {
|
|
@@ -1709,7 +1709,7 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1709
1709
|
]),
|
|
1710
1710
|
_: 1
|
|
1711
1711
|
})
|
|
1712
|
-
], 64)) : (q(), F(
|
|
1712
|
+
], 64)) : (q(), F(re, { key: 1 }, [
|
|
1713
1713
|
_(a, { span: 24 }, {
|
|
1714
1714
|
default: b(() => [
|
|
1715
1715
|
_(g(ye), null, {
|
|
@@ -1783,8 +1783,8 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
|
|
|
1783
1783
|
_: 1
|
|
1784
1784
|
})
|
|
1785
1785
|
], 64))
|
|
1786
|
-
], 64)) : (q(), F(
|
|
1787
|
-
g(t).isNull ? (q(),
|
|
1786
|
+
], 64)) : (q(), F(re, { key: 1 }, [
|
|
1787
|
+
g(t).isNull ? (q(), le(a, {
|
|
1788
1788
|
key: 0,
|
|
1789
1789
|
span: 24
|
|
1790
1790
|
}, {
|
|
@@ -2996,7 +2996,7 @@ function td(n, e) {
|
|
|
2996
2996
|
throw new RangeError("Selection points outside of document");
|
|
2997
2997
|
}
|
|
2998
2998
|
let Co = 0;
|
|
2999
|
-
class
|
|
2999
|
+
class oe {
|
|
3000
3000
|
constructor(e, t, i, s, r) {
|
|
3001
3001
|
this.combine = e, this.compareInput = t, this.compare = i, this.isStatic = s, this.id = Co++, this.default = e([]), this.extensions = typeof r == "function" ? r(this) : r;
|
|
3002
3002
|
}
|
|
@@ -3011,7 +3011,7 @@ class ae {
|
|
|
3011
3011
|
Define a new facet.
|
|
3012
3012
|
*/
|
|
3013
3013
|
static define(e = {}) {
|
|
3014
|
-
return new
|
|
3014
|
+
return new oe(e.combine || ((t) => t), e.compareInput || ((t, i) => t === i), e.compare || (e.combine ? (t, i) => t === i : Xo), !!e.static, e.enables);
|
|
3015
3015
|
}
|
|
3016
3016
|
/**
|
|
3017
3017
|
Returns an extension that adds the given value to this facet.
|
|
@@ -3074,7 +3074,7 @@ class or {
|
|
|
3074
3074
|
let d, O = f.config.address[r];
|
|
3075
3075
|
if (O != null) {
|
|
3076
3076
|
let y = Sr(f, O);
|
|
3077
|
-
if (this.dependencies.every((m) => m instanceof
|
|
3077
|
+
if (this.dependencies.every((m) => m instanceof oe ? f.facet(m) === c.facet(m) : m instanceof Fe ? f.field(m, !1) == c.field(m, !1) : !0) || (a ? Eu(d = i(c), y, s) : s(d = i(c), y)))
|
|
3078
3078
|
return c.values[l] = y, 0;
|
|
3079
3079
|
} else
|
|
3080
3080
|
d = i(c);
|
|
@@ -3132,7 +3132,7 @@ function e0(n, e, t) {
|
|
|
3132
3132
|
}
|
|
3133
3133
|
};
|
|
3134
3134
|
}
|
|
3135
|
-
const Cs = /* @__PURE__ */
|
|
3135
|
+
const Cs = /* @__PURE__ */ oe.define({ static: !0 });
|
|
3136
3136
|
class Fe {
|
|
3137
3137
|
constructor(e, t, i, s, r) {
|
|
3138
3138
|
this.id = e, this.createF = t, this.updateF = i, this.compareF = s, this.spec = r, this.provides = void 0;
|
|
@@ -3335,13 +3335,13 @@ function Nn(n, e) {
|
|
|
3335
3335
|
function Sr(n, e) {
|
|
3336
3336
|
return e & 1 ? n.config.staticValues[e >> 1] : n.values[e >> 1];
|
|
3337
3337
|
}
|
|
3338
|
-
const nd = /* @__PURE__ */
|
|
3338
|
+
const nd = /* @__PURE__ */ oe.define(), Ca = /* @__PURE__ */ oe.define({
|
|
3339
3339
|
combine: (n) => n.some((e) => e),
|
|
3340
3340
|
static: !0
|
|
3341
|
-
}), sd = /* @__PURE__ */
|
|
3341
|
+
}), sd = /* @__PURE__ */ oe.define({
|
|
3342
3342
|
combine: (n) => n.length ? n[0] : void 0,
|
|
3343
3343
|
static: !0
|
|
3344
|
-
}), rd = /* @__PURE__ */
|
|
3344
|
+
}), rd = /* @__PURE__ */ oe.define(), ld = /* @__PURE__ */ oe.define(), ad = /* @__PURE__ */ oe.define(), od = /* @__PURE__ */ oe.define({
|
|
3345
3345
|
combine: (n) => n.length ? n[0] : !1
|
|
3346
3346
|
});
|
|
3347
3347
|
class di {
|
|
@@ -3889,12 +3889,12 @@ class Pe {
|
|
|
3889
3889
|
}
|
|
3890
3890
|
}
|
|
3891
3891
|
Pe.allowMultipleSelections = Ca;
|
|
3892
|
-
Pe.tabSize = /* @__PURE__ */
|
|
3892
|
+
Pe.tabSize = /* @__PURE__ */ oe.define({
|
|
3893
3893
|
combine: (n) => n.length ? n[0] : 4
|
|
3894
3894
|
});
|
|
3895
3895
|
Pe.lineSeparator = sd;
|
|
3896
3896
|
Pe.readOnly = od;
|
|
3897
|
-
Pe.phrases = /* @__PURE__ */
|
|
3897
|
+
Pe.phrases = /* @__PURE__ */ oe.define({
|
|
3898
3898
|
compare(n, e) {
|
|
3899
3899
|
let t = Object.keys(n), i = Object.keys(e);
|
|
3900
3900
|
return t.length == i.length && t.every((s) => n[s] == e[s]);
|
|
@@ -5213,7 +5213,7 @@ function vd(n, e, t, i, s, r) {
|
|
|
5213
5213
|
}
|
|
5214
5214
|
let ct = typeof navigator < "u" ? navigator : { userAgent: "", vendor: "", platform: "" }, Da = typeof document < "u" ? document : { documentElement: { style: {} } };
|
|
5215
5215
|
const La = /* @__PURE__ */ /Edge\/(\d+)/.exec(ct.userAgent), Sd = /* @__PURE__ */ /MSIE \d/.test(ct.userAgent), za = /* @__PURE__ */ /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ct.userAgent), nl = !!(Sd || za || La), Nu = !nl && /* @__PURE__ */ /gecko\/(\d+)/i.test(ct.userAgent), Sl = !nl && /* @__PURE__ */ /Chrome\/(\d+)/.exec(ct.userAgent), ju = "webkitFontSmoothing" in Da.documentElement.style, xd = !nl && /* @__PURE__ */ /Apple Computer/.test(ct.vendor), Gu = xd && (/* @__PURE__ */ /Mobile\/\w+/.test(ct.userAgent) || ct.maxTouchPoints > 2);
|
|
5216
|
-
var
|
|
5216
|
+
var ae = {
|
|
5217
5217
|
mac: Gu || /* @__PURE__ */ /Mac/.test(ct.platform),
|
|
5218
5218
|
windows: /* @__PURE__ */ /Win/.test(ct.platform),
|
|
5219
5219
|
linux: /* @__PURE__ */ /Linux|X11/.test(ct.platform),
|
|
@@ -5311,12 +5311,12 @@ function S0(n, e, t) {
|
|
|
5311
5311
|
let i = n.nodeValue.length;
|
|
5312
5312
|
e > i && (e = i);
|
|
5313
5313
|
let s = e, r = e, l = 0;
|
|
5314
|
-
e == 0 && t < 0 || e == i && t >= 0 ?
|
|
5314
|
+
e == 0 && t < 0 || e == i && t >= 0 ? ae.chrome || ae.gecko || (e ? (s--, l = 1) : r < i && (r++, l = -1)) : t < 0 ? s-- : r < i && r++;
|
|
5315
5315
|
let a = Wi(n, s, r).getClientRects();
|
|
5316
5316
|
if (!a.length)
|
|
5317
5317
|
return null;
|
|
5318
5318
|
let o = a[(l ? l < 0 : t >= 0) ? 0 : a.length - 1];
|
|
5319
|
-
return
|
|
5319
|
+
return ae.safari && !l && o.width == 0 && (o = Array.prototype.find.call(a, (u) => u.width) || o), l ? il(o, l < 0) : o || null;
|
|
5320
5320
|
}
|
|
5321
5321
|
class bi extends Ae {
|
|
5322
5322
|
static create(e, t, i) {
|
|
@@ -5789,7 +5789,7 @@ class Ie extends Ae {
|
|
|
5789
5789
|
let s = this.dom.lastChild;
|
|
5790
5790
|
for (; s && Ae.get(s) instanceof hi; )
|
|
5791
5791
|
s = s.lastChild;
|
|
5792
|
-
if (!s || !this.length || s.nodeName != "BR" && ((i = Ae.get(s)) === null || i === void 0 ? void 0 : i.isEditable) == !1 && (!
|
|
5792
|
+
if (!s || !this.length || s.nodeName != "BR" && ((i = Ae.get(s)) === null || i === void 0 ? void 0 : i.isEditable) == !1 && (!ae.ios || !this.children.some((r) => r instanceof At))) {
|
|
5793
5793
|
let r = document.createElement("BR");
|
|
5794
5794
|
r.cmIgnore = !0, this.dom.appendChild(r);
|
|
5795
5795
|
}
|
|
@@ -6303,11 +6303,11 @@ function Y0(n, e, t) {
|
|
|
6303
6303
|
}
|
|
6304
6304
|
return Ii;
|
|
6305
6305
|
}
|
|
6306
|
-
const Vd = /* @__PURE__ */
|
|
6306
|
+
const Vd = /* @__PURE__ */ oe.define(), Ad = /* @__PURE__ */ oe.define(), Yd = /* @__PURE__ */ oe.define(), Ed = /* @__PURE__ */ oe.define(), Ga = /* @__PURE__ */ oe.define(), qd = /* @__PURE__ */ oe.define(), Md = /* @__PURE__ */ oe.define(), Ao = /* @__PURE__ */ oe.define(), Yo = /* @__PURE__ */ oe.define(), Dd = /* @__PURE__ */ oe.define({
|
|
6307
6307
|
combine: (n) => n.some((e) => e)
|
|
6308
|
-
}), Ld = /* @__PURE__ */
|
|
6308
|
+
}), Ld = /* @__PURE__ */ oe.define({
|
|
6309
6309
|
combine: (n) => n.some((e) => e)
|
|
6310
|
-
}), zd = /* @__PURE__ */
|
|
6310
|
+
}), zd = /* @__PURE__ */ oe.define();
|
|
6311
6311
|
class un {
|
|
6312
6312
|
constructor(e, t = "nearest", i = "nearest", s = 5, r = 5, l = !1) {
|
|
6313
6313
|
this.range = e, this.y = t, this.x = i, this.yMargin = s, this.xMargin = r, this.isSnapshot = l;
|
|
@@ -6324,9 +6324,9 @@ function dt(n, e, t) {
|
|
|
6324
6324
|
let i = n.facet(Ed);
|
|
6325
6325
|
i.length ? i[0](e) : window.onerror && window.onerror(String(e), t, void 0, void 0, e) || (t ? console.error(t + ":", e) : console.error(e));
|
|
6326
6326
|
}
|
|
6327
|
-
const ri = /* @__PURE__ */
|
|
6327
|
+
const ri = /* @__PURE__ */ oe.define({ combine: (n) => n.length ? n[0] : !0 });
|
|
6328
6328
|
let E0 = 0;
|
|
6329
|
-
const nn = /* @__PURE__ */
|
|
6329
|
+
const nn = /* @__PURE__ */ oe.define({
|
|
6330
6330
|
combine(n) {
|
|
6331
6331
|
return n.filter((e, t) => {
|
|
6332
6332
|
for (let i = 0; i < t; i++)
|
|
@@ -6412,7 +6412,7 @@ class xl {
|
|
|
6412
6412
|
this.spec = this.value = null;
|
|
6413
6413
|
}
|
|
6414
6414
|
}
|
|
6415
|
-
const Wd = /* @__PURE__ */
|
|
6415
|
+
const Wd = /* @__PURE__ */ oe.define(), Eo = /* @__PURE__ */ oe.define(), ns = /* @__PURE__ */ oe.define(), Id = /* @__PURE__ */ oe.define(), qo = /* @__PURE__ */ oe.define(), Bd = /* @__PURE__ */ oe.define();
|
|
6416
6416
|
function Hu(n, e) {
|
|
6417
6417
|
let t = n.state.facet(Bd);
|
|
6418
6418
|
if (!t.length)
|
|
@@ -6435,7 +6435,7 @@ function Hu(n, e) {
|
|
|
6435
6435
|
}
|
|
6436
6436
|
}), s;
|
|
6437
6437
|
}
|
|
6438
|
-
const Nd = /* @__PURE__ */
|
|
6438
|
+
const Nd = /* @__PURE__ */ oe.define();
|
|
6439
6439
|
function Mo(n) {
|
|
6440
6440
|
let e = 0, t = 0, i = 0, s = 0;
|
|
6441
6441
|
for (let r of n.state.facet(Nd)) {
|
|
@@ -6444,7 +6444,7 @@ function Mo(n) {
|
|
|
6444
6444
|
}
|
|
6445
6445
|
return { left: e, right: t, top: i, bottom: s };
|
|
6446
6446
|
}
|
|
6447
|
-
const Dn = /* @__PURE__ */
|
|
6447
|
+
const Dn = /* @__PURE__ */ oe.define();
|
|
6448
6448
|
class kt {
|
|
6449
6449
|
constructor(e, t, i, s) {
|
|
6450
6450
|
this.fromA = e, this.toA = t, this.fromB = i, this.toB = s;
|
|
@@ -6572,7 +6572,7 @@ class Ku extends Ae {
|
|
|
6572
6572
|
let { from: u, to: h } = this.hasComposition;
|
|
6573
6573
|
i = new kt(u, h, e.changes.mapPos(u, -1), e.changes.mapPos(h, 1)).addToSet(i.slice());
|
|
6574
6574
|
}
|
|
6575
|
-
this.hasComposition = r ? { from: r.range.fromB, to: r.range.toB } : null, (
|
|
6575
|
+
this.hasComposition = r ? { from: r.range.fromB, to: r.range.toB } : null, (ae.ie || ae.chrome) && !r && e && e.state.doc.lines != e.startState.doc.lines && (this.forceSelection = !0);
|
|
6576
6576
|
let l = this.decorations, a = this.updateDeco(), o = z0(l, a, e.changes);
|
|
6577
6577
|
return i = kt.extendWithRanges(i, o), !(this.flags & 7) && i.length == 0 ? !1 : (this.updateInner(i, e.startState.doc.length, r), e.transactions.length && (this.lastUpdate = Date.now()), !0);
|
|
6578
6578
|
}
|
|
@@ -6583,7 +6583,7 @@ class Ku extends Ae {
|
|
|
6583
6583
|
let { observer: s } = this.view;
|
|
6584
6584
|
s.ignore(() => {
|
|
6585
6585
|
this.dom.style.height = this.view.viewState.contentHeight / this.view.scaleY + "px", this.dom.style.flexBasis = this.minWidth ? this.minWidth + "px" : "";
|
|
6586
|
-
let l =
|
|
6586
|
+
let l = ae.chrome || ae.ios ? { node: s.selectionRange.focusNode, written: !1 } : void 0;
|
|
6587
6587
|
this.sync(this.view, l), this.flags &= -8, l && (l.written || s.selectionRange.focusNode != l.node) && (this.forceSelection = !0), this.dom.style.height = "";
|
|
6588
6588
|
}), this.markedForComposition.forEach(
|
|
6589
6589
|
(l) => l.flags &= -9
|
|
@@ -6650,17 +6650,17 @@ class Ku extends Ae {
|
|
|
6650
6650
|
let l = this.forceSelection;
|
|
6651
6651
|
this.forceSelection = !1;
|
|
6652
6652
|
let a = this.view.state.selection.main, o = this.moveToLine(this.domAtPos(a.anchor)), u = a.empty ? o : this.moveToLine(this.domAtPos(a.head));
|
|
6653
|
-
if (
|
|
6653
|
+
if (ae.gecko && a.empty && !this.hasComposition && q0(o)) {
|
|
6654
6654
|
let c = document.createTextNode("");
|
|
6655
6655
|
this.view.observer.ignore(() => o.node.insertBefore(c, o.node.childNodes[o.offset] || null)), o = u = new st(c, 0), l = !0;
|
|
6656
6656
|
}
|
|
6657
6657
|
let h = this.view.observer.selectionRange;
|
|
6658
6658
|
(l || !h.focusNode || (!jn(o.node, o.offset, h.anchorNode, h.anchorOffset) || !jn(u.node, u.offset, h.focusNode, h.focusOffset)) && !this.suppressWidgetCursorChange(h, a)) && (this.view.observer.ignore(() => {
|
|
6659
|
-
|
|
6659
|
+
ae.android && ae.chrome && this.dom.contains(h.focusNode) && U0(h.focusNode, this.dom) && (this.dom.blur(), this.dom.focus({ preventScroll: !0 }));
|
|
6660
6660
|
let c = ts(this.view.root);
|
|
6661
6661
|
if (c)
|
|
6662
6662
|
if (a.empty) {
|
|
6663
|
-
if (
|
|
6663
|
+
if (ae.gecko) {
|
|
6664
6664
|
let f = D0(o.node, o.offset);
|
|
6665
6665
|
if (f && f != 3) {
|
|
6666
6666
|
let d = (f == 1 ? _d : Qd)(o.node, o.offset);
|
|
@@ -7051,7 +7051,7 @@ function th(n, e, t) {
|
|
|
7051
7051
|
let c = (h.top > t ? h.top - t : t - h.bottom) - 1;
|
|
7052
7052
|
if (h.left - 1 <= e && h.right + 1 >= e && c < r) {
|
|
7053
7053
|
let f = e >= (h.left + h.right) / 2, d = f;
|
|
7054
|
-
if ((
|
|
7054
|
+
if ((ae.chrome || ae.gecko) && Wi(n, a).getBoundingClientRect().left == h.right && (d = !f), c <= 0)
|
|
7055
7055
|
return { node: n, offset: a + (d ? 1 : 0) };
|
|
7056
7056
|
s = a + (d ? 1 : 0), r = c;
|
|
7057
7057
|
}
|
|
@@ -7087,7 +7087,7 @@ function Gd(n, e, t, i = -1) {
|
|
|
7087
7087
|
S && ({ offsetNode: p, offset: v } = S);
|
|
7088
7088
|
} else if (O.caretRangeFromPoint) {
|
|
7089
7089
|
let S = O.caretRangeFromPoint(h, c);
|
|
7090
|
-
S && ({ startContainer: p, startOffset: v } = S, (!n.contentDOM.contains(p) ||
|
|
7090
|
+
S && ({ startContainer: p, startOffset: v } = S, (!n.contentDOM.contains(p) || ae.safari && j0(p, v, h) || ae.chrome && G0(p, v, h)) && (p = void 0));
|
|
7091
7091
|
}
|
|
7092
7092
|
p && (v = Math.min(Jt(p), v));
|
|
7093
7093
|
}
|
|
@@ -7329,7 +7329,7 @@ class tQ {
|
|
|
7329
7329
|
o.readRange(this.bounds.startDOM, this.bounds.endDOM), this.text = o.text, this.newSel = rQ(a, this.bounds.from);
|
|
7330
7330
|
} else {
|
|
7331
7331
|
let a = e.observer.selectionRange, o = r && r.node == a.focusNode && r.offset == a.focusOffset || !Ma(e.contentDOM, a.focusNode) ? e.state.selection.main.head : e.docView.posFromDOM(a.focusNode, a.focusOffset), u = l && l.node == a.anchorNode && l.offset == a.anchorOffset || !Ma(e.contentDOM, a.anchorNode) ? e.state.selection.main.anchor : e.docView.posFromDOM(a.anchorNode, a.anchorOffset), h = e.viewport;
|
|
7332
|
-
if ((
|
|
7332
|
+
if ((ae.ios || ae.chrome) && e.state.selection.main.empty && o != u && (h.from > 0 || h.to < e.state.doc.length)) {
|
|
7333
7333
|
let c = Math.min(o, u), f = Math.max(o, u), d = h.from - c, O = h.to - f;
|
|
7334
7334
|
(d == 0 || d == 1 || c == 0) && (O == 0 || O == -1 || f == e.state.doc.length) && (o = 0, u = e.state.doc.length);
|
|
7335
7335
|
}
|
|
@@ -7341,9 +7341,9 @@ function Fd(n, e) {
|
|
|
7341
7341
|
let t, { newSel: i } = e, s = n.state.selection.main, r = n.inputState.lastKeyTime > Date.now() - 100 ? n.inputState.lastKeyCode : -1;
|
|
7342
7342
|
if (e.bounds) {
|
|
7343
7343
|
let { from: l, to: a } = e.bounds, o = s.from, u = null;
|
|
7344
|
-
(r === 8 ||
|
|
7344
|
+
(r === 8 || ae.android && e.text.length < a - l) && (o = s.to, u = "end");
|
|
7345
7345
|
let h = nQ(n.state.doc.sliceString(l, a, Ln), e.text, o - l, u);
|
|
7346
|
-
h && (
|
|
7346
|
+
h && (ae.chrome && r == 13 && h.toB == h.from + 2 && e.text.slice(h.from, h.toB) == Ln + Ln && h.toB--, t = {
|
|
7347
7347
|
from: l + h.from,
|
|
7348
7348
|
to: l + h.toA,
|
|
7349
7349
|
insert: $e.of(e.text.slice(h.from, h.toB).split(Ln))
|
|
@@ -7352,11 +7352,11 @@ function Fd(n, e) {
|
|
|
7352
7352
|
i && (!n.hasFocus && n.state.facet(ri) || i.main.eq(s)) && (i = null);
|
|
7353
7353
|
if (!t && !i)
|
|
7354
7354
|
return !1;
|
|
7355
|
-
if (!t && e.typeOver && !s.empty && i && i.main.empty ? t = { from: s.from, to: s.to, insert: n.state.doc.slice(s.from, s.to) } : (
|
|
7355
|
+
if (!t && e.typeOver && !s.empty && i && i.main.empty ? t = { from: s.from, to: s.to, insert: n.state.doc.slice(s.from, s.to) } : (ae.mac || ae.android) && t && t.from == t.to && t.from == s.head - 1 && /^\. ?$/.test(t.insert.toString()) && n.contentDOM.getAttribute("autocorrect") == "off" ? (i && t.insert.length == 2 && (i = W.single(i.main.anchor - 1, i.main.head - 1)), t = { from: t.from, to: t.to, insert: $e.of([t.insert.toString().replace(".", " ")]) }) : t && t.from >= s.from && t.to <= s.to && (t.from != s.from || t.to != s.to) && s.to - s.from - (t.to - t.from) <= 4 ? t = {
|
|
7356
7356
|
from: s.from,
|
|
7357
7357
|
to: s.to,
|
|
7358
7358
|
insert: n.state.doc.slice(s.from, t.from).append(t.insert).append(n.state.doc.slice(t.to, s.to))
|
|
7359
|
-
} :
|
|
7359
|
+
} : ae.chrome && t && t.from == t.to && t.from == s.head && t.insert.toString() == `
|
|
7360
7360
|
` && n.lineWrapping && (i && (i = W.single(i.main.anchor - 1, i.main.head - 1)), t = { from: s.from, to: s.to, insert: $e.of([" "]) }), t)
|
|
7361
7361
|
return Do(n, t, i, r);
|
|
7362
7362
|
if (i && !i.main.eq(s)) {
|
|
@@ -7366,10 +7366,10 @@ function Fd(n, e) {
|
|
|
7366
7366
|
return !1;
|
|
7367
7367
|
}
|
|
7368
7368
|
function Do(n, e, t, i = -1) {
|
|
7369
|
-
if (
|
|
7369
|
+
if (ae.ios && n.inputState.flushIOSKey(e))
|
|
7370
7370
|
return !0;
|
|
7371
7371
|
let s = n.state.selection.main;
|
|
7372
|
-
if (
|
|
7372
|
+
if (ae.android && (e.to == s.to && // GBoard will sometimes remove a space it just inserted
|
|
7373
7373
|
// after a completion when you press enter
|
|
7374
7374
|
(e.from == s.from || e.from == s.from - 1 && n.state.sliceDoc(e.from, s.from) == " ") && e.insert.length == 1 && e.insert.lines == 2 && on(n.contentDOM, "Enter", 13) || (e.from == s.from - 1 && e.to == s.to && e.insert.length == 0 || i == 8 && e.insert.length < e.to - e.from && e.to > s.head) && on(n.contentDOM, "Backspace", 8) || e.from == s.from && e.to == s.to + 1 && e.insert.length == 0 && on(n.contentDOM, "Delete", 46)))
|
|
7375
7375
|
return !0;
|
|
@@ -7458,7 +7458,7 @@ class lQ {
|
|
|
7458
7458
|
this.lastSelectionOrigin = e, this.lastSelectionTime = Date.now();
|
|
7459
7459
|
}
|
|
7460
7460
|
constructor(e) {
|
|
7461
|
-
this.view = e, this.lastKeyCode = 0, this.lastKeyTime = 0, this.lastTouchTime = 0, this.lastFocusTime = 0, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.pendingIOSKey = void 0, this.tabFocusMode = -1, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.handlers = /* @__PURE__ */ Object.create(null), this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.compositionPendingKey = !1, this.compositionPendingChange = !1, this.mouseSelection = null, this.draggedContent = null, this.handleEvent = this.handleEvent.bind(this), this.notifiedFocused = e.hasFocus,
|
|
7461
|
+
this.view = e, this.lastKeyCode = 0, this.lastKeyTime = 0, this.lastTouchTime = 0, this.lastFocusTime = 0, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.pendingIOSKey = void 0, this.tabFocusMode = -1, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.handlers = /* @__PURE__ */ Object.create(null), this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.compositionPendingKey = !1, this.compositionPendingChange = !1, this.mouseSelection = null, this.draggedContent = null, this.handleEvent = this.handleEvent.bind(this), this.notifiedFocused = e.hasFocus, ae.safari && e.contentDOM.addEventListener("input", () => null), ae.gecko && vQ(e.contentDOM.ownerDocument);
|
|
7462
7462
|
}
|
|
7463
7463
|
handleEvent(e) {
|
|
7464
7464
|
!OQ(this.view, e) || this.ignoreDuringComposition(e) || e.type == "keydown" && this.keydown(e) || (this.view.updateState != 0 ? Promise.resolve().then(() => this.runHandlers(e.type, e)) : this.runHandlers(e.type, e));
|
|
@@ -7492,17 +7492,17 @@ class lQ {
|
|
|
7492
7492
|
keydown(e) {
|
|
7493
7493
|
if (this.lastKeyCode = e.keyCode, this.lastKeyTime = Date.now(), e.keyCode == 9 && this.tabFocusMode > -1 && (!this.tabFocusMode || Date.now() <= this.tabFocusMode))
|
|
7494
7494
|
return !0;
|
|
7495
|
-
if (this.tabFocusMode > 0 && e.keyCode != 27 && Kd.indexOf(e.keyCode) < 0 && (this.tabFocusMode = -1),
|
|
7495
|
+
if (this.tabFocusMode > 0 && e.keyCode != 27 && Kd.indexOf(e.keyCode) < 0 && (this.tabFocusMode = -1), ae.android && ae.chrome && !e.synthetic && (e.keyCode == 13 || e.keyCode == 8))
|
|
7496
7496
|
return this.view.observer.delayAndroidKey(e.key, e.keyCode), !0;
|
|
7497
7497
|
let t;
|
|
7498
|
-
return
|
|
7498
|
+
return ae.ios && !e.synthetic && !e.altKey && !e.metaKey && ((t = Hd.find((i) => i.keyCode == e.keyCode)) && !e.ctrlKey || oQ.indexOf(e.key) > -1 && e.ctrlKey && !e.shiftKey) ? (this.pendingIOSKey = t || e, setTimeout(() => this.flushIOSKey(), 250), !0) : (e.keyCode != 229 && this.view.observer.forceFlush(), !1);
|
|
7499
7499
|
}
|
|
7500
7500
|
flushIOSKey(e) {
|
|
7501
7501
|
let t = this.pendingIOSKey;
|
|
7502
7502
|
return !t || t.key == "Enter" && e && e.from < e.to && /^\S+$/.test(e.insert.toString()) ? !1 : (this.pendingIOSKey = void 0, on(this.view.contentDOM, t.key, t.keyCode, t instanceof KeyboardEvent ? t : void 0));
|
|
7503
7503
|
}
|
|
7504
7504
|
ignoreDuringComposition(e) {
|
|
7505
|
-
return /^key/.test(e.type) ? this.composing > 0 ? !0 :
|
|
7505
|
+
return /^key/.test(e.type) ? this.composing > 0 ? !0 : ae.safari && !ae.ios && this.compositionPendingKey && Date.now() - this.compositionEndedAt < 100 ? (this.compositionPendingKey = !1, !0) : !1 : !1;
|
|
7506
7506
|
}
|
|
7507
7507
|
startMouseSelection(e) {
|
|
7508
7508
|
this.mouseSelection && this.mouseSelection.destroy(), this.mouseSelection = e;
|
|
@@ -7622,11 +7622,11 @@ class hQ {
|
|
|
7622
7622
|
}
|
|
7623
7623
|
function cQ(n, e) {
|
|
7624
7624
|
let t = n.state.facet(Vd);
|
|
7625
|
-
return t.length ? t[0](e) :
|
|
7625
|
+
return t.length ? t[0](e) : ae.mac ? e.metaKey : e.ctrlKey;
|
|
7626
7626
|
}
|
|
7627
7627
|
function fQ(n, e) {
|
|
7628
7628
|
let t = n.state.facet(Ad);
|
|
7629
|
-
return t.length ? t[0](e) :
|
|
7629
|
+
return t.length ? t[0](e) : ae.mac ? !e.altKey : !e.ctrlKey;
|
|
7630
7630
|
}
|
|
7631
7631
|
function dQ(n, e) {
|
|
7632
7632
|
let { main: t } = n.state.selection;
|
|
@@ -7653,7 +7653,7 @@ function OQ(n, e) {
|
|
|
7653
7653
|
return !1;
|
|
7654
7654
|
return !0;
|
|
7655
7655
|
}
|
|
7656
|
-
const Yt = /* @__PURE__ */ Object.create(null), Tt = /* @__PURE__ */ Object.create(null), Jd =
|
|
7656
|
+
const Yt = /* @__PURE__ */ Object.create(null), Tt = /* @__PURE__ */ Object.create(null), Jd = ae.ie && ae.ie_version < 15 || ae.ios && ae.webkit_version < 604;
|
|
7657
7657
|
function pQ(n) {
|
|
7658
7658
|
let e = n.dom.parentNode;
|
|
7659
7659
|
if (!e)
|
|
@@ -7757,7 +7757,7 @@ function oh(n, e) {
|
|
|
7757
7757
|
let t = n.posAtCoords({ x: e.clientX, y: e.clientY }, !1);
|
|
7758
7758
|
return { pos: t, bias: mQ(n, t, e.clientX, e.clientY) };
|
|
7759
7759
|
}
|
|
7760
|
-
const gQ =
|
|
7760
|
+
const gQ = ae.ie && ae.ie_version <= 11;
|
|
7761
7761
|
let uh = null, hh = 0, ch = 0;
|
|
7762
7762
|
function tO(n) {
|
|
7763
7763
|
if (!gQ)
|
|
@@ -7907,7 +7907,7 @@ Tt.compositionstart = Tt.compositionupdate = (n) => {
|
|
|
7907
7907
|
n.observer.editContext || (n.inputState.compositionFirstChange == null && (n.inputState.compositionFirstChange = !0), n.inputState.composing < 0 && (n.inputState.composing = 0));
|
|
7908
7908
|
};
|
|
7909
7909
|
Tt.compositionend = (n) => {
|
|
7910
|
-
n.observer.editContext || (n.inputState.composing = -1, n.inputState.compositionEndedAt = Date.now(), n.inputState.compositionPendingKey = !0, n.inputState.compositionPendingChange = n.observer.pendingRecords().length > 0, n.inputState.compositionFirstChange = null,
|
|
7910
|
+
n.observer.editContext || (n.inputState.composing = -1, n.inputState.compositionEndedAt = Date.now(), n.inputState.compositionPendingKey = !0, n.inputState.compositionPendingChange = n.observer.pendingRecords().length > 0, n.inputState.compositionFirstChange = null, ae.chrome && ae.android ? n.observer.flushSoon() : n.inputState.compositionPendingChange ? Promise.resolve().then(() => n.observer.flush()) : setTimeout(() => {
|
|
7911
7911
|
n.inputState.composing < 0 && n.docView.hasComposition && n.update([]);
|
|
7912
7912
|
}, 50));
|
|
7913
7913
|
};
|
|
@@ -7924,14 +7924,14 @@ Yt.beforeinput = (n, e) => {
|
|
|
7924
7924
|
}
|
|
7925
7925
|
}
|
|
7926
7926
|
let s;
|
|
7927
|
-
if (
|
|
7927
|
+
if (ae.chrome && ae.android && (s = Hd.find((r) => r.inputType == e.inputType)) && (n.observer.delayAndroidKey(s.key, s.keyCode), s.key == "Backspace" || s.key == "Delete")) {
|
|
7928
7928
|
let r = ((i = window.visualViewport) === null || i === void 0 ? void 0 : i.height) || 0;
|
|
7929
7929
|
setTimeout(() => {
|
|
7930
7930
|
var l;
|
|
7931
7931
|
(((l = window.visualViewport) === null || l === void 0 ? void 0 : l.height) || 0) > r + 10 && n.hasFocus && (n.contentDOM.blur(), n.focus());
|
|
7932
7932
|
}, 100);
|
|
7933
7933
|
}
|
|
7934
|
-
return
|
|
7934
|
+
return ae.ios && e.inputType == "deleteContentForward" && n.observer.flushSoon(), ae.safari && e.inputType == "insertText" && n.inputState.composing >= 0 && setTimeout(() => Tt.compositionend(n, e), 20), !1;
|
|
7935
7935
|
};
|
|
7936
7936
|
const dh = /* @__PURE__ */ new Set();
|
|
7937
7937
|
function vQ(n) {
|
|
@@ -8794,7 +8794,7 @@ function zn(n, e) {
|
|
|
8794
8794
|
let t = e.toDOM(n.top), i = e.toDOM(n.bottom);
|
|
8795
8795
|
return new Nt(n.from, n.length, t, i - t, Array.isArray(n._content) ? n._content.map((s) => zn(s, e)) : n._content);
|
|
8796
8796
|
}
|
|
8797
|
-
const Ds = /* @__PURE__ */
|
|
8797
|
+
const Ds = /* @__PURE__ */ oe.define({ combine: (n) => n.join(" ") }), Ja = /* @__PURE__ */ oe.define({ combine: (n) => n.indexOf(!0) > -1 }), eo = /* @__PURE__ */ Si.newName(), lO = /* @__PURE__ */ Si.newName(), aO = /* @__PURE__ */ Si.newName(), oO = { "&light": "." + lO, "&dark": "." + aO };
|
|
8798
8798
|
function to(n, e, t) {
|
|
8799
8799
|
return new Si(e, {
|
|
8800
8800
|
finish(i) {
|
|
@@ -9082,15 +9082,15 @@ const AQ = /* @__PURE__ */ to("." + eo, {
|
|
|
9082
9082
|
subtree: !0,
|
|
9083
9083
|
attributes: !0,
|
|
9084
9084
|
characterDataOldValue: !0
|
|
9085
|
-
}, kl =
|
|
9085
|
+
}, kl = ae.ie && ae.ie_version <= 11;
|
|
9086
9086
|
class EQ {
|
|
9087
9087
|
constructor(e) {
|
|
9088
9088
|
this.view = e, this.active = !1, this.editContext = null, this.selectionRange = new Q0(), this.selectionChanged = !1, this.delayedFlush = -1, this.resizeTimeout = -1, this.queue = [], this.delayedAndroidKey = null, this.flushingAndroidKey = -1, this.lastChange = 0, this.scrollTargets = [], this.intersection = null, this.resizeScroll = null, this.intersecting = !1, this.gapIntersection = null, this.gaps = [], this.printQuery = null, this.parentCheck = -1, this.dom = e.contentDOM, this.observer = new MutationObserver((t) => {
|
|
9089
9089
|
for (let i of t)
|
|
9090
9090
|
this.queue.push(i);
|
|
9091
|
-
(
|
|
9092
|
-
}), window.EditContext &&
|
|
9093
|
-
!(
|
|
9091
|
+
(ae.ie && ae.ie_version <= 11 || ae.ios && e.composing) && t.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : this.flush();
|
|
9092
|
+
}), window.EditContext && ae.android && e.constructor.EDIT_CONTEXT !== !1 && // Chrome <126 doesn't support inverted selections in edit context (#1392)
|
|
9093
|
+
!(ae.chrome && ae.chrome_version < 126) && (this.editContext = new MQ(e), e.state.facet(ri) && (e.contentDOM.editContext = this.editContext.editContext)), kl && (this.onCharData = (t) => {
|
|
9094
9094
|
this.queue.push({
|
|
9095
9095
|
target: t.target,
|
|
9096
9096
|
type: "characterData",
|
|
@@ -9141,14 +9141,14 @@ class EQ {
|
|
|
9141
9141
|
t || (this.selectionChanged = !1);
|
|
9142
9142
|
return;
|
|
9143
9143
|
}
|
|
9144
|
-
(
|
|
9144
|
+
(ae.ie && ae.ie_version <= 11 || ae.android && ae.chrome) && !i.state.selection.main.empty && // (Selection.isCollapsed isn't reliable on IE)
|
|
9145
9145
|
s.focusNode && jn(s.focusNode, s.focusOffset, s.anchorNode, s.anchorOffset) ? this.flushSoon() : this.flush(!1);
|
|
9146
9146
|
}
|
|
9147
9147
|
readSelectionRange() {
|
|
9148
9148
|
let { view: e } = this, t = ts(e.root);
|
|
9149
9149
|
if (!t)
|
|
9150
9150
|
return !1;
|
|
9151
|
-
let i =
|
|
9151
|
+
let i = ae.safari && e.root.nodeType == 11 && e.root.activeElement == this.dom && qQ(this.view, t) || t;
|
|
9152
9152
|
if (!i || this.selectionRange.eq(i))
|
|
9153
9153
|
return !1;
|
|
9154
9154
|
let s = ur(this.dom, i);
|
|
@@ -9346,7 +9346,7 @@ class MQ {
|
|
|
9346
9346
|
h.main.eq(s) || e.dispatch({ selection: h, userEvent: "select" });
|
|
9347
9347
|
return;
|
|
9348
9348
|
}
|
|
9349
|
-
if ((
|
|
9349
|
+
if ((ae.mac || ae.android) && u.from == l - 1 && /^\. ?$/.test(i.text) && e.contentDOM.getAttribute("autocorrect") == "off" && (u = { from: a, to: o, insert: $e.of([i.text.replace(".", " ")]) }), this.pendingContextChange = u, !e.state.readOnly) {
|
|
9350
9350
|
let h = this.to - this.from + (u.to - u.from + u.insert.length);
|
|
9351
9351
|
Do(e, u, W.single(this.toEditorPos(i.selectionStart, h), this.toEditorPos(i.selectionEnd, h)));
|
|
9352
9352
|
}
|
|
@@ -9740,7 +9740,7 @@ class te {
|
|
|
9740
9740
|
translate: "no",
|
|
9741
9741
|
contenteditable: this.state.facet(ri) ? "true" : "false",
|
|
9742
9742
|
class: "cm-content",
|
|
9743
|
-
style: `${
|
|
9743
|
+
style: `${ae.tabSize}: ${this.state.tabSize}`,
|
|
9744
9744
|
role: "textbox",
|
|
9745
9745
|
"aria-multiline": "true"
|
|
9746
9746
|
};
|
|
@@ -10054,7 +10054,7 @@ class te {
|
|
|
10054
10054
|
*/
|
|
10055
10055
|
get hasFocus() {
|
|
10056
10056
|
var e;
|
|
10057
|
-
return (this.dom.ownerDocument.hasFocus() ||
|
|
10057
|
+
return (this.dom.ownerDocument.hasFocus() || ae.safari && ((e = this.inputState) === null || e === void 0 ? void 0 : e.lastContextMenu) > Date.now() - 3e4) && this.root.activeElement == this.contentDOM;
|
|
10058
10058
|
}
|
|
10059
10059
|
/**
|
|
10060
10060
|
Put focus on the editor.
|
|
@@ -10208,7 +10208,7 @@ te.atomicRanges = qo;
|
|
|
10208
10208
|
te.bidiIsolatedRanges = Bd;
|
|
10209
10209
|
te.scrollMargins = Nd;
|
|
10210
10210
|
te.darkTheme = Ja;
|
|
10211
|
-
te.cspNonce = /* @__PURE__ */
|
|
10211
|
+
te.cspNonce = /* @__PURE__ */ oe.define({ combine: (n) => n.length ? n[0] : "" });
|
|
10212
10212
|
te.contentAttributes = Eo;
|
|
10213
10213
|
te.editorAttributes = Wd;
|
|
10214
10214
|
te.lineWrapping = /* @__PURE__ */ te.contentAttributes.of({ class: "cm-lineWrapping" });
|
|
@@ -10236,7 +10236,7 @@ function vh(n, e, t) {
|
|
|
10236
10236
|
}
|
|
10237
10237
|
return t;
|
|
10238
10238
|
}
|
|
10239
|
-
const LQ =
|
|
10239
|
+
const LQ = ae.mac ? "mac" : ae.windows ? "win" : ae.linux ? "linux" : "key";
|
|
10240
10240
|
function zQ(n, e) {
|
|
10241
10241
|
const t = n.split(/-(?!$)/);
|
|
10242
10242
|
let i = t[t.length - 1];
|
|
@@ -10266,7 +10266,7 @@ const UQ = /* @__PURE__ */ Ci.default(/* @__PURE__ */ te.domEventHandlers({
|
|
|
10266
10266
|
keydown(n, e) {
|
|
10267
10267
|
return hO(uO(e.state), n, e, "editor");
|
|
10268
10268
|
}
|
|
10269
|
-
})), rl = /* @__PURE__ */
|
|
10269
|
+
})), rl = /* @__PURE__ */ oe.define({ enables: UQ }), Sh = /* @__PURE__ */ new WeakMap();
|
|
10270
10270
|
function uO(n) {
|
|
10271
10271
|
let e = n.facet(rl), t = Sh.get(e);
|
|
10272
10272
|
return t || Sh.set(e, t = BQ(e.reduce((i, s) => i.concat(s), []))), t;
|
|
@@ -10340,8 +10340,8 @@ function hO(n, e, t, i) {
|
|
|
10340
10340
|
return !1;
|
|
10341
10341
|
}, d = n[i], O, y;
|
|
10342
10342
|
return d && (f(d[a + Ls(s, e, !l)]) ? o = !0 : l && (e.altKey || e.metaKey || e.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
|
|
10343
|
-
!(
|
|
10344
|
-
!(
|
|
10343
|
+
!(ae.windows && e.ctrlKey && e.altKey) && // Alt-combinations on macOS tend to be typed characters
|
|
10344
|
+
!(ae.mac && e.altKey && !e.ctrlKey) && (O = xi[e.keyCode]) && O != s ? (f(d[a + Ls(O, e, !0)]) || e.shiftKey && (y = es[e.keyCode]) != s && y != O && f(d[a + Ls(y, e, !1)])) && (o = !0) : l && e.shiftKey && f(d[a + Ls(s, e, !0)]) && (o = !0), !o && f(d._any) && (o = !0)), u && (o = !0), o && h && e.stopPropagation(), io = null, o;
|
|
10345
10345
|
}
|
|
10346
10346
|
class vs {
|
|
10347
10347
|
/**
|
|
@@ -10481,14 +10481,14 @@ class GQ {
|
|
|
10481
10481
|
this.layer.destroy && this.layer.destroy(this.dom, this.view), this.dom.remove();
|
|
10482
10482
|
}
|
|
10483
10483
|
}
|
|
10484
|
-
const dr = /* @__PURE__ */
|
|
10484
|
+
const dr = /* @__PURE__ */ oe.define();
|
|
10485
10485
|
function fO(n) {
|
|
10486
10486
|
return [
|
|
10487
10487
|
Ne.define((e) => new GQ(e, n)),
|
|
10488
10488
|
dr.of(n)
|
|
10489
10489
|
];
|
|
10490
10490
|
}
|
|
10491
|
-
const ss = /* @__PURE__ */
|
|
10491
|
+
const ss = /* @__PURE__ */ oe.define({
|
|
10492
10492
|
combine(n) {
|
|
10493
10493
|
return ei(n, {
|
|
10494
10494
|
cursorBlinkRate: 1200,
|
|
@@ -10744,7 +10744,7 @@ function l1() {
|
|
|
10744
10744
|
}
|
|
10745
10745
|
return Tl || !1;
|
|
10746
10746
|
}
|
|
10747
|
-
const Or = /* @__PURE__ */
|
|
10747
|
+
const Or = /* @__PURE__ */ oe.define({
|
|
10748
10748
|
combine(n) {
|
|
10749
10749
|
let e = ei(n, {
|
|
10750
10750
|
render: null,
|
|
@@ -10972,11 +10972,11 @@ function S1(n) {
|
|
|
10972
10972
|
let e = n.dom.ownerDocument.documentElement;
|
|
10973
10973
|
return { top: 0, left: 0, bottom: e.clientHeight, right: e.clientWidth };
|
|
10974
10974
|
}
|
|
10975
|
-
const Cl = /* @__PURE__ */
|
|
10975
|
+
const Cl = /* @__PURE__ */ oe.define({
|
|
10976
10976
|
combine: (n) => {
|
|
10977
10977
|
var e, t, i;
|
|
10978
10978
|
return {
|
|
10979
|
-
position:
|
|
10979
|
+
position: ae.ios ? "absolute" : ((e = n.find((s) => s.position)) === null || e === void 0 ? void 0 : e.position) || "fixed",
|
|
10980
10980
|
parent: ((t = n.find((s) => s.parent)) === null || t === void 0 ? void 0 : t.parent) || null,
|
|
10981
10981
|
tooltipSpace: ((i = n.find((s) => s.tooltipSpace)) === null || i === void 0 ? void 0 : i.tooltipSpace) || S1
|
|
10982
10982
|
};
|
|
@@ -11045,7 +11045,7 @@ const Cl = /* @__PURE__ */ ae.define({
|
|
|
11045
11045
|
let n = 1, e = 1, t = !1;
|
|
11046
11046
|
if (this.position == "fixed" && this.manager.tooltipViews.length) {
|
|
11047
11047
|
let { dom: r } = this.manager.tooltipViews[0];
|
|
11048
|
-
if (
|
|
11048
|
+
if (ae.gecko)
|
|
11049
11049
|
t = r.offsetParent != this.container.ownerDocument.body;
|
|
11050
11050
|
else if (r.style.top == Cn && r.style.left == "0px") {
|
|
11051
11051
|
let l = r.getBoundingClientRect();
|
|
@@ -11191,9 +11191,9 @@ const x1 = /* @__PURE__ */ te.baseTheme({
|
|
|
11191
11191
|
borderBottomColor: "transparent"
|
|
11192
11192
|
}
|
|
11193
11193
|
}
|
|
11194
|
-
}), $1 = { x: 0, y: 0 }, Wo = /* @__PURE__ */
|
|
11194
|
+
}), $1 = { x: 0, y: 0 }, Wo = /* @__PURE__ */ oe.define({
|
|
11195
11195
|
enables: [Uo, x1]
|
|
11196
|
-
}), Tr = /* @__PURE__ */
|
|
11196
|
+
}), Tr = /* @__PURE__ */ oe.define({
|
|
11197
11197
|
combine: (n) => n.reduce((e, t) => e.concat(t), [])
|
|
11198
11198
|
});
|
|
11199
11199
|
class ll {
|
|
@@ -11399,7 +11399,7 @@ function mO(n, e) {
|
|
|
11399
11399
|
let i = t.manager.tooltips.indexOf(e);
|
|
11400
11400
|
return i < 0 ? null : t.manager.tooltipViews[i];
|
|
11401
11401
|
}
|
|
11402
|
-
const X1 = /* @__PURE__ */ ve.define(), Xh = /* @__PURE__ */
|
|
11402
|
+
const X1 = /* @__PURE__ */ ve.define(), Xh = /* @__PURE__ */ oe.define({
|
|
11403
11403
|
combine(n) {
|
|
11404
11404
|
let e, t;
|
|
11405
11405
|
for (let i of n)
|
|
@@ -11491,7 +11491,7 @@ function Rh(n) {
|
|
|
11491
11491
|
let e = n.nextSibling;
|
|
11492
11492
|
return n.remove(), e;
|
|
11493
11493
|
}
|
|
11494
|
-
const ls = /* @__PURE__ */
|
|
11494
|
+
const ls = /* @__PURE__ */ oe.define({
|
|
11495
11495
|
enables: gO
|
|
11496
11496
|
});
|
|
11497
11497
|
class ci extends zi {
|
|
@@ -11519,7 +11519,7 @@ ci.prototype.toDOM = void 0;
|
|
|
11519
11519
|
ci.prototype.mapMode = et.TrackBefore;
|
|
11520
11520
|
ci.prototype.startSide = ci.prototype.endSide = -1;
|
|
11521
11521
|
ci.prototype.point = !0;
|
|
11522
|
-
const pr = /* @__PURE__ */
|
|
11522
|
+
const pr = /* @__PURE__ */ oe.define(), R1 = /* @__PURE__ */ oe.define(), Z1 = {
|
|
11523
11523
|
class: "",
|
|
11524
11524
|
renderEmptyElements: !1,
|
|
11525
11525
|
elementStyle: "",
|
|
@@ -11531,11 +11531,11 @@ const pr = /* @__PURE__ */ ae.define(), R1 = /* @__PURE__ */ ae.define(), Z1 = {
|
|
|
11531
11531
|
updateSpacer: null,
|
|
11532
11532
|
domEventHandlers: {},
|
|
11533
11533
|
side: "before"
|
|
11534
|
-
}, Fn = /* @__PURE__ */
|
|
11534
|
+
}, Fn = /* @__PURE__ */ oe.define();
|
|
11535
11535
|
function V1(n) {
|
|
11536
11536
|
return [_O(), Fn.of({ ...Z1, ...n })];
|
|
11537
11537
|
}
|
|
11538
|
-
const ro = /* @__PURE__ */
|
|
11538
|
+
const ro = /* @__PURE__ */ oe.define({
|
|
11539
11539
|
combine: (n) => n.some((e) => e)
|
|
11540
11540
|
});
|
|
11541
11541
|
function _O(n) {
|
|
@@ -11749,7 +11749,7 @@ function E1(n, e) {
|
|
|
11749
11749
|
return !1;
|
|
11750
11750
|
return !0;
|
|
11751
11751
|
}
|
|
11752
|
-
const q1 = /* @__PURE__ */
|
|
11752
|
+
const q1 = /* @__PURE__ */ oe.define(), M1 = /* @__PURE__ */ oe.define(), sn = /* @__PURE__ */ oe.define({
|
|
11753
11753
|
combine(n) {
|
|
11754
11754
|
return ei(n, { formatNumber: String, domEventHandlers: {} }, {
|
|
11755
11755
|
domEventHandlers(e, t) {
|
|
@@ -14115,7 +14115,7 @@ wO([
|
|
|
14115
14115
|
var Vl;
|
|
14116
14116
|
const rn = /* @__PURE__ */ new xe();
|
|
14117
14117
|
function Fo(n) {
|
|
14118
|
-
return
|
|
14118
|
+
return oe.define({
|
|
14119
14119
|
combine: n ? (e) => e.concat(n) : void 0
|
|
14120
14120
|
});
|
|
14121
14121
|
}
|
|
@@ -14503,7 +14503,7 @@ const Al = typeof navigator < "u" && (!((Vl = navigator.scheduling) === null ||
|
|
|
14503
14503
|
eventHandlers: { focus() {
|
|
14504
14504
|
this.scheduleWork();
|
|
14505
14505
|
} }
|
|
14506
|
-
}), Pi = /* @__PURE__ */
|
|
14506
|
+
}), Pi = /* @__PURE__ */ oe.define({
|
|
14507
14507
|
combine(n) {
|
|
14508
14508
|
return n.length ? n[0] : null;
|
|
14509
14509
|
},
|
|
@@ -14524,7 +14524,7 @@ class xn {
|
|
|
14524
14524
|
this.language = e, this.support = t, this.extension = [e, t];
|
|
14525
14525
|
}
|
|
14526
14526
|
}
|
|
14527
|
-
const pb = /* @__PURE__ */
|
|
14527
|
+
const pb = /* @__PURE__ */ oe.define(), al = /* @__PURE__ */ oe.define({
|
|
14528
14528
|
combine: (n) => {
|
|
14529
14529
|
if (!n.length)
|
|
14530
14530
|
return " ";
|
|
@@ -14785,7 +14785,7 @@ function Sb() {
|
|
|
14785
14785
|
return o.length ? [n, { changes: o, sequential: !0 }] : n;
|
|
14786
14786
|
});
|
|
14787
14787
|
}
|
|
14788
|
-
const xb = /* @__PURE__ */
|
|
14788
|
+
const xb = /* @__PURE__ */ oe.define(), ji = /* @__PURE__ */ new xe();
|
|
14789
14789
|
function ul(n) {
|
|
14790
14790
|
let e = n.firstChild, t = n.lastChild;
|
|
14791
14791
|
return e && e.to < t.from ? { from: e.to, to: t.type.isError ? n.to : t.from } : null;
|
|
@@ -14941,7 +14941,7 @@ const Cb = (n) => {
|
|
|
14941
14941
|
placeholderDOM: null,
|
|
14942
14942
|
preparePlaceholder: null,
|
|
14943
14943
|
placeholderText: "…"
|
|
14944
|
-
}, tu = /* @__PURE__ */
|
|
14944
|
+
}, tu = /* @__PURE__ */ oe.define({
|
|
14945
14945
|
combine(n) {
|
|
14946
14946
|
return ei(n, Zb);
|
|
14947
14947
|
}
|
|
@@ -15091,7 +15091,7 @@ class $s {
|
|
|
15091
15091
|
return new $s(e, t || {});
|
|
15092
15092
|
}
|
|
15093
15093
|
}
|
|
15094
|
-
const ho = /* @__PURE__ */
|
|
15094
|
+
const ho = /* @__PURE__ */ oe.define(), YO = /* @__PURE__ */ oe.define({
|
|
15095
15095
|
combine(n) {
|
|
15096
15096
|
return n.length ? [n[0]] : null;
|
|
15097
15097
|
}
|
|
@@ -15206,7 +15206,7 @@ const Mb = /* @__PURE__ */ Ci.high(/* @__PURE__ */ Ne.fromClass(qb, {
|
|
|
15206
15206
|
]), Lb = /* @__PURE__ */ te.baseTheme({
|
|
15207
15207
|
"&.cm-focused .cm-matchingBracket": { backgroundColor: "#328c8252" },
|
|
15208
15208
|
"&.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bb555544" }
|
|
15209
|
-
}), qO = 1e4, MO = "()[]{}", DO = /* @__PURE__ */
|
|
15209
|
+
}), qO = 1e4, MO = "()[]{}", DO = /* @__PURE__ */ oe.define({
|
|
15210
15210
|
combine(n) {
|
|
15211
15211
|
return ei(n, {
|
|
15212
15212
|
afterCursor: !0,
|
|
@@ -15480,7 +15480,7 @@ function ry(n, e, t = e.selection.ranges) {
|
|
|
15480
15480
|
}
|
|
15481
15481
|
return null;
|
|
15482
15482
|
}
|
|
15483
|
-
const Oo = /* @__PURE__ */ di.define(), ly = /* @__PURE__ */ di.define(), ay = /* @__PURE__ */
|
|
15483
|
+
const Oo = /* @__PURE__ */ di.define(), ly = /* @__PURE__ */ di.define(), ay = /* @__PURE__ */ oe.define(), UO = /* @__PURE__ */ oe.define({
|
|
15484
15484
|
combine(n) {
|
|
15485
15485
|
return ei(n, {
|
|
15486
15486
|
minDepth: 100,
|
|
@@ -16342,7 +16342,7 @@ const Hn = /* @__PURE__ */ ve.define(), uc = /* @__PURE__ */ Fe.define({
|
|
|
16342
16342
|
minSelectionLength: 1,
|
|
16343
16343
|
maxMatches: 100,
|
|
16344
16344
|
wholeWords: !1
|
|
16345
|
-
}, yp = /* @__PURE__ */
|
|
16345
|
+
}, yp = /* @__PURE__ */ oe.define({
|
|
16346
16346
|
combine(n) {
|
|
16347
16347
|
return ei(n, Ov, {
|
|
16348
16348
|
highlightWordAroundCursor: (e, t) => e || t,
|
|
@@ -16441,7 +16441,7 @@ const Sv = ({ state: n, dispatch: e }) => {
|
|
|
16441
16441
|
selection: n.selection.addRange(W.range(s.from, s.to), !1),
|
|
16442
16442
|
effects: te.scrollIntoView(s.to)
|
|
16443
16443
|
})), !0) : !1;
|
|
16444
|
-
}, wn = /* @__PURE__ */
|
|
16444
|
+
}, wn = /* @__PURE__ */ oe.define({
|
|
16445
16445
|
combine(n) {
|
|
16446
16446
|
return ei(n, {
|
|
16447
16447
|
top: !1,
|
|
@@ -17146,7 +17146,7 @@ class zv {
|
|
|
17146
17146
|
return i == null ? null : (this.matched = [0, t.length], this.score = i + (e.length == this.pattern.length ? 0 : -100), this);
|
|
17147
17147
|
}
|
|
17148
17148
|
}
|
|
17149
|
-
const Ge = /* @__PURE__ */
|
|
17149
|
+
const Ge = /* @__PURE__ */ oe.define({
|
|
17150
17150
|
combine(n) {
|
|
17151
17151
|
return ei(n, {
|
|
17152
17152
|
activateOnTyping: !0,
|
|
@@ -18037,7 +18037,7 @@ function Zp(n) {
|
|
|
18037
18037
|
const OS = ({ state: n, dispatch: e }) => n.field(fs, !1) ? (e(n.update({ effects: ks.of(null) })), !0) : !1, pS = /* @__PURE__ */ Zp(1), mS = /* @__PURE__ */ Zp(-1), gS = [
|
|
18038
18038
|
{ key: "Tab", run: pS, shift: mS },
|
|
18039
18039
|
{ key: "Escape", run: OS }
|
|
18040
|
-
], Qc = /* @__PURE__ */
|
|
18040
|
+
], Qc = /* @__PURE__ */ oe.define({
|
|
18041
18041
|
combine(n) {
|
|
18042
18042
|
return n.length ? n[0] : gS;
|
|
18043
18043
|
}
|
|
@@ -18412,7 +18412,7 @@ const qS = (n) => {
|
|
|
18412
18412
|
}, DS = [
|
|
18413
18413
|
{ key: "Mod-Shift-m", run: qS, preventDefault: !0 },
|
|
18414
18414
|
{ key: "F8", run: MS }
|
|
18415
|
-
], Os = /* @__PURE__ */
|
|
18415
|
+
], Os = /* @__PURE__ */ oe.define({
|
|
18416
18416
|
combine(n) {
|
|
18417
18417
|
return Object.assign({ sources: n.map((e) => e.source).filter((e) => e != null) }, ei(n.map((e) => e.config), {
|
|
18418
18418
|
delay: 750,
|
|
@@ -25799,8 +25799,8 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25799
25799
|
}
|
|
25800
25800
|
return (M, C) => {
|
|
25801
25801
|
const G = he("el-button-group"), Y = he("el-col"), N = he("el-input-number"), L = he("el-option"), J = he("el-select"), se = he("el-tooltip");
|
|
25802
|
-
return q(), F(
|
|
25803
|
-
g(s) && g(s).length ? (q(), F(
|
|
25802
|
+
return q(), F(re, null, [
|
|
25803
|
+
g(s) && g(s).length ? (q(), F(re, { key: 0 }, [
|
|
25804
25804
|
WP,
|
|
25805
25805
|
_(G, { class: "report-button-group" }, {
|
|
25806
25806
|
default: b(() => [
|
|
@@ -25912,7 +25912,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25912
25912
|
]),
|
|
25913
25913
|
_: 1
|
|
25914
25914
|
}),
|
|
25915
|
-
g($) ? (q(), F(
|
|
25915
|
+
g($) ? (q(), F(re, { key: 0 }, [
|
|
25916
25916
|
_(Y, { span: 8 }, {
|
|
25917
25917
|
default: b(() => [
|
|
25918
25918
|
_(g(ye), { label: "字体颜色" }, {
|
|
@@ -26147,7 +26147,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26147
26147
|
]),
|
|
26148
26148
|
_: 1
|
|
26149
26149
|
}),
|
|
26150
|
-
g(o) && g(u) ? (q(), F(
|
|
26150
|
+
g(o) && g(u) ? (q(), F(re, { key: 0 }, [
|
|
26151
26151
|
Ut(_(Y, { span: 24 }, {
|
|
26152
26152
|
default: b(() => [
|
|
26153
26153
|
_(g(ye), { label: "文本" }, {
|
|
@@ -26167,7 +26167,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26167
26167
|
]),
|
|
26168
26168
|
Ut(_(Y, { span: 24 }, {
|
|
26169
26169
|
default: b(() => [
|
|
26170
|
-
S.format !== g(Xe).STRING ? (q(),
|
|
26170
|
+
S.format !== g(Xe).STRING ? (q(), le(g(ye), {
|
|
26171
26171
|
key: 0,
|
|
26172
26172
|
label: "数据字段"
|
|
26173
26173
|
}, {
|
|
@@ -26179,7 +26179,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26179
26179
|
onInput: C[19] || (C[19] = (Z) => K(Z, "cell", "data"))
|
|
26180
26180
|
}, {
|
|
26181
26181
|
default: b(() => [
|
|
26182
|
-
(q(!0), F(
|
|
26182
|
+
(q(!0), F(re, null, qe(g(Se), (Z) => (q(), le(L, {
|
|
26183
26183
|
key: Z.columnName,
|
|
26184
26184
|
label: Z.name,
|
|
26185
26185
|
value: Z.columnName
|
|
@@ -26189,7 +26189,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26189
26189
|
}, 8, ["modelValue"])
|
|
26190
26190
|
]),
|
|
26191
26191
|
_: 1
|
|
26192
|
-
})) : (q(),
|
|
26192
|
+
})) : (q(), le(g(ye), { key: 1 }, {
|
|
26193
26193
|
label: b(() => [
|
|
26194
26194
|
_(se, {
|
|
26195
26195
|
class: "box-item",
|
|
@@ -26347,7 +26347,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26347
26347
|
]),
|
|
26348
26348
|
_: 1
|
|
26349
26349
|
}, 8, ["label"]),
|
|
26350
|
-
S.type === g(de).FIELD ? (q(),
|
|
26350
|
+
S.type === g(de).FIELD ? (q(), le(g(Le), {
|
|
26351
26351
|
key: 0,
|
|
26352
26352
|
label: g(Xe).STRING,
|
|
26353
26353
|
title: "自定义格式化"
|
|
@@ -26366,7 +26366,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26366
26366
|
]),
|
|
26367
26367
|
_: 1
|
|
26368
26368
|
}),
|
|
26369
|
-
S.formatType ? (q(), F(
|
|
26369
|
+
S.formatType ? (q(), F(re, { key: 1 }, [
|
|
26370
26370
|
Ut(_(Y, { span: 12 }, {
|
|
26371
26371
|
default: b(() => [
|
|
26372
26372
|
_(g(ye), { label: "小数位数" }, {
|
|
@@ -26449,7 +26449,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26449
26449
|
}, 512), [
|
|
26450
26450
|
[Wt, S.format === "currency"]
|
|
26451
26451
|
]),
|
|
26452
|
-
S.format === g(Xe).SCIENTIFIC ? (q(), F(
|
|
26452
|
+
S.format === g(Xe).SCIENTIFIC ? (q(), F(re, { key: 0 }, [
|
|
26453
26453
|
_(Y, { span: 24 }, {
|
|
26454
26454
|
default: b(() => [
|
|
26455
26455
|
_(g(ye), { label: "指数符号" }, {
|
|
@@ -26536,7 +26536,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26536
26536
|
[Wt, S.format === g(Xe).DATETIME]
|
|
26537
26537
|
])
|
|
26538
26538
|
], 64)) : ce("", !0),
|
|
26539
|
-
g(o) && g(u) ? (q(),
|
|
26539
|
+
g(o) && g(u) ? (q(), le(Y, {
|
|
26540
26540
|
key: 2,
|
|
26541
26541
|
span: 24
|
|
26542
26542
|
}, {
|
|
@@ -26579,7 +26579,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26579
26579
|
})) : ce("", !0)
|
|
26580
26580
|
], 64)) : ce("", !0)
|
|
26581
26581
|
], 64)) : ce("", !0),
|
|
26582
|
-
g(f) && g(f).length > 0 && g(O) ? (q(), F(
|
|
26582
|
+
g(f) && g(f).length > 0 && g(O) ? (q(), F(re, { key: 1 }, [
|
|
26583
26583
|
A("div", pk, [
|
|
26584
26584
|
mk,
|
|
26585
26585
|
_(G, { size: "small" }, {
|
|
@@ -26655,7 +26655,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26655
26655
|
]),
|
|
26656
26656
|
_: 1
|
|
26657
26657
|
}),
|
|
26658
|
-
g(d) && g(O) ? (q(), F(
|
|
26658
|
+
g(d) && g(O) ? (q(), F(re, { key: 0 }, [
|
|
26659
26659
|
_(Y, { span: 24 }, {
|
|
26660
26660
|
default: b(() => [
|
|
26661
26661
|
_(g(ye), { label: "数据源" }, {
|
|
@@ -26668,7 +26668,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26668
26668
|
filterable: ""
|
|
26669
26669
|
}, {
|
|
26670
26670
|
default: b(() => [
|
|
26671
|
-
(q(!0), F(
|
|
26671
|
+
(q(!0), F(re, null, qe(g(me), (Z) => (q(), le(L, {
|
|
26672
26672
|
key: Z.key,
|
|
26673
26673
|
label: Z.name,
|
|
26674
26674
|
value: Z.key
|
|
@@ -26697,7 +26697,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26697
26697
|
]),
|
|
26698
26698
|
_: 1
|
|
26699
26699
|
}),
|
|
26700
|
-
g(O).loop ? ce("", !0) : (q(),
|
|
26700
|
+
g(O).loop ? ce("", !0) : (q(), le(Y, {
|
|
26701
26701
|
key: 0,
|
|
26702
26702
|
span: 12
|
|
26703
26703
|
}, {
|
|
@@ -26718,7 +26718,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26718
26718
|
}))
|
|
26719
26719
|
], 64)) : ce("", !0)
|
|
26720
26720
|
], 64)) : ce("", !0),
|
|
26721
|
-
g(c) && g(c).length > 0 ? (q(), F(
|
|
26721
|
+
g(c) && g(c).length > 0 ? (q(), F(re, { key: 2 }, [
|
|
26722
26722
|
A("div", gk, [
|
|
26723
26723
|
_k,
|
|
26724
26724
|
_(G, { size: "small" }, {
|
|
@@ -26793,7 +26793,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26793
26793
|
]),
|
|
26794
26794
|
_: 1
|
|
26795
26795
|
}),
|
|
26796
|
-
g(y) && g(m) ? (q(), F(
|
|
26796
|
+
g(y) && g(m) ? (q(), F(re, { key: 0 }, [
|
|
26797
26797
|
_(Y, { span: 24 }, {
|
|
26798
26798
|
default: b(() => [
|
|
26799
26799
|
_(g(ye), { label: "数据源" }, {
|
|
@@ -26805,7 +26805,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26805
26805
|
clearable: ""
|
|
26806
26806
|
}, {
|
|
26807
26807
|
default: b(() => [
|
|
26808
|
-
(q(!0), F(
|
|
26808
|
+
(q(!0), F(re, null, qe(g(me), (Z) => (q(), le(L, {
|
|
26809
26809
|
key: Z.key,
|
|
26810
26810
|
label: Z.name,
|
|
26811
26811
|
value: Z.key
|
|
@@ -26834,7 +26834,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26834
26834
|
]),
|
|
26835
26835
|
_: 1
|
|
26836
26836
|
}),
|
|
26837
|
-
g(m).loop ? ce("", !0) : (q(),
|
|
26837
|
+
g(m).loop ? ce("", !0) : (q(), le(Y, {
|
|
26838
26838
|
key: 0,
|
|
26839
26839
|
span: 12
|
|
26840
26840
|
}, {
|
|
@@ -26871,7 +26871,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26871
26871
|
}
|
|
26872
26872
|
return (l, a) => {
|
|
26873
26873
|
const o = he("el-row"), u = he("el-tab-pane"), h = he("el-switch"), c = he("el-form-item"), f = he("el-col"), d = he("el-input"), O = he("el-radio-button"), y = he("el-radio-group");
|
|
26874
|
-
return q(), F(
|
|
26874
|
+
return q(), F(re, null, [
|
|
26875
26875
|
_(u, {
|
|
26876
26876
|
label: "单元格/参数",
|
|
26877
26877
|
name: "cell"
|
|
@@ -26892,7 +26892,7 @@ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26892
26892
|
name: "theme"
|
|
26893
26893
|
}, {
|
|
26894
26894
|
default: b(() => [
|
|
26895
|
-
g(t) && g(t).type === "report" ? (q(),
|
|
26895
|
+
g(t) && g(t).type === "report" ? (q(), le(o, {
|
|
26896
26896
|
key: 0,
|
|
26897
26897
|
gutter: 10
|
|
26898
26898
|
}, {
|
|
@@ -27277,8 +27277,8 @@ const vk = function(n, e) {
|
|
|
27277
27277
|
}
|
|
27278
27278
|
return (d, O) => {
|
|
27279
27279
|
const y = he("el-color-picker"), m = he("el-input"), p = he("el-form-item"), v = he("el-input-number"), V = he("el-col"), S = he("el-radio-button"), $ = he("el-radio-group"), P = he("el-row"), w = he("el-switch"), k = he("el-tooltip"), R = he("el-cascader"), Q = he("el-tab-pane");
|
|
27280
|
-
return q(), F(
|
|
27281
|
-
g(t) ? (q(),
|
|
27280
|
+
return q(), F(re, null, [
|
|
27281
|
+
g(t) ? (q(), le(Q, {
|
|
27282
27282
|
key: 0,
|
|
27283
27283
|
name: "chart",
|
|
27284
27284
|
label: "属性",
|
|
@@ -27404,7 +27404,7 @@ const vk = function(n, e) {
|
|
|
27404
27404
|
]),
|
|
27405
27405
|
_: 1
|
|
27406
27406
|
}),
|
|
27407
|
-
g(s) ? (q(), F(
|
|
27407
|
+
g(s) ? (q(), F(re, { key: 0 }, [
|
|
27408
27408
|
_(p, { label: "X轴轴坐标名称" }, {
|
|
27409
27409
|
default: b(() => [
|
|
27410
27410
|
_(m, {
|
|
@@ -27424,7 +27424,7 @@ const vk = function(n, e) {
|
|
|
27424
27424
|
_: 1
|
|
27425
27425
|
})
|
|
27426
27426
|
], 64)) : ce("", !0),
|
|
27427
|
-
g(t).type == "line" ? (q(), F(
|
|
27427
|
+
g(t).type == "line" ? (q(), F(re, { key: 1 }, [
|
|
27428
27428
|
_(p, { label: "平滑" }, {
|
|
27429
27429
|
default: b(() => [
|
|
27430
27430
|
_(w, {
|
|
@@ -27458,7 +27458,7 @@ const vk = function(n, e) {
|
|
|
27458
27458
|
]),
|
|
27459
27459
|
_: 1
|
|
27460
27460
|
}),
|
|
27461
|
-
g(t).showLabel ? (q(),
|
|
27461
|
+
g(t).showLabel ? (q(), le(p, {
|
|
27462
27462
|
key: 2,
|
|
27463
27463
|
label: "标签颜色"
|
|
27464
27464
|
}, {
|
|
@@ -27481,12 +27481,12 @@ const vk = function(n, e) {
|
|
|
27481
27481
|
]),
|
|
27482
27482
|
_: 1
|
|
27483
27483
|
})) : ce("", !0),
|
|
27484
|
-
g(t).showLabel && !["pie", "radar"].includes(g(t).type) ? (q(),
|
|
27484
|
+
g(t).showLabel && !["pie", "radar"].includes(g(t).type) ? (q(), le(p, {
|
|
27485
27485
|
key: 3,
|
|
27486
27486
|
label: "标签位置"
|
|
27487
27487
|
}, {
|
|
27488
27488
|
default: b(() => [
|
|
27489
|
-
["line", "scatter"].includes(g(t).type) ? (q(),
|
|
27489
|
+
["line", "scatter"].includes(g(t).type) ? (q(), le($, {
|
|
27490
27490
|
key: 0,
|
|
27491
27491
|
modelValue: g(t).labelPosition,
|
|
27492
27492
|
"onUpdate:modelValue": O[14] || (O[14] = (T) => g(t).labelPosition = T),
|
|
@@ -27513,7 +27513,7 @@ const vk = function(n, e) {
|
|
|
27513
27513
|
})
|
|
27514
27514
|
]),
|
|
27515
27515
|
_: 1
|
|
27516
|
-
}, 8, ["modelValue"])) : g(t).type == "rowBar" ? (q(),
|
|
27516
|
+
}, 8, ["modelValue"])) : g(t).type == "rowBar" ? (q(), le($, {
|
|
27517
27517
|
key: 1,
|
|
27518
27518
|
modelValue: g(t).labelPosition,
|
|
27519
27519
|
"onUpdate:modelValue": O[15] || (O[15] = (T) => g(t).labelPosition = T),
|
|
@@ -27546,7 +27546,7 @@ const vk = function(n, e) {
|
|
|
27546
27546
|
})
|
|
27547
27547
|
]),
|
|
27548
27548
|
_: 1
|
|
27549
|
-
}, 8, ["modelValue"])) : g(t).type == "bar" ? (q(),
|
|
27549
|
+
}, 8, ["modelValue"])) : g(t).type == "bar" ? (q(), le($, {
|
|
27550
27550
|
key: 2,
|
|
27551
27551
|
modelValue: g(t).labelPosition,
|
|
27552
27552
|
"onUpdate:modelValue": O[16] || (O[16] = (T) => g(t).labelPosition = T),
|
|
@@ -27583,7 +27583,7 @@ const vk = function(n, e) {
|
|
|
27583
27583
|
]),
|
|
27584
27584
|
_: 1
|
|
27585
27585
|
})) : ce("", !0),
|
|
27586
|
-
["line", "radar"].includes(g(t).type) ? (q(),
|
|
27586
|
+
["line", "radar"].includes(g(t).type) ? (q(), le(p, {
|
|
27587
27587
|
key: 4,
|
|
27588
27588
|
label: "面积图"
|
|
27589
27589
|
}, {
|
|
@@ -27598,7 +27598,7 @@ const vk = function(n, e) {
|
|
|
27598
27598
|
]),
|
|
27599
27599
|
_: 1
|
|
27600
27600
|
})) : ce("", !0),
|
|
27601
|
-
g(t).type == "pie" ? (q(),
|
|
27601
|
+
g(t).type == "pie" ? (q(), le(p, {
|
|
27602
27602
|
key: 5,
|
|
27603
27603
|
label: "环形图"
|
|
27604
27604
|
}, {
|
|
@@ -27611,7 +27611,7 @@ const vk = function(n, e) {
|
|
|
27611
27611
|
]),
|
|
27612
27612
|
_: 1
|
|
27613
27613
|
})) : ce("", !0),
|
|
27614
|
-
g(t).isSuspend ? (q(), F(
|
|
27614
|
+
g(t).isSuspend ? (q(), F(re, { key: 6 }, [
|
|
27615
27615
|
xk,
|
|
27616
27616
|
_(p, null, {
|
|
27617
27617
|
label: b(() => [
|
|
@@ -27714,7 +27714,7 @@ const vk = function(n, e) {
|
|
|
27714
27714
|
]),
|
|
27715
27715
|
_: 1
|
|
27716
27716
|
}),
|
|
27717
|
-
g(t).orderBy && g(t).orderBy != "NONE" ? (q(),
|
|
27717
|
+
g(t).orderBy && g(t).orderBy != "NONE" ? (q(), le(p, {
|
|
27718
27718
|
key: 7,
|
|
27719
27719
|
label: "数据截取数量"
|
|
27720
27720
|
}, {
|
|
@@ -27786,9 +27786,9 @@ const Tk = /* @__PURE__ */ it({
|
|
|
27786
27786
|
};
|
|
27787
27787
|
return (s, r) => {
|
|
27788
27788
|
const l = he("el-button"), a = he("el-button-group");
|
|
27789
|
-
return q(),
|
|
27789
|
+
return q(), le(a, { class: "yh-report-color-choose" }, {
|
|
27790
27790
|
default: b(() => [
|
|
27791
|
-
(q(!0), F(
|
|
27791
|
+
(q(!0), F(re, null, qe(g(va), (o) => (q(), le(l, {
|
|
27792
27792
|
color: o,
|
|
27793
27793
|
size: "small",
|
|
27794
27794
|
plain: t.modelValue !== o,
|
|
@@ -27845,7 +27845,7 @@ const Tk = /* @__PURE__ */ it({
|
|
|
27845
27845
|
}
|
|
27846
27846
|
return (o, u) => {
|
|
27847
27847
|
const h = he("el-color-picker"), c = he("el-input"), f = he("el-form-item"), d = he("el-input-number"), O = he("el-col"), y = he("el-radio-button"), m = he("el-radio-group"), p = he("el-row"), v = he("el-cascader"), V = he("el-switch"), S = he("el-tab-pane");
|
|
27848
|
-
return g(t) ? (q(),
|
|
27848
|
+
return g(t) ? (q(), le(S, {
|
|
27849
27849
|
key: 0,
|
|
27850
27850
|
name: "label",
|
|
27851
27851
|
label: "色块",
|
|
@@ -27986,7 +27986,7 @@ const Tk = /* @__PURE__ */ it({
|
|
|
27986
27986
|
_: 1
|
|
27987
27987
|
}, 8, ["modelValue"])
|
|
27988
27988
|
]),
|
|
27989
|
-
g(s).notSingle ? (q(), F(
|
|
27989
|
+
g(s).notSingle ? (q(), F(re, { key: 0 }, [
|
|
27990
27990
|
_(f, { label: "维度" }, {
|
|
27991
27991
|
default: b(() => [
|
|
27992
27992
|
_(v, {
|
|
@@ -28042,7 +28042,7 @@ const Tk = /* @__PURE__ */ it({
|
|
|
28042
28042
|
]),
|
|
28043
28043
|
_: 1
|
|
28044
28044
|
}),
|
|
28045
|
-
g(s).orderBy && g(s).orderBy != "NONE" ? (q(),
|
|
28045
|
+
g(s).orderBy && g(s).orderBy != "NONE" ? (q(), le(f, {
|
|
28046
28046
|
key: 0,
|
|
28047
28047
|
label: "数据截取"
|
|
28048
28048
|
}, {
|
|
@@ -28068,7 +28068,7 @@ const Tk = /* @__PURE__ */ it({
|
|
|
28068
28068
|
]),
|
|
28069
28069
|
_: 1
|
|
28070
28070
|
})
|
|
28071
|
-
], 64)) : (q(), F(
|
|
28071
|
+
], 64)) : (q(), F(re, { key: 1 }, [
|
|
28072
28072
|
_(f, { label: "自定义维度" }, {
|
|
28073
28073
|
default: b(() => [
|
|
28074
28074
|
_(c, {
|
|
@@ -28171,7 +28171,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28171
28171
|
break;
|
|
28172
28172
|
}
|
|
28173
28173
|
}
|
|
28174
|
-
), (s, r) => (q(),
|
|
28174
|
+
), (s, r) => (q(), le(g(ig), {
|
|
28175
28175
|
"label-position": "top",
|
|
28176
28176
|
class: "statement-option"
|
|
28177
28177
|
}, {
|
|
@@ -28182,8 +28182,8 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28182
28182
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => i.value = l)
|
|
28183
28183
|
}, {
|
|
28184
28184
|
default: b(() => [
|
|
28185
|
-
g(t) !== null ? (q(), F(
|
|
28186
|
-
g(t) && g(t).type === "report" ? (q(),
|
|
28185
|
+
g(t) !== null ? (q(), F(re, { key: 0 }, [
|
|
28186
|
+
g(t) && g(t).type === "report" ? (q(), le(bk, { key: 0 })) : g(t) && g(t).type === "label" ? (q(), le(Rk, { key: 1 })) : (q(), le(kk, { key: 2 }))
|
|
28187
28187
|
], 64)) : ce("", !0)
|
|
28188
28188
|
]),
|
|
28189
28189
|
_: 1
|
|
@@ -28368,7 +28368,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28368
28368
|
return Ti(() => {
|
|
28369
28369
|
}), (U, E) => {
|
|
28370
28370
|
const B = he("el-tag"), ie = he("el-input"), ne = he("el-checkbox"), M = he("el-checkbox-group"), C = he("el-col"), G = he("el-switch"), Y = he("el-form-item"), N = he("el-option"), L = he("el-select"), J = he("el-input-number"), se = he("el-row"), Z = he("el-form");
|
|
28371
|
-
return q(), F(
|
|
28371
|
+
return q(), F(re, null, [
|
|
28372
28372
|
A("div", Vk, [
|
|
28373
28373
|
Ak,
|
|
28374
28374
|
_(g(Te), {
|
|
@@ -28383,7 +28383,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28383
28383
|
})
|
|
28384
28384
|
]),
|
|
28385
28385
|
g(i) ? (q(), F("div", Yk, [
|
|
28386
|
-
g(i).data.pagination ? (q(), F(
|
|
28386
|
+
g(i).data.pagination ? (q(), F(re, { key: 0 }, [
|
|
28387
28387
|
_(B, { type: "info" }, {
|
|
28388
28388
|
default: b(() => [
|
|
28389
28389
|
D("分页")
|
|
@@ -28397,55 +28397,58 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28397
28397
|
_: 1
|
|
28398
28398
|
})
|
|
28399
28399
|
], 64)) : ce("", !0),
|
|
28400
|
-
g(i).
|
|
28401
|
-
|
|
28402
|
-
|
|
28403
|
-
|
|
28404
|
-
|
|
28405
|
-
|
|
28406
|
-
|
|
28407
|
-
|
|
28408
|
-
|
|
28409
|
-
|
|
28410
|
-
|
|
28411
|
-
|
|
28412
|
-
|
|
28413
|
-
|
|
28414
|
-
|
|
28415
|
-
|
|
28416
|
-
|
|
28417
|
-
|
|
28418
|
-
|
|
28419
|
-
|
|
28420
|
-
|
|
28421
|
-
|
|
28422
|
-
|
|
28423
|
-
|
|
28424
|
-
|
|
28425
|
-
|
|
28426
|
-
|
|
28427
|
-
|
|
28428
|
-
|
|
28429
|
-
|
|
28430
|
-
|
|
28431
|
-
|
|
28432
|
-
|
|
28433
|
-
|
|
28434
|
-
|
|
28435
|
-
|
|
28436
|
-
|
|
28437
|
-
|
|
28438
|
-
|
|
28439
|
-
|
|
28440
|
-
|
|
28441
|
-
|
|
28442
|
-
|
|
28443
|
-
|
|
28444
|
-
|
|
28400
|
+
g(i).type === "report" ? (q(), F(re, { key: 1 }, [
|
|
28401
|
+
g(i).data.processData ? (q(), le(B, {
|
|
28402
|
+
key: 0,
|
|
28403
|
+
type: "info"
|
|
28404
|
+
}, {
|
|
28405
|
+
default: b(() => [
|
|
28406
|
+
D(" 报表数据处理 ")
|
|
28407
|
+
]),
|
|
28408
|
+
_: 1
|
|
28409
|
+
})) : ce("", !0)
|
|
28410
|
+
], 64)) : g(i).type === "label" ? (q(), F(re, { key: 2 }, [], 64)) : (q(), F(re, { key: 3 }, [
|
|
28411
|
+
g(i).toolTipData ? (q(), le(B, {
|
|
28412
|
+
key: 0,
|
|
28413
|
+
type: "info"
|
|
28414
|
+
}, {
|
|
28415
|
+
default: b(() => [
|
|
28416
|
+
D(" Tooltip处理 ")
|
|
28417
|
+
]),
|
|
28418
|
+
_: 1
|
|
28419
|
+
})) : ce("", !0),
|
|
28420
|
+
g(i).xAisData ? (q(), le(B, {
|
|
28421
|
+
key: 1,
|
|
28422
|
+
type: "info"
|
|
28423
|
+
}, {
|
|
28424
|
+
default: b(() => [
|
|
28425
|
+
D(" X轴数据处理 ")
|
|
28426
|
+
]),
|
|
28427
|
+
_: 1
|
|
28428
|
+
})) : ce("", !0),
|
|
28429
|
+
g(i).yAisData ? (q(), le(B, {
|
|
28430
|
+
key: 2,
|
|
28431
|
+
type: "info"
|
|
28432
|
+
}, {
|
|
28433
|
+
default: b(() => [
|
|
28434
|
+
D(" Y轴数据处理 ")
|
|
28435
|
+
]),
|
|
28436
|
+
_: 1
|
|
28437
|
+
})) : ce("", !0),
|
|
28438
|
+
g(i).seriesData ? (q(), le(B, {
|
|
28439
|
+
key: 3,
|
|
28440
|
+
type: "info"
|
|
28441
|
+
}, {
|
|
28442
|
+
default: b(() => [
|
|
28443
|
+
D(" 图表数据处理 ")
|
|
28444
|
+
]),
|
|
28445
|
+
_: 1
|
|
28446
|
+
})) : ce("", !0)
|
|
28447
|
+
], 64))
|
|
28445
28448
|
])) : ce("", !0),
|
|
28446
28449
|
_(g(ng), { class: "data-columns" }, {
|
|
28447
28450
|
default: b(() => [
|
|
28448
|
-
(q(!0), F(
|
|
28451
|
+
(q(!0), F(re, null, qe(g(r), (I, Qe) => (q(), le(g(sg), {
|
|
28449
28452
|
key: Qe,
|
|
28450
28453
|
name: I.url
|
|
28451
28454
|
}, {
|
|
@@ -28453,7 +28456,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28453
28456
|
A("div", Ek, [
|
|
28454
28457
|
A("div", null, Ue(I.name) + " (" + Ue(I.url) + ")", 1),
|
|
28455
28458
|
A("div", null, [
|
|
28456
|
-
I.toObject ? (q(),
|
|
28459
|
+
I.toObject ? (q(), le(B, {
|
|
28457
28460
|
key: 0,
|
|
28458
28461
|
type: "info"
|
|
28459
28462
|
}, {
|
|
@@ -28466,7 +28469,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28466
28469
|
])
|
|
28467
28470
|
]),
|
|
28468
28471
|
default: b(() => [
|
|
28469
|
-
(q(!0), F(
|
|
28472
|
+
(q(!0), F(re, null, qe(I.columns, (Ce, qt) => (q(), F("div", {
|
|
28470
28473
|
class: "data-column report-drag-source",
|
|
28471
28474
|
"data-drag": "column",
|
|
28472
28475
|
"data-index": Qe,
|
|
@@ -28474,9 +28477,9 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28474
28477
|
draggable: "true"
|
|
28475
28478
|
}, [
|
|
28476
28479
|
A("div", null, [
|
|
28477
|
-
Ce.name === Ce.columnName ? (q(), F(
|
|
28480
|
+
Ce.name === Ce.columnName ? (q(), F(re, { key: 0 }, [
|
|
28478
28481
|
D(Ue(Ce.name), 1)
|
|
28479
|
-
], 64)) : (q(), F(
|
|
28482
|
+
], 64)) : (q(), F(re, { key: 1 }, [
|
|
28480
28483
|
D(Ue(Ce.name) + " (" + Ue(Ce.columnName) + ")", 1)
|
|
28481
28484
|
], 64))
|
|
28482
28485
|
])
|
|
@@ -28516,7 +28519,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28516
28519
|
_(C, { span: 8 }, {
|
|
28517
28520
|
default: b(() => [
|
|
28518
28521
|
A("div", Dk, [
|
|
28519
|
-
u.value ? (q(), F(
|
|
28522
|
+
u.value ? (q(), F(re, { key: 1 }, [
|
|
28520
28523
|
zk,
|
|
28521
28524
|
_(ie, {
|
|
28522
28525
|
placeholder: "键入筛选数据源",
|
|
@@ -28546,7 +28549,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28546
28549
|
]),
|
|
28547
28550
|
_: 1
|
|
28548
28551
|
}, 8, ["loading"])
|
|
28549
|
-
], 64)) : (q(), F(
|
|
28552
|
+
], 64)) : (q(), F(re, { key: 0 }, [
|
|
28550
28553
|
Lk,
|
|
28551
28554
|
_(g(Te), {
|
|
28552
28555
|
type: "text",
|
|
@@ -28574,7 +28577,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28574
28577
|
"onUpdate:modelValue": E[1] || (E[1] = (I) => d.value = I)
|
|
28575
28578
|
}, {
|
|
28576
28579
|
default: b(() => [
|
|
28577
|
-
(q(!0), F(
|
|
28580
|
+
(q(!0), F(re, null, qe(g(f), (I) => (q(), le(ne, {
|
|
28578
28581
|
label: I.id
|
|
28579
28582
|
}, {
|
|
28580
28583
|
default: b(() => [
|
|
@@ -28586,7 +28589,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28586
28589
|
_: 1
|
|
28587
28590
|
}, 8, ["modelValue"])
|
|
28588
28591
|
])) : (q(), F("div", Wk, [
|
|
28589
|
-
(q(!0), F(
|
|
28592
|
+
(q(!0), F(re, null, qe(g(r), (I, Qe) => {
|
|
28590
28593
|
var Ce;
|
|
28591
28594
|
return q(), F("div", {
|
|
28592
28595
|
class: Zt(["data-source-item", { active: ((Ce = $.value) == null ? void 0 : Ce.key) == I.key }]),
|
|
@@ -28594,7 +28597,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28594
28597
|
}, [
|
|
28595
28598
|
A("div", Bk, [
|
|
28596
28599
|
A("div", Nk, Ue(I.name) + " (" + Ue(I.url) + ")", 1),
|
|
28597
|
-
I.toObject ? (q(),
|
|
28600
|
+
I.toObject ? (q(), le(B, {
|
|
28598
28601
|
key: 0,
|
|
28599
28602
|
size: "small",
|
|
28600
28603
|
type: "success"
|
|
@@ -28617,11 +28620,11 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28617
28620
|
}, 1032, ["onClick"])
|
|
28618
28621
|
]),
|
|
28619
28622
|
A("div", jk, [
|
|
28620
|
-
(q(!0), F(
|
|
28623
|
+
(q(!0), F(re, null, qe(I.columns, (qt) => (q(), le(B, null, {
|
|
28621
28624
|
default: b(() => [
|
|
28622
|
-
qt.name === qt.columnName ? (q(), F(
|
|
28625
|
+
qt.name === qt.columnName ? (q(), F(re, { key: 0 }, [
|
|
28623
28626
|
D(Ue(qt.name), 1)
|
|
28624
|
-
], 64)) : (q(), F(
|
|
28627
|
+
], 64)) : (q(), F(re, { key: 1 }, [
|
|
28625
28628
|
D(Ue(qt.name) + " (" + Ue(qt.columnName) + ")", 1)
|
|
28626
28629
|
], 64))
|
|
28627
28630
|
]),
|
|
@@ -28640,7 +28643,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28640
28643
|
default: b(() => [
|
|
28641
28644
|
_(se, { gutter: 10 }, {
|
|
28642
28645
|
default: b(() => [
|
|
28643
|
-
g(i).type === "report" ? (q(), F(
|
|
28646
|
+
g(i).type === "report" ? (q(), F(re, { key: 0 }, [
|
|
28644
28647
|
_(C, { span: 4 }, {
|
|
28645
28648
|
default: b(() => [
|
|
28646
28649
|
_(Y, null, {
|
|
@@ -28651,7 +28654,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28651
28654
|
_(G, {
|
|
28652
28655
|
modelValue: g(i).data.pagination,
|
|
28653
28656
|
"onUpdate:modelValue": E[2] || (E[2] = (I) => g(i).data.pagination = I),
|
|
28654
|
-
disabled: g(i).data.source
|
|
28657
|
+
disabled: !g(i).data.source || g(i).data.source.length === 0
|
|
28655
28658
|
}, null, 8, ["modelValue", "disabled"])
|
|
28656
28659
|
]),
|
|
28657
28660
|
_: 1
|
|
@@ -28659,7 +28662,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28659
28662
|
]),
|
|
28660
28663
|
_: 1
|
|
28661
28664
|
}),
|
|
28662
|
-
g(i).data.pagination ? (q(),
|
|
28665
|
+
g(i).data.pagination ? (q(), le(C, {
|
|
28663
28666
|
key: 0,
|
|
28664
28667
|
span: 4
|
|
28665
28668
|
}, {
|
|
@@ -28679,7 +28682,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28679
28682
|
]),
|
|
28680
28683
|
_: 1
|
|
28681
28684
|
})) : ce("", !0),
|
|
28682
|
-
g(i).data.pagination ? (q(),
|
|
28685
|
+
g(i).data.pagination ? (q(), le(C, {
|
|
28683
28686
|
key: 1,
|
|
28684
28687
|
span: 4
|
|
28685
28688
|
}, {
|
|
@@ -28695,7 +28698,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28695
28698
|
modelModifiers: { number: !0 }
|
|
28696
28699
|
}, {
|
|
28697
28700
|
default: b(() => [
|
|
28698
|
-
(q(!0), F(
|
|
28701
|
+
(q(!0), F(re, null, qe(a.value, (I) => (q(), le(N, {
|
|
28699
28702
|
label: I,
|
|
28700
28703
|
value: I
|
|
28701
28704
|
}, null, 8, ["label", "value"]))), 256))
|
|
@@ -28708,7 +28711,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28708
28711
|
]),
|
|
28709
28712
|
_: 1
|
|
28710
28713
|
})) : ce("", !0),
|
|
28711
|
-
g(i).data.pagination ? (q(),
|
|
28714
|
+
g(i).data.pagination ? (q(), le(C, {
|
|
28712
28715
|
key: 2,
|
|
28713
28716
|
span: 12
|
|
28714
28717
|
}, {
|
|
@@ -28719,7 +28722,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28719
28722
|
]),
|
|
28720
28723
|
default: b(() => [
|
|
28721
28724
|
A("div", Jk, [
|
|
28722
|
-
(q(!0), F(
|
|
28725
|
+
(q(!0), F(re, null, qe(a.value, (I, Qe) => (q(), le(B, {
|
|
28723
28726
|
closable: "",
|
|
28724
28727
|
key: I,
|
|
28725
28728
|
"disable-transitions": !1,
|
|
@@ -28730,7 +28733,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28730
28733
|
]),
|
|
28731
28734
|
_: 2
|
|
28732
28735
|
}, 1032, ["onClose"]))), 128)),
|
|
28733
|
-
Se.value ? (q(),
|
|
28736
|
+
Se.value ? (q(), le(ie, {
|
|
28734
28737
|
key: 0,
|
|
28735
28738
|
ref_key: "InputRef",
|
|
28736
28739
|
ref: K,
|
|
@@ -28740,7 +28743,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28740
28743
|
class: "data-pagesizes-input",
|
|
28741
28744
|
size: "small",
|
|
28742
28745
|
onKeyup: Km(ge, ["enter"])
|
|
28743
|
-
}, null, 8, ["modelValue", "onKeyup"])) : (q(),
|
|
28746
|
+
}, null, 8, ["modelValue", "onKeyup"])) : (q(), le(g(Te), {
|
|
28744
28747
|
key: 1,
|
|
28745
28748
|
size: "small",
|
|
28746
28749
|
onClick: pe
|
|
@@ -28784,8 +28787,8 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28784
28787
|
_: 1
|
|
28785
28788
|
})
|
|
28786
28789
|
], 64)) : ce("", !0),
|
|
28787
|
-
["line", "rowBar", "bar", "pie", "scatter", "radar", "treemap"].includes(g(i).type) ? (q(), F(
|
|
28788
|
-
g(s) ? (q(), F(
|
|
28790
|
+
["line", "rowBar", "bar", "pie", "scatter", "radar", "treemap"].includes(g(i).type) ? (q(), F(re, { key: 1 }, [
|
|
28791
|
+
g(s) ? (q(), F(re, { key: 0 }, [
|
|
28789
28792
|
_(C, { span: 24 }, {
|
|
28790
28793
|
default: b(() => [
|
|
28791
28794
|
_(Y, null, {
|
|
@@ -28894,7 +28897,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28894
28897
|
_: 1
|
|
28895
28898
|
})
|
|
28896
28899
|
], 64)) : ce("", !0),
|
|
28897
|
-
$.value !== null ? (q(), F(
|
|
28900
|
+
$.value !== null ? (q(), F(re, { key: 2 }, [
|
|
28898
28901
|
_(C, { span: 6 }, {
|
|
28899
28902
|
default: b(() => [
|
|
28900
28903
|
_(Y, null, {
|
|
@@ -28914,7 +28917,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28914
28917
|
]),
|
|
28915
28918
|
_: 1
|
|
28916
28919
|
}),
|
|
28917
|
-
$.value.toObject ? (q(),
|
|
28920
|
+
$.value.toObject ? (q(), le(C, {
|
|
28918
28921
|
key: 0,
|
|
28919
28922
|
span: 18
|
|
28920
28923
|
}, {
|
|
@@ -28939,7 +28942,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28939
28942
|
])
|
|
28940
28943
|
]),
|
|
28941
28944
|
default: b(() => [
|
|
28942
|
-
(q(!0), F(
|
|
28945
|
+
(q(!0), F(re, null, qe($.value.toObjectSetting, (I, Qe) => (q(), le(se, {
|
|
28943
28946
|
gutter: 10,
|
|
28944
28947
|
style: { "margin-bottom": "10px" }
|
|
28945
28948
|
}, {
|
|
@@ -28951,7 +28954,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28951
28954
|
"onUpdate:modelValue": (Ce) => I.field = Ce
|
|
28952
28955
|
}, {
|
|
28953
28956
|
default: b(() => [
|
|
28954
|
-
(q(!0), F(
|
|
28957
|
+
(q(!0), F(re, null, qe(g(l), (Ce) => (q(), le(N, {
|
|
28955
28958
|
value: Ce.value,
|
|
28956
28959
|
label: Ce.name
|
|
28957
28960
|
}, null, 8, ["value", "label"]))), 256))
|
|
@@ -28986,7 +28989,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
28986
28989
|
]),
|
|
28987
28990
|
_: 2
|
|
28988
28991
|
}, 1024),
|
|
28989
|
-
I.format === "text" ? (q(),
|
|
28992
|
+
I.format === "text" ? (q(), le(C, {
|
|
28990
28993
|
key: 0,
|
|
28991
28994
|
span: 11,
|
|
28992
28995
|
class: "column-Object-setting-format-type"
|
|
@@ -29007,7 +29010,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
29007
29010
|
]),
|
|
29008
29011
|
_: 2
|
|
29009
29012
|
}, 1024)) : ce("", !0),
|
|
29010
|
-
I.format === "number" ? (q(),
|
|
29013
|
+
I.format === "number" ? (q(), le(C, {
|
|
29011
29014
|
key: 1,
|
|
29012
29015
|
span: 11,
|
|
29013
29016
|
class: "column-Object-setting-format-type"
|
|
@@ -29021,7 +29024,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
29021
29024
|
]),
|
|
29022
29025
|
_: 2
|
|
29023
29026
|
}, 1024)) : ce("", !0),
|
|
29024
|
-
I.format === "datetime" ? (q(),
|
|
29027
|
+
I.format === "datetime" ? (q(), le(C, {
|
|
29025
29028
|
key: 2,
|
|
29026
29029
|
span: 11,
|
|
29027
29030
|
class: "column-Object-setting-format-type"
|
|
@@ -29085,7 +29088,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
29085
29088
|
A("div", hT, [
|
|
29086
29089
|
cT,
|
|
29087
29090
|
A("div", fT, [
|
|
29088
|
-
k.value ? (q(), F(
|
|
29091
|
+
k.value ? (q(), F(re, { key: 1 }, [
|
|
29089
29092
|
_(g(Te), {
|
|
29090
29093
|
type: "info",
|
|
29091
29094
|
onClick: j,
|
|
@@ -29106,7 +29109,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
29106
29109
|
]),
|
|
29107
29110
|
_: 1
|
|
29108
29111
|
})
|
|
29109
|
-
], 64)) : (q(),
|
|
29112
|
+
], 64)) : (q(), le(g(Te), {
|
|
29110
29113
|
key: 0,
|
|
29111
29114
|
type: "success",
|
|
29112
29115
|
onClick: z,
|
|
@@ -29124,7 +29127,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
29124
29127
|
A("div", dT, [
|
|
29125
29128
|
_(se, { gutter: 10 }, {
|
|
29126
29129
|
default: b(() => [
|
|
29127
|
-
(q(!0), F(
|
|
29130
|
+
(q(!0), F(re, null, qe($.value.columns, (I) => (q(), le(C, { span: 12 }, {
|
|
29128
29131
|
default: b(() => [
|
|
29129
29132
|
_(se, { gutter: 10 }, {
|
|
29130
29133
|
default: b(() => [
|
|
@@ -29152,7 +29155,7 @@ const Zk = /* @__PURE__ */ it({
|
|
|
29152
29155
|
A("div", pT, [
|
|
29153
29156
|
A("div", mT, Ue(I.isCustom ? "字段键名(自定义)" : "字段键名"), 1),
|
|
29154
29157
|
A("div", gT, [
|
|
29155
|
-
I.isCustom ? (q(),
|
|
29158
|
+
I.isCustom ? (q(), le(g(Te), {
|
|
29156
29159
|
key: 0,
|
|
29157
29160
|
type: "danger",
|
|
29158
29161
|
size: "small",
|
|
@@ -29256,7 +29259,7 @@ const Ji = /* @__PURE__ */ it({
|
|
|
29256
29259
|
const e = n;
|
|
29257
29260
|
return (t, i) => {
|
|
29258
29261
|
const s = he("el-button"), r = he("el-tooltip");
|
|
29259
|
-
return q(),
|
|
29262
|
+
return q(), le(r, {
|
|
29260
29263
|
effect: "dark",
|
|
29261
29264
|
content: e.content,
|
|
29262
29265
|
placement: "bottom"
|
|
@@ -29511,7 +29514,7 @@ const ST = { class: "statement-design-top" }, xT = { class: "statement-name" },
|
|
|
29511
29514
|
}), (U, E) => {
|
|
29512
29515
|
var ne;
|
|
29513
29516
|
const B = he("el-alert"), ie = he("el-button-group");
|
|
29514
|
-
return q(), F(
|
|
29517
|
+
return q(), F(re, null, [
|
|
29515
29518
|
_(B, {
|
|
29516
29519
|
class: Zt(["statement-alert", { show: g(j) }]),
|
|
29517
29520
|
title: g(X),
|
|
@@ -29530,8 +29533,8 @@ const ST = { class: "statement-design-top" }, xT = { class: "statement-name" },
|
|
|
29530
29533
|
A("div", $T, [
|
|
29531
29534
|
_(ie, null, {
|
|
29532
29535
|
default: b(() => [
|
|
29533
|
-
g(i) ? (q(), F(
|
|
29534
|
-
g(i) ? (q(),
|
|
29536
|
+
g(i) ? (q(), F(re, { key: 1 }, [
|
|
29537
|
+
g(i) ? (q(), le(Ji, {
|
|
29535
29538
|
key: 0,
|
|
29536
29539
|
content: "退出预览",
|
|
29537
29540
|
onClick: E[2] || (E[2] = (M) => i.value = !1)
|
|
@@ -29541,7 +29544,7 @@ const ST = { class: "statement-design-top" }, xT = { class: "statement-name" },
|
|
|
29541
29544
|
]),
|
|
29542
29545
|
_: 1
|
|
29543
29546
|
})) : ce("", !0)
|
|
29544
|
-
], 64)) : (q(), F(
|
|
29547
|
+
], 64)) : (q(), F(re, { key: 0 }, [
|
|
29545
29548
|
_(Ji, {
|
|
29546
29549
|
content: "撤回(Ctrl+Z)",
|
|
29547
29550
|
disabled: g(o) <= 0 || g(a) <= 0,
|
|
@@ -29620,7 +29623,7 @@ const ST = { class: "statement-design-top" }, xT = { class: "statement-name" },
|
|
|
29620
29623
|
}),
|
|
29621
29624
|
_(g(Cu), { label: "组件树" }, {
|
|
29622
29625
|
default: b(() => [
|
|
29623
|
-
(q(!0), F(
|
|
29626
|
+
(q(!0), F(re, null, qe(g(m), (M, C) => (q(), F("div", {
|
|
29624
29627
|
class: Zt(["statement-block-item", { active: M.isActive }]),
|
|
29625
29628
|
onClick: (G) => p(M.option, C)
|
|
29626
29629
|
}, [
|
|
@@ -29641,7 +29644,7 @@ const ST = { class: "statement-design-top" }, xT = { class: "statement-name" },
|
|
|
29641
29644
|
], 4), [
|
|
29642
29645
|
[Wt, !g(i)]
|
|
29643
29646
|
]),
|
|
29644
|
-
g(i) ? ce("", !0) : (q(),
|
|
29647
|
+
g(i) ? ce("", !0) : (q(), le(g_, { key: 0 })),
|
|
29645
29648
|
g(i) ? (q(), F("div", DT, [
|
|
29646
29649
|
_(_g, {
|
|
29647
29650
|
id: g(w).params.id
|
|
@@ -29673,4 +29676,4 @@ const ST = { class: "statement-design-top" }, xT = { class: "statement-name" },
|
|
|
29673
29676
|
export {
|
|
29674
29677
|
eC as default
|
|
29675
29678
|
};
|
|
29676
|
-
//# sourceMappingURL=StatementDesign-
|
|
29679
|
+
//# sourceMappingURL=StatementDesign-992929b6.mjs.map
|