@tipp/ui 2.3.32 → 2.3.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/dist/app/index.cjs +456 -198
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +102 -101
  4. package/dist/app/platform/coach-question-list.cjs +12 -4
  5. package/dist/app/platform/coach-question-list.cjs.map +1 -1
  6. package/dist/app/platform/coach-question-list.js +32 -32
  7. package/dist/app/platform/contents-card.cjs +12 -4
  8. package/dist/app/platform/contents-card.cjs.map +1 -1
  9. package/dist/app/platform/contents-card.js +32 -32
  10. package/dist/app/platform/curriculum-card.js +5 -5
  11. package/dist/app/platform/edit-coaching-time.cjs +286 -28
  12. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  13. package/dist/app/platform/edit-coaching-time.js +82 -81
  14. package/dist/app/platform/edit-service-type.cjs +281 -23
  15. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  16. package/dist/app/platform/edit-service-type.js +83 -82
  17. package/dist/app/platform/goal-manage-card-edit.cjs +289 -31
  18. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  19. package/dist/app/platform/goal-manage-card-edit.js +82 -81
  20. package/dist/app/platform/goal-manage-card-read.cjs +12 -4
  21. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  22. package/dist/app/platform/goal-manage-card-read.js +32 -32
  23. package/dist/app/platform/on-offline-radio-card.cjs +314 -54
  24. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  25. package/dist/app/platform/on-offline-radio-card.js +82 -81
  26. package/dist/app/platform/report-card.cjs +12 -4
  27. package/dist/app/platform/report-card.cjs.map +1 -1
  28. package/dist/app/platform/report-card.js +32 -32
  29. package/dist/app/platform/reservation-card.cjs +305 -47
  30. package/dist/app/platform/reservation-card.cjs.map +1 -1
  31. package/dist/app/platform/reservation-card.js +83 -82
  32. package/dist/app/platform/session-card.cjs +331 -73
  33. package/dist/app/platform/session-card.cjs.map +1 -1
  34. package/dist/app/platform/session-card.js +85 -84
  35. package/dist/app/platform/session-review-simple-read.cjs +12 -4
  36. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  37. package/dist/app/platform/session-review-simple-read.js +32 -32
  38. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +12 -4
  39. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
  40. package/dist/app/platform/userInfos/coaching-customer-info/index.js +35 -35
  41. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +12 -4
  42. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
  43. package/dist/app/platform/userInfos/coaching-customer-info/large.js +32 -32
  44. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +12 -4
  45. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
  46. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +32 -32
  47. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +12 -4
  48. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
  49. package/dist/app/platform/userInfos/coaching-customer-info/small.js +32 -32
  50. package/dist/app/platform/userInfos/session-user-info-detail.cjs +12 -4
  51. package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
  52. package/dist/app/platform/userInfos/session-user-info-detail.js +32 -32
  53. package/dist/app/platform/userInfos/utils.cjs +12 -4
  54. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  55. package/dist/app/platform/userInfos/utils.js +31 -31
  56. package/dist/atoms/bullet-text.js +2 -2
  57. package/dist/atoms/dialog.js +2 -2
  58. package/dist/atoms/dropdown-menu.cjs +9 -1
  59. package/dist/atoms/dropdown-menu.cjs.map +1 -1
  60. package/dist/atoms/dropdown-menu.d.cts +4 -1
  61. package/dist/atoms/dropdown-menu.d.ts +4 -1
  62. package/dist/atoms/dropdown-menu.js +1 -1
  63. package/dist/atoms/field-error-wrapper.js +2 -2
  64. package/dist/atoms/index.cjs +15 -7
  65. package/dist/atoms/index.cjs.map +1 -1
  66. package/dist/atoms/index.js +63 -63
  67. package/dist/atoms/list.js +2 -2
  68. package/dist/atoms/pagination.js +3 -3
  69. package/dist/{chunk-U3FBMFRL.js → chunk-24PLAIMJ.js} +15 -15
  70. package/dist/{chunk-5TZNUXBT.js → chunk-3GGJWSFK.js} +6 -6
  71. package/dist/{chunk-M2PVHXOE.js → chunk-3GQQQBJN.js} +4 -4
  72. package/dist/{chunk-DWBYAHIR.js → chunk-446FD3VT.js} +12 -12
  73. package/dist/{chunk-62HSZXVT.js → chunk-44VLRAHW.js} +6 -6
  74. package/dist/{chunk-YPEB36YK.js → chunk-4N2R7MWQ.js} +5 -5
  75. package/dist/{chunk-5J4YHHVX.js → chunk-52VTWFM6.js} +22 -8
  76. package/dist/chunk-52VTWFM6.js.map +1 -0
  77. package/dist/{chunk-W7TBPRHG.js → chunk-5V6MQUTB.js} +2 -2
  78. package/dist/{chunk-AHXS2MBK.js → chunk-5ZEQ33PC.js} +5 -5
  79. package/dist/{chunk-NTJLECYY.js → chunk-7I7PZF5L.js} +5 -5
  80. package/dist/{chunk-HTNDVNLQ.js → chunk-7ITDAUWI.js} +12 -12
  81. package/dist/{chunk-YADSNPMG.js → chunk-A7LYIUE7.js} +6 -6
  82. package/dist/{chunk-VK6INFSB.js → chunk-AQVIQODP.js} +4 -4
  83. package/dist/{chunk-VH37R5IH.js → chunk-BEIM5PNA.js} +4 -4
  84. package/dist/{chunk-HWK3UPZ3.js → chunk-BRNYILVO.js} +5 -5
  85. package/dist/{chunk-K3Q4XLCN.js → chunk-CQSM6JCO.js} +4 -4
  86. package/dist/{chunk-B5CKZFDM.js → chunk-D3KCPM4O.js} +4 -4
  87. package/dist/{chunk-QKZTZUWP.js → chunk-DZSRS37B.js} +7 -7
  88. package/dist/{chunk-6MQMVYEP.js → chunk-EGT45N6F.js} +4 -4
  89. package/dist/{chunk-GHRDK4GY.js → chunk-FBFKBV5Y.js} +16 -16
  90. package/dist/{chunk-OHNBVT52.js → chunk-G7NEBNHU.js} +4 -4
  91. package/dist/{chunk-ZFTQ2XBH.js → chunk-GFURX6GB.js} +4 -4
  92. package/dist/{chunk-EWFZXCMV.js → chunk-GGLDVUYU.js} +4 -4
  93. package/dist/{chunk-RM5CQ77X.js → chunk-GMNJ7FMU.js} +6 -6
  94. package/dist/{chunk-NIMLBANB.js → chunk-GTXHAZSU.js} +7 -7
  95. package/dist/{chunk-6HMQEUHX.js → chunk-GZNELGHF.js} +9 -9
  96. package/dist/{chunk-76PNGKCB.js → chunk-HAZBA3RU.js} +4 -4
  97. package/dist/{chunk-5WX7CODZ.js → chunk-HOMPMIZJ.js} +10 -10
  98. package/dist/{chunk-F7JSPN5P.js → chunk-IEYBSZA3.js} +12 -12
  99. package/dist/{chunk-SF2V5ZKJ.js → chunk-IK6FGLFU.js} +10 -10
  100. package/dist/{chunk-LFYQFYWO.js → chunk-ILCRQ36E.js} +10 -10
  101. package/dist/{chunk-ZA4NYPSW.js → chunk-JZVK4NDF.js} +5 -5
  102. package/dist/{chunk-AA6OYHCE.js → chunk-KCCYHT23.js} +4 -4
  103. package/dist/{chunk-2U7C7J5P.js → chunk-KMQIN5PA.js} +8 -8
  104. package/dist/{chunk-OILH5J7Q.js → chunk-KMVSJT6Y.js} +8 -8
  105. package/dist/chunk-LSDD4TAP.js +276 -0
  106. package/dist/chunk-LSDD4TAP.js.map +1 -0
  107. package/dist/{chunk-LIV5LHHZ.js → chunk-LT5C6QT7.js} +2 -2
  108. package/dist/{chunk-MFIOT62L.js → chunk-N4Y3QSUQ.js} +4 -4
  109. package/dist/{chunk-RDKURMDJ.js → chunk-NCNYKQU7.js} +7 -7
  110. package/dist/{chunk-QEDJOAP6.js → chunk-NHCUQ25T.js} +2 -2
  111. package/dist/{chunk-FVNXDLRU.js → chunk-O5MYSBA3.js} +2 -2
  112. package/dist/{chunk-TCFXG4AX.js → chunk-OHXP63A5.js} +5 -5
  113. package/dist/{chunk-M6C7IXCB.js → chunk-OXZXUPSB.js} +7 -7
  114. package/dist/{chunk-GTO7GG2K.js → chunk-P4KO43AP.js} +2 -2
  115. package/dist/{chunk-TJO4XDI2.js → chunk-P6C6KRXM.js} +5 -5
  116. package/dist/{chunk-7R65MUL6.js → chunk-PXPGCDNA.js} +4 -4
  117. package/dist/{chunk-64XYTE54.js → chunk-QFEZIPWJ.js} +5 -5
  118. package/dist/{chunk-5OLJJUMC.js → chunk-QIAMX2NR.js} +10 -10
  119. package/dist/{chunk-Z34HR7RE.js → chunk-QRI6ARS6.js} +4 -4
  120. package/dist/{chunk-CNW3YEAK.js → chunk-R3WM6HV6.js} +4 -4
  121. package/dist/{chunk-MJMHPIYX.js → chunk-SDEDXT7A.js} +4 -4
  122. package/dist/{chunk-D4U2MCJG.js → chunk-SMLC2O3V.js} +10 -2
  123. package/dist/chunk-SMLC2O3V.js.map +1 -0
  124. package/dist/{chunk-SO5HZSGJ.js → chunk-STBTV3GY.js} +9 -9
  125. package/dist/chunk-SYMOHU2B.js +1 -0
  126. package/dist/{chunk-6TQGX5ZU.js → chunk-TP7DOXLP.js} +2 -2
  127. package/dist/{chunk-WH6QD4SY.js → chunk-UGYH6IXU.js} +19 -19
  128. package/dist/{chunk-5JQOU3IR.js → chunk-UH6Q3TEK.js} +7 -7
  129. package/dist/{chunk-MTGKF6SO.js → chunk-UKV2WNLS.js} +9 -9
  130. package/dist/{chunk-CQL6FYW4.js → chunk-V4XCZSRN.js} +13 -13
  131. package/dist/{chunk-4PYFMD24.js → chunk-VKH2GRVW.js} +2 -2
  132. package/dist/{chunk-SAEPW5JF.js → chunk-VREM33BW.js} +6 -6
  133. package/dist/{chunk-ZOPYFDLO.js → chunk-VRJR534I.js} +4 -4
  134. package/dist/{chunk-JRT6KTBG.js → chunk-WMWXF44S.js} +4 -4
  135. package/dist/{chunk-JIJLOKVN.js → chunk-WV2HN6H4.js} +4 -4
  136. package/dist/{chunk-SLJLEPD2.js → chunk-YDHBTQX4.js} +11 -11
  137. package/dist/{chunk-CIQ7ELE6.js → chunk-YE3UDMTZ.js} +9 -9
  138. package/dist/{chunk-AYWPBD4T.js → chunk-YP3H5H4D.js} +9 -9
  139. package/dist/{chunk-652H6CLP.js → chunk-Z7SS2DHW.js} +6 -6
  140. package/dist/context/index.js +5 -5
  141. package/dist/index.cjs +562 -292
  142. package/dist/index.cjs.map +1 -1
  143. package/dist/index.css +1 -0
  144. package/dist/index.d.cts +1 -0
  145. package/dist/index.d.ts +1 -0
  146. package/dist/index.js +154 -150
  147. package/dist/molecules/autocomplete-textfield.cjs +417 -0
  148. package/dist/molecules/autocomplete-textfield.cjs.map +1 -0
  149. package/dist/molecules/autocomplete-textfield.d.cts +26 -0
  150. package/dist/molecules/autocomplete-textfield.d.ts +26 -0
  151. package/dist/molecules/autocomplete-textfield.js +12 -0
  152. package/dist/molecules/autocomplete-textfield.js.map +1 -0
  153. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +18 -18
  154. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +4 -4
  155. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +11 -11
  156. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +2 -2
  157. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +3 -3
  158. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +2 -2
  159. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +6 -6
  160. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +5 -5
  161. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +5 -5
  162. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +5 -5
  163. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +4 -4
  164. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +21 -21
  165. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +6 -6
  166. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +3 -3
  167. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js +3 -3
  168. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +23 -23
  169. package/dist/molecules/curriculumV2/CurriculumContents/index.js +28 -28
  170. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +2 -2
  171. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +4 -4
  172. package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +7 -7
  173. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +5 -5
  174. package/dist/molecules/curriculumV2/curriculum-sub-nav.js +4 -4
  175. package/dist/molecules/curriculumV2/curriculum-v2-layout.js +2 -2
  176. package/dist/molecules/curriculumV2/index.js +35 -35
  177. package/dist/molecules/date-picker/date-picker-button.js +6 -6
  178. package/dist/molecules/date-picker/index.js +5 -5
  179. package/dist/molecules/description-json-render.js +5 -5
  180. package/dist/molecules/download-card.js +2 -2
  181. package/dist/molecules/dynamic-field.js +7 -7
  182. package/dist/molecules/dynamic-form-editor-field-editor-panel.js +5 -5
  183. package/dist/molecules/dynamic-form-editor-field-list-panel.js +2 -2
  184. package/dist/molecules/dynamic-form-editor-issues-panel.js +2 -2
  185. package/dist/molecules/dynamic-form-editor-preview-panel.js +9 -9
  186. package/dist/molecules/dynamic-form-editor.js +17 -17
  187. package/dist/molecules/dynamic-form.js +8 -8
  188. package/dist/molecules/expand-table/index.cjs +12 -2
  189. package/dist/molecules/expand-table/index.cjs.map +1 -1
  190. package/dist/molecules/expand-table/index.d.cts +2 -0
  191. package/dist/molecules/expand-table/index.d.ts +2 -0
  192. package/dist/molecules/expand-table/index.js +5 -5
  193. package/dist/molecules/force-refresh.js +2 -2
  194. package/dist/molecules/ghost-post.js +4 -4
  195. package/dist/molecules/index.cjs +298 -2
  196. package/dist/molecules/index.cjs.map +1 -1
  197. package/dist/molecules/index.d.cts +2 -0
  198. package/dist/molecules/index.d.ts +2 -0
  199. package/dist/molecules/index.js +78 -73
  200. package/dist/molecules/learning-post.js +6 -6
  201. package/dist/molecules/navigation.js +3 -3
  202. package/dist/molecules/one-on-one-guide-list.js +3 -3
  203. package/dist/molecules/stepper.js +4 -4
  204. package/dist/molecules/tag-selector.js +5 -5
  205. package/dist/molecules/training-info-guideline.js +7 -7
  206. package/package.json +1 -1
  207. package/src/atoms/dropdown-menu.tsx +13 -0
  208. package/src/molecules/autocomplete-textfield.tsx +302 -0
  209. package/src/molecules/expand-table/index.tsx +16 -3
  210. package/src/molecules/index.ts +2 -1
  211. package/dist/chunk-5J4YHHVX.js.map +0 -1
  212. package/dist/chunk-D4U2MCJG.js.map +0 -1
  213. package/dist/chunk-YWYYPYBK.js +0 -1
  214. /package/dist/{chunk-U3FBMFRL.js.map → chunk-24PLAIMJ.js.map} +0 -0
  215. /package/dist/{chunk-5TZNUXBT.js.map → chunk-3GGJWSFK.js.map} +0 -0
  216. /package/dist/{chunk-M2PVHXOE.js.map → chunk-3GQQQBJN.js.map} +0 -0
  217. /package/dist/{chunk-DWBYAHIR.js.map → chunk-446FD3VT.js.map} +0 -0
  218. /package/dist/{chunk-62HSZXVT.js.map → chunk-44VLRAHW.js.map} +0 -0
  219. /package/dist/{chunk-YPEB36YK.js.map → chunk-4N2R7MWQ.js.map} +0 -0
  220. /package/dist/{chunk-W7TBPRHG.js.map → chunk-5V6MQUTB.js.map} +0 -0
  221. /package/dist/{chunk-AHXS2MBK.js.map → chunk-5ZEQ33PC.js.map} +0 -0
  222. /package/dist/{chunk-NTJLECYY.js.map → chunk-7I7PZF5L.js.map} +0 -0
  223. /package/dist/{chunk-HTNDVNLQ.js.map → chunk-7ITDAUWI.js.map} +0 -0
  224. /package/dist/{chunk-YADSNPMG.js.map → chunk-A7LYIUE7.js.map} +0 -0
  225. /package/dist/{chunk-VK6INFSB.js.map → chunk-AQVIQODP.js.map} +0 -0
  226. /package/dist/{chunk-VH37R5IH.js.map → chunk-BEIM5PNA.js.map} +0 -0
  227. /package/dist/{chunk-HWK3UPZ3.js.map → chunk-BRNYILVO.js.map} +0 -0
  228. /package/dist/{chunk-K3Q4XLCN.js.map → chunk-CQSM6JCO.js.map} +0 -0
  229. /package/dist/{chunk-B5CKZFDM.js.map → chunk-D3KCPM4O.js.map} +0 -0
  230. /package/dist/{chunk-QKZTZUWP.js.map → chunk-DZSRS37B.js.map} +0 -0
  231. /package/dist/{chunk-6MQMVYEP.js.map → chunk-EGT45N6F.js.map} +0 -0
  232. /package/dist/{chunk-GHRDK4GY.js.map → chunk-FBFKBV5Y.js.map} +0 -0
  233. /package/dist/{chunk-OHNBVT52.js.map → chunk-G7NEBNHU.js.map} +0 -0
  234. /package/dist/{chunk-ZFTQ2XBH.js.map → chunk-GFURX6GB.js.map} +0 -0
  235. /package/dist/{chunk-EWFZXCMV.js.map → chunk-GGLDVUYU.js.map} +0 -0
  236. /package/dist/{chunk-RM5CQ77X.js.map → chunk-GMNJ7FMU.js.map} +0 -0
  237. /package/dist/{chunk-NIMLBANB.js.map → chunk-GTXHAZSU.js.map} +0 -0
  238. /package/dist/{chunk-6HMQEUHX.js.map → chunk-GZNELGHF.js.map} +0 -0
  239. /package/dist/{chunk-76PNGKCB.js.map → chunk-HAZBA3RU.js.map} +0 -0
  240. /package/dist/{chunk-5WX7CODZ.js.map → chunk-HOMPMIZJ.js.map} +0 -0
  241. /package/dist/{chunk-F7JSPN5P.js.map → chunk-IEYBSZA3.js.map} +0 -0
  242. /package/dist/{chunk-SF2V5ZKJ.js.map → chunk-IK6FGLFU.js.map} +0 -0
  243. /package/dist/{chunk-LFYQFYWO.js.map → chunk-ILCRQ36E.js.map} +0 -0
  244. /package/dist/{chunk-ZA4NYPSW.js.map → chunk-JZVK4NDF.js.map} +0 -0
  245. /package/dist/{chunk-AA6OYHCE.js.map → chunk-KCCYHT23.js.map} +0 -0
  246. /package/dist/{chunk-2U7C7J5P.js.map → chunk-KMQIN5PA.js.map} +0 -0
  247. /package/dist/{chunk-OILH5J7Q.js.map → chunk-KMVSJT6Y.js.map} +0 -0
  248. /package/dist/{chunk-LIV5LHHZ.js.map → chunk-LT5C6QT7.js.map} +0 -0
  249. /package/dist/{chunk-MFIOT62L.js.map → chunk-N4Y3QSUQ.js.map} +0 -0
  250. /package/dist/{chunk-RDKURMDJ.js.map → chunk-NCNYKQU7.js.map} +0 -0
  251. /package/dist/{chunk-QEDJOAP6.js.map → chunk-NHCUQ25T.js.map} +0 -0
  252. /package/dist/{chunk-FVNXDLRU.js.map → chunk-O5MYSBA3.js.map} +0 -0
  253. /package/dist/{chunk-TCFXG4AX.js.map → chunk-OHXP63A5.js.map} +0 -0
  254. /package/dist/{chunk-M6C7IXCB.js.map → chunk-OXZXUPSB.js.map} +0 -0
  255. /package/dist/{chunk-GTO7GG2K.js.map → chunk-P4KO43AP.js.map} +0 -0
  256. /package/dist/{chunk-TJO4XDI2.js.map → chunk-P6C6KRXM.js.map} +0 -0
  257. /package/dist/{chunk-7R65MUL6.js.map → chunk-PXPGCDNA.js.map} +0 -0
  258. /package/dist/{chunk-64XYTE54.js.map → chunk-QFEZIPWJ.js.map} +0 -0
  259. /package/dist/{chunk-5OLJJUMC.js.map → chunk-QIAMX2NR.js.map} +0 -0
  260. /package/dist/{chunk-Z34HR7RE.js.map → chunk-QRI6ARS6.js.map} +0 -0
  261. /package/dist/{chunk-CNW3YEAK.js.map → chunk-R3WM6HV6.js.map} +0 -0
  262. /package/dist/{chunk-MJMHPIYX.js.map → chunk-SDEDXT7A.js.map} +0 -0
  263. /package/dist/{chunk-SO5HZSGJ.js.map → chunk-STBTV3GY.js.map} +0 -0
  264. /package/dist/{chunk-YWYYPYBK.js.map → chunk-SYMOHU2B.js.map} +0 -0
  265. /package/dist/{chunk-6TQGX5ZU.js.map → chunk-TP7DOXLP.js.map} +0 -0
  266. /package/dist/{chunk-WH6QD4SY.js.map → chunk-UGYH6IXU.js.map} +0 -0
  267. /package/dist/{chunk-5JQOU3IR.js.map → chunk-UH6Q3TEK.js.map} +0 -0
  268. /package/dist/{chunk-MTGKF6SO.js.map → chunk-UKV2WNLS.js.map} +0 -0
  269. /package/dist/{chunk-CQL6FYW4.js.map → chunk-V4XCZSRN.js.map} +0 -0
  270. /package/dist/{chunk-4PYFMD24.js.map → chunk-VKH2GRVW.js.map} +0 -0
  271. /package/dist/{chunk-SAEPW5JF.js.map → chunk-VREM33BW.js.map} +0 -0
  272. /package/dist/{chunk-ZOPYFDLO.js.map → chunk-VRJR534I.js.map} +0 -0
  273. /package/dist/{chunk-JRT6KTBG.js.map → chunk-WMWXF44S.js.map} +0 -0
  274. /package/dist/{chunk-JIJLOKVN.js.map → chunk-WV2HN6H4.js.map} +0 -0
  275. /package/dist/{chunk-SLJLEPD2.js.map → chunk-YDHBTQX4.js.map} +0 -0
  276. /package/dist/{chunk-CIQ7ELE6.js.map → chunk-YE3UDMTZ.js.map} +0 -0
  277. /package/dist/{chunk-AYWPBD4T.js.map → chunk-YP3H5H4D.js.map} +0 -0
  278. /package/dist/{chunk-652H6CLP.js.map → chunk-Z7SS2DHW.js.map} +0 -0
