@milaboratories/graph-maker 1.1.142 → 1.1.143

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