@devtable/dashboard 10.11.0 → 10.11.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 +13 -13
- package/dist/dashboard.umd.js +3 -3
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/dist/dashboard.es.js
CHANGED
|
@@ -1163,7 +1163,7 @@ class na {
|
|
|
1163
1163
|
}), this.instanceRegistry.clear(), this.factoryRegistry.clear();
|
|
1164
1164
|
}
|
|
1165
1165
|
}
|
|
1166
|
-
const rc = "10.11.
|
|
1166
|
+
const rc = "10.11.1", ef = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1167
1167
|
__proto__: null,
|
|
1168
1168
|
version: rc
|
|
1169
1169
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -23619,17 +23619,17 @@ const jT = D(function({
|
|
|
23619
23619
|
function QT(e) {
|
|
23620
23620
|
return e.style.border.enabled ? {} : HT;
|
|
23621
23621
|
}
|
|
23622
|
-
const
|
|
23622
|
+
const UT = D(function({
|
|
23623
23623
|
panel: t,
|
|
23624
23624
|
view: n
|
|
23625
23625
|
}) {
|
|
23626
23626
|
const r = QT(t);
|
|
23627
23627
|
return /* @__PURE__ */ i(eu, { panel: t, panelStyle: r, dropdownContent: /* @__PURE__ */ i(FT, { view: n }) });
|
|
23628
23628
|
});
|
|
23629
|
-
function
|
|
23629
|
+
function KT(e) {
|
|
23630
23630
|
return !["richText", "button"].includes(e);
|
|
23631
23631
|
}
|
|
23632
|
-
const
|
|
23632
|
+
const XT = D(({
|
|
23633
23633
|
view: e
|
|
23634
23634
|
}) => {
|
|
23635
23635
|
const {
|
|
@@ -23642,7 +23642,7 @@ const KT = D(({
|
|
|
23642
23642
|
} = R.useContext(Ci), a = R.useCallback(() => {
|
|
23643
23643
|
r(n);
|
|
23644
23644
|
}, [n, r]), s = !o && e.type !== Z.Modal;
|
|
23645
|
-
return
|
|
23645
|
+
return KT(t.viz.type) ? /* @__PURE__ */ i(V, { sx: {
|
|
23646
23646
|
position: "absolute",
|
|
23647
23647
|
top: 0,
|
|
23648
23648
|
left: 0,
|
|
@@ -23660,17 +23660,17 @@ const KT = D(({
|
|
|
23660
23660
|
] })
|
|
23661
23661
|
] }) }) : null;
|
|
23662
23662
|
});
|
|
23663
|
-
function
|
|
23663
|
+
function JT(e) {
|
|
23664
23664
|
return e.style.border.enabled ? {} : {
|
|
23665
23665
|
border: "1px dashed transparent"
|
|
23666
23666
|
};
|
|
23667
23667
|
}
|
|
23668
|
-
const
|
|
23668
|
+
const tu = D(({
|
|
23669
23669
|
panel: e,
|
|
23670
23670
|
view: t
|
|
23671
23671
|
}) => {
|
|
23672
|
-
const n =
|
|
23673
|
-
return /* @__PURE__ */ i(eu, { panel: e, panelStyle: n, dropdownContent: /* @__PURE__ */ i(
|
|
23672
|
+
const n = JT(e);
|
|
23673
|
+
return /* @__PURE__ */ i(eu, { panel: e, panelStyle: n, dropdownContent: /* @__PURE__ */ i(XT, { view: t }) });
|
|
23674
23674
|
}), ZT = {
|
|
23675
23675
|
modal: {
|
|
23676
23676
|
display: "flex",
|
|
@@ -23689,7 +23689,7 @@ const JT = D(({
|
|
|
23689
23689
|
return /* @__PURE__ */ i(Me, { opened: !0, fullScreen: !0, onClose: r, title: /* @__PURE__ */ i(M, { color: "blue", size: "xs", onClick: r, leftIcon: /* @__PURE__ */ i(fh, { size: 20 }), children: "Exit fullscreen" }), styles: ZT, children: /* @__PURE__ */ i(w, { grow: !0, sx: {
|
|
23690
23690
|
flexGrow: 1,
|
|
23691
23691
|
flexShrink: 0
|
|
23692
|
-
}, children: /* @__PURE__ */ i(
|
|
23692
|
+
}, children: /* @__PURE__ */ i(tu, { view: t, panel: n }) }) });
|
|
23693
23693
|
});
|
|
23694
23694
|
function tD(e, t, n) {
|
|
23695
23695
|
const {
|
|
@@ -23753,7 +23753,7 @@ const nD = R.forwardRef(({
|
|
|
23753
23753
|
...l.layout
|
|
23754
23754
|
}, className: "panel-grid-item", children: [
|
|
23755
23755
|
/* @__PURE__ */ i(nD, { h: l.layout.h }),
|
|
23756
|
-
/* @__PURE__ */ i(
|
|
23756
|
+
/* @__PURE__ */ i(UT, { view: e, panel: l })
|
|
23757
23757
|
] }, l.id)) });
|
|
23758
23758
|
}), aD = Kl(Ul), sD = D(function({
|
|
23759
23759
|
view: t,
|
|
@@ -29765,11 +29765,11 @@ export {
|
|
|
29765
29765
|
eD as FullScreenPanel,
|
|
29766
29766
|
pc as FullScreenPanelContext,
|
|
29767
29767
|
ia as LayoutStateContext,
|
|
29768
|
-
|
|
29768
|
+
UT as Panel,
|
|
29769
29769
|
uc as PanelContextProvider,
|
|
29770
29770
|
GT as PanelErrorOrStateMessage,
|
|
29771
29771
|
AD as PanelModel,
|
|
29772
|
-
|
|
29772
|
+
tu as PanelRender,
|
|
29773
29773
|
Zd as PanelVizSection,
|
|
29774
29774
|
RD as PanelsModel,
|
|
29775
29775
|
SD as QueriesModel,
|