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