mol_dump_lib 0.0.504 → 0.0.506

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/web.js CHANGED
@@ -2680,7 +2680,7 @@ var $;
2680
2680
  return 0;
2681
2681
  }
2682
2682
  sub(){
2683
- return [(this?.title())];
2683
+ return [(this.title())];
2684
2684
  }
2685
2685
  };
2686
2686
 
@@ -2758,16 +2758,16 @@ var $;
2758
2758
  return "";
2759
2759
  }
2760
2760
  sub(){
2761
- return (this?.parts());
2761
+ return (this.parts());
2762
2762
  }
2763
2763
  Low(id){
2764
2764
  const obj = new this.$.$mol_paragraph();
2765
- (obj.sub) = () => ([(this?.string(id))]);
2765
+ (obj.sub) = () => ([(this.string(id))]);
2766
2766
  return obj;
2767
2767
  }
2768
2768
  High(id){
2769
2769
  const obj = new this.$.$mol_paragraph();
2770
- (obj.sub) = () => ([(this?.string(id))]);
2770
+ (obj.sub) = () => ([(this.string(id))]);
2771
2771
  return obj;
2772
2772
  }
2773
2773
  };
@@ -3125,7 +3125,7 @@ var $;
3125
3125
  return "";
3126
3126
  }
3127
3127
  attr(){
3128
- return {...(super.attr()), "mol_text_code_token_type": (this?.type())};
3128
+ return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3129
3129
  }
3130
3130
  };
3131
3131
  ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
@@ -3141,7 +3141,7 @@ var $;
3141
3141
  attr(){
3142
3142
  return {
3143
3143
  ...(super.attr()),
3144
- "href": (this?.uri()),
3144
+ "href": (this.uri()),
3145
3145
  "target": "_blank"
3146
3146
  };
3147
3147
  }
@@ -3362,21 +3362,21 @@ var $;
3362
3362
  }
3363
3363
  Numb(){
3364
3364
  const obj = new this.$.$mol_view();
3365
- (obj.sub) = () => ([(this?.numb())]);
3365
+ (obj.sub) = () => ([(this.numb())]);
3366
3366
  return obj;
3367
3367
  }
3368
3368
  Token(id){
3369
3369
  const obj = new this.$.$mol_text_code_token();
3370
- (obj.type) = () => ((this?.token_type(id)));
3371
- (obj.haystack) = () => ((this?.token_text(id)));
3372
- (obj.needle) = () => ((this?.highlight()));
3370
+ (obj.type) = () => ((this.token_type(id)));
3371
+ (obj.haystack) = () => ((this.token_text(id)));
3372
+ (obj.needle) = () => ((this.highlight()));
3373
3373
  return obj;
3374
3374
  }
3375
3375
  Token_link(id){
3376
3376
  const obj = new this.$.$mol_text_code_token_link();
3377
- (obj.haystack) = () => ((this?.token_text(id)));
3378
- (obj.needle) = () => ((this?.highlight()));
3379
- (obj.uri) = () => ((this?.token_uri(id)));
3377
+ (obj.haystack) = () => ((this.token_text(id)));
3378
+ (obj.needle) = () => ((this.highlight()));
3379
+ (obj.uri) = () => ((this.token_uri(id)));
3380
3380
  return obj;
3381
3381
  }
3382
3382
  find_pos(id){
@@ -3653,7 +3653,7 @@ var $;
3653
3653
  return 0;
3654
3654
  }
3655
3655
  sub(){
3656
- return (this?.rows());
3656
+ return (this.rows());
3657
3657
  }
3658
3658
  Empty(){
3659
3659
  const obj = new this.$.$mol_view();
@@ -3661,12 +3661,12 @@ var $;
3661
3661
  }
3662
3662
  Gap_before(){
3663
3663
  const obj = new this.$.$mol_view();
3664
- (obj.style) = () => ({"paddingTop": (this?.gap_before())});
3664
+ (obj.style) = () => ({"paddingTop": (this.gap_before())});
3665
3665
  return obj;
3666
3666
  }
3667
3667
  Gap_after(){
3668
3668
  const obj = new this.$.$mol_view();
3669
- (obj.style) = () => ({"paddingTop": (this?.gap_after())});
3669
+ (obj.style) = () => ({"paddingTop": (this.gap_after())});
3670
3670
  return obj;
3671
3671
  }
