mol_dump_lib 0.0.344 → 0.0.346

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.js CHANGED
@@ -610,35 +610,24 @@ var $;
610
610
  "use strict";
611
611
  var $;
612
612
  (function ($) {
613
- class $mol_after_timeout extends $mol_object2 {
614
- delay;
613
+ class $mol_after_tick extends $mol_object2 {
615
614
  task;
616
- id;
617
- constructor(delay, task) {
615
+ promise;
616
+ cancelled = false;
617
+ constructor(task) {
618
618
  super();
619
- this.delay = delay;
620
619
  this.task = task;
621
- this.id = setTimeout(task, delay);
620
+ this.promise = Promise.resolve().then(() => {
621
+ if (this.cancelled)
622
+ return;
623
+ task();
624
+ });
622
625
  }
623
626
  destructor() {
624
- clearTimeout(this.id);
625
- }
626
- }
627
- $.$mol_after_timeout = $mol_after_timeout;
628
- })($ || ($ = {}));
629
-
630
- ;
631
- "use strict";
632
- var $;
633
- (function ($) {
634
- class $mol_after_frame extends $mol_after_timeout {
635
- task;
636
- constructor(task) {
637
- super(16, task);
638
- this.task = task;
627
+ this.cancelled = true;
639
628
  }
640
629
  }
641
- $.$mol_after_frame = $mol_after_frame;
630
+ $.$mol_after_tick = $mol_after_tick;
642
631
  })($ || ($ = {}));
643
632
 
644
633
  ;
@@ -666,7 +655,7 @@ var $;
666
655
  static plan() {
667
656
  if (this.plan_task)
668
657
  return;
669
- this.plan_task = new $mol_after_frame(() => {
658
+ this.plan_task = new $mol_after_tick(() => {
670
659
  try {
671
660
  this.sync();
672
661
  }
@@ -868,7 +857,7 @@ var $;
868
857
  sub.track_off(prev);
869
858
  sub.absorb = () => {
870
859
  done(null);
871
- sub.destructor();
860
+ setTimeout(() => sub.destructor());
872
861
  };
873
862
  });
874
863
  }
@@ -938,6 +927,41 @@ var $;
938
927
  $.$mol_key = $mol_key;
939
928
  })($ || ($ = {}));
940
929
 
930
+ ;
931
+ "use strict";
932
+ var $;
933
+ (function ($) {
934
+ class $mol_after_timeout extends $mol_object2 {
935
+ delay;
936
+ task;
937
+ id;
938
+ constructor(delay, task) {
939
+ super();
940
+ this.delay = delay;
941
+ this.task = task;
942
+ this.id = setTimeout(task, delay);
943
+ }
944
+ destructor() {
945
+ clearTimeout(this.id);
946
+ }
947
+ }
948
+ $.$mol_after_timeout = $mol_after_timeout;
949
+ })($ || ($ = {}));
950
+
951
+ ;
952
+ "use strict";
953
+ var $;
954
+ (function ($) {
955
+ class $mol_after_frame extends $mol_after_timeout {
956
+ task;
957
+ constructor(task) {
958
+ super(16, task);
959
+ this.task = task;
960
+ }
961
+ }
962
+ $.$mol_after_frame = $mol_after_frame;
963
+ })($ || ($ = {}));
964
+
941
965
  ;
942
966
  "use strict";
943
967
  var $;
@@ -2051,30 +2075,6 @@ var $;
2051
2075
  $.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
2052
2076
  })($ || ($ = {}));
2053
2077
 
2054
- ;
2055
- "use strict";
2056
- var $;
2057
- (function ($) {
2058
- class $mol_after_tick extends $mol_object2 {
2059
- task;
2060
- promise;
2061
- cancelled = false;
2062
- constructor(task) {
2063
- super();
2064
- this.task = task;
2065
- this.promise = Promise.resolve().then(() => {
2066
- if (this.cancelled)
2067
- return;
2068
- task();
2069
- });
2070
- }
2071
- destructor() {
2072
- this.cancelled = true;
2073
- }
2074
- }
2075
- $.$mol_after_tick = $mol_after_tick;
2076
- })($ || ($ = {}));
2077
-
2078
2078
  ;
2079
2079
  "use strict";
2080
2080
  var $;
@@ -2408,29 +2408,19 @@ var $;
2408
2408
  "use strict";
2409
2409
  var $;
2410
2410
  (function ($) {
2411
- let all = [];
2412
- let el = null;
2413
- let timer = null;
2414
- function $mol_style_attach_force() {
2415
- if (all.length) {
2416
- el.innerHTML += '\n' + all.join('\n\n');
2417
- all = [];
2418
- }
2419
- timer = null;
2420
- return el;
2421
- }
2422
- $.$mol_style_attach_force = $mol_style_attach_force;
2423
2411
  function $mol_style_attach(id, text) {
2424
- all.push(`/* ${id} */\n\n${text}`);
2425
- if (timer)
2426
- return el;
2427
2412
  const doc = $mol_dom_context.document;
2428
2413
  if (!doc)
2429
2414
  return null;
2430
- el = doc.createElement('style');
2431
- el.id = `$mol_style_attach`;
2432
- doc.head.appendChild(el);
2433
- timer = new $mol_after_tick($mol_style_attach_force);
2415
+ const elid = `$mol_style_attach:${id}`;
2416
+ let el = doc.getElementById(elid);
2417
+ if (!el) {
2418
+ el = doc.createElement('style');
2419
+ el.id = elid;
2420
+ doc.head.appendChild(el);
2421
+ }
2422
+ if (el.innerHTML != text)
2423
+ el.innerHTML = text;
2434
2424
  return el;
2435
2425
  }
2436
2426
  $.$mol_style_attach = $mol_style_attach;
@@ -3124,7 +3114,10 @@ var $;
3124
3114
  this.attachShadow({ mode: 'open' });
3125
3115
  const node = this.view.dom_node();
3126
3116
  node.setAttribute('mol_view_root', '');
3127
- this.shadowRoot.append($mol_style_attach_force().cloneNode(true), node);
3117
+ for (const style of $mol_dom_context.document.getElementsByTagName('style')) {
3118
+ this.shadowRoot.append(style.cloneNode(true));
3119
+ }
3120
+ this.shadowRoot.append(node);
3128
3121
  }
3129
3122
  this.root = $mol_wire_auto();
3130
3123
  try {
@@ -3199,7 +3192,7 @@ var $;
3199
3192
  return 0;
3200
3193
  }
3201
3194
  sub(){
3202
- return [(this.title())];
3195
+ return [(this?.title())];
3203
3196
  }
3204
3197
  };
3205
3198
 
@@ -3277,16 +3270,16 @@ var $;
3277
3270
  return "";
3278
3271
  }
3279
3272
  sub(){
3280
- return (this.parts());
3273
+ return (this?.parts());
3281
3274
  }
3282
3275
  Low(id){
3283
3276
  const obj = new this.$.$mol_paragraph();
3284
- (obj.sub) = () => ([(this.string(id))]);
3277
+ (obj.sub) = () => ([(this?.string(id))]);
3285
3278
  return obj;
3286
3279
  }
3287
3280
  High(id){
3288
3281
  const obj = new this.$.$mol_paragraph();
3289
- (obj.sub) = () => ([(this.string(id))]);
3282
+ (obj.sub) = () => ([(this?.string(id))]);
3290
3283
  return obj;
3291
3284
  }
3292
3285
  };
@@ -3644,7 +3637,7 @@ var $;
3644
3637
  return "";
3645
3638
  }
3646
3639
  attr(){
3647
- return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3640
+ return {...(super.attr()), "mol_text_code_token_type": (this?.type())};
3648
3641
  }
3649
3642
  };
3650
3643
  ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
@@ -3660,7 +3653,7 @@ var $;
3660
3653
  attr(){
3661
3654
  return {
3662
3655
  ...(super.attr()),
3663
- "href": (this.uri()),
3656
+ "href": (this?.uri()),
3664
3657
  "target": "_blank"
3665
3658
  };
3666
3659
  }
