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.js CHANGED
@@ -3353,7 +3353,7 @@ var $;
3353
3353
  return 0;
3354
3354
  }
3355
3355
  sub(){
3356
- return [(this?.title())];
3356
+ return [(this.title())];
3357
3357
  }
3358
3358
  };
3359
3359
 
@@ -3431,16 +3431,16 @@ var $;
3431
3431
  return "";
3432
3432
  }
3433
3433
  sub(){
3434
- return (this?.parts());
3434
+ return (this.parts());
3435
3435
  }
3436
3436
  Low(id){
3437
3437
  const obj = new this.$.$mol_paragraph();
3438
- (obj.sub) = () => ([(this?.string(id))]);
3438
+ (obj.sub) = () => ([(this.string(id))]);
3439
3439
  return obj;
3440
3440
  }
3441
3441
  High(id){
3442
3442
  const obj = new this.$.$mol_paragraph();
3443
- (obj.sub) = () => ([(this?.string(id))]);
3443
+ (obj.sub) = () => ([(this.string(id))]);
3444
3444
  return obj;
3445
3445
  }
3446
3446
  };
@@ -3798,7 +3798,7 @@ var $;
3798
3798
  return "";
3799
3799
  }
3800
3800
  attr(){
3801
- return {...(super.attr()), "mol_text_code_token_type": (this?.type())};
3801
+ return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3802
3802
  }
3803
3803
  };
3804
3804
  ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
@@ -3814,7 +3814,7 @@ var $;
3814
3814
  attr(){
3815
3815
  return {
3816
3816
  ...(super.attr()),
3817
- "href": (this?.uri()),
3817
+ "href": (this.uri()),
3818
3818
  "target": "_blank"
3819
3819
  };
3820
3820
  }
@@ -4035,21 +4035,21 @@ var $;
4035
4035
  }
4036
4036
  Numb(){
4037
4037
  const obj = new this.$.$mol_view();
4038
- (obj.sub) = () => ([(this?.numb())]);
4038
+ (obj.sub) = () => ([(this.numb())]);
4039
4039
  return obj;
4040
4040
  }
4041
4041
  Token(id){
4042
4042
  const obj = new this.$.$mol_text_code_token();
4043
- (obj.type) = () => ((this?.token_type(id)));
4044
- (obj.haystack) = () => ((this?.token_text(id)));
4045
- (obj.needle) = () => ((this?.highlight()));
4043
+ (obj.type) = () => ((this.token_type(id)));
4044
+ (obj.haystack) = () => ((this.token_text(id)));
4045
+ (obj.needle) = () => ((this.highlight()));
4046
4046
  return obj;
4047
4047
  }
4048
4048
  Token_link(id){
4049
4049
  const obj = new this.$.$mol_text_code_token_link();
4050
- (obj.haystack) = () => ((this?.token_text(id)));
4051
- (obj.needle) = () => ((this?.highlight()));
4052
- (obj.uri) = () => ((this?.token_uri(id)));
4050
+ (obj.haystack) = () => ((this.token_text(id)));
4051
+ (obj.needle) = () => ((this.highlight()));
4052
+ (obj.uri) = () => ((this.token_uri(id)));
4053
4053
  return obj;
4054
4054
  }
4055
4055
  find_pos(id){
@@ -4326,7 +4326,7 @@ var $;
4326
4326
  return 0;
4327
4327
  }
4328
4328
  sub(){
4329
- return (this?.rows());
4329
+ return (this.rows());
4330
4330
  }
4331
4331
  Empty(){
4332
4332
  const obj = new this.$.$mol_view();
@@ -4334,12 +4334,12 @@ var $;
4334
4334
  }
4335
4335
  Gap_before(){
4336
4336
  const obj = new this.$.$mol_view();
4337
- (obj.style) = () => ({"paddingTop": (this?.gap_before())});
4337
+ (obj.style) = () => ({"paddingTop": (this.gap_before())});
4338
4338
  return obj;
4339
4339
  }
4340
4340
  Gap_after(){
4341
4341
  const obj = new this.$.$mol_view();
4342
- (obj.style) = () => ({"paddingTop": (this?.gap_after())});
4342
+ (obj.style) = () => ({"paddingTop": (this.gap_after())});
4343
4343
  return obj;
4344
4344
  }
