@holistics/cli-core 2.3.20 → 2.3.22

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 (2) hide show
  1. package/dist/commands.js +121 -116
  2. package/package.json +1 -1
package/dist/commands.js CHANGED
@@ -27799,7 +27799,7 @@ var require_dist3 = __commonJS((exports2) => {
27799
27799
  exports2.default = deferred;
27800
27800
  });
27801
27801
  // package.json
27802
- var version = "2.3.20";
27802
+ var version = "2.3.22";
27803
27803
 
27804
27804
  // ../../node_modules/.pnpm/@commander-js+extra-typings@13.1.0_commander@13.1.0/node_modules/@commander-js/extra-typings/esm.mjs
27805
27805
  var import__ = __toESM(require_extra_typings(), 1);
@@ -66798,7 +66798,7 @@ Type GoToUrlAction {
66798
66798
 
66799
66799
  Type VizAction = GoToUrlAction
66800
66800
  ` };
66801
- function Ke3(e) {
66801
+ function Oe2(e) {
66802
66802
  return e?.replace(/::/g, ".");
66803
66803
  }
66804
66804
  function ql2(e) {
@@ -66806,7 +66806,7 @@ function ql2(e) {
66806
66806
  throw new Error("Expect an object");
66807
66807
  return {
66808
66808
  id: e.id,
66809
- name: Ke3(e.__fqn__ || e.uname || e.name) ?? "",
66809
+ name: Oe2(e.__fqn__ || e.uname || e.name) ?? "",
66810
66810
  label: e.label || e.title,
66811
66811
  data_models: (e.data_models || e.dataModels || []).map((t) => {
66812
66812
  const n = t.dimensions ?? [], o2 = t.measures ?? [], i = t.params ?? [], r2 = t.fields ?? [].concat(n).concat(o2).concat(i);
@@ -66834,7 +66834,7 @@ function ql2(e) {
66834
66834
  };
66835
66835
  }
66836
66836
  function hh2(e) {
66837
- return typeof e == "string" ? e : Ke3(e.__fqn__ || e.name);
66837
+ return typeof e == "string" ? e : Oe2(e.__fqn__ || e.name);
66838
66838
  }
66839
66839
  function fh2(e, t) {
66840
66840
  const n = hh2(t);
@@ -68728,7 +68728,7 @@ function _b2(e) {
68728
68728
  return { color: e };
68729
68729
  if (e.__type__ === "LabeledColor")
68730
68730
  return import_lodash.omitBy({
68731
- _id: e.__fqn__ ? Ke3(e.__fqn__) : undefined,
68731
+ _id: e.__fqn__ ? Oe2(e.__fqn__) : undefined,
68732
68732
  label: e.label,
68733
68733
  color: e.color
68734
68734
  }, import_lodash.isUndefined);
@@ -68739,20 +68739,20 @@ function yb2(e) {
68739
68739
  return;
68740
68740
  const t = Array.isArray(e.colors) ? e.colors.map((n) => _b2(n)).filter(Boolean) : [];
68741
68741
  return {
68742
- ...e.__fqn__ && { _id: Ke3(e.__fqn__) },
68742
+ ...e.__fqn__ && { _id: Oe2(e.__fqn__) },
68743
68743
  colors: t
68744
68744
  };
68745
68745
  }
68746
68746
  function $h2(e = {}) {
68747
68747
  return import_lodash.omitBy({
68748
- _id: Ke3(e.__fqn__),
68748
+ _id: Oe2(e.__fqn__),
68749
68749
  title: e.title,
68750
68750
  categorical: yb2(e.categorical)
68751
68751
  }, import_lodash.isUndefined);
68752
68752
  }
68753
68753
  function ic2(e) {
68754
68754
  if (!import_lodash.isNil(e))
68755
- return e.__fqn__ ? Ke3(e.__fqn__) : $h2(e);
68755
+ return e.__fqn__ ? Oe2(e.__fqn__) : $h2(e);
68756
68756
  }
68757
68757
  var rc2 = {
68758
68758
  "pastel-1": -1,
@@ -69339,9 +69339,9 @@ var mt3 = 7;
69339
69339
  var Ct3 = 8;
69340
69340
  var he3 = 9;
69341
69341
  var Z2 = 10;
69342
- var Ue3 = 11;
69342
+ var He3 = 11;
69343
69343
  var pe3 = 12;
69344
- var He3 = 13;
69344
+ var Ke3 = 13;
69345
69345
  var ki2 = 14;
69346
69346
  var St3 = 15;
69347
69347
  var ft3 = 16;
@@ -69616,7 +69616,7 @@ class Yb2 {
69616
69616
  lookupTypeNonSC(t) {
69617
69617
  for (let n = this.tokenIndex;n < this.tokenCount; n++) {
69618
69618
  const o2 = this.offsetAndType[n] >> en2;
69619
- if (o2 !== He3 && o2 !== ct3 && t-- === 0)
69619
+ if (o2 !== Ke3 && o2 !== ct3 && t-- === 0)
69620
69620
  return o2;
69621
69621
  }
69622
69622
  return xn3;
@@ -69627,7 +69627,7 @@ class Yb2 {
69627
69627
  lookupOffsetNonSC(t) {
69628
69628
  for (let n = this.tokenIndex;n < this.tokenCount; n++) {
69629
69629
  const o2 = this.offsetAndType[n] >> en2;
69630
- if (o2 !== He3 && o2 !== ct3 && t-- === 0)
69630
+ if (o2 !== Ke3 && o2 !== ct3 && t-- === 0)
69631
69631
  return n - this.tokenIndex;
69632
69632
  }
69633
69633
  return xn3;
@@ -69656,7 +69656,7 @@ class Yb2 {
69656
69656
  t < this.tokenCount ? (this.tokenIndex = t, this.tokenStart = this.tokenEnd, t = this.offsetAndType[t], this.tokenType = t >> en2, this.tokenEnd = t & Xt2) : (this.eof = true, this.tokenIndex = this.tokenCount, this.tokenType = xn3, this.tokenStart = this.tokenEnd = this.source.length);
69657
69657
  }
69658
69658
  skipSC() {
69659
- for (;this.tokenType === He3 || this.tokenType === ct3; )
69659
+ for (;this.tokenType === Ke3 || this.tokenType === ct3; )
69660
69660
  this.next();
69661
69661
  }
69662
69662
  skipUntilBalanced(t, n) {
@@ -69705,7 +69705,7 @@ function Or3(e, t) {
69705
69705
  return;
69706
69706
  }
69707
69707
  if (n(c3) === 37) {
69708
- u = Ue3, c3++;
69708
+ u = He3, c3++;
69709
69709
  return;
69710
69710
  }
69711
69711
  u = Z2;
@@ -69785,7 +69785,7 @@ function Or3(e, t) {
69785
69785
  const d2 = e.charCodeAt(c3);
69786
69786
  switch (ds2(d2)) {
69787
69787
  case Ji2:
69788
- u = He3, c3 = Di2(e, c3 + 1);
69788
+ u = Ke3, c3 = Di2(e, c3 + 1);
69789
69789
  break;
69790
69790
  case 34:
69791
69791
  r2();
@@ -70127,7 +70127,7 @@ function Jb2(e) {
70127
70127
  case ct3:
70128
70128
  this.next();
70129
70129
  continue;
70130
- case He3:
70130
+ case Ke3:
70131
70131
  n = true, this.next();
70132
70132
  continue;
70133
70133
  }
@@ -70229,7 +70229,7 @@ function nw2(e) {
70229
70229
  lookupNonWSType(c3) {
70230
70230
  let u;
70231
70231
  do
70232
- if (u = this.lookupType(c3++), u !== He3 && u !== ct3)
70232
+ if (u = this.lookupType(c3++), u !== Ke3 && u !== ct3)
70233
70233
  return u;
70234
70234
  while (u !== Hd2);
70235
70235
  return Hd2;
@@ -70272,7 +70272,7 @@ function nw2(e) {
70272
70272
  case Le2:
70273
70273
  this.isDelim(Xb2) && (this.next(), h2++, d2 = "Name is expected");
70274
70274
  break;
70275
- case Ue3:
70275
+ case He3:
70276
70276
  this.tokenType === Z2 && (h2 = this.tokenEnd, d2 = "Percent sign is expected");
70277
70277
  break;
70278
70278
  }
@@ -70778,7 +70778,7 @@ var Hh2 = [
70778
70778
  [L2, Ct3],
70779
70779
  [L2, "-"],
70780
70780
  [L2, Z2],
70781
- [L2, Ue3],
70781
+ [L2, He3],
70782
70782
  [L2, pe3],
70783
70783
  [L2, St3],
70784
70784
  [L2, be3],
@@ -70788,7 +70788,7 @@ var Hh2 = [
70788
70788
  [et3, Ct3],
70789
70789
  [et3, "-"],
70790
70790
  [et3, Z2],
70791
- [et3, Ue3],
70791
+ [et3, He3],
70792
70792
  [et3, pe3],
70793
70793
  [et3, St3],
70794
70794
  [Le2, L2],
@@ -70797,7 +70797,7 @@ var Hh2 = [
70797
70797
  [Le2, Ct3],
70798
70798
  [Le2, "-"],
70799
70799
  [Le2, Z2],
70800
- [Le2, Ue3],
70800
+ [Le2, He3],
70801
70801
  [Le2, pe3],
70802
70802
  [Le2, St3],
70803
70803
  [pe3, L2],
@@ -70806,7 +70806,7 @@ var Hh2 = [
70806
70806
  [pe3, Ct3],
70807
70807
  [pe3, "-"],
70808
70808
  [pe3, Z2],
70809
- [pe3, Ue3],
70809
+ [pe3, He3],
70810
70810
  [pe3, pe3],
70811
70811
  [pe3, St3],
70812
70812
  ["#", L2],
@@ -70815,7 +70815,7 @@ var Hh2 = [
70815
70815
  ["#", Ct3],
70816
70816
  ["#", "-"],
70817
70817
  ["#", Z2],
70818
- ["#", Ue3],
70818
+ ["#", He3],
70819
70819
  ["#", pe3],
70820
70820
  ["#", St3],
70821
70821
  ["-", L2],
@@ -70824,7 +70824,7 @@ var Hh2 = [
70824
70824
  ["-", Ct3],
70825
70825
  ["-", "-"],
70826
70826
  ["-", Z2],
70827
- ["-", Ue3],
70827
+ ["-", He3],
70828
70828
  ["-", pe3],
70829
70829
  ["-", St3],
70830
70830
  [Z2, L2],
@@ -70832,7 +70832,7 @@ var Hh2 = [
70832
70832
  [Z2, mt3],
70833
70833
  [Z2, Ct3],
70834
70834
  [Z2, Z2],
70835
- [Z2, Ue3],
70835
+ [Z2, He3],
70836
70836
  [Z2, pe3],
70837
70837
  [Z2, "%"],
70838
70838
  [Z2, St3],
@@ -70843,10 +70843,10 @@ var Hh2 = [
70843
70843
  ["@", "-"],
70844
70844
  ["@", St3],
70845
70845
  [".", Z2],
70846
- [".", Ue3],
70846
+ [".", He3],
70847
70847
  [".", pe3],
70848
70848
  ["+", Z2],
70849
- ["+", Ue3],
70849
+ ["+", He3],
70850
70850
  ["+", pe3],
70851
70851
  ["/", "*"]
70852
70852
  ];
@@ -70857,13 +70857,13 @@ var pw2 = Hh2.concat([
70857
70857
  [et3, be3],
70858
70858
  [et3, Jt2],
70859
70859
  [et3, ft3],
70860
- [Ue3, Ue3],
70861
- [Ue3, pe3],
70862
- [Ue3, ne3],
70863
- [Ue3, "-"],
70860
+ [He3, He3],
70861
+ [He3, pe3],
70862
+ [He3, ne3],
70863
+ [He3, "-"],
70864
70864
  [J2, L2],
70865
70865
  [J2, ne3],
70866
- [J2, Ue3],
70866
+ [J2, He3],
70867
70867
  [J2, pe3],
70868
70868
  [J2, Le2],
70869
70869
  [J2, "-"]
@@ -70872,7 +70872,7 @@ function Kh2(e) {
70872
70872
  const t = new Set(e.map(([n, o2]) => ws2(n) << 16 | ws2(o2)));
70873
70873
  return function(n, o2, i) {
70874
70874
  const r2 = ws2(o2, i), a = i.charCodeAt(0);
70875
- return (a === dw2 && o2 !== L2 && o2 !== ne3 && o2 !== St3 || a === uw2 ? t.has(n << 16 | a << 8) : t.has(n << 16 | r2)) && this.emit(" ", He3, true), r2;
70875
+ return (a === dw2 && o2 !== L2 && o2 !== ne3 && o2 !== St3 || a === uw2 ? t.has(n << 16 | a << 8) : t.has(n << 16 | r2)) && this.emit(" ", Ke3, true), r2;
70876
70876
  };
70877
70877
  }
70878
70878
  var mw2 = Kh2(Hh2);
@@ -70913,7 +70913,7 @@ function Aw2(e) {
70913
70913
  tokenBefore: Qh2,
70914
70914
  token(l2, c3) {
70915
70915
  r2 = this.tokenBefore(r2, l2, c3), this.emit(c3, l2, false), l2 === he3 && c3.charCodeAt(0) === hw2 && this.emit(`
70916
- `, He3, true);
70916
+ `, Ke3, true);
70917
70917
  },
