mol_plot_all 1.2.573 → 1.2.575

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_plot_all",
3
- "version": "1.2.573",
3
+ "version": "1.2.575",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.d.ts CHANGED
@@ -630,7 +630,7 @@ declare namespace $ {
630
630
  dom_name_space(): string;
631
631
  font_size(): number;
632
632
  font_family(): string;
633
- style_size(): {};
633
+ style_size(): Record<string, any>;
634
634
  }
635
635
  }
636
636
 
@@ -653,7 +653,7 @@ declare namespace $ {
653
653
 
654
654
  declare namespace $.$$ {
655
655
  class $mol_svg extends $.$mol_svg {
656
- computed_style(): CSSStyleDeclaration;
656
+ computed_style(): Record<string, any>;
657
657
  font_size(): number;
658
658
  font_family(): any;
659
659
  }
@@ -662,10 +662,7 @@ declare namespace $.$$ {
662
662
  declare namespace $ {
663
663
  class $mol_svg_root extends $mol_svg {
664
664
  dom_name(): string;
665
- attr(): {
666
- viewBox: string;
667
- preserveAspectRatio: string;
668
- };
665
+ attr(): Record<string, any>;
669
666
  view_box(): string;
670
667
  aspect(): string;
671
668
  }
@@ -763,12 +760,8 @@ declare namespace $ {
763
760
  class $mol_plot_graph extends $mol_svg_group {
764
761
  series_x(): readonly number[];
765
762
  series_y(): readonly number[];
766
- attr(): {
767
- mol_plot_graph_type: string;
768
- };
769
- style(): {
770
- color: string;
771
- };
763
+ attr(): Record<string, any>;
764
+ style(): Record<string, any>;
772
765
  viewport(): $mol_vector_2d<$mol_vector_range<number>>;
773
766
  shift(): readonly number[];
774
767
  scale(): readonly number[];
@@ -800,12 +793,8 @@ declare namespace $ {
800
793
  hint(): string;
801
794
  }
802
795
  class $mol_plot_graph_sample extends $mol_view {
803
- attr(): {
804
- mol_plot_graph_type: string;
805
- };
806
- style(): {
807
- color: string;
808
- };
796
+ attr(): Record<string, any>;
797
+ style(): Record<string, any>;
809
798
  type(): string;
810
799
  color(): string;
811
800
  }
@@ -858,17 +847,8 @@ declare namespace $ {
858
847
  draw_start(event?: any): any;
859
848
  draw(event?: any): any;
860
849
  draw_end(event?: any): any;
861
- style(): {
862
- "touch-action": string;
863
- "overscroll-behavior": string;
864
- };
865
- event(): {
866
- pointerdown: (event?: any) => any;
867
- pointermove: (event?: any) => any;
868
- pointerup: (event?: any) => any;
869
- pointerleave: (event?: any) => any;
870
- wheel: (event?: any) => any;
871
- };
850
+ style(): Record<string, any>;
851
+ event(): Record<string, any>;
872
852
  event_start(event?: any): any;
873
853
  event_move(event?: any): any;
874
854
  event_end(event?: any): any;
@@ -992,10 +972,7 @@ declare namespace $ {
992
972
  spacing(): number;
993
973
  color_fill(): string;
994
974
  dom_name(): string;
995
- attr(): {
996
- d: string;
997
- mol_plot_graph_type: string;
998
- };
975
+ attr(): Record<string, any>;
999
976
  sub(): readonly any[];
1000
977
  Sample(): $mol_plot_graph_sample;
1001
978
  curve(): string;
@@ -1036,9 +1013,7 @@ declare namespace $.$$ {
1036
1013
  declare namespace $ {
1037
1014
  class $mol_svg_path extends $mol_svg {
1038
1015
  dom_name(): string;
1039
- attr(): {
1040
- d: string;
1041
- };
1016
+ attr(): Record<string, any>;
1042
1017
  geometry(): string;
1043
1018
  }
1044
1019
  }
@@ -1047,10 +1022,7 @@ declare namespace $ {
1047
1022
  class $mol_plot_dot extends $mol_plot_graph {
1048
1023
  points_max(): number;
1049
1024
  aspect(): number;
1050
- style(): {
1051
- "stroke-width": number;
1052
- color: string;
1053
- };
1025
+ style(): Record<string, any>;
1054
1026
  sub(): readonly any[];
1055
1027
  Sample(): $mol_plot_graph_sample;
1056
1028
  diameter(): number;
@@ -1090,11 +1062,7 @@ declare namespace $ {
1090
1062
  level_aspect(): number;
1091
1063
  }
1092
1064
  class $mol_plot_map_heat_level extends $mol_plot_dot {
1093
- style(): {
1094
- opacity: string;
1095
- "stroke-width": number;
1096
- color: string;
1097
- };
1065
+ style(): Record<string, any>;
1098
1066
  opacity(): string;
1099
1067
  }
1100
1068
  }
@@ -1116,10 +1084,7 @@ declare namespace $ {
1116
1084
 
1117
1085
  declare namespace $ {
1118
1086
  class $mol_plot_bar extends $mol_plot_graph {
1119
- style(): {
1120
- "stroke-width": string;
1121
- color: string;
1122
- };
1087
+ style(): Record<string, any>;
1123
1088
  sub(): readonly any[];
1124
1089
  Sample(): $mol_plot_graph_sample;
1125
1090
  stroke_width(): string;
@@ -1162,11 +1127,7 @@ declare namespace $ {
1162
1127
  class $mol_svg_text extends $mol_svg {
1163
1128
  dom_name(): string;
1164
1129
  pos(): readonly any[];
1165
- attr(): {
1166
- x: string;
1167
- y: string;
1168
- "text-anchor": string;
1169
- };
1130
+ attr(): Record<string, any>;
1170
1131
  sub(): readonly any[];
1171
1132
  pos_x(): string;
1172
1133
  pos_y(): string;
@@ -1189,12 +1150,7 @@ declare namespace $ {
1189
1150
  class $mol_svg_rect extends $mol_svg {
1190
1151
  dom_name(): string;
1191
1152
  pos(): readonly any[];
1192
- attr(): {
1193
- width: string;
1194
- height: string;
1195
- x: string;
1196
- y: string;
1197
- };
1153
+ attr(): Record<string, any>;
1198
1154
  width(): string;
1199
1155
  height(): string;
1200
1156
  pos_x(): string;