@tipp/ui 2.4.0 → 2.6.0

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.
Files changed (727) hide show
  1. package/dist/app/index.cjs +1291 -837
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +121 -120
  4. package/dist/app/platform/coach-question-list.cjs +822 -364
  5. package/dist/app/platform/coach-question-list.cjs.map +1 -1
  6. package/dist/app/platform/coach-question-list.js +48 -46
  7. package/dist/app/platform/contents-card.cjs +815 -357
  8. package/dist/app/platform/contents-card.cjs.map +1 -1
  9. package/dist/app/platform/contents-card.js +48 -46
  10. package/dist/app/platform/curriculum-card.cjs +65 -13
  11. package/dist/app/platform/curriculum-card.cjs.map +1 -1
  12. package/dist/app/platform/curriculum-card.js +6 -5
  13. package/dist/app/platform/edit-coaching-time.cjs +1012 -558
  14. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  15. package/dist/app/platform/edit-coaching-time.js +96 -95
  16. package/dist/app/platform/edit-service-type.cjs +995 -541
  17. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  18. package/dist/app/platform/edit-service-type.js +97 -96
  19. package/dist/app/platform/goal-manage-card-edit.cjs +991 -537
  20. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  21. package/dist/app/platform/goal-manage-card-edit.js +96 -95
  22. package/dist/app/platform/goal-manage-card-read.cjs +865 -407
  23. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  24. package/dist/app/platform/goal-manage-card-read.js +48 -46
  25. package/dist/app/platform/on-offline-radio-card.cjs +785 -331
  26. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  27. package/dist/app/platform/on-offline-radio-card.js +96 -95
  28. package/dist/app/platform/report-card.cjs +828 -370
  29. package/dist/app/platform/report-card.cjs.map +1 -1
  30. package/dist/app/platform/report-card.js +48 -46
  31. package/dist/app/platform/reservation-card.cjs +1016 -562
  32. package/dist/app/platform/reservation-card.cjs.map +1 -1
  33. package/dist/app/platform/reservation-card.js +97 -96
  34. package/dist/app/platform/session-card.cjs +1069 -615
  35. package/dist/app/platform/session-card.cjs.map +1 -1
  36. package/dist/app/platform/session-card.js +99 -98
  37. package/dist/app/platform/session-review-simple-read.cjs +825 -367
  38. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  39. package/dist/app/platform/session-review-simple-read.js +48 -46
  40. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +857 -399
  41. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
  42. package/dist/app/platform/userInfos/coaching-customer-info/index.js +54 -52
  43. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +833 -375
  44. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
  45. package/dist/app/platform/userInfos/coaching-customer-info/large.js +49 -47
  46. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +836 -378
  47. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
  48. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +49 -47
  49. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +823 -365
  50. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
  51. package/dist/app/platform/userInfos/coaching-customer-info/small.js +48 -46
  52. package/dist/app/platform/userInfos/session-user-info-detail.cjs +832 -374
  53. package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
  54. package/dist/app/platform/userInfos/session-user-info-detail.js +49 -47
  55. package/dist/app/platform/userInfos/utils.cjs +824 -366
  56. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  57. package/dist/app/platform/userInfos/utils.js +48 -46
  58. package/dist/atoms/alert-dialog.cjs +85 -1
  59. package/dist/atoms/alert-dialog.cjs.map +1 -1
  60. package/dist/atoms/alert-dialog.d.cts +18 -2
  61. package/dist/atoms/alert-dialog.d.ts +18 -2
  62. package/dist/atoms/alert-dialog.js +3 -1
  63. package/dist/atoms/aspect-ratio.d.cts +1 -0
  64. package/dist/atoms/aspect-ratio.d.ts +1 -0
  65. package/dist/atoms/avatar.cjs +39 -2
  66. package/dist/atoms/avatar.cjs.map +1 -1
  67. package/dist/atoms/avatar.d.cts +5 -2
  68. package/dist/atoms/avatar.d.ts +5 -2
  69. package/dist/atoms/avatar.js +2 -1
  70. package/dist/atoms/badge.cjs +34 -9
  71. package/dist/atoms/badge.cjs.map +1 -1
  72. package/dist/atoms/badge.d.cts +4 -5
  73. package/dist/atoms/badge.d.ts +4 -5
  74. package/dist/atoms/badge.js +2 -1
  75. package/dist/atoms/blockquote.cjs +71 -1
  76. package/dist/atoms/blockquote.cjs.map +1 -1
  77. package/dist/atoms/blockquote.d.cts +12 -1
  78. package/dist/atoms/blockquote.d.ts +12 -1
  79. package/dist/atoms/blockquote.js +2 -1
  80. package/dist/atoms/bullet-text.cjs +39 -2
  81. package/dist/atoms/bullet-text.cjs.map +1 -1
  82. package/dist/atoms/bullet-text.d.cts +1 -0
  83. package/dist/atoms/bullet-text.d.ts +1 -0
  84. package/dist/atoms/bullet-text.js +3 -2
  85. package/dist/atoms/button.cjs +33 -3
  86. package/dist/atoms/button.cjs.map +1 -1
  87. package/dist/atoms/button.d.cts +5 -3
  88. package/dist/atoms/button.d.ts +5 -3
  89. package/dist/atoms/button.js +2 -1
  90. package/dist/atoms/button.type.cjs.map +1 -1
  91. package/dist/atoms/button.type.d.cts +3 -1
  92. package/dist/atoms/button.type.d.ts +3 -1
  93. package/dist/atoms/call-out.cjs +78 -1
  94. package/dist/atoms/call-out.cjs.map +1 -1
  95. package/dist/atoms/call-out.d.cts +13 -1
  96. package/dist/atoms/call-out.d.ts +13 -1
  97. package/dist/atoms/call-out.js +2 -1
  98. package/dist/atoms/check-box-card.cjs +78 -1
  99. package/dist/atoms/check-box-card.cjs.map +1 -1
  100. package/dist/atoms/check-box-card.d.cts +12 -1
  101. package/dist/atoms/check-box-card.d.ts +12 -1
  102. package/dist/atoms/check-box-card.js +2 -1
  103. package/dist/atoms/check-box-group.cjs +40 -2
  104. package/dist/atoms/check-box-group.cjs.map +1 -1
  105. package/dist/atoms/check-box-group.d.cts +6 -0
  106. package/dist/atoms/check-box-group.d.ts +6 -0
  107. package/dist/atoms/check-box-group.js +2 -1
  108. package/dist/atoms/check-box.cjs +37 -2
  109. package/dist/atoms/check-box.cjs.map +1 -1
  110. package/dist/atoms/check-box.d.cts +5 -2
  111. package/dist/atoms/check-box.d.ts +5 -2
  112. package/dist/atoms/check-box.js +2 -1
  113. package/dist/atoms/code.cjs +73 -1
  114. package/dist/atoms/code.cjs.map +1 -1
  115. package/dist/atoms/code.d.cts +12 -1
  116. package/dist/atoms/code.d.ts +12 -1
  117. package/dist/atoms/code.js +2 -1
  118. package/dist/atoms/data-list.cjs +77 -1
  119. package/dist/atoms/data-list.cjs.map +1 -1
  120. package/dist/atoms/data-list.d.cts +14 -1
  121. package/dist/atoms/data-list.d.ts +14 -1
  122. package/dist/atoms/data-list.js +2 -1
  123. package/dist/atoms/dialog.cjs +49 -6
  124. package/dist/atoms/dialog.cjs.map +1 -1
  125. package/dist/atoms/dialog.js +4 -3
  126. package/dist/atoms/drawer.cjs +33 -3
  127. package/dist/atoms/drawer.cjs.map +1 -1
  128. package/dist/atoms/drawer.js +3 -2
  129. package/dist/atoms/dropdown-menu.cjs +63 -12
  130. package/dist/atoms/dropdown-menu.cjs.map +1 -1
  131. package/dist/atoms/dropdown-menu.d.cts +27 -17
  132. package/dist/atoms/dropdown-menu.d.ts +27 -17
  133. package/dist/atoms/dropdown-menu.js +3 -1
  134. package/dist/atoms/ellipsis-tooltip.cjs +73 -22
  135. package/dist/atoms/ellipsis-tooltip.cjs.map +1 -1
  136. package/dist/atoms/ellipsis-tooltip.d.cts +1 -0
  137. package/dist/atoms/ellipsis-tooltip.d.ts +1 -0
  138. package/dist/atoms/ellipsis-tooltip.js +5 -3
  139. package/dist/atoms/field-error-wrapper.cjs +39 -2
  140. package/dist/atoms/field-error-wrapper.cjs.map +1 -1
  141. package/dist/atoms/field-error-wrapper.js +3 -2
  142. package/dist/atoms/heading.cjs +38 -2
  143. package/dist/atoms/heading.cjs.map +1 -1
  144. package/dist/atoms/heading.d.cts +3 -1
  145. package/dist/atoms/heading.d.ts +3 -1
  146. package/dist/atoms/heading.js +2 -1
  147. package/dist/atoms/hover-card.cjs +85 -1
  148. package/dist/atoms/hover-card.cjs.map +1 -1
  149. package/dist/atoms/hover-card.d.cts +14 -1
  150. package/dist/atoms/hover-card.d.ts +14 -1
  151. package/dist/atoms/hover-card.js +3 -1
  152. package/dist/atoms/icon-button.cjs +33 -3
  153. package/dist/atoms/icon-button.cjs.map +1 -1
  154. package/dist/atoms/icon-button.d.cts +5 -3
  155. package/dist/atoms/icon-button.d.ts +5 -3
  156. package/dist/atoms/icon-button.js +2 -1
  157. package/dist/atoms/index.cjs +996 -506
  158. package/dist/atoms/index.cjs.map +1 -1
  159. package/dist/atoms/index.d.cts +18 -2
  160. package/dist/atoms/index.d.ts +18 -2
  161. package/dist/atoms/index.js +82 -80
  162. package/dist/atoms/link.cjs +40 -2
  163. package/dist/atoms/link.cjs.map +1 -1
  164. package/dist/atoms/link.d.cts +3 -1
  165. package/dist/atoms/link.d.ts +3 -1
  166. package/dist/atoms/link.js +2 -1
  167. package/dist/atoms/list.cjs +43 -4
  168. package/dist/atoms/list.cjs.map +1 -1
  169. package/dist/atoms/list.js +3 -2
  170. package/dist/atoms/pagination.cjs +100 -42
  171. package/dist/atoms/pagination.cjs.map +1 -1
  172. package/dist/atoms/pagination.d.cts +4 -0
  173. package/dist/atoms/pagination.d.ts +4 -0
  174. package/dist/atoms/pagination.js +5 -4
  175. package/dist/atoms/popover.cjs +85 -1
  176. package/dist/atoms/popover.cjs.map +1 -1
  177. package/dist/atoms/popover.d.cts +16 -1
  178. package/dist/atoms/popover.d.ts +16 -1
  179. package/dist/atoms/popover.js +3 -1
  180. package/dist/atoms/progress.cjs +71 -1
  181. package/dist/atoms/progress.cjs.map +1 -1
  182. package/dist/atoms/progress.d.cts +12 -1
  183. package/dist/atoms/progress.d.ts +12 -1
  184. package/dist/atoms/progress.js +2 -1
  185. package/dist/atoms/radio-cards.cjs +78 -1
  186. package/dist/atoms/radio-cards.cjs.map +1 -1
  187. package/dist/atoms/radio-cards.d.cts +12 -1
  188. package/dist/atoms/radio-cards.d.ts +12 -1
  189. package/dist/atoms/radio-cards.js +2 -1
  190. package/dist/atoms/radio-group.cjs +78 -1
  191. package/dist/atoms/radio-group.cjs.map +1 -1
  192. package/dist/atoms/radio-group.d.cts +12 -1
  193. package/dist/atoms/radio-group.d.ts +12 -1
  194. package/dist/atoms/radio-group.js +2 -1
  195. package/dist/atoms/radio.cjs +71 -1
  196. package/dist/atoms/radio.cjs.map +1 -1
  197. package/dist/atoms/radio.d.cts +12 -1
  198. package/dist/atoms/radio.d.ts +12 -1
  199. package/dist/atoms/radio.js +2 -1
  200. package/dist/atoms/segmented-control.cjs.map +1 -1
  201. package/dist/atoms/segmented-control.js +1 -1
  202. package/dist/atoms/select.cjs +78 -24
  203. package/dist/atoms/select.cjs.map +1 -1
  204. package/dist/atoms/select.d.cts +14 -4
  205. package/dist/atoms/select.d.ts +14 -4
  206. package/dist/atoms/select.js +3 -1
  207. package/dist/atoms/switch.cjs +71 -1
  208. package/dist/atoms/switch.cjs.map +1 -1
  209. package/dist/atoms/switch.d.cts +12 -1
  210. package/dist/atoms/switch.d.ts +12 -1
  211. package/dist/atoms/switch.js +2 -1
  212. package/dist/atoms/tab-nav.cjs +76 -1
  213. package/dist/atoms/tab-nav.cjs.map +1 -1
  214. package/dist/atoms/tab-nav.d.cts +16 -1
  215. package/dist/atoms/tab-nav.d.ts +16 -1
  216. package/dist/atoms/tab-nav.js +2 -1
  217. package/dist/atoms/tabs.cjs +76 -1
  218. package/dist/atoms/tabs.cjs.map +1 -1
  219. package/dist/atoms/tabs.d.cts +19 -1
  220. package/dist/atoms/tabs.d.ts +19 -1
  221. package/dist/atoms/tabs.js +2 -1
  222. package/dist/atoms/tooltip.cjs +46 -9
  223. package/dist/atoms/tooltip.cjs.map +1 -1
  224. package/dist/atoms/tooltip.js +3 -1
  225. package/dist/atoms/typo.cjs +39 -2
  226. package/dist/atoms/typo.cjs.map +1 -1
  227. package/dist/atoms/typo.d.cts +3 -1
  228. package/dist/atoms/typo.d.ts +3 -1
  229. package/dist/atoms/typo.js +2 -1
  230. package/dist/chunk-24PX34TH.js +42 -0
  231. package/dist/chunk-24PX34TH.js.map +1 -0
  232. package/dist/{chunk-EWFZXCMV.js → chunk-2FB75HU2.js} +3 -3
  233. package/dist/{chunk-HTNDVNLQ.js → chunk-2I37QLRA.js} +11 -11
  234. package/dist/{chunk-ZVDAEY5Q.js → chunk-2LCH3PDF.js} +14 -4
  235. package/dist/chunk-2LCH3PDF.js.map +1 -0
  236. package/dist/{chunk-3NUQAVE6.js → chunk-2M3UFZUD.js} +15 -2
  237. package/dist/chunk-2M3UFZUD.js.map +1 -0
  238. package/dist/{chunk-7R65MUL6.js → chunk-2O7NVLVP.js} +6 -6
  239. package/dist/{chunk-OE2AVQED.js → chunk-2SM37SB4.js} +7 -7
  240. package/dist/{chunk-FMAOB6BX.js → chunk-2WNLUQX5.js} +7 -7
  241. package/dist/chunk-3TOUVBIB.js +34 -0
  242. package/dist/chunk-3TOUVBIB.js.map +1 -0
  243. package/dist/{chunk-ADD4KFPG.js → chunk-447H6BVE.js} +7 -7
  244. package/dist/{chunk-W7TBPRHG.js → chunk-5OW76AER.js} +2 -2
  245. package/dist/chunk-6TU647KJ.js +37 -0
  246. package/dist/chunk-6TU647KJ.js.map +1 -0
  247. package/dist/{chunk-62HSZXVT.js → chunk-6YJGQWD6.js} +8 -8
  248. package/dist/{chunk-AA6OYHCE.js → chunk-7JW5Z2TL.js} +5 -5
  249. package/dist/{chunk-ZA4NYPSW.js → chunk-7PBLFV5L.js} +6 -6
  250. package/dist/{chunk-XK6VEVOK.js → chunk-7RJYF5L3.js} +14 -4
  251. package/dist/chunk-7RJYF5L3.js.map +1 -0
  252. package/dist/{chunk-HBQY4ELG.js → chunk-A26UWBVB.js} +4 -4
  253. package/dist/{chunk-BYFSYL7V.js → chunk-A4YOY75P.js} +4 -4
  254. package/dist/{chunk-LSDD4TAP.js → chunk-AJTGTGOC.js} +3 -3
  255. package/dist/{chunk-ADAQSPUA.js → chunk-BEKSO5JG.js} +2 -2
  256. package/dist/chunk-BI6TW3ZO.js +51 -0
  257. package/dist/chunk-BI6TW3ZO.js.map +1 -0
  258. package/dist/chunk-BK74U562.js +52 -0
  259. package/dist/chunk-BK74U562.js.map +1 -0
  260. package/dist/{chunk-JWAQUXGB.js → chunk-BZ3EXV6A.js} +3 -3
  261. package/dist/{chunk-Z34HR7RE.js → chunk-C2G3IB7G.js} +2 -2
  262. package/dist/chunk-CGDBUDY3.js +37 -0
  263. package/dist/chunk-CGDBUDY3.js.map +1 -0
  264. package/dist/chunk-DX3DLP5Z.js +39 -0
  265. package/dist/chunk-DX3DLP5Z.js.map +1 -0
  266. package/dist/{chunk-4U6DFH7Z.js → chunk-E6GCU5IQ.js} +2 -2
  267. package/dist/chunk-EIKFXUNC.js +39 -0
  268. package/dist/chunk-EIKFXUNC.js.map +1 -0
  269. package/dist/{chunk-CSKNBWPB.js → chunk-EZN5PMTC.js} +3 -3
  270. package/dist/chunk-EZN5PMTC.js.map +1 -0
  271. package/dist/{chunk-ZOPYFDLO.js → chunk-GAA3RTRW.js} +2 -2
  272. package/dist/{chunk-RSZDAY62.js → chunk-GE4M5GOQ.js} +3 -3
  273. package/dist/chunk-GI4AN2IZ.js +42 -0
  274. package/dist/chunk-GI4AN2IZ.js.map +1 -0
  275. package/dist/{chunk-RNRZ3LV7.js → chunk-GPULIICW.js} +8 -8
  276. package/dist/{chunk-K36TPMKL.js → chunk-GPZXD762.js} +18 -3
  277. package/dist/chunk-GPZXD762.js.map +1 -0
  278. package/dist/{chunk-PMJIFLDT.js → chunk-GR4PG6HY.js} +20 -3
  279. package/dist/chunk-GR4PG6HY.js.map +1 -0
  280. package/dist/{chunk-7PF6I4RN.js → chunk-GRDRXD53.js} +2 -2
  281. package/dist/{chunk-SH6FSA7T.js → chunk-GREYLAMY.js} +6 -6
  282. package/dist/{chunk-SAEPW5JF.js → chunk-GYSRHZRS.js} +4 -4
  283. package/dist/{chunk-UMUSNH2D.js → chunk-H3GQHGFA.js} +5 -5
  284. package/dist/{chunk-OILH5J7Q.js → chunk-HH6LML5K.js} +8 -8
  285. package/dist/{chunk-SE5TPTP2.js → chunk-IA74OBFY.js} +58 -41
  286. package/dist/chunk-IA74OBFY.js.map +1 -0
  287. package/dist/{chunk-KP4SGRJZ.js → chunk-IM6E52L2.js} +11 -11
  288. package/dist/{chunk-TVDKGMBI.js → chunk-IT7ZTP7F.js} +1 -1
  289. package/dist/chunk-IT7ZTP7F.js.map +1 -0
  290. package/dist/{chunk-6OKBTWEC.js → chunk-J7N2IZQW.js} +6 -6
  291. package/dist/{chunk-EEAHZCIK.js → chunk-JCUG2XKB.js} +2 -2
  292. package/dist/chunk-JETG3WEI.js +39 -0
  293. package/dist/chunk-JETG3WEI.js.map +1 -0
  294. package/dist/{chunk-REPTW53S.js → chunk-JNEGSY5N.js} +3 -3
  295. package/dist/chunk-KNIIDDYM.js +34 -0
  296. package/dist/chunk-KNIIDDYM.js.map +1 -0
  297. package/dist/{chunk-4TST4UK5.js → chunk-KO3V7KB6.js} +2 -2
  298. package/dist/{chunk-KTQREW2K.js → chunk-LIWQ47VQ.js} +9 -9
  299. package/dist/{chunk-B37MCN6F.js → chunk-LQ3WGFS7.js} +8 -8
  300. package/dist/{chunk-YADSNPMG.js → chunk-M77YPVQN.js} +3 -3
  301. package/dist/{chunk-GTO7GG2K.js → chunk-MCKWO7K4.js} +5 -5
  302. package/dist/{chunk-OHNBVT52.js → chunk-MGR37YQB.js} +4 -4
  303. package/dist/{chunk-QDC3LFHS.js → chunk-MMLVZWMD.js} +3 -3
  304. package/dist/{chunk-3G3RPU6Q.js → chunk-MP5KZULQ.js} +12 -12
  305. package/dist/{chunk-JRT6KTBG.js → chunk-MSLSD7F6.js} +3 -3
  306. package/dist/{chunk-FGLOHHYP.js → chunk-MSM2QG23.js} +10 -10
  307. package/dist/{chunk-V7IC4EAC.js → chunk-NFMEBYNY.js} +5 -5
  308. package/dist/{chunk-C6ZC7TXX.js → chunk-NIHOKIYW.js} +6 -6
  309. package/dist/{chunk-BESTU2AY.js → chunk-NLHVQJQ2.js} +19 -3
  310. package/dist/chunk-NLHVQJQ2.js.map +1 -0
  311. package/dist/{chunk-M2PVHXOE.js → chunk-NYG34MV6.js} +3 -3
  312. package/dist/{chunk-N7NDDJW5.js → chunk-OA3DGWVL.js} +16 -16
  313. package/dist/{chunk-XLKJYRFY.js → chunk-OBWQ3N5D.js} +4 -4
  314. package/dist/{chunk-IN6S7PPW.js → chunk-OEHVGPWL.js} +17 -17
  315. package/dist/chunk-OLJN3WXR.js +1 -0
  316. package/dist/{chunk-X4OCUESK.js → chunk-OPYRV6XJ.js} +2 -2
  317. package/dist/{chunk-6QVHJ5WW.js → chunk-OQN4E2QP.js} +4 -4
  318. package/dist/{chunk-LE6CNJWH.js → chunk-OWQUXTQ2.js} +4 -4
  319. package/dist/{chunk-NTJLECYY.js → chunk-OYXUWBKS.js} +6 -6
  320. package/dist/{chunk-B5CKZFDM.js → chunk-PE4EBBU4.js} +3 -3
  321. package/dist/{chunk-5TZNUXBT.js → chunk-PXMJK5D5.js} +6 -6
  322. package/dist/{chunk-Y4U24VXI.js → chunk-Q3M6GFHY.js} +3 -3
  323. package/dist/{chunk-ZFTQ2XBH.js → chunk-QPL7SJQM.js} +3 -3
  324. package/dist/{chunk-NX5ESRCX.js → chunk-RMVVV5NH.js} +7 -7
  325. package/dist/chunk-RMW3MQF5.js +42 -0
  326. package/dist/chunk-RMW3MQF5.js.map +1 -0
  327. package/dist/{chunk-Q7KT3UPO.js → chunk-RUJZ5PE7.js} +4 -4
  328. package/dist/chunk-SA7AYYQS.js +39 -0
  329. package/dist/chunk-SA7AYYQS.js.map +1 -0
  330. package/dist/{chunk-6SQZJN5Y.js → chunk-T2CGNUCP.js} +7 -7
  331. package/dist/chunk-T73HHR3I.js +67 -0
  332. package/dist/chunk-T73HHR3I.js.map +1 -0
  333. package/dist/chunk-TNNF5Q62.js +34 -0
  334. package/dist/chunk-TNNF5Q62.js.map +1 -0
  335. package/dist/{chunk-SLFUYRIC.js → chunk-TU6SGJ5Z.js} +6 -6
  336. package/dist/{chunk-AHXS2MBK.js → chunk-TYEGB5FQ.js} +4 -4
  337. package/dist/{chunk-DQ6EIA2T.js → chunk-UFM3EL52.js} +7 -7
  338. package/dist/chunk-UFRB2BVD.js +34 -0
  339. package/dist/chunk-UFRB2BVD.js.map +1 -0
  340. package/dist/chunk-UFWDQGOK.js +36 -0
  341. package/dist/chunk-UFWDQGOK.js.map +1 -0
  342. package/dist/{chunk-CNW3YEAK.js → chunk-VD5ZDFCM.js} +2 -2
  343. package/dist/chunk-VFQD57ZY.js +27 -0
  344. package/dist/chunk-VFQD57ZY.js.map +1 -0
  345. package/dist/chunk-VOME2TE7.js +641 -0
  346. package/dist/chunk-VOME2TE7.js.map +1 -0
  347. package/dist/{chunk-W7X7KSJP.js → chunk-WG5OK3YN.js} +19 -3
  348. package/dist/chunk-WG5OK3YN.js.map +1 -0
  349. package/dist/{chunk-64XYTE54.js → chunk-WY37V3W4.js} +7 -7
  350. package/dist/chunk-WYWM2HSZ.js +33 -0
  351. package/dist/chunk-WYWM2HSZ.js.map +1 -0
  352. package/dist/{chunk-MJMHPIYX.js → chunk-XOQXIPLL.js} +2 -2
  353. package/dist/{chunk-YDNVHAS4.js → chunk-YCLYKBWZ.js} +10 -10
  354. package/dist/{chunk-OOXXMKJS.js → chunk-YGNHAFBW.js} +5 -5
  355. package/dist/{chunk-6PFEG7GQ.js → chunk-YWWYA2JZ.js} +6 -6
  356. package/dist/chunk-YXMB4MCM.js +87 -0
  357. package/dist/chunk-YXMB4MCM.js.map +1 -0
  358. package/dist/{chunk-O5FEYLEG.js → chunk-Z5LPHG2D.js} +3 -3
  359. package/dist/{chunk-6HMQEUHX.js → chunk-ZAFLWQOV.js} +5 -5
  360. package/dist/{chunk-GVUXGWAM.js → chunk-ZC2JPF7B.js} +13 -13
  361. package/dist/{chunk-VYCYVN3L.js → chunk-ZCGH6TJ3.js} +16 -3
  362. package/dist/chunk-ZCGH6TJ3.js.map +1 -0
  363. package/dist/{chunk-5JQOU3IR.js → chunk-ZCQMCIT5.js} +6 -6
  364. package/dist/chunk-ZPUNTAVI.js +38 -0
  365. package/dist/chunk-ZPUNTAVI.js.map +1 -0
  366. package/dist/{chunk-LIV5LHHZ.js → chunk-ZUL3NYQ4.js} +2 -2
  367. package/dist/{chunk-O7DAGKLJ.js → chunk-ZWYQ44CB.js} +12 -12
  368. package/dist/context/dynamic-form-context.cjs +54 -4
  369. package/dist/context/dynamic-form-context.cjs.map +1 -1
  370. package/dist/context/dynamic-form-context.js +5 -4
  371. package/dist/context/index.cjs +54 -4
  372. package/dist/context/index.cjs.map +1 -1
  373. package/dist/context/index.js +5 -4
  374. package/dist/icon.cjs +492 -2
  375. package/dist/icon.cjs.map +1 -1
  376. package/dist/icon.d.cts +1 -1
  377. package/dist/icon.d.ts +1 -1
  378. package/dist/icon.js +493 -3
  379. package/dist/index.cjs +2621 -1631
  380. package/dist/index.cjs.map +1 -1
  381. package/dist/index.css +73 -0
  382. package/dist/index.d.cts +20 -4
  383. package/dist/index.d.ts +20 -4
  384. package/dist/index.js +664 -168
  385. package/dist/molecules/autocomplete-textfield.cjs +111 -46
  386. package/dist/molecules/autocomplete-textfield.cjs.map +1 -1
  387. package/dist/molecules/autocomplete-textfield.js +5 -3
  388. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +367 -209
  389. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
  390. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +21 -20
  391. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +39 -2
  392. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
  393. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +4 -3
  394. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +293 -164
  395. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
  396. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +16 -15
  397. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +33 -3
  398. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
  399. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +4 -3
  400. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs +85 -19
  401. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs.map +1 -1
  402. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +5 -4
  403. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +217 -134
  404. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
  405. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +10 -9
  406. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +172 -110
  407. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
  408. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +7 -6
  409. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +39 -2
  410. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
  411. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +6 -5
  412. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +80 -20
  413. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
  414. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +7 -6
  415. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +64 -7
  416. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
  417. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +6 -5
  418. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +275 -115
  419. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
  420. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +25 -24
  421. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +76 -17
  422. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
  423. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +7 -6
  424. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +49 -5
  425. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
  426. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +5 -4
  427. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.cjs +49 -5
  428. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.cjs.map +1 -1
  429. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js +4 -3
  430. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +318 -153
  431. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
  432. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +28 -27
  433. package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +346 -181
  434. package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
  435. package/dist/molecules/curriculumV2/CurriculumContents/index.js +31 -30
  436. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs +39 -2
  437. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs.map +1 -1
  438. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +3 -2
  439. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +39 -2
  440. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
  441. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +5 -4
  442. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs +39 -2
  443. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs.map +1 -1
  444. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.js +3 -2
  445. package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +195 -135
  446. package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
  447. package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +9 -8
  448. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +39 -2
  449. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
  450. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +7 -6
  451. package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +65 -8
  452. package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
  453. package/dist/molecules/curriculumV2/curriculum-sub-nav.js +6 -5
  454. package/dist/molecules/curriculumV2/index.cjs +406 -220
  455. package/dist/molecules/curriculumV2/index.cjs.map +1 -1
  456. package/dist/molecules/curriculumV2/index.js +38 -37
  457. package/dist/molecules/date-picker/date-picker-button.cjs +160 -64
  458. package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
  459. package/dist/molecules/date-picker/date-picker-button.d.cts +1 -0
  460. package/dist/molecules/date-picker/date-picker-button.d.ts +1 -0
  461. package/dist/molecules/date-picker/date-picker-button.js +10 -8
  462. package/dist/molecules/date-picker/index.cjs +242 -146
  463. package/dist/molecules/date-picker/index.cjs.map +1 -1
  464. package/dist/molecules/date-picker/index.js +9 -7
  465. package/dist/molecules/description-json-render.cjs +182 -120
  466. package/dist/molecules/description-json-render.cjs.map +1 -1
  467. package/dist/molecules/description-json-render.js +7 -6
  468. package/dist/molecules/download-card.cjs +67 -8
  469. package/dist/molecules/download-card.cjs.map +1 -1
  470. package/dist/molecules/download-card.js +5 -4
  471. package/dist/molecules/dynamic-field.cjs +222 -72
  472. package/dist/molecules/dynamic-field.cjs.map +1 -1
  473. package/dist/molecules/dynamic-field.js +13 -11
  474. package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs +359 -267
  475. package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs.map +1 -1
  476. package/dist/molecules/dynamic-form-editor-field-editor-panel.js +10 -8
  477. package/dist/molecules/dynamic-form-editor-field-list-panel.cjs +115 -47
  478. package/dist/molecules/dynamic-form-editor-field-list-panel.cjs.map +1 -1
  479. package/dist/molecules/dynamic-form-editor-field-list-panel.js +6 -4
  480. package/dist/molecules/dynamic-form-editor-issues-panel.cjs +39 -2
  481. package/dist/molecules/dynamic-form-editor-issues-panel.cjs.map +1 -1
  482. package/dist/molecules/dynamic-form-editor-issues-panel.js +4 -3
  483. package/dist/molecules/dynamic-form-editor-preview-panel.cjs +239 -89
  484. package/dist/molecules/dynamic-form-editor-preview-panel.cjs.map +1 -1
  485. package/dist/molecules/dynamic-form-editor-preview-panel.js +16 -14
  486. package/dist/molecules/dynamic-form-editor.cjs +571 -407
  487. package/dist/molecules/dynamic-form-editor.cjs.map +1 -1
  488. package/dist/molecules/dynamic-form-editor.js +23 -21
  489. package/dist/molecules/dynamic-form.cjs +235 -85
  490. package/dist/molecules/dynamic-form.cjs.map +1 -1
  491. package/dist/molecules/dynamic-form.js +14 -12
  492. package/dist/molecules/expand-table/index.cjs +100 -42
  493. package/dist/molecules/expand-table/index.cjs.map +1 -1
  494. package/dist/molecules/expand-table/index.js +7 -6
  495. package/dist/molecules/force-refresh.cjs +79 -24
  496. package/dist/molecules/force-refresh.cjs.map +1 -1
  497. package/dist/molecules/force-refresh.js +4 -3
  498. package/dist/molecules/form/form.cjs +54 -4
  499. package/dist/molecules/form/form.cjs.map +1 -1
  500. package/dist/molecules/form/form.js +4 -3
  501. package/dist/molecules/form/index.cjs +54 -4
  502. package/dist/molecules/form/index.cjs.map +1 -1
  503. package/dist/molecules/form/index.js +4 -3
  504. package/dist/molecules/ghost-post.cjs +72 -14
  505. package/dist/molecules/ghost-post.cjs.map +1 -1
  506. package/dist/molecules/ghost-post.d.cts +1 -0
  507. package/dist/molecules/ghost-post.d.ts +1 -0
  508. package/dist/molecules/ghost-post.js +5 -4
  509. package/dist/molecules/index.cjs +1334 -989
  510. package/dist/molecules/index.cjs.map +1 -1
  511. package/dist/molecules/index.d.cts +1 -0
  512. package/dist/molecules/index.d.ts +1 -0
  513. package/dist/molecules/index.js +79 -78
  514. package/dist/molecules/learning-post.cjs +109 -37
  515. package/dist/molecules/learning-post.cjs.map +1 -1
  516. package/dist/molecules/learning-post.d.cts +1 -0
  517. package/dist/molecules/learning-post.d.ts +1 -0
  518. package/dist/molecules/learning-post.js +7 -6
  519. package/dist/molecules/navigation.cjs +49 -5
  520. package/dist/molecules/navigation.cjs.map +1 -1
  521. package/dist/molecules/navigation.js +4 -3
  522. package/dist/molecules/one-on-one-guide-list.cjs +56 -6
  523. package/dist/molecules/one-on-one-guide-list.cjs.map +1 -1
  524. package/dist/molecules/one-on-one-guide-list.js +5 -4
  525. package/dist/molecules/radio-button-card.cjs +77 -13
  526. package/dist/molecules/radio-button-card.cjs.map +1 -1
  527. package/dist/molecules/radio-button-card.js +4 -3
  528. package/dist/molecules/stepper.cjs +55 -4
  529. package/dist/molecules/stepper.cjs.map +1 -1
  530. package/dist/molecules/stepper.js +5 -4
  531. package/dist/molecules/tag-selector.cjs +256 -180
  532. package/dist/molecules/tag-selector.cjs.map +1 -1
  533. package/dist/molecules/tag-selector.js +9 -7
  534. package/dist/molecules/time-select.cjs +180 -126
  535. package/dist/molecules/time-select.cjs.map +1 -1
  536. package/dist/molecules/time-select.d.cts +1 -0
  537. package/dist/molecules/time-select.d.ts +1 -0
  538. package/dist/molecules/time-select.js +7 -5
  539. package/dist/molecules/training-info-guideline.cjs +75 -11
  540. package/dist/molecules/training-info-guideline.cjs.map +1 -1
  541. package/dist/molecules/training-info-guideline.js +7 -6
  542. package/dist/theme/theme-provider.cjs +53 -1
  543. package/dist/theme/theme-provider.cjs.map +1 -1
  544. package/dist/theme/theme-provider.d.cts +18 -2
  545. package/dist/theme/theme-provider.d.ts +18 -2
  546. package/dist/theme/theme-provider.js +4 -1
  547. package/dist/utils/convert-button-size.d.cts +1 -0
  548. package/dist/utils/convert-button-size.d.ts +1 -0
  549. package/dist/utils/convert-icon-button-size.d.cts +1 -0
  550. package/dist/utils/convert-icon-button-size.d.ts +1 -0
  551. package/dist/utils/curriculum.utils.cjs.map +1 -1
  552. package/dist/utils/curriculum.utils.js +1 -1
  553. package/dist/utils/get-callout-icon-component.cjs.map +1 -1
  554. package/dist/utils/get-callout-icon-component.js +2 -2
  555. package/dist/utils/index.cjs +25 -0
  556. package/dist/utils/index.cjs.map +1 -1
  557. package/dist/utils/index.d.cts +2 -0
  558. package/dist/utils/index.d.ts +2 -0
  559. package/dist/utils/index.js +7 -3
  560. package/dist/utils/resolve-color.cjs +51 -0
  561. package/dist/utils/resolve-color.cjs.map +1 -0
  562. package/dist/utils/resolve-color.d.cts +38 -0
  563. package/dist/utils/resolve-color.d.ts +38 -0
  564. package/dist/utils/resolve-color.js +8 -0
  565. package/dist/utils/resolve-color.js.map +1 -0
  566. package/package.json +1 -1
  567. package/src/atoms/alert-dialog.tsx +38 -1
  568. package/src/atoms/avatar.tsx +18 -3
  569. package/src/atoms/badge.tsx +15 -22
  570. package/src/atoms/blockquote.tsx +31 -1
  571. package/src/atoms/button.tsx +12 -3
  572. package/src/atoms/button.type.ts +6 -1
  573. package/src/atoms/call-out.tsx +48 -1
  574. package/src/atoms/check-box-card.tsx +51 -1
  575. package/src/atoms/check-box-group.tsx +19 -2
  576. package/src/atoms/check-box.tsx +17 -3
  577. package/src/atoms/code.tsx +31 -1
  578. package/src/atoms/data-list.tsx +47 -1
  579. package/src/atoms/dropdown-menu.tsx +53 -6
  580. package/src/atoms/heading.tsx +22 -4
  581. package/src/atoms/hover-card.tsx +37 -1
  582. package/src/atoms/icon-button.tsx +12 -3
  583. package/src/atoms/link.tsx +21 -3
  584. package/src/atoms/pagination.tsx +21 -2
  585. package/src/atoms/popover.tsx +37 -1
  586. package/src/atoms/progress.tsx +31 -1
  587. package/src/atoms/radio-cards.tsx +49 -1
  588. package/src/atoms/radio-group.tsx +49 -1
  589. package/src/atoms/radio.tsx +31 -1
  590. package/src/atoms/segmented-control.tsx +3 -0
  591. package/src/atoms/select.tsx +67 -19
  592. package/src/atoms/switch.tsx +31 -1
  593. package/src/atoms/tab-nav.tsx +42 -1
  594. package/src/atoms/tabs.tsx +40 -1
  595. package/src/atoms/tooltip.tsx +14 -1
  596. package/src/atoms/typo.tsx +21 -3
  597. package/src/icon.ts +303 -57
  598. package/src/molecules/radio-button-card.tsx +6 -4
  599. package/src/theme/theme-provider.tsx +38 -3
  600. package/src/utils/index.ts +2 -1
  601. package/src/utils/resolve-color.ts +86 -0
  602. package/dist/chunk-365QMK4D.js +0 -7
  603. package/dist/chunk-365QMK4D.js.map +0 -1
  604. package/dist/chunk-3NUQAVE6.js.map +0 -1
  605. package/dist/chunk-5AVBYDPB.js +0 -7
  606. package/dist/chunk-5AVBYDPB.js.map +0 -1
  607. package/dist/chunk-5ZITU5L7.js +0 -7
  608. package/dist/chunk-5ZITU5L7.js.map +0 -1
  609. package/dist/chunk-6DJOIRMF.js +0 -7
  610. package/dist/chunk-6DJOIRMF.js.map +0 -1
  611. package/dist/chunk-6IVCARWS.js +0 -7
  612. package/dist/chunk-6IVCARWS.js.map +0 -1
  613. package/dist/chunk-7FKRQQYK.js +0 -15
  614. package/dist/chunk-7FKRQQYK.js.map +0 -1
  615. package/dist/chunk-B6XJN6EC.js +0 -7
  616. package/dist/chunk-B6XJN6EC.js.map +0 -1
  617. package/dist/chunk-BESTU2AY.js.map +0 -1
  618. package/dist/chunk-CSKNBWPB.js.map +0 -1
  619. package/dist/chunk-DHZVOXFM.js +0 -35
  620. package/dist/chunk-DHZVOXFM.js.map +0 -1
  621. package/dist/chunk-FPD73OHW.js +0 -7
  622. package/dist/chunk-FPD73OHW.js.map +0 -1
  623. package/dist/chunk-HFVVQEOZ.js +0 -1
  624. package/dist/chunk-J242TTFH.js +0 -7
  625. package/dist/chunk-J242TTFH.js.map +0 -1
  626. package/dist/chunk-JU7GB6R2.js +0 -151
  627. package/dist/chunk-JU7GB6R2.js.map +0 -1
  628. package/dist/chunk-K36TPMKL.js.map +0 -1
  629. package/dist/chunk-KTSEZC6A.js +0 -49
  630. package/dist/chunk-KTSEZC6A.js.map +0 -1
  631. package/dist/chunk-MIMJ7LON.js +0 -7
  632. package/dist/chunk-MIMJ7LON.js.map +0 -1
  633. package/dist/chunk-O3T3TM3V.js +0 -7
  634. package/dist/chunk-O3T3TM3V.js.map +0 -1
  635. package/dist/chunk-OHMOP5PV.js +0 -7
  636. package/dist/chunk-OHMOP5PV.js.map +0 -1
  637. package/dist/chunk-OYM4XCHQ.js +0 -7
  638. package/dist/chunk-OYM4XCHQ.js.map +0 -1
  639. package/dist/chunk-PMJIFLDT.js.map +0 -1
  640. package/dist/chunk-SE5TPTP2.js.map +0 -1
  641. package/dist/chunk-SMLC2O3V.js +0 -42
  642. package/dist/chunk-SMLC2O3V.js.map +0 -1
  643. package/dist/chunk-TVDKGMBI.js.map +0 -1
  644. package/dist/chunk-VTJZMOSP.js +0 -7
  645. package/dist/chunk-VTJZMOSP.js.map +0 -1
  646. package/dist/chunk-VYCYVN3L.js.map +0 -1
  647. package/dist/chunk-W7X7KSJP.js.map +0 -1
  648. package/dist/chunk-X2GMDZ7M.js +0 -59
  649. package/dist/chunk-X2GMDZ7M.js.map +0 -1
  650. package/dist/chunk-XK6VEVOK.js.map +0 -1
  651. package/dist/chunk-YGL6SWKN.js +0 -7
  652. package/dist/chunk-YGL6SWKN.js.map +0 -1
  653. package/dist/chunk-YJ7ZFOYL.js +0 -7
  654. package/dist/chunk-YJ7ZFOYL.js.map +0 -1
  655. package/dist/chunk-ZVDAEY5Q.js.map +0 -1
  656. /package/dist/{chunk-EWFZXCMV.js.map → chunk-2FB75HU2.js.map} +0 -0
  657. /package/dist/{chunk-HTNDVNLQ.js.map → chunk-2I37QLRA.js.map} +0 -0
  658. /package/dist/{chunk-7R65MUL6.js.map → chunk-2O7NVLVP.js.map} +0 -0
  659. /package/dist/{chunk-OE2AVQED.js.map → chunk-2SM37SB4.js.map} +0 -0
  660. /package/dist/{chunk-FMAOB6BX.js.map → chunk-2WNLUQX5.js.map} +0 -0
  661. /package/dist/{chunk-ADD4KFPG.js.map → chunk-447H6BVE.js.map} +0 -0
  662. /package/dist/{chunk-W7TBPRHG.js.map → chunk-5OW76AER.js.map} +0 -0
  663. /package/dist/{chunk-62HSZXVT.js.map → chunk-6YJGQWD6.js.map} +0 -0
  664. /package/dist/{chunk-AA6OYHCE.js.map → chunk-7JW5Z2TL.js.map} +0 -0
  665. /package/dist/{chunk-ZA4NYPSW.js.map → chunk-7PBLFV5L.js.map} +0 -0
  666. /package/dist/{chunk-HBQY4ELG.js.map → chunk-A26UWBVB.js.map} +0 -0
  667. /package/dist/{chunk-BYFSYL7V.js.map → chunk-A4YOY75P.js.map} +0 -0
  668. /package/dist/{chunk-LSDD4TAP.js.map → chunk-AJTGTGOC.js.map} +0 -0
  669. /package/dist/{chunk-ADAQSPUA.js.map → chunk-BEKSO5JG.js.map} +0 -0
  670. /package/dist/{chunk-JWAQUXGB.js.map → chunk-BZ3EXV6A.js.map} +0 -0
  671. /package/dist/{chunk-Z34HR7RE.js.map → chunk-C2G3IB7G.js.map} +0 -0
  672. /package/dist/{chunk-4U6DFH7Z.js.map → chunk-E6GCU5IQ.js.map} +0 -0
  673. /package/dist/{chunk-ZOPYFDLO.js.map → chunk-GAA3RTRW.js.map} +0 -0
  674. /package/dist/{chunk-RSZDAY62.js.map → chunk-GE4M5GOQ.js.map} +0 -0
  675. /package/dist/{chunk-RNRZ3LV7.js.map → chunk-GPULIICW.js.map} +0 -0
  676. /package/dist/{chunk-7PF6I4RN.js.map → chunk-GRDRXD53.js.map} +0 -0
  677. /package/dist/{chunk-SH6FSA7T.js.map → chunk-GREYLAMY.js.map} +0 -0
  678. /package/dist/{chunk-SAEPW5JF.js.map → chunk-GYSRHZRS.js.map} +0 -0
  679. /package/dist/{chunk-UMUSNH2D.js.map → chunk-H3GQHGFA.js.map} +0 -0
  680. /package/dist/{chunk-OILH5J7Q.js.map → chunk-HH6LML5K.js.map} +0 -0
  681. /package/dist/{chunk-KP4SGRJZ.js.map → chunk-IM6E52L2.js.map} +0 -0
  682. /package/dist/{chunk-6OKBTWEC.js.map → chunk-J7N2IZQW.js.map} +0 -0
  683. /package/dist/{chunk-EEAHZCIK.js.map → chunk-JCUG2XKB.js.map} +0 -0
  684. /package/dist/{chunk-REPTW53S.js.map → chunk-JNEGSY5N.js.map} +0 -0
  685. /package/dist/{chunk-4TST4UK5.js.map → chunk-KO3V7KB6.js.map} +0 -0
  686. /package/dist/{chunk-KTQREW2K.js.map → chunk-LIWQ47VQ.js.map} +0 -0
  687. /package/dist/{chunk-B37MCN6F.js.map → chunk-LQ3WGFS7.js.map} +0 -0
  688. /package/dist/{chunk-YADSNPMG.js.map → chunk-M77YPVQN.js.map} +0 -0
  689. /package/dist/{chunk-GTO7GG2K.js.map → chunk-MCKWO7K4.js.map} +0 -0
  690. /package/dist/{chunk-OHNBVT52.js.map → chunk-MGR37YQB.js.map} +0 -0
  691. /package/dist/{chunk-QDC3LFHS.js.map → chunk-MMLVZWMD.js.map} +0 -0
  692. /package/dist/{chunk-3G3RPU6Q.js.map → chunk-MP5KZULQ.js.map} +0 -0
  693. /package/dist/{chunk-JRT6KTBG.js.map → chunk-MSLSD7F6.js.map} +0 -0
  694. /package/dist/{chunk-FGLOHHYP.js.map → chunk-MSM2QG23.js.map} +0 -0
  695. /package/dist/{chunk-V7IC4EAC.js.map → chunk-NFMEBYNY.js.map} +0 -0
  696. /package/dist/{chunk-C6ZC7TXX.js.map → chunk-NIHOKIYW.js.map} +0 -0
  697. /package/dist/{chunk-M2PVHXOE.js.map → chunk-NYG34MV6.js.map} +0 -0
  698. /package/dist/{chunk-N7NDDJW5.js.map → chunk-OA3DGWVL.js.map} +0 -0
  699. /package/dist/{chunk-XLKJYRFY.js.map → chunk-OBWQ3N5D.js.map} +0 -0
  700. /package/dist/{chunk-IN6S7PPW.js.map → chunk-OEHVGPWL.js.map} +0 -0
  701. /package/dist/{chunk-HFVVQEOZ.js.map → chunk-OLJN3WXR.js.map} +0 -0
  702. /package/dist/{chunk-X4OCUESK.js.map → chunk-OPYRV6XJ.js.map} +0 -0
  703. /package/dist/{chunk-6QVHJ5WW.js.map → chunk-OQN4E2QP.js.map} +0 -0
  704. /package/dist/{chunk-LE6CNJWH.js.map → chunk-OWQUXTQ2.js.map} +0 -0
  705. /package/dist/{chunk-NTJLECYY.js.map → chunk-OYXUWBKS.js.map} +0 -0
  706. /package/dist/{chunk-B5CKZFDM.js.map → chunk-PE4EBBU4.js.map} +0 -0
  707. /package/dist/{chunk-5TZNUXBT.js.map → chunk-PXMJK5D5.js.map} +0 -0
  708. /package/dist/{chunk-Y4U24VXI.js.map → chunk-Q3M6GFHY.js.map} +0 -0
  709. /package/dist/{chunk-ZFTQ2XBH.js.map → chunk-QPL7SJQM.js.map} +0 -0
  710. /package/dist/{chunk-NX5ESRCX.js.map → chunk-RMVVV5NH.js.map} +0 -0
  711. /package/dist/{chunk-Q7KT3UPO.js.map → chunk-RUJZ5PE7.js.map} +0 -0
  712. /package/dist/{chunk-6SQZJN5Y.js.map → chunk-T2CGNUCP.js.map} +0 -0
  713. /package/dist/{chunk-SLFUYRIC.js.map → chunk-TU6SGJ5Z.js.map} +0 -0
  714. /package/dist/{chunk-AHXS2MBK.js.map → chunk-TYEGB5FQ.js.map} +0 -0
  715. /package/dist/{chunk-DQ6EIA2T.js.map → chunk-UFM3EL52.js.map} +0 -0
  716. /package/dist/{chunk-CNW3YEAK.js.map → chunk-VD5ZDFCM.js.map} +0 -0
  717. /package/dist/{chunk-64XYTE54.js.map → chunk-WY37V3W4.js.map} +0 -0
  718. /package/dist/{chunk-MJMHPIYX.js.map → chunk-XOQXIPLL.js.map} +0 -0
  719. /package/dist/{chunk-YDNVHAS4.js.map → chunk-YCLYKBWZ.js.map} +0 -0
  720. /package/dist/{chunk-OOXXMKJS.js.map → chunk-YGNHAFBW.js.map} +0 -0
  721. /package/dist/{chunk-6PFEG7GQ.js.map → chunk-YWWYA2JZ.js.map} +0 -0
  722. /package/dist/{chunk-O5FEYLEG.js.map → chunk-Z5LPHG2D.js.map} +0 -0
  723. /package/dist/{chunk-6HMQEUHX.js.map → chunk-ZAFLWQOV.js.map} +0 -0
  724. /package/dist/{chunk-GVUXGWAM.js.map → chunk-ZC2JPF7B.js.map} +0 -0
  725. /package/dist/{chunk-5JQOU3IR.js.map → chunk-ZCQMCIT5.js.map} +0 -0
  726. /package/dist/{chunk-LIV5LHHZ.js.map → chunk-ZUL3NYQ4.js.map} +0 -0
  727. /package/dist/{chunk-O7DAGKLJ.js.map → chunk-ZWYQ44CB.js.map} +0 -0
