@tipp/ui 2.3.21 → 2.3.23
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 +217 -195
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +108 -102
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +32 -32
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +32 -32
- package/dist/app/platform/curriculum-card.cjs.map +1 -1
- package/dist/app/platform/curriculum-card.js +6 -6
- package/dist/app/platform/edit-coaching-time.cjs +47 -25
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +83 -77
- package/dist/app/platform/edit-service-type.cjs +42 -20
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +84 -78
- package/dist/app/platform/goal-manage-card-edit.cjs +50 -28
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +83 -77
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +32 -32
- package/dist/app/platform/on-offline-radio-card.cjs +77 -55
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +83 -77
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +32 -32
- package/dist/app/platform/reservation-card.cjs +66 -44
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +84 -78
- package/dist/app/platform/session-card.cjs +92 -70
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +86 -80
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +32 -32
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +37 -37
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +32 -32
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +32 -32
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +32 -32
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +32 -32
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +31 -31
- package/dist/atoms/bullet-text.js +2 -2
- package/dist/atoms/dialog.js +2 -2
- package/dist/atoms/field-error-wrapper.js +2 -2
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +63 -63
- package/dist/atoms/list.js +2 -2
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +4 -4
- package/dist/chunk-2KOE33U7.js +245 -0
- package/dist/chunk-2KOE33U7.js.map +1 -0
- package/dist/chunk-2U5YD3BH.js +49 -0
- package/dist/chunk-2U5YD3BH.js.map +1 -0
- package/dist/chunk-2X3I7KDG.js +144 -0
- package/dist/chunk-2X3I7KDG.js.map +1 -0
- package/dist/chunk-2YSYS4AG.js +233 -0
- package/dist/chunk-2YSYS4AG.js.map +1 -0
- package/dist/chunk-35HQHUDU.js +228 -0
- package/dist/chunk-35HQHUDU.js.map +1 -0
- package/dist/chunk-3I55S6EP.js +89 -0
- package/dist/chunk-3I55S6EP.js.map +1 -0
- package/dist/chunk-3JDLAN5T.js +99 -0
- package/dist/chunk-3JDLAN5T.js.map +1 -0
- package/dist/chunk-3O2ARPTO.js +161 -0
- package/dist/chunk-3O2ARPTO.js.map +1 -0
- package/dist/chunk-3OO6ENQ4.js +228 -0
- package/dist/chunk-3OO6ENQ4.js.map +1 -0
- package/dist/chunk-45F3UCHR.js +222 -0
- package/dist/chunk-45F3UCHR.js.map +1 -0
- package/dist/chunk-45VET5EX.js +63 -0
- package/dist/chunk-45VET5EX.js.map +1 -0
- package/dist/chunk-4LUFF5LX.js +98 -0
- package/dist/chunk-4LUFF5LX.js.map +1 -0
- package/dist/chunk-4MA4T2XQ.js +222 -0
- package/dist/chunk-4MA4T2XQ.js.map +1 -0
- package/dist/chunk-4VV7VH5L.js +79 -0
- package/dist/chunk-4VV7VH5L.js.map +1 -0
- package/dist/chunk-5JCJ4QJO.js +245 -0
- package/dist/chunk-5JCJ4QJO.js.map +1 -0
- package/dist/chunk-5KZJMQCG.js +89 -0
- package/dist/chunk-5KZJMQCG.js.map +1 -0
- package/dist/chunk-5RAR3DG7.js +117 -0
- package/dist/chunk-5RAR3DG7.js.map +1 -0
- package/dist/chunk-5XOR7OPD.js +196 -0
- package/dist/chunk-5XOR7OPD.js.map +1 -0
- package/dist/chunk-5YESTYFF.js +79 -0
- package/dist/chunk-5YESTYFF.js.map +1 -0
- package/dist/chunk-62AHHT47.js +89 -0
- package/dist/chunk-62AHHT47.js.map +1 -0
- package/dist/chunk-64A2KJHN.js +276 -0
- package/dist/chunk-64A2KJHN.js.map +1 -0
- package/dist/chunk-6CSUU4L7.js +230 -0
- package/dist/chunk-6CSUU4L7.js.map +1 -0
- package/dist/chunk-6FKXUCHD.js +99 -0
- package/dist/chunk-6FKXUCHD.js.map +1 -0
- package/dist/chunk-6Q73GRZT.js +145 -0
- package/dist/chunk-6Q73GRZT.js.map +1 -0
- package/dist/chunk-6TQGX5ZU.js +98 -0
- package/dist/chunk-6TQGX5ZU.js.map +1 -0
- package/dist/chunk-6WGBQSQT.js +228 -0
- package/dist/chunk-6WGBQSQT.js.map +1 -0
- package/dist/chunk-6YZBHOXQ.js +226 -0
- package/dist/chunk-6YZBHOXQ.js.map +1 -0
- package/dist/chunk-7344ZPUM.js +117 -0
- package/dist/chunk-7344ZPUM.js.map +1 -0
- package/dist/chunk-7ABAJEJA.js +63 -0
- package/dist/chunk-7ABAJEJA.js.map +1 -0
- package/dist/chunk-7B5XAENQ.js +363 -0
- package/dist/chunk-7B5XAENQ.js.map +1 -0
- package/dist/chunk-7CQX7ELH.js +69 -0
- package/dist/chunk-7CQX7ELH.js.map +1 -0
- package/dist/chunk-7CRTGYJE.js +80 -0
- package/dist/chunk-7CRTGYJE.js.map +1 -0
- package/dist/chunk-7ITDAUWI.js +287 -0
- package/dist/chunk-7ITDAUWI.js.map +1 -0
- package/dist/chunk-7PQGETJT.js +69 -0
- package/dist/chunk-7PQGETJT.js.map +1 -0
- package/dist/chunk-7R65MUL6.js +106 -0
- package/dist/chunk-7R65MUL6.js.map +1 -0
- package/dist/chunk-7U5EZJOD.js +89 -0
- package/dist/chunk-7U5EZJOD.js.map +1 -0
- package/dist/chunk-7ZBZBOPI.js +63 -0
- package/dist/chunk-7ZBZBOPI.js.map +1 -0
- package/dist/chunk-A2FXUYSB.js +230 -0
- package/dist/chunk-A2FXUYSB.js.map +1 -0
- package/dist/chunk-A7CT5M2S.js +75 -0
- package/dist/chunk-A7CT5M2S.js.map +1 -0
- package/dist/chunk-A7JBBBBB.js +100 -0
- package/dist/chunk-A7JBBBBB.js.map +1 -0
- package/dist/chunk-AA6OYHCE.js +39 -0
- package/dist/chunk-AA6OYHCE.js.map +1 -0
- package/dist/chunk-ALETVN5F.js +245 -0
- package/dist/chunk-ALETVN5F.js.map +1 -0
- package/dist/chunk-ARJOCJVD.js +174 -0
- package/dist/chunk-ARJOCJVD.js.map +1 -0
- package/dist/chunk-ARVLB4CH.js +29 -0
- package/dist/chunk-ARVLB4CH.js.map +1 -0
- package/dist/chunk-B327EINU.js +43 -0
- package/dist/chunk-B327EINU.js.map +1 -0
- package/dist/chunk-B4NH4LIJ.js +99 -0
- package/dist/chunk-B4NH4LIJ.js.map +1 -0
- package/dist/chunk-B4TDMB52.js +226 -0
- package/dist/chunk-B4TDMB52.js.map +1 -0
- package/dist/chunk-BJZSGZ7H.js +63 -0
- package/dist/chunk-BJZSGZ7H.js.map +1 -0
- package/dist/chunk-BPMY3CDH.js +106 -0
- package/dist/chunk-BPMY3CDH.js.map +1 -0
- package/dist/chunk-C2ANXVMQ.js +221 -0
- package/dist/chunk-C2ANXVMQ.js.map +1 -0
- package/dist/chunk-C6BHVWJI.js +165 -0
- package/dist/chunk-C6BHVWJI.js.map +1 -0
- package/dist/chunk-CCLZRSGW.js +87 -0
- package/dist/chunk-CCLZRSGW.js.map +1 -0
- package/dist/chunk-CF3NAPUZ.js +196 -0
- package/dist/chunk-CF3NAPUZ.js.map +1 -0
- package/dist/chunk-CWRJOY56.js +245 -0
- package/dist/chunk-CWRJOY56.js.map +1 -0
- package/dist/chunk-D3H7YFTO.js +69 -0
- package/dist/chunk-D3H7YFTO.js.map +1 -0
- package/dist/chunk-DDAZ4IAG.js +689 -0
- package/dist/chunk-DDAZ4IAG.js.map +1 -0
- package/dist/chunk-DDVJMAYN.js +230 -0
- package/dist/chunk-DDVJMAYN.js.map +1 -0
- package/dist/chunk-DJ24574O.js +28 -0
- package/dist/chunk-DJ24574O.js.map +1 -0
- package/dist/chunk-DJCBLRLH.js +69 -0
- package/dist/chunk-DJCBLRLH.js.map +1 -0
- package/dist/chunk-DTHR4ABO.js +69 -0
- package/dist/chunk-DTHR4ABO.js.map +1 -0
- package/dist/chunk-DTK646M6.js +87 -0
- package/dist/chunk-DTK646M6.js.map +1 -0
- package/dist/chunk-DVZKRKWH.js +174 -0
- package/dist/chunk-DVZKRKWH.js.map +1 -0
- package/dist/chunk-E232GTT6.js +69 -0
- package/dist/chunk-E232GTT6.js.map +1 -0
- package/dist/chunk-EGTOU5MK.js +689 -0
- package/dist/chunk-EGTOU5MK.js.map +1 -0
- package/dist/chunk-EJAC46WB.js +39 -0
- package/dist/chunk-EJAC46WB.js.map +1 -0
- package/dist/chunk-ENFFYCHI.js +63 -0
- package/dist/chunk-ENFFYCHI.js.map +1 -0
- package/dist/chunk-EUUNWKHL.js +69 -0
- package/dist/chunk-EUUNWKHL.js.map +1 -0
- package/dist/chunk-F2I4LA63.js +51 -0
- package/dist/chunk-F2I4LA63.js.map +1 -0
- package/dist/chunk-F65P7KZI.js +98 -0
- package/dist/chunk-F65P7KZI.js.map +1 -0
- package/dist/chunk-F76YKHGP.js +245 -0
- package/dist/chunk-F76YKHGP.js.map +1 -0
- package/dist/chunk-FC4J5OA4.js +144 -0
- package/dist/chunk-FC4J5OA4.js.map +1 -0
- package/dist/chunk-FGX6IR4Q.js +68 -0
- package/dist/chunk-FGX6IR4Q.js.map +1 -0
- package/dist/chunk-FN2CUDUP.js +43 -0
- package/dist/chunk-FN2CUDUP.js.map +1 -0
- package/dist/chunk-FQUAFIUO.js +228 -0
- package/dist/chunk-FQUAFIUO.js.map +1 -0
- package/dist/chunk-FYHAKQGB.js +220 -0
- package/dist/chunk-FYHAKQGB.js.map +1 -0
- package/dist/chunk-G6UKOZPL.js +217 -0
- package/dist/chunk-G6UKOZPL.js.map +1 -0
- package/dist/chunk-GAFIOPGJ.js +54 -0
- package/dist/chunk-GAFIOPGJ.js.map +1 -0
- package/dist/chunk-GEMXFVWI.js +37 -0
- package/dist/chunk-GEMXFVWI.js.map +1 -0
- package/dist/chunk-GFBOT2PV.js +101 -0
- package/dist/chunk-GFBOT2PV.js.map +1 -0
- package/dist/chunk-GFURX6GB.js +76 -0
- package/dist/chunk-GFURX6GB.js.map +1 -0
- package/dist/chunk-GMHVMQTV.js +245 -0
- package/dist/chunk-GMHVMQTV.js.map +1 -0
- package/dist/chunk-GQFO7RV5.js +145 -0
- package/dist/chunk-GQFO7RV5.js.map +1 -0
- package/dist/chunk-GTO7GG2K.js +245 -0
- package/dist/chunk-GTO7GG2K.js.map +1 -0
- package/dist/chunk-GWNS3C3A.js +144 -0
- package/dist/chunk-GWNS3C3A.js.map +1 -0
- package/dist/chunk-HNS76MH2.js +69 -0
- package/dist/chunk-HNS76MH2.js.map +1 -0
- package/dist/chunk-HO462CJM.js +29 -0
- package/dist/chunk-HO462CJM.js.map +1 -0
- package/dist/chunk-HPW5EHJX.js +233 -0
- package/dist/chunk-HPW5EHJX.js.map +1 -0
- package/dist/chunk-HQ23GSZM.js +145 -0
- package/dist/chunk-HQ23GSZM.js.map +1 -0
- package/dist/chunk-HQAX6GAD.js +89 -0
- package/dist/chunk-HQAX6GAD.js.map +1 -0
- package/dist/chunk-HTNDVNLQ.js +287 -0
- package/dist/chunk-HTNDVNLQ.js.map +1 -0
- package/dist/chunk-HXOMTUED.js +222 -0
- package/dist/chunk-HXOMTUED.js.map +1 -0
- package/dist/chunk-INE4EFFO.js +70 -0
- package/dist/chunk-INE4EFFO.js.map +1 -0
- package/dist/chunk-IQUJPIZD.js +689 -0
- package/dist/chunk-IQUJPIZD.js.map +1 -0
- package/dist/chunk-ITKUKDDV.js +196 -0
- package/dist/chunk-ITKUKDDV.js.map +1 -0
- package/dist/chunk-J333WVWG.js +145 -0
- package/dist/chunk-J333WVWG.js.map +1 -0
- package/dist/chunk-JADEGHJI.js +101 -0
- package/dist/chunk-JADEGHJI.js.map +1 -0
- package/dist/chunk-JAS77BXB.js +245 -0
- package/dist/chunk-JAS77BXB.js.map +1 -0
- package/dist/chunk-JDBHOE34.js +51 -0
- package/dist/chunk-JDBHOE34.js.map +1 -0
- package/dist/chunk-JG4JIBBV.js +245 -0
- package/dist/chunk-JG4JIBBV.js.map +1 -0
- package/dist/chunk-JHJSR2UT.js +101 -0
- package/dist/chunk-JHJSR2UT.js.map +1 -0
- package/dist/chunk-JHKIEQKC.js +69 -0
- package/dist/chunk-JHKIEQKC.js.map +1 -0
- package/dist/chunk-JJDLCVZV.js +37 -0
- package/dist/chunk-JJDLCVZV.js.map +1 -0
- package/dist/chunk-JJSZK6KF.js +169 -0
- package/dist/chunk-JJSZK6KF.js.map +1 -0
- package/dist/chunk-JKAMW7OV.js +228 -0
- package/dist/chunk-JKAMW7OV.js.map +1 -0
- package/dist/chunk-JKWO3SGU.js +79 -0
- package/dist/chunk-JKWO3SGU.js.map +1 -0
- package/dist/chunk-JRSZNGFD.js +28 -0
- package/dist/chunk-JRSZNGFD.js.map +1 -0
- package/dist/chunk-JWDXPHJ3.js +117 -0
- package/dist/chunk-JWDXPHJ3.js.map +1 -0
- package/dist/chunk-JZVK4NDF.js +28 -0
- package/dist/chunk-JZVK4NDF.js.map +1 -0
- package/dist/chunk-K255663P.js +144 -0
- package/dist/chunk-K255663P.js.map +1 -0
- package/dist/chunk-K5TTAI44.js +89 -0
- package/dist/chunk-K5TTAI44.js.map +1 -0
- package/dist/chunk-KCAOUZCT.js +245 -0
- package/dist/chunk-KCAOUZCT.js.map +1 -0
- package/dist/chunk-KCCYHT23.js +39 -0
- package/dist/chunk-KCCYHT23.js.map +1 -0
- package/dist/chunk-KFUBWOCN.js +69 -0
- package/dist/chunk-KFUBWOCN.js.map +1 -0
- package/dist/chunk-KHQ3C5HB.js +125 -0
- package/dist/chunk-KHQ3C5HB.js.map +1 -0
- package/dist/chunk-KOKKR2GO.js +37 -0
- package/dist/chunk-KOKKR2GO.js.map +1 -0
- package/dist/chunk-KUKHQCFS.js +233 -0
- package/dist/chunk-KUKHQCFS.js.map +1 -0
- package/dist/chunk-KV432YFG.js +223 -0
- package/dist/chunk-KV432YFG.js.map +1 -0
- package/dist/chunk-L5SQIVFO.js +68 -0
- package/dist/chunk-L5SQIVFO.js.map +1 -0
- package/dist/chunk-LGDFJ7W6.js +174 -0
- package/dist/chunk-LGDFJ7W6.js.map +1 -0
- package/dist/chunk-LIHMBEQT.js +144 -0
- package/dist/chunk-LIHMBEQT.js.map +1 -0
- package/dist/chunk-LJDGAKG3.js +196 -0
- package/dist/chunk-LJDGAKG3.js.map +1 -0
- package/dist/chunk-LSUCPRXN.js +89 -0
- package/dist/chunk-LSUCPRXN.js.map +1 -0
- package/dist/chunk-LTEJYJUM.js +143 -0
- package/dist/chunk-LTEJYJUM.js.map +1 -0
- package/dist/chunk-M5RM57U5.js +69 -0
- package/dist/chunk-M5RM57U5.js.map +1 -0
- package/dist/chunk-MDSCN4PH.js +144 -0
- package/dist/chunk-MDSCN4PH.js.map +1 -0
- package/dist/chunk-MG2KX3KF.js +69 -0
- package/dist/chunk-MG2KX3KF.js.map +1 -0
- package/dist/chunk-MIATMZDP.js +39 -0
- package/dist/chunk-MIATMZDP.js.map +1 -0
- package/dist/chunk-MIVH7X2Q.js +245 -0
- package/dist/chunk-MIVH7X2Q.js.map +1 -0
- package/dist/chunk-MPZJH3PI.js +287 -0
- package/dist/chunk-MPZJH3PI.js.map +1 -0
- package/dist/chunk-MQ4ZZJXV.js +51 -0
- package/dist/chunk-MQ4ZZJXV.js.map +1 -0
- package/dist/chunk-MRTKFR7V.js +144 -0
- package/dist/chunk-MRTKFR7V.js.map +1 -0
- package/dist/chunk-MTSZUPDJ.js +151 -0
- package/dist/chunk-MTSZUPDJ.js.map +1 -0
- package/dist/chunk-MTU2IQUS.js +689 -0
- package/dist/chunk-MTU2IQUS.js.map +1 -0
- package/dist/chunk-MVA6X35R.js +165 -0
- package/dist/chunk-MVA6X35R.js.map +1 -0
- package/dist/chunk-ND5BRCYV.js +75 -0
- package/dist/chunk-ND5BRCYV.js.map +1 -0
- package/dist/chunk-NE5S2QWA.js +51 -0
- package/dist/chunk-NE5S2QWA.js.map +1 -0
- package/dist/chunk-NHK64BOP.js +69 -0
- package/dist/chunk-NHK64BOP.js.map +1 -0
- package/dist/chunk-NHMDJCXR.js +276 -0
- package/dist/chunk-NHMDJCXR.js.map +1 -0
- package/dist/chunk-NIBZSFZ6.js +196 -0
- package/dist/chunk-NIBZSFZ6.js.map +1 -0
- package/dist/chunk-NJ3LHGC6.js +169 -0
- package/dist/chunk-NJ3LHGC6.js.map +1 -0
- package/dist/chunk-NJKRLSH3.js +287 -0
- package/dist/chunk-NJKRLSH3.js.map +1 -0
- package/dist/chunk-NLTKDXLB.js +113 -0
- package/dist/chunk-NLTKDXLB.js.map +1 -0
- package/dist/chunk-NRWZ6JNA.js +69 -0
- package/dist/chunk-NRWZ6JNA.js.map +1 -0
- package/dist/chunk-NSBBMIXS.js +151 -0
- package/dist/chunk-NSBBMIXS.js.map +1 -0
- package/dist/chunk-O665PURC.js +63 -0
- package/dist/chunk-O665PURC.js.map +1 -0
- package/dist/chunk-O6LH7P6V.js +87 -0
- package/dist/chunk-O6LH7P6V.js.map +1 -0
- package/dist/chunk-OF4RHJCY.js +69 -0
- package/dist/chunk-OF4RHJCY.js.map +1 -0
- package/dist/chunk-OL4XCMRU.js +363 -0
- package/dist/chunk-OL4XCMRU.js.map +1 -0
- package/dist/chunk-ORBEMNBA.js +49 -0
- package/dist/chunk-ORBEMNBA.js.map +1 -0
- package/dist/chunk-OYCRE67S.js +87 -0
- package/dist/chunk-OYCRE67S.js.map +1 -0
- package/dist/chunk-P4KO43AP.js +245 -0
- package/dist/chunk-P4KO43AP.js.map +1 -0
- package/dist/chunk-PJHCOBSQ.js +163 -0
- package/dist/chunk-PJHCOBSQ.js.map +1 -0
- package/dist/chunk-PXPGCDNA.js +106 -0
- package/dist/chunk-PXPGCDNA.js.map +1 -0
- package/dist/chunk-QBVF4BCB.js +245 -0
- package/dist/chunk-QBVF4BCB.js.map +1 -0
- package/dist/chunk-QEGDJ4ZD.js +165 -0
- package/dist/chunk-QEGDJ4ZD.js.map +1 -0
- package/dist/chunk-QKP2KBZ5.js +219 -0
- package/dist/chunk-QKP2KBZ5.js.map +1 -0
- package/dist/chunk-QVHA4ANB.js +196 -0
- package/dist/chunk-QVHA4ANB.js.map +1 -0
- package/dist/chunk-QXBRA2T6.js +169 -0
- package/dist/chunk-QXBRA2T6.js.map +1 -0
- package/dist/chunk-RAMPMKQD.js +245 -0
- package/dist/chunk-RAMPMKQD.js.map +1 -0
- package/dist/chunk-REPTW53S.js +98 -0
- package/dist/chunk-REPTW53S.js.map +1 -0
- package/dist/chunk-RFJ5NMY4.js +54 -0
- package/dist/chunk-RFJ5NMY4.js.map +1 -0
- package/dist/chunk-RMFSOYRW.js +99 -0
- package/dist/chunk-RMFSOYRW.js.map +1 -0
- package/dist/chunk-RXQHKSIV.js +37 -0
- package/dist/chunk-RXQHKSIV.js.map +1 -0
- package/dist/chunk-RY7DDHZO.js +51 -0
- package/dist/chunk-RY7DDHZO.js.map +1 -0
- package/dist/chunk-RZGCNQWE.js +89 -0
- package/dist/chunk-RZGCNQWE.js.map +1 -0
- package/dist/chunk-S3W44IB3.js +151 -0
- package/dist/chunk-S3W44IB3.js.map +1 -0
- package/dist/chunk-SEKCH5XW.js +100 -0
- package/dist/chunk-SEKCH5XW.js.map +1 -0
- package/dist/chunk-SFBPPATA.js +37 -0
- package/dist/chunk-SFBPPATA.js.map +1 -0
- package/dist/chunk-SGS3LUQ3.js +196 -0
- package/dist/chunk-SGS3LUQ3.js.map +1 -0
- package/dist/chunk-SLHUNZIR.js +245 -0
- package/dist/chunk-SLHUNZIR.js.map +1 -0
- package/dist/chunk-STCVW5HT.js +49 -0
- package/dist/chunk-STCVW5HT.js.map +1 -0
- package/dist/chunk-SVGGVYY7.js +69 -0
- package/dist/chunk-SVGGVYY7.js.map +1 -0
- package/dist/chunk-T5I3DNHD.js +145 -0
- package/dist/chunk-T5I3DNHD.js.map +1 -0
- package/dist/chunk-TJDCSV5R.js +230 -0
- package/dist/chunk-TJDCSV5R.js.map +1 -0
- package/dist/chunk-TJWFURWT.js +43 -0
- package/dist/chunk-TJWFURWT.js.map +1 -0
- package/dist/chunk-TMO724ZN.js +63 -0
- package/dist/chunk-TMO724ZN.js.map +1 -0
- package/dist/chunk-TP7DOXLP.js +98 -0
- package/dist/chunk-TP7DOXLP.js.map +1 -0
- package/dist/chunk-TQJ3HQ7R.js +87 -0
- package/dist/chunk-TQJ3HQ7R.js.map +1 -0
- package/dist/chunk-TRNLQ7F3.js +245 -0
- package/dist/chunk-TRNLQ7F3.js.map +1 -0
- package/dist/chunk-U6UGFQIT.js +117 -0
- package/dist/chunk-U6UGFQIT.js.map +1 -0
- package/dist/chunk-U7OEYXJQ.js +165 -0
- package/dist/chunk-U7OEYXJQ.js.map +1 -0
- package/dist/chunk-UF6LFXBG.js +230 -0
- package/dist/chunk-UF6LFXBG.js.map +1 -0
- package/dist/chunk-ULZHPTB5.js +70 -0
- package/dist/chunk-ULZHPTB5.js.map +1 -0
- package/dist/chunk-UOCLNOC2.js +145 -0
- package/dist/chunk-UOCLNOC2.js.map +1 -0
- package/dist/chunk-UZ7AGDRK.js +98 -0
- package/dist/chunk-UZ7AGDRK.js.map +1 -0
- package/dist/chunk-V2RMMVGT.js +51 -0
- package/dist/chunk-V2RMMVGT.js.map +1 -0
- package/dist/chunk-V2UREEFT.js +89 -0
- package/dist/chunk-V2UREEFT.js.map +1 -0
- package/dist/chunk-V4WWIPTK.js +363 -0
- package/dist/chunk-V4WWIPTK.js.map +1 -0
- package/dist/chunk-V7IC4EAC.js +51 -0
- package/dist/chunk-V7IC4EAC.js.map +1 -0
- package/dist/chunk-VEHTXVLY.js +169 -0
- package/dist/chunk-VEHTXVLY.js.map +1 -0
- package/dist/chunk-VIVVHI7F.js +63 -0
- package/dist/chunk-VIVVHI7F.js.map +1 -0
- package/dist/chunk-VQMIOVFO.js +69 -0
- package/dist/chunk-VQMIOVFO.js.map +1 -0
- package/dist/chunk-VU3C3W4S.js +106 -0
- package/dist/chunk-VU3C3W4S.js.map +1 -0
- package/dist/chunk-VYPPQUB5.js +196 -0
- package/dist/chunk-VYPPQUB5.js.map +1 -0
- package/dist/chunk-W2TX267T.js +100 -0
- package/dist/chunk-W2TX267T.js.map +1 -0
- package/dist/chunk-W3EW7K6L.js +51 -0
- package/dist/chunk-W3EW7K6L.js.map +1 -0
- package/dist/chunk-W7NQ5NW6.js +100 -0
- package/dist/chunk-W7NQ5NW6.js.map +1 -0
- package/dist/chunk-WA5A2GB4.js +192 -0
- package/dist/chunk-WA5A2GB4.js.map +1 -0
- package/dist/chunk-WPAC4HEX.js +87 -0
- package/dist/chunk-WPAC4HEX.js.map +1 -0
- package/dist/chunk-X2OV53JW.js +196 -0
- package/dist/chunk-X2OV53JW.js.map +1 -0
- package/dist/chunk-X47BEKKF.js +68 -0
- package/dist/chunk-X47BEKKF.js.map +1 -0
- package/dist/chunk-X6K6AM4D.js +196 -0
- package/dist/chunk-X6K6AM4D.js.map +1 -0
- package/dist/chunk-XIKKYBHO.js +69 -0
- package/dist/chunk-XIKKYBHO.js.map +1 -0
- package/dist/chunk-XYDK5OWF.js +75 -0
- package/dist/chunk-XYDK5OWF.js.map +1 -0
- package/dist/chunk-Y2H4FXGU.js +68 -0
- package/dist/chunk-Y2H4FXGU.js.map +1 -0
- package/dist/chunk-YCRTFH4C.js +79 -0
- package/dist/chunk-YCRTFH4C.js.map +1 -0
- package/dist/chunk-YHGFJ7N6.js +63 -0
- package/dist/chunk-YHGFJ7N6.js.map +1 -0
- package/dist/chunk-YKDT2D43.js +98 -0
- package/dist/chunk-YKDT2D43.js.map +1 -0
- package/dist/chunk-YLTKQZ67.js +228 -0
- package/dist/chunk-YLTKQZ67.js.map +1 -0
- package/dist/chunk-YPGFPLWM.js +69 -0
- package/dist/chunk-YPGFPLWM.js.map +1 -0
- package/dist/chunk-YWYYPYBK.js +1 -0
- package/dist/chunk-YWYYPYBK.js.map +1 -0
- package/dist/chunk-Z4NCEYC6.js +70 -0
- package/dist/chunk-Z4NCEYC6.js.map +1 -0
- package/dist/chunk-Z7WNKARH.js +331 -0
- package/dist/chunk-Z7WNKARH.js.map +1 -0
- package/dist/chunk-ZA4NYPSW.js +28 -0
- package/dist/chunk-ZA4NYPSW.js.map +1 -0
- package/dist/chunk-ZDY2M7RX.js +113 -0
- package/dist/chunk-ZDY2M7RX.js.map +1 -0
- package/dist/chunk-ZFTQ2XBH.js +76 -0
- package/dist/chunk-ZFTQ2XBH.js.map +1 -0
- package/dist/chunk-ZI3TYUTO.js +196 -0
- package/dist/chunk-ZI3TYUTO.js.map +1 -0
- package/dist/chunk-ZI7PEVZG.js +89 -0
- package/dist/chunk-ZI7PEVZG.js.map +1 -0
- package/dist/chunk-ZKFNOCWD.js +125 -0
- package/dist/chunk-ZKFNOCWD.js.map +1 -0
- package/dist/chunk-ZOITFRX7.js +70 -0
- package/dist/chunk-ZOITFRX7.js.map +1 -0
- package/dist/chunk-ZPDLTZDJ.js +363 -0
- package/dist/chunk-ZPDLTZDJ.js.map +1 -0
- package/dist/chunk-ZR4G3PU3.js +89 -0
- package/dist/chunk-ZR4G3PU3.js.map +1 -0
- package/dist/context/index.js +5 -5
- package/dist/icon.cjs +2 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +1 -1
- package/dist/icon.d.ts +1 -1
- package/dist/icon.js +3 -1
- package/dist/index.cjs +1706 -308
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +176 -165
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +19 -19
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +5 -5
- 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 +12 -12
- 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 -3
- 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.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +7 -7
- 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 +6 -6
- 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 +6 -6
- 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 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +22 -22
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +7 -7
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +25 -25
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.js +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +30 -30
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +9 -9
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +6 -6
- package/dist/molecules/curriculumV2/curriculum-context.cjs +0 -1
- package/dist/molecules/curriculumV2/curriculum-context.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-context.js +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +6 -6
- package/dist/molecules/curriculumV2/curriculum-v2-layout.js +2 -2
- package/dist/molecules/curriculumV2/index.cjs +4 -5
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +39 -39
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +7 -7
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +6 -6
- package/dist/molecules/description-json-render.cjs +1 -1
- package/dist/molecules/description-json-render.cjs.map +1 -1
- package/dist/molecules/description-json-render.js +7 -7
- package/dist/molecules/download-card.js +2 -2
- package/dist/molecules/dynamic-field.cjs +147 -5
- package/dist/molecules/dynamic-field.cjs.map +1 -1
- package/dist/molecules/dynamic-field.js +9 -6
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs +1711 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.d.cts +19 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.d.ts +19 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js +37 -0
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js.map +1 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.cjs +298 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.d.cts +16 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.d.ts +16 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.js +14 -0
- package/dist/molecules/dynamic-form-editor-field-list-panel.js.map +1 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.cjs +171 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.d.cts +10 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.d.ts +10 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.js +12 -0
- package/dist/molecules/dynamic-form-editor-issues-panel.js.map +1 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.cjs +1021 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.d.cts +10 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.d.ts +10 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.js +26 -0
- package/dist/molecules/dynamic-form-editor-preview-panel.js.map +1 -0
- package/dist/molecules/dynamic-form-editor-utils.cjs +396 -0
- package/dist/molecules/dynamic-form-editor-utils.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor-utils.d.cts +43 -0
- package/dist/molecules/dynamic-form-editor-utils.d.ts +43 -0
- package/dist/molecules/dynamic-form-editor-utils.js +44 -0
- package/dist/molecules/dynamic-form-editor-utils.js.map +1 -0
- package/dist/molecules/dynamic-form-editor.cjs +2925 -0
- package/dist/molecules/dynamic-form-editor.cjs.map +1 -0
- package/dist/molecules/dynamic-form-editor.d.cts +15 -0
- package/dist/molecules/dynamic-form-editor.d.ts +15 -0
- package/dist/molecules/dynamic-form-editor.js +51 -0
- package/dist/molecules/dynamic-form-editor.js.map +1 -0
- package/dist/molecules/dynamic-form-response-item.cjs +21 -12
- package/dist/molecules/dynamic-form-response-item.cjs.map +1 -1
- package/dist/molecules/dynamic-form-response-item.js +1 -1
- package/dist/molecules/dynamic-form.cjs +149 -7
- package/dist/molecules/dynamic-form.cjs.map +1 -1
- package/dist/molecules/dynamic-form.js +10 -7
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +6 -6
- package/dist/molecules/force-refresh.js +2 -2
- package/dist/molecules/ghost-post.js +4 -4
- package/dist/molecules/index.cjs +1426 -27
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.d.cts +1 -0
- package/dist/molecules/index.d.ts +1 -0
- package/dist/molecules/index.js +94 -84
- package/dist/molecules/learning-post.js +6 -6
- package/dist/molecules/navigation.js +3 -3
- package/dist/molecules/one-on-one-guide-list.js +3 -3
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +5 -5
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +6 -6
- package/dist/molecules/time-select.cjs +1 -1
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +2 -2
- package/dist/molecules/training-info-guideline.js +7 -7
- package/dist/types/dynamic-form-schema-generated.cjs.map +1 -1
- package/dist/types/dynamic-form-schema-generated.d.cts +30 -2
- package/dist/types/dynamic-form-schema-generated.d.ts +30 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/curriculum.utils.cjs.map +1 -1
- package/dist/utils/curriculum.utils.js +1 -1
- package/dist/utils/get-callout-icon-component.cjs +624 -0
- package/dist/utils/get-callout-icon-component.cjs.map +1 -0
- package/dist/utils/get-callout-icon-component.d.cts +11 -0
- package/dist/utils/get-callout-icon-component.d.ts +11 -0
- package/dist/utils/get-callout-icon-component.js +26 -0
- package/dist/utils/get-callout-icon-component.js.map +1 -0
- package/dist/utils/getCalloutIconComponent.cjs.map +1 -1
- package/dist/utils/getCalloutIconComponent.js +2 -2
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/src/app/platform/reservation-card.tsx +0 -1
- package/src/constrant/dynamic-form-schema.json +55 -0
- package/src/icon.ts +2 -1
- package/src/molecules/curriculumV2/CurriculumContents/curriculum-video.tsx +3 -3
- package/src/molecules/curriculumV2/curriculum-context.tsx +0 -1
- package/src/molecules/description-json-render.tsx +1 -1
- package/src/molecules/dynamic-field.tsx +183 -7
- package/src/molecules/dynamic-form-editor-field-editor-panel.tsx +688 -0
- package/src/molecules/dynamic-form-editor-field-list-panel.tsx +116 -0
- package/src/molecules/dynamic-form-editor-issues-panel.tsx +35 -0
- package/src/molecules/dynamic-form-editor-preview-panel.tsx +30 -0
- package/src/molecules/dynamic-form-editor-utils.ts +433 -0
- package/src/molecules/dynamic-form-editor.tsx +263 -0
- package/src/molecules/dynamic-form-response-item.tsx +28 -17
- package/src/molecules/dynamic-form.tsx +1 -1
- package/src/molecules/index.ts +2 -1
- package/src/types/dynamic-form-schema-generated.ts +33 -0
- package/src/utils/index.ts +1 -1
- package/src/utils/{getCalloutIconComponent.ts → get-callout-icon-component.ts} +3 -3
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
+
var __objRest = (source, exclude) => {
|
|
24
|
+
var target = {};
|
|
25
|
+
for (var prop in source)
|
|
26
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
+
target[prop] = source[prop];
|
|
28
|
+
if (source != null && __getOwnPropSymbols)
|
|
29
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
+
target[prop] = source[prop];
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
};
|
|
35
|
+
var __export = (target, all) => {
|
|
36
|
+
for (var name in all)
|
|
37
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
+
};
|
|
39
|
+
var __copyProps = (to, from, except, desc) => {
|
|
40
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
+
for (let key of __getOwnPropNames(from))
|
|
42
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
+
}
|
|
45
|
+
return to;
|
|
46
|
+
};
|
|
47
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
+
|
|
49
|
+
// src/molecules/dynamic-form-editor-field-list-panel.tsx
|
|
50
|
+
var dynamic_form_editor_field_list_panel_exports = {};
|
|
51
|
+
__export(dynamic_form_editor_field_list_panel_exports, {
|
|
52
|
+
DynamicFormEditorFieldListPanel: () => DynamicFormEditorFieldListPanel
|
|
53
|
+
});
|
|
54
|
+
module.exports = __toCommonJS(dynamic_form_editor_field_list_panel_exports);
|
|
55
|
+
var import_react4 = require("react");
|
|
56
|
+
var import_themes5 = require("@radix-ui/themes");
|
|
57
|
+
|
|
58
|
+
// src/atoms/card.tsx
|
|
59
|
+
var import_react = require("react");
|
|
60
|
+
var import_themes = require("@radix-ui/themes");
|
|
61
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
62
|
+
var Card = (0, import_react.forwardRef)(
|
|
63
|
+
(props, forwardedRef) => {
|
|
64
|
+
const _a = props, { borderDisable, borderRadius, error } = _a, rest = __objRest(_a, ["borderDisable", "borderRadius", "error"]);
|
|
65
|
+
const borderInsetClassName = (0, import_react.useMemo)(() => {
|
|
66
|
+
if (!borderDisable) return "";
|
|
67
|
+
const { left, right, top, bottom } = borderDisable;
|
|
68
|
+
return [
|
|
69
|
+
left && "disable-inset-left",
|
|
70
|
+
right && "disable-inset-right",
|
|
71
|
+
top && "disable-inset-top",
|
|
72
|
+
bottom && "disable-inset-bottom"
|
|
73
|
+
].filter(Boolean).join(" ");
|
|
74
|
+
}, [borderDisable]);
|
|
75
|
+
const errorClsName = (0, import_react.useMemo)(() => {
|
|
76
|
+
return error ? " error" : "";
|
|
77
|
+
}, [error]);
|
|
78
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
79
|
+
import_themes.Card,
|
|
80
|
+
__spreadProps(__spreadValues({
|
|
81
|
+
variant: "surface"
|
|
82
|
+
}, rest), {
|
|
83
|
+
className: `${borderInsetClassName}${errorClsName} ${rest.className || ""}`,
|
|
84
|
+
"data-radius": borderRadius,
|
|
85
|
+
ref: forwardedRef
|
|
86
|
+
})
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
);
|
|
90
|
+
Card.displayName = "Card";
|
|
91
|
+
|
|
92
|
+
// src/atoms/flex.tsx
|
|
93
|
+
var import_themes2 = require("@radix-ui/themes");
|
|
94
|
+
|
|
95
|
+
// src/atoms/select.tsx
|
|
96
|
+
var import_themes3 = require("@radix-ui/themes");
|
|
97
|
+
var import_react2 = require("react");
|
|
98
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
99
|
+
var SelectContext = (0, import_react2.createContext)({
|
|
100
|
+
error: false
|
|
101
|
+
});
|
|
102
|
+
var Content = (0, import_react2.forwardRef)((props, ref) => {
|
|
103
|
+
const _a = props, { className, isNavigation } = _a, rest = __objRest(_a, ["className", "isNavigation"]);
|
|
104
|
+
const { error } = (0, import_react2.useContext)(SelectContext);
|
|
105
|
+
const cls = (0, import_react2.useMemo)(() => {
|
|
106
|
+
const etc = isNavigation ? "nav-select" : "";
|
|
107
|
+
const errorCls = error ? "tipp-error" : "";
|
|
108
|
+
return [etc, errorCls, className].join(" ");
|
|
109
|
+
}, [className, error, isNavigation]);
|
|
110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
111
|
+
import_themes3.Select.Content,
|
|
112
|
+
__spreadProps(__spreadValues({
|
|
113
|
+
position: "popper"
|
|
114
|
+
}, rest), {
|
|
115
|
+
className: cls,
|
|
116
|
+
ref
|
|
117
|
+
})
|
|
118
|
+
);
|
|
119
|
+
});
|
|
120
|
+
Content.displayName = "Select.Content";
|
|
121
|
+
var Trigger = (0, import_react2.forwardRef)(
|
|
122
|
+
(props, ref) => {
|
|
123
|
+
const _a = props, { className } = _a, rest = __objRest(_a, ["className"]);
|
|
124
|
+
const { error } = (0, import_react2.useContext)(SelectContext);
|
|
125
|
+
const cls = (0, import_react2.useMemo)(() => {
|
|
126
|
+
const errorCls = error ? "error" : "";
|
|
127
|
+
return [errorCls, className].join(" ");
|
|
128
|
+
}, [className, error]);
|
|
129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes3.Select.Trigger, __spreadProps(__spreadValues({}, rest), { className: cls, ref }));
|
|
130
|
+
}
|
|
131
|
+
);
|
|
132
|
+
Trigger.displayName = "Select.Trigger";
|
|
133
|
+
function Root(props) {
|
|
134
|
+
const _a = props, { error } = _a, rest = __objRest(_a, ["error"]);
|
|
135
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SelectContext.Provider, { value: { error }, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes3.Select.Root, __spreadValues({}, rest)) });
|
|
136
|
+
}
|
|
137
|
+
Root.displayName = "Select.Root";
|
|
138
|
+
var Select = __spreadProps(__spreadValues({}, import_themes3.Select), {
|
|
139
|
+
Root,
|
|
140
|
+
Trigger,
|
|
141
|
+
Content
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
// src/atoms/typo.tsx
|
|
145
|
+
var import_themes4 = require("@radix-ui/themes");
|
|
146
|
+
var import_react3 = require("react");
|
|
147
|
+
|
|
148
|
+
// src/utils/map-with-responsive.ts
|
|
149
|
+
var mapWithResponsive = (args) => {
|
|
150
|
+
const { value, mapFn } = args;
|
|
151
|
+
if (typeof value === "string") {
|
|
152
|
+
return mapFn(value);
|
|
153
|
+
}
|
|
154
|
+
;
|
|
155
|
+
if (typeof value === "object") {
|
|
156
|
+
const newObj = {};
|
|
157
|
+
let key;
|
|
158
|
+
for (key in value) {
|
|
159
|
+
newObj[key] = mapFn(value[key]);
|
|
160
|
+
}
|
|
161
|
+
return newObj;
|
|
162
|
+
}
|
|
163
|
+
return value;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
// src/atoms/typo.tsx
|
|
167
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
168
|
+
var Typo = (0, import_react3.forwardRef)(
|
|
169
|
+
(props, ref) => {
|
|
170
|
+
const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
|
|
171
|
+
const radixSize = (0, import_react3.useMemo)(() => {
|
|
172
|
+
if (size !== void 0) return size;
|
|
173
|
+
if (variant === void 0) return "2";
|
|
174
|
+
return mapWithResponsive({
|
|
175
|
+
value: variant,
|
|
176
|
+
mapFn: (variantValue) => {
|
|
177
|
+
switch (variantValue) {
|
|
178
|
+
case "caption":
|
|
179
|
+
return "1";
|
|
180
|
+
case "subtitle":
|
|
181
|
+
return "3";
|
|
182
|
+
case "body":
|
|
183
|
+
default:
|
|
184
|
+
return "2";
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
}, [size, variant]);
|
|
189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes4.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
|
|
190
|
+
}
|
|
191
|
+
);
|
|
192
|
+
Typo.displayName = "Typo";
|
|
193
|
+
|
|
194
|
+
// src/molecules/dynamic-form-editor-utils.ts
|
|
195
|
+
function getFieldTypeLabel(type) {
|
|
196
|
+
const map = {
|
|
197
|
+
short_text: "\uC9E7\uC740 \uD14D\uC2A4\uD2B8",
|
|
198
|
+
long_text: "\uAE34 \uD14D\uC2A4\uD2B8",
|
|
199
|
+
number: "\uC22B\uC790",
|
|
200
|
+
email: "\uC774\uBA54\uC77C",
|
|
201
|
+
dropdown: "\uB4DC\uB86D\uB2E4\uC6B4",
|
|
202
|
+
choice: "\uB2E8\uC77C \uC120\uD0DD(\uB77C\uB514\uC624)",
|
|
203
|
+
radio_cards: "\uB77C\uB514\uC624 \uCE74\uB4DC",
|
|
204
|
+
image_radio_card: "\uC774\uBBF8\uC9C0 \uB77C\uB514\uC624 \uCE74\uB4DC",
|
|
205
|
+
choices: "\uB2E4\uC911 \uC120\uD0DD(\uCCB4\uD06C)",
|
|
206
|
+
yes_no: "\uB3D9\uC758(\uCCB4\uD06C)"
|
|
207
|
+
};
|
|
208
|
+
return map[type];
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// src/molecules/dynamic-form-editor-field-list-panel.tsx
|
|
212
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
213
|
+
function isFieldType(value, types) {
|
|
214
|
+
return types.some((t) => t === value);
|
|
215
|
+
}
|
|
216
|
+
function DynamicFormEditorFieldListPanel(props) {
|
|
217
|
+
const {
|
|
218
|
+
fields,
|
|
219
|
+
selectedFieldName,
|
|
220
|
+
readonly,
|
|
221
|
+
fieldTypes,
|
|
222
|
+
hasFieldError,
|
|
223
|
+
onSelectFieldName,
|
|
224
|
+
onAddField
|
|
225
|
+
} = props;
|
|
226
|
+
const isEmpty = fields.length === 0;
|
|
227
|
+
const triggerPlaceholder = (0, import_react4.useMemo)(() => {
|
|
228
|
+
return readonly ? "\uCD94\uAC00(\uC77D\uAE30 \uC804\uC6A9)" : "\uCD94\uAC00";
|
|
229
|
+
}, [readonly]);
|
|
230
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Card, { style: { width: 340, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
|
|
231
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
|
|
232
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC" }),
|
|
233
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
234
|
+
Select.Root,
|
|
235
|
+
{
|
|
236
|
+
disabled: readonly,
|
|
237
|
+
onValueChange: (v) => {
|
|
238
|
+
if (!isFieldType(v, fieldTypes)) return;
|
|
239
|
+
onAddField(v);
|
|
240
|
+
},
|
|
241
|
+
value: "",
|
|
242
|
+
children: [
|
|
243
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Select.Trigger, { placeholder: triggerPlaceholder }),
|
|
244
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Select.Content, { children: fieldTypes.map((t) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Select.Item, { value: t, children: getFieldTypeLabel(t) }, t)) })
|
|
245
|
+
]
|
|
246
|
+
}
|
|
247
|
+
)
|
|
248
|
+
] }),
|
|
249
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
|
|
250
|
+
isEmpty ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC544\uC9C1 \uD544\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) : null,
|
|
251
|
+
fields.map((field) => {
|
|
252
|
+
const isSelected = field.name === selectedFieldName;
|
|
253
|
+
const hasError = hasFieldError(field.name);
|
|
254
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
255
|
+
Card,
|
|
256
|
+
{
|
|
257
|
+
error: isSelected ? hasError : void 0,
|
|
258
|
+
onClick: () => {
|
|
259
|
+
onSelectFieldName(field.name);
|
|
260
|
+
},
|
|
261
|
+
style: {
|
|
262
|
+
padding: 10,
|
|
263
|
+
cursor: "pointer",
|
|
264
|
+
opacity: readonly ? 0.8 : 1,
|
|
265
|
+
border: isSelected ? "1px solid var(--accent-9)" : "1px solid transparent"
|
|
266
|
+
},
|
|
267
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_themes5.Box, { style: { minWidth: 0 }, children: [
|
|
268
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
269
|
+
Typo,
|
|
270
|
+
{
|
|
271
|
+
style: {
|
|
272
|
+
whiteSpace: "nowrap",
|
|
273
|
+
overflow: "hidden",
|
|
274
|
+
textOverflow: "ellipsis"
|
|
275
|
+
},
|
|
276
|
+
variant: "body",
|
|
277
|
+
children: field.label
|
|
278
|
+
}
|
|
279
|
+
),
|
|
280
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(Typo, { color: "gray", variant: "caption", children: [
|
|
281
|
+
field.name,
|
|
282
|
+
" \xB7 ",
|
|
283
|
+
field.type,
|
|
284
|
+
field.required ? " \xB7 required" : ""
|
|
285
|
+
] })
|
|
286
|
+
] })
|
|
287
|
+
},
|
|
288
|
+
field.name
|
|
289
|
+
);
|
|
290
|
+
})
|
|
291
|
+
] })
|
|
292
|
+
] }) });
|
|
293
|
+
}
|
|
294
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
295
|
+
0 && (module.exports = {
|
|
296
|
+
DynamicFormEditorFieldListPanel
|
|
297
|
+
});
|
|
298
|
+
//# sourceMappingURL=dynamic-form-editor-field-list-panel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/molecules/dynamic-form-editor-field-list-panel.tsx","../../src/atoms/card.tsx","../../src/atoms/flex.tsx","../../src/atoms/select.tsx","../../src/atoms/typo.tsx","../../src/utils/map-with-responsive.ts","../../src/molecules/dynamic-form-editor-utils.ts"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { Box } from '@radix-ui/themes';\nimport { Card } from '@/atoms/card';\nimport { Flex } from '@/atoms/flex';\nimport { Select } from '@/atoms/select';\nimport { Typo } from '@/atoms/typo';\nimport type { DynamicFormFieldSchema } from '@/types/dynamic-form-schema-generated';\nimport { getFieldTypeLabel, type FieldType } from './dynamic-form-editor-utils';\n\nfunction isFieldType(value: string, types: FieldType[]): value is FieldType {\n return types.some((t) => t === value);\n}\n\nexport interface DynamicFormEditorFieldListPanelProps {\n fields: DynamicFormFieldSchema[];\n selectedFieldName: string | null;\n readonly: boolean;\n fieldTypes: FieldType[];\n hasFieldError: (fieldName: string) => boolean;\n onSelectFieldName: (fieldName: string) => void;\n onAddField: (type: FieldType) => void;\n}\n\nexport function DynamicFormEditorFieldListPanel(\n props: DynamicFormEditorFieldListPanelProps\n): React.ReactElement {\n const {\n fields,\n selectedFieldName,\n readonly,\n fieldTypes,\n hasFieldError,\n onSelectFieldName,\n onAddField,\n } = props;\n\n const isEmpty: boolean = fields.length === 0;\n\n const triggerPlaceholder: string = useMemo(() => {\n return readonly ? '추가(읽기 전용)' : '추가';\n }, [readonly]);\n\n return (\n <Card style={{ width: 340, padding: 12 }}>\n <Flex direction=\"column\" gap=\"3\">\n <Flex align=\"center\" justify=\"between\">\n <Typo variant=\"body\">필드</Typo>\n <Select.Root\n disabled={readonly}\n onValueChange={(v: string): void => {\n if (!isFieldType(v, fieldTypes)) return;\n onAddField(v);\n }}\n value=\"\"\n >\n <Select.Trigger placeholder={triggerPlaceholder} />\n <Select.Content>\n {fieldTypes.map((t) => (\n <Select.Item key={t} value={t}>\n {getFieldTypeLabel(t)}\n </Select.Item>\n ))}\n </Select.Content>\n </Select.Root>\n </Flex>\n\n <Flex direction=\"column\" gap=\"2\">\n {isEmpty ? (\n <Typo color=\"gray\" variant=\"caption\">\n 아직 필드가 없습니다.\n </Typo>\n ) : null}\n\n {fields.map((field) => {\n const isSelected: boolean = field.name === selectedFieldName;\n const hasError: boolean = hasFieldError(field.name);\n\n return (\n <Card\n error={isSelected ? hasError : undefined}\n key={field.name}\n onClick={(): void => { onSelectFieldName(field.name); }}\n style={{\n padding: 10,\n cursor: 'pointer',\n opacity: readonly ? 0.8 : 1,\n border: isSelected\n ? '1px solid var(--accent-9)'\n : '1px solid transparent',\n }}\n >\n <Box style={{ minWidth: 0 }}>\n <Typo\n style={{\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }}\n variant=\"body\"\n >\n {field.label}\n </Typo>\n <Typo color=\"gray\" variant=\"caption\">\n {field.name} · {field.type}\n {field.required ? ' · required' : ''}\n </Typo>\n </Box>\n </Card>\n );\n })}\n </Flex>\n </Flex>\n </Card>\n );\n}\n\n","import { forwardRef, useMemo } from 'react';\nimport {\n Card as RadixCard,\n type CardProps as RadixCardProps,\n} from '@radix-ui/themes';\n\nexport type CardProps = RadixCardProps & {\n borderRadius?: 'none';\n borderDisable?: {\n left?: boolean;\n right?: boolean;\n top?: boolean;\n bottom?: boolean;\n };\n error?: boolean;\n};\n\nexport const Card = forwardRef<HTMLDivElement, CardProps>(\n (props, forwardedRef) => {\n const { borderDisable, borderRadius, error, ...rest } = props;\n\n const borderInsetClassName = useMemo(() => {\n if (!borderDisable) return '';\n const { left, right, top, bottom } = borderDisable;\n return [\n left && 'disable-inset-left',\n right && 'disable-inset-right',\n top && 'disable-inset-top',\n bottom && 'disable-inset-bottom',\n ]\n .filter(Boolean)\n .join(' ');\n }, [borderDisable]);\n\n const errorClsName = useMemo(() => {\n return error ? ' error' : '';\n }, [error]);\n\n return (\n <RadixCard\n variant=\"surface\"\n {...rest}\n className={`${borderInsetClassName}${errorClsName} ${rest.className || ''}`}\n data-radius={borderRadius}\n ref={forwardedRef}\n />\n );\n }\n);\n\nCard.displayName = 'Card';\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n","import { Select as RadixSelect } from '@radix-ui/themes';\nimport { createContext, forwardRef, useContext, useMemo } from 'react';\n\nconst SelectContext = createContext<{ error?: boolean }>({\n error: false,\n});\n\nexport type ContentProps = RadixSelect.ContentProps & {\n isNavigation?: boolean;\n};\n\nconst Content = forwardRef<HTMLDivElement, ContentProps>((props, ref) => {\n const { className, isNavigation, ...rest } = props;\n const { error } = useContext(SelectContext);\n\n const cls = useMemo(() => {\n const etc = isNavigation ? 'nav-select' : '';\n const errorCls = error ? 'tipp-error' : '';\n return [etc, errorCls, className].join(' ');\n }, [className, error, isNavigation]);\n\n return (\n <RadixSelect.Content\n position=\"popper\"\n {...rest}\n className={cls}\n ref={ref}\n />\n );\n});\nContent.displayName = 'Select.Content';\n\nconst Trigger = forwardRef<HTMLButtonElement, RadixSelect.TriggerProps>(\n (props, ref) => {\n const { className, ...rest } = props;\n const { error } = useContext(SelectContext);\n\n const cls = useMemo(() => {\n const errorCls = error ? 'error' : '';\n return [errorCls, className].join(' ');\n }, [className, error]);\n\n return <RadixSelect.Trigger {...rest} className={cls} ref={ref} />;\n }\n);\n\nTrigger.displayName = 'Select.Trigger';\n\nexport type SelectRootProps = RadixSelect.RootProps & {\n error?: boolean;\n};\n\nfunction Root(props: SelectRootProps): React.ReactNode {\n const { error, ...rest } = props;\n\n return (\n <SelectContext.Provider value={{ error }}>\n <RadixSelect.Root {...rest} />\n </SelectContext.Provider>\n );\n}\n\nRoot.displayName = 'Select.Root';\n\nexport const Select = {\n ...RadixSelect,\n Root,\n Trigger,\n Content,\n};\n","import type { TextProps as RadixTextProps } from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { Text as RadixText } from '@radix-ui/themes';\nimport React, { useMemo, forwardRef } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport type TypoProps = RadixTextProps & {\n variant?: Responsive<'body' | 'caption' | 'subtitle'>;\n};\n\nexport const Typo = forwardRef<HTMLSpanElement, TypoProps>(\n (props: TypoProps, ref): React.ReactNode => {\n const { size, variant, children, ...rest } = props;\n\n const radixSize = useMemo<RadixTextProps['size']>(() => {\n if (size !== undefined) return size;\n\n if (variant === undefined) return '2';\n\n return mapWithResponsive({\n value: variant,\n mapFn: (variantValue?: 'body' | 'caption' | 'subtitle') => {\n switch (variantValue) {\n case 'caption':\n return '1';\n case 'subtitle':\n return '3';\n case 'body':\n default:\n return '2';\n }\n },\n });\n }, [size, variant]);\n\n return (\n <RadixText {...rest} ref={ref} size={radixSize}>\n {children}\n </RadixText>\n );\n }\n);\n\nTypo.displayName = 'Typo';\n","import type { Breakpoint, Responsive } from \"@radix-ui/themes/props\";\n\nexport const mapWithResponsive = <T extends string,K extends string>(\n args: {value: Responsive<T>, mapFn: (value?:T)=>K |undefined}\n): Responsive<K> | undefined => {\n const {value, mapFn} = args;\n if(typeof value === 'string'){\n return mapFn(value);\n };\n \n if(typeof value === 'object'){\n const newObj: Partial<Record<Breakpoint, K>> = {};\n let key: Breakpoint;\n for(key in value){\n newObj[key] = mapFn(value[key]);\n }\n return newObj;\n }\n return value;\n};\n","import type {\n DynamicFormFieldSchema,\n DynamicFormSchema,\n FieldOption,\n ImageFieldOption,\n ValidationRule,\n} from '@/types/dynamic-form-schema-generated';\n\nexport type FieldType =\n | 'short_text'\n | 'long_text'\n | 'number'\n | 'email'\n | 'dropdown'\n | 'choice'\n | 'radio_cards'\n | 'image_radio_card'\n | 'choices'\n | 'yes_no';\n\nexport type SchemaIssueLevel = 'error' | 'warning';\n\nexport interface SchemaIssue {\n id: string;\n level: SchemaIssueLevel;\n message: string;\n fieldName?: string;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return Boolean(value) && typeof value === 'object' && !Array.isArray(value);\n}\n\nfunction isNonEmptyTrimmedString(value: unknown): value is string {\n return typeof value === 'string' && value.trim().length > 0;\n}\n\nfunction isFiniteNumber(value: unknown): value is number {\n return typeof value === 'number' && Number.isFinite(value);\n}\n\nfunction canCompileRegExp(pattern: string): boolean {\n try {\n // eslint-disable-next-line no-new -- 정규식 컴파일 가능 여부만 확인\n new RegExp(pattern);\n return true;\n } catch {\n return false;\n }\n}\n\nexport function getFieldTypes(): FieldType[] {\n return [\n 'short_text',\n 'long_text',\n 'number',\n 'email',\n 'dropdown',\n 'choice',\n 'radio_cards',\n 'image_radio_card',\n 'choices',\n 'yes_no',\n ];\n}\n\nexport function getFieldTypeLabel(type: FieldType): string {\n const map: Record<FieldType, string> = {\n short_text: '짧은 텍스트',\n long_text: '긴 텍스트',\n number: '숫자',\n email: '이메일',\n dropdown: '드롭다운',\n choice: '단일 선택(라디오)',\n radio_cards: '라디오 카드',\n image_radio_card: '이미지 라디오 카드',\n choices: '다중 선택(체크)',\n yes_no: '동의(체크)',\n };\n return map[type];\n}\n\nexport function findFieldIndexByName(\n fields: DynamicFormFieldSchema[],\n fieldName: string\n): number {\n return fields.findIndex((field) => field.name === fieldName);\n}\n\nfunction toCamelFromSnake(value: string): string {\n const parts: string[] = value.split('_').filter(Boolean);\n if (parts.length === 0) return 'field';\n const [first, ...rest] = parts;\n const firstLower = first.toLowerCase();\n const restCamel = rest\n .map((p) => (p.length === 0 ? '' : p[0].toUpperCase() + p.slice(1)))\n .join('');\n return `${firstLower}${restCamel}`;\n}\n\nexport function createUniqueFieldName(\n fields: DynamicFormFieldSchema[],\n baseName: string\n): string {\n const used = new Set<string>(fields.map((f) => f.name));\n if (!used.has(baseName)) return baseName;\n let i = 2;\n while (used.has(`${baseName}${i}`)) i += 1;\n return `${baseName}${i}`;\n}\n\nexport function createDefaultField(\n type: FieldType,\n currentFields: DynamicFormFieldSchema[]\n): DynamicFormFieldSchema {\n const baseName: string = toCamelFromSnake(type);\n const name: string = createUniqueFieldName(currentFields, baseName);\n const label: string = getFieldTypeLabel(type);\n\n if (type === 'short_text') return { name, type, label, placeholder: '' };\n if (type === 'long_text') return { name, type, label, placeholder: '' };\n if (type === 'number') return { name, type, label, placeholder: '' };\n if (type === 'email') return { name, type, label, placeholder: '' };\n if (type === 'dropdown')\n return {\n name,\n type,\n label,\n placeholder: '',\n options: [{ label: '옵션 1', value: 'option1' }],\n };\n if (type === 'choice')\n return {\n name,\n type,\n label,\n orientation: 'vertical',\n options: [{ label: '옵션 1', value: 'option1' }],\n };\n if (type === 'radio_cards')\n return { name, type, label, options: [{ label: '옵션 1', value: 'option1' }] };\n if (type === 'choices')\n return {\n name,\n type,\n label,\n orientation: 'vertical',\n options: [{ label: '옵션 1', value: 'option1' }],\n };\n if (type === 'yes_no') return { name, type, label, description: '' };\n\n return {\n name,\n type,\n label,\n gridColumnsCount: 4,\n gridItemHeight: '160px',\n gridGap: '2',\n imageFit: 'cover',\n options: [\n {\n label: '이미지 1',\n value: 'option1',\n imageSrc: 'https://placehold.co/300x300/png?text=1',\n },\n ],\n };\n}\n\nexport function normalizeSchema(value: DynamicFormSchema | undefined): DynamicFormSchema {\n const fallback: DynamicFormSchema = { fields: [] };\n if (!value) return fallback;\n if (!Array.isArray(value.fields)) return fallback;\n return { fields: value.fields };\n}\n\nexport function validateDynamicFormSchema(schema: DynamicFormSchema): SchemaIssue[] {\n const issues: SchemaIssue[] = [];\n\n const nameToCount = new Map<string, number>();\n schema.fields.forEach((field) => {\n const prev = nameToCount.get(field.name) || 0;\n nameToCount.set(field.name, prev + 1);\n });\n\n schema.fields.forEach((field, index) => {\n const fieldKey = `${index}:${field.name}`;\n\n if (!isNonEmptyTrimmedString(field.name)) {\n issues.push({\n id: `field.name.required.${fieldKey}`,\n level: 'error',\n message: '필드 name은 필수입니다',\n fieldName: field.name,\n });\n } else if (field.name.trim() !== field.name) {\n issues.push({\n id: `field.name.trim.${fieldKey}`,\n level: 'warning',\n message: '필드 name 앞/뒤 공백은 제거하는 것을 권장합니다',\n fieldName: field.name,\n });\n }\n\n if (isNonEmptyTrimmedString(field.name)) {\n const count = nameToCount.get(field.name) || 0;\n if (count > 1) {\n issues.push({\n id: `field.name.duplicate.${fieldKey}`,\n level: 'error',\n message: `중복된 name입니다: ${field.name}`,\n fieldName: field.name,\n });\n }\n }\n\n if (!isNonEmptyTrimmedString(field.label)) {\n issues.push({\n id: `field.label.required.${fieldKey}`,\n level: 'error',\n message: '필드 label은 필수입니다',\n fieldName: field.name,\n });\n }\n\n const type = field.type;\n const isOptionType =\n type === 'dropdown' ||\n type === 'choice' ||\n type === 'radio_cards' ||\n type === 'choices';\n\n if (isOptionType) {\n const optionsRaw: unknown = field.options;\n if (!Array.isArray(optionsRaw) || optionsRaw.length === 0) {\n issues.push({\n id: `field.options.required.${fieldKey}`,\n level: 'error',\n message: 'options는 1개 이상 필요합니다',\n fieldName: field.name,\n });\n }\n }\n\n if (type === 'image_radio_card') {\n const optionsRaw: unknown = field.options;\n if (!Array.isArray(optionsRaw) || optionsRaw.length === 0) {\n issues.push({\n id: `field.imageOptions.required.${fieldKey}`,\n level: 'error',\n message: 'options는 1개 이상 필요합니다',\n fieldName: field.name,\n });\n } else {\n optionsRaw.forEach((opt, optIndex) => {\n const imageSrc = isRecord(opt) ? opt.imageSrc : undefined;\n if (!isNonEmptyTrimmedString(imageSrc)) {\n issues.push({\n id: `field.imageOptions.imageSrc.required.${fieldKey}.${optIndex}`,\n level: 'error',\n message: 'imageSrc는 필수입니다',\n fieldName: field.name,\n });\n }\n });\n }\n }\n\n const validation: ValidationRule | undefined = field.validation;\n if (validation) {\n if (isFiniteNumber(validation.min) && isFiniteNumber(validation.max)) {\n if (validation.min > validation.max) {\n issues.push({\n id: `field.validation.minmax.${fieldKey}`,\n level: 'error',\n message: 'validation.min은 validation.max 이하이어야 합니다',\n fieldName: field.name,\n });\n }\n }\n if (isNonEmptyTrimmedString(validation.pattern)) {\n if (!canCompileRegExp(validation.pattern)) {\n issues.push({\n id: `field.validation.pattern.${fieldKey}`,\n level: 'error',\n message: 'validation.pattern이 올바른 정규식이 아닙니다',\n fieldName: field.name,\n });\n }\n }\n }\n });\n\n return issues;\n}\n\nexport function hasErrorIssues(issues: SchemaIssue[]): boolean {\n return issues.some((i) => i.level === 'error');\n}\n\nexport function updateSchemaFields(\n schema: DynamicFormSchema,\n nextFields: DynamicFormFieldSchema[]\n): DynamicFormSchema {\n return { fields: nextFields };\n}\n\nexport function moveField(\n fields: DynamicFormFieldSchema[],\n fromIndex: number,\n toIndex: number\n): DynamicFormFieldSchema[] {\n if (fromIndex < 0 || fromIndex >= fields.length) return fields;\n if (toIndex < 0 || toIndex >= fields.length) return fields;\n if (fromIndex === toIndex) return fields;\n\n const next: DynamicFormFieldSchema[] = [...fields];\n const [item] = next.splice(fromIndex, 1);\n next.splice(toIndex, 0, item);\n return next;\n}\n\nexport function duplicateField(fields: DynamicFormFieldSchema[], index: number): DynamicFormFieldSchema[] {\n if (index < 0 || index >= fields.length) return fields;\n const target = fields[index];\n const nextName: string = createUniqueFieldName(fields, target.name);\n const cloned: DynamicFormFieldSchema = { ...target, name: nextName };\n const next: DynamicFormFieldSchema[] = [...fields];\n next.splice(index + 1, 0, cloned);\n return next;\n}\n\nexport function updateFieldCommonProps(\n field: DynamicFormFieldSchema,\n next: {\n name?: string;\n label?: string;\n description?: string | undefined;\n required?: boolean;\n }\n): DynamicFormFieldSchema {\n const { name, label, description, required } = next;\n return {\n ...field,\n ...(name !== undefined ? { name } : {}),\n ...(label !== undefined ? { label } : {}),\n ...(description !== undefined ? { description } : {}),\n ...(required !== undefined ? { required } : {}),\n };\n}\n\nexport function updateFieldValidation(\n field: DynamicFormFieldSchema,\n next: ValidationRule | undefined\n): DynamicFormFieldSchema {\n if (!next) {\n const { validation: _validation, ...rest } = field;\n return rest;\n }\n return { ...field, validation: next };\n}\n\nexport function updateTextPlaceholder(\n field: DynamicFormFieldSchema,\n placeholder: string\n): DynamicFormFieldSchema {\n const type = field.type;\n if (type === 'short_text' || type === 'long_text' || type === 'number' || type === 'email' || type === 'dropdown') {\n return { ...field, placeholder };\n }\n return field;\n}\n\nexport function updateOrientation(\n field: DynamicFormFieldSchema,\n orientation: 'horizontal' | 'vertical'\n): DynamicFormFieldSchema {\n const type = field.type;\n if (type === 'choice' || type === 'choices') return { ...field, orientation };\n return field;\n}\n\nexport function updateOptions(\n field: DynamicFormFieldSchema,\n options: FieldOption[]\n): DynamicFormFieldSchema {\n const type = field.type;\n if (type === 'dropdown' || type === 'choice' || type === 'radio_cards' || type === 'choices') {\n return { ...field, options };\n }\n return field;\n}\n\nexport function updateImageOptions(\n field: DynamicFormFieldSchema,\n options: ImageFieldOption[]\n): DynamicFormFieldSchema {\n if (field.type === 'image_radio_card') {\n return { ...field, options };\n }\n return field;\n}\n\nexport function updateImageLayout(\n field: DynamicFormFieldSchema,\n next: {\n gridColumnsCount?: number | undefined;\n gridItemHeight?: string | undefined;\n gridColumns?: string | undefined;\n gridRows?: string | undefined;\n gridGap?: string | undefined;\n imageFit?: 'cover' | 'contain' | undefined;\n }\n): DynamicFormFieldSchema {\n if (field.type !== 'image_radio_card') return field;\n return { ...field, ...next };\n}\n\nexport function resetFieldType(\n field: DynamicFormFieldSchema,\n nextType: FieldType,\n allFields: DynamicFormFieldSchema[]\n): DynamicFormFieldSchema {\n const base: DynamicFormFieldSchema = createDefaultField(nextType, allFields);\n return {\n ...base,\n name: field.name,\n label: field.label,\n description: field.description,\n required: field.required,\n validation: field.validation,\n };\n}\n"],"mappings":"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","names":["import_react","import_themes","RadixCard","import_themes","import_themes","import_react","import_jsx_runtime","RadixSelect","import_themes","import_react","import_jsx_runtime","RadixText","import_jsx_runtime"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { DynamicFormFieldSchema } from '../types/dynamic-form-schema-generated.cjs';
|
|
3
|
+
import { FieldType } from './dynamic-form-editor-utils.cjs';
|
|
4
|
+
|
|
5
|
+
interface DynamicFormEditorFieldListPanelProps {
|
|
6
|
+
fields: DynamicFormFieldSchema[];
|
|
7
|
+
selectedFieldName: string | null;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
fieldTypes: FieldType[];
|
|
10
|
+
hasFieldError: (fieldName: string) => boolean;
|
|
11
|
+
onSelectFieldName: (fieldName: string) => void;
|
|
12
|
+
onAddField: (type: FieldType) => void;
|
|
13
|
+
}
|
|
14
|
+
declare function DynamicFormEditorFieldListPanel(props: DynamicFormEditorFieldListPanelProps): React__default.ReactElement;
|
|
15
|
+
|
|
16
|
+
export { DynamicFormEditorFieldListPanel, type DynamicFormEditorFieldListPanelProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { DynamicFormFieldSchema } from '../types/dynamic-form-schema-generated.js';
|
|
3
|
+
import { FieldType } from './dynamic-form-editor-utils.js';
|
|
4
|
+
|
|
5
|
+
interface DynamicFormEditorFieldListPanelProps {
|
|
6
|
+
fields: DynamicFormFieldSchema[];
|
|
7
|
+
selectedFieldName: string | null;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
fieldTypes: FieldType[];
|
|
10
|
+
hasFieldError: (fieldName: string) => boolean;
|
|
11
|
+
onSelectFieldName: (fieldName: string) => void;
|
|
12
|
+
onAddField: (type: FieldType) => void;
|
|
13
|
+
}
|
|
14
|
+
declare function DynamicFormEditorFieldListPanel(props: DynamicFormEditorFieldListPanelProps): React__default.ReactElement;
|
|
15
|
+
|
|
16
|
+
export { DynamicFormEditorFieldListPanel, type DynamicFormEditorFieldListPanelProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DynamicFormEditorFieldListPanel
|
|
3
|
+
} from "../chunk-PXPGCDNA.js";
|
|
4
|
+
import "../chunk-Z7WNKARH.js";
|
|
5
|
+
import "../chunk-X2GMDZ7M.js";
|
|
6
|
+
import "../chunk-25HMMI7R.js";
|
|
7
|
+
import "../chunk-RP2RGCAW.js";
|
|
8
|
+
import "../chunk-PMJIFLDT.js";
|
|
9
|
+
import "../chunk-LDBWASUA.js";
|
|
10
|
+
import "../chunk-CRTRMMJ7.js";
|
|
11
|
+
export {
|
|
12
|
+
DynamicFormEditorFieldListPanel
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=dynamic-form-editor-field-list-panel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
+
var __objRest = (source, exclude) => {
|
|
24
|
+
var target = {};
|
|
25
|
+
for (var prop in source)
|
|
26
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
+
target[prop] = source[prop];
|
|
28
|
+
if (source != null && __getOwnPropSymbols)
|
|
29
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
+
target[prop] = source[prop];
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
};
|
|
35
|
+
var __export = (target, all) => {
|
|
36
|
+
for (var name in all)
|
|
37
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
+
};
|
|
39
|
+
var __copyProps = (to, from, except, desc) => {
|
|
40
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
+
for (let key of __getOwnPropNames(from))
|
|
42
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
+
}
|
|
45
|
+
return to;
|
|
46
|
+
};
|
|
47
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
+
|
|
49
|
+
// src/molecules/dynamic-form-editor-issues-panel.tsx
|
|
50
|
+
var dynamic_form_editor_issues_panel_exports = {};
|
|
51
|
+
__export(dynamic_form_editor_issues_panel_exports, {
|
|
52
|
+
DynamicFormEditorIssuesPanel: () => DynamicFormEditorIssuesPanel
|
|
53
|
+
});
|
|
54
|
+
module.exports = __toCommonJS(dynamic_form_editor_issues_panel_exports);
|
|
55
|
+
|
|
56
|
+
// src/atoms/card.tsx
|
|
57
|
+
var import_react = require("react");
|
|
58
|
+
var import_themes = require("@radix-ui/themes");
|
|
59
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
60
|
+
var Card = (0, import_react.forwardRef)(
|
|
61
|
+
(props, forwardedRef) => {
|
|
62
|
+
const _a = props, { borderDisable, borderRadius, error } = _a, rest = __objRest(_a, ["borderDisable", "borderRadius", "error"]);
|
|
63
|
+
const borderInsetClassName = (0, import_react.useMemo)(() => {
|
|
64
|
+
if (!borderDisable) return "";
|
|
65
|
+
const { left, right, top, bottom } = borderDisable;
|
|
66
|
+
return [
|
|
67
|
+
left && "disable-inset-left",
|
|
68
|
+
right && "disable-inset-right",
|
|
69
|
+
top && "disable-inset-top",
|
|
70
|
+
bottom && "disable-inset-bottom"
|
|
71
|
+
].filter(Boolean).join(" ");
|
|
72
|
+
}, [borderDisable]);
|
|
73
|
+
const errorClsName = (0, import_react.useMemo)(() => {
|
|
74
|
+
return error ? " error" : "";
|
|
75
|
+
}, [error]);
|
|
76
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
77
|
+
import_themes.Card,
|
|
78
|
+
__spreadProps(__spreadValues({
|
|
79
|
+
variant: "surface"
|
|
80
|
+
}, rest), {
|
|
81
|
+
className: `${borderInsetClassName}${errorClsName} ${rest.className || ""}`,
|
|
82
|
+
"data-radius": borderRadius,
|
|
83
|
+
ref: forwardedRef
|
|
84
|
+
})
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
Card.displayName = "Card";
|
|
89
|
+
|
|
90
|
+
// src/atoms/flex.tsx
|
|
91
|
+
var import_themes2 = require("@radix-ui/themes");
|
|
92
|
+
|
|
93
|
+
// src/atoms/typo.tsx
|
|
94
|
+
var import_themes3 = require("@radix-ui/themes");
|
|
95
|
+
var import_react2 = require("react");
|
|
96
|
+
|
|
97
|
+
// src/utils/map-with-responsive.ts
|
|
98
|
+
var mapWithResponsive = (args) => {
|
|
99
|
+
const { value, mapFn } = args;
|
|
100
|
+
if (typeof value === "string") {
|
|
101
|
+
return mapFn(value);
|
|
102
|
+
}
|
|
103
|
+
;
|
|
104
|
+
if (typeof value === "object") {
|
|
105
|
+
const newObj = {};
|
|
106
|
+
let key;
|
|
107
|
+
for (key in value) {
|
|
108
|
+
newObj[key] = mapFn(value[key]);
|
|
109
|
+
}
|
|
110
|
+
return newObj;
|
|
111
|
+
}
|
|
112
|
+
return value;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
// src/atoms/typo.tsx
|
|
116
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
117
|
+
var Typo = (0, import_react2.forwardRef)(
|
|
118
|
+
(props, ref) => {
|
|
119
|
+
const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
|
|
120
|
+
const radixSize = (0, import_react2.useMemo)(() => {
|
|
121
|
+
if (size !== void 0) return size;
|
|
122
|
+
if (variant === void 0) return "2";
|
|
123
|
+
return mapWithResponsive({
|
|
124
|
+
value: variant,
|
|
125
|
+
mapFn: (variantValue) => {
|
|
126
|
+
switch (variantValue) {
|
|
127
|
+
case "caption":
|
|
128
|
+
return "1";
|
|
129
|
+
case "subtitle":
|
|
130
|
+
return "3";
|
|
131
|
+
case "body":
|
|
132
|
+
default:
|
|
133
|
+
return "2";
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}, [size, variant]);
|
|
138
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes3.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
Typo.displayName = "Typo";
|
|
142
|
+
|
|
143
|
+
// src/molecules/dynamic-form-editor-issues-panel.tsx
|
|
144
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
145
|
+
function DynamicFormEditorIssuesPanel(props) {
|
|
146
|
+
const { issues } = props;
|
|
147
|
+
if (issues.length === 0) return null;
|
|
148
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
|
|
149
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Typo, { variant: "caption", children: "\uC2A4\uD0A4\uB9C8 \uC774\uC288" }),
|
|
150
|
+
issues.map((i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
151
|
+
Typo,
|
|
152
|
+
{
|
|
153
|
+
color: i.level === "error" ? "red" : "gray",
|
|
154
|
+
variant: "caption",
|
|
155
|
+
children: [
|
|
156
|
+
"[",
|
|
157
|
+
i.level,
|
|
158
|
+
"] ",
|
|
159
|
+
i.message,
|
|
160
|
+
i.fieldName ? ` (field: ${i.fieldName})` : ""
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
i.id
|
|
164
|
+
))
|
|
165
|
+
] }) });
|
|
166
|
+
}
|
|
167
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
168
|
+
0 && (module.exports = {
|
|
169
|
+
DynamicFormEditorIssuesPanel
|
|
170
|
+
});
|
|
171
|
+
//# sourceMappingURL=dynamic-form-editor-issues-panel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/molecules/dynamic-form-editor-issues-panel.tsx","../../src/atoms/card.tsx","../../src/atoms/flex.tsx","../../src/atoms/typo.tsx","../../src/utils/map-with-responsive.ts"],"sourcesContent":["import React from 'react';\nimport { Card } from '@/atoms/card';\nimport { Flex } from '@/atoms/flex';\nimport { Typo } from '@/atoms/typo';\nimport type { SchemaIssue } from './dynamic-form-editor-utils';\n\nexport interface DynamicFormEditorIssuesPanelProps {\n issues: SchemaIssue[];\n}\n\nexport function DynamicFormEditorIssuesPanel(\n props: DynamicFormEditorIssuesPanelProps\n): React.ReactElement | null {\n const { issues } = props;\n if (issues.length === 0) return null;\n\n return (\n <Card style={{ padding: 12 }}>\n <Flex direction=\"column\" gap=\"2\">\n <Typo variant=\"caption\">스키마 이슈</Typo>\n {issues.map((i) => (\n <Typo\n color={i.level === 'error' ? 'red' : 'gray'}\n key={i.id}\n variant=\"caption\"\n >\n [{i.level}] {i.message}\n {i.fieldName ? ` (field: ${i.fieldName})` : ''}\n </Typo>\n ))}\n </Flex>\n </Card>\n );\n}\n\n","import { forwardRef, useMemo } from 'react';\nimport {\n Card as RadixCard,\n type CardProps as RadixCardProps,\n} from '@radix-ui/themes';\n\nexport type CardProps = RadixCardProps & {\n borderRadius?: 'none';\n borderDisable?: {\n left?: boolean;\n right?: boolean;\n top?: boolean;\n bottom?: boolean;\n };\n error?: boolean;\n};\n\nexport const Card = forwardRef<HTMLDivElement, CardProps>(\n (props, forwardedRef) => {\n const { borderDisable, borderRadius, error, ...rest } = props;\n\n const borderInsetClassName = useMemo(() => {\n if (!borderDisable) return '';\n const { left, right, top, bottom } = borderDisable;\n return [\n left && 'disable-inset-left',\n right && 'disable-inset-right',\n top && 'disable-inset-top',\n bottom && 'disable-inset-bottom',\n ]\n .filter(Boolean)\n .join(' ');\n }, [borderDisable]);\n\n const errorClsName = useMemo(() => {\n return error ? ' error' : '';\n }, [error]);\n\n return (\n <RadixCard\n variant=\"surface\"\n {...rest}\n className={`${borderInsetClassName}${errorClsName} ${rest.className || ''}`}\n data-radius={borderRadius}\n ref={forwardedRef}\n />\n );\n }\n);\n\nCard.displayName = 'Card';\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n","import type { TextProps as RadixTextProps } from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { Text as RadixText } from '@radix-ui/themes';\nimport React, { useMemo, forwardRef } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport type TypoProps = RadixTextProps & {\n variant?: Responsive<'body' | 'caption' | 'subtitle'>;\n};\n\nexport const Typo = forwardRef<HTMLSpanElement, TypoProps>(\n (props: TypoProps, ref): React.ReactNode => {\n const { size, variant, children, ...rest } = props;\n\n const radixSize = useMemo<RadixTextProps['size']>(() => {\n if (size !== undefined) return size;\n\n if (variant === undefined) return '2';\n\n return mapWithResponsive({\n value: variant,\n mapFn: (variantValue?: 'body' | 'caption' | 'subtitle') => {\n switch (variantValue) {\n case 'caption':\n return '1';\n case 'subtitle':\n return '3';\n case 'body':\n default:\n return '2';\n }\n },\n });\n }, [size, variant]);\n\n return (\n <RadixText {...rest} ref={ref} size={radixSize}>\n {children}\n </RadixText>\n );\n }\n);\n\nTypo.displayName = 'Typo';\n","import type { Breakpoint, Responsive } from \"@radix-ui/themes/props\";\n\nexport const mapWithResponsive = <T extends string,K extends string>(\n args: {value: Responsive<T>, mapFn: (value?:T)=>K |undefined}\n): Responsive<K> | undefined => {\n const {value, mapFn} = args;\n if(typeof value === 'string'){\n return mapFn(value);\n };\n \n if(typeof value === 'object'){\n const newObj: Partial<Record<Breakpoint, K>> = {};\n let key: Breakpoint;\n for(key in value){\n newObj[key] = mapFn(value[key]);\n }\n return newObj;\n }\n return value;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAAoC;AACpC,oBAGO;AAmCD;AAtBC,IAAM,WAAO;AAAA,EAClB,CAAC,OAAO,iBAAiB;AACvB,UAAwD,YAAhD,iBAAe,cAAc,MAnBzC,IAmB4D,IAAT,iBAAS,IAAT,CAAvC,iBAAe,gBAAc;AAErC,UAAM,2BAAuB,sBAAQ,MAAM;AACzC,UAAI,CAAC,cAAe,QAAO;AAC3B,YAAM,EAAE,MAAM,OAAO,KAAK,OAAO,IAAI;AACrC,aAAO;AAAA,QACL,QAAQ;AAAA,QACR,SAAS;AAAA,QACT,OAAO;AAAA,QACP,UAAU;AAAA,MACZ,EACG,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,IACb,GAAG,CAAC,aAAa,CAAC;AAElB,UAAM,mBAAe,sBAAQ,MAAM;AACjC,aAAO,QAAQ,WAAW;AAAA,IAC5B,GAAG,CAAC,KAAK,CAAC;AAEV,WACE;AAAA,MAAC,cAAAA;AAAA,MAAA;AAAA,QACC,SAAQ;AAAA,SACJ,OAFL;AAAA,QAGC,WAAW,GAAG,oBAAoB,GAAG,YAAY,IAAI,KAAK,aAAa,EAAE;AAAA,QACzE,eAAa;AAAA,QACb,KAAK;AAAA;AAAA,IACP;AAAA,EAEJ;AACF;AAEA,KAAK,cAAc;;;AClDnB,IAAAC,iBAAqC;;;ACErC,IAAAC,iBAAkC;AAClC,IAAAC,gBAA2C;;;ACDpC,IAAM,oBAAoB,CAChC,SAC+B;AAC9B,QAAM,EAAC,OAAO,MAAK,IAAI;AACvB,MAAG,OAAO,UAAU,UAAS;AAC3B,WAAO,MAAM,KAAK;AAAA,EACpB;AAAC;AAED,MAAG,OAAO,UAAU,UAAS;AAC3B,UAAM,SAAyC,CAAC;AAChD,QAAI;AACJ,SAAI,OAAO,OAAM;AACf,aAAO,GAAG,IAAI,MAAM,MAAM,GAAG,CAAC;AAAA,IAChC;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;;;ADiBM,IAAAC,sBAAA;AA1BC,IAAM,WAAO;AAAA,EAClB,CAAC,OAAkB,QAAyB;AAC1C,UAA6C,YAArC,QAAM,SAAS,SAZ3B,IAYiD,IAAT,iBAAS,IAAT,CAA5B,QAAM,WAAS;AAEvB,UAAM,gBAAY,uBAAgC,MAAM;AACtD,UAAI,SAAS,OAAW,QAAO;AAE/B,UAAI,YAAY,OAAW,QAAO;AAElC,aAAO,kBAAkB;AAAA,QACvB,OAAO;AAAA,QACP,OAAO,CAAC,iBAAmD;AACzD,kBAAQ,cAAc;AAAA,YACpB,KAAK;AACH,qBAAO;AAAA,YACT,KAAK;AACH,qBAAO;AAAA,YACT,KAAK;AAAA,YACL;AACE,qBAAO;AAAA,UACX;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACH,GAAG,CAAC,MAAM,OAAO,CAAC;AAElB,WACE,6CAAC,eAAAC,MAAA,iCAAc,OAAd,EAAoB,KAAU,MAAM,WAClC,WACH;AAAA,EAEJ;AACF;AAEA,KAAK,cAAc;;;AHxBX,IAAAC,sBAAA;AATD,SAAS,6BACd,OAC2B;AAC3B,QAAM,EAAE,OAAO,IAAI;AACnB,MAAI,OAAO,WAAW,EAAG,QAAO;AAEhC,SACE,6CAAC,QAAK,OAAO,EAAE,SAAS,GAAG,GACzB,wDAAC,uBAAK,WAAU,UAAS,KAAI,KAC3B;AAAA,iDAAC,QAAK,SAAQ,WAAU,6CAAM;AAAA,IAC7B,OAAO,IAAI,CAAC,MACX;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,UAAU,UAAU,QAAQ;AAAA,QAErC,SAAQ;AAAA,QACT;AAAA;AAAA,UACG,EAAE;AAAA,UAAM;AAAA,UAAG,EAAE;AAAA,UACd,EAAE,YAAY,YAAY,EAAE,SAAS,MAAM;AAAA;AAAA;AAAA,MAJvC,EAAE;AAAA,IAKT,CACD;AAAA,KACH,GACF;AAEJ;","names":["RadixCard","import_themes","import_themes","import_react","import_jsx_runtime","RadixText","import_jsx_runtime"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { SchemaIssue } from './dynamic-form-editor-utils.cjs';
|
|
3
|
+
import '../types/dynamic-form-schema-generated.cjs';
|
|
4
|
+
|
|
5
|
+
interface DynamicFormEditorIssuesPanelProps {
|
|
6
|
+
issues: SchemaIssue[];
|
|
7
|
+
}
|
|
8
|
+
declare function DynamicFormEditorIssuesPanel(props: DynamicFormEditorIssuesPanelProps): React__default.ReactElement | null;
|
|
9
|
+
|
|
10
|
+
export { DynamicFormEditorIssuesPanel, type DynamicFormEditorIssuesPanelProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { SchemaIssue } from './dynamic-form-editor-utils.js';
|
|
3
|
+
import '../types/dynamic-form-schema-generated.js';
|
|
4
|
+
|
|
5
|
+
interface DynamicFormEditorIssuesPanelProps {
|
|
6
|
+
issues: SchemaIssue[];
|
|
7
|
+
}
|
|
8
|
+
declare function DynamicFormEditorIssuesPanel(props: DynamicFormEditorIssuesPanelProps): React__default.ReactElement | null;
|
|
9
|
+
|
|
10
|
+
export { DynamicFormEditorIssuesPanel, type DynamicFormEditorIssuesPanelProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DynamicFormEditorIssuesPanel
|
|
3
|
+
} from "../chunk-KCCYHT23.js";
|
|
4
|
+
import "../chunk-25HMMI7R.js";
|
|
5
|
+
import "../chunk-RP2RGCAW.js";
|
|
6
|
+
import "../chunk-PMJIFLDT.js";
|
|
7
|
+
import "../chunk-LDBWASUA.js";
|
|
8
|
+
import "../chunk-CRTRMMJ7.js";
|
|
9
|
+
export {
|
|
10
|
+
DynamicFormEditorIssuesPanel
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=dynamic-form-editor-issues-panel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|