3672
3672
  view_window(){
@@ -3905,13 +3905,13 @@ var $;
3905
3905
  return null;
3906
3906
  }
3907
3907
  attr(){
3908
- return {...(super.attr()), "mol_theme": (this?.theme())};
3908
+ return {...(super.attr()), "mol_theme": (this.theme())};
3909
3909
  }
3910
3910
  style(){
3911
3911
  return {...(super.style()), "minHeight": "1em"};
3912
3912
  }
3913
3913
  sub(){
3914
- return [(this?.value())];
3914
+ return [(this.value())];
3915
3915
  }
3916
3916
  };
3917
3917
 
@@ -3970,7 +3970,7 @@ var $;
3970
3970
  return "";
3971
3971
  }
3972
3972
  hint_safe(){
3973
- return (this?.hint());
3973
+ return (this.hint());
3974
3974
  }
3975
3975
  error(){
3976
3976
  return "";
@@ -3989,26 +3989,26 @@ var $;
3989
3989
  event(){
3990
3990
  return {
3991
3991
  ...(super.event()),
3992
- "click": (next) => (this?.event_activate(next)),
3993
- "dblclick": (next) => (this?.clicks(next)),
3994
- "keydown": (next) => (this?.event_key_press(next))
3992
+ "click": (next) => (this.event_activate(next)),
3993
+ "dblclick": (next) => (this.clicks(next)),
3994
+ "keydown": (next) => (this.event_key_press(next))
3995
3995
  };
3996
3996
  }
3997
3997
  attr(){
3998
3998
  return {
3999
3999
  ...(super.attr()),
4000
- "disabled": (this?.disabled()),
4000
+ "disabled": (this.disabled()),
4001
4001
  "role": "button",
4002
- "tabindex": (this?.tab_index()),
4003
- "title": (this?.hint_safe())
4002
+ "tabindex": (this.tab_index()),
4003
+ "title": (this.hint_safe())
4004
4004
  };
4005
4005
  }
4006
4006
  sub(){
4007
- return [(this?.title())];
4007
+ return [(this.title())];
4008
4008
  }
4009
4009
  Speck(){
4010
4010
  const obj = new this.$.$mol_speck();
4011
- (obj.value) = () => ((this?.error()));
4011
+ (obj.value) = () => ((this.error()));
4012
4012
  return obj;
4013
4013
  }
4014
4014
  };
@@ -4373,8 +4373,8 @@ var $;
4373
4373
  attr(){
4374
4374
  return {
4375
4375
  ...(super.attr()),
4376
- "viewBox": (this?.view_box()),
4377
- "preserveAspectRatio": (this?.aspect())
4376
+ "viewBox": (this.view_box()),
4377
+ "preserveAspectRatio": (this.aspect())
4378
4378
  };
4379
4379
  }
4380
4380
  };
@@ -4399,7 +4399,7 @@ var $;
4399
4399
  return "path";
4400
4400
  }
4401
4401
  attr(){
4402
- return {...(super.attr()), "d": (this?.geometry())};
4402
+ return {...(super.attr()), "d": (this.geometry())};
4403
4403
  }
4404
4404
  };
4405
4405
 
@@ -4414,7 +4414,7 @@ var $;
4414
4414
  }
4415
4415
  Path(){
4416
4416
  const obj = new this.$.$mol_svg_path();
4417
- (obj.geometry) = () => ((this?.path()));
4417
+ (obj.geometry) = () => ((this.path()));
4418
4418
  return obj;
4419
4419
  }
4420
4420
  view_box(){
@@ -4427,7 +4427,7 @@ var $;
4427
4427
  return 16;
4428
4428
  }
4429
4429
  sub(){
4430
- return [(this?.Path())];
4430
+ return [(this.Path())];
4431
4431
  }
4432
4432
  };
4433
4433
  ($mol_mem(($.$mol_icon.prototype), "Path"));
@@ -4468,11 +4468,11 @@ var $;
4468
4468
  ;
4469
4469
  ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
4470
4470
  text(){
4471
- return (this?.title());
4471
+ return (this.title());
4472
4472
  }
4473
4473
  text_blob(next){
4474
4474
  if(next !== undefined) return next;
4475
- const obj = new this.$.$mol_blob([(this?.text())], {"type": "text/plain"});
4475
+ const obj = new this.$.$mol_blob([(this.text())], {"type": "text/plain"});
4476
4476
  return obj;
4477
4477
  }
