@tipp/ui 2.10.2 → 2.10.4

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 (277) hide show
  1. package/dist/app/index.cjs +385 -359
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +40 -38
  4. package/dist/app/platform/coach-question-list.cjs +58 -35
  5. package/dist/app/platform/coach-question-list.cjs.map +1 -1
  6. package/dist/app/platform/coach-question-list.js +3 -2
  7. package/dist/app/platform/contents-card.cjs +120 -97
  8. package/dist/app/platform/contents-card.cjs.map +1 -1
  9. package/dist/app/platform/contents-card.js +3 -2
  10. package/dist/app/platform/curriculum-card.cjs +39 -16
  11. package/dist/app/platform/curriculum-card.cjs.map +1 -1
  12. package/dist/app/platform/curriculum-card.js +3 -2
  13. package/dist/app/platform/edit-coaching-time.cjs +160 -134
  14. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  15. package/dist/app/platform/edit-coaching-time.js +30 -28
  16. package/dist/app/platform/edit-service-type.cjs +152 -126
  17. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  18. package/dist/app/platform/edit-service-type.js +30 -28
  19. package/dist/app/platform/goal-manage-card-edit.cjs +162 -136
  20. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  21. package/dist/app/platform/goal-manage-card-edit.js +30 -28
  22. package/dist/app/platform/goal-manage-card-read.cjs +88 -65
  23. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  24. package/dist/app/platform/goal-manage-card-read.js +3 -2
  25. package/dist/app/platform/on-offline-radio-card.cjs +303 -277
  26. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  27. package/dist/app/platform/on-offline-radio-card.js +30 -28
  28. package/dist/app/platform/report-card.cjs +61 -38
  29. package/dist/app/platform/report-card.cjs.map +1 -1
  30. package/dist/app/platform/report-card.js +3 -2
  31. package/dist/app/platform/reservation-card.cjs +176 -150
  32. package/dist/app/platform/reservation-card.cjs.map +1 -1
  33. package/dist/app/platform/reservation-card.js +30 -28
  34. package/dist/app/platform/session-card.cjs +205 -179
  35. package/dist/app/platform/session-card.cjs.map +1 -1
  36. package/dist/app/platform/session-card.js +30 -28
  37. package/dist/app/platform/session-review-simple-read.cjs +59 -36
  38. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  39. package/dist/app/platform/session-review-simple-read.js +3 -2
  40. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +92 -69
  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 +7 -6
  43. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +69 -46
  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 +3 -2
  46. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +72 -49
  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 +3 -2
  49. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +58 -35
  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 +3 -2
  52. package/dist/app/platform/userInfos/session-user-info-detail.cjs +68 -45
  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 +3 -2
  55. package/dist/app/platform/userInfos/utils.cjs +60 -37
  56. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  57. package/dist/app/platform/userInfos/utils.js +3 -2
  58. package/dist/app/roleplay/index.cjs +460 -389
  59. package/dist/app/roleplay/index.cjs.map +1 -1
  60. package/dist/app/roleplay/index.js +38 -36
  61. package/dist/app/roleplay/parts/analysis-section.cjs +64 -41
  62. package/dist/app/roleplay/parts/analysis-section.cjs.map +1 -1
  63. package/dist/app/roleplay/parts/analysis-section.js +3 -2
  64. package/dist/app/roleplay/parts/coaching-panel.cjs +65 -42
  65. package/dist/app/roleplay/parts/coaching-panel.cjs.map +1 -1
  66. package/dist/app/roleplay/parts/coaching-panel.js +3 -2
  67. package/dist/app/roleplay/parts/content.cjs +385 -314
  68. package/dist/app/roleplay/parts/content.cjs.map +1 -1
  69. package/dist/app/roleplay/parts/content.js +34 -32
  70. package/dist/app/roleplay/parts/header.cjs +83 -60
  71. package/dist/app/roleplay/parts/header.cjs.map +1 -1
  72. package/dist/app/roleplay/parts/header.js +4 -3
  73. package/dist/app/roleplay/parts/score-summary.cjs +77 -54
  74. package/dist/app/roleplay/parts/score-summary.cjs.map +1 -1
  75. package/dist/app/roleplay/parts/score-summary.js +3 -2
  76. package/dist/app/roleplay/parts/score-trend-section.cjs +228 -157
  77. package/dist/app/roleplay/parts/score-trend-section.cjs.map +1 -1
  78. package/dist/app/roleplay/parts/score-trend-section.js +31 -29
  79. package/dist/app/roleplay/parts/script-transcript.cjs +73 -50
  80. package/dist/app/roleplay/parts/script-transcript.cjs.map +1 -1
  81. package/dist/app/roleplay/parts/script-transcript.js +3 -2
  82. package/dist/app/roleplay/parts/section-nav.cjs +94 -71
  83. package/dist/app/roleplay/parts/section-nav.cjs.map +1 -1
  84. package/dist/app/roleplay/parts/section-nav.js +3 -2
  85. package/dist/app/roleplay/parts/session-replay-dialog.cjs +83 -60
  86. package/dist/app/roleplay/parts/session-replay-dialog.cjs.map +1 -1
  87. package/dist/app/roleplay/parts/session-replay-dialog.js +3 -2
  88. package/dist/app/roleplay/parts/speech-share-bar.cjs +60 -37
  89. package/dist/app/roleplay/parts/speech-share-bar.cjs.map +1 -1
  90. package/dist/app/roleplay/parts/speech-share-bar.js +3 -2
  91. package/dist/app/roleplay/parts/step-detail.cjs +78 -55
  92. package/dist/app/roleplay/parts/step-detail.cjs.map +1 -1
  93. package/dist/app/roleplay/parts/step-detail.js +3 -2
  94. package/dist/app/roleplay/parts/step-summary.cjs +78 -55
  95. package/dist/app/roleplay/parts/step-summary.cjs.map +1 -1
  96. package/dist/app/roleplay/parts/step-summary.js +3 -2
  97. package/dist/app/roleplay/rp-session-detail.cjs +460 -389
  98. package/dist/app/roleplay/rp-session-detail.cjs.map +1 -1
  99. package/dist/app/roleplay/rp-session-detail.js +38 -36
  100. package/dist/atoms/index.cjs +82 -59
  101. package/dist/atoms/index.cjs.map +1 -1
  102. package/dist/atoms/index.js +3 -2
  103. package/dist/atoms/pagination.cjs +38 -15
  104. package/dist/atoms/pagination.cjs.map +1 -1
  105. package/dist/atoms/pagination.js +3 -2
  106. package/dist/chunk-2EPKY2VT.js +70 -0
  107. package/dist/chunk-2EPKY2VT.js.map +1 -0
  108. package/dist/chunk-2PPLSZ4P.js +1 -0
  109. package/dist/chunk-5DRITHNR.js +1 -0
  110. package/dist/{chunk-5RIAIE2J.js → chunk-73PHGHPI.js} +5 -2
  111. package/dist/chunk-73PHGHPI.js.map +1 -0
  112. package/dist/{chunk-IIZ7I7NS.js → chunk-AYWCLLQ2.js} +7 -7
  113. package/dist/{chunk-RRC4WFG3.js → chunk-DIFGHMGI.js} +2 -2
  114. package/dist/{chunk-P2H3VCIB.js → chunk-HL3MGRAC.js} +4 -4
  115. package/dist/chunk-IAKMJR72.js +33 -0
  116. package/dist/chunk-IAKMJR72.js.map +1 -0
  117. package/dist/{chunk-YFR3HXSV.js → chunk-IHLFOJD5.js} +2 -2
  118. package/dist/{chunk-A32HLL53.js → chunk-KQ3ME6XY.js} +7 -7
  119. package/dist/{chunk-SZAU7YP3.js → chunk-L7ZHSQES.js} +5 -5
  120. package/dist/{chunk-MD64AUR6.js → chunk-LGILQRJM.js} +8 -8
  121. package/dist/{chunk-FJEDSUGU.js → chunk-NEJCZABQ.js} +7 -7
  122. package/dist/{chunk-NSDVLCCW.js → chunk-RJ62VZ6O.js} +2 -2
  123. package/dist/{chunk-UK3LP7VH.js → chunk-TYM6T7JT.js} +2 -2
  124. package/dist/{chunk-RZW6FVML.js → chunk-UCTSCSQR.js} +2 -2
  125. package/dist/{chunk-JCZXPONS.js → chunk-VBYXXISC.js} +4 -4
  126. package/dist/{chunk-VM2PEQLQ.js → chunk-VJREZH2Z.js} +2 -2
  127. package/dist/chunk-VJREZH2Z.js.map +1 -0
  128. package/dist/icon.cjs +25 -0
  129. package/dist/icon.cjs.map +1 -1
  130. package/dist/icon.d.cts +1 -0
  131. package/dist/icon.d.ts +1 -0
  132. package/dist/icon.js +7 -3
  133. package/dist/icons/empty-box.cjs +90 -0
  134. package/dist/icons/empty-box.cjs.map +1 -0
  135. package/dist/icons/empty-box.d.cts +13 -0
  136. package/dist/icons/empty-box.d.ts +13 -0
  137. package/dist/icons/empty-box.js +8 -0
  138. package/dist/icons/empty-box.js.map +1 -0
  139. package/dist/icons/index.cjs +25 -0
  140. package/dist/icons/index.cjs.map +1 -1
  141. package/dist/icons/index.d.cts +1 -0
  142. package/dist/icons/index.d.ts +1 -0
  143. package/dist/icons/index.js +7 -3
  144. package/dist/index.cjs +959 -884
  145. package/dist/index.cjs.map +1 -1
  146. package/dist/index.d.cts +2 -0
  147. package/dist/index.d.ts +2 -0
  148. package/dist/index.js +62 -54
  149. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +95 -72
  150. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
  151. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +8 -7
  152. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +29 -6
  153. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
  154. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +3 -2
  155. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +71 -48
  156. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
  157. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +6 -5
  158. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +32 -9
  159. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
  160. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +3 -2
  161. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +41 -18
  162. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
  163. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +3 -2
  164. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +33 -10
  165. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
  166. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +3 -2
  167. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +33 -10
  168. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
  169. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +3 -2
  170. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +42 -19
  171. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
  172. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +3 -2
  173. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +37 -14
  174. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
  175. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +3 -2
  176. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +153 -130
  177. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
  178. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +9 -8
  179. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +45 -22
  180. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
  181. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +3 -2
  182. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +30 -7
  183. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
  184. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +3 -2
  185. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +171 -148
  186. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
  187. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +10 -9
  188. package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +220 -197
  189. package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
  190. package/dist/molecules/curriculumV2/CurriculumContents/index.js +13 -12
  191. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +33 -10
  192. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
  193. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +3 -2
  194. package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +52 -29
  195. package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
  196. package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +7 -6
  197. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +44 -21
  198. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
  199. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +6 -5
  200. package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +36 -13
  201. package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
  202. package/dist/molecules/curriculumV2/curriculum-sub-nav.js +3 -2
  203. package/dist/molecules/curriculumV2/index.cjs +264 -241
  204. package/dist/molecules/curriculumV2/index.cjs.map +1 -1
  205. package/dist/molecules/curriculumV2/index.js +21 -20
  206. package/dist/molecules/date-picker/date-picker-button.cjs +52 -29
  207. package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
  208. package/dist/molecules/date-picker/date-picker-button.js +3 -2
  209. package/dist/molecules/date-picker/index.cjs +40 -17
  210. package/dist/molecules/date-picker/index.cjs.map +1 -1
  211. package/dist/molecules/date-picker/index.js +3 -2
  212. package/dist/molecules/description-json-render.cjs +31 -8
  213. package/dist/molecules/description-json-render.cjs.map +1 -1
  214. package/dist/molecules/description-json-render.js +3 -2
  215. package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs +138 -115
  216. package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs.map +1 -1
  217. package/dist/molecules/dynamic-form-editor-field-editor-panel.js +3 -2
  218. package/dist/molecules/dynamic-form-editor.cjs +223 -200
  219. package/dist/molecules/dynamic-form-editor.cjs.map +1 -1
  220. package/dist/molecules/dynamic-form-editor.js +5 -4
  221. package/dist/molecules/empty-state.cjs +328 -0
  222. package/dist/molecules/empty-state.cjs.map +1 -0
  223. package/dist/molecules/empty-state.d.cts +21 -0
  224. package/dist/molecules/empty-state.d.ts +21 -0
  225. package/dist/molecules/empty-state.js +16 -0
  226. package/dist/molecules/empty-state.js.map +1 -0
  227. package/dist/molecules/expand-table/index.cjs +193 -58
  228. package/dist/molecules/expand-table/index.cjs.map +1 -1
  229. package/dist/molecules/expand-table/index.js +6 -3
  230. package/dist/molecules/index.cjs +862 -789
  231. package/dist/molecules/index.cjs.map +1 -1
  232. package/dist/molecules/index.d.cts +2 -1
  233. package/dist/molecules/index.d.ts +2 -1
  234. package/dist/molecules/index.js +43 -38
  235. package/dist/molecules/stepper.cjs +43 -20
  236. package/dist/molecules/stepper.cjs.map +1 -1
  237. package/dist/molecules/stepper.js +3 -2
  238. package/dist/molecules/tag-selector.cjs +43 -20
  239. package/dist/molecules/tag-selector.cjs.map +1 -1
  240. package/dist/molecules/tag-selector.js +3 -2
  241. package/dist/molecules/time-select.cjs +28 -5
  242. package/dist/molecules/time-select.cjs.map +1 -1
  243. package/dist/molecules/time-select.js +4 -3
  244. package/dist/utils/curriculum.utils.cjs +23 -0
  245. package/dist/utils/curriculum.utils.cjs.map +1 -1
  246. package/dist/utils/curriculum.utils.js +3 -2
  247. package/dist/utils/get-callout-icon-component.cjs +23 -0
  248. package/dist/utils/get-callout-icon-component.cjs.map +1 -1
  249. package/dist/utils/get-callout-icon-component.js +3 -2
  250. package/dist/utils/index.cjs +23 -0
  251. package/dist/utils/index.cjs.map +1 -1
  252. package/dist/utils/index.js +6 -5
  253. package/package.json +1 -1
  254. package/src/app/roleplay/parts/header.tsx +2 -1
  255. package/src/icons/empty-box.tsx +29 -0
  256. package/src/icons/index.ts +2 -1
  257. package/src/molecules/empty-state.tsx +79 -0
  258. package/src/molecules/expand-table/index.tsx +2 -3
  259. package/src/molecules/index.ts +1 -0
  260. package/dist/chunk-5RIAIE2J.js.map +0 -1
  261. package/dist/chunk-JVXATVAC.js +0 -1
  262. package/dist/chunk-SYMOHU2B.js +0 -1
  263. package/dist/chunk-VM2PEQLQ.js.map +0 -1
  264. /package/dist/{chunk-JVXATVAC.js.map → chunk-2PPLSZ4P.js.map} +0 -0
  265. /package/dist/{chunk-SYMOHU2B.js.map → chunk-5DRITHNR.js.map} +0 -0
  266. /package/dist/{chunk-IIZ7I7NS.js.map → chunk-AYWCLLQ2.js.map} +0 -0
  267. /package/dist/{chunk-RRC4WFG3.js.map → chunk-DIFGHMGI.js.map} +0 -0
  268. /package/dist/{chunk-P2H3VCIB.js.map → chunk-HL3MGRAC.js.map} +0 -0
  269. /package/dist/{chunk-YFR3HXSV.js.map → chunk-IHLFOJD5.js.map} +0 -0
  270. /package/dist/{chunk-A32HLL53.js.map → chunk-KQ3ME6XY.js.map} +0 -0
  271. /package/dist/{chunk-SZAU7YP3.js.map → chunk-L7ZHSQES.js.map} +0 -0
  272. /package/dist/{chunk-MD64AUR6.js.map → chunk-LGILQRJM.js.map} +0 -0
  273. /package/dist/{chunk-FJEDSUGU.js.map → chunk-NEJCZABQ.js.map} +0 -0
  274. /package/dist/{chunk-NSDVLCCW.js.map → chunk-RJ62VZ6O.js.map} +0 -0
  275. /package/dist/{chunk-UK3LP7VH.js.map → chunk-TYM6T7JT.js.map} +0 -0
  276. /package/dist/{chunk-RZW6FVML.js.map → chunk-UCTSCSQR.js.map} +0 -0
  277. /package/dist/{chunk-JCZXPONS.js.map → chunk-VBYXXISC.js.map} +0 -0
