@tradecanvas/chart 1.50.0 → 1.52.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 (141) hide show
  1. package/README.md +1 -1
  2. package/dist/Chart.d.ts +194 -11
  3. package/dist/Chart.d.ts.map +1 -1
  4. package/dist/DataManager.d.ts +24 -0
  5. package/dist/DataManager.d.ts.map +1 -1
  6. package/dist/{LayoutSession-Dcvn5KMK.js → LayoutSession-4SLt8-0u.js} +676 -386
  7. package/dist/LayoutSession-4SLt8-0u.js.map +1 -0
  8. package/dist/LayoutSession-BOtFzvMm.cjs +2 -0
  9. package/dist/LayoutSession-BOtFzvMm.cjs.map +1 -0
  10. package/dist/SeriesStore.d.ts +31 -0
  11. package/dist/SeriesStore.d.ts.map +1 -1
  12. package/dist/charts/ChartTypeStrategy.d.ts +32 -5
  13. package/dist/charts/ChartTypeStrategy.d.ts.map +1 -1
  14. package/dist/finance/performanceData.d.ts +17 -2
  15. package/dist/finance/performanceData.d.ts.map +1 -1
  16. package/dist/frameworks/feedBars.d.ts +22 -6
  17. package/dist/frameworks/feedBars.d.ts.map +1 -1
  18. package/dist/i18n-BjW5GVrO.cjs +2 -0
  19. package/dist/i18n-BjW5GVrO.cjs.map +1 -0
  20. package/dist/{i18n-DjzoHpMJ.js → i18n-C7b-2BJ5.js} +33 -1
  21. package/dist/i18n-C7b-2BJ5.js.map +1 -0
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.ts +6 -6
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +122 -98
  27. package/dist/index.js.map +1 -1
  28. package/dist/io/resampleOHLCV.d.ts +10 -4
  29. package/dist/io/resampleOHLCV.d.ts.map +1 -1
  30. package/dist/layout/labelWidths.d.ts +16 -0
  31. package/dist/layout/labelWidths.d.ts.map +1 -0
  32. package/dist/widget/ChartWidget.d.ts +278 -15
  33. package/dist/widget/ChartWidget.d.ts.map +1 -1
  34. package/dist/widget/ChartWidgetGrid.d.ts.map +1 -1
  35. package/dist/widget/WatchlistStore.d.ts.map +1 -1
  36. package/dist/widget/WidgetContextMenu.d.ts +25 -3
  37. package/dist/widget/WidgetContextMenu.d.ts.map +1 -1
  38. package/dist/widget/WidgetDataWindow.d.ts +7 -0
  39. package/dist/widget/WidgetDataWindow.d.ts.map +1 -1
  40. package/dist/widget/WidgetHotkeySheet.d.ts.map +1 -1
  41. package/dist/widget/WidgetIndicatorLegend.d.ts +23 -3
  42. package/dist/widget/WidgetIndicatorLegend.d.ts.map +1 -1
  43. package/dist/widget/WidgetIndicatorSettings.d.ts.map +1 -1
  44. package/dist/widget/WidgetLayoutsUI.d.ts.map +1 -1
  45. package/dist/widget/WidgetObjectTree.d.ts +7 -1
  46. package/dist/widget/WidgetObjectTree.d.ts.map +1 -1
  47. package/dist/widget/WidgetSettings.d.ts +11 -3
  48. package/dist/widget/WidgetSettings.d.ts.map +1 -1
  49. package/dist/widget/WidgetStatusBar.d.ts +110 -3
  50. package/dist/widget/WidgetStatusBar.d.ts.map +1 -1
  51. package/dist/widget/WidgetSymbolSearch.d.ts +73 -20
  52. package/dist/widget/WidgetSymbolSearch.d.ts.map +1 -1
  53. package/dist/widget/WidgetToolbar.d.ts +65 -6
  54. package/dist/widget/WidgetToolbar.d.ts.map +1 -1
  55. package/dist/widget/WidgetTradeMenu.d.ts.map +1 -1
  56. package/dist/widget/chartSettingsStore.d.ts +76 -0
  57. package/dist/widget/chartSettingsStore.d.ts.map +1 -0
  58. package/dist/widget/chartTemplates.d.ts.map +1 -1
  59. package/dist/widget/compareLegend.d.ts +20 -0
  60. package/dist/widget/compareLegend.d.ts.map +1 -0
  61. package/dist/widget/hostButtons.d.ts +5 -2
  62. package/dist/widget/hostButtons.d.ts.map +1 -1
  63. package/dist/widget/index.cjs +542 -127
  64. package/dist/widget/index.cjs.map +1 -1
  65. package/dist/widget/index.d.ts +1 -1
  66. package/dist/widget/index.d.ts.map +1 -1
  67. package/dist/widget/index.js +2909 -1750
  68. package/dist/widget/index.js.map +1 -1
  69. package/dist/widget/indicatorInputWords.d.ts +19 -0
  70. package/dist/widget/indicatorInputWords.d.ts.map +1 -0
  71. package/dist/widget/locales/ar.d.ts.map +1 -1
  72. package/dist/widget/locales/cs.d.ts.map +1 -1
  73. package/dist/widget/locales/da.d.ts.map +1 -1
  74. package/dist/widget/locales/de.d.ts.map +1 -1
  75. package/dist/widget/locales/el.d.ts.map +1 -1
  76. package/dist/widget/locales/en.d.ts +16 -0
  77. package/dist/widget/locales/en.d.ts.map +1 -1
  78. package/dist/widget/locales/es.d.ts.map +1 -1
  79. package/dist/widget/locales/et.d.ts.map +1 -1
  80. package/dist/widget/locales/fa.d.ts.map +1 -1
  81. package/dist/widget/locales/fr.d.ts.map +1 -1
  82. package/dist/widget/locales/he.d.ts.map +1 -1
  83. package/dist/widget/locales/hu.d.ts.map +1 -1
  84. package/dist/widget/locales/id.d.ts.map +1 -1
  85. package/dist/widget/locales/index.cjs +1 -1
  86. package/dist/widget/locales/index.cjs.map +1 -1
  87. package/dist/widget/locales/index.js +449 -1
  88. package/dist/widget/locales/index.js.map +1 -1
  89. package/dist/widget/locales/it.d.ts.map +1 -1
  90. package/dist/widget/locales/ja.d.ts.map +1 -1
  91. package/dist/widget/locales/ko.d.ts.map +1 -1
  92. package/dist/widget/locales/ms.d.ts.map +1 -1
  93. package/dist/widget/locales/nb.d.ts.map +1 -1
  94. package/dist/widget/locales/nl.d.ts.map +1 -1
  95. package/dist/widget/locales/pl.d.ts.map +1 -1
  96. package/dist/widget/locales/pt.d.ts.map +1 -1
  97. package/dist/widget/locales/ro.d.ts.map +1 -1
  98. package/dist/widget/locales/ru.d.ts.map +1 -1
  99. package/dist/widget/locales/sk.d.ts.map +1 -1
  100. package/dist/widget/locales/sv.d.ts.map +1 -1
  101. package/dist/widget/locales/th.d.ts.map +1 -1
  102. package/dist/widget/locales/tr.d.ts.map +1 -1
  103. package/dist/widget/locales/vi.d.ts.map +1 -1
  104. package/dist/widget/locales/zh.d.ts.map +1 -1
  105. package/dist/widget/locales/zhHant.d.ts.map +1 -1
  106. package/dist/widget/selectMenu.d.ts.map +1 -1
  107. package/dist/widget/settingsRows.d.ts +12 -3
  108. package/dist/widget/settingsRows.d.ts.map +1 -1
  109. package/dist/widget/symbolBadge.d.ts +26 -0
  110. package/dist/widget/symbolBadge.d.ts.map +1 -0
  111. package/dist/widget/symbolCatalog.d.ts +62 -0
  112. package/dist/widget/symbolCatalog.d.ts.map +1 -0
  113. package/dist/widget/symbolCell.d.ts +8 -0
  114. package/dist/widget/symbolCell.d.ts.map +1 -0
  115. package/dist/widget/symbolInfoView.d.ts +3 -0
  116. package/dist/widget/symbolInfoView.d.ts.map +1 -1
  117. package/dist/widget/symbolMatch.d.ts +38 -0
  118. package/dist/widget/symbolMatch.d.ts.map +1 -0
  119. package/dist/widget/symbolSearchFilters.d.ts +52 -0
  120. package/dist/widget/symbolSearchFilters.d.ts.map +1 -0
  121. package/dist/widget/types.d.ts +88 -11
  122. package/dist/widget/types.d.ts.map +1 -1
  123. package/dist/widget/widgetCompare.d.ts +18 -0
  124. package/dist/widget/widgetCompare.d.ts.map +1 -1
  125. package/dist/widget/widgetLayout.d.ts +13 -1
  126. package/dist/widget/widgetLayout.d.ts.map +1 -1
  127. package/dist/widget/widgetSettingsLook.d.ts +3 -1
  128. package/dist/widget/widgetSettingsLook.d.ts.map +1 -1
  129. package/dist/widget/widgetShareState.d.ts +8 -0
  130. package/dist/widget/widgetShareState.d.ts.map +1 -1
  131. package/dist/widget/widgetTimezones.d.ts +4 -1
  132. package/dist/widget/widgetTimezones.d.ts.map +1 -1
  133. package/dist/widget/widgetUI.d.ts +2 -1
  134. package/dist/widget/widgetUI.d.ts.map +1 -1
  135. package/package.json +3 -3
  136. package/dist/LayoutSession-BBw0ke8V.cjs +0 -2
  137. package/dist/LayoutSession-BBw0ke8V.cjs.map +0 -1
  138. package/dist/LayoutSession-Dcvn5KMK.js.map +0 -1
  139. package/dist/i18n-DVeWlg64.cjs +0 -2
  140. package/dist/i18n-DVeWlg64.cjs.map +0 -1
  141. package/dist/i18n-DjzoHpMJ.js.map +0 -1
