@famibee/skynovel 1.25.4 → 1.25.5
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 +15 -0
- package/app.js +83 -90
- package/core/lib/sn/CmnLib.d.ts +1 -1
- package/core/lib/sn/CmnLib.d.ts.map +1 -1
- package/core/lib/sn/EventMng.d.ts +1 -1
- package/core/lib/sn/EventMng.d.ts.map +1 -1
- package/core/lib/sn/FrameMng.d.ts.map +1 -1
- package/core/lib/sn/LayerMng.d.ts +3 -3
- package/core/lib/sn/LayerMng.d.ts.map +1 -1
- package/core/lib/sn/ScriptIterator.d.ts +0 -1
- package/core/lib/sn/ScriptIterator.d.ts.map +1 -1
- package/package.json +2 -2
- package/web.js +83 -90
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.25.5](https://github.com/famibee/SKYNovel/compare/v1.25.4...v1.25.5) (2021-12-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 自動読みとスキップ関係修正 ([155f660](https://github.com/famibee/SKYNovel/commit/155f6609068abf9234c8ce1fb2e59ebe8168dcb4))
|
|
7
|
+
|
|
8
|
+
- fix: [set_cancel_skip]でエラーになる場合がある件
|
|
9
|
+
- fix: 自動読みなどがクリックですぐに止まらない件
|
|
10
|
+
- fix: 自動読み中クリックでクリック待ち状態に移行するように
|
|
11
|
+
- fix: [ch]で属性waitを指定しないとスキップ時に文字表示がスキップされなかった件
|
|
12
|
+
- fix: [tsy_frame]で長押しスキップされない件
|
|
13
|
+
- fix: [waitclick]は吉里吉里仕様【スキップできない】記述から、スキップや自動読みさせないように
|
|
14
|
+
|
|
15
|
+
|
|
1
16
|
## [1.25.4](https://github.com/famibee/SKYNovel/compare/v1.25.3...v1.25.4) (2021-12-26)
|
|
2
17
|
|
|
3
18
|
|
package/app.js
CHANGED
|
@@ -67578,7 +67578,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
67578
67578
|
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");
|
|
67579
67579
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
67580
67580
|
};
|
|
67581
|
-
var _EventMng_instances, _EventMng_elc, _EventMng_cvsHint, _EventMng_picHint_w, _EventMng_picHint_h, _EventMng_padHint, _EventMng_grpHint, _EventMng_gamepad, _EventMng_fcs, _EventMng_resvFlameEvent4Wheel, _EventMng_ev_keydown, _EventMng_ev_contextmenu, _EventMng_ev_wheel, _EventMng_wheeling, _EventMng_extend_wheel, _EventMng_ev_wheel_waitstop, _EventMng_hLocalEvt2Fnc, _EventMng_hGlobalEvt2Fnc, _EventMng_isDbgBreak, _EventMng_isWait, _EventMng_getEvt2Fnc, _EventMng_waitEventBase, _EventMng_firstWait, _EventMng_dispHint, _EventMng_dispHint_hArg, _EventMng_dispHint_ctnBtn, _EventMng_dispHint_masume, _EventMng_procWheel4wle, _EventMng_elcWLE, _EventMng_clear_event, _EventMng_clear_eventer, _EventMng_event, _EventMng_canFocus, _EventMng_getHtmlElmList, _EventMng_goTxt, _EventMng_l, _EventMng_p,
|
|
67581
|
+
var _EventMng_instances, _EventMng_elc, _EventMng_cvsHint, _EventMng_picHint_w, _EventMng_picHint_h, _EventMng_padHint, _EventMng_grpHint, _EventMng_gamepad, _EventMng_fcs, _EventMng_resvFlameEvent4Wheel, _EventMng_ev_keydown, _EventMng_ev_contextmenu, _EventMng_ev_wheel, _EventMng_wheeling, _EventMng_extend_wheel, _EventMng_ev_wheel_waitstop, _EventMng_hLocalEvt2Fnc, _EventMng_hGlobalEvt2Fnc, _EventMng_isDbgBreak, _EventMng_isWait, _EventMng_getEvt2Fnc, _EventMng_waitEventBase, _EventMng_firstWait, _EventMng_dispHint, _EventMng_dispHint_hArg, _EventMng_dispHint_ctnBtn, _EventMng_dispHint_masume, _EventMng_procWheel4wle, _EventMng_elcWLE, _EventMng_clear_event, _EventMng_clear_eventer, _EventMng_event, _EventMng_canFocus, _EventMng_getHtmlElmList, _EventMng_goTxt, _EventMng_l, _EventMng_p, _EventMng_stopSkip, _EventMng_set_cancel_skip, _EventMng_set_focus, _EventMng_wait, _EventMng_cancelWait, _EventMng_waitclick, _EventMng_hDownKeys;
|
|
67582
67582
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
67583
67583
|
exports.EventMng = void 0;
|
|
67584
67584
|
const CmnLib_1 = __webpack_require__(/*! ./CmnLib */ "./core/src/sn/CmnLib.ts");
|
|
@@ -67653,7 +67653,8 @@ class EventMng {
|
|
|
67653
67653
|
_EventMng_procWheel4wle.set(this, (_elc, _fnc) => { });
|
|
67654
67654
|
_EventMng_elcWLE.set(this, new EventListenerCtn_1.EventListenerCtn);
|
|
67655
67655
|
_EventMng_goTxt.set(this, () => this.layMng.goTxt());
|
|
67656
|
-
|
|
67656
|
+
_EventMng_stopSkip.set(this, () => false);
|
|
67657
|
+
_EventMng_cancelWait.set(this, () => { });
|
|
67657
67658
|
_EventMng_hDownKeys.set(this, {
|
|
67658
67659
|
'Alt': 0,
|
|
67659
67660
|
'Meta': 0,
|
|
@@ -67854,26 +67855,23 @@ class EventMng {
|
|
|
67854
67855
|
__classPrivateFieldGet(this, _EventMng_cvsHint, "f")?.parentElement.removeChild(__classPrivateFieldGet(this, _EventMng_cvsHint, "f"));
|
|
67855
67856
|
}
|
|
67856
67857
|
fire(KEY, e) {
|
|
67857
|
-
if (__classPrivateFieldGet(this,
|
|
67858
|
-
|
|
67859
|
-
if (!__classPrivateFieldGet(this, _EventMng_isWait, "f"))
|
|
67858
|
+
if (__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this)
|
|
67859
|
+
|| !__classPrivateFieldGet(this, _EventMng_isWait, "f") || __classPrivateFieldGet(this, _EventMng_isDbgBreak, "f"))
|
|
67860
67860
|
return;
|
|
67861
67861
|
const key = KEY.toLowerCase();
|
|
67862
67862
|
if (CmnLib_1.CmnLib.debugLog)
|
|
67863
67863
|
console.log(`👺 fire<(key:\`${key}\` type:${e.type} e:%o)`, { ...e });
|
|
67864
67864
|
if (key === 'enter') {
|
|
67865
67865
|
const em = __classPrivateFieldGet(this, _EventMng_fcs, "f").getFocus();
|
|
67866
|
-
if (em
|
|
67866
|
+
if (em instanceof pixi_js_1.Container) {
|
|
67867
67867
|
em.emit('pointerdown', new Event('pointerdown'));
|
|
67868
67868
|
return;
|
|
67869
67869
|
}
|
|
67870
67870
|
}
|
|
67871
67871
|
const ke = __classPrivateFieldGet(this, _EventMng_getEvt2Fnc, "f").call(this, key);
|
|
67872
67872
|
if (!ke) {
|
|
67873
|
-
if (key.slice(0, 5) === 'swipe')
|
|
67874
|
-
|
|
67875
|
-
globalThis.scrollBy(-esw.deltaX ?? 0, -esw.deltaY ?? 0);
|
|
67876
|
-
}
|
|
67873
|
+
if (key.slice(0, 5) === 'swipe')
|
|
67874
|
+
globalThis.scrollBy(-e.deltaX ?? 0, -e.deltaY ?? 0);
|
|
67877
67875
|
return;
|
|
67878
67876
|
}
|
|
67879
67877
|
if (key.slice(-5) !== 'wheel')
|
|
@@ -67895,12 +67893,12 @@ class EventMng {
|
|
|
67895
67893
|
if (canskip && global)
|
|
67896
67894
|
throw `canskipとglobalを同時にtrue指定できません`;
|
|
67897
67895
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
67898
|
-
if (this.val.getVal('tmp:sn.skip.all')
|
|
67899
|
-
|
|
67896
|
+
if (this.val.getVal('tmp:sn.skip.all') ||
|
|
67897
|
+
this.scrItr.isNextKidoku) {
|
|
67900
67898
|
onFinish();
|
|
67901
67899
|
return false;
|
|
67902
67900
|
}
|
|
67903
|
-
__classPrivateFieldGet(this,
|
|
67901
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
67904
67902
|
}
|
|
67905
67903
|
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this, onFinish, canskip, global);
|
|
67906
67904
|
return true;
|
|
@@ -67993,9 +67991,9 @@ class EventMng {
|
|
|
67993
67991
|
this.val.saveKidoku();
|
|
67994
67992
|
const fnc = () => { __classPrivateFieldGet(this, _EventMng_elcWLE, "f").clear(); onFinish(); };
|
|
67995
67993
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
67996
|
-
if (!this.val.getVal('tmp:sn.skip.all')
|
|
67997
|
-
|
|
67998
|
-
__classPrivateFieldGet(this,
|
|
67994
|
+
if (!this.val.getVal('tmp:sn.skip.all') &&
|
|
67995
|
+
!this.scrItr.isNextKidoku)
|
|
67996
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
67999
67997
|
else {
|
|
68000
67998
|
fnc();
|
|
68001
67999
|
return false;
|
|
@@ -68013,17 +68011,17 @@ class EventMng {
|
|
|
68013
68011
|
__classPrivateFieldGet(this, _EventMng_procWheel4wle, "f").call(this, __classPrivateFieldGet(this, _EventMng_elcWLE, "f"), fnc);
|
|
68014
68012
|
return true;
|
|
68015
68013
|
}
|
|
68016
|
-
|
|
68014
|
+
isSkippingByKeyDown() {
|
|
68017
68015
|
if (this.scrItr.skip4page)
|
|
68018
68016
|
return true;
|
|
68019
|
-
for (const
|
|
68020
|
-
if (__classPrivateFieldGet(this, _EventMng_hDownKeys, "f")[
|
|
68017
|
+
for (const k in __classPrivateFieldGet(this, _EventMng_hDownKeys, "f"))
|
|
68018
|
+
if (__classPrivateFieldGet(this, _EventMng_hDownKeys, "f")[k] === 2)
|
|
68021
68019
|
return true;
|
|
68022
68020
|
return false;
|
|
68023
68021
|
}
|
|
68024
68022
|
}
|
|
68025
68023
|
exports.EventMng = EventMng;
|
|
68026
|
-
_EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picHint_w = new WeakMap(), _EventMng_picHint_h = new WeakMap(), _EventMng_padHint = new WeakMap(), _EventMng_grpHint = new WeakMap(), _EventMng_gamepad = new WeakMap(), _EventMng_fcs = new WeakMap(), _EventMng_resvFlameEvent4Wheel = new WeakMap(), _EventMng_wheeling = new WeakMap(), _EventMng_extend_wheel = new WeakMap(), _EventMng_hLocalEvt2Fnc = new WeakMap(), _EventMng_hGlobalEvt2Fnc = new WeakMap(), _EventMng_isDbgBreak = new WeakMap(), _EventMng_isWait = new WeakMap(), _EventMng_getEvt2Fnc = new WeakMap(), _EventMng_firstWait = new WeakMap(), _EventMng_dispHint_hArg = new WeakMap(), _EventMng_dispHint_ctnBtn = new WeakMap(), _EventMng_dispHint_masume = new WeakMap(), _EventMng_procWheel4wle = new WeakMap(), _EventMng_elcWLE = new WeakMap(), _EventMng_goTxt = new WeakMap(),
|
|
68024
|
+
_EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picHint_w = new WeakMap(), _EventMng_picHint_h = new WeakMap(), _EventMng_padHint = new WeakMap(), _EventMng_grpHint = new WeakMap(), _EventMng_gamepad = new WeakMap(), _EventMng_fcs = new WeakMap(), _EventMng_resvFlameEvent4Wheel = new WeakMap(), _EventMng_wheeling = new WeakMap(), _EventMng_extend_wheel = new WeakMap(), _EventMng_hLocalEvt2Fnc = new WeakMap(), _EventMng_hGlobalEvt2Fnc = new WeakMap(), _EventMng_isDbgBreak = new WeakMap(), _EventMng_isWait = new WeakMap(), _EventMng_getEvt2Fnc = new WeakMap(), _EventMng_firstWait = new WeakMap(), _EventMng_dispHint_hArg = new WeakMap(), _EventMng_dispHint_ctnBtn = new WeakMap(), _EventMng_dispHint_masume = new WeakMap(), _EventMng_procWheel4wle = new WeakMap(), _EventMng_elcWLE = new WeakMap(), _EventMng_goTxt = new WeakMap(), _EventMng_stopSkip = new WeakMap(), _EventMng_cancelWait = new WeakMap(), _EventMng_hDownKeys = new WeakMap(), _EventMng_instances = new WeakSet(), _EventMng_ev_keydown = function _EventMng_ev_keydown(e) {
|
|
68027
68025
|
if (e['isComposing'])
|
|
68028
68026
|
return;
|
|
68029
68027
|
if (e.key in __classPrivateFieldGet(this, _EventMng_hDownKeys, "f"))
|
|
@@ -68067,10 +68065,10 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
68067
68065
|
__classPrivateFieldGet(this, _EventMng_goTxt, "f").call(this);
|
|
68068
68066
|
this.val.saveKidoku();
|
|
68069
68067
|
if (canskip) {
|
|
68070
|
-
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['click'] =
|
|
68071
|
-
|
|
68072
|
-
|
|
68073
|
-
|
|
68068
|
+
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['click'] =
|
|
68069
|
+
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['enter'] =
|
|
68070
|
+
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['arrowdown'] =
|
|
68071
|
+
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['wheel.y>0'] = onFinish;
|
|
68074
68072
|
}
|
|
68075
68073
|
else {
|
|
68076
68074
|
delete __classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['click'];
|
|
@@ -68226,10 +68224,10 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
68226
68224
|
return false;
|
|
68227
68225
|
}
|
|
68228
68226
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
68229
|
-
if (!this.val.getVal('tmp:sn.skip.all')
|
|
68230
|
-
|
|
68231
|
-
__classPrivateFieldGet(this,
|
|
68232
|
-
else if ('ps'.includes(
|
|
68227
|
+
if (!this.val.getVal('tmp:sn.skip.all') &&
|
|
68228
|
+
!this.scrItr.isNextKidoku)
|
|
68229
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
68230
|
+
else if ('ps'.includes(this.val.getVal('sys:sn.skip.mode')))
|
|
68233
68231
|
return false;
|
|
68234
68232
|
}
|
|
68235
68233
|
if (this.val.getVal('tmp:sn.auto.enabled'))
|
|
@@ -68245,10 +68243,10 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
68245
68243
|
}, _EventMng_p = function _EventMng_p(hArg) {
|
|
68246
68244
|
this.scrItr.recodePage();
|
|
68247
68245
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
68248
|
-
if (!this.val.getVal('tmp:sn.skip.all')
|
|
68249
|
-
|
|
68250
|
-
__classPrivateFieldGet(this,
|
|
68251
|
-
else if ('s'
|
|
68246
|
+
if (!this.val.getVal('tmp:sn.skip.all') &&
|
|
68247
|
+
!this.scrItr.isNextKidoku)
|
|
68248
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
68249
|
+
else if ('s' == this.val.getVal('sys:sn.skip.mode')) {
|
|
68252
68250
|
__classPrivateFieldGet(this, _EventMng_goTxt, "f").call(this);
|
|
68253
68251
|
return false;
|
|
68254
68252
|
}
|
|
@@ -68262,20 +68260,21 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
68262
68260
|
if ((0, CmnLib_1.argChk_Boolean)(hArg, 'visible', true))
|
|
68263
68261
|
this.layMng.breakPage();
|
|
68264
68262
|
const fnc = () => { this.sndMng.clearCache(); this.main.resume(); };
|
|
68265
|
-
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this,
|
|
68266
|
-
&&
|
|
68263
|
+
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this, (0, CmnLib_1.argChk_Boolean)(hArg, 'er', false)
|
|
68264
|
+
&& this.layMng.currentTxtlayFore
|
|
68267
68265
|
? () => { this.hTag.er(hArg); fnc(); }
|
|
68268
68266
|
: fnc);
|
|
68269
68267
|
return true;
|
|
68270
68268
|
}, _EventMng_set_cancel_skip = function _EventMng_set_cancel_skip() {
|
|
68271
|
-
__classPrivateFieldSet(this,
|
|
68272
|
-
__classPrivateFieldSet(this,
|
|
68269
|
+
__classPrivateFieldSet(this, _EventMng_stopSkip, () => {
|
|
68270
|
+
__classPrivateFieldSet(this, _EventMng_stopSkip, () => false, "f");
|
|
68273
68271
|
this.val.setVal_Nochk('tmp', 'sn.tagL.enabled', true);
|
|
68274
68272
|
this.val.setVal_Nochk('tmp', 'sn.skip.enabled', false);
|
|
68275
68273
|
this.val.setVal_Nochk('tmp', 'sn.auto.enabled', false);
|
|
68276
|
-
this.layMng.
|
|
68274
|
+
this.layMng.setNormalChWait();
|
|
68275
|
+
__classPrivateFieldGet(this, _EventMng_cancelWait, "f").call(this);
|
|
68276
|
+
return true;
|
|
68277
68277
|
}, "f");
|
|
68278
|
-
this.scrItr.unregisterClickEvts();
|
|
68279
68278
|
return false;
|
|
68280
68279
|
}, _EventMng_set_focus = function _EventMng_set_focus(hArg) {
|
|
68281
68280
|
const add = hArg.add;
|
|
@@ -68318,28 +68317,32 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
68318
68317
|
if (this.scrItr.skip4page)
|
|
68319
68318
|
return false;
|
|
68320
68319
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
68321
|
-
if (!this.val.getVal('tmp:sn.skip.all')
|
|
68322
|
-
|
|
68323
|
-
__classPrivateFieldGet(this,
|
|
68324
|
-
|
|
68325
|
-
return false;
|
|
68320
|
+
if (!this.val.getVal('tmp:sn.skip.all') &&
|
|
68321
|
+
!this.scrItr.isNextKidoku)
|
|
68322
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
68323
|
+
return false;
|
|
68326
68324
|
}
|
|
68325
|
+
if (this.val.getVal('tmp:sn.auto.enabled'))
|
|
68326
|
+
__classPrivateFieldSet(this, _EventMng_cancelWait, () => {
|
|
68327
|
+
this.scrItr.subIdxToken();
|
|
68328
|
+
tw.end();
|
|
68329
|
+
}, "f");
|
|
68327
68330
|
const tw = new tween_js_1.Tween({})
|
|
68328
68331
|
.to({}, (0, CmnLib_1.uint)((0, CmnLib_1.argChk_Num)(hArg, 'time', NaN)))
|
|
68329
|
-
.onComplete(() => {
|
|
68332
|
+
.onComplete(() => {
|
|
68333
|
+
__classPrivateFieldSet(this, _EventMng_cancelWait, () => { }, "f");
|
|
68334
|
+
tw.stop();
|
|
68335
|
+
this.main.resume();
|
|
68336
|
+
})
|
|
68330
68337
|
.start();
|
|
68331
68338
|
return this.waitEvent(() => tw.end(), (0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', true), (0, CmnLib_1.argChk_Boolean)(hArg, 'global', false));
|
|
68332
68339
|
}, _EventMng_waitclick = function _EventMng_waitclick() {
|
|
68333
68340
|
if (this.scrItr.skip4page)
|
|
68334
68341
|
return false;
|
|
68335
|
-
|
|
68336
|
-
|
|
68337
|
-
|
|
68338
|
-
|
|
68339
|
-
else
|
|
68340
|
-
return false;
|
|
68341
|
-
}
|
|
68342
|
-
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this, () => this.main.resume());
|
|
68342
|
+
const fnc = () => { __classPrivateFieldSet(this, _EventMng_cancelWait, () => { }, "f"); this.main.resume(); };
|
|
68343
|
+
if (this.val.getVal('tmp:sn.auto.enabled'))
|
|
68344
|
+
__classPrivateFieldSet(this, _EventMng_cancelWait, fnc, "f");
|
|
68345
|
+
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this, fnc);
|
|
68343
68346
|
return true;
|
|
68344
68347
|
};
|
|
68345
68348
|
|
|
@@ -68860,8 +68863,8 @@ _FrameMng_evtMng = new WeakMap(), _FrameMng_hIfrm = new WeakMap(), _FrameMng_hDi
|
|
|
68860
68863
|
this.appPixi.stage.interactive = false;
|
|
68861
68864
|
const tw_nm = `frm\n${hArg.id}`;
|
|
68862
68865
|
const tw = new tween_js_1.Tween(hNow)
|
|
68863
|
-
.to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN)
|
|
68864
|
-
|
|
68866
|
+
.to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN) * (Boolean(this.val.getVal('tmp:sn.skip.enabled')
|
|
68867
|
+
|| __classPrivateFieldGet(this, _FrameMng_evtMng, "f").isSkippingByKeyDown()) ? 0 : 1))
|
|
68865
68868
|
.delay((0, CmnLib_1.argChk_Num)(hArg, 'delay', 0))
|
|
68866
68869
|
.easing(CmnTween_1.CmnTween.ease(hArg.ease))
|
|
68867
68870
|
.repeat(repeat === 0 ? Infinity : (repeat - 1))
|
|
@@ -69754,7 +69757,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
69754
69757
|
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");
|
|
69755
69758
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
69756
69759
|
};
|
|
69757
|
-
var _LayerMng_instances, _a, _LayerMng_stage, _LayerMng_fore, _LayerMng_back, _LayerMng_frmMng, _LayerMng_fncTicker, _LayerMng_hProcDbgRes, _LayerMng_modeLn, _LayerMng_modeLnSub, _LayerMng_selectNode, _LayerMng_grpCover, _LayerMng_evtMng, _LayerMng_foreachRedrawTxtLayBack, _LayerMng_cmdTxt, _LayerMng_snapshot, _LayerMng_loadplugin, _LayerMng_add_lay, _LayerMng_hPages, _LayerMng_aLayName, _LayerMng_curTxtlay, _LayerMng_firstGrplay, _LayerMng_lay, _LayerMng_rebuildLayerRankInfo, _LayerMng_clear_lay, _LayerMng_srcRuleTransFragment, _LayerMng_ufRuleTrans, _LayerMng_fltRule, _LayerMng_rtTransBack, _LayerMng_spTransBack, _LayerMng_rtTransFore, _LayerMng_spTransFore, _LayerMng_aBackTransAfter, _LayerMng_trans, _LayerMng_tiTrans, _LayerMng_getLayers, _LayerMng_foreachLayers, _LayerMng_sortLayers, _LayerMng_wt, _LayerMng_finish_trans, _LayerMng_quake, _LayerMng_hTwInf, _LayerMng_tsy, _LayerMng_wait_tsy, _LayerMng_stop_tsy, _LayerMng_pause_tsy, _LayerMng_resume_tsy, _LayerMng_msecChWait, _LayerMng_ch, _LayerMng_getTxtLayer, _LayerMng_$getTxtLayer, _LayerMng_current, _LayerMng_$current, _LayerMng_pgTxtlay,
|
|
69760
|
+
var _LayerMng_instances, _a, _LayerMng_stage, _LayerMng_fore, _LayerMng_back, _LayerMng_frmMng, _LayerMng_fncTicker, _LayerMng_hProcDbgRes, _LayerMng_modeLn, _LayerMng_modeLnSub, _LayerMng_selectNode, _LayerMng_grpCover, _LayerMng_evtMng, _LayerMng_foreachRedrawTxtLayBack, _LayerMng_cmdTxt, _LayerMng_snapshot, _LayerMng_loadplugin, _LayerMng_add_lay, _LayerMng_hPages, _LayerMng_aLayName, _LayerMng_curTxtlay, _LayerMng_firstGrplay, _LayerMng_lay, _LayerMng_rebuildLayerRankInfo, _LayerMng_clear_lay, _LayerMng_srcRuleTransFragment, _LayerMng_ufRuleTrans, _LayerMng_fltRule, _LayerMng_rtTransBack, _LayerMng_spTransBack, _LayerMng_rtTransFore, _LayerMng_spTransFore, _LayerMng_aBackTransAfter, _LayerMng_trans, _LayerMng_tiTrans, _LayerMng_getLayers, _LayerMng_foreachLayers, _LayerMng_sortLayers, _LayerMng_wt, _LayerMng_finish_trans, _LayerMng_quake, _LayerMng_hTwInf, _LayerMng_tsy, _LayerMng_wait_tsy, _LayerMng_stop_tsy, _LayerMng_pause_tsy, _LayerMng_resume_tsy, _LayerMng_msecChWait, _LayerMng_ch, _LayerMng_getTxtLayer, _LayerMng_$getTxtLayer, _LayerMng_current, _LayerMng_$current, _LayerMng_pgTxtlay, _LayerMng_chkTxtLay, _LayerMng_argChk_layer, _LayerMng_oLastPage, _LayerMng_aTxtLog, _LayerMng_clear_text, _LayerMng_endlink, _LayerMng_er, _LayerMng_graph, _LayerMng_link, _LayerMng_r, _LayerMng_rec_r, _LayerMng_rec_ch, _LayerMng_reset_rec, _LayerMng_ruby2, _LayerMng_span, _LayerMng_tcy, _LayerMng_dump_lay, _LayerMng_enable_event, _LayerMng_button;
|
|
69758
69761
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
69759
69762
|
exports.LayerMng = void 0;
|
|
69760
69763
|
const CmnLib_1 = __webpack_require__(/*! ./CmnLib */ "./core/src/sn/CmnLib.ts");
|
|
@@ -69811,7 +69814,7 @@ class LayerMng {
|
|
|
69811
69814
|
this.getFrmDisabled = (id) => __classPrivateFieldGet(this, _LayerMng_frmMng, "f").getFrmDisabled(id);
|
|
69812
69815
|
_LayerMng_grpCover.set(this, null);
|
|
69813
69816
|
_LayerMng_evtMng.set(this, void 0);
|
|
69814
|
-
_LayerMng_cmdTxt.set(this, (cmd, tl = this.
|
|
69817
|
+
_LayerMng_cmdTxt.set(this, (cmd, tl = this.currentTxtlayForeNeedErr, _record = true) => tl.tagCh('| 《' + cmd + '》'));
|
|
69815
69818
|
this.goTxt = () => { };
|
|
69816
69819
|
this.breakLine = () => { };
|
|
69817
69820
|
this.breakPage = () => { };
|
|
@@ -69869,10 +69872,10 @@ void main(void) {
|
|
|
69869
69872
|
_LayerMng_aBackTransAfter.set(this, []);
|
|
69870
69873
|
_LayerMng_tiTrans.set(this, { tw: null, resume: false });
|
|
69871
69874
|
_LayerMng_hTwInf.set(this, {});
|
|
69872
|
-
_LayerMng_getTxtLayer.set(this, (_hArg) => { __classPrivateFieldGet(this,
|
|
69873
|
-
_LayerMng_current.set(this, (_hArg) => { __classPrivateFieldGet(this,
|
|
69875
|
+
_LayerMng_getTxtLayer.set(this, (_hArg) => { __classPrivateFieldGet(this, _LayerMng_chkTxtLay, "f").call(this); throw 0; });
|
|
69876
|
+
_LayerMng_current.set(this, (_hArg) => { __classPrivateFieldGet(this, _LayerMng_chkTxtLay, "f").call(this); throw 0; });
|
|
69874
69877
|
_LayerMng_pgTxtlay.set(this, void 0);
|
|
69875
|
-
|
|
69878
|
+
_LayerMng_chkTxtLay.set(this, () => { throw '文字レイヤーがありません。文字表示や操作する前に、[add_lay layer=(レイヤ名) class=txt]で文字レイヤを追加して下さい'; });
|
|
69876
69879
|
_LayerMng_oLastPage.set(this, { text: '' });
|
|
69877
69880
|
_LayerMng_aTxtLog.set(this, []);
|
|
69878
69881
|
const cvs = document.getElementById(CmnLib_1.CmnLib.SN_ID);
|
|
@@ -69970,7 +69973,7 @@ void main(void) {
|
|
|
69970
69973
|
val.defTmp('const.sn.log.json', () => JSON.stringify((__classPrivateFieldGet(this, _LayerMng_oLastPage, "f").text)
|
|
69971
69974
|
? [...__classPrivateFieldGet(this, _LayerMng_aTxtLog, "f"), __classPrivateFieldGet(this, _LayerMng_oLastPage, "f")]
|
|
69972
69975
|
: __classPrivateFieldGet(this, _LayerMng_aTxtLog, "f")));
|
|
69973
|
-
val.defTmp('const.sn.last_page_text', () => this.
|
|
69976
|
+
val.defTmp('const.sn.last_page_text', () => this.currentTxtlayFore?.pageText ?? '');
|
|
69974
69977
|
if (CmnLib_1.CmnLib.isDbg) {
|
|
69975
69978
|
DesignCast_1.DesignCast.init(this.appPixi, sys, scrItr, prpPrs, alzTagArg, this.cfg, __classPrivateFieldGet(this, _LayerMng_hPages, "f"));
|
|
69976
69979
|
this.cvsResizeDesign = () => DesignCast_1.DesignCast.cvsResizeDesign();
|
|
@@ -70013,13 +70016,13 @@ void main(void) {
|
|
|
70013
70016
|
}
|
|
70014
70017
|
stopAllTw() { __classPrivateFieldSet(this, _LayerMng_hTwInf, {}, "f"); (0, tween_js_1.removeAll)(); }
|
|
70015
70018
|
clearBreak() {
|
|
70016
|
-
if (!this.
|
|
70019
|
+
if (!this.currentTxtlayFore)
|
|
70017
70020
|
return;
|
|
70018
70021
|
this.clearBreak = () => __classPrivateFieldGet(this, _LayerMng_cmdTxt, "f").call(this, 'del|break');
|
|
70019
70022
|
this.clearBreak();
|
|
70020
70023
|
}
|
|
70021
70024
|
clickTxtLay() {
|
|
70022
|
-
if (!this.
|
|
70025
|
+
if (!this.currentTxtlayFore)
|
|
70023
70026
|
return;
|
|
70024
70027
|
const vct = __classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_getLayers).call(this);
|
|
70025
70028
|
const len = vct.length;
|
|
@@ -70035,12 +70038,12 @@ void main(void) {
|
|
|
70035
70038
|
}
|
|
70036
70039
|
static get msecChWait() { return __classPrivateFieldGet(LayerMng, _a, "f", _LayerMng_msecChWait); }
|
|
70037
70040
|
static set msecChWait(v) { __classPrivateFieldSet(LayerMng, _a, v, "f", _LayerMng_msecChWait); }
|
|
70038
|
-
|
|
70039
|
-
|
|
70040
|
-
__classPrivateFieldGet(this,
|
|
70041
|
-
return this.
|
|
70041
|
+
setNormalChWait() { __classPrivateFieldSet(LayerMng, _a, this.scrItr.normalWait, "f", _LayerMng_msecChWait); }
|
|
70042
|
+
get currentTxtlayForeNeedErr() {
|
|
70043
|
+
__classPrivateFieldGet(this, _LayerMng_chkTxtLay, "f").call(this);
|
|
70044
|
+
return this.currentTxtlayFore;
|
|
70042
70045
|
}
|
|
70043
|
-
|
|
70046
|
+
get currentTxtlayFore() {
|
|
70044
70047
|
if (!__classPrivateFieldGet(this, _LayerMng_pgTxtlay, "f"))
|
|
70045
70048
|
return undefined;
|
|
70046
70049
|
return __classPrivateFieldGet(this, _LayerMng_pgTxtlay, "f").fore;
|
|
@@ -70108,7 +70111,7 @@ void main(void) {
|
|
|
70108
70111
|
}
|
|
70109
70112
|
}
|
|
70110
70113
|
exports.LayerMng = LayerMng;
|
|
70111
|
-
_a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(), _LayerMng_back = new WeakMap(), _LayerMng_frmMng = new WeakMap(), _LayerMng_fncTicker = new WeakMap(), _LayerMng_hProcDbgRes = new WeakMap(), _LayerMng_modeLn = new WeakMap(), _LayerMng_modeLnSub = new WeakMap(), _LayerMng_grpCover = new WeakMap(), _LayerMng_evtMng = new WeakMap(), _LayerMng_cmdTxt = new WeakMap(), _LayerMng_hPages = new WeakMap(), _LayerMng_aLayName = new WeakMap(), _LayerMng_curTxtlay = new WeakMap(), _LayerMng_firstGrplay = new WeakMap(), _LayerMng_srcRuleTransFragment = new WeakMap(), _LayerMng_ufRuleTrans = new WeakMap(), _LayerMng_fltRule = new WeakMap(), _LayerMng_rtTransBack = new WeakMap(), _LayerMng_spTransBack = new WeakMap(), _LayerMng_rtTransFore = new WeakMap(), _LayerMng_spTransFore = new WeakMap(), _LayerMng_aBackTransAfter = new WeakMap(), _LayerMng_tiTrans = new WeakMap(), _LayerMng_hTwInf = new WeakMap(), _LayerMng_getTxtLayer = new WeakMap(), _LayerMng_current = new WeakMap(), _LayerMng_pgTxtlay = new WeakMap(),
|
|
70114
|
+
_a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(), _LayerMng_back = new WeakMap(), _LayerMng_frmMng = new WeakMap(), _LayerMng_fncTicker = new WeakMap(), _LayerMng_hProcDbgRes = new WeakMap(), _LayerMng_modeLn = new WeakMap(), _LayerMng_modeLnSub = new WeakMap(), _LayerMng_grpCover = new WeakMap(), _LayerMng_evtMng = new WeakMap(), _LayerMng_cmdTxt = new WeakMap(), _LayerMng_hPages = new WeakMap(), _LayerMng_aLayName = new WeakMap(), _LayerMng_curTxtlay = new WeakMap(), _LayerMng_firstGrplay = new WeakMap(), _LayerMng_srcRuleTransFragment = new WeakMap(), _LayerMng_ufRuleTrans = new WeakMap(), _LayerMng_fltRule = new WeakMap(), _LayerMng_rtTransBack = new WeakMap(), _LayerMng_spTransBack = new WeakMap(), _LayerMng_rtTransFore = new WeakMap(), _LayerMng_spTransFore = new WeakMap(), _LayerMng_aBackTransAfter = new WeakMap(), _LayerMng_tiTrans = new WeakMap(), _LayerMng_hTwInf = new WeakMap(), _LayerMng_getTxtLayer = new WeakMap(), _LayerMng_current = new WeakMap(), _LayerMng_pgTxtlay = new WeakMap(), _LayerMng_chkTxtLay = new WeakMap(), _LayerMng_oLastPage = new WeakMap(), _LayerMng_aTxtLog = new WeakMap(), _LayerMng_instances = new WeakSet(), _LayerMng_selectNode = function _LayerMng_selectNode(node) {
|
|
70112
70115
|
var _b, _c;
|
|
70113
70116
|
_b = this, _c = this, [({ set value(_a) { __classPrivateFieldSet(_b, _LayerMng_modeLn, _a, "f"); } }).value, ({ set value(_a) { __classPrivateFieldSet(_c, _LayerMng_modeLnSub, _a, "f"); } }).value = ''] = node.split('/');
|
|
70114
70117
|
const pages = __classPrivateFieldGet(this, _LayerMng_hPages, "f")[__classPrivateFieldGet(this, _LayerMng_modeLn, "f")];
|
|
@@ -70211,7 +70214,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
70211
70214
|
switch (cls) {
|
|
70212
70215
|
case 'txt':
|
|
70213
70216
|
if (!__classPrivateFieldGet(this, _LayerMng_curTxtlay, "f")) {
|
|
70214
|
-
__classPrivateFieldSet(this,
|
|
70217
|
+
__classPrivateFieldSet(this, _LayerMng_chkTxtLay, () => { }, "f");
|
|
70215
70218
|
__classPrivateFieldSet(this, _LayerMng_getTxtLayer, __classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_$getTxtLayer), "f");
|
|
70216
70219
|
__classPrivateFieldSet(this, _LayerMng_current, __classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_$current), "f");
|
|
70217
70220
|
this.hTag.current({ layer: layer });
|
|
@@ -70220,7 +70223,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
70220
70223
|
__classPrivateFieldSet(LayerMng, _a, 0, "f", _LayerMng_msecChWait);
|
|
70221
70224
|
}
|
|
70222
70225
|
else {
|
|
70223
|
-
this.
|
|
70226
|
+
this.setNormalChWait();
|
|
70224
70227
|
}
|
|
70225
70228
|
__classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_getLayers).call(this).forEach(name => {
|
|
70226
70229
|
const pg = __classPrivateFieldGet(this, _LayerMng_hPages, "f")[name];
|
|
@@ -70345,7 +70348,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
70345
70348
|
};
|
|
70346
70349
|
__classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: null, resume: false }, "f");
|
|
70347
70350
|
const time = (0, CmnLib_1.argChk_Num)(hArg, 'time', 0);
|
|
70348
|
-
if (time === 0 || __classPrivateFieldGet(this, _LayerMng_evtMng, "f").
|
|
70351
|
+
if (time === 0 || __classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown()) {
|
|
70349
70352
|
comp();
|
|
70350
70353
|
return false;
|
|
70351
70354
|
}
|
|
@@ -70419,7 +70422,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
70419
70422
|
__classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_finish_trans).call(this);
|
|
70420
70423
|
if (this.val.getVal('tmp:sn.skip.enabled'))
|
|
70421
70424
|
return false;
|
|
70422
|
-
if (__classPrivateFieldGet(this, _LayerMng_evtMng, "f").
|
|
70425
|
+
if (__classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown())
|
|
70423
70426
|
return false;
|
|
70424
70427
|
const aDo = [];
|
|
70425
70428
|
__classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_getLayers).call(this, hArg.layer).forEach(lay_nm => {
|
|
@@ -70475,8 +70478,8 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
70475
70478
|
const repeat = (0, CmnLib_1.argChk_Num)(hArg, 'repeat', 1);
|
|
70476
70479
|
const tw_nm = hArg.name ?? hArg.layer;
|
|
70477
70480
|
const tw = new tween_js_1.Tween(foreLay)
|
|
70478
|
-
.to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN) * (
|
|
70479
|
-
||
|
|
70481
|
+
.to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN) * (Boolean(this.val.getVal('tmp:sn.skip.enabled')
|
|
70482
|
+
|| __classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown()) ? 0 : 1))
|
|
70480
70483
|
.delay((0, CmnLib_1.argChk_Num)(hArg, 'delay', 0))
|
|
70481
70484
|
.easing(CmnTween_1.CmnTween.ease(hArg.ease))
|
|
70482
70485
|
.repeat(repeat === 0 ? Infinity : (repeat - 1))
|
|
@@ -70544,11 +70547,10 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
70544
70547
|
throw 'textは必須です';
|
|
70545
70548
|
const tl = __classPrivateFieldGet(this, _LayerMng_getTxtLayer, "f").call(this, hArg);
|
|
70546
70549
|
delete hArg.text;
|
|
70547
|
-
if ('
|
|
70550
|
+
if (this.val.getVal('tmp:sn.skip.enabled'))
|
|
70551
|
+
hArg.wait = 0;
|
|
70552
|
+
else if ('wait' in hArg)
|
|
70548
70553
|
(0, CmnLib_1.argChk_Num)(hArg, 'wait', NaN);
|
|
70549
|
-
if (this.val.getVal('tmp:sn.skip.enabled'))
|
|
70550
|
-
hArg.wait = 0;
|
|
70551
|
-
}
|
|
70552
70554
|
__classPrivateFieldGet(this, _LayerMng_cmdTxt, "f").call(this, 'add|' + JSON.stringify(hArg), tl);
|
|
70553
70555
|
const record = (0, CmnLib_1.argChk_Boolean)(hArg, 'record', true);
|
|
70554
70556
|
const doRecLog = this.val.doRecLog();
|
|
@@ -70914,7 +70916,7 @@ _Main_cfg = new WeakMap(), _Main_appPixi = new WeakMap(), _Main_hTag = new WeakM
|
|
|
70914
70916
|
else if (uc === 42 && token.length > 1)
|
|
70915
70917
|
continue;
|
|
70916
70918
|
try {
|
|
70917
|
-
const tl = __classPrivateFieldGet(this, _Main_layMng, "f").
|
|
70919
|
+
const tl = __classPrivateFieldGet(this, _Main_layMng, "f").currentTxtlayForeNeedErr;
|
|
70918
70920
|
tl.tagCh(token);
|
|
70919
70921
|
}
|
|
70920
70922
|
catch (err) {
|
|
@@ -71683,15 +71685,6 @@ class ScriptIterator {
|
|
|
71683
71685
|
get lineNum() { return __classPrivateFieldGet(this, _ScriptIterator_lineNum, "f"); }
|
|
71684
71686
|
destroy() { this.isBreak = () => false; }
|
|
71685
71687
|
;
|
|
71686
|
-
unregisterClickEvts() {
|
|
71687
|
-
__classPrivateFieldGet(this, _ScriptIterator_aCallStk, "f").forEach(cs => {
|
|
71688
|
-
const hE1T = cs.csArg[':hEvt1Time'];
|
|
71689
|
-
delete hE1T['Click'];
|
|
71690
|
-
delete hE1T['Enter'];
|
|
71691
|
-
delete hE1T['ArrowDown'];
|
|
71692
|
-
delete hE1T['wheel.y>0'];
|
|
71693
|
-
});
|
|
71694
|
-
}
|
|
71695
71688
|
タグ解析(tagToken) {
|
|
71696
71689
|
const [tag_name, args] = (0, Grammar_1.tagToken2Name_Args)(tagToken);
|
|
71697
71690
|
const tag_fnc = this.hTag[tag_name];
|
|
@@ -72785,7 +72778,7 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
|
|
|
72785
72778
|
if (!fn)
|
|
72786
72779
|
throw '[playse] fnは必須です(buf=' + buf + ')';
|
|
72787
72780
|
if ((0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', true)
|
|
72788
|
-
&& __classPrivateFieldGet(this, _SoundMng_evtMng, "f").
|
|
72781
|
+
&& __classPrivateFieldGet(this, _SoundMng_evtMng, "f").isSkippingByKeyDown())
|
|
72789
72782
|
return false;
|
|
72790
72783
|
const loop = (0, CmnLib_1.argChk_Boolean)(hArg, 'loop', false);
|
|
72791
72784
|
__classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_addLoopPlay).call(this, buf, loop);
|
|
@@ -73845,7 +73838,7 @@ class TxtLayer extends Layer_1.Layer {
|
|
|
73845
73838
|
console.log(`🖊 文字表示 text:\`${ch}\` ruby:\`${ruby}\` name:\`${this.name_}\``);
|
|
73846
73839
|
const a_ruby = ruby.split('|');
|
|
73847
73840
|
let add_htm = '';
|
|
73848
|
-
const isSkip = __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_evtMng).
|
|
73841
|
+
const isSkip = __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_evtMng).isSkippingByKeyDown();
|
|
73849
73842
|
switch (a_ruby.length) {
|
|
73850
73843
|
case 1:
|
|
73851
73844
|
__classPrivateFieldSet(this, _TxtLayer_needGoTxt, true, "f");
|
package/core/lib/sn/CmnLib.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { Container } from 'pixi.js';
|
|
|
21
21
|
export interface IEvtMng {
|
|
22
22
|
button(hArg: HArg, ctnBtn: Container, normal: () => void, hover: () => boolean, clicked: () => void): void;
|
|
23
23
|
unButton(em: Container): void;
|
|
24
|
-
|
|
24
|
+
isSkippingByKeyDown(): boolean;
|
|
25
25
|
waitEvent(fnc: () => void, canskip?: boolean, global?: boolean): boolean;
|
|
26
26
|
popLocalEvts(): IHEvt2Fnc;
|
|
27
27
|
pushLocalEvts(a: IHEvt2Fnc): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CmnLib.d.ts","sourceRoot":"","sources":["../../src/sn/CmnLib.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,IAAI,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAG/C,wBAAgB,GAAG,CAAC,CAAC,EAAE,GAAG,GAAG,MAAM,CAAiC;AACpE,wBAAgB,IAAI,CAAC,CAAC,EAAE,GAAG,GAAG,MAAM,CAGnC;AAWD,wBAAgB,UAAU,CAAC,MAAM,SAAM,EAAE,MAAM,SAAM,EAAE,MAAM,SAAM,EAAE,MAAM,SAAK,GAAG,MAAM,CAQxF;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;CAWtB,CAAC;AAGF,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,EAAE,CAkBpD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Q,UAAS;IACxB,MAAM,CAAC,QAAQ,UAA8B;IAC7C,MAAM,CAAC,SAAS,UAA+B;IAC/C,MAAM,CAAC,KAAK,UAAuD;IACnE,MAAM,CAAC,QAAQ,UAAkE;IACjF,MAAM,CAAC,IAAI,EAAI;QAAC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAM;IAC7C,MAAM,CAAC,KAAK,UAAU;IACtB,MAAM,CAAC,UAAU,UAAS;IAE1B,MAAM,CAAC,QAAQ,UAAS;IACxB,MAAM,CAAC,UAAU,UAAS;IAC1B,MAAM,CAAC,UAAU,SAAK;IAEtB,MAAM,CAAC,QAAQ,CAAC,KAAK,cAAc;IACnC,MAAM,CAAC,YAAY,EAAE,wBAAwB,CAAC;IAE9C,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO;CAyDjD"}
|
|
@@ -29,6 +29,6 @@ export declare class EventMng implements IEvtMng {
|
|
|
29
29
|
button(hArg: HArg, ctnBtn: Container, normal: () => void, hover: () => boolean, clicked: () => void): void;
|
|
30
30
|
cvsResize(): void;
|
|
31
31
|
waitLimitedEvent(hArg: HArg, onFinish: () => void): boolean;
|
|
32
|
-
|
|
32
|
+
isSkippingByKeyDown(): boolean;
|
|
33
33
|
}
|
|
34
34
|
//# sourceMappingURL=EventMng.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventMng.d.ts","sourceRoot":"","sources":["../../src/sn/EventMng.ts"],"names":[],"mappings":"AAOA,OAAO,EAAe,OAAO,EAA6B,MAAM,UAAU,CAAC;AAC3E,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAY,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAOhD,OAAO,EAAC,SAAS,EAAE,WAAW,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AAO;IAGzB,OAAO;IAoFP,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAYnC,SAAS;
|
|
1
|
+
{"version":3,"file":"FrameMng.d.ts","sourceRoot":"","sources":["../../src/sn/FrameMng.ts"],"names":[],"mappings":"AAOA,OAAO,EAAS,OAAO,EAA0C,MAAM,UAAU,CAAC;AAClF,OAAO,EAAC,MAAM,EAAW,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAQ,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAMhC,qBAAa,QAAS,YAAW,OAAO;;IAC3B,OAAO,CAAC,QAAQ,CAAC,GAAG;IAAuB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAAe,OAAO,CAAC,QAAQ,CAAC,GAAG;IAAa,OAAO,CAAC,QAAQ,CAAC,IAAI;IAAS,OAAO,CAAC,QAAQ,CAAC,GAAG;IAAW,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAtL,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAmB,OAAO,EAAE,WAAW,EAAmB,GAAG,EAAE,SAAS,EAAmB,IAAI,EAAE,KAAK,EAAmB,GAAG,EAAE,OAAO,EAAmB,MAAM,EAAE;QAAC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC;IAU7O,SAAS,CAAC,MAAM,EAAE,OAAO;IAGzB,OAAO;IAoFP,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAYnC,SAAS;CAyOT"}
|
|
@@ -42,9 +42,9 @@ export declare class LayerMng implements IGetFrm {
|
|
|
42
42
|
clickTxtLay(): void;
|
|
43
43
|
static get msecChWait(): number;
|
|
44
44
|
static set msecChWait(v: number);
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
setNormalChWait(): void;
|
|
46
|
+
get currentTxtlayForeNeedErr(): TxtLayer;
|
|
47
|
+
get currentTxtlayFore(): TxtLayer | undefined;
|
|
48
48
|
recText(txt: string, pagebreak?: boolean): void;
|
|
49
49
|
record(): any;
|
|
50
50
|
playback($hPages: HIPage, fncComp: () => void): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerMng.d.ts","sourceRoot":"","sources":["../../src/sn/LayerMng.ts"],"names":[],"mappings":"AAOA,OAAO,EAA2B,OAAO,EAAsF,MAAM,UAAU,CAAC;AAEhJ,OAAO,EAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAQ,OAAO,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAGpC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAGlC,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAY,WAAW,EAAsF,MAAM,SAAS,CAAC;AAEpI,MAAM,WAAW,eAAe;IAAG,CAAC,GAAG,EAAG,UAAU,GAAG,IAAI,CAAC;CAAE;AAE9D,MAAM,WAAW,KAAK;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC;AAE9C,qBAAa,QAAS,YAAW,OAAO;;IAO3B,OAAO,CAAC,QAAQ,CAAC,GAAG;IAAU,OAAO,CAAC,QAAQ,CAAC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AoCvB,cAAc,OAAQ,MAAM,aAAoC;IAGhE,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,SAAM;IAgBtC,SAAS,CAAC,MAAM,EAAE,OAAO;IAMzB,cAAc;IACd,OAAO;IAYP,SAAS;IAgBT,KAAK,aAAW;IAChB,SAAS,aAAW;IACpB,SAAS,aAAW;IACpB,UAAU;IAOV,WAAW;IAyjBX,MAAM,KAAK,UAAU,WAAiC;IACtD,MAAM,KAAK,UAAU,CAAC,CAAC,QAAA,EAA6B;IAiCpD,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;IA8JtC,MAAM,IAAI,GAAG;IAYb,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAK,IAAI,GAAG,IAAI;CAmCnD"}
|
|
@@ -24,7 +24,6 @@ export declare class ScriptIterator {
|
|
|
24
24
|
firstWait: () => void;
|
|
25
25
|
destroy(): void;
|
|
26
26
|
cnvPath4Dbg: (fn: string) => string;
|
|
27
|
-
unregisterClickEvts(): void;
|
|
28
27
|
isBreak: (_token: string) => boolean;
|
|
29
28
|
タグ解析(tagToken: string): boolean;
|
|
30
29
|
setOtherObj(evtMng: EventMng, layMng: LayerMng): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScriptIterator.d.ts","sourceRoot":"","sources":["../../src/sn/ScriptIterator.ts"],"names":[],"mappings":"AAQA,OAAO,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAS,IAAI,EAAU,WAAW,EAAC,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAGhC,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAC,QAAQ,EAAC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NpB,IAAI,QAAQ,IAAI,OAAO,CAAyB;IAKhD,IAAI,YAAY,IAAI,OAAO,CAoB1B;IAGD,IAAI,UAAU,IAAI,MAAM,CAYvB;IAmID,IAAI,SAAS,YAA2B;IAoExC,UAAU;IA8BV,YAAY,CAAC,IAAI,EAAE,IAAI;IA0BvB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;CAEhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@famibee/skynovel",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.5",
|
|
4
4
|
"description": "webgl novelgame framework",
|
|
5
5
|
"main": "core/web.js",
|
|
6
6
|
"types": "core/lib/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@types/electron-json-storage": "^4.5.0",
|
|
30
30
|
"@types/fs-extra": "^9.0.13",
|
|
31
31
|
"@types/mocha": "^9.0.0",
|
|
32
|
-
"@types/node": "^17.0.
|
|
32
|
+
"@types/node": "^17.0.5",
|
|
33
33
|
"@types/parsimmon": "^1.10.6",
|
|
34
34
|
"@types/platform": "^1.3.4",
|
|
35
35
|
"@types/power-assert": "^1.5.8",
|
package/web.js
CHANGED
|
@@ -68926,7 +68926,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
68926
68926
|
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");
|
|
68927
68927
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
68928
68928
|
};
|
|
68929
|
-
var _EventMng_instances, _EventMng_elc, _EventMng_cvsHint, _EventMng_picHint_w, _EventMng_picHint_h, _EventMng_padHint, _EventMng_grpHint, _EventMng_gamepad, _EventMng_fcs, _EventMng_resvFlameEvent4Wheel, _EventMng_ev_keydown, _EventMng_ev_contextmenu, _EventMng_ev_wheel, _EventMng_wheeling, _EventMng_extend_wheel, _EventMng_ev_wheel_waitstop, _EventMng_hLocalEvt2Fnc, _EventMng_hGlobalEvt2Fnc, _EventMng_isDbgBreak, _EventMng_isWait, _EventMng_getEvt2Fnc, _EventMng_waitEventBase, _EventMng_firstWait, _EventMng_dispHint, _EventMng_dispHint_hArg, _EventMng_dispHint_ctnBtn, _EventMng_dispHint_masume, _EventMng_procWheel4wle, _EventMng_elcWLE, _EventMng_clear_event, _EventMng_clear_eventer, _EventMng_event, _EventMng_canFocus, _EventMng_getHtmlElmList, _EventMng_goTxt, _EventMng_l, _EventMng_p,
|
|
68929
|
+
var _EventMng_instances, _EventMng_elc, _EventMng_cvsHint, _EventMng_picHint_w, _EventMng_picHint_h, _EventMng_padHint, _EventMng_grpHint, _EventMng_gamepad, _EventMng_fcs, _EventMng_resvFlameEvent4Wheel, _EventMng_ev_keydown, _EventMng_ev_contextmenu, _EventMng_ev_wheel, _EventMng_wheeling, _EventMng_extend_wheel, _EventMng_ev_wheel_waitstop, _EventMng_hLocalEvt2Fnc, _EventMng_hGlobalEvt2Fnc, _EventMng_isDbgBreak, _EventMng_isWait, _EventMng_getEvt2Fnc, _EventMng_waitEventBase, _EventMng_firstWait, _EventMng_dispHint, _EventMng_dispHint_hArg, _EventMng_dispHint_ctnBtn, _EventMng_dispHint_masume, _EventMng_procWheel4wle, _EventMng_elcWLE, _EventMng_clear_event, _EventMng_clear_eventer, _EventMng_event, _EventMng_canFocus, _EventMng_getHtmlElmList, _EventMng_goTxt, _EventMng_l, _EventMng_p, _EventMng_stopSkip, _EventMng_set_cancel_skip, _EventMng_set_focus, _EventMng_wait, _EventMng_cancelWait, _EventMng_waitclick, _EventMng_hDownKeys;
|
|
68930
68930
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
68931
68931
|
exports.EventMng = void 0;
|
|
68932
68932
|
const CmnLib_1 = __webpack_require__(/*! ./CmnLib */ "./core/src/sn/CmnLib.ts");
|
|
@@ -69001,7 +69001,8 @@ class EventMng {
|
|
|
69001
69001
|
_EventMng_procWheel4wle.set(this, (_elc, _fnc) => { });
|
|
69002
69002
|
_EventMng_elcWLE.set(this, new EventListenerCtn_1.EventListenerCtn);
|
|
69003
69003
|
_EventMng_goTxt.set(this, () => this.layMng.goTxt());
|
|
69004
|
-
|
|
69004
|
+
_EventMng_stopSkip.set(this, () => false);
|
|
69005
|
+
_EventMng_cancelWait.set(this, () => { });
|
|
69005
69006
|
_EventMng_hDownKeys.set(this, {
|
|
69006
69007
|
'Alt': 0,
|
|
69007
69008
|
'Meta': 0,
|
|
@@ -69202,26 +69203,23 @@ class EventMng {
|
|
|
69202
69203
|
__classPrivateFieldGet(this, _EventMng_cvsHint, "f")?.parentElement.removeChild(__classPrivateFieldGet(this, _EventMng_cvsHint, "f"));
|
|
69203
69204
|
}
|
|
69204
69205
|
fire(KEY, e) {
|
|
69205
|
-
if (__classPrivateFieldGet(this,
|
|
69206
|
-
|
|
69207
|
-
if (!__classPrivateFieldGet(this, _EventMng_isWait, "f"))
|
|
69206
|
+
if (__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this)
|
|
69207
|
+
|| !__classPrivateFieldGet(this, _EventMng_isWait, "f") || __classPrivateFieldGet(this, _EventMng_isDbgBreak, "f"))
|
|
69208
69208
|
return;
|
|
69209
69209
|
const key = KEY.toLowerCase();
|
|
69210
69210
|
if (CmnLib_1.CmnLib.debugLog)
|
|
69211
69211
|
console.log(`👺 fire<(key:\`${key}\` type:${e.type} e:%o)`, { ...e });
|
|
69212
69212
|
if (key === 'enter') {
|
|
69213
69213
|
const em = __classPrivateFieldGet(this, _EventMng_fcs, "f").getFocus();
|
|
69214
|
-
if (em
|
|
69214
|
+
if (em instanceof pixi_js_1.Container) {
|
|
69215
69215
|
em.emit('pointerdown', new Event('pointerdown'));
|
|
69216
69216
|
return;
|
|
69217
69217
|
}
|
|
69218
69218
|
}
|
|
69219
69219
|
const ke = __classPrivateFieldGet(this, _EventMng_getEvt2Fnc, "f").call(this, key);
|
|
69220
69220
|
if (!ke) {
|
|
69221
|
-
if (key.slice(0, 5) === 'swipe')
|
|
69222
|
-
|
|
69223
|
-
globalThis.scrollBy(-esw.deltaX ?? 0, -esw.deltaY ?? 0);
|
|
69224
|
-
}
|
|
69221
|
+
if (key.slice(0, 5) === 'swipe')
|
|
69222
|
+
globalThis.scrollBy(-e.deltaX ?? 0, -e.deltaY ?? 0);
|
|
69225
69223
|
return;
|
|
69226
69224
|
}
|
|
69227
69225
|
if (key.slice(-5) !== 'wheel')
|
|
@@ -69243,12 +69241,12 @@ class EventMng {
|
|
|
69243
69241
|
if (canskip && global)
|
|
69244
69242
|
throw `canskipとglobalを同時にtrue指定できません`;
|
|
69245
69243
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
69246
|
-
if (this.val.getVal('tmp:sn.skip.all')
|
|
69247
|
-
|
|
69244
|
+
if (this.val.getVal('tmp:sn.skip.all') ||
|
|
69245
|
+
this.scrItr.isNextKidoku) {
|
|
69248
69246
|
onFinish();
|
|
69249
69247
|
return false;
|
|
69250
69248
|
}
|
|
69251
|
-
__classPrivateFieldGet(this,
|
|
69249
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
69252
69250
|
}
|
|
69253
69251
|
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this, onFinish, canskip, global);
|
|
69254
69252
|
return true;
|
|
@@ -69341,9 +69339,9 @@ class EventMng {
|
|
|
69341
69339
|
this.val.saveKidoku();
|
|
69342
69340
|
const fnc = () => { __classPrivateFieldGet(this, _EventMng_elcWLE, "f").clear(); onFinish(); };
|
|
69343
69341
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
69344
|
-
if (!this.val.getVal('tmp:sn.skip.all')
|
|
69345
|
-
|
|
69346
|
-
__classPrivateFieldGet(this,
|
|
69342
|
+
if (!this.val.getVal('tmp:sn.skip.all') &&
|
|
69343
|
+
!this.scrItr.isNextKidoku)
|
|
69344
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
69347
69345
|
else {
|
|
69348
69346
|
fnc();
|
|
69349
69347
|
return false;
|
|
@@ -69361,17 +69359,17 @@ class EventMng {
|
|
|
69361
69359
|
__classPrivateFieldGet(this, _EventMng_procWheel4wle, "f").call(this, __classPrivateFieldGet(this, _EventMng_elcWLE, "f"), fnc);
|
|
69362
69360
|
return true;
|
|
69363
69361
|
}
|
|
69364
|
-
|
|
69362
|
+
isSkippingByKeyDown() {
|
|
69365
69363
|
if (this.scrItr.skip4page)
|
|
69366
69364
|
return true;
|
|
69367
|
-
for (const
|
|
69368
|
-
if (__classPrivateFieldGet(this, _EventMng_hDownKeys, "f")[
|
|
69365
|
+
for (const k in __classPrivateFieldGet(this, _EventMng_hDownKeys, "f"))
|
|
69366
|
+
if (__classPrivateFieldGet(this, _EventMng_hDownKeys, "f")[k] === 2)
|
|
69369
69367
|
return true;
|
|
69370
69368
|
return false;
|
|
69371
69369
|
}
|
|
69372
69370
|
}
|
|
69373
69371
|
exports.EventMng = EventMng;
|
|
69374
|
-
_EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picHint_w = new WeakMap(), _EventMng_picHint_h = new WeakMap(), _EventMng_padHint = new WeakMap(), _EventMng_grpHint = new WeakMap(), _EventMng_gamepad = new WeakMap(), _EventMng_fcs = new WeakMap(), _EventMng_resvFlameEvent4Wheel = new WeakMap(), _EventMng_wheeling = new WeakMap(), _EventMng_extend_wheel = new WeakMap(), _EventMng_hLocalEvt2Fnc = new WeakMap(), _EventMng_hGlobalEvt2Fnc = new WeakMap(), _EventMng_isDbgBreak = new WeakMap(), _EventMng_isWait = new WeakMap(), _EventMng_getEvt2Fnc = new WeakMap(), _EventMng_firstWait = new WeakMap(), _EventMng_dispHint_hArg = new WeakMap(), _EventMng_dispHint_ctnBtn = new WeakMap(), _EventMng_dispHint_masume = new WeakMap(), _EventMng_procWheel4wle = new WeakMap(), _EventMng_elcWLE = new WeakMap(), _EventMng_goTxt = new WeakMap(),
|
|
69372
|
+
_EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picHint_w = new WeakMap(), _EventMng_picHint_h = new WeakMap(), _EventMng_padHint = new WeakMap(), _EventMng_grpHint = new WeakMap(), _EventMng_gamepad = new WeakMap(), _EventMng_fcs = new WeakMap(), _EventMng_resvFlameEvent4Wheel = new WeakMap(), _EventMng_wheeling = new WeakMap(), _EventMng_extend_wheel = new WeakMap(), _EventMng_hLocalEvt2Fnc = new WeakMap(), _EventMng_hGlobalEvt2Fnc = new WeakMap(), _EventMng_isDbgBreak = new WeakMap(), _EventMng_isWait = new WeakMap(), _EventMng_getEvt2Fnc = new WeakMap(), _EventMng_firstWait = new WeakMap(), _EventMng_dispHint_hArg = new WeakMap(), _EventMng_dispHint_ctnBtn = new WeakMap(), _EventMng_dispHint_masume = new WeakMap(), _EventMng_procWheel4wle = new WeakMap(), _EventMng_elcWLE = new WeakMap(), _EventMng_goTxt = new WeakMap(), _EventMng_stopSkip = new WeakMap(), _EventMng_cancelWait = new WeakMap(), _EventMng_hDownKeys = new WeakMap(), _EventMng_instances = new WeakSet(), _EventMng_ev_keydown = function _EventMng_ev_keydown(e) {
|
|
69375
69373
|
if (e['isComposing'])
|
|
69376
69374
|
return;
|
|
69377
69375
|
if (e.key in __classPrivateFieldGet(this, _EventMng_hDownKeys, "f"))
|
|
@@ -69415,10 +69413,10 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
69415
69413
|
__classPrivateFieldGet(this, _EventMng_goTxt, "f").call(this);
|
|
69416
69414
|
this.val.saveKidoku();
|
|
69417
69415
|
if (canskip) {
|
|
69418
|
-
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['click'] =
|
|
69419
|
-
|
|
69420
|
-
|
|
69421
|
-
|
|
69416
|
+
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['click'] =
|
|
69417
|
+
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['enter'] =
|
|
69418
|
+
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['arrowdown'] =
|
|
69419
|
+
__classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['wheel.y>0'] = onFinish;
|
|
69422
69420
|
}
|
|
69423
69421
|
else {
|
|
69424
69422
|
delete __classPrivateFieldGet(this, _EventMng_hLocalEvt2Fnc, "f")['click'];
|
|
@@ -69574,10 +69572,10 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
69574
69572
|
return false;
|
|
69575
69573
|
}
|
|
69576
69574
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
69577
|
-
if (!this.val.getVal('tmp:sn.skip.all')
|
|
69578
|
-
|
|
69579
|
-
__classPrivateFieldGet(this,
|
|
69580
|
-
else if ('ps'.includes(
|
|
69575
|
+
if (!this.val.getVal('tmp:sn.skip.all') &&
|
|
69576
|
+
!this.scrItr.isNextKidoku)
|
|
69577
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
69578
|
+
else if ('ps'.includes(this.val.getVal('sys:sn.skip.mode')))
|
|
69581
69579
|
return false;
|
|
69582
69580
|
}
|
|
69583
69581
|
if (this.val.getVal('tmp:sn.auto.enabled'))
|
|
@@ -69593,10 +69591,10 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
69593
69591
|
}, _EventMng_p = function _EventMng_p(hArg) {
|
|
69594
69592
|
this.scrItr.recodePage();
|
|
69595
69593
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
69596
|
-
if (!this.val.getVal('tmp:sn.skip.all')
|
|
69597
|
-
|
|
69598
|
-
__classPrivateFieldGet(this,
|
|
69599
|
-
else if ('s'
|
|
69594
|
+
if (!this.val.getVal('tmp:sn.skip.all') &&
|
|
69595
|
+
!this.scrItr.isNextKidoku)
|
|
69596
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
69597
|
+
else if ('s' == this.val.getVal('sys:sn.skip.mode')) {
|
|
69600
69598
|
__classPrivateFieldGet(this, _EventMng_goTxt, "f").call(this);
|
|
69601
69599
|
return false;
|
|
69602
69600
|
}
|
|
@@ -69610,20 +69608,21 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
69610
69608
|
if ((0, CmnLib_1.argChk_Boolean)(hArg, 'visible', true))
|
|
69611
69609
|
this.layMng.breakPage();
|
|
69612
69610
|
const fnc = () => { this.sndMng.clearCache(); this.main.resume(); };
|
|
69613
|
-
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this,
|
|
69614
|
-
&&
|
|
69611
|
+
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this, (0, CmnLib_1.argChk_Boolean)(hArg, 'er', false)
|
|
69612
|
+
&& this.layMng.currentTxtlayFore
|
|
69615
69613
|
? () => { this.hTag.er(hArg); fnc(); }
|
|
69616
69614
|
: fnc);
|
|
69617
69615
|
return true;
|
|
69618
69616
|
}, _EventMng_set_cancel_skip = function _EventMng_set_cancel_skip() {
|
|
69619
|
-
__classPrivateFieldSet(this,
|
|
69620
|
-
__classPrivateFieldSet(this,
|
|
69617
|
+
__classPrivateFieldSet(this, _EventMng_stopSkip, () => {
|
|
69618
|
+
__classPrivateFieldSet(this, _EventMng_stopSkip, () => false, "f");
|
|
69621
69619
|
this.val.setVal_Nochk('tmp', 'sn.tagL.enabled', true);
|
|
69622
69620
|
this.val.setVal_Nochk('tmp', 'sn.skip.enabled', false);
|
|
69623
69621
|
this.val.setVal_Nochk('tmp', 'sn.auto.enabled', false);
|
|
69624
|
-
this.layMng.
|
|
69622
|
+
this.layMng.setNormalChWait();
|
|
69623
|
+
__classPrivateFieldGet(this, _EventMng_cancelWait, "f").call(this);
|
|
69624
|
+
return true;
|
|
69625
69625
|
}, "f");
|
|
69626
|
-
this.scrItr.unregisterClickEvts();
|
|
69627
69626
|
return false;
|
|
69628
69627
|
}, _EventMng_set_focus = function _EventMng_set_focus(hArg) {
|
|
69629
69628
|
const add = hArg.add;
|
|
@@ -69666,28 +69665,32 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
|
|
|
69666
69665
|
if (this.scrItr.skip4page)
|
|
69667
69666
|
return false;
|
|
69668
69667
|
if (this.val.getVal('tmp:sn.skip.enabled')) {
|
|
69669
|
-
if (!this.val.getVal('tmp:sn.skip.all')
|
|
69670
|
-
|
|
69671
|
-
__classPrivateFieldGet(this,
|
|
69672
|
-
|
|
69673
|
-
return false;
|
|
69668
|
+
if (!this.val.getVal('tmp:sn.skip.all') &&
|
|
69669
|
+
!this.scrItr.isNextKidoku)
|
|
69670
|
+
__classPrivateFieldGet(this, _EventMng_stopSkip, "f").call(this);
|
|
69671
|
+
return false;
|
|
69674
69672
|
}
|
|
69673
|
+
if (this.val.getVal('tmp:sn.auto.enabled'))
|
|
69674
|
+
__classPrivateFieldSet(this, _EventMng_cancelWait, () => {
|
|
69675
|
+
this.scrItr.subIdxToken();
|
|
69676
|
+
tw.end();
|
|
69677
|
+
}, "f");
|
|
69675
69678
|
const tw = new tween_js_1.Tween({})
|
|
69676
69679
|
.to({}, (0, CmnLib_1.uint)((0, CmnLib_1.argChk_Num)(hArg, 'time', NaN)))
|
|
69677
|
-
.onComplete(() => {
|
|
69680
|
+
.onComplete(() => {
|
|
69681
|
+
__classPrivateFieldSet(this, _EventMng_cancelWait, () => { }, "f");
|
|
69682
|
+
tw.stop();
|
|
69683
|
+
this.main.resume();
|
|
69684
|
+
})
|
|
69678
69685
|
.start();
|
|
69679
69686
|
return this.waitEvent(() => tw.end(), (0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', true), (0, CmnLib_1.argChk_Boolean)(hArg, 'global', false));
|
|
69680
69687
|
}, _EventMng_waitclick = function _EventMng_waitclick() {
|
|
69681
69688
|
if (this.scrItr.skip4page)
|
|
69682
69689
|
return false;
|
|
69683
|
-
|
|
69684
|
-
|
|
69685
|
-
|
|
69686
|
-
|
|
69687
|
-
else
|
|
69688
|
-
return false;
|
|
69689
|
-
}
|
|
69690
|
-
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this, () => this.main.resume());
|
|
69690
|
+
const fnc = () => { __classPrivateFieldSet(this, _EventMng_cancelWait, () => { }, "f"); this.main.resume(); };
|
|
69691
|
+
if (this.val.getVal('tmp:sn.auto.enabled'))
|
|
69692
|
+
__classPrivateFieldSet(this, _EventMng_cancelWait, fnc, "f");
|
|
69693
|
+
__classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_waitEventBase).call(this, fnc);
|
|
69691
69694
|
return true;
|
|
69692
69695
|
};
|
|
69693
69696
|
|
|
@@ -70208,8 +70211,8 @@ _FrameMng_evtMng = new WeakMap(), _FrameMng_hIfrm = new WeakMap(), _FrameMng_hDi
|
|
|
70208
70211
|
this.appPixi.stage.interactive = false;
|
|
70209
70212
|
const tw_nm = `frm\n${hArg.id}`;
|
|
70210
70213
|
const tw = new tween_js_1.Tween(hNow)
|
|
70211
|
-
.to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN)
|
|
70212
|
-
|
|
70214
|
+
.to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN) * (Boolean(this.val.getVal('tmp:sn.skip.enabled')
|
|
70215
|
+
|| __classPrivateFieldGet(this, _FrameMng_evtMng, "f").isSkippingByKeyDown()) ? 0 : 1))
|
|
70213
70216
|
.delay((0, CmnLib_1.argChk_Num)(hArg, 'delay', 0))
|
|
70214
70217
|
.easing(CmnTween_1.CmnTween.ease(hArg.ease))
|
|
70215
70218
|
.repeat(repeat === 0 ? Infinity : (repeat - 1))
|
|
@@ -71102,7 +71105,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
71102
71105
|
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");
|
|
71103
71106
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
71104
71107
|
};
|
|
71105
|
-
var _LayerMng_instances, _a, _LayerMng_stage, _LayerMng_fore, _LayerMng_back, _LayerMng_frmMng, _LayerMng_fncTicker, _LayerMng_hProcDbgRes, _LayerMng_modeLn, _LayerMng_modeLnSub, _LayerMng_selectNode, _LayerMng_grpCover, _LayerMng_evtMng, _LayerMng_foreachRedrawTxtLayBack, _LayerMng_cmdTxt, _LayerMng_snapshot, _LayerMng_loadplugin, _LayerMng_add_lay, _LayerMng_hPages, _LayerMng_aLayName, _LayerMng_curTxtlay, _LayerMng_firstGrplay, _LayerMng_lay, _LayerMng_rebuildLayerRankInfo, _LayerMng_clear_lay, _LayerMng_srcRuleTransFragment, _LayerMng_ufRuleTrans, _LayerMng_fltRule, _LayerMng_rtTransBack, _LayerMng_spTransBack, _LayerMng_rtTransFore, _LayerMng_spTransFore, _LayerMng_aBackTransAfter, _LayerMng_trans, _LayerMng_tiTrans, _LayerMng_getLayers, _LayerMng_foreachLayers, _LayerMng_sortLayers, _LayerMng_wt, _LayerMng_finish_trans, _LayerMng_quake, _LayerMng_hTwInf, _LayerMng_tsy, _LayerMng_wait_tsy, _LayerMng_stop_tsy, _LayerMng_pause_tsy, _LayerMng_resume_tsy, _LayerMng_msecChWait, _LayerMng_ch, _LayerMng_getTxtLayer, _LayerMng_$getTxtLayer, _LayerMng_current, _LayerMng_$current, _LayerMng_pgTxtlay,
|
|
71108
|
+
var _LayerMng_instances, _a, _LayerMng_stage, _LayerMng_fore, _LayerMng_back, _LayerMng_frmMng, _LayerMng_fncTicker, _LayerMng_hProcDbgRes, _LayerMng_modeLn, _LayerMng_modeLnSub, _LayerMng_selectNode, _LayerMng_grpCover, _LayerMng_evtMng, _LayerMng_foreachRedrawTxtLayBack, _LayerMng_cmdTxt, _LayerMng_snapshot, _LayerMng_loadplugin, _LayerMng_add_lay, _LayerMng_hPages, _LayerMng_aLayName, _LayerMng_curTxtlay, _LayerMng_firstGrplay, _LayerMng_lay, _LayerMng_rebuildLayerRankInfo, _LayerMng_clear_lay, _LayerMng_srcRuleTransFragment, _LayerMng_ufRuleTrans, _LayerMng_fltRule, _LayerMng_rtTransBack, _LayerMng_spTransBack, _LayerMng_rtTransFore, _LayerMng_spTransFore, _LayerMng_aBackTransAfter, _LayerMng_trans, _LayerMng_tiTrans, _LayerMng_getLayers, _LayerMng_foreachLayers, _LayerMng_sortLayers, _LayerMng_wt, _LayerMng_finish_trans, _LayerMng_quake, _LayerMng_hTwInf, _LayerMng_tsy, _LayerMng_wait_tsy, _LayerMng_stop_tsy, _LayerMng_pause_tsy, _LayerMng_resume_tsy, _LayerMng_msecChWait, _LayerMng_ch, _LayerMng_getTxtLayer, _LayerMng_$getTxtLayer, _LayerMng_current, _LayerMng_$current, _LayerMng_pgTxtlay, _LayerMng_chkTxtLay, _LayerMng_argChk_layer, _LayerMng_oLastPage, _LayerMng_aTxtLog, _LayerMng_clear_text, _LayerMng_endlink, _LayerMng_er, _LayerMng_graph, _LayerMng_link, _LayerMng_r, _LayerMng_rec_r, _LayerMng_rec_ch, _LayerMng_reset_rec, _LayerMng_ruby2, _LayerMng_span, _LayerMng_tcy, _LayerMng_dump_lay, _LayerMng_enable_event, _LayerMng_button;
|
|
71106
71109
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
71107
71110
|
exports.LayerMng = void 0;
|
|
71108
71111
|
const CmnLib_1 = __webpack_require__(/*! ./CmnLib */ "./core/src/sn/CmnLib.ts");
|
|
@@ -71159,7 +71162,7 @@ class LayerMng {
|
|
|
71159
71162
|
this.getFrmDisabled = (id) => __classPrivateFieldGet(this, _LayerMng_frmMng, "f").getFrmDisabled(id);
|
|
71160
71163
|
_LayerMng_grpCover.set(this, null);
|
|
71161
71164
|
_LayerMng_evtMng.set(this, void 0);
|
|
71162
|
-
_LayerMng_cmdTxt.set(this, (cmd, tl = this.
|
|
71165
|
+
_LayerMng_cmdTxt.set(this, (cmd, tl = this.currentTxtlayForeNeedErr, _record = true) => tl.tagCh('| 《' + cmd + '》'));
|
|
71163
71166
|
this.goTxt = () => { };
|
|
71164
71167
|
this.breakLine = () => { };
|
|
71165
71168
|
this.breakPage = () => { };
|
|
@@ -71217,10 +71220,10 @@ void main(void) {
|
|
|
71217
71220
|
_LayerMng_aBackTransAfter.set(this, []);
|
|
71218
71221
|
_LayerMng_tiTrans.set(this, { tw: null, resume: false });
|
|
71219
71222
|
_LayerMng_hTwInf.set(this, {});
|
|
71220
|
-
_LayerMng_getTxtLayer.set(this, (_hArg) => { __classPrivateFieldGet(this,
|
|
71221
|
-
_LayerMng_current.set(this, (_hArg) => { __classPrivateFieldGet(this,
|
|
71223
|
+
_LayerMng_getTxtLayer.set(this, (_hArg) => { __classPrivateFieldGet(this, _LayerMng_chkTxtLay, "f").call(this); throw 0; });
|
|
71224
|
+
_LayerMng_current.set(this, (_hArg) => { __classPrivateFieldGet(this, _LayerMng_chkTxtLay, "f").call(this); throw 0; });
|
|
71222
71225
|
_LayerMng_pgTxtlay.set(this, void 0);
|
|
71223
|
-
|
|
71226
|
+
_LayerMng_chkTxtLay.set(this, () => { throw '文字レイヤーがありません。文字表示や操作する前に、[add_lay layer=(レイヤ名) class=txt]で文字レイヤを追加して下さい'; });
|
|
71224
71227
|
_LayerMng_oLastPage.set(this, { text: '' });
|
|
71225
71228
|
_LayerMng_aTxtLog.set(this, []);
|
|
71226
71229
|
const cvs = document.getElementById(CmnLib_1.CmnLib.SN_ID);
|
|
@@ -71318,7 +71321,7 @@ void main(void) {
|
|
|
71318
71321
|
val.defTmp('const.sn.log.json', () => JSON.stringify((__classPrivateFieldGet(this, _LayerMng_oLastPage, "f").text)
|
|
71319
71322
|
? [...__classPrivateFieldGet(this, _LayerMng_aTxtLog, "f"), __classPrivateFieldGet(this, _LayerMng_oLastPage, "f")]
|
|
71320
71323
|
: __classPrivateFieldGet(this, _LayerMng_aTxtLog, "f")));
|
|
71321
|
-
val.defTmp('const.sn.last_page_text', () => this.
|
|
71324
|
+
val.defTmp('const.sn.last_page_text', () => this.currentTxtlayFore?.pageText ?? '');
|
|
71322
71325
|
if (CmnLib_1.CmnLib.isDbg) {
|
|
71323
71326
|
DesignCast_1.DesignCast.init(this.appPixi, sys, scrItr, prpPrs, alzTagArg, this.cfg, __classPrivateFieldGet(this, _LayerMng_hPages, "f"));
|
|
71324
71327
|
this.cvsResizeDesign = () => DesignCast_1.DesignCast.cvsResizeDesign();
|
|
@@ -71361,13 +71364,13 @@ void main(void) {
|
|
|
71361
71364
|
}
|
|
71362
71365
|
stopAllTw() { __classPrivateFieldSet(this, _LayerMng_hTwInf, {}, "f"); (0, tween_js_1.removeAll)(); }
|
|
71363
71366
|
clearBreak() {
|
|
71364
|
-
if (!this.
|
|
71367
|
+
if (!this.currentTxtlayFore)
|
|
71365
71368
|
return;
|
|
71366
71369
|
this.clearBreak = () => __classPrivateFieldGet(this, _LayerMng_cmdTxt, "f").call(this, 'del|break');
|
|
71367
71370
|
this.clearBreak();
|
|
71368
71371
|
}
|
|
71369
71372
|
clickTxtLay() {
|
|
71370
|
-
if (!this.
|
|
71373
|
+
if (!this.currentTxtlayFore)
|
|
71371
71374
|
return;
|
|
71372
71375
|
const vct = __classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_getLayers).call(this);
|
|
71373
71376
|
const len = vct.length;
|
|
@@ -71383,12 +71386,12 @@ void main(void) {
|
|
|
71383
71386
|
}
|
|
71384
71387
|
static get msecChWait() { return __classPrivateFieldGet(LayerMng, _a, "f", _LayerMng_msecChWait); }
|
|
71385
71388
|
static set msecChWait(v) { __classPrivateFieldSet(LayerMng, _a, v, "f", _LayerMng_msecChWait); }
|
|
71386
|
-
|
|
71387
|
-
|
|
71388
|
-
__classPrivateFieldGet(this,
|
|
71389
|
-
return this.
|
|
71389
|
+
setNormalChWait() { __classPrivateFieldSet(LayerMng, _a, this.scrItr.normalWait, "f", _LayerMng_msecChWait); }
|
|
71390
|
+
get currentTxtlayForeNeedErr() {
|
|
71391
|
+
__classPrivateFieldGet(this, _LayerMng_chkTxtLay, "f").call(this);
|
|
71392
|
+
return this.currentTxtlayFore;
|
|
71390
71393
|
}
|
|
71391
|
-
|
|
71394
|
+
get currentTxtlayFore() {
|
|
71392
71395
|
if (!__classPrivateFieldGet(this, _LayerMng_pgTxtlay, "f"))
|
|
71393
71396
|
return undefined;
|
|
71394
71397
|
return __classPrivateFieldGet(this, _LayerMng_pgTxtlay, "f").fore;
|
|
@@ -71456,7 +71459,7 @@ void main(void) {
|
|
|
71456
71459
|
}
|
|
71457
71460
|
}
|
|
71458
71461
|
exports.LayerMng = LayerMng;
|
|
71459
|
-
_a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(), _LayerMng_back = new WeakMap(), _LayerMng_frmMng = new WeakMap(), _LayerMng_fncTicker = new WeakMap(), _LayerMng_hProcDbgRes = new WeakMap(), _LayerMng_modeLn = new WeakMap(), _LayerMng_modeLnSub = new WeakMap(), _LayerMng_grpCover = new WeakMap(), _LayerMng_evtMng = new WeakMap(), _LayerMng_cmdTxt = new WeakMap(), _LayerMng_hPages = new WeakMap(), _LayerMng_aLayName = new WeakMap(), _LayerMng_curTxtlay = new WeakMap(), _LayerMng_firstGrplay = new WeakMap(), _LayerMng_srcRuleTransFragment = new WeakMap(), _LayerMng_ufRuleTrans = new WeakMap(), _LayerMng_fltRule = new WeakMap(), _LayerMng_rtTransBack = new WeakMap(), _LayerMng_spTransBack = new WeakMap(), _LayerMng_rtTransFore = new WeakMap(), _LayerMng_spTransFore = new WeakMap(), _LayerMng_aBackTransAfter = new WeakMap(), _LayerMng_tiTrans = new WeakMap(), _LayerMng_hTwInf = new WeakMap(), _LayerMng_getTxtLayer = new WeakMap(), _LayerMng_current = new WeakMap(), _LayerMng_pgTxtlay = new WeakMap(),
|
|
71462
|
+
_a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(), _LayerMng_back = new WeakMap(), _LayerMng_frmMng = new WeakMap(), _LayerMng_fncTicker = new WeakMap(), _LayerMng_hProcDbgRes = new WeakMap(), _LayerMng_modeLn = new WeakMap(), _LayerMng_modeLnSub = new WeakMap(), _LayerMng_grpCover = new WeakMap(), _LayerMng_evtMng = new WeakMap(), _LayerMng_cmdTxt = new WeakMap(), _LayerMng_hPages = new WeakMap(), _LayerMng_aLayName = new WeakMap(), _LayerMng_curTxtlay = new WeakMap(), _LayerMng_firstGrplay = new WeakMap(), _LayerMng_srcRuleTransFragment = new WeakMap(), _LayerMng_ufRuleTrans = new WeakMap(), _LayerMng_fltRule = new WeakMap(), _LayerMng_rtTransBack = new WeakMap(), _LayerMng_spTransBack = new WeakMap(), _LayerMng_rtTransFore = new WeakMap(), _LayerMng_spTransFore = new WeakMap(), _LayerMng_aBackTransAfter = new WeakMap(), _LayerMng_tiTrans = new WeakMap(), _LayerMng_hTwInf = new WeakMap(), _LayerMng_getTxtLayer = new WeakMap(), _LayerMng_current = new WeakMap(), _LayerMng_pgTxtlay = new WeakMap(), _LayerMng_chkTxtLay = new WeakMap(), _LayerMng_oLastPage = new WeakMap(), _LayerMng_aTxtLog = new WeakMap(), _LayerMng_instances = new WeakSet(), _LayerMng_selectNode = function _LayerMng_selectNode(node) {
|
|
71460
71463
|
var _b, _c;
|
|
71461
71464
|
_b = this, _c = this, [({ set value(_a) { __classPrivateFieldSet(_b, _LayerMng_modeLn, _a, "f"); } }).value, ({ set value(_a) { __classPrivateFieldSet(_c, _LayerMng_modeLnSub, _a, "f"); } }).value = ''] = node.split('/');
|
|
71462
71465
|
const pages = __classPrivateFieldGet(this, _LayerMng_hPages, "f")[__classPrivateFieldGet(this, _LayerMng_modeLn, "f")];
|
|
@@ -71559,7 +71562,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
71559
71562
|
switch (cls) {
|
|
71560
71563
|
case 'txt':
|
|
71561
71564
|
if (!__classPrivateFieldGet(this, _LayerMng_curTxtlay, "f")) {
|
|
71562
|
-
__classPrivateFieldSet(this,
|
|
71565
|
+
__classPrivateFieldSet(this, _LayerMng_chkTxtLay, () => { }, "f");
|
|
71563
71566
|
__classPrivateFieldSet(this, _LayerMng_getTxtLayer, __classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_$getTxtLayer), "f");
|
|
71564
71567
|
__classPrivateFieldSet(this, _LayerMng_current, __classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_$current), "f");
|
|
71565
71568
|
this.hTag.current({ layer: layer });
|
|
@@ -71568,7 +71571,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
71568
71571
|
__classPrivateFieldSet(LayerMng, _a, 0, "f", _LayerMng_msecChWait);
|
|
71569
71572
|
}
|
|
71570
71573
|
else {
|
|
71571
|
-
this.
|
|
71574
|
+
this.setNormalChWait();
|
|
71572
71575
|
}
|
|
71573
71576
|
__classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_getLayers).call(this).forEach(name => {
|
|
71574
71577
|
const pg = __classPrivateFieldGet(this, _LayerMng_hPages, "f")[name];
|
|
@@ -71693,7 +71696,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
71693
71696
|
};
|
|
71694
71697
|
__classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: null, resume: false }, "f");
|
|
71695
71698
|
const time = (0, CmnLib_1.argChk_Num)(hArg, 'time', 0);
|
|
71696
|
-
if (time === 0 || __classPrivateFieldGet(this, _LayerMng_evtMng, "f").
|
|
71699
|
+
if (time === 0 || __classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown()) {
|
|
71697
71700
|
comp();
|
|
71698
71701
|
return false;
|
|
71699
71702
|
}
|
|
@@ -71767,7 +71770,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
71767
71770
|
__classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_finish_trans).call(this);
|
|
71768
71771
|
if (this.val.getVal('tmp:sn.skip.enabled'))
|
|
71769
71772
|
return false;
|
|
71770
|
-
if (__classPrivateFieldGet(this, _LayerMng_evtMng, "f").
|
|
71773
|
+
if (__classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown())
|
|
71771
71774
|
return false;
|
|
71772
71775
|
const aDo = [];
|
|
71773
71776
|
__classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_getLayers).call(this, hArg.layer).forEach(lay_nm => {
|
|
@@ -71823,8 +71826,8 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
71823
71826
|
const repeat = (0, CmnLib_1.argChk_Num)(hArg, 'repeat', 1);
|
|
71824
71827
|
const tw_nm = hArg.name ?? hArg.layer;
|
|
71825
71828
|
const tw = new tween_js_1.Tween(foreLay)
|
|
71826
|
-
.to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN) * (
|
|
71827
|
-
||
|
|
71829
|
+
.to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN) * (Boolean(this.val.getVal('tmp:sn.skip.enabled')
|
|
71830
|
+
|| __classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown()) ? 0 : 1))
|
|
71828
71831
|
.delay((0, CmnLib_1.argChk_Num)(hArg, 'delay', 0))
|
|
71829
71832
|
.easing(CmnTween_1.CmnTween.ease(hArg.ease))
|
|
71830
71833
|
.repeat(repeat === 0 ? Infinity : (repeat - 1))
|
|
@@ -71892,11 +71895,10 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
|
|
|
71892
71895
|
throw 'textは必須です';
|
|
71893
71896
|
const tl = __classPrivateFieldGet(this, _LayerMng_getTxtLayer, "f").call(this, hArg);
|
|
71894
71897
|
delete hArg.text;
|
|
71895
|
-
if ('
|
|
71898
|
+
if (this.val.getVal('tmp:sn.skip.enabled'))
|
|
71899
|
+
hArg.wait = 0;
|
|
71900
|
+
else if ('wait' in hArg)
|
|
71896
71901
|
(0, CmnLib_1.argChk_Num)(hArg, 'wait', NaN);
|
|
71897
|
-
if (this.val.getVal('tmp:sn.skip.enabled'))
|
|
71898
|
-
hArg.wait = 0;
|
|
71899
|
-
}
|
|
71900
71902
|
__classPrivateFieldGet(this, _LayerMng_cmdTxt, "f").call(this, 'add|' + JSON.stringify(hArg), tl);
|
|
71901
71903
|
const record = (0, CmnLib_1.argChk_Boolean)(hArg, 'record', true);
|
|
71902
71904
|
const doRecLog = this.val.doRecLog();
|
|
@@ -72262,7 +72264,7 @@ _Main_cfg = new WeakMap(), _Main_appPixi = new WeakMap(), _Main_hTag = new WeakM
|
|
|
72262
72264
|
else if (uc === 42 && token.length > 1)
|
|
72263
72265
|
continue;
|
|
72264
72266
|
try {
|
|
72265
|
-
const tl = __classPrivateFieldGet(this, _Main_layMng, "f").
|
|
72267
|
+
const tl = __classPrivateFieldGet(this, _Main_layMng, "f").currentTxtlayForeNeedErr;
|
|
72266
72268
|
tl.tagCh(token);
|
|
72267
72269
|
}
|
|
72268
72270
|
catch (err) {
|
|
@@ -73031,15 +73033,6 @@ class ScriptIterator {
|
|
|
73031
73033
|
get lineNum() { return __classPrivateFieldGet(this, _ScriptIterator_lineNum, "f"); }
|
|
73032
73034
|
destroy() { this.isBreak = () => false; }
|
|
73033
73035
|
;
|
|
73034
|
-
unregisterClickEvts() {
|
|
73035
|
-
__classPrivateFieldGet(this, _ScriptIterator_aCallStk, "f").forEach(cs => {
|
|
73036
|
-
const hE1T = cs.csArg[':hEvt1Time'];
|
|
73037
|
-
delete hE1T['Click'];
|
|
73038
|
-
delete hE1T['Enter'];
|
|
73039
|
-
delete hE1T['ArrowDown'];
|
|
73040
|
-
delete hE1T['wheel.y>0'];
|
|
73041
|
-
});
|
|
73042
|
-
}
|
|
73043
73036
|
タグ解析(tagToken) {
|
|
73044
73037
|
const [tag_name, args] = (0, Grammar_1.tagToken2Name_Args)(tagToken);
|
|
73045
73038
|
const tag_fnc = this.hTag[tag_name];
|
|
@@ -74133,7 +74126,7 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
|
|
|
74133
74126
|
if (!fn)
|
|
74134
74127
|
throw '[playse] fnは必須です(buf=' + buf + ')';
|
|
74135
74128
|
if ((0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', true)
|
|
74136
|
-
&& __classPrivateFieldGet(this, _SoundMng_evtMng, "f").
|
|
74129
|
+
&& __classPrivateFieldGet(this, _SoundMng_evtMng, "f").isSkippingByKeyDown())
|
|
74137
74130
|
return false;
|
|
74138
74131
|
const loop = (0, CmnLib_1.argChk_Boolean)(hArg, 'loop', false);
|
|
74139
74132
|
__classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_addLoopPlay).call(this, buf, loop);
|
|
@@ -75080,7 +75073,7 @@ class TxtLayer extends Layer_1.Layer {
|
|
|
75080
75073
|
console.log(`🖊 文字表示 text:\`${ch}\` ruby:\`${ruby}\` name:\`${this.name_}\``);
|
|
75081
75074
|
const a_ruby = ruby.split('|');
|
|
75082
75075
|
let add_htm = '';
|
|
75083
|
-
const isSkip = __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_evtMng).
|
|
75076
|
+
const isSkip = __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_evtMng).isSkippingByKeyDown();
|
|
75084
75077
|
switch (a_ruby.length) {
|
|
75085
75078
|
case 1:
|
|
75086
75079
|
__classPrivateFieldSet(this, _TxtLayer_needGoTxt, true, "f");
|