@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.
Files changed (93) 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-BtbOZhOb.js → CascadePanel-DXykK3Re.js} +1 -1
  4. package/dist/lens/{ChartDataEquivalent-B_VnLyCe.js → ChartDataEquivalent--6Rkhu3O.js} +1 -1
  5. package/dist/lens/{ChartPanel-DsTqmKHA.js → ChartPanel-Cvy_m7Mj.js} +49 -49
  6. package/dist/lens/{CoveragePanel-fK6VF6ip.js → CoveragePanel-Ck4WKij9.js} +1 -1
  7. package/dist/lens/DashboardPanels.d.ts.map +1 -1
  8. package/dist/lens/{GaugePanel-DtNGiaxC.js → GaugePanel-yQnz97pE.js} +1 -1
  9. package/dist/lens/LensDashboard.d.ts +15 -0
  10. package/dist/lens/LensDashboard.d.ts.map +1 -1
  11. package/dist/lens/{MapPanel-MKRnBMIx.js → MapPanel-DAsqidkl.js} +3 -3
  12. package/dist/lens/{MetricFlowPanel-CfE0Oq2N.js → MetricFlowPanel-DiV_hXg2.js} +9 -9
  13. package/dist/lens/{MetricHierarchyPanel-CzVsSzkl.js → MetricHierarchyPanel-Beb2HL8v.js} +2 -2
  14. package/dist/lens/{MetricRelationshipPanel-DWCQt1wI.js → MetricRelationshipPanel-WDA2X5G5.js} +2 -2
  15. package/dist/lens/{PrintReport-DrPutDli.js → PrintReport-DHVB36F1.js} +5 -5
  16. package/dist/lens/{TablePanel-CsiFrHsb.js → TablePanel-BSL-Qda_.js} +24 -24
  17. package/dist/lens/{adapter-Bti3q4E2.js → adapter-C8B6E1pp.js} +7 -7
  18. package/dist/lens/contract/schemas.d.ts +2 -0
  19. package/dist/lens/contract/schemas.d.ts.map +1 -1
  20. package/dist/lens/contract/types.d.ts +7 -0
  21. package/dist/lens/contract/types.d.ts.map +1 -1
  22. package/dist/lens/controls/ScopedFilterControls.d.ts +42 -2
  23. package/dist/lens/controls/ScopedFilterControls.d.ts.map +1 -1
  24. package/dist/lens/explore/ExplorePanel.d.ts.map +1 -1
  25. package/dist/lens/icons.d.ts +2 -0
  26. package/dist/lens/icons.d.ts.map +1 -1
  27. package/dist/lens/{index-ClFSCk5e.js → index-Bv8OdTZx.js} +1 -1
  28. package/dist/lens/index-D0vCs6QJ.js +16447 -0
  29. package/dist/lens/index.d.ts +24 -2
  30. package/dist/lens/index.d.ts.map +1 -1
  31. package/dist/lens/index.js +52 -23
  32. package/dist/lens/{install-DNQZLCsb.js → install-B6C6Ofrh.js} +1 -1
  33. package/dist/lens/{install-B_IQcl0o.js → install-BZZf8fGf.js} +1 -1
  34. package/dist/lens/{install-CWeTmh0n.js → install-CJiBw6fK.js} +1 -1
  35. package/dist/lens/{install-BTWUhDdp.js → install-Cc71ldkx.js} +1 -1
  36. package/dist/lens/{keys-c3W9dLJd.js → keys-CDuPhptC.js} +2 -2
  37. package/dist/lens/{metricViews-DsuhZ33b.js → metricViews-DSt7U_tR.js} +1 -1
  38. package/dist/lens/panels/PanelFrame.d.ts +5 -0
  39. package/dist/lens/panels/PanelFrame.d.ts.map +1 -1
  40. package/dist/lens/panels/context.d.ts +5 -0
  41. package/dist/lens/panels/context.d.ts.map +1 -1
  42. package/dist/lens/panels/drillGate.d.ts +21 -0
  43. package/dist/lens/panels/drillGate.d.ts.map +1 -0
  44. package/dist/lens/panels/focusTrap.d.ts.map +1 -1
  45. package/dist/lens/panels/hostRenderers.d.ts +34 -0
  46. package/dist/lens/panels/hostRenderers.d.ts.map +1 -0
  47. package/dist/lens/panels/registry.d.ts.map +1 -1
  48. package/dist/lens/{prefetch-C7Ln77Nc.js → prefetch-CdqkJU0Q.js} +2 -2
  49. package/dist/lens/{prefetchPanels-4EYtQSVk.js → prefetchPanels-DWdWaKBW.js} +1 -1
  50. package/dist/lens/{print-I2mxMp5M.js → print-pZ6_K3m5.js} +1 -1
  51. package/dist/lens/reports/ReportCompositionEditor.d.ts +46 -0
  52. package/dist/lens/reports/ReportCompositionEditor.d.ts.map +1 -0
  53. package/dist/lens/reports/ReportDestinationPicker.d.ts +23 -0
  54. package/dist/lens/reports/ReportDestinationPicker.d.ts.map +1 -0
  55. package/dist/lens/reports/ReportDialog.d.ts +26 -0
  56. package/dist/lens/reports/ReportDialog.d.ts.map +1 -0
  57. package/dist/lens/reports/ReportPicker.d.ts +35 -0
  58. package/dist/lens/reports/ReportPicker.d.ts.map +1 -0
  59. package/dist/lens/reports/ReportPlacementMenu.d.ts +14 -0
  60. package/dist/lens/reports/ReportPlacementMenu.d.ts.map +1 -0
  61. package/dist/lens/reports/ReportPlacementStatus.d.ts +30 -0
  62. package/dist/lens/reports/ReportPlacementStatus.d.ts.map +1 -0
  63. package/dist/lens/reports/ReportVersionNotice.d.ts +11 -0
  64. package/dist/lens/reports/ReportVersionNotice.d.ts.map +1 -0
  65. package/dist/lens/reports/contract/schemas.d.ts +9 -0
  66. package/dist/lens/reports/contract/schemas.d.ts.map +1 -1
  67. package/dist/lens/reports/contract/types.d.ts +41 -0
  68. package/dist/lens/reports/contract/types.d.ts.map +1 -1
  69. package/dist/lens/reports/draft.d.ts +28 -0
  70. package/dist/lens/reports/draft.d.ts.map +1 -1
  71. package/dist/lens/reports/filterDraft.d.ts +1 -0
  72. package/dist/lens/reports/filterDraft.d.ts.map +1 -1
  73. package/dist/lens/reports/guard.d.ts +40 -0
  74. package/dist/lens/reports/guard.d.ts.map +1 -0
  75. package/dist/lens/reports/layout.d.ts +34 -0
  76. package/dist/lens/reports/layout.d.ts.map +1 -0
  77. package/dist/lens/reports/picker.d.ts +97 -0
  78. package/dist/lens/reports/picker.d.ts.map +1 -0
  79. package/dist/lens/reports/placementHost.d.ts +61 -0
  80. package/dist/lens/reports/placementHost.d.ts.map +1 -0
  81. package/dist/lens/reports/unavailable.d.ts +13 -0
  82. package/dist/lens/reports/unavailable.d.ts.map +1 -0
  83. package/dist/lens/reports/version.d.ts +35 -0
  84. package/dist/lens/reports/version.d.ts.map +1 -0
  85. package/dist/lens/runtime/provider.d.ts +11 -0
  86. package/dist/lens/runtime/provider.d.ts.map +1 -1
  87. package/dist/lens/{scales-GElcTgGV.js → scales-BgYelCDe.js} +1 -1
  88. package/dist/lens/style.css +1 -1
  89. package/dist/sdk-identity.cjs +3 -3
  90. package/dist/sdk-identity.js +3 -3
  91. package/dist/sdk-identity.json +2 -2
  92. package/package.json +1 -1
  93. package/dist/lens/index-Cl9uN3D5.js +0 -13808
