@tipp/ui 2.1.13 → 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 -370
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +73 -71
- package/dist/app/platform/coach-question-list.cjs +78 -34
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +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 -113
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +57 -55
- package/dist/app/platform/edit-service-type.cjs +148 -101
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +56 -54
- package/dist/app/platform/goal-manage-card-edit.cjs +159 -112
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +57 -55
- 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 -91
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +56 -54
- 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 -143
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +57 -55
- package/dist/app/platform/session-card.cjs +211 -164
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +58 -56
- 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-ISAWQTTD.js +281 -0
- package/dist/chunk-ISAWQTTD.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-NOFFEY5Z.js +145 -0
- package/dist/chunk-NOFFEY5Z.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-NXOZFGHZ.js +63 -0
- package/dist/chunk-NXOZFGHZ.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-QPMQWQ66.js +144 -0
- package/dist/chunk-QPMQWQ66.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-WVFAYLXD.js +99 -0
- package/dist/chunk-WVFAYLXD.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/chunk-ZY7VJET7.js +174 -0
- package/dist/chunk-ZY7VJET7.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 -677
- 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 +139 -134
- 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 -43
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +30 -29
- package/dist/molecules/date-picker/index.cjs +56 -13
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +3 -2
- 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 -371
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +66 -64
- 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/molecules/date-picker/index.tsx +0 -1
- 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",
|
|
@@ -2168,7 +2213,6 @@ var DatePicker = (0, import_react22.forwardRef)(
|
|
|
2168
2213
|
ref,
|
|
2169
2214
|
renderCustomHeader,
|
|
2170
2215
|
showPopperArrow: false,
|
|
2171
|
-
showTimeSelect: true,
|
|
2172
2216
|
timeFormat: "h:mm aa",
|
|
2173
2217
|
timeIntervals: 10
|
|
2174
2218
|
}, rest), {
|
|
@@ -2190,35 +2234,35 @@ var renderCustomHeader = (props) => {
|
|
|
2190
2234
|
} = props;
|
|
2191
2235
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
2192
2236
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
2193
|
-
return /* @__PURE__ */ (0,
|
|
2194
|
-
/* @__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)(
|
|
2195
2239
|
import_themes18.IconButton,
|
|
2196
2240
|
{
|
|
2197
2241
|
disabled: prevMonthButtonDisabled,
|
|
2198
2242
|
onClick: decreaseMonth,
|
|
2199
2243
|
type: "button",
|
|
2200
2244
|
variant: "ghost",
|
|
2201
|
-
children: /* @__PURE__ */ (0,
|
|
2245
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_icons2.ChevronLeftIcon, {})
|
|
2202
2246
|
}
|
|
2203
2247
|
),
|
|
2204
|
-
/* @__PURE__ */ (0,
|
|
2205
|
-
/* @__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: [
|
|
2206
2250
|
year,
|
|
2207
2251
|
"\uB144"
|
|
2208
2252
|
] }),
|
|
2209
|
-
/* @__PURE__ */ (0,
|
|
2253
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
2210
2254
|
month,
|
|
2211
2255
|
"\uC6D4"
|
|
2212
2256
|
] })
|
|
2213
2257
|
] }),
|
|
2214
|
-
/* @__PURE__ */ (0,
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2215
2259
|
import_themes18.IconButton,
|
|
2216
2260
|
{
|
|
2217
2261
|
disabled: nextMonthButtonDisabled,
|
|
2218
2262
|
onClick: increaseMonth,
|
|
2219
2263
|
type: "button",
|
|
2220
2264
|
variant: "ghost",
|
|
2221
|
-
children: /* @__PURE__ */ (0,
|
|
2265
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_icons2.ChevronRightIcon, {})
|
|
2222
2266
|
}
|
|
2223
2267
|
)
|
|
2224
2268
|
] });
|
|
@@ -2227,7 +2271,7 @@ var renderCustomHeader = (props) => {
|
|
|
2227
2271
|
// src/molecules/dot-navigation.tsx
|
|
2228
2272
|
var import_react23 = require("react");
|
|
2229
2273
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
2230
|
-
var
|
|
2274
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2231
2275
|
function DotNavigation(props) {
|
|
2232
2276
|
const { dotCount, onClick, dotIndex, defaultDotIndex, onChangeDotIndex } = props;
|
|
2233
2277
|
const [currentDot, setCurrentDot] = (0, import_react23.useState)(
|
|
@@ -2253,9 +2297,9 @@ function DotNavigation(props) {
|
|
|
2253
2297
|
if (typeof dotIndex === "undefined") return;
|
|
2254
2298
|
setCurrentDot(dotIndex);
|
|
2255
2299
|
}, [dotIndex]);
|
|
2256
|
-
return /* @__PURE__ */ (0,
|
|
2300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes22.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
|
|
2257
2301
|
const isSelected = currentDot === index;
|
|
2258
|
-
return /* @__PURE__ */ (0,
|
|
2302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2259
2303
|
import_react_icons4.DotFilledIcon,
|
|
2260
2304
|
{
|
|
2261
2305
|
height: "24px",
|
|
@@ -2276,7 +2320,7 @@ function DotNavigation(props) {
|
|
|
2276
2320
|
// src/molecules/stepper.tsx
|
|
2277
2321
|
var import_react24 = require("react");
|
|
2278
2322
|
var import_themes51 = require("@radix-ui/themes");
|
|
2279
|
-
var
|
|
2323
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2280
2324
|
var StepContext = (0, import_react24.createContext)({
|
|
2281
2325
|
active: false,
|
|
2282
2326
|
completed: false,
|
|
@@ -2291,7 +2335,7 @@ function Root9(props) {
|
|
|
2291
2335
|
maxWidth,
|
|
2292
2336
|
direction = "vertical"
|
|
2293
2337
|
} = props;
|
|
2294
|
-
return /* @__PURE__ */ (0,
|
|
2338
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2295
2339
|
import_themes22.Flex,
|
|
2296
2340
|
{
|
|
2297
2341
|
gap: "3",
|
|
@@ -2301,7 +2345,7 @@ function Root9(props) {
|
|
|
2301
2345
|
maxWidth
|
|
2302
2346
|
},
|
|
2303
2347
|
children: import_react24.Children.map(children, (child, index) => {
|
|
2304
|
-
return /* @__PURE__ */ (0,
|
|
2348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2305
2349
|
StepContext.Provider,
|
|
2306
2350
|
{
|
|
2307
2351
|
value: {
|
|
@@ -2325,7 +2369,7 @@ function Step(props) {
|
|
|
2325
2369
|
index,
|
|
2326
2370
|
direction = "vertical"
|
|
2327
2371
|
} = (0, import_react24.useContext)(StepContext);
|
|
2328
|
-
const connector = index > 0 ? /* @__PURE__ */ (0,
|
|
2372
|
+
const connector = index > 0 ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2329
2373
|
import_themes51.Separator,
|
|
2330
2374
|
{
|
|
2331
2375
|
style: {
|
|
@@ -2345,7 +2389,7 @@ function Step(props) {
|
|
|
2345
2389
|
}
|
|
2346
2390
|
return IncompleteStep;
|
|
2347
2391
|
}, [completed, active]);
|
|
2348
|
-
return /* @__PURE__ */ (0,
|
|
2392
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
2349
2393
|
import_themes22.Flex,
|
|
2350
2394
|
{
|
|
2351
2395
|
align: "center",
|
|
@@ -2355,7 +2399,7 @@ function Step(props) {
|
|
|
2355
2399
|
style: { flex: 1 },
|
|
2356
2400
|
children: [
|
|
2357
2401
|
connector,
|
|
2358
|
-
/* @__PURE__ */ (0,
|
|
2402
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(InnerStep, { Icon, children })
|
|
2359
2403
|
]
|
|
2360
2404
|
}
|
|
2361
2405
|
);
|
|
@@ -2366,11 +2410,11 @@ function CompleteStep(props) {
|
|
|
2366
2410
|
const background = "var(--accent-a4)";
|
|
2367
2411
|
const border = "1px solid var(--accent-7)";
|
|
2368
2412
|
const color = "var(--accent-contrast)";
|
|
2369
|
-
return /* @__PURE__ */ (0,
|
|
2370
|
-
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)(
|
|
2371
2415
|
Avatar,
|
|
2372
2416
|
{
|
|
2373
|
-
fallback: /* @__PURE__ */ (0,
|
|
2417
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_icons2.CheckIcon, { fill: color, height: 16, width: 16 }),
|
|
2374
2418
|
radius: "full",
|
|
2375
2419
|
size: "medium",
|
|
2376
2420
|
style: {
|
|
@@ -2379,7 +2423,7 @@ function CompleteStep(props) {
|
|
|
2379
2423
|
}
|
|
2380
2424
|
}
|
|
2381
2425
|
),
|
|
2382
|
-
/* @__PURE__ */ (0,
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { align: "center", variant: "caption", children })
|
|
2383
2427
|
] });
|
|
2384
2428
|
}
|
|
2385
2429
|
function IncompleteStep(props) {
|
|
@@ -2387,11 +2431,11 @@ function IncompleteStep(props) {
|
|
|
2387
2431
|
const { completed, active, index } = (0, import_react24.useContext)(StepContext);
|
|
2388
2432
|
const background = "var(--gray-5)";
|
|
2389
2433
|
const color = "var(--gray-a11)";
|
|
2390
|
-
return /* @__PURE__ */ (0,
|
|
2391
|
-
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)(
|
|
2392
2436
|
Avatar,
|
|
2393
2437
|
{
|
|
2394
|
-
fallback: /* @__PURE__ */ (0,
|
|
2438
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { style: { color }, children: index + 1 }),
|
|
2395
2439
|
radius: "full",
|
|
2396
2440
|
size: "medium",
|
|
2397
2441
|
style: {
|
|
@@ -2399,7 +2443,7 @@ function IncompleteStep(props) {
|
|
|
2399
2443
|
}
|
|
2400
2444
|
}
|
|
2401
2445
|
),
|
|
2402
|
-
/* @__PURE__ */ (0,
|
|
2446
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { align: "center", style: { color }, variant: "caption", children })
|
|
2403
2447
|
] });
|
|
2404
2448
|
}
|
|
2405
2449
|
function ActiveStep(props) {
|
|
@@ -2407,17 +2451,17 @@ function ActiveStep(props) {
|
|
|
2407
2451
|
const { completed, active, index } = (0, import_react24.useContext)(StepContext);
|
|
2408
2452
|
const background = "var(--accent-10)";
|
|
2409
2453
|
const color = "var(--accent-contrast)";
|
|
2410
|
-
return /* @__PURE__ */ (0,
|
|
2411
|
-
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)(
|
|
2412
2456
|
Avatar,
|
|
2413
2457
|
{
|
|
2414
|
-
fallback: /* @__PURE__ */ (0,
|
|
2458
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { style: { color }, weight: "bold", children: index + 1 }),
|
|
2415
2459
|
radius: "full",
|
|
2416
2460
|
size: "medium",
|
|
2417
2461
|
style: { background }
|
|
2418
2462
|
}
|
|
2419
2463
|
),
|
|
2420
|
-
/* @__PURE__ */ (0,
|
|
2464
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typo, { align: "center", variant: "caption", weight: "bold", children })
|
|
2421
2465
|
] });
|
|
2422
2466
|
}
|
|
2423
2467
|
var Stepper = {
|
|
@@ -2428,7 +2472,7 @@ var Stepper = {
|
|
|
2428
2472
|
// src/molecules/tag-selector.tsx
|
|
2429
2473
|
var import_react25 = require("react");
|
|
2430
2474
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
2431
|
-
var
|
|
2475
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2432
2476
|
var OPTION_HEIGHT = 32;
|
|
2433
2477
|
var DefaultDropdownContainer = (props) => {
|
|
2434
2478
|
return props.children;
|
|
@@ -2612,11 +2656,11 @@ function TagSelector(props) {
|
|
|
2612
2656
|
const focusClassName = focus ? " focused" : "";
|
|
2613
2657
|
const readOnlyClassName = readOnly ? " read-only" : "";
|
|
2614
2658
|
const errorClassName = error ? " error" : "";
|
|
2615
|
-
const readonlyContent = /* @__PURE__ */ (0,
|
|
2616
|
-
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);
|
|
2617
2661
|
}) });
|
|
2618
|
-
const editContent = /* @__PURE__ */ (0,
|
|
2619
|
-
/* @__PURE__ */ (0,
|
|
2662
|
+
const editContent = /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
|
|
2663
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
2620
2664
|
import_themes22.Flex,
|
|
2621
2665
|
{
|
|
2622
2666
|
align: "center",
|
|
@@ -2628,22 +2672,22 @@ function TagSelector(props) {
|
|
|
2628
2672
|
selectedItem.map((item) => {
|
|
2629
2673
|
return tagRender ? tagRender(item, () => {
|
|
2630
2674
|
onDelete(item.id);
|
|
2631
|
-
}) : /* @__PURE__ */ (0,
|
|
2675
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Badge, { size: badgeSize, children: [
|
|
2632
2676
|
item.name,
|
|
2633
|
-
/* @__PURE__ */ (0,
|
|
2677
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2634
2678
|
Button,
|
|
2635
2679
|
{
|
|
2636
2680
|
onClick: () => {
|
|
2637
2681
|
onDelete(item.id);
|
|
2638
2682
|
},
|
|
2639
2683
|
variant: "transparent",
|
|
2640
|
-
children: /* @__PURE__ */ (0,
|
|
2684
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_icons5.Cross1Icon, {})
|
|
2641
2685
|
}
|
|
2642
2686
|
)
|
|
2643
2687
|
] }, item.id);
|
|
2644
2688
|
}),
|
|
2645
|
-
placeholderVisible ? /* @__PURE__ */ (0,
|
|
2646
|
-
/* @__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)(
|
|
2647
2691
|
AutoSizingInput,
|
|
2648
2692
|
{
|
|
2649
2693
|
onBlur,
|
|
@@ -2657,10 +2701,10 @@ function TagSelector(props) {
|
|
|
2657
2701
|
]
|
|
2658
2702
|
}
|
|
2659
2703
|
),
|
|
2660
|
-
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, {})
|
|
2661
2705
|
] });
|
|
2662
|
-
return /* @__PURE__ */ (0,
|
|
2663
|
-
/* @__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)(
|
|
2664
2708
|
import_themes23.Grid,
|
|
2665
2709
|
{
|
|
2666
2710
|
align: "center",
|
|
@@ -2674,31 +2718,31 @@ function TagSelector(props) {
|
|
|
2674
2718
|
children: readOnly ? readonlyContent : editContent
|
|
2675
2719
|
}
|
|
2676
2720
|
) }),
|
|
2677
|
-
/* @__PURE__ */ (0,
|
|
2721
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2678
2722
|
import_themes29.Popover.Content,
|
|
2679
2723
|
{
|
|
2680
2724
|
onOpenAutoFocus: preventDefault3,
|
|
2681
2725
|
onTouchMove: stopPropagationTouch,
|
|
2682
2726
|
onWheel: stopPropagationWheel,
|
|
2683
2727
|
sticky: "always",
|
|
2684
|
-
children: /* @__PURE__ */ (0,
|
|
2728
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2685
2729
|
DropdownContainer,
|
|
2686
2730
|
{
|
|
2687
2731
|
currentItem: filteredOptions[focusIndex || 0],
|
|
2688
2732
|
items: filteredOptions,
|
|
2689
|
-
children: /* @__PURE__ */ (0,
|
|
2733
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2690
2734
|
import_themes35.ScrollArea,
|
|
2691
2735
|
{
|
|
2692
2736
|
ref: scrollRef,
|
|
2693
2737
|
scrollbars: "vertical",
|
|
2694
2738
|
style: { height: OPTION_HEIGHT * 8 },
|
|
2695
2739
|
type: "auto",
|
|
2696
|
-
children: /* @__PURE__ */ (0,
|
|
2740
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes22.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
|
|
2697
2741
|
const isSelected = Boolean(
|
|
2698
2742
|
selected.find((el) => el === item.id)
|
|
2699
2743
|
);
|
|
2700
2744
|
const isFocus = i === focusIndex;
|
|
2701
|
-
return /* @__PURE__ */ (0,
|
|
2745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2702
2746
|
Button,
|
|
2703
2747
|
{
|
|
2704
2748
|
className: `tag-selector-button ${isFocus ? "focused" : ""}`,
|
|
@@ -2711,9 +2755,9 @@ function TagSelector(props) {
|
|
|
2711
2755
|
setFocusIndex(i);
|
|
2712
2756
|
},
|
|
2713
2757
|
variant: isSelected ? "soft" : "outline",
|
|
2714
|
-
children: /* @__PURE__ */ (0,
|
|
2758
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { justify: "between", width: "100%", children: [
|
|
2715
2759
|
dropdownItemRender ? dropdownItemRender(item) : item.name,
|
|
2716
|
-
isSelected ? /* @__PURE__ */ (0,
|
|
2760
|
+
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_icons2.CheckIcon, {}) : null
|
|
2717
2761
|
] })
|
|
2718
2762
|
},
|
|
2719
2763
|
item.id
|
|
@@ -2739,13 +2783,13 @@ var preventDefault3 = (e) => {
|
|
|
2739
2783
|
|
|
2740
2784
|
// src/theme/theme-provider.tsx
|
|
2741
2785
|
var import_themes52 = require("@radix-ui/themes");
|
|
2742
|
-
var
|
|
2786
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2743
2787
|
function ThemeProvider(props) {
|
|
2744
|
-
return /* @__PURE__ */ (0,
|
|
2788
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes52.Theme, __spreadValues({ accentColor: "iris", radius: "medium" }, props));
|
|
2745
2789
|
}
|
|
2746
2790
|
|
|
2747
2791
|
// src/molecules/learning-post.tsx
|
|
2748
|
-
var
|
|
2792
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
2749
2793
|
function LearningPost(props) {
|
|
2750
2794
|
const {
|
|
2751
2795
|
defaultThemeProps,
|
|
@@ -2757,13 +2801,13 @@ function LearningPost(props) {
|
|
|
2757
2801
|
onPageBack,
|
|
2758
2802
|
children
|
|
2759
2803
|
} = props;
|
|
2760
|
-
return /* @__PURE__ */ (0,
|
|
2804
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2761
2805
|
ThemeProvider,
|
|
2762
2806
|
__spreadProps(__spreadValues({}, defaultThemeProps), {
|
|
2763
2807
|
accentColor: "iris",
|
|
2764
2808
|
scaling: "110%",
|
|
2765
2809
|
style: {},
|
|
2766
|
-
children: html ? /* @__PURE__ */ (0,
|
|
2810
|
+
children: html ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2767
2811
|
import_themes23.Grid,
|
|
2768
2812
|
{
|
|
2769
2813
|
columns: { initial: "1", md: "130px 1fr 130px" },
|
|
@@ -2775,8 +2819,8 @@ function LearningPost(props) {
|
|
|
2775
2819
|
px: "4",
|
|
2776
2820
|
width: "100%",
|
|
2777
2821
|
children: [
|
|
2778
|
-
/* @__PURE__ */ (0,
|
|
2779
|
-
/* @__PURE__ */ (0,
|
|
2822
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {}),
|
|
2823
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2780
2824
|
import_themes22.Flex,
|
|
2781
2825
|
{
|
|
2782
2826
|
align: "center",
|
|
@@ -2786,15 +2830,15 @@ function LearningPost(props) {
|
|
|
2786
2830
|
overflow: "hidden",
|
|
2787
2831
|
width: "100%",
|
|
2788
2832
|
children: [
|
|
2789
|
-
/* @__PURE__ */ (0,
|
|
2790
|
-
/* @__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)(
|
|
2791
2835
|
import_themes23.Grid,
|
|
2792
2836
|
{
|
|
2793
2837
|
gap: "3",
|
|
2794
2838
|
mb: { initial: "4", sm: "0" },
|
|
2795
2839
|
style: { alignSelf: "flex-start" },
|
|
2796
2840
|
children: [
|
|
2797
|
-
/* @__PURE__ */ (0,
|
|
2841
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2798
2842
|
Heading2,
|
|
2799
2843
|
{
|
|
2800
2844
|
style: {
|
|
@@ -2806,16 +2850,16 @@ function LearningPost(props) {
|
|
|
2806
2850
|
children: title
|
|
2807
2851
|
}
|
|
2808
2852
|
),
|
|
2809
|
-
/* @__PURE__ */ (0,
|
|
2810
|
-
/* @__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) => {
|
|
2811
2855
|
var _a;
|
|
2812
2856
|
if ((_a = el.name) == null ? void 0 : _a.startsWith("filter")) return;
|
|
2813
|
-
return /* @__PURE__ */ (0,
|
|
2857
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge, { size: "large", variant: "solid", children: el.name }, el.id);
|
|
2814
2858
|
}) })
|
|
2815
2859
|
]
|
|
2816
2860
|
}
|
|
2817
2861
|
),
|
|
2818
|
-
/* @__PURE__ */ (0,
|
|
2862
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2819
2863
|
import_themes2.AspectRatio,
|
|
2820
2864
|
{
|
|
2821
2865
|
ratio: 5 / 3,
|
|
@@ -2828,7 +2872,7 @@ function LearningPost(props) {
|
|
|
2828
2872
|
}
|
|
2829
2873
|
)
|
|
2830
2874
|
] }),
|
|
2831
|
-
/* @__PURE__ */ (0,
|
|
2875
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes6.Box, { mt: "5", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2832
2876
|
"div",
|
|
2833
2877
|
{
|
|
2834
2878
|
className: "gh-content",
|
|
@@ -2841,7 +2885,7 @@ function LearningPost(props) {
|
|
|
2841
2885
|
children
|
|
2842
2886
|
]
|
|
2843
2887
|
}
|
|
2844
|
-
) : /* @__PURE__ */ (0,
|
|
2888
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2845
2889
|
import_themes22.Flex,
|
|
2846
2890
|
{
|
|
2847
2891
|
align: "center",
|
|
@@ -2851,8 +2895,8 @@ function LearningPost(props) {
|
|
|
2851
2895
|
justify: "center",
|
|
2852
2896
|
width: "100%",
|
|
2853
2897
|
children: [
|
|
2854
|
-
/* @__PURE__ */ (0,
|
|
2855
|
-
/* @__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)(
|
|
2856
2900
|
Heading2,
|
|
2857
2901
|
{
|
|
2858
2902
|
align: "center",
|
|
@@ -2863,7 +2907,7 @@ function LearningPost(props) {
|
|
|
2863
2907
|
\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694.`
|
|
2864
2908
|
}
|
|
2865
2909
|
),
|
|
2866
|
-
/* @__PURE__ */ (0,
|
|
2910
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { onClick: onPageBack, size: "large", children: "\uB4A4\uB85C\uAC00\uAE30" })
|
|
2867
2911
|
]
|
|
2868
2912
|
}
|
|
2869
2913
|
)
|
|
@@ -2873,9 +2917,9 @@ function LearningPost(props) {
|
|
|
2873
2917
|
|
|
2874
2918
|
// src/molecules/force-refresh.tsx
|
|
2875
2919
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
2876
|
-
var
|
|
2920
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2877
2921
|
function CodeSize3(props) {
|
|
2878
|
-
return /* @__PURE__ */ (0,
|
|
2922
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2879
2923
|
import_themes13.Code,
|
|
2880
2924
|
{
|
|
2881
2925
|
style: {
|
|
@@ -2888,51 +2932,51 @@ function CodeSize3(props) {
|
|
|
2888
2932
|
);
|
|
2889
2933
|
}
|
|
2890
2934
|
function ForceRefresh() {
|
|
2891
|
-
return /* @__PURE__ */ (0,
|
|
2892
|
-
/* @__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: [
|
|
2893
2937
|
"1. \uD06C\uB86C \uBE0C\uB77C\uC6B0\uC800 \uC624\uB978\uCABD \uC0C1\uB2E8\uC758",
|
|
2894
2938
|
" ",
|
|
2895
|
-
/* @__PURE__ */ (0,
|
|
2896
|
-
/* @__PURE__ */ (0,
|
|
2939
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(CodeSize3, { children: [
|
|
2940
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons6.DotsVerticalIcon, { height: "13px" }),
|
|
2897
2941
|
"\uB354\uBCF4\uAE30"
|
|
2898
2942
|
] }),
|
|
2899
2943
|
"\uC544\uC774\uCF58\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2900
2944
|
] }),
|
|
2901
|
-
/* @__PURE__ */ (0,
|
|
2945
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2902
2946
|
"2. ",
|
|
2903
|
-
/* @__PURE__ */ (0,
|
|
2947
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CodeSize3, { children: "\uB3C4\uAD6C \uB354\uBCF4\uAE30" }),
|
|
2904
2948
|
" ",
|
|
2905
2949
|
">",
|
|
2906
2950
|
" ",
|
|
2907
|
-
/* @__PURE__ */ (0,
|
|
2951
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CodeSize3, { children: "\uAC1C\uBC1C\uC790 \uB3C4\uAD6C" }),
|
|
2908
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.)"
|
|
2909
2953
|
] }),
|
|
2910
|
-
/* @__PURE__ */ (0,
|
|
2911
|
-
/* @__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: [
|
|
2912
2956
|
"a. \uC708\uB3C4\uC6B0 \uB2E8\uCD95\uD0A4: ",
|
|
2913
|
-
/* @__PURE__ */ (0,
|
|
2957
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes26.Kbd, { children: "F12" })
|
|
2914
2958
|
] }),
|
|
2915
|
-
/* @__PURE__ */ (0,
|
|
2959
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2916
2960
|
"b. \uB9E5 \uB2E8\uCD95\uD0A4: ",
|
|
2917
|
-
/* @__PURE__ */ (0,
|
|
2961
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes26.Kbd, { children: "Option" }),
|
|
2918
2962
|
" + ",
|
|
2919
|
-
/* @__PURE__ */ (0,
|
|
2963
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes26.Kbd, { children: "Command" }),
|
|
2920
2964
|
" + ",
|
|
2921
|
-
/* @__PURE__ */ (0,
|
|
2965
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes26.Kbd, { children: "I" })
|
|
2922
2966
|
] })
|
|
2923
2967
|
] }),
|
|
2924
|
-
/* @__PURE__ */ (0,
|
|
2968
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2925
2969
|
"3. \uAC1C\uBC1C\uC790 \uB3C4\uAD6C\uAC00 \uC5F4\uB9AC\uBA74, \uBE0C\uB77C\uC6B0\uC800 \uC0C1\uB2E8\uC5D0 \uC788\uB294",
|
|
2926
2970
|
" ",
|
|
2927
|
-
/* @__PURE__ */ (0,
|
|
2928
|
-
/* @__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" } }),
|
|
2929
2973
|
"\uC0C8\uB85C\uACE0\uCE68 \uBC84\uD2BC"
|
|
2930
2974
|
] }),
|
|
2931
2975
|
"\uC744 \uC6B0\uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2932
2976
|
] }),
|
|
2933
|
-
/* @__PURE__ */ (0,
|
|
2977
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Typo, { children: [
|
|
2934
2978
|
"4. \uC0C8\uB85C\uACE0\uCE68 \uBA54\uB274\uC5D0\uC11C ",
|
|
2935
|
-
/* @__PURE__ */ (0,
|
|
2979
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CodeSize3, { children: "\uCE90\uC2DC \uBE44\uC6B0\uAE30 \uBC0F \uAC15\uB825 \uC0C8\uB85C\uACE0\uCE68" }),
|
|
2936
2980
|
"\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2937
2981
|
] })
|
|
2938
2982
|
] });
|
|
@@ -2942,7 +2986,7 @@ function ForceRefresh() {
|
|
|
2942
2986
|
var import_react26 = require("react");
|
|
2943
2987
|
var import_date_fns = require("date-fns");
|
|
2944
2988
|
var import_clsx2 = require("clsx");
|
|
2945
|
-
var
|
|
2989
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2946
2990
|
function DatePickerButton(props) {
|
|
2947
2991
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
2948
2992
|
const buttonProps = (0, import_react26.useMemo)(() => {
|
|
@@ -2962,12 +3006,12 @@ function DatePickerButton(props) {
|
|
|
2962
3006
|
(disabled || props.readOnly) && "disabled"
|
|
2963
3007
|
);
|
|
2964
3008
|
}, [disabled, props.readOnly]);
|
|
2965
|
-
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)(
|
|
2966
3010
|
DatePicker,
|
|
2967
3011
|
__spreadProps(__spreadValues({
|
|
2968
|
-
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: [
|
|
2969
3013
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
2970
|
-
/* @__PURE__ */ (0,
|
|
3014
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_icons2.CalendarIcon, {})
|
|
2971
3015
|
] }) })),
|
|
2972
3016
|
wrapperClassName: "full-width"
|
|
2973
3017
|
}, rest), {
|
|
@@ -3049,7 +3093,7 @@ var getTimeOption = (time) => {
|
|
|
3049
3093
|
};
|
|
3050
3094
|
|
|
3051
3095
|
// src/molecules/time-select.tsx
|
|
3052
|
-
var
|
|
3096
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
3053
3097
|
var getOptionValue = (date, timeValue) => {
|
|
3054
3098
|
if (date && timeValue) {
|
|
3055
3099
|
if ((0, import_date_fns2.format)(date, "yyyyMMdd") === (0, import_date_fns2.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -3075,21 +3119,21 @@ function TimeSelect(_a) {
|
|
|
3075
3119
|
const [minOption, maxOption] = (0, import_react27.useMemo)(() => {
|
|
3076
3120
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
3077
3121
|
}, [maxTime, minTime, time]);
|
|
3078
|
-
return /* @__PURE__ */ (0,
|
|
3079
|
-
/* @__PURE__ */ (0,
|
|
3080
|
-
/* @__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) => {
|
|
3081
3125
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
3082
3126
|
if (!visible) {
|
|
3083
3127
|
return null;
|
|
3084
3128
|
}
|
|
3085
|
-
return /* @__PURE__ */ (0,
|
|
3129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Select.Item, { value: option, children: option }, option);
|
|
3086
3130
|
}) })
|
|
3087
3131
|
] }));
|
|
3088
3132
|
}
|
|
3089
3133
|
|
|
3090
3134
|
// src/molecules/radio-button-card.tsx
|
|
3091
3135
|
var import_react28 = require("react");
|
|
3092
|
-
var
|
|
3136
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
3093
3137
|
var RadioCardContext = (0, import_react28.createContext)({});
|
|
3094
3138
|
function Root10(props) {
|
|
3095
3139
|
const [value, setValue] = (0, import_react28.useState)(props.value || props.defaultValue);
|
|
@@ -3101,7 +3145,7 @@ function Root10(props) {
|
|
|
3101
3145
|
},
|
|
3102
3146
|
[props]
|
|
3103
3147
|
);
|
|
3104
|
-
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 })) });
|
|
3105
3149
|
}
|
|
3106
3150
|
function Item(_a) {
|
|
3107
3151
|
var _b = _a, {
|
|
@@ -3118,9 +3162,9 @@ function Item(_a) {
|
|
|
3118
3162
|
"justify",
|
|
3119
3163
|
"RadioWrapper"
|
|
3120
3164
|
]);
|
|
3121
|
-
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: [
|
|
3122
3166
|
children,
|
|
3123
|
-
/* @__PURE__ */ (0,
|
|
3167
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3124
3168
|
import_themes32.Radio,
|
|
3125
3169
|
{
|
|
3126
3170
|
checked: itemRest.value === value,
|
|
@@ -3137,24 +3181,24 @@ var RadioButtonCard = {
|
|
|
3137
3181
|
|
|
3138
3182
|
// src/molecules/download-card.tsx
|
|
3139
3183
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
3140
|
-
var
|
|
3184
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
3141
3185
|
function DownloadCard({
|
|
3142
3186
|
fileName,
|
|
3143
3187
|
url,
|
|
3144
3188
|
createdAt,
|
|
3145
3189
|
size
|
|
3146
3190
|
}) {
|
|
3147
|
-
return /* @__PURE__ */ (0,
|
|
3191
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Link, { download: fileName, href: url, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3148
3192
|
import_themes18.IconButton,
|
|
3149
3193
|
{
|
|
3150
3194
|
mt: "3",
|
|
3151
3195
|
size: "4",
|
|
3152
3196
|
style: { width: "100%", height: 56 },
|
|
3153
3197
|
variant: "soft",
|
|
3154
|
-
children: /* @__PURE__ */ (0,
|
|
3155
|
-
/* @__PURE__ */ (0,
|
|
3156
|
-
/* @__PURE__ */ (0,
|
|
3157
|
-
/* @__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)(
|
|
3158
3202
|
Typo,
|
|
3159
3203
|
{
|
|
3160
3204
|
style: {
|
|
@@ -3164,7 +3208,7 @@ function DownloadCard({
|
|
|
3164
3208
|
children: fileName
|
|
3165
3209
|
}
|
|
3166
3210
|
),
|
|
3167
|
-
/* @__PURE__ */ (0,
|
|
3211
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { color: "gray", variant: "caption", children: size })
|
|
3168
3212
|
] })
|
|
3169
3213
|
] })
|
|
3170
3214
|
}
|
|
@@ -3172,22 +3216,22 @@ function DownloadCard({
|
|
|
3172
3216
|
}
|
|
3173
3217
|
|
|
3174
3218
|
// src/molecules/ghost-post.tsx
|
|
3175
|
-
var
|
|
3219
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
3176
3220
|
function GhostPost(props) {
|
|
3177
3221
|
const { defaultThemeProps, html, onPageBack } = props;
|
|
3178
|
-
return /* @__PURE__ */ (0,
|
|
3222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3179
3223
|
ThemeProvider,
|
|
3180
3224
|
__spreadProps(__spreadValues({}, defaultThemeProps), {
|
|
3181
3225
|
accentColor: "iris",
|
|
3182
3226
|
scaling: "110%",
|
|
3183
3227
|
style: {},
|
|
3184
|
-
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)(
|
|
3185
3229
|
"div",
|
|
3186
3230
|
{
|
|
3187
3231
|
className: "gh-content",
|
|
3188
3232
|
dangerouslySetInnerHTML: { __html: html }
|
|
3189
3233
|
}
|
|
3190
|
-
) }) : /* @__PURE__ */ (0,
|
|
3234
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
3191
3235
|
import_themes22.Flex,
|
|
3192
3236
|
{
|
|
3193
3237
|
align: "center",
|
|
@@ -3197,8 +3241,8 @@ function GhostPost(props) {
|
|
|
3197
3241
|
justify: "center",
|
|
3198
3242
|
width: "100%",
|
|
3199
3243
|
children: [
|
|
3200
|
-
/* @__PURE__ */ (0,
|
|
3201
|
-
/* @__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)(
|
|
3202
3246
|
Heading2,
|
|
3203
3247
|
{
|
|
3204
3248
|
align: "center",
|
|
@@ -3209,7 +3253,7 @@ function GhostPost(props) {
|
|
|
3209
3253
|
\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694.`
|
|
3210
3254
|
}
|
|
3211
3255
|
),
|
|
3212
|
-
/* @__PURE__ */ (0,
|
|
3256
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { onClick: onPageBack, size: "large", children: "\uB4A4\uB85C\uAC00\uAE30" })
|
|
3213
3257
|
]
|
|
3214
3258
|
}
|
|
3215
3259
|
)
|
|
@@ -3219,7 +3263,7 @@ function GhostPost(props) {
|
|
|
3219
3263
|
|
|
3220
3264
|
// src/molecules/curriculumV2/curriculum-context.tsx
|
|
3221
3265
|
var import_react29 = require("react");
|
|
3222
|
-
var
|
|
3266
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
3223
3267
|
var CurriculumContext = (0, import_react29.createContext)(
|
|
3224
3268
|
void 0
|
|
3225
3269
|
);
|
|
@@ -3233,7 +3277,8 @@ function CurriculumProvider(props) {
|
|
|
3233
3277
|
curriculumReviewAnswers,
|
|
3234
3278
|
tempCurriculumReviewAnswers,
|
|
3235
3279
|
curriculumCompleteMap,
|
|
3236
|
-
onChangeSelectedContent
|
|
3280
|
+
onChangeSelectedContent,
|
|
3281
|
+
onActionButtonClick
|
|
3237
3282
|
} = props;
|
|
3238
3283
|
const sidebarRef = (0, import_react29.useRef)(null);
|
|
3239
3284
|
const scrollNavItem = (0, import_react29.useCallback)((index) => {
|
|
@@ -3318,7 +3363,7 @@ function CurriculumProvider(props) {
|
|
|
3318
3363
|
(0, import_react29.useEffect)(() => {
|
|
3319
3364
|
onChangeSelectedContent == null ? void 0 : onChangeSelectedContent(selectedItem);
|
|
3320
3365
|
}, [selectedItem]);
|
|
3321
|
-
return /* @__PURE__ */ (0,
|
|
3366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CurriculumContext.Provider, { value: {
|
|
3322
3367
|
curriculum,
|
|
3323
3368
|
scrollNavItem,
|
|
3324
3369
|
selectedIndex: selectedIndexState,
|
|
@@ -3335,7 +3380,8 @@ function CurriculumProvider(props) {
|
|
|
3335
3380
|
onReviewValueChange,
|
|
3336
3381
|
curriculumReviewAnswers,
|
|
3337
3382
|
tempCurriculumReviewAnswers,
|
|
3338
|
-
curriculumCompleteMap
|
|
3383
|
+
curriculumCompleteMap,
|
|
3384
|
+
onActionButtonClick
|
|
3339
3385
|
}, children });
|
|
3340
3386
|
}
|
|
3341
3387
|
function useCurriculumContext() {
|
|
@@ -3349,7 +3395,7 @@ function useCurriculumContext() {
|
|
|
3349
3395
|
|
|
3350
3396
|
// src/molecules/curriculumV2/curriculum-sub-nav.tsx
|
|
3351
3397
|
var import_react30 = require("react");
|
|
3352
|
-
var
|
|
3398
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
3353
3399
|
function CurriculumSubNav() {
|
|
3354
3400
|
const {
|
|
3355
3401
|
selectedItem,
|
|
@@ -3370,7 +3416,7 @@ function CurriculumSubNav() {
|
|
|
3370
3416
|
scrollNavItem(moveIndex.toString());
|
|
3371
3417
|
});
|
|
3372
3418
|
}, [selectNext, scrollNavItem]);
|
|
3373
|
-
return /* @__PURE__ */ (0,
|
|
3419
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
3374
3420
|
import_themes23.Grid,
|
|
3375
3421
|
{
|
|
3376
3422
|
align: "center",
|
|
@@ -3380,30 +3426,30 @@ function CurriculumSubNav() {
|
|
|
3380
3426
|
py: "2",
|
|
3381
3427
|
rows: "auto",
|
|
3382
3428
|
children: [
|
|
3383
|
-
hasPrev ? /* @__PURE__ */ (0,
|
|
3429
|
+
hasPrev ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3384
3430
|
import_themes18.IconButton,
|
|
3385
3431
|
{
|
|
3386
3432
|
color: "gray",
|
|
3387
3433
|
onClick: onClickPrev,
|
|
3388
3434
|
size: { initial: "3", md: "4" },
|
|
3389
3435
|
variant: "ghost",
|
|
3390
|
-
children: /* @__PURE__ */ (0,
|
|
3436
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons2.ChevronLeftIcon, { height: "16px", width: "16px" })
|
|
3391
3437
|
}
|
|
3392
|
-
) : /* @__PURE__ */ (0,
|
|
3393
|
-
/* @__PURE__ */ (0,
|
|
3394
|
-
/* @__PURE__ */ (0,
|
|
3395
|
-
/* @__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 })
|
|
3396
3442
|
] }),
|
|
3397
|
-
hasNext ? /* @__PURE__ */ (0,
|
|
3443
|
+
hasNext ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3398
3444
|
import_themes18.IconButton,
|
|
3399
3445
|
{
|
|
3400
3446
|
color: "gray",
|
|
3401
3447
|
onClick: onClickNext,
|
|
3402
3448
|
size: { initial: "3", md: "4" },
|
|
3403
3449
|
variant: "ghost",
|
|
3404
|
-
children: /* @__PURE__ */ (0,
|
|
3450
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons2.ChevronRightIcon, { height: "16px", width: "16px" })
|
|
3405
3451
|
}
|
|
3406
|
-
) : /* @__PURE__ */ (0,
|
|
3452
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, {})
|
|
3407
3453
|
]
|
|
3408
3454
|
}
|
|
3409
3455
|
);
|
|
@@ -3411,12 +3457,12 @@ function CurriculumSubNav() {
|
|
|
3411
3457
|
|
|
3412
3458
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-video.tsx
|
|
3413
3459
|
var import_react31 = require("react");
|
|
3414
|
-
var
|
|
3460
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
3415
3461
|
function CurriculumVideo(props) {
|
|
3416
3462
|
const { item } = props;
|
|
3417
3463
|
const { url } = item;
|
|
3418
3464
|
const [isLoading, setIsLoading] = (0, import_react31.useState)(true);
|
|
3419
|
-
return /* @__PURE__ */ (0,
|
|
3465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3420
3466
|
import_themes22.Flex,
|
|
3421
3467
|
{
|
|
3422
3468
|
align: "center",
|
|
@@ -3428,7 +3474,7 @@ function CurriculumVideo(props) {
|
|
|
3428
3474
|
position: "relative"
|
|
3429
3475
|
},
|
|
3430
3476
|
children: [
|
|
3431
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
3477
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3432
3478
|
import_themes22.Flex,
|
|
3433
3479
|
{
|
|
3434
3480
|
align: "center",
|
|
@@ -3443,10 +3489,10 @@ function CurriculumVideo(props) {
|
|
|
3443
3489
|
color: "white"
|
|
3444
3490
|
},
|
|
3445
3491
|
width: "100%",
|
|
3446
|
-
children: /* @__PURE__ */ (0,
|
|
3492
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes49.Spinner, { size: "3", style: { width: 48, height: 48 } })
|
|
3447
3493
|
}
|
|
3448
3494
|
) : null,
|
|
3449
|
-
/* @__PURE__ */ (0,
|
|
3495
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3450
3496
|
"iframe",
|
|
3451
3497
|
{
|
|
3452
3498
|
allowFullScreen: true,
|
|
@@ -3476,7 +3522,7 @@ var import_react32 = require("react");
|
|
|
3476
3522
|
var import_formik = require("formik");
|
|
3477
3523
|
var import_lodash_es = require("lodash-es");
|
|
3478
3524
|
var Yup = __toESM(require("yup"), 1);
|
|
3479
|
-
var
|
|
3525
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
3480
3526
|
var CurriculumReviewContext = (0, import_react32.createContext)(void 0);
|
|
3481
3527
|
function getInitialAnswers(defaultValues, questions) {
|
|
3482
3528
|
return questions.reduce((acc, q) => {
|
|
@@ -3605,7 +3651,7 @@ function CurriculumReviewProvider({
|
|
|
3605
3651
|
});
|
|
3606
3652
|
}
|
|
3607
3653
|
}, [currentQuestion == null ? void 0 : currentQuestion.uuid, currentAnswer, onReviewValueChange]);
|
|
3608
|
-
return /* @__PURE__ */ (0,
|
|
3654
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
3609
3655
|
CurriculumReviewContext.Provider,
|
|
3610
3656
|
{
|
|
3611
3657
|
value: {
|
|
@@ -3666,6 +3712,8 @@ var getCurriculumIcon = ({
|
|
|
3666
3712
|
case "question_satisfaction_option":
|
|
3667
3713
|
case "question_satisfaction_text":
|
|
3668
3714
|
return CircleSatisfactionIcon;
|
|
3715
|
+
case "aiTraining":
|
|
3716
|
+
return CircleChatIcon;
|
|
3669
3717
|
case "review":
|
|
3670
3718
|
default:
|
|
3671
3719
|
return CirclePencilIcon;
|
|
@@ -3709,13 +3757,15 @@ var getCurriculumContentSubTypeText = (type) => {
|
|
|
3709
3757
|
return "\uC601\uC0C1";
|
|
3710
3758
|
case "review":
|
|
3711
3759
|
return "\uB9AC\uBDF0";
|
|
3760
|
+
case "aiTraining":
|
|
3761
|
+
return "AI \uD2B8\uB808\uC774\uB2DD";
|
|
3712
3762
|
default:
|
|
3713
3763
|
return "";
|
|
3714
3764
|
}
|
|
3715
3765
|
};
|
|
3716
3766
|
|
|
3717
3767
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.tsx
|
|
3718
|
-
var
|
|
3768
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
3719
3769
|
var renderPreviewContent = (args) => {
|
|
3720
3770
|
const { question } = args;
|
|
3721
3771
|
const Icon = getCurriculumIcon({
|
|
@@ -3728,7 +3778,7 @@ var renderPreviewContent = (args) => {
|
|
|
3728
3778
|
question.duration ? `${question.duration}\uBD84` : ""
|
|
3729
3779
|
].filter(Boolean).join(" | ");
|
|
3730
3780
|
};
|
|
3731
|
-
return /* @__PURE__ */ (0,
|
|
3781
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3732
3782
|
import_themes23.Grid,
|
|
3733
3783
|
{
|
|
3734
3784
|
columns: "16px 1fr",
|
|
@@ -3737,10 +3787,10 @@ var renderPreviewContent = (args) => {
|
|
|
3737
3787
|
py: "2",
|
|
3738
3788
|
width: "100%",
|
|
3739
3789
|
children: [
|
|
3740
|
-
/* @__PURE__ */ (0,
|
|
3741
|
-
/* @__PURE__ */ (0,
|
|
3742
|
-
/* @__PURE__ */ (0,
|
|
3743
|
-
/* @__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() })
|
|
3744
3794
|
] })
|
|
3745
3795
|
]
|
|
3746
3796
|
},
|
|
@@ -3763,7 +3813,7 @@ var renderReviewContent = (args) => {
|
|
|
3763
3813
|
const color = getCurriculumQuestionIconColor(question.type);
|
|
3764
3814
|
const badgeColor = ["question_radio", "question_satisfaction_option"].includes(question.type) ? "accent" : "neutral";
|
|
3765
3815
|
const value = getReviewContentValue(question, answer);
|
|
3766
|
-
return /* @__PURE__ */ (0,
|
|
3816
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3767
3817
|
import_themes23.Grid,
|
|
3768
3818
|
{
|
|
3769
3819
|
columns: "16px 1fr",
|
|
@@ -3772,10 +3822,10 @@ var renderReviewContent = (args) => {
|
|
|
3772
3822
|
py: "2",
|
|
3773
3823
|
width: "100%",
|
|
3774
3824
|
children: [
|
|
3775
|
-
/* @__PURE__ */ (0,
|
|
3776
|
-
/* @__PURE__ */ (0,
|
|
3777
|
-
/* @__PURE__ */ (0,
|
|
3778
|
-
/* @__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)" })
|
|
3779
3829
|
] })
|
|
3780
3830
|
]
|
|
3781
3831
|
},
|
|
@@ -3784,7 +3834,7 @@ var renderReviewContent = (args) => {
|
|
|
3784
3834
|
};
|
|
3785
3835
|
function StartReview({ onStart }) {
|
|
3786
3836
|
const { curriculum, reviewContents, sectionTitle, done, formik } = useCurriculumReviewContext();
|
|
3787
|
-
return /* @__PURE__ */ (0,
|
|
3837
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
3788
3838
|
import_themes22.Flex,
|
|
3789
3839
|
{
|
|
3790
3840
|
align: "center",
|
|
@@ -3792,7 +3842,7 @@ function StartReview({ onStart }) {
|
|
|
3792
3842
|
height: "100%",
|
|
3793
3843
|
justify: "center",
|
|
3794
3844
|
width: "100%",
|
|
3795
|
-
children: /* @__PURE__ */ (0,
|
|
3845
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3796
3846
|
import_themes22.Flex,
|
|
3797
3847
|
{
|
|
3798
3848
|
align: "center",
|
|
@@ -3805,20 +3855,20 @@ function StartReview({ onStart }) {
|
|
|
3805
3855
|
px: "4",
|
|
3806
3856
|
width: "100%",
|
|
3807
3857
|
children: [
|
|
3808
|
-
/* @__PURE__ */ (0,
|
|
3809
|
-
/* @__PURE__ */ (0,
|
|
3810
|
-
/* @__PURE__ */ (0,
|
|
3811
|
-
/* @__PURE__ */ (0,
|
|
3812
|
-
/* @__PURE__ */ (0,
|
|
3813
|
-
/* @__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 })
|
|
3814
3864
|
] }),
|
|
3815
|
-
/* @__PURE__ */ (0,
|
|
3865
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes6.Box, { mb: "5", overflowY: "auto", width: "100%", children: reviewContents.questions.map((question) => {
|
|
3816
3866
|
if (done) {
|
|
3817
3867
|
return renderReviewContent({ question, answer: formik.values.answers[question.uuid] });
|
|
3818
3868
|
}
|
|
3819
3869
|
return renderPreviewContent({ question });
|
|
3820
3870
|
}) }),
|
|
3821
|
-
/* @__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 })
|
|
3822
3872
|
]
|
|
3823
3873
|
}
|
|
3824
3874
|
)
|
|
@@ -3828,13 +3878,13 @@ function StartReview({ onStart }) {
|
|
|
3828
3878
|
var start_review_default = StartReview;
|
|
3829
3879
|
|
|
3830
3880
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.tsx
|
|
3831
|
-
var
|
|
3881
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
3832
3882
|
var THANKS_IMAGE_S3_URL = "https://tipp-coaching-live.s3.ap-northeast-2.amazonaws.com/images/curriculum_review_thanks.svg";
|
|
3833
3883
|
function CompleteReview(props) {
|
|
3834
3884
|
const { onClickReviewMyAnswer } = props;
|
|
3835
3885
|
const { reviewContents, sectionTitle, curriculum, onClickEndReview: onClickNextContents } = useCurriculumReviewContext();
|
|
3836
3886
|
const { reviewMeta } = curriculum.contents;
|
|
3837
|
-
return /* @__PURE__ */ (0,
|
|
3887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
3838
3888
|
import_themes22.Flex,
|
|
3839
3889
|
{
|
|
3840
3890
|
align: "center",
|
|
@@ -3847,9 +3897,9 @@ function CompleteReview(props) {
|
|
|
3847
3897
|
py: "6",
|
|
3848
3898
|
width: "100%",
|
|
3849
3899
|
children: [
|
|
3850
|
-
/* @__PURE__ */ (0,
|
|
3851
|
-
/* @__PURE__ */ (0,
|
|
3852
|
-
/* @__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)(
|
|
3853
3903
|
"img",
|
|
3854
3904
|
{
|
|
3855
3905
|
alt: "complete-review",
|
|
@@ -3858,19 +3908,19 @@ function CompleteReview(props) {
|
|
|
3858
3908
|
width: 118
|
|
3859
3909
|
}
|
|
3860
3910
|
),
|
|
3861
|
-
/* @__PURE__ */ (0,
|
|
3862
|
-
/* @__PURE__ */ (0,
|
|
3863
|
-
/* @__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.
|
|
3864
3914
|
\uC55E\uC73C\uB85C \uC788\uC744 \uB9AC\uB354\uB2D8\uC758 \uC131\uC7A5\uC744 \uAE30\uB300\uD569\uB2C8\uB2E4.` })
|
|
3865
3915
|
] }),
|
|
3866
|
-
/* @__PURE__ */ (0,
|
|
3867
|
-
/* @__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: [
|
|
3868
3918
|
(reviewMeta == null ? void 0 : reviewMeta.endReviewBackButtonTitle) || "\uB098\uC758 \uC751\uB2F5 \uB2E4\uC2DC \uBCF4\uAE30",
|
|
3869
|
-
/* @__PURE__ */ (0,
|
|
3919
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_icons2.ResetIcon, {})
|
|
3870
3920
|
] }),
|
|
3871
|
-
/* @__PURE__ */ (0,
|
|
3921
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { onClick: onClickNextContents, children: [
|
|
3872
3922
|
"\uCEE4\uB9AC\uD058\uB7FC\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30",
|
|
3873
|
-
/* @__PURE__ */ (0,
|
|
3923
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_icons2.HomeIcon, {})
|
|
3874
3924
|
] })
|
|
3875
3925
|
] })
|
|
3876
3926
|
]
|
|
@@ -3880,9 +3930,9 @@ function CompleteReview(props) {
|
|
|
3880
3930
|
var complete_review_default = CompleteReview;
|
|
3881
3931
|
|
|
3882
3932
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.tsx
|
|
3883
|
-
var
|
|
3933
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
3884
3934
|
function AlignCenter(props) {
|
|
3885
|
-
return /* @__PURE__ */ (0,
|
|
3935
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
3886
3936
|
import_themes22.Flex,
|
|
3887
3937
|
__spreadValues({
|
|
3888
3938
|
align: "center",
|
|
@@ -3897,7 +3947,7 @@ function ReviewQuestionLayout({
|
|
|
3897
3947
|
Body,
|
|
3898
3948
|
Footer
|
|
3899
3949
|
}) {
|
|
3900
|
-
return /* @__PURE__ */ (0,
|
|
3950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
3901
3951
|
import_themes23.Grid,
|
|
3902
3952
|
{
|
|
3903
3953
|
align: "center",
|
|
@@ -3910,18 +3960,18 @@ function ReviewQuestionLayout({
|
|
|
3910
3960
|
},
|
|
3911
3961
|
width: "100%",
|
|
3912
3962
|
children: [
|
|
3913
|
-
/* @__PURE__ */ (0,
|
|
3914
|
-
/* @__PURE__ */ (0,
|
|
3915
|
-
/* @__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)(
|
|
3916
3966
|
AlignCenter,
|
|
3917
3967
|
{
|
|
3918
3968
|
p: "3",
|
|
3919
3969
|
style: { backgroundColor: "var(--gray-2)", zIndex: 0 },
|
|
3920
|
-
children: /* @__PURE__ */ (0,
|
|
3970
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes6.Box, { height: "100%", maxWidth: "650px", width: "100%", children: Body })
|
|
3921
3971
|
}
|
|
3922
3972
|
),
|
|
3923
|
-
/* @__PURE__ */ (0,
|
|
3924
|
-
/* @__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 }) })
|
|
3925
3975
|
]
|
|
3926
3976
|
}
|
|
3927
3977
|
);
|
|
@@ -3929,14 +3979,14 @@ function ReviewQuestionLayout({
|
|
|
3929
3979
|
var review_question_layout_default = ReviewQuestionLayout;
|
|
3930
3980
|
|
|
3931
3981
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.tsx
|
|
3932
|
-
var
|
|
3982
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
3933
3983
|
function ReviewQuestionHeader({
|
|
3934
3984
|
index,
|
|
3935
3985
|
total
|
|
3936
3986
|
}) {
|
|
3937
3987
|
const { reviewContents } = useCurriculumReviewContext();
|
|
3938
|
-
return /* @__PURE__ */ (0,
|
|
3939
|
-
/* @__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)(
|
|
3940
3990
|
Heading2,
|
|
3941
3991
|
{
|
|
3942
3992
|
mb: "3",
|
|
@@ -3945,22 +3995,22 @@ function ReviewQuestionHeader({
|
|
|
3945
3995
|
children: reviewContents.title
|
|
3946
3996
|
}
|
|
3947
3997
|
) }),
|
|
3948
|
-
/* @__PURE__ */ (0,
|
|
3949
|
-
/* @__PURE__ */ (0,
|
|
3950
|
-
/* @__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: [
|
|
3951
4001
|
index + 1,
|
|
3952
4002
|
" / ",
|
|
3953
4003
|
total,
|
|
3954
4004
|
" \uC644\uB8CC"
|
|
3955
4005
|
] })
|
|
3956
4006
|
] }),
|
|
3957
|
-
/* @__PURE__ */ (0,
|
|
4007
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes30.Progress, { color: "iris", max: total, value: index + 1 })
|
|
3958
4008
|
] });
|
|
3959
4009
|
}
|
|
3960
4010
|
var review_question_header_default = ReviewQuestionHeader;
|
|
3961
4011
|
|
|
3962
4012
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.tsx
|
|
3963
|
-
var
|
|
4013
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3964
4014
|
function ReviewQuestionFooter({
|
|
3965
4015
|
index,
|
|
3966
4016
|
onNext,
|
|
@@ -3970,22 +4020,22 @@ function ReviewQuestionFooter({
|
|
|
3970
4020
|
onSubmit,
|
|
3971
4021
|
isLoading
|
|
3972
4022
|
}) {
|
|
3973
|
-
return /* @__PURE__ */ (0,
|
|
3974
|
-
index > 0 ? /* @__PURE__ */ (0,
|
|
3975
|
-
/* @__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, {}),
|
|
3976
4026
|
"\uC774\uC804\uC73C\uB85C"
|
|
3977
|
-
] }) : /* @__PURE__ */ (0,
|
|
3978
|
-
isLast ? /* @__PURE__ */ (0,
|
|
3979
|
-
/* @__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, {}),
|
|
3980
4030
|
"\uC81C\uCD9C\uD558\uAE30"
|
|
3981
|
-
] }) : /* @__PURE__ */ (0,
|
|
4031
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
3982
4032
|
Button,
|
|
3983
4033
|
{
|
|
3984
4034
|
disabled: isNextButtonDisabled,
|
|
3985
4035
|
onClick: onNext,
|
|
3986
4036
|
variant: "surface",
|
|
3987
4037
|
children: [
|
|
3988
|
-
/* @__PURE__ */ (0,
|
|
4038
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_icons2.ChevronRightIcon, {}),
|
|
3989
4039
|
"\uB2E4\uC74C\uC73C\uB85C"
|
|
3990
4040
|
]
|
|
3991
4041
|
}
|
|
@@ -3998,7 +4048,7 @@ var review_question_footer_default = ReviewQuestionFooter;
|
|
|
3998
4048
|
var import_react33 = require("react");
|
|
3999
4049
|
|
|
4000
4050
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.tsx
|
|
4001
|
-
var
|
|
4051
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
4002
4052
|
function ReviewQuestionContentHeader({
|
|
4003
4053
|
type,
|
|
4004
4054
|
title,
|
|
@@ -4006,9 +4056,9 @@ function ReviewQuestionContentHeader({
|
|
|
4006
4056
|
icon
|
|
4007
4057
|
}) {
|
|
4008
4058
|
const Icon = getCurriculumIcon({ type, icon });
|
|
4009
|
-
return /* @__PURE__ */ (0,
|
|
4010
|
-
/* @__PURE__ */ (0,
|
|
4011
|
-
/* @__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)(
|
|
4012
4062
|
Icon,
|
|
4013
4063
|
{
|
|
4014
4064
|
color: getCurriculumQuestionIconColor(type),
|
|
@@ -4016,14 +4066,14 @@ function ReviewQuestionContentHeader({
|
|
|
4016
4066
|
width: "16"
|
|
4017
4067
|
}
|
|
4018
4068
|
) }),
|
|
4019
|
-
/* @__PURE__ */ (0,
|
|
4069
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typo, { color: "gray", weight: "bold", children: title })
|
|
4020
4070
|
] }),
|
|
4021
|
-
/* @__PURE__ */ (0,
|
|
4071
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typo, { as: "p", color: "gray", children: question })
|
|
4022
4072
|
] });
|
|
4023
4073
|
}
|
|
4024
4074
|
|
|
4025
4075
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
|
|
4026
|
-
var
|
|
4076
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
4027
4077
|
var correctAnswerStyle = {
|
|
4028
4078
|
backgroundColor: "var(--green-a2)"
|
|
4029
4079
|
};
|
|
@@ -4040,8 +4090,8 @@ function ReviewQuestionRadio(props) {
|
|
|
4040
4090
|
if (isWrong) return "red";
|
|
4041
4091
|
return void 0;
|
|
4042
4092
|
}, [isCorrect, isWrong]);
|
|
4043
|
-
return /* @__PURE__ */ (0,
|
|
4044
|
-
/* @__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)(
|
|
4045
4095
|
ReviewQuestionContentHeader,
|
|
4046
4096
|
{
|
|
4047
4097
|
icon: question.icon,
|
|
@@ -4050,8 +4100,8 @@ function ReviewQuestionRadio(props) {
|
|
|
4050
4100
|
type: question.type
|
|
4051
4101
|
}
|
|
4052
4102
|
) }),
|
|
4053
|
-
/* @__PURE__ */ (0,
|
|
4054
|
-
/* @__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)(
|
|
4055
4105
|
RadioButtonCard.Root,
|
|
4056
4106
|
{
|
|
4057
4107
|
color: radioColor,
|
|
@@ -4063,7 +4113,7 @@ function ReviewQuestionRadio(props) {
|
|
|
4063
4113
|
position: "absolute"
|
|
4064
4114
|
},
|
|
4065
4115
|
value: answer,
|
|
4066
|
-
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) => {
|
|
4067
4117
|
const isThisOptionCorrect = isCheckAnswer && i === question.correctAnswer;
|
|
4068
4118
|
const isThisOptionSelected = isCheckAnswer && i === Number(answer);
|
|
4069
4119
|
const isThisOptionWrong = isCheckAnswer && isThisOptionSelected && i !== question.correctAnswer;
|
|
@@ -4071,15 +4121,15 @@ function ReviewQuestionRadio(props) {
|
|
|
4071
4121
|
if (isThisOptionCorrect) return correctAnswerStyle;
|
|
4072
4122
|
return {};
|
|
4073
4123
|
})();
|
|
4074
|
-
return /* @__PURE__ */ (0,
|
|
4124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4075
4125
|
RadioButtonCard.Item,
|
|
4076
4126
|
{
|
|
4077
4127
|
style,
|
|
4078
4128
|
value: i.toString(),
|
|
4079
|
-
children: /* @__PURE__ */ (0,
|
|
4080
|
-
/* @__PURE__ */ (0,
|
|
4081
|
-
isThisOptionCorrect ? /* @__PURE__ */ (0,
|
|
4082
|
-
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
|
|
4083
4133
|
] })
|
|
4084
4134
|
},
|
|
4085
4135
|
`${option.label}-${i}`
|
|
@@ -4087,19 +4137,19 @@ function ReviewQuestionRadio(props) {
|
|
|
4087
4137
|
}) })
|
|
4088
4138
|
}
|
|
4089
4139
|
) }),
|
|
4090
|
-
/* @__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" }) })
|
|
4091
4141
|
] })
|
|
4092
4142
|
] });
|
|
4093
4143
|
}
|
|
4094
4144
|
var review_question_radio_default = ReviewQuestionRadio;
|
|
4095
4145
|
|
|
4096
4146
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.tsx
|
|
4097
|
-
var
|
|
4147
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
4098
4148
|
function ReviewQuestionText(props) {
|
|
4099
4149
|
const { question, answer, onChange } = props;
|
|
4100
4150
|
const minLengthNotMet = question.minLength && answer.length < question.minLength;
|
|
4101
4151
|
const remainingLength = question.minLength && answer.length < question.minLength ? question.minLength - answer.length : 0;
|
|
4102
|
-
return /* @__PURE__ */ (0,
|
|
4152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4103
4153
|
Card,
|
|
4104
4154
|
{
|
|
4105
4155
|
size: "2",
|
|
@@ -4107,9 +4157,9 @@ function ReviewQuestionText(props) {
|
|
|
4107
4157
|
width: "100%",
|
|
4108
4158
|
height: "100%"
|
|
4109
4159
|
},
|
|
4110
|
-
children: /* @__PURE__ */ (0,
|
|
4111
|
-
/* @__PURE__ */ (0,
|
|
4112
|
-
/* @__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)(
|
|
4113
4163
|
ReviewQuestionContentHeader,
|
|
4114
4164
|
{
|
|
4115
4165
|
icon: question.icon,
|
|
@@ -4118,7 +4168,7 @@ function ReviewQuestionText(props) {
|
|
|
4118
4168
|
type: question.type
|
|
4119
4169
|
}
|
|
4120
4170
|
),
|
|
4121
|
-
/* @__PURE__ */ (0,
|
|
4171
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4122
4172
|
TextArea,
|
|
4123
4173
|
{
|
|
4124
4174
|
mt: "2",
|
|
@@ -4130,17 +4180,17 @@ function ReviewQuestionText(props) {
|
|
|
4130
4180
|
}
|
|
4131
4181
|
)
|
|
4132
4182
|
] }),
|
|
4133
|
-
minLengthNotMet ? /* @__PURE__ */ (0,
|
|
4134
|
-
/* @__PURE__ */ (0,
|
|
4135
|
-
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)(
|
|
4136
4186
|
import_themes8.Callout.Root,
|
|
4137
4187
|
{
|
|
4138
4188
|
color: "iris",
|
|
4139
4189
|
mt: "2",
|
|
4140
4190
|
style: { alignItems: "center" },
|
|
4141
4191
|
children: [
|
|
4142
|
-
/* @__PURE__ */ (0,
|
|
4143
|
-
/* @__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 }) })
|
|
4144
4194
|
]
|
|
4145
4195
|
}
|
|
4146
4196
|
) : null
|
|
@@ -4152,12 +4202,12 @@ function ReviewQuestionText(props) {
|
|
|
4152
4202
|
var review_question_text_default = ReviewQuestionText;
|
|
4153
4203
|
|
|
4154
4204
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.tsx
|
|
4155
|
-
var
|
|
4205
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
4156
4206
|
function ReviewQuestionSatisfisRadio(props) {
|
|
4157
4207
|
var _a, _b, _c;
|
|
4158
4208
|
const { question, answer, onChange } = props;
|
|
4159
|
-
return /* @__PURE__ */ (0,
|
|
4160
|
-
/* @__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)(
|
|
4161
4211
|
ReviewQuestionContentHeader,
|
|
4162
4212
|
{
|
|
4163
4213
|
icon: question.icon,
|
|
@@ -4166,18 +4216,18 @@ function ReviewQuestionSatisfisRadio(props) {
|
|
|
4166
4216
|
type: question.type
|
|
4167
4217
|
}
|
|
4168
4218
|
) }),
|
|
4169
|
-
/* @__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)) }) })
|
|
4170
4220
|
] });
|
|
4171
4221
|
}
|
|
4172
4222
|
var review_question_satisfaction_option_default = ReviewQuestionSatisfisRadio;
|
|
4173
4223
|
|
|
4174
4224
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.tsx
|
|
4175
|
-
var
|
|
4225
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
4176
4226
|
function ReviewQuestionSatisfisText(props) {
|
|
4177
4227
|
var _a, _b;
|
|
4178
4228
|
const { question, answer, onChange } = props;
|
|
4179
|
-
return /* @__PURE__ */ (0,
|
|
4180
|
-
/* @__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)(
|
|
4181
4231
|
ReviewQuestionContentHeader,
|
|
4182
4232
|
{
|
|
4183
4233
|
icon: question.icon,
|
|
@@ -4186,7 +4236,7 @@ function ReviewQuestionSatisfisText(props) {
|
|
|
4186
4236
|
type: question.type
|
|
4187
4237
|
}
|
|
4188
4238
|
),
|
|
4189
|
-
/* @__PURE__ */ (0,
|
|
4239
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4190
4240
|
TextArea,
|
|
4191
4241
|
{
|
|
4192
4242
|
mt: "2",
|
|
@@ -4204,11 +4254,11 @@ function ReviewQuestionSatisfisText(props) {
|
|
|
4204
4254
|
}
|
|
4205
4255
|
|
|
4206
4256
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.tsx
|
|
4207
|
-
var
|
|
4257
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
4208
4258
|
function ReviewQuestionBody(props) {
|
|
4209
4259
|
const { question, answer, error, onChange } = props;
|
|
4210
4260
|
if (question.type === "question_radio") {
|
|
4211
|
-
return /* @__PURE__ */ (0,
|
|
4261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4212
4262
|
review_question_radio_default,
|
|
4213
4263
|
{
|
|
4214
4264
|
answer,
|
|
@@ -4219,7 +4269,7 @@ function ReviewQuestionBody(props) {
|
|
|
4219
4269
|
);
|
|
4220
4270
|
}
|
|
4221
4271
|
if (question.type === "question_text") {
|
|
4222
|
-
return /* @__PURE__ */ (0,
|
|
4272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4223
4273
|
review_question_text_default,
|
|
4224
4274
|
{
|
|
4225
4275
|
answer,
|
|
@@ -4230,7 +4280,7 @@ function ReviewQuestionBody(props) {
|
|
|
4230
4280
|
);
|
|
4231
4281
|
}
|
|
4232
4282
|
if (question.type === "question_satisfaction_option") {
|
|
4233
|
-
return /* @__PURE__ */ (0,
|
|
4283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4234
4284
|
review_question_satisfaction_option_default,
|
|
4235
4285
|
{
|
|
4236
4286
|
answer,
|
|
@@ -4241,7 +4291,7 @@ function ReviewQuestionBody(props) {
|
|
|
4241
4291
|
);
|
|
4242
4292
|
}
|
|
4243
4293
|
if (question.type === "question_satisfaction_text") {
|
|
4244
|
-
return /* @__PURE__ */ (0,
|
|
4294
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4245
4295
|
ReviewQuestionSatisfisText,
|
|
4246
4296
|
{
|
|
4247
4297
|
answer,
|
|
@@ -4256,7 +4306,7 @@ function ReviewQuestionBody(props) {
|
|
|
4256
4306
|
var review_question_body_default = ReviewQuestionBody;
|
|
4257
4307
|
|
|
4258
4308
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.tsx
|
|
4259
|
-
var
|
|
4309
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
4260
4310
|
function ReviewQuestion({
|
|
4261
4311
|
question,
|
|
4262
4312
|
index,
|
|
@@ -4271,10 +4321,10 @@ function ReviewQuestion({
|
|
|
4271
4321
|
onSubmit,
|
|
4272
4322
|
isLoading
|
|
4273
4323
|
}) {
|
|
4274
|
-
return /* @__PURE__ */ (0,
|
|
4324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
4275
4325
|
review_question_layout_default,
|
|
4276
4326
|
{
|
|
4277
|
-
Body: /* @__PURE__ */ (0,
|
|
4327
|
+
Body: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
4278
4328
|
review_question_body_default,
|
|
4279
4329
|
{
|
|
4280
4330
|
answer,
|
|
@@ -4283,7 +4333,7 @@ function ReviewQuestion({
|
|
|
4283
4333
|
question
|
|
4284
4334
|
}
|
|
4285
4335
|
),
|
|
4286
|
-
Footer: /* @__PURE__ */ (0,
|
|
4336
|
+
Footer: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
4287
4337
|
review_question_footer_default,
|
|
4288
4338
|
{
|
|
4289
4339
|
index,
|
|
@@ -4295,14 +4345,14 @@ function ReviewQuestion({
|
|
|
4295
4345
|
onSubmit
|
|
4296
4346
|
}
|
|
4297
4347
|
),
|
|
4298
|
-
Header: /* @__PURE__ */ (0,
|
|
4348
|
+
Header: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(review_question_header_default, { index, total })
|
|
4299
4349
|
}
|
|
4300
4350
|
);
|
|
4301
4351
|
}
|
|
4302
4352
|
var ReviewQuestion_default = ReviewQuestion;
|
|
4303
4353
|
|
|
4304
4354
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.tsx
|
|
4305
|
-
var
|
|
4355
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
4306
4356
|
function CurriculumReviewStepsInner() {
|
|
4307
4357
|
const {
|
|
4308
4358
|
formik,
|
|
@@ -4320,10 +4370,10 @@ function CurriculumReviewStepsInner() {
|
|
|
4320
4370
|
} = useCurriculumReviewContext();
|
|
4321
4371
|
const { questions } = reviewContents;
|
|
4322
4372
|
if (step === 0) {
|
|
4323
|
-
return /* @__PURE__ */ (0,
|
|
4373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(start_review_default, { onStart: handleStart });
|
|
4324
4374
|
}
|
|
4325
4375
|
if (step > 0 && step <= questions.length && currentQuestion) {
|
|
4326
|
-
return /* @__PURE__ */ (0,
|
|
4376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
4327
4377
|
ReviewQuestion_default,
|
|
4328
4378
|
{
|
|
4329
4379
|
answer: currentAnswer,
|
|
@@ -4341,7 +4391,7 @@ function CurriculumReviewStepsInner() {
|
|
|
4341
4391
|
}
|
|
4342
4392
|
);
|
|
4343
4393
|
}
|
|
4344
|
-
return /* @__PURE__ */ (0,
|
|
4394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(complete_review_default, { onClickReviewMyAnswer });
|
|
4345
4395
|
}
|
|
4346
4396
|
function CurriculumReviewSteps({
|
|
4347
4397
|
contents,
|
|
@@ -4354,7 +4404,7 @@ function CurriculumReviewSteps({
|
|
|
4354
4404
|
mode,
|
|
4355
4405
|
done
|
|
4356
4406
|
}) {
|
|
4357
|
-
return /* @__PURE__ */ (0,
|
|
4407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
4358
4408
|
CurriculumReviewProvider,
|
|
4359
4409
|
{
|
|
4360
4410
|
curriculum,
|
|
@@ -4366,14 +4416,14 @@ function CurriculumReviewSteps({
|
|
|
4366
4416
|
onSubmit,
|
|
4367
4417
|
reviewContents: contents,
|
|
4368
4418
|
sectionTitle: title,
|
|
4369
|
-
children: /* @__PURE__ */ (0,
|
|
4419
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(CurriculumReviewStepsInner, {})
|
|
4370
4420
|
}
|
|
4371
4421
|
);
|
|
4372
4422
|
}
|
|
4373
4423
|
var CurriculumReviewSteps_default = CurriculumReviewSteps;
|
|
4374
4424
|
|
|
4375
4425
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
|
|
4376
|
-
var
|
|
4426
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
4377
4427
|
function CurriculumReview(props) {
|
|
4378
4428
|
const { item, sectionTitle } = props;
|
|
4379
4429
|
const { description, buttonTitle } = item;
|
|
@@ -4398,8 +4448,8 @@ function CurriculumReview(props) {
|
|
|
4398
4448
|
const done = (0, import_react34.useMemo)(() => {
|
|
4399
4449
|
return Boolean(curriculumCompleteMap[item.uuid]);
|
|
4400
4450
|
}, [curriculumCompleteMap, item.uuid]);
|
|
4401
|
-
return /* @__PURE__ */ (0,
|
|
4402
|
-
/* @__PURE__ */ (0,
|
|
4451
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(Dialog.Root, { onOpenChange: setOpen, open, children: [
|
|
4452
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
4403
4453
|
import_themes22.Flex,
|
|
4404
4454
|
{
|
|
4405
4455
|
align: "center",
|
|
@@ -4408,15 +4458,21 @@ function CurriculumReview(props) {
|
|
|
4408
4458
|
justify: "center",
|
|
4409
4459
|
px: "3",
|
|
4410
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
|
+
},
|
|
4411
4467
|
width: "100%",
|
|
4412
4468
|
children: [
|
|
4413
|
-
/* @__PURE__ */ (0,
|
|
4414
|
-
/* @__PURE__ */ (0,
|
|
4415
|
-
/* @__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 }) }) })
|
|
4416
4472
|
]
|
|
4417
4473
|
}
|
|
4418
4474
|
),
|
|
4419
|
-
/* @__PURE__ */ (0,
|
|
4475
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
4420
4476
|
Dialog.Content,
|
|
4421
4477
|
{
|
|
4422
4478
|
height: "100%",
|
|
@@ -4424,7 +4480,7 @@ function CurriculumReview(props) {
|
|
|
4424
4480
|
style: { borderRadius: 0, padding: 0 },
|
|
4425
4481
|
title: "",
|
|
4426
4482
|
width: "100%",
|
|
4427
|
-
children: /* @__PURE__ */ (0,
|
|
4483
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
4428
4484
|
import_themes22.Flex,
|
|
4429
4485
|
{
|
|
4430
4486
|
align: "center",
|
|
@@ -4434,7 +4490,7 @@ function CurriculumReview(props) {
|
|
|
4434
4490
|
position: "relative",
|
|
4435
4491
|
width: "100%",
|
|
4436
4492
|
children: [
|
|
4437
|
-
/* @__PURE__ */ (0,
|
|
4493
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
4438
4494
|
CurriculumReviewSteps_default,
|
|
4439
4495
|
{
|
|
4440
4496
|
contents: item,
|
|
@@ -4448,9 +4504,9 @@ function CurriculumReview(props) {
|
|
|
4448
4504
|
title: sectionTitle
|
|
4449
4505
|
}
|
|
4450
4506
|
),
|
|
4451
|
-
/* @__PURE__ */ (0,
|
|
4452
|
-
/* @__PURE__ */ (0,
|
|
4453
|
-
/* @__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 }) })
|
|
4454
4510
|
] }) }) })
|
|
4455
4511
|
]
|
|
4456
4512
|
}
|
|
@@ -4461,23 +4517,74 @@ function CurriculumReview(props) {
|
|
|
4461
4517
|
}
|
|
4462
4518
|
var curriculum_review_default = CurriculumReview;
|
|
4463
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
|
+
|
|
4464
4569
|
// src/molecules/curriculumV2/CurriculumContents/index.tsx
|
|
4465
|
-
var
|
|
4570
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
4466
4571
|
function CurriculumBody() {
|
|
4467
4572
|
const { selectedItem, selectedSectionTitle } = useCurriculumContext();
|
|
4468
4573
|
switch (selectedItem.type) {
|
|
4469
4574
|
case "video":
|
|
4470
|
-
return /* @__PURE__ */ (0,
|
|
4575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(curriculum_video_default, { item: selectedItem });
|
|
4471
4576
|
case "review":
|
|
4472
|
-
return /* @__PURE__ */ (0,
|
|
4577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4473
4578
|
curriculum_review_default,
|
|
4474
4579
|
{
|
|
4475
4580
|
item: selectedItem,
|
|
4476
4581
|
sectionTitle: selectedSectionTitle == null ? void 0 : selectedSectionTitle.title
|
|
4477
4582
|
}
|
|
4478
4583
|
);
|
|
4584
|
+
case "aiTraining":
|
|
4585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(curriculum_ai_traning_default, { item: selectedItem });
|
|
4479
4586
|
default:
|
|
4480
|
-
return /* @__PURE__ */ (0,
|
|
4587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
4481
4588
|
import_themes22.Flex,
|
|
4482
4589
|
{
|
|
4483
4590
|
align: "center",
|
|
@@ -4487,9 +4594,9 @@ function CurriculumBody() {
|
|
|
4487
4594
|
justify: "center",
|
|
4488
4595
|
width: "100%",
|
|
4489
4596
|
children: [
|
|
4490
|
-
/* @__PURE__ */ (0,
|
|
4491
|
-
/* @__PURE__ */ (0,
|
|
4492
|
-
/* @__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]
|
|
4493
4600
|
${JSON.stringify(selectedItem)}` })
|
|
4494
4601
|
]
|
|
4495
4602
|
}
|
|
@@ -4498,12 +4605,12 @@ function CurriculumBody() {
|
|
|
4498
4605
|
}
|
|
4499
4606
|
|
|
4500
4607
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-title.tsx
|
|
4501
|
-
var
|
|
4608
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
4502
4609
|
function SectionTitle(props) {
|
|
4503
4610
|
const { title, duration } = props;
|
|
4504
|
-
return /* @__PURE__ */ (0,
|
|
4505
|
-
/* @__PURE__ */ (0,
|
|
4506
|
-
/* @__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: [
|
|
4507
4614
|
duration,
|
|
4508
4615
|
"\uBD84"
|
|
4509
4616
|
] })
|
|
@@ -4512,14 +4619,14 @@ function SectionTitle(props) {
|
|
|
4512
4619
|
var section_title_default = SectionTitle;
|
|
4513
4620
|
|
|
4514
4621
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.tsx
|
|
4515
|
-
var
|
|
4622
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
4516
4623
|
function CurriculumSidebarItemWrapper({
|
|
4517
4624
|
children,
|
|
4518
4625
|
isSelected,
|
|
4519
4626
|
onClick,
|
|
4520
4627
|
index
|
|
4521
4628
|
}) {
|
|
4522
|
-
return /* @__PURE__ */ (0,
|
|
4629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
4523
4630
|
import_themes23.Grid,
|
|
4524
4631
|
{
|
|
4525
4632
|
align: "center",
|
|
@@ -4535,7 +4642,7 @@ function CurriculumSidebarItemWrapper({
|
|
|
4535
4642
|
cursor: onClick ? "pointer" : void 0
|
|
4536
4643
|
},
|
|
4537
4644
|
children: [
|
|
4538
|
-
isSelected ? /* @__PURE__ */ (0,
|
|
4645
|
+
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4539
4646
|
import_themes39.Separator,
|
|
4540
4647
|
{
|
|
4541
4648
|
color: "yellow",
|
|
@@ -4552,15 +4659,15 @@ function CurriculumSidebarItemWrapper({
|
|
|
4552
4659
|
var curriculum_sidebar_item_wrapper_default = CurriculumSidebarItemWrapper;
|
|
4553
4660
|
|
|
4554
4661
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.tsx
|
|
4555
|
-
var
|
|
4662
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
4556
4663
|
function CurriculumItemTitle({
|
|
4557
4664
|
title,
|
|
4558
4665
|
subText,
|
|
4559
4666
|
duration
|
|
4560
4667
|
}) {
|
|
4561
|
-
return /* @__PURE__ */ (0,
|
|
4562
|
-
/* @__PURE__ */ (0,
|
|
4563
|
-
/* @__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: [
|
|
4564
4671
|
subText,
|
|
4565
4672
|
duration ? ` | ${duration}\uBD84` : ""
|
|
4566
4673
|
] })
|
|
@@ -4569,7 +4676,7 @@ function CurriculumItemTitle({
|
|
|
4569
4676
|
var curriculum_item_title_default = CurriculumItemTitle;
|
|
4570
4677
|
|
|
4571
4678
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-item.tsx
|
|
4572
|
-
var
|
|
4679
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
4573
4680
|
function SectionCommonItem({
|
|
4574
4681
|
title,
|
|
4575
4682
|
duration,
|
|
@@ -4578,21 +4685,21 @@ function SectionCommonItem({
|
|
|
4578
4685
|
color = "gray"
|
|
4579
4686
|
}) {
|
|
4580
4687
|
const IconComp = getCurriculumIcon({ type, icon });
|
|
4581
|
-
return /* @__PURE__ */ (0,
|
|
4582
|
-
/* @__PURE__ */ (0,
|
|
4583
|
-
/* @__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 })
|
|
4584
4691
|
] });
|
|
4585
4692
|
}
|
|
4586
4693
|
var section_item_default = SectionCommonItem;
|
|
4587
4694
|
|
|
4588
4695
|
// src/molecules/curriculumV2/CurriculumSidebar/sidebar-item.tsx
|
|
4589
|
-
var
|
|
4696
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
4590
4697
|
function SidebarItem({ item, selectedIndex, setSelectedIndex, index, done }) {
|
|
4591
4698
|
if (item.type === "sectionTitle") {
|
|
4592
|
-
return /* @__PURE__ */ (0,
|
|
4699
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(section_title_default, __spreadValues({}, item), item.uuid);
|
|
4593
4700
|
}
|
|
4594
4701
|
const isSelected = selectedIndex === index;
|
|
4595
|
-
return /* @__PURE__ */ (0,
|
|
4702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4596
4703
|
curriculum_sidebar_item_wrapper_default,
|
|
4597
4704
|
{
|
|
4598
4705
|
index,
|
|
@@ -4600,7 +4707,7 @@ function SidebarItem({ item, selectedIndex, setSelectedIndex, index, done }) {
|
|
|
4600
4707
|
onClick: () => {
|
|
4601
4708
|
setSelectedIndex(index);
|
|
4602
4709
|
},
|
|
4603
|
-
children: /* @__PURE__ */ (0,
|
|
4710
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4604
4711
|
section_item_default,
|
|
4605
4712
|
__spreadProps(__spreadValues({}, item), {
|
|
4606
4713
|
color: getCurriculumIconColor({
|
|
@@ -4616,7 +4723,7 @@ function SidebarItem({ item, selectedIndex, setSelectedIndex, index, done }) {
|
|
|
4616
4723
|
var sidebar_item_default = SidebarItem;
|
|
4617
4724
|
|
|
4618
4725
|
// src/molecules/curriculumV2/CurriculumSidebar/index.tsx
|
|
4619
|
-
var
|
|
4726
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
4620
4727
|
var TAB_LIST = [
|
|
4621
4728
|
{
|
|
4622
4729
|
label: "\uAC15\uC758 \uBAA9\uCC28",
|
|
@@ -4626,9 +4733,9 @@ var TAB_LIST = [
|
|
|
4626
4733
|
function CurriculumSidebar() {
|
|
4627
4734
|
const { curriculum, selectedIndex, setSelectedIndex, scrollAreaRef, curriculumCompleteMap } = useCurriculumContext();
|
|
4628
4735
|
const list = curriculum.contents.list;
|
|
4629
|
-
return /* @__PURE__ */ (0,
|
|
4630
|
-
/* @__PURE__ */ (0,
|
|
4631
|
-
/* @__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)(
|
|
4632
4739
|
import_themes6.Box,
|
|
4633
4740
|
{
|
|
4634
4741
|
height: "100%",
|
|
@@ -4636,7 +4743,7 @@ function CurriculumSidebar() {
|
|
|
4636
4743
|
position: "relative",
|
|
4637
4744
|
ref: scrollAreaRef,
|
|
4638
4745
|
width: "100%",
|
|
4639
|
-
children: /* @__PURE__ */ (0,
|
|
4746
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
4640
4747
|
import_themes44.Tabs.Content,
|
|
4641
4748
|
{
|
|
4642
4749
|
style: {
|
|
@@ -4646,8 +4753,8 @@ function CurriculumSidebar() {
|
|
|
4646
4753
|
},
|
|
4647
4754
|
value: TAB_LIST[0].value,
|
|
4648
4755
|
children: [
|
|
4649
|
-
list.map((item, index) => /* @__PURE__ */ (0,
|
|
4650
|
-
/* @__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" })
|
|
4651
4758
|
]
|
|
4652
4759
|
}
|
|
4653
4760
|
)
|
|
@@ -4657,11 +4764,11 @@ function CurriculumSidebar() {
|
|
|
4657
4764
|
}
|
|
4658
4765
|
|
|
4659
4766
|
// src/molecules/curriculumV2/curriculum-v2-layout.tsx
|
|
4660
|
-
var
|
|
4767
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
4661
4768
|
function CurriculumV2Layout(props) {
|
|
4662
4769
|
const { NavBar, Contents, SideBar, SideNav, style } = props;
|
|
4663
|
-
return /* @__PURE__ */ (0,
|
|
4664
|
-
/* @__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)(
|
|
4665
4772
|
import_themes22.Flex,
|
|
4666
4773
|
{
|
|
4667
4774
|
align: "center",
|
|
@@ -4670,8 +4777,8 @@ function CurriculumV2Layout(props) {
|
|
|
4670
4777
|
children: NavBar
|
|
4671
4778
|
}
|
|
4672
4779
|
),
|
|
4673
|
-
/* @__PURE__ */ (0,
|
|
4674
|
-
/* @__PURE__ */ (0,
|
|
4780
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_themes39.Separator, { size: "4" }),
|
|
4781
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
4675
4782
|
import_themes22.Flex,
|
|
4676
4783
|
{
|
|
4677
4784
|
align: "center",
|
|
@@ -4679,7 +4786,7 @@ function CurriculumV2Layout(props) {
|
|
|
4679
4786
|
justify: "center",
|
|
4680
4787
|
overflow: "hidden",
|
|
4681
4788
|
width: "100%",
|
|
4682
|
-
children: /* @__PURE__ */ (0,
|
|
4789
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
4683
4790
|
import_themes23.Grid,
|
|
4684
4791
|
{
|
|
4685
4792
|
columns: { initial: "1", md: "1fr 340px" },
|
|
@@ -4688,8 +4795,8 @@ function CurriculumV2Layout(props) {
|
|
|
4688
4795
|
rows: { initial: "auto 1fr", md: "auto" },
|
|
4689
4796
|
width: "100%",
|
|
4690
4797
|
children: [
|
|
4691
|
-
/* @__PURE__ */ (0,
|
|
4692
|
-
/* @__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 }),
|
|
4693
4800
|
SideNav
|
|
4694
4801
|
] }),
|
|
4695
4802
|
SideBar
|
|
@@ -4708,22 +4815,22 @@ var import_themes53 = require("@radix-ui/themes");
|
|
|
4708
4815
|
var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
4709
4816
|
|
|
4710
4817
|
// src/charts/horizontal-bar-chart.tsx
|
|
4711
|
-
var
|
|
4818
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
4712
4819
|
function HorizontalBarChart(props) {
|
|
4713
4820
|
const { total, value, backgroundColor, barColor, height } = props;
|
|
4714
|
-
return /* @__PURE__ */ (0,
|
|
4821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4715
4822
|
"div",
|
|
4716
4823
|
{
|
|
4717
4824
|
className: "tipp_horizontal-bar-chart bar-wrapper",
|
|
4718
4825
|
style: { height, backgroundColor },
|
|
4719
|
-
children: /* @__PURE__ */ (0,
|
|
4826
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
4720
4827
|
"div",
|
|
4721
4828
|
{
|
|
4722
4829
|
style: {
|
|
4723
4830
|
width: `${Math.round(value / total * 100)}%`,
|
|
4724
4831
|
height: "100%"
|
|
4725
4832
|
},
|
|
4726
|
-
children: /* @__PURE__ */ (0,
|
|
4833
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
|
|
4727
4834
|
}
|
|
4728
4835
|
)
|
|
4729
4836
|
}
|
|
@@ -4879,23 +4986,23 @@ var EchartDefaultProps = {
|
|
|
4879
4986
|
};
|
|
4880
4987
|
|
|
4881
4988
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
4882
|
-
var
|
|
4989
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
4883
4990
|
function CoachingCustomerInfoSmall({
|
|
4884
4991
|
customer,
|
|
4885
4992
|
children,
|
|
4886
4993
|
badge
|
|
4887
4994
|
}) {
|
|
4888
|
-
return /* @__PURE__ */ (0,
|
|
4995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
4889
4996
|
import_themes22.Flex,
|
|
4890
4997
|
{
|
|
4891
4998
|
direction: { initial: "column", xs: "row" },
|
|
4892
4999
|
gap: "3",
|
|
4893
5000
|
justify: "between",
|
|
4894
5001
|
children: [
|
|
4895
|
-
/* @__PURE__ */ (0,
|
|
4896
|
-
/* @__PURE__ */ (0,
|
|
4897
|
-
/* @__PURE__ */ (0,
|
|
4898
|
-
/* @__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 })
|
|
4899
5006
|
] }) }),
|
|
4900
5007
|
children
|
|
4901
5008
|
]
|
|
@@ -4906,7 +5013,7 @@ function CoachingCustomerInfoSmall({
|
|
|
4906
5013
|
// src/app/platform/userInfos/utils.tsx
|
|
4907
5014
|
var import_date_fns3 = require("date-fns");
|
|
4908
5015
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
4909
|
-
var
|
|
5016
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
4910
5017
|
var infoList = [
|
|
4911
5018
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
4912
5019
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -4966,21 +5073,21 @@ var sessionList = [
|
|
|
4966
5073
|
var renderItem = (args) => {
|
|
4967
5074
|
const { info, data, onClickCopy } = args;
|
|
4968
5075
|
const value = info.getValue(data);
|
|
4969
|
-
return /* @__PURE__ */ (0,
|
|
5076
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx_runtime83.Fragment, { children: [
|
|
4970
5077
|
info.render ? info.render(value) : value || "-",
|
|
4971
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
5078
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
4972
5079
|
] });
|
|
4973
5080
|
};
|
|
4974
5081
|
var renderDataListItem = (args) => {
|
|
4975
5082
|
const { info, data, onClickCopy } = args;
|
|
4976
|
-
return /* @__PURE__ */ (0,
|
|
4977
|
-
/* @__PURE__ */ (0,
|
|
4978
|
-
/* @__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 }) })
|
|
4979
5086
|
] }, info.label);
|
|
4980
5087
|
};
|
|
4981
5088
|
function CopyButton(props) {
|
|
4982
5089
|
const { value, onClickCopy } = props;
|
|
4983
|
-
return /* @__PURE__ */ (0,
|
|
5090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
4984
5091
|
Button,
|
|
4985
5092
|
{
|
|
4986
5093
|
color: "gray",
|
|
@@ -4989,13 +5096,13 @@ function CopyButton(props) {
|
|
|
4989
5096
|
},
|
|
4990
5097
|
style: { marginLeft: "0", marginTop: "0" },
|
|
4991
5098
|
variant: "transparent",
|
|
4992
|
-
children: /* @__PURE__ */ (0,
|
|
5099
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_react_icons9.CopyIcon, {})
|
|
4993
5100
|
}
|
|
4994
5101
|
);
|
|
4995
5102
|
}
|
|
4996
5103
|
|
|
4997
5104
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
4998
|
-
var
|
|
5105
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
4999
5106
|
function CoachingCustomerInfoMedium({
|
|
5000
5107
|
customer,
|
|
5001
5108
|
session,
|
|
@@ -5003,28 +5110,28 @@ function CoachingCustomerInfoMedium({
|
|
|
5003
5110
|
badge,
|
|
5004
5111
|
onClickCopy
|
|
5005
5112
|
}) {
|
|
5006
|
-
return /* @__PURE__ */ (0,
|
|
5007
|
-
/* @__PURE__ */ (0,
|
|
5008
|
-
/* @__PURE__ */ (0,
|
|
5009
|
-
/* @__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" }),
|
|
5010
5117
|
badge
|
|
5011
5118
|
] }),
|
|
5012
|
-
/* @__PURE__ */ (0,
|
|
5119
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
5013
5120
|
] }),
|
|
5014
5121
|
children,
|
|
5015
|
-
/* @__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(
|
|
5016
5123
|
(el) => renderDataListItem({
|
|
5017
5124
|
info: el,
|
|
5018
5125
|
data: session,
|
|
5019
5126
|
onClickCopy
|
|
5020
5127
|
})
|
|
5021
5128
|
) }) }),
|
|
5022
|
-
/* @__PURE__ */ (0,
|
|
5023
|
-
/* @__PURE__ */ (0,
|
|
5024
|
-
/* @__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" })
|
|
5025
5132
|
] }),
|
|
5026
|
-
/* @__PURE__ */ (0,
|
|
5027
|
-
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({
|
|
5028
5135
|
info: el,
|
|
5029
5136
|
data: customer,
|
|
5030
5137
|
onClickCopy
|
|
@@ -5034,7 +5141,7 @@ function CoachingCustomerInfoMedium({
|
|
|
5034
5141
|
}
|
|
5035
5142
|
|
|
5036
5143
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
5037
|
-
var
|
|
5144
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
5038
5145
|
function CoachingCustomerInfoLarge({
|
|
5039
5146
|
customer,
|
|
5040
5147
|
session,
|
|
@@ -5042,24 +5149,24 @@ function CoachingCustomerInfoLarge({
|
|
|
5042
5149
|
badge,
|
|
5043
5150
|
onClickCopy
|
|
5044
5151
|
}) {
|
|
5045
|
-
return /* @__PURE__ */ (0,
|
|
5046
|
-
/* @__PURE__ */ (0,
|
|
5047
|
-
/* @__PURE__ */ (0,
|
|
5048
|
-
/* @__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" }),
|
|
5049
5156
|
badge
|
|
5050
5157
|
] }),
|
|
5051
|
-
/* @__PURE__ */ (0,
|
|
5158
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
5052
5159
|
] }),
|
|
5053
5160
|
children,
|
|
5054
|
-
/* @__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(
|
|
5055
5162
|
(el) => renderDataListItem({
|
|
5056
5163
|
info: el,
|
|
5057
5164
|
data: session,
|
|
5058
5165
|
onClickCopy
|
|
5059
5166
|
})
|
|
5060
5167
|
) }) }),
|
|
5061
|
-
/* @__PURE__ */ (0,
|
|
5062
|
-
/* @__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(
|
|
5063
5170
|
(info) => renderDataListItem({
|
|
5064
5171
|
info,
|
|
5065
5172
|
data: customer,
|
|
@@ -5070,19 +5177,19 @@ function CoachingCustomerInfoLarge({
|
|
|
5070
5177
|
}
|
|
5071
5178
|
|
|
5072
5179
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
5073
|
-
var
|
|
5180
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
5074
5181
|
function CoachingCustomerInfo(props) {
|
|
5075
|
-
return /* @__PURE__ */ (0,
|
|
5076
|
-
/* @__PURE__ */ (0,
|
|
5077
|
-
/* @__PURE__ */ (0,
|
|
5078
|
-
/* @__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)) })
|
|
5079
5186
|
] });
|
|
5080
5187
|
}
|
|
5081
5188
|
|
|
5082
5189
|
// src/app/platform/goal-manage-card-read.tsx
|
|
5083
|
-
var
|
|
5190
|
+
var import_react36 = require("react");
|
|
5084
5191
|
var import_date_fns4 = require("date-fns");
|
|
5085
|
-
var
|
|
5192
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
5086
5193
|
function GoalManageCardRead(props) {
|
|
5087
5194
|
const {
|
|
5088
5195
|
title,
|
|
@@ -5096,12 +5203,12 @@ function GoalManageCardRead(props) {
|
|
|
5096
5203
|
onClickIncomplete,
|
|
5097
5204
|
onClickComplete
|
|
5098
5205
|
} = props;
|
|
5099
|
-
const [open, setOpen] = (0,
|
|
5100
|
-
const onClickOpen = (0,
|
|
5206
|
+
const [open, setOpen] = (0, import_react36.useState)(Boolean(defaultOpen));
|
|
5207
|
+
const onClickOpen = (0, import_react36.useCallback)(() => {
|
|
5101
5208
|
setOpen((p) => !p);
|
|
5102
5209
|
}, []);
|
|
5103
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
5104
|
-
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)(() => {
|
|
5105
5212
|
if (!completed && dueDate) {
|
|
5106
5213
|
if (dueDate >= (0, import_date_fns4.startOfDay)(/* @__PURE__ */ new Date()))
|
|
5107
5214
|
return {
|
|
@@ -5112,41 +5219,41 @@ function GoalManageCardRead(props) {
|
|
|
5112
5219
|
}
|
|
5113
5220
|
return null;
|
|
5114
5221
|
}, [completed, dueDate]);
|
|
5115
|
-
const renderSubTitle = (0,
|
|
5116
|
-
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 });
|
|
5117
5224
|
}, []);
|
|
5118
|
-
const renderSubContent = (0,
|
|
5119
|
-
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 });
|
|
5120
5227
|
}, []);
|
|
5121
|
-
const renderCompleteButton = (0,
|
|
5228
|
+
const renderCompleteButton = (0, import_react36.useCallback)(() => {
|
|
5122
5229
|
if (completed) {
|
|
5123
|
-
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" });
|
|
5124
5231
|
}
|
|
5125
|
-
return /* @__PURE__ */ (0,
|
|
5126
|
-
/* @__PURE__ */ (0,
|
|
5127
|
-
/* @__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, {}),
|
|
5128
5235
|
"\uB2EC\uC131\uD558\uAE30"
|
|
5129
5236
|
] }) }),
|
|
5130
|
-
/* @__PURE__ */ (0,
|
|
5131
|
-
/* @__PURE__ */ (0,
|
|
5132
|
-
/* @__PURE__ */ (0,
|
|
5133
|
-
/* @__PURE__ */ (0,
|
|
5134
|
-
/* @__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" }) })
|
|
5135
5242
|
] })
|
|
5136
5243
|
] })
|
|
5137
5244
|
] });
|
|
5138
5245
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
5139
|
-
return /* @__PURE__ */ (0,
|
|
5140
|
-
/* @__PURE__ */ (0,
|
|
5141
|
-
/* @__PURE__ */ (0,
|
|
5142
|
-
/* @__PURE__ */ (0,
|
|
5143
|
-
/* @__PURE__ */ (0,
|
|
5144
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
5145
|
-
/* @__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 })
|
|
5146
5253
|
] }),
|
|
5147
5254
|
renderCompleteButton()
|
|
5148
5255
|
] }),
|
|
5149
|
-
open ? /* @__PURE__ */ (0,
|
|
5256
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
5150
5257
|
import_themes39.Separator,
|
|
5151
5258
|
{
|
|
5152
5259
|
mb: "4",
|
|
@@ -5155,37 +5262,37 @@ function GoalManageCardRead(props) {
|
|
|
5155
5262
|
style: { gridColumnStart: "span 2" }
|
|
5156
5263
|
}
|
|
5157
5264
|
) : null,
|
|
5158
|
-
/* @__PURE__ */ (0,
|
|
5159
|
-
/* @__PURE__ */ (0,
|
|
5160
|
-
/* @__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: [
|
|
5161
5268
|
renderSubTitle(
|
|
5162
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"
|
|
5163
5270
|
),
|
|
5164
5271
|
renderSubContent(expectedEffect)
|
|
5165
5272
|
] }),
|
|
5166
|
-
/* @__PURE__ */ (0,
|
|
5273
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_themes6.Box, { children: [
|
|
5167
5274
|
renderSubTitle(
|
|
5168
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"
|
|
5169
5276
|
),
|
|
5170
5277
|
renderSubContent(huddle)
|
|
5171
5278
|
] })
|
|
5172
5279
|
] }),
|
|
5173
|
-
/* @__PURE__ */ (0,
|
|
5174
|
-
/* @__PURE__ */ (0,
|
|
5175
|
-
/* @__PURE__ */ (0,
|
|
5176
|
-
/* @__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, {}),
|
|
5177
5284
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
5178
5285
|
] }) }),
|
|
5179
|
-
/* @__PURE__ */ (0,
|
|
5180
|
-
/* @__PURE__ */ (0,
|
|
5181
|
-
/* @__PURE__ */ (0,
|
|
5182
|
-
/* @__PURE__ */ (0,
|
|
5183
|
-
/* @__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" }) })
|
|
5184
5291
|
] })
|
|
5185
5292
|
] })
|
|
5186
5293
|
] }),
|
|
5187
|
-
/* @__PURE__ */ (0,
|
|
5188
|
-
/* @__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, {}),
|
|
5189
5296
|
"\uC218\uC815\uD558\uAE30"
|
|
5190
5297
|
] })
|
|
5191
5298
|
] })
|
|
@@ -5194,9 +5301,9 @@ function GoalManageCardRead(props) {
|
|
|
5194
5301
|
}
|
|
5195
5302
|
|
|
5196
5303
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
5197
|
-
var
|
|
5304
|
+
var import_react37 = require("react");
|
|
5198
5305
|
var import_date_fns5 = require("date-fns");
|
|
5199
|
-
var
|
|
5306
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
5200
5307
|
var initialValues = {
|
|
5201
5308
|
goal: "",
|
|
5202
5309
|
effect: "",
|
|
@@ -5207,8 +5314,8 @@ var dummyFn = () => {
|
|
|
5207
5314
|
};
|
|
5208
5315
|
function GoalManageCardEdit(props) {
|
|
5209
5316
|
const { defaultValues, errors } = props;
|
|
5210
|
-
const [values, setValues] = (0,
|
|
5211
|
-
const onChange = (0,
|
|
5317
|
+
const [values, setValues] = (0, import_react37.useState)(defaultValues || initialValues);
|
|
5318
|
+
const onChange = (0, import_react37.useCallback)(
|
|
5212
5319
|
(v) => {
|
|
5213
5320
|
var _a;
|
|
5214
5321
|
setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
|
|
@@ -5216,20 +5323,20 @@ function GoalManageCardEdit(props) {
|
|
|
5216
5323
|
},
|
|
5217
5324
|
[props]
|
|
5218
5325
|
);
|
|
5219
|
-
const onClickInit = (0,
|
|
5326
|
+
const onClickInit = (0, import_react37.useCallback)(() => {
|
|
5220
5327
|
var _a;
|
|
5221
5328
|
setValues(initialValues);
|
|
5222
5329
|
(_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
|
|
5223
5330
|
}, [defaultValues, props]);
|
|
5224
|
-
const onClickSubmit = (0,
|
|
5331
|
+
const onClickSubmit = (0, import_react37.useCallback)(() => {
|
|
5225
5332
|
var _a;
|
|
5226
5333
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
5227
5334
|
}, [props, values]);
|
|
5228
|
-
return /* @__PURE__ */ (0,
|
|
5229
|
-
/* @__PURE__ */ (0,
|
|
5230
|
-
/* @__PURE__ */ (0,
|
|
5231
|
-
/* @__PURE__ */ (0,
|
|
5232
|
-
/* @__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)(
|
|
5233
5340
|
TextField.Root,
|
|
5234
5341
|
{
|
|
5235
5342
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -5240,11 +5347,11 @@ function GoalManageCardEdit(props) {
|
|
|
5240
5347
|
value: values.goal
|
|
5241
5348
|
}
|
|
5242
5349
|
),
|
|
5243
|
-
/* @__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 })
|
|
5244
5351
|
] }),
|
|
5245
|
-
/* @__PURE__ */ (0,
|
|
5246
|
-
/* @__PURE__ */ (0,
|
|
5247
|
-
/* @__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)(
|
|
5248
5355
|
TextArea,
|
|
5249
5356
|
{
|
|
5250
5357
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -5256,11 +5363,11 @@ function GoalManageCardEdit(props) {
|
|
|
5256
5363
|
value: values.effect
|
|
5257
5364
|
}
|
|
5258
5365
|
),
|
|
5259
|
-
/* @__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 })
|
|
5260
5367
|
] }),
|
|
5261
|
-
/* @__PURE__ */ (0,
|
|
5262
|
-
/* @__PURE__ */ (0,
|
|
5263
|
-
/* @__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)(
|
|
5264
5371
|
TextArea,
|
|
5265
5372
|
{
|
|
5266
5373
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -5274,11 +5381,11 @@ function GoalManageCardEdit(props) {
|
|
|
5274
5381
|
value: values.huddle
|
|
5275
5382
|
}
|
|
5276
5383
|
),
|
|
5277
|
-
/* @__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 })
|
|
5278
5385
|
] }),
|
|
5279
|
-
/* @__PURE__ */ (0,
|
|
5280
|
-
/* @__PURE__ */ (0,
|
|
5281
|
-
/* @__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)(
|
|
5282
5389
|
DatePickerButton,
|
|
5283
5390
|
{
|
|
5284
5391
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -5289,11 +5396,11 @@ function GoalManageCardEdit(props) {
|
|
|
5289
5396
|
selected: values.dueDate
|
|
5290
5397
|
}
|
|
5291
5398
|
),
|
|
5292
|
-
/* @__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 })
|
|
5293
5400
|
] })
|
|
5294
5401
|
] }),
|
|
5295
|
-
/* @__PURE__ */ (0,
|
|
5296
|
-
/* @__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)(
|
|
5297
5404
|
Button,
|
|
5298
5405
|
{
|
|
5299
5406
|
color: "gray",
|
|
@@ -5304,18 +5411,18 @@ function GoalManageCardEdit(props) {
|
|
|
5304
5411
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
5305
5412
|
}
|
|
5306
5413
|
),
|
|
5307
|
-
/* @__PURE__ */ (0,
|
|
5414
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
5308
5415
|
] })
|
|
5309
5416
|
] }) });
|
|
5310
5417
|
}
|
|
5311
5418
|
|
|
5312
5419
|
// src/app/platform/session-card.tsx
|
|
5313
|
-
var
|
|
5420
|
+
var import_react40 = require("react");
|
|
5314
5421
|
var import_date_fns6 = require("date-fns");
|
|
5315
5422
|
|
|
5316
5423
|
// src/app/platform/edit-coaching-time.tsx
|
|
5317
|
-
var
|
|
5318
|
-
var
|
|
5424
|
+
var import_react38 = require("react");
|
|
5425
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
5319
5426
|
var getValueFromDefaultValue = (args) => {
|
|
5320
5427
|
return {
|
|
5321
5428
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -5335,14 +5442,14 @@ var getDateFromValue = (date, time) => {
|
|
|
5335
5442
|
};
|
|
5336
5443
|
function EditCoachingTime(props) {
|
|
5337
5444
|
const { defaultEndAt, defaultStartAt, onClickCancel } = props;
|
|
5338
|
-
const [values, setValues] = (0,
|
|
5445
|
+
const [values, setValues] = (0, import_react38.useState)(() => {
|
|
5339
5446
|
return getValueFromDefaultValue({
|
|
5340
5447
|
startAt: defaultStartAt,
|
|
5341
5448
|
endAt: defaultEndAt
|
|
5342
5449
|
});
|
|
5343
5450
|
});
|
|
5344
|
-
const [timeError, setTimeError] = (0,
|
|
5345
|
-
const checkTimeError = (0,
|
|
5451
|
+
const [timeError, setTimeError] = (0, import_react38.useState)("");
|
|
5452
|
+
const checkTimeError = (0, import_react38.useCallback)(
|
|
5346
5453
|
(startTime, endTime) => {
|
|
5347
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." : "";
|
|
5348
5455
|
if (error) {
|
|
@@ -5353,7 +5460,7 @@ function EditCoachingTime(props) {
|
|
|
5353
5460
|
},
|
|
5354
5461
|
[]
|
|
5355
5462
|
);
|
|
5356
|
-
const onChangeStartTime = (0,
|
|
5463
|
+
const onChangeStartTime = (0, import_react38.useCallback)(
|
|
5357
5464
|
(v) => {
|
|
5358
5465
|
checkTimeError(v, values.endTime);
|
|
5359
5466
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -5362,7 +5469,7 @@ function EditCoachingTime(props) {
|
|
|
5362
5469
|
},
|
|
5363
5470
|
[checkTimeError, values.endTime]
|
|
5364
5471
|
);
|
|
5365
|
-
const onChangeEndTime = (0,
|
|
5472
|
+
const onChangeEndTime = (0, import_react38.useCallback)(
|
|
5366
5473
|
(v) => {
|
|
5367
5474
|
checkTimeError(values.startTime, v);
|
|
5368
5475
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -5371,12 +5478,12 @@ function EditCoachingTime(props) {
|
|
|
5371
5478
|
},
|
|
5372
5479
|
[checkTimeError, values.startTime]
|
|
5373
5480
|
);
|
|
5374
|
-
const onChangeDate = (0,
|
|
5481
|
+
const onChangeDate = (0, import_react38.useCallback)((date) => {
|
|
5375
5482
|
date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
5376
5483
|
date
|
|
5377
5484
|
}));
|
|
5378
5485
|
}, []);
|
|
5379
|
-
const onClickSave = (0,
|
|
5486
|
+
const onClickSave = (0, import_react38.useCallback)(() => {
|
|
5380
5487
|
if (checkTimeError(values.startTime, values.endTime)) {
|
|
5381
5488
|
const startAt = getDateFromValue(values.date, values.startTime);
|
|
5382
5489
|
const endAt = getDateFromValue(values.date, values.endTime);
|
|
@@ -5385,10 +5492,10 @@ function EditCoachingTime(props) {
|
|
|
5385
5492
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
5386
5493
|
}
|
|
5387
5494
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
5388
|
-
return /* @__PURE__ */ (0,
|
|
5389
|
-
/* @__PURE__ */ (0,
|
|
5390
|
-
/* @__PURE__ */ (0,
|
|
5391
|
-
/* @__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)(
|
|
5392
5499
|
DatePickerButton,
|
|
5393
5500
|
{
|
|
5394
5501
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -5398,7 +5505,7 @@ function EditCoachingTime(props) {
|
|
|
5398
5505
|
}
|
|
5399
5506
|
)
|
|
5400
5507
|
] }),
|
|
5401
|
-
/* @__PURE__ */ (0,
|
|
5508
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
5402
5509
|
import_themes23.Grid,
|
|
5403
5510
|
{
|
|
5404
5511
|
align: "center",
|
|
@@ -5413,10 +5520,10 @@ function EditCoachingTime(props) {
|
|
|
5413
5520
|
mt: "5",
|
|
5414
5521
|
width: "100%",
|
|
5415
5522
|
children: [
|
|
5416
|
-
/* @__PURE__ */ (0,
|
|
5417
|
-
/* @__PURE__ */ (0,
|
|
5418
|
-
/* @__PURE__ */ (0,
|
|
5419
|
-
/* @__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)(
|
|
5420
5527
|
TimeSelect,
|
|
5421
5528
|
{
|
|
5422
5529
|
onValueChange: onChangeStartTime,
|
|
@@ -5424,8 +5531,8 @@ function EditCoachingTime(props) {
|
|
|
5424
5531
|
value: values.startTime
|
|
5425
5532
|
}
|
|
5426
5533
|
),
|
|
5427
|
-
/* @__PURE__ */ (0,
|
|
5428
|
-
/* @__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)(
|
|
5429
5536
|
TimeSelect,
|
|
5430
5537
|
{
|
|
5431
5538
|
onValueChange: onChangeEndTime,
|
|
@@ -5433,36 +5540,36 @@ function EditCoachingTime(props) {
|
|
|
5433
5540
|
value: values.endTime
|
|
5434
5541
|
}
|
|
5435
5542
|
),
|
|
5436
|
-
/* @__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 }) })
|
|
5437
5544
|
]
|
|
5438
5545
|
}
|
|
5439
5546
|
),
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5441
|
-
/* @__PURE__ */ (0,
|
|
5442
|
-
/* @__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" }) })
|
|
5443
5550
|
] })
|
|
5444
5551
|
] }) });
|
|
5445
5552
|
}
|
|
5446
5553
|
|
|
5447
5554
|
// src/app/platform/edit-service-type.tsx
|
|
5448
|
-
var
|
|
5555
|
+
var import_react39 = require("react");
|
|
5449
5556
|
|
|
5450
5557
|
// src/app/platform/on-offline-radio-card.tsx
|
|
5451
5558
|
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
5452
|
-
var
|
|
5559
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
5453
5560
|
var SERVICE_TYPE = {
|
|
5454
5561
|
onlineCoaching: "onlineCoaching",
|
|
5455
5562
|
offlineCoaching: "offlineCoaching"
|
|
5456
5563
|
};
|
|
5457
5564
|
var breakpoint = "sm";
|
|
5458
5565
|
function HideSmallBox(props) {
|
|
5459
|
-
return /* @__PURE__ */ (0,
|
|
5566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
5460
5567
|
}
|
|
5461
5568
|
function OnOfflineRadioCard(props) {
|
|
5462
5569
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
5463
5570
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
5464
5571
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
5465
|
-
return /* @__PURE__ */ (0,
|
|
5572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
5466
5573
|
RadioButtonCard.Root,
|
|
5467
5574
|
__spreadProps(__spreadValues({
|
|
5468
5575
|
RadioWrapper: Wrapper,
|
|
@@ -5471,13 +5578,13 @@ function OnOfflineRadioCard(props) {
|
|
|
5471
5578
|
justify
|
|
5472
5579
|
}, props), {
|
|
5473
5580
|
children: [
|
|
5474
|
-
/* @__PURE__ */ (0,
|
|
5475
|
-
/* @__PURE__ */ (0,
|
|
5476
|
-
/* @__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" })
|
|
5477
5584
|
] }) }),
|
|
5478
|
-
/* @__PURE__ */ (0,
|
|
5479
|
-
/* @__PURE__ */ (0,
|
|
5480
|
-
/* @__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" })
|
|
5481
5588
|
] }) })
|
|
5482
5589
|
]
|
|
5483
5590
|
})
|
|
@@ -5485,18 +5592,18 @@ function OnOfflineRadioCard(props) {
|
|
|
5485
5592
|
}
|
|
5486
5593
|
|
|
5487
5594
|
// src/app/platform/edit-service-type.tsx
|
|
5488
|
-
var
|
|
5595
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
5489
5596
|
function EditServiceType(props) {
|
|
5490
5597
|
const { defaultServiceType, onClickCancel } = props;
|
|
5491
|
-
const [sessionType, setSessionType] = (0,
|
|
5598
|
+
const [sessionType, setSessionType] = (0, import_react39.useState)(
|
|
5492
5599
|
defaultServiceType
|
|
5493
5600
|
);
|
|
5494
|
-
const onClickSave = (0,
|
|
5601
|
+
const onClickSave = (0, import_react39.useCallback)(() => {
|
|
5495
5602
|
var _a;
|
|
5496
5603
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
5497
5604
|
}, [props, sessionType]);
|
|
5498
|
-
return /* @__PURE__ */ (0,
|
|
5499
|
-
/* @__PURE__ */ (0,
|
|
5605
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_themes6.Box, { children: [
|
|
5606
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
5500
5607
|
Typo,
|
|
5501
5608
|
{
|
|
5502
5609
|
as: "p",
|
|
@@ -5506,16 +5613,16 @@ function EditServiceType(props) {
|
|
|
5506
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"
|
|
5507
5614
|
}
|
|
5508
5615
|
),
|
|
5509
|
-
/* @__PURE__ */ (0,
|
|
5510
|
-
/* @__PURE__ */ (0,
|
|
5511
|
-
/* @__PURE__ */ (0,
|
|
5512
|
-
/* @__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" }) })
|
|
5513
5620
|
] })
|
|
5514
5621
|
] });
|
|
5515
5622
|
}
|
|
5516
5623
|
|
|
5517
5624
|
// src/app/platform/session-card.tsx
|
|
5518
|
-
var
|
|
5625
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
5519
5626
|
var preventDefault4 = (e) => {
|
|
5520
5627
|
e.preventDefault();
|
|
5521
5628
|
};
|
|
@@ -5545,33 +5652,33 @@ function SessionCard(props) {
|
|
|
5545
5652
|
"endAt",
|
|
5546
5653
|
"sessionType"
|
|
5547
5654
|
]);
|
|
5548
|
-
const renderEditButton = (0,
|
|
5549
|
-
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, {}) });
|
|
5550
5657
|
}, []);
|
|
5551
|
-
const sessionTimeStr = (0,
|
|
5658
|
+
const sessionTimeStr = (0, import_react40.useMemo)(() => {
|
|
5552
5659
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
5553
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")}`;
|
|
5554
5661
|
}, [startAt, endAt]);
|
|
5555
|
-
return /* @__PURE__ */ (0,
|
|
5556
|
-
/* @__PURE__ */ (0,
|
|
5557
|
-
/* @__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` }),
|
|
5558
5665
|
TitleExtra,
|
|
5559
|
-
error ? /* @__PURE__ */ (0,
|
|
5666
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
5560
5667
|
] }),
|
|
5561
|
-
/* @__PURE__ */ (0,
|
|
5562
|
-
/* @__PURE__ */ (0,
|
|
5563
|
-
/* @__PURE__ */ (0,
|
|
5564
|
-
/* @__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: [
|
|
5565
5672
|
sessionTimeStr,
|
|
5566
|
-
editable ? /* @__PURE__ */ (0,
|
|
5567
|
-
/* @__PURE__ */ (0,
|
|
5568
|
-
/* @__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)(
|
|
5569
5676
|
Dialog.Content,
|
|
5570
5677
|
{
|
|
5571
5678
|
onOpenAutoFocus: preventDefault4,
|
|
5572
5679
|
style: { overflow: "visible" },
|
|
5573
5680
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
5574
|
-
children: /* @__PURE__ */ (0,
|
|
5681
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
5575
5682
|
EditCoachingTime,
|
|
5576
5683
|
{
|
|
5577
5684
|
defaultEndAt: endAt,
|
|
@@ -5584,18 +5691,18 @@ function SessionCard(props) {
|
|
|
5584
5691
|
] }) : null
|
|
5585
5692
|
] })
|
|
5586
5693
|
] }),
|
|
5587
|
-
/* @__PURE__ */ (0,
|
|
5588
|
-
/* @__PURE__ */ (0,
|
|
5589
|
-
/* @__PURE__ */ (0,
|
|
5590
|
-
/* @__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: [
|
|
5591
5698
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
5592
|
-
editable ? /* @__PURE__ */ (0,
|
|
5593
|
-
/* @__PURE__ */ (0,
|
|
5594
|
-
/* @__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)(
|
|
5595
5702
|
Dialog.Content,
|
|
5596
5703
|
{
|
|
5597
5704
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
5598
|
-
children: /* @__PURE__ */ (0,
|
|
5705
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
5599
5706
|
EditServiceType,
|
|
5600
5707
|
{
|
|
5601
5708
|
defaultServiceType: sessionType,
|
|
@@ -5607,32 +5714,32 @@ function SessionCard(props) {
|
|
|
5607
5714
|
] }) : null
|
|
5608
5715
|
] })
|
|
5609
5716
|
] }),
|
|
5610
|
-
/* @__PURE__ */ (0,
|
|
5717
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
5611
5718
|
] })
|
|
5612
5719
|
] })
|
|
5613
5720
|
] }) }));
|
|
5614
5721
|
}
|
|
5615
5722
|
|
|
5616
5723
|
// src/app/platform/coach-question-list.tsx
|
|
5617
|
-
var
|
|
5724
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
5618
5725
|
function QuestionItem({ question, answer }) {
|
|
5619
|
-
return /* @__PURE__ */ (0,
|
|
5620
|
-
/* @__PURE__ */ (0,
|
|
5621
|
-
/* @__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." }) })
|
|
5622
5729
|
] }, question);
|
|
5623
5730
|
}
|
|
5624
5731
|
function CoachQuestionList({
|
|
5625
5732
|
questions
|
|
5626
5733
|
}) {
|
|
5627
|
-
return /* @__PURE__ */ (0,
|
|
5628
|
-
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);
|
|
5629
5736
|
}) });
|
|
5630
5737
|
}
|
|
5631
5738
|
|
|
5632
5739
|
// src/app/platform/reservation-card.tsx
|
|
5633
|
-
var
|
|
5740
|
+
var import_react41 = require("react");
|
|
5634
5741
|
var import_date_fns7 = require("date-fns");
|
|
5635
|
-
var
|
|
5742
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
5636
5743
|
function ReservationCard(props) {
|
|
5637
5744
|
const {
|
|
5638
5745
|
sessionNumber,
|
|
@@ -5647,30 +5754,30 @@ function ReservationCard(props) {
|
|
|
5647
5754
|
onClickCancel,
|
|
5648
5755
|
onClickCompleteSession
|
|
5649
5756
|
} = props;
|
|
5650
|
-
const [editValues, setEditValues] = (0,
|
|
5757
|
+
const [editValues, setEditValues] = (0, import_react41.useState)({
|
|
5651
5758
|
date: props.defaultTime,
|
|
5652
5759
|
type: props.defaultType
|
|
5653
5760
|
});
|
|
5654
5761
|
const date = readonly ? defaultTime : editValues.date;
|
|
5655
5762
|
const type = readonly ? defaultType : editValues.type;
|
|
5656
5763
|
const time = date && getTimeOption(date);
|
|
5657
|
-
const onClickSave = (0,
|
|
5764
|
+
const onClickSave = (0, import_react41.useCallback)(() => {
|
|
5658
5765
|
var _a;
|
|
5659
5766
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
|
|
5660
5767
|
}, [editValues, props]);
|
|
5661
|
-
const onClickReset = (0,
|
|
5768
|
+
const onClickReset = (0, import_react41.useCallback)(() => {
|
|
5662
5769
|
setEditValues({
|
|
5663
5770
|
date: defaultTime,
|
|
5664
5771
|
type: defaultType
|
|
5665
5772
|
});
|
|
5666
5773
|
}, [defaultTime, defaultType]);
|
|
5667
|
-
const ActionButtons = (0,
|
|
5774
|
+
const ActionButtons = (0, import_react41.useMemo)(() => {
|
|
5668
5775
|
if (readonly) {
|
|
5669
|
-
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" });
|
|
5670
5777
|
}
|
|
5671
|
-
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, {}) });
|
|
5672
5779
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
5673
|
-
const onChangeDate = (0,
|
|
5780
|
+
const onChangeDate = (0, import_react41.useCallback)(
|
|
5674
5781
|
(newDate) => {
|
|
5675
5782
|
if (!newDate) return;
|
|
5676
5783
|
const { hour = 0, minute = 0 } = time ? parseTimeOption(time) : {};
|
|
@@ -5682,14 +5789,14 @@ function ReservationCard(props) {
|
|
|
5682
5789
|
},
|
|
5683
5790
|
[time]
|
|
5684
5791
|
);
|
|
5685
|
-
const onChangeType = (0,
|
|
5792
|
+
const onChangeType = (0, import_react41.useCallback)((newType) => {
|
|
5686
5793
|
setEditValues((prev) => {
|
|
5687
5794
|
return __spreadProps(__spreadValues({}, prev), {
|
|
5688
5795
|
type: newType
|
|
5689
5796
|
});
|
|
5690
5797
|
});
|
|
5691
5798
|
}, []);
|
|
5692
|
-
const onChangeTime = (0,
|
|
5799
|
+
const onChangeTime = (0, import_react41.useCallback)(
|
|
5693
5800
|
(v) => {
|
|
5694
5801
|
const { hour, minute } = parseTimeOption(v);
|
|
5695
5802
|
if (typeof v === "undefined") {
|
|
@@ -5707,7 +5814,7 @@ function ReservationCard(props) {
|
|
|
5707
5814
|
},
|
|
5708
5815
|
[date]
|
|
5709
5816
|
);
|
|
5710
|
-
(0,
|
|
5817
|
+
(0, import_react41.useEffect)(() => {
|
|
5711
5818
|
if (!minTime || !editValues.date || readonly) return;
|
|
5712
5819
|
if (editValues.date < minTime) {
|
|
5713
5820
|
import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -5718,7 +5825,7 @@ function ReservationCard(props) {
|
|
|
5718
5825
|
});
|
|
5719
5826
|
}
|
|
5720
5827
|
}, [editValues, minTime, readonly]);
|
|
5721
|
-
(0,
|
|
5828
|
+
(0, import_react41.useEffect)(() => {
|
|
5722
5829
|
if (!maxTime || !editValues.date || readonly) return;
|
|
5723
5830
|
if (editValues.date > maxTime) {
|
|
5724
5831
|
import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -5729,47 +5836,47 @@ function ReservationCard(props) {
|
|
|
5729
5836
|
});
|
|
5730
5837
|
}
|
|
5731
5838
|
}, [editValues, maxTime, readonly]);
|
|
5732
|
-
return /* @__PURE__ */ (0,
|
|
5839
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
5733
5840
|
Card,
|
|
5734
5841
|
{
|
|
5735
5842
|
error: Boolean(error),
|
|
5736
5843
|
size: "3",
|
|
5737
5844
|
style: { overflow: "visible", contain: "initial" },
|
|
5738
5845
|
children: [
|
|
5739
|
-
/* @__PURE__ */ (0,
|
|
5740
|
-
/* @__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)(
|
|
5741
5848
|
import_themes23.Grid,
|
|
5742
5849
|
{
|
|
5743
5850
|
align: "center",
|
|
5744
5851
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
5745
5852
|
gapY: "2",
|
|
5746
5853
|
children: [
|
|
5747
|
-
/* @__PURE__ */ (0,
|
|
5748
|
-
/* @__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: [
|
|
5749
5856
|
customerName || "-",
|
|
5750
5857
|
"\uB2D8 ",
|
|
5751
5858
|
sessionNumber || "-",
|
|
5752
5859
|
"\uD68C\uCC28 \uC138\uC158"
|
|
5753
5860
|
] }),
|
|
5754
|
-
/* @__PURE__ */ (0,
|
|
5861
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
5755
5862
|
] }),
|
|
5756
|
-
error ? /* @__PURE__ */ (0,
|
|
5863
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
5757
5864
|
]
|
|
5758
5865
|
}
|
|
5759
5866
|
),
|
|
5760
|
-
/* @__PURE__ */ (0,
|
|
5867
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
5761
5868
|
] }),
|
|
5762
|
-
/* @__PURE__ */ (0,
|
|
5869
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5763
5870
|
Form.Root,
|
|
5764
5871
|
{
|
|
5765
5872
|
onSubmit: (e) => {
|
|
5766
5873
|
e.preventDefault();
|
|
5767
5874
|
},
|
|
5768
|
-
children: /* @__PURE__ */ (0,
|
|
5769
|
-
/* @__PURE__ */ (0,
|
|
5770
|
-
/* @__PURE__ */ (0,
|
|
5771
|
-
/* @__PURE__ */ (0,
|
|
5772
|
-
/* @__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)(
|
|
5773
5880
|
DatePickerButton,
|
|
5774
5881
|
{
|
|
5775
5882
|
disabled: readonly,
|
|
@@ -5781,7 +5888,7 @@ function ReservationCard(props) {
|
|
|
5781
5888
|
size: "large"
|
|
5782
5889
|
}
|
|
5783
5890
|
),
|
|
5784
|
-
/* @__PURE__ */ (0,
|
|
5891
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
5785
5892
|
TimeSelect,
|
|
5786
5893
|
{
|
|
5787
5894
|
disabled: readonly,
|
|
@@ -5795,9 +5902,9 @@ function ReservationCard(props) {
|
|
|
5795
5902
|
)
|
|
5796
5903
|
] })
|
|
5797
5904
|
] }) }),
|
|
5798
|
-
/* @__PURE__ */ (0,
|
|
5799
|
-
/* @__PURE__ */ (0,
|
|
5800
|
-
/* @__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)(
|
|
5801
5908
|
OnOfflineRadioCard,
|
|
5802
5909
|
{
|
|
5803
5910
|
disabled: readonly,
|
|
@@ -5807,8 +5914,8 @@ function ReservationCard(props) {
|
|
|
5807
5914
|
}
|
|
5808
5915
|
) })
|
|
5809
5916
|
] }),
|
|
5810
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
5811
|
-
/* @__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)(
|
|
5812
5919
|
Button,
|
|
5813
5920
|
{
|
|
5814
5921
|
color: "gray",
|
|
@@ -5818,12 +5925,12 @@ function ReservationCard(props) {
|
|
|
5818
5925
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
5819
5926
|
}
|
|
5820
5927
|
),
|
|
5821
|
-
/* @__PURE__ */ (0,
|
|
5928
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
5822
5929
|
] })
|
|
5823
5930
|
] })
|
|
5824
5931
|
}
|
|
5825
5932
|
) }),
|
|
5826
|
-
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)(
|
|
5827
5934
|
import_themes6.Box,
|
|
5828
5935
|
{
|
|
5829
5936
|
mt: "5",
|
|
@@ -5831,14 +5938,14 @@ function ReservationCard(props) {
|
|
|
5831
5938
|
py: "4",
|
|
5832
5939
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
5833
5940
|
width: "100%",
|
|
5834
|
-
children: /* @__PURE__ */ (0,
|
|
5835
|
-
/* @__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: [
|
|
5836
5943
|
sessionNumber || "-",
|
|
5837
5944
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
5838
5945
|
] }),
|
|
5839
|
-
/* @__PURE__ */ (0,
|
|
5946
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
5840
5947
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
5841
|
-
/* @__PURE__ */ (0,
|
|
5948
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
5842
5949
|
] })
|
|
5843
5950
|
] })
|
|
5844
5951
|
}
|
|
@@ -5849,22 +5956,22 @@ function ReservationCard(props) {
|
|
|
5849
5956
|
}
|
|
5850
5957
|
|
|
5851
5958
|
// src/app/platform/session-review-simple-read.tsx
|
|
5852
|
-
var
|
|
5853
|
-
var
|
|
5959
|
+
var import_react42 = require("react");
|
|
5960
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
5854
5961
|
function SubTitleWrapper({
|
|
5855
5962
|
children,
|
|
5856
5963
|
title
|
|
5857
5964
|
}) {
|
|
5858
|
-
return /* @__PURE__ */ (0,
|
|
5859
|
-
/* @__PURE__ */ (0,
|
|
5860
|
-
/* @__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 })
|
|
5861
5968
|
] });
|
|
5862
5969
|
}
|
|
5863
5970
|
function SessionReviewSimpleRead({
|
|
5864
5971
|
helpfulness,
|
|
5865
5972
|
review
|
|
5866
5973
|
}) {
|
|
5867
|
-
const helpfulnessMeta = (0,
|
|
5974
|
+
const helpfulnessMeta = (0, import_react42.useMemo)(() => {
|
|
5868
5975
|
if (helpfulness) {
|
|
5869
5976
|
return {
|
|
5870
5977
|
text: "\uB124",
|
|
@@ -5882,22 +5989,22 @@ function SessionReviewSimpleRead({
|
|
|
5882
5989
|
color: "error"
|
|
5883
5990
|
};
|
|
5884
5991
|
}, [helpfulness]);
|
|
5885
|
-
return /* @__PURE__ */ (0,
|
|
5886
|
-
/* @__PURE__ */ (0,
|
|
5887
|
-
/* @__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." }) }) })
|
|
5888
5995
|
] }) });
|
|
5889
5996
|
}
|
|
5890
5997
|
|
|
5891
5998
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
5892
|
-
var
|
|
5999
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
5893
6000
|
function SectionWrapper({
|
|
5894
6001
|
title,
|
|
5895
6002
|
children
|
|
5896
6003
|
}) {
|
|
5897
|
-
return /* @__PURE__ */ (0,
|
|
5898
|
-
/* @__PURE__ */ (0,
|
|
5899
|
-
/* @__PURE__ */ (0,
|
|
5900
|
-
/* @__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" })
|
|
5901
6008
|
] }),
|
|
5902
6009
|
children
|
|
5903
6010
|
] });
|
|
@@ -5907,22 +6014,22 @@ function SessionUserInfoDetail({
|
|
|
5907
6014
|
session,
|
|
5908
6015
|
onClickCopy
|
|
5909
6016
|
}) {
|
|
5910
|
-
return /* @__PURE__ */ (0,
|
|
5911
|
-
/* @__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(
|
|
5912
6019
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
5913
6020
|
) }) }),
|
|
5914
|
-
/* @__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(
|
|
5915
6022
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
5916
6023
|
) }) })
|
|
5917
6024
|
] });
|
|
5918
6025
|
}
|
|
5919
6026
|
|
|
5920
6027
|
// src/app/platform/report-card.tsx
|
|
5921
|
-
var
|
|
5922
|
-
var
|
|
6028
|
+
var import_react43 = require("react");
|
|
6029
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
5923
6030
|
function ReportCard(props) {
|
|
5924
6031
|
const { title, file, status, subtitle } = props;
|
|
5925
|
-
const onClickDownload = (0,
|
|
6032
|
+
const onClickDownload = (0, import_react43.useCallback)(() => {
|
|
5926
6033
|
if (!file) return;
|
|
5927
6034
|
const { url, fileName } = file;
|
|
5928
6035
|
const link = document.createElement("a");
|
|
@@ -5934,24 +6041,24 @@ function ReportCard(props) {
|
|
|
5934
6041
|
document.body.removeChild(link);
|
|
5935
6042
|
}, [file]);
|
|
5936
6043
|
if (status) {
|
|
5937
|
-
return /* @__PURE__ */ (0,
|
|
5938
|
-
/* @__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 }),
|
|
5939
6046
|
status
|
|
5940
6047
|
] }) });
|
|
5941
6048
|
}
|
|
5942
|
-
return /* @__PURE__ */ (0,
|
|
6049
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
5943
6050
|
import_themes22.Flex,
|
|
5944
6051
|
{
|
|
5945
6052
|
direction: { initial: "column", xs: "row" },
|
|
5946
6053
|
gapY: "2",
|
|
5947
6054
|
justify: "between",
|
|
5948
6055
|
children: [
|
|
5949
|
-
/* @__PURE__ */ (0,
|
|
5950
|
-
/* @__PURE__ */ (0,
|
|
5951
|
-
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
|
|
5952
6059
|
] }),
|
|
5953
|
-
/* @__PURE__ */ (0,
|
|
5954
|
-
/* @__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, {}),
|
|
5955
6062
|
file == null ? void 0 : file.buttonName
|
|
5956
6063
|
] }) }, file == null ? void 0 : file.url)
|
|
5957
6064
|
]
|
|
@@ -5960,9 +6067,9 @@ function ReportCard(props) {
|
|
|
5960
6067
|
}
|
|
5961
6068
|
|
|
5962
6069
|
// src/app/platform/contents-card.tsx
|
|
5963
|
-
var
|
|
5964
|
-
var
|
|
5965
|
-
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)(
|
|
5966
6073
|
({
|
|
5967
6074
|
title,
|
|
5968
6075
|
description,
|
|
@@ -5972,7 +6079,7 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
5972
6079
|
onClickCard,
|
|
5973
6080
|
isLoading = false
|
|
5974
6081
|
}, ref) => {
|
|
5975
|
-
return /* @__PURE__ */ (0,
|
|
6082
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
5976
6083
|
Card,
|
|
5977
6084
|
{
|
|
5978
6085
|
onClick: onClickCard,
|
|
@@ -5985,7 +6092,7 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
5985
6092
|
maxHeight: "450px"
|
|
5986
6093
|
},
|
|
5987
6094
|
children: [
|
|
5988
|
-
/* @__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)(
|
|
5989
6096
|
import_themes6.Box,
|
|
5990
6097
|
{
|
|
5991
6098
|
height: "210px",
|
|
@@ -5997,12 +6104,12 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
5997
6104
|
width: "100%"
|
|
5998
6105
|
}
|
|
5999
6106
|
) }) }),
|
|
6000
|
-
/* @__PURE__ */ (0,
|
|
6001
|
-
/* @__PURE__ */ (0,
|
|
6002
|
-
/* @__PURE__ */ (0,
|
|
6003
|
-
/* @__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 }) })
|
|
6004
6111
|
] }),
|
|
6005
|
-
/* @__PURE__ */ (0,
|
|
6112
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
6006
6113
|
import_themes23.Grid,
|
|
6007
6114
|
{
|
|
6008
6115
|
align: "center",
|
|
@@ -6012,10 +6119,10 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
6012
6119
|
style: { marginTop: "auto" },
|
|
6013
6120
|
width: "100%",
|
|
6014
6121
|
children: [
|
|
6015
|
-
/* @__PURE__ */ (0,
|
|
6016
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
6017
|
-
/* @__PURE__ */ (0,
|
|
6018
|
-
/* @__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)(
|
|
6019
6126
|
DropdownMenu.Item,
|
|
6020
6127
|
{
|
|
6021
6128
|
onClick: (e) => {
|
|
@@ -6039,7 +6146,7 @@ var ContentsCard = (0, import_react43.forwardRef)(
|
|
|
6039
6146
|
ContentsCard.displayName = "ContentsCard";
|
|
6040
6147
|
|
|
6041
6148
|
// src/app/platform/curriculum-card.tsx
|
|
6042
|
-
var
|
|
6149
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
6043
6150
|
function CurriculumCard(props) {
|
|
6044
6151
|
const {
|
|
6045
6152
|
title,
|
|
@@ -6050,7 +6157,7 @@ function CurriculumCard(props) {
|
|
|
6050
6157
|
bgColor,
|
|
6051
6158
|
onClick
|
|
6052
6159
|
} = props;
|
|
6053
|
-
return /* @__PURE__ */ (0,
|
|
6160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
6054
6161
|
import_themes23.Grid,
|
|
6055
6162
|
{
|
|
6056
6163
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -6059,7 +6166,7 @@ function CurriculumCard(props) {
|
|
|
6059
6166
|
onClick,
|
|
6060
6167
|
style: { cursor: "pointer" },
|
|
6061
6168
|
children: [
|
|
6062
|
-
/* @__PURE__ */ (0,
|
|
6169
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6063
6170
|
import_themes6.Box,
|
|
6064
6171
|
{
|
|
6065
6172
|
height: "165px",
|
|
@@ -6074,32 +6181,32 @@ function CurriculumCard(props) {
|
|
|
6074
6181
|
backgroundAttachment: "local"
|
|
6075
6182
|
},
|
|
6076
6183
|
width: "100%",
|
|
6077
|
-
children: /* @__PURE__ */ (0,
|
|
6184
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
6078
6185
|
}
|
|
6079
6186
|
),
|
|
6080
|
-
/* @__PURE__ */ (0,
|
|
6081
|
-
/* @__PURE__ */ (0,
|
|
6082
|
-
/* @__PURE__ */ (0,
|
|
6083
|
-
/* @__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)(
|
|
6084
6191
|
Badge,
|
|
6085
6192
|
{
|
|
6086
6193
|
size: "medium",
|
|
6087
6194
|
style: { justifySelf: "flex-start" },
|
|
6088
6195
|
variant: "outline",
|
|
6089
|
-
children: /* @__PURE__ */ (0,
|
|
6090
|
-
/* @__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, {}),
|
|
6091
6198
|
runningTime
|
|
6092
6199
|
] })
|
|
6093
6200
|
}
|
|
6094
6201
|
)
|
|
6095
6202
|
] }),
|
|
6096
|
-
/* @__PURE__ */ (0,
|
|
6097
|
-
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);
|
|
6098
6205
|
}) }) }),
|
|
6099
|
-
/* @__PURE__ */ (0,
|
|
6100
|
-
/* @__PURE__ */ (0,
|
|
6101
|
-
/* @__PURE__ */ (0,
|
|
6102
|
-
/* @__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" })
|
|
6103
6210
|
] })
|
|
6104
6211
|
] })
|
|
6105
6212
|
]
|
|
@@ -6141,6 +6248,7 @@ function CurriculumCard(props) {
|
|
|
6141
6248
|
ChevronLeftIcon,
|
|
6142
6249
|
ChevronRightIcon,
|
|
6143
6250
|
ChevronUpIcon,
|
|
6251
|
+
CircleChatIcon,
|
|
6144
6252
|
CircleCheckIcon,
|
|
6145
6253
|
CirclePencilIcon,
|
|
6146
6254
|
CirclePlayIcon,
|