@@ -79,6 +79,7 @@ var __async = (__this, __arguments, generator) => {
79
79
  // src/molecules/index.ts
80
80
  var molecules_exports = {};
81
81
  __export(molecules_exports, {
82
+ AutocompleteTextfield: () => AutocompleteTextfield,
82
83
  CurriculumBody: () => CurriculumBody,
83
84
  CurriculumProvider: () => CurriculumProvider,
84
85
  CurriculumSidebar: () => CurriculumSidebar,
@@ -990,6 +991,7 @@ function ExpandTable(props) {
990
991
  pageIndex = 0,
991
992
  pageSize = 10,
992
993
  siblingCount = 2,
994
+ onPageChange,
993
995
  getRowStyle,
994
996
  getCellStyle,
995
997
  variant = "card"
@@ -999,6 +1001,13 @@ function ExpandTable(props) {
999
1001
  pageIndex: pageIndex || 0,
1000
1002
  pageSize: pageSize || 9999
1001
1003
  });
1004
+ (0, import_react6.useEffect)(() => {
1005
+ setPagination((prev) => {
1006
+ const next = pageIndex;
1007
+ if (prev.pageIndex === next) return prev;
1008
+ return __spreadProps(__spreadValues({}, prev), { pageIndex: next });
1009
+ });
1010
+ }, [pageIndex]);
1002
1011
  const [sorting, setSorting] = (0, import_react6.useState)([]);
1003
1012
  const { getRowModel, getHeaderGroups, setPageIndex } = (0, import_react_table2.useReactTable)({
1004
1013
  data: data || [],
@@ -1023,9 +1032,11 @@ function ExpandTable(props) {
1023
1032
  const rowModels = getRowModel();
1024
1033
  const onChangePagination = (0, import_react6.useCallback)(
1025
1034
  (page) => {
1026
- setPageIndex(page - 1);
1035
+ const idx = page - 1;
1036
+ setPageIndex(idx);
1037
+ onPageChange == null ? void 0 : onPageChange(idx);
1027
1038
  },
1028
- [setPageIndex]
1039
+ [setPageIndex, onPageChange]
1029
1040
  );
1030
1041
  const helpCompRender = (0, import_react6.useCallback)(
1031
1042
  (rowLength) => {
@@ -7131,8 +7142,293 @@ function DynamicFormEditor(props) {
7131
7142
  /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(DynamicFormEditorPreviewPanel, { fields: effectiveSchema.fields, show: showPreview })
7132
7143
  ] });
7133
7144
  }
7145
+
7146
+ // src/molecules/autocomplete-textfield.tsx
7147
+ var import_react47 = require("react");
7148
+ var import_themes42 = require("@radix-ui/themes");
7149
+
7150
+ // src/atoms/dropdown-menu.tsx
7151
+ var import_themes41 = require("@radix-ui/themes");
7152
+ var import_react46 = require("react");
7153
+ var import_jsx_runtime89 = require("react/jsx-runtime");
7154
+ var Content4 = (0, import_react46.forwardRef)((props, ref) => {
7155
+ const _a = props, { isNavigation, className } = _a, rest = __objRest(_a, ["isNavigation", "className"]);
7156
+ const contentClassName = (0, import_react46.useMemo)(() => {
7157
+ const cls = isNavigation ? "dropdown-navigation" : "";
7158
+ return [cls, className].join(" ");
7159
+ }, [isNavigation, className]);
7160
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7161
+ import_themes41.DropdownMenu.Content,
7162
+ __spreadProps(__spreadValues({
7163
+ ref
7164
+ }, rest), {
7165
+ className: contentClassName
7166
+ })
7167
+ );
7168
+ });
7169
+ Content4.displayName = "DropdownMenu.Content";
7170
+ var Trigger4 = (0, import_react46.forwardRef)(
7171
+ (_a, ref) => {
7172
+ var _b = _a, { asChild: _asChild } = _b, props = __objRest(_b, ["asChild"]);
7173
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes41.DropdownMenu.Trigger, __spreadValues({ ref }, props));
7174
+ }
7175
+ );
7176
+ Trigger4.displayName = "DropdownMenu.Trigger";
7177
+ var DropdownMenu = __spreadProps(__spreadValues({}, import_themes41.DropdownMenu), {
7178
+ Content: Content4,
7179
+ Trigger: Trigger4
7180
+ });
7181
+
7182
+ // src/molecules/autocomplete-textfield.tsx
7183
+ var import_jsx_runtime90 = require("react/jsx-runtime");
7184
+ var AutocompleteTextfield = (0, import_react47.forwardRef)(
7185
+ (_a, ref) => {
7186
+ var _b = _a, {
7187
+ options,
7188
+ value: externalValue,
7189
+ onChange,
7190
+ onSelect,
7191
+ placeholder,
7192
+ emptyMessage = "\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
7193
+ maxItems = 10,
7194
+ slotLeft,
7195
+ slotRight,
7196
+ error
7197
+ } = _b, rest = __objRest(_b, [
7198
+ "options",
7199
+ "value",
7200
+ "onChange",
7201
+ "onSelect",
7202
+ "placeholder",
7203
+ "emptyMessage",
7204
+ "maxItems",
7205
+ "slotLeft",
7206
+ "slotRight",
7207
+ "error"
7208
+ ]);
7209
+ const isControlled = externalValue !== void 0;
7210
+ const [internalValue, setInternalValue] = (0, import_react47.useState)("");
7211
+ const inputValue = isControlled ? externalValue : internalValue;
7212
+ const [open, setOpen] = (0, import_react47.useState)(false);
7213
+ const [highlightedIndex, setHighlightedIndex] = (0, import_react47.useState)(-1);
7214
+ const inputRef = (0, import_react47.useRef)(null);
7215
+ const listRef = (0, import_react47.useRef)(null);
7216
+ const listboxId = (0, import_react47.useId)();
7217
+ const justSelectedRef = (0, import_react47.useRef)(false);
7218
+ const filtered = options.filter(
7219
+ (opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())
7220
+ ).slice(0, maxItems);
7221
+ const handleInputChange = (0, import_react47.useCallback)(
7222
+ (e) => {
7223
+ const next = e.target.value;
7224
+ if (!isControlled) setInternalValue(next);
7225
+ onChange == null ? void 0 : onChange(next);
7226
+ const nextFiltered = options.filter((opt) => opt.label.toLowerCase().includes(next.toLowerCase())).slice(0, maxItems);
7227
+ setOpen(nextFiltered.length > 0 || emptyMessage !== null);
7228
+ setHighlightedIndex(-1);
7229
+ },
7230
+ [isControlled, onChange, options, maxItems, emptyMessage]
7231
+ );
7232
+ const handleSelect = (0, import_react47.useCallback)(
7233
+ (option) => {
7234
+ var _a2;
7235
+ if (!isControlled) setInternalValue(option.label);
7236
+ onChange == null ? void 0 : onChange(option.label);
7237
+ onSelect == null ? void 0 : onSelect(option);
7238
+ setOpen(false);
7239
+ setHighlightedIndex(-1);
7240
+ justSelectedRef.current = true;
7241
+ (_a2 = inputRef.current) == null ? void 0 : _a2.focus();
7242
+ },
7243
+ [isControlled, onChange, onSelect]
7244
+ );
7245
+ const handleFocus = (0, import_react47.useCallback)(() => {
7246
+ if (justSelectedRef.current) {
7247
+ justSelectedRef.current = false;
7248
+ return;
7249
+ }
7250
+ const currentFiltered = options.filter((opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())).slice(0, maxItems);
7251
+ setOpen(currentFiltered.length > 0 || emptyMessage !== null);
7252
+ }, [options, inputValue, maxItems, emptyMessage]);
7253
+ const handleBlur = (0, import_react47.useCallback)((e) => {
7254
+ var _a2, _b2;
7255
+ if (e.relatedTarget && ((_b2 = (_a2 = inputRef.current) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b2.contains(e.relatedTarget))) {
7256
+ return;
7257
+ }
7258
+ setOpen(false);
7259
+ setHighlightedIndex(-1);
7260
+ }, []);
7261
+ const handleKeyDown = (0, import_react47.useCallback)(
7262
+ (e) => {
7263
+ if (!open) {
7264
+ if (e.key === "ArrowDown" || e.key === "ArrowUp") {
7265
+ setOpen(true);
7266
+ setHighlightedIndex(0);
7267
+ e.preventDefault();
7268
+ }
7269
+ return;
7270
+ }
7271
+ switch (e.key) {
7272
+ case "ArrowDown":
7273
+ e.preventDefault();
7274
+ setHighlightedIndex(
7275
+ (prev) => prev < filtered.length - 1 ? prev + 1 : 0
7276
+ );
7277
+ break;
7278
+ case "ArrowUp":
7279
+ e.preventDefault();
7280
+ setHighlightedIndex(
7281
+ (prev) => prev > 0 ? prev - 1 : filtered.length - 1
7282
+ );
7283
+ break;
7284
+ case "Enter":
7285
+ e.preventDefault();
7286
+ if (highlightedIndex >= 0 && filtered[highlightedIndex]) {
7287
+ handleSelect(filtered[highlightedIndex]);
7288
+ }
7289
+ break;
7290
+ case "Escape":
7291
+ setOpen(false);
7292
+ setHighlightedIndex(-1);
7293
+ break;
7294
+ case "Tab":
7295
+ setOpen(false);
7296
+ setHighlightedIndex(-1);
7297
+ break;
7298
+ default:
7299
+ break;
7300
+ }
7301
+ },
7302
+ [open, filtered, highlightedIndex, handleSelect]
7303
+ );
7304
+ (0, import_react47.useEffect)(() => {
7305
+ if (!listRef.current || highlightedIndex < 0) return;
7306
+ const item = listRef.current.children[highlightedIndex];
7307
+ item.scrollIntoView({ block: "nearest" });
7308
+ }, [highlightedIndex]);
7309
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_themes42.Box, { position: "relative", style: { width: "100%" }, children: [
7310
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
7311
+ TextField.Root,
7312
+ __spreadProps(__spreadValues({
7313
+ "aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
7314
+ "aria-autocomplete": "list",
7315
+ "aria-controls": open ? listboxId : void 0,
7316
+ "aria-expanded": open,
7317
+ error,
7318
+ onBlur: handleBlur,
7319
+ onChange: handleInputChange,
7320
+ onFocus: handleFocus,
7321
+ onKeyDown: handleKeyDown,
7322
+ placeholder,
7323
+ ref: (node) => {
7324
+ inputRef.current = node;
7325
+ if (typeof ref === "function") {
7326
+ ref(node);
7327
+ } else if (ref) {
7328
+ ref.current = node;
7329
+ }
7330
+ },
7331
+ role: "combobox",
7332
+ style: { width: "100%" },
7333
+ value: inputValue
7334
+ }, rest), {
7335
+ children: [
7336
+ slotLeft && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
7337
+ slotRight && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TextField.Slot, { side: "right", children: slotRight })
7338
+ ]
7339
+ })
7340
+ ),
7341
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
7342
+ DropdownMenu.Root,
7343
+ {
7344
+ modal: false,
7345
+ onOpenChange: (nextOpen) => {
7346
+ if (!nextOpen && document.activeElement !== inputRef.current) {
7347
+ setOpen(false);
7348
+ setHighlightedIndex(-1);
7349
+ }
7350
+ },
7351
+ open,
7352
+ children: [
7353
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7354
+ "span",
7355
+ {
7356
+ "aria-hidden": "true",
7357
+ style: {
7358
+ bottom: 0,
7359
+ height: 0,
7360
+ left: 0,
7361
+ opacity: 0,
7362
+ pointerEvents: "none",
7363
+ position: "absolute",
7364
+ width: "100%"
7365
+ }
7366
+ }
7367
+ ) }),
7368
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7369
+ DropdownMenu.Content,
7370
+ {
7371
+ align: "start",
7372
+ onCloseAutoFocus: (e) => {
7373
+ e.preventDefault();
7374
+ },
7375
+ onOpenAutoFocus: (e) => {
7376
+ e.preventDefault();
7377
+ },
7378
+ sideOffset: 4,
7379
+ style: {
7380
+ maxHeight: 240,
7381
+ overflowY: "auto",
7382
+ padding: 0,
7383
+ width: "var(--radix-dropdown-menu-trigger-width)"
7384
+ },
7385
+ children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_themes42.Box, { px: "2", py: "2", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Typo, { color: "gray", children: emptyMessage }) }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7386
+ "ul",
7387
+ {
7388
+ id: listboxId,
7389
+ ref: listRef,
7390
+ role: "listbox",
7391
+ style: { listStyle: "none", margin: 0, padding: 0 },
7392
+ children: filtered.map((option, index) => {
7393
+ const isHighlighted = index === highlightedIndex;
7394
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7395
+ "li",
7396
+ {
7397
+ "aria-selected": isHighlighted,
7398
+ id: `${listboxId}-option-${index}`,
7399
+ onMouseEnter: () => {
7400
+ setHighlightedIndex(index);
7401
+ },
7402
+ onPointerDown: (e) => {
7403
+ e.preventDefault();
7404
+ handleSelect(option);
7405
+ },
7406
+ role: "option",
7407
+ style: {
7408
+ padding: "var(--spacing-4) var(--spacing-6)",
7409
+ cursor: "pointer",
7410
+ backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
7411
+ transition: "background-color 80ms"
7412
+ },
7413
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Typo, { variant: "body", children: option.label })
7414
+ },
7415
+ option.value
7416
+ );
7417
+ })
7418
+ }
7419
+ )
7420
+ }
7421
+ )
7422
+ ]
7423
+ }
7424
+ )
7425
+ ] });
7426
+ }
7427
+ );
7428
+ AutocompleteTextfield.displayName = "AutocompleteTextfield";
7134
7429
  // Annotate the CommonJS export names for ESM import in node:
7135
7430
  0 && (module.exports = {
7431
+ AutocompleteTextfield,
7136
7432
  CurriculumBody,
7137
7433
  CurriculumProvider,
7138
7434
  CurriculumSidebar,