@tipp/ui 2.3.33 → 2.3.35

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 (195) 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 +72 -71
  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 +27 -27
  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 +27 -27
  10. package/dist/app/platform/curriculum-card.js +2 -2
  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 +55 -54
  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 +55 -54
  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 +56 -55
  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 +27 -27
  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 +55 -54
  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 +27 -27
  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 +56 -55
  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 +57 -56
  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 +27 -27
  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 +29 -29
  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 +27 -27
  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 +27 -27
  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 +26 -26
  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 +26 -26
  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 +26 -26
  56. package/dist/atoms/dropdown-menu.cjs +9 -1
  57. package/dist/atoms/dropdown-menu.cjs.map +1 -1
  58. package/dist/atoms/dropdown-menu.d.cts +4 -1
  59. package/dist/atoms/dropdown-menu.d.ts +4 -1
  60. package/dist/atoms/dropdown-menu.js +1 -1
  61. package/dist/atoms/index.cjs +29 -11
  62. package/dist/atoms/index.cjs.map +1 -1
  63. package/dist/atoms/index.js +61 -61
  64. package/dist/atoms/pagination.cjs +14 -4
  65. package/dist/atoms/pagination.cjs.map +1 -1
  66. package/dist/atoms/pagination.js +1 -1
  67. package/dist/{chunk-HLL4QJJY.js → chunk-2TNZVHXZ.js} +5 -5
  68. package/dist/{chunk-GXWE3QNN.js → chunk-2U7C7J5P.js} +4 -4
  69. package/dist/{chunk-ZVSATS4O.js → chunk-5OLJJUMC.js} +7 -7
  70. package/dist/{chunk-SSSGPTRM.js → chunk-5TZNUXBT.js} +4 -4
  71. package/dist/{chunk-GXPEADVY.js → chunk-5WX7CODZ.js} +7 -7
  72. package/dist/{chunk-KD6EXWP7.js → chunk-62HSZXVT.js} +4 -4
  73. package/dist/{chunk-RFXVHZAN.js → chunk-64XYTE54.js} +4 -4
  74. package/dist/{chunk-TTVJOFG5.js → chunk-6MQMVYEP.js} +3 -3
  75. package/dist/{chunk-3WNHPKHP.js → chunk-7R5KG7SJ.js} +7 -7
  76. package/dist/{chunk-6UXCNYVO.js → chunk-7R65MUL6.js} +4 -4
  77. package/dist/{chunk-MIATMZDP.js → chunk-AA6OYHCE.js} +4 -4
  78. package/dist/{chunk-CI2XFT7Y.js → chunk-AYWPBD4T.js} +4 -4
  79. package/dist/{chunk-4QHXYLE4.js → chunk-CIQ7ELE6.js} +4 -4
  80. package/dist/{chunk-SNPAB3HJ.js → chunk-DWBYAHIR.js} +4 -4
  81. package/dist/{chunk-WOAZK56Z.js → chunk-ESM3HX57.js} +5 -5
  82. package/dist/{chunk-SACH3XVV.js → chunk-F7JSPN5P.js} +4 -4
  83. package/dist/{chunk-MFIOT62L.js → chunk-F7LTJOOC.js} +22 -6
  84. package/dist/chunk-F7LTJOOC.js.map +1 -0
  85. package/dist/{chunk-KCAOUZCT.js → chunk-GTO7GG2K.js} +2 -2
  86. package/dist/{chunk-MPZJH3PI.js → chunk-HTNDVNLQ.js} +4 -4
  87. package/dist/{chunk-PWTMDEL2.js → chunk-LATTGN7W.js} +7 -7
  88. package/dist/chunk-LSDD4TAP.js +276 -0
  89. package/dist/chunk-LSDD4TAP.js.map +1 -0
  90. package/dist/{chunk-JFJ3N4V5.js → chunk-NTJLECYY.js} +4 -4
  91. package/dist/{chunk-GXG26SHU.js → chunk-OILH5J7Q.js} +4 -4
  92. package/dist/{chunk-PD7RTFGB.js → chunk-P5GENHKO.js} +10 -10
  93. package/dist/{chunk-TB3ZF5TJ.js → chunk-PGUDVR3V.js} +2 -2
  94. package/dist/{chunk-BFRNEBJN.js → chunk-QEDJOAP6.js} +4 -4
  95. package/dist/{chunk-3Z2XZ4ZG.js → chunk-QKZTZUWP.js} +4 -4
  96. package/dist/{chunk-3JRHAKLV.js → chunk-RM5CQ77X.js} +7 -7
  97. package/dist/{chunk-D4U2MCJG.js → chunk-SMLC2O3V.js} +10 -2
  98. package/dist/chunk-SMLC2O3V.js.map +1 -0
  99. package/dist/{chunk-R3ZYNS4D.js → chunk-SRZK4OC5.js} +2 -2
  100. package/dist/chunk-SYMOHU2B.js +1 -0
  101. package/dist/{chunk-XXMZLXDE.js → chunk-TCFXG4AX.js} +7 -7
  102. package/dist/{chunk-I5RQ5T4B.js → chunk-U3FBMFRL.js} +10 -10
  103. package/dist/{chunk-5J4YHHVX.js → chunk-V3F7KAR6.js} +19 -5
  104. package/dist/chunk-V3F7KAR6.js.map +1 -0
  105. package/dist/{chunk-3DEAIJBF.js → chunk-WH6QD4SY.js} +10 -10
  106. package/dist/{chunk-BKYPABII.js → chunk-YPEB36YK.js} +5 -5
  107. package/dist/{chunk-JRSZNGFD.js → chunk-ZA4NYPSW.js} +5 -5
  108. package/dist/context/index.js +1 -1
  109. package/dist/index.cjs +576 -296
  110. package/dist/index.cjs.map +1 -1
  111. package/dist/index.d.cts +1 -0
  112. package/dist/index.d.ts +1 -0
  113. package/dist/index.js +131 -127
  114. package/dist/molecules/autocomplete-textfield.cjs +417 -0
  115. package/dist/molecules/autocomplete-textfield.cjs.map +1 -0
  116. package/dist/molecules/autocomplete-textfield.d.cts +26 -0
  117. package/dist/molecules/autocomplete-textfield.d.ts +26 -0
  118. package/dist/molecules/autocomplete-textfield.js +12 -0
  119. package/dist/molecules/autocomplete-textfield.js.map +1 -0
  120. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +8 -8
  121. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +6 -6
  122. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +2 -2
  123. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +2 -2
  124. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +1 -1
  125. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +3 -3
  126. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +11 -11
  127. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +2 -2
  128. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +12 -12
  129. package/dist/molecules/curriculumV2/CurriculumContents/index.js +14 -14
  130. package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +1 -1
  131. package/dist/molecules/curriculumV2/index.js +15 -15
  132. package/dist/molecules/description-json-render.js +2 -2
  133. package/dist/molecules/dynamic-field.js +3 -3
  134. package/dist/molecules/dynamic-form-editor-field-editor-panel.js +3 -3
  135. package/dist/molecules/dynamic-form-editor-field-list-panel.js +2 -2
  136. package/dist/molecules/dynamic-form-editor-issues-panel.js +2 -2
  137. package/dist/molecules/dynamic-form-editor-preview-panel.js +6 -6
  138. package/dist/molecules/dynamic-form-editor.js +11 -11
  139. package/dist/molecules/dynamic-form.js +4 -4
  140. package/dist/molecules/expand-table/index.cjs +26 -6
  141. package/dist/molecules/expand-table/index.cjs.map +1 -1
  142. package/dist/molecules/expand-table/index.d.cts +2 -0
  143. package/dist/molecules/expand-table/index.d.ts +2 -0
  144. package/dist/molecules/expand-table/index.js +3 -3
  145. package/dist/molecules/index.cjs +312 -6
  146. package/dist/molecules/index.cjs.map +1 -1
  147. package/dist/molecules/index.d.cts +2 -0
  148. package/dist/molecules/index.d.ts +2 -0
  149. package/dist/molecules/index.js +52 -47
  150. package/dist/molecules/learning-post.js +2 -2
  151. package/dist/molecules/stepper.js +2 -2
  152. package/dist/molecules/tag-selector.js +3 -3
  153. package/package.json +1 -1
  154. package/src/atoms/dropdown-menu.tsx +13 -0
  155. package/src/atoms/pagination.tsx +23 -5
  156. package/src/molecules/autocomplete-textfield.tsx +302 -0
  157. package/src/molecules/expand-table/index.tsx +16 -3
  158. package/src/molecules/index.ts +2 -1
  159. package/dist/chunk-5J4YHHVX.js.map +0 -1
  160. package/dist/chunk-D4U2MCJG.js.map +0 -1
  161. package/dist/chunk-MFIOT62L.js.map +0 -1
  162. package/dist/chunk-YWYYPYBK.js +0 -1
  163. /package/dist/{chunk-HLL4QJJY.js.map → chunk-2TNZVHXZ.js.map} +0 -0
  164. /package/dist/{chunk-GXWE3QNN.js.map → chunk-2U7C7J5P.js.map} +0 -0
  165. /package/dist/{chunk-ZVSATS4O.js.map → chunk-5OLJJUMC.js.map} +0 -0
  166. /package/dist/{chunk-SSSGPTRM.js.map → chunk-5TZNUXBT.js.map} +0 -0
  167. /package/dist/{chunk-GXPEADVY.js.map → chunk-5WX7CODZ.js.map} +0 -0
  168. /package/dist/{chunk-KD6EXWP7.js.map → chunk-62HSZXVT.js.map} +0 -0
  169. /package/dist/{chunk-RFXVHZAN.js.map → chunk-64XYTE54.js.map} +0 -0
  170. /package/dist/{chunk-TTVJOFG5.js.map → chunk-6MQMVYEP.js.map} +0 -0
  171. /package/dist/{chunk-3WNHPKHP.js.map → chunk-7R5KG7SJ.js.map} +0 -0
  172. /package/dist/{chunk-6UXCNYVO.js.map → chunk-7R65MUL6.js.map} +0 -0
  173. /package/dist/{chunk-MIATMZDP.js.map → chunk-AA6OYHCE.js.map} +0 -0
  174. /package/dist/{chunk-CI2XFT7Y.js.map → chunk-AYWPBD4T.js.map} +0 -0
  175. /package/dist/{chunk-4QHXYLE4.js.map → chunk-CIQ7ELE6.js.map} +0 -0
  176. /package/dist/{chunk-SNPAB3HJ.js.map → chunk-DWBYAHIR.js.map} +0 -0
  177. /package/dist/{chunk-WOAZK56Z.js.map → chunk-ESM3HX57.js.map} +0 -0
  178. /package/dist/{chunk-SACH3XVV.js.map → chunk-F7JSPN5P.js.map} +0 -0
  179. /package/dist/{chunk-KCAOUZCT.js.map → chunk-GTO7GG2K.js.map} +0 -0
  180. /package/dist/{chunk-MPZJH3PI.js.map → chunk-HTNDVNLQ.js.map} +0 -0
  181. /package/dist/{chunk-PWTMDEL2.js.map → chunk-LATTGN7W.js.map} +0 -0
  182. /package/dist/{chunk-JFJ3N4V5.js.map → chunk-NTJLECYY.js.map} +0 -0
  183. /package/dist/{chunk-GXG26SHU.js.map → chunk-OILH5J7Q.js.map} +0 -0
  184. /package/dist/{chunk-PD7RTFGB.js.map → chunk-P5GENHKO.js.map} +0 -0
  185. /package/dist/{chunk-TB3ZF5TJ.js.map → chunk-PGUDVR3V.js.map} +0 -0
  186. /package/dist/{chunk-BFRNEBJN.js.map → chunk-QEDJOAP6.js.map} +0 -0
  187. /package/dist/{chunk-3Z2XZ4ZG.js.map → chunk-QKZTZUWP.js.map} +0 -0
  188. /package/dist/{chunk-3JRHAKLV.js.map → chunk-RM5CQ77X.js.map} +0 -0
  189. /package/dist/{chunk-R3ZYNS4D.js.map → chunk-SRZK4OC5.js.map} +0 -0
  190. /package/dist/{chunk-YWYYPYBK.js.map → chunk-SYMOHU2B.js.map} +0 -0
  191. /package/dist/{chunk-XXMZLXDE.js.map → chunk-TCFXG4AX.js.map} +0 -0
  192. /package/dist/{chunk-I5RQ5T4B.js.map → chunk-U3FBMFRL.js.map} +0 -0
  193. /package/dist/{chunk-3DEAIJBF.js.map → chunk-WH6QD4SY.js.map} +0 -0
  194. /package/dist/{chunk-BKYPABII.js.map → chunk-YPEB36YK.js.map} +0 -0
  195. /package/dist/{chunk-JRSZNGFD.js.map → chunk-ZA4NYPSW.js.map} +0 -0
