@milaboratories/graph-maker 1.1.199 → 1.1.201
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/components/AesButton.vue.d.ts +1 -0
- package/dist/components/AesButton.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/AesDataMappingContinuous.vue.d.ts +1 -0
- package/dist/components/AesSettings/AesDataMappingContinuous.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/AesDataMappingDiscrete.vue.d.ts +1 -0
- package/dist/components/AesSettings/AesDataMappingDiscrete.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/DiscreteRow.vue.d.ts +1 -0
- package/dist/components/AesSettings/DiscreteRow.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/FixedColorsList.vue.d.ts +1 -0
- package/dist/components/AesSettings/FixedColorsList.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/FixedDotShapeList.vue.d.ts +1 -0
- package/dist/components/AesSettings/FixedDotShapeList.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/FixedLineTypeList.vue.d.ts +1 -0
- package/dist/components/AesSettings/FixedLineTypeList.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/FormWrapper.vue.d.ts +1 -0
- package/dist/components/AesSettings/FormWrapper.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/PalettesForm.vue.d.ts +1 -0
- package/dist/components/AesSettings/PalettesForm.vue.d.ts.map +1 -0
- package/dist/components/AesSettings/types.d.ts +1 -0
- package/dist/components/AesSettings/types.d.ts.map +1 -0
- package/dist/components/BtnIconGroup.vue.d.ts +1 -0
- package/dist/components/BtnIconGroup.vue.d.ts.map +1 -0
- package/dist/components/Chart.vue.d.ts +4 -1
- package/dist/components/Chart.vue.d.ts.map +1 -0
- package/dist/components/Chart.vue.js +137 -120
- package/dist/components/Chart.vue.js.map +1 -1
- package/dist/components/ChartErrorNotificationAlert.vue.d.ts +1 -0
- package/dist/components/ChartErrorNotificationAlert.vue.d.ts.map +1 -0
- package/dist/components/CollapsableBlock.vue.d.ts +1 -0
- package/dist/components/CollapsableBlock.vue.d.ts.map +1 -0
- package/dist/components/DendroTable.vue.d.ts +1 -0
- package/dist/components/DendroTable.vue.d.ts.map +1 -0
- package/dist/components/DendroTooltip.vue.d.ts +1 -0
- package/dist/components/DendroTooltip.vue.d.ts.map +1 -0
- package/dist/components/DoubleContourTemp.vue.d.ts +1 -0
- package/dist/components/DoubleContourTemp.vue.d.ts.map +1 -0
- package/dist/components/DragAndDrop/DnDBasketChip.vue.d.ts +1 -0
- package/dist/components/DragAndDrop/DnDBasketChip.vue.d.ts.map +1 -0
- package/dist/components/DragAndDrop/DnDRangeChip.vue.d.ts +1 -0
- package/dist/components/DragAndDrop/DnDRangeChip.vue.d.ts.map +1 -0
- package/dist/components/DragAndDrop/DndBasket.vue.d.ts +1 -0
- package/dist/components/DragAndDrop/DndBasket.vue.d.ts.map +1 -0
- package/dist/components/DragAndDrop/DndBasket.vue.js +39 -39
- package/dist/components/DragAndDrop/DndBasket.vue.js.map +1 -1
- package/dist/components/DragAndDrop/DndChip.vue.d.ts +1 -0
- package/dist/components/DragAndDrop/DndChip.vue.d.ts.map +1 -0
- package/dist/components/DragAndDrop/DndDoubleChip.vue.d.ts +1 -0
- package/dist/components/DragAndDrop/DndDoubleChip.vue.d.ts.map +1 -0
- package/dist/components/DragAndDrop/types.d.ts +1 -0
- package/dist/components/DragAndDrop/types.d.ts.map +1 -0
- package/dist/components/LassoControls/index.vue.d.ts +1 -0
- package/dist/components/LassoControls/index.vue.d.ts.map +1 -0
- package/dist/components/Loading.vue.d.ts +6 -0
- package/dist/components/Loading.vue.d.ts.map +1 -0
- package/dist/components/Loading.vue.js +21 -12
- package/dist/components/Loading.vue.js.map +1 -1
- package/dist/components/MultiselectButton.vue.d.ts +1 -0
- package/dist/components/MultiselectButton.vue.d.ts.map +1 -0
- package/dist/components/PanelModal.vue.d.ts +1 -0
- package/dist/components/PanelModal.vue.d.ts.map +1 -0
- package/dist/components/PlColorSlider.vue.d.ts +1 -0
- package/dist/components/PlColorSlider.vue.d.ts.map +1 -0
- package/dist/components/PlColorSliderThumb.vue.d.ts +1 -0
- package/dist/components/PlColorSliderThumb.vue.d.ts.map +1 -0
- package/dist/components/Popup.vue.d.ts +1 -0
- package/dist/components/Popup.vue.d.ts.map +1 -0
- package/dist/components/ReorderForm.vue.d.ts +1 -0
- package/dist/components/ReorderForm.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/icons/AxesIcon.vue.d.ts +1 -0
- package/dist/components/SettingsTabs/icons/AxesIcon.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/icons/DeleteChartIcon.vue.d.ts +1 -0
- package/dist/components/SettingsTabs/icons/DeleteChartIcon.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/icons/ExportIcon.vue.d.ts +1 -0
- package/dist/components/SettingsTabs/icons/ExportIcon.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/icons/LayersIcon.vue.d.ts +1 -0
- package/dist/components/SettingsTabs/icons/LayersIcon.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/icons/LinkIcon.vue.d.ts +1 -0
- package/dist/components/SettingsTabs/icons/LinkIcon.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/icons/LogIcon.vue.d.ts +1 -0
- package/dist/components/SettingsTabs/icons/LogIcon.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/icons/SettingsIcon.vue.d.ts +1 -0
- package/dist/components/SettingsTabs/icons/SettingsIcon.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/index.vue.d.ts +1 -0
- package/dist/components/SettingsTabs/index.vue.d.ts.map +1 -0
- package/dist/components/SettingsTabs/index.vue.js +13 -13
- package/dist/components/SettingsTabs/index.vue.js.map +1 -1
- package/dist/components/TransitionSlidePanel.vue.d.ts +1 -0
- package/dist/components/TransitionSlidePanel.vue.d.ts.map +1 -0
- package/dist/components/Zoom/ZoomInput.vue.d.ts +1 -0
- package/dist/components/Zoom/ZoomInput.vue.d.ts.map +1 -0
- package/dist/components/Zoom/index.vue.d.ts +1 -0
- package/dist/components/Zoom/index.vue.d.ts.map +1 -0
- package/dist/composition/useComponent.d.ts +1 -0
- package/dist/composition/useComponent.d.ts.map +1 -0
- package/dist/constantsAesthetic.d.ts +1 -0
- package/dist/constantsAesthetic.d.ts.map +1 -0
- package/dist/constantsCommon.d.ts +3 -1
- package/dist/constantsCommon.d.ts.map +1 -0
- package/dist/constantsCommon.js +138 -126
- package/dist/constantsCommon.js.map +1 -1
- package/dist/dataBindAes.d.ts +1 -0
- package/dist/dataBindAes.d.ts.map +1 -0
- package/dist/forms/AnnotationsForm.vue.d.ts +1 -0
- package/dist/forms/AnnotationsForm.vue.d.ts.map +1 -0
- package/dist/forms/AxesSettingsForm/BubbleAxesSettingsForm.vue.d.ts +1 -0
- package/dist/forms/AxesSettingsForm/BubbleAxesSettingsForm.vue.d.ts.map +1 -0
- package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.d.ts +1 -0
- package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.d.ts.map +1 -0
- package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js +3 -2
- package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js.map +1 -1
- package/dist/forms/AxesSettingsForm/HeatmapAxesSettingsForm.vue.d.ts +1 -0
- package/dist/forms/AxesSettingsForm/HeatmapAxesSettingsForm.vue.d.ts.map +1 -0
- package/dist/forms/AxesSettingsForm/HistogramAxesSettingsForm.vue.d.ts +1 -0
- package/dist/forms/AxesSettingsForm/HistogramAxesSettingsForm.vue.d.ts.map +1 -0
- package/dist/forms/AxesSettingsForm/ScatterplotAxesSettingsForm.vue.d.ts +1 -0
- package/dist/forms/AxesSettingsForm/ScatterplotAxesSettingsForm.vue.d.ts.map +1 -0
- package/dist/forms/AxesSettingsForm/index.vue.d.ts +1 -0
- package/dist/forms/AxesSettingsForm/index.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/BubbleForm.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/BubbleForm.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/DendroForm.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/DendroForm.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/DiscreteForm.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/DiscreteForm.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/DiscreteForm.vue.js +9 -8
- package/dist/forms/DataMappingForm/DiscreteForm.vue.js.map +1 -1
- package/dist/forms/DataMappingForm/HeatmapForm.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/HeatmapForm.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/HistogramForm.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/HistogramForm.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/Layout/FormLayout.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/Layout/FormLayout.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/Layout/MandatoryOptions.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/Layout/MandatoryOptions.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/Layout/OptionsList.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/Layout/OptionsList.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/ScatterplotForm.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/ScatterplotForm.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/ScatterplotUmapForm.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/ScatterplotUmapForm.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/index.vue.d.ts +1 -0
- package/dist/forms/DataMappingForm/index.vue.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/useBaskets.d.ts +1 -0
- package/dist/forms/DataMappingForm/useBaskets.d.ts.map +1 -0
- package/dist/forms/DataMappingForm/utils.d.ts +1 -0
- package/dist/forms/DataMappingForm/utils.d.ts.map +1 -0
- package/dist/forms/LayersForm/AesSelector.vue.d.ts +1 -0
- package/dist/forms/LayersForm/AesSelector.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/DotSizeSelector.vue.d.ts +1 -0
- package/dist/forms/LayersForm/DotSizeSelector.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/Bubble.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/Bubble.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/Dendro.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/Dendro.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Bar.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Bar.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/BinnedDots.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/BinnedDots.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Boxplot.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Boxplot.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Errorbar.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Errorbar.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/JitteredDots.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/JitteredDots.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Line.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Line.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Logo.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Logo.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Sina.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Sina.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/StackedArea.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/StackedArea.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/StackedBar.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/StackedBar.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Violin.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/Violin.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/discrete/utils.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/discrete/utils.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/heatmap/Heatmap.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/heatmap/Heatmap.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/heatmap/HeatmapAnnotations.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/heatmap/HeatmapAnnotations.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/heatmap/HeatmapClustered.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/heatmap/HeatmapClustered.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/histogram/Bins.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/histogram/Bins.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/scatterplot/Curve.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/scatterplot/Curve.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/scatterplot/Scatter.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/scatterplot/Scatter.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/Layer/scatterplot-umap/Scatter.vue.d.ts +1 -0
- package/dist/forms/LayersForm/Layer/scatterplot-umap/Scatter.vue.d.ts.map +1 -0
- package/dist/forms/LayersForm/index.vue.d.ts +1 -0
- package/dist/forms/LayersForm/index.vue.d.ts.map +1 -0
- package/dist/forms/LogForm.vue.d.ts +1 -0
- package/dist/forms/LogForm.vue.d.ts.map +1 -0
- package/dist/forms/SettingsForm.vue.d.ts +1 -0
- package/dist/forms/SettingsForm.vue.d.ts.map +1 -0
- package/dist/forms/StatisticsForm/DiscreteStatisticsForm.vue.d.ts +1 -0
- package/dist/forms/StatisticsForm/DiscreteStatisticsForm.vue.d.ts.map +1 -0
- package/dist/forms/StatisticsForm/ScatterplotStatisticsForm.vue.d.ts +1 -0
- package/dist/forms/StatisticsForm/ScatterplotStatisticsForm.vue.d.ts.map +1 -0
- package/dist/forms/StatisticsForm/index.vue.d.ts +1 -0
- package/dist/forms/StatisticsForm/index.vue.d.ts.map +1 -0
- package/dist/forms/TemplateForm.vue.d.ts +1 -0
- package/dist/forms/TemplateForm.vue.d.ts.map +1 -0
- package/dist/forms/index.d.ts +1 -0
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/helpers.d.ts +1 -0
- package/dist/helpers.d.ts.map +1 -0
- package/dist/icons/AlignCenter.vue.d.ts +1 -0
- package/dist/icons/AlignCenter.vue.d.ts.map +1 -0
- package/dist/icons/AlignLeft.vue.d.ts +1 -0
- package/dist/icons/AlignLeft.vue.d.ts.map +1 -0
- package/dist/icons/AlignRight.vue.d.ts +1 -0
- package/dist/icons/AlignRight.vue.d.ts.map +1 -0
- package/dist/icons/Annotation.vue.d.ts +1 -0
- package/dist/icons/Annotation.vue.d.ts.map +1 -0
- package/dist/icons/ArrowLeft.vue.d.ts +1 -0
- package/dist/icons/ArrowLeft.vue.d.ts.map +1 -0
- package/dist/icons/BarAndErrorIcon.vue.d.ts +1 -0
- package/dist/icons/BarAndErrorIcon.vue.d.ts.map +1 -0
- package/dist/icons/BarAndLineIcon.vue.d.ts +1 -0
- package/dist/icons/BarAndLineIcon.vue.d.ts.map +1 -0
- package/dist/icons/BarIcon.vue.d.ts +1 -0
- package/dist/icons/BarIcon.vue.d.ts.map +1 -0
- package/dist/icons/BinnedDotsIcon.vue.d.ts +1 -0
- package/dist/icons/BinnedDotsIcon.vue.d.ts.map +1 -0
- package/dist/icons/BoxplotAndBinnedIcon.vue.d.ts +1 -0
- package/dist/icons/BoxplotAndBinnedIcon.vue.d.ts.map +1 -0
- package/dist/icons/BoxplotAndJitterIcon.vue.d.ts +1 -0
- package/dist/icons/BoxplotAndJitterIcon.vue.d.ts.map +1 -0
- package/dist/icons/BoxplotIcon.vue.d.ts +1 -0
- package/dist/icons/BoxplotIcon.vue.d.ts.map +1 -0
- package/dist/icons/ColorsIcon.vue.d.ts +1 -0
- package/dist/icons/ColorsIcon.vue.d.ts.map +1 -0
- package/dist/icons/DendroIcon.vue.d.ts +1 -0
- package/dist/icons/DendroIcon.vue.d.ts.map +1 -0
- package/dist/icons/Down.vue.d.ts +1 -0
- package/dist/icons/Down.vue.d.ts.map +1 -0
- package/dist/icons/EditIcon.vue.d.ts +1 -0
- package/dist/icons/EditIcon.vue.d.ts.map +1 -0
- package/dist/icons/FrameBottom.vue.d.ts +1 -0
- package/dist/icons/FrameBottom.vue.d.ts.map +1 -0
- package/dist/icons/FrameEmpty.vue.d.ts +1 -0
- package/dist/icons/FrameEmpty.vue.d.ts.map +1 -0
- package/dist/icons/FrameFull.vue.d.ts +1 -0
- package/dist/icons/FrameFull.vue.d.ts.map +1 -0
- package/dist/icons/FrameLeft.vue.d.ts +1 -0
- package/dist/icons/FrameLeft.vue.d.ts.map +1 -0
- package/dist/icons/FrameLeftBottom.vue.d.ts +1 -0
- package/dist/icons/FrameLeftBottom.vue.d.ts.map +1 -0
- package/dist/icons/HeatmapAnnotation.vue.d.ts +1 -0
- package/dist/icons/HeatmapAnnotation.vue.d.ts.map +1 -0
- package/dist/icons/HeatmapIcon.vue.d.ts +1 -0
- package/dist/icons/HeatmapIcon.vue.d.ts.map +1 -0
- package/dist/icons/JitteredDotsIcon.vue.d.ts +1 -0
- package/dist/icons/JitteredDotsIcon.vue.d.ts.map +1 -0
- package/dist/icons/LineAndBinnedIcon.vue.d.ts +1 -0
- package/dist/icons/LineAndBinnedIcon.vue.d.ts.map +1 -0
- package/dist/icons/LineAndErrorbarIcon.vue.d.ts +1 -0
- package/dist/icons/LineAndErrorbarIcon.vue.d.ts.map +1 -0
- package/dist/icons/LineAndJitterIcon.vue.d.ts +1 -0
- package/dist/icons/LineAndJitterIcon.vue.d.ts.map +1 -0
- package/dist/icons/LineIcon.vue.d.ts +1 -0
- package/dist/icons/LineIcon.vue.d.ts.map +1 -0
- package/dist/icons/LogoIcon.vue.d.ts +1 -0
- package/dist/icons/LogoIcon.vue.d.ts.map +1 -0
- package/dist/icons/MinusIcon.vue.d.ts +1 -0
- package/dist/icons/MinusIcon.vue.d.ts.map +1 -0
- package/dist/icons/PlusIcon.vue.d.ts +1 -0
- package/dist/icons/PlusIcon.vue.d.ts.map +1 -0
- package/dist/icons/Right.vue.d.ts +1 -0
- package/dist/icons/Right.vue.d.ts.map +1 -0
- package/dist/icons/Rotation0.vue.d.ts +1 -0
- package/dist/icons/Rotation0.vue.d.ts.map +1 -0
- package/dist/icons/Rotation45.vue.d.ts +1 -0
- package/dist/icons/Rotation45.vue.d.ts.map +1 -0
- package/dist/icons/Rotation90.vue.d.ts +1 -0
- package/dist/icons/Rotation90.vue.d.ts.map +1 -0
- package/dist/icons/ScatterplotIcon.vue.d.ts +1 -0
- package/dist/icons/ScatterplotIcon.vue.d.ts.map +1 -0
- package/dist/icons/SinaIcon.vue.d.ts +1 -0
- package/dist/icons/SinaIcon.vue.d.ts.map +1 -0
- package/dist/icons/StackedAreaIcon.vue.d.ts +1 -0
- package/dist/icons/StackedAreaIcon.vue.d.ts.map +1 -0
- package/dist/icons/StackedBarIcon.vue.d.ts +1 -0
- package/dist/icons/StackedBarIcon.vue.d.ts.map +1 -0
- package/dist/icons/StatisticsIcon.vue.d.ts +1 -0
- package/dist/icons/StatisticsIcon.vue.d.ts.map +1 -0
- package/dist/icons/TemplateIcon.vue.d.ts +1 -0
- package/dist/icons/TemplateIcon.vue.d.ts.map +1 -0
- package/dist/icons/ViolinAndBinnedIcon.vue.d.ts +1 -0
- package/dist/icons/ViolinAndBinnedIcon.vue.d.ts.map +1 -0
- package/dist/icons/ViolinAndJitterIcon.vue.d.ts +1 -0
- package/dist/icons/ViolinAndJitterIcon.vue.d.ts.map +1 -0
- package/dist/icons/ViolinIcon.vue.d.ts +1 -0
- package/dist/icons/ViolinIcon.vue.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.vue.d.ts +1 -0
- package/dist/index.vue.d.ts.map +1 -0
- package/dist/index.vue.js +166 -151
- package/dist/index.vue.js.map +1 -1
- package/dist/keys.d.ts +1 -0
- package/dist/keys.d.ts.map +1 -0
- package/dist/store.d.ts +1 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/types.d.ts +36 -3
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/addFixedOptionsToState.d.ts +1 -0
- package/dist/utils/addFixedOptionsToState.d.ts.map +1 -0
- package/dist/utils/calculateDiscreteGroups.d.ts +1 -0
- package/dist/utils/calculateDiscreteGroups.d.ts.map +1 -0
- package/dist/utils/copyJSON.d.ts +1 -0
- package/dist/utils/copyJSON.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.js +6 -5
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeChartSettings.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/composeChartSettings.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/composeDendroSettings.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/composeDendroSettings.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.js +25 -24
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeHistogramSettings.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/composeHistogramSettings.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/getAxesDataFromForms.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/getAxesDataFromForms.d.ts.map +1 -0
- package/dist/utils/createChartSettingsForRender/getLayersDataFromForms.d.ts +1 -0
- package/dist/utils/createChartSettingsForRender/getLayersDataFromForms.d.ts.map +1 -0
- package/dist/utils/getPopupHeightForFixedAesList.d.ts +1 -0
- package/dist/utils/getPopupHeightForFixedAesList.d.ts.map +1 -0
- package/dist/utils/getStatisticsOptions.d.ts +1 -0
- package/dist/utils/getStatisticsOptions.d.ts.map +1 -0
- package/dist/utils/getUsedAesInMapping.d.ts +1 -0
- package/dist/utils/getUsedAesInMapping.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/loadDefaultSources.d.ts +1 -0
- package/dist/utils/loadDefaultSources.d.ts.map +1 -0
- package/dist/utils/loadUniqueValuesToSave.d.ts +1 -0
- package/dist/utils/loadUniqueValuesToSave.d.ts.map +1 -0
- package/dist/utils/saveToFile.d.ts +1 -0
- package/dist/utils/saveToFile.d.ts.map +1 -0
- package/package.json +8 -8
package/dist/constantsCommon.js
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { DEFAULT_DOT_SHAPE as s, DEFAULT_LINE_TYPE as d, DEFAULT_BLACK as u } from "./constantsAesthetic.js";
|
|
2
|
-
import { DEFAULT_LINE_COLOR as i, DEFAULT_DOT_SIZE as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
2
|
+
import { DEFAULT_LINE_COLOR as i, DEFAULT_DOT_SIZE as W } from "./dataBindAes.js";
|
|
3
|
+
import J from "./icons/BarAndErrorIcon.vue.js";
|
|
4
|
+
import N from "./icons/BarAndLineIcon.vue.js";
|
|
5
|
+
import j from "./icons/BarIcon.vue.js";
|
|
6
|
+
import K from "./icons/BinnedDotsIcon.vue.js";
|
|
7
|
+
import q from "./icons/BoxplotAndBinnedIcon.vue.js";
|
|
8
|
+
import Q from "./icons/BoxplotAndJitterIcon.vue.js";
|
|
9
|
+
import Z from "./icons/BoxplotIcon.vue.js";
|
|
10
|
+
import F from "./icons/DendroIcon.vue.js";
|
|
11
|
+
import U from "./icons/HeatmapIcon.vue.js";
|
|
12
|
+
import $ from "./icons/JitteredDotsIcon.vue.js";
|
|
13
|
+
import ee from "./icons/LineAndBinnedIcon.vue.js";
|
|
14
|
+
import te from "./icons/LineAndErrorbarIcon.vue.js";
|
|
15
|
+
import Y from "./icons/LineAndJitterIcon.vue.js";
|
|
16
|
+
import z from "./icons/LineIcon.vue.js";
|
|
17
17
|
import oe from "./icons/LogoIcon.vue.js";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
|
|
26
|
-
|
|
18
|
+
import re from "./icons/ScatterplotIcon.vue.js";
|
|
19
|
+
import ne from "./icons/SinaIcon.vue.js";
|
|
20
|
+
import ae from "./icons/StackedBarIcon.vue.js";
|
|
21
|
+
import le from "./icons/StackedAreaIcon.vue.js";
|
|
22
|
+
import ie from "./icons/ViolinAndBinnedIcon.vue.js";
|
|
23
|
+
import se from "./icons/ViolinAndJitterIcon.vue.js";
|
|
24
|
+
import de from "./icons/ViolinIcon.vue.js";
|
|
25
|
+
import { PL_PLACEHOLDER_TEXTS as V } from "@platforma-sdk/ui-vue";
|
|
26
|
+
function Ne(t, o) {
|
|
27
|
+
return o === "discrete" ? t && ue[t] ? t : "box" : o === "scatterplot" || o === "scatterplot-umap" ? t && ce[t] ? t : "dots" : o === "dendro" ? "dendro" : t ?? "heatmap";
|
|
27
28
|
}
|
|
28
|
-
const
|
|
29
|
+
const ue = {
|
|
29
30
|
box: ["box"],
|
|
30
31
|
box_binnedDots: ["box", "binnedDots"],
|
|
31
32
|
box_jitteredDots: ["box", "jitteredDots"],
|
|
@@ -46,7 +47,7 @@ const de = {
|
|
|
46
47
|
errorbar: ["errorbar"],
|
|
47
48
|
sina: ["sina"],
|
|
48
49
|
logo: ["logo"]
|
|
49
|
-
},
|
|
50
|
+
}, ce = {
|
|
50
51
|
dots: ["dots"],
|
|
51
52
|
curve: ["curve"],
|
|
52
53
|
curve_dots: ["curve", "dots"]
|
|
@@ -56,9 +57,9 @@ const de = {
|
|
|
56
57
|
}, Fe = {
|
|
57
58
|
heatmap: ["heatmap"],
|
|
58
59
|
heatmapClustered: ["heatmapClustered"]
|
|
59
|
-
},
|
|
60
|
+
}, Ue = {
|
|
60
61
|
bins: ["bins"]
|
|
61
|
-
},
|
|
62
|
+
}, Ye = {
|
|
62
63
|
box: "Boxplot",
|
|
63
64
|
binnedDots: "Binned Dots",
|
|
64
65
|
jitteredDots: "Jittered Dots",
|
|
@@ -78,10 +79,10 @@ const de = {
|
|
|
78
79
|
bins: "Histogram",
|
|
79
80
|
bubble: "Bubble plot"
|
|
80
81
|
};
|
|
81
|
-
function
|
|
82
|
-
var l, a, n, c, m,
|
|
83
|
-
if (
|
|
84
|
-
const e =
|
|
82
|
+
function ze(t, o) {
|
|
83
|
+
var l, a, n, c, m, p, f, b, g, h, A, _, T, L, D, E, S, v, x, M, y, I, C, B, O, P, k, w, G, H, R;
|
|
84
|
+
if (t === "discrete") {
|
|
85
|
+
const e = o;
|
|
85
86
|
return {
|
|
86
87
|
overall: {
|
|
87
88
|
data: { testMethod: ((a = (l = e == null ? void 0 : e.overall) == null ? void 0 : l.data) == null ? void 0 : a.testMethod) ?? null },
|
|
@@ -89,47 +90,47 @@ function Ye(o, t) {
|
|
|
89
90
|
},
|
|
90
91
|
referenceGroup: {
|
|
91
92
|
data: {
|
|
92
|
-
testMethod: ((
|
|
93
|
-
referenceGroup: ((b = (
|
|
93
|
+
testMethod: ((p = (m = e == null ? void 0 : e.referenceGroup) == null ? void 0 : m.data) == null ? void 0 : p.testMethod) ?? null,
|
|
94
|
+
referenceGroup: ((b = (f = e == null ? void 0 : e.referenceGroup) == null ? void 0 : f.data) == null ? void 0 : b.referenceGroup) ?? null,
|
|
94
95
|
correctionMethod: ((h = (g = e == null ? void 0 : e.referenceGroup) == null ? void 0 : g.data) == null ? void 0 : h.correctionMethod) ?? "Bonferroni",
|
|
95
96
|
format: ((_ = (A = e == null ? void 0 : e.referenceGroup) == null ? void 0 : A.data) == null ? void 0 : _.format) ?? "significance",
|
|
96
|
-
ns: ((
|
|
97
|
+
ns: ((L = (T = e == null ? void 0 : e.referenceGroup) == null ? void 0 : T.data) == null ? void 0 : L.ns) ?? !1
|
|
97
98
|
},
|
|
98
99
|
validity: {
|
|
99
|
-
testMethod: ((
|
|
100
|
-
referenceGroup: ((
|
|
100
|
+
testMethod: ((E = (D = e == null ? void 0 : e.referenceGroup) == null ? void 0 : D.validity) == null ? void 0 : E.testMethod) ?? !0,
|
|
101
|
+
referenceGroup: ((v = (S = e == null ? void 0 : e.referenceGroup) == null ? void 0 : S.validity) == null ? void 0 : v.referenceGroup) ?? !0
|
|
101
102
|
}
|
|
102
103
|
},
|
|
103
104
|
pairwise: {
|
|
104
105
|
data: {
|
|
105
|
-
testMethod: ((
|
|
106
|
+
testMethod: ((M = (x = e == null ? void 0 : e.pairwise) == null ? void 0 : x.data) == null ? void 0 : M.testMethod) ?? null,
|
|
106
107
|
correctionMethod: ((I = (y = e == null ? void 0 : e.pairwise) == null ? void 0 : y.data) == null ? void 0 : I.correctionMethod) ?? "Bonferroni",
|
|
107
|
-
format: ((
|
|
108
|
-
ns: ((
|
|
108
|
+
format: ((B = (C = e == null ? void 0 : e.pairwise) == null ? void 0 : C.data) == null ? void 0 : B.format) ?? "significance",
|
|
109
|
+
ns: ((P = (O = e == null ? void 0 : e.pairwise) == null ? void 0 : O.data) == null ? void 0 : P.ns) ?? !1
|
|
109
110
|
},
|
|
110
|
-
validity: { testMethod: ((
|
|
111
|
+
validity: { testMethod: ((w = (k = e == null ? void 0 : e.pairwise) == null ? void 0 : k.validity) == null ? void 0 : w.testMethod) ?? !0 }
|
|
111
112
|
}
|
|
112
113
|
};
|
|
113
114
|
}
|
|
114
|
-
const r =
|
|
115
|
+
const r = o;
|
|
115
116
|
return {
|
|
116
117
|
trend: {
|
|
117
|
-
on: ((
|
|
118
|
-
trim: ((
|
|
119
|
-
showLegend: ((
|
|
118
|
+
on: ((G = r == null ? void 0 : r.trend) == null ? void 0 : G.on) ?? !1,
|
|
119
|
+
trim: ((H = r == null ? void 0 : r.trend) == null ? void 0 : H.trim) ?? !1,
|
|
120
|
+
showLegend: ((R = r == null ? void 0 : r.trend) == null ? void 0 : R.showLegend) ?? !0
|
|
120
121
|
}
|
|
121
122
|
};
|
|
122
123
|
}
|
|
123
|
-
function
|
|
124
|
-
return typeof
|
|
124
|
+
function Ve(t) {
|
|
125
|
+
return typeof t < "u" && t !== null && typeof t == "object" && "min" in t && "max" in t;
|
|
125
126
|
}
|
|
126
|
-
function
|
|
127
|
-
return typeof
|
|
127
|
+
function Xe(t) {
|
|
128
|
+
return typeof t == "object" && t !== null && "type" in t;
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
-
return typeof
|
|
130
|
+
function We(t) {
|
|
131
|
+
return typeof t < "u" && t !== null && typeof t == "object" && "range" in t;
|
|
131
132
|
}
|
|
132
|
-
const
|
|
133
|
+
const me = () => ({
|
|
133
134
|
// bubble
|
|
134
135
|
bubble: {
|
|
135
136
|
NAValueAs: 0,
|
|
@@ -151,7 +152,7 @@ const ce = () => ({
|
|
|
151
152
|
dendro: {
|
|
152
153
|
dotFill: u,
|
|
153
154
|
dotShape: s,
|
|
154
|
-
dotSize:
|
|
155
|
+
dotSize: W,
|
|
155
156
|
lineColor: u,
|
|
156
157
|
mode: "normal",
|
|
157
158
|
leavesMode: "normal",
|
|
@@ -275,14 +276,14 @@ const ce = () => ({
|
|
|
275
276
|
opacity: 1
|
|
276
277
|
}
|
|
277
278
|
});
|
|
278
|
-
function
|
|
279
|
-
const
|
|
280
|
-
return Object.keys(
|
|
279
|
+
function Je(t) {
|
|
280
|
+
const o = me();
|
|
281
|
+
return Object.keys(o).reduce((l, a) => (Object.assign(
|
|
281
282
|
l[a],
|
|
282
|
-
(
|
|
283
|
-
), l),
|
|
283
|
+
(t == null ? void 0 : t[a]) ?? {}
|
|
284
|
+
), l), o);
|
|
284
285
|
}
|
|
285
|
-
const
|
|
286
|
+
const pe = () => ({
|
|
286
287
|
title: {
|
|
287
288
|
value: "Graph 1",
|
|
288
289
|
position: "center",
|
|
@@ -340,76 +341,76 @@ const me = () => ({
|
|
|
340
341
|
showLegend: !0
|
|
341
342
|
}
|
|
342
343
|
});
|
|
343
|
-
function
|
|
344
|
-
return
|
|
344
|
+
function X(t) {
|
|
345
|
+
return t === "full" || t === "none";
|
|
345
346
|
}
|
|
346
|
-
function
|
|
347
|
+
function Ke(t, o) {
|
|
347
348
|
var a;
|
|
348
|
-
const r =
|
|
349
|
-
if (!
|
|
349
|
+
const r = pe();
|
|
350
|
+
if (!o)
|
|
350
351
|
return r;
|
|
351
352
|
function l(n) {
|
|
352
|
-
return !n ||
|
|
353
|
+
return !n || t === "heatmap" && !X(n) ? "full" : t !== "heatmap" && X(n) && n === "none" ? "empty" : n;
|
|
353
354
|
}
|
|
354
355
|
return {
|
|
355
356
|
title: {
|
|
356
357
|
...r.title,
|
|
357
|
-
...
|
|
358
|
+
...o.title
|
|
358
359
|
},
|
|
359
360
|
axisX: {
|
|
360
361
|
...r.axisX,
|
|
361
|
-
...
|
|
362
|
+
...o.axisX
|
|
362
363
|
},
|
|
363
364
|
axisY: {
|
|
364
365
|
...r.axisY,
|
|
365
|
-
...
|
|
366
|
+
...o.axisY
|
|
366
367
|
},
|
|
367
368
|
legend: {
|
|
368
369
|
...r.legend,
|
|
369
|
-
...
|
|
370
|
+
...o.legend
|
|
370
371
|
},
|
|
371
372
|
other: {
|
|
372
373
|
...r.other,
|
|
373
|
-
...
|
|
374
|
-
frame: l((a =
|
|
374
|
+
...o.other,
|
|
375
|
+
frame: l((a = o.other) == null ? void 0 : a.frame)
|
|
375
376
|
}
|
|
376
377
|
};
|
|
377
378
|
}
|
|
378
|
-
const
|
|
379
|
-
box:
|
|
380
|
-
box_binnedDots:
|
|
381
|
-
box_jitteredDots:
|
|
382
|
-
binnedDots:
|
|
383
|
-
jitteredDots:
|
|
384
|
-
violin:
|
|
385
|
-
violin_binnedDots:
|
|
386
|
-
violin_jitteredDots:
|
|
387
|
-
bar:
|
|
388
|
-
bar_line:
|
|
389
|
-
bar_errorbar:
|
|
390
|
-
stackedBar:
|
|
391
|
-
stackedArea:
|
|
392
|
-
line:
|
|
393
|
-
line_binnedDots:
|
|
394
|
-
line_jitteredDots:
|
|
395
|
-
line_errorbar:
|
|
396
|
-
errorbar:
|
|
397
|
-
sina:
|
|
379
|
+
const qe = {
|
|
380
|
+
box: Z,
|
|
381
|
+
box_binnedDots: q,
|
|
382
|
+
box_jitteredDots: Q,
|
|
383
|
+
binnedDots: K,
|
|
384
|
+
jitteredDots: $,
|
|
385
|
+
violin: de,
|
|
386
|
+
violin_binnedDots: ie,
|
|
387
|
+
violin_jitteredDots: se,
|
|
388
|
+
bar: j,
|
|
389
|
+
bar_line: N,
|
|
390
|
+
bar_errorbar: J,
|
|
391
|
+
stackedBar: ae,
|
|
392
|
+
stackedArea: le,
|
|
393
|
+
line: z,
|
|
394
|
+
line_binnedDots: ee,
|
|
395
|
+
line_jitteredDots: Y,
|
|
396
|
+
line_errorbar: te,
|
|
397
|
+
errorbar: N,
|
|
398
|
+
sina: ne,
|
|
398
399
|
logo: oe,
|
|
399
|
-
dots:
|
|
400
|
-
curve:
|
|
401
|
-
curve_dots:
|
|
402
|
-
heatmap:
|
|
403
|
-
heatmapClustered:
|
|
404
|
-
dendro:
|
|
405
|
-
bins:
|
|
406
|
-
bubble:
|
|
407
|
-
},
|
|
400
|
+
dots: re,
|
|
401
|
+
curve: z,
|
|
402
|
+
curve_dots: Y,
|
|
403
|
+
heatmap: U,
|
|
404
|
+
heatmapClustered: F,
|
|
405
|
+
dendro: F,
|
|
406
|
+
bins: j,
|
|
407
|
+
bubble: U
|
|
408
|
+
}, Qe = [
|
|
408
409
|
{ value: "ttest", text: "TTest" },
|
|
409
410
|
{ value: "anova", text: "ANOVA" },
|
|
410
411
|
{ value: "wilcoxon", text: "Wilcoxon" },
|
|
411
412
|
{ value: "kruskalWallis", text: "Kruskal-Wallis" }
|
|
412
|
-
],
|
|
413
|
+
], Ze = [
|
|
413
414
|
{ value: "BenjaminiHochberg", text: "Benjamini-Hochberg" },
|
|
414
415
|
{ value: "BenjaminiYekutieli", text: "Benjamini-Yekutieli" },
|
|
415
416
|
{ value: "Bonferroni", text: "Bonferroni" },
|
|
@@ -417,40 +418,51 @@ const Je = {
|
|
|
417
418
|
{ value: "Holm", text: "Holm" },
|
|
418
419
|
{ value: "Hommel", text: "Hommel" },
|
|
419
420
|
{ value: "none", text: "None" }
|
|
420
|
-
],
|
|
421
|
+
], $e = [
|
|
421
422
|
{ value: "pValue", text: "p-value" },
|
|
422
423
|
{ value: "significance", text: "significance" }
|
|
423
|
-
],
|
|
424
|
+
], et = 600, tt = 350, ot = 400, rt = 250, nt = 100, at = [
|
|
424
425
|
{ value: "sum", text: "Sum" },
|
|
425
426
|
{ value: "mean", text: "Mean" },
|
|
426
427
|
{ value: "median", text: "Median" },
|
|
427
428
|
{ value: "min", text: "Min" },
|
|
428
429
|
{ value: "max", text: "Max" }
|
|
429
|
-
]
|
|
430
|
+
], lt = {
|
|
431
|
+
noPframe: { title: 'Configure settings and click "Run" to see the data' },
|
|
432
|
+
notReady: { title: "Please set up the data mapping" },
|
|
433
|
+
empty: { title: "No data to show" },
|
|
434
|
+
inconsistent: { title: "Remove inconsistent values from the data mapping" },
|
|
435
|
+
knownError: { title: "" },
|
|
436
|
+
unknownError: { title: "Unknown error" },
|
|
437
|
+
ready: { title: "" },
|
|
438
|
+
loading: { title: "Recalculating data projections...", subtitle: "Retrieving remote assets and rendering high-volume points" },
|
|
439
|
+
running: { title: V.RUNNING.title, subtitle: V.RUNNING.subtitle }
|
|
440
|
+
};
|
|
430
441
|
export {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
442
|
+
at as AGGREGATION_METHOD_OPTIONS,
|
|
443
|
+
tt as DEFAULT_HEIGHT,
|
|
444
|
+
rt as DEFAULT_HEIGHT_SMALL,
|
|
445
|
+
me as DEFAULT_LAYERS_SETTINGS,
|
|
446
|
+
lt as DEFAULT_STATUS_TEXT,
|
|
447
|
+
et as DEFAULT_WIDTH,
|
|
448
|
+
ot as DEFAULT_WIDTH_SMALL,
|
|
449
|
+
ue as DISCRETE_TEMPLATES_MAP,
|
|
450
|
+
$e as FORMAT_P_VALUE_OPTIONS,
|
|
439
451
|
Fe as HEATMAP_TEMPLATES_MAP,
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
452
|
+
Ue as HISTOGRAM_TEMPLATES_MAP,
|
|
453
|
+
qe as LAYER_ICONS,
|
|
454
|
+
Ye as LAYER_TITLES,
|
|
455
|
+
nt as MAX_SEARCH_OPTIONS_LIST_LENGTH,
|
|
456
|
+
ce as SCATTERPLOT_TEMPLATES_MAP,
|
|
445
457
|
je as SCATTERPLOT_UMAP_TEMPLATES_MAP,
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
458
|
+
Ze as STAT_CORRECTION_METHOD,
|
|
459
|
+
Qe as STAT_TEST_METHOD,
|
|
460
|
+
Ke as getInitialAxesSettings,
|
|
461
|
+
Je as getInitialLayersSettings,
|
|
462
|
+
ze as getInitialStatisticsState,
|
|
463
|
+
Ne as getInitialTemplate,
|
|
464
|
+
We as isContinuousDataMapping,
|
|
465
|
+
Xe as isMappedAes,
|
|
466
|
+
Ve as isNumberRange
|
|
455
467
|
};
|
|
456
468
|
//# sourceMappingURL=constantsCommon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constantsCommon.js","sources":["../src/constantsCommon.ts"],"sourcesContent":["import type { ChartType } from '@milaboratories/pf-plots';\nimport type { Component } from 'vue';\nimport type {\n DotShape,\n LineType,\n} from './components/AesSettings/types';\nimport {\n DEFAULT_BLACK,\n DEFAULT_DOT_SHAPE,\n DEFAULT_LINE_TYPE,\n} from './constantsAesthetic';\nimport { DEFAULT_DOT_SIZE, DEFAULT_LINE_COLOR } from './dataBindAes';\nimport BarAndErrorIcon from './icons/BarAndErrorIcon.vue';\nimport BarAndLineIcon from './icons/BarAndLineIcon.vue';\nimport BarIcon from './icons/BarIcon.vue';\nimport BinnedDotsIcon from './icons/BinnedDotsIcon.vue';\nimport BoxplotAndBinnedIcon from './icons/BoxplotAndBinnedIcon.vue';\nimport BoxplotAndJitterIcon from './icons/BoxplotAndJitterIcon.vue';\nimport BoxplotIcon from './icons/BoxplotIcon.vue';\nimport DendroIcon from './icons/DendroIcon.vue';\nimport HeatmapIcon from './icons/HeatmapIcon.vue';\nimport JitteredDotsIcon from './icons/JitteredDotsIcon.vue';\nimport LineAndBinnedIcon from './icons/LineAndBinnedIcon.vue';\nimport LineAndErrorbarIcon from './icons/LineAndErrorbarIcon.vue';\nimport LineAndJitterIcon from './icons/LineAndJitterIcon.vue';\nimport LineIcon from './icons/LineIcon.vue';\nimport LogoIcon from './icons/LogoIcon.vue';\nimport ScatterplotIcon from './icons/ScatterplotIcon.vue';\nimport SinaIcon from './icons/SinaIcon.vue';\nimport StackedBarIcon from './icons/StackedBarIcon.vue';\nimport StackedAreaIcon from './icons/StackedAreaIcon.vue';\nimport ViolinAndBinnedIcon from './icons/ViolinAndBinnedIcon.vue';\nimport ViolinAndJitterIcon from './icons/ViolinAndJitterIcon.vue';\nimport ViolinIcon from './icons/ViolinIcon.vue';\nimport type {\n AxisTitleMode,\n DeepPartial,\n DiscreteLayer,\n DiscreteLayersTemplate,\n Frame,\n HeatmapFrame, HeatmapLayer, HeatmapLayerTemplate, HistogramLayer, HistogramLayerTemplate,\n LabelsPosition,\n LabelsRotation,\n Layer,\n LayersTemplate,\n Scale,\n ScatterplotLayer,\n ScatterplotLayersTemplate,\n TitlePosition,\n} from './types';\n\nexport const DEFAULT_CHART_TYPE: ChartType = 'discrete';\n\nexport function getInitialTemplate(\n restoredTemplate: LayersTemplate | null,\n chartType: ChartType,\n) {\n if (chartType === 'discrete') {\n return restoredTemplate\n && DISCRETE_TEMPLATES_MAP[restoredTemplate as DiscreteLayersTemplate]\n ? restoredTemplate\n : 'box';\n }\n if (chartType === 'scatterplot' || chartType === 'scatterplot-umap') {\n return restoredTemplate\n && SCATTERPLOT_TEMPLATES_MAP[restoredTemplate as ScatterplotLayersTemplate]\n ? restoredTemplate\n : 'dots';\n }\n if (chartType === 'dendro') {\n return 'dendro';\n }\n return restoredTemplate ?? 'heatmap';\n}\n\nexport const DISCRETE_TEMPLATES_MAP: Record<\n DiscreteLayersTemplate,\n DiscreteLayer[]\n> = {\n box: ['box'],\n box_binnedDots: ['box', 'binnedDots'],\n box_jitteredDots: ['box', 'jitteredDots'],\n violin: ['violin'],\n violin_binnedDots: ['violin', 'binnedDots'],\n violin_jitteredDots: ['violin', 'jitteredDots'],\n binnedDots: ['binnedDots'],\n jitteredDots: ['jitteredDots'],\n bar: ['bar'],\n bar_line: ['bar', 'line'],\n bar_errorbar: ['bar', 'errorbar'],\n stackedBar: ['stackedBar'],\n stackedArea: ['stackedArea'],\n line: ['line'],\n line_jitteredDots: ['line', 'jitteredDots'],\n line_binnedDots: ['line', 'binnedDots'],\n line_errorbar: ['line', 'errorbar'],\n errorbar: ['errorbar'],\n sina: ['sina'],\n logo: ['logo'],\n};\n\nexport const SCATTERPLOT_TEMPLATES_MAP: Record<\n ScatterplotLayersTemplate,\n ScatterplotLayer[]\n> = {\n dots: ['dots'],\n curve: ['curve'],\n curve_dots: ['curve', 'dots'],\n};\n\nexport const SCATTERPLOT_UMAP_TEMPLATES_MAP: Partial<Record<\n ScatterplotLayersTemplate,\n ScatterplotLayer[]\n>> = {\n dots: ['dots'],\n curve_dots: ['curve', 'dots'],\n};\n\nexport const HEATMAP_TEMPLATES_MAP: Record<HeatmapLayerTemplate, HeatmapLayer[]> = {\n heatmap: ['heatmap'],\n heatmapClustered: ['heatmapClustered'],\n};\nexport const HISTOGRAM_TEMPLATES_MAP: Record<HistogramLayerTemplate, HistogramLayer[]> = {\n bins: ['bins'],\n};\nexport const LAYER_TITLES: Record<Layer, string> = {\n box: 'Boxplot',\n binnedDots: 'Binned Dots',\n jitteredDots: 'Jittered Dots',\n violin: 'Violins',\n bar: 'Bar',\n stackedBar: 'Stacked Bar',\n stackedArea: 'Stacked Bar + Stream Area',\n line: 'Line',\n errorbar: 'Error Bar',\n sina: 'Sina',\n logo: 'Logo Plot',\n dots: 'Scatter Plot',\n curve: 'Curve',\n heatmap: 'Heatmap',\n heatmapClustered: 'Heatmap + Dendro',\n dendro: 'Dendrogram',\n bins: 'Histogram',\n bubble: 'Bubble plot',\n};\n\nexport type DiscreteStatisticsState = {\n overall: {\n data: { testMethod: null | string };\n validity: { testMethod: boolean };\n };\n referenceGroup: {\n data: {\n testMethod: null | string;\n referenceGroup: null | string;\n correctionMethod: string;\n format: 'significance' | 'pValue';\n ns: boolean;\n };\n validity: {\n testMethod: boolean;\n referenceGroup: boolean;\n };\n };\n pairwise: {\n data: {\n testMethod: null | string;\n correctionMethod: string;\n format: 'significance' | 'pValue';\n ns: boolean;\n };\n validity: { testMethod: boolean };\n };\n};\n\nexport type ScatterplotStatisticsState = {\n trend: {\n on: boolean;\n trim: boolean;\n showLegend: boolean;\n };\n};\n\nexport type StatisticsState = DiscreteStatisticsState | ScatterplotStatisticsState;\n\nexport function getInitialStatisticsState(chartType: ChartType, initialData?: DeepPartial<StatisticsState>): StatisticsState {\n if (chartType === 'discrete') {\n const initial = initialData as DiscreteStatisticsState;\n return {\n overall: {\n data: { testMethod: initial?.overall?.data?.testMethod ?? null },\n validity: { testMethod: initial?.overall?.validity?.testMethod ?? true },\n },\n referenceGroup: {\n data: {\n testMethod: initial?.referenceGroup?.data?.testMethod ?? null,\n referenceGroup: initial?.referenceGroup?.data?.referenceGroup ?? null,\n correctionMethod: initial?.referenceGroup?.data?.correctionMethod ?? 'Bonferroni',\n format: initial?.referenceGroup?.data?.format ?? 'significance',\n ns: initial?.referenceGroup?.data?.ns ?? false,\n },\n validity: {\n testMethod: initial?.referenceGroup?.validity?.testMethod ?? true,\n referenceGroup: initial?.referenceGroup?.validity?.referenceGroup ?? true,\n },\n },\n pairwise: {\n data: {\n testMethod: initial?.pairwise?.data?.testMethod ?? null,\n correctionMethod: initial?.pairwise?.data?.correctionMethod ?? 'Bonferroni',\n format: initial?.pairwise?.data?.format ?? 'significance',\n ns: initial?.pairwise?.data?.ns ?? false,\n },\n validity: { testMethod: initial?.pairwise?.validity?.testMethod ?? true },\n },\n } as DiscreteStatisticsState;\n }\n const initial = initialData as ScatterplotStatisticsState;\n return {\n trend: {\n on: initial?.trend?.on ?? false,\n trim: initial?.trend?.trim ?? false,\n showLegend: initial?.trend?.showLegend ?? true,\n },\n };\n}\n\nexport type NumberRange = { min: number; max: number };\nexport type MappingLink = { type: string; value?: string }; // {type: 'primaryGrouping'} for example\nexport type ColorAes = string | MappingLink;\nexport type DotShapeAes = DotShape | MappingLink;\nexport type DotSizeAes = number | NumberRange;\nexport type LineTypeAes = LineType | MappingLink;\nexport type FixedOrMappedAes = ColorAes | DotShapeAes | LineTypeAes;\n\nexport type ContinuousDataMappingSize = {\n column: string;\n range: NumberRange;\n};\n\nexport type ContinuousDataMappingForGraph<T extends string | number> = { columnName: ColumnNameSchema; domain: number[]; range: T[]; type: 'linear' | 'log' };\n\nexport type ColumnNameSchema = {\n type: 'column';\n value: string;\n label?: string;\n valueLabels?: string;\n};\n\nexport function isNumberRange(v: number | NumberRange | null | undefined): v is NumberRange {\n return typeof v !== 'undefined' && v !== null && typeof v === 'object' && 'min' in v && 'max' in v;\n}\n\nexport function isMappedAes(\n item: FixedOrMappedAes | null | string | number | boolean | unknown,\n): item is MappingLink {\n return typeof item === 'object' && item !== null && 'type' in item;\n}\n\nexport function isContinuousDataMapping(v: ContinuousDataMappingSize | MappingLink | number | string | null | undefined): v is ContinuousDataMappingSize {\n return typeof v !== 'undefined' && v !== null && typeof v === 'object' && 'range' in v;\n}\n\nexport type LayersSettings = {\n // bubble\n bubble: {\n NAValueAs: number | null;\n minRadius: number;\n maxRadius: number;\n normalizationDirection: 'row' | 'column' | null;\n normalizationMethod: 'standardScaling' | 'meanNormalization';\n aggregateByX: boolean;\n aggregateByY: boolean;\n aggregationMethod: 'mean' | 'median' | 'min' | 'max';\n strokeColor: null | string;\n };\n // histogram\n bins: {\n fillColor: ColorAes | null;\n opacity: number;\n };\n // dendrogram\n dendro: {\n dotFill: ColorAes;\n dotShape: DotShapeAes;\n dotSize: DotSizeAes;\n lineColor: ColorAes;\n mode: 'normal' | 'useAllNodesAsLeaves';\n leavesMode: 'normal' | 'alignLeavesToLine';\n showTable: boolean;\n showLegend: boolean;\n };\n // heatmap\n heatmap: {\n NAValueAs: number | null;\n normalizationDirection: 'row' | 'column' | null;\n normalizationMethod: 'standardScaling' | 'meanNormalization';\n aggregateByX: boolean;\n aggregateByY: boolean;\n aggregationMethod: 'mean' | 'median' | 'min' | 'max';\n };\n heatmapClustered: {\n NAValueAs: number | null;\n normalizationDirection: 'row' | 'column' | null;\n normalizationMethod: 'standardScaling' | 'meanNormalization';\n dendrogramX: boolean;\n dendrogramY: boolean;\n disableClusteringX: boolean;\n disableClusteringY: boolean;\n aggregateByX: boolean;\n aggregateByY: boolean;\n aggregationMethod: 'mean' | 'median' | 'min' | 'max';\n };\n // scatterplot\n dots: {\n dotFill: ColorAes | null;\n dotShape: DotShapeAes | null;\n dotSize: ContinuousDataMappingSize | number | null;\n };\n curve: {\n smoothing: boolean;\n lineColor: ColorAes;\n };\n // discrete\n box: {\n showOutliers: boolean;\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n dotShape: DotShapeAes;\n lineType: LineTypeAes;\n gapWidth: number;\n opacity: number;\n stat: {\n low: number;\n middle: number;\n upper: number;\n k: number;\n };\n };\n binnedDots: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n opacity: number;\n showOutliers: boolean;\n };\n jitteredDots: {\n dotFill: ColorAes | null;\n dotShape: DotShapeAes;\n lineColor: ColorAes;\n opacity: number;\n showOutliers: boolean;\n };\n violin: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n lineType: LineTypeAes;\n opacity: number;\n trim: boolean;\n showQuartiles: boolean;\n quartilesLineStyle: LineType;\n medianLineStyle: LineType;\n };\n bar: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n opacity: number;\n height: 'max' | 'mean' | 'median';\n };\n stackedBar: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n opacity: number;\n normalize: boolean;\n height: 'sum' | 'max' | 'mean' | 'median';\n };\n stackedArea: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n barsOpacity: number;\n areaOpacity: number;\n normalize: boolean;\n height: 'sum' | 'max' | 'mean' | 'median';\n showBars: boolean;\n };\n line: {\n pointsValues: 'mean' | 'median';\n emptyGroupValue: number;\n lineColor: ColorAes | null;\n dotShape: DotShapeAes;\n lineType: LineTypeAes;\n dotFill: ColorAes | null;\n opacity: number;\n };\n errorbar: {\n pointsValues: 'mean' | 'median';\n interval: 'sd' | 'se' | '';\n lineColor: ColorAes | null;\n dotShape: DotShapeAes;\n dotFill: ColorAes | null;\n opacity: number;\n };\n sina: {\n dotFill: ColorAes | null;\n dotShape: DotShapeAes;\n opacity: number;\n showOutliers: boolean;\n };\n logo: {\n normalize: boolean;\n opacity: number;\n };\n};\nexport const DEFAULT_LAYERS_SETTINGS: () => LayersSettings = () => ({\n // bubble\n bubble: {\n NAValueAs: 0,\n strokeColor: null,\n minRadius: 3,\n maxRadius: 38,\n normalizationDirection: 'row',\n normalizationMethod: 'standardScaling',\n aggregateByX: false,\n aggregateByY: false,\n aggregationMethod: 'mean',\n },\n // histogram\n bins: {\n fillColor: null,\n opacity: 1,\n },\n // dendro\n dendro: {\n dotFill: DEFAULT_BLACK,\n dotShape: DEFAULT_DOT_SHAPE,\n dotSize: DEFAULT_DOT_SIZE,\n lineColor: DEFAULT_BLACK,\n mode: 'normal',\n leavesMode: 'normal',\n showTable: false,\n showLegend: true,\n },\n // heatmap\n heatmap: {\n NAValueAs: 0,\n normalizationDirection: 'row',\n normalizationMethod: 'standardScaling',\n aggregateByX: false,\n aggregateByY: false,\n aggregationMethod: 'mean',\n },\n heatmapClustered: {\n NAValueAs: 0,\n normalizationDirection: 'row',\n normalizationMethod: 'standardScaling',\n dendrogramX: true,\n dendrogramY: true,\n disableClusteringX: false,\n disableClusteringY: false,\n aggregateByX: false,\n aggregateByY: false,\n aggregationMethod: 'mean',\n },\n // scatterplot\n dots: {\n dotFill: null as ColorAes | null,\n dotShape: null as DotShapeAes | null,\n dotSize: null as ContinuousDataMappingSize | number | null,\n },\n curve: { lineColor: DEFAULT_BLACK, smoothing: true },\n // discrete\n box: {\n showOutliers: true,\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n lineType: DEFAULT_LINE_TYPE as LineTypeAes,\n gapWidth: 0.2,\n opacity: 1,\n stat: {\n low: 0.25,\n middle: 0.5,\n upper: 0.75,\n k: 1.5,\n },\n },\n binnedDots: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n opacity: 1,\n showOutliers: true,\n },\n jitteredDots: {\n dotFill: null as ColorAes | null,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n opacity: 1,\n showOutliers: true,\n },\n violin: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n lineType: DEFAULT_LINE_TYPE as LineTypeAes,\n opacity: 1,\n trim: false,\n showQuartiles: false,\n quartilesLineStyle: 'dashed',\n medianLineStyle: 'solid',\n },\n bar: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n opacity: 1,\n height: 'max',\n },\n stackedBar: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n opacity: 1,\n normalize: false,\n height: 'sum',\n },\n stackedArea: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n barsOpacity: 1,\n areaOpacity: 0.7,\n normalize: false,\n showBars: true,\n height: 'sum',\n },\n line: {\n pointsValues: 'mean',\n emptyGroupValue: 0,\n lineColor: null as ColorAes | null,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n lineType: DEFAULT_LINE_TYPE as LineTypeAes,\n dotFill: null as ColorAes | null,\n opacity: 1,\n },\n errorbar: {\n pointsValues: 'mean',\n interval: 'sd',\n lineColor: null as ColorAes | null,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n dotFill: null as ColorAes | null,\n opacity: 1,\n },\n sina: {\n dotFill: null as ColorAes | null,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n opacity: 1,\n showOutliers: true,\n },\n logo: {\n normalize: false,\n opacity: 1,\n },\n});\n\nexport function getDefaultLayersSettings() {\n return DEFAULT_LAYERS_SETTINGS();\n}\n\nconst DISCRETE_LAYERS: Layer[] = [\n 'box',\n 'binnedDots',\n 'jitteredDots',\n 'violin',\n 'bar',\n 'stackedBar',\n 'line',\n 'errorbar',\n 'sina',\n 'logo',\n];\nconst SCATTERPLOT_LAYERS: Layer[] = ['dots', 'curve'];\nconst SCATTERPLOT_UMAP_LAYERS: Layer[] = ['dots'];\nconst HEATMAP_LAYERS: Layer[] = ['heatmap', 'heatmapClustered'];\nconst DENDRO_LAYERS: Layer[] = ['dendro'];\nconst HISTOGRAM_LAYERS: Layer[] = ['bins'];\nconst BUBBLE_LAYERS: Layer[] = ['bubble'];\nconst _LAYERS_BY_CHART_TYPE: Record<ChartType, Layer[]> = {\n 'discrete': DISCRETE_LAYERS,\n 'scatterplot': SCATTERPLOT_LAYERS,\n 'scatterplot-umap': SCATTERPLOT_UMAP_LAYERS,\n 'heatmap': HEATMAP_LAYERS,\n 'dendro': DENDRO_LAYERS,\n 'histogram': HISTOGRAM_LAYERS,\n 'bubble': BUBBLE_LAYERS,\n};\n\nexport function getInitialLayersSettings(\n initialSettings?: DeepPartial<LayersSettings>,\n): LayersSettings {\n const defaultSettings = DEFAULT_LAYERS_SETTINGS();\n const layers: Layer[] = Object.keys(defaultSettings) as Layer[];\n return layers.reduce((res, layer) => {\n Object.assign(\n res[layer],\n initialSettings?.[layer] ?? {},\n );\n return res;\n }, defaultSettings);\n}\n\nexport type Sorting = 'asc' | 'desc';\nexport type AxesState = {\n title: { value: string; position: TitlePosition; mode: AxisTitleMode; facetTitleFrame: Frame };\n axisX: {\n labelsPosition: LabelsPosition; // for heatmap - top/bottom/left/right/hidden\n labelsRotation: LabelsRotation | null; // only for discrete X axis - 'center'/'90deg'/'45deg'; null for auto mode before user chose\n axisLabelsAngle: 0 | 45 | 90; // for heatmap\n groupLabelsAngle: 0 | 45 | 90; // for heatmap\n titleMode: AxisTitleMode; // 'auto' - from column or 'custom' - from 'customTitle' field or 'hidden'\n customTitle: string; // user axis title, not default from column\n gridlines: boolean;\n linesBetweenCategories: boolean; // for discrete - position for vertical gridlines\n ticks: boolean;\n scale: Scale; // linear or log\n significantLinesStyle: LineType;\n sorting: Sorting;\n allowNullPrimaryGroups: boolean; // for discrete - allow group with null grouping value\n allowNullSecondaryGroups: boolean;\n order: {\n source: string;\n options: { value: string; label: string }[];\n } | null;\n cellSize: number | null;\n annotationTitlePosition: 'left' | 'right' | 'hidden';\n hideAxisLabels: boolean;\n hideAxisGroupLabels: boolean;\n };\n axisY: {\n labelsRotation: LabelsRotation | null; // only for discrete X axis - 'center'/'90deg'/'45deg'; null for auto mode before user chose\n titleMode: AxisTitleMode;\n customTitle: string;\n axisLabelsAngle: 0 | 45 | 90; // for heatmap\n groupLabelsAngle: 0 | 45 | 90; // for heatmap\n gridlines: boolean;\n ticks: boolean;\n scale: Scale;\n significantLinesStyle: LineType;\n sorting: Sorting;\n order: {\n source: string;\n options: { value: string; label: string }[];\n } | null;\n cellSize: number | null;\n annotationTitlePosition: 'top' | 'bottom' | 'hidden';\n hideAxisLabels: boolean;\n hideAxisGroupLabels: boolean;\n };\n legend: { show?: boolean };\n other: {\n frame: Frame | HeatmapFrame;\n reverse: boolean;\n facetSharedBy: 'x' | 'y' | 'xy' | 'none';\n facetColumns: number;\n binsCount: number;\n groupingDirection: 'straight' | 'reverse';\n groupingStack: 'vertical' | 'horizontal';\n canvasRenderMode: boolean;\n showLegend: boolean;\n };\n};\n\nconst DEFAULT_AXES: () => AxesState = () => ({\n title: {\n value: 'Graph 1',\n position: 'center',\n mode: 'auto',\n facetTitleFrame: 'full',\n },\n axisX: {\n labelsPosition: 'bottom',\n labelsRotation: null,\n axisLabelsAngle: 90,\n groupLabelsAngle: 45,\n titleMode: 'auto',\n customTitle: '',\n gridlines: true,\n linesBetweenCategories: true,\n ticks: true,\n scale: 'linear',\n significantLinesStyle: 'dashed',\n sorting: 'asc',\n allowNullPrimaryGroups: false,\n allowNullSecondaryGroups: false,\n order: null,\n cellSize: null,\n annotationTitlePosition: 'right',\n hideAxisLabels: false,\n hideAxisGroupLabels: false,\n },\n axisY: {\n labelsRotation: null,\n titleMode: 'auto',\n customTitle: '',\n axisLabelsAngle: 90,\n groupLabelsAngle: 45,\n gridlines: true,\n ticks: true,\n scale: 'linear',\n significantLinesStyle: 'dashed',\n sorting: 'asc',\n order: null,\n cellSize: null,\n annotationTitlePosition: 'top',\n hideAxisLabels: false,\n hideAxisGroupLabels: false,\n },\n legend: {},\n other: {\n frame: 'full',\n reverse: false,\n canvasRenderMode: false,\n facetSharedBy: 'xy',\n facetColumns: 3,\n binsCount: 10,\n groupingDirection: 'straight',\n groupingStack: 'vertical',\n showLegend: true,\n },\n});\n\nfunction isHeatmapFrame(frame: Frame | HeatmapFrame): frame is HeatmapFrame {\n return frame === 'full' || frame === 'none';\n}\n\nexport function getInitialAxesSettings(\n chartType: ChartType,\n initialAxesSettings?: DeepPartial<AxesState>,\n): AxesState {\n const defaultAxes = DEFAULT_AXES();\n if (!initialAxesSettings) {\n return defaultAxes;\n }\n\n // TODO: divide into separated settings for chart types\n function getFrame(frame?: Frame | HeatmapFrame): Frame | HeatmapFrame {\n if (!frame) {\n return 'full';\n }\n if (chartType === 'heatmap' && !isHeatmapFrame(frame)) {\n return 'full' as HeatmapFrame;\n }\n if (chartType !== 'heatmap' && isHeatmapFrame(frame)) {\n return frame === 'none' ? 'empty' : (frame as Frame);\n }\n return frame;\n }\n\n return {\n title: {\n ...defaultAxes.title,\n ...initialAxesSettings.title,\n },\n axisX: {\n ...defaultAxes.axisX,\n ...initialAxesSettings.axisX,\n },\n axisY: {\n ...defaultAxes.axisY,\n ...initialAxesSettings.axisY,\n },\n legend: {\n ...defaultAxes.legend,\n ...initialAxesSettings.legend,\n },\n other: {\n ...defaultAxes.other,\n ...initialAxesSettings.other,\n frame: getFrame(initialAxesSettings.other?.frame),\n },\n };\n}\n\nexport const LAYER_ICONS: Record<LayersTemplate, Component> = {\n box: BoxplotIcon,\n box_binnedDots: BoxplotAndBinnedIcon,\n box_jitteredDots: BoxplotAndJitterIcon,\n binnedDots: BinnedDotsIcon,\n jitteredDots: JitteredDotsIcon,\n violin: ViolinIcon,\n violin_binnedDots: ViolinAndBinnedIcon,\n violin_jitteredDots: ViolinAndJitterIcon,\n bar: BarIcon,\n bar_line: BarAndLineIcon,\n bar_errorbar: BarAndErrorIcon,\n stackedBar: StackedBarIcon,\n stackedArea: StackedAreaIcon,\n line: LineIcon,\n line_binnedDots: LineAndBinnedIcon,\n line_jitteredDots: LineAndJitterIcon,\n line_errorbar: LineAndErrorbarIcon,\n errorbar: BarAndLineIcon,\n sina: SinaIcon,\n logo: LogoIcon,\n dots: ScatterplotIcon,\n curve: LineIcon,\n curve_dots: LineAndJitterIcon,\n heatmap: HeatmapIcon,\n heatmapClustered: DendroIcon,\n dendro: DendroIcon,\n bins: BarIcon,\n bubble: HeatmapIcon,\n};\n\ntype Option = { value: string; text: string };\nexport const STAT_TEST_METHOD: Option[] = [\n { value: 'ttest', text: 'TTest' },\n { value: 'anova', text: 'ANOVA' },\n { value: 'wilcoxon', text: 'Wilcoxon' },\n { value: 'kruskalWallis', text: 'Kruskal-Wallis' },\n];\n\nexport const STAT_CORRECTION_METHOD: Option[] = [\n { value: 'BenjaminiHochberg', text: 'Benjamini-Hochberg' },\n { value: 'BenjaminiYekutieli', text: 'Benjamini-Yekutieli' },\n { value: 'Bonferroni', text: 'Bonferroni' },\n { value: 'Hochberg', text: 'Hochberg' },\n { value: 'Holm', text: 'Holm' },\n { value: 'Hommel', text: 'Hommel' },\n { value: 'none', text: 'None' },\n];\n\nexport const FORMAT_P_VALUE_OPTIONS: Option[] = [\n { value: 'pValue', text: 'p-value' },\n { value: 'significance', text: 'significance' },\n];\n\nexport type AesType = 'fill' | 'stroke' | 'dotShape' | 'lineType' | 'size';\n\nexport const DEFAULT_WIDTH = 600;\nexport const DEFAULT_HEIGHT = 350;\nexport const DEFAULT_WIDTH_SMALL = 400;\nexport const DEFAULT_HEIGHT_SMALL = 250;\n\nexport const MAX_SEARCH_OPTIONS_LIST_LENGTH = 100;\n\nexport const AGGREGATION_METHOD_OPTIONS: Option[] = [\n { value: 'sum', text: 'Sum' },\n { value: 'mean', text: 'Mean' },\n { value: 'median', text: 'Median' },\n { value: 'min', text: 'Min' },\n { value: 'max', text: 'Max' },\n];\n"],"names":["getInitialTemplate","restoredTemplate","chartType","DISCRETE_TEMPLATES_MAP","SCATTERPLOT_TEMPLATES_MAP","SCATTERPLOT_UMAP_TEMPLATES_MAP","HEATMAP_TEMPLATES_MAP","HISTOGRAM_TEMPLATES_MAP","LAYER_TITLES","getInitialStatisticsState","initialData","initial","_C","_D","_E","isNumberRange","v","isMappedAes","item","isContinuousDataMapping","DEFAULT_LAYERS_SETTINGS","DEFAULT_BLACK","DEFAULT_DOT_SHAPE","DEFAULT_DOT_SIZE","DEFAULT_LINE_COLOR","DEFAULT_LINE_TYPE","getInitialLayersSettings","initialSettings","defaultSettings","res","layer","DEFAULT_AXES","isHeatmapFrame","frame","getInitialAxesSettings","initialAxesSettings","defaultAxes","getFrame","_a","LAYER_ICONS","BoxplotIcon","BoxplotAndBinnedIcon","BoxplotAndJitterIcon","BinnedDotsIcon","JitteredDotsIcon","ViolinIcon","ViolinAndBinnedIcon","ViolinAndJitterIcon","BarIcon","BarAndLineIcon","BarAndErrorIcon","StackedBarIcon","StackedAreaIcon","LineIcon","LineAndBinnedIcon","LineAndJitterIcon","LineAndErrorbarIcon","SinaIcon","LogoIcon","ScatterplotI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,MAAM,OAAA;AAAA,EACvB,EAAE,OAAO,UAAU,MAAM,SAAA;AAAA,EACzB,EAAE,OAAO,QAAQ,MAAM,OAAA;AACzB,GAEaC,KAAmC;AAAA,EAC9C,EAAE,OAAO,UAAU,MAAM,UAAA;AAAA,EACzB,EAAE,OAAO,gBAAgB,MAAM,eAAA;AACjC,GAIaC,KAAgB,KAChBC,KAAiB,KACjBC,KAAsB,KACtBC,KAAuB,KAEvBC,KAAiC,KAEjCC,KAAuC;AAAA,EAClD,EAAE,OAAO,OAAO,MAAM,MAAA;AAAA,EACtB,EAAE,OAAO,QAAQ,MAAM,OAAA;AAAA,EACvB,EAAE,OAAO,UAAU,MAAM,SAAA;AAAA,EACzB,EAAE,OAAO,OAAO,MAAM,MAAA;AAAA,EACtB,EAAE,OAAO,OAAO,MAAM,MAAA;AACxB;"}
|
|
1
|
+
{"version":3,"file":"constantsCommon.js","sources":["../src/constantsCommon.ts"],"sourcesContent":["import type { ChartType } from '@milaboratories/pf-plots';\nimport type { Component } from 'vue';\nimport type {\n DotShape,\n LineType,\n} from './components/AesSettings/types';\nimport {\n DEFAULT_BLACK,\n DEFAULT_DOT_SHAPE,\n DEFAULT_LINE_TYPE,\n} from './constantsAesthetic';\nimport { DEFAULT_DOT_SIZE, DEFAULT_LINE_COLOR } from './dataBindAes';\nimport BarAndErrorIcon from './icons/BarAndErrorIcon.vue';\nimport BarAndLineIcon from './icons/BarAndLineIcon.vue';\nimport BarIcon from './icons/BarIcon.vue';\nimport BinnedDotsIcon from './icons/BinnedDotsIcon.vue';\nimport BoxplotAndBinnedIcon from './icons/BoxplotAndBinnedIcon.vue';\nimport BoxplotAndJitterIcon from './icons/BoxplotAndJitterIcon.vue';\nimport BoxplotIcon from './icons/BoxplotIcon.vue';\nimport DendroIcon from './icons/DendroIcon.vue';\nimport HeatmapIcon from './icons/HeatmapIcon.vue';\nimport JitteredDotsIcon from './icons/JitteredDotsIcon.vue';\nimport LineAndBinnedIcon from './icons/LineAndBinnedIcon.vue';\nimport LineAndErrorbarIcon from './icons/LineAndErrorbarIcon.vue';\nimport LineAndJitterIcon from './icons/LineAndJitterIcon.vue';\nimport LineIcon from './icons/LineIcon.vue';\nimport LogoIcon from './icons/LogoIcon.vue';\nimport ScatterplotIcon from './icons/ScatterplotIcon.vue';\nimport SinaIcon from './icons/SinaIcon.vue';\nimport StackedBarIcon from './icons/StackedBarIcon.vue';\nimport StackedAreaIcon from './icons/StackedAreaIcon.vue';\nimport ViolinAndBinnedIcon from './icons/ViolinAndBinnedIcon.vue';\nimport ViolinAndJitterIcon from './icons/ViolinAndJitterIcon.vue';\nimport ViolinIcon from './icons/ViolinIcon.vue';\nimport type {\n AxisTitleMode,\n DeepPartial,\n DiscreteLayer,\n DiscreteLayersTemplate,\n Frame,\n GraphStatus,\n HeatmapFrame, HeatmapLayer, HeatmapLayerTemplate, HistogramLayer, HistogramLayerTemplate,\n LabelsPosition,\n LabelsRotation,\n Layer,\n LayersTemplate,\n Scale,\n ScatterplotLayer,\n ScatterplotLayersTemplate,\n StatusTextData,\n TitlePosition,\n} from './types';\nimport { PL_PLACEHOLDER_TEXTS } from '@platforma-sdk/ui-vue';\n\nexport const DEFAULT_CHART_TYPE: ChartType = 'discrete';\n\nexport function getInitialTemplate(\n restoredTemplate: LayersTemplate | null,\n chartType: ChartType,\n) {\n if (chartType === 'discrete') {\n return restoredTemplate\n && DISCRETE_TEMPLATES_MAP[restoredTemplate as DiscreteLayersTemplate]\n ? restoredTemplate\n : 'box';\n }\n if (chartType === 'scatterplot' || chartType === 'scatterplot-umap') {\n return restoredTemplate\n && SCATTERPLOT_TEMPLATES_MAP[restoredTemplate as ScatterplotLayersTemplate]\n ? restoredTemplate\n : 'dots';\n }\n if (chartType === 'dendro') {\n return 'dendro';\n }\n return restoredTemplate ?? 'heatmap';\n}\n\nexport const DISCRETE_TEMPLATES_MAP: Record<\n DiscreteLayersTemplate,\n DiscreteLayer[]\n> = {\n box: ['box'],\n box_binnedDots: ['box', 'binnedDots'],\n box_jitteredDots: ['box', 'jitteredDots'],\n violin: ['violin'],\n violin_binnedDots: ['violin', 'binnedDots'],\n violin_jitteredDots: ['violin', 'jitteredDots'],\n binnedDots: ['binnedDots'],\n jitteredDots: ['jitteredDots'],\n bar: ['bar'],\n bar_line: ['bar', 'line'],\n bar_errorbar: ['bar', 'errorbar'],\n stackedBar: ['stackedBar'],\n stackedArea: ['stackedArea'],\n line: ['line'],\n line_jitteredDots: ['line', 'jitteredDots'],\n line_binnedDots: ['line', 'binnedDots'],\n line_errorbar: ['line', 'errorbar'],\n errorbar: ['errorbar'],\n sina: ['sina'],\n logo: ['logo'],\n};\n\nexport const SCATTERPLOT_TEMPLATES_MAP: Record<\n ScatterplotLayersTemplate,\n ScatterplotLayer[]\n> = {\n dots: ['dots'],\n curve: ['curve'],\n curve_dots: ['curve', 'dots'],\n};\n\nexport const SCATTERPLOT_UMAP_TEMPLATES_MAP: Partial<Record<\n ScatterplotLayersTemplate,\n ScatterplotLayer[]\n>> = {\n dots: ['dots'],\n curve_dots: ['curve', 'dots'],\n};\n\nexport const HEATMAP_TEMPLATES_MAP: Record<HeatmapLayerTemplate, HeatmapLayer[]> = {\n heatmap: ['heatmap'],\n heatmapClustered: ['heatmapClustered'],\n};\nexport const HISTOGRAM_TEMPLATES_MAP: Record<HistogramLayerTemplate, HistogramLayer[]> = {\n bins: ['bins'],\n};\nexport const LAYER_TITLES: Record<Layer, string> = {\n box: 'Boxplot',\n binnedDots: 'Binned Dots',\n jitteredDots: 'Jittered Dots',\n violin: 'Violins',\n bar: 'Bar',\n stackedBar: 'Stacked Bar',\n stackedArea: 'Stacked Bar + Stream Area',\n line: 'Line',\n errorbar: 'Error Bar',\n sina: 'Sina',\n logo: 'Logo Plot',\n dots: 'Scatter Plot',\n curve: 'Curve',\n heatmap: 'Heatmap',\n heatmapClustered: 'Heatmap + Dendro',\n dendro: 'Dendrogram',\n bins: 'Histogram',\n bubble: 'Bubble plot',\n};\n\nexport type DiscreteStatisticsState = {\n overall: {\n data: { testMethod: null | string };\n validity: { testMethod: boolean };\n };\n referenceGroup: {\n data: {\n testMethod: null | string;\n referenceGroup: null | string;\n correctionMethod: string;\n format: 'significance' | 'pValue';\n ns: boolean;\n };\n validity: {\n testMethod: boolean;\n referenceGroup: boolean;\n };\n };\n pairwise: {\n data: {\n testMethod: null | string;\n correctionMethod: string;\n format: 'significance' | 'pValue';\n ns: boolean;\n };\n validity: { testMethod: boolean };\n };\n};\n\nexport type ScatterplotStatisticsState = {\n trend: {\n on: boolean;\n trim: boolean;\n showLegend: boolean;\n };\n};\n\nexport type StatisticsState = DiscreteStatisticsState | ScatterplotStatisticsState;\n\nexport function getInitialStatisticsState(chartType: ChartType, initialData?: DeepPartial<StatisticsState>): StatisticsState {\n if (chartType === 'discrete') {\n const initial = initialData as DiscreteStatisticsState;\n return {\n overall: {\n data: { testMethod: initial?.overall?.data?.testMethod ?? null },\n validity: { testMethod: initial?.overall?.validity?.testMethod ?? true },\n },\n referenceGroup: {\n data: {\n testMethod: initial?.referenceGroup?.data?.testMethod ?? null,\n referenceGroup: initial?.referenceGroup?.data?.referenceGroup ?? null,\n correctionMethod: initial?.referenceGroup?.data?.correctionMethod ?? 'Bonferroni',\n format: initial?.referenceGroup?.data?.format ?? 'significance',\n ns: initial?.referenceGroup?.data?.ns ?? false,\n },\n validity: {\n testMethod: initial?.referenceGroup?.validity?.testMethod ?? true,\n referenceGroup: initial?.referenceGroup?.validity?.referenceGroup ?? true,\n },\n },\n pairwise: {\n data: {\n testMethod: initial?.pairwise?.data?.testMethod ?? null,\n correctionMethod: initial?.pairwise?.data?.correctionMethod ?? 'Bonferroni',\n format: initial?.pairwise?.data?.format ?? 'significance',\n ns: initial?.pairwise?.data?.ns ?? false,\n },\n validity: { testMethod: initial?.pairwise?.validity?.testMethod ?? true },\n },\n } as DiscreteStatisticsState;\n }\n const initial = initialData as ScatterplotStatisticsState;\n return {\n trend: {\n on: initial?.trend?.on ?? false,\n trim: initial?.trend?.trim ?? false,\n showLegend: initial?.trend?.showLegend ?? true,\n },\n };\n}\n\nexport type NumberRange = { min: number; max: number };\nexport type MappingLink = { type: string; value?: string }; // {type: 'primaryGrouping'} for example\nexport type ColorAes = string | MappingLink;\nexport type DotShapeAes = DotShape | MappingLink;\nexport type DotSizeAes = number | NumberRange;\nexport type LineTypeAes = LineType | MappingLink;\nexport type FixedOrMappedAes = ColorAes | DotShapeAes | LineTypeAes;\n\nexport type ContinuousDataMappingSize = {\n column: string;\n range: NumberRange;\n};\n\nexport type ContinuousDataMappingForGraph<T extends string | number> = { columnName: ColumnNameSchema; domain: number[]; range: T[]; type: 'linear' | 'log' };\n\nexport type ColumnNameSchema = {\n type: 'column';\n value: string;\n label?: string;\n valueLabels?: string;\n};\n\nexport function isNumberRange(v: number | NumberRange | null | undefined): v is NumberRange {\n return typeof v !== 'undefined' && v !== null && typeof v === 'object' && 'min' in v && 'max' in v;\n}\n\nexport function isMappedAes(\n item: FixedOrMappedAes | null | string | number | boolean | unknown,\n): item is MappingLink {\n return typeof item === 'object' && item !== null && 'type' in item;\n}\n\nexport function isContinuousDataMapping(v: ContinuousDataMappingSize | MappingLink | number | string | null | undefined): v is ContinuousDataMappingSize {\n return typeof v !== 'undefined' && v !== null && typeof v === 'object' && 'range' in v;\n}\n\nexport type LayersSettings = {\n // bubble\n bubble: {\n NAValueAs: number | null;\n minRadius: number;\n maxRadius: number;\n normalizationDirection: 'row' | 'column' | null;\n normalizationMethod: 'standardScaling' | 'meanNormalization';\n aggregateByX: boolean;\n aggregateByY: boolean;\n aggregationMethod: 'mean' | 'median' | 'min' | 'max';\n strokeColor: null | string;\n };\n // histogram\n bins: {\n fillColor: ColorAes | null;\n opacity: number;\n };\n // dendrogram\n dendro: {\n dotFill: ColorAes;\n dotShape: DotShapeAes;\n dotSize: DotSizeAes;\n lineColor: ColorAes;\n mode: 'normal' | 'useAllNodesAsLeaves';\n leavesMode: 'normal' | 'alignLeavesToLine';\n showTable: boolean;\n showLegend: boolean;\n };\n // heatmap\n heatmap: {\n NAValueAs: number | null;\n normalizationDirection: 'row' | 'column' | null;\n normalizationMethod: 'standardScaling' | 'meanNormalization';\n aggregateByX: boolean;\n aggregateByY: boolean;\n aggregationMethod: 'mean' | 'median' | 'min' | 'max';\n };\n heatmapClustered: {\n NAValueAs: number | null;\n normalizationDirection: 'row' | 'column' | null;\n normalizationMethod: 'standardScaling' | 'meanNormalization';\n dendrogramX: boolean;\n dendrogramY: boolean;\n disableClusteringX: boolean;\n disableClusteringY: boolean;\n aggregateByX: boolean;\n aggregateByY: boolean;\n aggregationMethod: 'mean' | 'median' | 'min' | 'max';\n };\n // scatterplot\n dots: {\n dotFill: ColorAes | null;\n dotShape: DotShapeAes | null;\n dotSize: ContinuousDataMappingSize | number | null;\n };\n curve: {\n smoothing: boolean;\n lineColor: ColorAes;\n };\n // discrete\n box: {\n showOutliers: boolean;\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n dotShape: DotShapeAes;\n lineType: LineTypeAes;\n gapWidth: number;\n opacity: number;\n stat: {\n low: number;\n middle: number;\n upper: number;\n k: number;\n };\n };\n binnedDots: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n opacity: number;\n showOutliers: boolean;\n };\n jitteredDots: {\n dotFill: ColorAes | null;\n dotShape: DotShapeAes;\n lineColor: ColorAes;\n opacity: number;\n showOutliers: boolean;\n };\n violin: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n lineType: LineTypeAes;\n opacity: number;\n trim: boolean;\n showQuartiles: boolean;\n quartilesLineStyle: LineType;\n medianLineStyle: LineType;\n };\n bar: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n opacity: number;\n height: 'max' | 'mean' | 'median';\n };\n stackedBar: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n opacity: number;\n normalize: boolean;\n height: 'sum' | 'max' | 'mean' | 'median';\n };\n stackedArea: {\n fillColor: ColorAes | null;\n lineColor: ColorAes;\n barsOpacity: number;\n areaOpacity: number;\n normalize: boolean;\n height: 'sum' | 'max' | 'mean' | 'median';\n showBars: boolean;\n };\n line: {\n pointsValues: 'mean' | 'median';\n emptyGroupValue: number;\n lineColor: ColorAes | null;\n dotShape: DotShapeAes;\n lineType: LineTypeAes;\n dotFill: ColorAes | null;\n opacity: number;\n };\n errorbar: {\n pointsValues: 'mean' | 'median';\n interval: 'sd' | 'se' | '';\n lineColor: ColorAes | null;\n dotShape: DotShapeAes;\n dotFill: ColorAes | null;\n opacity: number;\n };\n sina: {\n dotFill: ColorAes | null;\n dotShape: DotShapeAes;\n opacity: number;\n showOutliers: boolean;\n };\n logo: {\n normalize: boolean;\n opacity: number;\n };\n};\nexport const DEFAULT_LAYERS_SETTINGS: () => LayersSettings = () => ({\n // bubble\n bubble: {\n NAValueAs: 0,\n strokeColor: null,\n minRadius: 3,\n maxRadius: 38,\n normalizationDirection: 'row',\n normalizationMethod: 'standardScaling',\n aggregateByX: false,\n aggregateByY: false,\n aggregationMethod: 'mean',\n },\n // histogram\n bins: {\n fillColor: null,\n opacity: 1,\n },\n // dendro\n dendro: {\n dotFill: DEFAULT_BLACK,\n dotShape: DEFAULT_DOT_SHAPE,\n dotSize: DEFAULT_DOT_SIZE,\n lineColor: DEFAULT_BLACK,\n mode: 'normal',\n leavesMode: 'normal',\n showTable: false,\n showLegend: true,\n },\n // heatmap\n heatmap: {\n NAValueAs: 0,\n normalizationDirection: 'row',\n normalizationMethod: 'standardScaling',\n aggregateByX: false,\n aggregateByY: false,\n aggregationMethod: 'mean',\n },\n heatmapClustered: {\n NAValueAs: 0,\n normalizationDirection: 'row',\n normalizationMethod: 'standardScaling',\n dendrogramX: true,\n dendrogramY: true,\n disableClusteringX: false,\n disableClusteringY: false,\n aggregateByX: false,\n aggregateByY: false,\n aggregationMethod: 'mean',\n },\n // scatterplot\n dots: {\n dotFill: null as ColorAes | null,\n dotShape: null as DotShapeAes | null,\n dotSize: null as ContinuousDataMappingSize | number | null,\n },\n curve: { lineColor: DEFAULT_BLACK, smoothing: true },\n // discrete\n box: {\n showOutliers: true,\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n lineType: DEFAULT_LINE_TYPE as LineTypeAes,\n gapWidth: 0.2,\n opacity: 1,\n stat: {\n low: 0.25,\n middle: 0.5,\n upper: 0.75,\n k: 1.5,\n },\n },\n binnedDots: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n opacity: 1,\n showOutliers: true,\n },\n jitteredDots: {\n dotFill: null as ColorAes | null,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n opacity: 1,\n showOutliers: true,\n },\n violin: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n lineType: DEFAULT_LINE_TYPE as LineTypeAes,\n opacity: 1,\n trim: false,\n showQuartiles: false,\n quartilesLineStyle: 'dashed',\n medianLineStyle: 'solid',\n },\n bar: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n opacity: 1,\n height: 'max',\n },\n stackedBar: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n opacity: 1,\n normalize: false,\n height: 'sum',\n },\n stackedArea: {\n fillColor: null as ColorAes | null,\n lineColor: DEFAULT_LINE_COLOR as ColorAes,\n barsOpacity: 1,\n areaOpacity: 0.7,\n normalize: false,\n showBars: true,\n height: 'sum',\n },\n line: {\n pointsValues: 'mean',\n emptyGroupValue: 0,\n lineColor: null as ColorAes | null,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n lineType: DEFAULT_LINE_TYPE as LineTypeAes,\n dotFill: null as ColorAes | null,\n opacity: 1,\n },\n errorbar: {\n pointsValues: 'mean',\n interval: 'sd',\n lineColor: null as ColorAes | null,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n dotFill: null as ColorAes | null,\n opacity: 1,\n },\n sina: {\n dotFill: null as ColorAes | null,\n dotShape: DEFAULT_DOT_SHAPE as DotShapeAes,\n opacity: 1,\n showOutliers: true,\n },\n logo: {\n normalize: false,\n opacity: 1,\n },\n});\n\nexport function getDefaultLayersSettings() {\n return DEFAULT_LAYERS_SETTINGS();\n}\n\nconst DISCRETE_LAYERS: Layer[] = [\n 'box',\n 'binnedDots',\n 'jitteredDots',\n 'violin',\n 'bar',\n 'stackedBar',\n 'line',\n 'errorbar',\n 'sina',\n 'logo',\n];\nconst SCATTERPLOT_LAYERS: Layer[] = ['dots', 'curve'];\nconst SCATTERPLOT_UMAP_LAYERS: Layer[] = ['dots'];\nconst HEATMAP_LAYERS: Layer[] = ['heatmap', 'heatmapClustered'];\nconst DENDRO_LAYERS: Layer[] = ['dendro'];\nconst HISTOGRAM_LAYERS: Layer[] = ['bins'];\nconst BUBBLE_LAYERS: Layer[] = ['bubble'];\nconst _LAYERS_BY_CHART_TYPE: Record<ChartType, Layer[]> = {\n 'discrete': DISCRETE_LAYERS,\n 'scatterplot': SCATTERPLOT_LAYERS,\n 'scatterplot-umap': SCATTERPLOT_UMAP_LAYERS,\n 'heatmap': HEATMAP_LAYERS,\n 'dendro': DENDRO_LAYERS,\n 'histogram': HISTOGRAM_LAYERS,\n 'bubble': BUBBLE_LAYERS,\n};\n\nexport function getInitialLayersSettings(\n initialSettings?: DeepPartial<LayersSettings>,\n): LayersSettings {\n const defaultSettings = DEFAULT_LAYERS_SETTINGS();\n const layers: Layer[] = Object.keys(defaultSettings) as Layer[];\n return layers.reduce((res, layer) => {\n Object.assign(\n res[layer],\n initialSettings?.[layer] ?? {},\n );\n return res;\n }, defaultSettings);\n}\n\nexport type Sorting = 'asc' | 'desc';\nexport type AxesState = {\n title: { value: string; position: TitlePosition; mode: AxisTitleMode; facetTitleFrame: Frame };\n axisX: {\n labelsPosition: LabelsPosition; // for heatmap - top/bottom/left/right/hidden\n labelsRotation: LabelsRotation | null; // only for discrete X axis - 'center'/'90deg'/'45deg'; null for auto mode before user chose\n axisLabelsAngle: 0 | 45 | 90; // for heatmap\n groupLabelsAngle: 0 | 45 | 90; // for heatmap\n titleMode: AxisTitleMode; // 'auto' - from column or 'custom' - from 'customTitle' field or 'hidden'\n customTitle: string; // user axis title, not default from column\n gridlines: boolean;\n linesBetweenCategories: boolean; // for discrete - position for vertical gridlines\n ticks: boolean;\n scale: Scale; // linear or log\n significantLinesStyle: LineType;\n sorting: Sorting;\n allowNullPrimaryGroups: boolean; // for discrete - allow group with null grouping value\n allowNullSecondaryGroups: boolean;\n order: {\n source: string;\n options: { value: string; label: string }[];\n } | null;\n cellSize: number | null;\n annotationTitlePosition: 'left' | 'right' | 'hidden';\n hideAxisLabels: boolean;\n hideAxisGroupLabels: boolean;\n };\n axisY: {\n labelsRotation: LabelsRotation | null; // only for discrete X axis - 'center'/'90deg'/'45deg'; null for auto mode before user chose\n titleMode: AxisTitleMode;\n customTitle: string;\n axisLabelsAngle: 0 | 45 | 90; // for heatmap\n groupLabelsAngle: 0 | 45 | 90; // for heatmap\n gridlines: boolean;\n ticks: boolean;\n scale: Scale;\n significantLinesStyle: LineType;\n sorting: Sorting;\n order: {\n source: string;\n options: { value: string; label: string }[];\n } | null;\n cellSize: number | null;\n annotationTitlePosition: 'top' | 'bottom' | 'hidden';\n hideAxisLabels: boolean;\n hideAxisGroupLabels: boolean;\n };\n legend: { show?: boolean };\n other: {\n frame: Frame | HeatmapFrame;\n reverse: boolean;\n facetSharedBy: 'x' | 'y' | 'xy' | 'none';\n facetColumns: number;\n binsCount: number;\n groupingDirection: 'straight' | 'reverse';\n groupingStack: 'vertical' | 'horizontal';\n canvasRenderMode: boolean;\n showLegend: boolean;\n };\n};\n\nconst DEFAULT_AXES: () => AxesState = () => ({\n title: {\n value: 'Graph 1',\n position: 'center',\n mode: 'auto',\n facetTitleFrame: 'full',\n },\n axisX: {\n labelsPosition: 'bottom',\n labelsRotation: null,\n axisLabelsAngle: 90,\n groupLabelsAngle: 45,\n titleMode: 'auto',\n customTitle: '',\n gridlines: true,\n linesBetweenCategories: true,\n ticks: true,\n scale: 'linear',\n significantLinesStyle: 'dashed',\n sorting: 'asc',\n allowNullPrimaryGroups: false,\n allowNullSecondaryGroups: false,\n order: null,\n cellSize: null,\n annotationTitlePosition: 'right',\n hideAxisLabels: false,\n hideAxisGroupLabels: false,\n },\n axisY: {\n labelsRotation: null,\n titleMode: 'auto',\n customTitle: '',\n axisLabelsAngle: 90,\n groupLabelsAngle: 45,\n gridlines: true,\n ticks: true,\n scale: 'linear',\n significantLinesStyle: 'dashed',\n sorting: 'asc',\n order: null,\n cellSize: null,\n annotationTitlePosition: 'top',\n hideAxisLabels: false,\n hideAxisGroupLabels: false,\n },\n legend: {},\n other: {\n frame: 'full',\n reverse: false,\n canvasRenderMode: false,\n facetSharedBy: 'xy',\n facetColumns: 3,\n binsCount: 10,\n groupingDirection: 'straight',\n groupingStack: 'vertical',\n showLegend: true,\n },\n});\n\nfunction isHeatmapFrame(frame: Frame | HeatmapFrame): frame is HeatmapFrame {\n return frame === 'full' || frame === 'none';\n}\n\nexport function getInitialAxesSettings(\n chartType: ChartType,\n initialAxesSettings?: DeepPartial<AxesState>,\n): AxesState {\n const defaultAxes = DEFAULT_AXES();\n if (!initialAxesSettings) {\n return defaultAxes;\n }\n\n // TODO: divide into separated settings for chart types\n function getFrame(frame?: Frame | HeatmapFrame): Frame | HeatmapFrame {\n if (!frame) {\n return 'full';\n }\n if (chartType === 'heatmap' && !isHeatmapFrame(frame)) {\n return 'full' as HeatmapFrame;\n }\n if (chartType !== 'heatmap' && isHeatmapFrame(frame)) {\n return frame === 'none' ? 'empty' : (frame as Frame);\n }\n return frame;\n }\n\n return {\n title: {\n ...defaultAxes.title,\n ...initialAxesSettings.title,\n },\n axisX: {\n ...defaultAxes.axisX,\n ...initialAxesSettings.axisX,\n },\n axisY: {\n ...defaultAxes.axisY,\n ...initialAxesSettings.axisY,\n },\n legend: {\n ...defaultAxes.legend,\n ...initialAxesSettings.legend,\n },\n other: {\n ...defaultAxes.other,\n ...initialAxesSettings.other,\n frame: getFrame(initialAxesSettings.other?.frame),\n },\n };\n}\n\nexport const LAYER_ICONS: Record<LayersTemplate, Component> = {\n box: BoxplotIcon,\n box_binnedDots: BoxplotAndBinnedIcon,\n box_jitteredDots: BoxplotAndJitterIcon,\n binnedDots: BinnedDotsIcon,\n jitteredDots: JitteredDotsIcon,\n violin: ViolinIcon,\n violin_binnedDots: ViolinAndBinnedIcon,\n violin_jitteredDots: ViolinAndJitterIcon,\n bar: BarIcon,\n bar_line: BarAndLineIcon,\n bar_errorbar: BarAndErrorIcon,\n stackedBar: StackedBarIcon,\n stackedArea: StackedAreaIcon,\n line: LineIcon,\n line_binnedDots: LineAndBinnedIcon,\n line_jitteredDots: LineAndJitterIcon,\n line_errorbar: LineAndErrorbarIcon,\n errorbar: BarAndLineIcon,\n sina: SinaIcon,\n logo: LogoIcon,\n dots: ScatterplotIcon,\n curve: LineIcon,\n curve_dots: LineAndJitterIcon,\n heatmap: HeatmapIcon,\n heatmapClustered: DendroIcon,\n dendro: DendroIcon,\n bins: BarIcon,\n bubble: HeatmapIcon,\n};\n\ntype Option = { value: string; text: string };\nexport const STAT_TEST_METHOD: Option[] = [\n { value: 'ttest', text: 'TTest' },\n { value: 'anova', text: 'ANOVA' },\n { value: 'wilcoxon', text: 'Wilcoxon' },\n { value: 'kruskalWallis', text: 'Kruskal-Wallis' },\n];\n\nexport const STAT_CORRECTION_METHOD: Option[] = [\n { value: 'BenjaminiHochberg', text: 'Benjamini-Hochberg' },\n { value: 'BenjaminiYekutieli', text: 'Benjamini-Yekutieli' },\n { value: 'Bonferroni', text: 'Bonferroni' },\n { value: 'Hochberg', text: 'Hochberg' },\n { value: 'Holm', text: 'Holm' },\n { value: 'Hommel', text: 'Hommel' },\n { value: 'none', text: 'None' },\n];\n\nexport const FORMAT_P_VALUE_OPTIONS: Option[] = [\n { value: 'pValue', text: 'p-value' },\n { value: 'significance', text: 'significance' },\n];\n\nexport type AesType = 'fill' | 'stroke' | 'dotShape' | 'lineType' | 'size';\n\nexport const DEFAULT_WIDTH = 600;\nexport const DEFAULT_HEIGHT = 350;\nexport const DEFAULT_WIDTH_SMALL = 400;\nexport const DEFAULT_HEIGHT_SMALL = 250;\n\nexport const MAX_SEARCH_OPTIONS_LIST_LENGTH = 100;\n\nexport const AGGREGATION_METHOD_OPTIONS: Option[] = [\n { value: 'sum', text: 'Sum' },\n { value: 'mean', text: 'Mean' },\n { value: 'median', text: 'Median' },\n { value: 'min', text: 'Min' },\n { value: 'max', text: 'Max' },\n];\n\nexport const DEFAULT_STATUS_TEXT: StatusTextData = {\n noPframe: { title: `Configure settings and click \"Run\" to see the data` },\n notReady: { title: 'Please set up the data mapping' },\n empty: { title: 'No data to show' },\n inconsistent: { title: 'Remove inconsistent values from the data mapping' },\n knownError: { title: '' },\n unknownError: { title: 'Unknown error' },\n ready: { title: '' },\n loading: { title: 'Recalculating data projections...', subtitle: 'Retrieving remote assets and rendering high-volume points' },\n running: { title: PL_PLACEHOLDER_TEXTS.RUNNING.title, subtitle: PL_PLACEHOLDER_TEXTS.RUNNING.subtitle },\n};\n"],"names":["getInitialTemplate","restoredTemplate","chartType","DISCRETE_TEMPLATES_MAP","SCATTERPLOT_TEMPLATES_MAP","SCATTERPLOT_UMAP_TEMPLATES_MAP","HEATMAP_TEMPLATES_MAP","HISTOGRAM_TEMPLATES_MAP","LAYER_TITLES","getInitialStatisticsState","initialData","initial","_C","_D","_E","isNumberRange","v","isMappedAes","item","isContinuousDataMapping","DEFAULT_LAYERS_SETTINGS","DEFAULT_BLACK","DEFAULT_DOT_SHAPE","DEFAULT_DOT_SIZE","DEFAULT_LINE_COLOR","DEFAULT_LINE_TYPE","getInitialLayersSettings","initialSettings","defaultSettings","res","layer","DEFAULT_AXES","isHeatmapFrame","frame","getInitialAxesSettings","initialAxesSettings","defaultAxes","getFrame","_a","LAYER_ICONS","BoxplotIcon","BoxplotAndBinnedIcon","BoxplotAndJitterIcon","BinnedDotsIcon","JitteredDotsIcon","ViolinIcon","ViolinAndBinnedIcon","ViolinAndJitterIcon","BarIcon","BarAndLineIcon","BarAndErrorIcon","StackedBarIcon","StackedAreaIcon","LineIcon","LineAndBinnedIcon","LineAndJitterIcon","LineAndErrorbarIcon","SinaIcon","LogoIcon","ScatterplotIcon","HeatmapIcon","DendroIcon","STAT_TEST_METHOD","STAT_CORRECTION_METHOD","FORMAT_P_VALUE_OPTIONS","DEFAULT_WIDTH","DEFAULT_HEIGHT","DEFAULT_WIDTH_SMALL","DEFAULT_HEIGHT_SMALL","MAX_SEARCH_OPTIONS_LIST_LENGTH","AGGREGATION_METHOD_OPTIONS","DEFAULT_STATUS_TEXT","PL_PLACEHOLDER_TEXTS"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAwDO,SAASA,GACdC,GACAC,GACA;AACA,SAAIA,MAAc,aACTD,KACFE,GAAuBF,CAA0C,IAClEA,IACA,QAEFC,MAAc,iBAAiBA,MAAc,qBACxCD,KACFG,GAA0BH,CAA6C,IACxEA,IACA,SAEFC,MAAc,WACT,WAEFD,KAAoB;AAC7B;AAEO,MAAME,KAGT;AAAA,EACF,KAAK,CAAC,KAAK;AAAA,EACX,gBAAgB,CAAC,OAAO,YAAY;AAAA,EACpC,kBAAkB,CAAC,OAAO,cAAc;AAAA,EACxC,QAAQ,CAAC,QAAQ;AAAA,EACjB,mBAAmB,CAAC,UAAU,YAAY;AAAA,EAC1C,qBAAqB,CAAC,UAAU,cAAc;AAAA,EAC9C,YAAY,CAAC,YAAY;AAAA,EACzB,cAAc,CAAC,cAAc;AAAA,EAC7B,KAAK,CAAC,KAAK;AAAA,EACX,UAAU,CAAC,OAAO,MAAM;AAAA,EACxB,cAAc,CAAC,OAAO,UAAU;AAAA,EAChC,YAAY,CAAC,YAAY;AAAA,EACzB,aAAa,CAAC,aAAa;AAAA,EAC3B,MAAM,CAAC,MAAM;AAAA,EACb,mB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d.ts
CHANGED
|
@@ -77,3 +77,4 @@ export declare function getHistogramAes(selectedSource: string, uniqueValuesData
|
|
|
77
77
|
};
|
|
78
78
|
export declare function getDendroAes(selectedSource: string, uniqueValuesData: UniqueValuesBySourceMap, dataBindAes: AestheticMappingState, field: keyof AestheticValues, palette: Palette): Record<string, AestheticValues[keyof AestheticValues]>;
|
|
79
79
|
export {};
|
|
80
|
+
//# sourceMappingURL=dataBindAes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataBindAes.d.ts","sourceRoot":"","sources":["../src/dataBindAes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,KAAK,EACV,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,OAAO,EACR,MAAM,gCAAgC,CAAC;AAQxC,OAAO,KAAK,EAAE,OAAO,EAAE,yBAAyB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AACrE,MAAM,MAAM,gBAAgB,GACxB,0BAA0B,GAC1B,2BAA2B,CAAC;AAEhC,UAAU,YAAY;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,mDAAmD;AACnD,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,eAAe,CAAC;CACxB;AAED,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,OAAO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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnnotationsForm.vue.d.ts","sourceRoot":"","sources":["../../src/forms/AnnotationsForm.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;WAyBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
3
|
+
//# sourceMappingURL=BubbleAxesSettingsForm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BubbleAxesSettingsForm.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/AxesSettingsForm/BubbleAxesSettingsForm.vue"],"names":[],"mappings":";AAumBA,wBAMG"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
3
|
+
//# sourceMappingURL=DiscreteAxesSettingsForm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscreteAxesSettingsForm.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue"],"names":[],"mappings":";AAorCA,wBAMG"}
|