@tipp/ui 1.5.10 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/dist/app/index.cjs +274 -264
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +29 -31
  4. package/dist/app/platform/coach-question-list.cjs +1 -1
  5. package/dist/app/platform/coach-question-list.cjs.map +1 -1
  6. package/dist/app/platform/coach-question-list.js +4 -4
  7. package/dist/app/platform/edit-coaching-time.cjs +63 -59
  8. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  9. package/dist/app/platform/edit-coaching-time.js +12 -14
  10. package/dist/app/platform/edit-service-type.cjs +2 -1
  11. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  12. package/dist/app/platform/edit-service-type.js +12 -12
  13. package/dist/app/platform/goal-manage-card-edit.cjs +24 -4
  14. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  15. package/dist/app/platform/goal-manage-card-edit.js +12 -12
  16. package/dist/app/platform/goal-manage-card-read.cjs +10 -8
  17. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  18. package/dist/app/platform/goal-manage-card-read.js +5 -5
  19. package/dist/app/platform/on-offline-radio-card.cjs +2 -1
  20. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  21. package/dist/app/platform/on-offline-radio-card.js +11 -11
  22. package/dist/app/platform/report-card.cjs +1 -1
  23. package/dist/app/platform/report-card.cjs.map +1 -1
  24. package/dist/app/platform/report-card.js +4 -4
  25. package/dist/app/platform/reservation-card.cjs +81 -9
  26. package/dist/app/platform/reservation-card.cjs.map +1 -1
  27. package/dist/app/platform/reservation-card.d.cts +2 -0
  28. package/dist/app/platform/reservation-card.d.ts +2 -0
  29. package/dist/app/platform/reservation-card.js +12 -12
  30. package/dist/app/platform/session-card.cjs +104 -100
  31. package/dist/app/platform/session-card.cjs.map +1 -1
  32. package/dist/app/platform/session-card.js +14 -16
  33. package/dist/app/platform/session-review-simple-read.cjs +1 -1
  34. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  35. package/dist/app/platform/session-review-simple-read.js +4 -4
  36. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +10 -34
  37. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
  38. package/dist/app/platform/userInfos/coaching-customer-info/index.js +9 -9
  39. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +4 -11
  40. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
  41. package/dist/app/platform/userInfos/coaching-customer-info/large.d.cts +1 -1
  42. package/dist/app/platform/userInfos/coaching-customer-info/large.d.ts +1 -1
  43. package/dist/app/platform/userInfos/coaching-customer-info/large.js +6 -6
  44. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +4 -11
  45. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
  46. package/dist/app/platform/userInfos/coaching-customer-info/medium.d.cts +1 -1
  47. package/dist/app/platform/userInfos/coaching-customer-info/medium.d.ts +1 -1
  48. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +6 -6
  49. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +4 -12
  50. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
  51. package/dist/app/platform/userInfos/coaching-customer-info/small.d.cts +1 -1
  52. package/dist/app/platform/userInfos/coaching-customer-info/small.d.ts +1 -1
  53. package/dist/app/platform/userInfos/coaching-customer-info/small.js +5 -5
  54. package/dist/app/platform/userInfos/session-user-info-detail.cjs +1 -1
  55. package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
  56. package/dist/app/platform/userInfos/session-user-info-detail.js +6 -6
  57. package/dist/app/platform/userInfos/utils.cjs +1 -1
  58. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  59. package/dist/app/platform/userInfos/utils.d.cts +1 -0
  60. package/dist/app/platform/userInfos/utils.d.ts +1 -0
  61. package/dist/app/platform/userInfos/utils.js +5 -5
  62. package/dist/atoms/dialog.js +2 -2
  63. package/dist/atoms/drawer.cjs +38 -9
  64. package/dist/atoms/drawer.cjs.map +1 -1
  65. package/dist/atoms/drawer.js +2 -1
  66. package/dist/atoms/index.cjs +24 -2
  67. package/dist/atoms/index.cjs.map +1 -1
  68. package/dist/atoms/index.d.cts +1 -1
  69. package/dist/atoms/index.d.ts +1 -1
  70. package/dist/atoms/index.js +10 -8
  71. package/dist/chunk-2MNNK576.js +52 -0
  72. package/dist/chunk-2MNNK576.js.map +1 -0
  73. package/dist/chunk-3BDAXSFJ.js +46 -0
  74. package/dist/chunk-3BDAXSFJ.js.map +1 -0
  75. package/dist/chunk-3F6KWGBZ.js +89 -0
  76. package/dist/chunk-3F6KWGBZ.js.map +1 -0
  77. package/dist/chunk-4DHKHART.js +177 -0
  78. package/dist/chunk-4DHKHART.js.map +1 -0
  79. package/dist/chunk-4VVKVY67.js +45 -0
  80. package/dist/chunk-4VVKVY67.js.map +1 -0
  81. package/dist/chunk-55BS56C7.js +165 -0
  82. package/dist/chunk-55BS56C7.js.map +1 -0
  83. package/dist/chunk-5QTFO46W.js +177 -0
  84. package/dist/chunk-5QTFO46W.js.map +1 -0
  85. package/dist/chunk-5QXQPRW7.js +89 -0
  86. package/dist/chunk-5QXQPRW7.js.map +1 -0
  87. package/dist/chunk-643OBFGH.js +145 -0
  88. package/dist/chunk-643OBFGH.js.map +1 -0
  89. package/dist/chunk-6LNT56PI.js +30 -0
  90. package/dist/chunk-6LNT56PI.js.map +1 -0
  91. package/dist/chunk-6NK4TENV.js +244 -0
  92. package/dist/chunk-6NK4TENV.js.map +1 -0
  93. package/dist/chunk-6RTDC4IZ.js +145 -0
  94. package/dist/chunk-6RTDC4IZ.js.map +1 -0
  95. package/dist/chunk-7HTPOEYY.js +60 -0
  96. package/dist/chunk-7HTPOEYY.js.map +1 -0
  97. package/dist/chunk-7QSHSKGH.js +250 -0
  98. package/dist/chunk-7QSHSKGH.js.map +1 -0
  99. package/dist/chunk-7XPVJ35J.js +177 -0
  100. package/dist/chunk-7XPVJ35J.js.map +1 -0
  101. package/dist/chunk-AEM57IUZ.js +145 -0
  102. package/dist/chunk-AEM57IUZ.js.map +1 -0
  103. package/dist/chunk-BN23HSLB.js +145 -0
  104. package/dist/chunk-BN23HSLB.js.map +1 -0
  105. package/dist/chunk-BSDY5S2S.js +177 -0
  106. package/dist/chunk-BSDY5S2S.js.map +1 -0
  107. package/dist/chunk-BXSGWGPX.js +51 -0
  108. package/dist/chunk-BXSGWGPX.js.map +1 -0
  109. package/dist/chunk-C54BNXQ3.js +174 -0
  110. package/dist/chunk-C54BNXQ3.js.map +1 -0
  111. package/dist/chunk-DAAG2ECN.js +145 -0
  112. package/dist/chunk-DAAG2ECN.js.map +1 -0
  113. package/dist/chunk-DEC74YZM.js +277 -0
  114. package/dist/chunk-DEC74YZM.js.map +1 -0
  115. package/dist/chunk-EDGXK4S3.js +30 -0
  116. package/dist/chunk-EDGXK4S3.js.map +1 -0
  117. package/dist/chunk-EPHO2NHY.js +165 -0
  118. package/dist/chunk-EPHO2NHY.js.map +1 -0
  119. package/dist/chunk-FLHTCZJ6.js +145 -0
  120. package/dist/chunk-FLHTCZJ6.js.map +1 -0
  121. package/dist/chunk-FYMXBVJN.js +163 -0
  122. package/dist/chunk-FYMXBVJN.js.map +1 -0
  123. package/dist/chunk-G4HAO2PO.js +145 -0
  124. package/dist/chunk-G4HAO2PO.js.map +1 -0
  125. package/dist/chunk-GWJPOXZB.js +145 -0
  126. package/dist/chunk-GWJPOXZB.js.map +1 -0
  127. package/dist/chunk-GWV7ZQS7.js +165 -0
  128. package/dist/chunk-GWV7ZQS7.js.map +1 -0
  129. package/dist/chunk-HAXSZIZN.js +174 -0
  130. package/dist/chunk-HAXSZIZN.js.map +1 -0
  131. package/dist/chunk-HVKX7LGP.js +63 -0
  132. package/dist/chunk-HVKX7LGP.js.map +1 -0
  133. package/dist/chunk-HW5TXRPH.js +51 -0
  134. package/dist/chunk-HW5TXRPH.js.map +1 -0
  135. package/dist/chunk-HXUZQJQY.js +60 -0
  136. package/dist/chunk-HXUZQJQY.js.map +1 -0
  137. package/dist/chunk-I5NKXTH5.js +63 -0
  138. package/dist/chunk-I5NKXTH5.js.map +1 -0
  139. package/dist/chunk-ID5SXFYY.js +277 -0
  140. package/dist/chunk-ID5SXFYY.js.map +1 -0
  141. package/dist/chunk-JFAEGRYZ.js +145 -0
  142. package/dist/chunk-JFAEGRYZ.js.map +1 -0
  143. package/dist/chunk-JHZGOPC4.js +104 -0
  144. package/dist/chunk-JHZGOPC4.js.map +1 -0
  145. package/dist/chunk-KEVIRRIU.js +250 -0
  146. package/dist/chunk-KEVIRRIU.js.map +1 -0
  147. package/dist/chunk-KWVMO7QA.js +145 -0
  148. package/dist/chunk-KWVMO7QA.js.map +1 -0
  149. package/dist/chunk-KZQALSCC.js +277 -0
  150. package/dist/chunk-KZQALSCC.js.map +1 -0
  151. package/dist/chunk-LSZ6443S.js +250 -0
  152. package/dist/chunk-LSZ6443S.js.map +1 -0
  153. package/dist/chunk-MEVO4WQM.js +163 -0
  154. package/dist/chunk-MEVO4WQM.js.map +1 -0
  155. package/dist/chunk-MR7H7IVE.js +192 -0
  156. package/dist/chunk-MR7H7IVE.js.map +1 -0
  157. package/dist/chunk-NCAJKLJL.js +277 -0
  158. package/dist/chunk-NCAJKLJL.js.map +1 -0
  159. package/dist/chunk-NOU2SQ3S.js +145 -0
  160. package/dist/chunk-NOU2SQ3S.js.map +1 -0
  161. package/dist/chunk-NTS2GASQ.js +30 -0
  162. package/dist/chunk-NTS2GASQ.js.map +1 -0
  163. package/dist/chunk-OCCR3BYX.js +145 -0
  164. package/dist/chunk-OCCR3BYX.js.map +1 -0
  165. package/dist/chunk-P3IQELLW.js +103 -0
  166. package/dist/chunk-P3IQELLW.js.map +1 -0
  167. package/dist/chunk-P7MEVIA2.js +177 -0
  168. package/dist/chunk-P7MEVIA2.js.map +1 -0
  169. package/dist/chunk-PM2MEPSY.js +145 -0
  170. package/dist/chunk-PM2MEPSY.js.map +1 -0
  171. package/dist/chunk-PYR4SVP5.js +146 -0
  172. package/dist/chunk-PYR4SVP5.js.map +1 -0
  173. package/dist/chunk-Q4B4TVV6.js +52 -0
  174. package/dist/chunk-Q4B4TVV6.js.map +1 -0
  175. package/dist/chunk-Q76YER7W.js +177 -0
  176. package/dist/chunk-Q76YER7W.js.map +1 -0
  177. package/dist/chunk-QW3Q5PDH.js +250 -0
  178. package/dist/chunk-QW3Q5PDH.js.map +1 -0
  179. package/dist/chunk-RSCMNIHH.js +165 -0
  180. package/dist/chunk-RSCMNIHH.js.map +1 -0
  181. package/dist/chunk-RZDYA4LT.js +174 -0
  182. package/dist/chunk-RZDYA4LT.js.map +1 -0
  183. package/dist/chunk-S3F7WBI2.js +45 -0
  184. package/dist/chunk-S3F7WBI2.js.map +1 -0
  185. package/dist/chunk-SDY76VWM.js +145 -0
  186. package/dist/chunk-SDY76VWM.js.map +1 -0
  187. package/dist/chunk-SNL4BT3L.js +249 -0
  188. package/dist/chunk-SNL4BT3L.js.map +1 -0
  189. package/dist/chunk-T24Z37LZ.js +51 -0
  190. package/dist/chunk-T24Z37LZ.js.map +1 -0
  191. package/dist/chunk-TDRNTGNE.js +164 -0
  192. package/dist/chunk-TDRNTGNE.js.map +1 -0
  193. package/dist/chunk-TU453YST.js +63 -0
  194. package/dist/chunk-TU453YST.js.map +1 -0
  195. package/dist/chunk-UTBSTESQ.js +30 -0
  196. package/dist/chunk-UTBSTESQ.js.map +1 -0
  197. package/dist/chunk-VF5Q4NSV.js +174 -0
  198. package/dist/chunk-VF5Q4NSV.js.map +1 -0
  199. package/dist/chunk-VIOAD7BY.js +145 -0
  200. package/dist/chunk-VIOAD7BY.js.map +1 -0
  201. package/dist/chunk-VKXZLSWB.js +249 -0
  202. package/dist/chunk-VKXZLSWB.js.map +1 -0
  203. package/dist/chunk-VVZ6M3AZ.js +145 -0
  204. package/dist/chunk-VVZ6M3AZ.js.map +1 -0
  205. package/dist/chunk-WHPYQRMZ.js +145 -0
  206. package/dist/chunk-WHPYQRMZ.js.map +1 -0
  207. package/dist/chunk-WNSDISYV.js +54 -0
  208. package/dist/chunk-WNSDISYV.js.map +1 -0
  209. package/dist/chunk-X7RBL443.js +145 -0
  210. package/dist/chunk-X7RBL443.js.map +1 -0
  211. package/dist/chunk-XM5HV4U7.js +145 -0
  212. package/dist/chunk-XM5HV4U7.js.map +1 -0
  213. package/dist/chunk-XY5462PL.js +277 -0
  214. package/dist/chunk-XY5462PL.js.map +1 -0
  215. package/dist/chunk-YDPVHTY2.js +163 -0
  216. package/dist/chunk-YDPVHTY2.js.map +1 -0
  217. package/dist/chunk-ZILPOC5V.js +277 -0
  218. package/dist/chunk-ZILPOC5V.js.map +1 -0
  219. package/dist/index.cjs +261 -250
  220. package/dist/index.cjs.map +1 -1
  221. package/dist/index.d.cts +1 -2
  222. package/dist/index.d.ts +1 -2
  223. package/dist/index.js +48 -51
  224. package/dist/layouts/index.cjs.map +1 -1
  225. package/dist/layouts/index.js +26 -26
  226. package/dist/layouts/response-display.cjs.map +1 -1
  227. package/dist/layouts/response-display.js +26 -26
  228. package/dist/molecules/date-picker/date-picker-button.cjs +1 -1
  229. package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
  230. package/dist/molecules/date-picker/date-picker-button.js +4 -4
  231. package/dist/molecules/expand-table/index.cjs +1 -1
  232. package/dist/molecules/expand-table/index.cjs.map +1 -1
  233. package/dist/molecules/expand-table/index.js +4 -4
  234. package/dist/molecules/expand-table/row.cjs +1 -1
  235. package/dist/molecules/expand-table/row.cjs.map +1 -1
  236. package/dist/molecules/expand-table/row.js +4 -4
  237. package/dist/molecules/form/form.cjs +251 -0
  238. package/dist/molecules/form/form.cjs.map +1 -0
  239. package/dist/molecules/form/form.d.cts +33 -0
  240. package/dist/molecules/form/form.d.ts +33 -0
  241. package/dist/molecules/form/form.js +12 -0
  242. package/dist/molecules/form/form.js.map +1 -0
  243. package/dist/molecules/form/index.cjs +253 -0
  244. package/dist/molecules/form/index.cjs.map +1 -0
  245. package/dist/molecules/form/index.d.cts +3 -0
  246. package/dist/molecules/form/index.d.ts +3 -0
  247. package/dist/molecules/form/index.js +12 -0
  248. package/dist/molecules/form/index.js.map +1 -0
  249. package/dist/molecules/index.cjs +27 -4
  250. package/dist/molecules/index.cjs.map +1 -1
  251. package/dist/molecules/index.js +15 -15
  252. package/dist/molecules/navigation.cjs +1 -1
  253. package/dist/molecules/navigation.cjs.map +1 -1
  254. package/dist/molecules/navigation.js +4 -4
  255. package/dist/molecules/radio-button-card.cjs +1 -1
  256. package/dist/molecules/radio-button-card.cjs.map +1 -1
  257. package/dist/molecules/radio-button-card.js +4 -4
  258. package/dist/molecules/tag-selector.cjs +1 -1
  259. package/dist/molecules/tag-selector.cjs.map +1 -1
  260. package/dist/molecules/tag-selector.js +4 -4
  261. package/dist/molecules/time-select.cjs +27 -4
  262. package/dist/molecules/time-select.cjs.map +1 -1
  263. package/dist/molecules/time-select.d.cts +6 -1
  264. package/dist/molecules/time-select.d.ts +6 -1
  265. package/dist/molecules/time-select.js +7 -7
  266. package/dist/utils/index.js +6 -6
  267. package/package.json +1 -1
  268. package/src/app/platform/edit-coaching-time.tsx +3 -2
  269. package/src/app/platform/goal-manage-card-read.tsx +10 -7
  270. package/src/app/platform/reservation-card.tsx +39 -2
  271. package/src/app/platform/userInfos/coaching-customer-info/large.tsx +3 -15
  272. package/src/app/platform/userInfos/coaching-customer-info/medium.tsx +3 -15
  273. package/src/app/platform/userInfos/coaching-customer-info/small.tsx +4 -18
  274. package/src/app/platform/userInfos/utils.tsx +1 -0
  275. package/src/atoms/drawer.tsx +2 -0
  276. package/src/atoms/index.ts +1 -1
  277. package/src/index.ts +0 -1
  278. package/src/molecules/{form.tsx → form/form.tsx} +32 -6
  279. package/src/molecules/form/index.ts +1 -0
  280. package/src/molecules/time-select.tsx +37 -6
  281. package/src/layouts/index.ts +0 -1
  282. package/src/layouts/response-display.tsx +0 -62
