agnostics 0.0.4 → 0.0.5
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/lib/helpers/_Yargs.js +13 -8
- package/lib/logger/_Logger.js +1 -1
- package/lib/logger/index.js +1 -3
- package/lib/specification/_Properties.js +8 -0
- package/package.json +57 -31
- package/types/bases/_BaseOnCall.d.ts +7 -0
- package/types/bases/_BaseOnCall.d.ts.map +1 -0
- package/types/bases/_BasePrompt.d.ts +8 -0
- package/types/bases/_BasePrompt.d.ts.map +1 -0
- package/types/bases/_BaseRemote.d.ts +13 -0
- package/types/bases/_BaseRemote.d.ts.map +1 -0
- package/types/bases/index.d.ts +4 -0
- package/types/bases/index.d.ts.map +1 -0
- package/types/helpers/_Yargs.d.ts +2 -1
- package/types/helpers/_Yargs.d.ts.map +1 -1
- package/types/loaders/_Loaders.d.ts +8 -0
- package/types/loaders/_Loaders.d.ts.map +1 -0
- package/types/loaders/index.d.ts +2 -0
- package/types/loaders/index.d.ts.map +1 -0
- package/types/specification/_Properties.d.ts +41 -35
- package/types/targets/_InquirerTarget.d.ts +2 -0
- package/types/targets/_InquirerTarget.d.ts.map +1 -0
- package/types/targets/_WebviewTarget.d.ts +48 -0
- package/types/targets/_WebviewTarget.d.ts.map +1 -0
- package/types/targets/index.d.ts +2 -0
- package/types/targets/index.d.ts.map +1 -0
- package/types/workers/_AutoRunner.d.ts +2 -0
- package/types/workers/_AutoRunner.d.ts.map +1 -0
- package/types/workers/_AutoWorker.d.ts +17 -0
- package/types/workers/_AutoWorker.d.ts.map +1 -0
- package/types/workers/index.d.ts +2 -0
- package/types/workers/index.d.ts.map +1 -0
- package/lib/logger/_ASCII.js +0 -39
- package/lib/logger/_System.js +0 -191
- package/lib/logger/chars.js +0 -730
package/lib/helpers/_Yargs.js
CHANGED
|
@@ -13,8 +13,6 @@ import { CreateLogger } from '../logger/index.js'
|
|
|
13
13
|
import path from 'path'
|
|
14
14
|
const { SAY, ERR, HMM, HUH } = CreateLogger( import.meta.url )
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
16
|
async function GetYargsFiles( value, extensions ) {
|
|
19
17
|
|
|
20
18
|
try {
|
|
@@ -121,10 +119,13 @@ export class YargsCommand {
|
|
|
121
119
|
$options = {}
|
|
122
120
|
$aliasStore = []
|
|
123
121
|
|
|
124
|
-
constructor(
|
|
122
|
+
constructor(
|
|
123
|
+
{ positionals, options = {}, description = 'N/A', version = 'N/A' },
|
|
124
|
+
runCallback = async options => {} ) {
|
|
125
125
|
|
|
126
126
|
this.description = description
|
|
127
127
|
this.version = version
|
|
128
|
+
this.runCallback = runCallback
|
|
128
129
|
|
|
129
130
|
// --------- OPTIONS ---------
|
|
130
131
|
|
|
@@ -161,7 +162,7 @@ export class YargsCommand {
|
|
|
161
162
|
|
|
162
163
|
}
|
|
163
164
|
|
|
164
|
-
async run(
|
|
165
|
+
async run() {
|
|
165
166
|
|
|
166
167
|
|
|
167
168
|
const args = globalThis.YargsBin( process.argv )
|
|
@@ -189,7 +190,7 @@ export class YargsCommand {
|
|
|
189
190
|
}
|
|
190
191
|
}
|
|
191
192
|
|
|
192
|
-
await runCallback( yargsData )
|
|
193
|
+
if (this.runCallback) await this.runCallback( yargsData )
|
|
193
194
|
|
|
194
195
|
}
|
|
195
196
|
)
|
|
@@ -219,7 +220,9 @@ export class YargsCLI {
|
|
|
219
220
|
$options = {}
|
|
220
221
|
$commands = {}
|
|
221
222
|
|
|
222
|
-
constructor(
|
|
223
|
+
constructor(
|
|
224
|
+
{ commands, options = {}, description = 'N/A', version = 'N/A' },
|
|
225
|
+
runCallback = async options => {} ) {
|
|
223
226
|
|
|
224
227
|
if (typeof commands != 'object') throw Error('no commands defined')
|
|
225
228
|
if (!description) HMM('no description defined (recommended)')
|
|
@@ -227,6 +230,7 @@ export class YargsCLI {
|
|
|
227
230
|
|
|
228
231
|
this.description = description
|
|
229
232
|
this.version = version
|
|
233
|
+
this.runCallback = runCallback
|
|
230
234
|
|
|
231
235
|
// --------- OPTIONS ---------
|
|
232
236
|
|
|
@@ -239,7 +243,7 @@ export class YargsCLI {
|
|
|
239
243
|
|
|
240
244
|
}
|
|
241
245
|
|
|
242
|
-
async run(
|
|
246
|
+
async run() {
|
|
243
247
|
|
|
244
248
|
const args = globalThis.YargsBin( process.argv )
|
|
245
249
|
const instance = globalThis.Yargs( args )
|
|
@@ -269,7 +273,8 @@ export class YargsCLI {
|
|
|
269
273
|
}
|
|
270
274
|
}
|
|
271
275
|
|
|
272
|
-
await runCallback(
|
|
276
|
+
if (cmdObj.runCallback) await cmdObj.runCallback( yargsData )
|
|
277
|
+
if (this.runCallback) await this.runCallback( yargsData )
|
|
273
278
|
|
|
274
279
|
})
|
|
275
280
|
}
|
package/lib/logger/_Logger.js
CHANGED
|
@@ -51,7 +51,7 @@ function CreateMethod( method, name, filename, timestamp, prepend, color, log, t
|
|
|
51
51
|
|
|
52
52
|
} else {
|
|
53
53
|
|
|
54
|
-
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)')
|
|
54
|
+
const isDarkMode = typeof window !== 'undefined' && window.matchMedia?.('(prefers-color-scheme: dark)')?.matches
|
|
55
55
|
const cssColor = isDarkMode ? ANSIDark[color] : ANSILight[color]
|
|
56
56
|
|
|
57
57
|
const parts = [`%c${ts}${label}${prepend || ''}`, `color:${cssColor}`]
|
package/lib/logger/index.js
CHANGED
|
@@ -22,6 +22,14 @@ export const Properties = {
|
|
|
22
22
|
description: 'callback for updated value',
|
|
23
23
|
matches: [ 'onupdate', 'update', 'change', 'onchange']
|
|
24
24
|
},
|
|
25
|
+
onencode: {
|
|
26
|
+
description: 'callback for encoding (sending origin)',
|
|
27
|
+
matches: [ 'onencode', 'encode']
|
|
28
|
+
},
|
|
29
|
+
ondecode: {
|
|
30
|
+
description: 'callback for decoding (receiving end)',
|
|
31
|
+
matches: [ 'ondecode', 'decode']
|
|
32
|
+
},
|
|
25
33
|
|
|
26
34
|
// --------- DEFINITION ---------
|
|
27
35
|
|
package/package.json
CHANGED
|
@@ -1,32 +1,58 @@
|
|
|
1
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
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
2
|
+
"name": "agnostics",
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"author": "Autr <g@sinnott.cc>",
|
|
5
|
+
"description": "featherless birds",
|
|
6
|
+
"esversion": 6,
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"publish": "npm whoami > /dev/null 2>&1 && npm publish || (npm login && npm publish)",
|
|
10
|
+
"types": "node ../subldx/run.js types lib types --package package.json"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./types/index.js",
|
|
15
|
+
"default": "./lib/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./bases": {
|
|
18
|
+
"types": "./types/bases/index.js",
|
|
19
|
+
"default": "./lib/bases/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./helpers": {
|
|
22
|
+
"types": "./types/helpers/index.js",
|
|
23
|
+
"default": "./lib/helpers/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./inputs": {
|
|
26
|
+
"types": "./types/inputs/index.js",
|
|
27
|
+
"default": "./lib/inputs/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./loaders": {
|
|
30
|
+
"types": "./types/loaders/index.js",
|
|
31
|
+
"default": "./lib/loaders/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./logger": {
|
|
34
|
+
"types": "./types/logger/index.js",
|
|
35
|
+
"default": "./lib/logger/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./schema": {
|
|
38
|
+
"types": "./types/schema/index.js",
|
|
39
|
+
"default": "./lib/schema/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./specification": {
|
|
42
|
+
"types": "./types/specification/index.js",
|
|
43
|
+
"default": "./lib/specification/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./targets": {
|
|
46
|
+
"types": "./types/targets/index.js",
|
|
47
|
+
"default": "./lib/targets/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./workers": {
|
|
50
|
+
"types": "./types/workers/index.js",
|
|
51
|
+
"default": "./lib/workers/index.js"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"lib",
|
|
56
|
+
"types"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_BaseOnCall.d.ts","sourceRoot":"","sources":["../../lib/bases/_BaseOnCall.js"],"names":[],"mappings":"AAWA;IAEC,kBAAkB;IAElB,iBAAiB;IAIjB,iCAWC;IAED,mCAMC;CAED"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_BasePrompt.d.ts","sourceRoot":"","sources":["../../lib/bases/_BasePrompt.js"],"names":[],"mappings":"AAaA;IAQC;;;qBASC;CACD;2BApB0B,kBAAkB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export class BaseRemote extends BaseOnCall {
|
|
2
|
+
$methodReqs: {};
|
|
3
|
+
isIniting: boolean;
|
|
4
|
+
construct(): void;
|
|
5
|
+
getMethodListenerNames(): {
|
|
6
|
+
methodNames: Set<any>;
|
|
7
|
+
listenerNames: string[];
|
|
8
|
+
};
|
|
9
|
+
$initMethodsAndListeners(methodNames: any, listenerNames: any): void;
|
|
10
|
+
$handleResponse(type: any, index: any, name: any, res: any): void;
|
|
11
|
+
}
|
|
12
|
+
import { BaseOnCall } from './_BaseOnCall.js';
|
|
13
|
+
//# sourceMappingURL=_BaseRemote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_BaseRemote.d.ts","sourceRoot":"","sources":["../../lib/bases/_BaseRemote.js"],"names":[],"mappings":"AAwBA;IAIC,gBACC;IAIA,mBAAqB;IAGtB,kBAAc;IAEd;;;MAyBC;IAED,qEA+BC;IAED,kEAiBC;CAED;2BA/F0B,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/bases/index.js"],"names":[],"mappings":""}
|
|
@@ -7,6 +7,7 @@ export function ConvertYargsProperty(def: any, override?: {}): {
|
|
|
7
7
|
coerce: any;
|
|
8
8
|
default: any;
|
|
9
9
|
accept: any[];
|
|
10
|
+
choices: any;
|
|
10
11
|
};
|
|
11
12
|
export function YargsProcessWorkaround(): void;
|
|
12
13
|
export class YargsCommand {
|
|
@@ -16,7 +17,7 @@ export class YargsCommand {
|
|
|
16
17
|
description?: string;
|
|
17
18
|
version?: string;
|
|
18
19
|
});
|
|
19
|
-
command:
|
|
20
|
+
command: any;
|
|
20
21
|
description: string;
|
|
21
22
|
version: string;
|
|
22
23
|
positionals: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_Yargs.d.ts","sourceRoot":"","sources":["../../lib/helpers/_Yargs.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_Yargs.d.ts","sourceRoot":"","sources":["../../lib/helpers/_Yargs.js"],"names":[],"mappings":"AA4CA,yEAIC;AAGD,8EA4BC;AAED;;;;;;;;EAeC;AAGD,+CAUC;AAED;IAYC;;;;;OAsCC;IAhDD,aAAc;IACd,oBAAmB;IACnB,gBAAe;IACf,gBAAgB;IAChB,YAAY;IAEZ,iBAAiB;IACjB,aAAa;IACb,mBAAgB;IA0ChB,mBAA+B,cAAS,kCA4CvC;CACD;AAGD;IAUC;;;;;OAkBC;IA1BD,aAAc;IACd,oBAAmB;IACnB,gBAAe;IAEf,mBAAgB;IAChB,aAAa;IACb,cAAc;IAsBd,mBAAgC,WAAM,EAAE,cAAS,kCA8ChD;CAGD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function LoadDep(name: any, url: any): Promise<any>;
|
|
2
|
+
export function LoadWebview(): Promise<any>;
|
|
3
|
+
export function LoadYargs(): Promise<{
|
|
4
|
+
YargsLib: any;
|
|
5
|
+
YargsBin: any;
|
|
6
|
+
}>;
|
|
7
|
+
export function LoadGlobby(): Promise<any>;
|
|
8
|
+
//# sourceMappingURL=_Loaders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_Loaders.d.ts","sourceRoot":"","sources":["../../lib/loaders/_Loaders.js"],"names":[],"mappings":"AAeA,2DA8BC;AAED,4CAEC;AAED;;;GAMC;AAED,2CAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/loaders/index.js"],"names":[],"mappings":""}
|
|
@@ -1,158 +1,164 @@
|
|
|
1
1
|
export namespace Properties {
|
|
2
|
-
export namespace
|
|
2
|
+
export namespace onsend {
|
|
3
3
|
let description: string;
|
|
4
4
|
let matches: string[];
|
|
5
5
|
}
|
|
6
|
-
export namespace
|
|
6
|
+
export namespace onreceive {
|
|
7
7
|
let description_1: string;
|
|
8
8
|
export { description_1 as description };
|
|
9
9
|
let matches_1: string[];
|
|
10
10
|
export { matches_1 as matches };
|
|
11
11
|
}
|
|
12
|
-
export namespace
|
|
12
|
+
export namespace onupdate {
|
|
13
13
|
let description_2: string;
|
|
14
14
|
export { description_2 as description };
|
|
15
15
|
let matches_2: string[];
|
|
16
16
|
export { matches_2 as matches };
|
|
17
17
|
}
|
|
18
|
-
export namespace
|
|
18
|
+
export namespace type {
|
|
19
19
|
let description_3: string;
|
|
20
20
|
export { description_3 as description };
|
|
21
21
|
let matches_3: string[];
|
|
22
22
|
export { matches_3 as matches };
|
|
23
23
|
}
|
|
24
|
-
export namespace
|
|
24
|
+
export namespace subtype {
|
|
25
25
|
let description_4: string;
|
|
26
26
|
export { description_4 as description };
|
|
27
27
|
let matches_4: string[];
|
|
28
28
|
export { matches_4 as matches };
|
|
29
29
|
}
|
|
30
|
-
export namespace
|
|
31
|
-
let
|
|
32
|
-
export {
|
|
30
|
+
export namespace index {
|
|
31
|
+
let description_5: string;
|
|
32
|
+
export { description_5 as description };
|
|
33
33
|
let matches_5: string[];
|
|
34
34
|
export { matches_5 as matches };
|
|
35
35
|
}
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export { description_7 as description };
|
|
36
|
+
export namespace key {
|
|
37
|
+
let description_6: string;
|
|
38
|
+
export { description_6 as description };
|
|
40
39
|
let matches_6: string[];
|
|
41
40
|
export { matches_6 as matches };
|
|
42
41
|
}
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export { description_8 as description };
|
|
42
|
+
export namespace label {
|
|
43
|
+
let description_7: string;
|
|
44
|
+
export { description_7 as description };
|
|
47
45
|
let matches_7: string[];
|
|
48
46
|
export { matches_7 as matches };
|
|
49
47
|
}
|
|
50
|
-
export namespace
|
|
48
|
+
export namespace description_8 {
|
|
51
49
|
let description_9: string;
|
|
52
50
|
export { description_9 as description };
|
|
53
51
|
let matches_8: string[];
|
|
54
52
|
export { matches_8 as matches };
|
|
55
53
|
}
|
|
56
|
-
export
|
|
54
|
+
export { description_8 as description };
|
|
55
|
+
namespace _default {
|
|
57
56
|
let description_10: string;
|
|
58
57
|
export { description_10 as description };
|
|
59
58
|
let matches_9: string[];
|
|
60
59
|
export { matches_9 as matches };
|
|
61
60
|
}
|
|
62
|
-
export
|
|
61
|
+
export { _default as default };
|
|
62
|
+
export namespace gui {
|
|
63
63
|
let description_11: string;
|
|
64
64
|
export { description_11 as description };
|
|
65
65
|
let matches_10: string[];
|
|
66
66
|
export { matches_10 as matches };
|
|
67
67
|
}
|
|
68
|
-
export namespace
|
|
68
|
+
export namespace classname {
|
|
69
69
|
let description_12: string;
|
|
70
70
|
export { description_12 as description };
|
|
71
71
|
let matches_11: string[];
|
|
72
72
|
export { matches_11 as matches };
|
|
73
73
|
}
|
|
74
|
-
export namespace
|
|
74
|
+
export namespace required {
|
|
75
75
|
let description_13: string;
|
|
76
76
|
export { description_13 as description };
|
|
77
77
|
let matches_12: string[];
|
|
78
78
|
export { matches_12 as matches };
|
|
79
79
|
}
|
|
80
|
-
export namespace
|
|
80
|
+
export namespace disabled {
|
|
81
81
|
let description_14: string;
|
|
82
82
|
export { description_14 as description };
|
|
83
83
|
let matches_13: string[];
|
|
84
84
|
export { matches_13 as matches };
|
|
85
85
|
}
|
|
86
|
-
export namespace
|
|
86
|
+
export namespace readonly {
|
|
87
87
|
let description_15: string;
|
|
88
88
|
export { description_15 as description };
|
|
89
89
|
let matches_14: string[];
|
|
90
90
|
export { matches_14 as matches };
|
|
91
91
|
}
|
|
92
|
-
export namespace
|
|
92
|
+
export namespace properties {
|
|
93
93
|
let description_16: string;
|
|
94
94
|
export { description_16 as description };
|
|
95
95
|
let matches_15: string[];
|
|
96
96
|
export { matches_15 as matches };
|
|
97
97
|
}
|
|
98
|
-
export namespace
|
|
98
|
+
export namespace items {
|
|
99
99
|
let description_17: string;
|
|
100
100
|
export { description_17 as description };
|
|
101
101
|
let matches_16: string[];
|
|
102
102
|
export { matches_16 as matches };
|
|
103
103
|
}
|
|
104
|
-
export
|
|
105
|
-
export namespace pattern {
|
|
104
|
+
export namespace _enum {
|
|
106
105
|
let description_18: string;
|
|
107
106
|
export { description_18 as description };
|
|
108
107
|
let matches_17: string[];
|
|
109
108
|
export { matches_17 as matches };
|
|
110
109
|
}
|
|
111
|
-
export
|
|
110
|
+
export { _enum as enum };
|
|
111
|
+
export namespace pattern {
|
|
112
112
|
let description_19: string;
|
|
113
113
|
export { description_19 as description };
|
|
114
114
|
let matches_18: string[];
|
|
115
115
|
export { matches_18 as matches };
|
|
116
116
|
}
|
|
117
|
-
export namespace
|
|
117
|
+
export namespace step {
|
|
118
118
|
let description_20: string;
|
|
119
119
|
export { description_20 as description };
|
|
120
120
|
let matches_19: string[];
|
|
121
121
|
export { matches_19 as matches };
|
|
122
122
|
}
|
|
123
|
-
export namespace
|
|
123
|
+
export namespace unit {
|
|
124
124
|
let description_21: string;
|
|
125
125
|
export { description_21 as description };
|
|
126
126
|
let matches_20: string[];
|
|
127
127
|
export { matches_20 as matches };
|
|
128
128
|
}
|
|
129
|
-
export namespace
|
|
129
|
+
export namespace min {
|
|
130
130
|
let description_22: string;
|
|
131
131
|
export { description_22 as description };
|
|
132
132
|
let matches_21: string[];
|
|
133
133
|
export { matches_21 as matches };
|
|
134
134
|
}
|
|
135
|
-
export namespace
|
|
135
|
+
export namespace max {
|
|
136
136
|
let description_23: string;
|
|
137
137
|
export { description_23 as description };
|
|
138
138
|
let matches_22: string[];
|
|
139
139
|
export { matches_22 as matches };
|
|
140
140
|
}
|
|
141
|
-
export namespace
|
|
141
|
+
export namespace placeholder {
|
|
142
142
|
let description_24: string;
|
|
143
143
|
export { description_24 as description };
|
|
144
144
|
let matches_23: string[];
|
|
145
145
|
export { matches_23 as matches };
|
|
146
146
|
}
|
|
147
|
-
export namespace
|
|
147
|
+
export namespace accept {
|
|
148
148
|
let description_25: string;
|
|
149
149
|
export { description_25 as description };
|
|
150
150
|
let matches_24: string[];
|
|
151
151
|
export { matches_24 as matches };
|
|
152
152
|
}
|
|
153
|
-
export namespace
|
|
153
|
+
export namespace size {
|
|
154
154
|
let description_26: string;
|
|
155
155
|
export { description_26 as description };
|
|
156
|
+
let matches_25: string[];
|
|
157
|
+
export { matches_25 as matches };
|
|
158
|
+
}
|
|
159
|
+
export namespace misc {
|
|
160
|
+
let description_27: string;
|
|
161
|
+
export { description_27 as description };
|
|
156
162
|
}
|
|
157
163
|
}
|
|
158
164
|
//# sourceMappingURL=_Properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_InquirerTarget.d.ts","sourceRoot":"","sources":["../../lib/targets/_InquirerTarget.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export namespace WebviewConfig {
|
|
2
|
+
namespace app {
|
|
3
|
+
let controlFlow: number;
|
|
4
|
+
let waitTime: number;
|
|
5
|
+
let exitCode: number;
|
|
6
|
+
}
|
|
7
|
+
namespace browser {
|
|
8
|
+
let resizable: boolean;
|
|
9
|
+
let title: string;
|
|
10
|
+
let width: number;
|
|
11
|
+
let height: number;
|
|
12
|
+
let x: any;
|
|
13
|
+
let y: any;
|
|
14
|
+
let contentProtection: boolean;
|
|
15
|
+
let alwaysOnTop: boolean;
|
|
16
|
+
let alwaysOnBottom: boolean;
|
|
17
|
+
let visible: boolean;
|
|
18
|
+
let decorations: boolean;
|
|
19
|
+
let transparent: boolean;
|
|
20
|
+
let visibleOnAllWorkspaces: boolean;
|
|
21
|
+
let maximized: boolean;
|
|
22
|
+
let maximizable: boolean;
|
|
23
|
+
let minimizable: boolean;
|
|
24
|
+
let focused: boolean;
|
|
25
|
+
let fullscreen: any;
|
|
26
|
+
}
|
|
27
|
+
namespace webview {
|
|
28
|
+
let enableDevtools: boolean;
|
|
29
|
+
let incognito: boolean;
|
|
30
|
+
let userAgent: any;
|
|
31
|
+
let child: boolean;
|
|
32
|
+
let preload: any;
|
|
33
|
+
let hotkeysZoom: boolean;
|
|
34
|
+
let theme: number;
|
|
35
|
+
let clipboard: boolean;
|
|
36
|
+
let autoplay: boolean;
|
|
37
|
+
let backForwardNavigationGestures: boolean;
|
|
38
|
+
}
|
|
39
|
+
let showDevTools: boolean;
|
|
40
|
+
}
|
|
41
|
+
export class WebviewTarget extends BaseRemote {
|
|
42
|
+
constructor(source: any, config?: {});
|
|
43
|
+
$instance: any;
|
|
44
|
+
construct(...constructArguments: any[]): Promise<any>;
|
|
45
|
+
resolveConstruct: (value: any) => void;
|
|
46
|
+
}
|
|
47
|
+
import { BaseRemote } from '../bases/_BaseRemote.js';
|
|
48
|
+
//# sourceMappingURL=_WebviewTarget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_WebviewTarget.d.ts","sourceRoot":"","sources":["../../lib/targets/_WebviewTarget.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA;IAMC,sCA2DC;IA7DD,eAAgB;IA+DhB,sDA6CC;IAHC,uCAA+B;CAKjC;2BAzK0B,yBAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/targets/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_AutoRunner.d.ts","sourceRoot":"","sources":["../../lib/workers/_AutoRunner.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const AutoRunnerPath: string;
|
|
2
|
+
export class AutoWorker extends BaseRemote {
|
|
3
|
+
constructor(importPath: any);
|
|
4
|
+
$worker: any;
|
|
5
|
+
$listenerCbs: {
|
|
6
|
+
error: any[];
|
|
7
|
+
exit: any[];
|
|
8
|
+
online: any[];
|
|
9
|
+
};
|
|
10
|
+
importUrl: any;
|
|
11
|
+
importName: any;
|
|
12
|
+
$sendRequest(type: any, name: any, req: any, index: any): void;
|
|
13
|
+
construct(...constructArguments: any[]): Promise<any>;
|
|
14
|
+
finishConstruct: (value: any) => void;
|
|
15
|
+
}
|
|
16
|
+
import { BaseRemote } from '../bases/_BaseRemote.js';
|
|
17
|
+
//# sourceMappingURL=_AutoWorker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_AutoWorker.d.ts","sourceRoot":"","sources":["../../lib/workers/_AutoWorker.js"],"names":[],"mappings":"AAwBA,oCAAyE;AAEzE;IAeC,6BAUC;IArBD,aAAc;IAEd;;;;MAIC;IAED,eAAgB;IAChB,gBAAiB;IAcjB,+DAQC;IAED,sDAqEC;IA/BE,sCAA2B;CAkC9B;2BA3H0B,yBAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/workers/index.js"],"names":[],"mappings":""}
|
package/lib/logger/_ASCII.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//////////////////////////////////////////
|
|
3
|
-
// //
|
|
4
|
-
// //
|
|
5
|
-
// ASCII //
|
|
6
|
-
// //
|
|
7
|
-
// //
|
|
8
|
-
//////////////////////////////////////////
|
|
9
|
-
|
|
10
|
-
import chars from './chars.js'
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export function BigText( string ) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const height = chars?.[0].length
|
|
17
|
-
const spacing = 1
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
let text = ''
|
|
21
|
-
|
|
22
|
-
for (let y = 0; y < height; y++) {
|
|
23
|
-
for (let i = 0; i < string.length; i++) {
|
|
24
|
-
|
|
25
|
-
const letter = string[i]
|
|
26
|
-
const line = chars[letter][y]
|
|
27
|
-
text += line
|
|
28
|
-
text += ('').padEnd(spacing)
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
text += '\n'
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
return text
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// looks great whatever it is
|