@@ -4,10 +4,32 @@ export { LensDashboard, type LensDashboardProps, type LensToolbarContext } from
4
4
  export { LensDashboardElement, registerLensDashboardElement } from './element';
5
5
  export { CONTRACT_VERSION, ContractVersionMismatchError, DashboardDocumentSchema, parseDocument, type DashboardDocument, } from './contract';
6
6
  export type { LensThemeMode } from './runtime';
7
- export { createReportDraft, copyReportDefinition, duplicateReportPlacement, parseReportDefinition, parseReportComposition } from './reports/draft';
8
- export type { ReportDefinition, ReportComposition, ReportPlacement, ReportSourceDescriptor, ReportDraftHost, SaveIntent } from './reports/draft';
7
+ export { LensMessagesProvider } from './runtime';
8
+ export { createReportDraft, copyReportDefinition, duplicateReportPlacement, parseReportDefinition, parseReportComposition, ReportRevisionConflictError, reportDraftToken } from './reports/draft';
9
+ export type { ReportDefinition, ReportComposition, ReportPlacement, ReportSourceDescriptor, ReportDraftHost, ReportDraft, ReportRebaseMode, SaveIntent } from './reports/draft';
9
10
  export { createFilterContextDraft, encodeFilterBoard, decodeFilterBoard, filterBoardURL, filterContextParam } from './reports/filterDraft';
10
11
  export type { ContextBoard, ContextFilters, ContextPeriod, ContextInput, EffectiveContext, ContextEditor } from './contract/types';
11
12
  export type { FilterDefaultsHost } from './reports/filterHost';
12
13
  export { placeOpenedReport, placeLibraryReport } from './reports/placement';
