@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
|
@@ -1,69 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ContentsCard
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-FBFKBV5Y.js";
|
|
4
4
|
import "../../chunk-HBF6IIVZ.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-LNPFV5BJ.js";
|
|
6
|
+
import "../../chunk-5H3YPCZK.js";
|
|
7
|
+
import "../../chunk-FR2GDOU2.js";
|
|
8
|
+
import "../../chunk-74DX4CU7.js";
|
|
6
9
|
import "../../chunk-OYM4XCHQ.js";
|
|
7
10
|
import "../../chunk-YJ7ZFOYL.js";
|
|
8
11
|
import "../../chunk-5ZITU5L7.js";
|
|
9
12
|
import "../../chunk-5XYPLDI5.js";
|
|
10
13
|
import "../../chunk-6NPTJBFE.js";
|
|
11
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-6IVCARWS.js";
|
|
15
|
+
import "../../chunk-6DJOIRMF.js";
|
|
16
|
+
import "../../chunk-FPD73OHW.js";
|
|
12
17
|
import "../../chunk-MUPK4L3U.js";
|
|
13
18
|
import "../../chunk-MUNMDHRF.js";
|
|
14
19
|
import "../../chunk-TVDKGMBI.js";
|
|
15
20
|
import "../../chunk-X2GMDZ7M.js";
|
|
16
21
|
import "../../chunk-HYITAA4J.js";
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-XQOL7UBI.js";
|
|
23
|
+
import "../../chunk-TULWX7D6.js";
|
|
24
|
+
import "../../chunk-DHZVOXFM.js";
|
|
25
|
+
import "../../chunk-WV2HN6H4.js";
|
|
26
|
+
import "../../chunk-N4Y3QSUQ.js";
|
|
22
27
|
import "../../chunk-5AVBYDPB.js";
|
|
23
28
|
import "../../chunk-365QMK4D.js";
|
|
24
29
|
import "../../chunk-YO3BQW6S.js";
|
|
25
|
-
import "../../chunk-
|
|
26
|
-
import "../../chunk-
|
|
27
|
-
import "../../chunk-FPD73OHW.js";
|
|
30
|
+
import "../../chunk-2DZ2Y3JI.js";
|
|
31
|
+
import "../../chunk-VRJR534I.js";
|
|
28
32
|
import "../../chunk-EGEQY3KT.js";
|
|
29
33
|
import "../../chunk-O3T3TM3V.js";
|
|
30
|
-
import "../../chunk-
|
|
31
|
-
import "../../chunk-
|
|
32
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-OHMOP5PV.js";
|
|
35
|
+
import "../../chunk-NFDQJVFA.js";
|
|
36
|
+
import "../../chunk-Q37G2GS6.js";
|
|
33
37
|
import "../../chunk-VTJZMOSP.js";
|
|
34
|
-
import "../../chunk-
|
|
35
|
-
import "../../chunk-BESTU2AY.js";
|
|
38
|
+
import "../../chunk-D3KCPM4O.js";
|
|
36
39
|
import "../../chunk-EEAHZCIK.js";
|
|
37
40
|
import "../../chunk-645GPOW2.js";
|
|
38
41
|
import "../../chunk-U7N2PWMO.js";
|
|
39
42
|
import "../../chunk-XK6VEVOK.js";
|
|
40
43
|
import "../../chunk-HF6GNDPV.js";
|
|
41
|
-
import "../../chunk-
|
|
44
|
+
import "../../chunk-SMLC2O3V.js";
|
|
42
45
|
import "../../chunk-Y4U24VXI.js";
|
|
43
46
|
import "../../chunk-3NUQAVE6.js";
|
|
44
|
-
import "../../chunk-
|
|
45
|
-
import "../../chunk-
|
|
46
|
-
import "../../chunk-
|
|
47
|
+
import "../../chunk-QRI6ARS6.js";
|
|
48
|
+
import "../../chunk-25HMMI7R.js";
|
|
49
|
+
import "../../chunk-ZVDAEY5Q.js";
|
|
50
|
+
import "../../chunk-LQY4RKWI.js";
|
|
51
|
+
import "../../chunk-ZD7MNMED.js";
|
|
47
52
|
import "../../chunk-B6XJN6EC.js";
|
|
48
53
|
import "../../chunk-RP2RGCAW.js";
|
|
49
54
|
import "../../chunk-MIMJ7LON.js";
|
|
50
55
|
import "../../chunk-W7X7KSJP.js";
|
|
51
56
|
import "../../chunk-VYCYVN3L.js";
|
|
52
|
-
import "../../chunk-
|
|
53
|
-
import "../../chunk-
|
|
54
|
-
import "../../chunk-Q37G2GS6.js";
|
|
57
|
+
import "../../chunk-J242TTFH.js";
|
|
58
|
+
import "../../chunk-EAXUQEO5.js";
|
|
55
59
|
import "../../chunk-6SYFG6YY.js";
|
|
56
60
|
import "../../chunk-K36TPMKL.js";
|
|
57
61
|
import "../../chunk-U3BQT7ZO.js";
|
|
58
62
|
import "../../chunk-YGL6SWKN.js";
|
|
59
63
|
import "../../chunk-4Y5BEXVN.js";
|
|
60
|
-
import "../../chunk-Z34HR7RE.js";
|
|
61
|
-
import "../../chunk-PMJIFLDT.js";
|
|
62
|
-
import "../../chunk-LDBWASUA.js";
|
|
63
|
-
import "../../chunk-25HMMI7R.js";
|
|
64
|
-
import "../../chunk-ZVDAEY5Q.js";
|
|
65
|
-
import "../../chunk-LQY4RKWI.js";
|
|
66
|
-
import "../../chunk-ZD7MNMED.js";
|
|
67
64
|
import "../../chunk-DLP4UUNG.js";
|
|
68
65
|
import "../../chunk-VD7AQ7HK.js";
|
|
69
66
|
import "../../chunk-ZQE7SP6P.js";
|
|
@@ -80,8 +77,11 @@ import "../../chunk-YSYJCYHY.js";
|
|
|
80
77
|
import "../../chunk-5OM2H6RI.js";
|
|
81
78
|
import "../../chunk-ZUYCXCPW.js";
|
|
82
79
|
import "../../chunk-YVFNJE4E.js";
|
|
83
|
-
import "../../chunk-
|
|
84
|
-
import "../../chunk-
|
|
80
|
+
import "../../chunk-PT57HCAI.js";
|
|
81
|
+
import "../../chunk-QDC3LFHS.js";
|
|
82
|
+
import "../../chunk-BESTU2AY.js";
|
|
83
|
+
import "../../chunk-PMJIFLDT.js";
|
|
84
|
+
import "../../chunk-LDBWASUA.js";
|
|
85
85
|
import "../../chunk-CRTRMMJ7.js";
|
|
86
86
|
export {
|
|
87
87
|
ContentsCard
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CurriculumCard
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-YP3H5H4D.js";
|
|
4
4
|
import "../../chunk-HYITAA4J.js";
|
|
5
5
|
import "../../chunk-EGEQY3KT.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-25HMMI7R.js";
|
|
7
7
|
import "../../chunk-U3BQT7ZO.js";
|
|
8
8
|
import "../../chunk-4Y5BEXVN.js";
|
|
9
|
-
import "../../chunk-PMJIFLDT.js";
|
|
10
|
-
import "../../chunk-LDBWASUA.js";
|
|
11
|
-
import "../../chunk-25HMMI7R.js";
|
|
12
9
|
import "../../chunk-DLP4UUNG.js";
|
|
13
10
|
import "../../chunk-VD7AQ7HK.js";
|
|
14
11
|
import "../../chunk-ZQE7SP6P.js";
|
|
@@ -25,6 +22,9 @@ import "../../chunk-YSYJCYHY.js";
|
|
|
25
22
|
import "../../chunk-5OM2H6RI.js";
|
|
26
23
|
import "../../chunk-ZUYCXCPW.js";
|
|
27
24
|
import "../../chunk-YVFNJE4E.js";
|
|
25
|
+
import "../../chunk-BESTU2AY.js";
|
|
26
|
+
import "../../chunk-PMJIFLDT.js";
|
|
27
|
+
import "../../chunk-LDBWASUA.js";
|
|
28
28
|
import "../../chunk-CRTRMMJ7.js";
|
|
29
29
|
export {
|
|
30
30
|
CurriculumCard
|
|
@@ -62,7 +62,7 @@ __export(edit_coaching_time_exports, {
|
|
|
62
62
|
EditCoachingTime: () => EditCoachingTime
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(edit_coaching_time_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_react51 = require("react");
|
|
66
66
|
|
|
67
67
|
// src/atoms/alert-dialog.tsx
|
|
68
68
|
var import_themes = require("@radix-ui/themes");
|
|
@@ -596,8 +596,16 @@ var Content3 = (0, import_react11.forwardRef)((props, ref) => {
|
|
|
596
596
|
);
|
|
597
597
|
});
|
|
598
598
|
Content3.displayName = "DropdownMenu.Content";
|
|
599
|
+
var Trigger3 = (0, import_react11.forwardRef)(
|
|
600
|
+
(_a, ref) => {
|
|
601
|
+
var _b = _a, { asChild: _asChild } = _b, props = __objRest(_b, ["asChild"]);
|
|
602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes20.DropdownMenu.Trigger, __spreadValues({ ref }, props));
|
|
603
|
+
}
|
|
604
|
+
);
|
|
605
|
+
Trigger3.displayName = "DropdownMenu.Trigger";
|
|
599
606
|
var DropdownMenu = __spreadProps(__spreadValues({}, import_themes20.DropdownMenu), {
|
|
600
|
-
Content: Content3
|
|
607
|
+
Content: Content3,
|
|
608
|
+
Trigger: Trigger3
|
|
601
609
|
});
|
|
602
610
|
|
|
603
611
|
// src/atoms/em.tsx
|
|
@@ -677,7 +685,7 @@ var Content4 = (0, import_react13.forwardRef)((props, ref) => {
|
|
|
677
685
|
);
|
|
678
686
|
});
|
|
679
687
|
Content4.displayName = "Select.Content";
|
|
680
|
-
var
|
|
688
|
+
var Trigger4 = (0, import_react13.forwardRef)(
|
|
681
689
|
(props, ref) => {
|
|
682
690
|
const _a = props, { className } = _a, rest = __objRest(_a, ["className"]);
|
|
683
691
|
const { error } = (0, import_react13.useContext)(SelectContext);
|
|
@@ -688,7 +696,7 @@ var Trigger3 = (0, import_react13.forwardRef)(
|
|
|
688
696
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Trigger, __spreadProps(__spreadValues({}, rest), { className: cls, ref }));
|
|
689
697
|
}
|
|
690
698
|
);
|
|
691
|
-
|
|
699
|
+
Trigger4.displayName = "Select.Trigger";
|
|
692
700
|
function Root4(props) {
|
|
693
701
|
const _a = props, { error } = _a, rest = __objRest(_a, ["error"]);
|
|
694
702
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectContext.Provider, { value: { error }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Root, __spreadValues({}, rest)) });
|
|
@@ -696,7 +704,7 @@ function Root4(props) {
|
|
|
696
704
|
Root4.displayName = "Select.Root";
|
|
697
705
|
var Select = __spreadProps(__spreadValues({}, import_themes38.Select), {
|
|
698
706
|
Root: Root4,
|
|
699
|
-
Trigger:
|
|
707
|
+
Trigger: Trigger4,
|
|
700
708
|
Content: Content4
|
|
701
709
|
});
|
|
702
710
|
|
|
@@ -2229,8 +2237,258 @@ var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
|
2229
2237
|
// src/molecules/dynamic-form-editor.tsx
|
|
2230
2238
|
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
2231
2239
|
|
|
2232
|
-
// src/
|
|
2240
|
+
// src/molecules/autocomplete-textfield.tsx
|
|
2241
|
+
var import_react50 = require("react");
|
|
2242
|
+
var import_themes58 = require("@radix-ui/themes");
|
|
2233
2243
|
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
2244
|
+
var AutocompleteTextfield = (0, import_react50.forwardRef)(
|
|
2245
|
+
(_a, ref) => {
|
|
2246
|
+
var _b = _a, {
|
|
2247
|
+
options,
|
|
2248
|
+
value: externalValue,
|
|
2249
|
+
onChange,
|
|
2250
|
+
onSelect,
|
|
2251
|
+
placeholder,
|
|
2252
|
+
emptyMessage = "\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
2253
|
+
maxItems = 10,
|
|
2254
|
+
slotLeft,
|
|
2255
|
+
slotRight,
|
|
2256
|
+
error
|
|
2257
|
+
} = _b, rest = __objRest(_b, [
|
|
2258
|
+
"options",
|
|
2259
|
+
"value",
|
|
2260
|
+
"onChange",
|
|
2261
|
+
"onSelect",
|
|
2262
|
+
"placeholder",
|
|
2263
|
+
"emptyMessage",
|
|
2264
|
+
"maxItems",
|
|
2265
|
+
"slotLeft",
|
|
2266
|
+
"slotRight",
|
|
2267
|
+
"error"
|
|
2268
|
+
]);
|
|
2269
|
+
const isControlled = externalValue !== void 0;
|
|
2270
|
+
const [internalValue, setInternalValue] = (0, import_react50.useState)("");
|
|
2271
|
+
const inputValue = isControlled ? externalValue : internalValue;
|
|
2272
|
+
const [open, setOpen] = (0, import_react50.useState)(false);
|
|
2273
|
+
const [highlightedIndex, setHighlightedIndex] = (0, import_react50.useState)(-1);
|
|
2274
|
+
const inputRef = (0, import_react50.useRef)(null);
|
|
2275
|
+
const listRef = (0, import_react50.useRef)(null);
|
|
2276
|
+
const listboxId = (0, import_react50.useId)();
|
|
2277
|
+
const justSelectedRef = (0, import_react50.useRef)(false);
|
|
2278
|
+
const filtered = options.filter(
|
|
2279
|
+
(opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())
|
|
2280
|
+
).slice(0, maxItems);
|
|
2281
|
+
const handleInputChange = (0, import_react50.useCallback)(
|
|
2282
|
+
(e) => {
|
|
2283
|
+
const next = e.target.value;
|
|
2284
|
+
if (!isControlled) setInternalValue(next);
|
|
2285
|
+
onChange == null ? void 0 : onChange(next);
|
|
2286
|
+
const nextFiltered = options.filter((opt) => opt.label.toLowerCase().includes(next.toLowerCase())).slice(0, maxItems);
|
|
2287
|
+
setOpen(nextFiltered.length > 0 || emptyMessage !== null);
|
|
2288
|
+
setHighlightedIndex(-1);
|
|
2289
|
+
},
|
|
2290
|
+
[isControlled, onChange, options, maxItems, emptyMessage]
|
|
2291
|
+
);
|
|
2292
|
+
const handleSelect = (0, import_react50.useCallback)(
|
|
2293
|
+
(option) => {
|
|
2294
|
+
var _a2;
|
|
2295
|
+
if (!isControlled) setInternalValue(option.label);
|
|
2296
|
+
onChange == null ? void 0 : onChange(option.label);
|
|
2297
|
+
onSelect == null ? void 0 : onSelect(option);
|
|
2298
|
+
setOpen(false);
|
|
2299
|
+
setHighlightedIndex(-1);
|
|
2300
|
+
justSelectedRef.current = true;
|
|
2301
|
+
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
2302
|
+
},
|
|
2303
|
+
[isControlled, onChange, onSelect]
|
|
2304
|
+
);
|
|
2305
|
+
const handleFocus = (0, import_react50.useCallback)(() => {
|
|
2306
|
+
if (justSelectedRef.current) {
|
|
2307
|
+
justSelectedRef.current = false;
|
|
2308
|
+
return;
|
|
2309
|
+
}
|
|
2310
|
+
const currentFiltered = options.filter((opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())).slice(0, maxItems);
|
|
2311
|
+
setOpen(currentFiltered.length > 0 || emptyMessage !== null);
|
|
2312
|
+
}, [options, inputValue, maxItems, emptyMessage]);
|
|
2313
|
+
const handleBlur = (0, import_react50.useCallback)((e) => {
|
|
2314
|
+
var _a2, _b2;
|
|
2315
|
+
if (e.relatedTarget && ((_b2 = (_a2 = inputRef.current) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b2.contains(e.relatedTarget))) {
|
|
2316
|
+
return;
|
|
2317
|
+
}
|
|
2318
|
+
setOpen(false);
|
|
2319
|
+
setHighlightedIndex(-1);
|
|
2320
|
+
}, []);
|
|
2321
|
+
const handleKeyDown = (0, import_react50.useCallback)(
|
|
2322
|
+
(e) => {
|
|
2323
|
+
if (!open) {
|
|
2324
|
+
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
2325
|
+
setOpen(true);
|
|
2326
|
+
setHighlightedIndex(0);
|
|
2327
|
+
e.preventDefault();
|
|
2328
|
+
}
|
|
2329
|
+
return;
|
|
2330
|
+
}
|
|
2331
|
+
switch (e.key) {
|
|
2332
|
+
case "ArrowDown":
|
|
2333
|
+
e.preventDefault();
|
|
2334
|
+
setHighlightedIndex(
|
|
2335
|
+
(prev) => prev < filtered.length - 1 ? prev + 1 : 0
|
|
2336
|
+
);
|
|
2337
|
+
break;
|
|
2338
|
+
case "ArrowUp":
|
|
2339
|
+
e.preventDefault();
|
|
2340
|
+
setHighlightedIndex(
|
|
2341
|
+
(prev) => prev > 0 ? prev - 1 : filtered.length - 1
|
|
2342
|
+
);
|
|
2343
|
+
break;
|
|
2344
|
+
case "Enter":
|
|
2345
|
+
e.preventDefault();
|
|
2346
|
+
if (highlightedIndex >= 0 && filtered[highlightedIndex]) {
|
|
2347
|
+
handleSelect(filtered[highlightedIndex]);
|
|
2348
|
+
}
|
|
2349
|
+
break;
|
|
2350
|
+
case "Escape":
|
|
2351
|
+
setOpen(false);
|
|
2352
|
+
setHighlightedIndex(-1);
|
|
2353
|
+
break;
|
|
2354
|
+
case "Tab":
|
|
2355
|
+
setOpen(false);
|
|
2356
|
+
setHighlightedIndex(-1);
|
|
2357
|
+
break;
|
|
2358
|
+
default:
|
|
2359
|
+
break;
|
|
2360
|
+
}
|
|
2361
|
+
},
|
|
2362
|
+
[open, filtered, highlightedIndex, handleSelect]
|
|
2363
|
+
);
|
|
2364
|
+
(0, import_react50.useEffect)(() => {
|
|
2365
|
+
if (!listRef.current || highlightedIndex < 0) return;
|
|
2366
|
+
const item = listRef.current.children[highlightedIndex];
|
|
2367
|
+
item.scrollIntoView({ block: "nearest" });
|
|
2368
|
+
}, [highlightedIndex]);
|
|
2369
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes58.Box, { position: "relative", style: { width: "100%" }, children: [
|
|
2370
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
2371
|
+
TextField.Root,
|
|
2372
|
+
__spreadProps(__spreadValues({
|
|
2373
|
+
"aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
|
|
2374
|
+
"aria-autocomplete": "list",
|
|
2375
|
+
"aria-controls": open ? listboxId : void 0,
|
|
2376
|
+
"aria-expanded": open,
|
|
2377
|
+
error,
|
|
2378
|
+
onBlur: handleBlur,
|
|
2379
|
+
onChange: handleInputChange,
|
|
2380
|
+
onFocus: handleFocus,
|
|
2381
|
+
onKeyDown: handleKeyDown,
|
|
2382
|
+
placeholder,
|
|
2383
|
+
ref: (node) => {
|
|
2384
|
+
inputRef.current = node;
|
|
2385
|
+
if (typeof ref === "function") {
|
|
2386
|
+
ref(node);
|
|
2387
|
+
} else if (ref) {
|
|
2388
|
+
ref.current = node;
|
|
2389
|
+
}
|
|
2390
|
+
},
|
|
2391
|
+
role: "combobox",
|
|
2392
|
+
style: { width: "100%" },
|
|
2393
|
+
value: inputValue
|
|
2394
|
+
}, rest), {
|
|
2395
|
+
children: [
|
|
2396
|
+
slotLeft && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
|
|
2397
|
+
slotRight && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(TextField.Slot, { side: "right", children: slotRight })
|
|
2398
|
+
]
|
|
2399
|
+
})
|
|
2400
|
+
),
|
|
2401
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
2402
|
+
DropdownMenu.Root,
|
|
2403
|
+
{
|
|
2404
|
+
modal: false,
|
|
2405
|
+
onOpenChange: (nextOpen) => {
|
|
2406
|
+
if (!nextOpen && document.activeElement !== inputRef.current) {
|
|
2407
|
+
setOpen(false);
|
|
2408
|
+
setHighlightedIndex(-1);
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
open,
|
|
2412
|
+
children: [
|
|
2413
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
2414
|
+
"span",
|
|
2415
|
+
{
|
|
2416
|
+
"aria-hidden": "true",
|
|
2417
|
+
style: {
|
|
2418
|
+
bottom: 0,
|
|
2419
|
+
height: 0,
|
|
2420
|
+
left: 0,
|
|
2421
|
+
opacity: 0,
|
|
2422
|
+
pointerEvents: "none",
|
|
2423
|
+
position: "absolute",
|
|
2424
|
+
width: "100%"
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
) }),
|
|
2428
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
2429
|
+
DropdownMenu.Content,
|
|
2430
|
+
{
|
|
2431
|
+
align: "start",
|
|
2432
|
+
onCloseAutoFocus: (e) => {
|
|
2433
|
+
e.preventDefault();
|
|
2434
|
+
},
|
|
2435
|
+
onOpenAutoFocus: (e) => {
|
|
2436
|
+
e.preventDefault();
|
|
2437
|
+
},
|
|
2438
|
+
sideOffset: 4,
|
|
2439
|
+
style: {
|
|
2440
|
+
maxHeight: 240,
|
|
2441
|
+
overflowY: "auto",
|
|
2442
|
+
padding: 0,
|
|
2443
|
+
width: "var(--radix-dropdown-menu-trigger-width)"
|
|
2444
|
+
},
|
|
2445
|
+
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)(
|
|
2446
|
+
"ul",
|
|
2447
|
+
{
|
|
2448
|
+
id: listboxId,
|
|
2449
|
+
ref: listRef,
|
|
2450
|
+
role: "listbox",
|
|
2451
|
+
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
2452
|
+
children: filtered.map((option, index) => {
|
|
2453
|
+
const isHighlighted = index === highlightedIndex;
|
|
2454
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
2455
|
+
"li",
|
|
2456
|
+
{
|
|
2457
|
+
"aria-selected": isHighlighted,
|
|
2458
|
+
id: `${listboxId}-option-${index}`,
|
|
2459
|
+
onMouseEnter: () => {
|
|
2460
|
+
setHighlightedIndex(index);
|
|
2461
|
+
},
|
|
2462
|
+
onPointerDown: (e) => {
|
|
2463
|
+
e.preventDefault();
|
|
2464
|
+
handleSelect(option);
|
|
2465
|
+
},
|
|
2466
|
+
role: "option",
|
|
2467
|
+
style: {
|
|
2468
|
+
padding: "var(--spacing-4) var(--spacing-6)",
|
|
2469
|
+
cursor: "pointer",
|
|
2470
|
+
backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
|
|
2471
|
+
transition: "background-color 80ms"
|
|
2472
|
+
},
|
|
2473
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { variant: "body", children: option.label })
|
|
2474
|
+
},
|
|
2475
|
+
option.value
|
|
2476
|
+
);
|
|
2477
|
+
})
|
|
2478
|
+
}
|
|
2479
|
+
)
|
|
2480
|
+
}
|
|
2481
|
+
)
|
|
2482
|
+
]
|
|
2483
|
+
}
|
|
2484
|
+
)
|
|
2485
|
+
] });
|
|
2486
|
+
}
|
|
2487
|
+
);
|
|
2488
|
+
AutocompleteTextfield.displayName = "AutocompleteTextfield";
|
|
2489
|
+
|
|
2490
|
+
// src/app/platform/edit-coaching-time.tsx
|
|
2491
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
2234
2492
|
var getValueFromDefaultValue = (args) => {
|
|
2235
2493
|
return {
|
|
2236
2494
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -2250,14 +2508,14 @@ var getDateFromValue = (date, time) => {
|
|
|
2250
2508
|
};
|
|
2251
2509
|
function EditCoachingTime(props) {
|
|
2252
2510
|
const { defaultEndAt, defaultStartAt, onClickCancel } = props;
|
|
2253
|
-
const [values, setValues] = (0,
|
|
2511
|
+
const [values, setValues] = (0, import_react51.useState)(() => {
|
|
2254
2512
|
return getValueFromDefaultValue({
|
|
2255
2513
|
startAt: defaultStartAt,
|
|
2256
2514
|
endAt: defaultEndAt
|
|
2257
2515
|
});
|
|
2258
2516
|
});
|
|
2259
|
-
const [timeError, setTimeError] = (0,
|
|
2260
|
-
const checkTimeError = (0,
|
|
2517
|
+
const [timeError, setTimeError] = (0, import_react51.useState)("");
|
|
2518
|
+
const checkTimeError = (0, import_react51.useCallback)(
|
|
2261
2519
|
(startTime, endTime) => {
|
|
2262
2520
|
const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
|
|
2263
2521
|
if (error) {
|
|
@@ -2268,7 +2526,7 @@ function EditCoachingTime(props) {
|
|
|
2268
2526
|
},
|
|
2269
2527
|
[]
|
|
2270
2528
|
);
|
|
2271
|
-
const onChangeStartTime = (0,
|
|
2529
|
+
const onChangeStartTime = (0, import_react51.useCallback)(
|
|
2272
2530
|
(v) => {
|
|
2273
2531
|
checkTimeError(v, values.endTime);
|
|
2274
2532
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -2277,7 +2535,7 @@ function EditCoachingTime(props) {
|
|
|
2277
2535
|
},
|
|
2278
2536
|
[checkTimeError, values.endTime]
|
|
2279
2537
|
);
|
|
2280
|
-
const onChangeEndTime = (0,
|
|
2538
|
+
const onChangeEndTime = (0, import_react51.useCallback)(
|
|
2281
2539
|
(v) => {
|
|
2282
2540
|
checkTimeError(values.startTime, v);
|
|
2283
2541
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -2286,12 +2544,12 @@ function EditCoachingTime(props) {
|
|
|
2286
2544
|
},
|
|
2287
2545
|
[checkTimeError, values.startTime]
|
|
2288
2546
|
);
|
|
2289
|
-
const onChangeDate = (0,
|
|
2547
|
+
const onChangeDate = (0, import_react51.useCallback)((date) => {
|
|
2290
2548
|
date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
2291
2549
|
date
|
|
2292
2550
|
}));
|
|
2293
2551
|
}, []);
|
|
2294
|
-
const onClickSave = (0,
|
|
2552
|
+
const onClickSave = (0, import_react51.useCallback)(() => {
|
|
2295
2553
|
if (checkTimeError(values.startTime, values.endTime)) {
|
|
2296
2554
|
const startAt = getDateFromValue(values.date, values.startTime);
|
|
2297
2555
|
const endAt = getDateFromValue(values.date, values.endTime);
|
|
@@ -2300,10 +2558,10 @@ function EditCoachingTime(props) {
|
|
|
2300
2558
|
toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
2301
2559
|
}
|
|
2302
2560
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
2303
|
-
return /* @__PURE__ */ (0,
|
|
2304
|
-
/* @__PURE__ */ (0,
|
|
2305
|
-
/* @__PURE__ */ (0,
|
|
2306
|
-
/* @__PURE__ */ (0,
|
|
2561
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(Form.Root, { children: [
|
|
2562
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(Form.Field, { name: "date", children: [
|
|
2563
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
2564
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
2307
2565
|
DatePickerButton,
|
|
2308
2566
|
{
|
|
2309
2567
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -2313,7 +2571,7 @@ function EditCoachingTime(props) {
|
|
|
2313
2571
|
}
|
|
2314
2572
|
)
|
|
2315
2573
|
] }),
|
|
2316
|
-
/* @__PURE__ */ (0,
|
|
2574
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
2317
2575
|
import_themes23.Grid,
|
|
2318
2576
|
{
|
|
2319
2577
|
align: "center",
|
|
@@ -2328,10 +2586,10 @@ function EditCoachingTime(props) {
|
|
|
2328
2586
|
mt: "5",
|
|
2329
2587
|
width: "100%",
|
|
2330
2588
|
children: [
|
|
2331
|
-
/* @__PURE__ */ (0,
|
|
2332
|
-
/* @__PURE__ */ (0,
|
|
2333
|
-
/* @__PURE__ */ (0,
|
|
2334
|
-
/* @__PURE__ */ (0,
|
|
2589
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
2590
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", {}),
|
|
2591
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
2592
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
2335
2593
|
TimeSelect,
|
|
2336
2594
|
{
|
|
2337
2595
|
onValueChange: onChangeStartTime,
|
|
@@ -2339,8 +2597,8 @@ function EditCoachingTime(props) {
|
|
|
2339
2597
|
value: values.startTime
|
|
2340
2598
|
}
|
|
2341
2599
|
),
|
|
2342
|
-
/* @__PURE__ */ (0,
|
|
2343
|
-
/* @__PURE__ */ (0,
|
|
2600
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes39.Separator, {}) }),
|
|
2601
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
2344
2602
|
TimeSelect,
|
|
2345
2603
|
{
|
|
2346
2604
|
onValueChange: onChangeEndTime,
|
|
@@ -2348,13 +2606,13 @@ function EditCoachingTime(props) {
|
|
|
2348
2606
|
value: values.endTime
|
|
2349
2607
|
}
|
|
2350
2608
|
),
|
|
2351
|
-
/* @__PURE__ */ (0,
|
|
2609
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
2352
2610
|
]
|
|
2353
2611
|
}
|
|
2354
2612
|
),
|
|
2355
|
-
/* @__PURE__ */ (0,
|
|
2356
|
-
/* @__PURE__ */ (0,
|
|
2357
|
-
/* @__PURE__ */ (0,
|
|
2613
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
2614
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2615
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2358
2616
|
] })
|
|
2359
2617
|
] }) });
|
|
2360
2618
|
}
|