package/dist/index.cjs CHANGED
@@ -87,6 +87,7 @@ __export(index_exports, {
87
87
  ArrowTopRightIcon: () => import_react_icons2.ArrowTopRightIcon,
88
88
  AspectRatio: () => import_themes2.AspectRatio,
89
89
  AutoSizingInput: () => AutoSizingInput,
90
+ AutocompleteTextfield: () => AutocompleteTextfield,
90
91
  Avatar: () => Avatar,
91
92
  BackpackIcon: () => import_react_icons2.BackpackIcon,
92
93
  Badge: () => Badge,
@@ -268,7 +269,7 @@ __export(index_exports, {
268
269
  TrashIcon: () => import_react_icons2.TrashIcon,
269
270
  TriangleArrowDownIcon: () => TriangleArrowDownIcon,
270
271
  TriangleArrowUpIcon: () => TriangleArrowUpIcon,
271
- Trigger: () => Trigger5,
272
+ Trigger: () => Trigger6,
272
273
  Typo: () => Typo,
273
274
  UIStateContext: () => UIStateContext,
274
275
  UIStateProvider: () => UIStateProvider,
@@ -292,7 +293,7 @@ __export(index_exports, {
292
293
  useDynamicForm: () => useDynamicForm,
293
294
  useList: () => useList,
294
295
  usePortalContainer: () => usePortalContainer,
295
- useThemeContext: () => import_themes58.useThemeContext,
296
+ useThemeContext: () => import_themes59.useThemeContext,
296
297
  useUIState: () => useUIState
297
298
  });
298
299
  module.exports = __toCommonJS(index_exports);
@@ -840,8 +841,16 @@ var Content3 = (0, import_react11.forwardRef)((props, ref) => {
840
841
  );
841
842
  });
842
843
  Content3.displayName = "DropdownMenu.Content";
844
+ var Trigger3 = (0, import_react11.forwardRef)(
845
+ (_a, ref) => {
846
+ var _b = _a, { asChild: _asChild } = _b, props = __objRest(_b, ["asChild"]);
847
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes20.DropdownMenu.Trigger, __spreadValues({ ref }, props));
848
+ }
849
+ );
850
+ Trigger3.displayName = "DropdownMenu.Trigger";
843
851
  var DropdownMenu = __spreadProps(__spreadValues({}, import_themes20.DropdownMenu), {
844
- Content: Content3
852
+ Content: Content3,
853
+ Trigger: Trigger3
845
854
  });
846
855
 
847
856
  // src/atoms/em.tsx
@@ -937,7 +946,7 @@ var Content4 = (0, import_react13.forwardRef)((props, ref) => {
937
946
  );
938
947
  });
939
948
  Content4.displayName = "Select.Content";
940
- var Trigger3 = (0, import_react13.forwardRef)(
949
+ var Trigger4 = (0, import_react13.forwardRef)(
941
950
  (props, ref) => {
942
951
  const _a = props, { className } = _a, rest = __objRest(_a, ["className"]);
943
952
  const { error } = (0, import_react13.useContext)(SelectContext);
@@ -948,7 +957,7 @@ var Trigger3 = (0, import_react13.forwardRef)(
948
957
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Trigger, __spreadProps(__spreadValues({}, rest), { className: cls, ref }));
949
958
  }
950
959
  );
951
- Trigger3.displayName = "Select.Trigger";
960
+ Trigger4.displayName = "Select.Trigger";
952
961
  function Root4(props) {
953
962
  const _a = props, { error } = _a, rest = __objRest(_a, ["error"]);
954
963
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectContext.Provider, { value: { error }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes38.Select.Root, __spreadValues({}, rest)) });
@@ -956,7 +965,7 @@ function Root4(props) {
956
965
  Root4.displayName = "Select.Root";
957
966
  var Select = __spreadProps(__spreadValues({}, import_themes38.Select), {
958
967
  Root: Root4,
959
- Trigger: Trigger3,
968
+ Trigger: Trigger4,
960
969
  Content: Content4
961
970
  });
962
971
 
@@ -1693,14 +1702,24 @@ function Pagination(props) {
1693
1702
  }
1694
1703
  return Array.from({ length: end - start + 1 }, (_, i) => i + start);
1695
1704
  }, [count, page, siblingCount]);
1705
+ const onChangeRef = (0, import_react20.useRef)(onChange);
1706
+ (0, import_react20.useEffect)(() => {
1707
+ onChangeRef.current = onChange;
1708
+ });
1709
+ const isFirstRender = (0, import_react20.useRef)(true);
1696
1710
  (0, import_react20.useEffect)(() => {
1697
- onChange == null ? void 0 : onChange(page);
1698
- }, [onChange, page]);
1711
+ var _a;
1712
+ if (isFirstRender.current) {
1713
+ isFirstRender.current = false;
1714
+ return;
1715
+ }
1716
+ (_a = onChangeRef.current) == null ? void 0 : _a.call(onChangeRef, page);
1717
+ }, [page]);
1699
1718
  (0, import_react20.useEffect)(() => {
1700
- if (props.page) {
1719
+ if (props.page && props.page !== page) {
1701
1720
  setPage(props.page);
1702
1721
  }
1703
- }, [props.page]);
1722
+ }, [props.page, page]);
1704
1723
  const prev = (0, import_react20.useMemo)(() => {
1705
1724
  const p = page - 1;
1706
1725
  return p < 1 ? void 0 : p;
@@ -1933,12 +1952,12 @@ function Content6(props) {
1933
1952
  )
1934
1953
  ] }) });
1935
1954
  }