4345
4345
  view_window(){
@@ -4578,13 +4578,13 @@ var $;
4578
4578
  return null;
4579
4579
  }
4580
4580
  attr(){
4581
- return {...(super.attr()), "mol_theme": (this?.theme())};
4581
+ return {...(super.attr()), "mol_theme": (this.theme())};
4582
4582
  }
4583
4583
  style(){
4584
4584
  return {...(super.style()), "minHeight": "1em"};
4585
4585
  }
4586
4586
  sub(){
4587
- return [(this?.value())];
4587
+ return [(this.value())];
4588
4588
  }
4589
4589
  };
4590
4590
 
@@ -4643,7 +4643,7 @@ var $;
4643
4643
  return "";
4644
4644
  }
4645
4645
  hint_safe(){
4646
- return (this?.hint());
4646
+ return (this.hint());
4647
4647
  }
4648
4648
  error(){
4649
4649
  return "";
@@ -4662,26 +4662,26 @@ var $;
4662
4662
  event(){
4663
4663
  return {
4664
4664
  ...(super.event()),
4665
- "click": (next) => (this?.event_activate(next)),
4666
- "dblclick": (next) => (this?.clicks(next)),
4667
- "keydown": (next) => (this?.event_key_press(next))
4665
+ "click": (next) => (this.event_activate(next)),
4666
+ "dblclick": (next) => (this.clicks(next)),
4667
+ "keydown": (next) => (this.event_key_press(next))
4668
4668
  };
4669
4669
  }
4670
4670
  attr(){
4671
4671
  return {
4672
4672
  ...(super.attr()),
4673
- "disabled": (this?.disabled()),
4673
+ "disabled": (this.disabled()),
4674
4674
  "role": "button",
4675
- "tabindex": (this?.tab_index()),
4676
- "title": (this?.hint_safe())
4675
+ "tabindex": (this.tab_index()),
4676
+ "title": (this.hint_safe())
4677
4677
  };
4678
4678
  }
4679
4679
  sub(){
4680
- return [(this?.title())];
4680
+ return [(this.title())];
4681
4681
  }
4682
4682
  Speck(){
4683
4683
  const obj = new this.$.$mol_speck();
4684
- (obj.value) = () => ((this?.error()));
4684
+ (obj.value) = () => ((this.error()));
4685
4685
  return obj;
4686
4686
  }
4687
4687
  };
@@ -5018,8 +5018,8 @@ var $;
5018
5018
  attr(){
5019
5019
  return {
5020
5020
  ...(super.attr()),
5021
- "viewBox": (this?.view_box()),
5022
- "preserveAspectRatio": (this?.aspect())
5021
+ "viewBox": (this.view_box()),
5022
+ "preserveAspectRatio": (this.aspect())
5023
5023
  };
5024
5024
  }
5025
5025
  };
@@ -5044,7 +5044,7 @@ var $;
5044
5044
  return "path";
5045
5045
  }
5046
5046
  attr(){
5047
- return {...(super.attr()), "d": (this?.geometry())};
5047
+ return {...(super.attr()), "d": (this.geometry())};
5048
5048
  }
5049
5049
  };
5050
5050
 
@@ -5059,7 +5059,7 @@ var $;
5059
5059
  }
5060
5060
  Path(){
5061
5061
  const obj = new this.$.$mol_svg_path();
5062
- (obj.geometry) = () => ((this?.path()));
5062
+ (obj.geometry) = () => ((this.path()));
5063
5063
  return obj;
5064
5064
  }
5065
5065
  view_box(){
@@ -5072,7 +5072,7 @@ var $;
5072
5072
  return 16;
5073
5073
  }
5074
5074
  sub(){
5075
- return [(this?.Path())];
5075
+ return [(this.Path())];
5076
5076
  }
5077
5077
  };
5078
5078
  ($mol_mem(($.$mol_icon.prototype), "Path"));
@@ -5113,11 +5113,11 @@ var $;
5113
5113
  ;
5114
5114
  ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
5115
5115
  text(){
5116
- return (this?.title());
5116
+ return (this.title());
5117
5117
  }
5118
5118
  text_blob(next){
5119
5119
  if(next !== undefined) return next;
5120
- const obj = new this.$.$mol_blob([(this?.text())], {"type": "text/plain"});
5120
+ const obj = new this.$.$mol_blob([(this.text())], {"type": "text/plain"});
5121
5121
  return obj;
5122
5122
  }
