@milaboratories/graph-maker 1.2.0 → 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/AesSettings/AesDataMappingDiscrete.css +1 -1
- package/dist/components/AesSettings/AesDataMappingDiscrete.vue.d.ts.map +1 -1
- package/dist/components/AesSettings/AesDataMappingDiscrete.vue2.js.map +1 -1
- package/dist/components/AesSettings/AesDataMappingDiscrete.vue3.js +1 -1
- package/dist/components/Chart.vue.d.ts.map +1 -1
- package/dist/components/Chart.vue.js +67 -66
- package/dist/components/Chart.vue.js.map +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/components/ReorderForm.vue.d.ts.map +1 -1
- package/dist/components/ReorderForm.vue2.js +14 -13
- package/dist/components/ReorderForm.vue2.js.map +1 -1
- package/dist/constantsCommon.d.ts +7 -0
- package/dist/constantsCommon.d.ts.map +1 -1
- package/dist/constantsCommon.js +33 -28
- package/dist/constantsCommon.js.map +1 -1
- package/dist/dataBindAes.d.ts.map +1 -1
- package/dist/dataBindAes.js +88 -93
- 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 +96 -78
- 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 +189 -161
- 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 +157 -139
- 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 +154 -136
- 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 +232 -201
- 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.d.ts.map +1 -1
- package/dist/forms/LayersForm/AesSelector.vue.js +86 -86
- package/dist/forms/LayersForm/AesSelector.vue.js.map +1 -1
- package/dist/index.vue.d.ts.map +1 -1
- package/dist/index.vue.js +183 -159
- 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 +135 -128
- package/dist/store.js.map +1 -1
- package/dist/types.d.ts +5 -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 +9 -0
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.d.ts.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.js +24 -22
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.js.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 +16 -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 -468
- package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.js +48 -31
- package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.d.ts +22 -0
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.d.ts.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.js +24 -22
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeHistogramSettings.d.ts +5 -0
- package/dist/utils/createChartSettingsForRender/composeHistogramSettings.d.ts.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeHistogramSettings.js +24 -22
- package/dist/utils/createChartSettingsForRender/composeHistogramSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts +19 -0
- package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.js +89 -71
- package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts +12 -0
- package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js +40 -35
- package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.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 +2 -2
- 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 S, PlTextField as
|
|
3
|
-
import { useStore as
|
|
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
4
|
import G from "../../components/CollapsableBlock.vue.js";
|
|
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
|
-
|
|
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:
|
|
58
|
-
],
|
|
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 }
|
|
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
|
-
}),
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
const e = F.value.getSourceInfo(y.value) ?? null, o = ((n = X.value[y.value]) == null ? void 0 : n.labels) ?? null;
|
|
95
|
+
}), P = r(() => {
|
|
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,40 +124,40 @@ 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
|
+
e[53] || (e[53] = a("h3", { class: "axes-title" }, " Axes ", -1)),
|
|
130
|
+
a("div", ye, [
|
|
129
131
|
s(G, {
|
|
130
132
|
title: "Title",
|
|
131
|
-
settings:
|
|
132
|
-
icon:
|
|
133
|
-
"icon-open":
|
|
133
|
+
settings: T,
|
|
134
|
+
icon: L,
|
|
135
|
+
"icon-open": F
|
|
134
136
|
}, {
|
|
135
137
|
default: v(() => [
|
|
136
|
-
a("div",
|
|
138
|
+
a("div", ce, [
|
|
137
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",
|
|
141
|
-
options:
|
|
143
|
+
options: U,
|
|
142
144
|
compact: !0
|
|
143
145
|
}, null, 8, ["modelValue"])
|
|
144
146
|
]),
|
|
145
|
-
l(t).title.mode === "custom" ? (d(), p("div",
|
|
146
|
-
s(l(
|
|
147
|
+
l(t).title.mode === "custom" ? (d(), p("div", Ae, [
|
|
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),
|
|
149
151
|
label: "Chart title",
|
|
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
|
]),
|
|
@@ -163,18 +165,18 @@ const be = { class: "axes-settings-list" }, ye = { class: "axes-settings-options
|
|
|
163
165
|
}),
|
|
164
166
|
s(G, {
|
|
165
167
|
title: "X-axis",
|
|
166
|
-
settings:
|
|
167
|
-
icon:
|
|
168
|
-
"icon-open":
|
|
168
|
+
settings: T,
|
|
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 &&
|
|
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
|
-
"column-value-labels":
|
|
235
|
-
"data-column-label": ((o =
|
|
236
|
-
"used-aes-in-mapping":
|
|
236
|
+
"column-value-labels": P.value.labels,
|
|
237
|
+
"data-column-label": ((o = P.value.selectedSourceInfo) == null ? void 0 : o.label) ?? "",
|
|
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,65 +245,65 @@ 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",
|
|
274
|
+
a("div", Ne, [
|
|
273
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",
|
|
277
|
-
options:
|
|
279
|
+
options: U,
|
|
278
280
|
compact: !0
|
|
279
281
|
}, null, 8, ["modelValue"])
|
|
280
282
|
]),
|
|
281
|
-
l(t).axisX.titleMode === "custom" ? (d(), p("div",
|
|
282
|
-
s(l(
|
|
283
|
+
l(t).axisX.titleMode === "custom" ? (d(), p("div", Ge, [
|
|
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),
|
|
285
287
|
label: "Text",
|
|
286
288
|
placeholder: "Type"
|
|
287
289
|
}, null, 8, ["modelValue"])
|
|
288
290
|
])) : m("", !0),
|
|
289
|
-
a("div",
|
|
290
|
-
e[
|
|
291
|
+
a("div", Le, [
|
|
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)
|
|
@@ -312,57 +314,57 @@ const be = { class: "axes-settings-list" }, ye = { class: "axes-settings-options
|
|
|
312
314
|
}),
|
|
313
315
|
s(G, {
|
|
314
316
|
title: "Y-axis",
|
|
315
|
-
settings:
|
|
316
|
-
icon:
|
|
317
|
-
"icon-open":
|
|
317
|
+
settings: T,
|
|
318
|
+
icon: L,
|
|
319
|
+
"icon-open": F
|
|
318
320
|
}, {
|
|
319
321
|
default: v(() => [
|
|
320
|
-
a("div",
|
|
322
|
+
a("div", Re, [
|
|
321
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",
|
|
325
|
-
options:
|
|
327
|
+
options: U,
|
|
326
328
|
compact: !0
|
|
327
329
|
}, null, 8, ["modelValue"])
|
|
328
330
|
]),
|
|
329
|
-
l(t).axisY.titleMode === "custom" ? (d(), p("div",
|
|
330
|
-
s(l(
|
|
331
|
+
l(t).axisY.titleMode === "custom" ? (d(), p("div", Me, [
|
|
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),
|
|
333
335
|
label: "Text",
|
|
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",
|
|
350
|
+
a("div", Ye, [
|
|
349
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,37 +373,63 @@ 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",
|
|
387
|
-
|
|
388
|
-
|
|
388
|
+
a("div", qe, [
|
|
389
|
+
s(l(k), {
|
|
390
|
+
modelValue: l(t).other.nullValueLabel,
|
|
391
|
+
"onUpdate:modelValue": e[29] || (e[29] = (o) => l(t).other.nullValueLabel = o),
|
|
392
|
+
label: "Null value label",
|
|
393
|
+
placeholder: "NA"
|
|
394
|
+
}, null, 8, ["modelValue"])
|
|
395
|
+
]),
|
|
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, {
|
|
389
417
|
modelValue: l(t).other.frame,
|
|
390
|
-
"onUpdate:modelValue": e[
|
|
391
|
-
options:
|
|
418
|
+
"onUpdate:modelValue": e[32] || (e[32] = (o) => l(t).other.frame = o),
|
|
419
|
+
options: ee
|
|
392
420
|
}, null, 8, ["modelValue"])
|
|
393
421
|
]),
|
|
394
|
-
a("div",
|
|
395
|
-
e[
|
|
422
|
+
a("div", Ke, [
|
|
423
|
+
e[52] || (e[52] = a("span", null, "Reverse axes", -1)),
|
|
396
424
|
s(l(x), {
|
|
397
425
|
modelValue: l(t).other.reverse,
|
|
398
|
-
"onUpdate:modelValue": e[
|
|
426
|
+
"onUpdate:modelValue": e[33] || (e[33] = (o) => l(t).other.reverse = o)
|
|
399
427
|
}, null, 8, ["modelValue"])
|
|
400
428
|
]),
|
|
401
|
-
a("div",
|
|
402
|
-
s(l(
|
|
429
|
+
a("div", Qe, [
|
|
430
|
+
s(l(se), {
|
|
403
431
|
modelValue: l(t).other.facetColumns,
|
|
404
|
-
"onUpdate:modelValue": e[
|
|
432
|
+
"onUpdate:modelValue": e[34] || (e[34] = (o) => l(t).other.facetColumns = o),
|
|
405
433
|
style: { width: "100%" },
|
|
406
434
|
label: "Facet column count",
|
|
407
435
|
min: 1,
|
|
@@ -411,12 +439,12 @@ const be = { class: "axes-settings-list" }, ye = { class: "axes-settings-options
|
|
|
411
439
|
mode: "input"
|
|
412
440
|
}, null, 8, ["modelValue"])
|
|
413
441
|
]),
|
|
414
|
-
a("div",
|
|
442
|
+
a("div", We, [
|
|
415
443
|
s(l(S), {
|
|
416
444
|
modelValue: l(t).other.facetSharedBy,
|
|
417
|
-
"onUpdate:modelValue": e[
|
|
445
|
+
"onUpdate:modelValue": e[35] || (e[35] = (o) => l(t).other.facetSharedBy = o),
|
|
418
446
|
label: "Facet shared by",
|
|
419
|
-
options:
|
|
447
|
+
options: le,
|
|
420
448
|
compact: !0
|
|
421
449
|
}, null, 8, ["modelValue"])
|
|
422
450
|
])
|
|
@@ -426,6 +454,6 @@ const be = { class: "axes-settings-list" }, ye = { class: "axes-settings-options
|
|
|
426
454
|
}
|
|
427
455
|
});
|
|
428
456
|
export {
|
|
429
|
-
|
|
457
|
+
cl as default
|
|
430
458
|
};
|
|
431
459
|
//# sourceMappingURL=DiscreteAxesSettingsForm.vue.js.map
|