mol_plot_all 1.2.873 → 1.2.875
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 +3 -3
- package/node.js +8 -7
- package/node.js.map +1 -1
- package/node.mjs +8 -7
- package/node.test.js +10 -9
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +3 -3
- package/web.js +8 -7
- package/web.js.map +1 -1
- package/web.mjs +8 -7
- package/web.test.js +2 -2
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.d.ts
CHANGED
|
@@ -64,12 +64,12 @@ declare namespace $ {
|
|
|
64
64
|
get $(): $;
|
|
65
65
|
set $(next: $);
|
|
66
66
|
static create<Instance>(this: new (init?: (instance: any) => void) => Instance, init?: (instance: $mol_type_writable<Instance>) => void): Instance;
|
|
67
|
-
static [Symbol.toPrimitive]():
|
|
68
|
-
static toString():
|
|
67
|
+
static [Symbol.toPrimitive](): any;
|
|
68
|
+
static toString(): any;
|
|
69
|
+
static toJSON(): any;
|
|
69
70
|
destructor(): void;
|
|
70
71
|
static destructor(): void;
|
|
71
72
|
toString(): string;
|
|
72
|
-
static toJSON(): any;
|
|
73
73
|
toJSON(): any;
|
|
74
74
|
}
|
|
75
75
|
}
|
package/web.js
CHANGED
|
@@ -215,18 +215,16 @@ var $;
|
|
|
215
215
|
return this.toString();
|
|
216
216
|
}
|
|
217
217
|
static toString() {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
218
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
219
|
+
}
|
|
220
|
+
static toJSON() {
|
|
221
|
+
return this.toString();
|
|
221
222
|
}
|
|
222
223
|
destructor() { }
|
|
223
224
|
static destructor() { }
|
|
224
225
|
toString() {
|
|
225
226
|
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
226
227
|
}
|
|
227
|
-
static toJSON() {
|
|
228
|
-
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
229
|
-
}
|
|
230
228
|
toJSON() {
|
|
231
229
|
return this.toString();
|
|
232
230
|
}
|
|
@@ -2233,7 +2231,7 @@ var $;
|
|
|
2233
2231
|
}
|
|
2234
2232
|
}
|
|
2235
2233
|
dom_id() {
|
|
2236
|
-
return this.toString();
|
|
2234
|
+
return this.toString().replace(/</g, '(').replace(/>/g, ')');
|
|
2237
2235
|
}
|
|
2238
2236
|
dom_node_external(next) {
|
|
2239
2237
|
const node = next ?? $mol_dom_context.document.createElementNS(this.dom_name_space(), this.dom_name());
|
|
@@ -2510,6 +2508,9 @@ var $;
|
|
|
2510
2508
|
__decorate([
|
|
2511
2509
|
$mol_mem
|
|
2512
2510
|
], $mol_view.prototype, "view_rect", null);
|
|
2511
|
+
__decorate([
|
|
2512
|
+
$mol_memo.method
|
|
2513
|
+
], $mol_view.prototype, "dom_id", null);
|
|
2513
2514
|
__decorate([
|
|
2514
2515
|
$mol_mem
|
|
2515
2516
|
], $mol_view.prototype, "dom_node", null);
|