@milaboratories/graph-maker 1.1.181 → 1.1.183

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 (34) hide show
  1. package/dist/components/AesSettings/AesDataMappingDiscrete.vue.d.ts +1 -3
  2. package/dist/components/AesSettings/AesDataMappingDiscrete.vue.js +7 -323
  3. package/dist/components/AesSettings/AesDataMappingDiscrete.vue.js.map +1 -1
  4. package/dist/components/AesSettings/AesDataMappingDiscrete.vue2.js +215 -2
  5. package/dist/components/AesSettings/AesDataMappingDiscrete.vue2.js.map +1 -1
  6. package/dist/components/AesSettings/AesDataMappingDiscrete.vue3.js +11 -0
  7. package/dist/components/AesSettings/AesDataMappingDiscrete.vue3.js.map +1 -0
  8. package/dist/components/AesSettings/DiscreteRow.vue.d.ts +27 -0
  9. package/dist/components/AesSettings/DiscreteRow.vue.js +10 -0
  10. package/dist/components/AesSettings/DiscreteRow.vue.js.map +1 -0
  11. package/dist/components/AesSettings/DiscreteRow.vue2.js +159 -0
  12. package/dist/components/AesSettings/DiscreteRow.vue2.js.map +1 -0
  13. package/dist/components/AesSettings/DiscreteRow.vue3.js +19 -0
  14. package/dist/components/AesSettings/DiscreteRow.vue3.js.map +1 -0
  15. package/dist/components/Chart.vue.js +165 -148
  16. package/dist/components/Chart.vue.js.map +1 -1
  17. package/dist/components/ReorderForm.vue.d.ts +1 -3
  18. package/dist/components/ReorderForm.vue.js +7 -43
  19. package/dist/components/ReorderForm.vue.js.map +1 -1
  20. package/dist/components/ReorderForm.vue2.js +50 -2
  21. package/dist/components/ReorderForm.vue2.js.map +1 -1
  22. package/dist/components/ReorderForm.vue3.js +11 -0
  23. package/dist/components/ReorderForm.vue3.js.map +1 -0
  24. package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js +20 -20
  25. package/dist/forms/AxesSettingsForm/ScatterplotAxesSettingsForm.vue.js +53 -53
  26. package/dist/forms/LayersForm/AesSelector.vue.js +29 -29
  27. package/dist/utils/createChartSettingsForRender/composeChartSettings.js +35 -35
  28. package/dist/utils/createChartSettingsForRender/composeChartSettings.js.map +1 -1
  29. package/dist/utils/createChartSettingsForRender/getLayersDataFromForms.js +49 -52
  30. package/dist/utils/createChartSettingsForRender/getLayersDataFromForms.js.map +1 -1
  31. package/package.json +2 -2
  32. package/dist/icons/Reorder.vue.d.ts +0 -2
  33. package/dist/icons/Reorder.vue.js +0 -19
  34. package/dist/icons/Reorder.vue.js.map +0 -1
@@ -1,5 +1,53 @@
1
- import f from "./ReorderForm.vue.js";
1
+ import { defineComponent as r, mergeModels as d, useModel as u, computed as n, ref as p, watch as c, createElementBlock as g, openBlock as v, createElementVNode as i, createVNode as f, unref as b, withCtx as y, normalizeClass as V, toDisplayString as _ } from "vue";
2
+ import { PlElementList as k } from "@platforma-sdk/ui-vue";
3
+ const w = { class: "aes-mapping-block" }, R = { class: "column-values-list" }, D = /* @__PURE__ */ r({
4
+ __name: "ReorderForm",
5
+ props: {
6
+ modelValue: { required: !0 },
7
+ modelModifiers: {}
8
+ },
9
+ emits: /* @__PURE__ */ d(["update:modelValue"], ["update:modelValue"]),
10
+ setup(m, { emit: h }) {
11
+ const a = u(m, "modelValue"), o = n({
12
+ get: () => a.value.map((e) => ({
13
+ text: e.label,
14
+ value: e.value
15
+ })),
16
+ set: (e) => {
17
+ a.value = e.map((t) => ({
18
+ value: t.value,
19
+ label: t.text
20
+ }));
21
+ }
22
+ }), s = p(o.value);
23
+ return c(() => s.value, (e) => {
24
+ o.value = e;
25
+ }, { deep: !0 }), (e, t) => (v(), g("div", w, [
26
+ t[1] || (t[1] = i("div", { class: "aes-settings-hint" }, " Drag the rows to reorder ", -1)),
27
+ i("div", R, [
28
+ f(b(k), {
29
+ items: s.value,
30
+ "onUpdate:items": t[0] || (t[0] = (l) => s.value = l),
31
+ "get-item-key": (l) => l.value,
32
+ "item-class": e.$style.discreteRow,
33
+ "item-class-title": e.$style.discreteRowTitle,
34
+ disableDragging: !1,
35
+ disableRemoving: !0,
36
+ disableToggling: !0,
37
+ disablePinning: !0
38
+ }, {
39
+ "item-title": y(({ item: l }) => [
40
+ i("div", {
41
+ class: V(e.$style.title)
42
+ }, _(l.text), 3)
43
+ ]),
44
+ _: 1
45
+ }, 8, ["items", "get-item-key", "item-class", "item-class-title"])
46
+ ])
47
+ ]));
48
+ }
49
+ });
2
50
  export {
3
- f as default
51
+ D as default
4
52
  };
