@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.
- package/README.md +18 -0
- package/dist/GraphMaker/components/AesButton.vue.d.ts +36 -0
- package/dist/GraphMaker/components/AesSettings/AesDataMapping.vue.d.ts +30 -0
- package/dist/GraphMaker/components/AesSettings/FixedColorsList.vue.d.ts +48 -0
- package/dist/GraphMaker/components/AesSettings/FixedDotShapeList.vue.d.ts +37 -0
- package/dist/GraphMaker/components/AesSettings/FixedLineTypeList.vue.d.ts +37 -0
- package/dist/GraphMaker/components/AesSettings/FormWrapper.vue.d.ts +30 -0
- package/dist/GraphMaker/components/AesSettings/PalettesForm.vue.d.ts +21 -0
- package/dist/GraphMaker/components/AesSettings/constants.d.ts +29 -0
- package/dist/GraphMaker/components/AesSettings/types.d.ts +34 -0
- package/dist/GraphMaker/components/BtnIconGroup.vue.d.ts +31 -0
- package/dist/GraphMaker/components/Chart.vue.d.ts +25 -0
- package/dist/GraphMaker/components/CollapsableBlock.vue.d.ts +40 -0
- package/dist/GraphMaker/components/DendroTable.vue.d.ts +20 -0
- package/dist/GraphMaker/components/DendroTooltip.vue.d.ts +27 -0
- package/dist/GraphMaker/components/DoubleContourTemp.vue.d.ts +9 -0
- package/dist/GraphMaker/components/DragAndDrop/DndBasket.vue.d.ts +21 -0
- package/dist/GraphMaker/components/DragAndDrop/DndBasketChip.vue.d.ts +23 -0
- package/dist/GraphMaker/components/DragAndDrop/DndChip.vue.d.ts +23 -0
- package/dist/GraphMaker/components/DragAndDrop/DndDoubleChip.vue.d.ts +34 -0
- package/dist/GraphMaker/components/DragAndDrop/types.d.ts +49 -0
- package/dist/GraphMaker/components/MultiselectButton.vue.d.ts +27 -0
- package/dist/GraphMaker/components/PanelModal.vue.d.ts +17 -0
- package/dist/GraphMaker/components/PlColorSlider.vue.d.ts +29 -0
- package/dist/GraphMaker/components/PlColorSliderThumb.vue.d.ts +53 -0
- package/dist/GraphMaker/components/Popup.vue.d.ts +51 -0
- package/dist/GraphMaker/components/SettingsTabs/index.vue.d.ts +27 -0
- package/dist/GraphMaker/components/TransitionSlidePanel.vue.d.ts +11 -0
- package/dist/GraphMaker/components/Zoom/ZoomInput.vue.d.ts +19 -0
- package/dist/GraphMaker/components/Zoom/index.vue.d.ts +2 -0
- package/dist/GraphMaker/composition/useComponent.d.ts +9 -0
- package/dist/GraphMaker/constant.d.ts +191 -0
- package/dist/GraphMaker/dataBindAes.d.ts +53 -0
- package/dist/GraphMaker/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/AxesSettingsForm/HeatmapAxesSettingsForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/AxesSettingsForm/ScatterplotAxesSettingsForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/AxesSettingsForm/index.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/DataMappingForm/DendroForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/DataMappingForm/DiscreteForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/DataMappingForm/FormLayout.vue.d.ts +12 -0
- package/dist/GraphMaker/forms/DataMappingForm/HeatmapForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/DataMappingForm/ScatterplotForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/DataMappingForm/index.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/DataMappingForm/utils.d.ts +33 -0
- package/dist/GraphMaker/forms/LayersForm/AesSelector.vue.d.ts +35 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/Dendro.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/Heatmap.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Bar.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/BinnedDots.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Boxplot.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Errorbar.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/JitteredDots.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Line.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Sina.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/StackedBar.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/Violin.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/utils.d.ts +4 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot/Curve.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot/Scatter.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/LayersForm/index.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/StatisticsForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/TemplateForm.vue.d.ts +2 -0
- package/dist/GraphMaker/forms/index.d.ts +41 -0
- package/dist/GraphMaker/helpers.d.ts +1 -0
- package/dist/GraphMaker/icons/ArrowLeft.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/AxesIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/BarAndErrorIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/BarAndLineIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/BarIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/BinnedDotsIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/BoxplotAndBinnedIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/BoxplotAndJitterIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/BoxplotIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/ColorsIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/DendroIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/Down.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/ExportIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/FrameBottom.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/FrameEmpty.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/FrameFull.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/FrameLeft.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/FrameLeftBottom.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/HeatmapIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/JitteredDotsIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/LayersIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/LineAndBinnedIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/LineAndErrorbarIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/LineAndJitterIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/LineIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/LinkIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/MinusIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/PlusIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/Reorder.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/Right.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/Rotation0.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/Rotation45.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/Rotation90.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/ScatterplotIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/SinaIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/StackedBarIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/StatisticsIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/TemplateIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/ViolinAndBinnedIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/ViolinAndJitterIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/icons/ViolinIcon.vue.d.ts +2 -0
- package/dist/GraphMaker/index.vue.d.ts +30 -0
- package/dist/GraphMaker/keys.d.ts +1 -0
- package/dist/GraphMaker/store.d.ts +850 -0
- package/dist/GraphMaker/types.d.ts +53 -0
- package/dist/GraphMaker/utils/calculateDiscreteGroups.d.ts +3 -0
- package/dist/GraphMaker/utils/composeChartSettings.d.ts +10 -0
- package/dist/GraphMaker/utils/copyJSON.d.ts +1 -0
- package/dist/GraphMaker/utils/getAxesDataFromForms.d.ts +19 -0
- package/dist/GraphMaker/utils/getFixedColumnOrAxisIdFromSettings.d.ts +4 -0
- package/dist/GraphMaker/utils/getLayersDataFromForms.d.ts +12 -0
- package/dist/GraphMaker/utils/getStatisticsOptions.d.ts +13 -0
- package/dist/GraphMaker/utils/getUsedAesInMapping.d.ts +5 -0
- package/dist/GraphMaker/utils/index.d.ts +5 -0
- package/dist/GraphMaker/utils/saveToFile.d.ts +1 -0
- package/dist/graph-maker.js +119404 -0
- package/dist/graph-maker.umd.cjs +23761 -0
- package/dist/lib.d.ts +4 -0
- package/dist/main.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +41 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Palette } from './AesSettings/types.ts';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
label: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
palette?: Palette;
|
|
7
|
+
iconColor?: string;
|
|
8
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"button-click": (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
label: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
palette?: Palette;
|
|
14
|
+
iconColor?: string;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {
|
|
3
|
+
ref: string;
|
|
4
|
+
}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
close: (...args: any[]) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
9
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type PropsType = {
|
|
2
|
+
colors: string[];
|
|
3
|
+
modelValue: number[];
|
|
4
|
+
getColorForPercent: (percent: number) => string;
|
|
5
|
+
active: number | null;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PropsType>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (v: number[]) => void;
|
|
9
|
+
active: (v: {
|
|
10
|
+
index: number;
|
|
11
|
+
status: boolean;
|
|
12
|
+
}) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PropsType>>> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((v: number[]) => any) | undefined;
|
|
15
|
+
onActive?: ((v: {
|
|
16
|
+
index: number;
|
|
17
|
+
status: boolean;
|
|
18
|
+
}) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
barRef: HTMLElement;
|
|
3
|
+
modelValue: number;
|
|
4
|
+
min: number;
|
|
5
|
+
max: number;
|
|
6
|
+
getColorForPercent: (percent: number) => string;
|
|
7
|
+
padding?: number;
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
}>, {
|
|
10
|
+
min: number;
|
|
11
|
+
max: number;
|
|
12
|
+
padding: number;
|
|
13
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: number) => void;
|
|
15
|
+
active: (v: boolean) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
barRef: HTMLElement;
|
|
18
|
+
modelValue: number;
|
|
19
|
+
min: number;
|
|
20
|
+
max: number;
|
|
21
|
+
getColorForPercent: (percent: number) => string;
|
|
22
|
+
padding?: number;
|
|
23
|
+
isActive: boolean;
|
|
24
|
+
}>, {
|
|
25
|
+
min: number;
|
|
26
|
+
max: number;
|
|
27
|
+
padding: number;
|
|
28
|
+
}>>> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
30
|
+
onActive?: ((v: boolean) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
max: number;
|
|
33
|
+
padding: number;
|
|
34
|
+
min: number;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
gap?: number;
|
|
6
|
+
targetRef?: HTMLElement;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
}>, {
|
|
10
|
+
gap: number;
|
|
11
|
+
width: number;
|
|
12
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"popup:close": (...args: any[]) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
gap?: number;
|
|
16
|
+
targetRef?: HTMLElement;
|
|
17
|
+
width?: number;
|
|
18
|
+
height?: number;
|
|
19
|
+
}>, {
|
|
20
|
+
gap: number;
|
|
21
|
+
width: number;
|
|
22
|
+
}>>> & Readonly<{
|
|
23
|
+
"onPopup:close"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
width: number;
|
|
26
|
+
gap: number;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FormKey } from '../../forms';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
chartType: string;
|
|
5
|
+
chartEmpty: boolean;
|
|
6
|
+
modelValue: FormKey | null;
|
|
7
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
export: (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
chartType: string;
|
|
12
|
+
chartEmpty: boolean;
|
|
13
|
+
modelValue: FormKey | null;
|
|
14
|
+
}>>> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
onExport?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue?: number;
|
|
3
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (...args: any[]) => void;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
modelValue?: number;
|
|
7
|
+
}>>> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component, Slots } from 'vue';
|
|
2
|
+
import { MaybeRef } from '@milaboratories/uikit';
|
|
3
|
+
|
|
4
|
+
export declare function NotFoundComponent(props: Record<string, unknown>, { slots }: {
|
|
5
|
+
slots: Slots;
|
|
6
|
+
}): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>;
|
|
9
|
+
export declare function useComponent<K extends string>(dict: Record<K, Component | null>, keyRef: MaybeRef<K | null>): import('vue').ComputedRef<NonNullable<Record<K, Component | null>[K]> | typeof NotFoundComponent>;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { AxisTitleMode, DiscreteLayer, DiscreteLayersTemplate, Frame, HeatmapFrame, LabelsPosition, LabelsRotation, Layer, LayersTemplate, Scale, ScatterplotLayer, ScatterplotLayersTemplate, TitlePosition } from './types.ts';
|
|
2
|
+
import { ChartType } from '@milaboratories/pf-plots';
|
|
3
|
+
import { Component } from 'vue';
|
|
4
|
+
import { DotShape, LineType } from './components/AesSettings/types.ts';
|
|
5
|
+
|
|
6
|
+
export declare const DEFAULT_CHART_TYPE: ChartType;
|
|
7
|
+
export declare function getInitialTemplate(restoredTemplate: LayersTemplate | null, chartType: ChartType): LayersTemplate;
|
|
8
|
+
export declare const DISCRETE_TEMPLATES_MAP: Record<DiscreteLayersTemplate, DiscreteLayer[]>;
|
|
9
|
+
export declare const SCATTERPLOT_TEMPLATES_MAP: Record<ScatterplotLayersTemplate, ScatterplotLayer[]>;
|
|
10
|
+
export declare const LAYER_TITLES: Record<Layer, string>;
|
|
11
|
+
export type StatisticsState = {
|
|
12
|
+
overall: {
|
|
13
|
+
data: {
|
|
14
|
+
testMethod: null | string;
|
|
15
|
+
};
|
|
16
|
+
validity: {
|
|
17
|
+
testMethod: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
referenceGroup: {
|
|
21
|
+
data: {
|
|
22
|
+
testMethod: null | string;
|
|
23
|
+
referenceGroup: null | string;
|
|
24
|
+
correctionMethod: string;
|
|
25
|
+
format: "significance" | "pValue";
|
|
26
|
+
ns: boolean;
|
|
27
|
+
};
|
|
28
|
+
validity: {
|
|
29
|
+
testMethod: boolean;
|
|
30
|
+
referenceGroup: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
pairwise: {
|
|
34
|
+
data: {
|
|
35
|
+
testMethod: null | string;
|
|
36
|
+
correctionMethod: string;
|
|
37
|
+
format: "significance" | "pValue";
|
|
38
|
+
ns: boolean;
|
|
39
|
+
};
|
|
40
|
+
validity: {
|
|
41
|
+
testMethod: boolean;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export declare function getInitialStatisticsState(initialData: StatisticsState | null): StatisticsState;
|
|
46
|
+
export type MappingLink = {
|
|
47
|
+
type: string;
|
|
48
|
+
value?: string;
|
|
49
|
+
};
|
|
50
|
+
export type ColorAes = string | MappingLink;
|
|
51
|
+
export type DotShapeAes = DotShape | MappingLink;
|
|
52
|
+
export type LineTypeAes = LineType | MappingLink;
|
|
53
|
+
export type FixedOrMappedAes = ColorAes | DotShapeAes | LineTypeAes;
|
|
54
|
+
export declare function isMappedAes(item: FixedOrMappedAes | null | string | number | boolean | undefined): item is MappingLink;
|
|
55
|
+
export type LayersSettings = {
|
|
56
|
+
dendro: {
|
|
57
|
+
dotFill: ColorAes;
|
|
58
|
+
dotShape: DotShapeAes;
|
|
59
|
+
lineColor: ColorAes;
|
|
60
|
+
mode: 'normal' | 'useAllNodesAsLeaves';
|
|
61
|
+
leavesMode: 'normal' | 'alignLeavesToLine';
|
|
62
|
+
showTable: boolean;
|
|
63
|
+
};
|
|
64
|
+
heatmap: {
|
|
65
|
+
dendrogramX: boolean;
|
|
66
|
+
dendrogramY: boolean;
|
|
67
|
+
};
|
|
68
|
+
dots: {
|
|
69
|
+
dotFill: ColorAes | null;
|
|
70
|
+
dotShape: DotShapeAes | null;
|
|
71
|
+
};
|
|
72
|
+
curve: {
|
|
73
|
+
smoothing: boolean;
|
|
74
|
+
lineColor: ColorAes;
|
|
75
|
+
};
|
|
76
|
+
box: {
|
|
77
|
+
showOutliers: boolean;
|
|
78
|
+
fillColor: ColorAes | null;
|
|
79
|
+
lineColor: ColorAes;
|
|
80
|
+
dotShape: DotShapeAes;
|
|
81
|
+
lineType: LineTypeAes;
|
|
82
|
+
gapWidth: number;
|
|
83
|
+
opacity: number;
|
|
84
|
+
stat: {
|
|
85
|
+
low: number;
|
|
86
|
+
middle: number;
|
|
87
|
+
upper: number;
|
|
88
|
+
k: number;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
binnedDots: {
|
|
92
|
+
fillColor: ColorAes | null;
|
|
93
|
+
lineColor: ColorAes;
|
|
94
|
+
opacity: number;
|
|
95
|
+
showOutliers: boolean;
|
|
96
|
+
};
|
|
97
|
+
jitteredDots: {
|
|
98
|
+
dotFill: ColorAes | null;
|
|
99
|
+
dotShape: DotShapeAes;
|
|
100
|
+
lineColor: ColorAes;
|
|
101
|
+
opacity: number;
|
|
102
|
+
showOutliers: boolean;
|
|
103
|
+
};
|
|
104
|
+
violin: {
|
|
105
|
+
fillColor: ColorAes | null;
|
|
106
|
+
lineColor: ColorAes;
|
|
107
|
+
lineType: LineTypeAes;
|
|
108
|
+
opacity: number;
|
|
109
|
+
trim: boolean;
|
|
110
|
+
};
|
|
111
|
+
bar: {
|
|
112
|
+
fillColor: ColorAes | null;
|
|
113
|
+
lineColor: ColorAes;
|
|
114
|
+
opacity: number;
|
|
115
|
+
height: "max" | "mean" | 'median';
|
|
116
|
+
};
|
|
117
|
+
stackedBar: {
|
|
118
|
+
fillColor: ColorAes | null;
|
|
119
|
+
lineColor: ColorAes;
|
|
120
|
+
opacity: number;
|
|
121
|
+
};
|
|
122
|
+
line: {
|
|
123
|
+
pointsValues: "mean" | 'median';
|
|
124
|
+
lineColor: ColorAes | null;
|
|
125
|
+
dotShape: DotShapeAes;
|
|
126
|
+
lineType: LineTypeAes;
|
|
127
|
+
dotFill: ColorAes;
|
|
128
|
+
opacity: number;
|
|
129
|
+
};
|
|
130
|
+
errorbar: {
|
|
131
|
+
pointsValues: "mean" | "median";
|
|
132
|
+
interval: "sd" | 'se' | '';
|
|
133
|
+
lineColor: ColorAes | null;
|
|
134
|
+
dotShape: DotShapeAes;
|
|
135
|
+
dotFill: ColorAes;
|
|
136
|
+
opacity: number;
|
|
137
|
+
};
|
|
138
|
+
sina: {
|
|
139
|
+
dotFill: ColorAes | null;
|
|
140
|
+
dotShape: DotShapeAes;
|
|
141
|
+
opacity: number;
|
|
142
|
+
showOutliers: boolean;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
export declare const DEFAULT_LAYERS_SETTINGS: () => LayersSettings;
|
|
146
|
+
export declare function getDefaultLayersSettings(): LayersSettings;
|
|
147
|
+
export declare function getInitialLayersSettings(initialSettings: LayersSettings | null): LayersSettings;
|
|
148
|
+
export type AxesState = {
|
|
149
|
+
title: {
|
|
150
|
+
value: string;
|
|
151
|
+
position: TitlePosition;
|
|
152
|
+
facetTitleFrame: Frame;
|
|
153
|
+
};
|
|
154
|
+
axisX: {
|
|
155
|
+
labelsPosition: LabelsPosition;
|
|
156
|
+
labelsRotation: LabelsRotation;
|
|
157
|
+
axisLabelsAngle: 0 | 45 | 90;
|
|
158
|
+
titleMode: AxisTitleMode;
|
|
159
|
+
customTitle: string;
|
|
160
|
+
gridlines: boolean;
|
|
161
|
+
linesBetweenCategories: boolean;
|
|
162
|
+
ticks: boolean;
|
|
163
|
+
scale: Scale;
|
|
164
|
+
};
|
|
165
|
+
axisY: {
|
|
166
|
+
titleMode: AxisTitleMode;
|
|
167
|
+
customTitle: string;
|
|
168
|
+
axisLabelsAngle: 0 | 45 | 90;
|
|
169
|
+
gridlines: boolean;
|
|
170
|
+
ticks: boolean;
|
|
171
|
+
scale: Scale;
|
|
172
|
+
};
|
|
173
|
+
legend: {};
|
|
174
|
+
other: {
|
|
175
|
+
frame: Frame | HeatmapFrame;
|
|
176
|
+
reverse: boolean;
|
|
177
|
+
facetSharedBy: 'x' | 'y' | 'xy' | 'none';
|
|
178
|
+
facetColumns: number;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
export declare function getInitialAxesSettings(restoredAxesSettings: AxesState | null, chartType: ChartType): AxesState;
|
|
182
|
+
export declare const LAYER_ICONS: Record<LayersTemplate, Component>;
|
|
183
|
+
type Option = {
|
|
184
|
+
value: string;
|
|
185
|
+
text: string;
|
|
186
|
+
};
|
|
187
|
+
export declare const STAT_TEST_METHOD: Option[];
|
|
188
|
+
export declare const STAT_CORRECTION_METHOD: Option[];
|
|
189
|
+
export declare const FORMAT_P_VALUE_OPTIONS: Option[];
|
|
190
|
+
export type AesType = "fill" | "stroke" | "dotShape" | "lineType" | "size";
|
|
191
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ContinuousPalette, DotShape, LineType, Palette } from './components/AesSettings/types.ts';
|
|
2
|
+
import { InputGuide, InputState } from '@milaboratories/pf-plots';
|
|
3
|
+
import { AesType } from './constant.ts';
|
|
4
|
+
|
|
5
|
+
export type AestheticMapping = AestheticMappingContinuous | AestheticMappingCategorical;
|
|
6
|
+
interface MappingRange {
|
|
7
|
+
maxValue: number;
|
|
8
|
+
minValue: number;
|
|
9
|
+
}
|
|
10
|
+
/** Mapping for continuous axes (numerical axes) */
|
|
11
|
+
export interface AestheticMappingContinuous {
|
|
12
|
+
type: 'continuous';
|
|
13
|
+
palette: ContinuousPalette;
|
|
14
|
+
range: MappingRange | null;
|
|
15
|
+
log: boolean;
|
|
16
|
+
naAes: AestheticValues;
|
|
17
|
+
}
|
|
18
|
+
/** Mapping for categorical axes (string axes) */
|
|
19
|
+
export interface AestheticMappingCategorical {
|
|
20
|
+
type: 'categorical';
|
|
21
|
+
palette: Palette;
|
|
22
|
+
naAes: AestheticValues;
|
|
23
|
+
order: (string | number)[];
|
|
24
|
+
mapping: AestheticMappingRecord;
|
|
25
|
+
}
|
|
26
|
+
type AestheticMappingRecord = Record<string | number, {
|
|
27
|
+
aes: Partial<AestheticValues>;
|
|
28
|
+
colorIdx: number;
|
|
29
|
+
}>;
|
|
30
|
+
interface AestheticValues {
|
|
31
|
+
/** Number to retrieve the color from pallet, string to represent specific color as hex */
|
|
32
|
+
color: string;
|
|
33
|
+
lineShape: LineType;
|
|
34
|
+
dotShape: DotShape;
|
|
35
|
+
}
|
|
36
|
+
export declare const DEFAULT_LINE_COLOR = "#110529";
|
|
37
|
+
export declare const DEFAULT_LINE_SHAPE = "solid";
|
|
38
|
+
export declare const DEFAULT_LINE_WIDTH = 1;
|
|
39
|
+
export declare const DEFAULT_DOT_SHAPE = "21";
|
|
40
|
+
export declare const DEFAULT_DOT_SIZE = 3;
|
|
41
|
+
export declare function updateAestheticMapping(values: (string | number)[], currentMapping?: AestheticMappingCategorical): AestheticMappingCategorical;
|
|
42
|
+
export declare function createMappingFromPalette(palette: Palette, values: (string | number)[]): AestheticMappingCategorical;
|
|
43
|
+
export declare function createDefaultMapping(values: (string | number)[]): AestheticMappingCategorical;
|
|
44
|
+
export declare function getChartSettingsInheritedAes(inputGuide: InputGuide<InputState>, maybeMapping: AestheticMapping | undefined, sourceId: string | null, usedAesInMapping: Record<AesType, boolean>): {
|
|
45
|
+
inheritedAes: {};
|
|
46
|
+
order?: undefined;
|
|
47
|
+
} | {
|
|
48
|
+
order: (string | number)[];
|
|
49
|
+
inheritedAes: Record<string, any>;
|
|
50
|
+
};
|
|
51
|
+
export declare function getScatterplotAes(selectedStr: string, inputGuide: InputGuide<InputState>, dataBindAes: Record<string, AestheticMappingCategorical>): Record<string, any>;
|
|
52
|
+
export declare function getDendroAes(selectedStr: string, inputGuide: InputGuide<InputState>, dataBindAes: Record<string, AestheticMappingCategorical>, field: keyof AestheticValues): Record<string, AestheticValues[keyof AestheticValues]>;
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
dataVar?(_: {}): any;
|
|
3
|
+
chartVar?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AxisData, ColumnData, Controller, DemoDataStore, InputGuide, InputState, PValue } from '@milaboratories/pf-plots';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
import { ChipInfo } from '../../components/DragAndDrop/types.ts';
|
|
4
|
+
|
|
5
|
+
type Option = {
|
|
6
|
+
text: string;
|
|
7
|
+
value: string;
|
|
8
|
+
};
|
|
9
|
+
/** Bidirectionally extracts selectedSource from the filter state,
|
|
10
|
+
* and preserve selectedFilterValue in unmodified items on write. */
|
|
11
|
+
export declare function toFiltersMulti(refToState: Ref<InputState>, inputName: keyof InputState['components'], controller: Controller<InputState>, store: DemoDataStore, refToFilterOptions: Ref<Record<string, PValue[]>>): Ref<string[]>;
|
|
12
|
+
export declare function toSimpleMulti(refToState: Ref<InputState>, inputName: keyof InputState['components'], controller: Controller<InputState>, store: DemoDataStore): Ref<string[]>;
|
|
13
|
+
export declare function toSimpleSingle(refToState: Ref<InputState>, inputName: keyof InputState['components'], controller: Controller<InputState>, store: DemoDataStore): Ref<string | undefined>;
|
|
14
|
+
export type AllStateOptions<State extends InputState> = {
|
|
15
|
+
[K in keyof State['components']]: Option[];
|
|
16
|
+
};
|
|
17
|
+
export declare function getAllInputsOptions<T extends InputState>(inputState: T, inputGuide: Ref<InputGuide<T>>): AllStateOptions<T>;
|
|
18
|
+
export declare function getFreeOptions<T extends InputState>(inputGuide: Ref<InputGuide<T>>, basketsIds: (keyof InputGuide<T>['components'])[]): {
|
|
19
|
+
id: string;
|
|
20
|
+
info: ColumnData | AxisData;
|
|
21
|
+
}[];
|
|
22
|
+
export declare function getFreeMetaOptions<T extends InputState>(inputGuide: Ref<InputGuide<T>>, basketsIds: (keyof InputGuide<T>['components'])[]): {
|
|
23
|
+
id: string;
|
|
24
|
+
info: ColumnData | AxisData;
|
|
25
|
+
}[];
|
|
26
|
+
export declare function getFreeMandatoryOptions<T extends InputState>(inputGuide: Ref<InputGuide<T>>, basketsIds: (keyof InputGuide<T>['components'])[]): {
|
|
27
|
+
id: string;
|
|
28
|
+
info: ColumnData | AxisData;
|
|
29
|
+
}[];
|
|
30
|
+
export declare function hasInputError<T extends InputState>(name: keyof T['components'], inputGuide: InputGuide<T>): boolean;
|
|
31
|
+
export declare function getErrorForPlDropdown<T extends InputState>(name: keyof T['components'], inputGuide: InputGuide<T>): "" | " ";
|
|
32
|
+
export declare function getChipInfo(inputGuide: InputGuide<InputState>, sourceIds: string[]): Record<string, ChipInfo>;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AesType, MappingLink } from '../../constant.ts';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
label: string;
|
|
5
|
+
type: AesType;
|
|
6
|
+
selected: string | MappingLink;
|
|
7
|
+
formTitle: string;
|
|
8
|
+
formBackTitle: string;
|
|
9
|
+
possibleAesSourceInputs?: string[];
|
|
10
|
+
withoutFixed?: boolean;
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"aes-update": (...args: any[]) => void;
|
|
13
|
+
"aes-selector-close": (...args: any[]) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
label: string;
|
|
16
|
+
type: AesType;
|
|
17
|
+
selected: string | MappingLink;
|
|
18
|
+
formTitle: string;
|
|
19
|
+
formBackTitle: string;
|
|
20
|
+
possibleAesSourceInputs?: string[];
|
|
21
|
+
withoutFixed?: boolean;
|
|
22
|
+
}>>> & Readonly<{
|
|
23
|
+
"onAes-update"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onAes-selector-close"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|