@@ -778,7 +778,7 @@ ClosePanelArrowIcon.displayName = "ArrowDownIcon";
778
778
  // src/atoms/drawer.tsx
779
779
  var import_jsx_runtime21 = require("react/jsx-runtime");
780
780
 
781
- // src/molecules/form.tsx
781
+ // src/molecules/form/form.tsx
782
782
  var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
783
783
  var import_react18 = require("react");
784
784
  var import_jsx_runtime22 = require("react/jsx-runtime");
@@ -879,13 +879,32 @@ var Control2 = (0, import_react18.forwardRef)(
879
879
  }
880
880
  );
881
881
  Control2.displayName = "FORM_Control";
882
+ function FormItem(_a) {
883
+ var _b = _a, {
884
+ label,
885
+ labelVariant,
886
+ children,
887
+ errorMessage
888
+ } = _b, fieldProps = __objRest(_b, [
889
+ "label",
890
+ "labelVariant",
891
+ "children",
892
+ "errorMessage"
893
+ ]);
894
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
895
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Form.Label, { variant: labelVariant, children: label }),
896
+ children,
897
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
898
+ ] }));
899
+ }
882
900
  var Form = {
883
901
  Root: Root7,
884
902
  Field: Field2,
885
903
  Label: Label2,
886
904
  Message: Message2,
887
905
  Control: RadixForm.Control,
888
- Submit: RadixForm.Submit
906
+ Submit: RadixForm.Submit,
907
+ FormItem
889
908
  };
