gloomberb 0.16.0 → 0.16.2
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/README.md +2 -1
- package/package.json +2 -1
- package/src/api-client/beneficial-owners.ts +92 -0
- package/src/api-client/data.ts +44 -11
- package/src/api-client/errors.ts +12 -0
- package/src/api-client/geo.ts +363 -0
- package/src/api-client/index.ts +5 -0
- package/src/api-client/market-discovery.ts +10 -0
- package/src/api-client/members.ts +26 -0
- package/src/api-client/paths.ts +30 -1
- package/src/api-client/perps.ts +41 -0
- package/src/api-client/request.ts +5 -2
- package/src/api-client/types.ts +9 -1
- package/src/app/global-shortcuts.ts +14 -6
- package/src/app/keybindings/actions.ts +1 -1
- package/src/app/runtime/update.ts +38 -2
- package/src/app.tsx +10 -6
- package/src/brokers/account-cache.ts +24 -0
- package/src/cli/commands/command-utils.ts +8 -0
- package/src/cli/commands/crypto-hints.ts +75 -0
- package/src/cli/commands/market.ts +414 -106
- package/src/cli/commands/overview.ts +77 -32
- package/src/cli/commands/ticker.ts +101 -43
- package/src/cli/desktop-pane-shot.ts +34 -4
- package/src/cli/freshness.ts +61 -0
- package/src/cli/help.ts +1 -0
- package/src/cli/helpers.ts +4 -8
- package/src/cli/index.ts +12 -2
- package/src/cli/listing-arg.ts +321 -0
- package/src/cli/pane-functions/access-gate.ts +42 -0
- package/src/cli/pane-functions/catalog.ts +28 -1
- package/src/cli/pane-functions/data.ts +3 -1
- package/src/cli/pane-functions/dom.ts +20 -2
- package/src/cli/pane-functions/freshness.ts +400 -0
- package/src/cli/pane-functions/function-help.ts +36 -22
- package/src/cli/pane-functions/headless.ts +39 -11
- package/src/cli/pane-functions/index.ts +15 -4
- package/src/cli/pane-functions/options.ts +3 -0
- package/src/cli/pane-functions/report.ts +4 -0
- package/src/cli/pane-functions/resolver.ts +35 -7
- package/src/cli/pane-functions/screenshot-evidence.ts +2 -0
- package/src/cli/pane-functions/screenshot.ts +7 -3
- package/src/cli/result.ts +41 -27
- package/src/cli/ticker-resolution.ts +7 -5
- package/src/components/chart/composite/composite-chart.tsx +88 -2536
- package/src/components/chart/composite/drawing-store.ts +59 -0
- package/src/components/chart/composite/legend.tsx +319 -0
- package/src/components/chart/composite/panel-bitmap.ts +139 -0
- package/src/components/chart/composite/panel-gestures.ts +59 -0
- package/src/components/chart/composite/panel-labels.ts +107 -0
- package/src/components/chart/composite/panel-surface.tsx +876 -0
- package/src/components/chart/composite/tool-catalog.ts +98 -0
- package/src/components/chart/composite/toolbar.tsx +186 -0
- package/src/components/chart/composite/tools.ts +8 -0
- package/src/components/chart/composite/use-composite-chart-keyboard.ts +703 -0
- package/src/components/chart/composite/use-composite-viewport.ts +143 -0
- package/src/components/command-bar/commands/collection.ts +5 -1
- package/src/components/command-bar/list/model.ts +5 -0
- package/src/components/command-bar/list/view.tsx +16 -3
- package/src/components/command-bar/pane-templates/workflow.ts +1 -0
- package/src/components/command-bar/routes/root/command-items.ts +9 -2
- package/src/components/command-bar/routes/root/plugin-install.ts +2 -2
- package/src/components/command-bar/routes/root/provider-search.ts +19 -5
- package/src/components/command-bar/routes/root/runtime.ts +14 -5
- package/src/components/command-bar/routes/ticker-search/actions.ts +5 -0
- package/src/components/command-bar/routes/ticker-search/results.ts +31 -5
- package/src/components/command-bar/routes/ticker-search/route.ts +2 -2
- package/src/components/command-bar/routing/actions.ts +2 -0
- package/src/components/command-bar/selection-runtime.ts +38 -0
- package/src/components/command-bar/surface/index.tsx +7 -2
- package/src/components/command-bar/workflow/ops.ts +1 -1
- package/src/components/command-bar/workflow/tickers.ts +6 -0
- package/src/components/data-table/view.tsx +29 -10
- package/src/components/feedback-dialog.tsx +2 -1
- package/src/components/form-modal/field-row.tsx +2 -2
- package/src/components/index.ts +2 -2
- package/src/components/layout/detached-pane-shell.tsx +6 -3
- package/src/components/layout/floating-pane.tsx +6 -0
- package/src/components/layout/header.tsx +24 -7
- package/src/components/layout/missing-pane.tsx +2 -2
- package/src/components/layout/pane/content.tsx +23 -10
- package/src/components/layout/pane/error-boundary.tsx +103 -0
- package/src/components/layout/pane/footer/registration.tsx +68 -23
- package/src/components/layout/pane/header.tsx +61 -28
- package/src/components/layout/pane/index.tsx +6 -0
- package/src/components/layout/pane/title.ts +31 -7
- package/src/components/layout/shell/drag/index.ts +6 -5
- package/src/components/layout/shell/drag/runtime.ts +3 -0
- package/src/components/layout/shell/index.tsx +6 -0
- package/src/components/layout/shell/menu.ts +2 -1
- package/src/components/layout/shell/pane/actions.ts +2 -1
- package/src/components/layout/shell/pane/layers.tsx +29 -10
- package/src/components/layout/shell/terminal-pointer-runtime.ts +24 -3
- package/src/components/layout/shell/ticker-link-menu.ts +23 -9
- package/src/components/metric-treemap/heat-surface.tsx +745 -0
- package/src/components/metric-treemap/heat-tiles.ts +228 -0
- package/src/components/metric-treemap/index.tsx +2 -0
- package/src/components/metric-treemap/layout.ts +8 -0
- package/src/components/metric-treemap/scene.ts +432 -0
- package/src/components/onboarding/onboarding-keyboard.ts +311 -0
- package/src/components/onboarding/onboarding-wizard.tsx +101 -788
- package/src/components/onboarding/use-onboarding-broker-form.ts +263 -0
- package/src/components/onboarding/use-onboarding-progress.ts +298 -0
- package/src/components/onboarding/use-onboarding-upgrade.ts +83 -0
- package/src/components/pane-settings-dialog/field-dialogs.tsx +1 -0
- package/src/components/ticker/list-table-view.tsx +13 -1
- package/src/components/toggle-list.tsx +38 -12
- package/src/components/ui/country-flag-art.tsx +449 -0
- package/src/components/ui/country-flag.tsx +41 -0
- package/src/components/ui/data-table/types.ts +13 -0
- package/src/components/ui/fields.tsx +8 -0
- package/src/components/ui/icon.tsx +2 -0
- package/src/components/ui/index.ts +4 -0
- package/src/components/ui/multi-select/dialog.tsx +108 -22
- package/src/components/ui/range-track.tsx +53 -0
- package/src/components/ui/status.tsx +8 -2
- package/src/components/ui/tabs.tsx +11 -4
- package/src/components/ui/text-prompt-dialog.tsx +4 -2
- package/src/core/state/app/types.ts +10 -1
- package/src/data/config/store/normalize.ts +17 -1
- package/src/i18n/es.ts +24 -4
- package/src/i18n/ja.ts +24 -4
- package/src/i18n/ko.ts +24 -4
- package/src/i18n/zh-cn.ts +24 -4
- package/src/i18n/zh-tw.ts +24 -4
- package/src/layout/ticker-navigation.ts +28 -2
- package/src/market-data/coordinator/chart.ts +1 -1
- package/src/market-data/coordinator/quotes.ts +23 -4
- package/src/market-data/fx-closes.ts +72 -0
- package/src/market-data/market/freshness.ts +78 -6
- package/src/market-data/market/session-close-note.ts +57 -0
- package/src/market-data/market/status.ts +151 -0
- package/src/market-data/published-apac-sessions.ts +66 -0
- package/src/market-data/quotes/contributions.ts +8 -0
- package/src/market-data/quotes/freshness.ts +36 -0
- package/src/market-data/quotes/resolution.ts +24 -8
- package/src/market-data/quotes/screener-live-quotes.ts +49 -4
- package/src/market-data/quotes/time.ts +16 -0
- package/src/plugins/builtin/account-management/pane.tsx +4 -0
- package/src/plugins/builtin/alerts/cli.ts +10 -5
- package/src/plugins/builtin/alerts/index.tsx +1 -0
- package/src/plugins/builtin/analytics/metrics.ts +8 -3
- package/src/plugins/builtin/analytics/risk-client.ts +330 -79
- package/src/plugins/builtin/analytics/risk-fx.ts +102 -0
- package/src/plugins/builtin/analytics/risk-headless.ts +61 -49
- package/src/plugins/builtin/analytics/risk-math.ts +33 -13
- package/src/plugins/builtin/analytics/risk-model.ts +282 -64
- package/src/plugins/builtin/analytics/risk-pane.tsx +62 -30
- package/src/plugins/builtin/analytics/risk-test-data.ts +206 -0
- package/src/plugins/builtin/attention/headless.ts +6 -4
- package/src/plugins/builtin/attention/index.tsx +1 -1
- package/src/plugins/builtin/attention/pane.tsx +1 -1
- package/src/plugins/builtin/awards/headless.ts +1 -0
- package/src/plugins/builtin/awards/pane.tsx +1 -1
- package/src/plugins/builtin/backtest/headless.ts +1 -0
- package/src/plugins/builtin/bond-calculator/headless.ts +1 -0
- package/src/plugins/builtin/buildout/cells.tsx +15 -12
- package/src/plugins/builtin/buildout/detail/company.tsx +3 -3
- package/src/plugins/builtin/buildout/detail/index.tsx +0 -1
- package/src/plugins/builtin/buildout/detail/intel.tsx +6 -6
- package/src/plugins/builtin/buildout/detail/site.tsx +4 -7
- package/src/plugins/builtin/buildout/detail/ui.tsx +0 -19
- package/src/plugins/builtin/buildout/index.tsx +1 -0
- package/src/plugins/builtin/catalysts/headless.ts +3 -1
- package/src/plugins/builtin/catalysts/index.tsx +2 -2
- package/src/plugins/builtin/catalysts/pane.tsx +3 -1
- package/src/plugins/builtin/cds/headless.ts +2 -0
- package/src/plugins/builtin/cds/index.tsx +1 -0
- package/src/plugins/builtin/central-bank-rates/headless.ts +1 -0
- package/src/plugins/builtin/chart-composer/headless.ts +38 -3
- package/src/plugins/builtin/chart-composer/index.tsx +3 -1
- package/src/plugins/builtin/chart-composer/series-expression.ts +18 -2
- package/src/plugins/builtin/chat/channels.ts +19 -3
- package/src/plugins/builtin/chat/content/composer-runtime.ts +28 -13
- package/src/plugins/builtin/chat/content/footer.tsx +15 -6
- package/src/plugins/builtin/chat/content/index.tsx +120 -21
- package/src/plugins/builtin/chat/content/new-dm-dialog.tsx +261 -113
- package/src/plugins/builtin/chat/content/transcript.tsx +20 -2
- package/src/plugins/builtin/chat/direct-messages.ts +200 -0
- package/src/plugins/builtin/chat/index.tsx +1 -0
- package/src/plugins/builtin/chat/message/desktop.tsx +3 -0
- package/src/plugins/builtin/chat/message/header.tsx +16 -6
- package/src/plugins/builtin/chat/message/inline-tokens.tsx +72 -32
- package/src/plugins/builtin/chat/message/profile-popover.tsx +96 -12
- package/src/plugins/builtin/chat/message/terminal.tsx +3 -0
- package/src/plugins/builtin/chat/message/types.ts +14 -2
- package/src/plugins/builtin/chat/profile-popover.ts +18 -13
- package/src/plugins/builtin/clinical-trials/index.tsx +1 -0
- package/src/plugins/builtin/cloud/askg/executor.ts +2 -1
- package/src/plugins/builtin/cloud/plugin.tsx +1 -0
- package/src/plugins/builtin/cloud/team/module.tsx +1 -0
- package/src/plugins/builtin/cloud/thesis/module.tsx +1 -0
- package/src/plugins/builtin/cloud-tweets/registration.ts +1 -0
- package/src/plugins/builtin/comment-letters/index.tsx +1 -0
- package/src/plugins/builtin/company-attention/headless.ts +5 -1
- package/src/plugins/builtin/company-attention/pane.tsx +1 -1
- package/src/plugins/builtin/company-kpis/headless.ts +1 -0
- package/src/plugins/builtin/congress-trades/headless.ts +1 -0
- package/src/plugins/builtin/correlation/compute.ts +59 -16
- package/src/plugins/builtin/correlation/geo.ts +34 -0
- package/src/plugins/builtin/correlation/headless-schema.ts +4 -1
- package/src/plugins/builtin/correlation/headless.ts +42 -8
- package/src/plugins/builtin/correlation/history.ts +2 -0
- package/src/plugins/builtin/correlation/index.tsx +68 -14
- package/src/plugins/builtin/correlation/matrix/model.ts +17 -2
- package/src/plugins/builtin/correlation/matrix/selection.ts +5 -3
- package/src/plugins/builtin/correlation/relationship/model.ts +1 -1
- package/src/plugins/builtin/correlation/relationship/pane.tsx +4 -2
- package/src/plugins/builtin/correlation/relationship/view-model.ts +16 -1
- package/src/plugins/builtin/correlation/settings.ts +1 -1
- package/src/plugins/builtin/cot/headless.ts +6 -3
- package/src/plugins/builtin/cot/index.tsx +3 -3
- package/src/plugins/builtin/cot/model.ts +36 -3
- package/src/plugins/builtin/cpi/headless.ts +4 -0
- package/src/plugins/builtin/credit-boards/headless.ts +2 -0
- package/src/plugins/builtin/credit-conditions/headless.ts +1 -0
- package/src/plugins/builtin/credit-documents/gauge.tsx +5 -8
- package/src/plugins/builtin/credit-documents/headless.ts +2 -0
- package/src/plugins/builtin/crypto-board/headless.ts +3 -0
- package/src/plugins/builtin/custom-view/loader.ts +1 -1
- package/src/plugins/builtin/debt-maturities/headless.ts +4 -0
- package/src/plugins/builtin/debt-maturities/wall-bar.tsx +14 -41
- package/src/plugins/builtin/dividend-yield/client.ts +4 -2
- package/src/plugins/builtin/dividend-yield/headless.ts +1 -0
- package/src/plugins/builtin/doe/headless.ts +7 -0
- package/src/plugins/builtin/doe/range-bar.tsx +7 -37
- package/src/plugins/builtin/earnings/client.ts +2 -2
- package/src/plugins/builtin/earnings/headless.ts +5 -0
- package/src/plugins/builtin/earnings-calls/headless.ts +1 -0
- package/src/plugins/builtin/earnings-calls/index.tsx +1 -0
- package/src/plugins/builtin/earnings-ripple/client.ts +91 -18
- package/src/plugins/builtin/earnings-ripple/headless.ts +28 -8
- package/src/plugins/builtin/earnings-ripple/index.tsx +2 -2
- package/src/plugins/builtin/earnings-ripple/model.ts +97 -7
- package/src/plugins/builtin/earnings-ripple/pane.tsx +148 -23
- package/src/plugins/builtin/econ/index.tsx +1 -0
- package/src/plugins/builtin/econ-statistics/headless.ts +2 -0
- package/src/plugins/builtin/equity-screener/headless.ts +2 -0
- package/src/plugins/builtin/estimate-revisions/headless.ts +1 -0
- package/src/plugins/builtin/executives/index.tsx +1 -0
- package/src/plugins/builtin/exposure/headless.ts +3 -1
- package/src/plugins/builtin/fear-greed/headless.ts +2 -0
- package/src/plugins/builtin/filing-events/index.tsx +1 -0
- package/src/plugins/builtin/futures-curve/client.ts +12 -3
- package/src/plugins/builtin/futures-curve/headless.ts +39 -10
- package/src/plugins/builtin/futures-curve/index.tsx +3 -3
- package/src/plugins/builtin/futures-curve/model.ts +188 -4
- package/src/plugins/builtin/futures-curve/pane.tsx +51 -9
- package/src/plugins/builtin/fx-matrix/direction.ts +81 -0
- package/src/plugins/builtin/fx-matrix/index.tsx +71 -33
- package/src/plugins/builtin/fx-matrix/live-legs.ts +17 -0
- package/src/plugins/builtin/fx-matrix/pairs.ts +68 -14
- package/src/plugins/builtin/fx-matrix/settings.ts +62 -0
- package/src/plugins/builtin/gpu/headless.ts +7 -3
- package/src/plugins/builtin/gpu/ladder.tsx +26 -30
- package/src/plugins/builtin/gpu/model.ts +27 -1
- package/src/plugins/builtin/holders/beneficial-client.ts +209 -0
- package/src/plugins/builtin/holders/beneficial-model.ts +279 -0
- package/src/plugins/builtin/holders/beneficial-report.ts +126 -0
- package/src/plugins/builtin/holders/beneficial-view.tsx +241 -0
- package/src/plugins/builtin/holders/headless.ts +139 -5
- package/src/plugins/builtin/holders/index.tsx +10 -3
- package/src/plugins/builtin/holders/pane.tsx +20 -3
- package/src/plugins/builtin/holders/report-header.ts +95 -0
- package/src/plugins/builtin/holders/table-model.ts +20 -5
- package/src/plugins/builtin/holders/thirteenf-match.ts +29 -1
- package/src/plugins/builtin/holders/types.ts +2 -1
- package/src/plugins/builtin/insider/headless.ts +2 -0
- package/src/plugins/builtin/ipo-calendar/headless.ts +1 -0
- package/src/plugins/builtin/iv-history/headless.ts +4 -1
- package/src/plugins/builtin/jobs/headless.ts +1 -0
- package/src/plugins/builtin/jobs/index.tsx +1 -0
- package/src/plugins/builtin/jobs/share-bars.tsx +5 -28
- package/src/plugins/builtin/kelly-sizer/index.tsx +1 -0
- package/src/plugins/builtin/macro-day/headless.ts +2 -0
- package/src/plugins/builtin/market-halts/index.tsx +1 -0
- package/src/plugins/builtin/market-heatmap/data.ts +30 -2
- package/src/plugins/builtin/market-heatmap/headless.ts +135 -0
- package/src/plugins/builtin/market-heatmap/index.tsx +245 -81
- package/src/plugins/builtin/market-heatmap/live.ts +88 -0
- package/src/plugins/builtin/market-heatmap/model.ts +146 -0
- package/src/plugins/builtin/market-heatmap/portfolio.ts +50 -11
- package/src/plugins/builtin/market-movers/client.ts +3 -2
- package/src/plugins/builtin/market-movers/headless.ts +10 -1
- package/src/plugins/builtin/market-movers/screener.ts +18 -5
- package/src/plugins/builtin/market-valuation/headless.ts +2 -0
- package/src/plugins/builtin/members/client.ts +53 -0
- package/src/plugins/builtin/members/headless.ts +35 -0
- package/src/plugins/builtin/members/index.tsx +20 -0
- package/src/plugins/builtin/members/model.ts +68 -0
- package/src/plugins/builtin/members/pane.tsx +175 -0
- package/src/plugins/builtin/mna/distress/headless.ts +1 -0
- package/src/plugins/builtin/mna/headless.ts +1 -0
- package/src/plugins/builtin/mna/index.tsx +2 -1
- package/src/plugins/builtin/mna/pane.tsx +5 -2
- package/src/plugins/builtin/money-markets/headless.ts +1 -0
- package/src/plugins/builtin/news/headless.ts +2 -0
- package/src/plugins/builtin/news/wire/index.tsx +8 -1
- package/src/plugins/builtin/notes/cli.ts +14 -6
- package/src/plugins/builtin/notes/index.tsx +1 -0
- package/src/plugins/builtin/openfda/index.tsx +1 -0
- package/src/plugins/builtin/options/index.tsx +2 -1
- package/src/plugins/builtin/options-calculator/headless.ts +2 -0
- package/src/plugins/builtin/options-positioning/headless.ts +3 -0
- package/src/plugins/builtin/options-scenario/headless.ts +5 -0
- package/src/plugins/builtin/pe-band/client.ts +74 -2
- package/src/plugins/builtin/pe-band/headless.ts +26 -8
- package/src/plugins/builtin/pe-band/model.ts +102 -22
- package/src/plugins/builtin/pe-band/pane.tsx +34 -16
- package/src/plugins/builtin/pe-band/report-dates.ts +78 -0
- package/src/plugins/builtin/perps/client.ts +66 -5
- package/src/plugins/builtin/perps/equity-identity.ts +16 -0
- package/src/plugins/builtin/perps/equity-row.tsx +6 -4
- package/src/plugins/builtin/perps/headless.ts +144 -16
- package/src/plugins/builtin/perps/index.tsx +6 -6
- package/src/plugins/builtin/perps/model.ts +189 -12
- package/src/plugins/builtin/perps/pane.tsx +248 -47
- package/src/plugins/builtin/plugin-marketplace/activation.ts +19 -0
- package/src/plugins/builtin/plugin-marketplace/pane.tsx +2 -2
- package/src/plugins/builtin/plugin-marketplace/store.ts +2 -0
- package/src/plugins/builtin/portfolio-list/allocation.ts +245 -0
- package/src/plugins/builtin/portfolio-list/cached-account.ts +33 -0
- package/src/plugins/builtin/portfolio-list/cell-version.ts +19 -1
- package/src/plugins/builtin/portfolio-list/cli/portfolio-command.ts +328 -29
- package/src/plugins/builtin/portfolio-list/cli/render.ts +230 -39
- package/src/plugins/builtin/portfolio-list/cli/shared.ts +67 -2
- package/src/plugins/builtin/portfolio-list/cli/watchlist-command.ts +35 -31
- package/src/plugins/builtin/portfolio-list/column-values.ts +124 -47
- package/src/plugins/builtin/portfolio-list/headless.ts +98 -16
- package/src/plugins/builtin/portfolio-list/index.tsx +14 -3
- package/src/plugins/builtin/portfolio-list/live-valuation.ts +7 -5
- package/src/plugins/builtin/portfolio-list/mutations.ts +55 -1
- package/src/plugins/builtin/portfolio-list/pane/data.ts +6 -0
- package/src/plugins/builtin/portfolio-list/pane/index.tsx +47 -13
- package/src/plugins/builtin/portfolio-list/quick-add/index.tsx +43 -2
- package/src/plugins/builtin/portfolio-list/quick-add/resolution.ts +48 -5
- package/src/plugins/builtin/portfolio-list/settings.ts +33 -2
- package/src/plugins/builtin/portfolio-list/summary/index.tsx +24 -1
- package/src/plugins/builtin/portfolio-list/summary/totals.ts +26 -7
- package/src/plugins/builtin/power/headless.ts +3 -1
- package/src/plugins/builtin/rate-path/headless.ts +2 -0
- package/src/plugins/builtin/realized-vol/headless.ts +2 -0
- package/src/plugins/builtin/relative-rotation/headless.ts +2 -0
- package/src/plugins/builtin/research/analyst-headless.ts +3 -0
- package/src/plugins/builtin/research/events-headless.ts +2 -0
- package/src/plugins/builtin/research/headless.ts +2 -0
- package/src/plugins/builtin/research/index.tsx +1 -0
- package/src/plugins/builtin/research/relative-valuation-headless.ts +10 -5
- package/src/plugins/builtin/research/relative-valuation-model.ts +11 -3
- package/src/plugins/builtin/research/relative-valuation-pane.tsx +3 -3
- package/src/plugins/builtin/research-search/index.tsx +1 -0
- package/src/plugins/builtin/revenue-breakdown/headless.ts +2 -0
- package/src/plugins/builtin/reverse-dcf/headless.ts +2 -0
- package/src/plugins/builtin/risk-factors/headless.ts +2 -0
- package/src/plugins/builtin/scanner/flow-history.ts +2 -13
- package/src/plugins/builtin/scanner/headless.ts +14 -0
- package/src/plugins/builtin/scanner/hilo-bars.tsx +12 -70
- package/src/plugins/builtin/scanner/hilo-model.ts +0 -18
- package/src/plugins/builtin/seasonality/headless.ts +2 -0
- package/src/plugins/builtin/sec/command-bar-search.ts +14 -4
- package/src/plugins/builtin/sec/filing-content.ts +42 -17
- package/src/plugins/builtin/sec/forms.ts +12 -0
- package/src/plugins/builtin/sec/headless.ts +2 -0
- package/src/plugins/builtin/sectors/client.ts +1 -0
- package/src/plugins/builtin/sectors/headless.ts +9 -1
- package/src/plugins/builtin/sectors/move-bar.tsx +10 -32
- package/src/plugins/builtin/sectors/sector-model.ts +2 -0
- package/src/plugins/builtin/shared/crypto-pair.ts +14 -0
- package/src/plugins/builtin/shared/locked-rows.tsx +1 -1
- package/src/plugins/builtin/shared/report-freshness.ts +57 -0
- package/src/plugins/builtin/shared/research-cells.tsx +4 -9
- package/src/plugins/builtin/short-interest/headless.ts +2 -0
- package/src/plugins/builtin/short-interest/watch-headless.ts +1 -0
- package/src/plugins/builtin/short-volume/headless.ts +1 -0
- package/src/plugins/builtin/social-mentions/headless.ts +1 -0
- package/src/plugins/builtin/social-mentions/index.tsx +1 -1
- package/src/plugins/builtin/supply-chain/headless.ts +7 -1
- package/src/plugins/builtin/supply-chain/index.tsx +10 -1
- package/src/plugins/builtin/supply-chain/model.ts +27 -2
- package/src/plugins/builtin/supply-chain/pane.tsx +71 -32
- package/src/plugins/builtin/themes/headless.ts +3 -0
- package/src/plugins/builtin/thirteenf/headless.ts +110 -25
- package/src/plugins/builtin/thirteenf/index.tsx +2 -1
- package/src/plugins/builtin/thirteenf/report-notes.ts +149 -0
- package/src/plugins/builtin/ticker-detail/headless.ts +7 -1
- package/src/plugins/builtin/ticker-detail/index.tsx +1 -0
- package/src/plugins/builtin/ticker-detail/overview/components.tsx +5 -60
- package/src/plugins/builtin/ticker-detail/overview/model.ts +9 -2
- package/src/plugins/builtin/ticker-detail/overview/pane.tsx +1 -1
- package/src/plugins/builtin/ticker-detail/overview-tab.tsx +26 -26
- package/src/plugins/builtin/ticker-detail/pane.tsx +1 -1
- package/src/plugins/builtin/ticker-detail/quote-footer.ts +7 -1
- package/src/plugins/builtin/ticker-detail/quote-monitor/card.tsx +20 -4
- package/src/plugins/builtin/ticker-detail/quote-monitor/index.tsx +2 -2
- package/src/plugins/builtin/time-sales/headless.ts +5 -1
- package/src/plugins/builtin/treasury-auctions/headless.ts +1 -0
- package/src/plugins/builtin/vol-surface/index.tsx +1 -1
- package/src/plugins/builtin/volatility/headless.ts +6 -1
- package/src/plugins/builtin/world-indices/headless.ts +2 -0
- package/src/plugins/builtin/world-venue-map/basemap-layer.tsx +157 -0
- package/src/plugins/builtin/world-venue-map/basemap.ts +214 -0
- package/src/plugins/builtin/world-venue-map/client.ts +45 -0
- package/src/plugins/builtin/world-venue-map/entity-detail.tsx +147 -0
- package/src/plugins/builtin/world-venue-map/entity-table.ts +59 -0
- package/src/plugins/builtin/world-venue-map/evidence.ts +77 -0
- package/src/plugins/builtin/world-venue-map/feed.ts +293 -0
- package/src/plugins/builtin/world-venue-map/geo-draw.tsx +248 -0
- package/src/plugins/builtin/world-venue-map/geo-series.ts +142 -0
- package/src/plugins/builtin/world-venue-map/geo-svg.tsx +447 -0
- package/src/plugins/builtin/world-venue-map/headless.ts +146 -0
- package/src/plugins/builtin/world-venue-map/ids.ts +1 -0
- package/src/plugins/builtin/world-venue-map/index.ts +67 -4
- package/src/plugins/builtin/world-venue-map/layered-pane.tsx +552 -0
- package/src/plugins/builtin/world-venue-map/layers.ts +348 -0
- package/src/plugins/builtin/world-venue-map/map-symbols.ts +220 -0
- package/src/plugins/builtin/world-venue-map/map.tsx +381 -45
- package/src/plugins/builtin/world-venue-map/model.ts +7 -4
- package/src/plugins/builtin/world-venue-map/natural-earth/index.chunk.ts +199 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e000s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e015s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e030s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e045s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e060s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e075n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e075n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e075n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e075n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e075n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e075n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e075s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e090n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e090n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e090n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e090n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e090n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e090n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e090s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e105s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e120n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e120n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e120n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e120n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e120n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e120s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e120s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e120s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e135s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e150s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e165n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e165n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e165n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e165n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e165s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e165s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e165s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/e165s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w015s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w030n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w030n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w030n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w030n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w030n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w030s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w030s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w045n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w045n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w045n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w045n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w045s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w045s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w045s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w060s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w075s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w090s60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w105n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w105n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w105n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w105n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w105n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w105n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w105s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w120n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w120n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w120n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w120n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w120n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w120n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w120s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w135n30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w135n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w135n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w135n75.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w135s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w150n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w150n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w150s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w150s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w165n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w165n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w165n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w165n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w165s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w165s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w180n00.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w180n15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w180n45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w180n60.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w180s15.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w180s30.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/tiles/w180s45.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/natural-earth/world-50m.chunk.ts +4 -0
- package/src/plugins/builtin/world-venue-map/pane.tsx +28 -43
- package/src/plugins/builtin/world-venue-map/use-geo.ts +55 -0
- package/src/plugins/builtin/world-venue-map/venue-header.tsx +32 -0
- package/src/plugins/builtin/yield-curve/headless.ts +16 -0
- package/src/plugins/catalog-browser.ts +2 -0
- package/src/plugins/catalog-manifest.ts +1 -0
- package/src/plugins/catalog-ui.ts +3 -1
- package/src/plugins/catalog.ts +1 -1
- package/src/plugins/host-link.ts +33 -1
- package/src/plugins/installer.ts +48 -12
- package/src/plugins/loader.ts +30 -3
- package/src/plugins/manager-node.ts +15 -5
- package/src/plugins/registry/index.ts +1 -1
- package/src/plugins/registry/pane-settings.ts +26 -7
- package/src/public/__snapshots__/public-api.test.ts.snap +2 -0
- package/src/renderers/dom/build-assets.ts +81 -3
- package/src/renderers/dom/data-table/row.tsx +52 -16
- package/src/renderers/dom/desktop/controls.tsx +7 -3
- package/src/renderers/dom/desktop/icons.tsx +1 -0
- package/src/renderers/dom/desktop/list-view.tsx +35 -10
- package/src/renderers/dom/desktop/popover.tsx +73 -14
- package/src/renderers/dom/host/box.tsx +69 -26
- package/src/renderers/dom/host/input.tsx +14 -3
- package/src/renderers/dom/host/tabs.tsx +37 -1
- package/src/renderers/dom/styles.css +41 -7
- package/src/renderers/electrobun/bun/desktop/backend-requests.ts +11 -6
- package/src/renderers/electrobun/bun/desktop/backend.ts +1 -0
- package/src/renderers/electrobun/bun/desktop/update.ts +181 -87
- package/src/renderers/electrobun/bun/index.ts +73 -6
- package/src/renderers/electrobun/bun/window/remembered-frame.ts +122 -0
- package/src/renderers/electrobun/shared/protocol.ts +3 -0
- package/src/renderers/electrobun/view/backend-rpc.ts +10 -4
- package/src/renderers/electrobun/view/cli-pane-shot-entry.tsx +3 -1
- package/src/renderers/electrobun/view/main.tsx +7 -1
- package/src/renderers/electrobun/view/renderer-window-error.ts +18 -0
- package/src/renderers/electrobun/view/rpc-timeout.ts +14 -3
- package/src/renderers/electrobun/view/update-host.ts +45 -21
- package/src/renderers/opentui/host.tsx +5 -0
- package/src/sources/gloomberb-cloud/index.ts +25 -4
- package/src/sources/gloomberb-cloud/normalizers.ts +36 -5
- package/src/sources/provider-router/cached-routes.ts +4 -1
- package/src/sources/provider-router/financials.ts +11 -8
- package/src/sources/provider-router/history.ts +15 -10
- package/src/sources/sec-registrant.ts +75 -0
- package/src/state/app/context/index.tsx +24 -8
- package/src/state/hooks/quote-streaming.ts +41 -26
- package/src/sync/core-contributors.ts +4 -0
- package/src/telemetry/benign-window-error.ts +7 -0
- package/src/telemetry/crash-reports-dom.ts +2 -0
- package/src/telemetry/crash-reports.ts +4 -1
- package/src/test-support/cli-context.ts +10 -2
- package/src/test-support/daily-nav.ts +25 -0
- package/src/theme/heat-colors.ts +357 -2
- package/src/tickers/instrument-kind.ts +34 -7
- package/src/tickers/search/asset-classes.ts +24 -9
- package/src/tickers/search/index.ts +44 -11
- package/src/tickers/search/ranking.ts +23 -3
- package/src/time-series/resolve.ts +1 -1
- package/src/time-series/use-chart-resolution.ts +1 -1
- package/src/types/context-menu.ts +6 -0
- package/src/types/data-provider.ts +2 -0
- package/src/types/financials.ts +5 -0
- package/src/types/headless.ts +79 -2
- package/src/types/plugin.ts +38 -6
- package/src/types/ticker.ts +15 -0
- package/src/ui/context-menu.tsx +1 -0
- package/src/ui/host.tsx +16 -0
- package/src/updater/index.ts +38 -13
- package/src/utils/async-deadline.ts +21 -0
- package/src/utils/cli-output.ts +5 -1
- package/src/utils/crypto-pair.ts +41 -0
- package/src/utils/currency-units.ts +14 -0
- package/src/utils/depositary-receipt.ts +26 -0
- package/src/utils/exchanges.ts +72 -0
- package/src/utils/fire-and-forget.ts +24 -0
- package/src/utils/format.ts +13 -0
- package/src/utils/price-earnings.ts +70 -3
- package/src/utils/price-history.ts +58 -13
- package/src/utils/rpc-timeout-error.ts +27 -0
- package/src/utils/sec.ts +13 -1
- package/src/utils/utc-time.ts +79 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import { useCallback, useMemo, useState } from "react";
|
|
2
|
+
import { TextAttributes, useRendererHost } from "../../../ui";
|
|
3
|
+
import {
|
|
4
|
+
DataTableView,
|
|
5
|
+
EmptyState,
|
|
6
|
+
PaneStatusBody,
|
|
7
|
+
usePaneFooter,
|
|
8
|
+
usePaneNoticeFooter,
|
|
9
|
+
type DataTableCell,
|
|
10
|
+
type DataTableKeyEvent,
|
|
11
|
+
} from "../../../components";
|
|
12
|
+
import { handleRefreshKey, loadingErrorFooterInfo } from "../../../components/data-table/table-pane";
|
|
13
|
+
import { useAsyncResource } from "../../../react/async-resource";
|
|
14
|
+
import { useAutoRefresh } from "../../../react/auto-refresh";
|
|
15
|
+
import { colors, priceColor } from "../../../theme/colors";
|
|
16
|
+
import { isPlainKey } from "../../../utils/keyboard";
|
|
17
|
+
import { nextHeaderSort } from "../../../utils/sort-values";
|
|
18
|
+
import { usePluginAppActions, usePluginPaneState } from "../../runtime";
|
|
19
|
+
import { SignInWall } from "../cloud/auth-actions";
|
|
20
|
+
import { isCloudSessionRequired, useResearchCloudSession } from "../shared/research-cloud-session";
|
|
21
|
+
import { openSecFilingInPane } from "../sec/command-bar-search";
|
|
22
|
+
import { cachedBeneficialOwners, loadBeneficialOwners } from "./beneficial-client";
|
|
23
|
+
import { beneficialCoverageNotices, beneficialListUnreadable } from "./beneficial-report";
|
|
24
|
+
import {
|
|
25
|
+
buildBeneficialColumns,
|
|
26
|
+
buildBeneficialRows,
|
|
27
|
+
DEFAULT_BENEFICIAL_SORT,
|
|
28
|
+
formatFilerName,
|
|
29
|
+
formatOwnerShares,
|
|
30
|
+
formatPercentOfClass,
|
|
31
|
+
formatPointChange,
|
|
32
|
+
sortBeneficialRows,
|
|
33
|
+
stakeMarker,
|
|
34
|
+
type BeneficialColumn,
|
|
35
|
+
type BeneficialColumnId,
|
|
36
|
+
type BeneficialOwnerRow,
|
|
37
|
+
type BeneficialSortPreference,
|
|
38
|
+
} from "./beneficial-model";
|
|
39
|
+
import type { Holder13FMatch } from "./thirteenf-match";
|
|
40
|
+
import type { HolderRow } from "./types";
|
|
41
|
+
|
|
42
|
+
const STALE_SEGMENT = { id: "stale", parts: [{ text: "stale", tone: "warning" as const }] };
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The 13D/G tab: who disclosed more than 5% of the class, the stake each
|
|
46
|
+
* filer's latest report gives and how it moved, one row per filer, joined to
|
|
47
|
+
* the Table tab's 13F holders for the quarter's action. A latest report is
|
|
48
|
+
* the latest disclosure, not today's position.
|
|
49
|
+
*/
|
|
50
|
+
export function BeneficialOwnersView({
|
|
51
|
+
focused,
|
|
52
|
+
width,
|
|
53
|
+
symbol,
|
|
54
|
+
holderRows,
|
|
55
|
+
fundMatches,
|
|
56
|
+
onCycleView,
|
|
57
|
+
onRefreshHolders,
|
|
58
|
+
}: {
|
|
59
|
+
focused: boolean;
|
|
60
|
+
width: number;
|
|
61
|
+
symbol: string | null;
|
|
62
|
+
holderRows: readonly HolderRow[];
|
|
63
|
+
fundMatches: ReadonlyMap<string, Holder13FMatch>;
|
|
64
|
+
onCycleView: () => void;
|
|
65
|
+
onRefreshHolders: () => void;
|
|
66
|
+
}) {
|
|
67
|
+
const rendererHost = useRendererHost();
|
|
68
|
+
const { createPaneFromTemplate } = usePluginAppActions();
|
|
69
|
+
const session = useResearchCloudSession();
|
|
70
|
+
const [sortPreference, setSortPreference] = usePluginPaneState<BeneficialSortPreference>(
|
|
71
|
+
"beneficialSort",
|
|
72
|
+
DEFAULT_BENEFICIAL_SORT,
|
|
73
|
+
);
|
|
74
|
+
const [selectedId, setSelectedId] = useState<string | null>(null);
|
|
75
|
+
|
|
76
|
+
// A session change retries a request the sign-in wall was shown for.
|
|
77
|
+
const loader = useMemo(
|
|
78
|
+
() => symbol ? (force: boolean) => loadBeneficialOwners(symbol, force) : null,
|
|
79
|
+
[symbol, session.requestKey],
|
|
80
|
+
);
|
|
81
|
+
const resource = useAsyncResource(loader, {
|
|
82
|
+
initialData: () => symbol ? cachedBeneficialOwners(symbol) : null,
|
|
83
|
+
clearOnError: (error) => error instanceof Error && isCloudSessionRequired(error.message),
|
|
84
|
+
});
|
|
85
|
+
useAutoRefresh(resource.updatedAt, resource.load);
|
|
86
|
+
const payload = resource.data?.payload ?? null;
|
|
87
|
+
|
|
88
|
+
const rows = useMemo(
|
|
89
|
+
() => buildBeneficialRows(payload?.owners ?? [], holderRows, fundMatches),
|
|
90
|
+
[fundMatches, holderRows, payload],
|
|
91
|
+
);
|
|
92
|
+
const sortedRows = useMemo(() => sortBeneficialRows(rows, sortPreference), [rows, sortPreference]);
|
|
93
|
+
const columns = useMemo(() => buildBeneficialColumns(width), [width]);
|
|
94
|
+
const selectedRow = sortedRows.find((row) => row.id === selectedId) ?? sortedRows[0] ?? null;
|
|
95
|
+
|
|
96
|
+
const openFiling = useCallback((row: BeneficialOwnerRow | null | undefined) => {
|
|
97
|
+
if (!row || !symbol) return;
|
|
98
|
+
openSecFilingInPane({ createPaneFromTemplate }, symbol, row.filing.accessionNumber);
|
|
99
|
+
}, [createPaneFromTemplate, symbol]);
|
|
100
|
+
|
|
101
|
+
const openFilingUrl = useCallback(() => {
|
|
102
|
+
const url = selectedRow?.filing.filingUrl;
|
|
103
|
+
if (url) void rendererHost.openExternal(url);
|
|
104
|
+
}, [rendererHost, selectedRow]);
|
|
105
|
+
|
|
106
|
+
const refresh = useCallback(() => {
|
|
107
|
+
void resource.reload();
|
|
108
|
+
onRefreshHolders();
|
|
109
|
+
}, [onRefreshHolders, resource]);
|
|
110
|
+
|
|
111
|
+
const handleKeyDown = useCallback((event: DataTableKeyEvent) => {
|
|
112
|
+
if (handleRefreshKey(event, refresh, { stopPropagation: true })) return true;
|
|
113
|
+
if (isPlainKey(event, "s")) {
|
|
114
|
+
event.preventDefault?.();
|
|
115
|
+
event.stopPropagation?.();
|
|
116
|
+
onCycleView();
|
|
117
|
+
return true;
|
|
118
|
+
}
|
|
119
|
+
return false;
|
|
120
|
+
}, [onCycleView, refresh]);
|
|
121
|
+
|
|
122
|
+
const handleHeaderClick = useCallback((columnId: string) => {
|
|
123
|
+
setSortPreference((current) => nextHeaderSort(current, columnId as BeneficialColumnId, {
|
|
124
|
+
firstDirection: (id) => id === "filer" || id === "form" ? "asc" : "desc",
|
|
125
|
+
}));
|
|
126
|
+
}, [setSortPreference]);
|
|
127
|
+
|
|
128
|
+
const renderCell = useCallback((
|
|
129
|
+
row: BeneficialOwnerRow,
|
|
130
|
+
column: BeneficialColumn,
|
|
131
|
+
_index: number,
|
|
132
|
+
rowState: { selected: boolean },
|
|
133
|
+
): DataTableCell => {
|
|
134
|
+
const { filing } = row;
|
|
135
|
+
// A report of zero reads as history; a stake under 5% is still a stake.
|
|
136
|
+
const exited = row.stake === "exited";
|
|
137
|
+
const tone = exited ? colors.textMuted : colors.text;
|
|
138
|
+
switch (column.id) {
|
|
139
|
+
case "filer":
|
|
140
|
+
return {
|
|
141
|
+
text: formatFilerName(filing.filerName, Math.max(0, filing.reportingPersons.length - 1), column.width),
|
|
142
|
+
value: filing.filerName,
|
|
143
|
+
color: exited ? colors.textMuted : rowState.selected ? colors.selectedText : colors.textBright,
|
|
144
|
+
attributes: exited ? undefined : TextAttributes.BOLD,
|
|
145
|
+
};
|
|
146
|
+
case "form":
|
|
147
|
+
return { text: row.formLabel, color: tone };
|
|
148
|
+
case "percentOfClass": {
|
|
149
|
+
// A column too narrow for `4.9% <5%` keeps the figure alone.
|
|
150
|
+
const marker = column.width >= formatPercentOfClass(row, { marker: true }).length;
|
|
151
|
+
return {
|
|
152
|
+
text: formatPercentOfClass(row, { marker }),
|
|
153
|
+
value: filing.percentOfClass,
|
|
154
|
+
color: row.stake === "holder" ? colors.textBright : stakeMarker(row.stake) ? colors.textDim : colors.text,
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
case "change":
|
|
158
|
+
return {
|
|
159
|
+
text: formatPointChange(row.changePoints),
|
|
160
|
+
value: row.changePoints,
|
|
161
|
+
color: row.changePoints == null || row.changePoints === 0 ? colors.textDim : priceColor(row.changePoints),
|
|
162
|
+
};
|
|
163
|
+
case "shares":
|
|
164
|
+
return { text: formatOwnerShares(filing.shares), value: filing.shares, color: tone };
|
|
165
|
+
case "eventDate":
|
|
166
|
+
return { text: filing.eventDate ?? "-", value: filing.eventDate, color: colors.textDim };
|
|
167
|
+
case "filingDate":
|
|
168
|
+
return { text: filing.filingDate, value: filing.filingDate, color: colors.textDim };
|
|
169
|
+
case "thirteenF": {
|
|
170
|
+
const action = row.thirteenF;
|
|
171
|
+
if (!action) return { text: "-", value: null, color: colors.textDim };
|
|
172
|
+
return { text: action.label, color: action.value === 0 ? colors.textDim : priceColor(action.value) };
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}, []);
|
|
176
|
+
|
|
177
|
+
const authWall = !payload && isCloudSessionRequired(resource.error);
|
|
178
|
+
const error = authWall ? null : resource.error;
|
|
179
|
+
// Listed filings that could not be read are a failure, not "no filings".
|
|
180
|
+
const unreadable = !!payload && beneficialListUnreadable(payload);
|
|
181
|
+
const coverageNotices = useMemo(
|
|
182
|
+
() => unreadable ? [] : beneficialCoverageNotices(payload?.coverage),
|
|
183
|
+
[payload, unreadable],
|
|
184
|
+
);
|
|
185
|
+
usePaneNoticeFooter({
|
|
186
|
+
registrationId: "holders-13dg:coverage",
|
|
187
|
+
notices: coverageNotices,
|
|
188
|
+
focused,
|
|
189
|
+
title: "13D/13G coverage",
|
|
190
|
+
});
|
|
191
|
+
usePaneFooter("holders-13dg", () => ({
|
|
192
|
+
info: [
|
|
193
|
+
...(payload?.asOf ? [{ id: "as-of", parts: [{ text: `as of ${payload.asOf.slice(0, 10)}`, tone: "muted" as const }] }] : []),
|
|
194
|
+
...(payload && resource.data?.stale ? [STALE_SEGMENT] : []),
|
|
195
|
+
...loadingErrorFooterInfo(resource.loading, payload ? error : null),
|
|
196
|
+
],
|
|
197
|
+
hints: selectedRow?.filing.filingUrl
|
|
198
|
+
? [{ id: "filing", key: "o", label: "pen filing", onPress: openFilingUrl }]
|
|
199
|
+
: [],
|
|
200
|
+
}), [error, openFilingUrl, payload, resource.data?.stale, resource.loading, selectedRow]);
|
|
201
|
+
|
|
202
|
+
if (!symbol) return <EmptyState title="No ticker selected." />;
|
|
203
|
+
if (authWall) {
|
|
204
|
+
return <SignInWall placement="holders-13dg-signin" action="view 13D/13G filings" needsVerification={session.needsVerification} />;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
return (
|
|
208
|
+
<PaneStatusBody
|
|
209
|
+
loading={resource.loading && !payload}
|
|
210
|
+
error={!payload ? error
|
|
211
|
+
: unreadable ? `${payload.coverage?.filings ?? 0} filings are listed for ${symbol} but none could be read this time. A refresh retries them.`
|
|
212
|
+
: null}
|
|
213
|
+
subject="13D/13G filings"
|
|
214
|
+
empty={!!payload && sortedRows.length === 0}
|
|
215
|
+
emptyTitle={`No 13D/13G filings in the last 4 years for ${symbol}.`}
|
|
216
|
+
>
|
|
217
|
+
<DataTableView<BeneficialOwnerRow, BeneficialColumn>
|
|
218
|
+
focused={focused}
|
|
219
|
+
selection={{
|
|
220
|
+
kind: "id",
|
|
221
|
+
selectedId: selectedRow?.id ?? null,
|
|
222
|
+
getId: (row) => row.id,
|
|
223
|
+
onChange: (id) => setSelectedId(id),
|
|
224
|
+
}}
|
|
225
|
+
onActivate={openFiling}
|
|
226
|
+
onRootKeyDown={handleKeyDown}
|
|
227
|
+
resetScrollKey={symbol}
|
|
228
|
+
rootWidth={width}
|
|
229
|
+
columns={columns}
|
|
230
|
+
items={sortedRows}
|
|
231
|
+
sortColumnId={sortPreference.columnId}
|
|
232
|
+
sortDirection={sortPreference.direction}
|
|
233
|
+
onHeaderClick={handleHeaderClick}
|
|
234
|
+
getItemKey={(row) => row.id}
|
|
235
|
+
renderCell={renderCell}
|
|
236
|
+
selectedTextOverridesCellColor
|
|
237
|
+
emptyStateTitle={`No 13D/13G filings in the last 4 years for ${symbol}.`}
|
|
238
|
+
/>
|
|
239
|
+
</PaneStatusBody>
|
|
240
|
+
);
|
|
241
|
+
}
|
|
@@ -17,6 +17,30 @@ import {
|
|
|
17
17
|
import { buildRows, sortRows } from "./table-model";
|
|
18
18
|
import type { HolderData } from "../../../types/financials";
|
|
19
19
|
import type { HolderColumnId } from "./types";
|
|
20
|
+
import { SEC_FILINGS } from "../shared/report-freshness";
|
|
21
|
+
import {
|
|
22
|
+
holderValueBasis,
|
|
23
|
+
holdersHeaderLine,
|
|
24
|
+
moneyColumnHeader,
|
|
25
|
+
nonUsHolderCaveat,
|
|
26
|
+
sharedReportDate,
|
|
27
|
+
} from "./report-header";
|
|
28
|
+
|
|
29
|
+
/** Columns a source fills only when it reports the quarter's change. */
|
|
30
|
+
const CHANGE_COLUMN_KEYS = new Set(["changeShares", "changePercent"]);
|
|
31
|
+
import type { BeneficialOwnersPayload } from "../../../api-client/beneficial-owners";
|
|
32
|
+
import { fetchBeneficialOwners, type BeneficialOwnersRequest } from "./beneficial-client";
|
|
33
|
+
import type { BeneficialColumnId } from "./beneficial-model";
|
|
34
|
+
import {
|
|
35
|
+
BENEFICIAL_REPORT_COLUMNS,
|
|
36
|
+
beneficialCoverageNotices,
|
|
37
|
+
beneficialListComplete,
|
|
38
|
+
beneficialListFacts,
|
|
39
|
+
beneficialRouteForm,
|
|
40
|
+
buildBeneficialReportRows,
|
|
41
|
+
HOLDER_FORMS,
|
|
42
|
+
parseHolderForm,
|
|
43
|
+
} from "./beneficial-report";
|
|
20
44
|
|
|
21
45
|
const HOLDER_COLUMNS: HeadlessPaneColumn[] = [
|
|
22
46
|
{ key: "name", header: "Holder" },
|
|
@@ -71,6 +95,17 @@ const SORT_COLUMNS: Record<string, HolderColumnId> = {
|
|
|
71
95
|
date: "reportDate",
|
|
72
96
|
};
|
|
73
97
|
|
|
98
|
+
/** The same sort keys order the 13D/13G rows; `value` and `held` are the percent of class. */
|
|
99
|
+
const BENEFICIAL_SORT_COLUMNS: Record<string, BeneficialColumnId> = {
|
|
100
|
+
holder: "filer",
|
|
101
|
+
value: "percentOfClass",
|
|
102
|
+
shares: "shares",
|
|
103
|
+
change: "change",
|
|
104
|
+
"change-percent": "thirteenF",
|
|
105
|
+
held: "percentOfClass",
|
|
106
|
+
date: "filingDate",
|
|
107
|
+
};
|
|
108
|
+
|
|
74
109
|
interface HolderSnapshot {
|
|
75
110
|
data: HolderData;
|
|
76
111
|
marketCap?: number;
|
|
@@ -82,17 +117,28 @@ export interface HoldersHeadlessDependencies {
|
|
|
82
117
|
args: HeadlessPaneLoadArgs,
|
|
83
118
|
ctx: HeadlessPaneContext,
|
|
84
119
|
): Promise<HolderSnapshot>;
|
|
120
|
+
loadBeneficialOwners(
|
|
121
|
+
symbol: string,
|
|
122
|
+
request: BeneficialOwnersRequest,
|
|
123
|
+
ctx: HeadlessPaneContext,
|
|
124
|
+
): Promise<BeneficialOwnersPayload>;
|
|
85
125
|
}
|
|
86
126
|
|
|
87
127
|
const defaultDependencies: HoldersHeadlessDependencies = {
|
|
88
128
|
loadSnapshot: (symbol, _args, ctx) => loadHolderSnapshot(ctx.marketData, symbol),
|
|
129
|
+
loadBeneficialOwners: (symbol, request, ctx) => fetchBeneficialOwners(symbol, request, {
|
|
130
|
+
client: ctx.apiClient,
|
|
131
|
+
signal: ctx.signal,
|
|
132
|
+
}),
|
|
89
133
|
};
|
|
90
134
|
|
|
91
135
|
export function createHoldersHeadless(
|
|
92
|
-
|
|
136
|
+
overrides: Partial<HoldersHeadlessDependencies> = {},
|
|
93
137
|
): HeadlessPaneDefinition<"rows"> {
|
|
138
|
+
const dependencies = { ...defaultDependencies, ...overrides };
|
|
94
139
|
return {
|
|
95
140
|
shape: "rows",
|
|
141
|
+
freshness: { ...SEC_FILINGS, basis: "13F filings" },
|
|
96
142
|
argument: {
|
|
97
143
|
kind: "ticker",
|
|
98
144
|
placeholder: "ticker",
|
|
@@ -124,23 +170,79 @@ export function createHoldersHeadless(
|
|
|
124
170
|
},
|
|
125
171
|
{
|
|
126
172
|
key: "view",
|
|
127
|
-
description: "Rendered pane view: the holder table or the
|
|
173
|
+
description: "Rendered pane view: the holder table, the ownership treemap or the 13D/13G beneficial owners.",
|
|
128
174
|
type: "enum",
|
|
129
|
-
values: [{ value: "table" }, { value: "chart" }],
|
|
175
|
+
values: [{ value: "table" }, { value: "chart" }, { value: "13dg", aliases: ["beneficial"] }],
|
|
130
176
|
defaultValue: "table",
|
|
131
177
|
pluginState: { pluginId: "ticker-research", key: "viewMode" },
|
|
132
178
|
},
|
|
179
|
+
{
|
|
180
|
+
key: "form",
|
|
181
|
+
description: "Rows: 13f for institutional holders, 13d or 13g for beneficial owners over 5% of the class (activists, crowding into large stakes), all for both kinds.",
|
|
182
|
+
type: "enum",
|
|
183
|
+
values: HOLDER_FORMS.map((value) => ({ value })),
|
|
184
|
+
defaultValue: "13f",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
key: "history",
|
|
188
|
+
description: "With a 13d, 13g or all form, every report newest first instead of the latest per filer.",
|
|
189
|
+
type: "boolean",
|
|
190
|
+
defaultValue: false,
|
|
191
|
+
},
|
|
133
192
|
],
|
|
134
193
|
columns: HOLDER_COLUMNS,
|
|
135
194
|
describe: (args) => `Holders | ${args.symbols[0]}`,
|
|
136
195
|
async load(args, ctx) {
|
|
137
196
|
const symbol = args.symbols[0]!;
|
|
197
|
+
const requestedForm = parseHolderForm(args.options.form) ?? "13f";
|
|
198
|
+
// The 13D/G view reports what it shows when no form is asked for.
|
|
199
|
+
const form = requestedForm === "13f" && args.options.view === "13dg" ? "all" : requestedForm;
|
|
200
|
+
if (form !== "13f") {
|
|
201
|
+
const history = args.options.history === true;
|
|
202
|
+
const [payload, snapshot] = await Promise.all([
|
|
203
|
+
dependencies.loadBeneficialOwners(symbol, { form: beneficialRouteForm(form), history }, ctx),
|
|
204
|
+
// The 13F column is a join; the 13D/13G rows stand without it.
|
|
205
|
+
dependencies.loadSnapshot(symbol, args, ctx).catch(() => null),
|
|
206
|
+
]);
|
|
207
|
+
const rows = buildBeneficialReportRows(payload, {
|
|
208
|
+
history,
|
|
209
|
+
holders: snapshot?.data ?? null,
|
|
210
|
+
sort: {
|
|
211
|
+
columnId: BENEFICIAL_SORT_COLUMNS[String(args.options.sort)] ?? "percentOfClass",
|
|
212
|
+
direction: args.options.order === "asc" ? "asc" : "desc",
|
|
213
|
+
},
|
|
214
|
+
});
|
|
215
|
+
const limited = rows.slice(0, Number(args.options.limit));
|
|
216
|
+
return {
|
|
217
|
+
columns: BENEFICIAL_REPORT_COLUMNS,
|
|
218
|
+
rows: limited,
|
|
219
|
+
// Reports that could not be read this time are missing from the rows.
|
|
220
|
+
complete: beneficialListComplete(payload),
|
|
221
|
+
freshness: { ...SEC_FILINGS, basis: "13D/13G filings", observedKey: "filingDate" },
|
|
222
|
+
metadata: {
|
|
223
|
+
symbol: payload.ticker || symbol,
|
|
224
|
+
name: payload.companyName || null,
|
|
225
|
+
cik: payload.cik || null,
|
|
226
|
+
form,
|
|
227
|
+
history,
|
|
228
|
+
asOf: payload.asOf,
|
|
229
|
+
coverage: payload.coverage,
|
|
230
|
+
notices: [
|
|
231
|
+
[payload.companyName || symbol, ...beneficialListFacts(payload, form, rows.length, history)].join(" · "),
|
|
232
|
+
...beneficialCoverageNotices(payload.coverage),
|
|
233
|
+
],
|
|
234
|
+
returned: limited.length,
|
|
235
|
+
total: rows.length,
|
|
236
|
+
},
|
|
237
|
+
};
|
|
238
|
+
}
|
|
138
239
|
const { data, marketCap } = await dependencies.loadSnapshot(symbol, args, ctx);
|
|
139
240
|
const currency = data.currency ?? "USD";
|
|
140
|
-
const
|
|
241
|
+
const sorted = sortRows(buildRows(data), {
|
|
141
242
|
columnId: SORT_COLUMNS[String(args.options.sort)] ?? "value",
|
|
142
243
|
direction: args.options.order === "asc" ? "asc" : "desc",
|
|
143
|
-
}, marketCap)
|
|
244
|
+
}, marketCap);
|
|
245
|
+
const rows = sorted
|
|
144
246
|
.slice(0, Number(args.options.limit))
|
|
145
247
|
.map((row) => ({
|
|
146
248
|
name: row.name,
|
|
@@ -153,14 +255,46 @@ export function createHoldersHeadless(
|
|
|
153
255
|
reportDate: row.reportDate ?? null,
|
|
154
256
|
currency,
|
|
155
257
|
}));
|
|
258
|
+
const total = data.summary?.institutionsCount ?? null;
|
|
259
|
+
const changeReported = rows.some((row) => row.changeShares != null || row.changePercent != null);
|
|
260
|
+
const reportDate = sharedReportDate(rows);
|
|
261
|
+
const valueBasis = holderValueBasis(reportDate);
|
|
262
|
+
const positionsBasis = rows.length > 0 ? nonUsHolderCaveat(data.exchange, currency) : null;
|
|
263
|
+
// The title names the ticker and the closing line carries the as-of date.
|
|
264
|
+
const header = holdersHeaderLine({
|
|
265
|
+
name: data.name,
|
|
266
|
+
symbol: data.symbol && data.symbol !== symbol ? data.symbol : null,
|
|
267
|
+
exchange: data.exchange,
|
|
268
|
+
currency,
|
|
269
|
+
shown: rows.length,
|
|
270
|
+
reported: sorted.length,
|
|
271
|
+
total,
|
|
272
|
+
});
|
|
273
|
+
const basis = rows.length === 0 ? null : [
|
|
274
|
+
`Mkt value = ${valueBasis}.`,
|
|
275
|
+
changeReported ? "" : `Change vs prior quarter: not reported by this source; see fn 13F ${symbol}`,
|
|
276
|
+
].filter(Boolean).join(" ");
|
|
156
277
|
return {
|
|
278
|
+
// A change column that is empty on every row says nothing; the line above explains it once.
|
|
279
|
+
columns: HOLDER_COLUMNS
|
|
280
|
+
.filter((column) => changeReported || !CHANGE_COLUMN_KEYS.has(column.key))
|
|
281
|
+
.map((column) => column.key === "value" ? { ...column, header: moneyColumnHeader(column.header, currency) } : column),
|
|
157
282
|
rows,
|
|
158
283
|
metadata: {
|
|
159
284
|
symbol: data.symbol || symbol,
|
|
160
285
|
name: data.name ?? null,
|
|
286
|
+
exchange: data.exchange ?? null,
|
|
161
287
|
currency,
|
|
162
288
|
asOf: data.asOf ?? null,
|
|
163
289
|
summary: data.summary ?? null,
|
|
290
|
+
shown: rows.length,
|
|
291
|
+
reported: sorted.length,
|
|
292
|
+
total,
|
|
293
|
+
truncated: rows.length < (total ?? sorted.length),
|
|
294
|
+
valueBasis,
|
|
295
|
+
changeReported,
|
|
296
|
+
positionsBasis,
|
|
297
|
+
notices: [header, basis, positionsBasis].filter((line): line is string => !!line),
|
|
164
298
|
},
|
|
165
299
|
};
|
|
166
300
|
},
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { PluginModule } from "../plugin-module";
|
|
2
2
|
import { createTickerSurfacePaneTemplate } from "../shared/ticker-surface";
|
|
3
|
+
import { beneficialOwnersCache } from "./beneficial-client";
|
|
3
4
|
import { holdersHeadless } from "./headless";
|
|
4
5
|
import { HoldersView } from "./pane";
|
|
5
6
|
|
|
6
|
-
|
|
7
7
|
export const holdersModule: PluginModule = {
|
|
8
8
|
setup(ctx) {
|
|
9
|
+
beneficialOwnersCache.attach(ctx.persistence);
|
|
9
10
|
ctx.registerTickerResearchTab({
|
|
10
11
|
id: "holders",
|
|
11
12
|
name: "Holders",
|
|
@@ -14,6 +15,9 @@ export const holdersModule: PluginModule = {
|
|
|
14
15
|
instruments: ["equity"],
|
|
15
16
|
});
|
|
16
17
|
},
|
|
18
|
+
dispose() {
|
|
19
|
+
beneficialOwnersCache.reset();
|
|
20
|
+
},
|
|
17
21
|
|
|
18
22
|
panes: [
|
|
19
23
|
{
|
|
@@ -35,8 +39,11 @@ export const holdersModule: PluginModule = {
|
|
|
35
39
|
id: "holders-pane",
|
|
36
40
|
paneId: "holders",
|
|
37
41
|
label: "Holders",
|
|
38
|
-
description: "Institutional holders
|
|
39
|
-
keywords: [
|
|
42
|
+
description: "Institutional holders from 13F filings, and 13D/13G beneficial owners: activist and passive stakes over 5% of the class.",
|
|
43
|
+
keywords: [
|
|
44
|
+
"holders", "ownership", "institutional", "owners", "hds",
|
|
45
|
+
"13d", "13g", "13d/g", "schedule 13d", "schedule 13g", "beneficial owners", "beneficial ownership", "activist", "activists",
|
|
46
|
+
],
|
|
40
47
|
shortcut: "HDS",
|
|
41
48
|
}),
|
|
42
49
|
headless: holdersHeadless,
|
|
@@ -30,13 +30,16 @@ import {
|
|
|
30
30
|
} from "./format";
|
|
31
31
|
import {
|
|
32
32
|
buildColumns,
|
|
33
|
+
hasHolderChanges,
|
|
33
34
|
buildRows,
|
|
34
35
|
DEFAULT_SORT,
|
|
36
|
+
nextViewMode,
|
|
35
37
|
sortRows,
|
|
36
38
|
VIEW_TABS,
|
|
37
39
|
} from "./table-model";
|
|
38
40
|
import { loadHolderData } from "./client";
|
|
39
41
|
import { HoldersTreemap } from "./treemap";
|
|
42
|
+
import { BeneficialOwnersView } from "./beneficial-view";
|
|
40
43
|
import type { HolderColumn, HolderColumnId, HolderRow, SortPreference, ViewMode } from "./types";
|
|
41
44
|
import { loadHolder13FMatches, type Holder13FMatch } from "./thirteenf-match";
|
|
42
45
|
import { useSampledValue, useTickerQuoteStream } from "../../../state/hooks/live-ticker-financials";
|
|
@@ -77,7 +80,9 @@ export function HoldersView({ focused, width, height }: { focused: boolean; widt
|
|
|
77
80
|
const marketCap = useSampledValue(liveMarketCap, HOLDER_MARKET_CAP_SAMPLE_MS, `${symbol ?? ""}:${currency}`);
|
|
78
81
|
const rows = useMemo(() => buildRows(data), [data]);
|
|
79
82
|
const sortedRows = useMemo(() => sortRows(rows, sortPreference, marketCap), [marketCap, rows, sortPreference]);
|
|
80
|
-
|
|
83
|
+
// Change columns only when the source reports a change; otherwise they read "-" on every row.
|
|
84
|
+
const showChange = useMemo(() => hasHolderChanges(rows), [rows]);
|
|
85
|
+
const columns = useMemo(() => buildColumns(width, showChange), [showChange, width]);
|
|
81
86
|
const selectedIdx = selectedId
|
|
82
87
|
? sortedRows.findIndex((row) => row.id === selectedId)
|
|
83
88
|
: -1;
|
|
@@ -145,7 +150,7 @@ export function HoldersView({ focused, width, height }: { focused: boolean; widt
|
|
|
145
150
|
}, [setSortPreference]);
|
|
146
151
|
|
|
147
152
|
const toggleView = useCallback(() => {
|
|
148
|
-
setViewMode(
|
|
153
|
+
setViewMode(nextViewMode);
|
|
149
154
|
}, [setViewMode]);
|
|
150
155
|
|
|
151
156
|
const refresh = useCallback(() => {
|
|
@@ -250,7 +255,9 @@ export function HoldersView({ focused, width, height }: { focused: boolean; widt
|
|
|
250
255
|
}
|
|
251
256
|
}, [currency, fundMatches, marketCap]);
|
|
252
257
|
|
|
258
|
+
// The 13D/G tab registers its own footer.
|
|
253
259
|
usePaneFooter("holders", () => {
|
|
260
|
+
if (viewMode === "13dg") return null;
|
|
254
261
|
return {
|
|
255
262
|
info: [
|
|
256
263
|
...(data?.asOf ? [{ id: "as-of", parts: [{ text: data.asOf, tone: "value" as const }] }] : []),
|
|
@@ -264,7 +271,7 @@ export function HoldersView({ focused, width, height }: { focused: boolean; widt
|
|
|
264
271
|
...(selectedFundMatch ? [{ id: "fund", key: "o", label: "pen 13F", onPress: () => openFundDetail(selectedRow) }] : []),
|
|
265
272
|
],
|
|
266
273
|
};
|
|
267
|
-
}, [data, error, fundMatching, loading, openFundDetail, selectedFundMatch, selectedRow]);
|
|
274
|
+
}, [data, error, fundMatching, loading, openFundDetail, selectedFundMatch, selectedRow, viewMode]);
|
|
268
275
|
|
|
269
276
|
const selectView = useCallback((value: string) => setViewMode(value as ViewMode), [setViewMode]);
|
|
270
277
|
// As a research tab, h/l move between research tabs; `s` switches the view.
|
|
@@ -316,6 +323,16 @@ export function HoldersView({ focused, width, height }: { focused: boolean; widt
|
|
|
316
323
|
selectedTextOverridesCellColor
|
|
317
324
|
emptyStateTitle={statusTitle ?? "No holders available"}
|
|
318
325
|
/>
|
|
326
|
+
) : viewMode === "13dg" ? (
|
|
327
|
+
<BeneficialOwnersView
|
|
328
|
+
focused={focused}
|
|
329
|
+
width={width}
|
|
330
|
+
symbol={symbol ?? null}
|
|
331
|
+
holderRows={rows}
|
|
332
|
+
fundMatches={fundMatches}
|
|
333
|
+
onCycleView={toggleView}
|
|
334
|
+
onRefreshHolders={refresh}
|
|
335
|
+
/>
|
|
319
336
|
) : (
|
|
320
337
|
<HoldersTreemap
|
|
321
338
|
rows={sortedRows}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { currencyUnitLabel, resolveCurrencyUnit } from "../../../utils/currency-units";
|
|
2
|
+
import { canonicalExchange, isUsListingExchange, resolveExchangeTimeZone } from "../../../utils/exchanges";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The lines above a holder table in text reports (`holders`, `insider`,
|
|
6
|
+
* `13f`, `fn HDS`): which listing, in which unit, and how much of the list
|
|
7
|
+
* is shown. Holder lists come as the source's own top holders, usually
|
|
8
|
+
* without a total, so the count says that rather than implying a full list.
|
|
9
|
+
*/
|
|
10
|
+
export interface HolderReportFacts {
|
|
11
|
+
name?: string | null;
|
|
12
|
+
/** Left out when the report title already names it. */
|
|
13
|
+
symbol?: string | null;
|
|
14
|
+
exchange?: string | null;
|
|
15
|
+
currency?: string | null;
|
|
16
|
+
/** Left out when the report's closing line already carries it. */
|
|
17
|
+
asOf?: string | null;
|
|
18
|
+
/** Rows printed. */
|
|
19
|
+
shown: number;
|
|
20
|
+
/** Rows the source returned, before any limit. */
|
|
21
|
+
reported: number;
|
|
22
|
+
/** Every holder the source counts, when it says so. */
|
|
23
|
+
total?: number | null;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** "Value (GBp)": a money column names its unit. */
|
|
27
|
+
export function moneyColumnHeader(label: string, currency?: string | null): string {
|
|
28
|
+
const unit = currency?.trim();
|
|
29
|
+
return unit ? `${label} (${unit})` : label;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function holderCountText(shown: number, reported: number, total?: number | null): string {
|
|
33
|
+
if (total != null && Number.isFinite(total) && total >= reported) {
|
|
34
|
+
return `${shown.toLocaleString("en-US")} of ${total.toLocaleString("en-US")} holders`;
|
|
35
|
+
}
|
|
36
|
+
if (reported === 0) return "none reported";
|
|
37
|
+
// Without a total the source's list is its largest holders, cut where it cuts it.
|
|
38
|
+
return shown < reported ? `${shown} of top ${reported} reported` : `top ${reported} reported`;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** A venue the app knows by its short name (NasdaqGS is NASDAQ); any other as the source wrote it. */
|
|
42
|
+
function venueLabel(exchange?: string | null): string {
|
|
43
|
+
const canonical = canonicalExchange(exchange ?? "");
|
|
44
|
+
return resolveExchangeTimeZone(canonical) ? canonical : (exchange ?? "").trim();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** What the list is, after the listing is named: its unit, date and how much of it is shown. */
|
|
48
|
+
export function holderListFacts(
|
|
49
|
+
facts: Pick<HolderReportFacts, "currency" | "asOf" | "shown" | "reported" | "total">,
|
|
50
|
+
): string[] {
|
|
51
|
+
return [
|
|
52
|
+
currencyUnitLabel(facts.currency),
|
|
53
|
+
facts.asOf ? `as of ${facts.asOf}` : "",
|
|
54
|
+
holderCountText(facts.shown, facts.reported, facts.total),
|
|
55
|
+
].filter(Boolean);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function holdersHeaderLine(facts: HolderReportFacts): string {
|
|
59
|
+
const name = facts.name?.trim();
|
|
60
|
+
const symbol = facts.symbol?.trim();
|
|
61
|
+
const identity = name && symbol && name !== symbol ? `${name} (${symbol})` : name || symbol || "";
|
|
62
|
+
return [identity, venueLabel(facts.exchange), ...holderListFacts(facts)].filter(Boolean).join(" | ");
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** The one report date every row shares, or null when they differ or none has one. */
|
|
66
|
+
export function sharedReportDate(rows: ReadonlyArray<{ reportDate?: unknown }>): string | null {
|
|
67
|
+
const dates = new Set(rows.map((row) => (typeof row.reportDate === "string" ? row.reportDate : "")));
|
|
68
|
+
const [only] = dates;
|
|
69
|
+
return dates.size === 1 && only ? only : null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** How a holder value was reached: reported shares times a current price, not the filing's own value. */
|
|
73
|
+
export function holderValueBasis(reportDate: string | null): string {
|
|
74
|
+
return `shares reported${reportDate ? ` at ${reportDate}` : ""} x latest price`;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** A listing outside the US, by its venue, or by a currency other than the dollar. */
|
|
78
|
+
function isNonUsHolderListing(exchange?: string | null, currency?: string | null): boolean {
|
|
79
|
+
const venue = canonicalExchange(exchange ?? "");
|
|
80
|
+
if (venue && !isUsListingExchange(venue) && resolveExchangeTimeZone(venue)) return true;
|
|
81
|
+
const unit = resolveCurrencyUnit(currency).currency;
|
|
82
|
+
return unit !== "" && unit !== "USD";
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Holder lists are institutions' quarterly filings, mostly US 13F. On a
|
|
87
|
+
* listing outside the US they are not that market's share register, which a
|
|
88
|
+
* reader would otherwise assume.
|
|
89
|
+
*/
|
|
90
|
+
export function nonUsHolderCaveat(exchange?: string | null, currency?: string | null): string | null {
|
|
91
|
+
if (!isNonUsHolderListing(exchange, currency)) return null;
|
|
92
|
+
const canonical = canonicalExchange(exchange ?? "");
|
|
93
|
+
const venue = resolveExchangeTimeZone(canonical) ? canonical : "local";
|
|
94
|
+
return `Positions come from institutional filings (mostly US 13F), not the ${venue} share register.`;
|
|
95
|
+
}
|