@holistics/cli-core 2.2.0 → 2.2.1
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/commands.js +69 -69
- package/package.json +1 -1
package/dist/commands.js
CHANGED
|
@@ -27399,7 +27399,7 @@ var require_dist3 = __commonJS((exports2) => {
|
|
|
27399
27399
|
exports2.default = deferred;
|
|
27400
27400
|
});
|
|
27401
27401
|
// package.json
|
|
27402
|
-
var version = "2.2.
|
|
27402
|
+
var version = "2.2.1";
|
|
27403
27403
|
|
|
27404
27404
|
// ../../node_modules/.pnpm/@commander-js+extra-typings@13.1.0_commander@13.1.0/node_modules/@commander-js/extra-typings/esm.mjs
|
|
27405
27405
|
var import__ = __toESM(require_extra_typings(), 1);
|
|
@@ -65142,7 +65142,7 @@ Type GoToUrlAction {
|
|
|
65142
65142
|
|
|
65143
65143
|
Type VizAction = GoToUrlAction
|
|
65144
65144
|
` };
|
|
65145
|
-
function
|
|
65145
|
+
function Ne3(e) {
|
|
65146
65146
|
return e?.replace(/::/g, ".");
|
|
65147
65147
|
}
|
|
65148
65148
|
function xl2(e) {
|
|
@@ -65150,7 +65150,7 @@ function xl2(e) {
|
|
|
65150
65150
|
throw new Error("Expect an object");
|
|
65151
65151
|
return {
|
|
65152
65152
|
id: e.id,
|
|
65153
|
-
name:
|
|
65153
|
+
name: Ne3(e.__fqn__ || e.uname || e.name) ?? "",
|
|
65154
65154
|
label: e.label || e.title,
|
|
65155
65155
|
data_models: (e.data_models || e.dataModels || []).map((t) => {
|
|
65156
65156
|
const n = t.dimensions ?? [], o = t.measures ?? [], r3 = t.params ?? [], i2 = t.fields ?? [].concat(n).concat(o).concat(r3);
|
|
@@ -65178,7 +65178,7 @@ function xl2(e) {
|
|
|
65178
65178
|
};
|
|
65179
65179
|
}
|
|
65180
65180
|
function Cm2(e) {
|
|
65181
|
-
return typeof e == "string" ? e :
|
|
65181
|
+
return typeof e == "string" ? e : Ne3(e.__fqn__ || e.name);
|
|
65182
65182
|
}
|
|
65183
65183
|
function Pm2(e, t) {
|
|
65184
65184
|
const n = Cm2(t);
|
|
@@ -67071,7 +67071,7 @@ function vb2(e) {
|
|
|
67071
67071
|
return { color: e };
|
|
67072
67072
|
if (e.__type__ === "LabeledColor")
|
|
67073
67073
|
return import_lodash.omitBy({
|
|
67074
|
-
_id: e.__fqn__ ?
|
|
67074
|
+
_id: e.__fqn__ ? Ne3(e.__fqn__) : undefined,
|
|
67075
67075
|
label: e.label,
|
|
67076
67076
|
color: e.color
|
|
67077
67077
|
}, import_lodash.isUndefined);
|
|
@@ -67082,20 +67082,20 @@ function wb2(e) {
|
|
|
67082
67082
|
return;
|
|
67083
67083
|
const t = Array.isArray(e.colors) ? e.colors.map((n) => vb2(n)).filter(Boolean) : [];
|
|
67084
67084
|
return {
|
|
67085
|
-
...e.__fqn__ && { _id:
|
|
67085
|
+
...e.__fqn__ && { _id: Ne3(e.__fqn__) },
|
|
67086
67086
|
colors: t
|
|
67087
67087
|
};
|
|
67088
67088
|
}
|
|
67089
67089
|
function Wm2(e = {}) {
|
|
67090
67090
|
return import_lodash.omitBy({
|
|
67091
|
-
_id:
|
|
67091
|
+
_id: Ne3(e.__fqn__),
|
|
67092
67092
|
title: e.title,
|
|
67093
67093
|
categorical: wb2(e.categorical)
|
|
67094
67094
|
}, import_lodash.isUndefined);
|
|
67095
67095
|
}
|
|
67096
67096
|
function Bl2(e) {
|
|
67097
67097
|
if (!import_lodash.isNil(e))
|
|
67098
|
-
return e.__fqn__ ?
|
|
67098
|
+
return e.__fqn__ ? Ne3(e.__fqn__) : Wm2(e);
|
|
67099
67099
|
}
|
|
67100
67100
|
var Fl2 = {
|
|
67101
67101
|
"pastel-1": -1,
|
|
@@ -75167,7 +75167,7 @@ function DS2(e, t) {
|
|
|
75167
75167
|
function Fh2(e) {
|
|
75168
75168
|
if (!import_lodash.isNil(e))
|
|
75169
75169
|
return import_lodash.omitBy({
|
|
75170
|
-
_id:
|
|
75170
|
+
_id: Ne3(e.__fqn__),
|
|
75171
75171
|
data: Bl2(e.data)
|
|
75172
75172
|
}, import_lodash.isUndefined);
|
|
75173
75173
|
}
|
|
@@ -75198,7 +75198,7 @@ function tc2(e) {
|
|
|
75198
75198
|
};
|
|
75199
75199
|
}
|
|
75200
75200
|
return {
|
|
75201
|
-
_id:
|
|
75201
|
+
_id: Ne3(e.__fqn__),
|
|
75202
75202
|
top: At3(e.top),
|
|
75203
75203
|
left: At3(e.left),
|
|
75204
75204
|
bottom: At3(e.bottom),
|
|
@@ -75218,7 +75218,7 @@ function BS2(e) {
|
|
|
75218
75218
|
};
|
|
75219
75219
|
}
|
|
75220
75220
|
return {
|
|
75221
|
-
_id:
|
|
75221
|
+
_id: Ne3(e.__fqn__),
|
|
75222
75222
|
top_left: At3(e.top_left),
|
|
75223
75223
|
top_right: At3(e.top_right),
|
|
75224
75224
|
bottom_left: At3(e.bottom_left),
|
|
@@ -75234,7 +75234,7 @@ function co2(e, t) {
|
|
|
75234
75234
|
t[e.font_family] = e.font_source;
|
|
75235
75235
|
}
|
|
75236
75236
|
return import_lodash.omitBy({
|
|
75237
|
-
_id:
|
|
75237
|
+
_id: Ne3(e.__fqn__),
|
|
75238
75238
|
font_family: e.font_family,
|
|
75239
75239
|
font_source: e.font_source,
|
|
75240
75240
|
font_size: Lt3(e.font_size),
|
|
@@ -75258,7 +75258,7 @@ var Mh2 = {
|
|
|
75258
75258
|
function fo2(e) {
|
|
75259
75259
|
if (!import_lodash.isNil(e))
|
|
75260
75260
|
return import_lodash.omitBy({
|
|
75261
|
-
_id:
|
|
75261
|
+
_id: Ne3(e.__fqn__),
|
|
75262
75262
|
bg_color: e.bg_color,
|
|
75263
75263
|
bg_image: e.bg_image,
|
|
75264
75264
|
bg_repeat: Mh2[String(e.bg_repeat)],
|
|
@@ -75268,7 +75268,7 @@ function fo2(e) {
|
|
|
75268
75268
|
function zh2(e) {
|
|
75269
75269
|
if (!import_lodash.isNil(e))
|
|
75270
75270
|
return import_lodash.omitBy({
|
|
75271
|
-
_id:
|
|
75271
|
+
_id: Ne3(e.__fqn__),
|
|
75272
75272
|
border_width: tc2(e.border_width),
|
|
75273
75273
|
border_radius: BS2(e.border_radius),
|
|
75274
75274
|
border_color: e.border_color,
|
|
@@ -75278,7 +75278,7 @@ function zh2(e) {
|
|
|
75278
75278
|
function FS2(e) {
|
|
75279
75279
|
if (!import_lodash.isNil(e))
|
|
75280
75280
|
return import_lodash.omitBy({
|
|
75281
|
-
_id:
|
|
75281
|
+
_id: Ne3(e.__fqn__),
|
|
75282
75282
|
outer: !!e.outer,
|
|
75283
75283
|
vertical: !!e.vertical,
|
|
75284
75284
|
horizontal: !!e.horizontal,
|
|
@@ -75336,7 +75336,7 @@ function MS2(e) {
|
|
|
75336
75336
|
line: import_lodash.isEmpty(g2) ? undefined : g2,
|
|
75337
75337
|
column: import_lodash.isEmpty(A) ? undefined : A
|
|
75338
75338
|
}, import_lodash.isUndefined), v2 = {
|
|
75339
|
-
_id:
|
|
75339
|
+
_id: Ne3(e.__fqn__),
|
|
75340
75340
|
general: l,
|
|
75341
75341
|
border: c2,
|
|
75342
75342
|
header: u,
|
|
@@ -75351,7 +75351,7 @@ function MS2(e) {
|
|
|
75351
75351
|
function En3(e, t) {
|
|
75352
75352
|
if (!import_lodash.isNil(e))
|
|
75353
75353
|
return import_lodash.omitBy({
|
|
75354
|
-
_id:
|
|
75354
|
+
_id: Ne3(e.__fqn__),
|
|
75355
75355
|
label: co2(e.label, t),
|
|
75356
75356
|
text: co2(e.text, t),
|
|
75357
75357
|
border: zh2(e.border),
|
|
@@ -75364,7 +75364,7 @@ function En3(e, t) {
|
|
|
75364
75364
|
function Ih2(e) {
|
|
75365
75365
|
if (!import_lodash.isNil(e))
|
|
75366
75366
|
return import_lodash.omitBy({
|
|
75367
|
-
_id:
|
|
75367
|
+
_id: Ne3(e.__fqn__),
|
|
75368
75368
|
border: zh2(e.border),
|
|
75369
75369
|
background: fo2(e.background),
|
|
75370
75370
|
shadow: e.shadow,
|
|
@@ -75391,7 +75391,7 @@ function zS2(e, t) {
|
|
|
75391
75391
|
neutral: fs10(r3.neutral, t)
|
|
75392
75392
|
}, import_lodash.isEmpty) : undefined;
|
|
75393
75393
|
return import_lodash.omitBy({
|
|
75394
|
-
_id:
|
|
75394
|
+
_id: Ne3(e.__fqn__),
|
|
75395
75395
|
alignment: e.alignment,
|
|
75396
75396
|
label: co2(e.label, t),
|
|
75397
75397
|
value: co2(e.value, t),
|
|
@@ -75402,7 +75402,7 @@ function zS2(e, t) {
|
|
|
75402
75402
|
function Oh2(e, t) {
|
|
75403
75403
|
if (!import_lodash.isNil(e))
|
|
75404
75404
|
return import_lodash.omitBy({
|
|
75405
|
-
_id:
|
|
75405
|
+
_id: Ne3(e.__fqn__),
|
|
75406
75406
|
color: Fh2(e.color),
|
|
75407
75407
|
table: MS2(e.table),
|
|
75408
75408
|
metric_kpi: zS2(e.metric_kpi, t)
|
|
@@ -75423,7 +75423,7 @@ function IS2(e, t) {
|
|
|
75423
75423
|
`), `.${uy2}`).trim();
|
|
75424
75424
|
if (!(!t && !o))
|
|
75425
75425
|
return import_lodash.omitBy({
|
|
75426
|
-
_id:
|
|
75426
|
+
_id: Ne3(t?.__fqn__),
|
|
75427
75427
|
original: t?.content,
|
|
75428
75428
|
final: o
|
|
75429
75429
|
}, import_lodash.isUndefined);
|
|
@@ -75433,7 +75433,7 @@ function Rh2(e) {
|
|
|
75433
75433
|
return;
|
|
75434
75434
|
const t = {};
|
|
75435
75435
|
return import_lodash.omitBy({
|
|
75436
|
-
_id:
|
|
75436
|
+
_id: Ne3(e.__fqn__),
|
|
75437
75437
|
title: e.title,
|
|
75438
75438
|
background: fo2(e.background),
|
|
75439
75439
|
canvas: Ih2(e.canvas),
|
|
@@ -75903,7 +75903,7 @@ function jh2(e) {
|
|
|
75903
75903
|
});
|
|
75904
75904
|
const o = e.template.content, r3 = e.template.name;
|
|
75905
75905
|
return {
|
|
75906
|
-
_id:
|
|
75906
|
+
_id: Ne3(e.__fqn__),
|
|
75907
75907
|
label: e.label ?? "Untitled",
|
|
75908
75908
|
description: e.description,
|
|
75909
75909
|
icon: e.icon,
|
|
@@ -75930,7 +75930,7 @@ var aE2 = (e, t) => {
|
|
|
75930
75930
|
settings: r3
|
|
75931
75931
|
}, { custom_chart: a, custom_chart_id: s2 } = e;
|
|
75932
75932
|
if (a)
|
|
75933
|
-
a.__fqn__ ? i2.custom_chart_id =
|
|
75933
|
+
a.__fqn__ ? i2.custom_chart_id = Ne3(a.__fqn__) : i2.custom_chart_def = jh2(a);
|
|
75934
75934
|
else if (s2)
|
|
75935
75935
|
i2.custom_chart_id = s2;
|
|
75936
75936
|
else
|
|
@@ -78107,7 +78107,7 @@ function r$(e) {
|
|
|
78107
78107
|
return !!o && ml2.includes(o);
|
|
78108
78108
|
}
|
|
78109
78109
|
function i$(e) {
|
|
78110
|
-
const { value: t,
|
|
78110
|
+
const { value: t, fqn: n } = e, o = Ne3(n) ?? e.name.replace(/::/g, "."), r3 = t.__decorators__.template, {
|
|
78111
78111
|
funcType: i2,
|
|
78112
78112
|
title: a,
|
|
78113
78113
|
description: s2,
|
|
@@ -78640,7 +78640,7 @@ function gD(e, t) {
|
|
|
78640
78640
|
const se3 = i2[be3] || {}, Ye3 = ae3.columns || [];
|
|
78641
78641
|
if (Ye3.length === 0)
|
|
78642
78642
|
return "";
|
|
78643
|
-
const de3 = !!se3.show_stack_total, De2 = !!se3.reversed_stack, He3 = !!se3.show_group_total, N = !!se3.group_long_tail, S3 = Number(se3.maximum_groups), ve3 = !!se3.show_data_label, Me2 = !!se3.show_series_percentage,
|
|
78643
|
+
const de3 = !!se3.show_stack_total, De2 = !!se3.reversed_stack, He3 = !!se3.show_group_total, N = !!se3.group_long_tail, S3 = Number(se3.maximum_groups), ve3 = !!se3.show_data_label, Me2 = !!se3.show_series_percentage, Ve3 = !!se3.stack_series, C = se3.stack_type, $2 = vn3(se3.min), ht3 = vn3(se3.max), xe2 = !!se3.hidden, Ge2 = se3.align !== undefined && se3.align !== Ml2 ? `alignment: ${y(se3.align)}` : "", Le2 = se3.scale_type !== undefined && se3.scale_type !== zl2 ? `scale: ${y(se3.scale_type)}` : "", wt3 = $2 !== undefined ? `axis_min: ${$2}` : "", Jt2 = ht3 !== undefined ? `axis_max: ${ht3}` : "", An3 = de3 ? `show_stack_total: ${de3}` : "", Gn3 = De2 ? `reverse_stack: ${De2}` : "", qt3 = He3 ? `show_total_in_tooltip: ${He3}` : "", re3 = N && S3 ? `group_values_into: ${S3}` : "", Kn3 = ve3 ? `show_data_label_by: ${y(Me2 ? "percentage" : "value")}` : "", Ri2 = Ve3 ? `stack_series_by: ${y(C === "percent" ? "percentage" : "value")}` : "", z2 = xe2 ? `hidden: ${xe2}` : "", Ee3 = [
|
|
78644
78644
|
Ge2,
|
|
78645
78645
|
Le2,
|
|
78646
78646
|
wt3,
|
|
@@ -78691,14 +78691,14 @@ function gD(e, t) {
|
|
|
78691
78691
|
${Vc2}
|
|
78692
78692
|
}` : "";
|
|
78693
78693
|
}).filter(Boolean).join(`
|
|
78694
|
-
`),
|
|
78694
|
+
`), je2 = [
|
|
78695
78695
|
M2,
|
|
78696
78696
|
ie3,
|
|
78697
78697
|
Ce3
|
|
78698
78698
|
].filter(Boolean).join(`
|
|
78699
78699
|
`);
|
|
78700
|
-
return
|
|
78701
|
-
${
|
|
78700
|
+
return je2 ? ` y_axis {
|
|
78701
|
+
${je2}
|
|
78702
78702
|
}` : "";
|
|
78703
78703
|
}).filter(Boolean).join(`
|
|
78704
78704
|
`) : "", K2 = vo3(a, t), te3 = K2 ? `tooltips: ${K2}` : "";
|
|
@@ -78733,14 +78733,14 @@ function _D(e, t) {
|
|
|
78733
78733
|
const te3 = K2.series_settings || {}, Ue3 = te3.color && te3.color !== "auto" ? te3.color : K2.color, ae3 = Ue3 !== undefined && Ue3 !== "auto" ? `color: ${y(Ue3)}` : "", be3 = Kg2(te3);
|
|
78734
78734
|
let se3 = "";
|
|
78735
78735
|
typeof te3.series_hash == "object" && !import_lodash.isEmpty(te3.series_hash) && (se3 = Object.entries(te3.series_hash).map(([He3, N]) => {
|
|
78736
|
-
const S3 = `value: ${y(He3)}`, ve3 = N.color !== undefined && N.color !== "auto" ? `color: ${y(N.color)}` : "", Me2 = N.hidden === true ? `hidden: ${N.hidden}` : "",
|
|
78736
|
+
const S3 = `value: ${y(He3)}`, ve3 = N.color !== undefined && N.color !== "auto" ? `color: ${y(N.color)}` : "", Me2 = N.hidden === true ? `hidden: ${N.hidden}` : "", Ve3 = [
|
|
78737
78737
|
S3,
|
|
78738
78738
|
ve3,
|
|
78739
78739
|
Me2
|
|
78740
78740
|
].filter(Boolean).join(`
|
|
78741
78741
|
`);
|
|
78742
|
-
return !ve3 && !Me2 || !
|
|
78743
|
-
${
|
|
78742
|
+
return !ve3 && !Me2 || !Ve3 ? "" : ` point {
|
|
78743
|
+
${Ve3}
|
|
78744
78744
|
}`;
|
|
78745
78745
|
}).filter(Boolean).join(`
|
|
78746
78746
|
`));
|
|
@@ -80510,7 +80510,7 @@ function Mi2({
|
|
|
80510
80510
|
}));
|
|
80511
80511
|
return [...s2, ...u, ...l];
|
|
80512
80512
|
}
|
|
80513
|
-
function
|
|
80513
|
+
function qe3({
|
|
80514
80514
|
amlPropName: e,
|
|
80515
80515
|
amlPropType: t,
|
|
80516
80516
|
propDiffToAml: n = ({ diff: i2 }) => i2.newValue,
|
|
@@ -80544,8 +80544,8 @@ var pB = {
|
|
|
80544
80544
|
filter: me3
|
|
80545
80545
|
};
|
|
80546
80546
|
var mB = {
|
|
80547
|
-
label:
|
|
80548
|
-
description:
|
|
80547
|
+
label: qe3({ amlPropName: "label", amlPropType: "text" }),
|
|
80548
|
+
description: qe3({ amlPropName: "description", amlPropType: "text" }),
|
|
80549
80549
|
theme({ diff: e, astPath: t }) {
|
|
80550
80550
|
const n = kn3(e.newValue), o = n ? H2("theme", n) : undefined;
|
|
80551
80551
|
return [Se3({
|
|
@@ -80592,8 +80592,8 @@ var hB = {
|
|
|
80592
80592
|
viz: me3
|
|
80593
80593
|
};
|
|
80594
80594
|
var gB = {
|
|
80595
|
-
label:
|
|
80596
|
-
description:
|
|
80595
|
+
label: qe3({ amlPropName: "label", amlPropType: "text" }),
|
|
80596
|
+
description: qe3({ amlPropName: "description", amlPropType: "text" }),
|
|
80597
80597
|
theme({ diff: e, astPath: t }) {
|
|
80598
80598
|
const n = kn3(e.newValue), o = n ? H2("theme", n) : undefined;
|
|
80599
80599
|
return [Se3({
|
|
@@ -80649,7 +80649,7 @@ var bB = {
|
|
|
80649
80649
|
}` : undefined
|
|
80650
80650
|
})];
|
|
80651
80651
|
},
|
|
80652
|
-
content:
|
|
80652
|
+
content: qe3({
|
|
80653
80653
|
amlPropName: "content",
|
|
80654
80654
|
propDiffToAml: ({ diff: e }) => `@md ${ot3(e.newValue || "", {
|
|
80655
80655
|
sanitizeHeredocTermination: true,
|
|
@@ -80670,8 +80670,8 @@ var wB = {
|
|
|
80670
80670
|
pop: me3
|
|
80671
80671
|
};
|
|
80672
80672
|
var kB = {
|
|
80673
|
-
label:
|
|
80674
|
-
description:
|
|
80673
|
+
label: qe3({ amlPropName: "label", amlPropType: "text" }),
|
|
80674
|
+
description: qe3({ amlPropName: "description", amlPropType: "text" }),
|
|
80675
80675
|
theme({ diff: e, astPath: t }) {
|
|
80676
80676
|
const n = kn3(e.newValue), o = n ? H2("theme", n) : undefined;
|
|
80677
80677
|
return [Se3({
|
|
@@ -80711,8 +80711,8 @@ var xB = {
|
|
|
80711
80711
|
date_drill: me3
|
|
80712
80712
|
};
|
|
80713
80713
|
var TB = {
|
|
80714
|
-
label:
|
|
80715
|
-
description:
|
|
80714
|
+
label: qe3({ amlPropName: "label", amlPropType: "text" }),
|
|
80715
|
+
description: qe3({ amlPropName: "description", amlPropType: "text" }),
|
|
80716
80716
|
theme({ diff: e, astPath: t }) {
|
|
80717
80717
|
const n = kn3(e.newValue), o = n ? H2("theme", n) : undefined;
|
|
80718
80718
|
return [Se3({
|
|
@@ -80755,8 +80755,8 @@ var CB = {
|
|
|
80755
80755
|
theme: So3
|
|
80756
80756
|
};
|
|
80757
80757
|
var PB = {
|
|
80758
|
-
label:
|
|
80759
|
-
prompt:
|
|
80758
|
+
label: qe3({ amlPropName: "label", amlPropType: "text" }),
|
|
80759
|
+
prompt: qe3({
|
|
80760
80760
|
amlPropName: "prompt",
|
|
80761
80761
|
propDiffToAml: ({ diff: e }) => `@md ${ot3(e.newValue || "", EB)};;`
|
|
80762
80762
|
}),
|
|
@@ -80861,7 +80861,7 @@ var aF = (e) => ("fieldsDiff" in e.diff) ? Hn3({
|
|
|
80861
80861
|
context: e.context,
|
|
80862
80862
|
astPath: [...e.astPath, "mobile"],
|
|
80863
80863
|
generator: {
|
|
80864
|
-
mode:
|
|
80864
|
+
mode: qe3({ amlPropName: "mode", amlPropType: "text" }),
|
|
80865
80865
|
blocks: ({ diff: t, astPath: n, context: o }) => Mi2({
|
|
80866
80866
|
diff: t,
|
|
80867
80867
|
astPath: [...n, "block"],
|
|
@@ -80878,14 +80878,14 @@ var aF = (e) => ("fieldsDiff" in e.diff) ? Hn3({
|
|
|
80878
80878
|
text: r_2(e.diff.newValue)
|
|
80879
80879
|
})];
|
|
80880
80880
|
var sF = {
|
|
80881
|
-
label:
|
|
80882
|
-
width:
|
|
80881
|
+
label: qe3({ amlPropName: "label", amlPropType: "text" }),
|
|
80882
|
+
width: qe3({
|
|
80883
80883
|
amlPropName: "width",
|
|
80884
80884
|
amlPropType: "number",
|
|
80885
80885
|
propDiffToAml: ({ diff: e }) => a_2(e.newValue),
|
|
80886
80886
|
prependPropName: false
|
|
80887
80887
|
}),
|
|
80888
|
-
height:
|
|
80888
|
+
height: qe3({
|
|
80889
80889
|
amlPropName: "height",
|
|
80890
80890
|
amlPropType: "number",
|
|
80891
80891
|
propDiffToAml: ({ diff: e }) => s_2(e.newValue),
|
|
@@ -80912,16 +80912,16 @@ var sF = {
|
|
|
80912
80912
|
text: o
|
|
80913
80913
|
})];
|
|
80914
80914
|
},
|
|
80915
|
-
grid_size:
|
|
80915
|
+
grid_size: qe3({
|
|
80916
80916
|
amlPropName: "grid_size",
|
|
80917
80917
|
amlPropType: "number",
|
|
80918
80918
|
propDiffToAml: ({ diff: e }) => l_2(e.newValue),
|
|
80919
80919
|
prependPropName: false
|
|
80920
80920
|
}),
|
|
80921
|
-
auto_expand_vertically:
|
|
80922
|
-
auto_expand_horizontally:
|
|
80921
|
+
auto_expand_vertically: qe3({ amlPropName: "auto_expand_vertically", amlPropType: "boolean" }),
|
|
80922
|
+
auto_expand_horizontally: qe3({ amlPropName: "auto_expand_horizontally", amlPropType: "boolean" }),
|
|
80923
80923
|
mobile: aF,
|
|
80924
|
-
default_zoom:
|
|
80924
|
+
default_zoom: qe3({
|
|
80925
80925
|
amlPropName: "default_zoom",
|
|
80926
80926
|
propDiffToAml: ({ diff: e }) => i_2(e.newValue),
|
|
80927
80927
|
prependPropName: false
|
|
@@ -80942,7 +80942,7 @@ var lF = ({ diff: e, astPath: t, context: n }) => ("fieldsDiff" in e) ? k_2({
|
|
|
80942
80942
|
text: `tab ${e.newValue.uname}: ${Ao3(e.newValue)}`
|
|
80943
80943
|
})];
|
|
80944
80944
|
var cF = {
|
|
80945
|
-
label:
|
|
80945
|
+
label: qe3({
|
|
80946
80946
|
amlPropName: "label",
|
|
80947
80947
|
amlPropType: "text",
|
|
80948
80948
|
propDiffToAml: ({ diff: e }) => e.newValue
|
|
@@ -80971,11 +80971,11 @@ var dF = ({ diff: e, astPath: t, context: n }) => ("fieldsDiff" in e) ? e.newVal
|
|
|
80971
80971
|
text: `view: ${Ao3(e.newValue)}`
|
|
80972
80972
|
})];
|
|
80973
80973
|
var mF = {
|
|
80974
|
-
title:
|
|
80974
|
+
title: qe3({
|
|
80975
80975
|
amlPropName: "title",
|
|
80976
80976
|
amlPropType: "text"
|
|
80977
80977
|
}),
|
|
80978
|
-
description:
|
|
80978
|
+
description: qe3({
|
|
80979
80979
|
amlPropName: "description",
|
|
80980
80980
|
propDiffToAml: ({ diff: e }) => rn2(e.newValue)
|
|
80981
80981
|
}),
|
|
@@ -84482,7 +84482,7 @@ function _03() {
|
|
|
84482
84482
|
["partial", Vn3],
|
|
84483
84483
|
["partialRight", Qt3],
|
|
84484
84484
|
["rearg", kt4]
|
|
84485
|
-
], mt4 = "[object Arguments]", we4 = "[object Array]", Ff3 = "[object AsyncFunction]", jt4 = "[object Boolean]", ne2 = "[object Date]", Wf3 = "[object DOMException]", me4 = "[object Error]", Ce3 = "[object Function]", Lu3 = "[object GeneratorFunction]", Mn4 = "[object Map]", te3 = "[object Number]", Hf3 = "[object Null]", $n4 = "[object Object]", wu3 = "[object Promise]", Xf3 = "[object Proxy]", ee3 = "[object RegExp]", Nn3 = "[object Set]", re3 = "[object String]", xe2 = "[object Symbol]", Kf3 = "[object Undefined]", ie3 = "[object WeakMap]", Vf3 = "[object WeakSet]", ue4 = "[object ArrayBuffer]", Ct4 = "[object DataView]", wr4 = "[object Float32Array]", mr4 = "[object Float64Array]", Cr3 = "[object Int8Array]", xr4 = "[object Int16Array]", Mr4 = "[object Int32Array]", Nr5 = "[object Uint8Array]", br3 = "[object Uint8ClampedArray]", Br4 = "[object Uint16Array]", Ur4 = "[object Uint32Array]", Yf3 = /\b__p \+= '';/g, $f3 = /\b(__p \+=) '' \+/g, zf3 = /(__e\(.*?\)|\b__t\)) \+\n'';/g, mu3 = /&(?:amp|lt|gt|quot|#39);/g, Cu3 = /[&<>"']/g, qf3 = RegExp(mu3.source), Zf3 = RegExp(Cu3.source), Jf3 = /<%-([\s\S]+?)%>/g, Qf3 = /<%([\s\S]+?)%>/g, xu3 = /<%=([\s\S]+?)%>/g, kf3 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, jf3 = /^\w*$/, ns3 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Dr4 = /[\\^$.*+?()[\]{}|]/g, ts3 = RegExp(Dr4.source), Gr4 = /^\s+/, es3 = /\s/, rs3 = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, is3 = /\{\n\/\* \[wrapped with (.+)\] \*/, us3 = /,? & /, os7 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Mu3 = /[()=,{}\[\]\/\s]/, as3 = /\\(\\)?/g, fs13 = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Nu3 = /\w*$/, ss3 = /^[-+]0x[0-9a-f]+$/i, cs3 = /^0b[01]+$/i, ls3 = /^\[object .+?Constructor\]$/, _s3 = /^0o[0-7]+$/i, hs3 = /^(?:0|[1-9]\d*)$/, ps3 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Me2 = /($^)/, gs3 = /['\n\r\u2028\u2029\\]/g,
|
|
84485
|
+
], mt4 = "[object Arguments]", we4 = "[object Array]", Ff3 = "[object AsyncFunction]", jt4 = "[object Boolean]", ne2 = "[object Date]", Wf3 = "[object DOMException]", me4 = "[object Error]", Ce3 = "[object Function]", Lu3 = "[object GeneratorFunction]", Mn4 = "[object Map]", te3 = "[object Number]", Hf3 = "[object Null]", $n4 = "[object Object]", wu3 = "[object Promise]", Xf3 = "[object Proxy]", ee3 = "[object RegExp]", Nn3 = "[object Set]", re3 = "[object String]", xe2 = "[object Symbol]", Kf3 = "[object Undefined]", ie3 = "[object WeakMap]", Vf3 = "[object WeakSet]", ue4 = "[object ArrayBuffer]", Ct4 = "[object DataView]", wr4 = "[object Float32Array]", mr4 = "[object Float64Array]", Cr3 = "[object Int8Array]", xr4 = "[object Int16Array]", Mr4 = "[object Int32Array]", Nr5 = "[object Uint8Array]", br3 = "[object Uint8ClampedArray]", Br4 = "[object Uint16Array]", Ur4 = "[object Uint32Array]", Yf3 = /\b__p \+= '';/g, $f3 = /\b(__p \+=) '' \+/g, zf3 = /(__e\(.*?\)|\b__t\)) \+\n'';/g, mu3 = /&(?:amp|lt|gt|quot|#39);/g, Cu3 = /[&<>"']/g, qf3 = RegExp(mu3.source), Zf3 = RegExp(Cu3.source), Jf3 = /<%-([\s\S]+?)%>/g, Qf3 = /<%([\s\S]+?)%>/g, xu3 = /<%=([\s\S]+?)%>/g, kf3 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, jf3 = /^\w*$/, ns3 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Dr4 = /[\\^$.*+?()[\]{}|]/g, ts3 = RegExp(Dr4.source), Gr4 = /^\s+/, es3 = /\s/, rs3 = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, is3 = /\{\n\/\* \[wrapped with (.+)\] \*/, us3 = /,? & /, os7 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Mu3 = /[()=,{}\[\]\/\s]/, as3 = /\\(\\)?/g, fs13 = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Nu3 = /\w*$/, ss3 = /^[-+]0x[0-9a-f]+$/i, cs3 = /^0b[01]+$/i, ls3 = /^\[object .+?Constructor\]$/, _s3 = /^0o[0-7]+$/i, hs3 = /^(?:0|[1-9]\d*)$/, ps3 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Me2 = /($^)/, gs3 = /['\n\r\u2028\u2029\\]/g, Ne4 = "\\ud800-\\udfff", ds3 = "\\u0300-\\u036f", Es3 = "\\ufe20-\\ufe2f", vs2 = "\\u20d0-\\u20ff", bu3 = ds3 + Es3 + vs2, Bu3 = "\\u2700-\\u27bf", Uu3 = "a-z\\xdf-\\xf6\\xf8-\\xff", Ts3 = "\\xac\\xb1\\xd7\\xf7", As2 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ss3 = "\\u2000-\\u206f", Os2 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Du3 = "A-Z\\xc0-\\xd6\\xd8-\\xde", Gu3 = "\\ufe0e\\ufe0f", Fu3 = Ts3 + As2 + Ss3 + Os2, Fr4 = "['’]", Rs2 = "[" + Ne4 + "]", Wu3 = "[" + Fu3 + "]", be3 = "[" + bu3 + "]", Hu3 = "\\d+", ys3 = "[" + Bu3 + "]", Xu3 = "[" + Uu3 + "]", Ku3 = "[^" + Ne4 + Fu3 + Hu3 + Bu3 + Uu3 + Du3 + "]", Wr4 = "\\ud83c[\\udffb-\\udfff]", Ps3 = "(?:" + be3 + "|" + Wr4 + ")", Vu3 = "[^" + Ne4 + "]", Hr4 = "(?:\\ud83c[\\udde6-\\uddff]){2}", Xr4 = "[\\ud800-\\udbff][\\udc00-\\udfff]", xt4 = "[" + Du3 + "]", Yu3 = "\\u200d", $u3 = "(?:" + Xu3 + "|" + Ku3 + ")", Is2 = "(?:" + xt4 + "|" + Ku3 + ")", zu3 = "(?:" + Fr4 + "(?:d|ll|m|re|s|t|ve))?", qu3 = "(?:" + Fr4 + "(?:D|LL|M|RE|S|T|VE))?", Zu3 = Ps3 + "?", Ju3 = "[" + Gu3 + "]?", Ls2 = "(?:" + Yu3 + "(?:" + [Vu3, Hr4, Xr4].join("|") + ")" + Ju3 + Zu3 + ")*", ws2 = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ms3 = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Qu3 = Ju3 + Zu3 + Ls2, Cs3 = "(?:" + [ys3, Hr4, Xr4].join("|") + ")" + Qu3, xs2 = "(?:" + [Vu3 + be3 + "?", be3, Hr4, Xr4, Rs2].join("|") + ")", Ms2 = RegExp(Fr4, "g"), Ns2 = RegExp(be3, "g"), Kr4 = RegExp(Wr4 + "(?=" + Wr4 + ")|" + xs2 + Qu3, "g"), bs3 = RegExp([
|
|
84486
84486
|
xt4 + "?" + Xu3 + "+" + zu3 + "(?=" + [Wu3, xt4, "$"].join("|") + ")",
|
|
84487
84487
|
Is2 + "+" + qu3 + "(?=" + [Wu3, xt4 + $u3, "$"].join("|") + ")",
|
|
84488
84488
|
xt4 + "?" + $u3 + "+" + zu3,
|
|
@@ -84491,7 +84491,7 @@ function _03() {
|
|
|
84491
84491
|
ws2,
|
|
84492
84492
|
Hu3,
|
|
84493
84493
|
Cs3
|
|
84494
|
-
].join("|"), "g"), Bs2 = RegExp("[" + Yu3 +
|
|
84494
|
+
].join("|"), "g"), Bs2 = RegExp("[" + Yu3 + Ne4 + bu3 + Gu3 + "]"), Us2 = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, Ds3 = [
|
|
84495
84495
|
"Array",
|
|
84496
84496
|
"Buffer",
|
|
84497
84497
|
"DataView",
|
|
@@ -85365,7 +85365,7 @@ function _03() {
|
|
|
85365
85365
|
return e = !!t(i2, a, s2), e;
|
|
85366
85366
|
}), e;
|
|
85367
85367
|
}
|
|
85368
|
-
function
|
|
85368
|
+
function je2(n, t, e) {
|
|
85369
85369
|
for (var i2 = -1, a = n.length;++i2 < a; ) {
|
|
85370
85370
|
var s2 = n[i2], h = t(s2);
|
|
85371
85371
|
if (h != null && (p2 === r3 ? h === h && !Sn4(h) : e(h, p2)))
|
|
@@ -87946,10 +87946,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
87946
87946
|
return n / t;
|
|
87947
87947
|
}, 1), cd3 = yi3("floor");
|
|
87948
87948
|
function ld3(n) {
|
|
87949
|
-
return n && n.length ?
|
|
87949
|
+
return n && n.length ? je2(n, dn4, si2) : r3;
|
|
87950
87950
|
}
|
|
87951
87951
|
function _d3(n, t) {
|
|
87952
|
-
return n && n.length ?
|
|
87952
|
+
return n && n.length ? je2(n, x(t, 2), si2) : r3;
|
|
87953
87953
|
}
|
|
87954
87954
|
function hd3(n) {
|
|
87955
87955
|
return so3(n, dn4);
|
|
@@ -87958,10 +87958,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
87958
87958
|
return so3(n, x(t, 2));
|
|
87959
87959
|
}
|
|
87960
87960
|
function gd3(n) {
|
|
87961
|
-
return n && n.length ?
|
|
87961
|
+
return n && n.length ? je2(n, dn4, hi3) : r3;
|
|
87962
87962
|
}
|
|
87963
87963
|
function dd3(n, t) {
|
|
87964
|
-
return n && n.length ?
|
|
87964
|
+
return n && n.length ? je2(n, x(t, 2), hi3) : r3;
|
|
87965
87965
|
}
|
|
87966
87966
|
var Ed3 = or3(function(n, t) {
|
|
87967
87967
|
return n * t;
|
|
@@ -125652,7 +125652,7 @@ function Ee3(e10, ...t) {
|
|
|
125652
125652
|
if (t.length > 0 && !t.includes(e10.length))
|
|
125653
125653
|
throw Error("Uint8Array expected of length " + t + ", got length=" + e10.length);
|
|
125654
125654
|
}
|
|
125655
|
-
function
|
|
125655
|
+
function je2(e10, t = true) {
|
|
125656
125656
|
if (e10.destroyed)
|
|
125657
125657
|
throw Error("Hash instance has been destroyed");
|
|
125658
125658
|
if (t && e10.finished)
|
|
@@ -125715,7 +125715,7 @@ var gr4 = class extends Rr5 {
|
|
|
125715
125715
|
super(), this.finished = false, this.length = 0, this.pos = 0, this.destroyed = false, this.blockLen = e10, this.outputLen = t, this.padOffset = n, this.isLE = r3, this.buffer = new Uint8Array(e10), this.view = _e4(this.buffer);
|
|
125716
125716
|
}
|
|
125717
125717
|
update(e10) {
|
|
125718
|
-
|
|
125718
|
+
je2(this), e10 = en3(e10), Ee3(e10);
|
|
125719
125719
|
let { view: t, buffer: n, blockLen: r3 } = this, i3 = e10.length;
|
|
125720
125720
|
for (let a = 0;a < i3; ) {
|
|
125721
125721
|
let s3 = Math.min(r3 - this.pos, i3 - a);
|
|
@@ -125730,7 +125730,7 @@ var gr4 = class extends Rr5 {
|
|
|
125730
125730
|
return this.length += e10.length, this.roundClean(), this;
|
|
125731
125731
|
}
|
|
125732
125732
|
digestInto(e10) {
|
|
125733
|
-
|
|
125733
|
+
je2(this), pr3(e10, this), this.finished = true;
|
|
125734
125734
|
let { buffer: t, view: n, blockLen: r3, isLE: i3 } = this, { pos: a } = this;
|
|
125735
125735
|
t[a++] = 128, qe4(this.buffer.subarray(a)), this.padOffset > r3 - a && (this.process(n, 0), a = 0);
|
|
125736
125736
|
for (let e11 = a;e11 < r3; e11++)
|
|
@@ -127573,7 +127573,7 @@ var Xo3 = {
|
|
|
127573
127573
|
operationOverrides: An3,
|
|
127574
127574
|
transformers: vo4
|
|
127575
127575
|
};
|
|
127576
|
-
function
|
|
127576
|
+
function Ne4(e10) {
|
|
127577
127577
|
return e10.toString().toLowerCase().trim();
|
|
127578
127578
|
}
|
|
127579
127579
|
function mt4(e10) {
|
|
@@ -127608,10 +127608,10 @@ var Ho3 = /* @__PURE__ */ new Map([
|
|
|
127608
127608
|
])],
|
|
127609
127609
|
[o.DATETIME_ADD, (e10, t) => t.opSql(o.DATE_ADD, e10)],
|
|
127610
127610
|
[o.DATETIME_SUB, (e10, t) => t.opSql(o.DATE_SUB, e10)],
|
|
127611
|
-
[o.DATE_DIFF_DEFAULT, ([e10, t, n]) => `DATEDIFF(${
|
|
127611
|
+
[o.DATE_DIFF_DEFAULT, ([e10, t, n]) => `DATEDIFF(${Ne4(e10)}, ${t}, ${n})`],
|
|
127612
127612
|
[o.DATE_DIFF_MILLISECOND, ([, e10, t]) => `DATEDIFF(millisecond, ${e10}, ${t})`],
|
|
127613
127613
|
[o.DATE_DIFF_SECOND, ([, e10, t]) => `DATEDIFF(second, ${e10}, ${t})`],
|
|
127614
|
-
[o.DATE_PART_DEFAULT, ([e10, t]) => `DATE_PART('${
|
|
127614
|
+
[o.DATE_PART_DEFAULT, ([e10, t]) => `DATE_PART('${Ne4(e10)}', ${t})`],
|
|
127615
127615
|
[o.APPROX_COUNT_DISTINCT, ([e10]) => `HLL_CARDINALITY(HLL_CREATE_SKETCH(${e10}))`],
|
|
127616
127616
|
[o.COVAR_POP, ([e10, t]) => `(SUM(${e10} * ${t}) - SUM(${e10}) * SUM(${t}) / NULLIF(COUNT(${t} * ${e10}), 0)) / NULLIF(COUNT(${t} * ${e10}), 0)`],
|
|
127617
127617
|
[o.CORR, ([e10, t], n) => `${n.opSql(o.COVAR_POP, [t, e10])} / NULLIF(${n.opSql(o.STDEVP, [e10])} * ${n.opSql(o.STDEVP, [t])}, 0)`],
|
|
@@ -127635,7 +127635,7 @@ var Ho3 = /* @__PURE__ */ new Map([
|
|
|
127635
127635
|
let i3 = pt4(t.toString()), a = r3.opSql(o.NORMALIZE_TEXT_VALUE, [i3]);
|
|
127636
127636
|
return `TO_CHAR(${r3.opSql(o.TO_WALLCLOCK, [e10, n])}, ${a})`;
|
|
127637
127637
|
}],
|
|
127638
|
-
[o.LAST_DAY, ([e10, t, n], r3) =>
|
|
127638
|
+
[o.LAST_DAY, ([e10, t, n], r3) => Ne4(t) === "month" ? `LAST_DAY(${r3.opSql(o.CAST_DB_TYPE, [e10, "date"])})` : r3.opBaseSql(o.LAST_DAY, [
|
|
127639
127639
|
e10,
|
|
127640
127640
|
t,
|
|
127641
127641
|
n
|