@@ -1451,8 +1451,31 @@ var HeadsetIcon = React19.forwardRef(
1451
1451
  );
1452
1452
  HeadsetIcon.displayName = "HeadsetIcon";
1453
1453
 
1454
- // src/molecules/dynamic-form-editor-field-editor-panel.tsx
1454
+ // src/icons/empty-box.tsx
1455
+ var React20 = __toESM(require("react"), 1);
1455
1456
  var import_jsx_runtime25 = require("react/jsx-runtime");
1457
+ var EmptyBoxIcon = React20.forwardRef(
1458
+ (_a, forwardedRef) => {
1459
+ var _b = _a, { color = "currentColor", width = 120, height = 120 } = _b, props = __objRest(_b, ["color", "width", "height"]);
1460
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1461
+ "svg",
1462
+ __spreadProps(__spreadValues({
1463
+ fill: color,
1464
+ height,
1465
+ viewBox: "0 0 462.035 462.035",
1466
+ width,
1467
+ xmlns: "http://www.w3.org/2000/svg"
1468
+ }, props), {
1469
+ ref: forwardedRef,
1470
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { d: "M457.83,158.441c-0.021-0.028-0.033-0.058-0.057-0.087l-50.184-62.48c-0.564-0.701-1.201-1.305-1.879-1.845c-2.16-2.562-5.355-4.225-8.967-4.225H65.292c-3.615,0-6.804,1.661-8.965,4.225c-0.678,0.54-1.316,1.138-1.885,1.845l-50.178,62.48c-0.023,0.029-0.034,0.059-0.057,0.087C1.655,160.602,0,163.787,0,167.39v193.07c0,6.5,5.27,11.771,11.77,11.771h438.496c6.5,0,11.77-5.271,11.77-11.771V167.39C462.037,163.787,460.381,160.602,457.83,158.441z M408.516,134.615l16.873,21.005h-16.873V134.615z M384.975,113.345v42.274H296.84c-2.514,0-4.955,0.805-6.979,2.293l-58.837,43.299l-58.849-43.305c-2.023-1.482-4.466-2.287-6.978-2.287H77.061v-42.274H384.975z M53.523,155.62H36.65l16.873-21.005V155.62z M438.498,348.69H23.54V179.16h137.796l62.711,46.148c4.15,3.046,9.805,3.052,13.954-0.005l62.698-46.144h137.799V348.69L438.498,348.69z" })
1471
+ })
1472
+ );
1473
+ }
1474
+ );
1475
+ EmptyBoxIcon.displayName = "EmptyBoxIcon";
1476
+
1477
+ // src/molecules/dynamic-form-editor-field-editor-panel.tsx
1478
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1456
1479
  function isRecord2(value) {
1457
1480
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
1458
1481
  }
