@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,103 +1,102 @@
1
- import { defineComponent as oe, computed as r, ref as k, 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 P } from "vue";
2
- import { PlBtnGroup as S, PlTextField as I, PlToggleSwitch as x, PlCheckbox as L, Slider as ae } from "@platforma-sdk/ui-vue";
3
- import { useStore as se } from "../../store.js";
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
4
  import G from "../../components/CollapsableBlock.vue.js";
5
- import N 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" }, Se = {
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
- }, we = { 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
- }, ke = {
31
+ }, Ue = {
31
32
  key: 1,
32
33
  class: "axes-settings-options-row"
33
- }, Ae = {
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
- }, Xe = { class: "axes-settings-options-row" }, Oe = {
40
+ }, Pe = { class: "axes-settings-options-row" }, Ce = {
40
41
  key: 4,
41
42
  class: "axes-settings-options-row"
42
- }, Ue = { class: "axes-settings-options-row block" }, Pe = { key: 5 }, Ie = { class: "axes-settings-options-row table" }, Le = { class: "axes-settings-options-row table" }, Ge = { class: "axes-settings-options-row table" }, Ne = { 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 block" }, gl = /* @__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(ze) {
45
- const i = se(), t = i.value.reactive.axesSettings, A = {
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 }
58
- ], T = [
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 }
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 = k(!1), b = k(!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
- }), w = r(() => i.value.commonHelpersData.primaryGroups.value), c = r(() => i.value.commonHelpersData.secondaryGroups.value), B = r(() => i.value.commonHelpersData.usedAesInMapping.value), M = k(i.value.reactive.dataBindAes[g.value] ?? Q(w.value, i.value.defaultPalette.categorical)), E = k(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: w.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
- }), U = 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;
95
+ }), P = r(() => {
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,40 +124,40 @@ 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[33] || (e[33] = (o) => o.stopPropagation())
127
+ onClick: e[36] || (e[36] = (o) => o.stopPropagation())
126
128
  }, [
127
- e[50] || (e[50] = a("h3", { class: "axes-title" }, " Axes ", -1)),
128
- a("div", be, [
129
+ e[53] || (e[53] = a("h3", { class: "axes-title" }, " Axes ", -1)),
130
+ a("div", ye, [
129
131
  s(G, {
130
132
  title: "Title",
131
- settings: A,
132
- icon: N,
133
- "icon-open": C
133
+ settings: T,
134
+ icon: L,
135
+ "icon-open": F
134
136
  }, {
135
137
  default: v(() => [
136
- a("div", ye, [
138
+ a("div", ce, [
137
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",
141
- options: T,
143
+ options: U,
142
144
  compact: !0
143
145
  }, null, 8, ["modelValue"])
144
146
  ]),
145
- l(t).title.mode === "custom" ? (d(), p("div", Se, [
146
- s(l(I), {
147
+ l(t).title.mode === "custom" ? (d(), p("div", Ae, [
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),
149
151
  label: "Chart title",
150
152
  placeholder: "Chart title"
151
153
  }, null, 8, ["modelValue"])
152
154
  ])) : m("", !0),
153
- a("div", we, [
154
- e[34] || (e[34] = 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
  ]),
@@ -163,18 +165,18 @@ const be = { class: "axes-settings-list" }, ye = { class: "axes-settings-options
163
165
  }),
164
166
  s(G, {
165
167
  title: "X-axis",
166
- settings: A,
167
- icon: N,
168
- "icon-open": C
168
+ settings: T,
169
+ icon: L,
170
+ "icon-open": F
169
171
  }, {
170
172
  default: v(() => [
171
- w.value.length > 1 ? (d(), p("div", ce, [
172
- e[35] || (e[35] = 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
- w.value.length > 1 ? (d(), p("div", ke, [
206
- e[36] || (e[36] = 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", Ae, [
213
- e[37] || (e[37] = 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 && U.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
- "column-value-labels": U.value.labels,
235
- "data-column-label": ((o = U.value.selectedSourceInfo) == null ? void 0 : o.label) ?? "",
236
- "used-aes-in-mapping": B.value[y.value],
236
+ "column-value-labels": P.value.labels,
237
+ "data-column-label": ((o = P.value.selectedSourceInfo) == null ? void 0 : o.label) ?? "",
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,65 +245,65 @@ 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[38] || (e[38] = 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", Xe, [
254
- s(l(L), {
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[39] || (e[39] = [
259
- P("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", Oe, [
265
- e[40] || (e[40] = 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", Ue, [
274
+ a("div", Ne, [
273
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",
277
- options: T,
279
+ options: U,
278
280
  compact: !0
279
281
  }, null, 8, ["modelValue"])
280
282
  ]),
281
- l(t).axisX.titleMode === "custom" ? (d(), p("div", Pe, [
282
- s(l(I), {
283
+ l(t).axisX.titleMode === "custom" ? (d(), p("div", Ge, [
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),
285
287
  label: "Text",
286
288
  placeholder: "Type"
287
289
  }, null, 8, ["modelValue"])
288
290
  ])) : m("", !0),
289
- a("div", Ie, [
290
- e[41] || (e[41] = a("span", null, "Gridlines", -1)),
291
+ a("div", Le, [
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", Le, [
297
- e[42] || (e[42] = 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", Ge, [
304
- e[43] || (e[43] = 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)
@@ -312,57 +314,57 @@ const be = { class: "axes-settings-list" }, ye = { class: "axes-settings-options
312
314
  }),
313
315
  s(G, {
314
316
  title: "Y-axis",
315
- settings: A,
316
- icon: N,
317
- "icon-open": C
317
+ settings: T,
318
+ icon: L,
319
+ "icon-open": F
318
320
  }, {
319
321
  default: v(() => [
320
- a("div", Ne, [
322
+ a("div", Re, [
321
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",
325
- options: T,
327
+ options: U,
326
328
  compact: !0
327
329
  }, null, 8, ["modelValue"])
328
330
  ]),
329
- l(t).axisY.titleMode === "custom" ? (d(), p("div", Ce, [
330
- s(l(I), {
331
+ l(t).axisY.titleMode === "custom" ? (d(), p("div", Me, [
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),
333
335
  label: "Text",
334
336
  placeholder: "Type"
335
337
  }, null, 8, ["modelValue"])
336
338
  ])) : m("", !0),
337
- a("div", Re, [
338
- s(l(L), {
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[44] || (e[44] = [
343
- P("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, [
350
+ a("div", Ye, [
349
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[45] || (e[45] = 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[46] || (e[46] = 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,37 +373,63 @@ 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(L), {
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[47] || (e[47] = [
381
- P("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, [
387
- e[48] || (e[48] = a("span", null, "Frame", -1)),
388
- s(R, {
388
+ a("div", qe, [
389
+ s(l(k), {
390
+ modelValue: l(t).other.nullValueLabel,
391
+ "onUpdate:modelValue": e[29] || (e[29] = (o) => l(t).other.nullValueLabel = o),
392
+ label: "Null value label",
393
+ placeholder: "NA"
394
+ }, null, 8, ["modelValue"])
395
+ ]),
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, {
389
417
  modelValue: l(t).other.frame,
390
- "onUpdate:modelValue": e[29] || (e[29] = (o) => l(t).other.frame = o),
391
- options: h
418
+ "onUpdate:modelValue": e[32] || (e[32] = (o) => l(t).other.frame = o),
419
+ options: ee
392
420
  }, null, 8, ["modelValue"])
393
421
  ]),
394
- a("div", $e, [
395
- e[49] || (e[49] = a("span", null, "Reverse axes", -1)),
422
+ a("div", Ke, [
423
+ e[52] || (e[52] = a("span", null, "Reverse axes", -1)),
396
424
  s(l(x), {
397
425
  modelValue: l(t).other.reverse,
398
- "onUpdate:modelValue": e[30] || (e[30] = (o) => l(t).other.reverse = o)
426
+ "onUpdate:modelValue": e[33] || (e[33] = (o) => l(t).other.reverse = o)
399
427
  }, null, 8, ["modelValue"])
400
428
  ]),
401
- a("div", He, [
402
- s(l(ae), {
429
+ a("div", Qe, [
430
+ s(l(se), {
403
431
  modelValue: l(t).other.facetColumns,
404
- "onUpdate:modelValue": e[31] || (e[31] = (o) => l(t).other.facetColumns = o),
432
+ "onUpdate:modelValue": e[34] || (e[34] = (o) => l(t).other.facetColumns = o),
405
433
  style: { width: "100%" },
406
434
  label: "Facet column count",
407
435
  min: 1,
@@ -411,12 +439,12 @@ const be = { class: "axes-settings-list" }, ye = { class: "axes-settings-options
411
439
  mode: "input"
412
440
  }, null, 8, ["modelValue"])
413
441
  ]),
414
- a("div", qe, [
442
+ a("div", We, [
415
443
  s(l(S), {
416
444
  modelValue: l(t).other.facetSharedBy,
417
- "onUpdate:modelValue": e[32] || (e[32] = (o) => l(t).other.facetSharedBy = o),
445
+ "onUpdate:modelValue": e[35] || (e[35] = (o) => l(t).other.facetSharedBy = o),
418
446
  label: "Facet shared by",
419
- options: ee,
447
+ options: le,
420
448
  compact: !0
421
449
  }, null, 8, ["modelValue"])
422
450
  ])
@@ -426,6 +454,6 @@ const be = { class: "axes-settings-list" }, ye = { class: "axes-settings-options
426
454
  }
427
455
  });
428
456
  export {
429
- gl as default
457
+ cl as default
430
458
  };
431
459
  //# sourceMappingURL=DiscreteAxesSettingsForm.vue.js.map