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