1936
- function Trigger5(props) {
1955
+ function Trigger6(props) {
1937
1956
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
1938
1957
  }
1939
1958
  var Drawer = {
1940
1959
  Root: Dialog2.Root,
1941
- Trigger: Trigger5,
1960
+ Trigger: Trigger6,
1942
1961
  Content: Content6,
1943
1962
  Close: Dialog2.Close,
1944
1963
  Title: Dialog2.Title,
@@ -2385,6 +2404,7 @@ function ExpandTable(props) {
2385
2404
  pageIndex = 0,
2386
2405
  pageSize = 10,
2387
2406
  siblingCount = 2,
2407
+ onPageChange,
2388
2408
  getRowStyle,
2389
2409
  getCellStyle,
2390
2410
  variant = "card"
@@ -2394,6 +2414,13 @@ function ExpandTable(props) {
2394
2414
  pageIndex: pageIndex || 0,
2395
2415
  pageSize: pageSize || 9999
2396
2416
  });
2417
+ (0, import_react26.useEffect)(() => {
2418
+ setPagination((prev) => {
2419
+ const next = pageIndex;
2420
+ if (prev.pageIndex === next) return prev;
2421
+ return __spreadProps(__spreadValues({}, prev), { pageIndex: next });
2422
+ });
2423
+ }, [pageIndex]);
2397
2424
  const [sorting, setSorting] = (0, import_react26.useState)([]);
2398
2425
  const { getRowModel, getHeaderGroups, setPageIndex } = (0, import_react_table2.useReactTable)({
2399
2426
  data: data || [],
@@ -2418,9 +2445,11 @@ function ExpandTable(props) {
2418
2445
  const rowModels = getRowModel();
2419
2446
  const onChangePagination = (0, import_react26.useCallback)(
2420
2447
  (page) => {
2421
- setPageIndex(page - 1);
2448
+ const idx = page - 1;
2449
+ setPageIndex(idx);
2450
+ onPageChange == null ? void 0 : onPageChange(idx);
2422
2451
  },
2423
- [setPageIndex]
2452
+ [setPageIndex, onPageChange]
2424
2453
  );
2425
2454
  const helpCompRender = (0, import_react26.useCallback)(
2426
2455
  (rowLength) => {
@@ -7695,29 +7724,279 @@ function DynamicFormEditor(props) {
7695
7724
  ] });
7696
7725
  }
7697
7726
 
7698
- // src/theme/use-theme.tsx
7727
+ // src/molecules/autocomplete-textfield.tsx
7728
+ var import_react50 = require("react");
7699
7729
  var import_themes58 = require("@radix-ui/themes");
7730
+ var import_jsx_runtime98 = require("react/jsx-runtime");
7731
+ var AutocompleteTextfield = (0, import_react50.forwardRef)(
7732
+ (_a, ref) => {
7733
+ var _b = _a, {
7734
+ options,
7735
+ value: externalValue,
7736
+ onChange,
7737
+ onSelect,
7738
+ placeholder,
7739
+ emptyMessage = "\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
7740
+ maxItems = 10,
7741
+ slotLeft,
7742
+ slotRight,
7743
+ error
7744
+ } = _b, rest = __objRest(_b, [
7745
+ "options",
7746
+ "value",
7747
+ "onChange",
7748
+ "onSelect",
7749
+ "placeholder",
7750
+ "emptyMessage",
7751
+ "maxItems",
7752
+ "slotLeft",
7753
+ "slotRight",
7754
+ "error"
7755
+ ]);
7756
+ const isControlled = externalValue !== void 0;
7757
+ const [internalValue, setInternalValue] = (0, import_react50.useState)("");
7758
+ const inputValue = isControlled ? externalValue : internalValue;
7759
+ const [open, setOpen] = (0, import_react50.useState)(false);
7760
+ const [highlightedIndex, setHighlightedIndex] = (0, import_react50.useState)(-1);
7761
+ const inputRef = (0, import_react50.useRef)(null);
7762
+ const listRef = (0, import_react50.useRef)(null);
7763
+ const listboxId = (0, import_react50.useId)();
7764
+ const justSelectedRef = (0, import_react50.useRef)(false);
7765
+ const filtered = options.filter(
7766
+ (opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())
7767
+ ).slice(0, maxItems);
7768
+ const handleInputChange = (0, import_react50.useCallback)(
7769
+ (e) => {
7770
+ const next = e.target.value;
7771
+ if (!isControlled) setInternalValue(next);
7772
+ onChange == null ? void 0 : onChange(next);
7773
+ const nextFiltered = options.filter((opt) => opt.label.toLowerCase().includes(next.toLowerCase())).slice(0, maxItems);
7774
+ setOpen(nextFiltered.length > 0 || emptyMessage !== null);
7775
+ setHighlightedIndex(-1);
7776
+ },
7777
+ [isControlled, onChange, options, maxItems, emptyMessage]
7778
+ );
7779
+ const handleSelect = (0, import_react50.useCallback)(
7780
+ (option) => {
7781
+ var _a2;
7782
+ if (!isControlled) setInternalValue(option.label);
7783
+ onChange == null ? void 0 : onChange(option.label);
7784
+ onSelect == null ? void 0 : onSelect(option);
7785
+ setOpen(false);
7786
+ setHighlightedIndex(-1);
7787
+ justSelectedRef.current = true;
7788
+ (_a2 = inputRef.current) == null ? void 0 : _a2.focus();
7789
+ },
7790
+ [isControlled, onChange, onSelect]
7791
+ );
7792
+ const handleFocus = (0, import_react50.useCallback)(() => {
7793
+ if (justSelectedRef.current) {
7794
+ justSelectedRef.current = false;
7795
+ return;
7796
+ }
7797
+ const currentFiltered = options.filter((opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())).slice(0, maxItems);
7798
+ setOpen(currentFiltered.length > 0 || emptyMessage !== null);
7799
+ }, [options, inputValue, maxItems, emptyMessage]);
7800
+ const handleBlur = (0, import_react50.useCallback)((e) => {
7801
+ var _a2, _b2;
7802
+ if (e.relatedTarget && ((_b2 = (_a2 = inputRef.current) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b2.contains(e.relatedTarget))) {
7803
+ return;
7804
+ }
7805
+ setOpen(false);
7806
+ setHighlightedIndex(-1);
7807
+ }, []);
7808
+ const handleKeyDown = (0, import_react50.useCallback)(
7809
+ (e) => {
7810
+ if (!open) {
7811
+ if (e.key === "ArrowDown" || e.key === "ArrowUp") {
7812
+ setOpen(true);
7813
+ setHighlightedIndex(0);
7814
+ e.preventDefault();
7815
+ }
7816
+ return;
7817
+ }
7818
+ switch (e.key) {
7819
+ case "ArrowDown":
7820
+ e.preventDefault();
7821
+ setHighlightedIndex(
7822
+ (prev) => prev < filtered.length - 1 ? prev + 1 : 0
7823
+ );
7824
+ break;
7825
+ case "ArrowUp":
7826
+ e.preventDefault();
7827
+ setHighlightedIndex(
7828
+ (prev) => prev > 0 ? prev - 1 : filtered.length - 1
7829
+ );
7830
+ break;
7831
+ case "Enter":
7832
+ e.preventDefault();
7833
+ if (highlightedIndex >= 0 && filtered[highlightedIndex]) {
7834
+ handleSelect(filtered[highlightedIndex]);
7835
+ }
7836
+ break;
7837
+ case "Escape":
7838
+ setOpen(false);
7839
+ setHighlightedIndex(-1);
7840
+ break;
7841
+ case "Tab":
7842
+ setOpen(false);
7843
+ setHighlightedIndex(-1);
7844
+ break;
7845
+ default:
7846
+ break;
7847
+ }
7848
+ },
7849
+ [open, filtered, highlightedIndex, handleSelect]
7850
+ );
7851
+ (0, import_react50.useEffect)(() => {
7852
+ if (!listRef.current || highlightedIndex < 0) return;
7853
+ const item = listRef.current.children[highlightedIndex];
7854
+ item.scrollIntoView({ block: "nearest" });
7855
+ }, [highlightedIndex]);
7856
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes58.Box, { position: "relative", style: { width: "100%" }, children: [
7857
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
7858
+ TextField.Root,
7859
+ __spreadProps(__spreadValues({
7860
+ "aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
7861
+ "aria-autocomplete": "list",
7862
+ "aria-controls": open ? listboxId : void 0,
7863
+ "aria-expanded": open,
7864
+ error,
7865
+ onBlur: handleBlur,
7866
+ onChange: handleInputChange,
7867
+ onFocus: handleFocus,
7868
+ onKeyDown: handleKeyDown,
7869
+ placeholder,
7870
+ ref: (node) => {
7871
+ inputRef.current = node;
7872
+ if (typeof ref === "function") {
7873
+ ref(node);
7874
+ } else if (ref) {
7875
+ ref.current = node;
7876
+ }
7877
+ },
7878
+ role: "combobox",
7879
+ style: { width: "100%" },
7880
+ value: inputValue
7881
+ }, rest), {
7882
+ children: [
7883
+ slotLeft && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
7884
+ slotRight && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(TextField.Slot, { side: "right", children: slotRight })
7885
+ ]
7886
+ })
7887
+ ),
7888
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
7889
+ DropdownMenu.Root,
7890
+ {
7891
+ modal: false,
7892
+ onOpenChange: (nextOpen) => {
7893
+ if (!nextOpen && document.activeElement !== inputRef.current) {
7894
+ setOpen(false);
7895
+ setHighlightedIndex(-1);
7896
+ }
7897
+ },
7898
+ open,
7899
+ children: [
7900
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7901
+ "span",
7902
+ {
7903
+ "aria-hidden": "true",
7904
+ style: {
7905
+ bottom: 0,
7906
+ height: 0,
7907
+ left: 0,
7908
+ opacity: 0,
7909
+ pointerEvents: "none",
7910
+ position: "absolute",
7911
+ width: "100%"
7912
+ }
7913
+ }
7914
+ ) }),
7915
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7916
+ DropdownMenu.Content,
7917
+ {
7918
+ align: "start",
7919
+ onCloseAutoFocus: (e) => {
7920
+ e.preventDefault();
7921
+ },
7922
+ onOpenAutoFocus: (e) => {
7923
+ e.preventDefault();
7924
+ },
7925
+ sideOffset: 4,
7926
+ style: {
7927
+ maxHeight: 240,
7928
+ overflowY: "auto",
7929
+ padding: 0,
7930
+ width: "var(--radix-dropdown-menu-trigger-width)"
7931
+ },
7932
+ children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes58.Box, { px: "2", py: "2", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { color: "gray", children: emptyMessage }) }) : /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7933
+ "ul",
7934
+ {
7935
+ id: listboxId,
7936
+ ref: listRef,
7937
+ role: "listbox",
7938
+ style: { listStyle: "none", margin: 0, padding: 0 },
7939
+ children: filtered.map((option, index) => {
7940
+ const isHighlighted = index === highlightedIndex;
7941
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7942
+ "li",
7943
+ {
7944
+ "aria-selected": isHighlighted,
7945
+ id: `${listboxId}-option-${index}`,
7946
+ onMouseEnter: () => {
7947
+ setHighlightedIndex(index);
7948
+ },
7949
+ onPointerDown: (e) => {
7950
+ e.preventDefault();
7951
+ handleSelect(option);
7952
+ },
7953
+ role: "option",
7954
+ style: {
7955
+ padding: "var(--spacing-4) var(--spacing-6)",
7956
+ cursor: "pointer",
7957
+ backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
7958
+ transition: "background-color 80ms"
7959
+ },
7960
+ children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { variant: "body", children: option.label })
7961
+ },
7962
+ option.value
7963
+ );
7964
+ })
7965
+ }
7966
+ )
7967
+ }
7968
+ )
7969
+ ]
7970
+ }
7971
+ )
7972
+ ] });
7973
+ }
7974
+ );
7975
+ AutocompleteTextfield.displayName = "AutocompleteTextfield";
7976
+
7977
+ // src/theme/use-theme.tsx
7978
+ var import_themes59 = require("@radix-ui/themes");
7700
7979
 
