@milaboratories/graph-maker 1.1.208 → 1.1.210

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 (51) hide show
  1. package/dist/components/Chart.vue.d.ts +1 -0
  2. package/dist/components/Chart.vue.d.ts.map +1 -1
  3. package/dist/components/Chart.vue.js +164 -196
  4. package/dist/components/Chart.vue.js.map +1 -1
  5. package/dist/components/DragAndDrop/types.d.ts +1 -0
  6. package/dist/components/DragAndDrop/types.d.ts.map +1 -1
  7. package/dist/components/{Loading.vue.d.ts → GraphStatusScreen.vue.d.ts} +8 -6
  8. package/dist/components/GraphStatusScreen.vue.d.ts.map +1 -0
  9. package/dist/components/GraphStatusScreen.vue.js +10 -0
  10. package/dist/components/GraphStatusScreen.vue.js.map +1 -0
  11. package/dist/components/GraphStatusScreen.vue2.js +68 -0
  12. package/dist/components/GraphStatusScreen.vue2.js.map +1 -0
  13. package/dist/components/GraphStatusScreen.vue3.js +11 -0
  14. package/dist/components/GraphStatusScreen.vue3.js.map +1 -0
  15. package/dist/components/LassoControls/index.vue.d.ts +1 -0
  16. package/dist/components/LassoControls/index.vue.d.ts.map +1 -1
  17. package/dist/components/LassoControls/index.vue.js +7 -91
  18. package/dist/components/LassoControls/index.vue.js.map +1 -1
  19. package/dist/components/LassoControls/index.vue2.js +136 -2
  20. package/dist/components/LassoControls/index.vue2.js.map +1 -1
  21. package/dist/components/LassoControls/index.vue3.js +27 -0
  22. package/dist/components/LassoControls/index.vue3.js.map +1 -0
  23. package/dist/forms/DataMappingForm/BubbleForm.vue.js +20 -20
  24. package/dist/forms/DataMappingForm/DiscreteForm.vue.js +33 -33
  25. package/dist/forms/DataMappingForm/HeatmapForm.vue.js +17 -17
  26. package/dist/forms/DataMappingForm/HistogramForm.vue.js +16 -16
  27. package/dist/forms/DataMappingForm/Layout/OptionsList.vue.d.ts.map +1 -1
  28. package/dist/forms/DataMappingForm/Layout/OptionsList.vue.js +7 -45
  29. package/dist/forms/DataMappingForm/Layout/OptionsList.vue.js.map +1 -1
  30. package/dist/forms/DataMappingForm/Layout/OptionsList.vue2.js +58 -2
  31. package/dist/forms/DataMappingForm/Layout/OptionsList.vue2.js.map +1 -1
  32. package/dist/forms/DataMappingForm/Layout/OptionsList.vue3.js +9 -0
  33. package/dist/forms/DataMappingForm/Layout/OptionsList.vue3.js.map +1 -0
  34. package/dist/forms/DataMappingForm/ScatterplotForm.vue.js +15 -15
  35. package/dist/forms/DataMappingForm/ScatterplotUmapForm.vue.js +23 -23
  36. package/dist/forms/DataMappingForm/utils.d.ts.map +1 -1
  37. package/dist/forms/DataMappingForm/utils.js +68 -64
  38. package/dist/forms/DataMappingForm/utils.js.map +1 -1
  39. package/dist/index.js +1 -1
  40. package/dist/index.vue.d.ts.map +1 -1
  41. package/dist/index.vue.js +152 -143
  42. package/dist/index.vue.js.map +1 -1
  43. package/dist/store.d.ts.map +1 -1
  44. package/dist/store.js +61 -61
  45. package/dist/store.js.map +1 -1
  46. package/package.json +3 -3
  47. package/dist/components/Loading.vue.d.ts.map +0 -1
  48. package/dist/components/Loading.vue.js +0 -37
  49. package/dist/components/Loading.vue.js.map +0 -1
  50. package/dist/components/Loading.vue2.js +0 -5
  51. package/dist/components/Loading.vue2.js.map +0 -1
@@ -1,25 +1,25 @@
1
- import { defineComponent as b, watch as V, computed as c, createBlock as G, openBlock as l, withCtx as n, createElementBlock as f, Fragment as S, renderList as D, unref as o, createVNode as i, mergeProps as E, toHandlers as h, createElementVNode as k } from "vue";
2
- import { PlDropdown as F } from "@platforma-sdk/ui-vue";
3
- import { useStore as O } from "../../store.js";
1
+ import { defineComponent as b, watch as V, computed as c, createBlock as G, openBlock as l, withCtx as n, createElementBlock as f, Fragment as S, renderList as D, unref as t, createVNode as i, mergeProps as E, toHandlers as O, createElementVNode as h } from "vue";
2
+ import { PlDropdown as k } from "@platforma-sdk/ui-vue";
3
+ import { useStore as F } from "../../store.js";
4
4
  import { getErrorForPlDropdown as w } from "./utils.js";
5
5
  import "../../constantsCommon.js";
6
6
  import "../../constantsAesthetic.js";
7
7
  import "d3-scale";
8
8
  import "@milaboratories/pf-plots";
9
9
  import "@platforma-sdk/model";
10
- import { checkStatisticsInputsValidity as $ } from "../../utils/getStatisticsOptions.js";
10
+ import { checkStatisticsInputsValidity as L } from "../../utils/getStatisticsOptions.js";
11
11
  import x from "../../components/DragAndDrop/DndBasket.vue.js";
12
12
  import A from "./Layout/FormLayout.vue.js";
13
- import L from "./Layout/OptionsList.vue.js";
14
- import T from "./Layout/MandatoryOptions.vue.js";
15
- import { useBaskets as U } from "./useBaskets.js";
16
- const C = { class: "data-form-input-item" }, oe = /* @__PURE__ */ b({
13
+ import T from "./Layout/OptionsList.vue.js";
14
+ import U from "./Layout/MandatoryOptions.vue.js";
15
+ import { useBaskets as $ } from "./useBaskets.js";
16
+ const C = { class: "data-form-input-item" }, te = /* @__PURE__ */ b({
17
17
  __name: "DiscreteForm",
18
18
  setup(H) {
19
- const t = O();
19
+ const r = F();
20
20
  V(
21
- () => t.value.commonHelpersData.primaryGroups.value,
22
- $(t)
21
+ () => r.value.commonHelpersData.primaryGroups.value,
22
+ L(r)
23
23
  );
24
24
  const y = [
25
25
  "filters",
@@ -36,13 +36,13 @@ const C = { class: "data-form-input-item" }, oe = /* @__PURE__ */ b({
36
36
  }, {
37
37
  draggedId: p,
38
38
  basketsData: v,
39
- freeMetaOptions: _,
40
- freeMandatoryOptions: B,
39
+ freeMetaOptions: B,
40
+ freeMandatoryOptions: _,
41
41
  chipInfo: s,
42
42
  dataStateValues: m,
43
43
  dataOptions: I
44
- } = U(
45
- t,
44
+ } = $(
45
+ r,
46
46
  ["y"],
47
47
  ["filters", "tabBy"],
48
48
  ["primaryGrouping", "secondaryGrouping", "facetBy"],
@@ -50,47 +50,47 @@ const C = { class: "data-form-input-item" }, oe = /* @__PURE__ */ b({
50
50
  g
51
51
  ), u = c(() => {
52
52
  var a;
53
- return ((a = t.value.readonlyInputs) == null ? void 0 : a.includes("y")) ?? !1;
53
+ return ((a = r.value.readonlyInputs) == null ? void 0 : a.includes("y")) ?? !1;
54
54
  }), d = c({
55
55
  get: () => m.value.y.value,
56
56
  set: (a) => {
57
57
  m.value.y.value = a;
58
58
  }
59
59
  });
60
- return (a, r) => (l(), G(A, null, {
60
+ return (a, o) => (l(), G(A, null, {
61
61
  dataInputs: n(() => [
62
- k("div", C, [
63
- i(o(F), {
62
+ h("div", C, [
63
+ i(t(k), {
64
64
  modelValue: d.value,
65
- "onUpdate:modelValue": r[0] || (r[0] = (e) => d.value = e),
66
- options: o(I).y,
65
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => d.value = e),
66
+ options: t(I).y,
67
67
  disabled: u.value,
68
- error: o(w)("y", o(t).inputGuide.value),
68
+ error: t(w)("y", t(r).inputGuide.value),
69
69
  label: "Y:",
70
70
  clearable: !u.value
71
71
  }, null, 8, ["modelValue", "options", "disabled", "error", "clearable"])
72
72
  ])
73
73
  ]),
74
74
  mandatoryOptions: n(() => [
75
- i(T, {
76
- options: o(B),
77
- chipInfo: o(s),
78
- onDraggedIdUpdate: r[1] || (r[1] = (e) => p.value = e)
75
+ i(U, {
76
+ options: t(_),
77
+ chipInfo: t(s),
78
+ onDraggedIdUpdate: o[1] || (o[1] = (e) => p.value = e)
79
79
  }, null, 8, ["options", "chipInfo"])
80
80
  ]),
81
81
  metadataOptions: n(() => [
82
- i(L, {
83
- options: o(_),
84
- chipInfo: o(s),
85
- onDraggedIdUpdate: r[2] || (r[2] = (e) => p.value = e)
82
+ i(T, {
83
+ options: t(B),
84
+ chipInfo: t(s),
85
+ onDraggedIdUpdate: o[2] || (o[2] = (e) => p.value = e)
86
86
  }, null, 8, ["options", "chipInfo"])
87
87
  ]),
88
88
  chartVar: n(() => [
89
- (l(!0), f(S, null, D(o(v), (e) => (l(), f("div", {
89
+ (l(!0), f(S, null, D(t(v), (e) => (l(), f("div", {
90
90
  key: e.id,
91
91
  class: "data-form-input-item"
92
92
  }, [
93
- i(x, E({ ref_for: !0 }, e, h(e.listeners)), null, 16)
93
+ i(x, E({ ref_for: !0 }, e, O(e.listeners)), null, 16)
94
94
  ]))), 128))
95
95
  ]),
96
96
  _: 1
@@ -98,6 +98,6 @@ const C = { class: "data-form-input-item" }, oe = /* @__PURE__ */ b({
98
98
  }
99
99
  });
100
100
  export {
101
- oe as default
101
+ te as default
102
102
  };
103
103
  //# sourceMappingURL=DiscreteForm.vue.js.map
@@ -1,16 +1,16 @@
1
- import { defineComponent as b, computed as m, createBlock as x, openBlock as i, withCtx as n, createElementBlock as f, Fragment as V, renderList as G, unref as o, createVNode as r, mergeProps as D, toHandlers as E, createElementVNode as S } from "vue";
2
- import { useStore as X } from "../../store.js";
3
- import { PlDropdown as Y } from "@platforma-sdk/ui-vue";
4
- import A from "./Layout/FormLayout.vue.js";
5
- import C from "./Layout/OptionsList.vue.js";
6
- import F from "./Layout/MandatoryOptions.vue.js";
7
- import { getErrorForPlDropdown as O } from "./utils.js";
1
+ import { defineComponent as b, computed as m, createBlock as x, openBlock as i, withCtx as n, createElementBlock as f, Fragment as V, renderList as G, unref as o, createVNode as r, mergeProps as D, toHandlers as E, createElementVNode as O } from "vue";
2
+ import { useStore as S } from "../../store.js";
3
+ import { PlDropdown as X } from "@platforma-sdk/ui-vue";
4
+ import Y from "./Layout/FormLayout.vue.js";
5
+ import A from "./Layout/OptionsList.vue.js";
6
+ import C from "./Layout/MandatoryOptions.vue.js";
7
+ import { getErrorForPlDropdown as F } from "./utils.js";
8
8
  import k from "../../components/DragAndDrop/DndBasket.vue.js";
9
- import { useBaskets as T } from "./useBaskets.js";
10
- const $ = { class: "data-form-input-item" }, q = /* @__PURE__ */ b({
9
+ import { useBaskets as L } from "./useBaskets.js";
10
+ const T = { class: "data-form-input-item" }, q = /* @__PURE__ */ b({
11
11
  __name: "HeatmapForm",
12
12
  setup(h) {
13
- const l = X(), c = [
13
+ const l = S(), c = [
14
14
  "filters",
15
15
  "x",
16
16
  "y",
@@ -40,7 +40,7 @@ const $ = { class: "data-form-input-item" }, q = /* @__PURE__ */ b({
40
40
  chipInfo: u,
41
41
  dataStateValues: p,
42
42
  dataOptions: g
43
- } = T(
43
+ } = L(
44
44
  l,
45
45
  ["value"],
46
46
  ["filters", "tabBy"],
@@ -56,29 +56,29 @@ const $ = { class: "data-form-input-item" }, q = /* @__PURE__ */ b({
56
56
  p.value.value.value = a;
57
57
  }
58
58
  });
59
- return (a, e) => (i(), x(A, null, {
59
+ return (a, e) => (i(), x(Y, null, {
60
60
  dataInputs: n(() => [
61
- S("div", $, [
62
- r(o(Y), {
61
+ O("div", T, [
62
+ r(o(X), {
63
63
  modelValue: d.value,
64
64
  "onUpdate:modelValue": e[0] || (e[0] = (t) => d.value = t),
65
65
  label: "Data source:",
66
66
  clearable: "",
67
67
  options: o(g).value,
68
68
  disabled: I.value,
69
- error: o(O)("value", o(l).inputGuide.value)
69
+ error: o(F)("value", o(l).inputGuide.value)
70
70
  }, null, 8, ["modelValue", "options", "disabled", "error"])
71
71
  ])
72
72
  ]),
73
73
  mandatoryOptions: n(() => [
74
- r(F, {
74
+ r(C, {
75
75
  options: o(_),
76
76
  chipInfo: o(u),
77
77
  onDraggedIdUpdate: e[1] || (e[1] = (t) => s.value = t)
78
78
  }, null, 8, ["options", "chipInfo"])
79
79
  ]),
80
80
  metadataOptions: n(() => [
81
- r(C, {
81
+ r(A, {
82
82
  options: o(B),
83
83
  chipInfo: o(u),
84
84
  onDraggedIdUpdate: e[2] || (e[2] = (t) => s.value = t)
@@ -1,13 +1,13 @@
1
- import { defineComponent as I, computed as f, createBlock as V, openBlock as i, withCtx as r, createElementBlock as c, Fragment as D, renderList as E, unref as t, createVNode as l, mergeProps as S, toHandlers as F, createElementVNode as O } from "vue";
1
+ import { defineComponent as I, computed as f, createBlock as V, openBlock as i, withCtx as r, createElementBlock as c, Fragment as D, renderList as E, unref as t, createVNode as l, mergeProps as O, toHandlers as S, createElementVNode as F } from "vue";
2
2
  import { PlDropdown as k } from "@platforma-sdk/ui-vue";
3
- import $ from "./Layout/FormLayout.vue.js";
3
+ import L from "./Layout/FormLayout.vue.js";
4
4
  import { useStore as h } from "../../store.js";
5
5
  import { getErrorForPlDropdown as w } from "./utils.js";
6
6
  import x from "../../components/DragAndDrop/DndBasket.vue.js";
7
7
  import { useBaskets as A } from "./useBaskets.js";
8
- import L from "./Layout/MandatoryOptions.vue.js";
9
- import T from "./Layout/OptionsList.vue.js";
10
- const U = { class: "data-form-input-item" }, J = /* @__PURE__ */ I({
8
+ import T from "./Layout/MandatoryOptions.vue.js";
9
+ import U from "./Layout/OptionsList.vue.js";
10
+ const $ = { class: "data-form-input-item" }, J = /* @__PURE__ */ I({
11
11
  __name: "HistogramForm",
12
12
  setup(C) {
13
13
  const n = h(), v = [
@@ -22,9 +22,9 @@ const U = { class: "data-form-input-item" }, J = /* @__PURE__ */ I({
22
22
  facetBy: "Facet by"
23
23
  }, {
24
24
  draggedId: s,
25
- basketsData: _,
26
- freeMetaOptions: y,
27
- freeMandatoryOptions: B,
25
+ basketsData: y,
26
+ freeMetaOptions: B,
27
+ freeMandatoryOptions: _,
28
28
  chipInfo: u,
29
29
  dataStateValues: p,
30
30
  dataOptions: b
@@ -44,9 +44,9 @@ const U = { class: "data-form-input-item" }, J = /* @__PURE__ */ I({
44
44
  p.value.value.value = a;
45
45
  }
46
46
  });
47
- return (a, o) => (i(), V($, null, {
47
+ return (a, o) => (i(), V(L, null, {
48
48
  dataInputs: r(() => [
49
- O("div", U, [
49
+ F("div", $, [
50
50
  l(t(k), {
51
51
  modelValue: m.value,
52
52
  "onUpdate:modelValue": o[0] || (o[0] = (e) => m.value = e),
@@ -59,25 +59,25 @@ const U = { class: "data-form-input-item" }, J = /* @__PURE__ */ I({
59
59
  ])
60
60
  ]),
61
61
  mandatoryOptions: r(() => [
62
- l(L, {
63
- options: t(B),
62
+ l(T, {
63
+ options: t(_),
64
64
  chipInfo: t(u),
65
65
  onDraggedIdUpdate: o[1] || (o[1] = (e) => s.value = e)
66
66
  }, null, 8, ["options", "chipInfo"])
67
67
  ]),
68
68
  metadataOptions: r(() => [
69
- l(T, {
70
- options: t(y),
69
+ l(U, {
70
+ options: t(B),
71
71
  chipInfo: t(u),
72
72
  onDraggedIdUpdate: o[2] || (o[2] = (e) => s.value = e)
73
73
  }, null, 8, ["options", "chipInfo"])
74
74
  ]),
75
75
  chartVar: r(() => [
76
- (i(!0), c(D, null, E(t(_), (e) => (i(), c("div", {
76
+ (i(!0), c(D, null, E(t(y), (e) => (i(), c("div", {
77
77
  key: e.id,
78
78
  class: "data-form-input-item"
79
79
  }, [
80
- l(x, S({ ref_for: !0 }, e, F(e.listeners)), null, 16)
80
+ l(x, O({ ref_for: !0 }, e, S(e.listeners)), null, 16)
81
81
  ]))), 128))
82
82
  ]),
83
83
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"OptionsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/DataMappingForm/Layout/OptionsList.vue"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAKrE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAA;KAAE,EAAE,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;;;;;;WADQ,MAAM;;AAoHhB,wBAQG"}
1
+ {"version":3,"file":"OptionsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/DataMappingForm/Layout/OptionsList.vue"],"names":[],"mappings":"AAkEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAKrE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAA;KAAE,EAAE,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;;;;;;WADQ,MAAM;;AAiKhB,wBAQG"}
@@ -1,48 +1,10 @@
1
- import { defineComponent as p, computed as s, ref as f, createElementBlock as m, createCommentVNode as g, openBlock as i, createElementVNode as d, toDisplayString as v, createVNode as _, unref as h, Fragment as k, renderList as V, createBlock as y } from "vue";
2
- import C from "../../../components/DragAndDrop/DndChip.vue.js";
3
- import { PlSearchField as L } from "@platforma-sdk/ui-vue";
4
- const $ = {
5
- key: 0,
6
- class: "metadata-block"
7
- }, b = { class: "title" }, B = { class: "metadata-block__search" }, D = { class: "metadata-block__items" }, E = /* @__PURE__ */ p({
8
- __name: "OptionsList",
9
- props: {
10
- options: {},
11
- chipInfo: {},
12
- title: { default: "Metadata" }
13
- },
14
- emits: ["dragged-id-update"],
15
- setup(a, { emit: F }) {
16
- const l = a, u = s(() => l.options.length === 0), r = f(), c = s(() => {
17
- var e;
18
- const n = ((e = r.value) == null ? void 0 : e.toLowerCase()) ?? "";
19
- return l.options.filter((t) => {
20
- const o = l.chipInfo[t.id].title ?? "";
21
- return o == null ? void 0 : o.toLowerCase().includes(n);
22
- });
23
- });
24
- return (n, e) => u.value ? g("", !0) : (i(), m("div", $, [
25
- d("div", b, v(a.title), 1),
26
- d("div", B, [
27
- _(h(L), {
28
- modelValue: r.value,
29
- "onUpdate:modelValue": e[0] || (e[0] = (t) => r.value = t),
30
- placeholder: "Find...",
31
- clearable: ""
32
- }, null, 8, ["modelValue"])
33
- ]),
34
- d("div", D, [
35
- (i(!0), m(k, null, V(c.value, ({ id: t }) => (i(), y(C, {
36
- key: t,
37
- info: a.chipInfo[t],
38
- onDragstart: e[1] || (e[1] = (o) => n.$emit("dragged-id-update", o)),
39
- onDragend: e[2] || (e[2] = (o) => n.$emit("dragged-id-update", null))
40
- }, null, 8, ["info"]))), 128))
41
- ])
42
- ]));
43
- }
44
- });
1
+ import s from "./OptionsList.vue2.js";
2
+ import o from "./OptionsList.vue3.js";
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = {
5
+ $style: o
6
+ }, f = /* @__PURE__ */ t(s, [["__cssModules", r]]);
45
7
  export {
46
- E as default
8
+ f as default
47
9
  };
48
10
  //# sourceMappingURL=OptionsList.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OptionsList.vue.js","sources":["../../../../src/forms/DataMappingForm/Layout/OptionsList.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { ChipInfo } from '../../../components/DragAndDrop/types';\nimport type { AxisData, ColumnData } from '@milaboratories/pf-plots';\nimport { computed, ref } from 'vue';\nimport DndChip from '../../../components/DragAndDrop/DndChip.vue';\nimport { PlSearchField } from '@platforma-sdk/ui-vue';\n\nconst props = withDefaults(defineProps<{\n options: { id: string; info: AxisData | ColumnData }[];\n chipInfo: Record<string, ChipInfo>;\n title?: string;\n}>(), { title: 'Metadata' });\n\nconst _emit = defineEmits(['dragged-id-update']);\n\nconst empty = computed(() => props.options.length === 0);\n\nconst searchModel = ref();\n\nconst optionsRendered = computed(() => {\n const searchValue = searchModel.value?.toLowerCase() ?? '';\n return props.options.filter((el) => {\n const label = props.chipInfo[el.id].title ?? '';\n return label?.toLowerCase().includes(searchValue);\n });\n});\n</script>\n\n<template>\n <div v-if=\"!empty\" class=\"metadata-block\">\n <div class=\"title\">{{ title }}</div>\n <div class=\"metadata-block__search\">\n <PlSearchField v-model=\"searchModel\" placeholder=\"Find...\" clearable />\n </div>\n <div class=\"metadata-block__items\">\n <DndChip\n v-for=\"{ id } in optionsRendered\"\n :key=\"id\"\n :info=\"chipInfo[id]\"\n @dragstart=\"(draggedId) => $emit('dragged-id-update', draggedId)\"\n @dragend=\"$emit('dragged-id-update', null)\"\n />\n </div>\n </div>\n</template>\n"],"names":["props","__props","empty","computed","searchModel","ref","optionsRendered","searchValue","_a","el","label","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_toDisplayString","_hoisted_3","_createVNode","_unref","PlSearchField","$event","_hoisted_4","_Fragment","_renderList","id","_createBlock","DndChip","_cache","draggedId","$emit"],"mappings":";;;;;;;;;;;;;;;AAOA,UAAMA,IAAQC,GAQRC,IAAQC,EAAS,MAAMH,EAAM,QAAQ,WAAW,CAAC,GAEjDI,IAAcC,EAAA,GAEdC,IAAkBH,EAAS,MAAM;;AACrC,YAAMI,MAAcC,IAAAJ,EAAY,UAAZ,gBAAAI,EAAmB,kBAAiB;AACxD,aAAOR,EAAM,QAAQ,OAAO,CAACS,MAAO;AAClC,cAAMC,IAAQV,EAAM,SAASS,EAAG,EAAE,EAAE,SAAS;AAC7C,eAAOC,KAAA,gBAAAA,EAAO,cAAc,SAASH;AAAA,MACvC,CAAC;AAAA,IACH,CAAC;qBAIaL,EAAA,qBAAZS,KAAAC,EAcM,OAdNC,GAcM;AAAA,MAbJC,EAAoC,OAApCC,GAAoCC,EAAdf,EAAA,KAAK,GAAA,CAAA;AAAA,MAC3Ba,EAEM,OAFNG,GAEM;AAAA,QADJC,EAAuEC,EAAAC,CAAA,GAAA;AAAA,sBAA/ChB,EAAA;AAAA,wDAAAA,EAAW,QAAAiB;AAAA,UAAE,aAAY;AAAA,UAAU,WAAA;AAAA,QAAA;;MAE7DP,EAQM,OARNQ,GAQM;AAAA,gBAPJV,EAMEW,GAAA,MAAAC,EALiBlB,EAAA,OAAe,CAAA,EAAvB,IAAAmB,EAAA,YADXC,EAMEC,GAAA;AAAA,UAJC,KAAKF;AAAA,UACL,MAAMxB,EAAA,SAASwB,CAAE;AAAA,UACjB,aAASG,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAGC,MAAcC,EAAAA,2BAA2BD,CAAS;AAAA,UAC9D,kCAASC,EAAAA,MAAK,qBAAA,IAAA;AAAA,QAAA;;;;;"}
1
+ {"version":3,"file":"OptionsList.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1,5 +1,61 @@
1
- import f from "./OptionsList.vue.js";
1
+ import { defineComponent as w, computed as d, ref as p, createElementBlock as f, createCommentVNode as h, openBlock as r, createElementVNode as u, toDisplayString as v, createVNode as C, unref as g, createBlock as k, Fragment as y, renderList as $, normalizeClass as B, withCtx as L, createTextVNode as S } from "vue";
2
+ import I from "../../../components/DragAndDrop/DndChip.vue.js";
3
+ import { PlSearchField as M, PlBtnGhost as N } from "@platforma-sdk/ui-vue";
4
+ const b = {
5
+ key: 0,
6
+ class: "metadata-block"
7
+ }, D = { class: "title" }, F = { class: "metadata-block__search" }, x = { class: "metadata-block__items" }, G = /* @__PURE__ */ w({
8
+ __name: "OptionsList",
9
+ props: {
10
+ options: {},
11
+ chipInfo: {},
12
+ title: { default: "Metadata" }
13
+ },
14
+ emits: ["dragged-id-update"],
15
+ setup(i, { emit: E }) {
16
+ const n = i, V = d(() => n.options.length === 0), l = p(), m = d(() => n.options.filter((o) => !n.chipInfo[o.id].hasHangingAxes)), a = p(!1), _ = d(() => {
17
+ var e;
18
+ const o = ((e = l.value) == null ? void 0 : e.toLowerCase()) ?? "";
19
+ return o.length > 0 ? n.options.filter((s) => {
20
+ const t = n.chipInfo[s.id].title ?? "";
21
+ return t == null ? void 0 : t.toLowerCase().includes(o);
22
+ }) : a.value ? n.options : m.value;
23
+ });
24
+ return (o, e) => {
25
+ var s;
26
+ return V.value ? h("", !0) : (r(), f("div", b, [
27
+ u("div", D, v(i.title), 1),
28
+ u("div", F, [
29
+ C(g(M), {
30
+ modelValue: l.value,
31
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => l.value = t),
32
+ placeholder: "Find...",
33
+ clearable: ""
34
+ }, null, 8, ["modelValue"])
35
+ ]),
36
+ u("div", x, [
37
+ (r(!0), f(y, null, $(_.value, ({ id: t }) => (r(), k(I, {
38
+ key: t,
39
+ info: i.chipInfo[t],
40
+ onDragstart: e[1] || (e[1] = (c) => o.$emit("dragged-id-update", c)),
41
+ onDragend: e[2] || (e[2] = (c) => o.$emit("dragged-id-update", null))
42
+ }, null, 8, ["info"]))), 128)),
43
+ m.value.length > 0 && !((s = l.value) != null && s.length) ? (r(), k(g(N), {
44
+ key: 0,
45
+ class: B(o.$style.showMoreButton),
46
+ onClick: e[3] || (e[3] = (t) => a.value = !a.value)
47
+ }, {
48
+ default: L(() => [
49
+ S(v(a.value ? "Show less" : "Show more"), 1)
50
+ ]),
51
+ _: 1
52
+ }, 8, ["class"])) : h("", !0)
53
+ ])
54
+ ]));
55
+ };
56
+ }
57
+ });
2
58
  export {
3
- f as default
59
+ G as default
4
60
  };
5
61
  //# sourceMappingURL=OptionsList.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OptionsList.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"OptionsList.vue2.js","sources":["../../../../src/forms/DataMappingForm/Layout/OptionsList.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { ChipInfo } from '../../../components/DragAndDrop/types';\nimport type { AxisData, ColumnData } from '@milaboratories/pf-plots';\nimport { computed, ref } from 'vue';\nimport DndChip from '../../../components/DragAndDrop/DndChip.vue';\nimport { PlBtnGhost, PlSearchField } from '@platforma-sdk/ui-vue';\n\nconst props = withDefaults(defineProps<{\n options: { id: string; info: AxisData | ColumnData }[];\n chipInfo: Record<string, ChipInfo>;\n title?: string;\n}>(), { title: 'Metadata' });\n\nconst _emit = defineEmits(['dragged-id-update']);\n\nconst empty = computed(() => props.options.length === 0);\n\nconst searchModel = ref();\n\nconst optionsShortList = computed(() => {\n return props.options.filter((el) => {\n return !props.chipInfo[el.id].hasHangingAxes;\n });\n});\n\nconst showMore = ref(false);\n\nconst optionsRendered = computed(() => {\n const searchValue = searchModel.value?.toLowerCase() ?? '';\n if (searchValue.length > 0) {\n return props.options.filter((el) => {\n const label = props.chipInfo[el.id].title ?? '';\n return label?.toLowerCase().includes(searchValue);\n });\n }\n return showMore.value ? props.options : optionsShortList.value;\n});\n\n</script>\n\n<template>\n <div v-if=\"!empty\" class=\"metadata-block\">\n <div class=\"title\">{{ title }}</div>\n <div class=\"metadata-block__search\">\n <PlSearchField v-model=\"searchModel\" placeholder=\"Find...\" clearable />\n </div>\n <div class=\"metadata-block__items\">\n <DndChip\n v-for=\"{ id } in optionsRendered\"\n :key=\"id\"\n :info=\"chipInfo[id]\"\n @dragstart=\"(draggedId) => $emit('dragged-id-update', draggedId)\"\n @dragend=\"$emit('dragged-id-update', null)\"\n />\n <PlBtnGhost v-if=\"optionsShortList.length > 0 && !searchModel?.length\" :class=\"$style.showMoreButton\" @click=\"showMore = !showMore\">{{ showMore ? 'Show less' : 'Show more' }}</PlBtnGhost>\n </div>\n </div>\n</template>\n<style module>\n.showMoreButton {\n align-self: center;\n min-width: 80px;\n}\n</style>\n"],"names":["props","__props","empty","computed","searchModel","ref","optionsShortList","el","showMore","optionsRendered","searchValue","_a","label","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_toDisplayString","_hoisted_3","_createVNode","_unref","PlSearchField","$event","_hoisted_4","_Fragment","_renderList","id","_createBlock","DndChip","_cache","draggedId","$emit","PlBtnGhost","_normalizeClass","$style"],"mappings":";;;;;;;;;;;;;;;AAOA,UAAMA,IAAQC,GAQRC,IAAQC,EAAS,MAAMH,EAAM,QAAQ,WAAW,CAAC,GAEjDI,IAAcC,EAAA,GAEdC,IAAmBH,EAAS,MACzBH,EAAM,QAAQ,OAAO,CAACO,MACpB,CAACP,EAAM,SAASO,EAAG,EAAE,EAAE,cAC/B,CACF,GAEKC,IAAWH,EAAI,EAAK,GAEpBI,IAAkBN,EAAS,MAAM;;AACrC,YAAMO,MAAcC,IAAAP,EAAY,UAAZ,gBAAAO,EAAm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A;;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._showMoreButton_ydz3i_2{align-self:center;min-width:80px}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ const o = "_showMoreButton_ydz3i_2", t = {
3
+ showMoreButton: o
4
+ };
5
+ export {
6
+ t as default,
7
+ o as showMoreButton
8
+ };
9
+ //# sourceMappingURL=OptionsList.vue3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OptionsList.vue3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -1,18 +1,18 @@
1
- import { defineComponent as S, computed as i, createBlock as C, openBlock as p, withCtx as s, createElementBlock as g, Fragment as E, renderList as O, unref as o, createVNode as l, mergeProps as k, toHandlers as z, createElementVNode as y } from "vue";
2
- import { useStore as D } from "../../store.js";
1
+ import { defineComponent as S, computed as i, createBlock as C, openBlock as p, withCtx as s, createElementBlock as g, Fragment as O, renderList as E, unref as o, createVNode as l, mergeProps as L, toHandlers as k, createElementVNode as y } from "vue";
2
+ import { useStore as z } from "../../store.js";
3
3
  import { PlDropdown as v } from "@platforma-sdk/ui-vue";
4
- import F from "../../components/DragAndDrop/DndBasket.vue.js";
5
- import L from "./Layout/FormLayout.vue.js";
4
+ import D from "../../components/DragAndDrop/DndBasket.vue.js";
5
+ import F from "./Layout/FormLayout.vue.js";
6
6
  import T from "./Layout/OptionsList.vue.js";
7
7
  import U from "./Layout/MandatoryOptions.vue.js";
8
- import { useBaskets as $ } from "./useBaskets.js";
9
- const A = { class: "data-form-input-item" }, w = {
8
+ import { useBaskets as A } from "./useBaskets.js";
9
+ const $ = { class: "data-form-input-item" }, w = {
10
10
  class: "data-form-input-item",
11
11
  style: { "margin-top": "10px" }
12
12
  }, J = /* @__PURE__ */ S({
13
13
  __name: "ScatterplotForm",
14
14
  setup(H) {
15
- const r = D(), b = ["filters", "highlight", "grouping", "size", "shape", "tooltipContent", "label", "tabBy", "facetBy"], h = {
15
+ const r = z(), b = ["filters", "highlight", "grouping", "size", "shape", "tooltipContent", "label", "tabBy", "facetBy"], h = {
16
16
  filters: "Filter",
17
17
  highlight: "Highlight",
18
18
  grouping: "Grouping / Color",
@@ -24,13 +24,13 @@ const A = { class: "data-form-input-item" }, w = {
24
24
  facetBy: "Facet by"
25
25
  }, {
26
26
  draggedId: u,
27
- basketsData: _,
28
- freeMetaOptions: B,
27
+ basketsData: B,
28
+ freeMetaOptions: _,
29
29
  freeMandatoryOptions: V,
30
30
  chipInfo: d,
31
31
  dataStateValues: n,
32
32
  dataOptions: m
33
- } = $(
33
+ } = A(
34
34
  r,
35
35
  ["x", "y"],
36
36
  ["filters", "tabBy", "highlight"],
@@ -54,9 +54,9 @@ const A = { class: "data-form-input-item" }, w = {
54
54
  n.value.y.value = t;
55
55
  }
56
56
  });
57
- return (t, a) => (p(), C(L, null, {
57
+ return (t, a) => (p(), C(F, null, {
58
58
  dataInputs: s(() => [
59
- y("div", A, [
59
+ y("div", $, [
60
60
  l(o(v), {
61
61
  modelValue: f.value,
62
62
  "onUpdate:modelValue": a[0] || (a[0] = (e) => f.value = e),
@@ -86,17 +86,17 @@ const A = { class: "data-form-input-item" }, w = {
86
86
  ]),
87
87
  metadataOptions: s(() => [
88
88
  l(T, {
89
- options: o(B),
89
+ options: o(_),
90
90
  chipInfo: o(d),
91
91
  onDraggedIdUpdate: a[3] || (a[3] = (e) => u.value = e)
92
92
  }, null, 8, ["options", "chipInfo"])
93
93
  ]),
94
94
  chartVar: s(() => [
95
- (p(!0), g(E, null, O(o(_), (e) => (p(), g("div", {
95
+ (p(!0), g(O, null, E(o(B), (e) => (p(), g("div", {
96
96
  key: e.id,
97
97
  class: "data-form-input-item"
98
98
  }, [
99
- l(F, k({ ref_for: !0 }, e, z(e.listeners)), null, 16)
99
+ l(D, L({ ref_for: !0 }, e, k(e.listeners)), null, 16)
100
100
  ]))), 128))
101
101
  ]),
102
102
  _: 1
@@ -1,18 +1,18 @@
1
- import { defineComponent as S, computed as i, createBlock as C, openBlock as u, withCtx as r, createElementBlock as c, Fragment as E, renderList as O, unref as o, createVNode as a, mergeProps as U, toHandlers as k, createElementVNode as v } from "vue";
2
- import { useStore as z } from "../../store.js";
1
+ import { defineComponent as S, computed as i, createBlock as C, openBlock as u, withCtx as s, createElementBlock as c, Fragment as O, renderList as E, unref as o, createVNode as a, mergeProps as L, toHandlers as U, createElementVNode as v } from "vue";
2
+ import { useStore as k } from "../../store.js";
3
3
  import { PlDropdown as y } from "@platforma-sdk/ui-vue";
4
- import D from "../../components/DragAndDrop/DndBasket.vue.js";
5
- import L from "./Layout/FormLayout.vue.js";
4
+ import z from "../../components/DragAndDrop/DndBasket.vue.js";
5
+ import D from "./Layout/FormLayout.vue.js";
6
6
  import T from "./Layout/OptionsList.vue.js";
7
- import $ from "./Layout/MandatoryOptions.vue.js";
8
- import { useBaskets as A } from "./useBaskets.js";
9
- const F = { class: "data-form-input-item" }, w = {
7
+ import A from "./Layout/MandatoryOptions.vue.js";
8
+ import { useBaskets as F } from "./useBaskets.js";
9
+ const $ = { class: "data-form-input-item" }, w = {
10
10
  class: "data-form-input-item",
11
11
  style: { "margin-top": "10px" }
12
12
  }, J = /* @__PURE__ */ S({
13
13
  __name: "ScatterplotUmapForm",
14
14
  setup(H) {
15
- const s = z(), b = ["filters", "highlight", "grouping", "size", "tabBy", "tooltipContent", "label"], _ = {
15
+ const r = k(), b = ["filters", "highlight", "grouping", "size", "tabBy", "tooltipContent", "label"], h = {
16
16
  filters: "Filter",
17
17
  highlight: "Highlight",
18
18
  grouping: "Grouping / Color",
@@ -22,25 +22,25 @@ const F = { class: "data-form-input-item" }, w = {
22
22
  label: "Label"
23
23
  }, {
24
24
  draggedId: p,
25
- basketsData: h,
25
+ basketsData: _,
26
26
  freeMetaOptions: V,
27
27
  freeMandatoryOptions: I,
28
28
  chipInfo: d,
29
29
  dataStateValues: n,
30
30
  dataOptions: m
31
- } = A(
32
- s,
31
+ } = F(
32
+ r,
33
33
  ["x", "y"],
34
34
  ["filters", "tabBy", "highlight"],
35
35
  ["grouping", "size", "tooltipContent", "label"],
36
36
  b,
37
- _
37
+ h
38
38
  ), x = i(() => {
39
39
  var t;
40
- return ((t = s.value.readonlyInputs) == null ? void 0 : t.includes("x")) ?? !1;
40
+ return ((t = r.value.readonlyInputs) == null ? void 0 : t.includes("x")) ?? !1;
41
41
  }), B = i(() => {
42
42
  var t;
43
- return ((t = s.value.readonlyInputs) == null ? void 0 : t.includes("y")) ?? !1;
43
+ return ((t = r.value.readonlyInputs) == null ? void 0 : t.includes("y")) ?? !1;
44
44
  }), f = i({
45
45
  get: () => n.value.x.value,
46
46
  set: (t) => {
@@ -52,9 +52,9 @@ const F = { class: "data-form-input-item" }, w = {
52
52
  n.value.y.value = t;
53
53
  }
54
54
  });
55
- return (t, l) => (u(), C(L, null, {
56
- dataInputs: r(() => [
57
- v("div", F, [
55
+ return (t, l) => (u(), C(D, null, {
56
+ dataInputs: s(() => [
57
+ v("div", $, [
58
58
  a(o(y), {
59
59
  modelValue: f.value,
60
60
  "onUpdate:modelValue": l[0] || (l[0] = (e) => f.value = e),
@@ -75,26 +75,26 @@ const F = { class: "data-form-input-item" }, w = {
75
75
  }, null, 8, ["modelValue", "options", "disabled"])
76
76
  ])
77
77
  ]),
78
- mandatoryOptions: r(() => [
79
- a($, {
78
+ mandatoryOptions: s(() => [
79
+ a(A, {
80
80
  options: o(I),
81
81
  chipInfo: o(d),
82
82
  onDraggedIdUpdate: l[2] || (l[2] = (e) => p.value = e)
83
83
  }, null, 8, ["options", "chipInfo"])
84
84
  ]),
85
- metadataOptions: r(() => [
85
+ metadataOptions: s(() => [
86
86
  a(T, {
87
87
  options: o(V),
88
88
  chipInfo: o(d),
89
89
  onDraggedIdUpdate: l[3] || (l[3] = (e) => p.value = e)
90
90
  }, null, 8, ["options", "chipInfo"])
91
91
  ]),
92
- chartVar: r(() => [
93
- (u(!0), c(E, null, O(o(h), (e) => (u(), c("div", {
92
+ chartVar: s(() => [
93
+ (u(!0), c(O, null, E(o(_), (e) => (u(), c("div", {
94
94
  key: e.id,
95
95
  class: "data-form-input-item"
96
96
  }, [
97
- a(D, U({ ref_for: !0 }, e, k(e.listeners)), null, 16)
97
+ a(z, L({ ref_for: !0 }, e, U(e.listeners)), null, 16)
98
98
  ]))), 128))
99
99
  ]),
100
100
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/forms/DataMappingForm/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EAGV,UAAU,EACV,aAAa,EACb,UAAU,EACV,UAAU,EACX,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9C;oEACoE;AACpE,wBAAgB,cAAc,CAC5B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,EAC3B,SAAS,EAAE,MAAM,UAAU,CAAC,YAAY,CAAC,EACzC,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC,EAClC,KAAK,EAAE,aAAa,GAAG,IAAI,EAC3B,eAAe,EAAE,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,GAC3C,GAAG,CAAC,MAAM,EAAE,CAAC,CAiCf;AAED,wBAAgB,aAAa,CAC3B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,EAC3B,SAAS,EAAE,MAAM,UAAU,CAAC,YAAY,CAAC,EACzC,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC,EAClC,KAAK,EAAE,aAAa,GAA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