@milaboratories/graph-maker 1.1.142 → 1.1.143
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/components/ReorderForm.vue.d.ts +15 -0
- package/dist/GraphMaker/components/ReorderForm.vue.d.ts.map +1 -0
- package/dist/GraphMaker/components/ReorderForm.vue.js +43 -0
- package/dist/GraphMaker/components/ReorderForm.vue.js.map +1 -0
- package/dist/GraphMaker/components/ReorderForm.vue2.js +5 -0
- package/dist/GraphMaker/components/ReorderForm.vue2.js.map +1 -0
- package/dist/GraphMaker/constantsCommon.d.ts +15 -0
- package/dist/GraphMaker/constantsCommon.d.ts.map +1 -1
- package/dist/GraphMaker/constantsCommon.js +11 -8
- package/dist/GraphMaker/constantsCommon.js.map +1 -1
- package/dist/GraphMaker/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js.map +1 -1
- package/dist/GraphMaker/forms/AxesSettingsForm/ScatterplotAxesSettingsForm.vue.d.ts.map +1 -1
- package/dist/GraphMaker/forms/AxesSettingsForm/ScatterplotAxesSettingsForm.vue.js +305 -172
- package/dist/GraphMaker/forms/AxesSettingsForm/ScatterplotAxesSettingsForm.vue.js.map +1 -1
- package/dist/GraphMaker/index.vue.js +33 -33
- package/dist/GraphMaker/index.vue.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeBubbleSettings.d.ts +3 -3
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeBubbleSettings.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDendroSettings.d.ts +9 -9
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDendroSettings.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts +5 -11
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHeatmapSettings.d.ts +3 -3
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHeatmapSettings.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeHistogramSettings.d.ts +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts +31 -5
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotSettings.js +56 -53
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotSettings.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts +1 -7
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js +13 -13
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/getAxesDataFromForms.d.ts +6 -4
- package/dist/GraphMaker/utils/createChartSettingsForRender/getAxesDataFromForms.d.ts.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/getAxesDataFromForms.js +42 -13
- package/dist/GraphMaker/utils/createChartSettingsForRender/getAxesDataFromForms.js.map +1 -1
- package/dist/GraphMaker/utils/loadUniqueValuesToSave.d.ts.map +1 -1
- package/dist/GraphMaker/utils/loadUniqueValuesToSave.js +48 -44
- package/dist/GraphMaker/utils/loadUniqueValuesToSave.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/{discrete/components → common}/BandAxis.js +3 -3
- package/dist/node_modules/@milaboratories/miplots4/dist/common/BandAxis.js.map +1 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/common/ContinuousGrid.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/dendro/ChartRenderer.js +14 -14
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/ChartRenderer.js +197 -270
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/ChartRenderer.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/DiscreteSettingsImpl.js +9 -9
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/components/Chart.js +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/components/Chart.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/components/Grid.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/index.js +11 -11
- package/dist/node_modules/@milaboratories/miplots4/dist/histogram/ChartRenderer.js +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/node_modules/d3-scale/src/band.js +44 -34
- package/dist/node_modules/@milaboratories/miplots4/dist/node_modules/d3-scale/src/band.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/ChartRenderer.js +272 -195
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/ChartRenderer.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/ScatterplotSettingsImpl.js +23 -23
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/ScatterplotSettingsImpl.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/Chart.js +54 -50
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/Chart.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/ChartAxis.js +32 -28
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/ChartAxis.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/ChartLayersData.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/ChartTooltip.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/ChartTrendsData.js +29 -26
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/ChartTrendsData.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/ChartsGroup.js +44 -41
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/ChartsGroup.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/Grid.js +31 -27
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/Grid.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/dots.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/getLayersData.js +29 -18
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/getLayersData.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/index.js +71 -57
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/index.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/linearRegression.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/utils/isNumericScale.js +11 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/utils/isNumericScale.js.map +1 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot-umap/ChartRenderer.js +10 -10
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot-umap/ChartRenderer.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot-umap/SettingsImpl.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot-umap/components/LowerSVG.js +6 -6
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot-umap/components/LowerSVG.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/types/common.js +35 -25
- package/dist/node_modules/@milaboratories/miplots4/dist/types/common.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/types/dendro.js +3 -3
- package/dist/node_modules/@milaboratories/miplots4/dist/types/discrete.js +37 -37
- package/dist/node_modules/@milaboratories/miplots4/dist/types/discrete.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/types/heatmap.js +6 -6
- package/dist/node_modules/@milaboratories/miplots4/dist/types/scatterplot-umap.js +7 -7
- package/dist/node_modules/@milaboratories/miplots4/dist/types/scatterplot-umap.js.map +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/utils/createMultilineDiscreteLabels.js +32 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/utils/createMultilineDiscreteLabels.js.map +1 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/utils/getFacetRowsColumns.js +18 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/utils/getFacetRowsColumns.js.map +1 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/utils/measureMultilineDiscreteLabels.js +63 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/utils/measureMultilineDiscreteLabels.js.map +1 -0
- package/dist/node_modules/@milaboratories/miplots4/dist/{discrete/utils → utils}/splitTextByWidth.js +1 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/utils/splitTextByWidth.js.map +1 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot.js +2 -2
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot.js.map +1 -1
- package/package.json +3 -3
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/components/BandAxis.js.map +0 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/discrete/utils/splitTextByWidth.js.map +0 -1
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/Axis.js +0 -59
- package/dist/node_modules/@milaboratories/miplots4/dist/scatterplot/components/Axis.js.map +0 -1
|
@@ -1,164 +1,268 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { PlBtnGroup as
|
|
3
|
-
import { useStore as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
|
|
1
|
+
import { defineComponent as Z, computed as m, ref as p, createElementBlock as d, openBlock as a, createElementVNode as s, createVNode as i, createCommentVNode as u, withCtx as x, unref as l, createBlock as b } from "vue";
|
|
2
|
+
import { PlBtnGroup as g, PlTextField as C, PlToggleSwitch as T, Slider as h } from "@platforma-sdk/ui-vue";
|
|
3
|
+
import { useStore as ee } from "../../store.js";
|
|
4
|
+
import O from "../../components/CollapsableBlock.vue.js";
|
|
5
|
+
import $ from "../../icons/Right.vue.js";
|
|
6
|
+
import E from "../../icons/Down.vue.js";
|
|
7
|
+
import X from "../../components/BtnIconGroup.vue.js";
|
|
8
|
+
import te from "../../icons/AlignLeft.vue.js";
|
|
9
|
+
import le from "../../icons/AlignCenter.vue.js";
|
|
10
|
+
import oe from "../../icons/AlignRight.vue.js";
|
|
11
|
+
import se from "../../icons/FrameFull.vue.js";
|
|
12
|
+
import ie from "../../icons/FrameEmpty.vue.js";
|
|
13
|
+
import ne from "../../icons/FrameLeft.vue.js";
|
|
14
|
+
import ae from "../../icons/FrameBottom.vue.js";
|
|
15
|
+
import ue from "../../icons/FrameLeftBottom.vue.js";
|
|
16
|
+
import Y from "../../components/AesButton.vue.js";
|
|
17
|
+
import _ from "../../components/AesSettings/FormWrapper.vue.js";
|
|
18
|
+
import q from "../../components/Popup.vue.js";
|
|
19
|
+
import z from "../../components/AesSettings/FixedLineTypeList.vue.js";
|
|
20
|
+
import { getPopupHeightForFixedAesList as re } from "../../utils/getPopupHeightForFixedAesList.js";
|
|
21
|
+
import { FIXED_LINE_TYPES as de } from "../../constantsAesthetic.js";
|
|
22
|
+
import j from "../../components/ReorderForm.vue.js";
|
|
23
|
+
import me from "../../icons/Rotation0.vue.js";
|
|
24
|
+
import pe from "../../icons/Rotation45.vue.js";
|
|
25
|
+
import ve from "../../icons/Rotation90.vue.js";
|
|
26
|
+
const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options-row block" }, ge = {
|
|
22
27
|
key: 0,
|
|
23
28
|
class: "axes-settings-input"
|
|
24
|
-
},
|
|
29
|
+
}, Ve = { class: "axes-settings-options-row" }, Se = { class: "axes-settings-options-row block" }, ye = { key: 0 }, ke = {
|
|
30
|
+
key: 1,
|
|
31
|
+
class: "axes-settings-options-row block"
|
|
32
|
+
}, be = {
|
|
33
|
+
key: 2,
|
|
34
|
+
class: "axes-settings-options-row"
|
|
35
|
+
}, Te = {
|
|
36
|
+
key: 3,
|
|
37
|
+
class: "axes-settings-options-row"
|
|
38
|
+
}, Xe = { class: "axes-settings-options-row table" }, Ye = { class: "axes-settings-options-row table" }, Le = { class: "axes-settings-options-row" }, we = { class: "fixed-aes-list fixed-aes-list__rows" }, Re = { class: "axes-settings-options-row block" }, ce = { key: 0 }, Ae = {
|
|
39
|
+
key: 1,
|
|
40
|
+
class: "axes-settings-options-row block"
|
|
41
|
+
}, Ue = {
|
|
42
|
+
key: 2,
|
|
43
|
+
class: "axes-settings-options-row"
|
|
44
|
+
}, Fe = {
|
|
45
|
+
key: 3,
|
|
46
|
+
class: "axes-settings-options-row"
|
|
47
|
+
}, Pe = { class: "axes-settings-options-row table" }, Ce = { class: "axes-settings-options-row table" }, Oe = { class: "axes-settings-options-row" }, $e = { class: "fixed-aes-list fixed-aes-list__rows" }, Ee = {
|
|
25
48
|
key: 0,
|
|
26
49
|
class: "other"
|
|
27
|
-
},
|
|
50
|
+
}, Ie = { class: "axes-settings-options-row" }, Ne = { class: "axes-settings-options-row" }, Be = { class: "axes-settings-options-row block" }, pt = /* @__PURE__ */ Z({
|
|
28
51
|
__name: "ScatterplotAxesSettingsForm",
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
52
|
+
setup(Me) {
|
|
53
|
+
const r = ee(), o = r.value.reactive.axesSettings, J = m(() => r.value.reactive.chartType), L = {
|
|
31
54
|
height: 40,
|
|
32
55
|
horizontalPadding: 12,
|
|
33
56
|
defaultState: "open"
|
|
34
|
-
},
|
|
35
|
-
{ value: "left", icon:
|
|
36
|
-
{ value: "center", icon:
|
|
37
|
-
{ value: "right", icon:
|
|
38
|
-
],
|
|
57
|
+
}, K = [
|
|
58
|
+
{ value: "left", icon: te },
|
|
59
|
+
{ value: "center", icon: le },
|
|
60
|
+
{ value: "right", icon: oe }
|
|
61
|
+
], w = [
|
|
39
62
|
{ value: "auto", text: "Auto" },
|
|
40
63
|
{ value: "custom", text: "Custom" },
|
|
41
64
|
{ value: "hidden", text: "Hide" }
|
|
42
|
-
],
|
|
65
|
+
], I = [
|
|
43
66
|
{ value: "linear", text: "Linear" },
|
|
44
67
|
{ value: "log", text: "Log" }
|
|
45
|
-
],
|
|
46
|
-
{ value: "empty", icon:
|
|
47
|
-
{ value: "left", icon:
|
|
48
|
-
{ value: "bottom", icon:
|
|
49
|
-
{ value: "left-bottom", icon:
|
|
50
|
-
{ value: "full", icon:
|
|
51
|
-
],
|
|
68
|
+
], Q = [
|
|
69
|
+
{ value: "empty", icon: ie },
|
|
70
|
+
{ value: "left", icon: ne },
|
|
71
|
+
{ value: "bottom", icon: ae },
|
|
72
|
+
{ value: "left-bottom", icon: ue },
|
|
73
|
+
{ value: "full", icon: se }
|
|
74
|
+
], W = [
|
|
52
75
|
{ text: "X", value: "x" },
|
|
53
76
|
{ text: "Y", value: "y" },
|
|
54
77
|
{ text: "XY", value: "xy" },
|
|
55
78
|
{ text: "None", value: "none" }
|
|
56
|
-
],
|
|
57
|
-
|
|
79
|
+
], N = [
|
|
80
|
+
{ value: "center", icon: me },
|
|
81
|
+
{ value: "45deg", icon: pe },
|
|
82
|
+
{ value: "90deg", icon: ve }
|
|
83
|
+
], R = p(o.axisX.significantLinesStyle), c = p(o.axisY.significantLinesStyle), B = m(() => re(de.length, "lineType")), M = p(), D = p(), V = p(!1), S = p(!1), v = m(() => {
|
|
84
|
+
const n = r.value.reactive.optionsState.components.x.selectorStates;
|
|
85
|
+
return n.length ? n[0].selectedSource : null;
|
|
86
|
+
}), f = m(() => {
|
|
87
|
+
const n = r.value.reactive.optionsState.components.y.selectorStates;
|
|
88
|
+
return n.length ? n[0].selectedSource : null;
|
|
89
|
+
}), y = m(() => v.value ? r.value.inputGuide.value.getSourceInfo(v.value).type === "String" : !1), k = m(() => f.value ? r.value.inputGuide.value.getSourceInfo(f.value).type === "String" : !1), A = p(!1), U = p(!1), F = m({
|
|
90
|
+
get: () => {
|
|
91
|
+
var e;
|
|
92
|
+
if (!y.value || !v.value)
|
|
93
|
+
return null;
|
|
94
|
+
const n = r.value.reactive.axesSettings.axisX.order;
|
|
95
|
+
return (n == null ? void 0 : n.source) === v.value ? n.options : (e = r.value.uniqueValuesData.value[v.value]) == null ? void 0 : e.options;
|
|
96
|
+
},
|
|
97
|
+
set: (n) => {
|
|
98
|
+
v.value && n && (r.value.reactive.axesSettings.axisX.order = {
|
|
99
|
+
source: v.value,
|
|
100
|
+
options: n
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}), P = m({
|
|
104
|
+
get: () => {
|
|
105
|
+
var e;
|
|
106
|
+
if (!k.value || !f.value)
|
|
107
|
+
return null;
|
|
108
|
+
const n = r.value.reactive.axesSettings.axisY.order;
|
|
109
|
+
return (n == null ? void 0 : n.source) === f.value ? n.options : (e = r.value.uniqueValuesData.value[f.value]) == null ? void 0 : e.options;
|
|
110
|
+
},
|
|
111
|
+
set: (n) => {
|
|
112
|
+
f.value && n && (r.value.reactive.axesSettings.axisY.order = {
|
|
113
|
+
source: f.value,
|
|
114
|
+
options: n
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
}), G = m({
|
|
118
|
+
get() {
|
|
119
|
+
return o.axisX.labelsRotation ?? "center";
|
|
120
|
+
},
|
|
121
|
+
set(n) {
|
|
122
|
+
o.axisX.labelsRotation = n;
|
|
123
|
+
}
|
|
124
|
+
}), H = m({
|
|
125
|
+
get() {
|
|
126
|
+
return o.axisY.labelsRotation ?? "center";
|
|
127
|
+
},
|
|
128
|
+
set(n) {
|
|
129
|
+
o.axisY.labelsRotation = n;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
return (n, e) => (a(), d("div", {
|
|
58
133
|
class: "axes-form",
|
|
59
|
-
onClick: e[
|
|
134
|
+
onClick: e[34] || (e[34] = (t) => t.stopPropagation())
|
|
60
135
|
}, [
|
|
61
|
-
e[
|
|
62
|
-
s("div",
|
|
63
|
-
i(
|
|
136
|
+
e[47] || (e[47] = s("h3", { class: "axes-title" }, " Axes ", -1)),
|
|
137
|
+
s("div", fe, [
|
|
138
|
+
i(O, {
|
|
64
139
|
title: "Title",
|
|
65
|
-
settings:
|
|
66
|
-
icon:
|
|
67
|
-
"icon-open":
|
|
140
|
+
settings: L,
|
|
141
|
+
icon: $,
|
|
142
|
+
"icon-open": E
|
|
68
143
|
}, {
|
|
69
|
-
default:
|
|
70
|
-
s("div",
|
|
71
|
-
i(
|
|
144
|
+
default: x(() => [
|
|
145
|
+
s("div", xe, [
|
|
146
|
+
i(l(g), {
|
|
72
147
|
label: "Title",
|
|
73
|
-
options:
|
|
74
|
-
modelValue:
|
|
75
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
148
|
+
options: w,
|
|
149
|
+
modelValue: l(o).title.mode,
|
|
150
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => l(o).title.mode = t)
|
|
76
151
|
}, null, 8, ["modelValue"])
|
|
77
152
|
]),
|
|
78
|
-
|
|
79
|
-
i(
|
|
153
|
+
l(o).title.mode === "custom" ? (a(), d("div", ge, [
|
|
154
|
+
i(l(C), {
|
|
80
155
|
label: "Chart title",
|
|
81
156
|
placeholder: "Chart title",
|
|
82
|
-
modelValue:
|
|
83
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
157
|
+
modelValue: l(o).title.value,
|
|
158
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => l(o).title.value = t)
|
|
84
159
|
}, null, 8, ["modelValue"])
|
|
85
160
|
])) : u("", !0),
|
|
86
|
-
s("div",
|
|
87
|
-
e[
|
|
88
|
-
i(
|
|
89
|
-
options:
|
|
90
|
-
modelValue:
|
|
91
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
161
|
+
s("div", Ve, [
|
|
162
|
+
e[35] || (e[35] = s("span", null, "Alignment", -1)),
|
|
163
|
+
i(X, {
|
|
164
|
+
options: K,
|
|
165
|
+
modelValue: l(o).title.position,
|
|
166
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => l(o).title.position = t)
|
|
92
167
|
}, null, 8, ["modelValue"])
|
|
93
168
|
])
|
|
94
169
|
]),
|
|
95
170
|
_: 1
|
|
96
171
|
}),
|
|
97
|
-
i(
|
|
172
|
+
i(O, {
|
|
98
173
|
title: "X-axis",
|
|
99
|
-
settings:
|
|
100
|
-
icon:
|
|
101
|
-
"icon-open":
|
|
174
|
+
settings: L,
|
|
175
|
+
icon: $,
|
|
176
|
+
"icon-open": E
|
|
102
177
|
}, {
|
|
103
|
-
default:
|
|
104
|
-
s("div",
|
|
105
|
-
i(
|
|
178
|
+
default: x(() => [
|
|
179
|
+
s("div", Se, [
|
|
180
|
+
i(l(g), {
|
|
106
181
|
label: "Title",
|
|
107
|
-
options:
|
|
108
|
-
modelValue:
|
|
109
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
182
|
+
options: w,
|
|
183
|
+
modelValue: l(o).axisX.titleMode,
|
|
184
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => l(o).axisX.titleMode = t)
|
|
110
185
|
}, null, 8, ["modelValue"])
|
|
111
186
|
]),
|
|
112
|
-
|
|
113
|
-
i(
|
|
187
|
+
l(o).axisX.titleMode === "custom" ? (a(), d("div", ye, [
|
|
188
|
+
i(l(C), {
|
|
114
189
|
label: "Text",
|
|
115
190
|
placeholder: "Type",
|
|
116
|
-
modelValue:
|
|
117
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
191
|
+
modelValue: l(o).axisX.customTitle,
|
|
192
|
+
"onUpdate:modelValue": e[4] || (e[4] = (t) => l(o).axisX.customTitle = t)
|
|
118
193
|
}, null, 8, ["modelValue"])
|
|
119
194
|
])) : u("", !0),
|
|
120
|
-
|
|
121
|
-
i(
|
|
195
|
+
y.value ? u("", !0) : (a(), d("div", ke, [
|
|
196
|
+
i(l(g), {
|
|
122
197
|
label: "Scale",
|
|
123
|
-
options:
|
|
124
|
-
modelValue:
|
|
125
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
198
|
+
options: I,
|
|
199
|
+
modelValue: l(o).axisX.scale,
|
|
200
|
+
"onUpdate:modelValue": e[5] || (e[5] = (t) => l(o).axisX.scale = t)
|
|
126
201
|
}, null, 8, ["modelValue"])
|
|
127
|
-
]),
|
|
128
|
-
|
|
129
|
-
e[
|
|
130
|
-
i(
|
|
131
|
-
|
|
132
|
-
|
|
202
|
+
])),
|
|
203
|
+
y.value && F.value ? (a(), d("div", be, [
|
|
204
|
+
e[36] || (e[36] = s("span", null, "X axis order: ", -1)),
|
|
205
|
+
i(Y, {
|
|
206
|
+
data: { type: "data", value: null },
|
|
207
|
+
onClick: e[6] || (e[6] = (t) => A.value = !0)
|
|
208
|
+
}),
|
|
209
|
+
A.value ? (a(), b(_, {
|
|
210
|
+
key: 0,
|
|
211
|
+
title: "Reorder X axis values",
|
|
212
|
+
"back-title": "Axes Settings",
|
|
213
|
+
"onForm:close": e[8] || (e[8] = (t) => A.value = !1)
|
|
214
|
+
}, {
|
|
215
|
+
default: x(() => [
|
|
216
|
+
i(j, {
|
|
217
|
+
modelValue: F.value,
|
|
218
|
+
"onUpdate:modelValue": e[7] || (e[7] = (t) => F.value = t)
|
|
219
|
+
}, null, 8, ["modelValue"])
|
|
220
|
+
]),
|
|
221
|
+
_: 1
|
|
222
|
+
})) : u("", !0)
|
|
223
|
+
])) : u("", !0),
|
|
224
|
+
y.value ? (a(), d("div", Te, [
|
|
225
|
+
e[37] || (e[37] = s("span", null, "Labels rotation", -1)),
|
|
226
|
+
i(X, {
|
|
227
|
+
options: N,
|
|
228
|
+
modelValue: G.value,
|
|
229
|
+
"onUpdate:modelValue": e[9] || (e[9] = (t) => G.value = t)
|
|
230
|
+
}, null, 8, ["modelValue"])
|
|
231
|
+
])) : u("", !0),
|
|
232
|
+
s("div", Xe, [
|
|
233
|
+
e[38] || (e[38] = s("span", null, "Gridlines", -1)),
|
|
234
|
+
i(l(T), {
|
|
235
|
+
modelValue: l(o).axisX.gridlines,
|
|
236
|
+
"onUpdate:modelValue": e[10] || (e[10] = (t) => l(o).axisX.gridlines = t)
|
|
133
237
|
}, null, 8, ["modelValue"])
|
|
134
238
|
]),
|
|
135
|
-
s("div",
|
|
136
|
-
e[
|
|
137
|
-
i(
|
|
138
|
-
modelValue:
|
|
139
|
-
"onUpdate:modelValue": e[
|
|
239
|
+
s("div", Ye, [
|
|
240
|
+
e[39] || (e[39] = s("span", null, "Ticks", -1)),
|
|
241
|
+
i(l(T), {
|
|
242
|
+
modelValue: l(o).axisX.ticks,
|
|
243
|
+
"onUpdate:modelValue": e[11] || (e[11] = (t) => l(o).axisX.ticks = t)
|
|
140
244
|
}, null, 8, ["modelValue"])
|
|
141
245
|
]),
|
|
142
|
-
s("div",
|
|
143
|
-
e[
|
|
144
|
-
i(
|
|
145
|
-
data: { type: "lineType", value:
|
|
146
|
-
onClick: e[
|
|
147
|
-
onRef: e[
|
|
246
|
+
s("div", Le, [
|
|
247
|
+
e[40] || (e[40] = s("span", null, "Significant lines style", -1)),
|
|
248
|
+
i(Y, {
|
|
249
|
+
data: { type: "lineType", value: R.value },
|
|
250
|
+
onClick: e[12] || (e[12] = (t) => V.value = !V.value),
|
|
251
|
+
onRef: e[13] || (e[13] = (t) => M.value = t)
|
|
148
252
|
}, null, 8, ["data"]),
|
|
149
|
-
|
|
253
|
+
V.value ? (a(), b(q, {
|
|
150
254
|
key: 0,
|
|
151
|
-
height:
|
|
152
|
-
targetRef:
|
|
153
|
-
"onPopup:close": e[
|
|
255
|
+
height: B.value,
|
|
256
|
+
targetRef: M.value,
|
|
257
|
+
"onPopup:close": e[16] || (e[16] = (t) => V.value = !1)
|
|
154
258
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
s("div",
|
|
157
|
-
i(
|
|
158
|
-
modelValue:
|
|
259
|
+
default: x(() => [
|
|
260
|
+
s("div", we, [
|
|
261
|
+
i(z, {
|
|
262
|
+
modelValue: R.value,
|
|
159
263
|
"onUpdate:modelValue": [
|
|
160
|
-
e[
|
|
161
|
-
e[
|
|
264
|
+
e[14] || (e[14] = (t) => R.value = t),
|
|
265
|
+
e[15] || (e[15] = (t) => l(o).axisX.significantLinesStyle = t)
|
|
162
266
|
]
|
|
163
267
|
}, null, 8, ["modelValue"])
|
|
164
268
|
])
|
|
@@ -169,71 +273,100 @@ const W = { class: "axes-settings-list" }, Z = { class: "axes-settings-options-r
|
|
|
169
273
|
]),
|
|
170
274
|
_: 1
|
|
171
275
|
}),
|
|
172
|
-
i(
|
|
276
|
+
i(O, {
|
|
173
277
|
title: "Y-axis",
|
|
174
|
-
settings:
|
|
175
|
-
icon:
|
|
176
|
-
"icon-open":
|
|
278
|
+
settings: L,
|
|
279
|
+
icon: $,
|
|
280
|
+
"icon-open": E
|
|
177
281
|
}, {
|
|
178
|
-
default:
|
|
179
|
-
s("div",
|
|
180
|
-
i(
|
|
282
|
+
default: x(() => [
|
|
283
|
+
s("div", Re, [
|
|
284
|
+
i(l(g), {
|
|
181
285
|
label: "Title",
|
|
182
|
-
options:
|
|
183
|
-
modelValue:
|
|
184
|
-
"onUpdate:modelValue": e[
|
|
286
|
+
options: w,
|
|
287
|
+
modelValue: l(o).axisY.titleMode,
|
|
288
|
+
"onUpdate:modelValue": e[17] || (e[17] = (t) => l(o).axisY.titleMode = t)
|
|
185
289
|
}, null, 8, ["modelValue"])
|
|
186
290
|
]),
|
|
187
|
-
|
|
188
|
-
i(
|
|
291
|
+
l(o).axisY.titleMode === "custom" ? (a(), d("div", ce, [
|
|
292
|
+
i(l(C), {
|
|
189
293
|
label: "Text",
|
|
190
294
|
placeholder: "Type",
|
|
191
|
-
modelValue:
|
|
192
|
-
"onUpdate:modelValue": e[
|
|
295
|
+
modelValue: l(o).axisY.customTitle,
|
|
296
|
+
"onUpdate:modelValue": e[18] || (e[18] = (t) => l(o).axisY.customTitle = t)
|
|
193
297
|
}, null, 8, ["modelValue"])
|
|
194
298
|
])) : u("", !0),
|
|
195
|
-
|
|
196
|
-
i(
|
|
299
|
+
k.value ? u("", !0) : (a(), d("div", Ae, [
|
|
300
|
+
i(l(g), {
|
|
197
301
|
label: "Scale",
|
|
198
|
-
options:
|
|
199
|
-
modelValue:
|
|
200
|
-
"onUpdate:modelValue": e[
|
|
302
|
+
options: I,
|
|
303
|
+
modelValue: l(o).axisY.scale,
|
|
304
|
+
"onUpdate:modelValue": e[19] || (e[19] = (t) => l(o).axisY.scale = t)
|
|
201
305
|
}, null, 8, ["modelValue"])
|
|
202
|
-
]),
|
|
203
|
-
|
|
204
|
-
e[
|
|
205
|
-
i(
|
|
206
|
-
|
|
207
|
-
|
|
306
|
+
])),
|
|
307
|
+
k.value && P.value ? (a(), d("div", Ue, [
|
|
308
|
+
e[41] || (e[41] = s("span", null, "Y axis order: ", -1)),
|
|
309
|
+
i(Y, {
|
|
310
|
+
data: { type: "data", value: null },
|
|
311
|
+
onClick: e[20] || (e[20] = (t) => U.value = !0)
|
|
312
|
+
}),
|
|
313
|
+
U.value ? (a(), b(_, {
|
|
314
|
+
key: 0,
|
|
315
|
+
title: "Reorder Y axis values",
|
|
316
|
+
"back-title": "Axes Settings",
|
|
317
|
+
"onForm:close": e[22] || (e[22] = (t) => U.value = !1)
|
|
318
|
+
}, {
|
|
319
|
+
default: x(() => [
|
|
320
|
+
i(j, {
|
|
321
|
+
modelValue: P.value,
|
|
322
|
+
"onUpdate:modelValue": e[21] || (e[21] = (t) => P.value = t)
|
|
323
|
+
}, null, 8, ["modelValue"])
|
|
324
|
+
]),
|
|
325
|
+
_: 1
|
|
326
|
+
})) : u("", !0)
|
|
327
|
+
])) : u("", !0),
|
|
328
|
+
k.value ? (a(), d("div", Fe, [
|
|
329
|
+
e[42] || (e[42] = s("span", null, "Labels rotation", -1)),
|
|
330
|
+
i(X, {
|
|
331
|
+
options: N,
|
|
332
|
+
modelValue: H.value,
|
|
333
|
+
"onUpdate:modelValue": e[23] || (e[23] = (t) => H.value = t)
|
|
334
|
+
}, null, 8, ["modelValue"])
|
|
335
|
+
])) : u("", !0),
|
|
336
|
+
s("div", Pe, [
|
|
337
|
+
e[43] || (e[43] = s("span", null, "Gridlines", -1)),
|
|
338
|
+
i(l(T), {
|
|
339
|
+
modelValue: l(o).axisY.gridlines,
|
|
340
|
+
"onUpdate:modelValue": e[24] || (e[24] = (t) => l(o).axisY.gridlines = t)
|
|
208
341
|
}, null, 8, ["modelValue"])
|
|
209
342
|
]),
|
|
210
|
-
s("div",
|
|
211
|
-
e[
|
|
212
|
-
i(
|
|
213
|
-
modelValue:
|
|
214
|
-
"onUpdate:modelValue": e[
|
|
343
|
+
s("div", Ce, [
|
|
344
|
+
e[44] || (e[44] = s("span", null, "Ticks", -1)),
|
|
345
|
+
i(l(T), {
|
|
346
|
+
modelValue: l(o).axisY.ticks,
|
|
347
|
+
"onUpdate:modelValue": e[25] || (e[25] = (t) => l(o).axisY.ticks = t)
|
|
215
348
|
}, null, 8, ["modelValue"])
|
|
216
349
|
]),
|
|
217
|
-
s("div",
|
|
218
|
-
e[
|
|
219
|
-
i(
|
|
220
|
-
data: { type: "lineType", value:
|
|
221
|
-
onClick: e[
|
|
222
|
-
onRef: e[
|
|
350
|
+
s("div", Oe, [
|
|
351
|
+
e[45] || (e[45] = s("span", null, "Significant lines style", -1)),
|
|
352
|
+
i(Y, {
|
|
353
|
+
data: { type: "lineType", value: c.value },
|
|
354
|
+
onClick: e[26] || (e[26] = (t) => S.value = !S.value),
|
|
355
|
+
onRef: e[27] || (e[27] = (t) => D.value = t)
|
|
223
356
|
}, null, 8, ["data"]),
|
|
224
|
-
|
|
357
|
+
S.value ? (a(), b(q, {
|
|
225
358
|
key: 0,
|
|
226
|
-
height:
|
|
227
|
-
targetRef:
|
|
228
|
-
"onPopup:close": e[
|
|
359
|
+
height: B.value,
|
|
360
|
+
targetRef: D.value,
|
|
361
|
+
"onPopup:close": e[30] || (e[30] = (t) => S.value = !1)
|
|
229
362
|
}, {
|
|
230
|
-
default:
|
|
231
|
-
s("div",
|
|
232
|
-
i(
|
|
233
|
-
modelValue:
|
|
363
|
+
default: x(() => [
|
|
364
|
+
s("div", $e, [
|
|
365
|
+
i(z, {
|
|
366
|
+
modelValue: c.value,
|
|
234
367
|
"onUpdate:modelValue": [
|
|
235
|
-
e[
|
|
236
|
-
e[
|
|
368
|
+
e[28] || (e[28] = (t) => c.value = t),
|
|
369
|
+
e[29] || (e[29] = (t) => l(o).axisY.significantLinesStyle = t)
|
|
237
370
|
]
|
|
238
371
|
}, null, 8, ["modelValue"])
|
|
239
372
|
])
|
|
@@ -244,17 +377,17 @@ const W = { class: "axes-settings-list" }, Z = { class: "axes-settings-options-r
|
|
|
244
377
|
]),
|
|
245
378
|
_: 1
|
|
246
379
|
}),
|
|
247
|
-
|
|
248
|
-
s("div",
|
|
249
|
-
e[
|
|
250
|
-
i(
|
|
251
|
-
options:
|
|
252
|
-
modelValue:
|
|
253
|
-
"onUpdate:modelValue": e[
|
|
380
|
+
J.value === "scatterplot" ? (a(), d("div", Ee, [
|
|
381
|
+
s("div", Ie, [
|
|
382
|
+
e[46] || (e[46] = s("span", null, "Frame", -1)),
|
|
383
|
+
i(X, {
|
|
384
|
+
options: Q,
|
|
385
|
+
modelValue: l(o).other.frame,
|
|
386
|
+
"onUpdate:modelValue": e[31] || (e[31] = (t) => l(o).other.frame = t)
|
|
254
387
|
}, null, 8, ["modelValue"])
|
|
255
388
|
]),
|
|
256
|
-
s("div",
|
|
257
|
-
i(
|
|
389
|
+
s("div", Ne, [
|
|
390
|
+
i(l(h), {
|
|
258
391
|
style: { width: "100%" },
|
|
259
392
|
label: "Facet column count",
|
|
260
393
|
min: 1,
|
|
@@ -262,16 +395,16 @@ const W = { class: "axes-settings-list" }, Z = { class: "axes-settings-options-r
|
|
|
262
395
|
step: 1,
|
|
263
396
|
breakpoints: !0,
|
|
264
397
|
mode: "input",
|
|
265
|
-
modelValue:
|
|
266
|
-
"onUpdate:modelValue": e[
|
|
398
|
+
modelValue: l(o).other.facetColumns,
|
|
399
|
+
"onUpdate:modelValue": e[32] || (e[32] = (t) => l(o).other.facetColumns = t)
|
|
267
400
|
}, null, 8, ["modelValue"])
|
|
268
401
|
]),
|
|
269
|
-
s("div",
|
|
270
|
-
i(
|
|
402
|
+
s("div", Be, [
|
|
403
|
+
i(l(g), {
|
|
271
404
|
label: "Facet shared by",
|
|
272
|
-
options:
|
|
273
|
-
modelValue:
|
|
274
|
-
"onUpdate:modelValue": e[
|
|
405
|
+
options: W,
|
|
406
|
+
modelValue: l(o).other.facetSharedBy,
|
|
407
|
+
"onUpdate:modelValue": e[33] || (e[33] = (t) => l(o).other.facetSharedBy = t)
|
|
275
408
|
}, null, 8, ["modelValue"])
|
|
276
409
|
])
|
|
277
410
|
])) : u("", !0)
|
|
@@ -280,6 +413,6 @@ const W = { class: "axes-settings-list" }, Z = { class: "axes-settings-options-r
|
|
|
280
413
|
}
|
|
281
414
|
});
|
|
282
415
|
export {
|
|
283
|
-
|
|
416
|
+
pt as default
|
|
284
417
|
};
|
|
285
418
|
//# sourceMappingURL=ScatterplotAxesSettingsForm.vue.js.map
|