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