infinity-forge 0.31.5 → 0.31.6
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 +77 -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
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
|
|
3
|
+
interface IStyledSidebarProps {
|
|
4
|
+
$isFixed?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const SideBarMenuVersion01: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, IStyledSidebarProps>>;
|
|
7
|
+
export {};
|
|
@@ -9,6 +9,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.SideBarMenuVersion01 = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.SideBarMenuVersion01 = styled_components_1.default.aside(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n\n
|
|
12
|
+
exports.SideBarMenuVersion01 = styled_components_1.default.aside(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n\n ", "\n\n #sidebar-overlay {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n min-width: 100vw;\n min-height: 100vh;\n z-index: 999999999;\n background-color: rgba(0, 0, 0, 0.5);\n\n &.open {\n display: block;\n }\n }\n\n > #sidebar {\n width: 285px;\n padding: 0 0 20px 15px;\n border-right: 1px solid #e1e1e1;\n display: flex;\n flex-direction: column;\n position: relative;\n left: 0;\n overflow-y: auto;\n top: 0;\n height: calc(100vh - 60px);\n z-index: 999;\n background: #fff;\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\n .menu {\n margin-top: 20px;\n }\n\n .profile-box-mobile {\n display: none;\n }\n\n @media only screen and (max-width: 768px) {\n .profile-box-mobile {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n padding: 20px 15px 5px;\n\n .profile {\n display: flex;\n align-items: center;\n gap: 15px;\n\n span {\n font-size: 14px;\n font-weight: 700;\n line-height: 1.03;\n }\n }\n\n .actions {\n display: flex;\n align-items: center;\n gap: 10px;\n\n button {\n width: 30px;\n height: 30px;\n padding: 7px;\n background: ", ";\n }\n }\n }\n }\n"], ["\n display: flex;\n\n ", "\n\n #sidebar-overlay {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n min-width: 100vw;\n min-height: 100vh;\n z-index: 999999999;\n background-color: rgba(0, 0, 0, 0.5);\n\n &.open {\n display: block;\n }\n }\n\n > #sidebar {\n width: 285px;\n padding: 0 0 20px 15px;\n border-right: 1px solid #e1e1e1;\n display: flex;\n flex-direction: column;\n position: relative;\n left: 0;\n overflow-y: auto;\n top: 0;\n height: calc(100vh - 60px);\n z-index: 999;\n background: #fff;\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\n .menu {\n margin-top: 20px;\n }\n\n .profile-box-mobile {\n display: none;\n }\n\n @media only screen and (max-width: 768px) {\n .profile-box-mobile {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n padding: 20px 15px 5px;\n\n .profile {\n display: flex;\n align-items: center;\n gap: 15px;\n\n span {\n font-size: 14px;\n font-weight: 700;\n line-height: 1.03;\n }\n }\n\n .actions {\n display: flex;\n align-items: center;\n gap: 10px;\n\n button {\n width: 30px;\n height: 30px;\n padding: 7px;\n background: ", ";\n }\n }\n }\n }\n"])), function (props) {
|
|
13
|
+
return props.$isFixed &&
|
|
14
|
+
"\n > #sidebar {\n position: fixed !important;\n transform: translateX(-100%);\n transition: transform 0.2s;\n height: 100vh !important;\n z-index: 999999999 !important;\n\n\n &.open {\n transform: translateX(0);\n }\n }\n ";
|
|
15
|
+
}, function (props) { var _a; return ((_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.primaryColor) || '#000'; });
|
|
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/menu/version-01/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/version-01/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAMzB,QAAA,oBAAoB,GAAG,2BAAM,CAAC,KAAK,qlDAAqB,0BAGjE,EAeD,+8CA+EqB,EAA+C,qCAKtE,KAnGG,UAAC,KAAK;IACN,OAAA,KAAK,CAAC,QAAQ;QACd,6PAaD;AAdC,CAcD,EA+EqB,UAAC,KAAK,YAAK,OAAA,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,YAAY,KAAI,MAAM,CAAA,EAAA,EAKtE"}
|
|
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.Layout = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.Layout = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n --spacing: 30px;\n\n header {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n }\n\n .content_layout {\n width: 100%;\n display: flex;\n\n /* .false-menu {\n max-width: 285px;\n min-width: 285px;\n } */\n\n > div,\n header,\n main {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n }\n\n main {\n width: 100%;\n flex: 1;\n margin: var(--spacing) 0;\n }\n }\n\n @media only screen and (max-width: 1280px) {\n .content_layout {\n .false-menu {\n display: none;\n }\n }\n }\n"], ["\n --spacing: 30px;\n\n header {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n }\n\n .content_layout {\n width: 100%;\n display: flex;\n\n /* .false-menu {\n max-width: 285px;\n min-width: 285px;\n } */\n\n > div,\n header,\n main {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n }\n\n main {\n width: 100%;\n flex: 1;\n margin: var(--spacing) 0;\n }\n }\n\n @media only screen and (max-width: 1280px) {\n .content_layout {\n .false-menu {\n display: none;\n }\n }\n }\n"])));
|
|
12
|
+
exports.Layout = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n --spacing: 30px;\n\n header {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n }\n\n .content_layout {\n width: 100%;\n display: flex;\n position: relative;\n\n /* .false-menu {\n max-width: 285px;\n min-width: 285px;\n } */\n\n > div,\n header,\n main {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n }\n\n main {\n width: 100%;\n flex: 1;\n margin: var(--spacing) 0;\n }\n }\n\n @media only screen and (max-width: 1280px) {\n .content_layout {\n .false-menu {\n display: none;\n }\n }\n }\n"], ["\n --spacing: 30px;\n\n header {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n }\n\n .content_layout {\n width: 100%;\n display: flex;\n position: relative;\n\n /* .false-menu {\n max-width: 285px;\n min-width: 285px;\n } */\n\n > div,\n header,\n main {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n }\n\n main {\n width: 100%;\n flex: 1;\n margin: var(--spacing) 0;\n }\n }\n\n @media only screen and (max-width: 1280px) {\n .content_layout {\n .false-menu {\n display: none;\n }\n }\n }\n"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,MAAM,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,MAAM,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,ksBAAA,+nBAuClC,KAAA"}
|
|
@@ -14,5 +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("./sidebar/index.js"), exports);
|
|
17
18
|
__exportStar(require("./use-query/index.js"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/presentation/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/presentation/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.closeSidebar = exports.openSidebar = void 0;
|
|
4
|
+
function openSidebar() {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
if (process.browser) {
|
|
7
|
+
var sidebarElement = document === null || document === void 0 ? void 0 : document.getElementById('sidebar');
|
|
8
|
+
var sidebarOverlay = document === null || document === void 0 ? void 0 : document.getElementById('sidebar-overlay');
|
|
9
|
+
if (sidebarElement && sidebarOverlay) {
|
|
10
|
+
(_a = sidebarElement === null || sidebarElement === void 0 ? void 0 : sidebarElement.classList) === null || _a === void 0 ? void 0 : _a.add('open');
|
|
11
|
+
(_b = sidebarOverlay === null || sidebarOverlay === void 0 ? void 0 : sidebarOverlay.classList) === null || _b === void 0 ? void 0 : _b.add('open');
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
exports.openSidebar = openSidebar;
|
|
18
|
+
function closeSidebar() {
|
|
19
|
+
var _a, _b;
|
|
20
|
+
if (process.browser) {
|
|
21
|
+
var sidebarElement = document.getElementById('sidebar');
|
|
22
|
+
var sidebarOverlay = document === null || document === void 0 ? void 0 : document.getElementById('sidebar-overlay');
|
|
23
|
+
if (sidebarElement && sidebarOverlay) {
|
|
24
|
+
(_a = sidebarElement === null || sidebarElement === void 0 ? void 0 : sidebarElement.classList) === null || _a === void 0 ? void 0 : _a.remove('open');
|
|
25
|
+
(_b = sidebarOverlay === null || sidebarOverlay === void 0 ? void 0 : sidebarOverlay.classList) === null || _b === void 0 ? void 0 : _b.remove('open');
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
exports.closeSidebar = closeSidebar;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/utils/sidebar/index.ts"],"names":[],"mappings":";;;AAAA,SAAgB,WAAW;;IACzB,IAAK,OAAe,CAAC,OAAO,EAAE,CAAC;QAC7B,IAAM,cAAc,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,cAAc,CAAC,SAAS,CAAC,CAAA;QAC1D,IAAM,cAAc,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,cAAc,CAAC,iBAAiB,CAAC,CAAA;QAElE,IAAI,cAAc,IAAI,cAAc,EAAE,CAAC;YACrC,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,SAAS,0CAAE,GAAG,CAAC,MAAM,CAAC,CAAA;YACtC,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,SAAS,0CAAE,GAAG,CAAC,MAAM,CAAC,CAAA;YACtC,OAAM;QACR,CAAC;IACH,CAAC;IACD,OAAM;AACR,CAAC;AAZD,kCAYC;AAED,SAAgB,YAAY;;IAC1B,IAAK,OAAe,CAAC,OAAO,EAAE,CAAC;QAC7B,IAAM,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAA;QACzD,IAAM,cAAc,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,cAAc,CAAC,iBAAiB,CAAC,CAAA;QAElE,IAAI,cAAc,IAAI,cAAc,EAAE,CAAC;YACrC,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,SAAS,0CAAE,MAAM,CAAC,MAAM,CAAC,CAAA;YACzC,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,SAAS,0CAAE,MAAM,CAAC,MAAM,CAAC,CAAA;YACzC,OAAM;QACR,CAAC;IACH,CAAC;IACD,OAAM;AACR,CAAC;AAZD,oCAYC"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { LoadFile } from '../../../system/index.js';
|
|
2
|
-
|
|
2
|
+
interface ILoadFile extends LoadFile.Params {
|
|
3
|
+
fileName?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function loadFile(data: ILoadFile): Promise<void>;
|
|
6
|
+
export {};
|
|
@@ -40,8 +40,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
40
40
|
};
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
42
|
exports.loadFile = void 0;
|
|
43
|
-
var system_1 = require("../../../system/index.js");
|
|
44
43
|
var axios_1 = __importDefault(require("axios"));
|
|
44
|
+
var system_1 = require("../../../system/index.js");
|
|
45
45
|
function loadFile(data) {
|
|
46
46
|
return __awaiter(this, void 0, void 0, function () {
|
|
47
47
|
var token, response, type, blob, url, link;
|
|
@@ -65,7 +65,7 @@ function loadFile(data) {
|
|
|
65
65
|
link = document.createElement('a');
|
|
66
66
|
link.href = url;
|
|
67
67
|
link.type = type;
|
|
68
|
-
link.setAttribute('download', 'download-file');
|
|
68
|
+
link.setAttribute('download', (data === null || data === void 0 ? void 0 : data.fileName) || 'download-file');
|
|
69
69
|
document.body.appendChild(link);
|
|
70
70
|
link.click();
|
|
71
71
|
return [2 /*return*/];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-file.js","sourceRoot":"","sources":["../../../../src/ui/utils/file/load-file.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"load-file.js","sourceRoot":"","sources":["../../../../src/ui/utils/file/load-file.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAyB;AACzB,mCAAmE;AAMnE,SAAsB,QAAQ,CAAC,IAAe;;;;;;wBAC9B,qBAAM,CAAA,MAAA,kBAAS,CAAC,GAAG,CAAU,mBAAU,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,0CAAE,KAAK,CAAA,EAAA;;oBAA5E,KAAK,GAAG,SAAoE;oBAEjE,qBAAM,eAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,iBAAiB,EAAE,IAAI,EAAE;4BAC3E,YAAY,EAAE,aAAa;4BAC3B,OAAO,EAAE;gCACP,aAAa,EAAE,SAAS,GAAG,KAAK;6BACjC;yBACF,CAAC,EAAA;;oBALI,QAAQ,GAAG,SAKf;oBAEI,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC,CAAA;oBACvC,IAAI,GAAG,IAAI,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,MAAA,EAAE,CAAC,CAAA;oBAE1C,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,CAAA;oBAEtC,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;oBACxC,IAAI,CAAC,IAAI,GAAG,GAAG,CAAA;oBACf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;oBAChB,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,KAAI,eAAe,CAAC,CAAA;oBAChE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;oBAC/B,IAAI,CAAC,KAAK,EAAE,CAAA;;;;;CACb;AArBD,4BAqBC"}
|
package/package.json
CHANGED
|
@@ -1,76 +1,77 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "infinity-forge",
|
|
3
|
-
"version": "0.31.
|
|
4
|
-
"description": "codie Library",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"module": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/CodieDigital/codiedigital-library"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"dev": "next -p 3050",
|
|
14
|
-
"start": "next start -p 3015",
|
|
15
|
-
"build": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w --resolve-full-paths\"",
|
|
16
|
-
"nextBuild": "next build",
|
|
17
|
-
"build:esm": "tsc",
|
|
18
|
-
"build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\ "
|
|
19
|
-
},
|
|
20
|
-
"peerDependencies": {
|
|
21
|
-
"react": ">=16"
|
|
22
|
-
},
|
|
23
|
-
"files": [
|
|
24
|
-
"dist",
|
|
25
|
-
"LICENSE",
|
|
26
|
-
"README.md"
|
|
27
|
-
],
|
|
28
|
-
"keywords": [
|
|
29
|
-
"react",
|
|
30
|
-
"typescript",
|
|
31
|
-
"awesome-project"
|
|
32
|
-
],
|
|
33
|
-
"author": "Codie Digital",
|
|
34
|
-
"license": "MIT",
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@types/node": "^18.11.7",
|
|
37
|
-
"@types/react": "^18.0.12",
|
|
38
|
-
"@types/react-dom": "^18.2.18",
|
|
39
|
-
"prettier": "^2.6.2",
|
|
40
|
-
"react": "^18.1.0",
|
|
41
|
-
"react-dom": "^18.2.0",
|
|
42
|
-
"tslib": "^2.4.1",
|
|
43
|
-
"typescript": "^5.4.5"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"react-
|
|
59
|
-
"react-
|
|
60
|
-
"react-
|
|
61
|
-
"react-
|
|
62
|
-
"react-
|
|
63
|
-
"react-
|
|
64
|
-
"react-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"semantic-ui-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "infinity-forge",
|
|
3
|
+
"version": "0.31.6",
|
|
4
|
+
"description": "codie Library",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/CodieDigital/codiedigital-library"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "next -p 3050",
|
|
14
|
+
"start": "next start -p 3015",
|
|
15
|
+
"build": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w --resolve-full-paths\"",
|
|
16
|
+
"nextBuild": "next build",
|
|
17
|
+
"build:esm": "tsc",
|
|
18
|
+
"build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\ "
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"react": ">=16"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"LICENSE",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
28
|
+
"keywords": [
|
|
29
|
+
"react",
|
|
30
|
+
"typescript",
|
|
31
|
+
"awesome-project"
|
|
32
|
+
],
|
|
33
|
+
"author": "Codie Digital",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@types/node": "^18.11.7",
|
|
37
|
+
"@types/react": "^18.0.12",
|
|
38
|
+
"@types/react-dom": "^18.2.18",
|
|
39
|
+
"prettier": "^2.6.2",
|
|
40
|
+
"react": "^18.1.0",
|
|
41
|
+
"react-dom": "^18.2.0",
|
|
42
|
+
"tslib": "^2.4.1",
|
|
43
|
+
"typescript": "^5.4.5"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@nextui-org/react": "^2.3.5",
|
|
47
|
+
"@react-input/mask": "^1.0.21",
|
|
48
|
+
"@types/styled-components": "^5.1.34",
|
|
49
|
+
"aos": "^2.3.4",
|
|
50
|
+
"axios": "^1.4.0",
|
|
51
|
+
"chroma-js": "^2.4.2",
|
|
52
|
+
"concurrently": "^8.2.2",
|
|
53
|
+
"formik": "^2.4.5",
|
|
54
|
+
"inversify": "^6.0.2",
|
|
55
|
+
"js-cookie": "^3.0.5",
|
|
56
|
+
"moment": "^2.30.1",
|
|
57
|
+
"next": "^13.1.6",
|
|
58
|
+
"react-countup": "^6.5.0",
|
|
59
|
+
"react-currency-input-field": "^3.8.0",
|
|
60
|
+
"react-error-boundary": "^3.1.4",
|
|
61
|
+
"react-ga": "^3.3.1",
|
|
62
|
+
"react-glider": "^4.0.2",
|
|
63
|
+
"react-select": "^5.8.0",
|
|
64
|
+
"react-semantic-ui-datepickers": "^2.17.2",
|
|
65
|
+
"react-slick": "^0.30.2",
|
|
66
|
+
"reflect-metadata": "^0.2.1",
|
|
67
|
+
"semantic-ui-css": "^2.5.0",
|
|
68
|
+
"semantic-ui-react": "^2.1.5",
|
|
69
|
+
"sharp": "^0.33.2",
|
|
70
|
+
"slick-carousel": "^1.8.1",
|
|
71
|
+
"styled-components": "^6.1.8",
|
|
72
|
+
"swr": "^2.2.5",
|
|
73
|
+
"tsc-alias": "^1.8.8",
|
|
74
|
+
"yup": "^1.3.3",
|
|
75
|
+
"zustand": "^4.3.8"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/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,IACjB,EAH4B,CAG5B;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,IAChB,EAHgC,CAGhC;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"}
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/select-workspace/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,2BAA0C;AAE1C,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"}
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js
DELETED
|
@@ -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.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 padding: 20px 15px 0 0;\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 .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: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\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 padding: 20px 15px 0 0;\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 .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: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\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
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,2rCAAA,wnCAiExC,KAAA"}
|
|
File without changes
|
|
File without changes
|