@tipp/ui 2.3.33 → 2.3.34
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 +456 -198
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +99 -98
- package/dist/app/platform/coach-question-list.cjs +12 -4
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +29 -29
- package/dist/app/platform/contents-card.cjs +12 -4
- package/dist/app/platform/contents-card.cjs.map +1 -1
- 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 +286 -28
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +79 -78
- package/dist/app/platform/edit-service-type.cjs +281 -23
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +80 -79
- package/dist/app/platform/goal-manage-card-edit.cjs +289 -31
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +79 -78
- package/dist/app/platform/goal-manage-card-read.cjs +12 -4
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +29 -29
- package/dist/app/platform/on-offline-radio-card.cjs +314 -54
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +79 -78
- package/dist/app/platform/report-card.cjs +12 -4
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +29 -29
- package/dist/app/platform/reservation-card.cjs +305 -47
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +80 -79
- package/dist/app/platform/session-card.cjs +331 -73
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +82 -81
- package/dist/app/platform/session-review-simple-read.cjs +12 -4
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +12 -4
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +32 -32
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +12 -4
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +12 -4
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +12 -4
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +29 -29
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +12 -4
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +29 -29
- package/dist/app/platform/userInfos/utils.cjs +12 -4
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- 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/dropdown-menu.cjs +9 -1
- package/dist/atoms/dropdown-menu.cjs.map +1 -1
- package/dist/atoms/dropdown-menu.d.cts +4 -1
- package/dist/atoms/dropdown-menu.d.ts +4 -1
- package/dist/atoms/dropdown-menu.js +1 -1
- package/dist/atoms/field-error-wrapper.js +2 -2
- package/dist/atoms/index.cjs +15 -7
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +62 -62
- package/dist/atoms/list.js +2 -2
- package/dist/atoms/pagination.js +3 -3
- package/dist/{chunk-I5RQ5T4B.js → chunk-24PLAIMJ.js} +12 -12
- package/dist/{chunk-SSSGPTRM.js → chunk-3GGJWSFK.js} +9 -9
- package/dist/{chunk-M2PVHXOE.js → chunk-3GQQQBJN.js} +4 -4
- package/dist/{chunk-SNPAB3HJ.js → chunk-446FD3VT.js} +10 -10
- package/dist/{chunk-KD6EXWP7.js → chunk-44VLRAHW.js} +9 -9
- package/dist/{chunk-BKYPABII.js → chunk-4N2R7MWQ.js} +5 -5
- package/dist/{chunk-5J4YHHVX.js → chunk-52VTWFM6.js} +22 -8
- package/dist/chunk-52VTWFM6.js.map +1 -0
- package/dist/{chunk-W7TBPRHG.js → chunk-5V6MQUTB.js} +2 -2
- package/dist/{chunk-AHXS2MBK.js → chunk-5ZEQ33PC.js} +5 -5
- package/dist/{chunk-JFJ3N4V5.js → chunk-7I7PZF5L.js} +2 -2
- package/dist/{chunk-MPZJH3PI.js → chunk-7ITDAUWI.js} +10 -10
- package/dist/{chunk-YADSNPMG.js → chunk-A7LYIUE7.js} +6 -6
- package/dist/{chunk-VK6INFSB.js → chunk-AQVIQODP.js} +4 -4
- package/dist/{chunk-VH37R5IH.js → chunk-BEIM5PNA.js} +4 -4
- package/dist/{chunk-HWK3UPZ3.js → chunk-BRNYILVO.js} +5 -5
- package/dist/{chunk-K3Q4XLCN.js → chunk-CQSM6JCO.js} +4 -4
- package/dist/{chunk-B5CKZFDM.js → chunk-D3KCPM4O.js} +4 -4
- package/dist/{chunk-3Z2XZ4ZG.js → chunk-DZSRS37B.js} +6 -6
- package/dist/{chunk-TTVJOFG5.js → chunk-EGT45N6F.js} +4 -4
- package/dist/{chunk-PD7RTFGB.js → chunk-FBFKBV5Y.js} +12 -12
- package/dist/{chunk-OHNBVT52.js → chunk-G7NEBNHU.js} +4 -4
- package/dist/{chunk-ZFTQ2XBH.js → chunk-GFURX6GB.js} +4 -4
- package/dist/{chunk-EWFZXCMV.js → chunk-GGLDVUYU.js} +4 -4
- package/dist/{chunk-3JRHAKLV.js → chunk-GMNJ7FMU.js} +10 -10
- package/dist/{chunk-NIMLBANB.js → chunk-GTXHAZSU.js} +7 -7
- package/dist/{chunk-6HMQEUHX.js → chunk-GZNELGHF.js} +9 -9
- package/dist/{chunk-76PNGKCB.js → chunk-HAZBA3RU.js} +4 -4
- package/dist/{chunk-GXPEADVY.js → chunk-HOMPMIZJ.js} +7 -7
- package/dist/{chunk-SACH3XVV.js → chunk-IEYBSZA3.js} +10 -10
- package/dist/{chunk-HLL4QJJY.js → chunk-IK6FGLFU.js} +10 -10
- package/dist/{chunk-LFYQFYWO.js → chunk-ILCRQ36E.js} +10 -10
- package/dist/{chunk-JRSZNGFD.js → chunk-JZVK4NDF.js} +5 -5
- package/dist/{chunk-MIATMZDP.js → chunk-KCCYHT23.js} +4 -4
- package/dist/{chunk-GXWE3QNN.js → chunk-KMQIN5PA.js} +5 -5
- package/dist/{chunk-GXG26SHU.js → chunk-KMVSJT6Y.js} +8 -8
- package/dist/chunk-LSDD4TAP.js +276 -0
- package/dist/chunk-LSDD4TAP.js.map +1 -0
- package/dist/{chunk-LIV5LHHZ.js → chunk-LT5C6QT7.js} +2 -2
- package/dist/{chunk-MFIOT62L.js → chunk-N4Y3QSUQ.js} +4 -4
- package/dist/{chunk-3WNHPKHP.js → chunk-NCNYKQU7.js} +7 -7
- package/dist/{chunk-BFRNEBJN.js → chunk-NHCUQ25T.js} +5 -5
- package/dist/{chunk-FVNXDLRU.js → chunk-O5MYSBA3.js} +2 -2
- package/dist/{chunk-XXMZLXDE.js → chunk-OHXP63A5.js} +8 -8
- package/dist/{chunk-M6C7IXCB.js → chunk-OXZXUPSB.js} +7 -7
- package/dist/{chunk-KCAOUZCT.js → chunk-P4KO43AP.js} +2 -2
- package/dist/{chunk-TB3ZF5TJ.js → chunk-P6C6KRXM.js} +5 -5
- package/dist/{chunk-6UXCNYVO.js → chunk-PXPGCDNA.js} +4 -4
- package/dist/{chunk-RFXVHZAN.js → chunk-QFEZIPWJ.js} +7 -7
- package/dist/{chunk-ZVSATS4O.js → chunk-QIAMX2NR.js} +7 -7
- package/dist/{chunk-Z34HR7RE.js → chunk-QRI6ARS6.js} +4 -4
- package/dist/{chunk-CNW3YEAK.js → chunk-R3WM6HV6.js} +4 -4
- package/dist/{chunk-MJMHPIYX.js → chunk-SDEDXT7A.js} +4 -4
- package/dist/{chunk-D4U2MCJG.js → chunk-SMLC2O3V.js} +10 -2
- package/dist/chunk-SMLC2O3V.js.map +1 -0
- package/dist/{chunk-R3ZYNS4D.js → chunk-STBTV3GY.js} +9 -9
- package/dist/chunk-SYMOHU2B.js +1 -0
- package/dist/{chunk-6TQGX5ZU.js → chunk-TP7DOXLP.js} +2 -2
- package/dist/{chunk-3DEAIJBF.js → chunk-UGYH6IXU.js} +15 -15
- package/dist/{chunk-5JQOU3IR.js → chunk-UH6Q3TEK.js} +7 -7
- package/dist/{chunk-MTGKF6SO.js → chunk-UKV2WNLS.js} +9 -9
- package/dist/{chunk-PWTMDEL2.js → chunk-V4XCZSRN.js} +10 -10
- package/dist/{chunk-4PYFMD24.js → chunk-VKH2GRVW.js} +2 -2
- package/dist/{chunk-SAEPW5JF.js → chunk-VREM33BW.js} +6 -6
- package/dist/{chunk-ZOPYFDLO.js → chunk-VRJR534I.js} +4 -4
- package/dist/{chunk-JRT6KTBG.js → chunk-WMWXF44S.js} +4 -4
- package/dist/{chunk-JIJLOKVN.js → chunk-WV2HN6H4.js} +4 -4
- package/dist/{chunk-SLJLEPD2.js → chunk-YDHBTQX4.js} +11 -11
- package/dist/{chunk-4QHXYLE4.js → chunk-YE3UDMTZ.js} +10 -10
- package/dist/{chunk-CI2XFT7Y.js → chunk-YP3H5H4D.js} +11 -11
- package/dist/{chunk-WOAZK56Z.js → chunk-Z7SS2DHW.js} +6 -6
- package/dist/context/index.js +5 -5
- package/dist/index.cjs +562 -292
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +160 -156
- package/dist/molecules/autocomplete-textfield.cjs +417 -0
- package/dist/molecules/autocomplete-textfield.cjs.map +1 -0
- package/dist/molecules/autocomplete-textfield.d.cts +26 -0
- package/dist/molecules/autocomplete-textfield.d.ts +26 -0
- package/dist/molecules/autocomplete-textfield.js +12 -0
- package/dist/molecules/autocomplete-textfield.js.map +1 -0
- 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 +27 -27
- 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 +34 -34
- 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-editor-field-editor-panel.js +4 -4
- package/dist/molecules/dynamic-form-editor-field-list-panel.js +3 -3
- package/dist/molecules/dynamic-form-editor-issues-panel.js +3 -3
- package/dist/molecules/dynamic-form-editor-preview-panel.js +8 -8
- package/dist/molecules/dynamic-form-editor.js +15 -15
- package/dist/molecules/dynamic-form.js +6 -6
- package/dist/molecules/expand-table/index.cjs +12 -2
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.d.cts +2 -0
- package/dist/molecules/expand-table/index.d.ts +2 -0
- 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 +298 -2
- 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 +77 -72
- 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.js +7 -7
- package/package.json +1 -1
- package/src/atoms/dropdown-menu.tsx +13 -0
- package/src/molecules/autocomplete-textfield.tsx +302 -0
- package/src/molecules/expand-table/index.tsx +16 -3
- package/src/molecules/index.ts +2 -1
- package/dist/chunk-5J4YHHVX.js.map +0 -1
- package/dist/chunk-D4U2MCJG.js.map +0 -1
- package/dist/chunk-YWYYPYBK.js +0 -1
- /package/dist/{chunk-I5RQ5T4B.js.map → chunk-24PLAIMJ.js.map} +0 -0
- /package/dist/{chunk-SSSGPTRM.js.map → chunk-3GGJWSFK.js.map} +0 -0
- /package/dist/{chunk-M2PVHXOE.js.map → chunk-3GQQQBJN.js.map} +0 -0
- /package/dist/{chunk-SNPAB3HJ.js.map → chunk-446FD3VT.js.map} +0 -0
- /package/dist/{chunk-KD6EXWP7.js.map → chunk-44VLRAHW.js.map} +0 -0
- /package/dist/{chunk-BKYPABII.js.map → chunk-4N2R7MWQ.js.map} +0 -0
- /package/dist/{chunk-W7TBPRHG.js.map → chunk-5V6MQUTB.js.map} +0 -0
- /package/dist/{chunk-AHXS2MBK.js.map → chunk-5ZEQ33PC.js.map} +0 -0
- /package/dist/{chunk-JFJ3N4V5.js.map → chunk-7I7PZF5L.js.map} +0 -0
- /package/dist/{chunk-MPZJH3PI.js.map → chunk-7ITDAUWI.js.map} +0 -0
- /package/dist/{chunk-YADSNPMG.js.map → chunk-A7LYIUE7.js.map} +0 -0
- /package/dist/{chunk-VK6INFSB.js.map → chunk-AQVIQODP.js.map} +0 -0
- /package/dist/{chunk-VH37R5IH.js.map → chunk-BEIM5PNA.js.map} +0 -0
- /package/dist/{chunk-HWK3UPZ3.js.map → chunk-BRNYILVO.js.map} +0 -0
- /package/dist/{chunk-K3Q4XLCN.js.map → chunk-CQSM6JCO.js.map} +0 -0
- /package/dist/{chunk-B5CKZFDM.js.map → chunk-D3KCPM4O.js.map} +0 -0
- /package/dist/{chunk-3Z2XZ4ZG.js.map → chunk-DZSRS37B.js.map} +0 -0
- /package/dist/{chunk-TTVJOFG5.js.map → chunk-EGT45N6F.js.map} +0 -0
- /package/dist/{chunk-PD7RTFGB.js.map → chunk-FBFKBV5Y.js.map} +0 -0
- /package/dist/{chunk-OHNBVT52.js.map → chunk-G7NEBNHU.js.map} +0 -0
- /package/dist/{chunk-ZFTQ2XBH.js.map → chunk-GFURX6GB.js.map} +0 -0
- /package/dist/{chunk-EWFZXCMV.js.map → chunk-GGLDVUYU.js.map} +0 -0
- /package/dist/{chunk-3JRHAKLV.js.map → chunk-GMNJ7FMU.js.map} +0 -0
- /package/dist/{chunk-NIMLBANB.js.map → chunk-GTXHAZSU.js.map} +0 -0
- /package/dist/{chunk-6HMQEUHX.js.map → chunk-GZNELGHF.js.map} +0 -0
- /package/dist/{chunk-76PNGKCB.js.map → chunk-HAZBA3RU.js.map} +0 -0
- /package/dist/{chunk-GXPEADVY.js.map → chunk-HOMPMIZJ.js.map} +0 -0
- /package/dist/{chunk-SACH3XVV.js.map → chunk-IEYBSZA3.js.map} +0 -0
- /package/dist/{chunk-HLL4QJJY.js.map → chunk-IK6FGLFU.js.map} +0 -0
- /package/dist/{chunk-LFYQFYWO.js.map → chunk-ILCRQ36E.js.map} +0 -0
- /package/dist/{chunk-JRSZNGFD.js.map → chunk-JZVK4NDF.js.map} +0 -0
- /package/dist/{chunk-MIATMZDP.js.map → chunk-KCCYHT23.js.map} +0 -0
- /package/dist/{chunk-GXWE3QNN.js.map → chunk-KMQIN5PA.js.map} +0 -0
- /package/dist/{chunk-GXG26SHU.js.map → chunk-KMVSJT6Y.js.map} +0 -0
- /package/dist/{chunk-LIV5LHHZ.js.map → chunk-LT5C6QT7.js.map} +0 -0
- /package/dist/{chunk-MFIOT62L.js.map → chunk-N4Y3QSUQ.js.map} +0 -0
- /package/dist/{chunk-3WNHPKHP.js.map → chunk-NCNYKQU7.js.map} +0 -0
- /package/dist/{chunk-BFRNEBJN.js.map → chunk-NHCUQ25T.js.map} +0 -0
- /package/dist/{chunk-FVNXDLRU.js.map → chunk-O5MYSBA3.js.map} +0 -0
- /package/dist/{chunk-XXMZLXDE.js.map → chunk-OHXP63A5.js.map} +0 -0
- /package/dist/{chunk-M6C7IXCB.js.map → chunk-OXZXUPSB.js.map} +0 -0
- /package/dist/{chunk-KCAOUZCT.js.map → chunk-P4KO43AP.js.map} +0 -0
- /package/dist/{chunk-TB3ZF5TJ.js.map → chunk-P6C6KRXM.js.map} +0 -0
- /package/dist/{chunk-6UXCNYVO.js.map → chunk-PXPGCDNA.js.map} +0 -0
- /package/dist/{chunk-RFXVHZAN.js.map → chunk-QFEZIPWJ.js.map} +0 -0
- /package/dist/{chunk-ZVSATS4O.js.map → chunk-QIAMX2NR.js.map} +0 -0
- /package/dist/{chunk-Z34HR7RE.js.map → chunk-QRI6ARS6.js.map} +0 -0
- /package/dist/{chunk-CNW3YEAK.js.map → chunk-R3WM6HV6.js.map} +0 -0
- /package/dist/{chunk-MJMHPIYX.js.map → chunk-SDEDXT7A.js.map} +0 -0
- /package/dist/{chunk-R3ZYNS4D.js.map → chunk-STBTV3GY.js.map} +0 -0
- /package/dist/{chunk-YWYYPYBK.js.map → chunk-SYMOHU2B.js.map} +0 -0
- /package/dist/{chunk-6TQGX5ZU.js.map → chunk-TP7DOXLP.js.map} +0 -0
- /package/dist/{chunk-3DEAIJBF.js.map → chunk-UGYH6IXU.js.map} +0 -0
- /package/dist/{chunk-5JQOU3IR.js.map → chunk-UH6Q3TEK.js.map} +0 -0
- /package/dist/{chunk-MTGKF6SO.js.map → chunk-UKV2WNLS.js.map} +0 -0
- /package/dist/{chunk-PWTMDEL2.js.map → chunk-V4XCZSRN.js.map} +0 -0
- /package/dist/{chunk-4PYFMD24.js.map → chunk-VKH2GRVW.js.map} +0 -0
- /package/dist/{chunk-SAEPW5JF.js.map → chunk-VREM33BW.js.map} +0 -0
- /package/dist/{chunk-ZOPYFDLO.js.map → chunk-VRJR534I.js.map} +0 -0
- /package/dist/{chunk-JRT6KTBG.js.map → chunk-WMWXF44S.js.map} +0 -0
- /package/dist/{chunk-JIJLOKVN.js.map → chunk-WV2HN6H4.js.map} +0 -0
- /package/dist/{chunk-SLJLEPD2.js.map → chunk-YDHBTQX4.js.map} +0 -0
- /package/dist/{chunk-4QHXYLE4.js.map → chunk-YE3UDMTZ.js.map} +0 -0
- /package/dist/{chunk-CI2XFT7Y.js.map → chunk-YP3H5H4D.js.map} +0 -0
- /package/dist/{chunk-WOAZK56Z.js.map → chunk-Z7SS2DHW.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -87,6 +87,7 @@ __export(index_exports, {
|
|
|
87
87
|
ArrowTopRightIcon: () => import_react_icons2.ArrowTopRightIcon,
|
|
88
88
|
AspectRatio: () => import_themes2.AspectRatio,
|
|
89
89
|
AutoSizingInput: () => AutoSizingInput,
|
|
90
|
+
AutocompleteTextfield: () => AutocompleteTextfield,
|
|
90
91
|
Avatar: () => Avatar,
|
|
91
92
|
BackpackIcon: () => import_react_icons2.BackpackIcon,
|
|
92
93
|
Badge: () => Badge,
|
|
@@ -268,7 +269,7 @@ __export(index_exports, {
|
|
|
268
269
|
TrashIcon: () => import_react_icons2.TrashIcon,
|
|
269
270
|
TriangleArrowDownIcon: () => TriangleArrowDownIcon,
|
|
270
271
|
TriangleArrowUpIcon: () => TriangleArrowUpIcon,
|
|
271
|
-
Trigger: () =>
|
|
272
|
+
Trigger: () => Trigger6,
|
|
272
273
|
Typo: () => Typo,
|
|
273
274
|
UIStateContext: () => UIStateContext,
|
|
274
275
|
UIStateProvider: () => UIStateProvider,
|
|
@@ -292,7 +293,7 @@ __export(index_exports, {
|
|
|
292
293
|
useDynamicForm: () => useDynamicForm,
|
|
293
294
|
useList: () => useList,
|
|
294
295
|
usePortalContainer: () => usePortalContainer,
|
|
295
|
-
useThemeContext: () =>
|
|
296
|
+
useThemeContext: () => import_themes59.useThemeContext,
|
|
296
297
|
useUIState: () => useUIState
|
|
297
298
|
});
|
|
298
299
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -840,8 +841,16 @@ var Content3 = (0, import_react11.forwardRef)((props, ref) => {
|
|
|
840
841
|
);
|
|
841
842
|
});
|
|
842
843
|
Content3.displayName = "DropdownMenu.Content";
|
|
844
|
+
var Trigger3 = (0, import_react11.forwardRef)(
|
|
845
|
+
(_a, ref) => {
|
|
846
|
+
var _b = _a, { asChild: _asChild } = _b, props = __objRest(_b, ["asChild"]);
|
|
847
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes20.DropdownMenu.Trigger, __spreadValues({ ref }, props));
|
|
848
|
+
}
|
|
849
|
+
);
|
|
850
|
+
Trigger3.displayName = "DropdownMenu.Trigger";
|
|
843
851
|
var DropdownMenu = __spreadProps(__spreadValues({}, import_themes20.DropdownMenu), {
|
|
844
|
-
Content: Content3
|
|
852
|
+
Content: Content3,
|
|
853
|
+
Trigger: Trigger3
|
|
845
854
|
});
|
|
846
855
|
|
|
847
856
|
// src/atoms/em.tsx
|
|
@@ -937,7 +946,7 @@ var Content4 = (0, import_react13.forwardRef)((props, ref) => {
|
|
|
937
946
|
);
|
|
938
947
|
});
|
|
939
948
|
Content4.displayName = "Select.Content";
|
|
940
|
-
var
|
|
949
|
+
var Trigger4 = (0, import_react13.forwardRef)(
|
|
941
950
|
(props, ref) => {
|
|
942
951
|
const _a = props, { className } = _a, rest = __objRest(_a, ["className"]);
|
|
943
952
|
const { error } = (0, import_react13.useContext)(SelectContext);
|
|
@@ -948,7 +957,7 @@ var Trigger3 = (0, import_react13.forwardRef)(
|
|
|
948
957
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Trigger, __spreadProps(__spreadValues({}, rest), { className: cls, ref }));
|
|
949
958
|
}
|
|
950
959
|
);
|
|
951
|
-
|
|
960
|
+
Trigger4.displayName = "Select.Trigger";
|
|
952
961
|
function Root4(props) {
|
|
953
962
|
const _a = props, { error } = _a, rest = __objRest(_a, ["error"]);
|
|
954
963
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectContext.Provider, { value: { error }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Root, __spreadValues({}, rest)) });
|
|
@@ -956,7 +965,7 @@ function Root4(props) {
|
|
|
956
965
|
Root4.displayName = "Select.Root";
|
|
957
966
|
var Select = __spreadProps(__spreadValues({}, import_themes38.Select), {
|
|
958
967
|
Root: Root4,
|
|
959
|
-
Trigger:
|
|
968
|
+
Trigger: Trigger4,
|
|
960
969
|
Content: Content4
|
|
961
970
|
});
|
|
962
971
|
|
|
@@ -1933,12 +1942,12 @@ function Content6(props) {
|
|
|
1933
1942
|
)
|
|
1934
1943
|
] }) });
|
|
1935
1944
|
}
|
|
1936
|
-
function
|
|
1945
|
+
function Trigger6(props) {
|
|
1937
1946
|
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
|
|
1938
1947
|
}
|
|
1939
1948
|
var Drawer = {
|
|
1940
1949
|
Root: Dialog2.Root,
|
|
1941
|
-
Trigger:
|
|
1950
|
+
Trigger: Trigger6,
|
|
1942
1951
|
Content: Content6,
|
|
1943
1952
|
Close: Dialog2.Close,
|
|
1944
1953
|
Title: Dialog2.Title,
|
|
@@ -2385,6 +2394,7 @@ function ExpandTable(props) {
|
|
|
2385
2394
|
pageIndex = 0,
|
|
2386
2395
|
pageSize = 10,
|
|
2387
2396
|
siblingCount = 2,
|
|
2397
|
+
onPageChange,
|
|
2388
2398
|
getRowStyle,
|
|
2389
2399
|
getCellStyle,
|
|
2390
2400
|
variant = "card"
|
|
@@ -2394,6 +2404,13 @@ function ExpandTable(props) {
|
|
|
2394
2404
|
pageIndex: pageIndex || 0,
|
|
2395
2405
|
pageSize: pageSize || 9999
|
|
2396
2406
|
});
|
|
2407
|
+
(0, import_react26.useEffect)(() => {
|
|
2408
|
+
setPagination((prev) => {
|
|
2409
|
+
const next = pageIndex;
|
|
2410
|
+
if (prev.pageIndex === next) return prev;
|
|
2411
|
+
return __spreadProps(__spreadValues({}, prev), { pageIndex: next });
|
|
2412
|
+
});
|
|
2413
|
+
}, [pageIndex]);
|
|
2397
2414
|
const [sorting, setSorting] = (0, import_react26.useState)([]);
|
|
2398
2415
|
const { getRowModel, getHeaderGroups, setPageIndex } = (0, import_react_table2.useReactTable)({
|
|
2399
2416
|
data: data || [],
|
|
@@ -2418,9 +2435,11 @@ function ExpandTable(props) {
|
|
|
2418
2435
|
const rowModels = getRowModel();
|
|
2419
2436
|
const onChangePagination = (0, import_react26.useCallback)(
|
|
2420
2437
|
(page) => {
|
|
2421
|
-
|
|
2438
|
+
const idx = page - 1;
|
|
2439
|
+
setPageIndex(idx);
|
|
2440
|
+
onPageChange == null ? void 0 : onPageChange(idx);
|
|
2422
2441
|
},
|
|
2423
|
-
[setPageIndex]
|
|
2442
|
+
[setPageIndex, onPageChange]
|
|
2424
2443
|
);
|
|
2425
2444
|
const helpCompRender = (0, import_react26.useCallback)(
|
|
2426
2445
|
(rowLength) => {
|
|
@@ -7695,29 +7714,279 @@ function DynamicFormEditor(props) {
|
|
|
7695
7714
|
] });
|
|
7696
7715
|
}
|
|
7697
7716
|
|
|
7698
|
-
// src/
|
|
7717
|
+
// src/molecules/autocomplete-textfield.tsx
|
|
7718
|
+
var import_react50 = require("react");
|
|
7699
7719
|
var import_themes58 = require("@radix-ui/themes");
|
|
7720
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
7721
|
+
var AutocompleteTextfield = (0, import_react50.forwardRef)(
|
|
7722
|
+
(_a, ref) => {
|
|
7723
|
+
var _b = _a, {
|
|
7724
|
+
options,
|
|
7725
|
+
value: externalValue,
|
|
7726
|
+
onChange,
|
|
7727
|
+
onSelect,
|
|
7728
|
+
placeholder,
|
|
7729
|
+
emptyMessage = "\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
7730
|
+
maxItems = 10,
|
|
7731
|
+
slotLeft,
|
|
7732
|
+
slotRight,
|
|
7733
|
+
error
|
|
7734
|
+
} = _b, rest = __objRest(_b, [
|
|
7735
|
+
"options",
|
|
7736
|
+
"value",
|
|
7737
|
+
"onChange",
|
|
7738
|
+
"onSelect",
|
|
7739
|
+
"placeholder",
|
|
7740
|
+
"emptyMessage",
|
|
7741
|
+
"maxItems",
|
|
7742
|
+
"slotLeft",
|
|
7743
|
+
"slotRight",
|
|
7744
|
+
"error"
|
|
7745
|
+
]);
|
|
7746
|
+
const isControlled = externalValue !== void 0;
|
|
7747
|
+
const [internalValue, setInternalValue] = (0, import_react50.useState)("");
|
|
7748
|
+
const inputValue = isControlled ? externalValue : internalValue;
|
|
7749
|
+
const [open, setOpen] = (0, import_react50.useState)(false);
|
|
7750
|
+
const [highlightedIndex, setHighlightedIndex] = (0, import_react50.useState)(-1);
|
|
7751
|
+
const inputRef = (0, import_react50.useRef)(null);
|
|
7752
|
+
const listRef = (0, import_react50.useRef)(null);
|
|
7753
|
+
const listboxId = (0, import_react50.useId)();
|
|
7754
|
+
const justSelectedRef = (0, import_react50.useRef)(false);
|
|
7755
|
+
const filtered = options.filter(
|
|
7756
|
+
(opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())
|
|
7757
|
+
).slice(0, maxItems);
|
|
7758
|
+
const handleInputChange = (0, import_react50.useCallback)(
|
|
7759
|
+
(e) => {
|
|
7760
|
+
const next = e.target.value;
|
|
7761
|
+
if (!isControlled) setInternalValue(next);
|
|
7762
|
+
onChange == null ? void 0 : onChange(next);
|
|
7763
|
+
const nextFiltered = options.filter((opt) => opt.label.toLowerCase().includes(next.toLowerCase())).slice(0, maxItems);
|
|
7764
|
+
setOpen(nextFiltered.length > 0 || emptyMessage !== null);
|
|
7765
|
+
setHighlightedIndex(-1);
|
|
7766
|
+
},
|
|
7767
|
+
[isControlled, onChange, options, maxItems, emptyMessage]
|
|
7768
|
+
);
|
|
7769
|
+
const handleSelect = (0, import_react50.useCallback)(
|
|
7770
|
+
(option) => {
|
|
7771
|
+
var _a2;
|
|
7772
|
+
if (!isControlled) setInternalValue(option.label);
|
|
7773
|
+
onChange == null ? void 0 : onChange(option.label);
|
|
7774
|
+
onSelect == null ? void 0 : onSelect(option);
|
|
7775
|
+
setOpen(false);
|
|
7776
|
+
setHighlightedIndex(-1);
|
|
7777
|
+
justSelectedRef.current = true;
|
|
7778
|
+
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
7779
|
+
},
|
|
7780
|
+
[isControlled, onChange, onSelect]
|
|
7781
|
+
);
|
|
7782
|
+
const handleFocus = (0, import_react50.useCallback)(() => {
|
|
7783
|
+
if (justSelectedRef.current) {
|
|
7784
|
+
justSelectedRef.current = false;
|
|
7785
|
+
return;
|
|
7786
|
+
}
|
|
7787
|
+
const currentFiltered = options.filter((opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())).slice(0, maxItems);
|
|
7788
|
+
setOpen(currentFiltered.length > 0 || emptyMessage !== null);
|
|
7789
|
+
}, [options, inputValue, maxItems, emptyMessage]);
|
|
7790
|
+
const handleBlur = (0, import_react50.useCallback)((e) => {
|
|
7791
|
+
var _a2, _b2;
|
|
7792
|
+
if (e.relatedTarget && ((_b2 = (_a2 = inputRef.current) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b2.contains(e.relatedTarget))) {
|
|
7793
|
+
return;
|
|
7794
|
+
}
|
|
7795
|
+
setOpen(false);
|
|
7796
|
+
setHighlightedIndex(-1);
|
|
7797
|
+
}, []);
|
|
7798
|
+
const handleKeyDown = (0, import_react50.useCallback)(
|
|
7799
|
+
(e) => {
|
|
7800
|
+
if (!open) {
|
|
7801
|
+
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
7802
|
+
setOpen(true);
|
|
7803
|
+
setHighlightedIndex(0);
|
|
7804
|
+
e.preventDefault();
|
|
7805
|
+
}
|
|
7806
|
+
return;
|
|
7807
|
+
}
|
|
7808
|
+
switch (e.key) {
|
|
7809
|
+
case "ArrowDown":
|
|
7810
|
+
e.preventDefault();
|
|
7811
|
+
setHighlightedIndex(
|
|
7812
|
+
(prev) => prev < filtered.length - 1 ? prev + 1 : 0
|
|
7813
|
+
);
|
|
7814
|
+
break;
|
|
7815
|
+
case "ArrowUp":
|
|
7816
|
+
e.preventDefault();
|
|
7817
|
+
setHighlightedIndex(
|
|
7818
|
+
(prev) => prev > 0 ? prev - 1 : filtered.length - 1
|
|
7819
|
+
);
|
|
7820
|
+
break;
|
|
7821
|
+
case "Enter":
|
|
7822
|
+
e.preventDefault();
|
|
7823
|
+
if (highlightedIndex >= 0 && filtered[highlightedIndex]) {
|
|
7824
|
+
handleSelect(filtered[highlightedIndex]);
|
|
7825
|
+
}
|
|
7826
|
+
break;
|
|
7827
|
+
case "Escape":
|
|
7828
|
+
setOpen(false);
|
|
7829
|
+
setHighlightedIndex(-1);
|
|
7830
|
+
break;
|
|
7831
|
+
case "Tab":
|
|
7832
|
+
setOpen(false);
|
|
7833
|
+
setHighlightedIndex(-1);
|
|
7834
|
+
break;
|
|
7835
|
+
default:
|
|
7836
|
+
break;
|
|
7837
|
+
}
|
|
7838
|
+
},
|
|
7839
|
+
[open, filtered, highlightedIndex, handleSelect]
|
|
7840
|
+
);
|
|
7841
|
+
(0, import_react50.useEffect)(() => {
|
|
7842
|
+
if (!listRef.current || highlightedIndex < 0) return;
|
|
7843
|
+
const item = listRef.current.children[highlightedIndex];
|
|
7844
|
+
item.scrollIntoView({ block: "nearest" });
|
|
7845
|
+
}, [highlightedIndex]);
|
|
7846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes58.Box, { position: "relative", style: { width: "100%" }, children: [
|
|
7847
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
7848
|
+
TextField.Root,
|
|
7849
|
+
__spreadProps(__spreadValues({
|
|
7850
|
+
"aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
|
|
7851
|
+
"aria-autocomplete": "list",
|
|
7852
|
+
"aria-controls": open ? listboxId : void 0,
|
|
7853
|
+
"aria-expanded": open,
|
|
7854
|
+
error,
|
|
7855
|
+
onBlur: handleBlur,
|
|
7856
|
+
onChange: handleInputChange,
|
|
7857
|
+
onFocus: handleFocus,
|
|
7858
|
+
onKeyDown: handleKeyDown,
|
|
7859
|
+
placeholder,
|
|
7860
|
+
ref: (node) => {
|
|
7861
|
+
inputRef.current = node;
|
|
7862
|
+
if (typeof ref === "function") {
|
|
7863
|
+
ref(node);
|
|
7864
|
+
} else if (ref) {
|
|
7865
|
+
ref.current = node;
|
|
7866
|
+
}
|
|
7867
|
+
},
|
|
7868
|
+
role: "combobox",
|
|
7869
|
+
style: { width: "100%" },
|
|
7870
|
+
value: inputValue
|
|
7871
|
+
}, rest), {
|
|
7872
|
+
children: [
|
|
7873
|
+
slotLeft && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
|
|
7874
|
+
slotRight && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(TextField.Slot, { side: "right", children: slotRight })
|
|
7875
|
+
]
|
|
7876
|
+
})
|
|
7877
|
+
),
|
|
7878
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
7879
|
+
DropdownMenu.Root,
|
|
7880
|
+
{
|
|
7881
|
+
modal: false,
|
|
7882
|
+
onOpenChange: (nextOpen) => {
|
|
7883
|
+
if (!nextOpen && document.activeElement !== inputRef.current) {
|
|
7884
|
+
setOpen(false);
|
|
7885
|
+
setHighlightedIndex(-1);
|
|
7886
|
+
}
|
|
7887
|
+
},
|
|
7888
|
+
open,
|
|
7889
|
+
children: [
|
|
7890
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
7891
|
+
"span",
|
|
7892
|
+
{
|
|
7893
|
+
"aria-hidden": "true",
|
|
7894
|
+
style: {
|
|
7895
|
+
bottom: 0,
|
|
7896
|
+
height: 0,
|
|
7897
|
+
left: 0,
|
|
7898
|
+
opacity: 0,
|
|
7899
|
+
pointerEvents: "none",
|
|
7900
|
+
position: "absolute",
|
|
7901
|
+
width: "100%"
|
|
7902
|
+
}
|
|
7903
|
+
}
|
|
7904
|
+
) }),
|
|
7905
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
7906
|
+
DropdownMenu.Content,
|
|
7907
|
+
{
|
|
7908
|
+
align: "start",
|
|
7909
|
+
onCloseAutoFocus: (e) => {
|
|
7910
|
+
e.preventDefault();
|
|
7911
|
+
},
|
|
7912
|
+
onOpenAutoFocus: (e) => {
|
|
7913
|
+
e.preventDefault();
|
|
7914
|
+
},
|
|
7915
|
+
sideOffset: 4,
|
|
7916
|
+
style: {
|
|
7917
|
+
maxHeight: 240,
|
|
7918
|
+
overflowY: "auto",
|
|
7919
|
+
padding: 0,
|
|
7920
|
+
width: "var(--radix-dropdown-menu-trigger-width)"
|
|
7921
|
+
},
|
|
7922
|
+
children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes58.Box, { px: "2", py: "2", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { color: "gray", children: emptyMessage }) }) : /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
7923
|
+
"ul",
|
|
7924
|
+
{
|
|
7925
|
+
id: listboxId,
|
|
7926
|
+
ref: listRef,
|
|
7927
|
+
role: "listbox",
|
|
7928
|
+
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
7929
|
+
children: filtered.map((option, index) => {
|
|
7930
|
+
const isHighlighted = index === highlightedIndex;
|
|
7931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
7932
|
+
"li",
|
|
7933
|
+
{
|
|
7934
|
+
"aria-selected": isHighlighted,
|
|
7935
|
+
id: `${listboxId}-option-${index}`,
|
|
7936
|
+
onMouseEnter: () => {
|
|
7937
|
+
setHighlightedIndex(index);
|
|
7938
|
+
},
|
|
7939
|
+
onPointerDown: (e) => {
|
|
7940
|
+
e.preventDefault();
|
|
7941
|
+
handleSelect(option);
|
|
7942
|
+
},
|
|
7943
|
+
role: "option",
|
|
7944
|
+
style: {
|
|
7945
|
+
padding: "var(--spacing-4) var(--spacing-6)",
|
|
7946
|
+
cursor: "pointer",
|
|
7947
|
+
backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
|
|
7948
|
+
transition: "background-color 80ms"
|
|
7949
|
+
},
|
|
7950
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { variant: "body", children: option.label })
|
|
7951
|
+
},
|
|
7952
|
+
option.value
|
|
7953
|
+
);
|
|
7954
|
+
})
|
|
7955
|
+
}
|
|
7956
|
+
)
|
|
7957
|
+
}
|
|
7958
|
+
)
|
|
7959
|
+
]
|
|
7960
|
+
}
|
|
7961
|
+
)
|
|
7962
|
+
] });
|
|
7963
|
+
}
|
|
7964
|
+
);
|
|
7965
|
+
AutocompleteTextfield.displayName = "AutocompleteTextfield";
|
|
7966
|
+
|
|
7967
|
+
// src/theme/use-theme.tsx
|
|
7968
|
+
var import_themes59 = require("@radix-ui/themes");
|
|
7700
7969
|
|
|
7701
7970
|
// src/ui-props/index.ts
|
|
7702
7971
|
var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
7703
7972
|
|
|
7704
7973
|
// src/charts/horizontal-bar-chart.tsx
|
|
7705
|
-
var
|
|
7974
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
7706
7975
|
function HorizontalBarChart(props) {
|
|
7707
7976
|
const { total, value, backgroundColor, barColor, height } = props;
|
|
7708
|
-
return /* @__PURE__ */ (0,
|
|
7977
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7709
7978
|
"div",
|
|
7710
7979
|
{
|
|
7711
7980
|
className: "tipp_horizontal-bar-chart bar-wrapper",
|
|
7712
7981
|
style: { height, backgroundColor },
|
|
7713
|
-
children: /* @__PURE__ */ (0,
|
|
7982
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7714
7983
|
"div",
|
|
7715
7984
|
{
|
|
7716
7985
|
style: {
|
|
7717
7986
|
width: `${Math.round(value / total * 100)}%`,
|
|
7718
7987
|
height: "100%"
|
|
7719
7988
|
},
|
|
7720
|
-
children: /* @__PURE__ */ (0,
|
|
7989
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
|
|
7721
7990
|
}
|
|
7722
7991
|
)
|
|
7723
7992
|
}
|
|
@@ -7873,23 +8142,23 @@ var EchartDefaultProps = {
|
|
|
7873
8142
|
};
|
|
7874
8143
|
|
|
7875
8144
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
7876
|
-
var
|
|
8145
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
7877
8146
|
function CoachingCustomerInfoSmall({
|
|
7878
8147
|
customer,
|
|
7879
8148
|
children,
|
|
7880
8149
|
badge
|
|
7881
8150
|
}) {
|
|
7882
|
-
return /* @__PURE__ */ (0,
|
|
8151
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
|
|
7883
8152
|
import_themes22.Flex,
|
|
7884
8153
|
{
|
|
7885
8154
|
direction: { initial: "column", xs: "row" },
|
|
7886
8155
|
gap: "3",
|
|
7887
8156
|
justify: "between",
|
|
7888
8157
|
children: [
|
|
7889
|
-
/* @__PURE__ */ (0,
|
|
7890
|
-
/* @__PURE__ */ (0,
|
|
7891
|
-
/* @__PURE__ */ (0,
|
|
7892
|
-
/* @__PURE__ */ (0,
|
|
8158
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
8159
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
8160
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
8161
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
7893
8162
|
] }) }),
|
|
7894
8163
|
children
|
|
7895
8164
|
]
|
|
@@ -7900,7 +8169,7 @@ function CoachingCustomerInfoSmall({
|
|
|
7900
8169
|
// src/app/platform/userInfos/utils.tsx
|
|
7901
8170
|
var import_date_fns3 = require("date-fns");
|
|
7902
8171
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
7903
|
-
var
|
|
8172
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
7904
8173
|
var infoList = [
|
|
7905
8174
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
7906
8175
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -7960,21 +8229,21 @@ var sessionList = [
|
|
|
7960
8229
|
var renderItem = (args) => {
|
|
7961
8230
|
const { info, data, onClickCopy } = args;
|
|
7962
8231
|
const value = info.getValue(data);
|
|
7963
|
-
return /* @__PURE__ */ (0,
|
|
8232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_jsx_runtime101.Fragment, { children: [
|
|
7964
8233
|
info.render ? info.render(value) : value || "-",
|
|
7965
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
8234
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
7966
8235
|
] });
|
|
7967
8236
|
};
|
|
7968
8237
|
var renderDataListItem = (args) => {
|
|
7969
8238
|
const { info, data, onClickCopy } = args;
|
|
7970
|
-
return /* @__PURE__ */ (0,
|
|
7971
|
-
/* @__PURE__ */ (0,
|
|
7972
|
-
/* @__PURE__ */ (0,
|
|
8239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes15.DataList.Item, { children: [
|
|
8240
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
8241
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
7973
8242
|
] }, info.label);
|
|
7974
8243
|
};
|
|
7975
8244
|
function CopyButton(props) {
|
|
7976
8245
|
const { value, onClickCopy } = props;
|
|
7977
|
-
return /* @__PURE__ */ (0,
|
|
8246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
7978
8247
|
Button,
|
|
7979
8248
|
{
|
|
7980
8249
|
color: "gray",
|
|
@@ -7983,13 +8252,13 @@ function CopyButton(props) {
|
|
|
7983
8252
|
},
|
|
7984
8253
|
style: { marginLeft: "0", marginTop: "0" },
|
|
7985
8254
|
variant: "transparent",
|
|
7986
|
-
children: /* @__PURE__ */ (0,
|
|
8255
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_icons9.CopyIcon, {})
|
|
7987
8256
|
}
|
|
7988
8257
|
);
|
|
7989
8258
|
}
|
|
7990
8259
|
|
|
7991
8260
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
7992
|
-
var
|
|
8261
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
7993
8262
|
function CoachingCustomerInfoMedium({
|
|
7994
8263
|
customer,
|
|
7995
8264
|
session,
|
|
@@ -7997,28 +8266,28 @@ function CoachingCustomerInfoMedium({
|
|
|
7997
8266
|
badge,
|
|
7998
8267
|
onClickCopy
|
|
7999
8268
|
}) {
|
|
8000
|
-
return /* @__PURE__ */ (0,
|
|
8001
|
-
/* @__PURE__ */ (0,
|
|
8002
|
-
/* @__PURE__ */ (0,
|
|
8003
|
-
/* @__PURE__ */ (0,
|
|
8269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
8270
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes6.Box, { children: [
|
|
8271
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
8272
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
8004
8273
|
badge
|
|
8005
8274
|
] }),
|
|
8006
|
-
/* @__PURE__ */ (0,
|
|
8275
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
8007
8276
|
] }),
|
|
8008
8277
|
children,
|
|
8009
|
-
/* @__PURE__ */ (0,
|
|
8278
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
8010
8279
|
(el) => renderDataListItem({
|
|
8011
8280
|
info: el,
|
|
8012
8281
|
data: session,
|
|
8013
8282
|
onClickCopy
|
|
8014
8283
|
})
|
|
8015
8284
|
) }) }),
|
|
8016
|
-
/* @__PURE__ */ (0,
|
|
8017
|
-
/* @__PURE__ */ (0,
|
|
8018
|
-
/* @__PURE__ */ (0,
|
|
8285
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
8286
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
8287
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes39.Separator, { size: "4" })
|
|
8019
8288
|
] }),
|
|
8020
|
-
/* @__PURE__ */ (0,
|
|
8021
|
-
return /* @__PURE__ */ (0,
|
|
8289
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
8290
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Typo, { children: renderItem({
|
|
8022
8291
|
info: el,
|
|
8023
8292
|
data: customer,
|
|
8024
8293
|
onClickCopy
|
|
@@ -8028,7 +8297,7 @@ function CoachingCustomerInfoMedium({
|
|
|
8028
8297
|
}
|
|
8029
8298
|
|
|
8030
8299
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
8031
|
-
var
|
|
8300
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
8032
8301
|
function CoachingCustomerInfoLarge({
|
|
8033
8302
|
customer,
|
|
8034
8303
|
session,
|
|
@@ -8036,24 +8305,24 @@ function CoachingCustomerInfoLarge({
|
|
|
8036
8305
|
badge,
|
|
8037
8306
|
onClickCopy
|
|
8038
8307
|
}) {
|
|
8039
|
-
return /* @__PURE__ */ (0,
|
|
8040
|
-
/* @__PURE__ */ (0,
|
|
8041
|
-
/* @__PURE__ */ (0,
|
|
8042
|
-
/* @__PURE__ */ (0,
|
|
8308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
8309
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes6.Box, { children: [
|
|
8310
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
8311
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
8043
8312
|
badge
|
|
8044
8313
|
] }),
|
|
8045
|
-
/* @__PURE__ */ (0,
|
|
8314
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
8046
8315
|
] }),
|
|
8047
8316
|
children,
|
|
8048
|
-
/* @__PURE__ */ (0,
|
|
8317
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
8049
8318
|
(el) => renderDataListItem({
|
|
8050
8319
|
info: el,
|
|
8051
8320
|
data: session,
|
|
8052
8321
|
onClickCopy
|
|
8053
8322
|
})
|
|
8054
8323
|
) }) }),
|
|
8055
|
-
/* @__PURE__ */ (0,
|
|
8056
|
-
/* @__PURE__ */ (0,
|
|
8324
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes39.Separator, { size: "4" }),
|
|
8325
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
8057
8326
|
(info) => renderDataListItem({
|
|
8058
8327
|
info,
|
|
8059
8328
|
data: customer,
|
|
@@ -8064,19 +8333,19 @@ function CoachingCustomerInfoLarge({
|
|
|
8064
8333
|
}
|
|
8065
8334
|
|
|
8066
8335
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
8067
|
-
var
|
|
8336
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
8068
8337
|
function CoachingCustomerInfo(props) {
|
|
8069
|
-
return /* @__PURE__ */ (0,
|
|
8070
|
-
/* @__PURE__ */ (0,
|
|
8071
|
-
/* @__PURE__ */ (0,
|
|
8072
|
-
/* @__PURE__ */ (0,
|
|
8338
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_jsx_runtime104.Fragment, { children: [
|
|
8339
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
8340
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
8341
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
8073
8342
|
] });
|
|
8074
8343
|
}
|
|
8075
8344
|
|
|
8076
8345
|
// src/app/platform/goal-manage-card-read.tsx
|
|
8077
|
-
var
|
|
8346
|
+
var import_react51 = require("react");
|
|
8078
8347
|
var import_date_fns4 = require("date-fns");
|
|
8079
|
-
var
|
|
8348
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
8080
8349
|
function GoalManageCardRead(props) {
|
|
8081
8350
|
const {
|
|
8082
8351
|
title,
|
|
@@ -8090,12 +8359,12 @@ function GoalManageCardRead(props) {
|
|
|
8090
8359
|
onClickIncomplete,
|
|
8091
8360
|
onClickComplete
|
|
8092
8361
|
} = props;
|
|
8093
|
-
const [open, setOpen] = (0,
|
|
8094
|
-
const onClickOpen = (0,
|
|
8362
|
+
const [open, setOpen] = (0, import_react51.useState)(Boolean(defaultOpen));
|
|
8363
|
+
const onClickOpen = (0, import_react51.useCallback)(() => {
|
|
8095
8364
|
setOpen((p) => !p);
|
|
8096
8365
|
}, []);
|
|
8097
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
8098
|
-
const badgeMeta = (0,
|
|
8366
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.ChevronDownIcon, {});
|
|
8367
|
+
const badgeMeta = (0, import_react51.useMemo)(() => {
|
|
8099
8368
|
if (!completed && dueDate) {
|
|
8100
8369
|
if (dueDate >= (0, import_date_fns4.startOfDay)(/* @__PURE__ */ new Date()))
|
|
8101
8370
|
return {
|
|
@@ -8106,41 +8375,41 @@ function GoalManageCardRead(props) {
|
|
|
8106
8375
|
}
|
|
8107
8376
|
return null;
|
|
8108
8377
|
}, [completed, dueDate]);
|
|
8109
|
-
const renderSubTitle = (0,
|
|
8110
|
-
return /* @__PURE__ */ (0,
|
|
8378
|
+
const renderSubTitle = (0, import_react51.useCallback)((subTitle) => {
|
|
8379
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
8111
8380
|
}, []);
|
|
8112
|
-
const renderSubContent = (0,
|
|
8113
|
-
return /* @__PURE__ */ (0,
|
|
8381
|
+
const renderSubContent = (0, import_react51.useCallback)((content) => {
|
|
8382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
8114
8383
|
}, []);
|
|
8115
|
-
const renderCompleteButton = (0,
|
|
8384
|
+
const renderCompleteButton = (0, import_react51.useCallback)(() => {
|
|
8116
8385
|
if (completed) {
|
|
8117
|
-
return /* @__PURE__ */ (0,
|
|
8386
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
8118
8387
|
}
|
|
8119
|
-
return /* @__PURE__ */ (0,
|
|
8120
|
-
/* @__PURE__ */ (0,
|
|
8121
|
-
/* @__PURE__ */ (0,
|
|
8388
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes29.Popover.Root, { children: [
|
|
8389
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Button, { size: "small", children: [
|
|
8390
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.RocketIcon, {}),
|
|
8122
8391
|
"\uB2EC\uC131\uD558\uAE30"
|
|
8123
8392
|
] }) }),
|
|
8124
|
-
/* @__PURE__ */ (0,
|
|
8125
|
-
/* @__PURE__ */ (0,
|
|
8126
|
-
/* @__PURE__ */ (0,
|
|
8127
|
-
/* @__PURE__ */ (0,
|
|
8128
|
-
/* @__PURE__ */ (0,
|
|
8393
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes29.Popover.Content, { children: [
|
|
8394
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
8395
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
8396
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
8397
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
8129
8398
|
] })
|
|
8130
8399
|
] })
|
|
8131
8400
|
] });
|
|
8132
8401
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
8133
|
-
return /* @__PURE__ */ (0,
|
|
8134
|
-
/* @__PURE__ */ (0,
|
|
8135
|
-
/* @__PURE__ */ (0,
|
|
8136
|
-
/* @__PURE__ */ (0,
|
|
8137
|
-
/* @__PURE__ */ (0,
|
|
8138
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
8139
|
-
/* @__PURE__ */ (0,
|
|
8402
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
8403
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
8404
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
8405
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
8406
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
8407
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
8408
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns4.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
8140
8409
|
] }),
|
|
8141
8410
|
renderCompleteButton()
|
|
8142
8411
|
] }),
|
|
8143
|
-
open ? /* @__PURE__ */ (0,
|
|
8412
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
8144
8413
|
import_themes39.Separator,
|
|
8145
8414
|
{
|
|
8146
8415
|
mb: "4",
|
|
@@ -8149,37 +8418,37 @@ function GoalManageCardRead(props) {
|
|
|
8149
8418
|
style: { gridColumnStart: "span 2" }
|
|
8150
8419
|
}
|
|
8151
8420
|
) : null,
|
|
8152
|
-
/* @__PURE__ */ (0,
|
|
8153
|
-
/* @__PURE__ */ (0,
|
|
8154
|
-
/* @__PURE__ */ (0,
|
|
8421
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Collapse, { open, children: [
|
|
8422
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
8423
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes6.Box, { children: [
|
|
8155
8424
|
renderSubTitle(
|
|
8156
8425
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
8157
8426
|
),
|
|
8158
8427
|
renderSubContent(expectedEffect)
|
|
8159
8428
|
] }),
|
|
8160
|
-
/* @__PURE__ */ (0,
|
|
8429
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes6.Box, { children: [
|
|
8161
8430
|
renderSubTitle(
|
|
8162
8431
|
"\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"
|
|
8163
8432
|
),
|
|
8164
8433
|
renderSubContent(huddle)
|
|
8165
8434
|
] })
|
|
8166
8435
|
] }),
|
|
8167
|
-
/* @__PURE__ */ (0,
|
|
8168
|
-
/* @__PURE__ */ (0,
|
|
8169
|
-
/* @__PURE__ */ (0,
|
|
8170
|
-
/* @__PURE__ */ (0,
|
|
8436
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
8437
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes29.Popover.Root, { children: [
|
|
8438
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
8439
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.TrashIcon, {}),
|
|
8171
8440
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
8172
8441
|
] }) }),
|
|
8173
|
-
/* @__PURE__ */ (0,
|
|
8174
|
-
/* @__PURE__ */ (0,
|
|
8175
|
-
/* @__PURE__ */ (0,
|
|
8176
|
-
/* @__PURE__ */ (0,
|
|
8177
|
-
/* @__PURE__ */ (0,
|
|
8442
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes29.Popover.Content, { children: [
|
|
8443
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
8444
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
8445
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
8446
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
8178
8447
|
] })
|
|
8179
8448
|
] })
|
|
8180
8449
|
] }),
|
|
8181
|
-
/* @__PURE__ */ (0,
|
|
8182
|
-
/* @__PURE__ */ (0,
|
|
8450
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
8451
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.Pencil1Icon, {}),
|
|
8183
8452
|
"\uC218\uC815\uD558\uAE30"
|
|
8184
8453
|
] })
|
|
8185
8454
|
] })
|
|
@@ -8188,9 +8457,9 @@ function GoalManageCardRead(props) {
|
|
|
8188
8457
|
}
|
|
8189
8458
|
|
|
8190
8459
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
8191
|
-
var
|
|
8460
|
+
var import_react52 = require("react");
|
|
8192
8461
|
var import_date_fns5 = require("date-fns");
|
|
8193
|
-
var
|
|
8462
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
8194
8463
|
var initialValues = {
|
|
8195
8464
|
goal: "",
|
|
8196
8465
|
effect: "",
|
|
@@ -8201,8 +8470,8 @@ var dummyFn = () => {
|
|
|
8201
8470
|
};
|
|
8202
8471
|
function GoalManageCardEdit(props) {
|
|
8203
8472
|
const { defaultValues, errors } = props;
|
|
8204
|
-
const [values, setValues] = (0,
|
|
8205
|
-
const onChange = (0,
|
|
8473
|
+
const [values, setValues] = (0, import_react52.useState)(defaultValues || initialValues);
|
|
8474
|
+
const onChange = (0, import_react52.useCallback)(
|
|
8206
8475
|
(v) => {
|
|
8207
8476
|
var _a;
|
|
8208
8477
|
setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
|
|
@@ -8210,20 +8479,20 @@ function GoalManageCardEdit(props) {
|
|
|
8210
8479
|
},
|
|
8211
8480
|
[props]
|
|
8212
8481
|
);
|
|
8213
|
-
const onClickInit = (0,
|
|
8482
|
+
const onClickInit = (0, import_react52.useCallback)(() => {
|
|
8214
8483
|
var _a;
|
|
8215
8484
|
setValues(initialValues);
|
|
8216
8485
|
(_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
|
|
8217
8486
|
}, [defaultValues, props]);
|
|
8218
|
-
const onClickSubmit = (0,
|
|
8487
|
+
const onClickSubmit = (0, import_react52.useCallback)(() => {
|
|
8219
8488
|
var _a;
|
|
8220
8489
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
8221
8490
|
}, [props, values]);
|
|
8222
|
-
return /* @__PURE__ */ (0,
|
|
8223
|
-
/* @__PURE__ */ (0,
|
|
8224
|
-
/* @__PURE__ */ (0,
|
|
8225
|
-
/* @__PURE__ */ (0,
|
|
8226
|
-
/* @__PURE__ */ (0,
|
|
8491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
8492
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
8493
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "title", children: [
|
|
8494
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
8495
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
8227
8496
|
TextField.Root,
|
|
8228
8497
|
{
|
|
8229
8498
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -8234,11 +8503,11 @@ function GoalManageCardEdit(props) {
|
|
|
8234
8503
|
value: values.goal
|
|
8235
8504
|
}
|
|
8236
8505
|
),
|
|
8237
|
-
/* @__PURE__ */ (0,
|
|
8506
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
8238
8507
|
] }),
|
|
8239
|
-
/* @__PURE__ */ (0,
|
|
8240
|
-
/* @__PURE__ */ (0,
|
|
8241
|
-
/* @__PURE__ */ (0,
|
|
8508
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "effect", children: [
|
|
8509
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
8510
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
8242
8511
|
TextArea,
|
|
8243
8512
|
{
|
|
8244
8513
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -8250,11 +8519,11 @@ function GoalManageCardEdit(props) {
|
|
|
8250
8519
|
value: values.effect
|
|
8251
8520
|
}
|
|
8252
8521
|
),
|
|
8253
|
-
/* @__PURE__ */ (0,
|
|
8522
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
8254
8523
|
] }),
|
|
8255
|
-
/* @__PURE__ */ (0,
|
|
8256
|
-
/* @__PURE__ */ (0,
|
|
8257
|
-
/* @__PURE__ */ (0,
|
|
8524
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "huddle", children: [
|
|
8525
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
8526
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
8258
8527
|
TextArea,
|
|
8259
8528
|
{
|
|
8260
8529
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -8268,11 +8537,11 @@ function GoalManageCardEdit(props) {
|
|
|
8268
8537
|
value: values.huddle
|
|
8269
8538
|
}
|
|
8270
8539
|
),
|
|
8271
|
-
/* @__PURE__ */ (0,
|
|
8540
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
8272
8541
|
] }),
|
|
8273
|
-
/* @__PURE__ */ (0,
|
|
8274
|
-
/* @__PURE__ */ (0,
|
|
8275
|
-
/* @__PURE__ */ (0,
|
|
8542
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
8543
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
8544
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
8276
8545
|
DatePickerButton,
|
|
8277
8546
|
{
|
|
8278
8547
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -8283,11 +8552,11 @@ function GoalManageCardEdit(props) {
|
|
|
8283
8552
|
selected: values.dueDate
|
|
8284
8553
|
}
|
|
8285
8554
|
),
|
|
8286
|
-
/* @__PURE__ */ (0,
|
|
8555
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
8287
8556
|
] })
|
|
8288
8557
|
] }),
|
|
8289
|
-
/* @__PURE__ */ (0,
|
|
8290
|
-
/* @__PURE__ */ (0,
|
|
8558
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
8559
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
8291
8560
|
Button,
|
|
8292
8561
|
{
|
|
8293
8562
|
color: "gray",
|
|
@@ -8298,18 +8567,18 @@ function GoalManageCardEdit(props) {
|
|
|
8298
8567
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
8299
8568
|
}
|
|
8300
8569
|
),
|
|
8301
|
-
/* @__PURE__ */ (0,
|
|
8570
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
8302
8571
|
] })
|
|
8303
8572
|
] }) });
|
|
8304
8573
|
}
|
|
8305
8574
|
|
|
8306
8575
|
// src/app/platform/session-card.tsx
|
|
8307
|
-
var
|
|
8576
|
+
var import_react55 = require("react");
|
|
8308
8577
|
var import_date_fns6 = require("date-fns");
|
|
8309
8578
|
|
|
8310
8579
|
// src/app/platform/edit-coaching-time.tsx
|
|
8311
|
-
var
|
|
8312
|
-
var
|
|
8580
|
+
var import_react53 = require("react");
|
|
8581
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
8313
8582
|
var getValueFromDefaultValue = (args) => {
|
|
8314
8583
|
return {
|
|
8315
8584
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -8329,14 +8598,14 @@ var getDateFromValue = (date, time) => {
|
|
|
8329
8598
|
};
|
|
8330
8599
|
function EditCoachingTime(props) {
|
|
8331
8600
|
const { defaultEndAt, defaultStartAt, onClickCancel } = props;
|
|
8332
|
-
const [values, setValues] = (0,
|
|
8601
|
+
const [values, setValues] = (0, import_react53.useState)(() => {
|
|
8333
8602
|
return getValueFromDefaultValue({
|
|
8334
8603
|
startAt: defaultStartAt,
|
|
8335
8604
|
endAt: defaultEndAt
|
|
8336
8605
|
});
|
|
8337
8606
|
});
|
|
8338
|
-
const [timeError, setTimeError] = (0,
|
|
8339
|
-
const checkTimeError = (0,
|
|
8607
|
+
const [timeError, setTimeError] = (0, import_react53.useState)("");
|
|
8608
|
+
const checkTimeError = (0, import_react53.useCallback)(
|
|
8340
8609
|
(startTime, endTime) => {
|
|
8341
8610
|
const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
|
|
8342
8611
|
if (error) {
|
|
@@ -8347,7 +8616,7 @@ function EditCoachingTime(props) {
|
|
|
8347
8616
|
},
|
|
8348
8617
|
[]
|
|
8349
8618
|
);
|
|
8350
|
-
const onChangeStartTime = (0,
|
|
8619
|
+
const onChangeStartTime = (0, import_react53.useCallback)(
|
|
8351
8620
|
(v) => {
|
|
8352
8621
|
checkTimeError(v, values.endTime);
|
|
8353
8622
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -8356,7 +8625,7 @@ function EditCoachingTime(props) {
|
|
|
8356
8625
|
},
|
|
8357
8626
|
[checkTimeError, values.endTime]
|
|
8358
8627
|
);
|
|
8359
|
-
const onChangeEndTime = (0,
|
|
8628
|
+
const onChangeEndTime = (0, import_react53.useCallback)(
|
|
8360
8629
|
(v) => {
|
|
8361
8630
|
checkTimeError(values.startTime, v);
|
|
8362
8631
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -8365,12 +8634,12 @@ function EditCoachingTime(props) {
|
|
|
8365
8634
|
},
|
|
8366
8635
|
[checkTimeError, values.startTime]
|
|
8367
8636
|
);
|
|
8368
|
-
const onChangeDate = (0,
|
|
8637
|
+
const onChangeDate = (0, import_react53.useCallback)((date) => {
|
|
8369
8638
|
date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
8370
8639
|
date
|
|
8371
8640
|
}));
|
|
8372
8641
|
}, []);
|
|
8373
|
-
const onClickSave = (0,
|
|
8642
|
+
const onClickSave = (0, import_react53.useCallback)(() => {
|
|
8374
8643
|
if (checkTimeError(values.startTime, values.endTime)) {
|
|
8375
8644
|
const startAt = getDateFromValue(values.date, values.startTime);
|
|
8376
8645
|
const endAt = getDateFromValue(values.date, values.endTime);
|
|
@@ -8379,10 +8648,10 @@ function EditCoachingTime(props) {
|
|
|
8379
8648
|
toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
8380
8649
|
}
|
|
8381
8650
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
8382
|
-
return /* @__PURE__ */ (0,
|
|
8383
|
-
/* @__PURE__ */ (0,
|
|
8384
|
-
/* @__PURE__ */ (0,
|
|
8385
|
-
/* @__PURE__ */ (0,
|
|
8651
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(Form.Root, { children: [
|
|
8652
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(Form.Field, { name: "date", children: [
|
|
8653
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
8654
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
8386
8655
|
DatePickerButton,
|
|
8387
8656
|
{
|
|
8388
8657
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -8392,7 +8661,7 @@ function EditCoachingTime(props) {
|
|
|
8392
8661
|
}
|
|
8393
8662
|
)
|
|
8394
8663
|
] }),
|
|
8395
|
-
/* @__PURE__ */ (0,
|
|
8664
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
8396
8665
|
import_themes23.Grid,
|
|
8397
8666
|
{
|
|
8398
8667
|
align: "center",
|
|
@@ -8407,10 +8676,10 @@ function EditCoachingTime(props) {
|
|
|
8407
8676
|
mt: "5",
|
|
8408
8677
|
width: "100%",
|
|
8409
8678
|
children: [
|
|
8410
|
-
/* @__PURE__ */ (0,
|
|
8411
|
-
/* @__PURE__ */ (0,
|
|
8412
|
-
/* @__PURE__ */ (0,
|
|
8413
|
-
/* @__PURE__ */ (0,
|
|
8679
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
8680
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", {}),
|
|
8681
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
8682
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
8414
8683
|
TimeSelect,
|
|
8415
8684
|
{
|
|
8416
8685
|
onValueChange: onChangeStartTime,
|
|
@@ -8418,8 +8687,8 @@ function EditCoachingTime(props) {
|
|
|
8418
8687
|
value: values.startTime
|
|
8419
8688
|
}
|
|
8420
8689
|
),
|
|
8421
|
-
/* @__PURE__ */ (0,
|
|
8422
|
-
/* @__PURE__ */ (0,
|
|
8690
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes39.Separator, {}) }),
|
|
8691
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
8423
8692
|
TimeSelect,
|
|
8424
8693
|
{
|
|
8425
8694
|
onValueChange: onChangeEndTime,
|
|
@@ -8427,36 +8696,36 @@ function EditCoachingTime(props) {
|
|
|
8427
8696
|
value: values.endTime
|
|
8428
8697
|
}
|
|
8429
8698
|
),
|
|
8430
|
-
/* @__PURE__ */ (0,
|
|
8699
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
8431
8700
|
]
|
|
8432
8701
|
}
|
|
8433
8702
|
),
|
|
8434
|
-
/* @__PURE__ */ (0,
|
|
8435
|
-
/* @__PURE__ */ (0,
|
|
8436
|
-
/* @__PURE__ */ (0,
|
|
8703
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
8704
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
8705
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
8437
8706
|
] })
|
|
8438
8707
|
] }) });
|
|
8439
8708
|
}
|
|
8440
8709
|
|
|
8441
8710
|
// src/app/platform/edit-service-type.tsx
|
|
8442
|
-
var
|
|
8711
|
+
var import_react54 = require("react");
|
|
8443
8712
|
|
|
8444
8713
|
// src/app/platform/on-offline-radio-card.tsx
|
|
8445
8714
|
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
8446
|
-
var
|
|
8715
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
8447
8716
|
var SERVICE_TYPE = {
|
|
8448
8717
|
onlineCoaching: "onlineCoaching",
|
|
8449
8718
|
offlineCoaching: "offlineCoaching"
|
|
8450
8719
|
};
|
|
8451
8720
|
var breakpoint = "sm";
|
|
8452
8721
|
function HideSmallBox(props) {
|
|
8453
|
-
return /* @__PURE__ */ (0,
|
|
8722
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
8454
8723
|
}
|
|
8455
8724
|
function OnOfflineRadioCard(props) {
|
|
8456
8725
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
8457
8726
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
8458
8727
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
8459
|
-
return /* @__PURE__ */ (0,
|
|
8728
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
8460
8729
|
RadioButtonCard.Root,
|
|
8461
8730
|
__spreadProps(__spreadValues({
|
|
8462
8731
|
RadioWrapper: Wrapper,
|
|
@@ -8465,13 +8734,13 @@ function OnOfflineRadioCard(props) {
|
|
|
8465
8734
|
justify
|
|
8466
8735
|
}, props), {
|
|
8467
8736
|
children: [
|
|
8468
|
-
/* @__PURE__ */ (0,
|
|
8469
|
-
/* @__PURE__ */ (0,
|
|
8470
|
-
/* @__PURE__ */ (0,
|
|
8737
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
8738
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_react_icons10.GlobeIcon, {}) }),
|
|
8739
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
8471
8740
|
] }) }),
|
|
8472
|
-
/* @__PURE__ */ (0,
|
|
8473
|
-
/* @__PURE__ */ (0,
|
|
8474
|
-
/* @__PURE__ */ (0,
|
|
8741
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
8742
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_react_icons10.BackpackIcon, {}) }),
|
|
8743
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
8475
8744
|
] }) })
|
|
8476
8745
|
]
|
|
8477
8746
|
})
|
|
@@ -8479,18 +8748,18 @@ function OnOfflineRadioCard(props) {
|
|
|
8479
8748
|
}
|
|
8480
8749
|
|
|
8481
8750
|
// src/app/platform/edit-service-type.tsx
|
|
8482
|
-
var
|
|
8751
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
8483
8752
|
function EditServiceType(props) {
|
|
8484
8753
|
const { defaultServiceType, onClickCancel } = props;
|
|
8485
|
-
const [sessionType, setSessionType] = (0,
|
|
8754
|
+
const [sessionType, setSessionType] = (0, import_react54.useState)(
|
|
8486
8755
|
defaultServiceType
|
|
8487
8756
|
);
|
|
8488
|
-
const onClickSave = (0,
|
|
8757
|
+
const onClickSave = (0, import_react54.useCallback)(() => {
|
|
8489
8758
|
var _a;
|
|
8490
8759
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
8491
8760
|
}, [props, sessionType]);
|
|
8492
|
-
return /* @__PURE__ */ (0,
|
|
8493
|
-
/* @__PURE__ */ (0,
|
|
8761
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes6.Box, { children: [
|
|
8762
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
8494
8763
|
Typo,
|
|
8495
8764
|
{
|
|
8496
8765
|
as: "p",
|
|
@@ -8500,16 +8769,16 @@ function EditServiceType(props) {
|
|
|
8500
8769
|
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"
|
|
8501
8770
|
}
|
|
8502
8771
|
),
|
|
8503
|
-
/* @__PURE__ */ (0,
|
|
8504
|
-
/* @__PURE__ */ (0,
|
|
8505
|
-
/* @__PURE__ */ (0,
|
|
8506
|
-
/* @__PURE__ */ (0,
|
|
8772
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
8773
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
8774
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
8775
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
8507
8776
|
] })
|
|
8508
8777
|
] });
|
|
8509
8778
|
}
|
|
8510
8779
|
|
|
8511
8780
|
// src/app/platform/session-card.tsx
|
|
8512
|
-
var
|
|
8781
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
8513
8782
|
var preventDefault4 = (e) => {
|
|
8514
8783
|
e.preventDefault();
|
|
8515
8784
|
};
|
|
@@ -8539,33 +8808,33 @@ function SessionCard(props) {
|
|
|
8539
8808
|
"endAt",
|
|
8540
8809
|
"sessionType"
|
|
8541
8810
|
]);
|
|
8542
|
-
const renderEditButton = (0,
|
|
8543
|
-
return /* @__PURE__ */ (0,
|
|
8811
|
+
const renderEditButton = (0, import_react55.useCallback)(() => {
|
|
8812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
8544
8813
|
}, []);
|
|
8545
|
-
const sessionTimeStr = (0,
|
|
8814
|
+
const sessionTimeStr = (0, import_react55.useMemo)(() => {
|
|
8546
8815
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
8547
8816
|
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")}`;
|
|
8548
8817
|
}, [startAt, endAt]);
|
|
8549
|
-
return /* @__PURE__ */ (0,
|
|
8550
|
-
/* @__PURE__ */ (0,
|
|
8551
|
-
/* @__PURE__ */ (0,
|
|
8818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
8819
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
8820
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
8552
8821
|
TitleExtra,
|
|
8553
|
-
error ? /* @__PURE__ */ (0,
|
|
8822
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
8554
8823
|
] }),
|
|
8555
|
-
/* @__PURE__ */ (0,
|
|
8556
|
-
/* @__PURE__ */ (0,
|
|
8557
|
-
/* @__PURE__ */ (0,
|
|
8558
|
-
/* @__PURE__ */ (0,
|
|
8824
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Root, { children: [
|
|
8825
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Item, { children: [
|
|
8826
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
8827
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Value, { children: [
|
|
8559
8828
|
sessionTimeStr,
|
|
8560
|
-
editable ? /* @__PURE__ */ (0,
|
|
8561
|
-
/* @__PURE__ */ (0,
|
|
8562
|
-
/* @__PURE__ */ (0,
|
|
8829
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(Dialog.Root, { children: [
|
|
8830
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
8831
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
8563
8832
|
Dialog.Content,
|
|
8564
8833
|
{
|
|
8565
8834
|
onOpenAutoFocus: preventDefault4,
|
|
8566
8835
|
style: { overflow: "visible" },
|
|
8567
8836
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
8568
|
-
children: /* @__PURE__ */ (0,
|
|
8837
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
8569
8838
|
EditCoachingTime,
|
|
8570
8839
|
{
|
|
8571
8840
|
defaultEndAt: endAt,
|
|
@@ -8578,18 +8847,18 @@ function SessionCard(props) {
|
|
|
8578
8847
|
] }) : null
|
|
8579
8848
|
] })
|
|
8580
8849
|
] }),
|
|
8581
|
-
/* @__PURE__ */ (0,
|
|
8582
|
-
/* @__PURE__ */ (0,
|
|
8583
|
-
/* @__PURE__ */ (0,
|
|
8584
|
-
/* @__PURE__ */ (0,
|
|
8850
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
8851
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Item, { children: [
|
|
8852
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
8853
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Value, { children: [
|
|
8585
8854
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
8586
|
-
editable ? /* @__PURE__ */ (0,
|
|
8587
|
-
/* @__PURE__ */ (0,
|
|
8588
|
-
/* @__PURE__ */ (0,
|
|
8855
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(Dialog.Root, { children: [
|
|
8856
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
8857
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
8589
8858
|
Dialog.Content,
|
|
8590
8859
|
{
|
|
8591
8860
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
8592
|
-
children: /* @__PURE__ */ (0,
|
|
8861
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
8593
8862
|
EditServiceType,
|
|
8594
8863
|
{
|
|
8595
8864
|
defaultServiceType: sessionType,
|
|
@@ -8601,33 +8870,33 @@ function SessionCard(props) {
|
|
|
8601
8870
|
] }) : null
|
|
8602
8871
|
] })
|
|
8603
8872
|
] }),
|
|
8604
|
-
/* @__PURE__ */ (0,
|
|
8873
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
8605
8874
|
] })
|
|
8606
8875
|
] })
|
|
8607
8876
|
] }) }));
|
|
8608
8877
|
}
|
|
8609
8878
|
|
|
8610
8879
|
// src/app/platform/coach-question-list.tsx
|
|
8611
|
-
var
|
|
8880
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
8612
8881
|
function QuestionItem({ question, answer }) {
|
|
8613
|
-
return /* @__PURE__ */ (0,
|
|
8614
|
-
/* @__PURE__ */ (0,
|
|
8615
|
-
/* @__PURE__ */ (0,
|
|
8882
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes6.Box, { children: [
|
|
8883
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
8884
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
8616
8885
|
] }, question);
|
|
8617
8886
|
}
|
|
8618
8887
|
function CoachQuestionList({
|
|
8619
8888
|
questions
|
|
8620
8889
|
}) {
|
|
8621
|
-
return /* @__PURE__ */ (0,
|
|
8622
|
-
return /* @__PURE__ */ (0,
|
|
8890
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
8891
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
8623
8892
|
}) });
|
|
8624
8893
|
}
|
|
8625
8894
|
|
|
8626
8895
|
// src/app/platform/reservation-card.tsx
|
|
8627
|
-
var
|
|
8896
|
+
var import_react56 = require("react");
|
|
8628
8897
|
var import_date_fns7 = require("date-fns");
|
|
8629
8898
|
var import_locale2 = require("date-fns/locale");
|
|
8630
|
-
var
|
|
8899
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
8631
8900
|
function ReservationCard(props) {
|
|
8632
8901
|
const {
|
|
8633
8902
|
sessionNumber,
|
|
@@ -8642,29 +8911,29 @@ function ReservationCard(props) {
|
|
|
8642
8911
|
onClickCancel,
|
|
8643
8912
|
onClickCompleteSession
|
|
8644
8913
|
} = props;
|
|
8645
|
-
const [editValues, setEditValues] = (0,
|
|
8914
|
+
const [editValues, setEditValues] = (0, import_react56.useState)({
|
|
8646
8915
|
date: props.defaultTime,
|
|
8647
8916
|
type: props.defaultType
|
|
8648
8917
|
});
|
|
8649
8918
|
const date = readonly ? defaultTime : editValues.date;
|
|
8650
8919
|
const type = readonly ? defaultType : editValues.type;
|
|
8651
|
-
const onClickSave = (0,
|
|
8920
|
+
const onClickSave = (0, import_react56.useCallback)(() => {
|
|
8652
8921
|
var _a;
|
|
8653
8922
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
|
|
8654
8923
|
}, [editValues, props]);
|
|
8655
|
-
const onClickReset = (0,
|
|
8924
|
+
const onClickReset = (0, import_react56.useCallback)(() => {
|
|
8656
8925
|
setEditValues({
|
|
8657
8926
|
date: defaultTime,
|
|
8658
8927
|
type: defaultType
|
|
8659
8928
|
});
|
|
8660
8929
|
}, [defaultTime, defaultType]);
|
|
8661
|
-
const ActionButtons = (0,
|
|
8930
|
+
const ActionButtons = (0, import_react56.useMemo)(() => {
|
|
8662
8931
|
if (readonly) {
|
|
8663
|
-
return /* @__PURE__ */ (0,
|
|
8932
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
8664
8933
|
}
|
|
8665
|
-
return /* @__PURE__ */ (0,
|
|
8934
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
8666
8935
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
8667
|
-
const onChangeDate = (0,
|
|
8936
|
+
const onChangeDate = (0, import_react56.useCallback)((newDate) => {
|
|
8668
8937
|
if (!newDate) return;
|
|
8669
8938
|
setEditValues((prev) => {
|
|
8670
8939
|
return __spreadProps(__spreadValues({}, prev), {
|
|
@@ -8672,17 +8941,17 @@ function ReservationCard(props) {
|
|
|
8672
8941
|
});
|
|
8673
8942
|
});
|
|
8674
8943
|
}, []);
|
|
8675
|
-
const onChangeType = (0,
|
|
8944
|
+
const onChangeType = (0, import_react56.useCallback)((newType) => {
|
|
8676
8945
|
setEditValues((prev) => {
|
|
8677
8946
|
return __spreadProps(__spreadValues({}, prev), {
|
|
8678
8947
|
type: newType
|
|
8679
8948
|
});
|
|
8680
8949
|
});
|
|
8681
8950
|
}, []);
|
|
8682
|
-
const formatDate = (0,
|
|
8951
|
+
const formatDate = (0, import_react56.useCallback)((v) => {
|
|
8683
8952
|
return (0, import_date_fns7.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C(EEE) aa h:mm", { locale: import_locale2.ko });
|
|
8684
8953
|
}, []);
|
|
8685
|
-
(0,
|
|
8954
|
+
(0, import_react56.useEffect)(() => {
|
|
8686
8955
|
if (!minTime || !editValues.date || readonly) return;
|
|
8687
8956
|
if (editValues.date < minTime) {
|
|
8688
8957
|
toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -8693,7 +8962,7 @@ function ReservationCard(props) {
|
|
|
8693
8962
|
});
|
|
8694
8963
|
}
|
|
8695
8964
|
}, [editValues, minTime, readonly]);
|
|
8696
|
-
(0,
|
|
8965
|
+
(0, import_react56.useEffect)(() => {
|
|
8697
8966
|
if (!maxTime || !editValues.date || readonly) return;
|
|
8698
8967
|
if (editValues.date > maxTime) {
|
|
8699
8968
|
toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -8704,39 +8973,39 @@ function ReservationCard(props) {
|
|
|
8704
8973
|
});
|
|
8705
8974
|
}
|
|
8706
8975
|
}, [editValues, maxTime, readonly]);
|
|
8707
|
-
return /* @__PURE__ */ (0,
|
|
8976
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
8708
8977
|
Card,
|
|
8709
8978
|
{
|
|
8710
8979
|
error: Boolean(error),
|
|
8711
8980
|
size: "3",
|
|
8712
8981
|
style: { overflow: "visible", contain: "initial" },
|
|
8713
8982
|
children: [
|
|
8714
|
-
/* @__PURE__ */ (0,
|
|
8715
|
-
/* @__PURE__ */ (0,
|
|
8983
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
8984
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
8716
8985
|
import_themes23.Grid,
|
|
8717
8986
|
{
|
|
8718
8987
|
align: "center",
|
|
8719
8988
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
8720
8989
|
gapY: "2",
|
|
8721
8990
|
children: [
|
|
8722
|
-
/* @__PURE__ */ (0,
|
|
8723
|
-
/* @__PURE__ */ (0,
|
|
8991
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
8992
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(Heading2, { variant: "heading4", children: [
|
|
8724
8993
|
customerName || "-",
|
|
8725
8994
|
"\uB2D8 ",
|
|
8726
8995
|
sessionNumber || "-",
|
|
8727
8996
|
"\uD68C\uCC28 \uC138\uC158"
|
|
8728
8997
|
] }),
|
|
8729
|
-
/* @__PURE__ */ (0,
|
|
8998
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
8730
8999
|
] }),
|
|
8731
|
-
error ? /* @__PURE__ */ (0,
|
|
9000
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
8732
9001
|
]
|
|
8733
9002
|
}
|
|
8734
9003
|
),
|
|
8735
|
-
/* @__PURE__ */ (0,
|
|
9004
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
8736
9005
|
] }),
|
|
8737
|
-
/* @__PURE__ */ (0,
|
|
8738
|
-
/* @__PURE__ */ (0,
|
|
8739
|
-
/* @__PURE__ */ (0,
|
|
9006
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
9007
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
9008
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
8740
9009
|
DatePickerButton,
|
|
8741
9010
|
{
|
|
8742
9011
|
disabled: readonly,
|
|
@@ -8750,8 +9019,8 @@ function ReservationCard(props) {
|
|
|
8750
9019
|
size: "large"
|
|
8751
9020
|
}
|
|
8752
9021
|
),
|
|
8753
|
-
/* @__PURE__ */ (0,
|
|
8754
|
-
/* @__PURE__ */ (0,
|
|
9022
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
|
|
9023
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
8755
9024
|
OnOfflineRadioCard,
|
|
8756
9025
|
{
|
|
8757
9026
|
disabled: readonly,
|
|
@@ -8760,8 +9029,8 @@ function ReservationCard(props) {
|
|
|
8760
9029
|
value: type
|
|
8761
9030
|
}
|
|
8762
9031
|
),
|
|
8763
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
8764
|
-
/* @__PURE__ */ (0,
|
|
9032
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
9033
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
8765
9034
|
Button,
|
|
8766
9035
|
{
|
|
8767
9036
|
color: "gray",
|
|
@@ -8771,10 +9040,10 @@ function ReservationCard(props) {
|
|
|
8771
9040
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
8772
9041
|
}
|
|
8773
9042
|
),
|
|
8774
|
-
/* @__PURE__ */ (0,
|
|
9043
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
8775
9044
|
] })
|
|
8776
9045
|
] }) }),
|
|
8777
|
-
readonly ? /* @__PURE__ */ (0,
|
|
9046
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
8778
9047
|
import_themes6.Box,
|
|
8779
9048
|
{
|
|
8780
9049
|
mt: "5",
|
|
@@ -8782,14 +9051,14 @@ function ReservationCard(props) {
|
|
|
8782
9051
|
py: "4",
|
|
8783
9052
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
8784
9053
|
width: "100%",
|
|
8785
|
-
children: /* @__PURE__ */ (0,
|
|
8786
|
-
/* @__PURE__ */ (0,
|
|
9054
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
9055
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(Typo, { children: [
|
|
8787
9056
|
sessionNumber || "-",
|
|
8788
9057
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
8789
9058
|
] }),
|
|
8790
|
-
/* @__PURE__ */ (0,
|
|
9059
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
8791
9060
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
8792
|
-
/* @__PURE__ */ (0,
|
|
9061
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
8793
9062
|
] })
|
|
8794
9063
|
] })
|
|
8795
9064
|
}
|
|
@@ -8800,22 +9069,22 @@ function ReservationCard(props) {
|
|
|
8800
9069
|
}
|
|
8801
9070
|
|
|
8802
9071
|
// src/app/platform/session-review-simple-read.tsx
|
|
8803
|
-
var
|
|
8804
|
-
var
|
|
9072
|
+
var import_react57 = require("react");
|
|
9073
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
8805
9074
|
function SubTitleWrapper({
|
|
8806
9075
|
children,
|
|
8807
9076
|
title
|
|
8808
9077
|
}) {
|
|
8809
|
-
return /* @__PURE__ */ (0,
|
|
8810
|
-
/* @__PURE__ */ (0,
|
|
8811
|
-
/* @__PURE__ */ (0,
|
|
9078
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
9079
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
9080
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes6.Box, { children })
|
|
8812
9081
|
] });
|
|
8813
9082
|
}
|
|
8814
9083
|
function SessionReviewSimpleRead({
|
|
8815
9084
|
helpfulness,
|
|
8816
9085
|
review
|
|
8817
9086
|
}) {
|
|
8818
|
-
const helpfulnessMeta = (0,
|
|
9087
|
+
const helpfulnessMeta = (0, import_react57.useMemo)(() => {
|
|
8819
9088
|
if (helpfulness) {
|
|
8820
9089
|
return {
|
|
8821
9090
|
text: "\uB124",
|
|
@@ -8833,22 +9102,22 @@ function SessionReviewSimpleRead({
|
|
|
8833
9102
|
color: "error"
|
|
8834
9103
|
};
|
|
8835
9104
|
}, [helpfulness]);
|
|
8836
|
-
return /* @__PURE__ */ (0,
|
|
8837
|
-
/* @__PURE__ */ (0,
|
|
8838
|
-
/* @__PURE__ */ (0,
|
|
9105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
9106
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.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_runtime113.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
9107
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
8839
9108
|
] }) });
|
|
8840
9109
|
}
|
|
8841
9110
|
|
|
8842
9111
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
8843
|
-
var
|
|
9112
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
8844
9113
|
function SectionWrapper({
|
|
8845
9114
|
title,
|
|
8846
9115
|
children
|
|
8847
9116
|
}) {
|
|
8848
|
-
return /* @__PURE__ */ (0,
|
|
8849
|
-
/* @__PURE__ */ (0,
|
|
8850
|
-
/* @__PURE__ */ (0,
|
|
8851
|
-
/* @__PURE__ */ (0,
|
|
9117
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes6.Box, { children: [
|
|
9118
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
9119
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
9120
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes39.Separator, { size: "4" })
|
|
8852
9121
|
] }),
|
|
8853
9122
|
children
|
|
8854
9123
|
] });
|
|
@@ -8858,22 +9127,22 @@ function SessionUserInfoDetail({
|
|
|
8858
9127
|
session,
|
|
8859
9128
|
onClickCopy
|
|
8860
9129
|
}) {
|
|
8861
|
-
return /* @__PURE__ */ (0,
|
|
8862
|
-
/* @__PURE__ */ (0,
|
|
9130
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
9131
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
8863
9132
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
8864
9133
|
) }) }),
|
|
8865
|
-
/* @__PURE__ */ (0,
|
|
9134
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
8866
9135
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
8867
9136
|
) }) })
|
|
8868
9137
|
] });
|
|
8869
9138
|
}
|
|
8870
9139
|
|
|
8871
9140
|
// src/app/platform/report-card.tsx
|
|
8872
|
-
var
|
|
8873
|
-
var
|
|
9141
|
+
var import_react58 = require("react");
|
|
9142
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
8874
9143
|
function ReportCard(props) {
|
|
8875
9144
|
const { title, file, status, subtitle } = props;
|
|
8876
|
-
const onClickDownload = (0,
|
|
9145
|
+
const onClickDownload = (0, import_react58.useCallback)(() => {
|
|
8877
9146
|
if (!file) return;
|
|
8878
9147
|
const { url, fileName } = file;
|
|
8879
9148
|
const link = document.createElement("a");
|
|
@@ -8885,24 +9154,24 @@ function ReportCard(props) {
|
|
|
8885
9154
|
document.body.removeChild(link);
|
|
8886
9155
|
}, [file]);
|
|
8887
9156
|
if (status) {
|
|
8888
|
-
return /* @__PURE__ */ (0,
|
|
8889
|
-
/* @__PURE__ */ (0,
|
|
9157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
9158
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
8890
9159
|
status
|
|
8891
9160
|
] }) });
|
|
8892
9161
|
}
|
|
8893
|
-
return /* @__PURE__ */ (0,
|
|
9162
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
|
|
8894
9163
|
import_themes22.Flex,
|
|
8895
9164
|
{
|
|
8896
9165
|
direction: { initial: "column", xs: "row" },
|
|
8897
9166
|
gapY: "2",
|
|
8898
9167
|
justify: "between",
|
|
8899
9168
|
children: [
|
|
8900
|
-
/* @__PURE__ */ (0,
|
|
8901
|
-
/* @__PURE__ */ (0,
|
|
8902
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
9169
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes6.Box, { children: [
|
|
9170
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
9171
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
8903
9172
|
] }),
|
|
8904
|
-
/* @__PURE__ */ (0,
|
|
8905
|
-
/* @__PURE__ */ (0,
|
|
9173
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
9174
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
8906
9175
|
file == null ? void 0 : file.buttonName
|
|
8907
9176
|
] }) }, file == null ? void 0 : file.url)
|
|
8908
9177
|
]
|
|
@@ -8911,9 +9180,9 @@ function ReportCard(props) {
|
|
|
8911
9180
|
}
|
|
8912
9181
|
|
|
8913
9182
|
// src/app/platform/contents-card.tsx
|
|
8914
|
-
var
|
|
8915
|
-
var
|
|
8916
|
-
var ContentsCard = (0,
|
|
9183
|
+
var import_react59 = require("react");
|
|
9184
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
9185
|
+
var ContentsCard = (0, import_react59.forwardRef)(
|
|
8917
9186
|
({
|
|
8918
9187
|
title,
|
|
8919
9188
|
description,
|
|
@@ -8923,7 +9192,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
8923
9192
|
onClickCard,
|
|
8924
9193
|
isLoading = false
|
|
8925
9194
|
}, ref) => {
|
|
8926
|
-
return /* @__PURE__ */ (0,
|
|
9195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
|
|
8927
9196
|
Card,
|
|
8928
9197
|
{
|
|
8929
9198
|
onClick: onClickCard,
|
|
@@ -8936,7 +9205,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
8936
9205
|
maxHeight: "450px"
|
|
8937
9206
|
},
|
|
8938
9207
|
children: [
|
|
8939
|
-
/* @__PURE__ */ (0,
|
|
9208
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
8940
9209
|
import_themes6.Box,
|
|
8941
9210
|
{
|
|
8942
9211
|
height: "210px",
|
|
@@ -8948,12 +9217,12 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
8948
9217
|
width: "100%"
|
|
8949
9218
|
}
|
|
8950
9219
|
) }) }),
|
|
8951
|
-
/* @__PURE__ */ (0,
|
|
8952
|
-
/* @__PURE__ */ (0,
|
|
8953
|
-
/* @__PURE__ */ (0,
|
|
8954
|
-
/* @__PURE__ */ (0,
|
|
9220
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
9221
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes6.Box, { children: [
|
|
9222
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
9223
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
8955
9224
|
] }),
|
|
8956
|
-
/* @__PURE__ */ (0,
|
|
9225
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
|
|
8957
9226
|
import_themes23.Grid,
|
|
8958
9227
|
{
|
|
8959
9228
|
align: "center",
|
|
@@ -8963,10 +9232,10 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
8963
9232
|
style: { marginTop: "auto" },
|
|
8964
9233
|
width: "100%",
|
|
8965
9234
|
children: [
|
|
8966
|
-
/* @__PURE__ */ (0,
|
|
8967
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
8968
|
-
/* @__PURE__ */ (0,
|
|
8969
|
-
/* @__PURE__ */ (0,
|
|
9235
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
9236
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(DropdownMenu.Root, { children: [
|
|
9237
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
9238
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
8970
9239
|
DropdownMenu.Item,
|
|
8971
9240
|
{
|
|
8972
9241
|
onClick: (e) => {
|
|
@@ -8990,7 +9259,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
8990
9259
|
ContentsCard.displayName = "ContentsCard";
|
|
8991
9260
|
|
|
8992
9261
|
// src/app/platform/curriculum-card.tsx
|
|
8993
|
-
var
|
|
9262
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
8994
9263
|
function CurriculumCard(props) {
|
|
8995
9264
|
const {
|
|
8996
9265
|
title,
|
|
@@ -9001,7 +9270,7 @@ function CurriculumCard(props) {
|
|
|
9001
9270
|
bgColor,
|
|
9002
9271
|
onClick
|
|
9003
9272
|
} = props;
|
|
9004
|
-
return /* @__PURE__ */ (0,
|
|
9273
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(
|
|
9005
9274
|
import_themes23.Grid,
|
|
9006
9275
|
{
|
|
9007
9276
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -9010,7 +9279,7 @@ function CurriculumCard(props) {
|
|
|
9010
9279
|
onClick,
|
|
9011
9280
|
style: { cursor: "pointer" },
|
|
9012
9281
|
children: [
|
|
9013
|
-
/* @__PURE__ */ (0,
|
|
9282
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
9014
9283
|
import_themes6.Box,
|
|
9015
9284
|
{
|
|
9016
9285
|
height: "165px",
|
|
@@ -9025,32 +9294,32 @@ function CurriculumCard(props) {
|
|
|
9025
9294
|
backgroundAttachment: "local"
|
|
9026
9295
|
},
|
|
9027
9296
|
width: "100%",
|
|
9028
|
-
children: /* @__PURE__ */ (0,
|
|
9297
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
9029
9298
|
}
|
|
9030
9299
|
),
|
|
9031
|
-
/* @__PURE__ */ (0,
|
|
9032
|
-
/* @__PURE__ */ (0,
|
|
9033
|
-
/* @__PURE__ */ (0,
|
|
9034
|
-
/* @__PURE__ */ (0,
|
|
9300
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
9301
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
9302
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
9303
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
9035
9304
|
Badge,
|
|
9036
9305
|
{
|
|
9037
9306
|
size: "medium",
|
|
9038
9307
|
style: { justifySelf: "flex-start" },
|
|
9039
9308
|
variant: "outline",
|
|
9040
|
-
children: /* @__PURE__ */ (0,
|
|
9041
|
-
/* @__PURE__ */ (0,
|
|
9309
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
9310
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_react_icons2.TimerIcon, {}),
|
|
9042
9311
|
runningTime
|
|
9043
9312
|
] })
|
|
9044
9313
|
}
|
|
9045
9314
|
)
|
|
9046
9315
|
] }),
|
|
9047
|
-
/* @__PURE__ */ (0,
|
|
9048
|
-
return /* @__PURE__ */ (0,
|
|
9316
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
9317
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
9049
9318
|
}) }) }),
|
|
9050
|
-
/* @__PURE__ */ (0,
|
|
9051
|
-
/* @__PURE__ */ (0,
|
|
9052
|
-
/* @__PURE__ */ (0,
|
|
9053
|
-
/* @__PURE__ */ (0,
|
|
9319
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_themes39.Separator, { size: "4" }),
|
|
9320
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
9321
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
9322
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
9054
9323
|
] })
|
|
9055
9324
|
] })
|
|
9056
9325
|
]
|
|
@@ -9067,6 +9336,7 @@ function CurriculumCard(props) {
|
|
|
9067
9336
|
ArrowTopRightIcon,
|
|
9068
9337
|
AspectRatio,
|
|
9069
9338
|
AutoSizingInput,
|
|
9339
|
+
AutocompleteTextfield,
|
|
9070
9340
|
Avatar,
|
|
9071
9341
|
BackpackIcon,
|
|
9072
9342
|
Badge,
|