mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 21:52:19 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
506
web/node_modules/react-toastify/dist/ReactToastify.css
generated
vendored
Normal file
506
web/node_modules/react-toastify/dist/ReactToastify.css
generated
vendored
Normal file
|
@ -0,0 +1,506 @@
|
|||
.Toastify__toast-container {
|
||||
z-index: 9999;
|
||||
-webkit-transform: translate3d(0, 0, 9999px);
|
||||
position: fixed;
|
||||
padding: 4px;
|
||||
width: 320px;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
}
|
||||
.Toastify__toast-container--top-left {
|
||||
top: 1em;
|
||||
left: 1em;
|
||||
}
|
||||
.Toastify__toast-container--top-center {
|
||||
top: 1em;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.Toastify__toast-container--top-right {
|
||||
top: 1em;
|
||||
right: 1em;
|
||||
}
|
||||
.Toastify__toast-container--bottom-left {
|
||||
bottom: 1em;
|
||||
left: 1em;
|
||||
}
|
||||
.Toastify__toast-container--bottom-center {
|
||||
bottom: 1em;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.Toastify__toast-container--bottom-right {
|
||||
bottom: 1em;
|
||||
right: 1em;
|
||||
}
|
||||
|
||||
@media only screen and (max-width : 480px) {
|
||||
.Toastify__toast-container {
|
||||
width: 100vw;
|
||||
padding: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
|
||||
top: 0;
|
||||
transform: translateX(0);
|
||||
}
|
||||
.Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
|
||||
bottom: 0;
|
||||
transform: translateX(0);
|
||||
}
|
||||
.Toastify__toast-container--rtl {
|
||||
right: 0;
|
||||
left: initial;
|
||||
}
|
||||
}
|
||||
.Toastify__toast {
|
||||
position: relative;
|
||||
min-height: 64px;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 1rem;
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
max-height: 800px;
|
||||
overflow: hidden;
|
||||
font-family: sans-serif;
|
||||
cursor: pointer;
|
||||
direction: ltr;
|
||||
}
|
||||
.Toastify__toast--rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.Toastify__toast--dark {
|
||||
background: #121212;
|
||||
color: #fff;
|
||||
}
|
||||
.Toastify__toast--default {
|
||||
background: #fff;
|
||||
color: #aaa;
|
||||
}
|
||||
.Toastify__toast--info {
|
||||
background: #3498db;
|
||||
}
|
||||
.Toastify__toast--success {
|
||||
background: #07bc0c;
|
||||
}
|
||||
.Toastify__toast--warning {
|
||||
background: #f1c40f;
|
||||
}
|
||||
.Toastify__toast--error {
|
||||
background: #e74c3c;
|
||||
}
|
||||
.Toastify__toast-body {
|
||||
margin: auto 0;
|
||||
-ms-flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.Toastify--animate {
|
||||
animation-fill-mode: both;
|
||||
animation-duration: 0.7s;
|
||||
}
|
||||
|
||||
@media only screen and (max-width : 480px) {
|
||||
.Toastify__toast {
|
||||
margin-bottom: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
.Toastify__close-button {
|
||||
color: #fff;
|
||||
background: transparent;
|
||||
outline: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
opacity: 0.7;
|
||||
transition: 0.3s ease;
|
||||
-ms-flex-item-align: start;
|
||||
align-self: flex-start;
|
||||
}
|
||||
.Toastify__close-button--default {
|
||||
color: #000;
|
||||
opacity: 0.3;
|
||||
}
|
||||
.Toastify__close-button > svg {
|
||||
fill: currentColor;
|
||||
height: 16px;
|
||||
width: 14px;
|
||||
}
|
||||
.Toastify__close-button:hover, .Toastify__close-button:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@keyframes Toastify__trackProgress {
|
||||
0% {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
100% {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
}
|
||||
.Toastify__progress-bar {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
z-index: 9999;
|
||||
opacity: 0.7;
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
transform-origin: left;
|
||||
}
|
||||
.Toastify__progress-bar--animated {
|
||||
animation: Toastify__trackProgress linear 1 forwards;
|
||||
}
|
||||
.Toastify__progress-bar--controlled {
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
.Toastify__progress-bar--rtl {
|
||||
right: 0;
|
||||
left: initial;
|
||||
transform-origin: right;
|
||||
}
|
||||
.Toastify__progress-bar--default {
|
||||
background: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
|
||||
}
|
||||
.Toastify__progress-bar--dark {
|
||||
background: #bb86fc;
|
||||
}
|
||||
@keyframes Toastify__bounceInRight {
|
||||
from, 60%, 75%, 90%, to {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
}
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate3d(3000px, 0, 0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: translate3d(-25px, 0, 0);
|
||||
}
|
||||
75% {
|
||||
transform: translate3d(10px, 0, 0);
|
||||
}
|
||||
90% {
|
||||
transform: translate3d(-5px, 0, 0);
|
||||
}
|
||||
to {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__bounceOutRight {
|
||||
20% {
|
||||
opacity: 1;
|
||||
transform: translate3d(-20px, 0, 0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(2000px, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__bounceInLeft {
|
||||
from, 60%, 75%, 90%, to {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
}
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translate3d(-3000px, 0, 0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: translate3d(25px, 0, 0);
|
||||
}
|
||||
75% {
|
||||
transform: translate3d(-10px, 0, 0);
|
||||
}
|
||||
90% {
|
||||
transform: translate3d(5px, 0, 0);
|
||||
}
|
||||
to {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__bounceOutLeft {
|
||||
20% {
|
||||
opacity: 1;
|
||||
transform: translate3d(20px, 0, 0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(-2000px, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__bounceInUp {
|
||||
from, 60%, 75%, 90%, to {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
}
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, 3000px, 0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, -20px, 0);
|
||||
}
|
||||
75% {
|
||||
transform: translate3d(0, 10px, 0);
|
||||
}
|
||||
90% {
|
||||
transform: translate3d(0, -5px, 0);
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__bounceOutUp {
|
||||
20% {
|
||||
transform: translate3d(0, -10px, 0);
|
||||
}
|
||||
40%, 45% {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 20px, 0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, -2000px, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__bounceInDown {
|
||||
from, 60%, 75%, 90%, to {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
}
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, -3000px, 0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 25px, 0);
|
||||
}
|
||||
75% {
|
||||
transform: translate3d(0, -10px, 0);
|
||||
}
|
||||
90% {
|
||||
transform: translate3d(0, 5px, 0);
|
||||
}
|
||||
to {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__bounceOutDown {
|
||||
20% {
|
||||
transform: translate3d(0, 10px, 0);
|
||||
}
|
||||
40%, 45% {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, -20px, 0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, 2000px, 0);
|
||||
}
|
||||
}
|
||||
.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
|
||||
animation-name: Toastify__bounceInLeft;
|
||||
}
|
||||
.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
|
||||
animation-name: Toastify__bounceInRight;
|
||||
}
|
||||
.Toastify__bounce-enter--top-center {
|
||||
animation-name: Toastify__bounceInDown;
|
||||
}
|
||||
.Toastify__bounce-enter--bottom-center {
|
||||
animation-name: Toastify__bounceInUp;
|
||||
}
|
||||
|
||||
.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
|
||||
animation-name: Toastify__bounceOutLeft;
|
||||
}
|
||||
.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
|
||||
animation-name: Toastify__bounceOutRight;
|
||||
}
|
||||
.Toastify__bounce-exit--top-center {
|
||||
animation-name: Toastify__bounceOutUp;
|
||||
}
|
||||
.Toastify__bounce-exit--bottom-center {
|
||||
animation-name: Toastify__bounceOutDown;
|
||||
}
|
||||
|
||||
@keyframes Toastify__zoomIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale3d(0.3, 0.3, 0.3);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__zoomOut {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
transform: scale3d(0.3, 0.3, 0.3);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
.Toastify__zoom-enter {
|
||||
animation-name: Toastify__zoomIn;
|
||||
}
|
||||
|
||||
.Toastify__zoom-exit {
|
||||
animation-name: Toastify__zoomOut;
|
||||
}
|
||||
|
||||
@keyframes Toastify__flipIn {
|
||||
from {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
||||
animation-timing-function: ease-in;
|
||||
opacity: 0;
|
||||
}
|
||||
40% {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
||||
animation-timing-function: ease-in;
|
||||
}
|
||||
60% {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
||||
opacity: 1;
|
||||
}
|
||||
80% {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
||||
}
|
||||
to {
|
||||
transform: perspective(400px);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__flipOut {
|
||||
from {
|
||||
transform: perspective(400px);
|
||||
}
|
||||
30% {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
.Toastify__flip-enter {
|
||||
animation-name: Toastify__flipIn;
|
||||
}
|
||||
|
||||
.Toastify__flip-exit {
|
||||
animation-name: Toastify__flipOut;
|
||||
}
|
||||
|
||||
@keyframes Toastify__slideInRight {
|
||||
from {
|
||||
transform: translate3d(110%, 0, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__slideInLeft {
|
||||
from {
|
||||
transform: translate3d(-110%, 0, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__slideInUp {
|
||||
from {
|
||||
transform: translate3d(0, 110%, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__slideInDown {
|
||||
from {
|
||||
transform: translate3d(0, -110%, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__slideOutRight {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(110%, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__slideOutLeft {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(-110%, 0, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__slideOutDown {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(0, 500px, 0);
|
||||
}
|
||||
}
|
||||
@keyframes Toastify__slideOutUp {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(0, -500px, 0);
|
||||
}
|
||||
}
|
||||
.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
|
||||
animation-name: Toastify__slideInLeft;
|
||||
}
|
||||
.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
|
||||
animation-name: Toastify__slideInRight;
|
||||
}
|
||||
.Toastify__slide-enter--top-center {
|
||||
animation-name: Toastify__slideInDown;
|
||||
}
|
||||
.Toastify__slide-enter--bottom-center {
|
||||
animation-name: Toastify__slideInUp;
|
||||
}
|
||||
|
||||
.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
|
||||
animation-name: Toastify__slideOutLeft;
|
||||
}
|
||||
.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
|
||||
animation-name: Toastify__slideOutRight;
|
||||
}
|
||||
.Toastify__slide-exit--top-center {
|
||||
animation-name: Toastify__slideOutUp;
|
||||
}
|
||||
.Toastify__slide-exit--bottom-center {
|
||||
animation-name: Toastify__slideOutDown;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=ReactToastify.css.map */
|
1
web/node_modules/react-toastify/dist/ReactToastify.css.map
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/ReactToastify.css.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"sources":["../scss/_toastContainer.scss","../scss/_variables.scss","ReactToastify.css","../scss/_toast.scss","../scss/_closeButton.scss","../scss/_progressBar.scss","../scss/animations/_bounce.scss","../scss/animations/_zoom.scss","../scss/animations/_flip.scss","../scss/animations/_slide.scss"],"names":[],"mappings":"AAAA;EACI,aCmBS;EDlBT,4CAAA;EACA,eAAA;EACA,YAAA;EACA,YCJa;EDKb,sBAAA;EACA,WAAA;AECJ;AFAI;EACI,QAAA;EACA,SAAA;AEER;AFAI;EACI,QAAA;EACA,SAAA;EACA,2BAAA;AEER;AFAI;EACI,QAAA;EACA,UAAA;AEER;AFAI;EACI,WAAA;EACA,SAAA;AEER;AFAI;EACI,WAAA;EACA,SAAA;EACA,2BAAA;AEER;AFAI;EACI,WAAA;EACA,UAAA;AEER;;AFEA;EACI;IACI,YAAA;IACA,UAAA;IACA,OAAA;IACA,SAAA;EECN;EFAM;IAGI,MAAA;IACA,wBAAA;EEAV;EFEM;IAGI,S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BAAA;IACA,mCAAA;EP0YN;AACF;AOvYA;EACI;IA1EA,+BAAA;EPodF;EOvYE;IACI,kBAAA;IACA,oCAAA;EPyYN;AACF;AOrYI;EAEI,qCAAA;APsYR;AOpYI;EAEI,sCAAA;APqYR;AOnYI;EACI,qCAAA;APqYR;AOnYI;EACI,mCAAA;APqYR;;AOhYI;EAEI,sCAAA;APkYR;AOhYI;EAEI,uCAAA;APiYR;AO/XI;EACI,oCAAA;APiYR;AO/XI;EACI,sCAAA;APiYR","file":"ReactToastify.css"}
|
1
web/node_modules/react-toastify/dist/ReactToastify.min.css
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/ReactToastify.min.css
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
web/node_modules/react-toastify/dist/ReactToastify.minimal.css
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/ReactToastify.minimal.css
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{animation:Toastify__trackProgress linear 1 forwards}
|
1
web/node_modules/react-toastify/dist/ReactToastify.minimal.css.map
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/ReactToastify.minimal.css.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"sourceRoot":"","sources":["../scss/minimal.scss"],"names":[],"mappings":"AAIA;EACE;IACE;;EAEF;IACE;;;AAIJ;EACE","file":"ReactToastify.minimal.css"}
|
8
web/node_modules/react-toastify/dist/components/CloseButton.d.ts
generated
vendored
Normal file
8
web/node_modules/react-toastify/dist/components/CloseButton.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
import * as React from 'react';
|
||||
import { TypeOptions } from '../types';
|
||||
export interface CloseButtonProps {
|
||||
closeToast: (e: React.MouseEvent<HTMLElement>) => void;
|
||||
type: TypeOptions;
|
||||
ariaLabel?: string;
|
||||
}
|
||||
export declare function CloseButton({ closeToast, type, ariaLabel }: CloseButtonProps): JSX.Element;
|
55
web/node_modules/react-toastify/dist/components/ProgressBar.d.ts
generated
vendored
Normal file
55
web/node_modules/react-toastify/dist/components/ProgressBar.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
import * as React from 'react';
|
||||
import { TypeOptions, ToastClassName } from '../types';
|
||||
export interface ProgressBarProps {
|
||||
/**
|
||||
* The animation delay which determine when to close the toast
|
||||
*/
|
||||
delay: number;
|
||||
/**
|
||||
* Whether or not the animation is running or paused
|
||||
*/
|
||||
isRunning: boolean;
|
||||
/**
|
||||
* Func to close the current toast
|
||||
*/
|
||||
closeToast: () => void;
|
||||
/**
|
||||
* Optional type : info, success ...
|
||||
*/
|
||||
type: TypeOptions;
|
||||
/**
|
||||
* Hide or not the progress bar
|
||||
*/
|
||||
hide?: boolean;
|
||||
/**
|
||||
* Optionnal className
|
||||
*/
|
||||
className?: ToastClassName;
|
||||
/**
|
||||
* Optionnal inline style
|
||||
*/
|
||||
style?: React.CSSProperties;
|
||||
/**
|
||||
* Tell wether or not controlled progress bar is used
|
||||
*/
|
||||
controlledProgress?: boolean;
|
||||
/**
|
||||
* Controlled progress value
|
||||
*/
|
||||
progress?: number | string;
|
||||
/**
|
||||
* Support rtl content
|
||||
*/
|
||||
rtl?: boolean;
|
||||
/**
|
||||
* Tell if the component is visible on screen or not
|
||||
*/
|
||||
isIn?: boolean;
|
||||
}
|
||||
export declare function ProgressBar({ delay, isRunning, closeToast, type, hide, className, style: userStyle, controlledProgress, progress, rtl, isIn }: ProgressBarProps): JSX.Element;
|
||||
export declare namespace ProgressBar {
|
||||
var defaultProps: {
|
||||
type: TypeOptions;
|
||||
hide: boolean;
|
||||
};
|
||||
}
|
3
web/node_modules/react-toastify/dist/components/Toast.d.ts
generated
vendored
Normal file
3
web/node_modules/react-toastify/dist/components/Toast.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import * as React from 'react';
|
||||
import { ToastProps } from '../types';
|
||||
export declare const Toast: React.FC<ToastProps>;
|
3
web/node_modules/react-toastify/dist/components/ToastContainer.d.ts
generated
vendored
Normal file
3
web/node_modules/react-toastify/dist/components/ToastContainer.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import * as React from 'react';
|
||||
import { ToastContainerProps } from '../types';
|
||||
export declare const ToastContainer: React.FC<ToastContainerProps>;
|
5
web/node_modules/react-toastify/dist/components/Transitions.d.ts
generated
vendored
Normal file
5
web/node_modules/react-toastify/dist/components/Transitions.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
declare const Bounce: ({ children, position, preventExitTransition, done, nodeRef, isIn }: import("..").ToastTransitionProps) => JSX.Element;
|
||||
declare const Slide: ({ children, position, preventExitTransition, done, nodeRef, isIn }: import("..").ToastTransitionProps) => JSX.Element;
|
||||
declare const Zoom: ({ children, position, preventExitTransition, done, nodeRef, isIn }: import("..").ToastTransitionProps) => JSX.Element;
|
||||
declare const Flip: ({ children, position, preventExitTransition, done, nodeRef, isIn }: import("..").ToastTransitionProps) => JSX.Element;
|
||||
export { Bounce, Slide, Zoom, Flip };
|
5
web/node_modules/react-toastify/dist/components/index.d.ts
generated
vendored
Normal file
5
web/node_modules/react-toastify/dist/components/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
export * from './CloseButton';
|
||||
export * from './ProgressBar';
|
||||
export * from './ToastContainer';
|
||||
export * from './Transitions';
|
||||
export * from './Toast';
|
39
web/node_modules/react-toastify/dist/core/eventManager.d.ts
generated
vendored
Normal file
39
web/node_modules/react-toastify/dist/core/eventManager.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
/// <reference types="react" />
|
||||
import { Id, ToastContent, ClearWaitingQueueParams, NotValidatedToastProps } from '../types';
|
||||
import { ContainerInstance } from '../hooks';
|
||||
export declare const enum Event {
|
||||
Show = 0,
|
||||
Clear = 1,
|
||||
DidMount = 2,
|
||||
WillUnmount = 3,
|
||||
Change = 4,
|
||||
ClearWaitingQueue = 5
|
||||
}
|
||||
declare type OnShowCallback = (content: ToastContent, options: NotValidatedToastProps) => void;
|
||||
declare type OnClearCallback = (id?: Id) => void;
|
||||
declare type OnClearWaitingQueue = (params: ClearWaitingQueueParams) => void;
|
||||
declare type OnDidMountCallback = (containerInstance: ContainerInstance) => void;
|
||||
declare type OnWillUnmountCallback = OnDidMountCallback;
|
||||
export declare type OnChangeCallback = (toast: number, containerId?: number | string) => void;
|
||||
declare type Callback = OnShowCallback | OnClearCallback | OnClearWaitingQueue | OnDidMountCallback | OnWillUnmountCallback | OnChangeCallback;
|
||||
declare type TimeoutId = ReturnType<typeof window.setTimeout>;
|
||||
export interface EventManager {
|
||||
list: Map<Event, Callback[]>;
|
||||
emitQueue: Map<Event, TimeoutId[]>;
|
||||
on(event: Event.Show, callback: OnShowCallback): EventManager;
|
||||
on(event: Event.Clear, callback: OnClearCallback): EventManager;
|
||||
on(event: Event.ClearWaitingQueue, callback: OnClearWaitingQueue): EventManager;
|
||||
on(event: Event.DidMount, callback: OnDidMountCallback): EventManager;
|
||||
on(event: Event.WillUnmount, callback: OnWillUnmountCallback): EventManager;
|
||||
on(event: Event.Change, callback: OnChangeCallback): EventManager;
|
||||
off(event: Event, callback?: Callback): EventManager;
|
||||
cancelEmit(event: Event): EventManager;
|
||||
emit(event: Event.Show, content: React.ReactNode, options: NotValidatedToastProps): void;
|
||||
emit(event: Event.Clear, id?: string | number): void;
|
||||
emit(event: Event.ClearWaitingQueue, params: ClearWaitingQueueParams): void;
|
||||
emit(event: Event.DidMount, containerInstance: ContainerInstance): void;
|
||||
emit(event: Event.WillUnmount, containerInstance: ContainerInstance): void;
|
||||
emit(event: Event.Change, toast: number, containerId?: number | string): void;
|
||||
}
|
||||
export declare const eventManager: EventManager;
|
||||
export {};
|
2
web/node_modules/react-toastify/dist/core/index.d.ts
generated
vendored
Normal file
2
web/node_modules/react-toastify/dist/core/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
export * from './eventManager';
|
||||
export * from './toast';
|
55
web/node_modules/react-toastify/dist/core/toast.d.ts
generated
vendored
Normal file
55
web/node_modules/react-toastify/dist/core/toast.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
import * as React from 'react';
|
||||
import { OnChangeCallback } from './eventManager';
|
||||
import { ToastContent, ToastOptions, Id, ToastContainerProps, UpdateOptions, ClearWaitingQueueParams } from '../types';
|
||||
declare const toast: {
|
||||
(content: ToastContent, options?: ToastOptions | undefined): React.ReactText;
|
||||
success: (content: ToastContent, options?: ToastOptions | undefined) => React.ReactText;
|
||||
info: (content: ToastContent, options?: ToastOptions | undefined) => React.ReactText;
|
||||
error: (content: ToastContent, options?: ToastOptions | undefined) => React.ReactText;
|
||||
warning: (content: ToastContent, options?: ToastOptions | undefined) => React.ReactText;
|
||||
dark: (content: ToastContent, options?: ToastOptions | undefined) => React.ReactText;
|
||||
warn: (content: ToastContent, options?: ToastOptions | undefined) => React.ReactText;
|
||||
/**
|
||||
* Remove toast programmaticaly
|
||||
*/
|
||||
dismiss(id?: string | number | undefined): void;
|
||||
/**
|
||||
* Clear waiting queue when limit is used
|
||||
*/
|
||||
clearWaitingQueue(params?: ClearWaitingQueueParams): void;
|
||||
/**
|
||||
* return true if one container is displaying the toast
|
||||
*/
|
||||
isActive(id: Id): boolean;
|
||||
update(toastId: Id, options?: UpdateOptions): void;
|
||||
/**
|
||||
* Used for controlled progress bar.
|
||||
*/
|
||||
done(id: Id): void;
|
||||
/**
|
||||
* Track changes. The callback get the number of toast displayed
|
||||
*
|
||||
*/
|
||||
onChange(callback: OnChangeCallback): () => void;
|
||||
/**
|
||||
* Configure the ToastContainer when lazy mounted
|
||||
*/
|
||||
configure(config?: ToastContainerProps): void;
|
||||
POSITION: {
|
||||
TOP_LEFT: import("../types").ToastPosition;
|
||||
TOP_RIGHT: import("../types").ToastPosition;
|
||||
TOP_CENTER: import("../types").ToastPosition;
|
||||
BOTTOM_LEFT: import("../types").ToastPosition;
|
||||
BOTTOM_RIGHT: import("../types").ToastPosition;
|
||||
BOTTOM_CENTER: import("../types").ToastPosition;
|
||||
};
|
||||
TYPE: {
|
||||
INFO: import("../types").TypeOptions;
|
||||
SUCCESS: import("../types").TypeOptions;
|
||||
WARNING: import("../types").TypeOptions;
|
||||
ERROR: import("../types").TypeOptions;
|
||||
DEFAULT: import("../types").TypeOptions;
|
||||
DARK: import("../types").TypeOptions;
|
||||
};
|
||||
};
|
||||
export { toast };
|
3
web/node_modules/react-toastify/dist/hooks/index.d.ts
generated
vendored
Normal file
3
web/node_modules/react-toastify/dist/hooks/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
export * from './useToastContainer';
|
||||
export * from './useToast';
|
||||
export * from './useKeeper';
|
15
web/node_modules/react-toastify/dist/hooks/toastContainerReducer.d.ts
generated
vendored
Normal file
15
web/node_modules/react-toastify/dist/hooks/toastContainerReducer.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { Id } from '../types';
|
||||
export declare const enum ActionType {
|
||||
ADD = 0,
|
||||
REMOVE = 1
|
||||
}
|
||||
export declare type State = Array<Id>;
|
||||
export declare type Action = {
|
||||
type: ActionType.ADD;
|
||||
toastId: Id;
|
||||
staleId?: Id;
|
||||
} | {
|
||||
type: ActionType.REMOVE;
|
||||
toastId?: Id;
|
||||
};
|
||||
export declare function reducer(state: State, action: Action): Id[];
|
7
web/node_modules/react-toastify/dist/hooks/useKeeper.d.ts
generated
vendored
Normal file
7
web/node_modules/react-toastify/dist/hooks/useKeeper.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* `useKeeper` is a helper around `useRef`.
|
||||
*
|
||||
* You don't need to access the `.current`property to get the value
|
||||
* If refresh is set to true. The ref will be updated every render
|
||||
*/
|
||||
export declare function useKeeper<T>(arg: T, refresh?: boolean): T;
|
10
web/node_modules/react-toastify/dist/hooks/useToast.d.ts
generated
vendored
Normal file
10
web/node_modules/react-toastify/dist/hooks/useToast.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { DOMAttributes } from 'react';
|
||||
import { ToastProps } from '../types';
|
||||
export declare function useToast(props: ToastProps): {
|
||||
playToast: () => void;
|
||||
pauseToast: () => void;
|
||||
isRunning: boolean;
|
||||
preventExitTransition: boolean;
|
||||
toastRef: import("react").RefObject<HTMLDivElement>;
|
||||
eventHandlers: DOMAttributes<HTMLElement>;
|
||||
};
|
16
web/node_modules/react-toastify/dist/hooks/useToastContainer.d.ts
generated
vendored
Normal file
16
web/node_modules/react-toastify/dist/hooks/useToastContainer.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
/// <reference types="react" />
|
||||
import { Id, ToastContainerProps, Toast, ToastPosition } from '../types';
|
||||
export interface ContainerInstance {
|
||||
toastKey: number;
|
||||
displayedToast: number;
|
||||
props: ToastContainerProps;
|
||||
containerId?: Id | null;
|
||||
isToastActive: (toastId: Id) => boolean;
|
||||
getToast: (id: Id) => Toast | null;
|
||||
}
|
||||
export declare function useToastContainer(props: ToastContainerProps): {
|
||||
getToastToRender: <T>(cb: (position: ToastPosition, toastList: Toast[]) => T) => T[];
|
||||
collection: Record<Id, Toast>;
|
||||
containerRef: import("react").MutableRefObject<null>;
|
||||
isToastActive: (id: Id) => boolean;
|
||||
};
|
5
web/node_modules/react-toastify/dist/index.d.ts
generated
vendored
Normal file
5
web/node_modules/react-toastify/dist/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
export { useToastContainer, useToast } from './hooks';
|
||||
export { cssTransition, collapseToast } from './utils';
|
||||
export { ToastContainer, Bounce, Flip, Slide, Zoom } from './components';
|
||||
export { toast } from './core';
|
||||
export * from './types';
|
8
web/node_modules/react-toastify/dist/index.js
generated
vendored
Normal file
8
web/node_modules/react-toastify/dist/index.js
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
'use strict'
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./react-toastify.cjs.production.min.js')
|
||||
} else {
|
||||
module.exports = require('./react-toastify.cjs.development.js')
|
||||
}
|
8
web/node_modules/react-toastify/dist/inject-style.d.ts
generated
vendored
Normal file
8
web/node_modules/react-toastify/dist/inject-style.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
/**
|
||||
* Inject the style in case you cannot import the css file
|
||||
* Call it once in your app
|
||||
*/
|
||||
export declare function injectStyle(): void;
|
||||
|
||||
|
7
web/node_modules/react-toastify/dist/inject-style.esm.js
generated
vendored
Normal file
7
web/node_modules/react-toastify/dist/inject-style.esm.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
11
web/node_modules/react-toastify/dist/inject-style.js
generated
vendored
Normal file
11
web/node_modules/react-toastify/dist/inject-style.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1306
web/node_modules/react-toastify/dist/react-toastify.cjs.development.js
generated
vendored
Normal file
1306
web/node_modules/react-toastify/dist/react-toastify.cjs.development.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
web/node_modules/react-toastify/dist/react-toastify.cjs.development.js.map
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/react-toastify.cjs.development.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2
web/node_modules/react-toastify/dist/react-toastify.cjs.production.min.js
generated
vendored
Normal file
2
web/node_modules/react-toastify/dist/react-toastify.cjs.production.min.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
web/node_modules/react-toastify/dist/react-toastify.cjs.production.min.js.map
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/react-toastify.cjs.production.min.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1290
web/node_modules/react-toastify/dist/react-toastify.esm.js
generated
vendored
Normal file
1290
web/node_modules/react-toastify/dist/react-toastify.esm.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
web/node_modules/react-toastify/dist/react-toastify.esm.js.map
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/react-toastify.esm.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
web/node_modules/react-toastify/dist/test/components/CloseButton.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/components/CloseButton.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
web/node_modules/react-toastify/dist/test/components/ProgressBar.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/components/ProgressBar.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
web/node_modules/react-toastify/dist/test/components/Toast.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/components/Toast.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
web/node_modules/react-toastify/dist/test/components/ToastContainer.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/components/ToastContainer.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
web/node_modules/react-toastify/dist/test/core/eventManager.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/core/eventManager.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
web/node_modules/react-toastify/dist/test/core/toast.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/core/toast.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
9
web/node_modules/react-toastify/dist/test/helpers.d.ts
generated
vendored
Normal file
9
web/node_modules/react-toastify/dist/test/helpers.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
export declare const cssClasses: {
|
||||
rtl: string;
|
||||
progressBar: string;
|
||||
progressBarController: string;
|
||||
closeButton: string;
|
||||
container: string;
|
||||
};
|
||||
export declare function triggerAnimationEnd(node: HTMLElement | HTMLElement[]): void;
|
||||
export declare function waitForUseEffectCleanup(fn: () => void): void;
|
1
web/node_modules/react-toastify/dist/test/utils/collapseToast.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/utils/collapseToast.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
web/node_modules/react-toastify/dist/test/utils/cssTransition.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/utils/cssTransition.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
web/node_modules/react-toastify/dist/test/utils/propValidator.test.d.ts
generated
vendored
Normal file
1
web/node_modules/react-toastify/dist/test/utils/propValidator.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
240
web/node_modules/react-toastify/dist/types/index.d.ts
generated
vendored
Normal file
240
web/node_modules/react-toastify/dist/types/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,240 @@
|
|||
import * as React from 'react';
|
||||
declare type Nullable<T> = {
|
||||
[P in keyof T]: T[P] | null;
|
||||
};
|
||||
export declare type TypeOptions = 'info' | 'success' | 'warning' | 'error' | 'default' | 'dark';
|
||||
export declare type ToastPosition = 'top-right' | 'top-center' | 'top-left' | 'bottom-right' | 'bottom-center' | 'bottom-left';
|
||||
export interface ToastContentProps {
|
||||
closeToast?: () => void;
|
||||
toastProps: ToastProps;
|
||||
}
|
||||
export declare type ToastContent = React.ReactNode | ((props: ToastContentProps) => React.ReactNode);
|
||||
export interface Toast {
|
||||
content: ToastContent;
|
||||
props: ToastProps;
|
||||
}
|
||||
export declare type Id = number | string;
|
||||
export declare type ToastTransition = React.FC<ToastTransitionProps> | React.ComponentClass<ToastTransitionProps>;
|
||||
/**
|
||||
* ClassName for the elements - can take a function to build a classname or a raw string that is cx'ed to defaults
|
||||
*/
|
||||
export declare type ClassName = ((context?: {
|
||||
defaultClassName?: string;
|
||||
position?: ToastPosition;
|
||||
rtl?: boolean;
|
||||
}) => string) | string;
|
||||
export declare type ToastClassName = ((context?: {
|
||||
type?: TypeOptions;
|
||||
defaultClassName?: string;
|
||||
position?: ToastPosition;
|
||||
rtl?: boolean;
|
||||
}) => string) | string;
|
||||
export interface ClearWaitingQueueParams {
|
||||
containerId?: Id;
|
||||
}
|
||||
export declare type DraggableDirection = 'x' | 'y';
|
||||
interface CommonOptions {
|
||||
/**
|
||||
* Pause the timer when the mouse hover the toast.
|
||||
* `Default: true`
|
||||
*/
|
||||
pauseOnHover?: boolean;
|
||||
/**
|
||||
* Pause the toast when the window loose focus.
|
||||
* `Default: true`
|
||||
*/
|
||||
pauseOnFocusLoss?: boolean;
|
||||
/**
|
||||
* Remove the toast when clicked.
|
||||
* `Default: true`
|
||||
*/
|
||||
closeOnClick?: boolean;
|
||||
/**
|
||||
* Set the delay in ms to close the toast automatically.
|
||||
* Use `false` to prevent the toast from closing.
|
||||
* `Default: 5000`
|
||||
*/
|
||||
autoClose?: number | false;
|
||||
/**
|
||||
* Set the default position to use.
|
||||
* `One of: 'top-right', 'top-center', 'top-left', 'bottom-right', 'bottom-center', 'bottom-left'`
|
||||
* `Default: 'top-right'`
|
||||
*/
|
||||
position?: ToastPosition;
|
||||
/**
|
||||
* Pass a custom close button.
|
||||
* To remove the close button pass `false`
|
||||
*/
|
||||
closeButton?: React.ReactElement | ((props: any) => React.ReactElement) | boolean;
|
||||
/**
|
||||
* An optional css class to set for the progress bar.
|
||||
*/
|
||||
progressClassName?: ToastClassName;
|
||||
/**
|
||||
* An optional style to set for the progress bar.
|
||||
*/
|
||||
progressStyle?: React.CSSProperties;
|
||||
/**
|
||||
* An optional css class to set for the toast content.
|
||||
*/
|
||||
bodyClassName?: ToastClassName;
|
||||
/**
|
||||
* An optional inline style to apply for the toast content.
|
||||
*/
|
||||
bodyStyle?: React.CSSProperties;
|
||||
/**
|
||||
* Hide or show the progress bar.
|
||||
* `Default: false`
|
||||
*/
|
||||
hideProgressBar?: boolean;
|
||||
/**
|
||||
* Pass a custom transition built with react-transition-group.
|
||||
*/
|
||||
transition?: ToastTransition;
|
||||
/**
|
||||
* Allow toast to be draggable
|
||||
* `Default: true`
|
||||
*/
|
||||
draggable?: boolean;
|
||||
/**
|
||||
* The percentage of the toast's width it takes for a drag to dismiss a toast
|
||||
* `Default: 80`
|
||||
*/
|
||||
draggablePercent?: number;
|
||||
/**
|
||||
* Specify in which direction should you swipe to dismiss the toast
|
||||
* `Default: "x"`
|
||||
*/
|
||||
draggableDirection?: DraggableDirection;
|
||||
/**
|
||||
* Define the ARIA role for the toast
|
||||
* `Default: alert`
|
||||
* https://www.w3.org/WAI/PF/aria/roles
|
||||
*/
|
||||
role?: string;
|
||||
/**
|
||||
* Set id to handle multiple container
|
||||
*/
|
||||
containerId?: Id;
|
||||
/**
|
||||
* Fired when clicking inside toaster
|
||||
*/
|
||||
onClick?: (event: React.MouseEvent) => void;
|
||||
/**
|
||||
* Support right to left display.
|
||||
* `Default: false`
|
||||
*/
|
||||
rtl?: boolean;
|
||||
}
|
||||
export interface ToastOptions extends CommonOptions {
|
||||
/**
|
||||
* An optional css class to set.
|
||||
*/
|
||||
className?: ToastClassName;
|
||||
/**
|
||||
* Called when toast is mounted.
|
||||
*/
|
||||
onOpen?: <T = {}>(props: T) => void;
|
||||
/**
|
||||
* Called when toast is unmounted.
|
||||
*/
|
||||
onClose?: <T = {}>(props: T) => void;
|
||||
/**
|
||||
* An optional inline style to apply.
|
||||
*/
|
||||
style?: React.CSSProperties;
|
||||
/**
|
||||
* Set the toast type.
|
||||
* `One of: 'info', 'success', 'warning', 'error', 'default'`
|
||||
*/
|
||||
type?: TypeOptions;
|
||||
/**
|
||||
* Set a custom `toastId`
|
||||
*/
|
||||
toastId?: Id;
|
||||
/**
|
||||
* Used during update
|
||||
*/
|
||||
updateId?: Id;
|
||||
/**
|
||||
* Set the percentage for the controlled progress bar. `Value must be between 0 and 1.`
|
||||
*/
|
||||
progress?: number | string;
|
||||
/**
|
||||
* Add a delay in ms before the toast appear.
|
||||
*/
|
||||
delay?: number;
|
||||
}
|
||||
/**
|
||||
* @INTERNAL
|
||||
*/
|
||||
export interface ToastProps extends ToastOptions {
|
||||
isIn: boolean;
|
||||
staleId?: Id;
|
||||
toastId: Id;
|
||||
key: Id;
|
||||
transition: ToastTransition;
|
||||
closeToast: () => void;
|
||||
position: ToastPosition;
|
||||
children?: ToastContent;
|
||||
draggablePercent: number;
|
||||
draggableDirection?: DraggableDirection;
|
||||
progressClassName?: ToastClassName;
|
||||
className?: ToastClassName;
|
||||
bodyClassName?: ToastClassName;
|
||||
deleteToast: () => void;
|
||||
}
|
||||
/**
|
||||
* @INTERNAL
|
||||
*/
|
||||
export interface NotValidatedToastProps extends Partial<ToastProps> {
|
||||
toastId: Id;
|
||||
}
|
||||
export interface UpdateOptions extends Nullable<ToastOptions> {
|
||||
/**
|
||||
* Used to update a toast.
|
||||
* Pass any valid ReactNode(string, number, component)
|
||||
*/
|
||||
render?: ToastContent;
|
||||
}
|
||||
export interface ToastContainerProps extends CommonOptions {
|
||||
/**
|
||||
* An optional css class to set.
|
||||
*/
|
||||
className?: ClassName;
|
||||
/**
|
||||
* Whether or not to display the newest toast on top.
|
||||
* `Default: false`
|
||||
*/
|
||||
newestOnTop?: boolean;
|
||||
/**
|
||||
* An optional inline style to apply.
|
||||
*/
|
||||
style?: React.CSSProperties;
|
||||
/**
|
||||
* An optional inline style to apply for the toast.
|
||||
*/
|
||||
toastStyle?: React.CSSProperties;
|
||||
/**
|
||||
* An optional css class for the toast.
|
||||
*/
|
||||
toastClassName?: ToastClassName;
|
||||
/**
|
||||
* Show the toast only if it includes containerId and it's the same as containerId
|
||||
* `Default: false`
|
||||
*/
|
||||
enableMultiContainer?: boolean;
|
||||
/**
|
||||
* Limit the number of toast displayed at the same time
|
||||
*/
|
||||
limit?: number;
|
||||
}
|
||||
export interface ToastTransitionProps {
|
||||
isIn: boolean;
|
||||
done: () => void;
|
||||
position: ToastPosition | string;
|
||||
preventExitTransition: boolean;
|
||||
nodeRef: React.RefObject<HTMLElement>;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
export {};
|
5
web/node_modules/react-toastify/dist/utils/collapseToast.d.ts
generated
vendored
Normal file
5
web/node_modules/react-toastify/dist/utils/collapseToast.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Default } from './constant';
|
||||
/**
|
||||
* Used to collapse toast after exit animation
|
||||
*/
|
||||
export declare function collapseToast(node: HTMLElement, done: () => void, duration?: Default): void;
|
20
web/node_modules/react-toastify/dist/utils/constant.d.ts
generated
vendored
Normal file
20
web/node_modules/react-toastify/dist/utils/constant.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
import { ToastPosition, TypeOptions } from '../types';
|
||||
declare type KeyOfPosition = 'TOP_LEFT' | 'TOP_RIGHT' | 'TOP_CENTER' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT' | 'BOTTOM_CENTER';
|
||||
declare type KeyOfType = 'INFO' | 'SUCCESS' | 'WARNING' | 'ERROR' | 'DEFAULT' | 'DARK';
|
||||
export declare const POSITION: {
|
||||
[key in KeyOfPosition]: ToastPosition;
|
||||
};
|
||||
export declare const TYPE: {
|
||||
[key in KeyOfType]: TypeOptions;
|
||||
};
|
||||
export declare const enum Default {
|
||||
COLLAPSE_DURATION = 300,
|
||||
DEBOUNCE_DURATION = 50,
|
||||
CSS_NAMESPACE = "Toastify",
|
||||
DRAGGABLE_PERCENT = 80
|
||||
}
|
||||
export declare const enum Direction {
|
||||
X = "x",
|
||||
Y = "y"
|
||||
}
|
||||
export {};
|
42
web/node_modules/react-toastify/dist/utils/cssTransition.d.ts
generated
vendored
Normal file
42
web/node_modules/react-toastify/dist/utils/cssTransition.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
import { ToastTransitionProps } from '../types';
|
||||
export interface CSSTransitionProps {
|
||||
/**
|
||||
* Css class to apply when toast enter
|
||||
*/
|
||||
enter: string;
|
||||
/**
|
||||
* Css class to apply when toast leave
|
||||
*/
|
||||
exit: string;
|
||||
/**
|
||||
* Append current toast position to the classname.
|
||||
* If multiple classes are provided, only the last one will get the position
|
||||
* For instance `myclass--top-center`...
|
||||
* `Default: false`
|
||||
*/
|
||||
appendPosition?: boolean;
|
||||
/**
|
||||
* Collapse toast smoothly when exit animation end
|
||||
* `Default: true`
|
||||
*/
|
||||
collapse?: boolean;
|
||||
/**
|
||||
* Collapse transition duration
|
||||
* `Default: 300`
|
||||
*/
|
||||
collapseDuration?: number;
|
||||
}
|
||||
/**
|
||||
* Css animation that just work.
|
||||
* You could use animate.css for instance
|
||||
*
|
||||
*
|
||||
* ```
|
||||
* cssTransition({
|
||||
* enter: "animate__animated animate__bounceIn",
|
||||
* exit: "animate__animated animate__bounceOut"
|
||||
* })
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
export declare function cssTransition({ enter, exit, appendPosition, collapse, collapseDuration }: CSSTransitionProps): ({ children, position, preventExitTransition, done, nodeRef, isIn }: ToastTransitionProps) => JSX.Element;
|
4
web/node_modules/react-toastify/dist/utils/index.d.ts
generated
vendored
Normal file
4
web/node_modules/react-toastify/dist/utils/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
export * from './propValidator';
|
||||
export * from './constant';
|
||||
export * from './cssTransition';
|
||||
export * from './collapseToast';
|
10
web/node_modules/react-toastify/dist/utils/propValidator.d.ts
generated
vendored
Normal file
10
web/node_modules/react-toastify/dist/utils/propValidator.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { Id } from '../types';
|
||||
export declare function isNum(v: any): v is Number;
|
||||
export declare function isBool(v: any): v is Boolean;
|
||||
export declare function isStr(v: any): v is String;
|
||||
export declare function isFn(v: any): v is Function;
|
||||
export declare function parseClassName(v: any): any;
|
||||
export declare function isToastIdValid(toastId?: Id): string | number | true | undefined;
|
||||
export declare function getAutoCloseDelay(toastAutoClose?: false | number, containerAutoClose?: false | number): number | false | undefined;
|
||||
export declare const canUseDom: boolean;
|
||||
export declare function canBeRendered<T>(content: T): boolean;
|
Loading…
Add table
Add a link
Reference in a new issue