mol_dump_lib 0.0.263 → 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.mjs CHANGED
@@ -3254,6 +3254,12 @@ var $;
3254
3254
 
3255
3255
  ;
3256
3256
  ($.$mol_dimmer) = class $mol_dimmer extends ($.$mol_paragraph) {
3257
+ parts(){
3258
+ return [];
3259
+ }
3260
+ string(id){
3261
+ return "";
3262
+ }
3257
3263
  haystack(){
3258
3264
  return "";
3259
3265
  }
@@ -3273,12 +3279,6 @@ var $;
3273
3279
  (obj.sub) = () => ([(this.string(id))]);
3274
3280
  return obj;
3275
3281
  }
3276
- parts(){
3277
- return [];
3278
- }
3279
- string(id){
3280
- return "";
3281
- }
3282
3282
  };
3283
3283
  ($mol_mem_key(($.$mol_dimmer.prototype), "Low"));
3284
3284
  ($mol_mem_key(($.$mol_dimmer.prototype), "High"));
@@ -3630,14 +3630,17 @@ var $;
3630
3630
 
3631
3631
  ;
3632
3632
  ($.$mol_text_code_token) = class $mol_text_code_token extends ($.$mol_dimmer) {
3633
- attr(){
3634
- return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3635
- }
3636
3633
  type(){
3637
3634
  return "";
3638
3635
  }
3636
+ attr(){
3637
+ return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3638
+ }
3639
3639
  };
3640
3640
  ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
3641
+ uri(){
3642
+ return "";
3643
+ }
3641
3644
  dom_name(){
3642
3645
  return "a";
3643
3646
  }
@@ -3651,9 +3654,6 @@ var $;
3651
3654
  "target": "_blank"
3652
3655
  };
3653
3656
  }
3654
- uri(){
3655
- return "";
3656
- }
3657
3657
  };
3658
3658
 
3659
3659
 
@@ -3839,6 +3839,21 @@ var $;
3839
3839
 
3840
3840
  ;
3841
3841
  ($.$mol_text_code_row) = class $mol_text_code_row extends ($.$mol_paragraph) {
3842
+ numb(){
3843
+ return 0;
3844
+ }
3845
+ token_type(id){
3846
+ return "";
3847
+ }
3848
+ token_text(id){
3849
+ return "";
3850
+ }
3851
+ highlight(){
3852
+ return "";
3853
+ }
3854
+ token_uri(id){
3855
+ return "";
3856
+ }
3842
3857
  text(){
3843
3858
  return "";
3844
3859
  }
@@ -3876,21 +3891,6 @@ var $;
3876
3891
  find_pos(id){
3877
3892
  return null;
3878
3893
  }
3879
- numb(){
3880
- return 0;
3881
- }
3882
- token_type(id){
3883
- return "";
3884
- }
3885
- token_text(id){
3886
- return "";
3887
- }
3888
- highlight(){
3889
- return "";
3890
- }
3891
- token_uri(id){
3892
- return "";
3893
- }
3894
3894
  };
3895
3895
  ($mol_mem(($.$mol_text_code_row.prototype), "Numb"));
3896
3896
  ($mol_mem_key(($.$mol_text_code_row.prototype), "Token"));
@@ -4145,6 +4145,15 @@ var $;
4145
4145
 
4146
4146
  ;
4147
4147
  ($.$mol_list) = class $mol_list extends ($.$mol_view) {
4148
+ rows(){
4149
+ return [];
4150
+ }
4151
+ gap_before(){
4152
+ return 0;
4153
+ }
4154
+ gap_after(){
4155
+ return 0;
4156
+ }
4148
4157
  render_visible_only(){
4149
4158
  return true;
4150
4159
  }
@@ -4171,15 +4180,6 @@ var $;
4171
4180
  view_window(){
4172
4181
  return [0, 0];
4173
4182
  }
4174
- rows(){
4175
- return [];
4176
- }
4177
- gap_before(){
4178
- return 0;
4179
- }
4180
- gap_after(){
4181
- return 0;
4182
- }
4183
4183
  };
4184
4184
  ($mol_mem(($.$mol_list.prototype), "Empty"));
4185
4185
  ($mol_mem(($.$mol_list.prototype), "Gap_before"));
@@ -4407,6 +4407,12 @@ var $;
4407
4407
 
4408
4408
  ;
4409
4409
  ($.$mol_speck) = class $mol_speck extends ($.$mol_view) {
4410
+ theme(){
4411
+ return "$mol_theme_accent";
4412
+ }
4413
+ value(){
4414
+ return null;
4415
+ }
4410
4416
  attr(){
4411
4417
  return {...(super.attr()), "mol_theme": (this.theme())};
4412
4418
  }
@@ -4416,12 +4422,6 @@ var $;
4416
4422
  sub(){
4417
4423
  return [(this.value())];
4418
4424
  }
4419
- theme(){
4420
- return "$mol_theme_accent";
4421
- }
4422
- value(){
4423
- return null;
4424
- }
4425
4425
  };
