candleview 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -47,6 +47,7 @@ declare class CandleView extends default_2.Component<CandleViewProps, CandleView
47
47
  private viewportDataBufferSize;
48
48
  private handleVisibleTimeRangeChange;
49
49
  setupResizeObserver(): void;
50
+ updateChartI18n(i18n: 'en' | 'zh-cn'): void;
50
51
  updateChartTheme(): void;
51
52
  getThemeConfig(theme: 'dark' | 'light'): ThemeConfig;
52
53
  getI18nConfig(i18n: 'en' | 'zh-cn'): I18n;
@@ -86,8 +87,6 @@ export default CandleView;
86
87
  declare interface CandleViewProps {
87
88
  theme?: 'dark' | 'light';
88
89
  i18n?: 'en' | 'zh-cn';
89
- showToolbar?: boolean;
90
- showIndicators?: boolean;
91
90
  height?: number | string;
92
91
  title: string;
93
92
  showTopPanel?: boolean;
@@ -127,8 +126,6 @@ declare interface CandleViewState {
127
126
  isTimeFormatModalOpen: boolean;
128
127
  isCloseTimeModalOpen: boolean;
129
128
  isTradingDayModalOpen: boolean;
130
- currentCloseTime: string;
131
- currentTradingDayType: string;
132
129
  activeTimeframe: TimeframeEnum;
133
130
  timeframe?: TimeframeEnum;
134
131
  timezone?: TimezoneEnum;
@@ -145,6 +142,8 @@ declare interface CandleViewState {
145
142
  isDataLoading: boolean;
146
143
  dataLoadProgress: number;
147
144
  loadError: string | null;
145
+ showTopPanel: boolean;
146
+ showLeftPanel: boolean;
148
147
  }
149
148
 
150
149
  declare interface I18n {