@tipp/ui 2.3.22 → 2.3.24
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 +217 -195
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +78 -71
- package/dist/app/platform/coach-question-list.js +26 -26
- package/dist/app/platform/contents-card.js +26 -26
- package/dist/app/platform/curriculum-card.js +2 -2
- package/dist/app/platform/edit-coaching-time.cjs +47 -25
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +66 -59
- package/dist/app/platform/edit-service-type.cjs +42 -20
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +66 -59
- package/dist/app/platform/goal-manage-card-edit.cjs +50 -28
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +67 -60
- package/dist/app/platform/goal-manage-card-read.js +26 -26
- package/dist/app/platform/on-offline-radio-card.cjs +77 -55
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +66 -59
- package/dist/app/platform/report-card.js +26 -26
- package/dist/app/platform/reservation-card.cjs +66 -44
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +67 -60
- package/dist/app/platform/session-card.cjs +92 -70
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +67 -60
- package/dist/app/platform/session-review-simple-read.js +26 -26
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +28 -28
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +26 -26
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +26 -26
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +25 -25
- package/dist/app/platform/userInfos/session-user-info-detail.js +25 -25
- package/dist/app/platform/userInfos/utils.js +25 -25
- package/dist/atoms/index.js +60 -60
- package/dist/chunk-2KOE33U7.js +245 -0
- package/dist/chunk-2KOE33U7.js.map +1 -0
- package/dist/chunk-2U5YD3BH.js +49 -0
- package/dist/chunk-2U5YD3BH.js.map +1 -0
- package/dist/chunk-2X3I7KDG.js +144 -0
- package/dist/chunk-2X3I7KDG.js.map +1 -0
- package/dist/chunk-2YSYS4AG.js +233 -0
- package/dist/chunk-2YSYS4AG.js.map +1 -0
- package/dist/chunk-35HQHUDU.js +228 -0
- package/dist/chunk-35HQHUDU.js.map +1 -0
- package/dist/chunk-3I55S6EP.js +89 -0
- package/dist/chunk-3I55S6EP.js.map +1 -0
- package/dist/chunk-3JADWKXT.js +230 -0
- package/dist/chunk-3JADWKXT.js.map +1 -0
- package/dist/chunk-3JDLAN5T.js +99 -0
- package/dist/chunk-3JDLAN5T.js.map +1 -0
- package/dist/chunk-3O2ARPTO.js +161 -0
- package/dist/chunk-3O2ARPTO.js.map +1 -0
- package/dist/chunk-3OO6ENQ4.js +228 -0
- package/dist/chunk-3OO6ENQ4.js.map +1 -0
- package/dist/chunk-45F3UCHR.js +222 -0
- package/dist/chunk-45F3UCHR.js.map +1 -0
- package/dist/chunk-4LUFF5LX.js +98 -0
- package/dist/chunk-4LUFF5LX.js.map +1 -0
- package/dist/chunk-4VV7VH5L.js +79 -0
- package/dist/chunk-4VV7VH5L.js.map +1 -0
- package/dist/chunk-5JCJ4QJO.js +245 -0
- package/dist/chunk-5JCJ4QJO.js.map +1 -0
- package/dist/chunk-5KZJMQCG.js +89 -0
- package/dist/chunk-5KZJMQCG.js.map +1 -0
- package/dist/chunk-5RAR3DG7.js +117 -0
- package/dist/chunk-5RAR3DG7.js.map +1 -0
- package/dist/chunk-5XOR7OPD.js +196 -0
- package/dist/chunk-5XOR7OPD.js.map +1 -0
- package/dist/chunk-5YESTYFF.js +79 -0
- package/dist/chunk-5YESTYFF.js.map +1 -0
- package/dist/chunk-64A2KJHN.js +276 -0
- package/dist/chunk-64A2KJHN.js.map +1 -0
- package/dist/chunk-6CSUU4L7.js +230 -0
- package/dist/chunk-6CSUU4L7.js.map +1 -0
- package/dist/chunk-6FKXUCHD.js +99 -0
- package/dist/chunk-6FKXUCHD.js.map +1 -0
- package/dist/chunk-6TQGX5ZU.js +98 -0
- package/dist/chunk-6TQGX5ZU.js.map +1 -0
- package/dist/chunk-6UXCNYVO.js +106 -0
- package/dist/chunk-6UXCNYVO.js.map +1 -0
- package/dist/chunk-6YZBHOXQ.js +226 -0
- package/dist/chunk-6YZBHOXQ.js.map +1 -0
- package/dist/chunk-7344ZPUM.js +117 -0
- package/dist/chunk-7344ZPUM.js.map +1 -0
- package/dist/chunk-77H5BUYO.js +55 -0
- package/dist/chunk-77H5BUYO.js.map +1 -0
- package/dist/chunk-7ABAJEJA.js +63 -0
- package/dist/chunk-7ABAJEJA.js.map +1 -0
- package/dist/chunk-7B5XAENQ.js +363 -0
- package/dist/chunk-7B5XAENQ.js.map +1 -0
- package/dist/chunk-7CQX7ELH.js +69 -0
- package/dist/chunk-7CQX7ELH.js.map +1 -0
- package/dist/chunk-7CRTGYJE.js +80 -0
- package/dist/chunk-7CRTGYJE.js.map +1 -0
- package/dist/chunk-7FIDFRJL.js +196 -0
- package/dist/chunk-7FIDFRJL.js.map +1 -0
- package/dist/chunk-7ITDAUWI.js +287 -0
- package/dist/chunk-7ITDAUWI.js.map +1 -0
- package/dist/chunk-7PQGETJT.js +69 -0
- package/dist/chunk-7PQGETJT.js.map +1 -0
- package/dist/chunk-7R65MUL6.js +106 -0
- package/dist/chunk-7R65MUL6.js.map +1 -0
- package/dist/chunk-7U5EZJOD.js +89 -0
- package/dist/chunk-7U5EZJOD.js.map +1 -0
- package/dist/chunk-7ZBZBOPI.js +63 -0
- package/dist/chunk-7ZBZBOPI.js.map +1 -0
- package/dist/chunk-A2FXUYSB.js +230 -0
- package/dist/chunk-A2FXUYSB.js.map +1 -0
- package/dist/chunk-A7CT5M2S.js +75 -0
- package/dist/chunk-A7CT5M2S.js.map +1 -0
- package/dist/chunk-A7JBBBBB.js +100 -0
- package/dist/chunk-A7JBBBBB.js.map +1 -0
- package/dist/chunk-AA6OYHCE.js +39 -0
- package/dist/chunk-AA6OYHCE.js.map +1 -0
- package/dist/chunk-ABMGYODX.js +196 -0
- package/dist/chunk-ABMGYODX.js.map +1 -0
- package/dist/chunk-ADLR7QZR.js +69 -0
- package/dist/chunk-ADLR7QZR.js.map +1 -0
- package/dist/chunk-ALETVN5F.js +245 -0
- package/dist/chunk-ALETVN5F.js.map +1 -0
- package/dist/chunk-ARJOCJVD.js +174 -0
- package/dist/chunk-ARJOCJVD.js.map +1 -0
- package/dist/chunk-ARVLB4CH.js +29 -0
- package/dist/chunk-ARVLB4CH.js.map +1 -0
- package/dist/chunk-B327EINU.js +43 -0
- package/dist/chunk-B327EINU.js.map +1 -0
- package/dist/chunk-B4TDMB52.js +226 -0
- package/dist/chunk-B4TDMB52.js.map +1 -0
- package/dist/chunk-BJZSGZ7H.js +63 -0
- package/dist/chunk-BJZSGZ7H.js.map +1 -0
- package/dist/chunk-BP5FU7EO.js +196 -0
- package/dist/chunk-BP5FU7EO.js.map +1 -0
- package/dist/chunk-BPMY3CDH.js +106 -0
- package/dist/chunk-BPMY3CDH.js.map +1 -0
- package/dist/chunk-C2ANXVMQ.js +221 -0
- package/dist/chunk-C2ANXVMQ.js.map +1 -0
- package/dist/chunk-C6BHVWJI.js +165 -0
- package/dist/chunk-C6BHVWJI.js.map +1 -0
- package/dist/chunk-CF3NAPUZ.js +196 -0
- package/dist/chunk-CF3NAPUZ.js.map +1 -0
- package/dist/chunk-CWRJOY56.js +245 -0
- package/dist/chunk-CWRJOY56.js.map +1 -0
- package/dist/chunk-D3H7YFTO.js +69 -0
- package/dist/chunk-D3H7YFTO.js.map +1 -0
- package/dist/chunk-DDAZ4IAG.js +689 -0
- package/dist/chunk-DDAZ4IAG.js.map +1 -0
- package/dist/chunk-DDVJMAYN.js +230 -0
- package/dist/chunk-DDVJMAYN.js.map +1 -0
- package/dist/chunk-DJ24574O.js +28 -0
- package/dist/chunk-DJ24574O.js.map +1 -0
- package/dist/chunk-DJCBLRLH.js +69 -0
- package/dist/chunk-DJCBLRLH.js.map +1 -0
- package/dist/chunk-DTHR4ABO.js +69 -0
- package/dist/chunk-DTHR4ABO.js.map +1 -0
- package/dist/chunk-DTK646M6.js +87 -0
- package/dist/chunk-DTK646M6.js.map +1 -0
- package/dist/chunk-DVZKRKWH.js +174 -0
- package/dist/chunk-DVZKRKWH.js.map +1 -0
- package/dist/chunk-E232GTT6.js +69 -0
- package/dist/chunk-E232GTT6.js.map +1 -0
- package/dist/chunk-E5W5TCRU.js +89 -0
- package/dist/chunk-E5W5TCRU.js.map +1 -0
- package/dist/chunk-EGTOU5MK.js +689 -0
- package/dist/chunk-EGTOU5MK.js.map +1 -0
- package/dist/chunk-EJAC46WB.js +39 -0
- package/dist/chunk-EJAC46WB.js.map +1 -0
- package/dist/chunk-F2I4LA63.js +51 -0
- package/dist/chunk-F2I4LA63.js.map +1 -0
- package/dist/chunk-F65P7KZI.js +98 -0
- package/dist/chunk-F65P7KZI.js.map +1 -0
- package/dist/chunk-F76YKHGP.js +245 -0
- package/dist/chunk-F76YKHGP.js.map +1 -0
- package/dist/chunk-FGX6IR4Q.js +68 -0
- package/dist/chunk-FGX6IR4Q.js.map +1 -0
- package/dist/chunk-FN2CUDUP.js +43 -0
- package/dist/chunk-FN2CUDUP.js.map +1 -0
- package/dist/chunk-FQUAFIUO.js +228 -0
- package/dist/chunk-FQUAFIUO.js.map +1 -0
- package/dist/chunk-FYHAKQGB.js +220 -0
- package/dist/chunk-FYHAKQGB.js.map +1 -0
- package/dist/chunk-FZ4F7FCO.js +63 -0
- package/dist/chunk-FZ4F7FCO.js.map +1 -0
- package/dist/chunk-G6UKOZPL.js +217 -0
- package/dist/chunk-G6UKOZPL.js.map +1 -0
- package/dist/chunk-GAFIOPGJ.js +54 -0
- package/dist/chunk-GAFIOPGJ.js.map +1 -0
- package/dist/chunk-GEMXFVWI.js +37 -0
- package/dist/chunk-GEMXFVWI.js.map +1 -0
- package/dist/chunk-GFBOT2PV.js +101 -0
- package/dist/chunk-GFBOT2PV.js.map +1 -0
- package/dist/chunk-GFURX6GB.js +76 -0
- package/dist/chunk-GFURX6GB.js.map +1 -0
- package/dist/chunk-GMHVMQTV.js +245 -0
- package/dist/chunk-GMHVMQTV.js.map +1 -0
- package/dist/chunk-GTO7GG2K.js +245 -0
- package/dist/chunk-GTO7GG2K.js.map +1 -0
- package/dist/chunk-GWNS3C3A.js +144 -0
- package/dist/chunk-GWNS3C3A.js.map +1 -0
- package/dist/chunk-HFVVQEOZ.js +1 -0
- package/dist/chunk-HFVVQEOZ.js.map +1 -0
- package/dist/chunk-HNS76MH2.js +69 -0
- package/dist/chunk-HNS76MH2.js.map +1 -0
- package/dist/chunk-HO462CJM.js +29 -0
- package/dist/chunk-HO462CJM.js.map +1 -0
- package/dist/chunk-HPW5EHJX.js +233 -0
- package/dist/chunk-HPW5EHJX.js.map +1 -0
- package/dist/chunk-HQ23GSZM.js +145 -0
- package/dist/chunk-HQ23GSZM.js.map +1 -0
- package/dist/chunk-HTNDVNLQ.js +287 -0
- package/dist/chunk-HTNDVNLQ.js.map +1 -0
- package/dist/chunk-HXOMTUED.js +222 -0
- package/dist/chunk-HXOMTUED.js.map +1 -0
- package/dist/chunk-I46BFZL6.js +69 -0
- package/dist/chunk-I46BFZL6.js.map +1 -0
- package/dist/chunk-INE4EFFO.js +70 -0
- package/dist/chunk-INE4EFFO.js.map +1 -0
- package/dist/chunk-IQUJPIZD.js +689 -0
- package/dist/chunk-IQUJPIZD.js.map +1 -0
- package/dist/chunk-ITKUKDDV.js +196 -0
- package/dist/chunk-ITKUKDDV.js.map +1 -0
- package/dist/chunk-J333WVWG.js +145 -0
- package/dist/chunk-J333WVWG.js.map +1 -0
- package/dist/chunk-JADEGHJI.js +101 -0
- package/dist/chunk-JADEGHJI.js.map +1 -0
- package/dist/chunk-JAS77BXB.js +245 -0
- package/dist/chunk-JAS77BXB.js.map +1 -0
- package/dist/chunk-JDBHOE34.js +51 -0
- package/dist/chunk-JDBHOE34.js.map +1 -0
- package/dist/chunk-JG4JIBBV.js +245 -0
- package/dist/chunk-JG4JIBBV.js.map +1 -0
- package/dist/chunk-JHJSR2UT.js +101 -0
- package/dist/chunk-JHJSR2UT.js.map +1 -0
- package/dist/chunk-JJDLCVZV.js +37 -0
- package/dist/chunk-JJDLCVZV.js.map +1 -0
- package/dist/chunk-JKAMW7OV.js +228 -0
- package/dist/chunk-JKAMW7OV.js.map +1 -0
- package/dist/chunk-JQH27TXL.js +89 -0
- package/dist/chunk-JQH27TXL.js.map +1 -0
- package/dist/chunk-JRSZNGFD.js +28 -0
- package/dist/chunk-JRSZNGFD.js.map +1 -0
- package/dist/chunk-JZVK4NDF.js +28 -0
- package/dist/chunk-JZVK4NDF.js.map +1 -0
- package/dist/chunk-K255663P.js +144 -0
- package/dist/chunk-K255663P.js.map +1 -0
- package/dist/chunk-K5TTAI44.js +89 -0
- package/dist/chunk-K5TTAI44.js.map +1 -0
- package/dist/chunk-K7LTEKQS.js +56 -0
- package/dist/chunk-K7LTEKQS.js.map +1 -0
- package/dist/chunk-KCAOUZCT.js +245 -0
- package/dist/chunk-KCAOUZCT.js.map +1 -0
- package/dist/chunk-KCCYHT23.js +39 -0
- package/dist/chunk-KCCYHT23.js.map +1 -0
- package/dist/chunk-KFUBWOCN.js +69 -0
- package/dist/chunk-KFUBWOCN.js.map +1 -0
- package/dist/chunk-KOKKR2GO.js +37 -0
- package/dist/chunk-KOKKR2GO.js.map +1 -0
- package/dist/chunk-KV432YFG.js +223 -0
- package/dist/chunk-KV432YFG.js.map +1 -0
- package/dist/chunk-L5SQIVFO.js +68 -0
- package/dist/chunk-L5SQIVFO.js.map +1 -0
- package/dist/chunk-LJDGAKG3.js +196 -0
- package/dist/chunk-LJDGAKG3.js.map +1 -0
- package/dist/chunk-LSUCPRXN.js +89 -0
- package/dist/chunk-LSUCPRXN.js.map +1 -0
- package/dist/chunk-MDSCN4PH.js +144 -0
- package/dist/chunk-MDSCN4PH.js.map +1 -0
- package/dist/chunk-MG2KX3KF.js +69 -0
- package/dist/chunk-MG2KX3KF.js.map +1 -0
- package/dist/chunk-MIATMZDP.js +39 -0
- package/dist/chunk-MIATMZDP.js.map +1 -0
- package/dist/chunk-MIVH7X2Q.js +245 -0
- package/dist/chunk-MIVH7X2Q.js.map +1 -0
- package/dist/chunk-MPZJH3PI.js +287 -0
- package/dist/chunk-MPZJH3PI.js.map +1 -0
- package/dist/chunk-MQ4ZZJXV.js +51 -0
- package/dist/chunk-MQ4ZZJXV.js.map +1 -0
- package/dist/chunk-MRTKFR7V.js +144 -0
- package/dist/chunk-MRTKFR7V.js.map +1 -0
- package/dist/chunk-MTSZUPDJ.js +151 -0
- package/dist/chunk-MTSZUPDJ.js.map +1 -0
- package/dist/chunk-MTU2IQUS.js +689 -0
- package/dist/chunk-MTU2IQUS.js.map +1 -0
- package/dist/chunk-MVA6X35R.js +165 -0
- package/dist/chunk-MVA6X35R.js.map +1 -0
- package/dist/chunk-ND5BRCYV.js +75 -0
- package/dist/chunk-ND5BRCYV.js.map +1 -0
- package/dist/chunk-NE5S2QWA.js +51 -0
- package/dist/chunk-NE5S2QWA.js.map +1 -0
- package/dist/chunk-NHK64BOP.js +69 -0
- package/dist/chunk-NHK64BOP.js.map +1 -0
- package/dist/chunk-NHMDJCXR.js +276 -0
- package/dist/chunk-NHMDJCXR.js.map +1 -0
- package/dist/chunk-NIBZSFZ6.js +196 -0
- package/dist/chunk-NIBZSFZ6.js.map +1 -0
- package/dist/chunk-NJ3LHGC6.js +169 -0
- package/dist/chunk-NJ3LHGC6.js.map +1 -0
- package/dist/chunk-NJKRLSH3.js +287 -0
- package/dist/chunk-NJKRLSH3.js.map +1 -0
- package/dist/chunk-NLTKDXLB.js +113 -0
- package/dist/chunk-NLTKDXLB.js.map +1 -0
- package/dist/chunk-NRWZ6JNA.js +69 -0
- package/dist/chunk-NRWZ6JNA.js.map +1 -0
- package/dist/chunk-NSBBMIXS.js +151 -0
- package/dist/chunk-NSBBMIXS.js.map +1 -0
- package/dist/chunk-O665PURC.js +63 -0
- package/dist/chunk-O665PURC.js.map +1 -0
- package/dist/chunk-O6LH7P6V.js +87 -0
- package/dist/chunk-O6LH7P6V.js.map +1 -0
- package/dist/chunk-OF4RHJCY.js +69 -0
- package/dist/chunk-OF4RHJCY.js.map +1 -0
- package/dist/chunk-ORBEMNBA.js +49 -0
- package/dist/chunk-ORBEMNBA.js.map +1 -0
- package/dist/chunk-OYCRE67S.js +87 -0
- package/dist/chunk-OYCRE67S.js.map +1 -0
- package/dist/chunk-P4KO43AP.js +245 -0
- package/dist/chunk-P4KO43AP.js.map +1 -0
- package/dist/chunk-PJHCOBSQ.js +163 -0
- package/dist/chunk-PJHCOBSQ.js.map +1 -0
- package/dist/chunk-PXPGCDNA.js +106 -0
- package/dist/chunk-PXPGCDNA.js.map +1 -0
- package/dist/chunk-QBVF4BCB.js +245 -0
- package/dist/chunk-QBVF4BCB.js.map +1 -0
- package/dist/chunk-QKP2KBZ5.js +219 -0
- package/dist/chunk-QKP2KBZ5.js.map +1 -0
- package/dist/chunk-QXBRA2T6.js +169 -0
- package/dist/chunk-QXBRA2T6.js.map +1 -0
- package/dist/chunk-RAMPMKQD.js +245 -0
- package/dist/chunk-RAMPMKQD.js.map +1 -0
- package/dist/chunk-REPTW53S.js +98 -0
- package/dist/chunk-REPTW53S.js.map +1 -0
- package/dist/chunk-RMFSOYRW.js +99 -0
- package/dist/chunk-RMFSOYRW.js.map +1 -0
- package/dist/chunk-RXQHKSIV.js +37 -0
- package/dist/chunk-RXQHKSIV.js.map +1 -0
- package/dist/chunk-RZGCNQWE.js +89 -0
- package/dist/chunk-RZGCNQWE.js.map +1 -0
- package/dist/chunk-S3W44IB3.js +151 -0
- package/dist/chunk-S3W44IB3.js.map +1 -0
- package/dist/chunk-SEKCH5XW.js +100 -0
- package/dist/chunk-SEKCH5XW.js.map +1 -0
- package/dist/chunk-SGS3LUQ3.js +196 -0
- package/dist/chunk-SGS3LUQ3.js.map +1 -0
- package/dist/chunk-SKA66SQI.js +144 -0
- package/dist/chunk-SKA66SQI.js.map +1 -0
- package/dist/chunk-SLHUNZIR.js +245 -0
- package/dist/chunk-SLHUNZIR.js.map +1 -0
- package/dist/chunk-STCVW5HT.js +49 -0
- package/dist/chunk-STCVW5HT.js.map +1 -0
- package/dist/chunk-SVGGVYY7.js +69 -0
- package/dist/chunk-SVGGVYY7.js.map +1 -0
- package/dist/chunk-T5I3DNHD.js +145 -0
- package/dist/chunk-T5I3DNHD.js.map +1 -0
- package/dist/chunk-TJDCSV5R.js +230 -0
- package/dist/chunk-TJDCSV5R.js.map +1 -0
- package/dist/chunk-TJWFURWT.js +43 -0
- package/dist/chunk-TJWFURWT.js.map +1 -0
- package/dist/chunk-TMO724ZN.js +63 -0
- package/dist/chunk-TMO724ZN.js.map +1 -0
- package/dist/chunk-TP7DOXLP.js +98 -0
- package/dist/chunk-TP7DOXLP.js.map +1 -0
- package/dist/chunk-TQJ3HQ7R.js +87 -0
- package/dist/chunk-TQJ3HQ7R.js.map +1 -0
- package/dist/chunk-TQMIIK56.js +230 -0
- package/dist/chunk-TQMIIK56.js.map +1 -0
- package/dist/chunk-TRNLQ7F3.js +245 -0
- package/dist/chunk-TRNLQ7F3.js.map +1 -0
- package/dist/chunk-U6UGFQIT.js +117 -0
- package/dist/chunk-U6UGFQIT.js.map +1 -0
- package/dist/chunk-U7OEYXJQ.js +165 -0
- package/dist/chunk-U7OEYXJQ.js.map +1 -0
- package/dist/chunk-UF6LFXBG.js +230 -0
- package/dist/chunk-UF6LFXBG.js.map +1 -0
- package/dist/chunk-ULZHPTB5.js +70 -0
- package/dist/chunk-ULZHPTB5.js.map +1 -0
- package/dist/chunk-UOCLNOC2.js +145 -0
- package/dist/chunk-UOCLNOC2.js.map +1 -0
- package/dist/chunk-V2RMMVGT.js +51 -0
- package/dist/chunk-V2RMMVGT.js.map +1 -0
- package/dist/chunk-V2UREEFT.js +89 -0
- package/dist/chunk-V2UREEFT.js.map +1 -0
- package/dist/chunk-V4WWIPTK.js +363 -0
- package/dist/chunk-V4WWIPTK.js.map +1 -0
- package/dist/chunk-VEHTXVLY.js +169 -0
- package/dist/chunk-VEHTXVLY.js.map +1 -0
- package/dist/chunk-VIVVHI7F.js +63 -0
- package/dist/chunk-VIVVHI7F.js.map +1 -0
- package/dist/chunk-VQMIOVFO.js +69 -0
- package/dist/chunk-VQMIOVFO.js.map +1 -0
- package/dist/chunk-VU3C3W4S.js +106 -0
- package/dist/chunk-VU3C3W4S.js.map +1 -0
- package/dist/chunk-VYPPQUB5.js +196 -0
- package/dist/chunk-VYPPQUB5.js.map +1 -0
- package/dist/chunk-W2TX267T.js +100 -0
- package/dist/chunk-W2TX267T.js.map +1 -0
- package/dist/chunk-W3EW7K6L.js +51 -0
- package/dist/chunk-W3EW7K6L.js.map +1 -0
- package/dist/chunk-WA5A2GB4.js +192 -0
- package/dist/chunk-WA5A2GB4.js.map +1 -0
- package/dist/chunk-WPAC4HEX.js +87 -0
- package/dist/chunk-WPAC4HEX.js.map +1 -0
- package/dist/chunk-X2OV53JW.js +196 -0
- package/dist/chunk-X2OV53JW.js.map +1 -0
- package/dist/chunk-X6K6AM4D.js +196 -0
- package/dist/chunk-X6K6AM4D.js.map +1 -0
- package/dist/chunk-XB2GOVFT.js +69 -0
- package/dist/chunk-XB2GOVFT.js.map +1 -0
- package/dist/chunk-XIKKYBHO.js +69 -0
- package/dist/chunk-XIKKYBHO.js.map +1 -0
- package/dist/chunk-Y2H4FXGU.js +68 -0
- package/dist/chunk-Y2H4FXGU.js.map +1 -0
- package/dist/chunk-Y7I4BEAO.js +69 -0
- package/dist/chunk-Y7I4BEAO.js.map +1 -0
- package/dist/chunk-YCRTFH4C.js +79 -0
- package/dist/chunk-YCRTFH4C.js.map +1 -0
- package/dist/chunk-YHGFJ7N6.js +63 -0
- package/dist/chunk-YHGFJ7N6.js.map +1 -0
- package/dist/chunk-YKDT2D43.js +98 -0
- package/dist/chunk-YKDT2D43.js.map +1 -0
- package/dist/chunk-YLTKQZ67.js +228 -0
- package/dist/chunk-YLTKQZ67.js.map +1 -0
- package/dist/chunk-YPGFPLWM.js +69 -0
- package/dist/chunk-YPGFPLWM.js.map +1 -0
- package/dist/chunk-YWYYPYBK.js +1 -0
- package/dist/chunk-YWYYPYBK.js.map +1 -0
- package/dist/chunk-Z7WNKARH.js +331 -0
- package/dist/chunk-Z7WNKARH.js.map +1 -0
- package/dist/chunk-ZA4NYPSW.js +28 -0
- package/dist/chunk-ZA4NYPSW.js.map +1 -0
- package/dist/chunk-ZDY2M7RX.js +113 -0
- package/dist/chunk-ZDY2M7RX.js.map +1 -0
- package/dist/chunk-ZFTQ2XBH.js +76 -0
- package/dist/chunk-ZFTQ2XBH.js.map +1 -0
- package/dist/chunk-ZI7PEVZG.js +89 -0
- package/dist/chunk-ZI7PEVZG.js.map +1 -0
- package/dist/chunk-ZKFNOCWD.js +125 -0
- package/dist/chunk-ZKFNOCWD.js.map +1 -0
- package/dist/chunk-ZOITFRX7.js +70 -0
- package/dist/chunk-ZOITFRX7.js.map +1 -0
- package/dist/chunk-ZPDLTZDJ.js +363 -0
- package/dist/chunk-ZPDLTZDJ.js.map +1 -0
- package/dist/chunk-ZR4G3PU3.js +89 -0
- package/dist/chunk-ZR4G3PU3.js.map +1 -0
- package/dist/context/index.js +1 -1
- package/dist/index.cjs +1832 -411
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +152 -139
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +7 -7
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +11 -11
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +13 -13
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.js +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +17 -17
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +1 -1
- package/dist/molecules/curriculumV2/curriculum-context.cjs +0 -1
- package/dist/molecules/curriculumV2/curriculum-context.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-context.js +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +2 -2
- package/dist/molecules/curriculumV2/index.cjs +4 -5
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +27 -27
- package/dist/molecules/description-json-render.cjs +1 -1
- package/dist/molecules/description-json-render.cjs.map +1 -1
- package/dist/molecules/description-json-render.js +3 -3
- package/dist/molecules/dynamic-field.cjs +147 -5
- package/dist/molecules/dynamic-field.cjs.map +1 -1
- package/dist/molecules/dynamic-field.js +5 -2
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs +1711 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.d.cts +19 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.d.ts +19 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js +37 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js.map +1 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.cjs +298 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.d.cts +16 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.d.ts +16 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.js +14 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.js.map +1 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.cjs +171 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.d.cts +10 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.d.ts +10 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.js +12 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.js.map +1 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.cjs +1021 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.d.cts +10 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.d.ts +10 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.js +26 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.js.map +1 -0
- package/dist/molecules/dynamic-form-editor-utils.cjs +396 -0
- package/dist/molecules/dynamic-form-editor-utils.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-utils.d.cts +43 -0
- package/dist/molecules/dynamic-form-editor-utils.d.ts +43 -0
- package/dist/molecules/dynamic-form-editor-utils.js +44 -0
- package/dist/molecules/dynamic-form-editor-utils.js.map +1 -0
- package/dist/molecules/dynamic-form-editor.cjs +2925 -0
- package/dist/molecules/dynamic-form-editor.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor.d.cts +15 -0
- package/dist/molecules/dynamic-form-editor.d.ts +15 -0
- package/dist/molecules/dynamic-form-editor.js +51 -0
- package/dist/molecules/dynamic-form-editor.js.map +1 -0
- package/dist/molecules/dynamic-form-response-item.cjs +63 -29
- package/dist/molecules/dynamic-form-response-item.cjs.map +1 -1
- package/dist/molecules/dynamic-form-response-item.js +2 -1
- package/dist/molecules/dynamic-form.cjs +149 -7
- package/dist/molecules/dynamic-form.cjs.map +1 -1
- package/dist/molecules/dynamic-form.js +6 -3
- package/dist/molecules/expand-table/index.js +1 -1
- package/dist/molecules/index.cjs +1464 -42
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.d.cts +1 -0
- package/dist/molecules/index.d.ts +1 -0
- package/dist/molecules/index.js +74 -63
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/stepper.js +2 -2
- package/dist/molecules/tag-selector.js +3 -3
- package/dist/molecules/time-select.cjs +1 -1
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +4 -3
- package/dist/types/dynamic-form-schema-generated.cjs.map +1 -1
- package/dist/types/dynamic-form-schema-generated.d.cts +30 -2
- package/dist/types/dynamic-form-schema-generated.d.ts +30 -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/get-callout-icon-component.cjs +624 -0
- package/dist/utils/get-callout-icon-component.cjs.map +1 -0
- package/dist/utils/get-callout-icon-component.d.cts +11 -0
- package/dist/utils/get-callout-icon-component.d.ts +11 -0
- package/dist/utils/get-callout-icon-component.js +26 -0
- package/dist/utils/get-callout-icon-component.js.map +1 -0
- package/dist/utils/get-dynamic-form-display-value.cjs +80 -0
- package/dist/utils/get-dynamic-form-display-value.cjs.map +1 -0
- package/dist/utils/get-dynamic-form-display-value.d.cts +5 -0
- package/dist/utils/get-dynamic-form-display-value.d.ts +5 -0
- package/dist/utils/get-dynamic-form-display-value.js +8 -0
- package/dist/utils/get-dynamic-form-display-value.js.map +1 -0
- package/dist/utils/get-dynamic-form-display-value.test.cjs +124 -0
- package/dist/utils/get-dynamic-form-display-value.test.cjs.map +1 -0
- package/dist/utils/get-dynamic-form-display-value.test.d.cts +2 -0
- package/dist/utils/get-dynamic-form-display-value.test.d.ts +2 -0
- package/dist/utils/get-dynamic-form-display-value.test.js +75 -0
- package/dist/utils/get-dynamic-form-display-value.test.js.map +1 -0
- package/dist/utils/index.cjs +55 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +3 -1
- package/dist/utils/index.d.ts +3 -1
- package/dist/utils/index.js +10 -6
- package/package.json +1 -1
- package/src/app/platform/reservation-card.tsx +0 -1
- package/src/constrant/dynamic-form-schema.json +55 -0
- package/src/molecules/curriculumV2/CurriculumContents/curriculum-video.tsx +3 -3
- package/src/molecules/curriculumV2/curriculum-context.tsx +0 -1
- package/src/molecules/description-json-render.tsx +1 -1
- package/src/molecules/dynamic-field.tsx +183 -7
- package/src/molecules/dynamic-form-editor-field-editor-panel.tsx +688 -0
- package/src/molecules/dynamic-form-editor-field-list-panel.tsx +116 -0
- package/src/molecules/dynamic-form-editor-issues-panel.tsx +35 -0
- package/src/molecules/dynamic-form-editor-preview-panel.tsx +30 -0
- package/src/molecules/dynamic-form-editor-utils.ts +433 -0
- package/src/molecules/dynamic-form-editor.tsx +263 -0
- package/src/molecules/dynamic-form-response-item.tsx +13 -40
- package/src/molecules/dynamic-form.tsx +1 -1
- package/src/molecules/index.ts +2 -1
- package/src/types/dynamic-form-schema-generated.ts +33 -0
- package/src/utils/get-dynamic-form-display-value.test.ts +81 -0
- package/src/utils/get-dynamic-form-display-value.ts +74 -0
- package/src/utils/index.ts +2 -1
- package/src/utils/{getCalloutIconComponent.ts → get-callout-icon-component.ts} +3 -3
package/dist/app/index.cjs
CHANGED
|
@@ -2030,7 +2030,7 @@ function GoalManageCardRead(props) {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
|
|
2032
2032
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
2033
|
-
var
|
|
2033
|
+
var import_react51 = require("react");
|
|
2034
2034
|
var import_date_fns5 = require("date-fns");
|
|
2035
2035
|
|
|
2036
2036
|
// src/molecules/expand-table/index.tsx
|
|
@@ -2353,7 +2353,7 @@ var getTimeOption = (time) => {
|
|
|
2353
2353
|
return `${hour < 10 ? `0${hour}` : hour}:${minute < 10 ? `0${minute}` : minute}`;
|
|
2354
2354
|
};
|
|
2355
2355
|
|
|
2356
|
-
// src/utils/
|
|
2356
|
+
// src/utils/get-callout-icon-component.ts
|
|
2357
2357
|
var AI_CALLOUT_ICON_OPTIONS = [
|
|
2358
2358
|
{ label: "Info", value: "InfoCircledIcon", Component: import_react_icons2.InfoCircledIcon },
|
|
2359
2359
|
{
|
|
@@ -2603,8 +2603,30 @@ var import_react47 = require("react");
|
|
|
2603
2603
|
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
2604
2604
|
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
2605
2605
|
|
|
2606
|
-
// src/
|
|
2606
|
+
// src/molecules/dynamic-form-editor.tsx
|
|
2607
|
+
var import_react50 = require("react");
|
|
2608
|
+
|
|
2609
|
+
// src/molecules/dynamic-form-editor-field-editor-panel.tsx
|
|
2610
|
+
var import_react48 = require("react");
|
|
2611
|
+
var import_themes56 = require("@radix-ui/themes");
|
|
2607
2612
|
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
2613
|
+
|
|
2614
|
+
// src/molecules/dynamic-form-editor-field-list-panel.tsx
|
|
2615
|
+
var import_react49 = require("react");
|
|
2616
|
+
var import_themes57 = require("@radix-ui/themes");
|
|
2617
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
2618
|
+
|
|
2619
|
+
// src/molecules/dynamic-form-editor-issues-panel.tsx
|
|
2620
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
2621
|
+
|
|
2622
|
+
// src/molecules/dynamic-form-editor-preview-panel.tsx
|
|
2623
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
2624
|
+
|
|
2625
|
+
// src/molecules/dynamic-form-editor.tsx
|
|
2626
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
2627
|
+
|
|
2628
|
+
// src/app/platform/goal-manage-card-edit.tsx
|
|
2629
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
2608
2630
|
var initialValues = {
|
|
2609
2631
|
goal: "",
|
|
2610
2632
|
effect: "",
|
|
@@ -2615,8 +2637,8 @@ var dummyFn = () => {
|
|
|
2615
2637
|
};
|
|
2616
2638
|
function GoalManageCardEdit(props) {
|
|
2617
2639
|
const { defaultValues, errors } = props;
|
|
2618
|
-
const [values, setValues] = (0,
|
|
2619
|
-
const onChange = (0,
|
|
2640
|
+
const [values, setValues] = (0, import_react51.useState)(defaultValues || initialValues);
|
|
2641
|
+
const onChange = (0, import_react51.useCallback)(
|
|
2620
2642
|
(v) => {
|
|
2621
2643
|
var _a;
|
|
2622
2644
|
setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
|
|
@@ -2624,20 +2646,20 @@ function GoalManageCardEdit(props) {
|
|
|
2624
2646
|
},
|
|
2625
2647
|
[props]
|
|
2626
2648
|
);
|
|
2627
|
-
const onClickInit = (0,
|
|
2649
|
+
const onClickInit = (0, import_react51.useCallback)(() => {
|
|
2628
2650
|
var _a;
|
|
2629
2651
|
setValues(initialValues);
|
|
2630
2652
|
(_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
|
|
2631
2653
|
}, [defaultValues, props]);
|
|
2632
|
-
const onClickSubmit = (0,
|
|
2654
|
+
const onClickSubmit = (0, import_react51.useCallback)(() => {
|
|
2633
2655
|
var _a;
|
|
2634
2656
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
2635
2657
|
}, [props, values]);
|
|
2636
|
-
return /* @__PURE__ */ (0,
|
|
2637
|
-
/* @__PURE__ */ (0,
|
|
2638
|
-
/* @__PURE__ */ (0,
|
|
2639
|
-
/* @__PURE__ */ (0,
|
|
2640
|
-
/* @__PURE__ */ (0,
|
|
2658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
2659
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2660
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Form.Field, { name: "title", children: [
|
|
2661
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
2662
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2641
2663
|
TextField.Root,
|
|
2642
2664
|
{
|
|
2643
2665
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -2648,11 +2670,11 @@ function GoalManageCardEdit(props) {
|
|
|
2648
2670
|
value: values.goal
|
|
2649
2671
|
}
|
|
2650
2672
|
),
|
|
2651
|
-
/* @__PURE__ */ (0,
|
|
2673
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
2652
2674
|
] }),
|
|
2653
|
-
/* @__PURE__ */ (0,
|
|
2654
|
-
/* @__PURE__ */ (0,
|
|
2655
|
-
/* @__PURE__ */ (0,
|
|
2675
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Form.Field, { name: "effect", children: [
|
|
2676
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
2677
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2656
2678
|
TextArea,
|
|
2657
2679
|
{
|
|
2658
2680
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -2664,11 +2686,11 @@ function GoalManageCardEdit(props) {
|
|
|
2664
2686
|
value: values.effect
|
|
2665
2687
|
}
|
|
2666
2688
|
),
|
|
2667
|
-
/* @__PURE__ */ (0,
|
|
2689
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
2668
2690
|
] }),
|
|
2669
|
-
/* @__PURE__ */ (0,
|
|
2670
|
-
/* @__PURE__ */ (0,
|
|
2671
|
-
/* @__PURE__ */ (0,
|
|
2691
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Form.Field, { name: "huddle", children: [
|
|
2692
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
2693
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2672
2694
|
TextArea,
|
|
2673
2695
|
{
|
|
2674
2696
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -2682,11 +2704,11 @@ function GoalManageCardEdit(props) {
|
|
|
2682
2704
|
value: values.huddle
|
|
2683
2705
|
}
|
|
2684
2706
|
),
|
|
2685
|
-
/* @__PURE__ */ (0,
|
|
2707
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
2686
2708
|
] }),
|
|
2687
|
-
/* @__PURE__ */ (0,
|
|
2688
|
-
/* @__PURE__ */ (0,
|
|
2689
|
-
/* @__PURE__ */ (0,
|
|
2709
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
2710
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
2711
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2690
2712
|
DatePickerButton,
|
|
2691
2713
|
{
|
|
2692
2714
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -2697,11 +2719,11 @@ function GoalManageCardEdit(props) {
|
|
|
2697
2719
|
selected: values.dueDate
|
|
2698
2720
|
}
|
|
2699
2721
|
),
|
|
2700
|
-
/* @__PURE__ */ (0,
|
|
2722
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
2701
2723
|
] })
|
|
2702
2724
|
] }),
|
|
2703
|
-
/* @__PURE__ */ (0,
|
|
2704
|
-
/* @__PURE__ */ (0,
|
|
2725
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
2726
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2705
2727
|
Button,
|
|
2706
2728
|
{
|
|
2707
2729
|
color: "gray",
|
|
@@ -2712,18 +2734,18 @@ function GoalManageCardEdit(props) {
|
|
|
2712
2734
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2713
2735
|
}
|
|
2714
2736
|
),
|
|
2715
|
-
/* @__PURE__ */ (0,
|
|
2737
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2716
2738
|
] })
|
|
2717
2739
|
] }) });
|
|
2718
2740
|
}
|
|
2719
2741
|
|
|
2720
2742
|
// src/app/platform/session-card.tsx
|
|
2721
|
-
var
|
|
2743
|
+
var import_react54 = require("react");
|
|
2722
2744
|
var import_date_fns6 = require("date-fns");
|
|
2723
2745
|
|
|
2724
2746
|
// src/app/platform/edit-coaching-time.tsx
|
|
2725
|
-
var
|
|
2726
|
-
var
|
|
2747
|
+
var import_react52 = require("react");
|
|
2748
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
2727
2749
|
var getValueFromDefaultValue = (args) => {
|
|
2728
2750
|
return {
|
|
2729
2751
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -2743,14 +2765,14 @@ var getDateFromValue = (date, time) => {
|
|
|
2743
2765
|
};
|
|
2744
2766
|
function EditCoachingTime(props) {
|
|
2745
2767
|
const { defaultEndAt, defaultStartAt, onClickCancel } = props;
|
|
2746
|
-
const [values, setValues] = (0,
|
|
2768
|
+
const [values, setValues] = (0, import_react52.useState)(() => {
|
|
2747
2769
|
return getValueFromDefaultValue({
|
|
2748
2770
|
startAt: defaultStartAt,
|
|
2749
2771
|
endAt: defaultEndAt
|
|
2750
2772
|
});
|
|
2751
2773
|
});
|
|
2752
|
-
const [timeError, setTimeError] = (0,
|
|
2753
|
-
const checkTimeError = (0,
|
|
2774
|
+
const [timeError, setTimeError] = (0, import_react52.useState)("");
|
|
2775
|
+
const checkTimeError = (0, import_react52.useCallback)(
|
|
2754
2776
|
(startTime, endTime) => {
|
|
2755
2777
|
const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
|
|
2756
2778
|
if (error) {
|
|
@@ -2761,7 +2783,7 @@ function EditCoachingTime(props) {
|
|
|
2761
2783
|
},
|
|
2762
2784
|
[]
|
|
2763
2785
|
);
|
|
2764
|
-
const onChangeStartTime = (0,
|
|
2786
|
+
const onChangeStartTime = (0, import_react52.useCallback)(
|
|
2765
2787
|
(v) => {
|
|
2766
2788
|
checkTimeError(v, values.endTime);
|
|
2767
2789
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -2770,7 +2792,7 @@ function EditCoachingTime(props) {
|
|
|
2770
2792
|
},
|
|
2771
2793
|
[checkTimeError, values.endTime]
|
|
2772
2794
|
);
|
|
2773
|
-
const onChangeEndTime = (0,
|
|
2795
|
+
const onChangeEndTime = (0, import_react52.useCallback)(
|
|
2774
2796
|
(v) => {
|
|
2775
2797
|
checkTimeError(values.startTime, v);
|
|
2776
2798
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -2779,12 +2801,12 @@ function EditCoachingTime(props) {
|
|
|
2779
2801
|
},
|
|
2780
2802
|
[checkTimeError, values.startTime]
|
|
2781
2803
|
);
|
|
2782
|
-
const onChangeDate = (0,
|
|
2804
|
+
const onChangeDate = (0, import_react52.useCallback)((date) => {
|
|
2783
2805
|
date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
2784
2806
|
date
|
|
2785
2807
|
}));
|
|
2786
2808
|
}, []);
|
|
2787
|
-
const onClickSave = (0,
|
|
2809
|
+
const onClickSave = (0, import_react52.useCallback)(() => {
|
|
2788
2810
|
if (checkTimeError(values.startTime, values.endTime)) {
|
|
2789
2811
|
const startAt = getDateFromValue(values.date, values.startTime);
|
|
2790
2812
|
const endAt = getDateFromValue(values.date, values.endTime);
|
|
@@ -2793,10 +2815,10 @@ function EditCoachingTime(props) {
|
|
|
2793
2815
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
2794
2816
|
}
|
|
2795
2817
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
2796
|
-
return /* @__PURE__ */ (0,
|
|
2797
|
-
/* @__PURE__ */ (0,
|
|
2798
|
-
/* @__PURE__ */ (0,
|
|
2799
|
-
/* @__PURE__ */ (0,
|
|
2818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Root, { children: [
|
|
2819
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "date", children: [
|
|
2820
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
2821
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
2800
2822
|
DatePickerButton,
|
|
2801
2823
|
{
|
|
2802
2824
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -2806,7 +2828,7 @@ function EditCoachingTime(props) {
|
|
|
2806
2828
|
}
|
|
2807
2829
|
)
|
|
2808
2830
|
] }),
|
|
2809
|
-
/* @__PURE__ */ (0,
|
|
2831
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
2810
2832
|
import_themes23.Grid,
|
|
2811
2833
|
{
|
|
2812
2834
|
align: "center",
|
|
@@ -2821,10 +2843,10 @@ function EditCoachingTime(props) {
|
|
|
2821
2843
|
mt: "5",
|
|
2822
2844
|
width: "100%",
|
|
2823
2845
|
children: [
|
|
2824
|
-
/* @__PURE__ */ (0,
|
|
2825
|
-
/* @__PURE__ */ (0,
|
|
2826
|
-
/* @__PURE__ */ (0,
|
|
2827
|
-
/* @__PURE__ */ (0,
|
|
2846
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
2847
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", {}),
|
|
2848
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
2849
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
2828
2850
|
TimeSelect,
|
|
2829
2851
|
{
|
|
2830
2852
|
onValueChange: onChangeStartTime,
|
|
@@ -2832,8 +2854,8 @@ function EditCoachingTime(props) {
|
|
|
2832
2854
|
value: values.startTime
|
|
2833
2855
|
}
|
|
2834
2856
|
),
|
|
2835
|
-
/* @__PURE__ */ (0,
|
|
2836
|
-
/* @__PURE__ */ (0,
|
|
2857
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes39.Separator, {}) }),
|
|
2858
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
2837
2859
|
TimeSelect,
|
|
2838
2860
|
{
|
|
2839
2861
|
onValueChange: onChangeEndTime,
|
|
@@ -2841,36 +2863,36 @@ function EditCoachingTime(props) {
|
|
|
2841
2863
|
value: values.endTime
|
|
2842
2864
|
}
|
|
2843
2865
|
),
|
|
2844
|
-
/* @__PURE__ */ (0,
|
|
2866
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
2845
2867
|
]
|
|
2846
2868
|
}
|
|
2847
2869
|
),
|
|
2848
|
-
/* @__PURE__ */ (0,
|
|
2849
|
-
/* @__PURE__ */ (0,
|
|
2850
|
-
/* @__PURE__ */ (0,
|
|
2870
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
2871
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2872
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2851
2873
|
] })
|
|
2852
2874
|
] }) });
|
|
2853
2875
|
}
|
|
2854
2876
|
|
|
2855
2877
|
// src/app/platform/edit-service-type.tsx
|
|
2856
|
-
var
|
|
2878
|
+
var import_react53 = require("react");
|
|
2857
2879
|
|
|
2858
2880
|
// src/app/platform/on-offline-radio-card.tsx
|
|
2859
2881
|
var import_react_icons11 = require("@radix-ui/react-icons");
|
|
2860
|
-
var
|
|
2882
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
2861
2883
|
var SERVICE_TYPE = {
|
|
2862
2884
|
onlineCoaching: "onlineCoaching",
|
|
2863
2885
|
offlineCoaching: "offlineCoaching"
|
|
2864
2886
|
};
|
|
2865
2887
|
var breakpoint = "sm";
|
|
2866
2888
|
function HideSmallBox(props) {
|
|
2867
|
-
return /* @__PURE__ */ (0,
|
|
2889
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
2868
2890
|
}
|
|
2869
2891
|
function OnOfflineRadioCard(props) {
|
|
2870
2892
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
2871
2893
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
2872
2894
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
2873
|
-
return /* @__PURE__ */ (0,
|
|
2895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
2874
2896
|
RadioButtonCard.Root,
|
|
2875
2897
|
__spreadProps(__spreadValues({
|
|
2876
2898
|
RadioWrapper: Wrapper,
|
|
@@ -2879,13 +2901,13 @@ function OnOfflineRadioCard(props) {
|
|
|
2879
2901
|
justify
|
|
2880
2902
|
}, props), {
|
|
2881
2903
|
children: [
|
|
2882
|
-
/* @__PURE__ */ (0,
|
|
2883
|
-
/* @__PURE__ */ (0,
|
|
2884
|
-
/* @__PURE__ */ (0,
|
|
2904
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2905
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_react_icons11.GlobeIcon, {}) }),
|
|
2906
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
2885
2907
|
] }) }),
|
|
2886
|
-
/* @__PURE__ */ (0,
|
|
2887
|
-
/* @__PURE__ */ (0,
|
|
2888
|
-
/* @__PURE__ */ (0,
|
|
2908
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2909
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_react_icons11.BackpackIcon, {}) }),
|
|
2910
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
2889
2911
|
] }) })
|
|
2890
2912
|
]
|
|
2891
2913
|
})
|
|
@@ -2893,18 +2915,18 @@ function OnOfflineRadioCard(props) {
|
|
|
2893
2915
|
}
|
|
2894
2916
|
|
|
2895
2917
|
// src/app/platform/edit-service-type.tsx
|
|
2896
|
-
var
|
|
2918
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
2897
2919
|
function EditServiceType(props) {
|
|
2898
2920
|
const { defaultServiceType, onClickCancel } = props;
|
|
2899
|
-
const [sessionType, setSessionType] = (0,
|
|
2921
|
+
const [sessionType, setSessionType] = (0, import_react53.useState)(
|
|
2900
2922
|
defaultServiceType
|
|
2901
2923
|
);
|
|
2902
|
-
const onClickSave = (0,
|
|
2924
|
+
const onClickSave = (0, import_react53.useCallback)(() => {
|
|
2903
2925
|
var _a;
|
|
2904
2926
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
2905
2927
|
}, [props, sessionType]);
|
|
2906
|
-
return /* @__PURE__ */ (0,
|
|
2907
|
-
/* @__PURE__ */ (0,
|
|
2928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes6.Box, { children: [
|
|
2929
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
2908
2930
|
Typo,
|
|
2909
2931
|
{
|
|
2910
2932
|
as: "p",
|
|
@@ -2914,16 +2936,16 @@ function EditServiceType(props) {
|
|
|
2914
2936
|
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"
|
|
2915
2937
|
}
|
|
2916
2938
|
),
|
|
2917
|
-
/* @__PURE__ */ (0,
|
|
2918
|
-
/* @__PURE__ */ (0,
|
|
2919
|
-
/* @__PURE__ */ (0,
|
|
2920
|
-
/* @__PURE__ */ (0,
|
|
2939
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
2940
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
2941
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2942
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2921
2943
|
] })
|
|
2922
2944
|
] });
|
|
2923
2945
|
}
|
|
2924
2946
|
|
|
2925
2947
|
// src/app/platform/session-card.tsx
|
|
2926
|
-
var
|
|
2948
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
2927
2949
|
var preventDefault2 = (e) => {
|
|
2928
2950
|
e.preventDefault();
|
|
2929
2951
|
};
|
|
@@ -2953,33 +2975,33 @@ function SessionCard(props) {
|
|
|
2953
2975
|
"endAt",
|
|
2954
2976
|
"sessionType"
|
|
2955
2977
|
]);
|
|
2956
|
-
const renderEditButton = (0,
|
|
2957
|
-
return /* @__PURE__ */ (0,
|
|
2978
|
+
const renderEditButton = (0, import_react54.useCallback)(() => {
|
|
2979
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
2958
2980
|
}, []);
|
|
2959
|
-
const sessionTimeStr = (0,
|
|
2981
|
+
const sessionTimeStr = (0, import_react54.useMemo)(() => {
|
|
2960
2982
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
2961
2983
|
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")}`;
|
|
2962
2984
|
}, [startAt, endAt]);
|
|
2963
|
-
return /* @__PURE__ */ (0,
|
|
2964
|
-
/* @__PURE__ */ (0,
|
|
2965
|
-
/* @__PURE__ */ (0,
|
|
2985
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2986
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
2987
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
2966
2988
|
TitleExtra,
|
|
2967
|
-
error ? /* @__PURE__ */ (0,
|
|
2989
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
2968
2990
|
] }),
|
|
2969
|
-
/* @__PURE__ */ (0,
|
|
2970
|
-
/* @__PURE__ */ (0,
|
|
2971
|
-
/* @__PURE__ */ (0,
|
|
2972
|
-
/* @__PURE__ */ (0,
|
|
2991
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes15.DataList.Root, { children: [
|
|
2992
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2993
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
2994
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2973
2995
|
sessionTimeStr,
|
|
2974
|
-
editable ? /* @__PURE__ */ (0,
|
|
2975
|
-
/* @__PURE__ */ (0,
|
|
2976
|
-
/* @__PURE__ */ (0,
|
|
2996
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(Dialog.Root, { children: [
|
|
2997
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2998
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
2977
2999
|
Dialog.Content,
|
|
2978
3000
|
{
|
|
2979
3001
|
onOpenAutoFocus: preventDefault2,
|
|
2980
3002
|
style: { overflow: "visible" },
|
|
2981
3003
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
2982
|
-
children: /* @__PURE__ */ (0,
|
|
3004
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
2983
3005
|
EditCoachingTime,
|
|
2984
3006
|
{
|
|
2985
3007
|
defaultEndAt: endAt,
|
|
@@ -2992,18 +3014,18 @@ function SessionCard(props) {
|
|
|
2992
3014
|
] }) : null
|
|
2993
3015
|
] })
|
|
2994
3016
|
] }),
|
|
2995
|
-
/* @__PURE__ */ (0,
|
|
2996
|
-
/* @__PURE__ */ (0,
|
|
2997
|
-
/* @__PURE__ */ (0,
|
|
2998
|
-
/* @__PURE__ */ (0,
|
|
3017
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
3018
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes15.DataList.Item, { children: [
|
|
3019
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
3020
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2999
3021
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
3000
|
-
editable ? /* @__PURE__ */ (0,
|
|
3001
|
-
/* @__PURE__ */ (0,
|
|
3002
|
-
/* @__PURE__ */ (0,
|
|
3022
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(Dialog.Root, { children: [
|
|
3023
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
3024
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
3003
3025
|
Dialog.Content,
|
|
3004
3026
|
{
|
|
3005
3027
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
3006
|
-
children: /* @__PURE__ */ (0,
|
|
3028
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
3007
3029
|
EditServiceType,
|
|
3008
3030
|
{
|
|
3009
3031
|
defaultServiceType: sessionType,
|
|
@@ -3015,33 +3037,33 @@ function SessionCard(props) {
|
|
|
3015
3037
|
] }) : null
|
|
3016
3038
|
] })
|
|
3017
3039
|
] }),
|
|
3018
|
-
/* @__PURE__ */ (0,
|
|
3040
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
3019
3041
|
] })
|
|
3020
3042
|
] })
|
|
3021
3043
|
] }) }));
|
|
3022
3044
|
}
|
|
3023
3045
|
|
|
3024
3046
|
// src/app/platform/coach-question-list.tsx
|
|
3025
|
-
var
|
|
3047
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
3026
3048
|
function QuestionItem({ question, answer }) {
|
|
3027
|
-
return /* @__PURE__ */ (0,
|
|
3028
|
-
/* @__PURE__ */ (0,
|
|
3029
|
-
/* @__PURE__ */ (0,
|
|
3049
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes6.Box, { children: [
|
|
3050
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
3051
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
3030
3052
|
] }, question);
|
|
3031
3053
|
}
|
|
3032
3054
|
function CoachQuestionList({
|
|
3033
3055
|
questions
|
|
3034
3056
|
}) {
|
|
3035
|
-
return /* @__PURE__ */ (0,
|
|
3036
|
-
return /* @__PURE__ */ (0,
|
|
3057
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
3058
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
3037
3059
|
}) });
|
|
3038
3060
|
}
|
|
3039
3061
|
|
|
3040
3062
|
// src/app/platform/reservation-card.tsx
|
|
3041
|
-
var
|
|
3063
|
+
var import_react55 = require("react");
|
|
3042
3064
|
var import_date_fns7 = require("date-fns");
|
|
3043
3065
|
var import_locale2 = require("date-fns/locale");
|
|
3044
|
-
var
|
|
3066
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
3045
3067
|
function ReservationCard(props) {
|
|
3046
3068
|
const {
|
|
3047
3069
|
sessionNumber,
|
|
@@ -3056,29 +3078,29 @@ function ReservationCard(props) {
|
|
|
3056
3078
|
onClickCancel,
|
|
3057
3079
|
onClickCompleteSession
|
|
3058
3080
|
} = props;
|
|
3059
|
-
const [editValues, setEditValues] = (0,
|
|
3081
|
+
const [editValues, setEditValues] = (0, import_react55.useState)({
|
|
3060
3082
|
date: props.defaultTime,
|
|
3061
3083
|
type: props.defaultType
|
|
3062
3084
|
});
|
|
3063
3085
|
const date = readonly ? defaultTime : editValues.date;
|
|
3064
3086
|
const type = readonly ? defaultType : editValues.type;
|
|
3065
|
-
const onClickSave = (0,
|
|
3087
|
+
const onClickSave = (0, import_react55.useCallback)(() => {
|
|
3066
3088
|
var _a;
|
|
3067
3089
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
|
|
3068
3090
|
}, [editValues, props]);
|
|
3069
|
-
const onClickReset = (0,
|
|
3091
|
+
const onClickReset = (0, import_react55.useCallback)(() => {
|
|
3070
3092
|
setEditValues({
|
|
3071
3093
|
date: defaultTime,
|
|
3072
3094
|
type: defaultType
|
|
3073
3095
|
});
|
|
3074
3096
|
}, [defaultTime, defaultType]);
|
|
3075
|
-
const ActionButtons = (0,
|
|
3097
|
+
const ActionButtons = (0, import_react55.useMemo)(() => {
|
|
3076
3098
|
if (readonly) {
|
|
3077
|
-
return /* @__PURE__ */ (0,
|
|
3099
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
3078
3100
|
}
|
|
3079
|
-
return /* @__PURE__ */ (0,
|
|
3101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
3080
3102
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
3081
|
-
const onChangeDate = (0,
|
|
3103
|
+
const onChangeDate = (0, import_react55.useCallback)((newDate) => {
|
|
3082
3104
|
if (!newDate) return;
|
|
3083
3105
|
setEditValues((prev) => {
|
|
3084
3106
|
return __spreadProps(__spreadValues({}, prev), {
|
|
@@ -3086,17 +3108,17 @@ function ReservationCard(props) {
|
|
|
3086
3108
|
});
|
|
3087
3109
|
});
|
|
3088
3110
|
}, []);
|
|
3089
|
-
const onChangeType = (0,
|
|
3111
|
+
const onChangeType = (0, import_react55.useCallback)((newType) => {
|
|
3090
3112
|
setEditValues((prev) => {
|
|
3091
3113
|
return __spreadProps(__spreadValues({}, prev), {
|
|
3092
3114
|
type: newType
|
|
3093
3115
|
});
|
|
3094
3116
|
});
|
|
3095
3117
|
}, []);
|
|
3096
|
-
const formatDate = (0,
|
|
3118
|
+
const formatDate = (0, import_react55.useCallback)((v) => {
|
|
3097
3119
|
return (0, import_date_fns7.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C(EEE) aa h:mm", { locale: import_locale2.ko });
|
|
3098
3120
|
}, []);
|
|
3099
|
-
(0,
|
|
3121
|
+
(0, import_react55.useEffect)(() => {
|
|
3100
3122
|
if (!minTime || !editValues.date || readonly) return;
|
|
3101
3123
|
if (editValues.date < minTime) {
|
|
3102
3124
|
import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -3107,7 +3129,7 @@ function ReservationCard(props) {
|
|
|
3107
3129
|
});
|
|
3108
3130
|
}
|
|
3109
3131
|
}, [editValues, minTime, readonly]);
|
|
3110
|
-
(0,
|
|
3132
|
+
(0, import_react55.useEffect)(() => {
|
|
3111
3133
|
if (!maxTime || !editValues.date || readonly) return;
|
|
3112
3134
|
if (editValues.date > maxTime) {
|
|
3113
3135
|
import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -3118,39 +3140,39 @@ function ReservationCard(props) {
|
|
|
3118
3140
|
});
|
|
3119
3141
|
}
|
|
3120
3142
|
}, [editValues, maxTime, readonly]);
|
|
3121
|
-
return /* @__PURE__ */ (0,
|
|
3143
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
3122
3144
|
Card,
|
|
3123
3145
|
{
|
|
3124
3146
|
error: Boolean(error),
|
|
3125
3147
|
size: "3",
|
|
3126
3148
|
style: { overflow: "visible", contain: "initial" },
|
|
3127
3149
|
children: [
|
|
3128
|
-
/* @__PURE__ */ (0,
|
|
3129
|
-
/* @__PURE__ */ (0,
|
|
3150
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
3151
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
3130
3152
|
import_themes23.Grid,
|
|
3131
3153
|
{
|
|
3132
3154
|
align: "center",
|
|
3133
3155
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
3134
3156
|
gapY: "2",
|
|
3135
3157
|
children: [
|
|
3136
|
-
/* @__PURE__ */ (0,
|
|
3137
|
-
/* @__PURE__ */ (0,
|
|
3158
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
3159
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(Heading2, { variant: "heading4", children: [
|
|
3138
3160
|
customerName || "-",
|
|
3139
3161
|
"\uB2D8 ",
|
|
3140
3162
|
sessionNumber || "-",
|
|
3141
3163
|
"\uD68C\uCC28 \uC138\uC158"
|
|
3142
3164
|
] }),
|
|
3143
|
-
/* @__PURE__ */ (0,
|
|
3165
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
3144
3166
|
] }),
|
|
3145
|
-
error ? /* @__PURE__ */ (0,
|
|
3167
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
3146
3168
|
]
|
|
3147
3169
|
}
|
|
3148
3170
|
),
|
|
3149
|
-
/* @__PURE__ */ (0,
|
|
3171
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
3150
3172
|
] }),
|
|
3151
|
-
/* @__PURE__ */ (0,
|
|
3152
|
-
/* @__PURE__ */ (0,
|
|
3153
|
-
/* @__PURE__ */ (0,
|
|
3173
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3174
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
3175
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
3154
3176
|
DatePickerButton,
|
|
3155
3177
|
{
|
|
3156
3178
|
disabled: readonly,
|
|
@@ -3164,8 +3186,8 @@ function ReservationCard(props) {
|
|
|
3164
3186
|
size: "large"
|
|
3165
3187
|
}
|
|
3166
3188
|
),
|
|
3167
|
-
/* @__PURE__ */ (0,
|
|
3168
|
-
/* @__PURE__ */ (0,
|
|
3189
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
|
|
3190
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
3169
3191
|
OnOfflineRadioCard,
|
|
3170
3192
|
{
|
|
3171
3193
|
disabled: readonly,
|
|
@@ -3174,8 +3196,8 @@ function ReservationCard(props) {
|
|
|
3174
3196
|
value: type
|
|
3175
3197
|
}
|
|
3176
3198
|
),
|
|
3177
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
3178
|
-
/* @__PURE__ */ (0,
|
|
3199
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
3200
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
3179
3201
|
Button,
|
|
3180
3202
|
{
|
|
3181
3203
|
color: "gray",
|
|
@@ -3185,10 +3207,10 @@ function ReservationCard(props) {
|
|
|
3185
3207
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
3186
3208
|
}
|
|
3187
3209
|
),
|
|
3188
|
-
/* @__PURE__ */ (0,
|
|
3210
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
3189
3211
|
] })
|
|
3190
3212
|
] }) }),
|
|
3191
|
-
readonly ? /* @__PURE__ */ (0,
|
|
3213
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
3192
3214
|
import_themes6.Box,
|
|
3193
3215
|
{
|
|
3194
3216
|
mt: "5",
|
|
@@ -3196,14 +3218,14 @@ function ReservationCard(props) {
|
|
|
3196
3218
|
py: "4",
|
|
3197
3219
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
3198
3220
|
width: "100%",
|
|
3199
|
-
children: /* @__PURE__ */ (0,
|
|
3200
|
-
/* @__PURE__ */ (0,
|
|
3221
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
3222
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(Typo, { children: [
|
|
3201
3223
|
sessionNumber || "-",
|
|
3202
3224
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
3203
3225
|
] }),
|
|
3204
|
-
/* @__PURE__ */ (0,
|
|
3226
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
3205
3227
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
3206
|
-
/* @__PURE__ */ (0,
|
|
3228
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
3207
3229
|
] })
|
|
3208
3230
|
] })
|
|
3209
3231
|
}
|
|
@@ -3214,22 +3236,22 @@ function ReservationCard(props) {
|
|
|
3214
3236
|
}
|
|
3215
3237
|
|
|
3216
3238
|
// src/app/platform/session-review-simple-read.tsx
|
|
3217
|
-
var
|
|
3218
|
-
var
|
|
3239
|
+
var import_react56 = require("react");
|
|
3240
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
3219
3241
|
function SubTitleWrapper({
|
|
3220
3242
|
children,
|
|
3221
3243
|
title
|
|
3222
3244
|
}) {
|
|
3223
|
-
return /* @__PURE__ */ (0,
|
|
3224
|
-
/* @__PURE__ */ (0,
|
|
3225
|
-
/* @__PURE__ */ (0,
|
|
3245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
3246
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
3247
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes6.Box, { children })
|
|
3226
3248
|
] });
|
|
3227
3249
|
}
|
|
3228
3250
|
function SessionReviewSimpleRead({
|
|
3229
3251
|
helpfulness,
|
|
3230
3252
|
review
|
|
3231
3253
|
}) {
|
|
3232
|
-
const helpfulnessMeta = (0,
|
|
3254
|
+
const helpfulnessMeta = (0, import_react56.useMemo)(() => {
|
|
3233
3255
|
if (helpfulness) {
|
|
3234
3256
|
return {
|
|
3235
3257
|
text: "\uB124",
|
|
@@ -3247,22 +3269,22 @@ function SessionReviewSimpleRead({
|
|
|
3247
3269
|
color: "error"
|
|
3248
3270
|
};
|
|
3249
3271
|
}, [helpfulness]);
|
|
3250
|
-
return /* @__PURE__ */ (0,
|
|
3251
|
-
/* @__PURE__ */ (0,
|
|
3252
|
-
/* @__PURE__ */ (0,
|
|
3272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3273
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.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_runtime111.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
3274
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
3253
3275
|
] }) });
|
|
3254
3276
|
}
|
|
3255
3277
|
|
|
3256
3278
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
3257
|
-
var
|
|
3279
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
3258
3280
|
function SectionWrapper({
|
|
3259
3281
|
title,
|
|
3260
3282
|
children
|
|
3261
3283
|
}) {
|
|
3262
|
-
return /* @__PURE__ */ (0,
|
|
3263
|
-
/* @__PURE__ */ (0,
|
|
3264
|
-
/* @__PURE__ */ (0,
|
|
3265
|
-
/* @__PURE__ */ (0,
|
|
3284
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes6.Box, { children: [
|
|
3285
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
3286
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
3287
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes39.Separator, { size: "4" })
|
|
3266
3288
|
] }),
|
|
3267
3289
|
children
|
|
3268
3290
|
] });
|
|
@@ -3272,22 +3294,22 @@ function SessionUserInfoDetail({
|
|
|
3272
3294
|
session,
|
|
3273
3295
|
onClickCopy
|
|
3274
3296
|
}) {
|
|
3275
|
-
return /* @__PURE__ */ (0,
|
|
3276
|
-
/* @__PURE__ */ (0,
|
|
3297
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
3298
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
3277
3299
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
3278
3300
|
) }) }),
|
|
3279
|
-
/* @__PURE__ */ (0,
|
|
3301
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
3280
3302
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
3281
3303
|
) }) })
|
|
3282
3304
|
] });
|
|
3283
3305
|
}
|
|
3284
3306
|
|
|
3285
3307
|
// src/app/platform/report-card.tsx
|
|
3286
|
-
var
|
|
3287
|
-
var
|
|
3308
|
+
var import_react57 = require("react");
|
|
3309
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
3288
3310
|
function ReportCard(props) {
|
|
3289
3311
|
const { title, file, status, subtitle } = props;
|
|
3290
|
-
const onClickDownload = (0,
|
|
3312
|
+
const onClickDownload = (0, import_react57.useCallback)(() => {
|
|
3291
3313
|
if (!file) return;
|
|
3292
3314
|
const { url, fileName } = file;
|
|
3293
3315
|
const link = document.createElement("a");
|
|
@@ -3299,24 +3321,24 @@ function ReportCard(props) {
|
|
|
3299
3321
|
document.body.removeChild(link);
|
|
3300
3322
|
}, [file]);
|
|
3301
3323
|
if (status) {
|
|
3302
|
-
return /* @__PURE__ */ (0,
|
|
3303
|
-
/* @__PURE__ */ (0,
|
|
3324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
3325
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3304
3326
|
status
|
|
3305
3327
|
] }) });
|
|
3306
3328
|
}
|
|
3307
|
-
return /* @__PURE__ */ (0,
|
|
3329
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
3308
3330
|
import_themes22.Flex,
|
|
3309
3331
|
{
|
|
3310
3332
|
direction: { initial: "column", xs: "row" },
|
|
3311
3333
|
gapY: "2",
|
|
3312
3334
|
justify: "between",
|
|
3313
3335
|
children: [
|
|
3314
|
-
/* @__PURE__ */ (0,
|
|
3315
|
-
/* @__PURE__ */ (0,
|
|
3316
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
3336
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes6.Box, { children: [
|
|
3337
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3338
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
3317
3339
|
] }),
|
|
3318
|
-
/* @__PURE__ */ (0,
|
|
3319
|
-
/* @__PURE__ */ (0,
|
|
3340
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
3341
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
3320
3342
|
file == null ? void 0 : file.buttonName
|
|
3321
3343
|
] }) }, file == null ? void 0 : file.url)
|
|
3322
3344
|
]
|
|
@@ -3325,9 +3347,9 @@ function ReportCard(props) {
|
|
|
3325
3347
|
}
|
|
3326
3348
|
|
|
3327
3349
|
// src/app/platform/contents-card.tsx
|
|
3328
|
-
var
|
|
3329
|
-
var
|
|
3330
|
-
var ContentsCard = (0,
|
|
3350
|
+
var import_react58 = require("react");
|
|
3351
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
3352
|
+
var ContentsCard = (0, import_react58.forwardRef)(
|
|
3331
3353
|
({
|
|
3332
3354
|
title,
|
|
3333
3355
|
description,
|
|
@@ -3337,7 +3359,7 @@ var ContentsCard = (0, import_react55.forwardRef)(
|
|
|
3337
3359
|
onClickCard,
|
|
3338
3360
|
isLoading = false
|
|
3339
3361
|
}, ref) => {
|
|
3340
|
-
return /* @__PURE__ */ (0,
|
|
3362
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
|
|
3341
3363
|
Card,
|
|
3342
3364
|
{
|
|
3343
3365
|
onClick: onClickCard,
|
|
@@ -3350,7 +3372,7 @@ var ContentsCard = (0, import_react55.forwardRef)(
|
|
|
3350
3372
|
maxHeight: "450px"
|
|
3351
3373
|
},
|
|
3352
3374
|
children: [
|
|
3353
|
-
/* @__PURE__ */ (0,
|
|
3375
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
3354
3376
|
import_themes6.Box,
|
|
3355
3377
|
{
|
|
3356
3378
|
height: "210px",
|
|
@@ -3362,12 +3384,12 @@ var ContentsCard = (0, import_react55.forwardRef)(
|
|
|
3362
3384
|
width: "100%"
|
|
3363
3385
|
}
|
|
3364
3386
|
) }) }),
|
|
3365
|
-
/* @__PURE__ */ (0,
|
|
3366
|
-
/* @__PURE__ */ (0,
|
|
3367
|
-
/* @__PURE__ */ (0,
|
|
3368
|
-
/* @__PURE__ */ (0,
|
|
3387
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
3388
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes6.Box, { children: [
|
|
3389
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
3390
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
3369
3391
|
] }),
|
|
3370
|
-
/* @__PURE__ */ (0,
|
|
3392
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
|
|
3371
3393
|
import_themes23.Grid,
|
|
3372
3394
|
{
|
|
3373
3395
|
align: "center",
|
|
@@ -3377,10 +3399,10 @@ var ContentsCard = (0, import_react55.forwardRef)(
|
|
|
3377
3399
|
style: { marginTop: "auto" },
|
|
3378
3400
|
width: "100%",
|
|
3379
3401
|
children: [
|
|
3380
|
-
/* @__PURE__ */ (0,
|
|
3381
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
3382
|
-
/* @__PURE__ */ (0,
|
|
3383
|
-
/* @__PURE__ */ (0,
|
|
3402
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
3403
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(DropdownMenu.Root, { children: [
|
|
3404
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
3405
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
3384
3406
|
DropdownMenu.Item,
|
|
3385
3407
|
{
|
|
3386
3408
|
onClick: (e) => {
|
|
@@ -3404,7 +3426,7 @@ var ContentsCard = (0, import_react55.forwardRef)(
|
|
|
3404
3426
|
ContentsCard.displayName = "ContentsCard";
|
|
3405
3427
|
|
|
3406
3428
|
// src/app/platform/curriculum-card.tsx
|
|
3407
|
-
var
|
|
3429
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
3408
3430
|
function CurriculumCard(props) {
|
|
3409
3431
|
const {
|
|
3410
3432
|
title,
|
|
@@ -3415,7 +3437,7 @@ function CurriculumCard(props) {
|
|
|
3415
3437
|
bgColor,
|
|
3416
3438
|
onClick
|
|
3417
3439
|
} = props;
|
|
3418
|
-
return /* @__PURE__ */ (0,
|
|
3440
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
|
|
3419
3441
|
import_themes23.Grid,
|
|
3420
3442
|
{
|
|
3421
3443
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -3424,7 +3446,7 @@ function CurriculumCard(props) {
|
|
|
3424
3446
|
onClick,
|
|
3425
3447
|
style: { cursor: "pointer" },
|
|
3426
3448
|
children: [
|
|
3427
|
-
/* @__PURE__ */ (0,
|
|
3449
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
3428
3450
|
import_themes6.Box,
|
|
3429
3451
|
{
|
|
3430
3452
|
height: "165px",
|
|
@@ -3439,32 +3461,32 @@ function CurriculumCard(props) {
|
|
|
3439
3461
|
backgroundAttachment: "local"
|
|
3440
3462
|
},
|
|
3441
3463
|
width: "100%",
|
|
3442
|
-
children: /* @__PURE__ */ (0,
|
|
3464
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
3443
3465
|
}
|
|
3444
3466
|
),
|
|
3445
|
-
/* @__PURE__ */ (0,
|
|
3446
|
-
/* @__PURE__ */ (0,
|
|
3447
|
-
/* @__PURE__ */ (0,
|
|
3448
|
-
/* @__PURE__ */ (0,
|
|
3467
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
3468
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
3469
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3470
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
3449
3471
|
Badge,
|
|
3450
3472
|
{
|
|
3451
3473
|
size: "medium",
|
|
3452
3474
|
style: { justifySelf: "flex-start" },
|
|
3453
3475
|
variant: "outline",
|
|
3454
|
-
children: /* @__PURE__ */ (0,
|
|
3455
|
-
/* @__PURE__ */ (0,
|
|
3476
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
3477
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_icons2.TimerIcon, {}),
|
|
3456
3478
|
runningTime
|
|
3457
3479
|
] })
|
|
3458
3480
|
}
|
|
3459
3481
|
)
|
|
3460
3482
|
] }),
|
|
3461
|
-
/* @__PURE__ */ (0,
|
|
3462
|
-
return /* @__PURE__ */ (0,
|
|
3483
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
3484
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
3463
3485
|
}) }) }),
|
|
3464
|
-
/* @__PURE__ */ (0,
|
|
3465
|
-
/* @__PURE__ */ (0,
|
|
3466
|
-
/* @__PURE__ */ (0,
|
|
3467
|
-
/* @__PURE__ */ (0,
|
|
3486
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes39.Separator, { size: "4" }),
|
|
3487
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
3488
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
3489
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
3468
3490
|
] })
|
|
3469
3491
|
] })
|
|
3470
3492
|
]
|