@@ -3881,21 +3874,21 @@ var $;
3881
3874
  }
3882
3875
  Numb(){
3883
3876
  const obj = new this.$.$mol_view();
3884
- (obj.sub) = () => ([(this.numb())]);
3877
+ (obj.sub) = () => ([(this?.numb())]);
3885
3878
  return obj;
3886
3879
  }
3887
3880
  Token(id){
3888
3881
  const obj = new this.$.$mol_text_code_token();
3889
- (obj.type) = () => ((this.token_type(id)));
3890
- (obj.haystack) = () => ((this.token_text(id)));
3891
- (obj.needle) = () => ((this.highlight()));
3882
+ (obj.type) = () => ((this?.token_type(id)));
3883
+ (obj.haystack) = () => ((this?.token_text(id)));
3884
+ (obj.needle) = () => ((this?.highlight()));
3892
3885
  return obj;
3893
3886
  }
3894
3887
  Token_link(id){
3895
3888
  const obj = new this.$.$mol_text_code_token_link();
3896
- (obj.haystack) = () => ((this.token_text(id)));
3897
- (obj.needle) = () => ((this.highlight()));
3898
- (obj.uri) = () => ((this.token_uri(id)));
3889
+ (obj.haystack) = () => ((this?.token_text(id)));
3890
+ (obj.needle) = () => ((this?.highlight()));
3891
+ (obj.uri) = () => ((this?.token_uri(id)));
3899
3892
  return obj;
3900
3893
  }
3901
3894
  find_pos(id){
@@ -4171,7 +4164,7 @@ var $;
4171
4164
  return 0;
4172
4165
  }
4173
4166
  sub(){
4174
- return (this.rows());
4167
+ return (this?.rows());
4175
4168
  }
4176
4169
  Empty(){
4177
4170
  const obj = new this.$.$mol_view();
@@ -4179,12 +4172,12 @@ var $;
4179
4172
  }
4180
4173
  Gap_before(){
4181
4174
  const obj = new this.$.$mol_view();
4182
- (obj.style) = () => ({"paddingTop": (this.gap_before())});
4175
+ (obj.style) = () => ({"paddingTop": (this?.gap_before())});
4183
4176
  return obj;
4184
4177
  }
4185
4178
  Gap_after(){
4186
4179
  const obj = new this.$.$mol_view();
4187
- (obj.style) = () => ({"paddingTop": (this.gap_after())});
4180
+ (obj.style) = () => ({"paddingTop": (this?.gap_after())});
4188
4181
  return obj;
4189
4182
  }
4190
4183
  view_window(){
@@ -4423,13 +4416,13 @@ var $;
4423
4416
  return null;
4424
4417
  }
4425
4418
  attr(){
4426
- return {...(super.attr()), "mol_theme": (this.theme())};
4419
+ return {...(super.attr()), "mol_theme": (this?.theme())};
4427
4420
  }
4428
4421
  style(){
4429
4422
  return {...(super.style()), "minHeight": "1em"};
4430
4423
  }
4431
4424
  sub(){
4432
- return [(this.value())];
4425
+ return [(this?.value())];
4433
4426
  }
4434
4427
  };
4435
4428
 
@@ -4488,7 +4481,7 @@ var $;
4488
4481
  return "";
4489
4482
  }
4490
4483
  hint_safe(){
4491
- return (this.hint());
4484
+ return (this?.hint());
4492
4485
  }
