openalgo-charts 2.7.3 → 2.7.4

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.
@@ -1,4 +1,4 @@
1
- import { ShortcutListItem, ChartTheme, SymbolMatch, Chart, SeriesApi, IndicatorInputPresentation, ChartSettingsInput, ChartObjects, AlertController, DataVariant, ChartSettingsValues, TradingCapabilitySource, TradingCapabilityRequest, ContextMenuEvent, IndicatorApi, ChartSettingsTabId, AlertSource, SessionPhase, SessionCalendarSource, ChartEvent, ChartEventDetails, EventMarkerDetails, QuoteFeed, InstrumentKey, NewsFeed, DataLoadingController, RestoreReport, ChartOptions, DataFeed, DataLoadingOptions, ResolvedLinkOptions, LinkOptions, QuoteSnapshot, NewsItem, Bar, IndicatorInputCondition, IndicatorInput, IndicatorSettings } from 'openalgo-charts';
1
+ import { ShortcutListItem, ChartTheme, SymbolMatch, Chart, SeriesApi, IndicatorInputPresentation, ChartSettingsInput, ChartObjects, AlertController, DataVariant, ChartSettingsValues, TradingCapabilitySource, TradingCapabilityRequest, ContextMenuEvent, IndicatorApi, ChartSettingsTabId, AlertSource, SessionPhase, SessionCalendarSource, DataSession, ChartEvent, ChartEventDetails, EventMarkerDetails, QuoteFeed, InstrumentKey, NewsFeed, DataLoadingController, RestoreReport, ChartOptions, DataFeed, DataLoadingOptions, ResolvedLinkOptions, LinkOptions, QuoteSnapshot, NewsItem, Bar, IndicatorInputCondition, IndicatorInput, IndicatorSettings } from 'openalgo-charts';
2
2
  export { SymbolMatch } from 'openalgo-charts';
3
3
  import { DrawingController, SettingsField, Drawing, MagnetMode, InstrumentDrawings, DrawingDocumentStore } from 'openalgo-charts/draw';
4
4
  import { DrawingTemplateStore, DrawingTemplateCatalog, DrawingTemplate, DrawingTemplateValues, WorkspaceStore, WorkspaceCatalog, WorkspaceDocument, WorkspacePayload, WatchlistStore, IndicatorTemplateInput, IndicatorTemplateDocument } from 'openalgo-charts/workspace';
@@ -341,7 +341,7 @@ type ChartGridMessage = 'One chart' | 'Two columns' | 'Two rows' | 'Three column
341
341
  declare const CHART_GRID_LAYOUT_NAMES: Readonly<Record<ChartGridLayoutId, ChartGridMessage>>;
342
342
 
343
343
  /** English source keys keep fallback messages available without a locale bundle. */
