mol_dump_lib 0.0.534 → 0.0.536
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 +31 -31
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +26 -23
- package/node.js.map +1 -1
- package/node.mjs +26 -23
- package/node.test.js +26 -23
- package/node.test.js.map +1 -1
- package/node.view.tree +2 -2
- package/package.json +2 -2
- package/web.d.ts +31 -31
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +27 -25
- package/web.js.map +1 -1
- package/web.mjs +27 -25
- package/web.view.tree +2 -2
package/web.js
CHANGED
|
@@ -774,13 +774,12 @@ var $;
|
|
|
774
774
|
break;
|
|
775
775
|
}
|
|
776
776
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
777
|
-
handled.add(result);
|
|
778
777
|
const put = (res) => {
|
|
779
778
|
if (this.cache === result)
|
|
780
779
|
this.put(res);
|
|
781
780
|
return res;
|
|
782
781
|
};
|
|
783
|
-
result =
|
|
782
|
+
result = result.then(put, put);
|
|
784
783
|
}
|
|
785
784
|
}
|
|
786
785
|
catch (error) {
|
|
@@ -791,11 +790,10 @@ var $;
|
|
|
791
790
|
result = new Error(String(error), { cause: error });
|
|
792
791
|
}
|
|
793
792
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
794
|
-
|
|
795
|
-
result = Object.assign(result.finally(() => {
|
|
793
|
+
result = result.finally(() => {
|
|
796
794
|
if (this.cache === result)
|
|
797
795
|
this.absorb();
|
|
798
|
-
})
|
|
796
|
+
});
|
|
799
797
|
}
|
|
800
798
|
}
|
|
801
799
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
@@ -3335,7 +3333,7 @@ var $;
|
|
|
3335
3333
|
})($ || ($ = {}));
|
|
3336
3334
|
|
|
3337
3335
|
;
|
|
3338
|
-
($.$
|
|
3336
|
+
($.$mol_text_code_line) = class $mol_text_code_line extends ($.$mol_paragraph) {
|
|
3339
3337
|
numb(){
|
|
3340
3338
|
return 0;
|
|
3341
3339
|
}
|
|
@@ -3389,9 +3387,9 @@ var $;
|
|
|
3389
3387
|
return null;
|
|
3390
3388
|
}
|
|
3391
3389
|
};
|
|
3392
|
-
($mol_mem(($.$
|
|
3393
|
-
($mol_mem_key(($.$
|
|
3394
|
-
($mol_mem_key(($.$
|
|
3390
|
+
($mol_mem(($.$mol_text_code_line.prototype), "Numb"));
|
|
3391
|
+
($mol_mem_key(($.$mol_text_code_line.prototype), "Token"));
|
|
3392
|
+
($mol_mem_key(($.$mol_text_code_line.prototype), "Token_link"));
|
|
3395
3393
|
|
|
3396
3394
|
|
|
3397
3395
|
;
|
|
@@ -3504,7 +3502,7 @@ var $;
|
|
|
3504
3502
|
(function ($) {
|
|
3505
3503
|
var $$;
|
|
3506
3504
|
(function ($$) {
|
|
3507
|
-
class $
|
|
3505
|
+
class $mol_text_code_line extends $.$mol_text_code_line {
|
|
3508
3506
|
maximal_width() {
|
|
3509
3507
|
return this.text().length * this.letter_width();
|
|
3510
3508
|
}
|
|
@@ -3586,29 +3584,29 @@ var $;
|
|
|
3586
3584
|
}
|
|
3587
3585
|
__decorate([
|
|
3588
3586
|
$mol_mem_key
|
|
3589
|
-
], $
|
|
3587
|
+
], $mol_text_code_line.prototype, "tokens", null);
|
|
3590
3588
|
__decorate([
|
|
3591
3589
|
$mol_mem_key
|
|
3592
|
-
], $
|
|
3590
|
+
], $mol_text_code_line.prototype, "row_content", null);
|
|
3593
3591
|
__decorate([
|
|
3594
3592
|
$mol_mem_key
|
|
3595
|
-
], $
|
|
3593
|
+
], $mol_text_code_line.prototype, "token_type", null);
|
|
3596
3594
|
__decorate([
|
|
3597
3595
|
$mol_mem_key
|
|
3598
|
-
], $
|
|
3596
|
+
], $mol_text_code_line.prototype, "token_content", null);
|
|
3599
3597
|
__decorate([
|
|
3600
3598
|
$mol_mem_key
|
|
3601
|
-
], $
|
|
3599
|
+
], $mol_text_code_line.prototype, "token_text", null);
|
|
3602
3600
|
__decorate([
|
|
3603
3601
|
$mol_mem_key
|
|
3604
|
-
], $
|
|
3602
|
+
], $mol_text_code_line.prototype, "token_uri", null);
|
|
3605
3603
|
__decorate([
|
|
3606
3604
|
$mol_mem_key
|
|
3607
|
-
], $
|
|
3605
|
+
], $mol_text_code_line.prototype, "find_pos", null);
|
|
3608
3606
|
__decorate([
|
|
3609
3607
|
$mol_mem_key
|
|
3610
|
-
], $
|
|
3611
|
-
$$.$
|
|
3608
|
+
], $mol_text_code_line.prototype, "find_token_pos", null);
|
|
3609
|
+
$$.$mol_text_code_line = $mol_text_code_line;
|
|
3612
3610
|
})($$ = $.$$ || ($.$$ = {}));
|
|
3613
3611
|
})($ || ($ = {}));
|
|
3614
3612
|
|
|
@@ -3619,11 +3617,11 @@ var $;
|
|
|
3619
3617
|
var $$;
|
|
3620
3618
|
(function ($$) {
|
|
3621
3619
|
const { rem } = $mol_style_unit;
|
|
3622
|
-
$mol_style_define($
|
|
3620
|
+
$mol_style_define($mol_text_code_line, {
|
|
3623
3621
|
display: 'block',
|
|
3624
3622
|
position: 'relative',
|
|
3625
3623
|
font: {
|
|
3626
|
-
family: '
|
|
3624
|
+
family: 'monospace',
|
|
3627
3625
|
},
|
|
3628
3626
|
Numb: {
|
|
3629
3627
|
textAlign: 'right',
|
|
@@ -4976,10 +4974,9 @@ var $;
|
|
|
4976
4974
|
$.$mol_fetch_response = $mol_fetch_response;
|
|
4977
4975
|
class $mol_fetch extends $mol_object2 {
|
|
4978
4976
|
static request(input, init = {}) {
|
|
4979
|
-
const native = globalThis.fetch ?? $node['undici'].fetch;
|
|
4980
4977
|
const controller = new AbortController();
|
|
4981
4978
|
let done = false;
|
|
4982
|
-
const promise =
|
|
4979
|
+
const promise = globalThis.fetch(input, {
|
|
4983
4980
|
...init,
|
|
4984
4981
|
signal: controller.signal,
|
|
4985
4982
|
}).finally(() => {
|
|
@@ -5231,7 +5228,7 @@ var $;
|
|
|
5231
5228
|
return "";
|
|
5232
5229
|
}
|
|
5233
5230
|
Row(id){
|
|
5234
|
-
const obj = new this.$.$
|
|
5231
|
+
const obj = new this.$.$mol_text_code_line();
|
|
5235
5232
|
(obj.numb_showed) = () => ((this.sidebar_showed()));
|
|
5236
5233
|
(obj.numb) = () => ((this.row_numb(id)));
|
|
5237
5234
|
(obj.text) = () => ((this.row_text(id)));
|
|
@@ -5383,6 +5380,11 @@ var $;
|
|
|
5383
5380
|
Rows: {
|
|
5384
5381
|
padding: $mol_gap.text,
|
|
5385
5382
|
},
|
|
5383
|
+
Row: {
|
|
5384
|
+
font: {
|
|
5385
|
+
family: 'inherit',
|
|
5386
|
+
},
|
|
5387
|
+
},
|
|
5386
5388
|
Copy: {
|
|
5387
5389
|
alignSelf: 'flex-start',
|
|
5388
5390
|
justifySelf: 'flex-start',
|
|
@@ -5390,7 +5392,7 @@ var $;
|
|
|
5390
5392
|
'@': {
|
|
5391
5393
|
'mol_text_code_sidebar_showed': {
|
|
5392
5394
|
true: {
|
|
5393
|
-
$
|
|
5395
|
+
$mol_text_code_line: {
|
|
5394
5396
|
margin: {
|
|
5395
5397
|
left: rem(1.75),
|
|
5396
5398
|
},
|