@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.
Files changed (53) hide show
  1. package/README.md +30 -0
  2. package/lib/App.d.ts +3 -0
  3. package/lib/api/api.d.ts +1 -0
  4. package/lib/api/server.d.ts +8 -0
  5. package/lib/assets/parserTccWorker-CFBnUzVu.js +99 -0
  6. package/lib/assets/scriptsRunWorker-CSDMAOri.js +66 -0
  7. package/lib/components/editor/config/monarchTokens.d.ts +205 -0
  8. package/lib/components/editor/constants/contents.d.ts +40 -0
  9. package/lib/components/editor/constants/locals.d.ts +3 -0
  10. package/lib/components/editor/index.d.ts +21 -0
  11. package/lib/components/editor/parseScript/buildInConstants.d.ts +252 -0
  12. package/lib/components/editor/parseScript/buildInFuncNamespace/array.d.ts +144 -0
  13. package/lib/components/editor/parseScript/buildInFuncNamespace/color.d.ts +25 -0
  14. package/lib/components/editor/parseScript/buildInFuncNamespace/errorListener.d.ts +8 -0
  15. package/lib/components/editor/parseScript/buildInFuncNamespace/index.d.ts +12 -0
  16. package/lib/components/editor/parseScript/buildInFuncNamespace/input.d.ts +70 -0
  17. package/lib/components/editor/parseScript/buildInFuncNamespace/map.d.ts +37 -0
  18. package/lib/components/editor/parseScript/buildInFuncNamespace/math.d.ts +47 -0
  19. package/lib/components/editor/parseScript/buildInFuncNamespace/matrix.d.ts +136 -0
  20. package/lib/components/editor/parseScript/buildInFuncNamespace/string.d.ts +43 -0
  21. package/lib/components/editor/parseScript/buildInFuncNamespace/ta.d.ts +116 -0
  22. package/lib/components/editor/parseScript/buildInFuncNamespace/timeframe.d.ts +19 -0
  23. package/lib/components/editor/parseScript/buildInVariables.d.ts +122 -0
  24. package/lib/components/editor/parseScript/constants.d.ts +56 -0
  25. package/lib/components/editor/parseScript/enum.d.ts +248 -0
  26. package/lib/components/editor/parseScript/parseToJs.d.ts +44 -0
  27. package/lib/components/editor/parseScript/type.d.ts +27 -0
  28. package/lib/components/editor/parseScript/userTypeClass.d.ts +12 -0
  29. package/lib/components/editor/parseScript/utils.d.ts +8 -0
  30. package/lib/components/editor/parseScript/visitorParser.d.ts +303 -0
  31. package/lib/components/editor/parseScript/visitorUtils.d.ts +30 -0
  32. package/lib/components/editor/parseScript/workerStorage.d.ts +12 -0
  33. package/lib/components/editor/tokenizer/config.d.ts +40 -0
  34. package/lib/components/editor/tokenizer/utils.d.ts +33 -0
  35. package/lib/components/editor/type/index.d.ts +70 -0
  36. package/lib/components/editor/utils/color.d.ts +33 -0
  37. package/lib/components/editor/utils/completions.d.ts +61 -0
  38. package/lib/components/editor/utils/decorations.d.ts +23 -0
  39. package/lib/components/editor/utils/initEditor.d.ts +23 -0
  40. package/lib/components/editor/utils/overlayWidgets.d.ts +22 -0
  41. package/lib/components/editor/utils/parse.d.ts +43 -0
  42. package/lib/components/editor/utils/parserTccWorker.d.ts +25 -0
  43. package/lib/components/editor/utils/signatureHelp.d.ts +29 -0
  44. package/lib/components/editor/utils/suggestions.d.ts +18 -0
  45. package/lib/components/editor/utils/test.d.ts +22 -0
  46. package/lib/components/editor/utils/tools.d.ts +1 -0
  47. package/lib/main.d.ts +1 -0
  48. package/lib/packages/index.d.ts +5 -0
  49. package/lib/tccParser/LexerBase.d.ts +19 -0
  50. package/lib/tccParser/tccScriptParserVisitor.d.ts +486 -0
  51. package/lib/trading-vue-editor.js +64939 -0
  52. package/lib/trading-vue-editor.umd.cjs +144 -0
  53. 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
@@ -0,0 +1,3 @@
1
+ import './App.css';
2
+ declare function App(): import("react/jsx-runtime").JSX.Element;
3
+ export default App;
@@ -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;