@@ -26,32 +26,80 @@ export declare class WidgetToolbar {
26
26
  private moreMenu;
27
27
  private tfCurrent;
28
28
  private resizeObserver;
29
+ /** Tells of a host's group of buttons resized: a count in a button that grew or shrank. */
30
+ private hostObserver;
29
31
  private moreBtn;
30
32
  private fitFrame;
33
+ /** Gone: a late font or a frame asked for before then fits nothing. */
34
+ private destroyed;
31
35
  private undoBtn;
32
36
  private redoBtn;
33
37
  private trade;
38
+ /** What the layouts button shows now, its state and name: the same again changes nothing. */
39
+ private layoutShown;
40
+ /** The symbol its button shows now: the same again builds nothing. */
41
+ private symbolShown;
34
42
  /**
35
43
  * `layer`: where the toolbar's menus open, over the page (the widget's
36
44
  * overlay layer), so no box around the widget clips them. Without one they
37
45
  * open inside their buttons.
38
46
  */
39
47
  constructor(host: HTMLElement, config: ToolbarConfig, callbacks: ToolbarCallbacks, t: Translator, layer?: (() => HTMLElement) | undefined);
40
- /** Fit once before the next frame, however many changes came first. */
48
+ /** Fit once before the next frame, however many changes came first; never once the toolbar is gone. */
41
49
  private scheduleFit;
42
50
  /**
43
51
  * What a menu opened from `btn` hangs from: the button, or "more" while the
44
- * button is folded under it.
52
+ * button is folded under it. A folded button has no box, so a menu placed
53
+ * from it would open at the widget's corner.
45
54
  */
46
- private anchorOf;
55
+ menuAnchor(btn: HTMLElement): HTMLElement;
47
56
  /**
48
57
  * Fit the toolbar to its width. When everything doesn't fit, the buttons
49
58
  * on the right fold under "more" one at a time, from the right, until the
50
- * rest does; when even that isn't enough, the menus show their icons only
59
+ * rest does; a host's buttons on the left come before them all, so they
60
+ * fold last. When even that isn't enough, the menus show their icons only
51
61
  * and the interval buttons give way to the interval menu, and as many
52
- * buttons as then fit come back.
62
+ * buttons as then fit come back, from the left. Last of all, with nothing
63
+ * left to fold (a long symbol on a phone), the symbol gives way, in
64
+ * `SQUEEZE_STEPS`: its venue ("HYPERLIQUID:xyz:") is cut short to an
65
+ * ellipsis before anything else shrinks, its ticker kept whole while the
66
+ * buttons beside it can give. Each fit measures it whole, so it takes its
67
+ * room back as soon as there is room.
68
+ *
69
+ * A refit that changes what is folded closes the menus hanging from "more"
70
+ * or from a button that folded, whose place is gone, and the keyboard stays
71
+ * on the toolbar when the button it was on hides (see `keepFocus`).
53
72
  */
54
73
  fit(): void;
74
+ /** The folding, as `fit` says; the menus and the keyboard are `fit`'s. */
75
+ private refit;
76
+ /**
77
+ * Whether the toolbar's controls end inside its content box: the padding
78
+ * at its end clear (its left right to left), in its own layout px, as a
79
+ * container's transform or zoom leaves them. Widths are fractional ("more"
80
+ * ending at 1366.19 in a bar 1365 wide): the reach is rounded up to a
81
+ * whole px and the room down, so no share of a pixel hangs past the edge.
82
+ */
83
+ private fits;
84
+ /** What is folded, and whether "more" shows, as one word to tell a refit that changed them. */
85
+ private foldedState;
86
+ /** Close the menus that hang from "more", or from a button now folded: their entries or their place are stale. */
87
+ private closeStaleMenus;
88
+ /** The toolbar's button the keyboard is on: the one a menu hangs from while the keyboard is in the menu. */
89
+ private toolbarFocus;
90
+ /**
91
+ * Keep the keyboard on the toolbar after a refit: on `focused` while it
92
+ * shows; on "more" when it folded; when "more" itself went (everything is
93
+ * back), on the last button that came back, beside where "more" was. A
94
+ * menu still open that holds it keeps it.
95
+ */
96
+ private keepFocus;
97
+ /** The buttons that can fold, in their order: those that fold whole, and those inside what folds (the Trade menu). */
98
+ private overflowButtons;
99
+ /** Whether a toolbar button shows: not hidden, folded or switched off, and "more" only while the toolbar is collapsed or narrow. */
100
+ private shows;
101
+ /** Whether `el`, or what holds it on the toolbar, is part of a switch that is off. */
102
+ private isOff;
55
103
  private build;
56
104
  /** The buttons a narrow toolbar hides, as a menu under `anchor`: those switched off left out. */
57
105
  private toggleMore;
@@ -72,7 +120,12 @@ export declare class WidgetToolbar {
72
120
  setActive(role: string, on: boolean): void;
73
121
  /** Hide the button of `role` while the dock's rail has its own for it (and leave it out of "more"). */
74
122
  setRailed(role: string, railed: boolean): void;
75
- /** The layout open now on its button (`null`: none saved yet), with a dot while it has unsaved changes. */
123
+ /**
124
+ * The layout open now on its button (`null`: none saved yet), with a dot
125
+ * while it has unsaved changes. A new name changes the button's width, not
126
+ * the toolbar's, so no resize tells of it: the toolbar refits, lest "more"
127
+ * be pushed past its end.
128
+ */
76
129
  setLayout(name: string | null, dirty: boolean): void;
77
130
  /** Swap the fullscreen button between enter and exit. */
78
131
  setFullscreen(on: boolean): void;
@@ -90,6 +143,12 @@ export declare class WidgetToolbar {
90
143
  private renderTimeframes;
91
144
  /** Whether the indicators dialog is open, on its button. */
92
145
  setIndicatorsOpen(open: boolean): void;
146
+ /**
147
+ * The symbol on its button, its venue ("BINANCE:") apart from its ticker,
148
+ * the button marked when it has one: a toolbar with no room left cuts the
149
+ * venue short first (`refit`).
150
+ */
151
+ private renderSymbol;
93
152
  update(state: WidgetState): void;
94
153
  private sep;
95
154
  private spacer;
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetToolbar.d.ts","sourceRoot":"","sources":["../../src/widget/WidgetToolbar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAKlG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAmB5C,+FAA+F;AAC/F,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAI7E;AAED,qBAAa,aAAa;IAiCtB,OAAO,CAAC,QAAQ,CAAC,IAAI;IAIrB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC;IApCzB,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,SAAS,CAAmB;IACpC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C,IAAI;IAnBvB,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,OAAO,CAAC,IAAI,CAAkC;IAC9C,+CAA+C;IAC/C,OAAO,CAAC,IAAI,CAAsB;IAElC,mFAAmF;IACnF,MAAM,CAAC,MAAM,CACX,SAAS,EAAE,gBAAgB,EAC3B,CAAC,EAAE,UAAU,EACb,IAAI,EAAE,MAAM,WAAW,EACvB,QAAQ,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,WAAW,GAC1C,eAAe,GAAG,IAAI;IAKzB,OAAO;IAoBP,6DAA6D;IAC7D,IAAI,IAAI,IAAI;IAIZ,+FAA+F;IAC/F,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,GAAG,IAAI;IAOxC,OAAO,IAAI,IAAI;IAKf,4DAA4D;IAC5D,OAAO,CAAC,KAAK;IAKb,mFAAmF;IACnF,OAAO,CAAC,MAAM;CAsBf"}
@@ -0,0 +1,76 @@
1
+ import { ChartTypeOptions } from '@tradecanvas/commons';
2
+ import { KeyValueStorage } from './DrawingTemplateStore.js';
3
+ import { ChartSettingsState } from './types.js';
4
+ type SettingsKey = keyof ChartSettingsState;
5
+ /** Where `persistSettings` keeps the settings unless it names a key. */
6
+ export declare const DEFAULT_SETTINGS_KEY = "tcw:chart-settings";
7
+ /** The viewer's own: a layout or a link from someone else leaves them as they are. */
8
+ export declare const VIEWER_KEYS: ReadonlySet<SettingsKey>;
9
+ /**
10
+ * What `persistSettings` leaves out: besides the flags never kept, a chart
11
+ * type's own settings, which are the chart's state (a layout loaded puts
12
+ * its own in their place).
13
+ */
14
+ export declare const PERSIST_LEAVES: ReadonlySet<SettingsKey>;
15
+ /**
16
+ * What a layout's `settings` leaves out: the viewer's own, the scale and its
17
+ * flip (fields of their own there), and a chart type's own settings (in the
18
+ * chart's state).
19
+ */
20
+ export declare const LAYOUT_LEAVES: ReadonlySet<SettingsKey>;
21
+ /**
22
+ * What a shared link's `settings` leaves out: the viewer's own and the scale
23
+ * (a field of its own there). The link has no other place for the flip or a
24
+ * chart type's own settings, so they go in it.
25
+ */
26
+ export declare const SHARE_LEAVES: ReadonlySet<SettingsKey>;
27
+ /** Nothing left out: every setting of the right kind. */
28
+ export declare const ALL_SETTINGS: ReadonlySet<SettingsKey>;
29
+ /** The chart types with settings of their own (Renko's box, Kagi's reversal…), each a key of `chartTypeOptions`. */
30
+ export declare const TYPES_WITH_SETTINGS: readonly (keyof ChartTypeOptions)[];
31
+ /** Whether a chart type has settings of its own. */
32
+ export declare function hasTypeSettings(type: unknown): type is keyof ChartTypeOptions;
33
+ /**
34
+ * Only the chart types given settings: one at its defaults (`{}`) is as one
35
+ * never set, though the chart lists every type it was given.
36
+ */
37
+ export declare function typesWithSettings(options: ChartTypeOptions): ChartTypeOptions;
38
+ /** Every chart type with settings of its own at its defaults: given to the chart, it resets them all. */
39
+ export declare function typesAtDefaults(): ChartTypeOptions;
40
+ /**
41
+ * Chart Settings read from anywhere (storage, a layout, a link, a host's
42
+ * call): only the known keys, each of its kind, numbers in the settings'
43
+ * ranges, a time zone and a number format this browser knows. `leave` names
44
+ * the keys not to take.
45
+ */
46
+ export declare function readChartSettings(raw: unknown, leave?: ReadonlySet<SettingsKey>): Partial<ChartSettingsState>;
47
+ /** Every setting but those in `leave`. */
48
+ export declare function pickSettings(settings: ChartSettingsState, leave: ReadonlySet<SettingsKey>): Partial<ChartSettingsState>;
49
+ /** The settings that differ from `base`, but those in `leave`. */
50
+ export declare function settingsDelta(settings: ChartSettingsState, base: ChartSettingsState, leave: ReadonlySet<SettingsKey>): Partial<ChartSettingsState>;
51
+ /**
52
+ * What a shared link carries: the settings that differ from `base`, but
53
+ * those in `SHARE_LEAVES`, with a chart type's own settings only for the
54
+ * types that have some (a link should stay short).
55
+ */
56
+ export declare function shareDelta(settings: ChartSettingsState, base: ChartSettingsState): Partial<ChartSettingsState>;
57
+ /** The key `persistSettings` names; null when it is off. */
58
+ export declare function settingsStoreKey(option: boolean | {
59
+ key?: string;
60
+ } | undefined): string | null;
61
+ /**
62
+ * The Chart Settings a user changed, kept in this browser's storage under one
63
+ * key (`persistSettings`). What is read back is checked; what can't be read
64
+ * is left out.
65
+ */
66
+ export declare class ChartSettingsStore {
67
+ private readonly key;
68
+ private readonly storage;
69
+ constructor(key: string, storage?: KeyValueStorage | null);
70
+ /** What was kept; nothing when nothing readable was. */
71
+ load(): Partial<ChartSettingsState>;
72
+ /** Keep what differs from `defaults` (the host's), so a default the host changes later still reaches a user who never touched it. */
73
+ save(settings: ChartSettingsState, defaults: ChartSettingsState): void;
74
+ }
75
+ export {};
76
+ //# sourceMappingURL=chartSettingsStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chartSettingsStore.d.ts","sourceRoot":"","sources":["../../src/widget/chartSettingsStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAIrD,KAAK,WAAW,GAAG,MAAM,kBAAkB,CAAC;AAE5C,wEAAwE;AACxE,eAAO,MAAM,oBAAoB,uBAAuB,CAAC;AASzD,sFAAsF;AACtF,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,WAAW,CAAsD,CAAC;AACxG;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,WAAW,CAAC,WAAW,CAA6D,CAAC;AAClH;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,WAAW,CAEjD,CAAC;AACH;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,WAAW,CAAsE,CAAC;AACzH,yDAAyD;AACzD,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,WAAW,CAA0B,CAAC;AAE7E,oHAAoH;AACpH,eAAO,MAAM,mBAAmB,EAAE,SAAS,CAA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,kBAAkB,CAAC;IAWnC,qIAAqI;IACrI,IAAI,CAAC,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI;CAOvE"}
@@ -1 +1 @@
1
- {"version":3,"file":"chartTemplates.d.ts","sourceRoot":"","sources":["../../src/widget/chartTemplates.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAIzE,+FAA+F;AAC/F,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACtC,KAAK,EAAE,kBAAkB,CAAC;CAC3B;AAoBD,6DAA6D;AAC7D,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAY1E;AAiBD;;;GAGG;AACH,qBAAa,kBAAkB;IAE3B,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,GAAG,SAAwB,EAC3B,OAAO,GAAE,eAAe,GAAG,IAAuB;IAGrE,+BAA+B;IAC/B,IAAI,IAAI,aAAa,EAAE;IAgBvB,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI;IAIvC,4FAA4F;IAC5F,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,GAAG,OAAO;IAYpF,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAO3B"}
1
+ {"version":3,"file":"chartTemplates.d.ts","sourceRoot":"","sources":["../../src/widget/chartTemplates.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAIzE,+FAA+F;AAC/F,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACtC,KAAK,EAAE,kBAAkB,CAAC;CAC3B;AAaD,6DAA6D;AAC7D,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAE1E;AAiBD;;;GAGG;AACH,qBAAa,kBAAkB;IAE3B,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,GAAG,SAAwB,EAC3B,OAAO,GAAE,eAAe,GAAG,IAAuB;IAGrE,+BAA+B;IAC/B,IAAI,IAAI,aAAa,EAAE;IAgBvB,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI;IAIvC,4FAA4F;IAC5F,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,GAAG,OAAO;IAYpF,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAO3B"}
@@ -0,0 +1,20 @@
1
+ import { CompareValue } from '@tradecanvas/core';
2
+ import { IndicatorLegendRow } from './WidgetIndicatorLegend.js';
3
+ /**
4
+ * A compared symbol's price, in decimals of its own by its size (65,432.10,
5
+ * 0.1002): the chart's decimals are the main symbol's, which would write a
6
+ * 0.1002 coin as 0.10.
7
+ */
8
+ export declare function formatComparePrice(price: number, locale?: string): string;
9
+ /** A change in percent with its sign (+8.45%, -7.69%), none when it reads as nothing. */
10
+ export declare function formatChangePercent(change: number, locale?: string): string;
11
+ /**
12
+ * The legend's rows for the symbols compared in percent (`chart.getCompareValues`):
13
+ * each one marked in its line's colour, its price and its change since its
14
+ * first bar on screen, as the percent scale reads it, in the legend's text
15
+ * colour: no one colour reads as text on both the dark and the light theme. Where the chart draws
16
+ * no compare lines (`drawn` false: Renko, Kagi and the like), each row is
17
+ * dimmed, without values, as an indicator off its intervals is.
18
+ */
19
+ export declare function compareLegendRows(values: readonly CompareValue[], locale?: string, drawn?: boolean): IndicatorLegendRow[];
20
+ //# sourceMappingURL=compareLegend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compareLegend.d.ts","sourceRoot":"","sources":["../../src/widget/compareLegend.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAQrE;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,SAAU,GAAG,MAAM,CAE1E;AAED,yFAAyF;AACzF,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,SAAU,GAAG,MAAM,CAG5E;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,YAAY,EAAE,EAAE,MAAM,SAAU,EAAE,KAAK,UAAO,GAAG,kBAAkB,EAAE,CAUvH"}
@@ -1,5 +1,8 @@
1
1
  /** Shows a host's button as on or off; a switch says so to assistive tech too. */
2
2
  export declare function setHostButtonActive(element: HTMLButtonElement, on: boolean, toggle: boolean): void;
3
- /** A host's toolbar button's text, its name following ("News: 3"). */
4
- export declare function setHostButtonText(element: HTMLButtonElement, label: string, text: string): void;
3
+ /**
4
+ * A host's toolbar button's text, its name following ("News: 3"). False when
5
+ * it showed that text already: nothing is written again.
6
+ */
7
+ export declare function setHostButtonText(element: HTMLButtonElement, label: string, value: string): boolean;
5
8
  //# sourceMappingURL=hostButtons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hostButtons.d.ts","sourceRoot":"","sources":["../../src/widget/hostButtons.ts"],"names":[],"mappings":"AAEA,kFAAkF;AAClF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAGlG;AAED,sEAAsE;AACtE,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAS/F"}
1
+ {"version":3,"file":"hostButtons.d.ts","sourceRoot":"","sources":["../../src/widget/hostButtons.ts"],"names":[],"mappings":"AAEA,kFAAkF;AAClF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAGlG;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAcnG"}