@tipp/ui 2.3.13 → 2.3.15
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.
- package/dist/app/index.cjs +183 -160
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +80 -78
- package/dist/app/platform/coach-question-list.js +26 -26
- package/dist/app/platform/contents-card.js +26 -26
- package/dist/app/platform/curriculum-card.js +2 -2
- package/dist/app/platform/edit-coaching-time.cjs +40 -17
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +62 -60
- package/dist/app/platform/edit-service-type.cjs +42 -17
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +62 -60
- package/dist/app/platform/goal-manage-card-edit.cjs +48 -23
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +63 -61
- package/dist/app/platform/goal-manage-card-read.js +26 -26
- package/dist/app/platform/on-offline-radio-card.cjs +46 -23
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +62 -60
- package/dist/app/platform/report-card.js +26 -26
- package/dist/app/platform/reservation-card.cjs +59 -34
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +63 -61
- package/dist/app/platform/session-card.cjs +79 -56
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +63 -61
- package/dist/app/platform/session-review-simple-read.js +26 -26
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +28 -28
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +26 -26
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +26 -26
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +25 -25
- package/dist/app/platform/userInfos/session-user-info-detail.js +25 -25
- package/dist/app/platform/userInfos/utils.js +25 -25
- package/dist/atoms/index.js +60 -60
- package/dist/chunk-2GWB6C4M.js +63 -0
- package/dist/chunk-2GWB6C4M.js.map +1 -0
- package/dist/chunk-3INEXJIV.js +37 -0
- package/dist/chunk-3INEXJIV.js.map +1 -0
- package/dist/chunk-3RTIQ36S.js +222 -0
- package/dist/chunk-3RTIQ36S.js.map +1 -0
- package/dist/chunk-3UOA73MU.js +196 -0
- package/dist/chunk-3UOA73MU.js.map +1 -0
- package/dist/chunk-4CAKGS6P.js +196 -0
- package/dist/chunk-4CAKGS6P.js.map +1 -0
- package/dist/chunk-4F2XOUIR.js +51 -0
- package/dist/chunk-4F2XOUIR.js.map +1 -0
- package/dist/chunk-6DAL2GRI.js +196 -0
- package/dist/chunk-6DAL2GRI.js.map +1 -0
- package/dist/chunk-6IMCKSQD.js +69 -0
- package/dist/chunk-6IMCKSQD.js.map +1 -0
- package/dist/chunk-7XUN3OQT.js +1 -0
- package/dist/chunk-7XUN3OQT.js.map +1 -0
- package/dist/chunk-A2DBM6WR.js +51 -0
- package/dist/chunk-A2DBM6WR.js.map +1 -0
- package/dist/chunk-AULDM6SL.js +89 -0
- package/dist/chunk-AULDM6SL.js.map +1 -0
- package/dist/chunk-BN24NIPU.js +64 -0
- package/dist/chunk-BN24NIPU.js.map +1 -0
- package/dist/chunk-CMFHPI3J.js +51 -0
- package/dist/chunk-CMFHPI3J.js.map +1 -0
- package/dist/chunk-EEJ2JXHV.js +139 -0
- package/dist/chunk-EEJ2JXHV.js.map +1 -0
- package/dist/chunk-FFAGYBAB.js +64 -0
- package/dist/chunk-FFAGYBAB.js.map +1 -0
- package/dist/chunk-G6ZTIOUH.js +54 -0
- package/dist/chunk-G6ZTIOUH.js.map +1 -0
- package/dist/chunk-GAXILFF4.js +63 -0
- package/dist/chunk-GAXILFF4.js.map +1 -0
- package/dist/chunk-GWJU4LIN.js +222 -0
- package/dist/chunk-GWJU4LIN.js.map +1 -0
- package/dist/chunk-GZTKJMEK.js +218 -0
- package/dist/chunk-GZTKJMEK.js.map +1 -0
- package/dist/chunk-JMYWVT4X.js +98 -0
- package/dist/chunk-JMYWVT4X.js.map +1 -0
- package/dist/chunk-K7NSOSIE.js +1 -0
- package/dist/chunk-K7NSOSIE.js.map +1 -0
- package/dist/chunk-MFAW7E6L.js +69 -0
- package/dist/chunk-MFAW7E6L.js.map +1 -0
- package/dist/chunk-N7WM36NN.js +64 -0
- package/dist/chunk-N7WM36NN.js.map +1 -0
- package/dist/chunk-NCSMSA3X.js +50 -0
- package/dist/chunk-NCSMSA3X.js.map +1 -0
- package/dist/chunk-NJMRRUNJ.js +218 -0
- package/dist/chunk-NJMRRUNJ.js.map +1 -0
- package/dist/chunk-PZXLZLQH.js +64 -0
- package/dist/chunk-PZXLZLQH.js.map +1 -0
- package/dist/chunk-QOA6EEKP.js +89 -0
- package/dist/chunk-QOA6EEKP.js.map +1 -0
- package/dist/chunk-SLV7LKTR.js +51 -0
- package/dist/chunk-SLV7LKTR.js.map +1 -0
- package/dist/chunk-T4XIMI4Y.js +64 -0
- package/dist/chunk-T4XIMI4Y.js.map +1 -0
- package/dist/chunk-TTVJOFG5.js +30 -0
- package/dist/chunk-TTVJOFG5.js.map +1 -0
- package/dist/chunk-TXMVRPAL.js +139 -0
- package/dist/chunk-TXMVRPAL.js.map +1 -0
- package/dist/chunk-USNFN36O.js +89 -0
- package/dist/chunk-USNFN36O.js.map +1 -0
- package/dist/chunk-WU6EJCDT.js +196 -0
- package/dist/chunk-WU6EJCDT.js.map +1 -0
- package/dist/chunk-YIDE5VOF.js +196 -0
- package/dist/chunk-YIDE5VOF.js.map +1 -0
- package/dist/chunk-ZP5VSS77.js +89 -0
- package/dist/chunk-ZP5VSS77.js.map +1 -0
- package/dist/context/dynamic-form-context.cjs +3 -2
- package/dist/context/dynamic-form-context.cjs.map +1 -1
- package/dist/context/dynamic-form-context.d.cts +2 -1
- package/dist/context/dynamic-form-context.d.ts +2 -1
- package/dist/context/dynamic-form-context.js +1 -1
- package/dist/context/index.cjs +3 -2
- package/dist/context/index.cjs.map +1 -1
- package/dist/context/index.js +2 -2
- package/dist/index.cjs +308 -244
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +152 -142
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +9 -9
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +12 -12
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +13 -13
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +16 -16
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +2 -2
- package/dist/molecules/curriculumV2/index.js +28 -28
- package/dist/molecules/description-json-render.cjs +722 -0
- package/dist/molecules/description-json-render.cjs.map +1 -0
- package/dist/molecules/description-json-render.d.cts +27 -0
- package/dist/molecules/description-json-render.d.ts +27 -0
- package/dist/molecules/description-json-render.js +30 -0
- package/dist/molecules/description-json-render.js.map +1 -0
- package/dist/molecules/dynamic-field.cjs.map +1 -1
- package/dist/molecules/dynamic-field.js +3 -3
- package/dist/molecules/dynamic-form.cjs +6 -4
- package/dist/molecules/dynamic-form.cjs.map +1 -1
- package/dist/molecules/dynamic-form.d.cts +2 -1
- package/dist/molecules/dynamic-form.d.ts +2 -1
- package/dist/molecules/dynamic-form.js +4 -4
- package/dist/molecules/expand-table/index.cjs +1 -1
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +2 -2
- package/dist/molecules/index.cjs +65 -5
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.d.cts +1 -0
- package/dist/molecules/index.d.ts +1 -0
- package/dist/molecules/index.js +71 -66
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/stepper.js +2 -2
- package/dist/molecules/tag-selector.js +3 -3
- package/dist/molecules/time-select.cjs +519 -5
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +18 -2
- package/dist/utils/getCalloutIconComponent.cjs +580 -0
- package/dist/utils/getCalloutIconComponent.cjs.map +1 -0
- package/dist/utils/getCalloutIconComponent.d.cts +11 -0
- package/dist/utils/getCalloutIconComponent.d.ts +11 -0
- package/dist/utils/getCalloutIconComponent.js +25 -0
- package/dist/utils/getCalloutIconComponent.js.map +1 -0
- package/dist/utils/index.cjs +535 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +2 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +24 -3
- package/package.json +1 -1
- package/src/context/dynamic-form-context.tsx +3 -1
- package/src/molecules/description-json-render.tsx +85 -0
- package/src/molecules/dynamic-form.tsx +3 -1
- package/src/molecules/expand-table/index.tsx +1 -1
- package/src/molecules/index.ts +2 -1
- package/src/utils/getCalloutIconComponent.ts +39 -0
- package/src/utils/index.ts +1 -0
package/dist/app/index.cjs
CHANGED
|
@@ -1989,6 +1989,7 @@ var import_date_fns5 = require("date-fns");
|
|
|
1989
1989
|
// src/molecules/expand-table/index.tsx
|
|
1990
1990
|
var import_react_table2 = require("@tanstack/react-table");
|
|
1991
1991
|
var import_react27 = require("react");
|
|
1992
|
+
var import_themes52 = require("@radix-ui/themes");
|
|
1992
1993
|
|
|
1993
1994
|
// src/molecules/expand-table/row.tsx
|
|
1994
1995
|
var import_react_table = require("@tanstack/react-table");
|
|
@@ -1996,7 +1997,6 @@ var import_react26 = require("react");
|
|
|
1996
1997
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1997
1998
|
|
|
1998
1999
|
// src/molecules/expand-table/index.tsx
|
|
1999
|
-
var import_themes52 = require("@radix-ui/themes");
|
|
2000
2000
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
2001
2001
|
|
|
2002
2002
|
// src/molecules/navigation.tsx
|
|
@@ -2306,6 +2306,26 @@ var getTimeOption = (time) => {
|
|
|
2306
2306
|
return `${hour < 10 ? `0${hour}` : hour}:${minute < 10 ? `0${minute}` : minute}`;
|
|
2307
2307
|
};
|
|
2308
2308
|
|
|
2309
|
+
// src/utils/getCalloutIconComponent.ts
|
|
2310
|
+
var AI_CALLOUT_ICON_OPTIONS = [
|
|
2311
|
+
{ label: "Info", value: "InfoCircledIcon", Component: import_react_icons2.InfoCircledIcon },
|
|
2312
|
+
{
|
|
2313
|
+
label: "Warning",
|
|
2314
|
+
value: "ExclamationTriangleIcon",
|
|
2315
|
+
Component: import_react_icons2.ExclamationTriangleIcon
|
|
2316
|
+
},
|
|
2317
|
+
{ label: "Check", value: "CheckCircledIcon", Component: import_react_icons2.CheckCircledIcon },
|
|
2318
|
+
{
|
|
2319
|
+
label: "Question",
|
|
2320
|
+
value: "QuestionMarkCircledIcon",
|
|
2321
|
+
Component: import_react_icons2.QuestionMarkCircledIcon
|
|
2322
|
+
}
|
|
2323
|
+
];
|
|
2324
|
+
var iconByName = {};
|
|
2325
|
+
for (const opt of AI_CALLOUT_ICON_OPTIONS) {
|
|
2326
|
+
iconByName[opt.value] = opt.Component;
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2309
2329
|
// src/molecules/time-select.tsx
|
|
2310
2330
|
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2311
2331
|
var getOptionValue = (date, timeValue) => {
|
|
@@ -2524,8 +2544,11 @@ var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
|
2524
2544
|
var import_react45 = require("react");
|
|
2525
2545
|
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
2526
2546
|
|
|
2527
|
-
// src/
|
|
2547
|
+
// src/molecules/description-json-render.tsx
|
|
2528
2548
|
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
2549
|
+
|
|
2550
|
+
// src/app/platform/goal-manage-card-edit.tsx
|
|
2551
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
2529
2552
|
var initialValues = {
|
|
2530
2553
|
goal: "",
|
|
2531
2554
|
effect: "",
|
|
@@ -2554,11 +2577,11 @@ function GoalManageCardEdit(props) {
|
|
|
2554
2577
|
var _a;
|
|
2555
2578
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
2556
2579
|
}, [props, values]);
|
|
2557
|
-
return /* @__PURE__ */ (0,
|
|
2558
|
-
/* @__PURE__ */ (0,
|
|
2559
|
-
/* @__PURE__ */ (0,
|
|
2560
|
-
/* @__PURE__ */ (0,
|
|
2561
|
-
/* @__PURE__ */ (0,
|
|
2580
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
2581
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2582
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Form.Field, { name: "title", children: [
|
|
2583
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
2584
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
2562
2585
|
TextField.Root,
|
|
2563
2586
|
{
|
|
2564
2587
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -2569,11 +2592,11 @@ function GoalManageCardEdit(props) {
|
|
|
2569
2592
|
value: values.goal
|
|
2570
2593
|
}
|
|
2571
2594
|
),
|
|
2572
|
-
/* @__PURE__ */ (0,
|
|
2595
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
2573
2596
|
] }),
|
|
2574
|
-
/* @__PURE__ */ (0,
|
|
2575
|
-
/* @__PURE__ */ (0,
|
|
2576
|
-
/* @__PURE__ */ (0,
|
|
2597
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Form.Field, { name: "effect", children: [
|
|
2598
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
2599
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
2577
2600
|
TextArea,
|
|
2578
2601
|
{
|
|
2579
2602
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -2585,11 +2608,11 @@ function GoalManageCardEdit(props) {
|
|
|
2585
2608
|
value: values.effect
|
|
2586
2609
|
}
|
|
2587
2610
|
),
|
|
2588
|
-
/* @__PURE__ */ (0,
|
|
2611
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
2589
2612
|
] }),
|
|
2590
|
-
/* @__PURE__ */ (0,
|
|
2591
|
-
/* @__PURE__ */ (0,
|
|
2592
|
-
/* @__PURE__ */ (0,
|
|
2613
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Form.Field, { name: "huddle", children: [
|
|
2614
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
2615
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
2593
2616
|
TextArea,
|
|
2594
2617
|
{
|
|
2595
2618
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -2603,11 +2626,11 @@ function GoalManageCardEdit(props) {
|
|
|
2603
2626
|
value: values.huddle
|
|
2604
2627
|
}
|
|
2605
2628
|
),
|
|
2606
|
-
/* @__PURE__ */ (0,
|
|
2629
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
2607
2630
|
] }),
|
|
2608
|
-
/* @__PURE__ */ (0,
|
|
2609
|
-
/* @__PURE__ */ (0,
|
|
2610
|
-
/* @__PURE__ */ (0,
|
|
2631
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
2632
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
2633
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
2611
2634
|
DatePickerButton,
|
|
2612
2635
|
{
|
|
2613
2636
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -2618,11 +2641,11 @@ function GoalManageCardEdit(props) {
|
|
|
2618
2641
|
selected: values.dueDate
|
|
2619
2642
|
}
|
|
2620
2643
|
),
|
|
2621
|
-
/* @__PURE__ */ (0,
|
|
2644
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
2622
2645
|
] })
|
|
2623
2646
|
] }),
|
|
2624
|
-
/* @__PURE__ */ (0,
|
|
2625
|
-
/* @__PURE__ */ (0,
|
|
2647
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
2648
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
2626
2649
|
Button,
|
|
2627
2650
|
{
|
|
2628
2651
|
color: "gray",
|
|
@@ -2633,7 +2656,7 @@ function GoalManageCardEdit(props) {
|
|
|
2633
2656
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2634
2657
|
}
|
|
2635
2658
|
),
|
|
2636
|
-
/* @__PURE__ */ (0,
|
|
2659
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2637
2660
|
] })
|
|
2638
2661
|
] }) });
|
|
2639
2662
|
}
|
|
@@ -2644,7 +2667,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
2644
2667
|
|
|
2645
2668
|
// src/app/platform/edit-coaching-time.tsx
|
|
2646
2669
|
var import_react47 = require("react");
|
|
2647
|
-
var
|
|
2670
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
2648
2671
|
var getValueFromDefaultValue = (args) => {
|
|
2649
2672
|
return {
|
|
2650
2673
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -2714,10 +2737,10 @@ function EditCoachingTime(props) {
|
|
|
2714
2737
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
2715
2738
|
}
|
|
2716
2739
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
2717
|
-
return /* @__PURE__ */ (0,
|
|
2718
|
-
/* @__PURE__ */ (0,
|
|
2719
|
-
/* @__PURE__ */ (0,
|
|
2720
|
-
/* @__PURE__ */ (0,
|
|
2740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Form.Root, { children: [
|
|
2741
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Form.Field, { name: "date", children: [
|
|
2742
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
2743
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
2721
2744
|
DatePickerButton,
|
|
2722
2745
|
{
|
|
2723
2746
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -2727,7 +2750,7 @@ function EditCoachingTime(props) {
|
|
|
2727
2750
|
}
|
|
2728
2751
|
)
|
|
2729
2752
|
] }),
|
|
2730
|
-
/* @__PURE__ */ (0,
|
|
2753
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
2731
2754
|
import_themes23.Grid,
|
|
2732
2755
|
{
|
|
2733
2756
|
align: "center",
|
|
@@ -2742,10 +2765,10 @@ function EditCoachingTime(props) {
|
|
|
2742
2765
|
mt: "5",
|
|
2743
2766
|
width: "100%",
|
|
2744
2767
|
children: [
|
|
2745
|
-
/* @__PURE__ */ (0,
|
|
2746
|
-
/* @__PURE__ */ (0,
|
|
2747
|
-
/* @__PURE__ */ (0,
|
|
2748
|
-
/* @__PURE__ */ (0,
|
|
2768
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
2769
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", {}),
|
|
2770
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
2771
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
2749
2772
|
TimeSelect,
|
|
2750
2773
|
{
|
|
2751
2774
|
onValueChange: onChangeStartTime,
|
|
@@ -2753,8 +2776,8 @@ function EditCoachingTime(props) {
|
|
|
2753
2776
|
value: values.startTime
|
|
2754
2777
|
}
|
|
2755
2778
|
),
|
|
2756
|
-
/* @__PURE__ */ (0,
|
|
2757
|
-
/* @__PURE__ */ (0,
|
|
2779
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_themes39.Separator, {}) }),
|
|
2780
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
2758
2781
|
TimeSelect,
|
|
2759
2782
|
{
|
|
2760
2783
|
onValueChange: onChangeEndTime,
|
|
@@ -2762,13 +2785,13 @@ function EditCoachingTime(props) {
|
|
|
2762
2785
|
value: values.endTime
|
|
2763
2786
|
}
|
|
2764
2787
|
),
|
|
2765
|
-
/* @__PURE__ */ (0,
|
|
2788
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
2766
2789
|
]
|
|
2767
2790
|
}
|
|
2768
2791
|
),
|
|
2769
|
-
/* @__PURE__ */ (0,
|
|
2770
|
-
/* @__PURE__ */ (0,
|
|
2771
|
-
/* @__PURE__ */ (0,
|
|
2792
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
2793
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2794
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2772
2795
|
] })
|
|
2773
2796
|
] }) });
|
|
2774
2797
|
}
|
|
@@ -2778,20 +2801,20 @@ var import_react48 = require("react");
|
|
|
2778
2801
|
|
|
2779
2802
|
// src/app/platform/on-offline-radio-card.tsx
|
|
2780
2803
|
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
2781
|
-
var
|
|
2804
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
2782
2805
|
var SERVICE_TYPE = {
|
|
2783
2806
|
onlineCoaching: "onlineCoaching",
|
|
2784
2807
|
offlineCoaching: "offlineCoaching"
|
|
2785
2808
|
};
|
|
2786
2809
|
var breakpoint = "sm";
|
|
2787
2810
|
function HideSmallBox(props) {
|
|
2788
|
-
return /* @__PURE__ */ (0,
|
|
2811
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
2789
2812
|
}
|
|
2790
2813
|
function OnOfflineRadioCard(props) {
|
|
2791
2814
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
2792
2815
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
2793
2816
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
2794
|
-
return /* @__PURE__ */ (0,
|
|
2817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
2795
2818
|
RadioButtonCard.Root,
|
|
2796
2819
|
__spreadProps(__spreadValues({
|
|
2797
2820
|
RadioWrapper: Wrapper,
|
|
@@ -2800,13 +2823,13 @@ function OnOfflineRadioCard(props) {
|
|
|
2800
2823
|
justify
|
|
2801
2824
|
}, props), {
|
|
2802
2825
|
children: [
|
|
2803
|
-
/* @__PURE__ */ (0,
|
|
2804
|
-
/* @__PURE__ */ (0,
|
|
2805
|
-
/* @__PURE__ */ (0,
|
|
2826
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2827
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_icons10.GlobeIcon, {}) }),
|
|
2828
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
2806
2829
|
] }) }),
|
|
2807
|
-
/* @__PURE__ */ (0,
|
|
2808
|
-
/* @__PURE__ */ (0,
|
|
2809
|
-
/* @__PURE__ */ (0,
|
|
2830
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2831
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_icons10.BackpackIcon, {}) }),
|
|
2832
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
2810
2833
|
] }) })
|
|
2811
2834
|
]
|
|
2812
2835
|
})
|
|
@@ -2814,7 +2837,7 @@ function OnOfflineRadioCard(props) {
|
|
|
2814
2837
|
}
|
|
2815
2838
|
|
|
2816
2839
|
// src/app/platform/edit-service-type.tsx
|
|
2817
|
-
var
|
|
2840
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
2818
2841
|
function EditServiceType(props) {
|
|
2819
2842
|
const { defaultServiceType, onClickCancel } = props;
|
|
2820
2843
|
const [sessionType, setSessionType] = (0, import_react48.useState)(
|
|
@@ -2824,8 +2847,8 @@ function EditServiceType(props) {
|
|
|
2824
2847
|
var _a;
|
|
2825
2848
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
2826
2849
|
}, [props, sessionType]);
|
|
2827
|
-
return /* @__PURE__ */ (0,
|
|
2828
|
-
/* @__PURE__ */ (0,
|
|
2850
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes6.Box, { children: [
|
|
2851
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
2829
2852
|
Typo,
|
|
2830
2853
|
{
|
|
2831
2854
|
as: "p",
|
|
@@ -2835,16 +2858,16 @@ function EditServiceType(props) {
|
|
|
2835
2858
|
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"
|
|
2836
2859
|
}
|
|
2837
2860
|
),
|
|
2838
|
-
/* @__PURE__ */ (0,
|
|
2839
|
-
/* @__PURE__ */ (0,
|
|
2840
|
-
/* @__PURE__ */ (0,
|
|
2841
|
-
/* @__PURE__ */ (0,
|
|
2861
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
2862
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
2863
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2864
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2842
2865
|
] })
|
|
2843
2866
|
] });
|
|
2844
2867
|
}
|
|
2845
2868
|
|
|
2846
2869
|
// src/app/platform/session-card.tsx
|
|
2847
|
-
var
|
|
2870
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
2848
2871
|
var preventDefault2 = (e) => {
|
|
2849
2872
|
e.preventDefault();
|
|
2850
2873
|
};
|
|
@@ -2875,32 +2898,32 @@ function SessionCard(props) {
|
|
|
2875
2898
|
"sessionType"
|
|
2876
2899
|
]);
|
|
2877
2900
|
const renderEditButton = (0, import_react49.useCallback)(() => {
|
|
2878
|
-
return /* @__PURE__ */ (0,
|
|
2901
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
2879
2902
|
}, []);
|
|
2880
2903
|
const sessionTimeStr = (0, import_react49.useMemo)(() => {
|
|
2881
2904
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
2882
2905
|
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")}`;
|
|
2883
2906
|
}, [startAt, endAt]);
|
|
2884
|
-
return /* @__PURE__ */ (0,
|
|
2885
|
-
/* @__PURE__ */ (0,
|
|
2886
|
-
/* @__PURE__ */ (0,
|
|
2907
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2908
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
2909
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
2887
2910
|
TitleExtra,
|
|
2888
|
-
error ? /* @__PURE__ */ (0,
|
|
2911
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
2889
2912
|
] }),
|
|
2890
|
-
/* @__PURE__ */ (0,
|
|
2891
|
-
/* @__PURE__ */ (0,
|
|
2892
|
-
/* @__PURE__ */ (0,
|
|
2893
|
-
/* @__PURE__ */ (0,
|
|
2913
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes15.DataList.Root, { children: [
|
|
2914
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2915
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
2916
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2894
2917
|
sessionTimeStr,
|
|
2895
|
-
editable ? /* @__PURE__ */ (0,
|
|
2896
|
-
/* @__PURE__ */ (0,
|
|
2897
|
-
/* @__PURE__ */ (0,
|
|
2918
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Dialog.Root, { children: [
|
|
2919
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2920
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
2898
2921
|
Dialog.Content,
|
|
2899
2922
|
{
|
|
2900
2923
|
onOpenAutoFocus: preventDefault2,
|
|
2901
2924
|
style: { overflow: "visible" },
|
|
2902
2925
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
2903
|
-
children: /* @__PURE__ */ (0,
|
|
2926
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
2904
2927
|
EditCoachingTime,
|
|
2905
2928
|
{
|
|
2906
2929
|
defaultEndAt: endAt,
|
|
@@ -2913,18 +2936,18 @@ function SessionCard(props) {
|
|
|
2913
2936
|
] }) : null
|
|
2914
2937
|
] })
|
|
2915
2938
|
] }),
|
|
2916
|
-
/* @__PURE__ */ (0,
|
|
2917
|
-
/* @__PURE__ */ (0,
|
|
2918
|
-
/* @__PURE__ */ (0,
|
|
2919
|
-
/* @__PURE__ */ (0,
|
|
2939
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
2940
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2941
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
2942
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2920
2943
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
2921
|
-
editable ? /* @__PURE__ */ (0,
|
|
2922
|
-
/* @__PURE__ */ (0,
|
|
2923
|
-
/* @__PURE__ */ (0,
|
|
2944
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Dialog.Root, { children: [
|
|
2945
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2946
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
2924
2947
|
Dialog.Content,
|
|
2925
2948
|
{
|
|
2926
2949
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
2927
|
-
children: /* @__PURE__ */ (0,
|
|
2950
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
2928
2951
|
EditServiceType,
|
|
2929
2952
|
{
|
|
2930
2953
|
defaultServiceType: sessionType,
|
|
@@ -2936,25 +2959,25 @@ function SessionCard(props) {
|
|
|
2936
2959
|
] }) : null
|
|
2937
2960
|
] })
|
|
2938
2961
|
] }),
|
|
2939
|
-
/* @__PURE__ */ (0,
|
|
2962
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
2940
2963
|
] })
|
|
2941
2964
|
] })
|
|
2942
2965
|
] }) }));
|
|
2943
2966
|
}
|
|
2944
2967
|
|
|
2945
2968
|
// src/app/platform/coach-question-list.tsx
|
|
2946
|
-
var
|
|
2969
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
2947
2970
|
function QuestionItem({ question, answer }) {
|
|
2948
|
-
return /* @__PURE__ */ (0,
|
|
2949
|
-
/* @__PURE__ */ (0,
|
|
2950
|
-
/* @__PURE__ */ (0,
|
|
2971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes6.Box, { children: [
|
|
2972
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
2973
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
2951
2974
|
] }, question);
|
|
2952
2975
|
}
|
|
2953
2976
|
function CoachQuestionList({
|
|
2954
2977
|
questions
|
|
2955
2978
|
}) {
|
|
2956
|
-
return /* @__PURE__ */ (0,
|
|
2957
|
-
return /* @__PURE__ */ (0,
|
|
2979
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
2980
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
2958
2981
|
}) });
|
|
2959
2982
|
}
|
|
2960
2983
|
|
|
@@ -2962,7 +2985,7 @@ function CoachQuestionList({
|
|
|
2962
2985
|
var import_react50 = require("react");
|
|
2963
2986
|
var import_date_fns7 = require("date-fns");
|
|
2964
2987
|
var import_locale2 = require("date-fns/locale");
|
|
2965
|
-
var
|
|
2988
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
2966
2989
|
function ReservationCard(props) {
|
|
2967
2990
|
const {
|
|
2968
2991
|
sessionNumber,
|
|
@@ -2995,9 +3018,9 @@ function ReservationCard(props) {
|
|
|
2995
3018
|
}, [defaultTime, defaultType]);
|
|
2996
3019
|
const ActionButtons = (0, import_react50.useMemo)(() => {
|
|
2997
3020
|
if (readonly) {
|
|
2998
|
-
return /* @__PURE__ */ (0,
|
|
3021
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
2999
3022
|
}
|
|
3000
|
-
return /* @__PURE__ */ (0,
|
|
3023
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
3001
3024
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
3002
3025
|
const onChangeDate = (0, import_react50.useCallback)((newDate) => {
|
|
3003
3026
|
if (!newDate) return;
|
|
@@ -3039,39 +3062,39 @@ function ReservationCard(props) {
|
|
|
3039
3062
|
});
|
|
3040
3063
|
}
|
|
3041
3064
|
}, [editValues, maxTime, readonly]);
|
|
3042
|
-
return /* @__PURE__ */ (0,
|
|
3065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
|
|
3043
3066
|
Card,
|
|
3044
3067
|
{
|
|
3045
3068
|
error: Boolean(error),
|
|
3046
3069
|
size: "3",
|
|
3047
3070
|
style: { overflow: "visible", contain: "initial" },
|
|
3048
3071
|
children: [
|
|
3049
|
-
/* @__PURE__ */ (0,
|
|
3050
|
-
/* @__PURE__ */ (0,
|
|
3072
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
3073
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
|
|
3051
3074
|
import_themes23.Grid,
|
|
3052
3075
|
{
|
|
3053
3076
|
align: "center",
|
|
3054
3077
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
3055
3078
|
gapY: "2",
|
|
3056
3079
|
children: [
|
|
3057
|
-
/* @__PURE__ */ (0,
|
|
3058
|
-
/* @__PURE__ */ (0,
|
|
3080
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
3081
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(Heading2, { variant: "heading4", children: [
|
|
3059
3082
|
customerName || "-",
|
|
3060
3083
|
"\uB2D8 ",
|
|
3061
3084
|
sessionNumber || "-",
|
|
3062
3085
|
"\uD68C\uCC28 \uC138\uC158"
|
|
3063
3086
|
] }),
|
|
3064
|
-
/* @__PURE__ */ (0,
|
|
3087
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
3065
3088
|
] }),
|
|
3066
|
-
error ? /* @__PURE__ */ (0,
|
|
3089
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
3067
3090
|
]
|
|
3068
3091
|
}
|
|
3069
3092
|
),
|
|
3070
|
-
/* @__PURE__ */ (0,
|
|
3093
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
3071
3094
|
] }),
|
|
3072
|
-
/* @__PURE__ */ (0,
|
|
3073
|
-
/* @__PURE__ */ (0,
|
|
3074
|
-
/* @__PURE__ */ (0,
|
|
3095
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3096
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
3097
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
3075
3098
|
DatePickerButton,
|
|
3076
3099
|
{
|
|
3077
3100
|
disabled: readonly,
|
|
@@ -3085,8 +3108,8 @@ function ReservationCard(props) {
|
|
|
3085
3108
|
size: "large"
|
|
3086
3109
|
}
|
|
3087
3110
|
),
|
|
3088
|
-
/* @__PURE__ */ (0,
|
|
3089
|
-
/* @__PURE__ */ (0,
|
|
3111
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
|
|
3112
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
3090
3113
|
OnOfflineRadioCard,
|
|
3091
3114
|
{
|
|
3092
3115
|
disabled: readonly,
|
|
@@ -3095,8 +3118,8 @@ function ReservationCard(props) {
|
|
|
3095
3118
|
value: type
|
|
3096
3119
|
}
|
|
3097
3120
|
),
|
|
3098
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
3099
|
-
/* @__PURE__ */ (0,
|
|
3121
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
3122
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
3100
3123
|
Button,
|
|
3101
3124
|
{
|
|
3102
3125
|
color: "gray",
|
|
@@ -3106,10 +3129,10 @@ function ReservationCard(props) {
|
|
|
3106
3129
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
3107
3130
|
}
|
|
3108
3131
|
),
|
|
3109
|
-
/* @__PURE__ */ (0,
|
|
3132
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
3110
3133
|
] })
|
|
3111
3134
|
] }) }),
|
|
3112
|
-
readonly ? /* @__PURE__ */ (0,
|
|
3135
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
3113
3136
|
import_themes6.Box,
|
|
3114
3137
|
{
|
|
3115
3138
|
mt: "5",
|
|
@@ -3117,14 +3140,14 @@ function ReservationCard(props) {
|
|
|
3117
3140
|
py: "4",
|
|
3118
3141
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
3119
3142
|
width: "100%",
|
|
3120
|
-
children: /* @__PURE__ */ (0,
|
|
3121
|
-
/* @__PURE__ */ (0,
|
|
3143
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
3144
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(Typo, { children: [
|
|
3122
3145
|
sessionNumber || "-",
|
|
3123
3146
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
3124
3147
|
] }),
|
|
3125
|
-
/* @__PURE__ */ (0,
|
|
3148
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
3126
3149
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
3127
|
-
/* @__PURE__ */ (0,
|
|
3150
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
3128
3151
|
] })
|
|
3129
3152
|
] })
|
|
3130
3153
|
}
|
|
@@ -3136,14 +3159,14 @@ function ReservationCard(props) {
|
|
|
3136
3159
|
|
|
3137
3160
|
// src/app/platform/session-review-simple-read.tsx
|
|
3138
3161
|
var import_react51 = require("react");
|
|
3139
|
-
var
|
|
3162
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
3140
3163
|
function SubTitleWrapper({
|
|
3141
3164
|
children,
|
|
3142
3165
|
title
|
|
3143
3166
|
}) {
|
|
3144
|
-
return /* @__PURE__ */ (0,
|
|
3145
|
-
/* @__PURE__ */ (0,
|
|
3146
|
-
/* @__PURE__ */ (0,
|
|
3167
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
3168
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
3169
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes6.Box, { children })
|
|
3147
3170
|
] });
|
|
3148
3171
|
}
|
|
3149
3172
|
function SessionReviewSimpleRead({
|
|
@@ -3168,22 +3191,22 @@ function SessionReviewSimpleRead({
|
|
|
3168
3191
|
color: "error"
|
|
3169
3192
|
};
|
|
3170
3193
|
}, [helpfulness]);
|
|
3171
|
-
return /* @__PURE__ */ (0,
|
|
3172
|
-
/* @__PURE__ */ (0,
|
|
3173
|
-
/* @__PURE__ */ (0,
|
|
3194
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3195
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.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_runtime103.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
3196
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
3174
3197
|
] }) });
|
|
3175
3198
|
}
|
|
3176
3199
|
|
|
3177
3200
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
3178
|
-
var
|
|
3201
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
3179
3202
|
function SectionWrapper({
|
|
3180
3203
|
title,
|
|
3181
3204
|
children
|
|
3182
3205
|
}) {
|
|
3183
|
-
return /* @__PURE__ */ (0,
|
|
3184
|
-
/* @__PURE__ */ (0,
|
|
3185
|
-
/* @__PURE__ */ (0,
|
|
3186
|
-
/* @__PURE__ */ (0,
|
|
3206
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes6.Box, { children: [
|
|
3207
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
3208
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
3209
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes39.Separator, { size: "4" })
|
|
3187
3210
|
] }),
|
|
3188
3211
|
children
|
|
3189
3212
|
] });
|
|
@@ -3193,11 +3216,11 @@ function SessionUserInfoDetail({
|
|
|
3193
3216
|
session,
|
|
3194
3217
|
onClickCopy
|
|
3195
3218
|
}) {
|
|
3196
|
-
return /* @__PURE__ */ (0,
|
|
3197
|
-
/* @__PURE__ */ (0,
|
|
3219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
3220
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
3198
3221
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
3199
3222
|
) }) }),
|
|
3200
|
-
/* @__PURE__ */ (0,
|
|
3223
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
3201
3224
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
3202
3225
|
) }) })
|
|
3203
3226
|
] });
|
|
@@ -3205,7 +3228,7 @@ function SessionUserInfoDetail({
|
|
|
3205
3228
|
|
|
3206
3229
|
// src/app/platform/report-card.tsx
|
|
3207
3230
|
var import_react52 = require("react");
|
|
3208
|
-
var
|
|
3231
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
3209
3232
|
function ReportCard(props) {
|
|
3210
3233
|
const { title, file, status, subtitle } = props;
|
|
3211
3234
|
const onClickDownload = (0, import_react52.useCallback)(() => {
|
|
@@ -3220,24 +3243,24 @@ function ReportCard(props) {
|
|
|
3220
3243
|
document.body.removeChild(link);
|
|
3221
3244
|
}, [file]);
|
|
3222
3245
|
if (status) {
|
|
3223
|
-
return /* @__PURE__ */ (0,
|
|
3224
|
-
/* @__PURE__ */ (0,
|
|
3246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
3247
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3225
3248
|
status
|
|
3226
3249
|
] }) });
|
|
3227
3250
|
}
|
|
3228
|
-
return /* @__PURE__ */ (0,
|
|
3251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
3229
3252
|
import_themes22.Flex,
|
|
3230
3253
|
{
|
|
3231
3254
|
direction: { initial: "column", xs: "row" },
|
|
3232
3255
|
gapY: "2",
|
|
3233
3256
|
justify: "between",
|
|
3234
3257
|
children: [
|
|
3235
|
-
/* @__PURE__ */ (0,
|
|
3236
|
-
/* @__PURE__ */ (0,
|
|
3237
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
3258
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes6.Box, { children: [
|
|
3259
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3260
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
3238
3261
|
] }),
|
|
3239
|
-
/* @__PURE__ */ (0,
|
|
3240
|
-
/* @__PURE__ */ (0,
|
|
3262
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
3263
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
3241
3264
|
file == null ? void 0 : file.buttonName
|
|
3242
3265
|
] }) }, file == null ? void 0 : file.url)
|
|
3243
3266
|
]
|
|
@@ -3247,7 +3270,7 @@ function ReportCard(props) {
|
|
|
3247
3270
|
|
|
3248
3271
|
// src/app/platform/contents-card.tsx
|
|
3249
3272
|
var import_react53 = require("react");
|
|
3250
|
-
var
|
|
3273
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
3251
3274
|
var ContentsCard = (0, import_react53.forwardRef)(
|
|
3252
3275
|
({
|
|
3253
3276
|
title,
|
|
@@ -3258,7 +3281,7 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
3258
3281
|
onClickCard,
|
|
3259
3282
|
isLoading = false
|
|
3260
3283
|
}, ref) => {
|
|
3261
|
-
return /* @__PURE__ */ (0,
|
|
3284
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
3262
3285
|
Card,
|
|
3263
3286
|
{
|
|
3264
3287
|
onClick: onClickCard,
|
|
@@ -3271,7 +3294,7 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
3271
3294
|
maxHeight: "450px"
|
|
3272
3295
|
},
|
|
3273
3296
|
children: [
|
|
3274
|
-
/* @__PURE__ */ (0,
|
|
3297
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
3275
3298
|
import_themes6.Box,
|
|
3276
3299
|
{
|
|
3277
3300
|
height: "210px",
|
|
@@ -3283,12 +3306,12 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
3283
3306
|
width: "100%"
|
|
3284
3307
|
}
|
|
3285
3308
|
) }) }),
|
|
3286
|
-
/* @__PURE__ */ (0,
|
|
3287
|
-
/* @__PURE__ */ (0,
|
|
3288
|
-
/* @__PURE__ */ (0,
|
|
3289
|
-
/* @__PURE__ */ (0,
|
|
3309
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
3310
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes6.Box, { children: [
|
|
3311
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
3312
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
3290
3313
|
] }),
|
|
3291
|
-
/* @__PURE__ */ (0,
|
|
3314
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
3292
3315
|
import_themes23.Grid,
|
|
3293
3316
|
{
|
|
3294
3317
|
align: "center",
|
|
@@ -3298,10 +3321,10 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
3298
3321
|
style: { marginTop: "auto" },
|
|
3299
3322
|
width: "100%",
|
|
3300
3323
|
children: [
|
|
3301
|
-
/* @__PURE__ */ (0,
|
|
3302
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
3303
|
-
/* @__PURE__ */ (0,
|
|
3304
|
-
/* @__PURE__ */ (0,
|
|
3324
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
3325
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(DropdownMenu.Root, { children: [
|
|
3326
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
3327
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
3305
3328
|
DropdownMenu.Item,
|
|
3306
3329
|
{
|
|
3307
3330
|
onClick: (e) => {
|
|
@@ -3325,7 +3348,7 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
3325
3348
|
ContentsCard.displayName = "ContentsCard";
|
|
3326
3349
|
|
|
3327
3350
|
// src/app/platform/curriculum-card.tsx
|
|
3328
|
-
var
|
|
3351
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
3329
3352
|
function CurriculumCard(props) {
|
|
3330
3353
|
const {
|
|
3331
3354
|
title,
|
|
@@ -3336,7 +3359,7 @@ function CurriculumCard(props) {
|
|
|
3336
3359
|
bgColor,
|
|
3337
3360
|
onClick
|
|
3338
3361
|
} = props;
|
|
3339
|
-
return /* @__PURE__ */ (0,
|
|
3362
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
3340
3363
|
import_themes23.Grid,
|
|
3341
3364
|
{
|
|
3342
3365
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -3345,7 +3368,7 @@ function CurriculumCard(props) {
|
|
|
3345
3368
|
onClick,
|
|
3346
3369
|
style: { cursor: "pointer" },
|
|
3347
3370
|
children: [
|
|
3348
|
-
/* @__PURE__ */ (0,
|
|
3371
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
3349
3372
|
import_themes6.Box,
|
|
3350
3373
|
{
|
|
3351
3374
|
height: "165px",
|
|
@@ -3360,32 +3383,32 @@ function CurriculumCard(props) {
|
|
|
3360
3383
|
backgroundAttachment: "local"
|
|
3361
3384
|
},
|
|
3362
3385
|
width: "100%",
|
|
3363
|
-
children: /* @__PURE__ */ (0,
|
|
3386
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
3364
3387
|
}
|
|
3365
3388
|
),
|
|
3366
|
-
/* @__PURE__ */ (0,
|
|
3367
|
-
/* @__PURE__ */ (0,
|
|
3368
|
-
/* @__PURE__ */ (0,
|
|
3369
|
-
/* @__PURE__ */ (0,
|
|
3389
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
3390
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
3391
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3392
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
3370
3393
|
Badge,
|
|
3371
3394
|
{
|
|
3372
3395
|
size: "medium",
|
|
3373
3396
|
style: { justifySelf: "flex-start" },
|
|
3374
3397
|
variant: "outline",
|
|
3375
|
-
children: /* @__PURE__ */ (0,
|
|
3376
|
-
/* @__PURE__ */ (0,
|
|
3398
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
3399
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react_icons2.TimerIcon, {}),
|
|
3377
3400
|
runningTime
|
|
3378
3401
|
] })
|
|
3379
3402
|
}
|
|
3380
3403
|
)
|
|
3381
3404
|
] }),
|
|
3382
|
-
/* @__PURE__ */ (0,
|
|
3383
|
-
return /* @__PURE__ */ (0,
|
|
3405
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
3406
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
3384
3407
|
}) }) }),
|
|
3385
|
-
/* @__PURE__ */ (0,
|
|
3386
|
-
/* @__PURE__ */ (0,
|
|
3387
|
-
/* @__PURE__ */ (0,
|
|
3388
|
-
/* @__PURE__ */ (0,
|
|
3408
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes39.Separator, { size: "4" }),
|
|
3409
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
3410
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
3411
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
3389
3412
|
] })
|
|
3390
3413
|
] })
|
|
3391
3414
|
]
|