@milaboratories/graph-maker 1.1.22 → 1.1.24
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/DragAndDrop/types.d.ts +1 -0
- package/dist/GraphMaker/constant.d.ts +9 -0
- package/dist/GraphMaker/forms/LayersForm/AesSelector.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/AlignCenter.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/AlignLeft.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/AlignRight.vue.d.ts +2 -0
- package/dist/GraphMaker/store.d.ts +9 -0
- package/dist/GraphMaker/utils/getLayersDataFromForms.d.ts +4 -2
- package/dist/GraphMaker/utils/getPopupHeightForFixedAesList.d.ts +1 -0
- package/dist/graph-maker.js +22107 -21758
- package/dist/graph-maker.umd.cjs +966 -966
- package/package.json +3 -3
|
@@ -4,6 +4,12 @@ import { Component } from 'vue';
|
|
|
4
4
|
import { DotShape, LineType } from './components/AesSettings/types.ts';
|
|
5
5
|
|
|
6
6
|
export declare const DEFAULT_CHART_TYPE: ChartType;
|
|
7
|
+
/** Annotations keys */
|
|
8
|
+
export declare const THRESHOLDS_KEY = "pl7.app/graph/thresholds";
|
|
9
|
+
export declare const LOWER_LIMIT_KEY = "pl7.app/graph/axis/lowerLimit";
|
|
10
|
+
export declare const UPPER_LIMIT_KEY = "pl7.app/graph/axis/upperLimit";
|
|
11
|
+
export declare const SYMMETRIC_RANGE_KEY = "pl7.app/graph/axis/symmetricRange";
|
|
12
|
+
export declare const PALETTE_KEY = "pl7.app/graph/palette";
|
|
7
13
|
export declare function getInitialTemplate(restoredTemplate: LayersTemplate | null, chartType: ChartType): LayersTemplate;
|
|
8
14
|
export declare const DISCRETE_TEMPLATES_MAP: Record<DiscreteLayersTemplate, DiscreteLayer[]>;
|
|
9
15
|
export declare const SCATTERPLOT_TEMPLATES_MAP: Record<ScatterplotLayersTemplate, ScatterplotLayer[]>;
|
|
@@ -169,6 +175,7 @@ export type AxesState = {
|
|
|
169
175
|
title: {
|
|
170
176
|
value: string;
|
|
171
177
|
position: TitlePosition;
|
|
178
|
+
mode: AxisTitleMode;
|
|
172
179
|
facetTitleFrame: Frame;
|
|
173
180
|
};
|
|
174
181
|
axisX: {
|
|
@@ -181,6 +188,7 @@ export type AxesState = {
|
|
|
181
188
|
linesBetweenCategories: boolean;
|
|
182
189
|
ticks: boolean;
|
|
183
190
|
scale: Scale;
|
|
191
|
+
significantLinesStyle: LineType;
|
|
184
192
|
};
|
|
185
193
|
axisY: {
|
|
186
194
|
titleMode: AxisTitleMode;
|
|
@@ -189,6 +197,7 @@ export type AxesState = {
|
|
|
189
197
|
gridlines: boolean;
|
|
190
198
|
ticks: boolean;
|
|
191
199
|
scale: Scale;
|
|
200
|
+
significantLinesStyle: LineType;
|
|
192
201
|
};
|
|
193
202
|
legend: {};
|
|
194
203
|
other: {
|
|
@@ -8,6 +8,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
8
8
|
formBackTitle: string;
|
|
9
9
|
possibleAesSourceInputs?: string[];
|
|
10
10
|
withoutFixed?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
11
12
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
13
|
"aes-update": (...args: any[]) => void;
|
|
13
14
|
"aes-selector-close": (...args: any[]) => void;
|
|
@@ -19,6 +20,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
19
20
|
formBackTitle: string;
|
|
20
21
|
possibleAesSourceInputs?: string[];
|
|
21
22
|
withoutFixed?: boolean;
|
|
23
|
+
disabled?: boolean;
|
|
22
24
|
}>>> & Readonly<{
|
|
23
25
|
"onAes-update"?: ((...args: any[]) => any) | undefined;
|
|
24
26
|
"onAes-selector-close"?: ((...args: any[]) => any) | undefined;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -212,6 +212,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
212
212
|
title: {
|
|
213
213
|
value: string;
|
|
214
214
|
position: import('./types.ts').TitlePosition;
|
|
215
|
+
mode: import('./types.ts').AxisTitleMode;
|
|
215
216
|
facetTitleFrame: import('./types.ts').Frame;
|
|
216
217
|
};
|
|
217
218
|
axisX: {
|
|
@@ -224,6 +225,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
224
225
|
linesBetweenCategories: boolean;
|
|
225
226
|
ticks: boolean;
|
|
226
227
|
scale: import('./types.ts').Scale;
|
|
228
|
+
significantLinesStyle: import('./components/AesSettings/types').LineType;
|
|
227
229
|
};
|
|
228
230
|
axisY: {
|
|
229
231
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
@@ -232,6 +234,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
|
|
|
232
234
|
gridlines: boolean;
|
|
233
235
|
ticks: boolean;
|
|
234
236
|
scale: import('./types.ts').Scale;
|
|
237
|
+
significantLinesStyle: import('./components/AesSettings/types').LineType;
|
|
235
238
|
};
|
|
236
239
|
legend: {};
|
|
237
240
|
other: {
|
|
@@ -494,6 +497,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
494
497
|
title: {
|
|
495
498
|
value: string;
|
|
496
499
|
position: import('./types.ts').TitlePosition;
|
|
500
|
+
mode: import('./types.ts').AxisTitleMode;
|
|
497
501
|
facetTitleFrame: import('./types.ts').Frame;
|
|
498
502
|
};
|
|
499
503
|
axisX: {
|
|
@@ -506,6 +510,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
506
510
|
linesBetweenCategories: boolean;
|
|
507
511
|
ticks: boolean;
|
|
508
512
|
scale: import('./types.ts').Scale;
|
|
513
|
+
significantLinesStyle: import('./components/AesSettings/types').LineType;
|
|
509
514
|
};
|
|
510
515
|
axisY: {
|
|
511
516
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
@@ -514,6 +519,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
|
|
|
514
519
|
gridlines: boolean;
|
|
515
520
|
ticks: boolean;
|
|
516
521
|
scale: import('./types.ts').Scale;
|
|
522
|
+
significantLinesStyle: import('./components/AesSettings/types').LineType;
|
|
517
523
|
};
|
|
518
524
|
legend: {};
|
|
519
525
|
other: {
|
|
@@ -803,6 +809,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
803
809
|
title: {
|
|
804
810
|
value: string;
|
|
805
811
|
position: import('./types.ts').TitlePosition;
|
|
812
|
+
mode: import('./types.ts').AxisTitleMode;
|
|
806
813
|
facetTitleFrame: import('./types.ts').Frame;
|
|
807
814
|
};
|
|
808
815
|
axisX: {
|
|
@@ -815,6 +822,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
815
822
|
linesBetweenCategories: boolean;
|
|
816
823
|
ticks: boolean;
|
|
817
824
|
scale: import('./types.ts').Scale;
|
|
825
|
+
significantLinesStyle: import('./components/AesSettings/types').LineType;
|
|
818
826
|
};
|
|
819
827
|
axisY: {
|
|
820
828
|
titleMode: import('./types.ts').AxisTitleMode;
|
|
@@ -823,6 +831,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
|
|
|
823
831
|
gridlines: boolean;
|
|
824
832
|
ticks: boolean;
|
|
825
833
|
scale: import('./types.ts').Scale;
|
|
834
|
+
significantLinesStyle: import('./components/AesSettings/types').LineType;
|
|
826
835
|
};
|
|
827
836
|
legend: {};
|
|
828
837
|
other: {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { Range, LayersSettings, MappingLink, StatisticsState } from '../constant.ts';
|
|
2
|
-
import { LayersTemplate } from '../types.ts';
|
|
1
|
+
import { getDefaultLayersSettings, Range, LayersSettings, MappingLink, StatisticsState, ColumnNameSchema } from '../constant.ts';
|
|
2
|
+
import { Layer, LayersTemplate } from '../types.ts';
|
|
3
3
|
import { ChartType, InputState, PlotDataAndSettings } from '@milaboratories/pf-plots';
|
|
4
4
|
import { DotShape, LineType } from '../components/AesSettings/types.ts';
|
|
5
|
+
import { ScatterplotSettings } from '@milaboratories/miplots4';
|
|
5
6
|
|
|
6
7
|
export declare function getStatLayers(statisticsSettings: StatisticsState): ChartLayerSettings[];
|
|
8
|
+
export declare function getScatterplotLayersSettings(layers: Layer[], layerSettings: ReturnType<typeof getDefaultLayersSettings>, dataByColumns: PlotDataAndSettings['dataByColumns'], grouping: ColumnNameSchema[]): ScatterplotSettings['layers'];
|
|
7
9
|
export type ChartLayerSettings = {
|
|
8
10
|
[key: string]: string | boolean | null | Record<string, string | DotShape | Range | {
|
|
9
11
|
domain: number[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getPopupHeightForFixedAesList(listLength: number, aesType: 'lineType' | 'dotShape' | 'color'): number | undefined;
|