5
53
  //# sourceMappingURL=ReorderForm.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReorderForm.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"ReorderForm.vue2.js","sources":["../../src/components/ReorderForm.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed, ref, watch } from 'vue';\nimport { PlElementList } from '@platforma-sdk/ui-vue';\n\nconst model = defineModel<{ value: string; label: string }[]>({ required: true });\n\nconst _emit = defineEmits(['update:modelValue']);\n\nconst optionsList = computed({\n get: () => model.value.map((v) => ({\n text: v.label,\n value: v.value,\n })),\n set: (value) => {\n model.value = value.map((v) => ({\n value: v.value,\n label: v.text,\n }));\n },\n});\nconst listItems = ref(optionsList.value);\nwatch(() => listItems.value, (v) => {\n optionsList.value = v;\n}, { deep: true });\n</script>\n\n<template>\n <div class=\"aes-mapping-block\">\n <div class=\"aes-settings-hint\">\n Drag the rows to reorder\n </div>\n <div class=\"column-values-list\">\n <PlElementList\n v-model:items=\"listItems\" :get-item-key=\"(item) => item.value\" :item-class=\"$style.discreteRow\"\n :item-class-title=\"$style.discreteRowTitle\" :disableDragging=\"false\" :disableRemoving=\"true\"\n :disableToggling=\"true\" :disablePinning=\"true\"\n >\n <template #item-title=\"{ item }\">\n <div :class=\"$style.title\">{{ item.text }}</div>\n </template>\n </PlElementList>\n </div>\n </div>\n</template>\n<style module>\n.discreteRow {\n background-color: var(--color-ic-00);\n border-color: var(--color-div-grey);\n}\n\n.discreteRow:hover {\n --head-background: var(--color-ic-00);\n}\n.title {\n margin-left: 4px;\n}\n</style>\n"],"names":["model","_useModel","__props","optionsList","computed","v","value","listItems","ref","watch","_openBlock","_createElementBlock","_hoisted_1","_cache","_createElementVNode","_hoisted_2","_createVNode","_unref","PlElementList","$event","item","$style","_withCtx","_normalizeClass","_toDisplayString"],"mappings":";;;;;;;;;;AAIA,UAAMA,IAAQC,EAA+CC,GAAA,YAAmB,GAI1EC,IAAcC,EAAS;AAAA,MAC3B,KAAK,MAAMJ,EAAM,MAAM,IAAI,CAACK,OAAO;AAAA,QACjC,MAAMA,EAAE;AAAA,QACR,OAAOA,EAAE;AAAA,MAAA,EACT;AAAA,MACF,KAAK,CAACC,MAAU;AACd,QAAAN,EAAM,QAAQM,EAAM,IAAI,CAACD,OAAO;AAAA,UAC9B,OAAOA,EAAE;AAAA,UACT,OAAOA,EAAE;AAAA,QAAA,EACT;AAAA,MACJ;AAAA,IAAA,CACD,GACKE,IAAYC,EAAIL,EAAY,KAAK;AACvC,WAAAM,EAAM,MAAMF,EAAU,OAAO,CAACF,MAAM;AAClC,MAAAF,EAAY,QAAQE;AAAA,IACtB,GAAG,EAAE,MAAM,IAAM,cAIfK,EAAA,GAAAC,EAeM,OAfNC,GAeM;AAAA,MAdJC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAEM,OAAA,EAFD,OAAM,oBAAA,GAAoB,8BAE/B,EAAA;AAAA,MACAA,EAUM,OAVNC,GAUM;AAAA,QATJC,EAQgBC,EAAAC,CAAA,GAAA;AAAA,UAPN,OAAOX,EAAA;AAAA,mDAAAA,EAAS,QAAAY;AAAA,UAAG,gBAAY,CAAGC,MAASA,EAAK;AAAA,UAAQ,cAAYC,EAAAA,OAAO;AAAA,UAClF,oBAAkBA,EAAAA,OAAO;AAAA,UAAmB,iBAAiB;AAAA,UAAQ,iBAAiB;AAAA,UACtF,iBAAiB;AAAA,UAAO,gBAAgB;AAAA,QAAA;UAE9B,cAAUC,EACnB,CAAgD,EADzB,MAAAF,QAAI;AAAA,YAC3BN,EAAgD,OAAA;AAAA,cAA1C,OAAKS,EAAEF,EAAAA,OAAO,KAAK;AAAA,YAAA,GAAKG,EAAAJ,EAAK,IAAI,GAAA,CAAA;AAAA,UAAA;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._discreteRow_wtygg_2{background-color:var(--color-ic-00);border-color:var(--color-div-grey)}._discreteRow_wtygg_2:hover{--head-background: var(--color-ic-00)}._title_wtygg_10{margin-left:4px}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
