@famibee/skynovel 1.29.4 → 1.29.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/dist/app.js +2 -12
- package/dist/app.js.map +1 -1
- package/dist/appMain.d.ts.map +1 -1
- package/dist/appMain.js +11 -11
- package/dist/appMain.js.map +1 -1
- package/dist/sn/CmnLib.d.ts.map +1 -1
- package/dist/sn/Config.d.ts.map +1 -1
- package/dist/sn/Grammar.d.ts.map +1 -1
- package/dist/sn/ScriptIterator.d.ts.map +1 -1
- package/dist/sn/TxtStage.d.ts.map +1 -1
- package/dist/sn/Variable.d.ts.map +1 -1
- package/dist/web.js +2 -12
- package/dist/web.js.map +1 -1
- package/package.json +5 -4
package/dist/app.js
CHANGED
|
@@ -795,7 +795,6 @@ function argChk_Boolean(hash2, name2, def) {
|
|
|
795
795
|
return hash2[name2] = v22 === "false" ? false : Boolean(v22);
|
|
796
796
|
}
|
|
797
797
|
function parseColor(v2) {
|
|
798
|
-
console.log(`fn:CmnLib.ts line:152 v:%o`, v2);
|
|
799
798
|
if (v2.charAt(0) === "#")
|
|
800
799
|
return parseInt(v2.slice(1), 16);
|
|
801
800
|
const n = Number(v2);
|
|
@@ -3512,7 +3511,6 @@ const _Config = class {
|
|
|
3512
3511
|
this.sys.ensureFileSync(fp);
|
|
3513
3512
|
return fp;
|
|
3514
3513
|
}
|
|
3515
|
-
__privateGet$5(this, _REG_PATH).lastIndex = 0;
|
|
3516
3514
|
const a2 = path.match(__privateGet$5(this, _REG_PATH));
|
|
3517
3515
|
let fn = a2 ? a2[1] : path;
|
|
3518
3516
|
const ext = a2 ? a2[2] : "";
|
|
@@ -3723,7 +3721,6 @@ class Grammar {
|
|
|
3723
3721
|
return;
|
|
3724
3722
|
for (let i2 = scr.len - 1; i2 >= start_idx; --i2) {
|
|
3725
3723
|
const token = scr.aToken[i2];
|
|
3726
|
-
this.REG_TOKEN_NOTXT.lastIndex = 0;
|
|
3727
3724
|
if (this.REG_TOKEN_NOTXT.test(token.charAt(0)))
|
|
3728
3725
|
continue;
|
|
3729
3726
|
const lnum = scr.aLNum[i2];
|
|
@@ -3775,10 +3772,8 @@ class Grammar {
|
|
|
3775
3772
|
throw "[bracket2macro] text\u3010" + op + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
|
|
3776
3773
|
if (cl in __privateGet(this, _hC2M))
|
|
3777
3774
|
throw "[bracket2macro] text\u3010" + cl + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
|
|
3778
|
-
__privateGet(this, _REG_CANTC2M).lastIndex = 0;
|
|
3779
3775
|
if (__privateGet(this, _REG_CANTC2M).test(op))
|
|
3780
3776
|
throw "[bracket2macro] text\u3010" + op + "\u3011\u306F\u62EC\u5F27\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
|
|
3781
|
-
__privateGet(this, _REG_CANTC2M).lastIndex = 0;
|
|
3782
3777
|
if (__privateGet(this, _REG_CANTC2M).test(cl))
|
|
3783
3778
|
throw "[bracket2macro] text\u3010" + cl + "\u3011\u306F\u62EC\u5F27\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
|
|
3784
3779
|
__privateGet(this, _hC2M)[cl] = "0";
|
|
@@ -3794,7 +3789,6 @@ class Grammar {
|
|
|
3794
3789
|
(_a3 = __privateGet(this, _hC2M)) != null ? _a3 : __privateSet(this, _hC2M, {});
|
|
3795
3790
|
if (char in __privateGet(this, _hC2M))
|
|
3796
3791
|
throw "[char2macro] char\u3010" + char + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
|
|
3797
|
-
__privateGet(this, _REG_CANTC2M).lastIndex = 0;
|
|
3798
3792
|
if (__privateGet(this, _REG_CANTC2M).test(char))
|
|
3799
3793
|
throw "[char2macro] char\u3010" + char + "\u3011\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
|
|
3800
3794
|
if (!name)
|
|
@@ -5501,7 +5495,6 @@ castAuto_fn = function(val) {
|
|
|
5501
5495
|
return null;
|
|
5502
5496
|
if (s_val === "undefined")
|
|
5503
5497
|
return void 0;
|
|
5504
|
-
__privateGet(this, _REG_NUMERICLITERAL).lastIndex = 0;
|
|
5505
5498
|
if (__privateGet(this, _REG_NUMERICLITERAL).test(s_val))
|
|
5506
5499
|
return parseFloat(s_val);
|
|
5507
5500
|
return val;
|
|
@@ -46534,7 +46527,6 @@ const _TxtStage = class extends Container {
|
|
|
46534
46527
|
const { name } = hArg;
|
|
46535
46528
|
if (!name)
|
|
46536
46529
|
throw "name\u306F\u5FC5\u9808\u3067\u3059";
|
|
46537
|
-
__privateGet(_TxtStage, _REG_NG_CHSTYLE_NAME_CHR).lastIndex = 0;
|
|
46538
46530
|
if (__privateGet(_TxtStage, _REG_NG_CHSTYLE_NAME_CHR).test(name))
|
|
46539
46531
|
throw `name\u3010${name}\u3011\u306B\u4F7F\u3048\u306A\u3044\u6587\u5B57\u304C\u542B\u307E\u308C\u307E\u3059`;
|
|
46540
46532
|
if (name in __privateGet(_TxtStage, _hChInStyle))
|
|
@@ -46563,7 +46555,6 @@ const _TxtStage = class extends Container {
|
|
|
46563
46555
|
const { name } = hArg;
|
|
46564
46556
|
if (!name)
|
|
46565
46557
|
throw "name\u306F\u5FC5\u9808\u3067\u3059";
|
|
46566
|
-
__privateGet(_TxtStage, _REG_NG_CHSTYLE_NAME_CHR).lastIndex = 0;
|
|
46567
46558
|
if (__privateGet(_TxtStage, _REG_NG_CHSTYLE_NAME_CHR).test(name))
|
|
46568
46559
|
throw `name\u3010${name}\u3011\u306B\u4F7F\u3048\u306A\u3044\u6587\u5B57\u304C\u542B\u307E\u308C\u307E\u3059`;
|
|
46569
46560
|
if (name in __privateGet(_TxtStage, _hChOutStyle))
|
|
@@ -47114,8 +47105,9 @@ var __privateMethod$1 = (obj, member, method) => {
|
|
|
47114
47105
|
var _procMasume4txt, _procMasume4pic, _rctBtnTxt, _idc, _sp_b_pic, _sp_pic, _loaded_b_pic, loaded_b_pic_fn, _normal, _hover, _clicked, _loaded_pic, loaded_pic_fn;
|
|
47115
47106
|
const _Button = class extends Container {
|
|
47116
47107
|
constructor(hArg, evtMng, resolve2, canFocus) {
|
|
47117
|
-
super();
|
|
47118
47108
|
var _a4, _b3, _c3;
|
|
47109
|
+
var _a3;
|
|
47110
|
+
super();
|
|
47119
47111
|
this.hArg = hArg;
|
|
47120
47112
|
this.evtMng = evtMng;
|
|
47121
47113
|
this.resolve = resolve2;
|
|
@@ -47132,7 +47124,6 @@ const _Button = class extends Container {
|
|
|
47132
47124
|
__privateAdd$1(this, _hover, () => false);
|
|
47133
47125
|
__privateAdd$1(this, _clicked, () => {
|
|
47134
47126
|
});
|
|
47135
|
-
var _a3;
|
|
47136
47127
|
if (CmnLib.isDbg) {
|
|
47137
47128
|
this.makeDesignCast = (gdc) => gdc(__privateGet$1(this, _idc));
|
|
47138
47129
|
this.cvsResize = () => __privateGet$1(this, _idc).cvsResize();
|
|
@@ -50912,7 +50903,6 @@ const _ScriptIterator = class {
|
|
|
50912
50903
|
__privateSet(this, _replaceScript_Wildcard, () => {
|
|
50913
50904
|
for (let i2 = __privateGet(this, _script).len - 1; i2 >= 0; --i2) {
|
|
50914
50905
|
const token = __privateGet(this, _script).aToken[i2];
|
|
50915
|
-
__privateGet(this, _REG_WILDCARD).lastIndex = 0;
|
|
50916
50906
|
if (!__privateGet(this, _REG_WILDCARD).test(token))
|
|
50917
50907
|
continue;
|
|
50918
50908
|
const [tag_name, args] = tagToken2Name_Args(token);
|