@tipp/ui 2.3.7 → 2.3.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/app/index.cjs.map +1 -1
- package/dist/app/index.js +89 -89
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +30 -30
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +30 -30
- package/dist/app/platform/curriculum-card.cjs.map +1 -1
- package/dist/app/platform/curriculum-card.js +7 -7
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +71 -71
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +72 -72
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +71 -71
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +30 -30
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +71 -71
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +30 -30
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +72 -72
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +74 -74
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +30 -30
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +33 -33
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +30 -30
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +30 -30
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +30 -30
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +30 -30
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +29 -29
- package/dist/atoms/bullet-text.js +2 -2
- package/dist/atoms/dialog.js +2 -2
- package/dist/atoms/field-error-wrapper.js +2 -2
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +63 -63
- package/dist/atoms/list.js +2 -2
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +4 -4
- package/dist/chunk-27MOXAR2.js +64 -0
- package/dist/chunk-27MOXAR2.js.map +1 -0
- package/dist/chunk-43FK4CS3.js +196 -0
- package/dist/chunk-43FK4CS3.js.map +1 -0
- package/dist/chunk-53LB62DW.js +165 -0
- package/dist/chunk-53LB62DW.js.map +1 -0
- package/dist/chunk-5ZIFEE7H.js +75 -0
- package/dist/chunk-5ZIFEE7H.js.map +1 -0
- package/dist/chunk-6D2NJ4JA.js +196 -0
- package/dist/chunk-6D2NJ4JA.js.map +1 -0
- package/dist/chunk-6NKDS27F.js +89 -0
- package/dist/chunk-6NKDS27F.js.map +1 -0
- package/dist/chunk-6V47NXW5.js +64 -0
- package/dist/chunk-6V47NXW5.js.map +1 -0
- package/dist/chunk-7N6VN2FK.js +70 -0
- package/dist/chunk-7N6VN2FK.js.map +1 -0
- package/dist/chunk-A3DYXUDV.js +144 -0
- package/dist/chunk-A3DYXUDV.js.map +1 -0
- package/dist/chunk-AZE4QTZI.js +165 -0
- package/dist/chunk-AZE4QTZI.js.map +1 -0
- package/dist/chunk-FVTBDVT4.js +233 -0
- package/dist/chunk-FVTBDVT4.js.map +1 -0
- package/dist/chunk-GFBHPXDF.js +196 -0
- package/dist/chunk-GFBHPXDF.js.map +1 -0
- package/dist/chunk-GU75W4O2.js +228 -0
- package/dist/chunk-GU75W4O2.js.map +1 -0
- package/dist/chunk-HDXQXNCG.js +99 -0
- package/dist/chunk-HDXQXNCG.js.map +1 -0
- package/dist/chunk-HKW45LNY.js +99 -0
- package/dist/chunk-HKW45LNY.js.map +1 -0
- package/dist/chunk-I46J2XHG.js +75 -0
- package/dist/chunk-I46J2XHG.js.map +1 -0
- package/dist/chunk-IEMRHLQ3.js +69 -0
- package/dist/chunk-IEMRHLQ3.js.map +1 -0
- package/dist/chunk-IG2TTPNN.js +233 -0
- package/dist/chunk-IG2TTPNN.js.map +1 -0
- package/dist/chunk-IMMHRXM2.js +363 -0
- package/dist/chunk-IMMHRXM2.js.map +1 -0
- package/dist/chunk-IPEAJLS3.js +169 -0
- package/dist/chunk-IPEAJLS3.js.map +1 -0
- package/dist/chunk-JAMNT4FG.js +125 -0
- package/dist/chunk-JAMNT4FG.js.map +1 -0
- package/dist/chunk-K7ERERDQ.js +174 -0
- package/dist/chunk-K7ERERDQ.js.map +1 -0
- package/dist/chunk-LAZUFZRZ.js +198 -0
- package/dist/chunk-LAZUFZRZ.js.map +1 -0
- package/dist/chunk-LHKGSKKG.js +70 -0
- package/dist/chunk-LHKGSKKG.js.map +1 -0
- package/dist/chunk-LTGEHFFG.js +363 -0
- package/dist/chunk-LTGEHFFG.js.map +1 -0
- package/dist/chunk-MQMW3XXD.js +117 -0
- package/dist/chunk-MQMW3XXD.js.map +1 -0
- package/dist/chunk-NIIMYTIK.js +117 -0
- package/dist/chunk-NIIMYTIK.js.map +1 -0
- package/dist/chunk-O63J4YET.js +169 -0
- package/dist/chunk-O63J4YET.js.map +1 -0
- package/dist/chunk-OUJ7TDIH.js +100 -0
- package/dist/chunk-OUJ7TDIH.js.map +1 -0
- package/dist/chunk-OX3N37YY.js +89 -0
- package/dist/chunk-OX3N37YY.js.map +1 -0
- package/dist/chunk-PLXD7ZKF.js +54 -0
- package/dist/chunk-PLXD7ZKF.js.map +1 -0
- package/dist/chunk-PPCORTMH.js +87 -0
- package/dist/chunk-PPCORTMH.js.map +1 -0
- package/dist/chunk-PYGTM7ML.js +79 -0
- package/dist/chunk-PYGTM7ML.js.map +1 -0
- package/dist/chunk-PZYP6MUR.js +174 -0
- package/dist/chunk-PZYP6MUR.js.map +1 -0
- package/dist/chunk-QDTII3D4.js +87 -0
- package/dist/chunk-QDTII3D4.js.map +1 -0
- package/dist/chunk-QIRUYN3K.js +69 -0
- package/dist/chunk-QIRUYN3K.js.map +1 -0
- package/dist/chunk-QQVXNMUF.js +192 -0
- package/dist/chunk-QQVXNMUF.js.map +1 -0
- package/dist/chunk-QT3MU3ZI.js +192 -0
- package/dist/chunk-QT3MU3ZI.js.map +1 -0
- package/dist/chunk-QYBSBW7T.js +64 -0
- package/dist/chunk-QYBSBW7T.js.map +1 -0
- package/dist/chunk-RCTSFOT7.js +145 -0
- package/dist/chunk-RCTSFOT7.js.map +1 -0
- package/dist/chunk-SDKOCP5V.js +125 -0
- package/dist/chunk-SDKOCP5V.js.map +1 -0
- package/dist/chunk-SP24KOSH.js +228 -0
- package/dist/chunk-SP24KOSH.js.map +1 -0
- package/dist/chunk-SW3F2AU5.js +63 -0
- package/dist/chunk-SW3F2AU5.js.map +1 -0
- package/dist/chunk-TMM2Z7GY.js +68 -0
- package/dist/chunk-TMM2Z7GY.js.map +1 -0
- package/dist/chunk-VWUWH2YW.js +64 -0
- package/dist/chunk-VWUWH2YW.js.map +1 -0
- package/dist/chunk-VZDOBBRZ.js +144 -0
- package/dist/chunk-VZDOBBRZ.js.map +1 -0
- package/dist/chunk-W3TY3SYU.js +63 -0
- package/dist/chunk-W3TY3SYU.js.map +1 -0
- package/dist/chunk-W5TPOFOO.js +141 -0
- package/dist/chunk-W5TPOFOO.js.map +1 -0
- package/dist/chunk-W747CDDK.js +79 -0
- package/dist/chunk-W747CDDK.js.map +1 -0
- package/dist/chunk-XUSCUT5R.js +100 -0
- package/dist/chunk-XUSCUT5R.js.map +1 -0
- package/dist/chunk-Y3JWP7C5.js +145 -0
- package/dist/chunk-Y3JWP7C5.js.map +1 -0
- package/dist/chunk-YPIM3E25.js +68 -0
- package/dist/chunk-YPIM3E25.js.map +1 -0
- package/dist/chunk-ZDMAVBNK.js +89 -0
- package/dist/chunk-ZDMAVBNK.js.map +1 -0
- package/dist/chunk-ZE3LSQUW.js +54 -0
- package/dist/chunk-ZE3LSQUW.js.map +1 -0
- package/dist/context/index.js +5 -5
- package/dist/icon.cjs +2 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +1 -1
- package/dist/icon.d.ts +1 -1
- package/dist/icon.js +3 -1
- package/dist/index.cjs +43 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +145 -143
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +17 -17
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +10 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +21 -21
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +7 -7
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +23 -23
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +26 -26
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +9 -9
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +6 -6
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +5 -5
- package/dist/molecules/curriculumV2/curriculum-v2-layout.js +2 -2
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +35 -35
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +7 -7
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +6 -6
- package/dist/molecules/download-card.js +2 -2
- package/dist/molecules/dynamic-field.js +4 -4
- package/dist/molecules/dynamic-form.js +5 -5
- package/dist/molecules/expand-table/index.cjs +41 -35
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +5 -5
- package/dist/molecules/force-refresh.js +2 -2
- package/dist/molecules/ghost-post.js +4 -4
- package/dist/molecules/index.cjs +41 -35
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +65 -65
- package/dist/molecules/learning-post.js +5 -5
- package/dist/molecules/navigation.js +3 -3
- package/dist/molecules/one-on-one-guide-list.js +3 -3
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +5 -5
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +6 -6
- package/dist/molecules/time-select.js +1 -1
- package/dist/utils/curriculum.utils.cjs.map +1 -1
- package/dist/utils/curriculum.utils.js +1 -1
- package/dist/utils/index.js +3 -3
- package/package.json +1 -1
- package/src/icon.ts +2 -1
- package/src/molecules/expand-table/index.tsx +29 -18
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Heading
|
|
3
|
+
} from "./chunk-BESTU2AY.js";
|
|
4
|
+
import {
|
|
5
|
+
Box
|
|
6
|
+
} from "./chunk-4Y5BEXVN.js";
|
|
7
|
+
import {
|
|
8
|
+
Typo
|
|
9
|
+
} from "./chunk-PMJIFLDT.js";
|
|
10
|
+
import {
|
|
11
|
+
Flex
|
|
12
|
+
} from "./chunk-25HMMI7R.js";
|
|
13
|
+
import {
|
|
14
|
+
Button
|
|
15
|
+
} from "./chunk-ZVDAEY5Q.js";
|
|
16
|
+
import {
|
|
17
|
+
Card
|
|
18
|
+
} from "./chunk-RP2RGCAW.js";
|
|
19
|
+
import {
|
|
20
|
+
DownloadIcon
|
|
21
|
+
} from "./chunk-W5TPOFOO.js";
|
|
22
|
+
|
|
23
|
+
// src/app/platform/report-card.tsx
|
|
24
|
+
import { useCallback } from "react";
|
|
25
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
26
|
+
function ReportCard(props) {
|
|
27
|
+
const { title, file, status, subtitle } = props;
|
|
28
|
+
const onClickDownload = useCallback(() => {
|
|
29
|
+
if (!file) return;
|
|
30
|
+
const { url, fileName } = file;
|
|
31
|
+
const link = document.createElement("a");
|
|
32
|
+
link.href = url;
|
|
33
|
+
link.download = fileName;
|
|
34
|
+
link.target = "_blank";
|
|
35
|
+
document.body.appendChild(link);
|
|
36
|
+
link.click();
|
|
37
|
+
document.body.removeChild(link);
|
|
38
|
+
}, [file]);
|
|
39
|
+
if (status) {
|
|
40
|
+
return /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(Flex, { align: "center", justify: "between", children: [
|
|
41
|
+
/* @__PURE__ */ jsx(Heading, { variant: "heading4", children: title }),
|
|
42
|
+
status
|
|
43
|
+
] }) });
|
|
44
|
+
}
|
|
45
|
+
return /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(
|
|
46
|
+
Flex,
|
|
47
|
+
{
|
|
48
|
+
direction: { initial: "column", xs: "row" },
|
|
49
|
+
gapY: "2",
|
|
50
|
+
justify: "between",
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
53
|
+
/* @__PURE__ */ jsx(Heading, { variant: "heading4", children: title }),
|
|
54
|
+
subtitle ? /* @__PURE__ */ jsx(Typo, { color: "gray", children: subtitle }) : null
|
|
55
|
+
] }),
|
|
56
|
+
/* @__PURE__ */ jsx(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ jsxs(Flex, { gap: "2", width: "100%", children: [
|
|
57
|
+
/* @__PURE__ */ jsx(DownloadIcon, {}),
|
|
58
|
+
file == null ? void 0 : file.buttonName
|
|
59
|
+
] }) }, file == null ? void 0 : file.url)
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
) });
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export {
|
|
66
|
+
ReportCard
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=chunk-TMM2Z7GY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/app/platform/report-card.tsx"],"sourcesContent":["import React, { useCallback } from 'react';\nimport { Box, Button, Card, Flex, Heading, Typo } from '@/atoms';\nimport type { Attachment } from '@/molecules';\nimport { DownloadIcon } from '@/icon';\n\ntype File = Attachment & { buttonName: string };\nexport interface ReportCardProps {\n title?: string;\n file?: File;\n status?: React.ReactNode;\n subtitle?: string;\n}\n\nexport function ReportCard(props: ReportCardProps): React.ReactNode {\n const { title, file, status, subtitle } = props;\n\n const onClickDownload = useCallback(() => {\n if (!file) return;\n const { url, fileName } = file;\n const link = document.createElement('a');\n link.href = url;\n link.download = fileName;\n link.target = '_blank';\n\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }, [file]);\n\n if (status) {\n return (\n <Card>\n <Flex align=\"center\" justify=\"between\">\n <Heading variant=\"heading4\">{title}</Heading>\n {status}\n </Flex>\n </Card>\n );\n }\n\n return (\n <Card>\n <Flex\n direction={{ initial: 'column', xs: 'row' }}\n gapY=\"2\"\n justify=\"between\"\n >\n <Box>\n <Heading variant=\"heading4\">{title}</Heading>\n {subtitle ? <Typo color=\"gray\">{subtitle}</Typo> : null}\n </Box>\n <Button key={file?.url} onClick={onClickDownload} variant=\"surface\">\n <Flex gap=\"2\" width=\"100%\">\n <DownloadIcon />\n {file?.buttonName}\n </Flex>\n </Button>\n </Flex>\n </Card>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAgB,mBAAmB;AAgC3B,SACE,KADF;AAnBD,SAAS,WAAW,OAAyC;AAClE,QAAM,EAAE,OAAO,MAAM,QAAQ,SAAS,IAAI;AAE1C,QAAM,kBAAkB,YAAY,MAAM;AACxC,QAAI,CAAC,KAAM;AACX,UAAM,EAAE,KAAK,SAAS,IAAI;AAC1B,UAAM,OAAO,SAAS,cAAc,GAAG;AACvC,SAAK,OAAO;AACZ,SAAK,WAAW;AAChB,SAAK,SAAS;AAEd,aAAS,KAAK,YAAY,IAAI;AAC9B,SAAK,MAAM;AACX,aAAS,KAAK,YAAY,IAAI;AAAA,EAChC,GAAG,CAAC,IAAI,CAAC;AAET,MAAI,QAAQ;AACV,WACE,oBAAC,QACC,+BAAC,QAAK,OAAM,UAAS,SAAQ,WAC3B;AAAA,0BAAC,WAAQ,SAAQ,YAAY,iBAAM;AAAA,MAClC;AAAA,OACH,GACF;AAAA,EAEJ;AAEA,SACE,oBAAC,QACC;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,EAAE,SAAS,UAAU,IAAI,MAAM;AAAA,MAC1C,MAAK;AAAA,MACL,SAAQ;AAAA,MAER;AAAA,6BAAC,OACC;AAAA,8BAAC,WAAQ,SAAQ,YAAY,iBAAM;AAAA,UAClC,WAAW,oBAAC,QAAK,OAAM,QAAQ,oBAAS,IAAU;AAAA,WACrD;AAAA,QACA,oBAAC,UAAuB,SAAS,iBAAiB,SAAQ,WACxD,+BAAC,QAAK,KAAI,KAAI,OAAM,QAClB;AAAA,8BAAC,gBAAa;AAAA,UACb,6BAAM;AAAA,WACT,KAJW,6BAAM,GAKnB;AAAA;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import {
|
|
2
|
+
curriculum_review_default
|
|
3
|
+
} from "./chunk-43FK4CS3.js";
|
|
4
|
+
import {
|
|
5
|
+
curriculum_video_default
|
|
6
|
+
} from "./chunk-QGKQ3IX7.js";
|
|
7
|
+
import {
|
|
8
|
+
curriculum_ai_traning_default
|
|
9
|
+
} from "./chunk-LHKGSKKG.js";
|
|
10
|
+
import {
|
|
11
|
+
useCurriculumContext
|
|
12
|
+
} from "./chunk-IYQJIEVM.js";
|
|
13
|
+
import {
|
|
14
|
+
Flex
|
|
15
|
+
} from "./chunk-25HMMI7R.js";
|
|
16
|
+
import {
|
|
17
|
+
InfoCircledIcon
|
|
18
|
+
} from "./chunk-W5TPOFOO.js";
|
|
19
|
+
import {
|
|
20
|
+
Typo
|
|
21
|
+
} from "./chunk-PMJIFLDT.js";
|
|
22
|
+
|
|
23
|
+
// src/molecules/curriculumV2/CurriculumContents/index.tsx
|
|
24
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
25
|
+
function CurriculumBody() {
|
|
26
|
+
const { selectedItem, selectedSectionTitle } = useCurriculumContext();
|
|
27
|
+
switch (selectedItem.type) {
|
|
28
|
+
case "video":
|
|
29
|
+
return /* @__PURE__ */ jsx(curriculum_video_default, { item: selectedItem });
|
|
30
|
+
case "review":
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
32
|
+
curriculum_review_default,
|
|
33
|
+
{
|
|
34
|
+
item: selectedItem,
|
|
35
|
+
sectionTitle: selectedSectionTitle == null ? void 0 : selectedSectionTitle.title
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
case "aiTraining":
|
|
39
|
+
return /* @__PURE__ */ jsx(curriculum_ai_traning_default, { item: selectedItem });
|
|
40
|
+
default:
|
|
41
|
+
return /* @__PURE__ */ jsxs(
|
|
42
|
+
Flex,
|
|
43
|
+
{
|
|
44
|
+
align: "center",
|
|
45
|
+
direction: "column",
|
|
46
|
+
gap: "2",
|
|
47
|
+
height: "100%",
|
|
48
|
+
justify: "center",
|
|
49
|
+
width: "100%",
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ jsx(InfoCircledIcon, { height: 24, width: 24 }),
|
|
52
|
+
/* @__PURE__ */ jsx(Typo, { children: "\uCEE8\uD150\uCE20\uB97C \uB85C\uB529 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4" }),
|
|
53
|
+
/* @__PURE__ */ jsx(Typo, { align: "center", color: "gray", variant: "caption", children: `[debug info]
|
|
54
|
+
${JSON.stringify(selectedItem)}` })
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export {
|
|
62
|
+
CurriculumBody
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=chunk-VWUWH2YW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/molecules/curriculumV2/CurriculumContents/index.tsx"],"sourcesContent":["import React from 'react';\nimport { Flex } from '@/atoms/flex';\nimport { Typo } from '@/atoms/typo';\nimport { InfoCircledIcon } from '@/icon';\nimport { useCurriculumContext } from '../curriculum-context';\nimport CurriculumVideo from './curriculum-video';\nimport CurriculumReview from './curriculum-review';\nimport CurriculumAiTraning from './curriculum-ai-traning';\n\nexport function CurriculumBody(): React.ReactNode {\n const { selectedItem, selectedSectionTitle } = useCurriculumContext();\n\n switch (selectedItem.type) {\n case 'video':\n return <CurriculumVideo item={selectedItem} />;\n case 'review':\n return (\n <CurriculumReview\n item={selectedItem}\n sectionTitle={selectedSectionTitle?.title}\n />\n );\n case 'aiTraining':\n return <CurriculumAiTraning item={selectedItem}/>\n default:\n return (\n <Flex\n align=\"center\"\n direction=\"column\"\n gap=\"2\"\n height=\"100%\"\n justify=\"center\"\n width=\"100%\"\n >\n <InfoCircledIcon height={24} width={24} />\n <Typo>컨텐츠를 로딩 할 수 없습니다</Typo>\n <Typo align=\"center\" color=\"gray\" variant=\"caption\">\n {`[debug info]\n ${JSON.stringify(selectedItem)}`}\n </Typo>\n </Flex>\n );\n }\n} "],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAca,cAYL,YAZK;AALN,SAAS,iBAAkC;AAChD,QAAM,EAAE,cAAc,qBAAqB,IAAI,qBAAqB;AAEpE,UAAQ,aAAa,MAAM;AAAA,IACzB,KAAK;AACH,aAAO,oBAAC,4BAAgB,MAAM,cAAc;AAAA,IAC9C,KAAK;AACH,aACE;AAAA,QAAC;AAAA;AAAA,UACC,MAAM;AAAA,UACN,cAAc,6DAAsB;AAAA;AAAA,MACtC;AAAA,IAEF,KAAK;AACH,aAAO,oBAAC,iCAAoB,MAAM,cAAa;AAAA,IACnD;AACE,aACE;AAAA,QAAC;AAAA;AAAA,UACC,OAAM;AAAA,UACN,WAAU;AAAA,UACV,KAAI;AAAA,UACJ,QAAO;AAAA,UACP,SAAQ;AAAA,UACR,OAAM;AAAA,UAEN;AAAA,gCAAC,mBAAgB,QAAQ,IAAI,OAAO,IAAI;AAAA,YACxC,oBAAC,QAAK,0FAAgB;AAAA,YACtB,oBAAC,QAAK,OAAM,UAAS,OAAM,QAAO,SAAQ,WACvC;AAAA,cACC,KAAK,UAAU,YAAY,CAAC,IAChC;AAAA;AAAA;AAAA,MACF;AAAA,EAEN;AACF;","names":[]}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EditCoachingTime
|
|
3
|
+
} from "./chunk-PZYP6MUR.js";
|
|
4
|
+
import {
|
|
5
|
+
EditServiceType
|
|
6
|
+
} from "./chunk-K2ATYWTQ.js";
|
|
7
|
+
import {
|
|
8
|
+
Grid
|
|
9
|
+
} from "./chunk-EGEQY3KT.js";
|
|
10
|
+
import {
|
|
11
|
+
DataList
|
|
12
|
+
} from "./chunk-VTJZMOSP.js";
|
|
13
|
+
import {
|
|
14
|
+
Dialog
|
|
15
|
+
} from "./chunk-AH4A53SZ.js";
|
|
16
|
+
import {
|
|
17
|
+
Heading
|
|
18
|
+
} from "./chunk-BESTU2AY.js";
|
|
19
|
+
import {
|
|
20
|
+
BulletText
|
|
21
|
+
} from "./chunk-Z34HR7RE.js";
|
|
22
|
+
import {
|
|
23
|
+
Flex
|
|
24
|
+
} from "./chunk-25HMMI7R.js";
|
|
25
|
+
import {
|
|
26
|
+
Button
|
|
27
|
+
} from "./chunk-ZVDAEY5Q.js";
|
|
28
|
+
import {
|
|
29
|
+
Card
|
|
30
|
+
} from "./chunk-RP2RGCAW.js";
|
|
31
|
+
import {
|
|
32
|
+
Pencil1Icon
|
|
33
|
+
} from "./chunk-W5TPOFOO.js";
|
|
34
|
+
import {
|
|
35
|
+
__objRest,
|
|
36
|
+
__spreadProps,
|
|
37
|
+
__spreadValues
|
|
38
|
+
} from "./chunk-CRTRMMJ7.js";
|
|
39
|
+
|
|
40
|
+
// src/app/platform/session-card.tsx
|
|
41
|
+
import { useCallback, useMemo } from "react";
|
|
42
|
+
import { format } from "date-fns";
|
|
43
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
44
|
+
var preventDefault = (e) => {
|
|
45
|
+
e.preventDefault();
|
|
46
|
+
};
|
|
47
|
+
function SessionCard(props) {
|
|
48
|
+
const _a = props, {
|
|
49
|
+
sessionNumber,
|
|
50
|
+
userName,
|
|
51
|
+
error,
|
|
52
|
+
ExtraButtons,
|
|
53
|
+
TitleExtra,
|
|
54
|
+
editable,
|
|
55
|
+
onSaveDate,
|
|
56
|
+
onSaveSessionType,
|
|
57
|
+
startAt,
|
|
58
|
+
endAt,
|
|
59
|
+
sessionType
|
|
60
|
+
} = _a, rest = __objRest(_a, [
|
|
61
|
+
"sessionNumber",
|
|
62
|
+
"userName",
|
|
63
|
+
"error",
|
|
64
|
+
"ExtraButtons",
|
|
65
|
+
"TitleExtra",
|
|
66
|
+
"editable",
|
|
67
|
+
"onSaveDate",
|
|
68
|
+
"onSaveSessionType",
|
|
69
|
+
"startAt",
|
|
70
|
+
"endAt",
|
|
71
|
+
"sessionType"
|
|
72
|
+
]);
|
|
73
|
+
const renderEditButton = useCallback(() => {
|
|
74
|
+
return /* @__PURE__ */ jsx(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ jsx(Pencil1Icon, {}) });
|
|
75
|
+
}, []);
|
|
76
|
+
const sessionTimeStr = useMemo(() => {
|
|
77
|
+
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
78
|
+
return `${format(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${format(endAt, "HH\uC2DC mm\uBD84")}`;
|
|
79
|
+
}, [startAt, endAt]);
|
|
80
|
+
return /* @__PURE__ */ jsx(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "3", children: [
|
|
81
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", width: "100%", children: [
|
|
82
|
+
/* @__PURE__ */ jsx(Heading, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
83
|
+
TitleExtra,
|
|
84
|
+
error ? /* @__PURE__ */ jsx(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
85
|
+
] }),
|
|
86
|
+
/* @__PURE__ */ jsxs(DataList.Root, { children: [
|
|
87
|
+
/* @__PURE__ */ jsxs(DataList.Item, { children: [
|
|
88
|
+
/* @__PURE__ */ jsx(DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
89
|
+
/* @__PURE__ */ jsxs(DataList.Value, { children: [
|
|
90
|
+
sessionTimeStr,
|
|
91
|
+
editable ? /* @__PURE__ */ jsxs(Dialog.Root, { children: [
|
|
92
|
+
/* @__PURE__ */ jsx(Dialog.Trigger, { children: renderEditButton() }),
|
|
93
|
+
/* @__PURE__ */ jsx(
|
|
94
|
+
Dialog.Content,
|
|
95
|
+
{
|
|
96
|
+
onOpenAutoFocus: preventDefault,
|
|
97
|
+
style: { overflow: "visible" },
|
|
98
|
+
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
99
|
+
children: /* @__PURE__ */ jsx(
|
|
100
|
+
EditCoachingTime,
|
|
101
|
+
{
|
|
102
|
+
defaultEndAt: endAt,
|
|
103
|
+
defaultStartAt: startAt,
|
|
104
|
+
onClickSave: onSaveDate
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] }) : null
|
|
110
|
+
] })
|
|
111
|
+
] }),
|
|
112
|
+
/* @__PURE__ */ jsxs(Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
113
|
+
/* @__PURE__ */ jsxs(DataList.Item, { children: [
|
|
114
|
+
/* @__PURE__ */ jsx(DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
115
|
+
/* @__PURE__ */ jsxs(DataList.Value, { children: [
|
|
116
|
+
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
117
|
+
editable ? /* @__PURE__ */ jsxs(Dialog.Root, { children: [
|
|
118
|
+
/* @__PURE__ */ jsx(Dialog.Trigger, { children: renderEditButton() }),
|
|
119
|
+
/* @__PURE__ */ jsx(
|
|
120
|
+
Dialog.Content,
|
|
121
|
+
{
|
|
122
|
+
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
123
|
+
children: /* @__PURE__ */ jsx(
|
|
124
|
+
EditServiceType,
|
|
125
|
+
{
|
|
126
|
+
defaultServiceType: sessionType,
|
|
127
|
+
onClickSave: onSaveSessionType
|
|
128
|
+
}
|
|
129
|
+
)
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
] }) : null
|
|
133
|
+
] })
|
|
134
|
+
] }),
|
|
135
|
+
/* @__PURE__ */ jsx(Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
136
|
+
] })
|
|
137
|
+
] })
|
|
138
|
+
] }) }));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export {
|
|
142
|
+
SessionCard
|
|
143
|
+
};
|
|
144
|
+
//# sourceMappingURL=chunk-VZDOBBRZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/app/platform/session-card.tsx"],"sourcesContent":["import React, { useCallback, useMemo } from 'react';\nimport { format } from 'date-fns';\nimport type { ServiceType } from '@/types/biz.type';\nimport type { CardProps } from '../../atoms';\nimport {\n BulletText,\n Button,\n Card,\n DataList,\n Dialog,\n Flex,\n Grid,\n Heading,\n} from '../../atoms';\nimport { Pencil1Icon } from '../../icon';\nimport { EditCoachingTime } from './edit-coaching-time';\nimport { EditServiceType } from './edit-service-type';\n\nconst preventDefault = (e: Event): void => {\n e.preventDefault();\n};\nexport type SessionCardProps = Omit<CardProps, 'error'> & {\n error?: string;\n startAt?: Date;\n endAt?: Date;\n sessionType?: ServiceType;\n userName?: string;\n sessionNumber?: number;\n ExtraButtons?: React.ReactNode;\n editable?: boolean;\n TitleExtra?: React.ReactNode;\n onSaveDate?: (startTime: Date, endTime: Date) => void;\n onSaveSessionType?: (sessionType: string) => void;\n};\n\nexport function SessionCard(props: SessionCardProps): React.ReactNode {\n const {\n sessionNumber,\n userName,\n error,\n ExtraButtons,\n TitleExtra,\n editable,\n onSaveDate,\n onSaveSessionType,\n startAt,\n endAt,\n sessionType,\n ...rest\n } = props;\n\n const renderEditButton = useCallback((): React.ReactNode => {\n return (\n <Button color=\"gray\" ml=\"2\" variant=\"transparent\">\n <Pencil1Icon />\n </Button>\n );\n }, []);\n\n const sessionTimeStr = useMemo(() => {\n if (!startAt || !endAt) return '알 수 없음';\n\n return `${format(startAt, 'yyyy년 MM월 dd일 HH시 mm분')} ~ ${format(endAt, 'HH시 mm분')}`;\n }, [startAt, endAt]);\n\n return (\n <Card error={Boolean(error)} {...rest}>\n <Flex direction=\"column\" gap=\"3\">\n <Flex align=\"center\" width=\"100%\">\n <Heading variant=\"heading4\">\n {`${userName || '알 수 없음'}님 ${sessionNumber || '-'}회차`}\n </Heading>\n {TitleExtra}\n {error ? (\n <BulletText as=\"p\" color=\"red\" variant=\"caption\">\n {error}\n </BulletText>\n ) : null}\n </Flex>\n <DataList.Root>\n <DataList.Item>\n <DataList.Label>코칭 일시</DataList.Label>\n <DataList.Value>\n {sessionTimeStr}\n {editable ? (\n <Dialog.Root>\n <Dialog.Trigger>{renderEditButton()}</Dialog.Trigger>\n <Dialog.Content\n onOpenAutoFocus={preventDefault}\n style={{ overflow: 'visible' }}\n title={`${sessionNumber}회차 세션 일시 변경하기`}\n >\n <EditCoachingTime\n defaultEndAt={endAt}\n defaultStartAt={startAt}\n onClickSave={onSaveDate}\n />\n </Dialog.Content>\n </Dialog.Root>\n ) : null}\n </DataList.Value>\n </DataList.Item>\n <Grid columns={{ initial: '1', xs: '2' }} style={{ gap: 'inherit' }}>\n <DataList.Item>\n <DataList.Label>세션 참여 방식</DataList.Label>\n <DataList.Value>\n {sessionType === 'offlineCoaching' ? '오프라인' : '온라인'}\n {editable ? (\n <Dialog.Root>\n <Dialog.Trigger>{renderEditButton()}</Dialog.Trigger>\n <Dialog.Content\n title={`${sessionNumber}회차 세션 진행 방식 변경하기`}\n >\n <EditServiceType\n defaultServiceType={sessionType}\n onClickSave={onSaveSessionType}\n />\n </Dialog.Content>\n </Dialog.Root>\n ) : null}\n </DataList.Value>\n </DataList.Item>\n\n <Flex gap=\"2\" justify=\"end\">\n {ExtraButtons}\n </Flex>\n </Grid>\n </DataList.Root>\n </Flex>\n </Card>\n );\n}\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
review_question_body_default
|
|
3
|
+
} from "./chunk-QIRUYN3K.js";
|
|
4
|
+
import {
|
|
5
|
+
review_question_footer_default
|
|
6
|
+
} from "./chunk-ZE3LSQUW.js";
|
|
7
|
+
import {
|
|
8
|
+
review_question_header_default
|
|
9
|
+
} from "./chunk-VREM33BW.js";
|
|
10
|
+
import {
|
|
11
|
+
review_question_layout_default
|
|
12
|
+
} from "./chunk-AQVIQODP.js";
|
|
13
|
+
|
|
14
|
+
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.tsx
|
|
15
|
+
import { jsx } from "react/jsx-runtime";
|
|
16
|
+
function ReviewQuestion({
|
|
17
|
+
question,
|
|
18
|
+
index,
|
|
19
|
+
total,
|
|
20
|
+
answer,
|
|
21
|
+
error,
|
|
22
|
+
onChange,
|
|
23
|
+
onNext,
|
|
24
|
+
onPrev,
|
|
25
|
+
isLast,
|
|
26
|
+
isNextDisabled,
|
|
27
|
+
onSubmit,
|
|
28
|
+
isLoading
|
|
29
|
+
}) {
|
|
30
|
+
return /* @__PURE__ */ jsx(
|
|
31
|
+
review_question_layout_default,
|
|
32
|
+
{
|
|
33
|
+
Body: /* @__PURE__ */ jsx(
|
|
34
|
+
review_question_body_default,
|
|
35
|
+
{
|
|
36
|
+
answer,
|
|
37
|
+
error,
|
|
38
|
+
onChange,
|
|
39
|
+
question
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
Footer: /* @__PURE__ */ jsx(
|
|
43
|
+
review_question_footer_default,
|
|
44
|
+
{
|
|
45
|
+
index,
|
|
46
|
+
isLast,
|
|
47
|
+
isLoading,
|
|
48
|
+
isNextButtonDisabled: isNextDisabled,
|
|
49
|
+
onNext,
|
|
50
|
+
onPrev,
|
|
51
|
+
onSubmit
|
|
52
|
+
}
|
|
53
|
+
),
|
|
54
|
+
Header: /* @__PURE__ */ jsx(review_question_header_default, { index, total })
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
var ReviewQuestion_default = ReviewQuestion;
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
ReviewQuestion_default
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=chunk-W3TY3SYU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.tsx"],"sourcesContent":["import React from 'react';\nimport type { ReviewQuestionElement } from '@/types/curriculum.type';\nimport ReviewQuestionLayout from './review-question-layout';\nimport ReviewQuestionHeader from './review-question-header';\nimport ReviewQuestionFooter from './review-question-footer';\nimport ReviewQuestionBody from './review-question-body';\n\ninterface ReviewQuestionProps {\n question: ReviewQuestionElement;\n index: number;\n total: number;\n answer: string;\n error?: string;\n onChange: (value: string) => void;\n onNext: () => void;\n onPrev: () => void;\n isLast: boolean;\n isNextDisabled?: boolean;\n onSubmit: () => void;\n isLoading?: boolean;\n}\n\nfunction ReviewQuestion({\n question,\n index,\n total,\n answer,\n error,\n onChange,\n onNext,\n onPrev,\n isLast,\n isNextDisabled,\n onSubmit,\n isLoading,\n}: ReviewQuestionProps): React.ReactElement {\n \n return (\n <ReviewQuestionLayout\n Body={\n <ReviewQuestionBody\n answer={answer}\n error={error}\n onChange={onChange}\n question={question}\n />\n }\n Footer={\n <ReviewQuestionFooter\n index={index}\n isLast={isLast}\n isLoading={isLoading}\n isNextButtonDisabled={isNextDisabled}\n onNext={onNext}\n onPrev={onPrev}\n onSubmit={onSubmit}\n />\n }\n Header={<ReviewQuestionHeader index={index} total={total} />}\n />\n );\n}\n\nexport default ReviewQuestion;\n"],"mappings":";;;;;;;;;;;;;;AAwCQ;AAlBR,SAAS,eAAe;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAA4C;AAE1C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MACE;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA;AAAA,MACF;AAAA,MAEF,QACE;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA;AAAA,UACA;AAAA,UACA,sBAAsB;AAAA,UACtB;AAAA,UACA;AAAA,UACA;AAAA;AAAA,MACF;AAAA,MAEF,QAAQ,oBAAC,kCAAqB,OAAc,OAAc;AAAA;AAAA,EAC5D;AAEJ;AAEA,IAAO,yBAAQ;","names":[]}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// src/icon.ts
|
|
2
|
+
import {
|
|
3
|
+
BookmarkIcon,
|
|
4
|
+
ExitIcon,
|
|
5
|
+
InfoCircledIcon,
|
|
6
|
+
ExclamationTriangleIcon,
|
|
7
|
+
MagnifyingGlassIcon,
|
|
8
|
+
DotsHorizontalIcon,
|
|
9
|
+
ChatBubbleIcon,
|
|
10
|
+
PlusIcon,
|
|
11
|
+
BookmarkFilledIcon,
|
|
12
|
+
MixerHorizontalIcon,
|
|
13
|
+
ChevronLeftIcon,
|
|
14
|
+
ChevronRightIcon,
|
|
15
|
+
ClipboardIcon,
|
|
16
|
+
BarChartIcon,
|
|
17
|
+
PersonIcon,
|
|
18
|
+
GearIcon,
|
|
19
|
+
DotsVerticalIcon,
|
|
20
|
+
Pencil1Icon,
|
|
21
|
+
Cross1Icon,
|
|
22
|
+
Link2Icon,
|
|
23
|
+
ChevronUpIcon,
|
|
24
|
+
ChevronDownIcon,
|
|
25
|
+
FileIcon,
|
|
26
|
+
TrashIcon,
|
|
27
|
+
DoubleArrowLeftIcon,
|
|
28
|
+
DoubleArrowRightIcon,
|
|
29
|
+
GlobeIcon,
|
|
30
|
+
BackpackIcon,
|
|
31
|
+
CalendarIcon,
|
|
32
|
+
CheckIcon,
|
|
33
|
+
ArchiveIcon,
|
|
34
|
+
RowsIcon,
|
|
35
|
+
Share1Icon,
|
|
36
|
+
ClipboardCopyIcon,
|
|
37
|
+
CheckCircledIcon,
|
|
38
|
+
ArrowLeftIcon,
|
|
39
|
+
ReloadIcon,
|
|
40
|
+
RocketIcon,
|
|
41
|
+
ArrowRightIcon,
|
|
42
|
+
CopyIcon,
|
|
43
|
+
Pencil2Icon,
|
|
44
|
+
TargetIcon,
|
|
45
|
+
UpdateIcon,
|
|
46
|
+
DownloadIcon,
|
|
47
|
+
SpeakerLoudIcon,
|
|
48
|
+
UploadIcon,
|
|
49
|
+
SpeakerOffIcon,
|
|
50
|
+
TimerIcon,
|
|
51
|
+
ArrowTopRightIcon,
|
|
52
|
+
VideoIcon,
|
|
53
|
+
CubeIcon,
|
|
54
|
+
HamburgerMenuIcon,
|
|
55
|
+
FileTextIcon,
|
|
56
|
+
PaperPlaneIcon,
|
|
57
|
+
BellIcon,
|
|
58
|
+
ResetIcon,
|
|
59
|
+
HomeIcon,
|
|
60
|
+
StopIcon,
|
|
61
|
+
PlayIcon,
|
|
62
|
+
BoxIcon,
|
|
63
|
+
DashboardIcon,
|
|
64
|
+
SewingPinFilledIcon,
|
|
65
|
+
EnvelopeClosedIcon,
|
|
66
|
+
QuoteIcon,
|
|
67
|
+
FilePlusIcon,
|
|
68
|
+
QuestionMarkCircledIcon,
|
|
69
|
+
FaceIcon
|
|
70
|
+
} from "@radix-ui/react-icons";
|
|
71
|
+
|
|
72
|
+
export {
|
|
73
|
+
BookmarkIcon,
|
|
74
|
+
ExitIcon,
|
|
75
|
+
InfoCircledIcon,
|
|
76
|
+
ExclamationTriangleIcon,
|
|
77
|
+
MagnifyingGlassIcon,
|
|
78
|
+
DotsHorizontalIcon,
|
|
79
|
+
ChatBubbleIcon,
|
|
80
|
+
PlusIcon,
|
|
81
|
+
BookmarkFilledIcon,
|
|
82
|
+
MixerHorizontalIcon,
|
|
83
|
+
ChevronLeftIcon,
|
|
84
|
+
ChevronRightIcon,
|
|
85
|
+
ClipboardIcon,
|
|
86
|
+
BarChartIcon,
|
|
87
|
+
PersonIcon,
|
|
88
|
+
GearIcon,
|
|
89
|
+
DotsVerticalIcon,
|
|
90
|
+
Pencil1Icon,
|
|
91
|
+
Cross1Icon,
|
|
92
|
+
Link2Icon,
|
|
93
|
+
ChevronUpIcon,
|
|
94
|
+
ChevronDownIcon,
|
|
95
|
+
FileIcon,
|
|
96
|
+
TrashIcon,
|
|
97
|
+
DoubleArrowLeftIcon,
|
|
98
|
+
DoubleArrowRightIcon,
|
|
99
|
+
GlobeIcon,
|
|
100
|
+
BackpackIcon,
|
|
101
|
+
CalendarIcon,
|
|
102
|
+
CheckIcon,
|
|
103
|
+
ArchiveIcon,
|
|
104
|
+
RowsIcon,
|
|
105
|
+
Share1Icon,
|
|
106
|
+
ClipboardCopyIcon,
|
|
107
|
+
CheckCircledIcon,
|
|
108
|
+
ArrowLeftIcon,
|
|
109
|
+
ReloadIcon,
|
|
110
|
+
RocketIcon,
|
|
111
|
+
ArrowRightIcon,
|
|
112
|
+
CopyIcon,
|
|
113
|
+
Pencil2Icon,
|
|
114
|
+
TargetIcon,
|
|
115
|
+
UpdateIcon,
|
|
116
|
+
DownloadIcon,
|
|
117
|
+
SpeakerLoudIcon,
|
|
118
|
+
UploadIcon,
|
|
119
|
+
SpeakerOffIcon,
|
|
120
|
+
TimerIcon,
|
|
121
|
+
ArrowTopRightIcon,
|
|
122
|
+
VideoIcon,
|
|
123
|
+
CubeIcon,
|
|
124
|
+
HamburgerMenuIcon,
|
|
125
|
+
FileTextIcon,
|
|
126
|
+
PaperPlaneIcon,
|
|
127
|
+
BellIcon,
|
|
128
|
+
ResetIcon,
|
|
129
|
+
HomeIcon,
|
|
130
|
+
StopIcon,
|
|
131
|
+
PlayIcon,
|
|
132
|
+
BoxIcon,
|
|
133
|
+
DashboardIcon,
|
|
134
|
+
SewingPinFilledIcon,
|
|
135
|
+
EnvelopeClosedIcon,
|
|
136
|
+
QuoteIcon,
|
|
137
|
+
FilePlusIcon,
|
|
138
|
+
QuestionMarkCircledIcon,
|
|
139
|
+
FaceIcon
|
|
140
|
+
};
|
|
141
|
+
//# sourceMappingURL=chunk-W5TPOFOO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/icon.ts"],"sourcesContent":["export {\n BookmarkIcon,\n ExitIcon,\n InfoCircledIcon,\n ExclamationTriangleIcon,\n MagnifyingGlassIcon,\n DotsHorizontalIcon,\n ChatBubbleIcon,\n PlusIcon,\n BookmarkFilledIcon,\n MixerHorizontalIcon,\n ChevronLeftIcon,\n ChevronRightIcon,\n ClipboardIcon,\n BarChartIcon,\n PersonIcon,\n GearIcon,\n DotsVerticalIcon,\n Pencil1Icon,\n Cross1Icon,\n Link2Icon,\n ChevronUpIcon,\n ChevronDownIcon,\n FileIcon,\n TrashIcon,\n DoubleArrowLeftIcon,\n DoubleArrowRightIcon,\n GlobeIcon,\n BackpackIcon,\n CalendarIcon,\n CheckIcon,\n ArchiveIcon,\n RowsIcon,\n Share1Icon,\n ClipboardCopyIcon,\n CheckCircledIcon,\n ArrowLeftIcon,\n ReloadIcon,\n RocketIcon,\n ArrowRightIcon,\n CopyIcon,\n Pencil2Icon,\n TargetIcon,\n UpdateIcon,\n DownloadIcon,\n SpeakerLoudIcon,\n UploadIcon,\n SpeakerOffIcon,\n TimerIcon,\n ArrowTopRightIcon,\n VideoIcon,\n CubeIcon,\n HamburgerMenuIcon,\n FileTextIcon,\n PaperPlaneIcon,\n BellIcon,\n ResetIcon,\n HomeIcon,\n StopIcon,\n PlayIcon,\n BoxIcon,\n DashboardIcon,\n SewingPinFilledIcon,\n EnvelopeClosedIcon,\n QuoteIcon,\n FilePlusIcon,\n QuestionMarkCircledIcon,\n FaceIcon\n} from '@radix-ui/react-icons';\n\nexport * from './icons';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useCurriculumReviewContext
|
|
3
|
+
} from "./chunk-GMKRNFH5.js";
|
|
4
|
+
import {
|
|
5
|
+
Grid
|
|
6
|
+
} from "./chunk-EGEQY3KT.js";
|
|
7
|
+
import {
|
|
8
|
+
Heading
|
|
9
|
+
} from "./chunk-BESTU2AY.js";
|
|
10
|
+
import {
|
|
11
|
+
Typo
|
|
12
|
+
} from "./chunk-PMJIFLDT.js";
|
|
13
|
+
import {
|
|
14
|
+
Flex
|
|
15
|
+
} from "./chunk-25HMMI7R.js";
|
|
16
|
+
import {
|
|
17
|
+
Button
|
|
18
|
+
} from "./chunk-ZVDAEY5Q.js";
|
|
19
|
+
import {
|
|
20
|
+
HomeIcon,
|
|
21
|
+
ResetIcon
|
|
22
|
+
} from "./chunk-W5TPOFOO.js";
|
|
23
|
+
|
|
24
|
+
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.tsx
|
|
25
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
26
|
+
var THANKS_IMAGE_S3_URL = "https://tipp-coaching-live.s3.ap-northeast-2.amazonaws.com/images/curriculum_review_thanks.svg";
|
|
27
|
+
function CompleteReview(props) {
|
|
28
|
+
const { onClickReviewMyAnswer } = props;
|
|
29
|
+
const { reviewContents, sectionTitle, curriculum, onClickEndReview: onClickNextContents } = useCurriculumReviewContext();
|
|
30
|
+
const { reviewMeta } = curriculum.contents;
|
|
31
|
+
return /* @__PURE__ */ jsxs(
|
|
32
|
+
Flex,
|
|
33
|
+
{
|
|
34
|
+
align: "center",
|
|
35
|
+
direction: "column",
|
|
36
|
+
height: "100%",
|
|
37
|
+
justify: "between",
|
|
38
|
+
maxHeight: "550px",
|
|
39
|
+
maxWidth: "650px",
|
|
40
|
+
mx: "4",
|
|
41
|
+
my: "6",
|
|
42
|
+
width: "100%",
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", direction: "column", children: [
|
|
45
|
+
/* @__PURE__ */ jsx(Heading, { mb: "6", variant: "heading5", weight: "regular", children: (reviewMeta == null ? void 0 : reviewMeta.endReviewTopTitle) || "\uC751\uB2F5\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uC81C\uCD9C\uD588\uC2B5\uB2C8\uB2E4" }),
|
|
46
|
+
/* @__PURE__ */ jsx(
|
|
47
|
+
"img",
|
|
48
|
+
{
|
|
49
|
+
alt: "complete-review",
|
|
50
|
+
height: 141,
|
|
51
|
+
src: THANKS_IMAGE_S3_URL,
|
|
52
|
+
width: 118
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
/* @__PURE__ */ jsx(Typo, { color: "gray", mt: "6", variant: "caption", children: sectionTitle }),
|
|
56
|
+
/* @__PURE__ */ jsx(Heading, { variant: "heading5", children: reviewContents.title }),
|
|
57
|
+
/* @__PURE__ */ jsx(Typo, { align: "center", color: "gray", mt: "6", children: (reviewMeta == null ? void 0 : reviewMeta.endReviewDescription) || `\uC774\uBC88 \uD559\uC2B5\uC774 \uB9AC\uB354\uC2ED\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uAE30\uB97C \uBC14\uB78D\uB2C8\uB2E4.
|
|
58
|
+
\uC55E\uC73C\uB85C \uC788\uC744 \uB9AC\uB354\uB2D8\uC758 \uC131\uC7A5\uC744 \uAE30\uB300\uD569\uB2C8\uB2E4.` })
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ jsxs(Grid, { columns: { initial: "1fr", md: "2" }, gap: "3", width: "100%", children: [
|
|
61
|
+
/* @__PURE__ */ jsxs(Button, { onClick: onClickReviewMyAnswer, variant: "outline", children: [
|
|
62
|
+
(reviewMeta == null ? void 0 : reviewMeta.endReviewBackButtonTitle) || "\uB098\uC758 \uC751\uB2F5 \uB2E4\uC2DC \uBCF4\uAE30",
|
|
63
|
+
/* @__PURE__ */ jsx(ResetIcon, {})
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ jsxs(Button, { onClick: onClickNextContents, children: [
|
|
66
|
+
"\uCEE4\uB9AC\uD058\uB7FC\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30",
|
|
67
|
+
/* @__PURE__ */ jsx(HomeIcon, {})
|
|
68
|
+
] })
|
|
69
|
+
] })
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
var complete_review_default = CompleteReview;
|
|
75
|
+
|
|
76
|
+
export {
|
|
77
|
+
complete_review_default
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=chunk-W747CDDK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.tsx"],"sourcesContent":["import React from 'react';\nimport { Button } from '@/atoms/button';\nimport { Flex } from '@/atoms/flex';\nimport { Grid } from '@/atoms/grid';\nimport { Heading } from '@/atoms/heading';\nimport { Typo } from '@/atoms/typo';\nimport { HomeIcon, ResetIcon } from '@/icon';\nimport { useCurriculumReviewContext } from './curriculum-review-context';\n\nconst THANKS_IMAGE_S3_URL = 'https://tipp-coaching-live.s3.ap-northeast-2.amazonaws.com/images/curriculum_review_thanks.svg';\n\nfunction CompleteReview(props: {\n onClickReviewMyAnswer: () => void;\n}): React.ReactNode {\n const { onClickReviewMyAnswer } = props;\n const { reviewContents, sectionTitle, curriculum, onClickEndReview: onClickNextContents } =\n useCurriculumReviewContext();\n\n const { reviewMeta } = curriculum.contents;\n\n return (\n <Flex\n align=\"center\"\n direction=\"column\"\n height=\"100%\"\n justify=\"between\"\n maxHeight=\"550px\"\n maxWidth=\"650px\"\n mx=\"4\"\n my=\"6\"\n width=\"100%\"\n >\n <Flex align=\"center\" direction=\"column\">\n <Heading mb=\"6\" variant=\"heading5\" weight=\"regular\">\n {reviewMeta?.endReviewTopTitle || '응답을 성공적으로 제출했습니다'}\n </Heading>\n <img\n alt=\"complete-review\"\n height={141}\n src={THANKS_IMAGE_S3_URL}\n width={118}\n />\n <Typo color=\"gray\" mt=\"6\" variant=\"caption\">\n {sectionTitle}\n </Typo>\n <Heading variant=\"heading5\">{reviewContents.title}</Heading>\n <Typo align=\"center\" color=\"gray\" mt=\"6\">\n {reviewMeta?.endReviewDescription ||\n `이번 학습이 리더십에 도움이 되었기를 바랍니다.\\n 앞으로 있을 리더님의 성장을 기대합니다.`}\n </Typo>\n </Flex>\n\n <Grid columns={{ initial: '1fr', md: '2' }} gap=\"3\" width=\"100%\">\n <Button onClick={onClickReviewMyAnswer} variant=\"outline\">\n {reviewMeta?.endReviewBackButtonTitle || '나의 응답 다시 보기'}\n <ResetIcon />\n </Button>\n <Button onClick={onClickNextContents}>\n 커리큘럼으로 돌아가기 \n <HomeIcon />\n </Button>\n </Grid>\n </Flex>\n );\n}\n\nexport default CompleteReview;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAgCM,SACE,KADF;AAvBN,IAAM,sBAAsB;AAE5B,SAAS,eAAe,OAEJ;AAClB,QAAM,EAAE,sBAAsB,IAAI;AAClC,QAAM,EAAE,gBAAgB,cAAc,YAAY,kBAAkB,oBAAoB,IACtF,2BAA2B;AAE7B,QAAM,EAAE,WAAW,IAAI,WAAW;AAElC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAM;AAAA,MACN,WAAU;AAAA,MACV,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,WAAU;AAAA,MACV,UAAS;AAAA,MACT,IAAG;AAAA,MACH,IAAG;AAAA,MACH,OAAM;AAAA,MAEN;AAAA,6BAAC,QAAK,OAAM,UAAS,WAAU,UAC7B;AAAA,8BAAC,WAAQ,IAAG,KAAI,SAAQ,YAAW,QAAO,WACvC,oDAAY,sBAAqB,0FACpC;AAAA,UACA;AAAA,YAAC;AAAA;AAAA,cACC,KAAI;AAAA,cACJ,QAAQ;AAAA,cACR,KAAK;AAAA,cACL,OAAO;AAAA;AAAA,UACT;AAAA,UACA,oBAAC,QAAK,OAAM,QAAO,IAAG,KAAI,SAAQ,WAC/B,wBACH;AAAA,UACA,oBAAC,WAAQ,SAAQ,YAAY,yBAAe,OAAM;AAAA,UAClD,oBAAC,QAAK,OAAM,UAAS,OAAM,QAAO,IAAG,KAClC,oDAAY,yBACX;AAAA,+GACJ;AAAA,WACF;AAAA,QAEA,qBAAC,QAAK,SAAS,EAAE,SAAS,OAAO,IAAI,IAAI,GAAG,KAAI,KAAI,OAAM,QACxD;AAAA,+BAAC,UAAO,SAAS,uBAAuB,SAAQ,WAC7C;AAAA,sDAAY,6BAA4B;AAAA,YACzC,oBAAC,aAAU;AAAA,aACb;AAAA,UACA,qBAAC,UAAQ,SAAS,qBAAqB;AAAA;AAAA,YAErC,oBAAC,YAAS;AAAA,aACZ;AAAA,WACF;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,IAAO,0BAAQ;","names":[]}
|