@@ -82,7 +82,7 @@ __export(dynamic_form_editor_exports, {
82
82
  DynamicFormEditor: () => DynamicFormEditor
83
83
  });
84
84
  module.exports = __toCommonJS(dynamic_form_editor_exports);
85
- var import_react16 = require("react");
85
+ var import_react19 = require("react");
86
86
 
87
87
  // src/atoms/button.tsx
88
88
  var import_react = require("react");
@@ -120,11 +120,34 @@ var convertSize = (size) => {
120
120
  return convertSizeResponse(size);
121
121
  };
122
122
 
123
+ // src/utils/resolve-color.ts
124
+ var SEMANTIC_COLOR_MAP = {
125
+ error: "red",
126
+ neutral: "gray",
127
+ success: "green",
128
+ accent: void 0
129
+ };
130
+ var CUSTOM_COLOR_MAP = {
131
+ black: { className: "tipp-accent-black", fallbackColor: "gray" }
132
+ };
133
+ var isSemanticColor = (color) => color !== void 0 && color in SEMANTIC_COLOR_MAP;
134
+ var isCustomColor = (color) => color !== void 0 && color in CUSTOM_COLOR_MAP;
135
+ var resolveColor = (color) => {
136
+ if (isCustomColor(color)) {
137
+ const { className, fallbackColor } = CUSTOM_COLOR_MAP[color];
138
+ return { color: fallbackColor, className };
139
+ }
140
+ if (isSemanticColor(color)) {
141
+ return { color: SEMANTIC_COLOR_MAP[color] };
142
+ }
143
+ return { color };
144
+ };
145
+
123
146
  // src/atoms/button.tsx
