@tipp/ui 1.5.11 → 1.6.1

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 (177) hide show
  1. package/dist/app/index.cjs +136 -157
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +18 -20
  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 +1 -1
  7. package/dist/app/platform/edit-coaching-time.cjs +37 -56
  8. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  9. package/dist/app/platform/edit-coaching-time.js +8 -10
  10. package/dist/app/platform/edit-service-type.cjs +1 -1
  11. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  12. package/dist/app/platform/edit-service-type.js +7 -7
  13. package/dist/app/platform/goal-manage-card-edit.cjs +21 -2
  14. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  15. package/dist/app/platform/goal-manage-card-edit.js +8 -8
  16. package/dist/app/platform/goal-manage-card-read.cjs +1 -1
  17. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  18. package/dist/app/platform/goal-manage-card-read.js +1 -1
  19. package/dist/app/platform/on-offline-radio-card.cjs +1 -1
  20. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  21. package/dist/app/platform/on-offline-radio-card.js +7 -7
  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 +1 -1
  25. package/dist/app/platform/reservation-card.cjs +25 -6
  26. package/dist/app/platform/reservation-card.cjs.map +1 -1
  27. package/dist/app/platform/reservation-card.js +8 -8
  28. package/dist/app/platform/session-card.cjs +76 -95
  29. package/dist/app/platform/session-card.cjs.map +1 -1
  30. package/dist/app/platform/session-card.js +9 -11
  31. package/dist/app/platform/session-review-simple-read.cjs +1 -1
  32. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  33. package/dist/app/platform/session-review-simple-read.js +1 -1
  34. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +1 -1
  35. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
  36. package/dist/app/platform/userInfos/coaching-customer-info/index.js +1 -1
  37. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +1 -1
  38. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
  39. package/dist/app/platform/userInfos/coaching-customer-info/large.js +1 -1
  40. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +1 -1
  41. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
  42. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +1 -1
  43. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +1 -1
  44. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
  45. package/dist/app/platform/userInfos/coaching-customer-info/small.js +1 -1
  46. package/dist/app/platform/userInfos/session-user-info-detail.cjs +1 -1
  47. package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
  48. package/dist/app/platform/userInfos/session-user-info-detail.js +1 -1
  49. package/dist/app/platform/userInfos/utils.cjs +1 -1
  50. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  51. package/dist/app/platform/userInfos/utils.js +1 -1
  52. package/dist/atoms/index.cjs +23 -2
  53. package/dist/atoms/index.cjs.map +1 -1
  54. package/dist/atoms/index.d.cts +1 -1
  55. package/dist/atoms/index.d.ts +1 -1
  56. package/dist/atoms/index.js +4 -2
  57. package/dist/chunk-3BDAXSFJ.js +46 -0
  58. package/dist/chunk-3BDAXSFJ.js.map +1 -0
  59. package/dist/chunk-3F6KWGBZ.js +89 -0
  60. package/dist/chunk-3F6KWGBZ.js.map +1 -0
  61. package/dist/chunk-5QTFO46W.js +177 -0
  62. package/dist/chunk-5QTFO46W.js.map +1 -0
  63. package/dist/chunk-643OBFGH.js +145 -0
  64. package/dist/chunk-643OBFGH.js.map +1 -0
  65. package/dist/chunk-6RTDC4IZ.js +145 -0
  66. package/dist/chunk-6RTDC4IZ.js.map +1 -0
  67. package/dist/chunk-AGHL3X5A.js +277 -0
  68. package/dist/chunk-AGHL3X5A.js.map +1 -0
  69. package/dist/chunk-C54BNXQ3.js +174 -0
  70. package/dist/chunk-C54BNXQ3.js.map +1 -0
  71. package/dist/chunk-DAAG2ECN.js +145 -0
  72. package/dist/chunk-DAAG2ECN.js.map +1 -0
  73. package/dist/chunk-DBXFDCHX.js +277 -0
  74. package/dist/chunk-DBXFDCHX.js.map +1 -0
  75. package/dist/chunk-EPHO2NHY.js +165 -0
  76. package/dist/chunk-EPHO2NHY.js.map +1 -0
  77. package/dist/chunk-G4HAO2PO.js +145 -0
  78. package/dist/chunk-G4HAO2PO.js.map +1 -0
  79. package/dist/chunk-HAXSZIZN.js +174 -0
  80. package/dist/chunk-HAXSZIZN.js.map +1 -0
  81. package/dist/chunk-ID5SXFYY.js +277 -0
  82. package/dist/chunk-ID5SXFYY.js.map +1 -0
  83. package/dist/chunk-IGNQ4M3B.js +278 -0
  84. package/dist/chunk-IGNQ4M3B.js.map +1 -0
  85. package/dist/chunk-JFAEGRYZ.js +145 -0
  86. package/dist/chunk-JFAEGRYZ.js.map +1 -0
  87. package/dist/chunk-KWVMO7QA.js +145 -0
  88. package/dist/chunk-KWVMO7QA.js.map +1 -0
  89. package/dist/chunk-KZQALSCC.js +277 -0
  90. package/dist/chunk-KZQALSCC.js.map +1 -0
  91. package/dist/chunk-L57ZGMKC.js +277 -0
  92. package/dist/chunk-L57ZGMKC.js.map +1 -0
  93. package/dist/chunk-MR7H7IVE.js +192 -0
  94. package/dist/chunk-MR7H7IVE.js.map +1 -0
  95. package/dist/chunk-NOU2SQ3S.js +145 -0
  96. package/dist/chunk-NOU2SQ3S.js.map +1 -0
  97. package/dist/chunk-PYR4SVP5.js +146 -0
  98. package/dist/chunk-PYR4SVP5.js.map +1 -0
  99. package/dist/chunk-RSCMNIHH.js +165 -0
  100. package/dist/chunk-RSCMNIHH.js.map +1 -0
  101. package/dist/chunk-RZDYA4LT.js +174 -0
  102. package/dist/chunk-RZDYA4LT.js.map +1 -0
  103. package/dist/chunk-TDRNTGNE.js +164 -0
  104. package/dist/chunk-TDRNTGNE.js.map +1 -0
  105. package/dist/chunk-VDCMQPTE.js +277 -0
  106. package/dist/chunk-VDCMQPTE.js.map +1 -0
  107. package/dist/chunk-VF5Q4NSV.js +174 -0
  108. package/dist/chunk-VF5Q4NSV.js.map +1 -0
  109. package/dist/chunk-WHPYQRMZ.js +145 -0
  110. package/dist/chunk-WHPYQRMZ.js.map +1 -0
  111. package/dist/chunk-WI3U3EDA.js +277 -0
  112. package/dist/chunk-WI3U3EDA.js.map +1 -0
  113. package/dist/chunk-X7RBL443.js +145 -0
  114. package/dist/chunk-X7RBL443.js.map +1 -0
  115. package/dist/chunk-XM5HV4U7.js +145 -0
  116. package/dist/chunk-XM5HV4U7.js.map +1 -0
  117. package/dist/chunk-XY5462PL.js +277 -0
  118. package/dist/chunk-XY5462PL.js.map +1 -0
  119. package/dist/chunk-Y6SQQRKL.js +277 -0
  120. package/dist/chunk-Y6SQQRKL.js.map +1 -0
  121. package/dist/chunk-ZILPOC5V.js +277 -0
  122. package/dist/chunk-ZILPOC5V.js.map +1 -0
  123. package/dist/index.cjs +138 -159
  124. package/dist/index.cjs.map +1 -1
  125. package/dist/index.d.cts +1 -2
  126. package/dist/index.d.ts +1 -2
  127. package/dist/index.js +34 -37
  128. package/dist/layouts/index.cjs.map +1 -1
  129. package/dist/layouts/index.js +26 -26
  130. package/dist/layouts/response-display.cjs.map +1 -1
  131. package/dist/layouts/response-display.js +26 -26
  132. package/dist/molecules/date-picker/date-picker-button.cjs +1 -1
  133. package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
  134. package/dist/molecules/date-picker/date-picker-button.js +1 -1
  135. package/dist/molecules/expand-table/index.cjs +1 -1
  136. package/dist/molecules/expand-table/index.cjs.map +1 -1
  137. package/dist/molecules/expand-table/index.js +1 -1
  138. package/dist/molecules/expand-table/row.cjs +1 -1
  139. package/dist/molecules/expand-table/row.cjs.map +1 -1
  140. package/dist/molecules/expand-table/row.js +1 -1
  141. package/dist/molecules/form/form.cjs +251 -0
  142. package/dist/molecules/form/form.cjs.map +1 -0
  143. package/dist/molecules/form/form.d.cts +33 -0
  144. package/dist/molecules/form/form.d.ts +33 -0
  145. package/dist/molecules/form/form.js +12 -0
  146. package/dist/molecules/form/form.js.map +1 -0
  147. package/dist/molecules/form/index.cjs +253 -0
  148. package/dist/molecules/form/index.cjs.map +1 -0
  149. package/dist/molecules/form/index.d.cts +3 -0
  150. package/dist/molecules/form/index.d.ts +3 -0
  151. package/dist/molecules/form/index.js +12 -0
  152. package/dist/molecules/form/index.js.map +1 -0
  153. package/dist/molecules/index.cjs +1 -1
  154. package/dist/molecules/index.cjs.map +1 -1
  155. package/dist/molecules/index.js +11 -11
  156. package/dist/molecules/navigation.cjs +1 -1
  157. package/dist/molecules/navigation.cjs.map +1 -1
  158. package/dist/molecules/navigation.js +1 -1
  159. package/dist/molecules/radio-button-card.cjs +1 -1
  160. package/dist/molecules/radio-button-card.cjs.map +1 -1
  161. package/dist/molecules/radio-button-card.js +1 -1
  162. package/dist/molecules/tag-selector.cjs +1 -1
  163. package/dist/molecules/tag-selector.cjs.map +1 -1
  164. package/dist/molecules/tag-selector.js +1 -1
  165. package/dist/molecules/time-select.cjs +1 -1
  166. package/dist/molecules/time-select.cjs.map +1 -1
  167. package/dist/molecules/time-select.js +3 -3
  168. package/dist/utils/index.js +6 -6
  169. package/package.json +3 -3
  170. package/src/app/platform/edit-coaching-time.tsx +3 -2
  171. package/src/app/platform/reservation-card.tsx +4 -6
  172. package/src/atoms/index.ts +1 -1
  173. package/src/index.ts +0 -1
  174. package/src/molecules/{form.tsx → form/form.tsx} +32 -6
  175. package/src/molecules/form/index.ts +1 -0
  176. package/src/layouts/index.ts +0 -1
  177. 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,
@@ -1125,7 +1125,7 @@ var Drawer = {
1125
1125
  Description: Dialog2.Description
1126
1126
  };
1127
1127
 
1128
- // src/molecules/form.tsx
1128
+ // src/molecules/form/form.tsx
1129
1129
  var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
1130
1130
  var import_react18 = require("react");
1131
1131
  var import_jsx_runtime22 = require("react/jsx-runtime");
@@ -1226,13 +1226,32 @@ var Control2 = (0, import_react18.forwardRef)(
1226
1226
  }
1227
1227
  );
1228
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
+ }
1229
1247
  var Form = {
1230
1248
  Root: Root8,
1231
1249
  Field: Field2,
1232
1250
  Label: Label2,
1233
1251
  Message: Message2,
1234
1252
  Control: RadixForm.Control,
1235
- Submit: RadixForm.Submit
1253
+ Submit: RadixForm.Submit,
1254
+ FormItem
1236
1255
  };
1237
1256
 
1238
1257
  // src/atoms/auto-sizing-input.tsx
@@ -3218,47 +3237,7 @@ var import_date_fns6 = require("date-fns");
3218
3237
 
3219
3238
  // src/app/platform/edit-coaching-time.tsx
3220
3239
  var import_react31 = require("react");
3221
-
3222
- // src/layouts/response-display.tsx
3223
3240
  var import_jsx_runtime49 = require("react/jsx-runtime");
3224
- var breakpoints = ["initial", "xs", "sm", "md", "lg", "xl"];
3225
- var sortByBreakpoint = (a, b) => {
3226
- return breakpoints.indexOf(a[0]) - breakpoints.indexOf(b[0]);
3227
- };
3228
- var getDisplay = (prev, cur, index) => {
3229
- const result = {};
3230
- if (prev) {
3231
- result.initial = "none";
3232
- }
3233
- if (cur) {
3234
- result[cur] = "block";
3235
- }
3236
- if (index) {
3237
- result[index] = "none";
3238
- }
3239
- return result;
3240
- };
3241
- function ResponseDisplay(props) {
3242
- const sortedChildren = Object.entries(props).sort(sortByBreakpoint);
3243
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, { children: sortedChildren.map(([key, value], index) => {
3244
- var _a, _b, _c;
3245
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3246
- import_themes6.Box,
3247
- {
3248
- display: getDisplay(
3249
- (_a = sortedChildren[index - 1]) == null ? void 0 : _a[0],
3250
- (_b = sortedChildren[index]) == null ? void 0 : _b[0],
3251
- (_c = sortedChildren[index + 1]) == null ? void 0 : _c[0]
3252
- ),
3253
- children: value
3254
- },
3255
- key
3256
- );
3257
- }) });
3258
- }
3259
-
3260
- // src/app/platform/edit-coaching-time.tsx
3261
- var import_jsx_runtime50 = require("react/jsx-runtime");
3262
3241
  var getValueFromDefaultValue = (args) => {
3263
3242
  return {
3264
3243
  startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
@@ -3328,10 +3307,10 @@ function EditCoachingTime(props) {
3328
3307
  import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
3329
3308
  }
3330
3309
  }, [checkTimeError, props, values.date, values.endTime, values.startTime]);
3331
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Form.Root, { children: [
3332
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Form.Field, { name: "date", children: [
3333
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
3334
- /* @__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)(
3335
3314
  DatePickerButton,
3336
3315
  {
3337
3316
  maxDate: /* @__PURE__ */ new Date(),
@@ -3341,7 +3320,7 @@ function EditCoachingTime(props) {
3341
3320
  }
3342
3321
  )
3343
3322
  ] }),
3344
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
3323
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
3345
3324
  import_themes23.Grid,
3346
3325
  {
3347
3326
  align: "center",
@@ -3356,10 +3335,10 @@ function EditCoachingTime(props) {
3356
3335
  mt: "5",
3357
3336
  width: "100%",
3358
3337
  children: [
3359
- /* @__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" }) }),
3360
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {}),
3361
- /* @__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" }) }),
3362
- /* @__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)(
3363
3342
  TimeSelect,
3364
3343
  {
3365
3344
  onValueChange: onChangeStartTime,
@@ -3367,8 +3346,8 @@ function EditCoachingTime(props) {
3367
3346
  value: values.startTime
3368
3347
  }
3369
3348
  ),
3370
- /* @__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, {}) }),
3371
- /* @__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)(
3372
3351
  TimeSelect,
3373
3352
  {
3374
3353
  onValueChange: onChangeEndTime,
@@ -3376,13 +3355,13 @@ function EditCoachingTime(props) {
3376
3355
  value: values.endTime
3377
3356
  }
3378
3357
  ),
3379
- /* @__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 }) })
3380
3359
  ]
3381
3360
  }
3382
3361
  ),
3383
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
3384
- /* @__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" }) }),
3385
- /* @__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" }) })
3386
3365
  ] })
3387
3366
  ] }) });
3388
3367
  }
@@ -3392,20 +3371,20 @@ var import_react32 = require("react");
3392
3371
 
3393
3372
  // src/app/platform/on-offline-radio-card.tsx
3394
3373
  var import_react_icons9 = require("@radix-ui/react-icons");
3395
- var import_jsx_runtime51 = require("react/jsx-runtime");
3374
+ var import_jsx_runtime50 = require("react/jsx-runtime");
3396
3375
  var SERVICE_TYPE = {
3397
3376
  onlineCoaching: "onlineCoaching",
3398
3377
  offlineCoaching: "offlineCoaching"
3399
3378
  };
3400
3379
  var breakpoint = "sm";
3401
3380
  function HideSmallBox(props) {
3402
- 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 });
3403
3382
  }
3404
3383
  function OnOfflineRadioCard(props) {
3405
3384
  const Wrapper = props.response ? HideSmallBox : (p) => p.children;
3406
3385
  const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
3407
3386
  const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
3408
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
3387
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
3409
3388
  RadioButtonCard.Root,
3410
3389
  __spreadProps(__spreadValues({
3411
3390
  RadioWrapper: Wrapper,
@@ -3414,13 +3393,13 @@ function OnOfflineRadioCard(props) {
3414
3393
  justify
3415
3394
  }, props), {
3416
3395
  children: [
3417
- /* @__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: [
3418
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_icons9.GlobeIcon, {}) }),
3419
- /* @__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" })
3420
3399
  ] }) }),
3421
- /* @__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: [
3422
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_icons9.BackpackIcon, {}) }),
3423
- /* @__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" })
3424
3403
  ] }) })
3425
3404
  ]
3426
3405
  })
@@ -3428,7 +3407,7 @@ function OnOfflineRadioCard(props) {
3428
3407
  }
3429
3408
 
3430
3409
  // src/app/platform/edit-service-type.tsx
3431
- var import_jsx_runtime52 = require("react/jsx-runtime");
3410
+ var import_jsx_runtime51 = require("react/jsx-runtime");
3432
3411
  function EditServiceType(props) {
3433
3412
  const { defaultServiceType, onClickCancel } = props;
3434
3413
  const [sessionType, setSessionType] = (0, import_react32.useState)(
@@ -3438,8 +3417,8 @@ function EditServiceType(props) {
3438
3417
  var _a;
3439
3418
  (_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
3440
3419
  }, [props, sessionType]);
3441
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes6.Box, { children: [
3442
- /* @__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)(
3443
3422
  Typo,
3444
3423
  {
3445
3424
  as: "p",
@@ -3449,16 +3428,16 @@ function EditServiceType(props) {
3449
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"
3450
3429
  }
3451
3430
  ),
3452
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
3453
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
3454
- /* @__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" }) }),
3455
- /* @__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" }) })
3456
3435
  ] })
3457
3436
  ] });
3458
3437
  }
3459
3438
 
3460
3439
  // src/app/platform/session-card.tsx
3461
- var import_jsx_runtime53 = require("react/jsx-runtime");
3440
+ var import_jsx_runtime52 = require("react/jsx-runtime");
3462
3441
  var preventDefault3 = (e) => {
3463
3442
  e.preventDefault();
3464
3443
  };
@@ -3489,33 +3468,33 @@ function SessionCard(props) {
3489
3468
  "sessionType"
3490
3469
  ]);
3491
3470
  const renderEditButton = (0, import_react33.useCallback)(() => {
3492
- 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, {}) });
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, {}) });
3493
3472
  }, []);
3494
3473
  const sessionTimeStr = (0, import_react33.useMemo)(() => {
3495
3474
  if (!startAt || !endAt)
3496
3475
  return "\uC54C \uC218 \uC5C6\uC74C";
3497
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")}`;
3498
3477
  }, [startAt, endAt]);
3499
- 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: [
3500
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
3501
- /* @__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` }),
3502
3481
  TitleExtra,
3503
- 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
3504
3483
  ] }),
3505
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Root, { children: [
3506
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Item, { children: [
3507
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
3508
- /* @__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: [
3509
3488
  sessionTimeStr,
3510
- editable ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Dialog.Root, { children: [
3511
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Dialog.Trigger, { children: renderEditButton() }),
3512
- /* @__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)(
3513
3492
  Dialog.Content,
3514
3493
  {
3515
3494
  onOpenAutoFocus: preventDefault3,
3516
3495
  style: { overflow: "visible" },
3517
3496
  title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
3518
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3497
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3519
3498
  EditCoachingTime,
3520
3499
  {
3521
3500
  defaultEndAt: endAt,
@@ -3528,18 +3507,18 @@ function SessionCard(props) {
3528
3507
  ] }) : null
3529
3508
  ] })
3530
3509
  ] }),
3531
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
3532
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Item, { children: [
3533
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
3534
- /* @__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: [
3535
3514
  sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
3536
- editable ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Dialog.Root, { children: [
3537
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Dialog.Trigger, { children: renderEditButton() }),
3538
- /* @__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)(
3539
3518
  Dialog.Content,
3540
3519
  {
3541
3520
  title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
3542
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3521
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3543
3522
  EditServiceType,
3544
3523
  {
3545
3524
  defaultServiceType: sessionType,
@@ -3551,32 +3530,32 @@ function SessionCard(props) {
3551
3530
  ] }) : null
3552
3531
  ] })
3553
3532
  ] }),
3554
- /* @__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 })
3555
3534
  ] })
3556
3535
  ] })
3557
3536
  ] }) }));
3558
3537
  }
3559
3538
 
3560
3539
  // src/app/platform/coach-question-list.tsx
3561
- var import_jsx_runtime54 = require("react/jsx-runtime");
3540
+ var import_jsx_runtime53 = require("react/jsx-runtime");
3562
3541
  function QuestionItem({ question, answer }) {
3563
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes6.Box, { children: [
3564
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
3565
- /* @__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." }) })
3566
3545
  ] }, question);
3567
3546
  }
3568
3547
  function CoachQuestionList({
3569
3548
  questions
3570
3549
  }) {
3571
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
3572
- 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);
3573
3552
  }) });
3574
3553
  }
3575
3554
 
3576
3555
  // src/app/platform/reservation-card.tsx
3577
3556
  var import_react34 = require("react");
3578
3557
  var import_date_fns7 = require("date-fns");
3579
- var import_jsx_runtime55 = require("react/jsx-runtime");
3558
+ var import_jsx_runtime54 = require("react/jsx-runtime");
3580
3559
  function ReservationCard(props) {
3581
3560
  const {
3582
3561
  sessionNumber,
@@ -3610,9 +3589,9 @@ function ReservationCard(props) {
3610
3589
  }, [defaultTime, defaultType]);
3611
3590
  const ActionButtons = (0, import_react34.useMemo)(() => {
3612
3591
  if (readonly) {
3613
- 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" });
3614
3593
  }
3615
- 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, {}) });
3616
3595
  }, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
3617
3596
  const onChangeDate = (0, import_react34.useCallback)(
3618
3597
  (newDate) => {
@@ -3646,7 +3625,7 @@ function ReservationCard(props) {
3646
3625
  [date]
3647
3626
  );
3648
3627
  (0, import_react34.useEffect)(() => {
3649
- if (!minTime || !editValues.date)
3628
+ if (!minTime || !editValues.date || readonly)
3650
3629
  return;
3651
3630
  if (editValues.date < minTime) {
3652
3631
  import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
@@ -3656,9 +3635,9 @@ function ReservationCard(props) {
3656
3635
  });
3657
3636
  });
3658
3637
  }
3659
- }, [editValues, minTime]);
3638
+ }, [editValues, minTime, readonly]);
3660
3639
  (0, import_react34.useEffect)(() => {
3661
- if (!maxTime || !editValues.date)
3640
+ if (!maxTime || !editValues.date || readonly)
3662
3641
  return;
3663
3642
  if (editValues.date > maxTime) {
3664
3643
  import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
@@ -3668,48 +3647,48 @@ function ReservationCard(props) {
3668
3647
  });
3669
3648
  });
3670
3649
  }
3671
- }, [editValues, maxTime]);
3672
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3650
+ }, [editValues, maxTime, readonly]);
3651
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
3673
3652
  Card,
3674
3653
  {
3675
3654
  error: Boolean(error),
3676
3655
  size: "3",
3677
3656
  style: { overflow: "visible", contain: "initial" },
3678
3657
  children: [
3679
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
3680
- /* @__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)(
3681
3660
  import_themes23.Grid,
3682
3661
  {
3683
3662
  align: "center",
3684
3663
  columns: { initial: "1", xs: "auto 1fr" },
3685
3664
  gapY: "2",
3686
3665
  children: [
3687
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", children: [
3688
- /* @__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: [
3689
3668
  customerName || "-",
3690
3669
  "\uB2D8 ",
3691
3670
  sessionNumber || "-",
3692
3671
  "\uD68C\uCC28 \uC138\uC158"
3693
3672
  ] }),
3694
- /* @__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" })
3695
3674
  ] }),
3696
- 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
3697
3676
  ]
3698
3677
  }
3699
3678
  ),
3700
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes22.Flex, { children: ActionButtons })
3679
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { children: ActionButtons })
3701
3680
  ] }),
3702
- /* @__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)(
3703
3682
  Form.Root,
3704
3683
  {
3705
3684
  onSubmit: (e) => {
3706
3685
  e.preventDefault();
3707
3686
  },
3708
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
3709
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Label, { asChild: true, children: [
3710
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
3711
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
3712
- /* @__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)(
3713
3692
  DatePickerButton,
3714
3693
  {
3715
3694
  disabled: readonly,
@@ -3721,7 +3700,7 @@ function ReservationCard(props) {
3721
3700
  size: "large"
3722
3701
  }
3723
3702
  ),
3724
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3703
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3725
3704
  TimeSelect,
3726
3705
  {
3727
3706
  disabled: readonly,
@@ -3735,9 +3714,9 @@ function ReservationCard(props) {
3735
3714
  )
3736
3715
  ] })
3737
3716
  ] }) }),
3738
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Field, { name: "type", children: [
3739
- /* @__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" }) }),
3740
- /* @__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)(
3741
3720
  OnOfflineRadioCard,
3742
3721
  {
3743
3722
  disabled: readonly,
@@ -3747,8 +3726,8 @@ function ReservationCard(props) {
3747
3726
  }
3748
3727
  ) })
3749
3728
  ] }),
3750
- readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
3751
- /* @__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)(
3752
3731
  Button,
3753
3732
  {
3754
3733
  color: "gray",
@@ -3758,12 +3737,12 @@ function ReservationCard(props) {
3758
3737
  children: "\uCD08\uAE30\uD654\uD558\uAE30"
3759
3738
  }
3760
3739
  ),
3761
- /* @__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" })
3762
3741
  ] })
3763
3742
  ] })
3764
3743
  }
3765
3744
  ) }),
3766
- 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)(
3767
3746
  import_themes6.Box,
3768
3747
  {
3769
3748
  mt: "5",
@@ -3771,14 +3750,14 @@ function ReservationCard(props) {
3771
3750
  py: "4",
3772
3751
  style: { backgroundColor: "var(--accent-a3)" },
3773
3752
  width: "100%",
3774
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
3775
- /* @__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: [
3776
3755
  sessionNumber || "-",
3777
3756
  "\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
3778
3757
  ] }),
3779
- /* @__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: [
3780
3759
  "\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
3781
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons3.ArrowRightIcon, {})
3760
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons3.ArrowRightIcon, {})
3782
3761
  ] })
3783
3762
  ] })
3784
3763
  }
@@ -3790,14 +3769,14 @@ function ReservationCard(props) {
3790
3769
 
3791
3770
  // src/app/platform/session-review-simple-read.tsx
3792
3771
  var import_react35 = require("react");
3793
- var import_jsx_runtime56 = require("react/jsx-runtime");
3772
+ var import_jsx_runtime55 = require("react/jsx-runtime");
3794
3773
  function SubTitleWrapper({
3795
3774
  children,
3796
3775
  title
3797
3776
  }) {
3798
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
3799
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
3800
- /* @__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 })
3801
3780
  ] });
3802
3781
  }
3803
3782
  function SessionReviewSimpleRead({
@@ -3822,22 +3801,22 @@ function SessionReviewSimpleRead({
3822
3801
  color: "error"
3823
3802
  };
3824
3803
  }, [helpfulness]);
3825
- 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: [
3826
- /* @__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 }) }),
3827
- /* @__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." }) }) })
3828
3807
  ] }) });
3829
3808
  }
3830
3809
 
3831
3810
  // src/app/platform/userInfos/session-user-info-detail.tsx
3832
- var import_jsx_runtime57 = require("react/jsx-runtime");
3811
+ var import_jsx_runtime56 = require("react/jsx-runtime");
3833
3812
  function SectionWrapper({
3834
3813
  title,
3835
3814
  children
3836
3815
  }) {
3837
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes6.Box, { children: [
3838
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
3839
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading5", children: title }),
3840
- /* @__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" })
3841
3820
  ] }),
3842
3821
  children
3843
3822
  ] });
@@ -3846,15 +3825,15 @@ function SessionUserInfoDetail({
3846
3825
  customer,
3847
3826
  session
3848
3827
  }) {
3849
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
3850
- /* @__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)) }) }),
3851
- /* @__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)) }) })
3852
3831
  ] });
3853
3832
  }
3854
3833
 
3855
3834
  // src/app/platform/report-card.tsx
3856
3835
  var import_react36 = require("react");
3857
- var import_jsx_runtime58 = require("react/jsx-runtime");
3836
+ var import_jsx_runtime57 = require("react/jsx-runtime");
3858
3837
  function ReportCard(props) {
3859
3838
  const { title, file, status } = props;
3860
3839
  const onClickDownload = (0, import_react36.useCallback)(() => {
@@ -3870,21 +3849,21 @@ function ReportCard(props) {
3870
3849
  document.body.removeChild(link);
3871
3850
  }, [file]);
3872
3851
  if (status) {
3873
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
3874
- /* @__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 }),
3875
3854
  status
3876
3855
  ] }) });
3877
3856
  }
3878
- 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)(
3879
3858
  import_themes22.Flex,
3880
3859
  {
3881
3860
  direction: { initial: "column", xs: "row" },
3882
3861
  gapY: "2",
3883
3862
  justify: "between",
3884
3863
  children: [
3885
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { variant: "heading4", children: title }),
3886
- /* @__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: [
3887
- /* @__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, {}),
3888
3867
  file == null ? void 0 : file.buttonName
3889
3868
  ] }) }, file == null ? void 0 : file.url)
3890
3869
  ]
@@ -3961,6 +3940,7 @@ function ReportCard(props) {
3961
3940
  Flex,
3962
3941
  ForceRefresh,
3963
3942
  Form,
3943
+ FormItem,
3964
3944
  GearIcon,
3965
3945
  GlobeIcon,
3966
3946
  GoalManageCardEdit,
@@ -3995,7 +3975,6 @@ function ReportCard(props) {
3995
3975
  ReloadIcon,
3996
3976
  ReportCard,
3997
3977
  ReservationCard,
3998
- ResponseDisplay,
3999
3978
  RocketIcon,
4000
3979
  Root,
4001
3980
  RowsIcon,