@aeristerminal/aeris-charts 0.14.4 → 0.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aeris_charts.css +19 -18
- package/dist/aeris_charts_wasm_bg.wasm +0 -0
- package/dist/gestures.d.ts +4 -1
- package/dist/impl.d.ts +20 -1
- package/dist/index.js +6 -6
- package/dist/types.d.ts +53 -1
- package/package.json +1 -1
package/dist/aeris_charts.css
CHANGED
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
--icon-active: #0a0a0a;
|
|
59
59
|
|
|
60
60
|
/* Status — gains / losses, success / failure. Shared with the main platform. */
|
|
61
|
-
--positive: #
|
|
62
|
-
--positive-subtle: #
|
|
63
|
-
--negative: #
|
|
64
|
-
--negative-subtle: #
|
|
61
|
+
--positive: #089981;
|
|
62
|
+
--positive-subtle: #dcf5f0;
|
|
63
|
+
--negative: #f7525f;
|
|
64
|
+
--negative-subtle: #ffe2e2;
|
|
65
65
|
--warning: #ff6900;
|
|
66
66
|
--warning-subtle: #ffedd4;
|
|
67
67
|
--indigo: #615fff;
|
|
@@ -133,12 +133,13 @@
|
|
|
133
133
|
--radius-medium: 14px;
|
|
134
134
|
--radius-large: 999px;
|
|
135
135
|
|
|
136
|
-
/* Chart
|
|
137
|
-
|
|
138
|
-
--
|
|
136
|
+
/* Chart — green up / red down.
|
|
137
|
+
Kept separate from --positive / --negative so gain/loss text keeps the platform colours. */
|
|
138
|
+
--bullish: #3fb950;
|
|
139
|
+
--bearish: #f85149;
|
|
139
140
|
/* Big-trade bubble fills; the bubble outline uses bullish / bearish. */
|
|
140
|
-
--buy-bubble: color-mix(in srgb, var(--
|
|
141
|
-
--sell-bubble: color-mix(in srgb, var(--
|
|
141
|
+
--buy-bubble: color-mix(in srgb, var(--bullish) 35%, transparent);
|
|
142
|
+
--sell-bubble: color-mix(in srgb, var(--bearish) 35%, transparent);
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
.dark,
|
|
@@ -180,10 +181,10 @@
|
|
|
180
181
|
--icon-active: #fafafa;
|
|
181
182
|
|
|
182
183
|
/* Status — gains / losses, success / failure. Shared with the main platform. */
|
|
183
|
-
--positive: #
|
|
184
|
-
--positive-subtle: #
|
|
185
|
-
--negative: #
|
|
186
|
-
--negative-subtle: #
|
|
184
|
+
--positive: #089981;
|
|
185
|
+
--positive-subtle: #193c37;
|
|
186
|
+
--negative: #f7525f;
|
|
187
|
+
--negative-subtle: #532b2e;
|
|
187
188
|
--warning: #ff6900;
|
|
188
189
|
--warning-subtle: #7e2a0c;
|
|
189
190
|
--indigo: #615fff;
|
|
@@ -248,12 +249,12 @@
|
|
|
248
249
|
/* Focus */
|
|
249
250
|
--ring-primary: var(--primary);
|
|
250
251
|
|
|
251
|
-
/* Chart */
|
|
252
|
-
--bullish:
|
|
253
|
-
--bearish:
|
|
252
|
+
/* Chart — green up / red down */
|
|
253
|
+
--bullish: #98c379;
|
|
254
|
+
--bearish: #e06c75;
|
|
254
255
|
/* Big-trade bubble fills; the bubble outline uses bullish / bearish. */
|
|
255
|
-
--buy-bubble: color-mix(in srgb, var(--
|
|
256
|
-
--sell-bubble: color-mix(in srgb, var(--
|
|
256
|
+
--buy-bubble: color-mix(in srgb, var(--bullish) 35%, transparent);
|
|
257
|
+
--sell-bubble: color-mix(in srgb, var(--bearish) 35%, transparent);
|
|
257
258
|
}
|
|
258
259
|
*,
|
|
259
260
|
*::before,
|
|
Binary file
|
package/dist/gestures.d.ts
CHANGED
|
@@ -2,4 +2,7 @@
|
|
|
2
2
|
import type { chart_impl } from "./impl.js";
|
|
3
3
|
/** One pointer ABI shared by DOM and worker hosts: device | modifiers | options. */
|
|
4
4
|
export declare function controller_pointer_flags(device: number, modifiers: number, options: number): number;
|
|
5
|
-
export declare function install_gestures(chart: chart_impl):
|
|
5
|
+
export declare function install_gestures(chart: chart_impl): {
|
|
6
|
+
detach: () => void;
|
|
7
|
+
sync: () => void;
|
|
8
|
+
};
|
package/dist/impl.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { series_primitive, series_primitive_handle } from "./primitives.js"
|
|
|
7
7
|
import type { canvas_primitive, canvas_primitive_handle } from "./canvas_plugins.js";
|
|
8
8
|
import type { custom_series_pane_view } from "./custom_series.js";
|
|
9
9
|
import { type accessibility_handle } from "./accessibility.js";
|
|
10
|
-
import type { alert_api, crosshair_action_request_handler, any_series_options, backend_status, bars_info, chart_api, chart_context_handler, chart_options, chart_state, chart_value_snapshot, comparison_legend_entry, data_changed_handler, dbl_click_handler, deep_partial, drawing_api, drawing_created_handler, drawing_kind, drawing_options, depth_event_columns, depth_event_layer_options, depth_heatmap_options, depth_ladder_row, depth_options, depth_profile_options, depth_snapshot_columns, depth_study_snapshot, depth_update_columns, drawing_point, drawing_tool_change_handler, drawing_interval, drawing_property_schema, drawing_kind_options, drawing_template, builtin_drawing_icon, kst_periods, study_calendar_policy, previous_period, frame_stats, footprint_series_api, footprint_series_options, footprint_trade, footprint_trade_columns, general_accessibility_snapshot, general_axis_api, general_axis_options, general_brush_range, general_brush_snapshot, general_legend_snapshot, general_pane_composition, general_pane_composition_result, general_pane_options, general_reference_api, general_reference_options, general_series_api, general_series_hit, general_series_kind, general_series_options, general_shared_tooltip_snapshot, general_tooltip_snapshot, general_update_options, general_xy_row, layout_hit, layout_input, layout_series_api, layout_series_kind, layout_series_options, box_plot_row, bubble_columns, bubble_row, category_box_columns, category_error_columns, category_heatmap_columns, category_range_columns, category_xy_columns, numeric_error_columns, numeric_heatmap_columns, numeric_range_columns, numeric_xy_columns, error_bar_row, heatmap_grid_row, histogram_columns, histogram_row, range_area_row, temporal_error_columns, temporal_heatmap_columns, temporal_range_columns, temporal_xy_columns, ingestion_diagnostics, handle_scale_options, handle_scroll_options, indicator_info, indicator_input_source, indicator_kind, indicator_output_style, indicator_schema, kinetic_scroll_options, pivot_kind, vwap_reset, last_value_data, localization_options, logical_range, mismatch_direction, mouse_event_handler, ohlc_columns, ohlc_data, options_change_handler, pane_api, price_line_api, price_line_options, persistence_restore_result, price_scale_api, price_scale_create_options, price_scale_info, ring_source_layout, series_api, series_change_handler, series_data, series_kind, series_marker, series_marker_options, series_options, size_change_handler, time, replay_clock_stats, replay_seek_stats, resample_boundary, resample_options, resampled_bar, study_annotations, synthetic_bar_options, trade_stream_stats, profile_source, profile_request, profile_snapshot, naked_profile_level, tpo_request, tpo_snapshot, tpo_presentation_options, periodic_profile_presentation_request, periodic_profile_presentation_options, anchored_vwap_point, profile_drawing_options, profile_drawing_snapshot, time_and_sales_options, time_and_sales_row, time_scale_api, tracking_mode_options, trading_api, trading_hit, chart_sync_event, crosshair_sync_position, trading_intent, visible_logical_range_handler, visible_time_range_handler, volume_profile_indicator_api, volume_profile_indicator_options, options_volume_api, options_volume_row, big_trades_api, big_trades_options, auction_marker_options, auction_markers_api, custom_study_definition, custom_study_fault_event, custom_study_binding_options } from "./types.js";
|
|
10
|
+
import type { alert_api, crosshair_action_request_handler, any_series_options, backend_status, bars_info, chart_api, chart_context_handler, chart_options, chart_state, chart_value_snapshot, comparison_legend_entry, data_changed_handler, dbl_click_handler, deep_partial, drawing_api, drawing_created_handler, drawing_kind, drawing_options, depth_event_columns, depth_event_layer_options, depth_heatmap_options, depth_ladder_row, depth_options, depth_profile_options, depth_snapshot_columns, depth_study_snapshot, depth_update_columns, drawing_point, drawing_tool_change_handler, drawing_interval, drawing_property_schema, drawing_kind_options, drawing_template, builtin_drawing_icon, kst_periods, study_calendar_policy, previous_period, frame_stats, footprint_series_api, footprint_series_options, footprint_trade, footprint_trade_columns, general_accessibility_snapshot, general_axis_api, general_axis_options, general_brush_range, general_brush_snapshot, general_legend_snapshot, general_pane_composition, general_pane_composition_result, general_pane_options, general_reference_api, general_reference_options, general_series_api, general_series_hit, general_series_kind, general_series_options, general_shared_tooltip_snapshot, general_tooltip_snapshot, general_update_options, general_xy_row, layout_hit, layout_input, layout_series_api, layout_series_kind, layout_series_options, box_plot_row, bubble_columns, bubble_row, category_box_columns, category_error_columns, category_heatmap_columns, category_range_columns, category_xy_columns, numeric_error_columns, numeric_heatmap_columns, numeric_range_columns, numeric_xy_columns, error_bar_row, heatmap_grid_row, histogram_columns, histogram_row, range_area_row, temporal_error_columns, temporal_heatmap_columns, temporal_range_columns, temporal_xy_columns, ingestion_diagnostics, handle_scale_options, handle_scroll_options, indicator_info, indicator_input_source, indicator_kind, indicator_output_style, indicator_schema, kinetic_scroll_options, pivot_kind, vwap_reset, last_value_data, localization_options, logical_range, mismatch_direction, mouse_event_handler, ohlc_columns, ohlc_data, options_change_handler, pane_api, price_line_api, price_line_options, persistence_restore_result, price_scale_api, price_scale_create_options, price_scale_info, ring_source_layout, series_api, series_change_handler, series_data, series_kind, series_marker, series_marker_options, series_options, size_change_handler, time, replay_change_handler, replay_clock_stats, replay_seek_stats, replay_state, replay_step, resample_boundary, resample_options, resampled_bar, study_annotations, synthetic_bar_options, trade_stream_stats, profile_source, profile_request, profile_snapshot, naked_profile_level, tpo_request, tpo_snapshot, tpo_presentation_options, periodic_profile_presentation_request, periodic_profile_presentation_options, anchored_vwap_point, profile_drawing_options, profile_drawing_snapshot, time_and_sales_options, time_and_sales_row, time_scale_api, tracking_mode_options, trading_api, trading_hit, chart_sync_event, crosshair_sync_position, trading_intent, visible_logical_range_handler, visible_time_range_handler, volume_profile_indicator_api, volume_profile_indicator_options, options_volume_api, options_volume_row, big_trades_api, big_trades_options, auction_marker_options, auction_markers_api, custom_study_definition, custom_study_fault_event, custom_study_binding_options } from "./types.js";
|
|
11
11
|
import { popover_palette, type theme_name } from "./theme.js";
|
|
12
12
|
/** Whether the host supplied an Aeris Charts Commercial License key. */
|
|
13
13
|
export declare function has_license_key(license_key: unknown): boolean;
|
|
@@ -302,6 +302,8 @@ export declare class chart_impl implements chart_api {
|
|
|
302
302
|
private readonly crosshair_action_handlers;
|
|
303
303
|
private observer;
|
|
304
304
|
private detach_gestures;
|
|
305
|
+
/** Re-reads controller cursor, events, repaint, and input wake after a non-input command. */
|
|
306
|
+
private sync_gesture_input;
|
|
305
307
|
private removed;
|
|
306
308
|
private readonly series_by_id;
|
|
307
309
|
/** Options-volume column series → the removal of their whole study. */
|
|
@@ -345,6 +347,7 @@ export declare class chart_impl implements chart_api {
|
|
|
345
347
|
/** The armed tool last reported to listeners; the engine may disarm on its own. */
|
|
346
348
|
private reported_tool;
|
|
347
349
|
private readonly tool_change_subs;
|
|
350
|
+
private readonly replay_change_subs;
|
|
348
351
|
private readonly drawing_created_subs;
|
|
349
352
|
/** Borderless caret surface shared by two explicitly separate product edit modes. */
|
|
350
353
|
private text_editor;
|
|
@@ -536,6 +539,22 @@ export declare class chart_impl implements chart_api {
|
|
|
536
539
|
time_and_sales(stream_id: number, options?: Partial<time_and_sales_options>): readonly time_and_sales_row[] | null;
|
|
537
540
|
replay_clock_micros(): number | null;
|
|
538
541
|
set_replay_clock_micros(clock_micros: number | null): replay_clock_stats;
|
|
542
|
+
replay_state(): replay_state;
|
|
543
|
+
replay_select_start(): replay_state;
|
|
544
|
+
replay_cancel_selection(): replay_state;
|
|
545
|
+
replay_select_time(time_micros: number): replay_state;
|
|
546
|
+
replay_play(): replay_state;
|
|
547
|
+
replay_pause(): replay_state;
|
|
548
|
+
replay_toggle_play(): replay_state;
|
|
549
|
+
replay_step_forward(): replay_state;
|
|
550
|
+
replay_step_back(): replay_state;
|
|
551
|
+
set_replay_speed(steps_per_second: number): replay_state;
|
|
552
|
+
set_replay_step(step: replay_step): replay_state;
|
|
553
|
+
replay_jump_to_realtime(): replay_state;
|
|
554
|
+
replay_exit(): replay_state;
|
|
555
|
+
subscribe_replay_change(handler: replay_change_handler): void;
|
|
556
|
+
unsubscribe_replay_change(handler: replay_change_handler): void;
|
|
557
|
+
private replay_command;
|
|
539
558
|
configure_synthetic_bar_series(series: series_api | number, options: synthetic_bar_options): void;
|
|
540
559
|
set_synthetic_bar_source(series: series_api | number, data: readonly series_data[]): void;
|
|
541
560
|
set_synthetic_bar_source_typed(series: series_api | number, columns: ohlc_columns): void;
|