@servantcdh/ez-planet-labeling 0.3.2 → 0.3.3
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/dist/index.d.ts +28 -7
- package/dist/index.js +952 -939
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -826,20 +826,30 @@ export declare interface NavigationSchema {
|
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
export declare interface NumberContent {
|
|
829
|
-
mode
|
|
830
|
-
xAxis
|
|
829
|
+
mode?: 'line' | 'bar';
|
|
830
|
+
xAxis?: {
|
|
831
831
|
label: string;
|
|
832
832
|
ticks: unknown[];
|
|
833
833
|
};
|
|
834
|
-
yAxis
|
|
834
|
+
yAxis?: {
|
|
835
835
|
label: string;
|
|
836
836
|
series: unknown[];
|
|
837
837
|
};
|
|
838
838
|
source: {
|
|
839
|
-
|
|
840
|
-
|
|
839
|
+
columns: string[] | Array<{
|
|
840
|
+
key: string;
|
|
841
|
+
label: string;
|
|
842
|
+
}>;
|
|
843
|
+
rows: unknown[][] | Array<Record<string, unknown>>;
|
|
841
844
|
};
|
|
842
|
-
canRender
|
|
845
|
+
canRender?: boolean;
|
|
846
|
+
segments?: Array<{
|
|
847
|
+
id: string;
|
|
848
|
+
start: number;
|
|
849
|
+
end: number;
|
|
850
|
+
color: string;
|
|
851
|
+
opacity?: number;
|
|
852
|
+
}>;
|
|
843
853
|
}
|
|
844
854
|
|
|
845
855
|
declare interface NumberLabelingTool {
|
|
@@ -980,8 +990,19 @@ declare interface TextAutoHighlightState {
|
|
|
980
990
|
}
|
|
981
991
|
|
|
982
992
|
export declare interface TextContent {
|
|
983
|
-
value
|
|
993
|
+
/** The text string to display. Use `text` or `value`. */
|
|
994
|
+
text?: string;
|
|
995
|
+
/** @deprecated Use `text` instead */
|
|
996
|
+
value?: string;
|
|
984
997
|
elementId?: string;
|
|
998
|
+
segments?: Array<{
|
|
999
|
+
id: string;
|
|
1000
|
+
start: number;
|
|
1001
|
+
end: number;
|
|
1002
|
+
label?: string;
|
|
1003
|
+
color: string;
|
|
1004
|
+
opacity?: number;
|
|
1005
|
+
}>;
|
|
985
1006
|
}
|
|
986
1007
|
|
|
987
1008
|
declare interface TextLabelingTool {
|