7701
7980
  // src/ui-props/index.ts
7702
7981
  var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
7703
7982
 
7704
7983
  // src/charts/horizontal-bar-chart.tsx
7705
- var import_jsx_runtime98 = require("react/jsx-runtime");
7984
+ var import_jsx_runtime99 = require("react/jsx-runtime");
7706
7985
  function HorizontalBarChart(props) {
7707
7986
  const { total, value, backgroundColor, barColor, height } = props;
7708
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7987
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7709
7988
  "div",
7710
7989
  {
7711
7990
  className: "tipp_horizontal-bar-chart bar-wrapper",
7712
7991
  style: { height, backgroundColor },
7713
- children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7992
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7714
7993
  "div",
7715
7994
  {
7716
7995
  style: {
7717
7996
  width: `${Math.round(value / total * 100)}%`,
7718
7997
  height: "100%"
7719
7998
  },
7720
- children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
7999
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
7721
8000
  }
7722
8001
  )
7723
8002
  }
@@ -7873,23 +8152,23 @@ var EchartDefaultProps = {
7873
8152
  };
7874
8153
 
7875
8154
  // src/app/platform/userInfos/coaching-customer-info/small.tsx
7876
- var import_jsx_runtime99 = require("react/jsx-runtime");
8155
+ var import_jsx_runtime100 = require("react/jsx-runtime");
7877
8156
  function CoachingCustomerInfoSmall({
7878
8157
  customer,
7879
8158
  children,
7880
8159
  badge
7881
8160
  }) {
7882
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
8161
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
7883
8162
  import_themes22.Flex,
7884
8163
  {
7885
8164
  direction: { initial: "column", xs: "row" },
7886
8165
  gap: "3",
7887
8166
  justify: "between",
7888
8167
  children: [
7889
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
7890
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
7891
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
7892
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
8168
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
8169
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
8170
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
8171
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
7893
8172
  ] }) }),
7894
8173
  children
7895
8174
  ]
@@ -7900,7 +8179,7 @@ function CoachingCustomerInfoSmall({
7900
8179
  // src/app/platform/userInfos/utils.tsx
7901
8180
  var import_date_fns3 = require("date-fns");
7902
8181
  var import_react_icons9 = require("@radix-ui/react-icons");
7903
- var import_jsx_runtime100 = require("react/jsx-runtime");
8182
+ var import_jsx_runtime101 = require("react/jsx-runtime");
7904
8183
  var infoList = [
7905
8184
  { label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
7906
8185
  { label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
@@ -7960,21 +8239,21 @@ var sessionList = [
7960
8239
  var renderItem = (args) => {
7961
8240
  const { info, data, onClickCopy } = args;
7962
8241
  const value = info.getValue(data);
7963
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
8242
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_jsx_runtime101.Fragment, { children: [
7964
8243
  info.render ? info.render(value) : value || "-",
7965
- info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(CopyButton, { onClickCopy, value }) : null
8244
+ info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(CopyButton, { onClickCopy, value }) : null
7966
8245
  ] });
7967
8246
  };
7968
8247
  var renderDataListItem = (args) => {
7969
8248
  const { info, data, onClickCopy } = args;
7970
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes15.DataList.Item, { children: [
7971
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes15.DataList.Label, { children: info.label }),
7972
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
8249
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes15.DataList.Item, { children: [
8250
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes15.DataList.Label, { children: info.label }),
8251
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
7973
8252
  ] }, info.label);
7974
8253
  };
7975
8254
  function CopyButton(props) {
7976
8255
  const { value, onClickCopy } = props;
7977
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
8256
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
7978
8257
  Button,
7979
8258
  {
7980
8259
  color: "gray",
@@ -7983,13 +8262,13 @@ function CopyButton(props) {
7983
8262
  },
7984
8263
  style: { marginLeft: "0", marginTop: "0" },
7985
8264
  variant: "transparent",
7986
- children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_icons9.CopyIcon, {})
8265
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_icons9.CopyIcon, {})
7987
8266
  }
7988
8267
  );
7989
8268
  }
7990
8269
 
7991
8270
  // src/app/platform/userInfos/coaching-customer-info/medium.tsx
7992
- var import_jsx_runtime101 = require("react/jsx-runtime");
8271
+ var import_jsx_runtime102 = require("react/jsx-runtime");
7993
8272
  function CoachingCustomerInfoMedium({
7994
8273
  customer,
7995
8274
  session,
@@ -7997,28 +8276,28 @@ function CoachingCustomerInfoMedium({
7997
8276
  badge,
7998
8277
  onClickCopy
7999
8278
  }) {
8000
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8001
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes6.Box, { children: [
8002
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
8003
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
8279
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8280
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes6.Box, { children: [
8281
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
8282
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
8004
8283
  badge
8005
8284
  ] }),
8006
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
8285
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
8007
8286
  ] }),
8008
8287
  children,
8009
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
8288
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
8010
8289
  (el) => renderDataListItem({
8011
8290
  info: el,
8012
8291
  data: session,
8013
8292
  onClickCopy
8014
8293
  })
8015
8294
  ) }) }),
8016
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
8017
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
8018
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes39.Separator, { size: "4" })
8295
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
8296
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
8297
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes39.Separator, { size: "4" })
8019
8298
  ] }),
