@feedmepos/mf-report 5.4.30 → 5.4.31

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.
@@ -2,9 +2,9 @@ import { defineComponent as O, resolveComponent as C, createBlock as T, openBloc
2
2
  import { detectLocale as g, useCoreStore as b } from "@feedmepos/mf-common";
3
3
  import { u as oe, d as F, a as re, b as ne, c as se, e as ae, f as le, g as ue } from "./global-loader-D9UMph7l.js";
4
4
  import { storeToRefs as B } from "pinia";
5
- import { u as ie, a as ce } from "./v4-Da8QN1GW.js";
5
+ import { u as ie, a as ce } from "./v4-D67i4aLh.js";
6
6
  import { u as me } from "./report-schema-BEEUlheS.js";
7
- import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BYnAPN-Z.js";
7
+ import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DUC_jUZ0.js";
8
8
  import { u as U } from "./message-dialog-UoMWOnil.js";
9
9
  import { useRoute as fe } from "vue-router";
10
10
  const pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, ge = /* @__PURE__ */ O({
@@ -96,7 +96,7 @@ const ye = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
96
96
  }), M(() => {
97
97
  u(de);
98
98
  }), j(() => {
99
- console.log("5.4.30", !0), window.addEventListener("message", R), window.addEventListener("message", L);
99
+ console.log("5.4.31", !0), window.addEventListener("message", R), window.addEventListener("message", L);
100
100
  });
101
101
  const V = ce(), D = ve();
102
102
  ee(() => {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as s, openBlock as r, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as k, createElementVNode as x, renderSlot as g } from "vue";
2
- import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BYnAPN-Z.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DUC_jUZ0.js";
3
3
  import { useBreakpoints as h } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as b } from "pinia";
5
5
  import { f as w } from "./global-loader-D9UMph7l.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as W, useModel as H, computed as i, ref as L, resolveComponent as y, createElementBlock as D, openBlock as v, Fragment as z, renderSlot as j, createVNode as S, createElementVNode as k, toDisplayString as Z, unref as U, withCtx as V, createBlock as T, createCommentVNode as J, normalizeClass as le, normalizeStyle as _e, h as ge, renderList as Ce, mergeModels as Ee, watch as ae, onMounted as ze, onUnmounted as We, resolveDynamicComponent as He, withDirectives as Oe, vShow as qe } from "vue";
2
- import { W as r, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-Da8QN1GW.js";
2
+ import { W as r, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-D67i4aLh.js";
3
3
  import { u as ie, b as xe, a as ue } from "./global-loader-D9UMph7l.js";
4
4
  import { d as be } from "./index-CxVnRxOJ.js";
5
5
  import { storeToRefs as ne } from "pinia";
@@ -2,7 +2,7 @@ var Zo = Object.defineProperty;
2
2
  var Qo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var k = (i, t, e) => Qo(i, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Jo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
5
- import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-Z5LtA_sJ.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-CHKhu1vR.js";
6
6
  import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CIDrrVrf.js";
7
7
  import { d as Bi, a as Kn, h as qn, F as Gn, u as Zn, b as oa } from "./global-loader-D9UMph7l.js";
8
8
  import { storeToRefs as Qn } from "pinia";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
2
- import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-Z5LtA_sJ.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-CHKhu1vR.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -4,7 +4,7 @@ var za = (e, t, r) => Ml(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { defineComponent as Hr, computed as hr, useModel as Nt, ref as Le, watch as ln, resolveComponent as pe, createBlock as Je, unref as Y, openBlock as Ae, withCtx as ke, createElementVNode as Se, createVNode as te, toDisplayString as Er, withDirectives as ya, createElementBlock as mr, Fragment as vt, renderList as gt, vShow as Fa, createTextVNode as Ot, mergeModels as Ia, createCommentVNode as Xt, normalizeClass as fa, withModifiers as Bl, resolveDynamicComponent as Ui, isRef as ja, createSlots as Ul } from "vue";
5
5
  import { useRouter as ef, useRoute as rf } from "vue-router";
6
6
  import { storeToRefs as Mr, defineStore as tf } from "pinia";
7
- import { a as La, R as Oa, g as $n, v as Vl, d as Wl, s as Hl, u as Xl } from "./v4-Da8QN1GW.js";
7
+ import { a as La, R as Oa, g as $n, v as Vl, d as Wl, s as Hl, u as Xl } from "./v4-D67i4aLh.js";
8
8
  import { useBreakpoints as i0, components as Gt, useSnackbar as En, FmButtonVariant as Vi } from "@feedmepos/ui-library";
9
9
  import { u as _t, i as Gl, j as z0, a as wt, h as kt, F as Tt, d as Pe, b as s0, k as Ma, l as $l, m as Yl, e as zl, n as Ka } from "./global-loader-D9UMph7l.js";
10
10
  import { _ as Wi } from "./SelectComponent.vue_vue_type_script_setup_true_lang-B5OLIl_Y.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
2
- import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-Clf_cFM6.js";
3
- import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-Z5LtA_sJ.js";
4
- import { a as P } from "./v4-Da8QN1GW.js";
2
+ import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CG9FaKRJ.js";
3
+ import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-CHKhu1vR.js";
4
+ import { a as P } from "./v4-D67i4aLh.js";
5
5
  import { storeToRefs as R } from "pinia";
6
6
  import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-O7qHGZkw.js";
7
7
  import { useBreakpoints as V } from "@feedmepos/ui-library";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ce, ref as O, watch as Q, computed as w, h as f, withModifiers as ie, resolveComponent as C, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as me, normalizeClass as _, withDirectives as B, createElementBlock as ue, Fragment as pe, renderList as de, toDisplayString as R, createTextVNode as fe, vShow as D } from "vue";
2
2
  import { storeToRefs as W } from "pinia";
3
- import { a as ve } from "./v4-Da8QN1GW.js";
4
- import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-Z5LtA_sJ.js";
3
+ import { a as ve } from "./v4-D67i4aLh.js";
4
+ import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-CHKhu1vR.js";
5
5
  import { u as ge } from "./message-dialog-UoMWOnil.js";
6
6
  import { b as be, f as xe } from "./global-loader-D9UMph7l.js";
7
7
  import { useSnackbar as Ce, useBreakpoints as _e, components as he, FmButtonColorThemeVariant as ke } from "@feedmepos/ui-library";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as S, mergeModels as $, useModel as M, ref as N, computed as P, resolveComponent as c, createBlock as b, openBlock as s, withCtx as m, createElementVNode as C, createVNode as a, unref as o, normalizeClass as E, createTextVNode as fe, toDisplayString as O, createElementBlock as x, Fragment as q, renderSlot as j, createCommentVNode as U, watch as ve, resolveDynamicComponent as K, isRef as Q, renderList as H, onMounted as ge, normalizeStyle as _e } from "vue";
2
- import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-DOnRrPSQ.js";
3
- import { a as X, v as Y } from "./v4-Da8QN1GW.js";
2
+ import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-CKZbKQsR.js";
3
+ import { a as X, v as Y } from "./v4-D67i4aLh.js";
4
4
  import { storeToRefs as Z } from "pinia";
5
5
  import { useRouter as ee, useRoute as oe } from "vue-router";
6
6
  import { useBreakpoints as A, FmButtonColorThemeVariant as W, useSnackbar as xe } from "@feedmepos/ui-library";
7
7
  import { u as te } from "./message-dialog-UoMWOnil.js";
8
- import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-Clf_cFM6.js";
8
+ import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CG9FaKRJ.js";
9
9
  import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-O7qHGZkw.js";
10
10
  import { u as I, f as he } from "./global-loader-D9UMph7l.js";
11
11
  const we = /* @__PURE__ */ S({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as J, computed as v, resolveComponent as L, createBlock as g, openBlock as u, withCtx as V, createVNode as S, createElementVNode as z, unref as t, normalizeStyle as H, normalizeClass as w, createElementBlock as D, Fragment as M, renderList as Y } from "vue";
2
2
  import { _ as G } from "./MenuTab.vue_vue_type_script_setup_true_lang-oIsq1i1c.js";
3
- import { _ as Q } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-Clf_cFM6.js";
3
+ import { _ as Q } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CG9FaKRJ.js";
4
4
  import { useRouter as U, useRoute as W } from "vue-router";
5
- import { _ as j } from "./Default.vue_vue_type_script_setup_true_lang-Z5LtA_sJ.js";
6
- import { a as K } from "./v4-Da8QN1GW.js";
5
+ import { _ as j } from "./Default.vue_vue_type_script_setup_true_lang-CHKhu1vR.js";
6
+ import { a as K } from "./v4-D67i4aLh.js";
7
7
  import { storeToRefs as p } from "pinia";
8
- import { a as X, u as Z } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BYnAPN-Z.js";
8
+ import { a as X, u as Z } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DUC_jUZ0.js";
9
9
  import { _ as ee } from "./NoData.vue_vue_type_script_setup_true_lang-O7qHGZkw.js";
10
10
  import { useSnackbar as oe, useBreakpoints as te } from "@feedmepos/ui-library";
11
11
  import { u as re, f as ae, e as le } from "./global-loader-D9UMph7l.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, ref as H, useModel as J, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as M, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as K, renderList as Q, withDirectives as E, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
2
- import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-Z5LtA_sJ.js";
2
+ import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-CHKhu1vR.js";
3
3
  import { u as U, d as z, C as A, D as pe, b as ce } from "./global-loader-D9UMph7l.js";
4
4
  import { components as I, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
5
5
  import { t as N, s as fe } from "./timeFormat-BRqkZ3bP.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as W, mergeModels as z, useModel as Y, computed as N, ref as A, resolveComponent as y, createElementBlock as L, openBlock as p, createVNode as d, createElementVNode as x, unref as i, withCtx as C, toDisplayString as I, Fragment as Q, renderList as se, withModifiers as ee, createTextVNode as ne, watch as re, createCommentVNode as T, createBlock as k, renderSlot as Ce, resolveDynamicComponent as _e, normalizeClass as Te, onMounted as Le, normalizeStyle as Be, isRef as Me } from "vue";
2
2
  import { useRoute as Re, useRouter as je } from "vue-router";
3
- import { h as Ee, d as ce, S as fe, W as Ae, a as qe, T as Pe, _ as He } from "./TransitionFade-DOnRrPSQ.js";
4
- import { W as S, a as Je } from "./v4-Da8QN1GW.js";
3
+ import { h as Ee, d as ce, S as fe, W as Ae, a as qe, T as Pe, _ as He } from "./TransitionFade-CKZbKQsR.js";
4
+ import { W as S, a as Je } from "./v4-D67i4aLh.js";
5
5
  import { storeToRefs as Ve } from "pinia";
6
6
  import { u as Se } from "./message-dialog-UoMWOnil.js";
7
7
  import { c as he, d as De, p as ze } from "./index-CxVnRxOJ.js";
@@ -10,7 +10,7 @@ import { u as Ue } from "./report-schema-BEEUlheS.js";
10
10
  import { _ as ie } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
11
11
  import { _ as H } from "./SelectComponent.vue_vue_type_script_setup_true_lang-B5OLIl_Y.js";
12
12
  import { u as le, d as pe } from "./global-loader-D9UMph7l.js";
13
- import { g as de, _ as $e } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-Clf_cFM6.js";
13
+ import { g as de, _ as $e } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CG9FaKRJ.js";
14
14
  import { _ as Oe } from "./NoData.vue_vue_type_script_setup_true_lang-O7qHGZkw.js";
15
15
  var oe = /* @__PURE__ */ ((s) => (s.DateTime = "DATE_TIME", s.Hour = "HOUR", s.Day = "DAY", s.Week = "WEEK", s.Month = "MONTH", s.TimeOfDay = "TIME_OF_DAY", s.HourOfDay = "HOUR_OF_DAY", s.DayOfWeek = "DAY_OF_WEEK", s.DayOfMonth = "DAY_OF_MONTH", s.MonthOfYear = "MONTH_OF_YEAR", s.Year = "YEAR", s))(oe || {}), ge = /* @__PURE__ */ ((s) => (s.Asc = "ASC", s.Desc = "DESC", s))(ge || {}), Z = /* @__PURE__ */ ((s) => (s.Equal = "EQUAL", s.NotEqual = "NOT_EQUAL", s.GreaterThan = "GREATER_THAN", s.LessThan = "LESS_THAN", s.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", s.LessThanOrEqual = "LESS_THAN_OR_EQUAL", s.Between = "BETWEEN", s.Like = "LIKE", s.NotLike = "NOT_LIKE", s.And = "AND", s.Or = "OR", s))(Z || {}), te = /* @__PURE__ */ ((s) => (s.String = "STRING", s.Timestamp = "TIMESTAMP", s.Bool = "BOOL", s.Numeric = "NUMERIC", s))(te || {});
16
16
  const we = [
@@ -3,10 +3,10 @@ import { f as _n, u as wn } from "./global-loader-D9UMph7l.js";
3
3
  import { useCoreStore as En } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as Sn } from "pinia";
5
5
  import { useRoute as Dn } from "vue-router";
6
- import { W as x } from "./v4-Da8QN1GW.js";
6
+ import { W as x } from "./v4-D67i4aLh.js";
7
7
  import { p as Cn } from "./index-CxVnRxOJ.js";
8
8
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-Clf_cFM6.js";
9
+ import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CG9FaKRJ.js";
10
10
  const xn = {
11
11
  key: 0,
12
12
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
package/dist/app.js CHANGED
@@ -1365,41 +1365,41 @@ const r = {
1365
1365
  path: "/overview",
1366
1366
  alias: ["/"],
1367
1367
  name: "overview",
1368
- component: () => import("./OverviewView-CgTMd0bI.js")
1368
+ component: () => import("./OverviewView-uMlgqt59.js")
1369
1369
  },
1370
1370
  {
1371
1371
  path: "/report",
1372
1372
  name: "reports",
1373
- component: () => import("./Report-D84YMAZ8.js")
1373
+ component: () => import("./Report-CQZWb7J5.js")
1374
1374
  },
1375
1375
  {
1376
1376
  path: "/insights",
1377
1377
  name: "insights",
1378
- component: () => import("./InsightView-B9wieGwJ.js")
1378
+ component: () => import("./InsightView-m9gwZU5M.js")
1379
1379
  },
1380
1380
  {
1381
1381
  path: "/report-view",
1382
1382
  name: "reportView",
1383
- component: () => import("./ReportView-DMt1g_wQ.js")
1383
+ component: () => import("./ReportView-Cdc3Rqr8.js")
1384
1384
  },
1385
1385
  {
1386
1386
  path: "/report-editor",
1387
1387
  name: "reportEditor",
1388
- component: () => import("./ReportEditor-B9JjBn2E.js")
1388
+ component: () => import("./ReportEditor-Ie1AgObB.js")
1389
1389
  },
1390
1390
  {
1391
1391
  path: "/report-editor/tile-editor",
1392
1392
  name: "tileEditor",
1393
- component: () => import("./TileEditor-wPeYkwpb.js")
1393
+ component: () => import("./TileEditor-BbIklNCF.js")
1394
1394
  },
1395
1395
  {
1396
1396
  path: "/setting",
1397
1397
  name: "setting",
1398
- component: () => import("./Setting-DLEnDfks.js")
1398
+ component: () => import("./Setting-ovX22nYd.js")
1399
1399
  },
1400
1400
  {
1401
1401
  path: "/integration",
1402
- component: () => import("./Layout-oCm1ZKHc.js"),
1402
+ component: () => import("./Layout-BoGS_pUM.js"),
1403
1403
  children: [
1404
1404
  {
1405
1405
  name: "integrations",
@@ -1432,7 +1432,7 @@ const p = {
1432
1432
  "en-US": a,
1433
1433
  "zh-CN": i,
1434
1434
  "th-TH": c
1435
- }, u = e(() => import("./App-Do4iQUyo.js"));
1435
+ }, u = e(() => import("./App-BEYrnl4C.js"));
1436
1436
  export {
1437
1437
  u as FmApp,
1438
1438
  p as i18nMessages,
@@ -9018,8 +9018,8 @@ Arguments: [` + d + "]";
9018
9018
  return t.List_List$of(new t.MappedListIterable(r, new t.BaseDatasourceConfigModel_metricIds_closure(), e), !0, e._eval$1("ListIterable.E"));
9019
9019
  },
9020
9020
  get$drillDimension() {
9021
- var r = this;
9022
- return r instanceof t.BaseXYDatasourceConfigModel || r instanceof t.CircularDatasourceConfigModel || r instanceof t.TableDatasourceConfigModel ? r.get$drillDimension() : null;
9021
+ var r, e = this;
9022
+ return e instanceof t.BaseXYDatasourceConfigModel || e instanceof t.CircularDatasourceConfigModel ? r = e.get$drillDimension() : r = e instanceof t.TableDatasourceConfigModel ? e.get$drillDimension() : null, r != null ? t.uniqueAlias(r) : r;
9023
9023
  },
9024
9024
  toRequests$1(r) {
9025
9025
  var e, i, n, a, s, l, _, d = this, c = null, p = d.schemaNames;
@@ -9102,12 +9102,10 @@ Arguments: [` + d + "]";
9102
9102
  $signature: 25
9103
9103
  }, t.CircularDatasourceConfigModel.prototype = {
9104
9104
  get$drillDimension() {
9105
- if (this.get$dimensions().length > 1) {
9106
- var r = this._drillDimension;
9107
- r == null && (r = t.uniqueAlias(u.JSArray_methods.get$first(this.get$dimensions()).get$alias()));
9108
- } else
9109
- r = null;
9110
- return r;
9105
+ if (this.get$dimensions().length <= 1)
9106
+ return null;
9107
+ var r = this._drillDimension;
9108
+ return r != null ? t.uniqueAlias(r) : t.uniqueAlias(u.JSArray_methods.get$first(this.get$dimensions()).get$alias());
9111
9109
  },
9112
9110
  toJson$0() {
9113
9111
  var r = t.LinkedHashMap_LinkedHashMap$of(this.super$BaseDatasourceConfigModel$toJson(), y.String, y.dynamic);
@@ -9214,12 +9212,10 @@ Arguments: [` + d + "]";
9214
9212
  $signature: 21
9215
9213
  }, t.TableDatasourceConfigModel.prototype = {
9216
9214
  get$drillDimension() {
9217
- if (this.isDrillable) {
9218
- var r = this._table_datasource_config_model$_drillDimension;
9219
- r == null && (r = t.uniqueAlias(u.JSArray_methods.get$first(this.get$dimensions()).get$alias()));
9220
- } else
9221
- r = null;
9222
- return r;
9215
+ if (!this.isDrillable)
9216
+ return null;
9217
+ var r = this._table_datasource_config_model$_drillDimension;
9218
+ return r != null ? t.uniqueAlias(r) : t.uniqueAlias(u.JSArray_methods.get$first(this.get$dimensions()).get$alias());
9223
9219
  },
9224
9220
  get$drilledDimensions() {
9225
9221
  var r = t.List_List$of(t.DataSourceDrillConfig.prototype.get$drilledDimensions.call(this), !0, y.QueryRequestDimension);
@@ -9362,12 +9358,10 @@ Arguments: [` + d + "]";
9362
9358
  $signature: 104
9363
9359
  }, t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig.prototype = {}, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig.prototype = {}, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig.prototype = {}, t.BaseXYDatasourceConfigModel.prototype = {
9364
9360
  get$drillDimension() {
9365
- if (this.get$dimensions().length > 1) {
9366
- var r = this._xy_datasource_config_model$_drillDimension;
9367
- r == null && (r = t.uniqueAlias(u.JSArray_methods.get$first(this.get$dimensions()).get$alias()));
9368
- } else
9369
- r = null;
9370
- return r;
9361
+ if (this.get$dimensions().length <= 1)
9362
+ return null;
9363
+ var r = this._xy_datasource_config_model$_drillDimension;
9364
+ return r != null ? t.uniqueAlias(r) : t.uniqueAlias(u.JSArray_methods.get$first(this.get$dimensions()).get$alias());
9371
9365
  },
9372
9366
  toRequests$1(r) {
9373
9367
  var e = this.super$BaseDatasourceConfigModel$toRequests(r)[0], i = t.List_List$of(e.dimensions, !0, y.QueryRequestDimension), n = this.get$dimensions().length !== 0 ? u.JSArray_methods.sublist$2(i, 0, 1) : i;
@@ -16794,8 +16788,8 @@ Arguments: [` + c + "]";
16794
16788
  return o.List_List$of(new o.MappedListIterable(e, new o.BaseDatasourceConfigModel_metricIds_closure(), i), !0, i._eval$1("ListIterable.E"));
16795
16789
  },
16796
16790
  get$drillDimension() {
16797
- var e = this;
16798
- return e instanceof o.BaseXYDatasourceConfigModel || e instanceof o.CircularDatasourceConfigModel || e instanceof o.TableDatasourceConfigModel ? e.get$drillDimension() : null;
16791
+ var e, i = this;
16792
+ return i instanceof o.BaseXYDatasourceConfigModel || i instanceof o.CircularDatasourceConfigModel ? e = i.get$drillDimension() : e = i instanceof o.TableDatasourceConfigModel ? i.get$drillDimension() : null, e != null ? o.uniqueAlias(e) : e;
16799
16793
  },
16800
16794
  toJson$0() {
16801
16795
  var e = this, i = e.schemaNames, n = o._arrayInstanceType(i)._eval$1("MappedListIterable<1,String>"), a = n._eval$1("ListIterable.E"), s = e.dimensions, l = o._arrayInstanceType(s)._eval$1("MappedListIterable<1,Map<String,@>>"), _ = e.metrics, d = o._arrayInstanceType(_)._eval$1("MappedListIterable<1,Map<String,@>>"), c = e.filters, p = o._arrayInstanceType(c)._eval$1("MappedListIterable<1,Map<String,@>>"), $ = e.sorts, g = o._arrayInstanceType($)._eval$1("MappedListIterable<1,Map<String,@>>");
@@ -16877,12 +16871,10 @@ Arguments: [` + c + "]";
16877
16871
  $signature: 40
16878
16872
  }, o.CircularDatasourceConfigModel.prototype = {
16879
16873
  get$drillDimension() {
16880
- if (this.get$dimensions().length > 1) {
16881
- var e = this._drillDimension;
16882
- e == null && (e = o.uniqueAlias(f.JSArray_methods.get$first(this.get$dimensions()).get$alias()));
16883
- } else
16884
- e = null;
16885
- return e;
16874
+ if (this.get$dimensions().length <= 1)
16875
+ return null;
16876
+ var e = this._drillDimension;
16877
+ return e != null ? o.uniqueAlias(e) : o.uniqueAlias(f.JSArray_methods.get$first(this.get$dimensions()).get$alias());
16886
16878
  },
16887
16879
  toJson$0() {
16888
16880
  var e = o.LinkedHashMap_LinkedHashMap$of(this.super$BaseDatasourceConfigModel$toJson(), r.String, r.dynamic);
@@ -16985,12 +16977,10 @@ Arguments: [` + c + "]";
16985
16977
  $signature: 3
16986
16978
  }, o.TableDatasourceConfigModel.prototype = {
16987
16979
  get$drillDimension() {
16988
- if (this.isDrillable) {
16989
- var e = this._table_datasource_config_model$_drillDimension;
16990
- e == null && (e = o.uniqueAlias(f.JSArray_methods.get$first(this.get$dimensions()).get$alias()));
16991
- } else
16992
- e = null;
16993
- return e;
16980
+ if (!this.isDrillable)
16981
+ return null;
16982
+ var e = this._table_datasource_config_model$_drillDimension;
16983
+ return e != null ? o.uniqueAlias(e) : o.uniqueAlias(f.JSArray_methods.get$first(this.get$dimensions()).get$alias());
16994
16984
  },
16995
16985
  get$drilledDimensions() {
16996
16986
  var e = o.List_List$of(o.DataSourceDrillConfig.prototype.get$drilledDimensions.call(this), !0, r.QueryRequestDimension);
@@ -17101,12 +17091,10 @@ Arguments: [` + c + "]";
17101
17091
  $signature: 54
17102
17092
  }, o._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig.prototype = {}, o._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig.prototype = {}, o._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig.prototype = {}, o.BaseXYDatasourceConfigModel.prototype = {
17103
17093
  get$drillDimension() {
17104
- if (this.get$dimensions().length > 1) {
17105
- var e = this._xy_datasource_config_model$_drillDimension;
17106
- e == null && (e = o.uniqueAlias(f.JSArray_methods.get$first(this.get$dimensions()).get$alias()));
17107
- } else
17108
- e = null;
17109
- return e;
17094
+ if (this.get$dimensions().length <= 1)
17095
+ return null;
17096
+ var e = this._xy_datasource_config_model$_drillDimension;
17097
+ return e != null ? o.uniqueAlias(e) : o.uniqueAlias(f.JSArray_methods.get$first(this.get$dimensions()).get$alias());
17110
17098
  },
17111
17099
  toJson$0() {
17112
17100
  var e, i = this, n = o.LinkedHashMap_LinkedHashMap$of(i.super$BaseDatasourceConfigModel$toJson(), r.String, r.dynamic);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.4.30",
3
+ "version": "5.4.31",
4
4
  "files": [
5
5
  "dist"
6
6
  ],