4493
4486
  error(){
4494
4487
  return "";
@@ -4507,26 +4500,26 @@ var $;
4507
4500
  event(){
4508
4501
  return {
4509
4502
  ...(super.event()),
4510
- "click": (next) => (this.event_activate(next)),
4511
- "dblclick": (next) => (this.clicks(next)),
4512
- "keydown": (next) => (this.event_key_press(next))
4503
+ "click": (next) => (this?.event_activate(next)),
4504
+ "dblclick": (next) => (this?.clicks(next)),
4505
+ "keydown": (next) => (this?.event_key_press(next))
4513
4506
  };
4514
4507
  }
4515
4508
  attr(){
4516
4509
  return {
4517
4510
  ...(super.attr()),
4518
- "disabled": (this.disabled()),
4511
+ "disabled": (this?.disabled()),
4519
4512
  "role": "button",
4520
- "tabindex": (this.tab_index()),
4521
- "title": (this.hint_safe())
4513
+ "tabindex": (this?.tab_index()),
4514
+ "title": (this?.hint_safe())
4522
4515
  };
4523
4516
  }
4524
4517
  sub(){
4525
- return [(this.title())];
4518
+ return [(this?.title())];
4526
4519
  }
4527
4520
  Speck(){
4528
4521
  const obj = new this.$.$mol_speck();
4529
- (obj.value) = () => ((this.error()));
4522
+ (obj.value) = () => ((this?.error()));
4530
4523
  return obj;
4531
4524
  }
4532
4525
  };
@@ -4863,8 +4856,8 @@ var $;
4863
4856
  attr(){
4864
4857
  return {
4865
4858
  ...(super.attr()),
4866
- "viewBox": (this.view_box()),
4867
- "preserveAspectRatio": (this.aspect())
4859
+ "viewBox": (this?.view_box()),
4860
+ "preserveAspectRatio": (this?.aspect())
4868
4861
  };
4869
4862
  }
4870
4863
  };
@@ -4889,7 +4882,7 @@ var $;
4889
4882
  return "path";
4890
4883
  }
4891
4884
  attr(){
4892
- return {...(super.attr()), "d": (this.geometry())};
4885
+ return {...(super.attr()), "d": (this?.geometry())};
4893
4886
  }
4894
4887
  };
4895
4888
 
@@ -4904,7 +4897,7 @@ var $;
4904
4897
  }
4905
4898
  Path(){
4906
4899
  const obj = new this.$.$mol_svg_path();
4907
- (obj.geometry) = () => ((this.path()));
4900
+ (obj.geometry) = () => ((this?.path()));
4908
4901
  return obj;
4909
4902
  }
4910
4903
  view_box(){
@@ -4917,7 +4910,7 @@ var $;
4917
4910
  return 16;
4918
4911
  }
4919
4912
  sub(){
4920
- return [(this.Path())];
4913
+ return [(this?.Path())];
4921
4914
  }
4922
4915
  };
4923
4916
  ($mol_mem(($.$mol_icon.prototype), "Path"));
@@ -4958,11 +4951,11 @@ var $;
4958
4951
  ;
4959
4952
  ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
4960
4953
  text(){
4961
- return (this.title());
4954
+ return (this?.title());
4962
4955
  }
4963
4956
  text_blob(next){
4964
4957
  if(next !== undefined) return next;
4965
- const obj = new this.$.$mol_blob([(this.text())], {"type": "text/plain"});
4958
+ const obj = new this.$.$mol_blob([(this?.text())], {"type": "text/plain"});
4966
4959
  return obj;
4967
4960
  }
4968
4961
  html(){
@@ -4970,7 +4963,7 @@ var $;
4970
4963
  }
4971
4964
  html_blob(next){
4972
4965
  if(next !== undefined) return next;
4973
- const obj = new this.$.$mol_blob([(this.html())], {"type": "text/html"});
4966
+ const obj = new this.$.$mol_blob([(this?.html())], {"type": "text/html"});
4974
4967
  return obj;
4975
4968
  }
4976
4969
  Icon(){
@@ -4981,13 +4974,13 @@ var $;
4981
4974
  return "";
4982
4975
  }
4983
4976
  blobs(){
4984
- return [(this.text_blob()), (this.html_blob())];
4977
+ return [(this?.text_blob()), (this?.html_blob())];
4985
4978
  }
4986
4979
  data(){
4987
4980
  return {};
4988
4981
  }
4989
4982
  sub(){
4990
- return [(this.Icon()), (this.title())];
4983
+ return [(this?.Icon()), (this?.title())];
4991
4984
  }
4992
4985
  };
4993
4986
  ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
@@ -5697,21 +5690,21 @@ var $;
5697
5690
  }
5698
5691
  Row(id){
5699
5692
  const obj = new this.$.$mol_text_code_row();
5700
- (obj.numb_showed) = () => ((this.sidebar_showed()));
5701
- (obj.numb) = () => ((this.row_numb(id)));
5702
- (obj.text) = () => ((this.row_text(id)));
5703
- (obj.syntax) = () => ((this.syntax()));
5704
- (obj.uri_resolve) = (id) => ((this.uri_resolve(id)));
5705
- (obj.highlight) = () => ((this.highlight()));
5693
+ (obj.numb_showed) = () => ((this?.sidebar_showed()));
5694
+ (obj.numb) = () => ((this?.row_numb(id)));
5695
+ (obj.text) = () => ((this?.row_text(id)));
5696
+ (obj.syntax) = () => ((this?.syntax()));
5697
+ (obj.uri_resolve) = (id) => ((this?.uri_resolve(id)));
5698
+ (obj.highlight) = () => ((this?.highlight()));
5706
5699
  return obj;
5707
5700
  }
5708
5701
  rows(){
5709
- return [(this.Row("0"))];
5702
+ return [(this?.Row("0"))];
5710
5703
  }
5711
5704
  Rows(){
5712
5705
  const obj = new this.$.$mol_list();
5713
- (obj.render_visible_only) = () => ((this.render_visible_only()));
5714
- (obj.rows) = () => ((this.rows()));
5706
+ (obj.render_visible_only) = () => ((this?.render_visible_only()));
5707
+ (obj.rows) = () => ((this?.rows()));
5715
5708
  return obj;
5716
5709
  }
5717
5710
  text_export(){
@@ -5720,11 +5713,11 @@ var $;
5720
5713
  Copy(){
5721
5714
  const obj = new this.$.$mol_button_copy();
5722
5715
  (obj.hint) = () => ((this.$.$mol_locale.text("$mol_text_code_Copy_hint")));
5723
- (obj.text) = () => ((this.text_export()));
5716
+ (obj.text) = () => ((this?.text_export()));
5724
5717
  return obj;
5725
5718
  }
5726
5719
  attr(){
5727
- return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5720
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this?.sidebar_showed())};
5728
5721
  }
5729
5722
  text(){
5730
5723
  return "";
@@ -5739,7 +5732,7 @@ var $;
5739
5732
  return "";
5740
5733
  }
5741
5734
  sub(){
5742
- return [(this.Rows()), (this.Copy())];
5735
+ return [(this?.Rows()), (this?.Copy())];
5743
5736
  }
5744
5737
  };
5745
5738
  ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
@@ -5761,7 +5754,7 @@ var $;
5761
5754
  return this.$.$mol_support_css_overflow_anchor();
5762
5755
  }
5763
5756
  text_lines() {
5764
- return this.text().split('\n');
5757
+ return (this.text() ?? '').split('\n');
5765
5758
  }
5766
5759
  rows() {
5767
5760
  return this.text_lines().map((_, index) => this.Row(index + 1));
@@ -5892,22 +5885,22 @@ var $;
5892
5885
  }
5893
5886
  Title(){
5894
5887
  const obj = new this.$.$mol_view();
5895
- (obj.sub) = () => ([(this.title())]);
5888
+ (obj.sub) = () => ([(this?.title())]);
5896
5889
  return obj;
5897
5890
  }
5898
5891
  label(){
5899
- return [(this.Title())];
5892
+ return [(this?.Title())];
5900
5893
  }
5901
5894
  attr(){
5902
5895
  return {
5903
5896
  ...(super.attr()),
5904
- "mol_check_checked": (this.checked()),
5905
- "aria-checked": (this.aria_checked()),
5906
- "role": (this.aria_role())
5897
+ "mol_check_checked": (this?.checked()),
5898
+ "aria-checked": (this?.aria_checked()),
5899
+ "role": (this?.aria_role())
5907
5900
  };
5908
5901
  }
