@milaboratories/graph-maker 1.1.40 → 1.1.42
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/Chart.vue.d.ts +4 -2
- package/dist/GraphMaker/components/SettingsTabs/index.vue.d.ts +3 -2
- package/dist/GraphMaker/constant.d.ts +7 -2
- package/dist/GraphMaker/store.d.ts +21 -6
- package/dist/GraphMaker/types.d.ts +1 -0
- package/dist/GraphMaker/utils/{composeChartSettings.d.ts → createChartSettingsForRender/composeChartSettings.d.ts} +1 -1
- package/dist/GraphMaker/utils/{getAxesDataFromForms.d.ts → createChartSettingsForRender/getAxesDataFromForms.d.ts} +4 -2
- package/dist/GraphMaker/utils/{getLayersDataFromForms.d.ts → createChartSettingsForRender/getLayersDataFromForms.d.ts} +3 -3
- package/dist/GraphMaker/utils/index.d.ts +3 -1
- package/dist/graph-maker.js +20107 -19962
- package/dist/graph-maker.umd.cjs +955 -955
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { GraphStatus } from '../types.ts';
|
|
2
|
+
|
|
1
3
|
declare function __VLS_template(): {
|
|
2
4
|
default?(_: {}): any;
|
|
3
5
|
};
|
|
4
6
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
|
|
7
|
+
graphStatus: GraphStatus;
|
|
6
8
|
graphTitle: string;
|
|
7
9
|
dendroTooltipButton?: string;
|
|
8
10
|
chartData: Record<string, unknown> | null;
|
|
@@ -11,7 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
11
13
|
"dendro-node-select": (...args: any[]) => void;
|
|
12
14
|
"dendro-tooltip-btn-click": (...args: any[]) => void;
|
|
13
15
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
|
|
16
|
+
graphStatus: GraphStatus;
|
|
15
17
|
graphTitle: string;
|
|
16
18
|
dendroTooltipButton?: string;
|
|
17
19
|
chartData: Record<string, unknown> | null;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FormKey } from '../../forms';
|
|
2
2
|
import { ChartType } from '@milaboratories/pf-plots';
|
|
3
|
+
import { GraphStatus } from '../../types.ts';
|
|
3
4
|
|
|
4
5
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
6
|
chartType: ChartType;
|
|
6
|
-
|
|
7
|
+
graphStatus: GraphStatus;
|
|
7
8
|
allowDeleting?: boolean;
|
|
8
9
|
modelValue: FormKey | null;
|
|
9
10
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -12,7 +13,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
12
13
|
"update:modelValue": (...args: any[]) => void;
|
|
13
14
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
15
|
chartType: ChartType;
|
|
15
|
-
|
|
16
|
+
graphStatus: GraphStatus;
|
|
16
17
|
allowDeleting?: boolean;
|
|
17
18
|
modelValue: FormKey | null;
|
|
18
19
|
}>>> & Readonly<{
|
|
@@ -99,8 +99,13 @@ export type LayersSettings = {
|
|
|
99
99
|
showTable: boolean;
|
|
100
100
|
showLegend: boolean;
|
|
101
101
|
};
|
|
102
|
-
heatmap: {
|
|
102
|
+
heatmap: {
|
|
103
|
+
normalizationDirection: 'row' | 'column' | null;
|
|
104
|
+
normalizationMethod: 'standardScaling' | 'meanNormalization';
|
|
105
|
+
};
|
|
103
106
|
heatmapClustered: {
|
|
107
|
+
normalizationDirection: 'row' | 'column' | null;
|
|
108
|
+
normalizationMethod: 'standardScaling' | 'meanNormalization';
|
|
104
109
|
dendrogramX: boolean;
|
|
105
110
|
dendrogramY: boolean;
|
|
106
111
|
disableClusteringX: boolean;
|
|
@@ -196,7 +201,7 @@ export type AxesState = {
|
|
|
196
201
|
};
|
|
197
202
|
axisX: {
|
|
198
203
|
labelsPosition: LabelsPosition;
|
|
199
|
-
labelsRotation: LabelsRotation;
|
|
204
|
+
labelsRotation: LabelsRotation | null;
|
|
200
205
|
axisLabelsAngle: 0 | 45 | 90;
|
|
201
206
|
titleMode: AxisTitleMode;
|
|
202
207
|
customTitle: string;
|
|
@@ -36,8 +36,13 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
36
36
|
showTable: boolean;
|
|
37
37
|
showLegend: boolean;
|
|
38
38
|
};
|
|
39
|
-
heatmap: {
|
|
39
|
+
heatmap: {
|
|
40
|
+
normalizationDirection: "row" | "column" | null;
|
|
41
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
42
|
+
};
|
|
40
43
|
heatmapClustered: {
|
|
44
|
+
normalizationDirection: "row" | "column" | null;
|
|
45
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
41
46
|
dendrogramX: boolean;
|
|
42
47
|
dendrogramY: boolean;
|
|
43
48
|
disableClusteringX: boolean;
|
|
@@ -220,7 +225,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
220
225
|
};
|
|
221
226
|
axisX: {
|
|
222
227
|
labelsPosition: import('./types.ts').LabelsPosition;
|
|
223
|
-
labelsRotation: import('./types.ts').LabelsRotation;
|
|
228
|
+
labelsRotation: import('./types.ts').LabelsRotation | null;
|
|
224
229
|
axisLabelsAngle: 0 | 45 | 90;
|
|
225
230
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
226
231
|
customTitle: string;
|
|
@@ -330,8 +335,13 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
330
335
|
showTable: boolean;
|
|
331
336
|
showLegend: boolean;
|
|
332
337
|
};
|
|
333
|
-
heatmap: {
|
|
338
|
+
heatmap: {
|
|
339
|
+
normalizationDirection: "row" | "column" | null;
|
|
340
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
341
|
+
};
|
|
334
342
|
heatmapClustered: {
|
|
343
|
+
normalizationDirection: "row" | "column" | null;
|
|
344
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
335
345
|
dendrogramX: boolean;
|
|
336
346
|
dendrogramY: boolean;
|
|
337
347
|
disableClusteringX: boolean;
|
|
@@ -514,7 +524,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
514
524
|
};
|
|
515
525
|
axisX: {
|
|
516
526
|
labelsPosition: import('./types.ts').LabelsPosition;
|
|
517
|
-
labelsRotation: import('./types.ts').LabelsRotation;
|
|
527
|
+
labelsRotation: import('./types.ts').LabelsRotation | null;
|
|
518
528
|
axisLabelsAngle: 0 | 45 | 90;
|
|
519
529
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
520
530
|
customTitle: string;
|
|
@@ -652,8 +662,13 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
652
662
|
showTable: boolean;
|
|
653
663
|
showLegend: boolean;
|
|
654
664
|
};
|
|
655
|
-
heatmap: {
|
|
665
|
+
heatmap: {
|
|
666
|
+
normalizationDirection: "row" | "column" | null;
|
|
667
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
668
|
+
};
|
|
656
669
|
heatmapClustered: {
|
|
670
|
+
normalizationDirection: "row" | "column" | null;
|
|
671
|
+
normalizationMethod: "standardScaling" | "meanNormalization";
|
|
657
672
|
dendrogramX: boolean;
|
|
658
673
|
dendrogramY: boolean;
|
|
659
674
|
disableClusteringX: boolean;
|
|
@@ -836,7 +851,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
836
851
|
};
|
|
837
852
|
axisX: {
|
|
838
853
|
labelsPosition: import('./types.ts').LabelsPosition;
|
|
839
|
-
labelsRotation: import('./types.ts').LabelsRotation;
|
|
854
|
+
labelsRotation: import('./types.ts').LabelsRotation | null;
|
|
840
855
|
axisLabelsAngle: 0 | 45 | 90;
|
|
841
856
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
842
857
|
customTitle: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DemoDataStore, InputGuide, InputState } from '@milaboratories/pf-plots';
|
|
2
|
-
import { GraphMakerProps, ReactiveState, UniqueValuesData } from '
|
|
2
|
+
import { GraphMakerProps, ReactiveState, UniqueValuesData } from '../../types.ts';
|
|
3
3
|
|
|
4
4
|
export declare function composeChartSettings(inputGuide: InputGuide<InputState>, labelsInfo: Record<string, UniqueValuesData>, reactiveState: ReactiveState, dataStore: DemoDataStore | null, fixedOptions?: GraphMakerProps['fixedOptions']): Promise<{
|
|
5
5
|
settings: Record<string, unknown>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AxesState } from '
|
|
1
|
+
import { AxesState } from '../../constant.ts';
|
|
2
2
|
import { ChartType } from '@milaboratories/pf-plots';
|
|
3
|
+
import { LabelsRotation, UniqueValuesData } from '../../types.ts';
|
|
3
4
|
|
|
4
5
|
type AxesSettings = {
|
|
5
6
|
xAxis: Record<string, string | boolean | number | undefined>;
|
|
@@ -15,5 +16,6 @@ type AxesSettings = {
|
|
|
15
16
|
sharedY?: boolean;
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
|
-
export declare function
|
|
19
|
+
export declare function getDiscreteLabelsRotation(value: LabelsRotation | null, discreteGroups?: UniqueValuesData['options']): LabelsRotation;
|
|
20
|
+
export declare function getAxesDataFromForms(axesFormsData: AxesState, chartType: ChartType, discreteGroups?: UniqueValuesData['options']): AxesSettings;
|
|
19
21
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultLayersSettings, NumberRange, LayersSettings, MappingLink, DiscreteStatisticsState, ColumnNameSchema, StatisticsState } from '
|
|
2
|
-
import { Layer, LayersTemplate } from '
|
|
1
|
+
import { getDefaultLayersSettings, NumberRange, LayersSettings, MappingLink, DiscreteStatisticsState, ColumnNameSchema, StatisticsState } from '../../constant.ts';
|
|
2
|
+
import { Layer, LayersTemplate } from '../../types.ts';
|
|
3
3
|
import { ChartType, InputState, PlotDataAndSettings, ScatterplotUIState } from '@milaboratories/pf-plots';
|
|
4
|
-
import { DotShape, LineType } from '
|
|
4
|
+
import { DotShape, LineType } from '../../components/AesSettings/types.ts';
|
|
5
5
|
import { ScatterplotSettings } from '@milaboratories/miplots4';
|
|
6
6
|
|
|
7
7
|
export declare function getStatLayers(statisticsSettings: DiscreteStatisticsState): ChartLayerSettings[];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export * from './getLayersDataFromForms.ts';
|
|
1
|
+
export * from './createChartSettingsForRender/getLayersDataFromForms.ts';
|
|
2
|
+
export * from './createChartSettingsForRender/getAxesDataFromForms.ts';
|
|
3
|
+
export * from './createChartSettingsForRender/composeChartSettings.ts';
|
|
2
4
|
export * from './calculateDiscreteGroups.ts';
|
|
3
5
|
export * from './getStatisticsOptions.ts';
|
|
4
6
|
export * from './saveToFile.ts';
|