mol_dump_lib 0.0.263 → 0.0.265

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
@@ -2737,6 +2737,12 @@ var $;
2737
2737
 
2738
2738
  ;
2739
2739
  ($.$mol_dimmer) = class $mol_dimmer extends ($.$mol_paragraph) {
2740
+ parts(){
2741
+ return [];
2742
+ }
2743
+ string(id){
2744
+ return "";
2745
+ }
2740
2746
  haystack(){
2741
2747
  return "";
2742
2748
  }
@@ -2756,12 +2762,6 @@ var $;
2756
2762
  (obj.sub) = () => ([(this.string(id))]);
2757
2763
  return obj;
2758
2764
  }
2759
- parts(){
2760
- return [];
2761
- }
2762
- string(id){
2763
- return "";
2764
- }
2765
2765
  };
2766
2766
  ($mol_mem_key(($.$mol_dimmer.prototype), "Low"));
2767
2767
  ($mol_mem_key(($.$mol_dimmer.prototype), "High"));
@@ -3113,14 +3113,17 @@ var $;
3113
3113
 
3114
3114
  ;
3115
3115
  ($.$mol_text_code_token) = class $mol_text_code_token extends ($.$mol_dimmer) {
3116
- attr(){
3117
- return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3118
- }
3119
3116
  type(){
3120
3117
  return "";
3121
3118
  }
3119
+ attr(){
3120
+ return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3121
+ }
3122
3122
  };
3123
3123
  ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
3124
+ uri(){
3125
+ return "";
3126
+ }
3124
3127
  dom_name(){
3125
3128
  return "a";
3126
3129
  }
@@ -3134,9 +3137,6 @@ var $;
3134
3137
  "target": "_blank"
3135
3138
  };
3136
3139
  }
3137
- uri(){
3138
- return "";
3139
- }
3140
3140
  };
3141
3141
 
3142
3142
 
@@ -3322,6 +3322,21 @@ var $;
3322
3322
 
3323
3323
  ;
3324
3324
  ($.$mol_text_code_row) = class $mol_text_code_row extends ($.$mol_paragraph) {
3325
+ numb(){
3326
+ return 0;
3327
+ }
3328
+ token_type(id){
3329
+ return "";
3330
+ }
3331
+ token_text(id){
3332
+ return "";
3333
+ }
3334
+ highlight(){
3335
+ return "";
3336
+ }
3337
+ token_uri(id){
3338
+ return "";
3339
+ }
3325
3340
  text(){
3326
3341
  return "";
3327
3342
  }
@@ -3359,21 +3374,6 @@ var $;
3359
3374
  find_pos(id){
3360
3375
  return null;
3361
3376
  }
3362
- numb(){
3363
- return 0;
3364
- }
3365
- token_type(id){
3366
- return "";
3367
- }
3368
- token_text(id){
3369
- return "";
3370
- }
3371
- highlight(){
3372
- return "";
3373
- }
3374
- token_uri(id){
3375
- return "";
3376
- }
3377
3377
  };
3378
3378
  ($mol_mem(($.$mol_text_code_row.prototype), "Numb"));
3379
3379
  ($mol_mem_key(($.$mol_text_code_row.prototype), "Token"));
@@ -3628,6 +3628,15 @@ var $;
3628
3628
 
3629
3629
  ;
3630
3630
  ($.$mol_list) = class $mol_list extends ($.$mol_view) {
3631
+ rows(){
3632
+ return [];
3633
+ }
3634
+ gap_before(){
3635
+ return 0;
3636
+ }
3637
+ gap_after(){
3638
+ return 0;
3639
+ }
3631
3640
  render_visible_only(){
3632
3641
  return true;
3633
3642
  }
@@ -3654,15 +3663,6 @@ var $;
3654
3663
  view_window(){
3655
3664
  return [0, 0];
3656
3665
  }
3657
- rows(){
3658
- return [];
3659
- }
3660
- gap_before(){
3661
- return 0;
3662
- }
3663
- gap_after(){
3664
- return 0;
3665
- }
3666
3666
  };
3667
3667
  ($mol_mem(($.$mol_list.prototype), "Empty"));
3668
3668
  ($mol_mem(($.$mol_list.prototype), "Gap_before"));
@@ -3890,6 +3890,12 @@ var $;
3890
3890
 
3891
3891
  ;
3892
3892
  ($.$mol_speck) = class $mol_speck extends ($.$mol_view) {
3893
+ theme(){
3894
+ return "$mol_theme_accent";
3895
+ }
3896
+ value(){
3897
+ return null;
3898
+ }
3893
3899
  attr(){
3894
3900
  return {...(super.attr()), "mol_theme": (this.theme())};
3895
3901
  }
@@ -3899,12 +3905,6 @@ var $;
3899
3905
  sub(){
3900
3906
  return [(this.value())];
3901
3907
  }
3902
- theme(){
3903
- return "$mol_theme_accent";
3904
- }
3905
- value(){
3906
- return null;
3907
- }
3908
3908
  };
