@xpadev-net/niconicomments 0.2.19 → 0.2.20
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/bundle.js +70 -13
- package/dist/dts/main.d.ts +15 -11
- package/dist/dts/main.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
niconicomments.js v0.2.
|
|
2
|
+
niconicomments.js v0.2.20
|
|
3
3
|
(c) 2021 xpadev-net https://xpadev.net
|
|
4
4
|
Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
|
|
28
28
|
var isDebug = false;
|
|
29
29
|
var NiconiComments = (function () {
|
|
30
|
-
function NiconiComments(canvas, data,
|
|
31
|
-
if (
|
|
30
|
+
function NiconiComments(canvas, data, initOptions) {
|
|
31
|
+
if (initOptions === void 0) { initOptions = {
|
|
32
32
|
useLegacy: false,
|
|
33
33
|
formatted: false,
|
|
34
34
|
video: null,
|
|
@@ -37,9 +37,22 @@
|
|
|
37
37
|
showCommentCount: false,
|
|
38
38
|
drawAllImageOnLoad: false,
|
|
39
39
|
debug: false,
|
|
40
|
-
enableLegacyPiP: false
|
|
40
|
+
enableLegacyPiP: false,
|
|
41
|
+
keepCA: false
|
|
41
42
|
}; }
|
|
42
43
|
var _this = this;
|
|
44
|
+
var options = Object.assign({
|
|
45
|
+
useLegacy: false,
|
|
46
|
+
formatted: false,
|
|
47
|
+
video: null,
|
|
48
|
+
showCollision: false,
|
|
49
|
+
showFPS: false,
|
|
50
|
+
showCommentCount: false,
|
|
51
|
+
drawAllImageOnLoad: false,
|
|
52
|
+
debug: false,
|
|
53
|
+
enableLegacyPiP: false,
|
|
54
|
+
keepCA: true
|
|
55
|
+
}, initOptions);
|
|
43
56
|
isDebug = options.debug;
|
|
44
57
|
var constructorStart = performance.now();
|
|
45
58
|
this.canvas = canvas;
|
|
@@ -97,6 +110,7 @@
|
|
|
97
110
|
this.showFPS = options.showFPS;
|
|
98
111
|
this.showCommentCount = options.showCommentCount;
|
|
99
112
|
this.enableLegacyPiP = options.enableLegacyPiP;
|
|
113
|
+
this.keepCA = options.keepCA;
|
|
100
114
|
this.timeline = {};
|
|
101
115
|
this.nicoScripts = { reverse: [], default: [], replace: [], ban: [] };
|
|
102
116
|
this.collision_right = {};
|
|
@@ -117,7 +131,7 @@
|
|
|
117
131
|
}
|
|
118
132
|
NiconiComments.prototype.parseData = function (data) {
|
|
119
133
|
var parseDataStart = performance.now();
|
|
120
|
-
var data_ = [];
|
|
134
|
+
var data_ = [], userList = [];
|
|
121
135
|
for (var i = 0; i < data.length; i++) {
|
|
122
136
|
var val = data[i];
|
|
123
137
|
if (!val)
|
|
@@ -133,7 +147,9 @@
|
|
|
133
147
|
"date_usec": value["date_usec"],
|
|
134
148
|
"owner": !value["user_id"],
|
|
135
149
|
"premium": value["premium"] === 1,
|
|
136
|
-
"mail": []
|
|
150
|
+
"mail": [],
|
|
151
|
+
"user_id": -1,
|
|
152
|
+
"layer": -1
|
|
137
153
|
};
|
|
138
154
|
if (value["mail"]) {
|
|
139
155
|
tmpParam["mail"] = value["mail"].split(/[\s ]/g);
|
|
@@ -141,6 +157,14 @@
|
|
|
141
157
|
if (value["content"].startsWith("/") && !value["user_id"]) {
|
|
142
158
|
tmpParam["mail"].push("invisible");
|
|
143
159
|
}
|
|
160
|
+
var isUserExist = userList.indexOf(value["user_id"]);
|
|
161
|
+
if (isUserExist === -1) {
|
|
162
|
+
tmpParam.user_id = userList.length;
|
|
163
|
+
userList.push(value.user_id);
|
|
164
|
+
}
|
|
165
|
+
else {
|
|
166
|
+
tmpParam.user_id = isUserExist;
|
|
167
|
+
}
|
|
144
168
|
data_.push(tmpParam);
|
|
145
169
|
}
|
|
146
170
|
}
|
|
@@ -165,11 +189,14 @@
|
|
|
165
189
|
};
|
|
166
190
|
NiconiComments.prototype.preRendering = function (rawData, drawAll) {
|
|
167
191
|
var preRenderingStart = performance.now();
|
|
192
|
+
if (this.keepCA) {
|
|
193
|
+
rawData = changeCALayer(rawData);
|
|
194
|
+
}
|
|
168
195
|
var parsedData = this.getCommentPos(this.getCommentSize(this.getFont(rawData)));
|
|
169
196
|
this.data = this.sortComment(parsedData);
|
|
170
197
|
if (drawAll) {
|
|
171
198
|
for (var i in parsedData) {
|
|
172
|
-
this.getTextImage(Number(i));
|
|
199
|
+
this.getTextImage(Number(i), true);
|
|
173
200
|
}
|
|
174
201
|
}
|
|
175
202
|
logger("preRendering complete: ".concat(performance.now() - preRenderingStart, "ms"));
|
|
@@ -257,7 +284,7 @@
|
|
|
257
284
|
if (left_pos + comment.width_max >= 1880) {
|
|
258
285
|
for (var k in this.collision_right[vpos]) {
|
|
259
286
|
var l = this.collision_right[vpos][k];
|
|
260
|
-
if ((posY < data[l].posY + data[l].height && posY + comment.height > data[l].posY) && data[l].owner === comment.owner) {
|
|
287
|
+
if ((posY < data[l].posY + data[l].height && posY + comment.height > data[l].posY) && data[l].owner === comment.owner && data[l].layer === comment.layer) {
|
|
261
288
|
if (data[l].posY + data[l].height > posY) {
|
|
262
289
|
posY = data[l].posY + data[l].height;
|
|
263
290
|
is_change = true;
|
|
@@ -281,7 +308,7 @@
|
|
|
281
308
|
if (left_pos <= 40) {
|
|
282
309
|
for (var k in this.collision_left[vpos]) {
|
|
283
310
|
var l = this.collision_left[vpos][k];
|
|
284
|
-
if ((posY < data[l].posY + data[l].height && posY + comment.height > data[l].posY) && data[l].owner === comment.owner) {
|
|
311
|
+
if ((posY < data[l].posY + data[l].height && posY + comment.height > data[l].posY) && data[l].owner === comment.owner && data[l].layer === comment.layer) {
|
|
285
312
|
if (data[l].posY + data[l].height > posY) {
|
|
286
313
|
posY = data[l].posY + data[l].height;
|
|
287
314
|
is_change = true;
|
|
@@ -311,7 +338,6 @@
|
|
|
311
338
|
for (var j = beforeVpos; j < comment.long + 125; j++) {
|
|
312
339
|
var vpos = comment.vpos + j;
|
|
313
340
|
var left_pos = 1680 - (1680 + comment.width_max) / (comment.long + 125) * j;
|
|
314
|
-
console.log(vpos, i, j);
|
|
315
341
|
arrayPush(this.timeline, vpos, i);
|
|
316
342
|
if (left_pos + comment.width_max >= 1880) {
|
|
317
343
|
arrayPush(this.collision_right, vpos, i);
|
|
@@ -337,7 +363,7 @@
|
|
|
337
363
|
var vpos = comment.vpos + j;
|
|
338
364
|
for (var k in collision[vpos]) {
|
|
339
365
|
var l = collision[vpos][k];
|
|
340
|
-
if ((posY < data[l].posY + data[l].height && posY + comment.height > data[l].posY) && data[l].owner === comment.owner) {
|
|
366
|
+
if ((posY < data[l].posY + data[l].height && posY + comment.height > data[l].posY) && data[l].owner === comment.owner && data[l].layer === comment.layer) {
|
|
341
367
|
if (data[l].posY + data[l].height > posY) {
|
|
342
368
|
posY = data[l].posY + data[l].height;
|
|
343
369
|
is_change = true;
|
|
@@ -500,7 +526,6 @@
|
|
|
500
526
|
}
|
|
501
527
|
else {
|
|
502
528
|
posX = 1680 - (1680 + comment.width_max) / (comment.long + 125) * (vpos - comment.vpos + 100);
|
|
503
|
-
console.log(vpos - comment.vpos);
|
|
504
529
|
}
|
|
505
530
|
}
|
|
506
531
|
else if (comment.loc === "shita") {
|
|
@@ -520,8 +545,9 @@
|
|
|
520
545
|
}
|
|
521
546
|
}
|
|
522
547
|
};
|
|
523
|
-
NiconiComments.prototype.getTextImage = function (i) {
|
|
548
|
+
NiconiComments.prototype.getTextImage = function (i, preRendering) {
|
|
524
549
|
var _this = this;
|
|
550
|
+
if (preRendering === void 0) { preRendering = false; }
|
|
525
551
|
var value = this.data[i];
|
|
526
552
|
if (!value || value.invisible)
|
|
527
553
|
return;
|
|
@@ -554,6 +580,8 @@
|
|
|
554
580
|
context.fillText(line, 0, posY);
|
|
555
581
|
}
|
|
556
582
|
this.data[i].image = image;
|
|
583
|
+
if (preRendering)
|
|
584
|
+
return;
|
|
557
585
|
setTimeout(function () {
|
|
558
586
|
if (_this.data[i].image)
|
|
559
587
|
delete _this.data[i].image;
|
|
@@ -973,6 +1001,35 @@
|
|
|
973
1001
|
if (isDebug)
|
|
974
1002
|
console.debug(msg);
|
|
975
1003
|
};
|
|
1004
|
+
var changeCALayer = function (rawData) {
|
|
1005
|
+
var userList = {};
|
|
1006
|
+
var data = [], index = [];
|
|
1007
|
+
for (var i in rawData) {
|
|
1008
|
+
var value = rawData[i];
|
|
1009
|
+
if (value.user_id === undefined || value.user_id === -1)
|
|
1010
|
+
continue;
|
|
1011
|
+
if (userList[value.user_id] === undefined)
|
|
1012
|
+
userList[value.user_id] = 0;
|
|
1013
|
+
if (value.mail.indexOf("ca") > -1 || value.mail.indexOf("patissier") > -1 || value.mail.indexOf("ender") > -1) {
|
|
1014
|
+
userList[value.user_id] += 5;
|
|
1015
|
+
}
|
|
1016
|
+
if ((value.content.match(/\r\n|\n|\r/g) || []).length > 2) {
|
|
1017
|
+
userList[value.user_id] += 1;
|
|
1018
|
+
}
|
|
1019
|
+
var key = "".concat(value.content, "@@").concat(Array.from(new Set(value.mail.sort())).filter(function (e) { return !e.match(/@[\d.]+|184|device:.+|patissier|ca/); }).join(""), "@@").concat(Math.floor(value.vpos * 10));
|
|
1020
|
+
if (index.indexOf(key) === -1) {
|
|
1021
|
+
index.push(key);
|
|
1022
|
+
data.push(value);
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
for (var i in data) {
|
|
1026
|
+
var value = data[i];
|
|
1027
|
+
if (userList[value.user_id] !== undefined && userList[value.user_id] >= 10) {
|
|
1028
|
+
value.layer = value.user_id;
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
return data;
|
|
1032
|
+
};
|
|
976
1033
|
|
|
977
1034
|
return NiconiComments;
|
|
978
1035
|
|
package/dist/dts/main.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
declare type InitOptions = {
|
|
2
|
-
useLegacy
|
|
3
|
-
formatted
|
|
4
|
-
video
|
|
5
|
-
showCollision
|
|
6
|
-
showFPS
|
|
7
|
-
showCommentCount
|
|
8
|
-
drawAllImageOnLoad
|
|
9
|
-
debug
|
|
10
|
-
enableLegacyPiP
|
|
2
|
+
useLegacy?: boolean;
|
|
3
|
+
formatted?: boolean;
|
|
4
|
+
video?: HTMLVideoElement | null;
|
|
5
|
+
showCollision?: boolean;
|
|
6
|
+
showFPS?: boolean;
|
|
7
|
+
showCommentCount?: boolean;
|
|
8
|
+
drawAllImageOnLoad?: boolean;
|
|
9
|
+
debug?: boolean;
|
|
10
|
+
enableLegacyPiP?: boolean;
|
|
11
|
+
keepCA?: boolean;
|
|
11
12
|
};
|
|
12
13
|
declare type rawApiResponse = {
|
|
13
14
|
[key: string]: apiPing | apiThread | apiLeaf | apiGlobalNumRes | apiChat;
|
|
@@ -53,6 +54,8 @@ declare type formattedComment = {
|
|
|
53
54
|
"owner": boolean;
|
|
54
55
|
"premium": boolean;
|
|
55
56
|
"mail": string[];
|
|
57
|
+
"user_id": number;
|
|
58
|
+
"layer": number;
|
|
56
59
|
};
|
|
57
60
|
declare type formattedCommentWithFont = formattedComment & {
|
|
58
61
|
"loc": string;
|
|
@@ -99,6 +102,7 @@ declare class NiconiComments {
|
|
|
99
102
|
showFPS: boolean;
|
|
100
103
|
showCommentCount: boolean;
|
|
101
104
|
enableLegacyPiP: boolean;
|
|
105
|
+
private keepCA;
|
|
102
106
|
private data;
|
|
103
107
|
private timeline;
|
|
104
108
|
private nicoScripts;
|
|
@@ -110,7 +114,7 @@ declare class NiconiComments {
|
|
|
110
114
|
private useLegacy;
|
|
111
115
|
private fpsCount;
|
|
112
116
|
private fps;
|
|
113
|
-
constructor(canvas: HTMLCanvasElement, data: (rawApiResponse | formattedComment)[],
|
|
117
|
+
constructor(canvas: HTMLCanvasElement, data: (rawApiResponse | formattedComment)[], initOptions?: InitOptions);
|
|
114
118
|
parseData(data: rawApiResponse[]): formattedComment[];
|
|
115
119
|
preRendering(rawData: formattedComment[], drawAll: boolean): void;
|
|
116
120
|
getFont(parsedData: formattedComment[]): formattedCommentWithFont[];
|
|
@@ -131,7 +135,7 @@ declare class NiconiComments {
|
|
|
131
135
|
lineHeight: number | undefined;
|
|
132
136
|
}): measureTextResult;
|
|
133
137
|
drawText(comment: parsedComment, vpos: number): void;
|
|
134
|
-
getTextImage(i: number): void;
|
|
138
|
+
getTextImage(i: number, preRendering?: boolean): void;
|
|
135
139
|
parseCommand(comment: any): {
|
|
136
140
|
loc: string | null;
|
|
137
141
|
size: string | null;
|
package/dist/dts/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,aAAK,WAAW,GAAG;IACf,SAAS,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,aAAK,WAAW,GAAG;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAaD,aAAK,cAAc,GAAG;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,eAAe,GAAG,OAAO,CAAA;CAC3E,CAAA;AACD,aAAK,OAAO,GAAG;IACX,SAAS,EAAE,MAAM,CAAA;CACpB,CAAA;AACD,aAAK,SAAS,GAAG;IACb,YAAY,EAAE,MAAM,CA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CAAC,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM;IA+C7C,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe;IAyCrD,YAAY,CAAC,OAAO,EAAE,GAAG;;;;;;;;;;;;IAiJzB,yBAAyB,CAAC,OAAO,EAAE,gBAAgB,GAAG,wBAAwB;IA8J9E,UAAU,CAAC,IAAI,EAAE,MAAM;IA4DvB,KAAK;CAGR;AAuHD,eAAe,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpadev-net/niconicomments",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.20",
|
|
4
4
|
"description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
|
|
5
5
|
"main": "dist/bundle.js",
|
|
6
6
|
"types": "dist/dts/main.d.ts",
|