@@ -1538,11 +1561,11 @@ function DynamicFormEditorFieldEditorPanel(props) {
1538
1561
  if (!field) return "";
1539
1562
  return String(field.placeholder || "");
1540
1563
  }, [field]);
1541
- 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: [
1542
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1543
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC \uD3B8\uC9D1" }),
1544
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", gap: "1", children: [
1545
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1564
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Card, { style: { flex: 1, minWidth: 520, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { direction: "column", gap: "4", children: [
1565
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1566
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC \uD3B8\uC9D1" }),
1567
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "center", gap: "1", children: [
1568
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1546
1569
  IconButton,
1547
1570
  {
1548
1571
  "aria-label": "\uD544\uB4DC \uC704\uB85C",
@@ -1551,10 +1574,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1551
1574
  onMoveField("up");
1552
1575
  },
1553
1576
  variant: "soft",
1554
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronUpIcon, {})
1577
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.ChevronUpIcon, {})
1555
1578
  }
1556
1579
  ),
1557
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1580
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1558
1581
  IconButton,
1559
1582
  {
1560
1583
  "aria-label": "\uD544\uB4DC \uC544\uB798\uB85C",
@@ -1563,36 +1586,36 @@ function DynamicFormEditorFieldEditorPanel(props) {
1563
1586
  onMoveField("down");
1564
1587
  },
1565
1588
  variant: "soft",
1566
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronDownIcon, {})
1589
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.ChevronDownIcon, {})
1567
1590
  }
1568
1591
  ),
1569
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1592
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1570
1593
  IconButton,
1571
1594
  {
1572
1595
  "aria-label": "\uD544\uB4DC \uBCF5\uC81C",
1573
1596
  disabled: readonly || !field,
1574
1597
  onClick: onDuplicateField,
1575
1598
  variant: "soft",
1576
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.CopyIcon, {})
1599
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.CopyIcon, {})
1577
1600
  }
1578
1601
  ),
1579
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1602
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1580
1603
  IconButton,
1581
1604
  {
1582
1605
  "aria-label": "\uD544\uB4DC \uC0AD\uC81C",
1583
1606
  disabled: readonly || !field,
1584
1607
  onClick: onDeleteField,
1585
1608
  variant: "soft",
1586
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.TrashIcon, {})
1609
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.TrashIcon, {})
1587
1610
  }
1588
1611
  )
1589
1612
  ] })
1590
1613
  ] }),
1591
- !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: [
1592
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1593
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1594
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "name" }),
1595
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1614
+ !field ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC67C\uCABD\uC5D0\uC11C \uD544\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694." }) : /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
1615
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1616
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1617
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "name" }),
1618
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1596
1619
  TextField.Root,
1597
1620
  {
1598
1621
  disabled: readonly,
@@ -1603,9 +1626,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1603
1626
  }
1604
1627
  )
1605
1628
  ] }),
1606
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1607
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "label" }),
1608
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1629
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1630
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "label" }),
1631
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1609
1632
  TextField.Root,
1610
1633
  {
1611
1634
  disabled: readonly,
@@ -1617,8 +1640,8 @@ function DynamicFormEditorFieldEditorPanel(props) {
1617
1640
  )
1618
1641
  ] })
1619
1642
  ] }),
