mol_dump_lib 0.0.343 → 0.0.345

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.mjs CHANGED
@@ -595,31 +595,14 @@ var $;
595
595
  "use strict";
596
596
  var $;
597
597
  (function ($) {
598
- class $mol_after_frame extends $mol_object2 {
598
+ class $mol_after_tick extends $mol_object2 {
599
599
  task;
600
- static _promise = null;
601
- static get promise() {
602
- if (this._promise)
603
- return this._promise;
604
- return this._promise = new Promise(done => {
605
- const complete = () => {
606
- this._promise = null;
607
- done();
608
- };
609
- if (typeof requestAnimationFrame === 'function') {
610
- requestAnimationFrame(complete);
611
- }
612
- else {
613
- setTimeout(complete, 16);
614
- }
615
- });
616
- }
617
- cancelled = false;
618
600
  promise;
601
+ cancelled = false;
619
602
  constructor(task) {
620
603
  super();
621
604
  this.task = task;
622
- this.promise = $mol_after_frame.promise.then(() => {
605
+ this.promise = Promise.resolve().then(() => {
623
606
  if (this.cancelled)
624
607
  return;
625
608
  task();
@@ -629,7 +612,7 @@ var $;
629
612
  this.cancelled = true;
630
613
  }
631
614
  }
632
- $.$mol_after_frame = $mol_after_frame;
615
+ $.$mol_after_tick = $mol_after_tick;
633
616
  })($ || ($ = {}));
634
617
 
635
618
  ;
@@ -657,7 +640,7 @@ var $;
657
640
  static plan() {
658
641
  if (this.plan_task)
659
642
  return;
660
- this.plan_task = new $mol_after_frame(() => {
643
+ this.plan_task = new $mol_after_tick(() => {
661
644
  try {
662
645
  this.sync();
663
646
  }
@@ -859,7 +842,7 @@ var $;
859
842
  sub.track_off(prev);
860
843
  sub.absorb = () => {
861
844
  done(null);
862
- sub.destructor();
845
+ setTimeout(() => sub.destructor());
863
846
  };
864
847
  });
865
848
  }
@@ -929,6 +912,47 @@ var $;
929
912
  $.$mol_key = $mol_key;
930
913
  })($ || ($ = {}));
931
914
 
915
+ ;
916
+ "use strict";
917
+ var $;
918
+ (function ($) {
919
+ class $mol_after_frame extends $mol_object2 {
920
+ task;
921
+ static _promise = null;
922
+ static get promise() {
923
+ if (this._promise)
924
+ return this._promise;
925
+ return this._promise = new Promise(done => {
926
+ const complete = () => {
927
+ this._promise = null;
928
+ done();
929
+ };
930
+ if (typeof requestAnimationFrame === 'function') {
931
+ requestAnimationFrame(complete);
932
+ }
933
+ else {
934
+ setTimeout(complete, 16);
935
+ }
936
+ });
937
+ }
938
+ cancelled = false;
939
+ promise;
940
+ constructor(task) {
941
+ super();
942
+ this.task = task;
943
+ this.promise = $mol_after_frame.promise.then(() => {
944
+ if (this.cancelled)
945
+ return;
946
+ task();
947
+ });
948
+ }
949
+ destructor() {
950
+ this.cancelled = true;
951
+ }
952
+ }
953
+ $.$mol_after_frame = $mol_after_frame;
954
+ })($ || ($ = {}));
955
+
932
956
  ;
933
957
  "use strict";
934
958
  var $;
@@ -1501,30 +1525,6 @@ var $;
1501
1525
  $.$mol_dom_context = self;
1502
1526
  })($ || ($ = {}));
1503
1527
 
1504
- ;
1505
- "use strict";
1506
- var $;
1507
- (function ($) {
1508
- class $mol_after_tick extends $mol_object2 {
1509
- task;
1510
- promise;
1511
- cancelled = false;
1512
- constructor(task) {
1513
- super();
1514
- this.task = task;
1515
- this.promise = Promise.resolve().then(() => {
1516
- if (this.cancelled)
1517
- return;
1518
- task();
1519
- });
1520
- }
1521
- destructor() {
1522
- this.cancelled = true;
1523
- }
1524
- }
1525
- $.$mol_after_tick = $mol_after_tick;
1526
- })($ || ($ = {}));
1527
-
1528
1528
  ;
1529
1529
  "use strict";
1530
1530
  var $;
@@ -1876,29 +1876,19 @@ var $;
1876
1876
  "use strict";
1877
1877
  var $;
1878
1878
  (function ($) {
1879
- let all = [];
1880
- let el = null;
1881
- let timer = null;
1882
- function $mol_style_attach_force() {
1883
- if (all.length) {
1884
- el.innerHTML += '\n' + all.join('\n\n');
1885
- all = [];
1886
- }
1887
- timer = null;
1888
- return el;
1889
- }
1890
- $.$mol_style_attach_force = $mol_style_attach_force;
1891
1879
  function $mol_style_attach(id, text) {
1892
- all.push(`/* ${id} */\n\n${text}`);
1893
- if (timer)
1894
- return el;
1895
1880
  const doc = $mol_dom_context.document;
1896
1881
  if (!doc)
1897
1882
  return null;
1898
- el = doc.createElement('style');
1899
- el.id = `$mol_style_attach`;
1900
- doc.head.appendChild(el);
1901
- timer = new $mol_after_tick($mol_style_attach_force);
1883
+ const elid = `$mol_style_attach:${id}`;
1884
+ let el = doc.getElementById(elid);
1885
+ if (!el) {
1886
+ el = doc.createElement('style');
1887
+ el.id = elid;
1888
+ doc.head.appendChild(el);
1889
+ }
1890
+ if (el.innerHTML != text)
1891
+ el.innerHTML = text;
1902
1892
  return el;
1903
1893
  }
1904
1894
  $.$mol_style_attach = $mol_style_attach;
@@ -2599,7 +2589,10 @@ var $;
2599
2589
  this.attachShadow({ mode: 'open' });
2600
2590
  const node = this.view.dom_node();
2601
2591
  node.setAttribute('mol_view_root', '');
2602
- this.shadowRoot.append($mol_style_attach_force().cloneNode(true), node);
2592
+ for (const style of $mol_dom_context.document.getElementsByTagName('style')) {
2593
+ this.shadowRoot.append(style.cloneNode(true));
2594
+ }
2595
+ this.shadowRoot.append(node);
2603
2596
  }
2604
2597
  this.root = $mol_wire_auto();
2605
2598
  try {
@@ -2674,7 +2667,7 @@ var $;
2674
2667
  return 0;
2675
2668
  }
2676
2669
  sub(){
2677
- return [(this.title())];
2670
+ return [(this?.title())];
2678
2671
  }
2679
2672
  };
2680
2673
 
@@ -2752,16 +2745,16 @@ var $;
2752
2745
  return "";
2753
2746
  }
2754
2747
  sub(){
2755
- return (this.parts());
2748
+ return (this?.parts());
2756
2749
  }
2757
2750
  Low(id){
2758
2751
  const obj = new this.$.$mol_paragraph();
2759
- (obj.sub) = () => ([(this.string(id))]);
2752
+ (obj.sub) = () => ([(this?.string(id))]);
2760
2753
  return obj;
2761
2754
  }
2762
2755
  High(id){
2763
2756
  const obj = new this.$.$mol_paragraph();
2764
- (obj.sub) = () => ([(this.string(id))]);
2757
+ (obj.sub) = () => ([(this?.string(id))]);
2765
2758
  return obj;
2766
2759
  }
2767
2760
  };
@@ -3119,7 +3112,7 @@ var $;
3119
3112
  return "";
3120
3113
  }
