@famibee/skynovel 1.30.2 → 1.30.3

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 +1 @@
1
- {"version":3,"file":"TxtLayer.d.ts","sourceRoot":"","sources":["TxtLayer.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAe,OAAO,EAAgE,MAAM,UAAU,CAAC;AAC9G,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,IAAI,EAAU,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAErE,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAIhC,OAAO,EAAW,eAAe,EAAC,MAAM,YAAY,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAA6C,QAAQ,EAAE,WAAW,EAAC,MAAM,SAAS,CAAC;AAE1F,qBAAa,QAAS,SAAQ,KAAK;;IAKlC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAI,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAI,OAAO,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI;IAyHtJ,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO;;IA8DlD,OAAO;IAMhB,MAAM,CAAC,OAAO;IAMd,IAAa,IAAI,CAAC,EAAE,EAAE,MAAM,EAAyC;IACrE,IAAa,IAAI,IADK,MAAM,CACY;IAG/B,SAAS;IACT,iBAAiB;IAEjB,GAAG,CAAC,IAAI,EAAE,IAAI;IAqCvB,IAAa,KAAK,WAA8B;IAChD,IAAa,MAAM,WAA+B;IA4ElD,YAAY,CAAC,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AC,IAAI,EAAE,MAAM;;;;;;;;;;;;;IACjC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,GAAG;IA8BpC,SAAS,CAAC,GAAG,EAAE,MAAM;IAQrB,MAAM,CAAC,QAAQ;IAkGf,KAAK,IAAI,QAAQ;IAyBjB,MAAM;;;;;;;;;;;;IAeN,QAAQ,CAAC,IAAI,EAAE,GAAG;IAmBlB,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAK,IAAI;IAgBrC,YAAY;IAIZ,cAAc,CAAC,GAAG,EAAE,eAAe;IAOnC,cAAc;IAEd,IAAI,IAAI,MAAM;IAaL,OAAO;CAOhB"}
package/dist/web.js CHANGED
@@ -814,7 +814,7 @@ function argChk_Color(hash2, name2, def) {
814
814
  return hash2[name2] = parseColor(String(v2));
815
815
  }
816
816
  const REG_ERRMES_JSON = /JSON at position (\d+)$/;
817
- function mesErrJSON(hArg, nm = "", mes = "") {
817
+ function mesErrJSON(hArg, nm, mes = "") {
818
818
  var _a3;
819
819
  const col = ((_a3 = mes.match(REG_ERRMES_JSON)) != null ? _a3 : ["", ""])[1];
820
820
  return `[${hArg[":\u30BF\u30B0\u540D"]}] ${nm} \u5C5E\u6027\u306E\u89E3\u6790\u30A8\u30E9\u30FC : ${mes}
@@ -2023,6 +2023,7 @@ class Socket$1 extends Emitter {
2023
2023
  }
2024
2024
  }
2025
2025
  Socket$1.protocol = protocol$1;
2026
+ Socket$1.protocol;
2026
2027
  function url$1(uri, path = "", loc) {
2027
2028
  let obj = uri;
2028
2029
  loc = loc || typeof location !== "undefined" && location;
@@ -18857,7 +18858,7 @@ var _ = function() {
18857
18858
  this._sounds[t2].stop();
18858
18859
  return this;
18859
18860
  }, t.prototype.exists = function(t2, e) {
18860
- return !!this._sounds[t2];
18861
+ return e === void 0 && (e = false), !!this._sounds[t2];
18861
18862
  }, t.prototype.find = function(t2) {
18862
18863
  return this.exists(t2, true), this._sounds[t2];
18863
18864
  }, t.prototype.play = function(t2, e) {
@@ -47627,16 +47628,21 @@ const _TxtStage = class extends Container {
47627
47628
  }
47628
47629
  if (v2.lnk) {
47629
47630
  const eCh = v2.elm.parentElement.closest("[data-arg]");
47630
- const aLnk = JSON.parse((_c3 = eCh.getAttribute("data-arg")) != null ? _c3 : "{}");
47631
+ const aLnk = JSON.parse((_c3 = eCh.dataset.arg) != null ? _c3 : "{}");
47631
47632
  aLnk.key = `lnk=[${i2}] ` + this.name;
47632
47633
  const sp = new Sprite();
47633
47634
  __privateMethod2(this, _spWork, spWork_fn).call(this, sp, aLnk, add3, rct, ease, cis != null ? cis : {});
47634
47635
  const st_normal = (_d2 = aLnk.style) != null ? _d2 : "";
47635
47636
  const st_hover = st_normal + ((_e = aLnk.style_hover) != null ? _e : "");
47636
47637
  const st_clicked = st_normal + ((_f = aLnk.style_clicked) != null ? _f : "");
47638
+ const st_bk = eCh.style.cssText;
47639
+ const fncStyle = (st) => {
47640
+ if (!st)
47641
+ return;
47642
+ eCh.style.cssText = st_bk + st;
47643
+ };
47637
47644
  const cl = eCh.querySelectorAll(".sn_ch");
47638
47645
  cl.forEach((e) => e.dataset.st_bk = e.style.cssText);
47639
- const fncStyle = (st) => cl.forEach((e) => e.style.cssText = e.dataset.st_bk + st);
47640
47646
  __privateGet2(_TxtStage, _evtMng3).button(aLnk, sp, () => fncStyle(st_normal), () => {
47641
47647
  if (!this.canFocus())
47642
47648
  return false;
@@ -48598,12 +48604,13 @@ const _TxtLayer = class extends Layer {
48598
48604
  __privateSet2(this, _r_align, "");
48599
48605
  __privateSet2(this, _needGoTxt, false);
48600
48606
  __privateSet2(this, _putCh2, (ch, ruby) => {
48601
- var _a3, _b3, _c3, _d2, _e, _f, _g, _h, _i, _j, _k;
48607
+ var _a3, _b3, _c3, _d2, _e, _f, _g, _h, _i, _j, _k, _l2, _m;
48602
48608
  if (__privateGet2(_TxtLayer, _cfg3).oCfg.debug.putCh)
48603
48609
  console.log(`\u{1F58A} \u6587\u5B57\u8868\u793A text:\`${ch}\` ruby:\`${ruby}\` name:\`${this.name_}\``);
48604
48610
  const a_ruby = ruby.split("\uFF5C");
48605
48611
  let add_htm = "";
48606
48612
  const isSkip = __privateGet2(_TxtLayer, _evtMng4).isSkippingByKeyDown();
48613
+ const [a0, a1] = a_ruby;
48607
48614
  switch (a_ruby.length) {
48608
48615
  case 1:
48609
48616
  __privateSet2(this, _needGoTxt, true);
@@ -48623,7 +48630,7 @@ const _TxtLayer = class extends Layer {
48623
48630
  add_htm = __privateMethod2(this, _tagCh_sub, tagCh_sub_fn).call(this, ch, ruby, isSkip, __privateGet2(this, _r_align));
48624
48631
  break;
48625
48632
  case 2:
48626
- switch (a_ruby[0]) {
48633
+ switch (a0) {
48627
48634
  case "start":
48628
48635
  case "left":
48629
48636
  case "center":
@@ -48634,54 +48641,48 @@ const _TxtLayer = class extends Layer {
48634
48641
  case "1ruby":
48635
48642
  __privateSet2(this, _firstCh, false);
48636
48643
  __privateSet2(this, _needGoTxt, true);
48637
- add_htm = __privateMethod2(this, _tagCh_sub, tagCh_sub_fn).call(this, ch, a_ruby[1], isSkip, a_ruby[0]);
48644
+ add_htm = __privateMethod2(this, _tagCh_sub, tagCh_sub_fn).call(this, ch, a1, isSkip, a0);
48638
48645
  break;
48639
- case "gotxt": {
48640
- __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48641
- if (this.isCur)
48642
- __privateGet2(_a3 = _TxtLayer, _recText).call(_a3, __privateGet2(this, _aSpan).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, `style='`).replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, `class='sn_ch'`).replaceAll(`class='offrec'`, `style='display: none;'`).replaceAll("`", "\\`"));
48643
- if (!__privateGet2(this, _needGoTxt))
48644
- return;
48645
- __privateGet2(this, _txs).goTxt(__privateGet2(this, _aSpan));
48646
- __privateSet2(this, _needGoTxt, false);
48647
- __privateSet2(this, _cumDelay, 0);
48646
+ case "gotxt":
48647
+ {
48648
+ __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48649
+ if (this.isCur)
48650
+ __privateGet2(_a3 = _TxtLayer, _recText).call(_a3, __privateGet2(this, _aSpan).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, `style='`).replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, `class='sn_ch'`).replaceAll(`class='offrec'`, `style='display: none;'`).replaceAll("`", "\\`"));
48651
+ if (__privateGet2(this, _needGoTxt)) {
48652
+ __privateGet2(this, _txs).goTxt(__privateGet2(this, _aSpan));
48653
+ __privateSet2(this, _needGoTxt, false);
48654
+ __privateSet2(this, _cumDelay, 0);
48655
+ }
48656
+ }
48648
48657
  return;
48649
- }
48650
48658
  case "add":
48651
48659
  {
48652
- const o = JSON.parse(a_ruby[1]);
48653
- (_b3 = o.style) != null ? _b3 : o.style = "";
48654
- const stk = __privateGet2(this, _stkASpan).at(-1);
48655
- if (stk)
48656
- o.style = ((_c3 = stk.o.style) != null ? _c3 : "") + o.style;
48660
+ const o = JSON.parse(a1);
48661
+ __privateGet2(this, _aSpan).push(`<span style='display: inline;${(_c3 = (_b3 = __privateGet2(this, _stkASpan).at(-1)) == null ? void 0 : _b3.o.style) != null ? _c3 : ""}${(_d2 = o.style) != null ? _d2 : ""} ${__privateMethod2(this, _style_delay, style_delay_fn).call(this, isSkip)}' class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}' data-add='${JSON.stringify(o)}'>`);
48662
+ delete o.style;
48657
48663
  __privateMethod2(this, _pushSpan, pushSpan_fn).call(this, o);
48658
- __privateGet2(this, _aSpan).push(`<span style='${o.style}' data-add='${JSON.stringify(o)}'>`);
48659
48664
  }
48660
48665
  return;
48661
48666
  case "add_close":
48667
+ __privateGet2(this, _aSpan).push("</span>");
48662
48668
  __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48663
- if (__privateGet2(this, _stkASpan).length > 0)
48664
- __privateGet2(this, _aSpan).splice(-2, 1);
48665
- else
48666
- __privateGet2(this, _aSpan).push(`</span>`);
48667
48669
  return;
48668
48670
  case "grp":
48669
48671
  __privateSet2(this, _needGoTxt, true);
48670
48672
  {
48671
- const [, arg = "{}"] = a_ruby;
48672
- const o = JSON.parse(arg);
48673
+ const o = JSON.parse(a1);
48673
48674
  o.delay = __privateGet2(this, _cumDelay);
48674
- (_d2 = o.id) != null ? _d2 : o.id = __privateGet2(this, _aSpan).length;
48675
+ (_e = o.id) != null ? _e : o.id = __privateGet2(this, _aSpan).length;
48675
48676
  if (o.id === "break") {
48676
48677
  __privateGet2(this, _txs).dispBreak(o.pic);
48677
48678
  return;
48678
48679
  }
48679
- (_e = o.style) != null ? _e : o.style = "";
48680
- const wait = Number((_f = o.wait) != null ? _f : -1);
48680
+ (_f = o.style) != null ? _f : o.style = "";
48681
+ const wait = Number((_g = o.wait) != null ? _g : -1);
48681
48682
  const sc = wait != 0 ? ` sn_ch_in_${__privateGet2(this, _$ch_in_style)}` : "";
48682
48683
  const ad = wait < 0 ? "" : ` animation-duration: ${wait}ms;`;
48683
- const lnk = (_g = __privateGet2(this, _stkASpan).at(0)) == null ? void 0 : _g.o[":link"];
48684
- add_htm = `<span data-cmd='grp' data-id='${o.id}' data-arg='${JSON.stringify(o)}' class='sn_ch${sc}' style='${__privateMethod2(this, _style_delay, style_delay_fn).call(this, isSkip)}${ad} ${o.style}'${lnk != null ? lnk : ""} data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'>\u3000</span>`;
48684
+ const lnk = (_h = __privateGet2(this, _stkASpan).at(0)) == null ? void 0 : _h.o[":link"];
48685
+ add_htm = `<span data-cmd='grp' data-id='${o.id}' data-arg='${JSON.stringify(o)}' class='sn_ch${sc}' style='${__privateMethod2(this, _style_delay, style_delay_fn).call(this, isSkip)}${ad} ${(_i = o.style) != null ? _i : ""}'${lnk != null ? lnk : ""} data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'>\u3000</span>`;
48685
48686
  if (__privateGet2(this, _firstCh)) {
48686
48687
  __privateSet2(this, _firstCh, false);
48687
48688
  add_htm = `<ruby>${add_htm}<rt>\u3000</rt></ruby>`;
@@ -48691,33 +48692,31 @@ const _TxtLayer = class extends Layer {
48691
48692
  }
48692
48693
  break;
48693
48694
  case "del":
48694
- const id_del = a_ruby[1];
48695
- if (id_del !== "break")
48696
- throw "\u6587\u5B57\u30EC\u30A4\u30E4del\u30B3\u30DE\u30F3\u30C9\u306F\u3001\u73FE\u5728id=break\u306E\u307F\u30B5\u30DD\u30FC\u30C8\u3057\u307E\u3059";
48697
48695
  TxtStage.delBreak();
48698
48696
  return;
48699
48697
  case "span":
48700
- __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48701
- __privateSet2(this, _needGoTxt, true);
48702
48698
  {
48703
- const o = JSON.parse(a_ruby[1]);
48704
- __privateMethod2(this, _pushSpan, pushSpan_fn).call(this, o);
48699
+ __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48700
+ __privateSet2(this, _needGoTxt, true);
48701
+ const o = JSON.parse(a1);
48702
+ if (o.style)
48703
+ __privateMethod2(this, _pushSpan, pushSpan_fn).call(this, o);
48705
48704
  }
48706
48705
  return;
48707
48706
  case "link":
48708
- __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48709
- __privateSet2(this, _needGoTxt, true);
48710
48707
  {
48711
- const o = JSON.parse(a_ruby[1]);
48712
- (_h = o.style) != null ? _h : o.style = "";
48708
+ __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48709
+ __privateSet2(this, _needGoTxt, true);
48710
+ const o = JSON.parse(a1);
48713
48711
  o[":link"] = ` data-lnk='@'`;
48714
- __privateGet2(this, _aSpan).push(`<span data-arg='${a_ruby[1]}' style='display: contents;'>`);
48712
+ __privateGet2(this, _aSpan).push(`<span data-arg='${a1}' class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}' style='display: inline;${(_j = o.style) != null ? _j : ""} ${__privateMethod2(this, _style_delay, style_delay_fn).call(this, isSkip)}' data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'}>`);
48713
+ delete o.style;
48715
48714
  __privateMethod2(this, _pushSpan, pushSpan_fn).call(this, o);
48716
48715
  }
48717
48716
  return;
48718
48717
  case "endlink":
48719
48718
  __privateSet2(this, _needGoTxt, true);
48720
- __privateGet2(this, _aSpan).push(`</span>`);
48719
+ __privateGet2(this, _aSpan).push("</span>");
48721
48720
  __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48722
48721
  return;
48723
48722
  default:
@@ -48726,24 +48725,24 @@ const _TxtLayer = class extends Layer {
48726
48725
  }
48727
48726
  break;
48728
48727
  case 3:
48729
- __privateSet2(this, _firstCh, false);
48730
- __privateSet2(this, _needGoTxt, true);
48731
- const [cmd0, tx, rb0] = a_ruby;
48732
- switch (cmd0) {
48728
+ switch (a0) {
48733
48729
  case "tcy":
48730
+ __privateSet2(this, _firstCh, false);
48731
+ __privateSet2(this, _needGoTxt, true);
48734
48732
  {
48733
+ const [, tx, rb0] = a_ruby;
48735
48734
  if (__privateGet2(_TxtLayer, _val).doRecLog())
48736
48735
  __privateSet2(this, _page_text, __privateGet2(this, _page_text) + (ch + (ruby ? `\u300A${ruby}\u300B` : "")));
48737
48736
  const rb = CmnLib.isSafari ? rb0.replace(/[A-Za-z0-9]/g, (s2) => String.fromCharCode(s2.charCodeAt(0) + 65248)) : rb0;
48738
48737
  const rs = this.mkStyle_r_align(tx, rb, __privateGet2(this, _r_align));
48739
- const lnk = (_i = __privateGet2(this, _stkASpan).at(0)) == null ? void 0 : _i.o[":link"];
48738
+ const lnk = (_k = __privateGet2(this, _stkASpan).at(0)) == null ? void 0 : _k.o[":link"];
48740
48739
  add_htm = `<span class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}' style='${__privateGet2(this, _fncFFSStyle).call(this, tx)}${__privateMethod2(this, _style_delay, style_delay_fn).call(this, isSkip)}'><ruby><span ${lnk != null ? lnk : ""} style='
48741
48740
  text-combine-upright: all;
48742
48741
  -webkit-text-combine: horizontal;
48743
48742
  ' data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'>${tx}</span>
48744
48743
  <rt${rs}>${rb}</rt></ruby></span>`;
48745
48744
  if (__privateGet2(this, _ch_in_join))
48746
- __privateSet2(this, _cumDelay, __privateGet2(this, _cumDelay) + (__privateGet2(_TxtLayer, _doAutoWc) ? (_j = __privateGet2(_TxtLayer, _hAutoWc)[ch.charAt(0)]) != null ? _j : 0 : LayerMng.msecChWait));
48745
+ __privateSet2(this, _cumDelay, __privateGet2(this, _cumDelay) + (__privateGet2(_TxtLayer, _doAutoWc) ? (_l2 = __privateGet2(_TxtLayer, _hAutoWc)[ch.charAt(0)]) != null ? _l2 : 0 : LayerMng.msecChWait));
48747
48746
  }
48748
48747
  break;
48749
48748
  default:
@@ -48751,7 +48750,7 @@ text-combine-upright: all;
48751
48750
  }
48752
48751
  break;
48753
48752
  }
48754
- __privateGet2(this, _aSpan).push(__privateGet2(_k = _TxtLayer, _rec).call(_k, add_htm));
48753
+ __privateGet2(this, _aSpan).push(__privateGet2(_m = _TxtLayer, _rec).call(_m, add_htm));
48755
48754
  });
48756
48755
  __privateSet2(this, _cumDelay, 0);
48757
48756
  __privateSet2(this, _firstCh, true);