890
909
 
891
910
  // src/atoms/auto-sizing-input.tsx
@@ -936,20 +955,12 @@ function BulletText(_a) {
936
955
  }
937
956
 
938
957
  // src/app/platform/userInfos/coaching-customer-info/small.tsx
939
- var import_react20 = require("react");
940
- var import_biz_utils = require("@tipp/biz-utils");
941
958
  var import_jsx_runtime25 = require("react/jsx-runtime");
942
959
  function CoachingCustomerInfoSmall({
943
960
  customer,
944
- session,
945
- children
961
+ children,
962
+ badge
946
963
  }) {
947
- const badgeColor = (0, import_react20.useMemo)(() => {
948
- return (0, import_biz_utils.getColorFromProjectState)(session == null ? void 0 : session.state);
949
- }, [session == null ? void 0 : session.state]);
950
- const sessionText = (0, import_react20.useMemo)(() => {
951
- return (0, import_biz_utils.getTextFromProjectState)(session == null ? void 0 : session.state);
952
- }, [session == null ? void 0 : session.state]);
953
964
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
954
965
  import_themes22.Flex,
955
966
  {
@@ -960,7 +971,7 @@ function CoachingCustomerInfoSmall({
960
971
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
961
972
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
962
973
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
963
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Badge, { color: badgeColor, children: sessionText }) })
974
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
964
975
  ] }) }),
965
976
  children
966
977
  ]
@@ -968,10 +979,6 @@ function CoachingCustomerInfoSmall({
968
979
  );
969
980
  }
970
981
 
971
- // src/app/platform/userInfos/coaching-customer-info/medium.tsx
972
- var import_react21 = require("react");
973
- var import_biz_utils2 = require("@tipp/biz-utils");
974
-
975
982
  // src/app/platform/userInfos/utils.tsx
976
983
  var import_date_fns = require("date-fns");
977
984
  var import_react_icons4 = require("@radix-ui/react-icons");
@@ -1062,19 +1069,14 @@ var import_jsx_runtime27 = require("react/jsx-runtime");
1062
1069
  function CoachingCustomerInfoMedium({
1063
1070
  customer,
1064
1071
  session,
1065
- children
1072
+ children,
1073
+ badge
1066
1074
  }) {
1067
- const badgeColor = (0, import_react21.useMemo)(() => {
1068
- return (0, import_biz_utils2.getColorFromProjectState)(session == null ? void 0 : session.state);
1069
- }, [session == null ? void 0 : session.state]);
1070
- const sessionText = (0, import_react21.useMemo)(() => {
1071
- return (0, import_biz_utils2.getTextFromProjectState)(session == null ? void 0 : session.state);
1072
- }, [session == null ? void 0 : session.state]);
1073
1075
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
1074
1076
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes6.Box, { children: [
1075
1077
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
1076
1078
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
1077
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Badge, { color: badgeColor, children: sessionText })
1079
+ badge
1078
1080
  ] }),
1079
1081
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
1080
1082
  ] }),
@@ -1091,25 +1093,18 @@ function CoachingCustomerInfoMedium({
1091
1093
  }
1092
1094
 
1093
1095
  // src/app/platform/userInfos/coaching-customer-info/large.tsx
1094
- var import_react22 = require("react");
1095
- var import_biz_utils3 = require("@tipp/biz-utils");
1096
1096
  var import_jsx_runtime28 = require("react/jsx-runtime");
1097
1097
  function CoachingCustomerInfoLarge({
1098
1098
  customer,
1099
1099
  session,
1100
- children
1100
+ children,
1101
+ badge
1101
1102
  }) {
1102
- const badgeColor = (0, import_react22.useMemo)(() => {
1103
- return (0, import_biz_utils3.getColorFromProjectState)(session == null ? void 0 : session.state);
1104
- }, [session == null ? void 0 : session.state]);
1105
- const sessionText = (0, import_react22.useMemo)(() => {
1106
- return (0, import_biz_utils3.getTextFromProjectState)(session == null ? void 0 : session.state);
1107
- }, [session == null ? void 0 : session.state]);
1108
1103
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
1109
1104
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_themes6.Box, { children: [
1110
1105
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
1111
1106
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
1112
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Badge, { color: badgeColor, children: sessionText })
1107
+ badge
1113
1108
  ] }),
1114
1109
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
1115
1110
  ] }),
@@ -1131,7 +1126,7 @@ function CoachingCustomerInfo(props) {
1131
1126
  }
1132
1127
 
1133
1128
  // src/app/platform/goal-manage-card-read.tsx
1134
- var import_react23 = require("react");
1129
+ var import_react20 = require("react");
1135
1130
  var import_date_fns2 = require("date-fns");
1136
1131
  var import_jsx_runtime30 = require("react/jsx-runtime");