5909
5902
  sub(){
5910
- return [(this.Icon()), (this.label())];
5903
+ return [(this?.Icon()), (this?.label())];
5911
5904
  }
5912
5905
  };
5913
5906
  ($mol_mem(($.$mol_check.prototype), "checked"));
@@ -5996,13 +5989,13 @@ var $;
5996
5989
  return 0;
5997
5990
  }
5998
5991
  style(){
5999
- return {...(super.style()), "paddingLeft": (this.level_style())};
5992
+ return {...(super.style()), "paddingLeft": (this?.level_style())};
6000
5993
  }
6001
5994
  checked(next){
6002
- return (this.expanded(next));
5995
+ return (this?.expanded(next));
6003
5996
  }
6004
5997
  enabled(){
6005
- return (this.expandable());
5998
+ return (this?.expandable());
6006
5999
  }
6007
6000
  };
6008
6001
  ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
@@ -6054,17 +6047,17 @@ var $;
6054
6047
  }
6055
6048
  Dump(id){
6056
6049
  const obj = new this.$.$mol_dump_value();
6057
- (obj.value) = () => ((this.dump_value(id)));
6058
- (obj.expanded) = (next) => ((this.dump_expanded(id, next)));
6059
- (obj.prototypes) = () => ((this.prototypes()));
6060
- (obj.preview_show) = () => ((this.preview_show()));
6050
+ (obj.value) = () => ((this?.dump_value(id)));
6051
+ (obj.expanded) = (next) => ((this?.dump_expanded(id, next)));
6052
+ (obj.prototypes) = () => ((this?.prototypes()));
6053
+ (obj.preview_show) = () => ((this?.preview_show()));
6061
6054
  return obj;
6062
6055
  }
6063
6056
  values(){
6064
6057
  return [];
6065
6058
  }
6066
6059
  sub(){
6067
- return [(this.Dump("0"))];
6060
+ return [(this?.Dump("0"))];
6068
6061
  }
6069
6062
  };
6070
6063
  ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
@@ -6115,13 +6108,13 @@ var $;
6115
6108
  return true;
6116
6109
  }
6117
6110
  label(){
6118
- return [(this.title())];
6111
+ return [(this?.title())];
6119
6112
  }
6120
6113
  Trigger(){
6121
6114
  const obj = new this.$.$mol_check_expand();
6122
- (obj.checked) = (next) => ((this.expanded(next)));
6123
- (obj.expandable) = () => ((this.expandable()));
6124
- (obj.label) = () => ((this.label()));
6115
+ (obj.checked) = (next) => ((this?.expanded(next)));
6116
+ (obj.expandable) = () => ((this?.expandable()));
6117
+ (obj.label) = () => ((this?.label()));
6125
6118
  return obj;
6126
6119
  }
6127
6120
  Tools(){
@@ -6129,7 +6122,7 @@ var $;
6129
6122
  }
6130
6123
  Label(){
6131
6124
  const obj = new this.$.$mol_view();
6132
- (obj.sub) = () => ([(this.Trigger()), (this.Tools())]);
6125
+ (obj.sub) = () => ([(this?.Trigger()), (this?.Tools())]);
6133
6126
  return obj;
6134
6127
  }
6135
6128
  content(){
@@ -6137,11 +6130,11 @@ var $;
6137
6130
  }
6138
6131
  Content(){
6139
6132
  const obj = new this.$.$mol_list();
6140
- (obj.rows) = () => ((this.content()));
6133
+ (obj.rows) = () => ((this?.content()));
6141
6134
  return obj;
6142
6135
  }
6143
6136
  rows(){
6144
- return [(this.Label()), (this.Content())];
6137
+ return [(this?.Label()), (this?.Content())];
6145
6138
  }
6146
6139
  };
6147
6140
  ($mol_mem(($.$mol_expander.prototype), "expanded"));
@@ -6191,7 +6184,7 @@ var $;
6191
6184
  }
6192
6185
  Simple(){
6193
6186
  const obj = new this.$.$mol_text_code();
6194
- (obj.text) = () => ((this.simple()));
6187
+ (obj.text) = () => ((this?.simple()));
6195
6188
  return obj;
6196
6189
  }
