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