@milaboratories/graph-maker 1.1.40 → 1.1.41
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 +1 -1
- package/dist/GraphMaker/store.d.ts +3 -3
- 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 +10392 -10358
- package/dist/graph-maker.umd.cjs +929 -929
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -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<{
|
|
@@ -220,7 +220,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
220
220
|
};
|
|
221
221
|
axisX: {
|
|
222
222
|
labelsPosition: import('./types.ts').LabelsPosition;
|
|
223
|
-
labelsRotation: import('./types.ts').LabelsRotation;
|
|
223
|
+
labelsRotation: import('./types.ts').LabelsRotation | null;
|
|
224
224
|
axisLabelsAngle: 0 | 45 | 90;
|
|
225
225
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
226
226
|
customTitle: string;
|
|
@@ -514,7 +514,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
514
514
|
};
|
|
515
515
|
axisX: {
|
|
516
516
|
labelsPosition: import('./types.ts').LabelsPosition;
|
|
517
|
-
labelsRotation: import('./types.ts').LabelsRotation;
|
|
517
|
+
labelsRotation: import('./types.ts').LabelsRotation | null;
|
|
518
518
|
axisLabelsAngle: 0 | 45 | 90;
|
|
519
519
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
520
520
|
customTitle: string;
|
|
@@ -836,7 +836,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
836
836
|
};
|
|
837
837
|
axisX: {
|
|
838
838
|
labelsPosition: import('./types.ts').LabelsPosition;
|
|
839
|
-
labelsRotation: import('./types.ts').LabelsRotation;
|
|
839
|
+
labelsRotation: import('./types.ts').LabelsRotation | null;
|
|
840
840
|
axisLabelsAngle: 0 | 45 | 90;
|
|
841
841
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
842
842
|
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';
|