1137
1132
  function GoalManageCardRead(props) {
@@ -1147,29 +1142,29 @@ function GoalManageCardRead(props) {
1147
1142
  onClickIncomplete,
1148
1143
  onClickComplete
1149
1144
  } = props;
1150
- const [open, setOpen] = (0, import_react23.useState)(Boolean(defaultOpen));
1151
- const onClickOpen = (0, import_react23.useCallback)(() => {
1145
+ const [open, setOpen] = (0, import_react20.useState)(Boolean(defaultOpen));
1146
+ const onClickOpen = (0, import_react20.useCallback)(() => {
1152
1147
  setOpen((p) => !p);
1153
1148
  }, []);
1154
1149
  const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons3.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons3.ChevronDownIcon, {});
1155
- const badgeMeta = (0, import_react23.useMemo)(() => {
1150
+ const badgeMeta = (0, import_react20.useMemo)(() => {
1156
1151
  if (!completed && dueDate) {
1157
- if (dueDate < /* @__PURE__ */ new Date())
1158
- return { color: "error", children: "\uBBF8\uB2EC\uC131" };
1159
- return {
1160
- color: "success",
1161
- children: "\uC9C4\uD589 \uC911"
1162
- };
1152
+ if (dueDate >= (0, import_date_fns2.startOfDay)(/* @__PURE__ */ new Date()))
1153
+ return {
1154
+ color: "success",
1155
+ children: "\uC9C4\uD589 \uC911"
1156
+ };
1157
+ return { color: "error", children: "\uBBF8\uB2EC\uC131" };
1163
1158
  }
1164
1159
  return null;
1165
1160
  }, [completed, dueDate]);
1166
- const renderSubTitle = (0, import_react23.useCallback)((subTitle) => {
1161
+ const renderSubTitle = (0, import_react20.useCallback)((subTitle) => {
1167
1162
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
1168
1163
  }, []);
1169
- const renderSubContent = (0, import_react23.useCallback)((content) => {
1164
+ const renderSubContent = (0, import_react20.useCallback)((content) => {
1170
1165
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { as: "p", color: "gray", children: content });
1171
1166
  }, []);
1172
- const renderCompleteButton = (0, import_react23.useCallback)(() => {
1167
+ const renderCompleteButton = (0, import_react20.useCallback)(() => {
1173
1168
  if (completed) {
1174
1169
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
1175
1170
  }
@@ -1215,7 +1210,9 @@ function GoalManageCardRead(props) {
1215
1210
  renderSubContent(expectedEffect)
1216
1211
  ] }),
1217
1212
  /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes6.Box, { children: [
1218
- renderSubTitle("\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uAE30 \uC704\uD574 \uD544\uC694\uD55C \uD5C8\uB4E4"),
1213
+ renderSubTitle(
1214
+ "\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"
1215
+ ),
1219
1216
  renderSubContent(huddle)
1220
1217
  ] })
1221
1218
  ] }),
@@ -1243,17 +1240,17 @@ function GoalManageCardRead(props) {
1243
1240
  }
1244
1241
 
1245
1242
  // src/app/platform/goal-manage-card-edit.tsx
1246
- var import_react33 = require("react");
1247
- var import_date_fns4 = require("date-fns");
1243
+ var import_react30 = require("react");
1244
+ var import_date_fns5 = require("date-fns");
1248
1245
 
1249
1246
  // src/molecules/expand-table/index.tsx
1250
1247
  var import_react_table2 = require("@tanstack/react-table");
1251
- var import_react25 = require("react");
1248
+ var import_react22 = require("react");
1252
1249
 
1253
1250
  // src/icons/down.tsx
1254
- var React14 = __toESM(require("react"), 1);
1251
+ var React11 = __toESM(require("react"), 1);
1255
1252
  var import_jsx_runtime31 = require("react/jsx-runtime");
1256
- var TriangleArrowDownIcon = React14.forwardRef(
1253
+ var TriangleArrowDownIcon = React11.forwardRef(
1257
1254
  (_a, forwardedRef) => {
1258
1255
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1259
1256
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
@@ -1280,9 +1277,9 @@ var TriangleArrowDownIcon = React14.forwardRef(
1280
1277
  TriangleArrowDownIcon.displayName = "ArrowDownIcon";
1281
1278
 
1282
1279
  // src/icons/up.tsx
1283
- var React15 = __toESM(require("react"), 1);
1280
+ var React12 = __toESM(require("react"), 1);
1284
1281
  var import_jsx_runtime32 = require("react/jsx-runtime");
1285
- var TriangleArrowUpIcon = React15.forwardRef(
1282
+ var TriangleArrowUpIcon = React12.forwardRef(
1286
1283
  (_a, forwardedRef) => {
1287
1284
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
1288
1285
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
@@ -1310,7 +1307,7 @@ TriangleArrowUpIcon.displayName = "ArrowUpIcon";
1310
1307
 
1311
1308
  // src/molecules/expand-table/row.tsx
1312
1309
  var import_react_table = require("@tanstack/react-table");
1313
- var import_react24 = require("react");
1310
+ var import_react21 = require("react");
1314
1311
  var import_jsx_runtime33 = require("react/jsx-runtime");
1315
1312
 
1316
1313
  // src/molecules/expand-table/index.tsx
@@ -1320,7 +1317,7 @@ var import_jsx_runtime34 = require("react/jsx-runtime");
1320
1317
  var import_jsx_runtime35 = require("react/jsx-runtime");
1321
1318
 
1322
1319
  // src/molecules/date-picker/index.tsx
1323
- var import_react26 = require("react");
1320
+ var import_react23 = require("react");
1324
1321
  var RDP = __toESM(require("react-datepicker"), 1);
1325
1322
  var import_react_datepicker = require("react-datepicker");
1326
1323
  var import_locale = require("date-fns/locale");
@@ -1328,7 +1325,7 @@ var import_jsx_runtime36 = require("react/jsx-runtime");
1328
1325
  (0, import_react_datepicker.registerLocale)("ko", import_locale.ko);
1329
1326
  (0, import_react_datepicker.setDefaultLocale)("ko");
1330
1327
  var ReactDatePicker = RDP.default.default || RDP.default || RDP;
1331
- var DatePicker = (0, import_react26.forwardRef)(
1328
+ var DatePicker = (0, import_react23.forwardRef)(
1332
1329
  (props, ref) => {
1333
1330
  const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
1334
1331
  const fullWidthClassName = fullWidth ? "full-width" : "";
@@ -1398,22 +1395,22 @@ var renderCustomHeader = (props) => {
1398
1395
  };
1399
1396
 
1400
1397
  // src/molecules/dot-navigation.tsx
1401
- var import_react27 = require("react");
1398
+ var import_react24 = require("react");
1402
1399
  var import_react_icons5 = require("@radix-ui/react-icons");
1403
1400
  var import_jsx_runtime37 = require("react/jsx-runtime");
1404
1401
 
1405
1402
  // src/molecules/stepper.tsx
1406
- var import_react28 = require("react");
1403
+ var import_react25 = require("react");
1407
1404
  var import_themes51 = require("@radix-ui/themes");
1408
1405
  var import_jsx_runtime38 = require("react/jsx-runtime");
1409
- var StepContext = (0, import_react28.createContext)({
1406
+ var StepContext = (0, import_react25.createContext)({
1410
1407
  active: false,
1411
1408
  completed: false,
1412
1409
  index: 0
1413
1410
  });
1414
1411
 
1415
1412
  // src/molecules/tag-selector.tsx
1416
- var import_react29 = require("react");
1413
+ var import_react26 = require("react");
1417
1414
  var import_react_icons6 = require("@radix-ui/react-icons");
1418
1415
  var import_jsx_runtime39 = require("react/jsx-runtime");
1419
1416
 
@@ -1429,7 +1426,7 @@ var import_react_icons7 = require("@radix-ui/react-icons");
1429
1426
  var import_jsx_runtime42 = require("react/jsx-runtime");
1430
1427
 
1431
1428
  // src/molecules/date-picker/date-picker-button.tsx
1432
- var import_react30 = require("react");
1429
+ var import_react27 = require("react");
1433
1430
  var import_date_fns3 = require("date-fns");
1434
1431
  var import_jsx_runtime43 = require("react/jsx-runtime");
1435
1432
  function DatePickerButton(props) {
@@ -1441,7 +1438,7 @@ function DatePickerButton(props) {
1441
1438
  width: "100%"
1442
1439
  };
1443
1440
  const buttonProps = { size, color, style, variant };
1444
- const selectFormat = (0, import_react30.useMemo)(() => {
1441
+ const selectFormat = (0, import_react27.useMemo)(() => {
1445
1442
  if (formatProps)
1446
1443
  return formatProps;
1447
1444
  return (date) => date ? (0, import_date_fns3.format)(date, "yyyy\uB144 MM\uC6D4 dd\uC77C") : placeholder;
@@ -1461,7 +1458,8 @@ function DatePickerButton(props) {
1461
1458
  }
1462
1459
 
1463
1460
  // src/molecules/time-select.tsx
1464
- var import_react31 = require("react");
1461
+ var import_react28 = require("react");
1462
+ var import_date_fns4 = require("date-fns");
1465
1463
 
1466
1464
  // src/utils/get-time-options.ts
1467
1465
  var getTimeOptions = () => {
@@ -1485,28 +1483,50 @@ var getTimeOption = (time) => {
1485
1483
 
1486
1484
  // src/molecules/time-select.tsx
1487
1485
  var import_jsx_runtime44 = require("react/jsx-runtime");
1486
+ var getOptionValue = (date, timeValue) => {
1487
+ if (date && timeValue) {
1488
+ if ((0, import_date_fns4.format)(date, "yyyyMMdd") === (0, import_date_fns4.format)(timeValue, "yyyyMMdd")) {
1489
+ return (0, import_date_fns4.format)(date, "HH:mm");
1490
+ }
1491
+ }
1492
+ };
1488
1493
  function TimeSelect(_a) {
1489
1494
  var _b = _a, {
1490
- value
1495
+ value,
1496
+ maxTime,
1497
+ minTime,
1498
+ time
1491
1499
  } = _b, rest = __objRest(_b, [
1492
- "value"
1500
+ "value",
1501
+ "maxTime",
1502
+ "minTime",
1503
+ "time"
1493
1504
  ]);
1494
- const timeOptions = (0, import_react31.useMemo)(() => {
1505
+ const timeOptions = (0, import_react28.useMemo)(() => {
1495
1506
  return getTimeOptions();
1496
1507
  }, []);
1508
+ const [minOption, maxOption] = (0, import_react28.useMemo)(() => {
1509
+ return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
1510
+ }, [maxTime, minTime, time]);
1497
1511
  return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
1498
1512
  /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" } }) }),
1499
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Select.Content, { children: timeOptions.map((time) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Select.Item, { value: time, children: time }, time)) })
1513
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Select.Content, { children: timeOptions.map((option) => {
1514
+ const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
1515
+ if (!visible) {
1516
+ return null;
1517
+ }
1518
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Select.Item, { value: option, children: option }, option);
1519
+ }) })
1500
1520
  ] }));
1501
1521
  }
1502
1522
 
1503
1523
  // src/molecules/radio-button-card.tsx
1504
- var import_react32 = require("react");
1524
+ var import_react29 = require("react");
1505
1525
  var import_jsx_runtime45 = require("react/jsx-runtime");
1506
- var RadioCardContext = (0, import_react32.createContext)({});
1526
+ var RadioCardContext = (0, import_react29.createContext)({});
1507
1527
  function Root8(props) {
1508
- const [value, setValue] = (0, import_react32.useState)(props.value || props.defaultValue);
1509
- const onValueChange = (0, import_react32.useCallback)(
1528
+ const [value, setValue] = (0, import_react29.useState)(props.value || props.defaultValue);
1529
+ const onValueChange = (0, import_react29.useCallback)(
1510
1530
  (v) => {
1511
1531
  var _a;
1512
1532
  setValue(v);
@@ -1522,10 +1542,10 @@ function Item(_a) {
1522
1542
  } = _b, itemRest = __objRest(_b, [
1523
1543
  "children"
1524
1544
  ]);
1525
- const _a2 = (0, import_react32.useContext)(RadioCardContext), {
1545
+ const _a2 = (0, import_react29.useContext)(RadioCardContext), {
1526
1546
  value,
1527
1547
  justify,
1528
- RadioWrapper = import_react32.Fragment
1548
+ RadioWrapper = import_react29.Fragment
1529
1549
  } = _a2, rootRest = __objRest(_a2, [
1530
1550
  "value",
1531
1551
  "justify",
@@ -1564,8 +1584,8 @@ var dummyFn = () => {
1564
1584
  };
1565
1585
  function GoalManageCardEdit(props) {
1566
1586
  const { defaultValues, errors } = props;
1567
- const [values, setValues] = (0, import_react33.useState)(defaultValues || initialValues);
1568
- const onChange = (0, import_react33.useCallback)(
1587
+ const [values, setValues] = (0, import_react30.useState)(defaultValues || initialValues);
1588
+ const onChange = (0, import_react30.useCallback)(
1569
1589
  (v) => {
1570
1590
  var _a;
1571
1591
  setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
@@ -1573,12 +1593,12 @@ function GoalManageCardEdit(props) {
1573
1593
  },
1574
1594
  [props]
1575
1595
  );
1576
- const onClickInit = (0, import_react33.useCallback)(() => {
1596
+ const onClickInit = (0, import_react30.useCallback)(() => {
1577
1597
  var _a;
1578
1598
  setValues(initialValues);
1579
1599
  (_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
1580
1600
  }, [defaultValues, props]);
1581
- const onClickSubmit = (0, import_react33.useCallback)(() => {
1601
+ const onClickSubmit = (0, import_react30.useCallback)(() => {
1582
1602
  var _a;
1583
1603
  (_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
1584
1604
  }, [props, values]);
@@ -1638,7 +1658,7 @@ function GoalManageCardEdit(props) {
1638
1658
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1639
1659
  DatePickerButton,
1640
1660
  {
1641
- format: (v) => (0, import_date_fns4.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
1661
+ format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
1642
1662
  onChange: (date) => {
1643
1663
  date && onChange({ dueDate: date });
1644
1664
  },
@@ -1667,52 +1687,12 @@ function GoalManageCardEdit(props) {
1667
1687
  }
1668
1688
 
1669
1689
  // src/app/platform/session-card.tsx
1670
- var import_react36 = require("react");
1671
- var import_date_fns5 = require("date-fns");
1690
+ var import_react33 = require("react");
1691
+ var import_date_fns6 = require("date-fns");
1672
1692
 
1673
1693
  // src/app/platform/edit-coaching-time.tsx
1674
- var import_react34 = require("react");
1675
-
1676
- // src/layouts/response-display.tsx
1694
+ var import_react31 = require("react");
1677
1695
  var import_jsx_runtime48 = require("react/jsx-runtime");
1678
- var breakpoints = ["initial", "xs", "sm", "md", "lg", "xl"];
1679
- var sortByBreakpoint = (a, b) => {
1680
- return breakpoints.indexOf(a[0]) - breakpoints.indexOf(b[0]);
1681
- };
1682
- var getDisplay = (prev, cur, index) => {
1683
- const result = {};
1684
- if (prev) {
1685
- result.initial = "none";
1686
- }
1687
- if (cur) {
1688
- result[cur] = "block";
1689
- }
1690
- if (index) {
1691
- result[index] = "none";
1692
- }
1693
- return result;
1694
- };
1695
- function ResponseDisplay(props) {
1696
- const sortedChildren = Object.entries(props).sort(sortByBreakpoint);
1697
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, { children: sortedChildren.map(([key, value], index) => {
1698
- var _a, _b, _c;
1699
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1700
- import_themes6.Box,
1701
- {
1702
- display: getDisplay(
1703
- (_a = sortedChildren[index - 1]) == null ? void 0 : _a[0],
1704
- (_b = sortedChildren[index]) == null ? void 0 : _b[0],
1705
- (_c = sortedChildren[index + 1]) == null ? void 0 : _c[0]
1706
- ),
1707
- children: value
1708
- },
1709
- key
1710
- );
1711
- }) });
1712
- }
1713
-
1714
- // src/app/platform/edit-coaching-time.tsx
1715
- var import_jsx_runtime49 = require("react/jsx-runtime");
1716
1696
  var getValueFromDefaultValue = (args) => {
1717
1697
  return {
1718
1698
  startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
@@ -1732,14 +1712,14 @@ var getDateFromValue = (date, time) => {
1732
1712
  };
1733
1713
  function EditCoachingTime(props) {
1734
1714
  const { defaultEndAt, defaultStartAt, onClickCancel } = props;
1735
- const [values, setValues] = (0, import_react34.useState)(() => {
1715
+ const [values, setValues] = (0, import_react31.useState)(() => {
1736
1716
  return getValueFromDefaultValue({
1737
1717
  startAt: defaultStartAt,
1738
1718
  endAt: defaultEndAt
1739
1719
  });
1740
1720
  });
1741
- const [timeError, setTimeError] = (0, import_react34.useState)("");
1742
- const checkTimeError = (0, import_react34.useCallback)(
1721
+ const [timeError, setTimeError] = (0, import_react31.useState)("");
1722
+ const checkTimeError = (0, import_react31.useCallback)(
1743
1723
  (startTime, endTime) => {
1744
1724
  const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
1745
1725
  if (error) {
@@ -1750,7 +1730,7 @@ function EditCoachingTime(props) {
1750
1730
  },
1751
1731
  []
1752
1732
  );
1753
- const onChangeStartTime = (0, import_react34.useCallback)(
1733
+ const onChangeStartTime = (0, import_react31.useCallback)(
1754
1734
  (v) => {
1755
1735
  checkTimeError(v, values.endTime);
1756
1736
  setValues((prev) => __spreadProps(__spreadValues({}, prev), {
@@ -1759,7 +1739,7 @@ function EditCoachingTime(props) {
1759
1739
  },
1760
1740
  [checkTimeError, values.endTime]
1761
1741
  );
1762
- const onChangeEndTime = (0, import_react34.useCallback)(
1742
+ const onChangeEndTime = (0, import_react31.useCallback)(
1763
1743
  (v) => {
1764
1744
  checkTimeError(values.startTime, v);
1765
1745
  setValues((prev) => __spreadProps(__spreadValues({}, prev), {
@@ -1768,12 +1748,12 @@ function EditCoachingTime(props) {
1768
1748
  },
1769
1749
  [checkTimeError, values.startTime]
1770
1750
  );
1771
- const onChangeDate = (0, import_react34.useCallback)((date) => {
1751
+ const onChangeDate = (0, import_react31.useCallback)((date) => {
1772
1752
  date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
1773
1753
  date
1774
1754
  }));
1775
1755
  }, []);
1776
- const onClickSave = (0, import_react34.useCallback)(() => {
1756
+ const onClickSave = (0, import_react31.useCallback)(() => {
1777
1757
  if (checkTimeError(values.startTime, values.endTime)) {
1778
1758
  const startAt = getDateFromValue(values.date, values.startTime);
1779
1759
  const endAt = getDateFromValue(values.date, values.endTime);
@@ -1782,10 +1762,10 @@ function EditCoachingTime(props) {
1782
1762
  import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
1783
1763
  }
1784
1764
  }, [checkTimeError, props, values.date, values.endTime, values.startTime]);
1785
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Root, { children: [
1786
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "date", children: [
1787
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
1788
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1765
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Root, { children: [
1766
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "date", children: [
1767
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
1768
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1789
1769
  DatePickerButton,
1790
1770
  {
1791
1771
  maxDate: /* @__PURE__ */ new Date(),
@@ -1795,7 +1775,7 @@ function EditCoachingTime(props) {
1795
1775
  }
1796
1776
  )
1797
1777
  ] }),
1798
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
1778
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
1799
1779
  import_themes23.Grid,
1800
1780
  {
1801
1781
  align: "center",
@@ -1810,10 +1790,10 @@ function EditCoachingTime(props) {
1810
1790
  mt: "5",
1811
1791
  width: "100%",
1812
1792
  children: [
1813
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
1814
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", {}),
1815
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
1816
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1793
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
1794
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {}),
1795
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
1796
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1817
1797
  TimeSelect,
1818
1798
  {
1819
1799
  onValueChange: onChangeStartTime,
@@ -1821,8 +1801,8 @@ function EditCoachingTime(props) {
1821
1801
  value: values.startTime
1822
1802
  }
1823
1803
  ),
1824
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ResponseDisplay, { initial: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", {}), xs: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes39.Separator, {}) }),
1825
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1804
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes39.Separator, {}) }),
1805
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1826
1806
  TimeSelect,
1827
1807
  {
1828
1808
  onValueChange: onChangeEndTime,
@@ -1830,36 +1810,36 @@ function EditCoachingTime(props) {
1830
1810
  value: values.endTime
1831
1811
  }
1832
1812
  ),
1833
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
1813
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
1834
1814
  ]
1835
1815
  }
1836
1816
  ),
1837
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
1838
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
1839
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
1817
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
1818
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
1819
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
1840
1820
  ] })
1841
1821
  ] }) });
1842
1822
  }
1843
1823
 
1844
1824
  // src/app/platform/edit-service-type.tsx
1845
- var import_react35 = require("react");
1825
+ var import_react32 = require("react");
1846
1826
 
1847
1827
  // src/app/platform/on-offline-radio-card.tsx
1848
1828
  var import_react_icons9 = require("@radix-ui/react-icons");
1849
- var import_jsx_runtime50 = require("react/jsx-runtime");
1829
+ var import_jsx_runtime49 = require("react/jsx-runtime");
1850
1830
  var SERVICE_TYPE = {
1851
1831
  onlineCoaching: "onlineCoaching",
1852
1832
  offlineCoaching: "offlineCoaching"
1853
1833
  };
1854
1834
  var breakpoint = "sm";
1855
1835
  function HideSmallBox(props) {
1856
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
1836
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
1857
1837
  }
1858
1838
  function OnOfflineRadioCard(props) {
1859
1839
  const Wrapper = props.response ? HideSmallBox : (p) => p.children;
1860
1840
  const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
1861
1841
  const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
1862
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
1842
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
1863
1843
  RadioButtonCard.Root,
1864
1844
  __spreadProps(__spreadValues({
1865
1845
  RadioWrapper: Wrapper,
@@ -1868,13 +1848,13 @@ function OnOfflineRadioCard(props) {
1868
1848
  justify
1869
1849
  }, props), {
1870
1850
  children: [
1871
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
1872
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons9.GlobeIcon, {}) }),
1873
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
1851
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
1852
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_icons9.GlobeIcon, {}) }),
1853
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
1874
1854
  ] }) }),
1875
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
1876
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons9.BackpackIcon, {}) }),
1877
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
1855
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
1856
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_icons9.BackpackIcon, {}) }),
1857
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
1878
1858
  ] }) })
1879
1859
  ]
1880
1860
  })
@@ -1882,18 +1862,18 @@ function OnOfflineRadioCard(props) {
1882
1862
  }
1883
1863
 
1884
1864
  // src/app/platform/edit-service-type.tsx
1885
- var import_jsx_runtime51 = require("react/jsx-runtime");
1865
+ var import_jsx_runtime50 = require("react/jsx-runtime");
1886
1866
  function EditServiceType(props) {
1887
1867
  const { defaultServiceType, onClickCancel } = props;
1888
- const [sessionType, setSessionType] = (0, import_react35.useState)(
1868
+ const [sessionType, setSessionType] = (0, import_react32.useState)(
1889
1869
  defaultServiceType
1890
1870
  );
1891
- const onClickSave = (0, import_react35.useCallback)(() => {
1871
+ const onClickSave = (0, import_react32.useCallback)(() => {
1892
1872
  var _a;
1893
1873
  (_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
1894
1874
  }, [props, sessionType]);
1895
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes6.Box, { children: [
1896
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1875
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes6.Box, { children: [
1876
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
1897
1877
  Typo,
1898
1878
  {
1899
1879
  as: "p",
@@ -1903,16 +1883,16 @@ function EditServiceType(props) {
1903
1883
  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"
1904
1884
  }
1905
1885
  ),
1906
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
1907
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
1908
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
1909
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
1886
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
1887
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
1888
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
1889
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
1910
1890
  ] })
1911
1891
  ] });
1912
1892
  }
1913
1893
 
1914
1894
  // src/app/platform/session-card.tsx
1915
- var import_jsx_runtime52 = require("react/jsx-runtime");
1895
+ var import_jsx_runtime51 = require("react/jsx-runtime");
1916
1896
  var preventDefault2 = (e) => {
1917
1897
  e.preventDefault();
1918
1898
  };
@@ -1942,34 +1922,34 @@ function SessionCard(props) {
1942
1922
  "endAt",
1943
1923
  "sessionType"
1944
1924
  ]);
1945
- const renderEditButton = (0, import_react36.useCallback)(() => {
1946
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react_icons3.Pencil1Icon, {}) });
1925
+ const renderEditButton = (0, import_react33.useCallback)(() => {
1926
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_icons3.Pencil1Icon, {}) });
1947
1927
  }, []);
1948
- const sessionTimeStr = (0, import_react36.useMemo)(() => {
1928
+ const sessionTimeStr = (0, import_react33.useMemo)(() => {
1949
1929
  if (!startAt || !endAt)
1950
1930
  return "\uC54C \uC218 \uC5C6\uC74C";
1951
- return `${(0, import_date_fns5.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns5.format)(endAt, "HH\uC2DC mm\uBD84")}`;
1931
+ 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")}`;
1952
1932
  }, [startAt, endAt]);
1953
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
1954
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
1955
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
1933
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
1934
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
1935
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
1956
1936
  TitleExtra,
1957
- error ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
1937
+ error ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
1958
1938
  ] }),
1959
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Root, { children: [
1960
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Item, { children: [
1961
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
1962
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Value, { children: [
1939
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Root, { children: [
1940
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Item, { children: [
1941
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
1942
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Value, { children: [
1963
1943
  sessionTimeStr,
1964
- editable ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Dialog.Root, { children: [
1965
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Trigger, { children: renderEditButton() }),
1966
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
1944
+ editable ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Dialog.Root, { children: [
1945
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Trigger, { children: renderEditButton() }),
1946
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1967
1947
  Dialog.Content,
1968
1948
  {
1969
1949
  onOpenAutoFocus: preventDefault2,
1970
1950
  style: { overflow: "visible" },
1971
1951
  title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
1972
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
1952
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1973
1953
  EditCoachingTime,
1974
1954
  {
1975
1955
  defaultEndAt: endAt,
@@ -1982,18 +1962,18 @@ function SessionCard(props) {
1982
1962
  ] }) : null
1983
1963
  ] })
1984
1964
  ] }),
1985
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
1986
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Item, { children: [
1987
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
1988
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Value, { children: [
1965
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
1966
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Item, { children: [
1967
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
1968
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Value, { children: [
1989
1969
  sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
1990
- editable ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Dialog.Root, { children: [
1991
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Trigger, { children: renderEditButton() }),
1992
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
1970
+ editable ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Dialog.Root, { children: [
1971
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Trigger, { children: renderEditButton() }),
1972
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1993
1973
  Dialog.Content,
1994
1974
  {
1995
1975
  title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
1996
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
1976
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1997
1977
  EditServiceType,
1998
1978
  {
1999
1979
  defaultServiceType: sessionType,
@@ -2005,32 +1985,32 @@ function SessionCard(props) {
2005
1985
  ] }) : null
2006
1986
  ] })
2007
1987
  ] }),
2008
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
1988
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
2009
1989
  ] })
2010
1990
  ] })
2011
1991
  ] }) }));
2012
1992
  }
2013
1993
 
2014
1994
  // src/app/platform/coach-question-list.tsx
2015
- var import_jsx_runtime53 = require("react/jsx-runtime");
1995
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2016
1996
  function QuestionItem({ question, answer }) {
2017
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes6.Box, { children: [
2018
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
2019
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
1997
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes6.Box, { children: [
1998
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
1999
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
2020
2000
  ] }, question);
2021
2001
  }
2022
2002
  function CoachQuestionList({
2023
2003
  questions
2024
2004
  }) {
2025
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
2026
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(QuestionItem, __spreadValues({}, question), question.question);
2005
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
2006
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(QuestionItem, __spreadValues({}, question), question.question);
2027
2007
  }) });
2028
2008
  }
2029
2009
 
2030
2010
  // src/app/platform/reservation-card.tsx
2031
- var import_react37 = require("react");
2032
- var import_date_fns6 = require("date-fns");
2033
- var import_jsx_runtime54 = require("react/jsx-runtime");
2011
+ var import_react34 = require("react");
2012
+ var import_date_fns7 = require("date-fns");
2013
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2034
2014
  function ReservationCard(props) {
2035
2015
  const {
2036
2016
  sessionNumber,
@@ -2039,129 +2019,159 @@ function ReservationCard(props) {
2039
2019
  defaultTime,
2040
2020
  defaultType,
2041
2021
  error,
2022
+ minTime,
2023
+ maxTime,
2042
2024
  onClickReserve,
2043
2025
  onClickCancel,
2044
2026
  onClickCompleteSession
2045
2027
  } = props;
2046
- const [editValues, setEditValues] = (0, import_react37.useState)({
2028
+ const [editValues, setEditValues] = (0, import_react34.useState)({
2047
2029
  date: props.defaultTime,
2048
2030
  type: props.defaultType
2049
2031
  });
2050
2032
  const date = readonly ? defaultTime : editValues.date;
2051
2033
  const type = readonly ? defaultType : editValues.type;
2052
2034
  const time = date && getTimeOption(date);
2053
- const onClickSave = (0, import_react37.useCallback)(() => {
2035
+ const onClickSave = (0, import_react34.useCallback)(() => {
2054
2036
  var _a;
2055
2037
  (_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
2056
2038
  }, [editValues, props]);
2057
- const onClickReset = (0, import_react37.useCallback)(() => {
2039
+ const onClickReset = (0, import_react34.useCallback)(() => {
2058
2040
  setEditValues({
2059
2041
  date: defaultTime,
2060
2042
  type: defaultType
2061
2043
  });
2062
2044
  }, [defaultTime, defaultType]);
2063
- const ActionButtons = (0, import_react37.useMemo)(() => {
2045
+ const ActionButtons = (0, import_react34.useMemo)(() => {
2064
2046
  if (readonly) {
2065
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
2047
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
2066
2048
  }
2067
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons3.Cross1Icon, {}) });
2049
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_icons3.Cross1Icon, {}) });
2068
2050
  }, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
2069
- const onChangeDate = (0, import_react37.useCallback)(
2051
+ const onChangeDate = (0, import_react34.useCallback)(
2070
2052
  (newDate) => {
2071
2053
  if (!newDate)
2072
2054
  return;
2073
2055
  const { hour = 0, minute = 0 } = time ? parseTimeOption(time) : {};
2074
2056
  setEditValues((prev) => {
2075
2057
  return __spreadProps(__spreadValues({}, prev), {
2076
- date: (0, import_date_fns6.setMinutes)((0, import_date_fns6.setHours)(newDate, hour), minute)
2058
+ date: (0, import_date_fns7.setMinutes)((0, import_date_fns7.setHours)(newDate, hour), minute)
2077
2059
  });
2078
2060
  });
2079
2061
  },
2080
2062
  [time]
2081
2063
  );
2082
- const onChangeType = (0, import_react37.useCallback)((newType) => {
2064
+ const onChangeType = (0, import_react34.useCallback)((newType) => {
2083
2065
  setEditValues((prev) => {
2084
2066
  return __spreadProps(__spreadValues({}, prev), {
2085
2067
  type: newType
2086
2068
  });
2087
2069
  });
2088
2070
  }, []);
2089
- const onChangeTime = (0, import_react37.useCallback)(
2071
+ const onChangeTime = (0, import_react34.useCallback)(
2090
2072
  (v) => {
2091
2073
  const { hour, minute } = parseTimeOption(v);
2092
2074
  setEditValues((prev) => {
2093
2075
  return __spreadProps(__spreadValues({}, prev), {
2094
- date: (0, import_date_fns6.setMinutes)((0, import_date_fns6.setHours)(date || /* @__PURE__ */ new Date(), hour), minute)
2076
+ date: (0, import_date_fns7.setMinutes)((0, import_date_fns7.setHours)(date || /* @__PURE__ */ new Date(), hour), minute)
2095
2077
  });
2096
2078
  });
2097
2079
  },
2098
2080
  [date]
2099
2081
  );
2100
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2082
+ (0, import_react34.useEffect)(() => {
2083
+ if (!minTime || !editValues.date)
2084
+ return;
2085
+ if (editValues.date < minTime) {
2086
+ import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
2087
+ setEditValues((prev) => {
2088
+ return __spreadProps(__spreadValues({}, prev), {
2089
+ date: minTime
2090
+ });
2091
+ });
2092
+ }
2093
+ }, [editValues, minTime]);
2094
+ (0, import_react34.useEffect)(() => {
2095
+ if (!maxTime || !editValues.date)
2096
+ return;
2097
+ if (editValues.date > maxTime) {
2098
+ import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
2099
+ setEditValues((prev) => {
2100
+ return __spreadProps(__spreadValues({}, prev), {
2101
+ date: maxTime
2102
+ });
2103
+ });
2104
+ }
2105
+ }, [editValues, maxTime]);
2106
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2101
2107
  Card,
2102
2108
  {
2103
2109
  error: Boolean(error),
2104
2110
  size: "3",
2105
2111
  style: { overflow: "visible", contain: "initial" },
2106
2112
  children: [
2107
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
2108
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2113
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
2114
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2109
2115
  import_themes23.Grid,
2110
2116
  {
2111
2117
  align: "center",
2112
2118
  columns: { initial: "1", xs: "auto 1fr" },
2113
2119
  gapY: "2",
2114
2120
  children: [
2115
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", children: [
2116
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Heading2, { variant: "heading4", children: [
2121
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", children: [
2122
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Heading2, { variant: "heading4", children: [
2117
2123
  customerName || "-",
2118
2124
  "\uB2D8 ",
2119
2125
  sessionNumber || "-",
2120
2126
  "\uD68C\uCC28 \uC138\uC158"
2121
2127
  ] }),
2122
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
2128
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
2123
2129
  ] }),
2124
- error ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
2130
+ error ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
2125
2131
  ]
2126
2132
  }
2127
2133
  ),
2128
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { children: ActionButtons })
2134
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes22.Flex, { children: ActionButtons })
2129
2135
  ] }),
2130
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2136
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2131
2137
  Form.Root,
2132
2138
  {
2133
2139
  onSubmit: (e) => {
2134
2140
  e.preventDefault();
2135
2141
  },
2136
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
2137
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Form.Label, { asChild: true, children: [
2138
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
2139
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
2140
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2142
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
2143
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Form.Label, { asChild: true, children: [
2144
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
2145
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
2146
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2141
2147
  DatePickerButton,
2142
2148
  {
2143
2149
  disabled: readonly,
2144
- minDate: /* @__PURE__ */ new Date(),
2150
+ maxDate: maxTime,
2151
+ minDate: minTime,
2145
2152
  onChange: onChangeDate,
2146
2153
  placeholder: "\uC77C\uC790\uB97C \uC120\uD0DD\uD574\uC8FC\uC138\uC694",
2147
2154
  selected: date,
2148
2155
  size: "large"
2149
2156
  }
2150
2157
  ),
2151
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2158
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2152
2159
  TimeSelect,
2153
2160
  {
2154
2161
  disabled: readonly,
2162
+ maxTime,
2163
+ minTime,
2155
2164
  onValueChange: onChangeTime,
2156
2165
  size: "3",
2166
+ time: date,
2157
2167
  value: time
2158
2168
  }
2159
2169
  )
2160
2170
  ] })
2161
2171
  ] }) }),
2162
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Form.Field, { name: "type", children: [
2163
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
2164
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2172
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Form.Field, { name: "type", children: [
2173
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
2174
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2165
2175
  OnOfflineRadioCard,
2166
2176
  {
2167
2177
  disabled: readonly,
@@ -2171,8 +2181,8 @@ function ReservationCard(props) {
2171
2181
  }
2172
2182
  ) })
2173
2183
  ] }),
2174
- readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
2175
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2184
+ readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
2185
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2176
2186
  Button,
2177
2187
  {
2178
2188
  color: "gray",
@@ -2182,12 +2192,12 @@ function ReservationCard(props) {
2182
2192
  children: "\uCD08\uAE30\uD654\uD558\uAE30"
2183
2193
  }
2184
2194
  ),
2185
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
2195
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
2186
2196
  ] })
2187
2197
  ] })
2188
2198
  }
2189
2199
  ) }),
2190
- readonly ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2200
+ readonly ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2191
2201
  import_themes6.Box,
2192
2202
  {
2193
2203
  mt: "5",
@@ -2195,14 +2205,14 @@ function ReservationCard(props) {
2195
2205
  py: "4",
2196
2206
  style: { backgroundColor: "var(--accent-a3)" },
2197
2207
  width: "100%",
2198
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
2199
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Typo, { children: [
2208
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
2209
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Typo, { children: [
2200
2210
  sessionNumber || "-",
2201
2211
  "\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
2202
2212
  ] }),
2203
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
2213
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
2204
2214
  "\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
2205
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons3.ArrowRightIcon, {})
2215
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_icons3.ArrowRightIcon, {})
2206
2216
  ] })
2207
2217
  ] })
2208
2218
  }
