mol_data_all 1.1.1560 → 1.1.1561
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.test.js +21 -19
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +8 -13
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.test.js
CHANGED
|
@@ -877,11 +877,11 @@ var $;
|
|
|
877
877
|
function $mol_dev_format_button(label, click) {
|
|
878
878
|
return $mol_dev_format_auto({
|
|
879
879
|
[$.$mol_dev_format_head]() {
|
|
880
|
-
return
|
|
880
|
+
return $.$mol_dev_format_span({ color: 'cornflowerblue' }, label);
|
|
881
881
|
},
|
|
882
882
|
[$.$mol_dev_format_body]() {
|
|
883
883
|
Promise.resolve().then(click);
|
|
884
|
-
return
|
|
884
|
+
return $.$mol_dev_format_span({});
|
|
885
885
|
}
|
|
886
886
|
});
|
|
887
887
|
}
|
|
@@ -903,7 +903,7 @@ var $;
|
|
|
903
903
|
return $mol_dev_format_native(val);
|
|
904
904
|
}
|
|
905
905
|
if (val instanceof Error) {
|
|
906
|
-
return
|
|
906
|
+
return $.$mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
|
|
907
907
|
}
|
|
908
908
|
if (val instanceof Promise) {
|
|
909
909
|
return $.$mol_dev_format_shade($mol_dev_format_native(val), ' ', val[Symbol.toStringTag] ?? '');
|
|
@@ -975,28 +975,23 @@ var $;
|
|
|
975
975
|
];
|
|
976
976
|
}
|
|
977
977
|
$.$mol_dev_format_element = $mol_dev_format_element;
|
|
978
|
-
|
|
979
|
-
return $mol_dev_format_element('span', {
|
|
980
|
-
...style,
|
|
981
|
-
}, ...content);
|
|
982
|
-
}
|
|
983
|
-
$.$mol_dev_format_span = $mol_dev_format_span;
|
|
978
|
+
$.$mol_dev_format_span = $mol_dev_format_element.bind(null, 'span');
|
|
984
979
|
$.$mol_dev_format_div = $mol_dev_format_element.bind(null, 'div');
|
|
985
980
|
$.$mol_dev_format_ol = $mol_dev_format_element.bind(null, 'ol');
|
|
986
981
|
$.$mol_dev_format_li = $mol_dev_format_element.bind(null, 'li');
|
|
987
982
|
$.$mol_dev_format_table = $mol_dev_format_element.bind(null, 'table');
|
|
988
983
|
$.$mol_dev_format_tr = $mol_dev_format_element.bind(null, 'tr');
|
|
989
984
|
$.$mol_dev_format_td = $mol_dev_format_element.bind(null, 'td');
|
|
990
|
-
$.$mol_dev_format_accent =
|
|
985
|
+
$.$mol_dev_format_accent = $.$mol_dev_format_span.bind(null, {
|
|
991
986
|
'color': 'magenta',
|
|
992
987
|
});
|
|
993
|
-
$.$mol_dev_format_strong =
|
|
988
|
+
$.$mol_dev_format_strong = $.$mol_dev_format_span.bind(null, {
|
|
994
989
|
'font-weight': 'bold',
|
|
995
990
|
});
|
|
996
|
-
$.$mol_dev_format_string =
|
|
991
|
+
$.$mol_dev_format_string = $.$mol_dev_format_span.bind(null, {
|
|
997
992
|
'color': 'green',
|
|
998
993
|
});
|
|
999
|
-
$.$mol_dev_format_shade =
|
|
994
|
+
$.$mol_dev_format_shade = $.$mol_dev_format_span.bind(null, {
|
|
1000
995
|
'color': 'gray',
|
|
1001
996
|
});
|
|
1002
997
|
$.$mol_dev_format_indent = $.$mol_dev_format_div.bind(null, {
|