@363045841yyt/klinechart 0.7.5 → 0.7.7
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/README.md +4 -4
- package/dist/components/ChartSettingsDialog.vue.d.ts +14 -0
- package/dist/components/ChartSettingsDialog.vue.d.ts.map +1 -0
- package/dist/components/ColorPresetPanel.vue.d.ts +12 -0
- package/dist/components/ColorPresetPanel.vue.d.ts.map +1 -0
- package/dist/components/DrawingStyleToolbar.vue.d.ts +1 -15
- package/dist/components/DrawingStyleToolbar.vue.d.ts.map +1 -1
- package/dist/components/IndicatorParams.vue.d.ts.map +1 -1
- package/dist/components/IndicatorSelector.vue.d.ts.map +1 -1
- package/dist/components/KLineChart.vue.d.ts +7 -6
- package/dist/components/KLineChart.vue.d.ts.map +1 -1
- package/dist/components/KLineTooltip.vue.d.ts +9 -2
- package/dist/components/KLineTooltip.vue.d.ts.map +1 -1
- package/dist/components/LeftToolbar.vue.d.ts +4 -3
- package/dist/components/LeftToolbar.vue.d.ts.map +1 -1
- package/dist/components/MarkerTooltip.vue.d.ts +1 -12
- package/dist/components/MarkerTooltip.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/composables/useFullscreenTeleportTarget.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.css +1 -0
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1009 -905
- package/dist/version.d.ts +1 -1
- package/dist/web-component.d.ts +18 -0
- package/dist/web-component.d.ts.map +1 -0
- package/package.json +10 -2
- package/src/__tests__/_mockController.ts +11 -1
- package/src/components/ChartSettingsDialog.vue +624 -0
- package/src/components/ColorPresetPanel.vue +289 -0
- package/src/components/DrawingStyleToolbar.vue +12 -25
- package/src/components/IndicatorParams.vue +58 -57
- package/src/components/IndicatorSelector.vue +91 -88
- package/src/components/KLineChart.vue +267 -442
- package/src/components/KLineTooltip.vue +19 -13
- package/src/components/LeftToolbar.vue +35 -393
- package/src/components/MarkerTooltip.vue +5 -16
- package/src/components/index.ts +1 -0
- package/src/composables/useFullscreenTeleportTarget.ts +0 -2
- package/src/web-component.ts +14 -0
- package/dist/klinechart.css +0 -2
package/README.md
CHANGED
|
@@ -18,11 +18,11 @@ English | [简体中文](README_CN.md)
|
|
|
18
18
|
A lightweight financial K-line charting library focused on quantitative trading scenarios. **Agent is a first-class citizen** — supports AI Agent direct control of chart operations, providing TradingView-level interaction experience.
|
|
19
19
|
|
|
20
20
|
<div align="center">
|
|
21
|
-
<img src="https://files.seeusercontent.com/2026/05/
|
|
22
|
-
<img src="https://files.seeusercontent.com/2026/05/
|
|
21
|
+
<img src="https://files.seeusercontent.com/2026/06/05/5Nfe/dark1.png" width="400" style="border-radius: 12px; margin: 8px;" />
|
|
22
|
+
<img src="https://files.seeusercontent.com/2026/06/05/vN2k/dark2.png" width="400" style="border-radius: 12px; margin: 8px;" />
|
|
23
23
|
<br/>
|
|
24
|
-
<img src="https://files.seeusercontent.com/2026/05/
|
|
25
|
-
<img src="https://files.seeusercontent.com/2026/05/
|
|
24
|
+
<img src="https://files.seeusercontent.com/2026/06/05/Udw3/white1.png" width="400" style="border-radius: 12px; margin: 8px;" />
|
|
25
|
+
<img src="https://files.seeusercontent.com/2026/06/05/vQg8/white2.png" width="400" style="border-radius: 12px; margin: 8px;" />
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
28
|
## ✨ Core Features
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ChartSettings } from '@363045841yyt/klinechart-core/config';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
show: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
close: () => any;
|
|
7
|
+
confirm: (settings: ChartSettings) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
onConfirm?: ((settings: ChartSettings) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=ChartSettingsDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartSettingsDialog.vue.d.ts","sourceRoot":"","sources":["../../src/components/ChartSettingsDialog.vue"],"names":[],"mappings":"AA0JA;AAonBA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,sCAAsC,CAAA;AAK7C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAA;CACd,CAAC;AAkjBF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ColorPresetThemeName, ColorPresetSettings } from '@363045841yyt/klinechart-core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
colorPresetSettings: ColorPresetSettings | undefined;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
"update:colorPresetSettings": (value: Partial<Record<ColorPresetThemeName, Partial<Record<"background" | "foreground" | "chartBackground" | "candleUpBody" | "candleUpBorder" | "candleUpWick" | "candleDownBody" | "candleDownBorder" | "candleDownWick" | "volumeUp" | "volumeDown" | "axisText" | "axisLine" | "axisTick" | "gridMajor" | "gridMinor" | "crosshairLine" | "crosshairLabelBg" | "crosshairLabelText" | "selectionFill" | "selectionStroke" | "tooltipBg" | "tooltipText" | "tooltipBorder" | "volumeProfilePoc" | "footprintAsk" | "footprintBid" | "footprintImbalance" | "alertActive" | "alertTriggered" | "alertMuted" | "avwapLine" | "avwapBand" | "mtfOverlay", string>>>>) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onUpdate:colorPresetSettings"?: ((value: Partial<Record<ColorPresetThemeName, Partial<Record<"background" | "foreground" | "chartBackground" | "candleUpBody" | "candleUpBorder" | "candleUpWick" | "candleDownBody" | "candleDownBorder" | "candleDownWick" | "volumeUp" | "volumeDown" | "axisText" | "axisLine" | "axisTick" | "gridMajor" | "gridMinor" | "crosshairLine" | "crosshairLabelBg" | "crosshairLabelText" | "selectionFill" | "selectionStroke" | "tooltipBg" | "tooltipText" | "tooltipBorder" | "volumeProfilePoc" | "footprintAsk" | "footprintBid" | "footprintImbalance" | "alertActive" | "alertTriggered" | "alertMuted" | "avwapLine" | "avwapBand" | "mtfOverlay", string>>>>) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ColorPresetPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPresetPanel.vue.d.ts","sourceRoot":"","sources":["../../src/components/ColorPresetPanel.vue"],"names":[],"mappings":"AAmCA;AAqSA,OAAO,EAML,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACzB,MAAM,+BAA+B,CAAA;AAEtC,KAAK,WAAW,GAAG;IACjB,mBAAmB,EAAE,mBAAmB,GAAG,SAAS,CAAA;CACrD,CAAC;AA2LF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
stroke?: string;
|
|
3
|
-
strokeWidth?: number;
|
|
4
|
-
strokeStyle?: 'solid' | 'dashed' | 'dotted';
|
|
5
|
-
fill?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface DrawingObject {
|
|
8
|
-
id: string;
|
|
9
|
-
type: string;
|
|
10
|
-
points: {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
}[];
|
|
14
|
-
style: DrawingStyle;
|
|
15
|
-
}
|
|
1
|
+
import { DrawingObject, DrawingStyle } from '@363045841yyt/klinechart-core/plugin';
|
|
16
2
|
type __VLS_Props = {
|
|
17
3
|
drawing: DrawingObject;
|
|
18
4
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawingStyleToolbar.vue.d.ts","sourceRoot":"","sources":["../../src/components/DrawingStyleToolbar.vue"],"names":[],"mappings":"AAiDA;
|
|
1
|
+
{"version":3,"file":"DrawingStyleToolbar.vue.d.ts","sourceRoot":"","sources":["../../src/components/DrawingStyleToolbar.vue"],"names":[],"mappings":"AAiDA;AA8LA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAA;AAEvF,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,aAAa,CAAA;CACvB,CAAC;AA4KF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndicatorParams.vue.d.ts","sourceRoot":"","sources":["../../src/components/IndicatorParams.vue"],"names":[],"mappings":"AAoHA;
|
|
1
|
+
{"version":3,"file":"IndicatorParams.vue.d.ts","sourceRoot":"","sources":["../../src/components/IndicatorParams.vue"],"names":[],"mappings":"AAoHA;AAikBA,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,QAAQ,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B,CAAC;AA+bF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndicatorSelector.vue.d.ts","sourceRoot":"","sources":["../../src/components/IndicatorSelector.vue"],"names":[],"mappings":"AAgSA;
|
|
1
|
+
{"version":3,"file":"IndicatorSelector.vue.d.ts","sourceRoot":"","sources":["../../src/components/IndicatorSelector.vue"],"names":[],"mappings":"AAgSA;AAsqCA,KAAK,WAAW,GAAG;IACjB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;CAC1D,CAAC;AAqiCF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SemanticChartConfig, DataFetcher } from '
|
|
2
|
-
import { SubIndicatorType } from '
|
|
1
|
+
import { SemanticChartConfig, DataFetcher } from '@363045841yyt/klinechart-core/semantic';
|
|
2
|
+
import { SubIndicatorType } from '@363045841yyt/klinechart-core/controllers';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
/** 语义化配置(必需,唯一控制源) */
|
|
5
5
|
semanticConfig: SemanticChartConfig;
|
|
@@ -35,7 +35,6 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
|
35
35
|
removeSubPane: typeof removeSubPane;
|
|
36
36
|
switchSubIndicator: typeof switchSubIndicator;
|
|
37
37
|
clearAllSubPanes: typeof clearAllSubPanes;
|
|
38
|
-
readonly plugin: import('../../../core/src/plugin/index.ts').PluginHostImpl | undefined;
|
|
39
38
|
zoomToLevel: typeof applyZoomToLevel;
|
|
40
39
|
zoomIn: (anchorX?: number) => void;
|
|
41
40
|
zoomOut: (anchorX?: number) => void;
|
|
@@ -44,19 +43,21 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
|
44
43
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
45
44
|
toggleFullscreen: () => any;
|
|
46
45
|
zoomLevelChange: (level: number, kWidth: number) => any;
|
|
46
|
+
themeChange: (theme: "light" | "dark") => any;
|
|
47
47
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
48
48
|
onToggleFullscreen?: (() => any) | undefined;
|
|
49
49
|
onZoomLevelChange?: ((level: number, kWidth: number) => any) | undefined;
|
|
50
|
+
onThemeChange?: ((theme: "light" | "dark") => any) | undefined;
|
|
50
51
|
}>, {
|
|
52
|
+
isFullscreen: boolean;
|
|
51
53
|
yPaddingPx: number;
|
|
52
|
-
rightAxisWidth: number;
|
|
53
|
-
bottomAxisHeight: number;
|
|
54
54
|
minKWidth: number;
|
|
55
55
|
maxKWidth: number;
|
|
56
|
+
rightAxisWidth: number;
|
|
57
|
+
bottomAxisHeight: number;
|
|
56
58
|
priceLabelWidth: number;
|
|
57
59
|
zoomLevels: number;
|
|
58
60
|
initialZoomLevel: number;
|
|
59
|
-
isFullscreen: boolean;
|
|
60
61
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
61
62
|
declare const _default: typeof __VLS_export;
|
|
62
63
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KLineChart.vue.d.ts","sourceRoot":"","sources":["../../src/components/KLineChart.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KLineChart.vue.d.ts","sourceRoot":"","sources":["../../src/components/KLineChart.vue"],"names":[],"mappings":"AA6GA;AAmzCA,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,wCAAwC,CAAA;AAM/C,OAAO,EAKL,KAAK,gBAAgB,EAUtB,MAAM,2CAA2C,CAAA;AAMlD,KAAK,WAAW,GAAG;IACf,sBAAsB;IACtB,cAAc,EAAE,mBAAmB,CAAA;IAEnC,kCAAkC;IAClC,WAAW,EAAE,WAAW,CAAA;IAExB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gCAAgC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB,oBAAoB;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kCAAkC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW;IACX,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AA0GJ,iBAAS,cAAc,SAEtB;AAoWD,iBAAS,UAAU,CACjB,WAAW,GAAE,gBAA2B,EACxC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC,GACjD,OAAO,CAUT;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE3C;AAED,iBAAS,gBAAgB,IAAI,IAAI,CAKhC;AAiCD,iBAAS,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAGlF;AA6GD,iBAAS,aAAa,SAoBrB;AAED,iBAAS,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,QAE9D;AA8rBD,QAAA,MAAM,YAAY;;;;;;;;uBAprBG,MAAM;wBACL,MAAM;;;;;;;;;;;;kBA7pBT,OAAO;gBAfT,MAAM;eACP,MAAM;eACN,MAAM;oBAED,MAAM;sBAEJ,MAAM;qBAEP,MAAM;gBAGX,MAAM;sBAEA,MAAM;6EAu1C3B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -15,7 +15,7 @@ export interface KLineData {
|
|
|
15
15
|
type __VLS_Props = {
|
|
16
16
|
k: KLineData | null;
|
|
17
17
|
index: number | null;
|
|
18
|
-
data: KLineData
|
|
18
|
+
data: ReadonlyArray<KLineData>;
|
|
19
19
|
pos: {
|
|
20
20
|
x: number;
|
|
21
21
|
y: number;
|
|
@@ -23,8 +23,15 @@ type __VLS_Props = {
|
|
|
23
23
|
useAnchor?: boolean;
|
|
24
24
|
anchorPlacement?: 'right-bottom' | 'left-bottom';
|
|
25
25
|
setEl?: (el: HTMLDivElement | null) => void;
|
|
26
|
+
/** 涨的颜色(默认红涨) */
|
|
27
|
+
upColor?: string;
|
|
28
|
+
/** 跌的颜色(默认绿跌) */
|
|
29
|
+
downColor?: string;
|
|
26
30
|
};
|
|
27
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
32
|
+
upColor: string;
|
|
33
|
+
downColor: string;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
35
|
declare const _default: typeof __VLS_export;
|
|
29
36
|
export default _default;
|
|
30
37
|
//# sourceMappingURL=KLineTooltip.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KLineTooltip.vue.d.ts","sourceRoot":"","sources":["../../src/components/KLineTooltip.vue"],"names":[],"mappings":"AAiDA;
|
|
1
|
+
{"version":3,"file":"KLineTooltip.vue.d.ts","sourceRoot":"","sources":["../../src/components/KLineTooltip.vue"],"names":[],"mappings":"AAiDA;AAoNA,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;IAC9B,GAAG,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,eAAe,CAAC,EAAE,cAAc,GAAG,aAAa,CAAA;IAChD,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAA;IAC3C,iBAAiB;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAsPF,QAAA,MAAM,YAAY;aAzPN,MAAM;eAEJ,MAAM;6EA0PlB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChartSettings } from '@363045841yyt/klinechart-core/config';
|
|
1
2
|
export interface ToolDef {
|
|
2
3
|
id: string;
|
|
3
4
|
title: string;
|
|
@@ -7,7 +8,7 @@ export interface ToolDef {
|
|
|
7
8
|
type __VLS_Props = {
|
|
8
9
|
isFullscreen?: boolean;
|
|
9
10
|
};
|
|
10
|
-
declare function getCurrentSettings():
|
|
11
|
+
declare function getCurrentSettings(): ChartSettings;
|
|
11
12
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
12
13
|
getSettings: typeof getCurrentSettings;
|
|
13
14
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -15,13 +16,13 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
|
15
16
|
toggleFullscreen: () => any;
|
|
16
17
|
zoomIn: () => any;
|
|
17
18
|
zoomOut: () => any;
|
|
18
|
-
settingsChange: (settings:
|
|
19
|
+
settingsChange: (settings: ChartSettings) => any;
|
|
19
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
21
|
onSelectTool?: ((toolId: string) => any) | undefined;
|
|
21
22
|
onToggleFullscreen?: (() => any) | undefined;
|
|
22
23
|
onZoomIn?: (() => any) | undefined;
|
|
23
24
|
onZoomOut?: (() => any) | undefined;
|
|
24
|
-
onSettingsChange?: ((settings:
|
|
25
|
+
onSettingsChange?: ((settings: ChartSettings) => any) | undefined;
|
|
25
26
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
27
|
declare const _default: typeof __VLS_export;
|
|
27
28
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LeftToolbar.vue.d.ts","sourceRoot":"","sources":["../../src/components/LeftToolbar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LeftToolbar.vue.d.ts","sourceRoot":"","sources":["../../src/components/LeftToolbar.vue"],"names":[],"mappings":"AAyHA;AA2fA,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,sCAAsC,CAAA;AAI7C,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;CACrB;AA+BD,KAAK,WAAW,GAAG;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAiFF,iBAAS,kBAAkB,IAAI,aAAa,CAE3C;AAoYD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
markerType: string;
|
|
3
|
-
metadata: Record<string, unknown>;
|
|
4
|
-
}
|
|
5
|
-
interface CustomMarkerEntity {
|
|
6
|
-
date: string;
|
|
7
|
-
shape: string;
|
|
8
|
-
label?: {
|
|
9
|
-
text: string;
|
|
10
|
-
};
|
|
11
|
-
metadata: Record<string, unknown>;
|
|
12
|
-
}
|
|
1
|
+
import { MarkerEntity, CustomMarkerEntity } from '@363045841yyt/klinechart-core/engine/marker/registry';
|
|
13
2
|
type __VLS_Props = {
|
|
14
3
|
marker: MarkerEntity | CustomMarkerEntity | null;
|
|
15
4
|
pos: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkerTooltip.vue.d.ts","sourceRoot":"","sources":["../../src/components/MarkerTooltip.vue"],"names":[],"mappings":"AAiBA;
|
|
1
|
+
{"version":3,"file":"MarkerTooltip.vue.d.ts","sourceRoot":"","sources":["../../src/components/MarkerTooltip.vue"],"names":[],"mappings":"AAiBA;AAqJA,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAA;AAS5G,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,YAAY,GAAG,kBAAkB,GAAG,IAAI,CAAA;IAChD,GAAG,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,eAAe,CAAC,EAAE,cAAc,GAAG,aAAa,CAAA;IAChD,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAA;CAC5C,CAAC;AAgIF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { default as ColorPresetPanel } from './ColorPresetPanel.vue';
|
|
1
2
|
export { default as DrawingStyleToolbar } from './DrawingStyleToolbar.vue';
|
|
2
3
|
export { default as IndicatorParams } from './IndicatorParams.vue';
|
|
3
4
|
export { default as IndicatorSelector } from './IndicatorSelector.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAC1E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAC1E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFullscreenTeleportTarget.d.ts","sourceRoot":"","sources":["../../src/composables/useFullscreenTeleportTarget.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,GAAG,EAAqB,MAAM,KAAK,CAAA;AAK5E,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,IAAI,CAExF;AAED,wBAAgB,2BAA2B,
|
|
1
|
+
{"version":3,"file":"useFullscreenTeleportTarget.d.ts","sourceRoot":"","sources":["../../src/composables/useFullscreenTeleportTarget.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,GAAG,EAAqB,MAAM,KAAK,CAAA;AAK5E,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,IAAI,CAExF;AAED,wBAAgB,2BAA2B,oDAM1C"}
|