atualização de pacotes
This commit is contained in:
parent
0b229b0adc
commit
b9411e9d67
6 changed files with 216 additions and 137 deletions
4
dist/AlertasFront/index.js
vendored
4
dist/AlertasFront/index.js
vendored
|
|
@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.componentesAlerta = void 0;
|
||||
const dist_1 = require("p-estaticos/dist");
|
||||
const p_estaticos_1 = require("p-estaticos");
|
||||
const p_respostas_1 = require("p-respostas");
|
||||
const react_1 = __importDefault(require("react"));
|
||||
const autoClose = 5000;
|
||||
const componentesAlerta = ({ mui_material: { Avatar, Typography }, react_toastify: { ToastContainer, Slide, toast }, }) => {
|
||||
const AlertaContainer = () => (react_1.default.createElement(ToastContainer, { position: "bottom-left", autoClose: autoClose, hideProgressBar: false, newestOnTop: false, closeOnClick: true, rtl: false, pauseOnFocusLoss: true, draggable: true, pauseOnHover: true, theme: "light", transition: Slide }));
|
||||
const aguarde = () => toast.loading(() => react_1.default.createElement(Typography, { sx: { marginLeft: 4 } }, "\"Aguarde...\""), {
|
||||
icon: () => (react_1.default.createElement(Avatar, { src: (0, dist_1.estaticos)("link-servidor").imagens["quero-quero.gif"], alt: "Carregando..." })),
|
||||
icon: () => (react_1.default.createElement(Avatar, { src: (0, p_estaticos_1.estaticos)("link-servidor").imagens["quero-quero.gif"], alt: "Carregando..." })),
|
||||
});
|
||||
const exibir = (res, id) => {
|
||||
console.table(res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue