mol_dump_lib 0.0.504 → 0.0.505

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 CHANGED
@@ -3344,7 +3344,7 @@ var $;
3344
3344
  return 0;
3345
3345
  }
3346
3346
  sub(){
3347
- return [(this?.title())];
3347
+ return [(this.title())];
3348
3348
  }
3349
3349
  };
3350
3350
 
@@ -3422,16 +3422,16 @@ var $;
3422
3422
  return "";
3423
3423
  }
3424
3424
  sub(){
3425
- return (this?.parts());
3425
+ return (this.parts());
3426
3426
  }
3427
3427
  Low(id){
3428
3428
  const obj = new this.$.$mol_paragraph();
3429
- (obj.sub) = () => ([(this?.string(id))]);
3429
+ (obj.sub) = () => ([(this.string(id))]);
3430
3430
  return obj;
3431
3431
  }
3432
3432
  High(id){
3433
3433
  const obj = new this.$.$mol_paragraph();
3434
- (obj.sub) = () => ([(this?.string(id))]);
3434
+ (obj.sub) = () => ([(this.string(id))]);
3435
3435
  return obj;
3436
3436
  }
3437
3437
  };
@@ -3789,7 +3789,7 @@ var $;
3789
3789
  return "";
3790
3790
  }
3791
3791
  attr(){
3792
- return {...(super.attr()), "mol_text_code_token_type": (this?.type())};
3792
+ return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3793
3793
  }
3794
3794
  };
3795
3795
  ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
@@ -3805,7 +3805,7 @@ var $;
3805
3805
  attr(){
3806
3806
  return {
3807
3807
  ...(super.attr()),
3808
- "href": (this?.uri()),
3808
+ "href": (this.uri()),
3809
3809
  "target": "_blank"
3810
3810
  };
3811
3811
  }
@@ -4026,21 +4026,21 @@ var $;
4026
4026
  }
4027
4027
  Numb(){
4028
4028
  const obj = new this.$.$mol_view();
4029
- (obj.sub) = () => ([(this?.numb())]);
4029
+ (obj.sub) = () => ([(this.numb())]);
4030
4030
  return obj;
4031
4031
  }
4032
4032
  Token(id){
4033
4033
  const obj = new this.$.$mol_text_code_token();
4034
- (obj.type) = () => ((this?.token_type(id)));
4035
- (obj.haystack) = () => ((this?.token_text(id)));
4036
- (obj.needle) = () => ((this?.highlight()));
4034
+ (obj.type) = () => ((this.token_type(id)));
4035
+ (obj.haystack) = () => ((this.token_text(id)));
4036
+ (obj.needle) = () => ((this.highlight()));
4037
4037
  return obj;
4038
4038
  }
4039
4039
  Token_link(id){
4040
4040
  const obj = new this.$.$mol_text_code_token_link();
4041
- (obj.haystack) = () => ((this?.token_text(id)));
4042
- (obj.needle) = () => ((this?.highlight()));
4043
- (obj.uri) = () => ((this?.token_uri(id)));
4041
+ (obj.haystack) = () => ((this.token_text(id)));
4042
+ (obj.needle) = () => ((this.highlight()));
4043
+ (obj.uri) = () => ((this.token_uri(id)));
4044
4044
  return obj;
4045
4045
  }
4046
4046
  find_pos(id){
@@ -4317,7 +4317,7 @@ var $;
4317
4317
  return 0;
4318
4318
  }
4319
4319
  sub(){
4320
- return (this?.rows());
4320
+ return (this.rows());
4321
4321
  }
4322
4322
  Empty(){
4323
4323
  const obj = new this.$.$mol_view();
@@ -4325,12 +4325,12 @@ var $;
4325
4325
  }
4326
4326
  Gap_before(){
4327
4327
  const obj = new this.$.$mol_view();
4328
- (obj.style) = () => ({"paddingTop": (this?.gap_before())});
4328
+ (obj.style) = () => ({"paddingTop": (this.gap_before())});
4329
4329
  return obj;
4330
4330
  }
4331
4331
  Gap_after(){
4332
4332
  const obj = new this.$.$mol_view();
4333
- (obj.style) = () => ({"paddingTop": (this?.gap_after())});
4333
+ (obj.style) = () => ({"paddingTop": (this.gap_after())});
4334
4334
  return obj;
4335
4335
  }
4336
4336
  view_window(){
@@ -4569,13 +4569,13 @@ var $;
4569
4569
  return null;
4570
4570
  }
4571
4571
  attr(){
4572
- return {...(super.attr()), "mol_theme": (this?.theme())};
4572
+ return {...(super.attr()), "mol_theme": (this.theme())};
4573
4573
  }
4574
4574
  style(){
4575
4575
  return {...(super.style()), "minHeight": "1em"};
4576
4576
  }
4577
4577
  sub(){
4578
- return [(this?.value())];
4578
+ return [(this.value())];
4579
4579
  }
4580
4580
  };
4581
4581
 
@@ -4634,7 +4634,7 @@ var $;
4634
4634
  return "";
4635
4635
  }
4636
4636
  hint_safe(){
4637
- return (this?.hint());
4637
+ return (this.hint());
4638
4638
  }
4639
4639
  error(){
4640
4640
  return "";
@@ -4653,26 +4653,26 @@ var $;
4653
4653
  event(){
4654
4654
  return {
4655
4655
  ...(super.event()),
4656
- "click": (next) => (this?.event_activate(next)),
4657
- "dblclick": (next) => (this?.clicks(next)),
4658
- "keydown": (next) => (this?.event_key_press(next))
4656
+ "click": (next) => (this.event_activate(next)),
4657
+ "dblclick": (next) => (this.clicks(next)),
4658
+ "keydown": (next) => (this.event_key_press(next))
4659
4659
  };
4660
4660
  }
4661
4661
  attr(){
4662
4662
  return {
4663
4663
  ...(super.attr()),
4664
- "disabled": (this?.disabled()),
4664
+ "disabled": (this.disabled()),
4665
4665
  "role": "button",
4666
- "tabindex": (this?.tab_index()),
4667
- "title": (this?.hint_safe())
4666
+ "tabindex": (this.tab_index()),
4667
+ "title": (this.hint_safe())
4668
4668
  };
4669
4669
  }
4670
4670
  sub(){
4671
- return [(this?.title())];
4671
+ return [(this.title())];
4672
4672
  }
4673
4673
  Speck(){
4674
4674
  const obj = new this.$.$mol_speck();
4675
- (obj.value) = () => ((this?.error()));
4675
+ (obj.value) = () => ((this.error()));
4676
4676
  return obj;
4677
4677
  }
4678
4678
  };
@@ -5009,8 +5009,8 @@ var $;
5009
5009
  attr(){
5010
5010
  return {
5011
5011
  ...(super.attr()),
5012
- "viewBox": (this?.view_box()),
5013
- "preserveAspectRatio": (this?.aspect())
5012
+ "viewBox": (this.view_box()),
5013
+ "preserveAspectRatio": (this.aspect())
5014
5014
  };
5015
5015
  }
5016
5016
  };
@@ -5035,7 +5035,7 @@ var $;
5035
5035
  return "path";
5036
5036
  }
5037
5037
  attr(){
5038
- return {...(super.attr()), "d": (this?.geometry())};
5038
+ return {...(super.attr()), "d": (this.geometry())};
5039
5039
  }
5040
5040
  };
5041
5041
 
@@ -5050,7 +5050,7 @@ var $;
5050
5050
  }
5051
5051
  Path(){
5052
5052
  const obj = new this.$.$mol_svg_path();
5053
- (obj.geometry) = () => ((this?.path()));
5053
+ (obj.geometry) = () => ((this.path()));
5054
5054
  return obj;
5055
5055
  }
5056
5056
  view_box(){
@@ -5063,7 +5063,7 @@ var $;
5063
5063
  return 16;
5064
5064
  }
5065
5065
  sub(){
5066
- return [(this?.Path())];
5066
+ return [(this.Path())];
5067
5067
  }
5068
5068
  };
5069
5069
  ($mol_mem(($.$mol_icon.prototype), "Path"));
@@ -5104,11 +5104,11 @@ var $;
5104
5104
  ;
5105
5105
  ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
5106
5106
  text(){
5107
- return (this?.title());
5107
+ return (this.title());
5108
5108
  }
5109
5109
  text_blob(next){
5110
5110
  if(next !== undefined) return next;
5111
- const obj = new this.$.$mol_blob([(this?.text())], {"type": "text/plain"});
5111
+ const obj = new this.$.$mol_blob([(this.text())], {"type": "text/plain"});
5112
5112
  return obj;
5113
5113
  }