+ const t = "_discreteRow_wtygg_2", e = "_title_wtygg_10", s = {
3
+ discreteRow: t,
4
+ title: e
5
+ };
6
+ export {
7
+ s as default,
8
+ t as discreteRow,
9
+ e as title
10
+ };
11
+ //# sourceMappingURL=ReorderForm.vue3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReorderForm.vue3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -21,10 +21,10 @@ import z from "../../components/AesSettings/FormWrapper.vue.js";
21
21
  import j from "../../components/AesSettings/AesDataMappingDiscrete.vue.js";
22
22
  import { createDefaultMapping as J } from "../../dataBindAes.js";
23
23
  import "../../constantsAesthetic.js";
24
- import { getDiscreteLabelsRotation as fe } from "../../utils/createChartSettingsForRender/getAxesDataFromForms.js";
24
+ import { getDiscreteLabelsRotation as xe } from "../../utils/createChartSettingsForRender/getAxesDataFromForms.js";
25
25
  import "@milaboratories/pf-plots";
26
26
  import "@platforma-sdk/model";
27
- const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options-row block" }, ye = {
27
+ const fe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options-row block" }, ye = {
28
28
  key: 0,
29
29
  class: "axes-settings-input"
30
30
  }, be = { class: "axes-settings-options-row" }, Se = {
@@ -42,7 +42,7 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
42
42
  }, Te = {
43
43
  key: 4,
44
44
  class: "axes-settings-options-row"
45
- }, Ae = { class: "axes-settings-options-row block" }, Oe = { key: 5 }, Xe = { class: "axes-settings-options-row table" }, Ue = { class: "axes-settings-options-row table" }, Ie = { class: "axes-settings-options-row table" }, Ge = { class: "axes-settings-options-row block" }, Pe = { key: 0 }, Ne = { class: "axes-settings-options-row block" }, Re = { class: "axes-settings-options-row table" }, Ce = { class: "axes-settings-options-row table" }, Fe = { class: "other" }, Be = { class: "axes-settings-options-row" }, De = { class: "axes-settings-options-row" }, Le = { class: "axes-settings-options-row" }, Ye = { class: "axes-settings-options-row block" }, vl = /* @__PURE__ */ ee({
45
+ }, Ae = { class: "axes-settings-options-row block" }, Oe = { key: 5 }, Xe = { class: "axes-settings-options-row table" }, Ue = { class: "axes-settings-options-row table" }, Ie = { class: "axes-settings-options-row table" }, Ge = { class: "axes-settings-options-row block" }, Pe = { key: 0 }, Ne = { class: "axes-settings-options-row block" }, Re = { class: "axes-settings-options-row table" }, Ce = { class: "axes-settings-options-row table" }, Fe = { class: "other" }, De = { class: "axes-settings-options-row" }, Be = { class: "axes-settings-options-row" }, Le = { class: "axes-settings-options-row" }, Ye = { class: "axes-settings-options-row block" }, vl = /* @__PURE__ */ ee({
46
46
  __name: "DiscreteAxesSettingsForm",
47
47
  setup(Me) {
48
48
  const i = te(), t = i.value.reactive.axesSettings, T = {
@@ -70,13 +70,13 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
70
70
  { value: "bottom", icon: ve },
71
71
  { value: "left-bottom", icon: ge },
72
72
  { value: "full", icon: ie }
73
- ], C = r(() => i.value.inputGuide.value), O = r(() => i.value.uniqueValuesData.value), x = k(!1), V = k(!1), F = r(() => i.value.reactive.tabDefaultState.axes.reorderPrimaryOpen), B = r(() => i.value.reactive.tabDefaultState.axes.reorderSecondaryOpen);
73
+ ], C = r(() => i.value.inputGuide.value), O = r(() => i.value.uniqueValuesData.value), f = k(!1), V = k(!1), F = r(() => i.value.reactive.tabDefaultState.axes.reorderPrimaryOpen), D = r(() => i.value.reactive.tabDefaultState.axes.reorderSecondaryOpen);
74
74
  le(() => {
75
- F.value && (x.value = !0), B.value && (V.value = !0);
75
+ F.value && (f.value = !0), D.value && (V.value = !0);
76
76
  }), $(() => F.value, (n) => {
77
- n && (V.value = !1, x.value = !0);
78
- }), $(() => B.value, (n) => {
79
- n && (x.value = !1, V.value = !0);
77
+ n && (V.value = !1, f.value = !0);
78
+ }), $(() => D.value, (n) => {
79
+ n && (f.value = !1, V.value = !0);
80
80
  });
81
81
  const g = r(() => {
82
82
  var n, e;
@@ -84,13 +84,13 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
84
84
  }), y = r(() => {
85
85
  var n, e;
86
86
  return (e = (n = i.value.reactive.optionsState.components.secondaryGrouping) == null ? void 0 : n.selectorStates[0]) == null ? void 0 : e.selectedSource;
87
- }), c = r(() => i.value.commonHelpersData.primaryGroups.value), w = r(() => i.value.commonHelpersData.secondaryGroups.value), D = r(() => i.value.commonHelpersData.usedAesInMapping.value), L = k(i.value.reactive.dataBindAes[g.value] ?? J(c.value)), Y = k(i.value.reactive.dataBindAes[y.value] ?? J(w.value)), X = r(() => {
87
+ }), c = r(() => i.value.commonHelpersData.primaryGroups.value), w = r(() => i.value.commonHelpersData.secondaryGroups.value), B = r(() => i.value.commonHelpersData.usedAesInMapping.value), L = k(i.value.reactive.dataBindAes[g.value] ?? J(c.value)), Y = k(i.value.reactive.dataBindAes[y.value] ?? J(w.value)), X = r(() => {
88
88
  var n;
89
89
  if (g.value) {
90
90
  const e = C.value.getSourceInfo(g.value) ?? null, o = ((n = O.value[g.value]) == null ? void 0 : n.labels) ?? null;
91
91
  return {
92
92
  selectedSourceInfo: e,
93
- labels: c.value.reduce((u, f) => (u[f] = (o == null ? void 0 : o[f]) ?? String(f), u), {})
93
+ labels: c.value.reduce((u, x) => (u[x] = (o == null ? void 0 : o[x]) ?? String(x), u), {})
94
94
  };
95
95
  }
96
96
  return null;
@@ -100,7 +100,7 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
100
100
  const e = C.value.getSourceInfo(y.value) ?? null, o = ((n = O.value[y.value]) == null ? void 0 : n.labels) ?? null;
101
101
  return {
102
102
  selectedSourceInfo: e,
103
- labels: w.value.reduce((u, f) => (u[f] = (o == null ? void 0 : o[f]) ?? String(f), u), {})
103
+ labels: w.value.reduce((u, x) => (u[x] = (o == null ? void 0 : o[x]) ?? String(x), u), {})
104
104
  };
105
105
  }
106
106
  return null;
@@ -116,7 +116,7 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
116
116
  ], h = r(() => O.value[g.value]), E = r({
117
117
  get() {
118
118
  var n;
119
- return fe(t.axisX.labelsRotation, (n = h.value) == null ? void 0 : n.options);
119
+ return xe(t.axisX.labelsRotation, (n = h.value) == null ? void 0 : n.options);
120
120
  },
121
121
  set(n) {
122
122
  t.axisX.labelsRotation = n;
@@ -127,7 +127,7 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
127
127
  onClick: e[30] || (e[30] = (o) => o.stopPropagation())
128
128
  }, [
129
129
  e[44] || (e[44] = a("h3", { class: "axes-title" }, " Axes ", -1)),
130
- a("div", xe, [
130
+ a("div", fe, [
131
131
  s(G, {
132
132
  title: "Title",
133
133
  settings: T,
@@ -173,14 +173,14 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
173
173
  e[32] || (e[32] = a("span", null, "Primary groups order: ", -1)),
174
174
  s(q, {
175
175
  data: { type: "data", value: null },
176
- onClick: e[3] || (e[3] = (o) => x.value = !0)
176
+ onClick: e[3] || (e[3] = (o) => f.value = !0)
177
177
  }),
178
- x.value && X.value ? (d(), H(z, {
178
+ f.value && X.value ? (d(), H(z, {
179
179
  key: 0,
180
180
  title: "Reorder primary groups",
181
181
  "back-title": "Axes Settings",
182
182
  "onForm:open": e[6] || (e[6] = (o) => l(i).reactive.tabDefaultState.axes.reorderPrimaryOpen = !1),
183
- "onForm:close": e[7] || (e[7] = (o) => x.value = !1)
183
+ "onForm:close": e[7] || (e[7] = (o) => f.value = !1)
184
184
  }, {
185
185
  default: b(() => {
186
186
  var o;
@@ -193,7 +193,7 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
193
193
  ],
194
194
  "column-value-labels": X.value.labels,
195
195
  "data-column-label": ((o = X.value.selectedSourceInfo) == null ? void 0 : o.label) ?? "",
196
- "used-aes-in-mapping": D.value[g.value],
196
+ "used-aes-in-mapping": B.value[g.value],
197
197
  "allow-reordering": "",
198
198
  "allow-hiding": "",
199
199
  "allow-null-option": l(t).axisX.allowNullPrimaryGroups
@@ -234,7 +234,7 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
234
234
  ],
235
235
  "column-value-labels": U.value.labels,
236
236
  "data-column-label": ((o = U.value.selectedSourceInfo) == null ? void 0 : o.label) ?? "",
237
- "used-aes-in-mapping": D.value[y.value],
237
+ "used-aes-in-mapping": B.value[y.value],
238
238
  "allow-reordering": "",
239
239
  "allow-hiding": "",
240
240
  "allow-null-option": l(t).axisX.allowNullSecondaryGroups
@@ -348,7 +348,7 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
348
348
  _: 1
349
349
  }),
350
350
  a("div", Fe, [
351
- a("div", Be, [
351
+ a("div", De, [
352
352
  e[42] || (e[42] = a("span", null, "Frame", -1)),
353
353
  s(R, {
354
354
  modelValue: l(t).other.frame,
@@ -356,7 +356,7 @@ const xe = { class: "axes-settings-list" }, Ve = { class: "axes-settings-options
356
356
  options: Z
357
357
  }, null, 8, ["modelValue"])
358
358
  ]),
359
- a("div", De, [
359
+ a("div", Be, [
360
360
  e[43] || (e[43] = a("span", null, "Reverse axes", -1)),
361
361
  s(l(v), {
362
362
  modelValue: l(t).other.reverse,
@@ -1,9 +1,9 @@
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";
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 f, unref as l, createBlock as b } from "vue";
2
2
  import { PlBtnGroup as g, PlTextField as C, PlToggleSwitch as T, Slider as h } from "@platforma-sdk/ui-vue";
3
3
  import { useStore as ee } from "../../store.js";
4
4
  import O from "../../components/CollapsableBlock.vue.js";
5
- import $ from "../../icons/Right.vue.js";
6
- import E from "../../icons/Down.vue.js";
5
+ import E from "../../icons/Right.vue.js";
6
+ import I from "../../icons/Down.vue.js";
7
7
  import X from "../../components/BtnIconGroup.vue.js";
8
8
  import te from "../../icons/AlignLeft.vue.js";
9
9
  import le from "../../icons/AlignCenter.vue.js";
@@ -14,16 +14,16 @@ import ne from "../../icons/FrameLeft.vue.js";
14
14
  import ae from "../../icons/FrameBottom.vue.js";
15
15
  import ue from "../../icons/FrameLeftBottom.vue.js";
16
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";
17
+ import q from "../../components/AesSettings/FormWrapper.vue.js";
18
+ import z from "../../components/Popup.vue.js";
19
+ import _ from "../../components/AesSettings/FixedLineTypeList.vue.js";
20
20
  import { getPopupHeightForFixedAesList as re } from "../../utils/getPopupHeightForFixedAesList.js";
21
21
  import { FIXED_LINE_TYPES as de } from "../../constantsAesthetic.js";
22
22
  import j from "../../components/ReorderForm.vue.js";
23
23
  import me from "../../icons/Rotation0.vue.js";
24
24
  import pe from "../../icons/Rotation45.vue.js";
25
25
  import ve from "../../icons/Rotation90.vue.js";
26
- const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options-row block" }, ge = {
26
+ const xe = { class: "axes-settings-list" }, fe = { class: "axes-settings-options-row block" }, ge = {
27
27
  key: 0,
28
28
  class: "axes-settings-input"
29
29
  }, Ve = { class: "axes-settings-options-row" }, Se = { class: "axes-settings-options-row block" }, ye = { key: 0 }, ke = {
@@ -35,7 +35,7 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
35
35
  }, Te = {
36
36
  key: 3,
37
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 = {
38
+ }, Xe = { class: "axes-settings-options-row table" }, Ye = { class: "axes-settings-options-row table" }, Le = { class: "axes-settings-options-row" }, Re = { class: "fixed-aes-list fixed-aes-list__rows" }, we = { class: "axes-settings-options-row block" }, ce = { key: 0 }, Ae = {
39
39
  key: 1,
40
40
  class: "axes-settings-options-row block"
41
41
  }, Ue = {
@@ -44,10 +44,10 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
44
44
  }, Fe = {
45
45
  key: 3,
46
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 = {
47
+ }, Pe = { class: "axes-settings-options-row table" }, Ce = { class: "axes-settings-options-row table" }, Oe = { class: "axes-settings-options-row" }, Ee = { class: "fixed-aes-list fixed-aes-list__rows" }, Ie = {
48
48
  key: 0,
49
49
  class: "other"
50
- }, Ie = { class: "axes-settings-options-row" }, Ne = { class: "axes-settings-options-row" }, Be = { class: "axes-settings-options-row block" }, pt = /* @__PURE__ */ Z({
50
+ }, $e = { class: "axes-settings-options-row" }, Ne = { class: "axes-settings-options-row" }, Be = { class: "axes-settings-options-row block" }, pt = /* @__PURE__ */ Z({
51
51
  __name: "ScatterplotAxesSettingsForm",
52
52
  setup(Me) {
53
53
  const r = ee(), o = r.value.reactive.axesSettings, J = m(() => r.value.reactive.chartType), L = {
@@ -58,11 +58,11 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
58
58
  { value: "left", icon: te },
59
59
  { value: "center", icon: le },
60
60
  { value: "right", icon: oe }
61
- ], w = [
61
+ ], R = [
62
62
  { value: "auto", text: "Auto" },
63
63
  { value: "custom", text: "Custom" },
64
64
  { value: "hidden", text: "Hide" }
65
- ], I = [
65
+ ], $ = [
66
66
  { value: "linear", text: "Linear" },
67
67
  { value: "log", text: "Log" }
68
68
  ], Q = [
@@ -80,13 +80,13 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
80
80
  { value: "center", icon: me },
81
81
  { value: "45deg", icon: pe },
82
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(() => {
83
+ ], w = 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
84
  const n = r.value.reactive.optionsState.components.x.selectorStates;
85
85
  return n.length ? n[0].selectedSource : null;
86
- }), f = m(() => {
86
+ }), x = m(() => {
87
87
  const n = r.value.reactive.optionsState.components.y.selectorStates;
88
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({
89
+ }), y = m(() => v.value ? r.value.inputGuide.value.getSourceInfo(v.value).type === "String" : !1), k = m(() => x.value ? r.value.inputGuide.value.getSourceInfo(x.value).type === "String" : !1), A = p(!1), U = p(!1), F = m({
90
90
  get: () => {
91
91
  var e;
92
92
  if (!y.value || !v.value)
@@ -103,14 +103,14 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
103
103
  }), P = m({
104
104
  get: () => {
105
105
  var e;
106
- if (!k.value || !f.value)
106
+ if (!k.value || !x.value)
107
107
  return null;
108
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;
109
+ return (n == null ? void 0 : n.source) === x.value ? n.options : (e = r.value.uniqueValuesData.value[x.value]) == null ? void 0 : e.options;
110
110
  },
111
111
  set: (n) => {
112
- f.value && n && (r.value.reactive.axesSettings.axisY.order = {
113
- source: f.value,
112
+ x.value && n && (r.value.reactive.axesSettings.axisY.order = {
113
+ source: x.value,
114
114
  options: n
115
115
  });
116
116
  }
@@ -134,20 +134,20 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
134
134
  onClick: e[34] || (e[34] = (t) => t.stopPropagation())
135
135
  }, [
136
136
  e[47] || (e[47] = s("h3", { class: "axes-title" }, " Axes ", -1)),
137
- s("div", fe, [
137
+ s("div", xe, [
138
138
  i(O, {
139
139
  title: "Title",
140
140
  settings: L,
141
- icon: $,
142
- "icon-open": E
141
+ icon: E,
142
+ "icon-open": I
143
143
  }, {
144
- default: x(() => [
145
- s("div", xe, [
144
+ default: f(() => [
145
+ s("div", fe, [
146
146
  i(l(g), {
147
147
  modelValue: l(o).title.mode,
148
148
  "onUpdate:modelValue": e[0] || (e[0] = (t) => l(o).title.mode = t),
149
149
  label: "Title",
150
- options: w
150
+ options: R
151
151
  }, null, 8, ["modelValue"])
152
152
  ]),
153
153
  l(o).title.mode === "custom" ? (a(), d("div", ge, [
@@ -172,16 +172,16 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
172
172
  i(O, {
173
173
  title: "X-axis",
174
174
  settings: L,
175
- icon: $,
176
- "icon-open": E
175
+ icon: E,
176
+ "icon-open": I
177
177
  }, {
178
- default: x(() => [
178
+ default: f(() => [
179
179
  s("div", Se, [
180
180
  i(l(g), {
181
181
  modelValue: l(o).axisX.titleMode,
182
182
  "onUpdate:modelValue": e[3] || (e[3] = (t) => l(o).axisX.titleMode = t),
183
183
  label: "Title",
184
- options: w
184
+ options: R
185
185
  }, null, 8, ["modelValue"])
186
186
  ]),
187
187
  l(o).axisX.titleMode === "custom" ? (a(), d("div", ye, [
@@ -197,7 +197,7 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
197
197
  modelValue: l(o).axisX.scale,
198
198
  "onUpdate:modelValue": e[5] || (e[5] = (t) => l(o).axisX.scale = t),
199
199
  label: "Scale",
200
- options: I
200
+ options: $
201
201
  }, null, 8, ["modelValue"])
202
202
  ])),
203
203
  y.value && F.value ? (a(), d("div", be, [
@@ -206,13 +206,13 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
206
206
  data: { type: "data", value: null },
207
207
  onClick: e[6] || (e[6] = (t) => A.value = !0)
208
208
  }),
209
- A.value ? (a(), b(_, {
209
+ A.value ? (a(), b(q, {
210
210
  key: 0,
211
211
  title: "Reorder X axis values",
212
212
  "back-title": "Axes Settings",
213
213
  "onForm:close": e[8] || (e[8] = (t) => A.value = !1)
214
214
  }, {
215
- default: x(() => [
215
+ default: f(() => [
216
216
  i(j, {
217
217
  modelValue: F.value,
218
218
  "onUpdate:modelValue": e[7] || (e[7] = (t) => F.value = t)
@@ -246,22 +246,22 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
246
246
  s("div", Le, [
247
247
  e[40] || (e[40] = s("span", null, "Significant lines style", -1)),
248
248
  i(Y, {
249
- data: { type: "lineType", value: R.value },
249
+ data: { type: "lineType", value: w.value },
250
250
  onClick: e[12] || (e[12] = (t) => V.value = !V.value),
251
251
  onRef: e[13] || (e[13] = (t) => M.value = t)
252
252
  }, null, 8, ["data"]),
253
- V.value ? (a(), b(q, {
253
+ V.value ? (a(), b(z, {
254
254
  key: 0,
255
255
  height: B.value,
256
256
  targetRef: M.value,
257
257
  "onPopup:close": e[16] || (e[16] = (t) => V.value = !1)
258
258
  }, {
259
- default: x(() => [
260
- s("div", we, [
261
- i(z, {
262
- modelValue: R.value,
259
+ default: f(() => [
260
+ s("div", Re, [
261
+ i(_, {
262
+ modelValue: w.value,
263
263
  "onUpdate:modelValue": [
264
- e[14] || (e[14] = (t) => R.value = t),
264
+ e[14] || (e[14] = (t) => w.value = t),
265
265
  e[15] || (e[15] = (t) => l(o).axisX.significantLinesStyle = t)
266
266
  ]
267
267
  }, null, 8, ["modelValue"])
@@ -276,16 +276,16 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
276
276
  i(O, {
277
277
  title: "Y-axis",
278
278
  settings: L,
279
- icon: $,
280
- "icon-open": E
279
+ icon: E,
280
+ "icon-open": I
281
281
  }, {
282
- default: x(() => [
283
- s("div", Re, [
282
+ default: f(() => [
283
+ s("div", we, [
284
284
  i(l(g), {
285
285
  modelValue: l(o).axisY.titleMode,
286
286
  "onUpdate:modelValue": e[17] || (e[17] = (t) => l(o).axisY.titleMode = t),
287
287
  label: "Title",
288
- options: w
288
+ options: R
289
289
  }, null, 8, ["modelValue"])
290
290
  ]),
291
291
  l(o).axisY.titleMode === "custom" ? (a(), d("div", ce, [
@@ -301,7 +301,7 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
301
301
  modelValue: l(o).axisY.scale,
302
302
  "onUpdate:modelValue": e[19] || (e[19] = (t) => l(o).axisY.scale = t),
303
303
  label: "Scale",
304
- options: I
304
+ options: $
305
305
  }, null, 8, ["modelValue"])
306
306
  ])),
307
307
  k.value && P.value ? (a(), d("div", Ue, [
@@ -310,13 +310,13 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
310
310
  data: { type: "data", value: null },
311
311
  onClick: e[20] || (e[20] = (t) => U.value = !0)
312
312
  }),
313
- U.value ? (a(), b(_, {
313
+ U.value ? (a(), b(q, {
314
314
  key: 0,
315
315
  title: "Reorder Y axis values",
316
316
  "back-title": "Axes Settings",
317
317
  "onForm:close": e[22] || (e[22] = (t) => U.value = !1)
318
318
  }, {
319
- default: x(() => [
319
+ default: f(() => [
320
320
  i(j, {
321
321
  modelValue: P.value,
322
322
  "onUpdate:modelValue": e[21] || (e[21] = (t) => P.value = t)
@@ -354,15 +354,15 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
354
354
  onClick: e[26] || (e[26] = (t) => S.value = !S.value),
355
355
  onRef: e[27] || (e[27] = (t) => D.value = t)
356
356
  }, null, 8, ["data"]),
357
- S.value ? (a(), b(q, {
357
+ S.value ? (a(), b(z, {
358
358
  key: 0,
359
359
  height: B.value,
360
360
  targetRef: D.value,
361
361
  "onPopup:close": e[30] || (e[30] = (t) => S.value = !1)
362
362
  }, {
363
- default: x(() => [
364
- s("div", $e, [
365
- i(z, {
363
+ default: f(() => [
364
+ s("div", Ee, [
365
+ i(_, {
366
366
  modelValue: c.value,
367
367
  "onUpdate:modelValue": [
368
368
  e[28] || (e[28] = (t) => c.value = t),
@@ -377,8 +377,8 @@ const fe = { class: "axes-settings-list" }, xe = { class: "axes-settings-options
377
377
  ]),
378
378
  _: 1
379
379
  }),
380
- J.value === "scatterplot" ? (a(), d("div", Ee, [
381
- s("div", Ie, [
380
+ J.value === "scatterplot" ? (a(), d("div", Ie, [
381
+ s("div", $e, [
382
382
  e[46] || (e[46] = s("span", null, "Frame", -1)),
383
383
  i(X, {
384
384
  modelValue: l(o).other.frame,