4478
4478
  html(){
@@ -4480,7 +4480,7 @@ var $;
4480
4480
  }
4481
4481
  html_blob(next){
4482
4482
  if(next !== undefined) return next;
4483
- const obj = new this.$.$mol_blob([(this?.html())], {"type": "text/html"});
4483
+ const obj = new this.$.$mol_blob([(this.html())], {"type": "text/html"});
4484
4484
  return obj;
4485
4485
  }
4486
4486
  Icon(){
@@ -4491,13 +4491,13 @@ var $;
4491
4491
  return "";
4492
4492
  }
4493
4493
  blobs(){
4494
- return [(this?.text_blob()), (this?.html_blob())];
4494
+ return [(this.text_blob()), (this.html_blob())];
4495
4495
  }
4496
4496
  data(){
4497
4497
  return {};
4498
4498
  }
4499
4499
  sub(){
4500
- return [(this?.Icon()), (this?.title())];
4500
+ return [(this.Icon()), (this.title())];
4501
4501
  }
4502
4502
  };
4503
4503
  ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
@@ -5226,21 +5226,21 @@ var $;
5226
5226
  }
5227
5227
  Row(id){
5228
5228
  const obj = new this.$.$mol_text_code_row();
5229
- (obj.numb_showed) = () => ((this?.sidebar_showed()));
5230
- (obj.numb) = () => ((this?.row_numb(id)));
5231
- (obj.text) = () => ((this?.row_text(id)));
5232
- (obj.syntax) = () => ((this?.syntax()));
5233
- (obj.uri_resolve) = (id) => ((this?.uri_resolve(id)));
5234
- (obj.highlight) = () => ((this?.highlight()));
5229
+ (obj.numb_showed) = () => ((this.sidebar_showed()));
5230
+ (obj.numb) = () => ((this.row_numb(id)));
5231
+ (obj.text) = () => ((this.row_text(id)));
5232
+ (obj.syntax) = () => ((this.syntax()));
5233
+ (obj.uri_resolve) = (id) => ((this.uri_resolve(id)));
5234
+ (obj.highlight) = () => ((this.highlight()));
5235
5235
  return obj;
5236
5236
  }
5237
5237
  rows(){
5238
- return [(this?.Row("0"))];
5238
+ return [(this.Row("0"))];
5239
5239
  }
5240
5240
  Rows(){
5241
5241
  const obj = new this.$.$mol_list();
5242
- (obj.render_visible_only) = () => ((this?.render_visible_only()));
5243
- (obj.rows) = () => ((this?.rows()));
5242
+ (obj.render_visible_only) = () => ((this.render_visible_only()));
5243
+ (obj.rows) = () => ((this.rows()));
5244
5244
  return obj;
5245
5245
  }
5246
5246
  text_export(){
@@ -5249,11 +5249,11 @@ var $;
5249
5249
  Copy(){
5250
5250
  const obj = new this.$.$mol_button_copy();
5251
5251
  (obj.hint) = () => ((this.$.$mol_locale.text("$mol_text_code_Copy_hint")));
5252
- (obj.text) = () => ((this?.text_export()));
5252
+ (obj.text) = () => ((this.text_export()));
5253
5253
  return obj;
5254
5254
  }
5255
5255
  attr(){
5256
- return {...(super.attr()), "mol_text_code_sidebar_showed": (this?.sidebar_showed())};
5256
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5257
5257
  }
5258
5258
  text(){
5259
5259
  return "";
@@ -5268,7 +5268,7 @@ var $;
5268
5268
  return "";
5269
5269
  }
5270
5270
  sub(){
5271
- return [(this?.Rows()), (this?.Copy())];
5271
+ return [(this.Rows()), (this.Copy())];
5272
5272
  }
5273
5273
  };
5274
5274
  ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
@@ -5416,22 +5416,22 @@ var $;
5416
5416
  }
5417
5417
  Title(){
5418
5418
  const obj = new this.$.$mol_view();
5419
- (obj.sub) = () => ([(this?.title())]);
5419
+ (obj.sub) = () => ([(this.title())]);
5420
5420
  return obj;
5421
5421
  }