14
+ export { compareReportVersion, reportPlacementActions, withoutUnavailablePlacements } from './reports/version';
15
+ export type { ReportVersionStatus, ReportRevision, ReportOperation, ReportActions } from './reports/version';
16
+ export { ReportVersionNotice } from './reports/ReportVersionNotice';
17
+ export { ReportPlacementProvider, reportPlacementAvailable, reportPlacementMenu, reportPlacementUnavailable, useReportPlacementHost } from './reports/placementHost';
18
+ export type { ReportPlacementAction, ReportPlacementActionHandlers, ReportPlacementHost } from './reports/placementHost';
19
+ export { placementFreshness, formatCalculatedAt } from './reports/ReportPlacementStatus';
20
+ export type { PlacementFreshness } from './reports/ReportPlacementStatus';
21
+ export { reportUnavailableCopy } from './reports/unavailable';
22
+ export type { HostPanelRenderer, HostPanelRendererProps, HostPanelRenderers } from './panels/hostRenderers';
23
+ export type { PanelRegistry, PanelComponent } from './panels/registry';
24
+ export type { PanelFrameState } from './runtime';
25
+ export { ReportPicker, type ReportPickerProps } from './reports/ReportPicker';
26
+ export { ReportDestinationPicker, type ReportDestinationPickerProps } from './reports/ReportDestinationPicker';
27
+ export { appendReportPicks, createReportPickerSelection, parseCatalogPage, parseDestinations } from './reports/picker';
28
+ export type { ReportCatalogEntry, ReportCatalogHost, ReportCatalogPage, ReportCatalogQuery, ReportCatalogScope, ReportDestination, ReportDestinationChoice, ReportDestinationConfirmation, ReportDestinationHost, ReportPick, ReportPickerConfirmation, } from './reports/picker';
29
+ export { ReportCompositionEditor } from './reports/ReportCompositionEditor';
30
+ export type { ReportCompositionEditorProps, ReportEditorLifecycle, ReportProposal, ReportProposalHandlers } from './reports/ReportCompositionEditor';
31
+ export { createReportLeaveGuard } from './reports/guard';
32
+ export type { GuardedDraft, ReportLeaveChoice, ReportLeaveGuard } from './reports/guard';
33
+ export { configurePlacement, diffCompositions, movePlacement, movePlacementBefore, removePlacement, resizePlacement } from './reports/layout';
34
+ export type { CompositionChange, CompositionChangeKind, PlacementDirection, PlacementSettings } from './reports/layout';
13
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAA;AAErB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gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACxF,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,aAAa,EAAE,mBAAmB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAC7I,YAAY,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1,29 +1,58 @@
1
- import { av as r, aw as t, ax as s, ay as o, az as i, aA as n, aB as p, aC as D, aD as c, aE as R, aF as d, aG as E, aH as m, aI as S, aJ as l, aK as C, aL as O, aM as I, aN as f } from "./index-Cl9uN3D5.js";
2
- import { SDKIdentityMismatchError as _, SDK_IDENTITY as h, SDK_PROTOCOL_VERSION as K, SDK_RELEASE_VERSION as N, SDK_SOURCE_COMMIT as T, assertSDKIdentity as b } from "@iota-uz/sdk/client-host";
1
+ import { av as r, aw as t, ax as s, ay as o, az as n, aA as i, aB as p, aC as c, aD as l, aE as m, aF as R, aG as b, aH as P, aI as d, aJ as D, aK as C, aL as f, aM as E, aN as S, aO as v, aP as O, aQ as L, aR as h, aS as u, aT as I, aU as _, aV as T, aW as K, aX as M, aY as N, aZ as V, a_ as y, a$ as A, b0 as U, b1 as g, b2 as k, b3 as x, b4 as B, b5 as F, b6 as w, b7 as z, b8 as G, b9 as H, ba as Y, bb as J, bc as Q, bd as W, be as X } from "./index-D0vCs6QJ.js";
2
+ import { SDKIdentityMismatchError as $, SDK_IDENTITY as j, SDK_PROTOCOL_VERSION as q, SDK_RELEASE_VERSION as aa, SDK_SOURCE_COMMIT as ea, assertSDKIdentity as ra } from "@iota-uz/sdk/client-host";
3
3
  export {
4
4
  r as CONTRACT_VERSION,
5
5
  t as ContractVersionMismatchError,
6
6
  s as DashboardDocumentSchema,
7
7
  o as LensDashboard,
8
- i as LensDashboardElement,
9
- _ as SDKIdentityMismatchError,
10
- h as SDK_IDENTITY,
11
- K as SDK_PROTOCOL_VERSION,
12
- N as SDK_RELEASE_VERSION,
13
- T as SDK_SOURCE_COMMIT,
14
- b as assertSDKIdentity,
15
- n as copyReportDefinition,
16
- p as createFilterContextDraft,
17
- D as createReportDraft,
18
- c as decodeFilterBoard,
19
- R as duplicateReportPlacement,
20
- d as encodeFilterBoard,
21
- E as filterBoardURL,
22
- m as filterContextParam,
23
- S as parseDocument,
24
- l as parseReportComposition,
25
- C as parseReportDefinition,
26
- O as placeLibraryReport,
27
- I as placeOpenedReport,
28
- f as registerLensDashboardElement
8
+ n as LensDashboardElement,
9
+ i as LensMessagesProvider,
10
+ p as ReportCompositionEditor,
11
+ c as ReportDestinationPicker,
12
+ l as ReportPicker,
13
+ m as ReportPlacementProvider,
14
+ R as ReportRevisionConflictError,
15
+ b as ReportVersionNotice,
16
+ $ as SDKIdentityMismatchError,
17
+ j as SDK_IDENTITY,
18
+ q as SDK_PROTOCOL_VERSION,
19
+ aa as SDK_RELEASE_VERSION,
20
+ ea as SDK_SOURCE_COMMIT,
21
+ P as appendReportPicks,
22
+ ra as assertSDKIdentity,
23
+ d as compareReportVersion,
24
+ D as configurePlacement,
25
+ C as copyReportDefinition,
26
+ f as createFilterContextDraft,
27
+ E as createReportDraft,
28
+ S as createReportLeaveGuard,
29
+ v as createReportPickerSelection,
30
+ O as decodeFilterBoard,
31
+ L as diffCompositions,
32
+ h as duplicateReportPlacement,
33
+ u as encodeFilterBoard,
34
+ I as filterBoardURL,
35
+ _ as filterContextParam,
36
+ T as formatCalculatedAt,
37
+ K as movePlacement,
38
+ M as movePlacementBefore,
39
+ N as parseCatalogPage,
40
+ V as parseDestinations,
41
+ y as parseDocument,
42
+ A as parseReportComposition,
43
+ U as parseReportDefinition,
44
+ g as placeLibraryReport,
45
+ k as placeOpenedReport,
46
+ x as placementFreshness,
47
+ B as registerLensDashboardElement,
48
+ F as removePlacement,
49
+ w as reportDraftToken,
50
+ z as reportPlacementActions,
51
+ G as reportPlacementAvailable,
52
+ H as reportPlacementMenu,
53
+ Y as reportPlacementUnavailable,
54
+ J as reportUnavailableCopy,
55
+ Q as resizePlacement,
56
+ W as useReportPlacementHost,
57
+ X as withoutUnavailablePlacements
29
58
  };