3121
3114
  attr(){
3122
- return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3115
+ return {...(super.attr()), "mol_text_code_token_type": (this?.type())};
3123
3116
  }
3124
3117
  };
3125
3118
  ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
@@ -3135,7 +3128,7 @@ var $;
3135
3128
  attr(){
3136
3129
  return {
3137
3130
  ...(super.attr()),
3138
- "href": (this.uri()),
3131
+ "href": (this?.uri()),
3139
3132
  "target": "_blank"
3140
3133
  };
3141
3134
  }
@@ -3356,21 +3349,21 @@ var $;
3356
3349
  }
3357
3350
  Numb(){
3358
3351
  const obj = new this.$.$mol_view();
3359
- (obj.sub) = () => ([(this.numb())]);
3352
+ (obj.sub) = () => ([(this?.numb())]);
3360
3353
  return obj;
3361
3354
  }
3362
3355
  Token(id){
3363
3356
  const obj = new this.$.$mol_text_code_token();
3364
- (obj.type) = () => ((this.token_type(id)));
3365
- (obj.haystack) = () => ((this.token_text(id)));
3366
- (obj.needle) = () => ((this.highlight()));
3357
+ (obj.type) = () => ((this?.token_type(id)));
3358
+ (obj.haystack) = () => ((this?.token_text(id)));
3359
+ (obj.needle) = () => ((this?.highlight()));
3367
3360
  return obj;
3368
3361
  }
