@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
|
ReportCard
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-446FD3VT.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
|
ReportCard
|
|
@@ -62,7 +62,7 @@ __export(reservation_card_exports, {
|
|
|
62
62
|
ReservationCard: () => ReservationCard
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(reservation_card_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_react51 = require("react");
|
|
66
66
|
var import_date_fns3 = require("date-fns");
|
|
67
67
|
var import_locale2 = require("date-fns/locale");
|
|
68
68
|
|
|
@@ -472,8 +472,16 @@ var Content2 = (0, import_react11.forwardRef)((props, ref) => {
|
|
|
472
472
|
);
|
|
473
473
|
});
|
|
474
474
|
Content2.displayName = "DropdownMenu.Content";
|
|
475
|
+
var Trigger2 = (0, import_react11.forwardRef)(
|
|
476
|
+
(_a, ref) => {
|
|
477
|
+
var _b = _a, { asChild: _asChild } = _b, props = __objRest(_b, ["asChild"]);
|
|
478
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes20.DropdownMenu.Trigger, __spreadValues({ ref }, props));
|
|
479
|
+
}
|
|
480
|
+
);
|
|
481
|
+
Trigger2.displayName = "DropdownMenu.Trigger";
|
|
475
482
|
var DropdownMenu = __spreadProps(__spreadValues({}, import_themes20.DropdownMenu), {
|
|
476
|
-
Content: Content2
|
|
483
|
+
Content: Content2,
|
|
484
|
+
Trigger: Trigger2
|
|
477
485
|
});
|
|
478
486
|
|
|
479
487
|
// src/atoms/em.tsx
|
|
@@ -553,7 +561,7 @@ var Content3 = (0, import_react13.forwardRef)((props, ref) => {
|
|
|
553
561
|
);
|
|
554
562
|
});
|
|
555
563
|
Content3.displayName = "Select.Content";
|
|
556
|
-
var
|
|
564
|
+
var Trigger3 = (0, import_react13.forwardRef)(
|
|
557
565
|
(props, ref) => {
|
|
558
566
|
const _a = props, { className } = _a, rest = __objRest(_a, ["className"]);
|
|
559
567
|
const { error } = (0, import_react13.useContext)(SelectContext);
|
|
@@ -564,7 +572,7 @@ var Trigger2 = (0, import_react13.forwardRef)(
|
|
|
564
572
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Trigger, __spreadProps(__spreadValues({}, rest), { className: cls, ref }));
|
|
565
573
|
}
|
|
566
574
|
);
|
|
567
|
-
|
|
575
|
+
Trigger3.displayName = "Select.Trigger";
|
|
568
576
|
function Root3(props) {
|
|
569
577
|
const _a = props, { error } = _a, rest = __objRest(_a, ["error"]);
|
|
570
578
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectContext.Provider, { value: { error }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Root, __spreadValues({}, rest)) });
|
|
@@ -572,7 +580,7 @@ function Root3(props) {
|
|
|
572
580
|
Root3.displayName = "Select.Root";
|
|
573
581
|
var Select = __spreadProps(__spreadValues({}, import_themes38.Select), {
|
|
574
582
|
Root: Root3,
|
|
575
|
-
Trigger:
|
|
583
|
+
Trigger: Trigger3,
|
|
576
584
|
Content: Content3
|
|
577
585
|
});
|
|
578
586
|
|
|
@@ -2075,22 +2083,272 @@ var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
|
2075
2083
|
// src/molecules/dynamic-form-editor.tsx
|
|
2076
2084
|
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
2077
2085
|
|
|
2086
|
+
// src/molecules/autocomplete-textfield.tsx
|
|
2087
|
+
var import_react50 = require("react");
|
|
2088
|
+
var import_themes58 = require("@radix-ui/themes");
|
|
2089
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
2090
|
+
var AutocompleteTextfield = (0, import_react50.forwardRef)(
|
|
2091
|
+
(_a, ref) => {
|
|
2092
|
+
var _b = _a, {
|
|
2093
|
+
options,
|
|
2094
|
+
value: externalValue,
|
|
2095
|
+
onChange,
|
|
2096
|
+
onSelect,
|
|
2097
|
+
placeholder,
|
|
2098
|
+
emptyMessage = "\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
2099
|
+
maxItems = 10,
|
|
2100
|
+
slotLeft,
|
|
2101
|
+
slotRight,
|
|
2102
|
+
error
|
|
2103
|
+
} = _b, rest = __objRest(_b, [
|
|
2104
|
+
"options",
|
|
2105
|
+
"value",
|
|
2106
|
+
"onChange",
|
|
2107
|
+
"onSelect",
|
|
2108
|
+
"placeholder",
|
|
2109
|
+
"emptyMessage",
|
|
2110
|
+
"maxItems",
|
|
2111
|
+
"slotLeft",
|
|
2112
|
+
"slotRight",
|
|
2113
|
+
"error"
|
|
2114
|
+
]);
|
|
2115
|
+
const isControlled = externalValue !== void 0;
|
|
2116
|
+
const [internalValue, setInternalValue] = (0, import_react50.useState)("");
|
|
2117
|
+
const inputValue = isControlled ? externalValue : internalValue;
|
|
2118
|
+
const [open, setOpen] = (0, import_react50.useState)(false);
|
|
2119
|
+
const [highlightedIndex, setHighlightedIndex] = (0, import_react50.useState)(-1);
|
|
2120
|
+
const inputRef = (0, import_react50.useRef)(null);
|
|
2121
|
+
const listRef = (0, import_react50.useRef)(null);
|
|
2122
|
+
const listboxId = (0, import_react50.useId)();
|
|
2123
|
+
const justSelectedRef = (0, import_react50.useRef)(false);
|
|
2124
|
+
const filtered = options.filter(
|
|
2125
|
+
(opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())
|
|
2126
|
+
).slice(0, maxItems);
|
|
2127
|
+
const handleInputChange = (0, import_react50.useCallback)(
|
|
2128
|
+
(e) => {
|
|
2129
|
+
const next = e.target.value;
|
|
2130
|
+
if (!isControlled) setInternalValue(next);
|
|
2131
|
+
onChange == null ? void 0 : onChange(next);
|
|
2132
|
+
const nextFiltered = options.filter((opt) => opt.label.toLowerCase().includes(next.toLowerCase())).slice(0, maxItems);
|
|
2133
|
+
setOpen(nextFiltered.length > 0 || emptyMessage !== null);
|
|
2134
|
+
setHighlightedIndex(-1);
|
|
2135
|
+
},
|
|
2136
|
+
[isControlled, onChange, options, maxItems, emptyMessage]
|
|
2137
|
+
);
|
|
2138
|
+
const handleSelect = (0, import_react50.useCallback)(
|
|
2139
|
+
(option) => {
|
|
2140
|
+
var _a2;
|
|
2141
|
+
if (!isControlled) setInternalValue(option.label);
|
|
2142
|
+
onChange == null ? void 0 : onChange(option.label);
|
|
2143
|
+
onSelect == null ? void 0 : onSelect(option);
|
|
2144
|
+
setOpen(false);
|
|
2145
|
+
setHighlightedIndex(-1);
|
|
2146
|
+
justSelectedRef.current = true;
|
|
2147
|
+
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
2148
|
+
},
|
|
2149
|
+
[isControlled, onChange, onSelect]
|
|
2150
|
+
);
|
|
2151
|
+
const handleFocus = (0, import_react50.useCallback)(() => {
|
|
2152
|
+
if (justSelectedRef.current) {
|
|
2153
|
+
justSelectedRef.current = false;
|
|
2154
|
+
return;
|
|
2155
|
+
}
|
|
2156
|
+
const currentFiltered = options.filter((opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())).slice(0, maxItems);
|
|
2157
|
+
setOpen(currentFiltered.length > 0 || emptyMessage !== null);
|
|
2158
|
+
}, [options, inputValue, maxItems, emptyMessage]);
|
|
2159
|
+
const handleBlur = (0, import_react50.useCallback)((e) => {
|
|
2160
|
+
var _a2, _b2;
|
|
2161
|
+
if (e.relatedTarget && ((_b2 = (_a2 = inputRef.current) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b2.contains(e.relatedTarget))) {
|
|
2162
|
+
return;
|
|
2163
|
+
}
|
|
2164
|
+
setOpen(false);
|
|
2165
|
+
setHighlightedIndex(-1);
|
|
2166
|
+
}, []);
|
|
2167
|
+
const handleKeyDown = (0, import_react50.useCallback)(
|
|
2168
|
+
(e) => {
|
|
2169
|
+
if (!open) {
|
|
2170
|
+
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
2171
|
+
setOpen(true);
|
|
2172
|
+
setHighlightedIndex(0);
|
|
2173
|
+
e.preventDefault();
|
|
2174
|
+
}
|
|
2175
|
+
return;
|
|
2176
|
+
}
|
|
2177
|
+
switch (e.key) {
|
|
2178
|
+
case "ArrowDown":
|
|
2179
|
+
e.preventDefault();
|
|
2180
|
+
setHighlightedIndex(
|
|
2181
|
+
(prev) => prev < filtered.length - 1 ? prev + 1 : 0
|
|
2182
|
+
);
|
|
2183
|
+
break;
|
|
2184
|
+
case "ArrowUp":
|
|
2185
|
+
e.preventDefault();
|
|
2186
|
+
setHighlightedIndex(
|
|
2187
|
+
(prev) => prev > 0 ? prev - 1 : filtered.length - 1
|
|
2188
|
+
);
|
|
2189
|
+
break;
|
|
2190
|
+
case "Enter":
|
|
2191
|
+
e.preventDefault();
|
|
2192
|
+
if (highlightedIndex >= 0 && filtered[highlightedIndex]) {
|
|
2193
|
+
handleSelect(filtered[highlightedIndex]);
|
|
2194
|
+
}
|
|
2195
|
+
break;
|
|
2196
|
+
case "Escape":
|
|
2197
|
+
setOpen(false);
|
|
2198
|
+
setHighlightedIndex(-1);
|
|
2199
|
+
break;
|
|
2200
|
+
case "Tab":
|
|
2201
|
+
setOpen(false);
|
|
2202
|
+
setHighlightedIndex(-1);
|
|
2203
|
+
break;
|
|
2204
|
+
default:
|
|
2205
|
+
break;
|
|
2206
|
+
}
|
|
2207
|
+
},
|
|
2208
|
+
[open, filtered, highlightedIndex, handleSelect]
|
|
2209
|
+
);
|
|
2210
|
+
(0, import_react50.useEffect)(() => {
|
|
2211
|
+
if (!listRef.current || highlightedIndex < 0) return;
|
|
2212
|
+
const item = listRef.current.children[highlightedIndex];
|
|
2213
|
+
item.scrollIntoView({ block: "nearest" });
|
|
2214
|
+
}, [highlightedIndex]);
|
|
2215
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes58.Box, { position: "relative", style: { width: "100%" }, children: [
|
|
2216
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
2217
|
+
TextField.Root,
|
|
2218
|
+
__spreadProps(__spreadValues({
|
|
2219
|
+
"aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
|
|
2220
|
+
"aria-autocomplete": "list",
|
|
2221
|
+
"aria-controls": open ? listboxId : void 0,
|
|
2222
|
+
"aria-expanded": open,
|
|
2223
|
+
error,
|
|
2224
|
+
onBlur: handleBlur,
|
|
2225
|
+
onChange: handleInputChange,
|
|
2226
|
+
onFocus: handleFocus,
|
|
2227
|
+
onKeyDown: handleKeyDown,
|
|
2228
|
+
placeholder,
|
|
2229
|
+
ref: (node) => {
|
|
2230
|
+
inputRef.current = node;
|
|
2231
|
+
if (typeof ref === "function") {
|
|
2232
|
+
ref(node);
|
|
2233
|
+
} else if (ref) {
|
|
2234
|
+
ref.current = node;
|
|
2235
|
+
}
|
|
2236
|
+
},
|
|
2237
|
+
role: "combobox",
|
|
2238
|
+
style: { width: "100%" },
|
|
2239
|
+
value: inputValue
|
|
2240
|
+
}, rest), {
|
|
2241
|
+
children: [
|
|
2242
|
+
slotLeft && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
|
|
2243
|
+
slotRight && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(TextField.Slot, { side: "right", children: slotRight })
|
|
2244
|
+
]
|
|
2245
|
+
})
|
|
2246
|
+
),
|
|
2247
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
2248
|
+
DropdownMenu.Root,
|
|
2249
|
+
{
|
|
2250
|
+
modal: false,
|
|
2251
|
+
onOpenChange: (nextOpen) => {
|
|
2252
|
+
if (!nextOpen && document.activeElement !== inputRef.current) {
|
|
2253
|
+
setOpen(false);
|
|
2254
|
+
setHighlightedIndex(-1);
|
|
2255
|
+
}
|
|
2256
|
+
},
|
|
2257
|
+
open,
|
|
2258
|
+
children: [
|
|
2259
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
2260
|
+
"span",
|
|
2261
|
+
{
|
|
2262
|
+
"aria-hidden": "true",
|
|
2263
|
+
style: {
|
|
2264
|
+
bottom: 0,
|
|
2265
|
+
height: 0,
|
|
2266
|
+
left: 0,
|
|
2267
|
+
opacity: 0,
|
|
2268
|
+
pointerEvents: "none",
|
|
2269
|
+
position: "absolute",
|
|
2270
|
+
width: "100%"
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
) }),
|
|
2274
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
2275
|
+
DropdownMenu.Content,
|
|
2276
|
+
{
|
|
2277
|
+
align: "start",
|
|
2278
|
+
onCloseAutoFocus: (e) => {
|
|
2279
|
+
e.preventDefault();
|
|
2280
|
+
},
|
|
2281
|
+
onOpenAutoFocus: (e) => {
|
|
2282
|
+
e.preventDefault();
|
|
2283
|
+
},
|
|
2284
|
+
sideOffset: 4,
|
|
2285
|
+
style: {
|
|
2286
|
+
maxHeight: 240,
|
|
2287
|
+
overflowY: "auto",
|
|
2288
|
+
padding: 0,
|
|
2289
|
+
width: "var(--radix-dropdown-menu-trigger-width)"
|
|
2290
|
+
},
|
|
2291
|
+
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)(
|
|
2292
|
+
"ul",
|
|
2293
|
+
{
|
|
2294
|
+
id: listboxId,
|
|
2295
|
+
ref: listRef,
|
|
2296
|
+
role: "listbox",
|
|
2297
|
+
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
2298
|
+
children: filtered.map((option, index) => {
|
|
2299
|
+
const isHighlighted = index === highlightedIndex;
|
|
2300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
2301
|
+
"li",
|
|
2302
|
+
{
|
|
2303
|
+
"aria-selected": isHighlighted,
|
|
2304
|
+
id: `${listboxId}-option-${index}`,
|
|
2305
|
+
onMouseEnter: () => {
|
|
2306
|
+
setHighlightedIndex(index);
|
|
2307
|
+
},
|
|
2308
|
+
onPointerDown: (e) => {
|
|
2309
|
+
e.preventDefault();
|
|
2310
|
+
handleSelect(option);
|
|
2311
|
+
},
|
|
2312
|
+
role: "option",
|
|
2313
|
+
style: {
|
|
2314
|
+
padding: "var(--spacing-4) var(--spacing-6)",
|
|
2315
|
+
cursor: "pointer",
|
|
2316
|
+
backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
|
|
2317
|
+
transition: "background-color 80ms"
|
|
2318
|
+
},
|
|
2319
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { variant: "body", children: option.label })
|
|
2320
|
+
},
|
|
2321
|
+
option.value
|
|
2322
|
+
);
|
|
2323
|
+
})
|
|
2324
|
+
}
|
|
2325
|
+
)
|
|
2326
|
+
}
|
|
2327
|
+
)
|
|
2328
|
+
]
|
|
2329
|
+
}
|
|
2330
|
+
)
|
|
2331
|
+
] });
|
|
2332
|
+
}
|
|
2333
|
+
);
|
|
2334
|
+
AutocompleteTextfield.displayName = "AutocompleteTextfield";
|
|
2335
|
+
|
|
2078
2336
|
// src/app/platform/on-offline-radio-card.tsx
|
|
2079
2337
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
2080
|
-
var
|
|
2338
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
2081
2339
|
var SERVICE_TYPE = {
|
|
2082
2340
|
onlineCoaching: "onlineCoaching",
|
|
2083
2341
|
offlineCoaching: "offlineCoaching"
|
|
2084
2342
|
};
|
|
2085
2343
|
var breakpoint = "sm";
|
|
2086
2344
|
function HideSmallBox(props) {
|
|
2087
|
-
return /* @__PURE__ */ (0,
|
|
2345
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
2088
2346
|
}
|
|
2089
2347
|
function OnOfflineRadioCard(props) {
|
|
2090
2348
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
2091
2349
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
2092
2350
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
2093
|
-
return /* @__PURE__ */ (0,
|
|
2351
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
2094
2352
|
RadioButtonCard.Root,
|
|
2095
2353
|
__spreadProps(__spreadValues({
|
|
2096
2354
|
RadioWrapper: Wrapper,
|
|
@@ -2099,13 +2357,13 @@ function OnOfflineRadioCard(props) {
|
|
|
2099
2357
|
justify
|
|
2100
2358
|
}, props), {
|
|
2101
2359
|
children: [
|
|
2102
|
-
/* @__PURE__ */ (0,
|
|
2103
|
-
/* @__PURE__ */ (0,
|
|
2104
|
-
/* @__PURE__ */ (0,
|
|
2360
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2361
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
2362
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
2105
2363
|
] }) }),
|
|
2106
|
-
/* @__PURE__ */ (0,
|
|
2107
|
-
/* @__PURE__ */ (0,
|
|
2108
|
-
/* @__PURE__ */ (0,
|
|
2364
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2365
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
2366
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
2109
2367
|
] }) })
|
|
2110
2368
|
]
|
|
2111
2369
|
})
|
|
@@ -2113,7 +2371,7 @@ function OnOfflineRadioCard(props) {
|
|
|
2113
2371
|
}
|
|
2114
2372
|
|
|
2115
2373
|
// src/app/platform/reservation-card.tsx
|
|
2116
|
-
var
|
|
2374
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
2117
2375
|
function ReservationCard(props) {
|
|
2118
2376
|
const {
|
|
2119
2377
|
sessionNumber,
|
|
@@ -2128,29 +2386,29 @@ function ReservationCard(props) {
|
|
|
2128
2386
|
onClickCancel,
|
|
2129
2387
|
onClickCompleteSession
|
|
2130
2388
|
} = props;
|
|
2131
|
-
const [editValues, setEditValues] = (0,
|
|
2389
|
+
const [editValues, setEditValues] = (0, import_react51.useState)({
|
|
2132
2390
|
date: props.defaultTime,
|
|
2133
2391
|
type: props.defaultType
|
|
2134
2392
|
});
|
|
2135
2393
|
const date = readonly ? defaultTime : editValues.date;
|
|
2136
2394
|
const type = readonly ? defaultType : editValues.type;
|
|
2137
|
-
const onClickSave = (0,
|
|
2395
|
+
const onClickSave = (0, import_react51.useCallback)(() => {
|
|
2138
2396
|
var _a;
|
|
2139
2397
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
|
|
2140
2398
|
}, [editValues, props]);
|
|
2141
|
-
const onClickReset = (0,
|
|
2399
|
+
const onClickReset = (0, import_react51.useCallback)(() => {
|
|
2142
2400
|
setEditValues({
|
|
2143
2401
|
date: defaultTime,
|
|
2144
2402
|
type: defaultType
|
|
2145
2403
|
});
|
|
2146
2404
|
}, [defaultTime, defaultType]);
|
|
2147
|
-
const ActionButtons = (0,
|
|
2405
|
+
const ActionButtons = (0, import_react51.useMemo)(() => {
|
|
2148
2406
|
if (readonly) {
|
|
2149
|
-
return /* @__PURE__ */ (0,
|
|
2407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
2150
2408
|
}
|
|
2151
|
-
return /* @__PURE__ */ (0,
|
|
2409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
2152
2410
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
2153
|
-
const onChangeDate = (0,
|
|
2411
|
+
const onChangeDate = (0, import_react51.useCallback)((newDate) => {
|
|
2154
2412
|
if (!newDate) return;
|
|
2155
2413
|
setEditValues((prev) => {
|
|
2156
2414
|
return __spreadProps(__spreadValues({}, prev), {
|
|
@@ -2158,17 +2416,17 @@ function ReservationCard(props) {
|
|
|
2158
2416
|
});
|
|
2159
2417
|
});
|
|
2160
2418
|
}, []);
|
|
2161
|
-
const onChangeType = (0,
|
|
2419
|
+
const onChangeType = (0, import_react51.useCallback)((newType) => {
|
|
2162
2420
|
setEditValues((prev) => {
|
|
2163
2421
|
return __spreadProps(__spreadValues({}, prev), {
|
|
2164
2422
|
type: newType
|
|
2165
2423
|
});
|
|
2166
2424
|
});
|
|
2167
2425
|
}, []);
|
|
2168
|
-
const formatDate = (0,
|
|
2426
|
+
const formatDate = (0, import_react51.useCallback)((v) => {
|
|
2169
2427
|
return (0, import_date_fns3.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C(EEE) aa h:mm", { locale: import_locale2.ko });
|
|
2170
2428
|
}, []);
|
|
2171
|
-
(0,
|
|
2429
|
+
(0, import_react51.useEffect)(() => {
|
|
2172
2430
|
if (!minTime || !editValues.date || readonly) return;
|
|
2173
2431
|
if (editValues.date < minTime) {
|
|
2174
2432
|
toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -2179,7 +2437,7 @@ function ReservationCard(props) {
|
|
|
2179
2437
|
});
|
|
2180
2438
|
}
|
|
2181
2439
|
}, [editValues, minTime, readonly]);
|
|
2182
|
-
(0,
|
|
2440
|
+
(0, import_react51.useEffect)(() => {
|
|
2183
2441
|
if (!maxTime || !editValues.date || readonly) return;
|
|
2184
2442
|
if (editValues.date > maxTime) {
|
|
2185
2443
|
toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
@@ -2190,39 +2448,39 @@ function ReservationCard(props) {
|
|
|
2190
2448
|
});
|
|
2191
2449
|
}
|
|
2192
2450
|
}, [editValues, maxTime, readonly]);
|
|
2193
|
-
return /* @__PURE__ */ (0,
|
|
2451
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
|
|
2194
2452
|
Card,
|
|
2195
2453
|
{
|
|
2196
2454
|
error: Boolean(error),
|
|
2197
2455
|
size: "3",
|
|
2198
2456
|
style: { overflow: "visible", contain: "initial" },
|
|
2199
2457
|
children: [
|
|
2200
|
-
/* @__PURE__ */ (0,
|
|
2201
|
-
/* @__PURE__ */ (0,
|
|
2458
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
2459
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
|
|
2202
2460
|
import_themes23.Grid,
|
|
2203
2461
|
{
|
|
2204
2462
|
align: "center",
|
|
2205
2463
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
2206
2464
|
gapY: "2",
|
|
2207
2465
|
children: [
|
|
2208
|
-
/* @__PURE__ */ (0,
|
|
2209
|
-
/* @__PURE__ */ (0,
|
|
2466
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
2467
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Heading2, { variant: "heading4", children: [
|
|
2210
2468
|
customerName || "-",
|
|
2211
2469
|
"\uB2D8 ",
|
|
2212
2470
|
sessionNumber || "-",
|
|
2213
2471
|
"\uD68C\uCC28 \uC138\uC158"
|
|
2214
2472
|
] }),
|
|
2215
|
-
/* @__PURE__ */ (0,
|
|
2473
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
2216
2474
|
] }),
|
|
2217
|
-
error ? /* @__PURE__ */ (0,
|
|
2475
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
2218
2476
|
]
|
|
2219
2477
|
}
|
|
2220
2478
|
),
|
|
2221
|
-
/* @__PURE__ */ (0,
|
|
2479
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
2222
2480
|
] }),
|
|
2223
|
-
/* @__PURE__ */ (0,
|
|
2224
|
-
/* @__PURE__ */ (0,
|
|
2225
|
-
/* @__PURE__ */ (0,
|
|
2481
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2482
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
2483
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
2226
2484
|
DatePickerButton,
|
|
2227
2485
|
{
|
|
2228
2486
|
disabled: readonly,
|
|
@@ -2236,8 +2494,8 @@ function ReservationCard(props) {
|
|
|
2236
2494
|
size: "large"
|
|
2237
2495
|
}
|
|
2238
2496
|
),
|
|
2239
|
-
/* @__PURE__ */ (0,
|
|
2240
|
-
/* @__PURE__ */ (0,
|
|
2497
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
|
|
2498
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
2241
2499
|
OnOfflineRadioCard,
|
|
2242
2500
|
{
|
|
2243
2501
|
disabled: readonly,
|
|
@@ -2246,8 +2504,8 @@ function ReservationCard(props) {
|
|
|
2246
2504
|
value: type
|
|
2247
2505
|
}
|
|
2248
2506
|
),
|
|
2249
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
2250
|
-
/* @__PURE__ */ (0,
|
|
2507
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
2508
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
2251
2509
|
Button,
|
|
2252
2510
|
{
|
|
2253
2511
|
color: "gray",
|
|
@@ -2257,10 +2515,10 @@ function ReservationCard(props) {
|
|
|
2257
2515
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2258
2516
|
}
|
|
2259
2517
|
),
|
|
2260
|
-
/* @__PURE__ */ (0,
|
|
2518
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2261
2519
|
] })
|
|
2262
2520
|
] }) }),
|
|
2263
|
-
readonly ? /* @__PURE__ */ (0,
|
|
2521
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
2264
2522
|
import_themes6.Box,
|
|
2265
2523
|
{
|
|
2266
2524
|
mt: "5",
|
|
@@ -2268,14 +2526,14 @@ function ReservationCard(props) {
|
|
|
2268
2526
|
py: "4",
|
|
2269
2527
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
2270
2528
|
width: "100%",
|
|
2271
|
-
children: /* @__PURE__ */ (0,
|
|
2272
|
-
/* @__PURE__ */ (0,
|
|
2529
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
2530
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Typo, { children: [
|
|
2273
2531
|
sessionNumber || "-",
|
|
2274
2532
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
2275
2533
|
] }),
|
|
2276
|
-
/* @__PURE__ */ (0,
|
|
2534
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
2277
2535
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
2278
|
-
/* @__PURE__ */ (0,
|
|
2536
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
2279
2537
|
] })
|
|
2280
2538
|
] })
|
|
2281
2539
|
}
|