@tipp/ui 2.1.14 → 2.1.15
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 +417 -369
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +72 -70
- 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 +29 -28
- package/dist/app/platform/contents-card.cjs +106 -62
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +29 -28
- 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 +160 -112
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +55 -53
- package/dist/app/platform/edit-service-type.cjs +148 -100
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +55 -53
- package/dist/app/platform/goal-manage-card-edit.cjs +159 -111
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +56 -54
- 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 +29 -28
- package/dist/app/platform/on-offline-radio-card.cjs +138 -90
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +55 -53
- 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 +29 -28
- package/dist/app/platform/reservation-card.cjs +190 -142
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +56 -54
- package/dist/app/platform/session-card.cjs +211 -163
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +57 -55
- 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 +29 -28
- 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 +31 -30
- 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 +29 -28
- 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 +29 -28
- 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 +28 -27
- 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 +28 -27
- 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 +28 -27
- package/dist/atoms/index.cjs +102 -58
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +64 -63
- package/dist/atoms/pagination.cjs +57 -13
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +2 -1
- package/dist/chunk-2QGZVI6N.js +69 -0
- package/dist/chunk-2QGZVI6N.js.map +1 -0
- package/dist/chunk-33X3F2HI.js +126 -0
- package/dist/chunk-33X3F2HI.js.map +1 -0
- package/dist/chunk-3TNMHQQB.js +101 -0
- package/dist/chunk-3TNMHQQB.js.map +1 -0
- package/dist/chunk-3U6HG2GA.js +69 -0
- package/dist/chunk-3U6HG2GA.js.map +1 -0
- package/dist/chunk-4AN3ZCGK.js +68 -0
- package/dist/chunk-4AN3ZCGK.js.map +1 -0
- package/dist/chunk-4BWN7VNX.js +87 -0
- package/dist/chunk-4BWN7VNX.js.map +1 -0
- package/dist/chunk-4FIOYCMJ.js +150 -0
- package/dist/chunk-4FIOYCMJ.js.map +1 -0
- package/dist/chunk-4GE6TL3V.js +49 -0
- package/dist/chunk-4GE6TL3V.js.map +1 -0
- package/dist/chunk-4HEHXLAW.js +150 -0
- package/dist/chunk-4HEHXLAW.js.map +1 -0
- package/dist/chunk-4PCIXTQF.js +127 -0
- package/dist/chunk-4PCIXTQF.js.map +1 -0
- package/dist/chunk-4ZVQ2YZO.js +54 -0
- package/dist/chunk-4ZVQ2YZO.js.map +1 -0
- package/dist/chunk-57C32PAJ.js +61 -0
- package/dist/chunk-57C32PAJ.js.map +1 -0
- package/dist/chunk-5M63AVFS.js +89 -0
- package/dist/chunk-5M63AVFS.js.map +1 -0
- package/dist/chunk-5PIUQHAA.js +51 -0
- package/dist/chunk-5PIUQHAA.js.map +1 -0
- package/dist/chunk-5VRIKTYY.js +49 -0
- package/dist/chunk-5VRIKTYY.js.map +1 -0
- package/dist/chunk-5XKHHXPV.js +105 -0
- package/dist/chunk-5XKHHXPV.js.map +1 -0
- package/dist/chunk-67PXOQDQ.js +64 -0
- package/dist/chunk-67PXOQDQ.js.map +1 -0
- package/dist/chunk-6JHSJ4KU.js +129 -0
- package/dist/chunk-6JHSJ4KU.js.map +1 -0
- package/dist/chunk-73OPYUDS.js +69 -0
- package/dist/chunk-73OPYUDS.js.map +1 -0
- package/dist/chunk-763ZWIDT.js +150 -0
- package/dist/chunk-763ZWIDT.js.map +1 -0
- package/dist/chunk-7BWXLQQQ.js +129 -0
- package/dist/chunk-7BWXLQQQ.js.map +1 -0
- package/dist/chunk-7DQEAXBT.js +144 -0
- package/dist/chunk-7DQEAXBT.js.map +1 -0
- package/dist/chunk-7ERR5PAQ.js +66 -0
- package/dist/chunk-7ERR5PAQ.js.map +1 -0
- package/dist/chunk-7NXNYFKL.js +69 -0
- package/dist/chunk-7NXNYFKL.js.map +1 -0
- package/dist/chunk-ABYY6L2W.js +43 -0
- package/dist/chunk-ABYY6L2W.js.map +1 -0
- package/dist/chunk-ACCGZMYH.js +43 -0
- package/dist/chunk-ACCGZMYH.js.map +1 -0
- package/dist/chunk-AFTTKOVM.js +69 -0
- package/dist/chunk-AFTTKOVM.js.map +1 -0
- package/dist/chunk-ALRTNUFB.js +69 -0
- package/dist/chunk-ALRTNUFB.js.map +1 -0
- package/dist/chunk-ALXQWV4T.js +37 -0
- package/dist/chunk-ALXQWV4T.js.map +1 -0
- package/dist/chunk-ANXNB6W7.js +64 -0
- package/dist/chunk-ANXNB6W7.js.map +1 -0
- package/dist/chunk-APMTLAXS.js +129 -0
- package/dist/chunk-APMTLAXS.js.map +1 -0
- package/dist/chunk-AYPDSKUU.js +64 -0
- package/dist/chunk-AYPDSKUU.js.map +1 -0
- package/dist/chunk-AYSINJZU.js +63 -0
- package/dist/chunk-AYSINJZU.js.map +1 -0
- package/dist/chunk-AZTLOL5O.js +43 -0
- package/dist/chunk-AZTLOL5O.js.map +1 -0
- package/dist/chunk-B34PGDH6.js +69 -0
- package/dist/chunk-B34PGDH6.js.map +1 -0
- package/dist/chunk-BBCJ6Z2P.js +64 -0
- package/dist/chunk-BBCJ6Z2P.js.map +1 -0
- package/dist/chunk-BTH3NYY7.js +64 -0
- package/dist/chunk-BTH3NYY7.js.map +1 -0
- package/dist/chunk-C2LP6T5H.js +51 -0
- package/dist/chunk-C2LP6T5H.js.map +1 -0
- package/dist/chunk-CDIG6XAG.js +105 -0
- package/dist/chunk-CDIG6XAG.js.map +1 -0
- package/dist/chunk-CNGUWMAI.js +29 -0
- package/dist/chunk-CNGUWMAI.js.map +1 -0
- package/dist/chunk-CNLZKDKT.js +64 -0
- package/dist/chunk-CNLZKDKT.js.map +1 -0
- package/dist/chunk-COHMYJ6R.js +64 -0
- package/dist/chunk-COHMYJ6R.js.map +1 -0
- package/dist/chunk-CQF6WAI4.js +101 -0
- package/dist/chunk-CQF6WAI4.js.map +1 -0
- package/dist/chunk-CU5UELYK.js +51 -0
- package/dist/chunk-CU5UELYK.js.map +1 -0
- package/dist/chunk-CXPQKZOV.js +67 -0
- package/dist/chunk-CXPQKZOV.js.map +1 -0
- package/dist/chunk-D45E6VDM.js +43 -0
- package/dist/chunk-D45E6VDM.js.map +1 -0
- package/dist/chunk-DACBJ72V.js +29 -0
- package/dist/chunk-DACBJ72V.js.map +1 -0
- package/dist/chunk-DK4BHN6W.js +64 -0
- package/dist/chunk-DK4BHN6W.js.map +1 -0
- package/dist/chunk-DWEWEZ6F.js +89 -0
- package/dist/chunk-DWEWEZ6F.js.map +1 -0
- package/dist/chunk-E26OZM3L.js +61 -0
- package/dist/chunk-E26OZM3L.js.map +1 -0
- package/dist/chunk-E35CWJJL.js +87 -0
- package/dist/chunk-E35CWJJL.js.map +1 -0
- package/dist/chunk-E7VXWXJA.js +105 -0
- package/dist/chunk-E7VXWXJA.js.map +1 -0
- package/dist/chunk-EAS6O7IZ.js +43 -0
- package/dist/chunk-EAS6O7IZ.js.map +1 -0
- package/dist/chunk-EHKW72Z4.js +100 -0
- package/dist/chunk-EHKW72Z4.js.map +1 -0
- package/dist/chunk-EHNNGWZ2.js +51 -0
- package/dist/chunk-EHNNGWZ2.js.map +1 -0
- package/dist/chunk-EMJA2SNU.js +37 -0
- package/dist/chunk-EMJA2SNU.js.map +1 -0
- package/dist/chunk-EVB2LWM6.js +101 -0
- package/dist/chunk-EVB2LWM6.js.map +1 -0
- package/dist/chunk-FBE4EK2K.js +64 -0
- package/dist/chunk-FBE4EK2K.js.map +1 -0
- package/dist/chunk-FETNOOEF.js +64 -0
- package/dist/chunk-FETNOOEF.js.map +1 -0
- package/dist/chunk-FHJJRFQ4.js +150 -0
- package/dist/chunk-FHJJRFQ4.js.map +1 -0
- package/dist/chunk-FJPNCT7B.js +29 -0
- package/dist/chunk-FJPNCT7B.js.map +1 -0
- package/dist/chunk-FJVOGXX7.js +51 -0
- package/dist/chunk-FJVOGXX7.js.map +1 -0
- package/dist/chunk-FLEXQ7SW.js +69 -0
- package/dist/chunk-FLEXQ7SW.js.map +1 -0
- package/dist/chunk-FRYDHKE4.js +64 -0
- package/dist/chunk-FRYDHKE4.js.map +1 -0
- package/dist/chunk-FS675UBS.js +150 -0
- package/dist/chunk-FS675UBS.js.map +1 -0
- package/dist/chunk-FTVSUMQ2.js +37 -0
- package/dist/chunk-FTVSUMQ2.js.map +1 -0
- package/dist/chunk-FUK5ARBK.js +101 -0
- package/dist/chunk-FUK5ARBK.js.map +1 -0
- package/dist/chunk-FZQG7DX4.js +129 -0
- package/dist/chunk-FZQG7DX4.js.map +1 -0
- package/dist/chunk-G52WEEKJ.js +68 -0
- package/dist/chunk-G52WEEKJ.js.map +1 -0
- package/dist/chunk-GQAZS6DV.js +61 -0
- package/dist/chunk-GQAZS6DV.js.map +1 -0
- package/dist/chunk-GQOQGUM6.js +37 -0
- package/dist/chunk-GQOQGUM6.js.map +1 -0
- package/dist/chunk-GSZDWZ7A.js +101 -0
- package/dist/chunk-GSZDWZ7A.js.map +1 -0
- package/dist/chunk-GYDRLF6A.js +37 -0
- package/dist/chunk-GYDRLF6A.js.map +1 -0
- package/dist/chunk-H4CSYPDO.js +100 -0
- package/dist/chunk-H4CSYPDO.js.map +1 -0
- package/dist/chunk-HHFWYQJG.js +64 -0
- package/dist/chunk-HHFWYQJG.js.map +1 -0
- package/dist/chunk-HLRPXSTL.js +69 -0
- package/dist/chunk-HLRPXSTL.js.map +1 -0
- package/dist/chunk-HOGXSJ7B.js +105 -0
- package/dist/chunk-HOGXSJ7B.js.map +1 -0
- package/dist/chunk-HOQVBTNI.js +129 -0
- package/dist/chunk-HOQVBTNI.js.map +1 -0
- package/dist/chunk-I7THZUWC.js +29 -0
- package/dist/chunk-I7THZUWC.js.map +1 -0
- package/dist/chunk-IAY6OD23.js +89 -0
- package/dist/chunk-IAY6OD23.js.map +1 -0
- package/dist/chunk-IE5CLKEM.js +87 -0
- package/dist/chunk-IE5CLKEM.js.map +1 -0
- package/dist/chunk-IOSJ3D3Q.js +101 -0
- package/dist/chunk-IOSJ3D3Q.js.map +1 -0
- package/dist/chunk-IW3LZDRN.js +49 -0
- package/dist/chunk-IW3LZDRN.js.map +1 -0
- package/dist/chunk-J6P73X2D.js +89 -0
- package/dist/chunk-J6P73X2D.js.map +1 -0
- package/dist/chunk-JGZGENQG.js +64 -0
- package/dist/chunk-JGZGENQG.js.map +1 -0
- package/dist/chunk-JIJ7W7AL.js +129 -0
- package/dist/chunk-JIJ7W7AL.js.map +1 -0
- package/dist/chunk-JM63FTAN.js +63 -0
- package/dist/chunk-JM63FTAN.js.map +1 -0
- package/dist/chunk-JP74ZLFL.js +63 -0
- package/dist/chunk-JP74ZLFL.js.map +1 -0
- package/dist/chunk-JX33VPUM.js +51 -0
- package/dist/chunk-JX33VPUM.js.map +1 -0
- package/dist/chunk-K5MMFOI6.js +37 -0
- package/dist/chunk-K5MMFOI6.js.map +1 -0
- package/dist/chunk-KJJRBETW.js +64 -0
- package/dist/chunk-KJJRBETW.js.map +1 -0
- package/dist/chunk-KMUYRDHY.js +64 -0
- package/dist/chunk-KMUYRDHY.js.map +1 -0
- package/dist/chunk-KQD27UPH.js +64 -0
- package/dist/chunk-KQD27UPH.js.map +1 -0
- package/dist/chunk-KREMRIIJ.js +89 -0
- package/dist/chunk-KREMRIIJ.js.map +1 -0
- package/dist/chunk-KW5XCDCD.js +49 -0
- package/dist/chunk-KW5XCDCD.js.map +1 -0
- package/dist/chunk-KYZI6UHU.js +64 -0
- package/dist/chunk-KYZI6UHU.js.map +1 -0
- package/dist/chunk-L3HJ5UVV.js +129 -0
- package/dist/chunk-L3HJ5UVV.js.map +1 -0
- package/dist/chunk-L4GYGVKI.js +89 -0
- package/dist/chunk-L4GYGVKI.js.map +1 -0
- package/dist/chunk-L6XEQJLZ.js +89 -0
- package/dist/chunk-L6XEQJLZ.js.map +1 -0
- package/dist/chunk-LDPNKXLR.js +61 -0
- package/dist/chunk-LDPNKXLR.js.map +1 -0
- package/dist/chunk-LDWQIERM.js +144 -0
- package/dist/chunk-LDWQIERM.js.map +1 -0
- package/dist/chunk-LIWRJH7I.js +64 -0
- package/dist/chunk-LIWRJH7I.js.map +1 -0
- package/dist/chunk-LJC4R5LP.js +29 -0
- package/dist/chunk-LJC4R5LP.js.map +1 -0
- package/dist/chunk-LKQRPGA2.js +87 -0
- package/dist/chunk-LKQRPGA2.js.map +1 -0
- package/dist/chunk-LKVETX6O.js +101 -0
- package/dist/chunk-LKVETX6O.js.map +1 -0
- package/dist/chunk-LKWFUKCD.js +101 -0
- package/dist/chunk-LKWFUKCD.js.map +1 -0
- package/dist/chunk-LLGIKOQF.js +49 -0
- package/dist/chunk-LLGIKOQF.js.map +1 -0
- package/dist/chunk-LVX5FQR7.js +69 -0
- package/dist/chunk-LVX5FQR7.js.map +1 -0
- package/dist/chunk-M36CA3IJ.js +129 -0
- package/dist/chunk-M36CA3IJ.js.map +1 -0
- package/dist/chunk-M6P4IZUO.js +49 -0
- package/dist/chunk-M6P4IZUO.js.map +1 -0
- package/dist/chunk-M6UPEGZO.js +69 -0
- package/dist/chunk-M6UPEGZO.js.map +1 -0
- package/dist/chunk-M7AS5SIG.js +89 -0
- package/dist/chunk-M7AS5SIG.js.map +1 -0
- package/dist/chunk-ME4UZKVM.js +51 -0
- package/dist/chunk-ME4UZKVM.js.map +1 -0
- package/dist/chunk-MNZLLIYG.js +61 -0
- package/dist/chunk-MNZLLIYG.js.map +1 -0
- package/dist/chunk-MOELHOUR.js +61 -0
- package/dist/chunk-MOELHOUR.js.map +1 -0
- package/dist/chunk-MSBXMNVH.js +63 -0
- package/dist/chunk-MSBXMNVH.js.map +1 -0
- package/dist/chunk-N5XWSSSX.js +29 -0
- package/dist/chunk-N5XWSSSX.js.map +1 -0
- package/dist/chunk-NBMLAXXE.js +69 -0
- package/dist/chunk-NBMLAXXE.js.map +1 -0
- package/dist/chunk-NIJKJMBZ.js +64 -0
- package/dist/chunk-NIJKJMBZ.js.map +1 -0
- package/dist/chunk-NL44G6TW.js +63 -0
- package/dist/chunk-NL44G6TW.js.map +1 -0
- package/dist/chunk-NRUZYBFM.js +129 -0
- package/dist/chunk-NRUZYBFM.js.map +1 -0
- package/dist/chunk-NWDER52Q.js +143 -0
- package/dist/chunk-NWDER52Q.js.map +1 -0
- package/dist/chunk-NYMTN67G.js +49 -0
- package/dist/chunk-NYMTN67G.js.map +1 -0
- package/dist/chunk-O667N37D.js +61 -0
- package/dist/chunk-O667N37D.js.map +1 -0
- package/dist/chunk-OGNEFTFX.js +49 -0
- package/dist/chunk-OGNEFTFX.js.map +1 -0
- package/dist/chunk-OKRTKXJB.js +59 -0
- package/dist/chunk-OKRTKXJB.js.map +1 -0
- package/dist/chunk-OMJ3CHRB.js +129 -0
- package/dist/chunk-OMJ3CHRB.js.map +1 -0
- package/dist/chunk-OOZLGOTP.js +63 -0
- package/dist/chunk-OOZLGOTP.js.map +1 -0
- package/dist/chunk-OQIBXE47.js +150 -0
- package/dist/chunk-OQIBXE47.js.map +1 -0
- package/dist/chunk-OYHIPDY5.js +64 -0
- package/dist/chunk-OYHIPDY5.js.map +1 -0
- package/dist/chunk-P5B4KTSN.js +61 -0
- package/dist/chunk-P5B4KTSN.js.map +1 -0
- package/dist/chunk-P7SL5ZX6.js +64 -0
- package/dist/chunk-P7SL5ZX6.js.map +1 -0
- package/dist/chunk-PAFFDZBG.js +105 -0
- package/dist/chunk-PAFFDZBG.js.map +1 -0
- package/dist/chunk-PCIAQT2V.js +61 -0
- package/dist/chunk-PCIAQT2V.js.map +1 -0
- package/dist/chunk-PGGFL6GS.js +64 -0
- package/dist/chunk-PGGFL6GS.js.map +1 -0
- package/dist/chunk-PLC5D6VE.js +69 -0
- package/dist/chunk-PLC5D6VE.js.map +1 -0
- package/dist/chunk-PLCH2O5D.js +29 -0
- package/dist/chunk-PLCH2O5D.js.map +1 -0
- package/dist/chunk-PPGQ5KKI.js +64 -0
- package/dist/chunk-PPGQ5KKI.js.map +1 -0
- package/dist/chunk-PR6AQU46.js +61 -0
- package/dist/chunk-PR6AQU46.js.map +1 -0
- package/dist/chunk-PXGGGKNC.js +129 -0
- package/dist/chunk-PXGGGKNC.js.map +1 -0
- package/dist/chunk-PYLLXLDU.js +61 -0
- package/dist/chunk-PYLLXLDU.js.map +1 -0
- package/dist/chunk-Q7NAKB7P.js +87 -0
- package/dist/chunk-Q7NAKB7P.js.map +1 -0
- package/dist/chunk-QEBFG3AJ.js +105 -0
- package/dist/chunk-QEBFG3AJ.js.map +1 -0
- package/dist/chunk-QGLY2VWL.js +102 -0
- package/dist/chunk-QGLY2VWL.js.map +1 -0
- package/dist/chunk-QNWBUYV2.js +54 -0
- package/dist/chunk-QNWBUYV2.js.map +1 -0
- package/dist/chunk-RC4XG36I.js +67 -0
- package/dist/chunk-RC4XG36I.js.map +1 -0
- package/dist/chunk-RIY5NTAV.js +150 -0
- package/dist/chunk-RIY5NTAV.js.map +1 -0
- package/dist/chunk-RJT56USR.js +129 -0
- package/dist/chunk-RJT56USR.js.map +1 -0
- package/dist/chunk-RNJSTWEH.js +89 -0
- package/dist/chunk-RNJSTWEH.js.map +1 -0
- package/dist/chunk-RQ2TLXQJ.js +64 -0
- package/dist/chunk-RQ2TLXQJ.js.map +1 -0
- package/dist/chunk-RTNAPZ54.js +63 -0
- package/dist/chunk-RTNAPZ54.js.map +1 -0
- package/dist/chunk-RWSWR2QE.js +69 -0
- package/dist/chunk-RWSWR2QE.js.map +1 -0
- package/dist/chunk-RZ4ZX66O.js +43 -0
- package/dist/chunk-RZ4ZX66O.js.map +1 -0
- package/dist/chunk-SGBI2VC7.js +51 -0
- package/dist/chunk-SGBI2VC7.js.map +1 -0
- package/dist/chunk-SR4MSHQD.js +69 -0
- package/dist/chunk-SR4MSHQD.js.map +1 -0
- package/dist/chunk-SWDEAHPM.js +63 -0
- package/dist/chunk-SWDEAHPM.js.map +1 -0
- package/dist/chunk-T3ZLA33B.js +29 -0
- package/dist/chunk-T3ZLA33B.js.map +1 -0
- package/dist/chunk-TEYZYDXV.js +129 -0
- package/dist/chunk-TEYZYDXV.js.map +1 -0
- package/dist/chunk-TFWQTMPO.js +150 -0
- package/dist/chunk-TFWQTMPO.js.map +1 -0
- package/dist/chunk-TH4BBGMM.js +49 -0
- package/dist/chunk-TH4BBGMM.js.map +1 -0
- package/dist/chunk-THA6VV4N.js +89 -0
- package/dist/chunk-THA6VV4N.js.map +1 -0
- package/dist/chunk-TPOU2D7C.js +70 -0
- package/dist/chunk-TPOU2D7C.js.map +1 -0
- package/dist/chunk-UDCLVC3U.js +43 -0
- package/dist/chunk-UDCLVC3U.js.map +1 -0
- package/dist/chunk-UTJMOYTU.js +51 -0
- package/dist/chunk-UTJMOYTU.js.map +1 -0
- package/dist/chunk-UZ5B44ZO.js +64 -0
- package/dist/chunk-UZ5B44ZO.js.map +1 -0
- package/dist/chunk-V4KMSXN2.js +144 -0
- package/dist/chunk-V4KMSXN2.js.map +1 -0
- package/dist/chunk-V5UFJ2KJ.js +87 -0
- package/dist/chunk-V5UFJ2KJ.js.map +1 -0
- package/dist/chunk-V6GEGJYT.js +129 -0
- package/dist/chunk-V6GEGJYT.js.map +1 -0
- package/dist/chunk-VBC4UFLH.js +64 -0
- package/dist/chunk-VBC4UFLH.js.map +1 -0
- package/dist/chunk-VFRQHQMA.js +87 -0
- package/dist/chunk-VFRQHQMA.js.map +1 -0
- package/dist/chunk-VMVQRULQ.js +63 -0
- package/dist/chunk-VMVQRULQ.js.map +1 -0
- package/dist/chunk-VOB5FBSA.js +281 -0
- package/dist/chunk-VOB5FBSA.js.map +1 -0
- package/dist/chunk-VPTSNGCG.js +63 -0
- package/dist/chunk-VPTSNGCG.js.map +1 -0
- package/dist/chunk-VU4FBZVU.js +37 -0
- package/dist/chunk-VU4FBZVU.js.map +1 -0
- package/dist/chunk-VUWDCZOW.js +145 -0
- package/dist/chunk-VUWDCZOW.js.map +1 -0
- package/dist/chunk-W7UQLVPV.js +37 -0
- package/dist/chunk-W7UQLVPV.js.map +1 -0
- package/dist/chunk-WH5JAFOQ.js +63 -0
- package/dist/chunk-WH5JAFOQ.js.map +1 -0
- package/dist/chunk-WJ34ZHTU.js +1 -0
- package/dist/chunk-WJ34ZHTU.js.map +1 -0
- package/dist/chunk-WVYTN653.js +68 -0
- package/dist/chunk-WVYTN653.js.map +1 -0
- package/dist/chunk-WZMMQSAG.js +129 -0
- package/dist/chunk-WZMMQSAG.js.map +1 -0
- package/dist/chunk-WZW7RO32.js +63 -0
- package/dist/chunk-WZW7RO32.js.map +1 -0
- package/dist/chunk-X2RBUIY2.js +129 -0
- package/dist/chunk-X2RBUIY2.js.map +1 -0
- package/dist/chunk-X7IAESYS.js +89 -0
- package/dist/chunk-X7IAESYS.js.map +1 -0
- package/dist/chunk-XECHW3OI.js +129 -0
- package/dist/chunk-XECHW3OI.js.map +1 -0
- package/dist/chunk-XYATKHVC.js +69 -0
- package/dist/chunk-XYATKHVC.js.map +1 -0
- package/dist/chunk-Y24NX3R7.js +67 -0
- package/dist/chunk-Y24NX3R7.js.map +1 -0
- package/dist/chunk-Y2RA5WVA.js +87 -0
- package/dist/chunk-Y2RA5WVA.js.map +1 -0
- package/dist/chunk-Y3HCGCCL.js +89 -0
- package/dist/chunk-Y3HCGCCL.js.map +1 -0
- package/dist/chunk-YB7K7ZLR.js +64 -0
- package/dist/chunk-YB7K7ZLR.js.map +1 -0
- package/dist/chunk-YDQAGGZB.js +37 -0
- package/dist/chunk-YDQAGGZB.js.map +1 -0
- package/dist/chunk-YEI3HAUY.js +43 -0
- package/dist/chunk-YEI3HAUY.js.map +1 -0
- package/dist/chunk-YKUDZE3N.js +63 -0
- package/dist/chunk-YKUDZE3N.js.map +1 -0
- package/dist/chunk-YLK74BOH.js +67 -0
- package/dist/chunk-YLK74BOH.js.map +1 -0
- package/dist/chunk-YPIZBGJN.js +69 -0
- package/dist/chunk-YPIZBGJN.js.map +1 -0
- package/dist/chunk-YVX55OA4.js +64 -0
- package/dist/chunk-YVX55OA4.js.map +1 -0
- package/dist/chunk-YY6XZ67G.js +29 -0
- package/dist/chunk-YY6XZ67G.js.map +1 -0
- package/dist/chunk-YYRSRHDS.js +70 -0
- package/dist/chunk-YYRSRHDS.js.map +1 -0
- package/dist/chunk-Z5USMV42.js +101 -0
- package/dist/chunk-Z5USMV42.js.map +1 -0
- package/dist/chunk-Z7HJFPA6.js +63 -0
- package/dist/chunk-Z7HJFPA6.js.map +1 -0
- package/dist/chunk-ZD2XVHZX.js +69 -0
- package/dist/chunk-ZD2XVHZX.js.map +1 -0
- package/dist/chunk-ZP6ENLEA.js +43 -0
- package/dist/chunk-ZP6ENLEA.js.map +1 -0
- package/dist/chunk-ZROPD23Z.js +150 -0
- package/dist/chunk-ZROPD23Z.js.map +1 -0
- package/dist/chunk-ZRSNMORH.js +89 -0
- package/dist/chunk-ZRSNMORH.js.map +1 -0
- package/dist/chunk-ZSMK247Y.js +145 -0
- package/dist/chunk-ZSMK247Y.js.map +1 -0
- package/dist/chunk-ZT267KAI.js +69 -0
- package/dist/chunk-ZT267KAI.js.map +1 -0
- package/dist/chunk-ZTNJ3NZ7.js +87 -0
- package/dist/chunk-ZTNJ3NZ7.js.map +1 -0
- package/dist/chunk-ZUA4XRXZ.js +67 -0
- package/dist/chunk-ZUA4XRXZ.js.map +1 -0
- 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-chat.cjs +111 -0
- package/dist/icons/circle-chat.cjs.map +1 -0
- package/dist/icons/circle-chat.d.cts +6 -0
- package/dist/icons/circle-chat.d.ts +6 -0
- package/dist/icons/circle-chat.js +8 -0
- package/dist/icons/circle-chat.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 +785 -676
- 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 +134 -129
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +151 -105
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +36 -35
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +80 -34
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +30 -29
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +120 -74
- 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 +35 -34
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +81 -37
- 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 +28 -27
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs +80 -36
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +28 -27
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.cjs +81 -37
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +28 -27
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +96 -50
- 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 +31 -30
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +84 -38
- 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 +31 -30
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +84 -38
- 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 +31 -30
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +91 -45
- 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 +31 -30
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +86 -42
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +28 -27
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +190 -144
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +38 -37
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +96 -50
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +30 -29
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +1402 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.d.cts +9 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.d.ts +9 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +86 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js.map +1 -0
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +211 -159
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +40 -39
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs +77 -33
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.js +28 -27
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +274 -171
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +42 -40
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs +76 -32
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +28 -27
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.cjs +75 -31
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.js +28 -27
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +114 -66
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +30 -29
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs +76 -32
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.js +28 -27
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +103 -55
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +33 -32
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +125 -77
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +31 -30
- package/dist/molecules/curriculumV2/curriculum-context.cjs +4 -2
- package/dist/molecules/curriculumV2/curriculum-context.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-context.d.cts +3 -1
- package/dist/molecules/curriculumV2/curriculum-context.d.ts +3 -1
- package/dist/molecules/curriculumV2/curriculum-context.js +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +84 -40
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +30 -29
- package/dist/molecules/curriculumV2/curriculum-v2-layout.cjs +80 -36
- package/dist/molecules/curriculumV2/curriculum-v2-layout.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-v2-layout.js +28 -27
- package/dist/molecules/curriculumV2/index.cjs +324 -217
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +51 -49
- package/dist/molecules/date-picker/date-picker-button.cjs +86 -42
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +28 -27
- package/dist/molecules/date-picker/index.cjs +56 -12
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +2 -1
- package/dist/molecules/expand-table/index.cjs +103 -59
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +28 -27
- package/dist/molecules/expand-table/row.cjs +78 -34
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +28 -27
- package/dist/molecules/index.cjs +477 -370
- 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/navigation.cjs +78 -34
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +28 -27
- package/dist/molecules/radio-button-card.cjs +76 -32
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +28 -27
- 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 +118 -74
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +29 -28
- package/dist/molecules/time-select.cjs +77 -33
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +29 -28
- package/dist/types/curriculumContents.type.cjs.map +1 -1
- package/dist/types/curriculumContents.type.d.cts +10 -2
- package/dist/types/curriculumContents.type.d.ts +10 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/curriculum.utils.cjs +48 -0
- package/dist/utils/curriculum.utils.cjs.map +1 -1
- package/dist/utils/curriculum.utils.js +3 -2
- package/dist/utils/index.js +3 -3
- package/package.json +1 -1
- package/src/constrant/curriculum.schema.json +22 -1
- package/src/icons/circle-chat.tsx +35 -0
- package/src/icons/index.ts +2 -1
- package/src/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.tsx +56 -0
- package/src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx +7 -1
- package/src/molecules/curriculumV2/CurriculumContents/index.tsx +3 -0
- package/src/molecules/curriculumV2/curriculum-context.tsx +7 -3
- package/src/types/curriculumContents.type.ts +14 -1
- package/src/utils/curriculum.utils.ts +7 -2
package/dist/index.cjs
CHANGED
|
@@ -92,6 +92,7 @@ __export(index_exports, {
|
|
|
92
92
|
ChevronLeftIcon: () => import_react_icons2.ChevronLeftIcon,
|
|
93
93
|
ChevronRightIcon: () => import_react_icons2.ChevronRightIcon,
|
|
94
94
|
ChevronUpIcon: () => import_react_icons2.ChevronUpIcon,
|
|
95
|
+
CircleChatIcon: () => CircleChatIcon,
|
|
95
96
|
CircleCheckIcon: () => CircleCheckIcon,
|
|
96
97
|
CirclePencilIcon: () => CirclePencilIcon,
|
|
97
98
|
CirclePlayIcon: () => CirclePlayIcon,
|
|
@@ -1366,8 +1367,52 @@ var CircleQuoteIcon = React17.forwardRef(
|
|
|
1366
1367
|
);
|
|
1367
1368
|
CircleQuoteIcon.displayName = "CircleQuoteIcon";
|
|
1368
1369
|
|
|
1369
|
-
// src/
|
|
1370
|
+
// src/icons/circle-chat.tsx
|
|
1371
|
+
var React18 = __toESM(require("react"), 1);
|
|
1370
1372
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1373
|
+
var CircleChatIcon = React18.forwardRef(
|
|
1374
|
+
(_a, forwardedRef) => {
|
|
1375
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1377
|
+
"svg",
|
|
1378
|
+
__spreadProps(__spreadValues({
|
|
1379
|
+
fill: "none",
|
|
1380
|
+
height: "16",
|
|
1381
|
+
ref: forwardedRef,
|
|
1382
|
+
viewBox: "0 0 16 16",
|
|
1383
|
+
width: "16",
|
|
1384
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1385
|
+
}, props), {
|
|
1386
|
+
children: [
|
|
1387
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("rect", { fill: color, height: "16", rx: "8", width: "16" }),
|
|
1388
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1389
|
+
"rect",
|
|
1390
|
+
{
|
|
1391
|
+
fill: "white",
|
|
1392
|
+
fillOpacity: "0.01",
|
|
1393
|
+
height: "12",
|
|
1394
|
+
transform: "translate(2 2)",
|
|
1395
|
+
width: "12"
|
|
1396
|
+
}
|
|
1397
|
+
),
|
|
1398
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1399
|
+
"path",
|
|
1400
|
+
{
|
|
1401
|
+
clipRule: "evenodd",
|
|
1402
|
+
d: "M12 4.39998L4 4.39999C3.33726 4.39999 2.8 4.93726 2.8 5.59999V9.6C2.8 10.2628 3.33726 10.8 4 10.8H8.00002C8.10611 10.8 8.20786 10.8421 8.28286 10.9172L10 12.6343V11.2C10 10.9791 10.1791 10.8 10.4 10.8H12C12.6627 10.8 13.2 10.2628 13.2 9.6V5.59998C13.2 4.93723 12.6627 4.39998 12 4.39998ZM3.99999 3.59999L12 3.59998C13.1046 3.59998 14 4.49541 14 5.59998V9.6C14 10.7045 13.1046 11.6 12 11.6H10.8V13.6C10.8 13.7617 10.7026 13.9076 10.553 13.9695C10.4036 14.0314 10.2315 13.9972 10.1171 13.8829L7.83434 11.6H4C2.89543 11.6 2 10.7045 2 9.6V5.59999C2 4.49542 2.89542 3.6 3.99999 3.59999Z",
|
|
1403
|
+
fill: "white",
|
|
1404
|
+
fillRule: "evenodd"
|
|
1405
|
+
}
|
|
1406
|
+
)
|
|
1407
|
+
]
|
|
1408
|
+
})
|
|
1409
|
+
);
|
|
1410
|
+
}
|
|
1411
|
+
);
|
|
1412
|
+
CircleChatIcon.displayName = "CircleChatIcon";
|
|
1413
|
+
|
|
1414
|
+
// src/atoms/pagination.tsx
|
|
1415
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1371
1416
|
function Pagination(props) {
|
|
1372
1417
|
const { onChange, count = 0, siblingCount = 2 } = props;
|
|
1373
1418
|
const [page, setPage] = (0, import_react16.useState)(() => props.page || props.defaultPage || 1);
|
|
@@ -1428,19 +1473,19 @@ function Pagination(props) {
|
|
|
1428
1473
|
size: "3",
|
|
1429
1474
|
style: { borderRadius: "50%" }
|
|
1430
1475
|
};
|
|
1431
|
-
return /* @__PURE__ */ (0,
|
|
1432
|
-
/* @__PURE__ */ (0,
|
|
1476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
|
|
1477
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1433
1478
|
import_themes18.IconButton,
|
|
1434
1479
|
__spreadProps(__spreadValues({
|
|
1435
1480
|
disabled: !doublePrev,
|
|
1436
1481
|
onClick: onClickDoublePrev
|
|
1437
1482
|
}, moveButtonProps), {
|
|
1438
|
-
children: /* @__PURE__ */ (0,
|
|
1483
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons2.DoubleArrowLeftIcon, __spreadValues({}, iconSize))
|
|
1439
1484
|
})
|
|
1440
1485
|
),
|
|
1441
|
-
/* @__PURE__ */ (0,
|
|
1442
|
-
/* @__PURE__ */ (0,
|
|
1443
|
-
return /* @__PURE__ */ (0,
|
|
1486
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes18.IconButton, __spreadProps(__spreadValues({ disabled: !prev, onClick: onClickPrev }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons2.ChevronLeftIcon, __spreadValues({}, iconSize)) })),
|
|
1487
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes22.Flex, { gap: "1", children: visibleItems.map((item) => {
|
|
1488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1444
1489
|
"button",
|
|
1445
1490
|
{
|
|
1446
1491
|
className: `page-button ${item === page ? "active" : ""}`,
|
|
@@ -1448,39 +1493,39 @@ function Pagination(props) {
|
|
|
1448
1493
|
setPage(item);
|
|
1449
1494
|
},
|
|
1450
1495
|
type: "button",
|
|
1451
|
-
children: /* @__PURE__ */ (0,
|
|
1496
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { variant: "body", children: item })
|
|
1452
1497
|
},
|
|
1453
1498
|
item
|
|
1454
1499
|
);
|
|
1455
1500
|
}) }),
|
|
1456
|
-
/* @__PURE__ */ (0,
|
|
1457
|
-
/* @__PURE__ */ (0,
|
|
1501
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes18.IconButton, __spreadProps(__spreadValues({ disabled: !next, onClick: onClickNext }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons2.ChevronRightIcon, __spreadValues({}, iconSize)) })),
|
|
1502
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1458
1503
|
import_themes18.IconButton,
|
|
1459
1504
|
__spreadProps(__spreadValues({
|
|
1460
1505
|
disabled: !doubleNext,
|
|
1461
1506
|
onClick: onClickDoubleNext
|
|
1462
1507
|
}, moveButtonProps), {
|
|
1463
|
-
children: /* @__PURE__ */ (0,
|
|
1508
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons2.DoubleArrowRightIcon, __spreadValues({}, iconSize))
|
|
1464
1509
|
})
|
|
1465
1510
|
)
|
|
1466
1511
|
] });
|
|
1467
1512
|
}
|
|
1468
1513
|
|
|
1469
1514
|
// src/atoms/field-error-wrapper.tsx
|
|
1470
|
-
var
|
|
1515
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1471
1516
|
function FieldErrorWrapper({
|
|
1472
1517
|
children,
|
|
1473
1518
|
error
|
|
1474
1519
|
}) {
|
|
1475
|
-
return /* @__PURE__ */ (0,
|
|
1520
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { direction: "column", gap: "1", children: [
|
|
1476
1521
|
children,
|
|
1477
|
-
error ? /* @__PURE__ */ (0,
|
|
1522
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
|
|
1478
1523
|
] });
|
|
1479
1524
|
}
|
|
1480
1525
|
|
|
1481
1526
|
// src/atoms/ellipsis-tooltip.tsx
|
|
1482
1527
|
var import_react17 = require("react");
|
|
1483
|
-
var
|
|
1528
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1484
1529
|
function EllipsisTooltip(props) {
|
|
1485
1530
|
const _a = props, { children, style, lineClamp = 2 } = _a, rest = __objRest(_a, ["children", "style", "lineClamp"]);
|
|
1486
1531
|
const ref = (0, import_react17.useRef)(null);
|
|
@@ -1502,7 +1547,7 @@ function EllipsisTooltip(props) {
|
|
|
1502
1547
|
ref.current.addEventListener("mouseleave", mouseOut);
|
|
1503
1548
|
}
|
|
1504
1549
|
}, [children]);
|
|
1505
|
-
return /* @__PURE__ */ (0,
|
|
1550
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1506
1551
|
Typo,
|
|
1507
1552
|
__spreadProps(__spreadValues({}, rest), {
|
|
1508
1553
|
ref,
|
|
@@ -1525,12 +1570,12 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
|
1525
1570
|
var import_themes50 = require("@radix-ui/themes");
|
|
1526
1571
|
|
|
1527
1572
|
// src/icons/close-panel-arrow.tsx
|
|
1528
|
-
var
|
|
1529
|
-
var
|
|
1530
|
-
var ClosePanelArrowIcon =
|
|
1573
|
+
var React21 = __toESM(require("react"), 1);
|
|
1574
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1575
|
+
var ClosePanelArrowIcon = React21.forwardRef(
|
|
1531
1576
|
(_a, forwardedRef) => {
|
|
1532
1577
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1533
|
-
return /* @__PURE__ */ (0,
|
|
1578
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
1534
1579
|
"svg",
|
|
1535
1580
|
__spreadProps(__spreadValues({
|
|
1536
1581
|
fill: "none",
|
|
@@ -1541,7 +1586,7 @@ var ClosePanelArrowIcon = React20.forwardRef(
|
|
|
1541
1586
|
}, props), {
|
|
1542
1587
|
ref: forwardedRef,
|
|
1543
1588
|
children: [
|
|
1544
|
-
/* @__PURE__ */ (0,
|
|
1589
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1545
1590
|
"path",
|
|
1546
1591
|
{
|
|
1547
1592
|
clipRule: "evenodd",
|
|
@@ -1550,7 +1595,7 @@ var ClosePanelArrowIcon = React20.forwardRef(
|
|
|
1550
1595
|
fillRule: "evenodd"
|
|
1551
1596
|
}
|
|
1552
1597
|
),
|
|
1553
|
-
/* @__PURE__ */ (0,
|
|
1598
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1554
1599
|
"path",
|
|
1555
1600
|
{
|
|
1556
1601
|
clipRule: "evenodd",
|
|
@@ -1567,9 +1612,9 @@ var ClosePanelArrowIcon = React20.forwardRef(
|
|
|
1567
1612
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
1568
1613
|
|
|
1569
1614
|
// src/atoms/drawer.tsx
|
|
1570
|
-
var
|
|
1615
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1571
1616
|
function Root6(props) {
|
|
1572
|
-
return /* @__PURE__ */ (0,
|
|
1617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog2.Root, __spreadValues({}, props));
|
|
1573
1618
|
}
|
|
1574
1619
|
var preventDefault2 = (e) => {
|
|
1575
1620
|
e.preventDefault();
|
|
@@ -1590,15 +1635,15 @@ function Content6(props) {
|
|
|
1590
1635
|
const desktopHeaderSize = 64;
|
|
1591
1636
|
const separatorSize = 1;
|
|
1592
1637
|
const { drawerContainerRef } = usePortalContainer();
|
|
1593
|
-
return /* @__PURE__ */ (0,
|
|
1594
|
-
/* @__PURE__ */ (0,
|
|
1595
|
-
/* @__PURE__ */ (0,
|
|
1638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog2.Portal, { container: drawerContainerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes50.Theme, { children: [
|
|
1639
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
|
|
1640
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1596
1641
|
Dialog2.Content,
|
|
1597
1642
|
__spreadProps(__spreadValues({
|
|
1598
1643
|
className: `DrawerContent ${position} ${className || ""}`,
|
|
1599
1644
|
onPointerDownOutside: preventDefault2
|
|
1600
1645
|
}, rest), {
|
|
1601
|
-
children: /* @__PURE__ */ (0,
|
|
1646
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1602
1647
|
import_themes50.Grid,
|
|
1603
1648
|
{
|
|
1604
1649
|
height: "100%",
|
|
@@ -1608,11 +1653,11 @@ function Content6(props) {
|
|
|
1608
1653
|
sm: `${desktopHeaderSize}px ${separatorSize}px calc(100% - ${desktopHeaderSize + separatorSize}px)`
|
|
1609
1654
|
},
|
|
1610
1655
|
children: [
|
|
1611
|
-
/* @__PURE__ */ (0,
|
|
1612
|
-
/* @__PURE__ */ (0,
|
|
1656
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes22.Flex, { align: "center", gap: "3", px: { initial: "4", md: "6" }, children: [
|
|
1657
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes18.IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ClosePanelArrowIcon, {}) }) }),
|
|
1613
1658
|
HeaderContent
|
|
1614
1659
|
] }),
|
|
1615
|
-
/* @__PURE__ */ (0,
|
|
1660
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes39.Separator, { orientation: "horizontal", size: "4" }),
|
|
1616
1661
|
children
|
|
1617
1662
|
]
|
|
1618
1663
|
}
|
|
@@ -1622,7 +1667,7 @@ function Content6(props) {
|
|
|
1622
1667
|
] }) });
|
|
1623
1668
|
}
|
|
1624
1669
|
function Trigger5(props) {
|
|
1625
|
-
return /* @__PURE__ */ (0,
|
|
1670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
|
|
1626
1671
|
}
|
|
1627
1672
|
var Drawer = {
|
|
1628
1673
|
Root: Dialog2.Root,
|
|
@@ -1637,12 +1682,12 @@ var Drawer = {
|
|
|
1637
1682
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
1638
1683
|
var import_react_toastify = require("react-toastify");
|
|
1639
1684
|
var import_react_toastify2 = require("react-toastify");
|
|
1640
|
-
var
|
|
1685
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1641
1686
|
function CloseButton() {
|
|
1642
1687
|
return null;
|
|
1643
1688
|
}
|
|
1644
1689
|
function ToastContainer(props) {
|
|
1645
|
-
return /* @__PURE__ */ (0,
|
|
1690
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1646
1691
|
import_react_toastify.ToastContainer,
|
|
1647
1692
|
__spreadValues({
|
|
1648
1693
|
autoClose: 5e3,
|
|
@@ -1650,7 +1695,7 @@ function ToastContainer(props) {
|
|
|
1650
1695
|
closeOnClick: true,
|
|
1651
1696
|
draggable: true,
|
|
1652
1697
|
hideProgressBar: true,
|
|
1653
|
-
icon: /* @__PURE__ */ (0,
|
|
1698
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons3.InfoCircledIcon, {}),
|
|
1654
1699
|
newestOnTop: true,
|
|
1655
1700
|
pauseOnFocusLoss: true,
|
|
1656
1701
|
pauseOnHover: true,
|
|
@@ -1664,11 +1709,11 @@ function ToastContainer(props) {
|
|
|
1664
1709
|
// src/molecules/form/form.tsx
|
|
1665
1710
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
1666
1711
|
var import_react18 = require("react");
|
|
1667
|
-
var
|
|
1712
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1668
1713
|
var Root8 = (0, import_react18.forwardRef)(
|
|
1669
1714
|
(_a, ref) => {
|
|
1670
1715
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1671
|
-
return /* @__PURE__ */ (0,
|
|
1716
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1672
1717
|
RadixForm.Root,
|
|
1673
1718
|
__spreadProps(__spreadValues({}, rest), {
|
|
1674
1719
|
className: `FormRoot ${className || ""}`,
|
|
@@ -1685,22 +1730,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
1685
1730
|
var Field2 = (0, import_react18.forwardRef)(
|
|
1686
1731
|
(_a, ref) => {
|
|
1687
1732
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1688
|
-
return /* @__PURE__ */ (0,
|
|
1733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1689
1734
|
RadixForm.Field,
|
|
1690
1735
|
__spreadProps(__spreadValues({}, rest), {
|
|
1691
1736
|
className: `FormField ${className || ""}`,
|
|
1692
1737
|
ref,
|
|
1693
|
-
children: /* @__PURE__ */ (0,
|
|
1738
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(FieldContext.Provider, { value: rest, children })
|
|
1694
1739
|
})
|
|
1695
1740
|
);
|
|
1696
1741
|
}
|
|
1697
1742
|
);
|
|
1698
1743
|
Field2.displayName = "FORM_FIELD";
|
|
1699
1744
|
function HeadingLabel(props) {
|
|
1700
|
-
return /* @__PURE__ */ (0,
|
|
1745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
1701
1746
|
}
|
|
1702
1747
|
function CaptionLabel(props) {
|
|
1703
|
-
return /* @__PURE__ */ (0,
|
|
1748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
1704
1749
|
}
|
|
1705
1750
|
var Label2 = (0, import_react18.forwardRef)(
|
|
1706
1751
|
(_a, ref) => {
|
|
@@ -1717,15 +1762,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
1717
1762
|
}
|
|
1718
1763
|
}, [variant]);
|
|
1719
1764
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
1720
|
-
return /* @__PURE__ */ (0,
|
|
1765
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1721
1766
|
RadixForm.Label,
|
|
1722
1767
|
__spreadProps(__spreadValues({}, rest), {
|
|
1723
1768
|
asChild: true,
|
|
1724
1769
|
className: `FormLabel ${className || ""}`,
|
|
1725
1770
|
ref,
|
|
1726
|
-
children: /* @__PURE__ */ (0,
|
|
1771
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Comp, { children: [
|
|
1727
1772
|
children,
|
|
1728
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
1773
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
1729
1774
|
] })
|
|
1730
1775
|
})
|
|
1731
1776
|
);
|
|
@@ -1735,13 +1780,13 @@ Label2.displayName = "FORM_Label";
|
|
|
1735
1780
|
var Message2 = (0, import_react18.forwardRef)(
|
|
1736
1781
|
(_a, ref) => {
|
|
1737
1782
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1738
|
-
return /* @__PURE__ */ (0,
|
|
1783
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1739
1784
|
RadixForm.Message,
|
|
1740
1785
|
__spreadProps(__spreadValues({}, rest), {
|
|
1741
1786
|
asChild: true,
|
|
1742
1787
|
className: `FormMessage ${className || ""}`,
|
|
1743
1788
|
ref,
|
|
1744
|
-
children: /* @__PURE__ */ (0,
|
|
1789
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Typo, { color: "red", children })
|
|
1745
1790
|
})
|
|
1746
1791
|
);
|
|
1747
1792
|
}
|
|
@@ -1751,7 +1796,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
1751
1796
|
(_a, ref) => {
|
|
1752
1797
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
1753
1798
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
1754
|
-
return /* @__PURE__ */ (0,
|
|
1799
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1755
1800
|
RadixForm.Control,
|
|
1756
1801
|
__spreadProps(__spreadValues({}, rest), {
|
|
1757
1802
|
className: `FormControl ${className || ""}`,
|
|
@@ -1774,10 +1819,10 @@ function FormItem(_a) {
|
|
|
1774
1819
|
"children",
|
|
1775
1820
|
"errorMessage"
|
|
1776
1821
|
]);
|
|
1777
|
-
return /* @__PURE__ */ (0,
|
|
1778
|
-
/* @__PURE__ */ (0,
|
|
1822
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
1823
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
1779
1824
|
children,
|
|
1780
|
-
/* @__PURE__ */ (0,
|
|
1825
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
1781
1826
|
] }));
|
|
1782
1827
|
}
|
|
1783
1828
|
var Form = {
|
|
@@ -1792,7 +1837,7 @@ var Form = {
|
|
|
1792
1837
|
|
|
1793
1838
|
// src/atoms/auto-sizing-input.tsx
|
|
1794
1839
|
var import_react19 = require("react");
|
|
1795
|
-
var
|
|
1840
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1796
1841
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
1797
1842
|
(_a, ref) => {
|
|
1798
1843
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -1831,7 +1876,7 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1831
1876
|
},
|
|
1832
1877
|
[onClick]
|
|
1833
1878
|
);
|
|
1834
|
-
return /* @__PURE__ */ (0,
|
|
1879
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
1835
1880
|
"div",
|
|
1836
1881
|
{
|
|
1837
1882
|
className: "auto-sizing-input wrapper",
|
|
@@ -1841,8 +1886,8 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1841
1886
|
style: { width: `${width + 24}px` },
|
|
1842
1887
|
tabIndex: 0,
|
|
1843
1888
|
children: [
|
|
1844
|
-
/* @__PURE__ */ (0,
|
|
1845
|
-
/* @__PURE__ */ (0,
|
|
1889
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { "aria-hidden": "true", ref: span, style: rest.style, children: value || rest.placeholder || "" }),
|
|
1890
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1846
1891
|
"input",
|
|
1847
1892
|
__spreadValues({
|
|
1848
1893
|
onChange: changeHandler,
|
|
@@ -1858,16 +1903,16 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1858
1903
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
1859
1904
|
|
|
1860
1905
|
// src/atoms/bullet-text.tsx
|
|
1861
|
-
var
|
|
1906
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1862
1907
|
function BulletText(_a) {
|
|
1863
1908
|
var _b = _a, {
|
|
1864
1909
|
children
|
|
1865
1910
|
} = _b, rest = __objRest(_b, [
|
|
1866
1911
|
"children"
|
|
1867
1912
|
]);
|
|
1868
|
-
return /* @__PURE__ */ (0,
|
|
1869
|
-
/* @__PURE__ */ (0,
|
|
1870
|
-
/* @__PURE__ */ (0,
|
|
1913
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1914
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1915
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
1871
1916
|
] });
|
|
1872
1917
|
}
|
|
1873
1918
|
|
|
@@ -1878,7 +1923,7 @@ var import_react21 = require("react");
|
|
|
1878
1923
|
// src/molecules/expand-table/row.tsx
|
|
1879
1924
|
var import_react_table = require("@tanstack/react-table");
|
|
1880
1925
|
var import_react20 = require("react");
|
|
1881
|
-
var
|
|
1926
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1882
1927
|
function Row(props) {
|
|
1883
1928
|
const { row, ExpandComp, gridTemplateColumns, getRowStyle, getCellStyle } = props;
|
|
1884
1929
|
const [open, setOpen] = (0, import_react20.useState)(false);
|
|
@@ -1897,8 +1942,8 @@ function Row(props) {
|
|
|
1897
1942
|
}
|
|
1898
1943
|
return baseCls.join(" ");
|
|
1899
1944
|
}, [ExpandComp, props.onRowClick]);
|
|
1900
|
-
return /* @__PURE__ */ (0,
|
|
1901
|
-
/* @__PURE__ */ (0,
|
|
1945
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: rowClassName, children: [
|
|
1946
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1902
1947
|
"button",
|
|
1903
1948
|
{
|
|
1904
1949
|
className: "tr",
|
|
@@ -1911,7 +1956,7 @@ function Row(props) {
|
|
|
1911
1956
|
var _a, _b, _c;
|
|
1912
1957
|
const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
|
|
1913
1958
|
const justifyContent = ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) || props.defaultAlign;
|
|
1914
|
-
return /* @__PURE__ */ (0,
|
|
1959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1915
1960
|
"div",
|
|
1916
1961
|
{
|
|
1917
1962
|
className: "td",
|
|
@@ -1922,7 +1967,7 @@ function Row(props) {
|
|
|
1922
1967
|
}, (getCellStyle == null ? void 0 : getCellStyle(row.original)) || {}),
|
|
1923
1968
|
children: [
|
|
1924
1969
|
(0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
1925
|
-
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0,
|
|
1970
|
+
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1926
1971
|
cell.column.columnDef.meta.OpenBtn,
|
|
1927
1972
|
{
|
|
1928
1973
|
data: row.original,
|
|
@@ -1938,12 +1983,12 @@ function Row(props) {
|
|
|
1938
1983
|
},
|
|
1939
1984
|
`tr_${row.id}`
|
|
1940
1985
|
),
|
|
1941
|
-
ExpandComp ? /* @__PURE__ */ (0,
|
|
1986
|
+
ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ExpandComp, { row }) }) }) : null
|
|
1942
1987
|
] }, `tr-wrapper_${row.id}`);
|
|
1943
1988
|
}
|
|
1944
1989
|
|
|
1945
1990
|
// src/molecules/expand-table/index.tsx
|
|
1946
|
-
var
|
|
1991
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1947
1992
|
function ExpandTable(props) {
|
|
1948
1993
|
const {
|
|
1949
1994
|
data,
|
|
@@ -1996,7 +2041,7 @@ function ExpandTable(props) {
|
|
|
1996
2041
|
const helpCompRender = (0, import_react21.useCallback)(
|
|
1997
2042
|
(rowLength) => {
|
|
1998
2043
|
if (isLoading) {
|
|
1999
|
-
return /* @__PURE__ */ (0,
|
|
2044
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2000
2045
|
import_themes22.Flex,
|
|
2001
2046
|
{
|
|
2002
2047
|
align: "center",
|
|
@@ -2004,12 +2049,12 @@ function ExpandTable(props) {
|
|
|
2004
2049
|
justify: "center",
|
|
2005
2050
|
p: "5",
|
|
2006
2051
|
width: "100%",
|
|
2007
|
-
children: /* @__PURE__ */ (0,
|
|
2052
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes49.Spinner, {})
|
|
2008
2053
|
}
|
|
2009
2054
|
);
|
|
2010
2055
|
}
|
|
2011
2056
|
if (rowLength === 0) {
|
|
2012
|
-
return /* @__PURE__ */ (0,
|
|
2057
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes22.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder");
|
|
2013
2058
|
}
|
|
2014
2059
|
return null;
|
|
2015
2060
|
},
|
|
@@ -2019,9 +2064,9 @@ function ExpandTable(props) {
|
|
|
2019
2064
|
if (!data) return 0;
|
|
2020
2065
|
return Math.ceil(data.length / pageSize);
|
|
2021
2066
|
}, [data, pageSize]);
|
|
2022
|
-
return /* @__PURE__ */ (0,
|
|
2023
|
-
/* @__PURE__ */ (0,
|
|
2024
|
-
/* @__PURE__ */ (0,
|
|
2067
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "expand-table-wrapper", children: [
|
|
2068
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2025
2070
|
"div",
|
|
2026
2071
|
{
|
|
2027
2072
|
className: "tr",
|
|
@@ -2031,30 +2076,30 @@ function ExpandTable(props) {
|
|
|
2031
2076
|
const sortable = header.column.getCanSort();
|
|
2032
2077
|
const sortedState = header.column.getIsSorted();
|
|
2033
2078
|
const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
|
|
2034
|
-
return /* @__PURE__ */ (0,
|
|
2079
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
2035
2080
|
"button",
|
|
2036
2081
|
{
|
|
2037
2082
|
onClick: header.column.getToggleSortingHandler(),
|
|
2038
2083
|
style: sortable ? { cursor: "pointer" } : { cursor: "default" },
|
|
2039
2084
|
type: "button",
|
|
2040
2085
|
children: [
|
|
2041
|
-
/* @__PURE__ */ (0,
|
|
2086
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
|
|
2042
2087
|
header.column.columnDef.header,
|
|
2043
2088
|
header.getContext()
|
|
2044
2089
|
) }),
|
|
2045
|
-
sortable ? /* @__PURE__ */ (0,
|
|
2090
|
+
sortable ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
2046
2091
|
import_themes22.Flex,
|
|
2047
2092
|
{
|
|
2048
2093
|
direction: "column",
|
|
2049
2094
|
style: { marginLeft: "var(--space-2)" },
|
|
2050
2095
|
children: [
|
|
2051
|
-
/* @__PURE__ */ (0,
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2052
2097
|
TriangleArrowUpIcon,
|
|
2053
2098
|
{
|
|
2054
2099
|
color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
2055
2100
|
}
|
|
2056
2101
|
),
|
|
2057
|
-
/* @__PURE__ */ (0,
|
|
2102
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2058
2103
|
TriangleArrowDownIcon,
|
|
2059
2104
|
{
|
|
2060
2105
|
color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
@@ -2070,8 +2115,8 @@ function ExpandTable(props) {
|
|
|
2070
2115
|
},
|
|
2071
2116
|
headerGroup.id
|
|
2072
2117
|
)) }),
|
|
2073
|
-
/* @__PURE__ */ (0,
|
|
2074
|
-
return /* @__PURE__ */ (0,
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
|
|
2119
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2075
2120
|
Row,
|
|
2076
2121
|
{
|
|
2077
2122
|
ExpandComp,
|
|
@@ -2086,7 +2131,7 @@ function ExpandTable(props) {
|
|
|
2086
2131
|
);
|
|
2087
2132
|
}) })
|
|
2088
2133
|
] }),
|
|
2089
|
-
showPagination ? /* @__PURE__ */ (0,
|
|
2134
|
+
showPagination ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes22.Flex, { justify: "end", pt: "3", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2090
2135
|
Pagination,
|
|
2091
2136
|
{
|
|
2092
2137
|
count: pageCount,
|
|
@@ -2099,14 +2144,14 @@ function ExpandTable(props) {
|
|
|
2099
2144
|
}
|
|
2100
2145
|
|
|
2101
2146
|
// src/molecules/navigation.tsx
|
|
2102
|
-
var
|
|
2147
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2103
2148
|
function Navigation({
|
|
2104
2149
|
items,
|
|
2105
2150
|
fontColor,
|
|
2106
2151
|
backgroundColor,
|
|
2107
2152
|
activeKey
|
|
2108
2153
|
}) {
|
|
2109
|
-
return /* @__PURE__ */ (0,
|
|
2154
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2110
2155
|
import_themes22.Flex,
|
|
2111
2156
|
{
|
|
2112
2157
|
direction: "column",
|
|
@@ -2118,13 +2163,13 @@ function Navigation({
|
|
|
2118
2163
|
},
|
|
2119
2164
|
children: items == null ? void 0 : items.map((item) => {
|
|
2120
2165
|
const { key, title, icon, itemRender, onClick, children } = item;
|
|
2121
|
-
return /* @__PURE__ */ (0,
|
|
2122
|
-
itemRender ? itemRender(item) : /* @__PURE__ */ (0,
|
|
2166
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { direction: "column", onClick, children: [
|
|
2167
|
+
itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
|
|
2123
2168
|
icon,
|
|
2124
|
-
/* @__PURE__ */ (0,
|
|
2169
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Typo, { variant: "subtitle", children: title })
|
|
2125
2170
|
] }),
|
|
2126
2171
|
children == null ? void 0 : children.map((menu) => {
|
|
2127
|
-
return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0,
|
|
2172
|
+
return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2128
2173
|
Button,
|
|
2129
2174
|
{
|
|
2130
2175
|
className: `tipp-navigation-button ${activeKey === menu.key ? "active" : ""}`,
|
|
@@ -2151,12 +2196,12 @@ function Navigation({
|
|
|
2151
2196
|
var import_react22 = require("react");
|
|
2152
2197
|
var import_react_datepicker = __toESM(require("react-datepicker"), 1);
|
|
2153
2198
|
var import_locale = require("date-fns/locale");
|
|
2154
|
-
var
|
|
2199
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2155
2200
|
var DatePicker = (0, import_react22.forwardRef)(
|
|
2156
2201
|
(props, ref) => {
|
|
2157
2202
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
2158
2203
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
2159
|
-
return /* @__PURE__ */ (0,
|
|
2204
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2160
2205
|
import_react_datepicker.default,
|
|
2161
2206
|
__spreadProps(__spreadValues({
|
|
2162
2207
|
dateFormat: "yyyy/MM/dd h:mm aa",
|
|
@@ -2189,35 +2234,35 @@ var renderCustomHeader = (props) => {
|
|
|
2189
2234
|
} = props;
|
|
2190
2235
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
2191
2236
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
2192
|
-
return /* @__PURE__ */ (0,
|
|
2193
|
-
/* @__PURE__ */ (0,
|
|
2237
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
2238
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2194
2239
|
import_themes18.IconButton,
|
|
2195
2240
|
{
|
|
2196
2241
|
disabled: prevMonthButtonDisabled,
|
|
2197
2242
|
onClick: decreaseMonth,
|
|
2198
2243
|
type: "button",
|
|
2199
2244
|
variant: "ghost",
|
|
2200
|
-
children: /* @__PURE__ */ (0,
|
|
2245
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_icons2.ChevronLeftIcon, {})
|
|
2201
2246
|
}
|
|
2202
2247
|
),
|
|
2203
|
-
/* @__PURE__ */ (0,
|
|
2204
|
-
/* @__PURE__ */ (0,
|
|
2248
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
2249
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
2205
2250
|
year,
|
|
2206
2251
|
"\uB144"
|
|
2207
2252
|
] }),
|
|
2208
|
-
/* @__PURE__ */ (0,
|
|
2253
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
2209
2254
|
month,
|
|
2210
2255
|
"\uC6D4"
|
|
2211
2256
|
] })
|
|
2212
2257
|
] }),
|
|
2213
|
-
/* @__PURE__ */ (0,
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2214
2259
|
import_themes18.IconButton,
|
|
2215
2260
|
{
|
|
2216
2261
|
disabled: nextMonthButtonDisabled,
|
|
2217
2262
|
onClick: increaseMonth,
|
|
2218
2263
|
type: "button",
|
|
2219
2264
|
variant: "ghost",
|
|
2220
|
-
children: /* @__PURE__ */ (0,
|
|
2265
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_icons2.ChevronRightIcon, {})
|
|
2221
2266
|
}
|
|
2222
2267
|
)
|
|
2223
2268
|
] });
|
|
@@ -2226,7 +2271,7 @@ var renderCustomHeader = (props) => {
|
|
|
2226
2271
|
// src/molecules/dot-navigation.tsx
|
|
2227
2272
|
var import_react23 = require("react");
|
|
2228
2273
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
2229
|
-
var
|
|
2274
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2230
2275
|
function DotNavigation(props) {
|
|
2231
2276
|
const { dotCount, onClick, dotIndex, defaultDotIndex, onChangeDotIndex } = props;
|
|
2232
2277
|
const [currentDot, setCurrentDot] = (0, import_react23.useState)(
|
|
@@ -2252,9 +2297,9 @@ function DotNavigation(props) {
|
|
|
2252
2297
|
if (typeof dotIndex === "undefined") return;
|
|
2253
2298
|
setCurrentDot(dotIndex);
|
|
2254
2299
|
}, [dotIndex]);
|
|
2255
|
-
return /* @__PURE__ */ (0,
|
|
2300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes22.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
|
|
2256
2301
|
const isSelected = currentDot === index;
|
|
2257
|
-
return /* @__PURE__ */ (0,
|
|
2302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2258
2303
|
import_react_icons4.DotFilledIcon,
|
|
2259
2304
|
{
|
|
2260
2305
|
height: "24px",
|
|
@@ -2275,7 +2320,7 @@ function DotNavigation(props) {
|
|
|
2275
2320
|
// src/molecules/stepper.tsx
|
|
2276
2321
|
var import_react24 = require("react");
|
|
2277
2322
|
var import_themes51 = require("@radix-ui/themes");
|
|
2278
|
-
var
|
|
2323
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2279
2324
|
var StepContext = (0, import_react24.createContext)({
|
|
2280
2325
|
active: false,
|
|
2281
2326
|
completed: false,
|
|
@@ -2290,7 +2335,7 @@ function Root9(props) {
|
|
|
2290
2335
|
maxWidth,
|
|
2291
2336
|
direction = "vertical"
|
|
2292
2337
|
} = props;
|
|
2293
|
-
return /* @__PURE__ */ (0,
|
|
2338
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2294
2339
|
import_themes22.Flex,
|
|
2295
2340
|
{
|
|
2296
2341
|
gap: "3",
|
|
@@ -2300,7 +2345,7 @@ function Root9(props) {
|
|
|
2300
2345
|
maxWidth
|
|
2301
2346
|
},
|
|
2302
2347
|
children: import_react24.Children.map(children, (child, index) => {
|
|
2303
|
-
return /* @__PURE__ */ (0,
|
|
2348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2304
2349
|
StepContext.Provider,
|
|
2305
2350
|
{
|
|
2306
2351
|
value: {
|
|
@@ -2324,7 +2369,7 @@ function Step(props) {
|
|
|
2324
2369
|
index,
|
|
2325
2370
|
direction = "vertical"
|
|
2326
2371
|
} = (0, import_react24.useContext)(StepContext);
|
|
2327
|
-
const connector = index > 0 ? /* @__PURE__ */ (0,
|
|
2372
|
+
const connector = index > 0 ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2328
2373
|
import_themes51.Separator,
|
|
2329
2374
|
{
|
|
2330
2375
|
style: {
|
|
@@ -2344,7 +2389,7 @@ function Step(props) {
|
|
|
2344
2389
|
}
|
|
2345
2390
|
return IncompleteStep;
|
|
2346
2391
|
}, [completed, active]);
|
|
2347
|
-
return /* @__PURE__ */ (0,
|
|
2392
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
2348
2393
|
import_themes22.Flex,
|
|
2349
2394
|
{
|
|
2350
2395
|
align: "center",
|
|
@@ -2354,7 +2399,7 @@ function Step(props) {
|
|
|
2354
2399
|
style: { flex: 1 },
|
|
2355
2400
|
children: [
|
|
2356
2401
|
connector,
|
|
2357
|
-
/* @__PURE__ */ (0,
|
|
2402
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(InnerStep, { Icon, children })
|
|
2358
2403
|
]
|
|
2359
2404
|
}
|
|
2360
2405
|
);
|
|
@@ -2365,11 +2410,11 @@ function CompleteStep(props) {
|
|
|
2365
2410
|
const background = "var(--accent-a4)";
|
|
2366
2411
|
const border = "1px solid var(--accent-7)";
|
|
2367
2412
|
const color = "var(--accent-contrast)";
|
|
2368
|
-
return /* @__PURE__ */ (0,
|
|
2369
|
-
Icon ? /* @__PURE__ */ (0,
|
|
2413
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
2414
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2370
2415
|
Avatar,
|
|
2371
2416
|
{
|
|
2372
|
-
fallback: /* @__PURE__ */ (0,
|
|
2417
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_icons2.CheckIcon, { fill: color, height: 16, width: 16 }),
|
|
2373
2418
|
radius: "full",
|
|
2374
2419
|
size: "medium",
|
|
2375
2420
|
style: {
|
|
@@ -2378,7 +2423,7 @@ function CompleteStep(props) {
|
|
|
2378
2423
|
}
|
|
2379
2424
|
}
|
|
2380
2425
|
),
|
|
2381
|
-
/* @__PURE__ */ (0,
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { align: "center", variant: "caption", children })
|
|
2382
2427
|
] });
|
|
2383
2428
|
}
|
|
2384
2429
|
function IncompleteStep(props) {
|
|
@@ -2386,11 +2431,11 @@ function IncompleteStep(props) {
|
|
|
2386
2431
|
const { completed, active, index } = (0, import_react24.useContext)(StepContext);
|
|
2387
2432
|
const background = "var(--gray-5)";
|
|
2388
2433
|
const color = "var(--gray-a11)";
|
|
2389
|
-
return /* @__PURE__ */ (0,
|
|
2390
|
-
Icon ? /* @__PURE__ */ (0,
|
|
2434
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
2435
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2391
2436
|
Avatar,
|
|
2392
2437
|
{
|
|
2393
|
-
fallback: /* @__PURE__ */ (0,
|
|
2438
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { style: { color }, children: index + 1 }),
|
|
2394
2439
|
radius: "full",
|
|
2395
2440
|
size: "medium",
|
|
2396
2441
|
style: {
|
|
@@ -2398,7 +2443,7 @@ function IncompleteStep(props) {
|
|
|
2398
2443
|
}
|
|
2399
2444
|
}
|
|
2400
2445
|
),
|
|
2401
|
-
/* @__PURE__ */ (0,
|
|
2446
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { align: "center", style: { color }, variant: "caption", children })
|
|
2402
2447
|
] });
|
|
2403
2448
|
}
|
|
2404
2449
|
function ActiveStep(props) {
|
|
@@ -2406,17 +2451,17 @@ function ActiveStep(props) {
|
|
|
2406
2451
|
const { completed, active, index } = (0, import_react24.useContext)(StepContext);
|
|
2407
2452
|
const background = "var(--accent-10)";
|
|
2408
2453
|
const color = "var(--accent-contrast)";
|
|
2409
|
-
return /* @__PURE__ */ (0,
|
|
2410
|
-
Icon ? /* @__PURE__ */ (0,
|
|
2454
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
2455
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2411
2456
|
Avatar,
|
|
2412
2457
|
{
|
|
2413
|
-
fallback: /* @__PURE__ */ (0,
|
|
2458
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { style: { color }, weight: "bold", children: index + 1 }),
|
|
2414
2459
|
radius: "full",
|
|
2415
2460
|
size: "medium",
|
|
2416
2461
|
style: { background }
|
|
2417
2462
|
}
|
|
2418
2463
|
),
|
|
2419
|
-
/* @__PURE__ */ (0,
|
|
2464
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { align: "center", variant: "caption", weight: "bold", children })
|
|
2420
2465
|
] });
|
|
2421
2466
|
}
|
|
2422
2467
|
var Stepper = {
|
|
@@ -2427,7 +2472,7 @@ var Stepper = {
|
|
|
2427
2472
|
// src/molecules/tag-selector.tsx
|
|
2428
2473
|
var import_react25 = require("react");
|
|
2429
2474
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
2430
|
-
var
|
|
2475
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2431
2476
|
var OPTION_HEIGHT = 32;
|
|
2432
2477
|
var DefaultDropdownContainer = (props) => {
|
|
2433
2478
|
return props.children;
|
|
@@ -2611,11 +2656,11 @@ function TagSelector(props) {
|
|
|
2611
2656
|
const focusClassName = focus ? " focused" : "";
|
|
2612
2657
|
const readOnlyClassName = readOnly ? " read-only" : "";
|
|
2613
2658
|
const errorClassName = error ? " error" : "";
|
|
2614
|
-
const readonlyContent = /* @__PURE__ */ (0,
|
|
2615
|
-
return tagRender ? tagRender(item) : /* @__PURE__ */ (0,
|
|
2659
|
+
const readonlyContent = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes22.Flex, { gap: "1", children: selectedItem.map((item) => {
|
|
2660
|
+
return tagRender ? tagRender(item) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Badge, { size: badgeSize, children: item.name }, item.id);
|
|
2616
2661
|
}) });
|
|
2617
|
-
const editContent = /* @__PURE__ */ (0,
|
|
2618
|
-
/* @__PURE__ */ (0,
|
|
2662
|
+
const editContent = /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
|
|
2663
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
2619
2664
|
import_themes22.Flex,
|
|
2620
2665
|
{
|
|
2621
2666
|
align: "center",
|
|
@@ -2627,22 +2672,22 @@ function TagSelector(props) {
|
|
|
2627
2672
|
selectedItem.map((item) => {
|
|
2628
2673
|
return tagRender ? tagRender(item, () => {
|
|
2629
2674
|
onDelete(item.id);
|
|
2630
|
-
}) : /* @__PURE__ */ (0,
|
|
2675
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Badge, { size: badgeSize, children: [
|
|
2631
2676
|
item.name,
|
|
2632
|
-
/* @__PURE__ */ (0,
|
|
2677
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2633
2678
|
Button,
|
|
2634
2679
|
{
|
|
2635
2680
|
onClick: () => {
|
|
2636
2681
|
onDelete(item.id);
|
|
2637
2682
|
},
|
|
2638
2683
|
variant: "transparent",
|
|
2639
|
-
children: /* @__PURE__ */ (0,
|
|
2684
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_icons5.Cross1Icon, {})
|
|
2640
2685
|
}
|
|
2641
2686
|
)
|
|
2642
2687
|
] }, item.id);
|
|
2643
2688
|
}),
|
|
2644
|
-
placeholderVisible ? /* @__PURE__ */ (0,
|
|
2645
|
-
/* @__PURE__ */ (0,
|
|
2689
|
+
placeholderVisible ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Typo, { color: "gray", variant: placeholderVariant, children: placeholder }) : null,
|
|
2690
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2646
2691
|
AutoSizingInput,
|
|
2647
2692
|
{
|
|
2648
2693
|
onBlur,
|
|
@@ -2656,10 +2701,10 @@ function TagSelector(props) {
|
|
|
2656
2701
|
]
|
|
2657
2702
|
}
|
|
2658
2703
|
),
|
|
2659
|
-
focus ? /* @__PURE__ */ (0,
|
|
2704
|
+
focus ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_icons5.MagnifyingGlassIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_icons5.ChevronRightIcon, {})
|
|
2660
2705
|
] });
|
|
2661
|
-
return /* @__PURE__ */ (0,
|
|
2662
|
-
/* @__PURE__ */ (0,
|
|
2706
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes29.Popover.Root, { open: Boolean(filteredOptions.length) && propsOpen || open, children: [
|
|
2707
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes29.Popover.Trigger, { style: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2663
2708
|
import_themes23.Grid,
|
|
2664
2709
|
{
|
|
2665
2710
|
align: "center",
|
|
@@ -2673,31 +2718,31 @@ function TagSelector(props) {
|
|
|
2673
2718
|
children: readOnly ? readonlyContent : editContent
|
|
2674
2719
|
}
|
|
2675
2720
|
) }),
|
|
2676
|
-
/* @__PURE__ */ (0,
|
|
2721
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2677
2722
|
import_themes29.Popover.Content,
|
|
2678
2723
|
{
|
|
2679
2724
|
onOpenAutoFocus: preventDefault3,
|
|
2680
2725
|
onTouchMove: stopPropagationTouch,
|
|
2681
2726
|
onWheel: stopPropagationWheel,
|
|
2682
2727
|
sticky: "always",
|
|
2683
|
-
children: /* @__PURE__ */ (0,
|
|
2728
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2684
2729
|
DropdownContainer,
|
|
2685
2730
|
{
|
|
2686
2731
|
currentItem: filteredOptions[focusIndex || 0],
|
|
2687
2732
|
items: filteredOptions,
|
|
2688
|
-
children: /* @__PURE__ */ (0,
|
|
2733
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2689
2734
|
import_themes35.ScrollArea,
|
|
2690
2735
|
{
|
|
2691
2736
|
ref: scrollRef,
|
|
2692
2737
|
scrollbars: "vertical",
|
|
2693
2738
|
style: { height: OPTION_HEIGHT * 8 },
|
|
2694
2739
|
type: "auto",
|
|
2695
|
-
children: /* @__PURE__ */ (0,
|
|
2740
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes22.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
|
|
2696
2741
|
const isSelected = Boolean(
|
|
2697
2742
|
selected.find((el) => el === item.id)
|
|
2698
2743
|
);
|
|
2699
2744
|
const isFocus = i === focusIndex;
|
|
2700
|
-
return /* @__PURE__ */ (0,
|
|
2745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2701
2746
|
Button,
|
|
2702
2747
|
{
|
|
2703
2748
|
className: `tag-selector-button ${isFocus ? "focused" : ""}`,
|
|
@@ -2710,9 +2755,9 @@ function TagSelector(props) {
|
|
|
2710
2755
|
setFocusIndex(i);
|
|
2711
2756
|
},
|
|
2712
2757
|
variant: isSelected ? "soft" : "outline",
|
|
2713
|
-
children: /* @__PURE__ */ (0,
|
|
2758
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { justify: "between", width: "100%", children: [
|
|
2714
2759
|
dropdownItemRender ? dropdownItemRender(item) : item.name,
|
|
2715
|
-
isSelected ? /* @__PURE__ */ (0,
|
|
2760
|
+
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_icons2.CheckIcon, {}) : null
|
|
2716
2761
|
] })
|
|
2717
2762
|
},
|
|
2718
2763
|
item.id
|
|
@@ -2738,13 +2783,13 @@ var preventDefault3 = (e) => {
|
|
|
2738
2783
|
|
|
2739
2784
|
// src/theme/theme-provider.tsx
|
|
2740
2785
|
var import_themes52 = require("@radix-ui/themes");
|
|
2741
|
-
var
|
|
2786
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2742
2787
|
function ThemeProvider(props) {
|
|
2743
|
-
return /* @__PURE__ */ (0,
|
|
2788
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes52.Theme, __spreadValues({ accentColor: "iris", radius: "medium" }, props));
|
|
2744
2789
|
}
|
|
2745
2790
|
|
|
2746
2791
|
// src/molecules/learning-post.tsx
|
|
2747
|
-
var
|
|
2792
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
2748
2793
|
function LearningPost(props) {
|
|
2749
2794
|
const {
|
|
2750
2795
|
defaultThemeProps,
|
|
@@ -2756,13 +2801,13 @@ function LearningPost(props) {
|
|
|
2756
2801
|
onPageBack,
|
|
2757
2802
|
children
|
|
2758
2803
|
} = props;
|
|
2759
|
-
return /* @__PURE__ */ (0,
|
|
2804
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2760
2805
|
ThemeProvider,
|
|
2761
2806
|
__spreadProps(__spreadValues({}, defaultThemeProps), {
|
|
2762
2807
|
accentColor: "iris",
|
|
2763
2808
|
scaling: "110%",
|
|
2764
2809
|
style: {},
|
|
2765
|
-
children: html ? /* @__PURE__ */ (0,
|
|
2810
|
+
children: html ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2766
2811
|
import_themes23.Grid,
|
|
2767
2812
|
{
|
|
2768
2813
|
columns: { initial: "1", md: "130px 1fr 130px" },
|
|
@@ -2774,8 +2819,8 @@ function LearningPost(props) {
|
|
|
2774
2819
|
px: "4",
|
|
2775
2820
|
width: "100%",
|
|
2776
2821
|
children: [
|
|
2777
|
-
/* @__PURE__ */ (0,
|
|
2778
|
-
/* @__PURE__ */ (0,
|
|
2822
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {}),
|
|
2823
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2779
2824
|
import_themes22.Flex,
|
|
2780
2825
|
{
|
|
2781
2826
|
align: "center",
|
|
@@ -2785,15 +2830,15 @@ function LearningPost(props) {
|
|
|
2785
2830
|
overflow: "hidden",
|
|
2786
2831
|
width: "100%",
|
|
2787
2832
|
children: [
|
|
2788
|
-
/* @__PURE__ */ (0,
|
|
2789
|
-
/* @__PURE__ */ (0,
|
|
2833
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes23.Grid, { align: "start", columns: { initial: "1", sm: "2" }, gap: "2", children: [
|
|
2834
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2790
2835
|
import_themes23.Grid,
|
|
2791
2836
|
{
|
|
2792
2837
|
gap: "3",
|
|
2793
2838
|
mb: { initial: "4", sm: "0" },
|
|
2794
2839
|
style: { alignSelf: "flex-start" },
|
|
2795
2840
|
children: [
|
|
2796
|
-
/* @__PURE__ */ (0,
|
|
2841
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2797
2842
|
Heading2,
|
|
2798
2843
|
{
|
|
2799
2844
|
style: {
|
|
@@ -2805,16 +2850,16 @@ function LearningPost(props) {
|
|
|
2805
2850
|
children: title
|
|
2806
2851
|
}
|
|
2807
2852
|
),
|
|
2808
|
-
/* @__PURE__ */ (0,
|
|
2809
|
-
/* @__PURE__ */ (0,
|
|
2853
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Typo, { children: metaDescription }),
|
|
2854
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes22.Flex, { gap: "1", wrap: "wrap", children: tags == null ? void 0 : tags.map((el) => {
|
|
2810
2855
|
var _a;
|
|
2811
2856
|
if ((_a = el.name) == null ? void 0 : _a.startsWith("filter")) return;
|
|
2812
|
-
return /* @__PURE__ */ (0,
|
|
2857
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge, { size: "large", variant: "solid", children: el.name }, el.id);
|
|
2813
2858
|
}) })
|
|
2814
2859
|
]
|
|
2815
2860
|
}
|
|
2816
2861
|
),
|
|
2817
|
-
/* @__PURE__ */ (0,
|
|
2862
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2818
2863
|
import_themes2.AspectRatio,
|
|
2819
2864
|
{
|
|
2820
2865
|
ratio: 5 / 3,
|
|
@@ -2827,7 +2872,7 @@ function LearningPost(props) {
|
|
|
2827
2872
|
}
|
|
2828
2873
|
)
|
|
2829
2874
|
] }),
|
|
2830
|
-
/* @__PURE__ */ (0,
|
|
2875
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes6.Box, { mt: "5", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2831
2876
|
"div",
|
|
2832
2877
|
{
|
|
2833
2878
|
className: "gh-content",
|
|
@@ -2840,7 +2885,7 @@ function LearningPost(props) {
|
|
|
2840
2885
|
children
|
|
2841
2886
|
]
|
|
2842
2887
|
}
|
|
2843
|
-
) : /* @__PURE__ */ (0,
|
|
2888
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2844
2889
|
import_themes22.Flex,
|
|
2845
2890
|
{
|
|
2846
2891
|
align: "center",
|
|
@@ -2850,8 +2895,8 @@ function LearningPost(props) {
|
|
|
2850
2895
|
justify: "center",
|
|
2851
2896
|
width: "100%",
|
|
2852
2897
|
children: [
|
|
2853
|
-
/* @__PURE__ */ (0,
|
|
2854
|
-
/* @__PURE__ */ (0,
|
|
2898
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Heading2, { variant: "heading1", children: "\uCF58\uD150\uCE20\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." }),
|
|
2899
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2855
2900
|
Heading2,
|
|
2856
2901
|
{
|
|
2857
2902
|
align: "center",
|
|
@@ -2862,7 +2907,7 @@ function LearningPost(props) {
|
|
|
2862
2907
|
\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694.`
|
|
2863
2908
|
}
|
|
2864
2909
|
),
|
|
2865
|
-
/* @__PURE__ */ (0,
|
|
2910
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { onClick: onPageBack, size: "large", children: "\uB4A4\uB85C\uAC00\uAE30" })
|
|
2866
2911
|
]
|
|
2867
2912
|
}
|
|
2868
2913
|
)
|
|
@@ -2872,9 +2917,9 @@ function LearningPost(props) {
|
|
|
2872
2917
|
|
|
2873
2918
|
// src/molecules/force-refresh.tsx
|
|
2874
2919
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
2875
|
-
var
|
|
2920
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2876
2921
|
function CodeSize3(props) {
|
|
2877
|
-
return /* @__PURE__ */ (0,
|
|
2922
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2878
2923
|
import_themes13.Code,
|
|
2879
2924
|
{
|
|
2880
2925
|
style: {
|
|
@@ -2887,51 +2932,51 @@ function CodeSize3(props) {
|
|
|
2887
2932
|
);
|
|
2888
2933
|
}
|
|
2889
2934
|
function ForceRefresh() {
|
|
2890
|
-
return /* @__PURE__ */ (0,
|
|
2891
|
-
/* @__PURE__ */ (0,
|
|
2935
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2936
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2892
2937
|
"1. \uD06C\uB86C \uBE0C\uB77C\uC6B0\uC800 \uC624\uB978\uCABD \uC0C1\uB2E8\uC758",
|
|
2893
2938
|
" ",
|
|
2894
|
-
/* @__PURE__ */ (0,
|
|
2895
|
-
/* @__PURE__ */ (0,
|
|
2939
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(CodeSize3, { children: [
|
|
2940
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons6.DotsVerticalIcon, { height: "13px" }),
|
|
2896
2941
|
"\uB354\uBCF4\uAE30"
|
|
2897
2942
|
] }),
|
|
2898
2943
|
"\uC544\uC774\uCF58\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2899
2944
|
] }),
|
|
2900
|
-
/* @__PURE__ */ (0,
|
|
2945
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2901
2946
|
"2. ",
|
|
2902
|
-
/* @__PURE__ */ (0,
|
|
2947
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CodeSize3, { children: "\uB3C4\uAD6C \uB354\uBCF4\uAE30" }),
|
|
2903
2948
|
" ",
|
|
2904
2949
|
">",
|
|
2905
2950
|
" ",
|
|
2906
|
-
/* @__PURE__ */ (0,
|
|
2951
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CodeSize3, { children: "\uAC1C\uBC1C\uC790 \uB3C4\uAD6C" }),
|
|
2907
2952
|
" \uBA54\uB274\uB97C \uC120\uD0DD\uD569\uB2C8\uB2E4. (\uB610\uB294 \uC544\uB798\uC758 \uB2E8\uCD95\uD0A4\uB97C \uC0AC\uC6A9 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.)"
|
|
2908
2953
|
] }),
|
|
2909
|
-
/* @__PURE__ */ (0,
|
|
2910
|
-
/* @__PURE__ */ (0,
|
|
2954
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", p: "0", pl: "3", children: [
|
|
2955
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2911
2956
|
"a. \uC708\uB3C4\uC6B0 \uB2E8\uCD95\uD0A4: ",
|
|
2912
|
-
/* @__PURE__ */ (0,
|
|
2957
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes26.Kbd, { children: "F12" })
|
|
2913
2958
|
] }),
|
|
2914
|
-
/* @__PURE__ */ (0,
|
|
2959
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2915
2960
|
"b. \uB9E5 \uB2E8\uCD95\uD0A4: ",
|
|
2916
|
-
/* @__PURE__ */ (0,
|
|
2961
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes26.Kbd, { children: "Option" }),
|
|
2917
2962
|
" + ",
|
|
2918
|
-
/* @__PURE__ */ (0,
|
|
2963
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes26.Kbd, { children: "Command" }),
|
|
2919
2964
|
" + ",
|
|
2920
|
-
/* @__PURE__ */ (0,
|
|
2965
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes26.Kbd, { children: "I" })
|
|
2921
2966
|
] })
|
|
2922
2967
|
] }),
|
|
2923
|
-
/* @__PURE__ */ (0,
|
|
2968
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2924
2969
|
"3. \uAC1C\uBC1C\uC790 \uB3C4\uAD6C\uAC00 \uC5F4\uB9AC\uBA74, \uBE0C\uB77C\uC6B0\uC800 \uC0C1\uB2E8\uC5D0 \uC788\uB294",
|
|
2925
2970
|
" ",
|
|
2926
|
-
/* @__PURE__ */ (0,
|
|
2927
|
-
/* @__PURE__ */ (0,
|
|
2971
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(CodeSize3, { children: [
|
|
2972
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons6.ReloadIcon, { style: { paddingRight: "5px" } }),
|
|
2928
2973
|
"\uC0C8\uB85C\uACE0\uCE68 \uBC84\uD2BC"
|
|
2929
2974
|
] }),
|
|
2930
2975
|
"\uC744 \uC6B0\uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2931
2976
|
] }),
|
|
2932
|
-
/* @__PURE__ */ (0,
|
|
2977
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2933
2978
|
"4. \uC0C8\uB85C\uACE0\uCE68 \uBA54\uB274\uC5D0\uC11C ",
|
|
2934
|
-
/* @__PURE__ */ (0,
|
|
2979
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CodeSize3, { children: "\uCE90\uC2DC \uBE44\uC6B0\uAE30 \uBC0F \uAC15\uB825 \uC0C8\uB85C\uACE0\uCE68" }),
|
|
2935
2980
|
"\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2936
2981
|
] })
|
|
2937
2982
|
] });
|
|
@@ -2941,7 +2986,7 @@ function ForceRefresh() {
|
|
|
2941
2986
|
var import_react26 = require("react");
|
|
2942
2987
|
var import_date_fns = require("date-fns");
|
|
2943
2988
|
var import_clsx2 = require("clsx");
|
|
2944
|
-
var
|
|
2989
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2945
2990
|
function DatePickerButton(props) {
|
|
2946
2991
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
2947
2992
|
const buttonProps = (0, import_react26.useMemo)(() => {
|
|
@@ -2961,12 +3006,12 @@ function DatePickerButton(props) {
|
|
|
2961
3006
|
(disabled || props.readOnly) && "disabled"
|
|
2962
3007
|
);
|
|
2963
3008
|
}, [disabled, props.readOnly]);
|
|
2964
|
-
return /* @__PURE__ */ (0,
|
|
3009
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2965
3010
|
DatePicker,
|
|
2966
3011
|
__spreadProps(__spreadValues({
|
|
2967
|
-
customInput: /* @__PURE__ */ (0,
|
|
3012
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, __spreadProps(__spreadValues({ className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
2968
3013
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
2969
|
-
/* @__PURE__ */ (0,
|
|
3014
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_icons2.CalendarIcon, {})
|
|
2970
3015
|
] }) })),
|
|
2971
3016
|
wrapperClassName: "full-width"
|
|
2972
3017
|
}, rest), {
|
|
@@ -3048,7 +3093,7 @@ var getTimeOption = (time) => {
|
|
|
3048
3093
|
};
|
|
3049
3094
|
|
|
3050
3095
|
// src/molecules/time-select.tsx
|
|
3051
|
-
var
|
|
3096
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
3052
3097
|
var getOptionValue = (date, timeValue) => {
|
|
3053
3098
|
if (date && timeValue) {
|
|
3054
3099
|
if ((0, import_date_fns2.format)(date, "yyyyMMdd") === (0, import_date_fns2.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -3074,21 +3119,21 @@ function TimeSelect(_a) {
|
|
|
3074
3119
|
const [minOption, maxOption] = (0, import_react27.useMemo)(() => {
|
|
3075
3120
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
3076
3121
|
}, [maxTime, minTime, time]);
|
|
3077
|
-
return /* @__PURE__ */ (0,
|
|
3078
|
-
/* @__PURE__ */ (0,
|
|
3079
|
-
/* @__PURE__ */ (0,
|
|
3122
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
3123
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
3124
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
3080
3125
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
3081
3126
|
if (!visible) {
|
|
3082
3127
|
return null;
|
|
3083
3128
|
}
|
|
3084
|
-
return /* @__PURE__ */ (0,
|
|
3129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Select.Item, { value: option, children: option }, option);
|
|
3085
3130
|
}) })
|
|
3086
3131
|
] }));
|
|
3087
3132
|
}
|
|
3088
3133
|
|
|
3089
3134
|
// src/molecules/radio-button-card.tsx
|
|
3090
3135
|
var import_react28 = require("react");
|
|
3091
|
-
var
|
|
3136
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
3092
3137
|
var RadioCardContext = (0, import_react28.createContext)({});
|
|
3093
3138
|
function Root10(props) {
|
|
3094
3139
|
const [value, setValue] = (0, import_react28.useState)(props.value || props.defaultValue);
|
|
@@ -3100,7 +3145,7 @@ function Root10(props) {
|
|
|
3100
3145
|
},
|
|
3101
3146
|
[props]
|
|
3102
3147
|
);
|
|
3103
|
-
return /* @__PURE__ */ (0,
|
|
3148
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes33.RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
3104
3149
|
}
|
|
3105
3150
|
function Item(_a) {
|
|
3106
3151
|
var _b = _a, {
|
|
@@ -3117,9 +3162,9 @@ function Item(_a) {
|
|
|
3117
3162
|
"justify",
|
|
3118
3163
|
"RadioWrapper"
|
|
3119
3164
|
]);
|
|
3120
|
-
return /* @__PURE__ */ (0,
|
|
3165
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
3121
3166
|
children,
|
|
3122
|
-
/* @__PURE__ */ (0,
|
|
3167
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3123
3168
|
import_themes32.Radio,
|
|
3124
3169
|
{
|
|
3125
3170
|
checked: itemRest.value === value,
|
|
@@ -3136,24 +3181,24 @@ var RadioButtonCard = {
|
|
|
3136
3181
|
|
|
3137
3182
|
// src/molecules/download-card.tsx
|
|
3138
3183
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
3139
|
-
var
|
|
3184
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
3140
3185
|
function DownloadCard({
|
|
3141
3186
|
fileName,
|
|
3142
3187
|
url,
|
|
3143
3188
|
createdAt,
|
|
3144
3189
|
size
|
|
3145
3190
|
}) {
|
|
3146
|
-
return /* @__PURE__ */ (0,
|
|
3191
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Link, { download: fileName, href: url, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3147
3192
|
import_themes18.IconButton,
|
|
3148
3193
|
{
|
|
3149
3194
|
mt: "3",
|
|
3150
3195
|
size: "4",
|
|
3151
3196
|
style: { width: "100%", height: 56 },
|
|
3152
3197
|
variant: "soft",
|
|
3153
|
-
children: /* @__PURE__ */ (0,
|
|
3154
|
-
/* @__PURE__ */ (0,
|
|
3155
|
-
/* @__PURE__ */ (0,
|
|
3156
|
-
/* @__PURE__ */ (0,
|
|
3198
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "center", gap: "3", pl: "4", width: "100%", children: [
|
|
3199
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { color: "gray", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react_icons7.DownloadIcon, { height: 20, width: 20 }) }),
|
|
3200
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "start", direction: "column", gap: "1", children: [
|
|
3201
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3157
3202
|
Typo,
|
|
3158
3203
|
{
|
|
3159
3204
|
style: {
|
|
@@ -3163,7 +3208,7 @@ function DownloadCard({
|
|
|
3163
3208
|
children: fileName
|
|
3164
3209
|
}
|
|
3165
3210
|
),
|
|
3166
|
-
/* @__PURE__ */ (0,
|
|
3211
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { color: "gray", variant: "caption", children: size })
|
|
3167
3212
|
] })
|
|
3168
3213
|
] })
|
|
3169
3214
|
}
|
|
@@ -3171,22 +3216,22 @@ function DownloadCard({
|
|
|
3171
3216
|
}
|
|
3172
3217
|
|
|
3173
3218
|
// src/molecules/ghost-post.tsx
|
|
3174
|
-
var
|
|
3219
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
3175
3220
|
function GhostPost(props) {
|
|
3176
3221
|
const { defaultThemeProps, html, onPageBack } = props;
|
|
3177
|
-
return /* @__PURE__ */ (0,
|
|
3222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3178
3223
|
ThemeProvider,
|
|
3179
3224
|
__spreadProps(__spreadValues({}, defaultThemeProps), {
|
|
3180
3225
|
accentColor: "iris",
|
|
3181
3226
|
scaling: "110%",
|
|
3182
3227
|
style: {},
|
|
3183
|
-
children: html ? /* @__PURE__ */ (0,
|
|
3228
|
+
children: html ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes6.Box, { mt: "5", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3184
3229
|
"div",
|
|
3185
3230
|
{
|
|
3186
3231
|
className: "gh-content",
|
|
3187
3232
|
dangerouslySetInnerHTML: { __html: html }
|
|
3188
3233
|
}
|
|
3189
|
-
) }) : /* @__PURE__ */ (0,
|
|
3234
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
3190
3235
|
import_themes22.Flex,
|
|
3191
3236
|
{
|
|
3192
3237
|
align: "center",
|
|
@@ -3196,8 +3241,8 @@ function GhostPost(props) {
|
|
|
3196
3241
|
justify: "center",
|
|
3197
3242
|
width: "100%",
|
|
3198
3243
|
children: [
|
|
3199
|
-
/* @__PURE__ */ (0,
|
|
3200
|
-
/* @__PURE__ */ (0,
|
|
3244
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { variant: "heading1", children: "\uCF58\uD150\uCE20\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." }),
|
|
3245
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3201
3246
|
Heading2,
|
|
3202
3247
|
{
|
|
3203
3248
|
align: "center",
|
|
@@ -3208,7 +3253,7 @@ function GhostPost(props) {
|
|
|
3208
3253
|
\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694.`
|
|
3209
3254
|
}
|
|
3210
3255
|
),
|
|
3211
|
-
/* @__PURE__ */ (0,
|
|
3256
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { onClick: onPageBack, size: "large", children: "\uB4A4\uB85C\uAC00\uAE30" })
|
|
3212
3257
|
]
|
|
3213
3258
|
}
|
|
3214
3259
|
)
|
|
@@ -3218,7 +3263,7 @@ function GhostPost(props) {
|
|
|
3218
3263
|
|
|
3219
3264
|
// src/molecules/curriculumV2/curriculum-context.tsx
|
|
3220
3265
|
var import_react29 = require("react");
|
|
3221
|
-
var
|
|
3266
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
3222
3267
|
var CurriculumContext = (0, import_react29.createContext)(
|
|
3223
3268
|
void 0
|
|
3224
3269
|
);
|
|
@@ -3232,7 +3277,8 @@ function CurriculumProvider(props) {
|
|
|
3232
3277
|
curriculumReviewAnswers,
|
|
3233
3278
|
tempCurriculumReviewAnswers,
|
|
3234
3279
|
curriculumCompleteMap,
|
|
3235
|
-
onChangeSelectedContent
|
|
3280
|
+
onChangeSelectedContent,
|
|
3281
|
+
onActionButtonClick
|
|
3236
3282
|
} = props;
|
|
3237
3283
|
const sidebarRef = (0, import_react29.useRef)(null);
|
|
3238
3284
|
const scrollNavItem = (0, import_react29.useCallback)((index) => {
|
|
@@ -3317,7 +3363,7 @@ function CurriculumProvider(props) {
|
|
|
3317
3363
|
(0, import_react29.useEffect)(() => {
|
|
3318
3364
|
onChangeSelectedContent == null ? void 0 : onChangeSelectedContent(selectedItem);
|
|
3319
3365
|
}, [selectedItem]);
|
|
3320
|
-
return /* @__PURE__ */ (0,
|
|
3366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CurriculumContext.Provider, { value: {
|
|
3321
3367
|
curriculum,
|
|
3322
3368
|
scrollNavItem,
|
|
3323
3369
|
selectedIndex: selectedIndexState,
|
|
@@ -3334,7 +3380,8 @@ function CurriculumProvider(props) {
|
|
|
3334
3380
|
onReviewValueChange,
|
|
3335
3381
|
curriculumReviewAnswers,
|
|
3336
3382
|
tempCurriculumReviewAnswers,
|
|
3337
|
-
curriculumCompleteMap
|
|
3383
|
+
curriculumCompleteMap,
|
|
3384
|
+
onActionButtonClick
|
|
3338
3385
|
}, children });
|
|
3339
3386
|
}
|
|
3340
3387
|
function useCurriculumContext() {
|
|
@@ -3348,7 +3395,7 @@ function useCurriculumContext() {
|
|
|
3348
3395
|
|
|
3349
3396
|
// src/molecules/curriculumV2/curriculum-sub-nav.tsx
|
|
3350
3397
|
var import_react30 = require("react");
|
|
3351
|
-
var
|
|
3398
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
3352
3399
|
function CurriculumSubNav() {
|
|
3353
3400
|
const {
|
|
3354
3401
|
selectedItem,
|
|
@@ -3369,7 +3416,7 @@ function CurriculumSubNav() {
|
|
|
3369
3416
|
scrollNavItem(moveIndex.toString());
|
|
3370
3417
|
});
|
|
3371
3418
|
}, [selectNext, scrollNavItem]);
|
|
3372
|
-
return /* @__PURE__ */ (0,
|
|
3419
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
3373
3420
|
import_themes23.Grid,
|
|
3374
3421
|
{
|
|
3375
3422
|
align: "center",
|
|
@@ -3379,30 +3426,30 @@ function CurriculumSubNav() {
|
|
|
3379
3426
|
py: "2",
|
|
3380
3427
|
rows: "auto",
|
|
3381
3428
|
children: [
|
|
3382
|
-
hasPrev ? /* @__PURE__ */ (0,
|
|
3429
|
+
hasPrev ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3383
3430
|
import_themes18.IconButton,
|
|
3384
3431
|
{
|
|
3385
3432
|
color: "gray",
|
|
3386
3433
|
onClick: onClickPrev,
|
|
3387
3434
|
size: { initial: "3", md: "4" },
|
|
3388
3435
|
variant: "ghost",
|
|
3389
|
-
children: /* @__PURE__ */ (0,
|
|
3436
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons2.ChevronLeftIcon, { height: "16px", width: "16px" })
|
|
3390
3437
|
}
|
|
3391
|
-
) : /* @__PURE__ */ (0,
|
|
3392
|
-
/* @__PURE__ */ (0,
|
|
3393
|
-
/* @__PURE__ */ (0,
|
|
3394
|
-
/* @__PURE__ */ (0,
|
|
3438
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, {}),
|
|
3439
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes6.Box, { width: "100%", children: [
|
|
3440
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { style: { textOverflow: "ellipsis" }, variant: "heading4", children: selectedItem.title }),
|
|
3441
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typo, { as: "p", color: "gray", style: { textOverflow: "ellipsis" }, children: selectedSectionTitle == null ? void 0 : selectedSectionTitle.title })
|
|
3395
3442
|
] }),
|
|
3396
|
-
hasNext ? /* @__PURE__ */ (0,
|
|
3443
|
+
hasNext ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3397
3444
|
import_themes18.IconButton,
|
|
3398
3445
|
{
|
|
3399
3446
|
color: "gray",
|
|
3400
3447
|
onClick: onClickNext,
|
|
3401
3448
|
size: { initial: "3", md: "4" },
|
|
3402
3449
|
variant: "ghost",
|
|
3403
|
-
children: /* @__PURE__ */ (0,
|
|
3450
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons2.ChevronRightIcon, { height: "16px", width: "16px" })
|
|
3404
3451
|
}
|
|
3405
|
-
) : /* @__PURE__ */ (0,
|
|
3452
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, {})
|
|
3406
3453
|
]
|
|
3407
3454
|
}
|
|
3408
3455
|
);
|
|
@@ -3410,12 +3457,12 @@ function CurriculumSubNav() {
|
|
|
3410
3457
|
|
|
3411
3458
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-video.tsx
|
|
3412
3459
|
var import_react31 = require("react");
|
|
3413
|
-
var
|
|
3460
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
3414
3461
|
function CurriculumVideo(props) {
|
|
3415
3462
|
const { item } = props;
|
|
3416
3463
|
const { url } = item;
|
|
3417
3464
|
const [isLoading, setIsLoading] = (0, import_react31.useState)(true);
|
|
3418
|
-
return /* @__PURE__ */ (0,
|
|
3465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3419
3466
|
import_themes22.Flex,
|
|
3420
3467
|
{
|
|
3421
3468
|
align: "center",
|
|
@@ -3427,7 +3474,7 @@ function CurriculumVideo(props) {
|
|
|
3427
3474
|
position: "relative"
|
|
3428
3475
|
},
|
|
3429
3476
|
children: [
|
|
3430
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
3477
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3431
3478
|
import_themes22.Flex,
|
|
3432
3479
|
{
|
|
3433
3480
|
align: "center",
|
|
@@ -3442,10 +3489,10 @@ function CurriculumVideo(props) {
|
|
|
3442
3489
|
color: "white"
|
|
3443
3490
|
},
|
|
3444
3491
|
width: "100%",
|
|
3445
|
-
children: /* @__PURE__ */ (0,
|
|
3492
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes49.Spinner, { size: "3", style: { width: 48, height: 48 } })
|
|
3446
3493
|
}
|
|
3447
3494
|
) : null,
|
|
3448
|
-
/* @__PURE__ */ (0,
|
|
3495
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3449
3496
|
"iframe",
|
|
3450
3497
|
{
|
|
3451
3498
|
allowFullScreen: true,
|
|
@@ -3475,7 +3522,7 @@ var import_react32 = require("react");
|
|
|
3475
3522
|
var import_formik = require("formik");
|
|
3476
3523
|
var import_lodash_es = require("lodash-es");
|
|
3477
3524
|
var Yup = __toESM(require("yup"), 1);
|
|
3478
|
-
var
|
|
3525
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
3479
3526
|
var CurriculumReviewContext = (0, import_react32.createContext)(void 0);
|
|
3480
3527
|
function getInitialAnswers(defaultValues, questions) {
|
|
3481
3528
|
return questions.reduce((acc, q) => {
|
|
@@ -3604,7 +3651,7 @@ function CurriculumReviewProvider({
|
|
|
3604
3651
|
});
|
|
3605
3652
|
}
|
|
3606
3653
|
}, [currentQuestion == null ? void 0 : currentQuestion.uuid, currentAnswer, onReviewValueChange]);
|
|
3607
|
-
return /* @__PURE__ */ (0,
|
|
3654
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
3608
3655
|
CurriculumReviewContext.Provider,
|
|
3609
3656
|
{
|
|
3610
3657
|
value: {
|
|
@@ -3665,6 +3712,8 @@ var getCurriculumIcon = ({
|
|
|
3665
3712
|
case "question_satisfaction_option":
|
|
3666
3713
|
case "question_satisfaction_text":
|
|
3667
3714
|
return CircleSatisfactionIcon;
|
|
3715
|
+
case "aiTraining":
|
|
3716
|
+
return CircleChatIcon;
|
|
3668
3717
|
case "review":
|
|
3669
3718
|
default:
|
|
3670
3719
|
return CirclePencilIcon;
|
|
@@ -3708,13 +3757,15 @@ var getCurriculumContentSubTypeText = (type) => {
|
|
|
3708
3757
|
return "\uC601\uC0C1";
|
|
3709
3758
|
case "review":
|
|
3710
3759
|
return "\uB9AC\uBDF0";
|
|
3760
|
+
case "aiTraining":
|
|
3761
|
+
return "AI \uD2B8\uB808\uC774\uB2DD";
|
|
3711
3762
|
default:
|
|
3712
3763
|
return "";
|
|
3713
3764
|
}
|
|
3714
3765
|
};
|
|
3715
3766
|
|
|
3716
3767
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.tsx
|
|
3717
|
-
var
|
|
3768
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
3718
3769
|
var renderPreviewContent = (args) => {
|
|
3719
3770
|
const { question } = args;
|
|
3720
3771
|
const Icon = getCurriculumIcon({
|
|
@@ -3727,7 +3778,7 @@ var renderPreviewContent = (args) => {
|
|
|
3727
3778
|
question.duration ? `${question.duration}\uBD84` : ""
|
|
3728
3779
|
].filter(Boolean).join(" | ");
|
|
3729
3780
|
};
|
|
3730
|
-
return /* @__PURE__ */ (0,
|
|
3781
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3731
3782
|
import_themes23.Grid,
|
|
3732
3783
|
{
|
|
3733
3784
|
columns: "16px 1fr",
|
|
@@ -3736,10 +3787,10 @@ var renderPreviewContent = (args) => {
|
|
|
3736
3787
|
py: "2",
|
|
3737
3788
|
width: "100%",
|
|
3738
3789
|
children: [
|
|
3739
|
-
/* @__PURE__ */ (0,
|
|
3740
|
-
/* @__PURE__ */ (0,
|
|
3741
|
-
/* @__PURE__ */ (0,
|
|
3742
|
-
/* @__PURE__ */ (0,
|
|
3790
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes6.Box, { mt: "1", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { color: getCurriculumQuestionIconColor(question.type) }) }),
|
|
3791
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes6.Box, { children: [
|
|
3792
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, { as: "p", color: "gray", weight: "bold", children: question.title }),
|
|
3793
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, { color: "gray", children: getDescription() })
|
|
3743
3794
|
] })
|
|
3744
3795
|
]
|
|
3745
3796
|
},
|
|
@@ -3762,7 +3813,7 @@ var renderReviewContent = (args) => {
|
|
|
3762
3813
|
const color = getCurriculumQuestionIconColor(question.type);
|
|
3763
3814
|
const badgeColor = ["question_radio", "question_satisfaction_option"].includes(question.type) ? "accent" : "neutral";
|
|
3764
3815
|
const value = getReviewContentValue(question, answer);
|
|
3765
|
-
return /* @__PURE__ */ (0,
|
|
3816
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3766
3817
|
import_themes23.Grid,
|
|
3767
3818
|
{
|
|
3768
3819
|
columns: "16px 1fr",
|
|
@@ -3771,10 +3822,10 @@ var renderReviewContent = (args) => {
|
|
|
3771
3822
|
py: "2",
|
|
3772
3823
|
width: "100%",
|
|
3773
3824
|
children: [
|
|
3774
|
-
/* @__PURE__ */ (0,
|
|
3775
|
-
/* @__PURE__ */ (0,
|
|
3776
|
-
/* @__PURE__ */ (0,
|
|
3777
|
-
/* @__PURE__ */ (0,
|
|
3825
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { color }) }),
|
|
3826
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes6.Box, { children: [
|
|
3827
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, { as: "p", color: "gray", mb: "2", weight: "bold", children: question.title }),
|
|
3828
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Badge, { color: badgeColor, size: "large", style: { whiteSpace: "break-spaces" }, children: value || "(\uBBF8 \uC751\uB2F5)" })
|
|
3778
3829
|
] })
|
|
3779
3830
|
]
|
|
3780
3831
|
},
|
|
@@ -3783,7 +3834,7 @@ var renderReviewContent = (args) => {
|
|
|
3783
3834
|
};
|
|
3784
3835
|
function StartReview({ onStart }) {
|
|
3785
3836
|
const { curriculum, reviewContents, sectionTitle, done, formik } = useCurriculumReviewContext();
|
|
3786
|
-
return /* @__PURE__ */ (0,
|
|
3837
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
3787
3838
|
import_themes22.Flex,
|
|
3788
3839
|
{
|
|
3789
3840
|
align: "center",
|
|
@@ -3791,7 +3842,7 @@ function StartReview({ onStart }) {
|
|
|
3791
3842
|
height: "100%",
|
|
3792
3843
|
justify: "center",
|
|
3793
3844
|
width: "100%",
|
|
3794
|
-
children: /* @__PURE__ */ (0,
|
|
3845
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3795
3846
|
import_themes22.Flex,
|
|
3796
3847
|
{
|
|
3797
3848
|
align: "center",
|
|
@@ -3804,20 +3855,20 @@ function StartReview({ onStart }) {
|
|
|
3804
3855
|
px: "4",
|
|
3805
3856
|
width: "100%",
|
|
3806
3857
|
children: [
|
|
3807
|
-
/* @__PURE__ */ (0,
|
|
3808
|
-
/* @__PURE__ */ (0,
|
|
3809
|
-
/* @__PURE__ */ (0,
|
|
3810
|
-
/* @__PURE__ */ (0,
|
|
3811
|
-
/* @__PURE__ */ (0,
|
|
3812
|
-
/* @__PURE__ */ (0,
|
|
3858
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, { color: "gray", children: curriculum.title }),
|
|
3859
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { variant: "heading3", children: reviewContents.title }),
|
|
3860
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes39.Separator, { my: "4", style: { width: 100 } }),
|
|
3861
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Typo, { align: "left", as: "p", color: "gray", mb: "4", children: [
|
|
3862
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, { as: "span", weight: "bold", children: sectionTitle }),
|
|
3863
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, { children: reviewContents.description })
|
|
3813
3864
|
] }),
|
|
3814
|
-
/* @__PURE__ */ (0,
|
|
3865
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes6.Box, { mb: "5", overflowY: "auto", width: "100%", children: reviewContents.questions.map((question) => {
|
|
3815
3866
|
if (done) {
|
|
3816
3867
|
return renderReviewContent({ question, answer: formik.values.answers[question.uuid] });
|
|
3817
3868
|
}
|
|
3818
3869
|
return renderPreviewContent({ question });
|
|
3819
3870
|
}) }),
|
|
3820
|
-
/* @__PURE__ */ (0,
|
|
3871
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { color: "yellow", onClick: onStart, variant: done ? "outline" : "solid", children: done ? "\uB098\uC758 \uC751\uB2F5 \uC218\uC815\uD558\uAE30" : reviewContents.buttonTitle })
|
|
3821
3872
|
]
|
|
3822
3873
|
}
|
|
3823
3874
|
)
|
|
@@ -3827,13 +3878,13 @@ function StartReview({ onStart }) {
|
|
|
3827
3878
|
var start_review_default = StartReview;
|
|
3828
3879
|
|
|
3829
3880
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.tsx
|
|
3830
|
-
var
|
|
3881
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
3831
3882
|
var THANKS_IMAGE_S3_URL = "https://tipp-coaching-live.s3.ap-northeast-2.amazonaws.com/images/curriculum_review_thanks.svg";
|
|
3832
3883
|
function CompleteReview(props) {
|
|
3833
3884
|
const { onClickReviewMyAnswer } = props;
|
|
3834
3885
|
const { reviewContents, sectionTitle, curriculum, onClickEndReview: onClickNextContents } = useCurriculumReviewContext();
|
|
3835
3886
|
const { reviewMeta } = curriculum.contents;
|
|
3836
|
-
return /* @__PURE__ */ (0,
|
|
3887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
3837
3888
|
import_themes22.Flex,
|
|
3838
3889
|
{
|
|
3839
3890
|
align: "center",
|
|
@@ -3846,9 +3897,9 @@ function CompleteReview(props) {
|
|
|
3846
3897
|
py: "6",
|
|
3847
3898
|
width: "100%",
|
|
3848
3899
|
children: [
|
|
3849
|
-
/* @__PURE__ */ (0,
|
|
3850
|
-
/* @__PURE__ */ (0,
|
|
3851
|
-
/* @__PURE__ */ (0,
|
|
3900
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes22.Flex, { align: "center", direction: "column", children: [
|
|
3901
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Heading2, { mb: "6", variant: "heading5", weight: "regular", children: (reviewMeta == null ? void 0 : reviewMeta.endReviewTopTitle) || "\uC751\uB2F5\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uC81C\uCD9C\uD588\uC2B5\uB2C8\uB2E4" }),
|
|
3902
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
3852
3903
|
"img",
|
|
3853
3904
|
{
|
|
3854
3905
|
alt: "complete-review",
|
|
@@ -3857,19 +3908,19 @@ function CompleteReview(props) {
|
|
|
3857
3908
|
width: 118
|
|
3858
3909
|
}
|
|
3859
3910
|
),
|
|
3860
|
-
/* @__PURE__ */ (0,
|
|
3861
|
-
/* @__PURE__ */ (0,
|
|
3862
|
-
/* @__PURE__ */ (0,
|
|
3911
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Typo, { color: "gray", mt: "6", variant: "caption", children: sectionTitle }),
|
|
3912
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Heading2, { variant: "heading5", children: reviewContents.title }),
|
|
3913
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Typo, { align: "center", color: "gray", mt: "6", children: (reviewMeta == null ? void 0 : reviewMeta.endReviewDescription) || `\uC774\uBC88 \uD559\uC2B5\uC774 \uB9AC\uB354\uC2ED\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uAE30\uB97C \uBC14\uB78D\uB2C8\uB2E4.
|
|
3863
3914
|
\uC55E\uC73C\uB85C \uC788\uC744 \uB9AC\uB354\uB2D8\uC758 \uC131\uC7A5\uC744 \uAE30\uB300\uD569\uB2C8\uB2E4.` })
|
|
3864
3915
|
] }),
|
|
3865
|
-
/* @__PURE__ */ (0,
|
|
3866
|
-
/* @__PURE__ */ (0,
|
|
3916
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes23.Grid, { columns: { initial: "1fr", md: "2" }, gap: "3", width: "100%", children: [
|
|
3917
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { onClick: onClickReviewMyAnswer, variant: "outline", children: [
|
|
3867
3918
|
(reviewMeta == null ? void 0 : reviewMeta.endReviewBackButtonTitle) || "\uB098\uC758 \uC751\uB2F5 \uB2E4\uC2DC \uBCF4\uAE30",
|
|
3868
|
-
/* @__PURE__ */ (0,
|
|
3919
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_icons2.ResetIcon, {})
|
|
3869
3920
|
] }),
|
|
3870
|
-
/* @__PURE__ */ (0,
|
|
3921
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { onClick: onClickNextContents, children: [
|
|
3871
3922
|
"\uCEE4\uB9AC\uD058\uB7FC\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30",
|
|
3872
|
-
/* @__PURE__ */ (0,
|
|
3923
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_icons2.HomeIcon, {})
|
|
3873
3924
|
] })
|
|
3874
3925
|
] })
|
|
3875
3926
|
]
|
|
@@ -3879,9 +3930,9 @@ function CompleteReview(props) {
|
|
|
3879
3930
|
var complete_review_default = CompleteReview;
|
|
3880
3931
|
|
|
3881
3932
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.tsx
|
|
3882
|
-
var
|
|
3933
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
3883
3934
|
function AlignCenter(props) {
|
|
3884
|
-
return /* @__PURE__ */ (0,
|
|
3935
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
3885
3936
|
import_themes22.Flex,
|
|
3886
3937
|
__spreadValues({
|
|
3887
3938
|
align: "center",
|
|
@@ -3896,7 +3947,7 @@ function ReviewQuestionLayout({
|
|
|
3896
3947
|
Body,
|
|
3897
3948
|
Footer
|
|
3898
3949
|
}) {
|
|
3899
|
-
return /* @__PURE__ */ (0,
|
|
3950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
3900
3951
|
import_themes23.Grid,
|
|
3901
3952
|
{
|
|
3902
3953
|
align: "center",
|
|
@@ -3909,18 +3960,18 @@ function ReviewQuestionLayout({
|
|
|
3909
3960
|
},
|
|
3910
3961
|
width: "100%",
|
|
3911
3962
|
children: [
|
|
3912
|
-
/* @__PURE__ */ (0,
|
|
3913
|
-
/* @__PURE__ */ (0,
|
|
3914
|
-
/* @__PURE__ */ (0,
|
|
3963
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(AlignCenter, { pb: "3", pt: "4", px: "4", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes6.Box, { maxWidth: "650px", width: "100%", children: Header }) }),
|
|
3964
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes39.Separator, { size: "4" }),
|
|
3965
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
3915
3966
|
AlignCenter,
|
|
3916
3967
|
{
|
|
3917
3968
|
p: "3",
|
|
3918
3969
|
style: { backgroundColor: "var(--gray-2)", zIndex: 0 },
|
|
3919
|
-
children: /* @__PURE__ */ (0,
|
|
3970
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes6.Box, { height: "100%", maxWidth: "650px", width: "100%", children: Body })
|
|
3920
3971
|
}
|
|
3921
3972
|
),
|
|
3922
|
-
/* @__PURE__ */ (0,
|
|
3923
|
-
/* @__PURE__ */ (0,
|
|
3973
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes39.Separator, { size: "4" }),
|
|
3974
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(AlignCenter, { px: "4", py: "3", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes6.Box, { maxWidth: "650px", width: "100%", children: Footer }) })
|
|
3924
3975
|
]
|
|
3925
3976
|
}
|
|
3926
3977
|
);
|
|
@@ -3928,14 +3979,14 @@ function ReviewQuestionLayout({
|
|
|
3928
3979
|
var review_question_layout_default = ReviewQuestionLayout;
|
|
3929
3980
|
|
|
3930
3981
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.tsx
|
|
3931
|
-
var
|
|
3982
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
3932
3983
|
function ReviewQuestionHeader({
|
|
3933
3984
|
index,
|
|
3934
3985
|
total
|
|
3935
3986
|
}) {
|
|
3936
3987
|
const { reviewContents } = useCurriculumReviewContext();
|
|
3937
|
-
return /* @__PURE__ */ (0,
|
|
3938
|
-
/* @__PURE__ */ (0,
|
|
3988
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes6.Box, { height: "100%", width: "100%", children: [
|
|
3989
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes23.Grid, { columns: "1fr 40px", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
3939
3990
|
Heading2,
|
|
3940
3991
|
{
|
|
3941
3992
|
mb: "3",
|
|
@@ -3944,22 +3995,22 @@ function ReviewQuestionHeader({
|
|
|
3944
3995
|
children: reviewContents.title
|
|
3945
3996
|
}
|
|
3946
3997
|
) }),
|
|
3947
|
-
/* @__PURE__ */ (0,
|
|
3948
|
-
/* @__PURE__ */ (0,
|
|
3949
|
-
/* @__PURE__ */ (0,
|
|
3998
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { justify: "between", mb: "2", width: "100%", children: [
|
|
3999
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { color: "gray", size: { initial: "1", md: "2" }, children: "\uC9C4\uD589 \uC0C1\uD669" }),
|
|
4000
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Typo, { color: "gray", size: { initial: "1", md: "2" }, children: [
|
|
3950
4001
|
index + 1,
|
|
3951
4002
|
" / ",
|
|
3952
4003
|
total,
|
|
3953
4004
|
" \uC644\uB8CC"
|
|
3954
4005
|
] })
|
|
3955
4006
|
] }),
|
|
3956
|
-
/* @__PURE__ */ (0,
|
|
4007
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes30.Progress, { color: "iris", max: total, value: index + 1 })
|
|
3957
4008
|
] });
|
|
3958
4009
|
}
|
|
3959
4010
|
var review_question_header_default = ReviewQuestionHeader;
|
|
3960
4011
|
|
|
3961
4012
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.tsx
|
|
3962
|
-
var
|
|
4013
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3963
4014
|
function ReviewQuestionFooter({
|
|
3964
4015
|
index,
|
|
3965
4016
|
onNext,
|
|
@@ -3969,22 +4020,22 @@ function ReviewQuestionFooter({
|
|
|
3969
4020
|
onSubmit,
|
|
3970
4021
|
isLoading
|
|
3971
4022
|
}) {
|
|
3972
|
-
return /* @__PURE__ */ (0,
|
|
3973
|
-
index > 0 ? /* @__PURE__ */ (0,
|
|
3974
|
-
/* @__PURE__ */ (0,
|
|
4023
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes23.Grid, { columns: "1fr 1fr", gap: "3", children: [
|
|
4024
|
+
index > 0 ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Button, { onClick: onPrev, variant: "outline", children: [
|
|
4025
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_icons2.ChevronLeftIcon, {}),
|
|
3975
4026
|
"\uC774\uC804\uC73C\uB85C"
|
|
3976
|
-
] }) : /* @__PURE__ */ (0,
|
|
3977
|
-
isLast ? /* @__PURE__ */ (0,
|
|
3978
|
-
/* @__PURE__ */ (0,
|
|
4027
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes6.Box, {}),
|
|
4028
|
+
isLast ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Button, { disabled: isNextButtonDisabled, loading: isLoading, onClick: onSubmit, children: [
|
|
4029
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_icons2.PaperPlaneIcon, {}),
|
|
3979
4030
|
"\uC81C\uCD9C\uD558\uAE30"
|
|
3980
|
-
] }) : /* @__PURE__ */ (0,
|
|
4031
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
3981
4032
|
Button,
|
|
3982
4033
|
{
|
|
3983
4034
|
disabled: isNextButtonDisabled,
|
|
3984
4035
|
onClick: onNext,
|
|
3985
4036
|
variant: "surface",
|
|
3986
4037
|
children: [
|
|
3987
|
-
/* @__PURE__ */ (0,
|
|
4038
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_icons2.ChevronRightIcon, {}),
|
|
3988
4039
|
"\uB2E4\uC74C\uC73C\uB85C"
|
|
3989
4040
|
]
|
|
3990
4041
|
}
|
|
@@ -3997,7 +4048,7 @@ var review_question_footer_default = ReviewQuestionFooter;
|
|
|
3997
4048
|
var import_react33 = require("react");
|
|
3998
4049
|
|
|
3999
4050
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.tsx
|
|
4000
|
-
var
|
|
4051
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
4001
4052
|
function ReviewQuestionContentHeader({
|
|
4002
4053
|
type,
|
|
4003
4054
|
title,
|
|
@@ -4005,9 +4056,9 @@ function ReviewQuestionContentHeader({
|
|
|
4005
4056
|
icon
|
|
4006
4057
|
}) {
|
|
4007
4058
|
const Icon = getCurriculumIcon({ type, icon });
|
|
4008
|
-
return /* @__PURE__ */ (0,
|
|
4009
|
-
/* @__PURE__ */ (0,
|
|
4010
|
-
/* @__PURE__ */ (0,
|
|
4059
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes6.Box, { children: [
|
|
4060
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes22.Flex, { gap: "2", mb: "3", children: [
|
|
4061
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4011
4062
|
Icon,
|
|
4012
4063
|
{
|
|
4013
4064
|
color: getCurriculumQuestionIconColor(type),
|
|
@@ -4015,14 +4066,14 @@ function ReviewQuestionContentHeader({
|
|
|
4015
4066
|
width: "16"
|
|
4016
4067
|
}
|
|
4017
4068
|
) }),
|
|
4018
|
-
/* @__PURE__ */ (0,
|
|
4069
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typo, { color: "gray", weight: "bold", children: title })
|
|
4019
4070
|
] }),
|
|
4020
|
-
/* @__PURE__ */ (0,
|
|
4071
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typo, { as: "p", color: "gray", children: question })
|
|
4021
4072
|
] });
|
|
4022
4073
|
}
|
|
4023
4074
|
|
|
4024
4075
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
|
|
4025
|
-
var
|
|
4076
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
4026
4077
|
var correctAnswerStyle = {
|
|
4027
4078
|
backgroundColor: "var(--green-a2)"
|
|
4028
4079
|
};
|
|
@@ -4039,8 +4090,8 @@ function ReviewQuestionRadio(props) {
|
|
|
4039
4090
|
if (isWrong) return "red";
|
|
4040
4091
|
return void 0;
|
|
4041
4092
|
}, [isCorrect, isWrong]);
|
|
4042
|
-
return /* @__PURE__ */ (0,
|
|
4043
|
-
/* @__PURE__ */ (0,
|
|
4093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Grid, { height: "100%", rows: "auto 1fr", width: "100%", children: [
|
|
4094
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Card, { mb: "4", size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4044
4095
|
ReviewQuestionContentHeader,
|
|
4045
4096
|
{
|
|
4046
4097
|
icon: question.icon,
|
|
@@ -4049,8 +4100,8 @@ function ReviewQuestionRadio(props) {
|
|
|
4049
4100
|
type: question.type
|
|
4050
4101
|
}
|
|
4051
4102
|
) }),
|
|
4052
|
-
/* @__PURE__ */ (0,
|
|
4053
|
-
/* @__PURE__ */ (0,
|
|
4103
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Grid, { height: "100%", rows: "1fr auto", width: "100%", children: [
|
|
4104
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes6.Box, { position: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4054
4105
|
RadioButtonCard.Root,
|
|
4055
4106
|
{
|
|
4056
4107
|
color: radioColor,
|
|
@@ -4062,7 +4113,7 @@ function ReviewQuestionRadio(props) {
|
|
|
4062
4113
|
position: "absolute"
|
|
4063
4114
|
},
|
|
4064
4115
|
value: answer,
|
|
4065
|
-
children: /* @__PURE__ */ (0,
|
|
4116
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes22.Flex, { direction: "column", gap: "2", width: "100%", children: question.options.map((option, i) => {
|
|
4066
4117
|
const isThisOptionCorrect = isCheckAnswer && i === question.correctAnswer;
|
|
4067
4118
|
const isThisOptionSelected = isCheckAnswer && i === Number(answer);
|
|
4068
4119
|
const isThisOptionWrong = isCheckAnswer && isThisOptionSelected && i !== question.correctAnswer;
|
|
@@ -4070,15 +4121,15 @@ function ReviewQuestionRadio(props) {
|
|
|
4070
4121
|
if (isThisOptionCorrect) return correctAnswerStyle;
|
|
4071
4122
|
return {};
|
|
4072
4123
|
})();
|
|
4073
|
-
return /* @__PURE__ */ (0,
|
|
4124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4074
4125
|
RadioButtonCard.Item,
|
|
4075
4126
|
{
|
|
4076
4127
|
style,
|
|
4077
4128
|
value: i.toString(),
|
|
4078
|
-
children: /* @__PURE__ */ (0,
|
|
4079
|
-
/* @__PURE__ */ (0,
|
|
4080
|
-
isThisOptionCorrect ? /* @__PURE__ */ (0,
|
|
4081
|
-
isThisOptionWrong ? /* @__PURE__ */ (0,
|
|
4129
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes6.Box, { children: [
|
|
4130
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "p", children: option.label }),
|
|
4131
|
+
isThisOptionCorrect ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { color: "green", children: "\uC815\uB2F5\uC785\uB2C8\uB2E4" }) : null,
|
|
4132
|
+
isThisOptionWrong ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { color: "red", children: "\uC815\uB2F5\uC774 \uC544\uB2D9\uB2C8\uB2E4" }) : null
|
|
4082
4133
|
] })
|
|
4083
4134
|
},
|
|
4084
4135
|
`${option.label}-${i}`
|
|
@@ -4086,19 +4137,19 @@ function ReviewQuestionRadio(props) {
|
|
|
4086
4137
|
}) })
|
|
4087
4138
|
}
|
|
4088
4139
|
) }),
|
|
4089
|
-
/* @__PURE__ */ (0,
|
|
4140
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes22.Flex, { justify: "end", mt: "2", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Button, { onClick: checkAnswer, children: "\uC815\uB2F5 \uD655\uC778" }) })
|
|
4090
4141
|
] })
|
|
4091
4142
|
] });
|
|
4092
4143
|
}
|
|
4093
4144
|
var review_question_radio_default = ReviewQuestionRadio;
|
|
4094
4145
|
|
|
4095
4146
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.tsx
|
|
4096
|
-
var
|
|
4147
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
4097
4148
|
function ReviewQuestionText(props) {
|
|
4098
4149
|
const { question, answer, onChange } = props;
|
|
4099
4150
|
const minLengthNotMet = question.minLength && answer.length < question.minLength;
|
|
4100
4151
|
const remainingLength = question.minLength && answer.length < question.minLength ? question.minLength - answer.length : 0;
|
|
4101
|
-
return /* @__PURE__ */ (0,
|
|
4152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4102
4153
|
Card,
|
|
4103
4154
|
{
|
|
4104
4155
|
size: "2",
|
|
@@ -4106,9 +4157,9 @@ function ReviewQuestionText(props) {
|
|
|
4106
4157
|
width: "100%",
|
|
4107
4158
|
height: "100%"
|
|
4108
4159
|
},
|
|
4109
|
-
children: /* @__PURE__ */ (0,
|
|
4110
|
-
/* @__PURE__ */ (0,
|
|
4111
|
-
/* @__PURE__ */ (0,
|
|
4160
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes23.Grid, { height: "100%", rows: "1fr auto", children: [
|
|
4161
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes23.Grid, { height: "100%", rows: "auto 1fr", width: "100%", children: [
|
|
4162
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4112
4163
|
ReviewQuestionContentHeader,
|
|
4113
4164
|
{
|
|
4114
4165
|
icon: question.icon,
|
|
@@ -4117,7 +4168,7 @@ function ReviewQuestionText(props) {
|
|
|
4117
4168
|
type: question.type
|
|
4118
4169
|
}
|
|
4119
4170
|
),
|
|
4120
|
-
/* @__PURE__ */ (0,
|
|
4171
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4121
4172
|
TextArea,
|
|
4122
4173
|
{
|
|
4123
4174
|
mt: "2",
|
|
@@ -4129,17 +4180,17 @@ function ReviewQuestionText(props) {
|
|
|
4129
4180
|
}
|
|
4130
4181
|
)
|
|
4131
4182
|
] }),
|
|
4132
|
-
minLengthNotMet ? /* @__PURE__ */ (0,
|
|
4133
|
-
/* @__PURE__ */ (0,
|
|
4134
|
-
question.minLengthInfoMessage ? /* @__PURE__ */ (0,
|
|
4183
|
+
minLengthNotMet ? /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes6.Box, { mt: "2", children: [
|
|
4184
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typo, { align: "right", as: "p", color: "red", variant: "caption", children: `${remainingLength}\uC790 \uB354 \uC791\uC131\uD574\uC8FC\uC138\uC694.` }),
|
|
4185
|
+
question.minLengthInfoMessage ? /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
4135
4186
|
import_themes8.Callout.Root,
|
|
4136
4187
|
{
|
|
4137
4188
|
color: "iris",
|
|
4138
4189
|
mt: "2",
|
|
4139
4190
|
style: { alignItems: "center" },
|
|
4140
4191
|
children: [
|
|
4141
|
-
/* @__PURE__ */ (0,
|
|
4142
|
-
/* @__PURE__ */ (0,
|
|
4192
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes8.Callout.Icon, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_icons2.BellIcon, {}) }),
|
|
4193
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes8.Callout.Text, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typo, { as: "p", variant: "caption", children: question.minLengthInfoMessage }) })
|
|
4143
4194
|
]
|
|
4144
4195
|
}
|
|
4145
4196
|
) : null
|
|
@@ -4151,12 +4202,12 @@ function ReviewQuestionText(props) {
|
|
|
4151
4202
|
var review_question_text_default = ReviewQuestionText;
|
|
4152
4203
|
|
|
4153
4204
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.tsx
|
|
4154
|
-
var
|
|
4205
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
4155
4206
|
function ReviewQuestionSatisfisRadio(props) {
|
|
4156
4207
|
var _a, _b, _c;
|
|
4157
4208
|
const { question, answer, onChange } = props;
|
|
4158
|
-
return /* @__PURE__ */ (0,
|
|
4159
|
-
/* @__PURE__ */ (0,
|
|
4209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx_runtime66.Fragment, { children: [
|
|
4210
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4160
4211
|
ReviewQuestionContentHeader,
|
|
4161
4212
|
{
|
|
4162
4213
|
icon: question.icon,
|
|
@@ -4165,18 +4216,18 @@ function ReviewQuestionSatisfisRadio(props) {
|
|
|
4165
4216
|
type: question.type
|
|
4166
4217
|
}
|
|
4167
4218
|
) }),
|
|
4168
|
-
/* @__PURE__ */ (0,
|
|
4219
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes34.RadioGroup.Root, { color: "iris", mt: "3", onValueChange: onChange, value: answer, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes22.Flex, { direction: "column", gap: "2", children: (_c = question.options) == null ? void 0 : _c.map((option) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes34.RadioGroup.Item, { value: String(option.value), children: option.label }, option.value)) }) })
|
|
4169
4220
|
] });
|
|
4170
4221
|
}
|
|
4171
4222
|
var review_question_satisfaction_option_default = ReviewQuestionSatisfisRadio;
|
|
4172
4223
|
|
|
4173
4224
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.tsx
|
|
4174
|
-
var
|
|
4225
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
4175
4226
|
function ReviewQuestionSatisfisText(props) {
|
|
4176
4227
|
var _a, _b;
|
|
4177
4228
|
const { question, answer, onChange } = props;
|
|
4178
|
-
return /* @__PURE__ */ (0,
|
|
4179
|
-
/* @__PURE__ */ (0,
|
|
4229
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Card, { size: "2", style: { height: "100%", width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes23.Grid, { height: "100%", rows: "auto 1fr", children: [
|
|
4230
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4180
4231
|
ReviewQuestionContentHeader,
|
|
4181
4232
|
{
|
|
4182
4233
|
icon: question.icon,
|
|
@@ -4185,7 +4236,7 @@ function ReviewQuestionSatisfisText(props) {
|
|
|
4185
4236
|
type: question.type
|
|
4186
4237
|
}
|
|
4187
4238
|
),
|
|
4188
|
-
/* @__PURE__ */ (0,
|
|
4239
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4189
4240
|
TextArea,
|
|
4190
4241
|
{
|
|
4191
4242
|
mt: "2",
|
|
@@ -4203,11 +4254,11 @@ function ReviewQuestionSatisfisText(props) {
|
|
|
4203
4254
|
}
|
|
4204
4255
|
|
|
4205
4256
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.tsx
|
|
4206
|
-
var
|
|
4257
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
4207
4258
|
function ReviewQuestionBody(props) {
|
|
4208
4259
|
const { question, answer, error, onChange } = props;
|
|
4209
4260
|
if (question.type === "question_radio") {
|
|
4210
|
-
return /* @__PURE__ */ (0,
|
|
4261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4211
4262
|
review_question_radio_default,
|
|
4212
4263
|
{
|
|
4213
4264
|
answer,
|
|
@@ -4218,7 +4269,7 @@ function ReviewQuestionBody(props) {
|
|
|
4218
4269
|
);
|
|
4219
4270
|
}
|
|
4220
4271
|
if (question.type === "question_text") {
|
|
4221
|
-
return /* @__PURE__ */ (0,
|
|
4272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4222
4273
|
review_question_text_default,
|
|
4223
4274
|
{
|
|
4224
4275
|
answer,
|
|
@@ -4229,7 +4280,7 @@ function ReviewQuestionBody(props) {
|
|
|
4229
4280
|
);
|
|
4230
4281
|
}
|
|
4231
4282
|
if (question.type === "question_satisfaction_option") {
|
|
4232
|
-
return /* @__PURE__ */ (0,
|
|
4283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4233
4284
|
review_question_satisfaction_option_default,
|
|
4234
4285
|
{
|
|
4235
4286
|
answer,
|
|
@@ -4240,7 +4291,7 @@ function ReviewQuestionBody(props) {
|
|
|
4240
4291
|
);
|
|
4241
4292
|
}
|
|
4242
4293
|
if (question.type === "question_satisfaction_text") {
|
|
4243
|
-
return /* @__PURE__ */ (0,
|
|
4294
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4244
4295
|
ReviewQuestionSatisfisText,
|
|
4245
4296
|
{
|
|
4246
4297
|
answer,
|
|
@@ -4255,7 +4306,7 @@ function ReviewQuestionBody(props) {
|
|
|
4255
4306
|
var review_question_body_default = ReviewQuestionBody;
|
|
4256
4307
|
|
|
4257
4308
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.tsx
|
|
4258
|
-
var
|
|
4309
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
4259
4310
|
function ReviewQuestion({
|
|
4260
4311
|
question,
|
|
4261
4312
|
index,
|
|
@@ -4270,10 +4321,10 @@ function ReviewQuestion({
|
|
|
4270
4321
|
onSubmit,
|
|
4271
4322
|
isLoading
|
|
4272
4323
|
}) {
|
|
4273
|
-
return /* @__PURE__ */ (0,
|
|
4324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
4274
4325
|
review_question_layout_default,
|
|
4275
4326
|
{
|
|
4276
|
-
Body: /* @__PURE__ */ (0,
|
|
4327
|
+
Body: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
4277
4328
|
review_question_body_default,
|
|
4278
4329
|
{
|
|
4279
4330
|
answer,
|
|
@@ -4282,7 +4333,7 @@ function ReviewQuestion({
|
|
|
4282
4333
|
question
|
|
4283
4334
|
}
|
|
4284
4335
|
),
|
|
4285
|
-
Footer: /* @__PURE__ */ (0,
|
|
4336
|
+
Footer: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
4286
4337
|
review_question_footer_default,
|
|
4287
4338
|
{
|
|
4288
4339
|
index,
|
|
@@ -4294,14 +4345,14 @@ function ReviewQuestion({
|
|
|
4294
4345
|
onSubmit
|
|
4295
4346
|
}
|
|
4296
4347
|
),
|
|
4297
|
-
Header: /* @__PURE__ */ (0,
|
|
4348
|
+
Header: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(review_question_header_default, { index, total })
|
|
4298
4349
|
}
|
|
4299
4350
|
);
|
|
4300
4351
|
}
|
|
4301
4352
|
var ReviewQuestion_default = ReviewQuestion;
|
|
4302
4353
|
|
|
4303
4354
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.tsx
|
|
4304
|
-
var
|
|
4355
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
4305
4356
|
function CurriculumReviewStepsInner() {
|
|
4306
4357
|
const {
|
|
4307
4358
|
formik,
|
|
@@ -4319,10 +4370,10 @@ function CurriculumReviewStepsInner() {
|
|
|
4319
4370
|
} = useCurriculumReviewContext();
|
|
4320
4371
|
const { questions } = reviewContents;
|
|
4321
4372
|
if (step === 0) {
|
|
4322
|
-
return /* @__PURE__ */ (0,
|
|
4373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(start_review_default, { onStart: handleStart });
|
|
4323
4374
|
}
|
|
4324
4375
|
if (step > 0 && step <= questions.length && currentQuestion) {
|
|
4325
|
-
return /* @__PURE__ */ (0,
|
|
4376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
4326
4377
|
ReviewQuestion_default,
|
|
4327
4378
|
{
|
|
4328
4379
|
answer: currentAnswer,
|
|
@@ -4340,7 +4391,7 @@ function CurriculumReviewStepsInner() {
|
|
|
4340
4391
|
}
|
|
4341
4392
|
);
|
|
4342
4393
|
}
|
|
4343
|
-
return /* @__PURE__ */ (0,
|
|
4394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(complete_review_default, { onClickReviewMyAnswer });
|
|
4344
4395
|
}
|
|
4345
4396
|
function CurriculumReviewSteps({
|
|
4346
4397
|
contents,
|
|
@@ -4353,7 +4404,7 @@ function CurriculumReviewSteps({
|
|
|
4353
4404
|
mode,
|
|
4354
4405
|
done
|
|
4355
4406
|
}) {
|
|
4356
|
-
return /* @__PURE__ */ (0,
|
|
4407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
4357
4408
|
CurriculumReviewProvider,
|
|
4358
4409
|
{
|
|
4359
4410
|
curriculum,
|
|
@@ -4365,14 +4416,14 @@ function CurriculumReviewSteps({
|
|
|
4365
4416
|
onSubmit,
|
|
4366
4417
|
reviewContents: contents,
|
|
4367
4418
|
sectionTitle: title,
|
|
4368
|
-
children: /* @__PURE__ */ (0,
|
|
4419
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(CurriculumReviewStepsInner, {})
|
|
4369
4420
|
}
|
|
4370
4421
|
);
|
|
4371
4422
|
}
|
|
4372
4423
|
var CurriculumReviewSteps_default = CurriculumReviewSteps;
|
|
4373
4424
|
|
|
4374
4425
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
|
|
4375
|
-
var
|
|
4426
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
4376
4427
|
function CurriculumReview(props) {
|
|
4377
4428
|
const { item, sectionTitle } = props;
|
|
4378
4429
|
const { description, buttonTitle } = item;
|
|
@@ -4397,8 +4448,8 @@ function CurriculumReview(props) {
|
|
|
4397
4448
|
const done = (0, import_react34.useMemo)(() => {
|
|
4398
4449
|
return Boolean(curriculumCompleteMap[item.uuid]);
|
|
4399
4450
|
}, [curriculumCompleteMap, item.uuid]);
|
|
4400
|
-
return /* @__PURE__ */ (0,
|
|
4401
|
-
/* @__PURE__ */ (0,
|
|
4451
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(Dialog.Root, { onOpenChange: setOpen, open, children: [
|
|
4452
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
4402
4453
|
import_themes22.Flex,
|
|
4403
4454
|
{
|
|
4404
4455
|
align: "center",
|
|
@@ -4407,15 +4458,21 @@ function CurriculumReview(props) {
|
|
|
4407
4458
|
justify: "center",
|
|
4408
4459
|
px: "3",
|
|
4409
4460
|
py: "3",
|
|
4461
|
+
style: {
|
|
4462
|
+
backgroundImage: `url(https://tipp-coaching-live.s3.ap-northeast-2.amazonaws.com/images/curriculum_review_bg.png)`,
|
|
4463
|
+
backgroundPosition: "center",
|
|
4464
|
+
backgroundSize: "cover",
|
|
4465
|
+
backgroundRepeat: "no-repeat"
|
|
4466
|
+
},
|
|
4410
4467
|
width: "100%",
|
|
4411
4468
|
children: [
|
|
4412
|
-
/* @__PURE__ */ (0,
|
|
4413
|
-
/* @__PURE__ */ (0,
|
|
4414
|
-
/* @__PURE__ */ (0,
|
|
4469
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Typo, { color: "gray", weight: "bold", children: curriculum.title }),
|
|
4470
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Typo, { align: "center", as: "p", color: "gray", children: description }),
|
|
4471
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Dialog.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { mt: "3", style: { minWidth: 232, backgroundColor: "var(--color-panel-solid)" }, variant: done ? "outline" : "solid", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Typo, { truncate: true, children: done ? "\uB098\uC758 \uC751\uB2F5 \uB2E4\uC2DC\uBCF4\uAE30" : buttonTitle }) }) })
|
|
4415
4472
|
]
|
|
4416
4473
|
}
|
|
4417
4474
|
),
|
|
4418
|
-
/* @__PURE__ */ (0,
|
|
4475
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
4419
4476
|
Dialog.Content,
|
|
4420
4477
|
{
|
|
4421
4478
|
height: "100%",
|
|
@@ -4423,7 +4480,7 @@ function CurriculumReview(props) {
|
|
|
4423
4480
|
style: { borderRadius: 0, padding: 0 },
|
|
4424
4481
|
title: "",
|
|
4425
4482
|
width: "100%",
|
|
4426
|
-
children: /* @__PURE__ */ (0,
|
|
4483
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
4427
4484
|
import_themes22.Flex,
|
|
4428
4485
|
{
|
|
4429
4486
|
align: "center",
|
|
@@ -4433,7 +4490,7 @@ function CurriculumReview(props) {
|
|
|
4433
4490
|
position: "relative",
|
|
4434
4491
|
width: "100%",
|
|
4435
4492
|
children: [
|
|
4436
|
-
/* @__PURE__ */ (0,
|
|
4493
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
4437
4494
|
CurriculumReviewSteps_default,
|
|
4438
4495
|
{
|
|
4439
4496
|
contents: item,
|
|
@@ -4447,9 +4504,9 @@ function CurriculumReview(props) {
|
|
|
4447
4504
|
title: sectionTitle
|
|
4448
4505
|
}
|
|
4449
4506
|
),
|
|
4450
|
-
/* @__PURE__ */ (0,
|
|
4451
|
-
/* @__PURE__ */ (0,
|
|
4452
|
-
/* @__PURE__ */ (0,
|
|
4507
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_themes6.Box, { position: "absolute", right: "16px", top: "16px", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_themes18.IconButton, { color: "gray", variant: "ghost", children: [
|
|
4508
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_themes6.Box, { display: { initial: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react_icons8.Cross1Icon, { height: 20, width: 20 }) }),
|
|
4509
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_themes6.Box, { display: { initial: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react_icons8.Cross1Icon, { height: 16, width: 16 }) })
|
|
4453
4510
|
] }) }) })
|
|
4454
4511
|
]
|
|
4455
4512
|
}
|
|
@@ -4460,23 +4517,74 @@ function CurriculumReview(props) {
|
|
|
4460
4517
|
}
|
|
4461
4518
|
var curriculum_review_default = CurriculumReview;
|
|
4462
4519
|
|
|
4520
|
+
// src/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.tsx
|
|
4521
|
+
var import_react35 = require("react");
|
|
4522
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
4523
|
+
function CurriculumAiTraning({
|
|
4524
|
+
item
|
|
4525
|
+
}) {
|
|
4526
|
+
const { title, description, buttonTitle } = item;
|
|
4527
|
+
const { curriculumCompleteMap, onActionButtonClick } = useCurriculumContext();
|
|
4528
|
+
const done = (0, import_react35.useMemo)(() => {
|
|
4529
|
+
return Boolean(curriculumCompleteMap[item.uuid]);
|
|
4530
|
+
}, [curriculumCompleteMap, item.uuid]);
|
|
4531
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
4532
|
+
import_themes22.Flex,
|
|
4533
|
+
{
|
|
4534
|
+
align: "center",
|
|
4535
|
+
direction: "column",
|
|
4536
|
+
height: "100%",
|
|
4537
|
+
justify: "center",
|
|
4538
|
+
style: {
|
|
4539
|
+
backgroundImage: `url(https://tipp-coaching-live.s3.ap-northeast-2.amazonaws.com/images/curriculum_ai_bg.png)`,
|
|
4540
|
+
backgroundPosition: "center",
|
|
4541
|
+
backgroundSize: "cover",
|
|
4542
|
+
backgroundRepeat: "no-repeat"
|
|
4543
|
+
},
|
|
4544
|
+
width: "100%",
|
|
4545
|
+
children: [
|
|
4546
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Typo, { color: "gray", weight: "bold", children: title }),
|
|
4547
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Typo, { align: "center", as: "p", color: "gray", children: description }),
|
|
4548
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
4549
|
+
Button,
|
|
4550
|
+
{
|
|
4551
|
+
mt: "3",
|
|
4552
|
+
onClick: () => {
|
|
4553
|
+
onActionButtonClick(item);
|
|
4554
|
+
},
|
|
4555
|
+
style: { minWidth: 232, backgroundColor: "var(--color-panel-solid)" },
|
|
4556
|
+
variant: done ? "outline" : "solid",
|
|
4557
|
+
children: [
|
|
4558
|
+
done ? "\uB098\uC758 \uC5F0\uC2B5 \uB2E4\uC2DC\uBCF4\uAE30" : buttonTitle || "\uC2DC\uC791\uD558\uAE30",
|
|
4559
|
+
done ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_icons2.ResetIcon, {}) : null
|
|
4560
|
+
]
|
|
4561
|
+
}
|
|
4562
|
+
)
|
|
4563
|
+
]
|
|
4564
|
+
}
|
|
4565
|
+
);
|
|
4566
|
+
}
|
|
4567
|
+
var curriculum_ai_traning_default = CurriculumAiTraning;
|
|
4568
|
+
|
|
4463
4569
|
// src/molecules/curriculumV2/CurriculumContents/index.tsx
|
|
4464
|
-
var
|
|
4570
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
4465
4571
|
function CurriculumBody() {
|
|
4466
4572
|
const { selectedItem, selectedSectionTitle } = useCurriculumContext();
|
|
4467
4573
|
switch (selectedItem.type) {
|
|
4468
4574
|
case "video":
|
|
4469
|
-
return /* @__PURE__ */ (0,
|
|
4575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(curriculum_video_default, { item: selectedItem });
|
|
4470
4576
|
case "review":
|
|
4471
|
-
return /* @__PURE__ */ (0,
|
|
4577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4472
4578
|
curriculum_review_default,
|
|
4473
4579
|
{
|
|
4474
4580
|
item: selectedItem,
|
|
4475
4581
|
sectionTitle: selectedSectionTitle == null ? void 0 : selectedSectionTitle.title
|
|
4476
4582
|
}
|
|
4477
4583
|
);
|
|
4584
|
+
case "aiTraining":
|
|
4585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(curriculum_ai_traning_default, { item: selectedItem });
|
|
4478
4586
|
default:
|
|
4479
|
-
return /* @__PURE__ */ (0,
|
|
4587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
4480
4588
|
import_themes22.Flex,
|
|
4481
4589
|
{
|
|
4482
4590
|
align: "center",
|
|
@@ -4486,9 +4594,9 @@ function CurriculumBody() {
|
|
|
4486
4594
|
justify: "center",
|
|
4487
4595
|
width: "100%",
|
|
4488
4596
|
children: [
|
|
4489
|
-
/* @__PURE__ */ (0,
|
|
4490
|
-
/* @__PURE__ */ (0,
|
|
4491
|
-
/* @__PURE__ */ (0,
|
|
4597
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_react_icons2.InfoCircledIcon, { height: 24, width: 24 }),
|
|
4598
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Typo, { children: "\uCEE8\uD150\uCE20\uB97C \uB85C\uB529 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4" }),
|
|
4599
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Typo, { align: "center", color: "gray", variant: "caption", children: `[debug info]
|
|
4492
4600
|
${JSON.stringify(selectedItem)}` })
|
|
4493
4601
|
]
|
|
4494
4602
|
}
|
|
@@ -4497,12 +4605,12 @@ function CurriculumBody() {
|
|
|
4497
4605
|
}
|
|
4498
4606
|
|
|
4499
4607
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-title.tsx
|
|
4500
|
-
var
|
|
4608
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
4501
4609
|
function SectionTitle(props) {
|
|
4502
4610
|
const { title, duration } = props;
|
|
4503
|
-
return /* @__PURE__ */ (0,
|
|
4504
|
-
/* @__PURE__ */ (0,
|
|
4505
|
-
/* @__PURE__ */ (0,
|
|
4611
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_themes23.Grid, { align: "center", columns: "1fr auto", px: "3", py: "2", children: [
|
|
4612
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Typo, { color: "gray", children: title }),
|
|
4613
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(Typo, { color: "gray", variant: "caption", children: [
|
|
4506
4614
|
duration,
|
|
4507
4615
|
"\uBD84"
|
|
4508
4616
|
] })
|
|
@@ -4511,14 +4619,14 @@ function SectionTitle(props) {
|
|
|
4511
4619
|
var section_title_default = SectionTitle;
|
|
4512
4620
|
|
|
4513
4621
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.tsx
|
|
4514
|
-
var
|
|
4622
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
4515
4623
|
function CurriculumSidebarItemWrapper({
|
|
4516
4624
|
children,
|
|
4517
4625
|
isSelected,
|
|
4518
4626
|
onClick,
|
|
4519
4627
|
index
|
|
4520
4628
|
}) {
|
|
4521
|
-
return /* @__PURE__ */ (0,
|
|
4629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
4522
4630
|
import_themes23.Grid,
|
|
4523
4631
|
{
|
|
4524
4632
|
align: "center",
|
|
@@ -4534,7 +4642,7 @@ function CurriculumSidebarItemWrapper({
|
|
|
4534
4642
|
cursor: onClick ? "pointer" : void 0
|
|
4535
4643
|
},
|
|
4536
4644
|
children: [
|
|
4537
|
-
isSelected ? /* @__PURE__ */ (0,
|
|
4645
|
+
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4538
4646
|
import_themes39.Separator,
|
|
4539
4647
|
{
|
|
4540
4648
|
color: "yellow",
|
|
@@ -4551,15 +4659,15 @@ function CurriculumSidebarItemWrapper({
|
|
|
4551
4659
|
var curriculum_sidebar_item_wrapper_default = CurriculumSidebarItemWrapper;
|
|
4552
4660
|
|
|
4553
4661
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.tsx
|
|
4554
|
-
var
|
|
4662
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
4555
4663
|
function CurriculumItemTitle({
|
|
4556
4664
|
title,
|
|
4557
4665
|
subText,
|
|
4558
4666
|
duration
|
|
4559
4667
|
}) {
|
|
4560
|
-
return /* @__PURE__ */ (0,
|
|
4561
|
-
/* @__PURE__ */ (0,
|
|
4562
|
-
/* @__PURE__ */ (0,
|
|
4668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_themes22.Flex, { direction: "column", gap: "1", children: [
|
|
4669
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Typo, { color: "gray", weight: "bold", children: title }),
|
|
4670
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(Typo, { color: "gray", variant: "caption", children: [
|
|
4563
4671
|
subText,
|
|
4564
4672
|
duration ? ` | ${duration}\uBD84` : ""
|
|
4565
4673
|
] })
|
|
@@ -4568,7 +4676,7 @@ function CurriculumItemTitle({
|
|
|
4568
4676
|
var curriculum_item_title_default = CurriculumItemTitle;
|
|
4569
4677
|
|
|
4570
4678
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-item.tsx
|
|
4571
|
-
var
|
|
4679
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
4572
4680
|
function SectionCommonItem({
|
|
4573
4681
|
title,
|
|
4574
4682
|
duration,
|
|
@@ -4577,21 +4685,21 @@ function SectionCommonItem({
|
|
|
4577
4685
|
color = "gray"
|
|
4578
4686
|
}) {
|
|
4579
4687
|
const IconComp = getCurriculumIcon({ type, icon });
|
|
4580
|
-
return /* @__PURE__ */ (0,
|
|
4581
|
-
/* @__PURE__ */ (0,
|
|
4582
|
-
/* @__PURE__ */ (0,
|
|
4688
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
|
|
4689
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(IconComp, { color }),
|
|
4690
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(curriculum_item_title_default, { duration, subText: getCurriculumContentSubTypeText(type), title })
|
|
4583
4691
|
] });
|
|
4584
4692
|
}
|
|
4585
4693
|
var section_item_default = SectionCommonItem;
|
|
4586
4694
|
|
|
4587
4695
|
// src/molecules/curriculumV2/CurriculumSidebar/sidebar-item.tsx
|
|
4588
|
-
var
|
|
4696
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
4589
4697
|
function SidebarItem({ item, selectedIndex, setSelectedIndex, index, done }) {
|
|
4590
4698
|
if (item.type === "sectionTitle") {
|
|
4591
|
-
return /* @__PURE__ */ (0,
|
|
4699
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(section_title_default, __spreadValues({}, item), item.uuid);
|
|
4592
4700
|
}
|
|
4593
4701
|
const isSelected = selectedIndex === index;
|
|
4594
|
-
return /* @__PURE__ */ (0,
|
|
4702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4595
4703
|
curriculum_sidebar_item_wrapper_default,
|
|
4596
4704
|
{
|
|
4597
4705
|
index,
|
|
@@ -4599,7 +4707,7 @@ function SidebarItem({ item, selectedIndex, setSelectedIndex, index, done }) {
|
|
|
4599
4707
|
onClick: () => {
|
|
4600
4708
|
setSelectedIndex(index);
|
|
4601
4709
|
},
|
|
4602
|
-
children: /* @__PURE__ */ (0,
|
|
4710
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4603
4711
|
section_item_default,
|
|
4604
4712
|
__spreadProps(__spreadValues({}, item), {
|
|
4605
4713
|
color: getCurriculumIconColor({
|
|
@@ -4615,7 +4723,7 @@ function SidebarItem({ item, selectedIndex, setSelectedIndex, index, done }) {
|
|
|
4615
4723
|
var sidebar_item_default = SidebarItem;
|
|
4616
4724
|
|
|
4617
4725
|
// src/molecules/curriculumV2/CurriculumSidebar/index.tsx
|
|
4618
|
-
var
|
|
4726
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
4619
4727
|
var TAB_LIST = [
|
|
4620
4728
|
{
|
|
4621
4729
|
label: "\uAC15\uC758 \uBAA9\uCC28",
|
|
@@ -4625,9 +4733,9 @@ var TAB_LIST = [
|
|
|
4625
4733
|
function CurriculumSidebar() {
|
|
4626
4734
|
const { curriculum, selectedIndex, setSelectedIndex, scrollAreaRef, curriculumCompleteMap } = useCurriculumContext();
|
|
4627
4735
|
const list = curriculum.contents.list;
|
|
4628
|
-
return /* @__PURE__ */ (0,
|
|
4629
|
-
/* @__PURE__ */ (0,
|
|
4630
|
-
/* @__PURE__ */ (0,
|
|
4736
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_themes44.Tabs.Root, { asChild: true, defaultValue: TAB_LIST[0].value, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_themes23.Grid, { height: "100%", overflowY: "auto", rows: "auto 1fr ", width: "100%", children: [
|
|
4737
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_themes44.Tabs.List, { style: { padding: "0 var(--space-3)" }, children: TAB_LIST.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_themes44.Tabs.Trigger, { value: tab.value, children: tab.label }, tab.value)) }),
|
|
4738
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
4631
4739
|
import_themes6.Box,
|
|
4632
4740
|
{
|
|
4633
4741
|
height: "100%",
|
|
@@ -4635,7 +4743,7 @@ function CurriculumSidebar() {
|
|
|
4635
4743
|
position: "relative",
|
|
4636
4744
|
ref: scrollAreaRef,
|
|
4637
4745
|
width: "100%",
|
|
4638
|
-
children: /* @__PURE__ */ (0,
|
|
4746
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
4639
4747
|
import_themes44.Tabs.Content,
|
|
4640
4748
|
{
|
|
4641
4749
|
style: {
|
|
@@ -4645,8 +4753,8 @@ function CurriculumSidebar() {
|
|
|
4645
4753
|
},
|
|
4646
4754
|
value: TAB_LIST[0].value,
|
|
4647
4755
|
children: [
|
|
4648
|
-
list.map((item, index) => /* @__PURE__ */ (0,
|
|
4649
|
-
/* @__PURE__ */ (0,
|
|
4756
|
+
list.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(sidebar_item_default, { done: curriculumCompleteMap[item.uuid], index, item, selectedIndex, setSelectedIndex }, item.uuid)),
|
|
4757
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_themes6.Box, { height: "150px" })
|
|
4650
4758
|
]
|
|
4651
4759
|
}
|
|
4652
4760
|
)
|
|
@@ -4656,11 +4764,11 @@ function CurriculumSidebar() {
|
|
|
4656
4764
|
}
|
|
4657
4765
|
|
|
4658
4766
|
// src/molecules/curriculumV2/curriculum-v2-layout.tsx
|
|
4659
|
-
var
|
|
4767
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
4660
4768
|
function CurriculumV2Layout(props) {
|
|
4661
4769
|
const { NavBar, Contents, SideBar, SideNav, style } = props;
|
|
4662
|
-
return /* @__PURE__ */ (0,
|
|
4663
|
-
/* @__PURE__ */ (0,
|
|
4770
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_themes23.Grid, { align: "center", height: "100%", rows: "auto 1px 1fr", style, width: "100%", children: [
|
|
4771
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4664
4772
|
import_themes22.Flex,
|
|
4665
4773
|
{
|
|
4666
4774
|
align: "center",
|
|
@@ -4669,8 +4777,8 @@ function CurriculumV2Layout(props) {
|
|
|
4669
4777
|
children: NavBar
|
|
4670
4778
|
}
|
|
4671
4779
|
),
|
|
4672
|
-
/* @__PURE__ */ (0,
|
|
4673
|
-
/* @__PURE__ */ (0,
|
|
4780
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_themes39.Separator, { size: "4" }),
|
|
4781
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4674
4782
|
import_themes22.Flex,
|
|
4675
4783
|
{
|
|
4676
4784
|
align: "center",
|
|
@@ -4678,7 +4786,7 @@ function CurriculumV2Layout(props) {
|
|
|
4678
4786
|
justify: "center",
|
|
4679
4787
|
overflow: "hidden",
|
|
4680
4788
|
width: "100%",
|
|
4681
|
-
children: /* @__PURE__ */ (0,
|
|
4789
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
4682
4790
|
import_themes23.Grid,
|
|
4683
4791
|
{
|
|
4684
4792
|
columns: { initial: "1", md: "1fr 340px" },
|
|
@@ -4687,8 +4795,8 @@ function CurriculumV2Layout(props) {
|
|
|
4687
4795
|
rows: { initial: "auto 1fr", md: "auto" },
|
|
4688
4796
|
width: "100%",
|
|
4689
4797
|
children: [
|
|
4690
|
-
/* @__PURE__ */ (0,
|
|
4691
|
-
/* @__PURE__ */ (0,
|
|
4798
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_themes6.Box, { height: "100%", width: "100%", children: [
|
|
4799
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_themes2.AspectRatio, { ratio: 16 / 9, children: Contents }),
|
|
4692
4800
|
SideNav
|
|
4693
4801
|
] }),
|
|
4694
4802
|
SideBar
|
|
@@ -4707,22 +4815,22 @@ var import_themes53 = require("@radix-ui/themes");
|
|
|
4707
4815
|
var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
4708
4816
|
|
|
4709
4817
|
// src/charts/horizontal-bar-chart.tsx
|
|
4710
|
-
var
|
|
4818
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
4711
4819
|
function HorizontalBarChart(props) {
|
|
4712
4820
|
const { total, value, backgroundColor, barColor, height } = props;
|
|
4713
|
-
return /* @__PURE__ */ (0,
|
|
4821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4714
4822
|
"div",
|
|
4715
4823
|
{
|
|
4716
4824
|
className: "tipp_horizontal-bar-chart bar-wrapper",
|
|
4717
4825
|
style: { height, backgroundColor },
|
|
4718
|
-
children: /* @__PURE__ */ (0,
|
|
4826
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4719
4827
|
"div",
|
|
4720
4828
|
{
|
|
4721
4829
|
style: {
|
|
4722
4830
|
width: `${Math.round(value / total * 100)}%`,
|
|
4723
4831
|
height: "100%"
|
|
4724
4832
|
},
|
|
4725
|
-
children: /* @__PURE__ */ (0,
|
|
4833
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
|
|
4726
4834
|
}
|
|
4727
4835
|
)
|
|
4728
4836
|
}
|
|
@@ -4878,23 +4986,23 @@ var EchartDefaultProps = {
|
|
|
4878
4986
|
};
|
|
4879
4987
|
|
|
4880
4988
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
4881
|
-
var
|
|
4989
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
4882
4990
|
function CoachingCustomerInfoSmall({
|
|
4883
4991
|
customer,
|
|
4884
4992
|
children,
|
|
4885
4993
|
badge
|
|
4886
4994
|
}) {
|
|
4887
|
-
return /* @__PURE__ */ (0,
|
|
4995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
4888
4996
|
import_themes22.Flex,
|
|
4889
4997
|
{
|
|
4890
4998
|
direction: { initial: "column", xs: "row" },
|
|
4891
4999
|
gap: "3",
|
|
4892
5000
|
justify: "between",
|
|
4893
5001
|
children: [
|
|
4894
|
-
/* @__PURE__ */ (0,
|
|
4895
|
-
/* @__PURE__ */ (0,
|
|
4896
|
-
/* @__PURE__ */ (0,
|
|
4897
|
-
/* @__PURE__ */ (0,
|
|
5002
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
5003
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
5004
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
5005
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
4898
5006
|
] }) }),
|
|
4899
5007
|
children
|
|
4900
5008
|
]
|
|
@@ -4905,7 +5013,7 @@ function CoachingCustomerInfoSmall({
|
|
|
4905
5013
|
// src/app/platform/userInfos/utils.tsx
|
|
4906
5014
|
var import_date_fns3 = require("date-fns");
|
|
4907
5015
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
4908
|
-
var
|
|
5016
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
4909
5017
|
var infoList = [
|
|
4910
5018
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
4911
5019
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -4965,21 +5073,21 @@ var sessionList = [
|
|
|
4965
5073
|
var renderItem = (args) => {
|
|
4966
5074
|
const { info, data, onClickCopy } = args;
|
|
4967
5075
|
const value = info.getValue(data);
|
|
4968
|
-
return /* @__PURE__ */ (0,
|
|
5076
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx_runtime83.Fragment, { children: [
|
|
4969
5077
|
info.render ? info.render(value) : value || "-",
|
|
4970
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
5078
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
4971
5079
|
] });
|
|
4972
5080
|
};
|
|
4973
5081
|
var renderDataListItem = (args) => {
|
|
4974
5082
|
const { info, data, onClickCopy } = args;
|
|
4975
|
-
return /* @__PURE__ */ (0,
|
|
4976
|
-
/* @__PURE__ */ (0,
|
|
4977
|
-
/* @__PURE__ */ (0,
|
|
5083
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_themes15.DataList.Item, { children: [
|
|
5084
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
5085
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
4978
5086
|
] }, info.label);
|
|
4979
5087
|
};
|
|
4980
5088
|
function CopyButton(props) {
|
|
4981
5089
|
const { value, onClickCopy } = props;
|
|
4982
|
-
return /* @__PURE__ */ (0,
|
|
5090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4983
5091
|
Button,
|
|
4984
5092
|
{
|
|
4985
5093
|
color: "gray",
|
|
@@ -4988,13 +5096,13 @@ function CopyButton(props) {
|
|
|
4988
5096
|
},
|
|
4989
5097
|
style: { marginLeft: "0", marginTop: "0" },
|
|
4990
5098
|
variant: "transparent",
|
|
4991
|
-
children: /* @__PURE__ */ (0,
|
|
5099
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_react_icons9.CopyIcon, {})
|
|
4992
5100
|
}
|
|
4993
5101
|
);
|
|
4994
5102
|
}
|
|
4995
5103
|
|
|
4996
5104
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
4997
|
-
var
|
|
5105
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
4998
5106
|
function CoachingCustomerInfoMedium({
|
|
4999
5107
|
customer,
|
|
5000
5108
|
session,
|
|
@@ -5002,28 +5110,28 @@ function CoachingCustomerInfoMedium({
|
|
|
5002
5110
|
badge,
|
|
5003
5111
|
onClickCopy
|
|
5004
5112
|
}) {
|
|
5005
|
-
return /* @__PURE__ */ (0,
|
|
5006
|
-
/* @__PURE__ */ (0,
|
|
5007
|
-
/* @__PURE__ */ (0,
|
|
5008
|
-
/* @__PURE__ */ (0,
|
|
5113
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
5114
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_themes6.Box, { children: [
|
|
5115
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
5116
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
5009
5117
|
badge
|
|
5010
5118
|
] }),
|
|
5011
|
-
/* @__PURE__ */ (0,
|
|
5119
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
5012
5120
|
] }),
|
|
5013
5121
|
children,
|
|
5014
|
-
/* @__PURE__ */ (0,
|
|
5122
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
5015
5123
|
(el) => renderDataListItem({
|
|
5016
5124
|
info: el,
|
|
5017
5125
|
data: session,
|
|
5018
5126
|
onClickCopy
|
|
5019
5127
|
})
|
|
5020
5128
|
) }) }),
|
|
5021
|
-
/* @__PURE__ */ (0,
|
|
5022
|
-
/* @__PURE__ */ (0,
|
|
5023
|
-
/* @__PURE__ */ (0,
|
|
5129
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
5130
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
5131
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_themes39.Separator, { size: "4" })
|
|
5024
5132
|
] }),
|
|
5025
|
-
/* @__PURE__ */ (0,
|
|
5026
|
-
return /* @__PURE__ */ (0,
|
|
5133
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
5134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Typo, { children: renderItem({
|
|
5027
5135
|
info: el,
|
|
5028
5136
|
data: customer,
|
|
5029
5137
|
onClickCopy
|
|
@@ -5033,7 +5141,7 @@ function CoachingCustomerInfoMedium({
|
|
|
5033
5141
|
}
|
|
5034
5142
|
|
|
5035
5143
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
5036
|
-
var
|
|
5144
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
5037
5145
|
function CoachingCustomerInfoLarge({
|
|
5038
5146
|
customer,
|
|
5039
5147
|
session,
|
|
@@ -5041,24 +5149,24 @@ function CoachingCustomerInfoLarge({
|
|
|
5041
5149
|
badge,
|
|
5042
5150
|
onClickCopy
|
|
5043
5151
|
}) {
|
|
5044
|
-
return /* @__PURE__ */ (0,
|
|
5045
|
-
/* @__PURE__ */ (0,
|
|
5046
|
-
/* @__PURE__ */ (0,
|
|
5047
|
-
/* @__PURE__ */ (0,
|
|
5152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
5153
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_themes6.Box, { children: [
|
|
5154
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
5155
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
5048
5156
|
badge
|
|
5049
5157
|
] }),
|
|
5050
|
-
/* @__PURE__ */ (0,
|
|
5158
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
5051
5159
|
] }),
|
|
5052
5160
|
children,
|
|
5053
|
-
/* @__PURE__ */ (0,
|
|
5161
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
5054
5162
|
(el) => renderDataListItem({
|
|
5055
5163
|
info: el,
|
|
5056
5164
|
data: session,
|
|
5057
5165
|
onClickCopy
|
|
5058
5166
|
})
|
|
5059
5167
|
) }) }),
|
|
5060
|
-
/* @__PURE__ */ (0,
|
|
5061
|
-
/* @__PURE__ */ (0,
|
|
5168
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_themes39.Separator, { size: "4" }),
|
|
5169
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
5062
5170
|
(info) => renderDataListItem({
|
|
5063
5171
|
info,
|
|
5064
5172
|
data: customer,
|
|
@@ -5069,19 +5177,19 @@ function CoachingCustomerInfoLarge({
|
|
|
5069
5177
|
}
|
|
5070
5178
|
|
|
5071
5179
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
5072
|
-
var
|
|
5180
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
5073
5181
|
function CoachingCustomerInfo(props) {
|
|
5074
|
-
return /* @__PURE__ */ (0,
|
|
5075
|
-
/* @__PURE__ */ (0,
|
|
5076
|
-
/* @__PURE__ */ (0,
|
|
5077
|
-
/* @__PURE__ */ (0,
|
|
5182
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_jsx_runtime86.Fragment, { children: [
|
|
5183
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
5184
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
5185
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
5078
5186
|
] });
|
|
5079
5187
|
}
|
|
5080
5188
|
|
|
5081
5189
|
// src/app/platform/goal-manage-card-read.tsx
|
|
5082
|
-
var
|
|
5190
|
+
var import_react36 = require("react");
|
|
5083
5191
|
var import_date_fns4 = require("date-fns");
|
|
5084
|
-
var
|
|
5192
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
5085
5193
|
function GoalManageCardRead(props) {
|
|
5086
5194
|
const {
|
|
5087
5195
|
title,
|
|
@@ -5095,12 +5203,12 @@ function GoalManageCardRead(props) {
|
|
|
5095
5203
|
onClickIncomplete,
|
|
5096
5204
|
onClickComplete
|
|
5097
5205
|
} = props;
|
|
5098
|
-
const [open, setOpen] = (0,
|
|
5099
|
-
const onClickOpen = (0,
|
|
5206
|
+
const [open, setOpen] = (0, import_react36.useState)(Boolean(defaultOpen));
|
|
5207
|
+
const onClickOpen = (0, import_react36.useCallback)(() => {
|
|
5100
5208
|
setOpen((p) => !p);
|
|
5101
5209
|
}, []);
|
|
5102
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
5103
|
-
const badgeMeta = (0,
|
|
5210
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_icons2.ChevronDownIcon, {});
|
|
5211
|
+
const badgeMeta = (0, import_react36.useMemo)(() => {
|
|
5104
5212
|
if (!completed && dueDate) {
|
|
5105
5213
|
if (dueDate >= (0, import_date_fns4.startOfDay)(/* @__PURE__ */ new Date()))
|
|
5106
5214
|
return {
|
|
@@ -5111,41 +5219,41 @@ function GoalManageCardRead(props) {
|
|
|
5111
5219
|
}
|
|
5112
5220
|
return null;
|
|
5113
5221
|
}, [completed, dueDate]);
|
|
5114
|
-
const renderSubTitle = (0,
|
|
5115
|
-
return /* @__PURE__ */ (0,
|
|
5222
|
+
const renderSubTitle = (0, import_react36.useCallback)((subTitle) => {
|
|
5223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
5116
5224
|
}, []);
|
|
5117
|
-
const renderSubContent = (0,
|
|
5118
|
-
return /* @__PURE__ */ (0,
|
|
5225
|
+
const renderSubContent = (0, import_react36.useCallback)((content) => {
|
|
5226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
5119
5227
|
}, []);
|
|
5120
|
-
const renderCompleteButton = (0,
|
|
5228
|
+
const renderCompleteButton = (0, import_react36.useCallback)(() => {
|
|
5121
5229
|
if (completed) {
|
|
5122
|
-
return /* @__PURE__ */ (0,
|
|
5230
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
5123
5231
|
}
|
|
5124
|
-
return /* @__PURE__ */ (0,
|
|
5125
|
-
/* @__PURE__ */ (0,
|
|
5126
|
-
/* @__PURE__ */ (0,
|
|
5232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes29.Popover.Root, { children: [
|
|
5233
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(Button, { size: "small", children: [
|
|
5234
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_icons2.RocketIcon, {}),
|
|
5127
5235
|
"\uB2EC\uC131\uD558\uAE30"
|
|
5128
5236
|
] }) }),
|
|
5129
|
-
/* @__PURE__ */ (0,
|
|
5130
|
-
/* @__PURE__ */ (0,
|
|
5131
|
-
/* @__PURE__ */ (0,
|
|
5132
|
-
/* @__PURE__ */ (0,
|
|
5133
|
-
/* @__PURE__ */ (0,
|
|
5237
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes29.Popover.Content, { children: [
|
|
5238
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
5239
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
5240
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
5241
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
5134
5242
|
] })
|
|
5135
5243
|
] })
|
|
5136
5244
|
] });
|
|
5137
5245
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
5138
|
-
return /* @__PURE__ */ (0,
|
|
5139
|
-
/* @__PURE__ */ (0,
|
|
5140
|
-
/* @__PURE__ */ (0,
|
|
5141
|
-
/* @__PURE__ */ (0,
|
|
5142
|
-
/* @__PURE__ */ (0,
|
|
5143
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
5144
|
-
/* @__PURE__ */ (0,
|
|
5246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
5247
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_themes18.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
5248
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
5249
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
5250
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
5251
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
5252
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns4.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
5145
5253
|
] }),
|
|
5146
5254
|
renderCompleteButton()
|
|
5147
5255
|
] }),
|
|
5148
|
-
open ? /* @__PURE__ */ (0,
|
|
5256
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5149
5257
|
import_themes39.Separator,
|
|
5150
5258
|
{
|
|
5151
5259
|
mb: "4",
|
|
@@ -5154,37 +5262,37 @@ function GoalManageCardRead(props) {
|
|
|
5154
5262
|
style: { gridColumnStart: "span 2" }
|
|
5155
5263
|
}
|
|
5156
5264
|
) : null,
|
|
5157
|
-
/* @__PURE__ */ (0,
|
|
5158
|
-
/* @__PURE__ */ (0,
|
|
5159
|
-
/* @__PURE__ */ (0,
|
|
5265
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(Collapse, { open, children: [
|
|
5266
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
5267
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes6.Box, { children: [
|
|
5160
5268
|
renderSubTitle(
|
|
5161
5269
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
5162
5270
|
),
|
|
5163
5271
|
renderSubContent(expectedEffect)
|
|
5164
5272
|
] }),
|
|
5165
|
-
/* @__PURE__ */ (0,
|
|
5273
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes6.Box, { children: [
|
|
5166
5274
|
renderSubTitle(
|
|
5167
5275
|
"\uBAA9\uD45C\uB97C \uC774\uB8E8\uAE30\uAE4C\uC9C0 \uBC29\uD574\uAC00 \uB420 \uC218 \uC788\uB294 \uC694\uC18C\uB4E4\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4"
|
|
5168
5276
|
),
|
|
5169
5277
|
renderSubContent(huddle)
|
|
5170
5278
|
] })
|
|
5171
5279
|
] }),
|
|
5172
|
-
/* @__PURE__ */ (0,
|
|
5173
|
-
/* @__PURE__ */ (0,
|
|
5174
|
-
/* @__PURE__ */ (0,
|
|
5175
|
-
/* @__PURE__ */ (0,
|
|
5280
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
5281
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes29.Popover.Root, { children: [
|
|
5282
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
5283
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_icons2.TrashIcon, {}),
|
|
5176
5284
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
5177
5285
|
] }) }),
|
|
5178
|
-
/* @__PURE__ */ (0,
|
|
5179
|
-
/* @__PURE__ */ (0,
|
|
5180
|
-
/* @__PURE__ */ (0,
|
|
5181
|
-
/* @__PURE__ */ (0,
|
|
5182
|
-
/* @__PURE__ */ (0,
|
|
5286
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes29.Popover.Content, { children: [
|
|
5287
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
5288
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
5289
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
5290
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
5183
5291
|
] })
|
|
5184
5292
|
] })
|
|
5185
5293
|
] }),
|
|
5186
|
-
/* @__PURE__ */ (0,
|
|
5187
|
-
/* @__PURE__ */ (0,
|
|
5294
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
5295
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_icons2.Pencil1Icon, {}),
|
|
5188
5296
|
"\uC218\uC815\uD558\uAE30"
|
|
5189
5297
|
] })
|
|
5190
5298
|
] })
|
|
@@ -5193,9 +5301,9 @@ function GoalManageCardRead(props) {
|
|
|
5193
5301
|
}
|
|
5194
5302
|
|
|
5195
5303
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
5196
|
-
var
|
|
5304
|
+
var import_react37 = require("react");
|
|
5197
5305
|
var import_date_fns5 = require("date-fns");
|
|
5198
|
-
var
|
|
5306
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
5199
5307
|
var initialValues = {
|
|
5200
5308
|
goal: "",
|
|
5201
5309
|
effect: "",
|
|
@@ -5206,8 +5314,8 @@ var dummyFn = () => {
|
|
|
5206
5314
|
};
|
|
5207
5315
|
function GoalManageCardEdit(props) {
|
|
5208
5316
|
const { defaultValues, errors } = props;
|
|
5209
|
-
const [values, setValues] = (0,
|
|
5210
|
-
const onChange = (0,
|
|
5317
|
+
const [values, setValues] = (0, import_react37.useState)(defaultValues || initialValues);
|
|
5318
|
+
const onChange = (0, import_react37.useCallback)(
|
|
5211
5319
|
(v) => {
|
|
5212
5320
|
var _a;
|
|
5213
5321
|
setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
|
|
@@ -5215,20 +5323,20 @@ function GoalManageCardEdit(props) {
|
|
|
5215
5323
|
},
|
|
5216
5324
|
[props]
|
|
5217
5325
|
);
|
|
5218
|
-
const onClickInit = (0,
|
|
5326
|
+
const onClickInit = (0, import_react37.useCallback)(() => {
|
|
5219
5327
|
var _a;
|
|
5220
5328
|
setValues(initialValues);
|
|
5221
5329
|
(_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
|
|
5222
5330
|
}, [defaultValues, props]);
|
|
5223
|
-
const onClickSubmit = (0,
|
|
5331
|
+
const onClickSubmit = (0, import_react37.useCallback)(() => {
|
|
5224
5332
|
var _a;
|
|
5225
5333
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
5226
5334
|
}, [props, values]);
|
|
5227
|
-
return /* @__PURE__ */ (0,
|
|
5228
|
-
/* @__PURE__ */ (0,
|
|
5229
|
-
/* @__PURE__ */ (0,
|
|
5230
|
-
/* @__PURE__ */ (0,
|
|
5231
|
-
/* @__PURE__ */ (0,
|
|
5335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
5336
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
5337
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(Form.Field, { name: "title", children: [
|
|
5338
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
5339
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5232
5340
|
TextField.Root,
|
|
5233
5341
|
{
|
|
5234
5342
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -5239,11 +5347,11 @@ function GoalManageCardEdit(props) {
|
|
|
5239
5347
|
value: values.goal
|
|
5240
5348
|
}
|
|
5241
5349
|
),
|
|
5242
|
-
/* @__PURE__ */ (0,
|
|
5350
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
5243
5351
|
] }),
|
|
5244
|
-
/* @__PURE__ */ (0,
|
|
5245
|
-
/* @__PURE__ */ (0,
|
|
5246
|
-
/* @__PURE__ */ (0,
|
|
5352
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(Form.Field, { name: "effect", children: [
|
|
5353
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
5354
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5247
5355
|
TextArea,
|
|
5248
5356
|
{
|
|
5249
5357
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -5255,11 +5363,11 @@ function GoalManageCardEdit(props) {
|
|
|
5255
5363
|
value: values.effect
|
|
5256
5364
|
}
|
|
5257
5365
|
),
|
|
5258
|
-
/* @__PURE__ */ (0,
|
|
5366
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
5259
5367
|
] }),
|
|
5260
|
-
/* @__PURE__ */ (0,
|
|
5261
|
-
/* @__PURE__ */ (0,
|
|
5262
|
-
/* @__PURE__ */ (0,
|
|
5368
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(Form.Field, { name: "huddle", children: [
|
|
5369
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
5370
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5263
5371
|
TextArea,
|
|
5264
5372
|
{
|
|
5265
5373
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -5273,11 +5381,11 @@ function GoalManageCardEdit(props) {
|
|
|
5273
5381
|
value: values.huddle
|
|
5274
5382
|
}
|
|
5275
5383
|
),
|
|
5276
|
-
/* @__PURE__ */ (0,
|
|
5384
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
5277
5385
|
] }),
|
|
5278
|
-
/* @__PURE__ */ (0,
|
|
5279
|
-
/* @__PURE__ */ (0,
|
|
5280
|
-
/* @__PURE__ */ (0,
|
|
5386
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
5387
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
5388
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5281
5389
|
DatePickerButton,
|
|
5282
5390
|
{
|
|
5283
5391
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -5288,11 +5396,11 @@ function GoalManageCardEdit(props) {
|
|
|
5288
5396
|
selected: values.dueDate
|
|
5289
5397
|
}
|
|
5290
5398
|
),
|
|
5291
|
-
/* @__PURE__ */ (0,
|
|
5399
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
5292
5400
|
] })
|
|
5293
5401
|
] }),
|
|
5294
|
-
/* @__PURE__ */ (0,
|
|
5295
|
-
/* @__PURE__ */ (0,
|
|
5402
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
5403
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
5296
5404
|
Button,
|
|
5297
5405
|
{
|
|
5298
5406
|
color: "gray",
|
|
@@ -5303,18 +5411,18 @@ function GoalManageCardEdit(props) {
|
|
|
5303
5411
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
5304
5412
|
}
|
|
5305
5413
|
),
|
|
5306
|
-
/* @__PURE__ */ (0,
|
|
5414
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
5307
5415
|
] })
|
|
5308
5416
|
] }) });
|
|
5309
5417
|
}
|
|
5310
5418
|
|
|
5311
5419
|
// src/app/platform/session-card.tsx
|
|
5312
|
-
var
|
|
5420
|
+
var import_react40 = require("react");
|
|
5313
5421
|
var import_date_fns6 = require("date-fns");
|
|
5314
5422
|
|
|
5315
5423
|
// src/app/platform/edit-coaching-time.tsx
|
|
5316
|
-
var
|
|
5317
|
-
var
|
|
5424
|
+
var import_react38 = require("react");
|
|
5425
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
5318
5426
|
var getValueFromDefaultValue = (args) => {
|
|
5319
5427
|
return {
|
|
5320
5428
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -5334,14 +5442,14 @@ var getDateFromValue = (date, time) => {
|
|
|
5334
5442
|
};
|
|
5335
5443
|
function EditCoachingTime(props) {
|
|
5336
5444
|
const { defaultEndAt, defaultStartAt, onClickCancel } = props;
|
|
5337
|
-
const [values, setValues] = (0,
|
|
5445
|
+
const [values, setValues] = (0, import_react38.useState)(() => {
|
|
5338
5446
|
return getValueFromDefaultValue({
|
|
5339
5447
|
startAt: defaultStartAt,
|
|
5340
5448
|
endAt: defaultEndAt
|
|
5341
5449
|
});
|
|
5342
5450
|
});
|
|
5343
|
-
const [timeError, setTimeError] = (0,
|
|
5344
|
-
const checkTimeError = (0,
|
|
5451
|
+
const [timeError, setTimeError] = (0, import_react38.useState)("");
|
|
5452
|
+
const checkTimeError = (0, import_react38.useCallback)(
|
|
5345
5453
|
(startTime, endTime) => {
|
|
5346
5454
|
const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
|
|
5347
5455
|
if (error) {
|
|
@@ -5352,7 +5460,7 @@ function EditCoachingTime(props) {
|
|
|
5352
5460
|
},
|
|
5353
5461
|
[]
|
|
5354
5462
|
);
|
|
5355
|
-
const onChangeStartTime = (0,
|
|
5463
|
+
const onChangeStartTime = (0, import_react38.useCallback)(
|
|
5356
5464
|
(v) => {
|
|
5357
5465
|
checkTimeError(v, values.endTime);
|
|
5358
5466
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -5361,7 +5469,7 @@ function EditCoachingTime(props) {
|
|
|
5361
5469
|
},
|
|
5362
5470
|
[checkTimeError, values.endTime]
|
|
5363
5471
|
);
|
|
5364
|
-
const onChangeEndTime = (0,
|
|
5472
|
+
const onChangeEndTime = (0, import_react38.useCallback)(
|
|
5365
5473
|
(v) => {
|
|
5366
5474
|
checkTimeError(values.startTime, v);
|
|
5367
5475
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -5370,12 +5478,12 @@ function EditCoachingTime(props) {
|
|
|
5370
5478
|
},
|
|
5371
5479
|
[checkTimeError, values.startTime]
|
|
5372
5480
|
);
|
|
5373
|
-
const onChangeDate = (0,
|
|
5481
|
+
const onChangeDate = (0, import_react38.useCallback)((date) => {
|
|
5374
5482
|
date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
5375
5483
|
date
|
|
5376
5484
|
}));
|
|
5377
5485
|
}, []);
|
|
5378
|
-
const onClickSave = (0,
|
|
5486
|
+
const onClickSave = (0, import_react38.useCallback)(() => {
|
|
5379
5487
|
if (checkTimeError(values.startTime, values.endTime)) {
|
|
5380
5488
|
const startAt = getDateFromValue(values.date, values.startTime);
|
|
5381
5489
|
const endAt = getDateFromValue(values.date, values.endTime);
|
|
@@ -5384,10 +5492,10 @@ function EditCoachingTime(props) {
|
|
|
5384
5492
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
5385
5493
|
}
|
|
5386
5494
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
5387
|
-
return /* @__PURE__ */ (0,
|
|
5388
|
-
/* @__PURE__ */ (0,
|
|
5389
|
-
/* @__PURE__ */ (0,
|
|
5390
|
-
/* @__PURE__ */ (0,
|
|
5495
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(Form.Root, { children: [
|
|
5496
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(Form.Field, { name: "date", children: [
|
|
5497
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
5498
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
5391
5499
|
DatePickerButton,
|
|
5392
5500
|
{
|
|
5393
5501
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -5397,7 +5505,7 @@ function EditCoachingTime(props) {
|
|
|
5397
5505
|
}
|
|
5398
5506
|
)
|
|
5399
5507
|
] }),
|
|
5400
|
-
/* @__PURE__ */ (0,
|
|
5508
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
5401
5509
|
import_themes23.Grid,
|
|
5402
5510
|
{
|
|
5403
5511
|
align: "center",
|
|
@@ -5412,10 +5520,10 @@ function EditCoachingTime(props) {
|
|
|
5412
5520
|
mt: "5",
|
|
5413
5521
|
width: "100%",
|
|
5414
5522
|
children: [
|
|
5415
|
-
/* @__PURE__ */ (0,
|
|
5416
|
-
/* @__PURE__ */ (0,
|
|
5417
|
-
/* @__PURE__ */ (0,
|
|
5418
|
-
/* @__PURE__ */ (0,
|
|
5523
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
5524
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", {}),
|
|
5525
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
5526
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
5419
5527
|
TimeSelect,
|
|
5420
5528
|
{
|
|
5421
5529
|
onValueChange: onChangeStartTime,
|
|
@@ -5423,8 +5531,8 @@ function EditCoachingTime(props) {
|
|
|
5423
5531
|
value: values.startTime
|
|
5424
5532
|
}
|
|
5425
5533
|
),
|
|
5426
|
-
/* @__PURE__ */ (0,
|
|
5427
|
-
/* @__PURE__ */ (0,
|
|
5534
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes39.Separator, {}) }),
|
|
5535
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
5428
5536
|
TimeSelect,
|
|
5429
5537
|
{
|
|
5430
5538
|
onValueChange: onChangeEndTime,
|
|
@@ -5432,36 +5540,36 @@ function EditCoachingTime(props) {
|
|
|
5432
5540
|
value: values.endTime
|
|
5433
5541
|
}
|
|
5434
5542
|
),
|
|
5435
|
-
/* @__PURE__ */ (0,
|
|
5543
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
5436
5544
|
]
|
|
5437
5545
|
}
|
|
5438
5546
|
),
|
|
5439
|
-
/* @__PURE__ */ (0,
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5441
|
-
/* @__PURE__ */ (0,
|
|
5547
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
5548
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
5549
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
5442
5550
|
] })
|
|
5443
5551
|
] }) });
|
|
5444
5552
|
}
|
|
5445
5553
|
|
|
5446
5554
|
// src/app/platform/edit-service-type.tsx
|
|
5447
|
-
var
|
|
5555
|
+
var import_react39 = require("react");
|
|
5448
5556
|
|
|
5449
5557
|
// src/app/platform/on-offline-radio-card.tsx
|
|
5450
5558
|
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
5451
|
-
var
|
|
5559
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
5452
5560
|
var SERVICE_TYPE = {
|
|
5453
5561
|
onlineCoaching: "onlineCoaching",
|
|
5454
5562
|
offlineCoaching: "offlineCoaching"
|
|
5455
5563
|
};
|
|
5456
5564
|
var breakpoint = "sm";
|
|
5457
5565
|
function HideSmallBox(props) {
|
|
5458
|
-
return /* @__PURE__ */ (0,
|
|
5566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
5459
5567
|
}
|
|
5460
5568
|
function OnOfflineRadioCard(props) {
|
|
5461
5569
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
5462
5570
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
5463
5571
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
5464
|
-
return /* @__PURE__ */ (0,
|
|
5572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
5465
5573
|
RadioButtonCard.Root,
|
|
5466
5574
|
__spreadProps(__spreadValues({
|
|
5467
5575
|
RadioWrapper: Wrapper,
|
|
@@ -5470,13 +5578,13 @@ function OnOfflineRadioCard(props) {
|
|
|
5470
5578
|
justify
|
|
5471
5579
|
}, props), {
|
|
5472
5580
|
children: [
|
|
5473
|
-
/* @__PURE__ */ (0,
|
|
5474
|
-
/* @__PURE__ */ (0,
|
|
5475
|
-
/* @__PURE__ */ (0,
|
|
5581
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
5582
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_icons10.GlobeIcon, {}) }),
|
|
5583
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
5476
5584
|
] }) }),
|
|
5477
|
-
/* @__PURE__ */ (0,
|
|
5478
|
-
/* @__PURE__ */ (0,
|
|
5479
|
-
/* @__PURE__ */ (0,
|
|
5585
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
5586
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_icons10.BackpackIcon, {}) }),
|
|
5587
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
5480
5588
|
] }) })
|
|
5481
5589
|
]
|
|
5482
5590
|
})
|
|
@@ -5484,18 +5592,18 @@ function OnOfflineRadioCard(props) {
|
|
|
5484
5592
|
}
|
|
5485
5593
|
|
|
5486
5594
|
// src/app/platform/edit-service-type.tsx
|
|
5487
|
-
var
|
|
5595
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
5488
5596
|
function EditServiceType(props) {
|
|
5489
5597
|
const { defaultServiceType, onClickCancel } = props;
|
|
5490
|
-
const [sessionType, setSessionType] = (0,
|
|
5598
|
+
const [sessionType, setSessionType] = (0, import_react39.useState)(
|
|
5491
5599
|
defaultServiceType
|
|
5492
5600
|
);
|
|
5493
|
-
const onClickSave = (0,
|
|
5601
|
+
const onClickSave = (0, import_react39.useCallback)(() => {
|
|
5494
5602
|
var _a;
|
|
5495
5603
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
5496
5604
|
}, [props, sessionType]);
|
|
5497
|
-
return /* @__PURE__ */ (0,
|
|
5498
|
-
/* @__PURE__ */ (0,
|
|
5605
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_themes6.Box, { children: [
|
|
5606
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5499
5607
|
Typo,
|
|
5500
5608
|
{
|
|
5501
5609
|
as: "p",
|
|
@@ -5505,16 +5613,16 @@ function EditServiceType(props) {
|
|
|
5505
5613
|
children: "\uC138\uC158 \uC720\uD615\uC5D0 \uB530\uB77C \uCC45\uC815\uB418\uB294 \uCF54\uCE6D \uAE08\uC561\uC774 \uB2EC\uB77C\uC9C0\uBBC0\uB85C, \uC815\uD655\uD558\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694"
|
|
5506
5614
|
}
|
|
5507
5615
|
),
|
|
5508
|
-
/* @__PURE__ */ (0,
|
|
5509
|
-
/* @__PURE__ */ (0,
|
|
5510
|
-
/* @__PURE__ */ (0,
|
|
5511
|
-
/* @__PURE__ */ (0,
|
|
5616
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
5617
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
5618
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
5619
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
5512
5620
|
] })
|
|
5513
5621
|
] });
|
|
5514
5622
|
}
|
|
5515
5623
|
|
|
5516
5624
|
// src/app/platform/session-card.tsx
|
|
5517
|
-
var
|
|
5625
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
5518
5626
|
var preventDefault4 = (e) => {
|
|
5519
5627
|
e.preventDefault();
|
|
5520
5628
|
};
|
|
@@ -5544,33 +5652,33 @@ function SessionCard(props) {
|
|
|
5544
5652
|
"endAt",
|
|
5545
5653
|
"sessionType"
|
|
5546
5654
|
]);
|
|
5547
|
-
const renderEditButton = (0,
|
|
5548
|
-
return /* @__PURE__ */ (0,
|
|
5655
|
+
const renderEditButton = (0, import_react40.useCallback)(() => {
|
|
5656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
5549
5657
|
}, []);
|
|
5550
|
-
const sessionTimeStr = (0,
|
|
5658
|
+
const sessionTimeStr = (0, import_react40.useMemo)(() => {
|
|
5551
5659
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
5552
5660
|
return `${(0, import_date_fns6.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns6.format)(endAt, "HH\uC2DC mm\uBD84")}`;
|
|
5553
5661
|
}, [startAt, endAt]);
|
|
5554
|
-
return /* @__PURE__ */ (0,
|
|
5555
|
-
/* @__PURE__ */ (0,
|
|
5556
|
-
/* @__PURE__ */ (0,
|
|
5662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
5663
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
5664
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
5557
5665
|
TitleExtra,
|
|
5558
|
-
error ? /* @__PURE__ */ (0,
|
|
5666
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
5559
5667
|
] }),
|
|
5560
|
-
/* @__PURE__ */ (0,
|
|
5561
|
-
/* @__PURE__ */ (0,
|
|
5562
|
-
/* @__PURE__ */ (0,
|
|
5563
|
-
/* @__PURE__ */ (0,
|
|
5668
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes15.DataList.Root, { children: [
|
|
5669
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes15.DataList.Item, { children: [
|
|
5670
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
5671
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes15.DataList.Value, { children: [
|
|
5564
5672
|
sessionTimeStr,
|
|
5565
|
-
editable ? /* @__PURE__ */ (0,
|
|
5566
|
-
/* @__PURE__ */ (0,
|
|
5567
|
-
/* @__PURE__ */ (0,
|
|
5673
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(Dialog.Root, { children: [
|
|
5674
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
5675
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
5568
5676
|
Dialog.Content,
|
|
5569
5677
|
{
|
|
5570
5678
|
onOpenAutoFocus: preventDefault4,
|
|
5571
5679
|
style: { overflow: "visible" },
|
|
5572
5680
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
5573
|
-
children: /* @__PURE__ */ (0,
|
|
5681
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
5574
5682
|
EditCoachingTime,
|
|
5575
5683
|
{
|
|
5576
5684
|
defaultEndAt: endAt,
|
|
@@ -5583,18 +5691,18 @@ function SessionCard(props) {
|
|
|
5583
5691
|
] }) : null
|
|
5584
5692
|
] })
|
|
5585
5693
|
] }),
|
|
5586
|
-
/* @__PURE__ */ (0,
|
|
5587
|
-
/* @__PURE__ */ (0,
|
|
5588
|
-
/* @__PURE__ */ (0,
|
|
5589
|
-
/* @__PURE__ */ (0,
|
|
5694
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
5695
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes15.DataList.Item, { children: [
|
|
5696
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
5697
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes15.DataList.Value, { children: [
|
|
5590
5698
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
5591
|
-
editable ? /* @__PURE__ */ (0,
|
|
5592
|
-
/* @__PURE__ */ (0,
|
|
5593
|
-
/* @__PURE__ */ (0,
|
|
5699
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(Dialog.Root, { children: [
|
|
5700
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
5701
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
5594
5702
|
Dialog.Content,
|
|
5595
5703
|
{
|
|
5596
5704
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
5597
|
-
children: /* @__PURE__ */ (0,
|
|
5705
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
5598
5706
|
EditServiceType,
|
|
5599
5707
|
{
|
|
5600
5708
|
defaultServiceType: sessionType,
|
|
@@ -5606,32 +5714,32 @@ function SessionCard(props) {
|
|
|
5606
5714
|
] }) : null
|
|
5607
5715
|
] })
|
|
5608
5716
|
] }),
|
|
5609
|
-
/* @__PURE__ */ (0,
|
|
5717
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
5610
5718
|
] })
|
|
5611
5719
|
] })
|
|
5612
5720
|
] }) }));
|
|
5613
5721
|
}
|
|
5614
5722
|
|
|
5615
5723
|
// src/app/platform/coach-question-list.tsx
|
|
5616
|
-
var
|
|
5724
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
5617
5725
|
function QuestionItem({ question, answer }) {
|
|
5618
|
-
return /* @__PURE__ */ (0,
|
|
5619
|
-
/* @__PURE__ */ (0,
|
|
5620
|
-
/* @__PURE__ */ (0,
|
|
5726
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_themes6.Box, { children: [
|
|
5727
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
5728
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
5621
5729
|
] }, question);
|
|
5622
5730
|
}
|
|
5623
5731
|
function CoachQuestionList({
|
|
5624
5732
|
questions
|
|
5625
5733
|
}) {
|
|
5626
|
-
return /* @__PURE__ */ (0,
|
|
5627
|
-
return /* @__PURE__ */ (0,
|
|
5734
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
5735
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
5628
5736
|
}) });
|
|
5629
5737
|
}
|
|
5630
5738
|
|
|
5631
5739
|
// src/app/platform/reservation-card.tsx
|
|
5632
|
-
var
|
|
5740
|
+
var import_react41 = require("react");
|
|
5633
5741
|
var import_date_fns7 = require("date-fns");
|
|
5634
|
-
var
|
|
5742
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
5635
5743
|
function ReservationCard(props) {
|
|
5636
5744
|
const {
|
|
5637
5745
|
sessionNumber,
|
|
@@ -5646,30 +5754,30 @@ function ReservationCard(props) {
|
|
|
5646
5754
|
onClickCancel,
|
|
5647
5755
|
onClickCompleteSession
|
|
5648
5756
|
} = props;
|
|
5649
|
-
const [editValues, setEditValues] = (0,
|
|
5757
|
+
const [editValues, setEditValues] = (0, import_react41.useState)({
|
|
5650
5758
|
date: props.defaultTime,
|
|
5651
5759
|
type: props.defaultType
|
|
5652
5760
|
});
|
|
5653
5761
|
const date = readonly ? defaultTime : editValues.date;
|
|
5654
5762
|
const type = readonly ? defaultType : editValues.type;
|
|
5655
5763
|
const time = date && getTimeOption(date);
|
|
5656
|
-
const onClickSave = (0,
|
|
5764
|
+
const onClickSave = (0, import_react41.useCallback)(() => {
|
|
5657
5765
|
var _a;
|
|
5658
5766
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
|
|
5659
5767
|
}, [editValues, props]);
|
|
5660
|
-
const onClickReset = (0,
|
|
5768
|
+
const onClickReset = (0, import_react41.useCallback)(() => {
|
|
5661
5769
|
setEditValues({
|
|
5662
5770
|
date: defaultTime,
|
|
5663
5771
|
type: defaultType
|
|
5664
5772
|
});
|
|
5665
5773
|
}, [defaultTime, defaultType]);
|
|
5666
|
-
const ActionButtons = (0,
|
|
5774
|
+
const ActionButtons = (0, import_react41.useMemo)(() => {
|
|
5667
5775
|
if (readonly) {
|
|
5668
|
-
return /* @__PURE__ */ (0,
|
|
5776
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
5669
5777
|
}
|
|
5670
|
-
return /* @__PURE__ */ (0,
|
|
5778
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
5671
5779
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
5672
|
-
const onChangeDate = (0,
|
|
5780
|
+
const onChangeDate = (0, import_react41.useCallback)(
|
|
5673
5781
|
(newDate) => {
|
|
5674
5782
|
if (!newDate) return;
|
|
5675
5783
|
const { hour = 0, minute = 0 } = time ? parseTimeOption(time) : {};
|
|
@@ -5681,14 +5789,14 @@ function ReservationCard(props) {
|
|
|
5681
5789
|
},
|
|
5682
5790
|
[time]
|
|
5683
5791
|
);
|
|
5684
|
-
const onChangeType = (0,
|
|
5792
|
+
const onChangeType = (0, import_react41.useCallback)((newType) => {
|
|
5685
5793
|
setEditValues((prev) => {
|
|
5686
5794
|
return __spreadProps(__spreadValues({}, prev), {
|
|
5687
5795
|
type: newType
|
|
5688
5796
|
});
|
|
5689
5797
|
});
|
|
5690
5798
|
}, []);
|
|
5691
|
-
const onChangeTime = (0,
|
|
5799
|
+
const onChangeTime = (0, import_react41.useCallback)(
|
|
5692
5800
|
(v) => {
|
|
5693
5801
|
const { hour, minute } = parseTimeOption(v);
|
|
5694
5802
|
if (typeof v === "undefined") {
|
|
@@ -5706,7 +5814,7 @@ function ReservationCard(props) {
|
|
|
5706
5814
|
},
|
|
5707
5815
|
[date]
|
|
5708
5816
|
);
|
|
5709
|
-
(0,
|
|
5817
|
+
(0, import_react41.useEffect)(() => {
|
|
5710
5818
|
if (!minTime || !editValues.date || readonly) return;
|
|
5711
5819
|
if (editValues.date < minTime) {
|
|
5712
5820
|
import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -5717,7 +5825,7 @@ function ReservationCard(props) {
|
|
|
5717
5825
|
});
|
|
5718
5826
|
}
|
|
5719
5827
|
}, [editValues, minTime, readonly]);
|
|
5720
|
-
(0,
|
|
5828
|
+
(0, import_react41.useEffect)(() => {
|
|
5721
5829
|
if (!maxTime || !editValues.date || readonly) return;
|
|
5722
5830
|
if (editValues.date > maxTime) {
|
|
5723
5831
|
import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -5728,47 +5836,47 @@ function ReservationCard(props) {
|
|
|
5728
5836
|
});
|
|
5729
5837
|
}
|
|
5730
5838
|
}, [editValues, maxTime, readonly]);
|
|
5731
|
-
return /* @__PURE__ */ (0,
|
|
5839
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
5732
5840
|
Card,
|
|
5733
5841
|
{
|
|
5734
5842
|
error: Boolean(error),
|
|
5735
5843
|
size: "3",
|
|
5736
5844
|
style: { overflow: "visible", contain: "initial" },
|
|
5737
5845
|
children: [
|
|
5738
|
-
/* @__PURE__ */ (0,
|
|
5739
|
-
/* @__PURE__ */ (0,
|
|
5846
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
5847
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
5740
5848
|
import_themes23.Grid,
|
|
5741
5849
|
{
|
|
5742
5850
|
align: "center",
|
|
5743
5851
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
5744
5852
|
gapY: "2",
|
|
5745
5853
|
children: [
|
|
5746
|
-
/* @__PURE__ */ (0,
|
|
5747
|
-
/* @__PURE__ */ (0,
|
|
5854
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
5855
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Heading2, { variant: "heading4", children: [
|
|
5748
5856
|
customerName || "-",
|
|
5749
5857
|
"\uB2D8 ",
|
|
5750
5858
|
sessionNumber || "-",
|
|
5751
5859
|
"\uD68C\uCC28 \uC138\uC158"
|
|
5752
5860
|
] }),
|
|
5753
|
-
/* @__PURE__ */ (0,
|
|
5861
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
5754
5862
|
] }),
|
|
5755
|
-
error ? /* @__PURE__ */ (0,
|
|
5863
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
5756
5864
|
]
|
|
5757
5865
|
}
|
|
5758
5866
|
),
|
|
5759
|
-
/* @__PURE__ */ (0,
|
|
5867
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
5760
5868
|
] }),
|
|
5761
|
-
/* @__PURE__ */ (0,
|
|
5869
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5762
5870
|
Form.Root,
|
|
5763
5871
|
{
|
|
5764
5872
|
onSubmit: (e) => {
|
|
5765
5873
|
e.preventDefault();
|
|
5766
5874
|
},
|
|
5767
|
-
children: /* @__PURE__ */ (0,
|
|
5768
|
-
/* @__PURE__ */ (0,
|
|
5769
|
-
/* @__PURE__ */ (0,
|
|
5770
|
-
/* @__PURE__ */ (0,
|
|
5771
|
-
/* @__PURE__ */ (0,
|
|
5875
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
5876
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Form.Label, { asChild: true, children: [
|
|
5877
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
5878
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
5879
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5772
5880
|
DatePickerButton,
|
|
5773
5881
|
{
|
|
5774
5882
|
disabled: readonly,
|
|
@@ -5780,7 +5888,7 @@ function ReservationCard(props) {
|
|
|
5780
5888
|
size: "large"
|
|
5781
5889
|
}
|
|
5782
5890
|
),
|
|
5783
|
-
/* @__PURE__ */ (0,
|
|
5891
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5784
5892
|
TimeSelect,
|
|
5785
5893
|
{
|
|
5786
5894
|
disabled: readonly,
|
|
@@ -5794,9 +5902,9 @@ function ReservationCard(props) {
|
|
|
5794
5902
|
)
|
|
5795
5903
|
] })
|
|
5796
5904
|
] }) }),
|
|
5797
|
-
/* @__PURE__ */ (0,
|
|
5798
|
-
/* @__PURE__ */ (0,
|
|
5799
|
-
/* @__PURE__ */ (0,
|
|
5905
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Form.Field, { name: "type", children: [
|
|
5906
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
5907
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5800
5908
|
OnOfflineRadioCard,
|
|
5801
5909
|
{
|
|
5802
5910
|
disabled: readonly,
|
|
@@ -5806,8 +5914,8 @@ function ReservationCard(props) {
|
|
|
5806
5914
|
}
|
|
5807
5915
|
) })
|
|
5808
5916
|
] }),
|
|
5809
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
5810
|
-
/* @__PURE__ */ (0,
|
|
5917
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
5918
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5811
5919
|
Button,
|
|
5812
5920
|
{
|
|
5813
5921
|
color: "gray",
|
|
@@ -5817,12 +5925,12 @@ function ReservationCard(props) {
|
|
|
5817
5925
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
5818
5926
|
}
|
|
5819
5927
|
),
|
|
5820
|
-
/* @__PURE__ */ (0,
|
|
5928
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
5821
5929
|
] })
|
|
5822
5930
|
] })
|
|
5823
5931
|
}
|
|
5824
5932
|
) }),
|
|
5825
|
-
readonly ? /* @__PURE__ */ (0,
|
|
5933
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5826
5934
|
import_themes6.Box,
|
|
5827
5935
|
{
|
|
5828
5936
|
mt: "5",
|
|
@@ -5830,14 +5938,14 @@ function ReservationCard(props) {
|
|
|
5830
5938
|
py: "4",
|
|
5831
5939
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
5832
5940
|
width: "100%",
|
|
5833
|
-
children: /* @__PURE__ */ (0,
|
|
5834
|
-
/* @__PURE__ */ (0,
|
|
5941
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
5942
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Typo, { children: [
|
|
5835
5943
|
sessionNumber || "-",
|
|
5836
5944
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
5837
5945
|
] }),
|
|
5838
|
-
/* @__PURE__ */ (0,
|
|
5946
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
5839
5947
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
5840
|
-
/* @__PURE__ */ (0,
|
|
5948
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
5841
5949
|
] })
|
|
5842
5950
|
] })
|
|
5843
5951
|
}
|
|
@@ -5848,22 +5956,22 @@ function ReservationCard(props) {
|
|
|
5848
5956
|
}
|
|
5849
5957
|
|
|
5850
5958
|
// src/app/platform/session-review-simple-read.tsx
|
|
5851
|
-
var
|
|
5852
|
-
var
|
|
5959
|
+
var import_react42 = require("react");
|
|
5960
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
5853
5961
|
function SubTitleWrapper({
|
|
5854
5962
|
children,
|
|
5855
5963
|
title
|
|
5856
5964
|
}) {
|
|
5857
|
-
return /* @__PURE__ */ (0,
|
|
5858
|
-
/* @__PURE__ */ (0,
|
|
5859
|
-
/* @__PURE__ */ (0,
|
|
5965
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
5966
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
5967
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_themes6.Box, { children })
|
|
5860
5968
|
] });
|
|
5861
5969
|
}
|
|
5862
5970
|
function SessionReviewSimpleRead({
|
|
5863
5971
|
helpfulness,
|
|
5864
5972
|
review
|
|
5865
5973
|
}) {
|
|
5866
|
-
const helpfulnessMeta = (0,
|
|
5974
|
+
const helpfulnessMeta = (0, import_react42.useMemo)(() => {
|
|
5867
5975
|
if (helpfulness) {
|
|
5868
5976
|
return {
|
|
5869
5977
|
text: "\uB124",
|
|
@@ -5881,22 +5989,22 @@ function SessionReviewSimpleRead({
|
|
|
5881
5989
|
color: "error"
|
|
5882
5990
|
};
|
|
5883
5991
|
}, [helpfulness]);
|
|
5884
|
-
return /* @__PURE__ */ (0,
|
|
5885
|
-
/* @__PURE__ */ (0,
|
|
5886
|
-
/* @__PURE__ */ (0,
|
|
5992
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
5993
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SubTitleWrapper, { title: "\uC774\uBC88 \uCF54\uCE6D\uC774 \uBAA9\uD45C \uB2EC\uC131\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uB098\uC694?", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
5994
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
5887
5995
|
] }) });
|
|
5888
5996
|
}
|
|
5889
5997
|
|
|
5890
5998
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
5891
|
-
var
|
|
5999
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
5892
6000
|
function SectionWrapper({
|
|
5893
6001
|
title,
|
|
5894
6002
|
children
|
|
5895
6003
|
}) {
|
|
5896
|
-
return /* @__PURE__ */ (0,
|
|
5897
|
-
/* @__PURE__ */ (0,
|
|
5898
|
-
/* @__PURE__ */ (0,
|
|
5899
|
-
/* @__PURE__ */ (0,
|
|
6004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes6.Box, { children: [
|
|
6005
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
6006
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
6007
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes39.Separator, { size: "4" })
|
|
5900
6008
|
] }),
|
|
5901
6009
|
children
|
|
5902
6010
|
] });
|
|
@@ -5906,22 +6014,22 @@ function SessionUserInfoDetail({
|
|
|
5906
6014
|
session,
|
|
5907
6015
|
onClickCopy
|
|
5908
6016
|
}) {
|
|
5909
|
-
return /* @__PURE__ */ (0,
|
|
5910
|
-
/* @__PURE__ */ (0,
|
|
6017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
6018
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
5911
6019
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
5912
6020
|
) }) }),
|
|
5913
|
-
/* @__PURE__ */ (0,
|
|
6021
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
5914
6022
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
5915
6023
|
) }) })
|
|
5916
6024
|
] });
|
|
5917
6025
|
}
|
|
5918
6026
|
|
|
5919
6027
|
// src/app/platform/report-card.tsx
|
|
5920
|
-
var
|
|
5921
|
-
var
|
|
6028
|
+
var import_react43 = require("react");
|
|
6029
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
5922
6030
|
function ReportCard(props) {
|
|
5923
6031
|
const { title, file, status, subtitle } = props;
|
|
5924
|
-
const onClickDownload = (0,
|
|
6032
|
+
const onClickDownload = (0, import_react43.useCallback)(() => {
|
|
5925
6033
|
if (!file) return;
|
|
5926
6034
|
const { url, fileName } = file;
|
|
5927
6035
|
const link = document.createElement("a");
|
|
@@ -5933,24 +6041,24 @@ function ReportCard(props) {
|
|
|
5933
6041
|
document.body.removeChild(link);
|
|
5934
6042
|
}, [file]);
|
|
5935
6043
|
if (status) {
|
|
5936
|
-
return /* @__PURE__ */ (0,
|
|
5937
|
-
/* @__PURE__ */ (0,
|
|
6044
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
6045
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
5938
6046
|
status
|
|
5939
6047
|
] }) });
|
|
5940
6048
|
}
|
|
5941
|
-
return /* @__PURE__ */ (0,
|
|
6049
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
5942
6050
|
import_themes22.Flex,
|
|
5943
6051
|
{
|
|
5944
6052
|
direction: { initial: "column", xs: "row" },
|
|
5945
6053
|
gapY: "2",
|
|
5946
6054
|
justify: "between",
|
|
5947
6055
|
children: [
|
|
5948
|
-
/* @__PURE__ */ (0,
|
|
5949
|
-
/* @__PURE__ */ (0,
|
|
5950
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
6056
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes6.Box, { children: [
|
|
6057
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
6058
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
5951
6059
|
] }),
|
|
5952
|
-
/* @__PURE__ */ (0,
|
|
5953
|
-
/* @__PURE__ */ (0,
|
|
6060
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
6061
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
5954
6062
|
file == null ? void 0 : file.buttonName
|
|
5955
6063
|
] }) }, file == null ? void 0 : file.url)
|
|
5956
6064
|
]
|
|
@@ -5959,9 +6067,9 @@ function ReportCard(props) {
|
|
|
5959
6067
|
}
|
|
5960
6068
|
|
|
5961
6069
|
// src/app/platform/contents-card.tsx
|
|
5962
|
-
var
|
|
5963
|
-
var
|
|
5964
|
-
var ContentsCard = (0,
|
|
6070
|
+
var import_react44 = require("react");
|
|
6071
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
6072
|
+
var ContentsCard = (0, import_react44.forwardRef)(
|
|
5965
6073
|
({
|
|
5966
6074
|
title,
|
|
5967
6075
|
description,
|
|
@@ -5971,7 +6079,7 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
5971
6079
|
onClickCard,
|
|
5972
6080
|
isLoading = false
|
|
5973
6081
|
}, ref) => {
|
|
5974
|
-
return /* @__PURE__ */ (0,
|
|
6082
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
5975
6083
|
Card,
|
|
5976
6084
|
{
|
|
5977
6085
|
onClick: onClickCard,
|
|
@@ -5984,7 +6092,7 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
5984
6092
|
maxHeight: "450px"
|
|
5985
6093
|
},
|
|
5986
6094
|
children: [
|
|
5987
|
-
/* @__PURE__ */ (0,
|
|
6095
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
5988
6096
|
import_themes6.Box,
|
|
5989
6097
|
{
|
|
5990
6098
|
height: "210px",
|
|
@@ -5996,12 +6104,12 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
5996
6104
|
width: "100%"
|
|
5997
6105
|
}
|
|
5998
6106
|
) }) }),
|
|
5999
|
-
/* @__PURE__ */ (0,
|
|
6000
|
-
/* @__PURE__ */ (0,
|
|
6001
|
-
/* @__PURE__ */ (0,
|
|
6002
|
-
/* @__PURE__ */ (0,
|
|
6107
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
6108
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes6.Box, { children: [
|
|
6109
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
6110
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
6003
6111
|
] }),
|
|
6004
|
-
/* @__PURE__ */ (0,
|
|
6112
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
6005
6113
|
import_themes23.Grid,
|
|
6006
6114
|
{
|
|
6007
6115
|
align: "center",
|
|
@@ -6011,10 +6119,10 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
6011
6119
|
style: { marginTop: "auto" },
|
|
6012
6120
|
width: "100%",
|
|
6013
6121
|
children: [
|
|
6014
|
-
/* @__PURE__ */ (0,
|
|
6015
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
6016
|
-
/* @__PURE__ */ (0,
|
|
6017
|
-
/* @__PURE__ */ (0,
|
|
6122
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
6123
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(DropdownMenu.Root, { children: [
|
|
6124
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
6125
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
6018
6126
|
DropdownMenu.Item,
|
|
6019
6127
|
{
|
|
6020
6128
|
onClick: (e) => {
|
|
@@ -6038,7 +6146,7 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
6038
6146
|
ContentsCard.displayName = "ContentsCard";
|
|
6039
6147
|
|
|
6040
6148
|
// src/app/platform/curriculum-card.tsx
|
|
6041
|
-
var
|
|
6149
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
6042
6150
|
function CurriculumCard(props) {
|
|
6043
6151
|
const {
|
|
6044
6152
|
title,
|
|
@@ -6049,7 +6157,7 @@ function CurriculumCard(props) {
|
|
|
6049
6157
|
bgColor,
|
|
6050
6158
|
onClick
|
|
6051
6159
|
} = props;
|
|
6052
|
-
return /* @__PURE__ */ (0,
|
|
6160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
6053
6161
|
import_themes23.Grid,
|
|
6054
6162
|
{
|
|
6055
6163
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -6058,7 +6166,7 @@ function CurriculumCard(props) {
|
|
|
6058
6166
|
onClick,
|
|
6059
6167
|
style: { cursor: "pointer" },
|
|
6060
6168
|
children: [
|
|
6061
|
-
/* @__PURE__ */ (0,
|
|
6169
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6062
6170
|
import_themes6.Box,
|
|
6063
6171
|
{
|
|
6064
6172
|
height: "165px",
|
|
@@ -6073,32 +6181,32 @@ function CurriculumCard(props) {
|
|
|
6073
6181
|
backgroundAttachment: "local"
|
|
6074
6182
|
},
|
|
6075
6183
|
width: "100%",
|
|
6076
|
-
children: /* @__PURE__ */ (0,
|
|
6184
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
6077
6185
|
}
|
|
6078
6186
|
),
|
|
6079
|
-
/* @__PURE__ */ (0,
|
|
6080
|
-
/* @__PURE__ */ (0,
|
|
6081
|
-
/* @__PURE__ */ (0,
|
|
6082
|
-
/* @__PURE__ */ (0,
|
|
6187
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
6188
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
6189
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
6190
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6083
6191
|
Badge,
|
|
6084
6192
|
{
|
|
6085
6193
|
size: "medium",
|
|
6086
6194
|
style: { justifySelf: "flex-start" },
|
|
6087
6195
|
variant: "outline",
|
|
6088
|
-
children: /* @__PURE__ */ (0,
|
|
6089
|
-
/* @__PURE__ */ (0,
|
|
6196
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
6197
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons2.TimerIcon, {}),
|
|
6090
6198
|
runningTime
|
|
6091
6199
|
] })
|
|
6092
6200
|
}
|
|
6093
6201
|
)
|
|
6094
6202
|
] }),
|
|
6095
|
-
/* @__PURE__ */ (0,
|
|
6096
|
-
return /* @__PURE__ */ (0,
|
|
6203
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
6204
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
6097
6205
|
}) }) }),
|
|
6098
|
-
/* @__PURE__ */ (0,
|
|
6099
|
-
/* @__PURE__ */ (0,
|
|
6100
|
-
/* @__PURE__ */ (0,
|
|
6101
|
-
/* @__PURE__ */ (0,
|
|
6206
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes39.Separator, { size: "4" }),
|
|
6207
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
6208
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
6209
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
6102
6210
|
] })
|
|
6103
6211
|
] })
|
|
6104
6212
|
]
|
|
@@ -6140,6 +6248,7 @@ function CurriculumCard(props) {
|
|
|
6140
6248
|
ChevronLeftIcon,
|
|
6141
6249
|
ChevronRightIcon,
|
|
6142
6250
|
ChevronUpIcon,
|
|
6251
|
+
CircleChatIcon,
|
|
6143
6252
|
CircleCheckIcon,
|
|
6144
6253
|
CirclePencilIcon,
|
|
6145
6254
|
CirclePlayIcon,
|