3369
3362
  Token_link(id){
3370
3363
  const obj = new this.$.$mol_text_code_token_link();
3371
- (obj.haystack) = () => ((this.token_text(id)));
3372
- (obj.needle) = () => ((this.highlight()));
3373
- (obj.uri) = () => ((this.token_uri(id)));
3364
+ (obj.haystack) = () => ((this?.token_text(id)));
3365
+ (obj.needle) = () => ((this?.highlight()));
3366
+ (obj.uri) = () => ((this?.token_uri(id)));
3374
3367
  return obj;
3375
3368
  }
3376
3369
  find_pos(id){
@@ -3646,7 +3639,7 @@ var $;
3646
3639
  return 0;
3647
3640
  }
3648
3641
  sub(){
3649
- return (this.rows());
3642
+ return (this?.rows());
3650
3643
  }
3651
3644
  Empty(){
3652
3645
  const obj = new this.$.$mol_view();
@@ -3654,12 +3647,12 @@ var $;
3654
3647
  }
3655
3648
  Gap_before(){
3656
3649
  const obj = new this.$.$mol_view();
3657
- (obj.style) = () => ({"paddingTop": (this.gap_before())});
3650
+ (obj.style) = () => ({"paddingTop": (this?.gap_before())});
3658
3651
  return obj;
3659
3652
  }
3660
3653
  Gap_after(){
3661
3654
  const obj = new this.$.$mol_view();
3662
- (obj.style) = () => ({"paddingTop": (this.gap_after())});
3655
+ (obj.style) = () => ({"paddingTop": (this?.gap_after())});
3663
3656
  return obj;
3664
3657
  }
3665
3658
  view_window(){
@@ -3898,13 +3891,13 @@ var $;
3898
3891
  return null;
3899
3892
  }
3900
3893
  attr(){
3901
- return {...(super.attr()), "mol_theme": (this.theme())};
3894
+ return {...(super.attr()), "mol_theme": (this?.theme())};
3902
3895
  }
3903
3896
  style(){
3904
3897
  return {...(super.style()), "minHeight": "1em"};
3905
3898
  }
3906
3899
  sub(){
3907
- return [(this.value())];
3900
+ return [(this?.value())];
3908
3901
  }
3909
3902
  };
3910
3903
 
@@ -3963,7 +3956,7 @@ var $;
3963
3956
  return "";
3964
3957
  }
3965
3958
  hint_safe(){
3966
- return (this.hint());
3959
+ return (this?.hint());
3967
3960
  }
