@guihz/trading-vue-editor-tes 0.0.150 → 0.0.152

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  import { BuiltInVariables } from "../buildInVariables";
2
+ import { PseudoArray } from "./array";
2
3
  interface ILogArgs {
3
4
  message?: string;
4
5
  formatString?: string;
@@ -17,9 +18,9 @@ export declare class Log {
17
18
  constructor(variables: BuiltInVariables);
18
19
  get logs(): ILog[];
19
20
  clearLogs(): void;
20
- info(args: ILogArgs, replaces: (string | number | string[] | number[])[], posStr: string): void;
21
- error(args: ILogArgs, replaces: (string | number | string[] | number[])[], posStr: string): void;
22
- warning(args: ILogArgs, replaces: (string | number | string[] | number[])[], posStr: string): void;
21
+ info(args: ILogArgs, replaces: (string | number | PseudoArray)[], posStr: string): void;
22
+ error(args: ILogArgs, replaces: (string | number | PseudoArray)[], posStr: string): void;
23
+ warning(args: ILogArgs, replaces: (string | number | PseudoArray)[], posStr: string): void;
23
24
  private _addLog;
24
25
  }
25
26
  export {};
@@ -8,3 +8,5 @@ export declare function parserTimezone(time?: number, timezone?: string): dayjs.
8
8
  export declare function periodConvert(period: string): number;
9
9
  export declare function isNotNum(num?: number): boolean;
10
10
  export declare function argColorsHandle(args: any, colors: string[]): void;
11
+ export declare function encode(str: string): string;
12
+ export declare function decode(base64: string): string;