8020
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
8021
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Typo, { children: renderItem({
8299
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
8300
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Typo, { children: renderItem({
8022
8301
  info: el,
8023
8302
  data: customer,
8024
8303
  onClickCopy
@@ -8028,7 +8307,7 @@ function CoachingCustomerInfoMedium({
8028
8307
  }
8029
8308
 
8030
8309
  // src/app/platform/userInfos/coaching-customer-info/large.tsx
8031
- var import_jsx_runtime102 = require("react/jsx-runtime");
8310
+ var import_jsx_runtime103 = require("react/jsx-runtime");
8032
8311
  function CoachingCustomerInfoLarge({
8033
8312
  customer,
8034
8313
  session,
@@ -8036,24 +8315,24 @@ function CoachingCustomerInfoLarge({
8036
8315
  badge,
8037
8316
  onClickCopy
8038
8317
  }) {
8039
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8040
- /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes6.Box, { children: [
8041
- /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
8042
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
8318
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8319
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes6.Box, { children: [
8320
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
8321
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
8043
8322
  badge
8044
8323
  ] }),
8045
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
8324
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
8046
8325
  ] }),
8047
8326
  children,
8048
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
8327
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
8049
8328
  (el) => renderDataListItem({
8050
8329
  info: el,
8051
8330
  data: session,
8052
8331
  onClickCopy
8053
8332
  })
8054
8333
  ) }) }),
8055
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes39.Separator, { size: "4" }),
8056
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes15.DataList.Root, { children: infoList.map(
8334
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes39.Separator, { size: "4" }),
8335
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes15.DataList.Root, { children: infoList.map(
8057
8336
  (info) => renderDataListItem({
8058
8337
  info,
8059
8338
  data: customer,
@@ -8064,19 +8343,19 @@ function CoachingCustomerInfoLarge({
8064
8343
  }
8065
8344
 
8066
8345
  // src/app/platform/userInfos/coaching-customer-info/index.tsx
8067
- var import_jsx_runtime103 = require("react/jsx-runtime");
8346
+ var import_jsx_runtime104 = require("react/jsx-runtime");
8068
8347
  function CoachingCustomerInfo(props) {
8069
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
8070
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
8071
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
8072
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
8348
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_jsx_runtime104.Fragment, { children: [
8349
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
8350
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
8351
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
8073
8352
  ] });
8074
8353
  }
8075
8354
 
8076
8355
  // src/app/platform/goal-manage-card-read.tsx
8077
- var import_react50 = require("react");
8356
+ var import_react51 = require("react");
8078
8357
  var import_date_fns4 = require("date-fns");
8079
- var import_jsx_runtime104 = require("react/jsx-runtime");
8358
+ var import_jsx_runtime105 = require("react/jsx-runtime");
8080
8359
  function GoalManageCardRead(props) {
8081
8360
  const {
8082
8361
  title,
@@ -8090,12 +8369,12 @@ function GoalManageCardRead(props) {
8090
8369
  onClickIncomplete,
8091
8370
  onClickComplete
8092
8371
  } = props;
8093
- const [open, setOpen] = (0, import_react50.useState)(Boolean(defaultOpen));
8094
- const onClickOpen = (0, import_react50.useCallback)(() => {
8372
+ const [open, setOpen] = (0, import_react51.useState)(Boolean(defaultOpen));
8373
+ const onClickOpen = (0, import_react51.useCallback)(() => {
8095
8374
  setOpen((p) => !p);
8096
8375
  }, []);
8097
- const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_icons2.ChevronDownIcon, {});
8098
- const badgeMeta = (0, import_react50.useMemo)(() => {
8376
+ const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.ChevronDownIcon, {});
8377
+ const badgeMeta = (0, import_react51.useMemo)(() => {
8099
8378
  if (!completed && dueDate) {
8100
8379
  if (dueDate >= (0, import_date_fns4.startOfDay)(/* @__PURE__ */ new Date()))
8101
8380
  return {
@@ -8106,41 +8385,41 @@ function GoalManageCardRead(props) {
8106
8385
  }
8107
8386
  return null;
8108
8387
  }, [completed, dueDate]);
8109
- const renderSubTitle = (0, import_react50.useCallback)((subTitle) => {
8110
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
8388
+ const renderSubTitle = (0, import_react51.useCallback)((subTitle) => {
8389
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
8111
8390
  }, []);
8112
- const renderSubContent = (0, import_react50.useCallback)((content) => {
8113
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Typo, { as: "p", color: "gray", children: content });
8391
+ const renderSubContent = (0, import_react51.useCallback)((content) => {
8392
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { as: "p", color: "gray", children: content });
8114
8393
  }, []);
8115
- const renderCompleteButton = (0, import_react50.useCallback)(() => {
8394
+ const renderCompleteButton = (0, import_react51.useCallback)(() => {
8116
8395
  if (completed) {
8117
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
8396
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
8118
8397
  }
8119
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes29.Popover.Root, { children: [
8120
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Button, { size: "small", children: [
8121
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_icons2.RocketIcon, {}),
8398
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes29.Popover.Root, { children: [
8399
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Button, { size: "small", children: [
8400
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.RocketIcon, {}),
8122
8401
  "\uB2EC\uC131\uD558\uAE30"
8123
8402
  ] }) }),
8124
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes29.Popover.Content, { children: [
8125
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
8126
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
8127
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
8128
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
8403
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes29.Popover.Content, { children: [
8404
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
8405
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
8406
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
8407
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
8129
8408
  ] })
8130
8409
  ] })
8131
8410
  ] });
8132
8411
  }, [completed, onClickIncomplete, onClickComplete]);
8133
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
8134
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
8135
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Heading2, { variant: "heading4", children: title }),
8136
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
8137
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
8138
- badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
8139
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns4.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
8412
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
8413
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
8414
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Heading2, { variant: "heading4", children: title }),
8415
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
8416
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
8417
+ badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
8418
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns4.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
8140
8419
  ] }),
8141
8420
  renderCompleteButton()
8142
8421
  ] }),
8143
- open ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
8422
+ open ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
8144
8423
  import_themes39.Separator,
8145
8424
  {
8146
8425
  mb: "4",
@@ -8149,37 +8428,37 @@ function GoalManageCardRead(props) {
8149
8428
  style: { gridColumnStart: "span 2" }
8150
8429
  }
8151
8430
  ) : null,
8152
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Collapse, { open, children: [
8153
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8154
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes6.Box, { children: [
8431
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Collapse, { open, children: [
8432
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8433
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes6.Box, { children: [
8155
8434
  renderSubTitle(
8156
8435
  "\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
8157
8436
  ),
8158
8437
  renderSubContent(expectedEffect)
8159
8438
  ] }),
8160
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes6.Box, { children: [
8439
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes6.Box, { children: [
8161
8440
  renderSubTitle(
8162
8441
  "\uBAA9\uD45C\uB97C \uC774\uB8E8\uAE30\uAE4C\uC9C0 \uBC29\uD574\uAC00 \uB420 \uC218 \uC788\uB294 \uC694\uC18C\uB4E4\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4"
8163
8442
  ),
8164
8443
  renderSubContent(huddle)
8165
8444
  ] })
8166
8445
  ] }),
8167
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
8168
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes29.Popover.Root, { children: [
8169
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
8170
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_icons2.TrashIcon, {}),
8446
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
8447
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes29.Popover.Root, { children: [
8448
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
8449
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.TrashIcon, {}),
8171
8450
  "\uC0AD\uC81C\uD558\uAE30"
8172
8451
  ] }) }),
8173
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes29.Popover.Content, { children: [
8174
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
8175
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
8176
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
8177
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
8452
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes29.Popover.Content, { children: [
8453
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
8454
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
8455
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
8456
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
8178
8457
  ] })
8179
8458
  ] })
8180
8459
  ] }),
8181
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
8182
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_icons2.Pencil1Icon, {}),
8460
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
8461
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.Pencil1Icon, {}),
8183
8462
  "\uC218\uC815\uD558\uAE30"
8184
8463
  ] })
8185
8464
  ] })
@@ -8188,9 +8467,9 @@ function GoalManageCardRead(props) {
8188
8467
  }
8189
8468
 
8190
8469
  // src/app/platform/goal-manage-card-edit.tsx
8191
- var import_react51 = require("react");
8470
+ var import_react52 = require("react");
8192
8471
  var import_date_fns5 = require("date-fns");
8193
- var import_jsx_runtime105 = require("react/jsx-runtime");
8472
+ var import_jsx_runtime106 = require("react/jsx-runtime");
8194
8473
  var initialValues = {
8195
8474
  goal: "",
8196
8475
  effect: "",
@@ -8201,8 +8480,8 @@ var dummyFn = () => {
8201
8480
  };
8202
8481
  function GoalManageCardEdit(props) {
8203
8482
  const { defaultValues, errors } = props;
8204
- const [values, setValues] = (0, import_react51.useState)(defaultValues || initialValues);
8205
- const onChange = (0, import_react51.useCallback)(
8483
+ const [values, setValues] = (0, import_react52.useState)(defaultValues || initialValues);
8484
+ const onChange = (0, import_react52.useCallback)(
8206
8485
  (v) => {
8207
8486
  var _a;
8208
8487
  setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
@@ -8210,20 +8489,20 @@ function GoalManageCardEdit(props) {
8210
8489
  },
8211
8490
  [props]
8212
8491
  );
8213
- const onClickInit = (0, import_react51.useCallback)(() => {
8492
+ const onClickInit = (0, import_react52.useCallback)(() => {
8214
8493
  var _a;
8215
8494
  setValues(initialValues);
8216
8495
  (_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
8217
8496
  }, [defaultValues, props]);
8218
- const onClickSubmit = (0, import_react51.useCallback)(() => {
8497
+ const onClickSubmit = (0, import_react52.useCallback)(() => {
8219
8498
  var _a;
8220
8499
  (_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
8221
8500
  }, [props, values]);
8222
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
8223
- /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8224
- /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "title", children: [
8225
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
8226
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
8501
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
8502
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8503
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "title", children: [
8504
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
8505
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8227
8506
  TextField.Root,
8228
8507
  {
8229
8508
  error: Boolean(errors == null ? void 0 : errors.goal),
@@ -8234,11 +8513,11 @@ function GoalManageCardEdit(props) {
8234
8513
  value: values.goal
8235
8514
  }
8236
8515
  ),
8237
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
8516
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
8238
8517
  ] }),
8239
- /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "effect", children: [
8240
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
8241
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
8518
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "effect", children: [
8519
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
8520
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8242
8521
  TextArea,
8243
8522
  {
8244
8523
  error: Boolean(errors == null ? void 0 : errors.effect),
@@ -8250,11 +8529,11 @@ function GoalManageCardEdit(props) {
8250
8529
  value: values.effect
8251
8530
  }
8252
8531
  ),
8253
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
8532
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
8254
8533
  ] }),
8255
- /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "huddle", children: [
8256
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
8257
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
8534
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "huddle", children: [
8535
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
8536
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8258
8537
  TextArea,
8259
8538
  {
8260
8539
  error: Boolean(errors == null ? void 0 : errors.huddle),
@@ -8268,11 +8547,11 @@ function GoalManageCardEdit(props) {
8268
8547
  value: values.huddle
8269
8548
  }
8270
8549
  ),
8271
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
8550
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
8272
8551
  ] }),
8273
- /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Form.Field, { name: "dueDate", children: [
8274
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
8275
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
8552
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "dueDate", children: [
8553
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
8554
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8276
8555
  DatePickerButton,
8277
8556
  {
8278
8557
  format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
@@ -8283,11 +8562,11 @@ function GoalManageCardEdit(props) {
8283
8562
  selected: values.dueDate
8284
8563
  }
8285
8564
  ),
8286
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
8565
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
8287
8566
  ] })
8288
8567
  ] }),
8289
- /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
8290
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
8568
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
8569
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8291
8570
  Button,
8292
8571
  {
8293
8572
  color: "gray",
@@ -8298,18 +8577,18 @@ function GoalManageCardEdit(props) {
8298
8577
  children: "\uCD08\uAE30\uD654\uD558\uAE30"
8299
8578
  }
8300
8579
  ),
8301
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
8580
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
8302
8581
  ] })
8303
8582
  ] }) });
8304
8583
  }
8305
8584
 
8306
8585
  // src/app/platform/session-card.tsx
8307
- var import_react54 = require("react");
8586
+ var import_react55 = require("react");
8308
8587
  var import_date_fns6 = require("date-fns");
8309
8588
 
8310
8589
  // src/app/platform/edit-coaching-time.tsx
8311
- var import_react52 = require("react");
8312
- var import_jsx_runtime106 = require("react/jsx-runtime");
8590
+ var import_react53 = require("react");
8591
+ var import_jsx_runtime107 = require("react/jsx-runtime");
8313
8592
  var getValueFromDefaultValue = (args) => {
8314
8593
  return {
8315
8594
  startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
@@ -8329,14 +8608,14 @@ var getDateFromValue = (date, time) => {
8329
8608
  };
8330
8609
  function EditCoachingTime(props) {
8331
8610
  const { defaultEndAt, defaultStartAt, onClickCancel } = props;
8332
- const [values, setValues] = (0, import_react52.useState)(() => {
8611
+ const [values, setValues] = (0, import_react53.useState)(() => {
8333
8612
  return getValueFromDefaultValue({
8334
8613
  startAt: defaultStartAt,
8335
8614
  endAt: defaultEndAt
8336
8615
  });
8337
8616
  });
8338
- const [timeError, setTimeError] = (0, import_react52.useState)("");
8339
- const checkTimeError = (0, import_react52.useCallback)(
8617
+ const [timeError, setTimeError] = (0, import_react53.useState)("");
8618
+ const checkTimeError = (0, import_react53.useCallback)(
8340
8619
  (startTime, endTime) => {
8341
8620
  const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
8342
8621
  if (error) {
@@ -8347,7 +8626,7 @@ function EditCoachingTime(props) {
8347
8626
  },
8348
8627
  []
8349
8628
  );
8350
- const onChangeStartTime = (0, import_react52.useCallback)(
8629
+ const onChangeStartTime = (0, import_react53.useCallback)(
8351
8630
  (v) => {
8352
8631
  checkTimeError(v, values.endTime);
8353
8632
  setValues((prev) => __spreadProps(__spreadValues({}, prev), {
@@ -8356,7 +8635,7 @@ function EditCoachingTime(props) {
8356
8635
  },
8357
8636
  [checkTimeError, values.endTime]
8358
8637
  );
8359
- const onChangeEndTime = (0, import_react52.useCallback)(
8638
+ const onChangeEndTime = (0, import_react53.useCallback)(
8360
8639
  (v) => {
8361
8640
  checkTimeError(values.startTime, v);
8362
8641
  setValues((prev) => __spreadProps(__spreadValues({}, prev), {
@@ -8365,12 +8644,12 @@ function EditCoachingTime(props) {
8365
8644
  },
8366
8645
  [checkTimeError, values.startTime]
8367
8646
  );
8368
- const onChangeDate = (0, import_react52.useCallback)((date) => {
8647
+ const onChangeDate = (0, import_react53.useCallback)((date) => {
8369
8648
  date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
8370
8649
  date
8371
8650
  }));
8372
8651
  }, []);
8373
- const onClickSave = (0, import_react52.useCallback)(() => {
8652
+ const onClickSave = (0, import_react53.useCallback)(() => {
8374
8653
  if (checkTimeError(values.startTime, values.endTime)) {
8375
8654
  const startAt = getDateFromValue(values.date, values.startTime);
8376
8655
  const endAt = getDateFromValue(values.date, values.endTime);
@@ -8379,10 +8658,10 @@ function EditCoachingTime(props) {
8379
8658
  toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
8380
8659
  }
8381
8660
  }, [checkTimeError, props, values.date, values.endTime, values.startTime]);
8382
- return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Root, { children: [
8383
- /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Form.Field, { name: "date", children: [
8384
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
8385
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8661
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(Form.Root, { children: [
8662
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(Form.Field, { name: "date", children: [
8663
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
8664
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
8386
8665
  DatePickerButton,
8387
8666
  {
8388
8667
  maxDate: /* @__PURE__ */ new Date(),
@@ -8392,7 +8671,7 @@ function EditCoachingTime(props) {
8392
8671
  }
8393
8672
  )
8394
8673
  ] }),
8395
- /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
8674
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
8396
8675
  import_themes23.Grid,
8397
8676
  {
8398
8677
  align: "center",
@@ -8407,10 +8686,10 @@ function EditCoachingTime(props) {
8407
8686
  mt: "5",
8408
8687
  width: "100%",
8409
8688
  children: [
8410
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
8411
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", {}),
8412
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
8413
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8689
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
8690
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", {}),
8691
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
8692
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
8414
8693
  TimeSelect,
8415
8694
  {
8416
8695
  onValueChange: onChangeStartTime,
@@ -8418,8 +8697,8 @@ function EditCoachingTime(props) {
8418
8697
  value: values.startTime
8419
8698
  }
8420
8699
  ),
8421
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes39.Separator, {}) }),
8422
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
8700
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes39.Separator, {}) }),
8701
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
8423
8702
  TimeSelect,
8424
8703
  {
8425
8704
  onValueChange: onChangeEndTime,
@@ -8427,36 +8706,36 @@ function EditCoachingTime(props) {
8427
8706
  value: values.endTime
8428
8707
  }
8429
8708
  ),
8430
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
8709
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
8431
8710
  ]
8432
8711
  }
8433
8712
  ),
8434
- /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
8435
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
8436
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
8713
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
8714
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
8715
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
8437
8716
  ] })
8438
8717
  ] }) });
8439
8718
  }
8440
8719
 
8441
8720
  // src/app/platform/edit-service-type.tsx
8442
- var import_react53 = require("react");
8721
+ var import_react54 = require("react");
8443
8722
 
8444
8723
  // src/app/platform/on-offline-radio-card.tsx
8445
8724
  var import_react_icons10 = require("@radix-ui/react-icons");
8446
- var import_jsx_runtime107 = require("react/jsx-runtime");
8725
+ var import_jsx_runtime108 = require("react/jsx-runtime");
8447
8726
  var SERVICE_TYPE = {
8448
8727
  onlineCoaching: "onlineCoaching",
8449
8728
  offlineCoaching: "offlineCoaching"
8450
8729
  };
8451
8730
  var breakpoint = "sm";
8452
8731
  function HideSmallBox(props) {
8453
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
8732
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
8454
8733
  }
8455
8734
  function OnOfflineRadioCard(props) {
8456
8735
  const Wrapper = props.response ? HideSmallBox : (p) => p.children;
8457
8736
  const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
8458
8737
  const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
8459
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
8738
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
8460
8739
  RadioButtonCard.Root,
8461
8740
  __spreadProps(__spreadValues({
8462
8741
  RadioWrapper: Wrapper,
@@ -8465,13 +8744,13 @@ function OnOfflineRadioCard(props) {
8465
8744
  justify
8466
8745
  }, props), {
8467
8746
  children: [
8468
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
8469
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react_icons10.GlobeIcon, {}) }),
8470
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
8747
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
8748
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_react_icons10.GlobeIcon, {}) }),
8749
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
8471
8750
  ] }) }),
8472
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
8473
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react_icons10.BackpackIcon, {}) }),
8474
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
8751
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
8752
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_react_icons10.BackpackIcon, {}) }),
8753
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
8475
8754
  ] }) })
8476
8755
  ]
8477
8756
  })
@@ -8479,18 +8758,18 @@ function OnOfflineRadioCard(props) {
8479
8758
  }
8480
8759
 
8481
8760
  // src/app/platform/edit-service-type.tsx
8482
- var import_jsx_runtime108 = require("react/jsx-runtime");
8761
+ var import_jsx_runtime109 = require("react/jsx-runtime");
8483
8762
  function EditServiceType(props) {
8484
8763
  const { defaultServiceType, onClickCancel } = props;
8485
- const [sessionType, setSessionType] = (0, import_react53.useState)(
8764
+ const [sessionType, setSessionType] = (0, import_react54.useState)(
8486
8765
  defaultServiceType
8487
8766
  );
8488
- const onClickSave = (0, import_react53.useCallback)(() => {
8767
+ const onClickSave = (0, import_react54.useCallback)(() => {
8489
8768
  var _a;
8490
8769
  (_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
8491
8770
  }, [props, sessionType]);
8492
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes6.Box, { children: [
8493
- /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
8771
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes6.Box, { children: [
8772
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
8494
8773
  Typo,
8495
8774
  {
8496
8775
  as: "p",
@@ -8500,16 +8779,16 @@ function EditServiceType(props) {
8500
8779
  children: "\uC138\uC158 \uC720\uD615\uC5D0 \uB530\uB77C \uCC45\uC815\uB418\uB294 \uCF54\uCE6D \uAE08\uC561\uC774 \uB2EC\uB77C\uC9C0\uBBC0\uB85C, \uC815\uD655\uD558\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694"
8501
8780
  }
8502
8781
  ),
8503
- /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
8504
- /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
8505
- /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
8506
- /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
8782
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
8783
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
8784
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
8785
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
8507
8786
  ] })
8508
8787
  ] });
8509
8788
  }
8510
8789
 
8511
8790
  // src/app/platform/session-card.tsx
8512
- var import_jsx_runtime109 = require("react/jsx-runtime");
8791
+ var import_jsx_runtime110 = require("react/jsx-runtime");
8513
8792
  var preventDefault4 = (e) => {
8514
8793
  e.preventDefault();
8515
8794
  };
@@ -8539,33 +8818,33 @@ function SessionCard(props) {
8539
8818
  "endAt",
8540
8819
  "sessionType"
8541
8820
  ]);
8542
- const renderEditButton = (0, import_react54.useCallback)(() => {
8543
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_react_icons2.Pencil1Icon, {}) });
8821
+ const renderEditButton = (0, import_react55.useCallback)(() => {
8822
+ return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_react_icons2.Pencil1Icon, {}) });
8544
8823
  }, []);
8545
- const sessionTimeStr = (0, import_react54.useMemo)(() => {
8824
+ const sessionTimeStr = (0, import_react55.useMemo)(() => {
8546
8825
  if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
8547
8826
  return `${(0, import_date_fns6.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns6.format)(endAt, "HH\uC2DC mm\uBD84")}`;
8548
8827
  }, [startAt, endAt]);
8549
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
8550
- /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
8551
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
8828
+ return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
8829
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
8830
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
8552
8831
  TitleExtra,
8553
- error ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
8832
+ error ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
8554
8833
  ] }),
