@milaboratories/graph-maker 1.0.5

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.
Files changed (126) hide show
  1. package/README.md +18 -0
  2. package/dist/GraphMaker/components/AesButton.vue.d.ts +36 -0
  3. package/dist/GraphMaker/components/AesSettings/AesDataMapping.vue.d.ts +30 -0
  4. package/dist/GraphMaker/components/AesSettings/FixedColorsList.vue.d.ts +48 -0
  5. package/dist/GraphMaker/components/AesSettings/FixedDotShapeList.vue.d.ts +37 -0
  6. package/dist/GraphMaker/components/AesSettings/FixedLineTypeList.vue.d.ts +37 -0
  7. package/dist/GraphMaker/components/AesSettings/FormWrapper.vue.d.ts +30 -0
  8. package/dist/GraphMaker/components/AesSettings/PalettesForm.vue.d.ts +21 -0
  9. package/dist/GraphMaker/components/AesSettings/constants.d.ts +29 -0
  10. package/dist/GraphMaker/components/AesSettings/types.d.ts +34 -0
  11. package/dist/GraphMaker/components/BtnIconGroup.vue.d.ts +31 -0
  12. package/dist/GraphMaker/components/Chart.vue.d.ts +25 -0
  13. package/dist/GraphMaker/components/CollapsableBlock.vue.d.ts +40 -0
  14. package/dist/GraphMaker/components/DendroTable.vue.d.ts +20 -0
  15. package/dist/GraphMaker/components/DendroTooltip.vue.d.ts +27 -0
  16. package/dist/GraphMaker/components/DoubleContourTemp.vue.d.ts +9 -0
  17. package/dist/GraphMaker/components/DragAndDrop/DndBasket.vue.d.ts +21 -0
  18. package/dist/GraphMaker/components/DragAndDrop/DndBasketChip.vue.d.ts +23 -0
  19. package/dist/GraphMaker/components/DragAndDrop/DndChip.vue.d.ts +23 -0
  20. package/dist/GraphMaker/components/DragAndDrop/DndDoubleChip.vue.d.ts +34 -0
  21. package/dist/GraphMaker/components/DragAndDrop/types.d.ts +49 -0
  22. package/dist/GraphMaker/components/MultiselectButton.vue.d.ts +27 -0
  23. package/dist/GraphMaker/components/PanelModal.vue.d.ts +17 -0
  24. package/dist/GraphMaker/components/PlColorSlider.vue.d.ts +29 -0
  25. package/dist/GraphMaker/components/PlColorSliderThumb.vue.d.ts +53 -0
  26. package/dist/GraphMaker/components/Popup.vue.d.ts +51 -0
  27. package/dist/GraphMaker/components/SettingsTabs/index.vue.d.ts +27 -0
  28. package/dist/GraphMaker/components/TransitionSlidePanel.vue.d.ts +11 -0
  29. package/dist/GraphMaker/components/Zoom/ZoomInput.vue.d.ts +19 -0
  30. package/dist/GraphMaker/components/Zoom/index.vue.d.ts +2 -0
  31. package/dist/GraphMaker/composition/useComponent.d.ts +9 -0
  32. package/dist/GraphMaker/constant.d.ts +191 -0
  33. package/dist/GraphMaker/dataBindAes.d.ts +53 -0
  34. package/dist/GraphMaker/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.d.ts +2 -0
  35. package/dist/GraphMaker/forms/AxesSettingsForm/HeatmapAxesSettingsForm.vue.d.ts +2 -0
  36. package/dist/GraphMaker/forms/AxesSettingsForm/ScatterplotAxesSettingsForm.vue.d.ts +2 -0
  37. package/dist/GraphMaker/forms/AxesSettingsForm/index.vue.d.ts +2 -0
  38. package/dist/GraphMaker/forms/DataMappingForm/DendroForm.vue.d.ts +2 -0
  39. package/dist/GraphMaker/forms/DataMappingForm/DiscreteForm.vue.d.ts +2 -0
  40. package/dist/GraphMaker/forms/DataMappingForm/FormLayout.vue.d.ts +12 -0
  41. package/dist/GraphMaker/forms/DataMappingForm/HeatmapForm.vue.d.ts +2 -0
  42. package/dist/GraphMaker/forms/DataMappingForm/ScatterplotForm.vue.d.ts +2 -0
  43. package/dist/GraphMaker/forms/DataMappingForm/index.vue.d.ts +2 -0
  44. package/dist/GraphMaker/forms/DataMappingForm/utils.d.ts +33 -0
  45. package/dist/GraphMaker/forms/LayersForm/AesSelector.vue.d.ts +35 -0
  46. package/dist/GraphMaker/forms/LayersForm/Layer/Dendro.vue.d.ts +2 -0
  47. package/dist/GraphMaker/forms/LayersForm/Layer/Heatmap.vue.d.ts +2 -0
  48. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Bar.vue.d.ts +2 -0
  49. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/BinnedDots.vue.d.ts +2 -0
  50. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Boxplot.vue.d.ts +2 -0
  51. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Errorbar.vue.d.ts +2 -0
  52. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/JitteredDots.vue.d.ts +2 -0
  53. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Line.vue.d.ts +2 -0
  54. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Sina.vue.d.ts +2 -0
  55. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/StackedBar.vue.d.ts +2 -0
  56. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Violin.vue.d.ts +2 -0
  57. package/dist/GraphMaker/forms/LayersForm/Layer/discrete/utils.d.ts +4 -0
  58. package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot/Curve.vue.d.ts +2 -0
  59. package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot/Scatter.vue.d.ts +2 -0
  60. package/dist/GraphMaker/forms/LayersForm/index.vue.d.ts +2 -0
  61. package/dist/GraphMaker/forms/StatisticsForm.vue.d.ts +2 -0
  62. package/dist/GraphMaker/forms/TemplateForm.vue.d.ts +2 -0
  63. package/dist/GraphMaker/forms/index.d.ts +41 -0
  64. package/dist/GraphMaker/helpers.d.ts +1 -0
  65. package/dist/GraphMaker/icons/ArrowLeft.vue.d.ts +2 -0
  66. package/dist/GraphMaker/icons/AxesIcon.vue.d.ts +2 -0
  67. package/dist/GraphMaker/icons/BarAndErrorIcon.vue.d.ts +2 -0
  68. package/dist/GraphMaker/icons/BarAndLineIcon.vue.d.ts +2 -0
  69. package/dist/GraphMaker/icons/BarIcon.vue.d.ts +2 -0
  70. package/dist/GraphMaker/icons/BinnedDotsIcon.vue.d.ts +2 -0
  71. package/dist/GraphMaker/icons/BoxplotAndBinnedIcon.vue.d.ts +2 -0
  72. package/dist/GraphMaker/icons/BoxplotAndJitterIcon.vue.d.ts +2 -0
  73. package/dist/GraphMaker/icons/BoxplotIcon.vue.d.ts +2 -0
  74. package/dist/GraphMaker/icons/ColorsIcon.vue.d.ts +2 -0
  75. package/dist/GraphMaker/icons/DendroIcon.vue.d.ts +2 -0
  76. package/dist/GraphMaker/icons/Down.vue.d.ts +2 -0
  77. package/dist/GraphMaker/icons/ExportIcon.vue.d.ts +2 -0
  78. package/dist/GraphMaker/icons/FrameBottom.vue.d.ts +2 -0
  79. package/dist/GraphMaker/icons/FrameEmpty.vue.d.ts +2 -0
  80. package/dist/GraphMaker/icons/FrameFull.vue.d.ts +2 -0
  81. package/dist/GraphMaker/icons/FrameLeft.vue.d.ts +2 -0
  82. package/dist/GraphMaker/icons/FrameLeftBottom.vue.d.ts +2 -0
  83. package/dist/GraphMaker/icons/HeatmapIcon.vue.d.ts +2 -0
  84. package/dist/GraphMaker/icons/JitteredDotsIcon.vue.d.ts +2 -0
  85. package/dist/GraphMaker/icons/LayersIcon.vue.d.ts +2 -0
  86. package/dist/GraphMaker/icons/LineAndBinnedIcon.vue.d.ts +2 -0
  87. package/dist/GraphMaker/icons/LineAndErrorbarIcon.vue.d.ts +2 -0
  88. package/dist/GraphMaker/icons/LineAndJitterIcon.vue.d.ts +2 -0
  89. package/dist/GraphMaker/icons/LineIcon.vue.d.ts +2 -0
  90. package/dist/GraphMaker/icons/LinkIcon.vue.d.ts +2 -0
  91. package/dist/GraphMaker/icons/MinusIcon.vue.d.ts +2 -0
  92. package/dist/GraphMaker/icons/PlusIcon.vue.d.ts +2 -0
  93. package/dist/GraphMaker/icons/Reorder.vue.d.ts +2 -0
  94. package/dist/GraphMaker/icons/Right.vue.d.ts +2 -0
  95. package/dist/GraphMaker/icons/Rotation0.vue.d.ts +2 -0
  96. package/dist/GraphMaker/icons/Rotation45.vue.d.ts +2 -0
  97. package/dist/GraphMaker/icons/Rotation90.vue.d.ts +2 -0
  98. package/dist/GraphMaker/icons/ScatterplotIcon.vue.d.ts +2 -0
  99. package/dist/GraphMaker/icons/SinaIcon.vue.d.ts +2 -0
  100. package/dist/GraphMaker/icons/StackedBarIcon.vue.d.ts +2 -0
  101. package/dist/GraphMaker/icons/StatisticsIcon.vue.d.ts +2 -0
  102. package/dist/GraphMaker/icons/TemplateIcon.vue.d.ts +2 -0
  103. package/dist/GraphMaker/icons/ViolinAndBinnedIcon.vue.d.ts +2 -0
  104. package/dist/GraphMaker/icons/ViolinAndJitterIcon.vue.d.ts +2 -0
  105. package/dist/GraphMaker/icons/ViolinIcon.vue.d.ts +2 -0
  106. package/dist/GraphMaker/index.vue.d.ts +30 -0
  107. package/dist/GraphMaker/keys.d.ts +1 -0
  108. package/dist/GraphMaker/store.d.ts +850 -0
  109. package/dist/GraphMaker/types.d.ts +53 -0
  110. package/dist/GraphMaker/utils/calculateDiscreteGroups.d.ts +3 -0
  111. package/dist/GraphMaker/utils/composeChartSettings.d.ts +10 -0
  112. package/dist/GraphMaker/utils/copyJSON.d.ts +1 -0
  113. package/dist/GraphMaker/utils/getAxesDataFromForms.d.ts +19 -0
  114. package/dist/GraphMaker/utils/getFixedColumnOrAxisIdFromSettings.d.ts +4 -0
  115. package/dist/GraphMaker/utils/getLayersDataFromForms.d.ts +12 -0
  116. package/dist/GraphMaker/utils/getStatisticsOptions.d.ts +13 -0
  117. package/dist/GraphMaker/utils/getUsedAesInMapping.d.ts +5 -0
  118. package/dist/GraphMaker/utils/index.d.ts +5 -0
  119. package/dist/GraphMaker/utils/saveToFile.d.ts +1 -0
  120. package/dist/graph-maker.js +119404 -0
  121. package/dist/graph-maker.umd.cjs +23761 -0
  122. package/dist/lib.d.ts +4 -0
  123. package/dist/main.d.ts +1 -0
  124. package/dist/style.css +1 -0
  125. package/dist/vite.svg +1 -0
  126. package/package.json +41 -0
@@ -0,0 +1,850 @@
1
+ import { Ref, ComputedRef, Reactive } from 'vue';
2
+ import { GraphMakerSettings, ReactiveState } from './types.ts';
3
+ import { DemoDataStore, InputGuide, InputState, PlotDataAndSettings, DendroStateController } from '@milaboratories/pf-plots';
4
+ import { AesType } from './constant.ts';
5
+
6
+ export declare function createReactiveState(initialData: GraphMakerSettings): {
7
+ chartType: import('@milaboratories/pf-plots').ChartType;
8
+ template: import('./types.ts').LayersTemplate;
9
+ optionsState: {
10
+ type: import('@milaboratories/pf-plots').ChartType;
11
+ components: {
12
+ [x: string]: import('@milaboratories/pf-plots').ComponentStateSimple | import('@milaboratories/pf-plots').ComponentStateFilter;
13
+ };
14
+ dividedAxes: Record<string, boolean>;
15
+ };
16
+ layersSettings: {
17
+ dendro: {
18
+ dotFill: string | {
19
+ type: string;
20
+ value?: string | undefined;
21
+ };
22
+ dotShape: import('./components/AesSettings/types').DotShape | {
23
+ type: string;
24
+ value?: string | undefined;
25
+ };
26
+ lineColor: string | {
27
+ type: string;
28
+ value?: string | undefined;
29
+ };
30
+ mode: "normal" | "useAllNodesAsLeaves";
31
+ leavesMode: "normal" | "alignLeavesToLine";
32
+ showTable: boolean;
33
+ };
34
+ heatmap: {
35
+ dendrogramX: boolean;
36
+ dendrogramY: boolean;
37
+ };
38
+ dots: {
39
+ dotFill: string | {
40
+ type: string;
41
+ value?: string | undefined;
42
+ } | null;
43
+ dotShape: import('./components/AesSettings/types').DotShape | {
44
+ type: string;
45
+ value?: string | undefined;
46
+ } | null;
47
+ };
48
+ curve: {
49
+ smoothing: boolean;
50
+ lineColor: string | {
51
+ type: string;
52
+ value?: string | undefined;
53
+ };
54
+ };
55
+ box: {
56
+ showOutliers: boolean;
57
+ fillColor: string | {
58
+ type: string;
59
+ value?: string | undefined;
60
+ } | null;
61
+ lineColor: string | {
62
+ type: string;
63
+ value?: string | undefined;
64
+ };
65
+ dotShape: import('./components/AesSettings/types').DotShape | {
66
+ type: string;
67
+ value?: string | undefined;
68
+ };
69
+ lineType: import('./components/AesSettings/types').LineType | {
70
+ type: string;
71
+ value?: string | undefined;
72
+ };
73
+ gapWidth: number;
74
+ opacity: number;
75
+ stat: {
76
+ low: number;
77
+ middle: number;
78
+ upper: number;
79
+ k: number;
80
+ };
81
+ };
82
+ binnedDots: {
83
+ fillColor: string | {
84
+ type: string;
85
+ value?: string | undefined;
86
+ } | null;
87
+ lineColor: string | {
88
+ type: string;
89
+ value?: string | undefined;
90
+ };
91
+ opacity: number;
92
+ showOutliers: boolean;
93
+ };
94
+ jitteredDots: {
95
+ dotFill: string | {
96
+ type: string;
97
+ value?: string | undefined;
98
+ } | null;
99
+ dotShape: import('./components/AesSettings/types').DotShape | {
100
+ type: string;
101
+ value?: string | undefined;
102
+ };
103
+ lineColor: string | {
104
+ type: string;
105
+ value?: string | undefined;
106
+ };
107
+ opacity: number;
108
+ showOutliers: boolean;
109
+ };
110
+ violin: {
111
+ fillColor: string | {
112
+ type: string;
113
+ value?: string | undefined;
114
+ } | null;
115
+ lineColor: string | {
116
+ type: string;
117
+ value?: string | undefined;
118
+ };
119
+ lineType: import('./components/AesSettings/types').LineType | {
120
+ type: string;
121
+ value?: string | undefined;
122
+ };
123
+ opacity: number;
124
+ trim: boolean;
125
+ };
126
+ bar: {
127
+ fillColor: string | {
128
+ type: string;
129
+ value?: string | undefined;
130
+ } | null;
131
+ lineColor: string | {
132
+ type: string;
133
+ value?: string | undefined;
134
+ };
135
+ opacity: number;
136
+ height: "max" | "mean" | "median";
137
+ };
138
+ stackedBar: {
139
+ fillColor: string | {
140
+ type: string;
141
+ value?: string | undefined;
142
+ } | null;
143
+ lineColor: string | {
144
+ type: string;
145
+ value?: string | undefined;
146
+ };
147
+ opacity: number;
148
+ };
149
+ line: {
150
+ pointsValues: "mean" | "median";
151
+ lineColor: string | {
152
+ type: string;
153
+ value?: string | undefined;
154
+ } | null;
155
+ dotShape: import('./components/AesSettings/types').DotShape | {
156
+ type: string;
157
+ value?: string | undefined;
158
+ };
159
+ lineType: import('./components/AesSettings/types').LineType | {
160
+ type: string;
161
+ value?: string | undefined;
162
+ };
163
+ dotFill: string | {
164
+ type: string;
165
+ value?: string | undefined;
166
+ };
167
+ opacity: number;
168
+ };
169
+ errorbar: {
170
+ pointsValues: "mean" | "median";
171
+ interval: "sd" | "se" | "";
172
+ lineColor: string | {
173
+ type: string;
174
+ value?: string | undefined;
175
+ } | null;
176
+ dotShape: import('./components/AesSettings/types').DotShape | {
177
+ type: string;
178
+ value?: string | undefined;
179
+ };
180
+ dotFill: string | {
181
+ type: string;
182
+ value?: string | undefined;
183
+ };
184
+ opacity: number;
185
+ };
186
+ sina: {
187
+ dotFill: string | {
188
+ type: string;
189
+ value?: string | undefined;
190
+ } | null;
191
+ dotShape: import('./components/AesSettings/types').DotShape | {
192
+ type: string;
193
+ value?: string | undefined;
194
+ };
195
+ opacity: number;
196
+ showOutliers: boolean;
197
+ };
198
+ };
199
+ axesSettings: {
200
+ title: {
201
+ value: string;
202
+ position: import('./types.ts').TitlePosition;
203
+ facetTitleFrame: import('./types.ts').Frame;
204
+ };
205
+ axisX: {
206
+ labelsPosition: import('./types.ts').LabelsPosition;
207
+ labelsRotation: import('./types.ts').LabelsRotation;
208
+ axisLabelsAngle: 0 | 45 | 90;
209
+ titleMode: import('./types.ts').AxisTitleMode;
210
+ customTitle: string;
211
+ gridlines: boolean;
212
+ linesBetweenCategories: boolean;
213
+ ticks: boolean;
214
+ scale: import('./types.ts').Scale;
215
+ };
216
+ axisY: {
217
+ titleMode: import('./types.ts').AxisTitleMode;
218
+ customTitle: string;
219
+ axisLabelsAngle: 0 | 45 | 90;
220
+ gridlines: boolean;
221
+ ticks: boolean;
222
+ scale: import('./types.ts').Scale;
223
+ };
224
+ legend: {};
225
+ other: {
226
+ frame: import('./types.ts').Frame | import('./types.ts').HeatmapFrame;
227
+ reverse: boolean;
228
+ facetSharedBy: "x" | "y" | "xy" | "none";
229
+ facetColumns: number;
230
+ };
231
+ };
232
+ statisticsSettings: {
233
+ overall: {
234
+ data: {
235
+ testMethod: null | string;
236
+ };
237
+ validity: {
238
+ testMethod: boolean;
239
+ };
240
+ };
241
+ referenceGroup: {
242
+ data: {
243
+ testMethod: null | string;
244
+ referenceGroup: null | string;
245
+ correctionMethod: string;
246
+ format: "significance" | "pValue";
247
+ ns: boolean;
248
+ };
249
+ validity: {
250
+ testMethod: boolean;
251
+ referenceGroup: boolean;
252
+ };
253
+ };
254
+ pairwise: {
255
+ data: {
256
+ testMethod: null | string;
257
+ correctionMethod: string;
258
+ format: "significance" | "pValue";
259
+ ns: boolean;
260
+ };
261
+ validity: {
262
+ testMethod: boolean;
263
+ };
264
+ };
265
+ };
266
+ dataBindAes: Record<string, import('./dataBindAes').AestheticMappingCategorical>;
267
+ chartScale: number;
268
+ dendroInfoByClick: {
269
+ x: number;
270
+ y: number;
271
+ info: Record<string, string | number>;
272
+ } | null;
273
+ dendroSelectedNodeId: null | number;
274
+ };
275
+ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dataStore: DemoDataStore, inputGuide: Ref<InputGuide<InputState>>, chartData: Ref<PlotDataAndSettings | null>, dendroTableData: Ref<Awaited<ReturnType<DendroStateController['createTableData']>> | null>): {
276
+ reactive: {
277
+ chartType: import('@milaboratories/pf-plots').ChartType;
278
+ template: import('./types.ts').LayersTemplate;
279
+ optionsState: {
280
+ type: import('@milaboratories/pf-plots').ChartType;
281
+ components: {
282
+ [x: string]: import('@milaboratories/pf-plots').ComponentStateSimple | import('@milaboratories/pf-plots').ComponentStateFilter;
283
+ };
284
+ dividedAxes: Record<string, boolean>;
285
+ };
286
+ layersSettings: {
287
+ dendro: {
288
+ dotFill: string | {
289
+ type: string;
290
+ value?: string | undefined;
291
+ };
292
+ dotShape: import('./components/AesSettings/types').DotShape | {
293
+ type: string;
294
+ value?: string | undefined;
295
+ };
296
+ lineColor: string | {
297
+ type: string;
298
+ value?: string | undefined;
299
+ };
300
+ mode: "normal" | "useAllNodesAsLeaves";
301
+ leavesMode: "normal" | "alignLeavesToLine";
302
+ showTable: boolean;
303
+ };
304
+ heatmap: {
305
+ dendrogramX: boolean;
306
+ dendrogramY: boolean;
307
+ };
308
+ dots: {
309
+ dotFill: string | {
310
+ type: string;
311
+ value?: string | undefined;
312
+ } | null;
313
+ dotShape: import('./components/AesSettings/types').DotShape | {
314
+ type: string;
315
+ value?: string | undefined;
316
+ } | null;
317
+ };
318
+ curve: {
319
+ smoothing: boolean;
320
+ lineColor: string | {
321
+ type: string;
322
+ value?: string | undefined;
323
+ };
324
+ };
325
+ box: {
326
+ showOutliers: boolean;
327
+ fillColor: string | {
328
+ type: string;
329
+ value?: string | undefined;
330
+ } | null;
331
+ lineColor: string | {
332
+ type: string;
333
+ value?: string | undefined;
334
+ };
335
+ dotShape: import('./components/AesSettings/types').DotShape | {
336
+ type: string;
337
+ value?: string | undefined;
338
+ };
339
+ lineType: import('./components/AesSettings/types').LineType | {
340
+ type: string;
341
+ value?: string | undefined;
342
+ };
343
+ gapWidth: number;
344
+ opacity: number;
345
+ stat: {
346
+ low: number;
347
+ middle: number;
348
+ upper: number;
349
+ k: number;
350
+ };
351
+ };
352
+ binnedDots: {
353
+ fillColor: string | {
354
+ type: string;
355
+ value?: string | undefined;
356
+ } | null;
357
+ lineColor: string | {
358
+ type: string;
359
+ value?: string | undefined;
360
+ };
361
+ opacity: number;
362
+ showOutliers: boolean;
363
+ };
364
+ jitteredDots: {
365
+ dotFill: string | {
366
+ type: string;
367
+ value?: string | undefined;
368
+ } | null;
369
+ dotShape: import('./components/AesSettings/types').DotShape | {
370
+ type: string;
371
+ value?: string | undefined;
372
+ };
373
+ lineColor: string | {
374
+ type: string;
375
+ value?: string | undefined;
376
+ };
377
+ opacity: number;
378
+ showOutliers: boolean;
379
+ };
380
+ violin: {
381
+ fillColor: string | {
382
+ type: string;
383
+ value?: string | undefined;
384
+ } | null;
385
+ lineColor: string | {
386
+ type: string;
387
+ value?: string | undefined;
388
+ };
389
+ lineType: import('./components/AesSettings/types').LineType | {
390
+ type: string;
391
+ value?: string | undefined;
392
+ };
393
+ opacity: number;
394
+ trim: boolean;
395
+ };
396
+ bar: {
397
+ fillColor: string | {
398
+ type: string;
399
+ value?: string | undefined;
400
+ } | null;
401
+ lineColor: string | {
402
+ type: string;
403
+ value?: string | undefined;
404
+ };
405
+ opacity: number;
406
+ height: "max" | "mean" | "median";
407
+ };
408
+ stackedBar: {
409
+ fillColor: string | {
410
+ type: string;
411
+ value?: string | undefined;
412
+ } | null;
413
+ lineColor: string | {
414
+ type: string;
415
+ value?: string | undefined;
416
+ };
417
+ opacity: number;
418
+ };
419
+ line: {
420
+ pointsValues: "mean" | "median";
421
+ lineColor: string | {
422
+ type: string;
423
+ value?: string | undefined;
424
+ } | null;
425
+ dotShape: import('./components/AesSettings/types').DotShape | {
426
+ type: string;
427
+ value?: string | undefined;
428
+ };
429
+ lineType: import('./components/AesSettings/types').LineType | {
430
+ type: string;
431
+ value?: string | undefined;
432
+ };
433
+ dotFill: string | {
434
+ type: string;
435
+ value?: string | undefined;
436
+ };
437
+ opacity: number;
438
+ };
439
+ errorbar: {
440
+ pointsValues: "mean" | "median";
441
+ interval: "sd" | "se" | "";
442
+ lineColor: string | {
443
+ type: string;
444
+ value?: string | undefined;
445
+ } | null;
446
+ dotShape: import('./components/AesSettings/types').DotShape | {
447
+ type: string;
448
+ value?: string | undefined;
449
+ };
450
+ dotFill: string | {
451
+ type: string;
452
+ value?: string | undefined;
453
+ };
454
+ opacity: number;
455
+ };
456
+ sina: {
457
+ dotFill: string | {
458
+ type: string;
459
+ value?: string | undefined;
460
+ } | null;
461
+ dotShape: import('./components/AesSettings/types').DotShape | {
462
+ type: string;
463
+ value?: string | undefined;
464
+ };
465
+ opacity: number;
466
+ showOutliers: boolean;
467
+ };
468
+ };
469
+ axesSettings: {
470
+ title: {
471
+ value: string;
472
+ position: import('./types.ts').TitlePosition;
473
+ facetTitleFrame: import('./types.ts').Frame;
474
+ };
475
+ axisX: {
476
+ labelsPosition: import('./types.ts').LabelsPosition;
477
+ labelsRotation: import('./types.ts').LabelsRotation;
478
+ axisLabelsAngle: 0 | 45 | 90;
479
+ titleMode: import('./types.ts').AxisTitleMode;
480
+ customTitle: string;
481
+ gridlines: boolean;
482
+ linesBetweenCategories: boolean;
483
+ ticks: boolean;
484
+ scale: import('./types.ts').Scale;
485
+ };
486
+ axisY: {
487
+ titleMode: import('./types.ts').AxisTitleMode;
488
+ customTitle: string;
489
+ axisLabelsAngle: 0 | 45 | 90;
490
+ gridlines: boolean;
491
+ ticks: boolean;
492
+ scale: import('./types.ts').Scale;
493
+ };
494
+ legend: {};
495
+ other: {
496
+ frame: import('./types.ts').Frame | import('./types.ts').HeatmapFrame;
497
+ reverse: boolean;
498
+ facetSharedBy: "x" | "y" | "xy" | "none";
499
+ facetColumns: number;
500
+ };
501
+ };
502
+ statisticsSettings: {
503
+ overall: {
504
+ data: {
505
+ testMethod: null | string;
506
+ };
507
+ validity: {
508
+ testMethod: boolean;
509
+ };
510
+ };
511
+ referenceGroup: {
512
+ data: {
513
+ testMethod: null | string;
514
+ referenceGroup: null | string;
515
+ correctionMethod: string;
516
+ format: "significance" | "pValue";
517
+ ns: boolean;
518
+ };
519
+ validity: {
520
+ testMethod: boolean;
521
+ referenceGroup: boolean;
522
+ };
523
+ };
524
+ pairwise: {
525
+ data: {
526
+ testMethod: null | string;
527
+ correctionMethod: string;
528
+ format: "significance" | "pValue";
529
+ ns: boolean;
530
+ };
531
+ validity: {
532
+ testMethod: boolean;
533
+ };
534
+ };
535
+ };
536
+ dataBindAes: Record<string, import('./dataBindAes').AestheticMappingCategorical>;
537
+ chartScale: number;
538
+ dendroInfoByClick: {
539
+ x: number;
540
+ y: number;
541
+ info: Record<string, string | number>;
542
+ } | null;
543
+ dendroSelectedNodeId: null | number;
544
+ };
545
+ commonHelpersData: {
546
+ primaryGroups: ComputedRef<string[]>;
547
+ secondaryGroups: ComputedRef<string[]>;
548
+ usedAesInMapping: ComputedRef<Record<string, Record<AesType, boolean>>>;
549
+ dendroTableData: Ref<Record<string, {
550
+ label: string;
551
+ data: import('@milaboratories/pf-plots').PValue[];
552
+ }> | null, Record<string, {
553
+ label: string;
554
+ data: import('@milaboratories/pf-plots').PValue[];
555
+ }> | null>;
556
+ };
557
+ controller: import('@milaboratories/pf-plots').Controller<import('@milaboratories/pf-plots').InputStateParent<import('@milaboratories/pf-plots').ChartType>>;
558
+ columnsDataStore: DemoDataStore;
559
+ inputGuide: Ref<InputGuide<InputState>, InputGuide<InputState>>;
560
+ chartData: Ref<PlotDataAndSettings | null, PlotDataAndSettings | null>;
561
+ };
562
+ export type Store = ComputedRef<ReturnType<typeof factoryStore>>;
563
+ export declare function provideStore(settings: GraphMakerSettings, dataStoreRef: Ref<DemoDataStore>, fixedOptionsRef: Ref<GraphMakerSettings['fixedOptions']>): ComputedRef<{
564
+ reactive: {
565
+ chartType: import('@milaboratories/pf-plots').ChartType;
566
+ template: import('./types.ts').LayersTemplate;
567
+ optionsState: {
568
+ type: import('@milaboratories/pf-plots').ChartType;
569
+ components: {
570
+ [x: string]: import('@milaboratories/pf-plots').ComponentStateSimple | import('@milaboratories/pf-plots').ComponentStateFilter;
571
+ };
572
+ dividedAxes: Record<string, boolean>;
573
+ };
574
+ layersSettings: {
575
+ dendro: {
576
+ dotFill: string | {
577
+ type: string;
578
+ value?: string | undefined;
579
+ };
580
+ dotShape: import('./components/AesSettings/types').DotShape | {
581
+ type: string;
582
+ value?: string | undefined;
583
+ };
584
+ lineColor: string | {
585
+ type: string;
586
+ value?: string | undefined;
587
+ };
588
+ mode: "normal" | "useAllNodesAsLeaves";
589
+ leavesMode: "normal" | "alignLeavesToLine";
590
+ showTable: boolean;
591
+ };
592
+ heatmap: {
593
+ dendrogramX: boolean;
594
+ dendrogramY: boolean;
595
+ };
596
+ dots: {
597
+ dotFill: string | {
598
+ type: string;
599
+ value?: string | undefined;
600
+ } | null;
601
+ dotShape: import('./components/AesSettings/types').DotShape | {
602
+ type: string;
603
+ value?: string | undefined;
604
+ } | null;
605
+ };
606
+ curve: {
607
+ smoothing: boolean;
608
+ lineColor: string | {
609
+ type: string;
610
+ value?: string | undefined;
611
+ };
612
+ };
613
+ box: {
614
+ showOutliers: boolean;
615
+ fillColor: string | {
616
+ type: string;
617
+ value?: string | undefined;
618
+ } | null;
619
+ lineColor: string | {
620
+ type: string;
621
+ value?: string | undefined;
622
+ };
623
+ dotShape: import('./components/AesSettings/types').DotShape | {
624
+ type: string;
625
+ value?: string | undefined;
626
+ };
627
+ lineType: import('./components/AesSettings/types').LineType | {
628
+ type: string;
629
+ value?: string | undefined;
630
+ };
631
+ gapWidth: number;
632
+ opacity: number;
633
+ stat: {
634
+ low: number;
635
+ middle: number;
636
+ upper: number;
637
+ k: number;
638
+ };
639
+ };
640
+ binnedDots: {
641
+ fillColor: string | {
642
+ type: string;
643
+ value?: string | undefined;
644
+ } | null;
645
+ lineColor: string | {
646
+ type: string;
647
+ value?: string | undefined;
648
+ };
649
+ opacity: number;
650
+ showOutliers: boolean;
651
+ };
652
+ jitteredDots: {
653
+ dotFill: string | {
654
+ type: string;
655
+ value?: string | undefined;
656
+ } | null;
657
+ dotShape: import('./components/AesSettings/types').DotShape | {
658
+ type: string;
659
+ value?: string | undefined;
660
+ };
661
+ lineColor: string | {
662
+ type: string;
663
+ value?: string | undefined;
664
+ };
665
+ opacity: number;
666
+ showOutliers: boolean;
667
+ };
668
+ violin: {
669
+ fillColor: string | {
670
+ type: string;
671
+ value?: string | undefined;
672
+ } | null;
673
+ lineColor: string | {
674
+ type: string;
675
+ value?: string | undefined;
676
+ };
677
+ lineType: import('./components/AesSettings/types').LineType | {
678
+ type: string;
679
+ value?: string | undefined;
680
+ };
681
+ opacity: number;
682
+ trim: boolean;
683
+ };
684
+ bar: {
685
+ fillColor: string | {
686
+ type: string;
687
+ value?: string | undefined;
688
+ } | null;
689
+ lineColor: string | {
690
+ type: string;
691
+ value?: string | undefined;
692
+ };
693
+ opacity: number;
694
+ height: "max" | "mean" | "median";
695
+ };
696
+ stackedBar: {
697
+ fillColor: string | {
698
+ type: string;
699
+ value?: string | undefined;
700
+ } | null;
701
+ lineColor: string | {
702
+ type: string;
703
+ value?: string | undefined;
704
+ };
705
+ opacity: number;
706
+ };
707
+ line: {
708
+ pointsValues: "mean" | "median";
709
+ lineColor: string | {
710
+ type: string;
711
+ value?: string | undefined;
712
+ } | null;
713
+ dotShape: import('./components/AesSettings/types').DotShape | {
714
+ type: string;
715
+ value?: string | undefined;
716
+ };
717
+ lineType: import('./components/AesSettings/types').LineType | {
718
+ type: string;
719
+ value?: string | undefined;
720
+ };
721
+ dotFill: string | {
722
+ type: string;
723
+ value?: string | undefined;
724
+ };
725
+ opacity: number;
726
+ };
727
+ errorbar: {
728
+ pointsValues: "mean" | "median";
729
+ interval: "sd" | "se" | "";
730
+ lineColor: string | {
731
+ type: string;
732
+ value?: string | undefined;
733
+ } | null;
734
+ dotShape: import('./components/AesSettings/types').DotShape | {
735
+ type: string;
736
+ value?: string | undefined;
737
+ };
738
+ dotFill: string | {
739
+ type: string;
740
+ value?: string | undefined;
741
+ };
742
+ opacity: number;
743
+ };
744
+ sina: {
745
+ dotFill: string | {
746
+ type: string;
747
+ value?: string | undefined;
748
+ } | null;
749
+ dotShape: import('./components/AesSettings/types').DotShape | {
750
+ type: string;
751
+ value?: string | undefined;
752
+ };
753
+ opacity: number;
754
+ showOutliers: boolean;
755
+ };
756
+ };
757
+ axesSettings: {
758
+ title: {
759
+ value: string;
760
+ position: import('./types.ts').TitlePosition;
761
+ facetTitleFrame: import('./types.ts').Frame;
762
+ };
763
+ axisX: {
764
+ labelsPosition: import('./types.ts').LabelsPosition;
765
+ labelsRotation: import('./types.ts').LabelsRotation;
766
+ axisLabelsAngle: 0 | 45 | 90;
767
+ titleMode: import('./types.ts').AxisTitleMode;
768
+ customTitle: string;
769
+ gridlines: boolean;
770
+ linesBetweenCategories: boolean;
771
+ ticks: boolean;
772
+ scale: import('./types.ts').Scale;
773
+ };
774
+ axisY: {
775
+ titleMode: import('./types.ts').AxisTitleMode;
776
+ customTitle: string;
777
+ axisLabelsAngle: 0 | 45 | 90;
778
+ gridlines: boolean;
779
+ ticks: boolean;
780
+ scale: import('./types.ts').Scale;
781
+ };
782
+ legend: {};
783
+ other: {
784
+ frame: import('./types.ts').Frame | import('./types.ts').HeatmapFrame;
785
+ reverse: boolean;
786
+ facetSharedBy: "x" | "y" | "xy" | "none";
787
+ facetColumns: number;
788
+ };
789
+ };
790
+ statisticsSettings: {
791
+ overall: {
792
+ data: {
793
+ testMethod: null | string;
794
+ };
795
+ validity: {
796
+ testMethod: boolean;
797
+ };
798
+ };
799
+ referenceGroup: {
800
+ data: {
801
+ testMethod: null | string;
802
+ referenceGroup: null | string;
803
+ correctionMethod: string;
804
+ format: "significance" | "pValue";
805
+ ns: boolean;
806
+ };
807
+ validity: {
808
+ testMethod: boolean;
809
+ referenceGroup: boolean;
810
+ };
811
+ };
812
+ pairwise: {
813
+ data: {
814
+ testMethod: null | string;
815
+ correctionMethod: string;
816
+ format: "significance" | "pValue";
817
+ ns: boolean;
818
+ };
819
+ validity: {
820
+ testMethod: boolean;
821
+ };
822
+ };
823
+ };
824
+ dataBindAes: Record<string, import('./dataBindAes').AestheticMappingCategorical>;
825
+ chartScale: number;
826
+ dendroInfoByClick: {
827
+ x: number;
828
+ y: number;
829
+ info: Record<string, string | number>;
830
+ } | null;
831
+ dendroSelectedNodeId: null | number;
832
+ };
833
+ commonHelpersData: {
834
+ primaryGroups: ComputedRef<string[]>;
835
+ secondaryGroups: ComputedRef<string[]>;
836
+ usedAesInMapping: ComputedRef<Record<string, Record<AesType, boolean>>>;
837
+ dendroTableData: Ref<Record<string, {
838
+ label: string;
839
+ data: import('@milaboratories/pf-plots').PValue[];
840
+ }> | null, Record<string, {
841
+ label: string;
842
+ data: import('@milaboratories/pf-plots').PValue[];
843
+ }> | null>;
844
+ };
845
+ controller: import('@milaboratories/pf-plots').Controller<import('@milaboratories/pf-plots').InputStateParent<import('@milaboratories/pf-plots').ChartType>>;
846
+ columnsDataStore: DemoDataStore;
847
+ inputGuide: Ref<InputGuide<InputState>, InputGuide<InputState>>;
848
+ chartData: Ref<PlotDataAndSettings | null, PlotDataAndSettings | null>;
849
+ }>;
850
+ export declare function useStore(): Store;