infinity-forge 0.36.6 → 0.36.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/system/presentation/components/data/notifications/index.js +1 -1
- package/dist/system/presentation/components/data/notifications/index.js.map +1 -1
- package/dist/system/presentation/context/auth/index.d.ts +1 -0
- package/dist/system/presentation/context/auth/index.js +1 -0
- package/dist/system/presentation/context/auth/index.js.map +1 -1
- package/dist/system/presentation/context/auth/login/form-login/index.d.ts +1 -0
- package/dist/system/presentation/context/auth/login/form-login/index.js +12 -0
- package/dist/system/presentation/context/auth/login/form-login/index.js.map +1 -0
- package/dist/system/presentation/context/auth/login/index.js +4 -3
- package/dist/system/presentation/context/auth/login/index.js.map +1 -1
- package/dist/system/presentation/context/auth/private-page/index.d.ts +2 -4
- package/dist/system/presentation/context/auth/private-page/index.js +2 -2
- package/dist/system/presentation/context/auth/private-page/index.js.map +1 -1
- package/dist/system/presentation/context/auth/private-page/interfaces.d.ts +5 -0
- package/dist/system/presentation/context/auth/private-page/interfaces.js +3 -0
- package/dist/system/presentation/context/auth/private-page/interfaces.js.map +1 -0
- package/dist/system/presentation/context/container.js +2 -1
- package/dist/system/presentation/context/container.js.map +1 -1
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js +1 -0
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/index.d.ts +0 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/index.js +0 -38
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/index.js.map +0 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/styles.d.ts +0 -5
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/styles.js +0 -14
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/styles.js.map +0 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.d.ts +0 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +0 -110
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js.map +0 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.d.ts +0 -8
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.js +0 -15
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.js.map +0 -1
|
@@ -105,7 +105,7 @@ function Notifications(props) {
|
|
|
105
105
|
}
|
|
106
106
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Notifications', children: (0, jsx_runtime_1.jsx)(S.Notifications, { children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { trigger: (0, jsx_runtime_1.jsxs)(styles_1.ActionBox, { type: 'button', children: [(data === null || data === void 0 ? void 0 : data.number) > 0 && (0, jsx_runtime_1.jsx)("div", { className: 'circle' }), (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconFullFieldBell' })] }), position: 'bottom right', on: 'click', style: { padding: '0', borderRadius: 5 }, onOpen: handleOnOpen, content: (0, jsx_runtime_1.jsx)(S.Content, { children: notifications.data.length > 0 &&
|
|
107
107
|
notifications.data.map(function (notification) {
|
|
108
|
-
(props === null || props === void 0 ? void 0 : props.CustomComponent) ? props.CustomComponent : (0, jsx_runtime_1.jsx)(card_1.NotificationCard, __assign({}, notification));
|
|
108
|
+
return (props === null || props === void 0 ? void 0 : props.CustomComponent) ? props.CustomComponent : (0, jsx_runtime_1.jsx)(card_1.NotificationCard, __assign({}, notification));
|
|
109
109
|
}) }) }) }) }));
|
|
110
110
|
}
|
|
111
111
|
exports.Notifications = Notifications;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/notifications/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,uDAAyC;AAEzC,2BAAkC;AAClC,mCAAqH;AAErH,+BAAyC;AAGzC,2EAA4E;AAE5E,0CAA6B;AAE7B,SAAgB,aAAa,CAAC,KAA0B;IAC9C,IAAA,IAAI,GAAK,IAAA,mCAA0B,GAAE,KAAjC,CAAiC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/notifications/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,uDAAyC;AAEzC,2BAAkC;AAClC,mCAAqH;AAErH,+BAAyC;AAGzC,2EAA4E;AAE5E,0CAA6B;AAE7B,SAAgB,aAAa,CAAC,KAA0B;IAC9C,IAAA,IAAI,GAAK,IAAA,mCAA0B,GAAE,KAAjC,CAAiC;IAE7C,IAAM,aAAa,GAAG,IAAA,gCAAuB,GAAE,CAAA;IAE/C,IAAI,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;QACjC,OAAM;IACR,CAAC;IAED,SAAe,YAAY;;;;;;;wBACnB,mBAAmB,GAAG,MAAA,aAAa,CAAC,IAAI,0CAC1C,MAAM,CAAC,UAAC,YAAY,IAAK,OAAA,CAAC,YAAY,CAAC,MAAM,EAApB,CAAoB,EAC9C,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,EAAE,EAAT,CAAS,CAAC,CAAA;wBAE7B,qBAAM,kBAAS,CAAC,GAAG,CAAsB,cAAK,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,mBAAmB,EAAE,CAAC,EAAA;;wBAAzG,SAAyG,CAAA;wBACzG,IAAA,YAAM,EAAC,sBAAsB,CAAC,CAAA;wBAC9B,IAAA,YAAM,EAAC,yBAAyB,CAAC,CAAA;wBACjC,sBAAM;;;;KACP;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,eAAe,YACzB,uBAAC,CAAC,CAAC,aAAa,cACd,uBAAC,yBAAK,IACJ,OAAO,EACL,wBAAC,kBAAS,IAAC,IAAI,EAAC,QAAQ,aACrB,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,IAAG,CAAC,IAAI,gCAAK,SAAS,EAAC,QAAQ,GAAG,EAE/C,uBAAC,SAAI,IAAC,IAAI,EAAC,mBAAmB,GAAG,IACvB,EAEd,QAAQ,EAAC,cAAc,EACvB,EAAE,EAAC,OAAO,EACV,KAAK,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,EAAE,EACxC,MAAM,EAAE,YAAY,EACpB,OAAO,EACL,uBAAC,CAAC,CAAC,OAAO,cACP,aAAa,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;wBAC5B,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,UAAC,YAAY;4BAClC,OAAA,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,eAAe,EAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,uBAAC,uBAAgB,eAAK,YAAY,EAAI;wBAAvF,CAAuF,CACxF,GACO,GAEd,GACc,GACZ,CACT,CAAA;AACH,CAAC;AA/CD,sCA+CC"}
|
|
@@ -19,4 +19,5 @@ __exportStar(require("./context.js"), exports);
|
|
|
19
19
|
__exportStar(require("./private-page/index.js"), exports);
|
|
20
20
|
__exportStar(require("./authenticated/index.js"), exports);
|
|
21
21
|
__exportStar(require("./unauthenticated/index.js"), exports);
|
|
22
|
+
__exportStar(require("./login/form-login/index.js"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/context/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,4CAAyB;AACzB,iDAA8B;AAC9B,kDAA+B;AAC/B,oDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/context/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,4CAAyB;AACzB,iDAA8B;AAC9B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function FormLogin(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormLogin = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
6
|
+
var context_1 = require("../../context.js");
|
|
7
|
+
function FormLogin() {
|
|
8
|
+
var signIn = (0, context_1.useAuthAdmin)().signIn;
|
|
9
|
+
return (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { button: { text: 'Entrar' }, initialData: { emailAddress: '', password: '' }, onSucess: signIn, children: [(0, jsx_runtime_1.jsx)(ui_1.Input, { type: 'email', label: 'Email', name: 'emailAddress', placeholder: 'Digite seu usu\u00E1rio' }), (0, jsx_runtime_1.jsx)(ui_1.InputPassword, { name: 'password', label: 'Senha', placeholder: 'Digite sua senha' })] });
|
|
10
|
+
}
|
|
11
|
+
exports.FormLogin = FormLogin;
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/context/auth/login/form-login/index.tsx"],"names":[],"mappings":";;;;AAAA,2BAAwD;AAExD,yCAA4C;AAE5C,SAAgB,SAAS;IACb,IAAA,MAAM,GAAK,IAAA,sBAAY,GAAE,OAAnB,CAAmB;IAEjC,OAAO,wBAAC,gBAAW,IAAC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,aAC7G,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,cAAc,EAAC,WAAW,EAAC,yBAAoB,GAAG,EAEzF,uBAAC,kBAAa,IAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,OAAO,EAAC,WAAW,EAAC,kBAAkB,GAAG,IACpE,CAAA;AAClB,CAAC;AARD,8BAQC"}
|
|
@@ -25,12 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.Login = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var context_1 = require("../context.js");
|
|
29
28
|
var ui_1 = require("../../../../../ui/index.js");
|
|
29
|
+
var form_login_1 = require("./form-login/index.js");
|
|
30
|
+
var context_1 = require("../context.js");
|
|
30
31
|
var S = __importStar(require("./styles.js"));
|
|
31
32
|
function Login() {
|
|
32
|
-
var
|
|
33
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'login', children: (0, jsx_runtime_1.jsxs)(S.Login, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content', children: [(0, jsx_runtime_1.jsx)("div", { className: 'empty' }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: '/images/login-logo.png', alt: ' ' }) }), (0, jsx_runtime_1.jsxs)("div", { className: 'text', children: [(0, jsx_runtime_1.jsx)("h5", { className: 'font-20-bold', children: "Seja bem vindo!" }), (0, jsx_runtime_1.jsx)("p", { className: 'font-16-medium', children: "Ao seu portal de gest\u00E3o" })] }), (0, jsx_runtime_1.
|
|
33
|
+
var _a = (0, context_1.useAuthAdmin)();
|
|
34
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'login', children: (0, jsx_runtime_1.jsxs)(S.Login, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content', children: [(0, jsx_runtime_1.jsx)("div", { className: 'empty' }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: '/images/login-logo.png', alt: ' ' }) }), (0, jsx_runtime_1.jsxs)("div", { className: 'text', children: [(0, jsx_runtime_1.jsx)("h5", { className: 'font-20-bold', children: "Seja bem vindo!" }), (0, jsx_runtime_1.jsx)("p", { className: 'font-16-medium', children: "Ao seu portal de gest\u00E3o" })] }), (0, jsx_runtime_1.jsx)(form_login_1.FormLogin, {})] }), (0, jsx_runtime_1.jsx)("div", { className: 'contact-footer', children: (0, jsx_runtime_1.jsxs)("span", { children: ["Powered by", ' ', (0, jsx_runtime_1.jsx)("a", { target: '_blank', href: 'https://codie.digital/', children: "Codie." }), ' ', "Todos os direitos reservados."] }) })] }), (0, jsx_runtime_1.jsx)("div", { className: 'image', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: '/images/login-left.png', alt: 'Imagem de login' }) })] }) }));
|
|
34
35
|
}
|
|
35
36
|
exports.Login = Login;
|
|
36
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/context/auth/login/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAyC;AAEzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/context/auth/login/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAuC;AAEvC,2CAAwC;AACxC,sCAAyC;AAEzC,0CAA6B;AAE7B,SAAgB,KAAK;IACb,IAAA,KAAK,IAAA,sBAAY,GAAE,CAAC;IAE1B,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,YACjB,wBAAC,CAAC,CAAC,KAAK,eACN,iCAAK,SAAS,EAAC,SAAS,aACtB,gCAAK,SAAS,EAAC,OAAO,GAAO,EAE7B,4CACE,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,cAAS,IAAC,GAAG,EAAC,wBAAwB,EAAC,GAAG,EAAC,GAAG,GAAG,GAC9C,EAEN,iCAAK,SAAS,EAAC,MAAM,aACnB,+BAAI,SAAS,EAAC,cAAc,gCAAqB,EAEjD,8BAAG,SAAS,EAAC,gBAAgB,6CAA4B,IACrD,EAEN,uBAAC,sBAAS,KAAG,IACT,EAEN,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,2DACa,GAAG,EACd,8BAAG,MAAM,EAAC,QAAQ,EAAC,IAAI,EAAC,wBAAwB,uBAE5C,EAAC,GAAG,qCAEH,GACH,IACF,EAEN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,cAAS,IAAC,GAAG,EAAC,wBAAwB,EAAC,GAAG,EAAC,iBAAiB,GAAG,GAC5D,IACE,GACJ,CACT,CAAA;AACH,CAAC;AAxCD,sBAwCC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function PrivatePageAdmin({ children }:
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { IPrivatePageAdmin } from './interfaces.js';
|
|
2
|
+
export declare function PrivatePageAdmin({ children, LoginPage }: IPrivatePageAdmin): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,12 +6,12 @@ var ui_1 = require("../../../../../ui/index.js");
|
|
|
6
6
|
var login_1 = require("../login/index.js");
|
|
7
7
|
var context_1 = require("../context.js");
|
|
8
8
|
function PrivatePageAdmin(_a) {
|
|
9
|
-
var children = _a.children;
|
|
9
|
+
var children = _a.children, LoginPage = _a.LoginPage;
|
|
10
10
|
var user = (0, context_1.useAuthAdmin)().user;
|
|
11
11
|
if (user) {
|
|
12
12
|
return (0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'private-page', children: children });
|
|
13
13
|
}
|
|
14
|
-
return ((0, jsx_runtime_1.jsxs)(ui_1.Error, { name: 'private-page', children: [user === undefined && (0, jsx_runtime_1.jsx)(ui_1.LoadingScreen, { size: 30, color: '#000' }), (0, jsx_runtime_1.jsx)(login_1.Login, {})] }));
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)(ui_1.Error, { name: 'private-page', children: [user === undefined && (0, jsx_runtime_1.jsx)(ui_1.LoadingScreen, { size: 30, color: '#000' }), LoginPage ? LoginPage : (0, jsx_runtime_1.jsx)(login_1.Login, {})] }));
|
|
15
15
|
}
|
|
16
16
|
exports.PrivatePageAdmin = PrivatePageAdmin;
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/context/auth/private-page/index.tsx"],"names":[],"mappings":";;;;AAAA,2BAA2C;AAE3C,kCAAgC;AAChC,sCAAyC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/context/auth/private-page/index.tsx"],"names":[],"mappings":";;;;AAAA,2BAA2C;AAE3C,kCAAgC;AAChC,sCAAyC;AAIzC,SAAgB,gBAAgB,CAAC,EAA0C;QAAxC,QAAQ,cAAA,EAAE,SAAS,eAAA;IAC5C,IAAA,IAAI,GAAK,IAAA,sBAAY,GAAE,KAAnB,CAAmB;IAE/B,IAAI,IAAI,EAAE,CAAC;QACT,OAAO,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YAAE,QAAQ,GAAS,CAAA;IACtD,CAAC;IAED,OAAO,CACL,wBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,aACvB,IAAI,KAAK,SAAS,IAAI,uBAAC,kBAAa,IAAC,IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,MAAM,GAAG,EAE9D,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,uBAAC,aAAK,KAAG,IAC5B,CACT,CAAA;AACH,CAAC;AAdD,4CAcC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/context/auth/private-page/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InfinityForgeProviders = void 0;
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var react_1 = require("@nextui-org/react");
|
|
5
6
|
var ui_1 = require("../../../ui/index.js");
|
|
6
7
|
var auth_1 = require("./auth/index.js");
|
|
7
8
|
var infra_injection_1 = require("./infra-injection/index.js");
|
|
8
9
|
var theme_1 = require("./theme/index.js");
|
|
9
10
|
function InfinityForgeProviders(_a) {
|
|
10
11
|
var toast = _a.toast, theme = _a.theme, children = _a.children, onSignOut = _a.onSignOut, InjectedRemotes = _a.InjectedRemotes, Configurations = _a.Configurations;
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(infra_injection_1.InfraInjectionProvider, { InjectedRemotes: InjectedRemotes, Configurations: Configurations, children: (0, jsx_runtime_1.jsx)(auth_1.AuthAdminProvider, { onSignOut: onSignOut, children: (0, jsx_runtime_1.jsx)(theme_1.ThemeProvider, { theme: theme, children: (0, jsx_runtime_1.jsx)(ui_1.ToastProvider, { toast: toast, children: children }) }) }) }));
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)(react_1.NextUIProvider, { children: (0, jsx_runtime_1.jsx)(infra_injection_1.InfraInjectionProvider, { InjectedRemotes: InjectedRemotes, Configurations: Configurations, children: (0, jsx_runtime_1.jsx)(auth_1.AuthAdminProvider, { onSignOut: onSignOut, children: (0, jsx_runtime_1.jsx)(theme_1.ThemeProvider, { theme: theme, children: (0, jsx_runtime_1.jsx)(ui_1.ToastProvider, { toast: toast, children: children }) }) }) }) }));
|
|
12
13
|
}
|
|
13
14
|
exports.InfinityForgeProviders = InfinityForgeProviders;
|
|
14
15
|
//# sourceMappingURL=container.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../../src/system/presentation/context/container.tsx"],"names":[],"mappings":";;;;AAAA,2BAAoC;AACpC,+BAA0C;AAC1C,qDAAqF;AACrF,iCAAkE;AAElE,SAAgB,sBAAsB,CAAC,EAYV;QAX3B,KAAK,WAAA,EACL,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,cAAc,oBAAA;IAOd,OAAO,CACL,uBAAC,wCAAsB,IAAC,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,YACtF,uBAAC,wBAAiB,IAAC,SAAS,EAAE,SAAS,YACrC,uBAAC,qBAAa,IAAC,KAAK,EAAE,KAAK,YACzB,uBAAC,kBAAa,IAAC,KAAK,EAAE,KAAK,YAAG,QAAQ,GAAiB,GACzC,GACE,GACG,
|
|
1
|
+
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../../src/system/presentation/context/container.tsx"],"names":[],"mappings":";;;;AAAA,2CAAmD;AAEnD,2BAAoC;AACpC,+BAA0C;AAC1C,qDAAqF;AACrF,iCAAkE;AAElE,SAAgB,sBAAsB,CAAC,EAYV;QAX3B,KAAK,WAAA,EACL,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,cAAc,oBAAA;IAOd,OAAO,CACL,uBAAC,sBAAc,cACb,uBAAC,wCAAsB,IAAC,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,YACtF,uBAAC,wBAAiB,IAAC,SAAS,EAAE,SAAS,YACrC,uBAAC,qBAAa,IAAC,KAAK,EAAE,KAAK,YACzB,uBAAC,kBAAa,IAAC,KAAK,EAAE,KAAK,YAAG,QAAQ,GAAiB,GACzC,GACE,GACG,GACV,CAElB,CAAA;AACH,CAAC;AAzBD,wDAyBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/hooks/notifications/use-load-no-read/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAwB;AAExB,gDAAqD;AAErD,yDAAiE;AAEjE,SAAgB,0BAA0B;IAChC,IAAA,cAAc,GAAK,IAAA,2BAAiB,GAAE,eAAxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/hooks/notifications/use-load-no-read/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAwB;AAExB,gDAAqD;AAErD,yDAAiE;AAEjE,SAAgB,0BAA0B;IAChC,IAAA,cAAc,GAAK,IAAA,2BAAiB,GAAE,eAAxB,CAAwB;IAE9C,SAAe,OAAO;;;;;4BACH,qBAAM,qBAAS,CAAC,GAAG,CAA0B,iBAAK,CAAC,mBAAmB,CAAC,CAAC,UAAU,EAAE,EAAA;;wBAA/F,QAAQ,GAAG,SAAoF;wBACrG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;wBAErB,sBAAO,QAAQ,EAAA;;;;KAChB;IAED,OAAO,IAAA,aAAM,EAAC,cAAc,CAAC,YAAY,IAAI,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAClF,CAAC;AAXD,gEAWC"}
|
package/package.json
CHANGED
|
@@ -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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.NotificationCard = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../../../../../ui/index.js");
|
|
29
|
-
var S = __importStar(require("./styles.js"));
|
|
30
|
-
function NotificationCard(_a) {
|
|
31
|
-
// function renderStatus() {
|
|
32
|
-
// // if (status === "")
|
|
33
|
-
// // }
|
|
34
|
-
var title = _a.title, createdAtText = _a.createdAtText, message = _a.message, status = _a.status;
|
|
35
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'NotificationCard', children: (0, jsx_runtime_1.jsxs)(S.NotificationCard, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'top', children: [title && (0, jsx_runtime_1.jsx)("h4", { className: 'font-16-bold', children: title }), createdAtText && (0, jsx_runtime_1.jsx)("span", { className: 'font-12-regular', children: createdAtText })] }), message && (0, jsx_runtime_1.jsx)("div", { className: 'description font-16-regular', dangerouslySetInnerHTML: { __html: message } })] }) }));
|
|
36
|
-
}
|
|
37
|
-
exports.NotificationCard = NotificationCard;
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/notifications/card/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAI5B,0CAA6B;AAE7B,SAAgB,gBAAgB,CAAC,EAAwD;IACvF,8BAA8B;IAC9B,wBAAwB;IACxB,SAAS;QAHwB,KAAK,WAAA,EAAE,aAAa,mBAAA,EAAE,OAAO,aAAA,EAAE,MAAM,YAAA;IAKtE,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,kBAAkB,YAC5B,wBAAC,CAAC,CAAC,gBAAgB,eACjB,iCAAK,SAAS,EAAC,KAAK,aACjB,KAAK,IAAI,+BAAI,SAAS,EAAC,cAAc,YAAE,KAAK,GAAM,EAClD,aAAa,IAAI,iCAAM,SAAS,EAAC,iBAAiB,YAAE,aAAa,GAAQ,IACtE,EAEL,OAAO,IAAI,gCAAK,SAAS,EAAC,6BAA6B,EAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI,IACtF,GACf,CACT,CAAA;AACH,CAAC;AAjBD,4CAiBC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const NotificationCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never>> & string;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.NotificationCard = void 0;
|
|
11
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.NotificationCard = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n\n * {\n margin: 0;\n }\n\n .top {\n margin-bottom: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n\n > span {\n color: #828282;\n }\n }\n\n .description {\n color: #828282;\n }\n\n & + & {\n margin-top: 20px;\n border-top: 1px solid #e1e1e1;\n padding-top: 20px;\n }\n"], ["\n width: 100%;\n\n * {\n margin: 0;\n }\n\n .top {\n margin-bottom: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n\n > span {\n color: #828282;\n }\n }\n\n .description {\n color: #828282;\n }\n\n & + & {\n margin-top: 20px;\n border-top: 1px solid #e1e1e1;\n padding-top: 20px;\n }\n"])));
|
|
13
|
-
var templateObject_1;
|
|
14
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/notifications/card/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,gBAAgB,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,scAAA,mYA4B5C,KAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Notifications(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
46
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
47
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
48
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
49
|
-
function step(op) {
|
|
50
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
51
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
52
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
53
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
54
|
-
switch (op[0]) {
|
|
55
|
-
case 0: case 1: t = op; break;
|
|
56
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
57
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
58
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
59
|
-
default:
|
|
60
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
61
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
62
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
63
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
64
|
-
if (t[2]) _.ops.pop();
|
|
65
|
-
_.trys.pop(); continue;
|
|
66
|
-
}
|
|
67
|
-
op = body.call(thisArg, _);
|
|
68
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
69
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
73
|
-
exports.Notifications = void 0;
|
|
74
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
75
|
-
var swr_1 = require("swr");
|
|
76
|
-
var semantic_ui_react_1 = require("semantic-ui-react");
|
|
77
|
-
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
78
|
-
var system_1 = require("../../../../../../../../system/index.js");
|
|
79
|
-
var card_1 = require("./card/index.js");
|
|
80
|
-
var S = __importStar(require("./styles.js"));
|
|
81
|
-
var styles_1 = require("../styles.js");
|
|
82
|
-
function Notifications() {
|
|
83
|
-
var data = (0, system_1.useLoadNoReadNotifications)().data;
|
|
84
|
-
var notifications = (0, system_1.useLoadAllNotifications)();
|
|
85
|
-
if (!data || !notifications.data) {
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
function handleOnOpen() {
|
|
89
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
90
|
-
var noReadNotifications;
|
|
91
|
-
var _a;
|
|
92
|
-
return __generator(this, function (_b) {
|
|
93
|
-
switch (_b.label) {
|
|
94
|
-
case 0:
|
|
95
|
-
noReadNotifications = (_a = notifications.data) === null || _a === void 0 ? void 0 : _a.filter(function (notification) { return !notification.isRead; }).map(function (noRead) { return noRead.id; });
|
|
96
|
-
return [4 /*yield*/, system_1.container.get(system_1.Types.RemoteNotifications).readAll({ ids: noReadNotifications })];
|
|
97
|
-
case 1:
|
|
98
|
-
_b.sent();
|
|
99
|
-
(0, swr_1.mutate)('LoadAllNotifications');
|
|
100
|
-
(0, swr_1.mutate)('LoadNoReadNotifications');
|
|
101
|
-
return [2 /*return*/];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Notifications', children: (0, jsx_runtime_1.jsx)(S.Notifications, { children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { trigger: (0, jsx_runtime_1.jsxs)(styles_1.ActionBox, { type: 'button', children: [(data === null || data === void 0 ? void 0 : data.number) > 0 && (0, jsx_runtime_1.jsx)("div", { className: 'circle' }), (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconFullFieldBell' })] }), position: 'bottom right', on: 'click', style: { padding: '0', borderRadius: 5 }, onOpen: handleOnOpen, content: (0, jsx_runtime_1.jsx)(S.Content, { children: notifications.data.length > 0 &&
|
|
107
|
-
notifications.data.map(function (notification) { return (0, jsx_runtime_1.jsx)(card_1.NotificationCard, __assign({}, notification)); }) }) }) }) }));
|
|
108
|
-
}
|
|
109
|
-
exports.Notifications = Notifications;
|
|
110
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/notifications/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,uDAAyC;AAEzC,2BAAkC;AAClC,mCAAqH;AAErH,+BAAyC;AAEzC,0CAA6B;AAC7B,oCAAqC;AAErC,SAAgB,aAAa;IACnB,IAAA,IAAI,GAAK,IAAA,mCAA0B,GAAE,KAAjC,CAAiC;IAC7C,IAAM,aAAa,GAAG,IAAA,gCAAuB,GAAE,CAAA;IAE/C,IAAI,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;QACjC,OAAM;IACR,CAAC;IAED,SAAe,YAAY;;;;;;;wBACnB,mBAAmB,GAAG,MAAA,aAAa,CAAC,IAAI,0CAC1C,MAAM,CAAC,UAAC,YAAY,IAAK,OAAA,CAAC,YAAY,CAAC,MAAM,EAApB,CAAoB,EAC9C,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,EAAE,EAAT,CAAS,CAAC,CAAA;wBAE7B,qBAAM,kBAAS,CAAC,GAAG,CAAsB,cAAK,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,mBAAmB,EAAE,CAAC,EAAA;;wBAAzG,SAAyG,CAAA;wBACzG,IAAA,YAAM,EAAC,sBAAsB,CAAC,CAAA;wBAC9B,IAAA,YAAM,EAAC,yBAAyB,CAAC,CAAA;wBACjC,sBAAM;;;;KACP;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,eAAe,YACzB,uBAAC,CAAC,CAAC,aAAa,cACd,uBAAC,yBAAK,IACJ,OAAO,EACL,wBAAC,kBAAS,IAAC,IAAI,EAAC,QAAQ,aACrB,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,IAAG,CAAC,IAAI,gCAAK,SAAS,EAAC,QAAQ,GAAG,EAE/C,uBAAC,SAAI,IAAC,IAAI,EAAC,mBAAmB,GAAG,IACvB,EAEd,QAAQ,EAAC,cAAc,EACvB,EAAE,EAAC,OAAO,EACV,KAAK,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,EAAE,EACxC,MAAM,EAAE,YAAY,EACpB,OAAO,EACL,uBAAC,CAAC,CAAC,OAAO,cACP,aAAa,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;wBAC5B,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,UAAC,YAAY,IAAK,OAAA,uBAAC,uBAAgB,eAAK,YAAY,EAAI,EAAtC,CAAsC,CAAC,GACxE,GAEd,GACc,GACZ,CACT,CAAA;AACH,CAAC;AA5CD,sCA4CC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const Notifications: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never>> & string;
|
|
6
|
-
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
8
|
-
}, never>> & string;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.Content = exports.Notifications = void 0;
|
|
11
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.Notifications = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n\n .circle {\n width: 10px;\n height: 10px;\n border-radius: 100rem;\n background: #f5a623;\n position: absolute;\n top: 15%;\n right: 20%;\n border: 1px solid transparent;\n }\n"], ["\n position: relative;\n\n .circle {\n width: 10px;\n height: 10px;\n border-radius: 100rem;\n background: #f5a623;\n position: absolute;\n top: 15%;\n right: 20%;\n border: 1px solid transparent;\n }\n"])));
|
|
13
|
-
exports.Content = (0, styled_components_1.default)('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n max-height: 400px;\n overflow-y: auto;\n width: 100%;\n min-width: 400px;\n text-align: left;\n padding: 20px;\n\n &::-webkit-scrollbar {\n width: 5px;\n border-radius: 10px;\n }\n\n &::-webkit-scrollbar-track {\n background: #ccc;\n border-radius: 10px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: #000;\n border-radius: 10px;\n }\n"], ["\n max-height: 400px;\n overflow-y: auto;\n width: 100%;\n min-width: 400px;\n text-align: left;\n padding: 20px;\n\n &::-webkit-scrollbar {\n width: 5px;\n border-radius: 10px;\n }\n\n &::-webkit-scrollbar-track {\n background: #ccc;\n border-radius: 10px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: #000;\n border-radius: 10px;\n }\n"])));
|
|
14
|
-
var templateObject_1, templateObject_2;
|
|
15
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/notifications/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,0SAAA,uOAazC,KAAA;AACY,QAAA,OAAO,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,0bAAA,uXAsBnC,KAAA"}
|