5114
5114
  html(){
@@ -5116,7 +5116,7 @@ var $;
5116
5116
  }
5117
5117
  html_blob(next){
5118
5118
  if(next !== undefined) return next;
5119
- const obj = new this.$.$mol_blob([(this?.html())], {"type": "text/html"});
5119
+ const obj = new this.$.$mol_blob([(this.html())], {"type": "text/html"});
5120
5120
  return obj;
5121
5121
  }
5122
5122
  Icon(){
@@ -5127,13 +5127,13 @@ var $;
5127
5127
  return "";
5128
5128
  }
5129
5129
  blobs(){
5130
- return [(this?.text_blob()), (this?.html_blob())];
5130
+ return [(this.text_blob()), (this.html_blob())];
5131
5131
  }
5132
5132
  data(){
5133
5133
  return {};
5134
5134
  }
5135
5135
  sub(){
5136
- return [(this?.Icon()), (this?.title())];
5136
+ return [(this.Icon()), (this.title())];
5137
5137
  }
5138
5138
  };
5139
5139
  ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
@@ -5819,21 +5819,21 @@ var $;
5819
5819
  }
5820
5820
  Row(id){
5821
5821
  const obj = new this.$.$mol_text_code_row();
5822
- (obj.numb_showed) = () => ((this?.sidebar_showed()));
5823
- (obj.numb) = () => ((this?.row_numb(id)));
5824
- (obj.text) = () => ((this?.row_text(id)));
5825
- (obj.syntax) = () => ((this?.syntax()));
5826
- (obj.uri_resolve) = (id) => ((this?.uri_resolve(id)));
5827
- (obj.highlight) = () => ((this?.highlight()));
5822
+ (obj.numb_showed) = () => ((this.sidebar_showed()));
5823
+ (obj.numb) = () => ((this.row_numb(id)));
5824
+ (obj.text) = () => ((this.row_text(id)));
5825
+ (obj.syntax) = () => ((this.syntax()));
5826
+ (obj.uri_resolve) = (id) => ((this.uri_resolve(id)));
5827
+ (obj.highlight) = () => ((this.highlight()));
5828
5828
  return obj;
5829
5829
  }
5830
5830
  rows(){
5831
- return [(this?.Row("0"))];
5831
+ return [(this.Row("0"))];
5832
5832
  }
5833
5833
  Rows(){
5834
5834
  const obj = new this.$.$mol_list();
5835
- (obj.render_visible_only) = () => ((this?.render_visible_only()));
5836
- (obj.rows) = () => ((this?.rows()));
5835
+ (obj.render_visible_only) = () => ((this.render_visible_only()));
5836
+ (obj.rows) = () => ((this.rows()));
5837
5837
  return obj;
5838
5838
  }
5839
5839
  text_export(){
@@ -5842,11 +5842,11 @@ var $;
5842
5842
  Copy(){
5843
5843
  const obj = new this.$.$mol_button_copy();
5844
5844
  (obj.hint) = () => ((this.$.$mol_locale.text("$mol_text_code_Copy_hint")));
5845
- (obj.text) = () => ((this?.text_export()));
5845
+ (obj.text) = () => ((this.text_export()));
5846
5846
  return obj;
5847
5847
  }
5848
5848
  attr(){
5849
- return {...(super.attr()), "mol_text_code_sidebar_showed": (this?.sidebar_showed())};
5849
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5850
5850
  }
5851
5851
  text(){
5852
5852
  return "";
@@ -5861,7 +5861,7 @@ var $;
5861
5861
  return "";
5862
5862
  }
5863
5863
  sub(){
5864
- return [(this?.Rows()), (this?.Copy())];
5864
+ return [(this.Rows()), (this.Copy())];
5865
5865
  }
5866
5866
  };
5867
5867
  ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
@@ -6009,22 +6009,22 @@ var $;
6009
6009
  }
6010
6010
  Title(){
6011
6011
  const obj = new this.$.$mol_view();
6012
- (obj.sub) = () => ([(this?.title())]);
6012
+ (obj.sub) = () => ([(this.title())]);
6013
6013
  return obj;
6014
6014
  }
6015
6015
  label(){
6016
- return [(this?.Title())];
6016
+ return [(this.Title())];
6017
6017
  }
6018
6018
  attr(){
6019
6019
  return {
6020
6020
  ...(super.attr()),
6021
- "mol_check_checked": (this?.checked()),
6022
- "aria-checked": (this?.aria_checked()),
6023
- "role": (this?.aria_role())
6021
+ "mol_check_checked": (this.checked()),
6022
+ "aria-checked": (this.aria_checked()),
6023
+ "role": (this.aria_role())
6024
6024
  };
6025
6025
  }
6026
6026
  sub(){
6027
- return [(this?.Icon()), (this?.label())];
6027
+ return [(this.Icon()), (this.label())];
6028
6028
  }
6029
6029
  };
6030
6030
  ($mol_mem(($.$mol_check.prototype), "checked"));
@@ -6113,13 +6113,13 @@ var $;
6113
6113
  return 0;
6114
6114
  }
6115
6115
  style(){
6116
- return {...(super.style()), "paddingLeft": (this?.level_style())};
6116
+ return {...(super.style()), "paddingLeft": (this.level_style())};
6117
6117
  }
6118
6118
  checked(next){
6119
- return (this?.expanded(next));
6119
+ return (this.expanded(next));
6120
6120
  }
6121
6121
  enabled(){
6122
- return (this?.expandable());
6122
+ return (this.expandable());
6123
6123
  }
6124
6124
  };
6125
6125
  ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
@@ -6171,17 +6171,17 @@ var $;
6171
6171
  }
6172
6172
  Dump(id){
6173
6173
  const obj = new this.$.$mol_dump_value();
6174
- (obj.value) = () => ((this?.dump_value(id)));
6175
- (obj.expanded) = (next) => ((this?.dump_expanded(id, next)));
6176
- (obj.prototypes) = () => ((this?.prototypes()));
6177
- (obj.preview_show) = () => ((this?.preview_show()));
6174
+ (obj.value) = () => ((this.dump_value(id)));
6175
+ (obj.expanded) = (next) => ((this.dump_expanded(id, next)));
6176
+ (obj.prototypes) = () => ((this.prototypes()));
6177
+ (obj.preview_show) = () => ((this.preview_show()));
6178
6178
  return obj;
6179
6179
  }
6180
6180
  values(){
6181
6181
  return [];
6182
6182
  }
6183
6183
  sub(){
6184
- return [(this?.Dump("0"))];
6184
+ return [(this.Dump("0"))];
6185
6185
  }
6186
6186
  };
6187
6187
  ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
@@ -6232,13 +6232,13 @@ var $;
6232
6232
  return true;
6233
6233
  }
6234
6234
  label(){
6235
- return [(this?.title())];
6235
+ return [(this.title())];
6236
6236
  }
6237
6237
  Trigger(){
6238
6238
  const obj = new this.$.$mol_check_expand();
6239
- (obj.checked) = (next) => ((this?.expanded(next)));
6240
- (obj.expandable) = () => ((this?.expandable()));
6241
- (obj.label) = () => ((this?.label()));
6239
+ (obj.checked) = (next) => ((this.expanded(next)));
6240
+ (obj.expandable) = () => ((this.expandable()));
6241
+ (obj.label) = () => ((this.label()));
6242
6242
  return obj;
6243
6243
  }
6244
6244
  Tools(){
@@ -6246,7 +6246,7 @@ var $;
6246
6246
  }
6247
6247
  Label(){
6248
6248
  const obj = new this.$.$mol_view();
6249
- (obj.sub) = () => ([(this?.Trigger()), (this?.Tools())]);
6249
+ (obj.sub) = () => ([(this.Trigger()), (this.Tools())]);
6250
6250
  return obj;
6251
6251
  }
6252
6252
  content(){
@@ -6254,11 +6254,11 @@ var $;
6254
6254
  }
6255
6255
  Content(){
6256
6256
  const obj = new this.$.$mol_list();
6257
- (obj.rows) = () => ((this?.content()));
6257
+ (obj.rows) = () => ((this.content()));
6258
6258
  return obj;
6259
6259
  }
6260
6260
  rows(){
6261
- return [(this?.Label()), (this?.Content())];
6261
+ return [(this.Label()), (this.Content())];
6262
6262
  }
6263
6263
  };
6264
6264
  ($mol_mem(($.$mol_expander.prototype), "expanded"));
@@ -6308,7 +6308,7 @@ var $;
6308
6308
  }
6309
6309
  Simple(){
6310
6310
  const obj = new this.$.$mol_text_code();
6311
- (obj.text) = () => ((this?.simple()));
6311
+ (obj.text) = () => ((this.simple()));
6312
6312
  return obj;
6313
6313
  }
6314
6314
  expanded(next){
@@ -6327,17 +6327,17 @@ var $;
6327
6327
  }
6328
6328
  Expand_title(){
6329
6329
  const obj = new this.$.$mol_text_code();
6330
- (obj.text) = () => ((this?.expand_title()));
6330
+ (obj.text) = () => ((this.expand_title()));
6331
6331
  return obj;
6332
6332
  }
6333
6333
  Expand_head(){
6334
6334
  const obj = new this.$.$mol_check_expand();
6335
6335
  (obj.minimal_height) = () => (24);
6336
6336
  (obj.minimal_width) = () => (24);
6337
- (obj.expanded) = (next) => ((this?.expanded(next)));
6338
- (obj.expandable) = () => ((this?.expandable()));
6339
- (obj.clicks) = (next) => ((this?.expand_all(next)));
6340
- (obj.label) = () => ([(this?.Expand_title())]);
6337
+ (obj.expanded) = (next) => ((this.expanded(next)));
6338
+ (obj.expandable) = () => ((this.expandable()));
6339
+ (obj.clicks) = (next) => ((this.expand_all(next)));
6340
+ (obj.label) = () => ([(this.Expand_title())]);
6341
6341
  return obj;
6342
6342
  }
6343
6343
  preview_dom(){
@@ -6348,13 +6348,13 @@ var $;
6348
6348
  }
6349
6349
  Preview_dom(){
6350
6350
  const obj = new this.$.$mol_view();
6351
- (obj.dom_node) = () => ((this?.preview_dom()));
6352
- (obj.render) = () => ((this?.preview()));
6351
+ (obj.dom_node) = () => ((this.preview_dom()));
6352
+ (obj.render) = () => ((this.preview()));
6353
6353
  return obj;
6354
6354
  }
6355
6355
  Preview(){
6356
6356
  const obj = new this.$.$mol_view();
6357
- (obj.sub) = () => ([(this?.Preview_dom())]);
6357
+ (obj.sub) = () => ([(this.Preview_dom())]);
6358
6358
  return obj;
6359
6359
  }
6360
6360
  row_values(id){
@@ -6365,19 +6365,19 @@ var $;
6365
6365
  }
6366
6366
  Row(id){
6367
6367
  const obj = new this.$.$mol_dump_list();
6368
- (obj.values) = () => ((this?.row_values(id)));
6369
- (obj.prototypes) = () => ((this?.prototypes()));
6370
- (obj.preview_show) = () => ((this?.preview_show()));
6368
+ (obj.values) = () => ((this.row_values(id)));
6369
+ (obj.prototypes) = () => ((this.prototypes()));
6370
+ (obj.preview_show) = () => ((this.preview_show()));
6371
6371
  return obj;
6372
6372
  }
6373
6373
  expand_content(){
6374
- return [(this?.Preview()), (this?.Row("0"))];
6374
+ return [(this.Preview()), (this.Row("0"))];
6375
6375
  }
6376
6376
  Expand(){
6377
6377
  const obj = new this.$.$mol_expander();
6378
- (obj.expanded) = (next) => ((this?.expanded(next)));
6379
- (obj.Trigger) = () => ((this?.Expand_head()));
6380
- (obj.content) = () => ((this?.expand_content()));
6378
+ (obj.expanded) = (next) => ((this.expanded(next)));
6379
+ (obj.Trigger) = () => ((this.Expand_head()));
6380
+ (obj.content) = () => ((this.expand_content()));
6381
6381
  return obj;
6382
6382
  }
6383
6383
  value(next){
@@ -6389,7 +6389,7 @@ var $;
6389
6389
  return true;
6390
6390
  }
6391
6391
  sub(){
6392
- return [(this?.Simple()), (this?.Expand())];
6392
+ return [(this.Simple()), (this.Expand())];
6393
6393
  }
6394
6394
  };
6395
6395
  ($mol_mem(($.$mol_dump_value.prototype), "Simple"));