3968
3961
  error(){
3969
3962
  return "";
@@ -3982,26 +3975,26 @@ var $;
3982
3975
  event(){
3983
3976
  return {
3984
3977
  ...(super.event()),
3985
- "click": (next) => (this.event_activate(next)),
3986
- "dblclick": (next) => (this.clicks(next)),
3987
- "keydown": (next) => (this.event_key_press(next))
3978
+ "click": (next) => (this?.event_activate(next)),
3979
+ "dblclick": (next) => (this?.clicks(next)),
3980
+ "keydown": (next) => (this?.event_key_press(next))
3988
3981
  };
3989
3982
  }
3990
3983
  attr(){
3991
3984
  return {
3992
3985
  ...(super.attr()),
3993
- "disabled": (this.disabled()),
3986
+ "disabled": (this?.disabled()),
3994
3987
  "role": "button",
3995
- "tabindex": (this.tab_index()),
3996
- "title": (this.hint_safe())
3988
+ "tabindex": (this?.tab_index()),
3989
+ "title": (this?.hint_safe())
3997
3990
  };
3998
3991
  }
3999
3992
  sub(){
4000
- return [(this.title())];
3993
+ return [(this?.title())];
4001
3994
  }
4002
3995
  Speck(){
4003
3996
  const obj = new this.$.$mol_speck();
4004
- (obj.value) = () => ((this.error()));
3997
+ (obj.value) = () => ((this?.error()));
4005
3998
  return obj;
4006
3999
  }
4007
4000
  };
@@ -4366,8 +4359,8 @@ var $;
4366
4359
  attr(){
4367
4360
  return {
4368
4361
  ...(super.attr()),
4369
- "viewBox": (this.view_box()),
4370
- "preserveAspectRatio": (this.aspect())
4362
+ "viewBox": (this?.view_box()),
4363
+ "preserveAspectRatio": (this?.aspect())
4371
4364
  };
4372
4365
  }
4373
4366
  };
@@ -4392,7 +4385,7 @@ var $;
4392
4385
  return "path";
4393
4386
  }
4394
4387
  attr(){
4395
- return {...(super.attr()), "d": (this.geometry())};
4388
+ return {...(super.attr()), "d": (this?.geometry())};
4396
4389
  }
4397
4390
  };
4398
4391
 
@@ -4407,7 +4400,7 @@ var $;
4407
4400
  }
4408
4401
  Path(){
4409
4402
  const obj = new this.$.$mol_svg_path();
4410
- (obj.geometry) = () => ((this.path()));
4403
+ (obj.geometry) = () => ((this?.path()));
4411
4404
  return obj;
4412
4405
  }
4413
4406
  view_box(){
@@ -4420,7 +4413,7 @@ var $;
4420
4413
  return 16;
4421
4414
  }
4422
4415
  sub(){
4423
- return [(this.Path())];
4416
+ return [(this?.Path())];
4424
4417
  }
4425
4418
  };
4426
4419
  ($mol_mem(($.$mol_icon.prototype), "Path"));
@@ -4461,11 +4454,11 @@ var $;
4461
4454
  ;
4462
4455
  ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
4463
4456
  text(){
4464
- return (this.title());
4457
+ return (this?.title());
4465
4458
  }
4466
4459
  text_blob(next){
4467
4460
  if(next !== undefined) return next;
4468
- const obj = new this.$.$mol_blob([(this.text())], {"type": "text/plain"});
4461
+ const obj = new this.$.$mol_blob([(this?.text())], {"type": "text/plain"});
4469
4462
  return obj;
4470
4463
  }
4471
4464
  html(){
@@ -4473,7 +4466,7 @@ var $;
4473
4466
  }
4474
4467
  html_blob(next){
4475
4468
  if(next !== undefined) return next;
4476
- const obj = new this.$.$mol_blob([(this.html())], {"type": "text/html"});
4469
+ const obj = new this.$.$mol_blob([(this?.html())], {"type": "text/html"});
4477
4470
  return obj;
4478
4471
  }
4479
4472
  Icon(){
@@ -4484,13 +4477,13 @@ var $;
4484
4477
  return "";
4485
4478
  }
4486
4479
  blobs(){
4487
- return [(this.text_blob()), (this.html_blob())];
4480
+ return [(this?.text_blob()), (this?.html_blob())];
4488
4481
  }
4489
4482
  data(){
4490
4483
  return {};
4491
4484
  }
4492
4485
  sub(){
4493
- return [(this.Icon()), (this.title())];
4486
+ return [(this?.Icon()), (this?.title())];
4494
4487
  }
