@milaboratories/graph-maker 1.1.195 → 1.1.197

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