mol_dump_lib 0.0.293 → 0.0.295
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 +52 -52
- package/node.deps.json +1 -1
- package/node.js +4 -2
- package/node.js.map +1 -1
- package/node.mjs +4 -2
- package/node.test.js +4 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +52 -52
- package/web.deps.json +1 -1
- package/web.js +4 -2
- package/web.js.map +1 -1
- package/web.mjs +4 -2
package/node.js
CHANGED
|
@@ -4320,11 +4320,11 @@ var $;
|
|
|
4320
4320
|
}
|
|
4321
4321
|
let top2 = top;
|
|
4322
4322
|
let bottom2 = bottom;
|
|
4323
|
-
if (anchoring && (top < limit_top) && (bottom < limit_bottom)) {
|
|
4323
|
+
if (anchoring && (top < limit_top) && (bottom < limit_bottom) && (max < kids.length)) {
|
|
4324
4324
|
min2 = max;
|
|
4325
4325
|
top2 = bottom;
|
|
4326
4326
|
}
|
|
4327
|
-
if ((bottom > limit_bottom) && (top > limit_top)) {
|
|
4327
|
+
if ((bottom > limit_bottom) && (top > limit_top) && (min > 0)) {
|
|
4328
4328
|
max2 = min;
|
|
4329
4329
|
bottom2 = top;
|
|
4330
4330
|
}
|
|
@@ -6316,6 +6316,8 @@ var $;
|
|
|
6316
6316
|
}
|
|
6317
6317
|
simple() {
|
|
6318
6318
|
const value = this.value();
|
|
6319
|
+
if (typeof value === 'number')
|
|
6320
|
+
return value.toLocaleString('en').replaceAll(',', '_');
|
|
6319
6321
|
return value ? String(value) : JSON.stringify(value) ?? 'undefined';
|
|
6320
6322
|
}
|
|
6321
6323
|
expand_title() {
|