@tipp/ui 2.3.3 → 2.3.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.
Files changed (201) hide show
  1. package/dist/app/index.cjs.map +1 -1
  2. package/dist/app/index.js +90 -90
  3. package/dist/app/platform/coach-question-list.cjs.map +1 -1
  4. package/dist/app/platform/coach-question-list.js +30 -30
  5. package/dist/app/platform/contents-card.cjs.map +1 -1
  6. package/dist/app/platform/contents-card.js +30 -30
  7. package/dist/app/platform/curriculum-card.js +7 -7
  8. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  9. package/dist/app/platform/edit-coaching-time.js +72 -72
  10. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  11. package/dist/app/platform/edit-service-type.js +73 -73
  12. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  13. package/dist/app/platform/goal-manage-card-edit.js +72 -72
  14. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  15. package/dist/app/platform/goal-manage-card-read.js +30 -30
  16. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  17. package/dist/app/platform/on-offline-radio-card.js +72 -72
  18. package/dist/app/platform/report-card.cjs.map +1 -1
  19. package/dist/app/platform/report-card.js +30 -30
  20. package/dist/app/platform/reservation-card.cjs.map +1 -1
  21. package/dist/app/platform/reservation-card.js +73 -73
  22. package/dist/app/platform/session-card.cjs.map +1 -1
  23. package/dist/app/platform/session-card.js +75 -75
  24. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  25. package/dist/app/platform/session-review-simple-read.js +30 -30
  26. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
  27. package/dist/app/platform/userInfos/coaching-customer-info/index.js +35 -35
  28. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
  29. package/dist/app/platform/userInfos/coaching-customer-info/large.js +30 -30
  30. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
  31. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +30 -30
  32. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
  33. package/dist/app/platform/userInfos/coaching-customer-info/small.js +30 -30
  34. package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
  35. package/dist/app/platform/userInfos/session-user-info-detail.js +30 -30
  36. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  37. package/dist/app/platform/userInfos/utils.js +29 -29
  38. package/dist/atoms/bullet-text.js +2 -2
  39. package/dist/atoms/dialog.js +2 -2
  40. package/dist/atoms/drawer.cjs +8 -14
  41. package/dist/atoms/drawer.cjs.map +1 -1
  42. package/dist/atoms/drawer.js +1 -2
  43. package/dist/atoms/field-error-wrapper.js +2 -2
  44. package/dist/atoms/index.cjs +3 -6
  45. package/dist/atoms/index.cjs.map +1 -1
  46. package/dist/atoms/index.js +63 -63
  47. package/dist/atoms/list.js +2 -2
  48. package/dist/atoms/pagination.js +3 -3
  49. package/dist/chunk-2QHFHCXL.js +64 -0
  50. package/dist/chunk-2QHFHCXL.js.map +1 -0
  51. package/dist/chunk-2ZAUZRYP.js +51 -0
  52. package/dist/chunk-2ZAUZRYP.js.map +1 -0
  53. package/dist/chunk-3GLSHF4F.js +99 -0
  54. package/dist/chunk-3GLSHF4F.js.map +1 -0
  55. package/dist/chunk-3UB5MADH.js +63 -0
  56. package/dist/chunk-3UB5MADH.js.map +1 -0
  57. package/dist/chunk-3XVQJ43L.js +69 -0
  58. package/dist/chunk-3XVQJ43L.js.map +1 -0
  59. package/dist/chunk-44VLRAHW.js +74 -0
  60. package/dist/chunk-44VLRAHW.js.map +1 -0
  61. package/dist/chunk-4H6OYVRA.js +64 -0
  62. package/dist/chunk-4H6OYVRA.js.map +1 -0
  63. package/dist/chunk-5773MYBI.js +89 -0
  64. package/dist/chunk-5773MYBI.js.map +1 -0
  65. package/dist/chunk-5RDI5OIK.js +89 -0
  66. package/dist/chunk-5RDI5OIK.js.map +1 -0
  67. package/dist/chunk-5ZEQ33PC.js +57 -0
  68. package/dist/chunk-5ZEQ33PC.js.map +1 -0
  69. package/dist/chunk-7AHPQJD2.js +196 -0
  70. package/dist/chunk-7AHPQJD2.js.map +1 -0
  71. package/dist/chunk-7PTZCSIA.js +144 -0
  72. package/dist/chunk-7PTZCSIA.js.map +1 -0
  73. package/dist/chunk-7ZMY4CAZ.js +30 -0
  74. package/dist/chunk-7ZMY4CAZ.js.map +1 -0
  75. package/dist/chunk-AGDS5FTY.js +30 -0
  76. package/dist/chunk-AGDS5FTY.js.map +1 -0
  77. package/dist/chunk-AQVIQODP.js +69 -0
  78. package/dist/chunk-AQVIQODP.js.map +1 -0
  79. package/dist/chunk-CQSM6JCO.js +65 -0
  80. package/dist/chunk-CQSM6JCO.js.map +1 -0
  81. package/dist/chunk-DGXKSYZ2.js +144 -0
  82. package/dist/chunk-DGXKSYZ2.js.map +1 -0
  83. package/dist/chunk-ECMGWPU5.js +174 -0
  84. package/dist/chunk-ECMGWPU5.js.map +1 -0
  85. package/dist/chunk-EDDPJB52.js +61 -0
  86. package/dist/chunk-EDDPJB52.js.map +1 -0
  87. package/dist/chunk-FD6QZZQY.js +69 -0
  88. package/dist/chunk-FD6QZZQY.js.map +1 -0
  89. package/dist/chunk-FGNKLXJK.js +165 -0
  90. package/dist/chunk-FGNKLXJK.js.map +1 -0
  91. package/dist/chunk-FT27KFX7.js +145 -0
  92. package/dist/chunk-FT27KFX7.js.map +1 -0
  93. package/dist/chunk-G52YPZRU.js +95 -0
  94. package/dist/chunk-G52YPZRU.js.map +1 -0
  95. package/dist/chunk-JNYTH4BZ.js +151 -0
  96. package/dist/chunk-JNYTH4BZ.js.map +1 -0
  97. package/dist/chunk-JQ7VQ5SB.js +137 -0
  98. package/dist/chunk-JQ7VQ5SB.js.map +1 -0
  99. package/dist/chunk-K4JKFIA2.js +196 -0
  100. package/dist/chunk-K4JKFIA2.js.map +1 -0
  101. package/dist/chunk-KFICWJI6.js +61 -0
  102. package/dist/chunk-KFICWJI6.js.map +1 -0
  103. package/dist/chunk-KLCL7FKY.js +196 -0
  104. package/dist/chunk-KLCL7FKY.js.map +1 -0
  105. package/dist/chunk-KO6ZM4XB.js +37 -0
  106. package/dist/chunk-KO6ZM4XB.js.map +1 -0
  107. package/dist/chunk-LKEYLW4N.js +174 -0
  108. package/dist/chunk-LKEYLW4N.js.map +1 -0
  109. package/dist/chunk-LNRB4XMK.js +87 -0
  110. package/dist/chunk-LNRB4XMK.js.map +1 -0
  111. package/dist/chunk-LWLKHIDE.js +51 -0
  112. package/dist/chunk-LWLKHIDE.js.map +1 -0
  113. package/dist/chunk-MBMREYHZ.js +174 -0
  114. package/dist/chunk-MBMREYHZ.js.map +1 -0
  115. package/dist/chunk-NJ56ZKR4.js +63 -0
  116. package/dist/chunk-NJ56ZKR4.js.map +1 -0
  117. package/dist/chunk-OQPXX6GH.js +89 -0
  118. package/dist/chunk-OQPXX6GH.js.map +1 -0
  119. package/dist/chunk-ORQ4NCWG.js +63 -0
  120. package/dist/chunk-ORQ4NCWG.js.map +1 -0
  121. package/dist/chunk-OW53EUJW.js +95 -0
  122. package/dist/chunk-OW53EUJW.js.map +1 -0
  123. package/dist/chunk-QB73IVKI.js +43 -0
  124. package/dist/chunk-QB73IVKI.js.map +1 -0
  125. package/dist/chunk-QFEZIPWJ.js +64 -0
  126. package/dist/chunk-QFEZIPWJ.js.map +1 -0
  127. package/dist/chunk-RYK2ILB2.js +105 -0
  128. package/dist/chunk-RYK2ILB2.js.map +1 -0
  129. package/dist/chunk-S2M6OJER.js +95 -0
  130. package/dist/chunk-S2M6OJER.js.map +1 -0
  131. package/dist/chunk-SYGLFURC.js +49 -0
  132. package/dist/chunk-SYGLFURC.js.map +1 -0
  133. package/dist/chunk-SZA3RAKD.js +51 -0
  134. package/dist/chunk-SZA3RAKD.js.map +1 -0
  135. package/dist/chunk-T4O3ONUV.js +64 -0
  136. package/dist/chunk-T4O3ONUV.js.map +1 -0
  137. package/dist/chunk-T6BKRGZ7.js +54 -0
  138. package/dist/chunk-T6BKRGZ7.js.map +1 -0
  139. package/dist/chunk-UCBF57MG.js +196 -0
  140. package/dist/chunk-UCBF57MG.js.map +1 -0
  141. package/dist/chunk-UIY4HDKD.js +144 -0
  142. package/dist/chunk-UIY4HDKD.js.map +1 -0
  143. package/dist/chunk-UWM72J67.js +151 -0
  144. package/dist/chunk-UWM72J67.js.map +1 -0
  145. package/dist/chunk-VIKHKUHF.js +89 -0
  146. package/dist/chunk-VIKHKUHF.js.map +1 -0
  147. package/dist/chunk-W6LDMZNY.js +29 -0
  148. package/dist/chunk-W6LDMZNY.js.map +1 -0
  149. package/dist/chunk-WPRRJQOM.js +61 -0
  150. package/dist/chunk-WPRRJQOM.js.map +1 -0
  151. package/dist/chunk-WS7IOHVK.js +51 -0
  152. package/dist/chunk-WS7IOHVK.js.map +1 -0
  153. package/dist/chunk-YZ7LP3PU.js +101 -0
  154. package/dist/chunk-YZ7LP3PU.js.map +1 -0
  155. package/dist/chunk-ZADYUJIV.js +64 -0
  156. package/dist/chunk-ZADYUJIV.js.map +1 -0
  157. package/dist/context/index.js +5 -5
  158. package/dist/index.cjs +3 -6
  159. package/dist/index.cjs.map +1 -1
  160. package/dist/index.css +12 -0
  161. package/dist/index.js +150 -150
  162. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +16 -16
  163. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +4 -4
  164. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +9 -9
  165. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +2 -2
  166. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +3 -3
  167. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +3 -3
  168. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +5 -5
  169. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +5 -5
  170. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +5 -5
  171. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +5 -5
  172. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +4 -4
  173. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +20 -20
  174. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +7 -7
  175. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +3 -3
  176. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +22 -22
  177. package/dist/molecules/curriculumV2/CurriculumContents/index.js +26 -26
  178. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +2 -2
  179. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.js +2 -2
  180. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +4 -4
  181. package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +9 -9
  182. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +7 -7
  183. package/dist/molecules/curriculumV2/curriculum-sub-nav.js +4 -4
  184. package/dist/molecules/curriculumV2/curriculum-v2-layout.js +3 -3
  185. package/dist/molecules/curriculumV2/index.js +37 -37
  186. package/dist/molecules/date-picker/date-picker-button.js +6 -6
  187. package/dist/molecules/date-picker/index.js +5 -5
  188. package/dist/molecules/download-card.js +2 -2
  189. package/dist/molecules/dynamic-field.js +4 -4
  190. package/dist/molecules/dynamic-form.js +5 -5
  191. package/dist/molecules/expand-table/index.js +4 -4
  192. package/dist/molecules/force-refresh.js +2 -2
  193. package/dist/molecules/ghost-post.js +4 -4
  194. package/dist/molecules/index.js +72 -72
  195. package/dist/molecules/learning-post.js +5 -5
  196. package/dist/molecules/navigation.js +3 -3
  197. package/dist/molecules/one-on-one-guide-list.js +3 -3
  198. package/dist/molecules/stepper.js +4 -4
  199. package/dist/molecules/tag-selector.js +5 -5
  200. package/package.json +1 -1
  201. package/src/atoms/drawer.tsx +17 -18
