@oclif/core 3.0.0-beta.9 → 3.0.0
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 +4 -2
- package/flush.d.ts +3 -0
- package/flush.js +1 -0
- package/handle.js +1 -0
- package/lib/args.d.ts +2 -2
- package/lib/args.js +17 -18
- package/lib/{ux → cli-ux}/action/base.d.ts +19 -21
- package/lib/{ux → cli-ux}/action/base.js +126 -120
- package/lib/{ux → cli-ux}/action/simple.js +25 -30
- package/lib/{ux → cli-ux}/action/spinner.d.ts +9 -7
- package/lib/{ux → cli-ux}/action/spinner.js +45 -37
- package/lib/{ux → cli-ux}/action/spinners.js +187 -187
- package/lib/cli-ux/action/types.d.ts +5 -0
- package/lib/cli-ux/action/types.js +2 -0
- package/lib/{ux → cli-ux}/config.d.ts +5 -5
- package/lib/{ux → cli-ux}/config.js +17 -17
- package/lib/{ux → cli-ux}/exit.js +3 -0
- package/lib/cli-ux/flush.d.ts +1 -0
- package/lib/cli-ux/flush.js +28 -0
- package/lib/cli-ux/index.d.ts +39 -0
- package/lib/{ux → cli-ux}/index.js +74 -88
- package/lib/{ux → cli-ux}/list.js +3 -3
- package/lib/{ux → cli-ux}/prompt.d.ts +3 -3
- package/lib/{ux → cli-ux}/prompt.js +35 -25
- package/lib/{ux → cli-ux}/stream.d.ts +6 -6
- package/lib/{ux → cli-ux}/stream.js +11 -10
- package/lib/cli-ux/styled/index.d.ts +4 -0
- package/lib/cli-ux/styled/index.js +11 -0
- package/lib/{ux → cli-ux}/styled/object.js +7 -9
- package/lib/{ux → cli-ux}/styled/table.d.ts +10 -10
- package/lib/{ux → cli-ux}/styled/table.js +130 -133
- package/lib/{ux → cli-ux}/styled/tree.js +11 -13
- package/lib/cli-ux/wait.js +5 -0
- package/lib/command.d.ts +82 -88
- package/lib/command.js +196 -175
- package/lib/config/config.d.ts +89 -90
- package/lib/config/config.js +466 -566
- package/lib/config/index.d.ts +0 -1
- package/lib/config/index.js +1 -3
- package/lib/config/plugin-loader.d.ts +12 -12
- package/lib/config/plugin-loader.js +72 -56
- package/lib/config/plugin.d.ts +25 -24
- package/lib/config/plugin.js +188 -154
- package/lib/config/ts-node.d.ts +2 -1
- package/lib/config/ts-node.js +71 -58
- package/lib/config/util.d.ts +1 -11
- package/lib/config/util.js +6 -59
- package/lib/errors/config.d.ts +1 -1
- package/lib/errors/config.js +6 -6
- package/lib/errors/errors/cli.d.ts +7 -7
- package/lib/errors/errors/cli.js +20 -16
- package/lib/errors/errors/exit.d.ts +1 -4
- package/lib/errors/errors/exit.js +1 -1
- package/lib/errors/errors/module-load.d.ts +1 -4
- package/lib/errors/errors/module-load.js +1 -1
- package/lib/errors/errors/pretty-print.d.ts +1 -1
- package/lib/errors/errors/pretty-print.js +12 -10
- package/lib/errors/handle.d.ts +12 -2
- package/lib/errors/handle.js +26 -14
- package/lib/errors/index.d.ts +10 -10
- package/lib/errors/index.js +25 -24
- package/lib/errors/logger.d.ts +2 -2
- package/lib/errors/logger.js +14 -13
- package/lib/execute.d.ts +6 -6
- package/lib/execute.js +10 -9
- package/lib/flags.d.ts +103 -32
- package/lib/flags.js +79 -45
- package/lib/help/command.d.ts +16 -14
- package/lib/help/command.js +178 -163
- package/lib/help/docopts.d.ts +5 -5
- package/lib/help/docopts.js +50 -54
- package/lib/help/formatter.d.ts +37 -37
- package/lib/help/formatter.js +66 -55
- package/lib/help/index.d.ts +25 -21
- package/lib/help/index.js +169 -147
- package/lib/help/root.d.ts +1 -1
- package/lib/help/root.js +15 -17
- package/lib/help/util.d.ts +2 -8
- package/lib/help/util.js +8 -28
- package/lib/index.d.ts +19 -20
- package/lib/index.js +37 -43
- package/lib/interfaces/config.d.ts +67 -66
- package/lib/interfaces/errors.d.ts +5 -5
- package/lib/interfaces/help.d.ts +17 -17
- package/lib/interfaces/hooks.d.ts +49 -49
- package/lib/interfaces/index.d.ts +7 -7
- package/lib/interfaces/manifest.d.ts +1 -1
- package/lib/interfaces/parser.d.ts +175 -51
- package/lib/interfaces/pjson.d.ts +41 -41
- package/lib/interfaces/plugin.d.ts +47 -41
- package/lib/interfaces/s3-manifest.d.ts +7 -7
- package/lib/interfaces/topic.d.ts +1 -1
- package/lib/interfaces/ts-config.d.ts +7 -7
- package/lib/main.d.ts +2 -2
- package/lib/main.js +16 -16
- package/lib/module-loader.d.ts +67 -77
- package/lib/module-loader.js +183 -150
- package/lib/parser/errors.d.ts +7 -7
- package/lib/parser/errors.js +29 -22
- package/lib/parser/help.js +5 -5
- package/lib/parser/index.js +2 -2
- package/lib/parser/parse.d.ts +9 -6
- package/lib/parser/parse.js +253 -221
- package/lib/parser/validate.js +53 -33
- package/lib/performance.d.ts +43 -32
- package/lib/performance.js +133 -91
- package/lib/screen.js +2 -2
- package/lib/settings.d.ts +11 -12
- package/lib/settings.js +2 -2
- package/lib/util/aggregate-flags.d.ts +2 -0
- package/lib/util/aggregate-flags.js +13 -0
- package/lib/util/cache-command.d.ts +3 -0
- package/lib/util/cache-command.js +109 -0
- package/lib/util/cache-default-value.d.ts +2 -0
- package/lib/util/cache-default-value.js +28 -0
- package/lib/util/ensure-arg-object.d.ts +12 -0
- package/lib/util/ensure-arg-object.js +14 -0
- package/lib/util/fs.d.ts +7 -0
- package/lib/util/fs.js +54 -0
- package/lib/util/os.d.ts +19 -0
- package/lib/util/os.js +28 -0
- package/lib/{util.d.ts → util/util.d.ts} +7 -16
- package/lib/util/util.js +98 -0
- package/package.json +35 -37
- package/lib/util.js +0 -126
- package/lib/ux/flush.d.ts +0 -1
- package/lib/ux/flush.js +0 -27
- package/lib/ux/index.d.ts +0 -58
- package/lib/ux/styled/index.d.ts +0 -6
- package/lib/ux/styled/index.js +0 -13
- package/lib/ux/styled/json.d.ts +0 -1
- package/lib/ux/styled/json.js +0 -15
- package/lib/ux/wait.js +0 -7
- package/lib/{ux → cli-ux}/action/simple.d.ts +4 -4
- package/lib/{ux → cli-ux}/action/spinners.d.ts +117 -117
- package/lib/{ux → cli-ux}/exit.d.ts +2 -2
- package/lib/{ux → cli-ux}/list.d.ts +0 -0
- package/lib/{ux → cli-ux}/styled/object.d.ts +0 -0
- package/lib/{ux → cli-ux}/styled/progress.d.ts +0 -0
- package/lib/{ux → cli-ux}/styled/progress.js +0 -0
- package/lib/{ux → cli-ux}/styled/tree.d.ts +1 -1
- /package/lib/{ux → cli-ux}/wait.d.ts +0 -0
package/lib/util.js
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ensureArgObject = exports.requireJson = exports.isNotFalsy = exports.isTruthy = exports.fileExists = exports.dirExists = exports.capitalize = exports.sumBy = exports.maxBy = exports.isProd = exports.castArray = exports.sortBy = exports.last = exports.uniqBy = exports.compact = exports.pickBy = void 0;
|
|
4
|
-
const fs = require("fs");
|
|
5
|
-
const path_1 = require("path");
|
|
6
|
-
function pickBy(obj, fn) {
|
|
7
|
-
return Object.entries(obj)
|
|
8
|
-
.reduce((o, [k, v]) => {
|
|
9
|
-
if (fn(v))
|
|
10
|
-
o[k] = v;
|
|
11
|
-
return o;
|
|
12
|
-
}, {});
|
|
13
|
-
}
|
|
14
|
-
exports.pickBy = pickBy;
|
|
15
|
-
function compact(a) {
|
|
16
|
-
return a.filter((a) => Boolean(a));
|
|
17
|
-
}
|
|
18
|
-
exports.compact = compact;
|
|
19
|
-
function uniqBy(arr, fn) {
|
|
20
|
-
return arr.filter((a, i) => {
|
|
21
|
-
const aVal = fn(a);
|
|
22
|
-
return !arr.find((b, j) => j > i && fn(b) === aVal);
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
exports.uniqBy = uniqBy;
|
|
26
|
-
function last(arr) {
|
|
27
|
-
if (!arr)
|
|
28
|
-
return;
|
|
29
|
-
return arr.slice(-1)[0];
|
|
30
|
-
}
|
|
31
|
-
exports.last = last;
|
|
32
|
-
function sortBy(arr, fn) {
|
|
33
|
-
function compare(a, b) {
|
|
34
|
-
a = a === undefined ? 0 : a;
|
|
35
|
-
b = b === undefined ? 0 : b;
|
|
36
|
-
if (Array.isArray(a) && Array.isArray(b)) {
|
|
37
|
-
if (a.length === 0 && b.length === 0)
|
|
38
|
-
return 0;
|
|
39
|
-
const diff = compare(a[0], b[0]);
|
|
40
|
-
if (diff !== 0)
|
|
41
|
-
return diff;
|
|
42
|
-
return compare(a.slice(1), b.slice(1));
|
|
43
|
-
}
|
|
44
|
-
if (a < b)
|
|
45
|
-
return -1;
|
|
46
|
-
if (a > b)
|
|
47
|
-
return 1;
|
|
48
|
-
return 0;
|
|
49
|
-
}
|
|
50
|
-
return arr.sort((a, b) => compare(fn(a), fn(b)));
|
|
51
|
-
}
|
|
52
|
-
exports.sortBy = sortBy;
|
|
53
|
-
function castArray(input) {
|
|
54
|
-
if (input === undefined)
|
|
55
|
-
return [];
|
|
56
|
-
return Array.isArray(input) ? input : [input];
|
|
57
|
-
}
|
|
58
|
-
exports.castArray = castArray;
|
|
59
|
-
function isProd() {
|
|
60
|
-
return !['development', 'test'].includes(process.env.NODE_ENV ?? '');
|
|
61
|
-
}
|
|
62
|
-
exports.isProd = isProd;
|
|
63
|
-
function maxBy(arr, fn) {
|
|
64
|
-
if (arr.length === 0) {
|
|
65
|
-
return undefined;
|
|
66
|
-
}
|
|
67
|
-
return arr.reduce((maxItem, i) => {
|
|
68
|
-
const curr = fn(i);
|
|
69
|
-
const max = fn(maxItem);
|
|
70
|
-
return curr > max ? i : maxItem;
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
exports.maxBy = maxBy;
|
|
74
|
-
function sumBy(arr, fn) {
|
|
75
|
-
return arr.reduce((sum, i) => sum + fn(i), 0);
|
|
76
|
-
}
|
|
77
|
-
exports.sumBy = sumBy;
|
|
78
|
-
function capitalize(s) {
|
|
79
|
-
return s ? s.charAt(0).toUpperCase() + s.slice(1).toLowerCase() : '';
|
|
80
|
-
}
|
|
81
|
-
exports.capitalize = capitalize;
|
|
82
|
-
const dirExists = async (input) => {
|
|
83
|
-
if (!fs.existsSync(input)) {
|
|
84
|
-
throw new Error(`No directory found at ${input}`);
|
|
85
|
-
}
|
|
86
|
-
if (!(await fs.promises.stat(input)).isDirectory()) {
|
|
87
|
-
throw new Error(`${input} exists but is not a directory`);
|
|
88
|
-
}
|
|
89
|
-
return input;
|
|
90
|
-
};
|
|
91
|
-
exports.dirExists = dirExists;
|
|
92
|
-
const fileExists = async (input) => {
|
|
93
|
-
if (!fs.existsSync(input)) {
|
|
94
|
-
throw new Error(`No file found at ${input}`);
|
|
95
|
-
}
|
|
96
|
-
if (!(await fs.promises.stat(input)).isFile()) {
|
|
97
|
-
throw new Error(`${input} exists but is not a file`);
|
|
98
|
-
}
|
|
99
|
-
return input;
|
|
100
|
-
};
|
|
101
|
-
exports.fileExists = fileExists;
|
|
102
|
-
function isTruthy(input) {
|
|
103
|
-
return ['true', '1', 'yes', 'y'].includes(input.toLowerCase());
|
|
104
|
-
}
|
|
105
|
-
exports.isTruthy = isTruthy;
|
|
106
|
-
function isNotFalsy(input) {
|
|
107
|
-
return !['false', '0', 'no', 'n'].includes(input.toLowerCase());
|
|
108
|
-
}
|
|
109
|
-
exports.isNotFalsy = isNotFalsy;
|
|
110
|
-
function requireJson(...pathParts) {
|
|
111
|
-
return JSON.parse(fs.readFileSync((0, path_1.join)(...pathParts), 'utf8'));
|
|
112
|
-
}
|
|
113
|
-
exports.requireJson = requireJson;
|
|
114
|
-
/**
|
|
115
|
-
* Ensure that the provided args are an object. This is for backwards compatibility with v1 commands which
|
|
116
|
-
* defined args as an array.
|
|
117
|
-
*
|
|
118
|
-
* @param args Either an array of args or an object of args
|
|
119
|
-
* @returns ArgInput
|
|
120
|
-
*/
|
|
121
|
-
function ensureArgObject(args) {
|
|
122
|
-
return (Array.isArray(args) ? (args ?? []).reduce((x, y) => {
|
|
123
|
-
return { ...x, [y.name]: y };
|
|
124
|
-
}, {}) : args ?? {});
|
|
125
|
-
}
|
|
126
|
-
exports.ensureArgObject = ensureArgObject;
|
package/lib/ux/flush.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function flush(ms?: number): Promise<void>;
|
package/lib/ux/flush.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const __1 = require("..");
|
|
4
|
-
function timeout(p, ms) {
|
|
5
|
-
function wait(ms, unref = false) {
|
|
6
|
-
return new Promise(resolve => {
|
|
7
|
-
const t = setTimeout(() => resolve(null), ms);
|
|
8
|
-
if (unref)
|
|
9
|
-
t.unref();
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return Promise.race([p, wait(ms, true).then(() => __1.Errors.error('timed out'))]);
|
|
13
|
-
}
|
|
14
|
-
async function _flush() {
|
|
15
|
-
const p = new Promise(resolve => {
|
|
16
|
-
__1.stdout.once('drain', () => resolve(null));
|
|
17
|
-
});
|
|
18
|
-
const flushed = __1.stdout.write('');
|
|
19
|
-
if (flushed) {
|
|
20
|
-
return Promise.resolve();
|
|
21
|
-
}
|
|
22
|
-
return p;
|
|
23
|
-
}
|
|
24
|
-
async function flush(ms = 10000) {
|
|
25
|
-
await timeout(_flush(), ms);
|
|
26
|
-
}
|
|
27
|
-
exports.default = flush;
|
package/lib/ux/index.d.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as Errors from '../errors';
|
|
2
|
-
import { ActionBase } from './action/base';
|
|
3
|
-
import { config, Config } from './config';
|
|
4
|
-
import { ExitError } from './exit';
|
|
5
|
-
import { IPromptOptions } from './prompt';
|
|
6
|
-
import * as styled from './styled';
|
|
7
|
-
import { Table } from './styled';
|
|
8
|
-
export * from './styled/table';
|
|
9
|
-
import * as uxPrompt from './prompt';
|
|
10
|
-
import uxWait from './wait';
|
|
11
|
-
export default class ux {
|
|
12
|
-
static config: Config;
|
|
13
|
-
static get prompt(): typeof uxPrompt.prompt;
|
|
14
|
-
/**
|
|
15
|
-
* "press anykey to continue"
|
|
16
|
-
*/
|
|
17
|
-
static get anykey(): typeof uxPrompt.anykey;
|
|
18
|
-
static get confirm(): typeof uxPrompt.confirm;
|
|
19
|
-
static get action(): ActionBase;
|
|
20
|
-
static styledObject(obj: any, keys?: string[]): void;
|
|
21
|
-
static styledHeader(header: string): void;
|
|
22
|
-
static get styledJSON(): typeof styled.styledJSON;
|
|
23
|
-
static get table(): typeof styled.Table.table;
|
|
24
|
-
static get tree(): typeof styled.tree;
|
|
25
|
-
static get wait(): typeof uxWait;
|
|
26
|
-
static get progress(): typeof styled.progress;
|
|
27
|
-
static done(): Promise<void>;
|
|
28
|
-
static trace(format: string, ...args: string[]): void;
|
|
29
|
-
static debug(format: string, ...args: string[]): void;
|
|
30
|
-
static info(format: string, ...args: string[]): void;
|
|
31
|
-
static log(format?: string, ...args: string[]): void;
|
|
32
|
-
static url(text: string, uri: string, params?: {}): void;
|
|
33
|
-
static annotation(text: string, annotation: string): void;
|
|
34
|
-
static flush(ms?: number): Promise<void>;
|
|
35
|
-
}
|
|
36
|
-
declare const action: ActionBase;
|
|
37
|
-
declare const annotation: typeof ux.annotation;
|
|
38
|
-
declare const anykey: typeof uxPrompt.anykey;
|
|
39
|
-
declare const confirm: typeof uxPrompt.confirm;
|
|
40
|
-
declare const debug: typeof ux.debug;
|
|
41
|
-
declare const done: typeof ux.done;
|
|
42
|
-
declare const error: typeof Errors.error;
|
|
43
|
-
declare const exit: typeof Errors.exit;
|
|
44
|
-
declare const flush: typeof ux.flush;
|
|
45
|
-
declare const info: typeof ux.info;
|
|
46
|
-
declare const log: typeof ux.log;
|
|
47
|
-
declare const progress: typeof styled.progress;
|
|
48
|
-
declare const prompt: typeof uxPrompt.prompt;
|
|
49
|
-
declare const styledHeader: typeof ux.styledHeader;
|
|
50
|
-
declare const styledJSON: typeof styled.styledJSON;
|
|
51
|
-
declare const styledObject: typeof ux.styledObject;
|
|
52
|
-
declare const table: typeof styled.Table.table;
|
|
53
|
-
declare const trace: typeof ux.trace;
|
|
54
|
-
declare const tree: typeof styled.tree;
|
|
55
|
-
declare const url: typeof ux.url;
|
|
56
|
-
declare const wait: (ms?: number) => Promise<void>;
|
|
57
|
-
declare const warn: typeof Errors.warn;
|
|
58
|
-
export { action, annotation, anykey, confirm, debug, done, error, exit, flush, info, log, progress, prompt, styledHeader, styledJSON, styledObject, table, trace, tree, url, wait, warn, ActionBase, config, Config, ExitError, IPromptOptions, Table, };
|
package/lib/ux/styled/index.d.ts
DELETED
package/lib/ux/styled/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.progress = exports.tree = exports.Table = exports.styledObject = exports.styledJSON = void 0;
|
|
4
|
-
const json_1 = require("./json");
|
|
5
|
-
exports.styledJSON = json_1.default;
|
|
6
|
-
const object_1 = require("./object");
|
|
7
|
-
exports.styledObject = object_1.default;
|
|
8
|
-
const Table = require("./table");
|
|
9
|
-
exports.Table = Table;
|
|
10
|
-
const tree_1 = require("./tree");
|
|
11
|
-
exports.tree = tree_1.default;
|
|
12
|
-
const progress_1 = require("./progress");
|
|
13
|
-
exports.progress = progress_1.default;
|
package/lib/ux/styled/json.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function styledJSON(obj: unknown): void;
|
package/lib/ux/styled/json.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const chalk = require("chalk");
|
|
4
|
-
const index_1 = require("../index");
|
|
5
|
-
function styledJSON(obj) {
|
|
6
|
-
const json = JSON.stringify(obj, null, 2);
|
|
7
|
-
if (!chalk.level) {
|
|
8
|
-
index_1.default.info(json);
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
const cardinal = require('cardinal');
|
|
12
|
-
const theme = require('cardinal/themes/jq');
|
|
13
|
-
index_1.default.info(cardinal.highlight(json, { json: true, theme }));
|
|
14
|
-
}
|
|
15
|
-
exports.default = styledJSON;
|
package/lib/ux/wait.js
DELETED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ActionBase, ActionType } from './base';
|
|
2
2
|
export default class SimpleAction extends ActionBase {
|
|
3
3
|
type: ActionType;
|
|
4
|
-
|
|
4
|
+
private _flush;
|
|
5
5
|
protected _pause(icon?: string): void;
|
|
6
|
+
private _render;
|
|
6
7
|
protected _resume(): void;
|
|
7
|
-
protected
|
|
8
|
+
protected _start(): void;
|
|
8
9
|
protected _stop(status: string): void;
|
|
9
|
-
|
|
10
|
-
private _flush;
|
|
10
|
+
protected _updateStatus(status: string, prevStatus?: string, newline?: boolean): void;
|
|
11
11
|
}
|
|
@@ -1,251 +1,251 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
interval: number;
|
|
2
|
+
arc: {
|
|
4
3
|
frames: string[];
|
|
5
|
-
};
|
|
6
|
-
dots: {
|
|
7
4
|
interval: number;
|
|
8
|
-
frames: string[];
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
interval: number;
|
|
6
|
+
arrow: {
|
|
12
7
|
frames: string[];
|
|
13
|
-
};
|
|
14
|
-
dots3: {
|
|
15
8
|
interval: number;
|
|
16
|
-
frames: string[];
|
|
17
9
|
};
|
|
18
|
-
|
|
19
|
-
interval: number;
|
|
10
|
+
arrow2: {
|
|
20
11
|
frames: string[];
|
|
21
|
-
};
|
|
22
|
-
dots5: {
|
|
23
12
|
interval: number;
|
|
24
|
-
frames: string[];
|
|
25
13
|
};
|
|
26
|
-
|
|
27
|
-
interval: number;
|
|
14
|
+
arrow3: {
|
|
28
15
|
frames: string[];
|
|
29
|
-
};
|
|
30
|
-
dots7: {
|
|
31
16
|
interval: number;
|
|
17
|
+
};
|
|
18
|
+
balloon: {
|
|
32
19
|
frames: string[];
|
|
20
|
+
interval: number;
|
|
33
21
|
};
|
|
34
|
-
|
|
22
|
+
balloon2: {
|
|
23
|
+
frames: string[];
|
|
35
24
|
interval: number;
|
|
25
|
+
};
|
|
26
|
+
bounce: {
|
|
36
27
|
frames: string[];
|
|
28
|
+
interval: number;
|
|
37
29
|
};
|
|
38
|
-
|
|
30
|
+
bouncingBall: {
|
|
31
|
+
frames: string[];
|
|
39
32
|
interval: number;
|
|
33
|
+
};
|
|
34
|
+
bouncingBar: {
|
|
40
35
|
frames: string[];
|
|
36
|
+
interval: number;
|
|
41
37
|
};
|
|
42
|
-
|
|
38
|
+
boxBounce: {
|
|
39
|
+
frames: string[];
|
|
43
40
|
interval: number;
|
|
41
|
+
};
|
|
42
|
+
boxBounce2: {
|
|
44
43
|
frames: string[];
|
|
44
|
+
interval: number;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
circle: {
|
|
47
|
+
frames: string[];
|
|
47
48
|
interval: number;
|
|
49
|
+
};
|
|
50
|
+
circleHalves: {
|
|
48
51
|
frames: string[];
|
|
52
|
+
interval: number;
|
|
49
53
|
};
|
|
50
|
-
|
|
54
|
+
circleQuarters: {
|
|
55
|
+
frames: string[];
|
|
51
56
|
interval: number;
|
|
57
|
+
};
|
|
58
|
+
clock: {
|
|
52
59
|
frames: string[];
|
|
60
|
+
interval: number;
|
|
53
61
|
};
|
|
54
|
-
|
|
62
|
+
dots: {
|
|
63
|
+
frames: string[];
|
|
55
64
|
interval: number;
|
|
65
|
+
};
|
|
66
|
+
dots2: {
|
|
56
67
|
frames: string[];
|
|
68
|
+
interval: number;
|
|
57
69
|
};
|
|
58
|
-
|
|
70
|
+
dots3: {
|
|
71
|
+
frames: string[];
|
|
59
72
|
interval: number;
|
|
73
|
+
};
|
|
74
|
+
dots4: {
|
|
60
75
|
frames: string[];
|
|
76
|
+
interval: number;
|
|
61
77
|
};
|
|
62
|
-
|
|
78
|
+
dots5: {
|
|
79
|
+
frames: string[];
|
|
63
80
|
interval: number;
|
|
81
|
+
};
|
|
82
|
+
dots6: {
|
|
64
83
|
frames: string[];
|
|
84
|
+
interval: number;
|
|
65
85
|
};
|
|
66
|
-
|
|
86
|
+
dots7: {
|
|
87
|
+
frames: string[];
|
|
67
88
|
interval: number;
|
|
89
|
+
};
|
|
90
|
+
dots8: {
|
|
68
91
|
frames: string[];
|
|
92
|
+
interval: number;
|
|
69
93
|
};
|
|
70
|
-
|
|
94
|
+
dots9: {
|
|
95
|
+
frames: string[];
|
|
71
96
|
interval: number;
|
|
97
|
+
};
|
|
98
|
+
dots10: {
|
|
72
99
|
frames: string[];
|
|
100
|
+
interval: number;
|
|
73
101
|
};
|
|
74
|
-
|
|
102
|
+
dots11: {
|
|
103
|
+
frames: string[];
|
|
75
104
|
interval: number;
|
|
105
|
+
};
|
|
106
|
+
earth: {
|
|
76
107
|
frames: string[];
|
|
108
|
+
interval: number;
|
|
77
109
|
};
|
|
78
110
|
flip: {
|
|
79
|
-
interval: number;
|
|
80
111
|
frames: string[];
|
|
81
|
-
};
|
|
82
|
-
hamburger: {
|
|
83
112
|
interval: number;
|
|
113
|
+
};
|
|
114
|
+
growHorizontal: {
|
|
84
115
|
frames: string[];
|
|
116
|
+
interval: number;
|
|
85
117
|
};
|
|
86
118
|
growVertical: {
|
|
119
|
+
frames: string[];
|
|
87
120
|
interval: number;
|
|
121
|
+
};
|
|
122
|
+
hamburger: {
|
|
88
123
|
frames: string[];
|
|
124
|
+
interval: number;
|
|
89
125
|
};
|
|
90
|
-
|
|
126
|
+
hearts: {
|
|
127
|
+
frames: string[];
|
|
91
128
|
interval: number;
|
|
129
|
+
};
|
|
130
|
+
hexagon: {
|
|
92
131
|
frames: string[];
|
|
132
|
+
interval: number;
|
|
93
133
|
};
|
|
94
|
-
|
|
134
|
+
line: {
|
|
135
|
+
frames: string[];
|
|
95
136
|
interval: number;
|
|
137
|
+
};
|
|
138
|
+
line2: {
|
|
96
139
|
frames: string[];
|
|
140
|
+
interval: number;
|
|
97
141
|
};
|
|
98
|
-
|
|
142
|
+
monkey: {
|
|
143
|
+
frames: string[];
|
|
99
144
|
interval: number;
|
|
145
|
+
};
|
|
146
|
+
moon: {
|
|
100
147
|
frames: string[];
|
|
148
|
+
interval: number;
|
|
101
149
|
};
|
|
102
150
|
noise: {
|
|
103
|
-
interval: number;
|
|
104
151
|
frames: string[];
|
|
105
|
-
};
|
|
106
|
-
bounce: {
|
|
107
152
|
interval: number;
|
|
108
|
-
frames: string[];
|
|
109
153
|
};
|
|
110
|
-
|
|
111
|
-
interval: number;
|
|
154
|
+
pipe: {
|
|
112
155
|
frames: string[];
|
|
113
|
-
};
|
|
114
|
-
boxBounce2: {
|
|
115
156
|
interval: number;
|
|
116
|
-
frames: string[];
|
|
117
157
|
};
|
|
118
|
-
|
|
119
|
-
interval: number;
|
|
158
|
+
pong: {
|
|
120
159
|
frames: string[];
|
|
160
|
+
interval: number;
|
|
121
161
|
};
|
|
122
|
-
|
|
162
|
+
runner: {
|
|
163
|
+
frames: string[];
|
|
123
164
|
interval: number;
|
|
165
|
+
};
|
|
166
|
+
simpleDots: {
|
|
124
167
|
frames: string[];
|
|
168
|
+
interval: number;
|
|
125
169
|
};
|
|
126
|
-
|
|
170
|
+
simpleDotsScrolling: {
|
|
171
|
+
frames: string[];
|
|
127
172
|
interval: number;
|
|
173
|
+
};
|
|
174
|
+
smiley: {
|
|
128
175
|
frames: string[];
|
|
176
|
+
interval: number;
|
|
129
177
|
};
|
|
130
178
|
squareCorners: {
|
|
131
|
-
interval: number;
|
|
132
179
|
frames: string[];
|
|
133
|
-
};
|
|
134
|
-
circleQuarters: {
|
|
135
180
|
interval: number;
|
|
136
|
-
frames: string[];
|
|
137
181
|
};
|
|
138
|
-
|
|
139
|
-
interval: number;
|
|
182
|
+
squish: {
|
|
140
183
|
frames: string[];
|
|
184
|
+
interval: number;
|
|
141
185
|
};
|
|
142
|
-
|
|
186
|
+
star: {
|
|
187
|
+
frames: string[];
|
|
143
188
|
interval: number;
|
|
189
|
+
};
|
|
190
|
+
star2: {
|
|
144
191
|
frames: string[];
|
|
192
|
+
interval: number;
|
|
145
193
|
};
|
|
146
194
|
toggle: {
|
|
147
|
-
interval: number;
|
|
148
195
|
frames: string[];
|
|
196
|
+
interval: number;
|
|
149
197
|
};
|
|
150
198
|
toggle2: {
|
|
151
|
-
interval: number;
|
|
152
199
|
frames: string[];
|
|
200
|
+
interval: number;
|
|
153
201
|
};
|
|
154
202
|
toggle3: {
|
|
155
|
-
interval: number;
|
|
156
203
|
frames: string[];
|
|
157
|
-
};
|
|
158
|
-
toggle4: {
|
|
159
204
|
interval: number;
|
|
160
|
-
frames: string[];
|
|
161
205
|
};
|
|
162
|
-
|
|
163
|
-
interval: number;
|
|
206
|
+
toggle4: {
|
|
164
207
|
frames: string[];
|
|
165
|
-
};
|
|
166
|
-
toggle6: {
|
|
167
208
|
interval: number;
|
|
168
|
-
frames: string[];
|
|
169
209
|
};
|
|
170
|
-
|
|
171
|
-
interval: number;
|
|
210
|
+
toggle5: {
|
|
172
211
|
frames: string[];
|
|
173
|
-
};
|
|
174
|
-
toggle8: {
|
|
175
212
|
interval: number;
|
|
176
|
-
frames: string[];
|
|
177
213
|
};
|
|
178
|
-
|
|
179
|
-
interval: number;
|
|
214
|
+
toggle6: {
|
|
180
215
|
frames: string[];
|
|
181
|
-
};
|
|
182
|
-
toggle10: {
|
|
183
216
|
interval: number;
|
|
184
|
-
frames: string[];
|
|
185
217
|
};
|
|
186
|
-
|
|
187
|
-
interval: number;
|
|
218
|
+
toggle7: {
|
|
188
219
|
frames: string[];
|
|
189
|
-
};
|
|
190
|
-
toggle12: {
|
|
191
220
|
interval: number;
|
|
192
|
-
frames: string[];
|
|
193
221
|
};
|
|
194
|
-
|
|
195
|
-
interval: number;
|
|
222
|
+
toggle8: {
|
|
196
223
|
frames: string[];
|
|
197
|
-
};
|
|
198
|
-
arrow: {
|
|
199
224
|
interval: number;
|
|
200
|
-
frames: string[];
|
|
201
225
|
};
|
|
202
|
-
|
|
203
|
-
interval: number;
|
|
226
|
+
toggle9: {
|
|
204
227
|
frames: string[];
|
|
205
|
-
};
|
|
206
|
-
arrow3: {
|
|
207
228
|
interval: number;
|
|
208
|
-
frames: string[];
|
|
209
229
|
};
|
|
210
|
-
|
|
211
|
-
interval: number;
|
|
230
|
+
toggle10: {
|
|
212
231
|
frames: string[];
|
|
213
|
-
};
|
|
214
|
-
bouncingBall: {
|
|
215
232
|
interval: number;
|
|
216
|
-
frames: string[];
|
|
217
233
|
};
|
|
218
|
-
|
|
219
|
-
interval: number;
|
|
234
|
+
toggle11: {
|
|
220
235
|
frames: string[];
|
|
221
|
-
};
|
|
222
|
-
monkey: {
|
|
223
236
|
interval: number;
|
|
224
|
-
frames: string[];
|
|
225
237
|
};
|
|
226
|
-
|
|
227
|
-
interval: number;
|
|
238
|
+
toggle12: {
|
|
228
239
|
frames: string[];
|
|
229
|
-
};
|
|
230
|
-
clock: {
|
|
231
240
|
interval: number;
|
|
232
|
-
frames: string[];
|
|
233
241
|
};
|
|
234
|
-
|
|
235
|
-
interval: number;
|
|
242
|
+
toggle13: {
|
|
236
243
|
frames: string[];
|
|
237
|
-
};
|
|
238
|
-
moon: {
|
|
239
244
|
interval: number;
|
|
240
|
-
frames: string[];
|
|
241
245
|
};
|
|
242
|
-
|
|
243
|
-
interval: number;
|
|
246
|
+
triangle: {
|
|
244
247
|
frames: string[];
|
|
245
|
-
};
|
|
246
|
-
pong: {
|
|
247
248
|
interval: number;
|
|
248
|
-
frames: string[];
|
|
249
249
|
};
|
|
250
250
|
};
|
|
251
251
|
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|