@iccandle/vuejs-widget 0.3.1 → 0.3.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 +6 -2
- package/dist/widget-iccandle.cjs +4 -4
- package/dist/widget-iccandle.js +1084 -1038
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,9 @@ declare type __VLS_Props = {
|
|
|
28
28
|
theme?: "light" | "dark" | "system";
|
|
29
29
|
/** Simulate-candle mask colors per theme. Defaults: light `#ffffff`, dark `#0F0F0F`. */
|
|
30
30
|
chartMaskColors?: WidgetChartMaskColors;
|
|
31
|
+
/** Widget + embed background (hex, `#` optional). Omitted = CSS defaults. */
|
|
32
|
+
bg_dark?: string;
|
|
33
|
+
bg_light?: string;
|
|
31
34
|
language?: WidgetLanguage;
|
|
32
35
|
onCloseResult?: () => void;
|
|
33
36
|
iframeLoaded?: boolean;
|
|
@@ -47,7 +50,6 @@ declare type __VLS_Props = {
|
|
|
47
50
|
* Also used to gate pattern date-range drawing.
|
|
48
51
|
* Ignored in pattern mode (`isShowScanButton={false}`), which always uses
|
|
49
52
|
* `PATTERN_SCANNER_INTERVALS` (`1`…`1D`, no `1W`/`1M`).
|
|
50
|
-
* Tracker is always hidden on `1W`/`1M` (same allowlist as scanner settings).
|
|
51
53
|
*/
|
|
52
54
|
availableIntervals?: string[];
|
|
53
55
|
/** Called when the user clicks Scan in the scanner popup. */
|
|
@@ -167,6 +169,9 @@ export declare type WidgetIccandleProps = {
|
|
|
167
169
|
theme?: "light" | "dark" | "system";
|
|
168
170
|
/** Simulate-candle mask colors per theme. Defaults: light `#ffffff`, dark `#0F0F0F`. */
|
|
169
171
|
chartMaskColors?: WidgetChartMaskColors;
|
|
172
|
+
/** Widget + embed background (hex, `#` optional). Omitted = CSS defaults. */
|
|
173
|
+
bg_dark?: string;
|
|
174
|
+
bg_light?: string;
|
|
170
175
|
language?: WidgetLanguage;
|
|
171
176
|
onCloseResult?: () => void;
|
|
172
177
|
iframeLoaded?: boolean;
|
|
@@ -186,7 +191,6 @@ export declare type WidgetIccandleProps = {
|
|
|
186
191
|
* Also used to gate pattern date-range drawing.
|
|
187
192
|
* Ignored in pattern mode (`isShowScanButton={false}`), which always uses
|
|
188
193
|
* `PATTERN_SCANNER_INTERVALS` (`1`…`1D`, no `1W`/`1M`).
|
|
189
|
-
* Tracker is always hidden on `1W`/`1M` (same allowlist as scanner settings).
|
|
190
194
|
*/
|
|
191
195
|
availableIntervals?: string[];
|
|
192
196
|
/** Called when the user clicks Scan in the scanner popup. */
|