5123
5123
  html(){
@@ -5125,7 +5125,7 @@ var $;
5125
5125
  }
5126
5126
  html_blob(next){
5127
5127
  if(next !== undefined) return next;
5128
- const obj = new this.$.$mol_blob([(this?.html())], {"type": "text/html"});
5128
+ const obj = new this.$.$mol_blob([(this.html())], {"type": "text/html"});
5129
5129
  return obj;
5130
5130
  }
5131
5131
  Icon(){
@@ -5136,13 +5136,13 @@ var $;
5136
5136
  return "";
5137
5137
  }
5138
5138
  blobs(){
5139
- return [(this?.text_blob()), (this?.html_blob())];
5139
+ return [(this.text_blob()), (this.html_blob())];
5140
5140
  }
5141
5141
  data(){
5142
5142
  return {};
5143
5143
  }
5144
5144
  sub(){
5145
- return [(this?.Icon()), (this?.title())];
5145
+ return [(this.Icon()), (this.title())];
5146
5146
  }
5147
5147
  };
5148
5148
  ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
@@ -5828,21 +5828,21 @@ var $;
5828
5828
  }
5829
5829
  Row(id){
5830
5830
  const obj = new this.$.$mol_text_code_row();
5831
- (obj.numb_showed) = () => ((this?.sidebar_showed()));
5832
- (obj.numb) = () => ((this?.row_numb(id)));
5833
- (obj.text) = () => ((this?.row_text(id)));
5834
- (obj.syntax) = () => ((this?.syntax()));
5835
- (obj.uri_resolve) = (id) => ((this?.uri_resolve(id)));
5836
- (obj.highlight) = () => ((this?.highlight()));
5831
+ (obj.numb_showed) = () => ((this.sidebar_showed()));
5832
+ (obj.numb) = () => ((this.row_numb(id)));
5833
+ (obj.text) = () => ((this.row_text(id)));
5834
+ (obj.syntax) = () => ((this.syntax()));
5835
+ (obj.uri_resolve) = (id) => ((this.uri_resolve(id)));
5836
+ (obj.highlight) = () => ((this.highlight()));
5837
5837
  return obj;
5838
5838
  }
5839
5839
  rows(){
5840
- return [(this?.Row("0"))];
5840
+ return [(this.Row("0"))];
5841
5841
  }
5842
5842
  Rows(){
5843
5843
  const obj = new this.$.$mol_list();
5844
- (obj.render_visible_only) = () => ((this?.render_visible_only()));
5845
- (obj.rows) = () => ((this?.rows()));
5844
+ (obj.render_visible_only) = () => ((this.render_visible_only()));
5845
+ (obj.rows) = () => ((this.rows()));
5846
5846
  return obj;
5847
5847
  }
5848
5848
  text_export(){
@@ -5851,11 +5851,11 @@ var $;
5851
5851
  Copy(){
5852
5852
  const obj = new this.$.$mol_button_copy();
5853
5853
  (obj.hint) = () => ((this.$.$mol_locale.text("$mol_text_code_Copy_hint")));
5854
- (obj.text) = () => ((this?.text_export()));
5854
+ (obj.text) = () => ((this.text_export()));
5855
5855
  return obj;
5856
5856
  }
5857
5857
  attr(){
5858
- return {...(super.attr()), "mol_text_code_sidebar_showed": (this?.sidebar_showed())};
5858
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5859
5859
  }
5860
5860
  text(){
5861
5861
  return "";
@@ -5870,7 +5870,7 @@ var $;
5870
5870
  return "";
5871
5871
  }
5872
5872
  sub(){
5873
- return [(this?.Rows()), (this?.Copy())];
5873
+ return [(this.Rows()), (this.Copy())];
5874
5874
  }
5875
5875
  };
5876
5876
  ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
@@ -6018,22 +6018,22 @@ var $;
6018
6018
  }
6019
6019
  Title(){
6020
6020
  const obj = new this.$.$mol_view();
6021
- (obj.sub) = () => ([(this?.title())]);
6021
+ (obj.sub) = () => ([(this.title())]);
6022
6022
  return obj;
6023
6023
  }
6024
6024
  label(){
6025
- return [(this?.Title())];
6025
+ return [(this.Title())];
6026
6026
  }