124
147
  var import_jsx_runtime = require("react/jsx-runtime");
125
148
  var Button = (0, import_react.forwardRef)(
126
149
  (props, ref) => {
127
- const _a = props, { size, style, variant } = _a, restProps = __objRest(_a, ["size", "style", "variant"]);
150
+ const _a = props, { size, style, variant, color } = _a, restProps = __objRest(_a, ["size", "style", "variant", "color"]);
128
151
  const radixSize = (0, import_react.useMemo)(() => {
129
152
  return convertSize(size);
130
153
  }, [size]);
@@ -132,9 +155,15 @@ var Button = (0, import_react.forwardRef)(
132
155
  if (variant === "transparent") return "ghost";
133
156
  return variant;
134
157
  }, [variant]);
158
+ const { color: radixColor, className: colorClassName } = (0, import_react.useMemo)(
159
+ () => resolveColor(color),
160
+ [color]
161
+ );
135
162
  const className = (0, import_react.useMemo)(() => {
136
- return (0, import_clsx.clsx)(props.className, { transparent: variant === "transparent" });
137
- }, [props.className, variant]);
163
+ return (0, import_clsx.clsx)(props.className, colorClassName, {
164
+ transparent: variant === "transparent"
165
+ });
166
+ }, [props.className, colorClassName, variant]);
138
167
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
139
168
  import_themes.Button,
140
169
  __spreadProps(__spreadValues({
@@ -143,6 +172,7 @@ var Button = (0, import_react.forwardRef)(
143
172
  variant: radixVariant
144
173
  }, restProps), {
145
174
  className,
175
+ color: radixColor,
146
176
  ref,
147
177
  size: radixSize
148
178
  })
@@ -458,8 +488,8 @@ function resetFieldType(field, nextType, allFields) {
458
488
  }
459
489
 
460
490
  // src/molecules/dynamic-form-editor-field-editor-panel.tsx
461
- var import_react9 = require("react");
462
- var import_themes10 = require("@radix-ui/themes");
491
+ var import_react10 = require("react");
492
+ var import_themes11 = require("@radix-ui/themes");
463
493
 
464
494
  // src/atoms/card.tsx
465
495
  var import_react2 = require("react");
@@ -497,11 +527,12 @@ Card.displayName = "Card";
497
527
 
498
528
  // src/atoms/check-box.tsx
499
529
  var import_themes4 = require("@radix-ui/themes");
530
+ var import_clsx2 = require("clsx");
500
531
  var import_react3 = require("react");
501
532
  var import_jsx_runtime3 = require("react/jsx-runtime");
502
533
  var Checkbox = (0, import_react3.forwardRef)(
503
534
  (props, ref) => {
504
- const _a = props, { size = "medium" } = _a, rest = __objRest(_a, ["size"]);
535
+ const _a = props, { size = "medium", color, className } = _a, rest = __objRest(_a, ["size", "color", "className"]);
505
536
  const radixSize = (0, import_react3.useMemo)(() => {
506
537
  switch (size) {
507
538
  case "small":
@@ -512,14 +543,23 @@ var Checkbox = (0, import_react3.forwardRef)(
512
543
  return "3";
513
544
  }
514
545
  }, [size]);
515
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes4.Checkbox, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize }));
546
+ const { color: radixColor, className: colorClassName } = resolveColor(color);
547
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
548
+ import_themes4.Checkbox,
549
+ __spreadProps(__spreadValues({}, rest), {
550
+ className: (0, import_clsx2.clsx)(colorClassName, className),
551
+ color: radixColor,
552
+ ref,
553
+ size: radixSize
554
+ })
555
+ );
516
556
  }
517
557
  );
518
558
  Checkbox.displayName = "Checkbox";
519
559
 
520
560
  // src/atoms/icon-button.tsx
521
561
  var import_react4 = require("react");
522
- var import_clsx2 = require("clsx");
562
+ var import_clsx3 = require("clsx");
523
563
  var import_themes5 = require("@radix-ui/themes");
524
564
 
525
565
  // src/utils/convert-icon-button-size.ts