4426
4426
 
4427
4427
 
@@ -4457,6 +4457,33 @@ var $;
4457
4457
 
4458
4458
  ;
4459
4459
  ($.$mol_button) = class $mol_button extends ($.$mol_view) {
4460
+ event_activate(next){
4461
+ if(next !== undefined) return next;
4462
+ return null;
4463
+ }
4464
+ clicks(next){
4465
+ if(next !== undefined) return next;
4466
+ return null;
4467
+ }
4468
+ event_key_press(next){
4469
+ if(next !== undefined) return next;
4470
+ return null;
4471
+ }
4472
+ disabled(){
4473
+ return false;
4474
+ }
4475
+ tab_index(){
4476
+ return 0;
4477
+ }
4478
+ hint(){
4479
+ return "";
4480
+ }
4481
+ hint_safe(){
4482
+ return (this.hint());
4483
+ }
4484
+ error(){
4485
+ return "";
4486
+ }
4460
4487
  enabled(){
4461
4488
  return true;
4462
4489
  }
@@ -4493,40 +4520,13 @@ var $;
4493
4520
  (obj.value) = () => ((this.error()));
4494
4521
  return obj;
4495
4522
  }
4496
- event_activate(next){
4497
- if(next !== undefined) return next;
4498
- return null;
4499
- }
4500
- clicks(next){
4501
- if(next !== undefined) return next;
4502
- return null;
4503
- }
4504
- event_key_press(next){
4505
- if(next !== undefined) return next;
4506
- return null;
4507
- }
4508
- disabled(){
4509
- return false;
4510
- }
4511
- tab_index(){
4512
- return 0;
4513
- }
4514
- hint(){
4515
- return "";
4516
- }
4517
- hint_safe(){
4518
- return (this.hint());
4519
- }
4520
- error(){
4521
- return "";
4522
- }
4523
4523
  };
4524
- ($mol_mem(($.$mol_button.prototype), "click"));
4525
- ($mol_mem(($.$mol_button.prototype), "event_click"));
4526
- ($mol_mem(($.$mol_button.prototype), "Speck"));
4527
4524
  ($mol_mem(($.$mol_button.prototype), "event_activate"));
4528
4525
  ($mol_mem(($.$mol_button.prototype), "clicks"));
4529
4526
  ($mol_mem(($.$mol_button.prototype), "event_key_press"));
4527
+ ($mol_mem(($.$mol_button.prototype), "click"));
4528
+ ($mol_mem(($.$mol_button.prototype), "event_click"));
4529
+ ($mol_mem(($.$mol_button.prototype), "Speck"));
4530
4530
 
4531
4531
 
4532
4532
  ;
@@ -4842,6 +4842,12 @@ var $;
4842
4842
 
4843
4843
  ;
4844
4844
  ($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
4845
+ view_box(){
4846
+ return "0 0 100 100";
4847
+ }
4848
+ aspect(){
4849
+ return "xMidYMid";
4850
+ }
4845
4851
  dom_name(){
4846
4852
  return "svg";
4847
4853
  }
@@ -4852,12 +4858,6 @@ var $;
4852
4858
  "preserveAspectRatio": (this.aspect())
4853
4859
  };
4854
4860
  }
4855
- view_box(){
4856
- return "0 0 100 100";
4857
- }
4858
- aspect(){
4859
- return "xMidYMid";
4860
- }
4861
4861
  };
4862
4862
 
4863
4863
 
@@ -4873,15 +4873,15 @@ var $;
4873
4873
 
4874
4874
  ;
4875
4875
  ($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
4876
+ geometry(){
4877
+ return "";
4878
+ }
4876
4879
  dom_name(){
4877
4880
  return "path";
4878
4881
  }
4879
4882
  attr(){
4880
4883
  return {...(super.attr()), "d": (this.geometry())};
4881
4884
  }
4882
- geometry(){
4883
- return "";
4884
- }
4885
4885
  };
4886
4886
 
4887
4887
 
@@ -4890,6 +4890,14 @@ var $;
4890
4890
 
4891
4891
  ;
4892
4892
  ($.$mol_icon) = class $mol_icon extends ($.$mol_svg_root) {
4893
+ path(){
4894
+ return "";
4895
+ }
4896
+ Path(){
4897
+ const obj = new this.$.$mol_svg_path();
4898
+ (obj.geometry) = () => ((this.path()));
4899
+ return obj;
4900
+ }
4893
4901
  view_box(){
4894
4902
  return "0 0 24 24";
4895
4903
  }
@@ -4902,14 +4910,6 @@ var $;
4902
4910
  sub(){
4903
4911
  return [(this.Path())];
4904
4912
  }
4905
- path(){
4906
- return "";
4907
- }
4908
- Path(){
4909
- const obj = new this.$.$mol_svg_path();
4910
- (obj.geometry) = () => ((this.path()));
4911
- return obj;
4912
- }
4913
4913
  };
