infinity-forge 0.32.7 → 0.32.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sites/hook/index.d.ts +3 -0
- package/dist/sites/hook/index.js +20 -0
- package/dist/sites/hook/index.js.map +1 -0
- package/dist/{ui/hooks/use-footer/index.js → sites/hook/use-footer.js} +1 -1
- package/dist/sites/hook/use-footer.js.map +1 -0
- package/dist/{ui/hooks/use-header/index.js → sites/hook/use-header.js} +1 -1
- package/dist/sites/hook/use-header.js.map +1 -0
- package/dist/sites/hook/useScreen.d.ts +5 -0
- package/dist/sites/hook/useScreen.js +36 -0
- package/dist/sites/hook/useScreen.js.map +1 -0
- package/dist/system/infra/http/axios-http-client.d.ts +1 -1
- package/dist/system/infra/http/axios-http-client.js +14 -15
- package/dist/system/infra/http/axios-http-client.js.map +1 -1
- package/dist/system/presentation/components/data/index.d.ts +2 -0
- package/dist/system/presentation/components/data/index.js +3 -0
- package/dist/system/presentation/components/data/index.js.map +1 -1
- package/dist/system/presentation/components/data/popover/index.d.ts +2 -0
- package/dist/system/presentation/components/data/popover/index.js +10 -0
- package/dist/system/presentation/components/data/popover/index.js.map +1 -0
- package/dist/system/presentation/components/data/popover/interfaces.d.ts +8 -0
- package/dist/system/presentation/components/data/popover/interfaces.js.map +1 -0
- 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/data/tab/index.d.ts +2 -0
- package/dist/system/presentation/components/data/tab/index.js +38 -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/menu/components/select-workspace/custom-styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/custom-styles.js +26 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/custom-styles.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.d.ts +17 -0
- package/dist/{ui/components/popover → system/presentation/components/layout/menu/components/select-workspace}/index.js +14 -18
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js +14 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map +1 -0
- package/dist/system/presentation/context/system-configs/context.d.ts +7 -0
- package/dist/system/presentation/context/system-configs/context.js +32 -0
- package/dist/system/presentation/context/system-configs/context.js.map +1 -0
- package/dist/system/presentation/context/system-configs/index.d.ts +2 -0
- package/dist/system/presentation/context/system-configs/index.js +19 -0
- package/dist/system/presentation/context/system-configs/index.js.map +1 -0
- package/dist/system/presentation/context/system-configs/interfaces.d.ts +4 -0
- package/dist/system/presentation/context/system-configs/interfaces.js +3 -0
- package/dist/system/presentation/context/system-configs/interfaces.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/ui/components/form/index.d.ts +1 -0
- package/dist/ui/components/form/index.js +1 -0
- package/dist/ui/components/form/index.js.map +1 -1
- package/dist/ui/components/form/input-date/index.js +1 -1
- package/dist/ui/components/form/input-date/index.js.map +1 -1
- package/dist/ui/components/form/input-date-range/index.d.ts +4 -0
- package/dist/ui/components/form/input-date-range/index.js +39 -0
- package/dist/ui/components/form/input-date-range/index.js.map +1 -0
- package/dist/ui/components/form/input-date-range/styles.d.ts +5 -0
- package/dist/ui/components/form/input-date-range/styles.js +14 -0
- package/dist/ui/components/form/input-date-range/styles.js.map +1 -0
- package/dist/ui/components/form/radio/styles.js +1 -1
- package/dist/ui/components/form/radio/styles.js.map +1 -1
- package/dist/ui/components/index.d.ts +0 -1
- package/dist/ui/components/index.js +0 -1
- package/dist/ui/components/index.js.map +1 -1
- package/dist/ui/contexts/theme/context.d.ts +10 -0
- package/dist/ui/contexts/theme/context.js +21 -0
- package/dist/ui/contexts/theme/context.js.map +1 -0
- package/dist/ui/contexts/theme/index.d.ts +2 -0
- package/dist/ui/contexts/theme/index.js +19 -0
- package/dist/ui/contexts/theme/index.js.map +1 -0
- package/dist/ui/contexts/theme/interfaces.d.ts +10 -0
- package/dist/ui/contexts/theme/interfaces.js +9 -0
- package/dist/ui/contexts/theme/interfaces.js.map +1 -0
- package/dist/ui/hooks/index.d.ts +0 -2
- package/dist/ui/hooks/index.js +0 -2
- package/dist/ui/hooks/index.js.map +1 -1
- package/package.json +80 -77
- package/dist/ui/components/popover/index.d.ts +0 -2
- package/dist/ui/components/popover/index.js.map +0 -1
- package/dist/ui/components/popover/interfaces.d.ts +0 -6
- package/dist/ui/components/popover/interfaces.js.map +0 -1
- package/dist/ui/components/popover/styles.d.ts +0 -5
- package/dist/ui/components/popover/styles.js +0 -17
- package/dist/ui/components/popover/styles.js.map +0 -1
- package/dist/ui/hooks/use-footer/index.js.map +0 -1
- package/dist/ui/hooks/use-header/index.js.map +0 -1
- /package/dist/{ui/hooks/use-footer/index.d.ts → sites/hook/use-footer.d.ts} +0 -0
- /package/dist/{ui/hooks/use-header/index.d.ts → sites/hook/use-header.d.ts} +0 -0
- /package/dist/{ui/components → system/presentation/components/data}/popover/interfaces.js +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
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("./useScreen.js"), exports);
|
|
18
|
+
__exportStar(require("./use-header.js"), exports);
|
|
19
|
+
__exportStar(require("./use-footer.js"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sites/hook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-footer.js","sourceRoot":"","sources":["../../../src/sites/hook/use-footer.tsx"],"names":[],"mappings":";;;AAAA,+BAA2C;AAE3C,SAAgB,SAAS;IACjB,IAAA,KAAkC,IAAA,gBAAQ,EAAC,CAAC,CAAC,EAA5C,YAAY,QAAA,EAAE,eAAe,QAAe,CAAA;IAEnD,SAAS,kBAAkB;QACzB,IAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,IAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAA;YACxC,eAAe,CAAC,YAAY,CAAC,CAAA;QAC/B,CAAC;IACH,CAAC;IAED,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,MAAM,EAAE,CAAC;YAClB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;YAErD,kBAAkB,EAAE,CAAA;QACtB,CAAC;QAED,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;QAC1D,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,EAAE,YAAY,cAAA,EAAE,CAAA;AACzB,CAAC;AAzBD,8BAyBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-header.js","sourceRoot":"","sources":["../../../src/sites/hook/use-header.tsx"],"names":[],"mappings":";;;AAAA,+BAA2C;AAE3C,SAAgB,SAAS;IACjB,IAAA,KAAkC,IAAA,gBAAQ,EAAC,CAAC,CAAC,EAA5C,YAAY,QAAA,EAAE,eAAe,QAAe,CAAA;IAEnD,SAAS,kBAAkB;QACzB,IAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,IAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAA;YACxC,eAAe,CAAC,YAAY,CAAC,CAAA;QAC/B,CAAC;IACH,CAAC;IAED,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,MAAM,EAAE,CAAC;YAClB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;YAErD,kBAAkB,EAAE,CAAA;QACtB,CAAC;QAED,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;QAC1D,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,EAAE,YAAY,cAAA,EAAE,CAAA;AACzB,CAAC;AAzBD,8BAyBC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useScreen = void 0;
|
|
4
|
+
var react_1 = require("react");
|
|
5
|
+
function useScreen() {
|
|
6
|
+
var _a = (0, react_1.useState)(false), isFixed = _a[0], setIsFixed = _a[1];
|
|
7
|
+
var _b = (0, react_1.useState)({ width: 0, height: 0 }), screenInfo = _b[0], setScreenInfo = _b[1];
|
|
8
|
+
(0, react_1.useEffect)(function () {
|
|
9
|
+
function handleScroll() {
|
|
10
|
+
if (window.scrollY > 50) {
|
|
11
|
+
setIsFixed(true);
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
setIsFixed(false);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function handleScreenSize() {
|
|
18
|
+
setScreenInfo({ width: window.innerWidth, height: window.innerHeight });
|
|
19
|
+
}
|
|
20
|
+
handleScroll();
|
|
21
|
+
handleScreenSize();
|
|
22
|
+
window.addEventListener('resize', handleScreenSize);
|
|
23
|
+
window.addEventListener('scroll', handleScroll);
|
|
24
|
+
return function () {
|
|
25
|
+
window.removeEventListener('resize', handleScreenSize);
|
|
26
|
+
window.removeEventListener('scroll', handleScroll);
|
|
27
|
+
};
|
|
28
|
+
}, []);
|
|
29
|
+
return {
|
|
30
|
+
isFixed: isFixed,
|
|
31
|
+
width: screenInfo.width,
|
|
32
|
+
height: screenInfo.height,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
exports.useScreen = useScreen;
|
|
36
|
+
//# sourceMappingURL=useScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScreen.js","sourceRoot":"","sources":["../../../src/sites/hook/useScreen.tsx"],"names":[],"mappings":";;;AAAA,+BAA2C;AAE3C,SAAgB,SAAS;IACjB,IAAA,KAAwB,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAtC,OAAO,QAAA,EAAE,UAAU,QAAmB,CAAA;IACvC,IAAA,KAA8B,IAAA,gBAAQ,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,EAA9D,UAAU,QAAA,EAAE,aAAa,QAAqC,CAAA;IAErE,IAAA,iBAAS,EAAC;QACR,SAAS,YAAY;YACnB,IAAI,MAAM,CAAC,OAAO,GAAG,EAAE,EAAE,CAAC;gBACxB,UAAU,CAAC,IAAI,CAAC,CAAA;YAClB,CAAC;iBAAM,CAAC;gBACN,UAAU,CAAC,KAAK,CAAC,CAAA;YACnB,CAAC;QACH,CAAC;QAED,SAAS,gBAAgB;YACvB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,CAAC,CAAA;QACzE,CAAC;QAED,YAAY,EAAE,CAAA;QACd,gBAAgB,EAAE,CAAA;QAElB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAA;QACnD,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAA;QAE/C,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAA;YACtD,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAA;QACpD,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO;QACL,OAAO,SAAA;QACP,KAAK,EAAE,UAAU,CAAC,KAAK;QACvB,MAAM,EAAE,UAAU,CAAC,MAAM;KAC1B,CAAA;AACH,CAAC;AAlCD,8BAkCC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpClient, HttpRequest, HttpResponse } from '../../../system/
|
|
1
|
+
import { HttpClient, HttpRequest, HttpResponse } from '../../../system/index.js';
|
|
2
2
|
export declare class AxiosHttpClient implements HttpClient {
|
|
3
3
|
request(payload: HttpRequest): Promise<HttpResponse>;
|
|
4
4
|
}
|
|
@@ -59,8 +59,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
59
59
|
exports.AxiosHttpClient = void 0;
|
|
60
60
|
var inversify_1 = require("inversify");
|
|
61
61
|
var axios_1 = __importDefault(require("axios"));
|
|
62
|
-
var
|
|
63
|
-
var conflict_error_1 = require("../../../system/domain/protocols/http/errors/http-errors/conflict-error.js");
|
|
62
|
+
var system_1 = require("../../../system/index.js");
|
|
64
63
|
var AxiosHttpClient = /** @class */ (function () {
|
|
65
64
|
function AxiosHttpClient() {
|
|
66
65
|
}
|
|
@@ -109,24 +108,24 @@ var AxiosHttpClient = /** @class */ (function () {
|
|
|
109
108
|
case 4:
|
|
110
109
|
_a = _b, status = _a.status, data = _a.data;
|
|
111
110
|
switch (status) {
|
|
112
|
-
case
|
|
111
|
+
case system_1.HttpStatusCode.ok:
|
|
113
112
|
return [2 /*return*/, data];
|
|
114
|
-
case
|
|
113
|
+
case system_1.HttpStatusCode.okNoContent:
|
|
115
114
|
return [2 /*return*/, data];
|
|
116
|
-
case
|
|
115
|
+
case system_1.HttpStatusCode.okPost:
|
|
117
116
|
return [2 /*return*/, data];
|
|
118
|
-
case
|
|
117
|
+
case system_1.HttpStatusCode.okCreated:
|
|
119
118
|
return [2 /*return*/, data];
|
|
120
|
-
case
|
|
121
|
-
throw new
|
|
122
|
-
case
|
|
123
|
-
throw new
|
|
124
|
-
case
|
|
125
|
-
throw new
|
|
126
|
-
case
|
|
127
|
-
throw new
|
|
119
|
+
case system_1.HttpStatusCode.unauthorized:
|
|
120
|
+
throw new system_1.UnauthorizedError({ code: '401', message: '' });
|
|
121
|
+
case system_1.HttpStatusCode.unprocessableEntity:
|
|
122
|
+
throw new system_1.ValidationError(data.validationErrors);
|
|
123
|
+
case system_1.HttpStatusCode.conflict:
|
|
124
|
+
throw new system_1.ConflictError({ message: data.message, code: '409' });
|
|
125
|
+
case system_1.HttpStatusCode.badRequest:
|
|
126
|
+
throw new system_1.BadRequestError({ message: data.message, code: '400' });
|
|
128
127
|
default: {
|
|
129
|
-
throw new
|
|
128
|
+
throw new system_1.BadRequestError({ message: 'Internal Server Error', code: '500' });
|
|
130
129
|
}
|
|
131
130
|
}
|
|
132
131
|
return [2 /*return*/];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axios-http-client.js","sourceRoot":"","sources":["../../../../src/system/infra/http/axios-http-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAsC;AAEtC,
|
|
1
|
+
{"version":3,"file":"axios-http-client.js","sourceRoot":"","sources":["../../../../src/system/infra/http/axios-http-client.ts"],"names":[],"mappings":"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"}
|
|
@@ -4,9 +4,11 @@ export * from './avatar/index.js';
|
|
|
4
4
|
export * from './overlay/index.js';
|
|
5
5
|
export * from './buttons/index.js';
|
|
6
6
|
export * from './sign-up/index.js';
|
|
7
|
+
export * from './popover/index.js';
|
|
7
8
|
export * from './detail-card/index.js';
|
|
8
9
|
export * from './highlight-icon/index.js';
|
|
9
10
|
export * from './input-search/index.js';
|
|
10
11
|
export * from './page-wrapper/index.js';
|
|
12
|
+
export * from './profile-infos/index.js';
|
|
11
13
|
export * from './highlight-text/index.js';
|
|
12
14
|
export * from './select-workspace/index.js';
|
|
@@ -14,16 +14,19 @@ 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
|
+
// export * from './tab/index.js'
|
|
17
18
|
__exportStar(require("./chat/index.js"), exports);
|
|
18
19
|
__exportStar(require("./logo/index.js"), exports);
|
|
19
20
|
__exportStar(require("./avatar/index.js"), exports);
|
|
20
21
|
__exportStar(require("./overlay/index.js"), exports);
|
|
21
22
|
__exportStar(require("./buttons/index.js"), exports);
|
|
22
23
|
__exportStar(require("./sign-up/index.js"), exports);
|
|
24
|
+
__exportStar(require("./popover/index.js"), exports);
|
|
23
25
|
__exportStar(require("./detail-card/index.js"), exports);
|
|
24
26
|
__exportStar(require("./highlight-icon/index.js"), exports);
|
|
25
27
|
__exportStar(require("./input-search/index.js"), exports);
|
|
26
28
|
__exportStar(require("./page-wrapper/index.js"), exports);
|
|
29
|
+
__exportStar(require("./profile-infos/index.js"), exports);
|
|
27
30
|
__exportStar(require("./highlight-text/index.js"), exports);
|
|
28
31
|
__exportStar(require("./select-workspace/index.js"), exports);
|
|
29
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,yCAAsB;AACtB,2CAAwB;AACxB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,gDAA6B;AAC7B,mDAAgC;AAChC,iDAA8B;AAC9B,iDAA8B;AAC9B,mDAAgC;AAChC,qDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAAwB;AACxB,yCAAsB;AACtB,yCAAsB;AACtB,2CAAwB;AACxB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,gDAA6B;AAC7B,mDAAgC;AAChC,iDAA8B;AAC9B,iDAA8B;AAC9B,kDAA+B;AAC/B,mDAAgC;AAChC,qDAAkC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Popover = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
function Popover(_a) {
|
|
6
|
+
var title = _a.title, children = _a.children, forceClose = _a.forceClose;
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Popover Fazer do zero" }));
|
|
8
|
+
}
|
|
9
|
+
exports.Popover = Popover;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/popover/index.tsx"],"names":[],"mappings":";;;;AAIA,SAAgB,OAAO,CAAC,EAAmD;QAAjD,KAAK,WAAA,EAAE,QAAQ,cAAA,EAAE,UAAU,gBAAA;IAGnD,OAAO,CACL,qFAEG,CACJ,CAAA;AACH,CAAC;AARD,0BAQC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/popover/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ProfileInfos = void 0;
|
|
38
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
+
var ui_1 = require("../../../../../ui/index.js");
|
|
40
|
+
var profile_1 = require("./profile/index.js");
|
|
41
|
+
var detail_card_1 = require("../detail-card/index.js");
|
|
42
|
+
var S = __importStar(require("./styles.js"));
|
|
43
|
+
function ProfileInfos(_a) {
|
|
44
|
+
var profile = _a.profile, details = _a.details;
|
|
45
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'ProfileInfos', children: (0, jsx_runtime_1.jsxs)(S.ProfileInfos, { children: [profile && (0, jsx_runtime_1.jsx)(profile_1.Profile, __assign({}, profile)), details && ((0, jsx_runtime_1.jsx)("div", { className: 'details-box', children: details.map(function (detail) { return ((0, jsx_runtime_1.jsx)(detail_card_1.DetailCard, __assign({}, detail), 'detail-card' + detail.id)); }) }))] }) }));
|
|
46
|
+
}
|
|
47
|
+
exports.ProfileInfos = ProfileInfos;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/profile-infos/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAE5B,qCAAmC;AACnC,8CAA2C;AAI3C,0CAA6B;AAE7B,SAAgB,YAAY,CAAC,EAAmC;QAAjC,OAAO,aAAA,EAAE,OAAO,aAAA;IAC7C,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YACxB,wBAAC,CAAC,CAAC,YAAY,eACZ,OAAO,IAAI,uBAAC,iBAAO,eAAK,OAAO,EAAI,EAEnC,OAAO,IAAI,CACV,gCAAK,SAAS,EAAC,aAAa,YACzB,OAAO,CAAC,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,CACvB,uBAAC,wBAAU,eAAqC,MAAM,GAArC,aAAa,GAAG,MAAM,CAAC,EAAE,CAAgB,CAC3D,EAFwB,CAExB,CAAC,GACE,CACP,IACc,GACX,CACT,CAAA;AACH,CAAC;AAhBD,oCAgBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/profile-infos/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.Profile = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
29
|
+
var highlight_text_1 = require("../../highlight-text/index.js");
|
|
30
|
+
var S = __importStar(require("./styles.js"));
|
|
31
|
+
function Profile(_a) {
|
|
32
|
+
var image = _a.image, name = _a.name, status = _a.status, tag = _a.tag, tags = _a.tags;
|
|
33
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Profile', children: (0, jsx_runtime_1.jsxs)(S.Profile, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'avatar', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: image || '/images/profile-default.png' }) }), (0, jsx_runtime_1.jsxs)("div", { children: [name && (0, jsx_runtime_1.jsx)("h1", { children: name }), status && ((0, jsx_runtime_1.jsx)("span", { className: 'status', children: (0, jsx_runtime_1.jsx)(highlight_text_1.HighlightText, { text: status === null || status === void 0 ? void 0 : status.text, color: status === null || status === void 0 ? void 0 : status.color }) })), (0, jsx_runtime_1.jsxs)("div", { className: 'infos', children: [tag && (0, jsx_runtime_1.jsxs)("span", { children: ["RG ", tag] }), tags && (0, jsx_runtime_1.jsx)("div", { dangerouslySetInnerHTML: { __html: tags } })] })] })] }) }));
|
|
34
|
+
}
|
|
35
|
+
exports.Profile = Profile;
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/data/profile-infos/profile/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAuC;AAEvC,uDAAoD;AAIpD,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAAiD;QAA/C,KAAK,WAAA,EAAE,IAAI,UAAA,EAAE,MAAM,YAAA,EAAE,GAAG,SAAA,EAAE,IAAI,UAAA;IACtD,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,eACR,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,cAAS,IAAC,GAAG,EAAE,KAAK,IAAI,6BAA6B,GAAI,GACtD,EAEN,4CACG,IAAI,IAAI,yCAAK,IAAI,GAAM,EAEvB,MAAM,IAAI,CACT,iCAAM,SAAS,EAAC,QAAQ,YACtB,uBAAC,8BAAa,IAAC,IAAI,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,GAAI,GACtD,CACR,EAED,iCAAK,SAAS,EAAC,OAAO,aACnB,GAAG,IAAI,oDAAU,GAAG,IAAQ,EAE5B,IAAI,IAAI,gCAAK,uBAAuB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAI,IACvD,IACF,IACI,GACN,CACT,CAAA;AACH,CAAC;AA1BD,0BA0BC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/data/profile-infos/profile/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react/experimental" />
|
|
3
|
+
export declare const Profile: 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.Profile = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.Profile = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: fit-content;\n display: flex;\n gap: 20px;\n\n .avatar {\n width: 155px;\n height: 155px;\n border-radius: 5px;\n overflow: hidden;\n }\n\n > div {\n span {\n display: flex;\n align-items: center;\n gap: 5px;\n }\n\n h1 {\n color: ", ";\n font-size: 32px;\n font-weight: 700;\n text-transform: capitalize;\n }\n\n .status {\n margin: 10px 0;\n font-size: 12px;\n\n > div {\n height: 22px;\n border-radius: 100rem;\n }\n }\n\n .infos {\n svg {\n width: 16.67px;\n height: auto;\n }\n\n > span + span {\n margin-top: 5px;\n }\n\n > span {\n color: #828282;\n font-size: 14px;\n }\n }\n }\n"], ["\n width: fit-content;\n display: flex;\n gap: 20px;\n\n .avatar {\n width: 155px;\n height: 155px;\n border-radius: 5px;\n overflow: hidden;\n }\n\n > div {\n span {\n display: flex;\n align-items: center;\n gap: 5px;\n }\n\n h1 {\n color: ", ";\n font-size: 32px;\n font-weight: 700;\n text-transform: capitalize;\n }\n\n .status {\n margin: 10px 0;\n font-size: 12px;\n\n > div {\n height: 22px;\n border-radius: 100rem;\n }\n }\n\n .infos {\n svg {\n width: 16.67px;\n height: auto;\n }\n\n > span + span {\n margin-top: 5px;\n }\n\n > span {\n color: #828282;\n font-size: 14px;\n }\n }\n }\n"])), function (props) { return props.theme.darkColor; });
|
|
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/profile/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,20BAAA,kSAoBrB,EAAgC,oeAgC9C,KAhCc,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAArB,CAAqB,EAgC9C"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react/experimental" />
|
|
3
|
+
export declare const ProfileInfos: 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.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"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 S = __importStar(require("./styles.js"));
|
|
30
|
+
function Tab(_a) {
|
|
31
|
+
var tabs = _a.tabs;
|
|
32
|
+
if (!tabs) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Tab', children: (0, jsx_runtime_1.jsx)(S.Tab, {}) }));
|
|
36
|
+
}
|
|
37
|
+
exports.Tab = Tab;
|
|
38
|
+
//# 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;AAK5B,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,KA6BE,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"}
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/custom-styles.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.customStyles = void 0;
|
|
15
|
+
exports.customStyles = {
|
|
16
|
+
control: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '60px' })); },
|
|
17
|
+
menu: function (provided, state) { return (__assign(__assign({}, provided), { zIndex: '9999', padding: '5px 15px' })); },
|
|
18
|
+
placeholder: function (provided, state) { return (__assign(__assign({}, provided), { fontSize: '14px' })); },
|
|
19
|
+
valueContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '60px', padding: '0 15px' })); },
|
|
20
|
+
input: function (provided, state) { return (__assign(__assign({}, provided), { margin: '0px', padding: '0px', height: '60px', minHeight: '60px' })); },
|
|
21
|
+
indicatorSeparator: function (state) { return ({
|
|
22
|
+
display: 'none',
|
|
23
|
+
}); },
|
|
24
|
+
indicatorsContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '60px', paddingRight: '15px' })); },
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=custom-styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type WorkSpaceItem = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
img: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
};
|
|
7
|
+
export type WorkSpace = {
|
|
8
|
+
list: WorkSpaceItem[];
|
|
9
|
+
onChangeWorkSpace?: (dataForm: {
|
|
10
|
+
workspace: any;
|
|
11
|
+
}) => void;
|
|
12
|
+
activeWorkspace: WorkSpaceItem['value'];
|
|
13
|
+
};
|
|
14
|
+
export declare function SelectWorkSpace({ workspaces }: {
|
|
15
|
+
workspaces?: WorkSpace;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|