infinity-forge 0.40.4 → 0.40.8
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/select-workspace/custom-styles.js +2 -2
- package/dist/system/presentation/components/data/select-workspace/custom-styles.js.map +1 -1
- package/dist/system/presentation/components/layout/component.js +1 -1
- package/dist/system/presentation/components/layout/component.js.map +1 -1
- package/dist/system/presentation/components/layout/header/version-01/styles.js +1 -1
- package/dist/system/presentation/components/layout/header/version-01/styles.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/styles.js +1 -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/ui/utils/format/index.d.ts +1 -0
- package/dist/ui/utils/format/index.js +18 -0
- package/dist/ui/utils/format/index.js.map +1 -0
- package/dist/ui/utils/format/remove-digits.d.ts +1 -0
- package/dist/ui/utils/format/remove-digits.js +8 -0
- package/dist/ui/utils/format/remove-digits.js.map +1 -0
- package/dist/ui/utils/index.d.ts +1 -0
- package/dist/ui/utils/index.js +1 -0
- package/dist/ui/utils/index.js.map +1 -1
- package/dist/ui/utils/validations/index.d.ts +1 -0
- package/dist/ui/utils/validations/index.js +1 -0
- package/dist/ui/utils/validations/index.js.map +1 -1
- package/dist/ui/utils/validations/validate-email.d.ts +1 -0
- package/dist/ui/utils/validations/validate-email.js +12 -0
- package/dist/ui/utils/validations/validate-email.js.map +1 -0
- package/package.json +1 -1
|
@@ -13,9 +13,9 @@ 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: '40px', maxHeight: '40px', width: '
|
|
16
|
+
control: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '40px', maxHeight: '40px', width: '255px', background: 'rgba(255,255,255, 0.2)', border: 0 })); },
|
|
17
17
|
menu: function (provided, state) { return (__assign(__assign({}, provided), { zIndex: '9999' })); },
|
|
18
|
-
placeholder: function (provided, state) { return (__assign(__assign({}, provided), { fontSize: '
|
|
18
|
+
placeholder: function (provided, state) { return (__assign(__assign({}, provided), { fontSize: '13px', color: '#fff' })); },
|
|
19
19
|
valueContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '40px', padding: '0 10px' })); },
|
|
20
20
|
input: function (provided, state) { return (__assign(__assign({}, provided), { margin: '0px', padding: '0px', height: '40px', minHeight: '40px' })); },
|
|
21
21
|
indicatorSeparator: function (state) { return ({
|
|
@@ -1 +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,
|
|
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;IACF,IAAI,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACtB,QAAQ,KACX,MAAM,EAAE,MAAM,IAEd,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,IAEjB,EAP0B,CAO1B;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;IACF,MAAM,EAAE,UAAC,QAAQ,IAAK,OAAA,uBACjB,QAAQ,KACT,OAAO,EAAE,UAAU,IACrB,EAHoB,CAGpB;CACH,CAAA"}
|
|
@@ -41,7 +41,7 @@ var menu_1 = require("./menu/index.js");
|
|
|
41
41
|
var S = __importStar(require("./styles.js"));
|
|
42
42
|
function Layout(props) {
|
|
43
43
|
var isFixedSideBar = props === null || props === void 0 ? void 0 : props.fixedSidebar;
|
|
44
|
-
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", { style: { maxWidth: isFixedSideBar ? '100%' : 'calc(100% - 285px)' }, children: props.children }))] })] }));
|
|
44
|
+
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", { className: isFixedSideBar ? '' : 'hasMenu', style: { maxWidth: isFixedSideBar ? '100%' : 'calc(100% - 285px)' }, children: props.children }))] })] }));
|
|
45
45
|
}
|
|
46
46
|
exports.Layout = Layout;
|
|
47
47
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,+BAAoC;AAIpC,0CAA6B;AAE7B,SAAgB,MAAM,CAAC,KAAc;IACnC,IAAM,cAAc,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAA;IAE1C,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,CACjB,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,+BAAoC;AAIpC,0CAA6B;AAE7B,SAAgB,MAAM,CAAC,KAAc;IACnC,IAAM,cAAc,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAA;IAE1C,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,CACjB,iCACE,SAAS,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,EAC1C,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,oBAAoB,EAAE,YAElE,KAAK,CAAC,QAAQ,GACV,CACR,IACG,IACG,CACZ,CAAA;AACH,CAAC;AArBD,wBAqBC"}
|
|
@@ -9,7 +9,7 @@ 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: 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) {
|
|
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: 1700px) {\n .logo-wrapper,\n .container.left {\n max-width: 280px;\n }\n }\n\n @media only screen and (max-width: 1650px) {\n .logo-wrapper,\n .container.left {\n max-width: 275px;\n }\n }\n\n @media only screen and (max-width: 1600px) {\n .logo-wrapper,\n .container.left {\n max-width: 270px;\n }\n }\n\n @media only screen and (max-width: 1550px) {\n .logo-wrapper,\n .container.left {\n max-width: 265px;\n }\n }\n\n @media only screen and (max-width: 1500px) {\n .logo-wrapper,\n .container.left {\n max-width: 260px;\n }\n }\n\n @media only screen and (max-width: 1450px) {\n .logo-wrapper,\n .container.left {\n max-width: 255px;\n }\n }\n\n @media only screen and (max-width: 1400px) {\n .logo-wrapper,\n .container.left {\n max-width: 250px;\n }\n }\n\n @media only screen and (max-width: 1350px) {\n .logo-wrapper,\n .container.left {\n max-width: 245px;\n }\n }\n\n @media only screen and (max-width: 1200px) {\n .logo-wrapper,\n .container.left {\n max-width: 240px;\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: 1700px) {\n .logo-wrapper,\n .container.left {\n max-width: 280px;\n }\n }\n\n @media only screen and (max-width: 1650px) {\n .logo-wrapper,\n .container.left {\n max-width: 275px;\n }\n }\n\n @media only screen and (max-width: 1600px) {\n .logo-wrapper,\n .container.left {\n max-width: 270px;\n }\n }\n\n @media only screen and (max-width: 1550px) {\n .logo-wrapper,\n .container.left {\n max-width: 265px;\n }\n }\n\n @media only screen and (max-width: 1500px) {\n .logo-wrapper,\n .container.left {\n max-width: 260px;\n }\n }\n\n @media only screen and (max-width: 1450px) {\n .logo-wrapper,\n .container.left {\n max-width: 255px;\n }\n }\n\n @media only screen and (max-width: 1400px) {\n .logo-wrapper,\n .container.left {\n max-width: 250px;\n }\n }\n\n @media only screen and (max-width: 1350px) {\n .logo-wrapper,\n .container.left {\n max-width: 245px;\n }\n }\n\n @media only screen and (max-width: 1200px) {\n .logo-wrapper,\n .container.left {\n max-width: 240px;\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
13
|
return props.$hasSidebarButton &&
|
|
14
14
|
"\n .container {\n .left {\n width: fit-content !important;\n }\n\n .right {\n padding-left: 0 !important;\n }\n }\n ";
|
|
15
15
|
});
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,krEAAoB,wFAKhD,EAAmC,yGAK/C,EAYD,06DA+GF,KAhIe,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,EAAxB,CAAwB,EAK/C,UAAC,KAAK;IACN,OAAA,KAAK,CAAC,iBAAiB;QACvB,gJAUD;AAXC,CAWD,EA+GF"}
|
|
@@ -9,7 +9,7 @@ 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 ", "\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 left: 0;\n top: 60px;\n height: 100%;\n min-height: calc(100vh - 60px);\n z-index: 999;\n background: #fff;\n /* max-height: calc(100vh - 60px); */\n position: sticky;\n\n /* overflow-y: auto; */\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 left: 0;\n top: 60px;\n height: 100%;\n min-height: calc(100vh - 60px);\n z-index: 999;\n background: #fff;\n /* max-height: calc(100vh - 60px); */\n position: sticky;\n\n /* overflow-y: auto; */\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) {
|
|
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 left: 0;\n top: 60px;\n height: 100%;\n min-height: calc(100vh - 60px);\n z-index: 999;\n background: #fff;\n /* max-height: calc(100vh - 60px); */\n position: sticky;\n\n /* overflow-y: auto; */\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: 1700px) {\n > #sidebar {\n width: 280px;\n }\n }\n\n @media only screen and (max-width: 1650px) {\n > #sidebar {\n width: 275px;\n }\n }\n\n @media only screen and (max-width: 1600px) {\n > #sidebar {\n width: 270px;\n }\n }\n\n @media only screen and (max-width: 1550px) {\n > #sidebar {\n width: 265px;\n }\n }\n\n @media only screen and (max-width: 1500px) {\n > #sidebar {\n width: 260px;\n }\n }\n\n @media only screen and (max-width: 1450px) {\n > #sidebar {\n width: 255px;\n }\n }\n\n @media only screen and (max-width: 1400px) {\n > #sidebar {\n width: 250px;\n }\n }\n\n @media only screen and (max-width: 1350px) {\n > #sidebar {\n width: 245px;\n }\n }\n\n @media only screen and (max-width: 1200px) {\n > #sidebar {\n width: 240px;\n }\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 left: 0;\n top: 60px;\n height: 100%;\n min-height: calc(100vh - 60px);\n z-index: 999;\n background: #fff;\n /* max-height: calc(100vh - 60px); */\n position: sticky;\n\n /* overflow-y: auto; */\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: 1700px) {\n > #sidebar {\n width: 280px;\n }\n }\n\n @media only screen and (max-width: 1650px) {\n > #sidebar {\n width: 275px;\n }\n }\n\n @media only screen and (max-width: 1600px) {\n > #sidebar {\n width: 270px;\n }\n }\n\n @media only screen and (max-width: 1550px) {\n > #sidebar {\n width: 265px;\n }\n }\n\n @media only screen and (max-width: 1500px) {\n > #sidebar {\n width: 260px;\n }\n }\n\n @media only screen and (max-width: 1450px) {\n > #sidebar {\n width: 255px;\n }\n }\n\n @media only screen and (max-width: 1400px) {\n > #sidebar {\n width: 250px;\n }\n }\n\n @media only screen and (max-width: 1350px) {\n > #sidebar {\n width: 245px;\n }\n }\n\n @media only screen and (max-width: 1200px) {\n > #sidebar {\n width: 240px;\n }\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
13
|
return props.$isFixed &&
|
|
14
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
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'; });
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,6iFAAqB,0BAGjE,EAeD,u6EAwIqB,EAA+C,qCAKtE,KA5JG,UAAC,KAAK;IACN,OAAA,KAAK,CAAC,QAAQ;QACd,6PAaD;AAdC,CAcD,EAwIqB,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 width: 100%;\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
|
|
12
|
+
exports.Layout = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n --spacing: clamp(15px, 1.56vw, 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 > 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 &.hasMenu {\n max-width: calc(100% - 285px);\n }\n }\n }\n\n @media only screen and (max-width: 1700px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 280px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1650px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 275px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 270px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1550px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 265px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1500px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 260px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1450px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 255px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1400px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 250px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1350px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 245px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1200px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 240px);\n }\n }\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 width: 100%;\n --spacing: clamp(15px, 1.56vw, 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 > 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 &.hasMenu {\n max-width: calc(100% - 285px);\n }\n }\n }\n\n @media only screen and (max-width: 1700px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 280px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1650px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 275px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 270px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1550px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 265px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1500px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 260px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1450px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 255px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1400px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 250px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1350px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 245px);\n }\n }\n }\n }\n\n @media only screen and (max-width: 1200px) {\n .content_layout {\n main {\n &.hasMenu {\n max-width: calc(100% - 240px);\n }\n }\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,+zEAAA,4vEAiIlC,KAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './remove-digits.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./remove-digits.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/format/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function removeDigits(word: string): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeDigits = void 0;
|
|
4
|
+
function removeDigits(word) {
|
|
5
|
+
return word === null || word === void 0 ? void 0 : word.replace(/[^0-9]/g, "");
|
|
6
|
+
}
|
|
7
|
+
exports.removeDigits = removeDigits;
|
|
8
|
+
//# sourceMappingURL=remove-digits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-digits.js","sourceRoot":"","sources":["../../../../src/ui/utils/format/remove-digits.ts"],"names":[],"mappings":";;;AAAA,SAAgB,YAAY,CAAC,IAAY;IACvC,OAAO,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;AACtC,CAAC;AAFD,oCAEC"}
|
package/dist/ui/utils/index.d.ts
CHANGED
package/dist/ui/utils/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./uid/index.js"), exports);
|
|
18
18
|
__exportStar(require("./file/index.js"), exports);
|
|
19
19
|
__exportStar(require("./libs/index.js"), exports);
|
|
20
|
+
__exportStar(require("./format/index.js"), exports);
|
|
20
21
|
__exportStar(require("./buffer/index.js"), exports);
|
|
21
22
|
__exportStar(require("./cookies.js"), exports);
|
|
22
23
|
__exportStar(require("./facebook/index.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,yCAAsB;AACtB,yCAAsB;AACtB,2CAAwB;AACxB,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,yCAAsB;AACtB,yCAAsB;AACtB,2CAAwB;AACxB,2CAAwB;AACxB,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B"}
|
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./validate-cpf.js"), exports);
|
|
18
|
+
__exportStar(require("./validate-email.js"), exports);
|
|
18
19
|
__exportStar(require("./validate-phone.js"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/validations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,mDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/validations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,mDAAgC;AAChC,mDAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function validateEmail(value: string): false | RegExpMatchArray;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateEmail = void 0;
|
|
4
|
+
function validateEmail(value) {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
if ((value === null || value === void 0 ? void 0 : value.length) > 0) {
|
|
7
|
+
return (_b = (_a = String(value)) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
exports.validateEmail = validateEmail;
|
|
12
|
+
//# sourceMappingURL=validate-email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-email.js","sourceRoot":"","sources":["../../../../src/ui/utils/validations/validate-email.ts"],"names":[],"mappings":";;;AAAA,SAAgB,aAAa,CAAC,KAAa;;IACzC,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,IAAG,CAAC,EAAE,CAAC;QACtB,OAAO,MAAA,MAAA,MAAM,CAAC,KAAK,CAAC,0CAChB,WAAW,EAAE,0CACb,KAAK,CACL,uJAAuJ,CACxJ,CAAA;IACL,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAVD,sCAUC"}
|