@milaboratories/graph-maker 1.1.111 → 1.1.112
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/dataBindAes.d.ts +1 -0
- package/dist/GraphMaker/forms/LayersForm/DotSizeSelector.vue.d.ts +24 -3
- package/dist/GraphMaker/index.vue.d.ts +2 -2
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts +9 -2
- package/dist/GraphMaker/utils/createChartSettingsForRender/getLayersDataFromForms.d.ts +1 -1
- package/dist/graph-maker.js +17807 -17760
- package/dist/graph-maker.umd.cjs +941 -941
- package/package.json +3 -3
|
@@ -43,6 +43,7 @@ export declare const DEFAULT_LINE_SHAPE = "solid";
|
|
|
43
43
|
export declare const DEFAULT_LINE_WIDTH = 1;
|
|
44
44
|
export declare const DEFAULT_DOT_SHAPE = "21";
|
|
45
45
|
export declare const DEFAULT_DOT_SIZE = 3;
|
|
46
|
+
export declare const DEFAULT_DOT_SIZE_CANVAS = 2;
|
|
46
47
|
export declare const DEFAULT_DOT_RANGE: NumberRange;
|
|
47
48
|
export declare function updateAestheticMapping(values: (string | number)[], currentMapping?: AestheticMappingCategorical): AestheticMappingCategorical;
|
|
48
49
|
export declare function createCategoricalMappingFromPalette(palette: Palette, values: (string | number)[]): AestheticMappingCategorical;
|
|
@@ -1,18 +1,31 @@
|
|
|
1
1
|
import { ContinuousDataMappingSize } from '../../constantsCommon.ts';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
selected?: number | ContinuousDataMappingSize;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
5
7
|
possibleAesSourceInputs?: string[];
|
|
8
|
+
}>, {
|
|
9
|
+
min: number;
|
|
10
|
+
max: number;
|
|
6
11
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
12
|
"aes-update": (...args: any[]) => void;
|
|
8
13
|
"aes-selector-close": (...args: any[]) => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
15
|
selected?: number | ContinuousDataMappingSize;
|
|
16
|
+
min?: number;
|
|
17
|
+
max?: number;
|
|
11
18
|
possibleAesSourceInputs?: string[];
|
|
19
|
+
}>, {
|
|
20
|
+
min: number;
|
|
21
|
+
max: number;
|
|
12
22
|
}>>> & Readonly<{
|
|
13
23
|
"onAes-update"?: ((...args: any[]) => any) | undefined;
|
|
14
24
|
"onAes-selector-close"?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
}>, {
|
|
25
|
+
}>, {
|
|
26
|
+
min: number;
|
|
27
|
+
max: number;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
29
|
export default _default;
|
|
17
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
31
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -23,3 +36,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
23
36
|
required: true;
|
|
24
37
|
};
|
|
25
38
|
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
@@ -128,7 +128,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
128
128
|
type: import('vue').PropType<(spec: import('@milaboratories/pf-plots').PColumnSpec) => boolean>;
|
|
129
129
|
};
|
|
130
130
|
readonlyInputs: {
|
|
131
|
-
type: import('vue').PropType<("label" | "x" | "y" | "grouping" | "filters" | "tabBy" | "facetBy" | "highlight" | "tooltipContent")[]>;
|
|
131
|
+
type: import('vue').PropType<("label" | "size" | "x" | "y" | "grouping" | "filters" | "tabBy" | "facetBy" | "highlight" | "tooltipContent")[]>;
|
|
132
132
|
};
|
|
133
133
|
} | {
|
|
134
134
|
modelValue: {
|
|
@@ -429,7 +429,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
429
429
|
type: import('vue').PropType<(spec: import('@milaboratories/pf-plots').PColumnSpec) => boolean>;
|
|
430
430
|
};
|
|
431
431
|
readonlyInputs: {
|
|
432
|
-
type: import('vue').PropType<("label" | "x" | "y" | "grouping" | "filters" | "tabBy" | "facetBy" | "highlight" | "tooltipContent")[]>;
|
|
432
|
+
type: import('vue').PropType<("label" | "size" | "x" | "y" | "grouping" | "filters" | "tabBy" | "facetBy" | "highlight" | "tooltipContent")[]>;
|
|
433
433
|
};
|
|
434
434
|
} | {
|
|
435
435
|
modelValue: {
|
package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts
CHANGED
|
@@ -49,8 +49,15 @@ export declare function composeScatterplotUmapSettings(settings: ScatterplotUmap
|
|
|
49
49
|
value: string;
|
|
50
50
|
} | undefined;
|
|
51
51
|
dotSize?: number | {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
columnName: {
|
|
53
|
+
type: "column";
|
|
54
|
+
value: string;
|
|
55
|
+
label?: string | undefined;
|
|
56
|
+
valueLabels?: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
domain: number[];
|
|
59
|
+
range: number[];
|
|
60
|
+
type?: "linear" | "log" | undefined;
|
|
54
61
|
} | undefined;
|
|
55
62
|
} | undefined;
|
|
56
63
|
} | {
|
|
@@ -6,7 +6,7 @@ import { ScatterplotSettings } from '@milaboratories/miplots4';
|
|
|
6
6
|
|
|
7
7
|
export declare function getStatLayers(statisticsSettings: DiscreteStatisticsState): ChartLayerSettings[];
|
|
8
8
|
export declare function getDiscreteLayersSettings(layers: Layer[], layerSettings: LayersSettings, statisticsSettings: DiscreteStatisticsState, optionsState: DiscreteUIState, inputGuide: InputGuide<InputState>): ChartLayerSettings[];
|
|
9
|
-
export declare function getScatterplotLayersSettings(layers: Layer[], layerSettings: ReturnType<typeof getDefaultLayersSettings>, dataByColumns: PlotDataAndSettings['dataByColumns'], optionsState: ScatterplotUIState, dataBindAes: ReactiveState['dataBindAes'], inputGuide: InputGuide<InputState>, groupingSchema?: ColumnNameSchema[]): ScatterplotSettings['layers'];
|
|
9
|
+
export declare function getScatterplotLayersSettings(layers: Layer[], layerSettings: ReturnType<typeof getDefaultLayersSettings>, dataByColumns: PlotDataAndSettings['dataByColumns'], optionsState: ScatterplotUIState, dataBindAes: ReactiveState['dataBindAes'], inputGuide: InputGuide<InputState>, groupingSchema?: ColumnNameSchema[], defaultDotSize?: number): ScatterplotSettings['layers'];
|
|
10
10
|
export type ChartLayerSettings = {
|
|
11
11
|
[key: string]: string | boolean | null | Record<string, string | DotShape | NumberRange | {
|
|
12
12
|
domain: number[];
|