@famibee/skynovel 1.28.0 → 1.28.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,54 @@
1
+ ## [1.28.4](https://github.com/famibee/SKYNovel/compare/v1.28.3...v1.28.4) (2022-02-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 拡張子 woff ファイルを扱ってなかった件 ([b06faf3](https://github.com/famibee/SKYNovel/commit/b06faf36203c6b49fa9d8fd1444bb4588b7d4453))
7
+
8
+ - fix: 拡張子 woff ファイルを扱ってなかった件
9
+ - fix: テキストレイヤの破棄処理修正
10
+ - fix: AIRNovelにあったフォントチェック機能(未作成)を正式に削除(組み込み変数 sn.chkFontMode)、役割を拡張機能へ
11
+
12
+
13
+ ## [1.28.3](https://github.com/famibee/SKYNovel/compare/v1.28.2...v1.28.3) (2022-02-08)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * Safari / Firefox / Edge 動作確認と修正 ([f8caacf](https://github.com/famibee/SKYNovel/commit/f8caacfcf6b3825b624c3c868a63d54b0f893d85))
19
+
20
+ - fix: Safari / Firefox / Edge 動作確認と修正
21
+ - fix: Safari で TypeError になる件
22
+ - fix: ギャラリーで画面サイズ・全画面によってはテキストがずれる・サイズが合わない件
23
+ - fix: ギャラリーでSafariのみ左にずれる件
24
+ - docs: 【セーブデータの保存場所】にデバッグ実行時などを追記
25
+
26
+
27
+ ## [1.28.2](https://github.com/famibee/SKYNovel/compare/v1.28.1...v1.28.2) (2022-02-04)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * Winアプリ版:全画面モードから戻ると右端に余白、縦方向にも狭い ([280f7c6](https://github.com/famibee/SKYNovel/commit/280f7c6ae3008a8c904448ce201bd4eede52ef05))
33
+
34
+ - fix: Winアプリ版:全画面モードから戻ると右端に余白、縦方向にも狭い
35
+ - 既知の問題
36
+ - Winアプリ版:メニューやF11キーだと全画面モードで左端に寄る
37
+
38
+
39
+ ## [1.28.1](https://github.com/famibee/SKYNovel/compare/v1.28.0...v1.28.1) (2022-02-03)
40
+
41
+
42
+ ### Bug Fixes
43
+
44
+ * Winアプリ版:全画面モードで左端に寄る ([976a637](https://github.com/famibee/SKYNovel/commit/976a637205c118d66ac68695f85ea4c7879826b0))
45
+
46
+ - fix: Winアプリ版:全画面モードで左端に寄る
47
+ - fix: Macアプリ版:全画面モードから戻ると右端に余白、縦方向にも狭い
48
+ - ~~既知の問題~~
49
+ - (次Verで解消)~~Winアプリ版:全画面モードから戻ると右端に余白、縦方向にも狭い~~
50
+
51
+
1
52
  # [1.28.0](https://github.com/famibee/SKYNovel/compare/v1.27.9...v1.28.0) (2022-01-30)
2
53
 
3
54
 
@@ -7,9 +58,9 @@
7
58
 
8
59
  - feat: アプリメニューから予約イベントを発生できる機能(key名の指定のみ)
9
60
  - fix: Winアプリ版の全画面モードで全画面にならず、左上に張り付き、拡大もされない
10
- - 既知の問題
11
- - Winアプリ版:全画面モードで左端に寄る
12
- - Winアプリ版:全画面モードから戻ると右端にちょっと白い部分が……
61
+ - ~~既知の問題~~
62
+ - (次Verで解消) ~~Winアプリ版:全画面モードで左端に寄る~~
63
+ - (次Verに移動) ~~Winアプリ版:全画面モードから戻ると右端にちょっと白い部分が……~~
13
64
 
14
65
 
15
66
  ## [1.27.9](https://github.com/famibee/SKYNovel/compare/v1.27.8...v1.27.9) (2022-01-29)
@@ -494,8 +545,8 @@
494
545
  - Mac: アプリがフリーズ
495
546
  - Win: ウインドウが最小サイズ化(最小化ではなく)
496
547
  - docs: 【タグリファレンス】追加・[page]ページ移動
497
- - memo: 既知の問題:
498
- - 連打時にBGMが残り多重化してしまう件
548
+ - ~~memo: 既知の問題~~:
549
+ - ~~連打時にBGMが残り多重化してしまう件~~
499
550
  - fix: タグ[page]移動連打時でも、BGMや効果音を確実に止めるように
500
551
 
501
552
 
package/app.js CHANGED
@@ -66534,7 +66534,7 @@ exports.Config = Config;
66534
66534
  _Config_existsBreakline = new WeakMap(), _Config_existsBreakpage = new WeakMap(), _Config_REGPATH = new WeakMap();
66535
66535
  Config.EXT_SPRITE = 'png|jpg|jpeg|json|svg|webp|mp4|webm';
66536
66536
  Config.EXT_SCRIPT = 'sn|ssn';
66537
- Config.EXT_FONT = 'woff2|otf|ttf';
66537
+ Config.EXT_FONT = 'woff2|woff|otf|ttf';
66538
66538
  Config.EXT_SOUND = 'mp3|m4a|ogg|aac|flac|wav';
66539
66539
  Config.EXT_HTML = 'htm|html';
66540
66540
 
@@ -69746,8 +69746,7 @@ void main(void) {
69746
69746
  _LayerMng_oLastPage.set(this, { text: '' });
69747
69747
  _LayerMng_aTxtLog.set(this, []);
69748
69748
  const fncResizeLay = () => {
69749
- if (!sys.cvsResize())
69750
- return;
69749
+ sys.cvsResize();
69751
69750
  this.cvsResizeDesign();
69752
69751
  if (__classPrivateFieldGet(this, _LayerMng_modeLnSub, "f"))
69753
69752
  __classPrivateFieldGet(this, _LayerMng_aLayName, "f").forEach(layer => __classPrivateFieldGet(this, _LayerMng_hPages, "f")[layer].fore.cvsResizeChildren());
@@ -69875,6 +69874,7 @@ void main(void) {
69875
69874
  GrpLayer_1.GrpLayer.destroy();
69876
69875
  RubySpliter_1.RubySpliter.destroy();
69877
69876
  TxtStage_1.TxtStage.destroy();
69877
+ TxtLayer_1.TxtLayer.destroy();
69878
69878
  __classPrivateFieldGet(this, _LayerMng_frmMng, "f").destroy();
69879
69879
  this.stopAllTw();
69880
69880
  this.appPixi.ticker.remove(__classPrivateFieldGet(this, _LayerMng_fncTicker, "f"));
@@ -73264,6 +73264,22 @@ class SysApp extends SysNode_1.SysNode {
73264
73264
  });
73265
73265
  return [];
73266
73266
  }
73267
+ cvsResize() {
73268
+ super.cvsResize();
73269
+ if (CmnLib_1.CmnLib.isMac)
73270
+ return;
73271
+ const s = this.appPixi.view.style;
73272
+ if (this.isFullScr) {
73273
+ s.left = `${this.ofsLeft4elm}px`;
73274
+ s.top = `${this.ofsTop4elm}px`;
73275
+ s.position = 'fixed';
73276
+ }
73277
+ else {
73278
+ s.left = '';
73279
+ s.top = '';
73280
+ s.position = 'relative';
73281
+ }
73282
+ }
73267
73283
  titleSub(title) { to_app.win_setTitle(title); }
73268
73284
  }
73269
73285
  exports.SysApp = SysApp;
@@ -73523,17 +73539,23 @@ class SysBase {
73523
73539
  get ofsPadTop_Dom2PIXI() { return __classPrivateFieldGet(this, _SysBase_ofsPadTop_Dom2PIXI, "f"); }
73524
73540
  ;
73525
73541
  cvsResize() {
73526
- const bk_cw = __classPrivateFieldGet(this, _SysBase_cvsWidth, "f");
73527
- const bk_ch = __classPrivateFieldGet(this, _SysBase_cvsHeight, "f");
73528
73542
  let w = globalThis.innerWidth;
73529
73543
  let h = globalThis.innerHeight;
73530
- const { angle = 0 } = screen.orientation;
73531
- const lp = angle % 180 === 0 ? 'p' : 'l';
73532
- if (CmnLib_1.CmnLib.isMobile && ((lp === 'p' && w > h) || (lp === 'l' && w < h)))
73533
- [w, h] = [h, w];
73534
73544
  const cvs = this.appPixi.view;
73545
+ const isGallery = cvs.parentElement !== document.body;
73546
+ if (isGallery) {
73547
+ const st = globalThis.getComputedStyle(cvs);
73548
+ w = parseFloat(st.width);
73549
+ h = parseFloat(st.height);
73550
+ }
73551
+ if (CmnLib_1.CmnLib.isMobile) {
73552
+ const angle = screen.orientation?.angle ?? 0;
73553
+ const isP = angle % 180 === 0;
73554
+ if (isP && w > h || !isP && w < h)
73555
+ [w, h] = [h, w];
73556
+ }
73535
73557
  const cr = cvs.getBoundingClientRect();
73536
- if ((0, CmnLib_1.argChk_Boolean)(CmnLib_1.CmnLib.hDip, 'expanding', true)
73558
+ if ((0, CmnLib_1.argChk_Boolean)(CmnLib_1.CmnLib.hDip, 'expanding', true) || isGallery
73537
73559
  || CmnLib_1.CmnLib.stageW > w
73538
73560
  || CmnLib_1.CmnLib.stageH > h) {
73539
73561
  if (CmnLib_1.CmnLib.stageW / CmnLib_1.CmnLib.stageH <= w / h) {
@@ -73545,12 +73567,21 @@ class SysBase {
73545
73567
  __classPrivateFieldSet(this, _SysBase_cvsHeight, CmnLib_1.CmnLib.stageH / CmnLib_1.CmnLib.stageW * w, "f");
73546
73568
  }
73547
73569
  __classPrivateFieldSet(this, _SysBase_cvsScale, __classPrivateFieldGet(this, _SysBase_cvsWidth, "f") / CmnLib_1.CmnLib.stageW, "f");
73548
- __classPrivateFieldSet(this, _SysBase_ofsPadLeft_Dom2PIXI, (CmnLib_1.CmnLib.isMobile
73549
- ? (globalThis.innerWidth - __classPrivateFieldGet(this, _SysBase_cvsWidth, "f")) / 2
73550
- : cr.left) * (1 - __classPrivateFieldGet(this, _SysBase_cvsScale, "f")), "f");
73551
- __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, (CmnLib_1.CmnLib.isMobile
73552
- ? (globalThis.innerHeight - __classPrivateFieldGet(this, _SysBase_cvsHeight, "f")) / 2
73553
- : cr.top) * (1 - __classPrivateFieldGet(this, _SysBase_cvsScale, "f")), "f");
73570
+ if (isGallery) {
73571
+ __classPrivateFieldSet(this, _SysBase_ofsPadLeft_Dom2PIXI, 0, "f");
73572
+ __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, 0, "f");
73573
+ }
73574
+ else {
73575
+ const sc = 1 - __classPrivateFieldGet(this, _SysBase_cvsScale, "f");
73576
+ if (CmnLib_1.CmnLib.isMobile) {
73577
+ __classPrivateFieldSet(this, _SysBase_ofsPadLeft_Dom2PIXI, (w - __classPrivateFieldGet(this, _SysBase_cvsWidth, "f")) / 2 * sc, "f");
73578
+ __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, (h - __classPrivateFieldGet(this, _SysBase_cvsHeight, "f")) / 2 * sc, "f");
73579
+ }
73580
+ else {
73581
+ __classPrivateFieldSet(this, _SysBase_ofsPadLeft_Dom2PIXI, cr.left * sc, "f");
73582
+ __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, cr.top * sc, "f");
73583
+ }
73584
+ }
73554
73585
  }
73555
73586
  else {
73556
73587
  __classPrivateFieldSet(this, _SysBase_cvsWidth, CmnLib_1.CmnLib.stageW, "f");
@@ -73560,26 +73591,20 @@ class SysBase {
73560
73591
  __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, 0, "f");
73561
73592
  }
73562
73593
  const ps = cvs.parentElement.style;
73563
- if (cvs.parentElement === document.body) {
73594
+ if (!isGallery) {
73564
73595
  ps.position = 'relative';
73565
73596
  ps.width = `${__classPrivateFieldGet(this, _SysBase_cvsWidth, "f")}px`;
73566
73597
  ps.height = `${__classPrivateFieldGet(this, _SysBase_cvsHeight, "f")}px`;
73567
73598
  }
73568
73599
  const s = cvs.style;
73569
- if (!this.isApp && this.isFullScr) {
73570
- s.width = s.height = '';
73571
- }
73572
- else {
73573
- s.width = ps.width;
73574
- s.height = ps.height;
73575
- }
73600
+ s.width = ps.width;
73601
+ s.height = ps.height;
73576
73602
  __classPrivateFieldSet(this, _SysBase_ofsLeft4elm, cr.left, "f");
73577
73603
  __classPrivateFieldSet(this, _SysBase_ofsTop4elm, cr.top, "f");
73578
73604
  if (this.isFullScr) {
73579
73605
  __classPrivateFieldSet(this, _SysBase_ofsLeft4elm, __classPrivateFieldGet(this, _SysBase_ofsLeft4elm, "f") + (w - __classPrivateFieldGet(this, _SysBase_cvsWidth, "f")) / 2, "f");
73580
73606
  __classPrivateFieldSet(this, _SysBase_ofsTop4elm, __classPrivateFieldGet(this, _SysBase_ofsTop4elm, "f") + (h - __classPrivateFieldGet(this, _SysBase_cvsHeight, "f")) / 2, "f");
73581
73607
  }
73582
- return bk_cw !== __classPrivateFieldGet(this, _SysBase_cvsWidth, "f") || bk_ch !== __classPrivateFieldGet(this, _SysBase_cvsHeight, "f");
73583
73608
  }
73584
73609
  attach_debug(main) {
73585
73610
  this.attach_debug = () => { };
@@ -74075,8 +74100,7 @@ ${__classPrivateFieldGet(this, _TxtLayer_fncFFSStyle, "f").call(this, tx)}`;
74075
74100
  __classPrivateFieldSet(TxtLayer, _a, isPageFore, "f", _TxtLayer_isPageFore);
74076
74101
  val.setDoRecProc(TxtLayer.chgDoRec);
74077
74102
  hTag.autowc = o => __classPrivateFieldGet(TxtLayer, _a, "m", _TxtLayer_autowc).call(TxtLayer, o);
74078
- const o = { enabled: 'false', text: '', time: '' };
74079
- hTag.autowc(o);
74103
+ hTag.autowc({ enabled: false, text: '', time: 0 });
74080
74104
  hTag.ch_in_style = o => __classPrivateFieldGet(TxtLayer, _a, "m", _TxtLayer_ch_in_style).call(TxtLayer, o);
74081
74105
  hTag.ch_out_style = o => __classPrivateFieldGet(TxtLayer, _a, "m", _TxtLayer_ch_out_style).call(TxtLayer, o);
74082
74106
  TxtStage_1.TxtStage.initChStyle();
@@ -74142,6 +74166,8 @@ ${__classPrivateFieldGet(this, _TxtLayer_fncFFSStyle, "f").call(this, tx)}`;
74142
74166
  }
74143
74167
  this.clearText();
74144
74168
  __classPrivateFieldGet(this, _TxtLayer_txs, "f").destroy();
74169
+ }
74170
+ static destroy() {
74145
74171
  __classPrivateFieldSet(TxtLayer, _a, false, "f", _TxtLayer_doAutoWc);
74146
74172
  __classPrivateFieldSet(TxtLayer, _a, {}, "f", _TxtLayer_hAutoWc);
74147
74173
  TxtLayer.rec = (tx) => tx;
@@ -74681,10 +74707,7 @@ class TxtStage extends pixi_js_1.Container {
74681
74707
  s.paddingBottom = (hArg.pb ?? '0') + 'px';
74682
74708
  __classPrivateFieldGet(this, _TxtStage_instances, "m", _TxtStage_lay_sub).call(this);
74683
74709
  __classPrivateFieldGet(this, _TxtStage_idc, "f").sethArg(hArg);
74684
- __classPrivateFieldSet(this, _TxtStage_left, this.spLay.position.x
74685
- - (CmnLib_1.CmnLib.isSafari && !CmnLib_1.CmnLib.isMobile && __classPrivateFieldGet(this, _TxtStage_isTategaki, "f")
74686
- ? __classPrivateFieldGet(this, _TxtStage_infTL, "f").pad_left + __classPrivateFieldGet(this, _TxtStage_infTL, "f").pad_right
74687
- : 0), "f");
74710
+ __classPrivateFieldSet(this, _TxtStage_left, this.spLay.position.x, "f");
74688
74711
  s.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`;
74689
74712
  this.cvsResize();
74690
74713
  s.display = this.spLay.visible ? 'inline' : 'none';
@@ -75061,10 +75084,7 @@ class TxtStage extends pixi_js_1.Container {
75061
75084
  __classPrivateFieldGet(this, _TxtStage_instances, "m", _TxtStage_htm2tx).call(this, tx => {
75062
75085
  __classPrivateFieldSet(this, _TxtStage_sss, new pixi_js_1.Sprite(tx), "f");
75063
75086
  if (__classPrivateFieldGet(this, _TxtStage_isTategaki, "f")) {
75064
- __classPrivateFieldGet(this, _TxtStage_sss, "f").x += CmnLib_1.CmnLib.stageW - (__classPrivateFieldGet(this, _TxtStage_left, "f") + __classPrivateFieldGet(this, _TxtStage_infTL, "f").$width)
75065
- - ((CmnLib_1.CmnLib.isSafari && !CmnLib_1.CmnLib.isMobile)
75066
- ? 0
75067
- : __classPrivateFieldGet(this, _TxtStage_infTL, "f").pad_left + __classPrivateFieldGet(this, _TxtStage_infTL, "f").pad_right);
75087
+ __classPrivateFieldGet(this, _TxtStage_sss, "f").x += CmnLib_1.CmnLib.stageW - (__classPrivateFieldGet(this, _TxtStage_left, "f") + __classPrivateFieldGet(this, _TxtStage_infTL, "f").$width);
75068
75088
  }
75069
75089
  __classPrivateFieldGet(this, _TxtStage_sss, "f").y -= __classPrivateFieldGet(this, _TxtStage_padTx4y, "f");
75070
75090
  __classPrivateFieldGet(this, _TxtStage_sss, "f").texture.frame = new pixi_js_1.Rectangle(0, 0, __classPrivateFieldGet(this, _TxtStage_infTL, "f").$width - __classPrivateFieldGet(this, _TxtStage_left, "f"), __classPrivateFieldGet(this, _TxtStage_infTL, "f").$height);
@@ -75653,12 +75673,6 @@ class Variable {
75653
75673
  'tmp:sn.auto.enabled': name => __classPrivateFieldGet(this, _Variable_instances, "m", _Variable_runFirst_Bool_hTmp_false).call(this, name),
75654
75674
  'tmp:flash.desktop.NativeApplication.nativeApplication.systemIdleMode': (() => {
75655
75675
  }),
75656
- 'tmp:sn.chkFontMode': () => {
75657
- if (__classPrivateFieldGet(this, _Variable_hTmp, "f")['const.sn.onLauncher'])
75658
- return;
75659
- if (!__classPrivateFieldGet(this, _Variable_hTmp, "f")['const.sn.isDebugger'])
75660
- return;
75661
- }
75662
75676
  });
75663
75677
  hTag.let = o => __classPrivateFieldGet(this, _Variable_instances, "m", _Variable_let).call(this, o);
75664
75678
  hTag.let_abs = o => __classPrivateFieldGet(this, _Variable_instances, "m", _Variable_let_abs).call(this, o);
package/appMain.js CHANGED
@@ -1548,7 +1548,6 @@ const names_1 = __webpack_require__(/*! ./names */ "./node_modules/ajv/dist/comp
1548
1548
  const resolve_1 = __webpack_require__(/*! ./resolve */ "./node_modules/ajv/dist/compile/resolve.js");
1549
1549
  const util_1 = __webpack_require__(/*! ./util */ "./node_modules/ajv/dist/compile/util.js");
1550
1550
  const validate_1 = __webpack_require__(/*! ./validate */ "./node_modules/ajv/dist/compile/validate/index.js");
1551
- const URI = __webpack_require__(/*! uri-js */ "./node_modules/uri-js/dist/es5/uri.all.js");
1552
1551
  class SchemaEnv {
1553
1552
  constructor(env) {
1554
1553
  var _a;
@@ -1577,7 +1576,7 @@ function compileSchema(sch) {
1577
1576
  const _sch = getCompilingSchema.call(this, sch);
1578
1577
  if (_sch)
1579
1578
  return _sch;
1580
- const rootId = (0, resolve_1.getFullPath)(sch.root.baseId); // TODO if getFullPath removed 1 tests fails
1579
+ const rootId = (0, resolve_1.getFullPath)(this.opts.uriResolver, sch.root.baseId); // TODO if getFullPath removed 1 tests fails
1581
1580
  const { es5, lines } = this.opts.code;
1582
1581
  const { ownProperties } = this.opts;
1583
1582
  const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties });
@@ -1668,7 +1667,7 @@ function compileSchema(sch) {
1668
1667
  exports.compileSchema = compileSchema;
1669
1668
  function resolveRef(root, baseId, ref) {
1670
1669
  var _a;
1671
- ref = (0, resolve_1.resolveUrl)(baseId, ref);
1670
+ ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, ref);
1672
1671
  const schOrFunc = root.refs[ref];
1673
1672
  if (schOrFunc)
1674
1673
  return schOrFunc;
@@ -1714,9 +1713,9 @@ ref // reference to resolve
1714
1713
  function resolveSchema(root, // root object with properties schema, refs TODO below SchemaEnv is assigned to it
1715
1714
  ref // reference to resolve
1716
1715
  ) {
1717
- const p = URI.parse(ref);
1718
- const refPath = (0, resolve_1._getFullPath)(p);
1719
- let baseId = (0, resolve_1.getFullPath)(root.baseId);
1716
+ const p = this.opts.uriResolver.parse(ref);
1717
+ const refPath = (0, resolve_1._getFullPath)(this.opts.uriResolver, p);
1718
+ let baseId = (0, resolve_1.getFullPath)(this.opts.uriResolver, root.baseId, undefined);
1720
1719
  // TODO `Object.keys(root.schema).length > 0` should not be needed - but removing breaks 2 tests
1721
1720
  if (Object.keys(root.schema).length > 0 && refPath === baseId) {
1722
1721
  return getJsonPointer.call(this, p, root);
@@ -1738,7 +1737,7 @@ ref // reference to resolve
1738
1737
  const { schemaId } = this.opts;
1739
1738
  const schId = schema[schemaId];
1740
1739
  if (schId)
1741
- baseId = (0, resolve_1.resolveUrl)(baseId, schId);
1740
+ baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
1742
1741
  return new SchemaEnv({ schema, schemaId, root, baseId });
1743
1742
  }
1744
1743
  return getJsonPointer.call(this, p, schOrRef);
@@ -1765,12 +1764,12 @@ function getJsonPointer(parsedRef, { baseId, schema, root }) {
1765
1764
  // TODO PREVENT_SCOPE_CHANGE could be defined in keyword def?
1766
1765
  const schId = typeof schema === "object" && schema[this.opts.schemaId];
1767
1766
  if (!PREVENT_SCOPE_CHANGE.has(part) && schId) {
1768
- baseId = (0, resolve_1.resolveUrl)(baseId, schId);
1767
+ baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
1769
1768
  }
1770
1769
  }
1771
1770
  let env;
1772
1771
  if (typeof schema != "boolean" && schema.$ref && !(0, util_1.schemaHasRulesButRef)(schema, this.RULES)) {
1773
- const $ref = (0, resolve_1.resolveUrl)(baseId, schema.$ref);
1772
+ const $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema.$ref);
1774
1773
  env = resolveSchema.call(this, root, $ref);
1775
1774
  }
1776
1775
  // even though resolution failed we need to return SchemaEnv to throw exception
@@ -1834,10 +1833,10 @@ exports["default"] = names;
1834
1833
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1835
1834
  const resolve_1 = __webpack_require__(/*! ./resolve */ "./node_modules/ajv/dist/compile/resolve.js");
1836
1835
  class MissingRefError extends Error {
1837
- constructor(baseId, ref, msg) {
1836
+ constructor(resolver, baseId, ref, msg) {
1838
1837
  super(msg || `can't resolve reference ${ref} from id ${baseId}`);
1839
- this.missingRef = (0, resolve_1.resolveUrl)(baseId, ref);
1840
- this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(this.missingRef));
1838
+ this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);
1839
+ this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));
1841
1840
  }
