yh-report 2.3.21 → 2.3.22

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.
@@ -1,9 +1,9 @@
1
- import { onMounted as Ti, onUnmounted as _s, ref as be, computed as _e, shallowReactive as Nm, watch as Qs, defineComponent as it, resolveComponent as he, openBlock as q, createElementBlock as F, createElementVNode as V, normalizeStyle as Pt, unref as g, Fragment as oe, renderList as qe, normalizeClass as Zt, createCommentVNode as ce, createBlock as re, withCtx as b, createVNode as _, createTextVNode as D, toDisplayString as Ue, reactive as yr, resolveDynamicComponent as jm, renderSlot as In, useCssVars as Gm, onActivated as Lf, onDeactivated as zf, toRaw as Fm, withDirectives as Ut, vShow as Wt, isRef as Hm, withKeys as Km, nextTick as Jm, mergeProps as eg } from "vue";
1
+ import { onMounted as Ti, onUnmounted as _s, ref as be, computed as _e, shallowReactive as Nm, watch as Qs, defineComponent as it, resolveComponent as he, openBlock as q, createElementBlock as F, createElementVNode as A, normalizeStyle as Pt, unref as g, Fragment as oe, renderList as qe, normalizeClass as Zt, createCommentVNode as ce, createBlock as re, withCtx as b, createVNode as _, createTextVNode as D, toDisplayString as Ue, reactive as yr, resolveDynamicComponent as jm, renderSlot as In, useCssVars as Gm, onActivated as Lf, onDeactivated as zf, toRaw as Fm, withDirectives as Ut, vShow as Wt, isRef as Hm, withKeys as Km, nextTick as Jm, mergeProps as eg } from "vue";
2
2
  import { ElMessageBox as Uf, ElMessage as Di, ElEmpty as tg, ElDialog as Wf, ElFormItem as ye, ElInput as ni, ElSwitch as pi, ElButton as Te, ElRadioGroup as Gi, ElRadioButton as Le, ElColorPicker as ku, ElCheckbox as Tu, ElForm as ig, ElTabs as If, ElCollapse as ng, ElCollapseItem as sg, ElTabPane as Cu } from "element-plus";
3
3
  import { useRoute as Bf, useRouter as rg } from "vue-router";
4
4
  import { defineStore as lg, storeToRefs as yt } from "pinia";
5
5
  import { a as ag } from "./editorLock-afc375cb.mjs";
6
- import { C as de, b as og, s as ug, F as Xe, r as hg, c as cg, e as va, f as fg, _ as dg, D as Sa, p as Og, h as Xu, i as Ts, j as Ru, v as pg, k as Nf, l as mg, m as gg, T as _l, n as _g, I as Qg, o as bg } from "./index-ea29746f.mjs";
6
+ import { C as de, b as og, s as ug, F as Xe, r as hg, c as cg, e as va, f as fg, _ as dg, D as Sa, p as Og, h as Xu, i as Ts, j as Ru, v as pg, k as Nf, l as mg, m as gg, T as _l, n as _g, I as Qg, o as bg } from "./index-08507a23.mjs";
7
7
  import { cloneDeep as He, set as Xt, get as yg } from "lodash-es";
8
8
  import "@/libs/api.request.js";
9
9
  import "echarts";
@@ -83,7 +83,7 @@ function wg(n) {
83
83
  });
84
84
  });
85
85
  }), ue;
86
- }), h = be(null), c = be(!1), f = be(null), d = be(!1), O = be([]), y = be([]), m = be(!1), p = be(null), v = be(!1), A = be(null), S = (ue, ge) => {
86
+ }), h = be(null), c = be(!1), f = be(null), d = be(!1), O = be([]), y = be([]), m = be(!1), p = be(null), v = be(!1), V = be(null), S = (ue, ge) => {
87
87
  e.value = ue, t.value = ge, ue.type === "report" && ue.tableConfig && ue.tableConfig.length ? (a.value = 0, h.value = [
88
88
  {
89
89
  type: de.CELL,
@@ -204,7 +204,7 @@ function wg(n) {
204
204
  isOneRow: m,
205
205
  activeRow: p,
206
206
  isOneCol: v,
207
- activeCol: A,
207
+ activeCol: V,
208
208
  prevActive: i,
209
209
  nextActive: s,
210
210
  activeChooseHandle: S,
@@ -225,7 +225,7 @@ const Ql = {}, vt = function() {
225
225
  const t = wg(n.params.id);
226
226
  return Ql[e] = t, t;
227
227
  }
228
- }, Pg = { class: "report-desinger-table" }, kg = /* @__PURE__ */ V("col", { width: 101 }, null, -1), Tg = ["width"], Cg = ["title", "data-area", "data-col", "data-row", "data-index", "data-table", "rowspan", "colspan"], Xg = {
228
+ }, Pg = { class: "report-desinger-table" }, kg = /* @__PURE__ */ A("col", { width: 101 }, null, -1), Tg = ["width"], Cg = ["title", "data-area", "data-col", "data-row", "data-index", "data-table", "rowspan", "colspan"], Xg = {
229
229
  key: 0,
230
230
  class: "yh-report-icon report-icon-fenzubiaoge"
231
231
  }, Rg = {
@@ -413,7 +413,7 @@ const Ql = {}, vt = function() {
413
413
  }, v = ($) => {
414
414
  var P;
415
415
  (P = r.value) == null || P.tableConfig.splice($, 1);
416
- }, A = ($) => {
416
+ }, V = ($) => {
417
417
  if ($ > 0 && r.value && r.value.tableConfig) {
418
418
  let P = r.value.tableConfig[$];
419
419
  P && (r.value.tableConfig.splice($, 1), r.value.tableConfig.splice($ - 1, 0, P), s.value = $ - 1);
@@ -450,11 +450,11 @@ const Ql = {}, vt = function() {
450
450
  }), ($, P) => {
451
451
  const w = he("el-button"), k = he("el-button-group");
452
452
  return q(), F("div", Pg, [
453
- V("table", {
453
+ A("table", {
454
454
  class: "report-desinger-table-content",
455
455
  style: Pt(`width: ${g(u)}px;`)
456
456
  }, [
457
- V("colgroup", null, [
457
+ A("colgroup", null, [
458
458
  kg,
459
459
  (q(!0), F(oe, null, qe(g(o), (R) => (q(), F("col", {
460
460
  width: R == null ? void 0 : R.size
@@ -533,7 +533,7 @@ const Ql = {}, vt = function() {
533
533
  type: "primary",
534
534
  size: "small",
535
535
  disabled: e.tableIndex === 0,
536
- onClick: P[2] || (P[2] = (pe) => A(e.tableIndex))
536
+ onClick: P[2] || (P[2] = (pe) => V(e.tableIndex))
537
537
  }, {
538
538
  default: b(() => [
539
539
  D(" ↑ ")
@@ -568,9 +568,9 @@ const Ql = {}, vt = function() {
568
568
  class: "params-desinger desinger-container report-drop-target",
569
569
  "data-source": "column",
570
570
  "data-target": "params"
571
- }, Dg = ["data-index"], Lg = /* @__PURE__ */ V("i", { class: "iconfont icon-delete" }, null, -1), zg = [
571
+ }, Dg = ["data-index"], Lg = /* @__PURE__ */ A("i", { class: "iconfont icon-delete" }, null, -1), zg = [
572
572
  Lg
573
- ], Ug = { class: "report-desinger-container" }, Wg = /* @__PURE__ */ V("div", { class: "report-desinger-toolbar" }, null, -1), Ig = { class: "yh-statement-table-actions" }, Bg = /* @__PURE__ */ V("i", { class: "iconfont icon-top" }, null, -1), Ng = /* @__PURE__ */ V("i", { class: "iconfont icon-bottom" }, null, -1), jg = /* @__PURE__ */ V("i", { class: "iconfont icon-delete2" }, null, -1), Gg = ["data-index"], Fg = ["data-index"], Hg = /* @__PURE__ */ it({
573
+ ], Ug = { class: "report-desinger-container" }, Wg = /* @__PURE__ */ A("div", { class: "report-desinger-toolbar" }, null, -1), Ig = { class: "yh-statement-table-actions" }, Bg = /* @__PURE__ */ A("i", { class: "iconfont icon-top" }, null, -1), Ng = /* @__PURE__ */ A("i", { class: "iconfont icon-bottom" }, null, -1), jg = /* @__PURE__ */ A("i", { class: "iconfont icon-delete2" }, null, -1), Gg = ["data-index"], Fg = ["data-index"], Hg = /* @__PURE__ */ it({
574
574
  __name: "reportDesignItem",
575
575
  props: {
576
576
  option: null,
@@ -634,22 +634,22 @@ const Ql = {}, vt = function() {
634
634
  left: "0px",
635
635
  top: "0px"
636
636
  });
637
- let A = null;
637
+ let V = null;
638
638
  function S(w) {
639
639
  var k, R;
640
640
  if (!w.target.classList.contains("drag-bar") && (k = w.target) != null && k.closest(".report-desinger-table-content")) {
641
641
  let { pageX: Q, pageY: T } = w, { x: X = 0, y: z = 0 } = ((R = y.value) == null ? void 0 : R.getBoundingClientRect()) || {};
642
- A = {}, A.x = Q, A.y = T, A.tableX = X, A.tableY = z, v.left = Q - X + "px", v.top = T - z + "px";
642
+ V = {}, V.x = Q, V.y = T, V.tableX = X, V.tableY = z, v.left = Q - X + "px", v.top = T - z + "px";
643
643
  }
644
644
  }
645
645
  function $(w) {
646
- if (A !== null) {
647
- let { pageX: k, pageY: R } = w, { tableX: Q, tableY: T, x: X, y: z } = A;
646
+ if (V !== null) {
647
+ let { pageX: k, pageY: R } = w, { tableX: Q, tableY: T, x: X, y: z } = V;
648
648
  k > X ? v.width = k - X - 1 + "px" : (v.left = k - Q + "px", v.width = X - k + "px"), R > z ? v.height = R - z - 1 + "px" : (v.top = R - T + "px", v.height = z - R + "px");
649
649
  }
650
650
  }
651
651
  function P(w) {
652
- A = null, v.width = "0px", v.height = "0px", v.left = "0px", v.top = "0px";
652
+ V = null, v.width = "0px", v.height = "0px", v.left = "0px", v.top = "0px";
653
653
  }
654
654
  return Ti(async () => {
655
655
  y.value && (y.value.addEventListener("mousedown", S), document.addEventListener("mousemove", $), document.addEventListener("mouseup", P));
@@ -667,7 +667,7 @@ const Ql = {}, vt = function() {
667
667
  ref_key: "statementTableRef",
668
668
  ref: y
669
669
  }, [
670
- V("div", Mg, [
670
+ A("div", Mg, [
671
671
  _(Q, { inline: "" }, {
672
672
  default: b(() => [
673
673
  (q(!0), F(oe, null, qe(g(f), (X, z) => (q(), re(R, {
@@ -686,7 +686,7 @@ const Ql = {}, vt = function() {
686
686
  type: X.type,
687
687
  placeholder: X.placeholer
688
688
  }, null, 8, ["type", "placeholder"])),
689
- V("div", {
689
+ A("div", {
690
690
  class: "del",
691
691
  "data-type": "params",
692
692
  "data-index": z,
@@ -699,7 +699,7 @@ const Ql = {}, vt = function() {
699
699
  _: 1
700
700
  })
701
701
  ]),
702
- V("div", Ug, [
702
+ A("div", Ug, [
703
703
  Wg,
704
704
  (q(!0), F(oe, null, qe(g(h).tableConfig, (X, z) => (q(), re(Eg, {
705
705
  "table-config": X,
@@ -707,7 +707,7 @@ const Ql = {}, vt = function() {
707
707
  index: t.index
708
708
  }, null, 8, ["table-config", "table-index", "index"]))), 256))
709
709
  ]),
710
- V("div", Ig, [
710
+ A("div", Ig, [
711
711
  _(T, {
712
712
  type: "primary",
713
713
  disabled: t.index === 0,
@@ -738,7 +738,7 @@ const Ql = {}, vt = function() {
738
738
  _: 1
739
739
  })
740
740
  ]),
741
- V("div", {
741
+ A("div", {
742
742
  class: "yh-statement-table-choose-area",
743
743
  style: Pt(v)
744
744
  }, null, 4),
@@ -748,19 +748,19 @@ const Ql = {}, vt = function() {
748
748
  "data-area": "tablewidth",
749
749
  "data-index": t.index
750
750
  }, null, 8, Gg)) : ce("", !0),
751
- V("div", {
751
+ A("div", {
752
752
  class: "drag-bar horizontal mouse-move-target",
753
753
  "data-area": "tableheight",
754
754
  "data-index": t.index
755
755
  }, null, 8, Fg),
756
- V("div", {
756
+ A("div", {
757
757
  class: "yh-statement-table-mask",
758
758
  onClick: m
759
759
  })
760
760
  ], 14, qg);
761
761
  };
762
762
  }
763
- }), Kg = ["data-index"], Jg = { class: "yh-statement-table-actions" }, e_ = /* @__PURE__ */ V("i", { class: "iconfont icon-drag" }, null, -1), t_ = /* @__PURE__ */ V("i", { class: "iconfont icon-diceng" }, null, -1), i_ = /* @__PURE__ */ V("i", { class: "iconfont icon-dingceng" }, null, -1), n_ = /* @__PURE__ */ V("i", { class: "iconfont icon-top" }, null, -1), s_ = /* @__PURE__ */ V("i", { class: "iconfont icon-bottom" }, null, -1), r_ = /* @__PURE__ */ V("i", { class: "iconfont icon-delete2" }, null, -1), l_ = ["data-index"], a_ = ["data-index"], o_ = /* @__PURE__ */ it({
763
+ }), Kg = ["data-index"], Jg = { class: "yh-statement-table-actions" }, e_ = /* @__PURE__ */ A("i", { class: "iconfont icon-drag" }, null, -1), t_ = /* @__PURE__ */ A("i", { class: "iconfont icon-diceng" }, null, -1), i_ = /* @__PURE__ */ A("i", { class: "iconfont icon-dingceng" }, null, -1), n_ = /* @__PURE__ */ A("i", { class: "iconfont icon-top" }, null, -1), s_ = /* @__PURE__ */ A("i", { class: "iconfont icon-bottom" }, null, -1), r_ = /* @__PURE__ */ A("i", { class: "iconfont icon-delete2" }, null, -1), l_ = ["data-index"], a_ = ["data-index"], o_ = /* @__PURE__ */ it({
764
764
  __name: "chartDesignItem",
765
765
  props: {
766
766
  index: null
@@ -818,7 +818,7 @@ const Ql = {}, vt = function() {
818
818
  style: Pt(g(u))
819
819
  }, [
820
820
  In(O.$slots, "default"),
821
- V("div", Jg, [
821
+ A("div", Jg, [
822
822
  g(o).isSuspend ? (q(), F(oe, { key: 0 }, [
823
823
  _(m, {
824
824
  type: "primary",
@@ -885,24 +885,24 @@ const Ql = {}, vt = function() {
885
885
  _: 1
886
886
  })
887
887
  ]),
888
- V("div", {
888
+ A("div", {
889
889
  class: "drag-bar mouse-move-target",
890
890
  "data-area": "tablewidth",
891
891
  "data-index": t.index
892
892
  }, null, 8, l_),
893
- V("div", {
893
+ A("div", {
894
894
  class: "drag-bar horizontal mouse-move-target",
895
895
  "data-area": "tableheight",
896
896
  "data-index": t.index
897
897
  }, null, 8, a_),
898
- V("div", {
898
+ A("div", {
899
899
  class: "yh-statement-table-mask",
900
900
  onClick: f
901
901
  })
902
902
  ], 14, Kg);
903
903
  };
904
904
  }
905
- }), u_ = ["data-index"], h_ = { class: "yh-statement-table-actions" }, c_ = /* @__PURE__ */ V("i", { class: "iconfont icon-top" }, null, -1), f_ = /* @__PURE__ */ V("i", { class: "iconfont icon-bottom" }, null, -1), d_ = /* @__PURE__ */ V("i", { class: "iconfont icon-delete2" }, null, -1), O_ = ["data-index"], p_ = ["data-index"], m_ = /* @__PURE__ */ it({
905
+ }), u_ = ["data-index"], h_ = { class: "yh-statement-table-actions" }, c_ = /* @__PURE__ */ A("i", { class: "iconfont icon-top" }, null, -1), f_ = /* @__PURE__ */ A("i", { class: "iconfont icon-bottom" }, null, -1), d_ = /* @__PURE__ */ A("i", { class: "iconfont icon-delete2" }, null, -1), O_ = ["data-index"], p_ = ["data-index"], m_ = /* @__PURE__ */ it({
906
906
  __name: "labelDesignItem",
907
907
  props: {
908
908
  index: null,
@@ -922,10 +922,10 @@ const Ql = {}, vt = function() {
922
922
  r.value.options[t.index] = p;
923
923
  }
924
924
  }), u = _e(() => {
925
- let p = o.value.widthUnit || "px", v = o.value.heightUnit || "px", A = {
925
+ let p = o.value.widthUnit || "px", v = o.value.heightUnit || "px", V = {
926
926
  height: o.value.height + v
927
927
  };
928
- return p === "%" ? A.width = `calc( ${o.value.width}${p} - 10px)` : A.width = `${o.value.width - 10}${p}`, A;
928
+ return p === "%" ? V.width = `calc( ${o.value.width}${p} - 10px)` : V.width = `${o.value.width - 10}${p}`, V;
929
929
  }), h = _e(() => `${o.value.height}px`), c = {
930
930
  SUM: "求和",
931
931
  AVG: "均值",
@@ -939,8 +939,8 @@ const Ql = {}, vt = function() {
939
939
  }, d = _e(() => {
940
940
  if (o.value.notSingle)
941
941
  if (o.value.keyIds && o.value.dataIds) {
942
- let p = o.value.keyIds, v = p.at(p.length - 1), A = o.value.groupBy ? "求和" : "", S = o.value.orderBy ? f[o.value.orderBy] : "";
943
- return A && (S = ` | ${S}`), o.value.cutLength && (S += ` | ${o.value.cutLength}`), `${v}:(${A}${S})`;
942
+ let p = o.value.keyIds, v = p.at(p.length - 1), V = o.value.groupBy ? "求和" : "", S = o.value.orderBy ? f[o.value.orderBy] : "";
943
+ return V && (S = ` | ${S}`), o.value.cutLength && (S += ` | ${o.value.cutLength}`), `${v}:(${V}${S})`;
944
944
  } else
945
945
  return o.value.keyIds ? o.value.dataIds ? "请需选择维度和指标" : "请需选择指标" : "请需选择维度";
946
946
  else
@@ -961,7 +961,7 @@ const Ql = {}, vt = function() {
961
961
  e("del", t.index);
962
962
  }
963
963
  return (p, v) => {
964
- const A = he("el-button");
964
+ const V = he("el-button");
965
965
  return q(), F("div", {
966
966
  class: Zt(["yh-statement-table report-drop-target", { active: t.index === g(s) }]),
967
967
  "data-source": "canvas",
@@ -969,12 +969,12 @@ const Ql = {}, vt = function() {
969
969
  "data-index": t.index,
970
970
  style: Pt(g(u))
971
971
  }, [
972
- V("div", {
972
+ A("div", {
973
973
  class: "yh-statement-custom-label",
974
974
  style: Pt(g(O))
975
975
  }, Ue(g(d)), 5),
976
- V("div", h_, [
977
- _(A, {
976
+ A("div", h_, [
977
+ _(V, {
978
978
  type: "primary",
979
979
  disabled: t.index === 0,
980
980
  onClick: v[0] || (v[0] = (S) => g(l)(t.index))
@@ -984,7 +984,7 @@ const Ql = {}, vt = function() {
984
984
  ]),
985
985
  _: 1
986
986
  }, 8, ["disabled"]),
987
- _(A, {
987
+ _(V, {
988
988
  type: "primary",
989
989
  disabled: t.index >= g(r).options.length - 1,
990
990
  onClick: v[1] || (v[1] = (S) => g(a)(t.index))
@@ -994,7 +994,7 @@ const Ql = {}, vt = function() {
994
994
  ]),
995
995
  _: 1
996
996
  }, 8, ["disabled"]),
997
- _(A, {
997
+ _(V, {
998
998
  type: "primary",
999
999
  title: "移除组件",
1000
1000
  onClick: m
@@ -1005,17 +1005,17 @@ const Ql = {}, vt = function() {
1005
1005
  _: 1
1006
1006
  })
1007
1007
  ]),
1008
- V("div", {
1008
+ A("div", {
1009
1009
  class: "drag-bar mouse-move-target",
1010
1010
  "data-area": "tablewidth",
1011
1011
  "data-index": t.index
1012
1012
  }, null, 8, O_),
1013
- V("div", {
1013
+ A("div", {
1014
1014
  class: "drag-bar horizontal mouse-move-target",
1015
1015
  "data-area": "tableheight",
1016
1016
  "data-index": t.index
1017
1017
  }, null, 8, p_),
1018
- V("div", {
1018
+ A("div", {
1019
1019
  class: "yh-statement-table-mask",
1020
1020
  onClick: y
1021
1021
  })
@@ -1159,7 +1159,7 @@ const g_ = /* @__PURE__ */ it({
1159
1159
  var S;
1160
1160
  (S = h.value) == null || S.addEventListener("mousedown", y), window.addEventListener("mousemove", m), window.addEventListener("mouseup", p);
1161
1161
  }
1162
- function A() {
1162
+ function V() {
1163
1163
  var S;
1164
1164
  (S = h.value) == null || S.removeEventListener("mousedown", y), window.removeEventListener("mousemove", m), window.removeEventListener("mouseup", p);
1165
1165
  }
@@ -1168,9 +1168,9 @@ const g_ = /* @__PURE__ */ it({
1168
1168
  }), Ti(() => {
1169
1169
  v();
1170
1170
  }), _s(() => {
1171
- A();
1171
+ V();
1172
1172
  }), zf(() => {
1173
- A();
1173
+ V();
1174
1174
  }), (S, $) => (q(), F("section", {
1175
1175
  class: "statement-canvas report-drop-target",
1176
1176
  ref_key: "statementRef",
@@ -1210,7 +1210,7 @@ const g_ = /* @__PURE__ */ it({
1210
1210
  })) : ce("", !0)
1211
1211
  ], 512));
1212
1212
  }
1213
- }), __ = /* @__PURE__ */ V("iframe", {
1213
+ }), __ = /* @__PURE__ */ A("iframe", {
1214
1214
  src: "http://docs.js.sforcecon.com:5900/view/604",
1215
1215
  frameborder: "0"
1216
1216
  }, null, -1), Q_ = /* @__PURE__ */ it({
@@ -1250,10 +1250,10 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
1250
1250
  "data-drag": i.type,
1251
1251
  "data-index": s
1252
1252
  }, [
1253
- V("i", {
1253
+ A("i", {
1254
1254
  class: Zt(["iconfont", i.icon])
1255
1255
  }, null, 2),
1256
- V("span", null, Ue(i.name), 1)
1256
+ A("span", null, Ue(i.name), 1)
1257
1257
  ], 8, y_))), 256))
1258
1258
  ]));
1259
1259
  }
@@ -1442,9 +1442,9 @@ const b_ = { class: "chart-series-wrapper" }, y_ = ["data-drag", "data-index"],
1442
1442
  value: "fireYear"
1443
1443
  }
1444
1444
  ]
1445
- }, P_ = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
1446
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "筛选参数配置")
1447
- ], -1), k_ = /* @__PURE__ */ V("br", null, null, -1), T_ = /* @__PURE__ */ V("br", null, null, -1), C_ = /* @__PURE__ */ V("br", null, null, -1), X_ = /* @__PURE__ */ V("br", null, null, -1), R_ = /* @__PURE__ */ V("br", null, null, -1), Z_ = /* @__PURE__ */ V("br", null, null, -1), V_ = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "开始时间(当前时间 - 时间段)", -1), A_ = /* @__PURE__ */ V("br", null, null, -1), Y_ = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "结束时间(当前时间)", -1), E_ = /* @__PURE__ */ V("br", null, null, -1), q_ = /* @__PURE__ */ V("br", null, null, -1), M_ = /* @__PURE__ */ V("br", null, null, -1), D_ = /* @__PURE__ */ V("br", null, null, -1), L_ = /* @__PURE__ */ V("br", null, null, -1), z_ = /* @__PURE__ */ V("br", null, null, -1), U_ = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "开始时间(00:00:00)", -1), W_ = /* @__PURE__ */ V("br", null, null, -1), I_ = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "结束时间(23:59:59)", -1), B_ = /* @__PURE__ */ it({
1445
+ }, P_ = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
1446
+ /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "筛选参数配置")
1447
+ ], -1), k_ = /* @__PURE__ */ A("br", null, null, -1), T_ = /* @__PURE__ */ A("br", null, null, -1), C_ = /* @__PURE__ */ A("br", null, null, -1), X_ = /* @__PURE__ */ A("br", null, null, -1), R_ = /* @__PURE__ */ A("br", null, null, -1), Z_ = /* @__PURE__ */ A("br", null, null, -1), V_ = /* @__PURE__ */ A("span", { class: "tooltip-span" }, "开始时间(当前时间 - 时间段)", -1), A_ = /* @__PURE__ */ A("br", null, null, -1), Y_ = /* @__PURE__ */ A("span", { class: "tooltip-span" }, "结束时间(当前时间)", -1), E_ = /* @__PURE__ */ A("br", null, null, -1), q_ = /* @__PURE__ */ A("br", null, null, -1), M_ = /* @__PURE__ */ A("br", null, null, -1), D_ = /* @__PURE__ */ A("br", null, null, -1), L_ = /* @__PURE__ */ A("br", null, null, -1), z_ = /* @__PURE__ */ A("br", null, null, -1), U_ = /* @__PURE__ */ A("span", { class: "tooltip-span" }, "开始时间(00:00:00)", -1), W_ = /* @__PURE__ */ A("br", null, null, -1), I_ = /* @__PURE__ */ A("span", { class: "tooltip-span" }, "结束时间(23:59:59)", -1), B_ = /* @__PURE__ */ it({
1448
1448
  __name: "paramEditor",
1449
1449
  setup(n) {
1450
1450
  const e = vt(), { activeParam: t } = yt(e), i = _e(() => {
@@ -4823,17 +4823,17 @@ function g0(n, e, t, i, s, r, l, a) {
4823
4823
  if (s == "nearest")
4824
4824
  e.top < f.top ? (p = e.top - (f.top + l), t > 0 && e.bottom > f.bottom + p && (p = e.bottom - f.bottom + l)) : e.bottom > f.bottom && (p = e.bottom - f.bottom + l, t < 0 && e.top - p < f.top && (p = e.top - (f.top + l)));
4825
4825
  else {
4826
- let v = e.bottom - e.top, A = f.bottom - f.top;
4827
- p = (s == "center" && v <= A ? e.top + v / 2 - A / 2 : s == "start" || s == "center" && t < 0 ? e.top - l : e.bottom - A + l) - f.top;
4826
+ let v = e.bottom - e.top, V = f.bottom - f.top;
4827
+ p = (s == "center" && v <= V ? e.top + v / 2 - V / 2 : s == "start" || s == "center" && t < 0 ? e.top - l : e.bottom - V + l) - f.top;
4828
4828
  }
4829
4829
  if (i == "nearest" ? e.left < f.left ? (m = e.left - (f.left + r), t > 0 && e.right > f.right + m && (m = e.right - f.right + r)) : e.right > f.right && (m = e.right - f.right + r, t < 0 && e.left < f.left + m && (m = e.left - (f.left + r))) : m = (i == "center" ? e.left + (e.right - e.left) / 2 - (f.right - f.left) / 2 : i == "start" == a ? e.left - r : e.right - (f.right - f.left) + r) - f.left, m || p)
4830
4830
  if (d)
4831
4831
  u.scrollBy(m, p);
4832
4832
  else {
4833
- let v = 0, A = 0;
4833
+ let v = 0, V = 0;
4834
4834
  if (p) {
4835
4835
  let S = h.scrollTop;
4836
- h.scrollTop += p / y, A = (h.scrollTop - S) * y;
4836
+ h.scrollTop += p / y, V = (h.scrollTop - S) * y;
4837
4837
  }
4838
4838
  if (m) {
4839
4839
  let S = h.scrollLeft;
@@ -4841,10 +4841,10 @@ function g0(n, e, t, i, s, r, l, a) {
4841
4841
  }
4842
4842
  e = {
4843
4843
  left: e.left - v,
4844
- top: e.top - A,
4844
+ top: e.top - V,
4845
4845
  right: e.right - v,
4846
- bottom: e.bottom - A
4847
- }, v && Math.abs(v - m) < 1 && (i = "nearest"), A && Math.abs(A - p) < 1 && (s = "nearest");
4846
+ bottom: e.bottom - V
4847
+ }, v && Math.abs(v - m) < 1 && (i = "nearest"), V && Math.abs(V - p) < 1 && (s = "nearest");
4848
4848
  }
4849
4849
  if (d)
4850
4850
  break;
@@ -6609,8 +6609,8 @@ class Ku extends Ae {
6609
6609
  $.breakAtStart ? P.breakAfter = 1 : $.content.length && P.merge(P.length, P.length, $.content[0], !1, $.openStart, 0) && (P.breakAfter = $.content[0].breakAfter, $.content.shift()), S.content.length && P.merge(0, 0, S.content[S.content.length - 1], !0, 0, S.openEnd) && S.content.pop(), f = S.content.concat(P).concat($.content);
6610
6610
  } else
6611
6611
  ({ content: f, breakAtStart: d, openStart: O, openEnd: y } = Gn.build(this.view.state.doc, h, c, this.decorations, this.dynamicDecorationMap));
6612
- let { i: m, off: p } = r.findPos(u, 1), { i: v, off: A } = r.findPos(o, -1);
6613
- yd(this, v, A, m, p, f, d, O, y);
6612
+ let { i: m, off: p } = r.findPos(u, 1), { i: v, off: V } = r.findPos(o, -1);
6613
+ yd(this, v, V, m, p, f, d, O, y);
6614
6614
  }
6615
6615
  i && this.fixCompositionDOM(i);
6616
6616
  }
@@ -7023,10 +7023,10 @@ function Fa(n, e, t) {
7023
7023
  for (let m = 0; m < y.length; m++) {
7024
7024
  let p = y[m];
7025
7025
  s && $l(s, p) && (p = Ju(eh(p, s.bottom), s.top));
7026
- let v = B0(e, p), A = N0(t, p);
7027
- if (v == 0 && A == 0)
7026
+ let v = B0(e, p), V = N0(t, p);
7027
+ if (v == 0 && V == 0)
7028
7028
  return O.nodeType == 3 ? th(O, e, t) : Fa(O, e, t);
7029
- (!i || l > A || l == A && r > v) && (i = O, s = p, r = v, l = A, a = v ? e < p.left ? m > 0 : m < y.length - 1 : !0), v == 0 ? t > p.bottom && (!h || h.bottom < p.bottom) ? (o = O, h = p) : t < p.top && (!c || c.top > p.top) && (u = O, c = p) : h && $l(h, p) ? h = eh(h, p.bottom) : c && $l(c, p) && (c = Ju(c, p.top));
7029
+ (!i || l > V || l == V && r > v) && (i = O, s = p, r = v, l = V, a = v ? e < p.left ? m > 0 : m < y.length - 1 : !0), v == 0 ? t > p.bottom && (!h || h.bottom < p.bottom) ? (o = O, h = p) : t < p.top && (!c || c.top > p.top) && (u = O, c = p) : h && $l(h, p) ? h = eh(h, p.bottom) : c && $l(c, p) && (c = Ju(c, p.top));
7030
7030
  }
7031
7031
  }
7032
7032
  if (h && h.bottom >= t ? (i = o, s = h) : c && c.top <= t && (i = u, s = c), !i)
@@ -7097,14 +7097,14 @@ function Gd(n, e, t, i = -1) {
7097
7097
  return f > o.top + o.height / 2 ? o.to : o.from;
7098
7098
  ({ node: p, offset: v } = Fa(S.dom, h, c));
7099
7099
  }
7100
- let A = n.docView.nearest(p);
7101
- if (!A)
7100
+ let V = n.docView.nearest(p);
7101
+ if (!V)
7102
7102
  return null;
7103
- if (A.isWidget && ((r = A.dom) === null || r === void 0 ? void 0 : r.nodeType) == 1) {
7104
- let S = A.dom.getBoundingClientRect();
7105
- return e.y < S.top || e.y <= S.bottom && e.x <= (S.left + S.right) / 2 ? A.posAtStart : A.posAtEnd;
7103
+ if (V.isWidget && ((r = V.dom) === null || r === void 0 ? void 0 : r.nodeType) == 1) {
7104
+ let S = V.dom.getBoundingClientRect();
7105
+ return e.y < S.top || e.y <= S.bottom && e.x <= (S.left + S.right) / 2 ? V.posAtStart : V.posAtEnd;
7106
7106
  } else
7107
- return A.localPosFromDOM(p, v) + A.posAtStart;
7107
+ return V.localPosFromDOM(p, v) + V.posAtStart;
7108
7108
  }
7109
7109
  function ih(n, e, t, i, s) {
7110
7110
  let r = Math.round((i - e.left) * n.defaultCharacterWidth);
@@ -8537,8 +8537,8 @@ class gh {
8537
8537
  }
8538
8538
  mn && (u |= 2);
8539
8539
  }
8540
- let A = !this.viewportIsAppropriate(this.viewport, h) || this.scrollTarget && (this.scrollTarget.range.head < this.viewport.from || this.scrollTarget.range.head > this.viewport.to);
8541
- return A && (u & 2 && (u |= this.updateScaler()), this.viewport = this.getViewport(h, this.scrollTarget), u |= this.updateForViewport()), (u & 2 || A) && this.updateViewportLines(), (this.lineGaps.length || this.viewport.to - this.viewport.from > 4e3) && this.updateLineGaps(this.ensureLineGaps(l ? [] : this.lineGaps, e)), u |= this.computeVisibleRanges(), this.mustEnforceCursorAssoc && (this.mustEnforceCursorAssoc = !1, e.docView.enforceCursorAssoc()), u;
8540
+ let V = !this.viewportIsAppropriate(this.viewport, h) || this.scrollTarget && (this.scrollTarget.range.head < this.viewport.from || this.scrollTarget.range.head > this.viewport.to);
8541
+ return V && (u & 2 && (u |= this.updateScaler()), this.viewport = this.getViewport(h, this.scrollTarget), u |= this.updateForViewport()), (u & 2 || V) && this.updateViewportLines(), (this.lineGaps.length || this.viewport.to - this.viewport.from > 4e3) && this.updateLineGaps(this.ensureLineGaps(l ? [] : this.lineGaps, e)), u |= this.computeVisibleRanges(), this.mustEnforceCursorAssoc && (this.mustEnforceCursorAssoc = !1, e.docView.enforceCursorAssoc()), u;
8542
8542
  }
8543
8543
  get visibleTop() {
8544
8544
  return this.scaler.fromDOM(this.pixelViewport.top);
@@ -8608,9 +8608,9 @@ class gh {
8608
8608
  }
8609
8609
  let m = VQ(e, (p) => p.from >= f.from && p.to <= f.to && Math.abs(p.from - h) < r && Math.abs(p.to - c) < r && !y.some((v) => p.from < v && p.to > v));
8610
8610
  if (!m) {
8611
- if (c < f.to && t && i && t.visibleRanges.some((A) => A.from <= c && A.to >= c)) {
8612
- let A = t.moveToLineBoundary(W.cursor(c), !1, !0).head;
8613
- A > h && (c = A);
8611
+ if (c < f.to && t && i && t.visibleRanges.some((V) => V.from <= c && V.to >= c)) {
8612
+ let V = t.moveToLineBoundary(W.cursor(c), !1, !0).head;
8613
+ V > h && (c = V);
8614
8614
  }
8615
8615
  let p = this.gapSize(f, h, c, d), v = i || p < 2e6 ? p : 2e6;
8616
8616
  m = new Pl(h, c, p, v);
@@ -8626,8 +8626,8 @@ class gh {
8626
8626
  if (i) {
8627
8627
  let y = s / this.heightOracle.lineLength * this.heightOracle.lineHeight, m, p;
8628
8628
  if (f != null) {
8629
- let v = Ms(c, f), A = ((this.visibleBottom - this.visibleTop) / 2 + y) / h.height;
8630
- m = v - A, p = v + A;
8629
+ let v = Ms(c, f), V = ((this.visibleBottom - this.visibleTop) / 2 + y) / h.height;
8630
+ m = v - V, p = v + V;
8631
8631
  } else
8632
8632
  m = (this.visibleTop - h.top - y) / h.height, p = (this.visibleBottom - h.top + y) / h.height;
8633
8633
  d = qs(c, m), O = qs(c, p);
@@ -8636,12 +8636,12 @@ class gh {
8636
8636
  if (y > 2e6)
8637
8637
  for (let P of e)
8638
8638
  P.from >= h.from && P.from < h.to && P.size != P.displaySize && P.from * this.heightOracle.charWidth + p < this.pixelViewport.left && (p = P.size - P.displaySize);
8639
- let v = this.pixelViewport.left + p, A = this.pixelViewport.right + p, S, $;
8639
+ let v = this.pixelViewport.left + p, V = this.pixelViewport.right + p, S, $;
8640
8640
  if (f != null) {
8641
- let P = Ms(c, f), w = ((A - v) / 2 + m) / y;
8641
+ let P = Ms(c, f), w = ((V - v) / 2 + m) / y;
8642
8642
  S = P - w, $ = P + w;
8643
8643
  } else
8644
- S = (v - m) / y, $ = (A + m) / y;
8644
+ S = (v - m) / y, $ = (V + m) / y;
8645
8645
  d = qs(c, S), O = qs(c, $);
8646
8646
  }
8647
8647
  d > h.from && o(h.from, d, h, c), O < h.to && o(O, h.to, h, c);
@@ -10291,8 +10291,8 @@ function BQ(n, e = LQ) {
10291
10291
  s(v, !0), d[v] || (d[v] = {
10292
10292
  preventDefault: !0,
10293
10293
  stopPropagation: !1,
10294
- run: [(A) => {
10295
- let S = _i = { view: A, prefix: v, scope: l };
10294
+ run: [(V) => {
10295
+ let S = _i = { view: V, prefix: v, scope: l };
10296
10296
  return setTimeout(() => {
10297
10297
  _i == S && (_i = null);
10298
10298
  }, IQ), !0;
@@ -10398,9 +10398,9 @@ function NQ(n, e, t) {
10398
10398
  return [];
10399
10399
  let i = Math.max(t.from, n.viewport.from), s = Math.min(t.to, n.viewport.to), r = n.textDirection == Me.LTR, l = n.contentDOM, a = l.getBoundingClientRect(), o = cO(n), u = l.querySelector(".cm-line"), h = u && window.getComputedStyle(u), c = a.left + (h ? parseInt(h.paddingLeft) + Math.min(0, parseInt(h.textIndent)) : 0), f = a.right - (h ? parseInt(h.paddingRight) : 0), d = Ha(n, i, 1), O = Ha(n, s, -1), y = d.type == at.Text ? d : null, m = O.type == at.Text ? O : null;
10400
10400
  if (y && (n.lineWrapping || d.widgetLineBreaks) && (y = xh(n, i, 1, y)), m && (n.lineWrapping || O.widgetLineBreaks) && (m = xh(n, s, -1, m)), y && m && y.from == m.from && y.to == m.to)
10401
- return v(A(t.from, t.to, y));
10401
+ return v(V(t.from, t.to, y));
10402
10402
  {
10403
- let $ = y ? A(t.from, null, y) : S(d, !1), P = m ? A(null, t.to, m) : S(O, !0), w = [];
10403
+ let $ = y ? V(t.from, null, y) : S(d, !1), P = m ? V(null, t.to, m) : S(O, !0), w = [];
10404
10404
  return (y || d).to < (m || O).from - (y && m ? 1 : 0) || d.widgetLineBreaks > 1 && $.bottom + n.defaultLineHeight / 2 < P.top ? w.push(p(c, $.bottom, f, P.top)) : $.bottom < P.top && n.elementAtHeight(($.bottom + P.top) / 2).type == at.Text && ($.bottom = P.top = ($.bottom + P.top) / 2), v($).concat(w).concat(v(P));
10405
10405
  }
10406
10406
  function p($, P, w, k) {
@@ -10412,7 +10412,7 @@ function NQ(n, e, t) {
10412
10412
  k.push(p(w[R], $, w[R + 1], P));
10413
10413
  return k;
10414
10414
  }
10415
- function A($, P, w) {
10415
+ function V($, P, w) {
10416
10416
  let k = 1e9, R = -1e9, Q = [];
10417
10417
  function T(j, H, K, me, Se) {
10418
10418
  let pe = n.coordsAtPos(j, j == w.to ? -2 : 2), ue = n.coordsAtPos(K, K == w.from ? 2 : -2);
@@ -11092,7 +11092,7 @@ const Cl = /* @__PURE__ */ ae.define({
11092
11092
  h.style.top = Cn;
11093
11093
  continue;
11094
11094
  }
11095
- let d = o.arrow ? u.dom.querySelector(".cm-tooltip-arrow") : null, O = d ? 7 : 0, y = f.right - f.left, m = (e = Th.get(u)) !== null && e !== void 0 ? e : f.bottom - f.top, p = u.offset || $1, v = this.view.textDirection == Me.LTR, A = f.width > i.right - i.left ? v ? i.left : i.right - f.width : v ? Math.max(i.left, Math.min(c.left - (d ? 14 : 0) + p.x, i.right - y)) : Math.min(Math.max(i.left, c.left - y + (d ? 14 : 0) - p.x), i.right - y), S = this.above[a];
11095
+ let d = o.arrow ? u.dom.querySelector(".cm-tooltip-arrow") : null, O = d ? 7 : 0, y = f.right - f.left, m = (e = Th.get(u)) !== null && e !== void 0 ? e : f.bottom - f.top, p = u.offset || $1, v = this.view.textDirection == Me.LTR, V = f.width > i.right - i.left ? v ? i.left : i.right - f.width : v ? Math.max(i.left, Math.min(c.left - (d ? 14 : 0) + p.x, i.right - y)) : Math.min(Math.max(i.left, c.left - y + (d ? 14 : 0) - p.x), i.right - y), S = this.above[a];
11096
11096
  !o.strictSide && (S ? c.top - m - O - p.y < i.top : c.bottom + m + O + p.y > i.bottom) && S == i.bottom - c.bottom > c.top - i.top && (S = this.above[a] = !S);
11097
11097
  let $ = (S ? c.top - i.top : i.bottom - c.bottom) - O;
11098
11098
  if ($ < m && u.resize !== !1) {
@@ -11103,15 +11103,15 @@ const Cl = /* @__PURE__ */ ae.define({
11103
11103
  Th.set(u, m), h.style.height = (m = $) / r + "px";
11104
11104
  } else
11105
11105
  h.style.height && (h.style.height = "");
11106
- let P = S ? c.top - m - O - p.y : c.bottom + O + p.y, w = A + y;
11106
+ let P = S ? c.top - m - O - p.y : c.bottom + O + p.y, w = V + y;
11107
11107
  if (u.overlap !== !0)
11108
11108
  for (let k of l)
11109
- k.left < w && k.right > A && k.top < P + m && k.bottom > P && (P = S ? k.top - m - 2 - O : k.bottom + O + 2);
11110
- if (this.position == "absolute" ? (h.style.top = (P - n.parent.top) / r + "px", Ch(h, (A - n.parent.left) / s)) : (h.style.top = P / r + "px", Ch(h, A / s)), d) {
11111
- let k = c.left + (v ? p.x : -p.x) - (A + 14 - 7);
11109
+ k.left < w && k.right > V && k.top < P + m && k.bottom > P && (P = S ? k.top - m - 2 - O : k.bottom + O + 2);
11110
+ if (this.position == "absolute" ? (h.style.top = (P - n.parent.top) / r + "px", Ch(h, (V - n.parent.left) / s)) : (h.style.top = P / r + "px", Ch(h, V / s)), d) {
11111
+ let k = c.left + (v ? p.x : -p.x) - (V + 14 - 7);
11112
11112
  d.style.left = k / s + "px";
11113
11113
  }
11114
- u.overlap !== !0 && l.push({ left: A, top: P, right: w, bottom: P + m }), h.classList.toggle("cm-tooltip-above", S), h.classList.toggle("cm-tooltip-below", !S), u.positioned && u.positioned(n.space);
11114
+ u.overlap !== !0 && l.push({ left: V, top: P, right: w, bottom: P + m }), h.classList.toggle("cm-tooltip-above", S), h.classList.toggle("cm-tooltip-below", !S), u.positioned && u.positioned(n.space);
11115
11115
  }
11116
11116
  }
11117
11117
  maybeMeasure() {
@@ -13035,11 +13035,11 @@ function F1(n) {
13035
13035
  T == -3 ? u = k : T == -4 && (h = k);
13036
13036
  return w;
13037
13037
  }
13038
- let v = [], A = [];
13038
+ let v = [], V = [];
13039
13039
  for (; a.pos > 0; )
13040
- c(n.start || 0, n.bufferStart || 0, v, A, -1, 0);
13041
- let S = (e = n.length) !== null && e !== void 0 ? e : v.length ? A[0] + v[0].length : 0;
13042
- return new ze(o[n.topID], v.reverse(), A.reverse(), S);
13040
+ c(n.start || 0, n.bufferStart || 0, v, V, -1, 0);
13041
+ let S = (e = n.length) !== null && e !== void 0 ? e : v.length ? V[0] + v[0].length : 0;
13042
+ return new ze(o[n.topID], v.reverse(), V.reverse(), S);
13043
13043
  }
13044
13044
  const qh = /* @__PURE__ */ new WeakMap();
13045
13045
  function mr(n, e) {
@@ -13068,15 +13068,15 @@ function jo(n, e, t, i, s, r, l, a, o) {
13068
13068
  /* Balance.BranchFactor */
13069
13069
  ), c = [], f = [];
13070
13070
  function d(O, y, m, p, v) {
13071
- for (let A = m; A < p; ) {
13072
- let S = A, $ = y[A], P = mr(n, O[A]);
13073
- for (A++; A < p; A++) {
13074
- let w = mr(n, O[A]);
13071
+ for (let V = m; V < p; ) {
13072
+ let S = V, $ = y[V], P = mr(n, O[V]);
13073
+ for (V++; V < p; V++) {
13074
+ let w = mr(n, O[V]);
13075
13075
  if (P + w >= h)
13076
13076
  break;
13077
13077
  P += w;
13078
13078
  }
13079
- if (A == S + 1) {
13079
+ if (V == S + 1) {
13080
13080
  if (P > h) {
13081
13081
  let w = O[S];
13082
13082
  d(w.children, w.positions, 0, w.children.length, y[S] + v);
@@ -13084,8 +13084,8 @@ function jo(n, e, t, i, s, r, l, a, o) {
13084
13084
  }
13085
13085
  c.push(O[S]);
13086
13086
  } else {
13087
- let w = y[A - 1] + O[A - 1].length - $;
13088
- c.push(jo(n, O, y, S, A, $, w, null, o));
13087
+ let w = y[V - 1] + O[V - 1].length - $;
13088
+ c.push(jo(n, O, y, S, V, $, w, null, o));
13089
13089
  }
13090
13090
  f.push($ + v - r);
13091
13091
  }
@@ -13371,10 +13371,10 @@ function ib(n) {
13371
13371
  function u(h, c, f, d, O, y) {
13372
13372
  let m = t[y], p = [], v = [];
13373
13373
  Lh(l, h, m, p, v, d);
13374
- let A = a[m + 1], S = a[m + 2];
13374
+ let V = a[m + 1], S = a[m + 2];
13375
13375
  o.push(p.length);
13376
- let $ = y ? u(m + 4, a[m + 3], l.set.types[a[m]], A, S - A, y - 1) : e.toTree();
13377
- return p.push($), v.push(A - d), Lh(l, a[m + 3], c, p, v, d), new ze(f, p, v, O);
13376
+ let $ = y ? u(m + 4, a[m + 3], l.set.types[a[m]], V, S - V, y - 1) : e.toTree();
13377
+ return p.push($), v.push(V - d), Lh(l, a[m + 3], c, p, v, d), new ze(f, p, v, O);
13378
13378
  }
13379
13379
  s.children[r] = u(0, a.length, ut.none, 0, l.length, t.length - 1);
13380
13380
  for (let h of o) {
@@ -13682,11 +13682,11 @@ class cb {
13682
13682
  if (f && f.overlay) {
13683
13683
  let d = e.node.enter(f.overlay[0].from + a, 1), O = this.highlighters.filter((m) => !m.scope || m.scope(f.tree.type)), y = e.firstChild();
13684
13684
  for (let m = 0, p = a; ; m++) {
13685
- let v = m < f.overlay.length ? f.overlay[m] : null, A = v ? v.from + a : o, S = Math.max(t, p), $ = Math.min(i, A);
13685
+ let v = m < f.overlay.length ? f.overlay[m] : null, V = v ? v.from + a : o, S = Math.max(t, p), $ = Math.min(i, V);
13686
13686
  if (S < $ && y)
13687
- for (; e.from < $ && (this.highlightRange(e, S, $, s, r), this.startSpan(Math.min($, e.to), u), !(e.to >= A || !e.nextSibling())); )
13687
+ for (; e.from < $ && (this.highlightRange(e, S, $, s, r), this.startSpan(Math.min($, e.to), u), !(e.to >= V || !e.nextSibling())); )
13688
13688
  ;
13689
- if (!v || A > i)
13689
+ if (!v || V > i)
13690
13690
  break;
13691
13691
  p = v.to + a, p > t && (this.highlightRange(d.cursor(), Math.max(t, v.from + a), Math.min(i, p), "", O), this.startSpan(Math.min(i, p), u));
13692
13692
  }
@@ -17097,20 +17097,20 @@ class Lv {
17097
17097
  return null;
17098
17098
  let { chars: t, folded: i, any: s, precise: r, byWord: l } = this;
17099
17099
  if (t.length == 1) {
17100
- let v = ht(e, 0), A = Bt(v), S = A == e.length ? 0 : -100;
17100
+ let v = ht(e, 0), V = Bt(v), S = V == e.length ? 0 : -100;
17101
17101
  if (v != t[0])
17102
17102
  if (v == i[0])
17103
17103
  S += -200;
17104
17104
  else
17105
17105
  return null;
17106
- return this.ret(S, [0, A]);
17106
+ return this.ret(S, [0, V]);
17107
17107
  }
17108
17108
  let a = e.indexOf(this.pattern);
17109
17109
  if (a == 0)
17110
17110
  return this.ret(e.length == this.pattern.length ? 0 : -100, [0, this.pattern.length]);
17111
17111
  let o = t.length, u = 0;
17112
17112
  if (a < 0) {
17113
- for (let v = 0, A = Math.min(e.length, 200); v < A && u < o; ) {
17113
+ for (let v = 0, V = Math.min(e.length, 200); v < V && u < o; ) {
17114
17114
  let S = ht(e, v);
17115
17115
  (S == t[u] || S == i[u]) && (s[u++] = v), v += Bt(S);
17116
17116
  }
@@ -17118,7 +17118,7 @@ class Lv {
17118
17118
  return null;
17119
17119
  }
17120
17120
  let h = 0, c = 0, f = !1, d = 0, O = -1, y = -1, m = /[a-z]/.test(e), p = !0;
17121
- for (let v = 0, A = Math.min(e.length, 200), S = 0; v < A && c < o; ) {
17121
+ for (let v = 0, V = Math.min(e.length, 200), S = 0; v < V && c < o; ) {
17122
17122
  let $ = ht(e, v);
17123
17123
  a < 0 && (h < o && $ == t[h] && (r[h++] = v), d < o && ($ == t[d] || $ == i[d] ? (d == 0 && (O = v), y = v + 1, d++) : d = 0));
17124
17124
  let P, w = $ < 255 ? $ >= 48 && $ <= 57 || $ >= 97 && $ <= 122 ? 2 : $ >= 65 && $ <= 90 ? 1 : 0 : (P = To($)) != P.toLowerCase() ? 1 : P != P.toUpperCase() ? 2 : 0;
@@ -22031,21 +22031,21 @@ function bw(n, e, t, i, s, r) {
22031
22031
  return null;
22032
22032
  y && c.length == 1 && (c = y[c[0]] || c);
22033
22033
  let m = o;
22034
- for (let A of c) {
22035
- for (; !m.children || !m.children[A]; )
22034
+ for (let V of c) {
22035
+ for (; !m.children || !m.children[V]; )
22036
22036
  if (m == o && u)
22037
22037
  m = u;
22038
22038
  else if (m == u && i)
22039
22039
  m = m.child(i);
22040
22040
  else
22041
22041
  return null;
22042
- let S = m.maybeChild(A);
22042
+ let S = m.maybeChild(V);
22043
22043
  if (!S)
22044
22044
  return null;
22045
22045
  m = S;
22046
22046
  }
22047
22047
  let p = d && h.state.sliceDoc(h.pos, h.pos + 1) == d, v = m.list;
22048
- return m == o && y && (v = v.concat(Object.keys(y).map((A) => ({ label: A, type: "constant" })))), {
22048
+ return m == o && y && (v = v.concat(Object.keys(y).map((V) => ({ label: V, type: "constant" })))), {
22049
22049
  from: f,
22050
22050
  to: p ? h.pos + 1 : void 0,
22051
22051
  options: gw(d, v),
@@ -23944,7 +23944,7 @@ function nr() {
23944
23944
  EOF: t.EOF
23945
23945
  }, u = new i(/\/\*/, /\*\//), h = /0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/, c = /[0-9]/, f = /[^\d\.]/, d = ">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "), O = ">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";
23946
23946
  O = O.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&"), O = "\\?\\.(?!\\d) " + O, O = O.replace(/ /g, "|");
23947
- var y = new RegExp(O), m = "continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","), p = m.concat(["do", "in", "of", "else", "get", "set", "new", "catch", "finally", "typeof", "yield", "async", "await", "from", "as", "class", "extends"]), v = new RegExp("^(?:" + p.join("|") + ")$"), A, S = function(P, w) {
23947
+ var y = new RegExp(O), m = "continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","), p = m.concat(["do", "in", "of", "else", "get", "set", "new", "catch", "finally", "typeof", "yield", "async", "await", "from", "as", "class", "extends"]), v = new RegExp("^(?:" + p.join("|") + ")$"), V, S = function(P, w) {
23948
23948
  e.call(this, P, w), this._patterns.whitespace = this._patterns.whitespace.matching(
23949
23949
  /\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,
23950
23950
  /\u2028\u2029/.source
@@ -23977,7 +23977,7 @@ function nr() {
23977
23977
  }, S.prototype._is_closing = function(P, w) {
23978
23978
  return (P.type === o.END_BLOCK || P.type === o.END_EXPR) && w && (P.text === "]" && w.text === "[" || P.text === ")" && w.text === "(" || P.text === "}" && w.text === "{");
23979
23979
  }, S.prototype._reset = function() {
23980
- A = !1;
23980
+ V = !1;
23981
23981
  }, S.prototype._get_next_token = function(P, w) {
23982
23982
  var k = null;
23983
23983
  this._readWhitespace();
@@ -24022,10 +24022,10 @@ function nr() {
24022
24022
  if (w = this.__patterns.html_comment_start.read(), w) {
24023
24023
  for (; this._input.hasNext() && !this._input.testChar(s.newline); )
24024
24024
  w += this._input.next();
24025
- return A = !0, this._create_token(o.COMMENT, w);
24025
+ return V = !0, this._create_token(o.COMMENT, w);
24026
24026
  }
24027
- } else if (A && P === "-" && (w = this.__patterns.html_comment_end.read(), w))
24028
- return A = !1, this._create_token(o.COMMENT, w);
24027
+ } else if (V && P === "-" && (w = this.__patterns.html_comment_end.read(), w))
24028
+ return V = !1, this._create_token(o.COMMENT, w);
24029
24029
  return null;
24030
24030
  }, S.prototype._read_comment = function(P) {
24031
24031
  var w = null;
@@ -24157,7 +24157,7 @@ function ZP() {
24157
24157
  function v(Q, T) {
24158
24158
  T.multiline_frame || T.mode === p.ForInitializer || T.mode === p.Conditional || Q.remove_indent(T.start_line_index);
24159
24159
  }
24160
- function A(Q) {
24160
+ function V(Q) {
24161
24161
  Q = Q.replace(t.allLineBreaks, `
24162
24162
  `);
24163
24163
  for (var T = [], X = Q.indexOf(`
@@ -24483,7 +24483,7 @@ function ZP() {
24483
24483
  } else
24484
24484
  this.print_block_commment(Q, T);
24485
24485
  }, k.prototype.print_block_commment = function(Q, T) {
24486
- var X = A(Q.text), z, j = !1, H = !1, K = Q.whitespace_before, me = K.length;
24486
+ var X = V(Q.text), z, j = !1, H = !1, K = Q.whitespace_before, me = K.length;
24487
24487
  if (this.print_newline(!1, T), this.print_token_line_indentation(Q), this._output.add_token(X[0]), this.print_newline(!1, T), X.length > 1) {
24488
24488
  for (X = X.slice(1), j = P(X, "*"), H = w(X, K), j && (this._flags.alignment = 1), z = 0; z < X.length; z++)
24489
24489
  j ? (this.print_token_line_indentation(Q), this._output.add_token(u(X[z]))) : H && X[z] ? (this.print_token_line_indentation(Q), this._output.add_token(X[z].substring(me))) : (this._output.current_line.set_indent(-1), this._output.add_token(X[z])), this.print_newline(!1, T);
@@ -24608,7 +24608,7 @@ function AP() {
24608
24608
  `);
24609
24609
  var O = f.match(/^[\t ]*/)[0];
24610
24610
  this._output = new e(this._options, O), this._input = new t(f), this._indentLevel = 0, this._nestedLevel = 0, this._ch = null;
24611
- for (var y = 0, m = !1, p = !1, v = !1, A = !1, S = !1, $ = this._ch, P = !1, w, k, R; w = this._input.read(o), k = w !== "", R = $, this._ch = this._input.next(), this._ch === "\\" && this._input.hasNext() && (this._ch += this._input.next()), $ = this._ch, this._ch; )
24611
+ for (var y = 0, m = !1, p = !1, v = !1, V = !1, S = !1, $ = this._ch, P = !1, w, k, R; w = this._input.read(o), k = w !== "", R = $, this._ch = this._input.next(), this._ch === "\\" && this._input.hasNext() && (this._ch += this._input.next()), $ = this._ch, this._ch; )
24612
24612
  if (this._ch === "/" && this._input.peek() === "*") {
24613
24613
  this._output.add_new_line(), this._input.back();
24614
24614
  var Q = this._input.read(u), T = s.get_directives(Q);
@@ -24625,12 +24625,12 @@ function AP() {
24625
24625
  else {
24626
24626
  this.print_string(this._ch);
24627
24627
  var z = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
24628
- z.match(/[ :]$/) && (z = this.eatString(": ").replace(/\s+$/, ""), this.print_string(z), this._output.space_before_token = !0), y === 0 && z.indexOf(":") !== -1 ? (p = !0, this.indent()) : z in this.NESTED_AT_RULE ? (this._nestedLevel += 1, z in this.CONDITIONAL_GROUP_RULE && (v = !0)) : y === 0 && !p && (A = !0);
24628
+ z.match(/[ :]$/) && (z = this.eatString(": ").replace(/\s+$/, ""), this.print_string(z), this._output.space_before_token = !0), y === 0 && z.indexOf(":") !== -1 ? (p = !0, this.indent()) : z in this.NESTED_AT_RULE ? (this._nestedLevel += 1, z in this.CONDITIONAL_GROUP_RULE && (v = !0)) : y === 0 && !p && (V = !0);
24629
24629
  }
24630
24630
  else if (this._ch === "#" && this._input.peek() === "{")
24631
24631
  this.preserveSingleSpace(k), this.print_string(this._ch + this.eatString("}"));
24632
24632
  else if (this._ch === "{")
24633
- p && (p = !1, this.outdent()), A = !1, v ? (v = !1, m = this._indentLevel >= this._nestedLevel) : m = this._indentLevel >= this._nestedLevel - 1, this._options.newline_between_rules && m && this._output.previous_line && this._output.previous_line.item(-1) !== "{" && this._output.ensure_empty_line_above("/", ","), this._output.space_before_token = !0, this._options.brace_style === "expand" ? (this._output.add_new_line(), this.print_string(this._ch), this.indent(), this._output.set_indent(this._indentLevel)) : (R === "(" ? this._output.space_before_token = !1 : R !== "," && this.indent(), this.print_string(this._ch)), this.eatWhitespace(!0), this._output.add_new_line();
24633
+ p && (p = !1, this.outdent()), V = !1, v ? (v = !1, m = this._indentLevel >= this._nestedLevel) : m = this._indentLevel >= this._nestedLevel - 1, this._options.newline_between_rules && m && this._output.previous_line && this._output.previous_line.item(-1) !== "{" && this._output.ensure_empty_line_above("/", ","), this._output.space_before_token = !0, this._options.brace_style === "expand" ? (this._output.add_new_line(), this.print_string(this._ch), this.indent(), this._output.set_indent(this._indentLevel)) : (R === "(" ? this._output.space_before_token = !1 : R !== "," && this.indent(), this.print_string(this._ch)), this.eatWhitespace(!0), this._output.add_new_line();
24634
24634
  else if (this._ch === "}")
24635
24635
  this.outdent(), this._output.add_new_line(), R === "{" && this._output.trim(!0), p && (this.outdent(), p = !1), this.print_string(this._ch), m = !1, this._nestedLevel && this._nestedLevel--, this.eatWhitespace(!0), this._output.add_new_line(), this._options.newline_between_rules && !this._output.just_added_blankline() && this._input.peek() !== "}" && this._output.add_new_line(!0), this._input.peek() === ")" && (this._output.trim(!0), this._options.brace_style === "expand" && this._output.add_new_line(!0));
24636
24636
  else if (this._ch === ":") {
@@ -24639,12 +24639,12 @@ function AP() {
24639
24639
  P = !0;
24640
24640
  break;
24641
24641
  }
24642
- (m || v) && !(this._input.lookBack("&") || this.foundNestedPseudoClass()) && !this._input.lookBack("(") && !A && y === 0 ? (this.print_string(":"), p || (p = !0, this._output.space_before_token = !0, this.eatWhitespace(!0), this.indent())) : (this._input.lookBack(" ") && (this._output.space_before_token = !0), this._input.peek() === ":" ? (this._ch = this._input.next(), this.print_string("::")) : this.print_string(":"));
24642
+ (m || v) && !(this._input.lookBack("&") || this.foundNestedPseudoClass()) && !this._input.lookBack("(") && !V && y === 0 ? (this.print_string(":"), p || (p = !0, this._output.space_before_token = !0, this.eatWhitespace(!0), this.indent())) : (this._input.lookBack(" ") && (this._output.space_before_token = !0), this._input.peek() === ":" ? (this._ch = this._input.next(), this.print_string("::")) : this.print_string(":"));
24643
24643
  } else if (this._ch === '"' || this._ch === "'") {
24644
24644
  var H = R === '"' || R === "'";
24645
24645
  this.preserveSingleSpace(H || k), this.print_string(this._ch + this.eatString(this._ch)), this.eatWhitespace(!0);
24646
24646
  } else if (this._ch === ";")
24647
- P = !1, y === 0 ? (p && (this.outdent(), p = !1), A = !1, this.print_string(this._ch), this.eatWhitespace(!0), this._input.peek() !== "/" && this._output.add_new_line()) : (this.print_string(this._ch), this.eatWhitespace(!0), this._output.space_before_token = !0);
24647
+ P = !1, y === 0 ? (p && (this.outdent(), p = !1), V = !1, this.print_string(this._ch), this.eatWhitespace(!0), this._input.peek() !== "/" && this._output.add_new_line()) : (this.print_string(this._ch), this.eatWhitespace(!0), this._output.space_before_token = !0);
24648
24648
  else if (this._ch === "(")
24649
24649
  if (this._input.lookBack("url"))
24650
24650
  this.print_string(this._ch), this.eatWhitespace(), y++, this.indent(), this._ch = this._input.next(), this._ch === ")" || this._ch === '"' || this._ch === "'" ? this._input.back() : this._ch && (this.print_string(this._ch + this.eatString(")")), y && (y--, this.outdent()));
@@ -24655,7 +24655,7 @@ function AP() {
24655
24655
  else if (this._ch === ")")
24656
24656
  y && (y--, this.outdent()), S && this._input.peek() === ";" && this._options.selector_separator_newline && (S = !1, this.outdent(), this._output.add_new_line()), this.print_string(this._ch);
24657
24657
  else if (this._ch === ",")
24658
- this.print_string(this._ch), this.eatWhitespace(!0), this._options.selector_separator_newline && (!p || S) && y === 0 && !A ? this._output.add_new_line() : this._output.space_before_token = !0;
24658
+ this.print_string(this._ch), this.eatWhitespace(!0), this._options.selector_separator_newline && (!p || S) && y === 0 && !V ? this._output.add_new_line() : this._output.space_before_token = !0;
24659
24659
  else if ((this._ch === ">" || this._ch === "+" || this._ch === "~") && !p && y === 0)
24660
24660
  this._options.space_around_combinator ? (this._output.space_before_token = !0, this.print_string(this._ch), this._output.space_before_token = !0) : (this.print_string(this._ch), this.eatWhitespace(), this._ch && a.test(this._ch) && (this._ch = ""));
24661
24661
  else if (this._ch === "]")
@@ -24979,8 +24979,8 @@ function EP() {
24979
24979
  }
24980
24980
  return p;
24981
24981
  }, o = function(m, p) {
24982
- var v = null, A = null;
24983
- return p.closed ? (m === "script" ? v = "text/javascript" : m === "style" && (v = "text/css"), v = a(p) || v, v.search("text/css") > -1 ? A = "css" : v.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/) > -1 ? A = "javascript" : v.search(/(text|application|dojo)\/(x-)?(html)/) > -1 ? A = "html" : v.search(/test\/null/) > -1 && (A = "null"), A) : null;
24982
+ var v = null, V = null;
24983
+ return p.closed ? (m === "script" ? v = "text/javascript" : m === "style" && (v = "text/css"), v = a(p) || v, v.search("text/css") > -1 ? V = "css" : v.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/) > -1 ? V = "javascript" : v.search(/(text|application|dojo)\/(x-)?(html)/) > -1 ? V = "html" : v.search(/test\/null/) > -1 && (V = "null"), V) : null;
24984
24984
  };
24985
24985
  function u(m, p) {
24986
24986
  return p.indexOf(m) !== -1;
@@ -25015,8 +25015,8 @@ function EP() {
25015
25015
  var p = this._get_frame(m);
25016
25016
  p && (this._printer.indent_level = p.indent_level);
25017
25017
  };
25018
- function f(m, p, v, A) {
25019
- this._source_text = m || "", p = p || {}, this._js_beautify = v, this._css_beautify = A, this._tag_stack = null;
25018
+ function f(m, p, v, V) {
25019
+ this._source_text = m || "", p = p || {}, this._js_beautify = v, this._css_beautify = V, this._tag_stack = null;
25020
25020
  var S = new n(p, "html");
25021
25021
  this._options = S, this._is_wrap_attributes_force = this._options.wrap_attributes.substr(0, 5) === "force", this._is_wrap_attributes_force_expand_multiline = this._options.wrap_attributes === "force-expand-multiline", this._is_wrap_attributes_force_aligned = this._options.wrap_attributes === "force-aligned", this._is_wrap_attributes_aligned_multiple = this._options.wrap_attributes === "aligned-multiple", this._is_wrap_attributes_preserve = this._options.wrap_attributes.substr(0, 8) === "preserve", this._is_wrap_attributes_preserve_aligned = this._options.wrap_attributes === "preserve-aligned";
25022
25022
  }
@@ -25027,13 +25027,13 @@ function EP() {
25027
25027
  this._options.eol === "auto" && (p = `
25028
25028
  `, m && s.test(m) && (p = m.match(s)[0])), m = m.replace(r, `
25029
25029
  `);
25030
- var v = m.match(/^[\t ]*/)[0], A = {
25030
+ var v = m.match(/^[\t ]*/)[0], V = {
25031
25031
  text: "",
25032
25032
  type: ""
25033
25033
  }, S = new d(this._options), $ = new l(this._options, v), P = new t(m, this._options).tokenize();
25034
25034
  this._tag_stack = new c($);
25035
25035
  for (var w = null, k = P.next(); k.type !== i.EOF; )
25036
- k.type === i.TAG_OPEN || k.type === i.COMMENT ? (w = this._handle_tag_open($, k, S, A, P), S = w) : k.type === i.ATTRIBUTE || k.type === i.EQUALS || k.type === i.VALUE || k.type === i.TEXT && !S.tag_complete ? w = this._handle_inside_tag($, k, S, A) : k.type === i.TAG_CLOSE ? w = this._handle_tag_close($, k, S) : k.type === i.TEXT ? w = this._handle_text($, k, S) : k.type === i.CONTROL_FLOW_OPEN ? w = this._handle_control_flow_open($, k) : k.type === i.CONTROL_FLOW_CLOSE ? w = this._handle_control_flow_close($, k) : $.add_raw_token(k), A = w, k = P.next();
25036
+ k.type === i.TAG_OPEN || k.type === i.COMMENT ? (w = this._handle_tag_open($, k, S, V, P), S = w) : k.type === i.ATTRIBUTE || k.type === i.EQUALS || k.type === i.VALUE || k.type === i.TEXT && !S.tag_complete ? w = this._handle_inside_tag($, k, S, V) : k.type === i.TAG_CLOSE ? w = this._handle_tag_close($, k, S) : k.type === i.TEXT ? w = this._handle_text($, k, S) : k.type === i.CONTROL_FLOW_OPEN ? w = this._handle_control_flow_open($, k) : k.type === i.CONTROL_FLOW_CLOSE ? w = this._handle_control_flow_close($, k) : $.add_raw_token(k), V = w, k = P.next();
25037
25037
  var R = $._output.get_code(p);
25038
25038
  return R;
25039
25039
  }, f.prototype._handle_control_flow_open = function(m, p) {
@@ -25049,30 +25049,30 @@ function EP() {
25049
25049
  };
25050
25050
  return m.deindent(), p.newlines ? m.print_preserved_newlines(p) : m.set_space_before_token(p.newlines || p.whitespace_before !== "", !0), m.print_token(p), v;
25051
25051
  }, f.prototype._handle_tag_close = function(m, p, v) {
25052
- var A = {
25052
+ var V = {
25053
25053
  text: p.text,
25054
25054
  type: p.type
25055
25055
  };
25056
- return m.alignment_size = 0, v.tag_complete = !0, m.set_space_before_token(p.newlines || p.whitespace_before !== "", !0), v.is_unformatted ? m.add_raw_token(p) : (v.tag_start_char === "<" && (m.set_space_before_token(p.text[0] === "/", !0), this._is_wrap_attributes_force_expand_multiline && v.has_wrapped_attrs && m.print_newline(!1)), m.print_token(p)), v.indent_content && !(v.is_unformatted || v.is_content_unformatted) && (m.indent(), v.indent_content = !1), !v.is_inline_element && !(v.is_unformatted || v.is_content_unformatted) && m.set_wrap_point(), A;
25057
- }, f.prototype._handle_inside_tag = function(m, p, v, A) {
25056
+ return m.alignment_size = 0, v.tag_complete = !0, m.set_space_before_token(p.newlines || p.whitespace_before !== "", !0), v.is_unformatted ? m.add_raw_token(p) : (v.tag_start_char === "<" && (m.set_space_before_token(p.text[0] === "/", !0), this._is_wrap_attributes_force_expand_multiline && v.has_wrapped_attrs && m.print_newline(!1)), m.print_token(p)), v.indent_content && !(v.is_unformatted || v.is_content_unformatted) && (m.indent(), v.indent_content = !1), !v.is_inline_element && !(v.is_unformatted || v.is_content_unformatted) && m.set_wrap_point(), V;
25057
+ }, f.prototype._handle_inside_tag = function(m, p, v, V) {
25058
25058
  var S = v.has_wrapped_attrs, $ = {
25059
25059
  text: p.text,
25060
25060
  type: p.type
25061
25061
  };
25062
- return m.set_space_before_token(p.newlines || p.whitespace_before !== "", !0), v.is_unformatted ? m.add_raw_token(p) : v.tag_start_char === "{" && p.type === i.TEXT ? m.print_preserved_newlines(p) ? (p.newlines = 0, m.add_raw_token(p)) : m.print_token(p) : (p.type === i.ATTRIBUTE ? m.set_space_before_token(!0) : (p.type === i.EQUALS || p.type === i.VALUE && p.previous.type === i.EQUALS) && m.set_space_before_token(!1), p.type === i.ATTRIBUTE && v.tag_start_char === "<" && ((this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) && (m.traverse_whitespace(p), S = S || p.newlines !== 0), this._is_wrap_attributes_force && v.attr_count >= this._options.wrap_attributes_min_attrs && (A.type !== i.TAG_OPEN || // ie. second attribute and beyond
25062
+ return m.set_space_before_token(p.newlines || p.whitespace_before !== "", !0), v.is_unformatted ? m.add_raw_token(p) : v.tag_start_char === "{" && p.type === i.TEXT ? m.print_preserved_newlines(p) ? (p.newlines = 0, m.add_raw_token(p)) : m.print_token(p) : (p.type === i.ATTRIBUTE ? m.set_space_before_token(!0) : (p.type === i.EQUALS || p.type === i.VALUE && p.previous.type === i.EQUALS) && m.set_space_before_token(!1), p.type === i.ATTRIBUTE && v.tag_start_char === "<" && ((this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) && (m.traverse_whitespace(p), S = S || p.newlines !== 0), this._is_wrap_attributes_force && v.attr_count >= this._options.wrap_attributes_min_attrs && (V.type !== i.TAG_OPEN || // ie. second attribute and beyond
25063
25063
  this._is_wrap_attributes_force_expand_multiline) && (m.print_newline(!1), S = !0)), m.print_token(p), S = S || m.previous_token_wrapped(), v.has_wrapped_attrs = S), $;
25064
25064
  }, f.prototype._handle_text = function(m, p, v) {
25065
- var A = {
25065
+ var V = {
25066
25066
  text: p.text,
25067
25067
  type: "TK_CONTENT"
25068
25068
  };
25069
- return v.custom_beautifier_name ? this._print_custom_beatifier_text(m, p, v) : v.is_unformatted || v.is_content_unformatted ? m.add_raw_token(p) : (m.traverse_whitespace(p), m.print_token(p)), A;
25069
+ return v.custom_beautifier_name ? this._print_custom_beatifier_text(m, p, v) : v.is_unformatted || v.is_content_unformatted ? m.add_raw_token(p) : (m.traverse_whitespace(p), m.print_token(p)), V;
25070
25070
  }, f.prototype._print_custom_beatifier_text = function(m, p, v) {
25071
- var A = this;
25071
+ var V = this;
25072
25072
  if (p.text !== "") {
25073
25073
  var S = p.text, $, P = 1, w = "", k = "";
25074
25074
  v.custom_beautifier_name === "javascript" && typeof this._js_beautify == "function" ? $ = this._js_beautify : v.custom_beautifier_name === "css" && typeof this._css_beautify == "function" ? $ = this._css_beautify : v.custom_beautifier_name === "html" && ($ = function(j, H) {
25075
- var K = new f(j, H, A._js_beautify, A._css_beautify);
25075
+ var K = new f(j, H, V._js_beautify, V._css_beautify);
25076
25076
  return K.beautify();
25077
25077
  }), this._options.indent_scripts === "keep" ? P = 0 : this._options.indent_scripts === "separate" && (P = -m.indent_level);
25078
25078
  var R = m.get_full_indent(P);
@@ -25105,9 +25105,9 @@ function EP() {
25105
25105
  w && (S ? S = w + S + `
25106
25106
  ` + k : S = w + k), m.print_newline(!1), S && (p.text = S, p.whitespace_before = "", p.newlines = 0, m.add_raw_token(p), m.print_newline(!0));
25107
25107
  }
25108
- }, f.prototype._handle_tag_open = function(m, p, v, A, S) {
25108
+ }, f.prototype._handle_tag_open = function(m, p, v, V, S) {
25109
25109
  var $ = this._get_tag_open_token(p);
25110
- if ((v.is_unformatted || v.is_content_unformatted) && !v.is_empty_element && p.type === i.TAG_OPEN && !$.is_start_tag ? (m.add_raw_token(p), $.start_tag_token = this._tag_stack.try_pop($.tag_name)) : (m.traverse_whitespace(p), this._set_tag_position(m, p, $, v, A), $.is_inline_element || m.set_wrap_point(), m.print_token(p)), $.is_start_tag && this._is_wrap_attributes_force) {
25110
+ if ((v.is_unformatted || v.is_content_unformatted) && !v.is_empty_element && p.type === i.TAG_OPEN && !$.is_start_tag ? (m.add_raw_token(p), $.start_tag_token = this._tag_stack.try_pop($.tag_name)) : (m.traverse_whitespace(p), this._set_tag_position(m, p, $, v, V), $.is_inline_element || m.set_wrap_point(), m.print_token(p)), $.is_start_tag && this._is_wrap_attributes_force) {
25111
25111
  var P = 0, w;
25112
25112
  do
25113
25113
  w = S.peek(P), w.type === i.ATTRIBUTE && ($.attr_count += 1), P += 1;
@@ -25119,8 +25119,8 @@ function EP() {
25119
25119
  if (this.parent = p || null, this.text = "", this.type = "TK_TAG_OPEN", this.tag_name = "", this.is_inline_element = !1, this.is_unformatted = !1, this.is_content_unformatted = !1, this.is_empty_element = !1, this.is_start_tag = !1, this.is_end_tag = !1, this.indent_content = !1, this.multiline_content = !1, this.custom_beautifier_name = null, this.start_tag_token = null, this.attr_count = 0, this.has_wrapped_attrs = !1, this.alignment_size = 0, this.tag_complete = !1, this.tag_start_char = "", this.tag_check = "", !v)
25120
25120
  this.tag_complete = !0;
25121
25121
  else {
25122
- var A;
25123
- this.tag_start_char = v.text[0], this.text = v.text, this.tag_start_char === "<" ? (A = v.text.match(/^<([^\s>]*)/), this.tag_check = A ? A[1] : "") : (A = v.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/), this.tag_check = A ? A[1] : "", (v.text.startsWith("{{#>") || v.text.startsWith("{{~#>")) && this.tag_check[0] === ">" && (this.tag_check === ">" && v.next !== null ? this.tag_check = v.next.text.split(" ")[0] : this.tag_check = v.text.split(">")[1])), this.tag_check = this.tag_check.toLowerCase(), v.type === i.COMMENT && (this.tag_complete = !0), this.is_start_tag = this.tag_check.charAt(0) !== "/", this.tag_name = this.is_start_tag ? this.tag_check : this.tag_check.substr(1), this.is_end_tag = !this.is_start_tag || v.closed && v.closed.text === "/>";
25122
+ var V;
25123
+ this.tag_start_char = v.text[0], this.text = v.text, this.tag_start_char === "<" ? (V = v.text.match(/^<([^\s>]*)/), this.tag_check = V ? V[1] : "") : (V = v.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/), this.tag_check = V ? V[1] : "", (v.text.startsWith("{{#>") || v.text.startsWith("{{~#>")) && this.tag_check[0] === ">" && (this.tag_check === ">" && v.next !== null ? this.tag_check = v.next.text.split(" ")[0] : this.tag_check = v.text.split(">")[1])), this.tag_check = this.tag_check.toLowerCase(), v.type === i.COMMENT && (this.tag_complete = !0), this.is_start_tag = this.tag_check.charAt(0) !== "/", this.tag_name = this.is_start_tag ? this.tag_check : this.tag_check.substr(1), this.is_end_tag = !this.is_start_tag || v.closed && v.closed.text === "/>";
25124
25124
  var S = 2;
25125
25125
  this.tag_start_char === "{" && this.text.length >= 3 && this.text.charAt(2) === "~" && (S = 3), this.is_end_tag = this.is_end_tag || this.tag_start_char === "{" && (!m.indent_handlebars || this.text.length < 3 || /[^#\^]/.test(this.text.charAt(S)));
25126
25126
  }
@@ -25128,18 +25128,18 @@ function EP() {
25128
25128
  f.prototype._get_tag_open_token = function(m) {
25129
25129
  var p = new d(this._options, this._tag_stack.get_parser_token(), m);
25130
25130
  return p.alignment_size = this._options.wrap_attributes_indent_size, p.is_end_tag = p.is_end_tag || u(p.tag_check, this._options.void_elements), p.is_empty_element = p.tag_complete || p.is_start_tag && p.is_end_tag, p.is_unformatted = !p.tag_complete && u(p.tag_check, this._options.unformatted), p.is_content_unformatted = !p.is_empty_element && u(p.tag_check, this._options.content_unformatted), p.is_inline_element = u(p.tag_name, this._options.inline) || this._options.inline_custom_elements && p.tag_name.includes("-") || p.tag_start_char === "{", p;
25131
- }, f.prototype._set_tag_position = function(m, p, v, A, S) {
25131
+ }, f.prototype._set_tag_position = function(m, p, v, V, S) {
25132
25132
  if (v.is_empty_element || (v.is_end_tag ? v.start_tag_token = this._tag_stack.try_pop(v.tag_name) : (this._do_optional_end_element(v) && (v.is_inline_element || m.print_newline(!1)), this._tag_stack.record_tag(v), (v.tag_name === "script" || v.tag_name === "style") && !(v.is_unformatted || v.is_content_unformatted) && (v.custom_beautifier_name = o(v.tag_check, p)))), u(v.tag_check, this._options.extra_liners) && (m.print_newline(!1), m._output.just_added_blankline() || m.print_newline(!0)), v.is_empty_element) {
25133
25133
  if (v.tag_start_char === "{" && v.tag_check === "else") {
25134
25134
  this._tag_stack.indent_to_tag(["if", "unless", "each"]), v.indent_content = !0;
25135
25135
  var $ = m.current_line_has_match(/{{#if/);
25136
25136
  $ || m.print_newline(!1);
25137
25137
  }
25138
- v.tag_name === "!--" && S.type === i.TAG_CLOSE && A.is_end_tag && v.text.indexOf(`
25138
+ v.tag_name === "!--" && S.type === i.TAG_CLOSE && V.is_end_tag && v.text.indexOf(`
25139
25139
  `) === -1 || (v.is_inline_element || v.is_unformatted || m.print_newline(!1), this._calcluate_parent_multiline(m, v));
25140
25140
  } else if (v.is_end_tag) {
25141
25141
  var P = !1;
25142
- P = v.start_tag_token && v.start_tag_token.multiline_content, P = P || !v.is_inline_element && !(A.is_inline_element || A.is_unformatted) && !(S.type === i.TAG_CLOSE && v.start_tag_token === A) && S.type !== "TK_CONTENT", (v.is_content_unformatted || v.is_unformatted) && (P = !1), P && m.print_newline(!1);
25142
+ P = v.start_tag_token && v.start_tag_token.multiline_content, P = P || !v.is_inline_element && !(V.is_inline_element || V.is_unformatted) && !(S.type === i.TAG_CLOSE && v.start_tag_token === V) && S.type !== "TK_CONTENT", (v.is_content_unformatted || v.is_unformatted) && (P = !1), P && m.print_newline(!1);
25143
25143
  } else
25144
25144
  v.indent_content = !v.custom_beautifier_name, v.tag_start_char === "<" && (v.tag_name === "html" ? v.indent_content = this._options.indent_inner_html : v.tag_name === "head" ? v.indent_content = this._options.indent_head_inner_html : v.tag_name === "body" && (v.indent_content = this._options.indent_body_inner_html)), !(v.is_inline_element || v.is_unformatted) && (S.type !== "TK_CONTENT" || v.is_content_unformatted) && m.print_newline(!1), this._calcluate_parent_multiline(m, v);
25145
25145
  }, f.prototype._calcluate_parent_multiline = function(m, p) {
@@ -25321,40 +25321,40 @@ const LP = { class: "code-slot" }, zP = { class: "code-slot" }, UP = { class: "e
25321
25321
  ref: i,
25322
25322
  style: Pt(g(u))
25323
25323
  }, [
25324
- V("div", LP, [
25324
+ A("div", LP, [
25325
25325
  In(f.$slots, "pre-code")
25326
25326
  ]),
25327
- V("div", {
25327
+ A("div", {
25328
25328
  class: "codemirror-editor",
25329
25329
  ref_key: "codeMirrorEditorRef",
25330
25330
  ref: r,
25331
25331
  style: Pt(g(h))
25332
25332
  }, null, 4),
25333
- V("div", zP, [
25333
+ A("div", zP, [
25334
25334
  In(f.$slots, "next-code")
25335
25335
  ]),
25336
- V("div", UP, [
25337
- V("i", {
25336
+ A("div", UP, [
25337
+ A("i", {
25338
25338
  title: "全屏",
25339
25339
  class: "iconfont icon-fullscreen",
25340
25340
  onClick: s
25341
25341
  }),
25342
- V("i", {
25342
+ A("i", {
25343
25343
  title: "美化",
25344
25344
  class: "iconfont icon-magic-stick",
25345
25345
  onClick: d[0] || (d[0] = (O) => c("beautify"))
25346
25346
  }),
25347
- V("i", {
25347
+ A("i", {
25348
25348
  title: "全选",
25349
25349
  class: "iconfont icon-check-square",
25350
25350
  onClick: d[1] || (d[1] = (O) => c("checkAll"))
25351
25351
  }),
25352
- V("i", {
25352
+ A("i", {
25353
25353
  title: "复制",
25354
25354
  class: "iconfont icon-document-copy",
25355
25355
  onClick: d[2] || (d[2] = (O) => c("copy"))
25356
25356
  }),
25357
- V("i", {
25357
+ A("i", {
25358
25358
  title: "清空",
25359
25359
  class: "iconfont icon-clear",
25360
25360
  onClick: d[3] || (d[3] = (O) => c("clear"))
@@ -25364,11 +25364,11 @@ const LP = { class: "code-slot" }, zP = { class: "code-slot" }, UP = { class: "e
25364
25364
  ], 4));
25365
25365
  }
25366
25366
  });
25367
- const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
25368
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "报表操作")
25369
- ], -1), IP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
25370
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "单元格")
25371
- ], -1), BP = /* @__PURE__ */ V("span", { style: { "font-family": "'SimSun', 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', serif" } }, "宋体", -1), NP = /* @__PURE__ */ V("span", { style: { "font-family": "'FangSong', 'STFangsong', 'KaiTi', 'Kaiti SC', 'Noto Sans CJK SC', sans-serif" } }, "仿宋体", -1), jP = /* @__PURE__ */ V("span", { style: { "font-family": "'KaiTi', 'Kaiti SC', 'STKaiti', 'Noto Serif CJK SC', 'Source Han Serif SC', serif" } }, "楷体", -1), GP = /* @__PURE__ */ V("span", { style: { "font-family": "'SimHei', 'Microsoft YaHei', 'PingFang SC', 'STHeiti', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif" } }, "黑体", -1), FP = /* @__PURE__ */ V("span", { style: { "font-family": "'Arial', 'Helvetica', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif" } }, "ABC/123", -1), HP = /* @__PURE__ */ V("span", { style: { "font-family": "'Courier New', 'Consolas', 'Monaco', 'Noto Sans Mono CJK SC', 'Source Han Code SC', monospace" } }, "ABC/123", -1), KP = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-align-left" }, null, -1), JP = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-align-center" }, null, -1), ek = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-align-right" }, null, -1), tk = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-horizontal-top" }, null, -1), ik = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-horizontal-center" }, null, -1), nk = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-horizontal-bottom" }, null, -1), sk = /* @__PURE__ */ V("br", null, null, -1), rk = /* @__PURE__ */ V("br", null, null, -1), lk = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "字符串模板", -1), ak = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-text" }, null, -1), ok = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-number" }, null, -1), uk = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-currency" }, null, -1), hk = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-scientific-notation" }, null, -1), ck = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-datetime" }, null, -1), fk = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-daima" }, null, -1), dk = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "自定义渲染函数", -1), Ok = /* @__PURE__ */ V("br", null, null, -1), pk = { class: "statement-option-title" }, mk = /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "行设置", -1), gk = { class: "statement-option-title" }, _k = /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "激活列", -1), Qk = /* @__PURE__ */ it({
25367
+ const WP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
25368
+ /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "报表操作")
25369
+ ], -1), IP = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
25370
+ /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "单元格")
25371
+ ], -1), BP = /* @__PURE__ */ A("span", { style: { "font-family": "'SimSun', 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', serif" } }, "宋体", -1), NP = /* @__PURE__ */ A("span", { style: { "font-family": "'FangSong', 'STFangsong', 'KaiTi', 'Kaiti SC', 'Noto Sans CJK SC', sans-serif" } }, "仿宋体", -1), jP = /* @__PURE__ */ A("span", { style: { "font-family": "'KaiTi', 'Kaiti SC', 'STKaiti', 'Noto Serif CJK SC', 'Source Han Serif SC', serif" } }, "楷体", -1), GP = /* @__PURE__ */ A("span", { style: { "font-family": "'SimHei', 'Microsoft YaHei', 'PingFang SC', 'STHeiti', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif" } }, "黑体", -1), FP = /* @__PURE__ */ A("span", { style: { "font-family": "'Arial', 'Helvetica', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif" } }, "ABC/123", -1), HP = /* @__PURE__ */ A("span", { style: { "font-family": "'Courier New', 'Consolas', 'Monaco', 'Noto Sans Mono CJK SC', 'Source Han Code SC', monospace" } }, "ABC/123", -1), KP = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-align-left" }, null, -1), JP = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-align-center" }, null, -1), ek = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-align-right" }, null, -1), tk = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-horizontal-top" }, null, -1), ik = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-horizontal-center" }, null, -1), nk = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-horizontal-bottom" }, null, -1), sk = /* @__PURE__ */ A("br", null, null, -1), rk = /* @__PURE__ */ A("br", null, null, -1), lk = /* @__PURE__ */ A("span", { class: "tooltip-span" }, "字符串模板", -1), ak = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-text" }, null, -1), ok = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-number" }, null, -1), uk = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-currency" }, null, -1), hk = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-scientific-notation" }, null, -1), ck = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-datetime" }, null, -1), fk = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-daima" }, null, -1), dk = /* @__PURE__ */ A("span", { class: "tooltip-span" }, "自定义渲染函数", -1), Ok = /* @__PURE__ */ A("br", null, null, -1), pk = { class: "statement-option-title" }, mk = /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "行设置", -1), gk = { class: "statement-option-title" }, _k = /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "激活列", -1), Qk = /* @__PURE__ */ it({
25372
25372
  __name: "cellEditor",
25373
25373
  setup(n) {
25374
25374
  const e = vt(), { active: t, activeIndex: i, activeCells: s, activeTable: r, activeTableIndex: l, activeTableMergeCells: a, isOneCell: o, activeCell: u, allTextCell: h, activeCols: c, activeRows: f, isOneRow: d, activeRow: O, isOneCol: y, activeCol: m } = yt(e), p = _e(() => l.value !== null && l.value > -1);
@@ -25406,7 +25406,7 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
25406
25406
  });
25407
25407
  }), M ? Di.success("表格已修复") : Di.info("表格没有错误");
25408
25408
  }
25409
- const A = {
25409
+ const V = {
25410
25410
  type: "text",
25411
25411
  text: "",
25412
25412
  data: "",
@@ -25567,7 +25567,7 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
25567
25567
  });
25568
25568
  if (o.value = G.filter((Y) => Y && Y.col !== -1 && Y.row !== -1 && Y.rowSpan !== 0 && Y.colSpan !== 0).length === 1, o.value) {
25569
25569
  let Y = G[0];
25570
- Y.isGroup || (Y.isGroup = !1), Y.isRowColCombine || (Y.isRowColCombine = !1), u.value = Y, c.value = [Y.col], f.value = [Y.row], O.value = r.value.rowConfig[Y.row], m.value = r.value.colConfig[Y.col], d.value = !0, y.value = !0, u.value && u.value.type && (h.value = [de.TEXT, de.FIELD].includes(u.value.type)), Object.entries(A).forEach(([N, L]) => {
25570
+ Y.isGroup || (Y.isGroup = !1), Y.isRowColCombine || (Y.isRowColCombine = !1), u.value = Y, c.value = [Y.col], f.value = [Y.row], O.value = r.value.rowConfig[Y.row], m.value = r.value.colConfig[Y.col], d.value = !0, y.value = !0, u.value && u.value.type && (h.value = [de.TEXT, de.FIELD].includes(u.value.type)), Object.entries(V).forEach(([N, L]) => {
25571
25571
  S[N] = L;
25572
25572
  }), S.colSize = m.value.size, S.colFixed = m.value.isFixed, S.rowSize = O.value.size, S.rowFixed = O.value.isFixed, u.value && Object.entries(u.value).forEach(([N, L]) => {
25573
25573
  N === "formatType" ? (S.formatType || (S.formatType = {}), Object.entries(L).forEach(([J, se]) => {
@@ -25585,7 +25585,7 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
25585
25585
  L.get(I) || L.set(I, /* @__PURE__ */ new Set()), L.get(I).add(Qe);
25586
25586
  });
25587
25587
  }));
25588
- }), h.value && Object.entries(A).forEach(([J, se]) => {
25588
+ }), h.value && Object.entries(V).forEach(([J, se]) => {
25589
25589
  if (["type", "data"].includes(J))
25590
25590
  S[J] = se;
25591
25591
  else {
@@ -26580,7 +26580,7 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
26580
26580
  ], 64)) : ce("", !0)
26581
26581
  ], 64)) : ce("", !0),
26582
26582
  g(f) && g(f).length > 0 && g(O) ? (q(), F(oe, { key: 1 }, [
26583
- V("div", pk, [
26583
+ A("div", pk, [
26584
26584
  mk,
26585
26585
  _(G, { size: "small" }, {
26586
26586
  default: b(() => [
@@ -26719,7 +26719,7 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
26719
26719
  ], 64)) : ce("", !0)
26720
26720
  ], 64)) : ce("", !0),
26721
26721
  g(c) && g(c).length > 0 ? (q(), F(oe, { key: 2 }, [
26722
- V("div", gk, [
26722
+ A("div", gk, [
26723
26723
  _k,
26724
26724
  _(G, { size: "small" }, {
26725
26725
  default: b(() => [
@@ -26858,27 +26858,7 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
26858
26858
  ], 64);
26859
26859
  };
26860
26860
  }
26861
- }), bk = /* @__PURE__ */ V("div", {
26862
- class: "statement-option-title",
26863
- style: { top: "0" }
26864
- }, [
26865
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "宽高")
26866
- ], -1), yk = /* @__PURE__ */ V("div", {
26867
- class: "statement-option-title",
26868
- style: { top: "0" }
26869
- }, [
26870
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "序号")
26871
- ], -1), vk = /* @__PURE__ */ V("div", {
26872
- class: "statement-option-title",
26873
- style: { top: "100px" }
26874
- }, [
26875
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "主题设置")
26876
- ], -1), Sk = /* @__PURE__ */ V("div", {
26877
- class: "statement-option-title",
26878
- style: { top: "100px" }
26879
- }, [
26880
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "导出方式")
26881
- ], -1), xk = /* @__PURE__ */ it({
26861
+ }), bk = /* @__PURE__ */ it({
26882
26862
  __name: "reportOption",
26883
26863
  setup(n) {
26884
26864
  const e = vt(), { active: t, detail: i } = yt(e), s = _e(() => i.value.options.length === 1);
@@ -26917,7 +26897,6 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
26917
26897
  gutter: 10
26918
26898
  }, {
26919
26899
  default: b(() => [
26920
- bk,
26921
26900
  _(f, { span: 12 }, {
26922
26901
  default: b(() => [
26923
26902
  _(c, { label: "宽度单位" }, {
@@ -27000,7 +26979,6 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
27000
26979
  ]),
27001
26980
  _: 1
27002
26981
  }),
27003
- yk,
27004
26982
  _(f, { span: 8 }, {
27005
26983
  default: b(() => [
27006
26984
  _(c, { label: "序号" }, {
@@ -27029,7 +27007,6 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
27029
27007
  ]),
27030
27008
  _: 1
27031
27009
  }),
27032
- vk,
27033
27010
  _(f, { span: 24 }, {
27034
27011
  default: b(() => [
27035
27012
  _(c, { label: "主题" }, {
@@ -27078,10 +27055,9 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
27078
27055
  ]),
27079
27056
  _: 1
27080
27057
  }),
27081
- Sk,
27082
27058
  _(f, { span: 24 }, {
27083
27059
  default: b(() => [
27084
- _(c, { label: "主题" }, {
27060
+ _(c, { label: "导出方式" }, {
27085
27061
  default: b(() => [
27086
27062
  _(y, {
27087
27063
  modelValue: g(t).exportMethod,
@@ -27119,7 +27095,7 @@ const WP = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
27119
27095
  };
27120
27096
  }
27121
27097
  });
27122
- let $k = [
27098
+ let yk = [
27123
27099
  we("sourceData", {
27124
27100
  label: "sourceData",
27125
27101
  type: "variable",
@@ -27131,15 +27107,15 @@ let $k = [
27131
27107
  detail: "接口请求."
27132
27108
  })
27133
27109
  ];
27134
- const wk = function(n, e) {
27110
+ const vk = function(n, e) {
27135
27111
  let t = n.matchBefore(/[\w.-\[\]]+/);
27136
27112
  if (t === null || t.from == t.to && !n.explicit)
27137
27113
  return null;
27138
27114
  {
27139
27115
  let i = t.text, s = Ye(n.state).resolveInner(n.pos, -1), r = /\./.test(s.name) ? s.to : s.from;
27140
- return Pk(r, i, e);
27116
+ return Sk(r, i, e);
27141
27117
  }
27142
- }, Pk = function(n, e, t) {
27118
+ }, Sk = function(n, e, t) {
27143
27119
  let i = [];
27144
27120
  const s = /sourceData./, r = /sourceData.\w+\[/;
27145
27121
  if (/sourceData.\w+\[\d+\]./.test(e)) {
@@ -27186,15 +27162,15 @@ const wk = function(n, e) {
27186
27162
  );
27187
27163
  }), i = a;
27188
27164
  } else
27189
- i = $k.filter((a) => a.label.includes(e));
27165
+ i = yk.filter((a) => a.label.includes(e));
27190
27166
  return i ? {
27191
27167
  from: n,
27192
27168
  options: i,
27193
27169
  validFor: /^[\w.-\[\]]$/
27194
27170
  } : null;
27195
- }, kk = /* @__PURE__ */ V("div", { class: "statement-form-sub-title" }, "固定定位", -1), Tk = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "顶部距离", -1), Ck = /* @__PURE__ */ V("span", { class: "tooltip-span" }, "左侧距离", -1), Xk = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
27196
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "数据")
27197
- ], -1), Rk = /* @__PURE__ */ it({
27171
+ }, xk = /* @__PURE__ */ A("div", { class: "statement-form-sub-title" }, "固定定位", -1), $k = /* @__PURE__ */ A("span", { class: "tooltip-span" }, "顶部距离", -1), wk = /* @__PURE__ */ A("span", { class: "tooltip-span" }, "左侧距离", -1), Pk = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
27172
+ /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "数据")
27173
+ ], -1), kk = /* @__PURE__ */ it({
27198
27174
  __name: "chartOption",
27199
27175
  setup(n) {
27200
27176
  const e = vt(), { active: t, detail: i } = yt(e), s = _e(() => t.value ? Nf.includes(t.value.type) : !1);
@@ -27238,29 +27214,29 @@ const wk = function(n, e) {
27238
27214
  });
27239
27215
  function o() {
27240
27216
  if (t.value) {
27241
- let { smooth: d, symbol: O, showLabel: y, areaStyle: m, labelColor: p, labelPosition: v, radius: A } = t.value;
27217
+ let { smooth: d, symbol: O, showLabel: y, areaStyle: m, labelColor: p, labelPosition: v, radius: V } = t.value;
27242
27218
  Array.isArray(a.value.series) ? a.value.series.forEach((S) => {
27243
27219
  var $;
27244
27220
  S.smooth = d, S.symbol = O, S.label = {
27245
27221
  show: y,
27246
27222
  color: p,
27247
27223
  position: v
27248
- }, (($ = t.value) == null ? void 0 : $.type) == "pie" && (S.label.position = "outside", A ? S.radius = ["40%", "70%"] : S.radius = [0, "75%"]), S.areaStyle = m && JSON.parse(m);
27224
+ }, (($ = t.value) == null ? void 0 : $.type) == "pie" && (S.label.position = "outside", V ? S.radius = ["40%", "70%"] : S.radius = [0, "75%"]), S.areaStyle = m && JSON.parse(m);
27249
27225
  }) : a.value.series instanceof Object && (a.value.series.smooth = d, a.value.series.symbol = O, a.value.series.label = {
27250
27226
  show: y,
27251
27227
  color: p,
27252
27228
  position: v
27253
- }, t.value.type == "pie" && (a.value.series.label.position = "outside", A ? a.value.series.radius = ["40%", "70%"] : a.value.series.radius = [0, "75%"]), a.value.series.areaStyle = m && JSON.parse(m));
27229
+ }, t.value.type == "pie" && (a.value.series.label.position = "outside", V ? a.value.series.radius = ["40%", "70%"] : a.value.series.radius = [0, "75%"]), a.value.series.areaStyle = m && JSON.parse(m));
27254
27230
  }
27255
27231
  }
27256
27232
  let u = {};
27257
27233
  const h = _e(() => {
27258
27234
  var y, m;
27259
27235
  let d = [];
27260
- u = {}, t.value && (d = (m = (y = t.value.data) == null ? void 0 : y.source) == null ? void 0 : m.map(({ name: p, key: v, columns: A }) => ({
27236
+ u = {}, t.value && (d = (m = (y = t.value.data) == null ? void 0 : y.source) == null ? void 0 : m.map(({ name: p, key: v, columns: V }) => ({
27261
27237
  label: p,
27262
27238
  value: v,
27263
- children: A.map(({ name: S, columnName: $ }) => ($ = $.toUpperCase(), Xt(u, `${v}.${$}`, S), {
27239
+ children: V.map(({ name: S, columnName: $ }) => ($ = $.toUpperCase(), Xt(u, `${v}.${$}`, S), {
27264
27240
  label: S,
27265
27241
  value: $
27266
27242
  }))
@@ -27268,8 +27244,8 @@ const wk = function(n, e) {
27268
27244
  let O = i.value.options.filter((p) => p.type === "report" && p.data.source && p.data.source.length).map(({ id: p, data: { source: v } }) => ({
27269
27245
  label: p,
27270
27246
  value: p,
27271
- children: v.map(({ name: A, key: S, columns: $ }) => ({
27272
- label: A,
27247
+ children: v.map(({ name: V, key: S, columns: $ }) => ({
27248
+ label: V,
27273
27249
  value: S,
27274
27250
  children: $.map(({ name: P, columnName: w }) => {
27275
27251
  w = w.toUpperCase();
@@ -27300,7 +27276,7 @@ const wk = function(n, e) {
27300
27276
  d && d !== "NONE" && t.value && (t.value.cutLength = t.value.cutLength || 5);
27301
27277
  }
27302
27278
  return (d, O) => {
27303
- const y = he("el-color-picker"), m = he("el-input"), p = he("el-form-item"), v = he("el-input-number"), A = he("el-col"), S = he("el-radio-button"), $ = he("el-radio-group"), P = he("el-row"), w = he("el-switch"), k = he("el-tooltip"), R = he("el-cascader"), Q = he("el-tab-pane");
27279
+ const y = he("el-color-picker"), m = he("el-input"), p = he("el-form-item"), v = he("el-input-number"), V = he("el-col"), S = he("el-radio-button"), $ = he("el-radio-group"), P = he("el-row"), w = he("el-switch"), k = he("el-tooltip"), R = he("el-cascader"), Q = he("el-tab-pane");
27304
27280
  return q(), F(oe, null, [
27305
27281
  g(t) ? (q(), re(Q, {
27306
27282
  key: 0,
@@ -27340,7 +27316,7 @@ const wk = function(n, e) {
27340
27316
  default: b(() => [
27341
27317
  _(P, { gutter: 10 }, {
27342
27318
  default: b(() => [
27343
- _(A, { span: 12 }, {
27319
+ _(V, { span: 12 }, {
27344
27320
  default: b(() => [
27345
27321
  _(v, {
27346
27322
  "controls-position": "right",
@@ -27351,7 +27327,7 @@ const wk = function(n, e) {
27351
27327
  ]),
27352
27328
  _: 1
27353
27329
  }),
27354
- _(A, { span: 12 }, {
27330
+ _(V, { span: 12 }, {
27355
27331
  default: b(() => [
27356
27332
  _($, {
27357
27333
  modelValue: g(t).widthUnit,
@@ -27386,7 +27362,7 @@ const wk = function(n, e) {
27386
27362
  default: b(() => [
27387
27363
  _(P, { gutter: 10 }, {
27388
27364
  default: b(() => [
27389
- _(A, { span: 12 }, {
27365
+ _(V, { span: 12 }, {
27390
27366
  default: b(() => [
27391
27367
  _(v, {
27392
27368
  modelValue: g(t).height,
@@ -27397,7 +27373,7 @@ const wk = function(n, e) {
27397
27373
  ]),
27398
27374
  _: 1
27399
27375
  }),
27400
- _(A, { span: 12 }, {
27376
+ _(V, { span: 12 }, {
27401
27377
  default: b(() => [
27402
27378
  _($, {
27403
27379
  modelValue: g(t).heightUnit,
@@ -27636,7 +27612,7 @@ const wk = function(n, e) {
27636
27612
  _: 1
27637
27613
  })) : ce("", !0),
27638
27614
  g(t).isSuspend ? (q(), F(oe, { key: 6 }, [
27639
- kk,
27615
+ xk,
27640
27616
  _(p, null, {
27641
27617
  label: b(() => [
27642
27618
  _(k, {
@@ -27646,7 +27622,7 @@ const wk = function(n, e) {
27646
27622
  placement: "top-start"
27647
27623
  }, {
27648
27624
  default: b(() => [
27649
- Tk
27625
+ $k
27650
27626
  ]),
27651
27627
  _: 1
27652
27628
  })
@@ -27669,7 +27645,7 @@ const wk = function(n, e) {
27669
27645
  placement: "top-start"
27670
27646
  }, {
27671
27647
  default: b(() => [
27672
- Ck
27648
+ wk
27673
27649
  ]),
27674
27650
  _: 1
27675
27651
  })
@@ -27684,7 +27660,7 @@ const wk = function(n, e) {
27684
27660
  _: 1
27685
27661
  })
27686
27662
  ], 64)) : ce("", !0),
27687
- Xk,
27663
+ Pk,
27688
27664
  _(p, { label: g(r) }, {
27689
27665
  default: b(() => [
27690
27666
  _(R, {
@@ -27783,7 +27759,7 @@ const wk = function(n, e) {
27783
27759
  modelValue: g(l),
27784
27760
  "onUpdate:modelValue": O[26] || (O[26] = (T) => Hm(l) ? l.value = T : l = T),
27785
27761
  autocomplete: {
27786
- javascript: g(wk)
27762
+ javascript: g(vk)
27787
27763
  },
27788
27764
  language: "javascript",
27789
27765
  height: 600
@@ -27798,7 +27774,7 @@ const wk = function(n, e) {
27798
27774
  };
27799
27775
  }
27800
27776
  });
27801
- const Zk = /* @__PURE__ */ it({
27777
+ const Tk = /* @__PURE__ */ it({
27802
27778
  __name: "colorChoose",
27803
27779
  props: {
27804
27780
  modelValue: null
@@ -27823,7 +27799,7 @@ const Zk = /* @__PURE__ */ it({
27823
27799
  });
27824
27800
  };
27825
27801
  }
27826
- }), Vk = { class: "statement-option-title" }, Ak = /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "数据", -1), Yk = /* @__PURE__ */ it({
27802
+ }), Ck = { class: "statement-option-title" }, Xk = /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "数据", -1), Rk = /* @__PURE__ */ it({
27827
27803
  __name: "labelOption",
27828
27804
  setup(n) {
27829
27805
  const e = vt(), { active: t, detail: i } = yt(e);
@@ -27854,9 +27830,9 @@ const Zk = /* @__PURE__ */ it({
27854
27830
  value: y,
27855
27831
  children: m.map(({ name: p, columnName: v }) => {
27856
27832
  v = v.toUpperCase();
27857
- let A = p || v;
27858
- return Xt(r, `${f}.${y}.${v}`, A), {
27859
- label: A,
27833
+ let V = p || v;
27834
+ return Xt(r, `${f}.${y}.${v}`, V), {
27835
+ label: V,
27860
27836
  value: v
27861
27837
  };
27862
27838
  })
@@ -27868,7 +27844,7 @@ const Zk = /* @__PURE__ */ it({
27868
27844
  o && o !== "NONE" && t.value && (t.value.cutLength = t.value.cutLength || 5);
27869
27845
  }
27870
27846
  return (o, u) => {
27871
- const h = he("el-color-picker"), c = he("el-input"), f = he("el-form-item"), d = he("el-input-number"), O = he("el-col"), y = he("el-radio-button"), m = he("el-radio-group"), p = he("el-row"), v = he("el-cascader"), A = he("el-switch"), S = he("el-tab-pane");
27847
+ const h = he("el-color-picker"), c = he("el-input"), f = he("el-form-item"), d = he("el-input-number"), O = he("el-col"), y = he("el-radio-button"), m = he("el-radio-group"), p = he("el-row"), v = he("el-cascader"), V = he("el-switch"), S = he("el-tab-pane");
27872
27848
  return g(t) ? (q(), re(S, {
27873
27849
  key: 0,
27874
27850
  name: "label",
@@ -27986,8 +27962,8 @@ const Zk = /* @__PURE__ */ it({
27986
27962
  ]),
27987
27963
  _: 1
27988
27964
  }),
27989
- V("div", Vk, [
27990
- Ak,
27965
+ A("div", Ck, [
27966
+ Xk,
27991
27967
  _(m, {
27992
27968
  style: { width: "auto" },
27993
27969
  modelValue: g(s).notSingle,
@@ -28027,7 +28003,7 @@ const Zk = /* @__PURE__ */ it({
28027
28003
  }),
28028
28004
  _(f, { label: "分组求和" }, {
28029
28005
  default: b(() => [
28030
- _(A, {
28006
+ _(V, {
28031
28007
  modelValue: g(s).groupBy,
28032
28008
  "onUpdate:modelValue": u[8] || (u[8] = ($) => g(s).groupBy = $)
28033
28009
  }, null, 8, ["modelValue"])
@@ -28104,7 +28080,7 @@ const Zk = /* @__PURE__ */ it({
28104
28080
  }),
28105
28081
  _(f, { label: "颜色" }, {
28106
28082
  default: b(() => [
28107
- _(Zk, {
28083
+ _(Tk, {
28108
28084
  modelValue: g(s).singleColor,
28109
28085
  "onUpdate:modelValue": u[13] || (u[13] = ($) => g(s).singleColor = $)
28110
28086
  }, null, 8, ["modelValue"])
@@ -28175,7 +28151,7 @@ const Zk = /* @__PURE__ */ it({
28175
28151
  };
28176
28152
  }
28177
28153
  });
28178
- const Ek = /* @__PURE__ */ it({
28154
+ const Zk = /* @__PURE__ */ it({
28179
28155
  __name: "options",
28180
28156
  setup(n) {
28181
28157
  const e = vt(), { active: t } = yt(e), i = be("cell");
@@ -28207,7 +28183,7 @@ const Ek = /* @__PURE__ */ it({
28207
28183
  }, {
28208
28184
  default: b(() => [
28209
28185
  g(t) !== null ? (q(), F(oe, { key: 0 }, [
28210
- g(t) && g(t).type === "report" ? (q(), re(xk, { key: 0 })) : g(t) && g(t).type === "label" ? (q(), re(Yk, { key: 1 })) : (q(), re(Rk, { key: 2 }))
28186
+ g(t) && g(t).type === "report" ? (q(), re(bk, { key: 0 })) : g(t) && g(t).type === "label" ? (q(), re(Rk, { key: 1 })) : (q(), re(kk, { key: 2 }))
28211
28187
  ], 64)) : ce("", !0)
28212
28188
  ]),
28213
28189
  _: 1
@@ -28216,58 +28192,58 @@ const Ek = /* @__PURE__ */ it({
28216
28192
  _: 1
28217
28193
  }));
28218
28194
  }
28219
- }), qk = {
28195
+ }), Vk = {
28220
28196
  class: "statement-option-title",
28221
28197
  style: { top: "0" }
28222
- }, Mk = /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "数据源", -1), Dk = {
28198
+ }, Ak = /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "数据源", -1), Yk = {
28223
28199
  key: 0,
28224
28200
  class: "data-source-status"
28225
- }, Lk = { class: "data-source-name" }, zk = ["data-index", "data-cindex"], Uk = {
28201
+ }, Ek = { class: "data-source-name" }, qk = ["data-index", "data-cindex"], Mk = {
28226
28202
  key: 0,
28227
28203
  class: "desinger-container static-data"
28228
- }, Wk = { class: "data-source-title" }, Ik = /* @__PURE__ */ V("div", { class: "data-source-title-text" }, "数据源列表", -1), Bk = /* @__PURE__ */ V("div", { class: "data-source-title-text" }, "选择数据来源", -1), Nk = {
28204
+ }, Dk = { class: "data-source-title" }, Lk = /* @__PURE__ */ A("div", { class: "data-source-title-text" }, "数据源列表", -1), zk = /* @__PURE__ */ A("div", { class: "data-source-title-text" }, "选择数据来源", -1), Uk = {
28229
28205
  key: 0,
28230
28206
  class: "data-source-list"
28231
- }, jk = {
28207
+ }, Wk = {
28232
28208
  key: 1,
28233
28209
  class: "data-source-list"
28234
- }, Gk = ["onClick"], Fk = { class: "data-source-name" }, Hk = { class: "data-source-name-context" }, Kk = { class: "data-source-columns" }, Jk = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28235
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "启用分页"),
28236
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "数据分页展示")
28237
- ], -1), eT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28238
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "失焦"),
28239
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "输入框失焦自动查询")
28240
- ], -1), tT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28241
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "分页数"),
28242
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "每页数量")
28243
- ], -1), iT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28244
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "分页数选择"),
28245
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "设置可选分页数")
28246
- ], -1), nT = { class: "data-pagesizes" }, sT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28247
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "数据前置处理函数"),
28248
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
28249
- ], -1), rT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28250
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "Tooltip处理"),
28251
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
28252
- ], -1), lT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28253
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "X轴数据处理"),
28254
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
28255
- ], -1), aT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28256
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "Y轴数据处理"),
28257
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
28258
- ], -1), oT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28259
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "数据处理"),
28260
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
28261
- ], -1), uT = /* @__PURE__ */ V("br", null, null, -1), hT = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28262
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "转为对象"),
28263
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" }, "点位、对象、固定报表")
28264
- ], -1), cT = { class: "custom-from-item-label" }, fT = /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "转换配置", -1), dT = { class: "custom-from-item-label-tips" }, OT = { class: "custom-from-item-label" }, pT = /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "数据源字段管理", -1), mT = { class: "custom-from-item-label-tips" }, gT = { class: "source-columns-editor-container" }, _T = /* @__PURE__ */ V("div", { class: "custom-from-item-label" }, [
28265
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-context" }, "字段名"),
28266
- /* @__PURE__ */ V("div", { class: "custom-from-item-label-tips" })
28267
- ], -1), QT = { class: "custom-from-item-label" }, bT = { class: "custom-from-item-label-context" }, yT = { class: "custom-from-item-label-tips" }, vT = {
28210
+ }, Ik = ["onClick"], Bk = { class: "data-source-name" }, Nk = { class: "data-source-name-context" }, jk = { class: "data-source-columns" }, Gk = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28211
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "启用分页"),
28212
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" }, "数据分页展示")
28213
+ ], -1), Fk = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28214
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "失焦"),
28215
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" }, "输入框失焦自动查询")
28216
+ ], -1), Hk = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28217
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "分页数"),
28218
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" }, "每页数量")
28219
+ ], -1), Kk = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28220
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "分页数选择"),
28221
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" }, "设置可选分页数")
28222
+ ], -1), Jk = { class: "data-pagesizes" }, eT = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28223
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "数据前置处理函数"),
28224
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" })
28225
+ ], -1), tT = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28226
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "Tooltip处理"),
28227
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" })
28228
+ ], -1), iT = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28229
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "X轴数据处理"),
28230
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" })
28231
+ ], -1), nT = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28232
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "Y轴数据处理"),
28233
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" })
28234
+ ], -1), sT = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28235
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "数据处理"),
28236
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" })
28237
+ ], -1), rT = /* @__PURE__ */ A("br", null, null, -1), lT = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28238
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "转为对象"),
28239
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" }, "点位、对象、固定报表")
28240
+ ], -1), aT = { class: "custom-from-item-label" }, oT = /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "转换配置", -1), uT = { class: "custom-from-item-label-tips" }, hT = { class: "custom-from-item-label" }, cT = /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "数据源字段管理", -1), fT = { class: "custom-from-item-label-tips" }, dT = { class: "source-columns-editor-container" }, OT = /* @__PURE__ */ A("div", { class: "custom-from-item-label" }, [
28241
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-context" }, "字段名"),
28242
+ /* @__PURE__ */ A("div", { class: "custom-from-item-label-tips" })
28243
+ ], -1), pT = { class: "custom-from-item-label" }, mT = { class: "custom-from-item-label-context" }, gT = { class: "custom-from-item-label-tips" }, _T = {
28268
28244
  key: 0,
28269
28245
  class: "new-source-column-form"
28270
- }, ST = /* @__PURE__ */ V("h2", null, "添加数据源字段", -1), xT = /* @__PURE__ */ V("div", { class: "title-context" }, "数据源设置", -1), $T = /* @__PURE__ */ it({
28246
+ }, QT = /* @__PURE__ */ A("h2", null, "添加数据源字段", -1), bT = /* @__PURE__ */ A("div", { class: "title-context" }, "数据源设置", -1), yT = /* @__PURE__ */ it({
28271
28247
  __name: "dataOption",
28272
28248
  setup(n) {
28273
28249
  const e = vt(), t = be(!1), { active: i } = yt(e), s = _e(() => i.value ? Nf.includes(i.value.type) : !1), r = _e(() => i.value ? i.value.data.source : []), l = _e(() => {
@@ -28306,9 +28282,9 @@ const Ek = /* @__PURE__ */ it({
28306
28282
  u.value = !1;
28307
28283
  };
28308
28284
  async function v() {
28309
- i.value && i.value.data && i.value.data.source && (d.value = i.value.data.source.map((U) => U.key), await y(), A());
28285
+ i.value && i.value.data && i.value.data.source && (d.value = i.value.data.source.map((U) => U.key), await y(), V());
28310
28286
  }
28311
- async function A() {
28287
+ async function V() {
28312
28288
  if (d.value && Array.isArray(d.value)) {
28313
28289
  O.value = !0;
28314
28290
  const U = d.value;
@@ -28393,8 +28369,8 @@ const Ek = /* @__PURE__ */ it({
28393
28369
  }), (U, E) => {
28394
28370
  const B = he("el-tag"), ie = he("el-input"), ne = he("el-checkbox"), M = he("el-checkbox-group"), C = he("el-col"), G = he("el-switch"), Y = he("el-form-item"), N = he("el-option"), L = he("el-select"), J = he("el-input-number"), se = he("el-row"), Z = he("el-form");
28395
28371
  return q(), F(oe, null, [
28396
- V("div", qk, [
28397
- Mk,
28372
+ A("div", Vk, [
28373
+ Ak,
28398
28374
  _(g(Te), {
28399
28375
  onClick: o,
28400
28376
  type: "success",
@@ -28406,7 +28382,7 @@ const Ek = /* @__PURE__ */ it({
28406
28382
  _: 1
28407
28383
  })
28408
28384
  ]),
28409
- g(i) ? (q(), F("div", Dk, [
28385
+ g(i) ? (q(), F("div", Yk, [
28410
28386
  g(i).data.pagination ? (q(), F(oe, { key: 0 }, [
28411
28387
  _(B, { type: "info" }, {
28412
28388
  default: b(() => [
@@ -28474,9 +28450,9 @@ const Ek = /* @__PURE__ */ it({
28474
28450
  name: I.url
28475
28451
  }, {
28476
28452
  title: b(() => [
28477
- V("div", Lk, [
28478
- V("div", null, Ue(I.name) + " (" + Ue(I.url) + ")", 1),
28479
- V("div", null, [
28453
+ A("div", Ek, [
28454
+ A("div", null, Ue(I.name) + " (" + Ue(I.url) + ")", 1),
28455
+ A("div", null, [
28480
28456
  I.toObject ? (q(), re(B, {
28481
28457
  key: 0,
28482
28458
  type: "info"
@@ -28497,14 +28473,14 @@ const Ek = /* @__PURE__ */ it({
28497
28473
  "data-cindex": qt,
28498
28474
  draggable: "true"
28499
28475
  }, [
28500
- V("div", null, [
28476
+ A("div", null, [
28501
28477
  Ce.name === Ce.columnName ? (q(), F(oe, { key: 0 }, [
28502
28478
  D(Ue(Ce.name), 1)
28503
28479
  ], 64)) : (q(), F(oe, { key: 1 }, [
28504
28480
  D(Ue(Ce.name) + " (" + Ue(Ce.columnName) + ")", 1)
28505
28481
  ], 64))
28506
28482
  ])
28507
- ], 8, zk))), 256))
28483
+ ], 8, qk))), 256))
28508
28484
  ]),
28509
28485
  _: 2
28510
28486
  }, 1032, ["name"]))), 128))
@@ -28520,7 +28496,7 @@ const Ek = /* @__PURE__ */ it({
28520
28496
  "onUpdate:modelValue": E[16] || (E[16] = (I) => t.value = I)
28521
28497
  }, {
28522
28498
  header: b(() => [
28523
- xT,
28499
+ bT,
28524
28500
  D("   "),
28525
28501
  _(g(Te), {
28526
28502
  type: "warning",
@@ -28534,14 +28510,14 @@ const Ek = /* @__PURE__ */ it({
28534
28510
  })
28535
28511
  ]),
28536
28512
  default: b(() => [
28537
- g(i) ? (q(), F("div", Uk, [
28513
+ g(i) ? (q(), F("div", Mk, [
28538
28514
  _(se, { class: "process-data" }, {
28539
28515
  default: b(() => [
28540
28516
  _(C, { span: 8 }, {
28541
28517
  default: b(() => [
28542
- V("div", Wk, [
28518
+ A("div", Dk, [
28543
28519
  u.value ? (q(), F(oe, { key: 1 }, [
28544
- Bk,
28520
+ zk,
28545
28521
  _(ie, {
28546
28522
  placeholder: "键入筛选数据源",
28547
28523
  modelValue: c.value,
@@ -28563,7 +28539,7 @@ const Ek = /* @__PURE__ */ it({
28563
28539
  plain: "",
28564
28540
  type: "primary",
28565
28541
  loading: O.value,
28566
- onClick: A
28542
+ onClick: V
28567
28543
  }, {
28568
28544
  default: b(() => [
28569
28545
  D(" 保存 ")
@@ -28571,7 +28547,7 @@ const Ek = /* @__PURE__ */ it({
28571
28547
  _: 1
28572
28548
  }, 8, ["loading"])
28573
28549
  ], 64)) : (q(), F(oe, { key: 0 }, [
28574
- Ik,
28550
+ Lk,
28575
28551
  _(g(Te), {
28576
28552
  type: "text",
28577
28553
  onClick: v
@@ -28592,7 +28568,7 @@ const Ek = /* @__PURE__ */ it({
28592
28568
  })
28593
28569
  ], 64))
28594
28570
  ]),
28595
- u.value ? (q(), F("div", Nk, [
28571
+ u.value ? (q(), F("div", Uk, [
28596
28572
  _(M, {
28597
28573
  modelValue: d.value,
28598
28574
  "onUpdate:modelValue": E[1] || (E[1] = (I) => d.value = I)
@@ -28609,15 +28585,15 @@ const Ek = /* @__PURE__ */ it({
28609
28585
  ]),
28610
28586
  _: 1
28611
28587
  }, 8, ["modelValue"])
28612
- ])) : (q(), F("div", jk, [
28588
+ ])) : (q(), F("div", Wk, [
28613
28589
  (q(!0), F(oe, null, qe(g(r), (I, Qe) => {
28614
28590
  var Ce;
28615
28591
  return q(), F("div", {
28616
28592
  class: Zt(["data-source-item", { active: ((Ce = $.value) == null ? void 0 : Ce.key) == I.key }]),
28617
28593
  onClick: (qt) => P(I)
28618
28594
  }, [
28619
- V("div", Fk, [
28620
- V("div", Hk, Ue(I.name) + " (" + Ue(I.url) + ")", 1),
28595
+ A("div", Bk, [
28596
+ A("div", Nk, Ue(I.name) + " (" + Ue(I.url) + ")", 1),
28621
28597
  I.toObject ? (q(), re(B, {
28622
28598
  key: 0,
28623
28599
  size: "small",
@@ -28640,7 +28616,7 @@ const Ek = /* @__PURE__ */ it({
28640
28616
  _: 2
28641
28617
  }, 1032, ["onClick"])
28642
28618
  ]),
28643
- V("div", Kk, [
28619
+ A("div", jk, [
28644
28620
  (q(!0), F(oe, null, qe(I.columns, (qt) => (q(), re(B, null, {
28645
28621
  default: b(() => [
28646
28622
  qt.name === qt.columnName ? (q(), F(oe, { key: 0 }, [
@@ -28652,7 +28628,7 @@ const Ek = /* @__PURE__ */ it({
28652
28628
  _: 2
28653
28629
  }, 1024))), 256))
28654
28630
  ])
28655
- ], 10, Gk);
28631
+ ], 10, Ik);
28656
28632
  }), 256))
28657
28633
  ]))
28658
28634
  ]),
@@ -28669,7 +28645,7 @@ const Ek = /* @__PURE__ */ it({
28669
28645
  default: b(() => [
28670
28646
  _(Y, null, {
28671
28647
  label: b(() => [
28672
- Jk
28648
+ Gk
28673
28649
  ]),
28674
28650
  default: b(() => [
28675
28651
  _(G, {
@@ -28690,7 +28666,7 @@ const Ek = /* @__PURE__ */ it({
28690
28666
  default: b(() => [
28691
28667
  _(Y, null, {
28692
28668
  label: b(() => [
28693
- eT
28669
+ Fk
28694
28670
  ]),
28695
28671
  default: b(() => [
28696
28672
  _(G, {
@@ -28710,7 +28686,7 @@ const Ek = /* @__PURE__ */ it({
28710
28686
  default: b(() => [
28711
28687
  _(Y, null, {
28712
28688
  label: b(() => [
28713
- tT
28689
+ Hk
28714
28690
  ]),
28715
28691
  default: b(() => [
28716
28692
  _(L, {
@@ -28739,10 +28715,10 @@ const Ek = /* @__PURE__ */ it({
28739
28715
  default: b(() => [
28740
28716
  _(Y, null, {
28741
28717
  label: b(() => [
28742
- iT
28718
+ Kk
28743
28719
  ]),
28744
28720
  default: b(() => [
28745
- V("div", nT, [
28721
+ A("div", Jk, [
28746
28722
  (q(!0), F(oe, null, qe(a.value, (I, Qe) => (q(), re(B, {
28747
28723
  closable: "",
28748
28724
  key: I,
@@ -28785,7 +28761,7 @@ const Ek = /* @__PURE__ */ it({
28785
28761
  default: b(() => [
28786
28762
  _(Y, null, {
28787
28763
  label: b(() => [
28788
- sT
28764
+ eT
28789
28765
  ]),
28790
28766
  default: b(() => [
28791
28767
  _(Ei, {
@@ -28814,7 +28790,7 @@ const Ek = /* @__PURE__ */ it({
28814
28790
  default: b(() => [
28815
28791
  _(Y, null, {
28816
28792
  label: b(() => [
28817
- rT
28793
+ tT
28818
28794
  ]),
28819
28795
  default: b(() => [
28820
28796
  _(Ei, {
@@ -28840,7 +28816,7 @@ const Ek = /* @__PURE__ */ it({
28840
28816
  default: b(() => [
28841
28817
  _(Y, null, {
28842
28818
  label: b(() => [
28843
- lT
28819
+ iT
28844
28820
  ]),
28845
28821
  default: b(() => [
28846
28822
  _(Ei, {
@@ -28866,7 +28842,7 @@ const Ek = /* @__PURE__ */ it({
28866
28842
  default: b(() => [
28867
28843
  _(Y, null, {
28868
28844
  label: b(() => [
28869
- aT
28845
+ nT
28870
28846
  ]),
28871
28847
  default: b(() => [
28872
28848
  _(Ei, {
@@ -28893,7 +28869,7 @@ const Ek = /* @__PURE__ */ it({
28893
28869
  default: b(() => [
28894
28870
  _(Y, null, {
28895
28871
  label: b(() => [
28896
- oT
28872
+ sT
28897
28873
  ]),
28898
28874
  default: b(() => [
28899
28875
  _(Ei, {
@@ -28906,7 +28882,7 @@ const Ek = /* @__PURE__ */ it({
28906
28882
  ]),
28907
28883
  "next-code": b(() => [
28908
28884
  D("   return {series,option}; "),
28909
- uT,
28885
+ rT,
28910
28886
  D(" } ")
28911
28887
  ]),
28912
28888
  _: 1
@@ -28923,7 +28899,7 @@ const Ek = /* @__PURE__ */ it({
28923
28899
  default: b(() => [
28924
28900
  _(Y, null, {
28925
28901
  label: b(() => [
28926
- hT
28902
+ lT
28927
28903
  ]),
28928
28904
  default: b(() => [
28929
28905
  _(G, {
@@ -28945,9 +28921,9 @@ const Ek = /* @__PURE__ */ it({
28945
28921
  default: b(() => [
28946
28922
  _(Y, null, {
28947
28923
  label: b(() => [
28948
- V("div", cT, [
28949
- fT,
28950
- V("div", dT, [
28924
+ A("div", aT, [
28925
+ oT,
28926
+ A("div", uT, [
28951
28927
  D(" 选择转换是的字段及对字段的格式化方法 "),
28952
28928
  _(g(Te), {
28953
28929
  type: "success",
@@ -29106,9 +29082,9 @@ const Ek = /* @__PURE__ */ it({
29106
29082
  default: b(() => [
29107
29083
  _(Y, null, {
29108
29084
  label: b(() => [
29109
- V("div", OT, [
29110
- pT,
29111
- V("div", mT, [
29085
+ A("div", hT, [
29086
+ cT,
29087
+ A("div", fT, [
29112
29088
  k.value ? (q(), F(oe, { key: 1 }, [
29113
29089
  _(g(Te), {
29114
29090
  type: "info",
@@ -29145,7 +29121,7 @@ const Ek = /* @__PURE__ */ it({
29145
29121
  ])
29146
29122
  ]),
29147
29123
  default: b(() => [
29148
- V("div", gT, [
29124
+ A("div", dT, [
29149
29125
  _(se, { gutter: 10 }, {
29150
29126
  default: b(() => [
29151
29127
  (q(!0), F(oe, null, qe($.value.columns, (I) => (q(), re(C, { span: 12 }, {
@@ -29156,7 +29132,7 @@ const Ek = /* @__PURE__ */ it({
29156
29132
  default: b(() => [
29157
29133
  _(Y, null, {
29158
29134
  label: b(() => [
29159
- _T
29135
+ OT
29160
29136
  ]),
29161
29137
  default: b(() => [
29162
29138
  _(ie, {
@@ -29173,9 +29149,9 @@ const Ek = /* @__PURE__ */ it({
29173
29149
  default: b(() => [
29174
29150
  _(Y, null, {
29175
29151
  label: b(() => [
29176
- V("div", QT, [
29177
- V("div", bT, Ue(I.isCustom ? "字段键名(自定义)" : "字段键名"), 1),
29178
- V("div", yT, [
29152
+ A("div", pT, [
29153
+ A("div", mT, Ue(I.isCustom ? "字段键名(自定义)" : "字段键名"), 1),
29154
+ A("div", gT, [
29179
29155
  I.isCustom ? (q(), re(g(Te), {
29180
29156
  key: 0,
29181
29157
  type: "danger",
@@ -29212,8 +29188,8 @@ const Ek = /* @__PURE__ */ it({
29212
29188
  ]),
29213
29189
  _: 1
29214
29190
  }),
29215
- k.value ? (q(), F("div", vT, [
29216
- ST,
29191
+ k.value ? (q(), F("div", _T, [
29192
+ QT,
29217
29193
  _(Y, { label: "字段名" }, {
29218
29194
  default: b(() => [
29219
29195
  _(ie, {
@@ -29301,7 +29277,7 @@ const Ji = /* @__PURE__ */ it({
29301
29277
  };
29302
29278
  }
29303
29279
  });
29304
- function wT(n, e, t, i, s) {
29280
+ function vT(n, e, t, i, s) {
29305
29281
  let r = be(!1);
29306
29282
  function l(u) {
29307
29283
  let { clientX: h, clientY: c, target: f } = u, { classList: d } = f;
@@ -29326,7 +29302,7 @@ function wT(n, e, t, i, s) {
29326
29302
  }
29327
29303
  function Df(n, e = 1) {
29328
29304
  let t = 0, i = 300, s = be(300);
29329
- return wT(
29305
+ return vT(
29330
29306
  n,
29331
29307
  "drag-tap",
29332
29308
  (r, l, a) => {
@@ -29343,12 +29319,12 @@ function Df(n, e = 1) {
29343
29319
  formWidth: s
29344
29320
  };
29345
29321
  }
29346
- const PT = { class: "statement-design-top" }, kT = { class: "statement-name" }, TT = { class: "statement-actions" }, CT = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-chexiao" }, null, -1), XT = /* @__PURE__ */ V("i", { class: "yh-report-icon report-icon-huifu" }, null, -1), RT = /* @__PURE__ */ V("i", { class: "iconfont icon-save" }, null, -1), ZT = /* @__PURE__ */ V("i", { class: "iconfont icon-help-circle-filled" }, null, -1), VT = /* @__PURE__ */ V("i", { class: "iconfont icon-eye-fill" }, null, -1), AT = /* @__PURE__ */ V("i", { class: "iconfont icon-eye" }, null, -1), YT = { class: "statement-design-body" }, ET = /* @__PURE__ */ V("div", { class: "drag-tap right" }, null, -1), qT = { class: "statement-option" }, MT = /* @__PURE__ */ V("div", { class: "statement-option-title" }, [
29347
- /* @__PURE__ */ V("div", { class: "statement-option-title-context" }, "图表/报表")
29348
- ], -1), DT = ["onClick"], LT = { class: "statement-block-item-content" }, zT = { class: "statement-block-item-title" }, UT = { class: "statement-block-item-id" }, WT = {
29322
+ const ST = { class: "statement-design-top" }, xT = { class: "statement-name" }, $T = { class: "statement-actions" }, wT = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-chexiao" }, null, -1), PT = /* @__PURE__ */ A("i", { class: "yh-report-icon report-icon-huifu" }, null, -1), kT = /* @__PURE__ */ A("i", { class: "iconfont icon-save" }, null, -1), TT = /* @__PURE__ */ A("i", { class: "iconfont icon-help-circle-filled" }, null, -1), CT = /* @__PURE__ */ A("i", { class: "iconfont icon-eye-fill" }, null, -1), XT = /* @__PURE__ */ A("i", { class: "iconfont icon-eye" }, null, -1), RT = { class: "statement-design-body" }, ZT = /* @__PURE__ */ A("div", { class: "drag-tap right" }, null, -1), VT = { class: "statement-option" }, AT = /* @__PURE__ */ A("div", { class: "statement-option-title" }, [
29323
+ /* @__PURE__ */ A("div", { class: "statement-option-title-context" }, "图表/报表")
29324
+ ], -1), YT = ["onClick"], ET = { class: "statement-block-item-content" }, qT = { class: "statement-block-item-title" }, MT = { class: "statement-block-item-id" }, DT = {
29349
29325
  key: 1,
29350
29326
  class: "statement-content"
29351
- }, IT = /* @__PURE__ */ V("div", { class: "drag-tap left" }, null, -1), sC = /* @__PURE__ */ it({
29327
+ }, LT = /* @__PURE__ */ A("div", { class: "drag-tap left" }, null, -1), eC = /* @__PURE__ */ it({
29352
29328
  __name: "StatementDesign",
29353
29329
  setup(n) {
29354
29330
  const e = vt(), { detail: t, isPreview: i, active: s, activeCells: r, activeIndex: l, historyIndex: a, historyLength: o } = yt(e), { getDetail: u, saveStatement: h, prevHistory: c, nextHistory: f, activeChooseHandle: d } = e, O = be(), y = _e(() => {
@@ -29374,7 +29350,7 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29374
29350
  return U;
29375
29351
  }), p = (U, E) => {
29376
29352
  d(U, E);
29377
- }, v = be(), A = be(), { formWidth: S } = Df(v), { formWidth: $ } = Df(A, -1), P = be(!1), w = Bf(), k = rg(), R = _e({
29353
+ }, v = be(), V = be(), { formWidth: S } = Df(v), { formWidth: $ } = Df(V, -1), P = be(!1), w = Bf(), k = rg(), R = _e({
29378
29354
  get() {
29379
29355
  return t.value.options;
29380
29356
  },
@@ -29544,14 +29520,14 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29544
29520
  closable: !1,
29545
29521
  effect: "dark"
29546
29522
  }, null, 8, ["class", "title", "description"]),
29547
- V("section", {
29523
+ A("section", {
29548
29524
  class: "yh-statement-design-container",
29549
29525
  ref_key: "designContainerRef",
29550
29526
  ref: O
29551
29527
  }, [
29552
- V("div", PT, [
29553
- V("div", kT, Ue((ne = g(t)) == null ? void 0 : ne.name), 1),
29554
- V("div", TT, [
29528
+ A("div", ST, [
29529
+ A("div", xT, Ue((ne = g(t)) == null ? void 0 : ne.name), 1),
29530
+ A("div", $T, [
29555
29531
  _(ie, null, {
29556
29532
  default: b(() => [
29557
29533
  g(i) ? (q(), F(oe, { key: 1 }, [
@@ -29561,7 +29537,7 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29561
29537
  onClick: E[2] || (E[2] = (M) => i.value = !1)
29562
29538
  }, {
29563
29539
  default: b(() => [
29564
- AT
29540
+ XT
29565
29541
  ]),
29566
29542
  _: 1
29567
29543
  })) : ce("", !0)
@@ -29572,7 +29548,7 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29572
29548
  onClick: g(c)
29573
29549
  }, {
29574
29550
  default: b(() => [
29575
- CT
29551
+ wT
29576
29552
  ]),
29577
29553
  _: 1
29578
29554
  }, 8, ["disabled", "onClick"]),
@@ -29582,7 +29558,7 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29582
29558
  onClick: g(f)
29583
29559
  }, {
29584
29560
  default: b(() => [
29585
- XT
29561
+ PT
29586
29562
  ]),
29587
29563
  _: 1
29588
29564
  }, 8, ["disabled", "onClick"]),
@@ -29592,7 +29568,7 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29592
29568
  onClick: g(h)
29593
29569
  }, {
29594
29570
  default: b(() => [
29595
- RT
29571
+ kT
29596
29572
  ]),
29597
29573
  _: 1
29598
29574
  }, 8, ["onClick"]),
@@ -29601,7 +29577,7 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29601
29577
  onClick: E[0] || (E[0] = (M) => P.value = !0)
29602
29578
  }, {
29603
29579
  default: b(() => [
29604
- ZT
29580
+ TT
29605
29581
  ]),
29606
29582
  _: 1
29607
29583
  }),
@@ -29610,7 +29586,7 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29610
29586
  onClick: E[1] || (E[1] = (M) => i.value = !0)
29611
29587
  }, {
29612
29588
  default: b(() => [
29613
- VT
29589
+ CT
29614
29590
  ]),
29615
29591
  _: 1
29616
29592
  })
@@ -29620,8 +29596,8 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29620
29596
  })
29621
29597
  ])
29622
29598
  ]),
29623
- V("div", YT, [
29624
- Ut(V("div", {
29599
+ A("div", RT, [
29600
+ Ut(A("div", {
29625
29601
  class: "statement-form left",
29626
29602
  ref_key: "leftFormRef",
29627
29603
  ref: v,
@@ -29629,15 +29605,15 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29629
29605
  width: `${g(S)}px`
29630
29606
  })
29631
29607
  }, [
29632
- ET,
29608
+ ZT,
29633
29609
  _(g(If), { stretch: "" }, {
29634
29610
  default: b(() => [
29635
29611
  _(g(Cu), { label: "组件/数据" }, {
29636
29612
  default: b(() => [
29637
- V("div", qT, [
29638
- MT,
29613
+ A("div", VT, [
29614
+ AT,
29639
29615
  _(S_, { chartReportList: g(_l) }, null, 8, ["chartReportList"]),
29640
- _($T)
29616
+ _(yT)
29641
29617
  ])
29642
29618
  ]),
29643
29619
  _: 1
@@ -29648,14 +29624,14 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29648
29624
  class: Zt(["statement-block-item", { active: M.isActive }]),
29649
29625
  onClick: (G) => p(M.option, C)
29650
29626
  }, [
29651
- V("div", {
29627
+ A("div", {
29652
29628
  class: Zt(`statement-block-item-icon iconfont ${M.icon}`)
29653
29629
  }, null, 2),
29654
- V("div", LT, [
29655
- V("div", zT, Ue(M.name), 1),
29656
- V("div", UT, Ue(M.id), 1)
29630
+ A("div", ET, [
29631
+ A("div", qT, Ue(M.name), 1),
29632
+ A("div", MT, Ue(M.id), 1)
29657
29633
  ])
29658
- ], 10, DT))), 256))
29634
+ ], 10, YT))), 256))
29659
29635
  ]),
29660
29636
  _: 1
29661
29637
  })
@@ -29666,21 +29642,21 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29666
29642
  [Wt, !g(i)]
29667
29643
  ]),
29668
29644
  g(i) ? ce("", !0) : (q(), re(g_, { key: 0 })),
29669
- g(i) ? (q(), F("div", WT, [
29645
+ g(i) ? (q(), F("div", DT, [
29670
29646
  _(_g, {
29671
29647
  id: g(w).params.id
29672
29648
  }, null, 8, ["id"])
29673
29649
  ])) : ce("", !0),
29674
- Ut(V("div", {
29650
+ Ut(A("div", {
29675
29651
  class: "statement-form",
29676
29652
  ref_key: "rightFormRef",
29677
- ref: A,
29653
+ ref: V,
29678
29654
  style: Pt({
29679
29655
  width: `${g($)}px`
29680
29656
  })
29681
29657
  }, [
29682
- IT,
29683
- _(Ek)
29658
+ LT,
29659
+ _(Zk)
29684
29660
  ], 4), [
29685
29661
  [Wt, !g(i)]
29686
29662
  ])
@@ -29695,6 +29671,6 @@ const PT = { class: "statement-design-top" }, kT = { class: "statement-name" },
29695
29671
  }
29696
29672
  });
29697
29673
  export {
29698
- sC as default
29674
+ eC as default
29699
29675
  };
29700
- //# sourceMappingURL=StatementDesign-e71d7f5f.mjs.map
29676
+ //# sourceMappingURL=StatementDesign-772df9ca.mjs.map