@iota-uz/sdk 0.25.1 → 0.27.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.
Files changed (104) hide show
  1. package/dist/client-host/identity.d.ts +4 -4
  2. package/dist/client-host/identity.js +2 -2
  3. package/dist/lens/{CascadePanel-Cujqv1pL.js → CascadePanel-CCOzLuq0.js} +64 -64
  4. package/dist/lens/{ChartDataEquivalent-C31BXZpe.js → ChartDataEquivalent-jAEMAHLz.js} +1 -1
  5. package/dist/lens/{ChartPanel-DIerec8R.js → ChartPanel-BM5BNY_0.js} +93 -93
  6. package/dist/lens/{CoveragePanel-Boyvj1Fs.js → CoveragePanel-D9dnY-z3.js} +20 -20
  7. package/dist/lens/DashboardPanels.d.ts +14 -0
  8. package/dist/lens/DashboardPanels.d.ts.map +1 -1
  9. package/dist/lens/{GaugePanel-D3muYFL2.js → GaugePanel-Da_8U-va.js} +12 -12
  10. package/dist/lens/LensDashboard.d.ts +24 -0
  11. package/dist/lens/LensDashboard.d.ts.map +1 -1
  12. package/dist/lens/{MapPanel-Ceq0E2Ek.js → MapPanel-C_5zKBAZ.js} +16 -16
  13. package/dist/lens/{MetricFlowPanel-D1KmjR32.js → MetricFlowPanel-CjIbdcGO.js} +28 -28
  14. package/dist/lens/{MetricHierarchyPanel-DgUyQl0W.js → MetricHierarchyPanel-B2P_uTgk.js} +17 -17
  15. package/dist/lens/{MetricRelationshipPanel-DMHalo2c.js → MetricRelationshipPanel-0d4fAcHP.js} +17 -17
  16. package/dist/lens/{PrintReport-ctxUL0F8.js → PrintReport-awUBISRB.js} +5 -5
  17. package/dist/lens/{TablePanel-Z9SiddhN.js → TablePanel-D46pk8E6.js} +213 -213
  18. package/dist/lens/{adapter-D4u_-czr.js → adapter-BJKTlRCi.js} +7 -7
  19. package/dist/lens/contract/schemas.d.ts +2 -0
  20. package/dist/lens/contract/schemas.d.ts.map +1 -1
  21. package/dist/lens/contract/types.d.ts +7 -0
  22. package/dist/lens/contract/types.d.ts.map +1 -1
  23. package/dist/lens/controls/FilterBar.d.ts +9 -2
  24. package/dist/lens/controls/FilterBar.d.ts.map +1 -1
  25. package/dist/lens/controls/ScopedFilterControls.d.ts.map +1 -1
  26. package/dist/lens/controls/toolbarOverflow.d.ts +5 -0
  27. package/dist/lens/controls/toolbarOverflow.d.ts.map +1 -0
  28. package/dist/lens/dashboardEdit-KuYE7jYk.js +284 -0
  29. package/dist/lens/explore/ExplorePanel.d.ts.map +1 -1
  30. package/dist/lens/icons.d.ts +8 -0
  31. package/dist/lens/icons.d.ts.map +1 -1
  32. package/dist/lens/{index-B8_gR9O0.js → index-BHhPCIjl.js} +1 -1
  33. package/dist/lens/index-C2oaf8ou.js +17066 -0
  34. package/dist/lens/index.d.ts +25 -2
  35. package/dist/lens/index.d.ts.map +1 -1
  36. package/dist/lens/index.js +52 -23
  37. package/dist/lens/{install-DzYk5WmV.js → install-Bu88-uMj.js} +1 -1
  38. package/dist/lens/{install-DE0rZji_.js → install-Ca0kMSB-.js} +1 -1
  39. package/dist/lens/{install-BFYeeAKJ.js → install-Y4ssavWy.js} +1 -1
  40. package/dist/lens/{install-DObyjvvP.js → install-ilsK_qly.js} +1 -1
  41. package/dist/lens/{keys-Bl8ABCBk.js → keys-B-YImOJ9.js} +2 -2
  42. package/dist/lens/{metricViews-CgYh0rJR.js → metricViews-CY3ENGQy.js} +10 -10
  43. package/dist/lens/panels/PanelFrame.d.ts +5 -0
  44. package/dist/lens/panels/PanelFrame.d.ts.map +1 -1
  45. package/dist/lens/panels/context.d.ts +5 -0
  46. package/dist/lens/panels/context.d.ts.map +1 -1
  47. package/dist/lens/panels/drillGate.d.ts +21 -0
  48. package/dist/lens/panels/drillGate.d.ts.map +1 -0
  49. package/dist/lens/panels/focusTrap.d.ts.map +1 -1
  50. package/dist/lens/panels/hostRenderers.d.ts +34 -0
  51. package/dist/lens/panels/hostRenderers.d.ts.map +1 -0
  52. package/dist/lens/panels/registry.d.ts.map +1 -1
  53. package/dist/lens/{prefetch-DwHEXti7.js → prefetch-H6lk56fj.js} +2 -2
  54. package/dist/lens/{prefetchPanels-CCHpQ9K2.js → prefetchPanels-BM6WTBt-.js} +5 -5
  55. package/dist/lens/{print-D_92Iy3k.js → print-DYkxBibF.js} +1 -1
  56. package/dist/lens/reports/DashboardEmptyState.d.ts +6 -0
  57. package/dist/lens/reports/DashboardEmptyState.d.ts.map +1 -0
  58. package/dist/lens/reports/ReportCompositionEditor.d.ts +42 -0
  59. package/dist/lens/reports/ReportCompositionEditor.d.ts.map +1 -0
  60. package/dist/lens/reports/ReportDestinationPicker.d.ts +23 -0
  61. package/dist/lens/reports/ReportDestinationPicker.d.ts.map +1 -0
  62. package/dist/lens/reports/ReportDialog.d.ts +26 -0
  63. package/dist/lens/reports/ReportDialog.d.ts.map +1 -0
  64. package/dist/lens/reports/ReportPicker.d.ts +35 -0
  65. package/dist/lens/reports/ReportPicker.d.ts.map +1 -0
  66. package/dist/lens/reports/ReportPlacementMenu.d.ts +14 -0
  67. package/dist/lens/reports/ReportPlacementMenu.d.ts.map +1 -0
  68. package/dist/lens/reports/ReportPlacementStatus.d.ts +30 -0
  69. package/dist/lens/reports/ReportPlacementStatus.d.ts.map +1 -0
  70. package/dist/lens/reports/ReportVersionNotice.d.ts +11 -0
  71. package/dist/lens/reports/ReportVersionNotice.d.ts.map +1 -0
  72. package/dist/lens/reports/contract/schemas.d.ts +9 -0
  73. package/dist/lens/reports/contract/schemas.d.ts.map +1 -1
  74. package/dist/lens/reports/contract/types.d.ts +41 -0
  75. package/dist/lens/reports/contract/types.d.ts.map +1 -1
  76. package/dist/lens/reports/dashboardEdit.d.ts +128 -0
  77. package/dist/lens/reports/dashboardEdit.d.ts.map +1 -0
  78. package/dist/lens/reports/dashboardEditTypes.d.ts +45 -0
  79. package/dist/lens/reports/dashboardEditTypes.d.ts.map +1 -0
  80. package/dist/lens/reports/draft.d.ts +28 -0
  81. package/dist/lens/reports/draft.d.ts.map +1 -1
  82. package/dist/lens/reports/editing.d.ts +176 -0
  83. package/dist/lens/reports/editing.d.ts.map +1 -0
  84. package/dist/lens/reports/guard.d.ts +40 -0
  85. package/dist/lens/reports/guard.d.ts.map +1 -0
  86. package/dist/lens/reports/layout.d.ts +34 -0
  87. package/dist/lens/reports/layout.d.ts.map +1 -0
  88. package/dist/lens/reports/picker.d.ts +97 -0
  89. package/dist/lens/reports/picker.d.ts.map +1 -0
  90. package/dist/lens/reports/placementHost.d.ts +61 -0
  91. package/dist/lens/reports/placementHost.d.ts.map +1 -0
  92. package/dist/lens/reports/unavailable.d.ts +13 -0
  93. package/dist/lens/reports/unavailable.d.ts.map +1 -0
  94. package/dist/lens/reports/version.d.ts +35 -0
  95. package/dist/lens/reports/version.d.ts.map +1 -0
  96. package/dist/lens/runtime/provider.d.ts +11 -0
  97. package/dist/lens/runtime/provider.d.ts.map +1 -1
  98. package/dist/lens/{scales-D6vubtdW.js → scales-COnESBiP.js} +1 -1
  99. package/dist/lens/style.css +1 -1
  100. package/dist/sdk-identity.cjs +3 -3
  101. package/dist/sdk-identity.js +3 -3
  102. package/dist/sdk-identity.json +2 -2
  103. package/package.json +1 -1
  104. package/dist/lens/index-rtv0Acit.js +0 -13985