8555
- /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Root, { children: [
8556
- /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Item, { children: [
8557
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
8558
- /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Value, { children: [
8834
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Root, { children: [
8835
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Item, { children: [
8836
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
8837
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Value, { children: [
8559
8838
  sessionTimeStr,
8560
- editable ? /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(Dialog.Root, { children: [
8561
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Dialog.Trigger, { children: renderEditButton() }),
8562
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
8839
+ editable ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(Dialog.Root, { children: [
8840
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Dialog.Trigger, { children: renderEditButton() }),
8841
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
8563
8842
  Dialog.Content,
8564
8843
  {
8565
8844
  onOpenAutoFocus: preventDefault4,
8566
8845
  style: { overflow: "visible" },
8567
8846
  title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
8568
- children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
8847
+ children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
8569
8848
  EditCoachingTime,
8570
8849
  {
8571
8850
  defaultEndAt: endAt,
@@ -8578,18 +8857,18 @@ function SessionCard(props) {
8578
8857
  ] }) : null
8579
8858
  ] })
8580
8859
  ] }),
8581
- /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
8582
- /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Item, { children: [
8583
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
8584
- /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_themes15.DataList.Value, { children: [
8860
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
8861
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Item, { children: [
8862
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
8863
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes15.DataList.Value, { children: [
8585
8864
  sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
8586
- editable ? /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(Dialog.Root, { children: [
8587
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Dialog.Trigger, { children: renderEditButton() }),
8588
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
8865
+ editable ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(Dialog.Root, { children: [
8866
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Dialog.Trigger, { children: renderEditButton() }),
8867
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
8589
8868
  Dialog.Content,
8590
8869
  {
8591
8870
  title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
8592
- children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
8871
+ children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
8593
8872
  EditServiceType,
8594
8873
  {
8595
8874
  defaultServiceType: sessionType,
@@ -8601,33 +8880,33 @@ function SessionCard(props) {
8601
8880
  ] }) : null
8602
8881
  ] })
8603
8882
  ] }),
8604
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
8883
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
8605
8884
  ] })
8606
8885
  ] })
8607
8886
  ] }) }));
8608
8887
  }
8609
8888
 
8610
8889
  // src/app/platform/coach-question-list.tsx
8611
- var import_jsx_runtime110 = require("react/jsx-runtime");
8890
+ var import_jsx_runtime111 = require("react/jsx-runtime");
8612
8891
  function QuestionItem({ question, answer }) {
8613
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_themes6.Box, { children: [
8614
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
8615
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
8892
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes6.Box, { children: [
8893
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
8894
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
8616
8895
  ] }, question);
8617
8896
  }
8618
8897
  function CoachQuestionList({
8619
8898
  questions
8620
8899
  }) {
8621
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
8622
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(QuestionItem, __spreadValues({}, question), question.question);
8900
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
8901
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(QuestionItem, __spreadValues({}, question), question.question);
8623
8902
  }) });
8624
8903
  }
8625
8904
 
8626
8905
  // src/app/platform/reservation-card.tsx
8627
- var import_react55 = require("react");
8906
+ var import_react56 = require("react");
8628
8907
  var import_date_fns7 = require("date-fns");
8629
8908
  var import_locale2 = require("date-fns/locale");
8630
- var import_jsx_runtime111 = require("react/jsx-runtime");
8909
+ var import_jsx_runtime112 = require("react/jsx-runtime");
8631
8910
  function ReservationCard(props) {
8632
8911
  const {
8633
8912
  sessionNumber,
@@ -8642,29 +8921,29 @@ function ReservationCard(props) {
8642
8921
  onClickCancel,
8643
8922
  onClickCompleteSession
8644
8923
  } = props;
8645
- const [editValues, setEditValues] = (0, import_react55.useState)({
8924
+ const [editValues, setEditValues] = (0, import_react56.useState)({
8646
8925
  date: props.defaultTime,
8647
8926
  type: props.defaultType
8648
8927
  });
8649
8928
  const date = readonly ? defaultTime : editValues.date;
8650
8929
  const type = readonly ? defaultType : editValues.type;
8651
- const onClickSave = (0, import_react55.useCallback)(() => {
8930
+ const onClickSave = (0, import_react56.useCallback)(() => {
8652
8931
  var _a;
8653
8932
  (_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
8654
8933
  }, [editValues, props]);
8655
- const onClickReset = (0, import_react55.useCallback)(() => {
8934
+ const onClickReset = (0, import_react56.useCallback)(() => {
8656
8935
  setEditValues({
8657
8936
  date: defaultTime,
8658
8937
  type: defaultType
8659
8938
  });
8660
8939
  }, [defaultTime, defaultType]);
8661
- const ActionButtons = (0, import_react55.useMemo)(() => {
8940
+ const ActionButtons = (0, import_react56.useMemo)(() => {
8662
8941
  if (readonly) {
8663
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
8942
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
8664
8943
  }
8665
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_react_icons2.Cross1Icon, {}) });
8944
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_react_icons2.Cross1Icon, {}) });
8666
8945
  }, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
8667
- const onChangeDate = (0, import_react55.useCallback)((newDate) => {
8946
+ const onChangeDate = (0, import_react56.useCallback)((newDate) => {
8668
8947
  if (!newDate) return;
8669
8948
  setEditValues((prev) => {
8670
8949
  return __spreadProps(__spreadValues({}, prev), {
@@ -8672,17 +8951,17 @@ function ReservationCard(props) {
8672
8951
  });
8673
8952
  });
8674
8953
  }, []);
8675
- const onChangeType = (0, import_react55.useCallback)((newType) => {
8954
+ const onChangeType = (0, import_react56.useCallback)((newType) => {
8676
8955
  setEditValues((prev) => {
8677
8956
  return __spreadProps(__spreadValues({}, prev), {
8678
8957
  type: newType
8679
8958
  });
8680
8959
  });
8681
8960
  }, []);
8682
- const formatDate = (0, import_react55.useCallback)((v) => {
8961
+ const formatDate = (0, import_react56.useCallback)((v) => {
8683
8962
  return (0, import_date_fns7.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C(EEE) aa h:mm", { locale: import_locale2.ko });
8684
8963
  }, []);
8685
- (0, import_react55.useEffect)(() => {
8964
+ (0, import_react56.useEffect)(() => {
8686
8965
  if (!minTime || !editValues.date || readonly) return;
8687
8966
  if (editValues.date < minTime) {
8688
8967
  toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
@@ -8693,7 +8972,7 @@ function ReservationCard(props) {
8693
8972
  });
8694
8973
  }
8695
8974
  }, [editValues, minTime, readonly]);
8696
- (0, import_react55.useEffect)(() => {
8975
+ (0, import_react56.useEffect)(() => {
8697
8976
  if (!maxTime || !editValues.date || readonly) return;
8698
8977
  if (editValues.date > maxTime) {
8699
8978
  toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
@@ -8704,39 +8983,39 @@ function ReservationCard(props) {
8704
8983
  });
8705
8984
  }
8706
8985
  }, [editValues, maxTime, readonly]);
8707
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
8986
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
8708
8987
  Card,
8709
8988
  {
8710
8989
  error: Boolean(error),
8711
8990
  size: "3",
8712
8991
  style: { overflow: "visible", contain: "initial" },
8713
8992
  children: [
8714
- /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
8715
- /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
8993
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
8994
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
8716
8995
  import_themes23.Grid,
8717
8996
  {
8718
8997
  align: "center",
8719
8998
  columns: { initial: "1", xs: "auto 1fr" },
8720
8999
  gapY: "2",
8721
9000
  children: [
8722
- /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { align: "center", children: [
8723
- /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(Heading2, { variant: "heading4", children: [
9001
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { align: "center", children: [
9002
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(Heading2, { variant: "heading4", children: [
8724
9003
  customerName || "-",
8725
9004
  "\uB2D8 ",
8726
9005
  sessionNumber || "-",
8727
9006
  "\uD68C\uCC28 \uC138\uC158"
8728
9007
  ] }),
8729
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
9008
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
8730
9009
  ] }),
8731
- error ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
9010
+ error ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
8732
9011
  ]
8733
9012
  }
8734
9013
  ),
8735
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes22.Flex, { children: ActionButtons })
9014
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes22.Flex, { children: ActionButtons })
8736
9015
  ] }),
8737
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8738
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
8739
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
9016
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
9017
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
9018
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
8740
9019
  DatePickerButton,
8741
9020
  {
8742
9021
  disabled: readonly,
@@ -8750,8 +9029,8 @@ function ReservationCard(props) {
8750
9029
  size: "large"
8751
9030
  }
8752
9031
  ),
8753
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
8754
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
9032
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
9033
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
8755
9034
  OnOfflineRadioCard,
8756
9035
  {
8757
9036
  disabled: readonly,
@@ -8760,8 +9039,8 @@ function ReservationCard(props) {
8760
9039
  value: type
8761
9040
  }
8762
9041
  ),
8763
- readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
8764
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
9042
+ readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
9043
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
8765
9044
  Button,
8766
9045
  {
8767
9046
  color: "gray",
@@ -8771,10 +9050,10 @@ function ReservationCard(props) {
8771
9050
  children: "\uCD08\uAE30\uD654\uD558\uAE30"
8772
9051
  }
8773
9052
  ),
8774
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
9053
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
8775
9054
  ] })
8776
9055
  ] }) }),
8777
- readonly ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
9056
+ readonly ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
8778
9057
  import_themes6.Box,
8779
9058
  {
8780
9059
  mt: "5",
@@ -8782,14 +9061,14 @@ function ReservationCard(props) {
8782
9061
  py: "4",
8783
9062
  style: { backgroundColor: "var(--accent-a3)" },
8784
9063
  width: "100%",
8785
- children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
8786
- /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(Typo, { children: [
9064
+ children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
9065
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(Typo, { children: [
8787
9066
  sessionNumber || "-",
8788
9067
  "\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
8789
9068
  ] }),
8790
- /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
9069
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
8791
9070
  "\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
8792
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_react_icons2.ArrowRightIcon, {})
9071
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_react_icons2.ArrowRightIcon, {})
8793
9072
  ] })
8794
9073
  ] })
8795
9074
  }
@@ -8800,22 +9079,22 @@ function ReservationCard(props) {
8800
9079
  }
8801
9080
 
8802
9081
  // src/app/platform/session-review-simple-read.tsx
8803
- var import_react56 = require("react");
8804
- var import_jsx_runtime112 = require("react/jsx-runtime");
9082
+ var import_react57 = require("react");
9083
+ var import_jsx_runtime113 = require("react/jsx-runtime");
8805
9084
  function SubTitleWrapper({
8806
9085
  children,
8807
9086
  title
8808
9087
  }) {
8809
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
8810
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
8811
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes6.Box, { children })
9088
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
9089
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
9090
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes6.Box, { children })
8812
9091
  ] });
