@tipp/ui 2.3.17 → 2.3.19
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 +200 -195
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +94 -93
- package/dist/app/platform/coach-question-list.js +29 -29
- package/dist/app/platform/contents-card.js +29 -29
- package/dist/app/platform/curriculum-card.js +6 -6
- package/dist/app/platform/edit-coaching-time.cjs +29 -24
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +72 -71
- package/dist/app/platform/edit-service-type.cjs +25 -20
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +73 -72
- package/dist/app/platform/goal-manage-card-edit.cjs +32 -27
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +72 -71
- package/dist/app/platform/goal-manage-card-read.js +29 -29
- package/dist/app/platform/on-offline-radio-card.cjs +38 -33
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +72 -71
- package/dist/app/platform/report-card.js +29 -29
- package/dist/app/platform/reservation-card.cjs +48 -43
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +73 -72
- package/dist/app/platform/session-card.cjs +75 -70
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +75 -74
- package/dist/app/platform/session-review-simple-read.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +32 -32
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +29 -29
- package/dist/app/platform/userInfos/session-user-info-detail.js +29 -29
- package/dist/app/platform/userInfos/utils.js +28 -28
- package/dist/atoms/bullet-text.js +2 -2
- package/dist/atoms/dialog.js +2 -2
- package/dist/atoms/field-error-wrapper.js +2 -2
- package/dist/atoms/index.js +62 -62
- package/dist/atoms/list.js +2 -2
- package/dist/atoms/pagination.js +3 -3
- package/dist/chunk-232ZBMFV.js +196 -0
- package/dist/chunk-232ZBMFV.js.map +1 -0
- package/dist/chunk-24572XRX.js +140 -0
- package/dist/chunk-24572XRX.js.map +1 -0
- package/dist/chunk-2O2CKXEZ.js +69 -0
- package/dist/chunk-2O2CKXEZ.js.map +1 -0
- package/dist/chunk-2VFMVVWT.js +63 -0
- package/dist/chunk-2VFMVVWT.js.map +1 -0
- package/dist/chunk-2XNMU67K.js +69 -0
- package/dist/chunk-2XNMU67K.js.map +1 -0
- package/dist/chunk-2YBJBKBB.js +82 -0
- package/dist/chunk-2YBJBKBB.js.map +1 -0
- package/dist/chunk-34XTOQID.js +140 -0
- package/dist/chunk-34XTOQID.js.map +1 -0
- package/dist/chunk-367ZYIOP.js +89 -0
- package/dist/chunk-367ZYIOP.js.map +1 -0
- package/dist/chunk-3A3VE6SX.js +160 -0
- package/dist/chunk-3A3VE6SX.js.map +1 -0
- package/dist/chunk-3A45CD76.js +196 -0
- package/dist/chunk-3A45CD76.js.map +1 -0
- package/dist/chunk-3LEW5RYJ.js +163 -0
- package/dist/chunk-3LEW5RYJ.js.map +1 -0
- package/dist/chunk-3MCSM3WD.js +163 -0
- package/dist/chunk-3MCSM3WD.js.map +1 -0
- package/dist/chunk-3MG2RPYN.js +163 -0
- package/dist/chunk-3MG2RPYN.js.map +1 -0
- package/dist/chunk-4JYSUW7I.js +151 -0
- package/dist/chunk-4JYSUW7I.js.map +1 -0
- package/dist/chunk-4SFBZJWH.js +140 -0
- package/dist/chunk-4SFBZJWH.js.map +1 -0
- package/dist/chunk-5IQ4474Z.js +89 -0
- package/dist/chunk-5IQ4474Z.js.map +1 -0
- package/dist/chunk-5RMPQM6F.js +163 -0
- package/dist/chunk-5RMPQM6F.js.map +1 -0
- package/dist/chunk-5TPNUG3Y.js +63 -0
- package/dist/chunk-5TPNUG3Y.js.map +1 -0
- package/dist/chunk-5UUCPFYY.js +140 -0
- package/dist/chunk-5UUCPFYY.js.map +1 -0
- package/dist/chunk-64JB2NO2.js +51 -0
- package/dist/chunk-64JB2NO2.js.map +1 -0
- package/dist/chunk-6F63WEDJ.js +63 -0
- package/dist/chunk-6F63WEDJ.js.map +1 -0
- package/dist/chunk-6LZWYVNE.js +160 -0
- package/dist/chunk-6LZWYVNE.js.map +1 -0
- package/dist/chunk-6PJ7QIPK.js +140 -0
- package/dist/chunk-6PJ7QIPK.js.map +1 -0
- package/dist/chunk-6UCGUA3B.js +30 -0
- package/dist/chunk-6UCGUA3B.js.map +1 -0
- package/dist/chunk-7AGAGV4E.js +69 -0
- package/dist/chunk-7AGAGV4E.js.map +1 -0
- package/dist/chunk-7AZNNMJF.js +129 -0
- package/dist/chunk-7AZNNMJF.js.map +1 -0
- package/dist/chunk-7BAQZVH3.js +152 -0
- package/dist/chunk-7BAQZVH3.js.map +1 -0
- package/dist/chunk-7IFK5DP5.js +69 -0
- package/dist/chunk-7IFK5DP5.js.map +1 -0
- package/dist/chunk-7QDV6YRH.js +196 -0
- package/dist/chunk-7QDV6YRH.js.map +1 -0
- package/dist/chunk-7RB2YZCU.js +159 -0
- package/dist/chunk-7RB2YZCU.js.map +1 -0
- package/dist/chunk-7XG4CK7Y.js +89 -0
- package/dist/chunk-7XG4CK7Y.js.map +1 -0
- package/dist/chunk-A5SSQHU7.js +135 -0
- package/dist/chunk-A5SSQHU7.js.map +1 -0
- package/dist/chunk-A5VFSD3T.js +129 -0
- package/dist/chunk-A5VFSD3T.js.map +1 -0
- package/dist/chunk-B5U2JBLX.js +87 -0
- package/dist/chunk-B5U2JBLX.js.map +1 -0
- package/dist/chunk-BAFUUZ5V.js +163 -0
- package/dist/chunk-BAFUUZ5V.js.map +1 -0
- package/dist/chunk-BDJUL3JV.js +50 -0
- package/dist/chunk-BDJUL3JV.js.map +1 -0
- package/dist/chunk-BI5GANUG.js +75 -0
- package/dist/chunk-BI5GANUG.js.map +1 -0
- package/dist/chunk-BT4BMBJC.js +163 -0
- package/dist/chunk-BT4BMBJC.js.map +1 -0
- package/dist/chunk-BV3ZL4VC.js +196 -0
- package/dist/chunk-BV3ZL4VC.js.map +1 -0
- package/dist/chunk-BWWSZLTV.js +43 -0
- package/dist/chunk-BWWSZLTV.js.map +1 -0
- package/dist/chunk-C5MM3PUD.js +89 -0
- package/dist/chunk-C5MM3PUD.js.map +1 -0
- package/dist/chunk-C5YDIFWN.js +129 -0
- package/dist/chunk-C5YDIFWN.js.map +1 -0
- package/dist/chunk-CC4LSJRN.js +144 -0
- package/dist/chunk-CC4LSJRN.js.map +1 -0
- package/dist/chunk-CIQ7ELE6.js +151 -0
- package/dist/chunk-CIQ7ELE6.js.map +1 -0
- package/dist/chunk-CSLHE7O6.js +196 -0
- package/dist/chunk-CSLHE7O6.js.map +1 -0
- package/dist/chunk-CTCLKPUM.js +50 -0
- package/dist/chunk-CTCLKPUM.js.map +1 -0
- package/dist/chunk-D7NY3IWA.js +152 -0
- package/dist/chunk-D7NY3IWA.js.map +1 -0
- package/dist/chunk-DEAVEZQM.js +1 -0
- package/dist/chunk-DEAVEZQM.js.map +1 -0
- package/dist/chunk-DL5EXP6Q.js +129 -0
- package/dist/chunk-DL5EXP6Q.js.map +1 -0
- package/dist/chunk-EEXQP6FN.js +129 -0
- package/dist/chunk-EEXQP6FN.js.map +1 -0
- package/dist/chunk-ENVZEWF6.js +98 -0
- package/dist/chunk-ENVZEWF6.js.map +1 -0
- package/dist/chunk-EOPCVKLK.js +69 -0
- package/dist/chunk-EOPCVKLK.js.map +1 -0
- package/dist/chunk-FJYLZOAR.js +140 -0
- package/dist/chunk-FJYLZOAR.js.map +1 -0
- package/dist/chunk-FSJP6HQY.js +49 -0
- package/dist/chunk-FSJP6HQY.js.map +1 -0
- package/dist/chunk-FVAZZ46M.js +69 -0
- package/dist/chunk-FVAZZ46M.js.map +1 -0
- package/dist/chunk-GFRV5VDJ.js +132 -0
- package/dist/chunk-GFRV5VDJ.js.map +1 -0
- package/dist/chunk-H53J2DZE.js +157 -0
- package/dist/chunk-H53J2DZE.js.map +1 -0
- package/dist/chunk-H6UISOMV.js +50 -0
- package/dist/chunk-H6UISOMV.js.map +1 -0
- package/dist/chunk-HBQ6WF3C.js +196 -0
- package/dist/chunk-HBQ6WF3C.js.map +1 -0
- package/dist/chunk-HZ5LNRVL.js +101 -0
- package/dist/chunk-HZ5LNRVL.js.map +1 -0
- package/dist/chunk-I25D6CHU.js +50 -0
- package/dist/chunk-I25D6CHU.js.map +1 -0
- package/dist/chunk-I6ITAPUG.js +158 -0
- package/dist/chunk-I6ITAPUG.js.map +1 -0
- package/dist/chunk-IF4Q5NV4.js +129 -0
- package/dist/chunk-IF4Q5NV4.js.map +1 -0
- package/dist/chunk-IPEPHM2U.js +89 -0
- package/dist/chunk-IPEPHM2U.js.map +1 -0
- package/dist/chunk-IYVNZW3B.js +196 -0
- package/dist/chunk-IYVNZW3B.js.map +1 -0
- package/dist/chunk-J65X5ID3.js +136 -0
- package/dist/chunk-J65X5ID3.js.map +1 -0
- package/dist/chunk-J6D5FMYR.js +75 -0
- package/dist/chunk-J6D5FMYR.js.map +1 -0
- package/dist/chunk-JGM5HN2L.js +69 -0
- package/dist/chunk-JGM5HN2L.js.map +1 -0
- package/dist/chunk-K6PJ5GES.js +129 -0
- package/dist/chunk-K6PJ5GES.js.map +1 -0
- package/dist/chunk-KJC6WEFI.js +75 -0
- package/dist/chunk-KJC6WEFI.js.map +1 -0
- package/dist/chunk-LEIPUJCQ.js +75 -0
- package/dist/chunk-LEIPUJCQ.js.map +1 -0
- package/dist/chunk-LFISV2GU.js +160 -0
- package/dist/chunk-LFISV2GU.js.map +1 -0
- package/dist/chunk-LJO2266G.js +64 -0
- package/dist/chunk-LJO2266G.js.map +1 -0
- package/dist/chunk-LPOX4NKE.js +29 -0
- package/dist/chunk-LPOX4NKE.js.map +1 -0
- package/dist/chunk-LRTZTSV6.js +135 -0
- package/dist/chunk-LRTZTSV6.js.map +1 -0
- package/dist/chunk-M2DLW32Z.js +77 -0
- package/dist/chunk-M2DLW32Z.js.map +1 -0
- package/dist/chunk-MOITMVXZ.js +159 -0
- package/dist/chunk-MOITMVXZ.js.map +1 -0
- package/dist/chunk-MYGRIOQM.js +163 -0
- package/dist/chunk-MYGRIOQM.js.map +1 -0
- package/dist/chunk-N662YJXY.js +69 -0
- package/dist/chunk-N662YJXY.js.map +1 -0
- package/dist/chunk-N6LOS7L5.js +89 -0
- package/dist/chunk-N6LOS7L5.js.map +1 -0
- package/dist/chunk-NBVTF6TV.js +163 -0
- package/dist/chunk-NBVTF6TV.js.map +1 -0
- package/dist/chunk-NCCAFJJR.js +83 -0
- package/dist/chunk-NCCAFJJR.js.map +1 -0
- package/dist/chunk-NFI7WDJS.js +50 -0
- package/dist/chunk-NFI7WDJS.js.map +1 -0
- package/dist/chunk-NMOMXXLD.js +163 -0
- package/dist/chunk-NMOMXXLD.js.map +1 -0
- package/dist/chunk-NTJLECYY.js +37 -0
- package/dist/chunk-NTJLECYY.js.map +1 -0
- package/dist/chunk-NTWHDYJV.js +89 -0
- package/dist/chunk-NTWHDYJV.js.map +1 -0
- package/dist/chunk-NVQSH733.js +51 -0
- package/dist/chunk-NVQSH733.js.map +1 -0
- package/dist/chunk-ODHH7CFR.js +196 -0
- package/dist/chunk-ODHH7CFR.js.map +1 -0
- package/dist/chunk-OHSKOJ2Y.js +136 -0
- package/dist/chunk-OHSKOJ2Y.js.map +1 -0
- package/dist/chunk-OILH5J7Q.js +101 -0
- package/dist/chunk-OILH5J7Q.js.map +1 -0
- package/dist/chunk-OX5XYAZM.js +37 -0
- package/dist/chunk-OX5XYAZM.js.map +1 -0
- package/dist/chunk-P76FTCUF.js +64 -0
- package/dist/chunk-P76FTCUF.js.map +1 -0
- package/dist/chunk-PF3LVPOZ.js +87 -0
- package/dist/chunk-PF3LVPOZ.js.map +1 -0
- package/dist/chunk-PWF22OOK.js +64 -0
- package/dist/chunk-PWF22OOK.js.map +1 -0
- package/dist/chunk-QF22MRN6.js +152 -0
- package/dist/chunk-QF22MRN6.js.map +1 -0
- package/dist/chunk-QHAU3JHA.js +152 -0
- package/dist/chunk-QHAU3JHA.js.map +1 -0
- package/dist/chunk-QQTXIKFT.js +163 -0
- package/dist/chunk-QQTXIKFT.js.map +1 -0
- package/dist/chunk-QU5M7KZM.js +50 -0
- package/dist/chunk-QU5M7KZM.js.map +1 -0
- package/dist/chunk-RQFJZYKH.js +160 -0
- package/dist/chunk-RQFJZYKH.js.map +1 -0
- package/dist/chunk-RWK6HLWM.js +75 -0
- package/dist/chunk-RWK6HLWM.js.map +1 -0
- package/dist/chunk-RYEEDHML.js +64 -0
- package/dist/chunk-RYEEDHML.js.map +1 -0
- package/dist/chunk-SQIJY72J.js +69 -0
- package/dist/chunk-SQIJY72J.js.map +1 -0
- package/dist/chunk-SRU4OFM3.js +135 -0
- package/dist/chunk-SRU4OFM3.js.map +1 -0
- package/dist/chunk-SZ73GYOE.js +98 -0
- package/dist/chunk-SZ73GYOE.js.map +1 -0
- package/dist/chunk-T5EBUYAB.js +160 -0
- package/dist/chunk-T5EBUYAB.js.map +1 -0
- package/dist/chunk-THTRJNHI.js +159 -0
- package/dist/chunk-THTRJNHI.js.map +1 -0
- package/dist/chunk-TQ5AJKUH.js +64 -0
- package/dist/chunk-TQ5AJKUH.js.map +1 -0
- package/dist/chunk-UGCYMUQ4.js +89 -0
- package/dist/chunk-UGCYMUQ4.js.map +1 -0
- package/dist/chunk-UK7J2BOO.js +83 -0
- package/dist/chunk-UK7J2BOO.js.map +1 -0
- package/dist/chunk-V4GNPLLT.js +69 -0
- package/dist/chunk-V4GNPLLT.js.map +1 -0
- package/dist/chunk-VKMRA55P.js +144 -0
- package/dist/chunk-VKMRA55P.js.map +1 -0
- package/dist/chunk-VLGR5PZX.js +1 -0
- package/dist/chunk-VLGR5PZX.js.map +1 -0
- package/dist/chunk-VQGBP3JY.js +50 -0
- package/dist/chunk-VQGBP3JY.js.map +1 -0
- package/dist/chunk-WQRH5YGD.js +129 -0
- package/dist/chunk-WQRH5YGD.js.map +1 -0
- package/dist/chunk-WV4WWBKN.js +69 -0
- package/dist/chunk-WV4WWBKN.js.map +1 -0
- package/dist/chunk-X2MARIQ5.js +140 -0
- package/dist/chunk-X2MARIQ5.js.map +1 -0
- package/dist/chunk-X3J2UNWS.js +69 -0
- package/dist/chunk-X3J2UNWS.js.map +1 -0
- package/dist/chunk-X67ER3JU.js +69 -0
- package/dist/chunk-X67ER3JU.js.map +1 -0
- package/dist/chunk-X732NUWY.js +50 -0
- package/dist/chunk-X732NUWY.js.map +1 -0
- package/dist/chunk-X7QZ46BZ.js +63 -0
- package/dist/chunk-X7QZ46BZ.js.map +1 -0
- package/dist/chunk-XDPD6IWK.js +89 -0
- package/dist/chunk-XDPD6IWK.js.map +1 -0
- package/dist/chunk-XKWY6ZQM.js +196 -0
- package/dist/chunk-XKWY6ZQM.js.map +1 -0
- package/dist/chunk-XTU7VQ2V.js +158 -0
- package/dist/chunk-XTU7VQ2V.js.map +1 -0
- package/dist/chunk-XW3D3GLY.js +113 -0
- package/dist/chunk-XW3D3GLY.js.map +1 -0
- package/dist/chunk-Y6BK7ABB.js +1 -0
- package/dist/chunk-Y6BK7ABB.js.map +1 -0
- package/dist/chunk-YBO2LITL.js +163 -0
- package/dist/chunk-YBO2LITL.js.map +1 -0
- package/dist/chunk-YOADPBEF.js +129 -0
- package/dist/chunk-YOADPBEF.js.map +1 -0
- package/dist/chunk-YRCJG2BQ.js +163 -0
- package/dist/chunk-YRCJG2BQ.js.map +1 -0
- package/dist/chunk-YXGSOU62.js +129 -0
- package/dist/chunk-YXGSOU62.js.map +1 -0
- package/dist/chunk-Z2XF3EO2.js +75 -0
- package/dist/chunk-Z2XF3EO2.js.map +1 -0
- package/dist/chunk-ZFEXH655.js +144 -0
- package/dist/chunk-ZFEXH655.js.map +1 -0
- package/dist/chunk-ZKLZRBDG.js +163 -0
- package/dist/chunk-ZKLZRBDG.js.map +1 -0
- package/dist/context/index.js +5 -5
- package/dist/index.cjs +419 -283
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +154 -149
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +16 -16
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +9 -9
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +20 -20
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +22 -22
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +26 -26
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +8 -8
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +5 -5
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +4 -4
- package/dist/molecules/curriculumV2/curriculum-v2-layout.js +2 -2
- package/dist/molecules/curriculumV2/index.js +37 -37
- package/dist/molecules/date-picker/date-picker-button.js +6 -6
- package/dist/molecules/date-picker/index.js +5 -5
- package/dist/molecules/description-json-render.js +5 -5
- package/dist/molecules/download-card.js +2 -2
- package/dist/molecules/dynamic-field.js +5 -5
- package/dist/molecules/dynamic-form.js +6 -6
- package/dist/molecules/expand-table/index.js +4 -4
- package/dist/molecules/force-refresh.js +2 -2
- package/dist/molecules/ghost-post.js +4 -4
- package/dist/molecules/index.cjs +136 -0
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.d.cts +2 -0
- package/dist/molecules/index.d.ts +2 -0
- package/dist/molecules/index.js +70 -66
- package/dist/molecules/learning-post.js +5 -5
- package/dist/molecules/navigation.js +3 -3
- package/dist/molecules/one-on-one-guide-list.js +3 -3
- package/dist/molecules/stepper.js +4 -4
- package/dist/molecules/tag-selector.js +5 -5
- package/dist/molecules/training-info-guideline.cjs +569 -0
- package/dist/molecules/training-info-guideline.cjs.map +1 -0
- package/dist/molecules/training-info-guideline.d.cts +13 -0
- package/dist/molecules/training-info-guideline.d.ts +13 -0
- package/dist/molecules/training-info-guideline.js +22 -0
- package/dist/molecules/training-info-guideline.js.map +1 -0
- package/dist/types/curriculumContents.type.cjs.map +1 -1
- package/dist/types/dynamic-form-schema-generated.cjs.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +2 -1
- package/dist/types/training-info-guideline-schema-generated.cjs +19 -0
- package/dist/types/training-info-guideline-schema-generated.cjs.map +1 -0
- package/dist/types/training-info-guideline-schema-generated.d.cts +22 -0
- package/dist/types/training-info-guideline-schema-generated.d.ts +22 -0
- package/dist/types/training-info-guideline-schema-generated.js +2 -0
- package/dist/types/training-info-guideline-schema-generated.js.map +1 -0
- package/package.json +4 -4
- package/src/constrant/training-info-guideline.schema.json +45 -0
- package/src/molecules/index.ts +2 -1
- package/src/molecules/training-info-guideline.tsx +171 -0
- package/src/types/curriculumContents.type.ts +1 -0
- package/src/types/dynamic-form-schema-generated.ts +1 -0
- package/src/types/index.ts +1 -0
- package/src/types/training-info-guideline-schema-generated.ts +23 -0
package/dist/index.cjs
CHANGED
|
@@ -259,6 +259,7 @@ __export(index_exports, {
|
|
|
259
259
|
TimerIcon: () => import_react_icons2.TimerIcon,
|
|
260
260
|
ToastContainer: () => ToastContainer,
|
|
261
261
|
Tooltip: () => Tooltip,
|
|
262
|
+
TrainingInfoGuideline: () => TrainingInfoGuideline,
|
|
262
263
|
TrashIcon: () => import_react_icons2.TrashIcon,
|
|
263
264
|
TriangleArrowDownIcon: () => TriangleArrowDownIcon,
|
|
264
265
|
TriangleArrowUpIcon: () => TriangleArrowUpIcon,
|
|
@@ -6109,6 +6110,140 @@ function DescriptionJsonRender(props) {
|
|
|
6109
6110
|
}) });
|
|
6110
6111
|
}
|
|
6111
6112
|
|
|
6113
|
+
// src/molecules/training-info-guideline.tsx
|
|
6114
|
+
var import_react46 = require("react");
|
|
6115
|
+
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
6116
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
6117
|
+
function TrainingInfoGuideline({
|
|
6118
|
+
values,
|
|
6119
|
+
onClickFileDownload
|
|
6120
|
+
}) {
|
|
6121
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_jsx_runtime92.Fragment, { children: values.map((value) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6122
|
+
TrainingInfoGuidelineItem,
|
|
6123
|
+
{
|
|
6124
|
+
onClickFileDownload,
|
|
6125
|
+
value
|
|
6126
|
+
},
|
|
6127
|
+
getItemKey(value)
|
|
6128
|
+
)) });
|
|
6129
|
+
}
|
|
6130
|
+
function getItemKey(value) {
|
|
6131
|
+
return value.url;
|
|
6132
|
+
}
|
|
6133
|
+
function TrainingInfoGuidelineItem({
|
|
6134
|
+
value,
|
|
6135
|
+
onClickFileDownload
|
|
6136
|
+
}) {
|
|
6137
|
+
const [isLoading, setIsLoading] = (0, import_react46.useState)(true);
|
|
6138
|
+
if (value.type === "file") {
|
|
6139
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6140
|
+
TrainingInfoGuidelineButton,
|
|
6141
|
+
{
|
|
6142
|
+
description: value.filename,
|
|
6143
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_icons9.FileTextIcon, {}),
|
|
6144
|
+
onClick: () => {
|
|
6145
|
+
onClickFileDownload({ url: value.url, filename: value.filename });
|
|
6146
|
+
},
|
|
6147
|
+
title: value.downloadButtonName
|
|
6148
|
+
}
|
|
6149
|
+
);
|
|
6150
|
+
}
|
|
6151
|
+
if (value.type === "video") {
|
|
6152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(Dialog.Root, { children: [
|
|
6153
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Dialog.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6154
|
+
TrainingInfoGuidelineButton,
|
|
6155
|
+
{
|
|
6156
|
+
description: "\uC601\uC0C1",
|
|
6157
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_icons9.VideoIcon, {}),
|
|
6158
|
+
title: value.videoTitle
|
|
6159
|
+
}
|
|
6160
|
+
) }),
|
|
6161
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6162
|
+
Dialog.Content,
|
|
6163
|
+
{
|
|
6164
|
+
height: "100%",
|
|
6165
|
+
maxHeight: "500px",
|
|
6166
|
+
maxWidth: "800px",
|
|
6167
|
+
title: value.videoTitle,
|
|
6168
|
+
width: "100%",
|
|
6169
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes2.AspectRatio, { ratio: 16 / 9, style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
6170
|
+
import_themes22.Flex,
|
|
6171
|
+
{
|
|
6172
|
+
align: "center",
|
|
6173
|
+
justify: "center",
|
|
6174
|
+
style: {
|
|
6175
|
+
width: "100%",
|
|
6176
|
+
height: "100%",
|
|
6177
|
+
backgroundColor: "black",
|
|
6178
|
+
position: "relative"
|
|
6179
|
+
},
|
|
6180
|
+
children: [
|
|
6181
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6182
|
+
import_themes22.Flex,
|
|
6183
|
+
{
|
|
6184
|
+
align: "center",
|
|
6185
|
+
height: "100%",
|
|
6186
|
+
justify: "center",
|
|
6187
|
+
position: "absolute",
|
|
6188
|
+
style: {
|
|
6189
|
+
position: "absolute",
|
|
6190
|
+
top: 0,
|
|
6191
|
+
left: 0,
|
|
6192
|
+
zIndex: 1,
|
|
6193
|
+
color: "white"
|
|
6194
|
+
},
|
|
6195
|
+
width: "100%",
|
|
6196
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes49.Spinner, { size: "3", style: { width: 48, height: 48 } })
|
|
6197
|
+
}
|
|
6198
|
+
) : null,
|
|
6199
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6200
|
+
"iframe",
|
|
6201
|
+
{
|
|
6202
|
+
allowFullScreen: true,
|
|
6203
|
+
onError: () => {
|
|
6204
|
+
setIsLoading(false);
|
|
6205
|
+
},
|
|
6206
|
+
onLoad: () => {
|
|
6207
|
+
setIsLoading(false);
|
|
6208
|
+
},
|
|
6209
|
+
src: `${value.url}?theme=light`,
|
|
6210
|
+
style: { width: "100%", height: "100%", border: "none" },
|
|
6211
|
+
title: "Curriculum Video"
|
|
6212
|
+
}
|
|
6213
|
+
)
|
|
6214
|
+
]
|
|
6215
|
+
}
|
|
6216
|
+
) })
|
|
6217
|
+
}
|
|
6218
|
+
)
|
|
6219
|
+
] });
|
|
6220
|
+
}
|
|
6221
|
+
return null;
|
|
6222
|
+
}
|
|
6223
|
+
function TrainingInfoGuidelineButton({
|
|
6224
|
+
icon,
|
|
6225
|
+
title,
|
|
6226
|
+
description,
|
|
6227
|
+
onClick
|
|
6228
|
+
}) {
|
|
6229
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6230
|
+
Button,
|
|
6231
|
+
{
|
|
6232
|
+
onClick,
|
|
6233
|
+
style: { width: "100%", height: "48px", textAlign: "left" },
|
|
6234
|
+
variant: "outline",
|
|
6235
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes22.Flex, { align: "center", gap: "2", width: "100%", children: [
|
|
6236
|
+
icon,
|
|
6237
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes39.Separator, { orientation: "vertical", size: "2" }),
|
|
6238
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes6.Box, { children: [
|
|
6239
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Typo, { as: "div", children: title }),
|
|
6240
|
+
typeof description === "string" && description !== "" ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Typo, { variant: "caption", children: description }) : null
|
|
6241
|
+
] })
|
|
6242
|
+
] })
|
|
6243
|
+
}
|
|
6244
|
+
);
|
|
6245
|
+
}
|
|
6246
|
+
|
|
6112
6247
|
// src/theme/use-theme.tsx
|
|
6113
6248
|
var import_themes56 = require("@radix-ui/themes");
|
|
6114
6249
|
|
|
@@ -6116,22 +6251,22 @@ var import_themes56 = require("@radix-ui/themes");
|
|
|
6116
6251
|
var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
6117
6252
|
|
|
6118
6253
|
// src/charts/horizontal-bar-chart.tsx
|
|
6119
|
-
var
|
|
6254
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
6120
6255
|
function HorizontalBarChart(props) {
|
|
6121
6256
|
const { total, value, backgroundColor, barColor, height } = props;
|
|
6122
|
-
return /* @__PURE__ */ (0,
|
|
6257
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
6123
6258
|
"div",
|
|
6124
6259
|
{
|
|
6125
6260
|
className: "tipp_horizontal-bar-chart bar-wrapper",
|
|
6126
6261
|
style: { height, backgroundColor },
|
|
6127
|
-
children: /* @__PURE__ */ (0,
|
|
6262
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
6128
6263
|
"div",
|
|
6129
6264
|
{
|
|
6130
6265
|
style: {
|
|
6131
6266
|
width: `${Math.round(value / total * 100)}%`,
|
|
6132
6267
|
height: "100%"
|
|
6133
6268
|
},
|
|
6134
|
-
children: /* @__PURE__ */ (0,
|
|
6269
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
|
|
6135
6270
|
}
|
|
6136
6271
|
)
|
|
6137
6272
|
}
|
|
@@ -6287,23 +6422,23 @@ var EchartDefaultProps = {
|
|
|
6287
6422
|
};
|
|
6288
6423
|
|
|
6289
6424
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
6290
|
-
var
|
|
6425
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
6291
6426
|
function CoachingCustomerInfoSmall({
|
|
6292
6427
|
customer,
|
|
6293
6428
|
children,
|
|
6294
6429
|
badge
|
|
6295
6430
|
}) {
|
|
6296
|
-
return /* @__PURE__ */ (0,
|
|
6431
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
6297
6432
|
import_themes22.Flex,
|
|
6298
6433
|
{
|
|
6299
6434
|
direction: { initial: "column", xs: "row" },
|
|
6300
6435
|
gap: "3",
|
|
6301
6436
|
justify: "between",
|
|
6302
6437
|
children: [
|
|
6303
|
-
/* @__PURE__ */ (0,
|
|
6304
|
-
/* @__PURE__ */ (0,
|
|
6305
|
-
/* @__PURE__ */ (0,
|
|
6306
|
-
/* @__PURE__ */ (0,
|
|
6438
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
6439
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
6440
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
6441
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
6307
6442
|
] }) }),
|
|
6308
6443
|
children
|
|
6309
6444
|
]
|
|
@@ -6313,8 +6448,8 @@ function CoachingCustomerInfoSmall({
|
|
|
6313
6448
|
|
|
6314
6449
|
// src/app/platform/userInfos/utils.tsx
|
|
6315
6450
|
var import_date_fns3 = require("date-fns");
|
|
6316
|
-
var
|
|
6317
|
-
var
|
|
6451
|
+
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
6452
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
6318
6453
|
var infoList = [
|
|
6319
6454
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
6320
6455
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -6374,21 +6509,21 @@ var sessionList = [
|
|
|
6374
6509
|
var renderItem = (args) => {
|
|
6375
6510
|
const { info, data, onClickCopy } = args;
|
|
6376
6511
|
const value = info.getValue(data);
|
|
6377
|
-
return /* @__PURE__ */ (0,
|
|
6512
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
|
|
6378
6513
|
info.render ? info.render(value) : value || "-",
|
|
6379
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
6514
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
6380
6515
|
] });
|
|
6381
6516
|
};
|
|
6382
6517
|
var renderDataListItem = (args) => {
|
|
6383
6518
|
const { info, data, onClickCopy } = args;
|
|
6384
|
-
return /* @__PURE__ */ (0,
|
|
6385
|
-
/* @__PURE__ */ (0,
|
|
6386
|
-
/* @__PURE__ */ (0,
|
|
6519
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_themes15.DataList.Item, { children: [
|
|
6520
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
6521
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
6387
6522
|
] }, info.label);
|
|
6388
6523
|
};
|
|
6389
6524
|
function CopyButton(props) {
|
|
6390
6525
|
const { value, onClickCopy } = props;
|
|
6391
|
-
return /* @__PURE__ */ (0,
|
|
6526
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6392
6527
|
Button,
|
|
6393
6528
|
{
|
|
6394
6529
|
color: "gray",
|
|
@@ -6397,13 +6532,13 @@ function CopyButton(props) {
|
|
|
6397
6532
|
},
|
|
6398
6533
|
style: { marginLeft: "0", marginTop: "0" },
|
|
6399
6534
|
variant: "transparent",
|
|
6400
|
-
children: /* @__PURE__ */ (0,
|
|
6535
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react_icons10.CopyIcon, {})
|
|
6401
6536
|
}
|
|
6402
6537
|
);
|
|
6403
6538
|
}
|
|
6404
6539
|
|
|
6405
6540
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
6406
|
-
var
|
|
6541
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
6407
6542
|
function CoachingCustomerInfoMedium({
|
|
6408
6543
|
customer,
|
|
6409
6544
|
session,
|
|
@@ -6411,28 +6546,28 @@ function CoachingCustomerInfoMedium({
|
|
|
6411
6546
|
badge,
|
|
6412
6547
|
onClickCopy
|
|
6413
6548
|
}) {
|
|
6414
|
-
return /* @__PURE__ */ (0,
|
|
6415
|
-
/* @__PURE__ */ (0,
|
|
6416
|
-
/* @__PURE__ */ (0,
|
|
6417
|
-
/* @__PURE__ */ (0,
|
|
6549
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
6550
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes6.Box, { children: [
|
|
6551
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
6552
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
6418
6553
|
badge
|
|
6419
6554
|
] }),
|
|
6420
|
-
/* @__PURE__ */ (0,
|
|
6555
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
6421
6556
|
] }),
|
|
6422
6557
|
children,
|
|
6423
|
-
/* @__PURE__ */ (0,
|
|
6558
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
6424
6559
|
(el) => renderDataListItem({
|
|
6425
6560
|
info: el,
|
|
6426
6561
|
data: session,
|
|
6427
6562
|
onClickCopy
|
|
6428
6563
|
})
|
|
6429
6564
|
) }) }),
|
|
6430
|
-
/* @__PURE__ */ (0,
|
|
6431
|
-
/* @__PURE__ */ (0,
|
|
6432
|
-
/* @__PURE__ */ (0,
|
|
6565
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
6566
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
6567
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes39.Separator, { size: "4" })
|
|
6433
6568
|
] }),
|
|
6434
|
-
/* @__PURE__ */ (0,
|
|
6435
|
-
return /* @__PURE__ */ (0,
|
|
6569
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
6570
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Typo, { children: renderItem({
|
|
6436
6571
|
info: el,
|
|
6437
6572
|
data: customer,
|
|
6438
6573
|
onClickCopy
|
|
@@ -6442,7 +6577,7 @@ function CoachingCustomerInfoMedium({
|
|
|
6442
6577
|
}
|
|
6443
6578
|
|
|
6444
6579
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
6445
|
-
var
|
|
6580
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
6446
6581
|
function CoachingCustomerInfoLarge({
|
|
6447
6582
|
customer,
|
|
6448
6583
|
session,
|
|
@@ -6450,24 +6585,24 @@ function CoachingCustomerInfoLarge({
|
|
|
6450
6585
|
badge,
|
|
6451
6586
|
onClickCopy
|
|
6452
6587
|
}) {
|
|
6453
|
-
return /* @__PURE__ */ (0,
|
|
6454
|
-
/* @__PURE__ */ (0,
|
|
6455
|
-
/* @__PURE__ */ (0,
|
|
6456
|
-
/* @__PURE__ */ (0,
|
|
6588
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
6589
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes6.Box, { children: [
|
|
6590
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
6591
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
6457
6592
|
badge
|
|
6458
6593
|
] }),
|
|
6459
|
-
/* @__PURE__ */ (0,
|
|
6594
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
6460
6595
|
] }),
|
|
6461
6596
|
children,
|
|
6462
|
-
/* @__PURE__ */ (0,
|
|
6597
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
6463
6598
|
(el) => renderDataListItem({
|
|
6464
6599
|
info: el,
|
|
6465
6600
|
data: session,
|
|
6466
6601
|
onClickCopy
|
|
6467
6602
|
})
|
|
6468
6603
|
) }) }),
|
|
6469
|
-
/* @__PURE__ */ (0,
|
|
6470
|
-
/* @__PURE__ */ (0,
|
|
6604
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_themes39.Separator, { size: "4" }),
|
|
6605
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
6471
6606
|
(info) => renderDataListItem({
|
|
6472
6607
|
info,
|
|
6473
6608
|
data: customer,
|
|
@@ -6478,19 +6613,19 @@ function CoachingCustomerInfoLarge({
|
|
|
6478
6613
|
}
|
|
6479
6614
|
|
|
6480
6615
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
6481
|
-
var
|
|
6616
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
6482
6617
|
function CoachingCustomerInfo(props) {
|
|
6483
|
-
return /* @__PURE__ */ (0,
|
|
6484
|
-
/* @__PURE__ */ (0,
|
|
6485
|
-
/* @__PURE__ */ (0,
|
|
6486
|
-
/* @__PURE__ */ (0,
|
|
6618
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_jsx_runtime98.Fragment, { children: [
|
|
6619
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
6620
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
6621
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
6487
6622
|
] });
|
|
6488
6623
|
}
|
|
6489
6624
|
|
|
6490
6625
|
// src/app/platform/goal-manage-card-read.tsx
|
|
6491
|
-
var
|
|
6626
|
+
var import_react47 = require("react");
|
|
6492
6627
|
var import_date_fns4 = require("date-fns");
|
|
6493
|
-
var
|
|
6628
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
6494
6629
|
function GoalManageCardRead(props) {
|
|
6495
6630
|
const {
|
|
6496
6631
|
title,
|
|
@@ -6504,12 +6639,12 @@ function GoalManageCardRead(props) {
|
|
|
6504
6639
|
onClickIncomplete,
|
|
6505
6640
|
onClickComplete
|
|
6506
6641
|
} = props;
|
|
6507
|
-
const [open, setOpen] = (0,
|
|
6508
|
-
const onClickOpen = (0,
|
|
6642
|
+
const [open, setOpen] = (0, import_react47.useState)(Boolean(defaultOpen));
|
|
6643
|
+
const onClickOpen = (0, import_react47.useCallback)(() => {
|
|
6509
6644
|
setOpen((p) => !p);
|
|
6510
6645
|
}, []);
|
|
6511
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
6512
|
-
const badgeMeta = (0,
|
|
6646
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons2.ChevronDownIcon, {});
|
|
6647
|
+
const badgeMeta = (0, import_react47.useMemo)(() => {
|
|
6513
6648
|
if (!completed && dueDate) {
|
|
6514
6649
|
if (dueDate >= (0, import_date_fns4.startOfDay)(/* @__PURE__ */ new Date()))
|
|
6515
6650
|
return {
|
|
@@ -6520,41 +6655,41 @@ function GoalManageCardRead(props) {
|
|
|
6520
6655
|
}
|
|
6521
6656
|
return null;
|
|
6522
6657
|
}, [completed, dueDate]);
|
|
6523
|
-
const renderSubTitle = (0,
|
|
6524
|
-
return /* @__PURE__ */ (0,
|
|
6658
|
+
const renderSubTitle = (0, import_react47.useCallback)((subTitle) => {
|
|
6659
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
6525
6660
|
}, []);
|
|
6526
|
-
const renderSubContent = (0,
|
|
6527
|
-
return /* @__PURE__ */ (0,
|
|
6661
|
+
const renderSubContent = (0, import_react47.useCallback)((content) => {
|
|
6662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
6528
6663
|
}, []);
|
|
6529
|
-
const renderCompleteButton = (0,
|
|
6664
|
+
const renderCompleteButton = (0, import_react47.useCallback)(() => {
|
|
6530
6665
|
if (completed) {
|
|
6531
|
-
return /* @__PURE__ */ (0,
|
|
6666
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
6532
6667
|
}
|
|
6533
|
-
return /* @__PURE__ */ (0,
|
|
6534
|
-
/* @__PURE__ */ (0,
|
|
6535
|
-
/* @__PURE__ */ (0,
|
|
6668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes29.Popover.Root, { children: [
|
|
6669
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(Button, { size: "small", children: [
|
|
6670
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons2.RocketIcon, {}),
|
|
6536
6671
|
"\uB2EC\uC131\uD558\uAE30"
|
|
6537
6672
|
] }) }),
|
|
6538
|
-
/* @__PURE__ */ (0,
|
|
6539
|
-
/* @__PURE__ */ (0,
|
|
6540
|
-
/* @__PURE__ */ (0,
|
|
6541
|
-
/* @__PURE__ */ (0,
|
|
6542
|
-
/* @__PURE__ */ (0,
|
|
6673
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes29.Popover.Content, { children: [
|
|
6674
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
6675
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
6676
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
6677
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
6543
6678
|
] })
|
|
6544
6679
|
] })
|
|
6545
6680
|
] });
|
|
6546
6681
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
6547
|
-
return /* @__PURE__ */ (0,
|
|
6548
|
-
/* @__PURE__ */ (0,
|
|
6549
|
-
/* @__PURE__ */ (0,
|
|
6550
|
-
/* @__PURE__ */ (0,
|
|
6551
|
-
/* @__PURE__ */ (0,
|
|
6552
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
6553
|
-
/* @__PURE__ */ (0,
|
|
6682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
6683
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
6684
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
6685
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
6686
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
6687
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
6688
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns4.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
6554
6689
|
] }),
|
|
6555
6690
|
renderCompleteButton()
|
|
6556
6691
|
] }),
|
|
6557
|
-
open ? /* @__PURE__ */ (0,
|
|
6692
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6558
6693
|
import_themes39.Separator,
|
|
6559
6694
|
{
|
|
6560
6695
|
mb: "4",
|
|
@@ -6563,37 +6698,37 @@ function GoalManageCardRead(props) {
|
|
|
6563
6698
|
style: { gridColumnStart: "span 2" }
|
|
6564
6699
|
}
|
|
6565
6700
|
) : null,
|
|
6566
|
-
/* @__PURE__ */ (0,
|
|
6567
|
-
/* @__PURE__ */ (0,
|
|
6568
|
-
/* @__PURE__ */ (0,
|
|
6701
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(Collapse, { open, children: [
|
|
6702
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
6703
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes6.Box, { children: [
|
|
6569
6704
|
renderSubTitle(
|
|
6570
6705
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
6571
6706
|
),
|
|
6572
6707
|
renderSubContent(expectedEffect)
|
|
6573
6708
|
] }),
|
|
6574
|
-
/* @__PURE__ */ (0,
|
|
6709
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes6.Box, { children: [
|
|
6575
6710
|
renderSubTitle(
|
|
6576
6711
|
"\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"
|
|
6577
6712
|
),
|
|
6578
6713
|
renderSubContent(huddle)
|
|
6579
6714
|
] })
|
|
6580
6715
|
] }),
|
|
6581
|
-
/* @__PURE__ */ (0,
|
|
6582
|
-
/* @__PURE__ */ (0,
|
|
6583
|
-
/* @__PURE__ */ (0,
|
|
6584
|
-
/* @__PURE__ */ (0,
|
|
6716
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
6717
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes29.Popover.Root, { children: [
|
|
6718
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
6719
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons2.TrashIcon, {}),
|
|
6585
6720
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
6586
6721
|
] }) }),
|
|
6587
|
-
/* @__PURE__ */ (0,
|
|
6588
|
-
/* @__PURE__ */ (0,
|
|
6589
|
-
/* @__PURE__ */ (0,
|
|
6590
|
-
/* @__PURE__ */ (0,
|
|
6591
|
-
/* @__PURE__ */ (0,
|
|
6722
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes29.Popover.Content, { children: [
|
|
6723
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
6724
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
6725
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
6726
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
6592
6727
|
] })
|
|
6593
6728
|
] })
|
|
6594
6729
|
] }),
|
|
6595
|
-
/* @__PURE__ */ (0,
|
|
6596
|
-
/* @__PURE__ */ (0,
|
|
6730
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
6731
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons2.Pencil1Icon, {}),
|
|
6597
6732
|
"\uC218\uC815\uD558\uAE30"
|
|
6598
6733
|
] })
|
|
6599
6734
|
] })
|
|
@@ -6602,9 +6737,9 @@ function GoalManageCardRead(props) {
|
|
|
6602
6737
|
}
|
|
6603
6738
|
|
|
6604
6739
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
6605
|
-
var
|
|
6740
|
+
var import_react48 = require("react");
|
|
6606
6741
|
var import_date_fns5 = require("date-fns");
|
|
6607
|
-
var
|
|
6742
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
6608
6743
|
var initialValues = {
|
|
6609
6744
|
goal: "",
|
|
6610
6745
|
effect: "",
|
|
@@ -6615,8 +6750,8 @@ var dummyFn = () => {
|
|
|
6615
6750
|
};
|
|
6616
6751
|
function GoalManageCardEdit(props) {
|
|
6617
6752
|
const { defaultValues, errors } = props;
|
|
6618
|
-
const [values, setValues] = (0,
|
|
6619
|
-
const onChange = (0,
|
|
6753
|
+
const [values, setValues] = (0, import_react48.useState)(defaultValues || initialValues);
|
|
6754
|
+
const onChange = (0, import_react48.useCallback)(
|
|
6620
6755
|
(v) => {
|
|
6621
6756
|
var _a;
|
|
6622
6757
|
setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
|
|
@@ -6624,20 +6759,20 @@ function GoalManageCardEdit(props) {
|
|
|
6624
6759
|
},
|
|
6625
6760
|
[props]
|
|
6626
6761
|
);
|
|
6627
|
-
const onClickInit = (0,
|
|
6762
|
+
const onClickInit = (0, import_react48.useCallback)(() => {
|
|
6628
6763
|
var _a;
|
|
6629
6764
|
setValues(initialValues);
|
|
6630
6765
|
(_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
|
|
6631
6766
|
}, [defaultValues, props]);
|
|
6632
|
-
const onClickSubmit = (0,
|
|
6767
|
+
const onClickSubmit = (0, import_react48.useCallback)(() => {
|
|
6633
6768
|
var _a;
|
|
6634
6769
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
6635
6770
|
}, [props, values]);
|
|
6636
|
-
return /* @__PURE__ */ (0,
|
|
6637
|
-
/* @__PURE__ */ (0,
|
|
6638
|
-
/* @__PURE__ */ (0,
|
|
6639
|
-
/* @__PURE__ */ (0,
|
|
6640
|
-
/* @__PURE__ */ (0,
|
|
6771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
6772
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
6773
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Form.Field, { name: "title", children: [
|
|
6774
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
6775
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
6641
6776
|
TextField.Root,
|
|
6642
6777
|
{
|
|
6643
6778
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -6648,11 +6783,11 @@ function GoalManageCardEdit(props) {
|
|
|
6648
6783
|
value: values.goal
|
|
6649
6784
|
}
|
|
6650
6785
|
),
|
|
6651
|
-
/* @__PURE__ */ (0,
|
|
6786
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
6652
6787
|
] }),
|
|
6653
|
-
/* @__PURE__ */ (0,
|
|
6654
|
-
/* @__PURE__ */ (0,
|
|
6655
|
-
/* @__PURE__ */ (0,
|
|
6788
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Form.Field, { name: "effect", children: [
|
|
6789
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
6790
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
6656
6791
|
TextArea,
|
|
6657
6792
|
{
|
|
6658
6793
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -6664,11 +6799,11 @@ function GoalManageCardEdit(props) {
|
|
|
6664
6799
|
value: values.effect
|
|
6665
6800
|
}
|
|
6666
6801
|
),
|
|
6667
|
-
/* @__PURE__ */ (0,
|
|
6802
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
6668
6803
|
] }),
|
|
6669
|
-
/* @__PURE__ */ (0,
|
|
6670
|
-
/* @__PURE__ */ (0,
|
|
6671
|
-
/* @__PURE__ */ (0,
|
|
6804
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Form.Field, { name: "huddle", children: [
|
|
6805
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
6806
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
6672
6807
|
TextArea,
|
|
6673
6808
|
{
|
|
6674
6809
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -6682,11 +6817,11 @@ function GoalManageCardEdit(props) {
|
|
|
6682
6817
|
value: values.huddle
|
|
6683
6818
|
}
|
|
6684
6819
|
),
|
|
6685
|
-
/* @__PURE__ */ (0,
|
|
6820
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
6686
6821
|
] }),
|
|
6687
|
-
/* @__PURE__ */ (0,
|
|
6688
|
-
/* @__PURE__ */ (0,
|
|
6689
|
-
/* @__PURE__ */ (0,
|
|
6822
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
6823
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
6824
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
6690
6825
|
DatePickerButton,
|
|
6691
6826
|
{
|
|
6692
6827
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -6697,11 +6832,11 @@ function GoalManageCardEdit(props) {
|
|
|
6697
6832
|
selected: values.dueDate
|
|
6698
6833
|
}
|
|
6699
6834
|
),
|
|
6700
|
-
/* @__PURE__ */ (0,
|
|
6835
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
6701
6836
|
] })
|
|
6702
6837
|
] }),
|
|
6703
|
-
/* @__PURE__ */ (0,
|
|
6704
|
-
/* @__PURE__ */ (0,
|
|
6838
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
6839
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
6705
6840
|
Button,
|
|
6706
6841
|
{
|
|
6707
6842
|
color: "gray",
|
|
@@ -6712,18 +6847,18 @@ function GoalManageCardEdit(props) {
|
|
|
6712
6847
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
6713
6848
|
}
|
|
6714
6849
|
),
|
|
6715
|
-
/* @__PURE__ */ (0,
|
|
6850
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
6716
6851
|
] })
|
|
6717
6852
|
] }) });
|
|
6718
6853
|
}
|
|
6719
6854
|
|
|
6720
6855
|
// src/app/platform/session-card.tsx
|
|
6721
|
-
var
|
|
6856
|
+
var import_react51 = require("react");
|
|
6722
6857
|
var import_date_fns6 = require("date-fns");
|
|
6723
6858
|
|
|
6724
6859
|
// src/app/platform/edit-coaching-time.tsx
|
|
6725
|
-
var
|
|
6726
|
-
var
|
|
6860
|
+
var import_react49 = require("react");
|
|
6861
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
6727
6862
|
var getValueFromDefaultValue = (args) => {
|
|
6728
6863
|
return {
|
|
6729
6864
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -6743,14 +6878,14 @@ var getDateFromValue = (date, time) => {
|
|
|
6743
6878
|
};
|
|
6744
6879
|
function EditCoachingTime(props) {
|
|
6745
6880
|
const { defaultEndAt, defaultStartAt, onClickCancel } = props;
|
|
6746
|
-
const [values, setValues] = (0,
|
|
6881
|
+
const [values, setValues] = (0, import_react49.useState)(() => {
|
|
6747
6882
|
return getValueFromDefaultValue({
|
|
6748
6883
|
startAt: defaultStartAt,
|
|
6749
6884
|
endAt: defaultEndAt
|
|
6750
6885
|
});
|
|
6751
6886
|
});
|
|
6752
|
-
const [timeError, setTimeError] = (0,
|
|
6753
|
-
const checkTimeError = (0,
|
|
6887
|
+
const [timeError, setTimeError] = (0, import_react49.useState)("");
|
|
6888
|
+
const checkTimeError = (0, import_react49.useCallback)(
|
|
6754
6889
|
(startTime, endTime) => {
|
|
6755
6890
|
const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
|
|
6756
6891
|
if (error) {
|
|
@@ -6761,7 +6896,7 @@ function EditCoachingTime(props) {
|
|
|
6761
6896
|
},
|
|
6762
6897
|
[]
|
|
6763
6898
|
);
|
|
6764
|
-
const onChangeStartTime = (0,
|
|
6899
|
+
const onChangeStartTime = (0, import_react49.useCallback)(
|
|
6765
6900
|
(v) => {
|
|
6766
6901
|
checkTimeError(v, values.endTime);
|
|
6767
6902
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -6770,7 +6905,7 @@ function EditCoachingTime(props) {
|
|
|
6770
6905
|
},
|
|
6771
6906
|
[checkTimeError, values.endTime]
|
|
6772
6907
|
);
|
|
6773
|
-
const onChangeEndTime = (0,
|
|
6908
|
+
const onChangeEndTime = (0, import_react49.useCallback)(
|
|
6774
6909
|
(v) => {
|
|
6775
6910
|
checkTimeError(values.startTime, v);
|
|
6776
6911
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -6779,12 +6914,12 @@ function EditCoachingTime(props) {
|
|
|
6779
6914
|
},
|
|
6780
6915
|
[checkTimeError, values.startTime]
|
|
6781
6916
|
);
|
|
6782
|
-
const onChangeDate = (0,
|
|
6917
|
+
const onChangeDate = (0, import_react49.useCallback)((date) => {
|
|
6783
6918
|
date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
6784
6919
|
date
|
|
6785
6920
|
}));
|
|
6786
6921
|
}, []);
|
|
6787
|
-
const onClickSave = (0,
|
|
6922
|
+
const onClickSave = (0, import_react49.useCallback)(() => {
|
|
6788
6923
|
if (checkTimeError(values.startTime, values.endTime)) {
|
|
6789
6924
|
const startAt = getDateFromValue(values.date, values.startTime);
|
|
6790
6925
|
const endAt = getDateFromValue(values.date, values.endTime);
|
|
@@ -6793,10 +6928,10 @@ function EditCoachingTime(props) {
|
|
|
6793
6928
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
6794
6929
|
}
|
|
6795
6930
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
6796
|
-
return /* @__PURE__ */ (0,
|
|
6797
|
-
/* @__PURE__ */ (0,
|
|
6798
|
-
/* @__PURE__ */ (0,
|
|
6799
|
-
/* @__PURE__ */ (0,
|
|
6931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(Form.Root, { children: [
|
|
6932
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(Form.Field, { name: "date", children: [
|
|
6933
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
6934
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6800
6935
|
DatePickerButton,
|
|
6801
6936
|
{
|
|
6802
6937
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -6806,7 +6941,7 @@ function EditCoachingTime(props) {
|
|
|
6806
6941
|
}
|
|
6807
6942
|
)
|
|
6808
6943
|
] }),
|
|
6809
|
-
/* @__PURE__ */ (0,
|
|
6944
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
|
|
6810
6945
|
import_themes23.Grid,
|
|
6811
6946
|
{
|
|
6812
6947
|
align: "center",
|
|
@@ -6821,10 +6956,10 @@ function EditCoachingTime(props) {
|
|
|
6821
6956
|
mt: "5",
|
|
6822
6957
|
width: "100%",
|
|
6823
6958
|
children: [
|
|
6824
|
-
/* @__PURE__ */ (0,
|
|
6825
|
-
/* @__PURE__ */ (0,
|
|
6826
|
-
/* @__PURE__ */ (0,
|
|
6827
|
-
/* @__PURE__ */ (0,
|
|
6959
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
6960
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", {}),
|
|
6961
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
6962
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6828
6963
|
TimeSelect,
|
|
6829
6964
|
{
|
|
6830
6965
|
onValueChange: onChangeStartTime,
|
|
@@ -6832,8 +6967,8 @@ function EditCoachingTime(props) {
|
|
|
6832
6967
|
value: values.startTime
|
|
6833
6968
|
}
|
|
6834
6969
|
),
|
|
6835
|
-
/* @__PURE__ */ (0,
|
|
6836
|
-
/* @__PURE__ */ (0,
|
|
6970
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes39.Separator, {}) }),
|
|
6971
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6837
6972
|
TimeSelect,
|
|
6838
6973
|
{
|
|
6839
6974
|
onValueChange: onChangeEndTime,
|
|
@@ -6841,36 +6976,36 @@ function EditCoachingTime(props) {
|
|
|
6841
6976
|
value: values.endTime
|
|
6842
6977
|
}
|
|
6843
6978
|
),
|
|
6844
|
-
/* @__PURE__ */ (0,
|
|
6979
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
6845
6980
|
]
|
|
6846
6981
|
}
|
|
6847
6982
|
),
|
|
6848
|
-
/* @__PURE__ */ (0,
|
|
6849
|
-
/* @__PURE__ */ (0,
|
|
6850
|
-
/* @__PURE__ */ (0,
|
|
6983
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
6984
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
6985
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
6851
6986
|
] })
|
|
6852
6987
|
] }) });
|
|
6853
6988
|
}
|
|
6854
6989
|
|
|
6855
6990
|
// src/app/platform/edit-service-type.tsx
|
|
6856
|
-
var
|
|
6991
|
+
var import_react50 = require("react");
|
|
6857
6992
|
|
|
6858
6993
|
// src/app/platform/on-offline-radio-card.tsx
|
|
6859
|
-
var
|
|
6860
|
-
var
|
|
6994
|
+
var import_react_icons11 = require("@radix-ui/react-icons");
|
|
6995
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
6861
6996
|
var SERVICE_TYPE = {
|
|
6862
6997
|
onlineCoaching: "onlineCoaching",
|
|
6863
6998
|
offlineCoaching: "offlineCoaching"
|
|
6864
6999
|
};
|
|
6865
7000
|
var breakpoint = "sm";
|
|
6866
7001
|
function HideSmallBox(props) {
|
|
6867
|
-
return /* @__PURE__ */ (0,
|
|
7002
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
6868
7003
|
}
|
|
6869
7004
|
function OnOfflineRadioCard(props) {
|
|
6870
7005
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
6871
7006
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
6872
7007
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
6873
|
-
return /* @__PURE__ */ (0,
|
|
7008
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
|
|
6874
7009
|
RadioButtonCard.Root,
|
|
6875
7010
|
__spreadProps(__spreadValues({
|
|
6876
7011
|
RadioWrapper: Wrapper,
|
|
@@ -6879,13 +7014,13 @@ function OnOfflineRadioCard(props) {
|
|
|
6879
7014
|
justify
|
|
6880
7015
|
}, props), {
|
|
6881
7016
|
children: [
|
|
6882
|
-
/* @__PURE__ */ (0,
|
|
6883
|
-
/* @__PURE__ */ (0,
|
|
6884
|
-
/* @__PURE__ */ (0,
|
|
7017
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
7018
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_react_icons11.GlobeIcon, {}) }),
|
|
7019
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
6885
7020
|
] }) }),
|
|
6886
|
-
/* @__PURE__ */ (0,
|
|
6887
|
-
/* @__PURE__ */ (0,
|
|
6888
|
-
/* @__PURE__ */ (0,
|
|
7021
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
7022
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_react_icons11.BackpackIcon, {}) }),
|
|
7023
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
6889
7024
|
] }) })
|
|
6890
7025
|
]
|
|
6891
7026
|
})
|
|
@@ -6893,18 +7028,18 @@ function OnOfflineRadioCard(props) {
|
|
|
6893
7028
|
}
|
|
6894
7029
|
|
|
6895
7030
|
// src/app/platform/edit-service-type.tsx
|
|
6896
|
-
var
|
|
7031
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
6897
7032
|
function EditServiceType(props) {
|
|
6898
7033
|
const { defaultServiceType, onClickCancel } = props;
|
|
6899
|
-
const [sessionType, setSessionType] = (0,
|
|
7034
|
+
const [sessionType, setSessionType] = (0, import_react50.useState)(
|
|
6900
7035
|
defaultServiceType
|
|
6901
7036
|
);
|
|
6902
|
-
const onClickSave = (0,
|
|
7037
|
+
const onClickSave = (0, import_react50.useCallback)(() => {
|
|
6903
7038
|
var _a;
|
|
6904
7039
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
6905
7040
|
}, [props, sessionType]);
|
|
6906
|
-
return /* @__PURE__ */ (0,
|
|
6907
|
-
/* @__PURE__ */ (0,
|
|
7041
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes6.Box, { children: [
|
|
7042
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6908
7043
|
Typo,
|
|
6909
7044
|
{
|
|
6910
7045
|
as: "p",
|
|
@@ -6914,16 +7049,16 @@ function EditServiceType(props) {
|
|
|
6914
7049
|
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"
|
|
6915
7050
|
}
|
|
6916
7051
|
),
|
|
6917
|
-
/* @__PURE__ */ (0,
|
|
6918
|
-
/* @__PURE__ */ (0,
|
|
6919
|
-
/* @__PURE__ */ (0,
|
|
6920
|
-
/* @__PURE__ */ (0,
|
|
7052
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
7053
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
7054
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
7055
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
6921
7056
|
] })
|
|
6922
7057
|
] });
|
|
6923
7058
|
}
|
|
6924
7059
|
|
|
6925
7060
|
// src/app/platform/session-card.tsx
|
|
6926
|
-
var
|
|
7061
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
6927
7062
|
var preventDefault4 = (e) => {
|
|
6928
7063
|
e.preventDefault();
|
|
6929
7064
|
};
|
|
@@ -6953,33 +7088,33 @@ function SessionCard(props) {
|
|
|
6953
7088
|
"endAt",
|
|
6954
7089
|
"sessionType"
|
|
6955
7090
|
]);
|
|
6956
|
-
const renderEditButton = (0,
|
|
6957
|
-
return /* @__PURE__ */ (0,
|
|
7091
|
+
const renderEditButton = (0, import_react51.useCallback)(() => {
|
|
7092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
6958
7093
|
}, []);
|
|
6959
|
-
const sessionTimeStr = (0,
|
|
7094
|
+
const sessionTimeStr = (0, import_react51.useMemo)(() => {
|
|
6960
7095
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
6961
7096
|
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")}`;
|
|
6962
7097
|
}, [startAt, endAt]);
|
|
6963
|
-
return /* @__PURE__ */ (0,
|
|
6964
|
-
/* @__PURE__ */ (0,
|
|
6965
|
-
/* @__PURE__ */ (0,
|
|
7098
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
7099
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
7100
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
6966
7101
|
TitleExtra,
|
|
6967
|
-
error ? /* @__PURE__ */ (0,
|
|
7102
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
6968
7103
|
] }),
|
|
6969
|
-
/* @__PURE__ */ (0,
|
|
6970
|
-
/* @__PURE__ */ (0,
|
|
6971
|
-
/* @__PURE__ */ (0,
|
|
6972
|
-
/* @__PURE__ */ (0,
|
|
7104
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes15.DataList.Root, { children: [
|
|
7105
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes15.DataList.Item, { children: [
|
|
7106
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
7107
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes15.DataList.Value, { children: [
|
|
6973
7108
|
sessionTimeStr,
|
|
6974
|
-
editable ? /* @__PURE__ */ (0,
|
|
6975
|
-
/* @__PURE__ */ (0,
|
|
6976
|
-
/* @__PURE__ */ (0,
|
|
7109
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Dialog.Root, { children: [
|
|
7110
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
7111
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
6977
7112
|
Dialog.Content,
|
|
6978
7113
|
{
|
|
6979
7114
|
onOpenAutoFocus: preventDefault4,
|
|
6980
7115
|
style: { overflow: "visible" },
|
|
6981
7116
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
6982
|
-
children: /* @__PURE__ */ (0,
|
|
7117
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
6983
7118
|
EditCoachingTime,
|
|
6984
7119
|
{
|
|
6985
7120
|
defaultEndAt: endAt,
|
|
@@ -6992,18 +7127,18 @@ function SessionCard(props) {
|
|
|
6992
7127
|
] }) : null
|
|
6993
7128
|
] })
|
|
6994
7129
|
] }),
|
|
6995
|
-
/* @__PURE__ */ (0,
|
|
6996
|
-
/* @__PURE__ */ (0,
|
|
6997
|
-
/* @__PURE__ */ (0,
|
|
6998
|
-
/* @__PURE__ */ (0,
|
|
7130
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
7131
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes15.DataList.Item, { children: [
|
|
7132
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
7133
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes15.DataList.Value, { children: [
|
|
6999
7134
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
7000
|
-
editable ? /* @__PURE__ */ (0,
|
|
7001
|
-
/* @__PURE__ */ (0,
|
|
7002
|
-
/* @__PURE__ */ (0,
|
|
7135
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Dialog.Root, { children: [
|
|
7136
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
7137
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
7003
7138
|
Dialog.Content,
|
|
7004
7139
|
{
|
|
7005
7140
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
7006
|
-
children: /* @__PURE__ */ (0,
|
|
7141
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
7007
7142
|
EditServiceType,
|
|
7008
7143
|
{
|
|
7009
7144
|
defaultServiceType: sessionType,
|
|
@@ -7015,33 +7150,33 @@ function SessionCard(props) {
|
|
|
7015
7150
|
] }) : null
|
|
7016
7151
|
] })
|
|
7017
7152
|
] }),
|
|
7018
|
-
/* @__PURE__ */ (0,
|
|
7153
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
7019
7154
|
] })
|
|
7020
7155
|
] })
|
|
7021
7156
|
] }) }));
|
|
7022
7157
|
}
|
|
7023
7158
|
|
|
7024
7159
|
// src/app/platform/coach-question-list.tsx
|
|
7025
|
-
var
|
|
7160
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
7026
7161
|
function QuestionItem({ question, answer }) {
|
|
7027
|
-
return /* @__PURE__ */ (0,
|
|
7028
|
-
/* @__PURE__ */ (0,
|
|
7029
|
-
/* @__PURE__ */ (0,
|
|
7162
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes6.Box, { children: [
|
|
7163
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
7164
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
7030
7165
|
] }, question);
|
|
7031
7166
|
}
|
|
7032
7167
|
function CoachQuestionList({
|
|
7033
7168
|
questions
|
|
7034
7169
|
}) {
|
|
7035
|
-
return /* @__PURE__ */ (0,
|
|
7036
|
-
return /* @__PURE__ */ (0,
|
|
7170
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
7171
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
7037
7172
|
}) });
|
|
7038
7173
|
}
|
|
7039
7174
|
|
|
7040
7175
|
// src/app/platform/reservation-card.tsx
|
|
7041
|
-
var
|
|
7176
|
+
var import_react52 = require("react");
|
|
7042
7177
|
var import_date_fns7 = require("date-fns");
|
|
7043
7178
|
var import_locale2 = require("date-fns/locale");
|
|
7044
|
-
var
|
|
7179
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
7045
7180
|
function ReservationCard(props) {
|
|
7046
7181
|
const {
|
|
7047
7182
|
sessionNumber,
|
|
@@ -7056,29 +7191,29 @@ function ReservationCard(props) {
|
|
|
7056
7191
|
onClickCancel,
|
|
7057
7192
|
onClickCompleteSession
|
|
7058
7193
|
} = props;
|
|
7059
|
-
const [editValues, setEditValues] = (0,
|
|
7194
|
+
const [editValues, setEditValues] = (0, import_react52.useState)({
|
|
7060
7195
|
date: props.defaultTime,
|
|
7061
7196
|
type: props.defaultType
|
|
7062
7197
|
});
|
|
7063
7198
|
const date = readonly ? defaultTime : editValues.date;
|
|
7064
7199
|
const type = readonly ? defaultType : editValues.type;
|
|
7065
|
-
const onClickSave = (0,
|
|
7200
|
+
const onClickSave = (0, import_react52.useCallback)(() => {
|
|
7066
7201
|
var _a;
|
|
7067
7202
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
|
|
7068
7203
|
}, [editValues, props]);
|
|
7069
|
-
const onClickReset = (0,
|
|
7204
|
+
const onClickReset = (0, import_react52.useCallback)(() => {
|
|
7070
7205
|
setEditValues({
|
|
7071
7206
|
date: defaultTime,
|
|
7072
7207
|
type: defaultType
|
|
7073
7208
|
});
|
|
7074
7209
|
}, [defaultTime, defaultType]);
|
|
7075
|
-
const ActionButtons = (0,
|
|
7210
|
+
const ActionButtons = (0, import_react52.useMemo)(() => {
|
|
7076
7211
|
if (readonly) {
|
|
7077
|
-
return /* @__PURE__ */ (0,
|
|
7212
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
7078
7213
|
}
|
|
7079
|
-
return /* @__PURE__ */ (0,
|
|
7214
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
7080
7215
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
7081
|
-
const onChangeDate = (0,
|
|
7216
|
+
const onChangeDate = (0, import_react52.useCallback)((newDate) => {
|
|
7082
7217
|
if (!newDate) return;
|
|
7083
7218
|
setEditValues((prev) => {
|
|
7084
7219
|
return __spreadProps(__spreadValues({}, prev), {
|
|
@@ -7086,17 +7221,17 @@ function ReservationCard(props) {
|
|
|
7086
7221
|
});
|
|
7087
7222
|
});
|
|
7088
7223
|
}, []);
|
|
7089
|
-
const onChangeType = (0,
|
|
7224
|
+
const onChangeType = (0, import_react52.useCallback)((newType) => {
|
|
7090
7225
|
setEditValues((prev) => {
|
|
7091
7226
|
return __spreadProps(__spreadValues({}, prev), {
|
|
7092
7227
|
type: newType
|
|
7093
7228
|
});
|
|
7094
7229
|
});
|
|
7095
7230
|
}, []);
|
|
7096
|
-
const formatDate = (0,
|
|
7231
|
+
const formatDate = (0, import_react52.useCallback)((v) => {
|
|
7097
7232
|
return (0, import_date_fns7.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C(EEE) aa h:mm", { locale: import_locale2.ko });
|
|
7098
7233
|
}, []);
|
|
7099
|
-
(0,
|
|
7234
|
+
(0, import_react52.useEffect)(() => {
|
|
7100
7235
|
if (!minTime || !editValues.date || readonly) return;
|
|
7101
7236
|
if (editValues.date < minTime) {
|
|
7102
7237
|
import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -7107,7 +7242,7 @@ function ReservationCard(props) {
|
|
|
7107
7242
|
});
|
|
7108
7243
|
}
|
|
7109
7244
|
}, [editValues, minTime, readonly]);
|
|
7110
|
-
(0,
|
|
7245
|
+
(0, import_react52.useEffect)(() => {
|
|
7111
7246
|
if (!maxTime || !editValues.date || readonly) return;
|
|
7112
7247
|
if (editValues.date > maxTime) {
|
|
7113
7248
|
import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -7118,39 +7253,39 @@ function ReservationCard(props) {
|
|
|
7118
7253
|
});
|
|
7119
7254
|
}
|
|
7120
7255
|
}, [editValues, maxTime, readonly]);
|
|
7121
|
-
return /* @__PURE__ */ (0,
|
|
7256
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
7122
7257
|
Card,
|
|
7123
7258
|
{
|
|
7124
7259
|
error: Boolean(error),
|
|
7125
7260
|
size: "3",
|
|
7126
7261
|
style: { overflow: "visible", contain: "initial" },
|
|
7127
7262
|
children: [
|
|
7128
|
-
/* @__PURE__ */ (0,
|
|
7129
|
-
/* @__PURE__ */ (0,
|
|
7263
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
7264
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
7130
7265
|
import_themes23.Grid,
|
|
7131
7266
|
{
|
|
7132
7267
|
align: "center",
|
|
7133
7268
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
7134
7269
|
gapY: "2",
|
|
7135
7270
|
children: [
|
|
7136
|
-
/* @__PURE__ */ (0,
|
|
7137
|
-
/* @__PURE__ */ (0,
|
|
7271
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
7272
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Heading2, { variant: "heading4", children: [
|
|
7138
7273
|
customerName || "-",
|
|
7139
7274
|
"\uB2D8 ",
|
|
7140
7275
|
sessionNumber || "-",
|
|
7141
7276
|
"\uD68C\uCC28 \uC138\uC158"
|
|
7142
7277
|
] }),
|
|
7143
|
-
/* @__PURE__ */ (0,
|
|
7278
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
7144
7279
|
] }),
|
|
7145
|
-
error ? /* @__PURE__ */ (0,
|
|
7280
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
7146
7281
|
]
|
|
7147
7282
|
}
|
|
7148
7283
|
),
|
|
7149
|
-
/* @__PURE__ */ (0,
|
|
7284
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
7150
7285
|
] }),
|
|
7151
|
-
/* @__PURE__ */ (0,
|
|
7152
|
-
/* @__PURE__ */ (0,
|
|
7153
|
-
/* @__PURE__ */ (0,
|
|
7286
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
7287
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
7288
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7154
7289
|
DatePickerButton,
|
|
7155
7290
|
{
|
|
7156
7291
|
disabled: readonly,
|
|
@@ -7164,8 +7299,8 @@ function ReservationCard(props) {
|
|
|
7164
7299
|
size: "large"
|
|
7165
7300
|
}
|
|
7166
7301
|
),
|
|
7167
|
-
/* @__PURE__ */ (0,
|
|
7168
|
-
/* @__PURE__ */ (0,
|
|
7302
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
|
|
7303
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7169
7304
|
OnOfflineRadioCard,
|
|
7170
7305
|
{
|
|
7171
7306
|
disabled: readonly,
|
|
@@ -7174,8 +7309,8 @@ function ReservationCard(props) {
|
|
|
7174
7309
|
value: type
|
|
7175
7310
|
}
|
|
7176
7311
|
),
|
|
7177
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
7178
|
-
/* @__PURE__ */ (0,
|
|
7312
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
7313
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7179
7314
|
Button,
|
|
7180
7315
|
{
|
|
7181
7316
|
color: "gray",
|
|
@@ -7185,10 +7320,10 @@ function ReservationCard(props) {
|
|
|
7185
7320
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
7186
7321
|
}
|
|
7187
7322
|
),
|
|
7188
|
-
/* @__PURE__ */ (0,
|
|
7323
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
7189
7324
|
] })
|
|
7190
7325
|
] }) }),
|
|
7191
|
-
readonly ? /* @__PURE__ */ (0,
|
|
7326
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7192
7327
|
import_themes6.Box,
|
|
7193
7328
|
{
|
|
7194
7329
|
mt: "5",
|
|
@@ -7196,14 +7331,14 @@ function ReservationCard(props) {
|
|
|
7196
7331
|
py: "4",
|
|
7197
7332
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
7198
7333
|
width: "100%",
|
|
7199
|
-
children: /* @__PURE__ */ (0,
|
|
7200
|
-
/* @__PURE__ */ (0,
|
|
7334
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
7335
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Typo, { children: [
|
|
7201
7336
|
sessionNumber || "-",
|
|
7202
7337
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
7203
7338
|
] }),
|
|
7204
|
-
/* @__PURE__ */ (0,
|
|
7339
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
7205
7340
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
7206
|
-
/* @__PURE__ */ (0,
|
|
7341
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
7207
7342
|
] })
|
|
7208
7343
|
] })
|
|
7209
7344
|
}
|
|
@@ -7214,22 +7349,22 @@ function ReservationCard(props) {
|
|
|
7214
7349
|
}
|
|
7215
7350
|
|
|
7216
7351
|
// src/app/platform/session-review-simple-read.tsx
|
|
7217
|
-
var
|
|
7218
|
-
var
|
|
7352
|
+
var import_react53 = require("react");
|
|
7353
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
7219
7354
|
function SubTitleWrapper({
|
|
7220
7355
|
children,
|
|
7221
7356
|
title
|
|
7222
7357
|
}) {
|
|
7223
|
-
return /* @__PURE__ */ (0,
|
|
7224
|
-
/* @__PURE__ */ (0,
|
|
7225
|
-
/* @__PURE__ */ (0,
|
|
7358
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
7359
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
7360
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { children })
|
|
7226
7361
|
] });
|
|
7227
7362
|
}
|
|
7228
7363
|
function SessionReviewSimpleRead({
|
|
7229
7364
|
helpfulness,
|
|
7230
7365
|
review
|
|
7231
7366
|
}) {
|
|
7232
|
-
const helpfulnessMeta = (0,
|
|
7367
|
+
const helpfulnessMeta = (0, import_react53.useMemo)(() => {
|
|
7233
7368
|
if (helpfulness) {
|
|
7234
7369
|
return {
|
|
7235
7370
|
text: "\uB124",
|
|
@@ -7247,22 +7382,22 @@ function SessionReviewSimpleRead({
|
|
|
7247
7382
|
color: "error"
|
|
7248
7383
|
};
|
|
7249
7384
|
}, [helpfulness]);
|
|
7250
|
-
return /* @__PURE__ */ (0,
|
|
7251
|
-
/* @__PURE__ */ (0,
|
|
7252
|
-
/* @__PURE__ */ (0,
|
|
7385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
7386
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.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_runtime107.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
7387
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
7253
7388
|
] }) });
|
|
7254
7389
|
}
|
|
7255
7390
|
|
|
7256
7391
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
7257
|
-
var
|
|
7392
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
7258
7393
|
function SectionWrapper({
|
|
7259
7394
|
title,
|
|
7260
7395
|
children
|
|
7261
7396
|
}) {
|
|
7262
|
-
return /* @__PURE__ */ (0,
|
|
7263
|
-
/* @__PURE__ */ (0,
|
|
7264
|
-
/* @__PURE__ */ (0,
|
|
7265
|
-
/* @__PURE__ */ (0,
|
|
7397
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes6.Box, { children: [
|
|
7398
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
7399
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
7400
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes39.Separator, { size: "4" })
|
|
7266
7401
|
] }),
|
|
7267
7402
|
children
|
|
7268
7403
|
] });
|
|
@@ -7272,22 +7407,22 @@ function SessionUserInfoDetail({
|
|
|
7272
7407
|
session,
|
|
7273
7408
|
onClickCopy
|
|
7274
7409
|
}) {
|
|
7275
|
-
return /* @__PURE__ */ (0,
|
|
7276
|
-
/* @__PURE__ */ (0,
|
|
7410
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
7411
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
7277
7412
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
7278
7413
|
) }) }),
|
|
7279
|
-
/* @__PURE__ */ (0,
|
|
7414
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
7280
7415
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
7281
7416
|
) }) })
|
|
7282
7417
|
] });
|
|
7283
7418
|
}
|
|
7284
7419
|
|
|
7285
7420
|
// src/app/platform/report-card.tsx
|
|
7286
|
-
var
|
|
7287
|
-
var
|
|
7421
|
+
var import_react54 = require("react");
|
|
7422
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
7288
7423
|
function ReportCard(props) {
|
|
7289
7424
|
const { title, file, status, subtitle } = props;
|
|
7290
|
-
const onClickDownload = (0,
|
|
7425
|
+
const onClickDownload = (0, import_react54.useCallback)(() => {
|
|
7291
7426
|
if (!file) return;
|
|
7292
7427
|
const { url, fileName } = file;
|
|
7293
7428
|
const link = document.createElement("a");
|
|
@@ -7299,24 +7434,24 @@ function ReportCard(props) {
|
|
|
7299
7434
|
document.body.removeChild(link);
|
|
7300
7435
|
}, [file]);
|
|
7301
7436
|
if (status) {
|
|
7302
|
-
return /* @__PURE__ */ (0,
|
|
7303
|
-
/* @__PURE__ */ (0,
|
|
7437
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
7438
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
7304
7439
|
status
|
|
7305
7440
|
] }) });
|
|
7306
7441
|
}
|
|
7307
|
-
return /* @__PURE__ */ (0,
|
|
7442
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
7308
7443
|
import_themes22.Flex,
|
|
7309
7444
|
{
|
|
7310
7445
|
direction: { initial: "column", xs: "row" },
|
|
7311
7446
|
gapY: "2",
|
|
7312
7447
|
justify: "between",
|
|
7313
7448
|
children: [
|
|
7314
|
-
/* @__PURE__ */ (0,
|
|
7315
|
-
/* @__PURE__ */ (0,
|
|
7316
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
7449
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes6.Box, { children: [
|
|
7450
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
7451
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
7317
7452
|
] }),
|
|
7318
|
-
/* @__PURE__ */ (0,
|
|
7319
|
-
/* @__PURE__ */ (0,
|
|
7453
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
7454
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
7320
7455
|
file == null ? void 0 : file.buttonName
|
|
7321
7456
|
] }) }, file == null ? void 0 : file.url)
|
|
7322
7457
|
]
|
|
@@ -7325,9 +7460,9 @@ function ReportCard(props) {
|
|
|
7325
7460
|
}
|
|
7326
7461
|
|
|
7327
7462
|
// src/app/platform/contents-card.tsx
|
|
7328
|
-
var
|
|
7329
|
-
var
|
|
7330
|
-
var ContentsCard = (0,
|
|
7463
|
+
var import_react55 = require("react");
|
|
7464
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
7465
|
+
var ContentsCard = (0, import_react55.forwardRef)(
|
|
7331
7466
|
({
|
|
7332
7467
|
title,
|
|
7333
7468
|
description,
|
|
@@ -7337,7 +7472,7 @@ var ContentsCard = (0, import_react54.forwardRef)(
|
|
|
7337
7472
|
onClickCard,
|
|
7338
7473
|
isLoading = false
|
|
7339
7474
|
}, ref) => {
|
|
7340
|
-
return /* @__PURE__ */ (0,
|
|
7475
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
7341
7476
|
Card,
|
|
7342
7477
|
{
|
|
7343
7478
|
onClick: onClickCard,
|
|
@@ -7350,7 +7485,7 @@ var ContentsCard = (0, import_react54.forwardRef)(
|
|
|
7350
7485
|
maxHeight: "450px"
|
|
7351
7486
|
},
|
|
7352
7487
|
children: [
|
|
7353
|
-
/* @__PURE__ */ (0,
|
|
7488
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7354
7489
|
import_themes6.Box,
|
|
7355
7490
|
{
|
|
7356
7491
|
height: "210px",
|
|
@@ -7362,12 +7497,12 @@ var ContentsCard = (0, import_react54.forwardRef)(
|
|
|
7362
7497
|
width: "100%"
|
|
7363
7498
|
}
|
|
7364
7499
|
) }) }),
|
|
7365
|
-
/* @__PURE__ */ (0,
|
|
7366
|
-
/* @__PURE__ */ (0,
|
|
7367
|
-
/* @__PURE__ */ (0,
|
|
7368
|
-
/* @__PURE__ */ (0,
|
|
7500
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
7501
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes6.Box, { children: [
|
|
7502
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
7503
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
7369
7504
|
] }),
|
|
7370
|
-
/* @__PURE__ */ (0,
|
|
7505
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
7371
7506
|
import_themes23.Grid,
|
|
7372
7507
|
{
|
|
7373
7508
|
align: "center",
|
|
@@ -7377,10 +7512,10 @@ var ContentsCard = (0, import_react54.forwardRef)(
|
|
|
7377
7512
|
style: { marginTop: "auto" },
|
|
7378
7513
|
width: "100%",
|
|
7379
7514
|
children: [
|
|
7380
|
-
/* @__PURE__ */ (0,
|
|
7381
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
7382
|
-
/* @__PURE__ */ (0,
|
|
7383
|
-
/* @__PURE__ */ (0,
|
|
7515
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
7516
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(DropdownMenu.Root, { children: [
|
|
7517
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
7518
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7384
7519
|
DropdownMenu.Item,
|
|
7385
7520
|
{
|
|
7386
7521
|
onClick: (e) => {
|
|
@@ -7404,7 +7539,7 @@ var ContentsCard = (0, import_react54.forwardRef)(
|
|
|
7404
7539
|
ContentsCard.displayName = "ContentsCard";
|
|
7405
7540
|
|
|
7406
7541
|
// src/app/platform/curriculum-card.tsx
|
|
7407
|
-
var
|
|
7542
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
7408
7543
|
function CurriculumCard(props) {
|
|
7409
7544
|
const {
|
|
7410
7545
|
title,
|
|
@@ -7415,7 +7550,7 @@ function CurriculumCard(props) {
|
|
|
7415
7550
|
bgColor,
|
|
7416
7551
|
onClick
|
|
7417
7552
|
} = props;
|
|
7418
|
-
return /* @__PURE__ */ (0,
|
|
7553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
7419
7554
|
import_themes23.Grid,
|
|
7420
7555
|
{
|
|
7421
7556
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -7424,7 +7559,7 @@ function CurriculumCard(props) {
|
|
|
7424
7559
|
onClick,
|
|
7425
7560
|
style: { cursor: "pointer" },
|
|
7426
7561
|
children: [
|
|
7427
|
-
/* @__PURE__ */ (0,
|
|
7562
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7428
7563
|
import_themes6.Box,
|
|
7429
7564
|
{
|
|
7430
7565
|
height: "165px",
|
|
@@ -7439,32 +7574,32 @@ function CurriculumCard(props) {
|
|
|
7439
7574
|
backgroundAttachment: "local"
|
|
7440
7575
|
},
|
|
7441
7576
|
width: "100%",
|
|
7442
|
-
children: /* @__PURE__ */ (0,
|
|
7577
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
7443
7578
|
}
|
|
7444
7579
|
),
|
|
7445
|
-
/* @__PURE__ */ (0,
|
|
7446
|
-
/* @__PURE__ */ (0,
|
|
7447
|
-
/* @__PURE__ */ (0,
|
|
7448
|
-
/* @__PURE__ */ (0,
|
|
7580
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
7581
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
7582
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
7583
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7449
7584
|
Badge,
|
|
7450
7585
|
{
|
|
7451
7586
|
size: "medium",
|
|
7452
7587
|
style: { justifySelf: "flex-start" },
|
|
7453
7588
|
variant: "outline",
|
|
7454
|
-
children: /* @__PURE__ */ (0,
|
|
7455
|
-
/* @__PURE__ */ (0,
|
|
7589
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
7590
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_react_icons2.TimerIcon, {}),
|
|
7456
7591
|
runningTime
|
|
7457
7592
|
] })
|
|
7458
7593
|
}
|
|
7459
7594
|
)
|
|
7460
7595
|
] }),
|
|
7461
|
-
/* @__PURE__ */ (0,
|
|
7462
|
-
return /* @__PURE__ */ (0,
|
|
7596
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
7597
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
7463
7598
|
}) }) }),
|
|
7464
|
-
/* @__PURE__ */ (0,
|
|
7465
|
-
/* @__PURE__ */ (0,
|
|
7466
|
-
/* @__PURE__ */ (0,
|
|
7467
|
-
/* @__PURE__ */ (0,
|
|
7599
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes39.Separator, { size: "4" }),
|
|
7600
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
7601
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
7602
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
7468
7603
|
] })
|
|
7469
7604
|
] })
|
|
7470
7605
|
]
|
|
@@ -7653,6 +7788,7 @@ function CurriculumCard(props) {
|
|
|
7653
7788
|
TimerIcon,
|
|
7654
7789
|
ToastContainer,
|
|
7655
7790
|
Tooltip,
|
|
7791
|
+
TrainingInfoGuideline,
|
|
7656
7792
|
TrashIcon,
|
|
7657
7793
|
TriangleArrowDownIcon,
|
|
7658
7794
|
TriangleArrowUpIcon,
|