yh-report 2.4.50 → 2.4.51

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.
@@ -3,7 +3,7 @@ import { ElMessageBox as hd, ElMessage as Ni, ElEmpty as _g, ElDialog as cd, ElF
3
3
  import { useRoute as jo, useRouter as xg } from "vue-router";
4
4
  import { defineStore as $g, storeToRefs as Ct } from "pinia";
5
5
  import { a as wg } from "./editorLock-61ebf836.mjs";
6
- import { C as pe, b as Pg, c as kg, s as Tg, e as Cg, F as qe, f as Xg, _ as fl, h as Rg, i as Da, j as Zg, r as X, D as gr, n as Vg, p as Ag, k as Fu, l as Ms, m as Hu, v as Eg, o as dd, q as Yg, t as Mg, T as Rl, u as qg, I as Dg, w as zg } from "./index-348a17e6.mjs";
6
+ import { C as pe, b as Pg, c as kg, s as Tg, e as Cg, F as qe, f as Xg, _ as fl, h as Rg, i as Da, j as Zg, r as X, D as gr, n as Vg, p as Ag, k as Fu, l as Ms, m as Hu, v as Eg, o as dd, q as Yg, t as Mg, T as Rl, u as qg, I as Dg, w as zg } from "./index-3ea9b472.mjs";
7
7
  import { cloneDeep as at, set as qt, get as Wg } from "lodash-es";
8
8
  import "@/libs/api.request.js";
9
9
  import "echarts";
@@ -7199,7 +7199,7 @@ class xb {
7199
7199
  }
7200
7200
  if (!a)
7201
7201
  break;
7202
- t && a.fromA <= t.range.fromA && a.toA >= t.range.toA ? (this.forward(a.fromA, t.range.fromA, t.range.fromA < t.range.toA ? 1 : -1), this.emit(r, t.range.fromB), this.cache.clear(), this.builder.addComposition(t, i), this.text.skip(t.range.toB - t.range.fromB), this.forward(t.range.fromA, a.toA), this.emit(t.range.toB, a.toB)) : (this.forward(a.fromA, a.toA), this.emit(r, a.toB)), r = a.toB, s = a.toA;
7202
+ t && a.fromA <= t.range.fromA && a.toA >= t.range.toA ? (this.forward(a.fromA, t.range.fromA, t.range.fromA < t.range.toA ? 1 : -1), this.emit(r, t.range.fromB), this.builder.flushBuffer(), this.cache.clear(), this.builder.addComposition(t, i), this.text.skip(t.range.toB - t.range.fromB), this.forward(t.range.fromA, a.toA), this.emit(t.range.toB, a.toB)) : (this.forward(a.fromA, a.toA), this.emit(r, a.toB)), r = a.toB, s = a.toA;
7203
7203
  }
7204
7204
  return this.builder.curLine && this.builder.endLine(), this.builder.root;
7205
7205
  }
@@ -8000,12 +8000,11 @@ class Wb {
8000
8000
  }
8001
8001
  // Scan through the rectangles for the content of a tile with inline
8002
8002
  // content, looking for one that overlaps the queried position
8003
- // vertically andis
8004
- // closest horizontally. The caller is responsible for dividing its
8005
- // content into N pieces, and pass an array with N+1 positions
8006
- // (including the position after the last piece). For a text tile,
8007
- // these will be character clusters, for a composite tile, these
8008
- // will be child tiles.
8003
+ // vertically and is closest horizontally. The caller is responsible
8004
+ // for dividing its content into N pieces, and pass an array with
8005
+ // N+1 positions (including the position after the last piece). For
8006
+ // a text tile, these will be character clusters, for a composite
8007
+ // tile, these will be child tiles.
8009
8008
  scan(e, t, i = !1) {
8010
8009
  let s = 0, r = e.length - 1, l = /* @__PURE__ */ new Set(), a = this.bidiIn(e[0], e[r]), o, u, h = -1, c = 1e9, d;
8011
8010
  e:
@@ -8042,6 +8041,8 @@ class Wb {
8042
8041
  }
8043
8042
  }
8044
8043
  if (!d) {
8044
+ if (!u && !o)
8045
+ return { i: e[0], after: !1 };
8045
8046
  let p = o && (!u || this.y - o.bottom < u.top - this.y) ? o : u;
8046
8047
  return this.y = (p.top + p.bottom) / 2, this.scan(e, t, !0);
8047
8048
  }
@@ -9766,6 +9767,8 @@ const $1 = /* @__PURE__ */ _o("." + go, {
9766
9767
  padding: "0 2px 0 6px"
9767
9768
  },
9768
9769
  ".cm-layer": {
9770
+ userSelect: "none",
9771
+ // #1708
9769
9772
  position: "absolute",
9770
9773
  left: 0,
9771
9774
  top: 0,
@@ -19490,7 +19493,7 @@ function Rx(n, e, t) {
19490
19493
  return s && a && (s = a(s, n.state)), s ? {
19491
19494
  pos: r,
19492
19495
  end: l,
19493
- above: n.state.doc.lineAt(r).to < l,
19496
+ above: !0,
19494
19497
  create() {
19495
19498
  return { dom: Zx(n, s) };
19496
19499
  }
@@ -31286,4 +31289,4 @@ const xC = { class: "statement-design-top" }, $C = { class: "statement-name" },
31286
31289
  export {
31287
31290
  i2 as default
31288
31291
  };
31289
- //# sourceMappingURL=StatementDesign-1a462b39.mjs.map
31292
+ //# sourceMappingURL=StatementDesign-baf66cc9.mjs.map