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.js 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 = Object.assign(result.then(put, put), { destructor: result.destructor });
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
- handled.add(result);
810
- result = Object.assign(result.finally(() => {
808
+ result = result.finally(() => {
811
809
  if (this.cache === result)
812
810
  this.absorb();
813
- }), { destructor: result.destructor });
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
- ($.$mol_text_code_row) = class $mol_text_code_row extends ($.$mol_paragraph) {
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(($.$mol_text_code_row.prototype), "Numb"));
4066
- ($mol_mem_key(($.$mol_text_code_row.prototype), "Token"));
4067
- ($mol_mem_key(($.$mol_text_code_row.prototype), "Token_link"));
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 $mol_text_code_row extends $.$mol_text_code_row {
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
- ], $mol_text_code_row.prototype, "tokens", null);
4260
+ ], $mol_text_code_line.prototype, "tokens", null);
4263
4261
  __decorate([
4264
4262
  $mol_mem_key
4265
- ], $mol_text_code_row.prototype, "row_content", null);
4263
+ ], $mol_text_code_line.prototype, "row_content", null);
4266
4264
  __decorate([
4267
4265
  $mol_mem_key
4268
- ], $mol_text_code_row.prototype, "token_type", null);
4266
+ ], $mol_text_code_line.prototype, "token_type", null);
4269
4267
  __decorate([
4270
4268
  $mol_mem_key
4271
- ], $mol_text_code_row.prototype, "token_content", null);
4269
+ ], $mol_text_code_line.prototype, "token_content", null);
4272
4270
  __decorate([
4273
4271
  $mol_mem_key
4274
- ], $mol_text_code_row.prototype, "token_text", null);
4272
+ ], $mol_text_code_line.prototype, "token_text", null);
4275
4273
  __decorate([
4276
4274
  $mol_mem_key
4277
- ], $mol_text_code_row.prototype, "token_uri", null);
4275
+ ], $mol_text_code_line.prototype, "token_uri", null);
4278
4276
  __decorate([
4279
4277
  $mol_mem_key
4280
- ], $mol_text_code_row.prototype, "find_pos", null);
4278
+ ], $mol_text_code_line.prototype, "find_pos", null);
4281
4279
  __decorate([
4282
4280
  $mol_mem_key
4283
- ], $mol_text_code_row.prototype, "find_token_pos", null);
4284
- $$.$mol_text_code_row = $mol_text_code_row;
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($mol_text_code_row, {
4293
+ $mol_style_define($mol_text_code_line, {
4296
4294
  display: 'block',
4297
4295
  position: 'relative',
4298
4296
  font: {
4299
- family: 'inherit',
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.$.$mol_text_code_row();
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
- $mol_text_code_row: {
5998
+ $mol_text_code_line: {
5996
5999
  margin: {
5997
6000
  left: rem(1.75),
5998
6001
  },