mol_plot_all 1.2.843 → 1.2.845

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/web.mjs 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
- return new $mol_wire_task(`${host?.[Symbol.toStringTag] ?? host}.${task.name}(#)`, task, host, args);
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";
package/web.test.js CHANGED
@@ -857,30 +857,6 @@ var $;
857
857
  //mol/assert/assert.test.ts
858
858
  ;
859
859
  "use strict";
860
- var $;
861
- (function ($) {
862
- function $mol_log3_area_lazy(event) {
863
- const self = this;
864
- const stack = self.$mol_log3_stack;
865
- const deep = stack.length;
866
- let logged = false;
867
- stack.push(() => {
868
- logged = true;
869
- self.$mol_log3_area.call(self, event);
870
- });
871
- return () => {
872
- if (logged)
873
- self.console.groupEnd();
874
- if (stack.length > deep)
875
- stack.length = deep;
876
- };
877
- }
878
- $.$mol_log3_area_lazy = $mol_log3_area_lazy;
879
- $.$mol_log3_stack = [];
880
- })($ || ($ = {}));
881
- //mol/log3/log3.ts
882
- ;
883
- "use strict";
884
860
  //mol/type/equals/equals.ts
885
861
  ;
886
862
  "use strict";
@@ -891,35 +867,6 @@ var $;
891
867
  ;
892
868
  "use strict";
893
869
  var $;
894
- (function ($) {
895
- function $mol_log3_web_make(level, color) {
896
- return function $mol_log3_logger(event) {
897
- const pending = this.$mol_log3_stack.pop();
898
- if (pending)
899
- pending();
900
- let tpl = '%c';
901
- const chunks = Object.values(event);
902
- for (let i = 0; i < chunks.length; ++i) {
903
- tpl += (typeof chunks[i] === 'string') ? ' ⦙ %s' : ' ⦙ %o';
904
- }
905
- const style = `color:${color};font-weight:bolder`;
906
- this.console[level](tpl, style, ...chunks);
907
- const self = this;
908
- return () => self.console.groupEnd();
909
- };
910
- }
911
- $.$mol_log3_web_make = $mol_log3_web_make;
912
- $.$mol_log3_come = $mol_log3_web_make('info', 'royalblue');
913
- $.$mol_log3_done = $mol_log3_web_make('info', 'forestgreen');
914
- $.$mol_log3_fail = $mol_log3_web_make('error', 'orangered');
915
- $.$mol_log3_warn = $mol_log3_web_make('warn', 'goldenrod');
916
- $.$mol_log3_rise = $mol_log3_web_make('log', 'magenta');
917
- $.$mol_log3_area = $mol_log3_web_make('group', 'cyan');
918
- })($ || ($ = {}));
919
- //mol/log3/log3.web.ts
920
- ;
921
- "use strict";
922
- var $;
923
870
  (function ($_1) {
924
871
  $mol_test_mocks.push($ => {
925
872
  $.$mol_log3_come = () => { };