mol_plot_all 1.2.829 → 1.2.831
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 +19 -17
- package/node.deps.json +1 -1
- package/node.js +35 -32
- package/node.js.map +1 -1
- package/node.mjs +35 -32
- package/node.test.js +35 -32
- package/node.test.js.map +1 -1
- package/package.json +3 -3
- package/web.d.ts +19 -17
- package/web.deps.json +1 -1
- package/web.js +35 -32
- package/web.js.map +1 -1
- package/web.mjs +35 -32
package/node.mjs
CHANGED
|
@@ -157,6 +157,38 @@ var $;
|
|
|
157
157
|
;
|
|
158
158
|
"use strict";
|
|
159
159
|
var $;
|
|
160
|
+
(function ($) {
|
|
161
|
+
const named = new WeakSet();
|
|
162
|
+
function $mol_func_name(func) {
|
|
163
|
+
let name = func.name;
|
|
164
|
+
if (name?.length > 1)
|
|
165
|
+
return name;
|
|
166
|
+
if (named.has(func))
|
|
167
|
+
return name;
|
|
168
|
+
for (let key in this) {
|
|
169
|
+
try {
|
|
170
|
+
if (this[key] !== func)
|
|
171
|
+
continue;
|
|
172
|
+
name = key;
|
|
173
|
+
Object.defineProperty(func, 'name', { value: name });
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
catch { }
|
|
177
|
+
}
|
|
178
|
+
named.add(func);
|
|
179
|
+
return name;
|
|
180
|
+
}
|
|
181
|
+
$.$mol_func_name = $mol_func_name;
|
|
182
|
+
function $mol_func_name_from(target, source) {
|
|
183
|
+
Object.defineProperty(target, 'name', { value: source.name });
|
|
184
|
+
return target;
|
|
185
|
+
}
|
|
186
|
+
$.$mol_func_name_from = $mol_func_name_from;
|
|
187
|
+
})($ || ($ = {}));
|
|
188
|
+
//mol/func/name/name.ts
|
|
189
|
+
;
|
|
190
|
+
"use strict";
|
|
191
|
+
var $;
|
|
160
192
|
(function ($) {
|
|
161
193
|
class $mol_object2 {
|
|
162
194
|
static $ = $;
|
|
@@ -191,6 +223,9 @@ var $;
|
|
|
191
223
|
toString() {
|
|
192
224
|
return this[Symbol.toStringTag] || this.constructor.name + '()';
|
|
193
225
|
}
|
|
226
|
+
static toJSON() {
|
|
227
|
+
return this.$.$mol_func_name(this);
|
|
228
|
+
}
|
|
194
229
|
toJSON() {
|
|
195
230
|
return this.toString();
|
|
196
231
|
}
|
|
@@ -842,38 +877,6 @@ var $;
|
|
|
842
877
|
;
|
|
843
878
|
"use strict";
|
|
844
879
|
var $;
|
|
845
|
-
(function ($) {
|
|
846
|
-
const named = new WeakSet();
|
|
847
|
-
function $mol_func_name(func) {
|
|
848
|
-
let name = func.name;
|
|
849
|
-
if (name?.length > 1)
|
|
850
|
-
return name;
|
|
851
|
-
if (named.has(func))
|
|
852
|
-
return name;
|
|
853
|
-
for (let key in this) {
|
|
854
|
-
try {
|
|
855
|
-
if (this[key] !== func)
|
|
856
|
-
continue;
|
|
857
|
-
name = key;
|
|
858
|
-
Object.defineProperty(func, 'name', { value: name });
|
|
859
|
-
break;
|
|
860
|
-
}
|
|
861
|
-
catch { }
|
|
862
|
-
}
|
|
863
|
-
named.add(func);
|
|
864
|
-
return name;
|
|
865
|
-
}
|
|
866
|
-
$.$mol_func_name = $mol_func_name;
|
|
867
|
-
function $mol_func_name_from(target, source) {
|
|
868
|
-
Object.defineProperty(target, 'name', { value: source.name });
|
|
869
|
-
return target;
|
|
870
|
-
}
|
|
871
|
-
$.$mol_func_name_from = $mol_func_name_from;
|
|
872
|
-
})($ || ($ = {}));
|
|
873
|
-
//mol/func/name/name.ts
|
|
874
|
-
;
|
|
875
|
-
"use strict";
|
|
876
|
-
var $;
|
|
877
880
|
(function ($) {
|
|
878
881
|
function $mol_guid(length = 8, exists = () => false) {
|
|
879
882
|
for (;;) {
|
package/node.test.js
CHANGED
|
@@ -149,6 +149,38 @@ var $;
|
|
|
149
149
|
;
|
|
150
150
|
"use strict";
|
|
151
151
|
var $;
|
|
152
|
+
(function ($) {
|
|
153
|
+
const named = new WeakSet();
|
|
154
|
+
function $mol_func_name(func) {
|
|
155
|
+
let name = func.name;
|
|
156
|
+
if (name?.length > 1)
|
|
157
|
+
return name;
|
|
158
|
+
if (named.has(func))
|
|
159
|
+
return name;
|
|
160
|
+
for (let key in this) {
|
|
161
|
+
try {
|
|
162
|
+
if (this[key] !== func)
|
|
163
|
+
continue;
|
|
164
|
+
name = key;
|
|
165
|
+
Object.defineProperty(func, 'name', { value: name });
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
catch { }
|
|
169
|
+
}
|
|
170
|
+
named.add(func);
|
|
171
|
+
return name;
|
|
172
|
+
}
|
|
173
|
+
$.$mol_func_name = $mol_func_name;
|
|
174
|
+
function $mol_func_name_from(target, source) {
|
|
175
|
+
Object.defineProperty(target, 'name', { value: source.name });
|
|
176
|
+
return target;
|
|
177
|
+
}
|
|
178
|
+
$.$mol_func_name_from = $mol_func_name_from;
|
|
179
|
+
})($ || ($ = {}));
|
|
180
|
+
//mol/func/name/name.ts
|
|
181
|
+
;
|
|
182
|
+
"use strict";
|
|
183
|
+
var $;
|
|
152
184
|
(function ($) {
|
|
153
185
|
class $mol_object2 {
|
|
154
186
|
static $ = $;
|
|
@@ -183,6 +215,9 @@ var $;
|
|
|
183
215
|
toString() {
|
|
184
216
|
return this[Symbol.toStringTag] || this.constructor.name + '()';
|
|
185
217
|
}
|
|
218
|
+
static toJSON() {
|
|
219
|
+
return this.$.$mol_func_name(this);
|
|
220
|
+
}
|
|
186
221
|
toJSON() {
|
|
187
222
|
return this.toString();
|
|
188
223
|
}
|
|
@@ -834,38 +869,6 @@ var $;
|
|
|
834
869
|
;
|
|
835
870
|
"use strict";
|
|
836
871
|
var $;
|
|
837
|
-
(function ($) {
|
|
838
|
-
const named = new WeakSet();
|
|
839
|
-
function $mol_func_name(func) {
|
|
840
|
-
let name = func.name;
|
|
841
|
-
if (name?.length > 1)
|
|
842
|
-
return name;
|
|
843
|
-
if (named.has(func))
|
|
844
|
-
return name;
|
|
845
|
-
for (let key in this) {
|
|
846
|
-
try {
|
|
847
|
-
if (this[key] !== func)
|
|
848
|
-
continue;
|
|
849
|
-
name = key;
|
|
850
|
-
Object.defineProperty(func, 'name', { value: name });
|
|
851
|
-
break;
|
|
852
|
-
}
|
|
853
|
-
catch { }
|
|
854
|
-
}
|
|
855
|
-
named.add(func);
|
|
856
|
-
return name;
|
|
857
|
-
}
|
|
858
|
-
$.$mol_func_name = $mol_func_name;
|
|
859
|
-
function $mol_func_name_from(target, source) {
|
|
860
|
-
Object.defineProperty(target, 'name', { value: source.name });
|
|
861
|
-
return target;
|
|
862
|
-
}
|
|
863
|
-
$.$mol_func_name_from = $mol_func_name_from;
|
|
864
|
-
})($ || ($ = {}));
|
|
865
|
-
//mol/func/name/name.ts
|
|
866
|
-
;
|
|
867
|
-
"use strict";
|
|
868
|
-
var $;
|
|
869
872
|
(function ($) {
|
|
870
873
|
function $mol_guid(length = 8, exists = () => false) {
|
|
871
874
|
for (;;) {
|