@@ -1,9 +1,9 @@
1
- export declare const SDK_RELEASE_VERSION = "0.25.1";
2
- export declare const SDK_SOURCE_COMMIT = "31d06881f0298062642aa0e18399a481079a32b2";
1
+ export declare const SDK_RELEASE_VERSION = "0.27.0";
2
+ export declare const SDK_SOURCE_COMMIT = "36688efd5767fff209985f3489a821db0dcaff0b";
3
3
  export declare const SDK_PROTOCOL_VERSION = "1.0.0";
4
4
  export declare const SDK_IDENTITY: Readonly<{
5
- releaseVersion: "0.25.1";
6
- sourceCommit: "31d06881f0298062642aa0e18399a481079a32b2";
5
+ releaseVersion: "0.27.0";
6
+ sourceCommit: "36688efd5767fff209985f3489a821db0dcaff0b";
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.25.1';
3
- export const SDK_SOURCE_COMMIT = '31d06881f0298062642aa0e18399a481079a32b2';
2
+ export const SDK_RELEASE_VERSION = '0.27.0';
3
+ export const SDK_SOURCE_COMMIT = '36688efd5767fff209985f3489a821db0dcaff0b';
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,12 +1,12 @@
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
- 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-rtv0Acit.js";
1
+ import { insert as o, memo as B, createComponent as x, effect as P, setAttribute as y, template as M, delegateEvents as vt, setStyleProperty as H, style as ht, spread as it, use as Y, Portal as ft, addEventListener as X, mergeProps as mt } from "solid-js/web";
2
+ import { createSignal as Z, onCleanup as J, children as bt, Show as p, For as G, createEffect as K } from "solid-js";
3
+ import { u as ot, a7 as gt, a8 as wt, a9 as $t, aa as xt, ab as rt, ac as kt, ad as _t, ae as W, af as U, ag as D, ah as Ct, H as Mt, $ as tt, a0 as Lt, ai as yt, V as St, M as It, Z as Tt, W as pt } from "./index-C2oaf8ou.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) {
7
- const n = ot(), [r, w] = K(!1);
7
+ const n = ot(), [r, w] = Z(!1);
8
8
  let h;
9
- X(() => {
9
+ J(() => {
10
10
  h && clearTimeout(h);
11
11
  });
12
12
  const c = () => r() ? n("explore.copied", "Copied") : n("explore.copyValue", "Copy value");
@@ -17,7 +17,7 @@ function et(t) {
17
17
  }, o(a, (() => {
18
18
  var f = B(() => !!r());
19
19
  return () => f() ? x(wt, {}) : x($t, {});
20
- })()), H((f) => {
20
+ })()), P((f) => {
21
21
  var i = c(), m = r() ? "true" : void 0, b = c();
22
22
  return i !== f.e && y(a, "aria-label", f.e = i), m !== f.t && y(a, "data-copied", f.t = m), b !== f.a && y(a, "title", f.a = b), f;
23
23
  }, {
@@ -28,7 +28,7 @@ function et(t) {
28
28
  })();
29
29
  }
30
30
  vt(["click"]);
31
- var Ft = /* @__PURE__ */ M("<span class=lens-waterfall-tip-label>"), Et = /* @__PURE__ */ M("<span class=lens-waterfall-tip-amount data-split=true><strong>"), Pt = /* @__PURE__ */ M("<span class=lens-waterfall-tip-foot>"), Ht = /* @__PURE__ */ M("<span class=lens-waterfall-tip role=tooltip><span aria-hidden=true class=lens-waterfall-tip-tail></span><span class=lens-waterfall-tip-head></span><span class=lens-waterfall-tip-amount><strong>"), zt = /* @__PURE__ */ M("<span aria-hidden=true class=lens-waterfall-underlay>"), Nt = /* @__PURE__ */ M("<span class=lens-waterfall-connector>"), nt = /* @__PURE__ */ M("<span class=lens:sr-only>"), At = /* @__PURE__ */ M("<span class=lens-waterfall-bar-split>"), Wt = /* @__PURE__ */ M("<small class=lens-waterfall-annotation>"), Rt = /* @__PURE__ */ M("<div class=lens-waterfall-column><div class=lens-waterfall-column-plot><div class=lens-waterfall-bar><strong></strong></div></div><span class=lens-waterfall-label><span>"), Ut = /* @__PURE__ */ M("<span class=lens-waterfall-split-callout data-reveal=always>"), Bt = /* @__PURE__ */ M("<span class=lens-waterfall-axis-unit>"), Ot = /* @__PURE__ */ M("<div class=lens-waterfall data-lens-waterfall><div class=lens-waterfall-chart><div class=lens-waterfall-axis aria-hidden=true></div><div aria-hidden=true class=lens-waterfall-rules><div class=lens-waterfall-zero></div></div><div class=lens-waterfall-plot>"), Dt = /* @__PURE__ */ M("<span>"), jt = /* @__PURE__ */ M("<span class=lens-waterfall-gridline>");
31
+ var Ft = /* @__PURE__ */ M("<span class=lens-waterfall-tip-label>"), Et = /* @__PURE__ */ M("<span class=lens-waterfall-tip-amount data-split=true><strong>"), Ht = /* @__PURE__ */ M("<span class=lens-waterfall-tip-foot>"), Pt = /* @__PURE__ */ M("<span class=lens-waterfall-tip role=tooltip><span aria-hidden=true class=lens-waterfall-tip-tail></span><span class=lens-waterfall-tip-head></span><span class=lens-waterfall-tip-amount><strong>"), zt = /* @__PURE__ */ M("<span aria-hidden=true class=lens-waterfall-underlay>"), Nt = /* @__PURE__ */ M("<span class=lens-waterfall-connector>"), nt = /* @__PURE__ */ M("<span class=lens:sr-only>"), Wt = /* @__PURE__ */ M("<span class=lens-waterfall-bar-split>"), At = /* @__PURE__ */ M("<small class=lens-waterfall-annotation>"), Rt = /* @__PURE__ */ M("<div class=lens-waterfall-column><div class=lens-waterfall-column-plot><div class=lens-waterfall-bar><strong></strong></div></div><span class=lens-waterfall-label><span>"), Ut = /* @__PURE__ */ M("<span class=lens-waterfall-split-callout data-reveal=always>"), Bt = /* @__PURE__ */ M("<span class=lens-waterfall-axis-unit>"), Ot = /* @__PURE__ */ M("<div class=lens-waterfall data-lens-waterfall><div class=lens-waterfall-chart><div class=lens-waterfall-axis aria-hidden=true></div><div aria-hidden=true class=lens-waterfall-rules><div class=lens-waterfall-zero></div></div><div class=lens-waterfall-plot>"), Dt = /* @__PURE__ */ M("<span>"), jt = /* @__PURE__ */ M("<span class=lens-waterfall-gridline>");
32
32
  const at = 8, j = 8;
33
33
  function Gt(t, n, r) {
34
34
  const w = Math.max(j, r.width - n.width - j), h = Math.min(Math.max(t.left + t.width / 2 - n.width / 2, j), w), c = t.top - n.height - at, a = c >= j;
@@ -38,10 +38,10 @@ function Gt(t, n, r) {
38
38
  side: a ? "above" : "below"
39
39
  };
40
40
  }
41
- function Yt(t) {
41
+ function qt(t) {
42
42
  const n = _t(() => t.open, t.anchor, "lens-waterfall-tip-overlay-root");
43
43
  let r;
44
- const [w, h] = K(), c = () => {
44
+ const [w, h] = Z(), c = () => {
45
45
  var s, $, _;
46
46
  const a = (s = t.anchor()) == null ? void 0 : s.getBoundingClientRect(), f = r == null ? void 0 : r.getBoundingClientRect();
47
47
  if (!a || !f) return;
@@ -55,12 +55,12 @@ function Yt(t) {
55
55
  });
56
56
  h((g) => (g == null ? void 0 : g.left) === b.left && g.top === b.top && g.side === b.side ? g : b);
57
57
  };
58
- return q(() => {
58
+ return K(() => {
59
59
  n() && c();
60
- }), q(() => {
60
+ }), K(() => {
61
61
  t.open || h(void 0);
62
- }), q(() => {
63
- n() && (globalThis.addEventListener("resize", c), globalThis.addEventListener("scroll", c, !0), X(() => {
62
+ }), K(() => {
63
+ n() && (globalThis.addEventListener("resize", c), globalThis.addEventListener("scroll", c, !0), J(() => {
64
64
  globalThis.removeEventListener("resize", c), globalThis.removeEventListener("scroll", c, !0);
65
65
  }));
66
66
  }), x(p, {
@@ -73,10 +73,10 @@ function Yt(t) {
73
73
  return n();
74
74
  },
75
75
  get children() {
76
- var a = Ht(), f = a.firstChild, i = f.nextSibling, m = i.nextSibling, b = m.firstChild;
77
- return J((s) => {
76
+ var a = Pt(), f = a.firstChild, i = f.nextSibling, m = i.nextSibling, b = m.firstChild;
77
+ return Y((s) => {
78
78
  r = s;
79
- }, a), Q(a, "mouseleave", t.onMouseLeave), Q(a, "mouseenter", t.onMouseEnter), o(i, () => t.item.label), o(b, () => t.item.exactValue ?? t.item.formattedValue), o(m, x(p, {
79
+ }, a), X(a, "mouseleave", t.onMouseLeave), X(a, "mouseenter", t.onMouseEnter), o(i, () => t.item.label), o(b, () => t.item.exactValue ?? t.item.formattedValue), o(m, x(p, {
80
80
  get when() {
81
81
  return t.item.rawValue !== void 0;
82
82
  },
@@ -121,13 +121,13 @@ function Yt(t) {
121
121
  return t.actionHint;
122
122
  },
123
123
  get children() {
124
- var s = Pt();
124
+ var s = Ht();
125
125
  return o(s, () => t.actionHint), s;
126
126
  }
127
- }), null), H((s) => {
127
+ }), null), P((s) => {
128
128
  var F, L, l;
129
129
  var $ = ((F = w()) == null ? void 0 : F.side) ?? "above", _ = `${((L = w()) == null ? void 0 : L.left) ?? 0}px`, g = `${((l = w()) == null ? void 0 : l.top) ?? 0}px`, S = w() ? "visible" : "hidden";
130
- return $ !== s.e && y(a, "data-side", s.e = $), _ !== s.t && P(a, "left", s.t = _), g !== s.a && P(a, "top", s.a = g), S !== s.o && P(a, "visibility", s.o = S), s;
130
+ return $ !== s.e && y(a, "data-side", s.e = $), _ !== s.t && H(a, "left", s.t = _), g !== s.a && H(a, "top", s.a = g), S !== s.o && H(a, "visibility", s.o = S), s;
131
131
  }, {
132
132
  e: void 0,
133
133
  t: void 0,
@@ -139,8 +139,8 @@ function Yt(t) {
139
139
  }
140
140
  });
141
141
  }
142
- function qt(t) {
143
- const [n, r] = K(!1);
142
+ function Kt(t) {
143
+ const [n, r] = Z(!1);
144
144
  let w, h;
145
145
  const c = xt(() => h);
146
146
  let a;
@@ -149,7 +149,7 @@ function qt(t) {
149
149
  }, i = () => {
150
150
  a && clearTimeout(a), a = setTimeout(() => r(!1), kt);
151
151
  };
152
- X(() => {
152
+ J(() => {
153
153
  a && clearTimeout(a);
154
154
  });
155
155
  const m = t.index * 2 >= t.count ? "start" : "end", b = `${t.item.splitLabel ? `${t.item.splitLabel} ` : ""}${t.item.formattedSplit ?? ""}`, s = t.chrome ?? {};
@@ -161,9 +161,9 @@ function qt(t) {
161
161
  },
162
162
  get children() {
163
163
  var l = zt();
164
- return H((k) => {
164
+ return P((k) => {
165
165
  var d = `${t.item.top + t.item.height}%`, e = `${t.item.underlayHeight}%`;
166
- return d !== k.e && P(l, "top", k.e = d), e !== k.t && P(l, "height", k.t = e), k;
166
+ return d !== k.e && H(l, "top", k.e = d), e !== k.t && H(l, "height", k.t = e), k;
167
167
  }, {
168
168
  e: void 0,
169
169
  t: void 0
@@ -175,9 +175,9 @@ function qt(t) {
175
175
  },
176
176
  get children() {
177
177
  var l = Nt();
178
- return H((k) => P(l, "top", `${t.item.connectorTop}%`)), l;
178
+ return P((k) => H(l, "top", `${t.item.connectorTop}%`)), l;
179
179
  }
180
- }), g), J((l) => {
180
+ }), g), Y((l) => {
181
181
  w = l;
182
182
  }, g), o(S, () => t.item.formattedValue, null), o(S, x(p, {
183
183
  get when() {
@@ -192,7 +192,7 @@ function qt(t) {
192
192
  return t.item.splitHeight !== void 0;
193
193
  },
194
194
  get children() {
195
- var l = At();
195
+ var l = Wt();
196
196
  return o(l, x(p, {
197
197
  get when() {
198
198
  return t.splitCallout === "hover";
@@ -207,14 +207,14 @@ function qt(t) {
207
207
  var k = nt();
208
208
  return o(k, b), k;
209
209
  }
210
- })), H((k) => P(l, "height", `${t.item.splitHeight}%`)), l;
210
+ })), P((k) => H(l, "height", `${t.item.splitHeight}%`)), l;
211
211
  }
212
212
  }), null), o(_, x(p, {
213
213
  get when() {
214
214
  return t.splitCallout === "hover";
215
215
  },
216
216
  get children() {
217
- return x(Yt, {
217
+ return x(qt, {
218
218
  get actionHint() {
219
219
  return B(() => !!t.chrome)() ? t.actionHint : void 0;
220
220
  },
@@ -229,14 +229,14 @@ function qt(t) {
229
229
  }
230
230
  });
231
231
  }
232
- }), null), J((l) => {
232
+ }), null), Y((l) => {
233
233
  h = l;
234
234
  }, L), o(L, () => t.item.label), o(F, x(p, {
235
235
  get when() {
236
236
  return t.item.annotation;
237
237
  },
238
238
  get children() {
239
- var l = Wt();
239
+ var l = At();
240
240
  return o(l, () => t.item.annotation, null), o(l, x(p, {
241
241
  get when() {
242
242
  return t.chrome;
@@ -248,9 +248,9 @@ function qt(t) {
248
248
  }
249
249
  }), null), l;
250
250
  }
251
- }), null), H((l) => {
251
+ }), null), P((l) => {
252
252
  var k = t.item.checkpoint, d = t.item.kind, e = t.index % 2, u = t.item.noMovement, I = !t.chrome || void 0, v = t.item.tone, C = t.item.unknown, z = `${t.item.top}%`, V = `${t.item.height}%`, T = c() ? t.item.label : void 0;
253
- return k !== l.e && y(g, "data-checkpoint", l.e = k), d !== l.t && y(g, "data-kind", l.t = d), e !== l.a && y(g, "data-label-row", l.a = e), u !== l.o && y(g, "data-no-movement", l.o = u), I !== l.i && y(g, "data-terminal", l.i = I), v !== l.n && y(g, "data-tone", l.n = v), C !== l.s && y(g, "data-unknown", l.s = C), z !== l.h && P(g, "top", l.h = z), V !== l.r && P(g, "height", l.r = V), T !== l.d && y(L, "title", l.d = T), l;
253
+ return k !== l.e && y(g, "data-checkpoint", l.e = k), d !== l.t && y(g, "data-kind", l.t = d), e !== l.a && y(g, "data-label-row", l.a = e), u !== l.o && y(g, "data-no-movement", l.o = u), I !== l.i && y(g, "data-terminal", l.i = I), v !== l.n && y(g, "data-tone", l.n = v), C !== l.s && y(g, "data-unknown", l.s = C), z !== l.h && H(g, "top", l.h = z), V !== l.r && H(g, "height", l.r = V), T !== l.d && y(L, "title", l.d = T), l;
254
254
  }, {
255
255
  e: void 0,
256
256
  t: void 0,
@@ -265,7 +265,7 @@ function qt(t) {
265
265
  }), $;
266
266
  })();
267
267
  }
268
- function Jt(t) {
268
+ function Yt(t) {
269
269
  const n = bt(() => t.children);
270
270
  return (() => {
271
271
  var r = Ot(), w = r.firstChild, h = w.firstChild, c = h.nextSibling, a = c.firstChild, f = c.nextSibling;
@@ -283,7 +283,7 @@ function Jt(t) {
283
283
  },
284
284
  children: (i) => (() => {
285
285
  var m = Dt();
286
- return o(m, () => i.label), H((b) => P(m, "top", `${i.top}%`)), m;
286
+ return o(m, () => i.label), P((b) => H(m, "top", `${i.top}%`)), m;
287
287
  })()
288
288
  }), null), o(c, x(G, {
289
289
  get each() {
@@ -291,14 +291,14 @@ function Jt(t) {
291
291
  },
292
292
  children: (i) => (() => {
293
293
  var m = jt();
294
- return H((b) => P(m, "top", `${i.top}%`)), m;
294
+ return P((b) => H(m, "top", `${i.top}%`)), m;
295
295
  })()
296
296
  }), a), o(f, x(G, {
297
297
  get each() {
298
298
  return t.model.items;
299
299
  },
300
300
  children: (i, m) => x(
301
- qt,
301
+ Kt,
302
302
  {
303
303
  get actionHint() {
304
304
  return t.actionHint;
@@ -322,7 +322,7 @@ function Jt(t) {
322
322
  }
323
323
  }
324
324
  )
325
- })), o(r, n, null), H((i) => {
325
+ })), o(r, n, null), P((i) => {
326
326
  var m = t.label, b = t.role ?? "img", s = {
327
327
  "--lens-waterfall-count": t.model.items.length,
328
328
  "--lens-waterfall-zero": `${t.model.zero}%`
@@ -335,7 +335,7 @@ function Jt(t) {
335
335
  }), r;
336
336
  })();
337
337
  }
338
- var Kt = /* @__PURE__ */ M("<p class=lens-waterfall-key><span class=lens-waterfall-key-item data-mark=checkpoint></span><span class=lens-waterfall-key-item data-mark=result>"), Xt = /* @__PURE__ */ M("<div class=lens-cascade role=list>"), Zt = /* @__PURE__ */ M("<div class=lens-cascade-step role=listitem><div><div class=lens-cascade-stage-label><span class=lens-cascade-stage-title><span></span></span><strong></strong></div><div class=lens-cascade-track aria-hidden=true><span>"), Qt = /* @__PURE__ */ M("<div class=lens-cascade-connector><span></span><strong>"), te = /* @__PURE__ */ M("<small class=lens-cascade-stage-annotation>"), ee = /* @__PURE__ */ M("<span class=lens:sr-only>");
338
+ var Zt = /* @__PURE__ */ M("<p class=lens-waterfall-key><span class=lens-waterfall-key-item data-mark=checkpoint></span><span class=lens-waterfall-key-item data-mark=result>"), Jt = /* @__PURE__ */ M("<div class=lens-cascade role=list>"), Qt = /* @__PURE__ */ M("<div class=lens-cascade-step role=listitem><div><div class=lens-cascade-stage-label><span class=lens-cascade-stage-title><span></span></span><strong></strong></div><div class=lens-cascade-track aria-hidden=true><span>"), Xt = /* @__PURE__ */ M("<div class=lens-cascade-connector><span></span><strong>"), te = /* @__PURE__ */ M("<small class=lens-cascade-stage-annotation>"), ee = /* @__PURE__ */ M("<span class=lens:sr-only>");
339
339
  const ne = 2;
340
340
  function lt(t) {
341
341
  if (typeof t == "number" && Number.isFinite(t)) return t;
@@ -345,7 +345,7 @@ function lt(t) {
345
345
  }
346
346
  return 0;
347
347
  }
348
- const Y = "—";
348
+ const q = "—";
349
349
  function ae(t) {
350
350
  return typeof t == "boolean" ? t : typeof t == "number" ? t !== 0 : typeof t == "string" && t.trim().toLowerCase() === "true";
351
351
  }
@@ -365,26 +365,26 @@ function se(t, n) {
365
365
  return t === 0 ? r : `${t > 0 ? "+" : "−"}${r}`;
366
366
  }
367
367
  function st(t, n, r, w) {
368
- const h = A(t, "label") ?? "label", c = A(t, "value") ?? "value", a = A(t, "cut") ?? "cut", f = A(t, "cutLabel") ?? "cutLabel", i = A(t, "final") ?? "final", m = A(t, "annotation"), b = A(t, "tone"), s = A(t, "split"), $ = A(t, "splitLabel"), _ = U(n, h), g = U(n, c), S = U(n, a), F = U(n, f), L = U(n, i), l = U(n, m), k = U(n, b), d = U(n, s), e = U(n, $), u = (v) => Ct(v[g]), I = Math.max(1, ...n.rows.map((v) => Math.max(0, u(v) ?? 0)));
368
+ const h = W(t, "label") ?? "label", c = W(t, "value") ?? "value", a = W(t, "cut") ?? "cut", f = W(t, "cutLabel") ?? "cutLabel", i = W(t, "final") ?? "final", m = W(t, "annotation"), b = W(t, "tone"), s = W(t, "split"), $ = W(t, "splitLabel"), _ = U(n, h), g = U(n, c), S = U(n, a), F = U(n, f), L = U(n, i), l = U(n, m), k = U(n, b), d = U(n, s), e = U(n, $), u = (v) => Ct(v[g]), I = Math.max(1, ...n.rows.map((v) => Math.max(0, u(v) ?? 0)));
369
369
  return n.rows.map((v, C) => {
370
- const z = u(v), V = z !== void 0, T = z ?? 0, R = lt(v[S]), W = V && T > 0 ? Math.min(100, T / I * 100) : 0;
370
+ const z = u(v), V = z !== void 0, T = z ?? 0, R = lt(v[S]), A = V && T > 0 ? Math.min(100, T / I * 100) : 0;
371
371
  return {
372
372
  label: D(v[_], `Stage ${C + 1}`),
373
373
  value: T,
374
374
  hasValue: V,
375
- formattedValue: V ? r(T) : Y,
375
+ formattedValue: V ? r(T) : q,
376
376
  cut: R,
377
377
  // A stage whose total is unknown has an unknown movement: the frame's own
378
378
  // `cut` for such a row is a placeholder, and printing «0 UZS» beside it
379
379
  // would restate the very lie the em dash above it just refused to tell.
380
- formattedCut: V ? oe(R, w) : Y,
380
+ formattedCut: V ? oe(R, w) : q,
381
381
  cutLabel: D(v[F], ""),
382
382
  final: ae(v[L]),
383
383
  annotation: l >= 0 ? D(v[l], "") : "",
384
384
  tone: k >= 0 ? ie(v[k]) : void 0,
385
385
  split: d >= 0 ? lt(v[d]) : 0,
386
386
  splitLabel: e >= 0 ? D(v[e], "") : "",
387
- width: W > 0 ? Math.max(ne, W) : 0,
387
+ width: A > 0 ? Math.max(ne, A) : 0,
388
388
  rowIndex: C
389
389
  };
390
390
  });
@@ -510,7 +510,7 @@ function dt(t, n, r = n, {
510
510
  s = Math.min(s, e.from, e.to), $ = Math.max($, e.from, e.to);
511
511
  });
512
512
  const _ = ct(s, $), g = s < 0 ? Math.floor(s / _) * _ : 0, S = Math.max(_, Math.ceil($ / _) * _), F = Math.max(1, S - g), L = (e) => Math.max(0, Math.min(100, (S - e) / F * 100)), l = L(0), k = a.map((e, u) => {
513
- const I = L(Math.max(e.from, e.to)), v = L(Math.min(e.from, e.to)), C = e.unknown === !0, z = C || e.kind !== "start" && e.kind !== "end" && e.value === 0, V = z ? 0 : Math.max(1.5, v - I), T = Math.abs(e.split), R = Math.abs(e.value), W = !C && T > m && T < R - m;
513
+ const I = L(Math.max(e.from, e.to)), v = L(Math.min(e.from, e.to)), C = e.unknown === !0, z = C || e.kind !== "start" && e.kind !== "end" && e.value === 0, V = z ? 0 : Math.max(1.5, v - I), T = Math.abs(e.split), R = Math.abs(e.value), A = !C && T > m && T < R - m;
514
514
  return {
515
515
  label: e.label,
516
516
  value: e.value,
@@ -518,7 +518,7 @@ function dt(t, n, r = n, {
518
518
  // exact form of a figure that does not exist, and no machine value to put
519
519
  // on the clipboard, so the tooltip carries neither and shows no copy
520
520
  // button rather than offering to copy a zero.
521
- formattedValue: C ? Y : e.kind === "start" || e.kind === "end" ? n(e.value) : re(e.value, n),
521
+ formattedValue: C ? q : e.kind === "start" || e.kind === "end" ? n(e.value) : re(e.value, n),
522
522
  exactValue: C ? void 0 : e.kind === "start" || e.kind === "end" ? w(e.value) : se(e.value, w),
523
523
  rawValue: C ? void 0 : h(e.value),
524
524
  top: I,
@@ -527,11 +527,11 @@ function dt(t, n, r = n, {
527
527
  // so its percentage resolves against the bar's own box. Scaling by the
528
528
  // bar's plot height too shrank every band by that height again — a 24.5%
529
529
  // share of a bar 18% tall drew as 4.5% of it.
530
- splitHeight: W ? 100 * (T / R) : void 0,
531
- formattedSplit: W ? n(T) : void 0,
532
- exactSplit: W ? w(T) : void 0,
533
- rawSplit: W ? h(T) : void 0,
534
- splitLabel: W ? e.splitLabel : void 0,
530
+ splitHeight: A ? 100 * (T / R) : void 0,
531
+ formattedSplit: A ? n(T) : void 0,
532
+ exactSplit: A ? w(T) : void 0,
533
+ rawSplit: A ? h(T) : void 0,
534
+ splitLabel: A ? e.splitLabel : void 0,
535
535
  // Only a floating bar leaves a balance under it; the totals stand on zero
536
536
  // already. A bar dipping below zero leaves nothing, hence the clamp. An
537
537
  // unknown stage draws no invented height at all — it is a gap standing
@@ -564,7 +564,7 @@ function dt(t, n, r = n, {
564
564
  };
565
565
  }
566
566
  function ue(t) {
567
- const n = t.panel, r = Mt(n.id), w = ot(), h = A(n, "value") ?? "value", c = A(n, "cut") ?? "cut", a = tt(n.format[h]), f = tt(n.format[c] ?? n.format[h]), i = Lt(n.format[h]), m = yt(n.format[h]), b = (d) => pt(d, n.format[h]), s = St(n.format[h]), $ = () => r.data ? st(n, r.data, a, f) : [], _ = () => {
567
+ const n = t.panel, r = Mt(n.id), w = ot(), h = W(n, "value") ?? "value", c = W(n, "cut") ?? "cut", a = tt(n.format[h]), f = tt(n.format[c] ?? n.format[h]), i = Lt(n.format[h]), m = yt(n.format[h]), b = (d) => pt(d, n.format[h]), s = St(n.format[h]), $ = () => r.data ? st(n, r.data, a, f) : [], _ = () => {
568
568
  var d;
569
569
  return ((d = n.presentation) == null ? void 0 : d.bridgeLayout) === "waterfall" ? dt($(), a, i, {
570
570
  formatExact: m,
@@ -602,7 +602,7 @@ function ue(t) {
602
602
  return B(() => {
603
603
  var d;
604
604
  return ((d = n.presentation) == null ? void 0 : d.bridgeLayout) === "waterfall";
605
- })() ? x(Jt, {
605
+ })() ? x(Yt, {
606
606
  get actionHint() {
607
607
  return w("chart.drillHint", "Select to explore");
608
608
  },
@@ -622,12 +622,12 @@ function ue(t) {
622
622
  unknownLabel: k,
623
623
  get children() {
624
624
  return B(() => !!g())() && (() => {
625
- var d = Kt(), e = d.firstChild, u = e.nextSibling;
625
+ var d = Zt(), e = d.firstChild, u = e.nextSibling;
626
626
  return o(e, () => w("cascade.checkpoint", "Interim total")), o(u, () => w("cascade.result", "Closing total")), d;
627
627
  })();
628
628
  }
629
629
  }) : (() => {
630
- var d = Xt();
630
+ var d = Jt();
631
631
  return o(d, x(G, {
632
632
  get each() {
633
633
  return $();
@@ -635,12 +635,12 @@ function ue(t) {
635
635
  children: (e, u) => {
636
636
  const I = L(e.rowIndex, e.label);
637
637
  return (() => {
638
- var v = Zt(), C = v.firstChild, z = C.firstChild, V = z.firstChild, T = V.firstChild, R = V.nextSibling, W = z.nextSibling, ut = W.firstChild;
638
+ var v = Qt(), C = v.firstChild, z = C.firstChild, V = z.firstChild, T = V.firstChild, R = V.nextSibling, A = z.nextSibling, ut = A.firstChild;
639
639
  return o(v, (() => {
640
640
  var N = B(() => !!(u() > 0 && e.cutLabel));
641
641
  return () => N() && (() => {
642
- var E = Qt(), O = E.firstChild, Z = O.nextSibling;
643
- return o(O, () => e.cutLabel), o(Z, () => e.formattedCut), H(() => y(Z, "data-direction", e.hasValue ? e.cut > 0 ? "down" : e.cut < 0 ? "up" : "flat" : "unknown")), E;
642
+ var E = Xt(), O = E.firstChild, Q = O.nextSibling;
643
+ return o(O, () => e.cutLabel), o(Q, () => e.formattedCut), P(() => y(Q, "data-direction", e.hasValue ? e.cut > 0 ? "down" : e.cut < 0 ? "up" : "flat" : "unknown")), E;
644
644
  })();
645
645
  })(), C), it(C, mt({
646
646
  get class() {
@@ -669,16 +669,16 @@ function ue(t) {
669
669
  var E = ee();
670
670
  return o(E, k), E;
671
671
  })();
672
- })(), null), H((N) => {
672
+ })(), null), P((N) => {
673
673
  var E = e.hasValue && e.value < 0 || void 0, O = `${e.width}%`;
674
- return E !== N.e && y(R, "data-negative", N.e = E), O !== N.t && P(ut, "width", N.t = O), N;
674
+ return E !== N.e && y(R, "data-negative", N.e = E), O !== N.t && H(ut, "width", N.t = O), N;
675
675
  }, {
676
676
  e: void 0,
677
677
  t: void 0
678
678
  }), v;
679
679
  })();
680
680
  }
681
- })), H(() => y(d, "aria-label", w("cascade.stages", "{name} stages", {
681
+ })), P(() => y(d, "aria-label", w("cascade.stages", "{name} stages", {
682
682
  name: n.title
683
683
  }))), d;
684
684
  })();
@@ -690,12 +690,12 @@ const be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
690
690
  CascadePanel: ue,
691
691
  buildCascadeStages: st,
692
692
  buildWaterfallModel: dt,
693
- unknownValueText: Y,
693
+ unknownValueText: q,
694
694
  waterfallAxisStep: ct
695
695
  }, Symbol.toStringTag, { value: "Module" }));
696
696
  export {
697
697
  be as C,
698
- Jt as W,
698
+ Yt as W,
699
699
  st as a,
700
700
  dt as b
701
701
  };
@@ -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-Bl8ABCBk.js";
4
+ import { f as h } from "./keys-B-YImOJ9.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) : "";