@devtable/dashboard 14.19.0 → 14.19.2
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/dashboard.es.js +45 -39
- package/dist/dashboard.umd.js +5 -5
- package/dist/model/meta-model/dashboard/content/filter/widgets/multi-select.d.ts +3 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select.d.ts +3 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-single-select.d.ts +3 -0
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/dashboard.es.js
CHANGED
|
@@ -2419,7 +2419,7 @@ function um() {
|
|
|
2419
2419
|
} = A.useContext(es);
|
|
2420
2420
|
return e ? document.getElementById(e) : null;
|
|
2421
2421
|
}
|
|
2422
|
-
const ns = "14.19.
|
|
2422
|
+
const ns = "14.19.2", hm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2423
2423
|
__proto__: null,
|
|
2424
2424
|
version: ns
|
|
2425
2425
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -24182,20 +24182,22 @@ const A5 = m.model("FilterDateRangeConfigMeta", {
|
|
|
24182
24182
|
const {
|
|
24183
24183
|
_name: t,
|
|
24184
24184
|
default_value: n,
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24185
|
+
default_value_mode: a,
|
|
24186
|
+
required: i,
|
|
24187
|
+
min_width: o,
|
|
24188
|
+
static_options: l,
|
|
24189
|
+
options_query_id: s,
|
|
24190
|
+
default_selection_count: c
|
|
24190
24191
|
} = e;
|
|
24191
24192
|
return Gt({
|
|
24192
24193
|
_name: t,
|
|
24193
|
-
required: !!
|
|
24194
|
-
min_width:
|
|
24194
|
+
required: !!i,
|
|
24195
|
+
min_width: o,
|
|
24195
24196
|
default_value: n,
|
|
24196
|
-
static_options:
|
|
24197
|
-
options_query_id:
|
|
24198
|
-
|
|
24197
|
+
static_options: l,
|
|
24198
|
+
options_query_id: s,
|
|
24199
|
+
default_value_mode: a,
|
|
24200
|
+
default_selection_count: c
|
|
24199
24201
|
});
|
|
24200
24202
|
},
|
|
24201
24203
|
get defaultSelection() {
|
|
@@ -25239,22 +25241,24 @@ const Xc = m.compose("FilterConfigModel_BaseTreeSelect", m.model({
|
|
|
25239
25241
|
const {
|
|
25240
25242
|
_name: t,
|
|
25241
25243
|
default_value: n,
|
|
25242
|
-
|
|
25243
|
-
|
|
25244
|
-
|
|
25245
|
-
|
|
25246
|
-
|
|
25247
|
-
|
|
25244
|
+
default_value_mode: a,
|
|
25245
|
+
required: i,
|
|
25246
|
+
min_width: o,
|
|
25247
|
+
static_options: l,
|
|
25248
|
+
options_query_id: s,
|
|
25249
|
+
default_selection_count: c,
|
|
25250
|
+
treeCheckStrictly: d
|
|
25248
25251
|
} = e;
|
|
25249
25252
|
return {
|
|
25250
25253
|
_name: t,
|
|
25251
|
-
required: !!
|
|
25252
|
-
min_width:
|
|
25254
|
+
required: !!i,
|
|
25255
|
+
min_width: o,
|
|
25253
25256
|
default_value: n,
|
|
25254
|
-
static_options:
|
|
25255
|
-
options_query_id:
|
|
25256
|
-
treeCheckStrictly:
|
|
25257
|
-
|
|
25257
|
+
static_options: l,
|
|
25258
|
+
options_query_id: s,
|
|
25259
|
+
treeCheckStrictly: d,
|
|
25260
|
+
default_value_mode: a,
|
|
25261
|
+
default_selection_count: c
|
|
25258
25262
|
};
|
|
25259
25263
|
},
|
|
25260
25264
|
get defaultSelection() {
|
|
@@ -25281,7 +25285,7 @@ const Xc = m.compose("FilterConfigModel_BaseTreeSelect", m.model({
|
|
|
25281
25285
|
e.default_value = Rt(t);
|
|
25282
25286
|
},
|
|
25283
25287
|
setDefaultValueMode(t) {
|
|
25284
|
-
t !== "
|
|
25288
|
+
t !== "intersect" && t !== "reset" || (e.default_value_mode = t);
|
|
25285
25289
|
},
|
|
25286
25290
|
setTreeCheckStrictly(t) {
|
|
25287
25291
|
e.treeCheckStrictly = t;
|
|
@@ -25316,20 +25320,22 @@ const Xc = m.compose("FilterConfigModel_BaseTreeSelect", m.model({
|
|
|
25316
25320
|
const {
|
|
25317
25321
|
_name: t,
|
|
25318
25322
|
default_value: n,
|
|
25319
|
-
|
|
25320
|
-
|
|
25321
|
-
|
|
25322
|
-
|
|
25323
|
-
|
|
25323
|
+
default_value_mode: a,
|
|
25324
|
+
required: i,
|
|
25325
|
+
min_width: o,
|
|
25326
|
+
static_options: l,
|
|
25327
|
+
options_query_id: s,
|
|
25328
|
+
default_selection_count: c
|
|
25324
25329
|
} = e;
|
|
25325
25330
|
return {
|
|
25326
25331
|
_name: t,
|
|
25327
|
-
required: !!
|
|
25328
|
-
min_width:
|
|
25332
|
+
required: !!i,
|
|
25333
|
+
min_width: o,
|
|
25329
25334
|
default_value: n,
|
|
25330
|
-
static_options:
|
|
25331
|
-
options_query_id:
|
|
25332
|
-
|
|
25335
|
+
static_options: l,
|
|
25336
|
+
options_query_id: s,
|
|
25337
|
+
default_value_mode: a,
|
|
25338
|
+
default_selection_count: c
|
|
25333
25339
|
};
|
|
25334
25340
|
},
|
|
25335
25341
|
get selectFirstByDefault() {
|
|
@@ -25357,7 +25363,7 @@ const Xc = m.compose("FilterConfigModel_BaseTreeSelect", m.model({
|
|
|
25357
25363
|
e.default_value = t;
|
|
25358
25364
|
},
|
|
25359
25365
|
setDefaultValueMode(t) {
|
|
25360
|
-
t !== "
|
|
25366
|
+
t !== "intersect" && t !== "reset" || (e.default_value_mode = t);
|
|
25361
25367
|
},
|
|
25362
25368
|
applyDefaultSelection() {
|
|
25363
25369
|
if (e.treeDataLoading)
|
|
@@ -26792,7 +26798,7 @@ const y3 = D5.views((e) => ({
|
|
|
26792
26798
|
post_process: i
|
|
26793
26799
|
} = e.json;
|
|
26794
26800
|
let o = {
|
|
26795
|
-
url: "/
|
|
26801
|
+
url: "/api/metric_management/query",
|
|
26796
26802
|
method: "POST",
|
|
26797
26803
|
data: e.metricQueryPayload
|
|
26798
26804
|
};
|
|
@@ -29530,9 +29536,9 @@ function nT(e, t) {
|
|
|
29530
29536
|
if (!t)
|
|
29531
29537
|
throw new Error("Shouldnt run query without ID");
|
|
29532
29538
|
if (e === "derived")
|
|
29533
|
-
return `/
|
|
29539
|
+
return `/api/metric_management/derived_metric/${t}`;
|
|
29534
29540
|
if (e === "combined")
|
|
29535
|
-
return `/
|
|
29541
|
+
return `/api/metric_management/combined_metric/${t}`;
|
|
29536
29542
|
throw new Error(`Unexpected metric type[${e}]`);
|
|
29537
29543
|
}
|
|
29538
29544
|
const rT = m.model({
|
|
@@ -29653,7 +29659,7 @@ const rT = m.model({
|
|
|
29653
29659
|
(t = e.controller) == null || t.abort(), e.controller = new AbortController(), e.state = "loading";
|
|
29654
29660
|
try {
|
|
29655
29661
|
const n = pr(e.mmInfo.dataSource, {
|
|
29656
|
-
url: "/
|
|
29662
|
+
url: "/api/metric_management/search",
|
|
29657
29663
|
method: "POST",
|
|
29658
29664
|
data: {
|
|
29659
29665
|
key: e.mmInfo.key
|