344
- type WidgetBuiltinMessage = ChartGridMessage | "Add custom interval" | "Timeframes" | "Type" | "Add" | "Ticks" | "Seconds" | "Minutes" | "Hours" | "Days" | "Weeks" | "Months" | "Other intervals" | "Remove {code}" | "Add {code} to favorites" | "Remove {code} from favorites" | "The current source cannot build this interval" | "Only loaded rows are exported. Blank bounds include all loaded times." | "Study alignment" | "Source rows" | "Displayed rows" | "Use captured visible range" | "All loaded rows" | "Download CSV" | "The From bound must be before or equal to the To bound" | "Enable panning" | "Enable zooming" | "Go to" | "Go" | "Date" | "Range" | "From" | "To" | "Time" | "From time" | "To time" | "Showing {date}" | "Showing {from} to {to}" | "The range is wider than the chart. Showing {from} to {to}" | "History starts at {date}" | "The history limit stops at {date}" | "No older bars were found before {date}" | "Older history cannot load now. Showing from {date}" | "No bars at or after {date}" | "No bars between {from} and {to}" | "Go to needs a time-based interval" | "Enter a valid date" | "Could not load history: {error}" | "The end must not be before the start" | "Loading history" | "Times are in {zone}. A blank time is the start of the day, or its end for To." | "Dates are in {zone}." | "Charts" | "Chart {index}" | "Resize columns {first} and {second}" | "Resize rows {first} and {second}" | "Search" | "Enter a finite number" | "Minimum: {value}" | "Maximum: {value}" | "Use HHMM-HHMM with optional :days (1 to 7)" | "Depends on {inputs}" | "Not used with the current settings" | "Shown: {inputs}" | "Hidden: {inputs}" | "Available: {inputs}" | "Unavailable: {inputs}" | "{label} (UTC seconds)" | "Symbol search is not configured; enter an instrument manually" | "Finish or cancel the active drawing before picking" | "This host cannot suspend the settings dialog" | "Choose an explicit pane and scale for this price input" | "Pick on chart" | "Pick {label} on the chart" | "Pick point on chart" | "Pick {time} and {price} on the chart" | "Cancel pick" | "The value could not be picked" | "Add a study to the chart" | "Add level" | "Added {name}" | "Account" | "Accounts" | "Account: {name}" | "Analyzer" | "Available" | "Could not switch account: {error}" | "Equity" | "Loading account" | "Margin used" | "Stale" | "Alerts" | "Alerts are unavailable in this host" | "Alerts..." | "Active" | "Auto-fit to the data" | "Fit primary prices only" | "Collapse indicator legends" | "Collapse pane" | "Expand pane" | "Move pane up" | "Move pane down" | "at the top" | "at the bottom" | "price pane stays on top" | "Price pane" | "Axis settings..." | "Bar close" | "Bar close evaluates confirmed values. Intrabar touch can fire on a wick that is absent from final history." | "Behind the series" | "Bring to front" | "Buy limit at {price}" | "Buy market" | "Buy stop at {price}" | "C" | "Cancel" | "Candle condition" | "Candle condition is unavailable" | "Capture" | "Capture chart" | "Chart alerts" | "Chart branding" | "Chart controls" | "Chart copied" | "Chart data download started" | "Chart header" | "Chart menu" | "Chart objects" | "Chart settings" | "Chart toolbar" | "Chart type" | "Claimed by {name}" | "Click to switch the magnet off" | "Close" | "Color" | "Compare with" | "Copy drawing" | "Copy failed: {error}" | "Copy image" | "Copy {count} drawings" | "Could not change lock for {name}" | "Could not change visibility for {name}" | "Could not focus {name}" | "Could not load" | "{name} could not load: {error}" | "{name}: {error}" | "Event details" | "Events" | "Loading details..." | "No additional details." | "Unable to load additional details." | "Could not load older history" | "Could not load {symbol} {interval}" | "Could not load {symbol} {interval}: {error}" | "Could not open settings for {name}" | "Could not remove {name}" | "Could not save this alert" | "Could not select {name}" | "Create alert" | "Create alert at {price}..." | "Create drawing alert..." | "Create study alert..." | "Cursor" | "Custom" | "Cut drawing" | "Cut {count} drawings" | "Data export failed: {error}" | "Default level" | "Defaults" | "Delete" | "Delete drawing" | "Delete {count} drawings" | "Disable" | "Disable {name}" | "Disabled" | "Dismiss" | "Done" | "Download PNG" | "Download SVG" | "Download chart data (CSV)" | "Draw" | "Drawing" | "Drawing actions" | "Drawing level is unavailable" | "Drawing text" | "Drawing tools" | "Duplicate" | "Edit" | "Edit alert" | "Edit levels..." | "Edit text" | "Edit the expiry before enabling this alert" | "Enable" | "Enable {name}" | "Enabled" | "Enter a valid expiry date and time in UTC" | "Dark" | "Light" | "Enter an expiry date and time in UTC" | "Expires {time} UTC" | "Last fired {time} UTC" | "Symbol search results" | "That side is already in use" | "other side taken" | "Unlock drawing" | "Show drawing" | "Dark theme" | "Light theme" | "Stay: {mode}" | "Edit on chart" | "History is stale for {symbol} {interval}. Reload to retry." | "Magnet weak: snaps when O/H/L/C is within a few pixels" | "Magnet strong: every anchor lands on the nearest O/H/L/C" | "Click for weak: snaps when O/H/L/C is within a few pixels" | "Click for strong: every anchor lands on the nearest O/H/L/C" | "Ratio" | "Remove level" | "From (UTC seconds)" | "To (UTC seconds)" | "Enter finite UTC seconds or leave the bound blank" | "Enter an expiry date and time" | "Every match" | "Expired" | "Expires {time}" | "Expires" | "Finish" | "Fit all bars" | "Focus" | "Focus {name}" | "H" | "Hidden" | "Hide" | "Hide drawing" | "Hide drawing tools" | "Hide {name}" | "History is stale for {symbol} {interval}" | "History is stale. Refreshing {symbol} {interval}" | "History retention limit reached" | "In front of the series" | "Indicators" | "Indicators..." | "Input plot" | "Inputs" | "Interval" | "Interval {code}" | "Intrabar touch" | "Invert" | "Keep tool active" | "Keyboard shortcuts" | "L" | "Label" | "Last fired {time}" | "Level" | "Levels" | "Loading" | "Loading older history" | "Loading {symbol} {interval}" | "Regular hours" | "Extended hours" | "Adjusted prices" | "Raw prices" | "Not available from this source: {variant}" | "Lock" | "Lock drawing" | "Lock {name}" | "Locked" | "Magnet off" | "Magnet: {mode}" | "More" | "Move the scale closer to the plot" | "Move the scale further from the plot" | "Move the scale to the left" | "Move the scale to the right" | "No alerts. Create an alert for this chart." | "No bars for {symbol} {interval}" | "No data" | "No drawings to remove" | "No indicator on the chart to configure" | "No indicator to configure" | "No indicators are registered. Import the indicators tier to fill this list." | "No levels. Add one, or reset to the defaults." | "No match" | "No objects match your search." | "No objects on this chart." | "Nothing measured on this scale yet" | "Nothing to configure on this chart yet." | "Nothing to paste" | "O" | "OI" | "OK" | "Objects" | "Objects panel requires an object model" | "Off: one drawing per pick" | "On: the tool stays active after each drawing" | "Once" | "One drawing per pick" | "Open interest is unavailable for this instrument." | "Order" | "Order entry is locked by the host" | "Order entry is locked during replay" | "Order entry is unavailable" | "Order entry is unavailable: {reason}" | "Other" | "PNG, SVG, CSV or the clipboard" | "Pane {number}" | "Paste" | "Pick an indicator from the legend first" | "Pin price per bar" | "Pin to rail" | "Pinned. Right-click to unpin" | "Plot" | "Price" | "Price chart" | "Price {price}" | "Price {price} to {upper}" | "Properties" | "Properties of the selection..." | "Properties..." | "Redo" | "That step could not be undone: {error}" | "That step could not be redone: {error}" | "Refreshing {symbol} {interval}" | "Remove" | "Remove all drawings ({count})" | "Remove {name}" | "Removed {count} drawing" | "Removed {count} drawings" | "Reset" | "Restore defaults" | "Restore this tab" | "Retry" | "Retry chart data" | "Retry older history" | "Retry {name}" | "Right-click to remove all" | "Save" | "Saved a PNG of the chart" | "Saved an SVG of the chart" | "Scale" | "Search indicators" | "Search name, type or pane" | "Search objects" | "Searching" | "Select a drawing first" | "Select a drawing with levels first" | "Select a text drawing first" | "Select all ({count})" | "Select an input plot on the drawing pane" | "Select one first. Right-click to remove all" | "Select {name}" | "Selected" | "Selected drawing" | "Sell limit at {price}" | "Sell market" | "Sell stop at {price}" | "Send to back" | "Settings" | "Settings for {name}" | "Settings..." | "Show" | "Show drawing tools" | "Show labels" | "Show {name}" | "Source" | "Stays selected, so the eye brings it back" | "Studies" | "Study" | "Study instance is unavailable" | "Study plot is unavailable" | "Style" | "Switch to the dark theme" | "Switch to the light theme" | "Symbol" | "Symbols" | "Text" | "That indicator is no longer on the chart" | "That text is off the chart" | "The anchor changes only while the drawing's pane is on screen" | "The chart takes the space. The tab at its bottom left brings them back" | "The canvas produced no image" | "The chart changed; reopen Capture for its current source" | "The chart changed; reopen the menu before placing an order" | "The chart layout could not be saved" | "The chart layout could not be saved: {error}" | "The drawings for {instrument} could not be saved" | "The current plot value is unavailable. The alert waits for observed values." | "The indicator picker is not in this build" | "The instrument context changed. Reopen the editor for the intended instrument." | "The saved layout could not be restored: {error}" | "Saved chart settings could not be read, so changes are kept for this session only: {error}" | "Saved chart settings could not be written: {error}" | "The scale could not be moved" | "The settings dialog is not in this build" | "The study settings could not be applied" | "Theme" | "These drawings share no settings." | "This alert was removed" | "This runtime cannot save files" | "Tools" | "Tools stay active after each drawing" | "Trade" | "Triggered" | "Unavailable candle condition" | "Unavailable drawing" | "Unavailable study" | "Unavailable study output: {instanceId} / {plotKey}" | "Undo" | "Unlock" | "Unlock {name}" | "Unlocked" | "Unpin from rail" | "Unsupported" | "Visible" | "Vol" | "Wait for this chart to finish loading its data" | "locked" | "needs https or localhost" | "nothing measured" | "nothing on this side" | "object" | "off" | "on" | "on chart" | "on chart x{count}" | "one instance on the chart" | "paste it anywhere" | "protected" | "read-only" | "text stays text" | "{count} alert" | "{count} alerts" | "{count} bar" | "{count} bars" | "{count} drawings" | "{count} instances on the chart" | "{count} object" | "{count} objects" | "{group}: chevron for the rest" | "{group}: chevron for the rest. Double-click keeps it active" | "{name} / {plot}: {value}" | "{name} / {plot}: {value} to {upper}" | "{name} has nothing to configure" | "{name} settings" | "{name} settings are protected" | "{name} settings..." | "{name} stays active until Escape" | "{seconds}s cooldown" | "Drawing templates could not be loaded" | "The drawing template could not be saved: {error}" | "New {tool} drawings start with this look" | "New {tool} drawings start with the standard look" | "Saved the template {name}" | "Removed the template" | "Templates" | "Save as default for this tool" | "one tool at a time" | "Forget the default for this tool" | "Save as template..." | "Apply {name}" | "Save as template" | "Template name" | "Enter a name" | "Drawing toolbar" | "More drawing actions" | "{value} px" | "Line width" | "Line width: {value}" | "Line style" | "Line style: {style}" | "Dashed" | "Dotted" | "Solid" | "Color: {value}" | "mixed" | "Mixed" | "Enter a date and a time on the chart clock" | "Enter a price as a number" | "A logarithmic scale needs a price above zero" | "Point {number}" | "{field} of point {number}" | "Pinned to the screen: its anchors are not a time and a price." | "A freehand stroke has {count} points. Move it on the chart." | "Coordinates" | "Times are on the chart clock, {zone}." | "{shown} of {count} object" | "{shown} of {count} objects" | "{count} chart shortcut struck through: another shortcut uses the same chord here and takes precedence." | "{count} chart shortcuts struck through: another shortcut uses the same chord here and takes precedence." | "Change" | "Change {name}" | "Cancel changing {name}" | "Reset {name} to {chord}" | "Reset all" | "Put every shortcut back to its default?" | "Every shortcut is back to its default." | "Press keys" | "Press the new shortcut for {name}. Esc cancels." | "Not set" | "Replace" | "{chord} is used by {names}." | "Taken from {names}." | "{name} is now {chord}." | "{name} is back to {chord}." | "{chord} belongs to {names}, which cannot change. Press another." | "{chord} belongs to the browser. Press another." | "{chord} types into the chart. Add {mod} or {alt}." | "{chord} presses the focused control. Add {mod} or {alt}." | "That key cannot be used here. Press another." | "Nothing changed." | "unknown error" | "{name}, hidden" | "Level {level} enabled" | "Level {level} ratio" | "Level {level} color" | "Level {level} label" | "Remove level {level}" | "Search {label}" | "{name} (pinned)" | "Cancel order" | "Close position" | "Keep tool active: {mode}" | "Delete {name}" | "Magnet weak: snaps when a bar or study value is within a few pixels" | "Magnet strong: every anchor lands on the nearest bar or study value" | "Click for weak: snaps when a bar or study value is within a few pixels" | "Click for strong: every anchor lands on the nearest bar or study value" | "Armed" | "Keep tool armed" | "On: the tool stays armed after each drawing" | "Tools stay armed after each drawing" | "{group}: chevron for the rest. Double-click keeps it armed" | "{name} stays armed until Escape" | "{count} chart shortcut struck through: the same chord arms a drawing tool here and takes precedence." | "{count} chart shortcuts struck through: the same chord arms a drawing tool here and takes precedence.";
344
+ type WidgetBuiltinMessage = ChartGridMessage | "Add custom interval" | "Full screen" | "Leave full screen" | "The browser refused full screen" | "Move {name} to a new pane" | "Move {name} to the price pane" | "Bring {name} forward" | "Send {name} backward" | "{name} cannot move to that pane" | "Session" | "Regular hours only" | "With extended hours" | "Source default" | "Not offered for this interval" | "Timeframes" | "Type" | "Add" | "Ticks" | "Seconds" | "Minutes" | "Hours" | "Days" | "Weeks" | "Months" | "Other intervals" | "Remove {code}" | "Add {code} to favorites" | "Remove {code} from favorites" | "The current source cannot build this interval" | "Only loaded rows are exported. Blank bounds include all loaded times." | "Study alignment" | "Source rows" | "Displayed rows" | "Use captured visible range" | "All loaded rows" | "Download CSV" | "The From bound must be before or equal to the To bound" | "Enable panning" | "Enable zooming" | "Go to" | "Go" | "Date" | "Range" | "From" | "To" | "Time" | "From time" | "To time" | "Showing {date}" | "Showing {from} to {to}" | "The range is wider than the chart. Showing {from} to {to}" | "History starts at {date}" | "The history limit stops at {date}" | "No older bars were found before {date}" | "Older history cannot load now. Showing from {date}" | "No bars at or after {date}" | "No bars between {from} and {to}" | "Go to needs a time-based interval" | "Enter a valid date" | "Could not load history: {error}" | "The end must not be before the start" | "Loading history" | "Times are in {zone}. A blank time is the start of the day, or its end for To." | "Dates are in {zone}." | "Charts" | "Chart {index}" | "Resize columns {first} and {second}" | "Resize rows {first} and {second}" | "Search" | "Enter a finite number" | "Minimum: {value}" | "Maximum: {value}" | "Use HHMM-HHMM with optional :days (1 to 7)" | "Depends on {inputs}" | "Not used with the current settings" | "Shown: {inputs}" | "Hidden: {inputs}" | "Available: {inputs}" | "Unavailable: {inputs}" | "{label} (UTC seconds)" | "Symbol search is not configured; enter an instrument manually" | "Finish or cancel the active drawing before picking" | "This host cannot suspend the settings dialog" | "Choose an explicit pane and scale for this price input" | "Pick on chart" | "Pick {label} on the chart" | "Pick point on chart" | "Pick {time} and {price} on the chart" | "Cancel pick" | "The value could not be picked" | "Add a study to the chart" | "Add level" | "Added {name}" | "Account" | "Accounts" | "Account: {name}" | "Analyzer" | "Available" | "Could not switch account: {error}" | "Equity" | "Loading account" | "Margin used" | "Stale" | "Alerts" | "Alerts are unavailable in this host" | "Alerts..." | "Active" | "Auto-fit to the data" | "Fit primary prices only" | "Collapse indicator legends" | "Collapse pane" | "Expand pane" | "Move pane up" | "Move pane down" | "at the top" | "at the bottom" | "price pane stays on top" | "Price pane" | "Axis settings..." | "Bar close" | "Bar close evaluates confirmed values. Intrabar touch can fire on a wick that is absent from final history." | "Behind the series" | "Bring to front" | "Buy limit at {price}" | "Buy market" | "Buy stop at {price}" | "C" | "Cancel" | "Candle condition" | "Candle condition is unavailable" | "Capture" | "Capture chart" | "Chart alerts" | "Chart branding" | "Chart controls" | "Chart copied" | "Chart data download started" | "Chart header" | "Chart menu" | "Chart objects" | "Chart settings" | "Chart toolbar" | "Chart type" | "Claimed by {name}" | "Click to switch the magnet off" | "Close" | "Color" | "Compare with" | "Copy drawing" | "Copy failed: {error}" | "Copy image" | "Copy {count} drawings" | "Could not change lock for {name}" | "Could not change visibility for {name}" | "Could not focus {name}" | "Could not load" | "{name} could not load: {error}" | "{name}: {error}" | "Event details" | "Events" | "Loading details..." | "No additional details." | "Unable to load additional details." | "Could not load older history" | "Could not load {symbol} {interval}" | "Could not load {symbol} {interval}: {error}" | "Could not open settings for {name}" | "Could not remove {name}" | "Could not save this alert" | "Could not select {name}" | "Create alert" | "Create alert at {price}..." | "Create drawing alert..." | "Create study alert..." | "Cursor" | "Custom" | "Cut drawing" | "Cut {count} drawings" | "Data export failed: {error}" | "Default level" | "Defaults" | "Delete" | "Delete drawing" | "Delete {count} drawings" | "Disable" | "Disable {name}" | "Disabled" | "Dismiss" | "Done" | "Download PNG" | "Download SVG" | "Download chart data (CSV)" | "Draw" | "Drawing" | "Drawing actions" | "Drawing level is unavailable" | "Drawing text" | "Drawing tools" | "Duplicate" | "Edit" | "Edit alert" | "Edit levels..." | "Edit text" | "Edit the expiry before enabling this alert" | "Enable" | "Enable {name}" | "Enabled" | "Enter a valid expiry date and time in UTC" | "Dark" | "Light" | "Enter an expiry date and time in UTC" | "Expires {time} UTC" | "Last fired {time} UTC" | "Symbol search results" | "That side is already in use" | "other side taken" | "Unlock drawing" | "Show drawing" | "Dark theme" | "Light theme" | "Stay: {mode}" | "Edit on chart" | "History is stale for {symbol} {interval}. Reload to retry." | "Magnet weak: snaps when O/H/L/C is within a few pixels" | "Magnet strong: every anchor lands on the nearest O/H/L/C" | "Click for weak: snaps when O/H/L/C is within a few pixels" | "Click for strong: every anchor lands on the nearest O/H/L/C" | "Ratio" | "Remove level" | "From (UTC seconds)" | "To (UTC seconds)" | "Enter finite UTC seconds or leave the bound blank" | "Enter an expiry date and time" | "Every match" | "Expired" | "Expires {time}" | "Expires" | "Finish" | "Fit all bars" | "Focus" | "Focus {name}" | "H" | "Hidden" | "Hide" | "Hide drawing" | "Hide drawing tools" | "Hide {name}" | "History is stale for {symbol} {interval}" | "History is stale. Refreshing {symbol} {interval}" | "History retention limit reached" | "In front of the series" | "Indicators" | "Indicators..." | "Input plot" | "Inputs" | "Interval" | "Interval {code}" | "Intrabar touch" | "Invert" | "Keep tool active" | "Keyboard shortcuts" | "L" | "Label" | "Last fired {time}" | "Level" | "Levels" | "Loading" | "Loading older history" | "Loading {symbol} {interval}" | "Regular hours" | "Extended hours" | "Adjusted prices" | "Raw prices" | "Not available from this source: {variant}" | "Lock" | "Lock drawing" | "Lock {name}" | "Locked" | "Magnet off" | "Magnet: {mode}" | "More" | "Move the scale closer to the plot" | "Move the scale further from the plot" | "Move the scale to the left" | "Move the scale to the right" | "No alerts. Create an alert for this chart." | "No bars for {symbol} {interval}" | "No data" | "No drawings to remove" | "No indicator on the chart to configure" | "No indicator to configure" | "No indicators are registered. Import the indicators tier to fill this list." | "No levels. Add one, or reset to the defaults." | "No match" | "No objects match your search." | "No objects on this chart." | "Nothing measured on this scale yet" | "Nothing to configure on this chart yet." | "Nothing to paste" | "O" | "OI" | "OK" | "Objects" | "Objects panel requires an object model" | "Off: one drawing per pick" | "On: the tool stays active after each drawing" | "Once" | "One drawing per pick" | "Open interest is unavailable for this instrument." | "Order" | "Order entry is locked by the host" | "Order entry is locked during replay" | "Order entry is unavailable" | "Order entry is unavailable: {reason}" | "Other" | "PNG, SVG, CSV or the clipboard" | "Pane {number}" | "Paste" | "Pick an indicator from the legend first" | "Pin price per bar" | "Pin to rail" | "Pinned. Right-click to unpin" | "Plot" | "Price" | "Price chart" | "Price {price}" | "Price {price} to {upper}" | "Properties" | "Properties of the selection..." | "Properties..." | "Redo" | "That step could not be undone: {error}" | "That step could not be redone: {error}" | "Refreshing {symbol} {interval}" | "Remove" | "Remove all drawings ({count})" | "Remove {name}" | "Removed {count} drawing" | "Removed {count} drawings" | "Reset" | "Restore defaults" | "Restore this tab" | "Retry" | "Retry chart data" | "Retry older history" | "Retry {name}" | "Right-click to remove all" | "Save" | "Saved a PNG of the chart" | "Saved an SVG of the chart" | "Scale" | "Search indicators" | "Search name, type or pane" | "Search objects" | "Searching" | "Select a drawing first" | "Select a drawing with levels first" | "Select a text drawing first" | "Select all ({count})" | "Select an input plot on the drawing pane" | "Select one first. Right-click to remove all" | "Select {name}" | "Selected" | "Selected drawing" | "Sell limit at {price}" | "Sell market" | "Sell stop at {price}" | "Send to back" | "Settings" | "Settings for {name}" | "Settings..." | "Show" | "Show drawing tools" | "Show labels" | "Show {name}" | "Source" | "Stays selected, so the eye brings it back" | "Studies" | "Study" | "Study instance is unavailable" | "Study plot is unavailable" | "Style" | "Switch to the dark theme" | "Switch to the light theme" | "Symbol" | "Symbols" | "Text" | "That indicator is no longer on the chart" | "That text is off the chart" | "The anchor changes only while the drawing's pane is on screen" | "The chart takes the space. The tab at its bottom left brings them back" | "The canvas produced no image" | "The chart changed; reopen Capture for its current source" | "The chart changed; reopen the menu before placing an order" | "The chart layout could not be saved" | "The chart layout could not be saved: {error}" | "The drawings for {instrument} could not be saved" | "The current plot value is unavailable. The alert waits for observed values." | "The indicator picker is not in this build" | "The instrument context changed. Reopen the editor for the intended instrument." | "The saved layout could not be restored: {error}" | "Saved chart settings could not be read, so changes are kept for this session only: {error}" | "Saved chart settings could not be written: {error}" | "The scale could not be moved" | "The settings dialog is not in this build" | "The study settings could not be applied" | "Theme" | "These drawings share no settings." | "This alert was removed" | "This runtime cannot save files" | "Tools" | "Tools stay active after each drawing" | "Trade" | "Triggered" | "Unavailable candle condition" | "Unavailable drawing" | "Unavailable study" | "Unavailable study output: {instanceId} / {plotKey}" | "Undo" | "Unlock" | "Unlock {name}" | "Unlocked" | "Unpin from rail" | "Unsupported" | "Visible" | "Vol" | "Wait for this chart to finish loading its data" | "locked" | "needs https or localhost" | "nothing measured" | "nothing on this side" | "object" | "off" | "on" | "on chart" | "on chart x{count}" | "one instance on the chart" | "paste it anywhere" | "protected" | "read-only" | "text stays text" | "{count} alert" | "{count} alerts" | "{count} bar" | "{count} bars" | "{count} drawings" | "{count} instances on the chart" | "{count} object" | "{count} objects" | "{group}: chevron for the rest" | "{group}: chevron for the rest. Double-click keeps it active" | "{name} / {plot}: {value}" | "{name} / {plot}: {value} to {upper}" | "{name} has nothing to configure" | "{name} settings" | "{name} settings are protected" | "{name} settings..." | "{name} stays active until Escape" | "{seconds}s cooldown" | "Drawing templates could not be loaded" | "The drawing template could not be saved: {error}" | "New {tool} drawings start with this look" | "New {tool} drawings start with the standard look" | "Saved the template {name}" | "Removed the template" | "Templates" | "Save as default for this tool" | "one tool at a time" | "Forget the default for this tool" | "Save as template..." | "Apply {name}" | "Save as template" | "Template name" | "Enter a name" | "Drawing toolbar" | "More drawing actions" | "{value} px" | "Line width" | "Line width: {value}" | "Line style" | "Line style: {style}" | "Dashed" | "Dotted" | "Solid" | "Color: {value}" | "mixed" | "Mixed" | "Enter a date and a time on the chart clock" | "Enter a price as a number" | "A logarithmic scale needs a price above zero" | "Point {number}" | "{field} of point {number}" | "Pinned to the screen: its anchors are not a time and a price." | "A freehand stroke has {count} points. Move it on the chart." | "Coordinates" | "Times are on the chart clock, {zone}." | "{shown} of {count} object" | "{shown} of {count} objects" | "{count} chart shortcut struck through: another shortcut uses the same chord here and takes precedence." | "{count} chart shortcuts struck through: another shortcut uses the same chord here and takes precedence." | "Change" | "Change {name}" | "Cancel changing {name}" | "Reset {name} to {chord}" | "Reset all" | "Put every shortcut back to its default?" | "Every shortcut is back to its default." | "Press keys" | "Press the new shortcut for {name}. Esc cancels." | "Not set" | "Replace" | "{chord} is used by {names}." | "Taken from {names}." | "{name} is now {chord}." | "{name} is back to {chord}." | "{chord} belongs to {names}, which cannot change. Press another." | "{chord} belongs to the browser. Press another." | "{chord} types into the chart. Add {mod} or {alt}." | "{chord} presses the focused control. Add {mod} or {alt}." | "That key cannot be used here. Press another." | "Nothing changed." | "unknown error" | "{name}, hidden" | "Level {level} enabled" | "Level {level} ratio" | "Level {level} color" | "Level {level} label" | "Remove level {level}" | "Search {label}" | "{name} (pinned)" | "Cancel order" | "Close position" | "Keep tool active: {mode}" | "Delete {name}" | "Magnet weak: snaps when a bar or study value is within a few pixels" | "Magnet strong: every anchor lands on the nearest bar or study value" | "Click for weak: snaps when a bar or study value is within a few pixels" | "Click for strong: every anchor lands on the nearest bar or study value" | "Armed" | "Keep tool armed" | "On: the tool stays armed after each drawing" | "Tools stay armed after each drawing" | "{group}: chevron for the rest. Double-click keeps it armed" | "{name} stays armed until Escape" | "{count} chart shortcut struck through: the same chord arms a drawing tool here and takes precedence." | "{count} chart shortcuts struck through: the same chord arms a drawing tool here and takes precedence.";
345
345
  /**
346
346
  * Every key a translator is asked for. Widget text is keyed three ways, and
347
347
  * no published key is ever renamed:
@@ -1993,6 +1993,8 @@ interface TopbarOptions {
1993
1993
  canSelectInterval?: (code: string) => boolean;
1994
1994
  /** Show the indicators button. Default true. */