1842
1841
  }
1843
1842
  exports["default"] = MissingRefError;
@@ -1858,7 +1857,6 @@ exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getF
1858
1857
  const util_1 = __webpack_require__(/*! ./util */ "./node_modules/ajv/dist/compile/util.js");
1859
1858
  const equal = __webpack_require__(/*! fast-deep-equal */ "./node_modules/fast-deep-equal/index.js");
1860
1859
  const traverse = __webpack_require__(/*! json-schema-traverse */ "./node_modules/json-schema-traverse/index.js");
1861
- const URI = __webpack_require__(/*! uri-js */ "./node_modules/uri-js/dist/es5/uri.all.js");
1862
1860
  // TODO refactor to use keyword definitions
1863
1861
  const SIMPLE_INLINED = new Set([
1864
1862
  "type",
@@ -1923,15 +1921,16 @@ function countKeys(schema) {
1923
1921
  }
1924
1922
  return count;
1925
1923
  }
1926
- function getFullPath(id = "", normalize) {
1924
+ function getFullPath(resolver, id = "", normalize) {
1927
1925
  if (normalize !== false)
1928
1926
  id = normalizeId(id);
1929
- const p = URI.parse(id);
1930
- return _getFullPath(p);
1927
+ const p = resolver.parse(id);
1928
+ return _getFullPath(resolver, p);
1931
1929
  }
1932
1930
  exports.getFullPath = getFullPath;
1933
- function _getFullPath(p) {
1934
- return URI.serialize(p).split("#")[0] + "#";
1931
+ function _getFullPath(resolver, p) {
1932
+ const serialized = resolver.serialize(p);
1933
+ return serialized.split("#")[0] + "#";
1935
1934
  }
1936
1935
  exports._getFullPath = _getFullPath;
1937
1936
  const TRAILING_SLASH_HASH = /#\/?$/;
@@ -1939,19 +1938,19 @@ function normalizeId(id) {
1939
1938
  return id ? id.replace(TRAILING_SLASH_HASH, "") : "";
1940
1939
  }
1941
1940
  exports.normalizeId = normalizeId;
1942
- function resolveUrl(baseId, id) {
1941
+ function resolveUrl(resolver, baseId, id) {
1943
1942
  id = normalizeId(id);
1944
- return URI.resolve(baseId, id);
1943
+ return resolver.resolve(baseId, id);
1945
1944
  }
1946
1945
  exports.resolveUrl = resolveUrl;
1947
1946
  const ANCHOR = /^[a-z_][-a-z0-9._]*$/i;
1948
1947
  function getSchemaRefs(schema, baseId) {
1949
1948
  if (typeof schema == "boolean")
1950
1949
  return {};
1951
- const { schemaId } = this.opts;
1950
+ const { schemaId, uriResolver } = this.opts;
1952
1951
  const schId = normalizeId(schema[schemaId] || baseId);
1953
1952
  const baseIds = { "": schId };
1954
- const pathPrefix = getFullPath(schId, false);
1953
+ const pathPrefix = getFullPath(uriResolver, schId, false);
1955
1954
  const localRefs = {};
1956
1955
  const schemaRefs = new Set();
1957
1956
  traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {
@@ -1965,7 +1964,9 @@ function getSchemaRefs(schema, baseId) {
1965
1964
  addAnchor.call(this, sch.$dynamicAnchor);
1966
1965
  baseIds[jsonPtr] = baseId;
1967
1966
  function addRef(ref) {
1968
- ref = normalizeId(baseId ? URI.resolve(baseId, ref) : ref);
1967
+ // eslint-disable-next-line @typescript-eslint/unbound-method
1968
+ const _resolve = this.opts.uriResolver.resolve;
1969
+ ref = normalizeId(baseId ? _resolve(baseId, ref) : ref);
1969
1970
  if (schemaRefs.has(ref))
1970
1971
  throw ambiguos(ref);
1971
1972
  schemaRefs.add(ref);
@@ -2729,7 +2730,7 @@ function checkNoDefault(it) {
2729
2730
  function updateContext(it) {
2730
2731
  const schId = it.schema[it.opts.schemaId];
2731
2732
  if (schId)
2732
- it.baseId = (0, resolve_1.resolveUrl)(it.baseId, schId);
2733
+ it.baseId = (0, resolve_1.resolveUrl)(it.opts.uriResolver, it.baseId, schId);
2733
2734
  }
2734
2735
  function checkAsyncSchema(it) {
2735
2736
  if (it.schema.$async && !it.schemaEnv.$async)
@@ -3351,6 +3352,7 @@ const resolve_1 = __webpack_require__(/*! ./compile/resolve */ "./node_modules/a
3351
3352
  const dataType_1 = __webpack_require__(/*! ./compile/validate/dataType */ "./node_modules/ajv/dist/compile/validate/dataType.js");
3352
3353
  const util_1 = __webpack_require__(/*! ./compile/util */ "./node_modules/ajv/dist/compile/util.js");
3353
3354
  const $dataRefSchema = __webpack_require__(/*! ./refs/data.json */ "./node_modules/ajv/dist/refs/data.json");
3355
+ const uri_1 = __webpack_require__(/*! ./runtime/uri */ "./node_modules/ajv/dist/runtime/uri.js");
3354
3356
  const defaultRegExp = (str, flags) => new RegExp(str, flags);
3355
3357
  defaultRegExp.code = "new RegExp";
3356
3358
  const META_IGNORE_OPTIONS = ["removeAdditional", "useDefaults", "coerceTypes"];
@@ -3394,29 +3396,31 @@ const deprecatedOptions = {
3394
3396
  const MAX_EXPRESSION = 200;
3395
3397
  // eslint-disable-next-line complexity
3396
3398
  function requiredOptions(o) {
3397
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
3399
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
3398
3400
  const s = o.strict;
3399
3401
  const _optz = (_a = o.code) === null || _a === void 0 ? void 0 : _a.optimize;
3400
3402
  const optimize = _optz === true || _optz === undefined ? 1 : _optz || 0;
3401
3403
  const regExp = (_c = (_b = o.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;
3404
+ const uriResolver = (_d = o.uriResolver) !== null && _d !== void 0 ? _d : uri_1.default;
3402
3405
  return {
3403
- strictSchema: (_e = (_d = o.strictSchema) !== null && _d !== void 0 ? _d : s) !== null && _e !== void 0 ? _e : true,
3404
- strictNumbers: (_g = (_f = o.strictNumbers) !== null && _f !== void 0 ? _f : s) !== null && _g !== void 0 ? _g : true,
3405
- strictTypes: (_j = (_h = o.strictTypes) !== null && _h !== void 0 ? _h : s) !== null && _j !== void 0 ? _j : "log",
3406
- strictTuples: (_l = (_k = o.strictTuples) !== null && _k !== void 0 ? _k : s) !== null && _l !== void 0 ? _l : "log",
3407
- strictRequired: (_o = (_m = o.strictRequired) !== null && _m !== void 0 ? _m : s) !== null && _o !== void 0 ? _o : false,
3406
+ strictSchema: (_f = (_e = o.strictSchema) !== null && _e !== void 0 ? _e : s) !== null && _f !== void 0 ? _f : true,
3407
+ strictNumbers: (_h = (_g = o.strictNumbers) !== null && _g !== void 0 ? _g : s) !== null && _h !== void 0 ? _h : true,
3408
+ strictTypes: (_k = (_j = o.strictTypes) !== null && _j !== void 0 ? _j : s) !== null && _k !== void 0 ? _k : "log",
3409
+ strictTuples: (_m = (_l = o.strictTuples) !== null && _l !== void 0 ? _l : s) !== null && _m !== void 0 ? _m : "log",
3410
+ strictRequired: (_p = (_o = o.strictRequired) !== null && _o !== void 0 ? _o : s) !== null && _p !== void 0 ? _p : false,
3408
3411
  code: o.code ? { ...o.code, optimize, regExp } : { optimize, regExp },
3409
- loopRequired: (_p = o.loopRequired) !== null && _p !== void 0 ? _p : MAX_EXPRESSION,
3410
- loopEnum: (_q = o.loopEnum) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
3411
- meta: (_r = o.meta) !== null && _r !== void 0 ? _r : true,
3412
- messages: (_s = o.messages) !== null && _s !== void 0 ? _s : true,
3413
- inlineRefs: (_t = o.inlineRefs) !== null && _t !== void 0 ? _t : true,
3414
- schemaId: (_u = o.schemaId) !== null && _u !== void 0 ? _u : "$id",
3415
- addUsedSchema: (_v = o.addUsedSchema) !== null && _v !== void 0 ? _v : true,
3416
- validateSchema: (_w = o.validateSchema) !== null && _w !== void 0 ? _w : true,
3417
- validateFormats: (_x = o.validateFormats) !== null && _x !== void 0 ? _x : true,
3418
- unicodeRegExp: (_y = o.unicodeRegExp) !== null && _y !== void 0 ? _y : true,
3419
- int32range: (_z = o.int32range) !== null && _z !== void 0 ? _z : true,
3412
+ loopRequired: (_q = o.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
3413
+ loopEnum: (_r = o.loopEnum) !== null && _r !== void 0 ? _r : MAX_EXPRESSION,
3414
+ meta: (_s = o.meta) !== null && _s !== void 0 ? _s : true,
3415
+ messages: (_t = o.messages) !== null && _t !== void 0 ? _t : true,
3416
+ inlineRefs: (_u = o.inlineRefs) !== null && _u !== void 0 ? _u : true,
3417
+ schemaId: (_v = o.schemaId) !== null && _v !== void 0 ? _v : "$id",
3418
+ addUsedSchema: (_w = o.addUsedSchema) !== null && _w !== void 0 ? _w : true,
3419
+ validateSchema: (_x = o.validateSchema) !== null && _x !== void 0 ? _x : true,
3420
+ validateFormats: (_y = o.validateFormats) !== null && _y !== void 0 ? _y : true,
3421
+ unicodeRegExp: (_z = o.unicodeRegExp) !== null && _z !== void 0 ? _z : true,
3422
+ int32range: (_0 = o.int32range) !== null && _0 !== void 0 ? _0 : true,
3423
+ uriResolver: uriResolver,
3420
3424
  };
3421
3425
  }
3422
3426
  class Ajv {
@@ -3998,6 +4002,22 @@ ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
3998
4002
 
3999
4003
  /***/ }),
4000
4004
 
4005
+ /***/ "./node_modules/ajv/dist/runtime/uri.js":
4006
+ /*!**********************************************!*\
4007
+ !*** ./node_modules/ajv/dist/runtime/uri.js ***!
4008
+ \**********************************************/
4009
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4010
+
4011
+ "use strict";
4012
+
4013
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
4014
+ const uri = __webpack_require__(/*! uri-js */ "./node_modules/uri-js/dist/es5/uri.all.js");
4015
+ uri.code = 'require("ajv/dist/runtime/uri").default';
4016
+ exports["default"] = uri;
4017
+ //# sourceMappingURL=uri.js.map
4018
+
4019
+ /***/ }),
4020
+
4001
4021
  /***/ "./node_modules/ajv/dist/runtime/validation_error.js":
4002
4022
  /*!***********************************************************!*\
4003
4023
  !*** ./node_modules/ajv/dist/runtime/validation_error.js ***!
@@ -5243,7 +5263,7 @@ const def = {
5243
5263
  return callRootRef();
5244
5264
  const schOrEnv = compile_1.resolveRef.call(self, root, baseId, $ref);
5245
5265
  if (schOrEnv === undefined)
5246
- throw new ref_error_1.default(baseId, $ref);
5266
+ throw new ref_error_1.default(it.opts.uriResolver, baseId, $ref);
5247
5267
  if (schOrEnv instanceof compile_1.SchemaEnv)
5248
5268
  return callValidate(schOrEnv);
5249
5269
  return inlineRefSchema(schOrEnv);
@@ -23493,7 +23513,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
23493
23513
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
23494
23514
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
23495
23515
  };
23496
- var _appMain_instances, _a, _appMain_dspSize, _appMain_screenRX, _appMain_screenRY, _appMain_hInfo, _appMain_winX, _appMain_winY, _appMain_stageW, _appMain_stageH, _appMain_tid, _appMain_onMove, _appMain_skipDelayWinPos, _appMain_isMovingWin, _appMain_window, _appMain_ins, _appMain_menu_height;
23516
+ var _appMain_instances, _a, _appMain_dspSize, _appMain_screenRX, _appMain_screenRY, _appMain_hInfo, _appMain_winX, _appMain_winY, _appMain_stageW, _appMain_stageH, _appMain_isWin, _appMain_tid, _appMain_onMove, _appMain_skipDelayWinPos, _appMain_isMovingWin, _appMain_window, _appMain_ins, _appMain_menu_height;
23497
23517
  Object.defineProperty(exports, "__esModule", ({ value: true }));
23498
23518
  exports.appMain = void 0;
23499
23519
  const electron_1 = __webpack_require__(/*! electron */ "electron");
@@ -23521,6 +23541,7 @@ class appMain {
23521
23541
  _appMain_winY.set(this, 0);
23522
23542
  _appMain_stageW.set(this, 0);
23523
23543
  _appMain_stageH.set(this, 0);
23544
+ _appMain_isWin.set(this, process.platform === 'win32');
23524
23545
  _appMain_tid.set(this, undefined);
23525
23546
  _appMain_skipDelayWinPos.set(this, false);
23526
23547
  _appMain_isMovingWin.set(this, false);
@@ -23552,25 +23573,30 @@ class appMain {
23552
23573
  electron_1.ipcMain.handle('Store_get', () => st.store);
23553
23574
  electron_1.ipcMain.handle('tarFs_pack', (_, path) => (0, tar_fs_1.pack)(path));
23554
23575
  electron_1.ipcMain.handle('tarFs_extract', (_, path) => (0, tar_fs_1.extract)(path));
23555
- electron_1.ipcMain.handle('isSimpleFullScreen', () => bw.isSimpleFullScreen());
23556
- electron_1.ipcMain.handle('setSimpleFullScreen', (_, b) => {
23557
- __classPrivateFieldSet(this, _appMain_isMovingWin, true, "f");
23558
- bw.setSimpleFullScreen(b);
23559
- if (!b) {
23560
- this.bw.setPosition(__classPrivateFieldGet(this, _appMain_winX, "f"), __classPrivateFieldGet(this, _appMain_winY, "f"));
23561
- this.bw.setContentSize(__classPrivateFieldGet(this, _appMain_stageW, "f"), __classPrivateFieldGet(this, _appMain_stageH, "f") + __classPrivateFieldGet(appMain, _a, "f", _appMain_menu_height));
23562
- }
23563
- __classPrivateFieldSet(this, _appMain_isMovingWin, false, "f");
23564
- });
23565
- if (process.platform === 'win32') {
23576
+ electron_1.ipcMain.handle('isSimpleFullScreen', () => bw.simpleFullScreen);
23577
+ if (__classPrivateFieldGet(this, _appMain_isWin, "f")) {
23578
+ electron_1.ipcMain.handle('setSimpleFullScreen', (_, b) => {
23579
+ __classPrivateFieldSet(this, _appMain_isMovingWin, true, "f");
23580
+ bw.setSimpleFullScreen(b);
23581
+ if (!b) {
23582
+ bw.setPosition(__classPrivateFieldGet(this, _appMain_winX, "f"), __classPrivateFieldGet(this, _appMain_winY, "f"));
23583
+ bw.setContentSize(__classPrivateFieldGet(this, _appMain_stageW, "f"), __classPrivateFieldGet(this, _appMain_stageH, "f") + __classPrivateFieldGet(appMain, _a, "f", _appMain_menu_height));
23584
+ }
23585
+ __classPrivateFieldSet(this, _appMain_isMovingWin, false, "f");
23586
+ });
23566
23587
  bw.on('enter-full-screen', () => {
23567
23588
  bw.setContentSize(__classPrivateFieldGet(this, _appMain_screenRX, "f"), __classPrivateFieldGet(this, _appMain_screenRY, "f") - __classPrivateFieldGet(appMain, _a, "f", _appMain_menu_height));
23568
23589
  });
23569
23590
  bw.on('leave-full-screen', () => {
23570
- this.bw.setPosition(__classPrivateFieldGet(this, _appMain_winX, "f"), __classPrivateFieldGet(this, _appMain_winY, "f"));
23571
- this.bw.setContentSize(__classPrivateFieldGet(this, _appMain_stageW, "f"), __classPrivateFieldGet(this, _appMain_stageH, "f") + __classPrivateFieldGet(appMain, _a, "f", _appMain_menu_height));
23591
+ __classPrivateFieldGet(this, _appMain_instances, "m", _appMain_window).call(this, false, __classPrivateFieldGet(this, _appMain_winX, "f"), __classPrivateFieldGet(this, _appMain_winY, "f"), __classPrivateFieldGet(this, _appMain_stageW, "f"), __classPrivateFieldGet(this, _appMain_stageH, "f") + __classPrivateFieldGet(appMain, _a, "f", _appMain_menu_height));
23572
23592
  });
23573
23593
  }
23594
+ else
23595
+ electron_1.ipcMain.handle('setSimpleFullScreen', (_, b) => {
23596
+ bw.setSimpleFullScreen(b);
23597
+ if (!b)
23598
+ bw.setContentSize(__classPrivateFieldGet(this, _appMain_stageW, "f"), __classPrivateFieldGet(this, _appMain_stageH, "f") + __classPrivateFieldGet(appMain, _a, "f", _appMain_menu_height));
23599
+ });
23574
23600
  electron_1.ipcMain.handle('window', (_, centering, x, y, w, h) => __classPrivateFieldGet(this, _appMain_instances, "m", _appMain_window).call(this, centering, x, y, w, h));
23575
23601
  bw.on('move', () => __classPrivateFieldGet(this, _appMain_instances, "m", _appMain_onMove).call(this));
23576
23602
  }
@@ -23583,6 +23609,8 @@ class appMain {
23583
23609
  process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true';
23584
23610
  bw = new electron_1.BrowserWindow({
23585
23611
  ...o,
23612
+ fullscreenable: true,
23613
+ maximizable: false,
23586
23614
  webPreferences: {
23587
23615
  nativeWindowOpen: true,
23588
23616
  enableRemoteModule: false,
@@ -23609,7 +23637,7 @@ class appMain {
23609
23637
  }
23610
23638
  }
23611
23639
  exports.appMain = appMain;
23612
- _a = appMain, _appMain_dspSize = new WeakMap(), _appMain_screenRX = new WeakMap(), _appMain_screenRY = new WeakMap(), _appMain_hInfo = new WeakMap(), _appMain_winX = new WeakMap(), _appMain_winY = new WeakMap(), _appMain_stageW = new WeakMap(), _appMain_stageH = new WeakMap(), _appMain_tid = new WeakMap(), _appMain_skipDelayWinPos = new WeakMap(), _appMain_isMovingWin = new WeakMap(), _appMain_instances = new WeakSet(), _appMain_onMove = function _appMain_onMove() {
23640
+ _a = appMain, _appMain_dspSize = new WeakMap(), _appMain_screenRX = new WeakMap(), _appMain_screenRY = new WeakMap(), _appMain_hInfo = new WeakMap(), _appMain_winX = new WeakMap(), _appMain_winY = new WeakMap(), _appMain_stageW = new WeakMap(), _appMain_stageH = new WeakMap(), _appMain_isWin = new WeakMap(), _appMain_tid = new WeakMap(), _appMain_skipDelayWinPos = new WeakMap(), _appMain_isMovingWin = new WeakMap(), _appMain_instances = new WeakSet(), _appMain_onMove = function _appMain_onMove() {
23613
23641
  if (__classPrivateFieldGet(this, _appMain_tid, "f"))
23614
23642
  return;
23615
23643
  if (__classPrivateFieldGet(this, _appMain_isMovingWin, "f"))
@@ -23634,7 +23662,7 @@ _a = appMain, _appMain_dspSize = new WeakMap(), _appMain_screenRX = new WeakMap(
23634
23662
  if (__classPrivateFieldGet(this, _appMain_isMovingWin, "f"))
23635
23663
  return;
23636
23664
  __classPrivateFieldSet(this, _appMain_isMovingWin, true, "f");
23637
- if (this.bw.isSimpleFullScreen())
23665
+ if (this.bw.simpleFullScreen)
23638
23666
  return;
23639
23667
  if (centering) {
23640
23668
  [x, y] = this.bw.getPosition();
@@ -1 +1 @@
1
- {"version":3,"file":"appMain.d.ts","sourceRoot":"","sources":["../src/appMain.ts"],"names":[],"mappings":"AAOA,OAAO,EAAc,aAAa,EAAyB,MAAM,UAAU,CAAC;AAO5E,qBAAa,OAAO;;IAmBC,OAAO,CAAC,QAAQ,CAAC,EAAE;IAAvC,OAAO;IAuHP,YAAY;IAIZ,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,aAAa;CA+ChF"}
1
+ {"version":3,"file":"appMain.d.ts","sourceRoot":"","sources":["../src/appMain.ts"],"names":[],"mappings":"AAOA,OAAO,EAAc,aAAa,EAAyB,MAAM,UAAU,CAAC;AAO5E,qBAAa,OAAO;;IAoBC,OAAO,CAAC,QAAQ,CAAC,EAAE;IAAvC,OAAO;IA0HP,YAAY;IAIZ,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,aAAa;CAgDhF"}
@@ -1 +1,105 @@
1
- (()=>{"use strict";var e={213:(e,c,t)=>{c.v=void 0;const{contextBridge:n,ipcRenderer:o}=t(298),i=console.error;c.v={getInfo:()=>o.invoke("getInfo").catch(i),existsSync:e=>o.invoke("existsSync",e).catch(i),copySync:(e,c)=>o.invoke("copySync",e,c).catch(i),removeSync:e=>o.invoke("removeSync",e).catch(i),ensureDirSync:e=>o.invoke("ensureDirSync",e).catch(i),ensureFileSync:e=>o.invoke("ensureFileSync",e).catch(i),createWriteStream:e=>o.invoke("createWriteStream",e).catch(i),createReadStream:e=>o.invoke("createReadStream",e).catch(i),readFileSync:e=>o.invoke("readFileSync",e).catch(i),readFile:(e,c)=>o.invoke("readFile",e,c).catch(i),writeFileSync:(e,c,t)=>o.invoke("writeFileSync",e,c,t).catch(i),appendFile:(e,c,t)=>o.invoke("appendFile",e,c,t).catch(i),win_close:()=>o.invoke("win_close").catch(i),win_setTitle:e=>o.invoke("win_setTitle",e).catch(i),showMessageBox:e=>o.invoke("showMessageBox",e).catch(i),capturePage:e=>o.invoke("capturePage",e).catch(i),navigate_to:e=>o.invoke("navigate_to",e).catch(i),openDevTools:()=>o.invoke("openDevTools").catch(i),win_ev_devtools_opened:e=>o.invoke("win_ev_devtools_opened",e).catch(i),Store:e=>o.invoke("Store",e).catch(i),flush:e=>o.invoke("flush",e).catch(i),Store_isEmpty:()=>o.invoke("Store_isEmpty").catch(i),Store_get:()=>o.invoke("Store_get").catch(i),tarFs_pack:e=>o.invoke("tarFs_pack",e).catch(i),tarFs_extract:e=>o.invoke("tarFs_extract",e).catch(i),isSimpleFullScreen:()=>o.invoke("isSimpleFullScreen").catch(i),setSimpleFullScreen:e=>o.invoke("setSimpleFullScreen",e).catch(i),window:(e,c,t,n,a)=>o.invoke("window",e,c,t,n,a).catch(i),on:(e,c)=>{switch(e){case"save_win_pos":o.on(e,((e,t,n)=>c(e,t,n)));break;case"fire":o.on(e,((e,t)=>c(e,t)))}}},n.exposeInMainWorld("to_app",c.v)},298:e=>{e.exports=require("electron")}},c={};!function t(n){var o=c[n];if(void 0!==o)return o.exports;var i=c[n]={exports:{}};return e[n](i,i.exports,t),i.exports}(213)})();
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ var __webpack_modules__ = ({
4
+
5
+ /***/ "./core/src/preload.ts":
6
+ /*!*****************************!*\
7
+ !*** ./core/src/preload.ts ***!
8
+ \*****************************/
9
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
10
+
11
+
12
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
13
+ exports.hProc = void 0;
14
+ const { contextBridge, ipcRenderer } = __webpack_require__(/*! electron */ "electron");
15
+ const fncE = console.error;
16
+ exports.hProc = {
17
+ getInfo: () => ipcRenderer.invoke('getInfo').catch(fncE),
18
+ existsSync: path => ipcRenderer.invoke('existsSync', path).catch(fncE),
19
+ copySync: (path_from, path_to) => ipcRenderer.invoke('copySync', path_from, path_to).catch(fncE),
20
+ removeSync: path => ipcRenderer.invoke('removeSync', path).catch(fncE),
21
+ ensureDirSync: path => ipcRenderer.invoke('ensureDirSync', path).catch(fncE),
22
+ ensureFileSync: path => ipcRenderer.invoke('ensureFileSync', path).catch(fncE),
23
+ createWriteStream: path => ipcRenderer.invoke('createWriteStream', path).catch(fncE),
24
+ createReadStream: path => ipcRenderer.invoke('createReadStream', path).catch(fncE),
25
+ readFileSync: path => ipcRenderer.invoke('readFileSync', path).catch(fncE),
26
+ readFile: (path, callback) => ipcRenderer.invoke('readFile', path, callback).catch(fncE),
27
+ writeFileSync: (path, data, o) => ipcRenderer.invoke('writeFileSync', path, data, o).catch(fncE),
28
+ appendFile: (path, data, callback) => ipcRenderer.invoke('appendFile', path, data, callback).catch(fncE),
29
+ win_close: () => ipcRenderer.invoke('win_close').catch(fncE),
30
+ win_setTitle: title => ipcRenderer.invoke('win_setTitle', title).catch(fncE),
31
+ showMessageBox: o => ipcRenderer.invoke('showMessageBox', o).catch(fncE),
32
+ capturePage: fn => ipcRenderer.invoke('capturePage', fn).catch(fncE),
33
+ navigate_to: url => ipcRenderer.invoke('navigate_to', url).catch(fncE),
34
+ openDevTools: () => ipcRenderer.invoke('openDevTools').catch(fncE),
35
+ win_ev_devtools_opened: fnc => ipcRenderer.invoke('win_ev_devtools_opened', fnc).catch(fncE),
36
+ Store: o => ipcRenderer.invoke('Store', o).catch(fncE),
37
+ flush: o => ipcRenderer.invoke('flush', o).catch(fncE),
38
+ Store_isEmpty: () => ipcRenderer.invoke('Store_isEmpty').catch(fncE),
39
+ Store_get: () => ipcRenderer.invoke('Store_get').catch(fncE),
40
+ tarFs_pack: path => ipcRenderer.invoke('tarFs_pack', path).catch(fncE),
41
+ tarFs_extract: path => ipcRenderer.invoke('tarFs_extract', path).catch(fncE),
42
+ isSimpleFullScreen: () => ipcRenderer.invoke('isSimpleFullScreen').catch(fncE),
43
+ setSimpleFullScreen: (b) => ipcRenderer.invoke('setSimpleFullScreen', b).catch(fncE),
44
+ window: (centering, x, y, w, h) => ipcRenderer.invoke('window', centering, x, y, w, h).catch(fncE),
45
+ on: (ch, cb) => {
46
+ switch (ch) {
47
+ case 'save_win_pos':
48
+ ipcRenderer.on(ch, (e, x, y) => cb(e, x, y));
49
+ break;
50
+ case 'fire':
51
+ ipcRenderer.on(ch, (e, KEY) => cb(e, KEY));
52
+ break;
53
+ }
54
+ },
55
+ };
56
+ contextBridge.exposeInMainWorld('to_app', exports.hProc);
57
+
58
+
59
+ /***/ }),
60
+
61
+ /***/ "electron":
62
+ /*!***************************!*\
63
+ !*** external "electron" ***!
64
+ \***************************/
65
+ /***/ ((module) => {
66
+
67
+ module.exports = require("electron");
68
+
69
+ /***/ })
70
+
71
+ /******/ });
72
+ /************************************************************************/
73
+ /******/ // The module cache
74
+ /******/ var __webpack_module_cache__ = {};
75
+ /******/
76
+ /******/ // The require function
77
+ /******/ function __webpack_require__(moduleId) {
78
+ /******/ // Check if module is in cache
79
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
80
+ /******/ if (cachedModule !== undefined) {
81
+ /******/ return cachedModule.exports;
82
+ /******/ }
83
+ /******/ // Create a new module (and put it into the cache)
84
+ /******/ var module = __webpack_module_cache__[moduleId] = {
85
+ /******/ // no module.id needed
86
+ /******/ // no module.loaded needed
87
+ /******/ exports: {}
88
+ /******/ };
89
+ /******/
90
+ /******/ // Execute the module function
91
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
92
+ /******/
93
+ /******/ // Return the exports of the module
94
+ /******/ return module.exports;
95
+ /******/ }
96
+ /******/
97
+ /************************************************************************/
98
+ /******/
99
+ /******/ // startup
100
+ /******/ // Load entry module and return exports
101
+ /******/ // This entry module is referenced by other modules so it can't be inlined
102
+ /******/ var __webpack_exports__ = __webpack_require__("./core/src/preload.ts");
103
+ /******/
104
+ /******/ })()
105
+ ;
@@ -8,7 +8,7 @@ export declare class Config implements IConfig {
8
8
  hPathFn2Exts: #IFn2Path;
9
9
  static readonly EXT_SPRITE = "png|jpg|jpeg|json|svg|webp|mp4|webm";
10
10
  static readonly EXT_SCRIPT = "sn|ssn";
11
- static readonly EXT_FONT = "woff2|otf|ttf";
11
+ static readonly EXT_FONT = "woff2|woff|otf|ttf";
12
12
  static readonly EXT_SOUND = "mp3|m4a|ogg|aac|flac|wav";
13
13
  static readonly EXT_HTML = "htm|html";
14
14
  constructor(sys: SysBase);
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/sn/Config.ts"],"names":[],"mappings":"AAQA,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,IAAI,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,qBAAa,MAAO,YAAW,OAAO;;IAiDzB,QAAQ,CAAC,GAAG,EAAE,OAAO;IAhDjC,IAAI,EAAE,GAAG,CAqCP;IACF,UAAU,SAAM;IAEhB,YAAY,EAAG,SAAS,CAAM;IAC9B,MAAM,CAAC,QAAQ,CAAC,UAAU,yCAAyC;IAEnE,MAAM,CAAC,QAAQ,CAAC,UAAU,YAAY;IACtC,MAAM,CAAC,QAAQ,CAAC,QAAQ,mBAAmB;IAC3C,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C,MAAM,EAAE,WAAW;gBAAnT,GAAG,EAAE,MAAM,EAAmB,IAAI,EAAE,KAAK,EAAmB,OAAO,EAAE,WAAW,EAAmB,GAAG,EAAE,SAAS,EAAmB,IAAI,EAAE,KAAK,EAAmB,MAAM,EAAE,cAAc,EAAmB,GAAG,EAAE,OAAO,EAAW,MAAM,EAAE,QAAQ,EAAW,SAAS,EAAE,aAAa,EAAW,MAAM,EAAE,WAAW;IAwJhV,OAAO,CAAC,eAAe;IAoCvB,cAAc,OAAQ,MAAM,aAAoC;IAGhE,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,SAAM;IAgBtC,SAAS,CAAC,MAAM,EAAE,OAAO;IAMzB,cAAc;IACd,OAAO;IAaP,SAAS;IAgBT,KAAK,aAAW;IAChB,SAAS,aAAW;IACpB,SAAS,aAAW;IACpB,UAAU;IAOV,WAAW;IAulBX,MAAM,KAAK,UAAU,WAAiC;IACtD,MAAM,KAAK,UAAU,CAAC,CAAC,QAAA,EAA6B;IAkCpD,eAAe,IAAI,IAAI;IAwBvB,IAAI,wBAAwB,IAAI,QAAQ,CAGvC;IACD,IAAI,iBAAiB,IAAI,QAAQ,GAAG,SAAS,CAI5C;IAeD,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,UAAQ;IA6JtC,MAAM,IAAI,GAAG;IAYb,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAK,IAAI,GAAG,IAAI;CAmCnD"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { SysNode } from './SysNode';
3
2
  import { ITag, IHTag, IVariable, IData4Vari, IMain, HPlugin, HSysBaseArg } from './CmnInterface';
4
3
  import { Application } from 'pixi.js';
@@ -19,6 +18,7 @@ export declare class SysApp extends SysNode {
19
18
  initVal(data: IData4Vari, hTmp: any, comp: (data: IData4Vari) => void): void;
20
19
  protected run(): Promise<void>;
21
20
  init(hTag: IHTag, appPixi: Application, val: IVariable, main: IMain): Promise<void>[];
21
+ cvsResize(): void;
22
22
  copyBMFolder: (from: number, to: number) => Promise<void>;
23
23
  eraseBMFolder: (place: number) => Promise<void>;
24
24
  protected readonly close: () => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SysApp.d.ts","sourceRoot":"","sources":["../../src/sn/SysApp.ts"],"names":[],"mappings":";AAOA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAGlC,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAI/F,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAOpC,qBAAa,MAAO,SAAQ,OAAO;;gBACtB,IAAI,KAAK,EAAE,GAAG;;;;KAAwC;cAKzC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,WAAW;IA2B/D,UAAmB,YAAY,oCAAuB;IACtD,UAAmB,aAAa,iGAAwB;IAC/C,UAAU,gFAAsB;IAChC,cAAc,kCAAyB;IAEhD,UAAoB,cAAc,SAAO;IACzC,UAAmB,eAAe,SAAM;IAE/B,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,UAAU,KAAI,IAAI;cA6DpD,GAAG;IAWnB,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,EAAE;IAgBrF,YAAY,SAAgB,MAAM,MAAM,MAAM,mBAMrD;IACO,aAAa,UAAiB,MAAM,mBAE3C;IAGF,mBAA4B,KAAK,gBAA2C;IAG5E,mBAA4B,OAAO,gBAclC;IAGD,mBAA4B,OAAO,gBAwClC;IAGD,mBAA4B,WAAW,EAAE,IAAI,CAO5C;cAEkB,QAAQ,CAAC,KAAK,EA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AAE,IAAI,CAO5C;cAEkB,QAAQ,CAAC,KAAK,EAAE,MAAM;IAGzC,mBAA4B,YAAY,sBAGtC;IAGF,mBAA4B,YAAY,EAAE,IAAI,CAqG7C;IAoBD,mBAA4B,MAAM,EAAE,IAAI,CASvC;IAED,SAAkB,cAAc,OAAQ,MAAM,aAG7C;CAED"}
@@ -36,7 +36,7 @@ export declare class SysBase implements ISysBase {
36
36
  get ofsPadLeft_Dom2PIXI(): number;
37
37
  get ofsPadTop_Dom2PIXI(): number;
38
38
  protected isFullScr: boolean;
39
- cvsResize(): boolean;
39
+ cvsResize(): void;
40
40
  attach_debug(main: IMain): void;
41
41
  protected extPort: number;
42
42
  end(): void;
@@ -60,7 +60,7 @@ export declare class SysBase implements ISysBase {
60
60
  protected readonly window: ITag;
61
61
  setTitleInfo(txt: string): void;
62
62
  decStr(ext: string, d: string): string;
63
- dec(ext: string, d: ArrayBuffer): Promise<string | ArrayBuffer | HTMLImageElement | HTMLVideoElement>;
63
+ dec(ext: string, d: ArrayBuffer): Promise<string | HTMLImageElement | HTMLVideoElement | ArrayBuffer>;
64
64
  protected enc: (d: string) => string;
65
65
  protected stk: () => string;
66
66
  hash: (_data: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"SysBase.d.ts","sourceRoot":"","sources":["../../src/sn/SysBase.ts"],"names":[],"mappings":";AAOA,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAiB,MAAM,gBAAgB,CAAC;AAG5K,OAAO,EAAC,WAAW,EAA+B,MAAM,SAAS,CAAC;AAGlE,qBAAa,OAAQ,YAAW,QAAQ;;IAG3B,QAAQ,CAAC,IAAI,EAAE,OAAO;IAAO,SAAS,CAAC,GAAG,EAAE,WAAW;IAFnE,WAAW,EAAE;QAAC,CAAC,IAAI,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AAS,CAAC,QAAQ,CAAC,OAAO,EAAK,IAAI,CAAc;IACjD,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAI,IAAI,CAAc;IACpD,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAK,IAAI,CAQ/B;IAED,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM;IAmB/B,SAAS,CAAC,YAAY;IAEvB,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAG,IAAI,CAAc;IACpD,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAK,IAAI,CAAc;IAGhD,YAAY,CAAC,GAAG,EAAE,MAAM;IAQxB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IACvB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,WAAW;IAwCrC,SAAS,CAAC,GAAG,MAAO,MAAM,YAAM;IAChC,SAAS,CAAC,GAAG,eAAW;IACxB,IAAI,UAAW,MAAM,YAAO;IAE5B,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAS;IAC1C,SAAS,CAAC,eAAe,SAAM;IAC/B,IAAI,cAAc,WAAgC;IAClD,SAAS,CAAC,cAAc,SAAM;IAC9B,IAAI,aAAa,WAA+B;IAEhD,QAAQ,CAAC,cAAc,QAAS,MAAM,aAAU;IAC1C,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IACtC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,KAAI,IAAI;IACvF,cAAc,CAAC,KAAK,EAAE,MAAM;CAElC"}
@@ -17,6 +17,7 @@ export declare class SysWeb extends SysBase {
17
17
  loadPath(hPathFn2Exts: IFn2Path, cfg: IConfig): Promise<void>;
18
18
  initVal(data: IData4Vari, hTmp: any, comp: (data: IData4Vari) => void): void;
19
19
  init(hTag: IHTag, appPixi: Application, val: IVariable, main: IMain): Promise<void>[];
20
+ cvsResize(): void;
20
21
  pathBaseCnvSnPath4Dbg: string;
21
22
  protected readonly _export: ITag;
22
23
  protected readonly _import: ITag;
@@ -1 +1 @@
1
- {"version":3,"file":"SysWeb.d.ts","sourceRoot":"","sources":["../../src/sn/SysWeb.ts"],"names":[],"mappings":";AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAIlH,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,iBAAiB,CAAC;AAEzB,qBAAa,MAAO,SAAQ,OAAO;;gBAEtB,IAAI,KAAK,EAAE,GAAG;;;;KAAwC;cAQzC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,WAAW;IA6B/D,KAAK,CAAC,GAAG,EAAE,MAAM;IAOjB,UAAmB,GAAG,sBAQrB;IACD,IAAI;IAQW,QAAQ,CAAC,YAAY,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO;IAenD,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,UAAU,KAAI,IAAI;IAoDpE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,EAAE;IA6BrF,qBAAqB,SAAkB;IAGhD,mBAA4B,OAAO,EAAE,IAAI,CAqBxC;IAGD,mBAA4B,OAAO,EAAE,IAAI,CAiCxC;IAID,mBAA4B,WAAW,EAAE,IAAI,CAQ5C;cAEkB,QAAQ,CAAC,GAAG,EAAE,MAAM;IAMxB,OAAO,CAAC,E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EkB,QAAQ,CAAC,GAAG,EAAE,MAAM;IAMxB,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IASpC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,KAAI,IAAI;CAWjG"}
@@ -11,6 +11,7 @@ export declare class TxtLayer extends Layer {
11
11
  static setEvtMng(main: IMain, evtMng: IEvtMng, sys: SysBase): void;
12
12
  constructor();
13
13
  destroy(): void;
14
+ static destroy(): void;
14
15
  set name(nm: string);
15
16
  get name(): string;
16
17
  cvsResize(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"TxtLayer.d.ts","sourceRoot":"","sources":["../../src/sn/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;IA0HtJ,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,K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EAAE,OAAO,KAAI,IAAI;IAGzC,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,WAAW;IACrC,OAAO,IAAI,MAAM;IACjB,KAAK,CAAC,EAAE,EAAE,MAAM;IAChB,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK;IAClC,QAAQ,CAAC,OAAO,UAAW,MAAM,WAA2B;IAC5D,SAAS,IAAI,QAAQ;IACrB,SAAS,CAAC,IAAI,EAAE,KAAK;IAOrB,WAAW,CAAC,EAAE,EAAE,MAAM;IAGtB,aAAa,OAAQ,MAAM,KAAG,KAAK,CAAyB;IAC5D,UAAU;IA8PV,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,UAAQ;IA6BlE,QAAQ,CAAC,MAAM,aAAc,MAAM,4CAmDlC;IAoCD,QAAQ;IAgDR,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO;CA0CpC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@famibee/skynovel",
3
- "version": "1.28.0",
3
+ "version": "1.28.4",
4
4
  "description": "webgl novelgame framework",
5
5
  "main": "core/web.js",
6
6
  "types": "core/lib/index.d.ts",
@@ -29,24 +29,24 @@
29
29
  "@types/electron-json-storage": "^4.5.0",
30
30
  "@types/fs-extra": "^9.0.13",
31
31
  "@types/mocha": "^9.1.0",
32
- "@types/node": "^17.0.13",
32
+ "@types/node": "^17.0.17",
33
33
  "@types/parsimmon": "^1.10.6",
34
34
  "@types/platform": "^1.3.4",
35
35
  "@types/power-assert": "^1.5.8",
36
36
  "@types/store": "^2.0.2",
37
37
  "@types/tar-fs": "^2.0.1",
38
38
  "@types/xml2js": "^0.4.9",
39
- "electron": "^16.0.8",
39
+ "electron": "^17.0.0",
40
40
  "mocha": "^9.2.0",
41
41
  "power-assert": "^1.6.1",
42
42
  "rimraf": "^3.0.2",
43
43
  "semantic-release": "^19.0.2",
44
44
  "ts-loader": "^9.2.6",
45
- "ts-node": "^10.4.0",
45
+ "ts-node": "^10.5.0",
46
46
  "typescript": "^4.5.5",
47
- "webpack": "^5.67.0",
47
+ "webpack": "^5.68.0",
48
48
  "webpack-cli": "^4.9.2",
49
- "webpack-dev-server": "^4.7.3"
49
+ "webpack-dev-server": "^4.7.4"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "npm run wp && npm run test",
package/web.js CHANGED
@@ -67882,7 +67882,7 @@ exports.Config = Config;
67882
67882
  _Config_existsBreakline = new WeakMap(), _Config_existsBreakpage = new WeakMap(), _Config_REGPATH = new WeakMap();
67883
67883
  Config.EXT_SPRITE = 'png|jpg|jpeg|json|svg|webp|mp4|webm';
67884
67884
  Config.EXT_SCRIPT = 'sn|ssn';
67885
- Config.EXT_FONT = 'woff2|otf|ttf';
67885
+ Config.EXT_FONT = 'woff2|woff|otf|ttf';
67886
67886
  Config.EXT_SOUND = 'mp3|m4a|ogg|aac|flac|wav';
67887
67887
  Config.EXT_HTML = 'htm|html';
67888
67888
 
@@ -71094,8 +71094,7 @@ void main(void) {
71094
71094
  _LayerMng_oLastPage.set(this, { text: '' });
71095
71095
  _LayerMng_aTxtLog.set(this, []);
71096
71096
  const fncResizeLay = () => {
71097
- if (!sys.cvsResize())
71098
- return;
71097
+ sys.cvsResize();
71099
71098
  this.cvsResizeDesign();
71100
71099
  if (__classPrivateFieldGet(this, _LayerMng_modeLnSub, "f"))
71101
71100
  __classPrivateFieldGet(this, _LayerMng_aLayName, "f").forEach(layer => __classPrivateFieldGet(this, _LayerMng_hPages, "f")[layer].fore.cvsResizeChildren());
@@ -71223,6 +71222,7 @@ void main(void) {
71223
71222
  GrpLayer_1.GrpLayer.destroy();
71224
71223
  RubySpliter_1.RubySpliter.destroy();
71225
71224
  TxtStage_1.TxtStage.destroy();
71225
+ TxtLayer_1.TxtLayer.destroy();
71226
71226
  __classPrivateFieldGet(this, _LayerMng_frmMng, "f").destroy();
71227
71227
  this.stopAllTw();
71228
71228
  this.appPixi.ticker.remove(__classPrivateFieldGet(this, _LayerMng_fncTicker, "f"));
@@ -74536,17 +74536,23 @@ class SysBase {
74536
74536
  get ofsPadTop_Dom2PIXI() { return __classPrivateFieldGet(this, _SysBase_ofsPadTop_Dom2PIXI, "f"); }
74537
74537
  ;
74538
74538
  cvsResize() {
74539
- const bk_cw = __classPrivateFieldGet(this, _SysBase_cvsWidth, "f");
74540
- const bk_ch = __classPrivateFieldGet(this, _SysBase_cvsHeight, "f");
74541
74539
  let w = globalThis.innerWidth;
74542
74540
  let h = globalThis.innerHeight;
74543
- const { angle = 0 } = screen.orientation;
74544
- const lp = angle % 180 === 0 ? 'p' : 'l';
74545
- if (CmnLib_1.CmnLib.isMobile && ((lp === 'p' && w > h) || (lp === 'l' && w < h)))
74546
- [w, h] = [h, w];
74547
74541
  const cvs = this.appPixi.view;
74542
+ const isGallery = cvs.parentElement !== document.body;
74543
+ if (isGallery) {
74544
+ const st = globalThis.getComputedStyle(cvs);
74545
+ w = parseFloat(st.width);
74546
+ h = parseFloat(st.height);
74547
+ }
74548
+ if (CmnLib_1.CmnLib.isMobile) {
74549
+ const angle = screen.orientation?.angle ?? 0;
74550
+ const isP = angle % 180 === 0;
74551
+ if (isP && w > h || !isP && w < h)
74552
+ [w, h] = [h, w];
74553
+ }
74548
74554
  const cr = cvs.getBoundingClientRect();
74549
- if ((0, CmnLib_1.argChk_Boolean)(CmnLib_1.CmnLib.hDip, 'expanding', true)
74555
+ if ((0, CmnLib_1.argChk_Boolean)(CmnLib_1.CmnLib.hDip, 'expanding', true) || isGallery
74550
74556
  || CmnLib_1.CmnLib.stageW > w
74551
74557
  || CmnLib_1.CmnLib.stageH > h) {
74552
74558
  if (CmnLib_1.CmnLib.stageW / CmnLib_1.CmnLib.stageH <= w / h) {
@@ -74558,12 +74564,21 @@ class SysBase {
74558
74564
  __classPrivateFieldSet(this, _SysBase_cvsHeight, CmnLib_1.CmnLib.stageH / CmnLib_1.CmnLib.stageW * w, "f");
74559
74565
  }
74560
74566
  __classPrivateFieldSet(this, _SysBase_cvsScale, __classPrivateFieldGet(this, _SysBase_cvsWidth, "f") / CmnLib_1.CmnLib.stageW, "f");
74561
- __classPrivateFieldSet(this, _SysBase_ofsPadLeft_Dom2PIXI, (CmnLib_1.CmnLib.isMobile
74562
- ? (globalThis.innerWidth - __classPrivateFieldGet(this, _SysBase_cvsWidth, "f")) / 2
74563
- : cr.left) * (1 - __classPrivateFieldGet(this, _SysBase_cvsScale, "f")), "f");
74564
- __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, (CmnLib_1.CmnLib.isMobile
74565
- ? (globalThis.innerHeight - __classPrivateFieldGet(this, _SysBase_cvsHeight, "f")) / 2
74566
- : cr.top) * (1 - __classPrivateFieldGet(this, _SysBase_cvsScale, "f")), "f");
74567
+ if (isGallery) {
74568
+ __classPrivateFieldSet(this, _SysBase_ofsPadLeft_Dom2PIXI, 0, "f");
74569
+ __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, 0, "f");
74570
+ }
74571
+ else {
74572
+ const sc = 1 - __classPrivateFieldGet(this, _SysBase_cvsScale, "f");
74573
+ if (CmnLib_1.CmnLib.isMobile) {
74574
+ __classPrivateFieldSet(this, _SysBase_ofsPadLeft_Dom2PIXI, (w - __classPrivateFieldGet(this, _SysBase_cvsWidth, "f")) / 2 * sc, "f");
74575
+ __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, (h - __classPrivateFieldGet(this, _SysBase_cvsHeight, "f")) / 2 * sc, "f");
74576
+ }
74577
+ else {
74578
+ __classPrivateFieldSet(this, _SysBase_ofsPadLeft_Dom2PIXI, cr.left * sc, "f");
74579
+ __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, cr.top * sc, "f");
74580
+ }
74581
+ }
74567
74582
  }
74568
74583
  else {
74569
74584
  __classPrivateFieldSet(this, _SysBase_cvsWidth, CmnLib_1.CmnLib.stageW, "f");
@@ -74573,26 +74588,20 @@ class SysBase {
74573
74588
  __classPrivateFieldSet(this, _SysBase_ofsPadTop_Dom2PIXI, 0, "f");
74574
74589
  }
74575
74590
  const ps = cvs.parentElement.style;
74576
- if (cvs.parentElement === document.body) {
74591
+ if (!isGallery) {
74577
74592
  ps.position = 'relative';
74578
74593
  ps.width = `${__classPrivateFieldGet(this, _SysBase_cvsWidth, "f")}px`;
74579
74594
  ps.height = `${__classPrivateFieldGet(this, _SysBase_cvsHeight, "f")}px`;
74580
74595
  }
74581
74596
  const s = cvs.style;
74582
- if (!this.isApp && this.isFullScr) {
74583
- s.width = s.height = '';
74584
- }
74585
- else {
74586
- s.width = ps.width;
74587
- s.height = ps.height;
74588
- }
74597
+ s.width = ps.width;
74598
+ s.height = ps.height;
74589
74599
  __classPrivateFieldSet(this, _SysBase_ofsLeft4elm, cr.left, "f");
74590
74600
  __classPrivateFieldSet(this, _SysBase_ofsTop4elm, cr.top, "f");
74591
74601
  if (this.isFullScr) {
74592
74602
  __classPrivateFieldSet(this, _SysBase_ofsLeft4elm, __classPrivateFieldGet(this, _SysBase_ofsLeft4elm, "f") + (w - __classPrivateFieldGet(this, _SysBase_cvsWidth, "f")) / 2, "f");
74593
74603
  __classPrivateFieldSet(this, _SysBase_ofsTop4elm, __classPrivateFieldGet(this, _SysBase_ofsTop4elm, "f") + (h - __classPrivateFieldGet(this, _SysBase_cvsHeight, "f")) / 2, "f");
74594
74604
  }
74595
- return bk_cw !== __classPrivateFieldGet(this, _SysBase_cvsWidth, "f") || bk_ch !== __classPrivateFieldGet(this, _SysBase_cvsHeight, "f");
74596
74605
  }
74597
74606
  attach_debug(main) {
74598
74607
  this.attach_debug = () => { };
@@ -74928,6 +74937,13 @@ class SysWeb extends SysBase_1.SysBase {
74928
74937
  }, { once: true, passive: true });
74929
74938
  return [];
74930
74939
  }
74940
+ cvsResize() {
74941
+ super.cvsResize();
74942
+ if (this.isFullScr) {
74943
+ const s = this.appPixi.view.style;
74944
+ s.width = s.height = '';
74945
+ }
74946
+ }
74931
74947
  titleSub(txt) {
74932
74948
  document.title = txt;
74933
74949
  document.querySelectorAll('[data-title]').forEach(v => v.textContent = txt);
@@ -75301,8 +75317,7 @@ ${__classPrivateFieldGet(this, _TxtLayer_fncFFSStyle, "f").call(this, tx)}`;
75301
75317
  __classPrivateFieldSet(TxtLayer, _a, isPageFore, "f", _TxtLayer_isPageFore);
75302
75318
  val.setDoRecProc(TxtLayer.chgDoRec);
75303
75319
  hTag.autowc = o => __classPrivateFieldGet(TxtLayer, _a, "m", _TxtLayer_autowc).call(TxtLayer, o);
75304
- const o = { enabled: 'false', text: '', time: '' };
75305
- hTag.autowc(o);
75320
+ hTag.autowc({ enabled: false, text: '', time: 0 });
75306
75321
  hTag.ch_in_style = o => __classPrivateFieldGet(TxtLayer, _a, "m", _TxtLayer_ch_in_style).call(TxtLayer, o);
75307
75322
  hTag.ch_out_style = o => __classPrivateFieldGet(TxtLayer, _a, "m", _TxtLayer_ch_out_style).call(TxtLayer, o);
75308
75323
  TxtStage_1.TxtStage.initChStyle();
@@ -75368,6 +75383,8 @@ ${__classPrivateFieldGet(this, _TxtLayer_fncFFSStyle, "f").call(this, tx)}`;
75368
75383
  }
75369
75384
  this.clearText();
75370
75385
  __classPrivateFieldGet(this, _TxtLayer_txs, "f").destroy();
75386
+ }
75387
+ static destroy() {
75371
75388
  __classPrivateFieldSet(TxtLayer, _a, false, "f", _TxtLayer_doAutoWc);
75372
75389
  __classPrivateFieldSet(TxtLayer, _a, {}, "f", _TxtLayer_hAutoWc);
75373
75390
  TxtLayer.rec = (tx) => tx;
@@ -75907,10 +75924,7 @@ class TxtStage extends pixi_js_1.Container {
75907
75924
  s.paddingBottom = (hArg.pb ?? '0') + 'px';
75908
75925
  __classPrivateFieldGet(this, _TxtStage_instances, "m", _TxtStage_lay_sub).call(this);
75909
75926
  __classPrivateFieldGet(this, _TxtStage_idc, "f").sethArg(hArg);
75910
- __classPrivateFieldSet(this, _TxtStage_left, this.spLay.position.x
75911
- - (CmnLib_1.CmnLib.isSafari && !CmnLib_1.CmnLib.isMobile && __classPrivateFieldGet(this, _TxtStage_isTategaki, "f")
75912
- ? __classPrivateFieldGet(this, _TxtStage_infTL, "f").pad_left + __classPrivateFieldGet(this, _TxtStage_infTL, "f").pad_right
75913
- : 0), "f");
75927
+ __classPrivateFieldSet(this, _TxtStage_left, this.spLay.position.x, "f");
75914
75928
  s.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`;
75915
75929
  this.cvsResize();
75916
75930
  s.display = this.spLay.visible ? 'inline' : 'none';
@@ -76287,10 +76301,7 @@ class TxtStage extends pixi_js_1.Container {
76287
76301
  __classPrivateFieldGet(this, _TxtStage_instances, "m", _TxtStage_htm2tx).call(this, tx => {
76288
76302
  __classPrivateFieldSet(this, _TxtStage_sss, new pixi_js_1.Sprite(tx), "f");
76289
76303
  if (__classPrivateFieldGet(this, _TxtStage_isTategaki, "f")) {
76290
- __classPrivateFieldGet(this, _TxtStage_sss, "f").x += CmnLib_1.CmnLib.stageW - (__classPrivateFieldGet(this, _TxtStage_left, "f") + __classPrivateFieldGet(this, _TxtStage_infTL, "f").$width)
76291
- - ((CmnLib_1.CmnLib.isSafari && !CmnLib_1.CmnLib.isMobile)
76292
- ? 0
76293
- : __classPrivateFieldGet(this, _TxtStage_infTL, "f").pad_left + __classPrivateFieldGet(this, _TxtStage_infTL, "f").pad_right);
76304
+ __classPrivateFieldGet(this, _TxtStage_sss, "f").x += CmnLib_1.CmnLib.stageW - (__classPrivateFieldGet(this, _TxtStage_left, "f") + __classPrivateFieldGet(this, _TxtStage_infTL, "f").$width);
76294
76305
  }
76295
76306
  __classPrivateFieldGet(this, _TxtStage_sss, "f").y -= __classPrivateFieldGet(this, _TxtStage_padTx4y, "f");
76296
76307
  __classPrivateFieldGet(this, _TxtStage_sss, "f").texture.frame = new pixi_js_1.Rectangle(0, 0, __classPrivateFieldGet(this, _TxtStage_infTL, "f").$width - __classPrivateFieldGet(this, _TxtStage_left, "f"), __classPrivateFieldGet(this, _TxtStage_infTL, "f").$height);
@@ -76879,12 +76890,6 @@ class Variable {
76879
76890
  'tmp:sn.auto.enabled': name => __classPrivateFieldGet(this, _Variable_instances, "m", _Variable_runFirst_Bool_hTmp_false).call(this, name),
76880
76891
  'tmp:flash.desktop.NativeApplication.nativeApplication.systemIdleMode': (() => {
76881
76892
  }),
76882
- 'tmp:sn.chkFontMode': () => {
76883
- if (__classPrivateFieldGet(this, _Variable_hTmp, "f")['const.sn.onLauncher'])
76884
- return;
76885
- if (!__classPrivateFieldGet(this, _Variable_hTmp, "f")['const.sn.isDebugger'])
76886
- return;
76887
- }
76888
76893
  });
76889
76894
  hTag.let = o => __classPrivateFieldGet(this, _Variable_instances, "m", _Variable_let).call(this, o);
76890
76895
  hTag.let_abs = o => __classPrivateFieldGet(this, _Variable_instances, "m", _Variable_let_abs).call(this, o);