@tipp/ui 2.3.32 → 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 +102 -101
- 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 +32 -32
- 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 +32 -32
- package/dist/app/platform/curriculum-card.js +5 -5
- 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 +82 -81
- 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 +83 -82
- 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 +82 -81
- 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 +32 -32
- 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 +82 -81
- 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 +32 -32
- 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 +83 -82
- 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 +85 -84
- 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 +32 -32
- 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 +35 -35
- 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 +32 -32
- 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 +32 -32
- 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 +32 -32
- 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 +32 -32
- 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 +31 -31
- 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 +63 -63
- package/dist/atoms/list.js +2 -2
- package/dist/atoms/pagination.js +3 -3
- package/dist/{chunk-U3FBMFRL.js → chunk-24PLAIMJ.js} +15 -15
- package/dist/{chunk-5TZNUXBT.js → chunk-3GGJWSFK.js} +6 -6
- package/dist/{chunk-M2PVHXOE.js → chunk-3GQQQBJN.js} +4 -4
- package/dist/{chunk-DWBYAHIR.js → chunk-446FD3VT.js} +12 -12
- package/dist/{chunk-62HSZXVT.js → chunk-44VLRAHW.js} +6 -6
- package/dist/{chunk-YPEB36YK.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-NTJLECYY.js → chunk-7I7PZF5L.js} +5 -5
- package/dist/{chunk-HTNDVNLQ.js → chunk-7ITDAUWI.js} +12 -12
- 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-QKZTZUWP.js → chunk-DZSRS37B.js} +7 -7
- package/dist/{chunk-6MQMVYEP.js → chunk-EGT45N6F.js} +4 -4
- package/dist/{chunk-GHRDK4GY.js → chunk-FBFKBV5Y.js} +16 -16
- 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-RM5CQ77X.js → chunk-GMNJ7FMU.js} +6 -6
- 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-5WX7CODZ.js → chunk-HOMPMIZJ.js} +10 -10
- package/dist/{chunk-F7JSPN5P.js → chunk-IEYBSZA3.js} +12 -12
- package/dist/{chunk-SF2V5ZKJ.js → chunk-IK6FGLFU.js} +10 -10
- package/dist/{chunk-LFYQFYWO.js → chunk-ILCRQ36E.js} +10 -10
- package/dist/{chunk-ZA4NYPSW.js → chunk-JZVK4NDF.js} +5 -5
- package/dist/{chunk-AA6OYHCE.js → chunk-KCCYHT23.js} +4 -4
- package/dist/{chunk-2U7C7J5P.js → chunk-KMQIN5PA.js} +8 -8
- package/dist/{chunk-OILH5J7Q.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-RDKURMDJ.js → chunk-NCNYKQU7.js} +7 -7
- package/dist/{chunk-QEDJOAP6.js → chunk-NHCUQ25T.js} +2 -2
- package/dist/{chunk-FVNXDLRU.js → chunk-O5MYSBA3.js} +2 -2
- package/dist/{chunk-TCFXG4AX.js → chunk-OHXP63A5.js} +5 -5
- package/dist/{chunk-M6C7IXCB.js → chunk-OXZXUPSB.js} +7 -7
- package/dist/{chunk-GTO7GG2K.js → chunk-P4KO43AP.js} +2 -2
- package/dist/{chunk-TJO4XDI2.js → chunk-P6C6KRXM.js} +5 -5
- package/dist/{chunk-7R65MUL6.js → chunk-PXPGCDNA.js} +4 -4
- package/dist/{chunk-64XYTE54.js → chunk-QFEZIPWJ.js} +5 -5
- package/dist/{chunk-5OLJJUMC.js → chunk-QIAMX2NR.js} +10 -10
- 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-SO5HZSGJ.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-WH6QD4SY.js → chunk-UGYH6IXU.js} +19 -19
- package/dist/{chunk-5JQOU3IR.js → chunk-UH6Q3TEK.js} +7 -7
- package/dist/{chunk-MTGKF6SO.js → chunk-UKV2WNLS.js} +9 -9
- package/dist/{chunk-CQL6FYW4.js → chunk-V4XCZSRN.js} +13 -13
- 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-CIQ7ELE6.js → chunk-YE3UDMTZ.js} +9 -9
- package/dist/{chunk-AYWPBD4T.js → chunk-YP3H5H4D.js} +9 -9
- package/dist/{chunk-652H6CLP.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.css +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +154 -150
- 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 +18 -18
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +11 -11
- 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 +6 -6
- 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 +21 -21
- 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 +23 -23
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +28 -28
- 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 +7 -7
- 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 +35 -35
- 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 +7 -7
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js +5 -5
- package/dist/molecules/dynamic-form-editor-field-list-panel.js +2 -2
- package/dist/molecules/dynamic-form-editor-issues-panel.js +2 -2
- package/dist/molecules/dynamic-form-editor-preview-panel.js +9 -9
- package/dist/molecules/dynamic-form-editor.js +17 -17
- package/dist/molecules/dynamic-form.js +8 -8
- 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 +5 -5
- 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 +78 -73
- package/dist/molecules/learning-post.js +6 -6
- 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-U3FBMFRL.js.map → chunk-24PLAIMJ.js.map} +0 -0
- /package/dist/{chunk-5TZNUXBT.js.map → chunk-3GGJWSFK.js.map} +0 -0
- /package/dist/{chunk-M2PVHXOE.js.map → chunk-3GQQQBJN.js.map} +0 -0
- /package/dist/{chunk-DWBYAHIR.js.map → chunk-446FD3VT.js.map} +0 -0
- /package/dist/{chunk-62HSZXVT.js.map → chunk-44VLRAHW.js.map} +0 -0
- /package/dist/{chunk-YPEB36YK.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-NTJLECYY.js.map → chunk-7I7PZF5L.js.map} +0 -0
- /package/dist/{chunk-HTNDVNLQ.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-QKZTZUWP.js.map → chunk-DZSRS37B.js.map} +0 -0
- /package/dist/{chunk-6MQMVYEP.js.map → chunk-EGT45N6F.js.map} +0 -0
- /package/dist/{chunk-GHRDK4GY.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-RM5CQ77X.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-5WX7CODZ.js.map → chunk-HOMPMIZJ.js.map} +0 -0
- /package/dist/{chunk-F7JSPN5P.js.map → chunk-IEYBSZA3.js.map} +0 -0
- /package/dist/{chunk-SF2V5ZKJ.js.map → chunk-IK6FGLFU.js.map} +0 -0
- /package/dist/{chunk-LFYQFYWO.js.map → chunk-ILCRQ36E.js.map} +0 -0
- /package/dist/{chunk-ZA4NYPSW.js.map → chunk-JZVK4NDF.js.map} +0 -0
- /package/dist/{chunk-AA6OYHCE.js.map → chunk-KCCYHT23.js.map} +0 -0
- /package/dist/{chunk-2U7C7J5P.js.map → chunk-KMQIN5PA.js.map} +0 -0
- /package/dist/{chunk-OILH5J7Q.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-RDKURMDJ.js.map → chunk-NCNYKQU7.js.map} +0 -0
- /package/dist/{chunk-QEDJOAP6.js.map → chunk-NHCUQ25T.js.map} +0 -0
- /package/dist/{chunk-FVNXDLRU.js.map → chunk-O5MYSBA3.js.map} +0 -0
- /package/dist/{chunk-TCFXG4AX.js.map → chunk-OHXP63A5.js.map} +0 -0
- /package/dist/{chunk-M6C7IXCB.js.map → chunk-OXZXUPSB.js.map} +0 -0
- /package/dist/{chunk-GTO7GG2K.js.map → chunk-P4KO43AP.js.map} +0 -0
- /package/dist/{chunk-TJO4XDI2.js.map → chunk-P6C6KRXM.js.map} +0 -0
- /package/dist/{chunk-7R65MUL6.js.map → chunk-PXPGCDNA.js.map} +0 -0
- /package/dist/{chunk-64XYTE54.js.map → chunk-QFEZIPWJ.js.map} +0 -0
- /package/dist/{chunk-5OLJJUMC.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-SO5HZSGJ.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-WH6QD4SY.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-CQL6FYW4.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-CIQ7ELE6.js.map → chunk-YE3UDMTZ.js.map} +0 -0
- /package/dist/{chunk-AYWPBD4T.js.map → chunk-YP3H5H4D.js.map} +0 -0
- /package/dist/{chunk-652H6CLP.js.map → chunk-Z7SS2DHW.js.map} +0 -0
package/dist/app/index.cjs
CHANGED
|
@@ -611,8 +611,16 @@ var Content3 = (0, import_react11.forwardRef)((props, ref) => {
|
|
|
611
611
|
);
|
|
612
612
|
});
|
|
613
613
|
Content3.displayName = "DropdownMenu.Content";
|
|
614
|
+
var Trigger3 = (0, import_react11.forwardRef)(
|
|
615
|
+
(_a, ref) => {
|
|
616
|
+
var _b = _a, { asChild: _asChild } = _b, props = __objRest(_b, ["asChild"]);
|
|
617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes20.DropdownMenu.Trigger, __spreadValues({ ref }, props));
|
|
618
|
+
}
|
|
619
|
+
);
|
|
620
|
+
Trigger3.displayName = "DropdownMenu.Trigger";
|
|
614
621
|
var DropdownMenu = __spreadProps(__spreadValues({}, import_themes20.DropdownMenu), {
|
|
615
|
-
Content: Content3
|
|
622
|
+
Content: Content3,
|
|
623
|
+
Trigger: Trigger3
|
|
616
624
|
});
|
|
617
625
|
|
|
618
626
|
// src/atoms/em.tsx
|
|
@@ -692,7 +700,7 @@ var Content4 = (0, import_react13.forwardRef)((props, ref) => {
|
|
|
692
700
|
);
|
|
693
701
|
});
|
|
694
702
|
Content4.displayName = "Select.Content";
|
|
695
|
-
var
|
|
703
|
+
var Trigger4 = (0, import_react13.forwardRef)(
|
|
696
704
|
(props, ref) => {
|
|
697
705
|
const _a = props, { className } = _a, rest = __objRest(_a, ["className"]);
|
|
698
706
|
const { error } = (0, import_react13.useContext)(SelectContext);
|
|
@@ -703,7 +711,7 @@ var Trigger3 = (0, import_react13.forwardRef)(
|
|
|
703
711
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Trigger, __spreadProps(__spreadValues({}, rest), { className: cls, ref }));
|
|
704
712
|
}
|
|
705
713
|
);
|
|
706
|
-
|
|
714
|
+
Trigger4.displayName = "Select.Trigger";
|
|
707
715
|
function Root4(props) {
|
|
708
716
|
const _a = props, { error } = _a, rest = __objRest(_a, ["error"]);
|
|
709
717
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectContext.Provider, { value: { error }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Root, __spreadValues({}, rest)) });
|
|
@@ -711,7 +719,7 @@ function Root4(props) {
|
|
|
711
719
|
Root4.displayName = "Select.Root";
|
|
712
720
|
var Select = __spreadProps(__spreadValues({}, import_themes38.Select), {
|
|
713
721
|
Root: Root4,
|
|
714
|
-
Trigger:
|
|
722
|
+
Trigger: Trigger4,
|
|
715
723
|
Content: Content4
|
|
716
724
|
});
|
|
717
725
|
|
|
@@ -2038,7 +2046,7 @@ function GoalManageCardRead(props) {
|
|
|
2038
2046
|
}
|
|
2039
2047
|
|
|
2040
2048
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
2041
|
-
var
|
|
2049
|
+
var import_react52 = require("react");
|
|
2042
2050
|
var import_date_fns5 = require("date-fns");
|
|
2043
2051
|
|
|
2044
2052
|
// src/molecules/expand-table/index.tsx
|
|
@@ -2633,8 +2641,258 @@ var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
|
2633
2641
|
// src/molecules/dynamic-form-editor.tsx
|
|
2634
2642
|
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
2635
2643
|
|
|
2636
|
-
// src/
|
|
2644
|
+
// src/molecules/autocomplete-textfield.tsx
|
|
2645
|
+
var import_react51 = require("react");
|
|
2646
|
+
var import_themes58 = require("@radix-ui/themes");
|
|
2637
2647
|
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
2648
|
+
var AutocompleteTextfield = (0, import_react51.forwardRef)(
|
|
2649
|
+
(_a, ref) => {
|
|
2650
|
+
var _b = _a, {
|
|
2651
|
+
options,
|
|
2652
|
+
value: externalValue,
|
|
2653
|
+
onChange,
|
|
2654
|
+
onSelect,
|
|
2655
|
+
placeholder,
|
|
2656
|
+
emptyMessage = "\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
2657
|
+
maxItems = 10,
|
|
2658
|
+
slotLeft,
|
|
2659
|
+
slotRight,
|
|
2660
|
+
error
|
|
2661
|
+
} = _b, rest = __objRest(_b, [
|
|
2662
|
+
"options",
|
|
2663
|
+
"value",
|
|
2664
|
+
"onChange",
|
|
2665
|
+
"onSelect",
|
|
2666
|
+
"placeholder",
|
|
2667
|
+
"emptyMessage",
|
|
2668
|
+
"maxItems",
|
|
2669
|
+
"slotLeft",
|
|
2670
|
+
"slotRight",
|
|
2671
|
+
"error"
|
|
2672
|
+
]);
|
|
2673
|
+
const isControlled = externalValue !== void 0;
|
|
2674
|
+
const [internalValue, setInternalValue] = (0, import_react51.useState)("");
|
|
2675
|
+
const inputValue = isControlled ? externalValue : internalValue;
|
|
2676
|
+
const [open, setOpen] = (0, import_react51.useState)(false);
|
|
2677
|
+
const [highlightedIndex, setHighlightedIndex] = (0, import_react51.useState)(-1);
|
|
2678
|
+
const inputRef = (0, import_react51.useRef)(null);
|
|
2679
|
+
const listRef = (0, import_react51.useRef)(null);
|
|
2680
|
+
const listboxId = (0, import_react51.useId)();
|
|
2681
|
+
const justSelectedRef = (0, import_react51.useRef)(false);
|
|
2682
|
+
const filtered = options.filter(
|
|
2683
|
+
(opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())
|
|
2684
|
+
).slice(0, maxItems);
|
|
2685
|
+
const handleInputChange = (0, import_react51.useCallback)(
|
|
2686
|
+
(e) => {
|
|
2687
|
+
const next = e.target.value;
|
|
2688
|
+
if (!isControlled) setInternalValue(next);
|
|
2689
|
+
onChange == null ? void 0 : onChange(next);
|
|
2690
|
+
const nextFiltered = options.filter((opt) => opt.label.toLowerCase().includes(next.toLowerCase())).slice(0, maxItems);
|
|
2691
|
+
setOpen(nextFiltered.length > 0 || emptyMessage !== null);
|
|
2692
|
+
setHighlightedIndex(-1);
|
|
2693
|
+
},
|
|
2694
|
+
[isControlled, onChange, options, maxItems, emptyMessage]
|
|
2695
|
+
);
|
|
2696
|
+
const handleSelect = (0, import_react51.useCallback)(
|
|
2697
|
+
(option) => {
|
|
2698
|
+
var _a2;
|
|
2699
|
+
if (!isControlled) setInternalValue(option.label);
|
|
2700
|
+
onChange == null ? void 0 : onChange(option.label);
|
|
2701
|
+
onSelect == null ? void 0 : onSelect(option);
|
|
2702
|
+
setOpen(false);
|
|
2703
|
+
setHighlightedIndex(-1);
|
|
2704
|
+
justSelectedRef.current = true;
|
|
2705
|
+
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
2706
|
+
},
|
|
2707
|
+
[isControlled, onChange, onSelect]
|
|
2708
|
+
);
|
|
2709
|
+
const handleFocus = (0, import_react51.useCallback)(() => {
|
|
2710
|
+
if (justSelectedRef.current) {
|
|
2711
|
+
justSelectedRef.current = false;
|
|
2712
|
+
return;
|
|
2713
|
+
}
|
|
2714
|
+
const currentFiltered = options.filter((opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())).slice(0, maxItems);
|
|
2715
|
+
setOpen(currentFiltered.length > 0 || emptyMessage !== null);
|
|
2716
|
+
}, [options, inputValue, maxItems, emptyMessage]);
|
|
2717
|
+
const handleBlur = (0, import_react51.useCallback)((e) => {
|
|
2718
|
+
var _a2, _b2;
|
|
2719
|
+
if (e.relatedTarget && ((_b2 = (_a2 = inputRef.current) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b2.contains(e.relatedTarget))) {
|
|
2720
|
+
return;
|
|
2721
|
+
}
|
|
2722
|
+
setOpen(false);
|
|
2723
|
+
setHighlightedIndex(-1);
|
|
2724
|
+
}, []);
|
|
2725
|
+
const handleKeyDown = (0, import_react51.useCallback)(
|
|
2726
|
+
(e) => {
|
|
2727
|
+
if (!open) {
|
|
2728
|
+
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
2729
|
+
setOpen(true);
|
|
2730
|
+
setHighlightedIndex(0);
|
|
2731
|
+
e.preventDefault();
|
|
2732
|
+
}
|
|
2733
|
+
return;
|
|
2734
|
+
}
|
|
2735
|
+
switch (e.key) {
|
|
2736
|
+
case "ArrowDown":
|
|
2737
|
+
e.preventDefault();
|
|
2738
|
+
setHighlightedIndex(
|
|
2739
|
+
(prev) => prev < filtered.length - 1 ? prev + 1 : 0
|
|
2740
|
+
);
|
|
2741
|
+
break;
|
|
2742
|
+
case "ArrowUp":
|
|
2743
|
+
e.preventDefault();
|
|
2744
|
+
setHighlightedIndex(
|
|
2745
|
+
(prev) => prev > 0 ? prev - 1 : filtered.length - 1
|
|
2746
|
+
);
|
|
2747
|
+
break;
|
|
2748
|
+
case "Enter":
|
|
2749
|
+
e.preventDefault();
|
|
2750
|
+
if (highlightedIndex >= 0 && filtered[highlightedIndex]) {
|
|
2751
|
+
handleSelect(filtered[highlightedIndex]);
|
|
2752
|
+
}
|
|
2753
|
+
break;
|
|
2754
|
+
case "Escape":
|
|
2755
|
+
setOpen(false);
|
|
2756
|
+
setHighlightedIndex(-1);
|
|
2757
|
+
break;
|
|
2758
|
+
case "Tab":
|
|
2759
|
+
setOpen(false);
|
|
2760
|
+
setHighlightedIndex(-1);
|
|
2761
|
+
break;
|
|
2762
|
+
default:
|
|
2763
|
+
break;
|
|
2764
|
+
}
|
|
2765
|
+
},
|
|
2766
|
+
[open, filtered, highlightedIndex, handleSelect]
|
|
2767
|
+
);
|
|
2768
|
+
(0, import_react51.useEffect)(() => {
|
|
2769
|
+
if (!listRef.current || highlightedIndex < 0) return;
|
|
2770
|
+
const item = listRef.current.children[highlightedIndex];
|
|
2771
|
+
item.scrollIntoView({ block: "nearest" });
|
|
2772
|
+
}, [highlightedIndex]);
|
|
2773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes58.Box, { position: "relative", style: { width: "100%" }, children: [
|
|
2774
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
2775
|
+
TextField.Root,
|
|
2776
|
+
__spreadProps(__spreadValues({
|
|
2777
|
+
"aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
|
|
2778
|
+
"aria-autocomplete": "list",
|
|
2779
|
+
"aria-controls": open ? listboxId : void 0,
|
|
2780
|
+
"aria-expanded": open,
|
|
2781
|
+
error,
|
|
2782
|
+
onBlur: handleBlur,
|
|
2783
|
+
onChange: handleInputChange,
|
|
2784
|
+
onFocus: handleFocus,
|
|
2785
|
+
onKeyDown: handleKeyDown,
|
|
2786
|
+
placeholder,
|
|
2787
|
+
ref: (node) => {
|
|
2788
|
+
inputRef.current = node;
|
|
2789
|
+
if (typeof ref === "function") {
|
|
2790
|
+
ref(node);
|
|
2791
|
+
} else if (ref) {
|
|
2792
|
+
ref.current = node;
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2795
|
+
role: "combobox",
|
|
2796
|
+
style: { width: "100%" },
|
|
2797
|
+
value: inputValue
|
|
2798
|
+
}, rest), {
|
|
2799
|
+
children: [
|
|
2800
|
+
slotLeft && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
|
|
2801
|
+
slotRight && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(TextField.Slot, { side: "right", children: slotRight })
|
|
2802
|
+
]
|
|
2803
|
+
})
|
|
2804
|
+
),
|
|
2805
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
2806
|
+
DropdownMenu.Root,
|
|
2807
|
+
{
|
|
2808
|
+
modal: false,
|
|
2809
|
+
onOpenChange: (nextOpen) => {
|
|
2810
|
+
if (!nextOpen && document.activeElement !== inputRef.current) {
|
|
2811
|
+
setOpen(false);
|
|
2812
|
+
setHighlightedIndex(-1);
|
|
2813
|
+
}
|
|
2814
|
+
},
|
|
2815
|
+
open,
|
|
2816
|
+
children: [
|
|
2817
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2818
|
+
"span",
|
|
2819
|
+
{
|
|
2820
|
+
"aria-hidden": "true",
|
|
2821
|
+
style: {
|
|
2822
|
+
bottom: 0,
|
|
2823
|
+
height: 0,
|
|
2824
|
+
left: 0,
|
|
2825
|
+
opacity: 0,
|
|
2826
|
+
pointerEvents: "none",
|
|
2827
|
+
position: "absolute",
|
|
2828
|
+
width: "100%"
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
) }),
|
|
2832
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2833
|
+
DropdownMenu.Content,
|
|
2834
|
+
{
|
|
2835
|
+
align: "start",
|
|
2836
|
+
onCloseAutoFocus: (e) => {
|
|
2837
|
+
e.preventDefault();
|
|
2838
|
+
},
|
|
2839
|
+
onOpenAutoFocus: (e) => {
|
|
2840
|
+
e.preventDefault();
|
|
2841
|
+
},
|
|
2842
|
+
sideOffset: 4,
|
|
2843
|
+
style: {
|
|
2844
|
+
maxHeight: 240,
|
|
2845
|
+
overflowY: "auto",
|
|
2846
|
+
padding: 0,
|
|
2847
|
+
width: "var(--radix-dropdown-menu-trigger-width)"
|
|
2848
|
+
},
|
|
2849
|
+
children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes58.Box, { px: "2", py: "2", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Typo, { color: "gray", children: emptyMessage }) }) : /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2850
|
+
"ul",
|
|
2851
|
+
{
|
|
2852
|
+
id: listboxId,
|
|
2853
|
+
ref: listRef,
|
|
2854
|
+
role: "listbox",
|
|
2855
|
+
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
2856
|
+
children: filtered.map((option, index) => {
|
|
2857
|
+
const isHighlighted = index === highlightedIndex;
|
|
2858
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
2859
|
+
"li",
|
|
2860
|
+
{
|
|
2861
|
+
"aria-selected": isHighlighted,
|
|
2862
|
+
id: `${listboxId}-option-${index}`,
|
|
2863
|
+
onMouseEnter: () => {
|
|
2864
|
+
setHighlightedIndex(index);
|
|
2865
|
+
},
|
|
2866
|
+
onPointerDown: (e) => {
|
|
2867
|
+
e.preventDefault();
|
|
2868
|
+
handleSelect(option);
|
|
2869
|
+
},
|
|
2870
|
+
role: "option",
|
|
2871
|
+
style: {
|
|
2872
|
+
padding: "var(--spacing-4) var(--spacing-6)",
|
|
2873
|
+
cursor: "pointer",
|
|
2874
|
+
backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
|
|
2875
|
+
transition: "background-color 80ms"
|
|
2876
|
+
},
|
|
2877
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Typo, { variant: "body", children: option.label })
|
|
2878
|
+
},
|
|
2879
|
+
option.value
|
|
2880
|
+
);
|
|
2881
|
+
})
|
|
2882
|
+
}
|
|
2883
|
+
)
|
|
2884
|
+
}
|
|
2885
|
+
)
|
|
2886
|
+
]
|
|
2887
|
+
}
|
|
2888
|
+
)
|
|
2889
|
+
] });
|
|
2890
|
+
}
|
|
2891
|
+
);
|
|
2892
|
+
AutocompleteTextfield.displayName = "AutocompleteTextfield";
|
|
2893
|
+
|
|
2894
|
+
// src/app/platform/goal-manage-card-edit.tsx
|
|
2895
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
2638
2896
|
var initialValues = {
|
|
2639
2897
|
goal: "",
|
|
2640
2898
|
effect: "",
|
|
@@ -2645,8 +2903,8 @@ var dummyFn = () => {
|
|
|
2645
2903
|
};
|
|
2646
2904
|
function GoalManageCardEdit(props) {
|
|
2647
2905
|
const { defaultValues, errors } = props;
|
|
2648
|
-
const [values, setValues] = (0,
|
|
2649
|
-
const onChange = (0,
|
|
2906
|
+
const [values, setValues] = (0, import_react52.useState)(defaultValues || initialValues);
|
|
2907
|
+
const onChange = (0, import_react52.useCallback)(
|
|
2650
2908
|
(v) => {
|
|
2651
2909
|
var _a;
|
|
2652
2910
|
setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
|
|
@@ -2654,20 +2912,20 @@ function GoalManageCardEdit(props) {
|
|
|
2654
2912
|
},
|
|
2655
2913
|
[props]
|
|
2656
2914
|
);
|
|
2657
|
-
const onClickInit = (0,
|
|
2915
|
+
const onClickInit = (0, import_react52.useCallback)(() => {
|
|
2658
2916
|
var _a;
|
|
2659
2917
|
setValues(initialValues);
|
|
2660
2918
|
(_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
|
|
2661
2919
|
}, [defaultValues, props]);
|
|
2662
|
-
const onClickSubmit = (0,
|
|
2920
|
+
const onClickSubmit = (0, import_react52.useCallback)(() => {
|
|
2663
2921
|
var _a;
|
|
2664
2922
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
2665
2923
|
}, [props, values]);
|
|
2666
|
-
return /* @__PURE__ */ (0,
|
|
2667
|
-
/* @__PURE__ */ (0,
|
|
2668
|
-
/* @__PURE__ */ (0,
|
|
2669
|
-
/* @__PURE__ */ (0,
|
|
2670
|
-
/* @__PURE__ */ (0,
|
|
2924
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
2925
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2926
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "title", children: [
|
|
2927
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
2928
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
2671
2929
|
TextField.Root,
|
|
2672
2930
|
{
|
|
2673
2931
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -2678,11 +2936,11 @@ function GoalManageCardEdit(props) {
|
|
|
2678
2936
|
value: values.goal
|
|
2679
2937
|
}
|
|
2680
2938
|
),
|
|
2681
|
-
/* @__PURE__ */ (0,
|
|
2939
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
2682
2940
|
] }),
|
|
2683
|
-
/* @__PURE__ */ (0,
|
|
2684
|
-
/* @__PURE__ */ (0,
|
|
2685
|
-
/* @__PURE__ */ (0,
|
|
2941
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "effect", children: [
|
|
2942
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
2943
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
2686
2944
|
TextArea,
|
|
2687
2945
|
{
|
|
2688
2946
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -2694,11 +2952,11 @@ function GoalManageCardEdit(props) {
|
|
|
2694
2952
|
value: values.effect
|
|
2695
2953
|
}
|
|
2696
2954
|
),
|
|
2697
|
-
/* @__PURE__ */ (0,
|
|
2955
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
2698
2956
|
] }),
|
|
2699
|
-
/* @__PURE__ */ (0,
|
|
2700
|
-
/* @__PURE__ */ (0,
|
|
2701
|
-
/* @__PURE__ */ (0,
|
|
2957
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "huddle", children: [
|
|
2958
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
2959
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
2702
2960
|
TextArea,
|
|
2703
2961
|
{
|
|
2704
2962
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -2712,11 +2970,11 @@ function GoalManageCardEdit(props) {
|
|
|
2712
2970
|
value: values.huddle
|
|
2713
2971
|
}
|
|
2714
2972
|
),
|
|
2715
|
-
/* @__PURE__ */ (0,
|
|
2973
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
2716
2974
|
] }),
|
|
2717
|
-
/* @__PURE__ */ (0,
|
|
2718
|
-
/* @__PURE__ */ (0,
|
|
2719
|
-
/* @__PURE__ */ (0,
|
|
2975
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
2976
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
2977
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
2720
2978
|
DatePickerButton,
|
|
2721
2979
|
{
|
|
2722
2980
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -2727,11 +2985,11 @@ function GoalManageCardEdit(props) {
|
|
|
2727
2985
|
selected: values.dueDate
|
|
2728
2986
|
}
|
|
2729
2987
|
),
|
|
2730
|
-
/* @__PURE__ */ (0,
|
|
2988
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
2731
2989
|
] })
|
|
2732
2990
|
] }),
|
|
2733
|
-
/* @__PURE__ */ (0,
|
|
2734
|
-
/* @__PURE__ */ (0,
|
|
2991
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
2992
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
2735
2993
|
Button,
|
|
2736
2994
|
{
|
|
2737
2995
|
color: "gray",
|
|
@@ -2742,18 +3000,18 @@ function GoalManageCardEdit(props) {
|
|
|
2742
3000
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2743
3001
|
}
|
|
2744
3002
|
),
|
|
2745
|
-
/* @__PURE__ */ (0,
|
|
3003
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2746
3004
|
] })
|
|
2747
3005
|
] }) });
|
|
2748
3006
|
}
|
|
2749
3007
|
|
|
2750
3008
|
// src/app/platform/session-card.tsx
|
|
2751
|
-
var
|
|
3009
|
+
var import_react55 = require("react");
|
|
2752
3010
|
var import_date_fns6 = require("date-fns");
|
|
2753
3011
|
|
|
2754
3012
|
// src/app/platform/edit-coaching-time.tsx
|
|
2755
|
-
var
|
|
2756
|
-
var
|
|
3013
|
+
var import_react53 = require("react");
|
|
3014
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
2757
3015
|
var getValueFromDefaultValue = (args) => {
|
|
2758
3016
|
return {
|
|
2759
3017
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -2773,14 +3031,14 @@ var getDateFromValue = (date, time) => {
|
|
|
2773
3031
|
};
|
|
2774
3032
|
function EditCoachingTime(props) {
|
|
2775
3033
|
const { defaultEndAt, defaultStartAt, onClickCancel } = props;
|
|
2776
|
-
const [values, setValues] = (0,
|
|
3034
|
+
const [values, setValues] = (0, import_react53.useState)(() => {
|
|
2777
3035
|
return getValueFromDefaultValue({
|
|
2778
3036
|
startAt: defaultStartAt,
|
|
2779
3037
|
endAt: defaultEndAt
|
|
2780
3038
|
});
|
|
2781
3039
|
});
|
|
2782
|
-
const [timeError, setTimeError] = (0,
|
|
2783
|
-
const checkTimeError = (0,
|
|
3040
|
+
const [timeError, setTimeError] = (0, import_react53.useState)("");
|
|
3041
|
+
const checkTimeError = (0, import_react53.useCallback)(
|
|
2784
3042
|
(startTime, endTime) => {
|
|
2785
3043
|
const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
|
|
2786
3044
|
if (error) {
|
|
@@ -2791,7 +3049,7 @@ function EditCoachingTime(props) {
|
|
|
2791
3049
|
},
|
|
2792
3050
|
[]
|
|
2793
3051
|
);
|
|
2794
|
-
const onChangeStartTime = (0,
|
|
3052
|
+
const onChangeStartTime = (0, import_react53.useCallback)(
|
|
2795
3053
|
(v) => {
|
|
2796
3054
|
checkTimeError(v, values.endTime);
|
|
2797
3055
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -2800,7 +3058,7 @@ function EditCoachingTime(props) {
|
|
|
2800
3058
|
},
|
|
2801
3059
|
[checkTimeError, values.endTime]
|
|
2802
3060
|
);
|
|
2803
|
-
const onChangeEndTime = (0,
|
|
3061
|
+
const onChangeEndTime = (0, import_react53.useCallback)(
|
|
2804
3062
|
(v) => {
|
|
2805
3063
|
checkTimeError(values.startTime, v);
|
|
2806
3064
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -2809,12 +3067,12 @@ function EditCoachingTime(props) {
|
|
|
2809
3067
|
},
|
|
2810
3068
|
[checkTimeError, values.startTime]
|
|
2811
3069
|
);
|
|
2812
|
-
const onChangeDate = (0,
|
|
3070
|
+
const onChangeDate = (0, import_react53.useCallback)((date) => {
|
|
2813
3071
|
date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
2814
3072
|
date
|
|
2815
3073
|
}));
|
|
2816
3074
|
}, []);
|
|
2817
|
-
const onClickSave = (0,
|
|
3075
|
+
const onClickSave = (0, import_react53.useCallback)(() => {
|
|
2818
3076
|
if (checkTimeError(values.startTime, values.endTime)) {
|
|
2819
3077
|
const startAt = getDateFromValue(values.date, values.startTime);
|
|
2820
3078
|
const endAt = getDateFromValue(values.date, values.endTime);
|
|
@@ -2823,10 +3081,10 @@ function EditCoachingTime(props) {
|
|
|
2823
3081
|
toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
2824
3082
|
}
|
|
2825
3083
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
2826
|
-
return /* @__PURE__ */ (0,
|
|
2827
|
-
/* @__PURE__ */ (0,
|
|
2828
|
-
/* @__PURE__ */ (0,
|
|
2829
|
-
/* @__PURE__ */ (0,
|
|
3084
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Root, { children: [
|
|
3085
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "date", children: [
|
|
3086
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
3087
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
2830
3088
|
DatePickerButton,
|
|
2831
3089
|
{
|
|
2832
3090
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -2836,7 +3094,7 @@ function EditCoachingTime(props) {
|
|
|
2836
3094
|
}
|
|
2837
3095
|
)
|
|
2838
3096
|
] }),
|
|
2839
|
-
/* @__PURE__ */ (0,
|
|
3097
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
2840
3098
|
import_themes23.Grid,
|
|
2841
3099
|
{
|
|
2842
3100
|
align: "center",
|
|
@@ -2851,10 +3109,10 @@ function EditCoachingTime(props) {
|
|
|
2851
3109
|
mt: "5",
|
|
2852
3110
|
width: "100%",
|
|
2853
3111
|
children: [
|
|
2854
|
-
/* @__PURE__ */ (0,
|
|
2855
|
-
/* @__PURE__ */ (0,
|
|
2856
|
-
/* @__PURE__ */ (0,
|
|
2857
|
-
/* @__PURE__ */ (0,
|
|
3112
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
3113
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", {}),
|
|
3114
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
3115
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
2858
3116
|
TimeSelect,
|
|
2859
3117
|
{
|
|
2860
3118
|
onValueChange: onChangeStartTime,
|
|
@@ -2862,8 +3120,8 @@ function EditCoachingTime(props) {
|
|
|
2862
3120
|
value: values.startTime
|
|
2863
3121
|
}
|
|
2864
3122
|
),
|
|
2865
|
-
/* @__PURE__ */ (0,
|
|
2866
|
-
/* @__PURE__ */ (0,
|
|
3123
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes39.Separator, {}) }),
|
|
3124
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
2867
3125
|
TimeSelect,
|
|
2868
3126
|
{
|
|
2869
3127
|
onValueChange: onChangeEndTime,
|
|
@@ -2871,36 +3129,36 @@ function EditCoachingTime(props) {
|
|
|
2871
3129
|
value: values.endTime
|
|
2872
3130
|
}
|
|
2873
3131
|
),
|
|
2874
|
-
/* @__PURE__ */ (0,
|
|
3132
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
2875
3133
|
]
|
|
2876
3134
|
}
|
|
2877
3135
|
),
|
|
2878
|
-
/* @__PURE__ */ (0,
|
|
2879
|
-
/* @__PURE__ */ (0,
|
|
2880
|
-
/* @__PURE__ */ (0,
|
|
3136
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
3137
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
3138
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2881
3139
|
] })
|
|
2882
3140
|
] }) });
|
|
2883
3141
|
}
|
|
2884
3142
|
|
|
2885
3143
|
// src/app/platform/edit-service-type.tsx
|
|
2886
|
-
var
|
|
3144
|
+
var import_react54 = require("react");
|
|
2887
3145
|
|
|
2888
3146
|
// src/app/platform/on-offline-radio-card.tsx
|
|
2889
3147
|
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
2890
|
-
var
|
|
3148
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
2891
3149
|
var SERVICE_TYPE = {
|
|
2892
3150
|
onlineCoaching: "onlineCoaching",
|
|
2893
3151
|
offlineCoaching: "offlineCoaching"
|
|
2894
3152
|
};
|
|
2895
3153
|
var breakpoint = "sm";
|
|
2896
3154
|
function HideSmallBox(props) {
|
|
2897
|
-
return /* @__PURE__ */ (0,
|
|
3155
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
2898
3156
|
}
|
|
2899
3157
|
function OnOfflineRadioCard(props) {
|
|
2900
3158
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
2901
3159
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
2902
3160
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
2903
|
-
return /* @__PURE__ */ (0,
|
|
3161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
2904
3162
|
RadioButtonCard.Root,
|
|
2905
3163
|
__spreadProps(__spreadValues({
|
|
2906
3164
|
RadioWrapper: Wrapper,
|
|
@@ -2909,13 +3167,13 @@ function OnOfflineRadioCard(props) {
|
|
|
2909
3167
|
justify
|
|
2910
3168
|
}, props), {
|
|
2911
3169
|
children: [
|
|
2912
|
-
/* @__PURE__ */ (0,
|
|
2913
|
-
/* @__PURE__ */ (0,
|
|
2914
|
-
/* @__PURE__ */ (0,
|
|
3170
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
3171
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react_icons10.GlobeIcon, {}) }),
|
|
3172
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
2915
3173
|
] }) }),
|
|
2916
|
-
/* @__PURE__ */ (0,
|
|
2917
|
-
/* @__PURE__ */ (0,
|
|
2918
|
-
/* @__PURE__ */ (0,
|
|
3174
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
3175
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react_icons10.BackpackIcon, {}) }),
|
|
3176
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
2919
3177
|
] }) })
|
|
2920
3178
|
]
|
|
2921
3179
|
})
|
|
@@ -2923,18 +3181,18 @@ function OnOfflineRadioCard(props) {
|
|
|
2923
3181
|
}
|
|
2924
3182
|
|
|
2925
3183
|
// src/app/platform/edit-service-type.tsx
|
|
2926
|
-
var
|
|
3184
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
2927
3185
|
function EditServiceType(props) {
|
|
2928
3186
|
const { defaultServiceType, onClickCancel } = props;
|
|
2929
|
-
const [sessionType, setSessionType] = (0,
|
|
3187
|
+
const [sessionType, setSessionType] = (0, import_react54.useState)(
|
|
2930
3188
|
defaultServiceType
|
|
2931
3189
|
);
|
|
2932
|
-
const onClickSave = (0,
|
|
3190
|
+
const onClickSave = (0, import_react54.useCallback)(() => {
|
|
2933
3191
|
var _a;
|
|
2934
3192
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
2935
3193
|
}, [props, sessionType]);
|
|
2936
|
-
return /* @__PURE__ */ (0,
|
|
2937
|
-
/* @__PURE__ */ (0,
|
|
3194
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes6.Box, { children: [
|
|
3195
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
2938
3196
|
Typo,
|
|
2939
3197
|
{
|
|
2940
3198
|
as: "p",
|
|
@@ -2944,16 +3202,16 @@ function EditServiceType(props) {
|
|
|
2944
3202
|
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"
|
|
2945
3203
|
}
|
|
2946
3204
|
),
|
|
2947
|
-
/* @__PURE__ */ (0,
|
|
2948
|
-
/* @__PURE__ */ (0,
|
|
2949
|
-
/* @__PURE__ */ (0,
|
|
2950
|
-
/* @__PURE__ */ (0,
|
|
3205
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
3206
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
3207
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
3208
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2951
3209
|
] })
|
|
2952
3210
|
] });
|
|
2953
3211
|
}
|
|
2954
3212
|
|
|
2955
3213
|
// src/app/platform/session-card.tsx
|
|
2956
|
-
var
|
|
3214
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
2957
3215
|
var preventDefault2 = (e) => {
|
|
2958
3216
|
e.preventDefault();
|
|
2959
3217
|
};
|
|
@@ -2983,33 +3241,33 @@ function SessionCard(props) {
|
|
|
2983
3241
|
"endAt",
|
|
2984
3242
|
"sessionType"
|
|
2985
3243
|
]);
|
|
2986
|
-
const renderEditButton = (0,
|
|
2987
|
-
return /* @__PURE__ */ (0,
|
|
3244
|
+
const renderEditButton = (0, import_react55.useCallback)(() => {
|
|
3245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
2988
3246
|
}, []);
|
|
2989
|
-
const sessionTimeStr = (0,
|
|
3247
|
+
const sessionTimeStr = (0, import_react55.useMemo)(() => {
|
|
2990
3248
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
2991
3249
|
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")}`;
|
|
2992
3250
|
}, [startAt, endAt]);
|
|
2993
|
-
return /* @__PURE__ */ (0,
|
|
2994
|
-
/* @__PURE__ */ (0,
|
|
2995
|
-
/* @__PURE__ */ (0,
|
|
3251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
3252
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
3253
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
2996
3254
|
TitleExtra,
|
|
2997
|
-
error ? /* @__PURE__ */ (0,
|
|
3255
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
2998
3256
|
] }),
|
|
2999
|
-
/* @__PURE__ */ (0,
|
|
3000
|
-
/* @__PURE__ */ (0,
|
|
3001
|
-
/* @__PURE__ */ (0,
|
|
3002
|
-
/* @__PURE__ */ (0,
|
|
3257
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Root, { children: [
|
|
3258
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Item, { children: [
|
|
3259
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
3260
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Value, { children: [
|
|
3003
3261
|
sessionTimeStr,
|
|
3004
|
-
editable ? /* @__PURE__ */ (0,
|
|
3005
|
-
/* @__PURE__ */ (0,
|
|
3006
|
-
/* @__PURE__ */ (0,
|
|
3262
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(Dialog.Root, { children: [
|
|
3263
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
3264
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
3007
3265
|
Dialog.Content,
|
|
3008
3266
|
{
|
|
3009
3267
|
onOpenAutoFocus: preventDefault2,
|
|
3010
3268
|
style: { overflow: "visible" },
|
|
3011
3269
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
3012
|
-
children: /* @__PURE__ */ (0,
|
|
3270
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
3013
3271
|
EditCoachingTime,
|
|
3014
3272
|
{
|
|
3015
3273
|
defaultEndAt: endAt,
|
|
@@ -3022,18 +3280,18 @@ function SessionCard(props) {
|
|
|
3022
3280
|
] }) : null
|
|
3023
3281
|
] })
|
|
3024
3282
|
] }),
|
|
3025
|
-
/* @__PURE__ */ (0,
|
|
3026
|
-
/* @__PURE__ */ (0,
|
|
3027
|
-
/* @__PURE__ */ (0,
|
|
3028
|
-
/* @__PURE__ */ (0,
|
|
3283
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
3284
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Item, { children: [
|
|
3285
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
3286
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Value, { children: [
|
|
3029
3287
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
3030
|
-
editable ? /* @__PURE__ */ (0,
|
|
3031
|
-
/* @__PURE__ */ (0,
|
|
3032
|
-
/* @__PURE__ */ (0,
|
|
3288
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(Dialog.Root, { children: [
|
|
3289
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
3290
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
3033
3291
|
Dialog.Content,
|
|
3034
3292
|
{
|
|
3035
3293
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
3036
|
-
children: /* @__PURE__ */ (0,
|
|
3294
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
3037
3295
|
EditServiceType,
|
|
3038
3296
|
{
|
|
3039
3297
|
defaultServiceType: sessionType,
|
|
@@ -3045,33 +3303,33 @@ function SessionCard(props) {
|
|
|
3045
3303
|
] }) : null
|
|
3046
3304
|
] })
|
|
3047
3305
|
] }),
|
|
3048
|
-
/* @__PURE__ */ (0,
|
|
3306
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
3049
3307
|
] })
|
|
3050
3308
|
] })
|
|
3051
3309
|
] }) }));
|
|
3052
3310
|
}
|
|
3053
3311
|
|
|
3054
3312
|
// src/app/platform/coach-question-list.tsx
|
|
3055
|
-
var
|
|
3313
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
3056
3314
|
function QuestionItem({ question, answer }) {
|
|
3057
|
-
return /* @__PURE__ */ (0,
|
|
3058
|
-
/* @__PURE__ */ (0,
|
|
3059
|
-
/* @__PURE__ */ (0,
|
|
3315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes6.Box, { children: [
|
|
3316
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
3317
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
3060
3318
|
] }, question);
|
|
3061
3319
|
}
|
|
3062
3320
|
function CoachQuestionList({
|
|
3063
3321
|
questions
|
|
3064
3322
|
}) {
|
|
3065
|
-
return /* @__PURE__ */ (0,
|
|
3066
|
-
return /* @__PURE__ */ (0,
|
|
3323
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
3324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
3067
3325
|
}) });
|
|
3068
3326
|
}
|
|
3069
3327
|
|
|
3070
3328
|
// src/app/platform/reservation-card.tsx
|
|
3071
|
-
var
|
|
3329
|
+
var import_react56 = require("react");
|
|
3072
3330
|
var import_date_fns7 = require("date-fns");
|
|
3073
3331
|
var import_locale2 = require("date-fns/locale");
|
|
3074
|
-
var
|
|
3332
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
3075
3333
|
function ReservationCard(props) {
|
|
3076
3334
|
const {
|
|
3077
3335
|
sessionNumber,
|
|
@@ -3086,29 +3344,29 @@ function ReservationCard(props) {
|
|
|
3086
3344
|
onClickCancel,
|
|
3087
3345
|
onClickCompleteSession
|
|
3088
3346
|
} = props;
|
|
3089
|
-
const [editValues, setEditValues] = (0,
|
|
3347
|
+
const [editValues, setEditValues] = (0, import_react56.useState)({
|
|
3090
3348
|
date: props.defaultTime,
|
|
3091
3349
|
type: props.defaultType
|
|
3092
3350
|
});
|
|
3093
3351
|
const date = readonly ? defaultTime : editValues.date;
|
|
3094
3352
|
const type = readonly ? defaultType : editValues.type;
|
|
3095
|
-
const onClickSave = (0,
|
|
3353
|
+
const onClickSave = (0, import_react56.useCallback)(() => {
|
|
3096
3354
|
var _a;
|
|
3097
3355
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
|
|
3098
3356
|
}, [editValues, props]);
|
|
3099
|
-
const onClickReset = (0,
|
|
3357
|
+
const onClickReset = (0, import_react56.useCallback)(() => {
|
|
3100
3358
|
setEditValues({
|
|
3101
3359
|
date: defaultTime,
|
|
3102
3360
|
type: defaultType
|
|
3103
3361
|
});
|
|
3104
3362
|
}, [defaultTime, defaultType]);
|
|
3105
|
-
const ActionButtons = (0,
|
|
3363
|
+
const ActionButtons = (0, import_react56.useMemo)(() => {
|
|
3106
3364
|
if (readonly) {
|
|
3107
|
-
return /* @__PURE__ */ (0,
|
|
3365
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
3108
3366
|
}
|
|
3109
|
-
return /* @__PURE__ */ (0,
|
|
3367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
3110
3368
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
3111
|
-
const onChangeDate = (0,
|
|
3369
|
+
const onChangeDate = (0, import_react56.useCallback)((newDate) => {
|
|
3112
3370
|
if (!newDate) return;
|
|
3113
3371
|
setEditValues((prev) => {
|
|
3114
3372
|
return __spreadProps(__spreadValues({}, prev), {
|
|
@@ -3116,17 +3374,17 @@ function ReservationCard(props) {
|
|
|
3116
3374
|
});
|
|
3117
3375
|
});
|
|
3118
3376
|
}, []);
|
|
3119
|
-
const onChangeType = (0,
|
|
3377
|
+
const onChangeType = (0, import_react56.useCallback)((newType) => {
|
|
3120
3378
|
setEditValues((prev) => {
|
|
3121
3379
|
return __spreadProps(__spreadValues({}, prev), {
|
|
3122
3380
|
type: newType
|
|
3123
3381
|
});
|
|
3124
3382
|
});
|
|
3125
3383
|
}, []);
|
|
3126
|
-
const formatDate = (0,
|
|
3384
|
+
const formatDate = (0, import_react56.useCallback)((v) => {
|
|
3127
3385
|
return (0, import_date_fns7.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C(EEE) aa h:mm", { locale: import_locale2.ko });
|
|
3128
3386
|
}, []);
|
|
3129
|
-
(0,
|
|
3387
|
+
(0, import_react56.useEffect)(() => {
|
|
3130
3388
|
if (!minTime || !editValues.date || readonly) return;
|
|
3131
3389
|
if (editValues.date < minTime) {
|
|
3132
3390
|
toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -3137,7 +3395,7 @@ function ReservationCard(props) {
|
|
|
3137
3395
|
});
|
|
3138
3396
|
}
|
|
3139
3397
|
}, [editValues, minTime, readonly]);
|
|
3140
|
-
(0,
|
|
3398
|
+
(0, import_react56.useEffect)(() => {
|
|
3141
3399
|
if (!maxTime || !editValues.date || readonly) return;
|
|
3142
3400
|
if (editValues.date > maxTime) {
|
|
3143
3401
|
toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -3148,39 +3406,39 @@ function ReservationCard(props) {
|
|
|
3148
3406
|
});
|
|
3149
3407
|
}
|
|
3150
3408
|
}, [editValues, maxTime, readonly]);
|
|
3151
|
-
return /* @__PURE__ */ (0,
|
|
3409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
3152
3410
|
Card,
|
|
3153
3411
|
{
|
|
3154
3412
|
error: Boolean(error),
|
|
3155
3413
|
size: "3",
|
|
3156
3414
|
style: { overflow: "visible", contain: "initial" },
|
|
3157
3415
|
children: [
|
|
3158
|
-
/* @__PURE__ */ (0,
|
|
3159
|
-
/* @__PURE__ */ (0,
|
|
3416
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
3417
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
3160
3418
|
import_themes23.Grid,
|
|
3161
3419
|
{
|
|
3162
3420
|
align: "center",
|
|
3163
3421
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
3164
3422
|
gapY: "2",
|
|
3165
3423
|
children: [
|
|
3166
|
-
/* @__PURE__ */ (0,
|
|
3167
|
-
/* @__PURE__ */ (0,
|
|
3424
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
3425
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(Heading2, { variant: "heading4", children: [
|
|
3168
3426
|
customerName || "-",
|
|
3169
3427
|
"\uB2D8 ",
|
|
3170
3428
|
sessionNumber || "-",
|
|
3171
3429
|
"\uD68C\uCC28 \uC138\uC158"
|
|
3172
3430
|
] }),
|
|
3173
|
-
/* @__PURE__ */ (0,
|
|
3431
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
3174
3432
|
] }),
|
|
3175
|
-
error ? /* @__PURE__ */ (0,
|
|
3433
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
3176
3434
|
]
|
|
3177
3435
|
}
|
|
3178
3436
|
),
|
|
3179
|
-
/* @__PURE__ */ (0,
|
|
3437
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
3180
3438
|
] }),
|
|
3181
|
-
/* @__PURE__ */ (0,
|
|
3182
|
-
/* @__PURE__ */ (0,
|
|
3183
|
-
/* @__PURE__ */ (0,
|
|
3439
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3440
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
3441
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
3184
3442
|
DatePickerButton,
|
|
3185
3443
|
{
|
|
3186
3444
|
disabled: readonly,
|
|
@@ -3194,8 +3452,8 @@ function ReservationCard(props) {
|
|
|
3194
3452
|
size: "large"
|
|
3195
3453
|
}
|
|
3196
3454
|
),
|
|
3197
|
-
/* @__PURE__ */ (0,
|
|
3198
|
-
/* @__PURE__ */ (0,
|
|
3455
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
|
|
3456
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
3199
3457
|
OnOfflineRadioCard,
|
|
3200
3458
|
{
|
|
3201
3459
|
disabled: readonly,
|
|
@@ -3204,8 +3462,8 @@ function ReservationCard(props) {
|
|
|
3204
3462
|
value: type
|
|
3205
3463
|
}
|
|
3206
3464
|
),
|
|
3207
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
3208
|
-
/* @__PURE__ */ (0,
|
|
3465
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
3466
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
3209
3467
|
Button,
|
|
3210
3468
|
{
|
|
3211
3469
|
color: "gray",
|
|
@@ -3215,10 +3473,10 @@ function ReservationCard(props) {
|
|
|
3215
3473
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
3216
3474
|
}
|
|
3217
3475
|
),
|
|
3218
|
-
/* @__PURE__ */ (0,
|
|
3476
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
3219
3477
|
] })
|
|
3220
3478
|
] }) }),
|
|
3221
|
-
readonly ? /* @__PURE__ */ (0,
|
|
3479
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
3222
3480
|
import_themes6.Box,
|
|
3223
3481
|
{
|
|
3224
3482
|
mt: "5",
|
|
@@ -3226,14 +3484,14 @@ function ReservationCard(props) {
|
|
|
3226
3484
|
py: "4",
|
|
3227
3485
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
3228
3486
|
width: "100%",
|
|
3229
|
-
children: /* @__PURE__ */ (0,
|
|
3230
|
-
/* @__PURE__ */ (0,
|
|
3487
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
3488
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(Typo, { children: [
|
|
3231
3489
|
sessionNumber || "-",
|
|
3232
3490
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
3233
3491
|
] }),
|
|
3234
|
-
/* @__PURE__ */ (0,
|
|
3492
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
3235
3493
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
3236
|
-
/* @__PURE__ */ (0,
|
|
3494
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
3237
3495
|
] })
|
|
3238
3496
|
] })
|
|
3239
3497
|
}
|
|
@@ -3244,22 +3502,22 @@ function ReservationCard(props) {
|
|
|
3244
3502
|
}
|
|
3245
3503
|
|
|
3246
3504
|
// src/app/platform/session-review-simple-read.tsx
|
|
3247
|
-
var
|
|
3248
|
-
var
|
|
3505
|
+
var import_react57 = require("react");
|
|
3506
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
3249
3507
|
function SubTitleWrapper({
|
|
3250
3508
|
children,
|
|
3251
3509
|
title
|
|
3252
3510
|
}) {
|
|
3253
|
-
return /* @__PURE__ */ (0,
|
|
3254
|
-
/* @__PURE__ */ (0,
|
|
3255
|
-
/* @__PURE__ */ (0,
|
|
3511
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
3512
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
3513
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes6.Box, { children })
|
|
3256
3514
|
] });
|
|
3257
3515
|
}
|
|
3258
3516
|
function SessionReviewSimpleRead({
|
|
3259
3517
|
helpfulness,
|
|
3260
3518
|
review
|
|
3261
3519
|
}) {
|
|
3262
|
-
const helpfulnessMeta = (0,
|
|
3520
|
+
const helpfulnessMeta = (0, import_react57.useMemo)(() => {
|
|
3263
3521
|
if (helpfulness) {
|
|
3264
3522
|
return {
|
|
3265
3523
|
text: "\uB124",
|
|
@@ -3277,22 +3535,22 @@ function SessionReviewSimpleRead({
|
|
|
3277
3535
|
color: "error"
|
|
3278
3536
|
};
|
|
3279
3537
|
}, [helpfulness]);
|
|
3280
|
-
return /* @__PURE__ */ (0,
|
|
3281
|
-
/* @__PURE__ */ (0,
|
|
3282
|
-
/* @__PURE__ */ (0,
|
|
3538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3539
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.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_runtime112.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
3540
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
3283
3541
|
] }) });
|
|
3284
3542
|
}
|
|
3285
3543
|
|
|
3286
3544
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
3287
|
-
var
|
|
3545
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
3288
3546
|
function SectionWrapper({
|
|
3289
3547
|
title,
|
|
3290
3548
|
children
|
|
3291
3549
|
}) {
|
|
3292
|
-
return /* @__PURE__ */ (0,
|
|
3293
|
-
/* @__PURE__ */ (0,
|
|
3294
|
-
/* @__PURE__ */ (0,
|
|
3295
|
-
/* @__PURE__ */ (0,
|
|
3550
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes6.Box, { children: [
|
|
3551
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
3552
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
3553
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes39.Separator, { size: "4" })
|
|
3296
3554
|
] }),
|
|
3297
3555
|
children
|
|
3298
3556
|
] });
|
|
@@ -3302,22 +3560,22 @@ function SessionUserInfoDetail({
|
|
|
3302
3560
|
session,
|
|
3303
3561
|
onClickCopy
|
|
3304
3562
|
}) {
|
|
3305
|
-
return /* @__PURE__ */ (0,
|
|
3306
|
-
/* @__PURE__ */ (0,
|
|
3563
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
3564
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
3307
3565
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
3308
3566
|
) }) }),
|
|
3309
|
-
/* @__PURE__ */ (0,
|
|
3567
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
3310
3568
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
3311
3569
|
) }) })
|
|
3312
3570
|
] });
|
|
3313
3571
|
}
|
|
3314
3572
|
|
|
3315
3573
|
// src/app/platform/report-card.tsx
|
|
3316
|
-
var
|
|
3317
|
-
var
|
|
3574
|
+
var import_react58 = require("react");
|
|
3575
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
3318
3576
|
function ReportCard(props) {
|
|
3319
3577
|
const { title, file, status, subtitle } = props;
|
|
3320
|
-
const onClickDownload = (0,
|
|
3578
|
+
const onClickDownload = (0, import_react58.useCallback)(() => {
|
|
3321
3579
|
if (!file) return;
|
|
3322
3580
|
const { url, fileName } = file;
|
|
3323
3581
|
const link = document.createElement("a");
|
|
@@ -3329,24 +3587,24 @@ function ReportCard(props) {
|
|
|
3329
3587
|
document.body.removeChild(link);
|
|
3330
3588
|
}, [file]);
|
|
3331
3589
|
if (status) {
|
|
3332
|
-
return /* @__PURE__ */ (0,
|
|
3333
|
-
/* @__PURE__ */ (0,
|
|
3590
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
3591
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3334
3592
|
status
|
|
3335
3593
|
] }) });
|
|
3336
3594
|
}
|
|
3337
|
-
return /* @__PURE__ */ (0,
|
|
3595
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
|
|
3338
3596
|
import_themes22.Flex,
|
|
3339
3597
|
{
|
|
3340
3598
|
direction: { initial: "column", xs: "row" },
|
|
3341
3599
|
gapY: "2",
|
|
3342
3600
|
justify: "between",
|
|
3343
3601
|
children: [
|
|
3344
|
-
/* @__PURE__ */ (0,
|
|
3345
|
-
/* @__PURE__ */ (0,
|
|
3346
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
3602
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes6.Box, { children: [
|
|
3603
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3604
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
3347
3605
|
] }),
|
|
3348
|
-
/* @__PURE__ */ (0,
|
|
3349
|
-
/* @__PURE__ */ (0,
|
|
3606
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
3607
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
3350
3608
|
file == null ? void 0 : file.buttonName
|
|
3351
3609
|
] }) }, file == null ? void 0 : file.url)
|
|
3352
3610
|
]
|
|
@@ -3355,9 +3613,9 @@ function ReportCard(props) {
|
|
|
3355
3613
|
}
|
|
3356
3614
|
|
|
3357
3615
|
// src/app/platform/contents-card.tsx
|
|
3358
|
-
var
|
|
3359
|
-
var
|
|
3360
|
-
var ContentsCard = (0,
|
|
3616
|
+
var import_react59 = require("react");
|
|
3617
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
3618
|
+
var ContentsCard = (0, import_react59.forwardRef)(
|
|
3361
3619
|
({
|
|
3362
3620
|
title,
|
|
3363
3621
|
description,
|
|
@@ -3367,7 +3625,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
3367
3625
|
onClickCard,
|
|
3368
3626
|
isLoading = false
|
|
3369
3627
|
}, ref) => {
|
|
3370
|
-
return /* @__PURE__ */ (0,
|
|
3628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
|
|
3371
3629
|
Card,
|
|
3372
3630
|
{
|
|
3373
3631
|
onClick: onClickCard,
|
|
@@ -3380,7 +3638,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
3380
3638
|
maxHeight: "450px"
|
|
3381
3639
|
},
|
|
3382
3640
|
children: [
|
|
3383
|
-
/* @__PURE__ */ (0,
|
|
3641
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
3384
3642
|
import_themes6.Box,
|
|
3385
3643
|
{
|
|
3386
3644
|
height: "210px",
|
|
@@ -3392,12 +3650,12 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
3392
3650
|
width: "100%"
|
|
3393
3651
|
}
|
|
3394
3652
|
) }) }),
|
|
3395
|
-
/* @__PURE__ */ (0,
|
|
3396
|
-
/* @__PURE__ */ (0,
|
|
3397
|
-
/* @__PURE__ */ (0,
|
|
3398
|
-
/* @__PURE__ */ (0,
|
|
3653
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
3654
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes6.Box, { children: [
|
|
3655
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
3656
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
3399
3657
|
] }),
|
|
3400
|
-
/* @__PURE__ */ (0,
|
|
3658
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
|
|
3401
3659
|
import_themes23.Grid,
|
|
3402
3660
|
{
|
|
3403
3661
|
align: "center",
|
|
@@ -3407,10 +3665,10 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
3407
3665
|
style: { marginTop: "auto" },
|
|
3408
3666
|
width: "100%",
|
|
3409
3667
|
children: [
|
|
3410
|
-
/* @__PURE__ */ (0,
|
|
3411
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
3412
|
-
/* @__PURE__ */ (0,
|
|
3413
|
-
/* @__PURE__ */ (0,
|
|
3668
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
3669
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(DropdownMenu.Root, { children: [
|
|
3670
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
3671
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
3414
3672
|
DropdownMenu.Item,
|
|
3415
3673
|
{
|
|
3416
3674
|
onClick: (e) => {
|
|
@@ -3434,7 +3692,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
|
|
|
3434
3692
|
ContentsCard.displayName = "ContentsCard";
|
|
3435
3693
|
|
|
3436
3694
|
// src/app/platform/curriculum-card.tsx
|
|
3437
|
-
var
|
|
3695
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
3438
3696
|
function CurriculumCard(props) {
|
|
3439
3697
|
const {
|
|
3440
3698
|
title,
|
|
@@ -3445,7 +3703,7 @@ function CurriculumCard(props) {
|
|
|
3445
3703
|
bgColor,
|
|
3446
3704
|
onClick
|
|
3447
3705
|
} = props;
|
|
3448
|
-
return /* @__PURE__ */ (0,
|
|
3706
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
|
|
3449
3707
|
import_themes23.Grid,
|
|
3450
3708
|
{
|
|
3451
3709
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -3454,7 +3712,7 @@ function CurriculumCard(props) {
|
|
|
3454
3712
|
onClick,
|
|
3455
3713
|
style: { cursor: "pointer" },
|
|
3456
3714
|
children: [
|
|
3457
|
-
/* @__PURE__ */ (0,
|
|
3715
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
3458
3716
|
import_themes6.Box,
|
|
3459
3717
|
{
|
|
3460
3718
|
height: "165px",
|
|
@@ -3469,32 +3727,32 @@ function CurriculumCard(props) {
|
|
|
3469
3727
|
backgroundAttachment: "local"
|
|
3470
3728
|
},
|
|
3471
3729
|
width: "100%",
|
|
3472
|
-
children: /* @__PURE__ */ (0,
|
|
3730
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
3473
3731
|
}
|
|
3474
3732
|
),
|
|
3475
|
-
/* @__PURE__ */ (0,
|
|
3476
|
-
/* @__PURE__ */ (0,
|
|
3477
|
-
/* @__PURE__ */ (0,
|
|
3478
|
-
/* @__PURE__ */ (0,
|
|
3733
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
3734
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
3735
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3736
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
3479
3737
|
Badge,
|
|
3480
3738
|
{
|
|
3481
3739
|
size: "medium",
|
|
3482
3740
|
style: { justifySelf: "flex-start" },
|
|
3483
3741
|
variant: "outline",
|
|
3484
|
-
children: /* @__PURE__ */ (0,
|
|
3485
|
-
/* @__PURE__ */ (0,
|
|
3742
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
3743
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_icons2.TimerIcon, {}),
|
|
3486
3744
|
runningTime
|
|
3487
3745
|
] })
|
|
3488
3746
|
}
|
|
3489
3747
|
)
|
|
3490
3748
|
] }),
|
|
3491
|
-
/* @__PURE__ */ (0,
|
|
3492
|
-
return /* @__PURE__ */ (0,
|
|
3749
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
3750
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
3493
3751
|
}) }) }),
|
|
3494
|
-
/* @__PURE__ */ (0,
|
|
3495
|
-
/* @__PURE__ */ (0,
|
|
3496
|
-
/* @__PURE__ */ (0,
|
|
3497
|
-
/* @__PURE__ */ (0,
|
|
3752
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes39.Separator, { size: "4" }),
|
|
3753
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
3754
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
3755
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
3498
3756
|
] })
|
|
3499
3757
|
] })
|
|
3500
3758
|
]
|