mol_plot_all 1.2.844 → 1.2.846
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.audit.js +1 -1
- package/node.d.ts +85 -85
- package/node.deps.json +1 -1
- package/node.js +585 -575
- package/node.js.map +1 -1
- package/node.mjs +585 -575
- package/node.test.js +798 -1091
- package/node.test.js.map +1 -1
- package/package.json +11 -11
- package/web.audit.js +1 -1
- package/web.d.ts +33 -8
- package/web.deps.json +1 -1
- package/web.js +67 -4
- package/web.js.map +1 -1
- package/web.mjs +67 -4
- package/web.test.js +33 -216
- package/web.test.js.map +1 -1
package/web.js
CHANGED
|
@@ -1066,6 +1066,62 @@ var $;
|
|
|
1066
1066
|
;
|
|
1067
1067
|
"use strict";
|
|
1068
1068
|
var $;
|
|
1069
|
+
(function ($) {
|
|
1070
|
+
function $mol_log3_area_lazy(event) {
|
|
1071
|
+
const self = this;
|
|
1072
|
+
const stack = self.$mol_log3_stack;
|
|
1073
|
+
const deep = stack.length;
|
|
1074
|
+
let logged = false;
|
|
1075
|
+
stack.push(() => {
|
|
1076
|
+
logged = true;
|
|
1077
|
+
self.$mol_log3_area.call(self, event);
|
|
1078
|
+
});
|
|
1079
|
+
return () => {
|
|
1080
|
+
if (logged)
|
|
1081
|
+
self.console.groupEnd();
|
|
1082
|
+
if (stack.length > deep)
|
|
1083
|
+
stack.length = deep;
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
$.$mol_log3_area_lazy = $mol_log3_area_lazy;
|
|
1087
|
+
$.$mol_log3_stack = [];
|
|
1088
|
+
})($ || ($ = {}));
|
|
1089
|
+
//mol/log3/log3.ts
|
|
1090
|
+
;
|
|
1091
|
+
"use strict";
|
|
1092
|
+
//mol/type/keys/extract/extract.ts
|
|
1093
|
+
;
|
|
1094
|
+
"use strict";
|
|
1095
|
+
var $;
|
|
1096
|
+
(function ($) {
|
|
1097
|
+
function $mol_log3_web_make(level, color) {
|
|
1098
|
+
return function $mol_log3_logger(event) {
|
|
1099
|
+
const pending = this.$mol_log3_stack.pop();
|
|
1100
|
+
if (pending)
|
|
1101
|
+
pending();
|
|
1102
|
+
let tpl = '%c';
|
|
1103
|
+
const chunks = Object.values(event);
|
|
1104
|
+
for (let i = 0; i < chunks.length; ++i) {
|
|
1105
|
+
tpl += (typeof chunks[i] === 'string') ? ' ▫ %s' : ' ▫ %o';
|
|
1106
|
+
}
|
|
1107
|
+
const style = `color:${color};font-weight:bolder`;
|
|
1108
|
+
this.console[level](tpl, style, ...chunks);
|
|
1109
|
+
const self = this;
|
|
1110
|
+
return () => self.console.groupEnd();
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
$.$mol_log3_web_make = $mol_log3_web_make;
|
|
1114
|
+
$.$mol_log3_come = $mol_log3_web_make('info', 'royalblue');
|
|
1115
|
+
$.$mol_log3_done = $mol_log3_web_make('info', 'forestgreen');
|
|
1116
|
+
$.$mol_log3_fail = $mol_log3_web_make('error', 'orangered');
|
|
1117
|
+
$.$mol_log3_warn = $mol_log3_web_make('warn', 'goldenrod');
|
|
1118
|
+
$.$mol_log3_rise = $mol_log3_web_make('log', 'magenta');
|
|
1119
|
+
$.$mol_log3_area = $mol_log3_web_make('group', 'cyan');
|
|
1120
|
+
})($ || ($ = {}));
|
|
1121
|
+
//mol/log3/log3.web.ts
|
|
1122
|
+
;
|
|
1123
|
+
"use strict";
|
|
1124
|
+
var $;
|
|
1069
1125
|
(function ($) {
|
|
1070
1126
|
class $mol_wire_task extends $mol_wire_fiber {
|
|
1071
1127
|
static getter(task) {
|
|
@@ -1083,7 +1139,17 @@ var $;
|
|
|
1083
1139
|
break reuse;
|
|
1084
1140
|
return existen;
|
|
1085
1141
|
}
|
|
1086
|
-
|
|
1142
|
+
const next = new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}(#)`, task, host, args);
|
|
1143
|
+
if (existen?.temp) {
|
|
1144
|
+
$$.$mol_log3_warn({
|
|
1145
|
+
place: '$mol_wire_task',
|
|
1146
|
+
message: `Non idempotency`,
|
|
1147
|
+
existen,
|
|
1148
|
+
next,
|
|
1149
|
+
hint: 'Ignore it',
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
return next;
|
|
1087
1153
|
};
|
|
1088
1154
|
}
|
|
1089
1155
|
get temp() {
|
|
@@ -1797,9 +1863,6 @@ var $;
|
|
|
1797
1863
|
//mol/wire/async/async.ts
|
|
1798
1864
|
;
|
|
1799
1865
|
"use strict";
|
|
1800
|
-
//mol/type/keys/extract/extract.ts
|
|
1801
|
-
;
|
|
1802
|
-
"use strict";
|
|
1803
1866
|
//mol/type/pick/pick.ts
|
|
1804
1867
|
;
|
|
1805
1868
|
"use strict";
|