@@ -0,0 +1,151 @@
1
+ import {
2
+ useCurriculumReviewContext
3
+ } from "./chunk-GMKRNFH5.js";
4
+ import {
5
+ getCurriculumIcon,
6
+ getCurriculumQuestionIconColor,
7
+ getCurriculumQuestionTypeDescription
8
+ } from "./chunk-RYK2ILB2.js";
9
+ import {
10
+ Grid
11
+ } from "./chunk-EGEQY3KT.js";
12
+ import {
13
+ Heading
14
+ } from "./chunk-BESTU2AY.js";
15
+ import {
16
+ Separator
17
+ } from "./chunk-HYITAA4J.js";
18
+ import {
19
+ Box
20
+ } from "./chunk-4Y5BEXVN.js";
21
+ import {
22
+ Typo
23
+ } from "./chunk-PMJIFLDT.js";
24
+ import {
25
+ Flex
26
+ } from "./chunk-25HMMI7R.js";
27
+ import {
28
+ Button
29
+ } from "./chunk-ZVDAEY5Q.js";
30
+ import {
31
+ Badge
32
+ } from "./chunk-U3BQT7ZO.js";
33
+
34
+ // src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.tsx
35
+ import { jsx, jsxs } from "react/jsx-runtime";
36
+ var renderPreviewContent = (args) => {
37
+ const { question } = args;
38
+ const Icon = getCurriculumIcon({
39
+ type: question.type,
40
+ icon: question.icon
41
+ });
42
+ const getDescription = () => {
43
+ return [
44
+ getCurriculumQuestionTypeDescription(question.type),
45
+ question.duration ? `${question.duration}\uBD84` : ""
46
+ ].filter(Boolean).join(" | ");
47
+ };
48
+ return /* @__PURE__ */ jsxs(
49
+ Grid,
50
+ {
51
+ columns: "16px 1fr",
52
+ gap: "2",
53
+ px: "4",
54
+ py: "2",
55
+ width: "100%",
56
+ children: [
57
+ /* @__PURE__ */ jsx(Box, { mt: "1", children: /* @__PURE__ */ jsx(Icon, { color: getCurriculumQuestionIconColor(question.type) }) }),
58
+ /* @__PURE__ */ jsxs(Box, { children: [
59
+ /* @__PURE__ */ jsx(Typo, { as: "p", color: "gray", weight: "bold", children: question.title }),
60
+ /* @__PURE__ */ jsx(Typo, { color: "gray", children: getDescription() })
61
+ ] })
62
+ ]
63
+ },
64
+ question.uuid
65
+ );
66
+ };
67
+ var getReviewContentValue = (question, answer) => {
68
+ var _a, _b, _c;
69
+ if (question.type === "question_satisfaction_option") {
70
+ return (_c = (_b = (_a = question.options) == null ? void 0 : _a.find((option) => option.value === Number(answer))) == null ? void 0 : _b.label) != null ? _c : "";
71
+ }
72
+ return answer;
73
+ };
74
+ var renderReviewContent = (args) => {
75
+ const { question, answer } = args;
76
+ const Icon = getCurriculumIcon({
77
+ type: question.type,
78
+ icon: question.icon
79
+ });
80
+ const color = getCurriculumQuestionIconColor(question.type);
81
+ const badgeColor = ["question_radio", "question_satisfaction_option"].includes(question.type) ? "accent" : "neutral";
82
+ const value = getReviewContentValue(question, answer);
83
+ return /* @__PURE__ */ jsxs(
84
+ Grid,
85
+ {
86
+ columns: "16px 1fr",
87
+ gap: "2",
88
+ px: "4",
89
+ py: "2",
90
+ width: "100%",
91
+ children: [
92
+ /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Icon, { color }) }),
93
+ /* @__PURE__ */ jsxs(Box, { children: [
94
+ /* @__PURE__ */ jsx(Typo, { as: "p", color: "gray", mb: "2", weight: "bold", children: question.title }),
95
+ /* @__PURE__ */ jsx(Badge, { color: badgeColor, size: "large", style: { whiteSpace: "break-spaces", lineBreak: "anywhere" }, children: value || "(\uBBF8 \uC751\uB2F5)" })
96
+ ] })
97
+ ]
98
+ },
99
+ question.uuid
100
+ );
101
+ };
102
+ function StartReview({ onStart }) {
103
+ const { curriculum, reviewContents, sectionTitle, done, formik } = useCurriculumReviewContext();
104
+ return /* @__PURE__ */ jsx(
105
+ Flex,
106
+ {
107
+ align: "center",
108
+ direction: "column",
109
+ height: "100%",
110
+ justify: "center",
111
+ width: "100%",
112
+ children: /* @__PURE__ */ jsxs(
113
+ Flex,
114
+ {
115
+ align: "center",
116
+ direction: "column",
117
+ height: "100%",
118
+ justify: "center",
119
+ maxWidth: "650px",
120
+ pb: { initial: "6", sm: "0" },
121
+ pt: { initial: "4", sm: "0" },
122
+ px: { initial: "4", sm: "0" },
123
+ width: "100%",
124
+ children: [
125
+ /* @__PURE__ */ jsx(Typo, { color: "gray", mb: "1", children: curriculum.title }),
126
+ /* @__PURE__ */ jsx(Heading, { variant: "heading3", children: reviewContents.title }),
127
+ /* @__PURE__ */ jsx(Separator, { my: "4", style: { width: 100 } }),
128
+ /* @__PURE__ */ jsxs(Typo, { align: "left", as: "p", color: "gray", mb: "4", children: [
129
+ /* @__PURE__ */ jsx(Typo, { as: "span", weight: "bold", children: sectionTitle }),
130
+ " ",
131
+ /* @__PURE__ */ jsx(Typo, { children: reviewContents.description })
132
+ ] }),
133
+ /* @__PURE__ */ jsx(Box, { mb: "5", overflowY: "auto", width: "100%", children: reviewContents.questions.map((question) => {
134
+ if (done) {
135
+ return renderReviewContent({ question, answer: formik.values.answers[question.uuid] });
136
+ }
137
+ return renderPreviewContent({ question });
138
+ }) }),
139
+ /* @__PURE__ */ jsx(Button, { color: "yellow", onClick: onStart, variant: done ? "outline" : "solid", children: done ? "\uB098\uC758 \uC751\uB2F5 \uC218\uC815\uD558\uAE30" : reviewContents.buttonTitle })
140
+ ]
141
+ }
142
+ )
143
+ }
144
+ );
145
+ }
146
+ var start_review_default = StartReview;
147
+
148
+ export {
149
+ start_review_default
150
+ };
151
+ //# sourceMappingURL=chunk-UWM72J67.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.tsx"],"sourcesContent":["import React from 'react'; \nimport type { BadgeProps } from '@/atoms/badge';\nimport { Badge } from '@/atoms/badge';\nimport { Box } from '@/atoms/box';\nimport { Button } from '@/atoms/button';\nimport { Flex } from '@/atoms/flex';\nimport { Grid } from '@/atoms/grid';\nimport { Heading } from '@/atoms/heading';\nimport { Separator } from '@/atoms/separator';\nimport { Typo } from '@/atoms/typo';\nimport {\n getCurriculumIcon,\n getCurriculumQuestionIconColor,\n getCurriculumQuestionTypeDescription,\n} from '@/utils/curriculum.utils';\nimport type { ReviewQuestionElement } from '@/types/curriculum.type';\nimport { useCurriculumReviewContext } from './curriculum-review-context';\n\ninterface StartReviewProps {\n onStart: () => void;\n}\n\n\nconst renderPreviewContent = (args: {\n question: ReviewQuestionElement;\n}):React.ReactElement => {\n const { question } = args;\n const Icon = getCurriculumIcon({\n type: question.type,\n icon: question.icon,\n });\n const getDescription = (): string => {\n return [\n getCurriculumQuestionTypeDescription(question.type),\n question.duration ? `${question.duration}분` : '',\n ]\n .filter(Boolean)\n .join(' | ');\n };\n\n return (\n <Grid\n columns=\"16px 1fr\"\n gap=\"2\"\n key={question.uuid}\n px=\"4\"\n py=\"2\"\n width=\"100%\"\n >\n <Box mt=\"1\">\n <Icon color={getCurriculumQuestionIconColor(question.type)} />\n </Box>\n <Box>\n <Typo as=\"p\" color=\"gray\" weight=\"bold\">\n {question.title}\n </Typo>\n <Typo color=\"gray\">{getDescription()}</Typo>\n </Box>\n </Grid>\n );\n};\n\n\nconst getReviewContentValue = (question: ReviewQuestionElement, answer: string): string => {\n if(question.type === 'question_satisfaction_option'){ \n return question.options?.find((option)=>option.value === Number(answer))?.label ?? '';\n }\n return answer\n}\n\n\nconst renderReviewContent = (args: {\n question: ReviewQuestionElement;\n answer: string;\n}):React.ReactElement => {\n const { question, answer } = args;\n const Icon = getCurriculumIcon({\n type: question.type,\n icon: question.icon,\n }); \n\n const color = getCurriculumQuestionIconColor(question.type);\n const badgeColor: BadgeProps['color'] = ['question_radio','question_satisfaction_option'].includes(question.type) ? 'accent' : 'neutral';\n const value = getReviewContentValue(question, answer);\n\n return (\n <Grid\n columns=\"16px 1fr\"\n gap=\"2\"\n key={question.uuid}\n px=\"4\"\n py=\"2\"\n width=\"100%\"\n >\n <Box>\n <Icon color={color} />\n </Box>\n\n <Box>\n <Typo as=\"p\" color=\"gray\" mb=\"2\" weight=\"bold\">{question.title}</Typo>\n <Badge color={badgeColor} size=\"large\" style={{whiteSpace: 'break-spaces', lineBreak: 'anywhere'}}>\n {value || '(미 응답)'}\n </Badge>\n </Box>\n \n </Grid>\n );\n};\n\nfunction StartReview({ onStart }: StartReviewProps): React.ReactNode {\n const { curriculum, reviewContents, sectionTitle, done,formik } =\n useCurriculumReviewContext();\n\n return (\n <Flex\n align=\"center\"\n direction=\"column\"\n height=\"100%\"\n justify=\"center\"\n width=\"100%\"\n >\n <Flex\n align=\"center\"\n direction=\"column\"\n height=\"100%\"\n justify=\"center\"\n maxWidth=\"650px\"\n pb={{initial: '6', sm: '0'}}\n pt={{initial: '4', sm: '0'}}\n px={{initial: '4', sm: '0'}}\n width=\"100%\"\n >\n <Typo color=\"gray\" mb=\"1\">{curriculum.title}</Typo>\n <Heading variant=\"heading3\">{reviewContents.title}</Heading>\n <Separator my=\"4\" style={{ width: 100 }} />\n\n <Typo align=\"left\" as=\"p\" color=\"gray\" mb=\"4\">\n <Typo as=\"span\" weight=\"bold\">\n {sectionTitle}\n </Typo>\n {' '}\n <Typo>{reviewContents.description}</Typo>\n </Typo>\n\n <Box mb=\"5\" overflowY=\"auto\" width=\"100%\">\n {reviewContents.questions.map((question)=>{\n if(done){\n return renderReviewContent({ question, answer: formik.values.answers[question.uuid]});\n }\n return renderPreviewContent({ question });\n })}\n </Box>\n <Button color=\"yellow\" onClick={onStart} variant={done ? 'outline' : 'solid'}>\n {done ? '나의 응답 수정하기' : reviewContents.buttonTitle}\n </Button>\n </Flex>\n </Flex>\n );\n}\n\nexport default StartReview;\n"],"mappings":"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","names":[]}
@@ -0,0 +1,89 @@
1
+ import {
2
+ start_review_default
3
+ } from "./chunk-M46CNRFQ.js";
4
+ import {
5
+ ReviewQuestion_default
6
+ } from "./chunk-ORQ4NCWG.js";
7
+ import {
8
+ complete_review_default
9
+ } from "./chunk-XEM7S4HK.js";
10
+ import {
11
+ CurriculumReviewProvider,
12
+ useCurriculumReviewContext
13
+ } from "./chunk-GMKRNFH5.js";
14
+
15
+ // src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.tsx
16
+ import { jsx } from "react/jsx-runtime";
17
+ function CurriculumReviewStepsInner() {
18
+ const {
19
+ formik,
20
+ step,
21
+ handleStart,
22
+ handleNext,
23
+ handlePrev,
24
+ onClickReviewMyAnswer,
25
+ handleSubmit,
26
+ currentQuestion,
27
+ currentAnswer,
28
+ currentError,
29
+ reviewContents,
30
+ handleAnswerChange
31
+ } = useCurriculumReviewContext();
32
+ const { questions } = reviewContents;
33
+ if (step === 0) {
34
+ return /* @__PURE__ */ jsx(start_review_default, { onStart: handleStart });
35
+ }
36
+ if (step > 0 && step <= questions.length && currentQuestion) {
37
+ return /* @__PURE__ */ jsx(
38
+ ReviewQuestion_default,
39
+ {
40
+ answer: currentAnswer,
41
+ error: currentError,
42
+ index: step - 1,
43
+ isLast: step === questions.length,
44
+ isLoading: formik.isSubmitting,
45
+ isNextDisabled: currentError !== void 0,
46
+ onChange: handleAnswerChange,
47
+ onNext: handleNext,
48
+ onPrev: handlePrev,
49
+ onSubmit: handleSubmit,
50
+ question: currentQuestion,
51
+ total: questions.length
52
+ }
53
+ );
54
+ }
55
+ return /* @__PURE__ */ jsx(complete_review_default, { onClickReviewMyAnswer });
56
+ }
57
+ function CurriculumReviewSteps({
58
+ contents,
59
+ title,
60
+ onClickEndReview,
61
+ onSubmit,
62
+ defaultValues,
63
+ curriculum,
64
+ onReviewValueChange,
65
+ mode,
66
+ done
67
+ }) {
68
+ return /* @__PURE__ */ jsx(
69
+ CurriculumReviewProvider,
70
+ {
71
+ curriculum,
72
+ defaultValues,
73
+ done,
74
+ mode,
75
+ onClickEndReview,
76
+ onReviewValueChange,
77
+ onSubmit,
78
+ reviewContents: contents,
79
+ sectionTitle: title,
80
+ children: /* @__PURE__ */ jsx(CurriculumReviewStepsInner, {})
81
+ }
82
+ );
83
+ }
84
+ var CurriculumReviewSteps_default = CurriculumReviewSteps;
85
+
86
+ export {
87
+ CurriculumReviewSteps_default
88
+ };
89
+ //# sourceMappingURL=chunk-VIKHKUHF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.tsx"],"sourcesContent":["import React from 'react';\nimport { type CurriculumReviewContents } from '@/types/curriculumContents.type';\nimport type { Curriculum } from '@/types'; \nimport {\n CurriculumReviewProvider,\n useCurriculumReviewContext,\n} from './curriculum-review-context';\nimport StartReview from './start-review';\nimport CompleteReview from './complete-review';\nimport ReviewQuestion from './ReviewQuestion';\n \nfunction CurriculumReviewStepsInner(): React.ReactNode {\n const {\n formik,\n step,\n handleStart,\n handleNext,\n handlePrev,\n onClickReviewMyAnswer,\n handleSubmit,\n currentQuestion,\n currentAnswer,\n currentError,\n reviewContents,\n handleAnswerChange,\n } = useCurriculumReviewContext();\n const { questions } = reviewContents;\n\n if (step === 0) {\n return <StartReview onStart={handleStart} />;\n }\n if (step > 0 && step <= questions.length && currentQuestion) {\n return (\n <ReviewQuestion\n answer={currentAnswer}\n error={currentError}\n index={step - 1}\n isLast={step === questions.length}\n isLoading={formik.isSubmitting}\n isNextDisabled={currentError !== undefined}\n onChange={handleAnswerChange}\n onNext={handleNext}\n onPrev={handlePrev}\n onSubmit={handleSubmit}\n question={currentQuestion}\n total={questions.length}\n />\n );\n }\n return <CompleteReview onClickReviewMyAnswer={onClickReviewMyAnswer} />;\n}\n\ninterface CurriculumReviewStepsProps {\n contents: CurriculumReviewContents;\n title: string | undefined;\n onClickEndReview: () => void;\n onSubmit: (values: Record<string, string>) => Promise<boolean>;\n defaultValues?: Record<string, string>;\n curriculum: Curriculum;\n onReviewValueChange: ({\n reviewId,\n answer,\n }: {\n reviewId: string;\n answer: Record<string, string>;\n }) => void;\n mode: 'edit' | 'create';\n done: boolean; \n}\n\nfunction CurriculumReviewSteps({\n contents,\n title,\n onClickEndReview,\n onSubmit,\n defaultValues,\n curriculum,\n onReviewValueChange,\n mode,\n done,\n}: CurriculumReviewStepsProps): React.ReactNode { \n\n return (\n <CurriculumReviewProvider\n curriculum={curriculum}\n defaultValues={defaultValues}\n done={done}\n mode={mode}\n onClickEndReview={onClickEndReview}\n onReviewValueChange={onReviewValueChange}\n onSubmit={onSubmit}\n reviewContents={contents}\n sectionTitle={title}\n >\n <CurriculumReviewStepsInner />\n </CurriculumReviewProvider>\n );\n}\n\nexport default CurriculumReviewSteps;\n"],"mappings":";;;;;;;;;;;;;;;AA6BW;AAlBX,SAAS,6BAA8C;AACrD,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI,2BAA2B;AAC/B,QAAM,EAAE,UAAU,IAAI;AAEtB,MAAI,SAAS,GAAG;AACd,WAAO,oBAAC,wBAAY,SAAS,aAAa;AAAA,EAC5C;AACA,MAAI,OAAO,KAAK,QAAQ,UAAU,UAAU,iBAAiB;AAC3D,WACE;AAAA,MAAC;AAAA;AAAA,QACC,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,OAAO,OAAO;AAAA,QACd,QAAQ,SAAS,UAAU;AAAA,QAC3B,WAAW,OAAO;AAAA,QAClB,gBAAgB,iBAAiB;AAAA,QACjC,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,UAAU;AAAA,QACV,UAAU;AAAA,QACV,OAAO,UAAU;AAAA;AAAA,IACnB;AAAA,EAEJ;AACA,SAAO,oBAAC,2BAAe,uBAA8C;AACvE;AAoBA,SAAS,sBAAsB;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAgD;AAE9C,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,gBAAgB;AAAA,MAChB,cAAc;AAAA,MAEd,8BAAC,8BAA2B;AAAA;AAAA,EAC9B;AAEJ;AAEA,IAAO,gCAAQ;","names":[]}
@@ -0,0 +1,29 @@
1
+ import {
2
+ curriculum_item_title_default
3
+ } from "./chunk-MJMHPIYX.js";
4
+ import {
5
+ getCurriculumContentSubTypeText,
6
+ getCurriculumIcon
7
+ } from "./chunk-RYK2ILB2.js";
8
+
9
+ // src/molecules/curriculumV2/CurriculumSidebar/Items/section-item.tsx
10
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
+ function SectionCommonItem({
12
+ title,
13
+ duration,
14
+ icon,
15
+ type,
16
+ color = "gray"
17
+ }) {
18
+ const IconComp = getCurriculumIcon({ type, icon });
19
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
20
+ /* @__PURE__ */ jsx(IconComp, { color }),
21
+ /* @__PURE__ */ jsx(curriculum_item_title_default, { duration, subText: getCurriculumContentSubTypeText(type), title })
22
+ ] });
23
+ }
24
+ var section_item_default = SectionCommonItem;
25
+
26
+ export {
27
+ section_item_default
28
+ };
29
+ //# sourceMappingURL=chunk-W6LDMZNY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/curriculumV2/CurriculumSidebar/Items/section-item.tsx"],"sourcesContent":["import React from 'react';\nimport { getCurriculumContentSubTypeText, getCurriculumIcon } from '@/utils/curriculum.utils';\nimport CurriculumItemTitle from './curriculum-item-title';\n\ninterface SectionTitleProps {\n title: string;\n duration?: number;\n icon?: string;\n type: string;\n color?: string;\n}\n\nfunction SectionCommonItem({\n title,\n duration,\n icon,\n type,\n color = 'gray',\n}: SectionTitleProps): React.ReactNode {\n const IconComp = getCurriculumIcon({ type, icon });\n\n return (\n <>\n <IconComp color={color} />\n <CurriculumItemTitle duration={duration} subText={getCurriculumContentSubTypeText(type)} title={title} />\n </>\n );\n}\n\nexport default SectionCommonItem;\n"],"mappings":";;;;;;;;;AAsBI,mBACE,KADF;AAVJ,SAAS,kBAAkB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ;AACV,GAAuC;AACrC,QAAM,WAAW,kBAAkB,EAAE,MAAM,KAAK,CAAC;AAEjD,SACE,iCACE;AAAA,wBAAC,YAAS,OAAc;AAAA,IACxB,oBAAC,iCAAoB,UAAoB,SAAS,gCAAgC,IAAI,GAAG,OAAc;AAAA,KACzG;AAEJ;AAEA,IAAO,uBAAQ;","names":[]}
@@ -0,0 +1,61 @@
1
+ import {
2
+ sidebar_item_default
3
+ } from "./chunk-2ZAUZRYP.js";
4
+ import {
5
+ useCurriculumContext
6
+ } from "./chunk-IYQJIEVM.js";
7
+ import {
8
+ Tabs
9
+ } from "./chunk-5ZITU5L7.js";
10
+ import {
11
+ Grid
12
+ } from "./chunk-EGEQY3KT.js";
13
+ import {
14
+ Box
15
+ } from "./chunk-4Y5BEXVN.js";
16
+
17
+ // src/molecules/curriculumV2/CurriculumSidebar/index.tsx
18
+ import { jsx, jsxs } from "react/jsx-runtime";
19
+ var TAB_LIST = [
20
+ {
21
+ label: "\uAC15\uC758 \uBAA9\uCC28",
22
+ value: "curriculum"
23
+ }
24
+ ];
25
+ function CurriculumSidebar() {
26
+ const { curriculum, selectedIndex, setSelectedIndex, scrollAreaRef, curriculumCompleteMap } = useCurriculumContext();
27
+ const list = curriculum.contents.list;
28
+ return /* @__PURE__ */ jsx(Tabs.Root, { asChild: true, defaultValue: TAB_LIST[0].value, children: /* @__PURE__ */ jsxs(Grid, { height: "100%", overflowY: "auto", rows: "auto 1fr ", width: "100%", children: [
29
+ /* @__PURE__ */ jsx(Tabs.List, { style: { padding: "0 var(--space-3)" }, children: TAB_LIST.map((tab) => /* @__PURE__ */ jsx(Tabs.Trigger, { value: tab.value, children: tab.label }, tab.value)) }),
30
+ /* @__PURE__ */ jsx(
31
+ Box,
32
+ {
33
+ height: "100%",
34
+ overflowY: "auto",
35
+ position: "relative",
36
+ ref: scrollAreaRef,
37
+ width: "100%",
38
+ children: /* @__PURE__ */ jsxs(
39
+ Tabs.Content,
40
+ {
41
+ style: {
42
+ position: "absolute",
43
+ height: "100%",
44
+ width: "100%"
45
+ },
46
+ value: TAB_LIST[0].value,
47
+ children: [
48
+ list.map((item, index) => /* @__PURE__ */ jsx(sidebar_item_default, { done: curriculumCompleteMap[item.uuid], index, item, selectedIndex, setSelectedIndex }, item.uuid)),
49
+ /* @__PURE__ */ jsx(Box, { height: "150px" })
50
+ ]
51
+ }
52
+ )
53
+ }
54
+ )
55
+ ] }) });
56
+ }
57
+
58
+ export {
59
+ CurriculumSidebar
60
+ };
61
+ //# sourceMappingURL=chunk-WPRRJQOM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/curriculumV2/CurriculumSidebar/index.tsx"],"sourcesContent":["import React from 'react';\nimport { Box } from '@/atoms/box';\nimport { Grid } from '@/atoms/grid';\nimport { Tabs } from '@/atoms/tabs';\nimport { useCurriculumContext } from '../curriculum-context'; \nimport SidebarItem from './sidebar-item';\n\nconst TAB_LIST = [\n {\n label: '강의 목차',\n value: 'curriculum',\n },\n];\nexport function CurriculumSidebar(): React.ReactNode {\n const { curriculum, selectedIndex, setSelectedIndex, scrollAreaRef, curriculumCompleteMap } =\n useCurriculumContext();\n const list = curriculum.contents.list;\n \n\n return (\n <Tabs.Root asChild defaultValue={TAB_LIST[0].value}>\n <Grid height=\"100%\" overflowY=\"auto\" rows=\"auto 1fr \" width=\"100%\">\n <Tabs.List style={{ padding: '0 var(--space-3)' }}>\n {TAB_LIST.map((tab) => (\n <Tabs.Trigger key={tab.value} value={tab.value}>\n {tab.label}\n </Tabs.Trigger>\n ))}\n </Tabs.List>\n <Box\n height=\"100%\"\n overflowY=\"auto\"\n position=\"relative\"\n ref={scrollAreaRef}\n width=\"100%\"\n >\n <Tabs.Content\n style={{\n position: 'absolute',\n height: '100%',\n width: '100%',\n }}\n value={TAB_LIST[0].value}\n >\n {list.map((item, index) => (\n <SidebarItem done={curriculumCompleteMap[item.uuid]} index={index} item={item} key={item.uuid} selectedIndex={selectedIndex} setSelectedIndex={setSelectedIndex} />\n ))}\n <Box height=\"150px\" />\n </Tabs.Content>\n </Box>\n </Grid>\n </Tabs.Root>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAwBY,cAYF,YAZE;AAjBZ,IAAM,WAAW;AAAA,EACf;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AACF;AACO,SAAS,oBAAqC;AACnD,QAAM,EAAE,YAAY,eAAe,kBAAkB,eAAe,sBAAsB,IACxF,qBAAqB;AACvB,QAAM,OAAO,WAAW,SAAS;AAGjC,SACE,oBAAC,KAAK,MAAL,EAAU,SAAO,MAAC,cAAc,SAAS,CAAC,EAAE,OAC3C,+BAAC,QAAK,QAAO,QAAO,WAAU,QAAO,MAAK,aAAY,OAAM,QAC1D;AAAA,wBAAC,KAAK,MAAL,EAAU,OAAO,EAAE,SAAS,mBAAmB,GAC7C,mBAAS,IAAI,CAAC,QACb,oBAAC,KAAK,SAAL,EAA6B,OAAO,IAAI,OACtC,cAAI,SADY,IAAI,KAEvB,CACD,GACH;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,QAAO;AAAA,QACP,WAAU;AAAA,QACV,UAAS;AAAA,QACT,KAAK;AAAA,QACL,OAAM;AAAA,QAEN;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,OAAO;AAAA,cACL,UAAU;AAAA,cACV,QAAQ;AAAA,cACR,OAAO;AAAA,YACT;AAAA,YACA,OAAO,SAAS,CAAC,EAAE;AAAA,YAElB;AAAA,mBAAK,IAAI,CAAC,MAAM,UACf,oBAAC,wBAAY,MAAM,sBAAsB,KAAK,IAAI,GAAG,OAAc,MAA4B,eAA8B,oBAAzC,KAAK,IAAwE,CAClK;AAAA,cACD,oBAAC,OAAI,QAAO,SAAQ;AAAA;AAAA;AAAA,QACtB;AAAA;AAAA,IACF;AAAA,KACF,GACF;AAEJ;","names":[]}
@@ -0,0 +1,51 @@
1
+ import {
2
+ Separator
3
+ } from "./chunk-HYITAA4J.js";
4
+ import {
5
+ Grid
6
+ } from "./chunk-EGEQY3KT.js";
7
+
8
+ // src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.tsx
9
+ import { jsx, jsxs } from "react/jsx-runtime";
10
+ function CurriculumSidebarItemWrapper({
11
+ children,
12
+ isSelected,
13
+ onClick,
14
+ index
15
+ }) {
16
+ return /* @__PURE__ */ jsxs(
17
+ Grid,
18
+ {
19
+ align: "center",
20
+ columns: "auto 1fr",
21
+ "data-curriculum-item-index": index,
22
+ gap: "2",
23
+ onClick,
24
+ position: "relative",
25
+ px: "3",
26
+ py: "2",
27
+ style: {
28
+ backgroundColor: isSelected ? "var(--yellow-a2)" : void 0,
29
+ cursor: onClick ? "pointer" : void 0
30
+ },
31
+ children: [
32
+ isSelected ? /* @__PURE__ */ jsx(
33
+ Separator,
34
+ {
35
+ color: "yellow",
36
+ orientation: "vertical",
37
+ size: "4",
38
+ style: { width: "3px", position: "absolute", left: 0 }
39
+ }
40
+ ) : null,
41
+ children
42
+ ]
43
+ }
44
+ );
45
+ }
46
+ var curriculum_sidebar_item_wrapper_default = CurriculumSidebarItemWrapper;
47
+
48
+ export {
49
+ curriculum_sidebar_item_wrapper_default
50
+ };
51
+ //# sourceMappingURL=chunk-WS7IOHVK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.tsx"],"sourcesContent":["import React from 'react';\nimport { Grid } from '@/atoms/grid';\nimport { Separator } from '@/atoms/separator';\n\ninterface CurriculumSidebarItemWrapperProps {\n children: React.ReactNode;\n isSelected: boolean;\n onClick?: () => void;\n index: number;\n}\n\nfunction CurriculumSidebarItemWrapper({\n children,\n isSelected,\n onClick,\n index,\n}: CurriculumSidebarItemWrapperProps): React.ReactNode {\n return (\n <Grid\n align=\"center\"\n columns=\"auto 1fr\"\n data-curriculum-item-index={index}\n gap=\"2\"\n onClick={onClick}\n position=\"relative\"\n px=\"3\"\n py=\"2\"\n style={{\n backgroundColor: isSelected ? 'var(--yellow-a2)' : undefined,\n cursor: onClick ? 'pointer' : undefined,\n }}\n >\n {isSelected ? (\n <Separator\n color=\"yellow\"\n orientation=\"vertical\"\n size=\"4\"\n style={{ width: '3px', position: 'absolute', left: 0 }}\n />\n ) : null}\n {children}\n </Grid>\n );\n}\n\nexport default CurriculumSidebarItemWrapper;\n"],"mappings":";;;;;;;;AAkBI,SAeI,KAfJ;AAPJ,SAAS,6BAA6B;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAuD;AACrD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAM;AAAA,MACN,SAAQ;AAAA,MACR,8BAA4B;AAAA,MAC5B,KAAI;AAAA,MACJ;AAAA,MACA,UAAS;AAAA,MACT,IAAG;AAAA,MACH,IAAG;AAAA,MACH,OAAO;AAAA,QACL,iBAAiB,aAAa,qBAAqB;AAAA,QACnD,QAAQ,UAAU,YAAY;AAAA,MAChC;AAAA,MAEC;AAAA,qBACC;AAAA,UAAC;AAAA;AAAA,YACC,OAAM;AAAA,YACN,aAAY;AAAA,YACZ,MAAK;AAAA,YACL,OAAO,EAAE,OAAO,OAAO,UAAU,YAAY,MAAM,EAAE;AAAA;AAAA,QACvD,IACE;AAAA,QACH;AAAA;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,0CAAQ;","names":[]}
@@ -0,0 +1,101 @@
1
+ import {
2
+ ReviewQuestionContentHeader
3
+ } from "./chunk-QB73IVKI.js";
4
+ import {
5
+ RadioButtonCard
6
+ } from "./chunk-CSKNBWPB.js";
7
+ import {
8
+ Grid
9
+ } from "./chunk-EGEQY3KT.js";
10
+ import {
11
+ Box
12
+ } from "./chunk-4Y5BEXVN.js";
13
+ import {
14
+ Typo
15
+ } from "./chunk-PMJIFLDT.js";
16
+ import {
17
+ Flex
18
+ } from "./chunk-25HMMI7R.js";
19
+ import {
20
+ Button
21
+ } from "./chunk-ZVDAEY5Q.js";
22
+ import {
23
+ Card
24
+ } from "./chunk-RP2RGCAW.js";
25
+
26
+ // src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
27
+ import { useCallback, useMemo, useState } from "react";
28
+ import { jsx, jsxs } from "react/jsx-runtime";
29
+ var correctAnswerStyle = {
30
+ backgroundColor: "var(--green-a2)"
31
+ };
32
+ function ReviewQuestionRadio(props) {
33
+ const { question, answer, onChange } = props;
34
+ const [isCheckAnswer, setIsCheckAnswer] = useState(false);
35
+ const checkAnswer = useCallback(() => {
36
+ setIsCheckAnswer(true);
37
+ }, []);
38
+ const isCorrect = isCheckAnswer && Number(answer) === question.correctAnswer;
39
+ const isWrong = isCheckAnswer && Number(answer) !== question.correctAnswer;
40
+ const radioColor = useMemo(() => {
41
+ if (isCorrect) return "green";
42
+ if (isWrong) return "red";
43
+ return void 0;
44
+ }, [isCorrect, isWrong]);
45
+ return /* @__PURE__ */ jsxs(Grid, { height: "100%", rows: "auto 1fr", width: "100%", children: [
46
+ /* @__PURE__ */ jsx(Card, { mb: "4", size: "2", children: /* @__PURE__ */ jsx(
47
+ ReviewQuestionContentHeader,
48
+ {
49
+ icon: question.icon,
50
+ question: question.question,
51
+ title: question.title,
52
+ type: question.type
53
+ }
54
+ ) }),
55
+ /* @__PURE__ */ jsxs(Grid, { height: "100%", rows: "1fr auto", width: "100%", children: [
56
+ /* @__PURE__ */ jsx(Box, { position: "relative", children: /* @__PURE__ */ jsx(
57
+ RadioButtonCard.Root,
58
+ {
59
+ color: radioColor,
60
+ onValueChange: onChange,
61
+ style: {
62
+ width: "100%",
63
+ height: "100%",
64
+ overflowY: "auto",
65
+ position: "absolute"
66
+ },
67
+ value: answer,
68
+ children: /* @__PURE__ */ jsx(Flex, { direction: "column", gap: "2", width: "100%", children: question.options.map((option, i) => {
69
+ const isThisOptionCorrect = isCheckAnswer && i === question.correctAnswer;
70
+ const isThisOptionSelected = isCheckAnswer && i === Number(answer);
71
+ const isThisOptionWrong = isCheckAnswer && isThisOptionSelected && i !== question.correctAnswer;
72
+ const style = (() => {
73
+ if (isThisOptionCorrect) return correctAnswerStyle;
74
+ return {};
75
+ })();
76
+ return /* @__PURE__ */ jsx(
77
+ RadioButtonCard.Item,
78
+ {
79
+ style,
80
+ value: i.toString(),
81
+ children: /* @__PURE__ */ jsxs(Box, { children: [
82
+ /* @__PURE__ */ jsx(Typo, { as: "p", children: option.label }),
83
+ isThisOptionCorrect ? /* @__PURE__ */ jsx(Typo, { color: "green", children: "\uC815\uB2F5\uC785\uB2C8\uB2E4" }) : null,
84
+ isThisOptionWrong ? /* @__PURE__ */ jsx(Typo, { color: "red", children: "\uC815\uB2F5\uC774 \uC544\uB2D9\uB2C8\uB2E4" }) : null
85
+ ] })
86
+ },
87
+ `${option.label}-${i}`
88
+ );
89
+ }) })
90
+ }
91
+ ) }),
92
+ /* @__PURE__ */ jsx(Flex, { justify: "end", mt: "2", children: /* @__PURE__ */ jsx(Button, { onClick: checkAnswer, children: "\uC815\uB2F5 \uD655\uC778" }) })
93
+ ] })
94
+ ] });
95
+ }
96
+ var review_question_radio_default = ReviewQuestionRadio;
97
+
98
+ export {
99
+ review_question_radio_default
100
+ };
101
+ //# sourceMappingURL=chunk-YZ7LP3PU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx"],"sourcesContent":["import React, { useCallback, useMemo, useState } from 'react';\nimport { Box } from '@/atoms/box';\nimport { Button } from '@/atoms/button';\nimport { Card } from '@/atoms/card';\nimport { Flex } from '@/atoms/flex';\nimport { Grid } from '@/atoms/grid';\nimport { Typo } from '@/atoms/typo';\nimport { type CurriculumReviewQuestionRadio } from '@/types/curriculumContents.type'; \nimport { RadioButtonCard } from \"../../../../radio-button-card\";\nimport { ReviewQuestionContentHeader } from './review-comp';\n\ninterface ReviewQuestionRadioProps {\n question: CurriculumReviewQuestionRadio;\n answer: string;\n error?: string;\n onChange: (value: string) => void;\n}\n\nconst correctAnswerStyle: React.CSSProperties = {\n backgroundColor: 'var(--green-a2)',\n};\n\nfunction ReviewQuestionRadio(props: ReviewQuestionRadioProps): React.ReactNode {\n const { question, answer, onChange } = props;\n const [isCheckAnswer, setIsCheckAnswer] = useState(false);\n\n const checkAnswer = useCallback(() => {\n setIsCheckAnswer(true);\n }, []);\n\n const isCorrect = isCheckAnswer && Number(answer) === question.correctAnswer;\n const isWrong = isCheckAnswer && Number(answer) !== question.correctAnswer;\n const radioColor = useMemo(() => {\n if (isCorrect) return 'green';\n if (isWrong) return 'red';\n return undefined;\n }, [isCorrect, isWrong]);\n\n return (\n <Grid height=\"100%\" rows=\"auto 1fr\" width=\"100%\">\n <Card mb=\"4\" size=\"2\">\n <ReviewQuestionContentHeader\n icon={question.icon}\n question={question.question}\n title={question.title}\n type={question.type}\n />\n </Card>\n\n <Grid height=\"100%\" rows=\"1fr auto\" width=\"100%\">\n <Box position=\"relative\">\n <RadioButtonCard.Root\n color={radioColor}\n onValueChange={onChange}\n style={{\n width: '100%',\n height: '100%',\n overflowY: 'auto',\n position: 'absolute',\n }}\n value={answer}\n >\n <Flex direction=\"column\" gap=\"2\" width=\"100%\">\n {question.options.map((option, i) => {\n const isThisOptionCorrect =\n isCheckAnswer && i === question.correctAnswer;\n const isThisOptionSelected =\n isCheckAnswer && i === Number(answer);\n const isThisOptionWrong =\n isCheckAnswer &&\n isThisOptionSelected &&\n i !== question.correctAnswer;\n const style = (() => {\n if (isThisOptionCorrect) return correctAnswerStyle;\n return {};\n })();\n\n return (\n <RadioButtonCard.Item\n // eslint-disable-next-line react/no-array-index-key -- 조합 키로 중복 회피\n key={`${option.label}-${i}`}\n style={style}\n value={i.toString()}\n >\n <Box>\n <Typo as=\"p\">{option.label}</Typo>\n {isThisOptionCorrect ? (\n <Typo color=\"green\">정답입니다</Typo>\n ) : null}\n {isThisOptionWrong ? (\n <Typo color=\"red\">정답이 아닙니다</Typo>\n ) : null}\n </Box>\n </RadioButtonCard.Item>\n );\n })}\n </Flex>\n </RadioButtonCard.Root>\n </Box>\n <Flex justify=\"end\" mt=\"2\">\n <Button onClick={checkAnswer}>정답 확인</Button>\n </Flex>\n </Grid>\n </Grid>\n );\n}\n\nexport default ReviewQuestionRadio;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAgB,aAAa,SAAS,gBAAgB;AAyC9C,cA2CY,YA3CZ;AAvBR,IAAM,qBAA0C;AAAA,EAC9C,iBAAiB;AACnB;AAEA,SAAS,oBAAoB,OAAkD;AAC7E,QAAM,EAAE,UAAU,QAAQ,SAAS,IAAI;AACvC,QAAM,CAAC,eAAe,gBAAgB,IAAI,SAAS,KAAK;AAExD,QAAM,cAAc,YAAY,MAAM;AACpC,qBAAiB,IAAI;AAAA,EACvB,GAAG,CAAC,CAAC;AAEL,QAAM,YAAY,iBAAiB,OAAO,MAAM,MAAM,SAAS;AAC/D,QAAM,UAAU,iBAAiB,OAAO,MAAM,MAAM,SAAS;AAC7D,QAAM,aAAa,QAAQ,MAAM;AAC/B,QAAI,UAAW,QAAO;AACtB,QAAI,QAAS,QAAO;AACpB,WAAO;AAAA,EACT,GAAG,CAAC,WAAW,OAAO,CAAC;AAEvB,SACE,qBAAC,QAAK,QAAO,QAAO,MAAK,YAAW,OAAM,QACxC;AAAA,wBAAC,QAAK,IAAG,KAAI,MAAK,KAChB;AAAA,MAAC;AAAA;AAAA,QACC,MAAM,SAAS;AAAA,QACf,UAAU,SAAS;AAAA,QACnB,OAAO,SAAS;AAAA,QAChB,MAAM,SAAS;AAAA;AAAA,IACjB,GACF;AAAA,IAEA,qBAAC,QAAK,QAAO,QAAO,MAAK,YAAW,OAAM,QACxC;AAAA,0BAAC,OAAI,UAAS,YACZ;AAAA,QAAC,gBAAgB;AAAA,QAAhB;AAAA,UACC,OAAO;AAAA,UACP,eAAe;AAAA,UACf,OAAO;AAAA,YACL,OAAO;AAAA,YACP,QAAQ;AAAA,YACR,WAAW;AAAA,YACX,UAAU;AAAA,UACZ;AAAA,UACA,OAAO;AAAA,UAEP,8BAAC,QAAK,WAAU,UAAS,KAAI,KAAI,OAAM,QACpC,mBAAS,QAAQ,IAAI,CAAC,QAAQ,MAAM;AACnC,kBAAM,sBACJ,iBAAiB,MAAM,SAAS;AAClC,kBAAM,uBACJ,iBAAiB,MAAM,OAAO,MAAM;AACtC,kBAAM,oBACJ,iBACA,wBACA,MAAM,SAAS;AACjB,kBAAM,SAAS,MAAM;AACnB,kBAAI,oBAAqB,QAAO;AAChC,qBAAO,CAAC;AAAA,YACV,GAAG;AAEH,mBACE;AAAA,cAAC,gBAAgB;AAAA,cAAhB;AAAA,gBAGC;AAAA,gBACA,OAAO,EAAE,SAAS;AAAA,gBAElB,+BAAC,OACC;AAAA,sCAAC,QAAK,IAAG,KAAK,iBAAO,OAAM;AAAA,kBAC1B,sBACC,oBAAC,QAAK,OAAM,SAAQ,4CAAK,IACvB;AAAA,kBACH,oBACC,oBAAC,QAAK,OAAM,OAAM,yDAAQ,IACxB;AAAA,mBACN;AAAA;AAAA,cAZK,GAAG,OAAO,KAAK,IAAI,CAAC;AAAA,YAa3B;AAAA,UAEJ,CAAC,GACH;AAAA;AAAA,MACF,GACF;AAAA,MACA,oBAAC,QAAK,SAAQ,OAAM,IAAG,KACrB,8BAAC,UAAO,SAAS,aAAa,uCAAK,GACrC;AAAA,OACF;AAAA,KACF;AAEJ;AAEA,IAAO,gCAAQ;","names":[]}
@@ -0,0 +1,64 @@
1
+ import {
2
+ curriculum_ai_traning_default
3
+ } from "./chunk-SVFDAVBS.js";
4
+ import {
5
+ curriculum_review_default
6
+ } from "./chunk-K4JKFIA2.js";
7
+ import {
8
+ curriculum_video_default
9
+ } from "./chunk-QGKQ3IX7.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-R7IT4TCD.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-ZADYUJIV.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":[]}
@@ -1,14 +1,14 @@
1
1
  import "../chunk-P5EMTC35.js";