3909
3909
 
3910
3910
 
@@ -3940,6 +3940,33 @@ var $;
3940
3940
 
3941
3941
  ;
3942
3942
  ($.$mol_button) = class $mol_button extends ($.$mol_view) {
3943
+ event_activate(next){
3944
+ if(next !== undefined) return next;
3945
+ return null;
3946
+ }
3947
+ clicks(next){
3948
+ if(next !== undefined) return next;
3949
+ return null;
3950
+ }
3951
+ event_key_press(next){
3952
+ if(next !== undefined) return next;
3953
+ return null;
3954
+ }
3955
+ disabled(){
3956
+ return false;
3957
+ }
3958
+ tab_index(){
3959
+ return 0;
3960
+ }
3961
+ hint(){
3962
+ return "";
3963
+ }
3964
+ hint_safe(){
3965
+ return (this.hint());
3966
+ }
3967
+ error(){
3968
+ return "";
3969
+ }
3943
3970
  enabled(){
3944
3971
  return true;
3945
3972
  }
@@ -3976,40 +4003,13 @@ var $;
3976
4003
  (obj.value) = () => ((this.error()));
3977
4004
  return obj;
3978
4005
  }
3979
- event_activate(next){
3980
- if(next !== undefined) return next;
3981
- return null;
3982
- }
3983
- clicks(next){
3984
- if(next !== undefined) return next;
3985
- return null;
3986
- }
3987
- event_key_press(next){
3988
- if(next !== undefined) return next;
3989
- return null;
3990
- }
3991
- disabled(){
3992
- return false;
3993
- }
3994
- tab_index(){
3995
- return 0;
3996
- }
3997
- hint(){
3998
- return "";
3999
- }
4000
- hint_safe(){
4001
- return (this.hint());
4002
- }
4003
- error(){
4004
- return "";
4005
- }
4006
4006
  };
4007
- ($mol_mem(($.$mol_button.prototype), "click"));
4008
- ($mol_mem(($.$mol_button.prototype), "event_click"));
4009
- ($mol_mem(($.$mol_button.prototype), "Speck"));
4010
4007
  ($mol_mem(($.$mol_button.prototype), "event_activate"));
4011
4008
  ($mol_mem(($.$mol_button.prototype), "clicks"));
4012
4009
  ($mol_mem(($.$mol_button.prototype), "event_key_press"));
4010
+ ($mol_mem(($.$mol_button.prototype), "click"));
4011
+ ($mol_mem(($.$mol_button.prototype), "event_click"));
4012
+ ($mol_mem(($.$mol_button.prototype), "Speck"));
4013
4013
 
4014
4014
 
4015
4015
  ;
@@ -4353,6 +4353,12 @@ var $;
4353
4353
 
4354
4354
  ;
4355
4355
  ($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
4356
+ view_box(){
4357
+ return "0 0 100 100";
4358
+ }
4359
+ aspect(){
4360
+ return "xMidYMid";
4361
+ }
4356
4362
  dom_name(){
4357
4363
  return "svg";
4358
4364
  }
@@ -4363,12 +4369,6 @@ var $;
4363
4369
  "preserveAspectRatio": (this.aspect())
4364
4370
  };
4365
4371
  }
4366
- view_box(){
4367
- return "0 0 100 100";
4368
- }
4369
- aspect(){
4370
- return "xMidYMid";
4371
- }
4372
4372
  };
4373
4373
 
4374
4374
 
@@ -4384,15 +4384,15 @@ var $;
4384
4384
 
4385
4385
  ;
4386
4386
  ($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
4387
+ geometry(){
4388
+ return "";
4389
+ }
4387
4390
  dom_name(){
4388
4391
  return "path";
4389
4392
  }
4390
4393
  attr(){
4391
4394
  return {...(super.attr()), "d": (this.geometry())};
4392
4395
  }
4393
- geometry(){
4394
- return "";
4395
- }
4396
4396
  };
4397
4397
 
4398
4398
 
@@ -4401,6 +4401,14 @@ var $;
4401
4401
 
4402
4402
  ;
4403
4403
  ($.$mol_icon) = class $mol_icon extends ($.$mol_svg_root) {
4404
+ path(){
4405
+ return "";
4406
+ }
4407
+ Path(){
4408
+ const obj = new this.$.$mol_svg_path();
4409
+ (obj.geometry) = () => ((this.path()));
4410
+ return obj;
4411
+ }
4404
4412
  view_box(){
4405
4413
  return "0 0 24 24";
4406
4414
  }
@@ -4413,14 +4421,6 @@ var $;
4413
4421
  sub(){
4414
4422
  return [(this.Path())];
4415
4423
  }
4416
- path(){
4417
- return "";
4418
- }
4419
- Path(){
4420
- const obj = new this.$.$mol_svg_path();
4421
- (obj.geometry) = () => ((this.path()));
4422
- return obj;
4423
- }
4424
4424
  };
