@milaboratories/graph-maker 1.1.166 → 1.1.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GraphMaker/constantsCommon.d.ts +2 -9
- package/dist/GraphMaker/constantsCommon.d.ts.map +1 -1
- package/dist/GraphMaker/constantsCommon.js +78 -83
- package/dist/GraphMaker/constantsCommon.js.map +1 -1
- package/dist/GraphMaker/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js +8 -2
- package/dist/GraphMaker/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js.map +1 -1
- package/dist/GraphMaker/forms/DataMappingForm/DiscreteForm.vue.js +26 -20
- package/dist/GraphMaker/forms/DataMappingForm/DiscreteForm.vue.js.map +1 -1
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/StackedArea.vue.d.ts.map +1 -1
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/StackedArea.vue.js +56 -38
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/StackedArea.vue.js.map +1 -1
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/StackedBar.vue.d.ts.map +1 -1
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/StackedBar.vue.js +48 -30
- package/dist/GraphMaker/forms/LayersForm/Layer/discrete/StackedBar.vue.js.map +1 -1
- package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot/Scatter.vue.d.ts.map +1 -1
- package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot/Scatter.vue.js +37 -31
- package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot/Scatter.vue.js.map +1 -1
- package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot-umap/Scatter.vue.js +30 -24
- package/dist/GraphMaker/forms/LayersForm/Layer/scatterplot-umap/Scatter.vue.js.map +1 -1
- package/dist/GraphMaker/forms/StatisticsForm/DiscreteStatisticsForm.vue.js +33 -27
- package/dist/GraphMaker/forms/StatisticsForm/DiscreteStatisticsForm.vue.js.map +1 -1
- package/dist/GraphMaker/index.vue.js +8 -2
- package/dist/GraphMaker/index.vue.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeBubbleSettings.js +22 -16
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeBubbleSettings.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts +2 -0
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDiscreteSettings.js +17 -11
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDiscreteSettings.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHeatmapSettings.js +26 -20
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHeatmapSettings.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHistogramSettings.js +29 -23
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHistogramSettings.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotSettings.js +83 -68
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotSettings.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js +25 -19
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/getLayersDataFromForms.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/getLayersDataFromForms.js +7 -5
- package/dist/GraphMaker/utils/createChartSettingsForRender/getLayersDataFromForms.js.map +1 -1
- package/dist/GraphMaker/utils/getUsedAesInMapping.js +37 -31
- package/dist/GraphMaker/utils/getUsedAesInMapping.js.map +1 -1
- package/dist/GraphMaker/utils/loadDefaultSources.d.ts.map +1 -1
- package/dist/GraphMaker/utils/loadDefaultSources.js +36 -31
- package/dist/GraphMaker/utils/loadDefaultSources.js.map +1 -1
- package/dist/_virtual/stringify.js +5 -0
- package/dist/_virtual/stringify.js.map +1 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/DiscreteSettingsImpl.js +8 -8
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/DiscreteSettingsImpl.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/index.js +8 -8
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/layers/stackedBar.js +54 -29
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/layers/stackedBar.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/node_modules/d3-array/src/min.js +12 -6
- package/dist/node_modules/@milaboratories/miplots4/dist/node_modules/d3-array/src/min.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/types/discrete.js +2 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/types/discrete.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/ComponentController.js +106 -107
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/ComponentController.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/ControllerBase.js +120 -121
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/ControllerBase.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/bubble.js +83 -84
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/bubble.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/dendro.js +4 -4
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/discrete.js +11 -11
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/heatmap.js +123 -124
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/heatmap.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/histogram.js +8 -8
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot-umap.js +116 -117
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot-umap.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot.js +100 -102
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js +148 -119
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/dist/components/PlDataTable.js +4 -4
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/dist/render/util/label.js +5 -5
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/drivers/blob.js +8 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/drivers/blob.js.map +1 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js +182 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js.map +1 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/errors.js +18 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/errors.js.map +1 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/json.js +12 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/json.js.map +1 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/plid.js +7 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/plid.js.map +1 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/ref.js +8 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/node_modules/@platforma-sdk/model/node_modules/@milaboratories/pl-model-common/dist/ref.js.map +1 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/pframe/ColumnsProvider.js +105 -111
- package/dist/node_modules/@milaboratories/pf-plots/dist/pframe/ColumnsProvider.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/utils.js +158 -163
- package/dist/node_modules/@milaboratories/pf-plots/dist/utils.js.map +1 -1
- package/dist/node_modules/@milaboratories/pl-error-like/dist/error_like_shape.js +36 -0
- package/dist/node_modules/@milaboratories/pl-error-like/dist/error_like_shape.js.map +1 -0
- package/dist/node_modules/@milaboratories/pl-model-common/dist/drivers/blob.js +8 -0
- package/dist/node_modules/@milaboratories/pl-model-common/dist/drivers/blob.js.map +1 -0
- package/dist/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js +52 -0
- package/dist/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js.map +1 -0
- package/dist/node_modules/@milaboratories/pl-model-common/dist/plid.js +7 -0
- package/dist/node_modules/@milaboratories/pl-model-common/dist/plid.js.map +1 -0
- package/dist/node_modules/@milaboratories/pl-model-common/dist/ref.js +8 -0
- package/dist/node_modules/@milaboratories/pl-model-common/dist/ref.js.map +1 -0
- package/dist/node_modules/@platforma-sdk/model/dist/render/util/label.js +16 -0
- package/dist/node_modules/@platforma-sdk/model/dist/render/util/label.js.map +1 -0
- package/dist/node_modules/json-stringify-safe/stringify.js +20 -0
- package/dist/node_modules/json-stringify-safe/stringify.js.map +1 -0
- package/dist/node_modules/zod/lib/index.js +2978 -0
- package/dist/node_modules/zod/lib/index.js.map +1 -0
- package/package.json +4 -4
- package/dist/node_modules/@milaboratories/pf-plots/dist/constants.js +0 -18
- package/dist/node_modules/@milaboratories/pf-plots/dist/constants.js.map +0 -1
|
@@ -1,38 +1,44 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".dot-size-selector{margin-top:24px}.dot-size-selector__row{margin:12px 0}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { defineComponent as F, computed as n, createElementBlock as
|
|
3
|
-
import { useStore as
|
|
2
|
+
import { defineComponent as F, computed as n, createElementBlock as U, openBlock as C, Fragment as E, createVNode as p } from "vue";
|
|
3
|
+
import { useStore as x } from "../../../../store.js";
|
|
4
4
|
import g from "../../AesSelector.vue.js";
|
|
5
|
-
import { DEFAULT_BLACK as
|
|
6
|
-
import { DEFAULT_DOT_RANGE as L, DEFAULT_DOT_SIZE as S, isAestheticMapping as
|
|
7
|
-
import { isContinuousDataMapping as v
|
|
8
|
-
import
|
|
5
|
+
import { DEFAULT_BLACK as m, DEFAULT_DOT_SHAPE as f } from "../../../../constantsAesthetic.js";
|
|
6
|
+
import { DEFAULT_DOT_RANGE as L, DEFAULT_DOT_SIZE as S, isAestheticMapping as T } from "../../../../dataBindAes.js";
|
|
7
|
+
import { isContinuousDataMapping as v } from "../../../../constantsCommon.js";
|
|
8
|
+
import z from "../../DotSizeSelector.vue.js";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
import "../../../../../node_modules/@milaboratories/pl-model-common/dist/drivers/blob.js";
|
|
11
|
+
import { readAnnotation as B, Annotation as k } from "../../../../../node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js";
|
|
12
|
+
import "../../../../../node_modules/@milaboratories/pl-model-common/dist/plid.js";
|
|
13
|
+
import "../../../../../node_modules/@milaboratories/pl-model-common/dist/ref.js";
|
|
14
|
+
import "../../../../../node_modules/@platforma-sdk/model/dist/render/util/label.js";
|
|
15
|
+
import "../../../../../node_modules/@milaboratories/pl-error-like/dist/error_like_shape.js";
|
|
16
|
+
const a = "dots", Q = /* @__PURE__ */ F({
|
|
11
17
|
__name: "Scatter",
|
|
12
|
-
setup(
|
|
13
|
-
const s =
|
|
18
|
+
setup(w) {
|
|
19
|
+
const s = x(), r = s.value.reactive.optionsState, y = n(
|
|
14
20
|
() => s.value.inputGuide.value
|
|
15
21
|
), l = n(() => s.value.reactive.layersSettings[a]);
|
|
16
|
-
function
|
|
22
|
+
function i(e) {
|
|
17
23
|
return e !== null && typeof e == "object" && "type" in e;
|
|
18
24
|
}
|
|
19
|
-
const
|
|
20
|
-
const e = l.value.dotFill, t =
|
|
21
|
-
return
|
|
25
|
+
const c = n(() => {
|
|
26
|
+
const e = l.value.dotFill, t = r.components.grouping.selectorStates.map((o) => o.selectedSource);
|
|
27
|
+
return i(e) && t.length ? t.includes(e.value) ? e : { type: "grouping", value: t[0] } : t.length ? { type: "grouping", value: t[0] } : i(e) ? m : e ?? m;
|
|
22
28
|
}), d = n(() => {
|
|
23
|
-
const e = l.value.dotShape, t =
|
|
24
|
-
return
|
|
29
|
+
const e = l.value.dotShape, t = r.components.shape.selectorStates.map((o) => o.selectedSource);
|
|
30
|
+
return i(e) && t.length ? e.value === t[0] ? e : { type: "shape", value: t[0] } : t.length ? { type: "shape", value: t[0] } : i(e) ? f : e ?? f;
|
|
25
31
|
}), h = n(() => {
|
|
26
|
-
const e = l.value.dotSize, t =
|
|
32
|
+
const e = l.value.dotSize, t = r.components.size.selectorStates.map((o) => o.selectedSource);
|
|
27
33
|
return t.length ? { column: t[0], range: v(e) ? e.range : L } : v(e) ? S : e ?? S;
|
|
28
34
|
});
|
|
29
|
-
function
|
|
35
|
+
function A(e, t, o) {
|
|
30
36
|
typeof e == "string" ? s.value.reactive.layersSettings[a][o] = e : (t.type === "dataCategorical" || t.type === "dataContinuous") && (s.value.reactive.layersSettings[a][o] = {
|
|
31
37
|
type: "grouping",
|
|
32
38
|
value: t.selectedSource
|
|
33
|
-
}),
|
|
39
|
+
}), T(e) && t.type !== "fix" && (s.value.reactive.dataBindAes[t.selectedSource] = e);
|
|
34
40
|
}
|
|
35
|
-
function
|
|
41
|
+
function _(e, t, o) {
|
|
36
42
|
typeof e == "string" ? s.value.reactive.layersSettings[a][o] = e : t.type === "dataCategorical" && (s.value.reactive.layersSettings[a][o] = {
|
|
37
43
|
type: "grouping",
|
|
38
44
|
value: t.selectedSource
|
|
@@ -42,26 +48,26 @@ const a = "dots", $ = /* @__PURE__ */ F({
|
|
|
42
48
|
s.value.reactive.layersSettings[a].dotSize = e;
|
|
43
49
|
}
|
|
44
50
|
const b = n(() => {
|
|
45
|
-
if (
|
|
46
|
-
const e =
|
|
47
|
-
if (t
|
|
51
|
+
if (r.components.grouping.selectorStates.length) {
|
|
52
|
+
const e = r.components.grouping.selectorStates[0].selectedSource, t = y.value.getSourceInfo(e).spec;
|
|
53
|
+
if (B(t, k.Graph.Palette))
|
|
48
54
|
return !0;
|
|
49
55
|
}
|
|
50
56
|
return !1;
|
|
51
57
|
});
|
|
52
|
-
return (e, t) => (
|
|
53
|
-
|
|
58
|
+
return (e, t) => (C(), U(E, null, [
|
|
59
|
+
p(g, {
|
|
54
60
|
label: "Dot color",
|
|
55
61
|
"form-title": "Dot color Settings",
|
|
56
62
|
"form-back-title": "Layers",
|
|
57
63
|
type: "fill",
|
|
58
|
-
selected:
|
|
64
|
+
selected: c.value,
|
|
59
65
|
"possible-aes-source-inputs": ["grouping"],
|
|
60
66
|
disabled: b.value,
|
|
61
|
-
withoutFixed: typeof
|
|
62
|
-
onAesUpdate: t[0] || (t[0] = (o, u) =>
|
|
67
|
+
withoutFixed: typeof c.value == "object",
|
|
68
|
+
onAesUpdate: t[0] || (t[0] = (o, u) => A(o, u, "dotFill"))
|
|
63
69
|
}, null, 8, ["selected", "disabled", "withoutFixed"]),
|
|
64
|
-
|
|
70
|
+
p(g, {
|
|
65
71
|
label: "Dot shape",
|
|
66
72
|
"form-title": "Dot shape Settings",
|
|
67
73
|
"form-back-title": "Layers",
|
|
@@ -69,9 +75,9 @@ const a = "dots", $ = /* @__PURE__ */ F({
|
|
|
69
75
|
"possible-aes-source-inputs": ["shape"],
|
|
70
76
|
selected: d.value,
|
|
71
77
|
withoutFixed: typeof d.value == "object",
|
|
72
|
-
onAesUpdate: t[1] || (t[1] = (o, u) =>
|
|
78
|
+
onAesUpdate: t[1] || (t[1] = (o, u) => _(o, u, "dotShape"))
|
|
73
79
|
}, null, 8, ["selected", "withoutFixed"]),
|
|
74
|
-
|
|
80
|
+
p(z, {
|
|
75
81
|
selected: h.value,
|
|
76
82
|
onAesUpdate: D
|
|
77
83
|
}, null, 8, ["selected"])
|
|
@@ -79,6 +85,6 @@ const a = "dots", $ = /* @__PURE__ */ F({
|
|
|
79
85
|
}
|
|
80
86
|
});
|
|
81
87
|
export {
|
|
82
|
-
|
|
88
|
+
Q as default
|
|
83
89
|
};
|
|
84
90
|
//# sourceMappingURL=Scatter.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scatter.vue.js","sources":["../../../../../../src/GraphMaker/forms/LayersForm/Layer/scatterplot/Scatter.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../../../store';\nimport AesSelector from '../../AesSelector.vue';\nimport { computed, Ref } from 'vue';\nimport { DEFAULT_BLACK, DEFAULT_DOT_SHAPE } from '../../../../constantsAesthetic';\nimport {\n AestheticMappingCategorical,\n AestheticMappingContinuous,\n DEFAULT_DOT_RANGE,\n DEFAULT_DOT_SIZE, isAestheticMapping\n} from '../../../../dataBindAes';\nimport { AesMappingOption, AesOption, DotShape } from '../../../../components/AesSettings/types';\nimport { ContinuousDataMappingSize, isContinuousDataMapping, MappingLink
|
|
1
|
+
{"version":3,"file":"Scatter.vue.js","sources":["../../../../../../src/GraphMaker/forms/LayersForm/Layer/scatterplot/Scatter.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../../../store';\nimport AesSelector from '../../AesSelector.vue';\nimport { computed, Ref } from 'vue';\nimport { DEFAULT_BLACK, DEFAULT_DOT_SHAPE } from '../../../../constantsAesthetic';\nimport {\n AestheticMappingCategorical,\n AestheticMappingContinuous,\n DEFAULT_DOT_RANGE,\n DEFAULT_DOT_SIZE, isAestheticMapping\n} from '../../../../dataBindAes';\nimport { AesMappingOption, AesOption, DotShape } from '../../../../components/AesSettings/types';\nimport { ContinuousDataMappingSize, isContinuousDataMapping, MappingLink } from '../../../../constantsCommon';\nimport DotSizeSelector from '../../DotSizeSelector.vue';\nimport { InputGuide, ScatterplotUIState } from '@milaboratories/pf-plots';\nimport { Annotation, readAnnotation } from '@platforma-sdk/model';\n\nconst store = useStore();\nconst layer = 'dots';\nconst state = store.value.reactive.optionsState as ScatterplotUIState;\nconst inputGuide = computed(\n () => store.value.inputGuide.value\n) as unknown as Ref<InputGuide<ScatterplotUIState>>;\n\nconst settings = computed(() => store.value.reactive.layersSettings[layer]);\n\nfunction isMapping(value:MappingLink|string|null): value is MappingLink {\n return value !== null && typeof value === 'object' && 'type' in value;\n}\nconst dotFill = computed(() => {\n const value = settings.value.dotFill;\n const columns = state.components.grouping.selectorStates.map((s) => s.selectedSource);\n if (isMapping(value) && columns.length) {\n return columns.includes(value.value as string) ? value : { type: 'grouping', value: columns[0] };\n }\n return columns.length ? { type: 'grouping', value: columns[0] } : isMapping(value) ? DEFAULT_BLACK : value ?? DEFAULT_BLACK\n});\n\nconst dotShape = computed(() => {\n const value = settings.value.dotShape;\n const columns = state.components.shape.selectorStates.map((s) => s.selectedSource);\n if (isMapping(value) && columns.length) {\n return value.value === columns[0] ? value : { type: 'shape', value: columns[0] };\n }\n return columns.length ? { type: 'shape', value: columns[0] } : isMapping(value) ? DEFAULT_DOT_SHAPE : value ?? DEFAULT_DOT_SHAPE\n});\n\nconst dotSize = computed(() => {\n const value = settings.value.dotSize;\n const columns = state.components.size.selectorStates.map((s) => s.selectedSource);\n\n if (columns.length) {\n return {column: columns[0], range: isContinuousDataMapping(value) ? value.range : DEFAULT_DOT_RANGE};\n }\n return isContinuousDataMapping(value) ? DEFAULT_DOT_SIZE : value ?? DEFAULT_DOT_SIZE;\n});\n\nfunction onUpdate(\n value: string | AestheticMappingCategorical | AestheticMappingContinuous,\n colorOption: AesOption,\n field: 'dotFill'\n) {\n if (typeof value === 'string') {\n store.value.reactive.layersSettings[layer][field] = value;\n } else if (colorOption.type === 'dataCategorical' || colorOption.type === 'dataContinuous') {\n store.value.reactive.layersSettings[layer][field] = {\n type: 'grouping',\n value: colorOption.selectedSource\n };\n }\n if (isAestheticMapping(value) && colorOption.type !== 'fix') {\n store.value.reactive.dataBindAes[colorOption.selectedSource] = value;\n }\n}\n\nfunction onUpdateDot(\n value: DotShape | AestheticMappingCategorical,\n colorOption: AesMappingOption,\n field: 'dotShape'\n) {\n if (typeof value === 'string') {\n store.value.reactive.layersSettings[layer][field] = value;\n } else if (colorOption.type === 'dataCategorical') {\n store.value.reactive.layersSettings[layer][field] = {\n type: 'grouping',\n value: colorOption.selectedSource\n };\n }\n if (colorOption.type === 'dataCategorical' && typeof value !== 'string') {\n store.value.reactive.dataBindAes[colorOption.selectedSource] = value;\n }\n}\n\nfunction onUpdateDotSize(value: number | ContinuousDataMappingSize) {\n store.value.reactive.layersSettings[layer].dotSize = value;\n}\n\nconst disabledColor = computed(() => {\n if (state.components.grouping.selectorStates.length) {\n const groupingSource = state.components.grouping.selectorStates[0].selectedSource;\n const spec = inputGuide.value.getSourceInfo(groupingSource).spec;\n if (readAnnotation(spec, Annotation.Graph.Palette)) {\n return true;\n }\n }\n return false;\n})\n</script>\n\n<template>\n <aes-selector\n label=\"Dot color\"\n form-title=\"Dot color Settings\"\n form-back-title=\"Layers\"\n type=\"fill\"\n :selected=\"dotFill\"\n :possible-aes-source-inputs=\"['grouping']\"\n :disabled=\"disabledColor\"\n :withoutFixed=\"typeof dotFill === 'object'\"\n @aes-update=\"(v, c) => onUpdate(v, c, 'dotFill')\"\n />\n <aes-selector\n label=\"Dot shape\"\n form-title=\"Dot shape Settings\"\n form-back-title=\"Layers\"\n type=\"dotShape\"\n :possible-aes-source-inputs=\"['shape']\"\n :selected=\"dotShape\"\n :withoutFixed=\"typeof dotShape === 'object'\"\n @aes-update=\"(v, c) => onUpdateDot(v, c, 'dotShape')\"\n />\n <dot-size-selector :selected=\"dotSize\" @aes-update=\"onUpdateDotSize\" />\n</template>\n"],"names":["layer","store","useStore","state","inputGuide","computed","settings","isMapping","value","dotFill","columns","s","DEFAULT_BLACK","dotShape","DEFAULT_DOT_SHAPE","dotSize","isContinuousDataMapping","DEFAULT_DOT_RANGE","DEFAULT_DOT_SIZE","onUpdate","colorOption","field","isAestheticMapping","onUpdateDot","onUpdateDotSize","disabledColor","groupingSource","spec","readAnnotation","Annotation"],"mappings":";;;;;;;;;;;;;;AAkBA,MAAMA,IAAQ;;;AADd,UAAMC,IAAQC,EAAA,GAERC,IAAQF,EAAM,MAAM,SAAS,cAC7BG,IAAaC;AAAA,MACjB,MAAMJ,EAAM,MAAM,WAAW;AAAA,IAAA,GAGzBK,IAAWD,EAAS,MAAMJ,EAAM,MAAM,SAAS,eAAeD,CAAK,CAAC;AAE1E,aAASO,EAAUC,GAAqD;AACtE,aAAOA,MAAU,QAAQ,OAAOA,KAAU,YAAY,UAAUA;AAAA,IAClE;AACA,UAAMC,IAAUJ,EAAS,MAAM;AAC7B,YAAMG,IAAQF,EAAS,MAAM,SACvBI,IAAUP,EAAM,WAAW,SAAS,eAAe,IAAI,CAACQ,MAAMA,EAAE,cAAc;AACpF,aAAIJ,EAAUC,CAAK,KAAKE,EAAQ,SACvBA,EAAQ,SAASF,EAAM,KAAe,IAAIA,IAAQ,EAAE,MAAM,YAAY,OAAOE,EAAQ,CAAC,EAAA,IAExFA,EAAQ,SAAS,EAAE,MAAM,YAAY,OAAOA,EAAQ,CAAC,EAAA,IAAMH,EAAUC,CAAK,IAAII,IAAgBJ,KAASI;AAAA,IAChH,CAAC,GAEKC,IAAWR,EAAS,MAAM;AAC9B,YAAMG,IAAQF,EAAS,MAAM,UACvBI,IAAUP,EAAM,WAAW,MAAM,eAAe,IAAI,CAACQ,MAAMA,EAAE,cAAc;AACjF,aAAIJ,EAAUC,CAAK,KAAKE,EAAQ,SACvBF,EAAM,UAAUE,EAAQ,CAAC,IAAIF,IAAQ,EAAE,MAAM,SAAS,OAAOE,EAAQ,CAAC,EAAA,IAExEA,EAAQ,SAAS,EAAE,MAAM,SAAS,OAAOA,EAAQ,CAAC,EAAA,IAAMH,EAAUC,CAAK,IAAIM,IAAoBN,KAASM;AAAA,IACjH,CAAC,GAEKC,IAAUV,EAAS,MAAM;AAC7B,YAAMG,IAAQF,EAAS,MAAM,SACvBI,IAAUP,EAAM,WAAW,KAAK,eAAe,IAAI,CAACQ,MAAMA,EAAE,cAAc;AAEhF,aAAID,EAAQ,SACH,EAAC,QAAQA,EAAQ,CAAC,GAAG,OAAOM,EAAwBR,CAAK,IAAIA,EAAM,QAAQS,EAAA,IAE7ED,EAAwBR,CAAK,IAAIU,IAAmBV,KAASU;AAAA,IACtE,CAAC;AAED,aAASC,EACPX,GACAY,GACAC,GACA;AACA,MAAI,OAAOb,KAAU,WACnBP,EAAM,MAAM,SAAS,eAAeD,CAAK,EAAEqB,CAAK,IAAIb,KAC3CY,EAAY,SAAS,qBAAqBA,EAAY,SAAS,sBACxEnB,EAAM,MAAM,SAAS,eAAeD,CAAK,EAAEqB,CAAK,IAAI;AAAA,QAClD,MAAM;AAAA,QACN,OAAOD,EAAY;AAAA,MAAA,IAGnBE,EAAmBd,CAAK,KAAKY,EAAY,SAAS,UACpDnB,EAAM,MAAM,SAAS,YAAYmB,EAAY,cAAc,IAAIZ;AAAA,IAEnE;AAEA,aAASe,EACPf,GACAY,GACAC,GACA;AACA,MAAI,OAAOb,KAAU,WACnBP,EAAM,MAAM,SAAS,eAAeD,CAAK,EAAEqB,CAAK,IAAIb,IAC3CY,EAAY,SAAS,sBAC9BnB,EAAM,MAAM,SAAS,eAAeD,CAAK,EAAEqB,CAAK,IAAI;AAAA,QAClD,MAAM;AAAA,QACN,OAAOD,EAAY;AAAA,MAAA,IAGnBA,EAAY,SAAS,qBAAqB,OAAOZ,KAAU,aAC7DP,EAAM,MAAM,SAAS,YAAYmB,EAAY,cAAc,IAAIZ;AAAA,IAEnE;AAEA,aAASgB,EAAgBhB,GAA2C;AAClE,MAAAP,EAAM,MAAM,SAAS,eAAeD,CAAK,EAAE,UAAUQ;AAAA,IACvD;AAEA,UAAMiB,IAAgBpB,EAAS,MAAM;AACnC,UAAIF,EAAM,WAAW,SAAS,eAAe,QAAQ;AACnD,cAAMuB,IAAiBvB,EAAM,WAAW,SAAS,eAAe,CAAC,EAAE,gBAC7DwB,IAAOvB,EAAW,MAAM,cAAcsB,CAAc,EAAE;AAC5D,YAAIE,EAAeD,GAAME,EAAW,MAAM,OAAO;AAC/C,iBAAO;AAAA,MAEX;AACA,aAAO;AAAA,IACT,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,46 +1,52 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".dot-size-selector{margin-top:24px}.dot-size-selector__row{margin:12px 0}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { defineComponent as A, computed as
|
|
3
|
-
import { useStore as
|
|
2
|
+
import { defineComponent as A, computed as r, createElementBlock as D, openBlock as F, Fragment as b, createVNode as c } from "vue";
|
|
3
|
+
import { useStore as h } from "../../../../store.js";
|
|
4
4
|
import C from "../../AesSelector.vue.js";
|
|
5
5
|
import { DEFAULT_BLACK as p } from "../../../../constantsAesthetic.js";
|
|
6
|
-
import { DEFAULT_DOT_RANGE as
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
6
|
+
import { DEFAULT_DOT_RANGE as U, DEFAULT_DOT_SIZE_CANVAS as m, isAestheticMapping as E } from "../../../../dataBindAes.js";
|
|
7
|
+
import { isContinuousDataMapping as d } from "../../../../constantsCommon.js";
|
|
8
|
+
import x from "../../DotSizeSelector.vue.js";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
import "../../../../../node_modules/@milaboratories/pl-model-common/dist/drivers/blob.js";
|
|
11
|
+
import { readAnnotation as z, Annotation as L } from "../../../../../node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js";
|
|
12
|
+
import "../../../../../node_modules/@milaboratories/pl-model-common/dist/plid.js";
|
|
13
|
+
import "../../../../../node_modules/@milaboratories/pl-model-common/dist/ref.js";
|
|
14
|
+
import "../../../../../node_modules/@platforma-sdk/model/dist/render/util/label.js";
|
|
15
|
+
import "../../../../../node_modules/@milaboratories/pl-error-like/dist/error_like_shape.js";
|
|
16
|
+
const s = "dots", q = /* @__PURE__ */ A({
|
|
11
17
|
__name: "Scatter",
|
|
12
|
-
setup(
|
|
13
|
-
const n =
|
|
18
|
+
setup(T) {
|
|
19
|
+
const n = h(), i = n.value.reactive.optionsState, g = r(
|
|
14
20
|
() => n.value.inputGuide.value
|
|
15
|
-
), a =
|
|
21
|
+
), a = r(() => n.value.reactive.layersSettings[s]);
|
|
16
22
|
function l(e) {
|
|
17
23
|
return e !== null && typeof e == "object" && "type" in e;
|
|
18
24
|
}
|
|
19
|
-
const u =
|
|
20
|
-
const e = a.value.dotFill, t =
|
|
25
|
+
const u = r(() => {
|
|
26
|
+
const e = a.value.dotFill, t = i.components.grouping.selectorStates.map((o) => o.selectedSource);
|
|
21
27
|
return l(e) && t.length ? t.includes(e.value) ? e : { type: "grouping", value: t[0] } : t.length ? { type: "grouping", value: t[0] } : l(e) ? p : e ?? p;
|
|
22
28
|
});
|
|
23
29
|
function f(e, t, o) {
|
|
24
|
-
typeof e == "string" ? n.value.reactive.layersSettings[
|
|
30
|
+
typeof e == "string" ? n.value.reactive.layersSettings[s][o] = e : (t.type === "dataCategorical" || t.type === "dataContinuous") && (n.value.reactive.layersSettings[s][o] = {
|
|
25
31
|
type: "grouping",
|
|
26
32
|
value: t.selectedSource
|
|
27
|
-
}),
|
|
33
|
+
}), E(e) && t.type !== "fix" && (n.value.reactive.dataBindAes[t.selectedSource] = e);
|
|
28
34
|
}
|
|
29
|
-
const S =
|
|
30
|
-
if (
|
|
31
|
-
const e =
|
|
32
|
-
if (t
|
|
35
|
+
const S = r(() => {
|
|
36
|
+
if (i.components.grouping.selectorStates.length) {
|
|
37
|
+
const e = i.components.grouping.selectorStates[0].selectedSource, t = g.value.getSourceInfo(e).spec;
|
|
38
|
+
if (z(t, L.Graph.Palette))
|
|
33
39
|
return !0;
|
|
34
40
|
}
|
|
35
41
|
return !1;
|
|
36
|
-
}), v =
|
|
37
|
-
const e = a.value.dotSize, t =
|
|
38
|
-
return t.length ? { column: t[0], range:
|
|
42
|
+
}), v = r(() => {
|
|
43
|
+
const e = a.value.dotSize, t = i.components.size.selectorStates.map((o) => o.selectedSource);
|
|
44
|
+
return t.length ? { column: t[0], range: d(e) ? e.range : U } : d(e) ? m : e ?? m;
|
|
39
45
|
});
|
|
40
46
|
function y(e) {
|
|
41
|
-
n.value.reactive.layersSettings[
|
|
47
|
+
n.value.reactive.layersSettings[s].dotSize = e;
|
|
42
48
|
}
|
|
43
|
-
return (e, t) => (
|
|
49
|
+
return (e, t) => (F(), D(b, null, [
|
|
44
50
|
c(C, {
|
|
45
51
|
label: "Dot color",
|
|
46
52
|
"form-title": "Dot color Settings",
|
|
@@ -52,7 +58,7 @@ const i = "dots", I = /* @__PURE__ */ A({
|
|
|
52
58
|
withoutFixed: typeof u.value == "object",
|
|
53
59
|
onAesUpdate: t[0] || (t[0] = (o, _) => f(o, _, "dotFill"))
|
|
54
60
|
}, null, 8, ["selected", "disabled", "withoutFixed"]),
|
|
55
|
-
c(
|
|
61
|
+
c(x, {
|
|
56
62
|
selected: v.value,
|
|
57
63
|
onAesUpdate: y,
|
|
58
64
|
min: 2
|
|
@@ -61,6 +67,6 @@ const i = "dots", I = /* @__PURE__ */ A({
|
|
|
61
67
|
}
|
|
62
68
|
});
|
|
63
69
|
export {
|
|
64
|
-
|
|
70
|
+
q as default
|
|
65
71
|
};
|
|
66
72
|
//# sourceMappingURL=Scatter.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scatter.vue.js","sources":["../../../../../../src/GraphMaker/forms/LayersForm/Layer/scatterplot-umap/Scatter.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../../../store';\nimport AesSelector from '../../AesSelector.vue';\nimport { computed, Ref } from 'vue';\nimport { DEFAULT_BLACK } from '../../../../constantsAesthetic';\nimport {\n AestheticMappingCategorical,\n DEFAULT_DOT_RANGE, DEFAULT_DOT_SIZE_CANVAS,\n isAestheticMapping\n} from '../../../../dataBindAes';\nimport { AesOption } from '../../../../components/AesSettings/types';\nimport {\n ContinuousDataMappingSize,\n isContinuousDataMapping,\n MappingLink
|
|
1
|
+
{"version":3,"file":"Scatter.vue.js","sources":["../../../../../../src/GraphMaker/forms/LayersForm/Layer/scatterplot-umap/Scatter.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../../../store';\nimport AesSelector from '../../AesSelector.vue';\nimport { computed, Ref } from 'vue';\nimport { DEFAULT_BLACK } from '../../../../constantsAesthetic';\nimport {\n AestheticMappingCategorical,\n DEFAULT_DOT_RANGE, DEFAULT_DOT_SIZE_CANVAS,\n isAestheticMapping\n} from '../../../../dataBindAes';\nimport { AesOption } from '../../../../components/AesSettings/types';\nimport {\n ContinuousDataMappingSize,\n isContinuousDataMapping,\n MappingLink\n} from '../../../../constantsCommon';\nimport { InputGuide, ScatterplotUIState } from '@milaboratories/pf-plots';\nimport DotSizeSelector from '../../DotSizeSelector.vue';\nimport { Annotation, readAnnotation } from '@platforma-sdk/model';\n\nconst store = useStore();\nconst layer = 'dots';\nconst state = store.value.reactive.optionsState as ScatterplotUIState;\nconst inputGuide = computed(\n () => store.value.inputGuide.value\n) as unknown as Ref<InputGuide<ScatterplotUIState>>;\n\nconst settings = computed(() => store.value.reactive.layersSettings[layer]);\n\nfunction isMapping(value:MappingLink|string|null): value is MappingLink {\n return value !== null && typeof value === 'object' && 'type' in value;\n}\nconst dotFill = computed(() => {\n const value = settings.value.dotFill;\n const columns = state.components.grouping.selectorStates.map((s) => s.selectedSource);\n if (isMapping(value) && columns.length) {\n return columns.includes(value.value as string) ? value : { type: 'grouping', value: columns[0] };\n }\n return columns.length ? { type: 'grouping', value: columns[0] } : isMapping(value) ? DEFAULT_BLACK : value ?? DEFAULT_BLACK\n});\n\nfunction onUpdate(\n value: string | AestheticMappingCategorical,\n colorOption: AesOption,\n field: 'dotFill'\n) {\n if (typeof value === 'string') {\n store.value.reactive.layersSettings[layer][field] = value;\n } else if (colorOption.type === 'dataCategorical' || colorOption.type === 'dataContinuous') {\n store.value.reactive.layersSettings[layer][field] = {\n type: 'grouping',\n value: colorOption.selectedSource\n };\n }\n if (isAestheticMapping(value) && colorOption.type !== 'fix') {\n store.value.reactive.dataBindAes[colorOption.selectedSource] = value;\n }\n}\n\nconst disabledColor = computed(() => {\n if (state.components.grouping.selectorStates.length) {\n const groupingSource = state.components.grouping.selectorStates[0].selectedSource;\n const spec = inputGuide.value.getSourceInfo(groupingSource).spec;\n if (readAnnotation(spec, Annotation.Graph.Palette)) {\n return true;\n }\n }\n return false;\n})\n\nconst dotSize = computed(() => {\n const value = settings.value.dotSize;\n const columns = state.components.size.selectorStates.map((s) => s.selectedSource);\n\n if (columns.length) {\n return {column: columns[0], range: isContinuousDataMapping(value) ? value.range : DEFAULT_DOT_RANGE};\n }\n return isContinuousDataMapping(value) ? DEFAULT_DOT_SIZE_CANVAS : value ?? DEFAULT_DOT_SIZE_CANVAS;\n});\n\nfunction onUpdateDotSize(value: number | ContinuousDataMappingSize) {\n store.value.reactive.layersSettings[layer].dotSize = value;\n}\n</script>\n\n<template>\n <aes-selector\n label=\"Dot color\"\n form-title=\"Dot color Settings\"\n form-back-title=\"Layers\"\n type=\"fill\"\n :selected=\"dotFill\"\n :possible-aes-source-inputs=\"['grouping']\"\n :disabled=\"disabledColor\"\n :withoutFixed=\"typeof dotFill === 'object'\"\n @aes-update=\"(v, c) => onUpdate(v, c, 'dotFill')\"\n />\n <dot-size-selector :selected=\"dotSize\" @aes-update=\"onUpdateDotSize\" :min=\"2\" />\n</template>\n"],"names":["layer","store","useStore","state","inputGuide","computed","settings","isMapping","value","dotFill","columns","s","DEFAULT_BLACK","onUpdate","colorOption","field","isAestheticMapping","disabledColor","groupingSource","spec","readAnnotation","Annotation","dotSize","isContinuousDataMapping","DEFAULT_DOT_RANGE","DEFAULT_DOT_SIZE_CANVAS","onUpdateDotSize"],"mappings":";;;;;;;;;;;;;;AAqBA,MAAMA,IAAQ;;;AADd,UAAMC,IAAQC,EAAA,GAERC,IAAQF,EAAM,MAAM,SAAS,cAC7BG,IAAaC;AAAA,MACjB,MAAMJ,EAAM,MAAM,WAAW;AAAA,IAAA,GAGzBK,IAAWD,EAAS,MAAMJ,EAAM,MAAM,SAAS,eAAeD,CAAK,CAAC;AAE1E,aAASO,EAAUC,GAAqD;AACtE,aAAOA,MAAU,QAAQ,OAAOA,KAAU,YAAY,UAAUA;AAAA,IAClE;AACA,UAAMC,IAAUJ,EAAS,MAAM;AAC7B,YAAMG,IAAQF,EAAS,MAAM,SACvBI,IAAUP,EAAM,WAAW,SAAS,eAAe,IAAI,CAACQ,MAAMA,EAAE,cAAc;AACpF,aAAIJ,EAAUC,CAAK,KAAKE,EAAQ,SACvBA,EAAQ,SAASF,EAAM,KAAe,IAAIA,IAAQ,EAAE,MAAM,YAAY,OAAOE,EAAQ,CAAC,EAAA,IAExFA,EAAQ,SAAS,EAAE,MAAM,YAAY,OAAOA,EAAQ,CAAC,EAAA,IAAMH,EAAUC,CAAK,IAAII,IAAgBJ,KAASI;AAAA,IAChH,CAAC;AAED,aAASC,EACPL,GACAM,GACAC,GACA;AACA,MAAI,OAAOP,KAAU,WACnBP,EAAM,MAAM,SAAS,eAAeD,CAAK,EAAEe,CAAK,IAAIP,KAC3CM,EAAY,SAAS,qBAAqBA,EAAY,SAAS,sBACxEb,EAAM,MAAM,SAAS,eAAeD,CAAK,EAAEe,CAAK,IAAI;AAAA,QAClD,MAAM;AAAA,QACN,OAAOD,EAAY;AAAA,MAAA,IAGnBE,EAAmBR,CAAK,KAAKM,EAAY,SAAS,UACpDb,EAAM,MAAM,SAAS,YAAYa,EAAY,cAAc,IAAIN;AAAA,IAEnE;AAEA,UAAMS,IAAgBZ,EAAS,MAAM;AACnC,UAAIF,EAAM,WAAW,SAAS,eAAe,QAAQ;AACnD,cAAMe,IAAiBf,EAAM,WAAW,SAAS,eAAe,CAAC,EAAE,gBAC7DgB,IAAOf,EAAW,MAAM,cAAcc,CAAc,EAAE;AAC5D,YAAIE,EAAeD,GAAME,EAAW,MAAM,OAAO;AAC/C,iBAAO;AAAA,MAEX;AACA,aAAO;AAAA,IACT,CAAC,GAEKC,IAAUjB,EAAS,MAAM;AAC7B,YAAMG,IAAQF,EAAS,MAAM,SACvBI,IAAUP,EAAM,WAAW,KAAK,eAAe,IAAI,CAACQ,MAAMA,EAAE,cAAc;AAEhF,aAAID,EAAQ,SACF,EAAC,QAAQA,EAAQ,CAAC,GAAG,OAAOa,EAAwBf,CAAK,IAAIA,EAAM,QAAQgB,EAAA,IAE9ED,EAAwBf,CAAK,IAAIiB,IAA0BjB,KAASiB;AAAA,IAC7E,CAAC;AAED,aAASC,EAAgBlB,GAA2C;AAClE,MAAAP,EAAM,MAAM,SAAS,eAAeD,CAAK,EAAE,UAAUQ;AAAA,IACvD;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { defineComponent as g, computed as u, watch as x, createElementBlock as y, openBlock as E, Fragment as k, createElementVNode as t, createVNode as
|
|
1
|
+
import { defineComponent as g, computed as u, watch as x, createElementBlock as y, openBlock as E, Fragment as k, createElementVNode as t, createVNode as a, unref as o, isRef as s } from "vue";
|
|
2
2
|
import { useStore as N } from "../../store.js";
|
|
3
3
|
import { PlDropdown as i, PlBtnGroup as h, PlCheckbox as b } from "@platforma-sdk/ui-vue";
|
|
4
4
|
import { STAT_TEST_METHOD as w, STAT_CORRECTION_METHOD as C, FORMAT_P_VALUE_OPTIONS as T } from "../../constantsCommon.js";
|
|
5
5
|
import "../../constantsAesthetic.js";
|
|
6
6
|
import "../../../node_modules/@milaboratories/pf-plots/dist/index.js";
|
|
7
|
+
import "../../../node_modules/@milaboratories/pl-model-common/dist/drivers/blob.js";
|
|
8
|
+
import "../../../node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js";
|
|
9
|
+
import "../../../node_modules/@milaboratories/pl-model-common/dist/plid.js";
|
|
10
|
+
import "../../../node_modules/@milaboratories/pl-model-common/dist/ref.js";
|
|
11
|
+
import "../../../node_modules/@platforma-sdk/model/dist/render/util/label.js";
|
|
12
|
+
import "../../../node_modules/@milaboratories/pl-error-like/dist/error_like_shape.js";
|
|
7
13
|
import { getReferenceGroupOptions as R, getOverallTestMethodOptions as D, checkStatisticsInputsValidity as O } from "../../utils/getStatisticsOptions.js";
|
|
8
14
|
const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "input-item" }, F = { class: "input-item" }, H = {
|
|
9
15
|
class: "input-item",
|
|
@@ -11,52 +17,52 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
11
17
|
}, I = { class: "checkbox-item" }, _ = { class: "input-item" }, z = { class: "input-item" }, L = {
|
|
12
18
|
class: "input-item",
|
|
13
19
|
style: { "z-index": "0" }
|
|
14
|
-
}, j = { class: "checkbox-item" },
|
|
20
|
+
}, j = { class: "checkbox-item" }, ae = /* @__PURE__ */ g({
|
|
15
21
|
__name: "DiscreteStatisticsForm",
|
|
16
22
|
setup(q) {
|
|
17
|
-
const d = N(),
|
|
23
|
+
const d = N(), r = u(() => d.value.reactive.statisticsSettings), M = u(() => d.value.commonHelpersData.primaryGroups.value), U = u(() => R(M.value)), S = u(() => D(M.value)), n = (G, e) => u({
|
|
18
24
|
get() {
|
|
19
25
|
return G[e] ?? void 0;
|
|
20
26
|
},
|
|
21
27
|
set(l) {
|
|
22
28
|
G[e] = l ?? null;
|
|
23
29
|
}
|
|
24
|
-
}), p = r
|
|
30
|
+
}), p = n(r.value.overall.data, "testMethod"), m = n(r.value.referenceGroup.data, "testMethod"), v = n(r.value.referenceGroup.data, "referenceGroup"), c = n(r.value.referenceGroup.data, "correctionMethod"), f = n(r.value.pairwise.data, "testMethod"), V = n(r.value.pairwise.data, "correctionMethod");
|
|
25
31
|
return O(d)(), x([
|
|
26
|
-
() =>
|
|
27
|
-
() =>
|
|
32
|
+
() => r.value.overall.data.testMethod,
|
|
33
|
+
() => r.value.referenceGroup.data.referenceGroup
|
|
28
34
|
], O(d)), (G, e) => (E(), y(k, null, [
|
|
29
35
|
e[12] || (e[12] = t("h3", null, " Statistics ", -1)),
|
|
30
36
|
e[13] || (e[13] = t("div", { class: "section-title" }, [
|
|
31
37
|
t("span", null, "overall p-value")
|
|
32
38
|
], -1)),
|
|
33
39
|
t("div", P, [
|
|
34
|
-
|
|
40
|
+
a(o(i), {
|
|
35
41
|
label: "Method",
|
|
36
42
|
clearable: "",
|
|
37
43
|
placeholder: "Choose",
|
|
38
44
|
modelValue: o(p),
|
|
39
45
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => s(p) ? p.value = l : null),
|
|
40
46
|
options: S.value,
|
|
41
|
-
error:
|
|
47
|
+
error: r.value.overall.validity.testMethod ? "" : " "
|
|
42
48
|
}, null, 8, ["modelValue", "options", "error"])
|
|
43
49
|
]),
|
|
44
50
|
e[14] || (e[14] = t("div", { class: "section-title" }, [
|
|
45
51
|
t("span", null, "reference group")
|
|
46
52
|
], -1)),
|
|
47
53
|
t("div", A, [
|
|
48
|
-
|
|
54
|
+
a(o(i), {
|
|
49
55
|
label: "Reference from...",
|
|
50
56
|
clearable: "",
|
|
51
57
|
placeholder: "Choose",
|
|
52
58
|
modelValue: o(v),
|
|
53
59
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => s(v) ? v.value = l : null),
|
|
54
60
|
options: U.value,
|
|
55
|
-
error:
|
|
61
|
+
error: r.value.referenceGroup.validity.referenceGroup ? "" : " "
|
|
56
62
|
}, null, 8, ["modelValue", "options", "error"])
|
|
57
63
|
]),
|
|
58
64
|
t("div", B, [
|
|
59
|
-
|
|
65
|
+
a(o(i), {
|
|
60
66
|
label: "Method",
|
|
61
67
|
clearable: "",
|
|
62
68
|
placeholder: "Choose",
|
|
@@ -66,7 +72,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
66
72
|
}, null, 8, ["modelValue", "options"])
|
|
67
73
|
]),
|
|
68
74
|
t("div", F, [
|
|
69
|
-
|
|
75
|
+
a(o(i), {
|
|
70
76
|
label: "Correction method",
|
|
71
77
|
placeholder: "Choose",
|
|
72
78
|
modelValue: o(c),
|
|
@@ -75,17 +81,17 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
75
81
|
}, null, 8, ["modelValue", "options"])
|
|
76
82
|
]),
|
|
77
83
|
t("div", H, [
|
|
78
|
-
|
|
84
|
+
a(o(h), {
|
|
79
85
|
label: "Show",
|
|
80
|
-
modelValue:
|
|
81
|
-
"onUpdate:modelValue": e[4] || (e[4] = (l) =>
|
|
86
|
+
modelValue: r.value.referenceGroup.data.format,
|
|
87
|
+
"onUpdate:modelValue": e[4] || (e[4] = (l) => r.value.referenceGroup.data.format = l),
|
|
82
88
|
options: o(T)
|
|
83
89
|
}, null, 8, ["modelValue", "options"])
|
|
84
90
|
]),
|
|
85
91
|
t("div", I, [
|
|
86
|
-
|
|
87
|
-
modelValue:
|
|
88
|
-
"onUpdate:modelValue": e[5] || (e[5] = (l) =>
|
|
92
|
+
a(o(b), {
|
|
93
|
+
modelValue: r.value.referenceGroup.data.ns,
|
|
94
|
+
"onUpdate:modelValue": e[5] || (e[5] = (l) => r.value.referenceGroup.data.ns = l)
|
|
89
95
|
}, null, 8, ["modelValue"]),
|
|
90
96
|
e[10] || (e[10] = t("span", null, "Non-significant", -1))
|
|
91
97
|
]),
|
|
@@ -93,7 +99,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
93
99
|
t("span", null, "pairwise p-value")
|
|
94
100
|
], -1)),
|
|
95
101
|
t("div", _, [
|
|
96
|
-
|
|
102
|
+
a(o(i), {
|
|
97
103
|
label: "Method",
|
|
98
104
|
clearable: "",
|
|
99
105
|
placeholder: "Choose",
|
|
@@ -103,7 +109,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
103
109
|
}, null, 8, ["modelValue", "options"])
|
|
104
110
|
]),
|
|
105
111
|
t("div", z, [
|
|
106
|
-
|
|
112
|
+
a(o(i), {
|
|
107
113
|
label: "Correction method",
|
|
108
114
|
placeholder: "Choose",
|
|
109
115
|
modelValue: o(V),
|
|
@@ -112,17 +118,17 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
112
118
|
}, null, 8, ["modelValue", "options"])
|
|
113
119
|
]),
|
|
114
120
|
t("div", L, [
|
|
115
|
-
|
|
121
|
+
a(o(h), {
|
|
116
122
|
label: "Show",
|
|
117
|
-
modelValue:
|
|
118
|
-
"onUpdate:modelValue": e[8] || (e[8] = (l) =>
|
|
123
|
+
modelValue: r.value.pairwise.data.format,
|
|
124
|
+
"onUpdate:modelValue": e[8] || (e[8] = (l) => r.value.pairwise.data.format = l),
|
|
119
125
|
options: o(T)
|
|
120
126
|
}, null, 8, ["modelValue", "options"])
|
|
121
127
|
]),
|
|
122
128
|
t("div", j, [
|
|
123
|
-
|
|
124
|
-
modelValue:
|
|
125
|
-
"onUpdate:modelValue": e[9] || (e[9] = (l) =>
|
|
129
|
+
a(o(b), {
|
|
130
|
+
modelValue: r.value.pairwise.data.ns,
|
|
131
|
+
"onUpdate:modelValue": e[9] || (e[9] = (l) => r.value.pairwise.data.ns = l)
|
|
126
132
|
}, null, 8, ["modelValue"]),
|
|
127
133
|
e[11] || (e[11] = t("span", null, "Non-significant", -1))
|
|
128
134
|
])
|
|
@@ -130,6 +136,6 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
130
136
|
}
|
|
131
137
|
});
|
|
132
138
|
export {
|
|
133
|
-
|
|
139
|
+
ae as default
|
|
134
140
|
};
|
|
135
141
|
//# sourceMappingURL=DiscreteStatisticsForm.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscreteStatisticsForm.vue.js","sources":["../../../../src/GraphMaker/forms/StatisticsForm/DiscreteStatisticsForm.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport {useStore} from '../../store';\nimport {PlDropdown, PlBtnGroup, PlCheckbox} from \"@platforma-sdk/ui-vue\";\nimport { computed, watch } from 'vue';\nimport {\n DiscreteStatisticsState,\n FORMAT_P_VALUE_OPTIONS,\n STAT_CORRECTION_METHOD,\n STAT_TEST_METHOD\n} from '../../constantsCommon';\nimport {checkStatisticsInputsValidity, getOverallTestMethodOptions, getReferenceGroupOptions} from '../../utils';\n\nconst store = useStore();\nconst settings = computed(() => store.value.reactive.statisticsSettings as DiscreteStatisticsState);\n\nconst primaryGroups = computed(() => store.value.commonHelpersData.primaryGroups.value)\n\nconst referenceGroupOptions = computed(() => getReferenceGroupOptions(primaryGroups.value));\n\nconst overallTestMethodOptions = computed(() => getOverallTestMethodOptions(primaryGroups.value));\n\n\nconst withUndefined = (data:Record<string, string|null|boolean>, field:string) => {\n return computed({\n get() {\n return data[field] ?? undefined;\n },\n set(newValue:string | undefined) {\n data[field] = newValue ?? null;\n },\n })\n}\nconst overallTestMethod = withUndefined(settings.value.overall.data, 'testMethod');\n\nconst referenceGroupMethod = withUndefined(settings.value.referenceGroup.data, 'testMethod');\nconst referenceGroup = withUndefined(settings.value.referenceGroup.data, 'referenceGroup');\nconst referenceGroupCorrection = withUndefined(settings.value.referenceGroup.data, 'correctionMethod');\n\nconst pairwise = withUndefined(settings.value.pairwise.data, 'testMethod');\nconst pairwiseCorrection = withUndefined(settings.value.pairwise.data, 'correctionMethod');\n\ncheckStatisticsInputsValidity(store)();\nwatch([\n () => settings.value.overall.data.testMethod,\n () => settings.value.referenceGroup.data.referenceGroup\n], checkStatisticsInputsValidity(store));\n</script>\n<template>\n <h3>\n Statistics\n </h3>\n <!--Overall p-value settings-->\n <div class=\"section-title\"><span>overall p-value</span></div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n v-model=\"overallTestMethod\"\n :options=\"overallTestMethodOptions\"\n :error=\"settings.overall.validity.testMethod ? '' : ' '\"\n />\n </div>\n <!--Reference group p-value settings-->\n <div class=\"section-title\"><span>reference group</span></div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Reference from...\"\n clearable\n placeholder=\"Choose\"\n v-model=\"referenceGroup\"\n :options=\"referenceGroupOptions\"\n :error=\"settings.referenceGroup.validity.referenceGroup ? '' : ' '\"\n />\n </div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n v-model=\"referenceGroupMethod\"\n :options=\"STAT_TEST_METHOD\"\n />\n </div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Correction method\"\n placeholder=\"Choose\"\n v-model=\"referenceGroupCorrection\"\n :options=\"STAT_CORRECTION_METHOD\"\n />\n </div>\n <div class=\"input-item\" style=\"z-index: 0\">\n <pl-btn-group\n label=\"Show\"\n v-model=\"settings.referenceGroup.data.format\"\n :options=\"FORMAT_P_VALUE_OPTIONS\"\n />\n </div>\n <div class=\"checkbox-item\">\n <pl-checkbox v-model=\"settings.referenceGroup.data.ns\"/>\n <span>Non-significant</span>\n </div>\n <!--pairwise.data p-value settings-->\n <div class=\"section-title\"><span>pairwise p-value</span></div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n v-model=\"pairwise\"\n :options=\"STAT_TEST_METHOD\"\n />\n </div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Correction method\"\n placeholder=\"Choose\"\n v-model=\"pairwiseCorrection\"\n :options=\"STAT_CORRECTION_METHOD\"\n />\n </div>\n <div class=\"input-item\" style=\"z-index: 0\">\n <pl-btn-group\n label=\"Show\"\n v-model=\"settings.pairwise.data.format\"\n :options=\"FORMAT_P_VALUE_OPTIONS\"\n />\n </div>\n <div class=\"checkbox-item\">\n <pl-checkbox v-model=\"settings.pairwise.data.ns\"/>\n <span>Non-significant</span>\n </div>\n</template>\n"],"names":["store","useStore","settings","computed","primaryGroups","referenceGroupOptions","getReferenceGroupOptions","overallTestMethodOptions","getOverallTestMethodOptions","withUndefined","data","field","newValue","overallTestMethod","referenceGroupMethod","referenceGroup","referenceGroupCorrection","pairwise","pairwiseCorrection","checkStatisticsInputsValidity","watch"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DiscreteStatisticsForm.vue.js","sources":["../../../../src/GraphMaker/forms/StatisticsForm/DiscreteStatisticsForm.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport {useStore} from '../../store';\nimport {PlDropdown, PlBtnGroup, PlCheckbox} from \"@platforma-sdk/ui-vue\";\nimport { computed, watch } from 'vue';\nimport {\n DiscreteStatisticsState,\n FORMAT_P_VALUE_OPTIONS,\n STAT_CORRECTION_METHOD,\n STAT_TEST_METHOD\n} from '../../constantsCommon';\nimport {checkStatisticsInputsValidity, getOverallTestMethodOptions, getReferenceGroupOptions} from '../../utils';\n\nconst store = useStore();\nconst settings = computed(() => store.value.reactive.statisticsSettings as DiscreteStatisticsState);\n\nconst primaryGroups = computed(() => store.value.commonHelpersData.primaryGroups.value)\n\nconst referenceGroupOptions = computed(() => getReferenceGroupOptions(primaryGroups.value));\n\nconst overallTestMethodOptions = computed(() => getOverallTestMethodOptions(primaryGroups.value));\n\n\nconst withUndefined = (data:Record<string, string|null|boolean>, field:string) => {\n return computed({\n get() {\n return data[field] ?? undefined;\n },\n set(newValue:string | undefined) {\n data[field] = newValue ?? null;\n },\n })\n}\nconst overallTestMethod = withUndefined(settings.value.overall.data, 'testMethod');\n\nconst referenceGroupMethod = withUndefined(settings.value.referenceGroup.data, 'testMethod');\nconst referenceGroup = withUndefined(settings.value.referenceGroup.data, 'referenceGroup');\nconst referenceGroupCorrection = withUndefined(settings.value.referenceGroup.data, 'correctionMethod');\n\nconst pairwise = withUndefined(settings.value.pairwise.data, 'testMethod');\nconst pairwiseCorrection = withUndefined(settings.value.pairwise.data, 'correctionMethod');\n\ncheckStatisticsInputsValidity(store)();\nwatch([\n () => settings.value.overall.data.testMethod,\n () => settings.value.referenceGroup.data.referenceGroup\n], checkStatisticsInputsValidity(store));\n</script>\n<template>\n <h3>\n Statistics\n </h3>\n <!--Overall p-value settings-->\n <div class=\"section-title\"><span>overall p-value</span></div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n v-model=\"overallTestMethod\"\n :options=\"overallTestMethodOptions\"\n :error=\"settings.overall.validity.testMethod ? '' : ' '\"\n />\n </div>\n <!--Reference group p-value settings-->\n <div class=\"section-title\"><span>reference group</span></div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Reference from...\"\n clearable\n placeholder=\"Choose\"\n v-model=\"referenceGroup\"\n :options=\"referenceGroupOptions\"\n :error=\"settings.referenceGroup.validity.referenceGroup ? '' : ' '\"\n />\n </div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n v-model=\"referenceGroupMethod\"\n :options=\"STAT_TEST_METHOD\"\n />\n </div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Correction method\"\n placeholder=\"Choose\"\n v-model=\"referenceGroupCorrection\"\n :options=\"STAT_CORRECTION_METHOD\"\n />\n </div>\n <div class=\"input-item\" style=\"z-index: 0\">\n <pl-btn-group\n label=\"Show\"\n v-model=\"settings.referenceGroup.data.format\"\n :options=\"FORMAT_P_VALUE_OPTIONS\"\n />\n </div>\n <div class=\"checkbox-item\">\n <pl-checkbox v-model=\"settings.referenceGroup.data.ns\"/>\n <span>Non-significant</span>\n </div>\n <!--pairwise.data p-value settings-->\n <div class=\"section-title\"><span>pairwise p-value</span></div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n v-model=\"pairwise\"\n :options=\"STAT_TEST_METHOD\"\n />\n </div>\n <div class=\"input-item\">\n <pl-dropdown\n label=\"Correction method\"\n placeholder=\"Choose\"\n v-model=\"pairwiseCorrection\"\n :options=\"STAT_CORRECTION_METHOD\"\n />\n </div>\n <div class=\"input-item\" style=\"z-index: 0\">\n <pl-btn-group\n label=\"Show\"\n v-model=\"settings.pairwise.data.format\"\n :options=\"FORMAT_P_VALUE_OPTIONS\"\n />\n </div>\n <div class=\"checkbox-item\">\n <pl-checkbox v-model=\"settings.pairwise.data.ns\"/>\n <span>Non-significant</span>\n </div>\n</template>\n"],"names":["store","useStore","settings","computed","primaryGroups","referenceGroupOptions","getReferenceGroupOptions","overallTestMethodOptions","getOverallTestMethodOptions","withUndefined","data","field","newValue","overallTestMethod","referenceGroupMethod","referenceGroup","referenceGroupCorrection","pairwise","pairwiseCorrection","checkStatisticsInputsValidity","watch"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAYA,UAAMA,IAAQC,EAAA,GACRC,IAAWC,EAAS,MAAMH,EAAM,MAAM,SAAS,kBAA6C,GAE5FI,IAAgBD,EAAS,MAAMH,EAAM,MAAM,kBAAkB,cAAc,KAAK,GAEhFK,IAAwBF,EAAS,MAAMG,EAAyBF,EAAc,KAAK,CAAC,GAEpFG,IAA2BJ,EAAS,MAAMK,EAA4BJ,EAAc,KAAK,CAAC,GAG1FK,IAAgB,CAACC,GAA0CC,MACxDR,EAAS;AAAA,MACd,MAAM;AACJ,eAAOO,EAAKC,CAAK,KAAK;AAAA,MACxB;AAAA,MACA,IAAIC,GAA6B;AAC/B,QAAAF,EAAKC,CAAK,IAAIC,KAAY;AAAA,MAC5B;AAAA,IAAA,CACD,GAEGC,IAAoBJ,EAAcP,EAAS,MAAM,QAAQ,MAAM,YAAY,GAE3EY,IAAuBL,EAAcP,EAAS,MAAM,eAAe,MAAM,YAAY,GACrFa,IAAiBN,EAAcP,EAAS,MAAM,eAAe,MAAM,gBAAgB,GACnFc,IAA2BP,EAAcP,EAAS,MAAM,eAAe,MAAM,kBAAkB,GAE/Fe,IAAWR,EAAcP,EAAS,MAAM,SAAS,MAAM,YAAY,GACnEgB,IAAqBT,EAAcP,EAAS,MAAM,SAAS,MAAM,kBAAkB;AAEzF,WAAAiB,EAA8BnB,CAAK,EAAA,GACnCoB,EAAM;AAAA,MACJ,MAAMlB,EAAS,MAAM,QAAQ,KAAK;AAAA,MAClC,MAAMA,EAAS,MAAM,eAAe,KAAK;AAAA,IAAA,GACxCiB,EAA8BnB,CAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -17,9 +17,15 @@ import "./constantsAesthetic.js";
|
|
|
17
17
|
import { composeChartSettings as A } from "./utils/createChartSettingsForRender/composeChartSettings.js";
|
|
18
18
|
import { saveToFile as be } from "./utils/saveToFile.js";
|
|
19
19
|
import { copyJSON as d } from "./utils/copyJSON.js";
|
|
20
|
+
import "../node_modules/@milaboratories/pl-model-common/dist/drivers/blob.js";
|
|
21
|
+
import "../node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.js";
|
|
22
|
+
import "../node_modules/@milaboratories/pl-model-common/dist/plid.js";
|
|
23
|
+
import "../node_modules/@milaboratories/pl-model-common/dist/ref.js";
|
|
24
|
+
import "../node_modules/@platforma-sdk/model/dist/render/util/label.js";
|
|
25
|
+
import "../node_modules/@milaboratories/pl-error-like/dist/error_like_shape.js";
|
|
20
26
|
import { DemoDataStore as De } from "../node_modules/@milaboratories/pf-plots/dist/demoStore.js";
|
|
21
27
|
import { debouncedWatch as v } from "../node_modules/@vueuse/shared/index.js";
|
|
22
|
-
const Te = { class: "graph-maker" }, Ce = { class: "graph-maker__main-pane" },
|
|
28
|
+
const Te = { class: "graph-maker" }, Ce = { class: "graph-maker__main-pane" }, Qe = /* @__PURE__ */ le({
|
|
23
29
|
__name: "index",
|
|
24
30
|
props: /* @__PURE__ */ _({
|
|
25
31
|
pFrame: {},
|
|
@@ -350,6 +356,6 @@ const Te = { class: "graph-maker" }, Ce = { class: "graph-maker__main-pane" }, A
|
|
|
350
356
|
}
|
|
351
357
|
});
|
|
352
358
|
export {
|
|
353
|
-
|
|
359
|
+
Qe as default
|
|
354
360
|
};
|
|
355
361
|
//# sourceMappingURL=index.vue.js.map
|