@@ -557,7 +597,7 @@ var convertSize2 = (size) => {
557
597
  var import_jsx_runtime4 = require("react/jsx-runtime");
558
598
  var IconButton = (0, import_react4.forwardRef)(
559
599
  (props, ref) => {
560
- const _a = props, { size, style, variant } = _a, restProps = __objRest(_a, ["size", "style", "variant"]);
600
+ const _a = props, { size, style, variant, color } = _a, restProps = __objRest(_a, ["size", "style", "variant", "color"]);
561
601
  const radixSize = (0, import_react4.useMemo)(() => {
562
602
  return convertSize2(size);
563
603
  }, [size]);
@@ -565,9 +605,15 @@ var IconButton = (0, import_react4.forwardRef)(
565
605
  if (variant === "transparent") return "ghost";
566
606
  return variant;
567
607
  }, [variant]);
608
+ const { color: radixColor, className: colorClassName } = (0, import_react4.useMemo)(
609
+ () => resolveColor(color),
610
+ [color]
611
+ );
568
612
  const className = (0, import_react4.useMemo)(() => {
569
- return (0, import_clsx2.clsx)(props.className, { transparent: variant === "transparent" });
570
- }, [props.className, variant]);
613
+ return (0, import_clsx3.clsx)(props.className, colorClassName, {
614
+ transparent: variant === "transparent"
615
+ });
616
+ }, [props.className, colorClassName, variant]);
571
617
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
572
618
  import_themes5.IconButton,
573
619
  __spreadProps(__spreadValues({
@@ -576,6 +622,7 @@ var IconButton = (0, import_react4.forwardRef)(
576
622
  variant: radixVariant
577
623
  }, restProps), {
578
624
  className,
625
+ color: radixColor,
579
626
  ref,
580
627
  size: radixSize
581
628
  })
@@ -585,62 +632,93 @@ var IconButton = (0, import_react4.forwardRef)(
585
632
  IconButton.displayName = "IconButton";
586
633
 
587
634
  // src/atoms/select.tsx
588
- var import_themes6 = require("@radix-ui/themes");
635
+ var import_themes7 = require("@radix-ui/themes");
636
+ var import_clsx5 = require("clsx");
637
+ var import_react6 = require("react");
638
+
639
+ // src/theme/theme-provider.tsx
589
640
  var import_react5 = require("react");
641
+ var import_themes6 = require("@radix-ui/themes");
642
+ var import_clsx4 = require("clsx");
590
643
  var import_jsx_runtime5 = require("react/jsx-runtime");
591
- var SelectContext = (0, import_react5.createContext)({
644
+ var ThemeAccentContext = (0, import_react5.createContext)(void 0);
645
+
646
+ // src/atoms/select.tsx
647
+ var import_jsx_runtime6 = require("react/jsx-runtime");
648
+ var SelectContext = (0, import_react6.createContext)({
592
649
  error: false
593
650
  });
594
- var Content = (0, import_react5.forwardRef)((props, ref) => {
595
- const _a = props, { className, isNavigation } = _a, rest = __objRest(_a, ["className", "isNavigation"]);
596
- const { error } = (0, import_react5.useContext)(SelectContext);
597
- const cls = (0, import_react5.useMemo)(() => {
651
+ var Content = (0, import_react6.forwardRef)((props, ref) => {
652
+ const _a = props, { className, isNavigation, color } = _a, rest = __objRest(_a, ["className", "isNavigation", "color"]);
653
+ const { error, color: contextColor } = (0, import_react6.useContext)(SelectContext);
654
+ const themeAccent = (0, import_react6.useContext)(ThemeAccentContext);
655
+ const { color: radixColor, className: colorClassName } = (0, import_react6.useMemo)(
656
+ () => {
657
+ var _a2;
658
+ return resolveColor((_a2 = color != null ? color : contextColor) != null ? _a2 : themeAccent);
659
+ },
660
+ [color, contextColor, themeAccent]
661
+ );
662
+ const appliedColor = colorClassName ? void 0 : radixColor;
663
+ const cls = (0, import_react6.useMemo)(() => {
598
664
  const etc = isNavigation ? "nav-select" : "";
599
665
  const errorCls = error ? "tipp-error" : "";
600
- return [etc, errorCls, className].join(" ");
601
- }, [className, error, isNavigation]);
602
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
603
- import_themes6.Select.Content,
666
+ return (0, import_clsx5.clsx)(etc, errorCls, colorClassName, className);
667
+ }, [className, colorClassName, error, isNavigation]);
668
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
669
+ import_themes7.Select.Content,
604
670
  __spreadProps(__spreadValues({
605
671
  position: "popper"
606
672
  }, rest), {
607
673
  className: cls,
674
+ color: appliedColor,
608
675
  ref
609
676
  })
610
677
  );
611
678
  });
612
679
  Content.displayName = "Select.Content";
613
- var Trigger = (0, import_react5.forwardRef)(
614
- (props, ref) => {
615
- const _a = props, { className } = _a, rest = __objRest(_a, ["className"]);
616
- const { error } = (0, import_react5.useContext)(SelectContext);
617
- const cls = (0, import_react5.useMemo)(() => {
618
- const errorCls = error ? "error" : "";
619
- return [errorCls, className].join(" ");
620
- }, [className, error]);
621
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes6.Select.Trigger, __spreadProps(__spreadValues({}, rest), { className: cls, ref }));
622
- }
623
- );
680
+ var Trigger = (0, import_react6.forwardRef)((props, ref) => {
681
+ const _a = props, { className, color } = _a, rest = __objRest(_a, ["className", "color"]);
682
+ const { error, color: contextColor } = (0, import_react6.useContext)(SelectContext);
683
+ const { color: radixColor, className: colorClassName } = (0, import_react6.useMemo)(
684
+ () => resolveColor(color != null ? color : contextColor),
685
+ [color, contextColor]
686
+ );
687
+ const appliedColor = colorClassName ? void 0 : radixColor;
688
+ const cls = (0, import_react6.useMemo)(() => {
689
+ const errorCls = error ? "error" : "";
690
+ return (0, import_clsx5.clsx)(errorCls, colorClassName, className);
691
+ }, [className, colorClassName, error]);
692
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
693
+ import_themes7.Select.Trigger,
694
+ __spreadProps(__spreadValues({}, rest), {
695
+ className: cls,
696
+ color: appliedColor,
697
+ ref
698
+ })
699
+ );
700
+ });
624
701
  Trigger.displayName = "Select.Trigger";
625
702
  function Root(props) {
626
- const _a = props, { error } = _a, rest = __objRest(_a, ["error"]);
627
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SelectContext.Provider, { value: { error }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes6.Select.Root, __spreadValues({}, rest)) });
703
+ const _a = props, { error, color } = _a, rest = __objRest(_a, ["error", "color"]);
704
+ const value = (0, import_react6.useMemo)(() => ({ error, color }), [error, color]);
705
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_themes7.Select.Root, __spreadValues({}, rest)) });
628
706
  }
629
707
  Root.displayName = "Select.Root";
630
- var Select = __spreadProps(__spreadValues({}, import_themes6.Select), {
708
+ var Select = __spreadProps(__spreadValues({}, import_themes7.Select), {
631
709
  Root,
632
710
  Trigger,
633
711
  Content
634
712
  });
635
713
 
636
714
  // src/atoms/text-area.tsx
637
- var import_themes7 = require("@radix-ui/themes");
638
- var import_react6 = require("react");
639
- var import_jsx_runtime6 = require("react/jsx-runtime");
640
- var TextArea = (0, import_react6.forwardRef)(
715
+ var import_themes8 = require("@radix-ui/themes");
716
+ var import_react7 = require("react");
717
+ var import_jsx_runtime7 = require("react/jsx-runtime");
718
+ var TextArea = (0, import_react7.forwardRef)(
641
719
  (props, ref) => {
642
720
  const _a = props, { error, style, className } = _a, rest = __objRest(_a, ["error", "style", "className"]);
643
- const fieldStyle = (0, import_react6.useMemo)(() => {
721
+ const fieldStyle = (0, import_react7.useMemo)(() => {
644
722
  if (!error) return style;
645
723
  const errorStyle = {
646
724
  boxShadow: "inset 0 0 0 var(--text-area-border-width) var(--error-11)"
@@ -648,8 +726,8 @@ var TextArea = (0, import_react6.forwardRef)(
648
726
  return __spreadValues(__spreadValues({}, style || {}), errorStyle);
649
727
  }, [error, style]);
650
728
  const classNameStr = error ? `error ${className}` : className;
651
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
652
- import_themes7.TextArea,
729
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
730
+ import_themes8.TextArea,
653
731
  __spreadProps(__spreadValues({}, rest), {
654
732
  className: classNameStr,
655
733
  ref,
@@ -661,12 +739,12 @@ var TextArea = (0, import_react6.forwardRef)(
661
739
  TextArea.displayName = "TextArea";
662
740
 
663
741
  // src/atoms/text-field.tsx
664
- var import_themes8 = require("@radix-ui/themes");
665
- var import_react7 = require("react");
666
- var import_jsx_runtime7 = require("react/jsx-runtime");
667
- var Root2 = (0, import_react7.forwardRef)((props, ref) => {
742
+ var import_themes9 = require("@radix-ui/themes");
743
+ var import_react8 = require("react");
744
+ var import_jsx_runtime8 = require("react/jsx-runtime");
745
+ var Root2 = (0, import_react8.forwardRef)((props, ref) => {
668
746
  const _a = props, { error, style, className } = _a, rest = __objRest(_a, ["error", "style", "className"]);
669
- const fieldStyle = (0, import_react7.useMemo)(() => {
747
+ const fieldStyle = (0, import_react8.useMemo)(() => {
670
748
  if (!error) return style;
671
749
  const errorStyle = {
672
750
  boxShadow: "inset 0 0 0 var(--text-field-border-width) var(--error-11)"
@@ -674,8 +752,8 @@ var Root2 = (0, import_react7.forwardRef)((props, ref) => {
674
752
  return __spreadValues(__spreadValues({}, style || {}), errorStyle);
675
753
  }, [error, style]);
676
754
  const classNameStr = error ? `error ${className}` : className;
677
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
678
- import_themes8.TextField.Root,
755
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
756
+ import_themes9.TextField.Root,
679
757
  __spreadValues({
680
758
  className: classNameStr,
681
759
  ref,
@@ -684,11 +762,12 @@ var Root2 = (0, import_react7.forwardRef)((props, ref) => {
684
762
  );
685
763
  });
686
764
  Root2.displayName = "TextField.Root";
687
- var TextField = { Root: Root2, Slot: import_themes8.TextField.Slot };
765
+ var TextField = { Root: Root2, Slot: import_themes9.TextField.Slot };
688
766
 
689
767
  // src/atoms/typo.tsx
690
- var import_themes9 = require("@radix-ui/themes");
691
- var import_react8 = require("react");
768
+ var import_themes10 = require("@radix-ui/themes");
769
+ var import_clsx6 = require("clsx");
770
+ var import_react9 = require("react");
692
771
 
693
772
  // src/utils/map-with-responsive.ts
694
773
  var mapWithResponsive = (args) => {
@@ -709,11 +788,15 @@ var mapWithResponsive = (args) => {
709
788
  };
710
789
 
711
790
  // src/atoms/typo.tsx
712
- var import_jsx_runtime8 = require("react/jsx-runtime");
713
- var Typo = (0, import_react8.forwardRef)(
791
+ var import_jsx_runtime9 = require("react/jsx-runtime");
792
+ var Typo = (0, import_react9.forwardRef)(
714
793
  (props, ref) => {
715
- const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
716
- const radixSize = (0, import_react8.useMemo)(() => {
794
+ const _a = props, { size, variant, children, color, className } = _a, rest = __objRest(_a, ["size", "variant", "children", "color", "className"]);
795
+ const { color: radixColor, className: colorClassName } = (0, import_react9.useMemo)(
796
+ () => resolveColor(color),
797
+ [color]
798
+ );
799
+ const radixSize = (0, import_react9.useMemo)(() => {
717
800
  if (size !== void 0) return size;
718
801
  if (variant === void 0) return "2";
719
802
  return mapWithResponsive({
@@ -731,7 +814,16 @@ var Typo = (0, import_react8.forwardRef)(
731
814
  }
732
815
  });
733
816
  }, [size, variant]);
734
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes9.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
817
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
818
+ import_themes10.Text,
819
+ __spreadProps(__spreadValues({}, rest), {
820
+ className: (0, import_clsx6.clsx)(colorClassName, className),
821
+ color: radixColor,
822
+ ref,
823
+ size: radixSize,
824
+ children
825
+ })
826
+ );
735
827
  }
736
828
  );
737
829
  Typo.displayName = "Typo";
@@ -740,12 +832,12 @@ Typo.displayName = "Typo";
740
832
  var import_react_icons = require("@radix-ui/react-icons");
741
833
 
742
834
  // src/icons/phone-ring.tsx
743
- var React4 = __toESM(require("react"), 1);
744
- var import_jsx_runtime9 = require("react/jsx-runtime");
745
- var PhoneRingIcon = React4.forwardRef(
835
+ var React5 = __toESM(require("react"), 1);
836
+ var import_jsx_runtime10 = require("react/jsx-runtime");
837
+ var PhoneRingIcon = React5.forwardRef(
746
838
  (_a, forwardedRef) => {
747
839
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
748
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
840
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
749
841
  "svg",
750
842
  __spreadProps(__spreadValues({
751
843
  fill: "none",
@@ -756,14 +848,14 @@ var PhoneRingIcon = React4.forwardRef(
756
848
  }, props), {
757
849
  ref: forwardedRef,
758
850
  children: [
759
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
851
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
760
852
  "path",
761
853
  {
762
854
  d: "M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
763
855
  fill: color
764
856
  }
765
857
  ),
766
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
858
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
767
859
  "path",
768
860
  {
769
861
  d: "M9.33335 4.22765C10.4699 4.62936 11.3707 5.53016 11.7724 6.66671M9.97701 2.33337C11.7004 2.93456 13.0655 4.2997 13.6667 6.02305M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
@@ -780,12 +872,12 @@ var PhoneRingIcon = React4.forwardRef(
780
872
  PhoneRingIcon.displayName = "ArrowUpIcon";
781
873
 
782
874
  // src/icons/up.tsx
783
- var React5 = __toESM(require("react"), 1);
784
- var import_jsx_runtime10 = require("react/jsx-runtime");
785
- var TriangleArrowUpIcon = React5.forwardRef(
875
+ var React6 = __toESM(require("react"), 1);
876
+ var import_jsx_runtime11 = require("react/jsx-runtime");
877
+ var TriangleArrowUpIcon = React6.forwardRef(
786
878
  (_a, forwardedRef) => {
787
879
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
788
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
880
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
789
881
  "svg",
790
882
  __spreadProps(__spreadValues({
791
883
  fill: "none",
@@ -795,7 +887,7 @@ var TriangleArrowUpIcon = React5.forwardRef(
795
887
  xmlns: "http://www.w3.org/2000/svg"
796
888
  }, props), {
797
889
  ref: forwardedRef,
798
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
890
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
799
891
  "path",
800
892
  {
801
893
  d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
@@ -809,12 +901,12 @@ var TriangleArrowUpIcon = React5.forwardRef(
809
901
  TriangleArrowUpIcon.displayName = "ArrowUpIcon";
810
902
 
811
903
  // src/icons/down.tsx
812
- var React6 = __toESM(require("react"), 1);
813
- var import_jsx_runtime11 = require("react/jsx-runtime");
814
- var TriangleArrowDownIcon = React6.forwardRef(
904
+ var React7 = __toESM(require("react"), 1);
905
+ var import_jsx_runtime12 = require("react/jsx-runtime");
906
+ var TriangleArrowDownIcon = React7.forwardRef(
815
907
  (_a, forwardedRef) => {
816
908
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
817
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
909
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
818
910
  "svg",
819
911
  __spreadProps(__spreadValues({
820
912
  fill: "none",
@@ -824,7 +916,7 @@ var TriangleArrowDownIcon = React6.forwardRef(
824
916
  xmlns: "http://www.w3.org/2000/svg"
825
917
  }, props), {
826
918
  ref: forwardedRef,
827
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
919
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
828
920
  "path",
829
921
  {
830
922
  d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
@@ -838,12 +930,12 @@ var TriangleArrowDownIcon = React6.forwardRef(
838
930
  TriangleArrowDownIcon.displayName = "ArrowDownIcon";
839
931
 
840
932
  // src/icons/mic.tsx
841
- var React7 = __toESM(require("react"), 1);
842
- var import_jsx_runtime12 = require("react/jsx-runtime");
843
- var MicIcon = React7.forwardRef(
933
+ var React8 = __toESM(require("react"), 1);
934
+ var import_jsx_runtime13 = require("react/jsx-runtime");
935
+ var MicIcon = React8.forwardRef(
844
936
  (_a, forwardedRef) => {
845
937
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
846
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
938
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
847
939
  "svg",
848
940
  __spreadProps(__spreadValues({
849
941
  fill: "none",
@@ -854,7 +946,7 @@ var MicIcon = React7.forwardRef(
854
946
  }, props), {
855
947
  ref: forwardedRef,
856
948
  children: [
857
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
949
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
858
950
  "path",
859
951
  {
860
952
  clipRule: "evenodd",
@@ -863,7 +955,7 @@ var MicIcon = React7.forwardRef(
863
955
  fillRule: "evenodd"
864
956
  }
865
957
  ),
866
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
958
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
867
959
  "path",
868
960
  {
869
961
  d: "M1.30707 7.51038C1.30707 8.87401 2.61826 12.2831 5.90497 12.2831M5.90497 12.2831V15.4999M5.90497 12.2831C8.8595 11.9148 10.0284 10.8351 10.5203 7.51038M5.90497 15.4999H4.05182M5.90497 15.4999H7.81056",
@@ -880,12 +972,12 @@ var MicIcon = React7.forwardRef(
880
972
  MicIcon.displayName = "MicIcon";
881
973
 
882
974
  // src/icons/camera.tsx
883
- var React8 = __toESM(require("react"), 1);
884
- var import_jsx_runtime13 = require("react/jsx-runtime");
885
- var CameraIcon = React8.forwardRef(
975
+ var React9 = __toESM(require("react"), 1);
976
+ var import_jsx_runtime14 = require("react/jsx-runtime");
977
+ var CameraIcon = React9.forwardRef(
886
978
  (_a, forwardedRef) => {
887
979
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
888
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
980
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
889
981
  "svg",
890
982
  __spreadProps(__spreadValues({
891
983
  fill: "none",
@@ -895,7 +987,7 @@ var CameraIcon = React8.forwardRef(
895
987
  width: "16",
896
988
  xmlns: "http://www.w3.org/2000/svg"
897
989
  }, props), {
898
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
990
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
899
991
  "path",
900
992
  {
901
993
  d: "M1.41176 2C0.470588 2 0 2.46222 0 3.38667C0 4.31111 0 11.2444 0 12.1689C0 13.0933 0.470588 13.5556 0.941176 13.5556C1.41176 13.5556 9.88235 13.5556 10.8235 13.5556C11.7647 13.5556 11.7647 13.0933 11.7647 12.1689C11.7647 11.5595 11.7647 10.9502 11.7647 10.6056C11.7647 10.4478 11.8926 10.32 12.0504 10.32H12.1689C12.2126 10.32 12.2557 10.33 12.2949 10.3493L14.1176 11.2444L15.5883 11.9667C15.7782 12.06 16 11.9218 16 11.7103V3.86745C16 3.6507 15.768 3.51238 15.577 3.61479C14.6546 4.10924 12.5222 5.23556 12.2353 5.23556C12.1353 5.23556 12.0821 5.23556 12.0502 5.23556C11.8924 5.23556 11.7647 5.10789 11.7647 4.95009C11.7647 4.51892 11.7647 3.71688 11.7647 3.38667C11.7647 2.92444 11.2941 2 10.3529 2C9.41177 2 2.35294 2 1.41176 2Z",
@@ -909,12 +1001,12 @@ var CameraIcon = React8.forwardRef(
909
1001
  CameraIcon.displayName = "CameraIcon";
910
1002
 
911
1003
  // src/icons/camera-disabled.tsx
912
- var React9 = __toESM(require("react"), 1);
913
- var import_jsx_runtime14 = require("react/jsx-runtime");
914
- var CameraDisabledIcon = React9.forwardRef(
1004
+ var React10 = __toESM(require("react"), 1);
1005
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1006
+ var CameraDisabledIcon = React10.forwardRef(
915
1007
  (_a, forwardedRef) => {
916
1008
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
917
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1009
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
918
1010
  "svg",
919
1011
  __spreadProps(__spreadValues({
920
1012
  fill: "none",
@@ -924,7 +1016,7 @@ var CameraDisabledIcon = React9.forwardRef(
924
1016
  width: "16",
925
1017
  xmlns: "http://www.w3.org/2000/svg"
926
1018
  }, props), {
927
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1019
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
928
1020
  "path",
929
1021
  {
930
1022
  clipRule: "evenodd",
@@ -940,12 +1032,12 @@ var CameraDisabledIcon = React9.forwardRef(
940
1032
  CameraDisabledIcon.displayName = "VideoDisabledIcon";
941
1033
 
942
1034
  // src/icons/end-call.tsx
943
- var React10 = __toESM(require("react"), 1);
944
- var import_jsx_runtime15 = require("react/jsx-runtime");
945
- var EndCallIcon = React10.forwardRef(
1035
+ var React11 = __toESM(require("react"), 1);
1036
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1037
+ var EndCallIcon = React11.forwardRef(
946
1038
  (_a, forwardedRef) => {
947
1039
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
948
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1040
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
949
1041
  "svg",
950
1042
  __spreadProps(__spreadValues({
951
1043
  fill: "none",
@@ -956,14 +1048,14 @@ var EndCallIcon = React10.forwardRef(
956
1048
  xmlns: "http://www.w3.org/2000/svg"
957
1049
  }, props), {
958
1050
  children: [
959
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1051
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
960
1052
  "path",
961
1053
  {
962
1054
  d: "M8 6.66667C8.90629 6.66667 9.77647 6.83841 10.5856 7.15419C10.6552 7.18136 10.69 7.19494 10.7285 7.21836C10.865 7.30159 10.9727 7.47044 10.9981 7.64117C11.0053 7.68921 11.0053 7.73711 11.0053 7.83291C11.0053 8.1259 11.0053 8.27239 11.0285 8.39394C11.1159 8.8523 11.4382 9.2104 11.8507 9.30757C11.9601 9.33333 12.092 9.33333 12.3557 9.33333H12.5026C12.9035 9.33333 13.1039 9.33333 13.266 9.27424C13.5883 9.1567 13.841 8.87584 13.9468 8.51773C14 8.33766 14 8.11498 14 7.6696V7.53749C14 7.09364 14 6.87172 13.9405 6.63611C13.8745 6.37466 13.7013 6.04705 13.528 5.85561C13.3718 5.68309 13.2352 5.5984 12.9619 5.42901C11.4932 4.51871 9.80113 4 8 4C6.19887 4 4.50678 4.51871 3.03812 5.42901C2.76484 5.5984 2.6282 5.68309 2.472 5.85561C2.29868 6.04705 2.12553 6.37466 2.0595 6.63611C2 6.87172 2 7.09364 2 7.53749V7.6696C2 8.11498 2 8.33766 2.05319 8.51773C2.15897 8.87584 2.41174 9.1567 2.73404 9.27424C2.8961 9.33333 3.09652 9.33333 3.49736 9.33333L3.64434 9.33333C3.90803 9.33333 4.03987 9.33333 4.14926 9.30757C4.56179 9.2104 4.88408 8.8523 4.97153 8.39394C4.99472 8.27239 4.99472 8.1259 4.99472 7.83291C4.99472 7.73711 4.99472 7.68921 5.00187 7.64117C5.0273 7.47044 5.13499 7.30159 5.27154 7.21836C5.30996 7.19494 5.34476 7.18136 5.41436 7.15419C6.22353 6.83841 7.09371 6.66667 8 6.66667Z",
963
1055
  fill: color
964
1056
  }
965
1057
  ),
966
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1058
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
967
1059
  "path",
968
1060
  {
969
1061
  d: "M2 12H14M8 6.66667C8.90629 6.66667 9.77647 6.83841 10.5856 7.15419C10.6552 7.18136 10.69 7.19494 10.7285 7.21836C10.865 7.30159 10.9727 7.47044 10.9981 7.64117C11.0053 7.68921 11.0053 7.73711 11.0053 7.83291C11.0053 8.1259 11.0053 8.27239 11.0285 8.39394C11.1159 8.8523 11.4382 9.2104 11.8507 9.30757C11.9601 9.33333 12.092 9.33333 12.3557 9.33333H12.5026C12.9035 9.33333 13.1039 9.33333 13.266 9.27424C13.5883 9.1567 13.841 8.87584 13.9468 8.51773C14 8.33766 14 8.11498 14 7.6696V7.53749C14 7.09364 14 6.87172 13.9405 6.63611C13.8745 6.37466 13.7013 6.04705 13.528 5.85561C13.3718 5.68309 13.2352 5.5984 12.9619 5.42901C11.4932 4.51871 9.80113 4 8 4C6.19887 4 4.50678 4.51871 3.03812 5.42901C2.76484 5.5984 2.6282 5.68309 2.472 5.85561C2.29868 6.04705 2.12553 6.37466 2.0595 6.63611C2 6.87172 2 7.09364 2 7.53749V7.6696C2 8.11498 2 8.33766 2.05319 8.51773C2.15897 8.87584 2.41174 9.1567 2.73404 9.27424C2.8961 9.33333 3.09652 9.33333 3.49736 9.33333L3.64434 9.33333C3.90803 9.33333 4.03987 9.33333 4.14926 9.30757C4.56179 9.2104 4.88408 8.8523 4.97153 8.39394C4.99472 8.27239 4.99472 8.1259 4.99472 7.83291C4.99472 7.73711 4.99472 7.68921 5.00187 7.64117C5.0273 7.47044 5.13499 7.30159 5.27154 7.21836C5.30996 7.19494 5.34476 7.18136 5.41436 7.15419C6.22353 6.83841 7.09371 6.66667 8 6.66667Z",
@@ -980,12 +1072,12 @@ var EndCallIcon = React10.forwardRef(
980
1072
  EndCallIcon.displayName = "EndCallIcon";
981
1073
 
982
1074
  // src/icons/circle-play.tsx
983
- var React11 = __toESM(require("react"), 1);
984
- var import_jsx_runtime16 = require("react/jsx-runtime");
985
- var CirclePlayIcon = React11.forwardRef(
1075
+ var React12 = __toESM(require("react"), 1);
1076
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1077
+ var CirclePlayIcon = React12.forwardRef(
986
1078
  (_a, forwardedRef) => {
987
1079
  var _b = _a, { color = "#currentColor" } = _b, props = __objRest(_b, ["color"]);
988
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1080
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
989
1081
  "svg",
990
1082
  __spreadProps(__spreadValues({
991
1083
  fill: "none",
@@ -996,8 +1088,8 @@ var CirclePlayIcon = React11.forwardRef(
996
1088
  }, props), {
997
1089
  ref: forwardedRef,
998
1090
  children: [
999
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "8", cy: "8", fill: color, r: "8" }),
1000
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1091
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("circle", { cx: "8", cy: "8", fill: color, r: "8" }),
1092
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1001
1093
  "path",
1002
1094
  {
1003
1095
  d: "M13.25 7.56699C13.5833 7.75944 13.5833 8.24056 13.25 8.43301L5.75 12.7631C5.41667 12.9556 5 12.715 5 12.3301L5 3.66987C5 3.28497 5.41667 3.04441 5.75 3.23686L13.25 7.56699Z",
@@ -1012,12 +1104,12 @@ var CirclePlayIcon = React11.forwardRef(
1012
1104
  CirclePlayIcon.displayName = "CirclePlayIcon";
1013
1105
 
1014
1106
  // src/icons/circle-pencil.tsx
1015
- var React12 = __toESM(require("react"), 1);
1016
- var import_jsx_runtime17 = require("react/jsx-runtime");
1017
- var CirclePencilIcon = React12.forwardRef(
1107
+ var React13 = __toESM(require("react"), 1);
1108
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1109
+ var CirclePencilIcon = React13.forwardRef(
1018
1110
  (_a, forwardedRef) => {
1019
1111
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1020
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1112
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1021
1113
  "svg",
1022
1114
  __spreadProps(__spreadValues({
1023
1115
  fill: "none",
@@ -1028,8 +1120,8 @@ var CirclePencilIcon = React12.forwardRef(
1028
1120
  }, props), {
1029
1121
  ref: forwardedRef,
1030
1122
  children: [
1031
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("circle", { cx: "8", cy: "8", fill: color, r: "8" }),
1032
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1123
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "8", cy: "8", fill: color, r: "8" }),
1124
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1033
1125
  "rect",
1034
1126
  {
1035
1127
  fill: "white",
@@ -1039,7 +1131,7 @@ var CirclePencilIcon = React12.forwardRef(
1039
1131
  width: "12"
1040
1132
  }
1041
1133
  ),
1042
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1134
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1043
1135
  "path",
1044
1136
  {
1045
1137
  clipRule: "evenodd",
@@ -1056,12 +1148,12 @@ var CirclePencilIcon = React12.forwardRef(
1056
1148
  CirclePencilIcon.displayName = "CirclePencilIcon";
1057
1149
 
1058
1150
  // src/icons/circle-check.tsx
1059
- var React13 = __toESM(require("react"), 1);
1060
- var import_jsx_runtime18 = require("react/jsx-runtime");
1061
- var CircleCheckIcon = React13.forwardRef(
1151
+ var React14 = __toESM(require("react"), 1);
1152
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1153
+ var CircleCheckIcon = React14.forwardRef(
1062
1154
  (_a, forwardedRef) => {
1063
1155
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1064
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1156
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1065
1157
  "svg",
1066
1158
  __spreadProps(__spreadValues({
1067
1159
  fill: "none",
@@ -1072,9 +1164,9 @@ var CircleCheckIcon = React13.forwardRef(
1072
1164
  }, props), {
1073
1165
  ref: forwardedRef,
1074
1166
  children: [
1075
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
1076
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { fill: "white", fillOpacity: "0.01", height: "16", width: "16" }),
1077
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1167
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
1168
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("rect", { fill: "white", fillOpacity: "0.01", height: "16", width: "16" }),
1169
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1078
1170
  "path",
1079
1171
  {
1080
1172
  clipRule: "evenodd",
@@ -1091,12 +1183,12 @@ var CircleCheckIcon = React13.forwardRef(
1091
1183
  CircleCheckIcon.displayName = "CircleCheckIcon";
1092
1184
 
1093
1185
  // src/icons/circle-satisfaction.tsx
1094
- var React14 = __toESM(require("react"), 1);
1095
- var import_jsx_runtime19 = require("react/jsx-runtime");
1096
- var CircleSatisfactionIcon = React14.forwardRef(
1186
+ var React15 = __toESM(require("react"), 1);
1187
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1188
+ var CircleSatisfactionIcon = React15.forwardRef(
1097
1189
  (_a, forwardedRef) => {
1098
1190
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1099
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1191
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1100
1192
  "svg",
1101
1193
  __spreadProps(__spreadValues({
1102
1194
  fill: "none",
@@ -1107,8 +1199,8 @@ var CircleSatisfactionIcon = React14.forwardRef(
1107
1199
  }, props), {
1108
1200
  ref: forwardedRef,
1109
1201
  children: [
1110
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
1111
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1202
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
1203
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1112
1204
  "rect",
1113
1205
  {
1114
1206
  fill: "white",
@@ -1118,7 +1210,7 @@ var CircleSatisfactionIcon = React14.forwardRef(
1118
1210
  width: "12"
1119
1211
  }
1120
1212
  ),
1121
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1213
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1122
1214
  "path",
1123
1215
  {
1124
1216
  d: "M7.77842 2.53284C7.86041 2.33573 8.13963 2.33573 8.22162 2.53284L9.53074 5.68036C9.5653 5.76346 9.64346 5.82023 9.73316 5.82742L13.1312 6.09985C13.344 6.1169 13.4302 6.38246 13.2682 6.52134L10.6792 8.73904C10.6109 8.79758 10.581 8.88946 10.6019 8.97699L11.3929 12.2928C11.4424 12.5005 11.2165 12.6647 11.0343 12.5534L8.12512 10.7764C8.04832 10.7296 7.95172 10.7296 7.87492 10.7764L4.96574 12.5534C4.78356 12.6647 4.55766 12.5005 4.60719 12.2928L5.39815 8.97699C5.41904 8.88946 5.38918 8.79758 5.32084 8.73904L2.73191 6.52134C2.56978 6.38246 2.65607 6.1169 2.86886 6.09985L6.26688 5.82742C6.35658 5.82023 6.43474 5.76346 6.4693 5.68036L7.77842 2.53284Z",
@@ -1133,12 +1225,12 @@ var CircleSatisfactionIcon = React14.forwardRef(
1133
1225
  CircleSatisfactionIcon.displayName = "CircleSatisfactionIcon";
1134
1226
 
1135
1227
  // src/icons/circle-quote.tsx
1136
- var React15 = __toESM(require("react"), 1);
1137
- var import_jsx_runtime20 = require("react/jsx-runtime");
1138
- var CircleQuoteIcon = React15.forwardRef(
1228
+ var React16 = __toESM(require("react"), 1);
1229
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1230
+ var CircleQuoteIcon = React16.forwardRef(
1139
1231
  (_a, forwardedRef) => {
1140
1232
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1141
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1233
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1142
1234
  "svg",
1143
1235
  __spreadProps(__spreadValues({
1144
1236
  fill: "none",
@@ -1149,8 +1241,8 @@ var CircleQuoteIcon = React15.forwardRef(
1149
1241
  }, props), {
1150
1242
  ref: forwardedRef,
1151
1243
  children: [
1152
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
1153
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1244
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
1245
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1154
1246
  "rect",
1155
1247
  {
1156
1248
  fill: "white",
@@ -1160,7 +1252,7 @@ var CircleQuoteIcon = React15.forwardRef(
1160
1252
  width: "12"
1161
1253
  }
1162
1254
  ),
1163
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1255
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1164
1256
  "path",
1165
1257
  {
1166
1258
  clipRule: "evenodd",
@@ -1177,12 +1269,12 @@ var CircleQuoteIcon = React15.forwardRef(
1177
1269
  CircleQuoteIcon.displayName = "CircleQuoteIcon";
1178
1270
 
1179
1271
  // src/icons/circle-chat.tsx
1180
- var React16 = __toESM(require("react"), 1);
1181
- var import_jsx_runtime21 = require("react/jsx-runtime");
1182
- var CircleChatIcon = React16.forwardRef(
1272
+ var React17 = __toESM(require("react"), 1);
1273
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1274
+ var CircleChatIcon = React17.forwardRef(
1183
1275
  (_a, forwardedRef) => {
1184
1276
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1185
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1277
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1186
1278
  "svg",
1187
1279
  __spreadProps(__spreadValues({
1188
1280
  fill: "none",
@@ -1193,8 +1285,8 @@ var CircleChatIcon = React16.forwardRef(
1193
1285
  xmlns: "http://www.w3.org/2000/svg"
1194
1286
  }, props), {
1195
1287
  children: [
1196
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("rect", { fill: color, height: "16", rx: "8", width: "16" }),
1197
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1288
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("rect", { fill: color, height: "16", rx: "8", width: "16" }),
1289
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1198
1290
  "rect",
1199
1291
  {
1200
1292
  fill: "white",
@@ -1204,7 +1296,7 @@ var CircleChatIcon = React16.forwardRef(
1204
1296
  width: "12"
1205
1297
  }
1206
1298
  ),
1207
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1299
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1208
1300
  "path",
1209
1301
  {
1210
1302
  clipRule: "evenodd",
@@ -1221,12 +1313,12 @@ var CircleChatIcon = React16.forwardRef(
1221
1313
  CircleChatIcon.displayName = "CircleChatIcon";
1222
1314
 
1223
1315
  // src/icons/circle-file.tsx
1224
- var React17 = __toESM(require("react"), 1);
1225
- var import_jsx_runtime22 = require("react/jsx-runtime");
1226
- var CircleFileIcon = React17.forwardRef(
1316
+ var React18 = __toESM(require("react"), 1);
1317
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1318
+ var CircleFileIcon = React18.forwardRef(
1227
1319
  (_a, forwardedRef) => {
1228
1320
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1229
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1321
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1230
1322
  "svg",
1231
1323
  __spreadProps(__spreadValues({
1232
1324
  fill: "none",
@@ -1237,8 +1329,8 @@ var CircleFileIcon = React17.forwardRef(
1237
1329
  }, props), {
1238
1330
  ref: forwardedRef,
1239
1331
  children: [
1240
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("rect", { fill: color, height: "16", rx: "8", width: "16" }),
1241
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1332
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("rect", { fill: color, height: "16", rx: "8", width: "16" }),
1333
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1242
1334
  "rect",
1243
1335
  {
1244
1336
  fill: "white",
@@ -1248,7 +1340,7 @@ var CircleFileIcon = React17.forwardRef(
1248
1340
  width: "12"
1249
1341
  }
1250
1342
  ),
1251
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1343
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1252
1344
  "path",
1253
1345
  {
1254
1346
  clipRule: "evenodd",
@@ -1265,12 +1357,12 @@ var CircleFileIcon = React17.forwardRef(
1265
1357
  CircleFileIcon.displayName = "CircleFileIcon";
1266
1358
 
1267
1359
  // src/icons/headset.tsx
1268
- var React18 = __toESM(require("react"), 1);
1269
- var import_jsx_runtime23 = require("react/jsx-runtime");
1270
- var HeadsetIcon = React18.forwardRef(
1360
+ var React19 = __toESM(require("react"), 1);
1361
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1362
+ var HeadsetIcon = React19.forwardRef(
1271
1363
  (_a, forwardedRef) => {
1272
1364
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1273
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1365
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1274
1366
  "svg",
1275
1367
  __spreadProps(__spreadValues({
1276
1368
  fill: "none",
@@ -1281,7 +1373,7 @@ var HeadsetIcon = React18.forwardRef(
1281
1373
  }, props), {
1282
1374
  ref: forwardedRef,
1283
1375
  children: [
1284
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1376
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1285
1377
  "path",
1286
1378
  {
1287
1379
  d: "M3.25 6C3.25 3.75 5.5 2 8 2C10.5 2 12.75 3.75 12.75 6",
@@ -1290,7 +1382,7 @@ var HeadsetIcon = React18.forwardRef(
1290
1382
  strokeWidth: "1.2"
1291
1383
  }
1292
1384
  ),
1293
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1385
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1294
1386
  "path",
1295
1387
  {
1296
1388
  d: "M4.75 6H3.25A1.5 1.5 0 0 0 1.75 7.5V10.75A1.5 1.5 0 0 0 3.25 12.25H4.75Z",
@@ -1299,7 +1391,7 @@ var HeadsetIcon = React18.forwardRef(
1299
1391
  strokeWidth: "1.2"
1300
1392
  }
1301
1393
  ),
1302
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1394
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1303
1395
  "path",
1304
1396
  {
1305
1397
  d: "M11.25 6H12.75A1.5 1.5 0 0 1 14.25 7.5V10.75A1.5 1.5 0 0 1 12.75 12.25H11.25Z",
@@ -1308,7 +1400,7 @@ var HeadsetIcon = React18.forwardRef(
1308
1400
  strokeWidth: "1.2"
1309
1401
  }
1310
1402
  ),
1311
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1403
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1312
1404
  "path",
1313
1405
  {
1314
1406
  d: "M4 12.25V13.25C4 13.94 4.56 14.5 5.25 14.5H8",
@@ -1326,7 +1418,7 @@ var HeadsetIcon = React18.forwardRef(
1326
1418
  HeadsetIcon.displayName = "HeadsetIcon";
1327
1419
 
1328
1420
  // src/molecules/dynamic-form-editor-field-editor-panel.tsx
1329
- var import_jsx_runtime24 = require("react/jsx-runtime");
1421
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1330
1422
  function isRecord2(value) {
1331
1423
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
1332
1424
  }
@@ -1408,15 +1500,15 @@ function DynamicFormEditorFieldEditorPanel(props) {
1408
1500
  } = props;
1409
1501
  const canMoveUp = fieldIndex > 0;
1410
1502
  const canMoveDown = fieldIndex >= 0 && fieldIndex < fields.length - 1;
1411
- const placeholderValue = (0, import_react9.useMemo)(() => {
1503
+ const placeholderValue = (0, import_react10.useMemo)(() => {
1412
1504
  if (!field) return "";
1413
1505
  return String(field.placeholder || "");
1414
1506
  }, [field]);
1415
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { style: { flex: 1, minWidth: 520, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { direction: "column", gap: "4", children: [
1416
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1417
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC \uD3B8\uC9D1" }),
1418
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "center", gap: "1", children: [
1419
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1507
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Card, { style: { flex: 1, minWidth: 520, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "4", children: [
1508
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1509
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC \uD3B8\uC9D1" }),
1510
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", gap: "1", children: [
1511
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1420
1512
  IconButton,
1421
1513
  {
1422
1514
  "aria-label": "\uD544\uB4DC \uC704\uB85C",
@@ -1425,10 +1517,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1425
1517
  onMoveField("up");
1426
1518
  },
1427
1519
  variant: "soft",
1428
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronUpIcon, {})
1520
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronUpIcon, {})
1429
1521
  }
1430
1522
  ),
1431
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1523
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1432
1524
  IconButton,
1433
1525
  {
1434
1526
  "aria-label": "\uD544\uB4DC \uC544\uB798\uB85C",
@@ -1437,36 +1529,36 @@ function DynamicFormEditorFieldEditorPanel(props) {
1437
1529
  onMoveField("down");
1438
1530
  },
1439
1531
  variant: "soft",
1440
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronDownIcon, {})
1532
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronDownIcon, {})
1441
1533
  }
1442
1534
  ),
1443
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1535
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1444
1536
  IconButton,
1445
1537
  {
1446
1538
  "aria-label": "\uD544\uB4DC \uBCF5\uC81C",
1447
1539
  disabled: readonly || !field,
1448
1540
  onClick: onDuplicateField,
1449
1541
  variant: "soft",
1450
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.CopyIcon, {})
1542
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.CopyIcon, {})
1451
1543
  }
1452
1544
  ),
1453
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1545
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1454
1546
  IconButton,
1455
1547
  {
1456
1548
  "aria-label": "\uD544\uB4DC \uC0AD\uC81C",
1457
1549
  disabled: readonly || !field,
1458
1550
  onClick: onDeleteField,
1459
1551
  variant: "soft",
1460
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.TrashIcon, {})
1552
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.TrashIcon, {})
1461
1553
  }
1462
1554
  )
1463
1555
  ] })
1464
1556
  ] }),
1465
- !field ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC67C\uCABD\uC5D0\uC11C \uD544\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694." }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
1466
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1467
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1468
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "name" }),
1469
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1557
+ !field ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC67C\uCABD\uC5D0\uC11C \uD544\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694." }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
1558
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1559
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1560
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "name" }),
1561
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1470
1562
  TextField.Root,
1471
1563
  {
1472
1564
  disabled: readonly,
@@ -1477,9 +1569,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1477
1569
  }
1478
1570
  )
1479
1571
  ] }),
1480
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1481
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "label" }),
1482
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1572
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1573
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "label" }),
1574
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1483
1575
  TextField.Root,
1484
1576
  {
1485
1577
  disabled: readonly,
@@ -1491,8 +1583,8 @@ function DynamicFormEditorFieldEditorPanel(props) {
1491
1583
  )
1492
1584
  ] })
1493
1585
  ] }),
1494
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "center", gap: "2", children: [
1495
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1586
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", gap: "2", children: [
1587
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1496
1588
  Select.Root,
1497
1589
  {
1498
1590
  disabled: readonly,
@@ -1502,13 +1594,13 @@ function DynamicFormEditorFieldEditorPanel(props) {
1502
1594
  },
1503
1595
  value: field.type,
1504
1596
  children: [
1505
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1506
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Content, { children: fieldTypes.map((t) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: t, children: getFieldTypeLabel(t) }, t)) })
1597
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1598
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Content, { children: fieldTypes.map((t) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: t, children: getFieldTypeLabel(t) }, t)) })
1507
1599
  ]
1508
1600
  }
1509
1601
  ),
1510
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "center", gap: "2", children: [
1511
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1602
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", gap: "2", children: [
1603
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1512
1604
  Checkbox,
1513
1605
  {
1514
1606
  checked: Boolean(field.required),
@@ -1518,12 +1610,12 @@ function DynamicFormEditorFieldEditorPanel(props) {
1518
1610
  }
1519
1611
  }
1520
1612
  ),
1521
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "\uD544\uC218" })
1613
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "\uD544\uC218" })
1522
1614
  ] })
1523
1615
  ] }),
1524
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
1525
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "description" }),
1526
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1616
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1617
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "description" }),
1618
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1527
1619
  TextArea,
1528
1620
  {
1529
1621
  disabled: readonly,
@@ -1537,9 +1629,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1537
1629
  }
1538
1630
  )
1539
1631
  ] }),
1540
- field.type === "short_text" || field.type === "long_text" || field.type === "number" || field.type === "email" || field.type === "dropdown" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
1541
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "placeholder" }),
1542
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1632
+ field.type === "short_text" || field.type === "long_text" || field.type === "number" || field.type === "email" || field.type === "dropdown" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1633
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "placeholder" }),
1634
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1543
1635
  TextField.Root,
1544
1636
  {
1545
1637
  disabled: readonly,
@@ -1550,9 +1642,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1550
1642
  }
1551
1643
  )
1552
1644
  ] }) : null,
1553
- field.type === "choice" || field.type === "choices" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
1554
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "orientation" }),
1555
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1645
+ field.type === "choice" || field.type === "choices" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1646
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "orientation" }),
1647
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1556
1648
  Select.Root,
1557
1649
  {
1558
1650
  disabled: readonly,
@@ -1562,19 +1654,19 @@ function DynamicFormEditorFieldEditorPanel(props) {
1562
1654
  },
1563
1655
  value: field.orientation || "vertical",
1564
1656
  children: [
1565
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1566
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Select.Content, { children: [
1567
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: "vertical", children: "vertical" }),
1568
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: "horizontal", children: "horizontal" })
1657
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1658
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Select.Content, { children: [
1659
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: "vertical", children: "vertical" }),
1660
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: "horizontal", children: "horizontal" })
1569
1661
  ] })
1570
1662
  ]
1571
1663
  }
1572
1664
  )
1573
1665
  ] }) : null,
1574
- field.type === "dropdown" || field.type === "choice" || field.type === "radio_cards" || field.type === "choices" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
1575
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1576
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "options" }),
1577
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1666
+ field.type === "dropdown" || field.type === "choice" || field.type === "radio_cards" || field.type === "choices" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
1667
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1668
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "options" }),
1669
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1578
1670
  Button,
1579
1671
  {
1580
1672
  disabled: readonly,
@@ -1592,16 +1684,16 @@ function DynamicFormEditorFieldEditorPanel(props) {
1592
1684
  size: "small",
1593
1685
  variant: "soft",
1594
1686
  children: [
1595
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.PlusIcon, {}),
1687
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.PlusIcon, {}),
1596
1688
  " \uCD94\uAC00"
1597
1689
  ]
1598
1690
  }
1599
1691
  )
1600
1692
  ] }),
1601
- getOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1602
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1603
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "label" }),
1604
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1693
+ getOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1694
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1695
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "label" }),
1696
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1605
1697
  TextField.Root,
1606
1698
  {
1607
1699
  disabled: readonly,
@@ -1616,9 +1708,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1616
1708
  }
1617
1709
  )
1618
1710
  ] }),
1619
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1620
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "value" }),
1621
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1711
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1712
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "value" }),
1713
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1622
1714
  TextField.Root,
1623
1715
  {
1624
1716
  disabled: readonly,
@@ -1633,8 +1725,8 @@ function DynamicFormEditorFieldEditorPanel(props) {
1633
1725
  }
1634
1726
  )
1635
1727
  ] }),
1636
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { gap: "1", children: [
1637
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1728
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { gap: "1", children: [
1729
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1638
1730
  IconButton,
1639
1731
  {
1640
1732
  "aria-label": "\uC635\uC158 \uC704\uB85C",
@@ -1645,10 +1737,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1645
1737
  onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
1646
1738
  },
1647
1739
  variant: "soft",
1648
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronUpIcon, {})
1740
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronUpIcon, {})
1649
1741
  }
1650
1742
  ),
1651
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1743
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1652
1744
  IconButton,
1653
1745
  {
1654
1746
  "aria-label": "\uC635\uC158 \uC544\uB798\uB85C",
@@ -1659,10 +1751,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1659
1751
  onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
1660
1752
  },
1661
1753
  variant: "soft",
1662
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronDownIcon, {})
1754
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronDownIcon, {})
1663
1755
  }
1664
1756
  ),
1665
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1757
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1666
1758
  IconButton,
1667
1759
  {
1668
1760
  "aria-label": "\uC635\uC158 \uC0AD\uC81C",
@@ -1673,16 +1765,16 @@ function DynamicFormEditorFieldEditorPanel(props) {
1673
1765
  onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
1674
1766
  },
1675
1767
  variant: "soft",
1676
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.TrashIcon, {})
1768
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.TrashIcon, {})
1677
1769
  }
1678
1770
  )
1679
1771
  ] })
1680
1772
  ] }, `${opt.value}-${opt.label}`))
1681
1773
  ] }) }) : null,
1682
- field.type === "image_radio_card" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
1683
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1684
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "image options" }),
1685
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1774
+ field.type === "image_radio_card" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
1775
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1776
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "image options" }),
1777
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1686
1778
  Button,
1687
1779
  {
1688
1780
  disabled: readonly,
@@ -1701,21 +1793,21 @@ function DynamicFormEditorFieldEditorPanel(props) {
1701
1793
  size: "small",
1702
1794
  variant: "soft",
1703
1795
  children: [
1704
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.PlusIcon, {}),
1796
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.PlusIcon, {}),
1705
1797
  " \uCD94\uAC00"
1706
1798
  ]
1707
1799
  }
1708
1800
  )
1709
1801
  ] }),
1710
- getImageOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1802
+ getImageOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1711
1803
  Card,
1712
1804
  {
1713
1805
  style: { padding: 10 },
1714
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
1715
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1716
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1717
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "label" }),
1718
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1806
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
1807
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1808
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1809
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "label" }),
1810
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1719
1811
  TextField.Root,
1720
1812
  {
1721
1813
  disabled: readonly,
@@ -1732,9 +1824,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1732
1824
  }
1733
1825
  )
1734
1826
  ] }),
1735
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1736
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "value" }),
1737
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1827
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1828
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "value" }),
1829
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1738
1830
  TextField.Root,
1739
1831
  {
1740
1832
  disabled: readonly,
@@ -1752,9 +1844,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1752
1844
  )
1753
1845
  ] })
1754
1846
  ] }),
1755
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
1756
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "imageSrc" }),
1757
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1847
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1848
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "imageSrc" }),
1849
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1758
1850
  TextField.Root,
1759
1851
  {
1760
1852
  disabled: readonly,
@@ -1771,10 +1863,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1771
1863
  }
1772
1864
  )
1773
1865
  ] }),
