mol_dump_lib 0.0.262 → 0.0.264

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
@@ -3245,6 +3245,12 @@ var $;
3245
3245
 
3246
3246
  ;
3247
3247
  ($.$mol_dimmer) = class $mol_dimmer extends ($.$mol_paragraph) {
3248
+ parts(){
3249
+ return [];
3250
+ }
3251
+ string(id){
3252
+ return "";
3253
+ }
3248
3254
  haystack(){
3249
3255
  return "";
3250
3256
  }
@@ -3264,12 +3270,6 @@ var $;
3264
3270
  (obj.sub) = () => ([(this.string(id))]);
3265
3271
  return obj;
3266
3272
  }
3267
- parts(){
3268
- return [];
3269
- }
3270
- string(id){
3271
- return "";
3272
- }
3273
3273
  };
3274
3274
  ($mol_mem_key(($.$mol_dimmer.prototype), "Low"));
3275
3275
  ($mol_mem_key(($.$mol_dimmer.prototype), "High"));
@@ -3621,14 +3621,17 @@ var $;
3621
3621
 
3622
3622
  ;
3623
3623
  ($.$mol_text_code_token) = class $mol_text_code_token extends ($.$mol_dimmer) {
3624
- attr(){
3625
- return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3626
- }
3627
3624
  type(){
3628
3625
  return "";
3629
3626
  }
3627
+ attr(){
3628
+ return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3629
+ }
3630
3630
  };
3631
3631
  ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
3632
+ uri(){
3633
+ return "";
3634
+ }
3632
3635
  dom_name(){
3633
3636
  return "a";
3634
3637
  }
@@ -3642,9 +3645,6 @@ var $;
3642
3645
  "target": "_blank"
3643
3646
  };
3644
3647
  }
3645
- uri(){
3646
- return "";
3647
- }
3648
3648
  };
3649
3649
 
3650
3650
 
@@ -3830,6 +3830,21 @@ var $;
3830
3830
 
3831
3831
  ;
3832
3832
  ($.$mol_text_code_row) = class $mol_text_code_row extends ($.$mol_paragraph) {
3833
+ numb(){
3834
+ return 0;
3835
+ }
3836
+ token_type(id){
3837
+ return "";
3838
+ }
3839
+ token_text(id){
3840
+ return "";
3841
+ }
3842
+ highlight(){
3843
+ return "";
3844
+ }
3845
+ token_uri(id){
3846
+ return "";
3847
+ }
3833
3848
  text(){
3834
3849
  return "";
3835
3850
  }
@@ -3867,21 +3882,6 @@ var $;
3867
3882
  find_pos(id){
3868
3883
  return null;
3869
3884
  }
3870
- numb(){
3871
- return 0;
3872
- }
3873
- token_type(id){
3874
- return "";
3875
- }
3876
- token_text(id){
3877
- return "";
3878
- }
3879
- highlight(){
3880
- return "";
3881
- }
3882
- token_uri(id){
3883
- return "";
3884
- }
3885
3885
  };
3886
3886
  ($mol_mem(($.$mol_text_code_row.prototype), "Numb"));
3887
3887
  ($mol_mem_key(($.$mol_text_code_row.prototype), "Token"));
@@ -4136,6 +4136,15 @@ var $;
4136
4136
 
4137
4137
  ;
4138
4138
  ($.$mol_list) = class $mol_list extends ($.$mol_view) {
4139
+ rows(){
4140
+ return [];
4141
+ }
4142
+ gap_before(){
4143
+ return 0;
4144
+ }
4145
+ gap_after(){
4146
+ return 0;
4147
+ }
4139
4148
  render_visible_only(){
4140
4149
  return true;
4141
4150
  }
@@ -4162,15 +4171,6 @@ var $;
4162
4171
  view_window(){
4163
4172
  return [0, 0];
4164
4173
  }
4165
- rows(){
4166
- return [];
4167
- }
4168
- gap_before(){
4169
- return 0;
4170
- }
4171
- gap_after(){
4172
- return 0;
4173
- }
4174
4174
  };
4175
4175
  ($mol_mem(($.$mol_list.prototype), "Empty"));
4176
4176
  ($mol_mem(($.$mol_list.prototype), "Gap_before"));
@@ -4398,6 +4398,12 @@ var $;
4398
4398
 
4399
4399
  ;
4400
4400
  ($.$mol_speck) = class $mol_speck extends ($.$mol_view) {
4401
+ theme(){
4402
+ return "$mol_theme_accent";
4403
+ }
4404
+ value(){
4405
+ return null;
4406
+ }
4401
4407
  attr(){
4402
4408
  return {...(super.attr()), "mol_theme": (this.theme())};
4403
4409
  }
@@ -4407,12 +4413,6 @@ var $;
4407
4413
  sub(){
4408
4414
  return [(this.value())];
4409
4415
  }
4410
- theme(){
4411
- return "$mol_theme_accent";
4412
- }
4413
- value(){
4414
- return null;
4415
- }
4416
4416
  };
4417
4417
 
4418
4418
 
@@ -4448,6 +4448,33 @@ var $;
4448
4448
 
4449
4449
  ;
4450
4450
  ($.$mol_button) = class $mol_button extends ($.$mol_view) {
4451
+ event_activate(next){
4452
+ if(next !== undefined) return next;
4453
+ return null;
4454
+ }
4455
+ clicks(next){
4456
+ if(next !== undefined) return next;
4457
+ return null;
4458
+ }
4459
+ event_key_press(next){
4460
+ if(next !== undefined) return next;
4461
+ return null;
4462
+ }
4463
+ disabled(){
4464
+ return false;
4465
+ }
4466
+ tab_index(){
4467
+ return 0;
4468
+ }
4469
+ hint(){
4470
+ return "";
4471
+ }
4472
+ hint_safe(){
4473
+ return (this.hint());
4474
+ }
4475
+ error(){
4476
+ return "";
4477
+ }
4451
4478
  enabled(){
4452
4479
  return true;
4453
4480
  }
@@ -4484,40 +4511,13 @@ var $;
4484
4511
  (obj.value) = () => ((this.error()));
4485
4512
  return obj;
4486
4513
  }
4487
- event_activate(next){
4488
- if(next !== undefined) return next;
4489
- return null;
4490
- }
4491
- clicks(next){
4492
- if(next !== undefined) return next;
4493
- return null;
4494
- }
4495
- event_key_press(next){
4496
- if(next !== undefined) return next;
4497
- return null;
4498
- }
4499
- disabled(){
4500
- return false;
4501
- }
4502
- tab_index(){
4503
- return 0;
4504
- }
4505
- hint(){
4506
- return "";
4507
- }
4508
- hint_safe(){
4509
- return (this.hint());
4510
- }
4511
- error(){
4512
- return "";
4513
- }
4514
4514
  };
4515
- ($mol_mem(($.$mol_button.prototype), "click"));
4516
- ($mol_mem(($.$mol_button.prototype), "event_click"));
4517
- ($mol_mem(($.$mol_button.prototype), "Speck"));
4518
4515
  ($mol_mem(($.$mol_button.prototype), "event_activate"));
4519
4516
  ($mol_mem(($.$mol_button.prototype), "clicks"));
4520
4517
  ($mol_mem(($.$mol_button.prototype), "event_key_press"));
4518
+ ($mol_mem(($.$mol_button.prototype), "click"));
4519
+ ($mol_mem(($.$mol_button.prototype), "event_click"));
4520
+ ($mol_mem(($.$mol_button.prototype), "Speck"));
4521
4521
 
4522
4522
 
4523
4523
  ;
@@ -4833,6 +4833,12 @@ var $;
4833
4833
 
4834
4834
  ;
4835
4835
  ($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
4836
+ view_box(){
4837
+ return "0 0 100 100";
4838
+ }
4839
+ aspect(){
4840
+ return "xMidYMid";
4841
+ }
4836
4842
  dom_name(){
4837
4843
  return "svg";
4838
4844
  }
@@ -4843,12 +4849,6 @@ var $;
4843
4849
  "preserveAspectRatio": (this.aspect())
4844
4850
  };
4845
4851
  }
4846
- view_box(){
4847
- return "0 0 100 100";
4848
- }
4849
- aspect(){
4850
- return "xMidYMid";
4851
- }
4852
4852
  };
4853
4853
 
4854
4854
 
@@ -4864,15 +4864,15 @@ var $;
4864
4864
 
4865
4865
  ;
4866
4866
  ($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
4867
+ geometry(){
4868
+ return "";
4869
+ }
4867
4870
  dom_name(){
4868
4871
  return "path";
4869
4872
  }
4870
4873
  attr(){
4871
4874
  return {...(super.attr()), "d": (this.geometry())};
4872
4875
  }
4873
- geometry(){
4874
- return "";
4875
- }
4876
4876
  };
4877
4877
 
4878
4878
 
@@ -4881,6 +4881,14 @@ var $;
4881
4881
 
4882
4882
  ;
4883
4883
  ($.$mol_icon) = class $mol_icon extends ($.$mol_svg_root) {
4884
+ path(){
4885
+ return "";
4886
+ }
4887
+ Path(){
4888
+ const obj = new this.$.$mol_svg_path();
4889
+ (obj.geometry) = () => ((this.path()));
4890
+ return obj;
4891
+ }
4884
4892
  view_box(){
4885
4893
  return "0 0 24 24";
4886
4894
  }
@@ -4893,14 +4901,6 @@ var $;
4893
4901
  sub(){
4894
4902
  return [(this.Path())];
4895
4903
  }
4896
- path(){
4897
- return "";
4898
- }
4899
- Path(){
4900
- const obj = new this.$.$mol_svg_path();
4901
- (obj.geometry) = () => ((this.path()));
4902
- return obj;
4903
- }
4904
4904
  };
4905
4905
  ($mol_mem(($.$mol_icon.prototype), "Path"));
4906
4906
 
@@ -4939,15 +4939,6 @@ var $;
4939
4939
 
4940
4940
  ;
4941
4941
  ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
4942
- blobs(){
4943
- return [(this.text_blob()), (this.html_blob())];
4944
- }
4945
- data(){
4946
- return {};
4947
- }
4948
- sub(){
4949
- return [(this.Icon()), (this.title())];
4950
- }
4951
4942
  text(){
4952
4943
  return (this.title());
4953
4944
  }
@@ -4971,6 +4962,15 @@ var $;
4971
4962
  title(){
4972
4963
  return "";
4973
4964
  }
4965
+ blobs(){
4966
+ return [(this.text_blob()), (this.html_blob())];
4967
+ }
4968
+ data(){
4969
+ return {};
4970
+ }
4971
+ sub(){
4972
+ return [(this.Icon()), (this.title())];
4973
+ }
4974
4974
  };
4975
4975
  ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
4976
4976
  ($mol_mem(($.$mol_button_copy.prototype), "html_blob"));
@@ -5591,24 +5591,6 @@ var $;
5591
5591
 
5592
5592
  ;
5593
5593
  ($.$mol_text_code) = class $mol_text_code extends ($.$mol_stack) {
5594
- attr(){
5595
- return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5596
- }
5597
- text(){
5598
- return "";
5599
- }
5600
- text_lines(){
5601
- return [];
5602
- }
5603
- find_pos(id){
5604
- return null;
5605
- }
5606
- uri_base(){
5607
- return "";
5608
- }
5609
- sub(){
5610
- return [(this.Rows()), (this.Copy())];
5611
- }
5612
5594
  sidebar_showed(){
5613
5595
  return false;
5614
5596
  }
@@ -5658,6 +5640,24 @@ var $;
5658
5640
  (obj.text) = () => ((this.text_export()));
5659
5641
  return obj;
5660
5642
  }
5643
+ attr(){
5644
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5645
+ }
5646
+ text(){
5647
+ return "";
5648
+ }
5649
+ text_lines(){
5650
+ return [];
5651
+ }
5652
+ find_pos(id){
5653
+ return null;
5654
+ }
5655
+ uri_base(){
5656
+ return "";
5657
+ }
5658
+ sub(){
5659
+ return [(this.Rows()), (this.Copy())];
5660
+ }
5661
5661
  };
5662
5662
  ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
5663
5663
  ($mol_mem(($.$mol_text_code.prototype), "Rows"));
@@ -5791,17 +5791,6 @@ var $;
5791
5791
 
5792
5792
  ;
5793
5793
  ($.$mol_check) = class $mol_check extends ($.$mol_button_minor) {
5794
- attr(){
5795
- return {
5796
- ...(super.attr()),
5797
- "mol_check_checked": (this.checked()),
5798
- "aria-checked": (this.aria_checked()),
5799
- "role": (this.aria_role())
5800
- };
5801
- }
5802
- sub(){
5803
- return [(this.Icon()), (this.label())];
5804
- }
5805
5794
  checked(next){
5806
5795
  if(next !== undefined) return next;
5807
5796
  return false;
@@ -5826,6 +5815,17 @@ var $;
5826
5815
  label(){
5827
5816
  return [(this.Title())];
5828
5817
  }
5818
+ attr(){
5819
+ return {
5820
+ ...(super.attr()),
5821
+ "mol_check_checked": (this.checked()),
5822
+ "aria-checked": (this.aria_checked()),
5823
+ "role": (this.aria_role())
5824
+ };
5825
+ }
5826
+ sub(){
5827
+ return [(this.Icon()), (this.label())];
5828
+ }
5829
5829
  };
5830
5830
  ($mol_mem(($.$mol_check.prototype), "checked"));
5831
5831
  ($mol_mem(($.$mol_check.prototype), "Title"));
@@ -5895,6 +5895,16 @@ var $;
5895
5895
 
5896
5896
  ;
5897
5897
  ($.$mol_check_expand) = class $mol_check_expand extends ($.$mol_check) {
5898
+ level_style(){
5899
+ return "0px";
5900
+ }
5901
+ expanded(next){
5902
+ if(next !== undefined) return next;
5903
+ return false;
5904
+ }
5905
+ expandable(){
5906
+ return false;
5907
+ }
5898
5908
  Icon(){
5899
5909
  const obj = new this.$.$mol_icon_chevron();
5900
5910
  return obj;
@@ -5911,19 +5921,9 @@ var $;
5911
5921
  enabled(){
5912
5922
  return (this.expandable());
5913
5923
  }
5914
- level_style(){
5915
- return "0px";
5916
- }
5917
- expanded(next){
5918
- if(next !== undefined) return next;
5919
- return false;
5920
- }
5921
- expandable(){
5922
- return false;
5923
- }
5924
5924
  };
5925
- ($mol_mem(($.$mol_check_expand.prototype), "Icon"));
5926
5925
  ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
5926
+ ($mol_mem(($.$mol_check_expand.prototype), "Icon"));
5927
5927
 
5928
5928
 
5929
5929
  ;
@@ -5956,12 +5956,6 @@ var $;
5956
5956
 
5957
5957
  ;
5958
5958
  ($.$mol_dump_list) = class $mol_dump_list extends ($.$mol_view) {
5959
- values(){
5960
- return [];
5961
- }
5962
- sub(){
5963
- return [(this.Dump("0"))];
5964
- }
5965
5959
  dump_value(id){
5966
5960
  return null;
5967
5961
  }
@@ -5983,6 +5977,12 @@ var $;
5983
5977
  (obj.preview_show) = () => ((this.preview_show()));
5984
5978
  return obj;
5985
5979
  }
5980
+ values(){
5981
+ return [];
5982
+ }
5983
+ sub(){
5984
+ return [(this.Dump("0"))];
5985
+ }
5986
5986
  };
5987
5987
  ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
5988
5988
  ($mol_mem_key(($.$mol_dump_list.prototype), "Dump"));
@@ -6024,9 +6024,6 @@ var $;
6024
6024
 
6025
6025
  ;
6026
6026
  ($.$mol_expander) = class $mol_expander extends ($.$mol_list) {
6027
- rows(){
6028
- return [(this.Label()), (this.Content())];
6029
- }
6030
6027
  expanded(next){
6031
6028
  if(next !== undefined) return next;
6032
6029
  return false;
@@ -6060,6 +6057,9 @@ var $;
6060
6057
  (obj.rows) = () => ((this.content()));
6061
6058
  return obj;
6062
6059
  }
6060
+ rows(){
6061
+ return [(this.Label()), (this.Content())];
6062
+ }
6063
6063
  };
6064
6064
  ($mol_mem(($.$mol_expander.prototype), "expanded"));
6065
6065
  ($mol_mem(($.$mol_expander.prototype), "Trigger"));
@@ -6103,17 +6103,6 @@ var $;
6103
6103
 
6104
6104
  ;
6105
6105
  ($.$mol_dump_value) = class $mol_dump_value extends ($.$mol_view) {
6106
- value(next){
6107
- if(next !== undefined) return next;
6108
- return null;
6109
- }
6110
- preview_show(next){
6111
- if(next !== undefined) return next;
6112
- return true;
6113
- }
6114
- sub(){
6115
- return [(this.Simple()), (this.Expand())];
6116
- }
6117
6106
  simple(){
6118
6107
  return "";
6119
6108
  }
@@ -6191,9 +6180,18 @@ var $;
6191
6180
  (obj.content) = () => ((this.expand_content()));
6192
6181
  return obj;
6193
6182
  }
6183
+ value(next){
6184
+ if(next !== undefined) return next;
6185
+ return null;
6186
+ }
6187
+ preview_show(next){
6188
+ if(next !== undefined) return next;
6189
+ return true;
6190
+ }
6191
+ sub(){
6192
+ return [(this.Simple()), (this.Expand())];
6193
+ }
6194
6194
  };
6195
- ($mol_mem(($.$mol_dump_value.prototype), "value"));
6196
- ($mol_mem(($.$mol_dump_value.prototype), "preview_show"));
6197
6195
  ($mol_mem(($.$mol_dump_value.prototype), "Simple"));
6198
6196
  ($mol_mem(($.$mol_dump_value.prototype), "expanded"));
6199
6197
  ($mol_mem(($.$mol_dump_value.prototype), "expand_all"));
@@ -6203,6 +6201,8 @@ var $;
6203
6201
  ($mol_mem(($.$mol_dump_value.prototype), "Preview"));
6204
6202
  ($mol_mem_key(($.$mol_dump_value.prototype), "Row"));
6205
6203
  ($mol_mem(($.$mol_dump_value.prototype), "Expand"));
6204
+ ($mol_mem(($.$mol_dump_value.prototype), "value"));
6205
+ ($mol_mem(($.$mol_dump_value.prototype), "preview_show"));
6206
6206
 
6207
6207
 
6208
6208
  ;