@guihz/trading-vue-editor-tes 0.0.223 → 0.0.224
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/lib/assets/{scriptsRunWorker-CEXiG-NA.js → scriptsRunWorker-CdZluQjS.js} +2 -2
- package/lib/components/editor/constants/contents.d.ts +2 -0
- package/lib/components/referenceManual/tools.d.ts +3 -0
- package/lib/components/referenceManualPage/components/ContentItem.d.ts +10 -0
- package/lib/components/referenceManualPage/components/ManualLeft.d.ts +12 -0
- package/lib/components/referenceManualPage/index.d.ts +10 -0
- package/lib/packages/index.d.ts +1 -0
- package/lib/trading-vue-editor.js +4439 -4212
- package/lib/trading-vue-editor.umd.cjs +40 -40
- package/package.json +1 -1
@@ -38,9 +38,11 @@ export declare const ALL_KINDS: {
|
|
38
38
|
};
|
39
39
|
export declare const DEFAULT_DETIALS: IKeyValueStr;
|
40
40
|
export declare const KEY_LIST: IKeys, KEY_MAP_LIST: IKeyMaps;
|
41
|
+
export declare const MANUAL_KEYS: IKeys;
|
41
42
|
export declare const CONTENT_GROUPS: {
|
42
43
|
title: string;
|
43
44
|
key: string;
|
44
45
|
prefix: string;
|
46
|
+
index: number;
|
45
47
|
}[];
|
46
48
|
export {};
|
@@ -6,13 +6,16 @@ interface IItem {
|
|
6
6
|
export interface ISearchItem {
|
7
7
|
label: string;
|
8
8
|
key: string;
|
9
|
+
index: number;
|
9
10
|
group: {
|
10
11
|
key: string;
|
12
|
+
index: number;
|
11
13
|
prefix: string;
|
12
14
|
title: string;
|
13
15
|
};
|
14
16
|
}
|
15
17
|
export interface IContent {
|
18
|
+
orirginalName: string;
|
16
19
|
name: string;
|
17
20
|
args?: IItem[];
|
18
21
|
overloads?: string;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
import { IDocValue } from "../../editor/type";
|
3
|
+
interface IProps {
|
4
|
+
item: IDocValue[];
|
5
|
+
isSelected?: boolean;
|
6
|
+
prefix: string;
|
7
|
+
onItemClick: (key: string) => void;
|
8
|
+
}
|
9
|
+
declare const ContentItem: FC<IProps>;
|
10
|
+
export default ContentItem;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
import { IKeyObjectValue } from "../../editor/type";
|
3
|
+
interface IProps {
|
4
|
+
onItemClick: (key: string, index: number, group?: IKeyObjectValue) => void;
|
5
|
+
onGroupClick: (group: IKeyObjectValue) => void;
|
6
|
+
selectedItemChange: (key: string, isScroll?: boolean) => void;
|
7
|
+
selectItem: React.RefObject<string>;
|
8
|
+
manualTabRef: React.RefObject<HTMLDivElement>;
|
9
|
+
searchRef: React.RefObject<HTMLInputElement>;
|
10
|
+
}
|
11
|
+
declare const ReferenceManualLeft: FC<IProps>;
|
12
|
+
export default ReferenceManualLeft;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
import "./style.css";
|
3
|
+
import { Theme } from "@monaco-editor/react";
|
4
|
+
import "../../i18n";
|
5
|
+
interface IProps {
|
6
|
+
theme?: Theme;
|
7
|
+
language?: string;
|
8
|
+
}
|
9
|
+
declare const ReferenceManual: FC<IProps>;
|
10
|
+
export default ReferenceManual;
|
package/lib/packages/index.d.ts
CHANGED
@@ -6,4 +6,5 @@ export { parseTcc, scriptsRun, removeScript, parseLibrary } from '../components/
|
|
6
6
|
export type { IError, IPosition } from '../components/editor/parseScript/type';
|
7
7
|
export { VMarkerSeverity } from '../components/editor/parseScript/type';
|
8
8
|
export { default as ReferenceManual } from '../components/referenceManual';
|
9
|
+
export { default as ReferenceManualPage } from '../components/referenceManualPage';
|
9
10
|
export { VAdjustment, VAlert, VBarmergeGaps, VCommission, VDirection, VEarnings, VExtend, VFormatType, VHlineStyle, VInputType, VLabelStyle, VLineStyle, VLocation, VOca, VPlotDisplay, VPlotStyle, VRuleType, VScale, VSession, VShape, VSortOrder, VSize, VStrategy, VText, VType, VXloc, VYloc, VPivotType, VPosition, VScriptType, VFont } from '../components/editor/parseScript/enum';
|