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/node.mjs
CHANGED
|
@@ -789,13 +789,12 @@ var $;
|
|
|
789
789
|
break;
|
|
790
790
|
}
|
|
791
791
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
792
|
-
handled.add(result);
|
|
793
792
|
const put = (res) => {
|
|
794
793
|
if (this.cache === result)
|
|
795
794
|
this.put(res);
|
|
796
795
|
return res;
|
|
797
796
|
};
|
|
798
|
-
result =
|
|
797
|
+
result = result.then(put, put);
|
|
799
798
|
}
|
|
800
799
|
}
|
|
801
800
|
catch (error) {
|
|
@@ -806,11 +805,10 @@ var $;
|
|
|
806
805
|
result = new Error(String(error), { cause: error });
|
|
807
806
|
}
|
|
808
807
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
809
|
-
|
|
810
|
-
result = Object.assign(result.finally(() => {
|
|
808
|
+
result = result.finally(() => {
|
|
811
809
|
if (this.cache === result)
|
|
812
810
|
this.absorb();
|
|
813
|
-
})
|
|
811
|
+
});
|
|
814
812
|
}
|
|
815
813
|
}
|
|
816
814
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
@@ -4008,7 +4006,7 @@ var $;
|
|
|
4008
4006
|
})($ || ($ = {}));
|
|
4009
4007
|
|
|
4010
4008
|
;
|
|
4011
|
-
($.$
|
|
4009
|
+
($.$mol_text_code_line) = class $mol_text_code_line extends ($.$mol_paragraph) {
|
|
4012
4010
|
numb(){
|
|
4013
4011
|
return 0;
|
|
4014
4012
|
}
|
|
@@ -4062,9 +4060,9 @@ var $;
|
|
|
4062
4060
|
return null;
|
|
4063
4061
|
}
|
|
4064
4062
|
};
|
|
4065
|
-
($mol_mem(($.$
|
|
4066
|
-
($mol_mem_key(($.$
|
|
4067
|
-
($mol_mem_key(($.$
|
|
4063
|
+
($mol_mem(($.$mol_text_code_line.prototype), "Numb"));
|
|
4064
|
+
($mol_mem_key(($.$mol_text_code_line.prototype), "Token"));
|
|
4065
|
+
($mol_mem_key(($.$mol_text_code_line.prototype), "Token_link"));
|
|
4068
4066
|
|
|
4069
4067
|
|
|
4070
4068
|
;
|
|
@@ -4177,7 +4175,7 @@ var $;
|
|
|
4177
4175
|
(function ($) {
|
|
4178
4176
|
var $$;
|
|
4179
4177
|
(function ($$) {
|
|
4180
|
-
class $
|
|
4178
|
+
class $mol_text_code_line extends $.$mol_text_code_line {
|
|
4181
4179
|
maximal_width() {
|
|
4182
4180
|
return this.text().length * this.letter_width();
|
|
4183
4181
|
}
|
|
@@ -4259,29 +4257,29 @@ var $;
|
|
|
4259
4257
|
}
|
|
4260
4258
|
__decorate([
|
|
4261
4259
|
$mol_mem_key
|
|
4262
|
-
], $
|
|
4260
|
+
], $mol_text_code_line.prototype, "tokens", null);
|
|
4263
4261
|
__decorate([
|
|
4264
4262
|
$mol_mem_key
|
|
4265
|
-
], $
|
|
4263
|
+
], $mol_text_code_line.prototype, "row_content", null);
|
|
4266
4264
|
__decorate([
|
|
4267
4265
|
$mol_mem_key
|
|
4268
|
-
], $
|
|
4266
|
+
], $mol_text_code_line.prototype, "token_type", null);
|
|
4269
4267
|
__decorate([
|
|
4270
4268
|
$mol_mem_key
|
|
4271
|
-
], $
|
|
4269
|
+
], $mol_text_code_line.prototype, "token_content", null);
|
|
4272
4270
|
__decorate([
|
|
4273
4271
|
$mol_mem_key
|
|
4274
|
-
], $
|
|
4272
|
+
], $mol_text_code_line.prototype, "token_text", null);
|
|
4275
4273
|
__decorate([
|
|
4276
4274
|
$mol_mem_key
|
|
4277
|
-
], $
|
|
4275
|
+
], $mol_text_code_line.prototype, "token_uri", null);
|
|
4278
4276
|
__decorate([
|
|
4279
4277
|
$mol_mem_key
|
|
4280
|
-
], $
|
|
4278
|
+
], $mol_text_code_line.prototype, "find_pos", null);
|
|
4281
4279
|
__decorate([
|
|
4282
4280
|
$mol_mem_key
|
|
4283
|
-
], $
|
|
4284
|
-
$$.$
|
|
4281
|
+
], $mol_text_code_line.prototype, "find_token_pos", null);
|
|
4282
|
+
$$.$mol_text_code_line = $mol_text_code_line;
|
|
4285
4283
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4286
4284
|
})($ || ($ = {}));
|
|
4287
4285
|
|
|
@@ -4292,11 +4290,11 @@ var $;
|
|
|
4292
4290
|
var $$;
|
|
4293
4291
|
(function ($$) {
|
|
4294
4292
|
const { rem } = $mol_style_unit;
|
|
4295
|
-
$mol_style_define($
|
|
4293
|
+
$mol_style_define($mol_text_code_line, {
|
|
4296
4294
|
display: 'block',
|
|
4297
4295
|
position: 'relative',
|
|
4298
4296
|
font: {
|
|
4299
|
-
family: '
|
|
4297
|
+
family: 'monospace',
|
|
4300
4298
|
},
|
|
4301
4299
|
Numb: {
|
|
4302
4300
|
textAlign: 'right',
|
|
@@ -5833,7 +5831,7 @@ var $;
|
|
|
5833
5831
|
return "";
|
|
5834
5832
|
}
|
|
5835
5833
|
Row(id){
|
|
5836
|
-
const obj = new this.$.$
|
|
5834
|
+
const obj = new this.$.$mol_text_code_line();
|
|
5837
5835
|
(obj.numb_showed) = () => ((this.sidebar_showed()));
|
|
5838
5836
|
(obj.numb) = () => ((this.row_numb(id)));
|
|
5839
5837
|
(obj.text) = () => ((this.row_text(id)));
|
|
@@ -5985,6 +5983,11 @@ var $;
|
|
|
5985
5983
|
Rows: {
|
|
5986
5984
|
padding: $mol_gap.text,
|
|
5987
5985
|
},
|
|
5986
|
+
Row: {
|
|
5987
|
+
font: {
|
|
5988
|
+
family: 'inherit',
|
|
5989
|
+
},
|
|
5990
|
+
},
|
|
5988
5991
|
Copy: {
|
|
5989
5992
|
alignSelf: 'flex-start',
|
|
5990
5993
|
justifySelf: 'flex-start',
|
|
@@ -5992,7 +5995,7 @@ var $;
|
|
|
5992
5995
|
'@': {
|
|
5993
5996
|
'mol_text_code_sidebar_showed': {
|
|
5994
5997
|
true: {
|
|
5995
|
-
$
|
|
5998
|
+
$mol_text_code_line: {
|
|
5996
5999
|
margin: {
|
|
5997
6000
|
left: rem(1.75),
|
|
5998
6001
|
},
|
package/node.test.js
CHANGED
|
@@ -780,13 +780,12 @@ var $;
|
|
|
780
780
|
break;
|
|
781
781
|
}
|
|
782
782
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
783
|
-
handled.add(result);
|
|
784
783
|
const put = (res) => {
|
|
785
784
|
if (this.cache === result)
|
|
786
785
|
this.put(res);
|
|
787
786
|
return res;
|
|
788
787
|
};
|
|
789
|
-
result =
|
|
788
|
+
result = result.then(put, put);
|
|
790
789
|
}
|
|
791
790
|
}
|
|
792
791
|
catch (error) {
|
|
@@ -797,11 +796,10 @@ var $;
|
|
|
797
796
|
result = new Error(String(error), { cause: error });
|
|
798
797
|
}
|
|
799
798
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
800
|
-
|
|
801
|
-
result = Object.assign(result.finally(() => {
|
|
799
|
+
result = result.finally(() => {
|
|
802
800
|
if (this.cache === result)
|
|
803
801
|
this.absorb();
|
|
804
|
-
})
|
|
802
|
+
});
|
|
805
803
|
}
|
|
806
804
|
}
|
|
807
805
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
@@ -3999,7 +3997,7 @@ var $;
|
|
|
3999
3997
|
})($ || ($ = {}));
|
|
4000
3998
|
|
|
4001
3999
|
;
|
|
4002
|
-
($.$
|
|
4000
|
+
($.$mol_text_code_line) = class $mol_text_code_line extends ($.$mol_paragraph) {
|
|
4003
4001
|
numb(){
|
|
4004
4002
|
return 0;
|
|
4005
4003
|
}
|
|
@@ -4053,9 +4051,9 @@ var $;
|
|
|
4053
4051
|
return null;
|
|
4054
4052
|
}
|
|
4055
4053
|
};
|
|
4056
|
-
($mol_mem(($.$
|
|
4057
|
-
($mol_mem_key(($.$
|
|
4058
|
-
($mol_mem_key(($.$
|
|
4054
|
+
($mol_mem(($.$mol_text_code_line.prototype), "Numb"));
|
|
4055
|
+
($mol_mem_key(($.$mol_text_code_line.prototype), "Token"));
|
|
4056
|
+
($mol_mem_key(($.$mol_text_code_line.prototype), "Token_link"));
|
|
4059
4057
|
|
|
4060
4058
|
|
|
4061
4059
|
;
|
|
@@ -4168,7 +4166,7 @@ var $;
|
|
|
4168
4166
|
(function ($) {
|
|
4169
4167
|
var $$;
|
|
4170
4168
|
(function ($$) {
|
|
4171
|
-
class $
|
|
4169
|
+
class $mol_text_code_line extends $.$mol_text_code_line {
|
|
4172
4170
|
maximal_width() {
|
|
4173
4171
|
return this.text().length * this.letter_width();
|
|
4174
4172
|
}
|
|
@@ -4250,29 +4248,29 @@ var $;
|
|
|
4250
4248
|
}
|
|
4251
4249
|
__decorate([
|
|
4252
4250
|
$mol_mem_key
|
|
4253
|
-
], $
|
|
4251
|
+
], $mol_text_code_line.prototype, "tokens", null);
|
|
4254
4252
|
__decorate([
|
|
4255
4253
|
$mol_mem_key
|
|
4256
|
-
], $
|
|
4254
|
+
], $mol_text_code_line.prototype, "row_content", null);
|
|
4257
4255
|
__decorate([
|
|
4258
4256
|
$mol_mem_key
|
|
4259
|
-
], $
|
|
4257
|
+
], $mol_text_code_line.prototype, "token_type", null);
|
|
4260
4258
|
__decorate([
|
|
4261
4259
|
$mol_mem_key
|
|
4262
|
-
], $
|
|
4260
|
+
], $mol_text_code_line.prototype, "token_content", null);
|
|
4263
4261
|
__decorate([
|
|
4264
4262
|
$mol_mem_key
|
|
4265
|
-
], $
|
|
4263
|
+
], $mol_text_code_line.prototype, "token_text", null);
|
|
4266
4264
|
__decorate([
|
|
4267
4265
|
$mol_mem_key
|
|
4268
|
-
], $
|
|
4266
|
+
], $mol_text_code_line.prototype, "token_uri", null);
|
|
4269
4267
|
__decorate([
|
|
4270
4268
|
$mol_mem_key
|
|
4271
|
-
], $
|
|
4269
|
+
], $mol_text_code_line.prototype, "find_pos", null);
|
|
4272
4270
|
__decorate([
|
|
4273
4271
|
$mol_mem_key
|
|
4274
|
-
], $
|
|
4275
|
-
$$.$
|
|
4272
|
+
], $mol_text_code_line.prototype, "find_token_pos", null);
|
|
4273
|
+
$$.$mol_text_code_line = $mol_text_code_line;
|
|
4276
4274
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4277
4275
|
})($ || ($ = {}));
|
|
4278
4276
|
|
|
@@ -4283,11 +4281,11 @@ var $;
|
|
|
4283
4281
|
var $$;
|
|
4284
4282
|
(function ($$) {
|
|
4285
4283
|
const { rem } = $mol_style_unit;
|
|
4286
|
-
$mol_style_define($
|
|
4284
|
+
$mol_style_define($mol_text_code_line, {
|
|
4287
4285
|
display: 'block',
|
|
4288
4286
|
position: 'relative',
|
|
4289
4287
|
font: {
|
|
4290
|
-
family: '
|
|
4288
|
+
family: 'monospace',
|
|
4291
4289
|
},
|
|
4292
4290
|
Numb: {
|
|
4293
4291
|
textAlign: 'right',
|
|
@@ -5824,7 +5822,7 @@ var $;
|
|
|
5824
5822
|
return "";
|
|
5825
5823
|
}
|
|
5826
5824
|
Row(id){
|
|
5827
|
-
const obj = new this.$.$
|
|
5825
|
+
const obj = new this.$.$mol_text_code_line();
|
|
5828
5826
|
(obj.numb_showed) = () => ((this.sidebar_showed()));
|
|
5829
5827
|
(obj.numb) = () => ((this.row_numb(id)));
|
|
5830
5828
|
(obj.text) = () => ((this.row_text(id)));
|
|
@@ -5976,6 +5974,11 @@ var $;
|
|
|
5976
5974
|
Rows: {
|
|
5977
5975
|
padding: $mol_gap.text,
|
|
5978
5976
|
},
|
|
5977
|
+
Row: {
|
|
5978
|
+
font: {
|
|
5979
|
+
family: 'inherit',
|
|
5980
|
+
},
|
|
5981
|
+
},
|
|
5979
5982
|
Copy: {
|
|
5980
5983
|
alignSelf: 'flex-start',
|
|
5981
5984
|
justifySelf: 'flex-start',
|
|
@@ -5983,7 +5986,7 @@ var $;
|
|
|
5983
5986
|
'@': {
|
|
5984
5987
|
'mol_text_code_sidebar_showed': {
|
|
5985
5988
|
true: {
|
|
5986
|
-
$
|
|
5989
|
+
$mol_text_code_line: {
|
|
5987
5990
|
margin: {
|
|
5988
5991
|
left: rem(1.75),
|
|
5989
5992
|
},
|