4425
4425
  ($mol_mem(($.$mol_icon.prototype), "Path"));
4426
4426
 
@@ -4459,15 +4459,6 @@ var $;
4459
4459
 
4460
4460
  ;
4461
4461
  ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
4462
- blobs(){
4463
- return [(this.text_blob()), (this.html_blob())];
4464
- }
4465
- data(){
4466
- return {};
4467
- }
4468
- sub(){
4469
- return [(this.Icon()), (this.title())];
4470
- }
4471
4462
  text(){
4472
4463
  return (this.title());
4473
4464
  }
@@ -4491,6 +4482,15 @@ var $;
4491
4482
  title(){
4492
4483
  return "";
4493
4484
  }
4485
+ blobs(){
4486
+ return [(this.text_blob()), (this.html_blob())];
4487
+ }
4488
+ data(){
4489
+ return {};
4490
+ }
4491
+ sub(){
4492
+ return [(this.Icon()), (this.title())];
4493
+ }
4494
4494
  };
4495
4495
  ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
4496
4496
  ($mol_mem(($.$mol_button_copy.prototype), "html_blob"));
@@ -5164,24 +5164,6 @@ var $;
5164
5164
 
5165
5165
  ;
5166
5166
  ($.$mol_text_code) = class $mol_text_code extends ($.$mol_stack) {
5167
- attr(){
5168
- return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5169
- }
5170
- text(){
5171
- return "";
5172
- }
5173
- text_lines(){
5174
- return [];
5175
- }
5176
- find_pos(id){
5177
- return null;
5178
- }
5179
- uri_base(){
5180
- return "";
5181
- }
5182
- sub(){
5183
- return [(this.Rows()), (this.Copy())];
5184
- }
5185
5167
  sidebar_showed(){
5186
5168
  return false;
5187
5169
  }
@@ -5231,6 +5213,24 @@ var $;
5231
5213
  (obj.text) = () => ((this.text_export()));
5232
5214
  return obj;
5233
5215
  }
5216
+ attr(){
5217
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5218
+ }
5219
+ text(){
5220
+ return "";
5221
+ }
5222
+ text_lines(){
5223
+ return [];
5224
+ }
5225
+ find_pos(id){
5226
+ return null;
5227
+ }
5228
+ uri_base(){
5229
+ return "";
5230
+ }
5231
+ sub(){
5232
+ return [(this.Rows()), (this.Copy())];
5233
+ }
5234
5234
  };
5235
5235
  ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
5236
5236
  ($mol_mem(($.$mol_text_code.prototype), "Rows"));
@@ -5364,17 +5364,6 @@ var $;
5364
5364
 
5365
5365
  ;
5366
5366
  ($.$mol_check) = class $mol_check extends ($.$mol_button_minor) {
5367
- attr(){
5368
- return {
5369
- ...(super.attr()),
5370
- "mol_check_checked": (this.checked()),
5371
- "aria-checked": (this.aria_checked()),
5372
- "role": (this.aria_role())
5373
- };
5374
- }
5375
- sub(){
5376
- return [(this.Icon()), (this.label())];
5377
- }
5378
5367
  checked(next){
5379
5368
  if(next !== undefined) return next;
5380
5369
  return false;
@@ -5399,6 +5388,17 @@ var $;
5399
5388
  label(){
5400
5389
  return [(this.Title())];
5401
5390
  }
5391
+ attr(){
5392
+ return {
5393
+ ...(super.attr()),
5394
+ "mol_check_checked": (this.checked()),
5395
+ "aria-checked": (this.aria_checked()),
5396
+ "role": (this.aria_role())
5397
+ };
5398
+ }
5399
+ sub(){
5400
+ return [(this.Icon()), (this.label())];
5401
+ }
5402
5402
  };
5403
5403
  ($mol_mem(($.$mol_check.prototype), "checked"));
5404
5404
  ($mol_mem(($.$mol_check.prototype), "Title"));
@@ -5458,6 +5458,16 @@ var $;
5458
5458
 
5459
5459
  ;
5460
5460
  ($.$mol_check_expand) = class $mol_check_expand extends ($.$mol_check) {
5461
+ level_style(){
5462
+ return "0px";
5463
+ }
5464
+ expanded(next){
5465
+ if(next !== undefined) return next;
5466
+ return false;
5467
+ }
5468
+ expandable(){
5469
+ return false;
5470
+ }
5461
5471
  Icon(){
5462
5472
  const obj = new this.$.$mol_icon_chevron();
5463
5473
  return obj;
@@ -5474,19 +5484,9 @@ var $;
5474
5484
  enabled(){
5475
5485
  return (this.expandable());
5476
5486
  }
5477
- level_style(){
5478
- return "0px";
5479
- }
5480
- expanded(next){
5481
- if(next !== undefined) return next;
5482
- return false;
5483
- }
5484
- expandable(){
5485
- return false;
5486
- }
5487
5487
  };
5488
- ($mol_mem(($.$mol_check_expand.prototype), "Icon"));
5489
5488
  ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
5489
+ ($mol_mem(($.$mol_check_expand.prototype), "Icon"));
5490
5490
 
5491
5491
 
5492
5492
  ;
@@ -5519,12 +5519,6 @@ var $;
5519
5519
 
5520
5520
  ;
5521
5521
  ($.$mol_dump_list) = class $mol_dump_list extends ($.$mol_view) {
5522
- values(){
5523
- return [];
5524
- }
5525
- sub(){
5526
- return [(this.Dump("0"))];
5527
- }
5528
5522
  dump_value(id){
5529
5523
  return null;
5530
5524
  }
@@ -5546,6 +5540,12 @@ var $;
5546
5540
  (obj.preview_show) = () => ((this.preview_show()));
5547
5541
  return obj;
5548
5542
  }
5543
+ values(){
5544
+ return [];
5545
+ }
5546
+ sub(){
5547
+ return [(this.Dump("0"))];
5548
+ }
5549
5549
  };
5550
5550
  ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
5551
5551
  ($mol_mem_key(($.$mol_dump_list.prototype), "Dump"));
@@ -5587,9 +5587,6 @@ var $;
5587
5587
 
5588
5588
  ;
5589
5589
  ($.$mol_expander) = class $mol_expander extends ($.$mol_list) {
5590
- rows(){
5591
- return [(this.Label()), (this.Content())];
5592
- }
5593
5590
  expanded(next){
5594
5591
  if(next !== undefined) return next;
5595
5592
  return false;
@@ -5623,6 +5620,9 @@ var $;
5623
5620
  (obj.rows) = () => ((this.content()));
5624
5621
  return obj;
5625
5622
  }
5623
+ rows(){
5624
+ return [(this.Label()), (this.Content())];
5625
+ }
5626
5626
  };
5627
5627
  ($mol_mem(($.$mol_expander.prototype), "expanded"));
5628
5628
  ($mol_mem(($.$mol_expander.prototype), "Trigger"));
@@ -5666,17 +5666,6 @@ var $;
5666
5666
 
5667
5667
  ;
5668
5668
  ($.$mol_dump_value) = class $mol_dump_value extends ($.$mol_view) {
5669
- value(next){
5670
- if(next !== undefined) return next;
5671
- return null;
5672
- }
5673
- preview_show(next){
5674
- if(next !== undefined) return next;
5675
- return true;
5676
- }
5677
- sub(){
5678
- return [(this.Simple()), (this.Expand())];
5679
- }
5680
5669
  simple(){
5681
5670
  return "";
5682
5671
  }
@@ -5754,9 +5743,18 @@ var $;
5754
5743
  (obj.content) = () => ((this.expand_content()));
5755
5744
  return obj;
5756
5745
  }
5746
+ value(next){
5747
+ if(next !== undefined) return next;
5748
+ return null;
5749
+ }
5750
+ preview_show(next){
5751
+ if(next !== undefined) return next;
5752
+ return true;
5753
+ }
5754
+ sub(){
5755
+ return [(this.Simple()), (this.Expand())];
5756
+ }
5757
5757
  };
5758
- ($mol_mem(($.$mol_dump_value.prototype), "value"));
5759
- ($mol_mem(($.$mol_dump_value.prototype), "preview_show"));
5760
5758
  ($mol_mem(($.$mol_dump_value.prototype), "Simple"));
5761
5759
  ($mol_mem(($.$mol_dump_value.prototype), "expanded"));
5762
5760
  ($mol_mem(($.$mol_dump_value.prototype), "expand_all"));
@@ -5766,6 +5764,8 @@ var $;
5766
5764
  ($mol_mem(($.$mol_dump_value.prototype), "Preview"));
5767
5765
  ($mol_mem_key(($.$mol_dump_value.prototype), "Row"));
5768
5766
  ($mol_mem(($.$mol_dump_value.prototype), "Expand"));
5767
+ ($mol_mem(($.$mol_dump_value.prototype), "value"));
5768
+ ($mol_mem(($.$mol_dump_value.prototype), "preview_show"));
5769
5769
 
5770
5770
 
5771
5771
  ;