@milaboratories/graph-maker 1.1.227 → 1.2.1

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