4495
4488
  };
4496
4489
  ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
@@ -5201,21 +5194,21 @@ var $;
5201
5194
  }
5202
5195
  Row(id){
5203
5196
  const obj = new this.$.$mol_text_code_row();
5204
- (obj.numb_showed) = () => ((this.sidebar_showed()));
5205
- (obj.numb) = () => ((this.row_numb(id)));
5206
- (obj.text) = () => ((this.row_text(id)));
5207
- (obj.syntax) = () => ((this.syntax()));
5208
- (obj.uri_resolve) = (id) => ((this.uri_resolve(id)));
5209
- (obj.highlight) = () => ((this.highlight()));
5197
+ (obj.numb_showed) = () => ((this?.sidebar_showed()));
5198
+ (obj.numb) = () => ((this?.row_numb(id)));
5199
+ (obj.text) = () => ((this?.row_text(id)));
5200
+ (obj.syntax) = () => ((this?.syntax()));
5201
+ (obj.uri_resolve) = (id) => ((this?.uri_resolve(id)));
5202
+ (obj.highlight) = () => ((this?.highlight()));
5210
5203
  return obj;
5211
5204
  }
5212
5205
  rows(){
5213
- return [(this.Row("0"))];
5206
+ return [(this?.Row("0"))];
5214
5207
  }
5215
5208
  Rows(){
5216
5209
  const obj = new this.$.$mol_list();
5217
- (obj.render_visible_only) = () => ((this.render_visible_only()));
5218
- (obj.rows) = () => ((this.rows()));
5210
+ (obj.render_visible_only) = () => ((this?.render_visible_only()));
5211
+ (obj.rows) = () => ((this?.rows()));
5219
5212
  return obj;
5220
5213
  }
5221
5214
  text_export(){
@@ -5224,11 +5217,11 @@ var $;
5224
5217
  Copy(){
5225
5218
  const obj = new this.$.$mol_button_copy();
5226
5219
  (obj.hint) = () => ((this.$.$mol_locale.text("$mol_text_code_Copy_hint")));
5227
- (obj.text) = () => ((this.text_export()));
5220
+ (obj.text) = () => ((this?.text_export()));
5228
5221
  return obj;
5229
5222
  }
5230
5223
  attr(){
5231
- return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5224
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this?.sidebar_showed())};
5232
5225
  }
5233
5226
  text(){
5234
5227
  return "";
@@ -5243,7 +5236,7 @@ var $;
5243
5236
  return "";
5244
5237
  }
5245
5238
  sub(){
5246
- return [(this.Rows()), (this.Copy())];
5239
+ return [(this?.Rows()), (this?.Copy())];
5247
5240
  }
5248
5241
  };
5249
5242
  ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
@@ -5265,7 +5258,7 @@ var $;
5265
5258
  return this.$.$mol_support_css_overflow_anchor();
5266
5259
  }
5267
5260
  text_lines() {
5268
- return this.text().split('\n');
5261
+ return (this.text() ?? '').split('\n');
5269
5262
  }
5270
5263
  rows() {
5271
5264
  return this.text_lines().map((_, index) => this.Row(index + 1));
@@ -5396,22 +5389,22 @@ var $;
5396
5389
  }
5397
5390
  Title(){
5398
5391
  const obj = new this.$.$mol_view();
5399
- (obj.sub) = () => ([(this.title())]);
5392
+ (obj.sub) = () => ([(this?.title())]);
5400
5393
  return obj;
5401
5394
  }
5402
5395
  label(){
5403
- return [(this.Title())];
5396
+ return [(this?.Title())];
5404
5397
  }
5405
5398
  attr(){
5406
5399
  return {
5407
5400
  ...(super.attr()),
5408
- "mol_check_checked": (this.checked()),
5409
- "aria-checked": (this.aria_checked()),
5410
- "role": (this.aria_role())
5401
+ "mol_check_checked": (this?.checked()),
5402
+ "aria-checked": (this?.aria_checked()),
5403
+ "role": (this?.aria_role())
5411
5404
  };
5412
5405
  }
5413
5406
  sub(){
5414
- return [(this.Icon()), (this.label())];
5407
+ return [(this?.Icon()), (this?.label())];
5415
5408
  }
5416
5409
  };
5417
5410
  ($mol_mem(($.$mol_check.prototype), "checked"));
@@ -5490,13 +5483,13 @@ var $;
5490
5483
  return 0;
5491
5484
  }
5492
5485
  style(){
5493
- return {...(super.style()), "paddingLeft": (this.level_style())};
5486
+ return {...(super.style()), "paddingLeft": (this?.level_style())};
5494
5487
  }
5495
5488
  checked(next){
5496
- return (this.expanded(next));
5489
+ return (this?.expanded(next));
5497
5490
  }
5498
5491
  enabled(){
5499
- return (this.expandable());
5492
+ return (this?.expandable());
5500
5493
  }
5501
5494
  };
5502
5495
  ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
@@ -5548,17 +5541,17 @@ var $;
5548
5541
  }
5549
5542
  Dump(id){
5550
5543
  const obj = new this.$.$mol_dump_value();
5551
- (obj.value) = () => ((this.dump_value(id)));
5552
- (obj.expanded) = (next) => ((this.dump_expanded(id, next)));
5553
- (obj.prototypes) = () => ((this.prototypes()));
5554
- (obj.preview_show) = () => ((this.preview_show()));
5544
+ (obj.value) = () => ((this?.dump_value(id)));
5545
+ (obj.expanded) = (next) => ((this?.dump_expanded(id, next)));
5546
+ (obj.prototypes) = () => ((this?.prototypes()));
5547
+ (obj.preview_show) = () => ((this?.preview_show()));
5555
5548
  return obj;
5556
5549
  }
5557
5550
  values(){
5558
5551
  return [];
5559
5552
  }
5560
5553
  sub(){
5561
- return [(this.Dump("0"))];
5554
+ return [(this?.Dump("0"))];
5562
5555
  }
5563
5556
  };
5564
5557
  ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
@@ -5609,13 +5602,13 @@ var $;
5609
5602
  return true;
5610
5603
  }
5611
5604
  label(){
5612
- return [(this.title())];
5605
+ return [(this?.title())];
5613
5606
  }
5614
5607
  Trigger(){
5615
5608
  const obj = new this.$.$mol_check_expand();
5616
- (obj.checked) = (next) => ((this.expanded(next)));
5617
- (obj.expandable) = () => ((this.expandable()));
5618
- (obj.label) = () => ((this.label()));
5609
+ (obj.checked) = (next) => ((this?.expanded(next)));
5610
+ (obj.expandable) = () => ((this?.expandable()));
5611
+ (obj.label) = () => ((this?.label()));
5619
5612
  return obj;
5620
5613
  }
5621
5614
  Tools(){
@@ -5623,7 +5616,7 @@ var $;
5623
5616
  }
5624
5617
  Label(){
5625
5618
  const obj = new this.$.$mol_view();
5626
- (obj.sub) = () => ([(this.Trigger()), (this.Tools())]);
5619
+ (obj.sub) = () => ([(this?.Trigger()), (this?.Tools())]);
5627
5620
  return obj;
5628
5621
  }
5629
5622
  content(){
@@ -5631,11 +5624,11 @@ var $;
5631
5624
  }
5632
5625
  Content(){
5633
5626
  const obj = new this.$.$mol_list();
5634
- (obj.rows) = () => ((this.content()));
5627
+ (obj.rows) = () => ((this?.content()));
5635
5628
  return obj;
5636
5629
  }
5637
5630
  rows(){
5638
- return [(this.Label()), (this.Content())];
5631
+ return [(this?.Label()), (this?.Content())];
5639
5632
  }
5640
5633
  };
5641
5634
  ($mol_mem(($.$mol_expander.prototype), "expanded"));
@@ -5685,7 +5678,7 @@ var $;
5685
5678
  }
5686
5679
  Simple(){
5687
5680
  const obj = new this.$.$mol_text_code();
5688
- (obj.text) = () => ((this.simple()));
5681
+ (obj.text) = () => ((this?.simple()));
5689
5682
  return obj;
5690
5683
  }
