@devtable/dashboard 13.2.0 → 13.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/dashboard.es.js
CHANGED
|
@@ -1731,7 +1731,7 @@ class Ai {
|
|
|
1731
1731
|
}), this.instanceRegistry.clear(), this.factoryRegistry.clear();
|
|
1732
1732
|
}
|
|
1733
1733
|
}
|
|
1734
|
-
const ic = "13.2.
|
|
1734
|
+
const ic = "13.2.1", Zx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1735
1735
|
__proto__: null,
|
|
1736
1736
|
version: ic
|
|
1737
1737
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27741,6 +27741,7 @@ const GD = p.model({
|
|
|
27741
27741
|
id: a,
|
|
27742
27742
|
queryID: u,
|
|
27743
27743
|
type: l,
|
|
27744
|
+
type_label: "panel.label",
|
|
27744
27745
|
label: c,
|
|
27745
27746
|
views: d
|
|
27746
27747
|
});
|
|
@@ -27751,6 +27752,7 @@ const GD = p.model({
|
|
|
27751
27752
|
return t.filters.current.filter((i) => !!S.get(i, "config.options_query_id")).forEach((i) => {
|
|
27752
27753
|
n.push({
|
|
27753
27754
|
type: "filter",
|
|
27755
|
+
type_label: "filter.label",
|
|
27754
27756
|
id: i.id,
|
|
27755
27757
|
queryID: S.get(i, "config.options_query_id"),
|
|
27756
27758
|
label: i.label,
|
|
@@ -27762,6 +27764,17 @@ const GD = p.model({
|
|
|
27762
27764
|
};
|
|
27763
27765
|
})
|
|
27764
27766
|
});
|
|
27767
|
+
}), t.queries.current.forEach((i) => {
|
|
27768
|
+
i.isTransform && i.dep_query_ids.forEach((a) => {
|
|
27769
|
+
n.push({
|
|
27770
|
+
type: "transform-query",
|
|
27771
|
+
type_label: "query.transform.full_label",
|
|
27772
|
+
id: i.id,
|
|
27773
|
+
queryID: a,
|
|
27774
|
+
label: i.name,
|
|
27775
|
+
views: []
|
|
27776
|
+
});
|
|
27777
|
+
});
|
|
27765
27778
|
}), S.groupBy(n, "queryID");
|
|
27766
27779
|
},
|
|
27767
27780
|
get hasUnusedQueries() {
|
|
@@ -28507,6 +28520,7 @@ const YD = {
|
|
|
28507
28520
|
},
|
|
28508
28521
|
transform: {
|
|
28509
28522
|
label: "Transform",
|
|
28523
|
+
full_label: "Transform Query",
|
|
28510
28524
|
data_source: "Use other queries' data",
|
|
28511
28525
|
guide: {
|
|
28512
28526
|
pick_queries: "Pick queries for data input",
|
|
@@ -29388,6 +29402,7 @@ const YD = {
|
|
|
29388
29402
|
},
|
|
29389
29403
|
transform: {
|
|
29390
29404
|
label: "查询变形",
|
|
29405
|
+
full_label: "查询变形",
|
|
29391
29406
|
data_source: "基于其他查询的数据,加工出新数据",
|
|
29392
29407
|
guide: {
|
|
29393
29408
|
pick_queries: "选择一至多个查询作为数据输入",
|
|
@@ -33205,7 +33220,7 @@ WHERE
|
|
|
33205
33220
|
/* @__PURE__ */ r.jsx("th", { children: n("query.usage.in_views") })
|
|
33206
33221
|
] }) }),
|
|
33207
33222
|
/* @__PURE__ */ r.jsx("tbody", { children: e.map((o) => /* @__PURE__ */ r.jsxs("tr", { children: [
|
|
33208
|
-
/* @__PURE__ */ r.jsx("td", { children: n(
|
|
33223
|
+
/* @__PURE__ */ r.jsx("td", { children: n(o.type_label) }),
|
|
33209
33224
|
/* @__PURE__ */ r.jsx("td", { children: /* @__PURE__ */ r.jsx(ri, { component: "button", type: "button", onClick: () => i(o), children: o.label }) }),
|
|
33210
33225
|
/* @__PURE__ */ r.jsx("td", { children: /* @__PURE__ */ r.jsxs(k, { align: "flex-start", justify: "flex-start", spacing: 2, children: [
|
|
33211
33226
|
o.views.map((l) => /* @__PURE__ */ r.jsx(ri, { component: "button", type: "button", onClick: () => a(l.id), children: /* @__PURE__ */ r.jsx(M, { children: l.label }) }, l.id)),
|