@milaboratories/graph-maker 1.1.90 → 1.1.91
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.
- package/dist/graph-maker.js +60 -60
- package/dist/graph-maker.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/graph-maker.js
CHANGED
|
@@ -19573,71 +19573,71 @@ const Lme = {
|
|
|
19573
19573
|
}),
|
|
19574
19574
|
emits: /* @__PURE__ */ r1(["close-chip", "update:filter", "update:fixedAxes"], ["update:filter", "update:fixedAxes"]),
|
|
19575
19575
|
setup(e, { emit: t }) {
|
|
19576
|
-
var
|
|
19577
|
-
const n = e, r = _a(),
|
|
19578
|
-
return Br(() =>
|
|
19579
|
-
var
|
|
19580
|
-
const
|
|
19581
|
-
|
|
19582
|
-
|
|
19576
|
+
var c;
|
|
19577
|
+
const n = e, r = t, a = _a(), i = dy(e, "filter"), o = dy(e, "fixedAxes"), s = Gt((c = a.value.uniqueValuesData.value[n.info.id]) == null ? void 0 : c.options);
|
|
19578
|
+
return Br(() => a.value.uniqueValuesData.value, (f) => {
|
|
19579
|
+
var p;
|
|
19580
|
+
const A = (p = f[n.info.id]) == null ? void 0 : p.options;
|
|
19581
|
+
A && (s.value = A), n.info.axesToBeFixed.forEach((h) => {
|
|
19582
|
+
o.value[h].axisValue === void 0 && f[h] && (o.value[h].axisValue = f[h].list[0], r("update:fixedAxes", o.value));
|
|
19583
19583
|
});
|
|
19584
|
-
}, { immediate: !0 }), Br(() =>
|
|
19585
|
-
!
|
|
19586
|
-
}, { immediate: !0 }), (
|
|
19584
|
+
}, { immediate: !0 }), Br(() => s.value, async (f) => {
|
|
19585
|
+
!f || !f.length || i.value === void 0 && (i.value = f[0].value);
|
|
19586
|
+
}, { immediate: !0 }), (f, A) => (Ee(), Ue("div", Lme, [
|
|
19587
19587
|
ye("div", {
|
|
19588
|
-
class: ea([{ error:
|
|
19588
|
+
class: ea([{ error: f.error, sortable: f.sortable }, "dnd-double-chip"])
|
|
19589
19589
|
}, [
|
|
19590
19590
|
ye("div", Rme, [
|
|
19591
19591
|
ye("div", {
|
|
19592
|
-
class: ea(["dnd-double-chip__icon", { error:
|
|
19592
|
+
class: ea(["dnd-double-chip__icon", { error: f.error }])
|
|
19593
19593
|
}, [
|
|
19594
|
-
|
|
19594
|
+
f.error ? (Ee(), Qt(ie(GP), {
|
|
19595
19595
|
key: 0,
|
|
19596
19596
|
name: "warning"
|
|
19597
19597
|
})) : (Ee(), Qt(ie(N4), {
|
|
19598
19598
|
key: 1,
|
|
19599
|
-
name:
|
|
19599
|
+
name: f.info.isSubsetFilter ? "cell-type-subset" : f.info.type === "String" ? "cell-type-txt" : "cell-type-num"
|
|
19600
19600
|
}, null, 8, ["name"]))
|
|
19601
19601
|
], 2),
|
|
19602
|
-
|
|
19602
|
+
f.sortable ? (Ee(), Ue("div", $me)) : Ht("", !0),
|
|
19603
19603
|
Ne(ie(GP), { name: "drag-dots" }),
|
|
19604
19604
|
ye("div", {
|
|
19605
19605
|
class: "dnd-double-chip__title-wrapper",
|
|
19606
|
-
title:
|
|
19606
|
+
title: f.info.title
|
|
19607
19607
|
}, [
|
|
19608
|
-
ye("div", Ome, Xa(
|
|
19608
|
+
ye("div", Ome, Xa(f.info.title), 1)
|
|
19609
19609
|
], 8, Fme),
|
|
19610
19610
|
ye("div", {
|
|
19611
19611
|
innerHTML: ie(qH),
|
|
19612
19612
|
class: "dnd-double-chip__icon-close",
|
|
19613
|
-
onClick:
|
|
19613
|
+
onClick: A[0] || (A[0] = (p) => f.$emit("close-chip", n.info.id))
|
|
19614
19614
|
}, null, 8, Nme)
|
|
19615
19615
|
]),
|
|
19616
19616
|
ye("div", Qme, [
|
|
19617
|
-
|
|
19617
|
+
s.value === void 0 || s.value.length < 1e3 ? (Ee(), Qt(ie(hs), {
|
|
19618
19618
|
key: 0,
|
|
19619
|
-
modelValue:
|
|
19620
|
-
"onUpdate:modelValue":
|
|
19621
|
-
options:
|
|
19619
|
+
modelValue: i.value,
|
|
19620
|
+
"onUpdate:modelValue": A[1] || (A[1] = (p) => i.value = p),
|
|
19621
|
+
options: s.value
|
|
19622
19622
|
}, null, 8, ["modelValue", "options"])) : (Ee(), Qt(ie(Xx), {
|
|
19623
19623
|
key: 1,
|
|
19624
|
-
modelValue:
|
|
19625
|
-
"onUpdate:modelValue":
|
|
19626
|
-
"options-search": (
|
|
19624
|
+
modelValue: i.value,
|
|
19625
|
+
"onUpdate:modelValue": A[2] || (A[2] = (p) => i.value = p),
|
|
19626
|
+
"options-search": (p) => f.searchOptions(n.info.id, p)
|
|
19627
19627
|
}, null, 8, ["modelValue", "options-search"]))
|
|
19628
19628
|
])
|
|
19629
19629
|
], 2),
|
|
19630
|
-
|
|
19631
|
-
(Ee(!0), Ue(jn, null, si(
|
|
19632
|
-
|
|
19630
|
+
f.info.axesToBeFixed.length > 0 ? (Ee(), Ue("div", Vme, [
|
|
19631
|
+
(Ee(!0), Ue(jn, null, si(f.info.axesToBeFixed, (p) => (Ee(), Ue(jn, { key: p }, [
|
|
19632
|
+
o.value[p] ? (Ee(), Qt(ie(Xx), {
|
|
19633
19633
|
key: 0,
|
|
19634
|
-
modelValue:
|
|
19634
|
+
modelValue: o.value[p].axisValue,
|
|
19635
19635
|
"onUpdate:modelValue": [
|
|
19636
|
-
(
|
|
19637
|
-
|
|
19636
|
+
(h) => o.value[p].axisValue = h,
|
|
19637
|
+
A[3] || (A[3] = (h) => f.$emit("update:fixedAxes", o.value))
|
|
19638
19638
|
],
|
|
19639
|
-
"options-search": (
|
|
19640
|
-
label:
|
|
19639
|
+
"options-search": (h) => f.searchOptions(p, h),
|
|
19640
|
+
label: f.info.axesToBeFixedInfo[p].title
|
|
19641
19641
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "options-search", "label"])) : Ht("", !0)
|
|
19642
19642
|
], 64))), 128))
|
|
19643
19643
|
])) : Ht("", !0)
|
|
@@ -19744,24 +19744,24 @@ const Lme = {
|
|
|
19744
19744
|
}),
|
|
19745
19745
|
emits: /* @__PURE__ */ r1(["close-chip", "update:fixedAxes"], ["update:filter", "update:fixedAxes"]),
|
|
19746
19746
|
setup(e, { emit: t }) {
|
|
19747
|
-
var
|
|
19748
|
-
const n = e, r = _a(), a = dy(e, "filter"),
|
|
19749
|
-
min: (
|
|
19750
|
-
max: (
|
|
19747
|
+
var c, f;
|
|
19748
|
+
const n = e, r = _a(), a = t, i = dy(e, "filter"), o = dy(e, "fixedAxes"), s = aA({
|
|
19749
|
+
min: (c = i.value) == null ? void 0 : c[0],
|
|
19750
|
+
max: (f = i.value) == null ? void 0 : f[1]
|
|
19751
19751
|
});
|
|
19752
19752
|
return Br(
|
|
19753
|
-
() =>
|
|
19754
|
-
(
|
|
19755
|
-
|
|
19753
|
+
() => s,
|
|
19754
|
+
(A) => {
|
|
19755
|
+
i.value = A;
|
|
19756
19756
|
},
|
|
19757
19757
|
{ deep: !0 }
|
|
19758
|
-
), Br(() => r.value.uniqueValuesData.value, (
|
|
19759
|
-
n.info.axesToBeFixed.forEach((
|
|
19760
|
-
|
|
19758
|
+
), Br(() => r.value.uniqueValuesData.value, (A) => {
|
|
19759
|
+
n.info.axesToBeFixed.forEach((p) => {
|
|
19760
|
+
o.value[p].axisValue === void 0 && A[p] && (o.value[p].axisValue = A[p].list[0], a("update:fixedAxes", o.value));
|
|
19761
19761
|
});
|
|
19762
|
-
}, { immediate: !0 }), (
|
|
19762
|
+
}, { immediate: !0 }), (A, p) => (Ee(), Ue("div", Zme, [
|
|
19763
19763
|
ye("div", {
|
|
19764
|
-
class: ea([{ error:
|
|
19764
|
+
class: ea([{ error: A.error }, "dnd-double-chip"])
|
|
19765
19765
|
}, [
|
|
19766
19766
|
ye("div", Jme, [
|
|
19767
19767
|
ye("div", qme, [
|
|
@@ -19769,22 +19769,22 @@ const Lme = {
|
|
|
19769
19769
|
]),
|
|
19770
19770
|
ye("div", {
|
|
19771
19771
|
class: "dnd-double-chip__title-wrapper",
|
|
19772
|
-
title:
|
|
19772
|
+
title: A.info.title
|
|
19773
19773
|
}, [
|
|
19774
|
-
ye("div", tge, Xa(
|
|
19774
|
+
ye("div", tge, Xa(A.info.title), 1)
|
|
19775
19775
|
], 8, ege),
|
|
19776
19776
|
ye("div", {
|
|
19777
19777
|
innerHTML: ie(qH),
|
|
19778
19778
|
class: "dnd-double-chip__icon-close",
|
|
19779
|
-
onClick:
|
|
19779
|
+
onClick: p[0] || (p[0] = (h) => A.$emit("close-chip", n.info.id))
|
|
19780
19780
|
}, null, 8, nge)
|
|
19781
19781
|
]),
|
|
19782
19782
|
ye("div", rge, [
|
|
19783
19783
|
ye("div", age, [
|
|
19784
19784
|
Ne(ie(Lm), {
|
|
19785
19785
|
label: "Min",
|
|
19786
|
-
modelValue:
|
|
19787
|
-
"onUpdate:modelValue":
|
|
19786
|
+
modelValue: s.min,
|
|
19787
|
+
"onUpdate:modelValue": p[1] || (p[1] = (h) => s.min = h),
|
|
19788
19788
|
updateOnEnterOrClickOutside: !0,
|
|
19789
19789
|
useIncrementButtons: !1
|
|
19790
19790
|
}, null, 8, ["modelValue"])
|
|
@@ -19792,25 +19792,25 @@ const Lme = {
|
|
|
19792
19792
|
ye("div", ige, [
|
|
19793
19793
|
Ne(ie(Lm), {
|
|
19794
19794
|
label: "Max",
|
|
19795
|
-
modelValue:
|
|
19796
|
-
"onUpdate:modelValue":
|
|
19795
|
+
modelValue: s.max,
|
|
19796
|
+
"onUpdate:modelValue": p[2] || (p[2] = (h) => s.max = h),
|
|
19797
19797
|
updateOnEnterOrClickOutside: !0,
|
|
19798
19798
|
useIncrementButtons: !1
|
|
19799
19799
|
}, null, 8, ["modelValue"])
|
|
19800
19800
|
])
|
|
19801
19801
|
])
|
|
19802
19802
|
], 2),
|
|
19803
|
-
|
|
19804
|
-
(Ee(!0), Ue(jn, null, si(
|
|
19805
|
-
|
|
19803
|
+
A.info.axesToBeFixed.length > 0 ? (Ee(), Ue("div", oge, [
|
|
19804
|
+
(Ee(!0), Ue(jn, null, si(A.info.axesToBeFixed, (h) => (Ee(), Ue(jn, { key: h }, [
|
|
19805
|
+
o.value[h] ? (Ee(), Qt(ie(Xx), {
|
|
19806
19806
|
key: 0,
|
|
19807
|
-
modelValue:
|
|
19807
|
+
modelValue: o.value[h].axisValue,
|
|
19808
19808
|
"onUpdate:modelValue": [
|
|
19809
|
-
(
|
|
19810
|
-
|
|
19809
|
+
(m) => o.value[h].axisValue = m,
|
|
19810
|
+
p[3] || (p[3] = (m) => A.$emit("update:fixedAxes", o.value))
|
|
19811
19811
|
],
|
|
19812
|
-
"options-search": (
|
|
19813
|
-
label:
|
|
19812
|
+
"options-search": (m) => A.searchOptions(h, m),
|
|
19813
|
+
label: A.info.axesToBeFixedInfo[h].title
|
|
19814
19814
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "options-search", "label"])) : Ht("", !0)
|
|
19815
19815
|
], 64))), 128))
|
|
19816
19816
|
])) : Ht("", !0)
|