first commit
This commit is contained in:
128
app_vue/node_modules/cli-spinners/index.d.ts
generated
vendored
Normal file
128
app_vue/node_modules/cli-spinners/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,128 @@
|
||||
declare namespace cliSpinners {
|
||||
type SpinnerName =
|
||||
| 'dots'
|
||||
| 'dots2'
|
||||
| 'dots3'
|
||||
| 'dots4'
|
||||
| 'dots5'
|
||||
| 'dots6'
|
||||
| 'dots7'
|
||||
| 'dots8'
|
||||
| 'dots9'
|
||||
| 'dots10'
|
||||
| 'dots11'
|
||||
| 'dots12'
|
||||
| 'dots8Bit'
|
||||
| 'sand'
|
||||
| 'line'
|
||||
| 'line2'
|
||||
| 'pipe'
|
||||
| 'simpleDots'
|
||||
| 'simpleDotsScrolling'
|
||||
| 'star'
|
||||
| 'star2'
|
||||
| 'flip'
|
||||
| 'hamburger'
|
||||
| 'growVertical'
|
||||
| 'growHorizontal'
|
||||
| 'balloon'
|
||||
| 'balloon2'
|
||||
| 'noise'
|
||||
| 'bounce'
|
||||
| 'boxBounce'
|
||||
| 'boxBounce2'
|
||||
| 'binary'
|
||||
| 'triangle'
|
||||
| 'arc'
|
||||
| 'circle'
|
||||
| 'squareCorners'
|
||||
| 'circleQuarters'
|
||||
| 'circleHalves'
|
||||
| 'squish'
|
||||
| 'toggle'
|
||||
| 'toggle2'
|
||||
| 'toggle3'
|
||||
| 'toggle4'
|
||||
| 'toggle5'
|
||||
| 'toggle6'
|
||||
| 'toggle7'
|
||||
| 'toggle8'
|
||||
| 'toggle9'
|
||||
| 'toggle10'
|
||||
| 'toggle11'
|
||||
| 'toggle12'
|
||||
| 'toggle13'
|
||||
| 'arrow'
|
||||
| 'arrow2'
|
||||
| 'arrow3'
|
||||
| 'bouncingBar'
|
||||
| 'bouncingBall'
|
||||
| 'smiley'
|
||||
| 'monkey'
|
||||
| 'hearts'
|
||||
| 'clock'
|
||||
| 'earth'
|
||||
| 'material'
|
||||
| 'moon'
|
||||
| 'runner'
|
||||
| 'pong'
|
||||
| 'shark'
|
||||
| 'dqpb'
|
||||
| 'weather'
|
||||
| 'christmas'
|
||||
| 'grenade'
|
||||
| 'point'
|
||||
| 'layer'
|
||||
| 'betaWave'
|
||||
| 'fingerDance'
|
||||
| 'fistBump'
|
||||
| 'soccerHeader'
|
||||
| 'mindblown'
|
||||
| 'speaker'
|
||||
| 'orangePulse'
|
||||
| 'bluePulse'
|
||||
| 'orangeBluePulse'
|
||||
| 'timeTravel'
|
||||
| 'aesthetic'
|
||||
| 'dwarfFortress';
|
||||
|
||||
interface Spinner {
|
||||
/**
|
||||
Recommended interval.
|
||||
*/
|
||||
readonly interval: number;
|
||||
|
||||
/**
|
||||
A list of frames to show for the spinner.
|
||||
*/
|
||||
readonly frames: string[];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
70+ spinners for use in the terminal.
|
||||
|
||||
@example
|
||||
```
|
||||
import cliSpinners = require('cli-spinners');
|
||||
|
||||
console.log(cliSpinners.dots);
|
||||
// {
|
||||
// interval: 80,
|
||||
// frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
|
||||
// }
|
||||
```
|
||||
*/
|
||||
declare const cliSpinners: {
|
||||
readonly [spinnerName in cliSpinners.SpinnerName]: cliSpinners.Spinner;
|
||||
} & {
|
||||
/**
|
||||
Returns a random spinner each time it's called.
|
||||
*/
|
||||
readonly random: cliSpinners.Spinner;
|
||||
|
||||
// TODO: Remove this for the next major release
|
||||
default: typeof cliSpinners;
|
||||
};
|
||||
|
||||
export = cliSpinners;
|
15
app_vue/node_modules/cli-spinners/index.js
generated
vendored
Normal file
15
app_vue/node_modules/cli-spinners/index.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
const spinners = Object.assign({}, require('./spinners.json')); // eslint-disable-line import/extensions
|
||||
|
||||
const spinnersList = Object.keys(spinners);
|
||||
|
||||
Object.defineProperty(spinners, 'random', {
|
||||
get() {
|
||||
const randomIndex = Math.floor(Math.random() * spinnersList.length);
|
||||
const spinnerName = spinnersList[randomIndex];
|
||||
return spinners[spinnerName];
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = spinners;
|
9
app_vue/node_modules/cli-spinners/license
generated
vendored
Normal file
9
app_vue/node_modules/cli-spinners/license
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
50
app_vue/node_modules/cli-spinners/package.json
generated
vendored
Normal file
50
app_vue/node_modules/cli-spinners/package.json
generated
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"name": "cli-spinners",
|
||||
"version": "2.9.2",
|
||||
"description": "Spinners for use in the terminal",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/cli-spinners",
|
||||
"funding": "https://github.com/sponsors/sindresorhus",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "https://sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd",
|
||||
"asciicast": "asciinema rec --command='node example-all.js' --title='cli-spinner' --quiet"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"spinners.json"
|
||||
],
|
||||
"keywords": [
|
||||
"cli",
|
||||
"spinner",
|
||||
"spinners",
|
||||
"terminal",
|
||||
"term",
|
||||
"console",
|
||||
"ascii",
|
||||
"unicode",
|
||||
"loading",
|
||||
"indicator",
|
||||
"progress",
|
||||
"busy",
|
||||
"wait",
|
||||
"idle",
|
||||
"json"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/node": "^17.0.41",
|
||||
"ava": "^1.4.1",
|
||||
"log-update": "^3.2.0",
|
||||
"string-length": "^4.0.1",
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
}
|
54
app_vue/node_modules/cli-spinners/readme.md
generated
vendored
Normal file
54
app_vue/node_modules/cli-spinners/readme.md
generated
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
# cli-spinners
|
||||
|
||||
> 70+ spinners for use in the terminal
|
||||
|
||||
<p align="center">
|
||||
<br>
|
||||
<img width="700" src="screenshot.svg">
|
||||
<br>
|
||||
<br>
|
||||
</p>
|
||||
|
||||
The list of spinners is just a [JSON file](spinners.json) and can be used wherever.
|
||||
|
||||
You probably want to use one of these spinners through the [`ora`](https://github.com/sindresorhus/ora) module.
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install cli-spinners
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const cliSpinners = require('cli-spinners');
|
||||
|
||||
console.log(cliSpinners.dots);
|
||||
/*
|
||||
{
|
||||
interval: 80,
|
||||
frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
|
||||
}
|
||||
*/
|
||||
```
|
||||
|
||||
## Preview
|
||||
|
||||
The header GIF is outdated. See all the [spinner at once](https://jsfiddle.net/sindresorhus/2eLtsbey/embedded/result/) or [one at the time](https://asciinema.org/a/95348?size=big).
|
||||
|
||||
## API
|
||||
|
||||
Each spinner comes with a recommended `interval` and an array of `frames`.
|
||||
|
||||
[See the spinners.](spinners.json)
|
||||
|
||||
The `random` spinner will return a random spinner each time it's called.
|
||||
|
||||
## Related
|
||||
|
||||
- [ora](https://github.com/sindresorhus/ora) - Elegant terminal spinner
|
||||
- [CLISpinner](https://github.com/kiliankoe/CLISpinner) - Terminal spinners for Swift
|
||||
- [py-spinners](https://github.com/ManrajGrover/py-spinners) - Python port
|
||||
- [spinners](https://github.com/FGRibreau/spinners) - Terminal spinners for Rust
|
||||
- [go-spinners](https://github.com/gabe565/go-spinners) - Go port
|
1622
app_vue/node_modules/cli-spinners/spinners.json
generated
vendored
Normal file
1622
app_vue/node_modules/cli-spinners/spinners.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user