clickgo 3.16.13 → 3.16.15
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.
- package/README.md +1 -1
- package/dist/clickgo.js +1 -1
- package/dist/clickgo.ts +1 -1
- package/dist/control/arteditor.cgc +0 -0
- package/dist/control/box.cgc +0 -0
- package/dist/control/captcha.cgc +0 -0
- package/dist/control/common.cgc +0 -0
- package/dist/control/desc.cgc +0 -0
- package/dist/control/drawer.cgc +0 -0
- package/dist/control/echarts.cgc +0 -0
- package/dist/control/form.cgc +0 -0
- package/dist/control/iconview.cgc +0 -0
- package/dist/control/jodit.cgc +0 -0
- package/dist/control/map.cgc +0 -0
- package/dist/control/monaco.cgc +0 -0
- package/dist/control/mpegts.cgc +0 -0
- package/dist/control/nav.cgc +0 -0
- package/dist/control/page.cgc +0 -0
- package/dist/control/pdf.cgc +0 -0
- package/dist/control/property.cgc +0 -0
- package/dist/control/qrcode.cgc +0 -0
- package/dist/control/table.cgc +0 -0
- package/dist/control/task.cgc +0 -0
- package/dist/control/tplink.cgc +0 -0
- package/dist/control/tuieditor.cgc +0 -0
- package/dist/control/tuiviewer.cgc +0 -0
- package/dist/control/xterm.cgc +0 -0
- package/dist/lib/tool.js +1 -1
- package/dist/lib/tool.ts +2 -2
- package/dist/theme/blue.cgt +0 -0
- package/dist/theme/byterun.cgt +0 -0
- package/dist/theme/light.cgt +0 -0
- package/eslint.config.js +5 -7
- package/package.json +6 -6
- package/types/index.d.ts +9 -0
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Load the module loader first, and then load it using the module loader.
|
|
|
25
25
|
**index.html**
|
|
26
26
|
|
|
27
27
|
```html
|
|
28
|
-
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.
|
|
28
|
+
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.15'}"></script>
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
**index.js**
|
package/dist/clickgo.js
CHANGED
package/dist/clickgo.ts
CHANGED
|
Binary file
|
package/dist/control/box.cgc
CHANGED
|
Binary file
|
package/dist/control/captcha.cgc
CHANGED
|
Binary file
|
package/dist/control/common.cgc
CHANGED
|
Binary file
|
package/dist/control/desc.cgc
CHANGED
|
Binary file
|
package/dist/control/drawer.cgc
CHANGED
|
Binary file
|
package/dist/control/echarts.cgc
CHANGED
|
Binary file
|
package/dist/control/form.cgc
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/control/jodit.cgc
CHANGED
|
Binary file
|
package/dist/control/map.cgc
CHANGED
|
Binary file
|
package/dist/control/monaco.cgc
CHANGED
|
Binary file
|
package/dist/control/mpegts.cgc
CHANGED
|
Binary file
|
package/dist/control/nav.cgc
CHANGED
|
Binary file
|
package/dist/control/page.cgc
CHANGED
|
Binary file
|
package/dist/control/pdf.cgc
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/control/qrcode.cgc
CHANGED
|
Binary file
|
package/dist/control/table.cgc
CHANGED
|
Binary file
|
package/dist/control/task.cgc
CHANGED
|
Binary file
|
package/dist/control/tplink.cgc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/control/xterm.cgc
CHANGED
|
Binary file
|
package/dist/lib/tool.js
CHANGED
package/dist/lib/tool.ts
CHANGED
|
@@ -1069,7 +1069,7 @@ export function request(url: string, opt: types.IRequestOptions): Promise<null |
|
|
|
1069
1069
|
if (opt.timeout) {
|
|
1070
1070
|
xhr.timeout = opt.timeout;
|
|
1071
1071
|
}
|
|
1072
|
-
if (opt.headers) {
|
|
1072
|
+
if (opt.headers && !Array.isArray(opt.headers)) {
|
|
1073
1073
|
for (const k in opt.headers) {
|
|
1074
1074
|
xhr.setRequestHeader(k, (opt.headers as any)[k]);
|
|
1075
1075
|
}
|
|
@@ -1137,7 +1137,7 @@ export function execCommand(ac: string): void {
|
|
|
1137
1137
|
if (!['copy', 'cut'].includes(ac)) {
|
|
1138
1138
|
return;
|
|
1139
1139
|
}
|
|
1140
|
-
// eslint-disable-next-line
|
|
1140
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
1141
1141
|
document.execCommand(ac);
|
|
1142
1142
|
}
|
|
1143
1143
|
|
package/dist/theme/blue.cgt
CHANGED
|
Binary file
|
package/dist/theme/byterun.cgt
CHANGED
|
Binary file
|
package/dist/theme/light.cgt
CHANGED
|
Binary file
|
package/eslint.config.js
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
// eslint.config.js
|
|
2
|
-
const
|
|
2
|
+
const rules = require('@litert/eslint-plugin-recommended-rules');
|
|
3
3
|
|
|
4
4
|
module.exports = [
|
|
5
|
-
...
|
|
5
|
+
...rules.typescript,
|
|
6
6
|
{
|
|
7
|
-
plugins: {
|
|
8
|
-
'@litert/rules': require('@litert/eslint-plugin-rules'),
|
|
9
|
-
},
|
|
10
7
|
files: [
|
|
11
|
-
'**/*.ts',
|
|
8
|
+
'**/*.ts', // don't add `./` before the path
|
|
12
9
|
],
|
|
13
10
|
languageOptions: {
|
|
14
11
|
parserOptions: {
|
|
@@ -18,7 +15,8 @@ module.exports = [
|
|
|
18
15
|
},
|
|
19
16
|
rules: {
|
|
20
17
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
21
|
-
'
|
|
18
|
+
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
19
|
+
'max-lines': ['warn', 5000]
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clickgo",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.15",
|
|
4
4
|
"description": "Background interface, software interface, mobile phone APP interface operation library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deskrt",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"native4": "electron ./dist/test/native/index4"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@litert/eslint-plugin-rules": "^0.
|
|
21
|
+
"@litert/eslint-plugin-rules": "^0.3.1",
|
|
22
22
|
"@litert/loader": "^3.5.8",
|
|
23
|
-
"@types/node": "^
|
|
24
|
-
"electron": "^
|
|
23
|
+
"@types/node": "^24.0.1",
|
|
24
|
+
"electron": "^36.4.0",
|
|
25
25
|
"jszip": "^3.10.1",
|
|
26
|
-
"terser": "^5.
|
|
27
|
-
"typescript": "^5.
|
|
26
|
+
"terser": "^5.42.0",
|
|
27
|
+
"typescript": "^5.8.3"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -926,6 +926,15 @@ export interface IGreatselectAddEvent extends ICustomEvent {
|
|
|
926
926
|
};
|
|
927
927
|
}
|
|
928
928
|
|
|
929
|
+
// --- Captcha Control ---
|
|
930
|
+
|
|
931
|
+
export interface ICaptchaResultEvent {
|
|
932
|
+
'detail': {
|
|
933
|
+
'result': number;
|
|
934
|
+
'token': string;
|
|
935
|
+
};
|
|
936
|
+
}
|
|
937
|
+
|
|
929
938
|
// --- Pdf Control ---
|
|
930
939
|
|
|
931
940
|
export interface IPdfViewEvent {
|