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