@youngbeen/angle-ctrl
Advanced tools
+2
-3
| { | ||
| "name": "@youngbeen/angle-ctrl", | ||
| "version": "2.0.2", | ||
| "version": "2.0.3", | ||
| "description": "The controllers used in angle-FE team", | ||
@@ -8,4 +8,3 @@ "main": "dist/index.js", | ||
| "dependencies": { | ||
| "@youngbeen/angle-util": "^1.1.3", | ||
| "@youngbeen/ums-tracking": "^0.1.4" | ||
| "@youngbeen/angle-util": "^1.1.3" | ||
| }, | ||
@@ -12,0 +11,0 @@ "devDependencies": { |
@@ -9,3 +9,3 @@ export interface LogParams { | ||
| } | ||
| declare type DebugType = 0 | 1 | 2; | ||
| type DebugType = 0 | 1 | 2; | ||
| declare const _default: { | ||
@@ -12,0 +12,0 @@ log(info?: string, params?: LogParams): void; |
+2
-2
@@ -14,3 +14,3 @@ export declare const timeCtrl: { | ||
| saveLog(msg: string, type: string, line?: string, compName?: string, funcName?: string, attach?: any): import("./logCtrl/LogCtrl").LogRespond; | ||
| getLog(): import("./logCtrl/LogCtrl").LogInfo[]; | ||
| getLog(): Array<import("./logCtrl/LogCtrl").LogInfo>; | ||
| sendLog(): void; | ||
@@ -26,3 +26,3 @@ }; | ||
| autoReportOff(): void; | ||
| getLog(): any[]; | ||
| getLog(): Array<any>; | ||
| cheatDebugClick(count: number, interval?: number): boolean; | ||
@@ -29,0 +29,0 @@ }; |
@@ -1,2 +0,1 @@ | ||
| import '@youngbeen/ums-tracking'; | ||
| export interface LogInfo { | ||
@@ -3,0 +2,0 @@ msg: string; |
| import { dateUtil } from '@youngbeen/angle-util'; | ||
| import '@youngbeen/ums-tracking'; | ||
| let logs = []; | ||
@@ -4,0 +3,0 @@ const tagRandoms = Math.floor(Math.random() * 10e13); |
| // this controller is about to provide functions for log controll | ||
| import { dateUtil } from '@youngbeen/angle-util' | ||
| import '@youngbeen/ums-tracking' | ||
| // import '@youngbeen/ums-tracking' | ||
@@ -6,0 +6,0 @@ // 定义type |
@@ -6,3 +6,3 @@ export interface CallbackData { | ||
| } | ||
| declare type Callback = (data: CallbackData) => any; | ||
| type Callback = (data: CallbackData) => any; | ||
| declare const _default: { | ||
@@ -9,0 +9,0 @@ countDown({ total, step }: { |
1
-50%147063
-0.34%2077
-0.1%- Removed
- Removed