6197
6190
  expanded(next){
@@ -6210,17 +6203,17 @@ var $;
6210
6203
  }
6211
6204
  Expand_title(){
6212
6205
  const obj = new this.$.$mol_text_code();
6213
- (obj.text) = () => ((this.expand_title()));
6206
+ (obj.text) = () => ((this?.expand_title()));
6214
6207
  return obj;
6215
6208
  }
6216
6209
  Expand_head(){
6217
6210
  const obj = new this.$.$mol_check_expand();
6218
6211
  (obj.minimal_height) = () => (24);
6219
6212
  (obj.minimal_width) = () => (24);
6220
- (obj.expanded) = (next) => ((this.expanded(next)));
6221
- (obj.expandable) = () => ((this.expandable()));
6222
- (obj.clicks) = (next) => ((this.expand_all(next)));
6223
- (obj.label) = () => ([(this.Expand_title())]);
6213
+ (obj.expanded) = (next) => ((this?.expanded(next)));
6214
+ (obj.expandable) = () => ((this?.expandable()));
6215
+ (obj.clicks) = (next) => ((this?.expand_all(next)));
6216
+ (obj.label) = () => ([(this?.Expand_title())]);
6224
6217
  return obj;
6225
6218
  }
6226
6219
  preview_dom(){
@@ -6231,13 +6224,13 @@ var $;
6231
6224
  }
6232
6225
  Preview_dom(){
6233
6226
  const obj = new this.$.$mol_view();
6234
- (obj.dom_node) = () => ((this.preview_dom()));
6235
- (obj.render) = () => ((this.preview()));
6227
+ (obj.dom_node) = () => ((this?.preview_dom()));
6228
+ (obj.render) = () => ((this?.preview()));
6236
6229
  return obj;
6237
6230
  }
6238
6231
  Preview(){
6239
6232
  const obj = new this.$.$mol_view();
6240
- (obj.sub) = () => ([(this.Preview_dom())]);
6233
+ (obj.sub) = () => ([(this?.Preview_dom())]);
6241
6234
  return obj;
6242
6235
  }
6243
6236
  row_values(id){
@@ -6248,19 +6241,19 @@ var $;
6248
6241
  }
6249
6242
  Row(id){
6250
6243
  const obj = new this.$.$mol_dump_list();
6251
- (obj.values) = () => ((this.row_values(id)));
6252
- (obj.prototypes) = () => ((this.prototypes()));
6253
- (obj.preview_show) = () => ((this.preview_show()));
6244
+ (obj.values) = () => ((this?.row_values(id)));
6245
+ (obj.prototypes) = () => ((this?.prototypes()));
6246
+ (obj.preview_show) = () => ((this?.preview_show()));
6254
6247
  return obj;
6255
6248
  }
6256
6249
  expand_content(){
6257
- return [(this.Preview()), (this.Row("0"))];
6250
+ return [(this?.Preview()), (this?.Row("0"))];
6258
6251
  }
6259
6252
  Expand(){
6260
6253
  const obj = new this.$.$mol_expander();
6261
- (obj.expanded) = (next) => ((this.expanded(next)));
6262
- (obj.Trigger) = () => ((this.Expand_head()));
6263
- (obj.content) = () => ((this.expand_content()));
6254
+ (obj.expanded) = (next) => ((this?.expanded(next)));
6255
+ (obj.Trigger) = () => ((this?.Expand_head()));
6256
+ (obj.content) = () => ((this?.expand_content()));
6264
6257
  return obj;
6265
6258
  }
6266
6259
  value(next){
@@ -6272,7 +6265,7 @@ var $;
6272
6265
  return true;
6273
6266
  }
6274
6267
  sub(){
6275
- return [(this.Simple()), (this.Expand())];
6268
+ return [(this?.Simple()), (this?.Expand())];
6276
6269
  }
6277
6270
  };
6278
6271
  ($mol_mem(($.$mol_dump_value.prototype), "Simple"));