@trdrs/quickcharts 5.9.0 → 5.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +103 -21
  3. package/dist/{ar-UCEHBM7A.js → ar-CFMLQMWS.js} +87 -12
  4. package/dist/ar-CFMLQMWS.js.map +1 -0
  5. package/dist/{assets-BlTu7v6I.d.ts → assets-_zQbuobs.d.ts} +135 -18
  6. package/dist/{ca_ES-BFGULOZT.js → ca_ES-OTOMJJ2G.js} +87 -12
  7. package/dist/ca_ES-OTOMJJ2G.js.map +1 -0
  8. package/dist/{chunk-6OLK55Q2.js → chunk-3GGBHQAE.js} +1 -1
  9. package/dist/chunk-3GGBHQAE.js.map +1 -0
  10. package/dist/{chunk-QDGOF34R.js → chunk-NWUGE6XN.js} +53 -14
  11. package/dist/chunk-NWUGE6XN.js.map +1 -0
  12. package/dist/{de-GCEC2EYH.js → de-BJ5E7LGZ.js} +86 -11
  13. package/dist/de-BJ5E7LGZ.js.map +1 -0
  14. package/dist/drawings.d.ts +2 -2
  15. package/dist/drawings.js +1 -1
  16. package/dist/{es-ZB54BYRR.js → es-PO36YPXJ.js} +87 -12
  17. package/dist/es-PO36YPXJ.js.map +1 -0
  18. package/dist/feature-manifest.json +74 -1
  19. package/dist/format.d.ts +2 -2
  20. package/dist/format.js +1 -1
  21. package/dist/{fr-G4UQFXAQ.js → fr-A4WAZ3K4.js} +87 -12
  22. package/dist/fr-A4WAZ3K4.js.map +1 -0
  23. package/dist/{he_IL-WWCSQOSV.js → he_IL-Q3BO4MEG.js} +87 -12
  24. package/dist/he_IL-Q3BO4MEG.js.map +1 -0
  25. package/dist/{id_ID-7F2V4KIE.js → id_ID-K22OKQPH.js} +87 -12
  26. package/dist/id_ID-K22OKQPH.js.map +1 -0
  27. package/dist/index.d.ts +457 -226
  28. package/dist/index.js +878 -298
  29. package/dist/index.js.map +1 -1
  30. package/dist/{it-ACKDFMK4.js → it-DPPNAWOV.js} +87 -12
  31. package/dist/it-DPPNAWOV.js.map +1 -0
  32. package/dist/{ja-O64YJRIH.js → ja-U7C5N3LG.js} +86 -11
  33. package/dist/ja-U7C5N3LG.js.map +1 -0
  34. package/dist/{ko-ZVNVRNQC.js → ko-5LFLZG7S.js} +87 -12
  35. package/dist/ko-5LFLZG7S.js.map +1 -0
  36. package/dist/{ms_MY-3OXH5BKH.js → ms_MY-H75T2Q5A.js} +87 -12
  37. package/dist/ms_MY-H75T2Q5A.js.map +1 -0
  38. package/dist/{pl-22JL2HZV.js → pl-3YOKB2BS.js} +87 -12
  39. package/dist/pl-3YOKB2BS.js.map +1 -0
  40. package/dist/{pt-P4JJ5ICZ.js → pt-PEX6C6L5.js} +87 -12
  41. package/dist/pt-PEX6C6L5.js.map +1 -0
  42. package/dist/quickcharts.css +310 -121
  43. package/dist/{ru-YC5ROSB7.js → ru-4NPNXA7E.js} +87 -12
  44. package/dist/ru-4NPNXA7E.js.map +1 -0
  45. package/dist/{sv-X5EQXKFO.js → sv-BY5AK2AT.js} +87 -12
  46. package/dist/sv-BY5AK2AT.js.map +1 -0
  47. package/dist/{symbology-D3SLclrU.d.ts → symbology-BfPxIJjT.d.ts} +8 -5
  48. package/dist/{symbols-DNMxzgfN.d.ts → symbols-BxtRs6Uu.d.ts} +1 -1
  49. package/dist/symbols.d.ts +2 -2
  50. package/dist/{th-3JWJOZ46.js → th-ITZ7VOMZ.js} +87 -12
  51. package/dist/th-ITZ7VOMZ.js.map +1 -0
  52. package/dist/theme-manifest.json +141 -20
  53. package/dist/{tr-E3WXPPX4.js → tr-D4GW77TN.js} +87 -12
  54. package/dist/tr-D4GW77TN.js.map +1 -0
  55. package/dist/{vi-4YVVQQHU.js → vi-H4RJW4FL.js} +87 -12
  56. package/dist/vi-H4RJW4FL.js.map +1 -0
  57. package/dist/{zh-GTCA4GAB.js → zh-3QGRRBGK.js} +86 -11
  58. package/dist/zh-3QGRRBGK.js.map +1 -0
  59. package/dist/{zh_TW-47TPXCBL.js → zh_TW-45CVENDQ.js} +86 -11
  60. package/dist/zh_TW-45CVENDQ.js.map +1 -0
  61. package/package.json +1 -1
  62. package/dist/ar-UCEHBM7A.js.map +0 -1
  63. package/dist/ca_ES-BFGULOZT.js.map +0 -1
  64. package/dist/chunk-6OLK55Q2.js.map +0 -1
  65. package/dist/chunk-QDGOF34R.js.map +0 -1
  66. package/dist/de-GCEC2EYH.js.map +0 -1
  67. package/dist/es-ZB54BYRR.js.map +0 -1
  68. package/dist/fr-G4UQFXAQ.js.map +0 -1
  69. package/dist/he_IL-WWCSQOSV.js.map +0 -1
  70. package/dist/id_ID-7F2V4KIE.js.map +0 -1
  71. package/dist/it-ACKDFMK4.js.map +0 -1
  72. package/dist/ja-O64YJRIH.js.map +0 -1
  73. package/dist/ko-ZVNVRNQC.js.map +0 -1
  74. package/dist/ms_MY-3OXH5BKH.js.map +0 -1
  75. package/dist/pl-22JL2HZV.js.map +0 -1
  76. package/dist/pt-P4JJ5ICZ.js.map +0 -1
  77. package/dist/ru-YC5ROSB7.js.map +0 -1
  78. package/dist/sv-X5EQXKFO.js.map +0 -1
  79. package/dist/th-3JWJOZ46.js.map +0 -1
  80. package/dist/tr-E3WXPPX4.js.map +0 -1
  81. package/dist/vi-4YVVQQHU.js.map +0 -1
  82. package/dist/zh-GTCA4GAB.js.map +0 -1
  83. package/dist/zh_TW-47TPXCBL.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { C as ChartDatafeed, M as MarkIconId, F as FeedBar, S as SymbolRow, D as DatafeedSearchOptions, a as SearchPage, b as SearchClassNode } from './symbols-DNMxzgfN.js';
2
- export { B as BarMark, c as BarsEvent, d as DatafeedConfig, e as FeedUnavailableError, H as HistoryPage, f as MarkColor, g as MarkColorPair, h as MarkColorRole, i as MarkLine, j as MarkLineStyle, k as MarkPlacement, l as MarkShape, O as OlderPageVerdict, P as PricesHandlers, m as SubscribeHandlers, n as SymbolNames, o as SymbolPrices, T as TimescaleMark, p as olderPageVerdict, s as symbolNames } from './symbols-DNMxzgfN.js';
3
- import { ao as en, C as ChartMessageKey, W as TimeframeVisibility, G as GlyphSourcePort, M as MagnetMode, d as CursorMode, Q as TextEditFrame, N as TextDraft, L as LineStyle, I as IDrawing, m as DrawingCounts, D as DrawingStyle, $ as VisibilityPreset, X as ToolPreset, Y as ToolTemplate, S as SerializedDrawing, o as DrawingPreferences, l as DrawingAssetPort } from './assets-BlTu7v6I.js';
1
+ import { C as ChartDatafeed, M as MarkIconId, F as FeedBar, S as SymbolRow, D as DatafeedSearchOptions, a as SearchPage, b as SearchClassNode } from './symbols-BxtRs6Uu.js';
2
+ export { B as BarMark, c as BarsEvent, d as DatafeedConfig, e as FeedUnavailableError, H as HistoryPage, f as MarkColor, g as MarkColorPair, h as MarkColorRole, i as MarkLine, j as MarkLineStyle, k as MarkPlacement, l as MarkShape, O as OlderPageVerdict, P as PricesHandlers, m as SubscribeHandlers, n as SymbolNames, o as SymbolPrices, T as TimescaleMark, p as olderPageVerdict, s as symbolNames } from './symbols-BxtRs6Uu.js';
3
+ import { ao as en, C as ChartMessageKey, W as TimeframeVisibility, G as GlyphSourcePort, M as MagnetMode, d as CursorMode, Q as TextEditFrame, N as TextDraft, L as LineStyle, I as IDrawing, m as DrawingCounts, D as DrawingStyle, $ as VisibilityPreset, X as ToolPreset, Y as ToolTemplate, S as SerializedDrawing, o as DrawingPreferences, l as DrawingAssetPort } from './assets-_zQbuobs.js';
4
4
  import { b as ResourceRef, C as ChartSaveLoadAdapter, q as ChartMeta, t as ChartBody, h as DrawingResourceContext, R as ResourceStore, u as DrawingsMeta, j as DrawingsBody, T as TemplateMeta, a as TemplateBody, v as LayoutMeta, w as LayoutBody, e as DrawingContextKind } from './resources-XglhzzW0.js';
5
5
  export { c as ChartLocalDrawingContext, D as DRAWING_CONTEXT_VERSION, d as DRAWING_DOCUMENT_VERSION, f as DrawingEntry, g as DrawingGroup, i as DrawingTombstone, L as LayoutSharedDrawingContext, M as MemoryResourcesOptions, x as ResourceAbortError, S as SymbolGlobalDrawingContext, y as TemplateKind, W as WriteOutcome, k as drawingContextKey, l as emptyDrawingDocument, m as liveDrawingEntries, n as liveDrawingGroups, z as memorySaveLoadAdapter, o as mergeDrawingDocuments, p as parseDrawingDocument, r as reviseDrawingDocument, s as sameDrawingContext } from './resources-XglhzzW0.js';
6
6
  import { LineData, UTCTimestamp, HistogramData, WhitespaceData, IChartApi, ISeriesApi, CreatePriceLineOptions, PriceLineOptions, ISeriesPrimitive, Time, PriceScaleMode, SeriesType, SeriesAttachedParameter, TickMarkType } from 'lightweight-charts';
7
- import { D as DataStatus, S as SymbolInfo, P as PriceFormat } from './symbology-D3SLclrU.js';
8
- export { a as Subsession, b as SubsessionId, T as TickBand, p as parseTickBands, t as tickBandFor } from './symbology-D3SLclrU.js';
7
+ import { D as DataStatus, S as SymbolInfo, P as PriceFormat } from './symbology-BfPxIJjT.js';
8
+ export { a as Subsession, b as SubsessionId, T as TickBand, p as parseTickBands, t as tickBandFor } from './symbology-BfPxIJjT.js';
9
9
  import { PriceFormatter } from './format.js';
10
10
  export { NumericPunctuation, PriceFormatterOptions, createPriceFormatter } from './format.js';
11
11
 
