infinity-forge 0.0.8 → 0.0.9
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/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/sites/components/brands-carousel/index.js +2 -2
- package/dist/sites/components/carousel/component.d.ts +1 -1
- package/dist/sites/components/carousel/component.js +1 -1
- package/dist/sites/components/carousel/index.d.ts +1 -1
- package/dist/sites/components/carousel/index.js +1 -1
- package/dist/sites/components/carousel/interfaces.d.ts +1 -1
- package/dist/sites/components/carousel/versions/index.d.ts +1 -1
- package/dist/sites/components/carousel/versions/index.js +1 -1
- package/dist/sites/components/carousel/versions/version-01/component-01.d.ts +1 -1
- package/dist/sites/components/carousel/versions/version-01/component-01.js +1 -1
- package/dist/sites/components/counter/component.d.ts +0 -2
- package/dist/sites/components/counter/component.js +0 -28
- package/dist/sites/components/counter/index.d.ts +0 -1
- package/dist/sites/components/counter/index.js +0 -18
- package/dist/sites/components/counter/interfaces.d.ts +0 -12
- package/dist/sites/components/counter/versions/index.d.ts +1 -1
- package/dist/sites/components/counter/versions/index.js +1 -1
- package/dist/sites/components/counter/versions/version-01/box/index.d.ts +0 -2
- package/dist/sites/components/counter/versions/version-01/box/index.js +0 -38
- package/dist/sites/components/counter/versions/version-01/component.d.ts +1 -1
- package/dist/sites/components/counter/versions/version-01/component.js +3 -3
- package/dist/sites/components/counter/versions/version-01/component.stories.d.ts +1 -1
- package/dist/sites/components/counter/versions/version-01/component.stories.js +1 -1
- package/dist/sites/components/head/component.d.ts +0 -2
- package/dist/sites/components/head/index.d.ts +0 -2
- package/dist/sites/components/head/index.js +0 -19
- package/dist/sites/components/header-link/component.d.ts +1 -1
- package/dist/sites/components/header-link/component.js +1 -1
- package/dist/sites/components/header-link/index.d.ts +1 -1
- package/dist/sites/components/header-link/index.js +1 -1
- package/dist/sites/components/header-link/interfaces.d.ts +2 -3
- package/dist/sites/components/header-link/versions/index.d.ts +1 -1
- package/dist/sites/components/header-link/versions/index.js +1 -1
- package/dist/sites/components/header-link/versions/version-01/component.js +2 -2
- package/dist/sites/components/header-link/versions/version-01/component.stories.d.ts +1 -1
- package/dist/sites/components/header-link/versions/version-01/component.stories.js +2 -2
- package/dist/sites/components/index.d.ts +6 -6
- package/dist/sites/components/index.js +6 -6
- package/dist/sites/components/mvv/component.d.ts +0 -2
- package/dist/sites/components/mvv/component.js +0 -28
- package/dist/sites/components/mvv/index.d.ts +0 -1
- package/dist/sites/components/mvv/index.js +0 -18
- package/dist/sites/components/mvv/interfaces.d.ts +0 -9
- package/dist/sites/components/mvv/versions/index.d.ts +0 -1
- package/dist/sites/components/mvv/versions/index.js +0 -18
- package/dist/sites/components/mvv/versions/version-01/component.d.ts +0 -2
- package/dist/sites/components/mvv/versions/version-01/component.js +0 -35
- package/dist/sites/context/configs/context.d.ts +0 -6
- package/dist/sites/context/configs/context.js +0 -21
- package/dist/sites/context/configs/index.d.ts +0 -2
- package/dist/sites/context/configs/index.js +0 -19
- package/dist/sites/context/configs/scripts/acept-cookies/index.js +0 -70
- package/dist/sites/context/configs/scripts/acept-ratedr/index.js +0 -68
- package/dist/sites/context/configs/scripts/component.d.ts +0 -2
- package/dist/sites/context/configs/scripts/component.js +0 -42
- package/dist/sites/context/configs/scripts/index.d.ts +0 -5
- package/dist/sites/context/configs/scripts/index.js +0 -22
- package/dist/sites/context/configs/scripts/interfaces.d.ts +0 -6
- package/dist/sites/context/configs/scripts/whatsapp-fixed/index.js +0 -38
- package/dist/sites/context/index.d.ts +0 -1
- package/dist/sites/context/index.js +0 -18
- package/dist/sites/index.d.ts +3 -3
- package/dist/sites/index.js +3 -3
- package/dist/sites/interfaces/api-data/index.d.ts +1 -1
- package/dist/sites/interfaces/api-data/index.js +1 -1
- package/dist/sites/interfaces/index.d.ts +2 -2
- package/dist/sites/interfaces/index.js +2 -2
- package/dist/system/components/data/avatar/index.js +2 -2
- package/dist/system/components/data/cards/index.d.ts +1 -1
- package/dist/system/components/data/cards/index.js +1 -1
- package/dist/system/components/data/cards/message-card/index.d.ts +1 -1
- package/dist/system/components/data/cards/message-card/index.js +3 -3
- package/dist/system/components/data/index.d.ts +9 -9
- package/dist/system/components/data/index.js +9 -9
- package/dist/system/components/data/logo/index.js +2 -2
- package/dist/system/components/data/overlay/index.d.ts +1 -1
- package/dist/system/components/data/overlay/index.js +2 -2
- package/dist/system/components/data/page-wrapper/index.d.ts +1 -1
- package/dist/system/components/data/page-wrapper/index.js +2 -2
- package/dist/system/components/data/popover/index.d.ts +1 -1
- package/dist/system/components/data/sign-in/index.js +4 -4
- package/dist/system/components/data/sign-in/index.js.map +1 -1
- package/dist/system/components/data/sign-up/index.js +4 -4
- package/dist/system/components/data/sign-up/index.js.map +1 -1
- package/dist/system/components/data/skeleton/index.d.ts +1 -1
- package/dist/system/components/data/skeleton/index.js +2 -2
- package/dist/system/components/index.d.ts +2 -2
- package/dist/system/components/index.js +2 -2
- package/dist/system/components/layout/component.js +3 -3
- package/dist/system/components/layout/header/components/index.d.ts +2 -2
- package/dist/system/components/layout/header/components/index.js +2 -2
- package/dist/system/components/layout/header/components/menu-right/index.js +6 -6
- package/dist/system/components/layout/header/components/menu-right/messages/content/index.d.ts +1 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/index.js +3 -3
- package/dist/system/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +1 -1
- package/dist/system/components/layout/header/components/menu-right/notifications/index.js +1 -1
- package/dist/system/components/layout/header/components/menu-right/profile/content/index.js +3 -3
- package/dist/system/components/layout/header/components/menu-right/profile/index.js +5 -5
- package/dist/system/components/layout/header/components/menu-right/profile/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/settings/index.js +2 -2
- package/dist/system/components/layout/header/components/search-modal/index.js +4 -4
- package/dist/system/components/layout/header/components/search-modal/search-list/index.js +3 -3
- package/dist/system/components/layout/header/components/search-modal/trigger/index.js +2 -2
- package/dist/system/components/layout/header/index.js +1 -1
- package/dist/system/components/layout/header/version-01/index.js +3 -3
- package/dist/system/components/layout/index.d.ts +3 -3
- package/dist/system/components/layout/index.js +3 -3
- package/dist/system/components/layout/menu/components/index.d.ts +2 -2
- package/dist/system/components/layout/menu/components/index.js +2 -2
- package/dist/system/components/layout/menu/components/menu/index.js +3 -3
- package/dist/system/components/layout/menu/components/select-workspace/index.js +2 -2
- package/dist/system/components/layout/menu/index.js +1 -1
- package/dist/system/components/layout/menu/version-01/index.js +3 -3
- package/dist/system/configs/index.d.ts +3 -3
- package/dist/system/configs/index.js +3 -3
- package/dist/system/hooks/index.d.ts +1 -1
- package/dist/system/hooks/index.js +1 -1
- package/dist/system/hooks/ui/index.d.ts +1 -1
- package/dist/system/hooks/ui/index.js +1 -1
- package/dist/system/hooks/ui/use-table/component.d.ts +1 -1
- package/dist/system/hooks/ui/use-table/component.js +1 -1
- package/dist/system/hooks/ui/use-table/components/active-indicator/index.js +1 -1
- package/dist/system/hooks/ui/use-table/components/index.d.ts +3 -3
- package/dist/system/hooks/ui/use-table/components/index.js +3 -3
- package/dist/system/hooks/ui/use-table/components/searchbar/active-indicator/index.js +1 -1
- package/dist/system/hooks/ui/use-table/components/searchbar/index.d.ts +1 -1
- package/dist/system/hooks/ui/use-table/components/searchbar/index.js +4 -4
- package/dist/system/hooks/ui/use-table/components/table/index.d.ts +1 -1
- package/dist/system/hooks/ui/use-table/components/table/index.js +7 -7
- package/dist/system/hooks/ui/use-table/components/table/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
- package/dist/system/hooks/ui/use-table/components/table/loader-table/index.js +1 -1
- package/dist/system/hooks/ui/use-table/components/table/thead-item/index.d.ts +1 -1
- package/dist/system/hooks/ui/use-table/components/table/thead-item/index.js +3 -3
- package/dist/system/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +1 -1
- package/dist/system/hooks/ui/use-table/index.d.ts +5 -5
- package/dist/system/hooks/ui/use-table/index.js +5 -5
- package/dist/system/hooks/ui/use-table/query/index.d.ts +2 -2
- package/dist/system/hooks/ui/use-table/query/index.js +1 -1
- package/dist/system/hooks/ui/use-table/query/interfaces.d.ts +1 -1
- package/dist/system/hooks/ui/use-table/query/service.js +1 -1
- package/dist/system/hooks/ui/use-table/utils/filter-empty-values.js +1 -1
- package/dist/system/hooks/ui/use-table/utils/index.d.ts +4 -4
- package/dist/system/hooks/ui/use-table/utils/index.js +4 -4
- package/dist/system/index.d.ts +3 -3
- package/dist/system/index.js +3 -3
- package/dist/ui/components/accordion/index..d.ts +1 -1
- package/dist/ui/components/accordion/index..js +3 -3
- package/dist/ui/components/accordion/index..js.map +1 -1
- package/dist/ui/components/accordion/interfaces.d.ts +2 -3
- package/dist/ui/components/breadcrumb/index.d.ts +0 -2
- package/dist/ui/components/breadcrumb/index.js +0 -68
- package/dist/ui/components/button/component.d.ts +0 -2
- package/dist/ui/components/button/component.js +0 -62
- package/dist/ui/components/button/index.d.ts +0 -2
- package/dist/ui/components/button/index.js +0 -19
- package/dist/ui/components/button/interfaces.d.ts +0 -10
- package/dist/ui/components/container/index.d.ts +0 -2
- package/dist/ui/components/error-boundary/component.d.ts +0 -2
- package/dist/ui/components/error-boundary/component.js +0 -12
- package/dist/ui/components/error-boundary/error-body.d.ts +0 -2
- package/dist/ui/components/error-boundary/index.d.ts +0 -2
- package/dist/ui/components/error-boundary/index.js +0 -19
- package/dist/ui/components/form/input-cpf-cnpj/index.d.ts +0 -2
- package/dist/ui/components/form/input-cpf-cnpj/index.js +0 -38
- package/dist/ui/components/form/input-password/index.d.ts +0 -2
- package/dist/ui/components/form/input-password/index.js +0 -49
- package/dist/ui/components/index.d.ts +0 -9
- package/dist/ui/components/index.js +0 -26
- package/dist/ui/components/index.js.map +1 -1
- package/dist/ui/components/loader-circle/index.d.ts +0 -2
- package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +0 -3
- package/dist/ui/components/menu-mobile/components/nav-links/index.js +0 -66
- package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +0 -5
- package/dist/ui/components/menu-mobile/index.d.ts +0 -2
- package/dist/ui/components/menu-mobile/index.js +0 -78
- package/dist/ui/components/menu-mobile/top/index.d.ts +0 -2
- package/dist/ui/components/menu-mobile/top/index.js +0 -50
- package/dist/ui/components/menu-mobile/top/interfaces.d.ts +0 -6
- package/dist/ui/components/next-image/index.d.ts +0 -2
- package/dist/ui/components/next-image/index.js +0 -41
- package/dist/ui/icons/render/Eye.d.ts +1 -1
- package/dist/ui/icons/render/Globe.d.ts +1 -1
- package/dist/ui/icons/render/LongArrowRight.d.ts +1 -1
- package/dist/ui/icons/render/index.d.ts +1 -1
- package/dist/ui/icons/render/index.js +1 -1
- package/dist/ui/index.d.ts +0 -5
- package/dist/ui/index.js +0 -22
- package/package.json +1 -1
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.AceptCookies = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var react_1 = require("react");
|
|
32
|
-
var link_1 = __importDefault(require("next/link"));
|
|
33
|
-
var router_1 = require("next/router");
|
|
34
|
-
var ui_1 = require("../../../../../ui/index.js");
|
|
35
|
-
var S = __importStar(require("./styles.js"));
|
|
36
|
-
function AceptCookies(_a) {
|
|
37
|
-
var children = _a.children;
|
|
38
|
-
var _b = (0, react_1.useState)('aceito'), acept = _b[0], setAcept = _b[1];
|
|
39
|
-
function getAcept() {
|
|
40
|
-
setAcept('aceito');
|
|
41
|
-
(0, ui_1.setCookie)('acept-cookie', 'aceito', 30);
|
|
42
|
-
}
|
|
43
|
-
function getRecuse() {
|
|
44
|
-
setAcept('recusado');
|
|
45
|
-
(0, ui_1.setCookie)('acept-cookie', 'recusado', 30);
|
|
46
|
-
}
|
|
47
|
-
var router = (0, router_1.useRouter)();
|
|
48
|
-
(0, react_1.useEffect)(function () {
|
|
49
|
-
if (process.browser) {
|
|
50
|
-
var aceptCookie = (0, ui_1.getCookie)('acept-cookie');
|
|
51
|
-
if (!aceptCookie || (aceptCookie !== 'aceito' && aceptCookie !== 'recusado')) {
|
|
52
|
-
setAcept('default');
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
if (aceptCookie === 'aceito') {
|
|
56
|
-
setAcept('aceito');
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (aceptCookie === 'recusado') {
|
|
60
|
-
setAcept('recusado');
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}, []);
|
|
65
|
-
// console.log(acept === "default" ||
|
|
66
|
-
// acept === "aceito")
|
|
67
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(acept === 'default' || acept === 'recusado') && !router.asPath.includes('politica') && ((0, jsx_runtime_1.jsxs)(S.AceptCookies, { id: 'cookies', children: [(0, jsx_runtime_1.jsx)("div", { className: 'overlay' }), (0, jsx_runtime_1.jsxs)("div", { className: 'bottom', children: [(0, jsx_runtime_1.jsxs)("p", { children: ["Utilizamos cookies para oferecer melhor experi\u00EAncia, melhorar o desempenho, analisar como voc\u00EA interage em nosso site e personalizar conte\u00FAdo. ", (0, jsx_runtime_1.jsx)(link_1.default, { href: '/politica-e-privacidade', children: "Saiba mais." })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'actions-cookie', children: [acept !== 'recusado' && ((0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'recusar', onClick: getRecuse, children: "Recusar Cookies" })), (0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'aceitar', onClick: getAcept, children: "Aceitar Cookies" })] })] })] })), (acept === 'default' || acept === 'aceito' || router.asPath.includes('politica')) && (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children })] }));
|
|
68
|
-
}
|
|
69
|
-
exports.AceptCookies = AceptCookies;
|
|
70
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.AceptRatedr = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var react_1 = require("react");
|
|
32
|
-
var link_1 = __importDefault(require("next/link"));
|
|
33
|
-
var router_1 = require("next/router");
|
|
34
|
-
var ui_1 = require("../../../../../ui/index.js");
|
|
35
|
-
var S = __importStar(require("./styles.js"));
|
|
36
|
-
function AceptRatedr(_a) {
|
|
37
|
-
var children = _a.children;
|
|
38
|
-
var _b = (0, react_1.useState)('aceito'), acept = _b[0], setAcept = _b[1];
|
|
39
|
-
var router = (0, router_1.useRouter)();
|
|
40
|
-
function getAcept() {
|
|
41
|
-
setAcept('aceito');
|
|
42
|
-
(0, ui_1.setCookie)('acept-ratedr', 'aceito', 30);
|
|
43
|
-
}
|
|
44
|
-
function getRecuse() {
|
|
45
|
-
setAcept('recusado');
|
|
46
|
-
(0, ui_1.setCookie)('acept-ratedr', 'recusado', 30);
|
|
47
|
-
}
|
|
48
|
-
(0, react_1.useEffect)(function () {
|
|
49
|
-
if (process.browser) {
|
|
50
|
-
var aceptRatedr = (0, ui_1.getCookie)('acept-ratedr');
|
|
51
|
-
if (!aceptRatedr || (aceptRatedr !== 'aceito' && aceptRatedr !== 'recusado')) {
|
|
52
|
-
setAcept('default');
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
if (aceptRatedr === 'aceito') {
|
|
56
|
-
setAcept('aceito');
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (aceptRatedr === 'recusado') {
|
|
60
|
-
setAcept('recusado');
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}, []);
|
|
65
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(acept === 'default' || acept === 'recusado') && !router.asPath.includes('politica') && ((0, jsx_runtime_1.jsxs)(S.AceptCookies, { id: 'cookies', children: [(0, jsx_runtime_1.jsx)("div", { className: 'overlay' }), (0, jsx_runtime_1.jsxs)("div", { className: 'bottom', children: [(0, jsx_runtime_1.jsxs)("p", { children: ["Aviso: Conte\u00FAdo restrito para maiores de 18 anos. ", (0, jsx_runtime_1.jsx)(link_1.default, { href: '/politica-e-privacidade', children: "Saiba mais." })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'actions-cookie', children: [acept !== 'recusado' && ((0, jsx_runtime_1.jsx)("button", { className: 'recusar', onClick: getRecuse, children: "Recusar" })), (0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'aceitar', onClick: getAcept, children: "Aceitar que sou maior de 18 anos e entrar" })] })] })] })), (acept === 'default' || acept === 'aceito' || router.asPath.includes('politica')) && (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children })] }));
|
|
66
|
-
}
|
|
67
|
-
exports.AceptRatedr = AceptRatedr;
|
|
68
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Scripts = void 0;
|
|
7
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
var react_1 = require("react");
|
|
9
|
-
var head_1 = __importDefault(require("next/head"));
|
|
10
|
-
var script_1 = __importDefault(require("next/script"));
|
|
11
|
-
var router_1 = require("next/router");
|
|
12
|
-
var react_ga_1 = require("react-ga");
|
|
13
|
-
var ui_1 = require("../../../../ui/index.js");
|
|
14
|
-
var acept_ratedr_1 = require("./acept-ratedr/index.js");
|
|
15
|
-
var acept_cookies_1 = require("./acept-cookies/index.js");
|
|
16
|
-
var whatsapp_fixed_1 = require("./whatsapp-fixed/index.js");
|
|
17
|
-
function Scripts(_a) {
|
|
18
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
|
19
|
-
var children = _a.children, informations = _a.informations;
|
|
20
|
-
var router = (0, router_1.useRouter)();
|
|
21
|
-
(0, react_1.useEffect)(function () {
|
|
22
|
-
var _a, _b;
|
|
23
|
-
if (process.browser && ((_a = informations === null || informations === void 0 ? void 0 : informations.google) === null || _a === void 0 ? void 0 : _a.ua)) {
|
|
24
|
-
var handleRouteChange_1 = function () {
|
|
25
|
-
(0, ui_1.pageview)(router.asPath);
|
|
26
|
-
};
|
|
27
|
-
(0, react_ga_1.initialize)((_b = informations === null || informations === void 0 ? void 0 : informations.google) === null || _b === void 0 ? void 0 : _b.ua);
|
|
28
|
-
(0, react_ga_1.pageview)(router === null || router === void 0 ? void 0 : router.asPath);
|
|
29
|
-
router.events.on('routeChangeComplete', handleRouteChange_1);
|
|
30
|
-
return function () {
|
|
31
|
-
router.events.off('routeChangeComplete', handleRouteChange_1);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
}, [router.events, router.pathname, router.asPath, (_b = informations === null || informations === void 0 ? void 0 : informations.google) === null || _b === void 0 ? void 0 : _b.ua]);
|
|
35
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(head_1.default, { children: [((_c = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _c === void 0 ? void 0 : _c.facebookDomainVerification) && ((0, jsx_runtime_1.jsx)("meta", { name: 'facebook-domain-verification', content: (_d = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _d === void 0 ? void 0 : _d.facebookDomainVerification })), (0, jsx_runtime_1.jsx)("link", { rel: 'preconnect', href: 'https://www.google-analytics.com' }), (0, jsx_runtime_1.jsx)("link", { rel: 'dns-prefetch', href: 'https://www.google-analytics.com' }), ((_e = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _e === void 0 ? void 0 : _e.pixelFacebook) && ((0, jsx_runtime_1.jsx)("script", { id: 'fb-pixel', dangerouslySetInnerHTML: {
|
|
36
|
-
__html: "\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', ".concat((_f = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _f === void 0 ? void 0 : _f.pixelFacebook, ");\n fbq('track', 'PageView');\n "),
|
|
37
|
-
} })), ((_g = informations === null || informations === void 0 ? void 0 : informations.google) === null || _g === void 0 ? void 0 : _g.gtm) && ((0, jsx_runtime_1.jsx)("script", { dangerouslySetInnerHTML: {
|
|
38
|
-
__html: "\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat((_h = informations === null || informations === void 0 ? void 0 : informations.google) === null || _h === void 0 ? void 0 : _h.gtm, "');\n "),
|
|
39
|
-
} }))] }), ((_j = informations === null || informations === void 0 ? void 0 : informations.google) === null || _j === void 0 ? void 0 : _j.gtm) && ((0, jsx_runtime_1.jsx)("noscript", { children: (0, jsx_runtime_1.jsx)("iframe", { src: "https://www.googletagmanager.com/ns.html?id=".concat((_k = informations === null || informations === void 0 ? void 0 : informations.google) === null || _k === void 0 ? void 0 : _k.gtm), height: '0', width: '0', style: { display: 'none', visibility: 'hidden' } }) })), ((_l = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _l === void 0 ? void 0 : _l.propertyId) && ((_m = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _m === void 0 ? void 0 : _m.widgetId) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://embed.tawk.to/".concat((_o = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _o === void 0 ? void 0 : _o.propertyId, "/").concat((_p = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _p === void 0 ? void 0 : _p.widgetId) })), ((_q = informations === null || informations === void 0 ? void 0 : informations.redesSociais) === null || _q === void 0 ? void 0 : _q.whatsappfixo) && ((_r = informations === null || informations === void 0 ? void 0 : informations.redesSociais) === null || _r === void 0 ? void 0 : _r.whatsapp) && ((0, jsx_runtime_1.jsx)(whatsapp_fixed_1.Whatsappfixed, { href: informations === null || informations === void 0 ? void 0 : informations.redesSociais.whatsapp })), (informations === null || informations === void 0 ? void 0 : informations.ratedR) ? ((0, jsx_runtime_1.jsx)(acept_ratedr_1.AceptRatedr, { children: (informations === null || informations === void 0 ? void 0 : informations.enableCookieVerification) ? (0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children }) : children })) : (informations === null || informations === void 0 ? void 0 : informations.enableCookieVerification) ? ((0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children })) : (children), process.browser && ((_s = informations === null || informations === void 0 ? void 0 : informations.google) === null || _s === void 0 ? void 0 : _s.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://www.googletagmanager.com/gtag/js?id=".concat((_t = informations === null || informations === void 0 ? void 0 : informations.google) === null || _t === void 0 ? void 0 : _t.aw), type: 'text/javascript', strategy: 'afterInteractive' })), process.browser && ((_u = informations === null || informations === void 0 ? void 0 : informations.google) === null || _u === void 0 ? void 0 : _u.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { id: 'google-analytics', children: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n \n gtag('js', new Date());\n gtag('config', '".concat((_v = informations === null || informations === void 0 ? void 0 : informations.google) === null || _v === void 0 ? void 0 : _v.aw, "');\n ") })), ((_w = informations === null || informations === void 0 ? void 0 : informations.rdStation) === null || _w === void 0 ? void 0 : _w.habilitarRD) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [process.browser && (informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation1) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation1 })), process.browser && (informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation2) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation2 }))] }))] }));
|
|
40
|
-
}
|
|
41
|
-
exports.Scripts = Scripts;
|
|
42
|
-
//# sourceMappingURL=component.js.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./component.js"), exports);
|
|
18
|
-
__exportStar(require("./interfaces.js"), exports);
|
|
19
|
-
__exportStar(require("./acept-ratedr/index.js"), exports);
|
|
20
|
-
__exportStar(require("./acept-cookies/index.js"), exports);
|
|
21
|
-
__exportStar(require("./whatsapp-fixed/index.js"), exports);
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Whatsappfixed = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var link_1 = __importDefault(require("next/link"));
|
|
32
|
-
var S = __importStar(require("./styles.js"));
|
|
33
|
-
function Whatsappfixed(_a) {
|
|
34
|
-
var href = _a.href;
|
|
35
|
-
return ((0, jsx_runtime_1.jsx)(S.Whattsapp, { children: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'whattsapp', href: href, rel: 'external', target: '_blank', children: (0, jsx_runtime_1.jsx)("svg", { fill: '#fff', xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24', width: '40px', height: '40px', "aria-label": '\u00EDcone do whattsapp', children: (0, jsx_runtime_1.jsx)("path", { d: 'M 12.011719 2 C 6.5057187 2 2.0234844 6.478375 2.0214844 11.984375 C 2.0204844 13.744375 2.4814687 15.462563 3.3554688 16.976562 L 2 22 L 7.2324219 20.763672 C 8.6914219 21.559672 10.333859 21.977516 12.005859 21.978516 L 12.009766 21.978516 C 17.514766 21.978516 21.995047 17.499141 21.998047 11.994141 C 22.000047 9.3251406 20.962172 6.8157344 19.076172 4.9277344 C 17.190172 3.0407344 14.683719 2.001 12.011719 2 z M 12.009766 4 C 14.145766 4.001 16.153109 4.8337969 17.662109 6.3417969 C 19.171109 7.8517969 20.000047 9.8581875 19.998047 11.992188 C 19.996047 16.396187 16.413812 19.978516 12.007812 19.978516 C 10.674812 19.977516 9.3544062 19.642812 8.1914062 19.007812 L 7.5175781 18.640625 L 6.7734375 18.816406 L 4.8046875 19.28125 L 5.2851562 17.496094 L 5.5019531 16.695312 L 5.0878906 15.976562 C 4.3898906 14.768562 4.0204844 13.387375 4.0214844 11.984375 C 4.0234844 7.582375 7.6067656 4 12.009766 4 z M 8.4765625 7.375 C 8.3095625 7.375 8.0395469 7.4375 7.8105469 7.6875 C 7.5815469 7.9365 6.9355469 8.5395781 6.9355469 9.7675781 C 6.9355469 10.995578 7.8300781 12.182609 7.9550781 12.349609 C 8.0790781 12.515609 9.68175 15.115234 12.21875 16.115234 C 14.32675 16.946234 14.754891 16.782234 15.212891 16.740234 C 15.670891 16.699234 16.690438 16.137687 16.898438 15.554688 C 17.106437 14.971687 17.106922 14.470187 17.044922 14.367188 C 16.982922 14.263188 16.816406 14.201172 16.566406 14.076172 C 16.317406 13.951172 15.090328 13.348625 14.861328 13.265625 C 14.632328 13.182625 14.464828 13.140625 14.298828 13.390625 C 14.132828 13.640625 13.655766 14.201187 13.509766 14.367188 C 13.363766 14.534188 13.21875 14.556641 12.96875 14.431641 C 12.71875 14.305641 11.914938 14.041406 10.960938 13.191406 C 10.218937 12.530406 9.7182656 11.714844 9.5722656 11.464844 C 9.4272656 11.215844 9.5585938 11.079078 9.6835938 10.955078 C 9.7955938 10.843078 9.9316406 10.663578 10.056641 10.517578 C 10.180641 10.371578 10.223641 10.267562 10.306641 10.101562 C 10.389641 9.9355625 10.347156 9.7890625 10.285156 9.6640625 C 10.223156 9.5390625 9.737625 8.3065 9.515625 7.8125 C 9.328625 7.3975 9.131125 7.3878594 8.953125 7.3808594 C 8.808125 7.3748594 8.6425625 7.375 8.4765625 7.375 z' }) }) }) }));
|
|
36
|
-
}
|
|
37
|
-
exports.Whatsappfixed = Whatsappfixed;
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./configs/index.js";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./configs/index.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
package/dist/sites/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./api
|
|
2
|
-
export * from "./context
|
|
3
|
-
export * from "./components
|
|
1
|
+
export * from "./api";
|
|
2
|
+
export * from "./context";
|
|
3
|
+
export * from "./components";
|
package/dist/sites/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api
|
|
18
|
-
__exportStar(require("./context
|
|
19
|
-
__exportStar(require("./components
|
|
17
|
+
__exportStar(require("./api"), exports);
|
|
18
|
+
__exportStar(require("./context"), exports);
|
|
19
|
+
__exportStar(require("./components"), exports);
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './messages
|
|
1
|
+
export * from './messages';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./messages
|
|
17
|
+
__exportStar(require("./messages"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './generic
|
|
2
|
-
export * from './api-data
|
|
1
|
+
export * from './generic';
|
|
2
|
+
export * from './api-data';
|
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./generic
|
|
18
|
-
__exportStar(require("./api-data
|
|
17
|
+
__exportStar(require("./generic"), exports);
|
|
18
|
+
__exportStar(require("./api-data"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -47,8 +47,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
48
|
exports.Avatar = void 0;
|
|
49
49
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
50
|
-
var ui_1 = require("
|
|
51
|
-
var S = __importStar(require("./styles
|
|
50
|
+
var ui_1 = require("@/ui");
|
|
51
|
+
var S = __importStar(require("./styles"));
|
|
52
52
|
function Avatar(_a) {
|
|
53
53
|
var image = _a.image, className = _a.className, rest = __rest(_a, ["image", "className"]);
|
|
54
54
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Avatar', children: (0, jsx_runtime_1.jsx)(S.Avatar, __assign({ className: "avatar ".concat(className ? className : ''), type: 'button' }, rest, { children: (0, jsx_runtime_1.jsx)("img", { src: image, alt: 'avatar' }) })) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './message-card
|
|
1
|
+
export * from './message-card';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./message-card
|
|
17
|
+
__exportStar(require("./message-card"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IMessage } from '
|
|
1
|
+
import { IMessage } from '@/sites/interfaces';
|
|
2
2
|
export declare function MessageCard({ avatar, message, name, sendTime, unRead }: IMessage): import("react/jsx-runtime").JSX.Element;
|
|
@@ -26,9 +26,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.MessageCard = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
var semantic_ui_react_1 = require("semantic-ui-react");
|
|
29
|
-
var ui_1 = require("
|
|
30
|
-
var avatar_1 = require("../../avatar
|
|
31
|
-
var S = __importStar(require("./styles
|
|
29
|
+
var ui_1 = require("@/ui");
|
|
30
|
+
var avatar_1 = require("../../avatar");
|
|
31
|
+
var S = __importStar(require("./styles"));
|
|
32
32
|
function MessageCard(_a) {
|
|
33
33
|
var avatar = _a.avatar, message = _a.message, name = _a.name, sendTime = _a.sendTime, unRead = _a.unRead;
|
|
34
34
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'MessageCard', children: (0, jsx_runtime_1.jsxs)(S.MessageCard, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'avatar-box', children: [avatar.length > 0 && (0, jsx_runtime_1.jsx)(avatar_1.Avatar, { image: avatar[0], className: avatar.length > 1 && 'first' }), avatar.length > 1 && (0, jsx_runtime_1.jsx)(avatar_1.Avatar, { image: avatar[1], className: avatar.length > 1 && 'second' })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'content-box', children: [(0, jsx_runtime_1.jsx)("p", { className: 'name font-14-bold', children: name }), (0, jsx_runtime_1.jsxs)("div", { className: 'message-box', children: [(0, jsx_runtime_1.jsx)("p", { className: 'message font-12-regular', children: message }), unRead ? ((0, jsx_runtime_1.jsx)("div", { className: 'status blue' })) : ((0, jsx_runtime_1.jsx)("span", { className: 'status', children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Icon, { name: 'check circle outline' }) }))] })] })] }) }));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './logo
|
|
2
|
-
export * from './cards
|
|
3
|
-
export * from './avatar
|
|
4
|
-
export * from './overlay
|
|
5
|
-
export * from './sign-up
|
|
6
|
-
export * from './sign-in
|
|
7
|
-
export * from './popover
|
|
8
|
-
export * from './skeleton
|
|
9
|
-
export * from './page-wrapper
|
|
1
|
+
export * from './logo';
|
|
2
|
+
export * from './cards';
|
|
3
|
+
export * from './avatar';
|
|
4
|
+
export * from './overlay';
|
|
5
|
+
export * from './sign-up';
|
|
6
|
+
export * from './sign-in';
|
|
7
|
+
export * from './popover';
|
|
8
|
+
export * from './skeleton';
|
|
9
|
+
export * from './page-wrapper';
|
|
@@ -14,13 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./logo
|
|
18
|
-
__exportStar(require("./cards
|
|
19
|
-
__exportStar(require("./avatar
|
|
20
|
-
__exportStar(require("./overlay
|
|
21
|
-
__exportStar(require("./sign-up
|
|
22
|
-
__exportStar(require("./sign-in
|
|
23
|
-
__exportStar(require("./popover
|
|
24
|
-
__exportStar(require("./skeleton
|
|
25
|
-
__exportStar(require("./page-wrapper
|
|
17
|
+
__exportStar(require("./logo"), exports);
|
|
18
|
+
__exportStar(require("./cards"), exports);
|
|
19
|
+
__exportStar(require("./avatar"), exports);
|
|
20
|
+
__exportStar(require("./overlay"), exports);
|
|
21
|
+
__exportStar(require("./sign-up"), exports);
|
|
22
|
+
__exportStar(require("./sign-in"), exports);
|
|
23
|
+
__exportStar(require("./popover"), exports);
|
|
24
|
+
__exportStar(require("./skeleton"), exports);
|
|
25
|
+
__exportStar(require("./page-wrapper"), exports);
|
|
26
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.Logo = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("
|
|
29
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("@/ui");
|
|
29
|
+
var S = __importStar(require("./styles"));
|
|
30
30
|
function Logo() {
|
|
31
31
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Logo', children: (0, jsx_runtime_1.jsx)(S.Logo, { children: (0, jsx_runtime_1.jsx)("a", { href: '/', children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: 'http://www.w3.org/2000/svg', fill: 'none', viewBox: '0 0 155 28', children: [(0, jsx_runtime_1.jsx)("rect", { width: '10.16', height: '19.93', fill: 'currentColor', rx: '5.08', transform: 'rotate(29.49 -5.18 20.77) skewX(.85)' }), (0, jsx_runtime_1.jsx)("rect", { width: '10.16', height: '25.62', fill: 'currentColor', rx: '5.08', transform: 'matrix(.87 .492 -.48 .878 27.17 0)' }), (0, jsx_runtime_1.jsx)("rect", { width: '10.16', height: '10.25', fill: 'currentColor', opacity: '.5', rx: '5.08', transform: 'rotate(29.49 -8.24 75.34) skewX(.85)' }), (0, jsx_runtime_1.jsx)("path", { fill: 'currentColor', d: 'M58.94 21.4h-2.66v-9.83h2.66v9.84ZM55.96 8.36c0-.46.16-.84.48-1.16.32-.34.7-.5 1.16-.5.45 0 .84.16 1.16.48.32.32.48.71.48 1.18 0 .44-.16.82-.48 1.14-.32.32-.7.48-1.16.48-.45 0-.84-.16-1.16-.48-.32-.32-.48-.7-.48-1.14Zm4.49 10.32 2.28-.5c.02.42.2.78.5 1.08.32.28.75.42 1.3.42.41 0 .73-.1.96-.28a.87.87 0 0 0 .34-.7c0-.5-.36-.82-1.06-.96l-1.3-.3a3.78 3.78 0 0 1-2.08-1.08 2.96 2.96 0 0 1 .36-4.14c.7-.63 1.58-.94 2.64-.94.66 0 1.25.1 1.76.3.5.18.9.43 1.18.74.28.29.5.59.64.9.14.3.24.6.28.9l-2.22.5a1.63 1.63 0 0 0-.48-.92c-.26-.27-.64-.4-1.14-.4-.35 0-.65.1-.9.28a.85.85 0 0 0-.36.7c0 .48.3.77.9.88l1.4.3c.94.2 1.66.56 2.16 1.1.5.53.76 1.17.76 1.92 0 .88-.34 1.64-1 2.28a3.9 3.9 0 0 1-2.82.96c-.7 0-1.32-.1-1.86-.3a3.51 3.51 0 0 1-1.28-.8c-.3-.34-.52-.66-.68-.98a3.52 3.52 0 0 1-.28-.96Zm12.16-.12c.5.5 1.08.74 1.78.74s1.28-.25 1.76-.74c.5-.5.74-1.18.74-2.06 0-.88-.25-1.57-.74-2.06a2.36 2.36 0 0 0-1.76-.74c-.7 0-1.29.24-1.78.74-.48.5-.72 1.18-.72 2.06 0 .88.24 1.56.72 2.06Zm-1.92-5.8a5.02 5.02 0 0 1 3.7-1.48 5.07 5.07 0 0 1 5.16 5.22 5.07 5.07 0 0 1-5.16 5.22 5.02 5.02 0 0 1-5.16-5.22c0-1.5.48-2.76 1.46-3.74ZM83.8 21.4h-2.66v-9.84h2.54v1.2c.25-.46.65-.82 1.2-1.08a3.8 3.8 0 0 1 1.68-.4c1.42 0 2.4.54 2.92 1.64a3.48 3.48 0 0 1 3.12-1.64c1 0 1.84.31 2.52.94.7.62 1.04 1.56 1.04 2.8v6.38h-2.58v-5.84c0-.56-.15-1.01-.44-1.34-.28-.35-.72-.52-1.3-.52-.55 0-.99.18-1.32.56a2 2 0 0 0-.5 1.38v5.76h-2.64v-5.84c0-.56-.15-1.01-.44-1.34-.3-.35-.73-.52-1.3-.52-.56 0-1.01.18-1.34.56-.34.36-.5.82-.5 1.38v5.76Zm17.2-2.86c.48.5 1.08.74 1.77.74.7 0 1.28-.25 1.76-.74.5-.5.74-1.18.74-2.06 0-.88-.25-1.57-.74-2.06a2.36 2.36 0 0 0-1.76-.74c-.7 0-1.28.24-1.78.74-.48.5-.72 1.18-.72 2.06 0 .88.24 1.56.72 2.06Zm-1.93-5.8a5.02 5.02 0 0 1 3.7-1.48 5.07 5.07 0 0 1 5.16 5.22 5.07 5.07 0 0 1-5.16 5.22 5.02 5.02 0 0 1-5.16-5.22c0-1.5.49-2.76 1.46-3.74Zm16.46-1.22v2.68a4.08 4.08 0 0 0-.8-.08c-.76 0-1.37.22-1.84.66-.47.42-.7 1.13-.7 2.12v4.5h-2.66v-9.84h2.58v1.46c.48-1.03 1.41-1.54 2.8-1.54.15 0 .36.01.62.04Zm4.03 13.68h-2.66V11.57h2.58v1.2c.24-.4.63-.74 1.16-1a3.94 3.94 0 0 1 1.86-.42c1.4 0 2.5.48 3.32 1.44a5.45 5.45 0 0 1 1.22 3.68c0 1.5-.43 2.74-1.3 3.72a4.23 4.23 0 0 1-3.34 1.46c-1.3 0-2.25-.4-2.84-1.2v4.76Zm4.16-6.68c.47-.51.7-1.19.7-2.04 0-.86-.23-1.53-.7-2.02a2.26 2.26 0 0 0-1.74-.74c-.7 0-1.3.25-1.76.76-.46.49-.7 1.16-.7 2 0 .84.24 1.51.7 2.02.47.5 1.06.76 1.76.76s1.29-.25 1.74-.74Zm7.59-2.9v5.78h-2.66V6.93h2.66v5.46c.6-.72 1.49-1.08 2.66-1.08 1.2 0 2.1.36 2.72 1.1.63.72.94 1.65.94 2.8v6.2h-2.66v-5.74c0-.59-.15-1.06-.46-1.42-.3-.36-.75-.54-1.36-.54-.55 0-.99.18-1.32.54-.32.36-.5.82-.52 1.38Zm11.18 5.78h-2.66v-9.84h2.66v9.84Zm-2.98-13.06c0-.46.16-.84.48-1.16.32-.34.7-.5 1.16-.5.45 0 .84.16 1.16.48.32.32.48.71.48 1.18 0 .44-.16.82-.48 1.14-.32.32-.7.48-1.16.48-.45 0-.84-.16-1.16-.48-.32-.32-.48-.7-.48-1.14Zm9.75 5.38c-.71 0-1.3.24-1.78.74-.48.49-.72 1.16-.72 2.02 0 .85.24 1.53.72 2.04.49.49 1.09.74 1.8.74.62 0 1.12-.16 1.5-.48.37-.34.62-.73.76-1.18l2.34.78c-.24.9-.76 1.68-1.56 2.34-.8.65-1.82.98-3.04.98a5.06 5.06 0 0 1-5.18-5.22c0-1.5.48-2.76 1.46-3.74a4.95 4.95 0 0 1 3.64-1.48c1.25 0 2.28.32 3.08.98.8.64 1.31 1.42 1.54 2.34l-2.38.8c-.32-1.11-1.05-1.66-2.18-1.66Z' })] }) }) }) }));
|
|
32
32
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IOverlay } from './interfaces
|
|
1
|
+
import { IOverlay } from './interfaces';
|
|
2
2
|
export declare function Overlay({ children, state, dispatch }: IOverlay): import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.Overlay = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("
|
|
29
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("@/ui");
|
|
29
|
+
var S = __importStar(require("./styles"));
|
|
30
30
|
function Overlay(_a) {
|
|
31
31
|
var children = _a.children, state = _a.state, dispatch = _a.dispatch;
|
|
32
32
|
return ((0, jsx_runtime_1.jsxs)(ui_1.Error, { name: 'overlay-component', children: [(0, jsx_runtime_1.jsx)(S.Overlay, { "$state": state, onClick: function () { return dispatch(false); } }), (0, jsx_runtime_1.jsx)(S.ElementOutSideOverlay, { "$state": state, children: children })] }));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IPageWrapper } from './interfaces
|
|
1
|
+
import { IPageWrapper } from './interfaces';
|
|
2
2
|
export declare function PageWrapper({ title, children }: IPageWrapper): import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.PageWrapper = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("
|
|
29
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("@/ui");
|
|
29
|
+
var S = __importStar(require("./styles"));
|
|
30
30
|
function PageWrapper(_a) {
|
|
31
31
|
var title = _a.title, children = _a.children;
|
|
32
32
|
return ((0, jsx_runtime_1.jsxs)(S.PageWrapper, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'header', children: [(0, jsx_runtime_1.jsx)("h1", { className: 'font-24-bold-lexend', children: title }), (0, jsx_runtime_1.jsx)(ui_1.Breadcrumb, {})] }), children] }));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IPopoverStateProps } from './interfaces
|
|
1
|
+
import { IPopoverStateProps } from './interfaces';
|
|
2
2
|
export declare function Popover({ title, children, forceClose }: IPopoverStateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,12 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SignIn = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("
|
|
29
|
-
var
|
|
30
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("@/ui");
|
|
29
|
+
var ui_2 = require("@/ui");
|
|
30
|
+
var S = __importStar(require("./styles"));
|
|
31
31
|
function SignIn() {
|
|
32
32
|
function hanldeLogin() { }
|
|
33
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'login', children: (0, jsx_runtime_1.jsxs)(S.SignIn, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'title', children: (0, jsx_runtime_1.jsxs)("h1", { className: 'font-36-bold', children: ["Bem Vindo! ", (0, jsx_runtime_1.jsx)("br", {}), "Entre com suas credenciais"] }) }), (0, jsx_runtime_1.jsxs)(
|
|
33
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'login', children: (0, jsx_runtime_1.jsxs)(S.SignIn, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'title', children: (0, jsx_runtime_1.jsxs)("h1", { className: 'font-36-bold', children: ["Bem Vindo! ", (0, jsx_runtime_1.jsx)("br", {}), "Entre com suas credenciais"] }) }), (0, jsx_runtime_1.jsxs)(ui_2.Form, { button: { text: 'Entrar' }, onSucess: hanldeLogin, children: [(0, jsx_runtime_1.jsx)(ui_2.Input, { type: 'email', label: 'Email', name: 'email', placeholder: 'clienteCodie@digital.com' }), (0, jsx_runtime_1.jsx)(ui_2.InputPassword, { label: 'Senha', name: 'password', placeholder: '123456' })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'create-account', children: [(0, jsx_runtime_1.jsx)("span", { className: 'font-16-regular', children: "N\u00E3o tem uma conta?" }), (0, jsx_runtime_1.jsx)("a", { className: 'font-16-bold', href: '/sign-up', children: "Criar Conta" })] })] }) }));
|
|
34
34
|
}
|
|
35
35
|
exports.SignIn = SignIn;
|
|
36
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/components/data/sign-in/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/components/data/sign-in/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,2BAAiD;AAEjD,0CAA6B;AAE7B,SAAgB,MAAM;IACpB,SAAS,WAAW,KAAI,CAAC;IAEzB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,YACjB,wBAAC,CAAC,CAAC,MAAM,eACP,gCAAK,SAAS,EAAC,OAAO,YACpB,gCAAI,SAAS,EAAC,cAAc,4BACf,gCAAM,kCAEd,GACD,EAEN,wBAAC,SAAI,IAAC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,WAAW,aACrD,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,0BAA0B,GAAG,EAExF,uBAAC,kBAAa,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,UAAU,EAAC,WAAW,EAAC,QAAQ,GAAG,IAO/D,EAEP,iCAAK,SAAS,EAAC,gBAAgB,aAC7B,iCAAM,SAAS,EAAC,iBAAiB,wCAA0B,EAC3D,8BAAG,SAAS,EAAC,cAAc,EAAC,IAAI,EAAC,UAAU,4BAEvC,IACA,IACG,GACL,CACT,CAAA;AACH,CAAC;AAlCD,wBAkCC"}
|
|
@@ -25,12 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SignUp = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("
|
|
29
|
-
var
|
|
30
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("@/ui");
|
|
29
|
+
var ui_2 = require("@/ui");
|
|
30
|
+
var S = __importStar(require("./styles"));
|
|
31
31
|
function SignUp() {
|
|
32
32
|
function hanldeLogin() { }
|
|
33
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'SignUp', children: (0, jsx_runtime_1.jsxs)(S.SignUp, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'title', children: (0, jsx_runtime_1.jsxs)("h1", { className: 'font-36-bold', children: ["Junte-se a nos! Tenha benef\u00EDcios especiais e permaneca atualizado. ", (0, jsx_runtime_1.jsx)("br", {}), "Entre com suas credenciais"] }) }), (0, jsx_runtime_1.jsxs)(
|
|
33
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'SignUp', children: (0, jsx_runtime_1.jsxs)(S.SignUp, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'title', children: (0, jsx_runtime_1.jsxs)("h1", { className: 'font-36-bold', children: ["Junte-se a nos! Tenha benef\u00EDcios especiais e permaneca atualizado. ", (0, jsx_runtime_1.jsx)("br", {}), "Entre com suas credenciais"] }) }), (0, jsx_runtime_1.jsxs)(ui_2.Form, { button: { text: 'Entrar' }, onSucess: hanldeLogin, children: [(0, jsx_runtime_1.jsx)(ui_2.Input, { type: 'email', label: 'Email', name: 'email', placeholder: 'clienteCodie@digital.com' }), (0, jsx_runtime_1.jsx)(ui_2.InputPassword, { label: 'Senha', name: 'password', placeholder: '123456' }), (0, jsx_runtime_1.jsx)("div", { className: 'actions-box' })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'create-account', children: [(0, jsx_runtime_1.jsx)("span", { className: 'font-16-regular', children: "N\u00E3o tem uma conta?" }), (0, jsx_runtime_1.jsx)("a", { className: 'font-16-bold', href: '/singup', children: "Criar Conta" })] })] }) }));
|
|
34
34
|
}
|
|
35
35
|
exports.SignUp = SignUp;
|
|
36
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/components/data/sign-up/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/components/data/sign-up/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,2BAAgE;AAEhE,0CAA6B;AAE7B,SAAgB,MAAM;IACpB,SAAS,WAAW,KAAI,CAAC;IAEzB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,QAAQ,YAClB,wBAAC,CAAC,CAAC,MAAM,eACP,gCAAK,SAAS,EAAC,OAAO,YACpB,gCAAI,SAAS,EAAC,cAAc,yFACyC,gCAAM,kCAEtE,GACD,EAEN,wBAAC,SAAI,IAAC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,WAAW,aACrD,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,0BAA0B,GAAG,EAExF,uBAAC,kBAAa,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,UAAU,EAAC,WAAW,EAAC,QAAQ,GAAG,EAEpE,gCAAK,SAAS,EAAC,aAAa,GAEtB,IACD,EAEP,iCAAK,SAAS,EAAC,gBAAgB,aAC7B,iCAAM,SAAS,EAAC,iBAAiB,wCAA0B,EAC3D,8BAAG,SAAS,EAAC,cAAc,EAAC,IAAI,EAAC,SAAS,4BAEtC,IACA,IACG,GACL,CACT,CAAA;AACH,CAAC;AAhCD,wBAgCC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ISkeletonProps } from './interfaces
|
|
1
|
+
import { ISkeletonProps } from './interfaces';
|
|
2
2
|
export declare function Skeleton({ type, spacing }: ISkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.Skeleton = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("
|
|
29
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("@/ui");
|
|
29
|
+
var S = __importStar(require("./styles"));
|
|
30
30
|
function Skeleton(_a) {
|
|
31
31
|
var type = _a.type, _b = _a.spacing, spacing = _b === void 0 ? 1 : _b;
|
|
32
32
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'skeleton', children: (0, jsx_runtime_1.jsx)(S.SkeletonCustom, { "data-testid": 'skeleton', children: "Novos skeletons" }) }));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./data
|
|
2
|
-
export * from "./layout
|
|
1
|
+
export * from "./data";
|
|
2
|
+
export * from "./layout";
|
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./data
|
|
18
|
-
__exportStar(require("./layout
|
|
17
|
+
__exportStar(require("./data"), exports);
|
|
18
|
+
__exportStar(require("./layout"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|