4914
4914
  ($mol_mem(($.$mol_icon.prototype), "Path"));
4915
4915
 
@@ -4948,15 +4948,6 @@ var $;
4948
4948
 
4949
4949
  ;
4950
4950
  ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
4951
- blobs(){
4952
- return [(this.text_blob()), (this.html_blob())];
4953
- }
4954
- data(){
4955
- return {};
4956
- }
4957
- sub(){
4958
- return [(this.Icon()), (this.title())];
4959
- }
4960
4951
  text(){
4961
4952
  return (this.title());
4962
4953
  }
@@ -4980,6 +4971,15 @@ var $;
4980
4971
  title(){
4981
4972
  return "";
4982
4973
  }
4974
+ blobs(){
4975
+ return [(this.text_blob()), (this.html_blob())];
4976
+ }
4977
+ data(){
4978
+ return {};
4979
+ }
4980
+ sub(){
4981
+ return [(this.Icon()), (this.title())];
4982
+ }
4983
4983
  };
4984
4984
  ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
4985
4985
  ($mol_mem(($.$mol_button_copy.prototype), "html_blob"));
@@ -5600,24 +5600,6 @@ var $;
5600
5600
 
5601
5601
  ;
5602
5602
  ($.$mol_text_code) = class $mol_text_code extends ($.$mol_stack) {
5603
- attr(){
5604
- return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5605
- }
5606
- text(){
5607
- return "";
5608
- }
5609
- text_lines(){
5610
- return [];
5611
- }
5612
- find_pos(id){
5613
- return null;
5614
- }
5615
- uri_base(){
5616
- return "";
5617
- }
5618
- sub(){
5619
- return [(this.Rows()), (this.Copy())];
5620
- }
5621
5603
  sidebar_showed(){
5622
5604
  return false;
5623
5605
  }
@@ -5667,6 +5649,24 @@ var $;
5667
5649
  (obj.text) = () => ((this.text_export()));
5668
5650
  return obj;
5669
5651
  }
5652
+ attr(){
5653
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5654
+ }
5655
+ text(){
5656
+ return "";
5657
+ }
5658
+ text_lines(){
5659
+ return [];
5660
+ }
5661
+ find_pos(id){
5662
+ return null;
5663
+ }
5664
+ uri_base(){
5665
+ return "";
5666
+ }
5667
+ sub(){
5668
+ return [(this.Rows()), (this.Copy())];
5669
+ }
5670
5670
  };
5671
5671
  ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
5672
5672
  ($mol_mem(($.$mol_text_code.prototype), "Rows"));
@@ -5800,17 +5800,6 @@ var $;
5800
5800
 
5801
5801
  ;
5802
5802
  ($.$mol_check) = class $mol_check extends ($.$mol_button_minor) {
5803
- attr(){
5804
- return {
5805
- ...(super.attr()),
5806
- "mol_check_checked": (this.checked()),
5807
- "aria-checked": (this.aria_checked()),
5808
- "role": (this.aria_role())
5809
- };
5810
- }
5811
- sub(){
5812
- return [(this.Icon()), (this.label())];
5813
- }
5814
5803
  checked(next){
5815
5804
  if(next !== undefined) return next;
5816
5805
  return false;
@@ -5835,6 +5824,17 @@ var $;
5835
5824
  label(){
5836
5825
  return [(this.Title())];
5837
5826
  }
5827
+ attr(){
5828
+ return {
5829
+ ...(super.attr()),
5830
+ "mol_check_checked": (this.checked()),
5831
+ "aria-checked": (this.aria_checked()),
5832
+ "role": (this.aria_role())
5833
+ };
5834
+ }
5835
+ sub(){
5836
+ return [(this.Icon()), (this.label())];
5837
+ }
5838
5838
  };
5839
5839
  ($mol_mem(($.$mol_check.prototype), "checked"));
5840
5840
  ($mol_mem(($.$mol_check.prototype), "Title"));
@@ -5904,6 +5904,16 @@ var $;
5904
5904
 
5905
5905
  ;
5906
5906
  ($.$mol_check_expand) = class $mol_check_expand extends ($.$mol_check) {
5907
+ level_style(){
5908
+ return "0px";
5909
+ }
5910
+ expanded(next){
5911
+ if(next !== undefined) return next;
5912
+ return false;
5913
+ }
5914
+ expandable(){
5915
+ return false;
5916
+ }
5907
5917
  Icon(){
5908
5918
  const obj = new this.$.$mol_icon_chevron();
5909
5919
  return obj;
@@ -5920,19 +5930,9 @@ var $;
5920
5930
  enabled(){
5921
5931
  return (this.expandable());
5922
5932
  }
5923
- level_style(){
5924
- return "0px";
5925
- }
5926
- expanded(next){
5927
- if(next !== undefined) return next;
5928
- return false;
5929
- }
5930
- expandable(){
5931
- return false;
5932
- }
5933
5933
  };
5934
- ($mol_mem(($.$mol_check_expand.prototype), "Icon"));
5935
5934
  ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
5935
+ ($mol_mem(($.$mol_check_expand.prototype), "Icon"));
5936
5936
 
5937
5937
 
5938
5938
  ;
@@ -5965,12 +5965,6 @@ var $;
5965
5965
 
5966
5966
  ;
5967
5967
  ($.$mol_dump_list) = class $mol_dump_list extends ($.$mol_view) {
5968
- values(){
5969
- return [];
5970
- }
5971
- sub(){
5972
- return [(this.Dump("0"))];
5973
- }
5974
5968
  dump_value(id){
5975
5969
  return null;
5976
5970
  }
@@ -5992,6 +5986,12 @@ var $;
5992
5986
  (obj.preview_show) = () => ((this.preview_show()));
5993
5987
  return obj;
5994
5988
  }
5989
+ values(){
5990
+ return [];
5991
+ }
5992
+ sub(){
5993
+ return [(this.Dump("0"))];
5994
+ }
5995
5995
  };
5996
5996
  ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
5997
5997
  ($mol_mem_key(($.$mol_dump_list.prototype), "Dump"));
@@ -6033,9 +6033,6 @@ var $;
6033
6033
 
6034
6034
  ;
6035
6035
  ($.$mol_expander) = class $mol_expander extends ($.$mol_list) {
6036
- rows(){
6037
- return [(this.Label()), (this.Content())];
6038
- }
6039
6036
  expanded(next){
6040
6037
  if(next !== undefined) return next;
6041
6038
  return false;
@@ -6069,6 +6066,9 @@ var $;
6069
6066
  (obj.rows) = () => ((this.content()));
6070
6067
  return obj;
6071
6068
  }
6069
+ rows(){
6070
+ return [(this.Label()), (this.Content())];
6071
+ }
6072
6072
  };
6073
6073
  ($mol_mem(($.$mol_expander.prototype), "expanded"));
6074
6074
  ($mol_mem(($.$mol_expander.prototype), "Trigger"));
@@ -6112,17 +6112,6 @@ var $;
6112
6112
 
6113
6113
  ;
6114
6114
  ($.$mol_dump_value) = class $mol_dump_value extends ($.$mol_view) {
6115
- value(next){
6116
- if(next !== undefined) return next;
6117
- return null;
6118
- }
6119
- preview_show(next){
6120
- if(next !== undefined) return next;
6121
- return true;
6122
- }
6123
- sub(){
6124
- return [(this.Simple()), (this.Expand())];
6125
- }
6126
6115
  simple(){
6127
6116
  return "";
6128
6117
  }
@@ -6200,9 +6189,18 @@ var $;
6200
6189
  (obj.content) = () => ((this.expand_content()));
6201
6190
  return obj;
6202
6191
  }
6192
+ value(next){
6193
+ if(next !== undefined) return next;
6194
+ return null;
6195
+ }
6196
+ preview_show(next){
6197
+ if(next !== undefined) return next;
6198
+ return true;
6199
+ }
6200
+ sub(){
6201
+ return [(this.Simple()), (this.Expand())];
6202
+ }
6203
6203
  };
6204
- ($mol_mem(($.$mol_dump_value.prototype), "value"));
6205
- ($mol_mem(($.$mol_dump_value.prototype), "preview_show"));
6206
6204
  ($mol_mem(($.$mol_dump_value.prototype), "Simple"));
6207
6205
  ($mol_mem(($.$mol_dump_value.prototype), "expanded"));
6208
6206
  ($mol_mem(($.$mol_dump_value.prototype), "expand_all"));
@@ -6212,6 +6210,8 @@ var $;
6212
6210
  ($mol_mem(($.$mol_dump_value.prototype), "Preview"));
6213
6211
  ($mol_mem_key(($.$mol_dump_value.prototype), "Row"));
6214
6212
  ($mol_mem(($.$mol_dump_value.prototype), "Expand"));
6213
+ ($mol_mem(($.$mol_dump_value.prototype), "value"));
6214
+ ($mol_mem(($.$mol_dump_value.prototype), "preview_show"));
6215
6215
 
6216
6216
 
6217
6217
  ;