8813
9092
  }
8814
9093
  function SessionReviewSimpleRead({
8815
9094
  helpfulness,
8816
9095
  review
8817
9096
  }) {
8818
- const helpfulnessMeta = (0, import_react56.useMemo)(() => {
9097
+ const helpfulnessMeta = (0, import_react57.useMemo)(() => {
8819
9098
  if (helpfulness) {
8820
9099
  return {
8821
9100
  text: "\uB124",
@@ -8833,22 +9112,22 @@ function SessionReviewSimpleRead({
8833
9112
  color: "error"
8834
9113
  };
8835
9114
  }, [helpfulness]);
8836
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
8837
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(SubTitleWrapper, { title: "\uC774\uBC88 \uCF54\uCE6D\uC774 \uBAA9\uD45C \uB2EC\uC131\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uB098\uC694?", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
8838
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
9115
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
9116
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SubTitleWrapper, { title: "\uC774\uBC88 \uCF54\uCE6D\uC774 \uBAA9\uD45C \uB2EC\uC131\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uB098\uC694?", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
9117
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
8839
9118
  ] }) });
8840
9119
  }
8841
9120
 
8842
9121
  // src/app/platform/userInfos/session-user-info-detail.tsx
8843
- var import_jsx_runtime113 = require("react/jsx-runtime");
9122
+ var import_jsx_runtime114 = require("react/jsx-runtime");
8844
9123
  function SectionWrapper({
8845
9124
  title,
8846
9125
  children
8847
9126
  }) {
8848
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes6.Box, { children: [
8849
- /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
8850
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Heading2, { variant: "heading5", children: title }),
8851
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes39.Separator, { size: "4" })
9127
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes6.Box, { children: [
9128
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
9129
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Heading2, { variant: "heading5", children: title }),
9130
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes39.Separator, { size: "4" })
8852
9131
  ] }),
8853
9132
  children
8854
9133
  ] });
@@ -8858,22 +9137,22 @@ function SessionUserInfoDetail({
8858
9137
  session,
8859
9138
  onClickCopy
8860
9139
  }) {
8861
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
8862
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
9140
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
9141
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
8863
9142
  (info) => renderDataListItem({ info, data: session, onClickCopy })
8864
9143
  ) }) }),
8865
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_themes15.DataList.Root, { children: infoList.map(
9144
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_themes15.DataList.Root, { children: infoList.map(
8866
9145
  (info) => renderDataListItem({ info, data: customer, onClickCopy })
8867
9146
  ) }) })
8868
9147
  ] });
8869
9148
  }
8870
9149
 
8871
9150
  // src/app/platform/report-card.tsx
8872
- var import_react57 = require("react");
8873
- var import_jsx_runtime114 = require("react/jsx-runtime");
9151
+ var import_react58 = require("react");
9152
+ var import_jsx_runtime115 = require("react/jsx-runtime");
8874
9153
  function ReportCard(props) {
8875
9154
  const { title, file, status, subtitle } = props;
8876
- const onClickDownload = (0, import_react57.useCallback)(() => {
9155
+ const onClickDownload = (0, import_react58.useCallback)(() => {
8877
9156
  if (!file) return;
8878
9157
  const { url, fileName } = file;
8879
9158
  const link = document.createElement("a");
@@ -8885,24 +9164,24 @@ function ReportCard(props) {
8885
9164
  document.body.removeChild(link);
8886
9165
  }, [file]);
8887
9166
  if (status) {
8888
- return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
8889
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Heading2, { variant: "heading4", children: title }),
9167
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
9168
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { variant: "heading4", children: title }),
8890
9169
  status
8891
9170
  ] }) });
8892
9171
  }
8893
- return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
9172
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
8894
9173
  import_themes22.Flex,
8895
9174
  {
8896
9175
  direction: { initial: "column", xs: "row" },
8897
9176
  gapY: "2",
8898
9177
  justify: "between",
8899
9178
  children: [
8900
- /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes6.Box, { children: [
8901
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Heading2, { variant: "heading4", children: title }),
8902
- subtitle ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Typo, { color: "gray", children: subtitle }) : null
9179
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes6.Box, { children: [
9180
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { variant: "heading4", children: title }),
9181
+ subtitle ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Typo, { color: "gray", children: subtitle }) : null
8903
9182
  ] }),
8904
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
8905
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_react_icons2.DownloadIcon, {}),
9183
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
9184
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_icons2.DownloadIcon, {}),
8906
9185
  file == null ? void 0 : file.buttonName
8907
9186
  ] }) }, file == null ? void 0 : file.url)
8908
9187
  ]
@@ -8911,9 +9190,9 @@ function ReportCard(props) {
8911
9190
  }
8912
9191
 
8913
9192
  // src/app/platform/contents-card.tsx
8914
- var import_react58 = require("react");
8915
- var import_jsx_runtime115 = require("react/jsx-runtime");
8916
- var ContentsCard = (0, import_react58.forwardRef)(
9193
+ var import_react59 = require("react");
9194
+ var import_jsx_runtime116 = require("react/jsx-runtime");
9195
+ var ContentsCard = (0, import_react59.forwardRef)(
8917
9196
  ({
8918
9197
  title,
8919
9198
  description,
@@ -8923,7 +9202,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
8923
9202
  onClickCard,
8924
9203
  isLoading = false
8925
9204
  }, ref) => {
8926
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
9205
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
8927
9206
  Card,
8928
9207
  {
8929
9208
  onClick: onClickCard,
@@ -8936,7 +9215,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
8936
9215
  maxHeight: "450px"
8937
9216
  },
8938
9217
  children: [
8939
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
9218
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
8940
9219
  import_themes6.Box,
8941
9220
  {
8942
9221
  height: "210px",
@@ -8948,12 +9227,12 @@ var ContentsCard = (0, import_react58.forwardRef)(
8948
9227
  width: "100%"
8949
9228
  }
8950
9229
  ) }) }),
8951
- /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
8952
- /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_themes6.Box, { children: [
8953
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
8954
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
9230
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
9231
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes6.Box, { children: [
9232
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
9233
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
8955
9234
  ] }),
8956
- /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
9235
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
8957
9236
  import_themes23.Grid,
8958
9237
  {
8959
9238
  align: "center",
@@ -8963,10 +9242,10 @@ var ContentsCard = (0, import_react58.forwardRef)(
8963
9242
  style: { marginTop: "auto" },
8964
9243
  width: "100%",
8965
9244
  children: [
8966
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
8967
- Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(DropdownMenu.Root, { children: [
8968
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
8969
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
9245
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
9246
+ Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(DropdownMenu.Root, { children: [
9247
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
9248
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
8970
9249
  DropdownMenu.Item,
8971
9250
  {
8972
9251
  onClick: (e) => {
@@ -8990,7 +9269,7 @@ var ContentsCard = (0, import_react58.forwardRef)(
8990
9269
  ContentsCard.displayName = "ContentsCard";
8991
9270
 
8992
9271
  // src/app/platform/curriculum-card.tsx
8993
- var import_jsx_runtime116 = require("react/jsx-runtime");
9272
+ var import_jsx_runtime117 = require("react/jsx-runtime");
8994
9273
  function CurriculumCard(props) {
8995
9274
  const {
8996
9275
  title,
@@ -9001,7 +9280,7 @@ function CurriculumCard(props) {
9001
9280
  bgColor,
9002
9281
  onClick
9003
9282
  } = props;
9004
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
9283
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(
9005
9284
  import_themes23.Grid,
9006
9285
  {
9007
9286
  columns: { initial: "1", sm: "275px 1fr" },
@@ -9010,7 +9289,7 @@ function CurriculumCard(props) {
9010
9289
  onClick,
9011
9290
  style: { cursor: "pointer" },
9012
9291
  children: [
9013
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
9292
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
9014
9293
  import_themes6.Box,
9015
9294
  {
9016
9295
  height: "165px",
@@ -9025,32 +9304,32 @@ function CurriculumCard(props) {
9025
9304
  backgroundAttachment: "local"
9026
9305
  },
9027
9306
  width: "100%",
9028
- children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
9307
+ children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
9029
9308
  }
9030
9309
  ),
9031
- /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
9032
- /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
9033
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Heading2, { variant: "heading4", children: title }),
9034
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
9310
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
9311
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
9312
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Heading2, { variant: "heading4", children: title }),
9313
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
9035
9314
  Badge,
9036
9315
  {
9037
9316
  size: "medium",
9038
9317
  style: { justifySelf: "flex-start" },
9039
9318
  variant: "outline",
9040
- children: /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
9041
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_icons2.TimerIcon, {}),
9319
+ children: /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
9320
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_react_icons2.TimerIcon, {}),
9042
9321
  runningTime
9043
9322
  ] })
9044
9323
  }
9045
9324
  )
9046
9325
  ] }),
9047
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
9048
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
9326
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
9327
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
9049
9328
  }) }) }),
9050
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_themes39.Separator, { size: "4" }),
9051
- /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
9052
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
9053
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
9329
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_themes39.Separator, { size: "4" }),
9330
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
9331
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
9332
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
9054
9333
  ] })
9055
9334
  ] })
9056
9335
  ]
@@ -9067,6 +9346,7 @@ function CurriculumCard(props) {
9067
9346
  ArrowTopRightIcon,
9068
9347
  AspectRatio,
9069
9348
  AutoSizingInput,
9349
+ AutocompleteTextfield,
9070
9350
  Avatar,
9071
9351
  BackpackIcon,
9072
9352
  Badge,