@milaboratories/graph-maker 1.2.0 → 1.2.2

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