@famibee/skynovel 1.43.6 → 1.43.7
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 +6176 -6580
- package/dist/app.js.map +1 -1
- package/dist/sn/DesignCast.d.ts +11 -113
- package/dist/sn/DesignCast.d.ts.map +1 -1
- package/dist/sn/TxtStage.d.ts.map +1 -1
- package/dist/web.js +2823 -3227
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/sn/DesignCast.d.ts
CHANGED
|
@@ -8,149 +8,47 @@ import { TxtStage } from './TxtStage';
|
|
|
8
8
|
import { Button } from './Button';
|
|
9
9
|
import { GrpLayer } from './GrpLayer';
|
|
10
10
|
import { Config } from './Config';
|
|
11
|
-
import { Application,
|
|
11
|
+
import { Application, Text, Sprite } from 'pixi.js';
|
|
12
12
|
export declare class DesignCast {
|
|
13
|
-
#private;
|
|
14
13
|
readonly bg_col: string;
|
|
15
14
|
readonly isLay: boolean;
|
|
16
|
-
|
|
17
|
-
protected static prpPrs: IPropParser;
|
|
18
|
-
protected static hPages: HPage;
|
|
19
|
-
protected static divHint: HTMLDivElement;
|
|
20
|
-
static init(appPixi: Application, sys: SysBase, scrItr: ScriptIterator, prpPrs: IPropParser, alzTagArg: AnalyzeTagArg, cfg: Config, hPages: HPage): void;
|
|
21
|
-
protected static setHint(txt: string, x: number, y: number, dc: DesignCast): void;
|
|
15
|
+
static init(_appPixi: Application, _sys: SysBase, _scrItr: ScriptIterator, _prpPrs: IPropParser, _alzTagArg: AnalyzeTagArg, _cfg: Config, _hPages: HPage): void;
|
|
22
16
|
static cvsResizeDesign(): void;
|
|
23
17
|
constructor(bg_col: string, isLay?: boolean);
|
|
24
18
|
destroy(): void;
|
|
25
19
|
gethArg(): HArg;
|
|
26
20
|
protected hArg: HArg;
|
|
27
|
-
protected id_tag: string;
|
|
28
21
|
sethArg(hArg: HArg): void;
|
|
29
|
-
includeDesignArg(hArg: HArg): boolean;
|
|
30
|
-
protected readonly hDesignArg: {
|
|
31
|
-
[name: string]: 0;
|
|
32
|
-
};
|
|
33
|
-
protected getRect(): Rectangle;
|
|
34
|
-
protected cnvPosArg(_x: number, _y: number): {
|
|
35
|
-
[name: string]: any;
|
|
36
|
-
};
|
|
37
|
-
protected cnvSizeArg(_x: number, _y: number): {
|
|
38
|
-
[name: string]: any;
|
|
39
|
-
};
|
|
40
|
-
protected setPos(_x: number, _y: number): void;
|
|
41
|
-
protected setSize(_w: number, _h: number): void;
|
|
42
22
|
setOther(_hPrm: HPRM): void;
|
|
43
|
-
|
|
44
|
-
protected parent?: DesignCast;
|
|
45
|
-
adopt(idcCh: DesignCast): void;
|
|
23
|
+
adopt(_idcCh: DesignCast): void;
|
|
46
24
|
static enterMode(): void;
|
|
47
25
|
static allHide(): void;
|
|
48
|
-
set visible(
|
|
26
|
+
set visible(_v: boolean);
|
|
49
27
|
static leaveMode(): void;
|
|
50
28
|
cvsResize(): void;
|
|
51
|
-
protected fncLay: () => void;
|
|
52
|
-
protected div: HTMLDivElement | undefined;
|
|
53
|
-
protected lx: number;
|
|
54
|
-
protected ly: number;
|
|
55
|
-
protected rect: Rectangle;
|
|
56
|
-
protected pivot: Point;
|
|
57
|
-
protected scale: Point;
|
|
58
|
-
protected rotation: number;
|
|
59
|
-
protected oldFn: () => string;
|
|
60
|
-
protected onDragStart(): void;
|
|
61
|
-
protected readonly rotatable: boolean;
|
|
62
29
|
make(): void;
|
|
63
|
-
static replaceToken(
|
|
30
|
+
static replaceToken(_o: any): void;
|
|
64
31
|
}
|
|
65
32
|
export declare class GrpLayDesignCast extends DesignCast {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
private readonly gl;
|
|
69
|
-
constructor(spLay: Sprite, gl: GrpLayer);
|
|
70
|
-
setSp(sp: Sprite): void;
|
|
71
|
-
protected getRect(): Rectangle;
|
|
72
|
-
protected cnvPosArg(left: number, top: number): {
|
|
73
|
-
left: number;
|
|
74
|
-
top: number;
|
|
75
|
-
};
|
|
76
|
-
protected cnvSizeArg(width: number, height: number): {
|
|
77
|
-
width: number;
|
|
78
|
-
height: number;
|
|
79
|
-
};
|
|
80
|
-
protected setPos(x: number, y: number): void;
|
|
81
|
-
protected setSize(w: number, h: number): void;
|
|
82
|
-
setOther(hPrm: HPRM): void;
|
|
83
|
-
protected oldFn: () => string;
|
|
33
|
+
constructor(_spLay: Sprite, _gl: GrpLayer);
|
|
34
|
+
setSp(_sp: Sprite): void;
|
|
84
35
|
}
|
|
85
36
|
export declare class TxtLayDesignCast extends DesignCast {
|
|
86
|
-
|
|
87
|
-
private readonly ts;
|
|
88
|
-
constructor(spLay: Sprite, ts: TxtStage);
|
|
89
|
-
protected readonly hDesignArg: {
|
|
90
|
-
[name: string]: 0;
|
|
91
|
-
};
|
|
92
|
-
protected getRect(): Rectangle;
|
|
93
|
-
protected cnvPosArg(left: number, top: number): {
|
|
94
|
-
left: number;
|
|
95
|
-
top: number;
|
|
96
|
-
};
|
|
97
|
-
protected cnvSizeArg(width: number, height: number): {
|
|
98
|
-
width: number;
|
|
99
|
-
height: number;
|
|
100
|
-
};
|
|
101
|
-
protected setPos(x: number, y: number): void;
|
|
102
|
-
protected setSize(w: number, h: number): void;
|
|
103
|
-
setOther(hPrm: HPRM): void;
|
|
37
|
+
constructor(_spLay: Sprite, _ts: TxtStage);
|
|
104
38
|
}
|
|
105
39
|
export declare class TxtLayPadDesignCast extends DesignCast {
|
|
106
|
-
|
|
107
|
-
constructor(ts: TxtStage);
|
|
108
|
-
protected readonly rotatable = false;
|
|
109
|
-
protected getRect(): Rectangle;
|
|
110
|
-
protected cnvPosArg(pl: number, pt: number): {
|
|
111
|
-
pl: number;
|
|
112
|
-
pt: number;
|
|
113
|
-
};
|
|
114
|
-
protected cnvSizeArg(w: number, h: number): {
|
|
115
|
-
pr: number;
|
|
116
|
-
pb: number;
|
|
117
|
-
};
|
|
118
|
-
protected setPos(x: number, y: number): void;
|
|
119
|
-
protected setSize(w: number, h: number): void;
|
|
120
|
-
setOther(hPrm: HPRM): void;
|
|
40
|
+
constructor(_ts: TxtStage);
|
|
121
41
|
}
|
|
122
42
|
export declare class BtnDesignCast extends DesignCast {
|
|
123
43
|
protected readonly btn: Button;
|
|
124
44
|
readonly hArg: HArg;
|
|
125
45
|
constructor(btn: Button, hArg: HArg);
|
|
126
|
-
sethArg(hArg: HArg): void;
|
|
127
|
-
protected cnvPosArg(left: number, top: number): {
|
|
128
|
-
left: number;
|
|
129
|
-
top: number;
|
|
130
|
-
};
|
|
131
|
-
protected cnvSizeArg(width: number, height: number): {
|
|
132
|
-
width: number;
|
|
133
|
-
height: number;
|
|
134
|
-
};
|
|
135
|
-
protected setPos(x: number, y: number): void;
|
|
136
|
-
setOther(_hPrm: HPRM): void;
|
|
137
|
-
protected onDragStart(): void;
|
|
138
46
|
}
|
|
139
47
|
export declare class TxtBtnDesignCast extends BtnDesignCast {
|
|
140
|
-
|
|
141
|
-
constructor(btn: Button, hArg: HArg, txt: Text);
|
|
142
|
-
protected getRect(): Rectangle;
|
|
143
|
-
protected setSize(w: number, h: number): void;
|
|
144
|
-
setOther(hPrm: HPRM): void;
|
|
145
|
-
protected oldFn: () => string;
|
|
48
|
+
constructor(btn: Button, hArg: HArg, _txt: Text);
|
|
146
49
|
}
|
|
147
50
|
export declare class PicBtnDesignCast extends BtnDesignCast {
|
|
148
|
-
#private;
|
|
149
51
|
constructor(btn: Button, hArg: HArg);
|
|
150
|
-
setSp(
|
|
151
|
-
protected getRect(): Rectangle;
|
|
152
|
-
protected setSize(w: number, h: number): void;
|
|
153
|
-
setOther(hPrm: HPRM): void;
|
|
154
|
-
protected oldFn: () => string;
|
|
52
|
+
setSp(_sp: Sprite): void;
|
|
155
53
|
}
|
|
156
54
|
//# sourceMappingURL=DesignCast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesignCast.d.ts","sourceRoot":"","sources":["../../../src/sn/DesignCast.ts"],"names":[],"mappings":"AAOA,OAAO,EA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