70918
70918
  emit(l2) {
70919
70919
  i += l2;
@@ -71277,7 +71277,7 @@ function gl2(e, t) {
71277
71277
  return e !== null && e.type === he3 && e.value.charCodeAt(0) === t;
71278
71278
  }
71279
71279
  function ni2(e, t, n) {
71280
- for (;e !== null && (e.type === He3 || e.type === ct3); )
71280
+ for (;e !== null && (e.type === Ke3 || e.type === ct3); )
71281
71281
  e = n(++t);
71282
71282
  return t;
71283
71283
  }
@@ -71561,7 +71561,7 @@ function dn2(e) {
71561
71561
  };
71562
71562
  }
71563
71563
  function Uw2(e, t, n) {
71564
- return e === null || e.type !== Ue3 || Vr3(n, e.value, e.value.length - 1) ? 0 : 1;
71564
+ return e === null || e.type !== He3 || Vr3(n, e.value, e.value.length - 1) ? 0 : 1;
71565
71565
  }
71566
71566
  function tf2(e) {
71567
71567
  return typeof e != "function" && (e = function() {
@@ -71596,9 +71596,9 @@ var Qw2 = {
71596
71596
  "bad-url-token": $e3(Ct3),
71597
71597
  "delim-token": $e3(he3),
71598
71598
  "number-token": $e3(Z2),
71599
- "percentage-token": $e3(Ue3),
71599
+ "percentage-token": $e3(He3),
71600
71600
  "dimension-token": $e3(pe3),
71601
- "whitespace-token": $e3(He3),
71601
+ "whitespace-token": $e3(Ke3),
71602
71602
  "CDO-token": $e3(ki2),
71603
71603
  "CDC-token": $e3(St3),
71604
71604
  "colon-token": $e3(ft3),
@@ -72372,7 +72372,7 @@ function zv2(e, t, n) {
72372
72372
  function o2() {
72373
72373
  do
72374
72374
  w2++, x2 = w2 < e.length ? e[w2] : null;
72375
- while (x2 !== null && (x2.type === He3 || x2.type === ct3));
72375
+ while (x2 !== null && (x2.type === Ke3 || x2.type === ct3));
72376
72376
  }
72377
72377
  function i(C2) {
72378
72378
  const B2 = w2 + C2;
@@ -74509,14 +74509,14 @@ function bn3(e, t) {
74509
74509
  }
74510
74510
  function Bs2() {
74511
74511
  let e = 0, t = 0, n = this.tokenType;
74512
- for (;n === He3 || n === ct3; )
74512
+ for (;n === Ke3 || n === ct3; )
74513
74513
  n = this.lookupType(++e);
74514
74514
  if (n !== Z2)
74515
74515
  if (this.isDelim(on3, e) || this.isDelim(It3, e)) {
74516
74516
  t = this.isDelim(on3, e) ? on3 : It3;
74517
74517
  do
74518
74518
  n = this.lookupType(++e);
74519
- while (n === He3 || n === ct3);
74519
+ while (n === Ke3 || n === ct3);
74520
74520
  n !== Z2 && (this.skip(e), _o3.call(this, zn3));
74521
74521
  } else
74522
74522
  return null;
@@ -74744,7 +74744,7 @@ function bf2(e) {
74744
74744
  switch (this.tokenType) {
74745
74745
  case Mt3:
74746
74746
  break e;
74747
- case He3:
74747
+ case Ke3:
74748
74748
  case ct3:
74749
74749
  this.next();
74750
74750
  break;
@@ -74868,7 +74868,7 @@ function Cf2() {
74868
74868
  const e = this.tokenStart;
74869
74869
  let t;
74870
74870
  switch (this.tokenType) {
74871
- case He3:
74871
+ case Ke3:
74872
74872
  t = " ";
74873
74873
  break;
74874
74874
  case he3:
@@ -74956,7 +74956,7 @@ function Ef2(e = "media") {
74956
74956
  for (;!this.eof; )
74957
74957
  switch (this.tokenType) {
74958
74958
  case ct3:
74959
- case He3:
74959
+ case Ke3:
74960
74960
  this.next();
74961
74961
  continue;
74962
74962
  case L2:
@@ -75029,7 +75029,7 @@ function Bf2() {
75029
75029
  const l2 = this.tokenIndex;
75030
75030
  if (o2 || this.skipSC(), i ? s2 = this.parseWithFallback(bx2, r2) : s2 = r2.call(this, this.tokenIndex), o2 && s2.type === "Value" && s2.children.isEmpty) {
75031
75031
  for (let c3 = l2 - this.tokenIndex;c3 <= 0; c3++)
75032
- if (this.lookupType(c3) === He3) {
75032
+ if (this.lookupType(c3) === Ke3) {
75033
75033
  s2.children.appendData({
75034
75034
  type: "WhiteSpace",
75035
75035
  loc: null,
@@ -75095,7 +75095,7 @@ function If2() {
75095
75095
  const e = this.createList();
75096
75096
  for (;!this.eof; )
75097
75097
  switch (this.tokenType) {
75098
- case He3:
75098
+ case Ke3:
75099
75099
  case ct3:
75100
75100
  case gt3:
75101
75101
  this.next();
@@ -75678,11 +75678,11 @@ function qf2() {
75678
75678
  return {
75679
75679
  type: "Percentage",
75680
75680
  loc: this.getLocation(this.tokenStart, this.tokenEnd),
75681
- value: this.consumeNumber(Ue3)
75681
+ value: this.consumeNumber(He3)
75682
75682
  };
75683
75683
  }
75684
75684
  function s02(e) {
75685
- this.token(Ue3, e.value + "%");
75685
+ this.token(He3, e.value + "%");
75686
75686
  }
75687
75687
  var l02 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
75688
75688
  __proto__: null,
@@ -75782,7 +75782,7 @@ var v02 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
75782
75782
  structure: b02
75783
75783
  }, Symbol.toStringTag, { value: "Module" }));
75784
75784
  function k02() {
75785
- return this.tokenIndex > 0 && this.lookupType(-1) === He3 ? this.tokenIndex > 1 ? this.getTokenStart(this.tokenIndex - 1) : this.firstCharOffset : this.tokenStart;
75785
+ return this.tokenIndex > 0 && this.lookupType(-1) === Ke3 ? this.tokenIndex > 1 ? this.getTokenStart(this.tokenIndex - 1) : this.firstCharOffset : this.tokenStart;
75786
75786
  }
75787
75787
  var x02 = "Raw";
75788
75788
  var C02 = {
@@ -76013,7 +76013,7 @@ function sg2() {
76013
76013
  let n;
76014
76014
  for (;!this.eof; ) {
76015
76015
  switch (this.tokenType) {
76016
- case He3:
76016
+ case Ke3:
76017
76017
  this.next();
76018
76018
  continue;
76019
76019
  case ct3:
@@ -76287,10 +76287,10 @@ var NS2 = {
76287
76287
  value: String
76288
76288
  };
76289
76289
  function gg2() {
76290
- return this.eat(He3), $S2;
76290
+ return this.eat(Ke3), $S2;
76291
76291
  }
76292
76292
  function MS2(e) {
76293
- this.token(He3, e.value);
76293
+ this.token(Ke3, e.value);
76294
76294
  }
76295
76295
  var RS2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
76296
76296
  __proto__: null,
@@ -76377,7 +76377,7 @@ function _g2(e) {
76377
76377
  return this.String();
76378
76378
  case pe3:
76379
76379
  return this.Dimension();
76380
- case Ue3:
76380
+ case He3:
76381
76381
  return this.Percentage();
76382
76382
  case Z2:
76383
76383
  return this.Number();
@@ -76426,7 +76426,7 @@ function tE2() {
76426
76426
  case L2:
76427
76427
  return this.TypeSelector();
76428
76428
  case Z2:
76429
- case Ue3:
76429
+ case He3:
76430
76430
  return this.Percentage();
76431
76431
  case pe3:
76432
76432
  this.charCodeAt(this.tokenStart) === Gp2 && this.error("Identifier is expected", this.tokenStart + 1);
@@ -76466,7 +76466,7 @@ function iE2() {
76466
76466
  const t = this.tokenIndex, n = this.parseCustomProperty ? this.Value(null) : this.Raw(this.consumeUntilExclamationMarkOrSemicolon, false);
76467
76467
  if (n.type === "Value" && n.children.isEmpty) {
76468
76468
  for (let o2 = t - this.tokenIndex;o2 <= 0; o2++)
76469
- if (this.lookupType(o2) === He3) {
76469
+ if (this.lookupType(o2) === Ke3) {
76470
76470
  n.children.appendData({
76471
76471
  type: "WhiteSpace",
76472
76472
  loc: null,
@@ -76843,7 +76843,7 @@ function IE2(e, t) {
76843
76843
  function yg2(e) {
76844
76844
  if (!import_lodash.isNil(e))
76845
76845
  return import_lodash.omitBy({
76846
- _id: Ke3(e.__fqn__),
76846
+ _id: Oe2(e.__fqn__),
76847
76847
  data: ic2(e.data)
76848
76848
  }, import_lodash.isUndefined);
76849
76849
  }
@@ -76874,7 +76874,7 @@ function Ec2(e) {
76874
76874
  };
76875
76875
  }
76876
76876
  return {
76877
- _id: Ke3(e.__fqn__),
76877
+ _id: Oe2(e.__fqn__),
76878
76878
  top: Pt3(e.top),
76879
76879
  left: Pt3(e.left),
76880
76880
  bottom: Pt3(e.bottom),
@@ -76894,7 +76894,7 @@ function DE2(e) {
76894
76894
  };
76895
76895
  }
76896
76896
  return {
76897
- _id: Ke3(e.__fqn__),
76897
+ _id: Oe2(e.__fqn__),
76898
76898
  top_left: Pt3(e.top_left),
76899
76899
  top_right: Pt3(e.top_right),
76900
76900
  bottom_left: Pt3(e.bottom_left),
@@ -76910,7 +76910,7 @@ function ko2(e, t) {
76910
76910
  t[e.font_family] = e.font_source;
76911
76911
  }
76912
76912
  return import_lodash.omitBy({
76913
- _id: Ke3(e.__fqn__),
76913
+ _id: Oe2(e.__fqn__),
76914
76914
  font_family: e.font_family,
76915
76915
  font_source: e.font_source,
76916
76916
  font_size: Vt2(e.font_size),
@@ -76934,7 +76934,7 @@ var bg2 = {
76934
76934
  function Eo2(e) {
76935
76935
  if (!import_lodash.isNil(e))
76936
76936
  return import_lodash.omitBy({
76937
- _id: Ke3(e.__fqn__),
76937
+ _id: Oe2(e.__fqn__),
76938
76938
  bg_color: e.bg_color,
76939
76939
  bg_image: e.bg_image,
76940
76940
  bg_repeat: bg2[String(e.bg_repeat)],
@@ -76944,7 +76944,7 @@ function Eo2(e) {
76944
76944
  function wg2(e) {
76945
76945
  if (!import_lodash.isNil(e))
76946
76946
  return import_lodash.omitBy({
76947
- _id: Ke3(e.__fqn__),
76947
+ _id: Oe2(e.__fqn__),
76948
76948
  border_width: Ec2(e.border_width),
76949
76949
  border_radius: DE2(e.border_radius),
76950
76950
  border_color: e.border_color,
@@ -76954,7 +76954,7 @@ function wg2(e) {
76954
76954
  function FE2(e) {
76955
76955
  if (!import_lodash.isNil(e))
76956
76956
  return import_lodash.omitBy({
76957
- _id: Ke3(e.__fqn__),
76957
+ _id: Oe2(e.__fqn__),
76958
76958
  outer: !!e.outer,
76959
76959
  vertical: !!e.vertical,
76960
76960
  horizontal: !!e.horizontal,
@@ -77012,7 +77012,7 @@ function $E2(e) {
77012
77012
  line: import_lodash.isEmpty(g3) ? undefined : g3,
77013
77013
  column: import_lodash.isEmpty(b2) ? undefined : b2
77014
77014
  }, import_lodash.isUndefined), w2 = {
77015
- _id: Ke3(e.__fqn__),
77015
+ _id: Oe2(e.__fqn__),
77016
77016
  general: l2,
77017
77017
  border: c3,
77018
77018
  header: u,
@@ -77027,7 +77027,7 @@ function $E2(e) {
77027
77027
  function Vn3(e, t) {
77028
77028
  if (!import_lodash.isNil(e))
77029
77029
  return import_lodash.omitBy({
77030
- _id: Ke3(e.__fqn__),
77030
+ _id: Oe2(e.__fqn__),
77031
77031
  label: ko2(e.label, t),
77032
77032
  text: ko2(e.text, t),
77033
77033
  border: wg2(e.border),
@@ -77040,7 +77040,7 @@ function Vn3(e, t) {
77040
77040
  function vg2(e) {
77041
77041
  if (!import_lodash.isNil(e))
77042
77042
  return import_lodash.omitBy({
77043
- _id: Ke3(e.__fqn__),
77043
+ _id: Oe2(e.__fqn__),
77044
77044
  border: wg2(e.border),
77045
77045
  background: Eo2(e.background),
77046
77046
  shadow: e.shadow,
@@ -77067,7 +77067,7 @@ function LE2(e, t) {
77067
77067
  neutral: Ls2(i.neutral, t)
77068
77068
  }, import_lodash.isEmpty) : undefined;
77069
77069
  return import_lodash.omitBy({
77070
- _id: Ke3(e.__fqn__),
77070
+ _id: Oe2(e.__fqn__),
77071
77071
  alignment: e.alignment,
77072
77072
  label: ko2(e.label, t),
77073
77073
  value: ko2(e.value, t),
@@ -77078,7 +77078,7 @@ function LE2(e, t) {
77078
77078
  function kg2(e, t) {
77079
77079
  if (!import_lodash.isNil(e))
77080
77080
  return import_lodash.omitBy({
77081
- _id: Ke3(e.__fqn__),
77081
+ _id: Oe2(e.__fqn__),
77082
77082
  color: yg2(e.color),
77083
77083
  table: $E2(e.table),
77084
77084
  metric_kpi: LE2(e.metric_kpi, t)
@@ -77099,7 +77099,7 @@ function NE2(e, t) {
77099
77099
  `), `.${ly2}`).trim();
77100
77100
  if (!(!t && !o2))
77101
77101
  return import_lodash.omitBy({
77102
- _id: Ke3(t?.__fqn__),
77102
+ _id: Oe2(t?.__fqn__),
77103
77103
  original: t?.content,
77104
77104
  final: o2
77105
77105
  }, import_lodash.isUndefined);
@@ -77109,7 +77109,7 @@ function Tl2(e) {
77109
77109
  return;
77110
77110
  const t = {};
77111
77111
  return import_lodash.omitBy({
77112
- _id: Ke3(e.__fqn__),
77112
+ _id: Oe2(e.__fqn__),
77113
77113
  title: e.title,
77114
77114
  background: Eo2(e.background),
77115
77115
  canvas: vg2(e.canvas),
@@ -77126,7 +77126,10 @@ function ME2(e) {
77126
77126
  return Tl2(e);
77127
77127
  const t = Object.fromEntries(ti2.map((n) => [n, Tl2(e[n])]));
77128
77128
  if (!ti2.some((n) => import_lodash.isUndefined(t[n])))
77129
- return t;
77129
+ return {
77130
+ ...e.__fqn__ && { _id: Oe2(e.__fqn__) },
77131
+ ...t
77132
+ };
77130
77133
  }
77131
77134
  var RE2 = "compare_by_percent";
77132
77135
  var OE2 = RE2;
@@ -77591,7 +77594,7 @@ function Sg2(e) {
77591
77594
  });
77592
77595
  const o2 = e.template.content, i = e.template.name;
77593
77596
  return {
77594
- _id: Ke3(e.__fqn__),
77597
+ _id: Oe2(e.__fqn__),
77595
77598
  label: e.label ?? "Untitled",
77596
77599
  description: e.description,
77597
77600
  icon: e.icon,
@@ -77618,7 +77621,7 @@ var aT2 = (e, t) => {
77618
77621
  settings: i
77619
77622
  }, { custom_chart: a, custom_chart_id: s2 } = e;
77620
77623
  if (a)
77621
- a.__fqn__ ? r2.custom_chart_id = Ke3(a.__fqn__) : r2.custom_chart_def = Sg2(a);
77624
+ a.__fqn__ ? r2.custom_chart_id = Oe2(a.__fqn__) : r2.custom_chart_def = Sg2(a);
77622
77625
  else if (s2)
77623
77626
  r2.custom_chart_id = s2;
77624
77627
  else
@@ -79864,7 +79867,7 @@ function nP(e) {
79864
79867
  return !!o2 && Ml2.includes(o2);
79865
79868
  }
79866
79869
  function oP(e) {
79867
- const { value: t, fqn: n } = e, o2 = Ke3(n) ?? e.name.replace(/::/g, "."), i = t.__decorators__.template, {
79870
+ const { value: t, fqn: n } = e, o2 = Oe2(n) ?? e.name.replace(/::/g, "."), i = t.__decorators__.template, {
79868
79871
  funcType: r2,
79869
79872
  title: a,
79870
79873
  description: s2,
@@ -80038,22 +80041,22 @@ var wt3;
80038
80041
  (function(e) {
80039
80042
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.FLAG13 = 8192] = "FLAG13", e[e.BRANCH_LENGTH = 8064] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
80040
80043
  })(wt3 || (wt3 = {}));
80041
- var je2;
80044
+ var Ue3;
80042
80045
  (function(e) {
80043
80046
  e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
80044
- })(je2 || (je2 = {}));
80047
+ })(Ue3 || (Ue3 = {}));
80045
80048
  var ym2 = 32;
80046
80049
  function Rl2(e) {
80047
- return e >= je2.ZERO && e <= je2.NINE;
80050
+ return e >= Ue3.ZERO && e <= Ue3.NINE;
80048
80051
  }
80049
80052
  function HP(e) {
80050
- return e >= je2.UPPER_A && e <= je2.UPPER_F || e >= je2.LOWER_A && e <= je2.LOWER_F;
80053
+ return e >= Ue3.UPPER_A && e <= Ue3.UPPER_F || e >= Ue3.LOWER_A && e <= Ue3.LOWER_F;
80051
80054
  }
80052
80055
  function KP(e) {
80053
- return e >= je2.UPPER_A && e <= je2.UPPER_Z || e >= je2.LOWER_A && e <= je2.LOWER_Z || Rl2(e);
80056
+ return e >= Ue3.UPPER_A && e <= Ue3.UPPER_Z || e >= Ue3.LOWER_A && e <= Ue3.LOWER_Z || Rl2(e);
80054
80057
  }
80055
80058
  function QP(e) {
80056
- return e === je2.EQUALS || KP(e);
80059
+ return e === Ue3.EQUALS || KP(e);
80057
80060
  }
80058
80061
  var ot3;
80059
80062
  (function(e) {
@@ -80074,7 +80077,7 @@ class WP {
80074
80077
  write(t, n) {
80075
80078
  switch (this.state) {
80076
80079
  case ot3.EntityStart:
80077
- return t.charCodeAt(n) === je2.NUM ? (this.state = ot3.NumericStart, this.consumed += 1, this.stateNumericStart(t, n + 1)) : (this.state = ot3.NamedEntity, this.stateNamedEntity(t, n));
80080
+ return t.charCodeAt(n) === Ue3.NUM ? (this.state = ot3.NumericStart, this.consumed += 1, this.stateNumericStart(t, n + 1)) : (this.state = ot3.NamedEntity, this.stateNamedEntity(t, n));
80078
80081
  case ot3.NumericStart:
80079
80082
  return this.stateNumericStart(t, n);
80080
80083
  case ot3.NumericDecimal:
@@ -80086,13 +80089,13 @@ class WP {
80086
80089
  }
80087
80090
  }
80088
80091
  stateNumericStart(t, n) {
80089
- return n >= t.length ? -1 : (t.charCodeAt(n) | ym2) === je2.LOWER_X ? (this.state = ot3.NumericHex, this.consumed += 1, this.stateNumericHex(t, n + 1)) : (this.state = ot3.NumericDecimal, this.stateNumericDecimal(t, n));
80092
+ return n >= t.length ? -1 : (t.charCodeAt(n) | ym2) === Ue3.LOWER_X ? (this.state = ot3.NumericHex, this.consumed += 1, this.stateNumericHex(t, n + 1)) : (this.state = ot3.NumericDecimal, this.stateNumericDecimal(t, n));
80090
80093
  }
80091
80094
  stateNumericHex(t, n) {
80092
80095
  for (;n < t.length; ) {
80093
80096
  const o2 = t.charCodeAt(n);
80094
80097
  if (Rl2(o2) || HP(o2)) {
80095
- const i = o2 <= je2.NINE ? o2 - je2.ZERO : (o2 | ym2) - je2.LOWER_A + 10;
80098
+ const i = o2 <= Ue3.NINE ? o2 - Ue3.ZERO : (o2 | ym2) - Ue3.LOWER_A + 10;
80096
80099
  this.result = this.result * 16 + i, this.consumed++, n++;
80097
80100
  } else
80098
80101
  return this.emitNumericEntity(o2, 3);
@@ -80103,7 +80106,7 @@ class WP {
80103
80106
  for (;n < t.length; ) {
80104
80107
  const o2 = t.charCodeAt(n);
80105
80108
  if (Rl2(o2))
80106
- this.result = this.result * 10 + (o2 - je2.ZERO), this.consumed++, n++;
80109
+ this.result = this.result * 10 + (o2 - Ue3.ZERO), this.consumed++, n++;
80107
80110
  else
80108
80111
  return this.emitNumericEntity(o2, 2);
80109
80112
  }
@@ -80113,11 +80116,11 @@ class WP {
80113
80116
  var o2;
80114
80117
  if (this.consumed <= n)
80115
80118
  return (o2 = this.errors) === null || o2 === undefined || o2.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
80116
- if (t === je2.SEMI)
80119
+ if (t === Ue3.SEMI)
80117
80120
  this.consumed += 1;
80118
80121
  else if (this.decodeMode === rn2.Strict)
80119
80122
  return 0;
80120
- return this.emitCodePoint(GP(this.result), this.consumed), this.errors && (t !== je2.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
80123
+ return this.emitCodePoint(GP(this.result), this.consumed), this.errors && (t !== Ue3.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
80121
80124
  }
80122
80125
  stateNamedEntity(t, n) {
80123
80126
  const { decodeTree: o2 } = this;
@@ -80144,12 +80147,12 @@ class WP {
80144
80147
  if (n >= t.length)
80145
80148
  break;
80146
80149
  const a = t.charCodeAt(n);
80147
- if (a === je2.SEMI && r2 !== 0 && (i & wt3.FLAG13) !== 0)
80150
+ if (a === Ue3.SEMI && r2 !== 0 && (i & wt3.FLAG13) !== 0)
80148
80151
  return this.emitNamedEntityData(this.treeIndex, r2, this.consumed + this.excess);
80149
80152
  if (this.treeIndex = qP(o2, i, this.treeIndex + Math.max(1, r2), a), this.treeIndex < 0)
80150
80153
  return this.result === 0 || this.decodeMode === rn2.Attribute && (r2 === 0 || QP(a)) ? 0 : this.emitNotTerminatedNamedEntity();
80151
80154
  if (i = o2[this.treeIndex], r2 = (i & wt3.VALUE_LENGTH) >> 14, r2 !== 0) {
80152
- if (a === je2.SEMI)
80155
+ if (a === Ue3.SEMI)
80153
80156
  return this.emitNamedEntityData(this.treeIndex, r2, this.consumed + this.excess);
80154
80157
  this.decodeMode !== rn2.Strict && (i & wt3.FLAG13) === 0 && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
80155
80158
  }
@@ -81288,8 +81291,8 @@ function yt3(e) {
81288
81291
  }` : "";
81289
81292
  }
81290
81293
  function SD(e, t) {
81291
- const n = Kg2(e), o2 = n.fields.table_fields || [], i = !!import_lodash.get(n, "settings.aggregation.show_average"), r2 = !!import_lodash.get(n, "settings.aggregation.show_total"), a = import_lodash.get(n, "settings.misc.pagination_size", Ft3), s2 = !!import_lodash.get(n, "settings.misc.show_row_number"), l2 = !!import_lodash.get(n, "settings.misc.show_field_description"), c3 = import_lodash.get(n, "settings.sort", []), u = import_lodash.get(n, "settings.conditional_formatting", []), d2 = import_lodash.get(n, "settings.pop_settings"), h2 = !!import_lodash.get(n, "settings.others.include_empty_children_rows"), m3 = import_lodash.get(n, "settings.misc.column_width.manual_widths", {}), f3 = import_lodash.get(n, "settings.misc.column_freeze"), g3 = import_lodash.get(n, "settings.misc.single_cell_display"), b2 = import_lodash.get(n, "settings.misc.column_alignment"), x2 = import_lodash.get(n, "settings.misc.column_font_color"), w2 = import_lodash.get(n, "settings.misc.column_bg_color"), v2 = ` fields: [${o2.map((Oe2) => Y2(Oe2, t)).join(`,
81292
- `)}]`, A = i ? `show_average_row: ${i}` : "", C2 = r2 ? `show_sum_row: ${r2}` : "", B2 = a !== undefined && a !== Ft3 ? `pagination_size: ${a}` : "", P2 = GA2(n.settings), y2 = s2 ? `show_row_number: ${s2}` : "", k2 = l2 ? `show_field_description: ${l2}` : "", D = h2 ? `show_row_with_no_data: ${h2}` : "", U2 = Bo3(c3) ? `sorts: ${Bo3(c3)}` : "", G3 = jg2(u, t), W = G3 ? `conditional_formats: ${G3}` : "", H2 = d2 ? Ei2(d2, t) : undefined, te3 = H2 ? `pop ${H2}` : "", K3 = Ot3(n.settings), oe2 = K3 ? `row_limit: ${K3}` : "", nt3 = _t3(n.settings.aggregate_awareness), le3 = import_lodash.isNil(f3) ? "" : `frozen_columns: ${f3}`, ve3 = !import_lodash.isNil(g3) && g3 !== db2.large ? `single_cell_display: '${g3}'` : "", ce3 = Pg2(b2, w2, x2, m3), qe3 = Dg2(ce3), me3 = yt3([
81294
+ const n = Kg2(e), o2 = n.fields.table_fields || [], i = !!import_lodash.get(n, "settings.aggregation.show_average"), r2 = !!import_lodash.get(n, "settings.aggregation.show_total"), a = import_lodash.get(n, "settings.misc.pagination_size", Ft3), s2 = !!import_lodash.get(n, "settings.misc.show_row_number"), l2 = import_lodash.get(n, "settings.misc.show_field_description"), c3 = import_lodash.get(n, "settings.sort", []), u = import_lodash.get(n, "settings.conditional_formatting", []), d2 = import_lodash.get(n, "settings.pop_settings"), h2 = !!import_lodash.get(n, "settings.others.include_empty_children_rows"), m3 = import_lodash.get(n, "settings.misc.column_width.manual_widths", {}), f3 = import_lodash.get(n, "settings.misc.column_freeze"), g3 = import_lodash.get(n, "settings.misc.single_cell_display"), b2 = import_lodash.get(n, "settings.misc.column_alignment"), x2 = import_lodash.get(n, "settings.misc.column_font_color"), w2 = import_lodash.get(n, "settings.misc.column_bg_color"), v2 = ` fields: [${o2.map((ze3) => Y2(ze3, t)).join(`,
81295
+ `)}]`, A = i ? `show_average_row: ${i}` : "", C2 = r2 ? `show_sum_row: ${r2}` : "", B2 = a !== undefined && a !== Ft3 ? `pagination_size: ${a}` : "", P2 = GA2(n.settings), y2 = s2 ? `show_row_number: ${s2}` : "", k2 = import_lodash.isNil(l2) ? "" : `show_field_description: ${!!l2}`, D = h2 ? `show_row_with_no_data: ${h2}` : "", U2 = Bo3(c3) ? `sorts: ${Bo3(c3)}` : "", G3 = jg2(u, t), W = G3 ? `conditional_formats: ${G3}` : "", H2 = d2 ? Ei2(d2, t) : undefined, te3 = H2 ? `pop ${H2}` : "", K3 = Ot3(n.settings), oe2 = K3 ? `row_limit: ${K3}` : "", nt3 = _t3(n.settings.aggregate_awareness), le3 = import_lodash.isNil(f3) ? "" : `frozen_columns: ${f3}`, ve3 = !import_lodash.isNil(g3) && g3 !== db2.large ? `single_cell_display: '${g3}'` : "", ce3 = Pg2(b2, w2, x2, m3), qe3 = Dg2(ce3), me3 = yt3([
81293
81296
  A,
81294
81297
  C2,
81295
81298
  B2,
@@ -81407,7 +81410,7 @@ function ND(e, t) {
81407
81410
  }` : "";
81408
81411
  }
81409
81412
  function MD(e, t) {
81410
- const n = Oc2(e), { rows: o2 = [], columns: i = [], values: r2 = [] } = import_lodash.get(n, "fields.pivot_data", {}), a = import_lodash.get(n, "settings.misc.pagination_size", Ft3), s2 = !!import_lodash.get(n, "settings.misc.convert_null_to_zero"), l2 = !!import_lodash.get(n, "settings.others.include_empty_children_rows"), c3 = !!import_lodash.get(n, "settings.others.row_total"), u = !!import_lodash.get(n, "settings.others.column_total"), d2 = !!import_lodash.get(n, "settings.others.sub_total"), h2 = import_lodash.get(n, "settings.sort"), m3 = import_lodash.get(n, "settings.conditional_formatting", []), f3 = import_lodash.get(n, "settings.pop_settings"), g3 = !!import_lodash.get(n, "settings.misc.freeze_rows", true), b2 = import_lodash.get(n, "settings.misc.column_width.manual_widths", {}), x2 = import_lodash.get(n, "settings.misc.column_freeze"), w2 = import_lodash.get(n, "settings.misc.column_alignment"), v2 = import_lodash.get(n, "settings.misc.column_font_color"), A = import_lodash.get(n, "settings.misc.column_bg_color"), C2 = !!import_lodash.get(n, "settings.misc.show_field_description"), B2 = o2.length ? `rows: [${o2.map((Ze3) => Y2(Ze3, t))}]` : "", P2 = i.length ? `columns: [${i.map((Ze3) => Y2(Ze3, t))}]` : "", y2 = r2.length ? `values: [${r2.map((Ze3) => Y2(Ze3, t))}]` : "", k2 = GA2(n.settings), D = a !== undefined && a !== Ft3 ? `pagination_size: ${a}` : "", E2 = s2 ? `empty_cell_as_zero: ${s2}` : "", U2 = l2 ? `show_row_with_no_data: ${l2}` : "", G3 = c3 ? `show_row_total: ${c3}` : "", W = u ? `show_column_total: ${u}` : "", H2 = d2 ? `show_sub_total: ${d2}` : "", te3 = C2 ? `show_field_description: ${C2}` : "", K3 = jg2(m3, t), oe2 = K3 ? `conditional_formats: ${K3}` : "", le3 = Bo3(h2) ? `sorts: ${Bo3(h2)}` : "", ve3 = f3 ? Ei2(f3, t) : undefined, ce3 = ve3 ? `pop ${ve3}` : "", qe3 = Ot3(n.settings), me3 = qe3 ? `row_limit: ${qe3}` : "", Fe3 = g3 ? "" : `freeze_rows: ${g3}`, Oe2 = _t3(n.settings.aggregate_awareness), V = import_lodash.isNil(x2) ? "" : `frozen_columns: ${x2}`, S2 = ID2(n?.settings?.misc?.value_labels_position), ke3 = Pg2(w2, A, v2, b2), ze3 = Dg2(ke3), Ve3 = n.settings.analysis_interactions ? to2(n.settings.analysis_interactions) : "", T = yt3([
81413
+ const n = Oc2(e), { rows: o2 = [], columns: i = [], values: r2 = [] } = import_lodash.get(n, "fields.pivot_data", {}), a = import_lodash.get(n, "settings.misc.pagination_size", Ft3), s2 = !!import_lodash.get(n, "settings.misc.convert_null_to_zero"), l2 = !!import_lodash.get(n, "settings.others.include_empty_children_rows"), c3 = !!import_lodash.get(n, "settings.others.row_total"), u = !!import_lodash.get(n, "settings.others.column_total"), d2 = !!import_lodash.get(n, "settings.others.sub_total"), h2 = import_lodash.get(n, "settings.sort"), m3 = import_lodash.get(n, "settings.conditional_formatting", []), f3 = import_lodash.get(n, "settings.pop_settings"), g3 = !!import_lodash.get(n, "settings.misc.freeze_rows", true), b2 = import_lodash.get(n, "settings.misc.column_width.manual_widths", {}), x2 = import_lodash.get(n, "settings.misc.column_freeze"), w2 = import_lodash.get(n, "settings.misc.column_alignment"), v2 = import_lodash.get(n, "settings.misc.column_font_color"), A = import_lodash.get(n, "settings.misc.column_bg_color"), C2 = import_lodash.get(n, "settings.misc.show_field_description"), B2 = o2.length ? `rows: [${o2.map((Ze3) => Y2(Ze3, t))}]` : "", P2 = i.length ? `columns: [${i.map((Ze3) => Y2(Ze3, t))}]` : "", y2 = r2.length ? `values: [${r2.map((Ze3) => Y2(Ze3, t))}]` : "", k2 = GA2(n.settings), D = a !== undefined && a !== Ft3 ? `pagination_size: ${a}` : "", E2 = s2 ? `empty_cell_as_zero: ${s2}` : "", U2 = l2 ? `show_row_with_no_data: ${l2}` : "", G3 = c3 ? `show_row_total: ${c3}` : "", W = u ? `show_column_total: ${u}` : "", H2 = d2 ? `show_sub_total: ${d2}` : "", te3 = import_lodash.isNil(C2) ? "" : `show_field_description: ${!!C2}`, K3 = jg2(m3, t), oe2 = K3 ? `conditional_formats: ${K3}` : "", le3 = Bo3(h2) ? `sorts: ${Bo3(h2)}` : "", ve3 = f3 ? Ei2(f3, t) : undefined, ce3 = ve3 ? `pop ${ve3}` : "", qe3 = Ot3(n.settings), me3 = qe3 ? `row_limit: ${qe3}` : "", Fe3 = g3 ? "" : `freeze_rows: ${g3}`, ze3 = _t3(n.settings.aggregate_awareness), V = import_lodash.isNil(x2) ? "" : `frozen_columns: ${x2}`, S2 = ID2(n?.settings?.misc?.value_labels_position), ke3 = Pg2(w2, A, v2, b2), Ve3 = Dg2(ke3), Ge2 = n.settings.analysis_interactions ? to2(n.settings.analysis_interactions) : "", T = yt3([
81411
81414
  k2,
81412
81415
  D,
81413
81416
  E2,
@@ -81421,11 +81424,11 @@ function MD(e, t) {
81421
81424
  ce3,
81422
81425
  me3,
81423
81426
  Fe3,
81424
- Oe2,
81427
+ ze3,
81425
81428
  V,
81426
81429
  S2,
81427
- ze3,
81428
- Ve3
81430
+ Ve3,
81431
+ Ge2
81429
81432
  ]);
81430
81433
  return [
81431
81434
  B2,
@@ -81530,7 +81533,7 @@ function jD(e, t) {
81530
81533
  const ce3 = r2[ve3] || {}, qe3 = le3.columns || [];
81531
81534
  if (qe3.length === 0)
81532
81535
  return "";
81533
- const me3 = !!ce3.show_stack_total, Fe3 = !!ce3.reversed_stack, Oe2 = !!ce3.show_group_total, V = !!ce3.group_long_tail, S2 = Number(ce3.maximum_groups), ke3 = !!ce3.show_data_label, ze3 = !!ce3.show_series_percentage, Ve3 = !!ce3.stack_series, T = ce3.stack_type, I2 = Fn3(ce3.min), Ze3 = Fn3(ce3.max), Te3 = !!ce3.hidden, Ye3 = ce3.align !== undefined && ce3.align !== ac2 ? `alignment: ${_2(ce3.align)}` : "", Me2 = ce3.scale_type !== undefined && ce3.scale_type !== sc2 ? `scale: ${_2(ce3.scale_type)}` : "", Bt3 = I2 !== undefined ? `axis_min: ${I2}` : "", un2 = Ze3 !== undefined ? `axis_max: ${Ze3}` : "", Mn3 = me3 ? `show_stack_total: ${me3}` : "", io2 = Fe3 ? `reverse_stack: ${Fe3}` : "", Zt2 = Oe2 ? `show_total_in_tooltip: ${Oe2}` : "", ae3 = V && S2 ? `group_values_into: ${S2}` : "", ro2 = ke3 ? `show_data_label_by: ${_2(ze3 ? "percentage" : "value")}` : "", aa2 = Ve3 ? `stack_series_by: ${_2(T === "percent" ? "percentage" : "value")}` : "", R = Te3 ? `hidden: ${Te3}` : "", Pe2 = [
81536
+ const me3 = !!ce3.show_stack_total, Fe3 = !!ce3.reversed_stack, ze3 = !!ce3.show_group_total, V = !!ce3.group_long_tail, S2 = Number(ce3.maximum_groups), ke3 = !!ce3.show_data_label, Ve3 = !!ce3.show_series_percentage, Ge2 = !!ce3.stack_series, T = ce3.stack_type, I2 = Fn3(ce3.min), Ze3 = Fn3(ce3.max), Te3 = !!ce3.hidden, Ye3 = ce3.align !== undefined && ce3.align !== ac2 ? `alignment: ${_2(ce3.align)}` : "", Me2 = ce3.scale_type !== undefined && ce3.scale_type !== sc2 ? `scale: ${_2(ce3.scale_type)}` : "", Bt3 = I2 !== undefined ? `axis_min: ${I2}` : "", un2 = Ze3 !== undefined ? `axis_max: ${Ze3}` : "", Mn3 = me3 ? `show_stack_total: ${me3}` : "", io2 = Fe3 ? `reverse_stack: ${Fe3}` : "", Zt2 = ze3 ? `show_total_in_tooltip: ${ze3}` : "", ae3 = V && S2 ? `group_values_into: ${S2}` : "", ro2 = ke3 ? `show_data_label_by: ${_2(Ve3 ? "percentage" : "value")}` : "", aa2 = Ge2 ? `stack_series_by: ${_2(T === "percent" ? "percentage" : "value")}` : "", R = Te3 ? `hidden: ${Te3}` : "", Pe2 = [
81534
81537
  Ye3,
81535
81538
  Me2,
81536
81539
  Bt3,
@@ -81546,9 +81549,9 @@ function jD(e, t) {
81546
81549
  `), M2 = ce3.title ? `label: ${_2(ce3.title)}` : "", se3 = Pe2 ? ` settings {
81547
81550
  ${Pe2}
81548
81551
  }` : "", De2 = qe3.map((_e3) => {
81549
- const Ge2 = _e3.series_settings || {}, $t2 = e.viz_type === "combination_chart" && typeof Ge2.series_type == "string" && Ge2.series_type !== "auto" ? `mark_type: ${_2(Ge2.series_type.split("_")[0])}` : "", pu2 = GD(_e3) ? "line_chart" : Ge2.series_type, { lineStyle: sa2, lineInterpolation: la2 } = Em2(Ge2, e.viz_type, pu2), ca2 = Ge2.color !== undefined && Ge2.color !== "auto" ? Ge2.color : _e3.color, x_ = ca2 !== undefined && ca2 !== "auto" ? `color: ${_2(ca2)}` : "", C_ = sa2 !== undefined && sa2 !== "solid" ? `line_style: ${_2(sa2)}` : "", S_ = la2 !== undefined && la2 !== "linear" ? `line_interpolation: ${_2(la2)}` : "", E_ = Wr3(Ge2);
81552
+ const je2 = _e3.series_settings || {}, $t2 = e.viz_type === "combination_chart" && typeof je2.series_type == "string" && je2.series_type !== "auto" ? `mark_type: ${_2(je2.series_type.split("_")[0])}` : "", pu2 = GD(_e3) ? "line_chart" : je2.series_type, { lineStyle: sa2, lineInterpolation: la2 } = Em2(je2, e.viz_type, pu2), ca2 = je2.color !== undefined && je2.color !== "auto" ? je2.color : _e3.color, x_ = ca2 !== undefined && ca2 !== "auto" ? `color: ${_2(ca2)}` : "", C_ = sa2 !== undefined && sa2 !== "solid" ? `line_style: ${_2(sa2)}` : "", S_ = la2 !== undefined && la2 !== "linear" ? `line_interpolation: ${_2(la2)}` : "", E_ = Wr3(je2);
81550
81553
  let mu2 = "";
81551
- typeof Ge2.series_hash == "object" && !import_lodash.isEmpty(Ge2.series_hash) && (mu2 = Object.entries(Ge2.series_hash).map(([B_, ao2]) => {
81554
+ typeof je2.series_hash == "object" && !import_lodash.isEmpty(je2.series_hash) && (mu2 = Object.entries(je2.series_hash).map(([B_, ao2]) => {
81552
81555
  const so2 = Em2(ao2, e.viz_type, pu2), I_ = `value: ${_2(B_)}`, gu2 = ao2.color !== undefined && ao2.color !== "auto" ? `color: ${_2(ao2.color)}` : "", Au2 = so2.lineStyle !== undefined && so2.lineStyle !== "solid" ? `line_style: ${_2(so2.lineStyle)}` : "", _u2 = so2.lineInterpolation !== undefined && so2.lineInterpolation !== "linear" ? `line_interpolation: ${_2(so2.lineInterpolation)}` : "", yu2 = ao2.hidden === true ? `hidden: ${ao2.hidden}` : "", bu2 = [
81553
81556
  I_,
81554
81557
  gu2,
@@ -81622,15 +81625,15 @@ function UD(e, t) {
81622
81625
  ]), U2 = re3(n) ? `legend: ${Y2(n, t)}` : "", G3 = Fo3(i, t), W = G3 ? `tooltips: ${G3}` : "", H2 = o2.map((K3) => {
81623
81626
  const oe2 = K3.series_settings || {}, nt3 = oe2.color && oe2.color !== "auto" ? oe2.color : K3.color, le3 = nt3 !== undefined && nt3 !== "auto" ? `color: ${_2(nt3)}` : "", ve3 = Wr3(oe2);
81624
81627
  let ce3 = "";
81625
- typeof oe2.series_hash == "object" && !import_lodash.isEmpty(oe2.series_hash) && (ce3 = Object.entries(oe2.series_hash).map(([Oe2, V]) => {
81626
- const S2 = `value: ${_2(Oe2)}`, ke3 = V.color !== undefined && V.color !== "auto" ? `color: ${_2(V.color)}` : "", ze3 = V.hidden === true ? `hidden: ${V.hidden}` : "", Ve3 = [
81628
+ typeof oe2.series_hash == "object" && !import_lodash.isEmpty(oe2.series_hash) && (ce3 = Object.entries(oe2.series_hash).map(([ze3, V]) => {
81629
+ const S2 = `value: ${_2(ze3)}`, ke3 = V.color !== undefined && V.color !== "auto" ? `color: ${_2(V.color)}` : "", Ve3 = V.hidden === true ? `hidden: ${V.hidden}` : "", Ge2 = [
81627
81630
  S2,
81628
81631
  ke3,
81629
- ze3
81632
+ Ve3
81630
81633
  ].filter(Boolean).join(`
81631
81634
  `);
81632
- return !ke3 && !ze3 || !Ve3 ? "" : ` point {
81633
- ${Ve3}
81635
+ return !ke3 && !Ve3 || !Ge2 ? "" : ` point {
81636
+ ${Ge2}
81634
81637
  }`;
81635
81638
  }).filter(Boolean).join(`
81636
81639
  `));
@@ -82515,6 +82518,8 @@ function qr2(e) {
82515
82518
  return;
82516
82519
  if (!DP(e))
82517
82520
  return Vl2(e);
82521
+ if (e._id)
82522
+ return e._id;
82518
82523
  const t = ti2.map((n) => {
82519
82524
  const o2 = Vl2(e[n]);
82520
82525
  return o2 ? j4(n, o2) : undefined;
@@ -87793,8 +87798,8 @@ var Uv3 = function() {
87793
87798
  }, u;
87794
87799
  }();
87795
87800
  var Tr3 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
87796
- var Oe2 = { exports: {} };
87797
- var l03 = Oe2.exports;
87801
+ var Oe3 = { exports: {} };
87802
+ var l03 = Oe3.exports;
87798
87803
  var gf3;
87799
87804
  function _03() {
87800
87805
  return gf3 || (gf3 = 1, function(u, o2) {
@@ -88692,7 +88697,7 @@ function _03() {
88692
88697
  return e = !!t(i, a, s2), e;
88693
88698
  }), e;
88694
88699
  }
88695
- function je3(n, t, e) {
88700
+ function je2(n, t, e) {
88696
88701
  for (var i = -1, a = n.length;++i < a; ) {
88697
88702
  var s2 = n[i], h2 = t(s2);
88698
88703
  if (h2 != null && (p2 === r2 ? h2 === h2 && !Sn3(h2) : e(h2, p2)))
@@ -91273,10 +91278,10 @@ function print() { __p += __j.call(arguments, '') }
91273
91278
  return n / t;
91274
91279
  }, 1), cd3 = Pi3("floor");
91275
91280
  function ld3(n) {
91276
- return n && n.length ? je3(n, dn3, ci3) : r2;
91281
+ return n && n.length ? je2(n, dn3, ci3) : r2;
91277
91282
  }
91278
91283
  function _d3(n, t) {
91279
- return n && n.length ? je3(n, x2(t, 2), ci3) : r2;
91284
+ return n && n.length ? je2(n, x2(t, 2), ci3) : r2;
91280
91285
  }
91281
91286
  function hd3(n) {
91282
91287
  return so2(n, dn3);
@@ -91285,10 +91290,10 @@ function print() { __p += __j.call(arguments, '') }
91285
91290
  return so2(n, x2(t, 2));
91286
91291
  }
91287
91292
  function gd3(n) {
91288
- return n && n.length ? je3(n, dn3, pi3) : r2;
91293
+ return n && n.length ? je2(n, dn3, pi3) : r2;
91289
91294
  }
91290
91295
  function dd3(n, t) {
91291
- return n && n.length ? je3(n, x2(t, 2), pi3) : r2;
91296
+ return n && n.length ? je2(n, x2(t, 2), pi3) : r2;
91292
91297
  }
91293
91298
  var Ed3 = or3(function(n, t) {
91294
91299
  return n * t;
@@ -91399,7 +91404,7 @@ function print() { __p += __j.call(arguments, '') }
91399
91404
  }, Bt3 = gc3();
91400
91405
  gt4 ? ((gt4.exports = Bt3)._ = Bt3, Yr4._ = Bt3) : on4._ = Bt3;
91401
91406
  }).call(l03);
91402
- }(Oe2, Oe2.exports)), Oe2.exports;
91407
+ }(Oe3, Oe3.exports)), Oe3.exports;
91403
91408
  }
91404
91409
  var h03 = _03();
91405
91410
  function Sr3(u) {
@@ -147985,13 +147990,13 @@ function b3(e16, t) {
147985
147990
  cte: a
147986
147991
  };
147987
147992
  }
147988
- function Oe3(e16, t) {
147993
+ function Oe4(e16, t) {
147989
147994
  if (!e16.cte || e16.cte.length === 0)
147990
147995
  return e16;
147991
147996
  let n = e16.cte.map((e17) => {
147992
147997
  if (typeof e17.subquery == "string")
147993
147998
  return e17;
147994
- let t3 = Oe3(e17.subquery);
147999
+ let t3 = Oe4(e17.subquery);
147995
148000
  return {
147996
148001
  ...e17,
147997
148002
  subquery: {
@@ -148001,7 +148006,7 @@ function Oe3(e16, t) {
148001
148006
  };
148002
148007
  }), r3 = e16.union ? {
148003
148008
  ...e16.union,
148004
- sqlStructures: e16.union.sqlStructures.map((e17) => Oe3(e17))
148009
+ sqlStructures: e16.union.sqlStructures.map((e17) => Oe4(e17))
148005
148010
  } : e16.union;
148006
148011
  return {
148007
148012
  ...e16,
@@ -148424,7 +148429,7 @@ function Ee4(e16, ...t) {
148424
148429
  if (t.length > 0 && !t.includes(e16.length))
148425
148430
  throw Error("Uint8Array expected of length " + t + ", got length=" + e16.length);
148426
148431
  }
148427
- function je3(e16, t = true) {
148432
+ function je2(e16, t = true) {
148428
148433
  if (e16.destroyed)
148429
148434
  throw Error("Hash instance has been destroyed");
148430
148435
  if (t && e16.finished)
@@ -148487,7 +148492,7 @@ var gr4 = class extends Rr5 {
148487
148492
  super(), this.finished = false, this.length = 0, this.pos = 0, this.destroyed = false, this.blockLen = e16, this.outputLen = t, this.padOffset = n, this.isLE = r3, this.buffer = new Uint8Array(e16), this.view = _e3(this.buffer);
148488
148493
  }
148489
148494
  update(e16) {
148490
- je3(this), e16 = en3(e16), Ee4(e16);
148495
+ je2(this), e16 = en3(e16), Ee4(e16);
148491
148496
  let { view: t, buffer: n, blockLen: r3 } = this, i = e16.length;
148492
148497
  for (let a = 0;a < i; ) {
148493
148498
  let s3 = Math.min(r3 - this.pos, i - a);
@@ -148502,7 +148507,7 @@ var gr4 = class extends Rr5 {
148502
148507
  return this.length += e16.length, this.roundClean(), this;
148503
148508
  }
148504
148509
  digestInto(e16) {
148505
- je3(this), pr3(e16, this), this.finished = true;
148510
+ je2(this), pr3(e16, this), this.finished = true;
148506
148511
  let { buffer: t, view: n, blockLen: r3, isLE: i } = this, { pos: a } = this;
148507
148512
  t[a++] = 128, qe3(this.buffer.subarray(a)), this.padOffset > r3 - a && (this.process(n, 0), a = 0);
148508
148513
  for (let e17 = a;e17 < r3; e17++)
@@ -151140,7 +151145,7 @@ var as3 = Jt3("sqlserver");
151140
151145
  function is3(e16, t) {
151141
151146
  return [
151142
151147
  q3,
151143
- Oe3,
151148
+ Oe4,
151144
151149
  as3,
151145
151150
  h3,
151146
151151
  M3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@holistics/cli-core",
3
3
  "type": "module",
4
- "version": "2.3.20",
4
+ "version": "2.3.22",
5
5
  "bin": {
6
6
  "holistics": "./bin/holistics.js"
7
7
  },