5691
5684
  expanded(next){
@@ -5704,17 +5697,17 @@ var $;
5704
5697
  }
5705
5698
  Expand_title(){
5706
5699
  const obj = new this.$.$mol_text_code();
5707
- (obj.text) = () => ((this.expand_title()));
5700
+ (obj.text) = () => ((this?.expand_title()));
5708
5701
  return obj;
5709
5702
  }
5710
5703
  Expand_head(){
5711
5704
  const obj = new this.$.$mol_check_expand();
5712
5705
  (obj.minimal_height) = () => (24);
5713
5706
  (obj.minimal_width) = () => (24);
5714
- (obj.expanded) = (next) => ((this.expanded(next)));
5715
- (obj.expandable) = () => ((this.expandable()));
5716
- (obj.clicks) = (next) => ((this.expand_all(next)));
5717
- (obj.label) = () => ([(this.Expand_title())]);
5707
+ (obj.expanded) = (next) => ((this?.expanded(next)));
5708
+ (obj.expandable) = () => ((this?.expandable()));
5709
+ (obj.clicks) = (next) => ((this?.expand_all(next)));
5710
+ (obj.label) = () => ([(this?.Expand_title())]);
5718
5711
  return obj;
5719
5712
  }
5720
5713
  preview_dom(){
@@ -5725,13 +5718,13 @@ var $;
5725
5718
  }
5726
5719
  Preview_dom(){
5727
5720
  const obj = new this.$.$mol_view();
5728
- (obj.dom_node) = () => ((this.preview_dom()));
5729
- (obj.render) = () => ((this.preview()));
5721
+ (obj.dom_node) = () => ((this?.preview_dom()));
5722
+ (obj.render) = () => ((this?.preview()));
5730
5723
  return obj;
5731
5724
  }
5732
5725
  Preview(){
5733
5726
  const obj = new this.$.$mol_view();
5734
- (obj.sub) = () => ([(this.Preview_dom())]);
5727
+ (obj.sub) = () => ([(this?.Preview_dom())]);
5735
5728
  return obj;
5736
5729
  }
5737
5730
  row_values(id){
@@ -5742,19 +5735,19 @@ var $;
5742
5735
  }
5743
5736
  Row(id){
5744
5737
  const obj = new this.$.$mol_dump_list();
5745
- (obj.values) = () => ((this.row_values(id)));
5746
- (obj.prototypes) = () => ((this.prototypes()));
5747
- (obj.preview_show) = () => ((this.preview_show()));
5738
+ (obj.values) = () => ((this?.row_values(id)));
5739
+ (obj.prototypes) = () => ((this?.prototypes()));
5740
+ (obj.preview_show) = () => ((this?.preview_show()));
5748
5741
  return obj;
5749
5742
  }
5750
5743
  expand_content(){
5751
- return [(this.Preview()), (this.Row("0"))];
5744
+ return [(this?.Preview()), (this?.Row("0"))];
5752
5745
  }
5753
5746
  Expand(){
5754
5747
  const obj = new this.$.$mol_expander();
5755
- (obj.expanded) = (next) => ((this.expanded(next)));
5756
- (obj.Trigger) = () => ((this.Expand_head()));
5757
- (obj.content) = () => ((this.expand_content()));
5748
+ (obj.expanded) = (next) => ((this?.expanded(next)));
5749
+ (obj.Trigger) = () => ((this?.Expand_head()));
5750
+ (obj.content) = () => ((this?.expand_content()));
5758
5751
  return obj;
5759
5752
  }
5760
5753
  value(next){
@@ -5766,7 +5759,7 @@ var $;
5766
5759
  return true;
5767
5760
  }
5768
5761
  sub(){
5769
- return [(this.Simple()), (this.Expand())];
5762
+ return [(this?.Simple()), (this?.Expand())];
5770
5763
  }
5771
5764
  };
5772
5765
  ($mol_mem(($.$mol_dump_value.prototype), "Simple"));