@linker-design-plus/tiny-peony 1.2.40 → 1.2.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  var AE = Object.defineProperty;
2
2
  var gE = (B, r, Q) => r in B ? AE(B, r, { enumerable: !0, configurable: !0, writable: !0, value: Q }) : B[r] = Q;
3
3
  var X = (B, r, Q) => gE(B, typeof r != "symbol" ? r + "" : r, Q);
4
- import { getCurrentScope as IE, onScopeDispose as CE, ref as NA, watch as Wg, toValue as HC, defineComponent as pA, withDirectives as Og, openBlock as LA, createElementBlock as UA, normalizeClass as hA, unref as iA, withModifiers as vI, Fragment as WA, renderList as pC, createElementVNode as RA, toDisplayString as hg, vShow as Vg, createVNode as k, render as xI, createBlock as BE, withCtx as jA, createTextVNode as kA, getCurrentInstance as QE, inject as KC, computed as YA, normalizeStyle as dg, h as vg, nextTick as EE, resolveComponent as tE, mergeProps as Xg, onMounted as mC, onBeforeUnmount as qC, provide as eE } from "vue";
5
- import { Message as jg, Row as oE, Col as xg, Input as kC, Space as iE, Button as YI, Modal as LC, Tooltip as nE } from "@arco-design/web-vue";
4
+ import { getCurrentScope as IE, onScopeDispose as CE, ref as NA, watch as Wg, toValue as HC, defineComponent as pA, withDirectives as Og, openBlock as LA, createElementBlock as UA, normalizeClass as hA, unref as iA, withModifiers as vI, Fragment as WA, renderList as pC, createElementVNode as RA, toDisplayString as hg, vShow as Vg, createVNode as k, render as xI, createBlock as BE, withCtx as PA, createTextVNode as kA, getCurrentInstance as QE, inject as KC, computed as YA, normalizeStyle as dg, h as vg, nextTick as EE, resolveComponent as tE, mergeProps as Xg, onMounted as mC, onBeforeUnmount as qC, provide as eE } from "vue";
5
+ import { Message as Pg, Row as oE, Col as xg, Input as kC, Space as iE, Button as YI, Modal as LC, Tooltip as nE } from "@arco-design/web-vue";
6
6
  var rE = (B) => Object.prototype.toString.call(B), aE = (B) => rE(B) === "[object Null]", HI = (B, r) => r ? typeof r == "string" ? ` ${B}--${r}` : Array.isArray(r) ? r.reduce((Q, e) => Q + HI(B, e), "") : Object.keys(r).reduce((Q, e) => Q + (r[e] ? HI(B, e) : ""), "") : "", sE = (B) => (r, Q) => (r && typeof r != "string" && (Q = r, r = ""), r = r ? `${B}__${r}` : B, `${r}${HI(r, Q)}`), vC = (B) => (r) => {
7
7
  const Q = `${B}-${r}`;
8
8
  return [sE(Q), Q];
@@ -228,7 +228,7 @@ class kE extends yE {
228
228
  }
229
229
  _record() {
230
230
  var d;
231
- const Q = this._editor.cursor.range, e = this._editor.content.getParas(), i = PA(Q.startContainer), w = e.indexOf(i), c = this._calcNodePathMatches(Q.startContainer), o = PA(Q.endContainer), D = e.indexOf(o), l = this._calcNodePathMatches(Q.endContainer);
231
+ const Q = this._editor.cursor.range, e = this._editor.content.getParas(), i = jA(Q.startContainer), w = e.indexOf(i), c = this._calcNodePathMatches(Q.startContainer), o = jA(Q.endContainer), D = e.indexOf(o), l = this._calcNodePathMatches(Q.endContainer);
232
232
  return {
233
233
  startParaIndex: w,
234
234
  startMatchedIndexes: c,
@@ -316,12 +316,12 @@ const bg = (B, r) => {
316
316
  return;
317
317
  }
318
318
  if (CA(o.commonAncestorContainer) && o.commonAncestorContainer.tagName === "DIV") {
319
- const W = PA(D), _ = PA(d), wA = document.createDocumentFragment();
319
+ const W = jA(D), _ = jA(d), wA = document.createDocumentFragment();
320
320
  for (; _ != null && _.firstChild; )
321
321
  wA.appendChild(_.firstChild);
322
322
  W == null || W.appendChild(wA), _ == null || _.remove();
323
- const j = window.getSelection(), QA = document.createRange();
324
- QA.setStart(D, l), QA.setEnd(D, l), j == null || j.removeAllRanges(), j == null || j.addRange(QA);
323
+ const P = window.getSelection(), QA = document.createRange();
324
+ QA.setStart(D, l), QA.setEnd(D, l), P == null || P.removeAllRanges(), P == null || P.addRange(QA);
325
325
  }
326
326
  o = window.getSelection().getRangeAt(0), o = cA(o.commonAncestorContainer) && o.commonAncestorContainer.textContent === "粘贴文本" ? e : o;
327
327
  const [F] = fA(
@@ -348,8 +348,8 @@ const bg = (B, r) => {
348
348
  var wA;
349
349
  const _ = document.createElement("p");
350
350
  if (_.classList.add(FA), _.textContent = W, (wA = F == null ? void 0 : F.parentNode) == null || wA.insertBefore(_, K), K = _.nextSibling, bg(B, _), p) {
351
- const j = u.cloneNode(!1);
352
- j.innerHTML = _.innerHTML, _.innerHTML = j.outerHTML;
351
+ const P = u.cloneNode(!1);
352
+ P.innerHTML = _.innerHTML, _.innerHTML = P.outerHTML;
353
353
  }
354
354
  }), !w) return;
355
355
  const v = document.createElement("p");
@@ -474,7 +474,7 @@ class pE extends lE {
474
474
  if (Q.key === "Delete" && mE()) {
475
475
  const c = getSelection(), o = (w = getSelection()) == null ? void 0 : w.getRangeAt(0);
476
476
  if (O(c) || O(o)) return;
477
- const D = PA(o.endContainer), l = D == null ? void 0 : D.nextElementSibling;
477
+ const D = jA(o.endContainer), l = D == null ? void 0 : D.nextElementSibling;
478
478
  if (O(D) || O(l)) return;
479
479
  const d = document.createRange();
480
480
  for (d.selectNodeContents(D), d.collapse(!1); l.firstChild; )
@@ -491,8 +491,8 @@ class pE extends lE {
491
491
  D.innerHTML = "<br />", this._editorElement.insertBefore(D, o.parentElement);
492
492
  }
493
493
  }
494
- if (i.startOffset === 0 && i.endContainer.tagName === "P" && PA(i.startContainer) === PA(i.endContainer)) {
495
- const c = PA(i.endContainer);
494
+ if (i.startOffset === 0 && i.endContainer.tagName === "P" && jA(i.startContainer) === jA(i.endContainer)) {
495
+ const c = jA(i.endContainer);
496
496
  if (O(c)) return;
497
497
  Q.key === "Backspace" && vE(c, e);
498
498
  }
@@ -533,7 +533,7 @@ const Rg = (B, r, Q, e) => {
533
533
  e = e.parentElement;
534
534
  }
535
535
  return new Array(Q.length).fill(null);
536
- }, PA = (B) => {
536
+ }, jA = (B) => {
537
537
  const [r] = fA(
538
538
  B,
539
539
  (Q) => Q.tagName === "P" && Q.classList.contains(FA)
@@ -617,12 +617,12 @@ function xE(B) {
617
617
  }
618
618
  const TE = typeof window < "u" && typeof document < "u";
619
619
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
620
- const bE = Object.prototype.toString, jE = (B) => bE.call(B) === "[object Object]", PE = () => {
620
+ const bE = Object.prototype.toString, PE = (B) => bE.call(B) === "[object Object]", jE = () => {
621
621
  };
622
622
  function MC(B) {
623
623
  return Array.isArray(B) ? B : [B];
624
624
  }
625
- const jC = TE ? window : void 0;
625
+ const PC = TE ? window : void 0;
626
626
  function WE(B) {
627
627
  var r;
628
628
  const Q = HC(B);
@@ -630,8 +630,8 @@ function WE(B) {
630
630
  }
631
631
  function Tg(...B) {
632
632
  let r, Q, e, i;
633
- if (typeof B[0] == "string" || Array.isArray(B[0]) ? ([Q, e, i] = B, r = jC) : [r, Q, e, i] = B, !r)
634
- return PE;
633
+ if (typeof B[0] == "string" || Array.isArray(B[0]) ? ([Q, e, i] = B, r = PC) : [r, Q, e, i] = B, !r)
634
+ return jE;
635
635
  Q = MC(Q), e = MC(e);
636
636
  const w = [], c = () => {
637
637
  w.forEach((d) => d()), w.length = 0;
@@ -640,7 +640,7 @@ function Tg(...B) {
640
640
  ([d, f]) => {
641
641
  if (c(), !d)
642
642
  return;
643
- const F = jE(f) ? { ...f } : f;
643
+ const F = PE(f) ? { ...f } : f;
644
644
  w.push(
645
645
  ...Q.flatMap((u) => e.map((G) => o(d, u, G, F)))
646
646
  );
@@ -663,31 +663,31 @@ function _g(B = {}) {
663
663
  touch: Q = !0,
664
664
  resetOnTouchEnds: e = !1,
665
665
  initialValue: i = { x: 0, y: 0 },
666
- window: w = jC,
666
+ window: w = PC,
667
667
  target: c = w,
668
668
  scroll: o = !0,
669
669
  eventFilter: D
670
670
  } = B;
671
671
  let l = null, d = 0, f = 0;
672
- const F = NA(i.x), u = NA(i.y), G = NA(null), p = typeof r == "function" ? r : OE[r], U = (j) => {
673
- const QA = p(j);
674
- l = j, QA && ([F.value, u.value] = QA, G.value = "mouse"), w && (d = w.scrollX, f = w.scrollY);
675
- }, K = (j) => {
676
- if (j.touches.length > 0) {
677
- const QA = p(j.touches[0]);
672
+ const F = NA(i.x), u = NA(i.y), G = NA(null), p = typeof r == "function" ? r : OE[r], U = (P) => {
673
+ const QA = p(P);
674
+ l = P, QA && ([F.value, u.value] = QA, G.value = "mouse"), w && (d = w.scrollX, f = w.scrollY);
675
+ }, K = (P) => {
676
+ if (P.touches.length > 0) {
677
+ const QA = p(P.touches[0]);
678
678
  QA && ([F.value, u.value] = QA, G.value = "touch");
679
679
  }
680
680
  }, v = () => {
681
681
  if (!l || !w)
682
682
  return;
683
- const j = p(l);
684
- l instanceof MouseEvent && j && (F.value = j[0] + w.scrollX - d, u.value = j[1] + w.scrollY - f);
683
+ const P = p(l);
684
+ l instanceof MouseEvent && P && (F.value = P[0] + w.scrollX - d, u.value = P[1] + w.scrollY - f);
685
685
  }, BA = () => {
686
686
  F.value = i.x, u.value = i.y;
687
- }, W = D ? (j) => D(() => U(j), {}) : (j) => U(j), _ = D ? (j) => D(() => K(j), {}) : (j) => K(j), wA = D ? () => D(() => v(), {}) : () => v();
687
+ }, W = D ? (P) => D(() => U(P), {}) : (P) => U(P), _ = D ? (P) => D(() => K(P), {}) : (P) => K(P), wA = D ? () => D(() => v(), {}) : () => v();
688
688
  if (c) {
689
- const j = { passive: !0 };
690
- Tg(c, ["mousemove", "dragover"], W, j), Q && r !== "movement" && (Tg(c, ["touchstart", "touchmove"], _, j), e && Tg(c, "touchend", BA, j)), o && r === "page" && Tg(w, "scroll", wA, j);
689
+ const P = { passive: !0 };
690
+ Tg(c, ["mousemove", "dragover"], W, P), Q && r !== "movement" && (Tg(c, ["touchstart", "touchmove"], _, P), e && Tg(c, "touchend", BA, P)), o && r === "page" && Tg(w, "scroll", wA, P);
691
691
  }
692
692
  return {
693
693
  x: F,
@@ -729,7 +729,7 @@ const VE = ["onClick"], XE = /* @__PURE__ */ pA({
729
729
  for (const [e, i] of r)
730
730
  Q[e] = i;
731
731
  return Q;
732
- }, PC = /* @__PURE__ */ Ag(XE, [["__scopeId", "data-v-a957cba2"]]), ZE = 0, og = H.pausation, [KI] = yg(og), WC = KI("close"), { x: zE, y: _E } = _g(), $E = `<svg class="${WC}" width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
732
+ }, jC = /* @__PURE__ */ Ag(XE, [["__scopeId", "data-v-a957cba2"]]), ZE = 0, og = H.pausation, [KI] = yg(og), WC = KI("close"), { x: zE, y: _E } = _g(), $E = `<svg class="${WC}" width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
733
733
  <g id="V1.0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
734
734
  <g id="虚拟精品录音间-插入停顿" transform="translate(-1287, -152)" fill="currentColor" fill-rule="nonzero">
735
735
  <g id="编组-4备份-4" transform="translate(1227, 149)">
@@ -806,7 +806,7 @@ class It extends zg {
806
806
  */
807
807
  _insertPausationTag(Q) {
808
808
  if (!this.editor.content.calcTextCount()) {
809
- jg.warning("请输入文稿内容再插入停顿!");
809
+ Pg.warning("请输入文稿内容再插入停顿!");
810
810
  return;
811
811
  }
812
812
  const e = At(Q);
@@ -836,7 +836,7 @@ class It extends zg {
836
836
  const { target: d } = this.modalInstance;
837
837
  d.dataset.value = String(l), d.firstElementChild.innerHTML = `停顿: ${l}S`;
838
838
  };
839
- this.modalInstance = gt(PC, { onOK: o });
839
+ this.modalInstance = gt(jC, { onOK: o });
840
840
  }
841
841
  this.modalInstance.target = w, this.modalInstance.update({
842
842
  popupContainer: w,
@@ -865,7 +865,7 @@ const Ct = { style: { display: "none" } }, Bt = /* @__PURE__ */ pA({
865
865
  const Q = B, e = r, [i] = $A("pronunciationor"), w = (D) => {
866
866
  var l;
867
867
  if (o.value = (l = o.value) == null ? void 0 : l.trim(), !/^[\u4e00-\u9fa5a-zA-Z0-9]+$/.test(o.value)) {
868
- jg.warning({ id: "message-replacer", content: "不能使用特殊字符替换读音!" });
868
+ Pg.warning({ id: "message-replacer", content: "不能使用特殊字符替换读音!" });
869
869
  return;
870
870
  }
871
871
  e("ok", D, o.value ?? "", Q.oldText);
@@ -879,11 +879,11 @@ const Ct = { style: { display: "none" } }, Bt = /* @__PURE__ */ pA({
879
879
  onClick: l[1] || (l[1] = vI(() => {
880
880
  }, ["stop"]))
881
881
  }, {
882
- default: jA(() => [
882
+ default: PA(() => [
883
883
  k(iA(xg), {
884
884
  class: hA(iA(i)("title"))
885
885
  }, {
886
- default: jA(() => l[2] || (l[2] = [
886
+ default: PA(() => l[2] || (l[2] = [
887
887
  kA("读音替换")
888
888
  ])),
889
889
  _: 1
@@ -892,7 +892,7 @@ const Ct = { style: { display: "none" } }, Bt = /* @__PURE__ */ pA({
892
892
  span: 24,
893
893
  class: hA(iA(i)("content"))
894
894
  }, {
895
- default: jA(() => [
895
+ default: PA(() => [
896
896
  k(iA(kC), {
897
897
  "model-value": Q.oldText,
898
898
  "max-length": 15,
@@ -904,7 +904,7 @@ const Ct = { style: { display: "none" } }, Bt = /* @__PURE__ */ pA({
904
904
  _: 1
905
905
  }, 8, ["class"]),
906
906
  k(iA(xg), { span: 24 }, {
907
- default: jA(() => [
907
+ default: PA(() => [
908
908
  RA("span", Ct, hg(Q.modelValue), 1),
909
909
  k(iA(kC), {
910
910
  modelValue: o.value,
@@ -921,16 +921,16 @@ const Ct = { style: { display: "none" } }, Bt = /* @__PURE__ */ pA({
921
921
  span: 24,
922
922
  class: hA(iA(i)("footer"))
923
923
  }, {
924
- default: jA(() => [
924
+ default: PA(() => [
925
925
  k(iA(iE), {
926
926
  fill: "",
927
927
  style: { "justify-content": "flex-end" }
928
928
  }, {
929
- default: jA(() => {
929
+ default: PA(() => {
930
930
  var d;
931
931
  return [
932
932
  k(iA(YI), { onClick: c }, {
933
- default: jA(() => l[3] || (l[3] = [
933
+ default: PA(() => l[3] || (l[3] = [
934
934
  kA("取消")
935
935
  ])),
936
936
  _: 1
@@ -940,7 +940,7 @@ const Ct = { style: { display: "none" } }, Bt = /* @__PURE__ */ pA({
940
940
  type: "primary",
941
941
  onClick: w
942
942
  }, {
943
- default: jA(() => l[4] || (l[4] = [
943
+ default: PA(() => l[4] || (l[4] = [
944
944
  kA("替换")
945
945
  ])),
946
946
  _: 1
@@ -1117,11 +1117,11 @@ class at extends zg {
1117
1117
  }
1118
1118
  _insertAnchorTag(Q) {
1119
1119
  if (!this.editor.cursor.isRange()) {
1120
- jg.warning("请先滑选配音内容!");
1120
+ Pg.warning("请先滑选配音内容!");
1121
1121
  return;
1122
1122
  }
1123
1123
  if (this._isIntersectOtherAnchors()) {
1124
- jg.warning("同一个文本不能同时选择两个及以上主播!");
1124
+ Pg.warning("同一个文本不能同时选择两个及以上主播!");
1125
1125
  return;
1126
1126
  }
1127
1127
  const e = this._newAnchorId, i = VC[(e - 1) % 10], w = this.editor.cursor.range, { startContainer: c, startOffset: o, endContainer: D, endOffset: l } = w, d = (U) => CA(U) && U.tagName === "DIV" ? U.firstElementChild : CA(U) && U.tagName === "P" ? U : U.parentElement, f = (U) => {
@@ -1152,10 +1152,10 @@ class at extends zg {
1152
1152
  _.removeAllRanges(), _.addRange(w);
1153
1153
  const wA = document.createElement("div");
1154
1154
  wA.appendChild(w.cloneContents());
1155
- const j = f(wA.innerHTML);
1156
- this.editor.content.update(j);
1157
- const QA = this._calcTopValue(j.getBoundingClientRect());
1158
- j.dataset.top = String(QA), W && this._recordAnchor(Q, e, QA, i);
1155
+ const P = f(wA.innerHTML);
1156
+ this.editor.content.update(P);
1157
+ const QA = this._calcTopValue(P.getBoundingClientRect());
1158
+ P.dataset.top = String(QA), W && this._recordAnchor(Q, e, QA, i);
1159
1159
  }, u = d(c), G = d(D), p = KE(u, G);
1160
1160
  if (u === G) {
1161
1161
  F(
@@ -1249,7 +1249,7 @@ const st = ["onClick"], ct = /* @__PURE__ */ pA({
1249
1249
  [Vg, Q.visible]
1250
1250
  ]);
1251
1251
  }
1252
- }), wt = /* @__PURE__ */ Ag(ct, [["__scopeId", "data-v-8471a3e1"]]), Dt = 0, ig = H.homophones, [Pg] = yg(ig), XC = Pg("close"), { x: lt, y: ht } = _g(), dt = `<svg class="${XC}" width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
1252
+ }), wt = /* @__PURE__ */ Ag(ct, [["__scopeId", "data-v-8471a3e1"]]), Dt = 0, ig = H.homophones, [jg] = yg(ig), XC = jg("close"), { x: lt, y: ht } = _g(), dt = `<svg class="${XC}" width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
1253
1253
  <g id="V1.0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
1254
1254
  <g id="虚拟精品录音间-读音替换" transform="translate(-1287, -152)" fill="currentColor" fill-rule="nonzero">
1255
1255
  <g id="编组-4备份-4" transform="translate(1227, 149)">
@@ -1264,7 +1264,7 @@ const st = ["onClick"], ct = /* @__PURE__ */ pA({
1264
1264
  const w = document.createElement("span");
1265
1265
  return Rg(
1266
1266
  w,
1267
- { class: Pg(), contenteditable: !1 },
1267
+ { class: jg(), contenteditable: !1 },
1268
1268
  {
1269
1269
  type: ig,
1270
1270
  id: `${ig}_${Dt}`,
@@ -1275,7 +1275,7 @@ const st = ["onClick"], ct = /* @__PURE__ */ pA({
1275
1275
  formattedData: i.join()
1276
1276
  },
1277
1277
  `
1278
- <span class="${Pg("raw")}">${B}[${r}]</span>
1278
+ <span class="${jg("raw")}">${B}[${r}]</span>
1279
1279
  ${dt}
1280
1280
  `
1281
1281
  ), w;
@@ -1347,7 +1347,7 @@ class Ft extends zg {
1347
1347
  const l = (d, f) => {
1348
1348
  var U, K;
1349
1349
  if (O(this.modalInstance) || O(this.modalInstance.target)) return;
1350
- const { target: F } = this.modalInstance, u = F.querySelector(`.${Pg("raw")}`), G = (U = F.dataset.data) == null ? void 0 : U.split(",").indexOf(f), p = (K = F.dataset.formattedData) == null ? void 0 : K.split(",");
1350
+ const { target: F } = this.modalInstance, u = F.querySelector(`.${jg("raw")}`), G = (U = F.dataset.data) == null ? void 0 : U.split(",").indexOf(f), p = (K = F.dataset.formattedData) == null ? void 0 : K.split(",");
1351
1351
  O(u) || O(G) || O(p) || (F.dataset.value = f, F.dataset.formattedValue = p[G], u.innerHTML = `${F.dataset.raw}[${f}]`);
1352
1352
  };
1353
1353
  this.modalInstance = Rt(wt, {
@@ -1425,14 +1425,14 @@ class Ft extends zg {
1425
1425
  const ft = {
1426
1426
  withHighlight: !1,
1427
1427
  withAuditHighlight: !1
1428
- }, ZC = Symbol("Editor"), jI = "highlight", [ut] = yg("audit-highlight"), mI = ut(), zC = (B, r) => Array.from(
1428
+ }, ZC = Symbol("Editor"), PI = "highlight", [ut] = yg("audit-highlight"), mI = ut(), zC = (B, r) => Array.from(
1429
1429
  B.element.querySelectorAll(`span[data-frag-id="anchor_${r}"]`)
1430
- ), Nt = (B) => B.classList.contains(jI), Gt = (B, r) => {
1430
+ ), Nt = (B) => B.classList.contains(PI), Gt = (B, r) => {
1431
1431
  zC(B, r).forEach((e) => {
1432
- !Nt(e) && e.classList.add(jI);
1432
+ !Nt(e) && e.classList.add(PI);
1433
1433
  });
1434
1434
  }, kt = (B, r) => {
1435
- zC(B, r).forEach((e) => e.classList.remove(jI));
1435
+ zC(B, r).forEach((e) => e.classList.remove(PI));
1436
1436
  }, Lt = (B, r) => {
1437
1437
  Wg(
1438
1438
  () => r.listenAnchorId,
@@ -1685,7 +1685,7 @@ const qt = Object.assign(fI, {
1685
1685
  }, null, -1), bt = [
1686
1686
  Tt
1687
1687
  ];
1688
- function jt(B, r, Q, e, i, w) {
1688
+ function Pt(B, r, Q, e, i, w) {
1689
1689
  return LA(), UA("svg", {
1690
1690
  viewBox: "0 0 48 48",
1691
1691
  fill: "none",
@@ -1699,8 +1699,8 @@ function jt(B, r, Q, e, i, w) {
1699
1699
  onClick: r[0] || (r[0] = (...c) => B.onClick && B.onClick(...c))
1700
1700
  }, bt, 14, xt);
1701
1701
  }
1702
- var uI = /* @__PURE__ */ gI(vt, [["render", jt]]);
1703
- const Pt = Object.assign(uI, {
1702
+ var uI = /* @__PURE__ */ gI(vt, [["render", Pt]]);
1703
+ const jt = Object.assign(uI, {
1704
1704
  install: (B, r) => {
1705
1705
  var Q;
1706
1706
  const e = (Q = r == null ? void 0 : r.iconPrefix) != null ? Q : "";
@@ -1889,7 +1889,7 @@ var Ie = Object.create, _C = Object.defineProperty, Ce = Object.getOwnPropertyDe
1889
1889
  I();
1890
1890
  }, C.onerror = I, C.send(null);
1891
1891
  });
1892
- var j = o.print || console.log.bind(console), QA = o.printErr || console.error.bind(console);
1892
+ var P = o.print || console.log.bind(console), QA = o.printErr || console.error.bind(console);
1893
1893
  Object.assign(o, G), G = null, o.arguments && o.arguments, o.thisProgram && (p = o.thisProgram), o.quit && (U = o.quit);
1894
1894
  var KA;
1895
1895
  o.wasmBinary && (KA = o.wasmBinary);
@@ -1904,13 +1904,13 @@ var Ie = Object.create, _C = Object.defineProperty, Ce = Object.getOwnPropertyDe
1904
1904
  function OA(A) {
1905
1905
  if (BB(A)) return gg(A.slice(WI.length));
1906
1906
  }
1907
- var Ig, xA = !1, M, m, x, P, z, T, q, eA, EA;
1907
+ var Ig, xA = !1, M, m, x, j, z, T, q, eA, EA;
1908
1908
  function $() {
1909
1909
  var A = Ig.buffer;
1910
- o.HEAP8 = m = new Int8Array(A), o.HEAP16 = P = new Int16Array(A), o.HEAPU8 = x = new Uint8Array(A), o.HEAPU16 = z = new Uint16Array(A), o.HEAP32 = T = new Int32Array(A), o.HEAPU32 = q = new Uint32Array(A), o.HEAPF32 = eA = new Float32Array(A), o.HEAPF64 = EA = new Float64Array(A);
1910
+ o.HEAP8 = m = new Int8Array(A), o.HEAP16 = j = new Int16Array(A), o.HEAPU8 = x = new Uint8Array(A), o.HEAPU16 = z = new Uint16Array(A), o.HEAP32 = T = new Int32Array(A), o.HEAPU32 = q = new Uint32Array(A), o.HEAPF32 = eA = new Float32Array(A), o.HEAPF64 = EA = new Float64Array(A);
1911
1911
  }
1912
1912
  var rA = [], dA = [], MA = [];
1913
- function PI() {
1913
+ function jI() {
1914
1914
  if (o.preRun) for (typeof o.preRun == "function" && (o.preRun = [o.preRun]); o.preRun.length; ) gB(o.preRun.shift());
1915
1915
  BI(rA);
1916
1916
  }
@@ -2302,7 +2302,7 @@ var Ie = Object.create, _C = Object.defineProperty, Ce = Object.getOwnPropertyDe
2302
2302
  }
2303
2303
  }
2304
2304
  throw g.forEach(t), new BC(`${A}: ` + I.map(QC).join([", "]));
2305
- }, jB = (A, g, I, C, t, n, a, s, h, y, N, J, L) => {
2305
+ }, PB = (A, g, I, C, t, n, a, s, h, y, N, J, L) => {
2306
2306
  N = SA(N), n = zA(t, n), s && (s = zA(a, s)), y && (y = zA(h, y)), L = zA(J, L);
2307
2307
  var Y = JB(N);
2308
2308
  UB(Y, function() {
@@ -2325,7 +2325,7 @@ var Ie = Object.create, _C = Object.defineProperty, Ce = Object.getOwnPropertyDe
2325
2325
  var sA = new Jg(N, S, !0, !1, !1), gA = new Jg(N + "*", S, !1, !1, !1), GA = new Jg(N + " const*", S, !1, !0, !1);
2326
2326
  return CC[A] = { pointerType: gA, constPointerType: GA }, qB(Y, aA), [sA, gA, GA];
2327
2327
  });
2328
- }, PB = (A) => {
2328
+ }, jB = (A) => {
2329
2329
  for (; A.length; ) {
2330
2330
  var g = A.pop(), I = A.pop();
2331
2331
  I(g);
@@ -2373,7 +2373,7 @@ return ret;
2373
2373
  function nI(A, g, I, C, t, n) {
2374
2374
  var a = g.length;
2375
2375
  a < 2 && AA("argTypes array size mismatch! Must at least get return value and 'this' types!");
2376
- for (var s = g[1] !== null && I !== null, h = EC(g), y = g[0].name !== "void", N = [A, AA, C, t, PB, g[0], g[1]], J = 0; J < a - 2; ++J) N.push(g[J + 2]);
2376
+ for (var s = g[1] !== null && I !== null, h = EC(g), y = g[0].name !== "void", N = [A, AA, C, t, jB, g[0], g[1]], J = 0; J < a - 2; ++J) N.push(g[J + 2]);
2377
2377
  if (!h) for (var J = s ? 1 : 2; J < g.length; ++J) g[J].destructorFunction !== null && N.push(g[J].destructorFunction);
2378
2378
  let [L, Y] = OB(g, s, y, n);
2379
2379
  L.push(Y);
@@ -2474,7 +2474,7 @@ return ret;
2474
2474
  case 1:
2475
2475
  return I ? (C) => m[C] : (C) => x[C];
2476
2476
  case 2:
2477
- return I ? (C) => P[C >> 1] : (C) => z[C >> 1];
2477
+ return I ? (C) => j[C >> 1] : (C) => z[C >> 1];
2478
2478
  case 4:
2479
2479
  return I ? (C) => T[C >> 2] : (C) => q[C >> 2];
2480
2480
  default:
@@ -2590,7 +2590,7 @@ return ret;
2590
2590
  for (var I = A, C = I >> 1, t = C + g / 2; !(C >= t) && z[C]; ) ++C;
2591
2591
  if (I = C << 1, I - A > 32 && nC) return nC.decode(x.subarray(A, I));
2592
2592
  for (var n = "", a = 0; !(a >= g / 2); ++a) {
2593
- var s = P[A + a * 2 >> 1];
2593
+ var s = j[A + a * 2 >> 1];
2594
2594
  if (s == 0) break;
2595
2595
  n += String.fromCharCode(s);
2596
2596
  }
@@ -2600,9 +2600,9 @@ return ret;
2600
2600
  I -= 2;
2601
2601
  for (var C = g, t = I < A.length * 2 ? I / 2 : A.length, n = 0; n < t; ++n) {
2602
2602
  var a = A.charCodeAt(n);
2603
- P[g >> 1] = a, g += 2;
2603
+ j[g >> 1] = a, g += 2;
2604
2604
  }
2605
- return P[g >> 1] = 0, g - C;
2605
+ return j[g >> 1] = 0, g - C;
2606
2606
  }, iQ = (A) => A.length * 2, nQ = (A, g) => {
2607
2607
  for (var I = 0, C = ""; !(I >= g / 4); ) {
2608
2608
  var t = T[A + I * 4 >> 2];
@@ -2832,9 +2832,9 @@ return ret;
2832
2832
  } }, default_tty_ops: { get_char(A) {
2833
2833
  return SQ();
2834
2834
  }, put_char(A, g) {
2835
- g === null || g === 10 ? (j(Qg(A.output, 0)), A.output = []) : g != 0 && A.output.push(g);
2835
+ g === null || g === 10 ? (P(Qg(A.output, 0)), A.output = []) : g != 0 && A.output.push(g);
2836
2836
  }, fsync(A) {
2837
- A.output && A.output.length > 0 && (j(Qg(A.output, 0)), A.output = []);
2837
+ A.output && A.output.length > 0 && (P(Qg(A.output, 0)), A.output = []);
2838
2838
  }, ioctl_tcgets(A) {
2839
2839
  return { c_iflag: 25856, c_oflag: 5, c_cflag: 191, c_lflag: 35387, c_cc: [3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] };
2840
2840
  }, ioctl_tcsets(A, g, I) {
@@ -3586,7 +3586,7 @@ return ret;
3586
3586
  var GA = gA * R, nA = (gA + 1) * R - 1;
3587
3587
  if (nA = Math.min(nA, b - 1), typeof sA.chunks[gA] > "u" && (sA.chunks[gA] = S(GA, nA)), typeof sA.chunks[gA] > "u") throw new Error("doXHR failed!");
3588
3588
  return sA.chunks[gA];
3589
- }), (aA || !b) && (R = b = 1, b = this.getter(0).length, R = b, j("LazyFiles on gzip forces download of the whole file when length is accessed")), this._length = b, this._chunkSize = R, this.lengthKnown = !0;
3589
+ }), (aA || !b) && (R = b = 1, b = this.getter(0).length, R = b, P("LazyFiles on gzip forces download of the whole file when length is accessed")), this._length = b, this._chunkSize = R, this.lengthKnown = !0;
3590
3590
  }
3591
3591
  get length() {
3592
3592
  return this.lengthKnown || this.cacheLength(), this._length;
@@ -3680,9 +3680,9 @@ return ret;
3680
3680
  return a.errno;
3681
3681
  }
3682
3682
  }
3683
- var jQ = (A, g) => g + 2097152 >>> 0 < 4194305 - !!A ? (A >>> 0) + g * 4294967296 : NaN;
3684
- function PQ(A, g, I, C, t) {
3685
- var n = jQ(g, I);
3683
+ var PQ = (A, g) => g + 2097152 >>> 0 < 4194305 - !!A ? (A >>> 0) + g * 4294967296 : NaN;
3684
+ function jQ(A, g, I, C, t) {
3685
+ var n = PQ(g, I);
3686
3686
  try {
3687
3687
  if (isNaN(n)) return 61;
3688
3688
  var a = lg.getStreamFromFD(A);
@@ -3808,14 +3808,14 @@ return ret;
3808
3808
  super(A), this.name = "InternalError";
3809
3809
  }
3810
3810
  }, LB(), uB(), mB(), BC = o.UnboundTypeError = bB(Error, "UnboundTypeError"), $B(), E.createPreloadedFile = qQ, E.staticInit();
3811
- var $Q = { t: rB, f: sB, x: cB, p: wB, k: hB, j: jB, d: VB, o: XB, c: ZB, E: eC, i: IQ, b: BQ, a: QQ, y: EQ, h: tQ, e: sQ, l: cQ, v: wQ, w: DQ, u: lQ, m: dQ, r: uQ, s: GQ, B: LQ, C: UQ, A: xQ, z: bQ, n: PQ, g: OQ, D: wC, q: _Q }, yA = nB(), RC = (A) => (RC = yA.H)(A), dI = (A) => (dI = yA.J)(A), vA = (A) => (vA = yA.K)(A), FC = (A, g) => (FC = yA.L)(A, g), fC = (A, g) => (fC = yA.M)(A, g), uC = (A) => (uC = yA.N)(A);
3811
+ var $Q = { t: rB, f: sB, x: cB, p: wB, k: hB, j: PB, d: VB, o: XB, c: ZB, E: eC, i: IQ, b: BQ, a: QQ, y: EQ, h: tQ, e: sQ, l: cQ, v: wQ, w: DQ, u: lQ, m: dQ, r: uQ, s: GQ, B: LQ, C: UQ, A: xQ, z: bQ, n: jQ, g: OQ, D: wC, q: _Q }, yA = nB(), RC = (A) => (RC = yA.H)(A), dI = (A) => (dI = yA.J)(A), vA = (A) => (vA = yA.K)(A), FC = (A, g) => (FC = yA.L)(A, g), fC = (A, g) => (fC = yA.M)(A, g), uC = (A) => (uC = yA.N)(A);
3812
3812
  o.dynCall_jiji = (A, g, I, C, t) => (o.dynCall_jiji = yA.O)(A, g, I, C, t), o.dynCall_viijii = (A, g, I, C, t, n, a) => (o.dynCall_viijii = yA.P)(A, g, I, C, t, n, a), o.dynCall_iiiiij = (A, g, I, C, t, n, a) => (o.dynCall_iiiiij = yA.Q)(A, g, I, C, t, n, a), o.dynCall_iiiiijj = (A, g, I, C, t, n, a, s, h) => (o.dynCall_iiiiijj = yA.R)(A, g, I, C, t, n, a, s, h), o.dynCall_iiiiiijj = (A, g, I, C, t, n, a, s, h, y) => (o.dynCall_iiiiiijj = yA.S)(A, g, I, C, t, n, a, s, h, y);
3813
3813
  var qg;
3814
3814
  ng = function A() {
3815
3815
  qg || NC(), qg || (ng = A);
3816
3816
  };
3817
3817
  function NC() {
3818
- if (VA > 0 || (PI(), VA > 0)) return;
3818
+ if (VA > 0 || (jI(), VA > 0)) return;
3819
3819
  function A() {
3820
3820
  qg || (qg = !0, o.calledRun = !0, !xA && (II(), D(o), o.onRuntimeInitialized && o.onRuntimeInitialized(), AB()));
3821
3821
  }
@@ -3852,7 +3852,7 @@ const ce = [
3852
3852
  success: [qt, "--success-6"],
3853
3853
  confirm: [GI, "--warning-6"],
3854
3854
  warning: [GI, "--warning-6"],
3855
- error: [Pt, "--danger-6"],
3855
+ error: [jt, "--danger-6"],
3856
3856
  syncConfirm: [GI, "--warning-6"]
3857
3857
  }, De = () => {
3858
3858
  const B = (i, w) => {
@@ -4006,9 +4006,9 @@ const ce = [
4006
4006
  }
4007
4007
  }, o = new MutationObserver(([M]) => {
4008
4008
  var m, x;
4009
- Object.keys(((x = (m = i.value) == null ? void 0 : m.plugin[H.anchor]) == null ? void 0 : x.data) ?? []).forEach((P) => {
4009
+ Object.keys(((x = (m = i.value) == null ? void 0 : m.plugin[H.anchor]) == null ? void 0 : x.data) ?? []).forEach((j) => {
4010
4010
  var eA, EA;
4011
- const z = ((EA = (eA = i.value) == null ? void 0 : eA.plugin[H.anchor]) == null ? void 0 : EA.data[P]) ?? [], [T, q] = z.reduce(
4011
+ const z = ((EA = (eA = i.value) == null ? void 0 : eA.plugin[H.anchor]) == null ? void 0 : EA.data[j]) ?? [], [T, q] = z.reduce(
4012
4012
  ($, rA) => {
4013
4013
  const dA = Array.from(
4014
4014
  document.body.querySelectorAll(`span[data-frag-id="anchor_${rA.id}"]`)
@@ -4017,7 +4017,7 @@ const ce = [
4017
4017
  },
4018
4018
  [[], []]
4019
4019
  );
4020
- i.value.plugin[H.anchor].data[P] = T, q.forEach(($) => Q("anchorRemove", $.data));
4020
+ i.value.plugin[H.anchor].data[j] = T, q.forEach(($) => Q("anchorRemove", $.data));
4021
4021
  });
4022
4022
  }), o.observe(B.value, {
4023
4023
  childList: !0,
@@ -4034,16 +4034,16 @@ const ce = [
4034
4034
  var M;
4035
4035
  return ((M = e.value) == null ? void 0 : M.content.getTextContent()) ?? [];
4036
4036
  }, U = (M) => e.value.content.insert(M), K = () => e.value.content.delete(), v = (M) => e.value.content.update(M), BA = () => e.value.cursor.isCaret(), W = () => e.value.cursor.isRange(), _ = () => {
4037
- var P;
4038
- const M = (P = i.value) == null ? void 0 : P.base.cursor.range;
4037
+ var j;
4038
+ const M = (j = i.value) == null ? void 0 : j.base.cursor.range;
4039
4039
  if (O(M)) return !1;
4040
4040
  const [m] = fA(M.startContainer, (z) => z.tagName === "P" && z.classList.contains(FA)), [x] = fA(M.endContainer, (z) => z.tagName === "P" && z.classList.contains(FA));
4041
4041
  return !(O(m) || O(x) || m === x);
4042
4042
  }, wA = (M) => {
4043
4043
  var z, T;
4044
- const m = (z = i.value) == null ? void 0 : z.base.cursor.range, x = (T = e.value) == null ? void 0 : T.content.getParas(), P = x == null ? void 0 : x.map((q) => Array.from(q.querySelectorAll(`span[data-type="${M}"]`))).flat();
4045
- return O(m) || O(x) || O(P) ? !1 : P.some((q) => m.intersectsNode(q));
4046
- }, j = (M) => {
4044
+ const m = (z = i.value) == null ? void 0 : z.base.cursor.range, x = (T = e.value) == null ? void 0 : T.content.getParas(), j = x == null ? void 0 : x.map((q) => Array.from(q.querySelectorAll(`span[data-type="${M}"]`))).flat();
4045
+ return O(m) || O(x) || O(j) ? !1 : j.some((q) => m.intersectsNode(q));
4046
+ }, P = (M) => {
4047
4047
  var m;
4048
4048
  return cA(M) ? ((m = M.textContent) == null ? void 0 : m.replace(/</g, "&lt;").replace(/>/g, "&gt;")) ?? "" : M.dataset.type === H.pausation ? `<break time="${Number(M.dataset.value) * 1e3}"/>` : M.dataset.type === H.pronunciation ? M.dataset.value : M.dataset.type === H.highlight ? M.dataset.raw : M.dataset.type === H.homophones ? `<phoneme alphabet="py" ph="${M.dataset.formattedValue}">${M.dataset.raw}</phoneme>` : "";
4049
4049
  }, QA = (M, m) => {
@@ -4051,23 +4051,23 @@ const ce = [
4051
4051
  const x = Array.from(
4052
4052
  ((eA = B.value) == null ? void 0 : eA.querySelectorAll(`span[data-id="anchor_${M}"]`)) ?? []
4053
4053
  );
4054
- let P = [];
4054
+ let j = [];
4055
4055
  if (!x.length) return "";
4056
4056
  const z = (EA = e.value) == null ? void 0 : EA.cursor.range;
4057
4057
  let T = -1;
4058
4058
  if (m && (z != null && z.collapse)) {
4059
4059
  const [$] = fA(z == null ? void 0 : z.startContainer, (rA) => CA(rA) && rA.dataset.type === H.anchor);
4060
- T = x.findIndex((rA) => rA === $), P = T > -1 ? x.slice(T) : x;
4060
+ T = x.findIndex((rA) => rA === $), j = T > -1 ? x.slice(T) : x;
4061
4061
  }
4062
- return P.map(($, rA) => {
4062
+ return j.map(($, rA) => {
4063
4063
  let dA = [];
4064
4064
  if (rA === 0 && T > -1) {
4065
4065
  const MA = document.createRange();
4066
4066
  MA.setStart(z.startContainer, z.startOffset), MA.setEnd($, $.childNodes.length), dA = Array.from(MA.cloneContents().childNodes);
4067
4067
  } else
4068
4068
  dA = Array.from($.childNodes);
4069
- return dA.map((MA) => j(MA)).join("");
4070
- }).join("") || x.map(($) => Array.from($.childNodes).map((rA) => j(rA)).join("")).join("");
4069
+ return dA.map((MA) => P(MA)).join("");
4070
+ }).join("") || x.map(($) => Array.from($.childNodes).map((rA) => P(rA)).join("")).join("");
4071
4071
  }, KA = (M) => {
4072
4072
  var x;
4073
4073
  const m = (x = B.value) == null ? void 0 : x.querySelector(`span[data-id="anchor_${M}"]`);
@@ -4075,20 +4075,20 @@ const ce = [
4075
4075
  }, gg = () => {
4076
4076
  var x;
4077
4077
  return (((x = e.value) == null ? void 0 : x.content.getParas()) ?? []).filter(
4078
- (P) => {
4078
+ (j) => {
4079
4079
  var z;
4080
- return (z = P.textContent) == null ? void 0 : z.trim();
4080
+ return (z = j.textContent) == null ? void 0 : z.trim();
4081
4081
  }
4082
- ).map((P) => Array.from(P.childNodes)).flat().every((P) => (console.log(`
4082
+ ).map((j) => Array.from(j.childNodes)).flat().every((j) => (console.log(`
4083
4083
  ---node:
4084
- isText: ${cA(P) && ["", " ", null].includes(P.textContent)}
4085
- isHTMLElement: ${CA(P) && P.dataset.type === H.anchor}
4086
- isHTMLElement: ${CA(P) && P.tagName === "BR"}
4087
- `), console.log("---node ", P), cA(P) && ["", " ", null].includes(P.textContent) || CA(P) && P.dataset.type === H.anchor || CA(P) && P.tagName === "BR"));
4084
+ isText: ${cA(j) && ["", " ", null].includes(j.textContent)}
4085
+ isHTMLElement: ${CA(j) && j.dataset.type === H.anchor}
4086
+ isHTMLElement: ${CA(j) && j.tagName === "BR"}
4087
+ `), console.log("---node ", j), cA(j) && ["", " ", null].includes(j.textContent) || CA(j) && j.dataset.type === H.anchor || CA(j) && j.tagName === "BR"));
4088
4088
  }, OA = (M) => {
4089
4089
  M.forEach((m) => {
4090
- var P;
4091
- (((P = i.value) == null ? void 0 : P.plugin.anchor.data[m.top]) ?? (i.value.plugin.anchor.data[m.top] = [])).push({ background: VC[(m.id - 1) % 10], data: m, id: m.id });
4090
+ var j;
4091
+ (((j = i.value) == null ? void 0 : j.plugin.anchor.data[m.top]) ?? (i.value.plugin.anchor.data[m.top] = [])).push({ background: VC[(m.id - 1) % 10], data: m, id: m.id });
4092
4092
  });
4093
4093
  }, Ig = () => {
4094
4094
  le.confirm({
@@ -4100,8 +4100,8 @@ const ce = [
4100
4100
  const M = window.getSelection(), m = M != null && M.rangeCount ? M == null ? void 0 : M.getRangeAt(0) : null;
4101
4101
  if (O(M) || m && CA(m.commonAncestorContainer) && m.commonAncestorContainer.classList.contains(FA))
4102
4102
  return;
4103
- const x = document.createRange(), P = (T = (z = e.value) == null ? void 0 : z.content.getParas()) == null ? void 0 : T[0];
4104
- O(P) || (x.selectNodeContents(P), x.collapse(!1), M.removeAllRanges(), M.addRange(x));
4103
+ const x = document.createRange(), j = (T = (z = e.value) == null ? void 0 : z.content.getParas()) == null ? void 0 : T[0];
4104
+ O(j) || (x.selectNodeContents(j), x.collapse(!1), M.removeAllRanges(), M.addRange(x));
4105
4105
  });
4106
4106
  }
4107
4107
  });
@@ -4109,9 +4109,9 @@ const ce = [
4109
4109
  const M = e.value.content.getContent(), m = document.createElement("div");
4110
4110
  return m.innerHTML = M, Array.from(
4111
4111
  m.querySelectorAll(`.${mI}`)
4112
- ).forEach((P) => {
4112
+ ).forEach((j) => {
4113
4113
  const z = document.createDocumentFragment();
4114
- Array.from(P.childNodes).forEach((T) => z.appendChild(T)), P.replaceWith(z);
4114
+ Array.from(j.childNodes).forEach((T) => z.appendChild(T)), j.replaceWith(z);
4115
4115
  }), m.innerHTML;
4116
4116
  };
4117
4117
  return mC(d), qC(f), {
@@ -4191,7 +4191,7 @@ const ce = [
4191
4191
  ], 2),
4192
4192
  RA("div", Re, [
4193
4193
  K[0] || (K[0] = RA("span", { class: "fill" }, null, -1)),
4194
- k(PC, {
4194
+ k(jC, {
4195
4195
  ref_key: "pausationorRef",
4196
4196
  ref: u,
4197
4197
  visible: !0,
@@ -4267,10 +4267,6 @@ const JC = /* @__PURE__ */ Ag(Se, [["render", Je]]), [uA] = $A("editor-container
4267
4267
  type: String,
4268
4268
  default: "00:00:00"
4269
4269
  },
4270
- realTime: {
4271
- type: String,
4272
- default: "00:00:00"
4273
- },
4274
4270
  textCount: {
4275
4271
  type: Number,
4276
4272
  default: 0
@@ -4316,6 +4312,11 @@ const JC = /* @__PURE__ */ Ag(Se, [["render", Je]]), [uA] = $A("editor-container
4316
4312
  contentStyle: {
4317
4313
  type: Object,
4318
4314
  default: () => ({})
4315
+ },
4316
+ // 是否显示预计时长
4317
+ showPreTime: {
4318
+ type: Boolean,
4319
+ default: !1
4319
4320
  }
4320
4321
  },
4321
4322
  emits: {
@@ -4348,7 +4349,7 @@ const JC = /* @__PURE__ */ Ag(Se, [["render", Je]]), [uA] = $A("editor-container
4348
4349
  getAnchorTtsMark: W,
4349
4350
  getAnchorTtsEmotionAndRole: _,
4350
4351
  isAllMarkedByAnchor: wA,
4351
- addExtraAnchors: j,
4352
+ addExtraAnchors: P,
4352
4353
  clearContent: QA,
4353
4354
  renderHighlight: KA,
4354
4355
  unrenderHighlight: gg
@@ -4370,7 +4371,7 @@ const JC = /* @__PURE__ */ Ag(Se, [["render", Je]]), [uA] = $A("editor-container
4370
4371
  getAnchorTtsMark: W,
4371
4372
  getAnchorTtsEmotionAndRole: _,
4372
4373
  isAllMarkedByAnchor: wA,
4373
- addExtraAnchors: j,
4374
+ addExtraAnchors: P,
4374
4375
  clearContent: QA,
4375
4376
  renderHighlight: KA,
4376
4377
  unrenderHighlight: gg
@@ -4447,7 +4448,7 @@ const JC = /* @__PURE__ */ Ag(Se, [["render", Je]]), [uA] = $A("editor-container
4447
4448
  }, [k(JC, {
4448
4449
  class: JA("info-rem")
4449
4450
  }, null)])]) : null]));
4450
- }, P = () => {
4451
+ }, j = () => {
4451
4452
  }, z = () => {
4452
4453
  var q;
4453
4454
  return k("div", {
@@ -4462,11 +4463,11 @@ const JC = /* @__PURE__ */ Ag(Se, [["render", Je]]), [uA] = $A("editor-container
4462
4463
  default: () => [kA("清空")]
4463
4464
  })), k("div", {
4464
4465
  class: uA("status-info")
4465
- }, [B.simple ? null : k(WA, null, [k("label", {
4466
+ }, [B.simple ? B.showPreTime ? k("label", {
4466
4467
  class: uA("status-info-label")
4467
- }, [k("span", null, [kA("预计时长:")]), k("span", null, [B.preTime || "00:00:00"])]), k("label", {
4468
+ }, [k("span", null, [kA("预计时长:")]), k("span", null, [B.preTime || "00:00:00"])]) : null : k(WA, null, [k("label", {
4468
4469
  class: uA("status-info-label")
4469
- }, [k("span", null, [kA("实际时长:")]), k("span", null, [B.realTime || "00:00:00"])])]), B.showWordLimit ? k("label", {
4470
+ }, [k("span", null, [kA("预计时长:")]), k("span", null, [B.preTime || "00:00:00"])])]), B.showWordLimit ? k("label", {
4470
4471
  class: uA("status-info-length")
4471
4472
  }, [k("span", null, [o.value <= B.maxLength ? o.value : B.maxLength]), k("span", null, [kA(" / ")]), k("span", null, [B.maxLength, B.simple ? "" : "字"])]) : null])]);
4472
4473
  };
@@ -4479,7 +4480,7 @@ const JC = /* @__PURE__ */ Ag(Se, [["render", Je]]), [uA] = $A("editor-container
4479
4480
  simple: B.simple,
4480
4481
  disabled: B.disabled
4481
4482
  })
4482
- }, [!B.simple && P(), k("div", {
4483
+ }, [!B.simple && j(), k("div", {
4483
4484
  class: uA("core")
4484
4485
  }, [k("div", {
4485
4486
  class: uA("core-content")
@@ -4525,7 +4526,7 @@ const JC = /* @__PURE__ */ Ag(Se, [["render", Je]]), [uA] = $A("editor-container
4525
4526
  innerGetAnchorTtsMark: W,
4526
4527
  innerGetAnchorTtsEmotionAndRole: _,
4527
4528
  innerIsAllMarkedByAnchor: wA,
4528
- innerAddExtraAnchors: j,
4529
+ innerAddExtraAnchors: P,
4529
4530
  innerClearContent: QA,
4530
4531
  innerRenderHightlight: KA,
4531
4532
  innerUnrenderHightlight: gg