@tipp/ui 2.3.33 → 2.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.cjs +456 -198
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +99 -98
- package/dist/app/platform/coach-question-list.cjs +12 -4
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +29 -29
- package/dist/app/platform/contents-card.cjs +12 -4
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +29 -29
- package/dist/app/platform/curriculum-card.js +6 -6
- package/dist/app/platform/edit-coaching-time.cjs +286 -28
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +79 -78
- package/dist/app/platform/edit-service-type.cjs +281 -23
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +80 -79
- package/dist/app/platform/goal-manage-card-edit.cjs +289 -31
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +79 -78
- package/dist/app/platform/goal-manage-card-read.cjs +12 -4
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +29 -29
- package/dist/app/platform/on-offline-radio-card.cjs +314 -54
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +79 -78
- package/dist/app/platform/report-card.cjs +12 -4
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +29 -29
- package/dist/app/platform/reservation-card.cjs +305 -47
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +80 -79
- package/dist/app/platform/session-card.cjs +331 -73
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +82 -81
- package/dist/app/platform/session-review-simple-read.cjs +12 -4
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +12 -4
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +32 -32
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +12 -4
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +12 -4
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +29 -29
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +12 -4
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +29 -29
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +12 -4
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +29 -29
- package/dist/app/platform/userInfos/utils.cjs +12 -4
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +28 -28
- package/dist/atoms/bullet-text.js +2 -2
- package/dist/atoms/dialog.js +2 -2
- package/dist/atoms/dropdown-menu.cjs +9 -1
- package/dist/atoms/dropdown-menu.cjs.map +1 -1
- package/dist/atoms/dropdown-menu.d.cts +4 -1
- package/dist/atoms/dropdown-menu.d.ts +4 -1
- package/dist/atoms/dropdown-menu.js +1 -1
- package/dist/atoms/field-error-wrapper.js +2 -2
- package/dist/atoms/index.cjs +15 -7
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +62 -62
- package/dist/atoms/list.js +2 -2
- package/dist/atoms/pagination.js +3 -3
- package/dist/{chunk-I5RQ5T4B.js → chunk-24PLAIMJ.js} +12 -12
- package/dist/{chunk-SSSGPTRM.js → chunk-3GGJWSFK.js} +9 -9
- package/dist/{chunk-M2PVHXOE.js → chunk-3GQQQBJN.js} +4 -4
- package/dist/{chunk-SNPAB3HJ.js → chunk-446FD3VT.js} +10 -10
- package/dist/{chunk-KD6EXWP7.js → chunk-44VLRAHW.js} +9 -9
- package/dist/{chunk-BKYPABII.js → chunk-4N2R7MWQ.js} +5 -5
- package/dist/{chunk-5J4YHHVX.js → chunk-52VTWFM6.js} +22 -8
- package/dist/chunk-52VTWFM6.js.map +1 -0
- package/dist/{chunk-W7TBPRHG.js → chunk-5V6MQUTB.js} +2 -2
- package/dist/{chunk-AHXS2MBK.js → chunk-5ZEQ33PC.js} +5 -5
- package/dist/{chunk-JFJ3N4V5.js → chunk-7I7PZF5L.js} +2 -2
- package/dist/{chunk-MPZJH3PI.js → chunk-7ITDAUWI.js} +10 -10
- package/dist/{chunk-YADSNPMG.js → chunk-A7LYIUE7.js} +6 -6
- package/dist/{chunk-VK6INFSB.js → chunk-AQVIQODP.js} +4 -4
- package/dist/{chunk-VH37R5IH.js → chunk-BEIM5PNA.js} +4 -4
- package/dist/{chunk-HWK3UPZ3.js → chunk-BRNYILVO.js} +5 -5
- package/dist/{chunk-K3Q4XLCN.js → chunk-CQSM6JCO.js} +4 -4
- package/dist/{chunk-B5CKZFDM.js → chunk-D3KCPM4O.js} +4 -4
- package/dist/{chunk-3Z2XZ4ZG.js → chunk-DZSRS37B.js} +6 -6
- package/dist/{chunk-TTVJOFG5.js → chunk-EGT45N6F.js} +4 -4
- package/dist/{chunk-PD7RTFGB.js → chunk-FBFKBV5Y.js} +12 -12
- package/dist/{chunk-OHNBVT52.js → chunk-G7NEBNHU.js} +4 -4
- package/dist/{chunk-ZFTQ2XBH.js → chunk-GFURX6GB.js} +4 -4
- package/dist/{chunk-EWFZXCMV.js → chunk-GGLDVUYU.js} +4 -4
- package/dist/{chunk-3JRHAKLV.js → chunk-GMNJ7FMU.js} +10 -10
- package/dist/{chunk-NIMLBANB.js → chunk-GTXHAZSU.js} +7 -7
- package/dist/{chunk-6HMQEUHX.js → chunk-GZNELGHF.js} +9 -9
- package/dist/{chunk-76PNGKCB.js → chunk-HAZBA3RU.js} +4 -4
- package/dist/{chunk-GXPEADVY.js → chunk-HOMPMIZJ.js} +7 -7
- package/dist/{chunk-SACH3XVV.js → chunk-IEYBSZA3.js} +10 -10
- package/dist/{chunk-HLL4QJJY.js → chunk-IK6FGLFU.js} +10 -10
- package/dist/{chunk-LFYQFYWO.js → chunk-ILCRQ36E.js} +10 -10
- package/dist/{chunk-JRSZNGFD.js → chunk-JZVK4NDF.js} +5 -5
- package/dist/{chunk-MIATMZDP.js → chunk-KCCYHT23.js} +4 -4
- package/dist/{chunk-GXWE3QNN.js → chunk-KMQIN5PA.js} +5 -5
- package/dist/{chunk-GXG26SHU.js → chunk-KMVSJT6Y.js} +8 -8
- package/dist/chunk-LSDD4TAP.js +276 -0
- package/dist/chunk-LSDD4TAP.js.map +1 -0
- package/dist/{chunk-LIV5LHHZ.js → chunk-LT5C6QT7.js} +2 -2
- package/dist/{chunk-MFIOT62L.js → chunk-N4Y3QSUQ.js} +4 -4
- package/dist/{chunk-3WNHPKHP.js → chunk-NCNYKQU7.js} +7 -7
- package/dist/{chunk-BFRNEBJN.js → chunk-NHCUQ25T.js} +5 -5
- package/dist/{chunk-FVNXDLRU.js → chunk-O5MYSBA3.js} +2 -2
- package/dist/{chunk-XXMZLXDE.js → chunk-OHXP63A5.js} +8 -8
- package/dist/{chunk-M6C7IXCB.js → chunk-OXZXUPSB.js} +7 -7
- package/dist/{chunk-KCAOUZCT.js → chunk-P4KO43AP.js} +2 -2
- package/dist/{chunk-TB3ZF5TJ.js → chunk-P6C6KRXM.js} +5 -5
- package/dist/{chunk-6UXCNYVO.js → chunk-PXPGCDNA.js} +4 -4
- package/dist/{chunk-RFXVHZAN.js → chunk-QFEZIPWJ.js} +7 -7
- package/dist/{chunk-ZVSATS4O.js → chunk-QIAMX2NR.js} +7 -7
- package/dist/{chunk-Z34HR7RE.js → chunk-QRI6ARS6.js} +4 -4
- package/dist/{chunk-CNW3YEAK.js → chunk-R3WM6HV6.js} +4 -4
- package/dist/{chunk-MJMHPIYX.js → chunk-SDEDXT7A.js} +4 -4
- package/dist/{chunk-D4U2MCJG.js → chunk-SMLC2O3V.js} +10 -2
- package/dist/chunk-SMLC2O3V.js.map +1 -0
- package/dist/{chunk-R3ZYNS4D.js → chunk-STBTV3GY.js} +9 -9
- package/dist/chunk-SYMOHU2B.js +1 -0
- package/dist/{chunk-6TQGX5ZU.js → chunk-TP7DOXLP.js} +2 -2
- package/dist/{chunk-3DEAIJBF.js → chunk-UGYH6IXU.js} +15 -15
- package/dist/{chunk-5JQOU3IR.js → chunk-UH6Q3TEK.js} +7 -7
- package/dist/{chunk-MTGKF6SO.js → chunk-UKV2WNLS.js} +9 -9
- package/dist/{chunk-PWTMDEL2.js → chunk-V4XCZSRN.js} +10 -10
- package/dist/{chunk-4PYFMD24.js → chunk-VKH2GRVW.js} +2 -2
- package/dist/{chunk-SAEPW5JF.js → chunk-VREM33BW.js} +6 -6
- package/dist/{chunk-ZOPYFDLO.js → chunk-VRJR534I.js} +4 -4
- package/dist/{chunk-JRT6KTBG.js → chunk-WMWXF44S.js} +4 -4
- package/dist/{chunk-JIJLOKVN.js → chunk-WV2HN6H4.js} +4 -4
- package/dist/{chunk-SLJLEPD2.js → chunk-YDHBTQX4.js} +11 -11
- package/dist/{chunk-4QHXYLE4.js → chunk-YE3UDMTZ.js} +10 -10
- package/dist/{chunk-CI2XFT7Y.js → chunk-YP3H5H4D.js} +11 -11
- package/dist/{chunk-WOAZK56Z.js → chunk-Z7SS2DHW.js} +6 -6
- package/dist/context/index.js +5 -5
- package/dist/index.cjs +562 -292
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +160 -156
- package/dist/molecules/autocomplete-textfield.cjs +417 -0
- package/dist/molecules/autocomplete-textfield.cjs.map +1 -0
- package/dist/molecules/autocomplete-textfield.d.cts +26 -0
- package/dist/molecules/autocomplete-textfield.d.ts +26 -0
- package/dist/molecules/autocomplete-textfield.js +12 -0
- package/dist/molecules/autocomplete-textfield.js.map +1 -0
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +16 -16
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +9 -9
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +20 -20
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +22 -22
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +27 -27
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +8 -8
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +5 -5
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +4 -4
- package/dist/molecules/curriculumV2/curriculum-v2-layout.js +2 -2
- package/dist/molecules/curriculumV2/index.js +34 -34
- package/dist/molecules/date-picker/date-picker-button.js +6 -6
- package/dist/molecules/date-picker/index.js +5 -5
- package/dist/molecules/description-json-render.js +5 -5
- package/dist/molecules/download-card.js +2 -2
- package/dist/molecules/dynamic-field.js +5 -5
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js +4 -4
- package/dist/molecules/dynamic-form-editor-field-list-panel.js +3 -3
- package/dist/molecules/dynamic-form-editor-issues-panel.js +3 -3
- package/dist/molecules/dynamic-form-editor-preview-panel.js +8 -8
- package/dist/molecules/dynamic-form-editor.js +15 -15
- package/dist/molecules/dynamic-form.js +6 -6
- package/dist/molecules/expand-table/index.cjs +12 -2
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.d.cts +2 -0
- package/dist/molecules/expand-table/index.d.ts +2 -0
- package/dist/molecules/expand-table/index.js +4 -4
- package/dist/molecules/force-refresh.js +2 -2
- package/dist/molecules/ghost-post.js +4 -4
- package/dist/molecules/index.cjs +298 -2
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.d.cts +2 -0
- package/dist/molecules/index.d.ts +2 -0
- package/dist/molecules/index.js +77 -72
- package/dist/molecules/learning-post.js +5 -5
- package/dist/molecules/navigation.js +3 -3
- package/dist/molecules/one-on-one-guide-list.js +3 -3
- package/dist/molecules/stepper.js +4 -4
- package/dist/molecules/tag-selector.js +5 -5
- package/dist/molecules/training-info-guideline.js +7 -7
- package/package.json +1 -1
- package/src/atoms/dropdown-menu.tsx +13 -0
- package/src/molecules/autocomplete-textfield.tsx +302 -0
- package/src/molecules/expand-table/index.tsx +16 -3
- package/src/molecules/index.ts +2 -1
- package/dist/chunk-5J4YHHVX.js.map +0 -1
- package/dist/chunk-D4U2MCJG.js.map +0 -1
- package/dist/chunk-YWYYPYBK.js +0 -1
- /package/dist/{chunk-I5RQ5T4B.js.map → chunk-24PLAIMJ.js.map} +0 -0
- /package/dist/{chunk-SSSGPTRM.js.map → chunk-3GGJWSFK.js.map} +0 -0
- /package/dist/{chunk-M2PVHXOE.js.map → chunk-3GQQQBJN.js.map} +0 -0
- /package/dist/{chunk-SNPAB3HJ.js.map → chunk-446FD3VT.js.map} +0 -0
- /package/dist/{chunk-KD6EXWP7.js.map → chunk-44VLRAHW.js.map} +0 -0
- /package/dist/{chunk-BKYPABII.js.map → chunk-4N2R7MWQ.js.map} +0 -0
- /package/dist/{chunk-W7TBPRHG.js.map → chunk-5V6MQUTB.js.map} +0 -0
- /package/dist/{chunk-AHXS2MBK.js.map → chunk-5ZEQ33PC.js.map} +0 -0
- /package/dist/{chunk-JFJ3N4V5.js.map → chunk-7I7PZF5L.js.map} +0 -0
- /package/dist/{chunk-MPZJH3PI.js.map → chunk-7ITDAUWI.js.map} +0 -0
- /package/dist/{chunk-YADSNPMG.js.map → chunk-A7LYIUE7.js.map} +0 -0
- /package/dist/{chunk-VK6INFSB.js.map → chunk-AQVIQODP.js.map} +0 -0
- /package/dist/{chunk-VH37R5IH.js.map → chunk-BEIM5PNA.js.map} +0 -0
- /package/dist/{chunk-HWK3UPZ3.js.map → chunk-BRNYILVO.js.map} +0 -0
- /package/dist/{chunk-K3Q4XLCN.js.map → chunk-CQSM6JCO.js.map} +0 -0
- /package/dist/{chunk-B5CKZFDM.js.map → chunk-D3KCPM4O.js.map} +0 -0
- /package/dist/{chunk-3Z2XZ4ZG.js.map → chunk-DZSRS37B.js.map} +0 -0
- /package/dist/{chunk-TTVJOFG5.js.map → chunk-EGT45N6F.js.map} +0 -0
- /package/dist/{chunk-PD7RTFGB.js.map → chunk-FBFKBV5Y.js.map} +0 -0
- /package/dist/{chunk-OHNBVT52.js.map → chunk-G7NEBNHU.js.map} +0 -0
- /package/dist/{chunk-ZFTQ2XBH.js.map → chunk-GFURX6GB.js.map} +0 -0
- /package/dist/{chunk-EWFZXCMV.js.map → chunk-GGLDVUYU.js.map} +0 -0
- /package/dist/{chunk-3JRHAKLV.js.map → chunk-GMNJ7FMU.js.map} +0 -0
- /package/dist/{chunk-NIMLBANB.js.map → chunk-GTXHAZSU.js.map} +0 -0
- /package/dist/{chunk-6HMQEUHX.js.map → chunk-GZNELGHF.js.map} +0 -0
- /package/dist/{chunk-76PNGKCB.js.map → chunk-HAZBA3RU.js.map} +0 -0
- /package/dist/{chunk-GXPEADVY.js.map → chunk-HOMPMIZJ.js.map} +0 -0
- /package/dist/{chunk-SACH3XVV.js.map → chunk-IEYBSZA3.js.map} +0 -0
- /package/dist/{chunk-HLL4QJJY.js.map → chunk-IK6FGLFU.js.map} +0 -0
- /package/dist/{chunk-LFYQFYWO.js.map → chunk-ILCRQ36E.js.map} +0 -0
- /package/dist/{chunk-JRSZNGFD.js.map → chunk-JZVK4NDF.js.map} +0 -0
- /package/dist/{chunk-MIATMZDP.js.map → chunk-KCCYHT23.js.map} +0 -0
- /package/dist/{chunk-GXWE3QNN.js.map → chunk-KMQIN5PA.js.map} +0 -0
- /package/dist/{chunk-GXG26SHU.js.map → chunk-KMVSJT6Y.js.map} +0 -0
- /package/dist/{chunk-LIV5LHHZ.js.map → chunk-LT5C6QT7.js.map} +0 -0
- /package/dist/{chunk-MFIOT62L.js.map → chunk-N4Y3QSUQ.js.map} +0 -0
- /package/dist/{chunk-3WNHPKHP.js.map → chunk-NCNYKQU7.js.map} +0 -0
- /package/dist/{chunk-BFRNEBJN.js.map → chunk-NHCUQ25T.js.map} +0 -0
- /package/dist/{chunk-FVNXDLRU.js.map → chunk-O5MYSBA3.js.map} +0 -0
- /package/dist/{chunk-XXMZLXDE.js.map → chunk-OHXP63A5.js.map} +0 -0
- /package/dist/{chunk-M6C7IXCB.js.map → chunk-OXZXUPSB.js.map} +0 -0
- /package/dist/{chunk-KCAOUZCT.js.map → chunk-P4KO43AP.js.map} +0 -0
- /package/dist/{chunk-TB3ZF5TJ.js.map → chunk-P6C6KRXM.js.map} +0 -0
- /package/dist/{chunk-6UXCNYVO.js.map → chunk-PXPGCDNA.js.map} +0 -0
- /package/dist/{chunk-RFXVHZAN.js.map → chunk-QFEZIPWJ.js.map} +0 -0
- /package/dist/{chunk-ZVSATS4O.js.map → chunk-QIAMX2NR.js.map} +0 -0
- /package/dist/{chunk-Z34HR7RE.js.map → chunk-QRI6ARS6.js.map} +0 -0
- /package/dist/{chunk-CNW3YEAK.js.map → chunk-R3WM6HV6.js.map} +0 -0
- /package/dist/{chunk-MJMHPIYX.js.map → chunk-SDEDXT7A.js.map} +0 -0
- /package/dist/{chunk-R3ZYNS4D.js.map → chunk-STBTV3GY.js.map} +0 -0
- /package/dist/{chunk-YWYYPYBK.js.map → chunk-SYMOHU2B.js.map} +0 -0
- /package/dist/{chunk-6TQGX5ZU.js.map → chunk-TP7DOXLP.js.map} +0 -0
- /package/dist/{chunk-3DEAIJBF.js.map → chunk-UGYH6IXU.js.map} +0 -0
- /package/dist/{chunk-5JQOU3IR.js.map → chunk-UH6Q3TEK.js.map} +0 -0
- /package/dist/{chunk-MTGKF6SO.js.map → chunk-UKV2WNLS.js.map} +0 -0
- /package/dist/{chunk-PWTMDEL2.js.map → chunk-V4XCZSRN.js.map} +0 -0
- /package/dist/{chunk-4PYFMD24.js.map → chunk-VKH2GRVW.js.map} +0 -0
- /package/dist/{chunk-SAEPW5JF.js.map → chunk-VREM33BW.js.map} +0 -0
- /package/dist/{chunk-ZOPYFDLO.js.map → chunk-VRJR534I.js.map} +0 -0
- /package/dist/{chunk-JRT6KTBG.js.map → chunk-WMWXF44S.js.map} +0 -0
- /package/dist/{chunk-JIJLOKVN.js.map → chunk-WV2HN6H4.js.map} +0 -0
- /package/dist/{chunk-SLJLEPD2.js.map → chunk-YDHBTQX4.js.map} +0 -0
- /package/dist/{chunk-4QHXYLE4.js.map → chunk-YE3UDMTZ.js.map} +0 -0
- /package/dist/{chunk-CI2XFT7Y.js.map → chunk-YP3H5H4D.js.map} +0 -0
- /package/dist/{chunk-WOAZK56Z.js.map → chunk-Z7SS2DHW.js.map} +0 -0
package/dist/molecules/index.cjs
CHANGED
|
@@ -79,6 +79,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
79
79
|
// src/molecules/index.ts
|
|
80
80
|
var molecules_exports = {};
|
|
81
81
|
__export(molecules_exports, {
|
|
82
|
+
AutocompleteTextfield: () => AutocompleteTextfield,
|
|
82
83
|
CurriculumBody: () => CurriculumBody,
|
|
83
84
|
CurriculumProvider: () => CurriculumProvider,
|
|
84
85
|
CurriculumSidebar: () => CurriculumSidebar,
|
|
@@ -990,6 +991,7 @@ function ExpandTable(props) {
|
|
|
990
991
|
pageIndex = 0,
|
|
991
992
|
pageSize = 10,
|
|
992
993
|
siblingCount = 2,
|
|
994
|
+
onPageChange,
|
|
993
995
|
getRowStyle,
|
|
994
996
|
getCellStyle,
|
|
995
997
|
variant = "card"
|
|
@@ -999,6 +1001,13 @@ function ExpandTable(props) {
|
|
|
999
1001
|
pageIndex: pageIndex || 0,
|
|
1000
1002
|
pageSize: pageSize || 9999
|
|
1001
1003
|
});
|
|
1004
|
+
(0, import_react6.useEffect)(() => {
|
|
1005
|
+
setPagination((prev) => {
|
|
1006
|
+
const next = pageIndex;
|
|
1007
|
+
if (prev.pageIndex === next) return prev;
|
|
1008
|
+
return __spreadProps(__spreadValues({}, prev), { pageIndex: next });
|
|
1009
|
+
});
|
|
1010
|
+
}, [pageIndex]);
|
|
1002
1011
|
const [sorting, setSorting] = (0, import_react6.useState)([]);
|
|
1003
1012
|
const { getRowModel, getHeaderGroups, setPageIndex } = (0, import_react_table2.useReactTable)({
|
|
1004
1013
|
data: data || [],
|
|
@@ -1023,9 +1032,11 @@ function ExpandTable(props) {
|
|
|
1023
1032
|
const rowModels = getRowModel();
|
|
1024
1033
|
const onChangePagination = (0, import_react6.useCallback)(
|
|
1025
1034
|
(page) => {
|
|
1026
|
-
|
|
1035
|
+
const idx = page - 1;
|
|
1036
|
+
setPageIndex(idx);
|
|
1037
|
+
onPageChange == null ? void 0 : onPageChange(idx);
|
|
1027
1038
|
},
|
|
1028
|
-
[setPageIndex]
|
|
1039
|
+
[setPageIndex, onPageChange]
|
|
1029
1040
|
);
|
|
1030
1041
|
const helpCompRender = (0, import_react6.useCallback)(
|
|
1031
1042
|
(rowLength) => {
|
|
@@ -7131,8 +7142,293 @@ function DynamicFormEditor(props) {
|
|
|
7131
7142
|
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(DynamicFormEditorPreviewPanel, { fields: effectiveSchema.fields, show: showPreview })
|
|
7132
7143
|
] });
|
|
7133
7144
|
}
|
|
7145
|
+
|
|
7146
|
+
// src/molecules/autocomplete-textfield.tsx
|
|
7147
|
+
var import_react47 = require("react");
|
|
7148
|
+
var import_themes42 = require("@radix-ui/themes");
|
|
7149
|
+
|
|
7150
|
+
// src/atoms/dropdown-menu.tsx
|
|
7151
|
+
var import_themes41 = require("@radix-ui/themes");
|
|
7152
|
+
var import_react46 = require("react");
|
|
7153
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
7154
|
+
var Content4 = (0, import_react46.forwardRef)((props, ref) => {
|
|
7155
|
+
const _a = props, { isNavigation, className } = _a, rest = __objRest(_a, ["isNavigation", "className"]);
|
|
7156
|
+
const contentClassName = (0, import_react46.useMemo)(() => {
|
|
7157
|
+
const cls = isNavigation ? "dropdown-navigation" : "";
|
|
7158
|
+
return [cls, className].join(" ");
|
|
7159
|
+
}, [isNavigation, className]);
|
|
7160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
7161
|
+
import_themes41.DropdownMenu.Content,
|
|
7162
|
+
__spreadProps(__spreadValues({
|
|
7163
|
+
ref
|
|
7164
|
+
}, rest), {
|
|
7165
|
+
className: contentClassName
|
|
7166
|
+
})
|
|
7167
|
+
);
|
|
7168
|
+
});
|
|
7169
|
+
Content4.displayName = "DropdownMenu.Content";
|
|
7170
|
+
var Trigger4 = (0, import_react46.forwardRef)(
|
|
7171
|
+
(_a, ref) => {
|
|
7172
|
+
var _b = _a, { asChild: _asChild } = _b, props = __objRest(_b, ["asChild"]);
|
|
7173
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes41.DropdownMenu.Trigger, __spreadValues({ ref }, props));
|
|
7174
|
+
}
|
|
7175
|
+
);
|
|
7176
|
+
Trigger4.displayName = "DropdownMenu.Trigger";
|
|
7177
|
+
var DropdownMenu = __spreadProps(__spreadValues({}, import_themes41.DropdownMenu), {
|
|
7178
|
+
Content: Content4,
|
|
7179
|
+
Trigger: Trigger4
|
|
7180
|
+
});
|
|
7181
|
+
|
|
7182
|
+
// src/molecules/autocomplete-textfield.tsx
|
|
7183
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
7184
|
+
var AutocompleteTextfield = (0, import_react47.forwardRef)(
|
|
7185
|
+
(_a, ref) => {
|
|
7186
|
+
var _b = _a, {
|
|
7187
|
+
options,
|
|
7188
|
+
value: externalValue,
|
|
7189
|
+
onChange,
|
|
7190
|
+
onSelect,
|
|
7191
|
+
placeholder,
|
|
7192
|
+
emptyMessage = "\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
7193
|
+
maxItems = 10,
|
|
7194
|
+
slotLeft,
|
|
7195
|
+
slotRight,
|
|
7196
|
+
error
|
|
7197
|
+
} = _b, rest = __objRest(_b, [
|
|
7198
|
+
"options",
|
|
7199
|
+
"value",
|
|
7200
|
+
"onChange",
|
|
7201
|
+
"onSelect",
|
|
7202
|
+
"placeholder",
|
|
7203
|
+
"emptyMessage",
|
|
7204
|
+
"maxItems",
|
|
7205
|
+
"slotLeft",
|
|
7206
|
+
"slotRight",
|
|
7207
|
+
"error"
|
|
7208
|
+
]);
|
|
7209
|
+
const isControlled = externalValue !== void 0;
|
|
7210
|
+
const [internalValue, setInternalValue] = (0, import_react47.useState)("");
|
|
7211
|
+
const inputValue = isControlled ? externalValue : internalValue;
|
|
7212
|
+
const [open, setOpen] = (0, import_react47.useState)(false);
|
|
7213
|
+
const [highlightedIndex, setHighlightedIndex] = (0, import_react47.useState)(-1);
|
|
7214
|
+
const inputRef = (0, import_react47.useRef)(null);
|
|
7215
|
+
const listRef = (0, import_react47.useRef)(null);
|
|
7216
|
+
const listboxId = (0, import_react47.useId)();
|
|
7217
|
+
const justSelectedRef = (0, import_react47.useRef)(false);
|
|
7218
|
+
const filtered = options.filter(
|
|
7219
|
+
(opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())
|
|
7220
|
+
).slice(0, maxItems);
|
|
7221
|
+
const handleInputChange = (0, import_react47.useCallback)(
|
|
7222
|
+
(e) => {
|
|
7223
|
+
const next = e.target.value;
|
|
7224
|
+
if (!isControlled) setInternalValue(next);
|
|
7225
|
+
onChange == null ? void 0 : onChange(next);
|
|
7226
|
+
const nextFiltered = options.filter((opt) => opt.label.toLowerCase().includes(next.toLowerCase())).slice(0, maxItems);
|
|
7227
|
+
setOpen(nextFiltered.length > 0 || emptyMessage !== null);
|
|
7228
|
+
setHighlightedIndex(-1);
|
|
7229
|
+
},
|
|
7230
|
+
[isControlled, onChange, options, maxItems, emptyMessage]
|
|
7231
|
+
);
|
|
7232
|
+
const handleSelect = (0, import_react47.useCallback)(
|
|
7233
|
+
(option) => {
|
|
7234
|
+
var _a2;
|
|
7235
|
+
if (!isControlled) setInternalValue(option.label);
|
|
7236
|
+
onChange == null ? void 0 : onChange(option.label);
|
|
7237
|
+
onSelect == null ? void 0 : onSelect(option);
|
|
7238
|
+
setOpen(false);
|
|
7239
|
+
setHighlightedIndex(-1);
|
|
7240
|
+
justSelectedRef.current = true;
|
|
7241
|
+
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
7242
|
+
},
|
|
7243
|
+
[isControlled, onChange, onSelect]
|
|
7244
|
+
);
|
|
7245
|
+
const handleFocus = (0, import_react47.useCallback)(() => {
|
|
7246
|
+
if (justSelectedRef.current) {
|
|
7247
|
+
justSelectedRef.current = false;
|
|
7248
|
+
return;
|
|
7249
|
+
}
|
|
7250
|
+
const currentFiltered = options.filter((opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())).slice(0, maxItems);
|
|
7251
|
+
setOpen(currentFiltered.length > 0 || emptyMessage !== null);
|
|
7252
|
+
}, [options, inputValue, maxItems, emptyMessage]);
|
|
7253
|
+
const handleBlur = (0, import_react47.useCallback)((e) => {
|
|
7254
|
+
var _a2, _b2;
|
|
7255
|
+
if (e.relatedTarget && ((_b2 = (_a2 = inputRef.current) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b2.contains(e.relatedTarget))) {
|
|
7256
|
+
return;
|
|
7257
|
+
}
|
|
7258
|
+
setOpen(false);
|
|
7259
|
+
setHighlightedIndex(-1);
|
|
7260
|
+
}, []);
|
|
7261
|
+
const handleKeyDown = (0, import_react47.useCallback)(
|
|
7262
|
+
(e) => {
|
|
7263
|
+
if (!open) {
|
|
7264
|
+
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
7265
|
+
setOpen(true);
|
|
7266
|
+
setHighlightedIndex(0);
|
|
7267
|
+
e.preventDefault();
|
|
7268
|
+
}
|
|
7269
|
+
return;
|
|
7270
|
+
}
|
|
7271
|
+
switch (e.key) {
|
|
7272
|
+
case "ArrowDown":
|
|
7273
|
+
e.preventDefault();
|
|
7274
|
+
setHighlightedIndex(
|
|
7275
|
+
(prev) => prev < filtered.length - 1 ? prev + 1 : 0
|
|
7276
|
+
);
|
|
7277
|
+
break;
|
|
7278
|
+
case "ArrowUp":
|
|
7279
|
+
e.preventDefault();
|
|
7280
|
+
setHighlightedIndex(
|
|
7281
|
+
(prev) => prev > 0 ? prev - 1 : filtered.length - 1
|
|
7282
|
+
);
|
|
7283
|
+
break;
|
|
7284
|
+
case "Enter":
|
|
7285
|
+
e.preventDefault();
|
|
7286
|
+
if (highlightedIndex >= 0 && filtered[highlightedIndex]) {
|
|
7287
|
+
handleSelect(filtered[highlightedIndex]);
|
|
7288
|
+
}
|
|
7289
|
+
break;
|
|
7290
|
+
case "Escape":
|
|
7291
|
+
setOpen(false);
|
|
7292
|
+
setHighlightedIndex(-1);
|
|
7293
|
+
break;
|
|
7294
|
+
case "Tab":
|
|
7295
|
+
setOpen(false);
|
|
7296
|
+
setHighlightedIndex(-1);
|
|
7297
|
+
break;
|
|
7298
|
+
default:
|
|
7299
|
+
break;
|
|
7300
|
+
}
|
|
7301
|
+
},
|
|
7302
|
+
[open, filtered, highlightedIndex, handleSelect]
|
|
7303
|
+
);
|
|
7304
|
+
(0, import_react47.useEffect)(() => {
|
|
7305
|
+
if (!listRef.current || highlightedIndex < 0) return;
|
|
7306
|
+
const item = listRef.current.children[highlightedIndex];
|
|
7307
|
+
item.scrollIntoView({ block: "nearest" });
|
|
7308
|
+
}, [highlightedIndex]);
|
|
7309
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_themes42.Box, { position: "relative", style: { width: "100%" }, children: [
|
|
7310
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
7311
|
+
TextField.Root,
|
|
7312
|
+
__spreadProps(__spreadValues({
|
|
7313
|
+
"aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
|
|
7314
|
+
"aria-autocomplete": "list",
|
|
7315
|
+
"aria-controls": open ? listboxId : void 0,
|
|
7316
|
+
"aria-expanded": open,
|
|
7317
|
+
error,
|
|
7318
|
+
onBlur: handleBlur,
|
|
7319
|
+
onChange: handleInputChange,
|
|
7320
|
+
onFocus: handleFocus,
|
|
7321
|
+
onKeyDown: handleKeyDown,
|
|
7322
|
+
placeholder,
|
|
7323
|
+
ref: (node) => {
|
|
7324
|
+
inputRef.current = node;
|
|
7325
|
+
if (typeof ref === "function") {
|
|
7326
|
+
ref(node);
|
|
7327
|
+
} else if (ref) {
|
|
7328
|
+
ref.current = node;
|
|
7329
|
+
}
|
|
7330
|
+
},
|
|
7331
|
+
role: "combobox",
|
|
7332
|
+
style: { width: "100%" },
|
|
7333
|
+
value: inputValue
|
|
7334
|
+
}, rest), {
|
|
7335
|
+
children: [
|
|
7336
|
+
slotLeft && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
|
|
7337
|
+
slotRight && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TextField.Slot, { side: "right", children: slotRight })
|
|
7338
|
+
]
|
|
7339
|
+
})
|
|
7340
|
+
),
|
|
7341
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
7342
|
+
DropdownMenu.Root,
|
|
7343
|
+
{
|
|
7344
|
+
modal: false,
|
|
7345
|
+
onOpenChange: (nextOpen) => {
|
|
7346
|
+
if (!nextOpen && document.activeElement !== inputRef.current) {
|
|
7347
|
+
setOpen(false);
|
|
7348
|
+
setHighlightedIndex(-1);
|
|
7349
|
+
}
|
|
7350
|
+
},
|
|
7351
|
+
open,
|
|
7352
|
+
children: [
|
|
7353
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7354
|
+
"span",
|
|
7355
|
+
{
|
|
7356
|
+
"aria-hidden": "true",
|
|
7357
|
+
style: {
|
|
7358
|
+
bottom: 0,
|
|
7359
|
+
height: 0,
|
|
7360
|
+
left: 0,
|
|
7361
|
+
opacity: 0,
|
|
7362
|
+
pointerEvents: "none",
|
|
7363
|
+
position: "absolute",
|
|
7364
|
+
width: "100%"
|
|
7365
|
+
}
|
|
7366
|
+
}
|
|
7367
|
+
) }),
|
|
7368
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7369
|
+
DropdownMenu.Content,
|
|
7370
|
+
{
|
|
7371
|
+
align: "start",
|
|
7372
|
+
onCloseAutoFocus: (e) => {
|
|
7373
|
+
e.preventDefault();
|
|
7374
|
+
},
|
|
7375
|
+
onOpenAutoFocus: (e) => {
|
|
7376
|
+
e.preventDefault();
|
|
7377
|
+
},
|
|
7378
|
+
sideOffset: 4,
|
|
7379
|
+
style: {
|
|
7380
|
+
maxHeight: 240,
|
|
7381
|
+
overflowY: "auto",
|
|
7382
|
+
padding: 0,
|
|
7383
|
+
width: "var(--radix-dropdown-menu-trigger-width)"
|
|
7384
|
+
},
|
|
7385
|
+
children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_themes42.Box, { px: "2", py: "2", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Typo, { color: "gray", children: emptyMessage }) }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7386
|
+
"ul",
|
|
7387
|
+
{
|
|
7388
|
+
id: listboxId,
|
|
7389
|
+
ref: listRef,
|
|
7390
|
+
role: "listbox",
|
|
7391
|
+
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
7392
|
+
children: filtered.map((option, index) => {
|
|
7393
|
+
const isHighlighted = index === highlightedIndex;
|
|
7394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7395
|
+
"li",
|
|
7396
|
+
{
|
|
7397
|
+
"aria-selected": isHighlighted,
|
|
7398
|
+
id: `${listboxId}-option-${index}`,
|
|
7399
|
+
onMouseEnter: () => {
|
|
7400
|
+
setHighlightedIndex(index);
|
|
7401
|
+
},
|
|
7402
|
+
onPointerDown: (e) => {
|
|
7403
|
+
e.preventDefault();
|
|
7404
|
+
handleSelect(option);
|
|
7405
|
+
},
|
|
7406
|
+
role: "option",
|
|
7407
|
+
style: {
|
|
7408
|
+
padding: "var(--spacing-4) var(--spacing-6)",
|
|
7409
|
+
cursor: "pointer",
|
|
7410
|
+
backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
|
|
7411
|
+
transition: "background-color 80ms"
|
|
7412
|
+
},
|
|
7413
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Typo, { variant: "body", children: option.label })
|
|
7414
|
+
},
|
|
7415
|
+
option.value
|
|
7416
|
+
);
|
|
7417
|
+
})
|
|
7418
|
+
}
|
|
7419
|
+
)
|
|
7420
|
+
}
|
|
7421
|
+
)
|
|
7422
|
+
]
|
|
7423
|
+
}
|
|
7424
|
+
)
|
|
7425
|
+
] });
|
|
7426
|
+
}
|
|
7427
|
+
);
|
|
7428
|
+
AutocompleteTextfield.displayName = "AutocompleteTextfield";
|
|
7134
7429
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7135
7430
|
0 && (module.exports = {
|
|
7431
|
+
AutocompleteTextfield,
|
|
7136
7432
|
CurriculumBody,
|
|
7137
7433
|
CurriculumProvider,
|
|
7138
7434
|
CurriculumSidebar,
|