@tipp/ui 2.10.3 → 2.10.5
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 +385 -359
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +82 -80
- package/dist/app/platform/coach-question-list.cjs +58 -35
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +30 -29
- package/dist/app/platform/contents-card.cjs +120 -97
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +30 -29
- package/dist/app/platform/curriculum-card.cjs +39 -16
- package/dist/app/platform/curriculum-card.cjs.map +1 -1
- package/dist/app/platform/curriculum-card.js +5 -4
- package/dist/app/platform/edit-coaching-time.cjs +160 -134
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +66 -64
- package/dist/app/platform/edit-service-type.cjs +152 -126
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +66 -64
- package/dist/app/platform/goal-manage-card-edit.cjs +162 -136
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +67 -65
- package/dist/app/platform/goal-manage-card-read.cjs +88 -65
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +30 -29
- package/dist/app/platform/on-offline-radio-card.cjs +303 -277
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +66 -64
- package/dist/app/platform/report-card.cjs +61 -38
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +30 -29
- package/dist/app/platform/reservation-card.cjs +176 -150
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +67 -65
- package/dist/app/platform/session-card.cjs +205 -179
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +67 -65
- package/dist/app/platform/session-review-simple-read.cjs +59 -36
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +30 -29
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +92 -69
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +34 -33
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +69 -46
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +30 -29
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +72 -49
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +30 -29
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +58 -35
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +29 -28
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +68 -45
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +29 -28
- package/dist/app/platform/userInfos/utils.cjs +60 -37
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +29 -28
- package/dist/app/roleplay/index.cjs +463 -389
- package/dist/app/roleplay/index.cjs.map +1 -1
- package/dist/app/roleplay/index.js +78 -76
- package/dist/app/roleplay/parts/analysis-section.cjs +64 -41
- package/dist/app/roleplay/parts/analysis-section.cjs.map +1 -1
- package/dist/app/roleplay/parts/analysis-section.js +29 -28
- package/dist/app/roleplay/parts/coaching-panel.cjs +65 -42
- package/dist/app/roleplay/parts/coaching-panel.cjs.map +1 -1
- package/dist/app/roleplay/parts/coaching-panel.js +30 -29
- package/dist/app/roleplay/parts/content.cjs +389 -315
- package/dist/app/roleplay/parts/content.cjs.map +1 -1
- package/dist/app/roleplay/parts/content.js +74 -72
- package/dist/app/roleplay/parts/header.cjs +82 -59
- package/dist/app/roleplay/parts/header.cjs.map +1 -1
- package/dist/app/roleplay/parts/header.js +30 -29
- package/dist/app/roleplay/parts/score-summary.cjs +77 -54
- package/dist/app/roleplay/parts/score-summary.cjs.map +1 -1
- package/dist/app/roleplay/parts/score-summary.js +30 -29
- package/dist/app/roleplay/parts/score-trend-section.cjs +232 -158
- package/dist/app/roleplay/parts/score-trend-section.cjs.map +1 -1
- package/dist/app/roleplay/parts/score-trend-section.js +70 -68
- package/dist/app/roleplay/parts/script-transcript.cjs +73 -50
- package/dist/app/roleplay/parts/script-transcript.cjs.map +1 -1
- package/dist/app/roleplay/parts/script-transcript.js +29 -28
- package/dist/app/roleplay/parts/section-nav.cjs +94 -71
- package/dist/app/roleplay/parts/section-nav.cjs.map +1 -1
- package/dist/app/roleplay/parts/section-nav.js +29 -28
- package/dist/app/roleplay/parts/session-replay-dialog.cjs +83 -60
- package/dist/app/roleplay/parts/session-replay-dialog.cjs.map +1 -1
- package/dist/app/roleplay/parts/session-replay-dialog.js +29 -28
- package/dist/app/roleplay/parts/speech-share-bar.cjs +60 -37
- package/dist/app/roleplay/parts/speech-share-bar.cjs.map +1 -1
- package/dist/app/roleplay/parts/speech-share-bar.js +29 -28
- package/dist/app/roleplay/parts/step-detail.cjs +78 -55
- package/dist/app/roleplay/parts/step-detail.cjs.map +1 -1
- package/dist/app/roleplay/parts/step-detail.js +29 -28
- package/dist/app/roleplay/parts/step-summary.cjs +78 -55
- package/dist/app/roleplay/parts/step-summary.cjs.map +1 -1
- package/dist/app/roleplay/parts/step-summary.js +32 -31
- package/dist/app/roleplay/rp-session-detail.cjs +463 -389
- package/dist/app/roleplay/rp-session-detail.cjs.map +1 -1
- package/dist/app/roleplay/rp-session-detail.js +78 -76
- package/dist/atoms/index.cjs +82 -59
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +64 -63
- package/dist/atoms/pagination.cjs +38 -15
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +3 -2
- package/dist/chunk-2EPKY2VT.js +70 -0
- package/dist/chunk-2EPKY2VT.js.map +1 -0
- package/dist/{chunk-RZW6FVML.js → chunk-2IRG44IV.js} +2 -2
- package/dist/chunk-2PPLSZ4P.js +1 -0
- package/dist/{chunk-ZQLHRK36.js → chunk-2XDAK4B7.js} +4 -4
- package/dist/{chunk-AHAGCAQR.js → chunk-3DZIX4CE.js} +7 -7
- package/dist/{chunk-QOVPEQS3.js → chunk-4GH4R4VJ.js} +4 -4
- package/dist/chunk-5DRITHNR.js +1 -0
- package/dist/{chunk-QVGQBTSJ.js → chunk-5IGBFB67.js} +10 -10
- package/dist/{chunk-OBJA26HX.js → chunk-6GODZ2YW.js} +8 -8
- package/dist/{chunk-UAUA3PMP.js → chunk-74PR3ZWJ.js} +4 -4
- package/dist/{chunk-RPQWRKBW.js → chunk-AYWCLLQ2.js} +7 -7
- package/dist/{chunk-KQIUOEBS.js → chunk-C4INJWFV.js} +4 -4
- package/dist/{chunk-RBWD6IKY.js → chunk-CBYIPRND.js} +4 -4
- package/dist/{chunk-JTVBWQJW.js → chunk-CGLDFUOY.js} +4 -4
- package/dist/{chunk-PBKV2YMF.js → chunk-CPSXONQO.js} +9 -9
- package/dist/{chunk-K4QH4R3O.js → chunk-CUS3ORMD.js} +4 -4
- package/dist/{chunk-H533TE6M.js → chunk-D4U2ZV2A.js} +4 -4
- package/dist/{chunk-RRC4WFG3.js → chunk-DIFGHMGI.js} +2 -2
- package/dist/{chunk-EXMCCYI2.js → chunk-DPMDQA3O.js} +4 -4
- package/dist/{chunk-L4KGHM2H.js → chunk-EJXZXUD2.js} +10 -10
- package/dist/{chunk-ZIHVLMT5.js → chunk-GA6W62DO.js} +4 -4
- package/dist/{chunk-P2H3VCIB.js → chunk-HL3MGRAC.js} +4 -4
- package/dist/chunk-IAKMJR72.js +33 -0
- package/dist/chunk-IAKMJR72.js.map +1 -0
- package/dist/{chunk-6UWQKH6U.js → chunk-IHLFOJD5.js} +2 -2
- package/dist/{chunk-SX46O67F.js → chunk-ISSUGCCY.js} +4 -4
- package/dist/{chunk-3ZJVSSAA.js → chunk-KQ3ME6XY.js} +8 -8
- package/dist/{chunk-YYVSUTXO.js → chunk-LK2H4QTJ.js} +4 -4
- package/dist/{chunk-XMZYZJTH.js → chunk-N3FMP27I.js} +4 -4
- package/dist/{chunk-UMLYWHB2.js → chunk-NK6S7ZMB.js} +4 -4
- package/dist/{chunk-RJ7XSZ2V.js → chunk-OPIVSYLN.js} +4 -4
- package/dist/{chunk-NVBAOOAT.js → chunk-OUDDTPEN.js} +4 -4
- package/dist/{chunk-V4QYGHOJ.js → chunk-Q2FDF2AB.js} +7 -7
- package/dist/{chunk-3FVDFMKP.js → chunk-RBU2TRYY.js} +9 -9
- package/dist/{chunk-PS525SZS.js → chunk-RJ62VZ6O.js} +3 -3
- package/dist/{chunk-WJ35Y2IU.js → chunk-SQ3FYBJT.js} +2 -2
- package/dist/{chunk-2H635UNE.js → chunk-TYM6T7JT.js} +2 -2
- package/dist/{chunk-5RIAIE2J.js → chunk-U4XM7VNI.js} +9 -3
- package/dist/chunk-U4XM7VNI.js.map +1 -0
- package/dist/{chunk-HNAZV4MI.js → chunk-V7KAHLW2.js} +5 -5
- package/dist/{chunk-PVDHXFLT.js → chunk-VBXZIIUA.js} +4 -4
- package/dist/{chunk-TDWMI7ZT.js → chunk-VBYXXISC.js} +5 -5
- package/dist/{chunk-77J4AZEO.js → chunk-VJREZH2Z.js} +4 -4
- package/dist/{chunk-66SUBB2N.js → chunk-W7LO5KYT.js} +9 -9
- package/dist/{chunk-RJN4QT5J.js → chunk-WLKK5L3P.js} +7 -7
- package/dist/{chunk-A5AZWTXV.js → chunk-WYHDQK2S.js} +7 -7
- package/dist/{chunk-54GRMFDC.js → chunk-X3TBEGPA.js} +4 -4
- package/dist/context/index.js +1 -1
- package/dist/icon.cjs +25 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +1 -0
- package/dist/icon.d.ts +1 -0
- package/dist/icon.js +7 -3
- package/dist/icons/empty-box.cjs +90 -0
- package/dist/icons/empty-box.cjs.map +1 -0
- package/dist/icons/empty-box.d.cts +13 -0
- package/dist/icons/empty-box.d.ts +13 -0
- package/dist/icons/empty-box.js +8 -0
- package/dist/icons/empty-box.js.map +1 -0
- package/dist/icons/index.cjs +25 -0
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +1 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +7 -3
- package/dist/index.cjs +963 -885
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +156 -148
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +95 -72
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +11 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +29 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +71 -48
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +9 -8
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +32 -9
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +41 -18
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +5 -4
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +33 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +5 -4
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +33 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +42 -19
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +37 -14
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +153 -130
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +14 -13
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +45 -22
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +5 -4
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +30 -7
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +171 -148
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +15 -14
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +220 -197
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +18 -17
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +33 -10
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +52 -29
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +8 -7
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +44 -21
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +6 -5
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +36 -13
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +3 -2
- package/dist/molecules/curriculumV2/index.cjs +264 -241
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +28 -27
- package/dist/molecules/date-picker/date-picker-button.cjs +52 -29
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +3 -2
- package/dist/molecules/date-picker/index.cjs +40 -17
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +3 -2
- package/dist/molecules/description-json-render.cjs +31 -8
- package/dist/molecules/description-json-render.cjs.map +1 -1
- package/dist/molecules/description-json-render.js +5 -4
- package/dist/molecules/dynamic-field.js +3 -3
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs +138 -115
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js +6 -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 +6 -6
- package/dist/molecules/dynamic-form-editor.cjs +223 -200
- package/dist/molecules/dynamic-form-editor.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor.js +14 -13
- package/dist/molecules/dynamic-form.js +4 -4
- package/dist/molecules/empty-state.cjs +328 -0
- package/dist/molecules/empty-state.cjs.map +1 -0
- package/dist/molecules/empty-state.d.cts +21 -0
- package/dist/molecules/empty-state.d.ts +21 -0
- package/dist/molecules/empty-state.js +16 -0
- package/dist/molecules/empty-state.js.map +1 -0
- package/dist/molecules/expand-table/index.cjs +197 -59
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +7 -4
- package/dist/molecules/index.cjs +866 -790
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.d.cts +2 -1
- package/dist/molecules/index.d.ts +2 -1
- package/dist/molecules/index.js +76 -71
- package/dist/molecules/learning-post.js +3 -3
- package/dist/molecules/stepper.cjs +43 -20
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +5 -4
- package/dist/molecules/tag-selector.cjs +43 -20
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +6 -5
- package/dist/molecules/time-select.cjs +28 -5
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +3 -2
- package/dist/molecules/training-info-guideline.js +1 -1
- package/dist/utils/curriculum.utils.cjs +23 -0
- package/dist/utils/curriculum.utils.cjs.map +1 -1
- package/dist/utils/curriculum.utils.js +3 -2
- package/dist/utils/get-callout-icon-component.cjs +23 -0
- package/dist/utils/get-callout-icon-component.cjs.map +1 -1
- package/dist/utils/get-callout-icon-component.js +3 -2
- package/dist/utils/index.cjs +23 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +3 -2
- package/package.json +1 -1
- package/src/icons/empty-box.tsx +29 -0
- package/src/icons/index.ts +2 -1
- package/src/molecules/empty-state.tsx +79 -0
- package/src/molecules/expand-table/index.tsx +5 -3
- package/src/molecules/index.ts +1 -0
- package/dist/chunk-5RIAIE2J.js.map +0 -1
- package/dist/chunk-JVXATVAC.js +0 -1
- package/dist/chunk-SYMOHU2B.js +0 -1
- /package/dist/{chunk-RZW6FVML.js.map → chunk-2IRG44IV.js.map} +0 -0
- /package/dist/{chunk-JVXATVAC.js.map → chunk-2PPLSZ4P.js.map} +0 -0
- /package/dist/{chunk-ZQLHRK36.js.map → chunk-2XDAK4B7.js.map} +0 -0
- /package/dist/{chunk-AHAGCAQR.js.map → chunk-3DZIX4CE.js.map} +0 -0
- /package/dist/{chunk-QOVPEQS3.js.map → chunk-4GH4R4VJ.js.map} +0 -0
- /package/dist/{chunk-SYMOHU2B.js.map → chunk-5DRITHNR.js.map} +0 -0
- /package/dist/{chunk-QVGQBTSJ.js.map → chunk-5IGBFB67.js.map} +0 -0
- /package/dist/{chunk-OBJA26HX.js.map → chunk-6GODZ2YW.js.map} +0 -0
- /package/dist/{chunk-UAUA3PMP.js.map → chunk-74PR3ZWJ.js.map} +0 -0
- /package/dist/{chunk-RPQWRKBW.js.map → chunk-AYWCLLQ2.js.map} +0 -0
- /package/dist/{chunk-KQIUOEBS.js.map → chunk-C4INJWFV.js.map} +0 -0
- /package/dist/{chunk-RBWD6IKY.js.map → chunk-CBYIPRND.js.map} +0 -0
- /package/dist/{chunk-JTVBWQJW.js.map → chunk-CGLDFUOY.js.map} +0 -0
- /package/dist/{chunk-PBKV2YMF.js.map → chunk-CPSXONQO.js.map} +0 -0
- /package/dist/{chunk-K4QH4R3O.js.map → chunk-CUS3ORMD.js.map} +0 -0
- /package/dist/{chunk-H533TE6M.js.map → chunk-D4U2ZV2A.js.map} +0 -0
- /package/dist/{chunk-RRC4WFG3.js.map → chunk-DIFGHMGI.js.map} +0 -0
- /package/dist/{chunk-EXMCCYI2.js.map → chunk-DPMDQA3O.js.map} +0 -0
- /package/dist/{chunk-L4KGHM2H.js.map → chunk-EJXZXUD2.js.map} +0 -0
- /package/dist/{chunk-ZIHVLMT5.js.map → chunk-GA6W62DO.js.map} +0 -0
- /package/dist/{chunk-P2H3VCIB.js.map → chunk-HL3MGRAC.js.map} +0 -0
- /package/dist/{chunk-6UWQKH6U.js.map → chunk-IHLFOJD5.js.map} +0 -0
- /package/dist/{chunk-SX46O67F.js.map → chunk-ISSUGCCY.js.map} +0 -0
- /package/dist/{chunk-3ZJVSSAA.js.map → chunk-KQ3ME6XY.js.map} +0 -0
- /package/dist/{chunk-YYVSUTXO.js.map → chunk-LK2H4QTJ.js.map} +0 -0
- /package/dist/{chunk-XMZYZJTH.js.map → chunk-N3FMP27I.js.map} +0 -0
- /package/dist/{chunk-UMLYWHB2.js.map → chunk-NK6S7ZMB.js.map} +0 -0
- /package/dist/{chunk-RJ7XSZ2V.js.map → chunk-OPIVSYLN.js.map} +0 -0
- /package/dist/{chunk-NVBAOOAT.js.map → chunk-OUDDTPEN.js.map} +0 -0
- /package/dist/{chunk-V4QYGHOJ.js.map → chunk-Q2FDF2AB.js.map} +0 -0
- /package/dist/{chunk-3FVDFMKP.js.map → chunk-RBU2TRYY.js.map} +0 -0
- /package/dist/{chunk-PS525SZS.js.map → chunk-RJ62VZ6O.js.map} +0 -0
- /package/dist/{chunk-WJ35Y2IU.js.map → chunk-SQ3FYBJT.js.map} +0 -0
- /package/dist/{chunk-2H635UNE.js.map → chunk-TYM6T7JT.js.map} +0 -0
- /package/dist/{chunk-HNAZV4MI.js.map → chunk-V7KAHLW2.js.map} +0 -0
- /package/dist/{chunk-PVDHXFLT.js.map → chunk-VBXZIIUA.js.map} +0 -0
- /package/dist/{chunk-TDWMI7ZT.js.map → chunk-VBYXXISC.js.map} +0 -0
- /package/dist/{chunk-77J4AZEO.js.map → chunk-VJREZH2Z.js.map} +0 -0
- /package/dist/{chunk-66SUBB2N.js.map → chunk-W7LO5KYT.js.map} +0 -0
- /package/dist/{chunk-RJN4QT5J.js.map → chunk-WLKK5L3P.js.map} +0 -0
- /package/dist/{chunk-A5AZWTXV.js.map → chunk-WYHDQK2S.js.map} +0 -0
- /package/dist/{chunk-54GRMFDC.js.map → chunk-X3TBEGPA.js.map} +0 -0
package/dist/app/index.cjs
CHANGED
|
@@ -1964,27 +1964,50 @@ var HeadsetIcon = React34.forwardRef(
|
|
|
1964
1964
|
);
|
|
1965
1965
|
HeadsetIcon.displayName = "HeadsetIcon";
|
|
1966
1966
|
|
|
1967
|
-
// src/
|
|
1967
|
+
// src/icons/empty-box.tsx
|
|
1968
|
+
var React35 = __toESM(require("react"), 1);
|
|
1968
1969
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1970
|
+
var EmptyBoxIcon = React35.forwardRef(
|
|
1971
|
+
(_a, forwardedRef) => {
|
|
1972
|
+
var _b = _a, { color = "currentColor", width = 120, height = 120 } = _b, props = __objRest(_b, ["color", "width", "height"]);
|
|
1973
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1974
|
+
"svg",
|
|
1975
|
+
__spreadProps(__spreadValues({
|
|
1976
|
+
fill: color,
|
|
1977
|
+
height,
|
|
1978
|
+
viewBox: "0 0 462.035 462.035",
|
|
1979
|
+
width,
|
|
1980
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1981
|
+
}, props), {
|
|
1982
|
+
ref: forwardedRef,
|
|
1983
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("path", { d: "M457.83,158.441c-0.021-0.028-0.033-0.058-0.057-0.087l-50.184-62.48c-0.564-0.701-1.201-1.305-1.879-1.845c-2.16-2.562-5.355-4.225-8.967-4.225H65.292c-3.615,0-6.804,1.661-8.965,4.225c-0.678,0.54-1.316,1.138-1.885,1.845l-50.178,62.48c-0.023,0.029-0.034,0.059-0.057,0.087C1.655,160.602,0,163.787,0,167.39v193.07c0,6.5,5.27,11.771,11.77,11.771h438.496c6.5,0,11.77-5.271,11.77-11.771V167.39C462.037,163.787,460.381,160.602,457.83,158.441z M408.516,134.615l16.873,21.005h-16.873V134.615z M384.975,113.345v42.274H296.84c-2.514,0-4.955,0.805-6.979,2.293l-58.837,43.299l-58.849-43.305c-2.023-1.482-4.466-2.287-6.978-2.287H77.061v-42.274H384.975z M53.523,155.62H36.65l16.873-21.005V155.62z M438.498,348.69H23.54V179.16h137.796l62.711,46.148c4.15,3.046,9.805,3.052,13.954-0.005l62.698-46.144h137.799V348.69L438.498,348.69z" })
|
|
1984
|
+
})
|
|
1985
|
+
);
|
|
1986
|
+
}
|
|
1987
|
+
);
|
|
1988
|
+
EmptyBoxIcon.displayName = "EmptyBoxIcon";
|
|
1969
1989
|
|
|
1970
|
-
// src/atoms/
|
|
1990
|
+
// src/atoms/pagination.tsx
|
|
1971
1991
|
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1972
1992
|
|
|
1993
|
+
// src/atoms/field-error-wrapper.tsx
|
|
1994
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1995
|
+
|
|
1973
1996
|
// src/atoms/ellipsis-tooltip.tsx
|
|
1974
1997
|
var import_react37 = require("react");
|
|
1975
|
-
var
|
|
1998
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
1976
1999
|
|
|
1977
2000
|
// src/atoms/drawer.tsx
|
|
1978
2001
|
var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
1979
2002
|
var import_themes51 = require("@radix-ui/themes");
|
|
1980
2003
|
|
|
1981
2004
|
// src/icons/close-panel-arrow.tsx
|
|
1982
|
-
var
|
|
1983
|
-
var
|
|
1984
|
-
var ClosePanelArrowIcon =
|
|
2005
|
+
var React38 = __toESM(require("react"), 1);
|
|
2006
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2007
|
+
var ClosePanelArrowIcon = React38.forwardRef(
|
|
1985
2008
|
(_a, forwardedRef) => {
|
|
1986
2009
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1987
|
-
return /* @__PURE__ */ (0,
|
|
2010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
1988
2011
|
"svg",
|
|
1989
2012
|
__spreadProps(__spreadValues({
|
|
1990
2013
|
fill: "none",
|
|
@@ -1995,7 +2018,7 @@ var ClosePanelArrowIcon = React37.forwardRef(
|
|
|
1995
2018
|
}, props), {
|
|
1996
2019
|
ref: forwardedRef,
|
|
1997
2020
|
children: [
|
|
1998
|
-
/* @__PURE__ */ (0,
|
|
2021
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
1999
2022
|
"path",
|
|
2000
2023
|
{
|
|
2001
2024
|
clipRule: "evenodd",
|
|
@@ -2004,7 +2027,7 @@ var ClosePanelArrowIcon = React37.forwardRef(
|
|
|
2004
2027
|
fillRule: "evenodd"
|
|
2005
2028
|
}
|
|
2006
2029
|
),
|
|
2007
|
-
/* @__PURE__ */ (0,
|
|
2030
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2008
2031
|
"path",
|
|
2009
2032
|
{
|
|
2010
2033
|
clipRule: "evenodd",
|
|
@@ -2021,11 +2044,11 @@ var ClosePanelArrowIcon = React37.forwardRef(
|
|
|
2021
2044
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
2022
2045
|
|
|
2023
2046
|
// src/atoms/drawer.tsx
|
|
2024
|
-
var
|
|
2047
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2025
2048
|
|
|
2026
2049
|
// src/atoms/toast.tsx
|
|
2027
2050
|
var import_sonner = require("sonner");
|
|
2028
|
-
var
|
|
2051
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2029
2052
|
var toast = Object.assign(import_sonner.toast, {
|
|
2030
2053
|
warn: import_sonner.toast.warning
|
|
2031
2054
|
});
|
|
@@ -2033,11 +2056,11 @@ var toast = Object.assign(import_sonner.toast, {
|
|
|
2033
2056
|
// src/molecules/form/form.tsx
|
|
2034
2057
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
2035
2058
|
var import_react38 = require("react");
|
|
2036
|
-
var
|
|
2059
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2037
2060
|
var Root15 = (0, import_react38.forwardRef)(
|
|
2038
2061
|
(_a, ref) => {
|
|
2039
2062
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
2040
|
-
return /* @__PURE__ */ (0,
|
|
2063
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2041
2064
|
RadixForm.Root,
|
|
2042
2065
|
__spreadProps(__spreadValues({}, rest), {
|
|
2043
2066
|
className: `FormRoot ${className || ""}`,
|
|
@@ -2054,25 +2077,25 @@ var FieldContext = (0, import_react38.createContext)({
|
|
|
2054
2077
|
var Field2 = (0, import_react38.forwardRef)(
|
|
2055
2078
|
(_a, ref) => {
|
|
2056
2079
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
2057
|
-
return /* @__PURE__ */ (0,
|
|
2080
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2058
2081
|
RadixForm.Field,
|
|
2059
2082
|
__spreadProps(__spreadValues({}, rest), {
|
|
2060
2083
|
className: `FormField ${className || ""}`,
|
|
2061
2084
|
ref,
|
|
2062
|
-
children: /* @__PURE__ */ (0,
|
|
2085
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(FieldContext.Provider, { value: rest, children })
|
|
2063
2086
|
})
|
|
2064
2087
|
);
|
|
2065
2088
|
}
|
|
2066
2089
|
);
|
|
2067
2090
|
Field2.displayName = "FORM_FIELD";
|
|
2068
2091
|
function HeadingLabel(props) {
|
|
2069
|
-
return /* @__PURE__ */ (0,
|
|
2092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
2070
2093
|
}
|
|
2071
2094
|
function CaptionLabel(props) {
|
|
2072
|
-
return /* @__PURE__ */ (0,
|
|
2095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption", weight: "bold" }, props), { children: props.children }));
|
|
2073
2096
|
}
|
|
2074
2097
|
function BodyLabel(props) {
|
|
2075
|
-
return /* @__PURE__ */ (0,
|
|
2098
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, __spreadProps(__spreadValues({ variant: "body", weight: "bold" }, props), { children: props.children }));
|
|
2076
2099
|
}
|
|
2077
2100
|
var Label3 = (0, import_react38.forwardRef)(
|
|
2078
2101
|
(_a, ref) => {
|
|
@@ -2089,15 +2112,15 @@ var Label3 = (0, import_react38.forwardRef)(
|
|
|
2089
2112
|
}
|
|
2090
2113
|
}, [variant]);
|
|
2091
2114
|
const fieldProps = (0, import_react38.useContext)(FieldContext);
|
|
2092
|
-
return /* @__PURE__ */ (0,
|
|
2115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2093
2116
|
RadixForm.Label,
|
|
2094
2117
|
__spreadProps(__spreadValues({}, rest), {
|
|
2095
2118
|
asChild: true,
|
|
2096
2119
|
className: `FormLabel ${className || ""}`,
|
|
2097
2120
|
ref,
|
|
2098
|
-
children: /* @__PURE__ */ (0,
|
|
2121
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Comp, { children: [
|
|
2099
2122
|
children,
|
|
2100
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
2123
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
2101
2124
|
] })
|
|
2102
2125
|
})
|
|
2103
2126
|
);
|
|
@@ -2107,13 +2130,13 @@ Label3.displayName = "FORM_Label";
|
|
|
2107
2130
|
var Message2 = (0, import_react38.forwardRef)(
|
|
2108
2131
|
(_a, ref) => {
|
|
2109
2132
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
2110
|
-
return /* @__PURE__ */ (0,
|
|
2133
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2111
2134
|
RadixForm.Message,
|
|
2112
2135
|
__spreadProps(__spreadValues({}, rest), {
|
|
2113
2136
|
asChild: true,
|
|
2114
2137
|
className: `FormMessage ${className || ""}`,
|
|
2115
2138
|
ref,
|
|
2116
|
-
children: /* @__PURE__ */ (0,
|
|
2139
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Typo, { color: "red", children })
|
|
2117
2140
|
})
|
|
2118
2141
|
);
|
|
2119
2142
|
}
|
|
@@ -2123,7 +2146,7 @@ var Control2 = (0, import_react38.forwardRef)(
|
|
|
2123
2146
|
(_a, ref) => {
|
|
2124
2147
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
2125
2148
|
const fieldProps = (0, import_react38.useContext)(FieldContext);
|
|
2126
|
-
return /* @__PURE__ */ (0,
|
|
2149
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2127
2150
|
RadixForm.Control,
|
|
2128
2151
|
__spreadProps(__spreadValues({}, rest), {
|
|
2129
2152
|
className: `FormControl ${className || ""}`,
|
|
@@ -2146,10 +2169,10 @@ function FormItem(_a) {
|
|
|
2146
2169
|
"children",
|
|
2147
2170
|
"errorMessage"
|
|
2148
2171
|
]);
|
|
2149
|
-
return /* @__PURE__ */ (0,
|
|
2150
|
-
/* @__PURE__ */ (0,
|
|
2172
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
2173
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
2151
2174
|
children,
|
|
2152
|
-
/* @__PURE__ */ (0,
|
|
2175
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
2153
2176
|
] }));
|
|
2154
2177
|
}
|
|
2155
2178
|
var Form = {
|
|
@@ -2165,7 +2188,7 @@ var Form = {
|
|
|
2165
2188
|
// src/atoms/auto-sizing-input.tsx
|
|
2166
2189
|
var import_themes52 = require("@radix-ui/themes");
|
|
2167
2190
|
var import_react39 = require("react");
|
|
2168
|
-
var
|
|
2191
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2169
2192
|
var useTextWidth = (text, font) => {
|
|
2170
2193
|
const [textWidth, setTextWidth] = (0, import_react39.useState)(0);
|
|
2171
2194
|
(0, import_react39.useEffect)(() => {
|
|
@@ -2265,7 +2288,7 @@ var AutoSizingInput = (0, import_react39.forwardRef)(
|
|
|
2265
2288
|
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
2266
2289
|
}
|
|
2267
2290
|
}, [inputRef]);
|
|
2268
|
-
return /* @__PURE__ */ (0,
|
|
2291
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2269
2292
|
import_themes52.Box,
|
|
2270
2293
|
{
|
|
2271
2294
|
className: "auto-sizing-input wrapper",
|
|
@@ -2273,7 +2296,7 @@ var AutoSizingInput = (0, import_react39.forwardRef)(
|
|
|
2273
2296
|
minWidth,
|
|
2274
2297
|
onClick,
|
|
2275
2298
|
style: { width: dynamicWidth },
|
|
2276
|
-
children: /* @__PURE__ */ (0,
|
|
2299
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("input", __spreadValues({ onChange: handleChange, ref: inputRef, value }, rest))
|
|
2277
2300
|
}
|
|
2278
2301
|
);
|
|
2279
2302
|
}
|
|
@@ -2281,45 +2304,45 @@ var AutoSizingInput = (0, import_react39.forwardRef)(
|
|
|
2281
2304
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
2282
2305
|
|
|
2283
2306
|
// src/atoms/bullet-text.tsx
|
|
2284
|
-
var
|
|
2307
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2285
2308
|
function BulletText(_a) {
|
|
2286
2309
|
var _b = _a, {
|
|
2287
2310
|
children
|
|
2288
2311
|
} = _b, rest = __objRest(_b, [
|
|
2289
2312
|
"children"
|
|
2290
2313
|
]);
|
|
2291
|
-
return /* @__PURE__ */ (0,
|
|
2292
|
-
/* @__PURE__ */ (0,
|
|
2293
|
-
/* @__PURE__ */ (0,
|
|
2314
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_themes23.Flex, { gap: "1", ml: "2", children: [
|
|
2315
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
2316
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
2294
2317
|
] });
|
|
2295
2318
|
}
|
|
2296
2319
|
|
|
2297
2320
|
// src/atoms/list.tsx
|
|
2298
2321
|
var import_react40 = require("react");
|
|
2299
2322
|
var import_clsx28 = require("clsx");
|
|
2300
|
-
var
|
|
2323
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2301
2324
|
var ListContext = (0, import_react40.createContext)({
|
|
2302
2325
|
size: "large"
|
|
2303
2326
|
});
|
|
2304
2327
|
|
|
2305
2328
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
2306
|
-
var
|
|
2329
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2307
2330
|
function CoachingCustomerInfoSmall({
|
|
2308
2331
|
customer,
|
|
2309
2332
|
children,
|
|
2310
2333
|
badge
|
|
2311
2334
|
}) {
|
|
2312
|
-
return /* @__PURE__ */ (0,
|
|
2335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
2313
2336
|
import_themes23.Flex,
|
|
2314
2337
|
{
|
|
2315
2338
|
direction: { initial: "column", xs: "row" },
|
|
2316
2339
|
gap: "3",
|
|
2317
2340
|
justify: "between",
|
|
2318
2341
|
children: [
|
|
2319
|
-
/* @__PURE__ */ (0,
|
|
2320
|
-
/* @__PURE__ */ (0,
|
|
2321
|
-
/* @__PURE__ */ (0,
|
|
2322
|
-
/* @__PURE__ */ (0,
|
|
2342
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes7.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes24.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
2343
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes7.Box, { style: { justifySelf: "end" }, children: badge })
|
|
2323
2346
|
] }) }),
|
|
2324
2347
|
children
|
|
2325
2348
|
]
|
|
@@ -2330,7 +2353,7 @@ function CoachingCustomerInfoSmall({
|
|
|
2330
2353
|
// src/app/platform/userInfos/utils.tsx
|
|
2331
2354
|
var import_date_fns = require("date-fns");
|
|
2332
2355
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
2333
|
-
var
|
|
2356
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2334
2357
|
var infoList = [
|
|
2335
2358
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
2336
2359
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -2390,21 +2413,21 @@ var sessionList = [
|
|
|
2390
2413
|
var renderItem = (args) => {
|
|
2391
2414
|
const { info, data, onClickCopy } = args;
|
|
2392
2415
|
const value = info.getValue(data);
|
|
2393
|
-
return /* @__PURE__ */ (0,
|
|
2416
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
|
|
2394
2417
|
info.render ? info.render(value) : value || "-",
|
|
2395
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
2418
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
2396
2419
|
] });
|
|
2397
2420
|
};
|
|
2398
2421
|
var renderDataListItem = (args) => {
|
|
2399
2422
|
const { info, data, onClickCopy } = args;
|
|
2400
|
-
return /* @__PURE__ */ (0,
|
|
2401
|
-
/* @__PURE__ */ (0,
|
|
2402
|
-
/* @__PURE__ */ (0,
|
|
2423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(DataList.Item, { children: [
|
|
2424
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DataList.Label, { children: info.label }),
|
|
2425
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
2403
2426
|
] }, info.label);
|
|
2404
2427
|
};
|
|
2405
2428
|
function CopyButton(props) {
|
|
2406
2429
|
const { value, onClickCopy } = props;
|
|
2407
|
-
return /* @__PURE__ */ (0,
|
|
2430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2408
2431
|
Button,
|
|
2409
2432
|
{
|
|
2410
2433
|
color: "gray",
|
|
@@ -2413,13 +2436,13 @@ function CopyButton(props) {
|
|
|
2413
2436
|
},
|
|
2414
2437
|
style: { marginLeft: "0", marginTop: "0" },
|
|
2415
2438
|
variant: "transparent",
|
|
2416
|
-
children: /* @__PURE__ */ (0,
|
|
2439
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_icons3.CopyIcon, {})
|
|
2417
2440
|
}
|
|
2418
2441
|
);
|
|
2419
2442
|
}
|
|
2420
2443
|
|
|
2421
2444
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
2422
|
-
var
|
|
2445
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2423
2446
|
function CoachingCustomerInfoMedium({
|
|
2424
2447
|
customer,
|
|
2425
2448
|
session,
|
|
@@ -2427,28 +2450,28 @@ function CoachingCustomerInfoMedium({
|
|
|
2427
2450
|
badge,
|
|
2428
2451
|
onClickCopy
|
|
2429
2452
|
}) {
|
|
2430
|
-
return /* @__PURE__ */ (0,
|
|
2431
|
-
/* @__PURE__ */ (0,
|
|
2432
|
-
/* @__PURE__ */ (0,
|
|
2433
|
-
/* @__PURE__ */ (0,
|
|
2453
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Flex, { direction: "column", gap: "5", children: [
|
|
2454
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes7.Box, { children: [
|
|
2455
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
2456
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
2434
2457
|
badge
|
|
2435
2458
|
] }),
|
|
2436
|
-
/* @__PURE__ */ (0,
|
|
2459
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
2437
2460
|
] }),
|
|
2438
2461
|
children,
|
|
2439
|
-
/* @__PURE__ */ (0,
|
|
2462
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
2440
2463
|
(el) => renderDataListItem({
|
|
2441
2464
|
info: el,
|
|
2442
2465
|
data: session,
|
|
2443
2466
|
onClickCopy
|
|
2444
2467
|
})
|
|
2445
2468
|
) }) }),
|
|
2446
|
-
/* @__PURE__ */ (0,
|
|
2447
|
-
/* @__PURE__ */ (0,
|
|
2448
|
-
/* @__PURE__ */ (0,
|
|
2469
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes24.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
2470
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
2471
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes40.Separator, { size: "4" })
|
|
2449
2472
|
] }),
|
|
2450
|
-
/* @__PURE__ */ (0,
|
|
2451
|
-
return /* @__PURE__ */ (0,
|
|
2473
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes23.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
2474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { children: renderItem({
|
|
2452
2475
|
info: el,
|
|
2453
2476
|
data: customer,
|
|
2454
2477
|
onClickCopy
|
|
@@ -2458,7 +2481,7 @@ function CoachingCustomerInfoMedium({
|
|
|
2458
2481
|
}
|
|
2459
2482
|
|
|
2460
2483
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
2461
|
-
var
|
|
2484
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2462
2485
|
function CoachingCustomerInfoLarge({
|
|
2463
2486
|
customer,
|
|
2464
2487
|
session,
|
|
@@ -2466,24 +2489,24 @@ function CoachingCustomerInfoLarge({
|
|
|
2466
2489
|
badge,
|
|
2467
2490
|
onClickCopy
|
|
2468
2491
|
}) {
|
|
2469
|
-
return /* @__PURE__ */ (0,
|
|
2470
|
-
/* @__PURE__ */ (0,
|
|
2471
|
-
/* @__PURE__ */ (0,
|
|
2472
|
-
/* @__PURE__ */ (0,
|
|
2492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes23.Flex, { direction: "column", gap: "5", children: [
|
|
2493
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes7.Box, { children: [
|
|
2494
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes23.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
2495
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
2473
2496
|
badge
|
|
2474
2497
|
] }),
|
|
2475
|
-
/* @__PURE__ */ (0,
|
|
2498
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
2476
2499
|
] }),
|
|
2477
2500
|
children,
|
|
2478
|
-
/* @__PURE__ */ (0,
|
|
2501
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DataList.Root, { children: sessionList.map(
|
|
2479
2502
|
(el) => renderDataListItem({
|
|
2480
2503
|
info: el,
|
|
2481
2504
|
data: session,
|
|
2482
2505
|
onClickCopy
|
|
2483
2506
|
})
|
|
2484
2507
|
) }) }),
|
|
2485
|
-
/* @__PURE__ */ (0,
|
|
2486
|
-
/* @__PURE__ */ (0,
|
|
2508
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes40.Separator, { size: "4" }),
|
|
2509
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DataList.Root, { children: infoList.map(
|
|
2487
2510
|
(info) => renderDataListItem({
|
|
2488
2511
|
info,
|
|
2489
2512
|
data: customer,
|
|
@@ -2494,19 +2517,19 @@ function CoachingCustomerInfoLarge({
|
|
|
2494
2517
|
}
|
|
2495
2518
|
|
|
2496
2519
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
2497
|
-
var
|
|
2520
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2498
2521
|
function CoachingCustomerInfo(props) {
|
|
2499
|
-
return /* @__PURE__ */ (0,
|
|
2500
|
-
/* @__PURE__ */ (0,
|
|
2501
|
-
/* @__PURE__ */ (0,
|
|
2502
|
-
/* @__PURE__ */ (0,
|
|
2522
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx_runtime66.Fragment, { children: [
|
|
2523
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes7.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
2524
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes7.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
2525
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes7.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
2503
2526
|
] });
|
|
2504
2527
|
}
|
|
2505
2528
|
|
|
2506
2529
|
// src/app/platform/goal-manage-card-read.tsx
|
|
2507
2530
|
var import_react41 = require("react");
|
|
2508
2531
|
var import_date_fns2 = require("date-fns");
|
|
2509
|
-
var
|
|
2532
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
2510
2533
|
function GoalManageCardRead(props) {
|
|
2511
2534
|
const {
|
|
2512
2535
|
title,
|
|
@@ -2524,7 +2547,7 @@ function GoalManageCardRead(props) {
|
|
|
2524
2547
|
const onClickOpen = (0, import_react41.useCallback)(() => {
|
|
2525
2548
|
setOpen((p) => !p);
|
|
2526
2549
|
}, []);
|
|
2527
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
2550
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_icons2.ChevronDownIcon, {});
|
|
2528
2551
|
const badgeMeta = (0, import_react41.useMemo)(() => {
|
|
2529
2552
|
if (!completed && dueDate) {
|
|
2530
2553
|
if (dueDate >= (0, import_date_fns2.startOfDay)(/* @__PURE__ */ new Date()))
|
|
@@ -2537,40 +2560,40 @@ function GoalManageCardRead(props) {
|
|
|
2537
2560
|
return null;
|
|
2538
2561
|
}, [completed, dueDate]);
|
|
2539
2562
|
const renderSubTitle = (0, import_react41.useCallback)((subTitle) => {
|
|
2540
|
-
return /* @__PURE__ */ (0,
|
|
2563
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
2541
2564
|
}, []);
|
|
2542
2565
|
const renderSubContent = (0, import_react41.useCallback)((content) => {
|
|
2543
|
-
return /* @__PURE__ */ (0,
|
|
2566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
2544
2567
|
}, []);
|
|
2545
2568
|
const renderCompleteButton = (0, import_react41.useCallback)(() => {
|
|
2546
2569
|
if (completed) {
|
|
2547
|
-
return /* @__PURE__ */ (0,
|
|
2570
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
2548
2571
|
}
|
|
2549
|
-
return /* @__PURE__ */ (0,
|
|
2550
|
-
/* @__PURE__ */ (0,
|
|
2551
|
-
/* @__PURE__ */ (0,
|
|
2572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Popover.Root, { children: [
|
|
2573
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Button, { size: "small", children: [
|
|
2574
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_icons2.RocketIcon, {}),
|
|
2552
2575
|
"\uB2EC\uC131\uD558\uAE30"
|
|
2553
2576
|
] }) }),
|
|
2554
|
-
/* @__PURE__ */ (0,
|
|
2555
|
-
/* @__PURE__ */ (0,
|
|
2556
|
-
/* @__PURE__ */ (0,
|
|
2557
|
-
/* @__PURE__ */ (0,
|
|
2558
|
-
/* @__PURE__ */ (0,
|
|
2577
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Popover.Content, { children: [
|
|
2578
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
2579
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes23.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
2580
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
2581
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
2559
2582
|
] })
|
|
2560
2583
|
] })
|
|
2561
2584
|
] });
|
|
2562
2585
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
2563
|
-
return /* @__PURE__ */ (0,
|
|
2564
|
-
/* @__PURE__ */ (0,
|
|
2565
|
-
/* @__PURE__ */ (0,
|
|
2566
|
-
/* @__PURE__ */ (0,
|
|
2567
|
-
/* @__PURE__ */ (0,
|
|
2568
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
2569
|
-
/* @__PURE__ */ (0,
|
|
2586
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes24.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
2587
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
2588
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2589
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes23.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
2590
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes23.Flex, { align: "center", gap: "3", children: [
|
|
2591
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
2592
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns2.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
2570
2593
|
] }),
|
|
2571
2594
|
renderCompleteButton()
|
|
2572
2595
|
] }),
|
|
2573
|
-
open ? /* @__PURE__ */ (0,
|
|
2596
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2574
2597
|
import_themes40.Separator,
|
|
2575
2598
|
{
|
|
2576
2599
|
mb: "4",
|
|
@@ -2579,37 +2602,37 @@ function GoalManageCardRead(props) {
|
|
|
2579
2602
|
style: { gridColumnStart: "span 2" }
|
|
2580
2603
|
}
|
|
2581
2604
|
) : null,
|
|
2582
|
-
/* @__PURE__ */ (0,
|
|
2583
|
-
/* @__PURE__ */ (0,
|
|
2584
|
-
/* @__PURE__ */ (0,
|
|
2605
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_themes7.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Collapse, { open, children: [
|
|
2606
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes23.Flex, { direction: "column", gap: "5", children: [
|
|
2607
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes7.Box, { children: [
|
|
2585
2608
|
renderSubTitle(
|
|
2586
2609
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
2587
2610
|
),
|
|
2588
2611
|
renderSubContent(expectedEffect)
|
|
2589
2612
|
] }),
|
|
2590
|
-
/* @__PURE__ */ (0,
|
|
2613
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes7.Box, { children: [
|
|
2591
2614
|
renderSubTitle(
|
|
2592
2615
|
"\uBAA9\uD45C\uB97C \uC774\uB8E8\uAE30\uAE4C\uC9C0 \uBC29\uD574\uAC00 \uB420 \uC218 \uC788\uB294 \uC694\uC18C\uB4E4\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4"
|
|
2593
2616
|
),
|
|
2594
2617
|
renderSubContent(huddle)
|
|
2595
2618
|
] })
|
|
2596
2619
|
] }),
|
|
2597
|
-
/* @__PURE__ */ (0,
|
|
2598
|
-
/* @__PURE__ */ (0,
|
|
2599
|
-
/* @__PURE__ */ (0,
|
|
2600
|
-
/* @__PURE__ */ (0,
|
|
2620
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes23.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
2621
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Popover.Root, { children: [
|
|
2622
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
2623
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_icons2.TrashIcon, {}),
|
|
2601
2624
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
2602
2625
|
] }) }),
|
|
2603
|
-
/* @__PURE__ */ (0,
|
|
2604
|
-
/* @__PURE__ */ (0,
|
|
2605
|
-
/* @__PURE__ */ (0,
|
|
2606
|
-
/* @__PURE__ */ (0,
|
|
2607
|
-
/* @__PURE__ */ (0,
|
|
2626
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Popover.Content, { children: [
|
|
2627
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
2628
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes23.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
2629
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
2630
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
2608
2631
|
] })
|
|
2609
2632
|
] })
|
|
2610
2633
|
] }),
|
|
2611
|
-
/* @__PURE__ */ (0,
|
|
2612
|
-
/* @__PURE__ */ (0,
|
|
2634
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
2635
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_icons2.Pencil1Icon, {}),
|
|
2613
2636
|
"\uC218\uC815\uD558\uAE30"
|
|
2614
2637
|
] })
|
|
2615
2638
|
] })
|
|
@@ -2626,22 +2649,25 @@ var import_react_table2 = require("@tanstack/react-table");
|
|
|
2626
2649
|
var import_react43 = require("react");
|
|
2627
2650
|
var import_themes53 = require("@radix-ui/themes");
|
|
2628
2651
|
|
|
2652
|
+
// src/molecules/empty-state.tsx
|
|
2653
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
2654
|
+
|
|
2629
2655
|
// src/molecules/expand-table/row.tsx
|
|
2630
2656
|
var import_react_table = require("@tanstack/react-table");
|
|
2631
2657
|
var import_react42 = require("react");
|
|
2632
|
-
var
|
|
2658
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
2633
2659
|
|
|
2634
2660
|
// src/molecules/expand-table/index.tsx
|
|
2635
|
-
var
|
|
2661
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
2636
2662
|
|
|
2637
2663
|
// src/molecules/navigation.tsx
|
|
2638
|
-
var
|
|
2664
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
2639
2665
|
|
|
2640
2666
|
// src/molecules/date-picker/index.tsx
|
|
2641
2667
|
var import_react44 = require("react");
|
|
2642
2668
|
var import_react_datepicker = __toESM(require("react-datepicker"), 1);
|
|
2643
2669
|
var import_locale = require("date-fns/locale");
|
|
2644
|
-
var
|
|
2670
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
2645
2671
|
var DatePicker = (0, import_react44.forwardRef)(
|
|
2646
2672
|
(props, ref) => {
|
|
2647
2673
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
@@ -2672,7 +2698,7 @@ var DatePicker = (0, import_react44.forwardRef)(
|
|
|
2672
2698
|
setIsMonthDropdownOpen
|
|
2673
2699
|
}));
|
|
2674
2700
|
}, [isMonthDropdownOpen, isYearDropdownOpen, props]);
|
|
2675
|
-
return /* @__PURE__ */ (0,
|
|
2701
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_themes23.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2676
2702
|
import_react_datepicker.default,
|
|
2677
2703
|
__spreadProps(__spreadValues({
|
|
2678
2704
|
dateFormat: "yyyy/MM/dd h:mm aa",
|
|
@@ -2720,19 +2746,19 @@ function DropdownSelector({
|
|
|
2720
2746
|
});
|
|
2721
2747
|
}
|
|
2722
2748
|
}, [isOpen]);
|
|
2723
|
-
return /* @__PURE__ */ (0,
|
|
2724
|
-
/* @__PURE__ */ (0,
|
|
2749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Popover.Root, { modal: true, onOpenChange, open: isOpen, children: [
|
|
2750
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Button, { className: "react-datepicker_dropdown_header", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
2725
2751
|
selectedValue,
|
|
2726
2752
|
suffix
|
|
2727
2753
|
] }) }) }),
|
|
2728
|
-
/* @__PURE__ */ (0,
|
|
2754
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Popover.Content, { side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2729
2755
|
import_themes7.Box,
|
|
2730
2756
|
{
|
|
2731
2757
|
maxHeight: "200px",
|
|
2732
2758
|
overflowY: "auto",
|
|
2733
2759
|
ref: scrollContainerRef,
|
|
2734
2760
|
style: { scrollbarWidth: "none" },
|
|
2735
|
-
children: /* @__PURE__ */ (0,
|
|
2761
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_themes23.Flex, { direction: "column", gap: "1", children: options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2736
2762
|
Button,
|
|
2737
2763
|
{
|
|
2738
2764
|
className: "react-datepicker_dropdown_item",
|
|
@@ -2746,7 +2772,7 @@ function DropdownSelector({
|
|
|
2746
2772
|
e.preventDefault();
|
|
2747
2773
|
},
|
|
2748
2774
|
variant: "transparent",
|
|
2749
|
-
children: /* @__PURE__ */ (0,
|
|
2775
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Typo, { weight: item === selectedValue ? "bold" : void 0, children: [
|
|
2750
2776
|
item,
|
|
2751
2777
|
suffix
|
|
2752
2778
|
] })
|
|
@@ -2777,8 +2803,8 @@ var getRenderCustomHeader = (props) => {
|
|
|
2777
2803
|
} = props;
|
|
2778
2804
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
2779
2805
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
2780
|
-
return /* @__PURE__ */ (0,
|
|
2781
|
-
/* @__PURE__ */ (0,
|
|
2806
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_themes23.Flex, { align: "center", justify: "between", pl: "2", pr: "2", children: [
|
|
2807
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2782
2808
|
IconButton,
|
|
2783
2809
|
{
|
|
2784
2810
|
className: "react-datepicker_dropdown_header",
|
|
@@ -2786,11 +2812,11 @@ var getRenderCustomHeader = (props) => {
|
|
|
2786
2812
|
onClick: decreaseMonth,
|
|
2787
2813
|
type: "button",
|
|
2788
2814
|
variant: "ghost",
|
|
2789
|
-
children: /* @__PURE__ */ (0,
|
|
2815
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_icons2.ChevronLeftIcon, {})
|
|
2790
2816
|
}
|
|
2791
2817
|
),
|
|
2792
|
-
/* @__PURE__ */ (0,
|
|
2793
|
-
/* @__PURE__ */ (0,
|
|
2818
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_themes23.Flex, { gap: "3", children: [
|
|
2819
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2794
2820
|
DropdownSelector,
|
|
2795
2821
|
{
|
|
2796
2822
|
isOpen: isYearDropdownOpen,
|
|
@@ -2804,7 +2830,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
2804
2830
|
suffix: "\uB144"
|
|
2805
2831
|
}
|
|
2806
2832
|
),
|
|
2807
|
-
/* @__PURE__ */ (0,
|
|
2833
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2808
2834
|
DropdownSelector,
|
|
2809
2835
|
{
|
|
2810
2836
|
isOpen: isMonthDropdownOpen,
|
|
@@ -2819,7 +2845,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
2819
2845
|
}
|
|
2820
2846
|
)
|
|
2821
2847
|
] }),
|
|
2822
|
-
/* @__PURE__ */ (0,
|
|
2848
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2823
2849
|
IconButton,
|
|
2824
2850
|
{
|
|
2825
2851
|
className: "react-datepicker_dropdown_header",
|
|
@@ -2827,7 +2853,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
2827
2853
|
onClick: increaseMonth,
|
|
2828
2854
|
type: "button",
|
|
2829
2855
|
variant: "ghost",
|
|
2830
|
-
children: /* @__PURE__ */ (0,
|
|
2856
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_icons2.ChevronRightIcon, {})
|
|
2831
2857
|
}
|
|
2832
2858
|
)
|
|
2833
2859
|
] });
|
|
@@ -2838,12 +2864,12 @@ var getRenderCustomHeader = (props) => {
|
|
|
2838
2864
|
// src/molecules/dot-navigation.tsx
|
|
2839
2865
|
var import_react45 = require("react");
|
|
2840
2866
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
2841
|
-
var
|
|
2867
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
2842
2868
|
|
|
2843
2869
|
// src/molecules/stepper.tsx
|
|
2844
2870
|
var import_react46 = require("react");
|
|
2845
2871
|
var import_themes54 = require("@radix-ui/themes");
|
|
2846
|
-
var
|
|
2872
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
2847
2873
|
var StepContext = (0, import_react46.createContext)({
|
|
2848
2874
|
active: false,
|
|
2849
2875
|
completed: false,
|
|
@@ -2853,20 +2879,20 @@ var StepContext = (0, import_react46.createContext)({
|
|
|
2853
2879
|
// src/molecules/tag-selector.tsx
|
|
2854
2880
|
var import_react47 = require("react");
|
|
2855
2881
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
2856
|
-
var
|
|
2882
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
2857
2883
|
|
|
2858
2884
|
// src/molecules/learning-post.tsx
|
|
2859
|
-
var
|
|
2885
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
2860
2886
|
|
|
2861
2887
|
// src/molecules/force-refresh.tsx
|
|
2862
2888
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
2863
|
-
var
|
|
2889
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
2864
2890
|
|
|
2865
2891
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
2866
2892
|
var import_react48 = require("react");
|
|
2867
2893
|
var import_date_fns3 = require("date-fns");
|
|
2868
2894
|
var import_clsx29 = require("clsx");
|
|
2869
|
-
var
|
|
2895
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
2870
2896
|
function DatePickerButton(props) {
|
|
2871
2897
|
const _a = props, { size, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "format", "disabled"]);
|
|
2872
2898
|
const placeholder = rest.placeholder || "\uB0A0\uC9DC\uB97C \uC120\uD0DD\uD574\uC8FC\uC138\uC694";
|
|
@@ -2890,18 +2916,18 @@ function DatePickerButton(props) {
|
|
|
2890
2916
|
const placeholderVisible = (0, import_react48.useMemo)(() => {
|
|
2891
2917
|
return rest.selected ? "" : "placeholder-visible";
|
|
2892
2918
|
}, [rest.selected]);
|
|
2893
|
-
return /* @__PURE__ */ (0,
|
|
2919
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_themes7.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
2894
2920
|
DatePicker,
|
|
2895
2921
|
__spreadProps(__spreadValues({
|
|
2896
|
-
customInput: /* @__PURE__ */ (0,
|
|
2922
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Button, __spreadProps(__spreadValues({ asChild: true, className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
2897
2923
|
TextField.Root,
|
|
2898
2924
|
{
|
|
2899
2925
|
className: placeholderVisible,
|
|
2900
2926
|
placeholder: placeholder || "",
|
|
2901
2927
|
value: rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
2902
2928
|
children: [
|
|
2903
|
-
/* @__PURE__ */ (0,
|
|
2904
|
-
/* @__PURE__ */ (0,
|
|
2929
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(TextField.Slot, { className: "hide-slot" }),
|
|
2930
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(TextField.Slot, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react_icons2.CalendarIcon, {}) })
|
|
2905
2931
|
]
|
|
2906
2932
|
}
|
|
2907
2933
|
) })),
|
|
@@ -2958,7 +2984,7 @@ for (const opt of AI_CALLOUT_ICON_OPTIONS) {
|
|
|
2958
2984
|
}
|
|
2959
2985
|
|
|
2960
2986
|
// src/molecules/time-select.tsx
|
|
2961
|
-
var
|
|
2987
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
2962
2988
|
var getOptionValue = (date, timeValue) => {
|
|
2963
2989
|
if (date && timeValue) {
|
|
2964
2990
|
if ((0, import_date_fns4.format)(date, "yyyyMMdd") === (0, import_date_fns4.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -2984,21 +3010,21 @@ function TimeSelect(_a) {
|
|
|
2984
3010
|
const [minOption, maxOption] = (0, import_react49.useMemo)(() => {
|
|
2985
3011
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
2986
3012
|
}, [maxTime, minTime, time]);
|
|
2987
|
-
return /* @__PURE__ */ (0,
|
|
2988
|
-
/* @__PURE__ */ (0,
|
|
2989
|
-
/* @__PURE__ */ (0,
|
|
3013
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
3014
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_themes23.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
3015
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
2990
3016
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
2991
3017
|
if (!visible) {
|
|
2992
3018
|
return null;
|
|
2993
3019
|
}
|
|
2994
|
-
return /* @__PURE__ */ (0,
|
|
3020
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Select.Item, { value: option, children: option }, option);
|
|
2995
3021
|
}) })
|
|
2996
3022
|
] }));
|
|
2997
3023
|
}
|
|
2998
3024
|
|
|
2999
3025
|
// src/molecules/radio-button-card.tsx
|
|
3000
3026
|
var import_react50 = require("react");
|
|
3001
|
-
var
|
|
3027
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3002
3028
|
var RadioCardContext = (0, import_react50.createContext)({});
|
|
3003
3029
|
function Root16(props) {
|
|
3004
3030
|
const [value, setValue] = (0, import_react50.useState)(props.value || props.defaultValue);
|
|
@@ -3010,7 +3036,7 @@ function Root16(props) {
|
|
|
3010
3036
|
},
|
|
3011
3037
|
[props]
|
|
3012
3038
|
);
|
|
3013
|
-
return /* @__PURE__ */ (0,
|
|
3039
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
3014
3040
|
}
|
|
3015
3041
|
function Item(_a) {
|
|
3016
3042
|
var _b = _a, {
|
|
@@ -3027,9 +3053,9 @@ function Item(_a) {
|
|
|
3027
3053
|
"justify",
|
|
3028
3054
|
"RadioWrapper"
|
|
3029
3055
|
]);
|
|
3030
|
-
return /* @__PURE__ */ (0,
|
|
3056
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_themes23.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
3031
3057
|
children,
|
|
3032
|
-
/* @__PURE__ */ (0,
|
|
3058
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3033
3059
|
Radio,
|
|
3034
3060
|
{
|
|
3035
3061
|
checked: itemRest.value === value,
|
|
@@ -3046,25 +3072,25 @@ var RadioButtonCard = {
|
|
|
3046
3072
|
|
|
3047
3073
|
// src/molecules/download-card.tsx
|
|
3048
3074
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
3049
|
-
var
|
|
3075
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3050
3076
|
|
|
3051
3077
|
// src/molecules/ghost-post.tsx
|
|
3052
|
-
var
|
|
3078
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3053
3079
|
|
|
3054
3080
|
// src/molecules/curriculumV2/curriculum-context.tsx
|
|
3055
3081
|
var import_react51 = require("react");
|
|
3056
|
-
var
|
|
3082
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
3057
3083
|
var CurriculumContext = (0, import_react51.createContext)(
|
|
3058
3084
|
void 0
|
|
3059
3085
|
);
|
|
3060
3086
|
|
|
3061
3087
|
// src/molecules/curriculumV2/curriculum-sub-nav.tsx
|
|
3062
3088
|
var import_react52 = require("react");
|
|
3063
|
-
var
|
|
3089
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
3064
3090
|
|
|
3065
3091
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-video.tsx
|
|
3066
3092
|
var import_react53 = require("react");
|
|
3067
|
-
var
|
|
3093
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
3068
3094
|
|
|
3069
3095
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
|
|
3070
3096
|
var import_react56 = require("react");
|
|
@@ -3075,88 +3101,88 @@ var import_react54 = require("react");
|
|
|
3075
3101
|
var import_formik = require("formik");
|
|
3076
3102
|
var import_lodash_es = require("lodash-es");
|
|
3077
3103
|
var Yup = __toESM(require("yup"), 1);
|
|
3078
|
-
var
|
|
3104
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
3079
3105
|
var CurriculumReviewContext = (0, import_react54.createContext)(void 0);
|
|
3080
3106
|
|
|
3081
3107
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.tsx
|
|
3082
|
-
var
|
|
3108
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
3083
3109
|
|
|
3084
3110
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.tsx
|
|
3085
|
-
var
|
|
3111
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
3086
3112
|
|
|
3087
3113
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.tsx
|
|
3088
|
-
var
|
|
3114
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
3089
3115
|
|
|
3090
3116
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.tsx
|
|
3091
|
-
var
|
|
3117
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
3092
3118
|
|
|
3093
3119
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.tsx
|
|
3094
|
-
var
|
|
3120
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
3095
3121
|
|
|
3096
3122
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
|
|
3097
3123
|
var import_react55 = require("react");
|
|
3098
3124
|
|
|
3099
3125
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.tsx
|
|
3100
|
-
var
|
|
3126
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
3101
3127
|
|
|
3102
3128
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
|
|
3103
|
-
var
|
|
3129
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
3104
3130
|
|
|
3105
3131
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.tsx
|
|
3106
|
-
var
|
|
3132
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
3107
3133
|
|
|
3108
3134
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.tsx
|
|
3109
|
-
var
|
|
3135
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
3110
3136
|
|
|
3111
3137
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.tsx
|
|
3112
|
-
var
|
|
3138
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
3113
3139
|
|
|
3114
3140
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.tsx
|
|
3115
|
-
var
|
|
3141
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
3116
3142
|
|
|
3117
3143
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.tsx
|
|
3118
|
-
var
|
|
3144
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
3119
3145
|
|
|
3120
3146
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.tsx
|
|
3121
|
-
var
|
|
3147
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
3122
3148
|
|
|
3123
3149
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
|
|
3124
|
-
var
|
|
3150
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
3125
3151
|
|
|
3126
3152
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.tsx
|
|
3127
3153
|
var import_react57 = require("react");
|
|
3128
|
-
var
|
|
3154
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
3129
3155
|
|
|
3130
3156
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-file-download.tsx
|
|
3131
3157
|
var import_react58 = require("react");
|
|
3132
|
-
var
|
|
3158
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
3133
3159
|
|
|
3134
3160
|
// src/molecules/curriculumV2/CurriculumContents/index.tsx
|
|
3135
|
-
var
|
|
3161
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
3136
3162
|
|
|
3137
3163
|
// src/molecules/curriculumV2/CurriculumSidebar/index.tsx
|
|
3138
3164
|
var import_react59 = require("react");
|
|
3139
3165
|
|
|
3140
3166
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-title.tsx
|
|
3141
|
-
var
|
|
3167
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
3142
3168
|
|
|
3143
3169
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.tsx
|
|
3144
|
-
var
|
|
3170
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
3145
3171
|
|
|
3146
3172
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.tsx
|
|
3147
|
-
var
|
|
3173
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
3148
3174
|
|
|
3149
3175
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-item.tsx
|
|
3150
|
-
var
|
|
3176
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
3151
3177
|
|
|
3152
3178
|
// src/molecules/curriculumV2/CurriculumSidebar/sidebar-item.tsx
|
|
3153
|
-
var
|
|
3179
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
3154
3180
|
|
|
3155
3181
|
// src/molecules/curriculumV2/CurriculumSidebar/index.tsx
|
|
3156
|
-
var
|
|
3182
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
3157
3183
|
|
|
3158
3184
|
// src/molecules/curriculumV2/curriculum-v2-layout.tsx
|
|
3159
|
-
var
|
|
3185
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
3160
3186
|
|
|
3161
3187
|
// src/molecules/dynamic-form.tsx
|
|
3162
3188
|
var import_react61 = require("react");
|
|
@@ -3166,26 +3192,26 @@ var import_themes55 = require("@radix-ui/themes");
|
|
|
3166
3192
|
|
|
3167
3193
|
// src/context/dynamic-form-context.tsx
|
|
3168
3194
|
var import_react60 = require("react");
|
|
3169
|
-
var
|
|
3195
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
3170
3196
|
var DynamicFormContext = (0, import_react60.createContext)(null);
|
|
3171
3197
|
|
|
3172
3198
|
// src/molecules/dynamic-field.tsx
|
|
3173
|
-
var
|
|
3199
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
3174
3200
|
|
|
3175
3201
|
// src/molecules/dynamic-form.tsx
|
|
3176
|
-
var
|
|
3202
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
3177
3203
|
|
|
3178
3204
|
// src/molecules/one-on-one-guide-list.tsx
|
|
3179
3205
|
var import_react62 = require("react");
|
|
3180
|
-
var
|
|
3206
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
3181
3207
|
|
|
3182
3208
|
// src/molecules/description-json-render.tsx
|
|
3183
|
-
var
|
|
3209
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
3184
3210
|
|
|
3185
3211
|
// src/molecules/training-info-guideline.tsx
|
|
3186
3212
|
var import_react63 = require("react");
|
|
3187
3213
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
3188
|
-
var
|
|
3214
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
3189
3215
|
|
|
3190
3216
|
// src/molecules/dynamic-form-editor.tsx
|
|
3191
3217
|
var import_react66 = require("react");
|
|
@@ -3193,26 +3219,26 @@ var import_react66 = require("react");
|
|
|
3193
3219
|
// src/molecules/dynamic-form-editor-field-editor-panel.tsx
|
|
3194
3220
|
var import_react64 = require("react");
|
|
3195
3221
|
var import_themes56 = require("@radix-ui/themes");
|
|
3196
|
-
var
|
|
3222
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
3197
3223
|
|
|
3198
3224
|
// src/molecules/dynamic-form-editor-field-list-panel.tsx
|
|
3199
3225
|
var import_react65 = require("react");
|
|
3200
3226
|
var import_themes57 = require("@radix-ui/themes");
|
|
3201
|
-
var
|
|
3227
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
3202
3228
|
|
|
3203
3229
|
// src/molecules/dynamic-form-editor-issues-panel.tsx
|
|
3204
|
-
var
|
|
3230
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
3205
3231
|
|
|
3206
3232
|
// src/molecules/dynamic-form-editor-preview-panel.tsx
|
|
3207
|
-
var
|
|
3233
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
3208
3234
|
|
|
3209
3235
|
// src/molecules/dynamic-form-editor.tsx
|
|
3210
|
-
var
|
|
3236
|
+
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
3211
3237
|
|
|
3212
3238
|
// src/molecules/autocomplete-textfield.tsx
|
|
3213
3239
|
var import_react67 = require("react");
|
|
3214
3240
|
var import_themes58 = require("@radix-ui/themes");
|
|
3215
|
-
var
|
|
3241
|
+
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
3216
3242
|
var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
3217
3243
|
(_a, ref) => {
|
|
3218
3244
|
var _b = _a, {
|
|
@@ -3338,8 +3364,8 @@ var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
|
3338
3364
|
const item = listRef.current.children[highlightedIndex];
|
|
3339
3365
|
item.scrollIntoView({ block: "nearest" });
|
|
3340
3366
|
}, [highlightedIndex]);
|
|
3341
|
-
return /* @__PURE__ */ (0,
|
|
3342
|
-
/* @__PURE__ */ (0,
|
|
3367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_themes58.Box, { position: "relative", style: { width: "100%" }, children: [
|
|
3368
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
3343
3369
|
TextField.Root,
|
|
3344
3370
|
__spreadProps(__spreadValues({
|
|
3345
3371
|
"aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
|
|
@@ -3365,12 +3391,12 @@ var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
|
3365
3391
|
value: inputValue
|
|
3366
3392
|
}, rest), {
|
|
3367
3393
|
children: [
|
|
3368
|
-
slotLeft && /* @__PURE__ */ (0,
|
|
3369
|
-
slotRight && /* @__PURE__ */ (0,
|
|
3394
|
+
slotLeft && /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
|
|
3395
|
+
slotRight && /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(TextField.Slot, { side: "right", children: slotRight })
|
|
3370
3396
|
]
|
|
3371
3397
|
})
|
|
3372
3398
|
),
|
|
3373
|
-
/* @__PURE__ */ (0,
|
|
3399
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
3374
3400
|
DropdownMenu.Root,
|
|
3375
3401
|
{
|
|
3376
3402
|
modal: false,
|
|
@@ -3382,7 +3408,7 @@ var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
|
3382
3408
|
},
|
|
3383
3409
|
open,
|
|
3384
3410
|
children: [
|
|
3385
|
-
/* @__PURE__ */ (0,
|
|
3411
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
3386
3412
|
"span",
|
|
3387
3413
|
{
|
|
3388
3414
|
"aria-hidden": "true",
|
|
@@ -3397,7 +3423,7 @@ var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
|
3397
3423
|
}
|
|
3398
3424
|
}
|
|
3399
3425
|
) }),
|
|
3400
|
-
/* @__PURE__ */ (0,
|
|
3426
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
3401
3427
|
DropdownMenu.Content,
|
|
3402
3428
|
{
|
|
3403
3429
|
align: "start",
|
|
@@ -3414,7 +3440,7 @@ var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
|
3414
3440
|
padding: 0,
|
|
3415
3441
|
width: "var(--radix-dropdown-menu-trigger-width)"
|
|
3416
3442
|
},
|
|
3417
|
-
children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0,
|
|
3443
|
+
children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_themes58.Box, { px: "2", py: "2", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Typo, { color: "gray", children: emptyMessage }) }) : /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
3418
3444
|
"ul",
|
|
3419
3445
|
{
|
|
3420
3446
|
id: listboxId,
|
|
@@ -3423,7 +3449,7 @@ var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
|
3423
3449
|
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
3424
3450
|
children: filtered.map((option, index) => {
|
|
3425
3451
|
const isHighlighted = index === highlightedIndex;
|
|
3426
|
-
return /* @__PURE__ */ (0,
|
|
3452
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
3427
3453
|
"li",
|
|
3428
3454
|
{
|
|
3429
3455
|
"aria-selected": isHighlighted,
|
|
@@ -3442,7 +3468,7 @@ var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
|
3442
3468
|
backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
|
|
3443
3469
|
transition: "background-color 80ms"
|
|
3444
3470
|
},
|
|
3445
|
-
children: /* @__PURE__ */ (0,
|
|
3471
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Typo, { variant: "body", children: option.label })
|
|
3446
3472
|
},
|
|
3447
3473
|
option.value
|
|
3448
3474
|
);
|
|
@@ -3460,7 +3486,7 @@ var AutocompleteTextfield = (0, import_react67.forwardRef)(
|
|
|
3460
3486
|
AutocompleteTextfield.displayName = "AutocompleteTextfield";
|
|
3461
3487
|
|
|
3462
3488
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
3463
|
-
var
|
|
3489
|
+
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
3464
3490
|
var initialValues = {
|
|
3465
3491
|
goal: "",
|
|
3466
3492
|
effect: "",
|
|
@@ -3489,11 +3515,11 @@ function GoalManageCardEdit(props) {
|
|
|
3489
3515
|
var _a;
|
|
3490
3516
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
3491
3517
|
}, [props, values]);
|
|
3492
|
-
return /* @__PURE__ */ (0,
|
|
3493
|
-
/* @__PURE__ */ (0,
|
|
3494
|
-
/* @__PURE__ */ (0,
|
|
3495
|
-
/* @__PURE__ */ (0,
|
|
3496
|
-
/* @__PURE__ */ (0,
|
|
3518
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
3519
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { direction: "column", gap: "5", children: [
|
|
3520
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(Form.Field, { name: "title", children: [
|
|
3521
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
3522
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
3497
3523
|
TextField.Root,
|
|
3498
3524
|
{
|
|
3499
3525
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -3504,11 +3530,11 @@ function GoalManageCardEdit(props) {
|
|
|
3504
3530
|
value: values.goal
|
|
3505
3531
|
}
|
|
3506
3532
|
),
|
|
3507
|
-
/* @__PURE__ */ (0,
|
|
3533
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
3508
3534
|
] }),
|
|
3509
|
-
/* @__PURE__ */ (0,
|
|
3510
|
-
/* @__PURE__ */ (0,
|
|
3511
|
-
/* @__PURE__ */ (0,
|
|
3535
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(Form.Field, { name: "effect", children: [
|
|
3536
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
3537
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
3512
3538
|
TextArea,
|
|
3513
3539
|
{
|
|
3514
3540
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -3520,11 +3546,11 @@ function GoalManageCardEdit(props) {
|
|
|
3520
3546
|
value: values.effect
|
|
3521
3547
|
}
|
|
3522
3548
|
),
|
|
3523
|
-
/* @__PURE__ */ (0,
|
|
3549
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
3524
3550
|
] }),
|
|
3525
|
-
/* @__PURE__ */ (0,
|
|
3526
|
-
/* @__PURE__ */ (0,
|
|
3527
|
-
/* @__PURE__ */ (0,
|
|
3551
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(Form.Field, { name: "huddle", children: [
|
|
3552
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
3553
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
3528
3554
|
TextArea,
|
|
3529
3555
|
{
|
|
3530
3556
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -3538,11 +3564,11 @@ function GoalManageCardEdit(props) {
|
|
|
3538
3564
|
value: values.huddle
|
|
3539
3565
|
}
|
|
3540
3566
|
),
|
|
3541
|
-
/* @__PURE__ */ (0,
|
|
3567
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
3542
3568
|
] }),
|
|
3543
|
-
/* @__PURE__ */ (0,
|
|
3544
|
-
/* @__PURE__ */ (0,
|
|
3545
|
-
/* @__PURE__ */ (0,
|
|
3569
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
3570
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
3571
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
3546
3572
|
DatePickerButton,
|
|
3547
3573
|
{
|
|
3548
3574
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -3553,11 +3579,11 @@ function GoalManageCardEdit(props) {
|
|
|
3553
3579
|
selected: values.dueDate
|
|
3554
3580
|
}
|
|
3555
3581
|
),
|
|
3556
|
-
/* @__PURE__ */ (0,
|
|
3582
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
3557
3583
|
] })
|
|
3558
3584
|
] }),
|
|
3559
|
-
/* @__PURE__ */ (0,
|
|
3560
|
-
/* @__PURE__ */ (0,
|
|
3585
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
3586
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
3561
3587
|
Button,
|
|
3562
3588
|
{
|
|
3563
3589
|
color: "gray",
|
|
@@ -3568,7 +3594,7 @@ function GoalManageCardEdit(props) {
|
|
|
3568
3594
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
3569
3595
|
}
|
|
3570
3596
|
),
|
|
3571
|
-
/* @__PURE__ */ (0,
|
|
3597
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
3572
3598
|
] })
|
|
3573
3599
|
] }) });
|
|
3574
3600
|
}
|
|
@@ -3579,7 +3605,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
3579
3605
|
|
|
3580
3606
|
// src/app/platform/edit-coaching-time.tsx
|
|
3581
3607
|
var import_react69 = require("react");
|
|
3582
|
-
var
|
|
3608
|
+
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
3583
3609
|
var getValueFromDefaultValue = (args) => {
|
|
3584
3610
|
return {
|
|
3585
3611
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -3649,10 +3675,10 @@ function EditCoachingTime(props) {
|
|
|
3649
3675
|
toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
3650
3676
|
}
|
|
3651
3677
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
3652
|
-
return /* @__PURE__ */ (0,
|
|
3653
|
-
/* @__PURE__ */ (0,
|
|
3654
|
-
/* @__PURE__ */ (0,
|
|
3655
|
-
/* @__PURE__ */ (0,
|
|
3678
|
+
return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_themes7.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(Form.Root, { children: [
|
|
3679
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(Form.Field, { name: "date", children: [
|
|
3680
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
3681
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
3656
3682
|
DatePickerButton,
|
|
3657
3683
|
{
|
|
3658
3684
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -3662,7 +3688,7 @@ function EditCoachingTime(props) {
|
|
|
3662
3688
|
}
|
|
3663
3689
|
)
|
|
3664
3690
|
] }),
|
|
3665
|
-
/* @__PURE__ */ (0,
|
|
3691
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
|
|
3666
3692
|
import_themes24.Grid,
|
|
3667
3693
|
{
|
|
3668
3694
|
align: "center",
|
|
@@ -3677,10 +3703,10 @@ function EditCoachingTime(props) {
|
|
|
3677
3703
|
mt: "5",
|
|
3678
3704
|
width: "100%",
|
|
3679
3705
|
children: [
|
|
3680
|
-
/* @__PURE__ */ (0,
|
|
3681
|
-
/* @__PURE__ */ (0,
|
|
3682
|
-
/* @__PURE__ */ (0,
|
|
3683
|
-
/* @__PURE__ */ (0,
|
|
3706
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
3707
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", {}),
|
|
3708
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
3709
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
3684
3710
|
TimeSelect,
|
|
3685
3711
|
{
|
|
3686
3712
|
onValueChange: onChangeStartTime,
|
|
@@ -3688,8 +3714,8 @@ function EditCoachingTime(props) {
|
|
|
3688
3714
|
value: values.startTime
|
|
3689
3715
|
}
|
|
3690
3716
|
),
|
|
3691
|
-
/* @__PURE__ */ (0,
|
|
3692
|
-
/* @__PURE__ */ (0,
|
|
3717
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_themes7.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_themes40.Separator, {}) }),
|
|
3718
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
3693
3719
|
TimeSelect,
|
|
3694
3720
|
{
|
|
3695
3721
|
onValueChange: onChangeEndTime,
|
|
@@ -3697,13 +3723,13 @@ function EditCoachingTime(props) {
|
|
|
3697
3723
|
value: values.endTime
|
|
3698
3724
|
}
|
|
3699
3725
|
),
|
|
3700
|
-
/* @__PURE__ */ (0,
|
|
3726
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
3701
3727
|
]
|
|
3702
3728
|
}
|
|
3703
3729
|
),
|
|
3704
|
-
/* @__PURE__ */ (0,
|
|
3705
|
-
/* @__PURE__ */ (0,
|
|
3706
|
-
/* @__PURE__ */ (0,
|
|
3730
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_themes23.Flex, { gap: "3", justify: "end", children: [
|
|
3731
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
3732
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
3707
3733
|
] })
|
|
3708
3734
|
] }) });
|
|
3709
3735
|
}
|
|
@@ -3713,20 +3739,20 @@ var import_react70 = require("react");
|
|
|
3713
3739
|
|
|
3714
3740
|
// src/app/platform/on-offline-radio-card.tsx
|
|
3715
3741
|
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
3716
|
-
var
|
|
3742
|
+
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
3717
3743
|
var SERVICE_TYPE = {
|
|
3718
3744
|
onlineCoaching: "onlineCoaching",
|
|
3719
3745
|
offlineCoaching: "offlineCoaching"
|
|
3720
3746
|
};
|
|
3721
3747
|
var breakpoint = "sm";
|
|
3722
3748
|
function HideSmallBox(props) {
|
|
3723
|
-
return /* @__PURE__ */ (0,
|
|
3749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_themes7.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
3724
3750
|
}
|
|
3725
3751
|
function OnOfflineRadioCard(props) {
|
|
3726
3752
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
3727
3753
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
3728
3754
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
3729
|
-
return /* @__PURE__ */ (0,
|
|
3755
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
|
|
3730
3756
|
RadioButtonCard.Root,
|
|
3731
3757
|
__spreadProps(__spreadValues({
|
|
3732
3758
|
RadioWrapper: Wrapper,
|
|
@@ -3735,13 +3761,13 @@ function OnOfflineRadioCard(props) {
|
|
|
3735
3761
|
justify
|
|
3736
3762
|
}, props), {
|
|
3737
3763
|
children: [
|
|
3738
|
-
/* @__PURE__ */ (0,
|
|
3739
|
-
/* @__PURE__ */ (0,
|
|
3740
|
-
/* @__PURE__ */ (0,
|
|
3764
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes23.Flex, { align: "center", gap: "2", children: [
|
|
3765
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_react_icons10.GlobeIcon, {}) }),
|
|
3766
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
3741
3767
|
] }) }),
|
|
3742
|
-
/* @__PURE__ */ (0,
|
|
3743
|
-
/* @__PURE__ */ (0,
|
|
3744
|
-
/* @__PURE__ */ (0,
|
|
3768
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes23.Flex, { align: "center", gap: "2", children: [
|
|
3769
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_react_icons10.BackpackIcon, {}) }),
|
|
3770
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
3745
3771
|
] }) })
|
|
3746
3772
|
]
|
|
3747
3773
|
})
|
|
@@ -3749,7 +3775,7 @@ function OnOfflineRadioCard(props) {
|
|
|
3749
3775
|
}
|
|
3750
3776
|
|
|
3751
3777
|
// src/app/platform/edit-service-type.tsx
|
|
3752
|
-
var
|
|
3778
|
+
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
3753
3779
|
function EditServiceType(props) {
|
|
3754
3780
|
const { defaultServiceType, onClickCancel } = props;
|
|
3755
3781
|
const [sessionType, setSessionType] = (0, import_react70.useState)(
|
|
@@ -3759,8 +3785,8 @@ function EditServiceType(props) {
|
|
|
3759
3785
|
var _a;
|
|
3760
3786
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
3761
3787
|
}, [props, sessionType]);
|
|
3762
|
-
return /* @__PURE__ */ (0,
|
|
3763
|
-
/* @__PURE__ */ (0,
|
|
3788
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_themes7.Box, { children: [
|
|
3789
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
3764
3790
|
Typo,
|
|
3765
3791
|
{
|
|
3766
3792
|
as: "p",
|
|
@@ -3770,16 +3796,16 @@ function EditServiceType(props) {
|
|
|
3770
3796
|
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"
|
|
3771
3797
|
}
|
|
3772
3798
|
),
|
|
3773
|
-
/* @__PURE__ */ (0,
|
|
3774
|
-
/* @__PURE__ */ (0,
|
|
3775
|
-
/* @__PURE__ */ (0,
|
|
3776
|
-
/* @__PURE__ */ (0,
|
|
3799
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
3800
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_themes23.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
3801
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
3802
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
3777
3803
|
] })
|
|
3778
3804
|
] });
|
|
3779
3805
|
}
|
|
3780
3806
|
|
|
3781
3807
|
// src/app/platform/session-card.tsx
|
|
3782
|
-
var
|
|
3808
|
+
var import_jsx_runtime127 = require("react/jsx-runtime");
|
|
3783
3809
|
var preventDefault2 = (e) => {
|
|
3784
3810
|
e.preventDefault();
|
|
3785
3811
|
};
|
|
@@ -3810,32 +3836,32 @@ function SessionCard(props) {
|
|
|
3810
3836
|
"sessionType"
|
|
3811
3837
|
]);
|
|
3812
3838
|
const renderEditButton = (0, import_react71.useCallback)(() => {
|
|
3813
|
-
return /* @__PURE__ */ (0,
|
|
3839
|
+
return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
3814
3840
|
}, []);
|
|
3815
3841
|
const sessionTimeStr = (0, import_react71.useMemo)(() => {
|
|
3816
3842
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
3817
3843
|
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")}`;
|
|
3818
3844
|
}, [startAt, endAt]);
|
|
3819
|
-
return /* @__PURE__ */ (0,
|
|
3820
|
-
/* @__PURE__ */ (0,
|
|
3821
|
-
/* @__PURE__ */ (0,
|
|
3845
|
+
return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_themes23.Flex, { direction: "column", gap: "3", children: [
|
|
3846
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_themes23.Flex, { align: "center", width: "100%", children: [
|
|
3847
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
3822
3848
|
TitleExtra,
|
|
3823
|
-
error ? /* @__PURE__ */ (0,
|
|
3849
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
3824
3850
|
] }),
|
|
3825
|
-
/* @__PURE__ */ (0,
|
|
3826
|
-
/* @__PURE__ */ (0,
|
|
3827
|
-
/* @__PURE__ */ (0,
|
|
3828
|
-
/* @__PURE__ */ (0,
|
|
3851
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(DataList.Root, { children: [
|
|
3852
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(DataList.Item, { children: [
|
|
3853
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
3854
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(DataList.Value, { children: [
|
|
3829
3855
|
sessionTimeStr,
|
|
3830
|
-
editable ? /* @__PURE__ */ (0,
|
|
3831
|
-
/* @__PURE__ */ (0,
|
|
3832
|
-
/* @__PURE__ */ (0,
|
|
3856
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(Dialog.Root, { children: [
|
|
3857
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
3858
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
3833
3859
|
Dialog.Content,
|
|
3834
3860
|
{
|
|
3835
3861
|
onOpenAutoFocus: preventDefault2,
|
|
3836
3862
|
style: { overflow: "visible" },
|
|
3837
3863
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
3838
|
-
children: /* @__PURE__ */ (0,
|
|
3864
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
3839
3865
|
EditCoachingTime,
|
|
3840
3866
|
{
|
|
3841
3867
|
defaultEndAt: endAt,
|
|
@@ -3848,18 +3874,18 @@ function SessionCard(props) {
|
|
|
3848
3874
|
] }) : null
|
|
3849
3875
|
] })
|
|
3850
3876
|
] }),
|
|
3851
|
-
/* @__PURE__ */ (0,
|
|
3852
|
-
/* @__PURE__ */ (0,
|
|
3853
|
-
/* @__PURE__ */ (0,
|
|
3854
|
-
/* @__PURE__ */ (0,
|
|
3877
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_themes24.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
3878
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(DataList.Item, { children: [
|
|
3879
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
3880
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(DataList.Value, { children: [
|
|
3855
3881
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
3856
|
-
editable ? /* @__PURE__ */ (0,
|
|
3857
|
-
/* @__PURE__ */ (0,
|
|
3858
|
-
/* @__PURE__ */ (0,
|
|
3882
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(Dialog.Root, { children: [
|
|
3883
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
3884
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
3859
3885
|
Dialog.Content,
|
|
3860
3886
|
{
|
|
3861
3887
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
3862
|
-
children: /* @__PURE__ */ (0,
|
|
3888
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
3863
3889
|
EditServiceType,
|
|
3864
3890
|
{
|
|
3865
3891
|
defaultServiceType: sessionType,
|
|
@@ -3871,25 +3897,25 @@ function SessionCard(props) {
|
|
|
3871
3897
|
] }) : null
|
|
3872
3898
|
] })
|
|
3873
3899
|
] }),
|
|
3874
|
-
/* @__PURE__ */ (0,
|
|
3900
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_themes23.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
3875
3901
|
] })
|
|
3876
3902
|
] })
|
|
3877
3903
|
] }) }));
|
|
3878
3904
|
}
|
|
3879
3905
|
|
|
3880
3906
|
// src/app/platform/coach-question-list.tsx
|
|
3881
|
-
var
|
|
3907
|
+
var import_jsx_runtime128 = require("react/jsx-runtime");
|
|
3882
3908
|
function QuestionItem({ question, answer }) {
|
|
3883
|
-
return /* @__PURE__ */ (0,
|
|
3884
|
-
/* @__PURE__ */ (0,
|
|
3885
|
-
/* @__PURE__ */ (0,
|
|
3909
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_themes7.Box, { children: [
|
|
3910
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
3911
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
3886
3912
|
] }, question);
|
|
3887
3913
|
}
|
|
3888
3914
|
function CoachQuestionList({
|
|
3889
3915
|
questions
|
|
3890
3916
|
}) {
|
|
3891
|
-
return /* @__PURE__ */ (0,
|
|
3892
|
-
return /* @__PURE__ */ (0,
|
|
3917
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_themes23.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
3918
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
3893
3919
|
}) });
|
|
3894
3920
|
}
|
|
3895
3921
|
|
|
@@ -3897,7 +3923,7 @@ function CoachQuestionList({
|
|
|
3897
3923
|
var import_react72 = require("react");
|
|
3898
3924
|
var import_date_fns7 = require("date-fns");
|
|
3899
3925
|
var import_locale2 = require("date-fns/locale");
|
|
3900
|
-
var
|
|
3926
|
+
var import_jsx_runtime129 = require("react/jsx-runtime");
|
|
3901
3927
|
function ReservationCard(props) {
|
|
3902
3928
|
const {
|
|
3903
3929
|
sessionNumber,
|
|
@@ -3930,9 +3956,9 @@ function ReservationCard(props) {
|
|
|
3930
3956
|
}, [defaultTime, defaultType]);
|
|
3931
3957
|
const ActionButtons = (0, import_react72.useMemo)(() => {
|
|
3932
3958
|
if (readonly) {
|
|
3933
|
-
return /* @__PURE__ */ (0,
|
|
3959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
3934
3960
|
}
|
|
3935
|
-
return /* @__PURE__ */ (0,
|
|
3961
|
+
return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
3936
3962
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
3937
3963
|
const onChangeDate = (0, import_react72.useCallback)((newDate) => {
|
|
3938
3964
|
if (!newDate) return;
|
|
@@ -3974,39 +4000,39 @@ function ReservationCard(props) {
|
|
|
3974
4000
|
});
|
|
3975
4001
|
}
|
|
3976
4002
|
}, [editValues, maxTime, readonly]);
|
|
3977
|
-
return /* @__PURE__ */ (0,
|
|
4003
|
+
return /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
|
|
3978
4004
|
Card,
|
|
3979
4005
|
{
|
|
3980
4006
|
error: Boolean(error),
|
|
3981
4007
|
size: "3",
|
|
3982
4008
|
style: { overflow: "visible", contain: "initial" },
|
|
3983
4009
|
children: [
|
|
3984
|
-
/* @__PURE__ */ (0,
|
|
3985
|
-
/* @__PURE__ */ (0,
|
|
4010
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_themes23.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
4011
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
|
|
3986
4012
|
import_themes24.Grid,
|
|
3987
4013
|
{
|
|
3988
4014
|
align: "center",
|
|
3989
4015
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
3990
4016
|
gapY: "2",
|
|
3991
4017
|
children: [
|
|
3992
|
-
/* @__PURE__ */ (0,
|
|
3993
|
-
/* @__PURE__ */ (0,
|
|
4018
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_themes23.Flex, { align: "center", children: [
|
|
4019
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(Heading2, { variant: "heading4", children: [
|
|
3994
4020
|
customerName || "-",
|
|
3995
4021
|
"\uB2D8 ",
|
|
3996
4022
|
sessionNumber || "-",
|
|
3997
4023
|
"\uD68C\uCC28 \uC138\uC158"
|
|
3998
4024
|
] }),
|
|
3999
|
-
/* @__PURE__ */ (0,
|
|
4025
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
4000
4026
|
] }),
|
|
4001
|
-
error ? /* @__PURE__ */ (0,
|
|
4027
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
4002
4028
|
]
|
|
4003
4029
|
}
|
|
4004
4030
|
),
|
|
4005
|
-
/* @__PURE__ */ (0,
|
|
4031
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_themes23.Flex, { children: ActionButtons })
|
|
4006
4032
|
] }),
|
|
4007
|
-
/* @__PURE__ */ (0,
|
|
4008
|
-
/* @__PURE__ */ (0,
|
|
4009
|
-
/* @__PURE__ */ (0,
|
|
4033
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_themes7.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_themes23.Flex, { direction: "column", gap: "5", children: [
|
|
4034
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
4035
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
4010
4036
|
DatePickerButton,
|
|
4011
4037
|
{
|
|
4012
4038
|
disabled: readonly,
|
|
@@ -4020,8 +4046,8 @@ function ReservationCard(props) {
|
|
|
4020
4046
|
size: "large"
|
|
4021
4047
|
}
|
|
4022
4048
|
),
|
|
4023
|
-
/* @__PURE__ */ (0,
|
|
4024
|
-
/* @__PURE__ */ (0,
|
|
4049
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
|
|
4050
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
4025
4051
|
OnOfflineRadioCard,
|
|
4026
4052
|
{
|
|
4027
4053
|
disabled: readonly,
|
|
@@ -4030,8 +4056,8 @@ function ReservationCard(props) {
|
|
|
4030
4056
|
value: type
|
|
4031
4057
|
}
|
|
4032
4058
|
),
|
|
4033
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
4034
|
-
/* @__PURE__ */ (0,
|
|
4059
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_themes23.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
4060
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
4035
4061
|
Button,
|
|
4036
4062
|
{
|
|
4037
4063
|
color: "gray",
|
|
@@ -4041,10 +4067,10 @@ function ReservationCard(props) {
|
|
|
4041
4067
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
4042
4068
|
}
|
|
4043
4069
|
),
|
|
4044
|
-
/* @__PURE__ */ (0,
|
|
4070
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
4045
4071
|
] })
|
|
4046
4072
|
] }) }),
|
|
4047
|
-
readonly ? /* @__PURE__ */ (0,
|
|
4073
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_themes26.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
4048
4074
|
import_themes7.Box,
|
|
4049
4075
|
{
|
|
4050
4076
|
mt: "5",
|
|
@@ -4052,14 +4078,14 @@ function ReservationCard(props) {
|
|
|
4052
4078
|
py: "4",
|
|
4053
4079
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
4054
4080
|
width: "100%",
|
|
4055
|
-
children: /* @__PURE__ */ (0,
|
|
4056
|
-
/* @__PURE__ */ (0,
|
|
4081
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_themes23.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
4082
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(Typo, { children: [
|
|
4057
4083
|
sessionNumber || "-",
|
|
4058
4084
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
4059
4085
|
] }),
|
|
4060
|
-
/* @__PURE__ */ (0,
|
|
4086
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
4061
4087
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
4062
|
-
/* @__PURE__ */ (0,
|
|
4088
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
4063
4089
|
] })
|
|
4064
4090
|
] })
|
|
4065
4091
|
}
|
|
@@ -4071,14 +4097,14 @@ function ReservationCard(props) {
|
|
|
4071
4097
|
|
|
4072
4098
|
// src/app/platform/session-review-simple-read.tsx
|
|
4073
4099
|
var import_react73 = require("react");
|
|
4074
|
-
var
|
|
4100
|
+
var import_jsx_runtime130 = require("react/jsx-runtime");
|
|
4075
4101
|
function SubTitleWrapper({
|
|
4076
4102
|
children,
|
|
4077
4103
|
title
|
|
4078
4104
|
}) {
|
|
4079
|
-
return /* @__PURE__ */ (0,
|
|
4080
|
-
/* @__PURE__ */ (0,
|
|
4081
|
-
/* @__PURE__ */ (0,
|
|
4105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_themes23.Flex, { direction: "column", gap: "2", children: [
|
|
4106
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
4107
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes7.Box, { children })
|
|
4082
4108
|
] });
|
|
4083
4109
|
}
|
|
4084
4110
|
function SessionReviewSimpleRead({
|
|
@@ -4103,22 +4129,22 @@ function SessionReviewSimpleRead({
|
|
|
4103
4129
|
color: "error"
|
|
4104
4130
|
};
|
|
4105
4131
|
}, [helpfulness]);
|
|
4106
|
-
return /* @__PURE__ */ (0,
|
|
4107
|
-
/* @__PURE__ */ (0,
|
|
4108
|
-
/* @__PURE__ */ (0,
|
|
4132
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes7.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_themes23.Flex, { direction: "column", gap: "5", children: [
|
|
4133
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.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_runtime130.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
4134
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
4109
4135
|
] }) });
|
|
4110
4136
|
}
|
|
4111
4137
|
|
|
4112
4138
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
4113
|
-
var
|
|
4139
|
+
var import_jsx_runtime131 = require("react/jsx-runtime");
|
|
4114
4140
|
function SectionWrapper({
|
|
4115
4141
|
title,
|
|
4116
4142
|
children
|
|
4117
4143
|
}) {
|
|
4118
|
-
return /* @__PURE__ */ (0,
|
|
4119
|
-
/* @__PURE__ */ (0,
|
|
4120
|
-
/* @__PURE__ */ (0,
|
|
4121
|
-
/* @__PURE__ */ (0,
|
|
4144
|
+
return /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(import_themes7.Box, { children: [
|
|
4145
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(import_themes24.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
4146
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
4147
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_themes40.Separator, { size: "4" })
|
|
4122
4148
|
] }),
|
|
4123
4149
|
children
|
|
4124
4150
|
] });
|
|
@@ -4128,11 +4154,11 @@ function SessionUserInfoDetail({
|
|
|
4128
4154
|
session,
|
|
4129
4155
|
onClickCopy
|
|
4130
4156
|
}) {
|
|
4131
|
-
return /* @__PURE__ */ (0,
|
|
4132
|
-
/* @__PURE__ */ (0,
|
|
4157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(import_themes23.Flex, { direction: "column", gap: "6", children: [
|
|
4158
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(DataList.Root, { children: sessionList.map(
|
|
4133
4159
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
4134
4160
|
) }) }),
|
|
4135
|
-
/* @__PURE__ */ (0,
|
|
4161
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(DataList.Root, { children: infoList.map(
|
|
4136
4162
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
4137
4163
|
) }) })
|
|
4138
4164
|
] });
|
|
@@ -4140,7 +4166,7 @@ function SessionUserInfoDetail({
|
|
|
4140
4166
|
|
|
4141
4167
|
// src/app/platform/report-card.tsx
|
|
4142
4168
|
var import_react74 = require("react");
|
|
4143
|
-
var
|
|
4169
|
+
var import_jsx_runtime132 = require("react/jsx-runtime");
|
|
4144
4170
|
function ReportCard(props) {
|
|
4145
4171
|
const { title, file, status, subtitle } = props;
|
|
4146
4172
|
const onClickDownload = (0, import_react74.useCallback)(() => {
|
|
@@ -4155,24 +4181,24 @@ function ReportCard(props) {
|
|
|
4155
4181
|
document.body.removeChild(link);
|
|
4156
4182
|
}, [file]);
|
|
4157
4183
|
if (status) {
|
|
4158
|
-
return /* @__PURE__ */ (0,
|
|
4159
|
-
/* @__PURE__ */ (0,
|
|
4184
|
+
return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_themes23.Flex, { align: "center", justify: "between", children: [
|
|
4185
|
+
/* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
4160
4186
|
status
|
|
4161
4187
|
] }) });
|
|
4162
4188
|
}
|
|
4163
|
-
return /* @__PURE__ */ (0,
|
|
4189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(
|
|
4164
4190
|
import_themes23.Flex,
|
|
4165
4191
|
{
|
|
4166
4192
|
direction: { initial: "column", xs: "row" },
|
|
4167
4193
|
gapY: "2",
|
|
4168
4194
|
justify: "between",
|
|
4169
4195
|
children: [
|
|
4170
|
-
/* @__PURE__ */ (0,
|
|
4171
|
-
/* @__PURE__ */ (0,
|
|
4172
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
4196
|
+
/* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_themes7.Box, { children: [
|
|
4197
|
+
/* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
4198
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
4173
4199
|
] }),
|
|
4174
|
-
/* @__PURE__ */ (0,
|
|
4175
|
-
/* @__PURE__ */ (0,
|
|
4200
|
+
/* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_themes23.Flex, { gap: "2", width: "100%", children: [
|
|
4201
|
+
/* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
4176
4202
|
file == null ? void 0 : file.buttonName
|
|
4177
4203
|
] }) }, file == null ? void 0 : file.url)
|
|
4178
4204
|
]
|
|
@@ -4182,7 +4208,7 @@ function ReportCard(props) {
|
|
|
4182
4208
|
|
|
4183
4209
|
// src/app/platform/contents-card.tsx
|
|
4184
4210
|
var import_react75 = require("react");
|
|
4185
|
-
var
|
|
4211
|
+
var import_jsx_runtime133 = require("react/jsx-runtime");
|
|
4186
4212
|
var ContentsCard = (0, import_react75.forwardRef)(
|
|
4187
4213
|
({
|
|
4188
4214
|
title,
|
|
@@ -4193,7 +4219,7 @@ var ContentsCard = (0, import_react75.forwardRef)(
|
|
|
4193
4219
|
onClickCard,
|
|
4194
4220
|
isLoading = false
|
|
4195
4221
|
}, ref) => {
|
|
4196
|
-
return /* @__PURE__ */ (0,
|
|
4222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(
|
|
4197
4223
|
Card,
|
|
4198
4224
|
{
|
|
4199
4225
|
onClick: onClickCard,
|
|
@@ -4205,7 +4231,7 @@ var ContentsCard = (0, import_react75.forwardRef)(
|
|
|
4205
4231
|
cursor: "pointer"
|
|
4206
4232
|
},
|
|
4207
4233
|
children: [
|
|
4208
|
-
/* @__PURE__ */ (0,
|
|
4234
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_themes26.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_themes41.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
|
|
4209
4235
|
import_themes7.Box,
|
|
4210
4236
|
{
|
|
4211
4237
|
style: {
|
|
@@ -4218,12 +4244,12 @@ var ContentsCard = (0, import_react75.forwardRef)(
|
|
|
4218
4244
|
width: "100%"
|
|
4219
4245
|
}
|
|
4220
4246
|
) }) }),
|
|
4221
|
-
/* @__PURE__ */ (0,
|
|
4222
|
-
/* @__PURE__ */ (0,
|
|
4223
|
-
/* @__PURE__ */ (0,
|
|
4224
|
-
/* @__PURE__ */ (0,
|
|
4247
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_themes23.Flex, { direction: "column", pb: "4", px: "3", py: "4", children: [
|
|
4248
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_themes7.Box, { children: [
|
|
4249
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_themes41.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(Heading2, { variant: "heading5", children: title }) }),
|
|
4250
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_themes41.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
4225
4251
|
] }),
|
|
4226
|
-
/* @__PURE__ */ (0,
|
|
4252
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(
|
|
4227
4253
|
import_themes24.Grid,
|
|
4228
4254
|
{
|
|
4229
4255
|
align: "center",
|
|
@@ -4233,10 +4259,10 @@ var ContentsCard = (0, import_react75.forwardRef)(
|
|
|
4233
4259
|
style: { marginTop: "auto" },
|
|
4234
4260
|
width: "100%",
|
|
4235
4261
|
children: [
|
|
4236
|
-
/* @__PURE__ */ (0,
|
|
4237
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
4238
|
-
/* @__PURE__ */ (0,
|
|
4239
|
-
/* @__PURE__ */ (0,
|
|
4262
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_themes41.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_themes23.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
4263
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(DropdownMenu.Root, { children: [
|
|
4264
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
4265
|
+
/* @__PURE__ */ (0, import_jsx_runtime133.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
|
|
4240
4266
|
DropdownMenu.Item,
|
|
4241
4267
|
{
|
|
4242
4268
|
onClick: (e) => {
|
|
@@ -4260,7 +4286,7 @@ var ContentsCard = (0, import_react75.forwardRef)(
|
|
|
4260
4286
|
ContentsCard.displayName = "ContentsCard";
|
|
4261
4287
|
|
|
4262
4288
|
// src/app/platform/curriculum-card.tsx
|
|
4263
|
-
var
|
|
4289
|
+
var import_jsx_runtime134 = require("react/jsx-runtime");
|
|
4264
4290
|
function CurriculumCard(props) {
|
|
4265
4291
|
const {
|
|
4266
4292
|
title,
|
|
@@ -4271,7 +4297,7 @@ function CurriculumCard(props) {
|
|
|
4271
4297
|
bgColor,
|
|
4272
4298
|
onClick
|
|
4273
4299
|
} = props;
|
|
4274
|
-
return /* @__PURE__ */ (0,
|
|
4300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(
|
|
4275
4301
|
import_themes24.Grid,
|
|
4276
4302
|
{
|
|
4277
4303
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -4280,7 +4306,7 @@ function CurriculumCard(props) {
|
|
|
4280
4306
|
onClick,
|
|
4281
4307
|
style: { cursor: "pointer" },
|
|
4282
4308
|
children: [
|
|
4283
|
-
/* @__PURE__ */ (0,
|
|
4309
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
|
|
4284
4310
|
import_themes7.Box,
|
|
4285
4311
|
{
|
|
4286
4312
|
height: "165px",
|
|
@@ -4295,32 +4321,32 @@ function CurriculumCard(props) {
|
|
|
4295
4321
|
backgroundAttachment: "local"
|
|
4296
4322
|
},
|
|
4297
4323
|
width: "100%",
|
|
4298
|
-
children: /* @__PURE__ */ (0,
|
|
4324
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
4299
4325
|
}
|
|
4300
4326
|
),
|
|
4301
|
-
/* @__PURE__ */ (0,
|
|
4302
|
-
/* @__PURE__ */ (0,
|
|
4303
|
-
/* @__PURE__ */ (0,
|
|
4304
|
-
/* @__PURE__ */ (0,
|
|
4327
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_themes23.Flex, { direction: "column", gap: "3", children: [
|
|
4328
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_themes24.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
4329
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
4330
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
|
|
4305
4331
|
Badge,
|
|
4306
4332
|
{
|
|
4307
4333
|
size: "medium",
|
|
4308
4334
|
style: { justifySelf: "flex-start" },
|
|
4309
4335
|
variant: "outline",
|
|
4310
|
-
children: /* @__PURE__ */ (0,
|
|
4311
|
-
/* @__PURE__ */ (0,
|
|
4336
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_themes23.Flex, { align: "center", gap: "1", children: [
|
|
4337
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_react_icons2.TimerIcon, {}),
|
|
4312
4338
|
runningTime
|
|
4313
4339
|
] })
|
|
4314
4340
|
}
|
|
4315
4341
|
)
|
|
4316
4342
|
] }),
|
|
4317
|
-
/* @__PURE__ */ (0,
|
|
4318
|
-
return /* @__PURE__ */ (0,
|
|
4343
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_themes7.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
4344
|
+
return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
4319
4345
|
}) }) }),
|
|
4320
|
-
/* @__PURE__ */ (0,
|
|
4321
|
-
/* @__PURE__ */ (0,
|
|
4322
|
-
/* @__PURE__ */ (0,
|
|
4323
|
-
/* @__PURE__ */ (0,
|
|
4346
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_themes40.Separator, { size: "4" }),
|
|
4347
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
4348
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
4349
|
+
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
4324
4350
|
] })
|
|
4325
4351
|
] })
|
|
4326
4352
|
]
|