1774
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1775
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1776
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "alt" }),
1777
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1866
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1867
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1868
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "alt" }),
1869
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1778
1870
  TextField.Root,
1779
1871
  {
1780
1872
  disabled: readonly,
@@ -1792,7 +1884,7 @@ function DynamicFormEditorFieldEditorPanel(props) {
1792
1884
  }
1793
1885
  )
1794
1886
  ] }),
1795
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1887
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1796
1888
  IconButton,
1797
1889
  {
1798
1890
  "aria-label": "\uC774\uBBF8\uC9C0 \uC635\uC158 \uC0AD\uC81C",
@@ -1805,7 +1897,7 @@ function DynamicFormEditorFieldEditorPanel(props) {
1805
1897
  );
1806
1898
  },
1807
1899
  variant: "soft",
1808
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.TrashIcon, {})
1900
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.TrashIcon, {})
1809
1901
  }
1810
1902
  )
1811
1903
  ] })
@@ -1813,10 +1905,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1813
1905
  },
1814
1906
  `${opt.value}-${opt.label}-${opt.imageSrc}`
1815
1907
  )),
1816
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { gap: "2", children: [
1817
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1818
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "gridColumnsCount" }),
1819
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1908
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { gap: "2", children: [
1909
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1910
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "gridColumnsCount" }),
1911
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1820
1912
  TextField.Root,
1821
1913
  {
1822
1914
  disabled: readonly,
@@ -1832,9 +1924,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1832
1924
  }
1833
1925
  )
1834
1926
  ] }),
1835
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1836
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "gridItemHeight" }),
1837
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1927
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1928
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "gridItemHeight" }),
1929
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1838
1930
  TextField.Root,
1839
1931
  {
1840
1932
  disabled: readonly,
@@ -1847,9 +1939,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1847
1939
  }
1848
1940
  )
1849
1941
  ] }),
1850
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1851
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "gridGap" }),
1852
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1942
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1943
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "gridGap" }),
1944
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1853
1945
  TextField.Root,
1854
1946
  {
1855
1947
  disabled: readonly,
@@ -1861,9 +1953,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1861
1953
  )
1862
1954
  ] })
1863
1955
  ] }),
1864
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
1865
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "imageFit" }),
1866
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1956
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1957
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "imageFit" }),
1958
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1867
1959
  Select.Root,
1868
1960
  {
1869
1961
  disabled: readonly,
@@ -1873,22 +1965,22 @@ function DynamicFormEditorFieldEditorPanel(props) {
1873
1965
  },
1874
1966
  value: field.imageFit || "cover",
1875
1967
  children: [
1876
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1877
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Select.Content, { children: [
1878
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: "cover", children: "cover" }),
1879
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: "contain", children: "contain" })
1968
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1969
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Select.Content, { children: [
1970
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: "cover", children: "cover" }),
1971
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: "contain", children: "contain" })
1880
1972
  ] })
1881
1973
  ]
1882
1974
  }
1883
1975
  )
1884
1976
  ] })
1885
1977
  ] }) }) : null,
1886
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
1887
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "validation" }),
1888
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes2.Flex, { gap: "2", children: [
1889
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1890
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "min" }),
1891
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1978
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
1979
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "validation" }),
1980
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { gap: "2", children: [
1981
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1982
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "min" }),
1983
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1892
1984
  TextField.Root,
1893
1985
  {
1894
1986
  disabled: readonly,
@@ -1904,9 +1996,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1904
1996
  }
1905
1997
  )
1906
1998
  ] }),
1907
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
1908
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "max" }),
1909
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1999
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
2000
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "max" }),
2001
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1910
2002
  TextField.Root,
1911
2003
  {
1912
2004
  disabled: readonly,
@@ -1923,9 +2015,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1923
2015
  )
1924
2016
  ] })
1925
2017
  ] }),
1926
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
1927
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "pattern" }),
1928
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2018
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
2019
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "pattern" }),
2020
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1929
2021
  TextField.Root,
1930
2022
  {
1931
2023
  disabled: readonly,
@@ -1938,9 +2030,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1938
2030
  }
1939
2031
  )
1940
2032
  ] }),
1941
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
1942
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "message" }),
1943
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2033
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
2034
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "message" }),
2035
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1944
2036
  TextField.Root,
1945
2037
  {
1946
2038
  disabled: readonly,
@@ -1959,9 +2051,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1959
2051
  }
1960
2052
 
1961
2053
  // src/molecules/dynamic-form-editor-field-list-panel.tsx
1962
- var import_react10 = require("react");
1963
- var import_themes11 = require("@radix-ui/themes");
1964
- var import_jsx_runtime25 = require("react/jsx-runtime");
2054
+ var import_react11 = require("react");
2055
+ var import_themes12 = require("@radix-ui/themes");
2056
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1965
2057
  function isFieldType2(value, types) {
1966
2058
  return types.some((t) => t === value);
1967
2059
  }
@@ -1976,13 +2068,13 @@ function DynamicFormEditorFieldListPanel(props) {
1976
2068
  onAddField
1977
2069
  } = props;
1978
2070
  const isEmpty = fields.length === 0;
1979
- const triggerPlaceholder = (0, import_react10.useMemo)(() => {
2071
+ const triggerPlaceholder = (0, import_react11.useMemo)(() => {
1980
2072
  return readonly ? "\uCD94\uAC00(\uC77D\uAE30 \uC804\uC6A9)" : "\uCD94\uAC00";
1981
2073
  }, [readonly]);
1982
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Card, { style: { width: 340, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
1983
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1984
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC" }),
1985
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2074
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Card, { style: { width: 340, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
2075
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
2076
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC" }),
2077
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1986
2078
  Select.Root,
1987
2079
  {
1988
2080
  disabled: readonly,
@@ -1992,18 +2084,18 @@ function DynamicFormEditorFieldListPanel(props) {
1992
2084
  },
1993
2085
  value: "",
1994
2086
  children: [
1995
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Trigger, { placeholder: triggerPlaceholder }),
1996
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Content, { children: fieldTypes.map((t) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: t, children: getFieldTypeLabel(t) }, t)) })
2087
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Trigger, { placeholder: triggerPlaceholder }),
2088
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Content, { children: fieldTypes.map((t) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Item, { value: t, children: getFieldTypeLabel(t) }, t)) })
1997
2089
  ]