6027
6027
  attr(){
6028
6028
  return {
6029
6029
  ...(super.attr()),
6030
- "mol_check_checked": (this?.checked()),
6031
- "aria-checked": (this?.aria_checked()),
6032
- "role": (this?.aria_role())
6030
+ "mol_check_checked": (this.checked()),
6031
+ "aria-checked": (this.aria_checked()),
6032
+ "role": (this.aria_role())
6033
6033
  };
6034
6034
  }
6035
6035
  sub(){
6036
- return [(this?.Icon()), (this?.label())];
6036
+ return [(this.Icon()), (this.label())];
6037
6037
  }
6038
6038
  };
6039
6039
  ($mol_mem(($.$mol_check.prototype), "checked"));
@@ -6122,13 +6122,13 @@ var $;
6122
6122
  return 0;
6123
6123
  }
6124
6124
  style(){
6125
- return {...(super.style()), "paddingLeft": (this?.level_style())};
6125
+ return {...(super.style()), "paddingLeft": (this.level_style())};
6126
6126
  }
6127
6127
  checked(next){
6128
- return (this?.expanded(next));
6128
+ return (this.expanded(next));
6129
6129
  }
6130
6130
  enabled(){
6131
- return (this?.expandable());
6131
+ return (this.expandable());
6132
6132
  }
6133
6133
  };
6134
6134
  ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
@@ -6180,17 +6180,17 @@ var $;
6180
6180
  }
6181
6181
  Dump(id){
6182
6182
  const obj = new this.$.$mol_dump_value();
6183
- (obj.value) = () => ((this?.dump_value(id)));
6184
- (obj.expanded) = (next) => ((this?.dump_expanded(id, next)));
6185
- (obj.prototypes) = () => ((this?.prototypes()));
6186
- (obj.preview_show) = () => ((this?.preview_show()));
6183
+ (obj.value) = () => ((this.dump_value(id)));
6184
+ (obj.expanded) = (next) => ((this.dump_expanded(id, next)));
6185
+ (obj.prototypes) = () => ((this.prototypes()));
6186
+ (obj.preview_show) = () => ((this.preview_show()));
6187
6187
  return obj;
6188
6188
  }
6189
6189
  values(){
6190
6190
  return [];
6191
6191
  }
6192
6192
  sub(){
6193
- return [(this?.Dump("0"))];
6193
+ return [(this.Dump("0"))];
6194
6194
  }
6195
6195
  };
6196
6196
  ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
@@ -6241,13 +6241,13 @@ var $;
6241
6241
  return true;
6242
6242
  }
6243
6243
  label(){
6244
- return [(this?.title())];
6244
+ return [(this.title())];
6245
6245
  }
6246
6246
  Trigger(){
6247
6247
  const obj = new this.$.$mol_check_expand();
6248
- (obj.checked) = (next) => ((this?.expanded(next)));
6249
- (obj.expandable) = () => ((this?.expandable()));
6250
- (obj.label) = () => ((this?.label()));
6248
+ (obj.checked) = (next) => ((this.expanded(next)));
6249
+ (obj.expandable) = () => ((this.expandable()));
6250
+ (obj.label) = () => ((this.label()));
6251
6251
  return obj;
6252
6252
  }
6253
6253
  Tools(){
@@ -6255,7 +6255,7 @@ var $;
6255
6255
  }
6256
6256
  Label(){
6257
6257
  const obj = new this.$.$mol_view();
6258
- (obj.sub) = () => ([(this?.Trigger()), (this?.Tools())]);
6258
+ (obj.sub) = () => ([(this.Trigger()), (this.Tools())]);
6259
6259
  return obj;
6260
6260
  }
6261
6261
  content(){
@@ -6263,11 +6263,11 @@ var $;
6263
6263
  }
6264
6264
  Content(){
6265
6265
  const obj = new this.$.$mol_list();
6266
- (obj.rows) = () => ((this?.content()));
6266
+ (obj.rows) = () => ((this.content()));
6267
6267
  return obj;
6268
6268
  }
6269
6269
  rows(){
6270
- return [(this?.Label()), (this?.Content())];
6270
+ return [(this.Label()), (this.Content())];
6271
6271
  }
6272
6272
  };
6273
6273
  ($mol_mem(($.$mol_expander.prototype), "expanded"));
