@milaboratories/graph-maker 1.2.1 → 1.2.3

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