@luxalgo/vela 0.8.1 → 0.8.3
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 +1 -1
- package/dist/{DataProvider-DwFIoV4r.d.ts → DataProvider-oH78tYXL.d.ts} +1 -1
- package/dist/{DataProvider-BrlxntPN.d.cts → DataProvider-wbtJ3-Sa.d.cts} +1 -1
- package/dist/{chunk-DBDXKZUF.js → chunk-2IPXYM4B.js} +306 -177
- package/dist/{chunk-NELQJCGK.js → chunk-G7B7ZCBF.js} +167 -10
- package/dist/{chunk-ATGTCWHJ.js → chunk-HMHA733L.js} +473 -196
- package/dist/{chunk-EZ5FWVLA.js → chunk-KWI3YDBW.js} +343 -17
- package/dist/{chunk-LMBYEGUR.js → chunk-TO3GIK7Z.js} +71 -6
- package/dist/{chunk-BZQM2XO7.js → chunk-VHGACEHO.js} +62 -1
- package/dist/{contributions-tjNExo1o.d.ts → contributions-BhOBRenr.d.cts} +79 -12
- package/dist/{contributions-CtlptxR8.d.cts → contributions-HGqnNb_P.d.ts} +79 -12
- package/dist/index.cjs +733 -113
- package/dist/index.d.cts +34 -14
- package/dist/index.d.ts +34 -14
- package/dist/index.js +5 -5
- package/dist/{options-BnEPUuVV.d.ts → options-lMUwmRwh.d.cts} +69 -4
- package/dist/{options-BnEPUuVV.d.cts → options-lMUwmRwh.d.ts} +69 -4
- package/dist/{plugin-e2WUEtiI.d.ts → plugin-Cr2Pj8q8.d.ts} +4 -4
- package/dist/{plugin-BWxJRKzS.d.cts → plugin-Do5J5xuF.d.cts} +4 -4
- package/dist/plugin.cjs +38 -6
- package/dist/plugin.d.cts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.js +3 -3
- package/dist/providers/binance.d.cts +2 -2
- package/dist/providers/binance.d.ts +2 -2
- package/dist/providers/coinbase.d.cts +2 -2
- package/dist/providers/coinbase.d.ts +2 -2
- package/dist/providers/hyperliquid.d.cts +2 -2
- package/dist/providers/hyperliquid.d.ts +2 -2
- package/dist/{side-panel-HF0IAzwf.d.cts → side-panel-_2UK1gSm.d.cts} +58 -3
- package/dist/{side-panel-HF0IAzwf.d.ts → side-panel-_2UK1gSm.d.ts} +58 -3
- package/dist/{statusline-model-DFY7tuHj.d.cts → statusline-model-B-2xGlB_.d.cts} +3 -3
- package/dist/{statusline-model-zKXtGIjj.d.ts → statusline-model-CY1wzxHg.d.ts} +3 -3
- package/dist/ui.cjs +298 -13
- package/dist/ui.d.cts +132 -74
- package/dist/ui.d.ts +132 -74
- package/dist/ui.js +3 -3
- package/dist/vela.global.js +734 -114
- package/dist/vela.global.min.js +86 -52
- package/dist/widget.cjs +1227 -211
- package/dist/widget.d.cts +36 -12
- package/dist/widget.d.ts +36 -12
- package/dist/widget.js +7 -7
- package/dist/workspace.cjs +1226 -211
- package/dist/workspace.d.cts +47 -20
- package/dist/workspace.d.ts +47 -20
- package/dist/workspace.js +6 -6
- package/package.json +2 -2
- /package/dist/{chunk-JU4CWEBF.js → chunk-W5YPYZ2P.js} +0 -0
package/dist/widget.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { V as Vela, W as WidgetContext,
|
|
2
|
-
export { C as CellStateContext,
|
|
3
|
-
import { b as VelaOptions, d as MarketSession, T as ThemeName, c as VelaTheme, v as DataWindowReadout } from './options-
|
|
4
|
-
import { c as VelaShellOptions, W as WidgetHistory, b as RangePreset, f as WorkspaceState, j as TopbarComposition, a as StatuslinePart, P as PanelsState } from './statusline-model-
|
|
5
|
-
export { B as Bottombar, k as BottombarOptions, C as CellState, g as ChartState, I as IndicatorLoader, l as IndicatorManifest, m as IndicatorManifestEntry, n as RANGE_PRESETS, R as ResolvedIndicator, o as ResolvedTopbarComposition, p as TOPBAR_BUILTIN_IDS, q as TOPBAR_DEFAULT_LEFT, r as TOPBAR_DEFAULT_RIGHT, V as VelaStorage, t as WidgetStorage, h as decodeState, i as encodeState, u as localStorageAdapter, v as pinnedTopbarActionIds, w as resolveIndicators, x as resolveTopbarComposition, s as sanitizeState, y as topbarHas } from './statusline-model-
|
|
1
|
+
import { V as Vela, W as WidgetContext, a1 as SidePanelButton } from './contributions-BhOBRenr.cjs';
|
|
2
|
+
export { C as CellStateContext, i as ContextMenuPointer, aJ as DEFAULT_PANEL_ORDER, E as ExternalIndicatorEntry, O as OVERRIDABLE_TOPBAR_IDS, a2 as SidePanelDescriptor, a3 as SidePanelHandle, a5 as StatePersistenceHandler, a9 as SymbolRankingHook, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, ap as registerSidePanel, aq as registerStatePersistence, ar as registerSymbolRanking, as as registerWidgetAction, at as registerWidgetAttachment, av as sidePanels, aw as statePersistenceHandlers, ax as symbolRanking, ay as topbarActionOverride, aD as unregisterSidePanel, aE as unregisterStatePersistence, aF as unregisterWidgetAction, aG as unregisterWidgetAttachment, aH as widgetActions, aI as widgetAttachments } from './contributions-BhOBRenr.cjs';
|
|
3
|
+
import { b as VelaOptions, d as MarketSession, T as ThemeName, c as VelaTheme, v as DataWindowReadout } from './options-lMUwmRwh.cjs';
|
|
4
|
+
import { c as VelaShellOptions, W as WidgetHistory, b as RangePreset, f as WorkspaceState, j as TopbarComposition, a as StatuslinePart, P as PanelsState } from './statusline-model-B-2xGlB_.cjs';
|
|
5
|
+
export { B as Bottombar, k as BottombarOptions, C as CellState, g as ChartState, I as IndicatorLoader, l as IndicatorManifest, m as IndicatorManifestEntry, n as RANGE_PRESETS, R as ResolvedIndicator, o as ResolvedTopbarComposition, p as TOPBAR_BUILTIN_IDS, q as TOPBAR_DEFAULT_LEFT, r as TOPBAR_DEFAULT_RIGHT, V as VelaStorage, t as WidgetStorage, h as decodeState, i as encodeState, u as localStorageAdapter, v as pinnedTopbarActionIds, w as resolveIndicators, x as resolveTopbarComposition, s as sanitizeState, y as topbarHas } from './statusline-model-B-2xGlB_.cjs';
|
|
6
6
|
import { K as KeymapManager } from './keymap-CGOz5F5f.cjs';
|
|
7
|
-
import { a as SymbolDescriptor } from './DataProvider-
|
|
8
|
-
import { d as SidePanel } from './side-panel-
|
|
9
|
-
export { D as DEFAULT_PANEL_MAX_WIDTH, a as DEFAULT_PANEL_MIN_WIDTH, b as DEFAULT_PANEL_WIDTH, S as SidePanelOptions, c as clampPanelWidth } from './side-panel-
|
|
7
|
+
import { a as SymbolDescriptor } from './DataProvider-wbtJ3-Sa.cjs';
|
|
8
|
+
import { d as SidePanel } from './side-panel-_2UK1gSm.cjs';
|
|
9
|
+
export { C as CONTEXT_MENU_BUILTIN_ORDER, D as DEFAULT_PANEL_MAX_WIDTH, a as DEFAULT_PANEL_MIN_WIDTH, b as DEFAULT_PANEL_WIDTH, S as SidePanelOptions, c as clampPanelWidth } from './side-panel-_2UK1gSm.cjs';
|
|
10
10
|
|
|
11
11
|
interface VelaWidgetOptions extends VelaOptions, VelaShellOptions {
|
|
12
12
|
/** @deprecated No longer supported — the option is ignored (a console warning
|
|
@@ -94,6 +94,9 @@ interface TopbarOptions {
|
|
|
94
94
|
checked: boolean;
|
|
95
95
|
}>;
|
|
96
96
|
onToggleSync: (id: string) => void;
|
|
97
|
+
/** The current layout's 16px glyph (`<svg>` markup) for the button, re-read on
|
|
98
|
+
* every {@link Topbar.setLayout}. Omitted ⇒ the registered `'layout'` icon. */
|
|
99
|
+
glyph?: () => string;
|
|
97
100
|
};
|
|
98
101
|
onIndicatorsClick?: () => void;
|
|
99
102
|
/** Unified undo/redo (same stack as Ctrl+Z / Ctrl+Y). Enabled state is pushed with
|
|
@@ -264,6 +267,10 @@ declare class Statusline {
|
|
|
264
267
|
private readonly valuesRow;
|
|
265
268
|
/** The ladder rung currently applied — see {@link fit}. */
|
|
266
269
|
private layout;
|
|
270
|
+
/** The readout {@link widthKey} the applied rung was fitted to. */
|
|
271
|
+
private fitKey;
|
|
272
|
+
/** Web fonts landing after the last fit change every width without a resize. */
|
|
273
|
+
private readonly onFontsLoaded;
|
|
267
274
|
constructor(host: HTMLElement, symbol: string,
|
|
268
275
|
/** The avatar's icon URL for a raw symbol — the shell routes it to the owning
|
|
269
276
|
* provider's `resolveSymbolIcon`. Absent ⇒ the initials badge. */
|
|
@@ -330,6 +337,12 @@ declare class Statusline {
|
|
|
330
337
|
destroy(): void;
|
|
331
338
|
private detach;
|
|
332
339
|
private render;
|
|
340
|
+
/** Everything the readout's width depends on, at every rung: its shape, and each
|
|
341
|
+
* value's sign, digit count and decimals (the digits themselves are tabular — see
|
|
342
|
+
* the CSS; the grouping commas follow from the digit count). `toFixed` carries all
|
|
343
|
+
* three at a fraction of the locale formatter's cost — this runs per pointer move.
|
|
344
|
+
* The parts, the host's size and the fonts re-fit through their own paths. */
|
|
345
|
+
private widthKey;
|
|
333
346
|
/** Write the value readout for the current bar at the current ladder level. */
|
|
334
347
|
private renderValues;
|
|
335
348
|
}
|
|
@@ -526,8 +539,8 @@ declare class PanelDock {
|
|
|
526
539
|
/**
|
|
527
540
|
* (Re)build the CONTRIBUTED panels from the registry — call once after the built-ins, and
|
|
528
541
|
* again on `refreshActions()` so a late registration appears. Contributed panels that are
|
|
529
|
-
* gone from the registry are dropped
|
|
530
|
-
* descriptor
|
|
542
|
+
* gone from the registry are dropped and a REPLACED descriptor is rebuilt; a panel whose
|
|
543
|
+
* descriptor is unchanged stays mounted as it is, so its content and state survive.
|
|
531
544
|
*/
|
|
532
545
|
refresh(): void;
|
|
533
546
|
/** Bind (or rebind) every docked panel to a chart instance. */
|
|
@@ -596,7 +609,7 @@ declare class ObjectTree extends SidePanel {
|
|
|
596
609
|
/** The price row's avatar icon URL for a raw symbol — routed by the shell to the
|
|
597
610
|
* owning provider's `resolveSymbolIcon`. Absent ⇒ the initials badge. */
|
|
598
611
|
iconFor?: ((symbol: string) => string | undefined) | undefined);
|
|
599
|
-
toggle(open?: boolean): void;
|
|
612
|
+
toggle(open?: boolean, instant?: boolean): void;
|
|
600
613
|
setSymbol(symbol: string): void;
|
|
601
614
|
/** (Re)bind to a chart instance — called after every widget rebuild. */
|
|
602
615
|
onChart(chart: Vela): void;
|
|
@@ -734,7 +747,7 @@ declare class DataWindow extends SidePanel {
|
|
|
734
747
|
private chart;
|
|
735
748
|
private unsubs;
|
|
736
749
|
constructor(host: HTMLElement);
|
|
737
|
-
toggle(open?: boolean): void;
|
|
750
|
+
toggle(open?: boolean, instant?: boolean): void;
|
|
738
751
|
/** (Re)bind to a chart instance — called after every widget rebuild. */
|
|
739
752
|
onChart(chart: Vela): void;
|
|
740
753
|
destroy(): void;
|
|
@@ -768,6 +781,13 @@ declare class ChartContextMenu {
|
|
|
768
781
|
private readonly menu;
|
|
769
782
|
private readonly host;
|
|
770
783
|
private chart;
|
|
784
|
+
private offCrosshair;
|
|
785
|
+
/** The bound chart's latest crosshair report — a right-click always follows a pointer
|
|
786
|
+
* move to its spot, so this is where it landed. */
|
|
787
|
+
private crosshair;
|
|
788
|
+
/** {@link crosshair} as it stood when the menu opened: the pointer moves on through the
|
|
789
|
+
* menu before a row is picked, and `run` must see the right-clicked spot. */
|
|
790
|
+
private pointer;
|
|
771
791
|
private lastZone;
|
|
772
792
|
/** The pane whose scale the open price-axis menu targets (null ⇒ the main scale). */
|
|
773
793
|
private lastPane;
|
|
@@ -780,8 +800,12 @@ declare class ChartContextMenu {
|
|
|
780
800
|
/** The pane under the pointer, so every pane's price scale has its own menu. */
|
|
781
801
|
private paneAt;
|
|
782
802
|
private flag;
|
|
803
|
+
/** A fresh widget context carrying the pointer captured at open. Copied by property
|
|
804
|
+
* descriptor: the context's getters must stay LIVE, and a spread would freeze them. */
|
|
805
|
+
private context;
|
|
783
806
|
private contributed;
|
|
784
807
|
private itemsFor;
|
|
808
|
+
private builtinItems;
|
|
785
809
|
private run;
|
|
786
810
|
}
|
|
787
811
|
|
package/dist/widget.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { V as Vela, W as WidgetContext,
|
|
2
|
-
export { C as CellStateContext,
|
|
3
|
-
import { b as VelaOptions, d as MarketSession, T as ThemeName, c as VelaTheme, v as DataWindowReadout } from './options-
|
|
4
|
-
import { c as VelaShellOptions, W as WidgetHistory, b as RangePreset, f as WorkspaceState, j as TopbarComposition, a as StatuslinePart, P as PanelsState } from './statusline-model-
|
|
5
|
-
export { B as Bottombar, k as BottombarOptions, C as CellState, g as ChartState, I as IndicatorLoader, l as IndicatorManifest, m as IndicatorManifestEntry, n as RANGE_PRESETS, R as ResolvedIndicator, o as ResolvedTopbarComposition, p as TOPBAR_BUILTIN_IDS, q as TOPBAR_DEFAULT_LEFT, r as TOPBAR_DEFAULT_RIGHT, V as VelaStorage, t as WidgetStorage, h as decodeState, i as encodeState, u as localStorageAdapter, v as pinnedTopbarActionIds, w as resolveIndicators, x as resolveTopbarComposition, s as sanitizeState, y as topbarHas } from './statusline-model-
|
|
1
|
+
import { V as Vela, W as WidgetContext, a1 as SidePanelButton } from './contributions-HGqnNb_P.js';
|
|
2
|
+
export { C as CellStateContext, i as ContextMenuPointer, aJ as DEFAULT_PANEL_ORDER, E as ExternalIndicatorEntry, O as OVERRIDABLE_TOPBAR_IDS, a2 as SidePanelDescriptor, a3 as SidePanelHandle, a5 as StatePersistenceHandler, a9 as SymbolRankingHook, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, ap as registerSidePanel, aq as registerStatePersistence, ar as registerSymbolRanking, as as registerWidgetAction, at as registerWidgetAttachment, av as sidePanels, aw as statePersistenceHandlers, ax as symbolRanking, ay as topbarActionOverride, aD as unregisterSidePanel, aE as unregisterStatePersistence, aF as unregisterWidgetAction, aG as unregisterWidgetAttachment, aH as widgetActions, aI as widgetAttachments } from './contributions-HGqnNb_P.js';
|
|
3
|
+
import { b as VelaOptions, d as MarketSession, T as ThemeName, c as VelaTheme, v as DataWindowReadout } from './options-lMUwmRwh.js';
|
|
4
|
+
import { c as VelaShellOptions, W as WidgetHistory, b as RangePreset, f as WorkspaceState, j as TopbarComposition, a as StatuslinePart, P as PanelsState } from './statusline-model-CY1wzxHg.js';
|
|
5
|
+
export { B as Bottombar, k as BottombarOptions, C as CellState, g as ChartState, I as IndicatorLoader, l as IndicatorManifest, m as IndicatorManifestEntry, n as RANGE_PRESETS, R as ResolvedIndicator, o as ResolvedTopbarComposition, p as TOPBAR_BUILTIN_IDS, q as TOPBAR_DEFAULT_LEFT, r as TOPBAR_DEFAULT_RIGHT, V as VelaStorage, t as WidgetStorage, h as decodeState, i as encodeState, u as localStorageAdapter, v as pinnedTopbarActionIds, w as resolveIndicators, x as resolveTopbarComposition, s as sanitizeState, y as topbarHas } from './statusline-model-CY1wzxHg.js';
|
|
6
6
|
import { K as KeymapManager } from './keymap-CGOz5F5f.js';
|
|
7
|
-
import { a as SymbolDescriptor } from './DataProvider-
|
|
8
|
-
import { d as SidePanel } from './side-panel-
|
|
9
|
-
export { D as DEFAULT_PANEL_MAX_WIDTH, a as DEFAULT_PANEL_MIN_WIDTH, b as DEFAULT_PANEL_WIDTH, S as SidePanelOptions, c as clampPanelWidth } from './side-panel-
|
|
7
|
+
import { a as SymbolDescriptor } from './DataProvider-oH78tYXL.js';
|
|
8
|
+
import { d as SidePanel } from './side-panel-_2UK1gSm.js';
|
|
9
|
+
export { C as CONTEXT_MENU_BUILTIN_ORDER, D as DEFAULT_PANEL_MAX_WIDTH, a as DEFAULT_PANEL_MIN_WIDTH, b as DEFAULT_PANEL_WIDTH, S as SidePanelOptions, c as clampPanelWidth } from './side-panel-_2UK1gSm.js';
|
|
10
10
|
|
|
11
11
|
interface VelaWidgetOptions extends VelaOptions, VelaShellOptions {
|
|
12
12
|
/** @deprecated No longer supported — the option is ignored (a console warning
|
|
@@ -94,6 +94,9 @@ interface TopbarOptions {
|
|
|
94
94
|
checked: boolean;
|
|
95
95
|
}>;
|
|
96
96
|
onToggleSync: (id: string) => void;
|
|
97
|
+
/** The current layout's 16px glyph (`<svg>` markup) for the button, re-read on
|
|
98
|
+
* every {@link Topbar.setLayout}. Omitted ⇒ the registered `'layout'` icon. */
|
|
99
|
+
glyph?: () => string;
|
|
97
100
|
};
|
|
98
101
|
onIndicatorsClick?: () => void;
|
|
99
102
|
/** Unified undo/redo (same stack as Ctrl+Z / Ctrl+Y). Enabled state is pushed with
|
|
@@ -264,6 +267,10 @@ declare class Statusline {
|
|
|
264
267
|
private readonly valuesRow;
|
|
265
268
|
/** The ladder rung currently applied — see {@link fit}. */
|
|
266
269
|
private layout;
|
|
270
|
+
/** The readout {@link widthKey} the applied rung was fitted to. */
|
|
271
|
+
private fitKey;
|
|
272
|
+
/** Web fonts landing after the last fit change every width without a resize. */
|
|
273
|
+
private readonly onFontsLoaded;
|
|
267
274
|
constructor(host: HTMLElement, symbol: string,
|
|
268
275
|
/** The avatar's icon URL for a raw symbol — the shell routes it to the owning
|
|
269
276
|
* provider's `resolveSymbolIcon`. Absent ⇒ the initials badge. */
|
|
@@ -330,6 +337,12 @@ declare class Statusline {
|
|
|
330
337
|
destroy(): void;
|
|
331
338
|
private detach;
|
|
332
339
|
private render;
|
|
340
|
+
/** Everything the readout's width depends on, at every rung: its shape, and each
|
|
341
|
+
* value's sign, digit count and decimals (the digits themselves are tabular — see
|
|
342
|
+
* the CSS; the grouping commas follow from the digit count). `toFixed` carries all
|
|
343
|
+
* three at a fraction of the locale formatter's cost — this runs per pointer move.
|
|
344
|
+
* The parts, the host's size and the fonts re-fit through their own paths. */
|
|
345
|
+
private widthKey;
|
|
333
346
|
/** Write the value readout for the current bar at the current ladder level. */
|
|
334
347
|
private renderValues;
|
|
335
348
|
}
|
|
@@ -526,8 +539,8 @@ declare class PanelDock {
|
|
|
526
539
|
/**
|
|
527
540
|
* (Re)build the CONTRIBUTED panels from the registry — call once after the built-ins, and
|
|
528
541
|
* again on `refreshActions()` so a late registration appears. Contributed panels that are
|
|
529
|
-
* gone from the registry are dropped
|
|
530
|
-
* descriptor
|
|
542
|
+
* gone from the registry are dropped and a REPLACED descriptor is rebuilt; a panel whose
|
|
543
|
+
* descriptor is unchanged stays mounted as it is, so its content and state survive.
|
|
531
544
|
*/
|
|
532
545
|
refresh(): void;
|
|
533
546
|
/** Bind (or rebind) every docked panel to a chart instance. */
|
|
@@ -596,7 +609,7 @@ declare class ObjectTree extends SidePanel {
|
|
|
596
609
|
/** The price row's avatar icon URL for a raw symbol — routed by the shell to the
|
|
597
610
|
* owning provider's `resolveSymbolIcon`. Absent ⇒ the initials badge. */
|
|
598
611
|
iconFor?: ((symbol: string) => string | undefined) | undefined);
|
|
599
|
-
toggle(open?: boolean): void;
|
|
612
|
+
toggle(open?: boolean, instant?: boolean): void;
|
|
600
613
|
setSymbol(symbol: string): void;
|
|
601
614
|
/** (Re)bind to a chart instance — called after every widget rebuild. */
|
|
602
615
|
onChart(chart: Vela): void;
|
|
@@ -734,7 +747,7 @@ declare class DataWindow extends SidePanel {
|
|
|
734
747
|
private chart;
|
|
735
748
|
private unsubs;
|
|
736
749
|
constructor(host: HTMLElement);
|
|
737
|
-
toggle(open?: boolean): void;
|
|
750
|
+
toggle(open?: boolean, instant?: boolean): void;
|
|
738
751
|
/** (Re)bind to a chart instance — called after every widget rebuild. */
|
|
739
752
|
onChart(chart: Vela): void;
|
|
740
753
|
destroy(): void;
|
|
@@ -768,6 +781,13 @@ declare class ChartContextMenu {
|
|
|
768
781
|
private readonly menu;
|
|
769
782
|
private readonly host;
|
|
770
783
|
private chart;
|
|
784
|
+
private offCrosshair;
|
|
785
|
+
/** The bound chart's latest crosshair report — a right-click always follows a pointer
|
|
786
|
+
* move to its spot, so this is where it landed. */
|
|
787
|
+
private crosshair;
|
|
788
|
+
/** {@link crosshair} as it stood when the menu opened: the pointer moves on through the
|
|
789
|
+
* menu before a row is picked, and `run` must see the right-clicked spot. */
|
|
790
|
+
private pointer;
|
|
771
791
|
private lastZone;
|
|
772
792
|
/** The pane whose scale the open price-axis menu targets (null ⇒ the main scale). */
|
|
773
793
|
private lastPane;
|
|
@@ -780,8 +800,12 @@ declare class ChartContextMenu {
|
|
|
780
800
|
/** The pane under the pointer, so every pane's price scale has its own menu. */
|
|
781
801
|
private paneAt;
|
|
782
802
|
private flag;
|
|
803
|
+
/** A fresh widget context carrying the pointer captured at open. Copied by property
|
|
804
|
+
* descriptor: the context's getters must stay LIVE, and a spread would freeze them. */
|
|
805
|
+
private context;
|
|
783
806
|
private contributed;
|
|
784
807
|
private itemsFor;
|
|
808
|
+
private builtinItems;
|
|
785
809
|
private run;
|
|
786
810
|
}
|
|
787
811
|
|
package/dist/widget.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { VelaWorkspace } from './chunk-
|
|
2
|
-
export { Bottombar, ChartContextMenu, DataWindow, IndicatorPicker, ObjectTree, PanelDock, RANGE_PRESETS, ShortcutsHelp, Statusline, SymbolPicker, TimeframeQuick, Topbar, Watermark, dataWindowSections, decimalsFor, decodeState, encodeState, filterSymbols, fmtChange, fmtPrice, localStorageAdapter, parseTimeframe, priceStyleLabel, resolveIndicators, sanitizeState, timeframeLabel, timeframeMs } from './chunk-
|
|
3
|
-
|
|
4
|
-
export { DEFAULT_PANEL_MAX_WIDTH, DEFAULT_PANEL_MIN_WIDTH, DEFAULT_PANEL_ORDER, DEFAULT_PANEL_WIDTH, OVERRIDABLE_TOPBAR_IDS, SidePanel, TOPBAR_BUILTIN_IDS, TOPBAR_DEFAULT_LEFT, TOPBAR_DEFAULT_RIGHT, clampPanelWidth, pinnedTopbarActionIds, registerSidePanel, registerStatePersistence, registerSymbolRanking, registerWidgetAction, registerWidgetAttachment, resolveTopbarComposition, sidePanels, statePersistenceHandlers, symbolRanking, topbarActionOverride, topbarHas, unregisterSidePanel, unregisterStatePersistence, unregisterWidgetAction, unregisterWidgetAttachment, widgetActions, widgetAttachments } from './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
1
|
+
import { VelaWorkspace } from './chunk-2IPXYM4B.js';
|
|
2
|
+
export { Bottombar, ChartContextMenu, DataWindow, IndicatorPicker, ObjectTree, PanelDock, RANGE_PRESETS, ShortcutsHelp, Statusline, SymbolPicker, TimeframeQuick, Topbar, Watermark, dataWindowSections, decimalsFor, decodeState, encodeState, filterSymbols, fmtChange, fmtPrice, localStorageAdapter, parseTimeframe, priceStyleLabel, resolveIndicators, sanitizeState, timeframeLabel, timeframeMs } from './chunk-2IPXYM4B.js';
|
|
3
|
+
import './chunk-HMHA733L.js';
|
|
4
|
+
export { CONTEXT_MENU_BUILTIN_ORDER, DEFAULT_PANEL_MAX_WIDTH, DEFAULT_PANEL_MIN_WIDTH, DEFAULT_PANEL_ORDER, DEFAULT_PANEL_WIDTH, OVERRIDABLE_TOPBAR_IDS, SidePanel, TIMEZONES, TOPBAR_BUILTIN_IDS, TOPBAR_DEFAULT_LEFT, TOPBAR_DEFAULT_RIGHT, clampPanelWidth, normalizeTimezone, pinnedTopbarActionIds, registerSidePanel, registerStatePersistence, registerSymbolRanking, registerWidgetAction, registerWidgetAttachment, resolveTopbarComposition, sidePanels, statePersistenceHandlers, symbolRanking, topbarActionOverride, topbarHas, tzButtonLabel, tzMenuLabel, tzOffset, unregisterSidePanel, unregisterStatePersistence, unregisterWidgetAction, unregisterWidgetAttachment, widgetActions, widgetAttachments } from './chunk-KWI3YDBW.js';
|
|
5
|
+
import './chunk-TO3GIK7Z.js';
|
|
6
|
+
import './chunk-G7B7ZCBF.js';
|
|
7
|
+
import './chunk-VHGACEHO.js';
|
|
8
8
|
import './chunk-W4EJWLEO.js';
|
|
9
9
|
|
|
10
10
|
// src/widget/VelaWidget.ts
|