infinity-forge 0.31.5 → 0.31.7
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/buttons/index.d.ts +1 -0
- package/dist/system/presentation/components/data/buttons/index.js +18 -0
- package/dist/system/presentation/components/data/buttons/index.js.map +1 -0
- package/dist/system/presentation/components/data/buttons/sidebar-button/index.d.ts +1 -0
- package/dist/system/presentation/components/data/buttons/sidebar-button/index.js +35 -0
- package/dist/system/presentation/components/data/buttons/sidebar-button/index.js.map +1 -0
- package/dist/system/presentation/components/data/buttons/sidebar-button/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/buttons/sidebar-button/styles.js +14 -0
- package/dist/system/presentation/components/data/buttons/sidebar-button/styles.js.map +1 -0
- package/dist/system/presentation/components/data/detail-card/component.d.ts +2 -0
- package/dist/system/presentation/components/data/detail-card/component.js +43 -0
- package/dist/system/presentation/components/data/detail-card/component.js.map +1 -0
- package/dist/system/presentation/components/data/detail-card/index.d.ts +2 -0
- package/dist/system/presentation/components/data/detail-card/index.js +19 -0
- package/dist/system/presentation/components/data/detail-card/index.js.map +1 -0
- package/dist/system/presentation/components/data/detail-card/interfaces.d.ts +19 -0
- package/dist/system/presentation/components/data/detail-card/interfaces.js +3 -0
- package/dist/system/presentation/components/data/detail-card/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/detail-card/styles.d.ts +5 -0
- package/dist/system/presentation/components/data/detail-card/styles.js +14 -0
- package/dist/system/presentation/components/data/detail-card/styles.js.map +1 -0
- package/dist/system/presentation/components/data/highlight-icon/index.d.ts +2 -0
- package/dist/system/presentation/components/data/highlight-icon/index.js +40 -0
- package/dist/system/presentation/components/data/highlight-icon/index.js.map +1 -0
- package/dist/system/presentation/components/data/highlight-icon/interfaces.d.ts +8 -0
- package/dist/system/presentation/components/data/highlight-icon/interfaces.js +3 -0
- package/dist/system/presentation/components/data/highlight-icon/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/highlight-icon/styles.d.ts +7 -0
- package/dist/system/presentation/components/data/highlight-icon/styles.js +14 -0
- package/dist/system/presentation/components/data/highlight-icon/styles.js.map +1 -0
- package/dist/system/presentation/components/data/highlight-text/styles.js +1 -1
- package/dist/system/presentation/components/data/highlight-text/styles.js.map +1 -1
- package/dist/system/presentation/components/data/index.d.ts +6 -0
- package/dist/system/presentation/components/data/index.js +6 -0
- package/dist/system/presentation/components/data/index.js.map +1 -1
- package/dist/system/presentation/components/data/profile-infos/index.d.ts +2 -0
- package/dist/system/presentation/components/data/profile-infos/index.js +48 -0
- package/dist/system/presentation/components/data/profile-infos/index.js.map +1 -0
- package/dist/system/presentation/components/data/profile-infos/interfaces.d.ts +6 -0
- package/dist/system/presentation/components/data/profile-infos/interfaces.js +3 -0
- package/dist/system/presentation/components/data/profile-infos/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/profile-infos/profile/index.d.ts +2 -0
- package/dist/system/presentation/components/data/profile-infos/profile/index.js +36 -0
- package/dist/system/presentation/components/data/profile-infos/profile/index.js.map +1 -0
- package/dist/system/presentation/components/data/profile-infos/profile/interfaces.d.ts +10 -0
- package/dist/system/presentation/components/data/profile-infos/profile/interfaces.js +3 -0
- package/dist/system/presentation/components/data/profile-infos/profile/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/profile-infos/profile/styles.d.ts +5 -0
- package/dist/system/presentation/components/data/profile-infos/profile/styles.js +14 -0
- package/dist/system/presentation/components/data/profile-infos/profile/styles.js.map +1 -0
- package/dist/system/presentation/components/data/profile-infos/styles.d.ts +5 -0
- package/dist/system/presentation/components/data/profile-infos/styles.js +14 -0
- package/dist/system/presentation/components/data/profile-infos/styles.js.map +1 -0
- package/dist/system/presentation/components/{layout/menu/components → data}/select-workspace/custom-styles.js +6 -6
- package/dist/system/presentation/components/data/select-workspace/custom-styles.js.map +1 -0
- package/dist/system/presentation/components/data/select-workspace/index.d.ts +4 -0
- package/dist/system/presentation/components/{layout/menu/components → data}/select-workspace/index.js +2 -2
- package/dist/system/presentation/components/data/select-workspace/index.js.map +1 -0
- package/dist/system/presentation/components/{layout/menu/components/select-workspace/index.d.ts → data/select-workspace/interfaces.d.ts} +1 -5
- package/dist/system/presentation/components/data/select-workspace/interfaces.js +3 -0
- package/dist/system/presentation/components/data/select-workspace/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/select-workspace/styles.js +14 -0
- package/dist/system/presentation/components/data/select-workspace/styles.js.map +1 -0
- package/dist/system/presentation/components/data/tab/index.d.ts +2 -0
- package/dist/system/presentation/components/data/tab/index.js +47 -0
- package/dist/system/presentation/components/data/tab/index.js.map +1 -0
- package/dist/system/presentation/components/data/tab/interfaces.d.ts +12 -0
- package/dist/system/presentation/components/data/tab/interfaces.js +3 -0
- package/dist/system/presentation/components/data/tab/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/tab/styles.d.ts +5 -0
- package/dist/system/presentation/components/data/tab/styles.js +14 -0
- package/dist/system/presentation/components/data/tab/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/component.d.ts +2 -8
- package/dist/system/presentation/components/layout/component.js +14 -3
- package/dist/system/presentation/components/layout/component.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +6 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js +19 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/index.d.ts +2 -3
- package/dist/system/presentation/components/layout/header/index.js +14 -4
- package/dist/system/presentation/components/layout/header/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/version-01/index.d.ts +2 -3
- package/dist/system/presentation/components/layout/header/version-01/index.js +3 -3
- package/dist/system/presentation/components/layout/header/version-01/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/version-01/styles.d.ts +4 -1
- package/dist/system/presentation/components/layout/header/version-01/styles.js +4 -1
- package/dist/system/presentation/components/layout/header/version-01/styles.js.map +1 -1
- package/dist/system/presentation/components/layout/interfaces.d.ts +7 -0
- package/dist/system/presentation/components/layout/interfaces.js +3 -0
- package/dist/system/presentation/components/layout/interfaces.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/index.d.ts +0 -1
- package/dist/system/presentation/components/layout/menu/components/index.js +0 -1
- package/dist/system/presentation/components/layout/menu/components/index.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/index.d.ts +2 -1
- package/dist/system/presentation/components/layout/menu/index.js +3 -1
- package/dist/system/presentation/components/layout/menu/index.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/interfaces.d.ts +5 -0
- package/dist/system/presentation/components/layout/menu/interfaces.js +3 -0
- package/dist/system/presentation/components/layout/menu/interfaces.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/version-01/index.d.ts +2 -4
- package/dist/system/presentation/components/layout/menu/version-01/index.js +3 -4
- package/dist/system/presentation/components/layout/menu/version-01/index.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/styles.d.ts +5 -1
- package/dist/system/presentation/components/layout/menu/version-01/styles.js +4 -1
- package/dist/system/presentation/components/layout/menu/version-01/styles.js.map +1 -1
- package/dist/system/presentation/components/layout/styles.js +1 -1
- package/dist/system/presentation/components/layout/styles.js.map +1 -1
- package/dist/system/presentation/utils/index.d.ts +1 -0
- package/dist/system/presentation/utils/index.js +1 -0
- package/dist/system/presentation/utils/index.js.map +1 -1
- package/dist/system/presentation/utils/sidebar/index.d.ts +2 -0
- package/dist/system/presentation/utils/sidebar/index.js +32 -0
- package/dist/system/presentation/utils/sidebar/index.js.map +1 -0
- package/dist/ui/utils/file/load-file.d.ts +5 -1
- package/dist/ui/utils/file/load-file.js +2 -2
- package/dist/ui/utils/file/load-file.js.map +1 -1
- package/package.json +79 -76
- package/dist/system/presentation/components/layout/menu/components/select-workspace/custom-styles.js.map +0 -1
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js.map +0 -1
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js +0 -14
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map +0 -1
- /package/dist/system/presentation/components/{layout/menu/components → data}/select-workspace/custom-styles.d.ts +0 -0
- /package/dist/system/presentation/components/{layout/menu/components → data}/select-workspace/styles.d.ts +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
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.ProfileInfos = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.ProfileInfos = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n\n .details-box {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 15px;\n width: 100%;\n margin-left: 42px;\n }\n"], ["\n width: 100%;\n display: flex;\n\n .details-box {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 15px;\n width: 100%;\n margin-left: 42px;\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/profile-infos/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,YAAY,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,4PAAA,yLAWxC,KAAA"}
|
|
@@ -13,14 +13,14 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.customStyles = void 0;
|
|
15
15
|
exports.customStyles = {
|
|
16
|
-
control: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '
|
|
17
|
-
menu: function (provided, state) { return (__assign(__assign({}, provided), { zIndex: '9999', padding: '5px
|
|
18
|
-
placeholder: function (provided, state) { return (__assign(__assign({}, provided), { fontSize: '14px' })); },
|
|
19
|
-
valueContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '
|
|
20
|
-
input: function (provided, state) { return (__assign(__assign({}, provided), { margin: '0px', padding: '0px', height: '
|
|
16
|
+
control: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '40px', maxHeight: '40px', width: '235px', background: 'rgba(255,255,255, 0.2)', border: 0 })); },
|
|
17
|
+
menu: function (provided, state) { return (__assign(__assign({}, provided), { zIndex: '9999', padding: '5px 10px' })); },
|
|
18
|
+
placeholder: function (provided, state) { return (__assign(__assign({}, provided), { fontSize: '14px', color: '#fff' })); },
|
|
19
|
+
valueContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '40px', padding: '0 10px' })); },
|
|
20
|
+
input: function (provided, state) { return (__assign(__assign({}, provided), { margin: '0px', padding: '0px', height: '40px', minHeight: '40px' })); },
|
|
21
21
|
indicatorSeparator: function (state) { return ({
|
|
22
22
|
display: 'none',
|
|
23
23
|
}); },
|
|
24
|
-
indicatorsContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '
|
|
24
|
+
indicatorsContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '40px', paddingRight: '10px' })); },
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=custom-styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/custom-styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEa,QAAA,YAAY,GAAiB;IACxC,OAAO,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACzB,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,OAAO,EACd,UAAU,EAAE,wBAAwB,EACpC,MAAM,EAAE,CAAC,IACT,EAP4B,CAO5B;IAEF,IAAI,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACtB,QAAQ,KACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,UAAU,IACnB,EAJyB,CAIzB;IAEF,WAAW,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBAC7B,QAAQ,KACX,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,IACb,EAJgC,CAIhC;IAEF,cAAc,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBAChC,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,QAAQ,IACjB,EAJmC,CAInC;IAEF,KAAK,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACvB,QAAQ,KACX,MAAM,EAAE,KAAK,EACb,OAAO,EAAE,KAAK,EACd,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,IACjB,EAN0B,CAM1B;IACF,kBAAkB,EAAE,UAAC,KAAK,IAAK,OAAA,CAAC;QAC9B,OAAO,EAAE,MAAM;KAChB,CAAC,EAF6B,CAE7B;IACF,mBAAmB,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACrC,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,IACpB,EAJwC,CAIxC;CACH,CAAA"}
|
|
@@ -47,8 +47,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
48
|
exports.SelectWorkSpace = void 0;
|
|
49
49
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
50
|
-
var system_1 = require("
|
|
51
|
-
var ui_1 = require("
|
|
50
|
+
var system_1 = require("../../../../../system/index.js");
|
|
51
|
+
var ui_1 = require("../../../../../ui/index.js");
|
|
52
52
|
var S = __importStar(require("./styles.js"));
|
|
53
53
|
var custom_styles_1 = require("./custom-styles.js");
|
|
54
54
|
function Item(_a) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,2BAA0C;AAI1C,0CAA6B;AAC7B,iDAA8C;AAE9C,SAAS,IAAI,CAAC,EAAkB;IAAhB,IAAA,IAAI,UAAA,EAAK,KAAK,cAAhB,QAAkB,CAAF;IAC5B,OAAO,CACL,6CAAQ,SAAS,EAAC,MAAM,IAAK,KAAK,CAAC,UAAU,eAC1C,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,EAAC,CAAC,CAAC,uBAAC,eAAM,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,IAAI,CAAC,GAAG,GAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,QAAQ,GAAG,EAExF,4CACE,iCAAM,SAAS,EAAC,iBAAiB,YAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,GAAQ,EAErD,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,KAAI,iCAAM,SAAS,EAAC,2BAA2B,YAAE,IAAI,CAAC,QAAQ,GAAQ,IACjF,KACC,CACV,CAAA;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,EAA0C;QAAxC,UAAU,gBAAA;IAC1C,IAAI,CAAC,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,CAAA,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtD,OAAO,kDAAK,CAAA;IACd,CAAC;IAED,OAAO,CACL,uBAAC,CAAC,CAAC,eAAe,cAChB,uBAAC,gBAAW,IACV,YAAY,EAAE,EAAE,cAAc,EAAE,UAAU,CAAC,iBAAiB,IAAI,UAAU,CAAC,iBAAiB,EAAE,EAC9F,WAAW,EAAE,EAAE,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE,YAEtD,uBAAC,WAAM,IACL,IAAI,EAAC,WAAW,EAChB,aAAa,EAAC,MAAM,EACpB,OAAO,EAAE,UAAU,CAAC,IAAI,EACxB,YAAY,QACZ,YAAY,EAAE,4BAAY,EAC1B,YAAY,EAAE,IAAI,EAClB,YAAY,EAAE,KAAK,EACnB,WAAW,EAAC,qBAAqB,EACjC,KAAK,EAAE,UAAU,CAAC,eAAe,GACjC,GACU,GACI,CACrB,CAAA;AACH,CAAC;AAzBD,0CAyBC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type WorkSpaceItem = {
|
|
1
|
+
export type WorkSpaceItem = {
|
|
2
2
|
label: string;
|
|
3
3
|
value: string;
|
|
4
4
|
img: string;
|
|
@@ -11,7 +11,3 @@ export type WorkSpace = {
|
|
|
11
11
|
}) => void;
|
|
12
12
|
activeWorkspace: WorkSpaceItem['value'];
|
|
13
13
|
};
|
|
14
|
-
export declare function SelectWorkSpace({ workspaces }: {
|
|
15
|
-
workspaces?: WorkSpace;
|
|
16
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
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.SelectWorkSpace = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.SelectWorkSpace = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n height: 40px;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n [class*='-indicatorContainer'] {\n padding: 0;\n }\n\n [class*='-control'] {\n * {\n color: #fff;\n font-weight: 700;\n }\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n max-width: 139px;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"], ["\n width: 100%;\n height: 40px;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n [class*='-indicatorContainer'] {\n padding: 0;\n }\n\n [class*='-control'] {\n * {\n color: #fff;\n font-weight: 700;\n }\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n max-width: 139px;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,00CAAA,uwCA4ExC,KAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.Tab = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var ui_1 = require("../../../../../ui/index.js");
|
|
29
|
+
var react_1 = require("@nextui-org/react");
|
|
30
|
+
var S = __importStar(require("./styles.js"));
|
|
31
|
+
function Tab(_a) {
|
|
32
|
+
var tabs = _a.tabs;
|
|
33
|
+
if (!tabs) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Tab', children: (0, jsx_runtime_1.jsx)(S.Tab, { children: (0, jsx_runtime_1.jsx)(react_1.Tabs, { "aria-label": 'Options', color: 'primary', variant: 'underlined', classNames: {
|
|
37
|
+
tabList: 'gap-6 w-full relative rounded-none p-0 border-b border-divider',
|
|
38
|
+
cursor: 'w-full bg-[#22d3ee]',
|
|
39
|
+
tab: 'max-w-fit px-0 h-12',
|
|
40
|
+
tabContent: 'group-data-[selected=true]:text-[#06b6d4]',
|
|
41
|
+
}, children: Object === null || Object === void 0 ? void 0 : Object.keys(tabs).map(function (key) {
|
|
42
|
+
var currentItem = tabs[key];
|
|
43
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Tab, { title: (0, jsx_runtime_1.jsx)("div", { className: 'flex items-center space-x-2', children: (0, jsx_runtime_1.jsx)("span", { children: currentItem.title }) }), children: (0, jsx_runtime_1.jsx)("div", { className: 'content', children: currentItem.content }) }, currentItem.key));
|
|
44
|
+
}) }) }) }));
|
|
45
|
+
}
|
|
46
|
+
exports.Tab = Tab;
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/tab/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,2CAAwD;AAIxD,0CAA6B;AAE7B,SAAgB,GAAG,CAAC,EAAmB;QAAjB,IAAI,UAAA;IACxB,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAM;IACR,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,KAAK,YACf,uBAAC,CAAC,CAAC,GAAG,cACJ,uBAAC,YAAI,kBACQ,SAAS,EACpB,KAAK,EAAC,SAAS,EACf,OAAO,EAAC,YAAY,EACpB,UAAU,EAAE;oBACV,OAAO,EAAE,gEAAgE;oBACzE,MAAM,EAAE,qBAAqB;oBAC7B,GAAG,EAAE,qBAAqB;oBAC1B,UAAU,EAAE,2CAA2C;iBACxD,YAEA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,UAAC,GAAG;oBAC1B,IAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,CAAA;oBAE7B,OAAO,CACL,uBAAC,WAAO,IAEN,KAAK,EACH,gCAAK,SAAS,EAAC,6BAA6B,YAC1C,2CAAO,WAAW,CAAC,KAAK,GAAQ,GAC5B,YAGR,gCAAK,SAAS,EAAC,SAAS,YAAE,WAAW,CAAC,OAAO,GAAO,IAP/C,WAAW,CAAC,GAAG,CAQZ,CACX,CAAA;gBACH,CAAC,CAAC,GACG,GACD,GACF,CACT,CAAA;AACH,CAAC;AAvCD,kBAuCC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/tab/interfaces.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react/experimental" />
|
|
3
|
+
export declare const Tab: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
+
}, never>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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.Tab = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.Tab = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n border: 1px solid #e1e1e1;\n border-radius: 5px;\n\n > div:first-child {\n background: #f2f2f2;\n padding: 5px 20px;\n\n button + button {\n margin-left: 2.6vw;\n }\n\n button {\n border: none;\n background: none;\n font-size: 14px;\n height: 40px;\n border-radius: 5px;\n padding: 0 15px;\n color: #2b2b2b;\n cursor: pointer;\n outline: none;\n\n &[data-selected='true'] {\n background-color: #e1e1e1;\n }\n }\n }\n\n .content {\n padding: 15px 20px;\n }\n"], ["\n width: 100%;\n border: 1px solid #e1e1e1;\n border-radius: 5px;\n\n > div:first-child {\n background: #f2f2f2;\n padding: 5px 20px;\n\n button + button {\n margin-left: 2.6vw;\n }\n\n button {\n border: none;\n background: none;\n font-size: 14px;\n height: 40px;\n border-radius: 5px;\n padding: 0 15px;\n color: #2b2b2b;\n cursor: pointer;\n outline: none;\n\n &[data-selected='true'] {\n background-color: #e1e1e1;\n }\n }\n }\n\n .content {\n padding: 15px 20px;\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/tab/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,GAAG,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,+nBAAA,4jBAiC/B,KAAA"}
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
interface ILayout {
|
|
4
|
-
workspaces?: WorkSpace;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare function Layout({ children, workspaces }: ILayout): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import { ILayout } from './interfaces.js';
|
|
2
|
+
export declare function Layout(props: ILayout): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
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
|
+
};
|
|
2
13
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
14
|
if (k2 === undefined) k2 = k;
|
|
4
15
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -26,10 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
37
|
exports.Layout = void 0;
|
|
27
38
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
39
|
var header_1 = require("./header/index.js");
|
|
40
|
+
var menu_1 = require("./menu/index.js");
|
|
29
41
|
var S = __importStar(require("./styles.js"));
|
|
30
|
-
function Layout(
|
|
31
|
-
|
|
32
|
-
return ((0, jsx_runtime_1.jsxs)(S.Layout, { children: [(0, jsx_runtime_1.jsx)(header_1.Header, { workspaces: workspaces }), (0, jsx_runtime_1.jsx)("div", { className: 'content_layout', children: (0, jsx_runtime_1.jsx)("main", { children: children }) })] }));
|
|
42
|
+
function Layout(props) {
|
|
43
|
+
return ((0, jsx_runtime_1.jsxs)(S.Layout, { children: [(0, jsx_runtime_1.jsx)(header_1.Header, __assign({}, props)), (0, jsx_runtime_1.jsxs)("div", { className: 'content_layout', children: [(0, jsx_runtime_1.jsx)(menu_1.SideBarMenu, __assign({}, props)), props.children && (0, jsx_runtime_1.jsx)("main", { children: props.children })] })] }));
|
|
33
44
|
}
|
|
34
45
|
exports.Layout = Layout;
|
|
35
46
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,+BAAoC;AAIpC,0CAA6B;AAG7B,SAAgB,MAAM,CAAC,KAAc;IACnC,OAAO,CACL,wBAAC,CAAC,CAAC,MAAM,eACP,uBAAC,eAAM,eAAK,KAAK,EAAI,EAErB,iCAAK,SAAS,EAAC,gBAAgB,aAC7B,uBAAC,kBAAW,eAAK,KAAK,EAAI,EAEzB,KAAK,CAAC,QAAQ,IAAI,2CAAO,KAAK,CAAC,QAAQ,GAAQ,IAC5C,IACG,CACZ,CAAA;AACH,CAAC;AAZD,wBAYC"}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { WorkSpace } from '../../../../../../../system/presentation/components/data/select-workspace/interfaces.js';
|
|
2
|
+
interface IMenuRight {
|
|
3
|
+
workspaces: WorkSpace;
|
|
4
|
+
}
|
|
5
|
+
export declare function MenuRight(props: IMenuRight): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -28,9 +28,26 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
28
28
|
var ui_1 = require("../../../../../../../ui/index.js");
|
|
29
29
|
var profile_1 = require("./profile/index.js");
|
|
30
30
|
var notifications_1 = require("./notifications/index.js");
|
|
31
|
+
var data_1 = require("../../../../../../../system/presentation/components/data/index.js");
|
|
31
32
|
var S = __importStar(require("./styles.js"));
|
|
32
|
-
function MenuRight() {
|
|
33
|
-
|
|
33
|
+
function MenuRight(props) {
|
|
34
|
+
// const workspaces: WorkSpace = {
|
|
35
|
+
// activeWorkspace: '',
|
|
36
|
+
// list: [
|
|
37
|
+
// {
|
|
38
|
+
// img: '',
|
|
39
|
+
// label: 'sdfa',
|
|
40
|
+
// value: 'asfdads',
|
|
41
|
+
// },
|
|
42
|
+
// {
|
|
43
|
+
// img: '',
|
|
44
|
+
// label: 'sfasdfasdfa',
|
|
45
|
+
// value: 'asfdasdfasdfads',
|
|
46
|
+
// },
|
|
47
|
+
// ],
|
|
48
|
+
// onChangeWorkSpace: () => null,
|
|
49
|
+
// }
|
|
50
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'MenuRight', children: (0, jsx_runtime_1.jsxs)(S.MenuRight, { children: [props.workspaces && (0, jsx_runtime_1.jsx)(data_1.SelectWorkSpace, { workspaces: props.workspaces }), (0, jsx_runtime_1.jsx)(notifications_1.Notifications, {}), (0, jsx_runtime_1.jsx)(profile_1.Profile, {})] }) }));
|
|
34
51
|
}
|
|
35
52
|
exports.MenuRight = MenuRight;
|
|
36
53
|
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/components/layout/header/components/menu-right/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,qCAAmC;AAGnC,iDAA+C;AAE/C,0CAA6B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,qCAAmC;AAGnC,iDAA+C;AAE/C,8DAAuE;AAGvE,0CAA6B;AAM7B,SAAgB,SAAS,CAAC,KAAiB;IACzC,kCAAkC;IAClC,yBAAyB;IACzB,YAAY;IACZ,QAAQ;IACR,iBAAiB;IACjB,uBAAuB;IACvB,0BAA0B;IAC1B,SAAS;IACT,QAAQ;IACR,iBAAiB;IACjB,8BAA8B;IAC9B,kCAAkC;IAClC,SAAS;IACT,OAAO;IACP,mCAAmC;IACnC,IAAI;IAEJ,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,WAAW,YACrB,wBAAC,CAAC,CAAC,SAAS,eACT,KAAK,CAAC,UAAU,IAAI,uBAAC,sBAAe,IAAC,UAAU,EAAE,KAAK,CAAC,UAAU,GAAI,EAEtE,uBAAC,6BAAa,KAAG,EAMjB,uBAAC,iBAAO,KAAG,IACC,GACR,CACT,CAAA;AACH,CAAC;AAjCD,8BAiCC"}
|
|
@@ -82,7 +82,7 @@ var styles_1 = require("../styles.js");
|
|
|
82
82
|
function Notifications() {
|
|
83
83
|
var data = (0, system_1.useLoadNoReadNotifications)().data;
|
|
84
84
|
var notifications = (0, system_1.useLoadAllNotifications)().notifications;
|
|
85
|
-
if (!data) {
|
|
85
|
+
if (!data || !notifications) {
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
88
|
function handleOnOpen() {
|
|
@@ -1 +1 @@
|
|
|
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;AACrC,SAAgB,aAAa;IACnB,IAAA,IAAI,GAAK,IAAA,mCAA0B,GAAE,KAAjC,CAAiC;IACrC,IAAA,aAAa,GAAK,IAAA,gCAAuB,GAAE,cAA9B,CAA8B;IAEnD,IAAI,CAAC,IAAI,EAAE,CAAC;
|
|
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;AACrC,SAAgB,aAAa;IACnB,IAAA,IAAI,GAAK,IAAA,mCAA0B,GAAE,KAAjC,CAAiC;IACrC,IAAA,aAAa,GAAK,IAAA,gCAAuB,GAAE,cAA9B,CAA8B;IAEnD,IAAI,CAAC,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;QAC5B,OAAM;IACR,CAAC;IAED,SAAe,YAAY;;;;;;wBACnB,mBAAmB,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,CAAC,UAAC,YAAY,IAAK,OAAA,CAAC,YAAY,CAAC,MAAM,EAApB,CAAoB,EAAE,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,EAAE,EAAT,CAAS,CAAC,CAAA;wBAEpH,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,wBAAC,CAAC,CAAC,OAAO,eACP,CAAC,aAAa,IAAI,iCAAW,EAE7B,aAAa;4BACZ,aAAa,CAAC,MAAM,GAAG,CAAC;4BACxB,aAAa,CAAC,GAAG,CAAC,UAAC,YAAY,IAAK,OAAA,uBAAC,uBAAgB,eAAK,YAAY,EAAI,EAAtC,CAAsC,CAAC,IACnE,GAEd,GACc,GACZ,CACT,CAAA;AACH,CAAC;AA7CD,sCA6CC"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ILayout } from '../interfaces.js';
|
|
2
|
+
export declare function Header(props: ILayout): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +1,27 @@
|
|
|
1
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
|
+
};
|
|
2
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
14
|
exports.Header = void 0;
|
|
4
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
16
|
var version_01_1 = require("./version-01/index.js");
|
|
6
|
-
function Header(
|
|
7
|
-
var workspaces = _a.workspaces;
|
|
17
|
+
function Header(props) {
|
|
8
18
|
var type = 'version01';
|
|
9
19
|
switch (type) {
|
|
10
20
|
case 'version01':
|
|
11
|
-
return (0, jsx_runtime_1.jsx)(version_01_1.HeaderVersion01, {
|
|
21
|
+
return (0, jsx_runtime_1.jsx)(version_01_1.HeaderVersion01, __assign({}, props));
|
|
12
22
|
default:
|
|
13
23
|
;
|
|
14
|
-
(0, jsx_runtime_1.jsx)(version_01_1.HeaderVersion01, {
|
|
24
|
+
(0, jsx_runtime_1.jsx)(version_01_1.HeaderVersion01, __assign({}, props));
|
|
15
25
|
}
|
|
16
26
|
}
|
|
17
27
|
exports.Header = Header;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/header/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/header/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,2CAA8C;AAE9C,SAAgB,MAAM,CAAC,KAAc;IACnC,IAAM,IAAI,GAAG,WAAW,CAAA;IAExB,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,WAAW;YACd,OAAO,uBAAC,4BAAe,eAAK,KAAK,EAAI,CAAA;QAEvC;YACE,CAAC;YAAA,uBAAC,4BAAe,eAAK,KAAK,EAAI,CAAA;IACnC,CAAC;AACH,CAAC;AAVD,wBAUC"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ILayout } from '../../interfaces.js';
|
|
2
|
+
export declare function HeaderVersion01({ workspaces, fixedSidebar }: ILayout): import("react/jsx-runtime").JSX.Element;
|
|
@@ -30,12 +30,12 @@ exports.HeaderVersion01 = void 0;
|
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var link_1 = __importDefault(require("next/link"));
|
|
32
32
|
var ui_1 = require("../../../../../../ui/index.js");
|
|
33
|
-
var
|
|
33
|
+
var data_1 = require("../../../data/index.js");
|
|
34
34
|
var components_1 = require("../components/index.js");
|
|
35
35
|
var S = __importStar(require("./styles.js"));
|
|
36
36
|
function HeaderVersion01(_a) {
|
|
37
|
-
var workspaces = _a.workspaces;
|
|
38
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'HeaderCarbon', children: (0, jsx_runtime_1.jsx)(S.HeaderVersion01, { id: 'header', children: (0, jsx_runtime_1.jsxs)(ui_1.Container, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'left', children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo-wrapper', children: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'logo', href: '/', children: (0, jsx_runtime_1.jsx)("img", { src: '/images/logo.png', alt: 'header-logo' }) }) }), (0, jsx_runtime_1.jsx)(
|
|
37
|
+
var workspaces = _a.workspaces, fixedSidebar = _a.fixedSidebar;
|
|
38
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'HeaderCarbon', children: (0, jsx_runtime_1.jsx)(S.HeaderVersion01, { id: 'header', "$hasSidebarButton": fixedSidebar, children: (0, jsx_runtime_1.jsxs)(ui_1.Container, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'left', children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo-wrapper', children: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'logo', href: '/', children: (0, jsx_runtime_1.jsx)("img", { src: '/images/logo.png', alt: 'header-logo' }) }) }), fixedSidebar && (0, jsx_runtime_1.jsx)(data_1.SideBarButton, {})] }), (0, jsx_runtime_1.jsxs)("div", { className: 'right', children: [(0, jsx_runtime_1.jsx)(components_1.SearchModal, {}), (0, jsx_runtime_1.jsx)(components_1.MenuRight, { workspaces: workspaces })] })] }) }) }));
|
|
39
39
|
}
|
|
40
40
|
exports.HeaderVersion01 = HeaderVersion01;
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAAuC;AAEvC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAAuC;AAEvC,sCAA6C;AAC7C,4CAAsD;AAEtD,0CAA6B;AAG7B,SAAgB,eAAe,CAAC,EAAqC;QAAnC,UAAU,gBAAA,EAAE,YAAY,kBAAA;IACxD,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YACxB,uBAAC,CAAC,CAAC,eAAe,IAAC,EAAE,EAAC,QAAQ,uBAAoB,YAAY,YAC5D,wBAAC,cAAS,eACR,iCAAK,SAAS,EAAC,MAAM,aACnB,gCAAK,SAAS,EAAC,cAAc,YAC3B,uBAAC,cAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,GAAG,YAC7B,gCAAK,GAAG,EAAC,kBAAkB,EAAC,GAAG,EAAC,aAAa,GAAG,GAC3C,GACH,EAEL,YAAY,IAAI,uBAAC,oBAAa,KAAG,IAC9B,EAEN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,wBAAW,KAAG,EAEf,uBAAC,sBAAS,IAAC,UAAU,EAAE,UAAU,GAAI,IACjC,IACI,GACM,GACd,CACT,CAAA;AACH,CAAC;AAxBD,0CAwBC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export
|
|
3
|
+
export interface IStyledHeaderProps {
|
|
4
|
+
$hasSidebarButton?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const HeaderVersion01: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, IStyledHeaderProps>>;
|
|
@@ -9,6 +9,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.HeaderVersion01 = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.HeaderVersion01 = styled_components_1.default.header(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n position: sticky;\n z-index: 99999999;\n top: 0;\n background: ", ";\n padding:
|
|
12
|
+
exports.HeaderVersion01 = styled_components_1.default.header(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n position: sticky;\n z-index: 99999999;\n top: 0;\n background: ", ";\n padding: 10px 0;\n backdrop-filter: blur(20px);\n transition: box-shadow 0.2s ease-in-out;\n\n ", "\n\n .logo-wrapper {\n max-width: 285px;\n }\n\n .logo {\n display: flex;\n width: 100%;\n max-width: 160px;\n\n img {\n object-fit: contain;\n width: 100%;\n height: inherit;\n }\n }\n\n .container {\n display: flex;\n gap: 15px;\n align-items: center;\n\n .left {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 10px;\n width: 100%;\n max-width: 285px;\n width: 285px;\n }\n\n .right {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n gap: 30px;\n padding-left: 20px;\n }\n }\n\n @media only screen and (max-width: 1280px) {\n .logo-wrapper {\n max-width: fit-content;\n }\n }\n"], ["\n width: 100%;\n position: sticky;\n z-index: 99999999;\n top: 0;\n background: ", ";\n padding: 10px 0;\n backdrop-filter: blur(20px);\n transition: box-shadow 0.2s ease-in-out;\n\n ", "\n\n .logo-wrapper {\n max-width: 285px;\n }\n\n .logo {\n display: flex;\n width: 100%;\n max-width: 160px;\n\n img {\n object-fit: contain;\n width: 100%;\n height: inherit;\n }\n }\n\n .container {\n display: flex;\n gap: 15px;\n align-items: center;\n\n .left {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 10px;\n width: 100%;\n max-width: 285px;\n width: 285px;\n }\n\n .right {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n gap: 30px;\n padding-left: 20px;\n }\n }\n\n @media only screen and (max-width: 1280px) {\n .logo-wrapper {\n max-width: fit-content;\n }\n }\n"])), function (props) { return props.theme.primaryColor; }, function (props) {
|
|
13
|
+
return props.$hasSidebarButton &&
|
|
14
|
+
"\n .container {\n .left {\n width: fit-content !important;\n }\n\n .right {\n padding-left: 0 !important;\n }\n }\n ";
|
|
15
|
+
});
|
|
13
16
|
var templateObject_1;
|
|
14
17
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/version-01/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/version-01/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAMzB,QAAA,eAAe,GAAG,2BAAM,CAAC,MAAM,giCAAoB,wFAKhD,EAAmC,yGAK/C,EAYD,wxBAgDF,KAjEe,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,EAAxB,CAAwB,EAK/C,UAAC,KAAK;IACN,OAAA,KAAK,CAAC,iBAAiB;QACvB,gJAUD;AAXC,CAWD,EAgDF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./menu/index.js"), exports);
|
|
18
|
-
__exportStar(require("./select-workspace/index.js"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { ILayout } from '../interfaces.js';
|
|
2
|
+
export declare function SideBarMenu(props: ILayout): import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,7 +19,9 @@ function SideBarMenu(props) {
|
|
|
19
19
|
switch (type) {
|
|
20
20
|
case 'version01':
|
|
21
21
|
return (0, jsx_runtime_1.jsx)(version_01_1.SideBarMenuVersion01, __assign({}, props));
|
|
22
|
-
default:
|
|
22
|
+
default:
|
|
23
|
+
;
|
|
24
|
+
(0, jsx_runtime_1.jsx)(version_01_1.SideBarMenuVersion01, __assign({}, props));
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
exports.SideBarMenu = SideBarMenu;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/menu/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/menu/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,2CAAmD;AAEnD,SAAgB,WAAW,CAAC,KAAc;IACxC,IAAM,IAAI,GAAG,WAAW,CAAA;IAExB,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,WAAW;YACd,OAAO,uBAAC,iCAAoB,eAAK,KAAK,EAAI,CAAA;QAE5C;YACE,CAAC;YAAA,uBAAC,iCAAoB,eAAK,KAAK,EAAI,CAAA;IACxC,CAAC;AACH,CAAC;AAVD,kCAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/menu/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function SideBarMenuVersion01({ workspaces }:
|
|
3
|
-
workspaces?: WorkSpace;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ISidebarProps } from '../interfaces.js';
|
|
2
|
+
export declare function SideBarMenuVersion01({ workspaces, fixedSidebar }: ISidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,17 +25,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SideBarMenuVersion01 = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var react_1 = require("react");
|
|
29
28
|
var components_1 = require("../components/index.js");
|
|
30
29
|
var data_1 = require("../../../data/index.js");
|
|
30
|
+
var utils_1 = require("../../../../../../system/presentation/utils/index.js");
|
|
31
31
|
var context_1 = require("../../../../../../system/presentation/context/index.js");
|
|
32
32
|
var S = __importStar(require("./styles.js"));
|
|
33
33
|
function SideBarMenuVersion01(_a) {
|
|
34
|
-
var workspaces = _a.workspaces;
|
|
35
|
-
var _b = (0, react_1.useState)(false), openSideBar = _b[0], setOpenSideBar = _b[1];
|
|
34
|
+
var workspaces = _a.workspaces, fixedSidebar = _a.fixedSidebar;
|
|
36
35
|
var user = (0, context_1.useAuthAdmin)().user;
|
|
37
36
|
var avatarImage = (user === null || user === void 0 ? void 0 : user.avatar) || '/images/default-profile.png';
|
|
38
|
-
return ((0, jsx_runtime_1.jsxs)(S.SideBarMenuVersion01, { id: 'left-menu',
|
|
37
|
+
return ((0, jsx_runtime_1.jsxs)(S.SideBarMenuVersion01, { id: 'left-menu', "$isFixed": fixedSidebar, children: [fixedSidebar && (0, jsx_runtime_1.jsx)("div", { id: 'sidebar-overlay', onClick: utils_1.closeSidebar }), (0, jsx_runtime_1.jsxs)("div", { id: 'sidebar', children: [(0, jsx_runtime_1.jsx)("div", { className: 'profile-box-mobile', children: (0, jsx_runtime_1.jsxs)("div", { className: 'profile', children: [(0, jsx_runtime_1.jsx)(data_1.Avatar, { image: avatarImage }), (0, jsx_runtime_1.jsxs)("span", { className: 'font-14-bold', children: [user === null || user === void 0 ? void 0 : user.firstName, " ", (0, jsx_runtime_1.jsx)("br", {}), user === null || user === void 0 ? void 0 : user.lastName] })] }) }), (0, jsx_runtime_1.jsx)(components_1.Menu, {})] })] }));
|
|
39
38
|
}
|
|
40
39
|
exports.SideBarMenuVersion01 = SideBarMenuVersion01;
|
|
41
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAoC;AACpC,sCAAuD;AAEvD,qDAA0D;AAC1D,yDAA4D;AAI5D,0CAA6B;AAE7B,SAAgB,oBAAoB,CAAC,EAA2C;QAAzC,UAAU,gBAAA,EAAE,YAAY,kBAAA;IACrD,IAAA,IAAI,GAAK,IAAA,sBAAY,GAAE,KAAnB,CAAmB;IAE/B,IAAM,WAAW,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,KAAI,6BAA6B,CAAA;IAEjE,OAAO,CACL,wBAAC,CAAC,CAAC,oBAAoB,IAAC,EAAE,EAAC,WAAW,cAAW,YAAY,aAC1D,YAAY,IAAI,gCAAK,EAAE,EAAC,iBAAiB,EAAC,OAAO,EAAE,oBAAY,GAAI,EAEpE,iCAAK,EAAE,EAAC,SAAS,aACf,gCAAK,SAAS,EAAC,oBAAoB,YACjC,iCAAK,SAAS,EAAC,SAAS,aACtB,uBAAC,aAAM,IAAC,KAAK,EAAE,WAAW,GAAI,EAE9B,kCAAM,SAAS,EAAC,cAAc,aAC3B,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,OAAE,gCAAM,EACvB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,IACV,IACH,GAOF,EAEN,uBAAC,iBAAI,KAAG,IAGJ,IACiB,CAC1B,CAAA;AACH,CAAC;AAjCD,oDAiCC"}
|