mol_dump_lib 0.0.770 → 0.0.772

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
@@ -5808,6 +5808,9 @@ var $;
5808
5808
  row_numb(id){
5809
5809
  return 0;
5810
5810
  }
5811
+ row_theme(id){
5812
+ return "";
5813
+ }
5811
5814
  row_text(id){
5812
5815
  return "";
5813
5816
  }
@@ -5824,6 +5827,7 @@ var $;
5824
5827
  const obj = new this.$.$mol_text_code_line();
5825
5828
  (obj.numb_showed) = () => ((this.sidebar_showed()));
5826
5829
  (obj.numb) = () => ((this.row_numb(id)));
5830
+ (obj.theme) = () => ((this.row_theme(id)));
5827
5831
  (obj.text) = () => ((this.row_text(id)));
5828
5832
  (obj.syntax) = () => ((this.syntax()));
5829
5833
  (obj.uri_resolve) = (id) => ((this.uri_resolve(id)));
@@ -5863,6 +5867,9 @@ var $;
5863
5867
  uri_base(){
5864
5868
  return "";
5865
5869
  }
5870
+ row_themes(){
5871
+ return [];
5872
+ }
5866
5873
  sub(){
5867
5874
  return [(this.Rows()), (this.Copy())];
5868
5875
  }
@@ -5935,6 +5942,9 @@ var $;
5935
5942
  text_export() {
5936
5943
  return this.text() + '\n';
5937
5944
  }
5945
+ row_theme(row) {
5946
+ return this.row_themes()[row - 1];
5947
+ }
5938
5948
  }
5939
5949
  __decorate([
5940
5950
  $mol_mem
package/web.view.tree CHANGED
@@ -155,6 +155,7 @@ $mol_text_code $mol_stack
155
155
  text_lines /string
156
156
  find_pos* null
157
157
  uri_base \
158
+ row_themes /string
158
159
  sub /
159
160
  <= Rows $mol_list
160
161
  render_visible_only <= render_visible_only false
@@ -162,6 +163,7 @@ $mol_text_code $mol_stack
162
163
  <= Row*0 $mol_text_code_line
163
164
  numb_showed <= sidebar_showed
164
165
  numb <= row_numb* 0
166
+ theme <= row_theme* \
165
167
  text <= row_text* \
166
168
  syntax <= syntax null
167
169
  uri_resolve* <= uri_resolve* \