@tipp/ui 2.2.2 → 2.2.3

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 (310) hide show
  1. package/dist/app/index.cjs +6 -3
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +53 -53
  4. package/dist/app/platform/coach-question-list.cjs +4 -1
  5. package/dist/app/platform/coach-question-list.cjs.map +1 -1
  6. package/dist/app/platform/coach-question-list.js +26 -26
  7. package/dist/app/platform/contents-card.cjs +4 -1
  8. package/dist/app/platform/contents-card.cjs.map +1 -1
  9. package/dist/app/platform/contents-card.js +26 -26
  10. package/dist/app/platform/curriculum-card.js +2 -2
  11. package/dist/app/platform/edit-coaching-time.cjs +6 -3
  12. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  13. package/dist/app/platform/edit-coaching-time.js +41 -41
  14. package/dist/app/platform/edit-service-type.cjs +5 -2
  15. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  16. package/dist/app/platform/edit-service-type.js +41 -41
  17. package/dist/app/platform/goal-manage-card-edit.cjs +6 -3
  18. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  19. package/dist/app/platform/goal-manage-card-edit.js +42 -42
  20. package/dist/app/platform/goal-manage-card-read.cjs +4 -1
  21. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  22. package/dist/app/platform/goal-manage-card-read.js +26 -26
  23. package/dist/app/platform/on-offline-radio-card.cjs +5 -2
  24. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  25. package/dist/app/platform/on-offline-radio-card.js +41 -41
  26. package/dist/app/platform/report-card.cjs +4 -1
  27. package/dist/app/platform/report-card.cjs.map +1 -1
  28. package/dist/app/platform/report-card.js +26 -26
  29. package/dist/app/platform/reservation-card.cjs +6 -3
  30. package/dist/app/platform/reservation-card.cjs.map +1 -1
  31. package/dist/app/platform/reservation-card.js +42 -42
  32. package/dist/app/platform/session-card.cjs +6 -3
  33. package/dist/app/platform/session-card.cjs.map +1 -1
  34. package/dist/app/platform/session-card.js +42 -42
  35. package/dist/app/platform/session-review-simple-read.cjs +4 -1
  36. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  37. package/dist/app/platform/session-review-simple-read.js +26 -26
  38. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +4 -1
  39. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
  40. package/dist/app/platform/userInfos/coaching-customer-info/index.js +28 -28
  41. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +4 -1
  42. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
  43. package/dist/app/platform/userInfos/coaching-customer-info/large.js +26 -26
  44. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +4 -1
  45. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
  46. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +26 -26
  47. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +4 -1
  48. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
  49. package/dist/app/platform/userInfos/coaching-customer-info/small.js +25 -25
  50. package/dist/app/platform/userInfos/session-user-info-detail.cjs +4 -1
  51. package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
  52. package/dist/app/platform/userInfos/session-user-info-detail.js +25 -25
  53. package/dist/app/platform/userInfos/utils.cjs +4 -1
  54. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  55. package/dist/app/platform/userInfos/utils.js +25 -25
  56. package/dist/atoms/index.cjs +28 -6
  57. package/dist/atoms/index.cjs.map +1 -1
  58. package/dist/atoms/index.js +62 -62
  59. package/dist/atoms/list.cjs +28 -6
  60. package/dist/atoms/list.cjs.map +1 -1
  61. package/dist/atoms/list.d.cts +3 -0
  62. package/dist/atoms/list.d.ts +3 -0
  63. package/dist/atoms/list.js +1 -1
  64. package/dist/chunk-2EQJDJYM.js +101 -0
  65. package/dist/chunk-2EQJDJYM.js.map +1 -0
  66. package/dist/chunk-2MOOBN5C.js +89 -0
  67. package/dist/chunk-2MOOBN5C.js.map +1 -0
  68. package/dist/chunk-3KPDWI34.js +145 -0
  69. package/dist/chunk-3KPDWI34.js.map +1 -0
  70. package/dist/chunk-3O476TUU.js +169 -0
  71. package/dist/chunk-3O476TUU.js.map +1 -0
  72. package/dist/chunk-46CZ4UER.js +74 -0
  73. package/dist/chunk-46CZ4UER.js.map +1 -0
  74. package/dist/chunk-4UQULOMW.js +64 -0
  75. package/dist/chunk-4UQULOMW.js.map +1 -0
  76. package/dist/chunk-5O7X52HC.js +37 -0
  77. package/dist/chunk-5O7X52HC.js.map +1 -0
  78. package/dist/chunk-65TSYJ74.js +89 -0
  79. package/dist/chunk-65TSYJ74.js.map +1 -0
  80. package/dist/chunk-6M4TKPFU.js +363 -0
  81. package/dist/chunk-6M4TKPFU.js.map +1 -0
  82. package/dist/chunk-7NH52DGC.js +74 -0
  83. package/dist/chunk-7NH52DGC.js.map +1 -0
  84. package/dist/chunk-7V3R3M75.js +47 -0
  85. package/dist/chunk-7V3R3M75.js.map +1 -0
  86. package/dist/chunk-AVTT5HWW.js +47 -0
  87. package/dist/chunk-AVTT5HWW.js.map +1 -0
  88. package/dist/chunk-AWZGFP6I.js +64 -0
  89. package/dist/chunk-AWZGFP6I.js.map +1 -0
  90. package/dist/chunk-AZXDKQTU.js +49 -0
  91. package/dist/chunk-AZXDKQTU.js.map +1 -0
  92. package/dist/chunk-BXEU65XG.js +47 -0
  93. package/dist/chunk-BXEU65XG.js.map +1 -0
  94. package/dist/chunk-CZTHP3LQ.js +30 -0
  95. package/dist/chunk-CZTHP3LQ.js.map +1 -0
  96. package/dist/chunk-D32EAZMA.js +68 -0
  97. package/dist/chunk-D32EAZMA.js.map +1 -0
  98. package/dist/chunk-DDFAMGNW.js +117 -0
  99. package/dist/chunk-DDFAMGNW.js.map +1 -0
  100. package/dist/chunk-EU666CUH.js +54 -0
  101. package/dist/chunk-EU666CUH.js.map +1 -0
  102. package/dist/chunk-F3JZQYPT.js +30 -0
  103. package/dist/chunk-F3JZQYPT.js.map +1 -0
  104. package/dist/chunk-FF2UDVNV.js +58 -0
  105. package/dist/chunk-FF2UDVNV.js.map +1 -0
  106. package/dist/chunk-FFE3SS5B.js +69 -0
  107. package/dist/chunk-FFE3SS5B.js.map +1 -0
  108. package/dist/chunk-FOBIJN2V.js +47 -0
  109. package/dist/chunk-FOBIJN2V.js.map +1 -0
  110. package/dist/chunk-FZCEMRC4.js +63 -0
  111. package/dist/chunk-FZCEMRC4.js.map +1 -0
  112. package/dist/chunk-G4B3S4C7.js +64 -0
  113. package/dist/chunk-G4B3S4C7.js.map +1 -0
  114. package/dist/chunk-GAEBWJDO.js +196 -0
  115. package/dist/chunk-GAEBWJDO.js.map +1 -0
  116. package/dist/chunk-GDQT2HUH.js +145 -0
  117. package/dist/chunk-GDQT2HUH.js.map +1 -0
  118. package/dist/chunk-GMRXEZIY.js +63 -0
  119. package/dist/chunk-GMRXEZIY.js.map +1 -0
  120. package/dist/chunk-GXMSHT3N.js +63 -0
  121. package/dist/chunk-GXMSHT3N.js.map +1 -0
  122. package/dist/chunk-HAC5DGNI.js +165 -0
  123. package/dist/chunk-HAC5DGNI.js.map +1 -0
  124. package/dist/chunk-HCT3LMGE.js +74 -0
  125. package/dist/chunk-HCT3LMGE.js.map +1 -0
  126. package/dist/chunk-IDLWTGG3.js +144 -0
  127. package/dist/chunk-IDLWTGG3.js.map +1 -0
  128. package/dist/chunk-J4CSQ6AW.js +74 -0
  129. package/dist/chunk-J4CSQ6AW.js.map +1 -0
  130. package/dist/chunk-J4YBXKP5.js +87 -0
  131. package/dist/chunk-J4YBXKP5.js.map +1 -0
  132. package/dist/chunk-JSOXMJ6K.js +43 -0
  133. package/dist/chunk-JSOXMJ6K.js.map +1 -0
  134. package/dist/chunk-K52ONO7C.js +101 -0
  135. package/dist/chunk-K52ONO7C.js.map +1 -0
  136. package/dist/chunk-KKJDGONH.js +99 -0
  137. package/dist/chunk-KKJDGONH.js.map +1 -0
  138. package/dist/chunk-KWHMRJC6.js +69 -0
  139. package/dist/chunk-KWHMRJC6.js.map +1 -0
  140. package/dist/chunk-LKU34QXP.js +163 -0
  141. package/dist/chunk-LKU34QXP.js.map +1 -0
  142. package/dist/chunk-LLXJRWHR.js +196 -0
  143. package/dist/chunk-LLXJRWHR.js.map +1 -0
  144. package/dist/chunk-M3P6YIO2.js +47 -0
  145. package/dist/chunk-M3P6YIO2.js.map +1 -0
  146. package/dist/chunk-MGDEKKA5.js +151 -0
  147. package/dist/chunk-MGDEKKA5.js.map +1 -0
  148. package/dist/chunk-MK4PHJAX.js +196 -0
  149. package/dist/chunk-MK4PHJAX.js.map +1 -0
  150. package/dist/chunk-NID37EIP.js +61 -0
  151. package/dist/chunk-NID37EIP.js.map +1 -0
  152. package/dist/chunk-OAQZ5XEP.js +39 -0
  153. package/dist/chunk-OAQZ5XEP.js.map +1 -0
  154. package/dist/chunk-OKHSIITN.js +74 -0
  155. package/dist/chunk-OKHSIITN.js.map +1 -0
  156. package/dist/chunk-PAFFDZBG.js +105 -0
  157. package/dist/chunk-PAFFDZBG.js.map +1 -0
  158. package/dist/chunk-PPAOS4LE.js +69 -0
  159. package/dist/chunk-PPAOS4LE.js.map +1 -0
  160. package/dist/chunk-QQ4ZK4BW.js +37 -0
  161. package/dist/chunk-QQ4ZK4BW.js.map +1 -0
  162. package/dist/chunk-S2HAUOAM.js +61 -0
  163. package/dist/chunk-S2HAUOAM.js.map +1 -0
  164. package/dist/chunk-TMIPXDK3.js +228 -0
  165. package/dist/chunk-TMIPXDK3.js.map +1 -0
  166. package/dist/chunk-TPJM2QDL.js +74 -0
  167. package/dist/chunk-TPJM2QDL.js.map +1 -0
  168. package/dist/chunk-UPZMRMK7.js +29 -0
  169. package/dist/chunk-UPZMRMK7.js.map +1 -0
  170. package/dist/chunk-UWRJ53C5.js +47 -0
  171. package/dist/chunk-UWRJ53C5.js.map +1 -0
  172. package/dist/chunk-V4VPWOSB.js +89 -0
  173. package/dist/chunk-V4VPWOSB.js.map +1 -0
  174. package/dist/chunk-V7KM5QTU.js +61 -0
  175. package/dist/chunk-V7KM5QTU.js.map +1 -0
  176. package/dist/chunk-VME3UMWT.js +58 -0
  177. package/dist/chunk-VME3UMWT.js.map +1 -0
  178. package/dist/chunk-VN5DG43B.js +64 -0
  179. package/dist/chunk-VN5DG43B.js.map +1 -0
  180. package/dist/chunk-WB2EZAD2.js +87 -0
  181. package/dist/chunk-WB2EZAD2.js.map +1 -0
  182. package/dist/chunk-WD5UQYQX.js +51 -0
  183. package/dist/chunk-WD5UQYQX.js.map +1 -0
  184. package/dist/chunk-WFJ3KSZ6.js +63 -0
  185. package/dist/chunk-WFJ3KSZ6.js.map +1 -0
  186. package/dist/chunk-X5QN3PGA.js +74 -0
  187. package/dist/chunk-X5QN3PGA.js.map +1 -0
  188. package/dist/chunk-XHLO7WZC.js +51 -0
  189. package/dist/chunk-XHLO7WZC.js.map +1 -0
  190. package/dist/chunk-XT5EJDW7.js +74 -0
  191. package/dist/chunk-XT5EJDW7.js.map +1 -0
  192. package/dist/chunk-YOXVR4DB.js +151 -0
  193. package/dist/chunk-YOXVR4DB.js.map +1 -0
  194. package/dist/chunk-Z6TXDHX6.js +117 -0
  195. package/dist/chunk-Z6TXDHX6.js.map +1 -0
  196. package/dist/chunk-ZAX4EGCS.js +74 -0
  197. package/dist/chunk-ZAX4EGCS.js.map +1 -0
  198. package/dist/index.cjs +30 -8
  199. package/dist/index.cjs.map +1 -1
  200. package/dist/index.css +9 -3
  201. package/dist/index.js +100 -100
  202. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +4 -1
  203. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
  204. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +30 -30
  205. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +4 -1
  206. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
  207. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +25 -25
  208. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +4 -1
  209. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
  210. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +29 -29
  211. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +4 -1
  212. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
  213. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +25 -25
  214. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs +4 -1
  215. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs.map +1 -1
  216. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +25 -25
  217. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.cjs +4 -1
  218. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.cjs.map +1 -1
  219. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +25 -25
  220. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +4 -1
  221. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
  222. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +26 -26
  223. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +4 -1
  224. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
  225. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +26 -26
  226. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +4 -1
  227. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
  228. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +25 -25
  229. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +4 -1
  230. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
  231. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +26 -26
  232. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +4 -1
  233. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
  234. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +25 -25
  235. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +4 -1
  236. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
  237. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +32 -32
  238. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +4 -1
  239. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
  240. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +26 -26
  241. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +4 -1
  242. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
  243. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +25 -25
  244. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +4 -1
  245. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
  246. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +33 -33
  247. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs +4 -1
  248. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs.map +1 -1
  249. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.js +25 -25
  250. package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +4 -1
  251. package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
  252. package/dist/molecules/curriculumV2/CurriculumContents/index.js +35 -35
  253. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs +4 -1
  254. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs.map +1 -1
  255. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +25 -25
  256. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.cjs +4 -1
  257. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.cjs.map +1 -1
  258. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.js +25 -25
  259. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +4 -1
  260. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
  261. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +25 -25
  262. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs +4 -1
  263. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs.map +1 -1
  264. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.js +25 -25
  265. package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +4 -1
  266. package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
  267. package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +28 -28
  268. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +4 -1
  269. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
  270. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +27 -27
  271. package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +4 -1
  272. package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
  273. package/dist/molecules/curriculumV2/curriculum-sub-nav.js +25 -25
  274. package/dist/molecules/curriculumV2/curriculum-v2-layout.cjs +4 -1
  275. package/dist/molecules/curriculumV2/curriculum-v2-layout.cjs.map +1 -1
  276. package/dist/molecules/curriculumV2/curriculum-v2-layout.js +25 -25
  277. package/dist/molecules/curriculumV2/index.cjs +4 -1
  278. package/dist/molecules/curriculumV2/index.cjs.map +1 -1
  279. package/dist/molecules/curriculumV2/index.js +38 -38
  280. package/dist/molecules/date-picker/date-picker-button.cjs +6 -3
  281. package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
  282. package/dist/molecules/date-picker/date-picker-button.js +25 -25
  283. package/dist/molecules/date-picker/index.cjs +4 -1
  284. package/dist/molecules/date-picker/index.cjs.map +1 -1
  285. package/dist/molecules/date-picker/index.js +25 -25
  286. package/dist/molecules/expand-table/index.cjs +4 -1
  287. package/dist/molecules/expand-table/index.cjs.map +1 -1
  288. package/dist/molecules/expand-table/index.js +25 -25
  289. package/dist/molecules/expand-table/row.cjs +4 -1
  290. package/dist/molecules/expand-table/row.cjs.map +1 -1
  291. package/dist/molecules/expand-table/row.js +25 -25
  292. package/dist/molecules/index.cjs +6 -3
  293. package/dist/molecules/index.cjs.map +1 -1
  294. package/dist/molecules/index.js +41 -41
  295. package/dist/molecules/learning-post.js +2 -2
  296. package/dist/molecules/navigation.cjs +4 -1
  297. package/dist/molecules/navigation.cjs.map +1 -1
  298. package/dist/molecules/navigation.js +25 -25
  299. package/dist/molecules/radio-button-card.cjs +4 -1
  300. package/dist/molecules/radio-button-card.cjs.map +1 -1
  301. package/dist/molecules/radio-button-card.js +25 -25
  302. package/dist/molecules/stepper.js +2 -2
  303. package/dist/molecules/tag-selector.cjs +4 -1
  304. package/dist/molecules/tag-selector.cjs.map +1 -1
  305. package/dist/molecules/tag-selector.js +26 -26
  306. package/dist/molecules/time-select.cjs +4 -1
  307. package/dist/molecules/time-select.cjs.map +1 -1
  308. package/dist/molecules/time-select.js +25 -25
  309. package/package.json +3 -3
  310. package/src/atoms/list.tsx +53 -31
