@tipp/ui 2.3.16 → 2.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.cjs +429 -381
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +73 -71
- package/dist/app/platform/coach-question-list.cjs +78 -34
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +28 -27
- package/dist/app/platform/contents-card.cjs +110 -66
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +28 -27
- package/dist/app/platform/curriculum-card.cjs +60 -16
- package/dist/app/platform/curriculum-card.cjs.map +1 -1
- package/dist/app/platform/curriculum-card.js +4 -3
- package/dist/app/platform/edit-coaching-time.cjs +177 -129
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +59 -57
- package/dist/app/platform/edit-service-type.cjs +164 -116
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +59 -57
- package/dist/app/platform/goal-manage-card-edit.cjs +176 -128
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +60 -58
- package/dist/app/platform/goal-manage-card-read.cjs +108 -64
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +28 -27
- package/dist/app/platform/on-offline-radio-card.cjs +213 -165
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +59 -57
- package/dist/app/platform/report-card.cjs +81 -37
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +28 -27
- package/dist/app/platform/reservation-card.cjs +195 -147
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +60 -58
- package/dist/app/platform/session-card.cjs +228 -180
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +60 -58
- package/dist/app/platform/session-review-simple-read.cjs +79 -35
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +28 -27
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +112 -68
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +30 -29
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +89 -45
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +28 -27
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +92 -48
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +28 -27
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +78 -34
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +27 -26
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +88 -44
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +27 -26
- package/dist/app/platform/userInfos/utils.cjs +80 -36
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +27 -26
- package/dist/atoms/index.cjs +103 -59
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +62 -61
- package/dist/atoms/pagination.cjs +59 -15
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +2 -1
- package/dist/chunk-2CY3V3B4.js +69 -0
- package/dist/chunk-2CY3V3B4.js.map +1 -0
- package/dist/chunk-2EBAEQXE.js +87 -0
- package/dist/chunk-2EBAEQXE.js.map +1 -0
- package/dist/chunk-2ISIAPFS.js +113 -0
- package/dist/chunk-2ISIAPFS.js.map +1 -0
- package/dist/chunk-2ROIJPZE.js +98 -0
- package/dist/chunk-2ROIJPZE.js.map +1 -0
- package/dist/chunk-33TIGUGC.js +54 -0
- package/dist/chunk-33TIGUGC.js.map +1 -0
- package/dist/chunk-3A56IWTP.js +87 -0
- package/dist/chunk-3A56IWTP.js.map +1 -0
- package/dist/chunk-3FO4SXLV.js +89 -0
- package/dist/chunk-3FO4SXLV.js.map +1 -0
- package/dist/chunk-3FVLOOP5.js +29 -0
- package/dist/chunk-3FVLOOP5.js.map +1 -0
- package/dist/chunk-3HXEPDZB.js +100 -0
- package/dist/chunk-3HXEPDZB.js.map +1 -0
- package/dist/chunk-3J4UWGLD.js +98 -0
- package/dist/chunk-3J4UWGLD.js.map +1 -0
- package/dist/chunk-3LTTZSUP.js +49 -0
- package/dist/chunk-3LTTZSUP.js.map +1 -0
- package/dist/chunk-433LEYGO.js +87 -0
- package/dist/chunk-433LEYGO.js.map +1 -0
- package/dist/chunk-43ZKDWEH.js +29 -0
- package/dist/chunk-43ZKDWEH.js.map +1 -0
- package/dist/chunk-47HJ6LKL.js +196 -0
- package/dist/chunk-47HJ6LKL.js.map +1 -0
- package/dist/chunk-4DCGE5IL.js +89 -0
- package/dist/chunk-4DCGE5IL.js.map +1 -0
- package/dist/chunk-4OWD5ASM.js +51 -0
- package/dist/chunk-4OWD5ASM.js.map +1 -0
- package/dist/chunk-4PYFMD24.js +51 -0
- package/dist/chunk-4PYFMD24.js.map +1 -0
- package/dist/chunk-4QHXYLE4.js +151 -0
- package/dist/chunk-4QHXYLE4.js.map +1 -0
- package/dist/chunk-5PMDBUEZ.js +69 -0
- package/dist/chunk-5PMDBUEZ.js.map +1 -0
- package/dist/chunk-5R7XRWRW.js +155 -0
- package/dist/chunk-5R7XRWRW.js.map +1 -0
- package/dist/chunk-5TXKQPXT.js +49 -0
- package/dist/chunk-5TXKQPXT.js.map +1 -0
- package/dist/chunk-5V6MQUTB.js +49 -0
- package/dist/chunk-5V6MQUTB.js.map +1 -0
- package/dist/chunk-5ZA5HGOV.js +76 -0
- package/dist/chunk-5ZA5HGOV.js.map +1 -0
- package/dist/chunk-66YQSIUZ.js +107 -0
- package/dist/chunk-66YQSIUZ.js.map +1 -0
- package/dist/chunk-673WEFQW.js +89 -0
- package/dist/chunk-673WEFQW.js.map +1 -0
- package/dist/chunk-6AN7BUCG.js +69 -0
- package/dist/chunk-6AN7BUCG.js.map +1 -0
- package/dist/chunk-6DSXTUM4.js +63 -0
- package/dist/chunk-6DSXTUM4.js.map +1 -0
- package/dist/chunk-6F7SSDDP.js +89 -0
- package/dist/chunk-6F7SSDDP.js.map +1 -0
- package/dist/chunk-6FAIGS23.js +109 -0
- package/dist/chunk-6FAIGS23.js.map +1 -0
- package/dist/chunk-6JDYIMEZ.js +89 -0
- package/dist/chunk-6JDYIMEZ.js.map +1 -0
- package/dist/chunk-6KBRQPRR.js +69 -0
- package/dist/chunk-6KBRQPRR.js.map +1 -0
- package/dist/chunk-6RW7P4WL.js +101 -0
- package/dist/chunk-6RW7P4WL.js.map +1 -0
- package/dist/chunk-7BTOFCXZ.js +43 -0
- package/dist/chunk-7BTOFCXZ.js.map +1 -0
- package/dist/chunk-7I7PZF5L.js +37 -0
- package/dist/chunk-7I7PZF5L.js.map +1 -0
- package/dist/chunk-7L2LYGFN.js +63 -0
- package/dist/chunk-7L2LYGFN.js.map +1 -0
- package/dist/chunk-7L4G2RWC.js +87 -0
- package/dist/chunk-7L4G2RWC.js.map +1 -0
- package/dist/chunk-7LENR3ZR.js +89 -0
- package/dist/chunk-7LENR3ZR.js.map +1 -0
- package/dist/chunk-7RCPFSEJ.js +196 -0
- package/dist/chunk-7RCPFSEJ.js.map +1 -0
- package/dist/chunk-7VFY7CAB.js +51 -0
- package/dist/chunk-7VFY7CAB.js.map +1 -0
- package/dist/chunk-7ZQE47OG.js +37 -0
- package/dist/chunk-7ZQE47OG.js.map +1 -0
- package/dist/chunk-AE7SVVFB.js +98 -0
- package/dist/chunk-AE7SVVFB.js.map +1 -0
- package/dist/chunk-AOUSSOPS.js +101 -0
- package/dist/chunk-AOUSSOPS.js.map +1 -0
- package/dist/chunk-ASA3ASPM.js +196 -0
- package/dist/chunk-ASA3ASPM.js.map +1 -0
- package/dist/chunk-ATVRBFI6.js +151 -0
- package/dist/chunk-ATVRBFI6.js.map +1 -0
- package/dist/chunk-AVXNS5EF.js +43 -0
- package/dist/chunk-AVXNS5EF.js.map +1 -0
- package/dist/chunk-AZ2ZKABM.js +70 -0
- package/dist/chunk-AZ2ZKABM.js.map +1 -0
- package/dist/chunk-AZXSA373.js +43 -0
- package/dist/chunk-AZXSA373.js.map +1 -0
- package/dist/chunk-B554VE2V.js +69 -0
- package/dist/chunk-B554VE2V.js.map +1 -0
- package/dist/chunk-BJKYVO2J.js +70 -0
- package/dist/chunk-BJKYVO2J.js.map +1 -0
- package/dist/chunk-C6GXUQMB.js +196 -0
- package/dist/chunk-C6GXUQMB.js.map +1 -0
- package/dist/chunk-C6LHM344.js +151 -0
- package/dist/chunk-C6LHM344.js.map +1 -0
- package/dist/chunk-CGSZSM7C.js +89 -0
- package/dist/chunk-CGSZSM7C.js.map +1 -0
- package/dist/chunk-CIUVO5EU.js +63 -0
- package/dist/chunk-CIUVO5EU.js.map +1 -0
- package/dist/chunk-CLVBL2WX.js +37 -0
- package/dist/chunk-CLVBL2WX.js.map +1 -0
- package/dist/chunk-CNW3YEAK.js +43 -0
- package/dist/chunk-CNW3YEAK.js.map +1 -0
- package/dist/chunk-CWN3GVAR.js +69 -0
- package/dist/chunk-CWN3GVAR.js.map +1 -0
- package/dist/chunk-D7UF2EFC.js +151 -0
- package/dist/chunk-D7UF2EFC.js.map +1 -0
- package/dist/chunk-DCYZ6P5U.js +69 -0
- package/dist/chunk-DCYZ6P5U.js.map +1 -0
- package/dist/chunk-DETEQXCO.js +98 -0
- package/dist/chunk-DETEQXCO.js.map +1 -0
- package/dist/chunk-DINM4XGN.js +98 -0
- package/dist/chunk-DINM4XGN.js.map +1 -0
- package/dist/chunk-DIXAKAOM.js +196 -0
- package/dist/chunk-DIXAKAOM.js.map +1 -0
- package/dist/chunk-DXHCZ3GI.js +69 -0
- package/dist/chunk-DXHCZ3GI.js.map +1 -0
- package/dist/chunk-DZN6YSGV.js +49 -0
- package/dist/chunk-DZN6YSGV.js.map +1 -0
- package/dist/chunk-E3K4OMCC.js +101 -0
- package/dist/chunk-E3K4OMCC.js.map +1 -0
- package/dist/chunk-EKMOO3DM.js +98 -0
- package/dist/chunk-EKMOO3DM.js.map +1 -0
- package/dist/chunk-F4FDZOXM.js +63 -0
- package/dist/chunk-F4FDZOXM.js.map +1 -0
- package/dist/chunk-FVA7DTNU.js +151 -0
- package/dist/chunk-FVA7DTNU.js.map +1 -0
- package/dist/chunk-FVNNXMCQ.js +43 -0
- package/dist/chunk-FVNNXMCQ.js.map +1 -0
- package/dist/chunk-FYF4AUTB.js +29 -0
- package/dist/chunk-FYF4AUTB.js.map +1 -0
- package/dist/chunk-GGPI6PXW.js +29 -0
- package/dist/chunk-GGPI6PXW.js.map +1 -0
- package/dist/chunk-GKOAGSC6.js +69 -0
- package/dist/chunk-GKOAGSC6.js.map +1 -0
- package/dist/chunk-GLRPHCDU.js +196 -0
- package/dist/chunk-GLRPHCDU.js.map +1 -0
- package/dist/chunk-GRENUZZJ.js +118 -0
- package/dist/chunk-GRENUZZJ.js.map +1 -0
- package/dist/chunk-GVXAEMU7.js +37 -0
- package/dist/chunk-GVXAEMU7.js.map +1 -0
- package/dist/chunk-GXG26SHU.js +101 -0
- package/dist/chunk-GXG26SHU.js.map +1 -0
- package/dist/chunk-HN7RU3Q2.js +49 -0
- package/dist/chunk-HN7RU3Q2.js.map +1 -0
- package/dist/chunk-HWT72ESD.js +37 -0
- package/dist/chunk-HWT72ESD.js.map +1 -0
- package/dist/chunk-HZXF2XCN.js +196 -0
- package/dist/chunk-HZXF2XCN.js.map +1 -0
- package/dist/chunk-IZDZTVFJ.js +218 -0
- package/dist/chunk-IZDZTVFJ.js.map +1 -0
- package/dist/chunk-J2PWMTSF.js +69 -0
- package/dist/chunk-J2PWMTSF.js.map +1 -0
- package/dist/chunk-JAH4J4JH.js +87 -0
- package/dist/chunk-JAH4J4JH.js.map +1 -0
- package/dist/chunk-JFJ3N4V5.js +37 -0
- package/dist/chunk-JFJ3N4V5.js.map +1 -0
- package/dist/chunk-JJRJJOA7.js +89 -0
- package/dist/chunk-JJRJJOA7.js.map +1 -0
- package/dist/chunk-K2NRH6DC.js +69 -0
- package/dist/chunk-K2NRH6DC.js.map +1 -0
- package/dist/chunk-KIQLFTMO.js +196 -0
- package/dist/chunk-KIQLFTMO.js.map +1 -0
- package/dist/chunk-KKL4KSVD.js +196 -0
- package/dist/chunk-KKL4KSVD.js.map +1 -0
- package/dist/chunk-KKURA5QN.js +196 -0
- package/dist/chunk-KKURA5QN.js.map +1 -0
- package/dist/chunk-KM74N3OC.js +69 -0
- package/dist/chunk-KM74N3OC.js.map +1 -0
- package/dist/chunk-KMVSJT6Y.js +101 -0
- package/dist/chunk-KMVSJT6Y.js.map +1 -0
- package/dist/chunk-KUIQY5BF.js +196 -0
- package/dist/chunk-KUIQY5BF.js.map +1 -0
- package/dist/chunk-KUX6JRHA.js +29 -0
- package/dist/chunk-KUX6JRHA.js.map +1 -0
- package/dist/chunk-LIL4GUDU.js +51 -0
- package/dist/chunk-LIL4GUDU.js.map +1 -0
- package/dist/chunk-LIV5LHHZ.js +29 -0
- package/dist/chunk-LIV5LHHZ.js.map +1 -0
- package/dist/chunk-LT5C6QT7.js +29 -0
- package/dist/chunk-LT5C6QT7.js.map +1 -0
- package/dist/chunk-MA7NROB2.js +101 -0
- package/dist/chunk-MA7NROB2.js.map +1 -0
- package/dist/chunk-MIFCA3C4.js +43 -0
- package/dist/chunk-MIFCA3C4.js.map +1 -0
- package/dist/chunk-MKPHOH6Y.js +151 -0
- package/dist/chunk-MKPHOH6Y.js.map +1 -0
- package/dist/chunk-MV5LFNUD.js +113 -0
- package/dist/chunk-MV5LFNUD.js.map +1 -0
- package/dist/chunk-MXMJQTGJ.js +49 -0
- package/dist/chunk-MXMJQTGJ.js.map +1 -0
- package/dist/chunk-MZ5HA7UD.js +51 -0
- package/dist/chunk-MZ5HA7UD.js.map +1 -0
- package/dist/chunk-N3CYLSGV.js +69 -0
- package/dist/chunk-N3CYLSGV.js.map +1 -0
- package/dist/chunk-NAPAD66S.js +87 -0
- package/dist/chunk-NAPAD66S.js.map +1 -0
- package/dist/chunk-NKJNVAAZ.js +98 -0
- package/dist/chunk-NKJNVAAZ.js.map +1 -0
- package/dist/chunk-NSDB3FXC.js +145 -0
- package/dist/chunk-NSDB3FXC.js.map +1 -0
- package/dist/chunk-OD3RHKDX.js +69 -0
- package/dist/chunk-OD3RHKDX.js.map +1 -0
- package/dist/chunk-ODWBZCJ3.js +69 -0
- package/dist/chunk-ODWBZCJ3.js.map +1 -0
- package/dist/chunk-OITL4AZ5.js +29 -0
- package/dist/chunk-OITL4AZ5.js.map +1 -0
- package/dist/chunk-OXH6M7PN.js +113 -0
- package/dist/chunk-OXH6M7PN.js.map +1 -0
- package/dist/chunk-PAS4QBXU.js +89 -0
- package/dist/chunk-PAS4QBXU.js.map +1 -0
- package/dist/chunk-PEFP2QUH.js +76 -0
- package/dist/chunk-PEFP2QUH.js.map +1 -0
- package/dist/chunk-PTTZYXYN.js +112 -0
- package/dist/chunk-PTTZYXYN.js.map +1 -0
- package/dist/chunk-PUNFTQ4J.js +51 -0
- package/dist/chunk-PUNFTQ4J.js.map +1 -0
- package/dist/chunk-PWYQHCEU.js +151 -0
- package/dist/chunk-PWYQHCEU.js.map +1 -0
- package/dist/chunk-Q7AMZ7ES.js +70 -0
- package/dist/chunk-Q7AMZ7ES.js.map +1 -0
- package/dist/chunk-QAX3474A.js +98 -0
- package/dist/chunk-QAX3474A.js.map +1 -0
- package/dist/chunk-QBX3N5H3.js +87 -0
- package/dist/chunk-QBX3N5H3.js.map +1 -0
- package/dist/chunk-QCXP7DD2.js +101 -0
- package/dist/chunk-QCXP7DD2.js.map +1 -0
- package/dist/chunk-QRVC5CUS.js +89 -0
- package/dist/chunk-QRVC5CUS.js.map +1 -0
- package/dist/chunk-QVWUOHQL.js +76 -0
- package/dist/chunk-QVWUOHQL.js.map +1 -0
- package/dist/chunk-R3CV4M6X.js +89 -0
- package/dist/chunk-R3CV4M6X.js.map +1 -0
- package/dist/chunk-R3WM6HV6.js +43 -0
- package/dist/chunk-R3WM6HV6.js.map +1 -0
- package/dist/chunk-RYL2JHLX.js +63 -0
- package/dist/chunk-RYL2JHLX.js.map +1 -0
- package/dist/chunk-S2DCF4UO.js +151 -0
- package/dist/chunk-S2DCF4UO.js.map +1 -0
- package/dist/chunk-S3SPOFAV.js +101 -0
- package/dist/chunk-S3SPOFAV.js.map +1 -0
- package/dist/chunk-SBN6CBOQ.js +43 -0
- package/dist/chunk-SBN6CBOQ.js.map +1 -0
- package/dist/chunk-SEKTRCZY.js +69 -0
- package/dist/chunk-SEKTRCZY.js.map +1 -0
- package/dist/chunk-SGQUFHFZ.js +98 -0
- package/dist/chunk-SGQUFHFZ.js.map +1 -0
- package/dist/chunk-SI4Y7NUG.js +54 -0
- package/dist/chunk-SI4Y7NUG.js.map +1 -0
- package/dist/chunk-SOZOKRPG.js +37 -0
- package/dist/chunk-SOZOKRPG.js.map +1 -0
- package/dist/chunk-SXGEOZKS.js +69 -0
- package/dist/chunk-SXGEOZKS.js.map +1 -0
- package/dist/chunk-TDETCBEC.js +63 -0
- package/dist/chunk-TDETCBEC.js.map +1 -0
- package/dist/chunk-TF5J7FEI.js +87 -0
- package/dist/chunk-TF5J7FEI.js.map +1 -0
- package/dist/chunk-TLN5DVTY.js +69 -0
- package/dist/chunk-TLN5DVTY.js.map +1 -0
- package/dist/chunk-TTXQOCS6.js +43 -0
- package/dist/chunk-TTXQOCS6.js.map +1 -0
- package/dist/chunk-U6HYOR36.js +51 -0
- package/dist/chunk-U6HYOR36.js.map +1 -0
- package/dist/chunk-UE3FIEY3.js +69 -0
- package/dist/chunk-UE3FIEY3.js.map +1 -0
- package/dist/chunk-UGWOWCEK.js +43 -0
- package/dist/chunk-UGWOWCEK.js.map +1 -0
- package/dist/chunk-ULFPO4H7.js +196 -0
- package/dist/chunk-ULFPO4H7.js.map +1 -0
- package/dist/chunk-UOYMF4WS.js +107 -0
- package/dist/chunk-UOYMF4WS.js.map +1 -0
- package/dist/chunk-UUB73FYC.js +49 -0
- package/dist/chunk-UUB73FYC.js.map +1 -0
- package/dist/chunk-UUHY3PR3.js +98 -0
- package/dist/chunk-UUHY3PR3.js.map +1 -0
- package/dist/chunk-V6RS23EX.js +29 -0
- package/dist/chunk-V6RS23EX.js.map +1 -0
- package/dist/chunk-V6XWXDT4.js +37 -0
- package/dist/chunk-V6XWXDT4.js.map +1 -0
- package/dist/chunk-VD7AQ7HK.js +1 -0
- package/dist/chunk-VD7AQ7HK.js.map +1 -0
- package/dist/chunk-VKH2GRVW.js +51 -0
- package/dist/chunk-VKH2GRVW.js.map +1 -0
- package/dist/chunk-VNZHG4SW.js +87 -0
- package/dist/chunk-VNZHG4SW.js.map +1 -0
- package/dist/chunk-VOYMZLUT.js +63 -0
- package/dist/chunk-VOYMZLUT.js.map +1 -0
- package/dist/chunk-VQIFL36B.js +64 -0
- package/dist/chunk-VQIFL36B.js.map +1 -0
- package/dist/chunk-VURIR6ZF.js +49 -0
- package/dist/chunk-VURIR6ZF.js.map +1 -0
- package/dist/chunk-VVIP5637.js +69 -0
- package/dist/chunk-VVIP5637.js.map +1 -0
- package/dist/chunk-W7TBPRHG.js +49 -0
- package/dist/chunk-W7TBPRHG.js.map +1 -0
- package/dist/chunk-W7XWZ6SN.js +101 -0
- package/dist/chunk-W7XWZ6SN.js.map +1 -0
- package/dist/chunk-WCGSHMNB.js +101 -0
- package/dist/chunk-WCGSHMNB.js.map +1 -0
- package/dist/chunk-WL7ISOGQ.js +87 -0
- package/dist/chunk-WL7ISOGQ.js.map +1 -0
- package/dist/chunk-WLWX7BLC.js +100 -0
- package/dist/chunk-WLWX7BLC.js.map +1 -0
- package/dist/chunk-WXVBUIER.js +151 -0
- package/dist/chunk-WXVBUIER.js.map +1 -0
- package/dist/chunk-XBQFTL5A.js +63 -0
- package/dist/chunk-XBQFTL5A.js.map +1 -0
- package/dist/chunk-XEO5X47M.js +100 -0
- package/dist/chunk-XEO5X47M.js.map +1 -0
- package/dist/chunk-XPLUHKTF.js +69 -0
- package/dist/chunk-XPLUHKTF.js.map +1 -0
- package/dist/chunk-XXTLEX6M.js +63 -0
- package/dist/chunk-XXTLEX6M.js.map +1 -0
- package/dist/chunk-XYREOBSI.js +113 -0
- package/dist/chunk-XYREOBSI.js.map +1 -0
- package/dist/chunk-Y6J3XHWD.js +63 -0
- package/dist/chunk-Y6J3XHWD.js.map +1 -0
- package/dist/chunk-Y7SJF3Y3.js +193 -0
- package/dist/chunk-Y7SJF3Y3.js.map +1 -0
- package/dist/chunk-YE3UDMTZ.js +151 -0
- package/dist/chunk-YE3UDMTZ.js.map +1 -0
- package/dist/chunk-YJAL2LL6.js +49 -0
- package/dist/chunk-YJAL2LL6.js.map +1 -0
- package/dist/chunk-YO7TEJ74.js +63 -0
- package/dist/chunk-YO7TEJ74.js.map +1 -0
- package/dist/chunk-YTOZKF27.js +37 -0
- package/dist/chunk-YTOZKF27.js.map +1 -0
- package/dist/chunk-YVRTZDZ4.js +37 -0
- package/dist/chunk-YVRTZDZ4.js.map +1 -0
- package/dist/chunk-YWTFVF5S.js +98 -0
- package/dist/chunk-YWTFVF5S.js.map +1 -0
- package/dist/chunk-YZZCJCCC.js +51 -0
- package/dist/chunk-YZZCJCCC.js.map +1 -0
- package/dist/chunk-Z2NFJG2U.js +51 -0
- package/dist/chunk-Z2NFJG2U.js.map +1 -0
- package/dist/chunk-ZRMH2UZE.js +29 -0
- package/dist/chunk-ZRMH2UZE.js.map +1 -0
- package/dist/chunk-ZWEBBDKU.js +69 -0
- package/dist/chunk-ZWEBBDKU.js.map +1 -0
- package/dist/context/index.js +1 -1
- package/dist/icon.cjs +46 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +1 -0
- package/dist/icon.d.ts +1 -0
- package/dist/icon.js +5 -1
- package/dist/icons/circle-file.cjs +111 -0
- package/dist/icons/circle-file.cjs.map +1 -0
- package/dist/icons/circle-file.d.cts +6 -0
- package/dist/icons/circle-file.d.ts +6 -0
- package/dist/icons/circle-file.js +8 -0
- package/dist/icons/circle-file.js.map +1 -0
- package/dist/icons/index.cjs +46 -0
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +1 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +5 -1
- package/dist/index.cjs +903 -751
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +136 -131
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +112 -65
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +13 -12
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +54 -7
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +92 -45
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +11 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +53 -9
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +2 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +66 -19
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +58 -11
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +58 -11
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +65 -18
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +7 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +58 -14
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +2 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +168 -121
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +16 -15
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +70 -23
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +5 -4
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +51 -7
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.cjs +249 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.cjs.map +1 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.d.cts +9 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.d.ts +9 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js +14 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js.map +1 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +186 -139
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +18 -17
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +287 -179
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +21 -19
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +61 -12
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +80 -31
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +9 -8
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +72 -23
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +6 -5
- package/dist/molecules/curriculumV2/curriculum-context.cjs +44 -4
- package/dist/molecules/curriculumV2/curriculum-context.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-context.d.cts +4 -2
- package/dist/molecules/curriculumV2/curriculum-context.d.ts +4 -2
- package/dist/molecules/curriculumV2/curriculum-context.js +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +57 -13
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +4 -3
- package/dist/molecules/curriculumV2/index.cjs +378 -228
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +30 -28
- package/dist/molecules/date-picker/date-picker-button.cjs +70 -26
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +2 -1
- package/dist/molecules/date-picker/index.cjs +61 -17
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +2 -1
- package/dist/molecules/description-json-render.cjs +52 -8
- package/dist/molecules/description-json-render.cjs.map +1 -1
- package/dist/molecules/description-json-render.js +4 -3
- package/dist/molecules/dynamic-field.js +1 -1
- package/dist/molecules/dynamic-form.js +1 -1
- package/dist/molecules/expand-table/index.cjs +84 -40
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +3 -2
- package/dist/molecules/index.cjs +654 -504
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +61 -59
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/stepper.cjs +64 -20
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +4 -3
- package/dist/molecules/tag-selector.cjs +64 -20
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +5 -4
- package/dist/molecules/time-select.cjs +49 -5
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +2 -1
- package/dist/types/curriculumContents.type.cjs.map +1 -1
- package/dist/types/curriculumContents.type.d.cts +13 -2
- package/dist/types/curriculumContents.type.d.ts +13 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/curriculum.utils.cjs +51 -2
- package/dist/utils/curriculum.utils.cjs.map +1 -1
- package/dist/utils/curriculum.utils.d.cts +1 -0
- package/dist/utils/curriculum.utils.d.ts +1 -0
- package/dist/utils/curriculum.utils.js +3 -2
- package/dist/utils/getCalloutIconComponent.cjs +44 -0
- package/dist/utils/getCalloutIconComponent.cjs.map +1 -1
- package/dist/utils/getCalloutIconComponent.js +2 -1
- package/dist/utils/index.cjs +44 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +2 -1
- package/package.json +1 -1
- package/src/constrant/curriculum.schema.json +34 -1
- package/src/icons/circle-file.tsx +35 -0
- package/src/icons/index.ts +2 -1
- package/src/molecules/curriculumV2/CurriculumContents/curriculum-file-download.tsx +84 -0
- package/src/molecules/curriculumV2/CurriculumContents/index.tsx +5 -2
- package/src/molecules/curriculumV2/curriculum-context.tsx +74 -7
- package/src/types/curriculumContents.type.ts +12 -0
- package/src/utils/curriculum.utils.ts +10 -4
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ReviewQuestionContentHeader
|
|
3
|
+
} from "./chunk-R3WM6HV6.js";
|
|
4
|
+
import {
|
|
5
|
+
TextArea
|
|
6
|
+
} from "./chunk-5XYPLDI5.js";
|
|
7
|
+
import {
|
|
8
|
+
Grid
|
|
9
|
+
} from "./chunk-EGEQY3KT.js";
|
|
10
|
+
import {
|
|
11
|
+
Callout
|
|
12
|
+
} from "./chunk-B6XJN6EC.js";
|
|
13
|
+
import {
|
|
14
|
+
Card
|
|
15
|
+
} from "./chunk-RP2RGCAW.js";
|
|
16
|
+
import {
|
|
17
|
+
Box
|
|
18
|
+
} from "./chunk-4Y5BEXVN.js";
|
|
19
|
+
import {
|
|
20
|
+
BellIcon
|
|
21
|
+
} from "./chunk-W5TPOFOO.js";
|
|
22
|
+
import {
|
|
23
|
+
Typo
|
|
24
|
+
} from "./chunk-PMJIFLDT.js";
|
|
25
|
+
|
|
26
|
+
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.tsx
|
|
27
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
28
|
+
function ReviewQuestionText(props) {
|
|
29
|
+
const { question, answer, onChange } = props;
|
|
30
|
+
const minLengthNotMet = question.minLength && answer.length < question.minLength;
|
|
31
|
+
const remainingLength = question.minLength && answer.length < question.minLength ? question.minLength - answer.length : 0;
|
|
32
|
+
return /* @__PURE__ */ jsx(
|
|
33
|
+
Card,
|
|
34
|
+
{
|
|
35
|
+
size: "2",
|
|
36
|
+
style: {
|
|
37
|
+
width: "100%",
|
|
38
|
+
height: "100%"
|
|
39
|
+
},
|
|
40
|
+
children: /* @__PURE__ */ jsxs(Grid, { height: "100%", rows: "1fr auto", children: [
|
|
41
|
+
/* @__PURE__ */ jsxs(Grid, { height: "100%", rows: "auto 1fr", width: "100%", children: [
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
ReviewQuestionContentHeader,
|
|
44
|
+
{
|
|
45
|
+
icon: question.icon,
|
|
46
|
+
question: question.question,
|
|
47
|
+
title: question.title,
|
|
48
|
+
type: question.type
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
/* @__PURE__ */ jsx(
|
|
52
|
+
TextArea,
|
|
53
|
+
{
|
|
54
|
+
mt: "2",
|
|
55
|
+
onChange: (e) => {
|
|
56
|
+
onChange(e.target.value);
|
|
57
|
+
},
|
|
58
|
+
placeholder: question.placeholder,
|
|
59
|
+
value: answer
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
] }),
|
|
63
|
+
minLengthNotMet ? /* @__PURE__ */ jsxs(Box, { mt: "2", children: [
|
|
64
|
+
/* @__PURE__ */ jsx(Typo, { align: "right", as: "p", color: "red", variant: "caption", children: `${remainingLength}\uC790 \uB354 \uC791\uC131\uD574\uC8FC\uC138\uC694.` }),
|
|
65
|
+
question.minLengthInfoMessage ? /* @__PURE__ */ jsxs(
|
|
66
|
+
Callout.Root,
|
|
67
|
+
{
|
|
68
|
+
color: "iris",
|
|
69
|
+
mt: "2",
|
|
70
|
+
style: { alignItems: "center" },
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ jsx(Callout.Icon, { children: /* @__PURE__ */ jsx(BellIcon, {}) }),
|
|
73
|
+
/* @__PURE__ */ jsx(Callout.Text, { children: /* @__PURE__ */ jsx(Typo, { as: "p", variant: "caption", children: question.minLengthInfoMessage }) })
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
) : null
|
|
77
|
+
] }) : null
|
|
78
|
+
] })
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
var review_question_text_default = ReviewQuestionText;
|
|
83
|
+
|
|
84
|
+
export {
|
|
85
|
+
review_question_text_default
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=chunk-NAPAD66S.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.tsx"],"sourcesContent":["import React from 'react';\nimport { Box } from '@/atoms/box';\nimport { Card } from '@/atoms/card';\nimport { Grid } from '@/atoms/grid';\nimport { TextArea } from '@/atoms/text-area';\nimport { Typo } from '@/atoms/typo';\nimport { BellIcon } from '@/icon';\nimport { type CurriculumReviewQuestionText } from '@/types/curriculumContents.type';\nimport { Callout } from '@/atoms/call-out';\nimport { ReviewQuestionContentHeader } from './review-comp';\n\ninterface ReviewQuestionTextProps {\n question: CurriculumReviewQuestionText;\n answer: string;\n error?: string;\n onChange: (value: string) => void;\n}\n\nfunction ReviewQuestionText(props: ReviewQuestionTextProps): React.ReactNode {\n const { question, answer, onChange } = props;\n\n const minLengthNotMet =\n question.minLength && answer.length < question.minLength;\n\n const remainingLength =\n question.minLength && answer.length < question.minLength\n ? question.minLength - answer.length\n : 0;\n\n return (\n <Card\n size=\"2\"\n style={{\n width: '100%',\n height: '100%',\n }}\n >\n <Grid height=\"100%\" rows=\"1fr auto\">\n <Grid height=\"100%\" rows=\"auto 1fr\" width=\"100%\">\n <ReviewQuestionContentHeader\n icon={question.icon}\n question={question.question}\n title={question.title}\n type={question.type}\n />\n\n <TextArea\n mt=\"2\"\n onChange={(e) => {\n onChange(e.target.value);\n }}\n placeholder={question.placeholder}\n value={answer}\n />\n </Grid>\n {minLengthNotMet ? (\n <Box mt=\"2\">\n <Typo align=\"right\" as=\"p\" color=\"red\" variant=\"caption\">\n {`${remainingLength}자 더 작성해주세요.`}\n </Typo>\n {question.minLengthInfoMessage ? (\n <Callout.Root\n color=\"iris\"\n mt=\"2\"\n style={{ alignItems: 'center' }}\n >\n <Callout.Icon>\n <BellIcon />\n </Callout.Icon>\n <Callout.Text>\n <Typo as=\"p\" variant=\"caption\">\n {question.minLengthInfoMessage}\n </Typo>\n </Callout.Text>\n </Callout.Root>\n ) : null}\n </Box>\n ) : null}\n </Grid>\n </Card>\n );\n}\n\nexport default ReviewQuestionText;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsCQ,SACE,KADF;AApBR,SAAS,mBAAmB,OAAiD;AAC3E,QAAM,EAAE,UAAU,QAAQ,SAAS,IAAI;AAEvC,QAAM,kBACJ,SAAS,aAAa,OAAO,SAAS,SAAS;AAEjD,QAAM,kBACJ,SAAS,aAAa,OAAO,SAAS,SAAS,YAC3C,SAAS,YAAY,OAAO,SAC5B;AAEN,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,OAAO;AAAA,QACL,OAAO;AAAA,QACP,QAAQ;AAAA,MACV;AAAA,MAEA,+BAAC,QAAK,QAAO,QAAO,MAAK,YACvB;AAAA,6BAAC,QAAK,QAAO,QAAO,MAAK,YAAW,OAAM,QACxC;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,MAAM,SAAS;AAAA,cACf,UAAU,SAAS;AAAA,cACnB,OAAO,SAAS;AAAA,cAChB,MAAM,SAAS;AAAA;AAAA,UACjB;AAAA,UAEA;AAAA,YAAC;AAAA;AAAA,cACC,IAAG;AAAA,cACH,UAAU,CAAC,MAAM;AACf,yBAAS,EAAE,OAAO,KAAK;AAAA,cACzB;AAAA,cACA,aAAa,SAAS;AAAA,cACtB,OAAO;AAAA;AAAA,UACT;AAAA,WACF;AAAA,QACC,kBACC,qBAAC,OAAI,IAAG,KACN;AAAA,8BAAC,QAAK,OAAM,SAAQ,IAAG,KAAI,OAAM,OAAM,SAAQ,WAC5C,aAAG,eAAe,uDACrB;AAAA,UACC,SAAS,uBACR;AAAA,YAAC,QAAQ;AAAA,YAAR;AAAA,cACC,OAAM;AAAA,cACN,IAAG;AAAA,cACH,OAAO,EAAE,YAAY,SAAS;AAAA,cAE9B;AAAA,oCAAC,QAAQ,MAAR,EACC,8BAAC,YAAS,GACZ;AAAA,gBACA,oBAAC,QAAQ,MAAR,EACC,8BAAC,QAAK,IAAG,KAAI,SAAQ,WAClB,mBAAS,sBACZ,GACF;AAAA;AAAA;AAAA,UACF,IACE;AAAA,WACN,IACE;AAAA,SACN;AAAA;AAAA,EACF;AAEJ;AAEA,IAAO,+BAAQ;","names":[]}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import {
|
|
2
|
+
sidebar_item_default
|
|
3
|
+
} from "./chunk-LIL4GUDU.js";
|
|
4
|
+
import {
|
|
5
|
+
useCurriculumContext
|
|
6
|
+
} from "./chunk-5R7XRWRW.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 { useMemo } from "react";
|
|
19
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
20
|
+
var TAB_LIST = [
|
|
21
|
+
{
|
|
22
|
+
label: "\uAC15\uC758 \uBAA9\uCC28",
|
|
23
|
+
value: "curriculum"
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
var TABS_LIST_STYLE = {
|
|
27
|
+
padding: "0 var(--space-3)"
|
|
28
|
+
};
|
|
29
|
+
var TABS_CONTENT_STYLE = {
|
|
30
|
+
position: "absolute",
|
|
31
|
+
height: "100%",
|
|
32
|
+
width: "100%"
|
|
33
|
+
};
|
|
34
|
+
function CurriculumSidebar() {
|
|
35
|
+
const {
|
|
36
|
+
curriculum,
|
|
37
|
+
selectedIndex,
|
|
38
|
+
setSelectedIndex,
|
|
39
|
+
scrollAreaRef,
|
|
40
|
+
curriculumCompleteMap,
|
|
41
|
+
customTabs
|
|
42
|
+
} = useCurriculumContext();
|
|
43
|
+
const list = curriculum.contents.list;
|
|
44
|
+
const tabList = useMemo(() => {
|
|
45
|
+
return [...TAB_LIST, ...customTabs != null ? customTabs : []];
|
|
46
|
+
}, [customTabs]);
|
|
47
|
+
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: [
|
|
48
|
+
/* @__PURE__ */ jsx(Tabs.List, { style: TABS_LIST_STYLE, children: tabList.map((tab) => /* @__PURE__ */ jsx(Tabs.Trigger, { value: tab.value, children: tab.label }, tab.value)) }),
|
|
49
|
+
/* @__PURE__ */ jsxs(
|
|
50
|
+
Box,
|
|
51
|
+
{
|
|
52
|
+
height: "100%",
|
|
53
|
+
overflowY: "auto",
|
|
54
|
+
position: "relative",
|
|
55
|
+
ref: scrollAreaRef,
|
|
56
|
+
width: "100%",
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ jsxs(
|
|
59
|
+
Tabs.Content,
|
|
60
|
+
{
|
|
61
|
+
style: TABS_CONTENT_STYLE,
|
|
62
|
+
value: TAB_LIST[0].value,
|
|
63
|
+
children: [
|
|
64
|
+
list.map((item, index) => /* @__PURE__ */ jsx(
|
|
65
|
+
sidebar_item_default,
|
|
66
|
+
{
|
|
67
|
+
done: curriculumCompleteMap[item.uuid],
|
|
68
|
+
index,
|
|
69
|
+
item,
|
|
70
|
+
selectedIndex,
|
|
71
|
+
setSelectedIndex
|
|
72
|
+
},
|
|
73
|
+
item.uuid
|
|
74
|
+
)),
|
|
75
|
+
/* @__PURE__ */ jsx(Box, { height: "150px" })
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
TAB_LIST[0].value
|
|
79
|
+
),
|
|
80
|
+
customTabs == null ? void 0 : customTabs.map((tab) => /* @__PURE__ */ jsx(
|
|
81
|
+
Tabs.Content,
|
|
82
|
+
{
|
|
83
|
+
style: TABS_CONTENT_STYLE,
|
|
84
|
+
value: tab.value,
|
|
85
|
+
children: tab.content
|
|
86
|
+
},
|
|
87
|
+
tab.value
|
|
88
|
+
))
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
] }) });
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export {
|
|
96
|
+
CurriculumSidebar
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=chunk-NKJNVAAZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/molecules/curriculumV2/CurriculumSidebar/index.tsx"],"sourcesContent":["import React, { useMemo } 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];\n\nconst TABS_LIST_STYLE: React.CSSProperties = {\n padding: '0 var(--space-3)',\n};\n\nconst TABS_CONTENT_STYLE: React.CSSProperties = {\n position: 'absolute',\n height: '100%',\n width: '100%',\n};\n\n\nexport function CurriculumSidebar(): React.ReactNode {\n const {\n curriculum,\n selectedIndex,\n setSelectedIndex,\n scrollAreaRef,\n curriculumCompleteMap,\n customTabs,\n } = useCurriculumContext();\n const list = curriculum.contents.list;\n\n const tabList = useMemo(() => {\n return [...TAB_LIST, ...(customTabs ?? [])];\n }, [customTabs]);\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={TABS_LIST_STYLE}>\n {tabList.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 key={TAB_LIST[0].value}\n style={TABS_CONTENT_STYLE}\n value={TAB_LIST[0].value}\n >\n {list.map((item, index) => (\n <SidebarItem\n done={curriculumCompleteMap[item.uuid]}\n index={index}\n item={item}\n key={item.uuid}\n selectedIndex={selectedIndex}\n setSelectedIndex={setSelectedIndex}\n />\n ))}\n <Box height=\"150px\" />\n </Tabs.Content>\n {customTabs?.map((tab) => (\n <Tabs.Content\n key={tab.value}\n style={TABS_CONTENT_STYLE}\n value={tab.value}\n >\n {tab.content}\n </Tabs.Content>\n ))}\n </Box>\n </Grid>\n </Tabs.Root>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAgB,eAAe;AA6CnB,cAYF,YAZE;AAtCZ,IAAM,WAAW;AAAA,EACf;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AACF;AAEA,IAAM,kBAAuC;AAAA,EAC3C,SAAS;AACX;AAEA,IAAM,qBAA0C;AAAA,EAC9C,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AACT;AAGO,SAAS,oBAAqC;AACnD,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI,qBAAqB;AACzB,QAAM,OAAO,WAAW,SAAS;AAEjC,QAAM,UAAU,QAAQ,MAAM;AAC5B,WAAO,CAAC,GAAG,UAAU,GAAI,kCAAc,CAAC,CAAE;AAAA,EAC5C,GAAG,CAAC,UAAU,CAAC;AAEf,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,iBACf,kBAAQ,IAAI,CAAC,QACZ,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;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cAEC,OAAO;AAAA,cACP,OAAO,SAAS,CAAC,EAAE;AAAA,cAElB;AAAA,qBAAK,IAAI,CAAC,MAAM,UACf;AAAA,kBAAC;AAAA;AAAA,oBACC,MAAM,sBAAsB,KAAK,IAAI;AAAA,oBACrC;AAAA,oBACA;AAAA,oBAEA;AAAA,oBACA;AAAA;AAAA,kBAFK,KAAK;AAAA,gBAGZ,CACD;AAAA,gBACD,oBAAC,OAAI,QAAO,SAAQ;AAAA;AAAA;AAAA,YAdf,SAAS,CAAC,EAAE;AAAA,UAenB;AAAA,UACC,yCAAY,IAAI,CAAC,QAChB;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cAEC,OAAO;AAAA,cACP,OAAO,IAAI;AAAA,cAEV,cAAI;AAAA;AAAA,YAJA,IAAI;AAAA,UAKX;AAAA;AAAA;AAAA,IAEJ;AAAA,KACF,GACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TextArea
|
|
3
|
+
} from "./chunk-5XYPLDI5.js";
|
|
4
|
+
import {
|
|
5
|
+
TextField
|
|
6
|
+
} from "./chunk-6NPTJBFE.js";
|
|
7
|
+
import {
|
|
8
|
+
RadioGroup
|
|
9
|
+
} from "./chunk-6DJOIRMF.js";
|
|
10
|
+
import {
|
|
11
|
+
Select
|
|
12
|
+
} from "./chunk-X2GMDZ7M.js";
|
|
13
|
+
import {
|
|
14
|
+
Flex
|
|
15
|
+
} from "./chunk-25HMMI7R.js";
|
|
16
|
+
import {
|
|
17
|
+
CheckboxGroup
|
|
18
|
+
} from "./chunk-W7X7KSJP.js";
|
|
19
|
+
import {
|
|
20
|
+
Checkbox
|
|
21
|
+
} from "./chunk-VYCYVN3L.js";
|
|
22
|
+
import {
|
|
23
|
+
useDynamicForm
|
|
24
|
+
} from "./chunk-NCSMSA3X.js";
|
|
25
|
+
import {
|
|
26
|
+
Typo
|
|
27
|
+
} from "./chunk-PMJIFLDT.js";
|
|
28
|
+
import {
|
|
29
|
+
__spreadProps,
|
|
30
|
+
__spreadValues
|
|
31
|
+
} from "./chunk-CRTRMMJ7.js";
|
|
32
|
+
|
|
33
|
+
// src/molecules/dynamic-field.tsx
|
|
34
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
35
|
+
function DynamicFormField({
|
|
36
|
+
field
|
|
37
|
+
}) {
|
|
38
|
+
const {
|
|
39
|
+
getFieldValue,
|
|
40
|
+
getFieldError,
|
|
41
|
+
getFieldTouched,
|
|
42
|
+
setFieldValue,
|
|
43
|
+
handleChange,
|
|
44
|
+
handleBlur,
|
|
45
|
+
readonly
|
|
46
|
+
} = useDynamicForm();
|
|
47
|
+
const { name, type } = field;
|
|
48
|
+
const value = getFieldValue(name);
|
|
49
|
+
const error = getFieldError(name);
|
|
50
|
+
const touched = getFieldTouched(name);
|
|
51
|
+
const hasError = Boolean(error && touched);
|
|
52
|
+
const commonProps = {
|
|
53
|
+
name,
|
|
54
|
+
value: String(value || ""),
|
|
55
|
+
onChange: readonly ? void 0 : handleChange,
|
|
56
|
+
onBlur: readonly ? void 0 : handleBlur,
|
|
57
|
+
error: hasError,
|
|
58
|
+
disabled: readonly
|
|
59
|
+
};
|
|
60
|
+
switch (type) {
|
|
61
|
+
case "short_text":
|
|
62
|
+
case "email":
|
|
63
|
+
return /* @__PURE__ */ jsx(
|
|
64
|
+
TextField.Root,
|
|
65
|
+
__spreadProps(__spreadValues({}, commonProps), {
|
|
66
|
+
placeholder: field.placeholder,
|
|
67
|
+
type: type === "short_text" ? "text" : type
|
|
68
|
+
})
|
|
69
|
+
);
|
|
70
|
+
case "number":
|
|
71
|
+
return /* @__PURE__ */ jsx(
|
|
72
|
+
TextField.Root,
|
|
73
|
+
__spreadProps(__spreadValues({}, commonProps), {
|
|
74
|
+
inputMode: "numeric",
|
|
75
|
+
pattern: "[0-9]*",
|
|
76
|
+
placeholder: field.placeholder,
|
|
77
|
+
type: "number"
|
|
78
|
+
})
|
|
79
|
+
);
|
|
80
|
+
case "long_text":
|
|
81
|
+
return /* @__PURE__ */ jsx(TextArea, __spreadProps(__spreadValues({ rows: 4 }, commonProps), { placeholder: field.placeholder }));
|
|
82
|
+
case "dropdown":
|
|
83
|
+
return /* @__PURE__ */ jsxs(
|
|
84
|
+
Select.Root,
|
|
85
|
+
{
|
|
86
|
+
disabled: readonly,
|
|
87
|
+
onValueChange: readonly ? void 0 : (newValue) => {
|
|
88
|
+
void setFieldValue(name, newValue);
|
|
89
|
+
},
|
|
90
|
+
value,
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ jsx(Select.Trigger, { placeholder: field.placeholder }),
|
|
93
|
+
/* @__PURE__ */ jsx(Select.Content, { children: field.options.map((option) => /* @__PURE__ */ jsx(Select.Item, { value: String(option.value), children: option.label }, option.value)) })
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
case "choice":
|
|
98
|
+
return /* @__PURE__ */ jsx(
|
|
99
|
+
RadioGroup.Root,
|
|
100
|
+
{
|
|
101
|
+
disabled: readonly,
|
|
102
|
+
onValueChange: readonly ? void 0 : (newValue) => {
|
|
103
|
+
void setFieldValue(name, newValue);
|
|
104
|
+
},
|
|
105
|
+
orientation: field.orientation,
|
|
106
|
+
value: String(value || ""),
|
|
107
|
+
children: field.options.map((option) => /* @__PURE__ */ jsx(RadioGroup.Item, { value: String(option.value), children: option.label }, option.value))
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
case "choices":
|
|
111
|
+
return /* @__PURE__ */ jsx(
|
|
112
|
+
CheckboxGroup.Root,
|
|
113
|
+
{
|
|
114
|
+
disabled: readonly,
|
|
115
|
+
onValueChange: readonly ? void 0 : (newValue) => {
|
|
116
|
+
void setFieldValue(name, newValue);
|
|
117
|
+
},
|
|
118
|
+
orientation: field.orientation,
|
|
119
|
+
value: Array.isArray(value) ? value.map(String) : [],
|
|
120
|
+
children: field.options.map((option) => /* @__PURE__ */ jsx(CheckboxGroup.Item, { value: String(option.value), children: option.label }, option.value))
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
case "yes_no":
|
|
124
|
+
return /* @__PURE__ */ jsxs(Flex, { gap: "2", children: [
|
|
125
|
+
/* @__PURE__ */ jsx(
|
|
126
|
+
Checkbox,
|
|
127
|
+
{
|
|
128
|
+
checked: Boolean(value),
|
|
129
|
+
disabled: readonly,
|
|
130
|
+
onCheckedChange: readonly ? void 0 : (checked) => {
|
|
131
|
+
void setFieldValue(name, checked);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
),
|
|
135
|
+
field.description ? /* @__PURE__ */ jsx(Typo, { color: "gray", variant: "caption", children: field.description }) : null
|
|
136
|
+
] });
|
|
137
|
+
default:
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export {
|
|
143
|
+
DynamicFormField
|
|
144
|
+
};
|
|
145
|
+
//# sourceMappingURL=chunk-NSDB3FXC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/molecules/dynamic-field.tsx"],"sourcesContent":["\nimport { Flex } from '@/atoms/flex';\nimport { Typo } from '@/atoms/typo';\nimport { useDynamicForm } from '../context/dynamic-form-context';\nimport { TextField } from '../atoms/text-field';\nimport { TextArea } from '../atoms/text-area';\nimport { Select } from '../atoms/select';\nimport { CheckboxGroup } from '../atoms/check-box-group';\nimport { RadioGroup } from '../atoms/radio-group';\nimport { Checkbox } from '../atoms/check-box';\nimport type { DynamicFormFieldSchema } from '../types/dynamic-form-schema-generated';\n\ninterface DynamicFormFieldRendererProps {\n field: DynamicFormFieldSchema;\n}\n\nexport function DynamicFormField({\n field,\n}: DynamicFormFieldRendererProps): React.ReactElement | null {\n const {\n getFieldValue,\n getFieldError,\n getFieldTouched,\n setFieldValue,\n handleChange,\n handleBlur,\n readonly,\n } = useDynamicForm();\n const { name, type } = field;\n\n const value = getFieldValue(name);\n const error = getFieldError(name);\n const touched = getFieldTouched(name);\n const hasError = Boolean(error && touched);\n\n const commonProps = {\n name,\n value: String(value || ''),\n onChange: readonly ? undefined : handleChange,\n onBlur: readonly ? undefined : handleBlur,\n error: hasError,\n disabled: readonly,\n };\n\n switch (type) {\n case 'short_text':\n case 'email':\n return (\n <TextField.Root \n {...commonProps} \n placeholder={field.placeholder}\n type={type === 'short_text' ? 'text' : type}\n />\n );\n case 'number':\n return (\n <TextField.Root\n {...commonProps}\n inputMode=\"numeric\"\n pattern=\"[0-9]*\"\n placeholder={field.placeholder}\n type=\"number\"\n />\n );\n case 'long_text':\n return <TextArea rows={4} {...commonProps} placeholder={field.placeholder} />;\n\n case 'dropdown':\n return (\n <Select.Root\n disabled={readonly}\n onValueChange={readonly ? undefined : (newValue: string) => {\n void setFieldValue(name, newValue);\n }}\n value={value as string}\n >\n <Select.Trigger placeholder={field.placeholder} />\n <Select.Content>\n {field.options.map((option) => (\n <Select.Item key={option.value} value={String(option.value)}>\n {option.label}\n </Select.Item>\n ))}\n </Select.Content>\n </Select.Root>\n );\n\n case 'choice':\n return (\n <RadioGroup.Root\n disabled={readonly}\n onValueChange={readonly ? undefined : (newValue: string) => {\n void setFieldValue(name, newValue);\n }}\n orientation={field.orientation}\n value={String(value || '')}\n >\n {field.options.map((option) => (\n <RadioGroup.Item key={option.value} value={String(option.value)}>\n {option.label}\n </RadioGroup.Item>\n ))}\n </RadioGroup.Root>\n );\n\n case 'choices':\n return (\n <CheckboxGroup.Root\n disabled={readonly}\n onValueChange={readonly ? undefined : (newValue: string[]) => {\n void setFieldValue(name, newValue);\n }}\n orientation={field.orientation}\n value={Array.isArray(value) ? value.map(String) : []}\n >\n {field.options.map((option) => (\n <CheckboxGroup.Item key={option.value} value={String(option.value)}>\n {option.label}\n </CheckboxGroup.Item>\n ))}\n </CheckboxGroup.Root>\n );\n\n case 'yes_no':\n return (\n <Flex gap=\"2\">\n <Checkbox\n checked={Boolean(value)}\n disabled={readonly}\n onCheckedChange={readonly ? undefined : (checked: boolean) => {\n void setFieldValue(name, checked);\n }}\n />\n {field.description ? (\n <Typo color=\"gray\" variant=\"caption\">\n {field.description}\n </Typo>\n ) : null}\n </Flex>\n );\n\n default:\n return null;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDQ,cAqBA,YArBA;AAhCD,SAAS,iBAAiB;AAAA,EAC/B;AACF,GAA6D;AAC3D,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI,eAAe;AACnB,QAAM,EAAE,MAAM,KAAK,IAAI;AAEvB,QAAM,QAAQ,cAAc,IAAI;AAChC,QAAM,QAAQ,cAAc,IAAI;AAChC,QAAM,UAAU,gBAAgB,IAAI;AACpC,QAAM,WAAW,QAAQ,SAAS,OAAO;AAEzC,QAAM,cAAc;AAAA,IAClB;AAAA,IACA,OAAO,OAAO,SAAS,EAAE;AAAA,IACzB,UAAU,WAAW,SAAY;AAAA,IACjC,QAAQ,WAAW,SAAY;AAAA,IAC/B,OAAO;AAAA,IACP,UAAU;AAAA,EACZ;AAEA,UAAQ,MAAM;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AACH,aACE;AAAA,QAAC,UAAU;AAAA,QAAV,iCACK,cADL;AAAA,UAEC,aAAa,MAAM;AAAA,UACnB,MAAM,SAAS,eAAe,SAAS;AAAA;AAAA,MACzC;AAAA,IAEJ,KAAK;AACH,aACE;AAAA,QAAC,UAAU;AAAA,QAAV,iCACK,cADL;AAAA,UAEC,WAAU;AAAA,UACV,SAAQ;AAAA,UACR,aAAa,MAAM;AAAA,UACnB,MAAK;AAAA;AAAA,MACP;AAAA,IAEJ,KAAK;AACH,aAAO,oBAAC,yCAAS,MAAM,KAAO,cAAtB,EAAmC,aAAa,MAAM,cAAc;AAAA,IAE9E,KAAK;AACH,aACE;AAAA,QAAC,OAAO;AAAA,QAAP;AAAA,UACC,UAAU;AAAA,UACV,eAAe,WAAW,SAAY,CAAC,aAAqB;AAC1D,iBAAK,cAAc,MAAM,QAAQ;AAAA,UACnC;AAAA,UACA;AAAA,UAEA;AAAA,gCAAC,OAAO,SAAP,EAAe,aAAa,MAAM,aAAa;AAAA,YAChD,oBAAC,OAAO,SAAP,EACE,gBAAM,QAAQ,IAAI,CAAC,WAClB,oBAAC,OAAO,MAAP,EAA+B,OAAO,OAAO,OAAO,KAAK,GACvD,iBAAO,SADQ,OAAO,KAEzB,CACD,GACH;AAAA;AAAA;AAAA,MACF;AAAA,IAGJ,KAAK;AACH,aACE;AAAA,QAAC,WAAW;AAAA,QAAX;AAAA,UACC,UAAU;AAAA,UACV,eAAe,WAAW,SAAY,CAAC,aAAqB;AAC1D,iBAAK,cAAc,MAAM,QAAQ;AAAA,UACnC;AAAA,UACA,aAAa,MAAM;AAAA,UACnB,OAAO,OAAO,SAAS,EAAE;AAAA,UAExB,gBAAM,QAAQ,IAAI,CAAC,WAClB,oBAAC,WAAW,MAAX,EAAmC,OAAO,OAAO,OAAO,KAAK,GAC3D,iBAAO,SADY,OAAO,KAE7B,CACD;AAAA;AAAA,MACH;AAAA,IAGJ,KAAK;AACH,aACE;AAAA,QAAC,cAAc;AAAA,QAAd;AAAA,UACC,UAAU;AAAA,UACV,eAAe,WAAW,SAAY,CAAC,aAAuB;AAC5D,iBAAK,cAAc,MAAM,QAAQ;AAAA,UACnC;AAAA,UACA,aAAa,MAAM;AAAA,UACnB,OAAO,MAAM,QAAQ,KAAK,IAAI,MAAM,IAAI,MAAM,IAAI,CAAC;AAAA,UAElD,gBAAM,QAAQ,IAAI,CAAC,WAClB,oBAAC,cAAc,MAAd,EAAsC,OAAO,OAAO,OAAO,KAAK,GAC9D,iBAAO,SADe,OAAO,KAEhC,CACD;AAAA;AAAA,MACH;AAAA,IAGJ,KAAK;AACH,aACE,qBAAC,QAAK,KAAI,KACR;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,SAAS,QAAQ,KAAK;AAAA,YACtB,UAAU;AAAA,YACV,iBAAiB,WAAW,SAAY,CAAC,YAAqB;AAC5D,mBAAK,cAAc,MAAM,OAAO;AAAA,YAClC;AAAA;AAAA,QACF;AAAA,QACC,MAAM,cACL,oBAAC,QAAK,OAAM,QAAO,SAAQ,WACxB,gBAAM,aACT,IACE;AAAA,SACN;AAAA,IAGJ;AACE,aAAO;AAAA,EACX;AACF;","names":[]}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import {
|
|
2
|
+
curriculum_ai_traning_default
|
|
3
|
+
} from "./chunk-BJKYVO2J.js";
|
|
4
|
+
import {
|
|
5
|
+
curriculum_file_download_default
|
|
6
|
+
} from "./chunk-QVWUOHQL.js";
|
|
7
|
+
import {
|
|
8
|
+
curriculum_review_default
|
|
9
|
+
} from "./chunk-C6GXUQMB.js";
|
|
10
|
+
import {
|
|
11
|
+
curriculum_video_default
|
|
12
|
+
} from "./chunk-QGKQ3IX7.js";
|
|
13
|
+
import {
|
|
14
|
+
useCurriculumContext
|
|
15
|
+
} from "./chunk-5R7XRWRW.js";
|
|
16
|
+
import {
|
|
17
|
+
Typo
|
|
18
|
+
} from "./chunk-PMJIFLDT.js";
|
|
19
|
+
import {
|
|
20
|
+
Flex
|
|
21
|
+
} from "./chunk-25HMMI7R.js";
|
|
22
|
+
import {
|
|
23
|
+
InfoCircledIcon
|
|
24
|
+
} from "./chunk-W5TPOFOO.js";
|
|
25
|
+
|
|
26
|
+
// src/molecules/curriculumV2/CurriculumContents/index.tsx
|
|
27
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
28
|
+
function CurriculumBody() {
|
|
29
|
+
const { selectedItem, selectedSectionTitle } = useCurriculumContext();
|
|
30
|
+
switch (selectedItem.type) {
|
|
31
|
+
case "video":
|
|
32
|
+
return /* @__PURE__ */ jsx(curriculum_video_default, { item: selectedItem });
|
|
33
|
+
case "review":
|
|
34
|
+
return /* @__PURE__ */ jsx(
|
|
35
|
+
curriculum_review_default,
|
|
36
|
+
{
|
|
37
|
+
item: selectedItem,
|
|
38
|
+
sectionTitle: selectedSectionTitle == null ? void 0 : selectedSectionTitle.title
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
case "aiTraining":
|
|
42
|
+
return /* @__PURE__ */ jsx(curriculum_ai_traning_default, { item: selectedItem });
|
|
43
|
+
case "fileDownload":
|
|
44
|
+
return /* @__PURE__ */ jsx(curriculum_file_download_default, { item: selectedItem });
|
|
45
|
+
default:
|
|
46
|
+
return /* @__PURE__ */ jsxs(
|
|
47
|
+
Flex,
|
|
48
|
+
{
|
|
49
|
+
align: "center",
|
|
50
|
+
direction: "column",
|
|
51
|
+
gap: "2",
|
|
52
|
+
height: "100%",
|
|
53
|
+
justify: "center",
|
|
54
|
+
width: "100%",
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ jsx(InfoCircledIcon, { height: 24, width: 24 }),
|
|
57
|
+
/* @__PURE__ */ jsx(Typo, { children: "\uCEE8\uD150\uCE20\uB97C \uB85C\uB529 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4" }),
|
|
58
|
+
/* @__PURE__ */ jsx(Typo, { align: "center", color: "gray", variant: "caption", children: `[debug info]
|
|
59
|
+
${JSON.stringify(selectedItem)}` })
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export {
|
|
67
|
+
CurriculumBody
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=chunk-OD3RHKDX.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';\nimport CurriculumFileDownload from './curriculum-file-download';\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 case 'fileDownload':\n return <CurriculumFileDownload 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":";;;;;;;;;;;;;;;;;;;;;;;;;;AAea,cAcL,YAdK;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,IAEJ,KAAK;AACH,aAAO,oBAAC,iCAAoB,MAAM,cAAc;AAAA,IAClD,KAAK;AACH,aAAO,oBAAC,oCAAuB,MAAM,cAAc;AAAA,IACrD;AACE,aACE;AAAA,QAAC;AAAA;AAAA,UACC,OAAM;AAAA,UACN,WAAU;AAAA,UACV,KAAI;AAAA,UACJ,QAAO;AAAA,UACP,SAAQ;AAAA,UACR,OAAM;AAAA,UAEN;AAAA,gCAAC,mBAAgB,QAAQ,IAAI,OAAO,IAAI;AAAA,YACxC,oBAAC,QAAK,0FAAgB;AAAA,YACtB,oBAAC,QAAK,OAAM,UAAS,OAAM,QAAO,SAAQ,WACvC;AAAA,cACC,KAAK,UAAU,YAAY,CAAC,IAChC;AAAA;AAAA;AAAA,MACF;AAAA,EAEN;AACF;","names":[]}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import {
|
|
2
|
+
curriculum_ai_traning_default
|
|
3
|
+
} from "./chunk-BJKYVO2J.js";
|
|
4
|
+
import {
|
|
5
|
+
curriculum_file_download_default
|
|
6
|
+
} from "./chunk-QVWUOHQL.js";
|
|
7
|
+
import {
|
|
8
|
+
curriculum_review_default
|
|
9
|
+
} from "./chunk-ULFPO4H7.js";
|
|
10
|
+
import {
|
|
11
|
+
curriculum_video_default
|
|
12
|
+
} from "./chunk-QGKQ3IX7.js";
|
|
13
|
+
import {
|
|
14
|
+
useCurriculumContext
|
|
15
|
+
} from "./chunk-5R7XRWRW.js";
|
|
16
|
+
import {
|
|
17
|
+
Typo
|
|
18
|
+
} from "./chunk-PMJIFLDT.js";
|
|
19
|
+
import {
|
|
20
|
+
Flex
|
|
21
|
+
} from "./chunk-25HMMI7R.js";
|
|
22
|
+
import {
|
|
23
|
+
InfoCircledIcon
|
|
24
|
+
} from "./chunk-W5TPOFOO.js";
|
|
25
|
+
|
|
26
|
+
// src/molecules/curriculumV2/CurriculumContents/index.tsx
|
|
27
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
28
|
+
function CurriculumBody() {
|
|
29
|
+
const { selectedItem, selectedSectionTitle } = useCurriculumContext();
|
|
30
|
+
switch (selectedItem.type) {
|
|
31
|
+
case "video":
|
|
32
|
+
return /* @__PURE__ */ jsx(curriculum_video_default, { item: selectedItem });
|
|
33
|
+
case "review":
|
|
34
|
+
return /* @__PURE__ */ jsx(
|
|
35
|
+
curriculum_review_default,
|
|
36
|
+
{
|
|
37
|
+
item: selectedItem,
|
|
38
|
+
sectionTitle: selectedSectionTitle == null ? void 0 : selectedSectionTitle.title
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
case "aiTraining":
|
|
42
|
+
return /* @__PURE__ */ jsx(curriculum_ai_traning_default, { item: selectedItem });
|
|
43
|
+
case "fileDownload":
|
|
44
|
+
return /* @__PURE__ */ jsx(curriculum_file_download_default, { item: selectedItem });
|
|
45
|
+
default:
|
|
46
|
+
return /* @__PURE__ */ jsxs(
|
|
47
|
+
Flex,
|
|
48
|
+
{
|
|
49
|
+
align: "center",
|
|
50
|
+
direction: "column",
|
|
51
|
+
gap: "2",
|
|
52
|
+
height: "100%",
|
|
53
|
+
justify: "center",
|
|
54
|
+
width: "100%",
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ jsx(InfoCircledIcon, { height: 24, width: 24 }),
|
|
57
|
+
/* @__PURE__ */ jsx(Typo, { children: "\uCEE8\uD150\uCE20\uB97C \uB85C\uB529 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4" }),
|
|
58
|
+
/* @__PURE__ */ jsx(Typo, { align: "center", color: "gray", variant: "caption", children: `[debug info]
|
|
59
|
+
${JSON.stringify(selectedItem)}` })
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export {
|
|
67
|
+
CurriculumBody
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=chunk-ODWBZCJ3.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';\nimport CurriculumFileDownload from './curriculum-file-download';\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 case 'fileDownload':\n return <CurriculumFileDownload 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":";;;;;;;;;;;;;;;;;;;;;;;;;;AAea,cAcL,YAdK;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,IAEJ,KAAK;AACH,aAAO,oBAAC,iCAAoB,MAAM,cAAc;AAAA,IAClD,KAAK;AACH,aAAO,oBAAC,oCAAuB,MAAM,cAAc;AAAA,IACrD;AACE,aACE;AAAA,QAAC;AAAA;AAAA,UACC,OAAM;AAAA,UACN,WAAU;AAAA,UACV,KAAI;AAAA,UACJ,QAAO;AAAA,UACP,SAAQ;AAAA,UACR,OAAM;AAAA,UAEN;AAAA,gCAAC,mBAAgB,QAAQ,IAAI,OAAO,IAAI;AAAA,YACxC,oBAAC,QAAK,0FAAgB;AAAA,YACtB,oBAAC,QAAK,OAAM,UAAS,OAAM,QAAO,SAAQ,WACvC;AAAA,cACC,KAAK,UAAU,YAAY,CAAC,IAChC;AAAA;AAAA;AAAA,MACF;AAAA,EAEN;AACF;","names":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
curriculum_item_title_default
|
|
3
|
+
} from "./chunk-MJMHPIYX.js";
|
|
4
|
+
import {
|
|
5
|
+
getCurriculumContentSubTypeText,
|
|
6
|
+
getCurriculumIcon
|
|
7
|
+
} from "./chunk-UOYMF4WS.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-OITL4AZ5.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,113 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CircleFileIcon
|
|
3
|
+
} from "./chunk-33TIGUGC.js";
|
|
4
|
+
import {
|
|
5
|
+
CirclePencilIcon
|
|
6
|
+
} from "./chunk-J2I3R3OV.js";
|
|
7
|
+
import {
|
|
8
|
+
CirclePlayIcon
|
|
9
|
+
} from "./chunk-QO6KO6MN.js";
|
|
10
|
+
import {
|
|
11
|
+
CircleQuoteIcon
|
|
12
|
+
} from "./chunk-5KNRHIIF.js";
|
|
13
|
+
import {
|
|
14
|
+
CircleSatisfactionIcon
|
|
15
|
+
} from "./chunk-6JRAI4G5.js";
|
|
16
|
+
import {
|
|
17
|
+
CircleChatIcon
|
|
18
|
+
} from "./chunk-ZUYCXCPW.js";
|
|
19
|
+
import {
|
|
20
|
+
CircleCheckIcon
|
|
21
|
+
} from "./chunk-YVFNJE4E.js";
|
|
22
|
+
|
|
23
|
+
// src/utils/curriculum.utils.ts
|
|
24
|
+
var CurriculumListIcons = {
|
|
25
|
+
pencil: CirclePencilIcon,
|
|
26
|
+
video: CirclePlayIcon,
|
|
27
|
+
quote: CircleQuoteIcon,
|
|
28
|
+
check: CircleCheckIcon,
|
|
29
|
+
star: CircleSatisfactionIcon,
|
|
30
|
+
file: CircleFileIcon
|
|
31
|
+
};
|
|
32
|
+
var getCurriculumIcon = ({
|
|
33
|
+
type,
|
|
34
|
+
icon
|
|
35
|
+
}) => {
|
|
36
|
+
if (icon && Object.prototype.hasOwnProperty.call(CurriculumListIcons, icon)) {
|
|
37
|
+
return CurriculumListIcons[icon];
|
|
38
|
+
}
|
|
39
|
+
switch (type) {
|
|
40
|
+
case "video":
|
|
41
|
+
return CirclePlayIcon;
|
|
42
|
+
case "question_text":
|
|
43
|
+
return CircleQuoteIcon;
|
|
44
|
+
case "question_radio":
|
|
45
|
+
return CircleCheckIcon;
|
|
46
|
+
case "question_satisfaction_option":
|
|
47
|
+
case "question_satisfaction_text":
|
|
48
|
+
return CircleSatisfactionIcon;
|
|
49
|
+
case "aiTraining":
|
|
50
|
+
return CircleChatIcon;
|
|
51
|
+
case "fileDownload":
|
|
52
|
+
return CircleFileIcon;
|
|
53
|
+
case "review":
|
|
54
|
+
default:
|
|
55
|
+
return CirclePencilIcon;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var getCurriculumIconColor = ({
|
|
59
|
+
done = false,
|
|
60
|
+
selected = false
|
|
61
|
+
}) => {
|
|
62
|
+
if (selected) {
|
|
63
|
+
return "#D5AE39";
|
|
64
|
+
}
|
|
65
|
+
if (done) {
|
|
66
|
+
return "#30A46C";
|
|
67
|
+
}
|
|
68
|
+
return "#D9D9E0";
|
|
69
|
+
};
|
|
70
|
+
var getCurriculumQuestionIconColor = (type) => {
|
|
71
|
+
switch (type) {
|
|
72
|
+
case "question_text":
|
|
73
|
+
return "#D5AE39";
|
|
74
|
+
case "question_radio":
|
|
75
|
+
return "#30A46C";
|
|
76
|
+
default:
|
|
77
|
+
return "#D9D9E0";
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
var getCurriculumQuestionTypeDescription = (type) => {
|
|
81
|
+
switch (type) {
|
|
82
|
+
case "question_text":
|
|
83
|
+
return "\uC8FC\uAD00\uC2DD";
|
|
84
|
+
case "question_radio":
|
|
85
|
+
return "\uAC1D\uAD00\uC2DD";
|
|
86
|
+
default:
|
|
87
|
+
return "";
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
var getCurriculumContentSubTypeText = (type) => {
|
|
91
|
+
switch (type) {
|
|
92
|
+
case "video":
|
|
93
|
+
return "\uC601\uC0C1";
|
|
94
|
+
case "review":
|
|
95
|
+
return "\uB9AC\uBDF0";
|
|
96
|
+
case "aiTraining":
|
|
97
|
+
return "AI \uB864\uD50C\uB808\uC774";
|
|
98
|
+
case "fileDownload":
|
|
99
|
+
return "\uC790\uB8CC \uB2E4\uC6B4\uB85C\uB4DC";
|
|
100
|
+
default:
|
|
101
|
+
return "";
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export {
|
|
106
|
+
CurriculumListIcons,
|
|
107
|
+
getCurriculumIcon,
|
|
108
|
+
getCurriculumIconColor,
|
|
109
|
+
getCurriculumQuestionIconColor,
|
|
110
|
+
getCurriculumQuestionTypeDescription,
|
|
111
|
+
getCurriculumContentSubTypeText
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=chunk-OXH6M7PN.js.map
|