@@ -1,4 +1,4 @@
1
- import { S as M, a as L, b as W, e as Y, i as I, c as q, g as R, d as Q, f as U, m as X, _ as k, t as H, h as J, j as Z, k as $, u as K, s as j, C as ee, l as ae, n as te, P as re, o as oe, p as ie, q as ne, r as se, v as le, w as ue, x as ve, y as ce, z as he, A as O, B as pe, D as N, E as fe, F as w, G as de, H as me, I as ye, J as T, K as xe, L as ge, M as Se, N as Ae, O as be } from "./adapter-Bti3q4E2.js";
1
+ import { S as M, a as L, b as W, e as Y, i as I, c as q, g as R, d as Q, f as U, m as X, _ as k, t as H, h as J, j as Z, k as $, u as K, s as j, C as ee, l as ae, n as te, P as re, o as oe, p as ie, q as ne, r as se, v as le, w as ue, x as ve, y as ce, z as he, A as O, B as pe, D as N, E as fe, F as w, G as de, H as me, I as ye, J as T, K as xe, L as ge, M as Se, N as Ae, O as be } from "./adapter-C8B6E1pp.js";
2
2
  var De = (
3
3
  /** @class */
4
4
  function() {
@@ -1,4 +1,4 @@
1
- import { L as ge, a3 as Ft, a4 as F, W as ue, a5 as $, a6 as sr, a7 as lr, a0 as ur, a8 as At, a9 as Gt, aa as cr, ab as fr, ac as Mt, ad as pr, ae as vr, af as gr, ag as hr, ah as yr, ai as Pt, e as h, o as he, aj as dr, ak as Q, al as mr, am as Sr, an as wr, ao as M, ap as ke, _ as L, aq as _r, ar as Pe, as as x, at as k, au as Et, av as Ot, aw as _, ax as re, ay as br, az as ye, aA as de, aB as Rr, aC as ee, aD as H, aE as Lt, aF as Cr, aG as U, aH as Ee, aI as Nt, aJ as Tr, aK as Ue, aL as Dr, aM as Fr, aN as Ye, F as I, aO as Be, aP as Je, aQ as Ar, aR as Gr, aS as Vt, aT as Oe, aU as Ae, aV as Mr, aW as Pr, aX as Er, aY as Or, aZ as Lr, a_ as ze, a$ as It, b0 as Nr, Y as xt, V as kt, b1 as Ge, b2 as Vr, n as Ir, b3 as xr, d as kr, f as Ur, b4 as Ut, b5 as Yr, b6 as Br, b7 as He, b8 as Jr, t as R, h as zr, b9 as Hr, ba as jr, bb as Xr, C as Wr, bc as je, bd as Yt, c as Xe, be as Kr, bf as qr, bg as Zr, bh as $r, bi as Qr, bj as en, bk as tn, bl as We, K as rn, bm as nn, bn as an, bo as on, bp as sn, q as Bt, bq as ln, br as un } from "./adapter-Bti3q4E2.js";
1
+ import { L as ge, a3 as Ft, a4 as F, W as ue, a5 as $, a6 as sr, a7 as lr, a0 as ur, a8 as At, a9 as Gt, aa as cr, ab as fr, ac as Mt, ad as pr, ae as vr, af as gr, ag as hr, ah as yr, ai as Pt, e as h, o as he, aj as dr, ak as Q, al as mr, am as Sr, an as wr, ao as M, ap as ke, _ as L, aq as _r, ar as Pe, as as x, at as k, au as Et, av as Ot, aw as _, ax as re, ay as br, az as ye, aA as de, aB as Rr, aC as ee, aD as H, aE as Lt, aF as Cr, aG as U, aH as Ee, aI as Nt, aJ as Tr, aK as Ue, aL as Dr, aM as Fr, aN as Ye, F as I, aO as Be, aP as Je, aQ as Ar, aR as Gr, aS as Vt, aT as Oe, aU as Ae, aV as Mr, aW as Pr, aX as Er, aY as Or, aZ as Lr, a_ as ze, a$ as It, b0 as Nr, Y as xt, V as kt, b1 as Ge, b2 as Vr, n as Ir, b3 as xr, d as kr, f as Ur, b4 as Ut, b5 as Yr, b6 as Br, b7 as He, b8 as Jr, t as R, h as zr, b9 as Hr, ba as jr, bb as Xr, C as Wr, bc as je, bd as Yt, c as Xe, be as Kr, bf as qr, bg as Zr, bh as $r, bi as Qr, bj as en, bk as tn, bl as We, K as rn, bm as nn, bn as an, bo as on, bp as sn, q as Bt, bq as ln, br as un } from "./adapter-C8B6E1pp.js";
2
2
  function Jt(a) {
3
3
  if (ge(a)) {
4
4
  var t = new DOMParser();
@@ -1,4 +1,4 @@
1
- import { bs as b, a3 as Ne, bt as R, e as d, i as V, L as Te, ah as Y, bu as q, bv as L, bw as Ge, ax as Be, bx as C, o as W, af as Fe, bc as Ke, by as Ue, bz as J, bA as $e, bB as We, t as w, _ as H, bC as Xe, K as Ze, bD as Ye, b4 as ce, bm as qe, I as Re, aT as Oe, bE as Ce, bF as Je, W as De, bg as Qe, bG as je, bo as et, bh as tt, bH as P, bI as A, a4 as K, bJ as he, b8 as ae, bK as ne, bL as it, a0 as rt, c as at, bM as nt, ae as ot, bN as Q, bO as j, bP as st, bn as lt, b1 as ut, bQ as pt, a9 as ct, bR as ht, bS as ve, bT as vt, bU as ft, bq as fe } from "./adapter-Bti3q4E2.js";
1
+ import { bs as b, a3 as Ne, bt as R, e as d, i as V, L as Te, ah as Y, bu as q, bv as L, bw as Ge, ax as Be, bx as C, o as W, af as Fe, bc as Ke, by as Ue, bz as J, bA as $e, bB as We, t as w, _ as H, bC as Xe, K as Ze, bD as Ye, b4 as ce, bm as qe, I as Re, aT as Oe, bE as Ce, bF as Je, W as De, bg as Qe, bG as je, bo as et, bh as tt, bH as P, bI as A, a4 as K, bJ as he, b8 as ae, bK as ne, bL as it, a0 as rt, c as at, bM as nt, ae as ot, bN as Q, bO as j, bP as st, bn as lt, b1 as ut, bQ as pt, a9 as ct, bR as ht, bS as ve, bT as vt, bU as ft, bq as fe } from "./adapter-C8B6E1pp.js";
2
2
  var N = d, dt = R, U = -1, x = (
3
3
  /** @class */
4
4
  function() {
@@ -1,4 +1,4 @@
1
- import { Q as U, t as $, _ as j, R as Z, T as J, U as q, E as F, V as Q, W as P, X as k, Y as K, n as X, Z as Y, $ as M, a0 as tt, C as et, o as at, a1 as rt, a2 as nt, h as it } from "./adapter-Bti3q4E2.js";
1
+ import { Q as U, t as $, _ as j, R as Z, T as J, U as q, E as F, V as Q, W as P, X as k, Y as K, n as X, Z as Y, $ as M, a0 as tt, C as et, o as at, a1 as rt, a2 as nt, h as it } from "./adapter-C8B6E1pp.js";
2
2
  var ot = 256, st = (
3
3
  /** @class */
4
4
  function() {
@@ -1,6 +1,6 @@
1
1
  import { use as _, insert as c, memo as $, createComponent as g, effect as y, className as C, setAttribute as h, template as m } from "solid-js/web";
2
2
  import { createSignal as k, onMount as E, onCleanup as S, createEffect as v, Show as w } from "solid-js";
3
- import { u as x } from "./index-Cl9uN3D5.js";
3
+ import { u as x } from "./index-D0vCs6QJ.js";
4
4
  import "solid-js/store";
5
5
  var H = /* @__PURE__ */ m("<div role=img><div class=lens-chart-canvas>"), M = /* @__PURE__ */ m("<span class=lens-chart-load-error-detail>"), K = /* @__PURE__ */ m("<div class=lens-chart-load-error role=alert><span class=lens-chart-load-error-message>");
6
6
  function I(e) {
@@ -21,7 +21,7 @@ function I(e) {
21
21
  return (a = e.onHover) == null ? void 0 : a.call(e, r);
22
22
  }
23
23
  };
24
- (e.adapter ? Promise.resolve(e.adapter) : import("./index-ClFSCk5e.js").then(({
24
+ (e.adapter ? Promise.resolve(e.adapter) : import("./index-Bv8OdTZx.js").then(({
25
25
  getChartAdapter: r
26
26
  }) => r(e.input.kind))).then((r) => {
27
27
  if (!(t || !o)) {
@@ -1,6 +1,6 @@
1
1
  import { createComponent as w, setAttribute as K, insert as N, effect as A, className as C, template as S } from "solid-js/web";
2
2
  import { Show as E } from "solid-js";
3
- import { a9 as M, aa as O, ab as R, W as D, ac as V, ad as B, ae as F, u as I } from "./index-Cl9uN3D5.js";
3
+ import { a9 as M, aa as O, ab as R, W as D, ac as V, ad as B, ae as F, u as I } from "./index-D0vCs6QJ.js";
4
4
  import "solid-js/store";
5
5
  var P = /* @__PURE__ */ S("<span><span class=lens-quality-chip-label>");
6
6
  const Q = {
@@ -7,6 +7,11 @@ export interface PanelFrameProps {
7
7
  children: JSXElement;
8
8
  variant?: 'stat' | 'chart';
9
9
  allowEmptyContent?: boolean;
10
+ /**
11
+ * The children draw their own loading state at their final size (a host
12
+ * renderer), so the frame does not swap them for a kind-shaped skeleton.
13
+ */
14
+ rendersLoading?: boolean;
10
15
  /** Reader controls that belong to this panel, placed before export chrome. */
11
16
  headerActions?: JSXElement;
12
17
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"PanelFrame.d.ts","sourceRoot":"","sources":["../../src/panels/PanelFrame.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAuB,KAAK,eAAe,EAAyC,MAAM,YAAY,CAAA;AAS7G,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAA;IACZ,KAAK,EAAE,eAAe,CAAA;IACtB,QAAQ,EAAE,UAAU,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,8EAA8E;IAC9E,aAAa,CAAC,EAAE,UAAU,CAAA;IAC1B;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAwBD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAUrG;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,eAoF/D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eAmNhD"}
1
+ {"version":3,"file":"PanelFrame.d.ts","sourceRoot":"","sources":["../../src/panels/PanelFrame.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAuB,KAAK,eAAe,EAAyC,MAAM,YAAY,CAAA;AAU7G,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAA;IACZ,KAAK,EAAE,eAAe,CAAA;IACtB,QAAQ,EAAE,UAAU,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,UAAU,CAAA;IAC1B;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAwBD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAUrG;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,eAoF/D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eA2NhD"}
@@ -18,6 +18,11 @@ export interface PanelChrome {
18
18
  * line; the accessible name comes from the section's own aria-label.
19
19
  */
20
20
  titleIsRedundant?: boolean;
21
+ /**
22
+ * False when the report placement around the panel may not export under its
23
+ * effective context; the panel then offers no export of its own either.
24
+ */
25
+ exportable?: boolean;
21
26
  }
22
27
  export declare const PanelChromeContext: import("solid-js").Context<PanelChrome | undefined>;
23
28
  export declare function usePanelChrome(): PanelChrome | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/panels/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,UAAU,EAAE,MAAM,UAAU,CAAA;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,C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IAAI,oBAAoB,GAAG,SAAS,CAEnE"}
@@ -0,0 +1,21 @@
1
+ import type { Panel } from '../contract';
2
+ /**
3
+ * Whether panels below may continue the analysis (drill, open records or
4
+ * details). A report placement whose source or context does not allow drill
5
+ * provides false, so its members render as terminal.
6
+ */
7
+ export declare const DrillGateContext: import("solid-js").Context<() => boolean>;
8
+ export declare function useDrillAllowed(): () => boolean;
9
+ /**
10
+ * Whether panels below may offer export. Like drill, a placement whose source
11
+ * or context cannot export refuses it for every member, nested groups included.
12
+ */
13
+ export declare const ExportGateContext: import("solid-js").Context<() => boolean>;
14
+ export declare function useExportAllowed(): () => boolean;
15
+ /**
16
+ * The panel as a terminal result: no drill tree and no action that continues
17
+ * the analysis, wherever the panel kind carries one, so no kind can render a
18
+ * click target, pointer affordance or keyboard activation for it.
19
+ */
20
+ export declare function withoutDrill(panel: Panel): Panel;
21
+ //# sourceMappingURL=drillGate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drillGate.d.ts","sourceRoot":"","sources":["../../src/panels/drillGate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,mCAAuB,OAAO,CAAa,CAAA;AAExE,wBAAgB,eAAe,IAAI,MAAM,OAAO,CAE/C;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,mCAAuB,OAAO,CAAa,CAAA;AAEzE,wBAAgB,gBAAgB,IAAI,MAAM,OAAO,CAEhD;AAOD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAehD"}
@@ -1 +1 @@
1
- {"version":3,"file":"focusTrap.d.ts","sourceRoot":"","sources":["../../src/panels/focusTrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAA;AAOjE,2EAA2E;AAC3E,wBAAgB,YAAY,CAC1B,MAAM,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,EAC5C,MAAM,EAAE,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,EACnC,QAAQ,EAAE,MAAM,IAAI,EACpB,YAAY,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,EACnD,YAAY,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,GAClD,IAAI,CAsCN"}
1
+ {"version":3,"file":"focusTrap.d.ts","sourceRoot":"","sources":["../../src/panels/focusTrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAA;AAWjE,2EAA2E;AAC3E,wBAAgB,YAAY,CAC1B,MAAM,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,EAC5C,MAAM,EAAE,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,EACnC,QAAQ,EAAE,MAAM,IAAI,EACpB,YAAY,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,EACnD,YAAY,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,GAClD,IAAI,CA0CN"}
@@ -0,0 +1,34 @@
1
+ import { type Component, type JSX } from 'solid-js';
2
+ import type { Panel } from '../contract';
3
+ import { type PanelFrameState } from '../runtime';
4
+ /** What a host renderer receives: the panel, its live frame state and the producer's options verbatim. */
5
+ export interface HostPanelRendererProps {
6
+ panel: Panel;
7
+ frame: PanelFrameState;
8
+ options: unknown;
9
+ }
10
+ /**
11
+ * A host-owned body for a panel whose document names it (panel.renderer). It
12
+ * renders only the figure: the SDK frame around it owns the title, empty,
13
+ * error and stale states, retry, export and the placement menu. While the
14
+ * first frame is loading (frame.isLoading without frame.data) the renderer
15
+ * draws its own placeholder at its final size, so the card does not move
16
+ * when the figure lands.
17
+ */
18
+ export type HostPanelRenderer = Component<HostPanelRendererProps>;
19
+ /** Host renderers keyed by the wire's panel.renderer.name. */
20
+ export type HostPanelRenderers = Readonly<Record<string, HostPanelRenderer>>;
21
+ export declare function HostRenderersProvider(props: {
22
+ renderers?: HostPanelRenderers;
23
+ children: JSX.Element;
24
+ }): JSX.Element;
25
+ export declare function useHostRenderers(): (name: string | undefined) => HostPanelRenderer | undefined;
26
+ /**
27
+ * A panel the producer handed to a host renderer. Without that renderer the
28
+ * card says so instead of drawing the panel as its kind: a legacy view is not
29
+ * replaced by a chart that merely looks similar.
30
+ */
31
+ export declare function HostRenderedPanel(props: {
32
+ panel: Panel;
33
+ }): JSX.Element;
34
+ //# sourceMappingURL=hostRenderers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hostRenderers.d.ts","sourceRoot":"","sources":["../../src/panels/hostRenderers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmC,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAA;AAEpF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAA+B,KAAK,eAAe,EAAE,MAAM,YAAY,CAAA;AAG9E,0GAA0G;AAC1G,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,KAAK,CAAA;IACZ,KAAK,EAAE,eAAe,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,sBAAsB,CAAC,CAAA;AAEjE,8DAA8D;AAC9D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAA;AAI5E,wBAAgB,qBAAqB,CAAC,KAAK,EAAE;IAAE,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAAC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CAAE,eAErG;AAED,wBAAgB,gBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,iBAAiB,GAAG,SAAS,CAG9F;AAED;;;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ACD,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC,CAAA;AAEtE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAoBuB,CAAA;AAE7C,eAAO,MAAM,aAAa,EAAE,aAAyB,CAAA;AAErD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,CAAC,EAAE,aAAa,CAAA;CACzB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,kCAUvD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,kCAsB1D"}
@@ -1,7 +1,7 @@
1
1
  var n = Object.defineProperty;
2
2
  var o = (h, e, t) => e in h ? n(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t;
3
3
  var c = (h, e, t) => o(h, typeof e != "symbol" ? e + "" : e, t);
4
- import { k as f } from "./index-Cl9uN3D5.js";
4
+ import { f } from "./index-D0vCs6QJ.js";
5
5
  class g {
6
6
  constructor(e = {}) {
7
7
  c(this, "capacity");
@@ -47,7 +47,7 @@ class g {
47
47
  if (this.entries.has(e) || this.inflight.has(e)) return Promise.resolve();
48
48
  const s = f(e, { fetcher: this.fetcher, csrf: this.csrf, prefetch: !0, signal: t }).then(async (i) => {
49
49
  if (!i.endpoints.panel || t != null && t.aborted) return i;
50
- const { prefetchDocumentFirstRow: r } = await import("./prefetchPanels-4EYtQSVk.js");
50
+ const { prefetchDocumentFirstRow: r } = await import("./prefetchPanels-DWdWaKBW.js");
51
51
  return r(i, {
52
52
  csrf: this.csrf,
53
53
  fetcher: this.fetcher,
@@ -1,4 +1,4 @@
1
- import { ap as w } from "./index-Cl9uN3D5.js";
1
+ import { ap as w } from "./index-D0vCs6QJ.js";
2
2
  async function y(e, n) {
3
3
  var p;
4
4
  const l = e.endpoints.panel, o = e.layout.rows.find(({ panels: a }) => a.length > 0);
@@ -1,4 +1,4 @@
1
- import { w as B, l as G, v as Q, m as V, n as z, o as W, p as X, q as Y, s as Z } from "./index-Cl9uN3D5.js";
1
+ import { w as B, r as G, v as Q, a as V, l as z, i as W, p as X, b as Y, q as Z } from "./index-D0vCs6QJ.js";
2
2
  function p(i) {
3
3
  return Object.values(i.frames)[0];
4
4
  }
@@ -0,0 +1,46 @@
1
+ import { type JSX } from 'solid-js';
2
+ import { type LensThemeMode } from '../runtime';
3
+ import type { Composition, Placement, Proposal } from './contract/types';
4
+ import { type ReportDraft } from './draft';
5
+ import { type ReportLeaveGuard } from './guard';
6
+ import { type ReportCatalogHost } from './picker';
7
+ export type ReportProposal = Proposal;
8
+ /** new: an unpublished draft (Save draft / Publish). existing: a saved object (Save changes / Cancel). */
9
+ export type ReportEditorLifecycle = 'new' | 'existing';
10
+ export interface ReportProposalHandlers {
11
+ /** Called after the reader applied or rejected the proposal. */
12
+ settled?: (proposalId: string, outcome: 'applied' | 'rejected') => void;
13
+ /** Prepare the proposal again against the current draft (reportDraftToken). */
14
+ regenerate?: (proposal: ReportProposal) => void;
15
+ /** Keep a stale proposal as a separate draft instead of applying it here. */
16
+ openAsDraft?: (proposal: ReportProposal) => void;
17
+ }
18
+ export interface ReportCompositionEditorProps {
19
+ draft: ReportDraft<Composition>;
20
+ lifecycle: ReportEditorLifecycle;
21
+ /** The saved report's title for a placement without its own caption. */
22
+ reportTitle: (reportId: string) => string | undefined;
23
+ /** Enables "Add report" through the picker. */
24
+ catalog?: ReportCatalogHost;
25
+ /** The card body, typically the host's rendering of the placement. */
26
+ renderPlacement?: (placement: Placement) => JSX.Element;
27
+ /** How many placements use a report, shown before editing the shared definition. */
28
+ usage?: (reportId: string) => Promise<number> | number;
29
+ /** Opens the shared report definition for editing. */
30
+ onEditReport?: (reportId: string, placementId: string) => Promise<void> | void;
31
+ /** Replaces the placement's report with an independent copy. */
32
+ onCopyReport?: (placementId: string) => Promise<void> | void;
33
+ /** After a revision conflict: keep the local draft as an independent object. */
34
+ onSaveCopy?: (draft: Composition) => Promise<void> | void;
35
+ /** In-app navigation guard; the editor creates one with browser-unload protection when omitted. */
36
+ guard?: ReportLeaveGuard;
37
+ proposal?: ReportProposal;
38
+ proposalHandlers?: ReportProposalHandlers;
39
+ /** Placement span of cards added from the picker (12 by default). */
40
+ addSpan?: number;
41
+ theme?: LensThemeMode;
42
+ messages?: Record<string, string>;
43
+ }
44
+ /** Edits a composition draft: layout, captions, card-local periods; Save and Cancel act on the whole session. */
45
+ export declare function ReportCompositionEditor(props: ReportCompositionEditorProps): JSX.Element;
46
+ //# sourceMappingURL=ReportCompositionEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportCompositionEditor.d.ts","sourceRoot":"","sources":["../../src/reports/ReportCompositionEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAA;AAEjG,OAAO,EAAsC,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA;AACnF,OAAO,KAAK,EAAE,WAAW,EAAiB,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACvF,OAAO,EAA4C,KAAK,WAAW,EAAmB,MAAM,SAAS,CAAA;AACrG,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAKvE,OAAO,EAAqB,KAAK,iBAAiB,EAAiC,MAAM,UAAU,CAAA;AAInG,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAA;AAErC,0GAA0G;AAC1G,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,UAAU,CAAA;AAEtD,MAAM,WAAW,sBAAsB;IACrC,gEAAgE;IAChE,OAAO,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,UAAU,KAAK,IAAI,CAAA;IACvE,+EAA+E;IAC/E,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAA;IAC/C,6E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AK,EAAE,4BAA4B,GAAG,GAAG,CAAC,OAAO,CAMxF"}
@@ -0,0 +1,23 @@
1
+ import { type JSX } from 'solid-js';
2
+ import type { EffectiveContext } from '../contract/types';
3
+ import { type LensThemeMode } from '../runtime';
4
+ import { type ReportDestinationConfirmation, type ReportDestinationHost } from './picker';
5
+ export interface ReportDestinationPickerProps {
6
+ /** The opened report being added. */
7
+ report: {
8
+ id: string;
9
+ title: string;
10
+ };
11
+ host: ReportDestinationHost;
12
+ /** The slice shown in the opened analysis; it travels to the host unchanged. */
13
+ context?: EffectiveContext;
14
+ /** Hands the choice to the host. The dialog closes only after it resolves. */
15
+ onConfirm: (confirmation: ReportDestinationConfirmation) => Promise<void> | void;
16
+ onClose: () => void;
17
+ restoreFocus?: HTMLElement;
18
+ theme?: LensThemeMode;
19
+ messages?: Record<string, string>;
20
+ }
21
+ /** Chooses the dashboard an opened report is added to, or a new one. */
22
+ export declare function ReportDestinationPicker(props: ReportDestinationPickerProps): JSX.Element;
23
+ //# sourceMappingURL=ReportDestinationPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportDestinationPicker.d.ts","sourceRoot":"","sources":["../../src/reports/ReportDestinationPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAA;AACxG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAsC,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA;AAEnF,OAAO,EAA2D,KAAK,6BAA6B,EAAE,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAGlJ,MAAM,WAAW,4BAA4B;IAC3C,qCAAqC;IACrC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,gFAAgF;IAChF,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,8EAA8E;IAC9E,SAAS,EAAE,CAAC,YAAY,EAAE,6BAA6B,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAChF,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAClC;AAID,wEAAwE;AACxE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,GAAG,GAAG,CAAC,OAAO,CAMxF"}
@@ -0,0 +1,26 @@
1
+ import { type JSX } from 'solid-js';
2
+ export interface ReportDialogProps {
3
+ title: string;
4
+ /** Secondary line under the title. */
5
+ description?: string;
6
+ onClose: () => void;
7
+ /** Escape; onClose when omitted. A dialog with a nested view steps back instead of closing. */
8
+ onEscape?: () => void;
9
+ /** The element focused again after the dialog closes; the active element when omitted. */
10
+ restoreFocus?: HTMLElement;
11
+ /** Field focused on open; the dialog itself when omitted. */
12
+ initialFocus?: () => HTMLElement | null | undefined;
13
+ theme?: string;
14
+ size?: 'default' | 'wide';
15
+ role?: 'dialog' | 'alertdialog';
16
+ footer?: JSX.Element;
17
+ children: JSX.Element;
18
+ testId?: string;
19
+ }
20
+ /**
21
+ * The modal frame of report picking and editing. It portals a themed Lens
22
+ * root to the body, traps focus, closes on Escape, and on close returns focus
23
+ * and the page's scroll position to where the reader left them.
24
+ */
25
+ export declare function ReportDialog(props: ReportDialogProps): JSX.Element;
26
+ //# sourceMappingURL=ReportDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportDialog.d.ts","sourceRoot":"","sources":["../../src/reports/ReportDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,GAAG,EAAE,MAAM,UAAU,CAAA;AAO7E,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,0FAA0F;IAC1F,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,6DAA6D;IAC7D,YAAY,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,CAAA;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACzB,IAAI,CAAC,EAAE,QAAQ,GAAG,aAAa,CAAA;IAC/B,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACpB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAiElE"}
@@ -0,0 +1,35 @@
1
+ import { type JSX } from 'solid-js';
2
+ import { type LensThemeMode } from '../runtime';
3
+ import type { CatalogScope } from './contract/types';
4
+ import { type ReportCatalogHost, type ReportPickerConfirmation } from './picker';
5
+ export interface ReportPickerProps {
6
+ /** The composition receiving the reports; its title names the dialog. */
7
+ target: {
8
+ id: string;
9
+ title: string;
10
+ };
11
+ host: ReportCatalogHost;
12
+ /**
13
+ * Adds the confirmed reports to the caller's draft. The picker closes only
14
+ * after it resolves; a rejection keeps the search and the selection.
15
+ */
16
+ onConfirm: (confirmation: ReportPickerConfirmation) => Promise<void> | void;
17
+ /** Called on Cancel, Escape, the close button and after a confirmed add. */
18
+ onClose: () => void;
19
+ /**
20
+ * The placements of a report in the caller's current draft. Overrides the
21
+ * catalog's count, which describes the saved composition.
22
+ */
23
+ placed?: (reportId: string) => number;
24
+ restoreFocus?: HTMLElement;
25
+ theme?: LensThemeMode;
26
+ /** Runtime messages (document.RuntimeI18nKeys) when rendered outside a document. */
27
+ messages?: Record<string, string>;
28
+ pageSize?: number;
29
+ /** Search text and owner scope to open with, e.g. the list the reader left. */
30
+ initialSearch?: string;
31
+ initialScope?: CatalogScope;
32
+ }
33
+ /** Searches the host catalog, previews a report and adds the chosen ones to a draft. */
34
+ export declare function ReportPicker(props: ReportPickerProps): JSX.Element;
35
+ //# sourceMappingURL=ReportPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportPicker.d.ts","sourceRoot":"","sources":["../../src/reports/ReportPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgF,KAAK,GAAG,EAAE,MAAM,UAAU,CAAA;AAGjH,OAAO,EAAsC,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA;AACnF,OAAO,KAAK,EAAgB,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAA+B,KAAK,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAG7G,MAAM,WAAW,iBAAiB;IAChC,yEAAyE;IACzE,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrC,IAAI,EAAE,iBAAiB,CAAA;IACvB;;;OAGG;IACH,SAAS,EAAE,CAAC,YAAY,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC3E,4EAA4E;IAC5E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IACrC,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAOD,wFAAwF;AACxF,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAMlE"}
@@ -0,0 +1,14 @@
1
+ import type { EffectiveContext, GroupUnavailable } from '../contract/types';
2
+ /**
3
+ * The one actions menu of a report placement. Items are the host's handlers
4
+ * that the source capabilities and the card's state allow; with none the
5
+ * trigger is not rendered. Each item calls the host and nothing else: opening,
6
+ * editing, copying and removing are host operations, never an implicit save.
7
+ */
8
+ export declare function ReportPlacementMenu(props: {
9
+ placementId: string;
10
+ title: string;
11
+ context?: EffectiveContext;
12
+ unavailable?: GroupUnavailable;
13
+ }): import("solid-js").JSX.Element;
14
+ //# sourceMappingURL=ReportPlacementMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportPlacementMenu.d.ts","sourceRoot":"","sources":["../../src/reports/ReportPlacementMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AA+B3E;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,WAAW,CAAC,EAAE,gBAAgB,CAAA;CAC/B,kCAwFA"}
@@ -0,0 +1,30 @@
1
+ import { type PanelFrameState } from '../runtime';
2
+ export type PlacementFreshness = {
3
+ state: 'failed';
4
+ failed: PanelFrameState[];
5
+ } | {
6
+ state: 'updating';
7
+ } | {
8
+ state: 'calculated';
9
+ at: number;
10
+ };
11
+ /**
12
+ * One reading for a whole card. A member that failed outranks everything: a
13
+ * dashboard refresh that left this card's request broken has not updated it,
14
+ * whatever the board's own stamp says. The calculation time is the oldest of
15
+ * the members, so the card never claims to be newer than its stalest figure.
16
+ */
17
+ export declare function placementFreshness(frames: PanelFrameState[], generatedAt: string, refreshing: boolean): PlacementFreshness | undefined;
18
+ /** A wall-clock time that names its zone, in the card's calendar timezone when it has one. */
19
+ export declare function formatCalculatedAt(at: number, locale: string, timeZone?: string): string;
20
+ /**
21
+ * How current a placement's figures are, and the card's own retry. Retry
22
+ * re-requests only this card's failed members; the dashboard's refresh is a
23
+ * separate control and never marks this card updated while it is failing.
24
+ */
25
+ export declare function ReportPlacementStatus(props: {
26
+ placementId: string;
27
+ panelIds: string[];
28
+ timeZone?: string;
29
+ }): import("solid-js").JSX.Element;
30
+ //# sourceMappingURL=ReportPlacementStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportPlacementStatus.d.ts","sourceRoot":"","sources":["../../src/reports/ReportPlacementStatus.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAA;AAE/G,MAAM,MAAM,kBAAkB,GAC1B;IAAE,KAAK,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAAE,GAC9C;IAAE,KAAK,EAAE,UAAU,CAAA;CAAE,GACrB;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA;AAEvC;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,eAAe,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,GAAG,kBAAkB,GAAG,SAAS,CAOtI;AAED,8FAA8F;AAC9F,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAQxF;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,kCAmC1G"}
@@ -0,0 +1,11 @@
1
+ import type { LayoutGroup } from '../contract/types';
2
+ /**
3
+ * Update-available keeps the opened figures intact and offers the newer
4
+ * version; an unavailable placement (incompatible, deleted or forbidden)
5
+ * explains why it cannot be shown.
6
+ */
7
+ export declare function ReportVersionNotice(props: {
8
+ placementId: string;
9
+ unavailable?: LayoutGroup['unavailable'];
10
+ }): import("solid-js").JSX.Element;
11
+ //# sourceMappingURL=ReportVersionNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportVersionNotice.d.ts","sourceRoot":"","sources":["../../src/reports/ReportVersionNotice.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAKpD;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAA;CAAE,kCAiE3G"}
@@ -8,6 +8,11 @@ export declare class ContractVersionMismatchError extends Error {
8
8
  }
9
9
  export declare const ContractVersionSchema: z.ZodType<string>;
10
10
  export declare const CapabilitiesSchema: z.ZodType<Contract.Capabilities>;
11
+ export declare const CatalogEntrySchema: z.ZodType<Contract.CatalogEntry>;
12
+ export declare const CatalogOwnerSchema: z.ZodType<Contract.CatalogOwner>;
13
+ export declare const CatalogPageSchema: z.ZodType<Contract.CatalogPage>;
14
+ export declare const CatalogQuerySchema: z.ZodType<Contract.CatalogQuery>;
15
+ export declare const CatalogScopeSchema: z.ZodType<Contract.CatalogScope>;
11
16
  export declare const CompositionSchema: z.ZodType<Contract.Composition>;
12
17
  export declare const ContextBoardSchema: z.ZodType<Contract.ContextBoard>;
13
18
  export declare const ContextCalendarSchema: z.ZodType<Contract.ContextCalendar>;
@@ -17,8 +22,12 @@ export declare const ContextLayerSchema: z.ZodType<Contract.ContextLayer>;
17
22
  export declare const ContextOriginSchema: z.ZodType<Contract.ContextOrigin>;
18
23
  export declare const ContextPeriodSchema: z.ZodType<Contract.ContextPeriod>;
19
24
  export declare const DefinitionSchema: z.ZodType<Contract.Definition>;
25
+ export declare const DestinationSchema: z.ZodType<Contract.Destination>;
26
+ export declare const OwnershipSchema: z.ZodType<Contract.Ownership>;
20
27
  export declare const ParametersSchema: z.ZodType<Contract.Parameters>;
21
28
  export declare const PlacementSchema: z.ZodType<Contract.Placement>;
29
+ export declare const ProposalSchema: z.ZodType<Contract.Proposal>;
22
30
  export declare const SourceDescriptorSchema: z.ZodType<Contract.SourceDescriptor>;
23
31
  export declare const SourceRefSchema: z.ZodType<Contract.SourceRef>;
32
+ export declare const VersionStatusSchema: z.ZodType<Contract.VersionStatus>;
24
33
  //# sourceMappingURL=schemas.d.ts.map