@guihz/trading-vue-editor-tes 0.0.1
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 +30 -0
- package/lib/App.d.ts +3 -0
- package/lib/api/api.d.ts +1 -0
- package/lib/api/server.d.ts +8 -0
- package/lib/assets/parserTccWorker-CFBnUzVu.js +99 -0
- package/lib/assets/scriptsRunWorker-CSDMAOri.js +66 -0
- package/lib/components/editor/config/monarchTokens.d.ts +205 -0
- package/lib/components/editor/constants/contents.d.ts +40 -0
- package/lib/components/editor/constants/locals.d.ts +3 -0
- package/lib/components/editor/index.d.ts +21 -0
- package/lib/components/editor/parseScript/buildInConstants.d.ts +252 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/array.d.ts +144 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/color.d.ts +25 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/errorListener.d.ts +8 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/index.d.ts +12 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/input.d.ts +70 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/map.d.ts +37 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/math.d.ts +47 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/matrix.d.ts +136 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/string.d.ts +43 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/ta.d.ts +116 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/timeframe.d.ts +19 -0
- package/lib/components/editor/parseScript/buildInVariables.d.ts +122 -0
- package/lib/components/editor/parseScript/constants.d.ts +56 -0
- package/lib/components/editor/parseScript/enum.d.ts +248 -0
- package/lib/components/editor/parseScript/parseToJs.d.ts +44 -0
- package/lib/components/editor/parseScript/type.d.ts +27 -0
- package/lib/components/editor/parseScript/userTypeClass.d.ts +12 -0
- package/lib/components/editor/parseScript/utils.d.ts +8 -0
- package/lib/components/editor/parseScript/visitorParser.d.ts +303 -0
- package/lib/components/editor/parseScript/visitorUtils.d.ts +30 -0
- package/lib/components/editor/parseScript/workerStorage.d.ts +12 -0
- package/lib/components/editor/tokenizer/config.d.ts +40 -0
- package/lib/components/editor/tokenizer/utils.d.ts +33 -0
- package/lib/components/editor/type/index.d.ts +70 -0
- package/lib/components/editor/utils/color.d.ts +33 -0
- package/lib/components/editor/utils/completions.d.ts +61 -0
- package/lib/components/editor/utils/decorations.d.ts +23 -0
- package/lib/components/editor/utils/initEditor.d.ts +23 -0
- package/lib/components/editor/utils/overlayWidgets.d.ts +22 -0
- package/lib/components/editor/utils/parse.d.ts +43 -0
- package/lib/components/editor/utils/parserTccWorker.d.ts +25 -0
- package/lib/components/editor/utils/signatureHelp.d.ts +29 -0
- package/lib/components/editor/utils/suggestions.d.ts +18 -0
- package/lib/components/editor/utils/test.d.ts +22 -0
- package/lib/components/editor/utils/tools.d.ts +1 -0
- package/lib/main.d.ts +1 -0
- package/lib/packages/index.d.ts +5 -0
- package/lib/tccParser/LexerBase.d.ts +19 -0
- package/lib/tccParser/tccScriptParserVisitor.d.ts +486 -0
- package/lib/trading-vue-editor.js +64939 -0
- package/lib/trading-vue-editor.umd.cjs +144 -0
- package/package.json +53 -0
package/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# React + TypeScript + Vite
|
2
|
+
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
4
|
+
|
5
|
+
Currently, two official plugins are available:
|
6
|
+
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
9
|
+
|
10
|
+
## Expanding the ESLint configuration
|
11
|
+
|
12
|
+
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
13
|
+
|
14
|
+
- Configure the top-level `parserOptions` property like this:
|
15
|
+
|
16
|
+
```js
|
17
|
+
export default {
|
18
|
+
// other rules...
|
19
|
+
parserOptions: {
|
20
|
+
ecmaVersion: 'latest',
|
21
|
+
sourceType: 'module',
|
22
|
+
project: ['./tsconfig.json', './tsconfig.node.json'],
|
23
|
+
tsconfigRootDir: __dirname,
|
24
|
+
},
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
28
|
+
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
29
|
+
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
30
|
+
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
package/lib/App.d.ts
ADDED
package/lib/api/api.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export declare function parser(parserStr: string, token: any): Promise<any>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { CancelToken } from "axios";
|
2
|
+
export declare function get<T>(url: string, params?: object, cancelToken?: CancelToken): Promise<T>;
|
3
|
+
export declare function post<T>(url: string, data: object, cancelToken?: CancelToken): Promise<T>;
|
4
|
+
declare const _default: {
|
5
|
+
get: typeof get;
|
6
|
+
post: typeof post;
|
7
|
+
};
|
8
|
+
export default _default;
|