@@ -2213,22 +2223,22 @@ function ReservationCard(props) {
2213
2223
  }
2214
2224
 
2215
2225
  // src/app/platform/session-review-simple-read.tsx
2216
- var import_react38 = require("react");
2217
- var import_jsx_runtime55 = require("react/jsx-runtime");
2226
+ var import_react35 = require("react");
2227
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2218
2228
  function SubTitleWrapper({
2219
2229
  children,
2220
2230
  title
2221
2231
  }) {
2222
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
2223
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
2224
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children })
2232
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
2233
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
2234
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { children })
2225
2235
  ] });
2226
2236
  }
2227
2237
  function SessionReviewSimpleRead({
2228
2238
  helpfulness,
2229
2239
  review
2230
2240
  }) {
2231
- const helpfulnessMeta = (0, import_react38.useMemo)(() => {
2241
+ const helpfulnessMeta = (0, import_react35.useMemo)(() => {
2232
2242
  if (helpfulness) {
2233
2243
  return {
2234
2244
  text: "\uB124",
@@ -2246,22 +2256,22 @@ function SessionReviewSimpleRead({
2246
2256
  color: "error"
2247
2257
  };
2248
2258
  }, [helpfulness]);
2249
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
2250
- /* @__PURE__ */ (0, import_jsx_runtime55.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_runtime55.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
2251
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
2259
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
2260
+ /* @__PURE__ */ (0, import_jsx_runtime54.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_runtime54.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
2261
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
2252
2262
  ] }) });
2253
2263
  }
2254
2264
 
2255
2265
  // src/app/platform/userInfos/session-user-info-detail.tsx
2256
- var import_jsx_runtime56 = require("react/jsx-runtime");
2266
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2257
2267
  function SectionWrapper({
2258
2268
  title,
2259
2269
  children
2260
2270
  }) {
2261
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes6.Box, { children: [
2262
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
2263
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading5", children: title }),
2264
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes39.Separator, { size: "4" })
2271
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes6.Box, { children: [
2272
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
2273
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { variant: "heading5", children: title }),
2274
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes39.Separator, { size: "4" })
2265
2275
  ] }),
2266
2276
  children
2267
2277
  ] });