5422
5422
  label(){
5423
- return [(this?.Title())];
5423
+ return [(this.Title())];
5424
5424
  }
5425
5425
  attr(){
5426
5426
  return {
5427
5427
  ...(super.attr()),
5428
- "mol_check_checked": (this?.checked()),
5429
- "aria-checked": (this?.aria_checked()),
5430
- "role": (this?.aria_role())
5428
+ "mol_check_checked": (this.checked()),
5429
+ "aria-checked": (this.aria_checked()),
5430
+ "role": (this.aria_role())
5431
5431
  };
5432
5432
  }
5433
5433
  sub(){
5434
- return [(this?.Icon()), (this?.label())];
5434
+ return [(this.Icon()), (this.label())];
5435
5435
  }
5436
5436
  };
5437
5437
  ($mol_mem(($.$mol_check.prototype), "checked"));
@@ -5510,13 +5510,13 @@ var $;
5510
5510
  return 0;
5511
5511
  }
5512
5512
  style(){
5513
- return {...(super.style()), "paddingLeft": (this?.level_style())};
5513
+ return {...(super.style()), "paddingLeft": (this.level_style())};
5514
5514
  }
5515
5515
  checked(next){
5516
- return (this?.expanded(next));
5516
+ return (this.expanded(next));
5517
5517
  }
5518
5518
  enabled(){
5519
- return (this?.expandable());
5519
+ return (this.expandable());
5520
5520
  }
5521
5521
  };
5522
5522
  ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
@@ -5568,17 +5568,17 @@ var $;
5568
5568
  }
5569
5569
  Dump(id){
5570
5570
  const obj = new this.$.$mol_dump_value();
5571
- (obj.value) = () => ((this?.dump_value(id)));
5572
- (obj.expanded) = (next) => ((this?.dump_expanded(id, next)));
5573
- (obj.prototypes) = () => ((this?.prototypes()));
5574
- (obj.preview_show) = () => ((this?.preview_show()));
5571
+ (obj.value) = () => ((this.dump_value(id)));
5572
+ (obj.expanded) = (next) => ((this.dump_expanded(id, next)));
5573
+ (obj.prototypes) = () => ((this.prototypes()));
5574
+ (obj.preview_show) = () => ((this.preview_show()));
5575
5575
  return obj;
5576
5576
  }
5577
5577
  values(){
5578
5578
  return [];
5579
5579
  }
5580
5580
  sub(){
5581
- return [(this?.Dump("0"))];
5581
+ return [(this.Dump("0"))];
5582
5582
  }
5583
5583
  };
5584
5584
  ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
@@ -5629,13 +5629,13 @@ var $;
5629
5629
  return true;
5630
5630
  }
5631
5631
  label(){
5632
- return [(this?.title())];
5632
+ return [(this.title())];
5633
5633
  }
5634
5634
  Trigger(){
5635
5635
  const obj = new this.$.$mol_check_expand();
5636
- (obj.checked) = (next) => ((this?.expanded(next)));
5637
- (obj.expandable) = () => ((this?.expandable()));
5638
- (obj.label) = () => ((this?.label()));
5636
+ (obj.checked) = (next) => ((this.expanded(next)));
5637
+ (obj.expandable) = () => ((this.expandable()));
5638
+ (obj.label) = () => ((this.label()));
5639
5639
  return obj;
5640
5640
  }
5641
5641
  Tools(){
@@ -5643,7 +5643,7 @@ var $;
5643
5643
  }
5644
5644
  Label(){
5645
5645
  const obj = new this.$.$mol_view();
5646
- (obj.sub) = () => ([(this?.Trigger()), (this?.Tools())]);
5646
+ (obj.sub) = () => ([(this.Trigger()), (this.Tools())]);
5647
5647
  return obj;
5648
5648
  }
5649
5649
  content(){
@@ -5651,11 +5651,11 @@ var $;
5651
5651
  }
5652
5652
  Content(){
5653
5653
  const obj = new this.$.$mol_list();
5654
- (obj.rows) = () => ((this?.content()));
5654
+ (obj.rows) = () => ((this.content()));
5655
5655
  return obj;
5656
5656
  }
5657
5657
  rows(){
5658
- return [(this?.Label()), (this?.Content())];
5658
+ return [(this.Label()), (this.Content())];
5659
5659
  }
5660
5660
  };
5661
5661
  ($mol_mem(($.$mol_expander.prototype), "expanded"));