@@ -6317,7 +6317,7 @@ var $;
6317
6317
  }
6318
6318
  Simple(){
6319
6319
  const obj = new this.$.$mol_text_code();
6320
- (obj.text) = () => ((this?.simple()));
6320
+ (obj.text) = () => ((this.simple()));
6321
6321
  return obj;
6322
6322
  }
6323
6323
  expanded(next){
@@ -6336,17 +6336,17 @@ var $;
6336
6336
  }
6337
6337
  Expand_title(){
6338
6338
  const obj = new this.$.$mol_text_code();
6339
- (obj.text) = () => ((this?.expand_title()));
6339
+ (obj.text) = () => ((this.expand_title()));
6340
6340
  return obj;
6341
6341
  }
6342
6342
  Expand_head(){
6343
6343
  const obj = new this.$.$mol_check_expand();
6344
6344
  (obj.minimal_height) = () => (24);
6345
6345
  (obj.minimal_width) = () => (24);
6346
- (obj.expanded) = (next) => ((this?.expanded(next)));
6347
- (obj.expandable) = () => ((this?.expandable()));
6348
- (obj.clicks) = (next) => ((this?.expand_all(next)));
6349
- (obj.label) = () => ([(this?.Expand_title())]);
6346
+ (obj.expanded) = (next) => ((this.expanded(next)));
6347
+ (obj.expandable) = () => ((this.expandable()));
6348
+ (obj.clicks) = (next) => ((this.expand_all(next)));
6349
+ (obj.label) = () => ([(this.Expand_title())]);
6350
6350
  return obj;
6351
6351
  }
6352
6352
  preview_dom(){
@@ -6357,13 +6357,13 @@ var $;
6357
6357
  }
6358
6358
  Preview_dom(){
6359
6359
  const obj = new this.$.$mol_view();
6360
- (obj.dom_node) = () => ((this?.preview_dom()));
6361
- (obj.render) = () => ((this?.preview()));
6360
+ (obj.dom_node) = () => ((this.preview_dom()));
6361
+ (obj.render) = () => ((this.preview()));
6362
6362
  return obj;
6363
6363
  }
6364
6364
  Preview(){
6365
6365
  const obj = new this.$.$mol_view();
6366
- (obj.sub) = () => ([(this?.Preview_dom())]);
6366
+ (obj.sub) = () => ([(this.Preview_dom())]);
6367
6367
  return obj;
6368
6368
  }
6369
6369
  row_values(id){
@@ -6374,19 +6374,19 @@ var $;
6374
6374
  }
6375
6375
  Row(id){
6376
6376
  const obj = new this.$.$mol_dump_list();
6377
- (obj.values) = () => ((this?.row_values(id)));
6378
- (obj.prototypes) = () => ((this?.prototypes()));
6379
- (obj.preview_show) = () => ((this?.preview_show()));
6377
+ (obj.values) = () => ((this.row_values(id)));
6378
+ (obj.prototypes) = () => ((this.prototypes()));
6379
+ (obj.preview_show) = () => ((this.preview_show()));
6380
6380
  return obj;
6381
6381
  }
6382
6382
  expand_content(){
6383
- return [(this?.Preview()), (this?.Row("0"))];
6383
+ return [(this.Preview()), (this.Row("0"))];
6384
6384
  }
6385
6385
  Expand(){
6386
6386
  const obj = new this.$.$mol_expander();
6387
- (obj.expanded) = (next) => ((this?.expanded(next)));
6388
- (obj.Trigger) = () => ((this?.Expand_head()));
6389
- (obj.content) = () => ((this?.expand_content()));
6387
+ (obj.expanded) = (next) => ((this.expanded(next)));
6388
+ (obj.Trigger) = () => ((this.Expand_head()));
6389
+ (obj.content) = () => ((this.expand_content()));
6390
6390
  return obj;
6391
6391
  }
6392
6392
  value(next){
@@ -6398,7 +6398,7 @@ var $;
6398
6398
  return true;
6399
6399
  }
6400
6400
  sub(){
6401
- return [(this?.Simple()), (this?.Expand())];
6401
+ return [(this.Simple()), (this.Expand())];
6402
6402
  }
6403
6403
  };
6404
6404
  ($mol_mem(($.$mol_dump_value.prototype), "Simple"));