@iota-uz/sdk 0.4.44 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -142
- package/dist/client-host/applet.d.ts +52 -0
- package/dist/client-host/applet.d.ts.map +1 -0
- package/dist/client-host/applet.js +24 -0
- package/dist/client-host/cache.d.ts +15 -0
- package/dist/client-host/cache.d.ts.map +1 -0
- package/dist/client-host/cache.js +27 -0
- package/dist/client-host/errors.d.ts +16 -0
- package/dist/client-host/errors.d.ts.map +1 -0
- package/dist/client-host/errors.js +45 -0
- package/dist/client-host/identity.d.ts +21 -0
- package/dist/client-host/identity.d.ts.map +1 -0
- package/dist/client-host/identity.js +28 -0
- package/dist/client-host/index.d.ts +11 -0
- package/dist/client-host/index.d.ts.map +1 -0
- package/dist/client-host/index.js +10 -0
- package/dist/client-host/portals.d.ts +30 -0
- package/dist/client-host/portals.d.ts.map +1 -0
- package/dist/client-host/portals.js +149 -0
- package/dist/client-host/protocol.d.ts +2 -0
- package/dist/client-host/protocol.d.ts.map +1 -0
- package/dist/client-host/protocol.js +2 -0
- package/dist/client-host/route.d.ts +29 -0
- package/dist/client-host/route.d.ts.map +1 -0
- package/dist/client-host/route.js +32 -0
- package/dist/client-host/rpc.d.ts +46 -0
- package/dist/client-host/rpc.d.ts.map +1 -0
- package/dist/client-host/rpc.js +90 -0
- package/dist/client-host/streaming.d.ts +43 -0
- package/dist/client-host/streaming.d.ts.map +1 -0
- package/dist/client-host/streaming.js +141 -0
- package/dist/client-host/transport.d.ts +26 -0
- package/dist/client-host/transport.d.ts.map +1 -0
- package/dist/client-host/transport.js +53 -0
- package/dist/lens/CascadePanel-DqOZFdR-.js +512 -0
- package/dist/lens/ChartDataEquivalent-BFDdHoQn.js +52 -0
- package/dist/lens/ChartHost-Bl2lxIqU.js +68 -0
- package/dist/lens/ChartPanel-CTIp_4YE.js +720 -0
- package/dist/lens/CoveragePanel-DZZWkjSv.js +131 -0
- package/dist/lens/DashboardPanels.d.ts +36 -0
- package/dist/lens/DashboardPanels.d.ts.map +1 -0
- package/dist/lens/GaugePanel-BcNdd_Wj.js +43 -0
- package/dist/lens/LensDashboard.d.ts +21 -0
- package/dist/lens/LensDashboard.d.ts.map +1 -0
- package/dist/lens/MapPanel-6sI_Ei9L.js +178 -0
- package/dist/lens/MetricFlowPanel-LzqevSPs.js +70 -0
- package/dist/lens/MetricHierarchyPanel-h6tJqRPg.js +72 -0
- package/dist/lens/MetricRelationshipPanel-CgckUvvJ.js +54 -0
- package/dist/lens/PrintReport-DJv4Rm_U.js +1351 -0
- package/dist/lens/TablePanel-Dh6bXlwM.js +619 -0
- package/dist/lens/adapter-zBDC8hbZ.js +29093 -0
- package/dist/lens/breakpoints.d.ts +37 -0
- package/dist/lens/breakpoints.d.ts.map +1 -0
- package/dist/lens/charts/adapter.d.ts +157 -0
- package/dist/lens/charts/adapter.d.ts.map +1 -0
- package/dist/lens/charts/echarts/adapter.d.ts +9 -0
- package/dist/lens/charts/echarts/adapter.d.ts.map +1 -0
- package/dist/lens/charts/echarts/distributions.d.ts +9 -0
- package/dist/lens/charts/echarts/distributions.d.ts.map +1 -0
- package/dist/lens/charts/echarts/events.d.ts +7 -0
- package/dist/lens/charts/echarts/events.d.ts.map +1 -0
- package/dist/lens/charts/echarts/options.d.ts +163 -0
- package/dist/lens/charts/echarts/options.d.ts.map +1 -0
- package/dist/lens/charts/echarts/theme.d.ts +49 -0
- package/dist/lens/charts/echarts/theme.d.ts.map +1 -0
- package/dist/lens/charts/echarts/tooltip.d.ts +79 -0
- package/dist/lens/charts/echarts/tooltip.d.ts.map +1 -0
- package/dist/lens/charts/index.d.ts +9 -0
- package/dist/lens/charts/index.d.ts.map +1 -0
- package/dist/lens/charts/keys.d.ts +8 -0
- package/dist/lens/charts/keys.d.ts.map +1 -0
- package/dist/lens/charts/overlays.d.ts +134 -0
- package/dist/lens/charts/overlays.d.ts.map +1 -0
- package/dist/lens/charts/palette.d.ts +54 -0
- package/dist/lens/charts/palette.d.ts.map +1 -0
- package/dist/lens/charts/scales.d.ts +26 -0
- package/dist/lens/charts/scales.d.ts.map +1 -0
- package/dist/lens/charts/shares.d.ts +44 -0
- package/dist/lens/charts/shares.d.ts.map +1 -0
- package/dist/lens/charts/text.d.ts +23 -0
- package/dist/lens/charts/text.d.ts.map +1 -0
- package/dist/lens/contract/index.d.ts +4 -0
- package/dist/lens/contract/index.d.ts.map +1 -0
- package/dist/lens/contract/palette.d.ts +13 -0
- package/dist/lens/contract/palette.d.ts.map +1 -0
- package/dist/lens/contract/schemas.d.ts +132 -0
- package/dist/lens/contract/schemas.d.ts.map +1 -0
- package/dist/lens/contract/types.d.ts +788 -0
- package/dist/lens/contract/types.d.ts.map +1 -0
- package/dist/lens/controls/Calendar.d.ts +24 -0
- package/dist/lens/controls/Calendar.d.ts.map +1 -0
- package/dist/lens/controls/CompareFilterControl.d.ts +23 -0
- package/dist/lens/controls/CompareFilterControl.d.ts.map +1 -0
- package/dist/lens/controls/FacetFilterMenu.d.ts +29 -0
- package/dist/lens/controls/FacetFilterMenu.d.ts.map +1 -0
- package/dist/lens/controls/FilterBar.d.ts +30 -0
- package/dist/lens/controls/FilterBar.d.ts.map +1 -0
- package/dist/lens/controls/PeriodFilterControl.d.ts +50 -0
- package/dist/lens/controls/PeriodFilterControl.d.ts.map +1 -0
- package/dist/lens/controls/SegmentedFilterControl.d.ts +22 -0
- package/dist/lens/controls/SegmentedFilterControl.d.ts.map +1 -0
- package/dist/lens/controls/facetOptions.d.ts +33 -0
- package/dist/lens/controls/facetOptions.d.ts.map +1 -0
- package/dist/lens/controls/index.d.ts +6 -0
- package/dist/lens/controls/index.d.ts.map +1 -0
- package/dist/lens/controls/model.d.ts +181 -0
- package/dist/lens/controls/model.d.ts.map +1 -0
- package/dist/lens/drillPrefetch-Bs-6Oyxa.js +68 -0
- package/dist/lens/element.d.ts +12 -0
- package/dist/lens/element.d.ts.map +1 -0
- package/dist/lens/explore/ContextMiniChart.d.ts +18 -0
- package/dist/lens/explore/ContextMiniChart.d.ts.map +1 -0
- package/dist/lens/explore/DrillOverlay.d.ts +66 -0
- package/dist/lens/explore/DrillOverlay.d.ts.map +1 -0
- package/dist/lens/explore/ExplorePanel.d.ts +8 -0
- package/dist/lens/explore/ExplorePanel.d.ts.map +1 -0
- package/dist/lens/explore/FocusContextHeader.d.ts +20 -0
- package/dist/lens/explore/FocusContextHeader.d.ts.map +1 -0
- package/dist/lens/explore/LensSelector.d.ts +17 -0
- package/dist/lens/explore/LensSelector.d.ts.map +1 -0
- package/dist/lens/explore/SourceDataDisclosure.d.ts +15 -0
- package/dist/lens/explore/SourceDataDisclosure.d.ts.map +1 -0
- package/dist/lens/explore/actions.d.ts +22 -0
- package/dist/lens/explore/actions.d.ts.map +1 -0
- package/dist/lens/explore/focusModel.d.ts +55 -0
- package/dist/lens/explore/focusModel.d.ts.map +1 -0
- package/dist/lens/explore/index.d.ts +9 -0
- package/dist/lens/explore/index.d.ts.map +1 -0
- package/dist/lens/explore/model.d.ts +59 -0
- package/dist/lens/explore/model.d.ts.map +1 -0
- package/dist/lens/export-B0U20F4u.js +57 -0
- package/dist/lens/icons.d.ts +103 -0
- package/dist/lens/icons.d.ts.map +1 -0
- package/dist/lens/idlePrefetch-Bi4Wk1uR.js +80 -0
- package/dist/lens/index-C45DAO6w.js +10883 -0
- package/dist/lens/index-CspKnSQn.js +11 -0
- package/dist/lens/index.d.ts +7 -0
- package/dist/lens/index.d.ts.map +1 -0
- package/dist/lens/index.js +17 -0
- package/dist/lens/install-3GLgv_LN.js +2028 -0
- package/dist/lens/install-B5oSx3pv.js +233 -0
- package/dist/lens/install-DT0AQkUj.js +1490 -0
- package/dist/lens/install-DyXK20dR.js +307 -0
- package/dist/lens/keys-DenV5HsJ.js +12 -0
- package/dist/lens/listSearch.d.ts +12 -0
- package/dist/lens/listSearch.d.ts.map +1 -0
- package/dist/lens/metricViews-QvoFHVdh.js +170 -0
- package/dist/lens/panels/CascadePanel.d.ts +138 -0
- package/dist/lens/panels/CascadePanel.d.ts.map +1 -0
- package/dist/lens/panels/ChartDataEquivalent.d.ts +23 -0
- package/dist/lens/panels/ChartDataEquivalent.d.ts.map +1 -0
- package/dist/lens/panels/ChartHost.d.ts +14 -0
- package/dist/lens/panels/ChartHost.d.ts.map +1 -0
- package/dist/lens/panels/ChartPanel.d.ts +29 -0
- package/dist/lens/panels/ChartPanel.d.ts.map +1 -0
- package/dist/lens/panels/CopyValueButton.d.ts +15 -0
- package/dist/lens/panels/CopyValueButton.d.ts.map +1 -0
- package/dist/lens/panels/CoveragePanel.d.ts +17 -0
- package/dist/lens/panels/CoveragePanel.d.ts.map +1 -0
- package/dist/lens/panels/ExportMenu.d.ts +12 -0
- package/dist/lens/panels/ExportMenu.d.ts.map +1 -0
- package/dist/lens/panels/GaugePanel.d.ts +6 -0
- package/dist/lens/panels/GaugePanel.d.ts.map +1 -0
- package/dist/lens/panels/InfoTip.d.ts +50 -0
- package/dist/lens/panels/InfoTip.d.ts.map +1 -0
- package/dist/lens/panels/MapPanel.d.ts +17 -0
- package/dist/lens/panels/MapPanel.d.ts.map +1 -0
- package/dist/lens/panels/MetricFlowPanel.d.ts +6 -0
- package/dist/lens/panels/MetricFlowPanel.d.ts.map +1 -0
- package/dist/lens/panels/MetricHierarchyPanel.d.ts +6 -0
- package/dist/lens/panels/MetricHierarchyPanel.d.ts.map +1 -0
- package/dist/lens/panels/MetricRelationshipPanel.d.ts +14 -0
- package/dist/lens/panels/MetricRelationshipPanel.d.ts.map +1 -0
- package/dist/lens/panels/PanelExportMenu.d.ts +5 -0
- package/dist/lens/panels/PanelExportMenu.d.ts.map +1 -0
- package/dist/lens/panels/PanelFrame.d.ts +42 -0
- package/dist/lens/panels/PanelFrame.d.ts.map +1 -0
- package/dist/lens/panels/PanelOverlay.d.ts +19 -0
- package/dist/lens/panels/PanelOverlay.d.ts.map +1 -0
- package/dist/lens/panels/QualityChip.d.ts +51 -0
- package/dist/lens/panels/QualityChip.d.ts.map +1 -0
- package/dist/lens/panels/ShareSliceButton.d.ts +3 -0
- package/dist/lens/panels/ShareSliceButton.d.ts.map +1 -0
- package/dist/lens/panels/Skeleton.d.ts +67 -0
- package/dist/lens/panels/Skeleton.d.ts.map +1 -0
- package/dist/lens/panels/StatPanel.d.ts +52 -0
- package/dist/lens/panels/StatPanel.d.ts.map +1 -0
- package/dist/lens/panels/StatValueTicker.d.ts +27 -0
- package/dist/lens/panels/StatValueTicker.d.ts.map +1 -0
- package/dist/lens/panels/TablePanel.d.ts +19 -0
- package/dist/lens/panels/TablePanel.d.ts.map +1 -0
- package/dist/lens/panels/WaterfallPlot.d.ts +51 -0
- package/dist/lens/panels/WaterfallPlot.d.ts.map +1 -0
- package/dist/lens/panels/actions.d.ts +75 -0
- package/dist/lens/panels/actions.d.ts.map +1 -0
- package/dist/lens/panels/context.d.ts +32 -0
- package/dist/lens/panels/context.d.ts.map +1 -0
- package/dist/lens/panels/data.d.ts +95 -0
- package/dist/lens/panels/data.d.ts.map +1 -0
- package/dist/lens/panels/kinds.d.ts +4 -0
- package/dist/lens/panels/kinds.d.ts.map +1 -0
- package/dist/lens/panels/metricViews.d.ts +79 -0
- package/dist/lens/panels/metricViews.d.ts.map +1 -0
- package/dist/lens/panels/registry.d.ts +45 -0
- package/dist/lens/panels/registry.d.ts.map +1 -0
- package/dist/lens/panels/useIsClamped.d.ts +16 -0
- package/dist/lens/panels/useIsClamped.d.ts.map +1 -0
- package/dist/lens/panels/useMenuButton.d.ts +68 -0
- package/dist/lens/panels/useMenuButton.d.ts.map +1 -0
- package/dist/lens/prefetch-Dov5CBoH.js +74 -0
- package/dist/lens/prefetchPanels-B7bIY0bM.js +31 -0
- package/dist/lens/print/PrintReport.d.ts +12 -0
- package/dist/lens/print/PrintReport.d.ts.map +1 -0
- package/dist/lens/print/footnotes.d.ts +29 -0
- package/dist/lens/print/footnotes.d.ts.map +1 -0
- package/dist/lens/print/formula.d.ts +9 -0
- package/dist/lens/print/formula.d.ts.map +1 -0
- package/dist/lens/print/narrative.d.ts +41 -0
- package/dist/lens/print/narrative.d.ts.map +1 -0
- package/dist/lens/print/outline.d.ts +94 -0
- package/dist/lens/print/outline.d.ts.map +1 -0
- package/dist/lens/print/palette.d.ts +23 -0
- package/dist/lens/print/palette.d.ts.map +1 -0
- package/dist/lens/print/quality.d.ts +32 -0
- package/dist/lens/print/quality.d.ts.map +1 -0
- package/dist/lens/print/units.d.ts +23 -0
- package/dist/lens/print/units.d.ts.map +1 -0
- package/dist/lens/print/values.d.ts +28 -0
- package/dist/lens/print/values.d.ts.map +1 -0
- package/dist/lens/print-CwcB0fug.js +216 -0
- package/dist/lens/runtime/clipboard.d.ts +11 -0
- package/dist/lens/runtime/clipboard.d.ts.map +1 -0
- package/dist/lens/runtime/document.d.ts +9 -0
- package/dist/lens/runtime/document.d.ts.map +1 -0
- package/dist/lens/runtime/drawer.d.ts +21 -0
- package/dist/lens/runtime/drawer.d.ts.map +1 -0
- package/dist/lens/runtime/drill.d.ts +54 -0
- package/dist/lens/runtime/drill.d.ts.map +1 -0
- package/dist/lens/runtime/drillPrefetch.d.ts +22 -0
- package/dist/lens/runtime/drillPrefetch.d.ts.map +1 -0
- package/dist/lens/runtime/export.d.ts +21 -0
- package/dist/lens/runtime/export.d.ts.map +1 -0
- package/dist/lens/runtime/filters.d.ts +51 -0
- package/dist/lens/runtime/filters.d.ts.map +1 -0
- package/dist/lens/runtime/focusTrap.d.ts +4 -0
- package/dist/lens/runtime/focusTrap.d.ts.map +1 -0
- package/dist/lens/runtime/format.d.ts +81 -0
- package/dist/lens/runtime/format.d.ts.map +1 -0
- package/dist/lens/runtime/idlePrefetch.d.ts +35 -0
- package/dist/lens/runtime/idlePrefetch.d.ts.map +1 -0
- package/dist/lens/runtime/index.d.ts +15 -0
- package/dist/lens/runtime/index.d.ts.map +1 -0
- package/dist/lens/runtime/navigate.d.ts +12 -0
- package/dist/lens/runtime/navigate.d.ts.map +1 -0
- package/dist/lens/runtime/navigation.d.ts +77 -0
- package/dist/lens/runtime/navigation.d.ts.map +1 -0
- package/dist/lens/runtime/overlayContainer.d.ts +24 -0
- package/dist/lens/runtime/overlayContainer.d.ts.map +1 -0
- package/dist/lens/runtime/panel.d.ts +47 -0
- package/dist/lens/runtime/panel.d.ts.map +1 -0
- package/dist/lens/runtime/panelImage.d.ts +28 -0
- package/dist/lens/runtime/panelImage.d.ts.map +1 -0
- package/dist/lens/runtime/prefetch.d.ts +48 -0
- package/dist/lens/runtime/prefetch.d.ts.map +1 -0
- package/dist/lens/runtime/prefetchPanels.d.ts +17 -0
- package/dist/lens/runtime/prefetchPanels.d.ts.map +1 -0
- package/dist/lens/runtime/print.d.ts +50 -0
- package/dist/lens/runtime/print.d.ts.map +1 -0
- package/dist/lens/runtime/provider.d.ts +195 -0
- package/dist/lens/runtime/provider.d.ts.map +1 -0
- package/dist/lens/runtime/query.d.ts +32 -0
- package/dist/lens/runtime/query.d.ts.map +1 -0
- package/dist/lens/runtime/recovery.d.ts +26 -0
- package/dist/lens/runtime/recovery.d.ts.map +1 -0
- package/dist/lens/runtime/snapshotLease.d.ts +2 -0
- package/dist/lens/runtime/snapshotLease.d.ts.map +1 -0
- package/dist/lens/runtime/theme.d.ts +4 -0
- package/dist/lens/runtime/theme.d.ts.map +1 -0
- package/dist/lens/runtime/url.d.ts +23 -0
- package/dist/lens/runtime/url.d.ts.map +1 -0
- package/dist/lens/scales-DKkoQGtJ.js +195 -0
- package/dist/lens/snapshotLease-LjBaqKs-.js +14 -0
- package/dist/lens/style.css +1 -0
- package/dist/lens/visualRegression.d.ts +2 -0
- package/dist/lens/visualRegression.d.ts.map +1 -0
- package/dist/sdk-identity.cjs +6 -0
- package/dist/sdk-identity.d.ts +4 -0
- package/dist/sdk-identity.js +4 -0
- package/dist/sdk-identity.json +5 -0
- package/package.json +22 -123
- package/assets/fonts/Actay/Actay-Regular.otf +0 -0
- package/assets/fonts/Actay/Actay-RegularItalic.otf +0 -0
- package/assets/fonts/Actay/ActayCondensed-Thin.otf +0 -0
- package/assets/fonts/Actay/ActayCondensed-ThinItalic.otf +0 -0
- package/assets/fonts/Actay/ActayWide-Bold.otf +0 -0
- package/assets/fonts/Actay/ActayWide-BoldItalic.otf +0 -0
- package/assets/fonts/Gilroy/Gilroy-Black.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-BlackItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-Bold.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-BoldItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-Extrabold.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-ExtraboldItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-Heavy.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-HeavyItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-Light.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-LightItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-Medium.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-MediumItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-Regular.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-RegularItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-Semibold.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-SemiboldItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-Thin.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-ThinItalic.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-UltraLight.woff2 +0 -0
- package/assets/fonts/Gilroy/Gilroy-UltraLightItalic.woff2 +0 -0
- package/assets/fonts/Inter.var.woff2 +0 -0
- package/dist/applet/core.cjs +0 -412
- package/dist/applet/core.cjs.map +0 -1
- package/dist/applet/core.d.cts +0 -187
- package/dist/applet/core.d.ts +0 -187
- package/dist/applet/core.mjs +0 -396
- package/dist/applet/core.mjs.map +0 -1
- package/dist/applet/devtools.cjs +0 -147
- package/dist/applet/devtools.cjs.map +0 -1
- package/dist/applet/devtools.d.cts +0 -7
- package/dist/applet/devtools.d.ts +0 -7
- package/dist/applet/devtools.mjs +0 -144
- package/dist/applet/devtools.mjs.map +0 -1
- package/dist/applet/host.cjs +0 -397
- package/dist/applet/host.cjs.map +0 -1
- package/dist/applet/host.d.cts +0 -42
- package/dist/applet/host.d.ts +0 -42
- package/dist/applet/host.mjs +0 -392
- package/dist/applet/host.mjs.map +0 -1
- package/dist/applet/vite.cjs +0 -219
- package/dist/applet/vite.cjs.map +0 -1
- package/dist/applet/vite.d.cts +0 -99
- package/dist/applet/vite.d.ts +0 -99
- package/dist/applet/vite.mjs +0 -203
- package/dist/applet/vite.mjs.map +0 -1
- package/dist/applet-runtime/index.cjs +0 -890
- package/dist/applet-runtime/index.cjs.map +0 -1
- package/dist/applet-runtime/index.d.cts +0 -191
- package/dist/applet-runtime/index.d.ts +0 -191
- package/dist/applet-runtime/index.mjs +0 -876
- package/dist/applet-runtime/index.mjs.map +0 -1
- package/dist/bichat/index.cjs +0 -20896
- package/dist/bichat/index.cjs.map +0 -1
- package/dist/bichat/index.css +0 -618
- package/dist/bichat/index.css.map +0 -1
- package/dist/bichat/index.d.cts +0 -4522
- package/dist/bichat/index.d.ts +0 -4522
- package/dist/bichat/index.mjs +0 -20724
- package/dist/bichat/index.mjs.map +0 -1
- package/dist/bichat/styles.css +0 -774
- package/dist/bichat/tailwind.cjs +0 -103
- package/dist/bichat/tailwind.cjs.map +0 -1
- package/dist/bichat/tailwind.d.cts +0 -21
- package/dist/bichat/tailwind.d.ts +0 -21
- package/dist/bichat/tailwind.mjs +0 -95
- package/dist/bichat/tailwind.mjs.map +0 -1
- package/dist/fonts/Actay/Actay-Regular.otf +0 -0
- package/dist/fonts/Actay/Actay-RegularItalic.otf +0 -0
- package/dist/fonts/Actay/ActayCondensed-Thin.otf +0 -0
- package/dist/fonts/Actay/ActayCondensed-ThinItalic.otf +0 -0
- package/dist/fonts/Actay/ActayWide-Bold.otf +0 -0
- package/dist/fonts/Actay/ActayWide-BoldItalic.otf +0 -0
- package/dist/fonts/Gilroy/Gilroy-Black.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-BlackItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-Bold.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-BoldItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-Extrabold.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-ExtraboldItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-Heavy.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-HeavyItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-Light.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-LightItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-Medium.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-MediumItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-Regular.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-RegularItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-Semibold.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-SemiboldItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-Thin.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-ThinItalic.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-UltraLight.woff2 +0 -0
- package/dist/fonts/Gilroy/Gilroy-UltraLightItalic.woff2 +0 -0
- package/dist/fonts/Inter.var.woff2 +0 -0
- package/dist/index-Cs_xWkhC.d.cts +0 -84
- package/dist/index-Cs_xWkhC.d.ts +0 -84
- package/dist/index.cjs +0 -777
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -7
- package/dist/index.d.ts +0 -7
- package/dist/index.mjs +0 -755
- package/dist/index.mjs.map +0 -1
- package/dist/rpc-fh942_dj.d.cts +0 -31
- package/dist/rpc-fh942_dj.d.ts +0 -31
- package/tailwind/compiled.css +0 -2
- package/tailwind/create-config.cjs +0 -90
- package/tailwind/iota.css +0 -1195
- package/tailwind/main.css +0 -2
- package/tailwind/sdk-content.cjs +0 -177
- package/tailwind/sdk-theme.cjs +0 -120
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drill.d.ts","sourceRoot":"","sources":["../../src/runtime/drill.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAChG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,OAAO,CAErE;AASD,UAAU,iBAAiB;IACzB,KAAK,EAAE,KAAK,CAAA;IACZ,SAAS,EAAE,QAAQ,CAAA;CACpB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,GAAG,iBAAiB,GAAG,SAAS,CAyB3G;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,GAAG,KAAK,GAAG,SAAS,CAE3F;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAE5F;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAMpF;AAED;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,KAAK,CAAC,WAAW,CAAC,CAajH;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAMzG;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,cAAc,GAAG,KAAK,GAAG,SAAS,CAQvG;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,cAAc,CAI5F;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,cAAc,GAAG,cAAc,GAAG,SAAS,CAO9G;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAQnG;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,GAAG,iBAAiB,CAmB9G;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,iBAAiB,CAOtF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { DashboardDocument, Frame, NodePath } from "../contract";
|
|
2
|
+
import type { QueryClient } from "./query";
|
|
3
|
+
interface IdleDrillPrefetchRoot {
|
|
4
|
+
panelId: string;
|
|
5
|
+
path: NodePath;
|
|
6
|
+
perspective: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function idleDrillPrefetchRoots(document: DashboardDocument): Array<IdleDrillPrefetchRoot>;
|
|
9
|
+
interface IdleDrillPrefetchOptions {
|
|
10
|
+
document: DashboardDocument;
|
|
11
|
+
queryClient: QueryClient;
|
|
12
|
+
signal: AbortSignal;
|
|
13
|
+
onChildren: (path: NodePath, frame: Frame) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Warm bounded first-level drill states after the useful root row is ready.
|
|
17
|
+
* This module is loaded dynamically so speculative traversal never delays the
|
|
18
|
+
* initial dashboard bundle or its critical panel requests.
|
|
19
|
+
*/
|
|
20
|
+
export declare function prefetchIdleDrillStates({ document, queryClient, signal, onChildren, }: IdleDrillPrefetchOptions): Promise<void>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=drillPrefetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drillPrefetch.d.ts","sourceRoot":"","sources":["../../src/runtime/drillPrefetch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,UAAU,qBAAqB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,iBAAiB,GAC1B,KAAK,CAAC,qBAAqB,CAAC,CA6B9B;AAED,UAAU,wBAAwB;IAChC,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACpD;AAED;;;;GAIG;AACH,wBAAsB,uBAAuB,CAAC,EAC5C,QAAQ,EACR,WAAW,EACX,MAAM,EACN,UAAU,GACX,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CA0C1C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class ExportError extends Error {
|
|
2
|
+
readonly status: number;
|
|
3
|
+
constructor(message: string, status: number);
|
|
4
|
+
}
|
|
5
|
+
export declare class ExportSnapshotGoneError extends ExportError {
|
|
6
|
+
constructor(message?: string);
|
|
7
|
+
}
|
|
8
|
+
export interface ExportWorkbookRequest {
|
|
9
|
+
endpoint: string;
|
|
10
|
+
snapshotId: string;
|
|
11
|
+
panelId?: string;
|
|
12
|
+
csrf?: string;
|
|
13
|
+
fetcher?: typeof fetch;
|
|
14
|
+
}
|
|
15
|
+
export interface ExportWorkbook {
|
|
16
|
+
blob: Blob;
|
|
17
|
+
filename: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function exportWorkbook(request: ExportWorkbookRequest): Promise<ExportWorkbook>;
|
|
20
|
+
export declare function downloadWorkbook(workbook: ExportWorkbook): void;
|
|
21
|
+
//# sourceMappingURL=export.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/runtime/export.ts"],"names":[],"mappings":"AAAA,qBAAa,WAAY,SAAQ,KAAK;IACP,QAAQ,CAAC,MAAM,EAAE,MAAM;gBAAxC,OAAO,EAAE,MAAM,EAAW,MAAM,EAAE,MAAM;CAIrD;AAED,qBAAa,uBAAwB,SAAQ,WAAW;gBAC1C,OAAO,SAAmC;CAIvD;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;CACvB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;CACjB;AA2BD,wBAAsB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,cAAc,CAAC,CAmB5F;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAU/D"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Action, CompareValue, DashboardDocument, Filter, PeriodFilter, PeriodValue, SegmentedFilter } from '../contract';
|
|
2
|
+
/**
|
|
3
|
+
* Filter values are URL state: a map from a declared parameter name to the
|
|
4
|
+
* string the document endpoint receives. An empty string is meaningful — it
|
|
5
|
+
* is the present-but-empty "all time" form — which is why absence and ''
|
|
6
|
+
* are distinct.
|
|
7
|
+
*
|
|
8
|
+
* The runtime can only ever request values this module has validated against
|
|
9
|
+
* the document's own declaration (wire dates, allowEmpty), so the document
|
|
10
|
+
* endpoint — which normalizes and derives the snapshot key server-side —
|
|
11
|
+
* remains the only authority over what a filter combination means.
|
|
12
|
+
*/
|
|
13
|
+
export type FilterValues = Record<string, string | Array<string>>;
|
|
14
|
+
export declare const cubeFilterParam = "_f";
|
|
15
|
+
export declare const cubeGroupByParam = "_groupby";
|
|
16
|
+
export declare function declaredFilters(document: DashboardDocument): Array<Filter>;
|
|
17
|
+
export declare function filterParamNames(document: DashboardDocument): Array<string>;
|
|
18
|
+
/**
|
|
19
|
+
* The declared filter values present on a URL. A boundary that fails
|
|
20
|
+
* declaration-level validation drops its whole filter back to the document's
|
|
21
|
+
* server-normalized default rather than sending garbage to the endpoint.
|
|
22
|
+
*/
|
|
23
|
+
export declare function readFilterValues(document: DashboardDocument, url: URL): FilterValues;
|
|
24
|
+
/** Rewrites the declared filter parameters on a URL, leaving all others. */
|
|
25
|
+
export declare function writeFilterValues(url: URL, document: DashboardDocument, values: FilterValues): URL;
|
|
26
|
+
export declare function sameFilterValues(left: FilterValues, right: FilterValues): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The selection a period control renders: the URL's validated value when one
|
|
29
|
+
* is present, otherwise the server-normalized value the document declared.
|
|
30
|
+
*/
|
|
31
|
+
export declare function currentPeriodValue(period: PeriodFilter, values: FilterValues): PeriodValue;
|
|
32
|
+
export declare function periodValues(period: PeriodFilter, value: PeriodValue): FilterValues;
|
|
33
|
+
/**
|
|
34
|
+
* The selection a segmented control renders: the URL's validated value when
|
|
35
|
+
* one is present, otherwise the server-normalized value the document declared.
|
|
36
|
+
* Exactly the fallback `currentPeriodValue` applies, for the same reason — the
|
|
37
|
+
* document, not the browser, is the authority on what is currently displayed.
|
|
38
|
+
*/
|
|
39
|
+
export declare function currentSegmentedValue(segmented: SegmentedFilter, values: FilterValues): string;
|
|
40
|
+
export declare function segmentedValues(segmented: SegmentedFilter, value: string): FilterValues;
|
|
41
|
+
/**
|
|
42
|
+
* The document src with filter parameters applied: every parameter the
|
|
43
|
+
* runtime has ever driven is removed, then the current values are set. The
|
|
44
|
+
* host page's own src params survive untouched, so a src that already carries
|
|
45
|
+
* the initial filter (as EAI's does) stays authoritative until the user acts.
|
|
46
|
+
*/
|
|
47
|
+
export declare function srcWithFilterParams(src: string, drivenParams: Iterable<string>, values: FilterValues | undefined): string;
|
|
48
|
+
export declare function compareValues(filter: NonNullable<Filter['compare']>, value: CompareValue): FilterValues;
|
|
49
|
+
export declare function periodTransitionValues(document: DashboardDocument, filter: Filter, value: PeriodValue, current: FilterValues): FilterValues;
|
|
50
|
+
export declare function filterActionURL(action: Action, fields: Readonly<Record<string, unknown>>, current: URL): URL | undefined;
|
|
51
|
+
//# sourceMappingURL=filters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/runtime/filters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAI9H;;;;;;;;;;GAUG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAA;AAEjE,eAAO,MAAM,eAAe,OAAO,CAAA;AACnC,eAAO,MAAM,gBAAgB,aAAa,CAAA;AAE1C,wBAAgB,eAAe,CAAC,QA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,EAClB,OAAO,EAAE,YAAY,GACpB,YAAY,CAWd;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS,CAwBxH"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
/** Keeps keyboard focus within an open dialog and restores its trigger. */
|
|
3
|
+
export declare function useFocusTrap(dialog: RefObject<HTMLElement>, active: boolean, onEscape: () => void, initialFocus?: RefObject<HTMLElement>, restoreFocus?: RefObject<HTMLElement>): void;
|
|
4
|
+
//# sourceMappingURL=focusTrap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusTrap.d.ts","sourceRoot":"","sources":["../../src/runtime/focusTrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAOjD,2EAA2E;AAC3E,wBAAgB,YAAY,CAC1B,MAAM,EAAE,SAAS,CAAC,WAAW,CAAC,EAC9B,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,MAAM,IAAI,EACpB,YAAY,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,EACrC,YAAY,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,QAsCtC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { FieldFormat } from '../contract';
|
|
2
|
+
/**
|
|
3
|
+
* The typographic minus (U+2212). Every numeral this runtime writes carries it,
|
|
4
|
+
* so a negative figure reads the same whether Intl produced the sign (en-US
|
|
5
|
+
* emits an ASCII hyphen, ru-RU already emits U+2212), a panel prepended it
|
|
6
|
+
* (`metricViews`, `CascadePanel`), or the sheet drew it into a formula. A
|
|
7
|
+
* hyphen is also narrower than the `+` it has to line up with under
|
|
8
|
+
* `tabular-nums`, which shows up as a wobbling sign column in a table of deltas.
|
|
9
|
+
*/
|
|
10
|
+
export declare const minusSign = "\u2212";
|
|
11
|
+
/** Joins a formatted numeral to its unit so the pair cannot break across lines. */
|
|
12
|
+
export declare function joinUnit(text: string, unit: string | undefined): string;
|
|
13
|
+
/**
|
|
14
|
+
* The single writer for a formatted numeral: it joins Intl's parts, pins the
|
|
15
|
+
* decimal separator when the document asked for one, and normalizes the sign.
|
|
16
|
+
*
|
|
17
|
+
* Compact magnitudes come from the locale's own CLDR data (ru → «млрд», uz →
|
|
18
|
+
* «mlrd», en → «B»), never from a hardcoded suffix table. Only the decimal
|
|
19
|
+
* separator can be pinned: `decimalSeparator` exists because the server
|
|
20
|
+
* formatter prints the mantissa with `%.*f`, so a document
|
|
21
|
+
* that must match it byte for byte asks for ".".
|
|
22
|
+
*
|
|
23
|
+
* The sign is deliberately outside that byte-for-byte deal: a separator is
|
|
24
|
+
* notation the producer chose, a minus is typography this runtime owns, and two
|
|
25
|
+
* glyphs for one operator on one dashboard is the defect being fixed.
|
|
26
|
+
*/
|
|
27
|
+
export declare function writeNumberParts(parts: Intl.NumberFormatPart[], separator: string | undefined): string;
|
|
28
|
+
export declare function formatAxis(value: unknown, field: FieldFormat | undefined, locale: string): string;
|
|
29
|
+
/**
|
|
30
|
+
* The unit `formatAxis` took off the ticks, so an axis can state it once.
|
|
31
|
+
*
|
|
32
|
+
* Dropping the currency from every gridline was right — eight repetitions of
|
|
33
|
+
* «млрд UZS» is a column of noise — but the other half of that decision was
|
|
34
|
+
* never built: the ticks lost the unit and nothing gained it, so «35 млн» sat
|
|
35
|
+
* on a revenue axis with the currency findable only by hovering a mark. The
|
|
36
|
+
* axis name is where a unit belongs; this is what goes in it.
|
|
37
|
+
*
|
|
38
|
+
* A percentage is excluded: the glyph is already on every tick, is one
|
|
39
|
+
* character wide, and reads as part of the number rather than as a unit.
|
|
40
|
+
*/
|
|
41
|
+
export declare function axisUnit(field: FieldFormat | undefined): string;
|
|
42
|
+
/**
|
|
43
|
+
* The full-precision companion to a compact field: «106.03 млрд UZS» carries
|
|
44
|
+
* «106 034 767 694 UZS» in its tooltip. Returns undefined when the field is
|
|
45
|
+
* not compact (nothing was abbreviated away) or the value is not numeric.
|
|
46
|
+
*/
|
|
47
|
+
export declare function formatFieldValueExact(value: unknown, field: FieldFormat | undefined, locale: string): string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The clipboard companion to every formatted figure: the same quantity with
|
|
50
|
+
* nothing done to it a spreadsheet would have to undo — no thousands
|
|
51
|
+
* separators, no unit, no compact abbreviation, a dot decimal.
|
|
52
|
+
*
|
|
53
|
+
* It is scaled the way the display is. A money field in minor units draws
|
|
54
|
+
* «41,20 млрд UZS» from 4 120 000 000 000 tiyin, and a reader who copies that
|
|
55
|
+
* figure means the som they can see, not the tiyin behind it. Undefined when
|
|
56
|
+
* there is no number to copy.
|
|
57
|
+
*/
|
|
58
|
+
export declare function rawValueText(value: unknown, field?: FieldFormat): string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Delta chips clamp beyond ±999.9%: «+13 417.3%» is noise, «>999%» is honest.
|
|
61
|
+
* Returns undefined inside the displayable range. Mirrors the server's
|
|
62
|
+
* trendPercentText clamp.
|
|
63
|
+
*/
|
|
64
|
+
export declare function clampedDeltaPercent(value: number, locale?: string): string | undefined;
|
|
65
|
+
export declare function formatFieldValue(value: unknown, field: FieldFormat | undefined, locale: string): string;
|
|
66
|
+
/**
|
|
67
|
+
* The one magnitude a group of compact values should share.
|
|
68
|
+
*
|
|
69
|
+
* The largest value sets the notation — that is the number the group is read
|
|
70
|
+
* against. But a magnitude that rounds a real value down to «0.00» prints a
|
|
71
|
+
* lie next to the real zeros, so when the smallest non-zero member cannot
|
|
72
|
+
* survive the largest member's magnitude, the group steps down to the
|
|
73
|
+
* smaller one. One notation either way; nothing that exists reads as nothing.
|
|
74
|
+
*
|
|
75
|
+
* Returns undefined when there is nothing to share a magnitude across — an
|
|
76
|
+
* empty group, or one that is entirely zero.
|
|
77
|
+
*/
|
|
78
|
+
export declare function compactReference(values: Iterable<number>, field: FieldFormat | undefined): number | undefined;
|
|
79
|
+
/** Format a compact tooltip group at one shared magnitude. */
|
|
80
|
+
export declare function formatFieldValueAtReference(value: unknown, reference: number, field: FieldFormat | undefined, locale: string): string;
|
|
81
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/runtime/format.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAuB9C;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,WAAM,CAAA;AAc5B,mFAAmF;AACnF,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGvE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAUtG;AA2FD,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAYjG;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM,CAG/D;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASxH;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAWpF;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,SAAO,GAAG,MAAM,GAAG,SAAS,CAOpF;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAqBvG;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAoB7G;AAED,8DAA8D;AAC9D,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CA2BrI"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface IdlePrefetchQueueOptions {
|
|
2
|
+
/** Total distinct candidates admitted for one snapshot. */
|
|
3
|
+
capacity?: number;
|
|
4
|
+
/** Small grace period that lets visible work and user input go first. */
|
|
5
|
+
delayMs?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Grace period for a transient zero-consumer state during a React commit.
|
|
8
|
+
* A real snapshot reset still cancels synchronously through reset().
|
|
9
|
+
*/
|
|
10
|
+
detachGraceMs?: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* One-slot, bounded speculative queue shared by every panel in a runtime.
|
|
14
|
+
* Registration order is DOM/layout reveal order. A concrete target is
|
|
15
|
+
* deduplicated across panels, and reset() is the snapshot cancellation gate.
|
|
16
|
+
*/
|
|
17
|
+
export declare class IdlePrefetchQueue {
|
|
18
|
+
private readonly capacity;
|
|
19
|
+
private readonly delayMs;
|
|
20
|
+
private readonly detachGraceMs;
|
|
21
|
+
private readonly tasks;
|
|
22
|
+
private readonly completed;
|
|
23
|
+
private pending;
|
|
24
|
+
private active?;
|
|
25
|
+
private timer?;
|
|
26
|
+
private scheduled?;
|
|
27
|
+
private paused;
|
|
28
|
+
constructor(options?: IdlePrefetchQueueOptions);
|
|
29
|
+
register(key: string, run: (signal: AbortSignal) => Promise<void>): () => void;
|
|
30
|
+
setPaused(paused: boolean): void;
|
|
31
|
+
reset(): void;
|
|
32
|
+
private detach;
|
|
33
|
+
private pump;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=idlePrefetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idlePrefetch.d.ts","sourceRoot":"","sources":["../../src/runtime/idlePrefetch.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAUD;;;;GAIG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAQ;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAQ;IAChC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAQ;IACtC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsC;IAC5D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB;IAC9C,OAAO,CAAC,OAAO,CAA8B;IAC7C,OAAO,CAAC,MAAM,CAAC,CAAyD;IACxE,OAAO,CAAC,KAAK,CAAC,CAA+B;IAC7C,OAAO,CAAC,SAAS,CAAC,CAAkB;IACpC,OAAO,CAAC,MAAM,CAAQ;gBAEV,OAAO,GAAE,wBAA6B;IAMlD,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,MAAM,IAAI;IAsB9E,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAiBhC,KAAK,IAAI,IAAI;IAiBb,OAAO,CAAC,MAAM;IAcd,OAAO,CAAC,IAAI;CAuCb"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './navigate';
|
|
2
|
+
export * from './document';
|
|
3
|
+
export * from './drawer';
|
|
4
|
+
export * from './drill';
|
|
5
|
+
export * from './export';
|
|
6
|
+
export * from './filters';
|
|
7
|
+
export * from './format';
|
|
8
|
+
export * from './navigation';
|
|
9
|
+
export * from './provider';
|
|
10
|
+
export * from './panelImage';
|
|
11
|
+
export * from './query';
|
|
12
|
+
export * from './recovery';
|
|
13
|
+
export * from './theme';
|
|
14
|
+
export * from './url';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Full-page navigation seam. Panel-level actions are plain document
|
|
3
|
+
* navigations; routing them through one function keeps the host page able to
|
|
4
|
+
* intercept them and makes the behaviour testable.
|
|
5
|
+
*
|
|
6
|
+
* A target inside the current document is the exception: a summary card whose
|
|
7
|
+
* subject is expanded by a section further down the page links to that section,
|
|
8
|
+
* and reloading the page to reach a heading it is already showing would be
|
|
9
|
+
* absurd. Those scroll instead.
|
|
10
|
+
*/
|
|
11
|
+
export declare function navigateTo(url: string): void;
|
|
12
|
+
//# sourceMappingURL=navigate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigate.d.ts","sourceRoot":"","sources":["../../src/runtime/navigate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAO5C"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { NodeKey, NodePath } from '../contract';
|
|
2
|
+
export interface NavigationView {
|
|
3
|
+
panelId?: string;
|
|
4
|
+
path: NodePath;
|
|
5
|
+
perspectiveId?: string;
|
|
6
|
+
revision?: number;
|
|
7
|
+
drawer?: DrawerNavigationView;
|
|
8
|
+
}
|
|
9
|
+
export interface DrawerNavigationView {
|
|
10
|
+
src: string;
|
|
11
|
+
panelId?: string;
|
|
12
|
+
path: NodePath;
|
|
13
|
+
perspectiveId?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface NavigationState extends NavigationView {
|
|
16
|
+
history: Array<NavigationView>;
|
|
17
|
+
}
|
|
18
|
+
export type NavigationAction = {
|
|
19
|
+
type: 'drillInto';
|
|
20
|
+
nodeKey: NodeKey;
|
|
21
|
+
panelId?: string;
|
|
22
|
+
path?: NodePath;
|
|
23
|
+
} | {
|
|
24
|
+
type: 'back';
|
|
25
|
+
} | {
|
|
26
|
+
type: 'jumpTo';
|
|
27
|
+
breadcrumbIndex: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* `enterKey` folds "enter this segment, then show it as X" into one step.
|
|
31
|
+
* Picking a view for a segment is one user action, and charging it two
|
|
32
|
+
* transitions puts a level nobody asked to stand on between the chart and
|
|
33
|
+
* the answer — the level it enters is a fork whose only content is that
|
|
34
|
+
* same choice.
|
|
35
|
+
*/
|
|
36
|
+
| {
|
|
37
|
+
type: 'switchPerspective';
|
|
38
|
+
perspectiveId: string;
|
|
39
|
+
path?: NodePath;
|
|
40
|
+
replace?: boolean;
|
|
41
|
+
enterKey?: NodeKey;
|
|
42
|
+
panelId?: string;
|
|
43
|
+
} | {
|
|
44
|
+
type: 'reset';
|
|
45
|
+
} | {
|
|
46
|
+
type: 'openDrawer';
|
|
47
|
+
src: string;
|
|
48
|
+
view?: Omit<DrawerNavigationView, 'src'>;
|
|
49
|
+
} | {
|
|
50
|
+
type: 'replaceDrawer';
|
|
51
|
+
src: string;
|
|
52
|
+
view?: Omit<DrawerNavigationView, 'src'>;
|
|
53
|
+
} | {
|
|
54
|
+
type: 'updateDrawer';
|
|
55
|
+
view: Omit<DrawerNavigationView, 'src'>;
|
|
56
|
+
} | {
|
|
57
|
+
type: 'closeDrawer';
|
|
58
|
+
} | {
|
|
59
|
+
type: 'restore';
|
|
60
|
+
view: NavigationView;
|
|
61
|
+
history?: Array<NavigationView>;
|
|
62
|
+
};
|
|
63
|
+
export declare function createNavigationState(view?: Partial<NavigationView>): NavigationState;
|
|
64
|
+
export declare function navigationReducer(state: NavigationState, action: NavigationAction): NavigationState;
|
|
65
|
+
export declare const navigationActions: {
|
|
66
|
+
drillInto: (nodeKey: NodeKey, panelId?: string, path?: NodePath) => NavigationAction;
|
|
67
|
+
back: () => NavigationAction;
|
|
68
|
+
jumpTo: (breadcrumbIndex: number) => NavigationAction;
|
|
69
|
+
switchPerspective: (perspectiveId: string, path?: NodePath, replace?: boolean, enterKey?: NodeKey, panelId?: string) => NavigationAction;
|
|
70
|
+
reset: () => NavigationAction;
|
|
71
|
+
openDrawer: (src: string, view?: Omit<DrawerNavigationView, "src">) => NavigationAction;
|
|
72
|
+
replaceDrawer: (src: string, view?: Omit<DrawerNavigationView, "src">) => NavigationAction;
|
|
73
|
+
updateDrawer: (view: Omit<DrawerNavigationView, "src">) => NavigationAction;
|
|
74
|
+
closeDrawer: () => NavigationAction;
|
|
75
|
+
restore: (view: NavigationView, history?: Array<NavigationView>) => NavigationAction;
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -0,0 +1 @@
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efObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* How long a hover-opened overlay survives the pointer leaving its trigger.
|
|
4
|
+
*
|
|
5
|
+
* Every one of these lives in a body portal with a deliberate visual gap from
|
|
6
|
+
* the thing that opened it, and the pointer has to cross that gap to reach the
|
|
7
|
+
* card's own buttons and its selectable text. Close on the trigger's bare
|
|
8
|
+
* `mouseleave` and the portal unmounts mid-travel, which reads as a flicker.
|
|
9
|
+
*
|
|
10
|
+
* It sits here because the gap is a property of portalling to the body, not of
|
|
11
|
+
* any one tip: it was written twice, at 120ms and at 140ms, with the same
|
|
12
|
+
* reasoning stated both times. The longer of the two is the one kept — the cost
|
|
13
|
+
* of overshooting is a tip that lingers imperceptibly, and of undershooting, the
|
|
14
|
+
* bug.
|
|
15
|
+
*/
|
|
16
|
+
export declare const hoverBridgeDelay = 140;
|
|
17
|
+
interface OverlayThemeFallback {
|
|
18
|
+
dark?: boolean;
|
|
19
|
+
theme?: string;
|
|
20
|
+
}
|
|
21
|
+
/** Creates one body-level Lens root and copies the source dashboard theme. */
|
|
22
|
+
export declare function useOverlayContainer(active: boolean, source: RefObject<Element | null>, extraClass?: string, fallback?: OverlayThemeFallback): HTMLElement | undefined;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=overlayContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlayContainer.d.ts","sourceRoot":"","sources":["../../src/runtime/overlayContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE3D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,MAAM,CAAA;AAEnC,UAAU,oBAAoB;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,8EAA8E;AAC9E,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,EACjC,UAAU,SAAK,EACf,QAAQ,GAAE,oBAAyB,GAClC,WAAW,GAAG,SAAS,CAkBzB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type PanelBatchResult, type PanelRequest } from '../contract';
|
|
2
|
+
export interface PanelClientOptions {
|
|
3
|
+
csrf?: string;
|
|
4
|
+
fetcher?: typeof fetch;
|
|
5
|
+
/** Marks this client as speculative work in the shared snapshot scheduler. */
|
|
6
|
+
prefetch?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface PanelLoadOptions {
|
|
9
|
+
signal?: AbortSignal;
|
|
10
|
+
/** Called as each NDJSON batch member arrives, before slower siblings finish. */
|
|
11
|
+
onResult?: (panelId: string, result: PanelBatchResult) => void;
|
|
12
|
+
}
|
|
13
|
+
type SnapshotPanelRequest = PanelRequest & {
|
|
14
|
+
snapshotId: string;
|
|
15
|
+
};
|
|
16
|
+
type PanelLoadResult = PanelBatchResult & {
|
|
17
|
+
frames: NonNullable<PanelBatchResult['frames']>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* A small per-dashboard client for independently materialised panel frames.
|
|
21
|
+
* The server owns the bounded durable cache; this map only deduplicates browser
|
|
22
|
+
* requests and is discarded with the runtime provider.
|
|
23
|
+
*/
|
|
24
|
+
export declare class PanelClient {
|
|
25
|
+
private readonly endpoint;
|
|
26
|
+
private readonly options;
|
|
27
|
+
private readonly inFlight;
|
|
28
|
+
private readonly controllers;
|
|
29
|
+
constructor(endpoint: string, options?: PanelClientOptions);
|
|
30
|
+
/**
|
|
31
|
+
* Whether a rejection is "the request was cancelled" rather than "the request
|
|
32
|
+
* failed". A cancelled panel has nothing to report: its caller moved on, and
|
|
33
|
+
* showing the user an error for work nobody is waiting for reads as a broken
|
|
34
|
+
* panel beside working ones.
|
|
35
|
+
*
|
|
36
|
+
* `fetch` rejects an aborted request with a DOMException named AbortError;
|
|
37
|
+
* an abort with an explicit reason rejects with that reason instead.
|
|
38
|
+
*/
|
|
39
|
+
static isAbort(cause: unknown): boolean;
|
|
40
|
+
load(input: SnapshotPanelRequest, options?: PanelLoadOptions): Promise<PanelLoadResult>;
|
|
41
|
+
loadBatch(inputs: SnapshotPanelRequest[], options?: PanelLoadOptions): Promise<Record<string, PanelBatchResult>>;
|
|
42
|
+
dispose(): void;
|
|
43
|
+
private fetch;
|
|
44
|
+
private fetchBatch;
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../src/runtime/panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAElB,MAAM,aAAa,CAAA;AAGpB,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAA;CAC/D;AAED,KAAK,oBAAoB,GAAG,YAAY,GAAG;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,CAAA;AACjE,KAAK,eAAe,GAAG,gBAAgB,GAAG;IAAE,MAAM,EAAE,WAAW,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAA;CAAE,CAAA;AAS7F;;;;GAIG;AACH,qBAAa,WAAW;IAKpB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAL1B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA8C;IACvE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA6B;gBAGtC,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,kBAAuB;IAGnD;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAKvC,IAAI,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,eAAe,CAAC;IAoBrF,SAAS,CAAC,MAAM,EAAE,oBAAoB,EAAE,EAAE,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAoB1H,OAAO,IAAI,IAAI;YAMD,KAAK;YAYL,UAAU;CA0EzB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type PanelImageFormat = 'png' | 'svg';
|
|
2
|
+
export declare function panelSVG(panelId: string): {
|
|
3
|
+
background: string;
|
|
4
|
+
blob: Blob;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* What the file is a picture of: the dashboard, the panel, and the period.
|
|
10
|
+
*
|
|
11
|
+
* `доход.png` names one of ten panels and none of the state that produced it,
|
|
12
|
+
* so two exports of two periods overwrite each other in the download folder and
|
|
13
|
+
* neither can be told apart afterwards. The rendered image already carries the
|
|
14
|
+
* dashboard's scope line (`.lens-panel-export-scope`); the name now carries the
|
|
15
|
+
* same facts.
|
|
16
|
+
*/
|
|
17
|
+
export declare function panelImageFilename(panelTitle: string, format: PanelImageFormat, scope?: {
|
|
18
|
+
dashboard?: string;
|
|
19
|
+
start?: string;
|
|
20
|
+
end?: string;
|
|
21
|
+
}): string;
|
|
22
|
+
export interface PanelImageScope {
|
|
23
|
+
dashboard?: string;
|
|
24
|
+
start?: string;
|
|
25
|
+
end?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function downloadPanelImage(panelId: string, title: string, format: PanelImageFormat, scope?: PanelImageScope): Promise<void>;
|
|
28
|
+
//# sourceMappingURL=panelImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panelImage.d.ts","sourceRoot":"","sources":["../../src/runtime/panelImage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,KAAK,CAAA;AA8C5C,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAoD3G;AA0BD;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,gBAAgB,EACxB,KAAK,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAC3D,MAAM,CAMR;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,eAAe,GAChF,OAAO,CAAC,IAAI,CAAC,CAYf"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { DashboardDocument } from '../contract';
|
|
2
|
+
export interface DocumentCacheOptions {
|
|
3
|
+
/** Maximum resolved documents kept before the oldest is evicted. */
|
|
4
|
+
capacity?: number;
|
|
5
|
+
fetcher?: typeof fetch;
|
|
6
|
+
csrf?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A tiny in-memory cache of drill-drawer documents, keyed by URL.
|
|
10
|
+
*
|
|
11
|
+
* The drawer used to fetch its document only on click. Prefetch warms the same
|
|
12
|
+
* URL on hover/focus intent so the drawer opens against a document that is
|
|
13
|
+
* already in hand. The cache never revalidates, a hit is authoritative, and a
|
|
14
|
+
* failed prefetch leaves no entry. An interactive activation may overlap one
|
|
15
|
+
* intent transport request so the shared server job can be promoted; it does
|
|
16
|
+
* not duplicate datasource execution.
|
|
17
|
+
*/
|
|
18
|
+
export declare class DocumentCache {
|
|
19
|
+
private readonly capacity;
|
|
20
|
+
private readonly entries;
|
|
21
|
+
private readonly inflight;
|
|
22
|
+
private fetcher?;
|
|
23
|
+
private csrf?;
|
|
24
|
+
constructor(options?: DocumentCacheOptions);
|
|
25
|
+
/** Update the credentials used by later prefetches without dropping entries. */
|
|
26
|
+
configure(options: {
|
|
27
|
+
fetcher?: typeof fetch;
|
|
28
|
+
csrf?: string;
|
|
29
|
+
}): void;
|
|
30
|
+
/** The cached document for a URL, or undefined on a miss. */
|
|
31
|
+
get(url: string): DashboardDocument | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Load a document through the shared cache/singleflight path.
|
|
34
|
+
*
|
|
35
|
+
* Unlike prefetch(), failures stay visible to the interactive caller. If a
|
|
36
|
+
* speculative request is already running, opening the drawer promotes the
|
|
37
|
+
* same server calculation through a separate activation request.
|
|
38
|
+
*/
|
|
39
|
+
load(url: string): Promise<DashboardDocument>;
|
|
40
|
+
/**
|
|
41
|
+
* Warm a URL. Resolves once the fetch settles; a failure resolves (never
|
|
42
|
+
* rejects) so a prefetch can never surface an error to the caller. A URL that
|
|
43
|
+
* is already cached or already in flight is not fetched again.
|
|
44
|
+
*/
|
|
45
|
+
prefetch(url: string, signal?: AbortSignal): Promise<void>;
|
|
46
|
+
private store;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=prefetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefetch.d.ts","sourceRoot":"","sources":["../../src/runtime/prefetch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAGpD,MAAM,WAAW,oBAAoB;IACnC,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;;;;;;;;GASG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAQ;IAEjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAC/D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAmF;IAC5G,OAAO,CAAC,OAAO,CAAC,CAAc;IAC9B,OAAO,CAAC,IAAI,CAAC,CAAQ;gBAET,OAAO,GAAE,oBAAyB;IAM9C,gFAAgF;IAChF,SAAS,CAAC,OAAO,EAAE;QAAE,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAKnE,6DAA6D;IAC7D,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAI/C;;;;;;OAMG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAoB7C;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAqB1D,OAAO,CAAC,KAAK;CAUd"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { DashboardDocument } from '../contract';
|
|
2
|
+
interface PrefetchDocumentPanelsOptions {
|
|
3
|
+
csrf?: string;
|
|
4
|
+
fetcher?: typeof fetch;
|
|
5
|
+
signal?: AbortSignal;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Carry useful child data all the way into the browser cache. Warming just the
|
|
9
|
+
* first content row gives the user immediate figures while preserving a
|
|
10
|
+
* bounded one-surface budget; lower rows remain progressive after open.
|
|
11
|
+
*
|
|
12
|
+
* This module is loaded only after a speculative document has arrived. It must
|
|
13
|
+
* stay outside the critical root bundle: child warm-up cannot tax first paint.
|
|
14
|
+
*/
|
|
15
|
+
export declare function prefetchDocumentFirstRow(document: DashboardDocument, options: PrefetchDocumentPanelsOptions): Promise<DashboardDocument>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=prefetchPanels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefetchPanels.d.ts","sourceRoot":"","sources":["../../src/runtime/prefetchPanels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAGpD,UAAU,6BAA6B;IACrC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB;AAED;;;;;;;GAOG;AACH,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE,6BAA6B,GACrC,OAAO,CAAC,iBAAiB,CAAC,CAiC5B"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { DashboardDocument, Frame, Level, NodePath, Panel, Perspective, QueryRequest, QueryResponse } from '../contract';
|
|
2
|
+
export interface PrintSection {
|
|
3
|
+
id: string;
|
|
4
|
+
document: DashboardDocument;
|
|
5
|
+
panel: Panel;
|
|
6
|
+
level: Level;
|
|
7
|
+
frame?: Frame;
|
|
8
|
+
path: NodePath;
|
|
9
|
+
breadcrumb: Array<string>;
|
|
10
|
+
perspective?: Perspective;
|
|
11
|
+
depth: number;
|
|
12
|
+
root: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The panel whose drawer this section was reached through. A breakdown a
|
|
15
|
+
* reader opens by clicking a KPI belongs to that KPI, not to a loose "other
|
|
16
|
+
* readings" pile at the end of the report.
|
|
17
|
+
*/
|
|
18
|
+
owner?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The drawer document this section was read from. Two panels may open the
|
|
21
|
+
* same drawer; the traversal fetches it once and this is how the second
|
|
22
|
+
* panel's copy is made.
|
|
23
|
+
*/
|
|
24
|
+
origin?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The level answered with a first page and declared more behind it. Printing
|
|
27
|
+
* asks for one page per level, so a long table would otherwise end on paper
|
|
28
|
+
* exactly where the page ended — looking complete. The report says so.
|
|
29
|
+
*/
|
|
30
|
+
hasMore?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface PrintReport {
|
|
33
|
+
document: DashboardDocument;
|
|
34
|
+
sections: Array<PrintSection>;
|
|
35
|
+
warnings: Array<string>;
|
|
36
|
+
truncated: boolean;
|
|
37
|
+
}
|
|
38
|
+
export type PrintQuery = (request: QueryRequest, document?: DashboardDocument) => Promise<QueryResponse>;
|
|
39
|
+
export type PrintDocumentLoader = (src: string) => Promise<DashboardDocument>;
|
|
40
|
+
/**
|
|
41
|
+
* Materializes the dashboard's drill graph into a linear print report.
|
|
42
|
+
*
|
|
43
|
+
* The interactive runtime resolves one path at a time. Printing needs the
|
|
44
|
+
* inverse: every branch must exist at once, including dynamic children only
|
|
45
|
+
* known after their parent frame is queried. The walker uses the canonical
|
|
46
|
+
* query contract and merges child descriptors into an isolated document copy,
|
|
47
|
+
* leaving the live dashboard and its URL navigation untouched.
|
|
48
|
+
*/
|
|
49
|
+
export declare function buildPrintReport(source: DashboardDocument, query?: PrintQuery, maxSections?: number, loadDocument?: PrintDocumentLoader, location?: URL, signal?: AbortSignal): Promise<PrintReport>;
|
|
50
|
+
//# sourceMappingURL=print.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../src/runtime/print.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,iBAAiB,EACjB,KAAK,EACL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