@milaboratories/graph-maker 1.1.42 → 1.1.44
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/GraphMaker/components/DendroTooltip.vue.d.ts +4 -10
- package/dist/GraphMaker/forms/DataMappingForm/ScatterplotUmapForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot-umap/Scatter.vue.d.ts +2 -0
- package/dist/GraphMaker/store.d.ts +3 -3
- package/dist/GraphMaker/types.d.ts +6 -5
- package/dist/graph-maker.js +19458 -19180
- package/dist/graph-maker.umd.cjs +961 -961
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,20 +1,14 @@
|
|
|
1
|
+
import { DendroNodeInfo } from '../types.ts';
|
|
2
|
+
|
|
1
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
info:
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
info: Record<string, string | number>;
|
|
6
|
-
};
|
|
4
|
+
info: DendroNodeInfo;
|
|
7
5
|
tooltipBtn?: string;
|
|
8
6
|
containerRef: Element;
|
|
9
7
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
8
|
close: (...args: any[]) => void;
|
|
11
9
|
"tooltip-btn-click": (...args: any[]) => void;
|
|
12
10
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
info:
|
|
14
|
-
x: number;
|
|
15
|
-
y: number;
|
|
16
|
-
info: Record<string, string | number>;
|
|
17
|
-
};
|
|
11
|
+
info: DendroNodeInfo;
|
|
18
12
|
tooltipBtn?: string;
|
|
19
13
|
containerRef: Element;
|
|
20
14
|
}>>> & Readonly<{
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -297,7 +297,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
297
297
|
dendroInfoByClick: {
|
|
298
298
|
x: number;
|
|
299
299
|
y: number;
|
|
300
|
-
info: Record<string, string | number
|
|
300
|
+
info: Record<string, string | number>[];
|
|
301
301
|
} | null;
|
|
302
302
|
dendroSelectedNodeId: null | number;
|
|
303
303
|
};
|
|
@@ -596,7 +596,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
596
596
|
dendroInfoByClick: {
|
|
597
597
|
x: number;
|
|
598
598
|
y: number;
|
|
599
|
-
info: Record<string, string | number
|
|
599
|
+
info: Record<string, string | number>[];
|
|
600
600
|
} | null;
|
|
601
601
|
dendroSelectedNodeId: null | number;
|
|
602
602
|
};
|
|
@@ -923,7 +923,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
923
923
|
dendroInfoByClick: {
|
|
924
924
|
x: number;
|
|
925
925
|
y: number;
|
|
926
|
-
info: Record<string, string | number
|
|
926
|
+
info: Record<string, string | number>[];
|
|
927
927
|
} | null;
|
|
928
928
|
dendroSelectedNodeId: null | number;
|
|
929
929
|
};
|
|
@@ -36,6 +36,11 @@ export interface GraphMakerPropsTyped<T extends ChartType> {
|
|
|
36
36
|
}
|
|
37
37
|
export type GraphMakerProps = GraphMakerPropsTyped<'discrete'> | GraphMakerPropsTyped<'scatterplot'> | GraphMakerPropsTyped<'scatterplot-umap'> | GraphMakerPropsTyped<'heatmap'> | GraphMakerPropsTyped<'dendro'>;
|
|
38
38
|
export type GraphMakerInputName<T extends ChartType> = InputNamesByChartType[T];
|
|
39
|
+
export type DendroNodeInfo = {
|
|
40
|
+
x: number;
|
|
41
|
+
y: number;
|
|
42
|
+
info: Record<string, string | number>[];
|
|
43
|
+
};
|
|
39
44
|
export type ReactiveState = {
|
|
40
45
|
chartType: ChartType;
|
|
41
46
|
template: LayersTemplate;
|
|
@@ -45,11 +50,7 @@ export type ReactiveState = {
|
|
|
45
50
|
statisticsSettings: StatisticsState;
|
|
46
51
|
dataBindAes: AestheticMappingState;
|
|
47
52
|
chartScale: number;
|
|
48
|
-
dendroInfoByClick: null |
|
|
49
|
-
x: number;
|
|
50
|
-
y: number;
|
|
51
|
-
info: Record<string, string | number>;
|
|
52
|
-
};
|
|
53
|
+
dendroInfoByClick: null | DendroNodeInfo;
|
|
53
54
|
dendroSelectedNodeId: null | number;
|
|
54
55
|
};
|
|
55
56
|
export type DiscreteLayer = 'box' | 'binnedDots' | 'jitteredDots' | 'violin' | 'bar' | 'stackedBar' | 'line' | 'errorbar' | 'sina';
|