2
- import {
3
- DynamicFormProvider,
4
- useDynamicForm
5
- } from "../chunk-O2S7S5B4.js";
6
- import "../chunk-2OMSNCRH.js";
7
2
  import {
8
3
  UIStateContext,
9
4
  UIStateProvider,
10
5
  useUIState
11
6
  } from "../chunk-PT57HCAI.js";
7
+ import {
8
+ DynamicFormProvider,
9
+ useDynamicForm
10
+ } from "../chunk-O2S7S5B4.js";
11
+ import "../chunk-2OMSNCRH.js";
12
12
  import "../chunk-BESTU2AY.js";
13
13
  import "../chunk-PMJIFLDT.js";
14
14
  import "../chunk-LDBWASUA.js";
package/dist/index.cjs CHANGED
@@ -1859,12 +1859,9 @@ function Content6(props) {
1859
1859
  sm: `${desktopHeaderSize}px ${separatorSize}px calc(100% - ${desktopHeaderSize + separatorSize}px)`
1860
1860
  },
1861
1861
  children: [
1862
- !hideHeader && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
1863
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", gap: "3", px: { initial: "4", md: "6" }, children: [
1864
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ClosePanelArrowIcon, {}) }) }),
1865
- HeaderContent
1866
- ] }),
1867
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes39.Separator, { orientation: "horizontal", size: "4" })
1862
+ !hideHeader && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", gap: "3", px: { initial: "4", md: "6" }, children: [
1863
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ClosePanelArrowIcon, {}) }) }),
1864
+ HeaderContent
1868
1865
  ] }),
1869
1866
  children
1870
1867
  ]