@iota-uz/sdk 0.25.0 → 0.26.0
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/client-host/identity.d.ts +4 -4
- package/dist/client-host/identity.js +2 -2
- package/dist/lens/{CascadePanel-BtbOZhOb.js → CascadePanel-DXykK3Re.js} +1 -1
- package/dist/lens/{ChartDataEquivalent-B_VnLyCe.js → ChartDataEquivalent--6Rkhu3O.js} +1 -1
- package/dist/lens/{ChartPanel-DsTqmKHA.js → ChartPanel-Cvy_m7Mj.js} +49 -49
- package/dist/lens/{CoveragePanel-fK6VF6ip.js → CoveragePanel-Ck4WKij9.js} +1 -1
- package/dist/lens/DashboardPanels.d.ts.map +1 -1
- package/dist/lens/{GaugePanel-DtNGiaxC.js → GaugePanel-yQnz97pE.js} +1 -1
- package/dist/lens/LensDashboard.d.ts +15 -0
- package/dist/lens/LensDashboard.d.ts.map +1 -1
- package/dist/lens/{MapPanel-MKRnBMIx.js → MapPanel-DAsqidkl.js} +3 -3
- package/dist/lens/{MetricFlowPanel-CfE0Oq2N.js → MetricFlowPanel-DiV_hXg2.js} +9 -9
- package/dist/lens/{MetricHierarchyPanel-CzVsSzkl.js → MetricHierarchyPanel-Beb2HL8v.js} +2 -2
- package/dist/lens/{MetricRelationshipPanel-DWCQt1wI.js → MetricRelationshipPanel-WDA2X5G5.js} +2 -2
- package/dist/lens/{PrintReport-DrPutDli.js → PrintReport-DHVB36F1.js} +5 -5
- package/dist/lens/{TablePanel-CsiFrHsb.js → TablePanel-BSL-Qda_.js} +24 -24
- package/dist/lens/{adapter-Bti3q4E2.js → adapter-C8B6E1pp.js} +7 -7
- package/dist/lens/contract/schemas.d.ts +2 -0
- package/dist/lens/contract/schemas.d.ts.map +1 -1
- package/dist/lens/contract/types.d.ts +7 -0
- package/dist/lens/contract/types.d.ts.map +1 -1
- package/dist/lens/controls/ScopedFilterControls.d.ts +42 -2
- package/dist/lens/controls/ScopedFilterControls.d.ts.map +1 -1
- package/dist/lens/explore/ExplorePanel.d.ts.map +1 -1
- package/dist/lens/icons.d.ts +2 -0
- package/dist/lens/icons.d.ts.map +1 -1
- package/dist/lens/{index-ClFSCk5e.js → index-Bv8OdTZx.js} +1 -1
- package/dist/lens/index-D0vCs6QJ.js +16447 -0
- package/dist/lens/index.d.ts +24 -2
- package/dist/lens/index.d.ts.map +1 -1
- package/dist/lens/index.js +52 -23
- package/dist/lens/{install-DNQZLCsb.js → install-B6C6Ofrh.js} +1 -1
- package/dist/lens/{install-B_IQcl0o.js → install-BZZf8fGf.js} +1 -1
- package/dist/lens/{install-CWeTmh0n.js → install-CJiBw6fK.js} +1 -1
- package/dist/lens/{install-BTWUhDdp.js → install-Cc71ldkx.js} +1 -1
- package/dist/lens/{keys-c3W9dLJd.js → keys-CDuPhptC.js} +2 -2
- package/dist/lens/{metricViews-DsuhZ33b.js → metricViews-DSt7U_tR.js} +1 -1
- package/dist/lens/panels/PanelFrame.d.ts +5 -0
- package/dist/lens/panels/PanelFrame.d.ts.map +1 -1
- package/dist/lens/panels/context.d.ts +5 -0
- package/dist/lens/panels/context.d.ts.map +1 -1
- package/dist/lens/panels/drillGate.d.ts +21 -0
- package/dist/lens/panels/drillGate.d.ts.map +1 -0
- package/dist/lens/panels/focusTrap.d.ts.map +1 -1
- package/dist/lens/panels/hostRenderers.d.ts +34 -0
- package/dist/lens/panels/hostRenderers.d.ts.map +1 -0
- package/dist/lens/panels/registry.d.ts.map +1 -1
- package/dist/lens/{prefetch-C7Ln77Nc.js → prefetch-CdqkJU0Q.js} +2 -2
- package/dist/lens/{prefetchPanels-4EYtQSVk.js → prefetchPanels-DWdWaKBW.js} +1 -1
- package/dist/lens/{print-I2mxMp5M.js → print-pZ6_K3m5.js} +1 -1
- package/dist/lens/reports/ReportCompositionEditor.d.ts +46 -0
- package/dist/lens/reports/ReportCompositionEditor.d.ts.map +1 -0
- package/dist/lens/reports/ReportDestinationPicker.d.ts +23 -0
- package/dist/lens/reports/ReportDestinationPicker.d.ts.map +1 -0
- package/dist/lens/reports/ReportDialog.d.ts +26 -0
- package/dist/lens/reports/ReportDialog.d.ts.map +1 -0
- package/dist/lens/reports/ReportPicker.d.ts +35 -0
- package/dist/lens/reports/ReportPicker.d.ts.map +1 -0
- package/dist/lens/reports/ReportPlacementMenu.d.ts +14 -0
- package/dist/lens/reports/ReportPlacementMenu.d.ts.map +1 -0
- package/dist/lens/reports/ReportPlacementStatus.d.ts +30 -0
- package/dist/lens/reports/ReportPlacementStatus.d.ts.map +1 -0
- package/dist/lens/reports/ReportVersionNotice.d.ts +11 -0
- package/dist/lens/reports/ReportVersionNotice.d.ts.map +1 -0
- package/dist/lens/reports/contract/schemas.d.ts +9 -0
- package/dist/lens/reports/contract/schemas.d.ts.map +1 -1
- package/dist/lens/reports/contract/types.d.ts +41 -0
- package/dist/lens/reports/contract/types.d.ts.map +1 -1
- package/dist/lens/reports/draft.d.ts +28 -0
- package/dist/lens/reports/draft.d.ts.map +1 -1
- package/dist/lens/reports/filterDraft.d.ts +1 -0
- package/dist/lens/reports/filterDraft.d.ts.map +1 -1
- package/dist/lens/reports/guard.d.ts +40 -0
- package/dist/lens/reports/guard.d.ts.map +1 -0
- package/dist/lens/reports/layout.d.ts +34 -0
- package/dist/lens/reports/layout.d.ts.map +1 -0
- package/dist/lens/reports/picker.d.ts +97 -0
- package/dist/lens/reports/picker.d.ts.map +1 -0
- package/dist/lens/reports/placementHost.d.ts +61 -0
- package/dist/lens/reports/placementHost.d.ts.map +1 -0
- package/dist/lens/reports/unavailable.d.ts +13 -0
- package/dist/lens/reports/unavailable.d.ts.map +1 -0
- package/dist/lens/reports/version.d.ts +35 -0
- package/dist/lens/reports/version.d.ts.map +1 -0
- package/dist/lens/runtime/provider.d.ts +11 -0
- package/dist/lens/runtime/provider.d.ts.map +1 -1
- package/dist/lens/{scales-GElcTgGV.js → scales-BgYelCDe.js} +1 -1
- package/dist/lens/style.css +1 -1
- package/dist/sdk-identity.cjs +3 -3
- package/dist/sdk-identity.js +3 -3
- package/dist/sdk-identity.json +2 -2
- package/package.json +1 -1
- package/dist/lens/index-Cl9uN3D5.js +0 -13808
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const SDK_RELEASE_VERSION = "0.
|
|
2
|
-
export declare const SDK_SOURCE_COMMIT = "
|
|
1
|
+
export declare const SDK_RELEASE_VERSION = "0.26.0";
|
|
2
|
+
export declare const SDK_SOURCE_COMMIT = "5c00b176a23cef4a7e4dfd8dd25e01ed223f8f5c";
|
|
3
3
|
export declare const SDK_PROTOCOL_VERSION = "1.0.0";
|
|
4
4
|
export declare const SDK_IDENTITY: Readonly<{
|
|
5
|
-
releaseVersion: "0.
|
|
6
|
-
sourceCommit: "
|
|
5
|
+
releaseVersion: "0.26.0";
|
|
6
|
+
sourceCommit: "5c00b176a23cef4a7e4dfd8dd25e01ed223f8f5c";
|
|
7
7
|
protocolVersion: "1.0.0";
|
|
8
8
|
}>;
|
|
9
9
|
export interface SDKRuntimeIdentity {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CLIENT_HOST_PROTOCOL_VERSION } from './protocol';
|
|
2
|
-
export const SDK_RELEASE_VERSION = '0.
|
|
3
|
-
export const SDK_SOURCE_COMMIT = '
|
|
2
|
+
export const SDK_RELEASE_VERSION = '0.26.0';
|
|
3
|
+
export const SDK_SOURCE_COMMIT = '5c00b176a23cef4a7e4dfd8dd25e01ed223f8f5c';
|
|
4
4
|
export const SDK_PROTOCOL_VERSION = CLIENT_HOST_PROTOCOL_VERSION;
|
|
5
5
|
export const SDK_IDENTITY = Object.freeze({
|
|
6
6
|
releaseVersion: SDK_RELEASE_VERSION,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { insert as o, memo as B, createComponent as x, effect as H, setAttribute as y, template as M, delegateEvents as vt, setStyleProperty as P, style as ht, spread as it, use as J, Portal as ft, addEventListener as Q, mergeProps as mt } from "solid-js/web";
|
|
2
2
|
import { createSignal as K, onCleanup as X, children as bt, Show as p, For as G, createEffect as q } from "solid-js";
|
|
3
|
-
import { u as ot, V as gt, X as wt, Y as $t, Z as xt, _ as rt, $ as kt, a0 as _t, a1 as A, a2 as U, a3 as D, a4 as Ct, t as Mt, M as tt, N as Lt, a5 as yt, I as St, A as It, P as Tt, J as pt } from "./index-
|
|
3
|
+
import { u as ot, V as gt, X as wt, Y as $t, Z as xt, _ as rt, $ as kt, a0 as _t, a1 as A, a2 as U, a3 as D, a4 as Ct, t as Mt, M as tt, N as Lt, a5 as yt, I as St, A as It, P as Tt, J as pt } from "./index-D0vCs6QJ.js";
|
|
4
4
|
import "solid-js/store";
|
|
5
5
|
var Vt = /* @__PURE__ */ M('<button class="lens-icon-button lens-tooltip-copy"type=button>');
|
|
6
6
|
function et(t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { insert as u, createComponent as g, memo as v, effect as b, setAttribute as $, template as m, delegateEvents as k } from "solid-js/web";
|
|
2
2
|
import { For as _ } from "solid-js";
|
|
3
3
|
import { r as w } from "./adapter-CgoRd_uP.js";
|
|
4
|
-
import { f as h } from "./keys-
|
|
4
|
+
import { f as h } from "./keys-CDuPhptC.js";
|
|
5
5
|
var E = /* @__PURE__ */ m("<div class=lens-chart-keyboard-actions role=list>"), L = /* @__PURE__ */ m("<div role=listitem>"), x = /* @__PURE__ */ m("<button type=button>"), C = /* @__PURE__ */ m("<span class=lens:sr-only>");
|
|
6
6
|
function y(e) {
|
|
7
7
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint" ? String(e) : "";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { insert as i, memo as P, effect as G, setAttribute as H, createComponent as K, className as Ge, template as C, addEventListener as bt, style as ct, use as St, setStyleProperty as $t, delegateEvents as xt } from "solid-js/web";
|
|
2
2
|
import { createSignal as se, createMemo as R, onCleanup as Be, untrack as De, createEffect as xe, For as Je, Show as ne } from "solid-js";
|
|
3
3
|
import { r as _t } from "./adapter-CgoRd_uP.js";
|
|
4
|
-
import { C as It, f as Ct } from "./keys-
|
|
5
|
-
import { s as Lt, o as Pe, c as
|
|
6
|
-
import { t as Rt, u as
|
|
7
|
-
import { C as tn, c as nn } from "./ChartDataEquivalent
|
|
8
|
-
var on = /* @__PURE__ */ C("<div class=lens-temporal-controls>"), rn = /* @__PURE__ */ C("<button class=lens-temporal-toggle type=button>"), an = /* @__PURE__ */ C("<select class=lens-temporal-select><option value>"), ln = /* @__PURE__ */ C("<option>"), sn = /* @__PURE__ */ C("<span class=lens-chart-source-note role=note>"), cn = /* @__PURE__ */ C("<span class=lens-chart-log-scale role=note><span>"), dn = /* @__PURE__ */ C("<span class=lens-chart-period-note role=note>"), un = /* @__PURE__ */ C("<button class=lens-chart-collapse-other type=button>"), gn = /* @__PURE__ */ C("<button class=lens-chart-reset-zoom type=button>"), mn = /* @__PURE__ */ C("<div class=lens-chart-notes><span class=lens-chart-notes-actions>"), hn = /* @__PURE__ */ C("<div><div class=lens-chart-area>"), fn = /* @__PURE__ */ C("<div class=lens-chart-empty role=status><span class=lens-chart-empty-note></span><button class=lens-chart-empty-action type=button>"), vn = /* @__PURE__ */ C("<span class=lens-chart-compact-empty>"), wn = /* @__PURE__ */ C("<strong class=lens-chart-compact-value>"), pn = /* @__PURE__ */ C("<span class=lens-chart-compact-label>"), yn = /* @__PURE__ */ C('<button class="lens-chart-compact lens-chart-compact-action"type=button>'), bn = /* @__PURE__ */ C("<div class=lens-chart-compact role=img>"), Sn = /* @__PURE__ */ C("<span class=lens-plot-total><span class=lens-panel-total-label>:</span> "), $n = /* @__PURE__ */ C('<div class=lens-chart-legend-shell><div class=lens-chart-legend-scroll-frame><ul class=lens-chart-legend role=region></ul><span aria-hidden=true class="lens-chart-legend-edge lens-chart-legend-edge-top"></span><span aria-hidden=true class="lens-chart-legend-edge lens-chart-legend-edge-bottom">'), xn = /* @__PURE__ */ C("<div class=lens-chart-legend-controls><div class=lens-chart-legend-tools role=group>"), Qe = /* @__PURE__ */ C("<button type=button>"), _n = /* @__PURE__ */ C("<button class=lens-chart-legend-invert type=button>"), In = /* @__PURE__ */ C("<label class=lens-chart-legend-search><span class=lens:sr-only></span><input class=lens-facet-search type=search>"), Cn = /* @__PURE__ */ C("<li class=lens-chart-legend-item><button type=button><span aria-hidden=true class=lens-chart-legend-mark></span><span class=lens-chart-legend-label></span><span aria-hidden=true class=lens-chart-legend-visibility>"), Ln = /* @__PURE__ */ C("<li class=lens-chart-legend-heading>"), ht = /* @__PURE__ */ C("<span class=lens-chart-legend-value>"),
|
|
4
|
+
import { C as It, f as Ct } from "./keys-CDuPhptC.js";
|
|
5
|
+
import { s as Lt, o as Pe, c as kt, a as Ft, b as At, d as Kt, f as Tt } from "./scales-BgYelCDe.js";
|
|
6
|
+
import { t as Rt, u as Fe, g as dt, x as Et, y as nt, z as ot, l as Ht, A as Bt, B as Mt, C as Ot, D as Nt, a as Ut, E as Vt, G as zt, H as rt, m as ut, n as gt, k as mt, I as Dt, J as Pt, o as qt, K as Wt, L as Zt, P as jt, W as Qt, M as D, N as at, O as Gt, Q as qe, R as Jt, S as Yt, T as Xt, U as en } from "./index-D0vCs6QJ.js";
|
|
7
|
+
import { C as tn, c as nn } from "./ChartDataEquivalent--6Rkhu3O.js";
|
|
8
|
+
var on = /* @__PURE__ */ C("<div class=lens-temporal-controls>"), rn = /* @__PURE__ */ C("<button class=lens-temporal-toggle type=button>"), an = /* @__PURE__ */ C("<select class=lens-temporal-select><option value>"), ln = /* @__PURE__ */ C("<option>"), sn = /* @__PURE__ */ C("<span class=lens-chart-source-note role=note>"), cn = /* @__PURE__ */ C("<span class=lens-chart-log-scale role=note><span>"), dn = /* @__PURE__ */ C("<span class=lens-chart-period-note role=note>"), un = /* @__PURE__ */ C("<button class=lens-chart-collapse-other type=button>"), gn = /* @__PURE__ */ C("<button class=lens-chart-reset-zoom type=button>"), mn = /* @__PURE__ */ C("<div class=lens-chart-notes><span class=lens-chart-notes-actions>"), hn = /* @__PURE__ */ C("<div><div class=lens-chart-area>"), fn = /* @__PURE__ */ C("<div class=lens-chart-empty role=status><span class=lens-chart-empty-note></span><button class=lens-chart-empty-action type=button>"), vn = /* @__PURE__ */ C("<span class=lens-chart-compact-empty>"), wn = /* @__PURE__ */ C("<strong class=lens-chart-compact-value>"), pn = /* @__PURE__ */ C("<span class=lens-chart-compact-label>"), yn = /* @__PURE__ */ C('<button class="lens-chart-compact lens-chart-compact-action"type=button>'), bn = /* @__PURE__ */ C("<div class=lens-chart-compact role=img>"), Sn = /* @__PURE__ */ C("<span class=lens-plot-total><span class=lens-panel-total-label>:</span> "), $n = /* @__PURE__ */ C('<div class=lens-chart-legend-shell><div class=lens-chart-legend-scroll-frame><ul class=lens-chart-legend role=region></ul><span aria-hidden=true class="lens-chart-legend-edge lens-chart-legend-edge-top"></span><span aria-hidden=true class="lens-chart-legend-edge lens-chart-legend-edge-bottom">'), xn = /* @__PURE__ */ C("<div class=lens-chart-legend-controls><div class=lens-chart-legend-tools role=group>"), Qe = /* @__PURE__ */ C("<button type=button>"), _n = /* @__PURE__ */ C("<button class=lens-chart-legend-invert type=button>"), In = /* @__PURE__ */ C("<label class=lens-chart-legend-search><span class=lens:sr-only></span><input class=lens-facet-search type=search>"), Cn = /* @__PURE__ */ C("<li class=lens-chart-legend-item><button type=button><span aria-hidden=true class=lens-chart-legend-mark></span><span class=lens-chart-legend-label></span><span aria-hidden=true class=lens-chart-legend-visibility>"), Ln = /* @__PURE__ */ C("<li class=lens-chart-legend-heading>"), ht = /* @__PURE__ */ C("<span class=lens-chart-legend-value>"), kn = /* @__PURE__ */ C("<button class=lens-chart-legend-overflow type=button>"), Fn = /* @__PURE__ */ C('<ul class="lens-chart-legend lens-chart-overlay-legend"><li class=lens-chart-legend-heading>'), An = /* @__PURE__ */ C("<li class=lens-chart-legend-item><button type=button><span aria-hidden=true class=lens-chart-overlay-mark></span><span class=lens-chart-legend-label>"), Kn = /* @__PURE__ */ C("<span aria-hidden=true class=lens-chart-legend-separator>·");
|
|
9
9
|
const Tn = 0.02, Rn = en, En = 4;
|
|
10
10
|
function Hn(e) {
|
|
11
11
|
const t = D(), o = D(e.encoding.label ? e.format[e.encoding.label] : void 0), r = D(e.encoding.value ? e.format[e.encoding.value] : void 0), g = D(e.encoding.previous ? e.format[e.encoding.previous] : void 0), l = D(e.encoding.lower ? e.format[e.encoding.lower] : void 0), _ = D(e.encoding.q1 ? e.format[e.encoding.q1] : void 0), I = D(e.encoding.median ? e.format[e.encoding.median] : void 0), b = D(e.encoding.q3 ? e.format[e.encoding.q3] : void 0), $ = D(e.encoding.upper ? e.format[e.encoding.upper] : void 0), S = D(e.encoding.id ? e.format[e.encoding.id] : void 0), B = D(e.encoding.series ? e.format[e.encoding.series] : void 0), v = D(e.encoding.category ? e.format[e.encoding.category] : void 0), m = D(e.encoding.cut ? e.format[e.encoding.cut] : void 0), M = D(e.encoding.cutLabel ? e.format[e.encoding.cutLabel] : void 0), q = D(e.encoding.final ? e.format[e.encoding.final] : void 0), oe = at(e.encoding.value ? e.format[e.encoding.value] : void 0), Q = at(e.encoding.median ? e.format[e.encoding.median] : void 0), w = R(() => {
|
|
@@ -59,7 +59,7 @@ function lt(e, t, o) {
|
|
|
59
59
|
const r = e.rows.findIndex((b, $) => We(e, t, $) === o);
|
|
60
60
|
if (r >= 0) return r;
|
|
61
61
|
const g = t.encoding.category ?? t.encoding.label, l = e.columns.findIndex((b) => b.name === g), _ = e.columns.findIndex((b) => b.name === t.encoding.series);
|
|
62
|
-
return l < 0 ? -1 : e.rows.findIndex((b) => Ct(
|
|
62
|
+
return l < 0 ? -1 : e.rows.findIndex((b) => Ct(ke(b[l]), _ >= 0 ? ke(b[_]) : "") === o);
|
|
63
63
|
}
|
|
64
64
|
function ft(e, t) {
|
|
65
65
|
return t.semantics !== "series" || !t.encoding.series ? -1 : e.columns.findIndex((o) => o.name === t.encoding.series);
|
|
@@ -78,7 +78,7 @@ function ve(e) {
|
|
|
78
78
|
if (Number.isFinite(t)) return t;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function ke(e) {
|
|
82
82
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint" ? String(e) : "";
|
|
83
83
|
}
|
|
84
84
|
function Mn(e, t) {
|
|
@@ -155,7 +155,7 @@ function it(e, t, o) {
|
|
|
155
155
|
}
|
|
156
156
|
function Yn(e) {
|
|
157
157
|
var tt;
|
|
158
|
-
const t = e.panel, o = Rt(t.id), r =
|
|
158
|
+
const t = e.panel, o = Rt(t.id), r = Fe(), {
|
|
159
159
|
document: g,
|
|
160
160
|
navigation: l
|
|
161
161
|
} = dt(), {
|
|
@@ -206,7 +206,7 @@ function Yn(e) {
|
|
|
206
206
|
const s = Nt(be().value, {
|
|
207
207
|
fields: Ut(n, n.rows[a]),
|
|
208
208
|
variables: {}
|
|
209
|
-
}), d =
|
|
209
|
+
}), d = ke(s);
|
|
210
210
|
if (d !== "" && we().has(d)) return We(n, t, a);
|
|
211
211
|
}
|
|
212
212
|
}), le = t.kind, Te = () => o.data ? Mn(o.data, t) <= 1 && On(o.data, t) <= 1 : !1, Ne = () => `${l.panelId === t.id ? l.path.join("|") : ""}:${l.perspectiveId ?? ""}`;
|
|
@@ -293,10 +293,10 @@ function Yn(e) {
|
|
|
293
293
|
}, p = () => {
|
|
294
294
|
var n;
|
|
295
295
|
return (n = L()) == null ? void 0 : n.colors;
|
|
296
|
-
},
|
|
296
|
+
}, k = (n) => {
|
|
297
297
|
const a = new Set(X());
|
|
298
298
|
a.has(n) ? a.delete(n) : a.add(n), c(a);
|
|
299
|
-
},
|
|
299
|
+
}, F = R(() => {
|
|
300
300
|
if (ee())
|
|
301
301
|
return (n) => {
|
|
302
302
|
var a;
|
|
@@ -416,18 +416,18 @@ function Yn(e) {
|
|
|
416
416
|
hiddenOverlays: Ee(),
|
|
417
417
|
valueAxis: t.valueAxis,
|
|
418
418
|
valueUnit: Dt(t.encoding.value ? t.format[t.encoding.value] : void 0),
|
|
419
|
-
expandable:
|
|
419
|
+
expandable: F()
|
|
420
420
|
} : void 0;
|
|
421
421
|
}), he = R(() => {
|
|
422
422
|
var a, s;
|
|
423
423
|
if (!t.temporal && !t.encoding.previous) return [];
|
|
424
424
|
const n = t.encoding.category ?? t.encoding.label;
|
|
425
|
-
return
|
|
425
|
+
return kt({
|
|
426
426
|
temporal: t.temporal,
|
|
427
427
|
hasComparison: !!t.encoding.previous,
|
|
428
428
|
labels: pe(),
|
|
429
429
|
formatValue: (d) => I(t.encoding.value ?? "", d),
|
|
430
|
-
formatCategory:
|
|
430
|
+
formatCategory: Ft({
|
|
431
431
|
format: (d) => I(n ?? "", d),
|
|
432
432
|
isTime: ((a = o.data) == null ? void 0 : a.columns.some((d) => d.name === n && d.type === "time")) === !0,
|
|
433
433
|
hasDeclaredFormat: !!(n && t.format[n]),
|
|
@@ -647,7 +647,7 @@ function Yn(e) {
|
|
|
647
647
|
return X();
|
|
648
648
|
},
|
|
649
649
|
onSetHidden: c,
|
|
650
|
-
onToggle:
|
|
650
|
+
onToggle: k,
|
|
651
651
|
panel: t,
|
|
652
652
|
get presentation() {
|
|
653
653
|
return me();
|
|
@@ -662,7 +662,7 @@ function Yn(e) {
|
|
|
662
662
|
});
|
|
663
663
|
}
|
|
664
664
|
function Un(e) {
|
|
665
|
-
const t =
|
|
665
|
+
const t = Fe();
|
|
666
666
|
return (() => {
|
|
667
667
|
var o = fn(), r = o.firstChild, g = r.nextSibling;
|
|
668
668
|
return i(r, () => t("chart.allSeriesHidden", "All series are hidden")), bt(g, "click", e.onShowAll, !0), i(g, () => t("chart.showAllSeries", "Show all series")), o;
|
|
@@ -670,7 +670,7 @@ function Un(e) {
|
|
|
670
670
|
}
|
|
671
671
|
function Vn(e) {
|
|
672
672
|
var oe, Q;
|
|
673
|
-
const t =
|
|
673
|
+
const t = Fe(), o = [e.panel.encoding.category, e.panel.encoding.label].find((w) => w !== void 0 && e.frame.columns.some((W) => W.name === w)), r = e.panel.encoding.value, g = e.frame.columns.findIndex((w) => w.name === o), l = e.frame.columns.findIndex((w) => w.name === r), _ = D(r ? e.panel.format[r] : void 0), I = l < 0 ? void 0 : e.frame.rows.reduce((w, W) => w + (ve(W[l]) ?? 0), 0), b = g < 0 || (oe = e.frame.rows[0]) == null ? void 0 : oe[g], $ = ke(b), S = _(I), B = e.panel.encoding.id ?? o, v = e.frame.columns.findIndex((w) => w.name === B), m = ke(v < 0 || (Q = e.frame.rows[0]) == null ? void 0 : Q[v]), M = P(() => P(() => e.frame.rows.length === 0)() ? (() => {
|
|
674
674
|
var w = vn();
|
|
675
675
|
return i(w, () => t("panel.empty", "No data")), w;
|
|
676
676
|
})() : [$ && (() => {
|
|
@@ -694,7 +694,7 @@ function Vn(e) {
|
|
|
694
694
|
})();
|
|
695
695
|
}
|
|
696
696
|
function zn(e) {
|
|
697
|
-
const t =
|
|
697
|
+
const t = Fe(), o = D(e.panel.encoding.value ? e.panel.format[e.panel.encoding.value] : void 0);
|
|
698
698
|
return (() => {
|
|
699
699
|
var r = Sn(), g = r.firstChild, l = g.firstChild;
|
|
700
700
|
return g.nextSibling, i(g, () => t("panel.total", "Total"), l), i(r, () => o(e.total), null), r;
|
|
@@ -705,7 +705,7 @@ function Dn(e) {
|
|
|
705
705
|
const t = e.panel, o = e.frame, {
|
|
706
706
|
document: r,
|
|
707
707
|
navigation: g
|
|
708
|
-
} = dt(), l =
|
|
708
|
+
} = dt(), l = Fe(), [_, I] = se("");
|
|
709
709
|
let b;
|
|
710
710
|
const [$, S] = se({
|
|
711
711
|
top: !1,
|
|
@@ -716,30 +716,30 @@ function Dn(e) {
|
|
|
716
716
|
labels: re
|
|
717
717
|
}), ee = t.encoding.id ? o.columns.findIndex((c) => c.name === t.encoding.id) : -1, Ie = t.encoding.series ? o.columns.findIndex((c) => c.name === t.encoding.series) : -1, J = ((Ne = t.radial) == null ? void 0 : Ne.mode) === "partition", x = R(() => {
|
|
718
718
|
var ge, me;
|
|
719
|
-
const c = o.rows.map((p,
|
|
720
|
-
const
|
|
721
|
-
return String(typeof
|
|
722
|
-
}), A = o.rows.map((p,
|
|
723
|
-
if (q < 0) return c[
|
|
724
|
-
const
|
|
725
|
-
return String(typeof
|
|
719
|
+
const c = o.rows.map((p, k) => {
|
|
720
|
+
const F = ee >= 0 ? p[ee] : p[W];
|
|
721
|
+
return String(typeof F == "string" || typeof F == "number" || typeof F == "bigint" ? F : k);
|
|
722
|
+
}), A = o.rows.map((p, k) => {
|
|
723
|
+
if (q < 0) return c[k];
|
|
724
|
+
const F = p[q];
|
|
725
|
+
return String(typeof F == "string" || typeof F == "number" || typeof F == "bigint" ? F : k);
|
|
726
726
|
});
|
|
727
|
-
let y = o.rows.map((p,
|
|
727
|
+
let y = o.rows.map((p, k) => k);
|
|
728
728
|
if (q >= 0 || J) {
|
|
729
729
|
const p = /* @__PURE__ */ new Set();
|
|
730
730
|
y = [];
|
|
731
|
-
for (let
|
|
732
|
-
const
|
|
733
|
-
p.has(
|
|
731
|
+
for (let k = 0; k < o.rows.length; k += 1) {
|
|
732
|
+
const F = A[k];
|
|
733
|
+
p.has(F) || (p.add(F), y.push(k));
|
|
734
734
|
}
|
|
735
735
|
}
|
|
736
|
-
const f = y.map((p) => A[p]), L = new Map(y.map((p,
|
|
736
|
+
const f = y.map((p) => A[p]), L = new Map(y.map((p, k) => [p, k])), E = /* @__PURE__ */ new Map();
|
|
737
737
|
J && c.forEach((p) => {
|
|
738
738
|
E.has(p) || E.set(p, E.size);
|
|
739
739
|
});
|
|
740
740
|
const O = new Map((((ge = t.radial) == null ? void 0 : ge.rings) ?? []).map((p) => [p.key, p.total])), h = /* @__PURE__ */ new Map();
|
|
741
741
|
for (let p = 0; p < o.rows.length; p += 1) {
|
|
742
|
-
const
|
|
742
|
+
const k = Ie >= 0 ? (me = o.rows[p]) == null ? void 0 : me[Ie] : void 0, F = J && typeof k == "string" ? k : "", V = J ? O.get(F) ?? e.total : e.total, U = J ? F : String(V), Se = h.get(U) ?? {
|
|
743
743
|
denominator: V,
|
|
744
744
|
indices: []
|
|
745
745
|
};
|
|
@@ -748,29 +748,29 @@ function Dn(e) {
|
|
|
748
748
|
const T = /* @__PURE__ */ new Map();
|
|
749
749
|
for (const {
|
|
750
750
|
denominator: p,
|
|
751
|
-
indices:
|
|
751
|
+
indices: k
|
|
752
752
|
} of h.values()) {
|
|
753
|
-
const
|
|
753
|
+
const F = k.map((V) => {
|
|
754
754
|
var U;
|
|
755
755
|
return ae >= 0 ? ve((U = o.rows[V]) == null ? void 0 : U[ae]) : void 0;
|
|
756
756
|
});
|
|
757
|
-
Kt(
|
|
757
|
+
Kt(F, p).forEach((V, U) => T.set(k[U], V));
|
|
758
758
|
}
|
|
759
759
|
const N = /* @__PURE__ */ new Map();
|
|
760
760
|
J && c.forEach((p) => N.set(p, (N.get(p) ?? 0) + 1));
|
|
761
761
|
const Z = /* @__PURE__ */ new Map();
|
|
762
|
-
ae >= 0 && o.rows.forEach((p,
|
|
762
|
+
ae >= 0 && o.rows.forEach((p, k) => {
|
|
763
763
|
var U;
|
|
764
|
-
const
|
|
765
|
-
if (
|
|
766
|
-
const V = A[
|
|
767
|
-
q >= 0 && Q && ((U = t.format[Q]) == null ? void 0 : U.kind) !== "percent" ? Z.set(V, (Z.get(V) ?? 0) +
|
|
764
|
+
const F = ve(p[ae]);
|
|
765
|
+
if (F === void 0) return;
|
|
766
|
+
const V = A[k];
|
|
767
|
+
q >= 0 && Q && ((U = t.format[Q]) == null ? void 0 : U.kind) !== "percent" ? Z.set(V, (Z.get(V) ?? 0) + F) : Z.set(V, F);
|
|
768
768
|
});
|
|
769
769
|
const ce = /* @__PURE__ */ new Map();
|
|
770
770
|
return J && Ie >= 0 && y.forEach((p) => {
|
|
771
|
-
var
|
|
772
|
-
const
|
|
773
|
-
typeof
|
|
771
|
+
var F;
|
|
772
|
+
const k = (F = o.rows[p]) == null ? void 0 : F[Ie];
|
|
773
|
+
typeof k == "string" && ce.set(p, k);
|
|
774
774
|
}), {
|
|
775
775
|
allKeys: f,
|
|
776
776
|
categoryOrder: E,
|
|
@@ -791,7 +791,7 @@ function Dn(e) {
|
|
|
791
791
|
}, Me = ((Re = e.presentation) == null ? void 0 : Re.legendValue) === "percent", Ae = (c) => q >= 0 ? "value" : Me ? "percent" : J ? x().rowsPerKey.get(x().rowKeys[c]) === 1 ? "percent" : "none" : "value", Oe = () => _().trim().toLocaleLowerCase(), Ke = R(() => Oe() === "" ? x().entries : x().entries.filter((c) => {
|
|
792
792
|
var y;
|
|
793
793
|
const A = (y = o.rows[c]) == null ? void 0 : y[W];
|
|
794
|
-
return
|
|
794
|
+
return ke(A).toLocaleLowerCase().includes(Oe());
|
|
795
795
|
}));
|
|
796
796
|
xe(() => {
|
|
797
797
|
const c = b;
|
|
@@ -876,8 +876,8 @@ function Dn(e) {
|
|
|
876
876
|
return Ke();
|
|
877
877
|
},
|
|
878
878
|
children: (f, L) => {
|
|
879
|
-
var p,
|
|
880
|
-
const E = o.rows[f], O = x().entryPositions.get(f) ?? f, h = E[W], T = h == null ? "" : ue(h), N = x().entryKeys[f], Z = () => e.hidden.has(N), ce = x().ringByIndex.get(f), ge = L() > 0 ? x().ringByIndex.get(Ke()[L() - 1]) : void 0, me = ((
|
|
879
|
+
var p, k, F;
|
|
880
|
+
const E = o.rows[f], O = x().entryPositions.get(f) ?? f, h = E[W], T = h == null ? "" : ue(h), N = x().entryKeys[f], Z = () => e.hidden.has(N), ce = x().ringByIndex.get(f), ge = L() > 0 ? x().ringByIndex.get(Ke()[L() - 1]) : void 0, me = ((F = (k = (p = t.radial) == null ? void 0 : p.rings) == null ? void 0 : k.find((V) => V.key === ce)) == null ? void 0 : F.label) ?? ce;
|
|
881
881
|
return [ce && ce !== ge && (() => {
|
|
882
882
|
var V = Ln();
|
|
883
883
|
return i(V, me), V;
|
|
@@ -913,7 +913,7 @@ function Dn(e) {
|
|
|
913
913
|
})), i(c, (() => {
|
|
914
914
|
var f = P(() => !!(B() > 0 || m()));
|
|
915
915
|
return () => f() && (() => {
|
|
916
|
-
var L =
|
|
916
|
+
var L = kn();
|
|
917
917
|
return L.$$click = () => M((E) => !E), i(L, (() => {
|
|
918
918
|
var E = P(() => !!m());
|
|
919
919
|
return () => E() ? l("chart.legendCollapse", "Show fewer") : l("chart.legendMore", "{count} more", {
|
|
@@ -938,9 +938,9 @@ function Dn(e) {
|
|
|
938
938
|
});
|
|
939
939
|
}
|
|
940
940
|
function Pn(e) {
|
|
941
|
-
const t =
|
|
941
|
+
const t = Fe(), o = t("chart.legendOverlays", "Chart marks");
|
|
942
942
|
return (() => {
|
|
943
|
-
var r =
|
|
943
|
+
var r = Fn(), g = r.firstChild;
|
|
944
944
|
return H(r, "aria-label", o), i(g, o), i(r, K(Je, {
|
|
945
945
|
get each() {
|
|
946
946
|
return e.overlays;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createComponent as f, insert as c, memo as D, effect as _, setAttribute as k, setStyleProperty as E, addEventListener as J, template as h, className as K, style as O, delegateEvents as Q } from "solid-js/web";
|
|
2
2
|
import { createMemo as W, createSignal as X, For as R, Show as I } from "solid-js";
|
|
3
|
-
import { t as Y, u as Z, a1 as F, M as q,
|
|
3
|
+
import { t as Y, u as Z, a1 as F, M as q, g as ee, a6 as te, m as ae, A as re, P as ne, a7 as le, a2 as A, a3 as B } from "./index-D0vCs6QJ.js";
|
|
4
4
|
import "solid-js/store";
|
|
5
5
|
var oe = /* @__PURE__ */ h("<span>"), ie = /* @__PURE__ */ h("<div class=lens-coverage-bullet><div class=lens-coverage-track aria-hidden=true></div><span aria-hidden=true class=lens-coverage-bullet-marker>"), z = /* @__PURE__ */ h("<span class=lens-coverage-track-segment>"), se = /* @__PURE__ */ h("<div class=lens-coverage><p class=lens-coverage-headline><span class=lens-coverage-headline-value></span><span class=lens-coverage-headline-label></span></p><ul class=lens-coverage-legend>"), ce = /* @__PURE__ */ h("<div class=lens-coverage-track>"), de = /* @__PURE__ */ h("<span aria-hidden=true class=lens-coverage-legend-bullet>"), ve = /* @__PURE__ */ h("<span class=lens-coverage-legend-label>"), ue = /* @__PURE__ */ h("<span class=lens-coverage-legend-value>"), ge = /* @__PURE__ */ h("<span class=lens-coverage-legend-share>"), he = /* @__PURE__ */ h("<a class=lens-coverage-legend-link>"), me = /* @__PURE__ */ h("<li class=lens-coverage-legend-row>");
|
|
6
6
|
function be(t) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardPanels.d.ts","sourceRoot":"","sources":["../src/DashboardPanels.tsx"],"names":[],"mappings":"AACA,OAAO,EAWL,KAAK,GAAG,EACT,MAAM,UAAU,CAAA;AAEjB,OAAO,KAAK,EAAU,WAAW,EAAE,UAAU,EAAE,SAAS,EAAS,MAAM,YAAY,CAAA;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGzD,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAMvE,OAAO,EAA6B,KAAK,YAAY,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"DashboardPanels.d.ts","sourceRoot":"","sources":["../src/DashboardPanels.tsx"],"names":[],"mappings":"AACA,OAAO,EAWL,KAAK,GAAG,EACT,MAAM,UAAU,CAAA;AAEjB,OAAO,KAAK,EAAU,WAAW,EAAE,UAAU,EAAE,SAAS,EAAS,MAAM,YAAY,CAAA;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGzD,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAMvE,OAAO,EAA6B,KAAK,YAAY,EAAE,MAAM,YAAY,CAAA;AAmBzE,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,GAAG,CAAC,OAAO,CAAA;IACtD,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,YAAY,CAAA;CAC3B;AAWD,UAAU,aAAa;IACrB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB;AAgCD,wFAAwF;AACxF,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,EAAE,CAE/D;AAKD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,MAAM,CAY3D;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAYpE;AA4lBD,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,eA0H1D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createComponent as k, setAttribute as s, insert as l, effect as I, setStyleProperty as L, template as B } from "solid-js/web";
|
|
2
|
-
import { t as G, u as R, M as T, P as j } from "./index-
|
|
2
|
+
import { t as G, u as R, M as T, P as j } from "./index-D0vCs6QJ.js";
|
|
3
3
|
import "solid-js";
|
|
4
4
|
import "solid-js/store";
|
|
5
5
|
var q = /* @__PURE__ */ B('<div aria-valuemin=0 class=lens-gauge role=meter><svg aria-hidden=true class=lens-gauge-arc viewBox="0 0 120 70"><path class=lens-gauge-track d="M10 60 A50 50 0 0 1 110 60"pathLength=100></path><path class=lens-gauge-value-arc d="M10 60 A50 50 0 0 1 110 60"pathLength=100></path></svg><div class=lens-gauge-reading><strong></strong><span></span></div><div aria-hidden=true class=lens-gauge-scale><span></span><span>');
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import type { JSX } from 'solid-js';
|
|
2
2
|
import { type FilterDefaultsHost } from './reports/filterHost';
|
|
3
|
+
import { type ReportPlacementHost } from './reports/placementHost';
|
|
3
4
|
import { type DashboardDocument } from './contract';
|
|
5
|
+
import { type HostPanelRenderers } from './panels/hostRenderers';
|
|
6
|
+
import type { PanelRegistry } from './panels/registry';
|
|
4
7
|
import type { CalendarDate } from './controls';
|
|
5
8
|
import { type LensThemeMode } from './runtime';
|
|
6
9
|
export interface LensDashboardProps {
|
|
7
10
|
filterDefaultsHost?: FilterDefaultsHost;
|
|
11
|
+
/**
|
|
12
|
+
* Reusable report placements, keyed by placement id: version state,
|
|
13
|
+
* availability, source capabilities and the card menu's handlers.
|
|
14
|
+
*/
|
|
15
|
+
reportPlacementHost?: ReportPlacementHost;
|
|
16
|
+
/**
|
|
17
|
+
* Host renderers for panels whose document names one (panel.renderer). The
|
|
18
|
+
* SDK frame keeps title, states, retry, export and the placement menu.
|
|
19
|
+
*/
|
|
20
|
+
renderers?: HostPanelRenderers;
|
|
21
|
+
/** Replaces the built-in component of a panel kind. */
|
|
22
|
+
registry?: PanelRegistry;
|
|
8
23
|
toolbar?: (context: LensToolbarContext) => JSX.Element;
|
|
9
24
|
src?: string;
|
|
10
25
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LensDashboard.d.ts","sourceRoot":"","sources":["../src/LensDashboard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAA0B,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"LensDashboard.d.ts","sourceRoot":"","sources":["../src/LensDashboard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAA0B,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtF,OAAO,EAA2B,KAAK,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE3F,OAAO,EAAiB,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAElE,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAA8C,KAAK,aAAa,EAAE,MAAM,WAAW,CAAA;AAE1F,MAAM,WAAW,kBAAkB;IACjC,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;IACvC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;IACzC;;;OAGG;IACH,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,uDAAuD;IACvD,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,GAAG,CAAC,OAAO,CAAA;IACtD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,eAAe,CAAC,EAAE,iBAAiB,CAAA;IACnC,8EAA8E;IAC9E,WAAW,CAAC,EAAE,YAAY,CAAA;CAC3B;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAID,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,eA4BtD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createComponent as h, insert as U, effect as J, setAttribute as O, template as T } from "solid-js/web";
|
|
2
2
|
import { createSignal as x, createEffect as S, onCleanup as _, createMemo as P, Show as C } from "solid-js";
|
|
3
|
-
import { t as j,
|
|
3
|
+
import { t as j, g as D, x as G, u as q, M as B, A as K, P as W } from "./index-D0vCs6QJ.js";
|
|
4
4
|
import "solid-js/store";
|
|
5
|
-
import { C as z } from "./ChartDataEquivalent
|
|
6
|
-
import { C as H } from "./keys-
|
|
5
|
+
import { C as z } from "./ChartDataEquivalent--6Rkhu3O.js";
|
|
6
|
+
import { C as H } from "./keys-CDuPhptC.js";
|
|
7
7
|
var V = /* @__PURE__ */ T("<p class=lens-map-attribution role=note>");
|
|
8
8
|
const A = 5 * 1024 * 1024;
|
|
9
9
|
function X(r, e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createComponent as g, insert as s, memo as
|
|
1
|
+
import { createComponent as g, insert as s, memo as b, addEventListener as K, effect as y, setAttribute as v, className as L, template as o, delegateEvents as Q } from "solid-js/web";
|
|
2
2
|
import { createMemo as m, For as x, Show as F } from "solid-js";
|
|
3
|
-
import { t as A, u as C, a1 as N, M as V, a8 as R,
|
|
3
|
+
import { t as A, u as C, a1 as N, M as V, a8 as R, e as S, P as W } from "./index-D0vCs6QJ.js";
|
|
4
4
|
import "solid-js/store";
|
|
5
|
-
import { f as j, r as J, d as O, Q as T } from "./metricViews-
|
|
5
|
+
import { f as j, r as J, d as O, Q as T } from "./metricViews-DSt7U_tR.js";
|
|
6
6
|
var U = /* @__PURE__ */ o("<ol class=lens-flow>"), z = /* @__PURE__ */ o("<p class=lens-flow-reconcile>"), B = /* @__PURE__ */ o("<span class=lens-flow-stage-label>"), G = /* @__PURE__ */ o("<span class=lens-flow-stage-value>"), H = /* @__PURE__ */ o("<span class=lens-flow-stage-caption>"), I = /* @__PURE__ */ o('<a class="lens-flow-stage-main lens-flow-stage-link">'), X = /* @__PURE__ */ o("<li>"), Y = /* @__PURE__ */ o("<span aria-hidden=true class=lens-flow-op>"), Z = /* @__PURE__ */ o("<div class=lens-flow-stage-main>");
|
|
7
7
|
function ee() {
|
|
8
8
|
const $ = C();
|
|
@@ -16,14 +16,14 @@ function ee() {
|
|
|
16
16
|
}))();
|
|
17
17
|
}
|
|
18
18
|
function se($) {
|
|
19
|
-
const n = $.panel,
|
|
19
|
+
const n = $.panel, h = A(n.id), i = C(), E = ee(), P = N(n, "value") ?? "value", _ = V(n.format[P]), D = R(), f = m(() => h.data ? S(n, h.data, E) : void 0), w = m(() => {
|
|
20
20
|
const l = f();
|
|
21
21
|
return (l == null ? void 0 : l.kind) === "contract-error" ? l.message : void 0;
|
|
22
22
|
}), M = m(() => w() ? {
|
|
23
|
-
...
|
|
23
|
+
...h,
|
|
24
24
|
data: void 0,
|
|
25
25
|
error: new Error(w())
|
|
26
|
-
} :
|
|
26
|
+
} : h), q = m(() => {
|
|
27
27
|
if (!f()) return [];
|
|
28
28
|
const l = (e) => e === "+" ? i("flow.plus", "plus") : e === "−" ? i("flow.minus", "minus") : e === "=" ? i("flow.equals", "equals") : "";
|
|
29
29
|
return j(n, f(), _).map((e) => {
|
|
@@ -62,7 +62,7 @@ function se($) {
|
|
|
62
62
|
})(), (() => {
|
|
63
63
|
var t = G();
|
|
64
64
|
return s(t, (() => {
|
|
65
|
-
var a =
|
|
65
|
+
var a = b(() => !!e.showDash);
|
|
66
66
|
return () => a() ? "—" : e.text;
|
|
67
67
|
})()), t;
|
|
68
68
|
})(), g(T, {
|
|
@@ -73,14 +73,14 @@ function se($) {
|
|
|
73
73
|
return e.availability;
|
|
74
74
|
},
|
|
75
75
|
className: "lens-flow-stage-chip"
|
|
76
|
-
}),
|
|
76
|
+
}), b(() => b(() => !!e.stage.caption)() && (() => {
|
|
77
77
|
var t = H();
|
|
78
78
|
return s(t, () => e.stage.caption), t;
|
|
79
79
|
})())];
|
|
80
80
|
return (() => {
|
|
81
81
|
var t = X();
|
|
82
82
|
return s(t, (() => {
|
|
83
|
-
var a =
|
|
83
|
+
var a = b(() => !!e.operator);
|
|
84
84
|
return () => a() && (() => {
|
|
85
85
|
var r = Y();
|
|
86
86
|
return s(r, () => e.operator), r;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createComponent as f, insert as l, memo as h, effect as m, setAttribute as u, addEventListener as S, className as C, style as U, template as c, delegateEvents as B } from "solid-js/web";
|
|
2
2
|
import { createMemo as p, For as H, Show as J } from "solid-js";
|
|
3
|
-
import { t as z, u as A, a1 as P, M as E, a8 as G,
|
|
3
|
+
import { t as z, u as A, a1 as P, M as E, a8 as G, e as I, P as O } from "./index-D0vCs6QJ.js";
|
|
4
4
|
import "solid-js/store";
|
|
5
|
-
import { h as W, r as X, Q as Y } from "./metricViews-
|
|
5
|
+
import { h as W, r as X, Q as Y } from "./metricViews-DSt7U_tR.js";
|
|
6
6
|
var Z = /* @__PURE__ */ c("<ul class=lens-hierarchy>"), w = /* @__PURE__ */ c("<span class=lens-hierarchy-label><span class=lens-hierarchy-label-text>"), ee = /* @__PURE__ */ c("<span class=lens-hierarchy-value>"), ae = /* @__PURE__ */ c("<span aria-hidden=true class=lens-hierarchy-guide>"), re = /* @__PURE__ */ c("<span class=lens-hierarchy-unallocated-tag>"), le = /* @__PURE__ */ c("<span class=lens-hierarchy-description>"), te = /* @__PURE__ */ c("<span class=lens-hierarchy-share>"), ne = /* @__PURE__ */ c('<a class="lens-hierarchy-row-inner lens-hierarchy-row-link">'), se = /* @__PURE__ */ c("<li>"), ce = /* @__PURE__ */ c("<div class=lens-hierarchy-row-inner role=group>"), ie = /* @__PURE__ */ c("<p>");
|
|
7
7
|
function oe() {
|
|
8
8
|
const y = A();
|
package/dist/lens/{MetricRelationshipPanel-DWCQt1wI.js → MetricRelationshipPanel-WDA2X5G5.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { delegateEvents as V, createComponent as E, insert as s, memo as A, effect as F, setAttribute as b, template as p, className as K, addEventListener as j } from "solid-js/web";
|
|
2
2
|
import { createMemo as f, Show as D } from "solid-js";
|
|
3
|
-
import { t as G, u as z, a1 as J, M as q, a8 as B,
|
|
3
|
+
import { t as G, u as z, a1 as J, M as q, a8 as B, e as H, P as I } from "./index-D0vCs6QJ.js";
|
|
4
4
|
import "solid-js/store";
|
|
5
|
-
import { e as U, a as R, c as W, b as X, Q as Y } from "./metricViews-
|
|
5
|
+
import { e as U, a as R, c as W, b as X, Q as Y } from "./metricViews-DSt7U_tR.js";
|
|
6
6
|
var T = /* @__PURE__ */ p("<div>"), Z = /* @__PURE__ */ p("<span class=lens-relationship-end-label>"), w = /* @__PURE__ */ p("<span class=lens-relationship-end-value>"), ee = /* @__PURE__ */ p('<a class="lens-relationship-end-inner lens-relationship-end-link">'), te = /* @__PURE__ */ p("<div class=lens-relationship-end-inner>"), ne = /* @__PURE__ */ p('<div class=lens-relationship><p class=lens-visually-hidden></p><div aria-hidden=true class=lens-relationship-connector><span class="lens-relationship-glyph lens-relationship-glyph-h"></span><span class="lens-relationship-glyph lens-relationship-glyph-v"></span><span class=lens-relationship-type>'), ae = /* @__PURE__ */ p("<span class=lens-relationship-note>");
|
|
7
7
|
function le() {
|
|
8
8
|
const i = z();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createComponent as u, insert as r, effect as V, setAttribute as R, template as b, memo as B, style as _e, Portal as qe, setStyleProperty as ee, className as oe } from "solid-js/web";
|
|
2
2
|
import { Show as w, createMemo as q, For as L, createContext as je, useContext as Be } from "solid-js";
|
|
3
|
-
import { u as I,
|
|
4
|
-
import { W as Qe, b as Je, a as Ye } from "./CascadePanel-
|
|
5
|
-
import { C as Xe, m as le, f as Ze } from "./keys-
|
|
3
|
+
import { u as I, c as Oe, d as K, e as Ue, g as We, h as ze, F as He, j as we, k as ye, m as xe, n as ke, o as Ce, s as Ge } from "./index-D0vCs6QJ.js";
|
|
4
|
+
import { W as Qe, b as Je, a as Ye } from "./CascadePanel-DXykK3Re.js";
|
|
5
|
+
import { C as Xe, m as le, f as Ze } from "./keys-CDuPhptC.js";
|
|
6
6
|
import "solid-js/store";
|
|
7
|
-
import { r as Y, a as pe, c as et, b as tt, f as me, d as nt, h as rt } from "./metricViews-
|
|
8
|
-
import { relationshipSentence as lt } from "./MetricRelationshipPanel-
|
|
7
|
+
import { r as Y, a as pe, c as et, b as tt, f as me, d as nt, h as rt } from "./metricViews-DSt7U_tR.js";
|
|
8
|
+
import { relationshipSentence as lt } from "./MetricRelationshipPanel-WDA2X5G5.js";
|
|
9
9
|
var it = /* @__PURE__ */ b("<span class=lens-print-chip>");
|
|
10
10
|
function at(e, t) {
|
|
11
11
|
const l = Y(e);
|