@@ -137,12 +137,17 @@ declare const THEME_ROLES: readonly [{
137
137
  readonly id: "scale.sessionExtended";
138
138
  readonly family: "scale";
139
139
  readonly kind: "color";
140
- readonly description: "Shading over electronic-hours bars.";
140
+ readonly description: "Shading over overnight and other extended-hours bars.";
141
141
  }, {
142
142
  readonly id: "scale.sessionAfterHours";
143
143
  readonly family: "scale";
144
144
  readonly kind: "color";
145
- readonly description: "Shading over after-hours bars.";
145
+ readonly description: "Shading over post-market bars.";
146
+ }, {
147
+ readonly id: "scale.sessionElectronic";
148
+ readonly family: "scale";
149
+ readonly kind: "color";
150
+ readonly description: "Shading over the bars of an electronic trading day outside its regular hours.";
146
151
  }, {
147
152
  readonly id: "scale.sessionClosed";
148
153
  readonly family: "scale";
@@ -644,27 +649,77 @@ declare const THEME_ROLES: readonly [{
644
649
  readonly id: "status.sessionPreMarket";
645
650
  readonly family: "status";
646
651
  readonly kind: "color";
647
- readonly description: "The session status marker for pre-market.";
652
+ readonly description: "The status mark, the title and the timeline stretch for pre-market.";
653
+ }, {
654
+ readonly id: "status.sessionPreMarketTint";
655
+ readonly family: "status";
656
+ readonly kind: "color";
657
+ readonly description: "The circle behind the pre-market status mark.";
648
658
  }, {
649
659
  readonly id: "status.sessionOpen";
650
660
  readonly family: "status";
651
661
  readonly kind: "color";
652
- readonly description: "The session status marker while the market is open.";
662
+ readonly description: "The status mark, the title and the timeline stretch while the market is open.";
663
+ }, {
664
+ readonly id: "status.sessionOpenTint";
665
+ readonly family: "status";
666
+ readonly kind: "color";
667
+ readonly description: "The circle behind the open market status mark.";
653
668
  }, {
654
669
  readonly id: "status.sessionExtended";
655
670
  readonly family: "status";
656
671
  readonly kind: "color";
657
- readonly description: "The session status marker for electronic hours.";
672
+ readonly description: "The status mark, the title and the timeline stretch for overnight and extended hours.";
673
+ }, {
674
+ readonly id: "status.sessionExtendedTint";
675
+ readonly family: "status";
676
+ readonly kind: "color";
677
+ readonly description: "The circle behind the overnight and extended-hours status mark.";
658
678
  }, {
659
679
  readonly id: "status.sessionAfterHours";
660
680
  readonly family: "status";
661
681
  readonly kind: "color";
662
- readonly description: "The session status marker for after-hours.";
682
+ readonly description: "The status mark, the title and the timeline stretch for post-market.";
683
+ }, {
684
+ readonly id: "status.sessionAfterHoursTint";
685
+ readonly family: "status";
686
+ readonly kind: "color";
687
+ readonly description: "The circle behind the post-market status mark.";
663
688
  }, {
664
689
  readonly id: "status.sessionClosed";
665
690
  readonly family: "status";
666
691
  readonly kind: "color";
667
- readonly description: "The session status marker while the market is closed.";
692
+ readonly description: "The status mark and the title while the market is closed, a holiday included.";
693
+ }, {
694
+ readonly id: "status.sessionClosedTint";
695
+ readonly family: "status";
696
+ readonly kind: "color";
697
+ readonly description: "The circle behind the closed market status mark.";
698
+ }, {
699
+ readonly id: "status.sessionTrack";
700
+ readonly family: "status";
701
+ readonly kind: "color";
702
+ readonly description: "The closed stretches of the status popup's timeline.";
703
+ }, {
704
+ readonly id: "status.dataDelayed";
705
+ readonly family: "status";
706
+ readonly kind: "color";
707
+ readonly description: "The status mark and the title for delayed data.";
708
+ }, {
709
+ readonly id: "status.dataDelayedTint";
710
+ readonly family: "status";
711
+ readonly kind: "color";
712
+ readonly description: "The circle behind the delayed data status mark.";
713
+ }, {
714
+ readonly id: "status.dataEndOfDay";
715
+ readonly family: "status";
716
+ readonly kind: "color";
717
+ readonly description: "The status mark and the title for end-of-day data.";
718
+ }, {
719
+ readonly id: "status.dataEndOfDayTint";
720
+ readonly family: "status";
721
+ readonly kind: "color";
722
+ readonly description: "The circle behind the end-of-day data status mark.";
668
723
  }, {
669
724
  readonly id: "illustration.ink";
670
725
  readonly family: "illustration";
@@ -928,7 +983,7 @@ interface DictionaryLoader<Source extends Catalog, Code extends string = ChartLo
928
983
  has(code: Code): boolean;
929
984
  }
930
985
 
931
- declare const KEYS_ADDED_IN_MAJOR: readonly ["chrome.autoScale", "chrome.autoScaleMark", "chrome.currencyAndUnit", "chrome.deletePane", "chrome.logScale", "chrome.logScaleMark", "chrome.paneButtons", "chrome.priceLevelMenu", "chrome.scaleAsk", "chrome.scaleBid", "chrome.scaleHigh", "chrome.scaleLow", "chrome.scaleMenu", "chrome.scaleModes", "command.drawingPlaceHorizontalLine", "command.marksRefresh", "history.changeMovePane", "legend.movePaneDown", "legend.movePaneUp", "menu.autoFitScale", "menu.drawHorizontalLine", "menu.invertScale", "menu.labelBidAsk", "menu.labelExtendedHours", "menu.labelHighLow", "menu.labelIndicatorName", "menu.labelIndicatorValue", "menu.labelPreviousClose", "menu.labelSymbolName", "menu.labelSymbolValue", "menu.lineBidAsk", "menu.lineExtendedHours", "menu.lineHighLow", "menu.linePreviousClose", "menu.linePrice", "menu.moreSettings", "menu.moveScaleLeft", "menu.moveScaleRight", "menu.resetPriceScale", "menu.scaleIndexed", "menu.scaleLabels", "menu.scaleLines", "menu.scaleLogarithmic", "menu.scalePercent", "menu.scalePriceChartOnly", "menu.scaleRegular", "picker.allKinds", "picker.indicators", "picker.kindFilter", "picker.technicals", "search.moreListings", "settings.defaults", "settings.falling", "settings.growing", "settings.indicatorPinnedNote", "settings.inputValues", "settings.inputsInStatusLine", "settings.outputValues", "settings.resetSettings", "settings.saveAsDefault", "settings.valuesInStatusLine"];
986
+ declare const KEYS_ADDED_IN_MAJOR: readonly ["chrome.autoScale", "chrome.autoScaleMark", "chrome.compareTip", "chrome.currencyAndUnit", "chrome.deletePane", "chrome.fullscreenTip", "chrome.imageTip", "chrome.indicatorsTip", "chrome.logScale", "chrome.logScaleMark", "chrome.paneButtons", "chrome.priceLevelMenu", "chrome.scaleAsk", "chrome.scaleBid", "chrome.scaleHigh", "chrome.scaleLow", "chrome.scaleMenu", "chrome.scaleModes", "chrome.sessionShortAllHours", "chrome.sessionShortExtended", "chrome.sessionShortRegular", "chrome.settingsTip", "command.drawingPlaceHorizontalLine", "command.marksRefresh", "drawing.tipAnnotations", "drawing.tipCursors", "drawing.tipFibGann", "drawing.tipForecast", "drawing.tipHideAll", "drawing.tipHideFavorites", "drawing.tipHideOptions", "drawing.tipKeepDrawing", "drawing.tipMagnet", "drawing.tipMagnets", "drawing.tipRemoveObjects", "drawing.tipRemoveOptions", "drawing.tipShapes", "drawing.tipShowAll", "drawing.tipShowFavorites", "history.changeMovePane", "legend.movePaneDown", "legend.movePaneUp", "legend.show", "menu.autoFitScale", "menu.drawHorizontalLine", "menu.invertScale", "menu.labelBidAsk", "menu.labelExtendedHours", "menu.labelHighLow", "menu.labelIndicatorName", "menu.labelIndicatorValue", "menu.labelPreviousClose", "menu.labelSymbolName", "menu.labelSymbolValue", "menu.lineBidAsk", "menu.lineExtendedHours", "menu.lineHighLow", "menu.linePreviousClose", "menu.linePrice", "menu.moreSettings", "menu.moveScaleLeft", "menu.moveScaleRight", "menu.resetPriceScale", "menu.scaleIndexed", "menu.scaleLabels", "menu.scaleLines", "menu.scaleLogarithmic", "menu.scalePercent", "menu.scalePriceChartOnly", "menu.scaleRegular", "picker.allKinds", "picker.favoriteTip", "picker.indicators", "picker.kindFilter", "picker.technicals", "picker.unfavoriteTip", "range.intervalDays", "range.intervalHours", "range.intervalMinutes", "range.intervalMonths", "range.intervalSeconds", "range.intervalTicks", "range.intervalWeeks", "range.tipFiveDays", "range.tipFiveYears", "range.tipIntervals", "range.tipOneDay", "range.tipOneMonth", "range.tipOneYear", "range.tipSixMonths", "range.tipThreeMonths", "search.collapse", "search.expand", "search.moreListings", "settings.defaults", "settings.electronic", "settings.electronicHoursBackground", "settings.falling", "settings.growing", "settings.indicatorPinnedNote", "settings.inputValues", "settings.inputsInStatusLine", "settings.outputValues", "settings.resetSettings", "settings.saveAsDefault", "settings.sessionElectronic", "settings.sessionRegularHours", "settings.valuesInStatusLine", "status.closedText", "status.closesIn", "status.delayedText", "status.delayedTitle", "status.extendedIn", "status.holidayText", "status.holidayTitle", "status.openText", "status.opensFullyIn", "status.opensIn", "status.opensPreMarketIn", "status.overnightIn", "status.overnightText", "status.overnightTitle", "status.postMarketIn", "status.postText", "status.preMarketIn", "status.preText", "status.textPair", "timeframe.intervalTip", "timeframe.tipDays", "timeframe.tipHours", "timeframe.tipMinutes", "timeframe.tipMonths", "timeframe.tipSeconds", "timeframe.tipTicks", "timeframe.tipWeeks", "timezone.tip"];
932
987
  type KeyAddedInMajor = (typeof KEYS_ADDED_IN_MAJOR)[number];
933
988
 
934
989
  type ChartTranslate = Translate<typeof en>;
@@ -1025,11 +1080,15 @@ declare const chartDictionaries: DictionaryLoader<{
1025
1080
  readonly 'settings.sessionRegular': "Regular";
1026
1081
  readonly 'settings.sessionExtended': "Extended";
1027
1082
  readonly 'settings.sessionAllHours': "24 hours";
1083
+ readonly 'settings.sessionElectronic': "Electronic trading hours";
1084
+ readonly 'settings.sessionRegularHours': "Regular trading hours";
1028
1085
  readonly 'settings.extendedHoursBackground': "Pre/post market hours background";
1029
1086
  readonly 'settings.allHoursBackground': "Pre/post/night market hours background";
1087
+ readonly 'settings.electronicHoursBackground': "Electronic trading hours background";
1030
1088
  readonly 'settings.preMarket': "Pre-market";
1031
1089
  readonly 'settings.postMarket': "Post-market";
1032
1090
  readonly 'settings.night': "Night";
1091
+ readonly 'settings.electronic': "Electronic";
1033
1092
  readonly 'settings.precision': "Precision";
1034
1093
  readonly 'settings.precisionDefault': "Default";
1035
1094
  readonly 'settings.precisionInteger': "Integer";
@@ -1161,6 +1220,8 @@ declare const chartDictionaries: DictionaryLoader<{
1161
1220
  readonly 'picker.author': "Author";
1162
1221
  readonly 'picker.favorite': "Favorite {name}";
1163
1222
  readonly 'picker.unfavorite': "Unfavorite {name}";
1223
+ readonly 'picker.favoriteTip': "Add to favorites";
1224
+ readonly 'picker.unfavoriteTip': "Remove from favorites";
1164
1225
  readonly 'picker.loading': "Loading indicators…";
1165
1226
  readonly 'picker.unavailable': "Indicator content is unavailable. Try again.";
1166
1227
  readonly 'picker.actionFailed': "The action could not be completed. Try again.";
@@ -1192,8 +1253,16 @@ declare const chartDictionaries: DictionaryLoader<{
1192
1253
  readonly 'chrome.replay': "Bar replay";
1193
1254
  readonly 'chrome.replayChip': "Replay";
1194
1255
  readonly 'chrome.image': "Chart image";
1256
+ readonly 'chrome.compareTip': "Compare symbols";
1257
+ readonly 'chrome.indicatorsTip': "Indicators and strategies";
1258
+ readonly 'chrome.settingsTip': "Settings";
1259
+ readonly 'chrome.fullscreenTip': "Fullscreen mode";
1260
+ readonly 'chrome.imageTip': "Take a snapshot";
1195
1261
  readonly 'chrome.session': "Trading session";
1196
1262
  readonly 'chrome.sessionsHeading': "Sessions";
1263
+ readonly 'chrome.sessionShortExtended': "ETH";
1264
+ readonly 'chrome.sessionShortRegular': "RTH";
1265
+ readonly 'chrome.sessionShortAllHours': "24H";
1197
1266
  readonly 'chrome.navigation': "Chart navigation";
1198
1267
  readonly 'chrome.activeChart': "{symbol}, {timeframe}";
1199
1268
  readonly 'chrome.scaleHigh': "High";
@@ -1388,6 +1457,21 @@ declare const chartDictionaries: DictionaryLoader<{
1388
1457
  readonly 'drawing.alwaysRemoveLocked': "Always remove locked drawings";
1389
1458
  readonly 'drawing.favTools': "Favorite drawing tools";
1390
1459
  readonly 'drawing.favToolsBar': "Favorite drawing tools toolbar";
1460
+ readonly 'drawing.tipCursors': "Cursors";
1461
+ readonly 'drawing.tipFibGann': "Gann and Fibonacci tools";
1462
+ readonly 'drawing.tipForecast': "Forecasting and measurement tools";
1463
+ readonly 'drawing.tipShapes': "Geometric shapes";
1464
+ readonly 'drawing.tipAnnotations': "Annotation tools";
1465
+ readonly 'drawing.tipMagnet': "Magnet mode snaps drawings placed near price bars to the closest OHLC value";
1466
+ readonly 'drawing.tipMagnets': "Magnets";
1467
+ readonly 'drawing.tipKeepDrawing': "Keep drawing";
1468
+ readonly 'drawing.tipHideAll': "Hide all drawings";
1469
+ readonly 'drawing.tipShowAll': "Show all drawings";
1470
+ readonly 'drawing.tipHideOptions': "Hide options";
1471
+ readonly 'drawing.tipRemoveObjects': "Remove objects";
1472
+ readonly 'drawing.tipRemoveOptions': "Remove options";
1473
+ readonly 'drawing.tipShowFavorites': "Show favorite drawing tools toolbar";
1474
+ readonly 'drawing.tipHideFavorites': "Hide favorite drawing tools toolbar";
1391
1475
  readonly 'drawing.favAdd': "Add {tool} to favorites";
1392
1476
  readonly 'drawing.favRemove': "Remove {tool} from favorites";
1393
1477
  readonly 'drawing.moveToolbar': "Move toolbar";
@@ -1801,6 +1885,8 @@ declare const chartDictionaries: DictionaryLoader<{
1801
1885
  readonly one: "{count} more listing";
1802
1886
  readonly other: "{count} more listings";
1803
1887
  };
1888
+ readonly 'search.expand': "Expand";
1889
+ readonly 'search.collapse': "Collapse";
1804
1890
  readonly 'search.allClasses': "All";
1805
1891
  readonly 'search.classFilter': "Asset class";
1806
1892
  readonly 'search.limitToScope': "Limit search to {scope}";
@@ -1816,15 +1902,48 @@ declare const chartDictionaries: DictionaryLoader<{
1816
1902
  readonly 'status.title': "Market status";
1817
1903
  readonly 'status.unknownTitle': "Session unknown";
1818
1904
  readonly 'status.unknown': "This symbol's trading session has not resolved yet.";
1819
- readonly 'status.endOfDayTitle': "End of day";
1820
- readonly 'status.endOfDay': "Prices update once a day, after the session closes.";
1905
+ readonly 'status.endOfDayTitle': "End-of-day data";
1906
+ readonly 'status.endOfDay': "Prices update once a day, after the session ends.";
1907
+ readonly 'status.delayedTitle': "Data is delayed";
1908
+ readonly 'status.delayedText': "This symbol's prices are delayed.";
1909
+ readonly 'status.overnightTitle': "Overnight";
1910
+ readonly 'status.holidayTitle': "Holiday";
1911
+ readonly 'status.openText': "All's well, market is open.";
1912
+ readonly 'status.preText': "Morning. Market is open for pre-market trading.";
1913
+ readonly 'status.postText': "Evening. Market is open for post-market trading.";
1914
+ readonly 'status.overnightText': "Hey there, night owl. Market is currently open for overnight trading.";
1915
+ readonly 'status.extended': "Market is open for extended-hours trading.";
1916
+ readonly 'status.closedText': "Time for a walk, this market is closed.";
1917
+ readonly 'status.holidayText': "Market is currently on holiday. Lucky them.";
1918
+ readonly 'status.closesIn': "It'll close in {until}.";
1919
+ readonly 'status.postMarketIn': "It'll go to post-market trading in {until}.";
1920
+ readonly 'status.overnightIn': "Overnight trading will start in {until}.";
1921
+ readonly 'status.extendedIn': "It'll go to extended-hours trading in {until}.";
1922
+ readonly 'status.preMarketIn': "Pre-market will start in {until}.";
1923
+ readonly 'status.opensFullyIn': "It'll open fully in {until}.";
1924
+ readonly 'status.opensPreMarketIn': "It'll open for pre-market trading in {until}.";
1925
+ readonly 'status.opensIn': "It'll open in {until}.";
1926
+ readonly 'status.textPair': "{sentence} {countdown}";
1927
+ readonly 'status.exchangeTimezone': "Exchange timezone: {zone}";
1928
+ readonly 'status.durationDays': {
1929
+ readonly one: "{count} day";
1930
+ readonly other: "{count} days";
1931
+ };
1932
+ readonly 'status.durationHours': {
1933
+ readonly one: "{count} hour";
1934
+ readonly other: "{count} hours";
1935
+ };
1936
+ readonly 'status.durationMinutes': {
1937
+ readonly one: "{count} minute";
1938
+ readonly other: "{count} minutes";
1939
+ };
1940
+ readonly 'status.durationPair': "{major} and {minor}";
1821
1941
  readonly 'status.delayed': "Prices are delayed.";
1822
1942
  readonly 'status.delayedPair': "{status} {delay}";
1823
1943
  readonly 'status.continuousTitle': "Open 24/7";
1824
1944
  readonly 'status.continuous': "This market trades around the clock and never closes.";
1825
1945
  readonly 'status.open': "Market is open for regular trading.";
1826
1946
  readonly 'status.openCloses': "Market is open for regular trading. Closes in {until}.";
1827
- readonly 'status.extended': "Market is open for extended-hours trading.";
1828
1947
  readonly 'status.extendedRegular': "Market is open for extended-hours trading. Regular hours start in {until}.";
1829
1948
  readonly 'status.extendedCloses': "Market is open for extended-hours trading. Closes in {until}.";
1830
1949
  readonly 'status.pre': "Market is open for pre-market trading.";
@@ -1834,20 +1953,6 @@ declare const chartDictionaries: DictionaryLoader<{
1834
1953
  readonly 'status.closed': "Market is closed.";
1835
1954
  readonly 'status.closedPre': "Market is closed. Pre-market starts in {until}.";
1836
1955
  readonly 'status.closedOpens': "Market is closed. Opens in {until}.";
1837
- readonly 'status.exchangeTimezone': "Exchange timezone: {zone}";
1838
- readonly 'status.durationDays': {
1839
- readonly one: "{count} day";
1840
- readonly other: "{count} days";
1841
- };
1842
- readonly 'status.durationHours': {
1843
- readonly one: "{count} hour";
1844
- readonly other: "{count} hours";
1845
- };
1846
- readonly 'status.durationMinutes': {
1847
- readonly one: "{count} minute";
1848
- readonly other: "{count} minutes";
1849
- };
1850
- readonly 'status.durationPair': "{major} {minor}";
1851
1956
  readonly 'range.oneDay': "1 Day";
1852
1957
  readonly 'range.fiveDays': "5 Days";
1853
1958
  readonly 'range.oneMonth': "1 Month";
@@ -1858,6 +1963,42 @@ declare const chartDictionaries: DictionaryLoader<{
1858
1963
  readonly 'range.fiveYears': "5 Years";
1859
1964
  readonly 'range.all': "All data";
1860
1965
  readonly 'range.tip': "{range} · {timeframe} bars";
1966
+ readonly 'range.tipIntervals': "{range} in {timeframe} intervals";
1967
+ readonly 'range.intervalTicks': {
1968
+ readonly one: "{count} tick";
1969
+ readonly other: "{count} tick";
1970
+ };
1971
+ readonly 'range.intervalSeconds': {
1972
+ readonly one: "{count} second";
1973
+ readonly other: "{count} second";
1974
+ };
1975
+ readonly 'range.intervalMinutes': {
1976
+ readonly one: "{count} minute";
1977
+ readonly other: "{count} minute";
1978
+ };
1979
+ readonly 'range.intervalHours': {
1980
+ readonly one: "{count} hour";
1981
+ readonly other: "{count} hour";
1982
+ };
1983
+ readonly 'range.intervalDays': {
1984
+ readonly one: "{count} day";
1985
+ readonly other: "{count} day";
1986
+ };
1987
+ readonly 'range.intervalWeeks': {
1988
+ readonly one: "{count} week";
1989
+ readonly other: "{count} week";
1990
+ };
1991
+ readonly 'range.intervalMonths': {
1992
+ readonly one: "{count} month";
1993
+ readonly other: "{count} month";
1994
+ };
1995
+ readonly 'range.tipOneDay': "1 day";
1996
+ readonly 'range.tipFiveDays': "5 days";
1997
+ readonly 'range.tipOneMonth': "1 month";
1998
+ readonly 'range.tipThreeMonths': "3 months";
1999
+ readonly 'range.tipSixMonths': "6 months";
2000
+ readonly 'range.tipOneYear': "1 year";
2001
+ readonly 'range.tipFiveYears': "5 years";
1861
2002
  readonly 'range.zoomIn': "Zoom in";
1862
2003
  readonly 'range.zoomOut': "Zoom out";
1863
2004
  readonly 'range.scrollLeft': "Scroll left";
@@ -1866,6 +2007,7 @@ declare const chartDictionaries: DictionaryLoader<{
1866
2007
  readonly 'range.maximizeChart': "Maximize chart";
1867
2008
  readonly 'range.restoreChart': "Restore chart";
1868
2009
  readonly 'timezone.title': "Chart timezone";
2010
+ readonly 'timezone.tip': "Timezone";
1869
2011
  readonly 'timezone.exchange': "Exchange";
1870
2012
  readonly 'timezone.quarter': "Q{quarter}";
1871
2013
  readonly 'timeframe.title': "Timeframe";
@@ -1914,6 +2056,35 @@ declare const chartDictionaries: DictionaryLoader<{
1914
2056
  readonly 'timeframe.addCustom': "Add custom timeframe";
1915
2057
  readonly 'timeframe.increment': "Increment";
1916
2058
  readonly 'timeframe.decrement': "Decrement";
2059
+ readonly 'timeframe.intervalTip': "Chart interval";
2060
+ readonly 'timeframe.tipTicks': {
2061
+ readonly one: "{count} tick";
2062
+ readonly other: "{count} ticks";
2063
+ };
2064
+ readonly 'timeframe.tipSeconds': {
2065
+ readonly one: "{count} second";
2066
+ readonly other: "{count} seconds";
2067
+ };
2068
+ readonly 'timeframe.tipMinutes': {
2069
+ readonly one: "{count} minute";
2070
+ readonly other: "{count} minutes";
2071
+ };
2072
+ readonly 'timeframe.tipHours': {
2073
+ readonly one: "{count} hour";
2074
+ readonly other: "{count} hours";
2075
+ };
2076
+ readonly 'timeframe.tipDays': {
2077
+ readonly one: "{count} day";
2078
+ readonly other: "{count} days";
2079
+ };
2080
+ readonly 'timeframe.tipWeeks': {
2081
+ readonly one: "{count} week";
2082
+ readonly other: "{count} weeks";
2083
+ };
2084
+ readonly 'timeframe.tipMonths': {
2085
+ readonly one: "{count} month";
2086
+ readonly other: "{count} months";
2087
+ };
1917
2088
  readonly 'indicator.smaName': "Simple Moving Average";
1918
2089
  readonly 'indicator.smaDescription': "Smoothed average over a fixed window";
1919
2090
  readonly 'indicator.emaName': "Exponential Moving Average";
@@ -2091,7 +2262,7 @@ declare const chartDictionaries: DictionaryLoader<{
2091
2262
  readonly 'session.pre': "Pre-market";
2092
2263
  readonly 'session.open': "Market open";
2093
2264
  readonly 'session.extended': "Extended hours";
2094
- readonly 'session.after': "After-hours";
2265
+ readonly 'session.after': "Post-market";
2095
2266
  readonly 'session.closed': "Market closed";
2096
2267
  readonly 'inputs.cancel': "Cancel";
2097
2268
  readonly 'inputs.apply': "Apply";
@@ -2302,6 +2473,7 @@ declare const chartDictionaries: DictionaryLoader<{
2302
2473
  readonly 'legend.changeSymbol': "Change symbol";
2303
2474
  readonly 'legend.removeCompare': "Remove comparison";
2304
2475
  readonly 'legend.removeIndicator': "Remove indicator";
2476
+ readonly 'legend.show': "Show";
2305
2477
  }, ChartLocaleCode>;
2306
2478
  /** A drawing tool's display name for a registry `type`: the catalog's when it knows the type, else
2307
2479
  * the registry's own English `name`, so a tool the catalog has not met still has a name. */
@@ -2314,193 +2486,6 @@ declare function arrangementName(t: ChartTranslate, code: string, fallback: stri
2314
2486
  * of the built-in codes, or a code the `locales` option registers. */
2315
2487
  declare function createChartI18n(initial?: string, options?: ChartI18nOptions): ChartI18n;
2316
2488
 
2317
- /** The session an instant classifies into. `extended` is trading outside regular hours when the
2318
- * symbol does not split it into pre-market and after-hours. */
2319
- type SessionState = 'pre' | 'open' | 'extended' | 'after' | 'closed';
2320
- /** One subsession of an extended-hours symbol: `regular`,
2321
- * `extended`, `premarket` or `postmarket`, each with its own session string and, optionally,
2322
- * the corrections that shorten it. `SymbolInfo.subsessions` satisfies it; an id the chart has
2323
- * no state for is ignored. */
2324
- interface SubsessionSource {
2325
- readonly id: string;
2326
- readonly session: string;
2327
- readonly sessionCorrections?: string;
2328
- }
2329
- /** What a session model is built from: the symbology triple plus the optional corrections and
2330
- * subsessions. `SymbolInfo` satisfies it. */
2331
- interface SessionSource {
2332
- readonly timezone: string;
2333
- readonly session: string;
2334
- readonly sessionHolidays?: string;
2335
- readonly corrections?: string;
2336
- readonly subsessions?: readonly SubsessionSource[];
2337
- }
2338
- /** One trading stretch of a trading day, in minutes from that day's exchange-local midnight. The
2339
- * start may be negative (the stretch begins on a previous day) and the end may pass 1440 (it
2340
- * runs into the next day); the end is exclusive. */
2341
- interface SessionSegment {
2342
- readonly start: number;
2343
- readonly end: number;
2344
- }
2345
- /** A schedule: the stretches per weekday (0 = Sunday), and dated overrides keyed 'YYYYMMDD'. */
2346
- interface SessionSchedule {
2347
- readonly week: readonly (readonly SessionSegment[])[];
2348
- readonly corrections: ReadonlyMap<string, readonly SessionSegment[]>;
2349
- }
2350
- interface SessionModel {
2351
- /** The exchange zone every minute here is read in. */
2352
- readonly timezone: string;
2353
- /** A `24x7` symbol: always open, no transitions, no timeline. */
2354
- readonly continuous: boolean;
2355
- /** The regular session. */
2356
- readonly regular: SessionSchedule;
2357
- /** Extended-hours stretches by the state they classify into, from the subsessions. */
2358
- readonly extended: readonly {
2359
- readonly state: Exclude<SessionState, 'open' | 'closed'>;
2360
- readonly schedule: SessionSchedule;
2361
- }[];
2362
- /** Full-closure dates, 'YYYYMMDD'. */
2363
- readonly holidays: ReadonlySet<string>;
2364
- }
2365
- /** Build the session model from a symbol's metadata. Null when the grammar cannot read any part
2366
- * of it: a chart then shows no bands, no status and no timeline for the symbol rather than a
2367
- * session it guessed. A `regular` subsession, when given, is the regular session; the symbol's
2368
- * `session` is otherwise. Subsessions with ids the chart has no state for are ignored. */
2369
- declare function parseSessionModel(source: SessionSource): SessionModel | null;
2370
- /** Which of a symbol's named sessions a chart displays:
2371
- * `regular` shows regular hours only, `extended` shows the extended-hours bars as well. A
2372
- * per-chart preference a host persists. `extended` is the DEFAULT and shows every bar the feed
2373
- * served; narrowing to `regular` is the opt-in, because a chart that silently hid bars it had
2374
- * would be lying about the market by default. A symbol without extended hours has nothing to
2375
- * choose, and every bar shows either way. */
2376
- type ActiveSubsession = 'regular' | 'extended';
2377
- declare const DEFAULT_SUBSESSION: ActiveSubsession;
2378
- /** Whether the symbol declared any hours outside its regular session. Only such a symbol offers a
2379
- * subsession choice or shades extended hours. */
2380
- declare function hasExtendedHours(model: SessionModel): boolean;
2381
- /** The bar filter for the active subsession: under `regular`, on a symbol with extended hours,
2382
- * keep the bars whose open falls in regular hours; otherwise nothing is filtered (null). For
2383
- * intraday timeframes only: a daily bar spans whole sessions, so a caller applies the filter on
2384
- * intraday timeframes and shows every daily bar. */
2385
- declare function subsessionBarFilter(model: SessionModel, active: ActiveSubsession): ((epochSecs: number) => boolean) | null;
2386
- /** The session state at an instant (epoch seconds), under the symbol's exchange clock. */
2387
- declare function sessionStateAt(model: SessionModel, epochSecs: number): SessionState;
2388
- /** The next session transition after an instant, exact to the minute, or null when there is
2389
- * none within eight days (a continuous market, or a long closure). */
2390
- declare function nextSessionChange(model: SessionModel, epochSecs: number): {
2391
- atSecs: number;
2392
- state: SessionState;
2393
- } | null;
2394
- interface SessionTimeline {
2395
- /** The exchange-local day's stretches, closed gaps included, covering 0 to 1440 minutes. */
2396
- readonly segments: readonly {
2397
- readonly start: number;
2398
- readonly end: number;
2399
- readonly state: SessionState;
2400
- }[];
2401
- /** Now, in exchange-local minutes from midnight. */
2402
- readonly nowMins: number;
2403
- /** The exchange-local weekday, written in the language of `tag` and upper-cased ("MON"). */
2404
- readonly dayLabel: string;
2405
- readonly timezone: string;
2406
- }
2407
- /** The exchange-local day's timeline for a status popup. `tag` is the BCP 47 tag the weekday is
2408
- * written in: a date part, so it comes from Intl rather than the catalog. */
2409
- declare function sessionTimeline(model: SessionModel, epochSecs: number, tag: string): SessionTimeline;
2410
- /** A symbol's market status at an instant: the session state and the feed's liveness together,
2411
- * so a consumer cannot present an end-of-day or delayed feed as a live open market. */
2412
- interface MarketStatus {
2413
- readonly state: SessionState;
2414
- /** The feed's liveness, an explicit part of the status. */
2415
- readonly dataStatus: DataStatus;
2416
- /** A `24x7` symbol. */
2417
- readonly continuous: boolean;
2418
- /** The next transition, or null when there is none to count down to. */
2419
- readonly next: {
2420
- readonly atSecs: number;
2421
- readonly state: SessionState;
2422
- } | null;
2423
- }
2424
- declare function marketStatus(model: SessionModel, dataStatus: DataStatus, nowSecs: number): MarketStatus;
2425
- /** The market status straight from a resolved symbol, or null when its session cannot be read. */
2426
- declare function marketStatusFor(symbol: Pick<SymbolInfo, 'timezone' | 'session' | 'sessionHolidays' | 'corrections' | 'subsessions' | 'dataStatus'>, nowSecs: number): MarketStatus | null;
2427
- /** The catalog key of a session state's name: the same five words the legend's status dot and
2428
- * a status popup's title use. */
2429
- declare const SESSION_STATE_TITLE: Readonly<Record<SessionState, ChartMessageKey>>;
2430
- /** The title line of a status popup: the feed's liveness when it is not a live stream, the
2431
- * continuous market's own word, or the session state's name. */
2432
- declare function marketStatusTitle(t: ChartTranslate, status: MarketStatus): string;
2433
- /** "3 days 4 hours": the coarsest unit, and the next one down when it is non-zero. Each unit is a
2434
- * whole phrase and `status.durationPair` owns the order and the separator, so a language decides
2435
- * both rather than inheriting English's. A duration under a minute reads as one minute. */
2436
- declare function formatDuration(t: ChartTranslate, secs: number): string;
2437
- /** The sentence under a status popup's title. An end-of-day feed states that and nothing about
2438
- * hours; a continuous market states that it never closes; otherwise the session state with a
2439
- * countdown to the next transition when one is known, and a delayed stream adds that its prices
2440
- * are delayed. */
2441
- declare function marketStatusText(t: ChartTranslate, status: MarketStatus, nowSecs: number): string;
2442
- /** The footer naming the exchange zone a timeline is drawn in: "Exchange timezone: New York
2443
- * (UTC-4)". */
2444
- declare function exchangeTimezoneText(t: ChartTranslate, timezone: string, at?: Date): string;
2445
-
2446
- /** Paints a market's mark into a box the chart owns, and answers what takes it down again. */
2447
- type SymbolMarkPainter = (request: {
2448
- symbol: string;
2449
- host: HTMLElement;
2450
- size: number;
2451
- }) => (() => void) | void;
2452
- /** Paints the mark of the venue a market lists on, the same way. */
2453
- type VenueMarkPainter = (request: {
2454
- exchange: string;
2455
- host: HTMLElement;
2456
- size: number;
2457
- }) => (() => void) | void;
2458
- /** Paints the mark of a data source, where a row names a data source rather than a venue. */
2459
- type DataSourceMarkPainter = (request: {
2460
- dataSource: string;
2461
- host: HTMLElement;
2462
- size: number;
2463
- }) => (() => void) | void;
2464
- /** Every painter the host lent, as the chart carries them: null where it lent none. */
2465
- interface MarkPainters {
2466
- readonly symbol: SymbolMarkPainter | null;
2467
- readonly venue: VenueMarkPainter | null;
2468
- readonly dataSource: DataSourceMarkPainter | null;
2469
- }
2470
- /** The host's hooks, as an entry point takes them. Each is the host's to lend or withhold, and
2471
- * every entry point that paints marks takes exactly these, so a host writes them once and hands
2472
- * the same three to a chart and to a picker it opens away from one. */
2473
- interface MarkPainterHooks {
2474
- /** The host's mark for a market, called WHEREVER the chart names one: each chart's legend, the
2475
- * compare rows under it, every row of the symbol search and compare dialogs, and the market tag
2476
- * an extension's notice wears. It receives the element to paint into and the symbol it stands for,
2477
- * and returns a disposer that takes the mark down again.
2478
- *
2479
- * One hook rather than one per surface, so a market wears the same mark everywhere it appears and
2480
- * a host implements it once. The chart ships no artwork and fetches none: absent this, every mark
2481
- * is the neutral monogram the package draws itself. */
2482
- symbolMark?: SymbolMarkPainter;
2483
- /** The host's mark for the venue a market lists on, painted beside the venue's name in every row
2484
- * of the symbol search and compare dialogs. Like `symbolMark`, it receives the element to paint
2485
- * into and the size of the box, and returns a disposer; absent, a venue wears its initial on the
2486
- * neutral disc the package draws itself. */
2487
- venueMark?: VenueMarkPainter;
2488
- /** The host's mark for the data source a row names where it names no venue, painted in that
2489
- * row's source cell the same way. Absent, a data source wears its initial on a neutral disc. */
2490
- dataSourceMark?: DataSourceMarkPainter;
2491
- }
2492
-
2493
- /** One glyph: its own grid and the inner markup drawn on it. */
2494
- interface Glyph {
2495
- viewBox: string;
2496
- body: string;
2497
- /** A glyph that is not square keeps its grid's proportion: the size is its HEIGHT and the width
2498
- * follows this ratio. Square glyphs omit it. */
2499
- aspect?: number;
2500
- /** The height the glyph is drawn at when a caller names none. Glyphs drawn at 28 omit it. */
2501
- size?: number;
2502
- }
2503
-
2504
2489
  /** When an on-chart control shows: while the pointer is over its area, always, or never. */
2505
2490
  type ChartControlVisibility = 'hover' | 'always' | 'never';
2506
2491
  /** How a line is stroked. */
@@ -2612,6 +2597,9 @@ interface ChartSettings {
2612
2597
  postMarketColor: string;
2613
2598
  /** The shading over the overnight stretch, under `allHours`. */
2614
2599
  nightColor: string;
2600
+ /** The shading over every stretch of an electronic trading day outside its regular hours, while
2601
+ * the chart shows electronic trading hours. */
2602
+ electronicColor: string;
2615
2603
  precision: ChartPricePrecision;
2616
2604
  };
2617
2605
  /** The legend over the pane that names the symbol and states its values. */
@@ -2746,6 +2734,245 @@ type PartialChartSettings = {
2746
2734
  [S in ChartSettingsSection]?: Partial<ChartSettings[S]>;
2747
2735
  };
2748
2736
 
2737
+ /** The session an instant classifies into. `extended` is trading outside regular hours that is
2738
+ * neither pre-market nor post-market: an overnight stretch, a bare `extended` subsession, or any
2739
+ * stretch of an electronic day outside its regular hours. */
2740
+ type SessionState = 'pre' | 'open' | 'extended' | 'after' | 'closed';
2741
+ /** One subsession of an extended-hours symbol: `regular`, `extended`, `premarket`, `postmarket` or
2742
+ * `overnight`, each with its own session string and, optionally, the corrections that shorten
2743
+ * it. `SymbolInfo.subsessions` satisfies it; an id the chart has
2744
+ * no state for is ignored. */
2745
+ interface SubsessionSource {
2746
+ readonly id: string;
2747
+ readonly session: string;
2748
+ readonly sessionCorrections?: string;
2749
+ }
2750
+ /** What a session model is built from: the symbology triple plus the optional corrections and
2751
+ * subsessions. `SymbolInfo` satisfies it. */
2752
+ interface SessionSource {
2753
+ readonly timezone: string;
2754
+ readonly session: string;
2755
+ readonly sessionHolidays?: string;
2756
+ readonly corrections?: string;
2757
+ readonly subsessions?: readonly SubsessionSource[];
2758
+ }
2759
+ /** One trading stretch of a trading day, in minutes from that day's exchange-local midnight. The
2760
+ * start may be negative (the stretch begins on a previous day) and the end may pass 1440 (it
2761
+ * runs into the next day); the end is exclusive. */
2762
+ interface SessionSegment {
2763
+ readonly start: number;
2764
+ readonly end: number;
2765
+ }
2766
+ /** A schedule: the stretches per weekday (0 = Sunday), and dated overrides keyed 'YYYYMMDD'. */
2767
+ interface SessionSchedule {
2768
+ readonly week: readonly (readonly SessionSegment[])[];
2769
+ readonly corrections: ReadonlyMap<string, readonly SessionSegment[]>;
2770
+ }
2771
+ interface SessionModel {
2772
+ /** The exchange zone every minute here is read in. */
2773
+ readonly timezone: string;
2774
+ /** A `24x7` symbol: always open, no transitions, no timeline. */
2775
+ readonly continuous: boolean;
2776
+ /** An electronic-day symbol: its `regular` subsession differs from its `session`, which is then
2777
+ * the whole electronic trading day with the regular hours inside it. Every stretch of the day
2778
+ * outside regular hours classifies as `extended`, and the market status reads the whole day as
2779
+ * open. */
2780
+ readonly electronic: boolean;
2781
+ /** The regular session. */
2782
+ readonly regular: SessionSchedule;
2783
+ /** The stretches outside regular hours, from the subsessions: each with the id of the subsession
2784
+ * it came from and the state it classifies into. */
2785
+ readonly extended: readonly {
2786
+ readonly id: string;
2787
+ readonly state: Exclude<SessionState, 'open' | 'closed'>;
2788
+ readonly schedule: SessionSchedule;
2789
+ }[];
2790
+ /** Full-closure dates, 'YYYYMMDD'. */
2791
+ readonly holidays: ReadonlySet<string>;
2792
+ }
2793
+ /** Build the session model from a symbol's metadata. Null when the grammar cannot read any part
2794
+ * of it: a chart then shows no bands, no status and no timeline for the symbol rather than a
2795
+ * session it guessed. A `regular` subsession, when given, is the regular session; the symbol's
2796
+ * `session` is otherwise. A `regular` subsession that differs from `session` makes the symbol an
2797
+ * electronic day: each of its other subsessions classifies as `extended`, and `session` itself is
2798
+ * the extended span when no `extended` subsession states one. Subsessions with ids the chart has
2799
+ * no state for are ignored. */
2800
+ declare function parseSessionModel(source: SessionSource): SessionModel | null;
2801
+ /** Which of a symbol's named sessions a chart displays:
2802
+ * `regular` shows regular hours only, `extended` shows the extended-hours bars as well. A
2803
+ * per-chart preference a host persists. `extended` is the DEFAULT and shows every bar the feed
2804
+ * served; narrowing to `regular` is the opt-in, because a chart that silently hid bars it had
2805
+ * would be lying about the market by default. A symbol without extended hours has nothing to
2806
+ * choose, and every bar shows either way. */
2807
+ type ActiveSubsession = 'regular' | 'extended';
2808
+ declare const DEFAULT_SUBSESSION: ActiveSubsession;
2809
+ /** Whether the symbol declared any hours outside its regular session. Only such a symbol offers a
2810
+ * subsession choice or shades extended hours. */
2811
+ declare function hasExtendedHours(model: SessionModel): boolean;
2812
+ /** One trading-hours choice a symbol offers: the `symbol.session` setting it writes, and its name
2813
+ * and its short name for a compact trigger, both catalog keys. */
2814
+ interface TradingHoursOption {
2815
+ readonly hours: ChartSessionHours;
2816
+ readonly label: ChartMessageKey;
2817
+ readonly short: ChartMessageKey;
2818
+ }
2819
+ /** The trading-hours choices a symbol offers, in the order a picker lists them, read from its own
2820
+ * session facts. None for an unknown model, a continuous market or a symbol with no hours outside
2821
+ * its regular session. An electronic day offers its electronic and its regular trading hours; a
2822
+ * split day offers regular and extended hours, and 24 hours when it declares an `overnight`
2823
+ * subsession. */
2824
+ declare function tradingHoursOptions(model: SessionModel | null): readonly TradingHoursOption[];
2825
+ /** The option a trading-hours setting stands for among a symbol's choices: the setting's own, or the
2826
+ * extended hours for `allHours` on a symbol that offers no 24 hours. Null where the symbol offers
2827
+ * no choice. */
2828
+ declare function tradingHoursOption(options: readonly TradingHoursOption[], hours: ChartSessionHours): TradingHoursOption | null;
2829
+ /** The bar filter for the active subsession: under `regular`, on a symbol with extended hours,
2830
+ * keep the bars whose open falls in regular hours; otherwise nothing is filtered (null). For
2831
+ * intraday timeframes only: a daily bar spans whole sessions, so a caller applies the filter on
2832
+ * intraday timeframes and shows every daily bar. */
2833
+ declare function subsessionBarFilter(model: SessionModel, active: ActiveSubsession): ((epochSecs: number) => boolean) | null;
2834
+ /** The session state at an instant (epoch seconds), under the symbol's exchange clock. */
2835
+ declare function sessionStateAt(model: SessionModel, epochSecs: number): SessionState;
2836
+ /** The next session transition after an instant, exact to the minute, or null when there is
2837
+ * none within eight days (a continuous market, or a long closure). */
2838
+ declare function nextSessionChange(model: SessionModel, epochSecs: number): {
2839
+ atSecs: number;
2840
+ state: SessionState;
2841
+ } | null;
2842
+ interface SessionTimeline {
2843
+ /** The exchange-local day's stretches, closed gaps included, covering 0 to 1440 minutes, in the
2844
+ * states the market status reports: an electronic day is open across the whole day. */
2845
+ readonly segments: readonly {
2846
+ readonly start: number;
2847
+ readonly end: number;
2848
+ readonly state: SessionState;
2849
+ }[];
2850
+ /** The state of the last minute of the day before, and of the first minute of the day after: a
2851
+ * stretch at the day's edge in the same state continues past it. */
2852
+ readonly before: SessionState;
2853
+ readonly after: SessionState;
2854
+ /** Now, in exchange-local minutes from midnight. */
2855
+ readonly nowMins: number;
2856
+ /** The exchange-local weekday, written in the language of `tag` and upper-cased ("MON"). */
2857
+ readonly dayLabel: string;
2858
+ readonly timezone: string;
2859
+ }
2860
+ /** The exchange-local day's timeline for a status popup. `tag` is the BCP 47 tag the weekday is
2861
+ * written in: a date part, so it comes from Intl rather than the catalog. */
2862
+ declare function sessionTimeline(model: SessionModel, epochSecs: number, tag: string): SessionTimeline;
2863
+ /** What a market status says, in one word: the session state, with the `extended` state named
2864
+ * `overnight` on a symbol whose extended hours are its overnight stretch, and a closed day the
2865
+ * symbol lists among its holidays named `holiday`. */
2866
+ type MarketPhase = 'open' | 'pre' | 'post' | 'overnight' | 'extended' | 'closed' | 'holiday';
2867
+ /** A symbol's market status at an instant: the session state and the feed's liveness together,
2868
+ * so a consumer cannot present an end-of-day or delayed feed as a live open market. */
2869
+ interface MarketStatus {
2870
+ /** The session state the market reports. An electronic day reads `open` across the whole day. */
2871
+ readonly state: SessionState;
2872
+ /** What the status says: the state, named for the symbol it is read on. */
2873
+ readonly phase: MarketPhase;
2874
+ /** The feed's liveness, an explicit part of the status. */
2875
+ readonly dataStatus: DataStatus;
2876
+ /** A `24x7` symbol. */
2877
+ readonly continuous: boolean;
2878
+ /** The market is closed for a holiday the symbol lists, on a trading day no correction names. */
2879
+ readonly holiday: boolean;
2880
+ /** The next transition, or null when there is none to count down to. */
2881
+ readonly next: {
2882
+ readonly atSecs: number;
2883
+ readonly state: SessionState;
2884
+ readonly phase: MarketPhase;
2885
+ } | null;
2886
+ }
2887
+ declare function marketStatus(model: SessionModel, dataStatus: DataStatus, nowSecs: number): MarketStatus;
2888
+ /** The market status straight from a resolved symbol, or null when its session cannot be read. */
2889
+ declare function marketStatusFor(symbol: Pick<SymbolInfo, 'timezone' | 'session' | 'sessionHolidays' | 'corrections' | 'subsessions' | 'dataStatus'>, nowSecs: number): MarketStatus | null;
2890
+ /** The catalog key of each session state's name. A status popup's title uses the same words for the
2891
+ * phases that share them. */
2892
+ declare const SESSION_STATE_TITLE: Readonly<Record<SessionState, ChartMessageKey>>;
2893
+ /** The title of a status popup's market section: the phase's name. */
2894
+ declare function marketStatusTitle(t: ChartTranslate, status: MarketStatus): string;
2895
+ /** The sentence under the market section's title, which says what the phase means. */
2896
+ declare function marketStatusSentence(t: ChartTranslate, status: MarketStatus): string;
2897
+ /** The countdown sentence to the next transition, named for where the market goes: "It'll close in
2898
+ * 7 hours and 56 minutes." Null with nothing to count down to, which is always the case for a
2899
+ * continuous market. */
2900
+ declare function marketStatusCountdown(t: ChartTranslate, status: MarketStatus, nowSecs: number): string | null;
2901
+ /** The market section's words as one sentence: what the phase means, then the countdown when there
2902
+ * is one. `status.textPair` owns how the two join, so a language decides the separator. */
2903
+ declare function marketStatusText(t: ChartTranslate, status: MarketStatus, nowSecs: number): string;
2904
+ /** The data section of a status popup for a feed that is not a live stream: a delayed stream, or
2905
+ * end-of-day data. Null for a live stream, which has nothing to say about its data. */
2906
+ declare function dataStatusNotice(t: ChartTranslate, dataStatus: DataStatus): {
2907
+ title: string;
2908
+ text: string;
2909
+ } | null;
2910
+ /** "3 days and 4 hours": the coarsest unit, and the next one down when it is non-zero. Each unit is
2911
+ * a whole phrase and `status.durationPair` owns the order and the joining words, so a language
2912
+ * decides both rather than inheriting English's. A duration under a minute reads as one minute. */
2913
+ declare function formatDuration(t: ChartTranslate, secs: number): string;
2914
+ /** The footer naming the exchange zone a timeline is drawn in: "Exchange timezone: New York
2915
+ * (UTC-4)". */
2916
+ declare function exchangeTimezoneText(t: ChartTranslate, timezone: string, at?: Date): string;
2917
+
2918
+ /** One glyph: its own grid and the inner markup drawn on it. */
2919
+ interface Glyph {
2920
+ viewBox: string;
2921
+ body: string;
2922
+ /** A glyph that is not square keeps its grid's proportion: the size is its HEIGHT and the width
2923
+ * follows this ratio. Square glyphs omit it. */
2924
+ aspect?: number;
2925
+ /** The height the glyph is drawn at when a caller names none. Glyphs drawn at 28 omit it. */
2926
+ size?: number;
2927
+ }
2928
+
2929
+ /** Paints a market's mark into a box the chart owns, and answers what takes it down again. */
2930
+ type SymbolMarkPainter = (request: {
2931
+ symbol: string;
2932
+ host: HTMLElement;
2933
+ size: number;
2934
+ }) => (() => void) | void;
2935
+ /** Paints the mark of the venue a market lists on, the same way. */
2936
+ type VenueMarkPainter = (request: {
2937
+ exchange: string;
2938
+ host: HTMLElement;
2939
+ size: number;
2940
+ }) => (() => void) | void;
2941
+ /** Paints the mark of a data source, where a row names a data source rather than a venue. */
2942
+ type DataSourceMarkPainter = (request: {
2943
+ dataSource: string;
2944
+ host: HTMLElement;
2945
+ size: number;
2946
+ }) => (() => void) | void;
2947
+ /** Every painter the host lent, as the chart carries them: null where it lent none. */
2948
+ interface MarkPainters {
2949
+ readonly symbol: SymbolMarkPainter | null;
2950
+ readonly venue: VenueMarkPainter | null;
2951
+ readonly dataSource: DataSourceMarkPainter | null;
2952
+ }
2953
+ /** The host's hooks, as an entry point takes them. Each is the host's to lend or withhold, and
2954
+ * every entry point that paints marks takes exactly these, so a host writes them once and hands
2955
+ * the same three to a chart and to a picker it opens away from one. */
2956
+ interface MarkPainterHooks {
2957
+ /** The host's mark for a market, called WHEREVER the chart names one: each chart's legend, the
2958
+ * compare rows under it, every row of the symbol search and compare dialogs, and the market tag
2959
+ * an extension's notice wears. It receives the element to paint into and the symbol it stands for,
2960
+ * and returns a disposer that takes the mark down again.
2961
+ *
2962
+ * One hook rather than one per surface, so a market wears the same mark everywhere it appears and
2963
+ * a host implements it once. The chart ships no artwork and fetches none: absent this, every mark
2964
+ * is the neutral monogram the package draws itself. */
2965
+ symbolMark?: SymbolMarkPainter;
2966
+ /** The host's mark for the venue a market lists on, painted beside the venue's name in every row
2967
+ * of the symbol search and compare dialogs. Like `symbolMark`, it receives the element to paint
2968
+ * into and the size of the box, and returns a disposer; absent, a venue wears its initial on the
2969
+ * neutral disc the package draws itself. */
2970
+ venueMark?: VenueMarkPainter;
2971
+ /** The host's mark for the data source a row names where it names no venue, painted in that
2972
+ * row's source cell the same way. Absent, a data source wears its initial on a neutral disc. */
2973
+ dataSourceMark?: DataSourceMarkPainter;
2974
+ }
2975
+
2749
2976
  /** One resolved role as it is written to the DOM. */
2750
2977
  interface ThemeDeclaration {
2751
2978
  /** The private custom-property name. */
@@ -2794,6 +3021,7 @@ interface CanvasTheme {
2794
3021
  preMarket: string;
2795
3022
  extended: string;
2796
3023
  afterHours: string;
3024
+ electronic: string;
2797
3025
  closed: string;
2798
3026
  };
2799
3027
  }
@@ -3000,7 +3228,7 @@ interface ChartIconDiagnostic {
3000
3228
  }
3001
3229
 
3002
3230
  /** The glyphs of the chart's own controls, by meaning, each with every drawing that carries it. */
3003
- declare const CONTROL_ICONS: Readonly<Record<"info" | "search" | "bold" | "open" | "close" | "volume" | "indicators" | "copy" | "textColor" | "visible" | "lineColor" | "template" | "fillColor" | "italic" | "locked" | "sync" | "caret" | "tip" | "measure" | "image" | "eraser" | "delete" | "remove" | "hidden" | "pause" | "play" | "reset" | "scroll" | "magnet" | "collapse" | "marketStatus" | "replayStatus" | "replayMark" | "replayCut" | "replay" | "undo" | "redo" | "settings" | "fullscreen" | "tileMaximize" | "tileRestore" | "download" | "chevronDown" | "chevronUp" | "chevronLeft" | "chevronRight" | "check" | "clear" | "goLive" | "stepForward" | "stepBack" | "calendar" | "selectBar" | "firstAvailable" | "randomBar" | "clock" | "cursorCross" | "cursorDot" | "cursorArrow" | "magnetStrong" | "drawingsShown" | "drawingsHidden" | "indicatorsShown" | "indicatorsHidden" | "allShown" | "allHidden" | "zoomIn" | "grip" | "tableAddColumn" | "tableAddRow" | "favoritesBar" | "lineSolid" | "lineDashed" | "lineDotted" | "lineThickness1" | "lineThickness2" | "lineThickness3" | "lineThickness4" | "lineEndNormal" | "lineEndArrow" | "settingsSymbol" | "settingsStatusLine" | "settingsScales" | "settingsCanvas" | "settingsEvents" | "compare" | "fullscreenExit" | "paneCollapse" | "paneRestore" | "paneMaximize" | "paneMoveUp" | "paneMoveDown" | "zoomOut" | "add" | "rename" | "duplicate" | "favorite" | "favorited" | "sortAscending" | "sortDescending" | "flyout" | "submenu" | "more" | "emptySearch" | "emptyCompare" | "operatorsShow" | "operatorsHide" | "operatorAdd" | "operatorSubtract" | "operatorMultiply" | "operatorDivide" | "operatorPower" | "operatorReciprocal" | "selectDate" | "zoomTool" | "stayInMode" | "stayInModeOn" | "unlocked" | "hide" | "glyphTools" | "visualOrder" | "volumeMuted", readonly Glyph[]>>;
3231
+ declare const CONTROL_ICONS: Readonly<Record<"info" | "search" | "bold" | "open" | "close" | "volume" | "indicators" | "copy" | "textColor" | "visible" | "lineColor" | "template" | "fillColor" | "italic" | "locked" | "sync" | "caret" | "tip" | "measure" | "image" | "eraser" | "delete" | "remove" | "hidden" | "pause" | "play" | "reset" | "scroll" | "magnet" | "collapse" | "marketStatus" | "marketPreMarket" | "marketAfterHours" | "marketClosed" | "marketHoliday" | "dataDelayed" | "dataEndOfDay" | "replayStatus" | "replayMark" | "replayCut" | "replay" | "undo" | "redo" | "settings" | "fullscreen" | "tileMaximize" | "tileRestore" | "download" | "chevronDown" | "chevronUp" | "chevronLeft" | "chevronRight" | "check" | "clear" | "goLive" | "stepForward" | "stepBack" | "calendar" | "selectBar" | "firstAvailable" | "randomBar" | "clock" | "cursorCross" | "cursorDot" | "cursorArrow" | "magnetStrong" | "drawingsShown" | "drawingsHidden" | "indicatorsShown" | "indicatorsHidden" | "allShown" | "allHidden" | "zoomIn" | "grip" | "tableAddColumn" | "tableAddRow" | "favoritesBar" | "lineSolid" | "lineDashed" | "lineDotted" | "lineThickness1" | "lineThickness2" | "lineThickness3" | "lineThickness4" | "lineEndNormal" | "lineEndArrow" | "settingsSymbol" | "settingsStatusLine" | "settingsScales" | "settingsCanvas" | "settingsEvents" | "compare" | "fullscreenExit" | "paneCollapse" | "paneRestore" | "paneMaximize" | "paneMoveUp" | "paneMoveDown" | "zoomOut" | "add" | "rename" | "duplicate" | "favorite" | "favorited" | "sortAscending" | "sortDescending" | "flyout" | "submenu" | "more" | "emptySearch" | "emptyCompare" | "operatorsShow" | "operatorsHide" | "operatorAdd" | "operatorSubtract" | "operatorMultiply" | "operatorDivide" | "operatorPower" | "operatorReciprocal" | "selectDate" | "zoomTool" | "stayInMode" | "stayInModeOn" | "unlocked" | "hide" | "glyphTools" | "visualOrder" | "volumeMuted", readonly Glyph[]>>;
3004
3232
  /** An icon of one of the chart's own controls. */
3005
3233
  type ControlIconId = keyof typeof CONTROL_ICONS;
3006
3234
  /** Every icon a host may draw: a control's glyph by its meaning, a chart style by its id, a drawing
@@ -5026,7 +5254,8 @@ declare function rangeSpanSeconds(span: RangeSpan, nowSecs: number): number | nu
5026
5254
  * always stays, and an unknown depth (null) withholds nothing. The depth itself is the host's to
5027
5255
  * learn from its feed; the chart does not probe. */
5028
5256
  declare function rangeAvailable(preset: RangePreset, earliestBarSecs: number | null | undefined, nowSecs?: number): boolean;
5029
- /** A preset's tooltip: what it frames, and the bars it frames it in. */
5257
+ /** A preset's tooltip: what it frames, and the bars it frames it in, as one sentence: "5 days in
5258
+ * 5 minute intervals". A timeframe the grammar cannot read is said as written. */
5030
5259
  declare function rangePresetTip(t: ChartTranslate, preset: RangePreset): string;
5031
5260
  /** The part of a chart the framing needs: a time scale that takes a logical range. */
5032
5261
  interface RangeFrameTarget {
@@ -5432,7 +5661,7 @@ interface LegendUi {
5432
5661
  * surface with no pointer to hover with has no bar to read but the last one, and a row of
5433
5662
  * numbers over the candles buys nothing there. */
5434
5663
  values?: boolean;
5435
- /** The market-status control and its popup. The dot itself stays. */
5664
+ /** The market-status control and its popup. The status marks themselves stay. */
5436
5665
  marketStatus?: boolean;
5437
5666
  }
5438
5667
  /** ── ACCESS ──────────────────────────────────────────────────────────────────────────────────
@@ -6255,12 +6484,12 @@ declare function planPaneOp(state: PaneState, op: PaneOp): PanePlan;
6255
6484
  * not collapsed anything. */
6256
6485
  declare function isCollapsed(height: number | undefined): boolean;
6257
6486
 
6258
- /** The session's name in English — what a host renders when it shows status text of its own. The
6487
+ /** The session's name in English, what a host renders when it shows status text of its own. The
6259
6488
  * widget's catalog carries the same five under `session.<state>`, keyed by these very names, so a
6260
6489
  * host reading the catalog and a host reading this table always say the same thing. */
6261
6490
  declare const SESSION_LABEL: Readonly<Record<SessionState, string>>;
6262
- /** The semantic theme role a session state's status marker wears. A consumer resolves the role
6263
- * against the theme in effect, so the marker follows light or dark and a host's custom palette
6491
+ /** The semantic theme role a session state's status mark wears. A consumer resolves the role
6492
+ * against the theme in effect, so the mark follows light or dark and a host's custom palette
6264
6493
  * instead of carrying a color of its own. */
6265
6494
  declare const SESSION_DOT: Readonly<Record<SessionState, ThemeRoleId>>;
6266
6495
  /** The bar times among `times` (ascending) that open a new trading day: each bar whose trading day,
@@ -6269,11 +6498,13 @@ declare const SESSION_DOT: Readonly<Record<SessionState, ThemeRoleId>>;
6269
6498
  declare function sessionBreakTimes(model: SessionModel, times: readonly number[]): number[];
6270
6499
  /** How the bands look under the chart settings: the shading of each stretch outside regular hours
6271
6500
  * (null leaves it clear) and the line at each session's start (null draws none). The closed
6272
- * stretch keeps its theme role. */
6501
+ * stretch keeps its theme role. `electronic` shades every stretch of an electronic day outside its
6502
+ * regular hours, in place of the other three; without it that stretch wears its theme role. */
6273
6503
  interface SessionLook {
6274
6504
  pre: string | null;
6275
6505
  after: string | null;
6276
6506
  extended: string | null;
6507
+ electronic?: string | null;
6277
6508
  breaks: {
6278
6509
  color: string;
6279
6510
  width: number;
@@ -6723,4 +6954,4 @@ declare function mountTimeframePicker(options: TimeframePickerOptions & {
6723
6954
  container: HTMLElement;
6724
6955
  }): MountedTimeframePicker;
6725
6956
 
6726
- export { ARRANGEMENTS, type AccessPolicy, type ActiveSubsession, type Arrangement, type AttachDrawingsOptions, BRAND_DOWN, BRAND_UP, BUILT_IN_INDICATORS, BUILT_IN_LOCALES, type BuiltInIndicator, CHART_DATE_FORMATS, CHART_FACTORY_COLORS, CHART_ICON_IDS, CHART_SETTINGS_SECTIONS, CHART_STYLES, COLLAPSED_H, COMPARE_COLORS, type CandleStyleSettings, type CanvasTheme, type Capabilities, type ChartBackgroundType, ChartBody, type ChartChrome, type ChartCompareApi, type ChartControlVisibility, type ChartCustomLocale, ChartDatafeed, type ChartDateFormat, type ChartDictionary, type ChartDrawingsApi, type ChartEvents, type ChartExtension, type ChartExtensionCapture, type ChartExtensionCaptureFrame, type ChartExtensionChart, type ChartExtensionCommand, type ChartExtensionContext, type ChartExtensionHandle, type ChartExtensionIcon, type ChartExtensionIconPath, type ChartExtensionLegendRow, type ChartExtensionMenuBuilder, type ChartExtensionMenuContext, type ChartExtensionMenuItem, type ChartExtensionPane, type ChartExtensionPriceLine, type ChartExtensionReplayState, type ChartExtensionScope, type ChartExtensionSeries, type ChartFactoryColors, type ChartHandle, type ChartHistoryApi, type ChartHoursFormat, type ChartI18n, type ChartI18nOptions, type ChartIconArtwork, type ChartIconContext, type ChartIconDiagnostic, type ChartIconFactory, type ChartIconFailure, type ChartIconId, type ChartIcons, type ChartLastValueMode, type ChartLegendRow, type ChartLineColorType, type ChartLocale, type ChartLocaleCode, type ChartMenuAction, type ChartMenuContext, type ChartMenuIcon, type ChartMenuRow, ChartMessageKey, ChartMeta, type ChartPaneSyncApi, type ChartPreferences, type ChartPriceFormatter, type ChartPricePrecision, type ChartPriceSource, type ChartReplayApi, ChartSaveLoadAdapter, type ChartSaveLoadApi, type ChartScalePlacement, type ChartSessionHours, type ChartSettings, type ChartSettingsContribution, type ChartSettingsControls, type ChartSettingsForm, type ChartSettingsIconPainter, type ChartSettingsOption, type ChartSettingsPageId, type ChartSettingsRowHandle, type ChartSettingsSection, type ChartSettingsTip, type ChartStorage, type ChartStrokeStyle, type ChartStyleId, type ChartTimezone, type ChartTitleSource, type ChartTranslate, type ChartWidget, type ChartWidgetOptions, type CommandRegistry, type CommandResult, type CommandScope, type CommandSpec, type CompareDeps, type CompareEntry, type CompareHandle, type ComparePlacement, type CompareSnapshot, type CompareSymbol, type ContextMenuHandle, type CrosshairUi, type CustomThemes, DEFAULT_SUBSESSION, DEFAULT_TIMEZONE, type DataSourceMarkPainter, DataStatus, DatafeedSearchOptions, type DrawingApplyOutcome, DrawingAssetPort, DrawingContextKind, type DrawingDocumentApi, type DrawingDocumentPort, type DrawingDocumentRefusal, type DrawingEvent, type DrawingInks, type DrawingOwner, DrawingPreferences, type DrawingPresets, type DrawingReadOutcome, type DrawingRejection, type DrawingRejectionReason, DrawingResourceContext, DrawingsBody, type DrawingsEvents, type DrawingsHandle, DrawingsMeta, type DrawingsWorkflow, EXCHANGE_TIMEZONE, type FeatureConfig, FeedBar, type FetchLike, FillBetweenPrimitive, type FullscreenApi, type FullscreenOptions, type HistoryChange, type HistoryEventState, IMAGE_HEADER_H, type ImageApi, type ImageEvent, type ImageHeader, type ImageOptions, type ImageTextRun, type ImageTile, type IndicatorCategory, type IndicatorDefinition, type IndicatorEvent, type IndicatorFill, type IndicatorInstance, type IndicatorLevel, type IndicatorManifest, type IndicatorOverrides, type IndicatorPickerAction, type IndicatorPickerBuiltInState, type IndicatorPickerCollection, type IndicatorPickerEmpty, type IndicatorPickerItem, type IndicatorPickerKind, type IndicatorPickerSource, type IndicatorPlot, type IndicatorPlots, type IndicatorsApi, type IndicatorsRenderer, LAYOUT_MENU_ROWS, type LayoutApi, LayoutBody, type LayoutEvent, LayoutMeta, type LayoutOptions, type LayoutSaveLoadApi, type LayoutSyncFlags, type LegendUi, type LineStyleSettings, type LogicalRange, MAIN_MIN_H, MIN_BAR_SPACING, MIRRORED_ICONS, type ManifestFill, type ManifestInput, type ManifestLevel, type ManifestPlot, type ManifestRun, MarkIconId, type MarkPainters, type MarketStatus, type MatchSegment, type MountedSymbolSearch, type MountedTimeframePicker, type OpenResource, PRICE_SCALE_MODE, type PaneOp, type PanePlan, type PaneRect, type PaneState, type PartialChartSettings, type PlacedImage, type PlotArea, type PlotPoint, PriceFormat, PriceFormatter, RANGE_PRESETS, RECENT_SYMBOLS_CAP, REPLAY_SPEEDS, type RangeFrameTarget, type RangePreset, type RangeSpan, type ReadChartSettings, type RecentsPort, type ReplayEventState, type ReplaySpeed, type ResourceLoadOutcome, ResourceRef, type ResourceRemoveOutcome, type ResourceSaveOutcome, ResourceStore, SCALE_MODES, SCALE_MODE_OPTIONS, SCROLL_STEP_BARS, SESSION_DOT, SESSION_LABEL, SESSION_STATE_TITLE, SPREAD_OPERATORS, type SaveConflictInfo, type ScaleMode, type ScaleUnitMenuRequest, type SearchClassFilter, SearchClassNode, type SearchController, type SearchControllerOptions, type SearchDisplayOptions, SearchPage, type SearchScope, type SearchState, type SelectedDrawing, type SemanticTheme, type SessionBandsPrimitive, type SessionLook, type SessionModel, type SessionSchedule, type SessionSegment, type SessionSource, type SessionState, type SessionTimeline, type SettingsMenuUi, ShadePrimitive, type SpreadOperator, type SpreadOperatorId, type SubsessionSource, SymbolInfo, type SymbolMarkPainter, type SymbolPriceFormat, SymbolRow, type SymbolSearchCache, type SymbolSearchHandle, type SymbolSearchOptions, THEME_ROLES, TIMEFRAME_MAX, TIMEFRAME_PRESETS, TIMEFRAME_PRESET_TOKENS, TIMEFRAME_UNITS, TIMEFRAME_UNIT_NAME, TIMEFRAME_UNIT_SECONDS, TIMEZONES, TOP_BAR_SLOTS, TemplateBody, TemplateMeta, TextDraft, TextEditFrame, type TextEditSession, type TextInlineEdit, type ThemeChangeListener, type ThemeController, type ThemeControllerOptions, type ThemeDeclaration, type ThemeDiagnostic, type ThemeDiagnosticCode, type ThemeMode, type ThemeOptions, type ThemeRole, type ThemeRoleFamily, type ThemeRoleId, type ThemeRoleKind, type ThemeRootStyle, type TimeLabelFormat, type TimeRange, type Timeframe, type TimeframeGroup, type TimeframePickerHandle, type TimeframePickerOptions, type TimeframeRestrictions, type TimeframeUnit, type TimezoneRow, type ToolbarButton, type ToolbarButtonOptions, type ToolbarButtonState, type TopBarSlot, type TopBarUi, type TouchOptions, type TransitionOptions, type UdfDatafeedOptions, type UdfSymbolResponse, type UiConfig, type VenueMarkPainter, type WidgetEvents, ZOOM_FACTOR, type ZoneClock, allowedTimeframes, applyBar, applyPlotOverrides, arrangementName, arrangementOf, attachCompare, attachDrawings, attachIndicators, autoTimeframeFor, buildManifestPlots, canvasTheme, canvasToBlob, chartContextMenu, chartDateSample, chartDictionaries, chartIconArtwork, chartSettingsDefaults, clipToWindow, coerceChartStyle, coerceScaleMode, compareTimeframes, composeFormingBar, composeImage, createChart, createChartI18n, createSearchController, createSessionBands, createSymbolSearchCache, createThemeController, createUdfDatafeed, effectivePlotColor, exchangeTimezoneText, formatChartDate, formatClock, formatDuration, formatTimeframe, frameRange, hasExtendedHours, imageFileName, imageHeaderRuns, imageLayoutHeaderRuns, imageTileRuns, indicatorHidden, isChartStyle, isCollapsed, isIntradayTimeframe, isSymbolPair, isTimezoneChoice, latestPlotValue, layerChartSettings, looksLikeSpread, makeCrosshairTimeFormatter, makeTickMarkFormatter, manifestInputDefaults, marketStatus, marketStatusFor, marketStatusText, marketStatusTitle, matchSegments, memoryChartStorage, memoryRecents, mountContextMenu, mountSymbolSearch, mountTimeframePicker, nextSessionChange, openInputsEditor, openSymbolSearch, openTimeframePicker, overriddenManifest, parseSessionModel, parseTimeframe, pickCompareColor, placeableByWidget, planPaneOp, promoteRecent, rangeAvailable, rangePresetTip, rangeSpanSeconds, readPartialChartSettings, resolveDisplayTimezone, resolveInitialTf, scrolledPosition, seriesTargetOf, sessionBreakTimes, sessionStateAt, sessionTimeline, spreadExpression, spreadSearchQuery, subTimeframesFor, subsessionBarFilter, tfSeconds, tfToUdfResolution, timeframeAllowed, timeframeGroupUnit, timeframeLabel, timeframeOrder, timeframeSeconds, timezoneCity, timezoneLabel, timezoneListing, toolName, tzOffsetLabel, tzOffsetMinutes, udfPriceFormat, udfResolutionToTf, udfSymbolInfo, valueShaped, withFoldedHistory, zoneClock, zoomedBarSpacing };
6957
+ export { ARRANGEMENTS, type AccessPolicy, type ActiveSubsession, type Arrangement, type AttachDrawingsOptions, BRAND_DOWN, BRAND_UP, BUILT_IN_INDICATORS, BUILT_IN_LOCALES, type BuiltInIndicator, CHART_DATE_FORMATS, CHART_FACTORY_COLORS, CHART_ICON_IDS, CHART_SETTINGS_SECTIONS, CHART_STYLES, COLLAPSED_H, COMPARE_COLORS, type CandleStyleSettings, type CanvasTheme, type Capabilities, type ChartBackgroundType, ChartBody, type ChartChrome, type ChartCompareApi, type ChartControlVisibility, type ChartCustomLocale, ChartDatafeed, type ChartDateFormat, type ChartDictionary, type ChartDrawingsApi, type ChartEvents, type ChartExtension, type ChartExtensionCapture, type ChartExtensionCaptureFrame, type ChartExtensionChart, type ChartExtensionCommand, type ChartExtensionContext, type ChartExtensionHandle, type ChartExtensionIcon, type ChartExtensionIconPath, type ChartExtensionLegendRow, type ChartExtensionMenuBuilder, type ChartExtensionMenuContext, type ChartExtensionMenuItem, type ChartExtensionPane, type ChartExtensionPriceLine, type ChartExtensionReplayState, type ChartExtensionScope, type ChartExtensionSeries, type ChartFactoryColors, type ChartHandle, type ChartHistoryApi, type ChartHoursFormat, type ChartI18n, type ChartI18nOptions, type ChartIconArtwork, type ChartIconContext, type ChartIconDiagnostic, type ChartIconFactory, type ChartIconFailure, type ChartIconId, type ChartIcons, type ChartLastValueMode, type ChartLegendRow, type ChartLineColorType, type ChartLocale, type ChartLocaleCode, type ChartMenuAction, type ChartMenuContext, type ChartMenuIcon, type ChartMenuRow, ChartMessageKey, ChartMeta, type ChartPaneSyncApi, type ChartPreferences, type ChartPriceFormatter, type ChartPricePrecision, type ChartPriceSource, type ChartReplayApi, ChartSaveLoadAdapter, type ChartSaveLoadApi, type ChartScalePlacement, type ChartSessionHours, type ChartSettings, type ChartSettingsContribution, type ChartSettingsControls, type ChartSettingsForm, type ChartSettingsIconPainter, type ChartSettingsOption, type ChartSettingsPageId, type ChartSettingsRowHandle, type ChartSettingsSection, type ChartSettingsTip, type ChartStorage, type ChartStrokeStyle, type ChartStyleId, type ChartTimezone, type ChartTitleSource, type ChartTranslate, type ChartWidget, type ChartWidgetOptions, type CommandRegistry, type CommandResult, type CommandScope, type CommandSpec, type CompareDeps, type CompareEntry, type CompareHandle, type ComparePlacement, type CompareSnapshot, type CompareSymbol, type ContextMenuHandle, type CrosshairUi, type CustomThemes, DEFAULT_SUBSESSION, DEFAULT_TIMEZONE, type DataSourceMarkPainter, DataStatus, DatafeedSearchOptions, type DrawingApplyOutcome, DrawingAssetPort, DrawingContextKind, type DrawingDocumentApi, type DrawingDocumentPort, type DrawingDocumentRefusal, type DrawingEvent, type DrawingInks, type DrawingOwner, DrawingPreferences, type DrawingPresets, type DrawingReadOutcome, type DrawingRejection, type DrawingRejectionReason, DrawingResourceContext, DrawingsBody, type DrawingsEvents, type DrawingsHandle, DrawingsMeta, type DrawingsWorkflow, EXCHANGE_TIMEZONE, type FeatureConfig, FeedBar, type FetchLike, FillBetweenPrimitive, type FullscreenApi, type FullscreenOptions, type HistoryChange, type HistoryEventState, IMAGE_HEADER_H, type ImageApi, type ImageEvent, type ImageHeader, type ImageOptions, type ImageTextRun, type ImageTile, type IndicatorCategory, type IndicatorDefinition, type IndicatorEvent, type IndicatorFill, type IndicatorInstance, type IndicatorLevel, type IndicatorManifest, type IndicatorOverrides, type IndicatorPickerAction, type IndicatorPickerBuiltInState, type IndicatorPickerCollection, type IndicatorPickerEmpty, type IndicatorPickerItem, type IndicatorPickerKind, type IndicatorPickerSource, type IndicatorPlot, type IndicatorPlots, type IndicatorsApi, type IndicatorsRenderer, LAYOUT_MENU_ROWS, type LayoutApi, LayoutBody, type LayoutEvent, LayoutMeta, type LayoutOptions, type LayoutSaveLoadApi, type LayoutSyncFlags, type LegendUi, type LineStyleSettings, type LogicalRange, MAIN_MIN_H, MIN_BAR_SPACING, MIRRORED_ICONS, type ManifestFill, type ManifestInput, type ManifestLevel, type ManifestPlot, type ManifestRun, MarkIconId, type MarkPainters, type MarketPhase, type MarketStatus, type MatchSegment, type MountedSymbolSearch, type MountedTimeframePicker, type OpenResource, PRICE_SCALE_MODE, type PaneOp, type PanePlan, type PaneRect, type PaneState, type PartialChartSettings, type PlacedImage, type PlotArea, type PlotPoint, PriceFormat, PriceFormatter, RANGE_PRESETS, RECENT_SYMBOLS_CAP, REPLAY_SPEEDS, type RangeFrameTarget, type RangePreset, type RangeSpan, type ReadChartSettings, type RecentsPort, type ReplayEventState, type ReplaySpeed, type ResourceLoadOutcome, ResourceRef, type ResourceRemoveOutcome, type ResourceSaveOutcome, ResourceStore, SCALE_MODES, SCALE_MODE_OPTIONS, SCROLL_STEP_BARS, SESSION_DOT, SESSION_LABEL, SESSION_STATE_TITLE, SPREAD_OPERATORS, type SaveConflictInfo, type ScaleMode, type ScaleUnitMenuRequest, type SearchClassFilter, SearchClassNode, type SearchController, type SearchControllerOptions, type SearchDisplayOptions, SearchPage, type SearchScope, type SearchState, type SelectedDrawing, type SemanticTheme, type SessionBandsPrimitive, type SessionLook, type SessionModel, type SessionSchedule, type SessionSegment, type SessionSource, type SessionState, type SessionTimeline, type SettingsMenuUi, ShadePrimitive, type SpreadOperator, type SpreadOperatorId, type SubsessionSource, SymbolInfo, type SymbolMarkPainter, type SymbolPriceFormat, SymbolRow, type SymbolSearchCache, type SymbolSearchHandle, type SymbolSearchOptions, THEME_ROLES, TIMEFRAME_MAX, TIMEFRAME_PRESETS, TIMEFRAME_PRESET_TOKENS, TIMEFRAME_UNITS, TIMEFRAME_UNIT_NAME, TIMEFRAME_UNIT_SECONDS, TIMEZONES, TOP_BAR_SLOTS, TemplateBody, TemplateMeta, TextDraft, TextEditFrame, type TextEditSession, type TextInlineEdit, type ThemeChangeListener, type ThemeController, type ThemeControllerOptions, type ThemeDeclaration, type ThemeDiagnostic, type ThemeDiagnosticCode, type ThemeMode, type ThemeOptions, type ThemeRole, type ThemeRoleFamily, type ThemeRoleId, type ThemeRoleKind, type ThemeRootStyle, type TimeLabelFormat, type TimeRange, type Timeframe, type TimeframeGroup, type TimeframePickerHandle, type TimeframePickerOptions, type TimeframeRestrictions, type TimeframeUnit, type TimezoneRow, type ToolbarButton, type ToolbarButtonOptions, type ToolbarButtonState, type TopBarSlot, type TopBarUi, type TouchOptions, type TradingHoursOption, type TransitionOptions, type UdfDatafeedOptions, type UdfSymbolResponse, type UiConfig, type VenueMarkPainter, type WidgetEvents, ZOOM_FACTOR, type ZoneClock, allowedTimeframes, applyBar, applyPlotOverrides, arrangementName, arrangementOf, attachCompare, attachDrawings, attachIndicators, autoTimeframeFor, buildManifestPlots, canvasTheme, canvasToBlob, chartContextMenu, chartDateSample, chartDictionaries, chartIconArtwork, chartSettingsDefaults, clipToWindow, coerceChartStyle, coerceScaleMode, compareTimeframes, composeFormingBar, composeImage, createChart, createChartI18n, createSearchController, createSessionBands, createSymbolSearchCache, createThemeController, createUdfDatafeed, dataStatusNotice, effectivePlotColor, exchangeTimezoneText, formatChartDate, formatClock, formatDuration, formatTimeframe, frameRange, hasExtendedHours, imageFileName, imageHeaderRuns, imageLayoutHeaderRuns, imageTileRuns, indicatorHidden, isChartStyle, isCollapsed, isIntradayTimeframe, isSymbolPair, isTimezoneChoice, latestPlotValue, layerChartSettings, looksLikeSpread, makeCrosshairTimeFormatter, makeTickMarkFormatter, manifestInputDefaults, marketStatus, marketStatusCountdown, marketStatusFor, marketStatusSentence, marketStatusText, marketStatusTitle, matchSegments, memoryChartStorage, memoryRecents, mountContextMenu, mountSymbolSearch, mountTimeframePicker, nextSessionChange, openInputsEditor, openSymbolSearch, openTimeframePicker, overriddenManifest, parseSessionModel, parseTimeframe, pickCompareColor, placeableByWidget, planPaneOp, promoteRecent, rangeAvailable, rangePresetTip, rangeSpanSeconds, readPartialChartSettings, resolveDisplayTimezone, resolveInitialTf, scrolledPosition, seriesTargetOf, sessionBreakTimes, sessionStateAt, sessionTimeline, spreadExpression, spreadSearchQuery, subTimeframesFor, subsessionBarFilter, tfSeconds, tfToUdfResolution, timeframeAllowed, timeframeGroupUnit, timeframeLabel, timeframeOrder, timeframeSeconds, timezoneCity, timezoneLabel, timezoneListing, toolName, tradingHoursOption, tradingHoursOptions, tzOffsetLabel, tzOffsetMinutes, udfPriceFormat, udfResolutionToTf, udfSymbolInfo, valueShaped, withFoldedHistory, zoneClock, zoomedBarSpacing };