mol_dump_lib 0.0.9 → 0.0.11

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
@@ -2833,6 +2833,9 @@ var $;
2833
2833
  }
2834
2834
  return names;
2835
2835
  }
2836
+ theme(next = null) {
2837
+ return next;
2838
+ }
2836
2839
  attr_static() {
2837
2840
  let attrs = {};
2838
2841
  for (let name of this.view_names())
@@ -2840,7 +2843,9 @@ var $;
2840
2843
  return attrs;
2841
2844
  }
2842
2845
  attr() {
2843
- return {};
2846
+ return {
2847
+ mol_theme: this.theme(),
2848
+ };
2844
2849
  }
2845
2850
  style_size() {
2846
2851
  return {
@@ -2956,6 +2961,9 @@ var $;
2956
2961
  __decorate([
2957
2962
  $mol_memo.method
2958
2963
  ], $mol_view.prototype, "view_names", null);
2964
+ __decorate([
2965
+ $mol_mem
2966
+ ], $mol_view.prototype, "theme", null);
2959
2967
  __decorate([
2960
2968
  $mol_mem_key
2961
2969
  ], $mol_view, "Root", null);
package/node.test.js CHANGED
@@ -2825,6 +2825,9 @@ var $;
2825
2825
  }
2826
2826
  return names;
2827
2827
  }
2828
+ theme(next = null) {
2829
+ return next;
2830
+ }
2828
2831
  attr_static() {
2829
2832
  let attrs = {};
2830
2833
  for (let name of this.view_names())
@@ -2832,7 +2835,9 @@ var $;
2832
2835
  return attrs;
2833
2836
  }
2834
2837
  attr() {
2835
- return {};
2838
+ return {
2839
+ mol_theme: this.theme(),
2840
+ };
2836
2841
  }
2837
2842
  style_size() {
2838
2843
  return {
@@ -2948,6 +2953,9 @@ var $;
2948
2953
  __decorate([
2949
2954
  $mol_memo.method
2950
2955
  ], $mol_view.prototype, "view_names", null);
2956
+ __decorate([
2957
+ $mol_mem
2958
+ ], $mol_view.prototype, "theme", null);
2951
2959
  __decorate([
2952
2960
  $mol_mem_key
2953
2961
  ], $mol_view, "Root", null);