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