1998
2090
  }
1999
2091
  )
2000
2092
  ] }),
2001
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
2002
- isEmpty ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC544\uC9C1 \uD544\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) : null,
2093
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
2094
+ isEmpty ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC544\uC9C1 \uD544\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) : null,
2003
2095
  fields.map((field) => {
2004
2096
  const isSelected = field.name === selectedFieldName;
2005
2097
  const hasError = hasFieldError(field.name);
2006
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2098
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2007
2099
  Card,
2008
2100
  {
2009
2101
  error: isSelected ? hasError : void 0,
@@ -2016,8 +2108,8 @@ function DynamicFormEditorFieldListPanel(props) {
2016
2108
  opacity: readonly ? 0.8 : 1,
2017
2109
  border: isSelected ? "1px solid var(--accent-9)" : "1px solid transparent"
2018
2110
  },
2019
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { minWidth: 0 }, children: [
2020
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2111
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes12.Box, { style: { minWidth: 0 }, children: [
2112
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2021
2113
  Typo,
2022
2114
  {
2023
2115
  style: {
@@ -2029,7 +2121,7 @@ function DynamicFormEditorFieldListPanel(props) {
2029
2121
  children: field.label
2030
2122
  }
2031
2123
  ),
2032
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Typo, { color: "gray", variant: "caption", children: [
2124
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Typo, { color: "gray", variant: "caption", children: [
2033
2125
  field.name,
2034
2126
  " \xB7 ",
2035
2127
  field.type,
@@ -2045,13 +2137,13 @@ function DynamicFormEditorFieldListPanel(props) {
2045
2137
  }
2046
2138
 
2047
2139
  // src/molecules/dynamic-form-editor-issues-panel.tsx
2048
- var import_jsx_runtime26 = require("react/jsx-runtime");
2140
+ var import_jsx_runtime27 = require("react/jsx-runtime");
2049
2141
  function DynamicFormEditorIssuesPanel(props) {
2050
2142
  const { issues } = props;
2051
2143
  if (issues.length === 0) return null;
2052
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
2053
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "\uC2A4\uD0A4\uB9C8 \uC774\uC288" }),
2054
- issues.map((i) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2144
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
2145
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, { variant: "caption", children: "\uC2A4\uD0A4\uB9C8 \uC774\uC288" }),
2146
+ issues.map((i) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2055
2147
  Typo,
2056
2148
  {
2057
2149
  color: i.level === "error" ? "red" : "gray",
@@ -2070,23 +2162,24 @@ function DynamicFormEditorIssuesPanel(props) {
2070
2162
  }
2071
2163
 
2072
2164
  // src/molecules/dynamic-form.tsx
2073
- var import_react15 = require("react");
2165
+ var import_react18 = require("react");
2074
2166
  var import_formik = require("formik");
2075
2167
  var Yup = __toESM(require("yup"), 1);
2076
- var import_themes19 = require("@radix-ui/themes");
2168
+ var import_themes20 = require("@radix-ui/themes");
2077
2169
 
2078
2170
  // src/context/dynamic-form-context.tsx
2079
- var import_react13 = require("react");
2171
+ var import_react14 = require("react");
2080
2172
 
2081
2173
  // src/molecules/form/form.tsx
2082
2174
  var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
2083
- var import_react12 = require("react");
2175
+ var import_react13 = require("react");
2084
2176
 
2085
2177
  // src/atoms/heading.tsx
2086
- var import_themes12 = require("@radix-ui/themes");
2087
- var import_react11 = require("react");
2088
2178
  var import_themes13 = require("@radix-ui/themes");
2089
- var import_jsx_runtime27 = require("react/jsx-runtime");
2179
+ var import_clsx7 = require("clsx");
2180
+ var import_react12 = require("react");
2181
+ var import_themes14 = require("@radix-ui/themes");
2182
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2090
2183
  var mapVariant = (variant) => {
2091
2184
  switch (variant) {
2092
2185
  case "heading1":
@@ -2104,22 +2197,34 @@ var mapVariant = (variant) => {
2104
2197
  }
2105
2198
  };
2106
2199
  function Heading2(props) {
2107
- const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
2108
- const radixSize = (0, import_react11.useMemo)(() => {
2200
+ const _a = props, { size, children, variant, color, className } = _a, rest = __objRest(_a, ["size", "children", "variant", "color", "className"]);
2201
+ const { color: radixColor, className: colorClassName } = (0, import_react12.useMemo)(
2202
+ () => resolveColor(color),
2203
+ [color]
2204
+ );
2205
+ const radixSize = (0, import_react12.useMemo)(() => {
2109
2206
  return variant ? mapWithResponsive({
2110
2207
  value: variant,
2111
2208
  mapFn: mapVariant
2112
2209
  }) : size;
2113
2210
  }, [size, variant]);
2114
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_themes12.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
2211
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2212
+ import_themes13.Heading,
2213
+ __spreadProps(__spreadValues({}, rest), {
2214
+ className: (0, import_clsx7.clsx)(colorClassName, className),
2215
+ color: radixColor,
2216
+ size: radixSize,
2217
+ children
2218
+ })
2219
+ );
2115
2220
  }
2116
2221
 
2117
2222
  // src/molecules/form/form.tsx
2118
- var import_jsx_runtime28 = require("react/jsx-runtime");
2119
- var Root4 = (0, import_react12.forwardRef)(
2223
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2224
+ var Root4 = (0, import_react13.forwardRef)(
2120
2225
  (_a, ref) => {
2121
2226
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2122
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2227
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2123
2228
  RadixForm.Root,
2124
2229
  __spreadProps(__spreadValues({}, rest), {
2125
2230
  className: `FormRoot ${className || ""}`,
@@ -2130,36 +2235,36 @@ var Root4 = (0, import_react12.forwardRef)(
2130
2235
  }
2131
2236
  );
2132
2237
  Root4.displayName = "FORM_ROOT";
2133
- var FieldContext = (0, import_react12.createContext)({
2238
+ var FieldContext = (0, import_react13.createContext)({
2134
2239
  name: ""
2135
2240
  });
2136
- var Field2 = (0, import_react12.forwardRef)(
2241
+ var Field2 = (0, import_react13.forwardRef)(
2137
2242
  (_a, ref) => {
2138
2243
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2139
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2244
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2140
2245
  RadixForm.Field,
2141
2246
  __spreadProps(__spreadValues({}, rest), {
2142
2247
  className: `FormField ${className || ""}`,
2143
2248
  ref,
2144
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(FieldContext.Provider, { value: rest, children })
2249
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FieldContext.Provider, { value: rest, children })
2145
2250
  })
2146
2251
  );
2147
2252
  }
2148
2253
  );
2149
2254
  Field2.displayName = "FORM_FIELD";
2150
2255
  function HeadingLabel(props) {
2151
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
2256
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
2152
2257
  }
2153
2258
  function CaptionLabel(props) {
2154
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption", weight: "bold" }, props), { children: props.children }));
2259
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption", weight: "bold" }, props), { children: props.children }));
2155
2260
  }
2156
2261
  function BodyLabel(props) {
2157
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typo, __spreadProps(__spreadValues({ variant: "body", weight: "bold" }, props), { children: props.children }));
2262
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, __spreadProps(__spreadValues({ variant: "body", weight: "bold" }, props), { children: props.children }));
2158
2263
  }
2159
- var Label2 = (0, import_react12.forwardRef)(
2264
+ var Label2 = (0, import_react13.forwardRef)(
2160
2265
  (_a, ref) => {
2161
2266
  var _b = _a, { children, className, variant } = _b, rest = __objRest(_b, ["children", "className", "variant"]);
2162
- const Comp = (0, import_react12.useMemo)(() => {
2267
+ const Comp = (0, import_react13.useMemo)(() => {
2163
2268
  switch (variant) {
2164
2269
  case "title":
2165
2270
  return HeadingLabel;
@@ -2170,42 +2275,42 @@ var Label2 = (0, import_react12.forwardRef)(
2170
2275
  return BodyLabel;
2171
2276
  }
2172
2277
  }, [variant]);
2173
- const fieldProps = (0, import_react12.useContext)(FieldContext);
2174
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2278
+ const fieldProps = (0, import_react13.useContext)(FieldContext);
2279
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2175
2280
  RadixForm.Label,
2176
2281
  __spreadProps(__spreadValues({}, rest), {
2177
2282
  asChild: true,
2178
2283
  className: `FormLabel ${className || ""}`,
2179
2284
  ref,
2180
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Comp, { children: [
2285
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Comp, { children: [
2181
2286
  children,
2182
- fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
2287
+ fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
2183
2288
  ] })
2184
2289
  })
2185
2290
  );
2186
2291
  }
2187
2292
  );
2188
2293
  Label2.displayName = "FORM_Label";
2189
- var Message2 = (0, import_react12.forwardRef)(
2294
+ var Message2 = (0, import_react13.forwardRef)(
2190
2295
  (_a, ref) => {
2191
2296
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2192
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2297
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2193
2298
  RadixForm.Message,
2194
2299
  __spreadProps(__spreadValues({}, rest), {
2195
2300
  asChild: true,
2196
2301
  className: `FormMessage ${className || ""}`,
2197
2302
  ref,
2198
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typo, { color: "red", children })
2303
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { color: "red", children })
2199
2304
  })
2200
2305
  );
2201
2306
  }
2202
2307
  );
2203
2308
  Message2.displayName = "FORM_Message";
2204
- var Control2 = (0, import_react12.forwardRef)(
2309
+ var Control2 = (0, import_react13.forwardRef)(
2205
2310
  (_a, ref) => {
2206
2311
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
2207
- const fieldProps = (0, import_react12.useContext)(FieldContext);
2208
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2312
+ const fieldProps = (0, import_react13.useContext)(FieldContext);
2313
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2209
2314
  RadixForm.Control,
2210
2315
  __spreadProps(__spreadValues({}, rest), {
2211
2316
  className: `FormControl ${className || ""}`,
@@ -2228,10 +2333,10 @@ function FormItem(_a) {
2228
2333
  "children",
2229
2334
  "errorMessage"
2230
2335
  ]);
2231
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
2232
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Form.Label, { variant: labelVariant, children: label }),
2336
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
2337
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Label, { variant: labelVariant, children: label }),
2233
2338
  children,
2234
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
2339
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
2235
2340
  ] }));
2236
2341
  }
2237
2342
  var Form = {
@@ -2245,8 +2350,8 @@ var Form = {
2245
2350
  };
2246
2351
 
2247
2352
  // src/context/dynamic-form-context.tsx
2248
- var import_jsx_runtime29 = require("react/jsx-runtime");
2249
- var DynamicFormContext = (0, import_react13.createContext)(null);
2353
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2354
+ var DynamicFormContext = (0, import_react14.createContext)(null);
2250
2355
  function DynamicFormProvider({
2251
2356
  children,
2252
2357
  fields,
@@ -2271,10 +2376,10 @@ function DynamicFormProvider({
2271
2376
  handleChange: formik.handleChange,
2272
2377
  handleBlur: formik.handleBlur
2273
2378
  };
2274
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(DynamicFormContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Root, { onSubmit: formik.handleSubmit, style: formStyle, children }) });
2379
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(DynamicFormContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Form.Root, { onSubmit: formik.handleSubmit, style: formStyle, children }) });
2275
2380
  }
2276
2381
  function useDynamicForm() {
2277
- const context = (0, import_react13.useContext)(DynamicFormContext);
2382
+ const context = (0, import_react14.useContext)(DynamicFormContext);
2278
2383
  if (!context) {
2279
2384
  throw new Error("useDynamicForm must be used within a DynamicFormProvider");
2280
2385
  }
@@ -2282,12 +2387,13 @@ function useDynamicForm() {
2282
2387
  }
2283
2388
 
2284
2389
  // src/atoms/check-box-group.tsx
2285
- var import_themes14 = require("@radix-ui/themes");
2286
- var import_react14 = require("react");
2287
- var import_jsx_runtime30 = require("react/jsx-runtime");
2288
- var Root5 = (0, import_react14.forwardRef)((props, ref) => {
2289
- const _a = props, { children, size = "medium" } = _a, rest = __objRest(_a, ["children", "size"]);
2290
- const groupSize = (0, import_react14.useMemo)(() => {
2390
+ var import_themes15 = require("@radix-ui/themes");
2391
+ var import_clsx8 = require("clsx");
2392
+ var import_react15 = require("react");
2393
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2394
+ var Root5 = (0, import_react15.forwardRef)((props, ref) => {
2395
+ const _a = props, { children, size = "medium", color, className } = _a, rest = __objRest(_a, ["children", "size", "color", "className"]);
2396
+ const groupSize = (0, import_react15.useMemo)(() => {
2291
2397
  switch (size) {
2292
2398
  case "small":
2293
2399
  return "1";
@@ -2298,28 +2404,86 @@ var Root5 = (0, import_react14.forwardRef)((props, ref) => {
2298
2404
  return "2";
2299
2405
  }
2300
2406
  }, [size]);
2301
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes14.CheckboxGroup.Root, __spreadProps(__spreadValues({}, rest), { ref, size: groupSize, children }));
2407
+ const { className: colorClassName } = (0, import_react15.useMemo)(
2408
+ () => resolveColor(color),
2409
+ [color]
2410
+ );
2411
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2412
+ import_themes15.CheckboxGroup.Root,
2413
+ __spreadProps(__spreadValues({}, rest), {
2414
+ className: (0, import_clsx8.clsx)(colorClassName, className),
2415
+ ref,
2416
+ size: groupSize,
2417
+ children
2418
+ })
2419
+ );
2302
2420
  });
2303
2421
  Root5.displayName = "CheckboxGroup.Root";
2304
2422
  var CheckboxGroup = {
2305
2423
  Root: Root5,
2306
- Item: import_themes14.CheckboxGroup.Item
2424
+ Item: import_themes15.CheckboxGroup.Item
2307
2425
  };
2308
2426
 
2309
2427
  // src/atoms/radio-group.tsx
2310
- var import_themes15 = require("@radix-ui/themes");
2428
+ var import_themes16 = require("@radix-ui/themes");
2429
+ var import_clsx9 = require("clsx");
2430
+ var import_react16 = require("react");
2431
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2432
+ var Root6 = (0, import_react16.forwardRef)((props, ref) => {
2433
+ const _a = props, { color, className } = _a, rest = __objRest(_a, ["color", "className"]);
2434
+ const { color: radixColor, className: colorClassName } = (0, import_react16.useMemo)(
2435
+ () => resolveColor(color),
2436
+ [color]
2437
+ );
2438
+ const appliedColor = colorClassName ? void 0 : radixColor;
2439
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2440
+ import_themes16.RadioGroup.Root,
2441
+ __spreadProps(__spreadValues({}, rest), {
2442
+ className: (0, import_clsx9.clsx)(colorClassName, className),
2443
+ color: appliedColor,
2444
+ ref
2445
+ })
2446
+ );
2447
+ });
2448
+ Root6.displayName = "RadioGroup.Root";
2449
+ var RadioGroup = __spreadProps(__spreadValues({}, import_themes16.RadioGroup), {
2450
+ Root: Root6
2451
+ });
2311
2452
 
2312
2453
  // src/atoms/radio-cards.tsx
2313
- var import_themes16 = require("@radix-ui/themes");
2454
+ var import_themes17 = require("@radix-ui/themes");
2455
+ var import_clsx10 = require("clsx");
2456
+ var import_react17 = require("react");
2457
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2458
+ var Root7 = (0, import_react17.forwardRef)((props, ref) => {
2459
+ const _a = props, { color, className } = _a, rest = __objRest(_a, ["color", "className"]);
2460
+ const { color: radixColor, className: colorClassName } = (0, import_react17.useMemo)(
2461
+ () => resolveColor(color),
2462
+ [color]
2463
+ );
2464
+ const appliedColor = colorClassName ? void 0 : radixColor;
2465
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2466
+ import_themes17.RadioCards.Root,
2467
+ __spreadProps(__spreadValues({}, rest), {
2468
+ className: (0, import_clsx10.clsx)(colorClassName, className),
2469
+ color: appliedColor,
2470
+ ref
2471
+ })
2472
+ );
2473
+ });
2474
+ Root7.displayName = "RadioCards.Root";
2475
+ var RadioCards = __spreadProps(__spreadValues({}, import_themes17.RadioCards), {
2476
+ Root: Root7
2477
+ });
2314
2478
 
2315
2479
  // src/atoms/grid.tsx
2316
- var import_themes17 = require("@radix-ui/themes");
2480
+ var import_themes18 = require("@radix-ui/themes");
2317
2481
 
2318
2482
  // src/atoms/inset.tsx
2319
- var import_themes18 = require("@radix-ui/themes");
2483
+ var import_themes19 = require("@radix-ui/themes");
2320
2484
 
2321
2485
  // src/molecules/dynamic-field.tsx
2322
- var import_jsx_runtime31 = require("react/jsx-runtime");
2486
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2323
2487
  function isRecord3(value) {
2324
2488
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
2325
2489
  }
@@ -2388,7 +2552,7 @@ function DynamicFormField({
2388
2552
  const selectedValue = typeof value === "string" || typeof value === "number" ? String(value) : "";
2389
2553
  switch (field.type) {
2390
2554
  case "short_text":
2391
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2555
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2392
2556
  TextField.Root,
2393
2557
  __spreadProps(__spreadValues({}, commonProps), {
2394
2558
  placeholder: field.placeholder,
@@ -2396,7 +2560,7 @@ function DynamicFormField({
2396
2560
  })
2397
2561
  );
2398
2562
  case "email":
2399
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2563
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2400
2564
  TextField.Root,
2401
2565
  __spreadProps(__spreadValues({}, commonProps), {
2402
2566
  placeholder: field.placeholder,
@@ -2404,7 +2568,7 @@ function DynamicFormField({
2404
2568
  })
2405
2569
  );
2406
2570
  case "number":
2407
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2571
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2408
2572
  TextField.Root,
2409
2573
  __spreadProps(__spreadValues({}, commonProps), {
2410
2574
  inputMode: "numeric",
@@ -2414,9 +2578,9 @@ function DynamicFormField({
2414
2578
  })
2415
2579
  );
2416
2580
  case "long_text":
2417
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TextArea, __spreadProps(__spreadValues({ rows: 4 }, commonProps), { placeholder: field.placeholder }));
2581
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TextArea, __spreadProps(__spreadValues({ rows: 4 }, commonProps), { placeholder: field.placeholder }));
2418
2582
  case "dropdown":
2419
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2583
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2420
2584
  Select.Root,
2421
2585
  {
2422
2586
  disabled: readonly,
@@ -2425,7 +2589,7 @@ function DynamicFormField({
2425
2589
  },
2426
2590
  value: selectedValue,
2427
2591
  children: [
2428
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2592
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2429
2593
  Select.Trigger,
2430
2594
  {
2431
2595
  placeholder: field.placeholder,
@@ -2437,13 +2601,13 @@ function DynamicFormField({
2437
2601
  }
2438
2602
  }
2439
2603
  ),
2440
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Select.Content, { children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Select.Item, { value: String(option.value), children: option.label }, option.value)) })
2604
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Select.Content, { children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Select.Item, { value: String(option.value), children: option.label }, option.value)) })
2441
2605
  ]
2442
2606
  }
2443
2607
  );
2444
2608
  case "choice":
2445
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2446
- import_themes15.RadioGroup.Root,
2609
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2610
+ RadioGroup.Root,
2447
2611
  {
2448
2612
  disabled: readonly,
2449
2613
  onValueChange: readonly ? void 0 : (newValue) => {
@@ -2451,26 +2615,26 @@ function DynamicFormField({
2451
2615
  },
2452
2616
  orientation: field.orientation,
2453
2617
  value: String(value || ""),
2454
- children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes15.RadioGroup.Item, { value: String(option.value), children: option.label }, option.value))
2618
+ children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(RadioGroup.Item, { value: String(option.value), children: option.label }, option.value))
2455
2619
  }
2456
2620
  );
2457
2621
  case "radio_cards": {
2458
2622
  const options = getOptions(field);
2459
2623
  if (!options) return null;
2460
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2461
- import_themes16.RadioCards.Root,
2624
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2625
+ RadioCards.Root,
2462
2626
  {
2463
2627
  disabled: readonly,
2464
2628
  onValueChange: readonly ? void 0 : (newValue) => {
2465
2629
  void setFieldValue(name, newValue);
2466
2630
  },
2467
2631
  value: selectedValue,
2468
- children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes16.RadioCards.Item, { value: String(option.value), children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, { children: option.label }) }, option.value))
2632
+ children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(RadioCards.Item, { value: String(option.value), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typo, { children: option.label }) }, option.value))
2469
2633
  }
2470
2634
  );
2471
2635
  }
2472
2636
  case "choices":
2473
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2637
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2474
2638
  CheckboxGroup.Root,
2475
2639
  {
2476
2640
  disabled: readonly,
@@ -2479,12 +2643,12 @@ function DynamicFormField({
2479
2643
  },
2480
2644
  orientation: field.orientation,
2481
2645
  value: Array.isArray(value) ? value.map(String) : [],
2482
- children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CheckboxGroup.Item, { value: String(option.value), children: option.label }, option.value))
2646
+ children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CheckboxGroup.Item, { value: String(option.value), children: option.label }, option.value))
2483
2647
  }
2484
2648
  );
2485
2649
  case "yes_no":
2486
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes2.Flex, { gap: "2", children: [
2487
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2650
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes2.Flex, { gap: "2", children: [
2651
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2488
2652
  Checkbox,
2489
2653
  {
2490
2654
  checked: Boolean(value),
@@ -2494,7 +2658,7 @@ function DynamicFormField({
2494
2658
  }
2495
2659
  }
2496
2660
  ),
2497
- field.description ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, { color: "gray", variant: "caption", children: field.description }) : null
2661
+ field.description ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typo, { color: "gray", variant: "caption", children: field.description }) : null
2498
2662
  ] });
2499
2663
  case "image_radio_card": {
2500
2664
  const options = getImageOptions(field);
@@ -2518,23 +2682,23 @@ function DynamicFormField({
2518
2682
  if (!selectedOption) return;
2519
2683
  void setFieldValue(name, selectedOption.value);
2520
2684
  };
2521
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2522
- import_themes16.RadioCards.Root,
2685
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2686
+ RadioCards.Root,
2523
2687
  {
2524
2688
  disabled: readonly,
2525
2689
  onValueChange: readonly ? void 0 : handleValueChange,
2526
2690
  value: selectedValue,
2527
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes17.Grid, { columns: gridColumns, gap: gridGap, rows: gridRows, children: options.map((option) => {
2691
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes18.Grid, { columns: gridColumns, gap: gridGap, rows: gridRows, children: options.map((option) => {
2528
2692
  const optionValue = String(option.value);
2529
2693
  const altText = option.alt || option.label;
2530
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2531
- import_themes16.RadioCards.Item,
2694
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2695
+ RadioCards.Item,
2532
2696
  {
2533
2697
  style: {
2534
2698
  padding: 0
2535
2699
  },
2536
2700
  value: optionValue,
2537
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes18.Inset, { style: { width: "100%", height: "100%", padding: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2701
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes19.Inset, { style: { width: "100%", height: "100%", padding: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2538
2702
  "img",
2539
2703
  {
2540
2704
  alt: altText,
@@ -2561,7 +2725,7 @@ function DynamicFormField({
2561
2725
  }
2562
2726
 
2563
2727
  // src/molecules/dynamic-form.tsx
2564
- var import_jsx_runtime32 = require("react/jsx-runtime");
2728
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2565
2729
  function scrollToFirstError(errors, _fields) {
2566
2730
  const firstErrorFieldName = Object.keys(errors)[0];
2567
2731
  if (!firstErrorFieldName) return;
@@ -2591,7 +2755,7 @@ function DynamicFormRoot({
2591
2755
  readonly = false,
2592
2756
  formStyle
2593
2757
  }) {
2594
- const validationSchema = (0, import_react15.useMemo)(() => {
2758
+ const validationSchema = (0, import_react18.useMemo)(() => {
2595
2759
  const schema = {};
2596
2760
  fields.forEach((field) => {
2597
2761
  if (field.validation) {
@@ -2616,7 +2780,7 @@ function DynamicFormRoot({
2616
2780
  });
2617
2781
  return Object.keys(schema).length > 0 ? Yup.object(schema) : void 0;
2618
2782
  }, [fields]);
2619
- const handleSubmit = (0, import_react15.useCallback)(
2783
+ const handleSubmit = (0, import_react18.useCallback)(
2620
2784
  (values) => __async(null, null, function* () {
2621
2785
  yield onSubmit(values);
2622
2786
  }),
@@ -2638,7 +2802,7 @@ function DynamicFormRoot({
2638
2802
  validateOnChange: true,
2639
2803
  onSubmit: handleSubmit
2640
2804
  });
2641
- (0, import_react15.useEffect)(() => {
2805
+ (0, import_react18.useEffect)(() => {
2642
2806
  if (formik.submitCount > 0 && Object.keys(formik.errors).length > 0) {
2643
2807
  const timeoutId = setTimeout(() => {
2644
2808
  scrollToFirstError(formik.errors, fields);
@@ -2648,7 +2812,7 @@ function DynamicFormRoot({
2648
2812
  };
2649
2813
  }
2650
2814
  }, [formik.submitCount, formik.errors, fields]);
2651
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2815
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2652
2816
  DynamicFormProvider,
2653
2817
  {
2654
2818
  fields,
@@ -2665,15 +2829,15 @@ function DynamicFormFieldList({
2665
2829
  }) {
2666
2830
  const { formik, fields: fieldsFromContext, readonly } = useDynamicForm();
2667
2831
  const fields = fieldsProp || fieldsFromContext;
2668
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, { children: fields.map((field) => {
2832
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, { children: fields.map((field) => {
2669
2833
  const errorMessage = !readonly && formik.touched[field.name] && formik.errors[field.name] ? String(formik.errors[field.name]) : void 0;
2670
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2671
- import_themes19.Box,
2834
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2835
+ import_themes20.Box,
2672
2836
  {
2673
2837
  "data-error-field": errorMessage ? field.name : void 0,
2674
2838
  "data-field-name": field.name,
2675
2839
  mb: "2",
2676
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2840
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2677
2841
  Form.FormItem,
2678
2842
  {
2679
2843
  errorMessage,
@@ -2682,8 +2846,8 @@ function DynamicFormFieldList({
2682
2846
  name: field.name,
2683
2847
  required: field.required,
2684
2848
  children: [
2685
- field.description && field.type !== "yes_no" ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typo, { variant: "caption", children: field.description }) : null,
2686
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DynamicFormField, { field })
2849
+ field.description && field.type !== "yes_no" ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { variant: "caption", children: field.description }) : null,
2850
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DynamicFormField, { field })
2687
2851
  ]
2688
2852
  }
2689
2853
  )
@@ -2780,18 +2944,18 @@ function createYupValidation(field, validation) {
2780
2944
  }
2781
2945
 
2782
2946
  // src/molecules/dynamic-form-editor-preview-panel.tsx
2783
- var import_jsx_runtime33 = require("react/jsx-runtime");
2947
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2784
2948
  function DynamicFormEditorPreviewPanel(props) {
2785
2949
  const { show, fields } = props;
2786
2950
  if (!show) return null;
2787
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Card, { style: { width: 420, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
2788
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { variant: "body", children: "\uD504\uB9AC\uBDF0" }),
2789
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DynamicForm.Root, { fields, onSubmit: () => void 0, readonly: true, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DynamicForm.FieldList, { labelVariant: "body" }) })
2951
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Card, { style: { width: 420, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
2952
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Typo, { variant: "body", children: "\uD504\uB9AC\uBDF0" }),
2953
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DynamicForm.Root, { fields, onSubmit: () => void 0, readonly: true, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DynamicForm.FieldList, { labelVariant: "body" }) })
2790
2954
  ] }) });
2791
2955
  }
2792
2956
 
2793
2957
  // src/molecules/dynamic-form-editor.tsx
2794
- var import_jsx_runtime34 = require("react/jsx-runtime");
2958
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2795
2959
  function getInitialSchema(value, defaultValue) {
2796
2960
  if (value !== void 0) return normalizeSchema(value);
2797
2961
  return normalizeSchema(defaultValue);
@@ -2813,55 +2977,55 @@ function DynamicFormEditor(props) {
2813
2977
  showPreview = false
2814
2978
  } = props;
2815
2979
  const isControlled = value !== void 0;
2816
- const [uncontrolledSchema, setUncontrolledSchema] = (0, import_react16.useState)(
2980
+ const [uncontrolledSchema, setUncontrolledSchema] = (0, import_react19.useState)(
2817
2981
  () => getInitialSchema(void 0, defaultValue)
2818
2982
  );
2819
- const effectiveSchema = (0, import_react16.useMemo)(() => {
2983
+ const effectiveSchema = (0, import_react19.useMemo)(() => {
2820
2984
  if (isControlled) return normalizeSchema(value);
2821
2985
  return uncontrolledSchema;
2822
2986
  }, [isControlled, uncontrolledSchema, value]);
2823
- const [selectedFieldName, setSelectedFieldName] = (0, import_react16.useState)(() => {
2987
+ const [selectedFieldName, setSelectedFieldName] = (0, import_react19.useState)(() => {
2824
2988
  var _a, _b;
2825
2989
  const initialSchema = getInitialSchema(value, defaultValue);
2826
2990
  return (_b = (_a = initialSchema.fields[0]) == null ? void 0 : _a.name) != null ? _b : null;
2827
2991
  });
2828
- const selected = (0, import_react16.useMemo)(() => {
2992
+ const selected = (0, import_react19.useMemo)(() => {
2829
2993
  return getSelectedField(effectiveSchema, selectedFieldName);
2830
2994
  }, [effectiveSchema, selectedFieldName]);
2831
- const issues = (0, import_react16.useMemo)(() => {
2995
+ const issues = (0, import_react19.useMemo)(() => {
2832
2996
  return validateDynamicFormSchema(effectiveSchema);
2833
2997
  }, [effectiveSchema]);
2834
- const errorFieldNameSet = (0, import_react16.useMemo)(() => {
2998
+ const errorFieldNameSet = (0, import_react19.useMemo)(() => {
2835
2999
  const set = /* @__PURE__ */ new Set();
2836
3000
  issues.forEach((i) => {
2837
3001
  if (i.level === "error" && i.fieldName) set.add(i.fieldName);
2838
3002
  });
2839
3003
  return set;
2840
3004
  }, [issues]);
2841
- const hasFieldError = (0, import_react16.useCallback)(
3005
+ const hasFieldError = (0, import_react19.useCallback)(
2842
3006
  (fieldName) => {
2843
3007
  return errorFieldNameSet.has(fieldName);
2844
3008
  },
2845
3009
  [errorFieldNameSet]
2846
3010
  );
2847
- const fieldTypes = (0, import_react16.useMemo)(() => getFieldTypes(), []);
2848
- (0, import_react16.useEffect)(() => {
3011
+ const fieldTypes = (0, import_react19.useMemo)(() => getFieldTypes(), []);
3012
+ (0, import_react19.useEffect)(() => {
2849
3013
  var _a, _b;
2850
3014
  if (selectedFieldName && selected.field) return;
2851
3015
  setSelectedFieldName((_b = (_a = effectiveSchema.fields[0]) == null ? void 0 : _a.name) != null ? _b : null);
2852
3016
  }, [effectiveSchema.fields, selected.field, selectedFieldName]);
2853
- (0, import_react16.useEffect)(() => {
3017
+ (0, import_react19.useEffect)(() => {
2854
3018
  if (isControlled) return;
2855
3019
  setUncontrolledSchema(getInitialSchema(void 0, defaultValue));
2856
3020
  }, [defaultValue, isControlled]);
2857
- const applySchema = (0, import_react16.useCallback)(
3021
+ const applySchema = (0, import_react19.useCallback)(
2858
3022
  (next) => {
2859
3023
  onChange == null ? void 0 : onChange(next);
2860
3024
  if (!isControlled) setUncontrolledSchema(next);
2861
3025
  },
2862
3026
  [isControlled, onChange]
2863
3027
  );
2864
- const handleAddField = (0, import_react16.useCallback)(
3028
+ const handleAddField = (0, import_react19.useCallback)(
2865
3029
  (type) => {
2866
3030
  if (readonly) return;
2867
3031
  const nextField = createDefaultField(type, effectiveSchema.fields);
@@ -2871,7 +3035,7 @@ function DynamicFormEditor(props) {
2871
3035
  },
2872
3036
  [applySchema, effectiveSchema, readonly]
2873
3037
  );
2874
- const handleUpdateSelectedField = (0, import_react16.useCallback)(
3038
+ const handleUpdateSelectedField = (0, import_react19.useCallback)(
2875
3039
  (nextField) => {
2876
3040
  if (readonly) return;
2877
3041
  if (!selected.field || selected.index < 0) return;
@@ -2882,7 +3046,7 @@ function DynamicFormEditor(props) {
2882
3046
  },
2883
3047
  [applySchema, effectiveSchema, readonly, selected.field, selected.index]
2884
3048
  );
2885
- const handleRenameSelected = (0, import_react16.useCallback)(
3049
+ const handleRenameSelected = (0, import_react19.useCallback)(
2886
3050
  (nextName) => {
2887
3051
  if (readonly) return;
2888
3052
  const currentField = selected.field;
@@ -2897,7 +3061,7 @@ function DynamicFormEditor(props) {
2897
3061
  },
2898
3062
  [effectiveSchema.fields, handleUpdateSelectedField, readonly, selected.field]
2899
3063
  );
2900
- const handleDeleteSelected = (0, import_react16.useCallback)(() => {
3064
+ const handleDeleteSelected = (0, import_react19.useCallback)(() => {
2901
3065
  if (readonly) return;
2902
3066
  if (!selected.field || selected.index < 0) return;
2903
3067
  const nextFields = effectiveSchema.fields.filter(
@@ -2909,7 +3073,7 @@ function DynamicFormEditor(props) {
2909
3073
  else if (nextFields.length > 0) nextSelected = nextFields[0].name;
2910
3074
  setSelectedFieldName(nextSelected);
2911
3075
  }, [applySchema, effectiveSchema, readonly, selected.field, selected.index]);
2912
- const handleMoveSelected = (0, import_react16.useCallback)(
3076
+ const handleMoveSelected = (0, import_react19.useCallback)(
2913
3077
  (direction) => {
2914
3078
  if (readonly) return;
2915
3079
  if (!selected.field || selected.index < 0) return;
@@ -2923,7 +3087,7 @@ function DynamicFormEditor(props) {
2923
3087
  },
2924
3088
  [applySchema, effectiveSchema, readonly, selected.field, selected.index]
2925
3089
  );
2926
- const handleDuplicateSelected = (0, import_react16.useCallback)(() => {
3090
+ const handleDuplicateSelected = (0, import_react19.useCallback)(() => {
2927
3091
  if (readonly) return;
2928
3092
  if (!selected.field || selected.index < 0) return;
2929
3093
  const nextFields = duplicateField(
@@ -2935,14 +3099,14 @@ function DynamicFormEditor(props) {
2935
3099
  const nextSelected = nextFields.length > duplicatedIndex ? nextFields[duplicatedIndex].name : selected.field.name;
2936
3100
  setSelectedFieldName(nextSelected);
2937
3101
  }, [applySchema, effectiveSchema, readonly, selected.field, selected.index]);
2938
- const handleSave = (0, import_react16.useCallback)(() => {
3102
+ const handleSave = (0, import_react19.useCallback)(() => {
2939
3103
  if (!onSave) return;
2940
3104
  const result = onSave(effectiveSchema);
2941
3105
  void result;
2942
3106
  }, [effectiveSchema, onSave]);
2943
3107
  const disableSave = readonly || !onSave || hasErrorIssues(issues);
2944
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes2.Flex, { align: "start", gap: "4", style: { width: "100%" }, children: [
2945
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3108
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes2.Flex, { align: "start", gap: "4", style: { width: "100%" }, children: [
3109
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2946
3110
  DynamicFormEditorFieldListPanel,
2947
3111
  {
2948
3112
  fieldTypes,
@@ -2954,8 +3118,8 @@ function DynamicFormEditor(props) {
2954
3118
  selectedFieldName
2955
3119
  }
2956
3120
  ),
2957
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", style: { flex: 1, minWidth: 520 }, children: [
2958
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3121
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", style: { flex: 1, minWidth: 520 }, children: [
3122
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2959
3123
  DynamicFormEditorFieldEditorPanel,
2960
3124
  {
2961
3125
  field: selected.field,
@@ -2970,13 +3134,13 @@ function DynamicFormEditor(props) {
2970
3134
  readonly
2971
3135
  }
2972
3136
  ),
2973
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DynamicFormEditorIssuesPanel, { issues }),
2974
- onSave || onCancel ? /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes2.Flex, { gap: "2", justify: "end", children: [
2975
- onCancel ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Button, { disabled: readonly, onClick: onCancel, variant: "soft", children: "\uCDE8\uC18C" }) : null,
2976
- onSave ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Button, { disabled: disableSave, onClick: handleSave, children: "\uC800\uC7A5" }) : null
3137
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DynamicFormEditorIssuesPanel, { issues }),
3138
+ onSave || onCancel ? /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes2.Flex, { gap: "2", justify: "end", children: [
3139
+ onCancel ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { disabled: readonly, onClick: onCancel, variant: "soft", children: "\uCDE8\uC18C" }) : null,
3140
+ onSave ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { disabled: disableSave, onClick: handleSave, children: "\uC800\uC7A5" }) : null
2977
3141
  ] }) : null
2978
3142
  ] }),
2979
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DynamicFormEditorPreviewPanel, { fields: effectiveSchema.fields, show: showPreview })
3143
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DynamicFormEditorPreviewPanel, { fields: effectiveSchema.fields, show: showPreview })
2980
3144
  ] });
2981
3145
  }
2982
3146
  // Annotate the CommonJS export names for ESM import in node: