@milaboratories/graph-maker 1.1.22 → 1.1.23

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.
@@ -4,6 +4,11 @@ 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
+ export declare const THRESHOLDS_KEY = "pl7.app/graph/thresholds";
8
+ export declare const LOWER_LIMIT_KEY = "pl7.app/graph/axis/lowerLimit";
9
+ export declare const UPPER_LIMIT_KEY = "pl7.app/graph/axis/upperLimit";
10
+ export declare const SYMMETRIC_RANGE_KEY = "pl7.app/graph/axis/symmetricRange";
11
+ export declare const PALETTE_KEY = "pl7.app/graph/palette";
7
12
  export declare function getInitialTemplate(restoredTemplate: LayersTemplate | null, chartType: ChartType): LayersTemplate;
8
13
  export declare const DISCRETE_TEMPLATES_MAP: Record<DiscreteLayersTemplate, DiscreteLayer[]>;
9
14
  export declare const SCATTERPLOT_TEMPLATES_MAP: Record<ScatterplotLayersTemplate, ScatterplotLayer[]>;
@@ -181,6 +186,7 @@ export type AxesState = {
181
186
  linesBetweenCategories: boolean;
182
187
  ticks: boolean;
183
188
  scale: Scale;
189
+ significantLinesStyle: LineType;
184
190
  };
185
191
  axisY: {
186
192
  titleMode: AxisTitleMode;
@@ -189,6 +195,7 @@ export type AxesState = {
189
195
  gridlines: boolean;
190
196
  ticks: boolean;
191
197
  scale: Scale;
198
+ significantLinesStyle: LineType;
192
199
  };
193
200
  legend: {};
194
201
  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;
@@ -224,6 +224,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
224
224
  linesBetweenCategories: boolean;
225
225
  ticks: boolean;
226
226
  scale: import('./types.ts').Scale;
227
+ significantLinesStyle: import('./components/AesSettings/types').LineType;
227
228
  };
228
229
  axisY: {
229
230
  titleMode: import('./types.ts').AxisTitleMode;
@@ -232,6 +233,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
232
233
  gridlines: boolean;
233
234
  ticks: boolean;
234
235
  scale: import('./types.ts').Scale;
236
+ significantLinesStyle: import('./components/AesSettings/types').LineType;
235
237
  };
236
238
  legend: {};
237
239
  other: {
@@ -506,6 +508,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
506
508
  linesBetweenCategories: boolean;
507
509
  ticks: boolean;
508
510
  scale: import('./types.ts').Scale;
511
+ significantLinesStyle: import('./components/AesSettings/types').LineType;
509
512
  };
510
513
  axisY: {
511
514
  titleMode: import('./types.ts').AxisTitleMode;
@@ -514,6 +517,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
514
517
  gridlines: boolean;
515
518
  ticks: boolean;
516
519
  scale: import('./types.ts').Scale;
520
+ significantLinesStyle: import('./components/AesSettings/types').LineType;
517
521
  };
518
522
  legend: {};
519
523
  other: {
@@ -815,6 +819,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
815
819
  linesBetweenCategories: boolean;
816
820
  ticks: boolean;
817
821
  scale: import('./types.ts').Scale;
822
+ significantLinesStyle: import('./components/AesSettings/types').LineType;
818
823
  };
819
824
  axisY: {
820
825
  titleMode: import('./types.ts').AxisTitleMode;
@@ -823,6 +828,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
823
828
  gridlines: boolean;
824
829
  ticks: boolean;
825
830
  scale: import('./types.ts').Scale;
831
+ significantLinesStyle: import('./components/AesSettings/types').LineType;
826
832
  };
827
833
  legend: {};
828
834
  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;