@@ -2270,18 +2280,18 @@ function SessionUserInfoDetail({
2270
2280
  customer,
2271
2281
  session
2272
2282
  }) {
2273
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
2274
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes15.DataList.Root, { children: sessionList.map((info) => renderDataListItem(info, session)) }) }),
2275
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes15.DataList.Root, { children: infoList.map((info) => renderDataListItem(info, customer)) }) })
2283
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
2284
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes15.DataList.Root, { children: sessionList.map((info) => renderDataListItem(info, session)) }) }),
2285
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes15.DataList.Root, { children: infoList.map((info) => renderDataListItem(info, customer)) }) })
2276
2286
  ] });
2277
2287
  }
2278
2288
 
2279
2289
  // src/app/platform/report-card.tsx
2280
- var import_react39 = require("react");
2281
- var import_jsx_runtime57 = require("react/jsx-runtime");
2290
+ var import_react36 = require("react");
2291
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2282
2292
  function ReportCard(props) {
2283
2293
  const { title, file, status } = props;
2284
- const onClickDownload = (0, import_react39.useCallback)(() => {
2294
+ const onClickDownload = (0, import_react36.useCallback)(() => {
2285
2295
  if (!file)
2286
2296
  return;
2287
2297
  const { url, fileName } = file;
@@ -2294,21 +2304,21 @@ function ReportCard(props) {
2294
2304
  document.body.removeChild(link);
2295
2305
  }, [file]);
2296
2306
  if (status) {
2297
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
2298
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading4", children: title }),
2307
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
2308
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading4", children: title }),
2299
2309
  status
2300
2310
  ] }) });
2301
2311
  }
2302
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
2312
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
2303
2313
  import_themes22.Flex,
2304
2314
  {
2305
2315
  direction: { initial: "column", xs: "row" },
2306
2316
  gapY: "2",
2307
2317
  justify: "between",
2308
2318
  children: [
2309
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading4", children: title }),
2310
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
2311
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_icons3.DownloadIcon, {}),
2319
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading4", children: title }),
2320
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
2321
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react_icons3.DownloadIcon, {}),
2312
2322
  file == null ? void 0 : file.buttonName
2313
2323
  ] }) }, file == null ? void 0 : file.url)
2314
2324
  ]