@@ -0,0 +1,101 @@
1
+ import {
2
+ ReviewQuestionContentHeader
3
+ } from "./chunk-67J64K4I.js";
4
+ import {
5
+ RadioButtonCard
6
+ } from "./chunk-SLXXCM56.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-PARGQUJB.js";
16
+ import {
17
+ Flex
18
+ } from "./chunk-25HMMI7R.js";
19
+ import {
20
+ Button
21
+ } from "./chunk-BW46WIN5.js";
22
+ import {
23
+ Card
24
+ } from "./chunk-HEDMSFPW.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-K52ONO7C.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, Button, Card, Flex, Grid, Typo } from '@/atoms';\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;AAoC9C,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,99 @@
1
+ import {
2
+ Grid
3
+ } from "./chunk-EGEQY3KT.js";
4
+ import {
5
+ Heading
6
+ } from "./chunk-34OQDUQR.js";
7
+ import {
8
+ Separator
9
+ } from "./chunk-HYITAA4J.js";
10
+ import {
11
+ Box
12
+ } from "./chunk-4Y5BEXVN.js";
13
+ import {
14
+ Typo
15
+ } from "./chunk-PARGQUJB.js";
16
+ import {
17
+ Flex
18
+ } from "./chunk-25HMMI7R.js";
19
+ import {
20
+ ArrowRightIcon,
21
+ TimerIcon
22
+ } from "./chunk-V5XKNSCK.js";
23
+ import {
24
+ Badge
25
+ } from "./chunk-FCIHNIOH.js";
26
+
27
+ // src/app/platform/curriculum-card.tsx
28
+ import { jsx, jsxs } from "react/jsx-runtime";
29
+ function CurriculumCard(props) {
30
+ const {
31
+ title,
32
+ imgTitle,
33
+ imgSrc,
34
+ description,
35
+ runningTime,
36
+ bgColor,
37
+ onClick
38
+ } = props;
39
+ return /* @__PURE__ */ jsxs(
40
+ Grid,
41
+ {
42
+ columns: { initial: "1", sm: "275px 1fr" },
43
+ gapX: "5",
44
+ gapY: "2",
45
+ onClick,
46
+ style: { cursor: "pointer" },
47
+ children: [
48
+ /* @__PURE__ */ jsx(
49
+ Box,
50
+ {
51
+ height: "165px",
52
+ p: "3",
53
+ style: {
54
+ backgroundImage: `url(${imgSrc})`,
55
+ backgroundColor: bgColor,
56
+ backgroundPositionX: "right",
57
+ backgroundPositionY: "bottom",
58
+ backgroundRepeat: "no-repeat",
59
+ backgroundSize: "contain",
60
+ backgroundAttachment: "local"
61
+ },
62
+ width: "100%",
63
+ children: /* @__PURE__ */ jsx(Heading, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
64
+ }
65
+ ),
66
+ /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "3", children: [
67
+ /* @__PURE__ */ jsxs(Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
68
+ /* @__PURE__ */ jsx(Heading, { variant: "heading4", children: title }),
69
+ /* @__PURE__ */ jsx(
70
+ Badge,
71
+ {
72
+ size: "medium",
73
+ style: { justifySelf: "flex-start" },
74
+ variant: "outline",
75
+ children: /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "1", children: [
76
+ /* @__PURE__ */ jsx(TimerIcon, {}),
77
+ runningTime
78
+ ] })
79
+ }
80
+ )
81
+ ] }),
82
+ /* @__PURE__ */ jsx(Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ jsx("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
83
+ return /* @__PURE__ */ jsx("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ jsx(Heading, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
84
+ }) }) }),
85
+ /* @__PURE__ */ jsx(Separator, { size: "4" }),
86
+ /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "2", justify: "end", children: [
87
+ /* @__PURE__ */ jsx(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
88
+ /* @__PURE__ */ jsx(ArrowRightIcon, { color: "gray" })
89
+ ] })
90
+ ] })
91
+ ]
92
+ }
93
+ );
94
+ }
95
+
96
+ export {
97
+ CurriculumCard
98
+ };
99
+ //# sourceMappingURL=chunk-KKJDGONH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/app/platform/curriculum-card.tsx"],"sourcesContent":["import React from 'react';\nimport { Badge } from '@/atoms/badge';\nimport { Box } from '@/atoms/box';\nimport { Grid } from '@/atoms/grid';\nimport { Heading } from '@/atoms/heading';\nimport { Typo } from '@/atoms/typo';\nimport { Separator } from '@/atoms/separator';\nimport { Flex } from '@/atoms/flex';\nimport { ArrowRightIcon, TimerIcon } from '@/icon';\n\nexport interface CurriculumCardProps {\n title?: string;\n imgTitle?: string;\n imgSrc?: string;\n description?: string[];\n runningTime?: string;\n bgColor?: string;\n onClick?: () => void;\n}\n\nexport function CurriculumCard(props: CurriculumCardProps): React.ReactNode {\n const {\n title,\n imgTitle,\n imgSrc,\n description,\n runningTime,\n bgColor,\n onClick,\n } = props;\n return (\n <Grid\n columns={{ initial: '1', sm: '275px 1fr' }}\n gapX=\"5\"\n gapY=\"2\"\n onClick={onClick}\n style={{ cursor: 'pointer' }}\n >\n {/* 섬네일 */}\n <Box\n height=\"165px\"\n p=\"3\"\n style={{\n backgroundImage: `url(${imgSrc})`,\n backgroundColor: bgColor,\n backgroundPositionX: 'right',\n backgroundPositionY: 'bottom',\n backgroundRepeat: 'no-repeat',\n backgroundSize: 'contain',\n backgroundAttachment: 'local',\n }}\n width=\"100%\"\n >\n <Heading style={{ whiteSpace: 'break-spaces' }} variant=\"heading3\">\n {imgTitle}\n </Heading>\n </Box>\n {/* 텍스트 */}\n <Flex direction=\"column\" gap=\"3\">\n {/* 제목 */}\n <Grid columns={{ initial: '1', xs: '1fr auto' }} gapY=\"3\">\n <Heading variant=\"heading4\">{title}</Heading>\n <Badge\n size=\"medium\"\n style={{ justifySelf: 'flex-start' }}\n variant=\"outline\"\n >\n <Flex align=\"center\" gap=\"1\">\n <TimerIcon />\n {runningTime}\n </Flex>\n </Badge>\n </Grid>\n {/* 설명 */}\n <Box style={{ marginBottom: 'auto' }}>\n <ul style={{ margin: 0, paddingLeft: 20 }}>\n {description?.map((el) => {\n return (\n <li key={el} style={{ marginBottom: 8 }}>\n <Heading truncate variant=\"heading5\" weight=\"regular\">\n {el}\n </Heading>\n </li>\n );\n })}\n </ul>\n </Box>\n <Separator size=\"4\" />\n <Flex align=\"center\" gap=\"2\" justify=\"end\">\n <Typo color=\"gray\">강의 듣고 코치님과 무제한 Q&A</Typo>\n <ArrowRightIcon color=\"gray\" />\n </Flex>\n </Flex>\n </Grid>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDQ,cAcI,YAdJ;AAjCD,SAAS,eAAe,OAA6C;AAC1E,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AACJ,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS,EAAE,SAAS,KAAK,IAAI,YAAY;AAAA,MACzC,MAAK;AAAA,MACL,MAAK;AAAA,MACL;AAAA,MACA,OAAO,EAAE,QAAQ,UAAU;AAAA,MAG3B;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,QAAO;AAAA,YACP,GAAE;AAAA,YACF,OAAO;AAAA,cACL,iBAAiB,OAAO,MAAM;AAAA,cAC9B,iBAAiB;AAAA,cACjB,qBAAqB;AAAA,cACrB,qBAAqB;AAAA,cACrB,kBAAkB;AAAA,cAClB,gBAAgB;AAAA,cAChB,sBAAsB;AAAA,YACxB;AAAA,YACA,OAAM;AAAA,YAEN,8BAAC,WAAQ,OAAO,EAAE,YAAY,eAAe,GAAG,SAAQ,YACrD,oBACH;AAAA;AAAA,QACF;AAAA,QAEA,qBAAC,QAAK,WAAU,UAAS,KAAI,KAE3B;AAAA,+BAAC,QAAK,SAAS,EAAE,SAAS,KAAK,IAAI,WAAW,GAAG,MAAK,KACpD;AAAA,gCAAC,WAAQ,SAAQ,YAAY,iBAAM;AAAA,YACnC;AAAA,cAAC;AAAA;AAAA,gBACC,MAAK;AAAA,gBACL,OAAO,EAAE,aAAa,aAAa;AAAA,gBACnC,SAAQ;AAAA,gBAER,+BAAC,QAAK,OAAM,UAAS,KAAI,KACvB;AAAA,sCAAC,aAAU;AAAA,kBACV;AAAA,mBACH;AAAA;AAAA,YACF;AAAA,aACF;AAAA,UAEA,oBAAC,OAAI,OAAO,EAAE,cAAc,OAAO,GACjC,8BAAC,QAAG,OAAO,EAAE,QAAQ,GAAG,aAAa,GAAG,GACrC,qDAAa,IAAI,CAAC,OAAO;AACxB,mBACE,oBAAC,QAAY,OAAO,EAAE,cAAc,EAAE,GACpC,8BAAC,WAAQ,UAAQ,MAAC,SAAQ,YAAW,QAAO,WACzC,cACH,KAHO,EAIT;AAAA,UAEJ,IACF,GACF;AAAA,UACA,oBAAC,aAAU,MAAK,KAAI;AAAA,UACpB,qBAAC,QAAK,OAAM,UAAS,KAAI,KAAI,SAAQ,OACnC;AAAA,gCAAC,QAAK,OAAM,QAAO,uFAAkB;AAAA,YACrC,oBAAC,kBAAe,OAAM,QAAO;AAAA,aAC/B;AAAA,WACF;AAAA;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -0,0 +1,69 @@
1
+ import {
2
+ review_question_radio_default
3
+ } from "./chunk-K52ONO7C.js";
4
+ import {
5
+ review_question_satisfaction_option_default
6
+ } from "./chunk-5O7X52HC.js";
7
+ import {
8
+ ReviewQuestionSatisfisText
9
+ } from "./chunk-4MFKSSU4.js";
10
+ import {
11
+ review_question_text_default
12
+ } from "./chunk-J4YBXKP5.js";
13
+
14
+ // src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.tsx
15
+ import { jsx } from "react/jsx-runtime";
16
+ function ReviewQuestionBody(props) {
17
+ const { question, answer, error, onChange } = props;
18
+ if (question.type === "question_radio") {
19
+ return /* @__PURE__ */ jsx(
20
+ review_question_radio_default,
21
+ {
22
+ answer,
23
+ error,
24
+ onChange,
25
+ question
26
+ }
27
+ );
28
+ }
29
+ if (question.type === "question_text") {
30
+ return /* @__PURE__ */ jsx(
31
+ review_question_text_default,
32
+ {
33
+ answer,
34
+ error,
35
+ onChange,
36
+ question
37
+ }
38
+ );
39
+ }
40
+ if (question.type === "question_satisfaction_option") {
41
+ return /* @__PURE__ */ jsx(
42
+ review_question_satisfaction_option_default,
43
+ {
44
+ answer,
45
+ error,
46
+ onChange,
47
+ question
48
+ }
49
+ );
50
+ }
51
+ if (question.type === "question_satisfaction_text") {
52
+ return /* @__PURE__ */ jsx(
53
+ ReviewQuestionSatisfisText,
54
+ {
55
+ answer,
56
+ error,
57
+ onChange,
58
+ question
59
+ }
60
+ );
61
+ }
62
+ return null;
63
+ }
64
+ var review_question_body_default = ReviewQuestionBody;
65
+
66
+ export {
67
+ review_question_body_default
68
+ };
69
+ //# sourceMappingURL=chunk-KWHMRJC6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.tsx"],"sourcesContent":["import React from 'react'; \nimport type { ReviewQuestionElement } from '@/types/curriculum.type';\nimport ReviewQuestionRadio from './review-question-radio';\nimport ReviewQuestionText from './review-question-text';\nimport ReviewQuestionSatisfactionOption from './review-question-satisfaction-option';\nimport ReviewQuestionSatisfactionText from './review-question-satisfaction-text';\n\ninterface ReviewQuestionBodyProps {\n question: ReviewQuestionElement;\n answer: string;\n error?: string;\n onChange: (value: string) => void;\n}\n\nfunction ReviewQuestionBody(props: ReviewQuestionBodyProps): React.ReactNode {\n const { question, answer, error, onChange } = props;\n \n if (question.type === 'question_radio') {\n return (\n <ReviewQuestionRadio\n answer={answer}\n error={error}\n onChange={onChange}\n question={question}\n />\n );\n }\n if (question.type === 'question_text') {\n return (\n <ReviewQuestionText\n answer={answer}\n error={error}\n onChange={onChange}\n question={question}\n />\n );\n }\n if (question.type === 'question_satisfaction_option') {\n return (\n <ReviewQuestionSatisfactionOption\n answer={answer}\n error={error}\n onChange={onChange}\n question={question}\n />\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- 그 외의 타입이 있을 경우 있음\n if (question.type === 'question_satisfaction_text') {\n return (\n <ReviewQuestionSatisfactionText\n answer={answer}\n error={error}\n onChange={onChange}\n question={question}\n />\n );\n }\n\n return null;\n}\nexport default ReviewQuestionBody;\n"],"mappings":";;;;;;;;;;;;;;AAmBM;AALN,SAAS,mBAAmB,OAAiD;AAC3E,QAAM,EAAE,UAAU,QAAQ,OAAO,SAAS,IAAI;AAE9C,MAAI,SAAS,SAAS,kBAAkB;AACtC,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF;AAAA,EAEJ;AACA,MAAI,SAAS,SAAS,iBAAiB;AACrC,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF;AAAA,EAEJ;AACA,MAAI,SAAS,SAAS,gCAAgC;AACpD,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF;AAAA,EAEJ;AAGA,MAAI,SAAS,SAAS,8BAA8B;AAClD,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF;AAAA,EAEJ;AAEA,SAAO;AACT;AACA,IAAO,+BAAQ;","names":[]}
@@ -0,0 +1,163 @@
1
+ import {
2
+ ThemeProvider
3
+ } from "./chunk-RX5DC5KO.js";
4
+ import {
5
+ Grid
6
+ } from "./chunk-EGEQY3KT.js";
7
+ import {
8
+ Heading
9
+ } from "./chunk-34OQDUQR.js";
10
+ import {
11
+ Box
12
+ } from "./chunk-4Y5BEXVN.js";
13
+ import {
14
+ Typo
15
+ } from "./chunk-PARGQUJB.js";
16
+ import {
17
+ Flex
18
+ } from "./chunk-25HMMI7R.js";
19
+ import {
20
+ Button
21
+ } from "./chunk-BW46WIN5.js";
22
+ import {
23
+ AspectRatio
24
+ } from "./chunk-EAXUQEO5.js";
25
+ import {
26
+ Badge
27
+ } from "./chunk-FCIHNIOH.js";
28
+ import {
29
+ __spreadProps,
30
+ __spreadValues
31
+ } from "./chunk-2NMEKWO5.js";
32
+
33
+ // src/molecules/learning-post.tsx
34
+ import { jsx, jsxs } from "react/jsx-runtime";
35
+ function LearningPost(props) {
36
+ const {
37
+ defaultThemeProps,
38
+ html,
39
+ tags,
40
+ title,
41
+ metaDescription,
42
+ imageComp,
43
+ onPageBack,
44
+ children
45
+ } = props;
46
+ return /* @__PURE__ */ jsx(
47
+ ThemeProvider,
48
+ __spreadProps(__spreadValues({}, defaultThemeProps), {
49
+ accentColor: "iris",
50
+ scaling: "110%",
51
+ style: {},
52
+ children: html ? /* @__PURE__ */ jsxs(
53
+ Grid,
54
+ {
55
+ columns: { initial: "1", md: "130px 1fr 130px" },
56
+ gap: { initial: "2", md: "5" },
57
+ height: "100%",
58
+ justify: "center",
59
+ pb: "160px",
60
+ position: "relative",
61
+ px: "4",
62
+ width: "100%",
63
+ children: [
64
+ /* @__PURE__ */ jsx("div", {}),
65
+ /* @__PURE__ */ jsxs(
66
+ Flex,
67
+ {
68
+ align: "center",
69
+ direction: "column",
70
+ maxWidth: "880px",
71
+ mt: { initial: "3", md: "8" },
72
+ overflow: "hidden",
73
+ width: "100%",
74
+ children: [
75
+ /* @__PURE__ */ jsxs(Grid, { align: "start", columns: { initial: "1", sm: "2" }, gap: "2", children: [
76
+ /* @__PURE__ */ jsxs(
77
+ Grid,
78
+ {
79
+ gap: "3",
80
+ mb: { initial: "4", sm: "0" },
81
+ style: { alignSelf: "flex-start" },
82
+ children: [
83
+ /* @__PURE__ */ jsx(
84
+ Heading,
85
+ {
86
+ style: {
87
+ fontSize: "2.4rem",
88
+ lineHeight: 1.25,
89
+ wordBreak: "keep-all"
90
+ },
91
+ variant: "heading1",
92
+ children: title
93
+ }
94
+ ),
95
+ /* @__PURE__ */ jsx(Typo, { children: metaDescription }),
96
+ /* @__PURE__ */ jsx(Flex, { gap: "1", wrap: "wrap", children: tags == null ? void 0 : tags.map((el) => {
97
+ var _a;
98
+ if ((_a = el.name) == null ? void 0 : _a.startsWith("filter")) return;
99
+ return /* @__PURE__ */ jsx(Badge, { size: "large", variant: "solid", children: el.name }, el.id);
100
+ }) })
101
+ ]
102
+ }
103
+ ),
104
+ /* @__PURE__ */ jsx(
105
+ AspectRatio,
106
+ {
107
+ ratio: 5 / 3,
108
+ style: {
109
+ overflow: "hidden",
110
+ borderRadius: "var(--radius-4)",
111
+ objectFit: "cover"
112
+ },
113
+ children: imageComp
114
+ }
115
+ )
116
+ ] }),
117
+ /* @__PURE__ */ jsx(Box, { mt: "5", width: "100%", children: /* @__PURE__ */ jsx(
118
+ "div",
119
+ {
120
+ className: "gh-content",
121
+ dangerouslySetInnerHTML: { __html: html }
122
+ }
123
+ ) })
124
+ ]
125
+ }
126
+ ),
127
+ children
128
+ ]
129
+ }
130
+ ) : /* @__PURE__ */ jsxs(
131
+ Flex,
132
+ {
133
+ align: "center",
134
+ direction: "column",
135
+ gap: "6",
136
+ height: "100%",
137
+ justify: "center",
138
+ width: "100%",
139
+ children: [
140
+ /* @__PURE__ */ jsx(Heading, { variant: "heading1", children: "\uCF58\uD150\uCE20\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." }),
141
+ /* @__PURE__ */ jsx(
142
+ Heading,
143
+ {
144
+ align: "center",
145
+ color: "gray",
146
+ variant: "heading4",
147
+ weight: "regular",
148
+ children: `\uC694\uCCAD\uD558\uC2E0 \uCF58\uD150\uCE20\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
149
+ \uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694.`
150
+ }
151
+ ),
152
+ /* @__PURE__ */ jsx(Button, { onClick: onPageBack, size: "large", children: "\uB4A4\uB85C\uAC00\uAE30" })
153
+ ]
154
+ }
155
+ )
156
+ })
157
+ );
158
+ }
159
+
160
+ export {
161
+ LearningPost
162
+ };
163
+ //# sourceMappingURL=chunk-LKU34QXP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/learning-post.tsx"],"sourcesContent":["import React from 'react';\nimport type { ThemeProviderProps } from '../theme/theme-provider';\nimport { ThemeProvider } from '../theme/theme-provider';\nimport { Grid } from '../atoms/grid';\nimport { Flex } from '../atoms/flex';\nimport { Heading } from '../atoms/heading';\nimport { Typo } from '../atoms/typo';\nimport { AspectRatio } from '../atoms/aspect-ratio';\nimport { Badge } from '../atoms/badge';\nimport { Box } from '../atoms/box';\nimport { Button } from '../atoms/button';\n\ninterface Tag {\n name?: string;\n id: string;\n}\nexport interface LearningPostProps {\n defaultThemeProps?: Partial<ThemeProviderProps>;\n html?: string;\n title?: string;\n metaDescription?: string;\n /** 섬네일에 해당하는 이미지 컴포넌트 */\n imageComp?: React.ReactNode;\n tags?: Tag[];\n children?: React.ReactNode;\n onPageBack?: () => void;\n}\n\nexport function LearningPost(props: LearningPostProps): React.ReactNode {\n const {\n defaultThemeProps,\n html,\n tags,\n title,\n metaDescription,\n imageComp,\n onPageBack,\n children,\n } = props;\n return (\n <ThemeProvider\n {...defaultThemeProps}\n accentColor=\"iris\"\n scaling=\"110%\"\n style={{}}\n >\n {html ? (\n <Grid\n columns={{ initial: '1', md: '130px 1fr 130px' }}\n gap={{ initial: '2', md: '5' }}\n height=\"100%\"\n justify=\"center\"\n pb=\"160px\"\n position=\"relative\"\n px=\"4\"\n width=\"100%\"\n >\n <div />\n <Flex\n align=\"center\"\n direction=\"column\"\n maxWidth=\"880px\"\n mt={{ initial: '3', md: '8' }}\n overflow=\"hidden\"\n width=\"100%\"\n >\n <Grid align=\"start\" columns={{ initial: '1', sm: '2' }} gap=\"2\">\n <Grid\n gap=\"3\"\n mb={{ initial: '4', sm: '0' }}\n style={{ alignSelf: 'flex-start' }}\n >\n <Heading\n style={{\n fontSize: '2.4rem',\n lineHeight: 1.25,\n wordBreak: 'keep-all',\n }}\n variant=\"heading1\"\n >\n {title}\n </Heading>\n <Typo>{metaDescription}</Typo>\n <Flex gap=\"1\" wrap=\"wrap\">\n {tags?.map((el) => {\n if (el.name?.startsWith('filter')) return;\n return (\n <Badge key={el.id} size=\"large\" variant=\"solid\">\n {el.name}\n </Badge>\n );\n })}\n </Flex>\n </Grid>\n\n <AspectRatio\n ratio={5 / 3}\n style={{\n overflow: 'hidden',\n borderRadius: 'var(--radius-4)',\n objectFit: 'cover',\n }}\n >\n {imageComp}\n </AspectRatio>\n </Grid>\n\n <Box mt=\"5\" width=\"100%\">\n <div\n className=\"gh-content\"\n dangerouslySetInnerHTML={{ __html: html }}\n />\n </Box>\n </Flex>\n {children}\n </Grid>\n ) : (\n <Flex\n align=\"center\"\n direction=\"column\"\n gap=\"6\"\n height=\"100%\"\n justify=\"center\"\n width=\"100%\"\n >\n <Heading variant=\"heading1\">콘텐츠를 찾을 수 없습니다.</Heading>\n <Heading\n align=\"center\"\n color=\"gray\"\n variant=\"heading4\"\n weight=\"regular\"\n >\n {`요청하신 콘텐츠를 찾을 수 없습니다.\n 잠시 후 다시 시도해주세요.`}\n </Heading>\n <Button onClick={onPageBack} size=\"large\">\n 뒤로가기\n </Button>\n </Flex>\n )}\n </ThemeProvider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDU,cAUI,YAVJ;AA7BH,SAAS,aAAa,OAA2C;AACtE,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AACJ,SACE;AAAA,IAAC;AAAA,qCACK,oBADL;AAAA,MAEC,aAAY;AAAA,MACZ,SAAQ;AAAA,MACR,OAAO,CAAC;AAAA,MAEP,iBACC;AAAA,QAAC;AAAA;AAAA,UACC,SAAS,EAAE,SAAS,KAAK,IAAI,kBAAkB;AAAA,UAC/C,KAAK,EAAE,SAAS,KAAK,IAAI,IAAI;AAAA,UAC7B,QAAO;AAAA,UACP,SAAQ;AAAA,UACR,IAAG;AAAA,UACH,UAAS;AAAA,UACT,IAAG;AAAA,UACH,OAAM;AAAA,UAEN;AAAA,gCAAC,SAAI;AAAA,YACL;AAAA,cAAC;AAAA;AAAA,gBACC,OAAM;AAAA,gBACN,WAAU;AAAA,gBACV,UAAS;AAAA,gBACT,IAAI,EAAE,SAAS,KAAK,IAAI,IAAI;AAAA,gBAC5B,UAAS;AAAA,gBACT,OAAM;AAAA,gBAEN;AAAA,uCAAC,QAAK,OAAM,SAAQ,SAAS,EAAE,SAAS,KAAK,IAAI,IAAI,GAAG,KAAI,KAC1D;AAAA;AAAA,sBAAC;AAAA;AAAA,wBACC,KAAI;AAAA,wBACJ,IAAI,EAAE,SAAS,KAAK,IAAI,IAAI;AAAA,wBAC5B,OAAO,EAAE,WAAW,aAAa;AAAA,wBAEjC;AAAA;AAAA,4BAAC;AAAA;AAAA,8BACC,OAAO;AAAA,gCACL,UAAU;AAAA,gCACV,YAAY;AAAA,gCACZ,WAAW;AAAA,8BACb;AAAA,8BACA,SAAQ;AAAA,8BAEP;AAAA;AAAA,0BACH;AAAA,0BACA,oBAAC,QAAM,2BAAgB;AAAA,0BACvB,oBAAC,QAAK,KAAI,KAAI,MAAK,QAChB,uCAAM,IAAI,CAAC,OAAO;AApFrC;AAqFoB,iCAAI,QAAG,SAAH,mBAAS,WAAW,UAAW;AACnC,mCACE,oBAAC,SAAkB,MAAK,SAAQ,SAAQ,SACrC,aAAG,QADM,GAAG,EAEf;AAAA,0BAEJ,IACF;AAAA;AAAA;AAAA,oBACF;AAAA,oBAEA;AAAA,sBAAC;AAAA;AAAA,wBACC,OAAO,IAAI;AAAA,wBACX,OAAO;AAAA,0BACL,UAAU;AAAA,0BACV,cAAc;AAAA,0BACd,WAAW;AAAA,wBACb;AAAA,wBAEC;AAAA;AAAA,oBACH;AAAA,qBACF;AAAA,kBAEA,oBAAC,OAAI,IAAG,KAAI,OAAM,QAChB;AAAA,oBAAC;AAAA;AAAA,sBACC,WAAU;AAAA,sBACV,yBAAyB,EAAE,QAAQ,KAAK;AAAA;AAAA,kBAC1C,GACF;AAAA;AAAA;AAAA,YACF;AAAA,YACC;AAAA;AAAA;AAAA,MACH,IAEA;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,WAAQ,SAAQ,YAAW,oFAAe;AAAA,YAC3C;AAAA,cAAC;AAAA;AAAA,gBACC,OAAM;AAAA,gBACN,OAAM;AAAA,gBACN,SAAQ;AAAA,gBACR,QAAO;AAAA,gBAEN;AAAA;AAAA;AAAA,YAEH;AAAA,YACA,oBAAC,UAAO,SAAS,YAAY,MAAK,SAAQ,sCAE1C;AAAA;AAAA;AAAA,MACF;AAAA;AAAA,EAEJ;AAEJ;","names":[]}
@@ -0,0 +1,196 @@
1
+ import {
2
+ CurriculumReviewSteps_default
3
+ } from "./chunk-V4VPWOSB.js";
4
+ import {
5
+ useCurriculumContext
6
+ } from "./chunk-IYQJIEVM.js";
7
+ import {
8
+ Dialog
9
+ } from "./chunk-22326A76.js";
10
+ import {
11
+ IconButton
12
+ } from "./chunk-ZOFENAZJ.js";
13
+ import {
14
+ Box
15
+ } from "./chunk-4Y5BEXVN.js";
16
+ import {
17
+ Typo
18
+ } from "./chunk-PARGQUJB.js";
19
+ import {
20
+ Flex
21
+ } from "./chunk-25HMMI7R.js";
22
+ import {
23
+ Button
24
+ } from "./chunk-BW46WIN5.js";
25
+ import {
26
+ __spreadValues
27
+ } from "./chunk-2NMEKWO5.js";
28
+
29
+ // src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
30
+ import { useCallback, useMemo, useState } from "react";
31
+ import { Cross1Icon } from "@radix-ui/react-icons";
32
+ import { jsx, jsxs } from "react/jsx-runtime";
33
+ function CurriculumReview(props) {
34
+ const { item, sectionTitle } = props;
35
+ const { description, buttonTitle } = item;
36
+ const {
37
+ curriculum,
38
+ onReviewSubmit: _onReviewSubmit,
39
+ onReviewValueChange: _onReviewValueChange,
40
+ curriculumReviewAnswers,
41
+ tempCurriculumReviewAnswers,
42
+ curriculumCompleteMap
43
+ } = useCurriculumContext();
44
+ const [open, setOpen] = useState(false);
45
+ const [isChanged, setIsChanged] = useState(false);
46
+ const [closeDialogOpen, setCloseDialogOpen] = useState(false);
47
+ const onReviewValueChange = useCallback(
48
+ ({
49
+ reviewId,
50
+ answer
51
+ }) => {
52
+ if (curriculumReviewAnswers[reviewId] === answer[reviewId]) {
53
+ return;
54
+ }
55
+ setIsChanged(true);
56
+ _onReviewValueChange({ reviewId, answer });
57
+ },
58
+ [_onReviewValueChange, curriculumReviewAnswers]
59
+ );
60
+ const onReviewSubmit = useCallback(
61
+ (values) => {
62
+ return _onReviewSubmit({ reviewId: item.uuid, answer: values }).then(
63
+ (result) => {
64
+ setIsChanged(false);
65
+ return result;
66
+ }
67
+ );
68
+ },
69
+ [item.uuid, _onReviewSubmit]
70
+ );
71
+ const onClickEndReview = useCallback(() => {
72
+ setOpen(false);
73
+ }, []);
74
+ const onClickCloseDrawer = useCallback(() => {
75
+ if (isChanged) {
76
+ setCloseDialogOpen(true);
77
+ } else {
78
+ setOpen(false);
79
+ }
80
+ }, [isChanged]);
81
+ const mode = useMemo(() => {
82
+ return item.questions.every(
83
+ (question) => curriculumReviewAnswers[question.uuid] && curriculumReviewAnswers[question.uuid] !== ""
84
+ ) ? "edit" : "create";
85
+ }, [curriculumReviewAnswers, item.questions]);
86
+ const defaultValues = useMemo(() => {
87
+ const allAnswers = __spreadValues(__spreadValues({}, tempCurriculumReviewAnswers), curriculumReviewAnswers);
88
+ return item.questions.reduce((acc, question) => {
89
+ acc[question.uuid] = allAnswers[question.uuid] || "";
90
+ return acc;
91
+ }, {});
92
+ }, [curriculumReviewAnswers, item.questions, tempCurriculumReviewAnswers]);
93
+ const done = useMemo(() => {
94
+ return Boolean(curriculumCompleteMap[item.uuid]);
95
+ }, [curriculumCompleteMap, item.uuid]);
96
+ const bgColor = done ? "var(--color-panel-solid)" : void 0;
97
+ return /* @__PURE__ */ jsxs(Dialog.Root, { onOpenChange: setOpen, open, children: [
98
+ /* @__PURE__ */ jsxs(
99
+ Flex,
100
+ {
101
+ align: "center",
102
+ direction: "column",
103
+ height: "100%",
104
+ justify: "center",
105
+ px: "3",
106
+ py: "3",
107
+ style: {
108
+ backgroundImage: `url(https://tipp-coaching-live.s3.ap-northeast-2.amazonaws.com/images/curriculum_review_bg.png)`,
109
+ backgroundPosition: "center",
110
+ backgroundSize: "cover",
111
+ backgroundRepeat: "no-repeat"
112
+ },
113
+ width: "100%",
114
+ children: [
115
+ /* @__PURE__ */ jsx(Typo, { color: "gray", weight: "bold", children: curriculum.title }),
116
+ /* @__PURE__ */ jsx(Typo, { align: "center", as: "p", color: "gray", children: description }),
117
+ /* @__PURE__ */ jsx(Dialog.Trigger, { children: /* @__PURE__ */ jsx(
118
+ Button,
119
+ {
120
+ mt: "3",
121
+ style: { minWidth: 232, backgroundColor: bgColor },
122
+ variant: done ? "outline" : "solid",
123
+ children: /* @__PURE__ */ jsx(Typo, { truncate: true, children: done ? "\uB098\uC758 \uC751\uB2F5 \uB2E4\uC2DC\uBCF4\uAE30" : buttonTitle })
124
+ }
125
+ ) })
126
+ ]
127
+ }
128
+ ),
129
+ /* @__PURE__ */ jsx(
130
+ Dialog.Content,
131
+ {
132
+ height: "100%",
133
+ hideCloseButton: true,
134
+ style: { borderRadius: 0, padding: 0 },
135
+ title: "",
136
+ width: "100%",
137
+ children: /* @__PURE__ */ jsxs(
138
+ Flex,
139
+ {
140
+ align: "center",
141
+ height: "100%",
142
+ justify: "center",
143
+ pb: "3",
144
+ position: "relative",
145
+ width: "100%",
146
+ children: [
147
+ /* @__PURE__ */ jsx(
148
+ CurriculumReviewSteps_default,
149
+ {
150
+ contents: item,
151
+ curriculum,
152
+ defaultValues,
153
+ done,
154
+ mode,
155
+ onClickEndReview,
156
+ onReviewValueChange,
157
+ onSubmit: onReviewSubmit,
158
+ title: sectionTitle
159
+ }
160
+ ),
161
+ /* @__PURE__ */ jsx(Box, { position: "absolute", right: "16px", top: "16px", children: /* @__PURE__ */ jsxs(
162
+ IconButton,
163
+ {
164
+ color: "gray",
165
+ onClick: onClickCloseDrawer,
166
+ variant: "ghost",
167
+ children: [
168
+ /* @__PURE__ */ jsx(Box, { display: { initial: "none", md: "block" }, children: /* @__PURE__ */ jsx(Cross1Icon, { height: 20, width: 20 }) }),
169
+ /* @__PURE__ */ jsx(Box, { display: { initial: "block", md: "none" }, children: /* @__PURE__ */ jsx(Cross1Icon, { height: 16, width: 16 }) })
170
+ ]
171
+ }
172
+ ) }),
173
+ /* @__PURE__ */ jsx(Dialog.Root, { onOpenChange: setCloseDialogOpen, open: closeDialogOpen, children: /* @__PURE__ */ jsx(
174
+ Dialog.Content,
175
+ {
176
+ buttons: /* @__PURE__ */ jsxs(Flex, { gap: "3", justify: "end", children: [
177
+ /* @__PURE__ */ jsx(Dialog.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { color: "gray", variant: "outline", children: "\uB3CC\uC544\uAC00\uAE30" }) }),
178
+ /* @__PURE__ */ jsx(Dialog.Close, { children: /* @__PURE__ */ jsx(Button, { color: "red", onClick: onClickEndReview, children: "\uB098\uAC00\uAE30" }) })
179
+ ] }),
180
+ title: "\uC791\uC131\uC744 \uC911\uB2E8\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",
181
+ children: /* @__PURE__ */ jsx(Typo, { children: "\uD398\uC774\uC9C0\uC5D0\uC11C \uBC97\uC5B4\uB098\uBA74 \uC791\uC131\uD55C \uB0B4\uC6A9\uC774 \uC800\uC7A5\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4." })
182
+ }
183
+ ) })
184
+ ]
185
+ }
186
+ )
187
+ }
188
+ )
189
+ ] });
190
+ }
191
+ var curriculum_review_default = CurriculumReview;
192
+
193
+ export {
194
+ curriculum_review_default
195
+ };
196
+ //# sourceMappingURL=chunk-LLXJRWHR.js.map