1995
1995
  indicators?: boolean | undefined;
1996
+ /** The full screen button: true for the widget, or the element that enters full screen. Default off. */
1997
+ fullscreen?: boolean | HTMLElement | undefined;
1996
1998
  search?: SymbolSearch | undefined;
1997
1999
  /** The current facts, read on every refresh. */
1998
2000
  state: () => TopbarState;
@@ -2087,8 +2089,8 @@ interface ContextMenuHooks {
2087
2089
  tradingMode?: TradingCapabilityRequest['mode'];
2088
2090
  /** Host replay selection or workspace transitions that also prevent order entry. */
2089
2091
  tradingLocked?(): boolean;
2090
- /** Extra rows a host appends, built per event. */
2091
- items?(e: ContextMenuEvent): MenuEntry[];
2092
+ /** Extra rows a host appends, built per event. A hook that throws adds none. */
2093
+ items?: ((e: ContextMenuEvent) => MenuEntry[]) | undefined;
2092
2094
  }
2093
2095
  interface ContextMenuOptions {
2094
2096
  /** The chart's event. Without one the menu is the chart-level menu at the anchor. */
@@ -2516,6 +2518,22 @@ interface BottombarTarget {
2516
2518
  range?(): string | null;
2517
2519
  /** Apply a range. The bar reports what it returns. Without it the range buttons are greyed. */
2518
2520
  setRange?(id: string): Promise<DateNavigationResult> | DateNavigationResult | void;
2521
+ /**
2522
+ * The session choice: drawn when the source serves this instrument with
2523
+ * and without its extended hours, and kept while the chart still asks for a
2524
+ * session the source does not serve here, so there is a way back from it.
2525
+ * Null, or no method, leaves the control out.
2526
+ */
2527
+ session?(): BottombarSession | null;
2528
+ /** Ask the source for a session, or with undefined for its own default. */
2529
+ setSession?(session: DataSession | undefined): void;
2530
+ }
2531
+ /** What the session control shows. */
2532
+ interface BottombarSession {
2533
+ /** The session the chart asked its source for; undefined is the source's default, which the bar cannot name. */
2534
+ readonly current: DataSession | undefined;
2535
+ /** The sessions the source serves for the instrument and interval on screen. */
2536
+ readonly available: readonly DataSession[];
2519
2537
  }
2520
2538
  interface BottombarOptions {
2521
2539
  /**
@@ -2559,6 +2577,12 @@ interface BottombarControls {
2559
2577
  /** The zones the timezone choice lists, the current one included. */
2560
2578
  timezones(): readonly string[];
2561
2579
  setTimezone(zone: string): void;
2580
+ /**
2581
+ * Null unless the source offers both regular and extended hours here.
2582
+ * Optional, with `setSession`: controls built before 2.7.4 have neither.
2583
+ */
2584
+ session?(): BottombarSession | null;
2585
+ setSession?(session: DataSession | undefined): void;
2562
2586
  /** Null when the chart has no price scale to act on yet. */
2563
2587
  scale(): BottombarScaleState | null;
2564
2588
  toggleScale(which: BottombarScaleToggle): void;
@@ -2977,6 +3001,15 @@ interface WidgetOptions extends Omit<ChartOptions, 'theme'>, WidgetBottombarOpti
2977
3001
  /** The drawing rail. `false` hides it; an object restricts its tools or seeds its pins. Default on. */
2978
3002
  rail?: boolean | RailOptions;
2979
3003
  topbar?: boolean;
3004
+ /**
3005
+ * A full screen button at the end of the top bar. Off by default, since
3006
+ * only the element that enters full screen stays on the display: `true`
3007
+ * takes the widget (a chart grid whole when the widget is one of its
3008
+ * cells), and an element takes that element, for a host whose own order
3009
+ * ticket or dialogs are drawn outside the widget and must come along.
3010
+ * Left out wherever the page may not enter full screen.
3011
+ */
3012
+ fullscreen?: boolean | HTMLElement;
2980
3013
  statusline?: boolean;
2981
3014
  /** Narrow controls. Auto activates when the container is at most 640 CSS px wide, or, with a coarse primary pointer, at most 960 px wide and under 600 px tall (a phone on its side); a tablet or a touch laptop keeps the desktop chrome. Default auto. */
2982
3015
  mobile?: MobileMode;
@@ -3055,6 +3088,12 @@ interface WidgetOptions extends Omit<ChartOptions, 'theme'>, WidgetBottombarOpti
3055
3088
  tradingMode?: TradingCapabilityRequest['mode'];
3056
3089
  /** Locks order entry during host replay selection or workspace transitions. */
3057
3090
  tradingLocked?: () => boolean;
3091
+ /**
3092
+ * Rows the host appends to the right-click menu, built for each event: the
3093
+ * event names the pane, the price and the object under the pointer. A hook
3094
+ * that throws adds no rows and leaves the menu's own rows in place.
3095
+ */
3096
+ contextMenuItems?: (event: ContextMenuEvent) => MenuEntry[];
3058
3097
  /**
3059
3098
  * Account state for the status line, usually a trade-tier `AccountManager`.
3060
3099
  * Omitted shows no account; a source whose provider declares no accounts is
@@ -4071,4 +4110,4 @@ declare function createAlertUi(container: HTMLElement, options: AlertUiOptions):
4071
4110
  */
4072
4111
  declare const WIDGET_TIER: "widget";
4073
4112
 
4074
- export { ACCOUNT_SUMMARY_CSS, type AccountSummaryHandle, type AccountSummaryOptions, type AlertEditorOptions, type AlertUi, type AlertUiOptions, type AlertsPanelOptions, type AsyncStorageLike, BOTTOMBAR_CSS, BOTTOMBAR_HEIGHT, type BottombarContext, type BottombarControls, type BottombarHandle, type BottombarOptions, type BottombarScaleState, type BottombarScaleToggle, type BottombarTarget, type Box, type BusHandler, CHART_GRID_CSS, CHART_GRID_LAYOUTS, CHART_GRID_LAYOUT_NAMES, CHART_GRID_PRESETS, CHART_TYPE_LABELS, COLOR_PICKER_CSS, type ChartGrid, type ChartGridApplyReport, type ChartGridCell, type ChartGridEventName, type ChartGridEvents, type ChartGridLayout, type ChartGridLayoutId, type ChartGridLayoutSlot, type ChartGridLayoutSpec, type ChartGridLinkGroup, type ChartGridMessage, type ChartGridOptions, type ChartGridPreset, type ChartGridUnevenLayout, ChartHistory, type ChartHistoryChange, type ChartHistoryCommand, type ChartHistoryError, type ChartHistoryOptions, type ChartHistoryStep, type ChartShortcutSource, type ColorPickerHandle, type ColorPickerOptions, type ContextMenuHooks, type ContextMenuOptions, DATA_WINDOW_CSS, DATE_NAVIGATION_CSS, DEFAULT_INTERVALS, DEFAULT_LOOKBACK_BARS, DEFAULT_RANGES, DIALOG_CSS, DRAWINGS_KEY_PREFIX, DRAWING_COORDINATES_CSS, DRAWING_TEMPLATES_CSS, DRAWING_TOOLBAR_CSS, type DataWindowHandle, type DataWindowOptions, type DataWindowRow, type DataWindowSection, type DataWindowSnapshot, type DateNavigationDialogOptions, type DateNavigationResult, type DateNavigationStatus, type DateNavigationTarget, DateNavigator, type DateNavigatorOptions, type DialogHandle, type DialogMount, type DrawingCoordinatesHandle, type DrawingPropertiesOptions, type DrawingTemplates, type DrawingToolbarHandle, type DrawingToolbarOptions, EVENT_DETAILS_CSS, type EventDetailAction, type EventDetailsLabels, type EventDetailsLoader, EventDetailsPopup, type EventDetailsPopupOptions, type FormControl, type FormHandle, type FormKind, type FormOptions, type FormTranslationOptions, type HistoryReach, type IndexedDbWidgetStorage, type IndexedDbWidgetStorageOptions, type IndicatorInputControlsHandle, type IndicatorInputControlsOptions, type IndicatorPickerOptions, type IndicatorSettingsOptions, type IndicatorSettingsTab, type IndicatorTemplateApplyMode, type InputState, KEYMAP_KEY, type KeyAction, type KeyBinding, type KeyBindingOptions, type KeyChordUse, type KeyConflict, type KeyEventLike, type KeyRebindResult, type KeyScope, Keymap, type KeymapChange, type KeymapGroup, type KeymapOptions, type KeymapOverrides, type KeymapRow, type LayoutApplyReport, type LayoutAutosaveStatus, type LayoutTarget, type LayoutsController, type LayoutsControllerOptions, type LayoutsState, type LevelEditorOptions, MAGNET_MODES, MIN_PRICE_DIGITS, type MarketStatusReading, type MenuEntry, type MenuItem, type MenuOptions, type MenuRow, type MobileHandle, type MobileMode, type MobileOptions, NEWS_PANEL_CSS, type NewsPanelHandle, type NewsPanelOptions, NewsReader, type NewsReaderOptions, type NewsSnapshot, type NewsStatus, OBJECTS_PANEL_CSS, type ObjectsPanelContent, type ObjectsPanelOptions, type OrderRequest, type OverlayOptions, type OverlayStack, PANEL_DOCK_CSS, type PanelDockContent, type PanelDockHandle, type PanelDockId, type PanelDockOptions, type PanelDockState, type PanelHandle, QUICK_ENTRY_CSS, type QuickEntryHandle, type QuickEntryOptions, QuoteBoard, type QuoteBoardOptions, type QuoteBoardStatus, type QuoteRow, type QuoteRowStatus, RAIL_GROUPS, RAIL_PREFS_KEY, RAIL_WIDTH, type RailGroup, type RailGroupItem, type RailHandle, type RailOptions, type RailPrefs, type RangeWindowOptions, type Rgba, SAVE_DEBOUNCE_MS, SEARCH_DEBOUNCE_MS, STATE_KEY, STATUSLINE_HEIGHT, STORAGE_PREFIX, SYMBOL_PICKER_CSS, type SettingsDialogOptions, type ShortcutsPanelOptions, type Size, type StatuslineHandle, type StatuslineOptions, type StorageLike, type SymbolPickerHandle, type SymbolPickerOptions, type SymbolSearch, TEXT_CONTRAST, TIP_DWELL_MS, TOAST_LEAVE_MS, TOAST_MAX, TOAST_MS, TOKEN_PREFIX, TOOLBAR_LINE_WIDTHS, TOPBAR_HEIGHT, type TextEditorHandle, type TextEditorOptions, type TimeframeMenuContext, type TimeframeMenuOptions, type TimeframePreferences, type TimeframePreferencesOptions, type TimeframeUnit, type TipController, type TipSide, type TipSource, type TipSpec, type ToastHandle, type ToastKind, type ToastOptions, type Toaster, type TopbarHandle, type TopbarOptions, type TopbarState, WATCHLIST_PANEL_CSS, WIDGET_COMPONENT_CSS, WIDGET_CSS, WIDGET_DIALOGS, WIDGET_FONT, WIDGET_MONO, WIDGET_STATE_VERSION, WIDGET_STYLE_ID, WIDGET_TIER, type WatchlistPanelHandle, type WatchlistPanelOptions, type WatchlistSort, type WatchlistSortKey, type Widget, type WidgetBottombarOptions, type WidgetBuiltinMessage, WidgetBus, type WidgetBusEvents, type WidgetChartState, type WidgetContext, type WidgetDialogName, type WidgetEventName, type WidgetMessageKey, type WidgetMessageParameters, type WidgetMessageValues, type WidgetNewsOptions, type WidgetOptions, type WidgetRange, type WidgetRangeUnit, type WidgetRangeWindow, type WidgetRestoreReport, type WidgetSessionCalendar, type WidgetState, WidgetStorage, type WidgetStorageError, type WidgetStorageOptions, type WidgetThemeName, type WidgetTokens, type WidgetTranslationOptions, type WidgetTranslator, type WidgetWatchlistOptions, applyIndicatorTemplate, applyTokens, attachContextMenu, boxIn, captureName, chartTypeChoices, chartTypeLabel, contextMenuEntries, contrastRatio, controlsFromFields, controlsFromInputs, createAlertUi, createChartGrid, createColorPicker, createDrawingTemplates, createIndexedDbWidgetStorage, createLayoutsController, createObjectsPanelContent, createOverlayStack, createTimeframePreferences, createTipController, createWidget, customTimeframeCode, defaultStorage, downloadText, esc, eventKeyCombo, focusable, focusables, formatColor, formatKeyCombo, fromChartCombo, glyph, h, historyPress, historyReady, inTextField, injectWidgetStyles, inputConditionMet, inputStates, intervalLabel, loadWindow, luminance, mix, mountAccountSummary, mountAlertEditor, mountAlertsPanel, mountBottombar, mountContextMenu, mountDataWindow, mountDrawingCoordinates, mountDrawingProperties, mountDrawingToolbar, mountIndicatorInputControls, mountIndicatorPicker, mountIndicatorSettings, mountLevelEditor, mountMobile, mountNewsPanel, mountObjectsPanel, mountPanelDock, mountQuickEntry, mountRail, mountSettingsDialog, mountStatusline, mountSymbolPicker, mountTextEditor, mountToasts, mountTopbar, mountWatchlistPanel, openCustomTimeframeDialog, openDateNavigation, openLayoutsMenu, openMenu, openShortcutsPanel, openTimeframeMenu, parseColor, parseKeyCombo, placeBelow, placeBeside, placeTip, priceDigits, quoteChange, rangeInterval, rangeWindow, readDataWindow, readableOn, registerWidgetDialog, registerWidgetDialogs, registeredWidgetDialogs, renderForm, resolveTheme, safeNewsUrl, safeSymbolIconUrl, sanitizePanelDockState, sanitizeRailPrefs, saveIndicatorTemplate, stripView, themeMode, token, toolGlyph, toolName, unregisterWidgetDialog, widgetDialog, widgetLayoutTarget, widgetText, widgetTokens, withAlpha };
4113
+ export { ACCOUNT_SUMMARY_CSS, type AccountSummaryHandle, type AccountSummaryOptions, type AlertEditorOptions, type AlertUi, type AlertUiOptions, type AlertsPanelOptions, type AsyncStorageLike, BOTTOMBAR_CSS, BOTTOMBAR_HEIGHT, type BottombarContext, type BottombarControls, type BottombarHandle, type BottombarOptions, type BottombarScaleState, type BottombarScaleToggle, type BottombarSession, type BottombarTarget, type Box, type BusHandler, CHART_GRID_CSS, CHART_GRID_LAYOUTS, CHART_GRID_LAYOUT_NAMES, CHART_GRID_PRESETS, CHART_TYPE_LABELS, COLOR_PICKER_CSS, type ChartGrid, type ChartGridApplyReport, type ChartGridCell, type ChartGridEventName, type ChartGridEvents, type ChartGridLayout, type ChartGridLayoutId, type ChartGridLayoutSlot, type ChartGridLayoutSpec, type ChartGridLinkGroup, type ChartGridMessage, type ChartGridOptions, type ChartGridPreset, type ChartGridUnevenLayout, ChartHistory, type ChartHistoryChange, type ChartHistoryCommand, type ChartHistoryError, type ChartHistoryOptions, type ChartHistoryStep, type ChartShortcutSource, type ColorPickerHandle, type ColorPickerOptions, type ContextMenuHooks, type ContextMenuOptions, DATA_WINDOW_CSS, DATE_NAVIGATION_CSS, DEFAULT_INTERVALS, DEFAULT_LOOKBACK_BARS, DEFAULT_RANGES, DIALOG_CSS, DRAWINGS_KEY_PREFIX, DRAWING_COORDINATES_CSS, DRAWING_TEMPLATES_CSS, DRAWING_TOOLBAR_CSS, type DataWindowHandle, type DataWindowOptions, type DataWindowRow, type DataWindowSection, type DataWindowSnapshot, type DateNavigationDialogOptions, type DateNavigationResult, type DateNavigationStatus, type DateNavigationTarget, DateNavigator, type DateNavigatorOptions, type DialogHandle, type DialogMount, type DrawingCoordinatesHandle, type DrawingPropertiesOptions, type DrawingTemplates, type DrawingToolbarHandle, type DrawingToolbarOptions, EVENT_DETAILS_CSS, type EventDetailAction, type EventDetailsLabels, type EventDetailsLoader, EventDetailsPopup, type EventDetailsPopupOptions, type FormControl, type FormHandle, type FormKind, type FormOptions, type FormTranslationOptions, type HistoryReach, type IndexedDbWidgetStorage, type IndexedDbWidgetStorageOptions, type IndicatorInputControlsHandle, type IndicatorInputControlsOptions, type IndicatorPickerOptions, type IndicatorSettingsOptions, type IndicatorSettingsTab, type IndicatorTemplateApplyMode, type InputState, KEYMAP_KEY, type KeyAction, type KeyBinding, type KeyBindingOptions, type KeyChordUse, type KeyConflict, type KeyEventLike, type KeyRebindResult, type KeyScope, Keymap, type KeymapChange, type KeymapGroup, type KeymapOptions, type KeymapOverrides, type KeymapRow, type LayoutApplyReport, type LayoutAutosaveStatus, type LayoutTarget, type LayoutsController, type LayoutsControllerOptions, type LayoutsState, type LevelEditorOptions, MAGNET_MODES, MIN_PRICE_DIGITS, type MarketStatusReading, type MenuEntry, type MenuItem, type MenuOptions, type MenuRow, type MobileHandle, type MobileMode, type MobileOptions, NEWS_PANEL_CSS, type NewsPanelHandle, type NewsPanelOptions, NewsReader, type NewsReaderOptions, type NewsSnapshot, type NewsStatus, OBJECTS_PANEL_CSS, type ObjectsPanelContent, type ObjectsPanelOptions, type OrderRequest, type OverlayOptions, type OverlayStack, PANEL_DOCK_CSS, type PanelDockContent, type PanelDockHandle, type PanelDockId, type PanelDockOptions, type PanelDockState, type PanelHandle, QUICK_ENTRY_CSS, type QuickEntryHandle, type QuickEntryOptions, QuoteBoard, type QuoteBoardOptions, type QuoteBoardStatus, type QuoteRow, type QuoteRowStatus, RAIL_GROUPS, RAIL_PREFS_KEY, RAIL_WIDTH, type RailGroup, type RailGroupItem, type RailHandle, type RailOptions, type RailPrefs, type RangeWindowOptions, type Rgba, SAVE_DEBOUNCE_MS, SEARCH_DEBOUNCE_MS, STATE_KEY, STATUSLINE_HEIGHT, STORAGE_PREFIX, SYMBOL_PICKER_CSS, type SettingsDialogOptions, type ShortcutsPanelOptions, type Size, type StatuslineHandle, type StatuslineOptions, type StorageLike, type SymbolPickerHandle, type SymbolPickerOptions, type SymbolSearch, TEXT_CONTRAST, TIP_DWELL_MS, TOAST_LEAVE_MS, TOAST_MAX, TOAST_MS, TOKEN_PREFIX, TOOLBAR_LINE_WIDTHS, TOPBAR_HEIGHT, type TextEditorHandle, type TextEditorOptions, type TimeframeMenuContext, type TimeframeMenuOptions, type TimeframePreferences, type TimeframePreferencesOptions, type TimeframeUnit, type TipController, type TipSide, type TipSource, type TipSpec, type ToastHandle, type ToastKind, type ToastOptions, type Toaster, type TopbarHandle, type TopbarOptions, type TopbarState, WATCHLIST_PANEL_CSS, WIDGET_COMPONENT_CSS, WIDGET_CSS, WIDGET_DIALOGS, WIDGET_FONT, WIDGET_MONO, WIDGET_STATE_VERSION, WIDGET_STYLE_ID, WIDGET_TIER, type WatchlistPanelHandle, type WatchlistPanelOptions, type WatchlistSort, type WatchlistSortKey, type Widget, type WidgetBottombarOptions, type WidgetBuiltinMessage, WidgetBus, type WidgetBusEvents, type WidgetChartState, type WidgetContext, type WidgetDialogName, type WidgetEventName, type WidgetMessageKey, type WidgetMessageParameters, type WidgetMessageValues, type WidgetNewsOptions, type WidgetOptions, type WidgetRange, type WidgetRangeUnit, type WidgetRangeWindow, type WidgetRestoreReport, type WidgetSessionCalendar, type WidgetState, WidgetStorage, type WidgetStorageError, type WidgetStorageOptions, type WidgetThemeName, type WidgetTokens, type WidgetTranslationOptions, type WidgetTranslator, type WidgetWatchlistOptions, applyIndicatorTemplate, applyTokens, attachContextMenu, boxIn, captureName, chartTypeChoices, chartTypeLabel, contextMenuEntries, contrastRatio, controlsFromFields, controlsFromInputs, createAlertUi, createChartGrid, createColorPicker, createDrawingTemplates, createIndexedDbWidgetStorage, createLayoutsController, createObjectsPanelContent, createOverlayStack, createTimeframePreferences, createTipController, createWidget, customTimeframeCode, defaultStorage, downloadText, esc, eventKeyCombo, focusable, focusables, formatColor, formatKeyCombo, fromChartCombo, glyph, h, historyPress, historyReady, inTextField, injectWidgetStyles, inputConditionMet, inputStates, intervalLabel, loadWindow, luminance, mix, mountAccountSummary, mountAlertEditor, mountAlertsPanel, mountBottombar, mountContextMenu, mountDataWindow, mountDrawingCoordinates, mountDrawingProperties, mountDrawingToolbar, mountIndicatorInputControls, mountIndicatorPicker, mountIndicatorSettings, mountLevelEditor, mountMobile, mountNewsPanel, mountObjectsPanel, mountPanelDock, mountQuickEntry, mountRail, mountSettingsDialog, mountStatusline, mountSymbolPicker, mountTextEditor, mountToasts, mountTopbar, mountWatchlistPanel, openCustomTimeframeDialog, openDateNavigation, openLayoutsMenu, openMenu, openShortcutsPanel, openTimeframeMenu, parseColor, parseKeyCombo, placeBelow, placeBeside, placeTip, priceDigits, quoteChange, rangeInterval, rangeWindow, readDataWindow, readableOn, registerWidgetDialog, registerWidgetDialogs, registeredWidgetDialogs, renderForm, resolveTheme, safeNewsUrl, safeSymbolIconUrl, sanitizePanelDockState, sanitizeRailPrefs, saveIndicatorTemplate, stripView, themeMode, token, toolGlyph, toolName, unregisterWidgetDialog, widgetDialog, widgetLayoutTarget, widgetText, widgetTokens, withAlpha };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openalgo-charts",
3
- "version": "2.7.3",
3
+ "version": "2.7.4",
4
4
  "description": "From-scratch, dependency-free canvas charting engine for OpenAlgo: professional-grade interactive rendering, advanced on-chart trading, and a one-call widget tier that adds the toolbar, drawing rail, dialogs and shortcuts.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "marketcalls",