@milaboratories/graph-maker 1.1.81 → 1.1.83

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.
@@ -20,6 +20,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
20
20
  };
21
21
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
22
  "close-chip": (item: string) => void;
23
+ "update:modelValue": (item: Record<string, FixedAxisData>) => void;
23
24
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
25
  modelValue: import('vue').PropType<Record<string, FixedAxisData>>;
25
26
  error: {
@@ -39,5 +40,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
39
40
  };
40
41
  }>> & Readonly<{
41
42
  "onClose-chip"?: ((item: string) => any) | undefined;
43
+ "onUpdate:modelValue"?: ((item: Record<string, FixedAxisData>) => any) | undefined;
42
44
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
43
45
  export default _default;
@@ -24,6 +24,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
24
24
  };
25
25
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
26
  "close-chip": (id: string) => void;
27
+ "update:fixedAxes": (id: Record<string, FixedAxisData>) => void;
27
28
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
29
  filter: {
29
30
  required: true;
@@ -47,5 +48,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
47
48
  };
48
49
  }>> & Readonly<{
49
50
  "onClose-chip"?: ((id: string) => any) | undefined;
51
+ "onUpdate:fixedAxes"?: ((id: Record<string, FixedAxisData>) => any) | undefined;
50
52
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
53
  export default _default;
@@ -24,7 +24,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
24
24
  };
25
25
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
26
  "close-chip": (id: string) => void;
27
- "update:modelValue:filter": (id: unknown) => void;
27
+ "update:filter": (id: unknown) => void;
28
+ "update:fixedAxes": (id: Record<string, FixedAxisData>) => void;
28
29
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
29
30
  filter: {
30
31
  required: true;
@@ -48,6 +49,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
48
49
  };
49
50
  }>> & Readonly<{
50
51
  "onClose-chip"?: ((id: string) => any) | undefined;
51
- "onUpdate:modelValue:filter"?: ((id: unknown) => any) | undefined;
52
+ "onUpdate:filter"?: ((id: unknown) => any) | undefined;
53
+ "onUpdate:fixedAxes"?: ((id: Record<string, FixedAxisData>) => any) | undefined;
52
54
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
53
55
  export default _default;
@@ -320,6 +320,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
320
320
  };
321
321
  dataBindAes: import('./dataBindAes').AestheticMappingState;
322
322
  chartScale: number;
323
+ lassoMode: boolean;
323
324
  currentTab: import('./forms').FormKey | null;
324
325
  dendroInfoByClick: {
325
326
  x: number;
@@ -645,6 +646,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
645
646
  };
646
647
  dataBindAes: import('./dataBindAes').AestheticMappingState;
647
648
  chartScale: number;
649
+ lassoMode: boolean;
648
650
  currentTab: import('./forms').FormKey | null;
649
651
  dendroInfoByClick: {
650
652
  x: number;
@@ -1000,6 +1002,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
1000
1002
  };
1001
1003
  dataBindAes: import('./dataBindAes').AestheticMappingState;
1002
1004
  chartScale: number;
1005
+ lassoMode: boolean;
1003
1006
  currentTab: import('./forms').FormKey | null;
1004
1007
  dendroInfoByClick: {
1005
1008
  x: number;
@@ -71,6 +71,7 @@ export type ReactiveState = {
71
71
  statisticsSettings: StatisticsState;
72
72
  dataBindAes: AestheticMappingState;
73
73
  chartScale: number;
74
+ lassoMode: boolean;
74
75
  currentTab: FormKey | null;
75
76
  dendroInfoByClick: null | DendroNodeInfo;
76
77
  dendroSelectedNodeId: null | number;
@@ -1,9 +1,9 @@
1
- import { ScatterplotSettings } from '@milaboratories/miplots4';
1
+ import { ScatterplotUmapSettings } from '@milaboratories/miplots4';
2
2
  import { InputGuide, InputState, PlotDataAndSettings } from '@milaboratories/pf-plots';
3
3
  import { ReactiveState, UniqueValuesData } from '../../types.ts';
4
4
 
5
- export declare function composeScatterplotUmapSettings(settings: ScatterplotSettings, dataByColumns: PlotDataAndSettings['dataByColumns'], reactiveState: ReactiveState, inputGuide: InputGuide<InputState>, uniqueValuesData: Record<string, UniqueValuesData>): {
6
- type: "scatterplot";
5
+ export declare function composeScatterplotUmapSettings(settings: ScatterplotUmapSettings, dataByColumns: PlotDataAndSettings['dataByColumns'], reactiveState: ReactiveState, inputGuide: InputGuide<InputState>, uniqueValuesData: Record<string, UniqueValuesData>): {
6
+ type: "scatterplot-umap";
7
7
  title: {
8
8
  name: string;
9
9
  show?: boolean | undefined;
@@ -27,13 +27,10 @@ export declare function composeScatterplotUmapSettings(settings: ScatterplotSett
27
27
  label?: string | undefined;
28
28
  valueLabels?: string | undefined;
29
29
  };
30
- layers: ({
30
+ layers: {
31
31
  type: "dots";
32
32
  aes?: {
33
33
  dotFill?: string | {
34
- type: "grouping";
35
- value: string;
36
- } | {
37
34
  columnName: {
38
35
  type: "column";
39
36
  value: string;
@@ -43,46 +40,20 @@ export declare function composeScatterplotUmapSettings(settings: ScatterplotSett
43
40
  domain: number[];
44
41
  range: string[];
45
42
  type?: "linear" | "log" | undefined;
43
+ } | {
44
+ type: "grouping";
45
+ value: string;
46
46
  } | undefined;
47
- dotShape?: "0" | {
47
+ dotShape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | {
48
48
  type: "grouping";
49
49
  value: string;
50
- } | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | undefined;
51
- dotSize?: number | {
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;
61
50
  } | undefined;
62
- } | undefined;
63
- } | {
64
- type: "curve";
65
- aes?: {
66
- lineWidth?: number | undefined;
67
- lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
68
- lineColor?: string | {
51
+ dotSize?: number | {
69
52
  type: "grouping";
70
53
  value: string;
71
- } | {
72
- columnName: {
73
- type: "column";
74
- value: string;
75
- label?: string | undefined;
76
- valueLabels?: string | undefined;
77
- };
78
- domain: number[];
79
- range: string[];
80
- type?: "linear" | "log" | undefined;
81
54
  } | undefined;
82
- opacity?: number | undefined;
83
55
  } | undefined;
84
- smoothing?: boolean | undefined;
85
- })[];
56
+ }[];
86
57
  label?: {
87
58
  type: "column";
88
59
  value: string;
@@ -95,45 +66,6 @@ export declare function composeScatterplotUmapSettings(settings: ScatterplotSett
95
66
  label?: string | undefined;
96
67
  valueLabels?: string | undefined;
97
68
  }[] | undefined;
98
- aes?: {
99
- size?: number | {
100
- columnName: {
101
- type: "column";
102
- value: string;
103
- label?: string | undefined;
104
- valueLabels?: string | undefined;
105
- };
106
- domain: number[];
107
- range: number[];
108
- type?: "linear" | "log" | undefined;
109
- } | {
110
- columnName: {
111
- type: "column";
112
- value: string;
113
- label?: string | undefined;
114
- valueLabels?: string | undefined;
115
- };
116
- valuesMap: Record<string, number>;
117
- } | undefined;
118
- color?: string | {
119
- columnName: {
120
- type: "column";
121
- value: string;
122
- label?: string | undefined;
123
- valueLabels?: string | undefined;
124
- };
125
- valuesMap: Record<string, string>;
126
- } | undefined;
127
- shape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | {
128
- columnName: {
129
- type: "column";
130
- value: string;
131
- label?: string | undefined;
132
- valueLabels?: string | undefined;
133
- };
134
- valuesMap: Record<string, "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25">;
135
- } | undefined;
136
- } | undefined;
137
69
  size?: {
138
70
  width?: number | undefined;
139
71
  height?: number | undefined;
@@ -154,12 +86,6 @@ export declare function composeScatterplotUmapSettings(settings: ScatterplotSett
154
86
  frame?: {
155
87
  type?: "left" | "bottom" | "left-bottom" | "full" | "empty" | undefined;
156
88
  } | undefined;
157
- facetSettings?: {
158
- sharedX?: boolean | undefined;
159
- sharedY?: boolean | undefined;
160
- nRows?: number | undefined;
161
- nCols?: number | undefined;
162
- } | undefined;
163
89
  xAxis?: {
164
90
  title?: string | {
165
91
  type: "column";
@@ -196,12 +122,6 @@ export declare function composeScatterplotUmapSettings(settings: ScatterplotSett
196
122
  upperValue?: number | undefined;
197
123
  lowerValue?: number | undefined;
198
124
  } | undefined;
199
- facetBy?: {
200
- type: "column";
201
- value: string;
202
- label?: string | undefined;
203
- valueLabels?: string | undefined;
204
- }[] | undefined;
205
125
  inheritedAes?: Record<string, Record<string, {
206
126
  dotFill?: string | undefined;
207
127
  dotShape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | undefined;
@@ -211,21 +131,5 @@ export declare function composeScatterplotUmapSettings(settings: ScatterplotSett
211
131
  lineColor?: string | undefined;
212
132
  fillColor?: string | undefined;
213
133
  }>> | undefined;
214
- trend?: {
215
- color?: string | {
216
- type: "grouping";
217
- value: string;
218
- } | {
219
- columnName: {
220
- type: "column";
221
- value: string;
222
- label?: string | undefined;
223
- valueLabels?: string | undefined;
224
- };
225
- domain: number[];
226
- range: string[];
227
- type?: "linear" | "log" | undefined;
228
- } | undefined;
229
- bounded?: boolean | undefined;
230
- } | undefined;
134
+ lassoMode?: boolean | undefined;
231
135
  };