@milaboratories/graph-maker 1.0.9 → 1.0.11

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.
@@ -3812,19 +3812,19 @@ async function ej(e, t, r) {
3812
3812
  }
3813
3813
  async function Mu(e, t, r) {
3814
3814
  let n = Cn(t);
3815
- async function i(c) {
3816
- let d = await ej(e, c, r);
3817
- return d ? y8(d) : null;
3818
- }
3819
- async function o(c) {
3820
- let d = await e.pFrameProvider.getColumnSpecById(c);
3821
- return d ? y8(d) : null;
3822
- }
3823
- let s = await e.pFrameProvider.getColumns([], ["String"], { [gie]: "true" }, !1), l = li(n) ? await o(n) : await i(n);
3824
- return s.find(async (c) => {
3825
- let d = await e.pFrameProvider.getColumnSpecById(c);
3826
- return d && d.axesSpec.length === 1 && y8(d.axesSpec[0]) === l;
3827
- });
3815
+ async function i(d) {
3816
+ let f = await ej(e, d, r);
3817
+ return f ? y8(f) : null;
3818
+ }
3819
+ async function o(d) {
3820
+ let f = await e.pFrameProvider.getColumnSpecById(d);
3821
+ return f ? y8(f) : null;
3822
+ }
3823
+ let s = await e.pFrameProvider.getColumns([], ["String"], { [gie]: "true" }, !1), l = li(n) ? await o(n) : await i(n), c = await Promise.all(s.map(async (d) => {
3824
+ let f = await e.pFrameProvider.getColumnSpecById(d);
3825
+ return f && f.axesSpec.length === 1 && y8(f.axesSpec[0]) === l;
3826
+ })).then((d) => d.findIndex((f) => f === !0));
3827
+ if (c !== -1) return s[c];
3828
3828
  }
3829
3829
  async function Ol(e, t, r) {
3830
3830
  var n, i;