1620
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", gap: "2", children: [
1621
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1643
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "center", gap: "2", children: [
1644
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1622
1645
  Select.Root,
1623
1646
  {
1624
1647
  disabled: readonly,
@@ -1628,13 +1651,13 @@ function DynamicFormEditorFieldEditorPanel(props) {
1628
1651
  },
1629
1652
  value: field.type,
1630
1653
  children: [
1631
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1632
- /* @__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)) })
1654
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1655
+ /* @__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)) })
1633
1656
  ]
1634
1657
  }
1635
1658
  ),
1636
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", gap: "2", children: [
1637
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1659
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "center", gap: "2", children: [
1660
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1638
1661
  Checkbox,
1639
1662
  {
1640
1663
  checked: Boolean(field.required),
@@ -1644,12 +1667,12 @@ function DynamicFormEditorFieldEditorPanel(props) {
1644
1667
  }
1645
1668
  }
1646
1669
  ),
1647
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "\uD544\uC218" })
1670
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "\uD544\uC218" })
1648
1671
  ] })
1649
1672
  ] }),
1650
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1651
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "description" }),
1652
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1673
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { children: [
1674
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "description" }),
1675
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1653
1676
  TextArea,
1654
1677
  {
1655
1678
  disabled: readonly,
@@ -1663,9 +1686,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1663
1686
  }
1664
1687
  )
1665
1688
  ] }),
1666
- 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: [
1667
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "placeholder" }),
1668
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1689
+ field.type === "short_text" || field.type === "long_text" || field.type === "number" || field.type === "email" || field.type === "dropdown" ? /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { children: [
1690
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "placeholder" }),
1691
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1669
1692
  TextField.Root,
1670
1693
  {
1671
1694
  disabled: readonly,
@@ -1676,9 +1699,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1676
1699
  }
1677
1700
  )
1678
1701
  ] }) : null,
1679
- field.type === "choice" || field.type === "choices" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1680
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "orientation" }),
1681
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1702
+ field.type === "choice" || field.type === "choices" ? /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { children: [
1703
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "orientation" }),
1704
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1682
1705
  Select.Root,
1683
1706
  {
1684
1707
  disabled: readonly,
@@ -1688,19 +1711,19 @@ function DynamicFormEditorFieldEditorPanel(props) {
1688
1711
  },
1689
1712
  value: field.orientation || "vertical",
1690
1713
  children: [
1691
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1692
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Select.Content, { children: [
1693
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: "vertical", children: "vertical" }),
1694
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: "horizontal", children: "horizontal" })
1714
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
1715
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Select.Content, { children: [
1716
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Item, { value: "vertical", children: "vertical" }),
1717
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Item, { value: "horizontal", children: "horizontal" })
1695
1718
  ] })
1696
1719
  ]
1697
1720
  }
1698
1721
  )
1699
1722
  ] }) : null,
1700
- 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: [
1701
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1702
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "options" }),
1703
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1723
+ field.type === "dropdown" || field.type === "choice" || field.type === "radio_cards" || field.type === "choices" ? /* @__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: [
1724
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1725
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "options" }),
1726
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1704
1727
  Button,
1705
1728
  {
1706
1729
  disabled: readonly,
@@ -1718,16 +1741,16 @@ function DynamicFormEditorFieldEditorPanel(props) {
1718
1741
  size: "small",
1719
1742
  variant: "soft",
1720
1743
  children: [
1721
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.PlusIcon, {}),
1744
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.PlusIcon, {}),
1722
1745
  " \uCD94\uAC00"
1723
1746
  ]
1724
1747
  }
1725
1748
  )
1726
1749
  ] }),
1727
- getOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1728
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1729
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "label" }),
1730
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1750
+ getOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1751
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1752
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "label" }),
1753
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1731
1754
  TextField.Root,
1732
1755
  {
1733
1756
  disabled: readonly,
@@ -1742,9 +1765,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1742
1765
  }
1743
1766
  )
1744
1767
  ] }),
1745
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1746
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "value" }),
1747
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1768
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1769
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "value" }),
1770
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1748
1771
  TextField.Root,
1749
1772
  {
1750
1773
  disabled: readonly,
@@ -1759,8 +1782,8 @@ function DynamicFormEditorFieldEditorPanel(props) {
1759
1782
  }
1760
1783
  )
1761
1784
  ] }),
1762
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { gap: "1", children: [
1763
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1785
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { gap: "1", children: [
1786
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1764
1787
  IconButton,
1765
1788
  {
1766
1789
  "aria-label": "\uC635\uC158 \uC704\uB85C",
@@ -1771,10 +1794,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1771
1794
  onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
1772
1795
  },
1773
1796
  variant: "soft",
1774
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronUpIcon, {})
1797
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.ChevronUpIcon, {})
1775
1798
  }
1776
1799
  ),
1777
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1800
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1778
1801
  IconButton,
1779
1802
  {
1780
1803
  "aria-label": "\uC635\uC158 \uC544\uB798\uB85C",
@@ -1785,10 +1808,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1785
1808
  onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
1786
1809
  },
1787
1810
  variant: "soft",
1788
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronDownIcon, {})
1811
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.ChevronDownIcon, {})
1789
1812
  }
1790
1813
  ),
1791
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1814
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1792
1815
  IconButton,
1793
1816
  {
1794
1817
  "aria-label": "\uC635\uC158 \uC0AD\uC81C",
@@ -1799,16 +1822,16 @@ function DynamicFormEditorFieldEditorPanel(props) {
1799
1822
  onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
1800
1823
  },
1801
1824
  variant: "soft",
1802
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.TrashIcon, {})
1825
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.TrashIcon, {})
1803
1826
  }
1804
1827
  )
1805
1828
  ] })
1806
1829
  ] }, `${opt.value}-${opt.label}`))
1807
1830
  ] }) }) : null,
1808
- 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: [
1809
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1810
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "image options" }),
1811
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1831
+ field.type === "image_radio_card" ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
1832
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
1833
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "image options" }),
1834
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1812
1835
  Button,
1813
1836
  {
1814
1837
  disabled: readonly,
@@ -1827,21 +1850,21 @@ function DynamicFormEditorFieldEditorPanel(props) {
1827
1850
  size: "small",
1828
1851
  variant: "soft",
1829
1852
  children: [
1830
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.PlusIcon, {}),
1853
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.PlusIcon, {}),
1831
1854
  " \uCD94\uAC00"
1832
1855
  ]
1833
1856
  }
1834
1857
  )
1835
1858
  ] }),
1836
- getImageOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1859
+ getImageOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1837
1860
  Card,
1838
1861
  {
1839
1862
  style: { padding: 10 },
1840
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
1841
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1842
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1843
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "label" }),
1844
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1863
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
1864
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1865
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1866
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "label" }),
1867
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1845
1868
  TextField.Root,
1846
1869
  {
1847
1870
  disabled: readonly,
@@ -1858,9 +1881,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1858
1881
  }
1859
1882
  )
1860
1883
  ] }),
1861
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1862
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "value" }),
1863
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1884
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1885
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "value" }),
1886
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1864
1887
  TextField.Root,
1865
1888
  {
1866
1889
  disabled: readonly,
@@ -1878,9 +1901,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1878
1901
  )
1879
1902
  ] })
1880
1903
  ] }),
1881
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1882
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "imageSrc" }),
1883
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1904
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { children: [
1905
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "imageSrc" }),
1906
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1884
1907
  TextField.Root,
1885
1908
  {
1886
1909
  disabled: readonly,
@@ -1897,10 +1920,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1897
1920
  }
1898
1921
  )
1899
1922
  ] }),
1900
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1901
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1902
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "alt" }),
1903
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1923
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "end", gap: "2", children: [
1924
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1925
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "alt" }),
1926
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1904
1927
  TextField.Root,
1905
1928
  {
1906
1929
  disabled: readonly,
@@ -1918,7 +1941,7 @@ function DynamicFormEditorFieldEditorPanel(props) {
1918
1941
  }
1919
1942
  )
1920
1943
  ] }),
1921
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1944
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1922
1945
  IconButton,
1923
1946
  {
1924
1947
  "aria-label": "\uC774\uBBF8\uC9C0 \uC635\uC158 \uC0AD\uC81C",
@@ -1931,7 +1954,7 @@ function DynamicFormEditorFieldEditorPanel(props) {
1931
1954
  );
1932
1955
  },
1933
1956
  variant: "soft",
1934
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.TrashIcon, {})
1957
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons.TrashIcon, {})
1935
1958
  }
1936
1959
  )
1937
1960
  ] })
@@ -1939,10 +1962,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
1939
1962
  },
1940
1963
  `${opt.value}-${opt.label}-${opt.imageSrc}`
1941
1964
  )),
1942
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { gap: "2", children: [
1943
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1944
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "gridColumnsCount" }),
1945
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1965
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { gap: "2", children: [
1966
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1967
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "gridColumnsCount" }),
1968
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1946
1969
  TextField.Root,
1947
1970
  {
1948
1971
  disabled: readonly,
@@ -1958,9 +1981,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1958
1981
  }
1959
1982
  )
1960
1983
  ] }),
1961
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1962
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "gridItemHeight" }),
1963
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1984
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1985
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "gridItemHeight" }),
1986
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1964
1987
  TextField.Root,
1965
1988
  {
1966
1989
  disabled: readonly,
@@ -1973,9 +1996,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1973
1996
  }
1974
1997
  )
1975
1998
  ] }),
1976
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
1977
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "gridGap" }),
1978
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1999
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
2000
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "gridGap" }),
2001
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1979
2002
  TextField.Root,
1980
2003
  {
1981
2004
  disabled: readonly,
@@ -1987,9 +2010,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
1987
2010
  )
1988
2011
  ] })
1989
2012
  ] }),
1990
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
1991
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "imageFit" }),
1992
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2013
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { children: [
2014
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "imageFit" }),
2015
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1993
2016
  Select.Root,
1994
2017
  {
1995
2018
  disabled: readonly,
@@ -1999,22 +2022,22 @@ function DynamicFormEditorFieldEditorPanel(props) {
1999
2022
  },
2000
2023
  value: field.imageFit || "cover",
2001
2024
  children: [
2002
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
2003
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Select.Content, { children: [
2004
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: "cover", children: "cover" }),
2005
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Select.Item, { value: "contain", children: "contain" })
2025
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
2026
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Select.Content, { children: [
2027
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Item, { value: "cover", children: "cover" }),
2028
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Item, { value: "contain", children: "contain" })
2006
2029
  ] })
2007
2030
  ]
2008
2031
  }
2009
2032
  )
2010
2033
  ] })
2011
2034
  ] }) }) : null,
2012
- /* @__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: [
2013
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "validation" }),
2014
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes2.Flex, { gap: "2", children: [
2015
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
2016
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "min" }),
2017
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2035
+ /* @__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: [
2036
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "validation" }),
2037
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { gap: "2", children: [
2038
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
2039
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "min" }),
2040
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2018
2041
  TextField.Root,
2019
2042
  {
2020
2043
  disabled: readonly,
@@ -2030,9 +2053,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
2030
2053
  }
2031
2054
  )
2032
2055
  ] }),
2033
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
2034
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "max" }),
2035
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2056
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { style: { flex: 1 }, children: [
2057
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "max" }),
2058
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2036
2059
  TextField.Root,
2037
2060
  {
2038
2061
  disabled: readonly,
@@ -2049,9 +2072,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
2049
2072
  )
2050
2073
  ] })
2051
2074
  ] }),
2052
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
2053
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "pattern" }),
2054
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2075
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { children: [
2076
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "pattern" }),
2077
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2055
2078
  TextField.Root,
2056
2079
  {
2057
2080
  disabled: readonly,
@@ -2064,9 +2087,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
2064
2087
  }
2065
2088
  )
2066
2089
  ] }),
2067
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes11.Box, { children: [
2068
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { variant: "caption", children: "message" }),
2069
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2090
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes11.Box, { children: [
2091
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "caption", children: "message" }),
2092
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2070
2093
  TextField.Root,
2071
2094
  {
2072
2095
  disabled: readonly,
@@ -2087,7 +2110,7 @@ function DynamicFormEditorFieldEditorPanel(props) {
2087
2110
  // src/molecules/dynamic-form-editor-field-list-panel.tsx
2088
2111
  var import_react11 = require("react");
2089
2112
  var import_themes12 = require("@radix-ui/themes");
2090
- var import_jsx_runtime26 = require("react/jsx-runtime");
2113
+ var import_jsx_runtime27 = require("react/jsx-runtime");
2091
2114
  function isFieldType2(value, types) {
2092
2115
  return types.some((t) => t === value);
2093
2116
  }
@@ -2105,10 +2128,10 @@ function DynamicFormEditorFieldListPanel(props) {
2105
2128
  const triggerPlaceholder = (0, import_react11.useMemo)(() => {
2106
2129
  return readonly ? "\uCD94\uAC00(\uC77D\uAE30 \uC804\uC6A9)" : "\uCD94\uAC00";
2107
2130
  }, [readonly]);
2108
- 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: [
2109
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
2110
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC" }),
2111
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2131
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card, { style: { width: 340, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
2132
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes2.Flex, { align: "center", justify: "between", children: [
2133
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC" }),
2134
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2112
2135
  Select.Root,
2113
2136
  {
2114
2137
  disabled: readonly,
@@ -2118,18 +2141,18 @@ function DynamicFormEditorFieldListPanel(props) {
2118
2141
  },
2119
2142
  value: "",
2120
2143
  children: [
2121
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Select.Trigger, { placeholder: triggerPlaceholder }),
2122
- /* @__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)) })
2144
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Select.Trigger, { placeholder: triggerPlaceholder }),
2145
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Select.Content, { children: fieldTypes.map((t) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Select.Item, { value: t, children: getFieldTypeLabel(t) }, t)) })
2123
2146
  ]
2124
2147
  }
2125
2148
  )
2126
2149
  ] }),
2127
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
2128
- isEmpty ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC544\uC9C1 \uD544\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) : null,
2150
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
2151
+ isEmpty ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC544\uC9C1 \uD544\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) : null,
2129
2152
  fields.map((field) => {
2130
2153
  const isSelected = field.name === selectedFieldName;
2131
2154
  const hasError = hasFieldError(field.name);
2132
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2155
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2133
2156
  Card,
2134
2157
  {
2135
2158
  error: isSelected ? hasError : void 0,
@@ -2142,8 +2165,8 @@ function DynamicFormEditorFieldListPanel(props) {
2142
2165
  opacity: readonly ? 0.8 : 1,
2143
2166
  border: isSelected ? "1px solid var(--accent-9)" : "1px solid transparent"
2144
2167
  },
2145
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes12.Box, { style: { minWidth: 0 }, children: [
2146
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2168
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes12.Box, { style: { minWidth: 0 }, children: [
2169
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2147
2170
  Typo,
2148
2171
  {
2149
2172
  style: {
@@ -2155,7 +2178,7 @@ function DynamicFormEditorFieldListPanel(props) {
2155
2178
  children: field.label
2156
2179
  }
2157
2180
  ),
2158
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Typo, { color: "gray", variant: "caption", children: [
2181
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Typo, { color: "gray", variant: "caption", children: [
2159
2182
  field.name,
2160
2183
  " \xB7 ",
2161
2184
  field.type,
@@ -2171,13 +2194,13 @@ function DynamicFormEditorFieldListPanel(props) {
2171
2194
  }
2172
2195
 
2173
2196
  // src/molecules/dynamic-form-editor-issues-panel.tsx
2174
- var import_jsx_runtime27 = require("react/jsx-runtime");
2197
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2175
2198
  function DynamicFormEditorIssuesPanel(props) {
2176
2199
  const { issues } = props;
2177
2200
  if (issues.length === 0) return null;
2178
- 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: [
2179
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, { variant: "caption", children: "\uC2A4\uD0A4\uB9C8 \uC774\uC288" }),
2180
- issues.map((i) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2201
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_themes2.Flex, { direction: "column", gap: "2", children: [
2202
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typo, { variant: "caption", children: "\uC2A4\uD0A4\uB9C8 \uC774\uC288" }),
2203
+ issues.map((i) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2181
2204
  Typo,
2182
2205
  {
2183
2206
  color: i.level === "error" ? "red" : "gray",
@@ -2213,7 +2236,7 @@ var import_themes13 = require("@radix-ui/themes");
2213
2236
  var import_clsx7 = require("clsx");
2214
2237
  var import_react12 = require("react");
2215
2238
  var import_themes14 = require("@radix-ui/themes");
2216
- var import_jsx_runtime28 = require("react/jsx-runtime");
2239
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2217
2240
  var mapVariant = (variant) => {
2218
2241
  switch (variant) {
2219
2242
  case "heading1":
@@ -2260,7 +2283,7 @@ function Heading2(props) {
2260
2283
  mapFn: mapVariant
2261
2284
  }) : size;
2262
2285
  }, [size, variant]);
2263
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2286
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2264
2287
  import_themes13.Heading,
2265
2288
  __spreadProps(__spreadValues({}, rest), {
2266
2289
  className: (0, import_clsx7.clsx)(colorClassName, className),
@@ -2273,11 +2296,11 @@ function Heading2(props) {
2273
2296
  }
2274
2297
 
2275
2298
  // src/molecules/form/form.tsx
2276
- var import_jsx_runtime29 = require("react/jsx-runtime");
2299
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2277
2300
  var Root4 = (0, import_react13.forwardRef)(
2278
2301
  (_a, ref) => {
2279
2302
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2280
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2303
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2281
2304
  RadixForm.Root,
2282
2305
  __spreadProps(__spreadValues({}, rest), {
2283
2306
  className: `FormRoot ${className || ""}`,
@@ -2294,25 +2317,25 @@ var FieldContext = (0, import_react13.createContext)({
2294
2317
  var Field2 = (0, import_react13.forwardRef)(
2295
2318
  (_a, ref) => {
2296
2319
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2297
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2320
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2298
2321
  RadixForm.Field,
2299
2322
  __spreadProps(__spreadValues({}, rest), {
2300
2323
  className: `FormField ${className || ""}`,
2301
2324
  ref,
2302
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FieldContext.Provider, { value: rest, children })
2325
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(FieldContext.Provider, { value: rest, children })
2303
2326
  })
2304
2327
  );
2305
2328
  }
2306
2329
  );
2307
2330
  Field2.displayName = "FORM_FIELD";
2308
2331
  function HeadingLabel(props) {
2309
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
2332
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
2310
2333
  }
2311
2334
  function CaptionLabel(props) {
2312
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption", weight: "bold" }, props), { children: props.children }));
2335
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption", weight: "bold" }, props), { children: props.children }));
2313
2336
  }
2314
2337
  function BodyLabel(props) {
2315
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, __spreadProps(__spreadValues({ variant: "body", weight: "bold" }, props), { children: props.children }));
2338
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, __spreadProps(__spreadValues({ variant: "body", weight: "bold" }, props), { children: props.children }));
2316
2339
  }
2317
2340
  var Label2 = (0, import_react13.forwardRef)(
2318
2341
  (_a, ref) => {
@@ -2329,15 +2352,15 @@ var Label2 = (0, import_react13.forwardRef)(
2329
2352
  }
2330
2353
  }, [variant]);
2331
2354
  const fieldProps = (0, import_react13.useContext)(FieldContext);
2332
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2355
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2333
2356
  RadixForm.Label,
2334
2357
  __spreadProps(__spreadValues({}, rest), {
2335
2358
  asChild: true,
2336
2359
  className: `FormLabel ${className || ""}`,
2337
2360
  ref,
2338
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Comp, { children: [
2361
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Comp, { children: [
2339
2362
  children,
2340
- fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
2363
+ fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
2341
2364
  ] })
2342
2365
  })
2343
2366
  );
@@ -2347,13 +2370,13 @@ Label2.displayName = "FORM_Label";
2347
2370
  var Message2 = (0, import_react13.forwardRef)(
2348
2371
  (_a, ref) => {
2349
2372
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2350
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2373
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2351
2374
  RadixForm.Message,
2352
2375
  __spreadProps(__spreadValues({}, rest), {
2353
2376
  asChild: true,
2354
2377
  className: `FormMessage ${className || ""}`,
2355
2378
  ref,
2356
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { color: "red", children })
2379
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { color: "red", children })
2357
2380
  })
2358
2381
  );
2359
2382
  }
@@ -2363,7 +2386,7 @@ var Control2 = (0, import_react13.forwardRef)(
2363
2386
  (_a, ref) => {
2364
2387
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
2365
2388
  const fieldProps = (0, import_react13.useContext)(FieldContext);
2366
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2389
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2367
2390
  RadixForm.Control,
2368
2391
  __spreadProps(__spreadValues({}, rest), {
2369
2392
  className: `FormControl ${className || ""}`,
@@ -2386,10 +2409,10 @@ function FormItem(_a) {
2386
2409
  "children",
2387
2410
  "errorMessage"
2388
2411
  ]);
2389
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
2390
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Label, { variant: labelVariant, children: label }),
2412
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
2413
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Form.Label, { variant: labelVariant, children: label }),
2391
2414
  children,
2392
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
2415
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
2393
2416
  ] }));
2394
2417
  }
2395
2418
  var Form = {
@@ -2403,7 +2426,7 @@ var Form = {
2403
2426
  };
2404
2427
 
2405
2428
  // src/context/dynamic-form-context.tsx
2406
- var import_jsx_runtime30 = require("react/jsx-runtime");
2429
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2407
2430
  var DynamicFormContext = (0, import_react14.createContext)(null);
2408
2431
  function DynamicFormProvider({
2409
2432
  children,
@@ -2429,7 +2452,7 @@ function DynamicFormProvider({
2429
2452
  handleChange: formik.handleChange,
2430
2453
  handleBlur: formik.handleBlur
2431
2454
  };
2432
- 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 }) });
2455
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DynamicFormContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Form.Root, { onSubmit: formik.handleSubmit, style: formStyle, children }) });
2433
2456
  }
2434
2457
  function useDynamicForm() {
2435
2458
  const context = (0, import_react14.useContext)(DynamicFormContext);
@@ -2443,7 +2466,7 @@ function useDynamicForm() {
2443
2466
  var import_themes15 = require("@radix-ui/themes");
2444
2467
  var import_clsx8 = require("clsx");
2445
2468
  var import_react15 = require("react");
2446
- var import_jsx_runtime31 = require("react/jsx-runtime");
2469
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2447
2470
  var Root5 = (0, import_react15.forwardRef)((props, ref) => {
2448
2471
  const _a = props, { children, size = "medium", color, className } = _a, rest = __objRest(_a, ["children", "size", "color", "className"]);
2449
2472
  const groupSize = (0, import_react15.useMemo)(() => {
@@ -2461,7 +2484,7 @@ var Root5 = (0, import_react15.forwardRef)((props, ref) => {
2461
2484
  () => resolveColor(color),
2462
2485
  [color]
2463
2486
  );
2464
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2487
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2465
2488
  import_themes15.CheckboxGroup.Root,
2466
2489
  __spreadProps(__spreadValues({}, rest), {
2467
2490
  className: (0, import_clsx8.clsx)(colorClassName, className),
@@ -2481,7 +2504,7 @@ var CheckboxGroup = {
2481
2504
  var import_themes16 = require("@radix-ui/themes");
2482
2505
  var import_clsx9 = require("clsx");
2483
2506
  var import_react16 = require("react");
2484
- var import_jsx_runtime32 = require("react/jsx-runtime");
2507
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2485
2508
  var Root6 = (0, import_react16.forwardRef)((props, ref) => {
2486
2509
  const _a = props, { color, className } = _a, rest = __objRest(_a, ["color", "className"]);
2487
2510
  const { color: radixColor, className: colorClassName } = (0, import_react16.useMemo)(
@@ -2489,7 +2512,7 @@ var Root6 = (0, import_react16.forwardRef)((props, ref) => {
2489
2512
  [color]
2490
2513
  );
2491
2514
  const appliedColor = colorClassName ? void 0 : radixColor;
2492
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2515
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2493
2516
  import_themes16.RadioGroup.Root,
2494
2517
  __spreadProps(__spreadValues({}, rest), {
2495
2518
  className: (0, import_clsx9.clsx)(colorClassName, className),
@@ -2507,7 +2530,7 @@ var RadioGroup = __spreadProps(__spreadValues({}, import_themes16.RadioGroup), {
2507
2530
  var import_themes17 = require("@radix-ui/themes");
2508
2531
  var import_clsx10 = require("clsx");
2509
2532
  var import_react17 = require("react");
2510
- var import_jsx_runtime33 = require("react/jsx-runtime");
2533
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2511
2534
  var Root7 = (0, import_react17.forwardRef)((props, ref) => {
2512
2535
  const _a = props, { color, className } = _a, rest = __objRest(_a, ["color", "className"]);
2513
2536
  const { color: radixColor, className: colorClassName } = (0, import_react17.useMemo)(
@@ -2515,7 +2538,7 @@ var Root7 = (0, import_react17.forwardRef)((props, ref) => {
2515
2538
  [color]
2516
2539
  );
2517
2540
  const appliedColor = colorClassName ? void 0 : radixColor;
2518
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2541
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2519
2542
  import_themes17.RadioCards.Root,
2520
2543
  __spreadProps(__spreadValues({}, rest), {
2521
2544
  className: (0, import_clsx10.clsx)(colorClassName, className),
@@ -2536,7 +2559,7 @@ var import_themes18 = require("@radix-ui/themes");
2536
2559
  var import_themes19 = require("@radix-ui/themes");
2537
2560
 
2538
2561
  // src/molecules/dynamic-field.tsx
2539
- var import_jsx_runtime34 = require("react/jsx-runtime");
2562
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2540
2563
  function isRecord3(value) {
2541
2564
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
2542
2565
  }
@@ -2605,7 +2628,7 @@ function DynamicFormField({
2605
2628
  const selectedValue = typeof value === "string" || typeof value === "number" ? String(value) : "";
2606
2629
  switch (field.type) {
2607
2630
  case "short_text":
2608
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2631
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2609
2632
  TextField.Root,
2610
2633
  __spreadProps(__spreadValues({}, commonProps), {
2611
2634
  placeholder: field.placeholder,
@@ -2613,7 +2636,7 @@ function DynamicFormField({
2613
2636
  })
2614
2637
  );
2615
2638
  case "email":
2616
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2639
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2617
2640
  TextField.Root,
2618
2641
  __spreadProps(__spreadValues({}, commonProps), {
2619
2642
  placeholder: field.placeholder,
@@ -2621,7 +2644,7 @@ function DynamicFormField({
2621
2644
  })
2622
2645
  );
2623
2646
  case "number":
2624
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2647
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2625
2648
  TextField.Root,
2626
2649
  __spreadProps(__spreadValues({}, commonProps), {
2627
2650
  inputMode: "numeric",
@@ -2631,9 +2654,9 @@ function DynamicFormField({
2631
2654
  })
2632
2655
  );
2633
2656
  case "long_text":
2634
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TextArea, __spreadProps(__spreadValues({ rows: 4 }, commonProps), { placeholder: field.placeholder }));
2657
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(TextArea, __spreadProps(__spreadValues({ rows: 4 }, commonProps), { placeholder: field.placeholder }));
2635
2658
  case "dropdown":
2636
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2659
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2637
2660
  Select.Root,
2638
2661
  {
2639
2662
  disabled: readonly,
@@ -2642,7 +2665,7 @@ function DynamicFormField({
2642
2665
  },
2643
2666
  value: selectedValue,
2644
2667
  children: [
2645
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2668
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2646
2669
  Select.Trigger,
2647
2670
  {
2648
2671
  placeholder: field.placeholder,
@@ -2654,12 +2677,12 @@ function DynamicFormField({
2654
2677
  }
2655
2678
  }
2656
2679
  ),
2657
- /* @__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)) })
2680
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Select.Content, { children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Select.Item, { value: String(option.value), children: option.label }, option.value)) })
2658
2681
  ]
2659
2682
  }
2660
2683
  );
2661
2684
  case "choice":
2662
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2685
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2663
2686
  RadioGroup.Root,
2664
2687
  {
2665
2688
  disabled: readonly,
@@ -2668,13 +2691,13 @@ function DynamicFormField({
2668
2691
  },
2669
2692
  orientation: field.orientation,
2670
2693
  value: String(value || ""),
2671
- children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(RadioGroup.Item, { value: String(option.value), children: option.label }, option.value))
2694
+ children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(RadioGroup.Item, { value: String(option.value), children: option.label }, option.value))
2672
2695
  }
2673
2696
  );
2674
2697
  case "radio_cards": {
2675
2698
  const options = getOptions(field);
2676
2699
  if (!options) return null;
2677
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2700
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2678
2701
  RadioCards.Root,
2679
2702
  {
2680
2703
  disabled: readonly,
@@ -2682,12 +2705,12 @@ function DynamicFormField({
2682
2705
  void setFieldValue(name, newValue);
2683
2706
  },
2684
2707
  value: selectedValue,
2685
- 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))
2708
+ children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(RadioCards.Item, { value: String(option.value), children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { children: option.label }) }, option.value))
2686
2709
  }
2687
2710
  );
2688
2711
  }
2689
2712
  case "choices":
2690
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2713
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2691
2714
  CheckboxGroup.Root,
2692
2715
  {
2693
2716
  disabled: readonly,
@@ -2696,12 +2719,12 @@ function DynamicFormField({
2696
2719
  },
2697
2720
  orientation: field.orientation,
2698
2721
  value: Array.isArray(value) ? value.map(String) : [],
2699
- children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CheckboxGroup.Item, { value: String(option.value), children: option.label }, option.value))
2722
+ children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CheckboxGroup.Item, { value: String(option.value), children: option.label }, option.value))
2700
2723
  }
2701
2724
  );
2702
2725
  case "yes_no":
2703
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes2.Flex, { gap: "2", children: [
2704
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2726
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes2.Flex, { gap: "2", children: [
2727
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2705
2728
  Checkbox,
2706
2729
  {
2707
2730
  checked: Boolean(value),
@@ -2711,7 +2734,7 @@ function DynamicFormField({
2711
2734
  }
2712
2735
  }
2713
2736
  ),
2714
- field.description ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typo, { color: "gray", variant: "caption", children: field.description }) : null
2737
+ field.description ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { color: "gray", variant: "caption", children: field.description }) : null
2715
2738
  ] });
2716
2739
  case "image_radio_card": {
2717
2740
  const options = getImageOptions(field);
@@ -2735,23 +2758,23 @@ function DynamicFormField({
2735
2758
  if (!selectedOption) return;
2736
2759
  void setFieldValue(name, selectedOption.value);
2737
2760
  };
2738
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2761
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2739
2762
  RadioCards.Root,
2740
2763
  {
2741
2764
  disabled: readonly,
2742
2765
  onValueChange: readonly ? void 0 : handleValueChange,
2743
2766
  value: selectedValue,
2744
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes18.Grid, { columns: gridColumns, gap: gridGap, rows: gridRows, children: options.map((option) => {
2767
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes18.Grid, { columns: gridColumns, gap: gridGap, rows: gridRows, children: options.map((option) => {
2745
2768
  const optionValue = String(option.value);
2746
2769
  const altText = option.alt || option.label;
2747
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2770
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2748
2771
  RadioCards.Item,
2749
2772
  {
2750
2773
  style: {
2751
2774
  padding: 0
2752
2775
  },
2753
2776
  value: optionValue,
2754
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes19.Inset, { style: { width: "100%", height: "100%", padding: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2777
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes19.Inset, { style: { width: "100%", height: "100%", padding: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2755
2778
  "img",
2756
2779
  {
2757
2780
  alt: altText,
@@ -2778,7 +2801,7 @@ function DynamicFormField({
2778
2801
  }
2779
2802
 
2780
2803
  // src/molecules/dynamic-form.tsx
2781
- var import_jsx_runtime35 = require("react/jsx-runtime");
2804
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2782
2805
  function scrollToFirstError(errors, _fields) {
2783
2806
  const firstErrorFieldName = Object.keys(errors)[0];
2784
2807
  if (!firstErrorFieldName) return;
@@ -2865,7 +2888,7 @@ function DynamicFormRoot({
2865
2888
  };
2866
2889
  }
2867
2890
  }, [formik.submitCount, formik.errors, fields]);
2868
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2891
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2869
2892
  DynamicFormProvider,
2870
2893
  {
2871
2894
  fields,
@@ -2882,15 +2905,15 @@ function DynamicFormFieldList({
2882
2905
  }) {
2883
2906
  const { formik, fields: fieldsFromContext, readonly } = useDynamicForm();
2884
2907
  const fields = fieldsProp || fieldsFromContext;
2885
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, { children: fields.map((field) => {
2908
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, { children: fields.map((field) => {
2886
2909
  const errorMessage = !readonly && formik.touched[field.name] && formik.errors[field.name] ? String(formik.errors[field.name]) : void 0;
2887
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2910
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2888
2911
  import_themes20.Box,
2889
2912
  {
2890
2913
  "data-error-field": errorMessage ? field.name : void 0,
2891
2914
  "data-field-name": field.name,
2892
2915
  mb: "2",
2893
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2916
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2894
2917
  Form.FormItem,
2895
2918
  {
2896
2919
  errorMessage,
@@ -2899,8 +2922,8 @@ function DynamicFormFieldList({
2899
2922
  name: field.name,
2900
2923
  required: field.required,
2901
2924
  children: [
2902
- field.description && field.type !== "yes_no" ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { variant: "caption", children: field.description }) : null,
2903
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DynamicFormField, { field })
2925
+ field.description && field.type !== "yes_no" ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Typo, { variant: "caption", children: field.description }) : null,
2926
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DynamicFormField, { field })
2904
2927
  ]
2905
2928
  }
2906
2929
  )
@@ -2997,18 +3020,18 @@ function createYupValidation(field, validation) {
2997
3020
  }
2998
3021
 
2999
3022
  // src/molecules/dynamic-form-editor-preview-panel.tsx
3000
- var import_jsx_runtime36 = require("react/jsx-runtime");
3023
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3001
3024
  function DynamicFormEditorPreviewPanel(props) {
3002
3025
  const { show, fields } = props;
3003
3026
  if (!show) return null;
3004
- 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: [
3005
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Typo, { variant: "body", children: "\uD504\uB9AC\uBDF0" }),
3006
- /* @__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" }) })
3027
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Card, { style: { width: 420, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", children: [
3028
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { variant: "body", children: "\uD504\uB9AC\uBDF0" }),
3029
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DynamicForm.Root, { fields, onSubmit: () => void 0, readonly: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DynamicForm.FieldList, { labelVariant: "body" }) })
3007
3030
  ] }) });
3008
3031
  }
3009
3032
 
3010
3033
  // src/molecules/dynamic-form-editor.tsx
3011
- var import_jsx_runtime37 = require("react/jsx-runtime");
3034
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3012
3035
  function getInitialSchema(value, defaultValue) {
3013
3036
  if (value !== void 0) return normalizeSchema(value);
3014
3037
  return normalizeSchema(defaultValue);
@@ -3158,8 +3181,8 @@ function DynamicFormEditor(props) {
3158
3181
  void result;
3159
3182
  }, [effectiveSchema, onSave]);
3160
3183
  const disableSave = readonly || !onSave || hasErrorIssues(issues);
3161
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes2.Flex, { align: "start", gap: "4", style: { width: "100%" }, children: [
3162
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3184
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_themes2.Flex, { align: "start", gap: "4", style: { width: "100%" }, children: [
3185
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3163
3186
  DynamicFormEditorFieldListPanel,
3164
3187
  {
3165
3188
  fieldTypes,
@@ -3171,8 +3194,8 @@ function DynamicFormEditor(props) {
3171
3194
  selectedFieldName
3172
3195
  }
3173
3196
  ),
3174
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", style: { flex: 1, minWidth: 520 }, children: [
3175
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3197
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_themes2.Flex, { direction: "column", gap: "3", style: { flex: 1, minWidth: 520 }, children: [
3198
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3176
3199
  DynamicFormEditorFieldEditorPanel,
3177
3200
  {
3178
3201
  field: selected.field,
@@ -3187,13 +3210,13 @@ function DynamicFormEditor(props) {
3187
3210
  readonly
3188
3211
  }
3189
3212
  ),
3190
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DynamicFormEditorIssuesPanel, { issues }),
3191
- onSave || onCancel ? /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes2.Flex, { gap: "2", justify: "end", children: [
3192
- onCancel ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { disabled: readonly, onClick: onCancel, variant: "soft", children: "\uCDE8\uC18C" }) : null,
3193
- onSave ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { disabled: disableSave, onClick: handleSave, children: "\uC800\uC7A5" }) : null
3213
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DynamicFormEditorIssuesPanel, { issues }),
3214
+ onSave || onCancel ? /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_themes2.Flex, { gap: "2", justify: "end", children: [
3215
+ onCancel ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Button, { disabled: readonly, onClick: onCancel, variant: "soft", children: "\uCDE8\uC18C" }) : null,
3216
+ onSave ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Button, { disabled: disableSave, onClick: handleSave, children: "\uC800\uC7A5" }) : null
3194
3217
  ] }) : null
3195
3218
  ] }),
3196
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DynamicFormEditorPreviewPanel, { fields: effectiveSchema.fields, show: showPreview })
3219
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DynamicFormEditorPreviewPanel, { fields: effectiveSchema.fields, show: showPreview })
3197
3220
  ] });
3198
3221
  }
3199
3222
  // Annotate the CommonJS export names for ESM import in node: