@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
package/dist/index.cjs CHANGED
@@ -127,6 +127,7 @@ __export(src_exports, {
127
127
  Flex: () => import_themes22.Flex,
128
128
  ForceRefresh: () => ForceRefresh,
129
129
  Form: () => Form,
130
+ FormItem: () => FormItem,
130
131
  GearIcon: () => import_react_icons3.GearIcon,
131
132
  GlobeIcon: () => import_react_icons3.GlobeIcon,
132
133
  GoalManageCardEdit: () => GoalManageCardEdit,
@@ -161,7 +162,6 @@ __export(src_exports, {
161
162
  ReloadIcon: () => import_react_icons3.ReloadIcon,
162
163
  ReportCard: () => ReportCard,
163
164
  ReservationCard: () => ReservationCard,
164
- ResponseDisplay: () => ResponseDisplay,
165
165
  RocketIcon: () => import_react_icons3.RocketIcon,
166
166
  Root: () => Root6,
167
167
  RowsIcon: () => import_react_icons3.RowsIcon,
@@ -1086,6 +1086,7 @@ function Content6(props) {
1086
1086
  const separatorSize = 1;
1087
1087
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Dialog2.Portal, { container: containerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_themes50.Theme, { children: [
1088
1088
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
1089
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ToastContainer, {}),
1089
1090
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1090
1091
  Dialog2.Content,
1091
1092
  __spreadProps(__spreadValues({
@@ -1124,7 +1125,7 @@ var Drawer = {
1124
1125
  Description: Dialog2.Description
1125
1126
  };
1126
1127
 
1127
- // src/molecules/form.tsx
1128
+ // src/molecules/form/form.tsx
1128
1129
  var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
1129
1130
  var import_react18 = require("react");
1130
1131
  var import_jsx_runtime22 = require("react/jsx-runtime");
@@ -1225,13 +1226,32 @@ var Control2 = (0, import_react18.forwardRef)(
1225
1226
  }
1226
1227
  );
1227
1228
  Control2.displayName = "FORM_Control";
1229
+ function FormItem(_a) {
1230
+ var _b = _a, {
1231
+ label,
1232
+ labelVariant,
1233
+ children,
1234
+ errorMessage
1235
+ } = _b, fieldProps = __objRest(_b, [
1236
+ "label",
1237
+ "labelVariant",
1238
+ "children",
1239
+ "errorMessage"
1240
+ ]);
1241
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
1242
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Form.Label, { variant: labelVariant, children: label }),
1243
+ children,
1244
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
1245
+ ] }));
1246
+ }
1228
1247
  var Form = {
1229
1248
  Root: Root8,
1230
1249
  Field: Field2,
1231
1250
  Label: Label2,
1232
1251
  Message: Message2,
1233
1252
  Control: RadixForm.Control,
1234
- Submit: RadixForm.Submit
1253
+ Submit: RadixForm.Submit,
1254
+ FormItem
1235
1255
  };
1236
1256
 
1237
1257
  // src/atoms/auto-sizing-input.tsx
@@ -2439,6 +2459,7 @@ function DatePickerButton(props) {
2439
2459
 
2440
2460
  // src/molecules/time-select.tsx
2441
2461
  var import_react27 = require("react");
2462
+ var import_date_fns2 = require("date-fns");
2442
2463
 
2443
2464
  // src/utils/get-cell-align.ts
2444
2465
  var getCellAlign = (type) => {
@@ -2511,18 +2532,40 @@ var getTimeOption = (time) => {
2511
2532
 
2512
2533
  // src/molecules/time-select.tsx
2513
2534
  var import_jsx_runtime38 = require("react/jsx-runtime");
2535
+ var getOptionValue = (date, timeValue) => {
2536
+ if (date && timeValue) {
2537
+ if ((0, import_date_fns2.format)(date, "yyyyMMdd") === (0, import_date_fns2.format)(timeValue, "yyyyMMdd")) {
2538
+ return (0, import_date_fns2.format)(date, "HH:mm");
2539
+ }
2540
+ }
2541
+ };
2514
2542
  function TimeSelect(_a) {
2515
2543
  var _b = _a, {
2516
- value
2544
+ value,
2545
+ maxTime,
2546
+ minTime,
2547
+ time
2517
2548
  } = _b, rest = __objRest(_b, [
2518
- "value"
2549
+ "value",
2550
+ "maxTime",
2551
+ "minTime",
2552
+ "time"
2519
2553
  ]);
2520
2554
  const timeOptions = (0, import_react27.useMemo)(() => {
2521
2555
  return getTimeOptions();
2522
2556
  }, []);
2557
+ const [minOption, maxOption] = (0, import_react27.useMemo)(() => {
2558
+ return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
2559
+ }, [maxTime, minTime, time]);
2523
2560
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
2524
2561
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" } }) }),
2525
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Content, { children: timeOptions.map((time) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Item, { value: time, children: time }, time)) })
2562
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Content, { children: timeOptions.map((option) => {
2563
+ const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
2564
+ if (!visible) {
2565
+ return null;
2566
+ }
2567
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Item, { value: option, children: option }, option);
2568
+ }) })
2526
2569
  ] }));
2527
2570
  }
2528
2571
 
@@ -2788,20 +2831,12 @@ var EchartDefaultProps = {
2788
2831
  };
2789
2832
 
2790
2833
  // src/app/platform/userInfos/coaching-customer-info/small.tsx
2791
- var import_react29 = require("react");
2792
- var import_biz_utils = require("@tipp/biz-utils");
2793
2834
  var import_jsx_runtime42 = require("react/jsx-runtime");
2794
2835
  function CoachingCustomerInfoSmall({
2795
2836
  customer,
2796
- session,
2797
- children
2837
+ children,
2838
+ badge
2798
2839
  }) {
2799
- const badgeColor = (0, import_react29.useMemo)(() => {
2800
- return (0, import_biz_utils.getColorFromProjectState)(session == null ? void 0 : session.state);
2801
- }, [session == null ? void 0 : session.state]);
2802
- const sessionText = (0, import_react29.useMemo)(() => {
2803
- return (0, import_biz_utils.getTextFromProjectState)(session == null ? void 0 : session.state);
2804
- }, [session == null ? void 0 : session.state]);
2805
2840
  return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2806
2841
  import_themes22.Flex,
2807
2842
  {
@@ -2812,7 +2847,7 @@ function CoachingCustomerInfoSmall({
2812
2847
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
2813
2848
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
2814
2849
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
2815
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Badge, { color: badgeColor, children: sessionText }) })
2850
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
2816
2851
  ] }) }),
2817
2852
  children
2818
2853
  ]
@@ -2820,12 +2855,8 @@ function CoachingCustomerInfoSmall({
2820
2855
  );
2821
2856
  }
2822
2857
 
2823
- // src/app/platform/userInfos/coaching-customer-info/medium.tsx
2824
- var import_react30 = require("react");
2825
- var import_biz_utils2 = require("@tipp/biz-utils");
2826
-
2827
2858
  // src/app/platform/userInfos/utils.tsx
2828
- var import_date_fns2 = require("date-fns");
2859
+ var import_date_fns3 = require("date-fns");
2829
2860
  var import_react_icons8 = require("@radix-ui/react-icons");
2830
2861
  var import_jsx_runtime43 = require("react/jsx-runtime");
2831
2862
  var infoList = [
@@ -2833,7 +2864,7 @@ var infoList = [
2833
2864
  { label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
2834
2865
  {
2835
2866
  label: "\uC0DD\uB144\uC6D4\uC77C",
2836
- getValue: (customer) => (customer == null ? void 0 : customer.birthdate) && (0, import_date_fns2.format)(customer.birthdate, "yyyy.MM.dd")
2867
+ getValue: (customer) => (customer == null ? void 0 : customer.birthdate) && (0, import_date_fns3.format)(customer.birthdate, "yyyy.MM.dd")
2837
2868
  },
2838
2869
  { label: "\uBD80\uC11C", getValue: (customer) => customer == null ? void 0 : customer.team },
2839
2870
  { label: "\uC9C1\uCC45", getValue: (customer) => customer == null ? void 0 : customer.position },
@@ -2867,7 +2898,7 @@ var sessionList = [
2867
2898
  {
2868
2899
  label: "\uB2E4\uC74C \uC138\uC158 \uC77C\uC2DC",
2869
2900
  getValue: (session) => sessionStatusChecker(
2870
- (session == null ? void 0 : session.nextSessionDate) ? (0, import_date_fns2.format)(session.nextSessionDate, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84") : "-",
2901
+ (session == null ? void 0 : session.nextSessionDate) ? (0, import_date_fns3.format)(session.nextSessionDate, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84") : "-",
2871
2902
  session
2872
2903
  )
2873
2904
  },
@@ -2877,7 +2908,7 @@ var sessionList = [
2877
2908
  },
2878
2909
  {
2879
2910
  label: "\uCF54\uCE6D \uB9CC\uB8CC \uAE30\uD55C",
2880
- getValue: (session) => (session == null ? void 0 : session.expiredAt) ? (0, import_date_fns2.format)(session.expiredAt, "yyyy\uB144 MM\uC6D4 dd\uC77C") : "-"
2911
+ getValue: (session) => (session == null ? void 0 : session.expiredAt) ? (0, import_date_fns3.format)(session.expiredAt, "yyyy\uB144 MM\uC6D4 dd\uC77C") : "-"
2881
2912
  }
2882
2913
  ];
2883
2914
  var renderItem = (info, data) => {
@@ -2914,19 +2945,14 @@ var import_jsx_runtime44 = require("react/jsx-runtime");
2914
2945
  function CoachingCustomerInfoMedium({
2915
2946
  customer,
2916
2947
  session,
2917
- children
2948
+ children,
2949
+ badge
2918
2950
  }) {
2919
- const badgeColor = (0, import_react30.useMemo)(() => {
2920
- return (0, import_biz_utils2.getColorFromProjectState)(session == null ? void 0 : session.state);
2921
- }, [session == null ? void 0 : session.state]);
2922
- const sessionText = (0, import_react30.useMemo)(() => {
2923
- return (0, import_biz_utils2.getTextFromProjectState)(session == null ? void 0 : session.state);
2924
- }, [session == null ? void 0 : session.state]);
2925
2951
  return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
2926
2952
  /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_themes6.Box, { children: [
2927
2953
  /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
2928
2954
  /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
2929
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Badge, { color: badgeColor, children: sessionText })
2955
+ badge
2930
2956
  ] }),
2931
2957
  /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
2932
2958
  ] }),
@@ -2943,25 +2969,18 @@ function CoachingCustomerInfoMedium({
2943
2969
  }
2944
2970
 
2945
2971
  // src/app/platform/userInfos/coaching-customer-info/large.tsx
2946
- var import_react31 = require("react");
2947
- var import_biz_utils3 = require("@tipp/biz-utils");
2948
2972
  var import_jsx_runtime45 = require("react/jsx-runtime");
2949
2973
  function CoachingCustomerInfoLarge({
2950
2974
  customer,
2951
2975
  session,
2952
- children
2976
+ children,
2977
+ badge
2953
2978
  }) {
2954
- const badgeColor = (0, import_react31.useMemo)(() => {
2955
- return (0, import_biz_utils3.getColorFromProjectState)(session == null ? void 0 : session.state);
2956
- }, [session == null ? void 0 : session.state]);
2957
- const sessionText = (0, import_react31.useMemo)(() => {
2958
- return (0, import_biz_utils3.getTextFromProjectState)(session == null ? void 0 : session.state);
2959
- }, [session == null ? void 0 : session.state]);
2960
2979
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
2961
2980
  /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes6.Box, { children: [
2962
2981
  /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
2963
2982
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
2964
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Badge, { color: badgeColor, children: sessionText })
2983
+ badge
2965
2984
  ] }),
2966
2985
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
2967
2986
  ] }),
@@ -2983,8 +3002,8 @@ function CoachingCustomerInfo(props) {
2983
3002
  }
2984
3003
 
2985
3004
  // src/app/platform/goal-manage-card-read.tsx
2986
- var import_react32 = require("react");
2987
- var import_date_fns3 = require("date-fns");
3005
+ var import_react29 = require("react");
3006
+ var import_date_fns4 = require("date-fns");
2988
3007
  var import_jsx_runtime47 = require("react/jsx-runtime");
2989
3008
  function GoalManageCardRead(props) {
2990
3009
  const {
@@ -2999,29 +3018,29 @@ function GoalManageCardRead(props) {
2999
3018
  onClickIncomplete,
3000
3019
  onClickComplete
3001
3020
  } = props;
3002
- const [open, setOpen] = (0, import_react32.useState)(Boolean(defaultOpen));
3003
- const onClickOpen = (0, import_react32.useCallback)(() => {
3021
+ const [open, setOpen] = (0, import_react29.useState)(Boolean(defaultOpen));
3022
+ const onClickOpen = (0, import_react29.useCallback)(() => {
3004
3023
  setOpen((p) => !p);
3005
3024
  }, []);
3006
3025
  const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_icons3.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_icons3.ChevronDownIcon, {});
3007
- const badgeMeta = (0, import_react32.useMemo)(() => {
3026
+ const badgeMeta = (0, import_react29.useMemo)(() => {
3008
3027
  if (!completed && dueDate) {
3009
- if (dueDate < /* @__PURE__ */ new Date())
3010
- return { color: "error", children: "\uBBF8\uB2EC\uC131" };
3011
- return {
3012
- color: "success",
3013
- children: "\uC9C4\uD589 \uC911"
3014
- };
3028
+ if (dueDate >= (0, import_date_fns4.startOfDay)(/* @__PURE__ */ new Date()))
3029
+ return {
3030
+ color: "success",
3031
+ children: "\uC9C4\uD589 \uC911"
3032
+ };
3033
+ return { color: "error", children: "\uBBF8\uB2EC\uC131" };
3015
3034
  }
3016
3035
  return null;
3017
3036
  }, [completed, dueDate]);
3018
- const renderSubTitle = (0, import_react32.useCallback)((subTitle) => {
3037
+ const renderSubTitle = (0, import_react29.useCallback)((subTitle) => {
3019
3038
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
3020
3039
  }, []);
3021
- const renderSubContent = (0, import_react32.useCallback)((content) => {
3040
+ const renderSubContent = (0, import_react29.useCallback)((content) => {
3022
3041
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Typo, { as: "p", color: "gray", children: content });
3023
3042
  }, []);
3024
- const renderCompleteButton = (0, import_react32.useCallback)(() => {
3043
+ const renderCompleteButton = (0, import_react29.useCallback)(() => {
3025
3044
  if (completed) {
3026
3045
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
3027
3046
  }
@@ -3045,7 +3064,7 @@ function GoalManageCardRead(props) {
3045
3064
  /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
3046
3065
  /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
3047
3066
  badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
3048
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns3.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
3067
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns4.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
3049
3068
  ] }),
3050
3069
  renderCompleteButton()
3051
3070
  ] }),
@@ -3067,7 +3086,9 @@ function GoalManageCardRead(props) {
3067
3086
  renderSubContent(expectedEffect)
3068
3087
  ] }),
3069
3088
  /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes6.Box, { children: [
3070
- renderSubTitle("\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uAE30 \uC704\uD574 \uD544\uC694\uD55C \uD5C8\uB4E4"),
3089
+ renderSubTitle(
3090
+ "\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"
3091
+ ),
3071
3092
  renderSubContent(huddle)
3072
3093
  ] })
3073
3094
  ] }),
@@ -3095,8 +3116,8 @@ function GoalManageCardRead(props) {
3095
3116
  }
3096
3117
 
3097
3118
  // src/app/platform/goal-manage-card-edit.tsx
3098
- var import_react33 = require("react");
3099
- var import_date_fns4 = require("date-fns");
3119
+ var import_react30 = require("react");
3120
+ var import_date_fns5 = require("date-fns");
3100
3121
  var import_jsx_runtime48 = require("react/jsx-runtime");
3101
3122
  var initialValues = {
3102
3123
  goal: "",
@@ -3108,8 +3129,8 @@ var dummyFn = () => {
3108
3129
  };
3109
3130
  function GoalManageCardEdit(props) {
3110
3131
  const { defaultValues, errors } = props;
3111
- const [values, setValues] = (0, import_react33.useState)(defaultValues || initialValues);
3112
- const onChange = (0, import_react33.useCallback)(
3132
+ const [values, setValues] = (0, import_react30.useState)(defaultValues || initialValues);
3133
+ const onChange = (0, import_react30.useCallback)(
3113
3134
  (v) => {
3114
3135
  var _a;
3115
3136
  setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
@@ -3117,12 +3138,12 @@ function GoalManageCardEdit(props) {
3117
3138
  },
3118
3139
  [props]
3119
3140
  );
3120
- const onClickInit = (0, import_react33.useCallback)(() => {
3141
+ const onClickInit = (0, import_react30.useCallback)(() => {
3121
3142
  var _a;
3122
3143
  setValues(initialValues);
3123
3144
  (_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
3124
3145
  }, [defaultValues, props]);
3125
- const onClickSubmit = (0, import_react33.useCallback)(() => {
3146
+ const onClickSubmit = (0, import_react30.useCallback)(() => {
3126
3147
  var _a;
3127
3148
  (_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
3128
3149
  }, [props, values]);
@@ -3182,7 +3203,7 @@ function GoalManageCardEdit(props) {
3182
3203
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
3183
3204
  DatePickerButton,
3184
3205
  {
3185
- format: (v) => (0, import_date_fns4.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
3206
+ format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
3186
3207
  onChange: (date) => {
3187
3208
  date && onChange({ dueDate: date });
3188
3209
  },
@@ -3211,52 +3232,12 @@ function GoalManageCardEdit(props) {
3211
3232
  }
3212
3233
 
3213
3234
  // src/app/platform/session-card.tsx
3214
- var import_react36 = require("react");
3215
- var import_date_fns5 = require("date-fns");
3235
+ var import_react33 = require("react");
3236
+ var import_date_fns6 = require("date-fns");
3216
3237
 
3217
3238
  // src/app/platform/edit-coaching-time.tsx
3218
- var import_react34 = require("react");
3219
-
3220
- // src/layouts/response-display.tsx
3239
+ var import_react31 = require("react");
3221
3240
  var import_jsx_runtime49 = require("react/jsx-runtime");
3222
- var breakpoints = ["initial", "xs", "sm", "md", "lg", "xl"];
3223
- var sortByBreakpoint = (a, b) => {
3224
- return breakpoints.indexOf(a[0]) - breakpoints.indexOf(b[0]);
3225
- };
3226
- var getDisplay = (prev, cur, index) => {
3227
- const result = {};
3228
- if (prev) {
3229
- result.initial = "none";
3230
- }
3231
- if (cur) {
3232
- result[cur] = "block";
3233
- }
3234
- if (index) {
3235
- result[index] = "none";
3236
- }
3237
- return result;
3238
- };
3239
- function ResponseDisplay(props) {
3240
- const sortedChildren = Object.entries(props).sort(sortByBreakpoint);
3241
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, { children: sortedChildren.map(([key, value], index) => {
3242
- var _a, _b, _c;
3243
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3244
- import_themes6.Box,
3245
- {
3246
- display: getDisplay(
3247
- (_a = sortedChildren[index - 1]) == null ? void 0 : _a[0],
3248
- (_b = sortedChildren[index]) == null ? void 0 : _b[0],
3249
- (_c = sortedChildren[index + 1]) == null ? void 0 : _c[0]
3250
- ),
3251
- children: value
3252
- },
3253
- key
3254
- );
3255
- }) });
3256
- }
3257
-
3258
- // src/app/platform/edit-coaching-time.tsx
3259
- var import_jsx_runtime50 = require("react/jsx-runtime");
3260
3241
  var getValueFromDefaultValue = (args) => {
3261
3242
  return {
3262
3243
  startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
@@ -3276,14 +3257,14 @@ var getDateFromValue = (date, time) => {
3276
3257
  };
3277
3258
  function EditCoachingTime(props) {
3278
3259
  const { defaultEndAt, defaultStartAt, onClickCancel } = props;
3279
- const [values, setValues] = (0, import_react34.useState)(() => {
3260
+ const [values, setValues] = (0, import_react31.useState)(() => {
3280
3261
  return getValueFromDefaultValue({
3281
3262
  startAt: defaultStartAt,
3282
3263
  endAt: defaultEndAt
3283
3264
  });
3284
3265
  });
3285
- const [timeError, setTimeError] = (0, import_react34.useState)("");
3286
- const checkTimeError = (0, import_react34.useCallback)(
3266
+ const [timeError, setTimeError] = (0, import_react31.useState)("");
3267
+ const checkTimeError = (0, import_react31.useCallback)(
3287
3268
  (startTime, endTime) => {
3288
3269
  const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
3289
3270
  if (error) {
@@ -3294,7 +3275,7 @@ function EditCoachingTime(props) {
3294
3275
  },
3295
3276
  []
3296
3277
  );
3297
- const onChangeStartTime = (0, import_react34.useCallback)(
3278
+ const onChangeStartTime = (0, import_react31.useCallback)(
3298
3279
  (v) => {
3299
3280
  checkTimeError(v, values.endTime);
3300
3281
  setValues((prev) => __spreadProps(__spreadValues({}, prev), {
@@ -3303,7 +3284,7 @@ function EditCoachingTime(props) {
3303
3284
  },
3304
3285
  [checkTimeError, values.endTime]
3305
3286
  );
3306
- const onChangeEndTime = (0, import_react34.useCallback)(
3287
+ const onChangeEndTime = (0, import_react31.useCallback)(
3307
3288
  (v) => {
3308
3289
  checkTimeError(values.startTime, v);
3309
3290
  setValues((prev) => __spreadProps(__spreadValues({}, prev), {
@@ -3312,12 +3293,12 @@ function EditCoachingTime(props) {
3312
3293
  },
3313
3294
  [checkTimeError, values.startTime]
3314
3295
  );
3315
- const onChangeDate = (0, import_react34.useCallback)((date) => {
3296
+ const onChangeDate = (0, import_react31.useCallback)((date) => {
3316
3297
  date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
3317
3298
  date
3318
3299
  }));
3319
3300
  }, []);
3320
- const onClickSave = (0, import_react34.useCallback)(() => {
3301
+ const onClickSave = (0, import_react31.useCallback)(() => {
3321
3302
  if (checkTimeError(values.startTime, values.endTime)) {
3322
3303
  const startAt = getDateFromValue(values.date, values.startTime);
3323
3304
  const endAt = getDateFromValue(values.date, values.endTime);
@@ -3326,10 +3307,10 @@ function EditCoachingTime(props) {
3326
3307
  import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
3327
3308
  }
3328
3309
  }, [checkTimeError, props, values.date, values.endTime, values.startTime]);
3329
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Form.Root, { children: [
3330
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Form.Field, { name: "date", children: [
3331
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
3332
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3310
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Root, { children: [
3311
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "date", children: [
3312
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
3313
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3333
3314
  DatePickerButton,
3334
3315
  {
3335
3316
  maxDate: /* @__PURE__ */ new Date(),
@@ -3339,7 +3320,7 @@ function EditCoachingTime(props) {
3339
3320
  }
3340
3321
  )
3341
3322
  ] }),
3342
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
3323
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
3343
3324
  import_themes23.Grid,
3344
3325
  {
3345
3326
  align: "center",
@@ -3354,10 +3335,10 @@ function EditCoachingTime(props) {
3354
3335
  mt: "5",
3355
3336
  width: "100%",
3356
3337
  children: [
3357
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
3358
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {}),
3359
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
3360
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3338
+ /* @__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" }) }),
3339
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", {}),
3340
+ /* @__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" }) }),
3341
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3361
3342
  TimeSelect,
3362
3343
  {
3363
3344
  onValueChange: onChangeStartTime,
@@ -3365,8 +3346,8 @@ function EditCoachingTime(props) {
3365
3346
  value: values.startTime
3366
3347
  }
3367
3348
  ),
3368
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ResponseDisplay, { initial: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {}), xs: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes39.Separator, {}) }),
3369
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3349
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes39.Separator, {}) }),
3350
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3370
3351
  TimeSelect,
3371
3352
  {
3372
3353
  onValueChange: onChangeEndTime,
@@ -3374,36 +3355,36 @@ function EditCoachingTime(props) {
3374
3355
  value: values.endTime
3375
3356
  }
3376
3357
  ),
3377
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
3358
+ /* @__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 }) })
3378
3359
  ]
3379
3360
  }
3380
3361
  ),
3381
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
3382
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
3383
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
3362
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
3363
+ /* @__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" }) }),
3364
+ /* @__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" }) })
3384
3365
  ] })
3385
3366
  ] }) });
3386
3367
  }
3387
3368
 
3388
3369
  // src/app/platform/edit-service-type.tsx
3389
- var import_react35 = require("react");
3370
+ var import_react32 = require("react");
3390
3371
 
3391
3372
  // src/app/platform/on-offline-radio-card.tsx
3392
3373
  var import_react_icons9 = require("@radix-ui/react-icons");
3393
- var import_jsx_runtime51 = require("react/jsx-runtime");
3374
+ var import_jsx_runtime50 = require("react/jsx-runtime");
3394
3375
  var SERVICE_TYPE = {
3395
3376
  onlineCoaching: "onlineCoaching",
3396
3377
  offlineCoaching: "offlineCoaching"
3397
3378
  };
3398
3379
  var breakpoint = "sm";
3399
3380
  function HideSmallBox(props) {
3400
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
3381
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
3401
3382
  }
3402
3383
  function OnOfflineRadioCard(props) {
3403
3384
  const Wrapper = props.response ? HideSmallBox : (p) => p.children;
3404
3385
  const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
3405
3386
  const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
3406
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
3387
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
3407
3388
  RadioButtonCard.Root,
3408
3389
  __spreadProps(__spreadValues({
3409
3390
  RadioWrapper: Wrapper,
@@ -3412,13 +3393,13 @@ function OnOfflineRadioCard(props) {
3412
3393
  justify
3413
3394
  }, props), {
3414
3395
  children: [
3415
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
3416
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_icons9.GlobeIcon, {}) }),
3417
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
3396
+ /* @__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: [
3397
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons9.GlobeIcon, {}) }),
3398
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
3418
3399
  ] }) }),
3419
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
3420
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_icons9.BackpackIcon, {}) }),
3421
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
3400
+ /* @__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: [
3401
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons9.BackpackIcon, {}) }),
3402
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
3422
3403
  ] }) })
3423
3404
  ]
3424
3405
  })
@@ -3426,18 +3407,18 @@ function OnOfflineRadioCard(props) {
3426
3407
  }
3427
3408
 
3428
3409
  // src/app/platform/edit-service-type.tsx
3429
- var import_jsx_runtime52 = require("react/jsx-runtime");
3410
+ var import_jsx_runtime51 = require("react/jsx-runtime");
3430
3411
  function EditServiceType(props) {
3431
3412
  const { defaultServiceType, onClickCancel } = props;
3432
- const [sessionType, setSessionType] = (0, import_react35.useState)(
3413
+ const [sessionType, setSessionType] = (0, import_react32.useState)(
3433
3414
  defaultServiceType
3434
3415
  );
3435
- const onClickSave = (0, import_react35.useCallback)(() => {
3416
+ const onClickSave = (0, import_react32.useCallback)(() => {
3436
3417
  var _a;
3437
3418
  (_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
3438
3419
  }, [props, sessionType]);
3439
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes6.Box, { children: [
3440
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3420
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes6.Box, { children: [
3421
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3441
3422
  Typo,
3442
3423
  {
3443
3424
  as: "p",
@@ -3447,16 +3428,16 @@ function EditServiceType(props) {
3447
3428
  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"
3448
3429
  }
3449
3430
  ),
3450
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
3451
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
3452
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
3453
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
3431
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
3432
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
3433
+ /* @__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" }) }),
3434
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
3454
3435
  ] })
3455
3436
  ] });
3456
3437
  }
3457
3438
 
3458
3439
  // src/app/platform/session-card.tsx
3459
- var import_jsx_runtime53 = require("react/jsx-runtime");
3440
+ var import_jsx_runtime52 = require("react/jsx-runtime");
3460
3441
  var preventDefault3 = (e) => {
3461
3442
  e.preventDefault();
3462
3443
  };
@@ -3486,34 +3467,34 @@ function SessionCard(props) {
3486
3467
  "endAt",
3487
3468
  "sessionType"
3488
3469
  ]);
3489
- const renderEditButton = (0, import_react36.useCallback)(() => {
3490
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_icons3.Pencil1Icon, {}) });
3470
+ const renderEditButton = (0, import_react33.useCallback)(() => {
3471
+ 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, {}) });
3491
3472
  }, []);
3492
- const sessionTimeStr = (0, import_react36.useMemo)(() => {
3473
+ const sessionTimeStr = (0, import_react33.useMemo)(() => {
3493
3474
  if (!startAt || !endAt)
3494
3475
  return "\uC54C \uC218 \uC5C6\uC74C";
3495
- 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")}`;
3476
+ 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")}`;
3496
3477
  }, [startAt, endAt]);
3497
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
3498
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
3499
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
3478
+ 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: [
3479
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
3480
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
3500
3481
  TitleExtra,
3501
- error ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
3482
+ error ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
3502
3483
  ] }),
3503
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Root, { children: [
3504
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Item, { children: [
3505
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
3506
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Value, { children: [
3484
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Root, { children: [
3485
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Item, { children: [
3486
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
3487
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Value, { children: [
3507
3488
  sessionTimeStr,
3508
- editable ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Dialog.Root, { children: [
3509
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Dialog.Trigger, { children: renderEditButton() }),
3510
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3489
+ editable ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Dialog.Root, { children: [
3490
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Trigger, { children: renderEditButton() }),
3491
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3511
3492
  Dialog.Content,
3512
3493
  {
3513
3494
  onOpenAutoFocus: preventDefault3,
3514
3495
  style: { overflow: "visible" },
3515
3496
  title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
3516
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3497
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3517
3498
  EditCoachingTime,
3518
3499
  {
3519
3500
  defaultEndAt: endAt,
@@ -3526,18 +3507,18 @@ function SessionCard(props) {
3526
3507
  ] }) : null
3527
3508
  ] })
3528
3509
  ] }),
3529
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
3530
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Item, { children: [
3531
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
3532
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Value, { children: [
3510
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
3511
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Item, { children: [
3512
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
3513
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Value, { children: [
3533
3514
  sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
3534
- editable ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Dialog.Root, { children: [
3535
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Dialog.Trigger, { children: renderEditButton() }),
3536
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3515
+ editable ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Dialog.Root, { children: [
3516
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Trigger, { children: renderEditButton() }),
3517
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3537
3518
  Dialog.Content,
3538
3519
  {
3539
3520
  title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
3540
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3521
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3541
3522
  EditServiceType,
3542
3523
  {
3543
3524
  defaultServiceType: sessionType,
@@ -3549,32 +3530,32 @@ function SessionCard(props) {
3549
3530
  ] }) : null
3550
3531
  ] })
3551
3532
  ] }),
3552
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
3533
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
3553
3534
  ] })
3554
3535
  ] })
3555
3536
  ] }) }));
3556
3537
  }
3557
3538
 
3558
3539
  // src/app/platform/coach-question-list.tsx
3559
- var import_jsx_runtime54 = require("react/jsx-runtime");
3540
+ var import_jsx_runtime53 = require("react/jsx-runtime");
3560
3541
  function QuestionItem({ question, answer }) {
3561
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes6.Box, { children: [
3562
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
3563
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
3542
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes6.Box, { children: [
3543
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
3544
+ /* @__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." }) })
3564
3545
  ] }, question);
3565
3546
  }
3566
3547
  function CoachQuestionList({
3567
3548
  questions
3568
3549
  }) {
3569
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
3570
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(QuestionItem, __spreadValues({}, question), question.question);
3550
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
3551
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(QuestionItem, __spreadValues({}, question), question.question);
3571
3552
  }) });
3572
3553
  }
3573
3554
 
3574
3555
  // src/app/platform/reservation-card.tsx
3575
- var import_react37 = require("react");
3576
- var import_date_fns6 = require("date-fns");
3577
- var import_jsx_runtime55 = require("react/jsx-runtime");
3556
+ var import_react34 = require("react");
3557
+ var import_date_fns7 = require("date-fns");
3558
+ var import_jsx_runtime54 = require("react/jsx-runtime");
3578
3559
  function ReservationCard(props) {
3579
3560
  const {
3580
3561
  sessionNumber,
@@ -3583,129 +3564,159 @@ function ReservationCard(props) {
3583
3564
  defaultTime,
3584
3565
  defaultType,
3585
3566
  error,
3567
+ minTime,
3568
+ maxTime,
3586
3569
  onClickReserve,
3587
3570
  onClickCancel,
3588
3571
  onClickCompleteSession
3589
3572
  } = props;
3590
- const [editValues, setEditValues] = (0, import_react37.useState)({
3573
+ const [editValues, setEditValues] = (0, import_react34.useState)({
3591
3574
  date: props.defaultTime,
3592
3575
  type: props.defaultType
3593
3576
  });
3594
3577
  const date = readonly ? defaultTime : editValues.date;
3595
3578
  const type = readonly ? defaultType : editValues.type;
3596
3579
  const time = date && getTimeOption(date);
3597
- const onClickSave = (0, import_react37.useCallback)(() => {
3580
+ const onClickSave = (0, import_react34.useCallback)(() => {
3598
3581
  var _a;
3599
3582
  (_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
3600
3583
  }, [editValues, props]);
3601
- const onClickReset = (0, import_react37.useCallback)(() => {
3584
+ const onClickReset = (0, import_react34.useCallback)(() => {
3602
3585
  setEditValues({
3603
3586
  date: defaultTime,
3604
3587
  type: defaultType
3605
3588
  });
3606
3589
  }, [defaultTime, defaultType]);
3607
- const ActionButtons = (0, import_react37.useMemo)(() => {
3590
+ const ActionButtons = (0, import_react34.useMemo)(() => {
3608
3591
  if (readonly) {
3609
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
3592
+ 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" });
3610
3593
  }
3611
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons3.Cross1Icon, {}) });
3594
+ 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, {}) });
3612
3595
  }, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
3613
- const onChangeDate = (0, import_react37.useCallback)(
3596
+ const onChangeDate = (0, import_react34.useCallback)(
3614
3597
  (newDate) => {
3615
3598
  if (!newDate)
3616
3599
  return;
3617
3600
  const { hour = 0, minute = 0 } = time ? parseTimeOption(time) : {};
3618
3601
  setEditValues((prev) => {
3619
3602
  return __spreadProps(__spreadValues({}, prev), {
3620
- date: (0, import_date_fns6.setMinutes)((0, import_date_fns6.setHours)(newDate, hour), minute)
3603
+ date: (0, import_date_fns7.setMinutes)((0, import_date_fns7.setHours)(newDate, hour), minute)
3621
3604
  });
3622
3605
  });
3623
3606
  },
3624
3607
  [time]
3625
3608
  );
3626
- const onChangeType = (0, import_react37.useCallback)((newType) => {
3609
+ const onChangeType = (0, import_react34.useCallback)((newType) => {
3627
3610
  setEditValues((prev) => {
3628
3611
  return __spreadProps(__spreadValues({}, prev), {
3629
3612
  type: newType
3630
3613
  });
3631
3614
  });
3632
3615
  }, []);
3633
- const onChangeTime = (0, import_react37.useCallback)(
3616
+ const onChangeTime = (0, import_react34.useCallback)(
3634
3617
  (v) => {
3635
3618
  const { hour, minute } = parseTimeOption(v);
3636
3619
  setEditValues((prev) => {
3637
3620
  return __spreadProps(__spreadValues({}, prev), {
3638
- date: (0, import_date_fns6.setMinutes)((0, import_date_fns6.setHours)(date || /* @__PURE__ */ new Date(), hour), minute)
3621
+ date: (0, import_date_fns7.setMinutes)((0, import_date_fns7.setHours)(date || /* @__PURE__ */ new Date(), hour), minute)
3639
3622
  });
3640
3623
  });
3641
3624
  },
3642
3625
  [date]
3643
3626
  );
3644
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3627
+ (0, import_react34.useEffect)(() => {
3628
+ if (!minTime || !editValues.date)
3629
+ return;
3630
+ if (editValues.date < minTime) {
3631
+ import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
3632
+ setEditValues((prev) => {
3633
+ return __spreadProps(__spreadValues({}, prev), {
3634
+ date: minTime
3635
+ });
3636
+ });
3637
+ }
3638
+ }, [editValues, minTime]);
3639
+ (0, import_react34.useEffect)(() => {
3640
+ if (!maxTime || !editValues.date)
3641
+ return;
3642
+ if (editValues.date > maxTime) {
3643
+ import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
3644
+ setEditValues((prev) => {
3645
+ return __spreadProps(__spreadValues({}, prev), {
3646
+ date: maxTime
3647
+ });
3648
+ });
3649
+ }
3650
+ }, [editValues, maxTime]);
3651
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
3645
3652
  Card,
3646
3653
  {
3647
3654
  error: Boolean(error),
3648
3655
  size: "3",
3649
3656
  style: { overflow: "visible", contain: "initial" },
3650
3657
  children: [
3651
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
3652
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3658
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
3659
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
3653
3660
  import_themes23.Grid,
3654
3661
  {
3655
3662
  align: "center",
3656
3663
  columns: { initial: "1", xs: "auto 1fr" },
3657
3664
  gapY: "2",
3658
3665
  children: [
3659
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", children: [
3660
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Heading2, { variant: "heading4", children: [
3666
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", children: [
3667
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Heading2, { variant: "heading4", children: [
3661
3668
  customerName || "-",
3662
3669
  "\uB2D8 ",
3663
3670
  sessionNumber || "-",
3664
3671
  "\uD68C\uCC28 \uC138\uC158"
3665
3672
  ] }),
3666
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
3673
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
3667
3674
  ] }),
3668
- error ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
3675
+ error ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
3669
3676
  ]
3670
3677
  }
3671
3678
  ),
3672
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes22.Flex, { children: ActionButtons })
3679
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { children: ActionButtons })
3673
3680
  ] }),
3674
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3681
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3675
3682
  Form.Root,
3676
3683
  {
3677
3684
  onSubmit: (e) => {
3678
3685
  e.preventDefault();
3679
3686
  },
3680
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
3681
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Label, { asChild: true, children: [
3682
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
3683
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
3684
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3687
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
3688
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Form.Label, { asChild: true, children: [
3689
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
3690
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
3691
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3685
3692
  DatePickerButton,
3686
3693
  {
3687
3694
  disabled: readonly,
3688
- minDate: /* @__PURE__ */ new Date(),
3695
+ maxDate: maxTime,
3696
+ minDate: minTime,
3689
3697
  onChange: onChangeDate,
3690
3698
  placeholder: "\uC77C\uC790\uB97C \uC120\uD0DD\uD574\uC8FC\uC138\uC694",
3691
3699
  selected: date,
3692
3700
  size: "large"
3693
3701
  }
3694
3702
  ),
3695
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3703
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3696
3704
  TimeSelect,
3697
3705
  {
3698
3706
  disabled: readonly,
3707
+ maxTime,
3708
+ minTime,
3699
3709
  onValueChange: onChangeTime,
3700
3710
  size: "3",
3711
+ time: date,
3701
3712
  value: time
3702
3713
  }
3703
3714
  )
3704
3715
  ] })
3705
3716
  ] }) }),
3706
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Field, { name: "type", children: [
3707
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
3708
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3717
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Form.Field, { name: "type", children: [
3718
+ /* @__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" }) }),
3719
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3709
3720
  OnOfflineRadioCard,
3710
3721
  {
3711
3722
  disabled: readonly,
@@ -3715,8 +3726,8 @@ function ReservationCard(props) {
3715
3726
  }
3716
3727
  ) })
3717
3728
  ] }),
3718
- readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
3719
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3729
+ readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
3730
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3720
3731
  Button,
3721
3732
  {
3722
3733
  color: "gray",
@@ -3726,12 +3737,12 @@ function ReservationCard(props) {
3726
3737
  children: "\uCD08\uAE30\uD654\uD558\uAE30"
3727
3738
  }
3728
3739
  ),
3729
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
3740
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
3730
3741
  ] })
3731
3742
  ] })
3732
3743
  }
3733
3744
  ) }),
3734
- readonly ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3745
+ readonly ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3735
3746
  import_themes6.Box,
3736
3747
  {
3737
3748
  mt: "5",
@@ -3739,14 +3750,14 @@ function ReservationCard(props) {
3739
3750
  py: "4",
3740
3751
  style: { backgroundColor: "var(--accent-a3)" },
3741
3752
  width: "100%",
3742
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
3743
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Typo, { children: [
3753
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
3754
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Typo, { children: [
3744
3755
  sessionNumber || "-",
3745
3756
  "\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
3746
3757
  ] }),
3747
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
3758
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
3748
3759
  "\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
3749
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons3.ArrowRightIcon, {})
3760
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons3.ArrowRightIcon, {})
3750
3761
  ] })
3751
3762
  ] })
3752
3763
  }
@@ -3757,22 +3768,22 @@ function ReservationCard(props) {
3757
3768
  }
3758
3769
 
3759
3770
  // src/app/platform/session-review-simple-read.tsx
3760
- var import_react38 = require("react");
3761
- var import_jsx_runtime56 = require("react/jsx-runtime");
3771
+ var import_react35 = require("react");
3772
+ var import_jsx_runtime55 = require("react/jsx-runtime");
3762
3773
  function SubTitleWrapper({
3763
3774
  children,
3764
3775
  title
3765
3776
  }) {
3766
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
3767
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
3768
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes6.Box, { children })
3777
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
3778
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
3779
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children })
3769
3780
  ] });
3770
3781
  }
3771
3782
  function SessionReviewSimpleRead({
3772
3783
  helpfulness,
3773
3784
  review
3774
3785
  }) {
3775
- const helpfulnessMeta = (0, import_react38.useMemo)(() => {
3786
+ const helpfulnessMeta = (0, import_react35.useMemo)(() => {
3776
3787
  if (helpfulness) {
3777
3788
  return {
3778
3789
  text: "\uB124",
@@ -3790,22 +3801,22 @@ function SessionReviewSimpleRead({
3790
3801
  color: "error"
3791
3802
  };
3792
3803
  }, [helpfulness]);
3793
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
3794
- /* @__PURE__ */ (0, import_jsx_runtime56.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_runtime56.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
3795
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
3804
+ 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: [
3805
+ /* @__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 }) }),
3806
+ /* @__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." }) }) })
3796
3807
  ] }) });
3797
3808
  }
3798
3809
 
3799
3810
  // src/app/platform/userInfos/session-user-info-detail.tsx
3800
- var import_jsx_runtime57 = require("react/jsx-runtime");
3811
+ var import_jsx_runtime56 = require("react/jsx-runtime");
3801
3812
  function SectionWrapper({
3802
3813
  title,
3803
3814
  children
3804
3815
  }) {
3805
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes6.Box, { children: [
3806
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
3807
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading5", children: title }),
3808
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes39.Separator, { size: "4" })
3816
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes6.Box, { children: [
3817
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
3818
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading5", children: title }),
3819
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes39.Separator, { size: "4" })
3809
3820
  ] }),
3810
3821
  children
3811
3822
  ] });
@@ -3814,18 +3825,18 @@ function SessionUserInfoDetail({
3814
3825
  customer,
3815
3826
  session
3816
3827
  }) {
3817
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
3818
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes15.DataList.Root, { children: sessionList.map((info) => renderDataListItem(info, session)) }) }),
3819
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes15.DataList.Root, { children: infoList.map((info) => renderDataListItem(info, customer)) }) })
3828
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
3829
+ /* @__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)) }) }),
3830
+ /* @__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)) }) })
3820
3831
  ] });
3821
3832
  }
3822
3833
 
3823
3834
  // src/app/platform/report-card.tsx
3824
- var import_react39 = require("react");
3825
- var import_jsx_runtime58 = require("react/jsx-runtime");
3835
+ var import_react36 = require("react");
3836
+ var import_jsx_runtime57 = require("react/jsx-runtime");
3826
3837
  function ReportCard(props) {
3827
3838
  const { title, file, status } = props;
3828
- const onClickDownload = (0, import_react39.useCallback)(() => {
3839
+ const onClickDownload = (0, import_react36.useCallback)(() => {
3829
3840
  if (!file)
3830
3841
  return;
3831
3842
  const { url, fileName } = file;
@@ -3838,21 +3849,21 @@ function ReportCard(props) {
3838
3849
  document.body.removeChild(link);
3839
3850
  }, [file]);
3840
3851
  if (status) {
3841
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
3842
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { variant: "heading4", children: title }),
3852
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
3853
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading4", children: title }),
3843
3854
  status
3844
3855
  ] }) });
3845
3856
  }
3846
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
3857
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
3847
3858
  import_themes22.Flex,
3848
3859
  {
3849
3860
  direction: { initial: "column", xs: "row" },
3850
3861
  gapY: "2",
3851
3862
  justify: "between",
3852
3863
  children: [
3853
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { variant: "heading4", children: title }),
3854
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
3855
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_icons3.DownloadIcon, {}),
3864
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading4", children: title }),
3865
+ /* @__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: [
3866
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_icons3.DownloadIcon, {}),
3856
3867
  file == null ? void 0 : file.buttonName
3857
3868
  ] }) }, file == null ? void 0 : file.url)
3858
3869
  ]
@@ -3929,6 +3940,7 @@ function ReportCard(props) {
3929
3940
  Flex,
3930
3941
  ForceRefresh,
3931
3942
  Form,
3943
+ FormItem,
3932
3944
  GearIcon,
3933
3945
  GlobeIcon,
3934
3946
  GoalManageCardEdit,
@@ -3963,7 +3975,6 @@ function ReportCard(props) {
3963
3975
  ReloadIcon,
3964
3976
  ReportCard,
3965
3977
  ReservationCard,
3966
- ResponseDisplay,
3967
3978
  RocketIcon,
3968
3979
  Root,
3969
3980
  RowsIcon,