yh-report 2.4.11 → 2.4.13
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-ade71985.mjs → StatementDesign-46d219e4.mjs} +468 -470
- package/{StatementDesign-ade71985.mjs.map → StatementDesign-46d219e4.mjs.map} +1 -1
- package/{StatementDetail-e91183e4.mjs → StatementDetail-ec417a06.mjs} +2 -2
- package/{StatementDetail-e91183e4.mjs.map → StatementDetail-ec417a06.mjs.map} +1 -1
- package/{StatementList-4756e6ea.mjs → StatementList-d3451a3a.mjs} +2 -2
- package/{StatementList-4756e6ea.mjs.map → StatementList-d3451a3a.mjs.map} +1 -1
- package/{index-d3532c0b.mjs → index-e2b84ff3.mjs} +14 -6
- package/index-e2b84ff3.mjs.map +1 -0
- package/index.es.js +1 -1
- package/package.json +1 -1
- package/index-d3532c0b.mjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { onMounted as ki, onUnmounted as ms, ref as Qe, computed as be, shallowReactive as Um, watch as Di, defineComponent as Be, useCssVars as Vf, unref as O, resolveComponent as ce, openBlock as
|
|
1
|
+
import { onMounted as ki, onUnmounted as ms, ref as Qe, computed as be, shallowReactive as Um, watch as Di, defineComponent as Be, useCssVars as Vf, unref as O, resolveComponent as ce, openBlock as A, createElementBlock as F, createElementVNode as V, normalizeStyle as lt, Fragment as ne, renderList as Re, normalizeClass as vt, createCommentVNode as oe, createBlock as te, withCtx as Q, createVNode as b, createTextVNode as Y, toDisplayString as qe, nextTick as Af, reactive as vr, resolveDynamicComponent as Dm, renderSlot as ri, onActivated as Ef, onDeactivated as Mf, toRaw as Lm, mergeProps as tl, withDirectives as zt, vShow as jt, isRef as Wm, withKeys as zm } from "vue";
|
|
2
2
|
import { ElMessageBox as Yf, ElMessage as qi, ElEmpty as jm, ElDialog as qf, ElFormItem as we, ElInput as Vt, ElSwitch as Wn, ElButton as ke, ElColorPicker as Im, ElRadioGroup as $s, ElRadioButton as nt, ElCheckbox as Ps, ElForm as Bm, ElTabs as Uf, ElCollapse as Nm, ElCollapseItem as Gm, ElTabPane as $u } from "element-plus";
|
|
3
3
|
import { useRoute as Df, useRouter as Fm } from "vue-router";
|
|
4
4
|
import { defineStore as Hm, storeToRefs as St } from "pinia";
|
|
5
5
|
import { a as Km } from "./editorLock-afc375cb.mjs";
|
|
6
|
-
import { C as pe, b as Jm, s as eg, c as tg, F as Ze, r as ig, e as ng, f as So, h as sg, _ as rg, D as or, p as lg, i as Pu, j as ks, k as ku, v as og, l as Lf, m as ag, n as ug, T as _l, o as hg, I as cg, q as fg } from "./index-
|
|
6
|
+
import { C as pe, b as Jm, s as eg, c as tg, F as Ze, r as ig, e as ng, f as So, h as sg, _ as rg, D as or, p as lg, i as Pu, j as ks, k as ku, v as og, l as Lf, m as ag, n as ug, T as _l, o as hg, I as cg, q as fg } from "./index-e2b84ff3.mjs";
|
|
7
7
|
import { cloneDeep as Ke, set as At, get as dg } from "lodash-es";
|
|
8
8
|
import "@/libs/api.request.js";
|
|
9
9
|
import "echarts";
|
|
@@ -225,7 +225,7 @@ const bl = {}, xt = function() {
|
|
|
225
225
|
const t = _g(n.params.id);
|
|
226
226
|
return bl[e] = t, t;
|
|
227
227
|
}
|
|
228
|
-
}, bg = { class: "report-desinger-table" }, Qg = /* @__PURE__ */
|
|
228
|
+
}, bg = { class: "report-desinger-table" }, Qg = /* @__PURE__ */ V("col", { width: 101 }, null, -1), yg = ["width"], vg = ["title", "data-area", "data-col", "data-row", "data-index", "data-table", "rowspan", "colspan"], Sg = {
|
|
229
229
|
key: 0,
|
|
230
230
|
class: "yhreport-icon report-fenzubiaoge"
|
|
231
231
|
}, xg = {
|
|
@@ -468,25 +468,25 @@ const bl = {}, xt = function() {
|
|
|
468
468
|
}
|
|
469
469
|
}), (w, $) => {
|
|
470
470
|
const k = ce("el-button"), R = ce("el-button-group");
|
|
471
|
-
return
|
|
472
|
-
|
|
471
|
+
return A(), F("div", bg, [
|
|
472
|
+
V("table", {
|
|
473
473
|
class: "report-desinger-table-content",
|
|
474
474
|
style: lt(`width: ${O(h)}px;`)
|
|
475
475
|
}, [
|
|
476
|
-
|
|
476
|
+
V("colgroup", null, [
|
|
477
477
|
Qg,
|
|
478
|
-
(
|
|
478
|
+
(A(!0), F(ne, null, Re(O(u), (g) => (A(), F("col", {
|
|
479
479
|
width: g == null ? void 0 : g.size
|
|
480
480
|
}, null, 8, yg))), 256))
|
|
481
481
|
]),
|
|
482
|
-
(
|
|
482
|
+
(A(!0), F(ne, null, Re(O(m), ({ size: g, cols: P, bind: X, loop: U, hidden: N, isComputed: K }, fe) => (A(), F("tr", {
|
|
483
483
|
class: vt({
|
|
484
484
|
hidden: N,
|
|
485
485
|
"is-computed": K
|
|
486
486
|
}),
|
|
487
487
|
style: lt(`height: ${g}px;`)
|
|
488
488
|
}, [
|
|
489
|
-
(
|
|
489
|
+
(A(!0), F(ne, null, Re(P, (J, ye) => (A(), F("td", {
|
|
490
490
|
class: vt(J.class),
|
|
491
491
|
style: lt(J.styleAttr),
|
|
492
492
|
title: `${(X || J.bind) && J.type === "head" ? "随数据循环" : J.text}`,
|
|
@@ -500,31 +500,31 @@ const bl = {}, xt = function() {
|
|
|
500
500
|
rowspan: J.rowSpan,
|
|
501
501
|
colspan: J.colSpan
|
|
502
502
|
}, [
|
|
503
|
-
J.group ? (
|
|
504
|
-
J.merge ? (
|
|
505
|
-
J.combine ? (
|
|
506
|
-
J.linkedMerge ? (
|
|
507
|
-
J.type === "head" ? (
|
|
508
|
-
U || J.loop ? (
|
|
509
|
-
X || J.bind ? (
|
|
510
|
-
fe === 0 ? (
|
|
511
|
-
ye !== 0 ? (
|
|
503
|
+
J.group ? (A(), F("i", Sg)) : oe("", !0),
|
|
504
|
+
J.merge ? (A(), F("i", xg)) : oe("", !0),
|
|
505
|
+
J.combine ? (A(), F("i", wg)) : oe("", !0),
|
|
506
|
+
J.linkedMerge ? (A(), F("i", $g)) : oe("", !0),
|
|
507
|
+
J.type === "head" ? (A(), F(ne, { key: 4 }, [
|
|
508
|
+
U || J.loop ? (A(), F("i", Pg)) : oe("", !0),
|
|
509
|
+
X || J.bind ? (A(), F("i", kg)) : oe("", !0),
|
|
510
|
+
fe === 0 ? (A(), F(ne, { key: 2 }, [
|
|
511
|
+
ye !== 0 ? (A(), F("div", {
|
|
512
512
|
key: 0,
|
|
513
513
|
class: "drag-bar mouse-move-target",
|
|
514
514
|
"data-area": "colwidth",
|
|
515
515
|
"data-index": e.index,
|
|
516
516
|
"data-table": e.tableIndex,
|
|
517
517
|
"data-col": ye - 1
|
|
518
|
-
}, null, 8, Tg)) :
|
|
519
|
-
], 64)) : ye === 0 ? (
|
|
518
|
+
}, null, 8, Tg)) : oe("", !0)
|
|
519
|
+
], 64)) : ye === 0 ? (A(), F("div", {
|
|
520
520
|
key: 3,
|
|
521
521
|
class: "drag-bar horizontal mouse-move-target",
|
|
522
522
|
"data-area": "rowheight",
|
|
523
523
|
"data-index": e.index,
|
|
524
524
|
"data-table": e.tableIndex,
|
|
525
525
|
"data-row": fe - 1
|
|
526
|
-
}, null, 8, Cg)) :
|
|
527
|
-
fe === 0 && ye === 0 ? (
|
|
526
|
+
}, null, 8, Cg)) : oe("", !0),
|
|
527
|
+
fe === 0 && ye === 0 ? (A(), te(R, { key: 4 }, {
|
|
528
528
|
default: Q(() => [
|
|
529
529
|
b(k, {
|
|
530
530
|
text: "",
|
|
@@ -574,8 +574,8 @@ const bl = {}, xt = function() {
|
|
|
574
574
|
}, 8, ["disabled"])
|
|
575
575
|
]),
|
|
576
576
|
_: 1
|
|
577
|
-
})) :
|
|
578
|
-
], 64)) :
|
|
577
|
+
})) : oe("", !0)
|
|
578
|
+
], 64)) : oe("", !0),
|
|
579
579
|
Y(" " + qe(J.text), 1)
|
|
580
580
|
], 14, vg))), 256))
|
|
581
581
|
], 6))), 256))
|
|
@@ -588,9 +588,9 @@ const Rg = ["data-index"], Xg = {
|
|
|
588
588
|
class: "params-desinger desinger-container report-drop-target",
|
|
589
589
|
"data-source": "column",
|
|
590
590
|
"data-target": "params"
|
|
591
|
-
}, Vg = ["data-index"], Ag = /* @__PURE__ */
|
|
591
|
+
}, Vg = ["data-index"], Ag = /* @__PURE__ */ V("i", { class: "yhreport-icon report-shanchusekuai" }, null, -1), Eg = [
|
|
592
592
|
Ag
|
|
593
|
-
], Mg = { class: "report-desinger-container" }, Yg = { class: "report-desinger-toolbar" }, qg = { class: "yh-statement-table-actions" }, Ug = /* @__PURE__ */
|
|
593
|
+
], Mg = { class: "report-desinger-container" }, Yg = { class: "report-desinger-toolbar" }, qg = { class: "yh-statement-table-actions" }, Ug = /* @__PURE__ */ V("i", { class: "iconfont icon-top" }, null, -1), Dg = /* @__PURE__ */ V("i", { class: "iconfont icon-bottom" }, null, -1), Lg = /* @__PURE__ */ V("i", { class: "iconfont icon-delete2" }, null, -1), Wg = ["data-index"], zg = ["data-index"], jg = /* @__PURE__ */ Be({
|
|
594
594
|
__name: "reportDesignItem",
|
|
595
595
|
props: {
|
|
596
596
|
option: null,
|
|
@@ -688,7 +688,7 @@ const Rg = ["data-index"], Xg = {
|
|
|
688
688
|
(R = m.value) == null || R.removeEventListener("mousedown", w), document.removeEventListener("mousemove", $), document.removeEventListener("mouseup", k);
|
|
689
689
|
}), (R, g) => {
|
|
690
690
|
const P = ce("el-form-item"), X = ce("el-form"), U = ce("el-input"), N = ce("el-button");
|
|
691
|
-
return
|
|
691
|
+
return A(), F("div", {
|
|
692
692
|
class: vt(["yh-statement-table report-drop-target", { active: t.index === O(r) }]),
|
|
693
693
|
style: lt(O(d)),
|
|
694
694
|
"data-source": "canvas",
|
|
@@ -697,10 +697,10 @@ const Rg = ["data-index"], Xg = {
|
|
|
697
697
|
ref_key: "statementTableRef",
|
|
698
698
|
ref: m
|
|
699
699
|
}, [
|
|
700
|
-
|
|
700
|
+
V("div", Xg, [
|
|
701
701
|
b(X, { inline: "" }, {
|
|
702
702
|
default: Q(() => [
|
|
703
|
-
(
|
|
703
|
+
(A(!0), F(ne, null, Re(O(p), (K, fe) => (A(), te(P, {
|
|
704
704
|
class: vt(["params-desinger-item report-drag-source report-drop-target", { active: fe === O(l) }]),
|
|
705
705
|
draggable: "true",
|
|
706
706
|
"data-drag": "params",
|
|
@@ -712,12 +712,12 @@ const Rg = ["data-index"], Xg = {
|
|
|
712
712
|
label: K.name
|
|
713
713
|
}, {
|
|
714
714
|
default: Q(() => [
|
|
715
|
-
(
|
|
715
|
+
(A(), te(Dm(K.componentName), {
|
|
716
716
|
type: K.type,
|
|
717
717
|
style: lt({ width: `${K.elWidth || 210}px` }),
|
|
718
718
|
placeholder: K.placeholer
|
|
719
719
|
}, null, 8, ["type", "style", "placeholder"])),
|
|
720
|
-
|
|
720
|
+
V("div", {
|
|
721
721
|
class: "del",
|
|
722
722
|
"data-type": "params",
|
|
723
723
|
"data-index": fe,
|
|
@@ -730,10 +730,10 @@ const Rg = ["data-index"], Xg = {
|
|
|
730
730
|
_: 1
|
|
731
731
|
})
|
|
732
732
|
]),
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
O(s) !== null ? (
|
|
736
|
-
O(s).type === O(pe).FUN ? (
|
|
733
|
+
V("div", Mg, [
|
|
734
|
+
V("div", Yg, [
|
|
735
|
+
O(s) !== null ? (A(), F(ne, { key: 0 }, [
|
|
736
|
+
O(s).type === O(pe).FUN ? (A(), te(U, {
|
|
737
737
|
key: 0,
|
|
738
738
|
modelValue: O(s).fun,
|
|
739
739
|
"onUpdate:modelValue": g[0] || (g[0] = (K) => O(s).fun = K),
|
|
@@ -744,7 +744,7 @@ const Rg = ["data-index"], Xg = {
|
|
|
744
744
|
Y("=")
|
|
745
745
|
]),
|
|
746
746
|
_: 1
|
|
747
|
-
}, 8, ["modelValue"])) : O(s).type === O(pe).TEXT ? (
|
|
747
|
+
}, 8, ["modelValue"])) : O(s).type === O(pe).TEXT ? (A(), te(U, {
|
|
748
748
|
key: 1,
|
|
749
749
|
modelValue: O(s).text,
|
|
750
750
|
"onUpdate:modelValue": g[1] || (g[1] = (K) => O(s).text = K),
|
|
@@ -756,7 +756,7 @@ const Rg = ["data-index"], Xg = {
|
|
|
756
756
|
Y("文本")
|
|
757
757
|
]),
|
|
758
758
|
_: 1
|
|
759
|
-
}, 8, ["modelValue"])) : O(s).type === O(pe).FIELD ? (
|
|
759
|
+
}, 8, ["modelValue"])) : O(s).type === O(pe).FIELD ? (A(), te(U, {
|
|
760
760
|
key: 2,
|
|
761
761
|
modelValue: O(s).data,
|
|
762
762
|
"onUpdate:modelValue": g[2] || (g[2] = (K) => O(s).data = K),
|
|
@@ -772,18 +772,18 @@ const Rg = ["data-index"], Xg = {
|
|
|
772
772
|
Y("}")
|
|
773
773
|
]),
|
|
774
774
|
_: 1
|
|
775
|
-
}, 8, ["modelValue", "disabled", "placeholder"])) : (
|
|
775
|
+
}, 8, ["modelValue", "disabled", "placeholder"])) : (A(), F(ne, { key: 3 }, [
|
|
776
776
|
Y(qe(O(s).data || O(s).data), 1)
|
|
777
777
|
], 64))
|
|
778
|
-
], 64)) :
|
|
778
|
+
], 64)) : oe("", !0)
|
|
779
779
|
]),
|
|
780
|
-
(
|
|
780
|
+
(A(!0), F(ne, null, Re(O(c).tableConfig, (K, fe) => (A(), te(Zg, {
|
|
781
781
|
"table-config": K,
|
|
782
782
|
"table-index": fe,
|
|
783
783
|
index: t.index
|
|
784
784
|
}, null, 8, ["table-config", "table-index", "index"]))), 256))
|
|
785
785
|
]),
|
|
786
|
-
|
|
786
|
+
V("div", qg, [
|
|
787
787
|
b(N, {
|
|
788
788
|
type: "primary",
|
|
789
789
|
disabled: t.index === 0,
|
|
@@ -814,29 +814,29 @@ const Rg = ["data-index"], Xg = {
|
|
|
814
814
|
_: 1
|
|
815
815
|
})
|
|
816
816
|
]),
|
|
817
|
-
|
|
817
|
+
V("div", {
|
|
818
818
|
class: "yh-statement-table-choose-area",
|
|
819
819
|
style: lt(y)
|
|
820
820
|
}, null, 4),
|
|
821
|
-
t.option.widthType === "px" ? (
|
|
821
|
+
t.option.widthType === "px" ? (A(), F("div", {
|
|
822
822
|
key: 0,
|
|
823
823
|
class: "drag-bar mouse-move-target",
|
|
824
824
|
"data-area": "tablewidth",
|
|
825
825
|
"data-index": t.index
|
|
826
|
-
}, null, 8, Wg)) :
|
|
827
|
-
|
|
826
|
+
}, null, 8, Wg)) : oe("", !0),
|
|
827
|
+
V("div", {
|
|
828
828
|
class: "drag-bar horizontal mouse-move-target",
|
|
829
829
|
"data-area": "tableheight",
|
|
830
830
|
"data-index": t.index
|
|
831
831
|
}, null, 8, zg),
|
|
832
|
-
|
|
832
|
+
V("div", {
|
|
833
833
|
class: "yh-statement-table-mask",
|
|
834
834
|
onClick: S
|
|
835
835
|
})
|
|
836
836
|
], 14, Rg);
|
|
837
837
|
};
|
|
838
838
|
}
|
|
839
|
-
}), Ig = ["data-index"], Bg = { class: "yh-statement-table-actions" }, Ng = /* @__PURE__ */
|
|
839
|
+
}), Ig = ["data-index"], Bg = { class: "yh-statement-table-actions" }, Ng = /* @__PURE__ */ V("i", { class: "iconfont icon-drag" }, null, -1), Gg = /* @__PURE__ */ V("i", { class: "iconfont icon-diceng" }, null, -1), Fg = /* @__PURE__ */ V("i", { class: "iconfont icon-dingceng" }, null, -1), Hg = /* @__PURE__ */ V("i", { class: "iconfont icon-top" }, null, -1), Kg = /* @__PURE__ */ V("i", { class: "iconfont icon-bottom" }, null, -1), Jg = /* @__PURE__ */ V("i", { class: "iconfont icon-delete2" }, null, -1), e_ = ["data-index"], t_ = ["data-index"], i_ = /* @__PURE__ */ Be({
|
|
840
840
|
__name: "chartDesignItem",
|
|
841
841
|
props: {
|
|
842
842
|
index: null
|
|
@@ -886,7 +886,7 @@ const Rg = ["data-index"], Xg = {
|
|
|
886
886
|
}
|
|
887
887
|
return (p, v) => {
|
|
888
888
|
const _ = ce("el-button");
|
|
889
|
-
return
|
|
889
|
+
return A(), F("div", {
|
|
890
890
|
class: vt(["yh-statement-table report-drop-target", { active: t.index === O(s), suspend: O(a).isSuspend }]),
|
|
891
891
|
"data-source": "canvas",
|
|
892
892
|
"data-target": "canvas",
|
|
@@ -894,8 +894,8 @@ const Rg = ["data-index"], Xg = {
|
|
|
894
894
|
style: lt(O(u))
|
|
895
895
|
}, [
|
|
896
896
|
ri(p.$slots, "default"),
|
|
897
|
-
|
|
898
|
-
O(a).isSuspend ? (
|
|
897
|
+
V("div", Bg, [
|
|
898
|
+
O(a).isSuspend ? (A(), F(ne, { key: 0 }, [
|
|
899
899
|
b(_, {
|
|
900
900
|
type: "primary",
|
|
901
901
|
title: "移动",
|
|
@@ -919,7 +919,7 @@ const Rg = ["data-index"], Xg = {
|
|
|
919
919
|
]),
|
|
920
920
|
_: 1
|
|
921
921
|
})
|
|
922
|
-
], 64)) : (
|
|
922
|
+
], 64)) : (A(), te(_, {
|
|
923
923
|
key: 1,
|
|
924
924
|
type: "primary",
|
|
925
925
|
title: "悬浮",
|
|
@@ -961,24 +961,24 @@ const Rg = ["data-index"], Xg = {
|
|
|
961
961
|
_: 1
|
|
962
962
|
})
|
|
963
963
|
]),
|
|
964
|
-
|
|
964
|
+
V("div", {
|
|
965
965
|
class: "drag-bar mouse-move-target",
|
|
966
966
|
"data-area": "tablewidth",
|
|
967
967
|
"data-index": t.index
|
|
968
968
|
}, null, 8, e_),
|
|
969
|
-
|
|
969
|
+
V("div", {
|
|
970
970
|
class: "drag-bar horizontal mouse-move-target",
|
|
971
971
|
"data-area": "tableheight",
|
|
972
972
|
"data-index": t.index
|
|
973
973
|
}, null, 8, t_),
|
|
974
|
-
|
|
974
|
+
V("div", {
|
|
975
975
|
class: "yh-statement-table-mask",
|
|
976
976
|
onClick: f
|
|
977
977
|
})
|
|
978
978
|
], 14, Ig);
|
|
979
979
|
};
|
|
980
980
|
}
|
|
981
|
-
}), n_ = ["data-index"], s_ = { class: "yh-statement-table-actions" }, r_ = /* @__PURE__ */
|
|
981
|
+
}), n_ = ["data-index"], s_ = { class: "yh-statement-table-actions" }, r_ = /* @__PURE__ */ V("i", { class: "iconfont icon-top" }, null, -1), l_ = /* @__PURE__ */ V("i", { class: "iconfont icon-bottom" }, null, -1), o_ = /* @__PURE__ */ V("i", { class: "iconfont icon-delete2" }, null, -1), a_ = ["data-index"], u_ = ["data-index"], h_ = /* @__PURE__ */ Be({
|
|
982
982
|
__name: "labelDesignItem",
|
|
983
983
|
props: {
|
|
984
984
|
index: null,
|
|
@@ -1038,18 +1038,18 @@ const Rg = ["data-index"], Xg = {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
return (m, S) => {
|
|
1040
1040
|
const E = ce("el-button");
|
|
1041
|
-
return
|
|
1041
|
+
return A(), F("div", {
|
|
1042
1042
|
class: vt(["yh-statement-table report-drop-target", { active: t.index === O(s) }]),
|
|
1043
1043
|
"data-source": "canvas",
|
|
1044
1044
|
"data-target": "canvas",
|
|
1045
1045
|
"data-index": t.index,
|
|
1046
1046
|
style: lt(O(u))
|
|
1047
1047
|
}, [
|
|
1048
|
-
|
|
1048
|
+
V("div", {
|
|
1049
1049
|
class: "yh-statement-custom-label",
|
|
1050
1050
|
style: lt(O(p))
|
|
1051
1051
|
}, qe(O(d)), 5),
|
|
1052
|
-
|
|
1052
|
+
V("div", s_, [
|
|
1053
1053
|
b(E, {
|
|
1054
1054
|
type: "primary",
|
|
1055
1055
|
disabled: t.index === 0,
|
|
@@ -1081,17 +1081,17 @@ const Rg = ["data-index"], Xg = {
|
|
|
1081
1081
|
_: 1
|
|
1082
1082
|
})
|
|
1083
1083
|
]),
|
|
1084
|
-
|
|
1084
|
+
V("div", {
|
|
1085
1085
|
class: "drag-bar mouse-move-target",
|
|
1086
1086
|
"data-area": "tablewidth",
|
|
1087
1087
|
"data-index": t.index
|
|
1088
1088
|
}, null, 8, a_),
|
|
1089
|
-
|
|
1089
|
+
V("div", {
|
|
1090
1090
|
class: "drag-bar horizontal mouse-move-target",
|
|
1091
1091
|
"data-area": "tableheight",
|
|
1092
1092
|
"data-index": t.index
|
|
1093
1093
|
}, null, 8, u_),
|
|
1094
|
-
|
|
1094
|
+
V("div", {
|
|
1095
1095
|
class: "yh-statement-table-mask",
|
|
1096
1096
|
onClick: v
|
|
1097
1097
|
})
|
|
@@ -1247,27 +1247,27 @@ const c_ = /* @__PURE__ */ Be({
|
|
|
1247
1247
|
E();
|
|
1248
1248
|
}), Mf(() => {
|
|
1249
1249
|
E();
|
|
1250
|
-
}), (y, T) => (
|
|
1250
|
+
}), (y, T) => (A(), F("section", {
|
|
1251
1251
|
class: "statement-canvas report-drop-target",
|
|
1252
1252
|
ref_key: "statementRef",
|
|
1253
1253
|
ref: h,
|
|
1254
1254
|
"data-source": "canvas",
|
|
1255
1255
|
"data-target": "canvas"
|
|
1256
1256
|
}, [
|
|
1257
|
-
(
|
|
1258
|
-
w.type === "report" ? (
|
|
1257
|
+
(A(!0), F(ne, null, Re(O(c), (w, $) => (A(), F(ne, null, [
|
|
1258
|
+
w.type === "report" ? (A(), te(jg, {
|
|
1259
1259
|
key: 0,
|
|
1260
1260
|
option: w,
|
|
1261
1261
|
index: $,
|
|
1262
1262
|
onChoose: f,
|
|
1263
1263
|
onDel: d
|
|
1264
|
-
}, null, 8, ["option", "index"])) : w.type === "label" ? (
|
|
1264
|
+
}, null, 8, ["option", "index"])) : w.type === "label" ? (A(), te(h_, {
|
|
1265
1265
|
key: 1,
|
|
1266
1266
|
index: $,
|
|
1267
1267
|
item: w,
|
|
1268
1268
|
onChoose: f,
|
|
1269
1269
|
onDel: d
|
|
1270
|
-
}, null, 8, ["index", "item"])) : (
|
|
1270
|
+
}, null, 8, ["index", "item"])) : (A(), te(i_, {
|
|
1271
1271
|
key: 2,
|
|
1272
1272
|
index: $,
|
|
1273
1273
|
onChoose: f,
|
|
@@ -1279,14 +1279,14 @@ const c_ = /* @__PURE__ */ Be({
|
|
|
1279
1279
|
_: 2
|
|
1280
1280
|
}, 1032, ["index"]))
|
|
1281
1281
|
], 64))), 256)),
|
|
1282
|
-
O(c).length === 0 ? (
|
|
1282
|
+
O(c).length === 0 ? (A(), te(O(jm), {
|
|
1283
1283
|
key: 0,
|
|
1284
1284
|
style: { width: "100%" },
|
|
1285
1285
|
description: "拖拽至此添加报表或图表"
|
|
1286
|
-
})) :
|
|
1286
|
+
})) : oe("", !0)
|
|
1287
1287
|
], 512));
|
|
1288
1288
|
}
|
|
1289
|
-
}), f_ = /* @__PURE__ */
|
|
1289
|
+
}), f_ = /* @__PURE__ */ V("iframe", {
|
|
1290
1290
|
src: "http://docs.js.sforcecon.com:5900/view/604",
|
|
1291
1291
|
frameborder: "0"
|
|
1292
1292
|
}, null, -1), d_ = /* @__PURE__ */ Be({
|
|
@@ -1297,7 +1297,7 @@ const c_ = /* @__PURE__ */ Be({
|
|
|
1297
1297
|
emits: ["update:modelValue"],
|
|
1298
1298
|
setup(n, { emit: e }) {
|
|
1299
1299
|
const t = n;
|
|
1300
|
-
return (i, s) => (
|
|
1300
|
+
return (i, s) => (A(), te(O(qf), {
|
|
1301
1301
|
fullscreen: "",
|
|
1302
1302
|
"model-value": t.modelValue,
|
|
1303
1303
|
onClose: s[0] || (s[0] = (r) => e("update:modelValue", !1)),
|
|
@@ -1319,17 +1319,17 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1319
1319
|
}
|
|
1320
1320
|
},
|
|
1321
1321
|
setup(n) {
|
|
1322
|
-
return (e, t) => (
|
|
1323
|
-
(
|
|
1322
|
+
return (e, t) => (A(), F("ul", O_, [
|
|
1323
|
+
(A(!0), F(ne, null, Re(n.chartReportList, (i, s) => (A(), F("li", {
|
|
1324
1324
|
class: "chart-series-box report-drag-source",
|
|
1325
1325
|
draggable: "true",
|
|
1326
1326
|
"data-drag": i.type,
|
|
1327
1327
|
"data-index": s
|
|
1328
1328
|
}, [
|
|
1329
|
-
|
|
1329
|
+
V("i", {
|
|
1330
1330
|
class: vt(["iconfont", i.icon])
|
|
1331
1331
|
}, null, 2),
|
|
1332
|
-
|
|
1332
|
+
V("span", null, qe(i.name), 1)
|
|
1333
1333
|
], 8, p_))), 256))
|
|
1334
1334
|
]));
|
|
1335
1335
|
}
|
|
@@ -1525,9 +1525,9 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1525
1525
|
value: "fireYear"
|
|
1526
1526
|
}
|
|
1527
1527
|
]
|
|
1528
|
-
}, v_ = /* @__PURE__ */
|
|
1529
|
-
/* @__PURE__ */
|
|
1530
|
-
], -1), S_ = /* @__PURE__ */
|
|
1528
|
+
}, v_ = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
|
|
1529
|
+
/* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "筛选参数配置")
|
|
1530
|
+
], -1), S_ = /* @__PURE__ */ V("br", null, null, -1), x_ = /* @__PURE__ */ V("br", null, null, -1), w_ = /* @__PURE__ */ V("br", null, null, -1), $_ = /* @__PURE__ */ V("br", null, null, -1), P_ = /* @__PURE__ */ V("br", null, null, -1), k_ = /* @__PURE__ */ V("br", null, null, -1), T_ = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "开始时间(当前时间 - 时间段)", -1), C_ = /* @__PURE__ */ V("br", null, null, -1), Z_ = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "结束时间(当前时间)", -1), R_ = /* @__PURE__ */ V("br", null, null, -1), X_ = /* @__PURE__ */ V("br", null, null, -1), V_ = /* @__PURE__ */ V("br", null, null, -1), A_ = /* @__PURE__ */ V("br", null, null, -1), E_ = /* @__PURE__ */ V("br", null, null, -1), M_ = /* @__PURE__ */ V("br", null, null, -1), Y_ = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "开始时间(00:00:00)", -1), q_ = /* @__PURE__ */ V("br", null, null, -1), U_ = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "结束时间(23:59:59)", -1), D_ = /* @__PURE__ */ Be({
|
|
1531
1531
|
__name: "paramEditor",
|
|
1532
1532
|
setup(n) {
|
|
1533
1533
|
const e = xt(), { activeParam: t } = St(e), i = be(() => {
|
|
@@ -1539,7 +1539,7 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1539
1539
|
}), s = be(() => t.value && t.value.dateType && ["daterange", "datetimerange"].includes(t.value.dateType));
|
|
1540
1540
|
return (r, l) => {
|
|
1541
1541
|
const o = ce("el-col"), a = ce("el-input-number"), u = ce("el-option"), h = ce("el-select"), c = ce("el-tooltip");
|
|
1542
|
-
return O(t) ? (
|
|
1542
|
+
return O(t) ? (A(), F(ne, { key: 0 }, [
|
|
1543
1543
|
v_,
|
|
1544
1544
|
b(o, { span: 12 }, {
|
|
1545
1545
|
default: Q(() => [
|
|
@@ -1591,7 +1591,7 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1591
1591
|
"onUpdate:modelValue": l[2] || (l[2] = (f) => O(t).type = f)
|
|
1592
1592
|
}, {
|
|
1593
1593
|
default: Q(() => [
|
|
1594
|
-
(
|
|
1594
|
+
(A(!0), F(ne, null, Re(O(__), (f) => (A(), te(u, {
|
|
1595
1595
|
value: f.value,
|
|
1596
1596
|
label: f.label
|
|
1597
1597
|
}, null, 8, ["value", "label"]))), 256))
|
|
@@ -1691,7 +1691,7 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1691
1691
|
]),
|
|
1692
1692
|
_: 1
|
|
1693
1693
|
}),
|
|
1694
|
-
[O(or).DATE, O(or).DATETIME].includes(O(t).dataType) ? (
|
|
1694
|
+
[O(or).DATE, O(or).DATETIME].includes(O(t).dataType) ? (A(), F(ne, { key: 0 }, [
|
|
1695
1695
|
b(o, { span: 12 }, {
|
|
1696
1696
|
default: Q(() => [
|
|
1697
1697
|
b(O(we), { label: "日期选择类型" }, {
|
|
@@ -1702,7 +1702,7 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1702
1702
|
"onUpdate:modelValue": l[6] || (l[6] = (f) => O(t).dateType = f)
|
|
1703
1703
|
}, {
|
|
1704
1704
|
default: Q(() => [
|
|
1705
|
-
(
|
|
1705
|
+
(A(!0), F(ne, null, Re(O(b_), (f) => (A(), te(u, {
|
|
1706
1706
|
value: f.value,
|
|
1707
1707
|
label: f.label
|
|
1708
1708
|
}, null, 8, ["value", "label"]))), 256))
|
|
@@ -1724,7 +1724,7 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1724
1724
|
"onUpdate:modelValue": l[7] || (l[7] = (f) => O(t).defaultValue = f)
|
|
1725
1725
|
}, {
|
|
1726
1726
|
default: Q(() => [
|
|
1727
|
-
(
|
|
1727
|
+
(A(!0), F(ne, null, Re(O(i), (f) => (A(), te(u, {
|
|
1728
1728
|
value: f.value,
|
|
1729
1729
|
label: f.label
|
|
1730
1730
|
}, null, 8, ["value", "label"]))), 256))
|
|
@@ -1737,7 +1737,7 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1737
1737
|
]),
|
|
1738
1738
|
_: 1
|
|
1739
1739
|
}),
|
|
1740
|
-
O(s) ? (
|
|
1740
|
+
O(s) ? (A(), F(ne, { key: 0 }, [
|
|
1741
1741
|
b(o, { span: 24 }, {
|
|
1742
1742
|
default: Q(() => [
|
|
1743
1743
|
b(O(we), null, {
|
|
@@ -1810,7 +1810,7 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1810
1810
|
]),
|
|
1811
1811
|
_: 1
|
|
1812
1812
|
})
|
|
1813
|
-
], 64)) : (
|
|
1813
|
+
], 64)) : (A(), F(ne, { key: 1 }, [
|
|
1814
1814
|
b(o, { span: 24 }, {
|
|
1815
1815
|
default: Q(() => [
|
|
1816
1816
|
b(O(we), null, {
|
|
@@ -1884,8 +1884,8 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1884
1884
|
_: 1
|
|
1885
1885
|
})
|
|
1886
1886
|
], 64))
|
|
1887
|
-
], 64)) : (
|
|
1888
|
-
O(t).isNull ? (
|
|
1887
|
+
], 64)) : (A(), F(ne, { key: 1 }, [
|
|
1888
|
+
O(t).isNull ? (A(), te(o, {
|
|
1889
1889
|
key: 0,
|
|
1890
1890
|
span: 24
|
|
1891
1891
|
}, {
|
|
@@ -1901,9 +1901,9 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1901
1901
|
})
|
|
1902
1902
|
]),
|
|
1903
1903
|
_: 1
|
|
1904
|
-
})) :
|
|
1904
|
+
})) : oe("", !0)
|
|
1905
1905
|
], 64)),
|
|
1906
|
-
[O(or).LIST].includes(O(t).dataType) ? (
|
|
1906
|
+
[O(or).LIST].includes(O(t).dataType) ? (A(), te(o, {
|
|
1907
1907
|
key: 2,
|
|
1908
1908
|
span: "24"
|
|
1909
1909
|
}, {
|
|
@@ -1920,8 +1920,8 @@ const O_ = { class: "chart-series-wrapper" }, p_ = ["data-drag", "data-index"],
|
|
|
1920
1920
|
})
|
|
1921
1921
|
]),
|
|
1922
1922
|
_: 1
|
|
1923
|
-
})) :
|
|
1924
|
-
], 64)) :
|
|
1923
|
+
})) : oe("", !0)
|
|
1924
|
+
], 64)) : oe("", !0);
|
|
1925
1925
|
};
|
|
1926
1926
|
}
|
|
1927
1927
|
});
|
|
@@ -9493,7 +9493,7 @@ class Xb {
|
|
|
9493
9493
|
this.editContext.removeEventListener(e, this.handlers[e]);
|
|
9494
9494
|
}
|
|
9495
9495
|
}
|
|
9496
|
-
class
|
|
9496
|
+
class re {
|
|
9497
9497
|
/**
|
|
9498
9498
|
The current editor state.
|
|
9499
9499
|
*/
|
|
@@ -9792,7 +9792,7 @@ class le {
|
|
|
9792
9792
|
let t = !0;
|
|
9793
9793
|
for (let i of e)
|
|
9794
9794
|
for (let s of i.effects)
|
|
9795
|
-
if (s.is(
|
|
9795
|
+
if (s.is(re.announce)) {
|
|
9796
9796
|
t && (this.announceDOM.textContent = ""), t = !1;
|
|
9797
9797
|
let r = this.announceDOM.appendChild(document.createElement("div"));
|
|
9798
9798
|
r.textContent = s.value;
|
|
@@ -9800,7 +9800,7 @@ class le {
|
|
|
9800
9800
|
}
|
|
9801
9801
|
mountStyles() {
|
|
9802
9802
|
this.styleModules = this.state.facet(Yn);
|
|
9803
|
-
let e = this.state.facet(
|
|
9803
|
+
let e = this.state.facet(re.cspNonce);
|
|
9804
9804
|
yi.mount(this.root, this.styleModules.concat(Tb).reverse(), e ? { nonce: e } : void 0);
|
|
9805
9805
|
}
|
|
9806
9806
|
readMeasured() {
|
|
@@ -10226,30 +10226,30 @@ class le {
|
|
|
10226
10226
|
return ((t = s == null ? void 0 : s.rootView) === null || t === void 0 ? void 0 : t.view) || null;
|
|
10227
10227
|
}
|
|
10228
10228
|
}
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10229
|
+
re.styleModule = Yn;
|
|
10230
|
+
re.inputHandler = Rd;
|
|
10231
|
+
re.clipboardInputFilter = Aa;
|
|
10232
|
+
re.clipboardOutputFilter = Ea;
|
|
10233
|
+
re.scrollHandler = Ed;
|
|
10234
|
+
re.focusChangeEffect = Xd;
|
|
10235
|
+
re.perLineTextDirection = Vd;
|
|
10236
|
+
re.exceptionSink = Zd;
|
|
10237
|
+
re.updateListener = Go;
|
|
10238
|
+
re.editable = si;
|
|
10239
|
+
re.mouseSelectionStyle = Cd;
|
|
10240
|
+
re.dragMovesSelection = Td;
|
|
10241
|
+
re.clickAddsSelectionRange = kd;
|
|
10242
|
+
re.decorations = ts;
|
|
10243
|
+
re.outerDecorations = qd;
|
|
10244
|
+
re.atomicRanges = Ya;
|
|
10245
|
+
re.bidiIsolatedRanges = Ud;
|
|
10246
|
+
re.scrollMargins = Dd;
|
|
10247
|
+
re.darkTheme = Jo;
|
|
10248
|
+
re.cspNonce = /* @__PURE__ */ he.define({ combine: (n) => n.length ? n[0] : "" });
|
|
10249
|
+
re.contentAttributes = Ma;
|
|
10250
|
+
re.editorAttributes = Yd;
|
|
10251
|
+
re.lineWrapping = /* @__PURE__ */ re.contentAttributes.of({ class: "cm-lineWrapping" });
|
|
10252
|
+
re.announce = /* @__PURE__ */ xe.define();
|
|
10253
10253
|
const Vb = 4096, gh = {};
|
|
10254
10254
|
class Tr {
|
|
10255
10255
|
constructor(e, t, i, s, r, l) {
|
|
@@ -10299,7 +10299,7 @@ function Eb(n, e) {
|
|
|
10299
10299
|
function Us(n, e, t) {
|
|
10300
10300
|
return e.altKey && (n = "Alt-" + n), e.ctrlKey && (n = "Ctrl-" + n), e.metaKey && (n = "Meta-" + n), t !== !1 && e.shiftKey && (n = "Shift-" + n), n;
|
|
10301
10301
|
}
|
|
10302
|
-
const Mb = /* @__PURE__ */ Ti.default(/* @__PURE__ */
|
|
10302
|
+
const Mb = /* @__PURE__ */ Ti.default(/* @__PURE__ */ re.domEventHandlers({
|
|
10303
10303
|
keydown(n, e) {
|
|
10304
10304
|
return sO(nO(e.state), n, e, "editor");
|
|
10305
10305
|
}
|
|
@@ -10597,7 +10597,7 @@ const Ib = /* @__PURE__ */ lO({
|
|
|
10597
10597
|
}
|
|
10598
10598
|
};
|
|
10599
10599
|
oO && (na[".cm-line"].caretColor = na[".cm-content"].caretColor = "transparent !important");
|
|
10600
|
-
const Bb = /* @__PURE__ */ Ti.highest(/* @__PURE__ */
|
|
10600
|
+
const Bb = /* @__PURE__ */ Ti.highest(/* @__PURE__ */ re.theme(na)), uO = /* @__PURE__ */ xe.define({
|
|
10601
10601
|
map(n, e) {
|
|
10602
10602
|
return n == null ? null : e.mapPos(n);
|
|
10603
10603
|
}
|
|
@@ -10931,7 +10931,7 @@ function f1(n, e) {
|
|
|
10931
10931
|
}
|
|
10932
10932
|
function d1(n) {
|
|
10933
10933
|
let e = (n == null ? void 0 : n.eventFilter) || ((t) => t.altKey && t.button == 0);
|
|
10934
|
-
return
|
|
10934
|
+
return re.mouseSelectionStyle.of((t, i) => e(i) ? f1(t, i) : null);
|
|
10935
10935
|
}
|
|
10936
10936
|
const O1 = {
|
|
10937
10937
|
Alt: [18, (n) => !!n.altKey],
|
|
@@ -10962,7 +10962,7 @@ function m1(n = {}) {
|
|
|
10962
10962
|
});
|
|
10963
10963
|
return [
|
|
10964
10964
|
i,
|
|
10965
|
-
|
|
10965
|
+
re.contentAttributes.of((s) => {
|
|
10966
10966
|
var r;
|
|
10967
10967
|
return !((r = s.plugin(i)) === null || r === void 0) && r.isDown ? p1 : null;
|
|
10968
10968
|
})
|
|
@@ -11166,7 +11166,7 @@ function $h(n, e) {
|
|
|
11166
11166
|
let t = parseInt(n.style.left, 10);
|
|
11167
11167
|
(isNaN(t) || Math.abs(e - t) > 1) && (n.style.left = e + "px");
|
|
11168
11168
|
}
|
|
11169
|
-
const _1 = /* @__PURE__ */
|
|
11169
|
+
const _1 = /* @__PURE__ */ re.baseTheme({
|
|
11170
11170
|
".cm-tooltip": {
|
|
11171
11171
|
zIndex: 500,
|
|
11172
11172
|
boxSizing: "border-box"
|
|
@@ -11476,7 +11476,7 @@ const fO = /* @__PURE__ */ Ie.fromClass(class {
|
|
|
11476
11476
|
this.top.sync([]), this.bottom.sync([]);
|
|
11477
11477
|
}
|
|
11478
11478
|
}, {
|
|
11479
|
-
provide: (n) =>
|
|
11479
|
+
provide: (n) => re.scrollMargins.of((e) => {
|
|
11480
11480
|
let t = e.plugin(n);
|
|
11481
11481
|
return t && { top: t.top.scrollMargin(), bottom: t.bottom.scrollMargin() };
|
|
11482
11482
|
})
|
|
@@ -11646,7 +11646,7 @@ const T1 = /* @__PURE__ */ Ie.fromClass(class {
|
|
|
11646
11646
|
this.dom.remove();
|
|
11647
11647
|
}
|
|
11648
11648
|
}, {
|
|
11649
|
-
provide: (n) =>
|
|
11649
|
+
provide: (n) => re.scrollMargins.of((e) => {
|
|
11650
11650
|
let t = e.plugin(n);
|
|
11651
11651
|
return !t || t.gutters.length == 0 || !t.fixed ? null : e.textDirection == Ye.LTR ? { left: t.dom.offsetWidth * e.scaleX } : { right: t.dom.offsetWidth * e.scaleX };
|
|
11652
11652
|
})
|
|
@@ -14534,7 +14534,7 @@ const Al = typeof navigator < "u" && (!((Vl = navigator.scheduling) === null ||
|
|
|
14534
14534
|
enables: (n) => [
|
|
14535
14535
|
Et.state,
|
|
14536
14536
|
aQ,
|
|
14537
|
-
|
|
14537
|
+
re.contentAttributes.compute([n], (e) => {
|
|
14538
14538
|
let t = e.facet(n);
|
|
14539
14539
|
return t && t.name ? { "data-language": t.name } : {};
|
|
14540
14540
|
})
|
|
@@ -14884,7 +14884,7 @@ const Ii = /* @__PURE__ */ He.define({
|
|
|
14884
14884
|
}
|
|
14885
14885
|
return n;
|
|
14886
14886
|
},
|
|
14887
|
-
provide: (n) =>
|
|
14887
|
+
provide: (n) => re.decorations.from(n),
|
|
14888
14888
|
toJSON(n, e) {
|
|
14889
14889
|
let t = [];
|
|
14890
14890
|
return n.between(0, e.doc.length, (i, s) => {
|
|
@@ -14939,7 +14939,7 @@ const vQ = (n) => {
|
|
|
14939
14939
|
};
|
|
14940
14940
|
function RO(n, e, t = !0) {
|
|
14941
14941
|
let i = n.state.doc.lineAt(e.from).number, s = n.state.doc.lineAt(e.to).number;
|
|
14942
|
-
return
|
|
14942
|
+
return re.announce.of(`${n.state.phrase(t ? "Folded lines" : "Unfolded lines")} ${i} ${n.state.phrase("to")} ${s}.`);
|
|
14943
14943
|
}
|
|
14944
14944
|
const xQ = (n) => {
|
|
14945
14945
|
let { state: e } = n, t = [];
|
|
@@ -15062,7 +15062,7 @@ function CQ(n = {}) {
|
|
|
15062
15062
|
XO()
|
|
15063
15063
|
];
|
|
15064
15064
|
}
|
|
15065
|
-
const ZQ = /* @__PURE__ */
|
|
15065
|
+
const ZQ = /* @__PURE__ */ re.baseTheme({
|
|
15066
15066
|
".cm-foldPlaceholder": {
|
|
15067
15067
|
backgroundColor: "#eee",
|
|
15068
15068
|
border: "1px solid #ddd",
|
|
@@ -15123,7 +15123,7 @@ function Ml(n) {
|
|
|
15123
15123
|
}
|
|
15124
15124
|
function EO(n, e) {
|
|
15125
15125
|
let t = [XQ], i;
|
|
15126
|
-
return n instanceof vs && (n.module && t.push(
|
|
15126
|
+
return n instanceof vs && (n.module && t.push(re.styleModule.of(n.module)), i = n.themeType), e != null && e.fallback ? t.push(AO.of(n)) : i ? t.push(ca.computeN([re.darkTheme], (s) => s.facet(re.darkTheme) == (i == "dark") ? [n] : [])) : t.push(ca.of(n)), t;
|
|
15127
15127
|
}
|
|
15128
15128
|
class RQ {
|
|
15129
15129
|
constructor(e) {
|
|
@@ -15224,7 +15224,7 @@ const XQ = /* @__PURE__ */ Ti.high(/* @__PURE__ */ Ie.fromClass(RQ, {
|
|
|
15224
15224
|
tag: x.invalid,
|
|
15225
15225
|
color: "#f00"
|
|
15226
15226
|
}
|
|
15227
|
-
]), AQ = /* @__PURE__ */
|
|
15227
|
+
]), AQ = /* @__PURE__ */ re.baseTheme({
|
|
15228
15228
|
"&.cm-focused .cm-matchingBracket": { backgroundColor: "#328c8252" },
|
|
15229
15229
|
"&.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bb555544" }
|
|
15230
15230
|
}), MO = 1e4, YO = "()[]{}", qO = /* @__PURE__ */ he.define({
|
|
@@ -15257,7 +15257,7 @@ const qQ = /* @__PURE__ */ He.define({
|
|
|
15257
15257
|
}
|
|
15258
15258
|
return ge.set(t, !0);
|
|
15259
15259
|
},
|
|
15260
|
-
provide: (n) =>
|
|
15260
|
+
provide: (n) => re.decorations.from(n)
|
|
15261
15261
|
}), UQ = [
|
|
15262
15262
|
qQ,
|
|
15263
15263
|
AQ
|
|
@@ -15540,7 +15540,7 @@ function iy(n = {}) {
|
|
|
15540
15540
|
return [
|
|
15541
15541
|
WO,
|
|
15542
15542
|
LO.of(n),
|
|
15543
|
-
|
|
15543
|
+
re.domEventHandlers({
|
|
15544
15544
|
beforeinput(e, t) {
|
|
15545
15545
|
let i = e.inputType == "historyUndo" ? zO : e.inputType == "historyRedo" ? pa : null;
|
|
15546
15546
|
return i ? (e.preventDefault(), i(t)) : !1;
|
|
@@ -15755,7 +15755,7 @@ const KO = (n) => HO(n, !1), JO = (n) => HO(n, !0);
|
|
|
15755
15755
|
function ep(n) {
|
|
15756
15756
|
let e = n.scrollDOM.clientHeight < n.scrollDOM.scrollHeight - 2, t = 0, i = 0, s;
|
|
15757
15757
|
if (e) {
|
|
15758
|
-
for (let r of n.state.facet(
|
|
15758
|
+
for (let r of n.state.facet(re.scrollMargins)) {
|
|
15759
15759
|
let l = r(n);
|
|
15760
15760
|
l != null && l.top && (t = Math.max(l == null ? void 0 : l.top, t)), l != null && l.bottom && (i = Math.max(l == null ? void 0 : l.bottom, i));
|
|
15761
15761
|
}
|
|
@@ -15776,7 +15776,7 @@ function tp(n, e) {
|
|
|
15776
15776
|
let r;
|
|
15777
15777
|
if (t.selfScroll) {
|
|
15778
15778
|
let l = n.coordsAtPos(i.selection.main.head), o = n.scrollDOM.getBoundingClientRect(), a = o.top + t.marginTop, u = o.bottom - t.marginBottom;
|
|
15779
|
-
l && l.top > a && l.bottom < u && (r =
|
|
15779
|
+
l && l.top > a && l.bottom < u && (r = re.scrollIntoView(s.main.head, { y: "start", yMargin: l.top - a }));
|
|
15780
15780
|
}
|
|
15781
15781
|
return n.dispatch(ti(i, s), { effects: r }), !0;
|
|
15782
15782
|
}
|
|
@@ -15861,12 +15861,12 @@ function Ss(n, e) {
|
|
|
15861
15861
|
return s.changes.empty ? !1 : (n.dispatch(i.update(s, {
|
|
15862
15862
|
scrollIntoView: !0,
|
|
15863
15863
|
userEvent: t,
|
|
15864
|
-
effects: t == "delete.selection" ?
|
|
15864
|
+
effects: t == "delete.selection" ? re.announce.of(i.phrase("Selection deleted")) : void 0
|
|
15865
15865
|
})), !0);
|
|
15866
15866
|
}
|
|
15867
15867
|
function Bs(n, e, t) {
|
|
15868
|
-
if (n instanceof
|
|
15869
|
-
for (let i of n.state.facet(
|
|
15868
|
+
if (n instanceof re)
|
|
15869
|
+
for (let i of n.state.facet(re.atomicRanges).map((s) => s(n)))
|
|
15870
15870
|
i.between(e, e, (s, r) => {
|
|
15871
15871
|
s < e && r > e && (e = t ? r : s);
|
|
15872
15872
|
});
|
|
@@ -16348,7 +16348,7 @@ function _a(n) {
|
|
|
16348
16348
|
u && a && (d = d * (a == "-" ? -1 : 1) + o.number);
|
|
16349
16349
|
let p = l.doc.line(Math.max(1, Math.min(l.doc.lines, d))), v = I.cursor(p.from + Math.max(0, Math.min(f, p.length)));
|
|
16350
16350
|
n.dispatch({
|
|
16351
|
-
effects: [Gn.of(!1),
|
|
16351
|
+
effects: [Gn.of(!1), re.scrollIntoView(v.from, { y: "center" })],
|
|
16352
16352
|
selection: v
|
|
16353
16353
|
}), n.focus();
|
|
16354
16354
|
}
|
|
@@ -16371,7 +16371,7 @@ const Gn = /* @__PURE__ */ xe.define(), sc = /* @__PURE__ */ He.define({
|
|
|
16371
16371
|
n.state.field(sc, !1) == null && t.push(xe.appendConfig.of([sc, ov])), n.dispatch({ effects: t }), e = ns(n, _a);
|
|
16372
16372
|
}
|
|
16373
16373
|
return e && e.dom.querySelector("input").select(), !0;
|
|
16374
|
-
}, ov = /* @__PURE__ */
|
|
16374
|
+
}, ov = /* @__PURE__ */ re.baseTheme({
|
|
16375
16375
|
".cm-panel.cm-gotoLine": {
|
|
16376
16376
|
padding: "2px 6px 4px",
|
|
16377
16377
|
position: "relative",
|
|
@@ -16454,7 +16454,7 @@ const dv = /* @__PURE__ */ Ie.fromClass(class {
|
|
|
16454
16454
|
}
|
|
16455
16455
|
}, {
|
|
16456
16456
|
decorations: (n) => n.decorations
|
|
16457
|
-
}), Ov = /* @__PURE__ */
|
|
16457
|
+
}), Ov = /* @__PURE__ */ re.baseTheme({
|
|
16458
16458
|
".cm-selectionMatch": { backgroundColor: "#99ff7780" },
|
|
16459
16459
|
".cm-searchMatch .cm-selectionMatch": { backgroundColor: "transparent" }
|
|
16460
16460
|
}), pv = ({ state: n, dispatch: e }) => {
|
|
@@ -16489,7 +16489,7 @@ const gv = ({ state: n, dispatch: e }) => {
|
|
|
16489
16489
|
let s = mv(n, i);
|
|
16490
16490
|
return s ? (e(n.update({
|
|
16491
16491
|
selection: n.selection.addRange(I.range(s.from, s.to), !1),
|
|
16492
|
-
effects:
|
|
16492
|
+
effects: re.scrollIntoView(s.to)
|
|
16493
16493
|
})), !0) : !1;
|
|
16494
16494
|
}, xn = /* @__PURE__ */ he.define({
|
|
16495
16495
|
combine(n) {
|
|
@@ -16500,7 +16500,7 @@ const gv = ({ state: n, dispatch: e }) => {
|
|
|
16500
16500
|
regexp: !1,
|
|
16501
16501
|
wholeWord: !1,
|
|
16502
16502
|
createPanel: (e) => new Tv(e),
|
|
16503
|
-
scrollToMatch: (e) =>
|
|
16503
|
+
scrollToMatch: (e) => re.scrollIntoView(e)
|
|
16504
16504
|
});
|
|
16505
16505
|
}
|
|
16506
16506
|
});
|
|
@@ -16765,7 +16765,7 @@ const Lr = /* @__PURE__ */ xs((n, { query: e }) => {
|
|
|
16765
16765
|
if (!r)
|
|
16766
16766
|
return !1;
|
|
16767
16767
|
let l = r, o = [], a, u, h = [];
|
|
16768
|
-
if (l.from == i && l.to == s && (u = t.toText(e.getReplacement(l)), o.push({ from: l.from, to: l.to, insert: u }), l = e.nextMatch(t, l.from, l.to), h.push(
|
|
16768
|
+
if (l.from == i && l.to == s && (u = t.toText(e.getReplacement(l)), o.push({ from: l.from, to: l.to, insert: u }), l = e.nextMatch(t, l.from, l.to), h.push(re.announce.of(t.phrase("replaced match on line $", t.doc.lineAt(i).number) + "."))), l) {
|
|
16769
16769
|
let c = o.length == 0 || o[0].from >= r.to ? 0 : r.to - r.from - u.length;
|
|
16770
16770
|
a = I.single(l.from - c, l.to - c), h.push(lu(n, l)), h.push(t.facet(xn).scrollToMatch(a.main, n));
|
|
16771
16771
|
}
|
|
@@ -16787,7 +16787,7 @@ const Lr = /* @__PURE__ */ xs((n, { query: e }) => {
|
|
|
16787
16787
|
let i = n.state.phrase("replaced $ matches", t.length) + ".";
|
|
16788
16788
|
return n.dispatch({
|
|
16789
16789
|
changes: t,
|
|
16790
|
-
effects:
|
|
16790
|
+
effects: re.announce.of(i),
|
|
16791
16791
|
userEvent: "input.replace.all"
|
|
16792
16792
|
}), !0;
|
|
16793
16793
|
});
|
|
@@ -16963,9 +16963,9 @@ function lu(n, { from: e, to: t }) {
|
|
|
16963
16963
|
break;
|
|
16964
16964
|
}
|
|
16965
16965
|
}
|
|
16966
|
-
return
|
|
16966
|
+
return re.announce.of(`${n.state.phrase("current match")}. ${o} ${n.state.phrase("on line")} ${i.number}.`);
|
|
16967
16967
|
}
|
|
16968
|
-
const Cv = /* @__PURE__ */
|
|
16968
|
+
const Cv = /* @__PURE__ */ re.baseTheme({
|
|
16969
16969
|
".cm-panel.cm-search": {
|
|
16970
16970
|
padding: "2px 6px 4px",
|
|
16971
16971
|
position: "relative",
|
|
@@ -17682,7 +17682,7 @@ const uu = /* @__PURE__ */ xe.define({
|
|
|
17682
17682
|
},
|
|
17683
17683
|
provide: (n) => [
|
|
17684
17684
|
za.from(n, (e) => e.tooltip),
|
|
17685
|
-
|
|
17685
|
+
re.contentAttributes.from(n, (e) => e.attrs)
|
|
17686
17686
|
]
|
|
17687
17687
|
});
|
|
17688
17688
|
function hu(n, e) {
|
|
@@ -17819,7 +17819,7 @@ const Kv = 50, Jv = 1e3, eS = /* @__PURE__ */ Ie.fromClass(class {
|
|
|
17819
17819
|
this.composing == 3 && setTimeout(() => this.view.dispatch({ effects: zr.of(!1) }), 20), this.composing = 0;
|
|
17820
17820
|
}
|
|
17821
17821
|
}
|
|
17822
|
-
}), tS = typeof navigator == "object" && /* @__PURE__ */ /Win/.test(navigator.platform), iS = /* @__PURE__ */ Ti.highest(/* @__PURE__ */
|
|
17822
|
+
}), tS = typeof navigator == "object" && /* @__PURE__ */ /Win/.test(navigator.platform), iS = /* @__PURE__ */ Ti.highest(/* @__PURE__ */ re.domEventHandlers({
|
|
17823
17823
|
keydown(n, e) {
|
|
17824
17824
|
let t = e.state.field(Ot, !1);
|
|
17825
17825
|
if (!t || !t.open || t.open.disabled || t.open.selected < 0 || n.key.length > 1 || n.ctrlKey && !(tS && n.altKey) || n.metaKey)
|
|
@@ -17827,7 +17827,7 @@ const Kv = 50, Jv = 1e3, eS = /* @__PURE__ */ Ie.fromClass(class {
|
|
|
17827
17827
|
let i = t.open.options[t.open.selected], s = t.active.find((l) => l.source == i.source), r = i.completion.commitCharacters || s.result.commitCharacters;
|
|
17828
17828
|
return r && r.indexOf(n.key) > -1 && hu(e, i), !1;
|
|
17829
17829
|
}
|
|
17830
|
-
})), Xp = /* @__PURE__ */
|
|
17830
|
+
})), Xp = /* @__PURE__ */ re.baseTheme({
|
|
17831
17831
|
".cm-tooltip.cm-tooltip-autocomplete": {
|
|
17832
17832
|
"& > ul": {
|
|
17833
17833
|
fontFamily: "monospace",
|
|
@@ -18053,7 +18053,7 @@ const ws = /* @__PURE__ */ xe.define({
|
|
|
18053
18053
|
}
|
|
18054
18054
|
return n && e.docChanged && (n = n.map(e.changes)), n && e.selection && !n.selectionInsideField(e.selection) && (n = null), n;
|
|
18055
18055
|
},
|
|
18056
|
-
provide: (n) =>
|
|
18056
|
+
provide: (n) => re.decorations.from(n, (e) => e ? e.deco : ge.none)
|
|
18057
18057
|
});
|
|
18058
18058
|
function du(n, e) {
|
|
18059
18059
|
return I.create(n.filter((t) => t.field == e).map((t) => I.range(t.from, t.to)));
|
|
@@ -18097,7 +18097,7 @@ const aS = ({ state: n, dispatch: e }) => n.field(hs, !1) ? (e(n.update({ effect
|
|
|
18097
18097
|
function Ne(n, e) {
|
|
18098
18098
|
return Object.assign(Object.assign({}, e), { apply: oS(n) });
|
|
18099
18099
|
}
|
|
18100
|
-
const dS = /* @__PURE__ */
|
|
18100
|
+
const dS = /* @__PURE__ */ re.domEventHandlers({
|
|
18101
18101
|
mousedown(n, e) {
|
|
18102
18102
|
let t = e.state.field(hs, !1), i;
|
|
18103
18103
|
if (!t || (i = e.posAtCoords({ x: n.clientX, y: n.clientY })) == null)
|
|
@@ -18149,7 +18149,7 @@ function Ep(n) {
|
|
|
18149
18149
|
function Mp(n, e) {
|
|
18150
18150
|
return n.languageDataAt("closeBrackets", e)[0] || cs;
|
|
18151
18151
|
}
|
|
18152
|
-
const pS = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), mS = /* @__PURE__ */
|
|
18152
|
+
const pS = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), mS = /* @__PURE__ */ re.inputHandler.of((n, e, t, i) => {
|
|
18153
18153
|
if ((pS ? n.composing : n.compositionStarted) || n.state.readOnly)
|
|
18154
18154
|
return !1;
|
|
18155
18155
|
let s = n.state.selection.main;
|
|
@@ -18425,7 +18425,7 @@ const Up = /* @__PURE__ */ xe.define(), pu = /* @__PURE__ */ xe.define(), Dp = /
|
|
|
18425
18425
|
},
|
|
18426
18426
|
provide: (n) => [
|
|
18427
18427
|
ss.from(n, (e) => e.panel),
|
|
18428
|
-
|
|
18428
|
+
re.decorations.from(n, (e) => e.diagnostics)
|
|
18429
18429
|
]
|
|
18430
18430
|
}), TS = /* @__PURE__ */ ge.mark({ class: "cm-lintRange cm-lintRange-active" });
|
|
18431
18431
|
function CS(n, e, t) {
|
|
@@ -18652,7 +18652,7 @@ function ES(n, e = 'viewBox="0 0 40 40"') {
|
|
|
18652
18652
|
function Hs(n) {
|
|
18653
18653
|
return ES(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${n}" fill="none" stroke-width=".7"/>`, 'width="6" height="3"');
|
|
18654
18654
|
}
|
|
18655
|
-
const MS = /* @__PURE__ */
|
|
18655
|
+
const MS = /* @__PURE__ */ re.baseTheme({
|
|
18656
18656
|
".cm-diagnostic": {
|
|
18657
18657
|
padding: "3px 6px 3px 8px",
|
|
18658
18658
|
marginLeft: "-1px",
|
|
@@ -18756,7 +18756,7 @@ function qS(n) {
|
|
|
18756
18756
|
}
|
|
18757
18757
|
const US = [
|
|
18758
18758
|
yt,
|
|
18759
|
-
/* @__PURE__ */
|
|
18759
|
+
/* @__PURE__ */ re.decorations.compute([yt], (n) => {
|
|
18760
18760
|
let { selected: e, panel: t } = n.field(yt);
|
|
18761
18761
|
return !e || !t || e.from == e.to ? ge.none : ge.set([
|
|
18762
18762
|
TS.range(e.from, e.to)
|
|
@@ -20511,7 +20511,7 @@ function Tc(n, e, t = n.length) {
|
|
|
20511
20511
|
return n.sliceString(i.from, Math.min(i.to, t));
|
|
20512
20512
|
return "";
|
|
20513
20513
|
}
|
|
20514
|
-
const Xx = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), Vx = /* @__PURE__ */
|
|
20514
|
+
const Xx = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), Vx = /* @__PURE__ */ re.inputHandler.of((n, e, t, i, s) => {
|
|
20515
20515
|
if ((Xx ? n.composing : n.compositionStarted) || n.state.readOnly || e != t || i != ">" && i != "/" || !Zt.isActiveAt(n.state, e, -1))
|
|
20516
20516
|
return !1;
|
|
20517
20517
|
let r = s(), { state: l } = r, o = l.changeByRange((a) => {
|
|
@@ -20538,7 +20538,7 @@ const Xx = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
20538
20538
|
r,
|
|
20539
20539
|
l.update(o, { userEvent: "input.complete", scrollIntoView: !0 })
|
|
20540
20540
|
]), !0);
|
|
20541
|
-
}), Ax = "#002b36", Ex = "#073642", Bl = "#586e75", Cc = "#657b83", sm = "#839496", va = "#93a1a1", br = "#eee8d5", Mx = "#fdf6e3", Ks = "#dc322f", Yx = "#cb4b16", Xn = "#b58900", Nl = "#859900", Gl = "#2aa198", Zc = "#268bd2", qx = "#6c71c4", Js = "#d33682", Rc = "#d30102", Ux = sm, Xc = "#00252f", Fl = "#173541", Dx = Ax, Hl = Ex, Lx = "#173541", Vc = sm, Wx = /* @__PURE__ */
|
|
20541
|
+
}), Ax = "#002b36", Ex = "#073642", Bl = "#586e75", Cc = "#657b83", sm = "#839496", va = "#93a1a1", br = "#eee8d5", Mx = "#fdf6e3", Ks = "#dc322f", Yx = "#cb4b16", Xn = "#b58900", Nl = "#859900", Gl = "#2aa198", Zc = "#268bd2", qx = "#6c71c4", Js = "#d33682", Rc = "#d30102", Ux = sm, Xc = "#00252f", Fl = "#173541", Dx = Ax, Hl = Ex, Lx = "#173541", Vc = sm, Wx = /* @__PURE__ */ re.theme({
|
|
20542
20542
|
"&": {
|
|
20543
20543
|
color: va,
|
|
20544
20544
|
backgroundColor: Dx
|
|
@@ -23110,7 +23110,7 @@ function nP(n = {}) {
|
|
|
23110
23110
|
um().support
|
|
23111
23111
|
]);
|
|
23112
23112
|
}
|
|
23113
|
-
const lf = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), sP = /* @__PURE__ */
|
|
23113
|
+
const lf = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), sP = /* @__PURE__ */ re.inputHandler.of((n, e, t, i, s) => {
|
|
23114
23114
|
if (n.composing || n.state.readOnly || e != t || i != ">" && i != "/" || !yr.isActiveAt(n.state, e, -1))
|
|
23115
23115
|
return !1;
|
|
23116
23116
|
let r = s(), { state: l } = r, o = l.changeByRange((a) => {
|
|
@@ -25045,8 +25045,8 @@ const mP = { class: "code-slot" }, gP = { class: "code-slot" }, _P = { class: "e
|
|
|
25045
25045
|
const f = [
|
|
25046
25046
|
DS,
|
|
25047
25047
|
jx,
|
|
25048
|
-
|
|
25049
|
-
|
|
25048
|
+
re.lineWrapping,
|
|
25049
|
+
re.updateListener.of((p) => {
|
|
25050
25050
|
p.docChanged && e("update:modelValue", p.state.doc.toString());
|
|
25051
25051
|
})
|
|
25052
25052
|
], d = t.language;
|
|
@@ -25063,50 +25063,50 @@ const mP = { class: "code-slot" }, gP = { class: "code-slot" }, _P = { class: "e
|
|
|
25063
25063
|
))), o = Te.create({
|
|
25064
25064
|
doc: t.modelValue,
|
|
25065
25065
|
extensions: f
|
|
25066
|
-
}), o && (l = new
|
|
25066
|
+
}), o && (l = new re({
|
|
25067
25067
|
state: o,
|
|
25068
25068
|
parent: r.value
|
|
25069
25069
|
}));
|
|
25070
|
-
}), (f, d) => (
|
|
25070
|
+
}), (f, d) => (A(), F("div", {
|
|
25071
25071
|
class: "yh-code-mirror-container",
|
|
25072
25072
|
ref_key: "YhCodemirrorContainer",
|
|
25073
25073
|
ref: i,
|
|
25074
25074
|
style: lt(O(u))
|
|
25075
25075
|
}, [
|
|
25076
|
-
|
|
25076
|
+
V("div", mP, [
|
|
25077
25077
|
ri(f.$slots, "pre-code")
|
|
25078
25078
|
]),
|
|
25079
|
-
|
|
25079
|
+
V("div", {
|
|
25080
25080
|
class: "codemirror-editor",
|
|
25081
25081
|
ref_key: "codeMirrorEditorRef",
|
|
25082
25082
|
ref: r,
|
|
25083
25083
|
style: lt(O(h))
|
|
25084
25084
|
}, null, 4),
|
|
25085
|
-
|
|
25085
|
+
V("div", gP, [
|
|
25086
25086
|
ri(f.$slots, "next-code")
|
|
25087
25087
|
]),
|
|
25088
|
-
|
|
25089
|
-
|
|
25088
|
+
V("div", _P, [
|
|
25089
|
+
V("i", {
|
|
25090
25090
|
title: "全屏",
|
|
25091
25091
|
class: "iconfont icon-fullscreen",
|
|
25092
25092
|
onClick: s
|
|
25093
25093
|
}),
|
|
25094
|
-
|
|
25094
|
+
V("i", {
|
|
25095
25095
|
title: "美化",
|
|
25096
25096
|
class: "iconfont icon-magic-stick",
|
|
25097
25097
|
onClick: d[0] || (d[0] = (p) => c("beautify"))
|
|
25098
25098
|
}),
|
|
25099
|
-
|
|
25099
|
+
V("i", {
|
|
25100
25100
|
title: "全选",
|
|
25101
25101
|
class: "iconfont icon-check-square",
|
|
25102
25102
|
onClick: d[1] || (d[1] = (p) => c("checkAll"))
|
|
25103
25103
|
}),
|
|
25104
|
-
|
|
25104
|
+
V("i", {
|
|
25105
25105
|
title: "复制",
|
|
25106
25106
|
class: "iconfont icon-document-copy",
|
|
25107
25107
|
onClick: d[2] || (d[2] = (p) => c("copy"))
|
|
25108
25108
|
}),
|
|
25109
|
-
|
|
25109
|
+
V("i", {
|
|
25110
25110
|
title: "清空",
|
|
25111
25111
|
class: "iconfont icon-clear",
|
|
25112
25112
|
onClick: d[3] || (d[3] = (p) => c("clear"))
|
|
@@ -25116,7 +25116,7 @@ const mP = { class: "code-slot" }, gP = { class: "code-slot" }, _P = { class: "e
|
|
|
25116
25116
|
], 4));
|
|
25117
25117
|
}
|
|
25118
25118
|
});
|
|
25119
|
-
const bP = /* @__PURE__ */
|
|
25119
|
+
const bP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-xiala" }, null, -1), Rf = /* @__PURE__ */ Be({
|
|
25120
25120
|
__name: "chooseColorButton",
|
|
25121
25121
|
props: {
|
|
25122
25122
|
modelValue: null
|
|
@@ -25131,7 +25131,7 @@ const bP = /* @__PURE__ */ A("i", { class: "yhreport-icon report-xiala" }, null,
|
|
|
25131
25131
|
}, s = (r) => {
|
|
25132
25132
|
e("update:modelValue", r), e("change", r);
|
|
25133
25133
|
};
|
|
25134
|
-
return (r, l) => (
|
|
25134
|
+
return (r, l) => (A(), te(O(ke), tl(r.$attrs, {
|
|
25135
25135
|
class: "yh-report-choose-color-button",
|
|
25136
25136
|
onClick: i
|
|
25137
25137
|
}), {
|
|
@@ -25164,7 +25164,7 @@ const Fi = /* @__PURE__ */ Be({
|
|
|
25164
25164
|
}, r = (l) => {
|
|
25165
25165
|
e("update:modelValue", l), e("change", l);
|
|
25166
25166
|
};
|
|
25167
|
-
return (l, o) => (
|
|
25167
|
+
return (l, o) => (A(), te(O(ke), tl(l.$attrs, {
|
|
25168
25168
|
type: O(i) ? "primary" : "",
|
|
25169
25169
|
onClick: s
|
|
25170
25170
|
}), {
|
|
@@ -25188,7 +25188,7 @@ const Fi = /* @__PURE__ */ Be({
|
|
|
25188
25188
|
};
|
|
25189
25189
|
return (r, l) => {
|
|
25190
25190
|
const o = ce("el-popover");
|
|
25191
|
-
return
|
|
25191
|
+
return A(), te(o, {
|
|
25192
25192
|
placement: "bottom-end",
|
|
25193
25193
|
width: "200"
|
|
25194
25194
|
}, {
|
|
@@ -25204,7 +25204,7 @@ const Fi = /* @__PURE__ */ Be({
|
|
|
25204
25204
|
}, 16, ["type"])
|
|
25205
25205
|
]),
|
|
25206
25206
|
default: Q(() => [
|
|
25207
|
-
|
|
25207
|
+
V("div", QP, [
|
|
25208
25208
|
ri(r.$slots, "option")
|
|
25209
25209
|
])
|
|
25210
25210
|
]),
|
|
@@ -25213,9 +25213,9 @@ const Fi = /* @__PURE__ */ Be({
|
|
|
25213
25213
|
};
|
|
25214
25214
|
}
|
|
25215
25215
|
});
|
|
25216
|
-
const yP = /* @__PURE__ */
|
|
25217
|
-
/* @__PURE__ */
|
|
25218
|
-
], -1), vP = /* @__PURE__ */
|
|
25216
|
+
const yP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
|
|
25217
|
+
/* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "单元格")
|
|
25218
|
+
], -1), vP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-text" }, null, -1), SP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-zitibeijingse" }, null, -1), xP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-zitijiacu" }, null, -1), wP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-border" }, null, -1), $P = ["onClick"], PP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-align-left" }, null, -1), kP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-align-center" }, null, -1), TP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-align-right" }, null, -1), CP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-horizontal-top" }, null, -1), ZP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-horizontal-center" }, null, -1), RP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-horizontal-bottom" }, null, -1), XP = /* @__PURE__ */ V("br", null, null, -1), VP = /* @__PURE__ */ V("br", null, null, -1), AP = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "字符串模板", -1), EP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-text" }, null, -1), MP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-number" }, null, -1), YP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-currency" }, null, -1), qP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-scientific-notation" }, null, -1), UP = /* @__PURE__ */ V("i", { class: "yhreport-icon report-datetime" }, null, -1), DP = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "自定义渲染函数", -1), LP = /* @__PURE__ */ V("br", null, null, -1), WP = { class: "statement-option-title" }, zP = /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "行设置", -1), jP = { class: "statement-option-title" }, IP = /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "激活列", -1), BP = /* @__PURE__ */ Be({
|
|
25219
25219
|
__name: "cellEditor",
|
|
25220
25220
|
setup(n) {
|
|
25221
25221
|
const e = xt(), { active: t, activeIndex: i, activeCells: s, activeTable: r, activeTableIndex: l, activeTableMergeCells: o, isOneCell: a, activeCell: u, allTextCell: h, activeCols: c, activeRows: f, isOneRow: d, activeRow: p, isOneCol: v, activeCol: _ } = St(e), m = be(() => l.value !== null && l.value > -1);
|
|
@@ -25229,10 +25229,10 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25229
25229
|
q.forEach((M, ee) => {
|
|
25230
25230
|
if ((M.row !== j || M.col !== ee) && (M.row = j, M.col = ee, W = !0), M.rowSpan > 1 || M.colSpan > 1) {
|
|
25231
25231
|
let L = `${M.row}-${M.col}`, Z = [M.row, M.col];
|
|
25232
|
-
for (let
|
|
25232
|
+
for (let le = M.row; le < M.row + M.rowSpan; le++)
|
|
25233
25233
|
for (let Se = M.col; Se < M.col + M.colSpan; Se++) {
|
|
25234
|
-
let gl = `${
|
|
25235
|
-
C[gl] = Z, B[L] || (B[L] = []), B[L].push(gl), r.value && (
|
|
25234
|
+
let gl = `${le}-${Se}`;
|
|
25235
|
+
C[gl] = Z, B[L] || (B[L] = []), B[L].push(gl), r.value && (le > M.row || Se > M.col) && (W = !0, r.value.config[le][Se].colSpan = 0, r.value.config[le][Se].rowSpan = 0);
|
|
25236
25236
|
}
|
|
25237
25237
|
}
|
|
25238
25238
|
});
|
|
@@ -25328,18 +25328,18 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25328
25328
|
W.add(Z.col), C.add(Z.row);
|
|
25329
25329
|
}), Array.from(W).forEach((Z) => {
|
|
25330
25330
|
var Se;
|
|
25331
|
-
let
|
|
25332
|
-
|
|
25331
|
+
let le = (Se = r.value) == null ? void 0 : Se.colConfig[Z];
|
|
25332
|
+
le && le.isFixed;
|
|
25333
25333
|
}), Array.from(C).forEach((Z) => {
|
|
25334
25334
|
var Se;
|
|
25335
|
-
let
|
|
25336
|
-
|
|
25335
|
+
let le = (Se = r.value) == null ? void 0 : Se.colConfig[Z];
|
|
25336
|
+
le && le.isFixed;
|
|
25337
25337
|
});
|
|
25338
25338
|
const B = Math.min(...W), q = Math.min(...C), j = Math.max(...W), M = Math.max(...C), ee = j - B + 1, L = M - q + 1;
|
|
25339
25339
|
for (let Z = q; Z <= M; Z++)
|
|
25340
|
-
for (let
|
|
25341
|
-
const Se = r.value.config[Z][
|
|
25342
|
-
Z === q &&
|
|
25340
|
+
for (let le = B; le <= j; le++) {
|
|
25341
|
+
const Se = r.value.config[Z][le];
|
|
25342
|
+
Z === q && le === B ? (Se.colSpan = ee, Se.rowSpan = L) : (Se.colSpan = 0, Se.rowSpan = 0, Se.mergeTarget = [q, B]);
|
|
25343
25343
|
}
|
|
25344
25344
|
s.value = [
|
|
25345
25345
|
{
|
|
@@ -25367,8 +25367,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25367
25367
|
}), W.forEach((C) => {
|
|
25368
25368
|
const { row: B, col: q, rowSpan: j, colSpan: M } = C, ee = B + j - 1, L = q + M - 1;
|
|
25369
25369
|
for (let Z = B; Z <= ee; Z++)
|
|
25370
|
-
for (let
|
|
25371
|
-
const Se = r.value.config[Z][
|
|
25370
|
+
for (let le = q; le <= L; le++) {
|
|
25371
|
+
const Se = r.value.config[Z][le];
|
|
25372
25372
|
Se.colSpan = 1, Se.rowSpan = 1, Se.mergeTarget = void 0;
|
|
25373
25373
|
}
|
|
25374
25374
|
});
|
|
@@ -25434,8 +25434,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25434
25434
|
const q = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Map();
|
|
25435
25435
|
h.value = !0, B.forEach((ee) => {
|
|
25436
25436
|
ee && (q.add(ee.col), j.add(ee.row), ee.type && ![pe.TEXT, pe.FIELD].includes(ee.type) && (h.value = !1), Object.entries(ee).forEach(([L, Z]) => {
|
|
25437
|
-
L !== "style" ? (M.get(L) || M.set(L, /* @__PURE__ */ new Set()), M.get(L).add(Z)) : L === "style" && Object.entries(Z).forEach(([
|
|
25438
|
-
M.get(
|
|
25437
|
+
L !== "style" ? (M.get(L) || M.set(L, /* @__PURE__ */ new Set()), M.get(L).add(Z)) : L === "style" && Object.entries(Z).forEach(([le, Se]) => {
|
|
25438
|
+
M.get(le) || M.set(le, /* @__PURE__ */ new Set()), M.get(le).add(Se);
|
|
25439
25439
|
});
|
|
25440
25440
|
}));
|
|
25441
25441
|
}), h.value && Object.entries(E).forEach(([ee, L]) => {
|
|
@@ -25515,8 +25515,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25515
25515
|
r.value.config.forEach((q, j) => {
|
|
25516
25516
|
q.forEach((M, ee) => {
|
|
25517
25517
|
if (M.row = j, M.col = ee, (M.rowSpan > 1 || M.colSpan > 1) && (W[`${M.row}-${M.col}`] = [j, ee]), (M.rowSpan == 0 || M.colSpan == 0) && M.mergeTarget && M.mergeTarget.length === 2) {
|
|
25518
|
-
let [L, Z] = M.mergeTarget,
|
|
25519
|
-
M.mergeTarget = W[
|
|
25518
|
+
let [L, Z] = M.mergeTarget, le = `${L}-${Z}`;
|
|
25519
|
+
M.mergeTarget = W[le];
|
|
25520
25520
|
} else
|
|
25521
25521
|
(M.rowSpan == 0 || M.colSpan == 0) && (!M.mergeTarget || M.mergeTarget.length !== 2) && (C = !0, B.push(M));
|
|
25522
25522
|
});
|
|
@@ -25554,8 +25554,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25554
25554
|
C <= L ? Z.colSpan -= B : Z.colSpan -= L - W + 1;
|
|
25555
25555
|
} else if (W <= M && C >= M)
|
|
25556
25556
|
for (let Z = j; Z <= ee; Z++)
|
|
25557
|
-
for (let
|
|
25558
|
-
const Se = r.value.config[Z][
|
|
25557
|
+
for (let le = M; le <= L; le++) {
|
|
25558
|
+
const Se = r.value.config[Z][le];
|
|
25559
25559
|
Se.rowSpan = 1, Se.colSpan = 1, Se.mergeTarget = void 0;
|
|
25560
25560
|
}
|
|
25561
25561
|
}), r.value.colConfig.splice(W, B), r.value.config.forEach((j) => {
|
|
@@ -25616,8 +25616,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25616
25616
|
C <= ee ? Z.rowSpan -= B : Z.rowSpan -= ee - W + 1;
|
|
25617
25617
|
} else if (W <= j && C >= j)
|
|
25618
25618
|
for (let Z = j; Z <= ee; Z++)
|
|
25619
|
-
for (let
|
|
25620
|
-
const Se = r.value.config[Z][
|
|
25619
|
+
for (let le = M; le <= L; le++) {
|
|
25620
|
+
const Se = r.value.config[Z][le];
|
|
25621
25621
|
Se.rowSpan = 1, Se.colSpan = 1, Se.mergeTarget = void 0;
|
|
25622
25622
|
}
|
|
25623
25623
|
}), r.value.rowConfig.splice(W, B), r.value.config.splice(W, B), s.value = [], ae();
|
|
@@ -25674,8 +25674,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25674
25674
|
}
|
|
25675
25675
|
), (W, C) => {
|
|
25676
25676
|
const B = ce("el-button-group"), q = ce("el-col"), j = ce("el-input-number"), M = ce("el-option"), ee = ce("el-select"), L = ce("el-tooltip");
|
|
25677
|
-
return
|
|
25678
|
-
O(s) && O(s).length ? (
|
|
25677
|
+
return A(), F(ne, null, [
|
|
25678
|
+
O(s) && O(s).length ? (A(), F(ne, { key: 0 }, [
|
|
25679
25679
|
b(B, { class: "report-button-group" }, {
|
|
25680
25680
|
default: Q(() => [
|
|
25681
25681
|
b(O(ke), {
|
|
@@ -25693,8 +25693,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25693
25693
|
]),
|
|
25694
25694
|
_: 1
|
|
25695
25695
|
}),
|
|
25696
|
-
|
|
25697
|
-
key: 0,
|
|
25696
|
+
b(O(ke), {
|
|
25698
25697
|
disabled: O(k),
|
|
25699
25698
|
onClick: g
|
|
25700
25699
|
}, {
|
|
@@ -25702,9 +25701,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25702
25701
|
Y(" 合并表格 ")
|
|
25703
25702
|
]),
|
|
25704
25703
|
_: 1
|
|
25705
|
-
}, 8, ["disabled"])
|
|
25706
|
-
|
|
25707
|
-
key: 1,
|
|
25704
|
+
}, 8, ["disabled"]),
|
|
25705
|
+
b(O(ke), {
|
|
25708
25706
|
disabled: O(R),
|
|
25709
25707
|
onClick: P
|
|
25710
25708
|
}, {
|
|
@@ -25712,7 +25710,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25712
25710
|
Y(" 拆分表格 ")
|
|
25713
25711
|
]),
|
|
25714
25712
|
_: 1
|
|
25715
|
-
}, 8, ["disabled"])
|
|
25713
|
+
}, 8, ["disabled"]),
|
|
25716
25714
|
b(O(ke), {
|
|
25717
25715
|
onClick: X,
|
|
25718
25716
|
disabled: O(s).length === 0
|
|
@@ -25767,7 +25765,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25767
25765
|
]),
|
|
25768
25766
|
_: 1
|
|
25769
25767
|
}),
|
|
25770
|
-
O(w) ?
|
|
25768
|
+
O(w) ? oe("", !0) : (A(), te(O(nt), {
|
|
25771
25769
|
key: 0,
|
|
25772
25770
|
label: "field"
|
|
25773
25771
|
}, {
|
|
@@ -25791,7 +25789,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25791
25789
|
]),
|
|
25792
25790
|
_: 1
|
|
25793
25791
|
}),
|
|
25794
|
-
O(T) ? (
|
|
25792
|
+
O(T) ? (A(), F(ne, { key: 0 }, [
|
|
25795
25793
|
b(B, { class: "report-font-style-button-group" }, {
|
|
25796
25794
|
default: Q(() => [
|
|
25797
25795
|
b(Rf, {
|
|
@@ -25856,7 +25854,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25856
25854
|
}, null, 8, ["modelValue"])
|
|
25857
25855
|
]),
|
|
25858
25856
|
default: Q(() => [
|
|
25859
|
-
|
|
25857
|
+
V("i", {
|
|
25860
25858
|
class: "yhreport-icon report-fontSize",
|
|
25861
25859
|
style: lt({ fontSize: y.fontSize + "px" })
|
|
25862
25860
|
}, null, 4)
|
|
@@ -25865,14 +25863,14 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25865
25863
|
}),
|
|
25866
25864
|
b(lr, null, {
|
|
25867
25865
|
option: Q(() => [
|
|
25868
|
-
(
|
|
25866
|
+
(A(!0), F(ne, null, Re(O(Q_), (Z, le) => (A(), F("div", {
|
|
25869
25867
|
class: "select-button-item",
|
|
25870
25868
|
onClick: (Se) => _e(Z.value),
|
|
25871
25869
|
style: lt(`font-family: ${Z.value}`)
|
|
25872
25870
|
}, qe(Z.label), 13, $P))), 256))
|
|
25873
25871
|
]),
|
|
25874
25872
|
default: Q(() => [
|
|
25875
|
-
|
|
25873
|
+
V("span", {
|
|
25876
25874
|
style: lt({ fontFamily: y.fontFamily })
|
|
25877
25875
|
}, "字体", 4)
|
|
25878
25876
|
]),
|
|
@@ -25880,21 +25878,21 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25880
25878
|
}),
|
|
25881
25879
|
b(lr, null, {
|
|
25882
25880
|
option: Q(() => [
|
|
25883
|
-
|
|
25881
|
+
V("div", {
|
|
25884
25882
|
class: "select-button-item",
|
|
25885
25883
|
onClick: C[12] || (C[12] = (Z) => J("left", "cell", "style.textAlign", "textAlign"))
|
|
25886
25884
|
}, [
|
|
25887
25885
|
PP,
|
|
25888
25886
|
Y(" 左对齐 ")
|
|
25889
25887
|
]),
|
|
25890
|
-
|
|
25888
|
+
V("div", {
|
|
25891
25889
|
class: "select-button-item",
|
|
25892
25890
|
onClick: C[13] || (C[13] = (Z) => J("center", "cell", "style.textAlign", "textAlign"))
|
|
25893
25891
|
}, [
|
|
25894
25892
|
kP,
|
|
25895
25893
|
Y(" 居中对齐 ")
|
|
25896
25894
|
]),
|
|
25897
|
-
|
|
25895
|
+
V("div", {
|
|
25898
25896
|
class: "select-button-item",
|
|
25899
25897
|
onClick: C[14] || (C[14] = (Z) => J("right", "cell", "style.textAlign", "textAlign"))
|
|
25900
25898
|
}, [
|
|
@@ -25903,7 +25901,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25903
25901
|
])
|
|
25904
25902
|
]),
|
|
25905
25903
|
default: Q(() => [
|
|
25906
|
-
|
|
25904
|
+
V("i", {
|
|
25907
25905
|
class: vt(`yhreport-icon report-align-${y.textAlign || "left"}`)
|
|
25908
25906
|
}, null, 2)
|
|
25909
25907
|
]),
|
|
@@ -25911,21 +25909,21 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25911
25909
|
}),
|
|
25912
25910
|
b(lr, null, {
|
|
25913
25911
|
option: Q(() => [
|
|
25914
|
-
|
|
25912
|
+
V("div", {
|
|
25915
25913
|
class: "select-button-item",
|
|
25916
25914
|
onClick: C[15] || (C[15] = (Z) => J("top", "cell", "style.verticalAlign", "verticalAlign"))
|
|
25917
25915
|
}, [
|
|
25918
25916
|
CP,
|
|
25919
25917
|
Y(" 顶部对齐 ")
|
|
25920
25918
|
]),
|
|
25921
|
-
|
|
25919
|
+
V("div", {
|
|
25922
25920
|
class: "select-button-item",
|
|
25923
25921
|
onClick: C[16] || (C[16] = (Z) => J("center", "cell", "style.verticalAlign", "verticalAlign"))
|
|
25924
25922
|
}, [
|
|
25925
25923
|
ZP,
|
|
25926
25924
|
Y(" 垂直居中 ")
|
|
25927
25925
|
]),
|
|
25928
|
-
|
|
25926
|
+
V("div", {
|
|
25929
25927
|
class: "select-button-item",
|
|
25930
25928
|
onClick: C[17] || (C[17] = (Z) => J("bottom", "cell", "style.verticalAlign", "verticalAlign"))
|
|
25931
25929
|
}, [
|
|
@@ -25934,7 +25932,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25934
25932
|
])
|
|
25935
25933
|
]),
|
|
25936
25934
|
default: Q(() => [
|
|
25937
|
-
|
|
25935
|
+
V("i", {
|
|
25938
25936
|
class: vt(`yhreport-icon report-horizontal-${y.verticalAlign || "center"}`)
|
|
25939
25937
|
}, null, 2)
|
|
25940
25938
|
]),
|
|
@@ -25943,7 +25941,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25943
25941
|
]),
|
|
25944
25942
|
_: 1
|
|
25945
25943
|
}),
|
|
25946
|
-
O(a) && O(u) ? (
|
|
25944
|
+
O(a) && O(u) ? (A(), F(ne, { key: 0 }, [
|
|
25947
25945
|
zt(b(q, { span: 24 }, {
|
|
25948
25946
|
default: Q(() => [
|
|
25949
25947
|
b(O(we), { label: "文本" }, {
|
|
@@ -25963,7 +25961,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25963
25961
|
]),
|
|
25964
25962
|
zt(b(q, { span: 24 }, {
|
|
25965
25963
|
default: Q(() => [
|
|
25966
|
-
y.format !== O(Ze).STRING ? (
|
|
25964
|
+
y.format !== O(Ze).STRING ? (A(), te(O(we), {
|
|
25967
25965
|
key: 0,
|
|
25968
25966
|
label: "数据字段"
|
|
25969
25967
|
}, {
|
|
@@ -25975,7 +25973,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25975
25973
|
onInput: C[21] || (C[21] = (Z) => J(Z, "cell", "data"))
|
|
25976
25974
|
}, {
|
|
25977
25975
|
default: Q(() => [
|
|
25978
|
-
(
|
|
25976
|
+
(A(!0), F(ne, null, Re(O(ve), (Z) => (A(), te(M, {
|
|
25979
25977
|
key: Z.columnName,
|
|
25980
25978
|
label: Z.name,
|
|
25981
25979
|
value: Z.columnName
|
|
@@ -25985,7 +25983,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
25985
25983
|
}, 8, ["modelValue"])
|
|
25986
25984
|
]),
|
|
25987
25985
|
_: 1
|
|
25988
|
-
})) : (
|
|
25986
|
+
})) : (A(), te(O(we), { key: 1 }, {
|
|
25989
25987
|
label: Q(() => [
|
|
25990
25988
|
b(L, {
|
|
25991
25989
|
class: "box-item",
|
|
@@ -26052,7 +26050,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26052
26050
|
]),
|
|
26053
26051
|
_: 1
|
|
26054
26052
|
}, 8, ["modelValue"]),
|
|
26055
|
-
O(r) && O(u).isGroup ? (
|
|
26053
|
+
O(r) && O(u).isGroup ? (A(), te(ee, {
|
|
26056
26054
|
key: 0,
|
|
26057
26055
|
modelValue: O(u).loopGroupRowIndex,
|
|
26058
26056
|
"onUpdate:modelValue": C[26] || (C[26] = (Z) => O(u).loopGroupRowIndex = Z),
|
|
@@ -26061,14 +26059,14 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26061
26059
|
style: { flex: "0 0 90px", "margin-right": "5px" }
|
|
26062
26060
|
}, {
|
|
26063
26061
|
default: Q(() => [
|
|
26064
|
-
(
|
|
26065
|
-
label:
|
|
26066
|
-
value:
|
|
26067
|
-
disabled:
|
|
26062
|
+
(A(!0), F(ne, null, Re(O(r).rowConfig, (Z, le) => (A(), te(M, {
|
|
26063
|
+
label: le + 1,
|
|
26064
|
+
value: le,
|
|
26065
|
+
disabled: le === O(u).loopGroupRowIndex || le === O(u).index
|
|
26068
26066
|
}, null, 8, ["label", "value", "disabled"]))), 256))
|
|
26069
26067
|
]),
|
|
26070
26068
|
_: 1
|
|
26071
|
-
}, 8, ["modelValue"])) :
|
|
26069
|
+
}, 8, ["modelValue"])) : oe("", !0),
|
|
26072
26070
|
b(O(Ps), {
|
|
26073
26071
|
modelValue: O(u).isRowColCombine,
|
|
26074
26072
|
"onUpdate:modelValue": C[27] || (C[27] = (Z) => O(u).isRowColCombine = Z)
|
|
@@ -26096,7 +26094,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26096
26094
|
]),
|
|
26097
26095
|
_: 1
|
|
26098
26096
|
}, 8, ["modelValue"]),
|
|
26099
|
-
O(r) && O(u).linkedMergeCell ? (
|
|
26097
|
+
O(r) && O(u).linkedMergeCell ? (A(), te(ee, {
|
|
26100
26098
|
key: 1,
|
|
26101
26099
|
modelValue: O(u).linkedColIndex,
|
|
26102
26100
|
"onUpdate:modelValue": C[30] || (C[30] = (Z) => O(u).linkedColIndex = Z),
|
|
@@ -26105,15 +26103,15 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26105
26103
|
style: { flex: "0 0 90px", "margin-right": "5px" }
|
|
26106
26104
|
}, {
|
|
26107
26105
|
default: Q(() => [
|
|
26108
|
-
(
|
|
26109
|
-
label:
|
|
26110
|
-
value:
|
|
26111
|
-
disabled:
|
|
26106
|
+
(A(!0), F(ne, null, Re(O(r).colConfig, (Z, le) => (A(), te(M, {
|
|
26107
|
+
label: le + 1,
|
|
26108
|
+
value: le,
|
|
26109
|
+
disabled: le === O(u).loopGroupRowIndex || le === O(u).index
|
|
26112
26110
|
}, null, 8, ["label", "value", "disabled"]))), 256))
|
|
26113
26111
|
]),
|
|
26114
26112
|
_: 1
|
|
26115
|
-
}, 8, ["modelValue"])) :
|
|
26116
|
-
O(u).linkedMergeCell ? (
|
|
26113
|
+
}, 8, ["modelValue"])) : oe("", !0),
|
|
26114
|
+
O(u).linkedMergeCell ? (A(), te(ee, {
|
|
26117
26115
|
key: 2,
|
|
26118
26116
|
modelValue: O(u).mergedValueAggregation,
|
|
26119
26117
|
"onUpdate:modelValue": C[31] || (C[31] = (Z) => O(u).mergedValueAggregation = Z),
|
|
@@ -26148,7 +26146,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26148
26146
|
})
|
|
26149
26147
|
]),
|
|
26150
26148
|
_: 1
|
|
26151
|
-
}, 8, ["modelValue"])) :
|
|
26149
|
+
}, 8, ["modelValue"])) : oe("", !0)
|
|
26152
26150
|
]),
|
|
26153
26151
|
_: 1
|
|
26154
26152
|
})
|
|
@@ -26157,7 +26155,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26157
26155
|
}, 512), [
|
|
26158
26156
|
[jt, O(u).type === O(pe).FIELD && y.format !== O(Ze).STRING]
|
|
26159
26157
|
])
|
|
26160
|
-
], 64)) :
|
|
26158
|
+
], 64)) : oe("", !0),
|
|
26161
26159
|
b(q, { span: 24 }, {
|
|
26162
26160
|
default: Q(() => [
|
|
26163
26161
|
b(O(we), { label: "格式化" }, {
|
|
@@ -26240,7 +26238,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26240
26238
|
]),
|
|
26241
26239
|
_: 1
|
|
26242
26240
|
}),
|
|
26243
|
-
y.formatType ? (
|
|
26241
|
+
y.formatType ? (A(), F(ne, { key: 1 }, [
|
|
26244
26242
|
zt(b(q, { span: 12 }, {
|
|
26245
26243
|
default: Q(() => [
|
|
26246
26244
|
b(O(we), { label: "小数位数" }, {
|
|
@@ -26323,7 +26321,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26323
26321
|
}, 512), [
|
|
26324
26322
|
[jt, y.format === "currency"]
|
|
26325
26323
|
]),
|
|
26326
|
-
y.format === O(Ze).SCIENTIFIC ? (
|
|
26324
|
+
y.format === O(Ze).SCIENTIFIC ? (A(), F(ne, { key: 0 }, [
|
|
26327
26325
|
b(q, { span: 24 }, {
|
|
26328
26326
|
default: Q(() => [
|
|
26329
26327
|
b(O(we), { label: "指数符号" }, {
|
|
@@ -26373,7 +26371,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26373
26371
|
]),
|
|
26374
26372
|
_: 1
|
|
26375
26373
|
})
|
|
26376
|
-
], 64)) :
|
|
26374
|
+
], 64)) : oe("", !0),
|
|
26377
26375
|
zt(b(q, { span: 24 }, {
|
|
26378
26376
|
default: Q(() => [
|
|
26379
26377
|
b(O(we), { label: "日期格式" }, {
|
|
@@ -26425,8 +26423,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26425
26423
|
]),
|
|
26426
26424
|
_: 1
|
|
26427
26425
|
})
|
|
26428
|
-
], 64)) :
|
|
26429
|
-
O(a) && O(u) && !O(w) ? (
|
|
26426
|
+
], 64)) : oe("", !0),
|
|
26427
|
+
O(a) && O(u) && !O(w) ? (A(), te(q, {
|
|
26430
26428
|
key: 2,
|
|
26431
26429
|
span: 24
|
|
26432
26430
|
}, {
|
|
@@ -26466,11 +26464,11 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26466
26464
|
})
|
|
26467
26465
|
]),
|
|
26468
26466
|
_: 1
|
|
26469
|
-
})) :
|
|
26470
|
-
], 64)) :
|
|
26471
|
-
], 64)) :
|
|
26472
|
-
O(f) && O(f).length > 0 && O(p) ? (
|
|
26473
|
-
|
|
26467
|
+
})) : oe("", !0)
|
|
26468
|
+
], 64)) : oe("", !0)
|
|
26469
|
+
], 64)) : oe("", !0),
|
|
26470
|
+
O(f) && O(f).length > 0 && O(p) ? (A(), F(ne, { key: 1 }, [
|
|
26471
|
+
V("div", WP, [
|
|
26474
26472
|
zP,
|
|
26475
26473
|
b(B, { size: "small" }, {
|
|
26476
26474
|
default: Q(() => [
|
|
@@ -26530,7 +26528,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26530
26528
|
]),
|
|
26531
26529
|
_: 1
|
|
26532
26530
|
}),
|
|
26533
|
-
O(w) ?
|
|
26531
|
+
O(w) ? oe("", !0) : (A(), te(q, {
|
|
26534
26532
|
key: 0,
|
|
26535
26533
|
span: 10
|
|
26536
26534
|
}, {
|
|
@@ -26574,7 +26572,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26574
26572
|
]),
|
|
26575
26573
|
_: 1
|
|
26576
26574
|
})),
|
|
26577
|
-
O(d) && O(p) && !O(w) ? (
|
|
26575
|
+
O(d) && O(p) && !O(w) ? (A(), F(ne, { key: 1 }, [
|
|
26578
26576
|
b(q, { span: 24 }, {
|
|
26579
26577
|
default: Q(() => [
|
|
26580
26578
|
b(O(we), { label: "数据源" }, {
|
|
@@ -26587,7 +26585,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26587
26585
|
filterable: ""
|
|
26588
26586
|
}, {
|
|
26589
26587
|
default: Q(() => [
|
|
26590
|
-
(
|
|
26588
|
+
(A(!0), F(ne, null, Re(O(ye), (Z) => (A(), te(M, {
|
|
26591
26589
|
key: Z.key,
|
|
26592
26590
|
label: Z.name,
|
|
26593
26591
|
value: Z.key
|
|
@@ -26616,7 +26614,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26616
26614
|
]),
|
|
26617
26615
|
_: 1
|
|
26618
26616
|
}),
|
|
26619
|
-
O(p).loop ?
|
|
26617
|
+
O(p).loop ? oe("", !0) : (A(), te(q, {
|
|
26620
26618
|
key: 0,
|
|
26621
26619
|
span: 12
|
|
26622
26620
|
}, {
|
|
@@ -26635,10 +26633,10 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26635
26633
|
]),
|
|
26636
26634
|
_: 1
|
|
26637
26635
|
}))
|
|
26638
|
-
], 64)) :
|
|
26639
|
-
], 64)) :
|
|
26640
|
-
O(c) && O(c).length > 0 && !O(w) ? (
|
|
26641
|
-
|
|
26636
|
+
], 64)) : oe("", !0)
|
|
26637
|
+
], 64)) : oe("", !0),
|
|
26638
|
+
O(c) && O(c).length > 0 && !O(w) ? (A(), F(ne, { key: 2 }, [
|
|
26639
|
+
V("div", jP, [
|
|
26642
26640
|
IP,
|
|
26643
26641
|
b(B, { size: "small" }, {
|
|
26644
26642
|
default: Q(() => [
|
|
@@ -26738,7 +26736,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26738
26736
|
]),
|
|
26739
26737
|
_: 1
|
|
26740
26738
|
}),
|
|
26741
|
-
O(v) && O(_) ? (
|
|
26739
|
+
O(v) && O(_) ? (A(), F(ne, { key: 0 }, [
|
|
26742
26740
|
b(q, { span: 24 }, {
|
|
26743
26741
|
default: Q(() => [
|
|
26744
26742
|
b(O(we), { label: "数据源" }, {
|
|
@@ -26750,7 +26748,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26750
26748
|
clearable: ""
|
|
26751
26749
|
}, {
|
|
26752
26750
|
default: Q(() => [
|
|
26753
|
-
(
|
|
26751
|
+
(A(!0), F(ne, null, Re(O(ye), (Z) => (A(), te(M, {
|
|
26754
26752
|
key: Z.key,
|
|
26755
26753
|
label: Z.name,
|
|
26756
26754
|
value: Z.key
|
|
@@ -26779,7 +26777,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26779
26777
|
]),
|
|
26780
26778
|
_: 1
|
|
26781
26779
|
}),
|
|
26782
|
-
O(_).loop ?
|
|
26780
|
+
O(_).loop ? oe("", !0) : (A(), te(q, {
|
|
26783
26781
|
key: 0,
|
|
26784
26782
|
span: 12
|
|
26785
26783
|
}, {
|
|
@@ -26798,8 +26796,8 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26798
26796
|
]),
|
|
26799
26797
|
_: 1
|
|
26800
26798
|
}))
|
|
26801
|
-
], 64)) :
|
|
26802
|
-
], 64)) :
|
|
26799
|
+
], 64)) : oe("", !0)
|
|
26800
|
+
], 64)) : oe("", !0)
|
|
26803
26801
|
], 64);
|
|
26804
26802
|
};
|
|
26805
26803
|
}
|
|
@@ -26816,7 +26814,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26816
26814
|
}
|
|
26817
26815
|
return (l, o) => {
|
|
26818
26816
|
const a = ce("el-row"), u = ce("el-tab-pane"), h = ce("el-switch"), c = ce("el-form-item"), f = ce("el-col"), d = ce("el-input"), p = ce("el-radio-button"), v = ce("el-radio-group");
|
|
26819
|
-
return
|
|
26817
|
+
return A(), F(ne, null, [
|
|
26820
26818
|
b(u, {
|
|
26821
26819
|
label: "单元格/参数",
|
|
26822
26820
|
name: "cell"
|
|
@@ -26837,7 +26835,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
26837
26835
|
name: "theme"
|
|
26838
26836
|
}, {
|
|
26839
26837
|
default: Q(() => [
|
|
26840
|
-
O(t) && O(t).type === "report" ? (
|
|
26838
|
+
O(t) && O(t).type === "report" ? (A(), te(a, {
|
|
26841
26839
|
key: 0,
|
|
26842
26840
|
gutter: 10
|
|
26843
26841
|
}, {
|
|
@@ -27038,7 +27036,7 @@ const yP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
|
|
|
27038
27036
|
})
|
|
27039
27037
|
]),
|
|
27040
27038
|
_: 1
|
|
27041
|
-
})) :
|
|
27039
|
+
})) : oe("", !0)
|
|
27042
27040
|
]),
|
|
27043
27041
|
_: 1
|
|
27044
27042
|
})
|
|
@@ -27119,8 +27117,8 @@ const FP = function(n, e) {
|
|
|
27119
27117
|
options: i,
|
|
27120
27118
|
validFor: /^[\w.-\[\]]$/
|
|
27121
27119
|
} : null;
|
|
27122
|
-
}, KP = /* @__PURE__ */
|
|
27123
|
-
/* @__PURE__ */
|
|
27120
|
+
}, KP = /* @__PURE__ */ V("div", { class: "statement-form-sub-title" }, "固定定位", -1), JP = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "顶部距离", -1), ek = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "左侧距离", -1), tk = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
|
|
27121
|
+
/* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "数据")
|
|
27124
27122
|
], -1), ik = /* @__PURE__ */ Be({
|
|
27125
27123
|
__name: "chartOption",
|
|
27126
27124
|
setup(n) {
|
|
@@ -27228,8 +27226,8 @@ const FP = function(n, e) {
|
|
|
27228
27226
|
}
|
|
27229
27227
|
return (d, p) => {
|
|
27230
27228
|
const v = ce("el-color-picker"), _ = ce("el-input"), m = ce("el-form-item"), S = ce("el-input-number"), E = ce("el-col"), y = ce("el-radio-button"), T = ce("el-radio-group"), w = ce("el-row"), $ = ce("el-switch"), k = ce("el-tooltip"), R = ce("el-cascader"), g = ce("el-tab-pane");
|
|
27231
|
-
return
|
|
27232
|
-
O(t) ? (
|
|
27229
|
+
return A(), F(ne, null, [
|
|
27230
|
+
O(t) ? (A(), te(g, {
|
|
27233
27231
|
key: 0,
|
|
27234
27232
|
name: "chart",
|
|
27235
27233
|
label: "属性",
|
|
@@ -27355,7 +27353,7 @@ const FP = function(n, e) {
|
|
|
27355
27353
|
]),
|
|
27356
27354
|
_: 1
|
|
27357
27355
|
}),
|
|
27358
|
-
O(s) ? (
|
|
27356
|
+
O(s) ? (A(), F(ne, { key: 0 }, [
|
|
27359
27357
|
b(m, { label: "X轴轴坐标名称" }, {
|
|
27360
27358
|
default: Q(() => [
|
|
27361
27359
|
b(_, {
|
|
@@ -27374,8 +27372,8 @@ const FP = function(n, e) {
|
|
|
27374
27372
|
]),
|
|
27375
27373
|
_: 1
|
|
27376
27374
|
})
|
|
27377
|
-
], 64)) :
|
|
27378
|
-
O(t).type == "line" ? (
|
|
27375
|
+
], 64)) : oe("", !0),
|
|
27376
|
+
O(t).type == "line" ? (A(), F(ne, { key: 1 }, [
|
|
27379
27377
|
b(m, { label: "平滑" }, {
|
|
27380
27378
|
default: Q(() => [
|
|
27381
27379
|
b($, {
|
|
@@ -27398,7 +27396,7 @@ const FP = function(n, e) {
|
|
|
27398
27396
|
]),
|
|
27399
27397
|
_: 1
|
|
27400
27398
|
})
|
|
27401
|
-
], 64)) :
|
|
27399
|
+
], 64)) : oe("", !0),
|
|
27402
27400
|
b(m, { label: "显示标签" }, {
|
|
27403
27401
|
default: Q(() => [
|
|
27404
27402
|
b($, {
|
|
@@ -27409,7 +27407,7 @@ const FP = function(n, e) {
|
|
|
27409
27407
|
]),
|
|
27410
27408
|
_: 1
|
|
27411
27409
|
}),
|
|
27412
|
-
O(t).showLabel ? (
|
|
27410
|
+
O(t).showLabel ? (A(), te(m, {
|
|
27413
27411
|
key: 2,
|
|
27414
27412
|
label: "标签颜色"
|
|
27415
27413
|
}, {
|
|
@@ -27431,13 +27429,13 @@ const FP = function(n, e) {
|
|
|
27431
27429
|
}, 8, ["modelValue"])
|
|
27432
27430
|
]),
|
|
27433
27431
|
_: 1
|
|
27434
|
-
})) :
|
|
27435
|
-
O(t).showLabel && !["pie", "radar"].includes(O(t).type) ? (
|
|
27432
|
+
})) : oe("", !0),
|
|
27433
|
+
O(t).showLabel && !["pie", "radar"].includes(O(t).type) ? (A(), te(m, {
|
|
27436
27434
|
key: 3,
|
|
27437
27435
|
label: "标签位置"
|
|
27438
27436
|
}, {
|
|
27439
27437
|
default: Q(() => [
|
|
27440
|
-
["line", "scatter"].includes(O(t).type) ? (
|
|
27438
|
+
["line", "scatter"].includes(O(t).type) ? (A(), te(T, {
|
|
27441
27439
|
key: 0,
|
|
27442
27440
|
modelValue: O(t).labelPosition,
|
|
27443
27441
|
"onUpdate:modelValue": p[14] || (p[14] = (P) => O(t).labelPosition = P),
|
|
@@ -27464,7 +27462,7 @@ const FP = function(n, e) {
|
|
|
27464
27462
|
})
|
|
27465
27463
|
]),
|
|
27466
27464
|
_: 1
|
|
27467
|
-
}, 8, ["modelValue"])) : O(t).type == "rowBar" ? (
|
|
27465
|
+
}, 8, ["modelValue"])) : O(t).type == "rowBar" ? (A(), te(T, {
|
|
27468
27466
|
key: 1,
|
|
27469
27467
|
modelValue: O(t).labelPosition,
|
|
27470
27468
|
"onUpdate:modelValue": p[15] || (p[15] = (P) => O(t).labelPosition = P),
|
|
@@ -27497,7 +27495,7 @@ const FP = function(n, e) {
|
|
|
27497
27495
|
})
|
|
27498
27496
|
]),
|
|
27499
27497
|
_: 1
|
|
27500
|
-
}, 8, ["modelValue"])) : O(t).type == "bar" ? (
|
|
27498
|
+
}, 8, ["modelValue"])) : O(t).type == "bar" ? (A(), te(T, {
|
|
27501
27499
|
key: 2,
|
|
27502
27500
|
modelValue: O(t).labelPosition,
|
|
27503
27501
|
"onUpdate:modelValue": p[16] || (p[16] = (P) => O(t).labelPosition = P),
|
|
@@ -27530,11 +27528,11 @@ const FP = function(n, e) {
|
|
|
27530
27528
|
})
|
|
27531
27529
|
]),
|
|
27532
27530
|
_: 1
|
|
27533
|
-
}, 8, ["modelValue"])) :
|
|
27531
|
+
}, 8, ["modelValue"])) : oe("", !0)
|
|
27534
27532
|
]),
|
|
27535
27533
|
_: 1
|
|
27536
|
-
})) :
|
|
27537
|
-
["line", "radar"].includes(O(t).type) ? (
|
|
27534
|
+
})) : oe("", !0),
|
|
27535
|
+
["line", "radar"].includes(O(t).type) ? (A(), te(m, {
|
|
27538
27536
|
key: 4,
|
|
27539
27537
|
label: "面积图"
|
|
27540
27538
|
}, {
|
|
@@ -27548,8 +27546,8 @@ const FP = function(n, e) {
|
|
|
27548
27546
|
}, null, 8, ["modelValue"])
|
|
27549
27547
|
]),
|
|
27550
27548
|
_: 1
|
|
27551
|
-
})) :
|
|
27552
|
-
O(t).type == "pie" ? (
|
|
27549
|
+
})) : oe("", !0),
|
|
27550
|
+
O(t).type == "pie" ? (A(), te(m, {
|
|
27553
27551
|
key: 5,
|
|
27554
27552
|
label: "环形图"
|
|
27555
27553
|
}, {
|
|
@@ -27561,8 +27559,8 @@ const FP = function(n, e) {
|
|
|
27561
27559
|
}, null, 8, ["modelValue"])
|
|
27562
27560
|
]),
|
|
27563
27561
|
_: 1
|
|
27564
|
-
})) :
|
|
27565
|
-
O(t).isSuspend ? (
|
|
27562
|
+
})) : oe("", !0),
|
|
27563
|
+
O(t).isSuspend ? (A(), F(ne, { key: 6 }, [
|
|
27566
27564
|
KP,
|
|
27567
27565
|
b(m, null, {
|
|
27568
27566
|
label: Q(() => [
|
|
@@ -27610,7 +27608,7 @@ const FP = function(n, e) {
|
|
|
27610
27608
|
]),
|
|
27611
27609
|
_: 1
|
|
27612
27610
|
})
|
|
27613
|
-
], 64)) :
|
|
27611
|
+
], 64)) : oe("", !0),
|
|
27614
27612
|
tk,
|
|
27615
27613
|
b(m, { label: O(r) }, {
|
|
27616
27614
|
default: Q(() => [
|
|
@@ -27665,7 +27663,7 @@ const FP = function(n, e) {
|
|
|
27665
27663
|
]),
|
|
27666
27664
|
_: 1
|
|
27667
27665
|
}),
|
|
27668
|
-
O(t).orderBy && O(t).orderBy != "NONE" ? (
|
|
27666
|
+
O(t).orderBy && O(t).orderBy != "NONE" ? (A(), te(m, {
|
|
27669
27667
|
key: 7,
|
|
27670
27668
|
label: "数据截取数量"
|
|
27671
27669
|
}, {
|
|
@@ -27676,7 +27674,7 @@ const FP = function(n, e) {
|
|
|
27676
27674
|
}, null, 8, ["modelValue"])
|
|
27677
27675
|
]),
|
|
27678
27676
|
_: 1
|
|
27679
|
-
})) :
|
|
27677
|
+
})) : oe("", !0),
|
|
27680
27678
|
b(m, { label: "" }),
|
|
27681
27679
|
b(m, { label: "图表数据" }, {
|
|
27682
27680
|
default: Q(() => [
|
|
@@ -27695,7 +27693,7 @@ const FP = function(n, e) {
|
|
|
27695
27693
|
})
|
|
27696
27694
|
]),
|
|
27697
27695
|
_: 1
|
|
27698
|
-
})) :
|
|
27696
|
+
})) : oe("", !0),
|
|
27699
27697
|
b(g, {
|
|
27700
27698
|
name: "config",
|
|
27701
27699
|
label: "自定义配置"
|
|
@@ -27737,9 +27735,9 @@ const nk = /* @__PURE__ */ Be({
|
|
|
27737
27735
|
};
|
|
27738
27736
|
return (s, r) => {
|
|
27739
27737
|
const l = ce("el-button"), o = ce("el-button-group");
|
|
27740
|
-
return
|
|
27738
|
+
return A(), te(o, { class: "yh-report-color-choose" }, {
|
|
27741
27739
|
default: Q(() => [
|
|
27742
|
-
(
|
|
27740
|
+
(A(!0), F(ne, null, Re(O(So), (a) => (A(), te(l, {
|
|
27743
27741
|
color: a,
|
|
27744
27742
|
size: "small",
|
|
27745
27743
|
plain: t.modelValue !== a,
|
|
@@ -27750,7 +27748,7 @@ const nk = /* @__PURE__ */ Be({
|
|
|
27750
27748
|
});
|
|
27751
27749
|
};
|
|
27752
27750
|
}
|
|
27753
|
-
}), sk = { class: "statement-option-title" }, rk = /* @__PURE__ */
|
|
27751
|
+
}), sk = { class: "statement-option-title" }, rk = /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "数据", -1), lk = /* @__PURE__ */ Be({
|
|
27754
27752
|
__name: "labelOption",
|
|
27755
27753
|
setup(n) {
|
|
27756
27754
|
const e = xt(), { active: t, detail: i } = St(e);
|
|
@@ -27796,7 +27794,7 @@ const nk = /* @__PURE__ */ Be({
|
|
|
27796
27794
|
}
|
|
27797
27795
|
return (a, u) => {
|
|
27798
27796
|
const h = ce("el-color-picker"), c = ce("el-input"), f = ce("el-form-item"), d = ce("el-input-number"), p = ce("el-col"), v = ce("el-radio-button"), _ = ce("el-radio-group"), m = ce("el-row"), S = ce("el-cascader"), E = ce("el-switch"), y = ce("el-tab-pane");
|
|
27799
|
-
return O(t) ? (
|
|
27797
|
+
return O(t) ? (A(), te(y, {
|
|
27800
27798
|
key: 0,
|
|
27801
27799
|
name: "label",
|
|
27802
27800
|
label: "色块",
|
|
@@ -27913,7 +27911,7 @@ const nk = /* @__PURE__ */ Be({
|
|
|
27913
27911
|
]),
|
|
27914
27912
|
_: 1
|
|
27915
27913
|
}),
|
|
27916
|
-
|
|
27914
|
+
V("div", sk, [
|
|
27917
27915
|
rk,
|
|
27918
27916
|
b(_, {
|
|
27919
27917
|
style: { width: "auto" },
|
|
@@ -27937,7 +27935,7 @@ const nk = /* @__PURE__ */ Be({
|
|
|
27937
27935
|
_: 1
|
|
27938
27936
|
}, 8, ["modelValue"])
|
|
27939
27937
|
]),
|
|
27940
|
-
O(s).notSingle ? (
|
|
27938
|
+
O(s).notSingle ? (A(), F(ne, { key: 0 }, [
|
|
27941
27939
|
b(f, { label: "维度" }, {
|
|
27942
27940
|
default: Q(() => [
|
|
27943
27941
|
b(S, {
|
|
@@ -27993,7 +27991,7 @@ const nk = /* @__PURE__ */ Be({
|
|
|
27993
27991
|
]),
|
|
27994
27992
|
_: 1
|
|
27995
27993
|
}),
|
|
27996
|
-
O(s).orderBy && O(s).orderBy != "NONE" ? (
|
|
27994
|
+
O(s).orderBy && O(s).orderBy != "NONE" ? (A(), te(f, {
|
|
27997
27995
|
key: 0,
|
|
27998
27996
|
label: "数据截取"
|
|
27999
27997
|
}, {
|
|
@@ -28004,7 +28002,7 @@ const nk = /* @__PURE__ */ Be({
|
|
|
28004
28002
|
}, null, 8, ["modelValue"])
|
|
28005
28003
|
]),
|
|
28006
28004
|
_: 1
|
|
28007
|
-
})) :
|
|
28005
|
+
})) : oe("", !0),
|
|
28008
28006
|
b(f, { label: "指标" }, {
|
|
28009
28007
|
default: Q(() => [
|
|
28010
28008
|
b(S, {
|
|
@@ -28019,7 +28017,7 @@ const nk = /* @__PURE__ */ Be({
|
|
|
28019
28017
|
]),
|
|
28020
28018
|
_: 1
|
|
28021
28019
|
})
|
|
28022
|
-
], 64)) : (
|
|
28020
|
+
], 64)) : (A(), F(ne, { key: 1 }, [
|
|
28023
28021
|
b(f, { label: "自定义维度" }, {
|
|
28024
28022
|
default: Q(() => [
|
|
28025
28023
|
b(c, {
|
|
@@ -28098,7 +28096,7 @@ const nk = /* @__PURE__ */ Be({
|
|
|
28098
28096
|
], 64))
|
|
28099
28097
|
]),
|
|
28100
28098
|
_: 1
|
|
28101
|
-
})) :
|
|
28099
|
+
})) : oe("", !0);
|
|
28102
28100
|
};
|
|
28103
28101
|
}
|
|
28104
28102
|
});
|
|
@@ -28122,7 +28120,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28122
28120
|
break;
|
|
28123
28121
|
}
|
|
28124
28122
|
}
|
|
28125
|
-
), (s, r) => (
|
|
28123
|
+
), (s, r) => (A(), te(O(Bm), {
|
|
28126
28124
|
"label-position": "top",
|
|
28127
28125
|
class: "statement-option"
|
|
28128
28126
|
}, {
|
|
@@ -28133,9 +28131,9 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28133
28131
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => i.value = l)
|
|
28134
28132
|
}, {
|
|
28135
28133
|
default: Q(() => [
|
|
28136
|
-
O(t) !== null ? (
|
|
28137
|
-
O(t) && O(t).type === "report" ? (
|
|
28138
|
-
], 64)) :
|
|
28134
|
+
O(t) !== null ? (A(), F(ne, { key: 0 }, [
|
|
28135
|
+
O(t) && O(t).type === "report" ? (A(), te(NP, { key: 0 })) : O(t) && O(t).type === "label" ? (A(), te(lk, { key: 1 })) : (A(), te(ik, { key: 2 }))
|
|
28136
|
+
], 64)) : oe("", !0)
|
|
28139
28137
|
]),
|
|
28140
28138
|
_: 1
|
|
28141
28139
|
}, 8, ["modelValue"])
|
|
@@ -28146,55 +28144,55 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28146
28144
|
}), ak = {
|
|
28147
28145
|
class: "statement-option-title",
|
|
28148
28146
|
style: { top: "0" }
|
|
28149
|
-
}, uk = /* @__PURE__ */
|
|
28147
|
+
}, uk = /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "数据源", -1), hk = {
|
|
28150
28148
|
key: 0,
|
|
28151
28149
|
class: "data-source-status"
|
|
28152
28150
|
}, ck = { class: "data-source-name" }, fk = ["data-index", "data-cindex"], dk = {
|
|
28153
28151
|
key: 0,
|
|
28154
28152
|
class: "desinger-container static-data"
|
|
28155
|
-
}, Ok = { class: "data-source-title" }, pk = /* @__PURE__ */
|
|
28153
|
+
}, Ok = { class: "data-source-title" }, pk = /* @__PURE__ */ V("div", { class: "data-source-title-text" }, "数据源列表", -1), mk = /* @__PURE__ */ V("div", { class: "data-source-title-text" }, "选择数据来源", -1), gk = {
|
|
28156
28154
|
key: 0,
|
|
28157
28155
|
class: "data-source-list"
|
|
28158
28156
|
}, _k = {
|
|
28159
28157
|
key: 1,
|
|
28160
28158
|
class: "data-source-list"
|
|
28161
|
-
}, bk = ["onClick"], Qk = { class: "data-source-name" }, yk = { class: "data-source-name-context" }, vk = { class: "data-source-columns" }, Sk = /* @__PURE__ */
|
|
28162
|
-
/* @__PURE__ */
|
|
28163
|
-
/* @__PURE__ */
|
|
28164
|
-
], -1), xk = /* @__PURE__ */
|
|
28165
|
-
/* @__PURE__ */
|
|
28166
|
-
/* @__PURE__ */
|
|
28167
|
-
], -1), wk = /* @__PURE__ */
|
|
28168
|
-
/* @__PURE__ */
|
|
28169
|
-
/* @__PURE__ */
|
|
28170
|
-
], -1), $k = /* @__PURE__ */
|
|
28171
|
-
/* @__PURE__ */
|
|
28172
|
-
/* @__PURE__ */
|
|
28173
|
-
], -1), Pk = { class: "data-pagesizes" }, kk = /* @__PURE__ */
|
|
28174
|
-
/* @__PURE__ */
|
|
28175
|
-
/* @__PURE__ */
|
|
28176
|
-
], -1), Tk = /* @__PURE__ */
|
|
28177
|
-
/* @__PURE__ */
|
|
28178
|
-
/* @__PURE__ */
|
|
28179
|
-
], -1), Ck = /* @__PURE__ */
|
|
28180
|
-
/* @__PURE__ */
|
|
28181
|
-
/* @__PURE__ */
|
|
28182
|
-
], -1), Zk = /* @__PURE__ */
|
|
28183
|
-
/* @__PURE__ */
|
|
28184
|
-
/* @__PURE__ */
|
|
28185
|
-
], -1), Rk = /* @__PURE__ */
|
|
28186
|
-
/* @__PURE__ */
|
|
28187
|
-
/* @__PURE__ */
|
|
28188
|
-
], -1), Xk = /* @__PURE__ */
|
|
28189
|
-
/* @__PURE__ */
|
|
28190
|
-
/* @__PURE__ */
|
|
28191
|
-
], -1), Ak = { class: "custom-from-item-label" }, Ek = /* @__PURE__ */
|
|
28192
|
-
/* @__PURE__ */
|
|
28193
|
-
/* @__PURE__ */
|
|
28159
|
+
}, bk = ["onClick"], Qk = { class: "data-source-name" }, yk = { class: "data-source-name-context" }, vk = { class: "data-source-columns" }, Sk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28160
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "启用分页"),
|
|
28161
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "数据分页展示")
|
|
28162
|
+
], -1), xk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28163
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "失焦"),
|
|
28164
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "输入框失焦自动查询")
|
|
28165
|
+
], -1), wk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28166
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "分页数"),
|
|
28167
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "每页数量")
|
|
28168
|
+
], -1), $k = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28169
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "分页数选择"),
|
|
28170
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "设置可选分页数")
|
|
28171
|
+
], -1), Pk = { class: "data-pagesizes" }, kk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28172
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "数据前置处理函数"),
|
|
28173
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
|
|
28174
|
+
], -1), Tk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28175
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "Tooltip处理"),
|
|
28176
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
|
|
28177
|
+
], -1), Ck = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28178
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "X轴数据处理"),
|
|
28179
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
|
|
28180
|
+
], -1), Zk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28181
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "Y轴数据处理"),
|
|
28182
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
|
|
28183
|
+
], -1), Rk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28184
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "数据处理"),
|
|
28185
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
|
|
28186
|
+
], -1), Xk = /* @__PURE__ */ V("br", null, null, -1), Vk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28187
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "转为对象"),
|
|
28188
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "点位、对象、固定报表")
|
|
28189
|
+
], -1), Ak = { class: "custom-from-item-label" }, Ek = /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "转换配置", -1), Mk = { class: "custom-from-item-label-tips" }, Yk = { class: "custom-from-item-label" }, qk = /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "数据源字段管理", -1), Uk = { class: "custom-from-item-label-tips" }, Dk = { class: "source-columns-editor-container" }, Lk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
|
|
28190
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "字段名"),
|
|
28191
|
+
/* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
|
|
28194
28192
|
], -1), Wk = { class: "custom-from-item-label" }, zk = { class: "custom-from-item-label-context" }, jk = { class: "custom-from-item-label-tips" }, Ik = {
|
|
28195
28193
|
key: 0,
|
|
28196
28194
|
class: "new-source-column-form"
|
|
28197
|
-
}, Bk = /* @__PURE__ */
|
|
28195
|
+
}, Bk = /* @__PURE__ */ V("h2", null, "添加数据源字段", -1), Nk = /* @__PURE__ */ V("div", { class: "title-context" }, "数据源设置", -1), Gk = /* @__PURE__ */ Be({
|
|
28198
28196
|
__name: "dataOption",
|
|
28199
28197
|
setup(n) {
|
|
28200
28198
|
const e = xt(), t = Qe(!1), { active: i } = St(e), s = be(() => i.value ? Lf.includes(i.value.type) : !1), r = be(() => i.value ? i.value.data.source : []), l = be(() => {
|
|
@@ -28319,8 +28317,8 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28319
28317
|
return ki(() => {
|
|
28320
28318
|
}), (z, D) => {
|
|
28321
28319
|
const H = ce("el-tag"), G = ce("el-input"), se = ce("el-checkbox"), de = ce("el-checkbox-group"), _e = ce("el-col"), W = ce("el-switch"), C = ce("el-form-item"), B = ce("el-option"), q = ce("el-select"), j = ce("el-input-number"), M = ce("el-row"), ee = ce("el-form");
|
|
28322
|
-
return
|
|
28323
|
-
|
|
28320
|
+
return A(), F(ne, null, [
|
|
28321
|
+
V("div", ak, [
|
|
28324
28322
|
uk,
|
|
28325
28323
|
b(O(ke), {
|
|
28326
28324
|
onClick: a,
|
|
@@ -28333,8 +28331,8 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28333
28331
|
_: 1
|
|
28334
28332
|
})
|
|
28335
28333
|
]),
|
|
28336
|
-
O(i) ? (
|
|
28337
|
-
O(i).data.pagination ? (
|
|
28334
|
+
O(i) ? (A(), F("div", hk, [
|
|
28335
|
+
O(i).data.pagination ? (A(), F(ne, { key: 0 }, [
|
|
28338
28336
|
b(H, { type: "info" }, {
|
|
28339
28337
|
default: Q(() => [
|
|
28340
28338
|
Y("分页")
|
|
@@ -28347,9 +28345,9 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28347
28345
|
]),
|
|
28348
28346
|
_: 1
|
|
28349
28347
|
})
|
|
28350
|
-
], 64)) :
|
|
28351
|
-
O(i).type === "report" ? (
|
|
28352
|
-
O(i).data.processData ? (
|
|
28348
|
+
], 64)) : oe("", !0),
|
|
28349
|
+
O(i).type === "report" ? (A(), F(ne, { key: 1 }, [
|
|
28350
|
+
O(i).data.processData ? (A(), te(H, {
|
|
28353
28351
|
key: 0,
|
|
28354
28352
|
type: "info"
|
|
28355
28353
|
}, {
|
|
@@ -28357,9 +28355,9 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28357
28355
|
Y(" 报表数据处理 ")
|
|
28358
28356
|
]),
|
|
28359
28357
|
_: 1
|
|
28360
|
-
})) :
|
|
28361
|
-
], 64)) : O(i).type === "label" ? (
|
|
28362
|
-
O(i).toolTipData ? (
|
|
28358
|
+
})) : oe("", !0)
|
|
28359
|
+
], 64)) : O(i).type === "label" ? (A(), F(ne, { key: 2 }, [], 64)) : (A(), F(ne, { key: 3 }, [
|
|
28360
|
+
O(i).toolTipData ? (A(), te(H, {
|
|
28363
28361
|
key: 0,
|
|
28364
28362
|
type: "info"
|
|
28365
28363
|
}, {
|
|
@@ -28367,8 +28365,8 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28367
28365
|
Y(" Tooltip处理 ")
|
|
28368
28366
|
]),
|
|
28369
28367
|
_: 1
|
|
28370
|
-
})) :
|
|
28371
|
-
O(i).xAisData ? (
|
|
28368
|
+
})) : oe("", !0),
|
|
28369
|
+
O(i).xAisData ? (A(), te(H, {
|
|
28372
28370
|
key: 1,
|
|
28373
28371
|
type: "info"
|
|
28374
28372
|
}, {
|
|
@@ -28376,8 +28374,8 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28376
28374
|
Y(" X轴数据处理 ")
|
|
28377
28375
|
]),
|
|
28378
28376
|
_: 1
|
|
28379
|
-
})) :
|
|
28380
|
-
O(i).yAisData ? (
|
|
28377
|
+
})) : oe("", !0),
|
|
28378
|
+
O(i).yAisData ? (A(), te(H, {
|
|
28381
28379
|
key: 2,
|
|
28382
28380
|
type: "info"
|
|
28383
28381
|
}, {
|
|
@@ -28385,8 +28383,8 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28385
28383
|
Y(" Y轴数据处理 ")
|
|
28386
28384
|
]),
|
|
28387
28385
|
_: 1
|
|
28388
|
-
})) :
|
|
28389
|
-
O(i).seriesData ? (
|
|
28386
|
+
})) : oe("", !0),
|
|
28387
|
+
O(i).seriesData ? (A(), te(H, {
|
|
28390
28388
|
key: 3,
|
|
28391
28389
|
type: "info"
|
|
28392
28390
|
}, {
|
|
@@ -28394,20 +28392,20 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28394
28392
|
Y(" 图表数据处理 ")
|
|
28395
28393
|
]),
|
|
28396
28394
|
_: 1
|
|
28397
|
-
})) :
|
|
28395
|
+
})) : oe("", !0)
|
|
28398
28396
|
], 64))
|
|
28399
|
-
])) :
|
|
28397
|
+
])) : oe("", !0),
|
|
28400
28398
|
b(O(Nm), { class: "data-columns" }, {
|
|
28401
28399
|
default: Q(() => [
|
|
28402
|
-
(
|
|
28400
|
+
(A(!0), F(ne, null, Re(O(r), (L, Z) => (A(), te(O(Gm), {
|
|
28403
28401
|
key: Z,
|
|
28404
28402
|
name: L.url
|
|
28405
28403
|
}, {
|
|
28406
28404
|
title: Q(() => [
|
|
28407
|
-
|
|
28408
|
-
|
|
28409
|
-
|
|
28410
|
-
L.toObject ? (
|
|
28405
|
+
V("div", ck, [
|
|
28406
|
+
V("div", null, qe(L.name) + " (" + qe(L.url) + ")", 1),
|
|
28407
|
+
V("div", null, [
|
|
28408
|
+
L.toObject ? (A(), te(H, {
|
|
28411
28409
|
key: 0,
|
|
28412
28410
|
type: "info"
|
|
28413
28411
|
}, {
|
|
@@ -28415,23 +28413,23 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28415
28413
|
Y(" 已转对象 ")
|
|
28416
28414
|
]),
|
|
28417
28415
|
_: 1
|
|
28418
|
-
})) :
|
|
28416
|
+
})) : oe("", !0)
|
|
28419
28417
|
])
|
|
28420
28418
|
])
|
|
28421
28419
|
]),
|
|
28422
28420
|
default: Q(() => [
|
|
28423
|
-
(
|
|
28421
|
+
(A(!0), F(ne, null, Re(L.columns, (le, Se) => (A(), F("div", {
|
|
28424
28422
|
class: "data-column report-drag-source",
|
|
28425
28423
|
"data-drag": "column",
|
|
28426
28424
|
"data-index": Z,
|
|
28427
28425
|
"data-cindex": Se,
|
|
28428
28426
|
draggable: "true"
|
|
28429
28427
|
}, [
|
|
28430
|
-
|
|
28431
|
-
|
|
28432
|
-
Y(qe(
|
|
28433
|
-
], 64)) : (
|
|
28434
|
-
Y(qe(
|
|
28428
|
+
V("div", null, [
|
|
28429
|
+
le.name === le.columnName ? (A(), F(ne, { key: 0 }, [
|
|
28430
|
+
Y(qe(le.name), 1)
|
|
28431
|
+
], 64)) : (A(), F(ne, { key: 1 }, [
|
|
28432
|
+
Y(qe(le.name) + " (" + qe(le.columnName) + ")", 1)
|
|
28435
28433
|
], 64))
|
|
28436
28434
|
])
|
|
28437
28435
|
], 8, fk))), 256))
|
|
@@ -28464,13 +28462,13 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28464
28462
|
})
|
|
28465
28463
|
]),
|
|
28466
28464
|
default: Q(() => [
|
|
28467
|
-
O(i) ? (
|
|
28465
|
+
O(i) ? (A(), F("div", dk, [
|
|
28468
28466
|
b(M, { class: "process-data" }, {
|
|
28469
28467
|
default: Q(() => [
|
|
28470
28468
|
b(_e, { span: 8 }, {
|
|
28471
28469
|
default: Q(() => [
|
|
28472
|
-
|
|
28473
|
-
u.value ? (
|
|
28470
|
+
V("div", Ok, [
|
|
28471
|
+
u.value ? (A(), F(ne, { key: 1 }, [
|
|
28474
28472
|
mk,
|
|
28475
28473
|
b(G, {
|
|
28476
28474
|
placeholder: "键入筛选数据源",
|
|
@@ -28500,7 +28498,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28500
28498
|
]),
|
|
28501
28499
|
_: 1
|
|
28502
28500
|
}, 8, ["loading"])
|
|
28503
|
-
], 64)) : (
|
|
28501
|
+
], 64)) : (A(), F(ne, { key: 0 }, [
|
|
28504
28502
|
pk,
|
|
28505
28503
|
b(O(ke), {
|
|
28506
28504
|
type: "text",
|
|
@@ -28522,13 +28520,13 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28522
28520
|
})
|
|
28523
28521
|
], 64))
|
|
28524
28522
|
]),
|
|
28525
|
-
u.value ? (
|
|
28523
|
+
u.value ? (A(), F("div", gk, [
|
|
28526
28524
|
b(de, {
|
|
28527
28525
|
modelValue: d.value,
|
|
28528
28526
|
"onUpdate:modelValue": D[1] || (D[1] = (L) => d.value = L)
|
|
28529
28527
|
}, {
|
|
28530
28528
|
default: Q(() => [
|
|
28531
|
-
(
|
|
28529
|
+
(A(!0), F(ne, null, Re(O(f), (L) => (A(), te(se, {
|
|
28532
28530
|
label: L.id
|
|
28533
28531
|
}, {
|
|
28534
28532
|
default: Q(() => [
|
|
@@ -28539,16 +28537,16 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28539
28537
|
]),
|
|
28540
28538
|
_: 1
|
|
28541
28539
|
}, 8, ["modelValue"])
|
|
28542
|
-
])) : (
|
|
28543
|
-
(
|
|
28544
|
-
var
|
|
28545
|
-
return
|
|
28546
|
-
class: vt(["data-source-item", { active: ((
|
|
28540
|
+
])) : (A(), F("div", _k, [
|
|
28541
|
+
(A(!0), F(ne, null, Re(O(r), (L, Z) => {
|
|
28542
|
+
var le;
|
|
28543
|
+
return A(), F("div", {
|
|
28544
|
+
class: vt(["data-source-item", { active: ((le = T.value) == null ? void 0 : le.key) == L.key }]),
|
|
28547
28545
|
onClick: (Se) => w(L)
|
|
28548
28546
|
}, [
|
|
28549
|
-
|
|
28550
|
-
|
|
28551
|
-
L.toObject ? (
|
|
28547
|
+
V("div", Qk, [
|
|
28548
|
+
V("div", yk, qe(L.name) + " (" + qe(L.url) + ")", 1),
|
|
28549
|
+
L.toObject ? (A(), te(H, {
|
|
28552
28550
|
key: 0,
|
|
28553
28551
|
size: "small",
|
|
28554
28552
|
type: "success"
|
|
@@ -28557,7 +28555,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28557
28555
|
Y(" 已转对象 ")
|
|
28558
28556
|
]),
|
|
28559
28557
|
_: 1
|
|
28560
|
-
})) :
|
|
28558
|
+
})) : oe("", !0),
|
|
28561
28559
|
b(O(ke), {
|
|
28562
28560
|
size: "small",
|
|
28563
28561
|
type: "danger",
|
|
@@ -28570,12 +28568,12 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28570
28568
|
_: 2
|
|
28571
28569
|
}, 1032, ["onClick"])
|
|
28572
28570
|
]),
|
|
28573
|
-
|
|
28574
|
-
(
|
|
28571
|
+
V("div", vk, [
|
|
28572
|
+
(A(!0), F(ne, null, Re(L.columns, (Se) => (A(), te(H, null, {
|
|
28575
28573
|
default: Q(() => [
|
|
28576
|
-
Se.name === Se.columnName ? (
|
|
28574
|
+
Se.name === Se.columnName ? (A(), F(ne, { key: 0 }, [
|
|
28577
28575
|
Y(qe(Se.name), 1)
|
|
28578
|
-
], 64)) : (
|
|
28576
|
+
], 64)) : (A(), F(ne, { key: 1 }, [
|
|
28579
28577
|
Y(qe(Se.name) + " (" + qe(Se.columnName) + ")", 1)
|
|
28580
28578
|
], 64))
|
|
28581
28579
|
]),
|
|
@@ -28594,7 +28592,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28594
28592
|
default: Q(() => [
|
|
28595
28593
|
b(M, { gutter: 10 }, {
|
|
28596
28594
|
default: Q(() => [
|
|
28597
|
-
O(i).type === "report" ? (
|
|
28595
|
+
O(i).type === "report" ? (A(), F(ne, { key: 0 }, [
|
|
28598
28596
|
b(_e, { span: 4 }, {
|
|
28599
28597
|
default: Q(() => [
|
|
28600
28598
|
b(C, null, {
|
|
@@ -28613,7 +28611,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28613
28611
|
]),
|
|
28614
28612
|
_: 1
|
|
28615
28613
|
}),
|
|
28616
|
-
O(i).data.pagination ? (
|
|
28614
|
+
O(i).data.pagination ? (A(), te(_e, {
|
|
28617
28615
|
key: 0,
|
|
28618
28616
|
span: 4
|
|
28619
28617
|
}, {
|
|
@@ -28632,8 +28630,8 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28632
28630
|
})
|
|
28633
28631
|
]),
|
|
28634
28632
|
_: 1
|
|
28635
|
-
})) :
|
|
28636
|
-
O(i).data.pagination ? (
|
|
28633
|
+
})) : oe("", !0),
|
|
28634
|
+
O(i).data.pagination ? (A(), te(_e, {
|
|
28637
28635
|
key: 1,
|
|
28638
28636
|
span: 4
|
|
28639
28637
|
}, {
|
|
@@ -28649,7 +28647,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28649
28647
|
modelModifiers: { number: !0 }
|
|
28650
28648
|
}, {
|
|
28651
28649
|
default: Q(() => [
|
|
28652
|
-
(
|
|
28650
|
+
(A(!0), F(ne, null, Re(o.value, (L) => (A(), te(B, {
|
|
28653
28651
|
label: L,
|
|
28654
28652
|
value: L
|
|
28655
28653
|
}, null, 8, ["label", "value"]))), 256))
|
|
@@ -28661,8 +28659,8 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28661
28659
|
})
|
|
28662
28660
|
]),
|
|
28663
28661
|
_: 1
|
|
28664
|
-
})) :
|
|
28665
|
-
O(i).data.pagination ? (
|
|
28662
|
+
})) : oe("", !0),
|
|
28663
|
+
O(i).data.pagination ? (A(), te(_e, {
|
|
28666
28664
|
key: 2,
|
|
28667
28665
|
span: 12
|
|
28668
28666
|
}, {
|
|
@@ -28672,19 +28670,19 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28672
28670
|
$k
|
|
28673
28671
|
]),
|
|
28674
28672
|
default: Q(() => [
|
|
28675
|
-
|
|
28676
|
-
(
|
|
28673
|
+
V("div", Pk, [
|
|
28674
|
+
(A(!0), F(ne, null, Re(o.value, (L, Z) => (A(), te(H, {
|
|
28677
28675
|
closable: "",
|
|
28678
28676
|
key: L,
|
|
28679
28677
|
"disable-transitions": !1,
|
|
28680
|
-
onClose: (
|
|
28678
|
+
onClose: (le) => ae(Z)
|
|
28681
28679
|
}, {
|
|
28682
28680
|
default: Q(() => [
|
|
28683
28681
|
Y(qe(L), 1)
|
|
28684
28682
|
]),
|
|
28685
28683
|
_: 2
|
|
28686
28684
|
}, 1032, ["onClose"]))), 128)),
|
|
28687
|
-
ye.value ? (
|
|
28685
|
+
ye.value ? (A(), te(G, {
|
|
28688
28686
|
key: 0,
|
|
28689
28687
|
ref_key: "InputRef",
|
|
28690
28688
|
ref: fe,
|
|
@@ -28694,7 +28692,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28694
28692
|
class: "data-pagesizes-input",
|
|
28695
28693
|
size: "small",
|
|
28696
28694
|
onKeyup: zm(me, ["enter"])
|
|
28697
|
-
}, null, 8, ["modelValue", "onKeyup"])) : (
|
|
28695
|
+
}, null, 8, ["modelValue", "onKeyup"])) : (A(), te(O(ke), {
|
|
28698
28696
|
key: 1,
|
|
28699
28697
|
size: "small",
|
|
28700
28698
|
onClick: ve
|
|
@@ -28710,7 +28708,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28710
28708
|
})
|
|
28711
28709
|
]),
|
|
28712
28710
|
_: 1
|
|
28713
|
-
})) :
|
|
28711
|
+
})) : oe("", !0),
|
|
28714
28712
|
b(_e, { span: 24 }, {
|
|
28715
28713
|
default: Q(() => [
|
|
28716
28714
|
b(C, null, {
|
|
@@ -28737,9 +28735,9 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28737
28735
|
]),
|
|
28738
28736
|
_: 1
|
|
28739
28737
|
})
|
|
28740
|
-
], 64)) :
|
|
28741
|
-
["line", "rowBar", "bar", "pie", "scatter", "radar", "treemap"].includes(O(i).type) ? (
|
|
28742
|
-
O(s) ? (
|
|
28738
|
+
], 64)) : oe("", !0),
|
|
28739
|
+
["line", "rowBar", "bar", "pie", "scatter", "radar", "treemap"].includes(O(i).type) ? (A(), F(ne, { key: 1 }, [
|
|
28740
|
+
O(s) ? (A(), F(ne, { key: 0 }, [
|
|
28743
28741
|
b(_e, { span: 24 }, {
|
|
28744
28742
|
default: Q(() => [
|
|
28745
28743
|
b(C, null, {
|
|
@@ -28818,7 +28816,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28818
28816
|
]),
|
|
28819
28817
|
_: 1
|
|
28820
28818
|
})
|
|
28821
|
-
], 64)) :
|
|
28819
|
+
], 64)) : oe("", !0),
|
|
28822
28820
|
b(_e, { span: 24 }, {
|
|
28823
28821
|
default: Q(() => [
|
|
28824
28822
|
b(C, null, {
|
|
@@ -28847,8 +28845,8 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28847
28845
|
]),
|
|
28848
28846
|
_: 1
|
|
28849
28847
|
})
|
|
28850
|
-
], 64)) :
|
|
28851
|
-
T.value !== null ? (
|
|
28848
|
+
], 64)) : oe("", !0),
|
|
28849
|
+
T.value !== null ? (A(), F(ne, { key: 2 }, [
|
|
28852
28850
|
b(_e, { span: 6 }, {
|
|
28853
28851
|
default: Q(() => [
|
|
28854
28852
|
b(C, null, {
|
|
@@ -28868,16 +28866,16 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28868
28866
|
]),
|
|
28869
28867
|
_: 1
|
|
28870
28868
|
}),
|
|
28871
|
-
T.value.toObject ? (
|
|
28869
|
+
T.value.toObject ? (A(), te(_e, {
|
|
28872
28870
|
key: 0,
|
|
28873
28871
|
span: 18
|
|
28874
28872
|
}, {
|
|
28875
28873
|
default: Q(() => [
|
|
28876
28874
|
b(C, null, {
|
|
28877
28875
|
label: Q(() => [
|
|
28878
|
-
|
|
28876
|
+
V("div", Ak, [
|
|
28879
28877
|
Ek,
|
|
28880
|
-
|
|
28878
|
+
V("div", Mk, [
|
|
28881
28879
|
Y(" 选择转换是的字段及对字段的格式化方法 "),
|
|
28882
28880
|
b(O(ke), {
|
|
28883
28881
|
type: "success",
|
|
@@ -28893,7 +28891,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28893
28891
|
])
|
|
28894
28892
|
]),
|
|
28895
28893
|
default: Q(() => [
|
|
28896
|
-
(
|
|
28894
|
+
(A(!0), F(ne, null, Re(T.value.toObjectSetting, (L, Z) => (A(), te(M, {
|
|
28897
28895
|
gutter: 10,
|
|
28898
28896
|
style: { "margin-bottom": "10px" }
|
|
28899
28897
|
}, {
|
|
@@ -28902,12 +28900,12 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28902
28900
|
default: Q(() => [
|
|
28903
28901
|
b(q, {
|
|
28904
28902
|
modelValue: L.field,
|
|
28905
|
-
"onUpdate:modelValue": (
|
|
28903
|
+
"onUpdate:modelValue": (le) => L.field = le
|
|
28906
28904
|
}, {
|
|
28907
28905
|
default: Q(() => [
|
|
28908
|
-
(
|
|
28909
|
-
value:
|
|
28910
|
-
label:
|
|
28906
|
+
(A(!0), F(ne, null, Re(O(l), (le) => (A(), te(B, {
|
|
28907
|
+
value: le.value,
|
|
28908
|
+
label: le.name
|
|
28911
28909
|
}, null, 8, ["value", "label"]))), 256))
|
|
28912
28910
|
]),
|
|
28913
28911
|
_: 2
|
|
@@ -28919,7 +28917,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28919
28917
|
default: Q(() => [
|
|
28920
28918
|
b(q, {
|
|
28921
28919
|
modelValue: L.format,
|
|
28922
|
-
"onUpdate:modelValue": (
|
|
28920
|
+
"onUpdate:modelValue": (le) => L.format = le
|
|
28923
28921
|
}, {
|
|
28924
28922
|
default: Q(() => [
|
|
28925
28923
|
b(B, {
|
|
@@ -28940,7 +28938,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28940
28938
|
]),
|
|
28941
28939
|
_: 2
|
|
28942
28940
|
}, 1024),
|
|
28943
|
-
L.format === "text" ? (
|
|
28941
|
+
L.format === "text" ? (A(), te(_e, {
|
|
28944
28942
|
key: 0,
|
|
28945
28943
|
span: 11,
|
|
28946
28944
|
class: "column-Object-setting-format-type"
|
|
@@ -28950,18 +28948,18 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28950
28948
|
b(j, {
|
|
28951
28949
|
"controls-position": "right",
|
|
28952
28950
|
modelValue: L.formatType.start,
|
|
28953
|
-
"onUpdate:modelValue": (
|
|
28951
|
+
"onUpdate:modelValue": (le) => L.formatType.start = le
|
|
28954
28952
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
28955
28953
|
Y(" 结束: "),
|
|
28956
28954
|
b(j, {
|
|
28957
28955
|
"controls-position": "right",
|
|
28958
28956
|
modelValue: L.formatType.end,
|
|
28959
|
-
"onUpdate:modelValue": (
|
|
28957
|
+
"onUpdate:modelValue": (le) => L.formatType.end = le
|
|
28960
28958
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
28961
28959
|
]),
|
|
28962
28960
|
_: 2
|
|
28963
|
-
}, 1024)) :
|
|
28964
|
-
L.format === "number" ? (
|
|
28961
|
+
}, 1024)) : oe("", !0),
|
|
28962
|
+
L.format === "number" ? (A(), te(_e, {
|
|
28965
28963
|
key: 1,
|
|
28966
28964
|
span: 11,
|
|
28967
28965
|
class: "column-Object-setting-format-type"
|
|
@@ -28970,12 +28968,12 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28970
28968
|
Y(" 小数位数: "),
|
|
28971
28969
|
b(j, {
|
|
28972
28970
|
modelValue: L.formatType.decimal,
|
|
28973
|
-
"onUpdate:modelValue": (
|
|
28971
|
+
"onUpdate:modelValue": (le) => L.formatType.decimal = le
|
|
28974
28972
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
28975
28973
|
]),
|
|
28976
28974
|
_: 2
|
|
28977
|
-
}, 1024)) :
|
|
28978
|
-
L.format === "datetime" ? (
|
|
28975
|
+
}, 1024)) : oe("", !0),
|
|
28976
|
+
L.format === "datetime" ? (A(), te(_e, {
|
|
28979
28977
|
key: 2,
|
|
28980
28978
|
span: 11,
|
|
28981
28979
|
class: "column-Object-setting-format-type"
|
|
@@ -28984,7 +28982,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
28984
28982
|
Y(" 格式: "),
|
|
28985
28983
|
b(q, {
|
|
28986
28984
|
modelValue: L.formatType.dateTimeFormat,
|
|
28987
|
-
"onUpdate:modelValue": (
|
|
28985
|
+
"onUpdate:modelValue": (le) => L.formatType.dateTimeFormat = le
|
|
28988
28986
|
}, {
|
|
28989
28987
|
default: Q(() => [
|
|
28990
28988
|
b(B, { value: "YYYY-MM-DD HH:mm:ss" }),
|
|
@@ -29005,14 +29003,14 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29005
29003
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
29006
29004
|
]),
|
|
29007
29005
|
_: 2
|
|
29008
|
-
}, 1024)) :
|
|
29006
|
+
}, 1024)) : oe("", !0),
|
|
29009
29007
|
b(_e, { span: 2 }, {
|
|
29010
29008
|
default: Q(() => [
|
|
29011
29009
|
b(O(ke), {
|
|
29012
29010
|
type: "danger",
|
|
29013
29011
|
text: "",
|
|
29014
29012
|
size: "small",
|
|
29015
|
-
onClick: (
|
|
29013
|
+
onClick: (le) => y(Z),
|
|
29016
29014
|
plain: ""
|
|
29017
29015
|
}, {
|
|
29018
29016
|
default: Q(() => [
|
|
@@ -29031,15 +29029,15 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29031
29029
|
})
|
|
29032
29030
|
]),
|
|
29033
29031
|
_: 1
|
|
29034
|
-
})) :
|
|
29032
|
+
})) : oe("", !0),
|
|
29035
29033
|
b(_e, { span: 24 }, {
|
|
29036
29034
|
default: Q(() => [
|
|
29037
29035
|
b(C, null, {
|
|
29038
29036
|
label: Q(() => [
|
|
29039
|
-
|
|
29037
|
+
V("div", Yk, [
|
|
29040
29038
|
qk,
|
|
29041
|
-
|
|
29042
|
-
k.value ? (
|
|
29039
|
+
V("div", Uk, [
|
|
29040
|
+
k.value ? (A(), F(ne, { key: 1 }, [
|
|
29043
29041
|
b(O(ke), {
|
|
29044
29042
|
type: "info",
|
|
29045
29043
|
onClick: N,
|
|
@@ -29060,7 +29058,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29060
29058
|
]),
|
|
29061
29059
|
_: 1
|
|
29062
29060
|
})
|
|
29063
|
-
], 64)) : (
|
|
29061
|
+
], 64)) : (A(), te(O(ke), {
|
|
29064
29062
|
key: 0,
|
|
29065
29063
|
type: "success",
|
|
29066
29064
|
onClick: U,
|
|
@@ -29075,10 +29073,10 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29075
29073
|
])
|
|
29076
29074
|
]),
|
|
29077
29075
|
default: Q(() => [
|
|
29078
|
-
|
|
29076
|
+
V("div", Dk, [
|
|
29079
29077
|
b(M, { gutter: 10 }, {
|
|
29080
29078
|
default: Q(() => [
|
|
29081
|
-
(
|
|
29079
|
+
(A(!0), F(ne, null, Re(T.value.columns, (L) => (A(), te(_e, { span: 12 }, {
|
|
29082
29080
|
default: Q(() => [
|
|
29083
29081
|
b(M, { gutter: 10 }, {
|
|
29084
29082
|
default: Q(() => [
|
|
@@ -29103,10 +29101,10 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29103
29101
|
default: Q(() => [
|
|
29104
29102
|
b(C, null, {
|
|
29105
29103
|
label: Q(() => [
|
|
29106
|
-
|
|
29107
|
-
|
|
29108
|
-
|
|
29109
|
-
L.isCustom ? (
|
|
29104
|
+
V("div", Wk, [
|
|
29105
|
+
V("div", zk, qe(L.isCustom ? "字段键名(自定义)" : "字段键名"), 1),
|
|
29106
|
+
V("div", jk, [
|
|
29107
|
+
L.isCustom ? (A(), te(O(ke), {
|
|
29110
29108
|
key: 0,
|
|
29111
29109
|
type: "danger",
|
|
29112
29110
|
size: "small",
|
|
@@ -29117,7 +29115,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29117
29115
|
Y(" 删除 ")
|
|
29118
29116
|
]),
|
|
29119
29117
|
_: 1
|
|
29120
|
-
})) :
|
|
29118
|
+
})) : oe("", !0)
|
|
29121
29119
|
])
|
|
29122
29120
|
])
|
|
29123
29121
|
]),
|
|
@@ -29142,7 +29140,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29142
29140
|
]),
|
|
29143
29141
|
_: 1
|
|
29144
29142
|
}),
|
|
29145
|
-
k.value ? (
|
|
29143
|
+
k.value ? (A(), F("div", Ik, [
|
|
29146
29144
|
Bk,
|
|
29147
29145
|
b(C, { label: "字段名" }, {
|
|
29148
29146
|
default: Q(() => [
|
|
@@ -29171,7 +29169,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29171
29169
|
]),
|
|
29172
29170
|
_: 1
|
|
29173
29171
|
})
|
|
29174
|
-
])) :
|
|
29172
|
+
])) : oe("", !0)
|
|
29175
29173
|
])
|
|
29176
29174
|
]),
|
|
29177
29175
|
_: 1
|
|
@@ -29179,7 +29177,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29179
29177
|
]),
|
|
29180
29178
|
_: 1
|
|
29181
29179
|
})
|
|
29182
|
-
], 64)) :
|
|
29180
|
+
], 64)) : oe("", !0)
|
|
29183
29181
|
]),
|
|
29184
29182
|
_: 1
|
|
29185
29183
|
})
|
|
@@ -29192,7 +29190,7 @@ const ok = /* @__PURE__ */ Be({
|
|
|
29192
29190
|
]),
|
|
29193
29191
|
_: 1
|
|
29194
29192
|
})
|
|
29195
|
-
])) :
|
|
29193
|
+
])) : oe("", !0)
|
|
29196
29194
|
]),
|
|
29197
29195
|
_: 1
|
|
29198
29196
|
}, 8, ["modelValue"])
|
|
@@ -29210,7 +29208,7 @@ const Hi = /* @__PURE__ */ Be({
|
|
|
29210
29208
|
const e = n;
|
|
29211
29209
|
return (t, i) => {
|
|
29212
29210
|
const s = ce("el-button"), r = ce("el-tooltip");
|
|
29213
|
-
return
|
|
29211
|
+
return A(), te(r, {
|
|
29214
29212
|
effect: "dark",
|
|
29215
29213
|
content: e.content,
|
|
29216
29214
|
placement: "bottom"
|
|
@@ -29273,12 +29271,12 @@ function Xf(n, e = 1) {
|
|
|
29273
29271
|
formWidth: s
|
|
29274
29272
|
};
|
|
29275
29273
|
}
|
|
29276
|
-
const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" }, Jk = { class: "statement-actions" }, eT = /* @__PURE__ */
|
|
29277
|
-
/* @__PURE__ */
|
|
29274
|
+
const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" }, Jk = { class: "statement-actions" }, eT = /* @__PURE__ */ V("i", { class: "yhreport-icon report-chexiao" }, null, -1), tT = /* @__PURE__ */ V("i", { class: "yhreport-icon report-huifu" }, null, -1), iT = /* @__PURE__ */ V("i", { class: "yhreport-icon report-save" }, null, -1), nT = /* @__PURE__ */ V("i", { class: "yhreport-icon report-help" }, null, -1), sT = /* @__PURE__ */ V("i", { class: "yhreport-icon report-preview" }, null, -1), rT = /* @__PURE__ */ V("i", { class: "yhreport-icon report-un-preview" }, null, -1), lT = { class: "statement-design-body" }, oT = /* @__PURE__ */ V("div", { class: "drag-tap right" }, null, -1), aT = { class: "statement-option" }, uT = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
|
|
29275
|
+
/* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "图表/报表")
|
|
29278
29276
|
], -1), hT = ["onClick"], cT = { class: "statement-block-item-content" }, fT = { class: "statement-block-item-title" }, dT = { class: "statement-block-item-id" }, OT = {
|
|
29279
29277
|
key: 1,
|
|
29280
29278
|
class: "statement-content"
|
|
29281
|
-
}, pT = /* @__PURE__ */
|
|
29279
|
+
}, pT = /* @__PURE__ */ V("div", { class: "drag-tap left" }, null, -1), kT = /* @__PURE__ */ Be({
|
|
29282
29280
|
__name: "StatementDesign",
|
|
29283
29281
|
setup(n) {
|
|
29284
29282
|
const e = xt(), { detail: t, isPreview: i, active: s, activeCells: r, activeIndex: l, historyIndex: o, historyLength: a } = St(e), { getDetail: u, saveStatement: h, prevHistory: c, nextHistory: f, activeChooseHandle: d } = e, p = Qe(), v = be(() => {
|
|
@@ -29465,7 +29463,7 @@ const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" },
|
|
|
29465
29463
|
}), (z, D) => {
|
|
29466
29464
|
var se;
|
|
29467
29465
|
const H = ce("el-alert"), G = ce("el-button-group");
|
|
29468
|
-
return
|
|
29466
|
+
return A(), F(ne, null, [
|
|
29469
29467
|
b(H, {
|
|
29470
29468
|
class: vt(["statement-alert", { show: O(N) }]),
|
|
29471
29469
|
title: O(X),
|
|
@@ -29474,18 +29472,18 @@ const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" },
|
|
|
29474
29472
|
closable: !1,
|
|
29475
29473
|
effect: "dark"
|
|
29476
29474
|
}, null, 8, ["class", "title", "description"]),
|
|
29477
|
-
|
|
29475
|
+
V("section", {
|
|
29478
29476
|
class: "yh-statement-design-container",
|
|
29479
29477
|
ref_key: "designContainerRef",
|
|
29480
29478
|
ref: p
|
|
29481
29479
|
}, [
|
|
29482
|
-
|
|
29483
|
-
|
|
29484
|
-
|
|
29480
|
+
V("div", Hk, [
|
|
29481
|
+
V("div", Kk, qe((se = O(t)) == null ? void 0 : se.name), 1),
|
|
29482
|
+
V("div", Jk, [
|
|
29485
29483
|
b(G, null, {
|
|
29486
29484
|
default: Q(() => [
|
|
29487
|
-
O(i) ? (
|
|
29488
|
-
O(i) ? (
|
|
29485
|
+
O(i) ? (A(), F(ne, { key: 1 }, [
|
|
29486
|
+
O(i) ? (A(), te(Hi, {
|
|
29489
29487
|
key: 0,
|
|
29490
29488
|
content: "退出预览",
|
|
29491
29489
|
onClick: D[2] || (D[2] = (de) => i.value = !1)
|
|
@@ -29494,8 +29492,8 @@ const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" },
|
|
|
29494
29492
|
rT
|
|
29495
29493
|
]),
|
|
29496
29494
|
_: 1
|
|
29497
|
-
})) :
|
|
29498
|
-
], 64)) : (
|
|
29495
|
+
})) : oe("", !0)
|
|
29496
|
+
], 64)) : (A(), F(ne, { key: 0 }, [
|
|
29499
29497
|
b(Hi, {
|
|
29500
29498
|
content: "撤回(Ctrl+Z)",
|
|
29501
29499
|
disabled: O(a) <= 0 || O(o) <= 0,
|
|
@@ -29550,8 +29548,8 @@ const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" },
|
|
|
29550
29548
|
})
|
|
29551
29549
|
])
|
|
29552
29550
|
]),
|
|
29553
|
-
|
|
29554
|
-
zt(
|
|
29551
|
+
V("div", lT, [
|
|
29552
|
+
zt(V("div", {
|
|
29555
29553
|
class: "statement-form left",
|
|
29556
29554
|
ref_key: "leftFormRef",
|
|
29557
29555
|
ref: S,
|
|
@@ -29564,7 +29562,7 @@ const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" },
|
|
|
29564
29562
|
default: Q(() => [
|
|
29565
29563
|
b(O($u), { label: "组件/数据" }, {
|
|
29566
29564
|
default: Q(() => [
|
|
29567
|
-
|
|
29565
|
+
V("div", aT, [
|
|
29568
29566
|
uT,
|
|
29569
29567
|
b(g_, { chartReportList: O(_l) }, null, 8, ["chartReportList"]),
|
|
29570
29568
|
b(Gk)
|
|
@@ -29574,16 +29572,16 @@ const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" },
|
|
|
29574
29572
|
}),
|
|
29575
29573
|
b(O($u), { label: "组件树" }, {
|
|
29576
29574
|
default: Q(() => [
|
|
29577
|
-
(
|
|
29575
|
+
(A(!0), F(ne, null, Re(O(_), (de, _e) => (A(), F("div", {
|
|
29578
29576
|
class: vt(["statement-block-item", { active: de.isActive }]),
|
|
29579
29577
|
onClick: (W) => m(de.option, _e)
|
|
29580
29578
|
}, [
|
|
29581
|
-
|
|
29579
|
+
V("div", {
|
|
29582
29580
|
class: vt(`statement-block-item-icon iconfont ${de.icon}`)
|
|
29583
29581
|
}, null, 2),
|
|
29584
|
-
|
|
29585
|
-
|
|
29586
|
-
|
|
29582
|
+
V("div", cT, [
|
|
29583
|
+
V("div", fT, qe(de.name), 1),
|
|
29584
|
+
V("div", dT, qe(de.id), 1)
|
|
29587
29585
|
])
|
|
29588
29586
|
], 10, hT))), 256))
|
|
29589
29587
|
]),
|
|
@@ -29595,13 +29593,13 @@ const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" },
|
|
|
29595
29593
|
], 4), [
|
|
29596
29594
|
[jt, !O(i)]
|
|
29597
29595
|
]),
|
|
29598
|
-
O(i) ?
|
|
29599
|
-
O(i) ? (
|
|
29596
|
+
O(i) ? oe("", !0) : (A(), te(c_, { key: 0 })),
|
|
29597
|
+
O(i) ? (A(), F("div", OT, [
|
|
29600
29598
|
b(hg, {
|
|
29601
29599
|
id: O($).params.id
|
|
29602
29600
|
}, null, 8, ["id"])
|
|
29603
|
-
])) :
|
|
29604
|
-
zt(
|
|
29601
|
+
])) : oe("", !0),
|
|
29602
|
+
zt(V("div", {
|
|
29605
29603
|
class: "statement-form",
|
|
29606
29604
|
ref_key: "rightFormRef",
|
|
29607
29605
|
ref: E,
|
|
@@ -29627,4 +29625,4 @@ const Hk = { class: "statement-design-top" }, Kk = { class: "statement-name" },
|
|
|
29627
29625
|
export {
|
|
29628
29626
|
kT as default
|
|
29629
29627
|
};
|
|
29630
|
-
//# sourceMappingURL=StatementDesign-
|
|
29628
|
+
//# sourceMappingURL=StatementDesign-46d219e4.mjs.map
|