New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

clickgo

Package Overview
Dependencies
Maintainers
0
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clickgo - npm Package Compare versions

Comparing version 3.15.49 to 3.15.50

16

dist/app/demo/form/event/other/other.js

@@ -51,3 +51,19 @@ "use strict";

}
onKeydown(e) {
const date = new Date();
this.list.unshift({
'time': date.getHours().toString() + ':' + date.getMinutes().toString() + ':' + date.getSeconds().toString(),
'name': 'keydown',
'content': e.key
});
}
onKeyup(e) {
const date = new Date();
this.list.unshift({
'time': date.getHours().toString() + ':' + date.getMinutes().toString() + ':' + date.getSeconds().toString(),
'name': 'keyup',
'content': e.key
});
}
}
exports.default = default_1;

2

dist/clickgo.js

@@ -32,3 +32,3 @@ "use strict";

exports.hasFrame = hasFrame;
const version = '3.15.49';
const version = '3.15.50';
function getVersion() {

@@ -35,0 +35,0 @@ return version;

@@ -16,3 +16,3 @@ /**

*/
const version = '3.15.49';
const version = '3.15.50';
export function getVersion(): string {

@@ -19,0 +19,0 @@ return version;

@@ -101,2 +101,8 @@ "use strict";

}
onKeydown() {
return;
}
onKeyup() {
return;
}
onRuntimeFileLoad() {

@@ -103,0 +109,0 @@ return;

@@ -179,2 +179,14 @@ // npm publish --tag dev --access public

/** --- 键盘按下事件 --- */
public onKeydown(e: KeyboardEvent): void | Promise<void>;
public onKeydown(): void {
return;
}
/** --- 键盘弹起事件 --- */
public onKeyup(e: KeyboardEvent): void | Promise<void>;
public onKeyup(): void {
return;
}
/** --- 环境文件准备加载时的事件 --- */

@@ -181,0 +193,0 @@ public onRuntimeFileLoad(url: string): void | Promise<void>;

@@ -152,2 +152,8 @@ "use strict";

}
onKeydown() {
return;
}
onKeyup() {
return;
}
}

@@ -446,3 +452,3 @@ exports.AbstractApp = AbstractApp;

function trigger(name, taskId = 0, formId = 0, param1 = '', param2 = '', param3 = true) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25;
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30;
const eventName = 'on' + name[0].toUpperCase() + name.slice(1);

@@ -612,2 +618,15 @@ switch (name) {

}
case 'keydown':
case 'keyup': {
(_27 = (_26 = globalEvents)[name]) === null || _27 === void 0 ? void 0 : _27.call(_26, taskId);
exports.boot === null || exports.boot === void 0 ? void 0 : exports.boot[eventName](taskId);
for (const tid in task.list) {
const t = task.list[tid];
(_28 = t.class) === null || _28 === void 0 ? void 0 : _28[eventName](taskId);
for (const fid in t.forms) {
(_30 = (_29 = t.forms[fid].vroot)[eventName]) === null || _30 === void 0 ? void 0 : _30.call(_29, taskId);
}
}
break;
}
}

@@ -614,0 +633,0 @@ }

@@ -201,2 +201,14 @@ /**

/** --- 键盘按下事件 --- */
public onKeydown(e: KeyboardEvent): void | Promise<void>;
public onKeydown(): void {
return;
}
/** --- 键盘弹起事件 --- */
public onKeyup(e: KeyboardEvent): void | Promise<void>;
public onKeyup(): void {
return;
}
}

@@ -515,3 +527,3 @@

*/
export function trigger(name: types.TGlobalEvent, taskId: number | string | boolean = 0, formId: number | string | boolean | Record<string, any> | null = 0, param1: boolean | Error | string = '', param2: string | Record<string, any> = '', param3: boolean = true): void {
export function trigger(name: types.TGlobalEvent, taskId: number | string | boolean | KeyboardEvent = 0, formId: number | string | boolean | Record<string, any> | null = 0, param1: boolean | Error | string = '', param2: string | Record<string, any> = '', param3: boolean = true): void {
const eventName = 'on' + name[0].toUpperCase() + name.slice(1);

@@ -681,2 +693,15 @@ switch (name) {

}
case 'keydown':
case 'keyup': {
(globalEvents as any)[name]?.(taskId);
(boot as any)?.[eventName](taskId);
for (const tid in task.list) {
const t = task.list[tid];
(t.class as any)?.[eventName](taskId);
for (const fid in t.forms) {
t.forms[fid].vroot[eventName]?.(taskId);
}
}
break;
}
}

@@ -683,0 +708,0 @@ }

{
"name": "clickgo",
"version": "3.15.49",
"version": "3.15.50",
"description": "Background interface, software interface, mobile phone APP interface operation library.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -28,3 +28,3 @@ # ClickGo

```html
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.15.49'}"></script>
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.15.50'}"></script>
```

@@ -31,0 +31,0 @@

@@ -89,3 +89,3 @@ export * as control from '../dist/lib/control';

/** --- 全局事件类型 --- */
export type TGlobalEvent = 'error' | 'screenResize' | 'configChanged' | 'formCreated' | 'formRemoved' | 'formTitleChanged' | 'formIconChanged' | 'formStateMinChanged' | 'formStateMaxChanged' | 'formShowChanged' | 'formFocused' | 'formBlurred' | 'formFlash' | 'formShowInSystemTaskChange' | 'formHashChange' | 'taskStarted' | 'taskEnded' | 'launcherFolderNameChanged' | 'hashChanged';
export type TGlobalEvent = 'error' | 'screenResize' | 'configChanged' | 'formCreated' | 'formRemoved' | 'formTitleChanged' | 'formIconChanged' | 'formStateMinChanged' | 'formStateMaxChanged' | 'formShowChanged' | 'formFocused' | 'formBlurred' | 'formFlash' | 'formShowInSystemTaskChange' | 'formHashChange' | 'taskStarted' | 'taskEnded' | 'launcherFolderNameChanged' | 'hashChanged' | 'keydown' | 'keyup';

@@ -92,0 +92,0 @@ /** --- 现场下载 app 的参数 --- */

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc