infinity-forge 9.2.4 → 9.2.5
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/ui/atena/presentation/index.d.ts +3 -2
- package/dist/ui/atena/presentation/index.js +1 -0
- package/dist/ui/atena/presentation/index.js.map +1 -1
- package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.d.ts +16 -0
- package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.js +20 -0
- package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.js.map +1 -0
- package/dist/ui/atena/presentation/site-configurations/index.d.ts +2 -0
- package/dist/ui/atena/presentation/site-configurations/index.js +19 -0
- package/dist/ui/atena/presentation/site-configurations/index.js.map +1 -0
- package/dist/ui/atena/presentation/site-configurations/use-site-configurations.d.ts +63 -0
- package/dist/ui/atena/presentation/site-configurations/use-site-configurations.js +29 -0
- package/dist/ui/atena/presentation/site-configurations/use-site-configurations.js.map +1 -0
- package/dist/ui/components/evaluations/card/index.d.ts +11 -0
- package/dist/ui/components/evaluations/card/index.js +46 -0
- package/dist/ui/components/evaluations/card/index.js.map +1 -0
- package/dist/ui/components/evaluations/card/styles.d.ts +5 -0
- package/dist/ui/components/evaluations/card/styles.js +14 -0
- package/dist/ui/components/evaluations/card/styles.js.map +1 -0
- package/dist/ui/components/evaluations/index.d.ts +7 -0
- package/dist/ui/components/evaluations/index.js +124 -0
- package/dist/ui/components/evaluations/index.js.map +1 -0
- package/dist/ui/components/evaluations/star.d.ts +1 -0
- package/dist/ui/components/evaluations/star.js +8 -0
- package/dist/ui/components/evaluations/star.js.map +1 -0
- package/dist/ui/components/evaluations/stars-text/index.d.ts +9 -0
- package/dist/ui/components/evaluations/stars-text/index.js +44 -0
- package/dist/ui/components/evaluations/stars-text/index.js.map +1 -0
- package/dist/ui/components/evaluations/stars-text/styles.d.ts +5 -0
- package/dist/ui/components/evaluations/stars-text/styles.js +14 -0
- package/dist/ui/components/evaluations/stars-text/styles.js.map +1 -0
- package/dist/ui/components/evaluations/styles.d.ts +10 -0
- package/dist/ui/components/evaluations/styles.js +15 -0
- package/dist/ui/components/evaluations/styles.js.map +1 -0
- package/dist/ui/components/form/index.d.ts +4 -3
- package/dist/ui/components/form/index.js +4 -3
- package/dist/ui/components/form/index.js.map +1 -1
- package/dist/ui/components/form/input-switch/index.js +5 -3
- package/dist/ui/components/form/input-switch/index.js.map +1 -1
- package/dist/ui/components/form/input-switch/interfaces.d.ts +9 -1
- package/dist/ui/components/form/input-switch/styles.js +1 -1
- package/dist/ui/components/form/input-switch/styles.js.map +1 -1
- package/dist/ui/components/form/input-week-availability/availability-preview/index.d.ts +4 -0
- package/dist/ui/components/form/input-week-availability/availability-preview/index.js +48 -0
- package/dist/ui/components/form/input-week-availability/availability-preview/index.js.map +1 -0
- package/dist/ui/components/form/input-week-availability/availability-preview/styles.d.ts +1 -0
- package/dist/ui/components/form/input-week-availability/availability-preview/styles.js +14 -0
- package/dist/ui/components/form/input-week-availability/availability-preview/styles.js.map +1 -0
- package/dist/ui/components/form/input-week-availability/index.d.ts +2 -0
- package/dist/ui/components/form/input-week-availability/index.js +19 -0
- package/dist/ui/components/form/input-week-availability/index.js.map +1 -0
- package/dist/ui/components/form/input-week-availability/input.d.ts +13 -0
- package/dist/ui/components/form/input-week-availability/input.js +82 -0
- package/dist/ui/components/form/input-week-availability/input.js.map +1 -0
- package/dist/ui/components/form/input-week-availability/mock.d.ts +8 -0
- package/dist/ui/components/form/input-week-availability/mock.js +48 -0
- package/dist/ui/components/form/input-week-availability/mock.js.map +1 -0
- package/dist/ui/components/form/input-week-availability/styles.d.ts +1 -0
- package/dist/ui/components/form/input-week-availability/styles.js +14 -0
- package/dist/ui/components/form/input-week-availability/styles.js.map +1 -0
- package/dist/ui/components/google-translate-page/translate.d.ts +0 -1
- package/dist/ui/components/google-translate-page/translate.js.map +1 -1
- package/dist/ui/components/index.d.ts +1 -0
- package/dist/ui/components/index.js +1 -0
- package/dist/ui/components/index.js.map +1 -1
- package/dist/ui/components/modal/component.js +1 -1
- package/dist/ui/components/modal/component.js.map +1 -1
- package/dist/ui/icons/index.d.ts +0 -1
- package/dist/ui/icons/index.js +0 -1
- package/dist/ui/icons/index.js.map +1 -1
- package/dist/ui/integrations/google/GoogleLogin.d.ts +10 -0
- package/dist/ui/integrations/google/GoogleLogin.js +79 -0
- package/dist/ui/integrations/google/GoogleLogin.js.map +1 -0
- package/dist/ui/integrations/google/GoogleOAuthProvider.d.ts +13 -0
- package/dist/ui/integrations/google/GoogleOAuthProvider.js +32 -0
- package/dist/ui/integrations/google/GoogleOAuthProvider.js.map +1 -0
- package/dist/ui/integrations/google/googleLogout.d.ts +1 -0
- package/dist/ui/integrations/google/googleLogout.js +8 -0
- package/dist/ui/integrations/google/googleLogout.js.map +1 -0
- package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.d.ts +6 -0
- package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.js +28 -0
- package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.js.map +1 -0
- package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.d.ts +6 -0
- package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.js +28 -0
- package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.js.map +1 -0
- package/dist/ui/integrations/google/hooks/index.d.ts +3 -0
- package/dist/ui/integrations/google/hooks/index.js +20 -0
- package/dist/ui/integrations/google/hooks/index.js.map +1 -0
- package/dist/ui/integrations/google/hooks/useGoogleLogin.d.ts +25 -0
- package/dist/ui/integrations/google/hooks/useGoogleLogin.js +60 -0
- package/dist/ui/integrations/google/hooks/useGoogleLogin.js.map +1 -0
- package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.d.ts +16 -0
- package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.js +64 -0
- package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.js.map +1 -0
- package/dist/ui/integrations/google/hooks/useLoadGsiScript.d.ts +15 -0
- package/dist/ui/integrations/google/hooks/useLoadGsiScript.js +36 -0
- package/dist/ui/integrations/google/hooks/useLoadGsiScript.js.map +1 -0
- package/dist/ui/integrations/google/index.d.ts +8 -0
- package/dist/ui/integrations/google/index.js +25 -0
- package/dist/ui/integrations/google/index.js.map +1 -0
- package/dist/ui/integrations/google/types/index.d.ts +309 -0
- package/dist/ui/integrations/google/types/index.js +3 -0
- package/dist/ui/integrations/google/types/index.js.map +1 -0
- package/dist/ui/integrations/google/utils/index.d.ts +2 -0
- package/dist/ui/integrations/google/utils/index.js +9 -0
- package/dist/ui/integrations/google/utils/index.js.map +1 -0
- package/dist/ui/integrations/index.d.ts +3 -2
- package/dist/ui/integrations/index.js +1 -0
- package/dist/ui/integrations/index.js.map +1 -1
- package/package.json +76 -76
- package/dist/ui/icons/render/icon-linkedin-logo.d.ts +0 -2
- package/dist/ui/icons/render/icon-linkedin-logo.js +0 -9
- package/dist/ui/icons/render/icon-linkedin-logo.js.map +0 -1
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './dynamic-sections/index.js';
|
|
2
|
+
export * from './dynamic-elements/index.js';
|
|
3
|
+
export * from './site-configurations/index.js';
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dynamic-sections/index.js"), exports);
|
|
18
18
|
__exportStar(require("./dynamic-elements/index.js"), exports);
|
|
19
|
+
__exportStar(require("./site-configurations/index.js"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/atena/presentation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,qDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/atena/presentation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const AtenaSSRSite: (ctx: any, configurations: {
|
|
2
|
+
ssrFunction?: () => any;
|
|
3
|
+
}) => Promise<{
|
|
4
|
+
props: {
|
|
5
|
+
i18n?: {
|
|
6
|
+
words: any;
|
|
7
|
+
languages: any;
|
|
8
|
+
language: string;
|
|
9
|
+
languagesNext: string[];
|
|
10
|
+
};
|
|
11
|
+
page: any;
|
|
12
|
+
resolvedUrl: string;
|
|
13
|
+
disableAuth: boolean;
|
|
14
|
+
sections: any;
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AtenaSSRSite = void 0;
|
|
4
|
+
var dynamic_elements_1 = require("../dynamic-elements/index.js");
|
|
5
|
+
var AtenaSSRSite = function (ctx, configurations) {
|
|
6
|
+
return (0, dynamic_elements_1.AtenaSSR)(ctx, {
|
|
7
|
+
ssrFunction: configurations === null || configurations === void 0 ? void 0 : configurations.ssrFunction,
|
|
8
|
+
i18n: {
|
|
9
|
+
active: false,
|
|
10
|
+
},
|
|
11
|
+
modifierSections: function (sections) {
|
|
12
|
+
var _a;
|
|
13
|
+
var initialConfigurations = (_a = sections === null || sections === void 0 ? void 0 : sections.find(function (section) { return (section === null || section === void 0 ? void 0 : section.ref) === 'global_configurationsite'; })) === null || _a === void 0 ? void 0 : _a.jsonContent;
|
|
14
|
+
var configurations = initialConfigurations ? JSON.parse(initialConfigurations) : {};
|
|
15
|
+
return { sections: sections, configurations: configurations };
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
exports.AtenaSSRSite = AtenaSSRSite;
|
|
20
|
+
//# sourceMappingURL=atena-ssr-site.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"atena-ssr-site.js","sourceRoot":"","sources":["../../../../../src/ui/atena/presentation/site-configurations/atena-ssr-site.tsx"],"names":[],"mappings":";;;AAAA,wDAA8C;AAEvC,IAAM,YAAY,GAAG,UAAC,GAAG,EAAE,cAA2C;IAC3E,OAAA,IAAA,2BAAQ,EAAC,GAAG,EAAE;QACZ,WAAW,EAAE,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,WAAW;QACxC,IAAI,EAAE;YACJ,MAAM,EAAE,KAAK;SACd;QACD,gBAAgB,EAAE,UAAC,QAAQ;;YACzB,IAAM,qBAAqB,GAAG,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,CAC1C,UAAC,OAAO,IAAK,OAAA,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,MAAK,0BAA0B,EAA3C,CAA2C,CACzD,0CAAE,WAAW,CAAA;YAEd,IAAM,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;YAErF,OAAO,EAAE,QAAQ,UAAA,EAAE,cAAc,gBAAA,EAAE,CAAA;QACrC,CAAC;KACF,CAAC;AAdF,CAcE,CAAA;AAfS,QAAA,YAAY,gBAerB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./atena-ssr-site.js"), exports);
|
|
18
|
+
__exportStar(require("./use-site-configurations.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/atena/presentation/site-configurations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,4DAAyC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { FileSystemType } from '../../../../ui/utils/index.js';
|
|
2
|
+
export type ConfigurationsSiteType = {
|
|
3
|
+
facebook: string;
|
|
4
|
+
instagram: string;
|
|
5
|
+
twitter: string;
|
|
6
|
+
whatsapp: string;
|
|
7
|
+
whatsappFixo: boolean;
|
|
8
|
+
whatsappMessage: string;
|
|
9
|
+
whatsappUrl: string;
|
|
10
|
+
email: string;
|
|
11
|
+
linkedin: string;
|
|
12
|
+
youtube: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
phone: string;
|
|
15
|
+
logoHeader: FileSystemType[];
|
|
16
|
+
logoFooter: FileSystemType[];
|
|
17
|
+
googleUA: string;
|
|
18
|
+
googleGA: string;
|
|
19
|
+
googleGTM: string;
|
|
20
|
+
facebookPixel: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function useSiteConfig(): {
|
|
23
|
+
configurations: {
|
|
24
|
+
whatsappUrl: string;
|
|
25
|
+
facebook?: string;
|
|
26
|
+
instagram?: string;
|
|
27
|
+
twitter?: string;
|
|
28
|
+
whatsapp?: string;
|
|
29
|
+
whatsappFixo?: boolean;
|
|
30
|
+
whatsappMessage?: string;
|
|
31
|
+
email?: string;
|
|
32
|
+
linkedin?: string;
|
|
33
|
+
youtube?: string;
|
|
34
|
+
tiktok?: string;
|
|
35
|
+
phone?: string;
|
|
36
|
+
logoHeader?: FileSystemType[];
|
|
37
|
+
logoFooter?: FileSystemType[];
|
|
38
|
+
googleUA?: string;
|
|
39
|
+
googleGA?: string;
|
|
40
|
+
googleGTM?: string;
|
|
41
|
+
facebookPixel?: string;
|
|
42
|
+
};
|
|
43
|
+
id?: string;
|
|
44
|
+
enabled?: boolean;
|
|
45
|
+
i18n?: import("../../../index.js").i18n<{
|
|
46
|
+
title: string;
|
|
47
|
+
subtitle: string;
|
|
48
|
+
description: string;
|
|
49
|
+
linkText: string;
|
|
50
|
+
}>;
|
|
51
|
+
ref?: string;
|
|
52
|
+
videoUrl?: string;
|
|
53
|
+
linkUrl?: string;
|
|
54
|
+
jsonContent?: Partial<ConfigurationsSiteType>;
|
|
55
|
+
images?: FileSystemType[];
|
|
56
|
+
title?: string;
|
|
57
|
+
subtitle?: string;
|
|
58
|
+
description?: string;
|
|
59
|
+
linkText?: string;
|
|
60
|
+
Section({ children }: {
|
|
61
|
+
children?: React.ReactNode;
|
|
62
|
+
}): React.ReactNode;
|
|
63
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
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.useSiteConfig = useSiteConfig;
|
|
15
|
+
var utils_1 = require("../../../../ui/utils/index.js");
|
|
16
|
+
var dynamic_sections_1 = require("../dynamic-sections/index.js");
|
|
17
|
+
function useSiteConfig() {
|
|
18
|
+
var dynamic = (0, dynamic_sections_1.useDynamicSection)({
|
|
19
|
+
refSection: 'configuration_site',
|
|
20
|
+
isGlobal: true,
|
|
21
|
+
});
|
|
22
|
+
var jsonContent = dynamic.jsonContent;
|
|
23
|
+
return __assign(__assign({}, dynamic), { configurations: __assign(__assign({}, jsonContent), { whatsappUrl: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.whatsapp) &&
|
|
24
|
+
utils_1.phone.whatsapp.generateWhatsappUrl({
|
|
25
|
+
phoneNumber: jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.whatsapp,
|
|
26
|
+
message: jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.whatsappMessage,
|
|
27
|
+
}) }) });
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=use-site-configurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-site-configurations.js","sourceRoot":"","sources":["../../../../../src/ui/atena/presentation/site-configurations/use-site-configurations.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAyBA,sCAoBC;AA7CD,oCAAkD;AAElD,wDAAuD;AAuBvD,SAAgB,aAAa;IAC3B,IAAM,OAAO,GAAG,IAAA,oCAAiB,EAAyB;QACxD,UAAU,EAAE,oBAAoB;QAChC,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IAEM,IAAA,WAAW,GAAK,OAAO,YAAZ,CAAY;IAE/B,6BACK,OAAO,KACV,cAAc,wBACT,WAAW,KACd,WAAW,EACT,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ;gBACrB,aAAK,CAAC,QAAQ,CAAC,mBAAmB,CAAC;oBACjC,WAAW,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ;oBAClC,OAAO,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,eAAe;iBACtC,CAAC,OAEP;AACH,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IReviewCardProps {
|
|
2
|
+
image: string;
|
|
3
|
+
name: string;
|
|
4
|
+
date: string;
|
|
5
|
+
description: string;
|
|
6
|
+
theme?: {
|
|
7
|
+
baseColor: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function ReviewCard({ image, name, date, description, theme }: IReviewCardProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
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 () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ReviewCard = ReviewCard;
|
|
37
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
|
+
var stars_text_1 = require("../stars-text/index.js");
|
|
39
|
+
var S = __importStar(require("./styles.js"));
|
|
40
|
+
function ReviewCard(_a) {
|
|
41
|
+
var image = _a.image, name = _a.name, date = _a.date, description = _a.description, theme = _a.theme;
|
|
42
|
+
return ((0, jsx_runtime_1.jsxs)(S.ReviewCard, { "$theme": theme, children: [(0, jsx_runtime_1.jsx)("img", { src: image, alt: 'imagem de perfil' }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'title-box', children: [(0, jsx_runtime_1.jsx)("h5", { className: 'font-16-bold', children: name }), (0, jsx_runtime_1.jsx)("div", { className: 'date font-16', children: date })] }), (0, jsx_runtime_1.jsx)(stars_text_1.StarsText, {}), (0, jsx_runtime_1.jsx)("div", { className: 'description font-16', dangerouslySetInnerHTML: {
|
|
43
|
+
__html: description,
|
|
44
|
+
} })] })] }));
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/evaluations/card/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,gCAuBC;;AArCD,4CAAyC;AAEzC,0CAA6B;AAY7B,SAAgB,UAAU,CAAC,EAA2D;QAAzD,KAAK,WAAA,EAAE,IAAI,UAAA,EAAE,IAAI,UAAA,EAAE,WAAW,iBAAA,EAAE,KAAK,WAAA;IAChE,OAAO,CACL,wBAAC,CAAC,CAAC,UAAU,cAAS,KAAK,aACzB,gCAAK,GAAG,EAAE,KAAK,EAAE,GAAG,EAAC,kBAAkB,GAAG,EAE1C,4CACE,iCAAK,SAAS,EAAC,WAAW,aACxB,+BAAI,SAAS,EAAC,cAAc,YAAE,IAAI,GAAM,EAExC,gCAAK,SAAS,EAAC,cAAc,YAAE,IAAI,GAAO,IACtC,EAEN,uBAAC,sBAAS,KAAG,EAEb,gCACE,SAAS,EAAC,qBAAqB,EAC/B,uBAAuB,EAAE;4BACvB,MAAM,EAAE,WAAW;yBACpB,GACD,IACE,IACO,CAChB,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const ReviewCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, {
|
|
2
|
+
$theme?: {
|
|
3
|
+
baseColor: string;
|
|
4
|
+
};
|
|
5
|
+
}>> & string;
|
|
@@ -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.ReviewCard = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.ReviewCard = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n\n .title-box {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 10px;\n\n h5 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n line-clamp: 1;\n -webkit-box-orient: vertical;\n margin-bottom: 0;\n }\n\n .date {\n color: #aaa;\n }\n }\n\n > img {\n width: 100%;\n height: 100%;\n max-width: 50px;\n border-radius: 50%;\n margin-right: 10px;\n object-fit: cover;\n aspect-ratio: 1/1;\n flex-shrink: 0;\n }\n\n .description {\n margin-top: 5px;\n }\n\n .stars {\n .star {\n color: ", ";\n }\n\n .number {\n display: none;\n }\n }\n\n @media only screen and (max-width: 1400px) {\n .title-box {\n gap: 8px;\n }\n\n > img {\n max-width: 45px;\n }\n\n .description {\n color: ", ";\n margin-top: 3px;\n }\n\n svg {\n width: 95px;\n height: auto;\n }\n }\n\n @media only screen and (max-width: 1200px) {\n > img {\n max-width: 40px;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > img {\n max-width: 35px;\n }\n }\n\n @media only screen and (max-width: 768px) {\n > img {\n max-width: 40px;\n }\n\n svg {\n width: 90px;\n }\n }\n\n @media only screen and (max-width: 550px) {\n flex-direction: column;\n gap: 8px;\n\n .date {\n font-size: 14px;\n }\n\n h5 {\n font-size: 16px;\n }\n\n .description {\n font-size: 14px;\n }\n\n .title-box {\n align-items: flex-start;\n flex-direction: column;\n gap: 4px;\n }\n }\n"], ["\n display: flex;\n\n .title-box {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 10px;\n\n h5 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n line-clamp: 1;\n -webkit-box-orient: vertical;\n margin-bottom: 0;\n }\n\n .date {\n color: #aaa;\n }\n }\n\n > img {\n width: 100%;\n height: 100%;\n max-width: 50px;\n border-radius: 50%;\n margin-right: 10px;\n object-fit: cover;\n aspect-ratio: 1/1;\n flex-shrink: 0;\n }\n\n .description {\n margin-top: 5px;\n }\n\n .stars {\n .star {\n color: ", ";\n }\n\n .number {\n display: none;\n }\n }\n\n @media only screen and (max-width: 1400px) {\n .title-box {\n gap: 8px;\n }\n\n > img {\n max-width: 45px;\n }\n\n .description {\n color: ", ";\n margin-top: 3px;\n }\n\n svg {\n width: 95px;\n height: auto;\n }\n }\n\n @media only screen and (max-width: 1200px) {\n > img {\n max-width: 40px;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > img {\n max-width: 35px;\n }\n }\n\n @media only screen and (max-width: 768px) {\n > img {\n max-width: 40px;\n }\n\n svg {\n width: 90px;\n }\n }\n\n @media only screen and (max-width: 550px) {\n flex-direction: column;\n gap: 8px;\n\n .date {\n font-size: 14px;\n }\n\n h5 {\n font-size: 16px;\n }\n\n .description {\n font-size: 14px;\n }\n\n .title-box {\n align-items: flex-start;\n flex-direction: column;\n gap: 4px;\n }\n }\n"])), function (p) { return p.$theme.baseColor || p.theme.primaryColor; }, function (props) { return props.theme.grey80; });
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/components/evaluations/card/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,UAAU,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,otDAAoC,gpBAwC5D,EAAiD,4OAkBjD,EAA6B,ixBAsD3C,KAxEc,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,YAAY,EAA1C,CAA0C,EAkBjD,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,EAAlB,CAAkB,EAsD3C"}
|
|
@@ -0,0 +1,124 @@
|
|
|
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 () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
46
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
exports.Evaluations = Evaluations;
|
|
48
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
49
|
+
var react_1 = require("react");
|
|
50
|
+
var ui_1 = require("../../../ui/index.js");
|
|
51
|
+
var card_1 = require("./card/index.js");
|
|
52
|
+
var stars_text_1 = require("./stars-text/index.js");
|
|
53
|
+
var S = __importStar(require("./styles.js"));
|
|
54
|
+
function Evaluations(_a) {
|
|
55
|
+
var theme = _a.theme;
|
|
56
|
+
var _b = (0, react_1.useState)(false), isOpen = _b[0], setIsOpen = _b[1];
|
|
57
|
+
var list = [
|
|
58
|
+
{
|
|
59
|
+
id: 1,
|
|
60
|
+
name: 'Marcos Henrique',
|
|
61
|
+
date: '12 Feb 2022',
|
|
62
|
+
image: '/images/avatar-default.png',
|
|
63
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 2,
|
|
67
|
+
name: 'Marcos Henrique',
|
|
68
|
+
date: '12 Feb 2022',
|
|
69
|
+
image: '/images/avatar-default.png',
|
|
70
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 3,
|
|
74
|
+
name: 'Marcos Henrique',
|
|
75
|
+
date: '12 Feb 2022',
|
|
76
|
+
image: '/images/avatar-default.png',
|
|
77
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: 4,
|
|
81
|
+
name: 'Marcos Henrique',
|
|
82
|
+
date: '12 Feb 2022',
|
|
83
|
+
image: '/images/avatar-default.png',
|
|
84
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: 5,
|
|
88
|
+
name: 'Marcos Henrique',
|
|
89
|
+
date: '12 Feb 2022',
|
|
90
|
+
image: '/images/avatar-default.png',
|
|
91
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
92
|
+
},
|
|
93
|
+
];
|
|
94
|
+
var INFOS = {
|
|
95
|
+
rate: '4.8',
|
|
96
|
+
avarageBasedOnReviews: '257',
|
|
97
|
+
reviews: [
|
|
98
|
+
{
|
|
99
|
+
id: 1,
|
|
100
|
+
title: 'Qualidade',
|
|
101
|
+
rate: 4.8,
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: 2,
|
|
105
|
+
title: 'Profissionalismo',
|
|
106
|
+
rate: 4.9,
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
id: 3,
|
|
110
|
+
title: 'Resultados',
|
|
111
|
+
rate: 2.8,
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
};
|
|
115
|
+
return ((0, jsx_runtime_1.jsxs)(ui_1.Error, { name: 'Evaluations', children: [(0, jsx_runtime_1.jsxs)(S.Evaluations, { "$theme": theme, children: [(0, jsx_runtime_1.jsx)("h2", { className: 'font-32-bold mb', children: "Avalia\u00E7\u00F5es" }), (0, jsx_runtime_1.jsxs)("div", { className: 'white-box', children: [(0, jsx_runtime_1.jsxs)("div", { className: 'top', children: [(0, jsx_runtime_1.jsxs)("div", { className: 'item', children: [(0, jsx_runtime_1.jsxs)("span", { className: 'font-32-bold container-stars', children: [INFOS.rate, (0, jsx_runtime_1.jsx)(stars_text_1.StarsText, { theme: theme })] }), (0, jsx_runtime_1.jsxs)("span", { className: 'font-16', children: ["M\u00E9dia entre ", INFOS.avarageBasedOnReviews, " avalia\u00E7\u00F5es"] })] }), (0, jsx_runtime_1.jsx)("div", { className: 'item', children: INFOS.reviews.map(function (review) { return ((0, jsx_runtime_1.jsxs)("div", { className: 'font-16-regular', children: [review.title, ' ', (0, jsx_runtime_1.jsx)("div", { className: 'back-bar', children: (0, jsx_runtime_1.jsx)("div", { className: 'bar', style: { width: "".concat((review.rate / 5) * 100, "%") } }) }), ' ', review.rate.toFixed(1)] }, "review-".concat(review.id))); }) }), (0, jsx_runtime_1.jsxs)("button", { className: 'item font-16-bold', type: 'button', onClick: function () { return setIsOpen(true); }, children: [(0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconEdit' }), " Avaliar"] })] }), (0, jsx_runtime_1.jsx)("div", { className: 'bottom', children: list.map(function (item) { return ((0, jsx_runtime_1.jsx)(card_1.ReviewCard, __assign({ theme: theme }, item), "evaluation-card-".concat(item.id))); }) })] })] }), (0, jsx_runtime_1.jsx)(ui_1.Modal, { open: isOpen, onClose: function () { return setIsOpen(false); }, styles: {
|
|
116
|
+
padding: 0,
|
|
117
|
+
backgroundColor: '#fff',
|
|
118
|
+
boxShadow: 'none',
|
|
119
|
+
maxWidth: '500px',
|
|
120
|
+
}, stylesContent: {
|
|
121
|
+
padding: '0',
|
|
122
|
+
}, hideCloseButton: true, children: (0, jsx_runtime_1.jsxs)(S.Modal, { "$theme": theme, children: [(0, jsx_runtime_1.jsx)("h4", { className: 'font-32-bold', children: "Avalie" }), (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { button: { text: 'Enviar' }, children: [(0, jsx_runtime_1.jsx)(ui_1.InputStar, { label: 'Nota do profissional', name: 'professional' }), (0, jsx_runtime_1.jsx)(ui_1.InputStar, { label: 'Habilidades', name: 'skills' }), (0, jsx_runtime_1.jsx)(ui_1.InputStar, { label: 'Atendimento', name: 'service' }), (0, jsx_runtime_1.jsx)(ui_1.InputStar, { label: 'Aten\u00E7\u00E3o', name: 'attention' }), (0, jsx_runtime_1.jsx)(ui_1.Textarea, { placeholder: 'O que voc\u00EA achou? Escreva sua avalia\u00E7\u00E3o...', name: 'comments' })] })] }) })] }));
|
|
123
|
+
}
|
|
124
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/evaluations/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Star(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Star = Star;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
function Star() {
|
|
6
|
+
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "132", height: "25", viewBox: "0 0 132 25", fill: "none", children: [(0, jsx_runtime_1.jsx)("path", { d: "M11.9998 17.7368L6.12197 21.327L7.72007 14.6274L2.48926 10.1466L9.35479 9.59624L11.9998 3.23682L14.6449 9.59624L21.5104 10.1466L16.2796 14.6274L17.8777 21.327L11.9998 17.7368Z", fill: "#F5AE05" }), (0, jsx_runtime_1.jsx)("path", { d: "M38.9998 17.7368L33.122 21.327L34.7201 14.6274L29.4893 10.1466L36.3548 9.59624L38.9998 3.23682L41.6449 9.59624L48.5104 10.1466L43.2796 14.6274L44.8777 21.327L38.9998 17.7368Z", fill: "#F5AE05" }), (0, jsx_runtime_1.jsx)("path", { d: "M65.9998 17.7368L60.122 21.327L61.7201 14.6274L56.4893 10.1466L63.3548 9.59624L65.9998 3.23682L68.6449 9.59624L75.5104 10.1466L70.2796 14.6274L71.8777 21.327L65.9998 17.7368Z", fill: "#F5AE05" }), (0, jsx_runtime_1.jsx)("path", { d: "M92.9998 17.7368L87.122 21.327L88.7201 14.6274L83.4893 10.1466L90.3548 9.59624L92.9998 3.23682L95.6449 9.59624L102.51 10.1466L97.2796 14.6274L98.8777 21.327L92.9998 17.7368Z", fill: "#F5AE05" }), (0, jsx_runtime_1.jsx)("path", { d: "M120 17.7368L114.122 21.327L115.72 14.6274L110.489 10.1466L117.355 9.59624L120 3.23682L122.645 9.59624L129.51 10.1466L124.28 14.6274L125.878 21.327L120 17.7368Z", fill: "#F5AE05" })] }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=star.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"star.js","sourceRoot":"","sources":["../../../../src/ui/components/evaluations/star.tsx"],"names":[],"mappings":";;AAAA,oBA+BC;;AA/BD,SAAgB,IAAI;IAClB,OAAO,CACL,iCACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,YAAY,EACpB,IAAI,EAAC,MAAM,aAEX,iCACE,CAAC,EAAC,iLAAiL,EACnL,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,gLAAgL,EAClL,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,gLAAgL,EAClL,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,+KAA+K,EACjL,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,kKAAkK,EACpK,IAAI,EAAC,SAAS,GACd,IACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.StarsText = StarsText;
|
|
37
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
|
+
var ui_1 = require("../../../../ui/index.js");
|
|
39
|
+
var S = __importStar(require("./styles.js"));
|
|
40
|
+
function StarsText(_a) {
|
|
41
|
+
var starClassName = _a.starClassName, text = _a.text, theme = _a.theme;
|
|
42
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'StarsText', children: (0, jsx_runtime_1.jsxs)(S.StarsText, { className: 'stars font-16', "$theme": theme, children: [Array.from({ length: 5 }).map(function (_, index) { return ((0, jsx_runtime_1.jsx)("span", { className: 'star ' + (starClassName || 'font-20'), children: "\u2605" }, 'star-' + index)); }), (0, jsx_runtime_1.jsxs)("div", { className: 'number', children: [text || '21', " "] })] }) }));
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/evaluations/stars-text/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,8BAaC;;AAzBD,2BAA4B;AAE5B,0CAA6B;AAU7B,SAAgB,SAAS,CAAC,EAA+C;QAA7C,aAAa,mBAAA,EAAE,IAAI,UAAA,EAAE,KAAK,WAAA;IACpD,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,WAAW,YACrB,wBAAC,CAAC,CAAC,SAAS,IAAC,SAAS,EAAC,eAAe,YAAS,KAAK,aACjD,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,UAAC,CAAC,EAAE,KAAK,IAAK,OAAA,CAC3C,iCAA4B,SAAS,EAAE,OAAO,GAAG,CAAC,aAAa,IAAI,SAAS,CAAC,wBAAlE,OAAO,GAAG,KAAK,CAEnB,CACR,EAJ4C,CAI5C,CAAC,EACF,iCAAK,SAAS,EAAC,QAAQ,aAAE,IAAI,IAAI,IAAI,SAAQ,IACjC,GACR,CACT,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const StarsText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, {
|
|
2
|
+
$theme?: {
|
|
3
|
+
baseColor: string;
|
|
4
|
+
};
|
|
5
|
+
}>> & string;
|
|
@@ -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.StarsText = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.StarsText = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 4px;\n\n .star {\n color: ", ";\n }\n\n .number {\n margin-bottom: -2px;\n color: ", ";\n }\n\n @media only screen and (max-width: 1400px) {\n .number {\n margin-bottom: -1px;\n }\n }\n\n @media only screen and (max-width: 1200px) {\n .stars {\n gap: 3px;\n }\n\n .number {\n margin-bottom: 0px;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n .number {\n margin-bottom: -1.5px;\n }\n }\n\n @media only screen and (max-width: 768px) {\n .number {\n margin-bottom: 0;\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 4px;\n\n .star {\n color: ", ";\n }\n\n .number {\n margin-bottom: -2px;\n color: ", ";\n }\n\n @media only screen and (max-width: 1400px) {\n .number {\n margin-bottom: -1px;\n }\n }\n\n @media only screen and (max-width: 1200px) {\n .stars {\n gap: 3px;\n }\n\n .number {\n margin-bottom: 0px;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n .number {\n margin-bottom: -1.5px;\n }\n }\n\n @media only screen and (max-width: 768px) {\n .number {\n margin-bottom: 0;\n }\n }\n"])), function (p) { var _a; return ((_a = p.$theme) === null || _a === void 0 ? void 0 : _a.baseColor) || p.theme.primaryColor; }, function (p) { return p.theme.grey60; });
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/components/evaluations/stars-text/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,SAAS,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,2qBAIpC,mFAMW,EAAkD,8DAKlD,EAAqB,mdA8BjC,KAnCY,UAAC,CAAC,YAAK,OAAA,CAAA,MAAA,CAAC,CAAC,MAAM,0CAAE,SAAS,KAAI,CAAC,CAAC,KAAK,CAAC,YAAY,CAAA,EAAA,EAKlD,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,KAAK,CAAC,MAAM,EAAd,CAAc,EA8BjC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const Evaluations: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement>, {
|
|
2
|
+
$theme?: {
|
|
3
|
+
baseColor: string;
|
|
4
|
+
};
|
|
5
|
+
}>> & string;
|
|
6
|
+
export declare const Modal: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, {
|
|
7
|
+
$theme: {
|
|
8
|
+
baseColor: string;
|
|
9
|
+
};
|
|
10
|
+
}>> & string;
|
|
@@ -0,0 +1,15 @@
|
|
|
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.Modal = exports.Evaluations = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.Evaluations = (0, styled_components_1.default)('section')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n * {\n color: ", ";\n }\n\n h5 {\n margin-bottom: 5px;\n }\n\n > div {\n border-radius: 30px;\n padding: 40px;\n background-color: ", ";\n\n .top {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #dcdcdc;\n margin-bottom: 30px;\n padding-bottom: 30px;\n justify-content: space-between;\n\n .container-stars {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-bottom: 10px;\n }\n\n .stars {\n .star {\n color: ", " !important;\n }\n\n .number {\n display: none;\n }\n }\n\n > .item:nth-child(1) {\n span {\n svg {\n margin-left: 8px;\n }\n\n &:last-child {\n color: ", ";\n margin-top: 10px;\n }\n }\n }\n\n > .item:nth-child(2) {\n margin: 0 15px 0 15px;\n padding: 0 15px 0 15px;\n border-left: 1px solid #dcdcdc;\n border-right: 1px solid #dcdcdc;\n\n > div {\n display: grid;\n grid-template-columns: 125px 180px 30px;\n align-items: center;\n gap: 20px;\n overflow-wrap: break-word;\n\n & + div {\n margin-top: 15px;\n }\n\n .back-bar {\n height: 10px;\n border-radius: 100rem;\n background: #aaaaaa;\n position: relative;\n z-index: 2;\n }\n\n .bar {\n height: 10px;\n border-radius: 100rem;\n background: ", ";\n position: relative;\n z-index: 3;\n }\n }\n }\n\n > .item:nth-child(3) {\n color: ", ";\n padding: 0;\n background: none;\n border: none;\n border: 1px solid currentColor;\n height: 48px;\n padding: 0 20px;\n border-radius: 100rem;\n display: flex;\n align-items: center;\n gap: 10px;\n transition: 0.1s;\n\n &:hover {\n color: #fff;\n background: ", ";\n\n svg {\n fill: #fff;\n }\n }\n\n svg {\n width: 16px;\n height: auto;\n fill: currentColor;\n }\n }\n }\n\n .bottom {\n > div + div {\n margin-top: 30px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n > div {\n padding: 30px;\n border-radius: 25px;\n\n .top {\n margin-bottom: 28px;\n padding-bottom: 28px;\n\n > .item:nth-child(2) {\n margin: 0 20px 0 20px;\n padding: 0 20px 0 20px;\n\n > div {\n grid-template-columns: 115px 160px 30px;\n gap: 18px;\n }\n }\n\n > .item:nth-child(3) {\n height: 46px;\n padding: 0 18px;\n\n svg {\n width: 15px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1400px) {\n > div {\n padding: 25px;\n border-radius: 20px;\n\n .top {\n margin-bottom: 25px;\n padding-bottom: 25px;\n\n > .item:nth-child(2) {\n margin: 0 15px 0 15px;\n padding: 0 15px 0 15px;\n\n > div {\n grid-template-columns: 105px 140px 30px;\n gap: 15px;\n }\n }\n\n > .item:nth-child(3) {\n height: 46px;\n padding: 0 18px;\n\n svg {\n width: 15px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1200px) {\n > div {\n padding: 20px;\n border-radius: 15px;\n\n .top {\n margin-bottom: 20px;\n padding-bottom: 20px;\n gap: 5px;\n\n .container-stars {\n align-items: start;\n flex-direction: column;\n }\n\n > .item:nth-child(1) {\n svg {\n width: 110px;\n height: auto;\n }\n }\n\n > .item:nth-child(2) {\n margin: 0 0;\n padding: 0 10px;\n\n > div {\n grid-template-columns: 100px 80px 30px;\n gap: 8px;\n }\n }\n\n > .item:nth-child(3) {\n height: 44px;\n padding: 0 16px;\n\n svg {\n width: 13px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > div {\n padding: 15px;\n border-radius: 10px;\n\n .top {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n\n .container-stars {\n flex-direction: row;\n align-items: center;\n }\n\n > .item:nth-child(1) {\n span {\n &:last-child {\n margin-top: 5px;\n }\n }\n }\n\n > .item:nth-child(2) {\n border-right: none;\n padding-right: 0;\n\n > div {\n font-size: 14px;\n grid-template-columns: 100px 100px 30px;\n\n & + div {\n margin-top: 10px;\n }\n }\n }\n\n > .item:nth-child(3) {\n height: 42px;\n max-width: fit-content;\n\n svg {\n width: 12px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 800px) {\n > div .top > .item:nth-child(2) > div {\n gap: 3px;\n grid-template-columns: 100px 60px 25px;\n }\n }\n\n @media only screen and (max-width: 768px) {\n > div {\n padding: 10px;\n background-color: transparent;\n\n .top {\n display: grid;\n grid-template-columns: 1fr 1fr;\n\n > .item:nth-child(2) {\n border-right: none;\n margin-left: 0;\n padding-left: 0;\n padding-right: 0;\n border-left: none;\n width: 100%;\n\n > div {\n grid-template-columns: 115px 90px 25px;\n }\n }\n\n > .item:nth-child(3) {\n width: fit-content;\n height: 40px;\n margin-top: 5px;\n\n svg {\n width: 12px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 600px) {\n > div {\n .top {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 10px;\n\n .item > div {\n justify-content: center;\n }\n\n > .item:nth-child(3) {\n height: 34px;\n }\n\n .container-stars {\n justify-content: center;\n }\n }\n }\n }\n"], ["\n * {\n color: ", ";\n }\n\n h5 {\n margin-bottom: 5px;\n }\n\n > div {\n border-radius: 30px;\n padding: 40px;\n background-color: ", ";\n\n .top {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #dcdcdc;\n margin-bottom: 30px;\n padding-bottom: 30px;\n justify-content: space-between;\n\n .container-stars {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-bottom: 10px;\n }\n\n .stars {\n .star {\n color: ", " !important;\n }\n\n .number {\n display: none;\n }\n }\n\n > .item:nth-child(1) {\n span {\n svg {\n margin-left: 8px;\n }\n\n &:last-child {\n color: ", ";\n margin-top: 10px;\n }\n }\n }\n\n > .item:nth-child(2) {\n margin: 0 15px 0 15px;\n padding: 0 15px 0 15px;\n border-left: 1px solid #dcdcdc;\n border-right: 1px solid #dcdcdc;\n\n > div {\n display: grid;\n grid-template-columns: 125px 180px 30px;\n align-items: center;\n gap: 20px;\n overflow-wrap: break-word;\n\n & + div {\n margin-top: 15px;\n }\n\n .back-bar {\n height: 10px;\n border-radius: 100rem;\n background: #aaaaaa;\n position: relative;\n z-index: 2;\n }\n\n .bar {\n height: 10px;\n border-radius: 100rem;\n background: ", ";\n position: relative;\n z-index: 3;\n }\n }\n }\n\n > .item:nth-child(3) {\n color: ", ";\n padding: 0;\n background: none;\n border: none;\n border: 1px solid currentColor;\n height: 48px;\n padding: 0 20px;\n border-radius: 100rem;\n display: flex;\n align-items: center;\n gap: 10px;\n transition: 0.1s;\n\n &:hover {\n color: #fff;\n background: ", ";\n\n svg {\n fill: #fff;\n }\n }\n\n svg {\n width: 16px;\n height: auto;\n fill: currentColor;\n }\n }\n }\n\n .bottom {\n > div + div {\n margin-top: 30px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n > div {\n padding: 30px;\n border-radius: 25px;\n\n .top {\n margin-bottom: 28px;\n padding-bottom: 28px;\n\n > .item:nth-child(2) {\n margin: 0 20px 0 20px;\n padding: 0 20px 0 20px;\n\n > div {\n grid-template-columns: 115px 160px 30px;\n gap: 18px;\n }\n }\n\n > .item:nth-child(3) {\n height: 46px;\n padding: 0 18px;\n\n svg {\n width: 15px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1400px) {\n > div {\n padding: 25px;\n border-radius: 20px;\n\n .top {\n margin-bottom: 25px;\n padding-bottom: 25px;\n\n > .item:nth-child(2) {\n margin: 0 15px 0 15px;\n padding: 0 15px 0 15px;\n\n > div {\n grid-template-columns: 105px 140px 30px;\n gap: 15px;\n }\n }\n\n > .item:nth-child(3) {\n height: 46px;\n padding: 0 18px;\n\n svg {\n width: 15px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1200px) {\n > div {\n padding: 20px;\n border-radius: 15px;\n\n .top {\n margin-bottom: 20px;\n padding-bottom: 20px;\n gap: 5px;\n\n .container-stars {\n align-items: start;\n flex-direction: column;\n }\n\n > .item:nth-child(1) {\n svg {\n width: 110px;\n height: auto;\n }\n }\n\n > .item:nth-child(2) {\n margin: 0 0;\n padding: 0 10px;\n\n > div {\n grid-template-columns: 100px 80px 30px;\n gap: 8px;\n }\n }\n\n > .item:nth-child(3) {\n height: 44px;\n padding: 0 16px;\n\n svg {\n width: 13px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > div {\n padding: 15px;\n border-radius: 10px;\n\n .top {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n\n .container-stars {\n flex-direction: row;\n align-items: center;\n }\n\n > .item:nth-child(1) {\n span {\n &:last-child {\n margin-top: 5px;\n }\n }\n }\n\n > .item:nth-child(2) {\n border-right: none;\n padding-right: 0;\n\n > div {\n font-size: 14px;\n grid-template-columns: 100px 100px 30px;\n\n & + div {\n margin-top: 10px;\n }\n }\n }\n\n > .item:nth-child(3) {\n height: 42px;\n max-width: fit-content;\n\n svg {\n width: 12px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 800px) {\n > div .top > .item:nth-child(2) > div {\n gap: 3px;\n grid-template-columns: 100px 60px 25px;\n }\n }\n\n @media only screen and (max-width: 768px) {\n > div {\n padding: 10px;\n background-color: transparent;\n\n .top {\n display: grid;\n grid-template-columns: 1fr 1fr;\n\n > .item:nth-child(2) {\n border-right: none;\n margin-left: 0;\n padding-left: 0;\n padding-right: 0;\n border-left: none;\n width: 100%;\n\n > div {\n grid-template-columns: 115px 90px 25px;\n }\n }\n\n > .item:nth-child(3) {\n width: fit-content;\n height: 40px;\n margin-top: 5px;\n\n svg {\n width: 12px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 600px) {\n > div {\n .top {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 10px;\n\n .item > div {\n justify-content: center;\n }\n\n > .item:nth-child(3) {\n height: 34px;\n }\n\n .container-stars {\n justify-content: center;\n }\n }\n }\n }\n"])), function (props) { return props.theme.darkColor; }, function (props) { return props.theme.grey; }, function (p) { return p.$theme.baseColor || p.theme.primaryColor; }, function (props) { return props.theme.grey40; }, function (props) { return props.$theme.baseColor || props.theme.primaryColor; }, function (props) { return props.theme.grey60; }, function (props) { return props.theme.grey60 || '#000'; });
|
|
13
|
+
exports.Modal = (0, styled_components_1.default)('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 40px 60px;\n border-radius: 30px;\n background-color: ", ";\n\n h4 {\n text-align: center;\n border-bottom: 1px solid #dcdcdc;\n padding-bottom: 30px;\n }\n\n form {\n padding-top: 30px;\n\n .conntent_form_infinity_forge {\n padding: 0;\n\n label {\n margin-bottom: 0 !important;\n font-weight: 400 !important;\n }\n }\n\n .container-switch {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 20px;\n\n > * {\n flex: 1;\n }\n\n .input-content:has([role='radiogroup']) {\n flex: unset;\n }\n\n label:has(input:checked) span {\n color: ", ";\n }\n\n span:hover,\n span.active {\n color: ", ";\n }\n }\n\n .input-wrapper label {\n margin-bottom: 0 !important;\n }\n\n textarea {\n width: 100%;\n height: 90px;\n resize: none;\n padding: 10px;\n text-align: center;\n }\n\n .form-button > div {\n display: flex;\n justify-content: center;\n\n button {\n font-weight: bold;\n max-width: 311px;\n margin: 0 auto;\n background-color: ", ";\n border: none;\n border-radius: 100px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n padding: 30px 40px;\n border-radius: 25px;\n\n h4 {\n padding-bottom: 20px;\n }\n\n form {\n padding-top: 20px;\n\n .container-switch {\n margin-bottom: 15px;\n }\n\n textarea {\n padding: 10px 15px;\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 25px 30px;\n border-radius: 20px;\n\n h4 {\n padding-bottom: 15px;\n }\n\n form {\n padding-top: 15px;\n\n .container-switch {\n margin-bottom: 10px;\n }\n\n textarea {\n padding: 8px 12px;\n }\n }\n }\n\n @media only screen and (max-width: 768px) {\n padding: 15px;\n border-radius: 10px;\n\n h4 {\n padding-bottom: 10px;\n }\n\n form {\n padding-top: 10px;\n\n .container-switch {\n margin-bottom: 5px;\n }\n\n textarea {\n padding: 5px 8px;\n }\n\n .form-button button {\n max-width: 260px;\n }\n\n label span {\n font-size: 1.8rem;\n }\n\n [role='radiogroup'] {\n gap: 3px;\n }\n }\n }\n"], ["\n padding: 40px 60px;\n border-radius: 30px;\n background-color: ", ";\n\n h4 {\n text-align: center;\n border-bottom: 1px solid #dcdcdc;\n padding-bottom: 30px;\n }\n\n form {\n padding-top: 30px;\n\n .conntent_form_infinity_forge {\n padding: 0;\n\n label {\n margin-bottom: 0 !important;\n font-weight: 400 !important;\n }\n }\n\n .container-switch {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 20px;\n\n > * {\n flex: 1;\n }\n\n .input-content:has([role='radiogroup']) {\n flex: unset;\n }\n\n label:has(input:checked) span {\n color: ", ";\n }\n\n span:hover,\n span.active {\n color: ", ";\n }\n }\n\n .input-wrapper label {\n margin-bottom: 0 !important;\n }\n\n textarea {\n width: 100%;\n height: 90px;\n resize: none;\n padding: 10px;\n text-align: center;\n }\n\n .form-button > div {\n display: flex;\n justify-content: center;\n\n button {\n font-weight: bold;\n max-width: 311px;\n margin: 0 auto;\n background-color: ", ";\n border: none;\n border-radius: 100px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n padding: 30px 40px;\n border-radius: 25px;\n\n h4 {\n padding-bottom: 20px;\n }\n\n form {\n padding-top: 20px;\n\n .container-switch {\n margin-bottom: 15px;\n }\n\n textarea {\n padding: 10px 15px;\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 25px 30px;\n border-radius: 20px;\n\n h4 {\n padding-bottom: 15px;\n }\n\n form {\n padding-top: 15px;\n\n .container-switch {\n margin-bottom: 10px;\n }\n\n textarea {\n padding: 8px 12px;\n }\n }\n }\n\n @media only screen and (max-width: 768px) {\n padding: 15px;\n border-radius: 10px;\n\n h4 {\n padding-bottom: 10px;\n }\n\n form {\n padding-top: 10px;\n\n .container-switch {\n margin-bottom: 5px;\n }\n\n textarea {\n padding: 5px 8px;\n }\n\n .form-button button {\n max-width: 260px;\n }\n\n label span {\n font-size: 1.8rem;\n }\n\n [role='radiogroup'] {\n gap: 3px;\n }\n }\n }\n"])), function (p) { return p.theme.grey; }, function (p) { return p.$theme.baseColor || p.theme.primaryColor; }, function (p) { return p.$theme.baseColor || p.theme.primaryColor; }, function (p) { return p.$theme.baseColor || p.theme.primaryColor; });
|
|
14
|
+
var templateObject_1, templateObject_2;
|
|
15
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/ui/components/evaluations/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,WAAW,GAAG,IAAA,2BAAM,EAAC,SAAS,CAAC,glNAI1C,sBAEW,EAAgC,mIAUrB,EAA2B,8YAmBhC,EAAiD,0PAe/C,EAA6B,qyBAkCxB,EAA6D,+IAQtE,EAA6B,8WAetB,EAAuC,47IAgP9D,KArVY,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAArB,CAAqB,EAUrB,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,EAAhB,CAAgB,EAmBhC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,YAAY,EAA1C,CAA0C,EAe/C,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,EAAlB,CAAkB,EAkCxB,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,KAAK,CAAC,KAAK,CAAC,YAAY,EAAlD,CAAkD,EAQtE,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,EAAlB,CAAkB,EAetB,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,IAAI,MAAM,EAA5B,CAA4B,EAgP9D;AAEY,QAAA,KAAK,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,+9EAIhC,uEAGoB,EAAmB,8nBAmCxB,EAAiD,uEAKjD,EAAiD,obAwBtC,EAAiD,otCAiF5E,KAjJqB,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,KAAK,CAAC,IAAI,EAAZ,CAAY,EAmCxB,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,YAAY,EAA1C,CAA0C,EAKjD,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,YAAY,EAA1C,CAA0C,EAwBtC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,YAAY,EAA1C,CAA0C,EAiF5E"}
|