@tipp/ui 2.10.1 → 2.10.2
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.js +8 -8
- package/dist/app/platform/edit-coaching-time.js +8 -8
- package/dist/app/platform/edit-service-type.js +8 -8
- package/dist/app/platform/goal-manage-card-edit.js +8 -8
- package/dist/app/platform/on-offline-radio-card.js +8 -8
- package/dist/app/platform/reservation-card.js +8 -8
- package/dist/app/platform/session-card.js +8 -8
- package/dist/app/roleplay/index.cjs +347 -422
- package/dist/app/roleplay/index.cjs.map +1 -1
- package/dist/app/roleplay/index.js +19 -18
- package/dist/app/roleplay/parts/content.cjs +266 -279
- package/dist/app/roleplay/parts/content.cjs.map +1 -1
- package/dist/app/roleplay/parts/content.js +15 -14
- package/dist/app/roleplay/parts/header.cjs +1 -1
- package/dist/app/roleplay/parts/header.cjs.map +1 -1
- package/dist/app/roleplay/parts/header.js +1 -1
- package/dist/app/roleplay/parts/score-summary.cjs +32 -46
- package/dist/app/roleplay/parts/score-summary.cjs.map +1 -1
- package/dist/app/roleplay/parts/score-summary.js +2 -1
- package/dist/app/roleplay/parts/score-trend-section.cjs +1 -1
- package/dist/app/roleplay/parts/score-trend-section.cjs.map +1 -1
- package/dist/app/roleplay/parts/score-trend-section.js +9 -9
- package/dist/app/roleplay/parts/script-transcript.cjs +29 -37
- package/dist/app/roleplay/parts/script-transcript.cjs.map +1 -1
- package/dist/app/roleplay/parts/script-transcript.js +2 -1
- package/dist/app/roleplay/parts/section-nav.cjs +3 -2
- package/dist/app/roleplay/parts/section-nav.cjs.map +1 -1
- package/dist/app/roleplay/parts/section-nav.js +1 -1
- package/dist/app/roleplay/parts/session-replay-dialog.cjs +39 -47
- package/dist/app/roleplay/parts/session-replay-dialog.cjs.map +1 -1
- package/dist/app/roleplay/parts/session-replay-dialog.js +3 -2
- package/dist/app/roleplay/parts/speech-share-bar.cjs +2171 -0
- package/dist/app/roleplay/parts/speech-share-bar.cjs.map +1 -0
- package/dist/app/roleplay/parts/speech-share-bar.d.cts +9 -0
- package/dist/app/roleplay/parts/speech-share-bar.d.ts +9 -0
- package/dist/app/roleplay/parts/speech-share-bar.js +96 -0
- package/dist/app/roleplay/parts/speech-share-bar.js.map +1 -0
- package/dist/app/roleplay/parts/step-summary.cjs +2 -2
- package/dist/app/roleplay/parts/step-summary.cjs.map +1 -1
- package/dist/app/roleplay/parts/step-summary.js +1 -1
- package/dist/app/roleplay/rp-session-detail.cjs +347 -422
- package/dist/app/roleplay/rp-session-detail.cjs.map +1 -1
- package/dist/app/roleplay/rp-session-detail.js +19 -18
- package/dist/{chunk-6YIKOYBQ.js → chunk-2XDAK4B7.js} +5 -73
- package/dist/chunk-2XDAK4B7.js.map +1 -0
- package/dist/{chunk-U2EAXN3Y.js → chunk-A32HLL53.js} +4 -4
- package/dist/{chunk-3UGBMKSQ.js → chunk-AS3JVRQ3.js} +2 -2
- package/dist/{chunk-NKW6BO5R.js → chunk-DIISQDYA.js} +4 -3
- package/dist/chunk-DIISQDYA.js.map +1 -0
- package/dist/{chunk-N242VJOP.js → chunk-IIZ7I7NS.js} +5 -5
- package/dist/{chunk-32WIS4L7.js → chunk-MD64AUR6.js} +8 -8
- package/dist/chunk-MD64AUR6.js.map +1 -0
- package/dist/{chunk-LRNO4W2P.js → chunk-NSDVLCCW.js} +5 -5
- package/dist/{chunk-EHDUKUML.js → chunk-RNGEVYY5.js} +12 -72
- package/dist/chunk-RNGEVYY5.js.map +1 -0
- package/dist/{chunk-YHP75Y5K.js → chunk-RZW6FVML.js} +2 -2
- package/dist/{chunk-YHP75Y5K.js.map → chunk-RZW6FVML.js.map} +1 -1
- package/dist/{chunk-ZE36DFOC.js → chunk-SZAU7YP3.js} +4 -4
- package/dist/{chunk-O332K3SW.js → chunk-UK3LP7VH.js} +2 -2
- package/dist/{chunk-QMAINJ4G.js → chunk-VM2PEQLQ.js} +2 -2
- package/dist/chunk-VM2PEQLQ.js.map +1 -0
- package/dist/chunk-W72CR2TG.js +71 -0
- package/dist/chunk-W72CR2TG.js.map +1 -0
- package/dist/{chunk-EBFQFOUQ.js → chunk-WVY3C64M.js} +3 -3
- package/dist/chunk-WVY3C64M.js.map +1 -0
- package/dist/{chunk-SOKGYD5B.js → chunk-YFR3HXSV.js} +2 -2
- package/dist/index.js +8 -8
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +5 -5
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +6 -6
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +8 -8
- package/dist/molecules/curriculumV2/index.js +8 -8
- package/dist/molecules/index.js +8 -8
- package/package.json +1 -1
- package/src/app/roleplay/parts/content.tsx +3 -3
- package/src/app/roleplay/parts/header.tsx +1 -1
- package/src/app/roleplay/parts/score-summary.tsx +4 -57
- package/src/app/roleplay/parts/score-trend-section.tsx +1 -1
- package/src/app/roleplay/parts/script-transcript.tsx +9 -64
- package/src/app/roleplay/parts/section-nav.tsx +3 -2
- package/src/app/roleplay/parts/speech-share-bar.tsx +54 -0
- package/src/app/roleplay/parts/step-summary.tsx +2 -4
- package/dist/chunk-32WIS4L7.js.map +0 -1
- package/dist/chunk-6YIKOYBQ.js.map +0 -1
- package/dist/chunk-EBFQFOUQ.js.map +0 -1
- package/dist/chunk-EHDUKUML.js.map +0 -1
- package/dist/chunk-NKW6BO5R.js.map +0 -1
- package/dist/chunk-QMAINJ4G.js.map +0 -1
- /package/dist/{chunk-U2EAXN3Y.js.map → chunk-A32HLL53.js.map} +0 -0
- /package/dist/{chunk-3UGBMKSQ.js.map → chunk-AS3JVRQ3.js.map} +0 -0
- /package/dist/{chunk-N242VJOP.js.map → chunk-IIZ7I7NS.js.map} +0 -0
- /package/dist/{chunk-LRNO4W2P.js.map → chunk-NSDVLCCW.js.map} +0 -0
- /package/dist/{chunk-ZE36DFOC.js.map → chunk-SZAU7YP3.js.map} +0 -0
- /package/dist/{chunk-O332K3SW.js.map → chunk-UK3LP7VH.js.map} +0 -0
- /package/dist/{chunk-SOKGYD5B.js.map → chunk-YFR3HXSV.js.map} +0 -0
|
@@ -2922,9 +2922,11 @@ function CoachingPanel({ skills }) {
|
|
|
2922
2922
|
)) }) });
|
|
2923
2923
|
}
|
|
2924
2924
|
|
|
2925
|
-
// src/app/roleplay/parts/
|
|
2925
|
+
// src/app/roleplay/parts/speech-share-bar.tsx
|
|
2926
2926
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2927
|
-
function SpeechShareBar({
|
|
2927
|
+
function SpeechShareBar({
|
|
2928
|
+
share
|
|
2929
|
+
}) {
|
|
2928
2930
|
const isOvertalking = share.userPct > SPEECH_OVERTALK_THRESHOLD;
|
|
2929
2931
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes7.Box, { children: [
|
|
2930
2932
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes23.Flex, { align: "center", justify: "between", mb: "1", children: [
|
|
@@ -2933,10 +2935,9 @@ function SpeechShareBar({ share }) {
|
|
|
2933
2935
|
{
|
|
2934
2936
|
as: "span",
|
|
2935
2937
|
style: {
|
|
2936
|
-
fontSize: "0.75rem",
|
|
2937
2938
|
color: isOvertalking ? "var(--red-11)" : "var(--accent-11)"
|
|
2938
2939
|
},
|
|
2939
|
-
variant: "
|
|
2940
|
+
variant: "caption",
|
|
2940
2941
|
weight: "medium",
|
|
2941
2942
|
children: [
|
|
2942
2943
|
"\uB0B4 \uBC1C\uD654\uB7C9 ",
|
|
@@ -2945,20 +2946,11 @@ function SpeechShareBar({ share }) {
|
|
|
2945
2946
|
]
|
|
2946
2947
|
}
|
|
2947
2948
|
),
|
|
2948
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
style: { fontSize: "0.75rem" },
|
|
2954
|
-
variant: "body",
|
|
2955
|
-
children: [
|
|
2956
|
-
"\uC0C1\uB300 ",
|
|
2957
|
-
share.partnerPct,
|
|
2958
|
-
"%"
|
|
2959
|
-
]
|
|
2960
|
-
}
|
|
2961
|
-
)
|
|
2949
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Typo, { as: "span", color: "gray", variant: "caption", children: [
|
|
2950
|
+
"\uC0C1\uB300 ",
|
|
2951
|
+
share.partnerPct,
|
|
2952
|
+
"%"
|
|
2953
|
+
] })
|
|
2962
2954
|
] }),
|
|
2963
2955
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2964
2956
|
import_themes23.Flex,
|
|
@@ -2980,18 +2972,12 @@ function SpeechShareBar({ share }) {
|
|
|
2980
2972
|
)
|
|
2981
2973
|
}
|
|
2982
2974
|
),
|
|
2983
|
-
isOvertalking ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2984
|
-
Typo,
|
|
2985
|
-
{
|
|
2986
|
-
as: "p",
|
|
2987
|
-
mt: "1",
|
|
2988
|
-
style: { fontSize: "0.75rem", color: "var(--red-11)" },
|
|
2989
|
-
variant: "body",
|
|
2990
|
-
children: "\uC0C1\uB300\uC758 \uB9D0\uC744 \uB354 \uB4E3\uACE0 \uC9C8\uBB38\xB7\uACBD\uCCAD\uC758 \uBE44\uC911\uC744 \uB192\uC5EC \uBCF4\uC138\uC694"
|
|
2991
|
-
}
|
|
2992
|
-
) : null
|
|
2975
|
+
isOvertalking ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typo, { as: "p", color: "red", mt: "1", variant: "caption", children: "\uC0C1\uB300\uC758 \uB9D0\uC744 \uB354 \uB4E3\uACE0 \uC9C8\uBB38\xB7\uACBD\uCCAD\uC758 \uBE44\uC911\uC744 \uB192\uC5EC \uBCF4\uC138\uC694" }) : null
|
|
2993
2976
|
] });
|
|
2994
2977
|
}
|
|
2978
|
+
|
|
2979
|
+
// src/app/roleplay/parts/score-summary.tsx
|
|
2980
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2995
2981
|
function ScoreSummary({
|
|
2996
2982
|
detail,
|
|
2997
2983
|
report,
|
|
@@ -3000,18 +2986,18 @@ function ScoreSummary({
|
|
|
3000
2986
|
var _a;
|
|
3001
2987
|
const scoreValue = (_a = detail.totalScore) != null ? _a : report.totalScore;
|
|
3002
2988
|
const comment = report.comment;
|
|
3003
|
-
return /* @__PURE__ */ (0,
|
|
2989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3004
2990
|
import_themes24.Grid,
|
|
3005
2991
|
{
|
|
3006
2992
|
align: "start",
|
|
3007
2993
|
columns: comment ? { initial: "1", md: "minmax(0, 240px) 1fr" } : "1",
|
|
3008
2994
|
gap: "5",
|
|
3009
2995
|
children: [
|
|
3010
|
-
/* @__PURE__ */ (0,
|
|
3011
|
-
/* @__PURE__ */ (0,
|
|
3012
|
-
/* @__PURE__ */ (0,
|
|
3013
|
-
/* @__PURE__ */ (0,
|
|
3014
|
-
/* @__PURE__ */ (0,
|
|
2996
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(Card, { variant: "surface", children: [
|
|
2997
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Flex, { align: "center", direction: "column", gap: "2", py: "3", children: [
|
|
2998
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "p", color: "gray", variant: "body", weight: "medium", children: "\uC885\uD569 \uC810\uC218" }),
|
|
2999
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Flex, { align: "baseline", gap: "1", children: [
|
|
3000
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3015
3001
|
Typo,
|
|
3016
3002
|
{
|
|
3017
3003
|
as: "span",
|
|
@@ -3025,18 +3011,18 @@ function ScoreSummary({
|
|
|
3025
3011
|
children: scoreValue != null ? scoreValue : "\u2014"
|
|
3026
3012
|
}
|
|
3027
3013
|
),
|
|
3028
|
-
/* @__PURE__ */ (0,
|
|
3014
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "span", color: "gray", mono: true, variant: "subtitle", children: "/100" })
|
|
3029
3015
|
] })
|
|
3030
3016
|
] }),
|
|
3031
|
-
speechShare ? /* @__PURE__ */ (0,
|
|
3032
|
-
/* @__PURE__ */ (0,
|
|
3033
|
-
/* @__PURE__ */ (0,
|
|
3017
|
+
speechShare ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
|
|
3018
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes40.Separator, { my: "3", size: "4" }),
|
|
3019
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SpeechShareBar, { share: speechShare })
|
|
3034
3020
|
] }) : null
|
|
3035
3021
|
] }),
|
|
3036
|
-
comment ? /* @__PURE__ */ (0,
|
|
3037
|
-
/* @__PURE__ */ (0,
|
|
3038
|
-
/* @__PURE__ */ (0,
|
|
3039
|
-
report.deduction ? /* @__PURE__ */ (0,
|
|
3022
|
+
comment ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Flex, { direction: "column", gap: "3", children: [
|
|
3023
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "p", variant: "body", weight: "medium", children: "\uC885\uD569 \uBD84\uC11D" }),
|
|
3024
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes7.Box, { style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "p", variant: "body", children: comment }) }),
|
|
3025
|
+
report.deduction ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3040
3026
|
import_themes7.Box,
|
|
3041
3027
|
{
|
|
3042
3028
|
pl: "3",
|
|
@@ -3048,12 +3034,12 @@ function ScoreSummary({
|
|
|
3048
3034
|
borderRadius: "var(--radius-2)"
|
|
3049
3035
|
},
|
|
3050
3036
|
children: [
|
|
3051
|
-
/* @__PURE__ */ (0,
|
|
3037
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3052
3038
|
Typo,
|
|
3053
3039
|
{
|
|
3054
3040
|
as: "p",
|
|
3041
|
+
color: "amber",
|
|
3055
3042
|
mono: true,
|
|
3056
|
-
style: { color: "var(--amber-11)" },
|
|
3057
3043
|
variant: "body",
|
|
3058
3044
|
weight: "medium",
|
|
3059
3045
|
children: [
|
|
@@ -3063,11 +3049,11 @@ function ScoreSummary({
|
|
|
3063
3049
|
]
|
|
3064
3050
|
}
|
|
3065
3051
|
),
|
|
3066
|
-
/* @__PURE__ */ (0,
|
|
3052
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3067
3053
|
Typo,
|
|
3068
3054
|
{
|
|
3069
3055
|
as: "p",
|
|
3070
|
-
|
|
3056
|
+
color: "amber",
|
|
3071
3057
|
variant: "body",
|
|
3072
3058
|
children: report.deduction.basis
|
|
3073
3059
|
}
|
|
@@ -3093,7 +3079,7 @@ var import_themes53 = require("@radix-ui/themes");
|
|
|
3093
3079
|
// src/molecules/expand-table/row.tsx
|
|
3094
3080
|
var import_react_table = require("@tanstack/react-table");
|
|
3095
3081
|
var import_react41 = require("react");
|
|
3096
|
-
var
|
|
3082
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3097
3083
|
function Row(props) {
|
|
3098
3084
|
const { row, ExpandComp, gridTemplateColumns, getRowStyle, getCellStyle } = props;
|
|
3099
3085
|
const [open, setOpen] = (0, import_react41.useState)(false);
|
|
@@ -3112,8 +3098,8 @@ function Row(props) {
|
|
|
3112
3098
|
}
|
|
3113
3099
|
return baseCls.join(" ");
|
|
3114
3100
|
}, [ExpandComp, props.onRowClick]);
|
|
3115
|
-
return /* @__PURE__ */ (0,
|
|
3116
|
-
/* @__PURE__ */ (0,
|
|
3101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: rowClassName, children: [
|
|
3102
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3117
3103
|
"button",
|
|
3118
3104
|
{
|
|
3119
3105
|
className: "tr",
|
|
@@ -3126,7 +3112,7 @@ function Row(props) {
|
|
|
3126
3112
|
var _a, _b, _c;
|
|
3127
3113
|
const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
|
|
3128
3114
|
const justifyContent = ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) || props.defaultAlign;
|
|
3129
|
-
return /* @__PURE__ */ (0,
|
|
3115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
3130
3116
|
"div",
|
|
3131
3117
|
{
|
|
3132
3118
|
className: "td",
|
|
@@ -3137,7 +3123,7 @@ function Row(props) {
|
|
|
3137
3123
|
}, (getCellStyle == null ? void 0 : getCellStyle(row.original)) || {}),
|
|
3138
3124
|
children: [
|
|
3139
3125
|
(0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
3140
|
-
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0,
|
|
3126
|
+
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3141
3127
|
cell.column.columnDef.meta.OpenBtn,
|
|
3142
3128
|
{
|
|
3143
3129
|
data: row.original,
|
|
@@ -3153,12 +3139,12 @@ function Row(props) {
|
|
|
3153
3139
|
},
|
|
3154
3140
|
`tr_${row.id}`
|
|
3155
3141
|
),
|
|
3156
|
-
ExpandComp ? /* @__PURE__ */ (0,
|
|
3142
|
+
ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ExpandComp, { row }) }) }) : null
|
|
3157
3143
|
] }, `tr-wrapper_${row.id}`);
|
|
3158
3144
|
}
|
|
3159
3145
|
|
|
3160
3146
|
// src/molecules/expand-table/index.tsx
|
|
3161
|
-
var
|
|
3147
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
3162
3148
|
var sortButtonColorMapper = {
|
|
3163
3149
|
card: {
|
|
3164
3150
|
selected: "var(--iris-10)",
|
|
@@ -3239,7 +3225,7 @@ function ExpandTable(props) {
|
|
|
3239
3225
|
const helpCompRender = (0, import_react42.useCallback)(
|
|
3240
3226
|
(rowLength) => {
|
|
3241
3227
|
if (isLoading) {
|
|
3242
|
-
return /* @__PURE__ */ (0,
|
|
3228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3243
3229
|
import_themes23.Flex,
|
|
3244
3230
|
{
|
|
3245
3231
|
align: "center",
|
|
@@ -3247,12 +3233,12 @@ function ExpandTable(props) {
|
|
|
3247
3233
|
justify: "center",
|
|
3248
3234
|
p: "5",
|
|
3249
3235
|
width: "100%",
|
|
3250
|
-
children: /* @__PURE__ */ (0,
|
|
3236
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes50.Spinner, {})
|
|
3251
3237
|
}
|
|
3252
3238
|
);
|
|
3253
3239
|
}
|
|
3254
3240
|
if (rowLength === 0) {
|
|
3255
|
-
return /* @__PURE__ */ (0,
|
|
3241
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes23.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder");
|
|
3256
3242
|
}
|
|
3257
3243
|
return null;
|
|
3258
3244
|
},
|
|
@@ -3262,9 +3248,9 @@ function ExpandTable(props) {
|
|
|
3262
3248
|
if (!data) return 0;
|
|
3263
3249
|
return Math.ceil(data.length / pageSize);
|
|
3264
3250
|
}, [data, pageSize]);
|
|
3265
|
-
return /* @__PURE__ */ (0,
|
|
3266
|
-
/* @__PURE__ */ (0,
|
|
3267
|
-
/* @__PURE__ */ (0,
|
|
3251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: `expand-table-wrapper ${variant}${slim ? " slim" : ""}`, children: [
|
|
3252
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
|
|
3253
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3268
3254
|
"div",
|
|
3269
3255
|
{
|
|
3270
3256
|
className: "tr",
|
|
@@ -3275,36 +3261,36 @@ function ExpandTable(props) {
|
|
|
3275
3261
|
const sortedState = header.column.getIsSorted();
|
|
3276
3262
|
const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
|
|
3277
3263
|
if (sortable) {
|
|
3278
|
-
return /* @__PURE__ */ (0,
|
|
3264
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
3279
3265
|
"button",
|
|
3280
3266
|
{
|
|
3281
3267
|
onClick: header.column.getToggleSortingHandler(),
|
|
3282
3268
|
style: { cursor: "pointer" },
|
|
3283
3269
|
type: "button",
|
|
3284
3270
|
children: [
|
|
3285
|
-
/* @__PURE__ */ (0,
|
|
3271
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
|
|
3286
3272
|
header.column.columnDef.header,
|
|
3287
3273
|
header.getContext()
|
|
3288
3274
|
) }),
|
|
3289
|
-
/* @__PURE__ */ (0,
|
|
3275
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
3290
3276
|
import_themes23.Flex,
|
|
3291
3277
|
{
|
|
3292
3278
|
direction: "column",
|
|
3293
3279
|
style: { marginLeft: "var(--space-2)" },
|
|
3294
3280
|
children: [
|
|
3295
|
-
sortedState === false && /* @__PURE__ */ (0,
|
|
3281
|
+
sortedState === false && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3296
3282
|
TriangleArrowDownIcon,
|
|
3297
3283
|
{
|
|
3298
3284
|
color: sortButtonColorMapper[variant].unselected
|
|
3299
3285
|
}
|
|
3300
3286
|
),
|
|
3301
|
-
sortedState === "asc" && /* @__PURE__ */ (0,
|
|
3287
|
+
sortedState === "asc" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3302
3288
|
TriangleArrowUpIcon,
|
|
3303
3289
|
{
|
|
3304
3290
|
color: sortButtonColorMapper[variant].selected
|
|
3305
3291
|
}
|
|
3306
3292
|
),
|
|
3307
|
-
sortedState === "desc" && /* @__PURE__ */ (0,
|
|
3293
|
+
sortedState === "desc" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3308
3294
|
TriangleArrowDownIcon,
|
|
3309
3295
|
{
|
|
3310
3296
|
color: sortButtonColorMapper[variant].selected
|
|
@@ -3317,7 +3303,7 @@ function ExpandTable(props) {
|
|
|
3317
3303
|
}
|
|
3318
3304
|
) }, header.id);
|
|
3319
3305
|
}
|
|
3320
|
-
return /* @__PURE__ */ (0,
|
|
3306
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
|
|
3321
3307
|
header.column.columnDef.header,
|
|
3322
3308
|
header.getContext()
|
|
3323
3309
|
) }) }, header.id);
|
|
@@ -3325,8 +3311,8 @@ function ExpandTable(props) {
|
|
|
3325
3311
|
},
|
|
3326
3312
|
headerGroup.id
|
|
3327
3313
|
)) }),
|
|
3328
|
-
/* @__PURE__ */ (0,
|
|
3329
|
-
return /* @__PURE__ */ (0,
|
|
3314
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes53.ScrollArea, { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
|
|
3315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3330
3316
|
Row,
|
|
3331
3317
|
{
|
|
3332
3318
|
ExpandComp,
|
|
@@ -3341,7 +3327,7 @@ function ExpandTable(props) {
|
|
|
3341
3327
|
);
|
|
3342
3328
|
}) })
|
|
3343
3329
|
] }),
|
|
3344
|
-
showPagination ? /* @__PURE__ */ (0,
|
|
3330
|
+
showPagination ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes23.Flex, { justify: "end", pt: "4", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3345
3331
|
Pagination,
|
|
3346
3332
|
{
|
|
3347
3333
|
count: pageCount,
|
|
@@ -3354,13 +3340,13 @@ function ExpandTable(props) {
|
|
|
3354
3340
|
}
|
|
3355
3341
|
|
|
3356
3342
|
// src/molecules/navigation.tsx
|
|
3357
|
-
var
|
|
3343
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3358
3344
|
|
|
3359
3345
|
// src/molecules/date-picker/index.tsx
|
|
3360
3346
|
var import_react43 = require("react");
|
|
3361
3347
|
var import_react_datepicker = __toESM(require("react-datepicker"), 1);
|
|
3362
3348
|
var import_locale = require("date-fns/locale");
|
|
3363
|
-
var
|
|
3349
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3364
3350
|
var DatePicker = (0, import_react43.forwardRef)(
|
|
3365
3351
|
(props, ref) => {
|
|
3366
3352
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
@@ -3391,7 +3377,7 @@ var DatePicker = (0, import_react43.forwardRef)(
|
|
|
3391
3377
|
setIsMonthDropdownOpen
|
|
3392
3378
|
}));
|
|
3393
3379
|
}, [isMonthDropdownOpen, isYearDropdownOpen, props]);
|
|
3394
|
-
return /* @__PURE__ */ (0,
|
|
3380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_themes23.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3395
3381
|
import_react_datepicker.default,
|
|
3396
3382
|
__spreadProps(__spreadValues({
|
|
3397
3383
|
dateFormat: "yyyy/MM/dd h:mm aa",
|
|
@@ -3439,19 +3425,19 @@ function DropdownSelector({
|
|
|
3439
3425
|
});
|
|
3440
3426
|
}
|
|
3441
3427
|
}, [isOpen]);
|
|
3442
|
-
return /* @__PURE__ */ (0,
|
|
3443
|
-
/* @__PURE__ */ (0,
|
|
3428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Popover.Root, { modal: true, onOpenChange, open: isOpen, children: [
|
|
3429
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Button, { className: "react-datepicker_dropdown_header", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
3444
3430
|
selectedValue,
|
|
3445
3431
|
suffix
|
|
3446
3432
|
] }) }) }),
|
|
3447
|
-
/* @__PURE__ */ (0,
|
|
3433
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Popover.Content, { side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3448
3434
|
import_themes7.Box,
|
|
3449
3435
|
{
|
|
3450
3436
|
maxHeight: "200px",
|
|
3451
3437
|
overflowY: "auto",
|
|
3452
3438
|
ref: scrollContainerRef,
|
|
3453
3439
|
style: { scrollbarWidth: "none" },
|
|
3454
|
-
children: /* @__PURE__ */ (0,
|
|
3440
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_themes23.Flex, { direction: "column", gap: "1", children: options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3455
3441
|
Button,
|
|
3456
3442
|
{
|
|
3457
3443
|
className: "react-datepicker_dropdown_item",
|
|
@@ -3465,7 +3451,7 @@ function DropdownSelector({
|
|
|
3465
3451
|
e.preventDefault();
|
|
3466
3452
|
},
|
|
3467
3453
|
variant: "transparent",
|
|
3468
|
-
children: /* @__PURE__ */ (0,
|
|
3454
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Typo, { weight: item === selectedValue ? "bold" : void 0, children: [
|
|
3469
3455
|
item,
|
|
3470
3456
|
suffix
|
|
3471
3457
|
] })
|
|
@@ -3496,8 +3482,8 @@ var getRenderCustomHeader = (props) => {
|
|
|
3496
3482
|
} = props;
|
|
3497
3483
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
3498
3484
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
3499
|
-
return /* @__PURE__ */ (0,
|
|
3500
|
-
/* @__PURE__ */ (0,
|
|
3485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_themes23.Flex, { align: "center", justify: "between", pl: "2", pr: "2", children: [
|
|
3486
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3501
3487
|
IconButton,
|
|
3502
3488
|
{
|
|
3503
3489
|
className: "react-datepicker_dropdown_header",
|
|
@@ -3505,11 +3491,11 @@ var getRenderCustomHeader = (props) => {
|
|
|
3505
3491
|
onClick: decreaseMonth,
|
|
3506
3492
|
type: "button",
|
|
3507
3493
|
variant: "ghost",
|
|
3508
|
-
children: /* @__PURE__ */ (0,
|
|
3494
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_icons2.ChevronLeftIcon, {})
|
|
3509
3495
|
}
|
|
3510
3496
|
),
|
|
3511
|
-
/* @__PURE__ */ (0,
|
|
3512
|
-
/* @__PURE__ */ (0,
|
|
3497
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_themes23.Flex, { gap: "3", children: [
|
|
3498
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3513
3499
|
DropdownSelector,
|
|
3514
3500
|
{
|
|
3515
3501
|
isOpen: isYearDropdownOpen,
|
|
@@ -3523,7 +3509,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
3523
3509
|
suffix: "\uB144"
|
|
3524
3510
|
}
|
|
3525
3511
|
),
|
|
3526
|
-
/* @__PURE__ */ (0,
|
|
3512
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3527
3513
|
DropdownSelector,
|
|
3528
3514
|
{
|
|
3529
3515
|
isOpen: isMonthDropdownOpen,
|
|
@@ -3538,7 +3524,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
3538
3524
|
}
|
|
3539
3525
|
)
|
|
3540
3526
|
] }),
|
|
3541
|
-
/* @__PURE__ */ (0,
|
|
3527
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3542
3528
|
IconButton,
|
|
3543
3529
|
{
|
|
3544
3530
|
className: "react-datepicker_dropdown_header",
|
|
@@ -3546,7 +3532,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
3546
3532
|
onClick: increaseMonth,
|
|
3547
3533
|
type: "button",
|
|
3548
3534
|
variant: "ghost",
|
|
3549
|
-
children: /* @__PURE__ */ (0,
|
|
3535
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_icons2.ChevronRightIcon, {})
|
|
3550
3536
|
}
|
|
3551
3537
|
)
|
|
3552
3538
|
] });
|
|
@@ -3557,12 +3543,12 @@ var getRenderCustomHeader = (props) => {
|
|
|
3557
3543
|
// src/molecules/dot-navigation.tsx
|
|
3558
3544
|
var import_react44 = require("react");
|
|
3559
3545
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
3560
|
-
var
|
|
3546
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3561
3547
|
|
|
3562
3548
|
// src/molecules/stepper.tsx
|
|
3563
3549
|
var import_react45 = require("react");
|
|
3564
3550
|
var import_themes54 = require("@radix-ui/themes");
|
|
3565
|
-
var
|
|
3551
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3566
3552
|
var StepContext = (0, import_react45.createContext)({
|
|
3567
3553
|
active: false,
|
|
3568
3554
|
completed: false,
|
|
@@ -3572,20 +3558,20 @@ var StepContext = (0, import_react45.createContext)({
|
|
|
3572
3558
|
// src/molecules/tag-selector.tsx
|
|
3573
3559
|
var import_react46 = require("react");
|
|
3574
3560
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
3575
|
-
var
|
|
3561
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3576
3562
|
|
|
3577
3563
|
// src/molecules/learning-post.tsx
|
|
3578
|
-
var
|
|
3564
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3579
3565
|
|
|
3580
3566
|
// src/molecules/force-refresh.tsx
|
|
3581
3567
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
3582
|
-
var
|
|
3568
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3583
3569
|
|
|
3584
3570
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
3585
3571
|
var import_react47 = require("react");
|
|
3586
3572
|
var import_date_fns2 = require("date-fns");
|
|
3587
3573
|
var import_clsx29 = require("clsx");
|
|
3588
|
-
var
|
|
3574
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3589
3575
|
|
|
3590
3576
|
// src/molecules/time-select.tsx
|
|
3591
3577
|
var import_react48 = require("react");
|
|
@@ -3612,34 +3598,34 @@ for (const opt of AI_CALLOUT_ICON_OPTIONS) {
|
|
|
3612
3598
|
}
|
|
3613
3599
|
|
|
3614
3600
|
// src/molecules/time-select.tsx
|
|
3615
|
-
var
|
|
3601
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3616
3602
|
|
|
3617
3603
|
// src/molecules/radio-button-card.tsx
|
|
3618
3604
|
var import_react49 = require("react");
|
|
3619
|
-
var
|
|
3605
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3620
3606
|
var RadioCardContext = (0, import_react49.createContext)({});
|
|
3621
3607
|
|
|
3622
3608
|
// src/molecules/download-card.tsx
|
|
3623
3609
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
3624
|
-
var
|
|
3610
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3625
3611
|
|
|
3626
3612
|
// src/molecules/ghost-post.tsx
|
|
3627
|
-
var
|
|
3613
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3628
3614
|
|
|
3629
3615
|
// src/molecules/curriculumV2/curriculum-context.tsx
|
|
3630
3616
|
var import_react50 = require("react");
|
|
3631
|
-
var
|
|
3617
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3632
3618
|
var CurriculumContext = (0, import_react50.createContext)(
|
|
3633
3619
|
void 0
|
|
3634
3620
|
);
|
|
3635
3621
|
|
|
3636
3622
|
// src/molecules/curriculumV2/curriculum-sub-nav.tsx
|
|
3637
3623
|
var import_react51 = require("react");
|
|
3638
|
-
var
|
|
3624
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3639
3625
|
|
|
3640
3626
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-video.tsx
|
|
3641
3627
|
var import_react52 = require("react");
|
|
3642
|
-
var
|
|
3628
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3643
3629
|
|
|
3644
3630
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
|
|
3645
3631
|
var import_react55 = require("react");
|
|
@@ -3650,88 +3636,88 @@ var import_react53 = require("react");
|
|
|
3650
3636
|
var import_formik = require("formik");
|
|
3651
3637
|
var import_lodash_es = require("lodash-es");
|
|
3652
3638
|
var Yup = __toESM(require("yup"), 1);
|
|
3653
|
-
var
|
|
3639
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3654
3640
|
var CurriculumReviewContext = (0, import_react53.createContext)(void 0);
|
|
3655
3641
|
|
|
3656
3642
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.tsx
|
|
3657
|
-
var
|
|
3643
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
3658
3644
|
|
|
3659
3645
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.tsx
|
|
3660
|
-
var
|
|
3646
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
3661
3647
|
|
|
3662
3648
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.tsx
|
|
3663
|
-
var
|
|
3649
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
3664
3650
|
|
|
3665
3651
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.tsx
|
|
3666
|
-
var
|
|
3652
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
3667
3653
|
|
|
3668
3654
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.tsx
|
|
3669
|
-
var
|
|
3655
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
3670
3656
|
|
|
3671
3657
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
|
|
3672
3658
|
var import_react54 = require("react");
|
|
3673
3659
|
|
|
3674
3660
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.tsx
|
|
3675
|
-
var
|
|
3661
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
3676
3662
|
|
|
3677
3663
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
|
|
3678
|
-
var
|
|
3664
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
3679
3665
|
|
|
3680
3666
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.tsx
|
|
3681
|
-
var
|
|
3667
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
3682
3668
|
|
|
3683
3669
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.tsx
|
|
3684
|
-
var
|
|
3670
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
3685
3671
|
|
|
3686
3672
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.tsx
|
|
3687
|
-
var
|
|
3673
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
3688
3674
|
|
|
3689
3675
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.tsx
|
|
3690
|
-
var
|
|
3676
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
3691
3677
|
|
|
3692
3678
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.tsx
|
|
3693
|
-
var
|
|
3679
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
3694
3680
|
|
|
3695
3681
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.tsx
|
|
3696
|
-
var
|
|
3682
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
3697
3683
|
|
|
3698
3684
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
|
|
3699
|
-
var
|
|
3685
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
3700
3686
|
|
|
3701
3687
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.tsx
|
|
3702
3688
|
var import_react56 = require("react");
|
|
3703
|
-
var
|
|
3689
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
3704
3690
|
|
|
3705
3691
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-file-download.tsx
|
|
3706
3692
|
var import_react57 = require("react");
|
|
3707
|
-
var
|
|
3693
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
3708
3694
|
|
|
3709
3695
|
// src/molecules/curriculumV2/CurriculumContents/index.tsx
|
|
3710
|
-
var
|
|
3696
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
3711
3697
|
|
|
3712
3698
|
// src/molecules/curriculumV2/CurriculumSidebar/index.tsx
|
|
3713
3699
|
var import_react58 = require("react");
|
|
3714
3700
|
|
|
3715
3701
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-title.tsx
|
|
3716
|
-
var
|
|
3702
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
3717
3703
|
|
|
3718
3704
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.tsx
|
|
3719
|
-
var
|
|
3705
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
3720
3706
|
|
|
3721
3707
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.tsx
|
|
3722
|
-
var
|
|
3708
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
3723
3709
|
|
|
3724
3710
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-item.tsx
|
|
3725
|
-
var
|
|
3711
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
3726
3712
|
|
|
3727
3713
|
// src/molecules/curriculumV2/CurriculumSidebar/sidebar-item.tsx
|
|
3728
|
-
var
|
|
3714
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
3729
3715
|
|
|
3730
3716
|
// src/molecules/curriculumV2/CurriculumSidebar/index.tsx
|
|
3731
|
-
var
|
|
3717
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
3732
3718
|
|
|
3733
3719
|
// src/molecules/curriculumV2/curriculum-v2-layout.tsx
|
|
3734
|
-
var
|
|
3720
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
3735
3721
|
|
|
3736
3722
|
// src/molecules/dynamic-form.tsx
|
|
3737
3723
|
var import_react60 = require("react");
|
|
@@ -3741,26 +3727,26 @@ var import_themes55 = require("@radix-ui/themes");
|
|
|
3741
3727
|
|
|
3742
3728
|
// src/context/dynamic-form-context.tsx
|
|
3743
3729
|
var import_react59 = require("react");
|
|
3744
|
-
var
|
|
3730
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
3745
3731
|
var DynamicFormContext = (0, import_react59.createContext)(null);
|
|
3746
3732
|
|
|
3747
3733
|
// src/molecules/dynamic-field.tsx
|
|
3748
|
-
var
|
|
3734
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
3749
3735
|
|
|
3750
3736
|
// src/molecules/dynamic-form.tsx
|
|
3751
|
-
var
|
|
3737
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
3752
3738
|
|
|
3753
3739
|
// src/molecules/one-on-one-guide-list.tsx
|
|
3754
3740
|
var import_react61 = require("react");
|
|
3755
|
-
var
|
|
3741
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
3756
3742
|
|
|
3757
3743
|
// src/molecules/description-json-render.tsx
|
|
3758
|
-
var
|
|
3744
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
3759
3745
|
|
|
3760
3746
|
// src/molecules/training-info-guideline.tsx
|
|
3761
3747
|
var import_react62 = require("react");
|
|
3762
3748
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
3763
|
-
var
|
|
3749
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
3764
3750
|
|
|
3765
3751
|
// src/molecules/dynamic-form-editor.tsx
|
|
3766
3752
|
var import_react65 = require("react");
|
|
@@ -3768,26 +3754,26 @@ var import_react65 = require("react");
|
|
|
3768
3754
|
// src/molecules/dynamic-form-editor-field-editor-panel.tsx
|
|
3769
3755
|
var import_react63 = require("react");
|
|
3770
3756
|
var import_themes56 = require("@radix-ui/themes");
|
|
3771
|
-
var
|
|
3757
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
3772
3758
|
|
|
3773
3759
|
// src/molecules/dynamic-form-editor-field-list-panel.tsx
|
|
3774
3760
|
var import_react64 = require("react");
|
|
3775
3761
|
var import_themes57 = require("@radix-ui/themes");
|
|
3776
|
-
var
|
|
3762
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
3777
3763
|
|
|
3778
3764
|
// src/molecules/dynamic-form-editor-issues-panel.tsx
|
|
3779
|
-
var
|
|
3765
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
3780
3766
|
|
|
3781
3767
|
// src/molecules/dynamic-form-editor-preview-panel.tsx
|
|
3782
|
-
var
|
|
3768
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
3783
3769
|
|
|
3784
3770
|
// src/molecules/dynamic-form-editor.tsx
|
|
3785
|
-
var
|
|
3771
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
3786
3772
|
|
|
3787
3773
|
// src/molecules/autocomplete-textfield.tsx
|
|
3788
3774
|
var import_react66 = require("react");
|
|
3789
3775
|
var import_themes58 = require("@radix-ui/themes");
|
|
3790
|
-
var
|
|
3776
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
3791
3777
|
var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
3792
3778
|
(_a, ref) => {
|
|
3793
3779
|
var _b = _a, {
|
|
@@ -3913,8 +3899,8 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3913
3899
|
const item = listRef.current.children[highlightedIndex];
|
|
3914
3900
|
item.scrollIntoView({ block: "nearest" });
|
|
3915
3901
|
}, [highlightedIndex]);
|
|
3916
|
-
return /* @__PURE__ */ (0,
|
|
3917
|
-
/* @__PURE__ */ (0,
|
|
3902
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_themes58.Box, { position: "relative", style: { width: "100%" }, children: [
|
|
3903
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
|
|
3918
3904
|
TextField.Root,
|
|
3919
3905
|
__spreadProps(__spreadValues({
|
|
3920
3906
|
"aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
|
|
@@ -3940,12 +3926,12 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3940
3926
|
value: inputValue
|
|
3941
3927
|
}, rest), {
|
|
3942
3928
|
children: [
|
|
3943
|
-
slotLeft && /* @__PURE__ */ (0,
|
|
3944
|
-
slotRight && /* @__PURE__ */ (0,
|
|
3929
|
+
slotLeft && /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
|
|
3930
|
+
slotRight && /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(TextField.Slot, { side: "right", children: slotRight })
|
|
3945
3931
|
]
|
|
3946
3932
|
})
|
|
3947
3933
|
),
|
|
3948
|
-
/* @__PURE__ */ (0,
|
|
3934
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
|
|
3949
3935
|
DropdownMenu.Root,
|
|
3950
3936
|
{
|
|
3951
3937
|
modal: false,
|
|
@@ -3957,7 +3943,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3957
3943
|
},
|
|
3958
3944
|
open,
|
|
3959
3945
|
children: [
|
|
3960
|
-
/* @__PURE__ */ (0,
|
|
3946
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
3961
3947
|
"span",
|
|
3962
3948
|
{
|
|
3963
3949
|
"aria-hidden": "true",
|
|
@@ -3972,7 +3958,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3972
3958
|
}
|
|
3973
3959
|
}
|
|
3974
3960
|
) }),
|
|
3975
|
-
/* @__PURE__ */ (0,
|
|
3961
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
3976
3962
|
DropdownMenu.Content,
|
|
3977
3963
|
{
|
|
3978
3964
|
align: "start",
|
|
@@ -3989,7 +3975,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3989
3975
|
padding: 0,
|
|
3990
3976
|
width: "var(--radix-dropdown-menu-trigger-width)"
|
|
3991
3977
|
},
|
|
3992
|
-
children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0,
|
|
3978
|
+
children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_themes58.Box, { px: "2", py: "2", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Typo, { color: "gray", children: emptyMessage }) }) : /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
3993
3979
|
"ul",
|
|
3994
3980
|
{
|
|
3995
3981
|
id: listboxId,
|
|
@@ -3998,7 +3984,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3998
3984
|
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
3999
3985
|
children: filtered.map((option, index) => {
|
|
4000
3986
|
const isHighlighted = index === highlightedIndex;
|
|
4001
|
-
return /* @__PURE__ */ (0,
|
|
3987
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
4002
3988
|
"li",
|
|
4003
3989
|
{
|
|
4004
3990
|
"aria-selected": isHighlighted,
|
|
@@ -4017,7 +4003,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
4017
4003
|
backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
|
|
4018
4004
|
transition: "background-color 80ms"
|
|
4019
4005
|
},
|
|
4020
|
-
children: /* @__PURE__ */ (0,
|
|
4006
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Typo, { variant: "body", children: option.label })
|
|
4021
4007
|
},
|
|
4022
4008
|
option.value
|
|
4023
4009
|
);
|
|
@@ -4044,7 +4030,7 @@ var import_renderers = require("echarts/renderers");
|
|
|
4044
4030
|
var import_components = require("echarts/components");
|
|
4045
4031
|
|
|
4046
4032
|
// src/charts/horizontal-bar-chart.tsx
|
|
4047
|
-
var
|
|
4033
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
4048
4034
|
|
|
4049
4035
|
// src/charts/chart-theme.json
|
|
4050
4036
|
var chart_theme_default = {
|
|
@@ -4195,7 +4181,7 @@ var EchartDefaultProps = {
|
|
|
4195
4181
|
};
|
|
4196
4182
|
|
|
4197
4183
|
// src/app/roleplay/chart/session-chart.tsx
|
|
4198
|
-
var
|
|
4184
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
4199
4185
|
function unwrapDefault(mod) {
|
|
4200
4186
|
let current = mod;
|
|
4201
4187
|
while (current !== null && typeof current === "object" && "default" in current) {
|
|
@@ -4255,7 +4241,7 @@ function Chart(_a) {
|
|
|
4255
4241
|
};
|
|
4256
4242
|
return deepMerge(baseOption, optionProp);
|
|
4257
4243
|
}, [optionProp]);
|
|
4258
|
-
return /* @__PURE__ */ (0,
|
|
4244
|
+
return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { ref, style: { width: "100%", height: "100%" }, children: mounted ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
4259
4245
|
ReactEChartsCore,
|
|
4260
4246
|
__spreadProps(__spreadValues(__spreadProps(__spreadValues({}, EchartDefaultProps), {
|
|
4261
4247
|
echarts,
|
|
@@ -4304,7 +4290,7 @@ function useTokenColors(vars) {
|
|
|
4304
4290
|
}
|
|
4305
4291
|
setResolved(next);
|
|
4306
4292
|
}, [key]);
|
|
4307
|
-
const probe = /* @__PURE__ */ (0,
|
|
4293
|
+
const probe = /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
4308
4294
|
"span",
|
|
4309
4295
|
{
|
|
4310
4296
|
"aria-hidden": true,
|
|
@@ -4316,7 +4302,7 @@ function useTokenColors(vars) {
|
|
|
4316
4302
|
}
|
|
4317
4303
|
|
|
4318
4304
|
// src/app/roleplay/parts/score-trend-section.tsx
|
|
4319
|
-
var
|
|
4305
|
+
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
4320
4306
|
function formatDateOnly(iso) {
|
|
4321
4307
|
const d = new Date(iso);
|
|
4322
4308
|
if (Number.isNaN(d.getTime())) return iso;
|
|
@@ -4327,9 +4313,9 @@ function Section4({
|
|
|
4327
4313
|
desc,
|
|
4328
4314
|
children
|
|
4329
4315
|
}) {
|
|
4330
|
-
return /* @__PURE__ */ (0,
|
|
4331
|
-
/* @__PURE__ */ (0,
|
|
4332
|
-
/* @__PURE__ */ (0,
|
|
4316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("section", { children: [
|
|
4317
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_themes7.Box, { mb: "3", children: [
|
|
4318
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
4333
4319
|
Heading2,
|
|
4334
4320
|
{
|
|
4335
4321
|
size: { initial: "4", md: "5" },
|
|
@@ -4338,14 +4324,14 @@ function Section4({
|
|
|
4338
4324
|
children: title
|
|
4339
4325
|
}
|
|
4340
4326
|
),
|
|
4341
|
-
desc ? /* @__PURE__ */ (0,
|
|
4327
|
+
desc ? /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Typo, { as: "p", color: "gray", variant: "body", children: desc }) }) : null
|
|
4342
4328
|
] }),
|
|
4343
4329
|
children
|
|
4344
4330
|
] });
|
|
4345
4331
|
}
|
|
4346
4332
|
function AttemptCell({ row }) {
|
|
4347
4333
|
const d = row.original;
|
|
4348
|
-
return /* @__PURE__ */ (0,
|
|
4334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
|
|
4349
4335
|
Typo,
|
|
4350
4336
|
{
|
|
4351
4337
|
as: "span",
|
|
@@ -4361,11 +4347,11 @@ function AttemptCell({ row }) {
|
|
|
4361
4347
|
);
|
|
4362
4348
|
}
|
|
4363
4349
|
function DateCell({ row }) {
|
|
4364
|
-
return /* @__PURE__ */ (0,
|
|
4350
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Typo, { as: "span", mono: true, style: { color: "var(--gray-9)" }, variant: "body", children: formatDateOnly(row.original.createdAt) });
|
|
4365
4351
|
}
|
|
4366
4352
|
function ScoreCell({ row }) {
|
|
4367
4353
|
var _a;
|
|
4368
|
-
return /* @__PURE__ */ (0,
|
|
4354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
4369
4355
|
Typo,
|
|
4370
4356
|
{
|
|
4371
4357
|
as: "span",
|
|
@@ -4379,9 +4365,9 @@ function ScoreCell({ row }) {
|
|
|
4379
4365
|
function DeltaCell({ row }) {
|
|
4380
4366
|
const { delta } = row.original;
|
|
4381
4367
|
if (delta === null) {
|
|
4382
|
-
return /* @__PURE__ */ (0,
|
|
4368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Typo, { as: "span", mono: true, style: { color: "var(--gray-9)" }, variant: "body", children: "\u2014" });
|
|
4383
4369
|
}
|
|
4384
|
-
return /* @__PURE__ */ (0,
|
|
4370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Typo, { as: "span", mono: true, style: { color: "var(--gray-9)" }, variant: "body", children: delta > 0 ? `+${delta}` : `${delta}` });
|
|
4385
4371
|
}
|
|
4386
4372
|
function ScoreTrendSection({
|
|
4387
4373
|
history
|
|
@@ -4491,13 +4477,13 @@ function ScoreTrendSection({
|
|
|
4491
4477
|
})
|
|
4492
4478
|
];
|
|
4493
4479
|
}, []);
|
|
4494
|
-
return /* @__PURE__ */ (0,
|
|
4480
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
4495
4481
|
Section4,
|
|
4496
4482
|
{
|
|
4497
|
-
desc: `\
|
|
4483
|
+
desc: `\uB3D9\uC77C \uB864\uD50C\uB808\uC789 \uCD5C\uADFC ${ordered.length}\uD68C\uCC28 \uCD1D\uC810 \uBCC0\uD654`,
|
|
4498
4484
|
title: "\uCD1D\uC810 \uCD94\uC774",
|
|
4499
|
-
children: /* @__PURE__ */ (0,
|
|
4500
|
-
/* @__PURE__ */ (0,
|
|
4485
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_themes23.Flex, { direction: "column", gap: "4", children: [
|
|
4486
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
|
|
4501
4487
|
"div",
|
|
4502
4488
|
{
|
|
4503
4489
|
"aria-label": "\uCD1D\uC810 \uCD94\uC774 \uB77C\uC778 \uCC28\uD2B8",
|
|
@@ -4505,11 +4491,11 @@ function ScoreTrendSection({
|
|
|
4505
4491
|
style: { position: "relative", width: "100%", height: 200 },
|
|
4506
4492
|
children: [
|
|
4507
4493
|
probe,
|
|
4508
|
-
/* @__PURE__ */ (0,
|
|
4494
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Chart, { option })
|
|
4509
4495
|
]
|
|
4510
4496
|
}
|
|
4511
4497
|
),
|
|
4512
|
-
/* @__PURE__ */ (0,
|
|
4498
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_themes7.Box, { className: "rp-expand-table", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
4513
4499
|
ExpandTable,
|
|
4514
4500
|
{
|
|
4515
4501
|
columns,
|
|
@@ -4527,33 +4513,33 @@ function ScoreTrendSection({
|
|
|
4527
4513
|
|
|
4528
4514
|
// src/app/roleplay/parts/section-nav.tsx
|
|
4529
4515
|
var import_react69 = require("react");
|
|
4530
|
-
var
|
|
4516
|
+
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
4531
4517
|
var NAV_ICONS = {
|
|
4532
|
-
"score-summary": /* @__PURE__ */ (0,
|
|
4533
|
-
/* @__PURE__ */ (0,
|
|
4534
|
-
/* @__PURE__ */ (0,
|
|
4518
|
+
"score-summary": /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
4519
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "m12 14 4-4" }),
|
|
4520
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M3.34 19a10 10 0 1 1 17.32 0" })
|
|
4535
4521
|
] }),
|
|
4536
|
-
strengths: /* @__PURE__ */ (0,
|
|
4537
|
-
improvements: /* @__PURE__ */ (0,
|
|
4538
|
-
/* @__PURE__ */ (0,
|
|
4539
|
-
/* @__PURE__ */ (0,
|
|
4540
|
-
/* @__PURE__ */ (0,
|
|
4522
|
+
strengths: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" }),
|
|
4523
|
+
improvements: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
4524
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
4525
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("circle", { cx: "12", cy: "12", r: "5" }),
|
|
4526
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("circle", { cx: "12", cy: "12", r: "1.5" })
|
|
4541
4527
|
] }),
|
|
4542
|
-
"score-trend": /* @__PURE__ */ (0,
|
|
4543
|
-
/* @__PURE__ */ (0,
|
|
4544
|
-
/* @__PURE__ */ (0,
|
|
4528
|
+
"score-trend": /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
4529
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M3 3v18h18" }),
|
|
4530
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "m19 8-5 5-4-4-4 4" })
|
|
4545
4531
|
] }),
|
|
4546
|
-
"step-summary": /* @__PURE__ */ (0,
|
|
4547
|
-
"step-detail": /* @__PURE__ */ (0,
|
|
4548
|
-
/* @__PURE__ */ (0,
|
|
4549
|
-
/* @__PURE__ */ (0,
|
|
4550
|
-
/* @__PURE__ */ (0,
|
|
4551
|
-
/* @__PURE__ */ (0,
|
|
4532
|
+
"step-summary": /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" }),
|
|
4533
|
+
"step-detail": /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
4534
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("line", { x1: "8", x2: "21", y1: "6", y2: "6" }),
|
|
4535
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("line", { x1: "8", x2: "21", y1: "12", y2: "12" }),
|
|
4536
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("line", { x1: "8", x2: "21", y1: "18", y2: "18" }),
|
|
4537
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M3 6h.01M3 12h.01M3 18h.01" })
|
|
4552
4538
|
] }),
|
|
4553
|
-
coaching: /* @__PURE__ */ (0,
|
|
4539
|
+
coaching: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("polygon", { points: "13 2 3 14 12 14 11 22 21 10 12 10 13 2" })
|
|
4554
4540
|
};
|
|
4555
4541
|
function NavIcon({ children }) {
|
|
4556
|
-
return /* @__PURE__ */ (0,
|
|
4542
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4557
4543
|
"svg",
|
|
4558
4544
|
{
|
|
4559
4545
|
"aria-hidden": "true",
|
|
@@ -4573,12 +4559,13 @@ function NavIcon({ children }) {
|
|
|
4573
4559
|
function StepMetricBadge({ step }) {
|
|
4574
4560
|
const scoreText = stepScoreText(step);
|
|
4575
4561
|
if (scoreText !== null) {
|
|
4576
|
-
return /* @__PURE__ */ (0,
|
|
4562
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4577
4563
|
Typo,
|
|
4578
4564
|
{
|
|
4579
4565
|
as: "span",
|
|
4566
|
+
color: "gray",
|
|
4580
4567
|
mono: true,
|
|
4581
|
-
style: { flexShrink: 0
|
|
4568
|
+
style: { flexShrink: 0 },
|
|
4582
4569
|
variant: "body",
|
|
4583
4570
|
weight: "medium",
|
|
4584
4571
|
children: scoreText
|
|
@@ -4587,7 +4574,7 @@ function StepMetricBadge({ step }) {
|
|
|
4587
4574
|
}
|
|
4588
4575
|
const gradeLabel = stepGradeLabel(step);
|
|
4589
4576
|
if (gradeLabel !== null) {
|
|
4590
|
-
return /* @__PURE__ */ (0,
|
|
4577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4591
4578
|
Typo,
|
|
4592
4579
|
{
|
|
4593
4580
|
as: "span",
|
|
@@ -4630,8 +4617,8 @@ function scrollToId(id) {
|
|
|
4630
4617
|
function SectionNav({ items, steps }) {
|
|
4631
4618
|
const activeId = useScrollSpy(items.map((i) => i.id));
|
|
4632
4619
|
const stepDetailActive = activeId === "step-summary" || activeId === "step-detail";
|
|
4633
|
-
return /* @__PURE__ */ (0,
|
|
4634
|
-
/* @__PURE__ */ (0,
|
|
4620
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_themes7.Box, { asChild: true, className: "rp-section-nav", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("aside", { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_themes7.Box, { children: [
|
|
4621
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4635
4622
|
Typo,
|
|
4636
4623
|
{
|
|
4637
4624
|
as: "p",
|
|
@@ -4645,9 +4632,9 @@ function SectionNav({ items, steps }) {
|
|
|
4645
4632
|
children: "\uBAA9\uCC28"
|
|
4646
4633
|
}
|
|
4647
4634
|
),
|
|
4648
|
-
/* @__PURE__ */ (0,
|
|
4635
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_themes7.Box, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("ul", { style: { listStyle: "none", margin: 0, padding: 0 }, children: items.map((item) => {
|
|
4649
4636
|
const active = activeId === item.id;
|
|
4650
|
-
return /* @__PURE__ */ (0,
|
|
4637
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
4651
4638
|
"button",
|
|
4652
4639
|
{
|
|
4653
4640
|
"aria-current": active ? "true" : void 0,
|
|
@@ -4661,9 +4648,9 @@ function SectionNav({ items, steps }) {
|
|
|
4661
4648
|
} : void 0,
|
|
4662
4649
|
type: "button",
|
|
4663
4650
|
children: [
|
|
4664
|
-
/* @__PURE__ */ (0,
|
|
4665
|
-
NAV_ICONS[item.id] ? /* @__PURE__ */ (0,
|
|
4666
|
-
/* @__PURE__ */ (0,
|
|
4651
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_themes23.Flex, { align: "center", gap: "2", style: { minWidth: 0 }, children: [
|
|
4652
|
+
NAV_ICONS[item.id] ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(NavIcon, { children: NAV_ICONS[item.id] }) : null,
|
|
4653
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4667
4654
|
Typo,
|
|
4668
4655
|
{
|
|
4669
4656
|
as: "span",
|
|
@@ -4674,8 +4661,8 @@ function SectionNav({ items, steps }) {
|
|
|
4674
4661
|
}
|
|
4675
4662
|
)
|
|
4676
4663
|
] }),
|
|
4677
|
-
typeof item.score === "number" ? /* @__PURE__ */ (0,
|
|
4678
|
-
/* @__PURE__ */ (0,
|
|
4664
|
+
typeof item.score === "number" ? /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(Typo, { as: "span", mono: true, style: { flexShrink: 0 }, variant: "body", children: [
|
|
4665
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4679
4666
|
Typo,
|
|
4680
4667
|
{
|
|
4681
4668
|
as: "span",
|
|
@@ -4687,7 +4674,7 @@ function SectionNav({ items, steps }) {
|
|
|
4687
4674
|
children: item.score
|
|
4688
4675
|
}
|
|
4689
4676
|
),
|
|
4690
|
-
/* @__PURE__ */ (0,
|
|
4677
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(Typo, { as: "span", style: { color: "var(--gray-9)" }, variant: "body", children: [
|
|
4691
4678
|
"/",
|
|
4692
4679
|
item.max
|
|
4693
4680
|
] })
|
|
@@ -4696,8 +4683,8 @@ function SectionNav({ items, steps }) {
|
|
|
4696
4683
|
}
|
|
4697
4684
|
) }, item.id);
|
|
4698
4685
|
}) }) }),
|
|
4699
|
-
steps.length > 0 && /* @__PURE__ */ (0,
|
|
4700
|
-
/* @__PURE__ */ (0,
|
|
4686
|
+
steps.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_themes7.Box, { mt: "3", pt: "3", style: { borderTop: "1px solid var(--gray-4)" }, children: [
|
|
4687
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_themes7.Box, { pb: "1", px: "3", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4701
4688
|
Typo,
|
|
4702
4689
|
{
|
|
4703
4690
|
as: "span",
|
|
@@ -4709,9 +4696,9 @@ function SectionNav({ items, steps }) {
|
|
|
4709
4696
|
children: "\uB2E8\uACC4\uBCC4 \uC810\uC218"
|
|
4710
4697
|
}
|
|
4711
4698
|
) }),
|
|
4712
|
-
/* @__PURE__ */ (0,
|
|
4699
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_themes7.Box, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("ul", { style: { listStyle: "none", margin: 0, padding: 0 }, children: steps.map((step) => {
|
|
4713
4700
|
const ratio = stepRatio(step);
|
|
4714
|
-
return /* @__PURE__ */ (0,
|
|
4701
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
4715
4702
|
"button",
|
|
4716
4703
|
{
|
|
4717
4704
|
className: "rp-jump-btn",
|
|
@@ -4720,8 +4707,8 @@ function SectionNav({ items, steps }) {
|
|
|
4720
4707
|
},
|
|
4721
4708
|
type: "button",
|
|
4722
4709
|
children: [
|
|
4723
|
-
/* @__PURE__ */ (0,
|
|
4724
|
-
/* @__PURE__ */ (0,
|
|
4710
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", children: [
|
|
4711
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
4725
4712
|
Typo,
|
|
4726
4713
|
{
|
|
4727
4714
|
as: "span",
|
|
@@ -4729,19 +4716,19 @@ function SectionNav({ items, steps }) {
|
|
|
4729
4716
|
truncate: true,
|
|
4730
4717
|
variant: "body",
|
|
4731
4718
|
children: [
|
|
4732
|
-
/* @__PURE__ */ (0,
|
|
4719
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4733
4720
|
Typo,
|
|
4734
4721
|
{
|
|
4735
4722
|
as: "span",
|
|
4723
|
+
color: "gray",
|
|
4736
4724
|
mono: true,
|
|
4737
|
-
style: { color: "var(--gray-11)" },
|
|
4738
4725
|
variant: "body",
|
|
4739
4726
|
weight: "medium",
|
|
4740
4727
|
children: stepCode(step)
|
|
4741
4728
|
}
|
|
4742
4729
|
),
|
|
4743
4730
|
" ",
|
|
4744
|
-
/* @__PURE__ */ (0,
|
|
4731
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4745
4732
|
Typo,
|
|
4746
4733
|
{
|
|
4747
4734
|
as: "span",
|
|
@@ -4753,9 +4740,9 @@ function SectionNav({ items, steps }) {
|
|
|
4753
4740
|
]
|
|
4754
4741
|
}
|
|
4755
4742
|
),
|
|
4756
|
-
/* @__PURE__ */ (0,
|
|
4743
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(StepMetricBadge, { step })
|
|
4757
4744
|
] }),
|
|
4758
|
-
ratio !== null ? /* @__PURE__ */ (0,
|
|
4745
|
+
ratio !== null ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_themes7.Box, { mt: "1", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Progress, { color: stepColor(step), size: "1", value: ratio * 100 }) }) : null
|
|
4759
4746
|
]
|
|
4760
4747
|
}
|
|
4761
4748
|
) }, step.key);
|
|
@@ -4765,14 +4752,14 @@ function SectionNav({ items, steps }) {
|
|
|
4765
4752
|
}
|
|
4766
4753
|
|
|
4767
4754
|
// src/app/roleplay/parts/step-detail.tsx
|
|
4768
|
-
var
|
|
4755
|
+
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
4769
4756
|
function RubricField({
|
|
4770
4757
|
label,
|
|
4771
4758
|
value
|
|
4772
4759
|
}) {
|
|
4773
|
-
return /* @__PURE__ */ (0,
|
|
4774
|
-
/* @__PURE__ */ (0,
|
|
4775
|
-
/* @__PURE__ */ (0,
|
|
4760
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes7.Box, { children: [
|
|
4761
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", variant: "body", weight: "medium", children: label }),
|
|
4762
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", variant: "body", children: value }) })
|
|
4776
4763
|
] });
|
|
4777
4764
|
}
|
|
4778
4765
|
function StepDetail({
|
|
@@ -4783,14 +4770,14 @@ function StepDetail({
|
|
|
4783
4770
|
const ratio = stepRatio(step);
|
|
4784
4771
|
const scoreText = stepScoreText(step);
|
|
4785
4772
|
const gradeLabel = stepGradeLabel(step);
|
|
4786
|
-
return /* @__PURE__ */ (0,
|
|
4787
|
-
/* @__PURE__ */ (0,
|
|
4788
|
-
/* @__PURE__ */ (0,
|
|
4789
|
-
/* @__PURE__ */ (0,
|
|
4790
|
-
/* @__PURE__ */ (0,
|
|
4773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes7.Box, { id: `step-${step.key}`, style: { scrollMarginTop }, children: [
|
|
4774
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", mb: "1", children: [
|
|
4775
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes7.Box, { style: { minWidth: 0 }, children: [
|
|
4776
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "span", color: "gray", mono: true, variant: "body", children: stepCode(step) }),
|
|
4777
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", variant: "subtitle", weight: "bold", children: step.label })
|
|
4791
4778
|
] }),
|
|
4792
|
-
/* @__PURE__ */ (0,
|
|
4793
|
-
scoreText !== null ? /* @__PURE__ */ (0,
|
|
4779
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { align: "end", direction: "column", gap: "1", style: { flexShrink: 0 }, children: [
|
|
4780
|
+
scoreText !== null ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
4794
4781
|
Typo,
|
|
4795
4782
|
{
|
|
4796
4783
|
as: "span",
|
|
@@ -4801,7 +4788,7 @@ function StepDetail({
|
|
|
4801
4788
|
children: scoreText
|
|
4802
4789
|
}
|
|
4803
4790
|
) : null,
|
|
4804
|
-
gradeLabel !== null ? /* @__PURE__ */ (0,
|
|
4791
|
+
gradeLabel !== null ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
4805
4792
|
Typo,
|
|
4806
4793
|
{
|
|
4807
4794
|
as: "span",
|
|
@@ -4821,16 +4808,16 @@ function StepDetail({
|
|
|
4821
4808
|
) : null
|
|
4822
4809
|
] })
|
|
4823
4810
|
] }),
|
|
4824
|
-
ratio !== null ? /* @__PURE__ */ (0,
|
|
4825
|
-
step.description ? /* @__PURE__ */ (0,
|
|
4826
|
-
/* @__PURE__ */ (0,
|
|
4827
|
-
step.basis || step.issue ? /* @__PURE__ */ (0,
|
|
4828
|
-
step.basis ? /* @__PURE__ */ (0,
|
|
4829
|
-
step.issue ? /* @__PURE__ */ (0,
|
|
4811
|
+
ratio !== null ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_themes7.Box, { mb: "3", mt: "2", children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Progress, { color: stepColor(step), size: "2", value: ratio * 100 }) }) : null,
|
|
4812
|
+
step.description ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_themes7.Box, { mb: "3", mt: ratio !== null ? "0" : "2", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", color: "gray", variant: "body", children: step.description }) }) : null,
|
|
4813
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { direction: "column", gap: "0", children: [
|
|
4814
|
+
step.basis || step.issue ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_themes7.Box, { pb: "3", style: { borderBottom: "1px solid var(--gray-a4)" }, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { direction: "column", gap: "3", children: [
|
|
4815
|
+
step.basis ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RubricField, { label: "\uADFC\uAC70", value: step.basis }) : null,
|
|
4816
|
+
step.issue ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RubricField, { label: "\uC544\uC26C\uC6B4 \uC810", value: step.issue }) : null
|
|
4830
4817
|
] }) }) : null,
|
|
4831
|
-
step.improve || step.example || step.idealExample ? /* @__PURE__ */ (0,
|
|
4832
|
-
step.improve ? /* @__PURE__ */ (0,
|
|
4833
|
-
step.example ? /* @__PURE__ */ (0,
|
|
4818
|
+
step.improve || step.example || step.idealExample ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_themes7.Box, { pt: "3", children: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { direction: "column", gap: "3", children: [
|
|
4819
|
+
step.improve ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RubricField, { label: "\uAC1C\uC120\uC810", value: step.improve }) : null,
|
|
4820
|
+
step.example ? /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
4834
4821
|
import_themes7.Box,
|
|
4835
4822
|
{
|
|
4836
4823
|
p: "2",
|
|
@@ -4839,7 +4826,7 @@ function StepDetail({
|
|
|
4839
4826
|
background: "var(--accent-a2)"
|
|
4840
4827
|
},
|
|
4841
4828
|
children: [
|
|
4842
|
-
/* @__PURE__ */ (0,
|
|
4829
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
4843
4830
|
Typo,
|
|
4844
4831
|
{
|
|
4845
4832
|
as: "p",
|
|
@@ -4849,11 +4836,11 @@ function StepDetail({
|
|
|
4849
4836
|
children: "\uC608\uC2DC \uC2A4\uD06C\uB9BD\uD2B8"
|
|
4850
4837
|
}
|
|
4851
4838
|
),
|
|
4852
|
-
/* @__PURE__ */ (0,
|
|
4839
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", style: { color: "var(--accent-11)" }, variant: "body", children: step.example }) })
|
|
4853
4840
|
]
|
|
4854
4841
|
}
|
|
4855
4842
|
) : null,
|
|
4856
|
-
step.idealExample ? /* @__PURE__ */ (0,
|
|
4843
|
+
step.idealExample ? /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
4857
4844
|
import_themes7.Box,
|
|
4858
4845
|
{
|
|
4859
4846
|
p: "2",
|
|
@@ -4862,8 +4849,8 @@ function StepDetail({
|
|
|
4862
4849
|
background: "var(--gray-a2)"
|
|
4863
4850
|
},
|
|
4864
4851
|
children: [
|
|
4865
|
-
/* @__PURE__ */ (0,
|
|
4866
|
-
/* @__PURE__ */ (0,
|
|
4852
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", color: "gray", variant: "body", weight: "medium", children: "\uBAA8\uBC94 \uC608\uC2DC" }),
|
|
4853
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
4867
4854
|
Typo,
|
|
4868
4855
|
{
|
|
4869
4856
|
as: "p",
|
|
@@ -4882,7 +4869,7 @@ function StepDetail({
|
|
|
4882
4869
|
}
|
|
4883
4870
|
|
|
4884
4871
|
// src/app/roleplay/parts/step-radar.tsx
|
|
4885
|
-
var
|
|
4872
|
+
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
4886
4873
|
function StepRadar({ steps }) {
|
|
4887
4874
|
const { colors, probe } = useTokenColors({
|
|
4888
4875
|
accent: ["--accent-9", "#5b5bd6"],
|
|
@@ -4931,7 +4918,7 @@ function StepRadar({ steps }) {
|
|
|
4931
4918
|
}
|
|
4932
4919
|
]
|
|
4933
4920
|
};
|
|
4934
|
-
return /* @__PURE__ */ (0,
|
|
4921
|
+
return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
|
|
4935
4922
|
"div",
|
|
4936
4923
|
{
|
|
4937
4924
|
"aria-label": "\uD3C9\uAC00 \uB2E8\uACC4 \uB808\uC774\uB354 \uCC28\uD2B8",
|
|
@@ -4947,23 +4934,23 @@ function StepRadar({ steps }) {
|
|
|
4947
4934
|
},
|
|
4948
4935
|
children: [
|
|
4949
4936
|
probe,
|
|
4950
|
-
/* @__PURE__ */ (0,
|
|
4937
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { style: { width: "100%", maxWidth: 300, height: 280 }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Chart, { option }) })
|
|
4951
4938
|
]
|
|
4952
4939
|
}
|
|
4953
4940
|
);
|
|
4954
4941
|
}
|
|
4955
4942
|
|
|
4956
4943
|
// src/app/roleplay/parts/step-summary.tsx
|
|
4957
|
-
var
|
|
4944
|
+
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
4958
4945
|
function Section5({
|
|
4959
4946
|
title,
|
|
4960
4947
|
desc,
|
|
4961
4948
|
children
|
|
4962
4949
|
}) {
|
|
4963
|
-
return /* @__PURE__ */ (0,
|
|
4964
|
-
/* @__PURE__ */ (0,
|
|
4965
|
-
/* @__PURE__ */ (0,
|
|
4966
|
-
desc ? /* @__PURE__ */ (0,
|
|
4950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("section", { children: [
|
|
4951
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes7.Box, { mb: "3", children: [
|
|
4952
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Typo, { as: "p", variant: "subtitle", weight: "bold", children: title }),
|
|
4953
|
+
desc ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Typo, { as: "p", color: "gray", variant: "body", children: desc }) }) : null
|
|
4967
4954
|
] }),
|
|
4968
4955
|
children
|
|
4969
4956
|
] });
|
|
@@ -4971,14 +4958,14 @@ function Section5({
|
|
|
4971
4958
|
function StepSummary({ steps }) {
|
|
4972
4959
|
if (steps.length === 0) return null;
|
|
4973
4960
|
const radarReady = steps.every((s) => stepRatio(s) !== null);
|
|
4974
|
-
const desc =
|
|
4975
|
-
const list = /* @__PURE__ */ (0,
|
|
4961
|
+
const desc = "\uB300\uD654 \uB2E8\uACC4 \uBCC4\uB85C \uB098\uC758 \uAC15\uC57D\uC810\uC744 \uD655\uC778\uD560 \uC218 \uC788\uC5B4\uC694.";
|
|
4962
|
+
const list = /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_themes23.Flex, { direction: "column", children: steps.map((step, i) => {
|
|
4976
4963
|
const ratio = stepRatio(step);
|
|
4977
4964
|
const scoreText = stepScoreText(step);
|
|
4978
4965
|
const gradeLabel = stepGradeLabel(step);
|
|
4979
|
-
return /* @__PURE__ */ (0,
|
|
4980
|
-
i > 0 && /* @__PURE__ */ (0,
|
|
4981
|
-
/* @__PURE__ */ (0,
|
|
4966
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes7.Box, { children: [
|
|
4967
|
+
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_themes40.Separator, { size: "4" }),
|
|
4968
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
4982
4969
|
"button",
|
|
4983
4970
|
{
|
|
4984
4971
|
className: "rp-rubric-scroll-btn",
|
|
@@ -4995,9 +4982,9 @@ function StepSummary({ steps }) {
|
|
|
4995
4982
|
textAlign: "left"
|
|
4996
4983
|
},
|
|
4997
4984
|
type: "button",
|
|
4998
|
-
children: /* @__PURE__ */ (0,
|
|
4999
|
-
/* @__PURE__ */ (0,
|
|
5000
|
-
/* @__PURE__ */ (0,
|
|
4985
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes23.Flex, { direction: "column", gap: "1", children: [
|
|
4986
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", children: [
|
|
4987
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
|
|
5001
4988
|
Typo,
|
|
5002
4989
|
{
|
|
5003
4990
|
as: "span",
|
|
@@ -5006,12 +4993,12 @@ function StepSummary({ steps }) {
|
|
|
5006
4993
|
variant: "body",
|
|
5007
4994
|
weight: "medium",
|
|
5008
4995
|
children: [
|
|
5009
|
-
/* @__PURE__ */ (0,
|
|
4996
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
5010
4997
|
Typo,
|
|
5011
4998
|
{
|
|
5012
4999
|
as: "span",
|
|
5000
|
+
color: "gray",
|
|
5013
5001
|
mono: true,
|
|
5014
|
-
style: { color: "var(--gray-11)" },
|
|
5015
5002
|
variant: "body",
|
|
5016
5003
|
weight: "medium",
|
|
5017
5004
|
children: stepCode(step)
|
|
@@ -5022,9 +5009,9 @@ function StepSummary({ steps }) {
|
|
|
5022
5009
|
]
|
|
5023
5010
|
}
|
|
5024
5011
|
),
|
|
5025
|
-
/* @__PURE__ */ (0,
|
|
5026
|
-
scoreText !== null ? /* @__PURE__ */ (0,
|
|
5027
|
-
gradeLabel !== null ? /* @__PURE__ */ (0,
|
|
5012
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes23.Flex, { align: "center", gap: "2", style: { flexShrink: 0 }, children: [
|
|
5013
|
+
scoreText !== null ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Typo, { as: "span", mono: true, variant: "body", weight: "bold", children: scoreText }) : null,
|
|
5014
|
+
gradeLabel !== null ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
5028
5015
|
Typo,
|
|
5029
5016
|
{
|
|
5030
5017
|
as: "span",
|
|
@@ -5037,13 +5024,13 @@ function StepSummary({ steps }) {
|
|
|
5037
5024
|
) : null
|
|
5038
5025
|
] })
|
|
5039
5026
|
] }),
|
|
5040
|
-
ratio !== null ? /* @__PURE__ */ (0,
|
|
5027
|
+
ratio !== null ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_themes7.Box, { style: { flex: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Progress, { color: stepColor(step), size: "1", value: ratio * 100 }) }) : null
|
|
5041
5028
|
] })
|
|
5042
5029
|
}
|
|
5043
5030
|
)
|
|
5044
5031
|
] }, step.key);
|
|
5045
5032
|
}) });
|
|
5046
|
-
return /* @__PURE__ */ (0,
|
|
5033
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Section5, { desc, title: "\uD3C9\uAC00 \uB2E8\uACC4 \uC694\uC57D", children: radarReady ? /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
|
|
5047
5034
|
import_themes24.Grid,
|
|
5048
5035
|
{
|
|
5049
5036
|
align: "center",
|
|
@@ -5051,14 +5038,14 @@ function StepSummary({ steps }) {
|
|
|
5051
5038
|
gap: "6",
|
|
5052
5039
|
children: [
|
|
5053
5040
|
list,
|
|
5054
|
-
/* @__PURE__ */ (0,
|
|
5041
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(StepRadar, { steps })
|
|
5055
5042
|
]
|
|
5056
5043
|
}
|
|
5057
5044
|
) : list });
|
|
5058
5045
|
}
|
|
5059
5046
|
|
|
5060
5047
|
// src/app/roleplay/parts/content.tsx
|
|
5061
|
-
var
|
|
5048
|
+
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
5062
5049
|
function Content9({
|
|
5063
5050
|
detail,
|
|
5064
5051
|
report,
|
|
@@ -5081,46 +5068,46 @@ function Content9({
|
|
|
5081
5068
|
...showStepDetail ? [{ id: "step-detail", label: "\uB2E8\uACC4\uBCC4 \uC0C1\uC138 \uBD84\uC11D" }] : [],
|
|
5082
5069
|
...skills.length > 0 ? [{ id: "coaching", label: "\uC989\uC2DC \uC801\uC6A9 \uC2A4\uD0AC" }] : []
|
|
5083
5070
|
];
|
|
5084
|
-
return /* @__PURE__ */ (0,
|
|
5071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
|
|
5085
5072
|
import_themes24.Grid,
|
|
5086
5073
|
{
|
|
5087
5074
|
align: "start",
|
|
5088
5075
|
columns: { initial: "1", md: "minmax(0, 1fr) 224px" },
|
|
5089
5076
|
gap: "7",
|
|
5090
5077
|
children: [
|
|
5091
|
-
/* @__PURE__ */ (0,
|
|
5092
|
-
report.frameworkTitle !== null || report.frameworkDescription !== null ? /* @__PURE__ */ (0,
|
|
5093
|
-
report.frameworkTitle !== null ? /* @__PURE__ */ (0,
|
|
5094
|
-
report.frameworkDescription !== null ? /* @__PURE__ */ (0,
|
|
5078
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_themes23.Flex, { direction: "column", gap: "7", children: [
|
|
5079
|
+
report.frameworkTitle !== null || report.frameworkDescription !== null ? /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_themes7.Box, { children: [
|
|
5080
|
+
report.frameworkTitle !== null ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Heading2, { size: "5", weight: "bold", children: report.frameworkTitle }) : null,
|
|
5081
|
+
report.frameworkDescription !== null ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { mt: report.frameworkTitle !== null ? "2" : "0", children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Typo, { as: "p", variant: "body", children: report.frameworkDescription }) }) : null
|
|
5095
5082
|
] }) : null,
|
|
5096
|
-
/* @__PURE__ */ (0,
|
|
5097
|
-
strengths.length > 0 ? /* @__PURE__ */ (0,
|
|
5083
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "score-summary", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(ScoreSummary, { detail, report, speechShare }) }),
|
|
5084
|
+
strengths.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "strengths", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
5098
5085
|
AnalysisSection,
|
|
5099
5086
|
{
|
|
5100
|
-
desc: "\uC774\uBC88 \uC138\uC158\uC5D0\uC11C \
|
|
5087
|
+
desc: "\uC774\uBC88 \uC138\uC158\uC5D0\uC11C \uAC00\uC7A5 \uB3CB\uBCF4\uC778 \uAC15\uC810\uB4E4\uC774\uC5D0\uC694.",
|
|
5101
5088
|
items: strengths,
|
|
5102
5089
|
title: "\uAC15\uC810",
|
|
5103
5090
|
tone: "good"
|
|
5104
5091
|
}
|
|
5105
5092
|
) }) : null,
|
|
5106
|
-
improvements.length > 0 ? /* @__PURE__ */ (0,
|
|
5093
|
+
improvements.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "improvements", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
5107
5094
|
AnalysisSection,
|
|
5108
5095
|
{
|
|
5109
|
-
desc: "\uB2E4\uC74C \
|
|
5096
|
+
desc: "\uB2E4\uC74C\uC5D0 \uBCF4\uC644\uD55C\uB2E4\uBA74 \uB354 \uB098\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC744 \uAC70\uC5D0\uC694.",
|
|
5110
5097
|
items: improvements,
|
|
5111
5098
|
title: "\uAC1C\uC120\uC810",
|
|
5112
5099
|
tone: "bad"
|
|
5113
5100
|
}
|
|
5114
5101
|
) }) : null,
|
|
5115
|
-
showTrend ? /* @__PURE__ */ (0,
|
|
5116
|
-
showStepSummary ? /* @__PURE__ */ (0,
|
|
5117
|
-
showStepDetail ? /* @__PURE__ */ (0,
|
|
5102
|
+
showTrend ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "score-trend", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(ScoreTrendSection, { history }) }) : null,
|
|
5103
|
+
showStepSummary ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "step-summary", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(StepSummary, { steps }) }) : null,
|
|
5104
|
+
showStepDetail ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "step-detail", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
5118
5105
|
Section2,
|
|
5119
5106
|
{
|
|
5120
|
-
desc: "\uB300\uD654 \
|
|
5107
|
+
desc: "\uC774\uBC88 \uB300\uD654\uC758 \uB354 \uB098\uC544\uC9C8 \uC218 \uC788\uB294 \uBC29\uD5A5\uC744 \uC54C\uB824\uB4DC\uB9B4\uAC8C\uC694.",
|
|
5121
5108
|
title: "\uB2E8\uACC4\uBCC4 \uC0C1\uC138 \uBD84\uC11D",
|
|
5122
|
-
children: /* @__PURE__ */ (0,
|
|
5123
|
-
i > 0 ? /* @__PURE__ */ (0,
|
|
5109
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes23.Flex, { direction: "column", children: steps.map((step, i) => /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_themes7.Box, { children: [
|
|
5110
|
+
i > 0 ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
5124
5111
|
import_themes40.Separator,
|
|
5125
5112
|
{
|
|
5126
5113
|
mb: "6",
|
|
@@ -5128,22 +5115,22 @@ function Content9({
|
|
|
5128
5115
|
style: { marginTop: "calc(var(--space-9) * 1.6)" }
|
|
5129
5116
|
}
|
|
5130
5117
|
) : null,
|
|
5131
|
-
/* @__PURE__ */ (0,
|
|
5118
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(StepDetail, { scrollMarginTop, step })
|
|
5132
5119
|
] }, step.key)) })
|
|
5133
5120
|
}
|
|
5134
5121
|
) }) : null,
|
|
5135
|
-
skills.length > 0 ? /* @__PURE__ */ (0,
|
|
5122
|
+
skills.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "coaching", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(CoachingPanel, { skills }) }) : null
|
|
5136
5123
|
] }),
|
|
5137
|
-
/* @__PURE__ */ (0,
|
|
5124
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(SectionNav, { items: navItems, steps: showStepDetail ? steps : [] })
|
|
5138
5125
|
]
|
|
5139
5126
|
}
|
|
5140
5127
|
);
|
|
5141
5128
|
}
|
|
5142
5129
|
|
|
5143
5130
|
// src/app/roleplay/parts/header.tsx
|
|
5144
|
-
var
|
|
5131
|
+
var import_jsx_runtime127 = require("react/jsx-runtime");
|
|
5145
5132
|
function PdfIcon() {
|
|
5146
|
-
return /* @__PURE__ */ (0,
|
|
5133
|
+
return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
|
|
5147
5134
|
"svg",
|
|
5148
5135
|
{
|
|
5149
5136
|
"aria-hidden": "true",
|
|
@@ -5156,16 +5143,16 @@ function PdfIcon() {
|
|
|
5156
5143
|
viewBox: "0 0 24 24",
|
|
5157
5144
|
width: "13",
|
|
5158
5145
|
children: [
|
|
5159
|
-
/* @__PURE__ */ (0,
|
|
5160
|
-
/* @__PURE__ */ (0,
|
|
5161
|
-
/* @__PURE__ */ (0,
|
|
5162
|
-
/* @__PURE__ */ (0,
|
|
5146
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("path", { d: "M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z" }),
|
|
5147
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("path", { d: "M14 3v5h5" }),
|
|
5148
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("path", { d: "M12 12v5" }),
|
|
5149
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("path", { d: "M9.5 14.5 12 17l2.5-2.5" })
|
|
5163
5150
|
]
|
|
5164
5151
|
}
|
|
5165
5152
|
);
|
|
5166
5153
|
}
|
|
5167
5154
|
function VideoIcon3() {
|
|
5168
|
-
return /* @__PURE__ */ (0,
|
|
5155
|
+
return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
|
|
5169
5156
|
"svg",
|
|
5170
5157
|
{
|
|
5171
5158
|
"aria-hidden": "true",
|
|
@@ -5178,8 +5165,8 @@ function VideoIcon3() {
|
|
|
5178
5165
|
viewBox: "0 0 24 24",
|
|
5179
5166
|
width: "13",
|
|
5180
5167
|
children: [
|
|
5181
|
-
/* @__PURE__ */ (0,
|
|
5182
|
-
/* @__PURE__ */ (0,
|
|
5168
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("rect", { height: "12", rx: "2", width: "13", x: "2", y: "6" }),
|
|
5169
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("path", { d: "m15 10 6-3v10l-6-3z" })
|
|
5183
5170
|
]
|
|
5184
5171
|
}
|
|
5185
5172
|
);
|
|
@@ -5204,7 +5191,7 @@ function Header({
|
|
|
5204
5191
|
});
|
|
5205
5192
|
};
|
|
5206
5193
|
const replayActive = hasScript && hasReplayMedia;
|
|
5207
|
-
return /* @__PURE__ */ (0,
|
|
5194
|
+
return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_themes7.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
|
|
5208
5195
|
import_themes23.Flex,
|
|
5209
5196
|
{
|
|
5210
5197
|
align: { md: "start" },
|
|
@@ -5212,16 +5199,16 @@ function Header({
|
|
|
5212
5199
|
gap: "4",
|
|
5213
5200
|
justify: "between",
|
|
5214
5201
|
children: [
|
|
5215
|
-
/* @__PURE__ */ (0,
|
|
5216
|
-
/* @__PURE__ */ (0,
|
|
5217
|
-
/* @__PURE__ */ (0,
|
|
5218
|
-
/* @__PURE__ */ (0,
|
|
5202
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_themes7.Box, { style: { minWidth: 0 }, children: [
|
|
5203
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_themes23.Flex, { align: "center", gap: "2", mb: "2", wrap: "wrap", children: [
|
|
5204
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Badge, { color: "neutral", size: "small", variant: "soft", children: statusLabelOf(detail.status) }),
|
|
5205
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(Typo, { as: "span", color: "gray", variant: "body", children: [
|
|
5219
5206
|
detail.trainingSessionNum,
|
|
5220
5207
|
"\uD68C\uCC28",
|
|
5221
5208
|
detail.characterTitle ? ` \xB7 ${detail.characterTitle}` : ""
|
|
5222
5209
|
] })
|
|
5223
5210
|
] }),
|
|
5224
|
-
/* @__PURE__ */ (0,
|
|
5211
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
5225
5212
|
Heading2,
|
|
5226
5213
|
{
|
|
5227
5214
|
size: { initial: "5", md: "7" },
|
|
@@ -5230,13 +5217,13 @@ function Header({
|
|
|
5230
5217
|
children: (_a = detail.scenarioTitle) != null ? _a : "\uB864\uD50C\uB808\uC789 \uC138\uC158"
|
|
5231
5218
|
}
|
|
5232
5219
|
),
|
|
5233
|
-
/* @__PURE__ */ (0,
|
|
5220
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(Typo, { as: "p", color: "gray", mono: true, mt: "1", variant: "body", children: [
|
|
5234
5221
|
formatDate(detail.createdAt),
|
|
5235
5222
|
" \xB7 ",
|
|
5236
5223
|
formatDuration(detail.trainingTime)
|
|
5237
5224
|
] })
|
|
5238
5225
|
] }),
|
|
5239
|
-
/* @__PURE__ */ (0,
|
|
5226
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
|
|
5240
5227
|
import_themes23.Flex,
|
|
5241
5228
|
{
|
|
5242
5229
|
gap: "2",
|
|
@@ -5244,7 +5231,7 @@ function Header({
|
|
|
5244
5231
|
style: { flexShrink: 0 },
|
|
5245
5232
|
wrap: "wrap",
|
|
5246
5233
|
children: [
|
|
5247
|
-
onResolveMediaUrl ? /* @__PURE__ */ (0,
|
|
5234
|
+
onResolveMediaUrl ? /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
|
|
5248
5235
|
Button,
|
|
5249
5236
|
{
|
|
5250
5237
|
color: "gray",
|
|
@@ -5255,11 +5242,11 @@ function Header({
|
|
|
5255
5242
|
type: "button",
|
|
5256
5243
|
variant: "outline",
|
|
5257
5244
|
children: [
|
|
5258
|
-
/* @__PURE__ */ (0,
|
|
5259
|
-
/* @__PURE__ */ (0,
|
|
5245
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(PdfIcon, {}),
|
|
5246
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("span", { style: { whiteSpace: "nowrap" }, children: "PDF \uB2E4\uC6B4\uB85C\uB4DC" })
|
|
5260
5247
|
]
|
|
5261
5248
|
}
|
|
5262
|
-
) : /* @__PURE__ */ (0,
|
|
5249
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
5263
5250
|
Button,
|
|
5264
5251
|
{
|
|
5265
5252
|
asChild: Boolean(pdfHref),
|
|
@@ -5269,16 +5256,16 @@ function Header({
|
|
|
5269
5256
|
title: pdfHref ? void 0 : "\uC0B0\uCD9C\uBB3C \uC5C6\uC74C",
|
|
5270
5257
|
type: "button",
|
|
5271
5258
|
variant: "outline",
|
|
5272
|
-
children: pdfHref ? /* @__PURE__ */ (0,
|
|
5273
|
-
/* @__PURE__ */ (0,
|
|
5274
|
-
/* @__PURE__ */ (0,
|
|
5275
|
-
] }) : /* @__PURE__ */ (0,
|
|
5276
|
-
/* @__PURE__ */ (0,
|
|
5277
|
-
/* @__PURE__ */ (0,
|
|
5259
|
+
children: pdfHref ? /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("a", { href: pdfHref, rel: "noopener noreferrer", target: "_blank", children: [
|
|
5260
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(PdfIcon, {}),
|
|
5261
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("span", { style: { whiteSpace: "nowrap" }, children: "PDF \uB2E4\uC6B4\uB85C\uB4DC" })
|
|
5262
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("span", { children: [
|
|
5263
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(PdfIcon, {}),
|
|
5264
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("span", { style: { whiteSpace: "nowrap" }, children: "PDF \uB2E4\uC6B4\uB85C\uB4DC" })
|
|
5278
5265
|
] })
|
|
5279
5266
|
}
|
|
5280
5267
|
),
|
|
5281
|
-
hasScript ? /* @__PURE__ */ (0,
|
|
5268
|
+
hasScript ? /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
|
|
5282
5269
|
Button,
|
|
5283
5270
|
{
|
|
5284
5271
|
color: "gray",
|
|
@@ -5289,8 +5276,8 @@ function Header({
|
|
|
5289
5276
|
type: "button",
|
|
5290
5277
|
variant: "outline",
|
|
5291
5278
|
children: [
|
|
5292
|
-
/* @__PURE__ */ (0,
|
|
5293
|
-
/* @__PURE__ */ (0,
|
|
5279
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(VideoIcon3, {}),
|
|
5280
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("span", { style: { whiteSpace: "nowrap" }, children: "\uC601\uC0C1" })
|
|
5294
5281
|
]
|
|
5295
5282
|
}
|
|
5296
5283
|
) : null
|
|
@@ -5306,66 +5293,7 @@ function Header({
|
|
|
5306
5293
|
var import_react70 = require("react");
|
|
5307
5294
|
|
|
5308
5295
|
// src/app/roleplay/parts/script-transcript.tsx
|
|
5309
|
-
var
|
|
5310
|
-
function SpeechShareBar2({ share }) {
|
|
5311
|
-
const isOvertalking = share.userPct > SPEECH_OVERTALK_THRESHOLD;
|
|
5312
|
-
return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_themes7.Box, { children: [
|
|
5313
|
-
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_themes23.Flex, { align: "center", justify: "between", mb: "1", children: [
|
|
5314
|
-
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
|
|
5315
|
-
Typo,
|
|
5316
|
-
{
|
|
5317
|
-
as: "span",
|
|
5318
|
-
style: {
|
|
5319
|
-
fontSize: "0.75rem",
|
|
5320
|
-
color: isOvertalking ? "var(--red-11)" : "var(--accent-11)"
|
|
5321
|
-
},
|
|
5322
|
-
variant: "body",
|
|
5323
|
-
weight: "medium",
|
|
5324
|
-
children: [
|
|
5325
|
-
"\uB0B4 \uBC1C\uD654\uB7C9 ",
|
|
5326
|
-
share.userPct,
|
|
5327
|
-
"%"
|
|
5328
|
-
]
|
|
5329
|
-
}
|
|
5330
|
-
),
|
|
5331
|
-
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(Typo, { as: "span", color: "gray", style: { fontSize: "0.75rem" }, variant: "body", children: [
|
|
5332
|
-
"\uC0C1\uB300 ",
|
|
5333
|
-
share.partnerPct,
|
|
5334
|
-
"%"
|
|
5335
|
-
] })
|
|
5336
|
-
] }),
|
|
5337
|
-
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
5338
|
-
import_themes23.Flex,
|
|
5339
|
-
{
|
|
5340
|
-
style: {
|
|
5341
|
-
height: 6,
|
|
5342
|
-
borderRadius: "var(--radius-1)",
|
|
5343
|
-
overflow: "hidden",
|
|
5344
|
-
background: "var(--gray-4)"
|
|
5345
|
-
},
|
|
5346
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
5347
|
-
import_themes7.Box,
|
|
5348
|
-
{
|
|
5349
|
-
style: {
|
|
5350
|
-
width: `${share.userPct}%`,
|
|
5351
|
-
background: isOvertalking ? "var(--red-9)" : "var(--accent-9)"
|
|
5352
|
-
}
|
|
5353
|
-
}
|
|
5354
|
-
)
|
|
5355
|
-
}
|
|
5356
|
-
),
|
|
5357
|
-
isOvertalking ? /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
5358
|
-
Typo,
|
|
5359
|
-
{
|
|
5360
|
-
as: "p",
|
|
5361
|
-
mt: "1",
|
|
5362
|
-
style: { fontSize: "0.75rem", color: "var(--red-11)" },
|
|
5363
|
-
variant: "body",
|
|
5364
|
-
children: "\uC0C1\uB300\uC758 \uB9D0\uC744 \uB354 \uB4E3\uACE0 \uC9C8\uBB38\xB7\uACBD\uCCAD\uC758 \uBE44\uC911\uC744 \uB192\uC5EC \uBCF4\uC138\uC694"
|
|
5365
|
-
}
|
|
5366
|
-
) : null
|
|
5367
|
-
] });
|
|
5368
|
-
}
|
|
5296
|
+
var import_jsx_runtime128 = require("react/jsx-runtime");
|
|
5369
5297
|
function ScriptTranscript({
|
|
5370
5298
|
lines,
|
|
5371
5299
|
partnerName,
|
|
@@ -5375,31 +5303,30 @@ function ScriptTranscript({
|
|
|
5375
5303
|
onSeek
|
|
5376
5304
|
}) {
|
|
5377
5305
|
const activeIndex = canSync ? lines.reduce((acc, line, i) => line.startMs <= currentMs ? i : acc, -1) : -1;
|
|
5378
|
-
return /* @__PURE__ */ (0,
|
|
5379
|
-
/* @__PURE__ */ (0,
|
|
5380
|
-
/* @__PURE__ */ (0,
|
|
5381
|
-
/* @__PURE__ */ (0,
|
|
5382
|
-
/* @__PURE__ */ (0,
|
|
5306
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_themes23.Flex, { direction: "column", gap: "2", style: { minWidth: 0 }, children: [
|
|
5307
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_themes7.Box, { children: [
|
|
5308
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", children: [
|
|
5309
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Typo, { as: "span", variant: "body", weight: "bold", children: "\uB300\uD654 \uC2A4\uD06C\uB9BD\uD2B8" }),
|
|
5310
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
5383
5311
|
Typo,
|
|
5384
5312
|
{
|
|
5385
5313
|
as: "span",
|
|
5386
5314
|
color: "gray",
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
children: canSync ? "\uC7AC\uC0DD \uC704\uCE58\uC5D0 \uB9DE\uCDB0 \uD45C\uC2DC" : "\uD0C0\uC784\uB77C\uC778 \uBE44\uB3D9\uAE30"
|
|
5315
|
+
variant: "caption",
|
|
5316
|
+
children: canSync ? "" : "\uD0C0\uC784\uB77C\uC778 \uAE30\uB2A5 \uC0AC\uC6A9 \uBD88\uAC00"
|
|
5390
5317
|
}
|
|
5391
5318
|
)
|
|
5392
5319
|
] }),
|
|
5393
|
-
partnerName ? /* @__PURE__ */ (0,
|
|
5320
|
+
partnerName ? /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(Typo, { as: "p", color: "gray", mt: "1", variant: "body", children: [
|
|
5394
5321
|
"\uC0C1\uB300 \xB7 ",
|
|
5395
5322
|
partnerName
|
|
5396
5323
|
] }) : null,
|
|
5397
|
-
speechShare ? /* @__PURE__ */ (0,
|
|
5324
|
+
speechShare ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_themes7.Box, { mt: "2", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(SpeechShareBar, { share: speechShare }) }) : null
|
|
5398
5325
|
] }),
|
|
5399
|
-
lines.length === 0 ? /* @__PURE__ */ (0,
|
|
5326
|
+
lines.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Typo, { as: "p", color: "gray", variant: "body", children: "\uB300\uD654 \uC2A4\uD06C\uB9BD\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) : /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_themes7.Box, { style: { maxHeight: 440, overflowY: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_themes23.Flex, { direction: "column", gap: "1", children: lines.map((line, i) => {
|
|
5400
5327
|
const isUser = line.speaker === "user";
|
|
5401
5328
|
const isActive = i === activeIndex;
|
|
5402
|
-
return /* @__PURE__ */ (0,
|
|
5329
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(
|
|
5403
5330
|
import_themes23.Flex,
|
|
5404
5331
|
{
|
|
5405
5332
|
align: "start",
|
|
@@ -5415,47 +5342,45 @@ function ScriptTranscript({
|
|
|
5415
5342
|
background: isActive ? "var(--accent-a3)" : "transparent"
|
|
5416
5343
|
},
|
|
5417
5344
|
children: [
|
|
5418
|
-
canSync ? /* @__PURE__ */ (0,
|
|
5345
|
+
canSync ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
5419
5346
|
Typo,
|
|
5420
5347
|
{
|
|
5421
5348
|
as: "span",
|
|
5422
5349
|
mono: true,
|
|
5423
5350
|
style: {
|
|
5424
5351
|
color: isActive ? "var(--accent-11)" : "var(--gray-9)",
|
|
5425
|
-
fontSize: "0.75rem",
|
|
5426
5352
|
flexShrink: 0,
|
|
5427
5353
|
minWidth: 32,
|
|
5428
5354
|
lineHeight: "1.7"
|
|
5429
5355
|
},
|
|
5430
|
-
variant: "
|
|
5356
|
+
variant: "caption",
|
|
5431
5357
|
children: formatTimestamp(line.startMs)
|
|
5432
5358
|
}
|
|
5433
5359
|
) : null,
|
|
5434
|
-
/* @__PURE__ */ (0,
|
|
5360
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
5435
5361
|
Typo,
|
|
5436
5362
|
{
|
|
5437
5363
|
as: "span",
|
|
5438
5364
|
style: {
|
|
5439
5365
|
color: isUser ? "var(--accent-11)" : "var(--gray-11)",
|
|
5440
|
-
fontSize: "0.8125rem",
|
|
5441
5366
|
flexShrink: 0,
|
|
5442
5367
|
minWidth: 28,
|
|
5443
5368
|
lineHeight: "1.7",
|
|
5444
|
-
fontWeight: 700,
|
|
5445
5369
|
whiteSpace: "nowrap"
|
|
5446
5370
|
},
|
|
5447
5371
|
variant: "body",
|
|
5372
|
+
weight: "bold",
|
|
5448
5373
|
children: isUser ? "\uB098" : "\uC0C1\uB300"
|
|
5449
5374
|
}
|
|
5450
5375
|
),
|
|
5451
|
-
/* @__PURE__ */ (0,
|
|
5376
|
+
/* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
5452
5377
|
Typo,
|
|
5453
5378
|
{
|
|
5454
5379
|
as: "span",
|
|
5380
|
+
color: "gray",
|
|
5381
|
+
highContrast: isActive,
|
|
5455
5382
|
style: {
|
|
5456
|
-
|
|
5457
|
-
lineHeight: "1.7",
|
|
5458
|
-
color: isActive ? "var(--gray-12)" : "var(--gray-11)"
|
|
5383
|
+
lineHeight: "1.7"
|
|
5459
5384
|
},
|
|
5460
5385
|
variant: "body",
|
|
5461
5386
|
weight: isActive ? "medium" : void 0,
|
|
@@ -5471,7 +5396,7 @@ function ScriptTranscript({
|
|
|
5471
5396
|
}
|
|
5472
5397
|
|
|
5473
5398
|
// src/app/roleplay/parts/session-replay-dialog.tsx
|
|
5474
|
-
var
|
|
5399
|
+
var import_jsx_runtime129 = require("react/jsx-runtime");
|
|
5475
5400
|
function resolveUrl(raw, disp, resolver) {
|
|
5476
5401
|
return __async(this, null, function* () {
|
|
5477
5402
|
if (!raw) return void 0;
|
|
@@ -5531,14 +5456,14 @@ function SessionReplayDialog({
|
|
|
5531
5456
|
setCurrentMs(el.currentTime * 1e3);
|
|
5532
5457
|
}
|
|
5533
5458
|
};
|
|
5534
|
-
return /* @__PURE__ */ (0,
|
|
5459
|
+
return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Dialog.Root, { onOpenChange, open, children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Dialog.Content, { maxWidth: "1040px", title: "\uC138\uC158 \uB2E4\uC2DC\uBCF4\uAE30", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
|
|
5535
5460
|
import_themes24.Grid,
|
|
5536
5461
|
{
|
|
5537
5462
|
columns: { initial: "1", md: "minmax(0, 1fr) minmax(0, 1.05fr)" },
|
|
5538
5463
|
gap: "5",
|
|
5539
5464
|
mt: "2",
|
|
5540
5465
|
children: [
|
|
5541
|
-
/* @__PURE__ */ (0,
|
|
5466
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_themes7.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
|
|
5542
5467
|
Tabs.Root,
|
|
5543
5468
|
{
|
|
5544
5469
|
onValueChange: (v) => {
|
|
@@ -5546,11 +5471,11 @@ function SessionReplayDialog({
|
|
|
5546
5471
|
},
|
|
5547
5472
|
value: tab,
|
|
5548
5473
|
children: [
|
|
5549
|
-
/* @__PURE__ */ (0,
|
|
5550
|
-
hasVideo ? /* @__PURE__ */ (0,
|
|
5551
|
-
hasAudio ? /* @__PURE__ */ (0,
|
|
5474
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(Tabs.List, { children: [
|
|
5475
|
+
hasVideo ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Tabs.Trigger, { value: "video", children: "\uC601\uC0C1" }) : null,
|
|
5476
|
+
hasAudio ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Tabs.Trigger, { value: "audio", children: "\uC624\uB514\uC624" }) : null
|
|
5552
5477
|
] }),
|
|
5553
|
-
hasVideo ? /* @__PURE__ */ (0,
|
|
5478
|
+
hasVideo ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Tabs.Content, { value: "video", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
5554
5479
|
import_themes7.Box,
|
|
5555
5480
|
{
|
|
5556
5481
|
mt: "3",
|
|
@@ -5559,7 +5484,7 @@ function SessionReplayDialog({
|
|
|
5559
5484
|
overflow: "hidden",
|
|
5560
5485
|
background: "var(--gray-3)"
|
|
5561
5486
|
},
|
|
5562
|
-
children: /* @__PURE__ */ (0,
|
|
5487
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
5563
5488
|
"video",
|
|
5564
5489
|
{
|
|
5565
5490
|
controls: true,
|
|
@@ -5575,7 +5500,7 @@ function SessionReplayDialog({
|
|
|
5575
5500
|
)
|
|
5576
5501
|
}
|
|
5577
5502
|
) }) : null,
|
|
5578
|
-
hasAudio ? /* @__PURE__ */ (0,
|
|
5503
|
+
hasAudio ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Tabs.Content, { value: "audio", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_themes7.Box, { mt: "3", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
5579
5504
|
"audio",
|
|
5580
5505
|
{
|
|
5581
5506
|
controls: true,
|
|
@@ -5592,7 +5517,7 @@ function SessionReplayDialog({
|
|
|
5592
5517
|
]
|
|
5593
5518
|
}
|
|
5594
5519
|
) }),
|
|
5595
|
-
/* @__PURE__ */ (0,
|
|
5520
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
5596
5521
|
ScriptTranscript,
|
|
5597
5522
|
{
|
|
5598
5523
|
canSync,
|
|
@@ -5609,25 +5534,25 @@ function SessionReplayDialog({
|
|
|
5609
5534
|
}
|
|
5610
5535
|
|
|
5611
5536
|
// src/app/roleplay/rp-session-detail.tsx
|
|
5612
|
-
var
|
|
5537
|
+
var import_jsx_runtime130 = require("react/jsx-runtime");
|
|
5613
5538
|
function RpSessionDetailSkeleton() {
|
|
5614
|
-
return /* @__PURE__ */ (0,
|
|
5615
|
-
/* @__PURE__ */ (0,
|
|
5616
|
-
/* @__PURE__ */ (0,
|
|
5617
|
-
/* @__PURE__ */ (0,
|
|
5539
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes7.Box, { py: "6", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_themes23.Flex, { direction: "column", gap: "6", children: [
|
|
5540
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_themes7.Box, { children: [
|
|
5541
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes41.Skeleton, { children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Heading2, { size: "7", children: "\uB864\uD50C\uB808\uC789 \uC138\uC158 \uC81C\uBAA9 \uB85C\uB529 \uC911" }) }),
|
|
5542
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes7.Box, { mt: "2", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes41.Skeleton, { children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Typo, { as: "p", variant: "body", children: "\uB0A0\uC9DC \xB7 \uC18C\uC694 \uC2DC\uAC04\uC774 \uB85C\uB529\uB418\uB294 \uC601\uC5ED\uC785\uB2C8\uB2E4" }) }) })
|
|
5618
5543
|
] }),
|
|
5619
|
-
/* @__PURE__ */ (0,
|
|
5620
|
-
/* @__PURE__ */ (0,
|
|
5621
|
-
/* @__PURE__ */ (0,
|
|
5544
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsxs)("section", { children: [
|
|
5545
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes41.Skeleton, { children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Heading2, { size: "5", children: "\uC885\uD569 \uC810\uC218" }) }),
|
|
5546
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes7.Box, { mt: "3", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Card, { variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes23.Flex, { align: "center", direction: "column", gap: "2", py: "3", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes41.Skeleton, { children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Heading2, { size: "7", children: "00" }) }) }) }) })
|
|
5622
5547
|
] }),
|
|
5623
|
-
/* @__PURE__ */ (0,
|
|
5624
|
-
/* @__PURE__ */ (0,
|
|
5625
|
-
/* @__PURE__ */ (0,
|
|
5548
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsxs)("section", { children: [
|
|
5549
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes41.Skeleton, { children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Heading2, { size: "5", children: "\uD3C9\uAC00 \uC9C0\uD45C \uC694\uC57D" }) }),
|
|
5550
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes7.Box, { mt: "3", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes23.Flex, { direction: "column", gap: "3", children: [0, 1, 2].map((i) => /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes41.Skeleton, { children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Typo, { as: "p", variant: "body", children: "\uD3C9\uAC00 \uC9C0\uD45C \uD56D\uBAA9\uC774 \uB85C\uB529\uB418\uB294 \uC911\uC785\uB2C8\uB2E4" }) }, i)) }) })
|
|
5626
5551
|
] })
|
|
5627
5552
|
] }) });
|
|
5628
5553
|
}
|
|
5629
5554
|
function AnalyzingState() {
|
|
5630
|
-
return /* @__PURE__ */ (0,
|
|
5555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
|
|
5631
5556
|
import_themes23.Flex,
|
|
5632
5557
|
{
|
|
5633
5558
|
align: "center",
|
|
@@ -5641,9 +5566,9 @@ function AnalyzingState() {
|
|
|
5641
5566
|
textAlign: "center"
|
|
5642
5567
|
},
|
|
5643
5568
|
children: [
|
|
5644
|
-
/* @__PURE__ */ (0,
|
|
5645
|
-
/* @__PURE__ */ (0,
|
|
5646
|
-
/* @__PURE__ */ (0,
|
|
5569
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Heading2, { size: { initial: "4", md: "5" }, weight: "bold", children: "AI \uBD84\uC11D \uC911\uC785\uB2C8\uB2E4" }),
|
|
5570
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes7.Box, { mt: "2", style: { maxWidth: "480px" }, children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Typo, { as: "p", variant: "body", children: "\uB300\uD654\uC640 \uC0B0\uCD9C\uBB3C\uC740 \uC800\uC7A5\uB418\uC5C8\uACE0, AI\uAC00 \uC9C0\uD45C\uBCC4 \uADFC\uAC70\uC640 \uCF54\uCE6D\uC744 \uC0DD\uC131\uD558\uB294 \uC911\uC785\uB2C8\uB2E4." }) }),
|
|
5571
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_themes7.Box, { mt: "4", style: { width: "100%", maxWidth: "280px" }, children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Progress, { size: "2", value: 66 }) })
|
|
5647
5572
|
]
|
|
5648
5573
|
}
|
|
5649
5574
|
);
|
|
@@ -5669,11 +5594,11 @@ function RpSessionDetail({
|
|
|
5669
5594
|
const hasScript = script !== null && script !== void 0;
|
|
5670
5595
|
const isAnalyzing = detail.status === "analyzing";
|
|
5671
5596
|
if (isLoading) {
|
|
5672
|
-
return /* @__PURE__ */ (0,
|
|
5597
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(RpSessionDetailSkeleton, {});
|
|
5673
5598
|
}
|
|
5674
|
-
return /* @__PURE__ */ (0,
|
|
5675
|
-
/* @__PURE__ */ (0,
|
|
5676
|
-
/* @__PURE__ */ (0,
|
|
5599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_themes7.Box, { py: "6", children: [
|
|
5600
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_themes23.Flex, { direction: "column", gap: { initial: "5", md: "7" }, children: [
|
|
5601
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
5677
5602
|
Header,
|
|
5678
5603
|
{
|
|
5679
5604
|
detail,
|
|
@@ -5684,7 +5609,7 @@ function RpSessionDetail({
|
|
|
5684
5609
|
onResolveMediaUrl
|
|
5685
5610
|
}
|
|
5686
5611
|
),
|
|
5687
|
-
isAnalyzing ? /* @__PURE__ */ (0,
|
|
5612
|
+
isAnalyzing ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(AnalyzingState, {}) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
5688
5613
|
Content9,
|
|
5689
5614
|
{
|
|
5690
5615
|
detail,
|
|
@@ -5695,7 +5620,7 @@ function RpSessionDetail({
|
|
|
5695
5620
|
}
|
|
5696
5621
|
)
|
|
5697
5622
|
] }),
|
|
5698
|
-
/* @__PURE__ */ (0,
|
|
5623
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
5699
5624
|
SessionReplayDialog,
|
|
5700
5625
|
{
|
|
5701
5626
|
detail,
|