@@ -5705,7 +5705,7 @@ var $;
5705
5705
  }
5706
5706
  Simple(){
5707
5707
  const obj = new this.$.$mol_text_code();
5708
- (obj.text) = () => ((this?.simple()));
5708
+ (obj.text) = () => ((this.simple()));
5709
5709
  return obj;
5710
5710
  }
5711
5711
  expanded(next){
@@ -5724,17 +5724,17 @@ var $;
5724
5724
  }
5725
5725
  Expand_title(){
5726
5726
  const obj = new this.$.$mol_text_code();
5727
- (obj.text) = () => ((this?.expand_title()));
5727
+ (obj.text) = () => ((this.expand_title()));
5728
5728
  return obj;
5729
5729
  }
5730
5730
  Expand_head(){
5731
5731
  const obj = new this.$.$mol_check_expand();
5732
5732
  (obj.minimal_height) = () => (24);
5733
5733
  (obj.minimal_width) = () => (24);
5734
- (obj.expanded) = (next) => ((this?.expanded(next)));
5735
- (obj.expandable) = () => ((this?.expandable()));
5736
- (obj.clicks) = (next) => ((this?.expand_all(next)));
5737
- (obj.label) = () => ([(this?.Expand_title())]);
5734
+ (obj.expanded) = (next) => ((this.expanded(next)));
5735
+ (obj.expandable) = () => ((this.expandable()));
5736
+ (obj.clicks) = (next) => ((this.expand_all(next)));
5737
+ (obj.label) = () => ([(this.Expand_title())]);
5738
5738
  return obj;
5739
5739
  }
5740
5740
  preview_dom(){
@@ -5745,13 +5745,13 @@ var $;
5745
5745
  }
5746
5746
  Preview_dom(){
5747
5747
  const obj = new this.$.$mol_view();
5748
- (obj.dom_node) = () => ((this?.preview_dom()));
5749
- (obj.render) = () => ((this?.preview()));
5748
+ (obj.dom_node) = () => ((this.preview_dom()));
5749
+ (obj.render) = () => ((this.preview()));
5750
5750
  return obj;
5751
5751
  }
5752
5752
  Preview(){
5753
5753
  const obj = new this.$.$mol_view();
5754
- (obj.sub) = () => ([(this?.Preview_dom())]);
5754
+ (obj.sub) = () => ([(this.Preview_dom())]);
5755
5755
  return obj;
5756
5756
  }
5757
5757
  row_values(id){
@@ -5762,19 +5762,19 @@ var $;
5762
5762
  }
5763
5763
  Row(id){
5764
5764
  const obj = new this.$.$mol_dump_list();
5765
- (obj.values) = () => ((this?.row_values(id)));
5766
- (obj.prototypes) = () => ((this?.prototypes()));
5767
- (obj.preview_show) = () => ((this?.preview_show()));
5765
+ (obj.values) = () => ((this.row_values(id)));
5766
+ (obj.prototypes) = () => ((this.prototypes()));
5767
+ (obj.preview_show) = () => ((this.preview_show()));
5768
5768
  return obj;
5769
5769
  }
5770
5770
  expand_content(){
5771
- return [(this?.Preview()), (this?.Row("0"))];
5771
+ return [(this.Preview()), (this.Row("0"))];
5772
5772
  }
5773
5773
  Expand(){
5774
5774
  const obj = new this.$.$mol_expander();
5775
- (obj.expanded) = (next) => ((this?.expanded(next)));
5776
- (obj.Trigger) = () => ((this?.Expand_head()));
5777
- (obj.content) = () => ((this?.expand_content()));
5775
+ (obj.expanded) = (next) => ((this.expanded(next)));
5776
+ (obj.Trigger) = () => ((this.Expand_head()));
5777
+ (obj.content) = () => ((this.expand_content()));
5778
5778
  return obj;
5779
5779
  }
5780
5780
  value(next){
@@ -5786,7 +5786,7 @@ var $;
5786
5786
  return true;
5787
5787
  }
5788
5788
  sub(){
5789
- return [(this?.Simple()), (this?.Expand())];
5789
+ return [(this.Simple()), (this.Expand())];
5790
5790
  }
5791
5791
  };
5792
5792
  ($mol_mem(($.$mol_dump_value.prototype), "Simple"));