@milaboratories/graph-maker 1.1.194 → 1.1.196

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