@guihz/trading-vue-editor-tes 0.0.75 → 0.0.77

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.
@@ -20,7 +20,9 @@ interface IStrArgs {
20
20
  }
21
21
  export default class BuildInStr {
22
22
  private _errorListener;
23
- constructor(errorListener: TccErrorListener);
23
+ private _intlNumberFormatter;
24
+ private _precision;
25
+ constructor(errorListener: TccErrorListener, precision: number);
24
26
  pos({ source, str }: IStrArgs): number;
25
27
  trim({ source }: IStrArgs): string;
26
28
  lower({ source }: IStrArgs): string;
@@ -40,6 +42,7 @@ export default class BuildInStr {
40
42
  startswith({ source, str }: IStrArgs): boolean;
41
43
  format_time({ time, format, timezone }: IStrArgs): string;
42
44
  replace_all({ source, target, replacement }: IStrArgs): string;
45
+ private _toStringFormat;
43
46
  private _formatNumber;
44
47
  private _strFormat;
45
48
  }
@@ -1,4 +1,4 @@
1
- import { VType } from "./enum";
1
+ import { VFormatType, VType } from "./enum";
2
2
  export declare const ERRORS_TIPS: {
3
3
  onlyInLoop: string;
4
4
  invalidType: string;
@@ -60,6 +60,7 @@ export declare const ERRORS_TIPS: {
60
60
  libraryTitleIsKeywordErr: string;
61
61
  exportFuncUseGlobalVarErr: string;
62
62
  loopRuntimeErr: string;
63
+ indicatorFormatErr: string;
63
64
  };
64
65
  export declare const WARNING_TIPS: {
65
66
  repeatVar: string;
@@ -254,3 +255,4 @@ export declare const DEFAULT_EXPORT_TEST: {
254
255
  };
255
256
  export declare const JS_KEYWORDS: string[];
256
257
  export declare const TCC_KEYWORDS: string[];
258
+ export declare const INDICATOR_FORMATS: VFormatType[];