mol_plot_all 1.2.1552 → 1.2.1554
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/node.d.ts +2 -1
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +18 -5
- package/node.js.map +1 -1
- package/node.mjs +18 -5
- package/node.test.js +18 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.deps.json +1 -1
- package/web.js +2 -5
- package/web.js.map +1 -1
- package/web.mjs +2 -5
package/node.mjs
CHANGED
|
@@ -3123,6 +3123,22 @@ var $;
|
|
|
3123
3123
|
return pos - from;
|
|
3124
3124
|
}
|
|
3125
3125
|
$.$mol_charset_encode_to = $mol_charset_encode_to;
|
|
3126
|
+
function $mol_charset_encode_size(str) {
|
|
3127
|
+
let size = 0;
|
|
3128
|
+
for (let i = 0; i < str.length; i++) {
|
|
3129
|
+
let code = str.charCodeAt(i);
|
|
3130
|
+
if (code < 0x80)
|
|
3131
|
+
size += 1;
|
|
3132
|
+
else if (code < 0x800)
|
|
3133
|
+
size += 2;
|
|
3134
|
+
else if (code < 0xd800 || code >= 0xe000)
|
|
3135
|
+
size += 3;
|
|
3136
|
+
else
|
|
3137
|
+
size += 4;
|
|
3138
|
+
}
|
|
3139
|
+
return size;
|
|
3140
|
+
}
|
|
3141
|
+
$.$mol_charset_encode_size = $mol_charset_encode_size;
|
|
3126
3142
|
})($ || ($ = {}));
|
|
3127
3143
|
|
|
3128
3144
|
;
|
|
@@ -4557,7 +4573,7 @@ var $;
|
|
|
4557
4573
|
}
|
|
4558
4574
|
return names;
|
|
4559
4575
|
}
|
|
4560
|
-
theme(next
|
|
4576
|
+
theme(next) {
|
|
4561
4577
|
return next;
|
|
4562
4578
|
}
|
|
4563
4579
|
attr_static() {
|
|
@@ -4568,7 +4584,7 @@ var $;
|
|
|
4568
4584
|
}
|
|
4569
4585
|
attr() {
|
|
4570
4586
|
return {
|
|
4571
|
-
mol_theme: this.theme()
|
|
4587
|
+
mol_theme: this.theme(),
|
|
4572
4588
|
};
|
|
4573
4589
|
}
|
|
4574
4590
|
style() {
|
|
@@ -4703,9 +4719,6 @@ var $;
|
|
|
4703
4719
|
__decorate([
|
|
4704
4720
|
$mol_memo.method
|
|
4705
4721
|
], $mol_view.prototype, "view_names", null);
|
|
4706
|
-
__decorate([
|
|
4707
|
-
$mol_mem
|
|
4708
|
-
], $mol_view.prototype, "theme", null);
|
|
4709
4722
|
__decorate([
|
|
4710
4723
|
$mol_mem
|
|
4711
4724
|
], $mol_view.prototype, "event_async", null);
|
package/node.test.js
CHANGED
|
@@ -3114,6 +3114,22 @@ var $;
|
|
|
3114
3114
|
return pos - from;
|
|
3115
3115
|
}
|
|
3116
3116
|
$.$mol_charset_encode_to = $mol_charset_encode_to;
|
|
3117
|
+
function $mol_charset_encode_size(str) {
|
|
3118
|
+
let size = 0;
|
|
3119
|
+
for (let i = 0; i < str.length; i++) {
|
|
3120
|
+
let code = str.charCodeAt(i);
|
|
3121
|
+
if (code < 0x80)
|
|
3122
|
+
size += 1;
|
|
3123
|
+
else if (code < 0x800)
|
|
3124
|
+
size += 2;
|
|
3125
|
+
else if (code < 0xd800 || code >= 0xe000)
|
|
3126
|
+
size += 3;
|
|
3127
|
+
else
|
|
3128
|
+
size += 4;
|
|
3129
|
+
}
|
|
3130
|
+
return size;
|
|
3131
|
+
}
|
|
3132
|
+
$.$mol_charset_encode_size = $mol_charset_encode_size;
|
|
3117
3133
|
})($ || ($ = {}));
|
|
3118
3134
|
|
|
3119
3135
|
;
|
|
@@ -4548,7 +4564,7 @@ var $;
|
|
|
4548
4564
|
}
|
|
4549
4565
|
return names;
|
|
4550
4566
|
}
|
|
4551
|
-
theme(next
|
|
4567
|
+
theme(next) {
|
|
4552
4568
|
return next;
|
|
4553
4569
|
}
|
|
4554
4570
|
attr_static() {
|
|
@@ -4559,7 +4575,7 @@ var $;
|
|
|
4559
4575
|
}
|
|
4560
4576
|
attr() {
|
|
4561
4577
|
return {
|
|
4562
|
-
mol_theme: this.theme()
|
|
4578
|
+
mol_theme: this.theme(),
|
|
4563
4579
|
};
|
|
4564
4580
|
}
|
|
4565
4581
|
style() {
|
|
@@ -4694,9 +4710,6 @@ var $;
|
|
|
4694
4710
|
__decorate([
|
|
4695
4711
|
$mol_memo.method
|
|
4696
4712
|
], $mol_view.prototype, "view_names", null);
|
|
4697
|
-
__decorate([
|
|
4698
|
-
$mol_mem
|
|
4699
|
-
], $mol_view.prototype, "theme", null);
|
|
4700
4713
|
__decorate([
|
|
4701
4714
|
$mol_mem
|
|
4702
4715
|
], $mol_view.prototype, "event_async", null);
|