@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/index.cjs
CHANGED
|
@@ -79,6 +79,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
79
79
|
// src/index.ts
|
|
80
80
|
var index_exports = {};
|
|
81
81
|
__export(index_exports, {
|
|
82
|
+
AI_CALLOUT_ICON_OPTIONS: () => AI_CALLOUT_ICON_OPTIONS,
|
|
82
83
|
AlertDialog: () => import_themes.AlertDialog,
|
|
83
84
|
ArchiveIcon: () => import_react_icons2.ArchiveIcon,
|
|
84
85
|
ArrowLeftIcon: () => import_react_icons2.ArrowLeftIcon,
|
|
@@ -144,6 +145,7 @@ __export(index_exports, {
|
|
|
144
145
|
DataList: () => import_themes15.DataList,
|
|
145
146
|
DatePicker: () => DatePicker,
|
|
146
147
|
DatePickerButton: () => DatePickerButton,
|
|
148
|
+
DescriptionJsonRender: () => DescriptionJsonRender,
|
|
147
149
|
Dialog: () => Dialog,
|
|
148
150
|
DotNavigation: () => DotNavigation,
|
|
149
151
|
DotsHorizontalIcon: () => import_react_icons2.DotsHorizontalIcon,
|
|
@@ -268,6 +270,7 @@ __export(index_exports, {
|
|
|
268
270
|
VideoIcon: () => import_react_icons2.VideoIcon,
|
|
269
271
|
createColumnHelper: () => import_react_table2.createColumnHelper,
|
|
270
272
|
createYupValidation: () => createYupValidation,
|
|
273
|
+
getCalloutIconComponent: () => getCalloutIconComponent,
|
|
271
274
|
getCellAlign: () => getCellAlign,
|
|
272
275
|
getColumnMeta: () => getColumnMeta,
|
|
273
276
|
getTimeOption: () => getTimeOption,
|
|
@@ -2229,6 +2232,7 @@ var List = {
|
|
|
2229
2232
|
// src/molecules/expand-table/index.tsx
|
|
2230
2233
|
var import_react_table2 = require("@tanstack/react-table");
|
|
2231
2234
|
var import_react26 = require("react");
|
|
2235
|
+
var import_themes52 = require("@radix-ui/themes");
|
|
2232
2236
|
|
|
2233
2237
|
// src/molecules/expand-table/row.tsx
|
|
2234
2238
|
var import_react_table = require("@tanstack/react-table");
|
|
@@ -2298,7 +2302,6 @@ function Row(props) {
|
|
|
2298
2302
|
}
|
|
2299
2303
|
|
|
2300
2304
|
// src/molecules/expand-table/index.tsx
|
|
2301
|
-
var import_themes52 = require("@radix-ui/themes");
|
|
2302
2305
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2303
2306
|
var sortButtonColorMapper = {
|
|
2304
2307
|
card: {
|
|
@@ -3575,6 +3578,31 @@ var getTimeOption = (time) => {
|
|
|
3575
3578
|
return `${hour < 10 ? `0${hour}` : hour}:${minute < 10 ? `0${minute}` : minute}`;
|
|
3576
3579
|
};
|
|
3577
3580
|
|
|
3581
|
+
// src/utils/getCalloutIconComponent.ts
|
|
3582
|
+
var DEFAULT_ICON = import_react_icons2.InfoCircledIcon;
|
|
3583
|
+
var AI_CALLOUT_ICON_OPTIONS = [
|
|
3584
|
+
{ label: "Info", value: "InfoCircledIcon", Component: import_react_icons2.InfoCircledIcon },
|
|
3585
|
+
{
|
|
3586
|
+
label: "Warning",
|
|
3587
|
+
value: "ExclamationTriangleIcon",
|
|
3588
|
+
Component: import_react_icons2.ExclamationTriangleIcon
|
|
3589
|
+
},
|
|
3590
|
+
{ label: "Check", value: "CheckCircledIcon", Component: import_react_icons2.CheckCircledIcon },
|
|
3591
|
+
{
|
|
3592
|
+
label: "Question",
|
|
3593
|
+
value: "QuestionMarkCircledIcon",
|
|
3594
|
+
Component: import_react_icons2.QuestionMarkCircledIcon
|
|
3595
|
+
}
|
|
3596
|
+
];
|
|
3597
|
+
var iconByName = {};
|
|
3598
|
+
for (const opt of AI_CALLOUT_ICON_OPTIONS) {
|
|
3599
|
+
iconByName[opt.value] = opt.Component;
|
|
3600
|
+
}
|
|
3601
|
+
function getCalloutIconComponent(iconName) {
|
|
3602
|
+
var _a;
|
|
3603
|
+
return (_a = iconByName[iconName]) != null ? _a : DEFAULT_ICON;
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3578
3606
|
// src/molecules/time-select.tsx
|
|
3579
3607
|
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
3580
3608
|
var getOptionValue = (date, timeValue) => {
|
|
@@ -5432,7 +5460,8 @@ function DynamicFormProvider({
|
|
|
5432
5460
|
children,
|
|
5433
5461
|
fields,
|
|
5434
5462
|
formik,
|
|
5435
|
-
readonly = false
|
|
5463
|
+
readonly = false,
|
|
5464
|
+
formStyle
|
|
5436
5465
|
}) {
|
|
5437
5466
|
const contextValue = {
|
|
5438
5467
|
formik,
|
|
@@ -5451,7 +5480,7 @@ function DynamicFormProvider({
|
|
|
5451
5480
|
handleChange: formik.handleChange,
|
|
5452
5481
|
handleBlur: formik.handleBlur
|
|
5453
5482
|
};
|
|
5454
|
-
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(DynamicFormContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Form.Root, { onSubmit: formik.handleSubmit, children }) });
|
|
5483
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(DynamicFormContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Form.Root, { onSubmit: formik.handleSubmit, style: formStyle, children }) });
|
|
5455
5484
|
}
|
|
5456
5485
|
function useDynamicForm() {
|
|
5457
5486
|
const context = (0, import_react42.useContext)(DynamicFormContext);
|
|
@@ -5594,7 +5623,8 @@ function DynamicFormRoot({
|
|
|
5594
5623
|
initialValues: initialValues2 = {},
|
|
5595
5624
|
onSubmit,
|
|
5596
5625
|
children,
|
|
5597
|
-
readonly = false
|
|
5626
|
+
readonly = false,
|
|
5627
|
+
formStyle
|
|
5598
5628
|
}) {
|
|
5599
5629
|
const validationSchema = (0, import_react43.useMemo)(() => {
|
|
5600
5630
|
const schema = {};
|
|
@@ -5647,7 +5677,7 @@ function DynamicFormRoot({
|
|
|
5647
5677
|
};
|
|
5648
5678
|
}
|
|
5649
5679
|
}, [formik.submitCount, formik.errors, fields]);
|
|
5650
|
-
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(DynamicFormProvider, { fields, formik, readonly, children });
|
|
5680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(DynamicFormProvider, { fields, formStyle, formik, readonly, children });
|
|
5651
5681
|
}
|
|
5652
5682
|
function DynamicFormFieldList({
|
|
5653
5683
|
fields: fieldsProp,
|
|
@@ -5897,6 +5927,37 @@ function OneOnOneGuideList(props) {
|
|
|
5897
5927
|
] });
|
|
5898
5928
|
}
|
|
5899
5929
|
|
|
5930
|
+
// src/molecules/description-json-render.tsx
|
|
5931
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
5932
|
+
function DescriptionJsonRender(props) {
|
|
5933
|
+
const { value } = props;
|
|
5934
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_jsx_runtime89.Fragment, { children: value.values.map((block, index) => {
|
|
5935
|
+
if (block.type === "bullet-list") {
|
|
5936
|
+
return (
|
|
5937
|
+
// eslint-disable-next-line react/no-array-index-key -- 블록 타입과 인덱스를 키로 사용
|
|
5938
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes6.Box, { mb: "2", pl: "4", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(List.Root, { preSpace: "small", children: block.value.map((v, i) => (
|
|
5939
|
+
// eslint-disable-next-line react/no-array-index-key -- 블록 타입과 인덱스를 키로 사용
|
|
5940
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(List.Item, { children: v }, `${index}-${i}`)
|
|
5941
|
+
)) }) }, `${block.type}-${index}`)
|
|
5942
|
+
);
|
|
5943
|
+
}
|
|
5944
|
+
if (block.type === "callout") {
|
|
5945
|
+
const Icon = getCalloutIconComponent(block.icon);
|
|
5946
|
+
return (
|
|
5947
|
+
// eslint-disable-next-line react/no-array-index-key -- 블록 타입과 인덱스를 키로 사용
|
|
5948
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes6.Box, { mb: "2", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_themes8.Callout.Root, { children: [
|
|
5949
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes8.Callout.Icon, { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Icon, {}) }),
|
|
5950
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_themes8.Callout.Text, { children: block.value })
|
|
5951
|
+
] }) }, `${block.type}-${index}`)
|
|
5952
|
+
);
|
|
5953
|
+
}
|
|
5954
|
+
return (
|
|
5955
|
+
// eslint-disable-next-line react/no-array-index-key -- 블록 타입과 인덱스를 키로 사용
|
|
5956
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Typo, { mb: "2", weight: "regular", children: block.value }, `${block.type}-${index}`)
|
|
5957
|
+
);
|
|
5958
|
+
}) });
|
|
5959
|
+
}
|
|
5960
|
+
|
|
5900
5961
|
// src/theme/use-theme.tsx
|
|
5901
5962
|
var import_themes56 = require("@radix-ui/themes");
|
|
5902
5963
|
|
|
@@ -5904,22 +5965,22 @@ var import_themes56 = require("@radix-ui/themes");
|
|
|
5904
5965
|
var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
5905
5966
|
|
|
5906
5967
|
// src/charts/horizontal-bar-chart.tsx
|
|
5907
|
-
var
|
|
5968
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
5908
5969
|
function HorizontalBarChart(props) {
|
|
5909
5970
|
const { total, value, backgroundColor, barColor, height } = props;
|
|
5910
|
-
return /* @__PURE__ */ (0,
|
|
5971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5911
5972
|
"div",
|
|
5912
5973
|
{
|
|
5913
5974
|
className: "tipp_horizontal-bar-chart bar-wrapper",
|
|
5914
5975
|
style: { height, backgroundColor },
|
|
5915
|
-
children: /* @__PURE__ */ (0,
|
|
5976
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
5916
5977
|
"div",
|
|
5917
5978
|
{
|
|
5918
5979
|
style: {
|
|
5919
5980
|
width: `${Math.round(value / total * 100)}%`,
|
|
5920
5981
|
height: "100%"
|
|
5921
5982
|
},
|
|
5922
|
-
children: /* @__PURE__ */ (0,
|
|
5983
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
|
|
5923
5984
|
}
|
|
5924
5985
|
)
|
|
5925
5986
|
}
|
|
@@ -6075,23 +6136,23 @@ var EchartDefaultProps = {
|
|
|
6075
6136
|
};
|
|
6076
6137
|
|
|
6077
6138
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
6078
|
-
var
|
|
6139
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
6079
6140
|
function CoachingCustomerInfoSmall({
|
|
6080
6141
|
customer,
|
|
6081
6142
|
children,
|
|
6082
6143
|
badge
|
|
6083
6144
|
}) {
|
|
6084
|
-
return /* @__PURE__ */ (0,
|
|
6145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
6085
6146
|
import_themes22.Flex,
|
|
6086
6147
|
{
|
|
6087
6148
|
direction: { initial: "column", xs: "row" },
|
|
6088
6149
|
gap: "3",
|
|
6089
6150
|
justify: "between",
|
|
6090
6151
|
children: [
|
|
6091
|
-
/* @__PURE__ */ (0,
|
|
6092
|
-
/* @__PURE__ */ (0,
|
|
6093
|
-
/* @__PURE__ */ (0,
|
|
6094
|
-
/* @__PURE__ */ (0,
|
|
6152
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
6153
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
6154
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
6155
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
6095
6156
|
] }) }),
|
|
6096
6157
|
children
|
|
6097
6158
|
]
|
|
@@ -6102,7 +6163,7 @@ function CoachingCustomerInfoSmall({
|
|
|
6102
6163
|
// src/app/platform/userInfos/utils.tsx
|
|
6103
6164
|
var import_date_fns3 = require("date-fns");
|
|
6104
6165
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
6105
|
-
var
|
|
6166
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
6106
6167
|
var infoList = [
|
|
6107
6168
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
6108
6169
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -6162,21 +6223,21 @@ var sessionList = [
|
|
|
6162
6223
|
var renderItem = (args) => {
|
|
6163
6224
|
const { info, data, onClickCopy } = args;
|
|
6164
6225
|
const value = info.getValue(data);
|
|
6165
|
-
return /* @__PURE__ */ (0,
|
|
6226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_jsx_runtime92.Fragment, { children: [
|
|
6166
6227
|
info.render ? info.render(value) : value || "-",
|
|
6167
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
6228
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
6168
6229
|
] });
|
|
6169
6230
|
};
|
|
6170
6231
|
var renderDataListItem = (args) => {
|
|
6171
6232
|
const { info, data, onClickCopy } = args;
|
|
6172
|
-
return /* @__PURE__ */ (0,
|
|
6173
|
-
/* @__PURE__ */ (0,
|
|
6174
|
-
/* @__PURE__ */ (0,
|
|
6233
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_themes15.DataList.Item, { children: [
|
|
6234
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
6235
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
6175
6236
|
] }, info.label);
|
|
6176
6237
|
};
|
|
6177
6238
|
function CopyButton(props) {
|
|
6178
6239
|
const { value, onClickCopy } = props;
|
|
6179
|
-
return /* @__PURE__ */ (0,
|
|
6240
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6180
6241
|
Button,
|
|
6181
6242
|
{
|
|
6182
6243
|
color: "gray",
|
|
@@ -6185,13 +6246,13 @@ function CopyButton(props) {
|
|
|
6185
6246
|
},
|
|
6186
6247
|
style: { marginLeft: "0", marginTop: "0" },
|
|
6187
6248
|
variant: "transparent",
|
|
6188
|
-
children: /* @__PURE__ */ (0,
|
|
6249
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_icons9.CopyIcon, {})
|
|
6189
6250
|
}
|
|
6190
6251
|
);
|
|
6191
6252
|
}
|
|
6192
6253
|
|
|
6193
6254
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
6194
|
-
var
|
|
6255
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
6195
6256
|
function CoachingCustomerInfoMedium({
|
|
6196
6257
|
customer,
|
|
6197
6258
|
session,
|
|
@@ -6199,28 +6260,28 @@ function CoachingCustomerInfoMedium({
|
|
|
6199
6260
|
badge,
|
|
6200
6261
|
onClickCopy
|
|
6201
6262
|
}) {
|
|
6202
|
-
return /* @__PURE__ */ (0,
|
|
6203
|
-
/* @__PURE__ */ (0,
|
|
6204
|
-
/* @__PURE__ */ (0,
|
|
6205
|
-
/* @__PURE__ */ (0,
|
|
6263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
6264
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_themes6.Box, { children: [
|
|
6265
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
6266
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
6206
6267
|
badge
|
|
6207
6268
|
] }),
|
|
6208
|
-
/* @__PURE__ */ (0,
|
|
6269
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
6209
6270
|
] }),
|
|
6210
6271
|
children,
|
|
6211
|
-
/* @__PURE__ */ (0,
|
|
6272
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
6212
6273
|
(el) => renderDataListItem({
|
|
6213
6274
|
info: el,
|
|
6214
6275
|
data: session,
|
|
6215
6276
|
onClickCopy
|
|
6216
6277
|
})
|
|
6217
6278
|
) }) }),
|
|
6218
|
-
/* @__PURE__ */ (0,
|
|
6219
|
-
/* @__PURE__ */ (0,
|
|
6220
|
-
/* @__PURE__ */ (0,
|
|
6279
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
6280
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
6281
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes39.Separator, { size: "4" })
|
|
6221
6282
|
] }),
|
|
6222
|
-
/* @__PURE__ */ (0,
|
|
6223
|
-
return /* @__PURE__ */ (0,
|
|
6283
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
6284
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Typo, { children: renderItem({
|
|
6224
6285
|
info: el,
|
|
6225
6286
|
data: customer,
|
|
6226
6287
|
onClickCopy
|
|
@@ -6230,7 +6291,7 @@ function CoachingCustomerInfoMedium({
|
|
|
6230
6291
|
}
|
|
6231
6292
|
|
|
6232
6293
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
6233
|
-
var
|
|
6294
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
6234
6295
|
function CoachingCustomerInfoLarge({
|
|
6235
6296
|
customer,
|
|
6236
6297
|
session,
|
|
@@ -6238,24 +6299,24 @@ function CoachingCustomerInfoLarge({
|
|
|
6238
6299
|
badge,
|
|
6239
6300
|
onClickCopy
|
|
6240
6301
|
}) {
|
|
6241
|
-
return /* @__PURE__ */ (0,
|
|
6242
|
-
/* @__PURE__ */ (0,
|
|
6243
|
-
/* @__PURE__ */ (0,
|
|
6244
|
-
/* @__PURE__ */ (0,
|
|
6302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
6303
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes6.Box, { children: [
|
|
6304
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
6305
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
6245
6306
|
badge
|
|
6246
6307
|
] }),
|
|
6247
|
-
/* @__PURE__ */ (0,
|
|
6308
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
6248
6309
|
] }),
|
|
6249
6310
|
children,
|
|
6250
|
-
/* @__PURE__ */ (0,
|
|
6311
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
6251
6312
|
(el) => renderDataListItem({
|
|
6252
6313
|
info: el,
|
|
6253
6314
|
data: session,
|
|
6254
6315
|
onClickCopy
|
|
6255
6316
|
})
|
|
6256
6317
|
) }) }),
|
|
6257
|
-
/* @__PURE__ */ (0,
|
|
6258
|
-
/* @__PURE__ */ (0,
|
|
6318
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes39.Separator, { size: "4" }),
|
|
6319
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
6259
6320
|
(info) => renderDataListItem({
|
|
6260
6321
|
info,
|
|
6261
6322
|
data: customer,
|
|
@@ -6266,19 +6327,19 @@ function CoachingCustomerInfoLarge({
|
|
|
6266
6327
|
}
|
|
6267
6328
|
|
|
6268
6329
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
6269
|
-
var
|
|
6330
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
6270
6331
|
function CoachingCustomerInfo(props) {
|
|
6271
|
-
return /* @__PURE__ */ (0,
|
|
6272
|
-
/* @__PURE__ */ (0,
|
|
6273
|
-
/* @__PURE__ */ (0,
|
|
6274
|
-
/* @__PURE__ */ (0,
|
|
6332
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
|
|
6333
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
6334
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
6335
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
6275
6336
|
] });
|
|
6276
6337
|
}
|
|
6277
6338
|
|
|
6278
6339
|
// src/app/platform/goal-manage-card-read.tsx
|
|
6279
6340
|
var import_react45 = require("react");
|
|
6280
6341
|
var import_date_fns4 = require("date-fns");
|
|
6281
|
-
var
|
|
6342
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
6282
6343
|
function GoalManageCardRead(props) {
|
|
6283
6344
|
const {
|
|
6284
6345
|
title,
|
|
@@ -6296,7 +6357,7 @@ function GoalManageCardRead(props) {
|
|
|
6296
6357
|
const onClickOpen = (0, import_react45.useCallback)(() => {
|
|
6297
6358
|
setOpen((p) => !p);
|
|
6298
6359
|
}, []);
|
|
6299
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
6360
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_icons2.ChevronDownIcon, {});
|
|
6300
6361
|
const badgeMeta = (0, import_react45.useMemo)(() => {
|
|
6301
6362
|
if (!completed && dueDate) {
|
|
6302
6363
|
if (dueDate >= (0, import_date_fns4.startOfDay)(/* @__PURE__ */ new Date()))
|
|
@@ -6309,40 +6370,40 @@ function GoalManageCardRead(props) {
|
|
|
6309
6370
|
return null;
|
|
6310
6371
|
}, [completed, dueDate]);
|
|
6311
6372
|
const renderSubTitle = (0, import_react45.useCallback)((subTitle) => {
|
|
6312
|
-
return /* @__PURE__ */ (0,
|
|
6373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
6313
6374
|
}, []);
|
|
6314
6375
|
const renderSubContent = (0, import_react45.useCallback)((content) => {
|
|
6315
|
-
return /* @__PURE__ */ (0,
|
|
6376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
6316
6377
|
}, []);
|
|
6317
6378
|
const renderCompleteButton = (0, import_react45.useCallback)(() => {
|
|
6318
6379
|
if (completed) {
|
|
6319
|
-
return /* @__PURE__ */ (0,
|
|
6380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
6320
6381
|
}
|
|
6321
|
-
return /* @__PURE__ */ (0,
|
|
6322
|
-
/* @__PURE__ */ (0,
|
|
6323
|
-
/* @__PURE__ */ (0,
|
|
6382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes29.Popover.Root, { children: [
|
|
6383
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Button, { size: "small", children: [
|
|
6384
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_icons2.RocketIcon, {}),
|
|
6324
6385
|
"\uB2EC\uC131\uD558\uAE30"
|
|
6325
6386
|
] }) }),
|
|
6326
|
-
/* @__PURE__ */ (0,
|
|
6327
|
-
/* @__PURE__ */ (0,
|
|
6328
|
-
/* @__PURE__ */ (0,
|
|
6329
|
-
/* @__PURE__ */ (0,
|
|
6330
|
-
/* @__PURE__ */ (0,
|
|
6387
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes29.Popover.Content, { children: [
|
|
6388
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
6389
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
6390
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
6391
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
6331
6392
|
] })
|
|
6332
6393
|
] })
|
|
6333
6394
|
] });
|
|
6334
6395
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
6335
|
-
return /* @__PURE__ */ (0,
|
|
6336
|
-
/* @__PURE__ */ (0,
|
|
6337
|
-
/* @__PURE__ */ (0,
|
|
6338
|
-
/* @__PURE__ */ (0,
|
|
6339
|
-
/* @__PURE__ */ (0,
|
|
6340
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
6341
|
-
/* @__PURE__ */ (0,
|
|
6396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
6397
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
6398
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
6399
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
6400
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
6401
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
6402
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns4.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
6342
6403
|
] }),
|
|
6343
6404
|
renderCompleteButton()
|
|
6344
6405
|
] }),
|
|
6345
|
-
open ? /* @__PURE__ */ (0,
|
|
6406
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6346
6407
|
import_themes39.Separator,
|
|
6347
6408
|
{
|
|
6348
6409
|
mb: "4",
|
|
@@ -6351,37 +6412,37 @@ function GoalManageCardRead(props) {
|
|
|
6351
6412
|
style: { gridColumnStart: "span 2" }
|
|
6352
6413
|
}
|
|
6353
6414
|
) : null,
|
|
6354
|
-
/* @__PURE__ */ (0,
|
|
6355
|
-
/* @__PURE__ */ (0,
|
|
6356
|
-
/* @__PURE__ */ (0,
|
|
6415
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Collapse, { open, children: [
|
|
6416
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
6417
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes6.Box, { children: [
|
|
6357
6418
|
renderSubTitle(
|
|
6358
6419
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
6359
6420
|
),
|
|
6360
6421
|
renderSubContent(expectedEffect)
|
|
6361
6422
|
] }),
|
|
6362
|
-
/* @__PURE__ */ (0,
|
|
6423
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes6.Box, { children: [
|
|
6363
6424
|
renderSubTitle(
|
|
6364
6425
|
"\uBAA9\uD45C\uB97C \uC774\uB8E8\uAE30\uAE4C\uC9C0 \uBC29\uD574\uAC00 \uB420 \uC218 \uC788\uB294 \uC694\uC18C\uB4E4\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4"
|
|
6365
6426
|
),
|
|
6366
6427
|
renderSubContent(huddle)
|
|
6367
6428
|
] })
|
|
6368
6429
|
] }),
|
|
6369
|
-
/* @__PURE__ */ (0,
|
|
6370
|
-
/* @__PURE__ */ (0,
|
|
6371
|
-
/* @__PURE__ */ (0,
|
|
6372
|
-
/* @__PURE__ */ (0,
|
|
6430
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
6431
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes29.Popover.Root, { children: [
|
|
6432
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
6433
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_icons2.TrashIcon, {}),
|
|
6373
6434
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
6374
6435
|
] }) }),
|
|
6375
|
-
/* @__PURE__ */ (0,
|
|
6376
|
-
/* @__PURE__ */ (0,
|
|
6377
|
-
/* @__PURE__ */ (0,
|
|
6378
|
-
/* @__PURE__ */ (0,
|
|
6379
|
-
/* @__PURE__ */ (0,
|
|
6436
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes29.Popover.Content, { children: [
|
|
6437
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
6438
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
6439
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
6440
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
6380
6441
|
] })
|
|
6381
6442
|
] })
|
|
6382
6443
|
] }),
|
|
6383
|
-
/* @__PURE__ */ (0,
|
|
6384
|
-
/* @__PURE__ */ (0,
|
|
6444
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
6445
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_icons2.Pencil1Icon, {}),
|
|
6385
6446
|
"\uC218\uC815\uD558\uAE30"
|
|
6386
6447
|
] })
|
|
6387
6448
|
] })
|
|
@@ -6392,7 +6453,7 @@ function GoalManageCardRead(props) {
|
|
|
6392
6453
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
6393
6454
|
var import_react46 = require("react");
|
|
6394
6455
|
var import_date_fns5 = require("date-fns");
|
|
6395
|
-
var
|
|
6456
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
6396
6457
|
var initialValues = {
|
|
6397
6458
|
goal: "",
|
|
6398
6459
|
effect: "",
|
|
@@ -6421,11 +6482,11 @@ function GoalManageCardEdit(props) {
|
|
|
6421
6482
|
var _a;
|
|
6422
6483
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
6423
6484
|
}, [props, values]);
|
|
6424
|
-
return /* @__PURE__ */ (0,
|
|
6425
|
-
/* @__PURE__ */ (0,
|
|
6426
|
-
/* @__PURE__ */ (0,
|
|
6427
|
-
/* @__PURE__ */ (0,
|
|
6428
|
-
/* @__PURE__ */ (0,
|
|
6485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
6486
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
6487
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Form.Field, { name: "title", children: [
|
|
6488
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
6489
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6429
6490
|
TextField.Root,
|
|
6430
6491
|
{
|
|
6431
6492
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -6436,11 +6497,11 @@ function GoalManageCardEdit(props) {
|
|
|
6436
6497
|
value: values.goal
|
|
6437
6498
|
}
|
|
6438
6499
|
),
|
|
6439
|
-
/* @__PURE__ */ (0,
|
|
6500
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
6440
6501
|
] }),
|
|
6441
|
-
/* @__PURE__ */ (0,
|
|
6442
|
-
/* @__PURE__ */ (0,
|
|
6443
|
-
/* @__PURE__ */ (0,
|
|
6502
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Form.Field, { name: "effect", children: [
|
|
6503
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
6504
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6444
6505
|
TextArea,
|
|
6445
6506
|
{
|
|
6446
6507
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -6452,11 +6513,11 @@ function GoalManageCardEdit(props) {
|
|
|
6452
6513
|
value: values.effect
|
|
6453
6514
|
}
|
|
6454
6515
|
),
|
|
6455
|
-
/* @__PURE__ */ (0,
|
|
6516
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
6456
6517
|
] }),
|
|
6457
|
-
/* @__PURE__ */ (0,
|
|
6458
|
-
/* @__PURE__ */ (0,
|
|
6459
|
-
/* @__PURE__ */ (0,
|
|
6518
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Form.Field, { name: "huddle", children: [
|
|
6519
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
6520
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6460
6521
|
TextArea,
|
|
6461
6522
|
{
|
|
6462
6523
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -6470,11 +6531,11 @@ function GoalManageCardEdit(props) {
|
|
|
6470
6531
|
value: values.huddle
|
|
6471
6532
|
}
|
|
6472
6533
|
),
|
|
6473
|
-
/* @__PURE__ */ (0,
|
|
6534
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
6474
6535
|
] }),
|
|
6475
|
-
/* @__PURE__ */ (0,
|
|
6476
|
-
/* @__PURE__ */ (0,
|
|
6477
|
-
/* @__PURE__ */ (0,
|
|
6536
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
6537
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
6538
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6478
6539
|
DatePickerButton,
|
|
6479
6540
|
{
|
|
6480
6541
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -6485,11 +6546,11 @@ function GoalManageCardEdit(props) {
|
|
|
6485
6546
|
selected: values.dueDate
|
|
6486
6547
|
}
|
|
6487
6548
|
),
|
|
6488
|
-
/* @__PURE__ */ (0,
|
|
6549
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
6489
6550
|
] })
|
|
6490
6551
|
] }),
|
|
6491
|
-
/* @__PURE__ */ (0,
|
|
6492
|
-
/* @__PURE__ */ (0,
|
|
6552
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
6553
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6493
6554
|
Button,
|
|
6494
6555
|
{
|
|
6495
6556
|
color: "gray",
|
|
@@ -6500,7 +6561,7 @@ function GoalManageCardEdit(props) {
|
|
|
6500
6561
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
6501
6562
|
}
|
|
6502
6563
|
),
|
|
6503
|
-
/* @__PURE__ */ (0,
|
|
6564
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
6504
6565
|
] })
|
|
6505
6566
|
] }) });
|
|
6506
6567
|
}
|
|
@@ -6511,7 +6572,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
6511
6572
|
|
|
6512
6573
|
// src/app/platform/edit-coaching-time.tsx
|
|
6513
6574
|
var import_react47 = require("react");
|
|
6514
|
-
var
|
|
6575
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
6515
6576
|
var getValueFromDefaultValue = (args) => {
|
|
6516
6577
|
return {
|
|
6517
6578
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -6581,10 +6642,10 @@ function EditCoachingTime(props) {
|
|
|
6581
6642
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
6582
6643
|
}
|
|
6583
6644
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
6584
|
-
return /* @__PURE__ */ (0,
|
|
6585
|
-
/* @__PURE__ */ (0,
|
|
6586
|
-
/* @__PURE__ */ (0,
|
|
6587
|
-
/* @__PURE__ */ (0,
|
|
6645
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(Form.Root, { children: [
|
|
6646
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(Form.Field, { name: "date", children: [
|
|
6647
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
6648
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
6588
6649
|
DatePickerButton,
|
|
6589
6650
|
{
|
|
6590
6651
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -6594,7 +6655,7 @@ function EditCoachingTime(props) {
|
|
|
6594
6655
|
}
|
|
6595
6656
|
)
|
|
6596
6657
|
] }),
|
|
6597
|
-
/* @__PURE__ */ (0,
|
|
6658
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
|
|
6598
6659
|
import_themes23.Grid,
|
|
6599
6660
|
{
|
|
6600
6661
|
align: "center",
|
|
@@ -6609,10 +6670,10 @@ function EditCoachingTime(props) {
|
|
|
6609
6670
|
mt: "5",
|
|
6610
6671
|
width: "100%",
|
|
6611
6672
|
children: [
|
|
6612
|
-
/* @__PURE__ */ (0,
|
|
6613
|
-
/* @__PURE__ */ (0,
|
|
6614
|
-
/* @__PURE__ */ (0,
|
|
6615
|
-
/* @__PURE__ */ (0,
|
|
6673
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
6674
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", {}),
|
|
6675
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
6676
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
6616
6677
|
TimeSelect,
|
|
6617
6678
|
{
|
|
6618
6679
|
onValueChange: onChangeStartTime,
|
|
@@ -6620,8 +6681,8 @@ function EditCoachingTime(props) {
|
|
|
6620
6681
|
value: values.startTime
|
|
6621
6682
|
}
|
|
6622
6683
|
),
|
|
6623
|
-
/* @__PURE__ */ (0,
|
|
6624
|
-
/* @__PURE__ */ (0,
|
|
6684
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes39.Separator, {}) }),
|
|
6685
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
6625
6686
|
TimeSelect,
|
|
6626
6687
|
{
|
|
6627
6688
|
onValueChange: onChangeEndTime,
|
|
@@ -6629,13 +6690,13 @@ function EditCoachingTime(props) {
|
|
|
6629
6690
|
value: values.endTime
|
|
6630
6691
|
}
|
|
6631
6692
|
),
|
|
6632
|
-
/* @__PURE__ */ (0,
|
|
6693
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
6633
6694
|
]
|
|
6634
6695
|
}
|
|
6635
6696
|
),
|
|
6636
|
-
/* @__PURE__ */ (0,
|
|
6637
|
-
/* @__PURE__ */ (0,
|
|
6638
|
-
/* @__PURE__ */ (0,
|
|
6697
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
6698
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
6699
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
6639
6700
|
] })
|
|
6640
6701
|
] }) });
|
|
6641
6702
|
}
|
|
@@ -6645,20 +6706,20 @@ var import_react48 = require("react");
|
|
|
6645
6706
|
|
|
6646
6707
|
// src/app/platform/on-offline-radio-card.tsx
|
|
6647
6708
|
var import_react_icons10 = require("@radix-ui/react-icons");
|
|
6648
|
-
var
|
|
6709
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
6649
6710
|
var SERVICE_TYPE = {
|
|
6650
6711
|
onlineCoaching: "onlineCoaching",
|
|
6651
6712
|
offlineCoaching: "offlineCoaching"
|
|
6652
6713
|
};
|
|
6653
6714
|
var breakpoint = "sm";
|
|
6654
6715
|
function HideSmallBox(props) {
|
|
6655
|
-
return /* @__PURE__ */ (0,
|
|
6716
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
6656
6717
|
}
|
|
6657
6718
|
function OnOfflineRadioCard(props) {
|
|
6658
6719
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
6659
6720
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
6660
6721
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
6661
|
-
return /* @__PURE__ */ (0,
|
|
6722
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
6662
6723
|
RadioButtonCard.Root,
|
|
6663
6724
|
__spreadProps(__spreadValues({
|
|
6664
6725
|
RadioWrapper: Wrapper,
|
|
@@ -6667,13 +6728,13 @@ function OnOfflineRadioCard(props) {
|
|
|
6667
6728
|
justify
|
|
6668
6729
|
}, props), {
|
|
6669
6730
|
children: [
|
|
6670
|
-
/* @__PURE__ */ (0,
|
|
6671
|
-
/* @__PURE__ */ (0,
|
|
6672
|
-
/* @__PURE__ */ (0,
|
|
6731
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
6732
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons10.GlobeIcon, {}) }),
|
|
6733
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
6673
6734
|
] }) }),
|
|
6674
|
-
/* @__PURE__ */ (0,
|
|
6675
|
-
/* @__PURE__ */ (0,
|
|
6676
|
-
/* @__PURE__ */ (0,
|
|
6735
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
6736
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_icons10.BackpackIcon, {}) }),
|
|
6737
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
6677
6738
|
] }) })
|
|
6678
6739
|
]
|
|
6679
6740
|
})
|
|
@@ -6681,7 +6742,7 @@ function OnOfflineRadioCard(props) {
|
|
|
6681
6742
|
}
|
|
6682
6743
|
|
|
6683
6744
|
// src/app/platform/edit-service-type.tsx
|
|
6684
|
-
var
|
|
6745
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
6685
6746
|
function EditServiceType(props) {
|
|
6686
6747
|
const { defaultServiceType, onClickCancel } = props;
|
|
6687
6748
|
const [sessionType, setSessionType] = (0, import_react48.useState)(
|
|
@@ -6691,8 +6752,8 @@ function EditServiceType(props) {
|
|
|
6691
6752
|
var _a;
|
|
6692
6753
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
6693
6754
|
}, [props, sessionType]);
|
|
6694
|
-
return /* @__PURE__ */ (0,
|
|
6695
|
-
/* @__PURE__ */ (0,
|
|
6755
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes6.Box, { children: [
|
|
6756
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
6696
6757
|
Typo,
|
|
6697
6758
|
{
|
|
6698
6759
|
as: "p",
|
|
@@ -6702,16 +6763,16 @@ function EditServiceType(props) {
|
|
|
6702
6763
|
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"
|
|
6703
6764
|
}
|
|
6704
6765
|
),
|
|
6705
|
-
/* @__PURE__ */ (0,
|
|
6706
|
-
/* @__PURE__ */ (0,
|
|
6707
|
-
/* @__PURE__ */ (0,
|
|
6708
|
-
/* @__PURE__ */ (0,
|
|
6766
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
6767
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
6768
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
6769
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
6709
6770
|
] })
|
|
6710
6771
|
] });
|
|
6711
6772
|
}
|
|
6712
6773
|
|
|
6713
6774
|
// src/app/platform/session-card.tsx
|
|
6714
|
-
var
|
|
6775
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
6715
6776
|
var preventDefault4 = (e) => {
|
|
6716
6777
|
e.preventDefault();
|
|
6717
6778
|
};
|
|
@@ -6742,32 +6803,32 @@ function SessionCard(props) {
|
|
|
6742
6803
|
"sessionType"
|
|
6743
6804
|
]);
|
|
6744
6805
|
const renderEditButton = (0, import_react49.useCallback)(() => {
|
|
6745
|
-
return /* @__PURE__ */ (0,
|
|
6806
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
6746
6807
|
}, []);
|
|
6747
6808
|
const sessionTimeStr = (0, import_react49.useMemo)(() => {
|
|
6748
6809
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
6749
6810
|
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")}`;
|
|
6750
6811
|
}, [startAt, endAt]);
|
|
6751
|
-
return /* @__PURE__ */ (0,
|
|
6752
|
-
/* @__PURE__ */ (0,
|
|
6753
|
-
/* @__PURE__ */ (0,
|
|
6812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
6813
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
6814
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
6754
6815
|
TitleExtra,
|
|
6755
|
-
error ? /* @__PURE__ */ (0,
|
|
6816
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
6756
6817
|
] }),
|
|
6757
|
-
/* @__PURE__ */ (0,
|
|
6758
|
-
/* @__PURE__ */ (0,
|
|
6759
|
-
/* @__PURE__ */ (0,
|
|
6760
|
-
/* @__PURE__ */ (0,
|
|
6818
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes15.DataList.Root, { children: [
|
|
6819
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes15.DataList.Item, { children: [
|
|
6820
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
6821
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes15.DataList.Value, { children: [
|
|
6761
6822
|
sessionTimeStr,
|
|
6762
|
-
editable ? /* @__PURE__ */ (0,
|
|
6763
|
-
/* @__PURE__ */ (0,
|
|
6764
|
-
/* @__PURE__ */ (0,
|
|
6823
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(Dialog.Root, { children: [
|
|
6824
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
6825
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6765
6826
|
Dialog.Content,
|
|
6766
6827
|
{
|
|
6767
6828
|
onOpenAutoFocus: preventDefault4,
|
|
6768
6829
|
style: { overflow: "visible" },
|
|
6769
6830
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
6770
|
-
children: /* @__PURE__ */ (0,
|
|
6831
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6771
6832
|
EditCoachingTime,
|
|
6772
6833
|
{
|
|
6773
6834
|
defaultEndAt: endAt,
|
|
@@ -6780,18 +6841,18 @@ function SessionCard(props) {
|
|
|
6780
6841
|
] }) : null
|
|
6781
6842
|
] })
|
|
6782
6843
|
] }),
|
|
6783
|
-
/* @__PURE__ */ (0,
|
|
6784
|
-
/* @__PURE__ */ (0,
|
|
6785
|
-
/* @__PURE__ */ (0,
|
|
6786
|
-
/* @__PURE__ */ (0,
|
|
6844
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
6845
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes15.DataList.Item, { children: [
|
|
6846
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
6847
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_themes15.DataList.Value, { children: [
|
|
6787
6848
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
6788
|
-
editable ? /* @__PURE__ */ (0,
|
|
6789
|
-
/* @__PURE__ */ (0,
|
|
6790
|
-
/* @__PURE__ */ (0,
|
|
6849
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(Dialog.Root, { children: [
|
|
6850
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
6851
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6791
6852
|
Dialog.Content,
|
|
6792
6853
|
{
|
|
6793
6854
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
6794
|
-
children: /* @__PURE__ */ (0,
|
|
6855
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6795
6856
|
EditServiceType,
|
|
6796
6857
|
{
|
|
6797
6858
|
defaultServiceType: sessionType,
|
|
@@ -6803,25 +6864,25 @@ function SessionCard(props) {
|
|
|
6803
6864
|
] }) : null
|
|
6804
6865
|
] })
|
|
6805
6866
|
] }),
|
|
6806
|
-
/* @__PURE__ */ (0,
|
|
6867
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
6807
6868
|
] })
|
|
6808
6869
|
] })
|
|
6809
6870
|
] }) }));
|
|
6810
6871
|
}
|
|
6811
6872
|
|
|
6812
6873
|
// src/app/platform/coach-question-list.tsx
|
|
6813
|
-
var
|
|
6874
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
6814
6875
|
function QuestionItem({ question, answer }) {
|
|
6815
|
-
return /* @__PURE__ */ (0,
|
|
6816
|
-
/* @__PURE__ */ (0,
|
|
6817
|
-
/* @__PURE__ */ (0,
|
|
6876
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_themes6.Box, { children: [
|
|
6877
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
6878
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
6818
6879
|
] }, question);
|
|
6819
6880
|
}
|
|
6820
6881
|
function CoachQuestionList({
|
|
6821
6882
|
questions
|
|
6822
6883
|
}) {
|
|
6823
|
-
return /* @__PURE__ */ (0,
|
|
6824
|
-
return /* @__PURE__ */ (0,
|
|
6884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
6885
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
6825
6886
|
}) });
|
|
6826
6887
|
}
|
|
6827
6888
|
|
|
@@ -6829,7 +6890,7 @@ function CoachQuestionList({
|
|
|
6829
6890
|
var import_react50 = require("react");
|
|
6830
6891
|
var import_date_fns7 = require("date-fns");
|
|
6831
6892
|
var import_locale2 = require("date-fns/locale");
|
|
6832
|
-
var
|
|
6893
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
6833
6894
|
function ReservationCard(props) {
|
|
6834
6895
|
const {
|
|
6835
6896
|
sessionNumber,
|
|
@@ -6862,9 +6923,9 @@ function ReservationCard(props) {
|
|
|
6862
6923
|
}, [defaultTime, defaultType]);
|
|
6863
6924
|
const ActionButtons = (0, import_react50.useMemo)(() => {
|
|
6864
6925
|
if (readonly) {
|
|
6865
|
-
return /* @__PURE__ */ (0,
|
|
6926
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
6866
6927
|
}
|
|
6867
|
-
return /* @__PURE__ */ (0,
|
|
6928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
6868
6929
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
6869
6930
|
const onChangeDate = (0, import_react50.useCallback)((newDate) => {
|
|
6870
6931
|
if (!newDate) return;
|
|
@@ -6906,39 +6967,39 @@ function ReservationCard(props) {
|
|
|
6906
6967
|
});
|
|
6907
6968
|
}
|
|
6908
6969
|
}, [editValues, maxTime, readonly]);
|
|
6909
|
-
return /* @__PURE__ */ (0,
|
|
6970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
|
|
6910
6971
|
Card,
|
|
6911
6972
|
{
|
|
6912
6973
|
error: Boolean(error),
|
|
6913
6974
|
size: "3",
|
|
6914
6975
|
style: { overflow: "visible", contain: "initial" },
|
|
6915
6976
|
children: [
|
|
6916
|
-
/* @__PURE__ */ (0,
|
|
6917
|
-
/* @__PURE__ */ (0,
|
|
6977
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
6978
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
|
|
6918
6979
|
import_themes23.Grid,
|
|
6919
6980
|
{
|
|
6920
6981
|
align: "center",
|
|
6921
6982
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
6922
6983
|
gapY: "2",
|
|
6923
6984
|
children: [
|
|
6924
|
-
/* @__PURE__ */ (0,
|
|
6925
|
-
/* @__PURE__ */ (0,
|
|
6985
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
6986
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(Heading2, { variant: "heading4", children: [
|
|
6926
6987
|
customerName || "-",
|
|
6927
6988
|
"\uB2D8 ",
|
|
6928
6989
|
sessionNumber || "-",
|
|
6929
6990
|
"\uD68C\uCC28 \uC138\uC158"
|
|
6930
6991
|
] }),
|
|
6931
|
-
/* @__PURE__ */ (0,
|
|
6992
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
6932
6993
|
] }),
|
|
6933
|
-
error ? /* @__PURE__ */ (0,
|
|
6994
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
6934
6995
|
]
|
|
6935
6996
|
}
|
|
6936
6997
|
),
|
|
6937
|
-
/* @__PURE__ */ (0,
|
|
6998
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
6938
6999
|
] }),
|
|
6939
|
-
/* @__PURE__ */ (0,
|
|
6940
|
-
/* @__PURE__ */ (0,
|
|
6941
|
-
/* @__PURE__ */ (0,
|
|
7000
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
7001
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
7002
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6942
7003
|
DatePickerButton,
|
|
6943
7004
|
{
|
|
6944
7005
|
disabled: readonly,
|
|
@@ -6952,8 +7013,8 @@ function ReservationCard(props) {
|
|
|
6952
7013
|
size: "large"
|
|
6953
7014
|
}
|
|
6954
7015
|
),
|
|
6955
|
-
/* @__PURE__ */ (0,
|
|
6956
|
-
/* @__PURE__ */ (0,
|
|
7016
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }),
|
|
7017
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6957
7018
|
OnOfflineRadioCard,
|
|
6958
7019
|
{
|
|
6959
7020
|
disabled: readonly,
|
|
@@ -6962,8 +7023,8 @@ function ReservationCard(props) {
|
|
|
6962
7023
|
value: type
|
|
6963
7024
|
}
|
|
6964
7025
|
),
|
|
6965
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
6966
|
-
/* @__PURE__ */ (0,
|
|
7026
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
7027
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6967
7028
|
Button,
|
|
6968
7029
|
{
|
|
6969
7030
|
color: "gray",
|
|
@@ -6973,10 +7034,10 @@ function ReservationCard(props) {
|
|
|
6973
7034
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
6974
7035
|
}
|
|
6975
7036
|
),
|
|
6976
|
-
/* @__PURE__ */ (0,
|
|
7037
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
6977
7038
|
] })
|
|
6978
7039
|
] }) }),
|
|
6979
|
-
readonly ? /* @__PURE__ */ (0,
|
|
7040
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
6980
7041
|
import_themes6.Box,
|
|
6981
7042
|
{
|
|
6982
7043
|
mt: "5",
|
|
@@ -6984,14 +7045,14 @@ function ReservationCard(props) {
|
|
|
6984
7045
|
py: "4",
|
|
6985
7046
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
6986
7047
|
width: "100%",
|
|
6987
|
-
children: /* @__PURE__ */ (0,
|
|
6988
|
-
/* @__PURE__ */ (0,
|
|
7048
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
7049
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(Typo, { children: [
|
|
6989
7050
|
sessionNumber || "-",
|
|
6990
7051
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
6991
7052
|
] }),
|
|
6992
|
-
/* @__PURE__ */ (0,
|
|
7053
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
6993
7054
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
6994
|
-
/* @__PURE__ */ (0,
|
|
7055
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
6995
7056
|
] })
|
|
6996
7057
|
] })
|
|
6997
7058
|
}
|
|
@@ -7003,14 +7064,14 @@ function ReservationCard(props) {
|
|
|
7003
7064
|
|
|
7004
7065
|
// src/app/platform/session-review-simple-read.tsx
|
|
7005
7066
|
var import_react51 = require("react");
|
|
7006
|
-
var
|
|
7067
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
7007
7068
|
function SubTitleWrapper({
|
|
7008
7069
|
children,
|
|
7009
7070
|
title
|
|
7010
7071
|
}) {
|
|
7011
|
-
return /* @__PURE__ */ (0,
|
|
7012
|
-
/* @__PURE__ */ (0,
|
|
7013
|
-
/* @__PURE__ */ (0,
|
|
7072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
7073
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
7074
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { children })
|
|
7014
7075
|
] });
|
|
7015
7076
|
}
|
|
7016
7077
|
function SessionReviewSimpleRead({
|
|
@@ -7035,22 +7096,22 @@ function SessionReviewSimpleRead({
|
|
|
7035
7096
|
color: "error"
|
|
7036
7097
|
};
|
|
7037
7098
|
}, [helpfulness]);
|
|
7038
|
-
return /* @__PURE__ */ (0,
|
|
7039
|
-
/* @__PURE__ */ (0,
|
|
7040
|
-
/* @__PURE__ */ (0,
|
|
7099
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
7100
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.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_runtime104.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
7101
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
7041
7102
|
] }) });
|
|
7042
7103
|
}
|
|
7043
7104
|
|
|
7044
7105
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
7045
|
-
var
|
|
7106
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
7046
7107
|
function SectionWrapper({
|
|
7047
7108
|
title,
|
|
7048
7109
|
children
|
|
7049
7110
|
}) {
|
|
7050
|
-
return /* @__PURE__ */ (0,
|
|
7051
|
-
/* @__PURE__ */ (0,
|
|
7052
|
-
/* @__PURE__ */ (0,
|
|
7053
|
-
/* @__PURE__ */ (0,
|
|
7111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes6.Box, { children: [
|
|
7112
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
7113
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
7114
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes39.Separator, { size: "4" })
|
|
7054
7115
|
] }),
|
|
7055
7116
|
children
|
|
7056
7117
|
] });
|
|
@@ -7060,11 +7121,11 @@ function SessionUserInfoDetail({
|
|
|
7060
7121
|
session,
|
|
7061
7122
|
onClickCopy
|
|
7062
7123
|
}) {
|
|
7063
|
-
return /* @__PURE__ */ (0,
|
|
7064
|
-
/* @__PURE__ */ (0,
|
|
7124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
7125
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
7065
7126
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
7066
7127
|
) }) }),
|
|
7067
|
-
/* @__PURE__ */ (0,
|
|
7128
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
7068
7129
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
7069
7130
|
) }) })
|
|
7070
7131
|
] });
|
|
@@ -7072,7 +7133,7 @@ function SessionUserInfoDetail({
|
|
|
7072
7133
|
|
|
7073
7134
|
// src/app/platform/report-card.tsx
|
|
7074
7135
|
var import_react52 = require("react");
|
|
7075
|
-
var
|
|
7136
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
7076
7137
|
function ReportCard(props) {
|
|
7077
7138
|
const { title, file, status, subtitle } = props;
|
|
7078
7139
|
const onClickDownload = (0, import_react52.useCallback)(() => {
|
|
@@ -7087,24 +7148,24 @@ function ReportCard(props) {
|
|
|
7087
7148
|
document.body.removeChild(link);
|
|
7088
7149
|
}, [file]);
|
|
7089
7150
|
if (status) {
|
|
7090
|
-
return /* @__PURE__ */ (0,
|
|
7091
|
-
/* @__PURE__ */ (0,
|
|
7151
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
7152
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
7092
7153
|
status
|
|
7093
7154
|
] }) });
|
|
7094
7155
|
}
|
|
7095
|
-
return /* @__PURE__ */ (0,
|
|
7156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
7096
7157
|
import_themes22.Flex,
|
|
7097
7158
|
{
|
|
7098
7159
|
direction: { initial: "column", xs: "row" },
|
|
7099
7160
|
gapY: "2",
|
|
7100
7161
|
justify: "between",
|
|
7101
7162
|
children: [
|
|
7102
|
-
/* @__PURE__ */ (0,
|
|
7103
|
-
/* @__PURE__ */ (0,
|
|
7104
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
7163
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes6.Box, { children: [
|
|
7164
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
7165
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
7105
7166
|
] }),
|
|
7106
|
-
/* @__PURE__ */ (0,
|
|
7107
|
-
/* @__PURE__ */ (0,
|
|
7167
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
7168
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
7108
7169
|
file == null ? void 0 : file.buttonName
|
|
7109
7170
|
] }) }, file == null ? void 0 : file.url)
|
|
7110
7171
|
]
|
|
@@ -7114,7 +7175,7 @@ function ReportCard(props) {
|
|
|
7114
7175
|
|
|
7115
7176
|
// src/app/platform/contents-card.tsx
|
|
7116
7177
|
var import_react53 = require("react");
|
|
7117
|
-
var
|
|
7178
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
7118
7179
|
var ContentsCard = (0, import_react53.forwardRef)(
|
|
7119
7180
|
({
|
|
7120
7181
|
title,
|
|
@@ -7125,7 +7186,7 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
7125
7186
|
onClickCard,
|
|
7126
7187
|
isLoading = false
|
|
7127
7188
|
}, ref) => {
|
|
7128
|
-
return /* @__PURE__ */ (0,
|
|
7189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
7129
7190
|
Card,
|
|
7130
7191
|
{
|
|
7131
7192
|
onClick: onClickCard,
|
|
@@ -7138,7 +7199,7 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
7138
7199
|
maxHeight: "450px"
|
|
7139
7200
|
},
|
|
7140
7201
|
children: [
|
|
7141
|
-
/* @__PURE__ */ (0,
|
|
7202
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7142
7203
|
import_themes6.Box,
|
|
7143
7204
|
{
|
|
7144
7205
|
height: "210px",
|
|
@@ -7150,12 +7211,12 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
7150
7211
|
width: "100%"
|
|
7151
7212
|
}
|
|
7152
7213
|
) }) }),
|
|
7153
|
-
/* @__PURE__ */ (0,
|
|
7154
|
-
/* @__PURE__ */ (0,
|
|
7155
|
-
/* @__PURE__ */ (0,
|
|
7156
|
-
/* @__PURE__ */ (0,
|
|
7214
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
7215
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_themes6.Box, { children: [
|
|
7216
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
7217
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
7157
7218
|
] }),
|
|
7158
|
-
/* @__PURE__ */ (0,
|
|
7219
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
7159
7220
|
import_themes23.Grid,
|
|
7160
7221
|
{
|
|
7161
7222
|
align: "center",
|
|
@@ -7165,10 +7226,10 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
7165
7226
|
style: { marginTop: "auto" },
|
|
7166
7227
|
width: "100%",
|
|
7167
7228
|
children: [
|
|
7168
|
-
/* @__PURE__ */ (0,
|
|
7169
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
7170
|
-
/* @__PURE__ */ (0,
|
|
7171
|
-
/* @__PURE__ */ (0,
|
|
7229
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
7230
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(DropdownMenu.Root, { children: [
|
|
7231
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
7232
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7172
7233
|
DropdownMenu.Item,
|
|
7173
7234
|
{
|
|
7174
7235
|
onClick: (e) => {
|
|
@@ -7192,7 +7253,7 @@ var ContentsCard = (0, import_react53.forwardRef)(
|
|
|
7192
7253
|
ContentsCard.displayName = "ContentsCard";
|
|
7193
7254
|
|
|
7194
7255
|
// src/app/platform/curriculum-card.tsx
|
|
7195
|
-
var
|
|
7256
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
7196
7257
|
function CurriculumCard(props) {
|
|
7197
7258
|
const {
|
|
7198
7259
|
title,
|
|
@@ -7203,7 +7264,7 @@ function CurriculumCard(props) {
|
|
|
7203
7264
|
bgColor,
|
|
7204
7265
|
onClick
|
|
7205
7266
|
} = props;
|
|
7206
|
-
return /* @__PURE__ */ (0,
|
|
7267
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
7207
7268
|
import_themes23.Grid,
|
|
7208
7269
|
{
|
|
7209
7270
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -7212,7 +7273,7 @@ function CurriculumCard(props) {
|
|
|
7212
7273
|
onClick,
|
|
7213
7274
|
style: { cursor: "pointer" },
|
|
7214
7275
|
children: [
|
|
7215
|
-
/* @__PURE__ */ (0,
|
|
7276
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7216
7277
|
import_themes6.Box,
|
|
7217
7278
|
{
|
|
7218
7279
|
height: "165px",
|
|
@@ -7227,32 +7288,32 @@ function CurriculumCard(props) {
|
|
|
7227
7288
|
backgroundAttachment: "local"
|
|
7228
7289
|
},
|
|
7229
7290
|
width: "100%",
|
|
7230
|
-
children: /* @__PURE__ */ (0,
|
|
7291
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
7231
7292
|
}
|
|
7232
7293
|
),
|
|
7233
|
-
/* @__PURE__ */ (0,
|
|
7234
|
-
/* @__PURE__ */ (0,
|
|
7235
|
-
/* @__PURE__ */ (0,
|
|
7236
|
-
/* @__PURE__ */ (0,
|
|
7294
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
7295
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
7296
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
7297
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7237
7298
|
Badge,
|
|
7238
7299
|
{
|
|
7239
7300
|
size: "medium",
|
|
7240
7301
|
style: { justifySelf: "flex-start" },
|
|
7241
7302
|
variant: "outline",
|
|
7242
|
-
children: /* @__PURE__ */ (0,
|
|
7243
|
-
/* @__PURE__ */ (0,
|
|
7303
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
7304
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_react_icons2.TimerIcon, {}),
|
|
7244
7305
|
runningTime
|
|
7245
7306
|
] })
|
|
7246
7307
|
}
|
|
7247
7308
|
)
|
|
7248
7309
|
] }),
|
|
7249
|
-
/* @__PURE__ */ (0,
|
|
7250
|
-
return /* @__PURE__ */ (0,
|
|
7310
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
7311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
7251
7312
|
}) }) }),
|
|
7252
|
-
/* @__PURE__ */ (0,
|
|
7253
|
-
/* @__PURE__ */ (0,
|
|
7254
|
-
/* @__PURE__ */ (0,
|
|
7255
|
-
/* @__PURE__ */ (0,
|
|
7313
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_themes39.Separator, { size: "4" }),
|
|
7314
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
7315
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
7316
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
7256
7317
|
] })
|
|
7257
7318
|
] })
|
|
7258
7319
|
]
|
|
@@ -7261,6 +7322,7 @@ function CurriculumCard(props) {
|
|
|
7261
7322
|
}
|
|
7262
7323
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7263
7324
|
0 && (module.exports = {
|
|
7325
|
+
AI_CALLOUT_ICON_OPTIONS,
|
|
7264
7326
|
AlertDialog,
|
|
7265
7327
|
ArchiveIcon,
|
|
7266
7328
|
ArrowLeftIcon,
|
|
@@ -7326,6 +7388,7 @@ function CurriculumCard(props) {
|
|
|
7326
7388
|
DataList,
|
|
7327
7389
|
DatePicker,
|
|
7328
7390
|
DatePickerButton,
|
|
7391
|
+
DescriptionJsonRender,
|
|
7329
7392
|
Dialog,
|
|
7330
7393
|
DotNavigation,
|
|
7331
7394
|
DotsHorizontalIcon,
|
|
@@ -7450,6 +7513,7 @@ function CurriculumCard(props) {
|
|
|
7450
7513
|
VideoIcon,
|
|
7451
7514
|
createColumnHelper,
|
|
7452
7515
|
createYupValidation,
|
|
7516
|
+
getCalloutIconComponent,
|
|
7453
7517
|
getCellAlign,
|
|
7454
7518
|
getColumnMeta,
|
|
7455
7519
|
getTimeOption,
|