@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
|
@@ -2463,9 +2463,11 @@ function CoachingPanel({ skills }) {
|
|
|
2463
2463
|
)) }) });
|
|
2464
2464
|
}
|
|
2465
2465
|
|
|
2466
|
-
// src/app/roleplay/parts/
|
|
2466
|
+
// src/app/roleplay/parts/speech-share-bar.tsx
|
|
2467
2467
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2468
|
-
function SpeechShareBar({
|
|
2468
|
+
function SpeechShareBar({
|
|
2469
|
+
share
|
|
2470
|
+
}) {
|
|
2469
2471
|
const isOvertalking = share.userPct > SPEECH_OVERTALK_THRESHOLD;
|
|
2470
2472
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes7.Box, { children: [
|
|
2471
2473
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes23.Flex, { align: "center", justify: "between", mb: "1", children: [
|
|
@@ -2474,10 +2476,9 @@ function SpeechShareBar({ share }) {
|
|
|
2474
2476
|
{
|
|
2475
2477
|
as: "span",
|
|
2476
2478
|
style: {
|
|
2477
|
-
fontSize: "0.75rem",
|
|
2478
2479
|
color: isOvertalking ? "var(--red-11)" : "var(--accent-11)"
|
|
2479
2480
|
},
|
|
2480
|
-
variant: "
|
|
2481
|
+
variant: "caption",
|
|
2481
2482
|
weight: "medium",
|
|
2482
2483
|
children: [
|
|
2483
2484
|
"\uB0B4 \uBC1C\uD654\uB7C9 ",
|
|
@@ -2486,20 +2487,11 @@ function SpeechShareBar({ share }) {
|
|
|
2486
2487
|
]
|
|
2487
2488
|
}
|
|
2488
2489
|
),
|
|
2489
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
style: { fontSize: "0.75rem" },
|
|
2495
|
-
variant: "body",
|
|
2496
|
-
children: [
|
|
2497
|
-
"\uC0C1\uB300 ",
|
|
2498
|
-
share.partnerPct,
|
|
2499
|
-
"%"
|
|
2500
|
-
]
|
|
2501
|
-
}
|
|
2502
|
-
)
|
|
2490
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Typo, { as: "span", color: "gray", variant: "caption", children: [
|
|
2491
|
+
"\uC0C1\uB300 ",
|
|
2492
|
+
share.partnerPct,
|
|
2493
|
+
"%"
|
|
2494
|
+
] })
|
|
2503
2495
|
] }),
|
|
2504
2496
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2505
2497
|
import_themes23.Flex,
|
|
@@ -2521,18 +2513,12 @@ function SpeechShareBar({ share }) {
|
|
|
2521
2513
|
)
|
|
2522
2514
|
}
|
|
2523
2515
|
),
|
|
2524
|
-
isOvertalking ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2525
|
-
Typo,
|
|
2526
|
-
{
|
|
2527
|
-
as: "p",
|
|
2528
|
-
mt: "1",
|
|
2529
|
-
style: { fontSize: "0.75rem", color: "var(--red-11)" },
|
|
2530
|
-
variant: "body",
|
|
2531
|
-
children: "\uC0C1\uB300\uC758 \uB9D0\uC744 \uB354 \uB4E3\uACE0 \uC9C8\uBB38\xB7\uACBD\uCCAD\uC758 \uBE44\uC911\uC744 \uB192\uC5EC \uBCF4\uC138\uC694"
|
|
2532
|
-
}
|
|
2533
|
-
) : null
|
|
2516
|
+
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
|
|
2534
2517
|
] });
|
|
2535
2518
|
}
|
|
2519
|
+
|
|
2520
|
+
// src/app/roleplay/parts/score-summary.tsx
|
|
2521
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2536
2522
|
function ScoreSummary({
|
|
2537
2523
|
detail,
|
|
2538
2524
|
report,
|
|
@@ -2541,18 +2527,18 @@ function ScoreSummary({
|
|
|
2541
2527
|
var _a;
|
|
2542
2528
|
const scoreValue = (_a = detail.totalScore) != null ? _a : report.totalScore;
|
|
2543
2529
|
const comment = report.comment;
|
|
2544
|
-
return /* @__PURE__ */ (0,
|
|
2530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2545
2531
|
import_themes24.Grid,
|
|
2546
2532
|
{
|
|
2547
2533
|
align: "start",
|
|
2548
2534
|
columns: comment ? { initial: "1", md: "minmax(0, 240px) 1fr" } : "1",
|
|
2549
2535
|
gap: "5",
|
|
2550
2536
|
children: [
|
|
2551
|
-
/* @__PURE__ */ (0,
|
|
2552
|
-
/* @__PURE__ */ (0,
|
|
2553
|
-
/* @__PURE__ */ (0,
|
|
2554
|
-
/* @__PURE__ */ (0,
|
|
2555
|
-
/* @__PURE__ */ (0,
|
|
2537
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(Card, { variant: "surface", children: [
|
|
2538
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Flex, { align: "center", direction: "column", gap: "2", py: "3", children: [
|
|
2539
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "p", color: "gray", variant: "body", weight: "medium", children: "\uC885\uD569 \uC810\uC218" }),
|
|
2540
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Flex, { align: "baseline", gap: "1", children: [
|
|
2541
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2556
2542
|
Typo,
|
|
2557
2543
|
{
|
|
2558
2544
|
as: "span",
|
|
@@ -2566,18 +2552,18 @@ function ScoreSummary({
|
|
|
2566
2552
|
children: scoreValue != null ? scoreValue : "\u2014"
|
|
2567
2553
|
}
|
|
2568
2554
|
),
|
|
2569
|
-
/* @__PURE__ */ (0,
|
|
2555
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "span", color: "gray", mono: true, variant: "subtitle", children: "/100" })
|
|
2570
2556
|
] })
|
|
2571
2557
|
] }),
|
|
2572
|
-
speechShare ? /* @__PURE__ */ (0,
|
|
2573
|
-
/* @__PURE__ */ (0,
|
|
2574
|
-
/* @__PURE__ */ (0,
|
|
2558
|
+
speechShare ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
|
|
2559
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes40.Separator, { my: "3", size: "4" }),
|
|
2560
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SpeechShareBar, { share: speechShare })
|
|
2575
2561
|
] }) : null
|
|
2576
2562
|
] }),
|
|
2577
|
-
comment ? /* @__PURE__ */ (0,
|
|
2578
|
-
/* @__PURE__ */ (0,
|
|
2579
|
-
/* @__PURE__ */ (0,
|
|
2580
|
-
report.deduction ? /* @__PURE__ */ (0,
|
|
2563
|
+
comment ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes23.Flex, { direction: "column", gap: "3", children: [
|
|
2564
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "p", variant: "body", weight: "medium", children: "\uC885\uD569 \uBD84\uC11D" }),
|
|
2565
|
+
/* @__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 }) }),
|
|
2566
|
+
report.deduction ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2581
2567
|
import_themes7.Box,
|
|
2582
2568
|
{
|
|
2583
2569
|
pl: "3",
|
|
@@ -2589,12 +2575,12 @@ function ScoreSummary({
|
|
|
2589
2575
|
borderRadius: "var(--radius-2)"
|
|
2590
2576
|
},
|
|
2591
2577
|
children: [
|
|
2592
|
-
/* @__PURE__ */ (0,
|
|
2578
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2593
2579
|
Typo,
|
|
2594
2580
|
{
|
|
2595
2581
|
as: "p",
|
|
2582
|
+
color: "amber",
|
|
2596
2583
|
mono: true,
|
|
2597
|
-
style: { color: "var(--amber-11)" },
|
|
2598
2584
|
variant: "body",
|
|
2599
2585
|
weight: "medium",
|
|
2600
2586
|
children: [
|
|
@@ -2604,11 +2590,11 @@ function ScoreSummary({
|
|
|
2604
2590
|
]
|
|
2605
2591
|
}
|
|
2606
2592
|
),
|
|
2607
|
-
/* @__PURE__ */ (0,
|
|
2593
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2608
2594
|
Typo,
|
|
2609
2595
|
{
|
|
2610
2596
|
as: "p",
|
|
2611
|
-
|
|
2597
|
+
color: "amber",
|
|
2612
2598
|
variant: "body",
|
|
2613
2599
|
children: report.deduction.basis
|
|
2614
2600
|
}
|
|
@@ -2634,7 +2620,7 @@ var import_themes53 = require("@radix-ui/themes");
|
|
|
2634
2620
|
// src/molecules/expand-table/row.tsx
|
|
2635
2621
|
var import_react_table = require("@tanstack/react-table");
|
|
2636
2622
|
var import_react41 = require("react");
|
|
2637
|
-
var
|
|
2623
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2638
2624
|
function Row(props) {
|
|
2639
2625
|
const { row, ExpandComp, gridTemplateColumns, getRowStyle, getCellStyle } = props;
|
|
2640
2626
|
const [open, setOpen] = (0, import_react41.useState)(false);
|
|
@@ -2653,8 +2639,8 @@ function Row(props) {
|
|
|
2653
2639
|
}
|
|
2654
2640
|
return baseCls.join(" ");
|
|
2655
2641
|
}, [ExpandComp, props.onRowClick]);
|
|
2656
|
-
return /* @__PURE__ */ (0,
|
|
2657
|
-
/* @__PURE__ */ (0,
|
|
2642
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: rowClassName, children: [
|
|
2643
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2658
2644
|
"button",
|
|
2659
2645
|
{
|
|
2660
2646
|
className: "tr",
|
|
@@ -2667,7 +2653,7 @@ function Row(props) {
|
|
|
2667
2653
|
var _a, _b, _c;
|
|
2668
2654
|
const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
|
|
2669
2655
|
const justifyContent = ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) || props.defaultAlign;
|
|
2670
|
-
return /* @__PURE__ */ (0,
|
|
2656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
2671
2657
|
"div",
|
|
2672
2658
|
{
|
|
2673
2659
|
className: "td",
|
|
@@ -2678,7 +2664,7 @@ function Row(props) {
|
|
|
2678
2664
|
}, (getCellStyle == null ? void 0 : getCellStyle(row.original)) || {}),
|
|
2679
2665
|
children: [
|
|
2680
2666
|
(0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
2681
|
-
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0,
|
|
2667
|
+
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2682
2668
|
cell.column.columnDef.meta.OpenBtn,
|
|
2683
2669
|
{
|
|
2684
2670
|
data: row.original,
|
|
@@ -2694,12 +2680,12 @@ function Row(props) {
|
|
|
2694
2680
|
},
|
|
2695
2681
|
`tr_${row.id}`
|
|
2696
2682
|
),
|
|
2697
|
-
ExpandComp ? /* @__PURE__ */ (0,
|
|
2683
|
+
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
|
|
2698
2684
|
] }, `tr-wrapper_${row.id}`);
|
|
2699
2685
|
}
|
|
2700
2686
|
|
|
2701
2687
|
// src/molecules/expand-table/index.tsx
|
|
2702
|
-
var
|
|
2688
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2703
2689
|
var sortButtonColorMapper = {
|
|
2704
2690
|
card: {
|
|
2705
2691
|
selected: "var(--iris-10)",
|
|
@@ -2780,7 +2766,7 @@ function ExpandTable(props) {
|
|
|
2780
2766
|
const helpCompRender = (0, import_react42.useCallback)(
|
|
2781
2767
|
(rowLength) => {
|
|
2782
2768
|
if (isLoading) {
|
|
2783
|
-
return /* @__PURE__ */ (0,
|
|
2769
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2784
2770
|
import_themes23.Flex,
|
|
2785
2771
|
{
|
|
2786
2772
|
align: "center",
|
|
@@ -2788,12 +2774,12 @@ function ExpandTable(props) {
|
|
|
2788
2774
|
justify: "center",
|
|
2789
2775
|
p: "5",
|
|
2790
2776
|
width: "100%",
|
|
2791
|
-
children: /* @__PURE__ */ (0,
|
|
2777
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes50.Spinner, {})
|
|
2792
2778
|
}
|
|
2793
2779
|
);
|
|
2794
2780
|
}
|
|
2795
2781
|
if (rowLength === 0) {
|
|
2796
|
-
return /* @__PURE__ */ (0,
|
|
2782
|
+
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");
|
|
2797
2783
|
}
|
|
2798
2784
|
return null;
|
|
2799
2785
|
},
|
|
@@ -2803,9 +2789,9 @@ function ExpandTable(props) {
|
|
|
2803
2789
|
if (!data) return 0;
|
|
2804
2790
|
return Math.ceil(data.length / pageSize);
|
|
2805
2791
|
}, [data, pageSize]);
|
|
2806
|
-
return /* @__PURE__ */ (0,
|
|
2807
|
-
/* @__PURE__ */ (0,
|
|
2808
|
-
/* @__PURE__ */ (0,
|
|
2792
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: `expand-table-wrapper ${variant}${slim ? " slim" : ""}`, children: [
|
|
2793
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
|
|
2794
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2809
2795
|
"div",
|
|
2810
2796
|
{
|
|
2811
2797
|
className: "tr",
|
|
@@ -2816,36 +2802,36 @@ function ExpandTable(props) {
|
|
|
2816
2802
|
const sortedState = header.column.getIsSorted();
|
|
2817
2803
|
const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
|
|
2818
2804
|
if (sortable) {
|
|
2819
|
-
return /* @__PURE__ */ (0,
|
|
2805
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2820
2806
|
"button",
|
|
2821
2807
|
{
|
|
2822
2808
|
onClick: header.column.getToggleSortingHandler(),
|
|
2823
2809
|
style: { cursor: "pointer" },
|
|
2824
2810
|
type: "button",
|
|
2825
2811
|
children: [
|
|
2826
|
-
/* @__PURE__ */ (0,
|
|
2812
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
|
|
2827
2813
|
header.column.columnDef.header,
|
|
2828
2814
|
header.getContext()
|
|
2829
2815
|
) }),
|
|
2830
|
-
/* @__PURE__ */ (0,
|
|
2816
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2831
2817
|
import_themes23.Flex,
|
|
2832
2818
|
{
|
|
2833
2819
|
direction: "column",
|
|
2834
2820
|
style: { marginLeft: "var(--space-2)" },
|
|
2835
2821
|
children: [
|
|
2836
|
-
sortedState === false && /* @__PURE__ */ (0,
|
|
2822
|
+
sortedState === false && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2837
2823
|
TriangleArrowDownIcon,
|
|
2838
2824
|
{
|
|
2839
2825
|
color: sortButtonColorMapper[variant].unselected
|
|
2840
2826
|
}
|
|
2841
2827
|
),
|
|
2842
|
-
sortedState === "asc" && /* @__PURE__ */ (0,
|
|
2828
|
+
sortedState === "asc" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2843
2829
|
TriangleArrowUpIcon,
|
|
2844
2830
|
{
|
|
2845
2831
|
color: sortButtonColorMapper[variant].selected
|
|
2846
2832
|
}
|
|
2847
2833
|
),
|
|
2848
|
-
sortedState === "desc" && /* @__PURE__ */ (0,
|
|
2834
|
+
sortedState === "desc" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2849
2835
|
TriangleArrowDownIcon,
|
|
2850
2836
|
{
|
|
2851
2837
|
color: sortButtonColorMapper[variant].selected
|
|
@@ -2858,7 +2844,7 @@ function ExpandTable(props) {
|
|
|
2858
2844
|
}
|
|
2859
2845
|
) }, header.id);
|
|
2860
2846
|
}
|
|
2861
|
-
return /* @__PURE__ */ (0,
|
|
2847
|
+
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)(
|
|
2862
2848
|
header.column.columnDef.header,
|
|
2863
2849
|
header.getContext()
|
|
2864
2850
|
) }) }, header.id);
|
|
@@ -2866,8 +2852,8 @@ function ExpandTable(props) {
|
|
|
2866
2852
|
},
|
|
2867
2853
|
headerGroup.id
|
|
2868
2854
|
)) }),
|
|
2869
|
-
/* @__PURE__ */ (0,
|
|
2870
|
-
return /* @__PURE__ */ (0,
|
|
2855
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes53.ScrollArea, { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
|
|
2856
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2871
2857
|
Row,
|
|
2872
2858
|
{
|
|
2873
2859
|
ExpandComp,
|
|
@@ -2882,7 +2868,7 @@ function ExpandTable(props) {
|
|
|
2882
2868
|
);
|
|
2883
2869
|
}) })
|
|
2884
2870
|
] }),
|
|
2885
|
-
showPagination ? /* @__PURE__ */ (0,
|
|
2871
|
+
showPagination ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes23.Flex, { justify: "end", pt: "4", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2886
2872
|
Pagination,
|
|
2887
2873
|
{
|
|
2888
2874
|
count: pageCount,
|
|
@@ -2895,13 +2881,13 @@ function ExpandTable(props) {
|
|
|
2895
2881
|
}
|
|
2896
2882
|
|
|
2897
2883
|
// src/molecules/navigation.tsx
|
|
2898
|
-
var
|
|
2884
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
2899
2885
|
|
|
2900
2886
|
// src/molecules/date-picker/index.tsx
|
|
2901
2887
|
var import_react43 = require("react");
|
|
2902
2888
|
var import_react_datepicker = __toESM(require("react-datepicker"), 1);
|
|
2903
2889
|
var import_locale = require("date-fns/locale");
|
|
2904
|
-
var
|
|
2890
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
2905
2891
|
var DatePicker = (0, import_react43.forwardRef)(
|
|
2906
2892
|
(props, ref) => {
|
|
2907
2893
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
@@ -2932,7 +2918,7 @@ var DatePicker = (0, import_react43.forwardRef)(
|
|
|
2932
2918
|
setIsMonthDropdownOpen
|
|
2933
2919
|
}));
|
|
2934
2920
|
}, [isMonthDropdownOpen, isYearDropdownOpen, props]);
|
|
2935
|
-
return /* @__PURE__ */ (0,
|
|
2921
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_themes23.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2936
2922
|
import_react_datepicker.default,
|
|
2937
2923
|
__spreadProps(__spreadValues({
|
|
2938
2924
|
dateFormat: "yyyy/MM/dd h:mm aa",
|
|
@@ -2980,19 +2966,19 @@ function DropdownSelector({
|
|
|
2980
2966
|
});
|
|
2981
2967
|
}
|
|
2982
2968
|
}, [isOpen]);
|
|
2983
|
-
return /* @__PURE__ */ (0,
|
|
2984
|
-
/* @__PURE__ */ (0,
|
|
2969
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Popover.Root, { modal: true, onOpenChange, open: isOpen, children: [
|
|
2970
|
+
/* @__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: [
|
|
2985
2971
|
selectedValue,
|
|
2986
2972
|
suffix
|
|
2987
2973
|
] }) }) }),
|
|
2988
|
-
/* @__PURE__ */ (0,
|
|
2974
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Popover.Content, { side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2989
2975
|
import_themes7.Box,
|
|
2990
2976
|
{
|
|
2991
2977
|
maxHeight: "200px",
|
|
2992
2978
|
overflowY: "auto",
|
|
2993
2979
|
ref: scrollContainerRef,
|
|
2994
2980
|
style: { scrollbarWidth: "none" },
|
|
2995
|
-
children: /* @__PURE__ */ (0,
|
|
2981
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_themes23.Flex, { direction: "column", gap: "1", children: options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2996
2982
|
Button,
|
|
2997
2983
|
{
|
|
2998
2984
|
className: "react-datepicker_dropdown_item",
|
|
@@ -3006,7 +2992,7 @@ function DropdownSelector({
|
|
|
3006
2992
|
e.preventDefault();
|
|
3007
2993
|
},
|
|
3008
2994
|
variant: "transparent",
|
|
3009
|
-
children: /* @__PURE__ */ (0,
|
|
2995
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Typo, { weight: item === selectedValue ? "bold" : void 0, children: [
|
|
3010
2996
|
item,
|
|
3011
2997
|
suffix
|
|
3012
2998
|
] })
|
|
@@ -3037,8 +3023,8 @@ var getRenderCustomHeader = (props) => {
|
|
|
3037
3023
|
} = props;
|
|
3038
3024
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
3039
3025
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
3040
|
-
return /* @__PURE__ */ (0,
|
|
3041
|
-
/* @__PURE__ */ (0,
|
|
3026
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_themes23.Flex, { align: "center", justify: "between", pl: "2", pr: "2", children: [
|
|
3027
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3042
3028
|
IconButton,
|
|
3043
3029
|
{
|
|
3044
3030
|
className: "react-datepicker_dropdown_header",
|
|
@@ -3046,11 +3032,11 @@ var getRenderCustomHeader = (props) => {
|
|
|
3046
3032
|
onClick: decreaseMonth,
|
|
3047
3033
|
type: "button",
|
|
3048
3034
|
variant: "ghost",
|
|
3049
|
-
children: /* @__PURE__ */ (0,
|
|
3035
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_icons2.ChevronLeftIcon, {})
|
|
3050
3036
|
}
|
|
3051
3037
|
),
|
|
3052
|
-
/* @__PURE__ */ (0,
|
|
3053
|
-
/* @__PURE__ */ (0,
|
|
3038
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_themes23.Flex, { gap: "3", children: [
|
|
3039
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3054
3040
|
DropdownSelector,
|
|
3055
3041
|
{
|
|
3056
3042
|
isOpen: isYearDropdownOpen,
|
|
@@ -3064,7 +3050,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
3064
3050
|
suffix: "\uB144"
|
|
3065
3051
|
}
|
|
3066
3052
|
),
|
|
3067
|
-
/* @__PURE__ */ (0,
|
|
3053
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3068
3054
|
DropdownSelector,
|
|
3069
3055
|
{
|
|
3070
3056
|
isOpen: isMonthDropdownOpen,
|
|
@@ -3079,7 +3065,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
3079
3065
|
}
|
|
3080
3066
|
)
|
|
3081
3067
|
] }),
|
|
3082
|
-
/* @__PURE__ */ (0,
|
|
3068
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3083
3069
|
IconButton,
|
|
3084
3070
|
{
|
|
3085
3071
|
className: "react-datepicker_dropdown_header",
|
|
@@ -3087,7 +3073,7 @@ var getRenderCustomHeader = (props) => {
|
|
|
3087
3073
|
onClick: increaseMonth,
|
|
3088
3074
|
type: "button",
|
|
3089
3075
|
variant: "ghost",
|
|
3090
|
-
children: /* @__PURE__ */ (0,
|
|
3076
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_icons2.ChevronRightIcon, {})
|
|
3091
3077
|
}
|
|
3092
3078
|
)
|
|
3093
3079
|
] });
|
|
@@ -3098,12 +3084,12 @@ var getRenderCustomHeader = (props) => {
|
|
|
3098
3084
|
// src/molecules/dot-navigation.tsx
|
|
3099
3085
|
var import_react44 = require("react");
|
|
3100
3086
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
3101
|
-
var
|
|
3087
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3102
3088
|
|
|
3103
3089
|
// src/molecules/stepper.tsx
|
|
3104
3090
|
var import_react45 = require("react");
|
|
3105
3091
|
var import_themes54 = require("@radix-ui/themes");
|
|
3106
|
-
var
|
|
3092
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3107
3093
|
var StepContext = (0, import_react45.createContext)({
|
|
3108
3094
|
active: false,
|
|
3109
3095
|
completed: false,
|
|
@@ -3113,20 +3099,20 @@ var StepContext = (0, import_react45.createContext)({
|
|
|
3113
3099
|
// src/molecules/tag-selector.tsx
|
|
3114
3100
|
var import_react46 = require("react");
|
|
3115
3101
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
3116
|
-
var
|
|
3102
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3117
3103
|
|
|
3118
3104
|
// src/molecules/learning-post.tsx
|
|
3119
|
-
var
|
|
3105
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3120
3106
|
|
|
3121
3107
|
// src/molecules/force-refresh.tsx
|
|
3122
3108
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
3123
|
-
var
|
|
3109
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3124
3110
|
|
|
3125
3111
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
3126
3112
|
var import_react47 = require("react");
|
|
3127
3113
|
var import_date_fns2 = require("date-fns");
|
|
3128
3114
|
var import_clsx29 = require("clsx");
|
|
3129
|
-
var
|
|
3115
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3130
3116
|
|
|
3131
3117
|
// src/molecules/time-select.tsx
|
|
3132
3118
|
var import_react48 = require("react");
|
|
@@ -3153,34 +3139,34 @@ for (const opt of AI_CALLOUT_ICON_OPTIONS) {
|
|
|
3153
3139
|
}
|
|
3154
3140
|
|
|
3155
3141
|
// src/molecules/time-select.tsx
|
|
3156
|
-
var
|
|
3142
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3157
3143
|
|
|
3158
3144
|
// src/molecules/radio-button-card.tsx
|
|
3159
3145
|
var import_react49 = require("react");
|
|
3160
|
-
var
|
|
3146
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3161
3147
|
var RadioCardContext = (0, import_react49.createContext)({});
|
|
3162
3148
|
|
|
3163
3149
|
// src/molecules/download-card.tsx
|
|
3164
3150
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
3165
|
-
var
|
|
3151
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3166
3152
|
|
|
3167
3153
|
// src/molecules/ghost-post.tsx
|
|
3168
|
-
var
|
|
3154
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3169
3155
|
|
|
3170
3156
|
// src/molecules/curriculumV2/curriculum-context.tsx
|
|
3171
3157
|
var import_react50 = require("react");
|
|
3172
|
-
var
|
|
3158
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3173
3159
|
var CurriculumContext = (0, import_react50.createContext)(
|
|
3174
3160
|
void 0
|
|
3175
3161
|
);
|
|
3176
3162
|
|
|
3177
3163
|
// src/molecules/curriculumV2/curriculum-sub-nav.tsx
|
|
3178
3164
|
var import_react51 = require("react");
|
|
3179
|
-
var
|
|
3165
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3180
3166
|
|
|
3181
3167
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-video.tsx
|
|
3182
3168
|
var import_react52 = require("react");
|
|
3183
|
-
var
|
|
3169
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3184
3170
|
|
|
3185
3171
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
|
|
3186
3172
|
var import_react55 = require("react");
|
|
@@ -3191,88 +3177,88 @@ var import_react53 = require("react");
|
|
|
3191
3177
|
var import_formik = require("formik");
|
|
3192
3178
|
var import_lodash_es = require("lodash-es");
|
|
3193
3179
|
var Yup = __toESM(require("yup"), 1);
|
|
3194
|
-
var
|
|
3180
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3195
3181
|
var CurriculumReviewContext = (0, import_react53.createContext)(void 0);
|
|
3196
3182
|
|
|
3197
3183
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.tsx
|
|
3198
|
-
var
|
|
3184
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
3199
3185
|
|
|
3200
3186
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.tsx
|
|
3201
|
-
var
|
|
3187
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
3202
3188
|
|
|
3203
3189
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.tsx
|
|
3204
|
-
var
|
|
3190
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
3205
3191
|
|
|
3206
3192
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.tsx
|
|
3207
|
-
var
|
|
3193
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
3208
3194
|
|
|
3209
3195
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.tsx
|
|
3210
|
-
var
|
|
3196
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
3211
3197
|
|
|
3212
3198
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
|
|
3213
3199
|
var import_react54 = require("react");
|
|
3214
3200
|
|
|
3215
3201
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.tsx
|
|
3216
|
-
var
|
|
3202
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
3217
3203
|
|
|
3218
3204
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.tsx
|
|
3219
|
-
var
|
|
3205
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
3220
3206
|
|
|
3221
3207
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.tsx
|
|
3222
|
-
var
|
|
3208
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
3223
3209
|
|
|
3224
3210
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.tsx
|
|
3225
|
-
var
|
|
3211
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
3226
3212
|
|
|
3227
3213
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.tsx
|
|
3228
|
-
var
|
|
3214
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
3229
3215
|
|
|
3230
3216
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.tsx
|
|
3231
|
-
var
|
|
3217
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
3232
3218
|
|
|
3233
3219
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.tsx
|
|
3234
|
-
var
|
|
3220
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
3235
3221
|
|
|
3236
3222
|
// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.tsx
|
|
3237
|
-
var
|
|
3223
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
3238
3224
|
|
|
3239
3225
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-review.tsx
|
|
3240
|
-
var
|
|
3226
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
3241
3227
|
|
|
3242
3228
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.tsx
|
|
3243
3229
|
var import_react56 = require("react");
|
|
3244
|
-
var
|
|
3230
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
3245
3231
|
|
|
3246
3232
|
// src/molecules/curriculumV2/CurriculumContents/curriculum-file-download.tsx
|
|
3247
3233
|
var import_react57 = require("react");
|
|
3248
|
-
var
|
|
3234
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
3249
3235
|
|
|
3250
3236
|
// src/molecules/curriculumV2/CurriculumContents/index.tsx
|
|
3251
|
-
var
|
|
3237
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
3252
3238
|
|
|
3253
3239
|
// src/molecules/curriculumV2/CurriculumSidebar/index.tsx
|
|
3254
3240
|
var import_react58 = require("react");
|
|
3255
3241
|
|
|
3256
3242
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-title.tsx
|
|
3257
|
-
var
|
|
3243
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
3258
3244
|
|
|
3259
3245
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.tsx
|
|
3260
|
-
var
|
|
3246
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
3261
3247
|
|
|
3262
3248
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.tsx
|
|
3263
|
-
var
|
|
3249
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
3264
3250
|
|
|
3265
3251
|
// src/molecules/curriculumV2/CurriculumSidebar/Items/section-item.tsx
|
|
3266
|
-
var
|
|
3252
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
3267
3253
|
|
|
3268
3254
|
// src/molecules/curriculumV2/CurriculumSidebar/sidebar-item.tsx
|
|
3269
|
-
var
|
|
3255
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
3270
3256
|
|
|
3271
3257
|
// src/molecules/curriculumV2/CurriculumSidebar/index.tsx
|
|
3272
|
-
var
|
|
3258
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
3273
3259
|
|
|
3274
3260
|
// src/molecules/curriculumV2/curriculum-v2-layout.tsx
|
|
3275
|
-
var
|
|
3261
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
3276
3262
|
|
|
3277
3263
|
// src/molecules/dynamic-form.tsx
|
|
3278
3264
|
var import_react60 = require("react");
|
|
@@ -3282,26 +3268,26 @@ var import_themes55 = require("@radix-ui/themes");
|
|
|
3282
3268
|
|
|
3283
3269
|
// src/context/dynamic-form-context.tsx
|
|
3284
3270
|
var import_react59 = require("react");
|
|
3285
|
-
var
|
|
3271
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
3286
3272
|
var DynamicFormContext = (0, import_react59.createContext)(null);
|
|
3287
3273
|
|
|
3288
3274
|
// src/molecules/dynamic-field.tsx
|
|
3289
|
-
var
|
|
3275
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
3290
3276
|
|
|
3291
3277
|
// src/molecules/dynamic-form.tsx
|
|
3292
|
-
var
|
|
3278
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
3293
3279
|
|
|
3294
3280
|
// src/molecules/one-on-one-guide-list.tsx
|
|
3295
3281
|
var import_react61 = require("react");
|
|
3296
|
-
var
|
|
3282
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
3297
3283
|
|
|
3298
3284
|
// src/molecules/description-json-render.tsx
|
|
3299
|
-
var
|
|
3285
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
3300
3286
|
|
|
3301
3287
|
// src/molecules/training-info-guideline.tsx
|
|
3302
3288
|
var import_react62 = require("react");
|
|
3303
3289
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
3304
|
-
var
|
|
3290
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
3305
3291
|
|
|
3306
3292
|
// src/molecules/dynamic-form-editor.tsx
|
|
3307
3293
|
var import_react65 = require("react");
|
|
@@ -3309,26 +3295,26 @@ var import_react65 = require("react");
|
|
|
3309
3295
|
// src/molecules/dynamic-form-editor-field-editor-panel.tsx
|
|
3310
3296
|
var import_react63 = require("react");
|
|
3311
3297
|
var import_themes56 = require("@radix-ui/themes");
|
|
3312
|
-
var
|
|
3298
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
3313
3299
|
|
|
3314
3300
|
// src/molecules/dynamic-form-editor-field-list-panel.tsx
|
|
3315
3301
|
var import_react64 = require("react");
|
|
3316
3302
|
var import_themes57 = require("@radix-ui/themes");
|
|
3317
|
-
var
|
|
3303
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
3318
3304
|
|
|
3319
3305
|
// src/molecules/dynamic-form-editor-issues-panel.tsx
|
|
3320
|
-
var
|
|
3306
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
3321
3307
|
|
|
3322
3308
|
// src/molecules/dynamic-form-editor-preview-panel.tsx
|
|
3323
|
-
var
|
|
3309
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
3324
3310
|
|
|
3325
3311
|
// src/molecules/dynamic-form-editor.tsx
|
|
3326
|
-
var
|
|
3312
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
3327
3313
|
|
|
3328
3314
|
// src/molecules/autocomplete-textfield.tsx
|
|
3329
3315
|
var import_react66 = require("react");
|
|
3330
3316
|
var import_themes58 = require("@radix-ui/themes");
|
|
3331
|
-
var
|
|
3317
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
3332
3318
|
var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
3333
3319
|
(_a, ref) => {
|
|
3334
3320
|
var _b = _a, {
|
|
@@ -3454,8 +3440,8 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3454
3440
|
const item = listRef.current.children[highlightedIndex];
|
|
3455
3441
|
item.scrollIntoView({ block: "nearest" });
|
|
3456
3442
|
}, [highlightedIndex]);
|
|
3457
|
-
return /* @__PURE__ */ (0,
|
|
3458
|
-
/* @__PURE__ */ (0,
|
|
3443
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_themes58.Box, { position: "relative", style: { width: "100%" }, children: [
|
|
3444
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
|
|
3459
3445
|
TextField.Root,
|
|
3460
3446
|
__spreadProps(__spreadValues({
|
|
3461
3447
|
"aria-activedescendant": open && highlightedIndex >= 0 ? `${listboxId}-option-${highlightedIndex}` : void 0,
|
|
@@ -3481,12 +3467,12 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3481
3467
|
value: inputValue
|
|
3482
3468
|
}, rest), {
|
|
3483
3469
|
children: [
|
|
3484
|
-
slotLeft && /* @__PURE__ */ (0,
|
|
3485
|
-
slotRight && /* @__PURE__ */ (0,
|
|
3470
|
+
slotLeft && /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(TextField.Slot, { side: "left", children: slotLeft }),
|
|
3471
|
+
slotRight && /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(TextField.Slot, { side: "right", children: slotRight })
|
|
3486
3472
|
]
|
|
3487
3473
|
})
|
|
3488
3474
|
),
|
|
3489
|
-
/* @__PURE__ */ (0,
|
|
3475
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
|
|
3490
3476
|
DropdownMenu.Root,
|
|
3491
3477
|
{
|
|
3492
3478
|
modal: false,
|
|
@@ -3498,7 +3484,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3498
3484
|
},
|
|
3499
3485
|
open,
|
|
3500
3486
|
children: [
|
|
3501
|
-
/* @__PURE__ */ (0,
|
|
3487
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
3502
3488
|
"span",
|
|
3503
3489
|
{
|
|
3504
3490
|
"aria-hidden": "true",
|
|
@@ -3513,7 +3499,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3513
3499
|
}
|
|
3514
3500
|
}
|
|
3515
3501
|
) }),
|
|
3516
|
-
/* @__PURE__ */ (0,
|
|
3502
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
3517
3503
|
DropdownMenu.Content,
|
|
3518
3504
|
{
|
|
3519
3505
|
align: "start",
|
|
@@ -3530,7 +3516,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3530
3516
|
padding: 0,
|
|
3531
3517
|
width: "var(--radix-dropdown-menu-trigger-width)"
|
|
3532
3518
|
},
|
|
3533
|
-
children: filtered.length === 0 && emptyMessage !== null ? /* @__PURE__ */ (0,
|
|
3519
|
+
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)(
|
|
3534
3520
|
"ul",
|
|
3535
3521
|
{
|
|
3536
3522
|
id: listboxId,
|
|
@@ -3539,7 +3525,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3539
3525
|
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
3540
3526
|
children: filtered.map((option, index) => {
|
|
3541
3527
|
const isHighlighted = index === highlightedIndex;
|
|
3542
|
-
return /* @__PURE__ */ (0,
|
|
3528
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
3543
3529
|
"li",
|
|
3544
3530
|
{
|
|
3545
3531
|
"aria-selected": isHighlighted,
|
|
@@ -3558,7 +3544,7 @@ var AutocompleteTextfield = (0, import_react66.forwardRef)(
|
|
|
3558
3544
|
backgroundColor: isHighlighted ? "var(--accent-3)" : "transparent",
|
|
3559
3545
|
transition: "background-color 80ms"
|
|
3560
3546
|
},
|
|
3561
|
-
children: /* @__PURE__ */ (0,
|
|
3547
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Typo, { variant: "body", children: option.label })
|
|
3562
3548
|
},
|
|
3563
3549
|
option.value
|
|
3564
3550
|
);
|
|
@@ -3585,7 +3571,7 @@ var import_renderers = require("echarts/renderers");
|
|
|
3585
3571
|
var import_components = require("echarts/components");
|
|
3586
3572
|
|
|
3587
3573
|
// src/charts/horizontal-bar-chart.tsx
|
|
3588
|
-
var
|
|
3574
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
3589
3575
|
|
|
3590
3576
|
// src/charts/chart-theme.json
|
|
3591
3577
|
var chart_theme_default = {
|
|
@@ -3736,7 +3722,7 @@ var EchartDefaultProps = {
|
|
|
3736
3722
|
};
|
|
3737
3723
|
|
|
3738
3724
|
// src/app/roleplay/chart/session-chart.tsx
|
|
3739
|
-
var
|
|
3725
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
3740
3726
|
function unwrapDefault(mod) {
|
|
3741
3727
|
let current = mod;
|
|
3742
3728
|
while (current !== null && typeof current === "object" && "default" in current) {
|
|
@@ -3796,7 +3782,7 @@ function Chart(_a) {
|
|
|
3796
3782
|
};
|
|
3797
3783
|
return deepMerge(baseOption, optionProp);
|
|
3798
3784
|
}, [optionProp]);
|
|
3799
|
-
return /* @__PURE__ */ (0,
|
|
3785
|
+
return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { ref, style: { width: "100%", height: "100%" }, children: mounted ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
3800
3786
|
ReactEChartsCore,
|
|
3801
3787
|
__spreadProps(__spreadValues(__spreadProps(__spreadValues({}, EchartDefaultProps), {
|
|
3802
3788
|
echarts,
|
|
@@ -3845,7 +3831,7 @@ function useTokenColors(vars) {
|
|
|
3845
3831
|
}
|
|
3846
3832
|
setResolved(next);
|
|
3847
3833
|
}, [key]);
|
|
3848
|
-
const probe = /* @__PURE__ */ (0,
|
|
3834
|
+
const probe = /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
3849
3835
|
"span",
|
|
3850
3836
|
{
|
|
3851
3837
|
"aria-hidden": true,
|
|
@@ -3857,7 +3843,7 @@ function useTokenColors(vars) {
|
|
|
3857
3843
|
}
|
|
3858
3844
|
|
|
3859
3845
|
// src/app/roleplay/parts/score-trend-section.tsx
|
|
3860
|
-
var
|
|
3846
|
+
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
3861
3847
|
function formatDateOnly(iso) {
|
|
3862
3848
|
const d = new Date(iso);
|
|
3863
3849
|
if (Number.isNaN(d.getTime())) return iso;
|
|
@@ -3868,9 +3854,9 @@ function Section4({
|
|
|
3868
3854
|
desc,
|
|
3869
3855
|
children
|
|
3870
3856
|
}) {
|
|
3871
|
-
return /* @__PURE__ */ (0,
|
|
3872
|
-
/* @__PURE__ */ (0,
|
|
3873
|
-
/* @__PURE__ */ (0,
|
|
3857
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("section", { children: [
|
|
3858
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_themes7.Box, { mb: "3", children: [
|
|
3859
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
3874
3860
|
Heading2,
|
|
3875
3861
|
{
|
|
3876
3862
|
size: { initial: "4", md: "5" },
|
|
@@ -3879,14 +3865,14 @@ function Section4({
|
|
|
3879
3865
|
children: title
|
|
3880
3866
|
}
|
|
3881
3867
|
),
|
|
3882
|
-
desc ? /* @__PURE__ */ (0,
|
|
3868
|
+
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
|
|
3883
3869
|
] }),
|
|
3884
3870
|
children
|
|
3885
3871
|
] });
|
|
3886
3872
|
}
|
|
3887
3873
|
function AttemptCell({ row }) {
|
|
3888
3874
|
const d = row.original;
|
|
3889
|
-
return /* @__PURE__ */ (0,
|
|
3875
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
|
|
3890
3876
|
Typo,
|
|
3891
3877
|
{
|
|
3892
3878
|
as: "span",
|
|
@@ -3902,11 +3888,11 @@ function AttemptCell({ row }) {
|
|
|
3902
3888
|
);
|
|
3903
3889
|
}
|
|
3904
3890
|
function DateCell({ row }) {
|
|
3905
|
-
return /* @__PURE__ */ (0,
|
|
3891
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Typo, { as: "span", mono: true, style: { color: "var(--gray-9)" }, variant: "body", children: formatDateOnly(row.original.createdAt) });
|
|
3906
3892
|
}
|
|
3907
3893
|
function ScoreCell({ row }) {
|
|
3908
3894
|
var _a;
|
|
3909
|
-
return /* @__PURE__ */ (0,
|
|
3895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
3910
3896
|
Typo,
|
|
3911
3897
|
{
|
|
3912
3898
|
as: "span",
|
|
@@ -3920,9 +3906,9 @@ function ScoreCell({ row }) {
|
|
|
3920
3906
|
function DeltaCell({ row }) {
|
|
3921
3907
|
const { delta } = row.original;
|
|
3922
3908
|
if (delta === null) {
|
|
3923
|
-
return /* @__PURE__ */ (0,
|
|
3909
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Typo, { as: "span", mono: true, style: { color: "var(--gray-9)" }, variant: "body", children: "\u2014" });
|
|
3924
3910
|
}
|
|
3925
|
-
return /* @__PURE__ */ (0,
|
|
3911
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Typo, { as: "span", mono: true, style: { color: "var(--gray-9)" }, variant: "body", children: delta > 0 ? `+${delta}` : `${delta}` });
|
|
3926
3912
|
}
|
|
3927
3913
|
function ScoreTrendSection({
|
|
3928
3914
|
history
|
|
@@ -4032,13 +4018,13 @@ function ScoreTrendSection({
|
|
|
4032
4018
|
})
|
|
4033
4019
|
];
|
|
4034
4020
|
}, []);
|
|
4035
|
-
return /* @__PURE__ */ (0,
|
|
4021
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
4036
4022
|
Section4,
|
|
4037
4023
|
{
|
|
4038
|
-
desc: `\
|
|
4024
|
+
desc: `\uB3D9\uC77C \uB864\uD50C\uB808\uC789 \uCD5C\uADFC ${ordered.length}\uD68C\uCC28 \uCD1D\uC810 \uBCC0\uD654`,
|
|
4039
4025
|
title: "\uCD1D\uC810 \uCD94\uC774",
|
|
4040
|
-
children: /* @__PURE__ */ (0,
|
|
4041
|
-
/* @__PURE__ */ (0,
|
|
4026
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_themes23.Flex, { direction: "column", gap: "4", children: [
|
|
4027
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
|
|
4042
4028
|
"div",
|
|
4043
4029
|
{
|
|
4044
4030
|
"aria-label": "\uCD1D\uC810 \uCD94\uC774 \uB77C\uC778 \uCC28\uD2B8",
|
|
@@ -4046,11 +4032,11 @@ function ScoreTrendSection({
|
|
|
4046
4032
|
style: { position: "relative", width: "100%", height: 200 },
|
|
4047
4033
|
children: [
|
|
4048
4034
|
probe,
|
|
4049
|
-
/* @__PURE__ */ (0,
|
|
4035
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Chart, { option })
|
|
4050
4036
|
]
|
|
4051
4037
|
}
|
|
4052
4038
|
),
|
|
4053
|
-
/* @__PURE__ */ (0,
|
|
4039
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_themes7.Box, { className: "rp-expand-table", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
4054
4040
|
ExpandTable,
|
|
4055
4041
|
{
|
|
4056
4042
|
columns,
|
|
@@ -4068,33 +4054,33 @@ function ScoreTrendSection({
|
|
|
4068
4054
|
|
|
4069
4055
|
// src/app/roleplay/parts/section-nav.tsx
|
|
4070
4056
|
var import_react69 = require("react");
|
|
4071
|
-
var
|
|
4057
|
+
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
4072
4058
|
var NAV_ICONS = {
|
|
4073
|
-
"score-summary": /* @__PURE__ */ (0,
|
|
4074
|
-
/* @__PURE__ */ (0,
|
|
4075
|
-
/* @__PURE__ */ (0,
|
|
4059
|
+
"score-summary": /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
4060
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "m12 14 4-4" }),
|
|
4061
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M3.34 19a10 10 0 1 1 17.32 0" })
|
|
4076
4062
|
] }),
|
|
4077
|
-
strengths: /* @__PURE__ */ (0,
|
|
4078
|
-
improvements: /* @__PURE__ */ (0,
|
|
4079
|
-
/* @__PURE__ */ (0,
|
|
4080
|
-
/* @__PURE__ */ (0,
|
|
4081
|
-
/* @__PURE__ */ (0,
|
|
4063
|
+
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" }),
|
|
4064
|
+
improvements: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
4065
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
4066
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("circle", { cx: "12", cy: "12", r: "5" }),
|
|
4067
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("circle", { cx: "12", cy: "12", r: "1.5" })
|
|
4082
4068
|
] }),
|
|
4083
|
-
"score-trend": /* @__PURE__ */ (0,
|
|
4084
|
-
/* @__PURE__ */ (0,
|
|
4085
|
-
/* @__PURE__ */ (0,
|
|
4069
|
+
"score-trend": /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
4070
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M3 3v18h18" }),
|
|
4071
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "m19 8-5 5-4-4-4 4" })
|
|
4086
4072
|
] }),
|
|
4087
|
-
"step-summary": /* @__PURE__ */ (0,
|
|
4088
|
-
"step-detail": /* @__PURE__ */ (0,
|
|
4089
|
-
/* @__PURE__ */ (0,
|
|
4090
|
-
/* @__PURE__ */ (0,
|
|
4091
|
-
/* @__PURE__ */ (0,
|
|
4092
|
-
/* @__PURE__ */ (0,
|
|
4073
|
+
"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" }),
|
|
4074
|
+
"step-detail": /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
|
|
4075
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("line", { x1: "8", x2: "21", y1: "6", y2: "6" }),
|
|
4076
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("line", { x1: "8", x2: "21", y1: "12", y2: "12" }),
|
|
4077
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("line", { x1: "8", x2: "21", y1: "18", y2: "18" }),
|
|
4078
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)("path", { d: "M3 6h.01M3 12h.01M3 18h.01" })
|
|
4093
4079
|
] }),
|
|
4094
|
-
coaching: /* @__PURE__ */ (0,
|
|
4080
|
+
coaching: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("polygon", { points: "13 2 3 14 12 14 11 22 21 10 12 10 13 2" })
|
|
4095
4081
|
};
|
|
4096
4082
|
function NavIcon({ children }) {
|
|
4097
|
-
return /* @__PURE__ */ (0,
|
|
4083
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4098
4084
|
"svg",
|
|
4099
4085
|
{
|
|
4100
4086
|
"aria-hidden": "true",
|
|
@@ -4114,12 +4100,13 @@ function NavIcon({ children }) {
|
|
|
4114
4100
|
function StepMetricBadge({ step }) {
|
|
4115
4101
|
const scoreText = stepScoreText(step);
|
|
4116
4102
|
if (scoreText !== null) {
|
|
4117
|
-
return /* @__PURE__ */ (0,
|
|
4103
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4118
4104
|
Typo,
|
|
4119
4105
|
{
|
|
4120
4106
|
as: "span",
|
|
4107
|
+
color: "gray",
|
|
4121
4108
|
mono: true,
|
|
4122
|
-
style: { flexShrink: 0
|
|
4109
|
+
style: { flexShrink: 0 },
|
|
4123
4110
|
variant: "body",
|
|
4124
4111
|
weight: "medium",
|
|
4125
4112
|
children: scoreText
|
|
@@ -4128,7 +4115,7 @@ function StepMetricBadge({ step }) {
|
|
|
4128
4115
|
}
|
|
4129
4116
|
const gradeLabel = stepGradeLabel(step);
|
|
4130
4117
|
if (gradeLabel !== null) {
|
|
4131
|
-
return /* @__PURE__ */ (0,
|
|
4118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4132
4119
|
Typo,
|
|
4133
4120
|
{
|
|
4134
4121
|
as: "span",
|
|
@@ -4171,8 +4158,8 @@ function scrollToId(id) {
|
|
|
4171
4158
|
function SectionNav({ items, steps }) {
|
|
4172
4159
|
const activeId = useScrollSpy(items.map((i) => i.id));
|
|
4173
4160
|
const stepDetailActive = activeId === "step-summary" || activeId === "step-detail";
|
|
4174
|
-
return /* @__PURE__ */ (0,
|
|
4175
|
-
/* @__PURE__ */ (0,
|
|
4161
|
+
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: [
|
|
4162
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4176
4163
|
Typo,
|
|
4177
4164
|
{
|
|
4178
4165
|
as: "p",
|
|
@@ -4186,9 +4173,9 @@ function SectionNav({ items, steps }) {
|
|
|
4186
4173
|
children: "\uBAA9\uCC28"
|
|
4187
4174
|
}
|
|
4188
4175
|
),
|
|
4189
|
-
/* @__PURE__ */ (0,
|
|
4176
|
+
/* @__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) => {
|
|
4190
4177
|
const active = activeId === item.id;
|
|
4191
|
-
return /* @__PURE__ */ (0,
|
|
4178
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
4192
4179
|
"button",
|
|
4193
4180
|
{
|
|
4194
4181
|
"aria-current": active ? "true" : void 0,
|
|
@@ -4202,9 +4189,9 @@ function SectionNav({ items, steps }) {
|
|
|
4202
4189
|
} : void 0,
|
|
4203
4190
|
type: "button",
|
|
4204
4191
|
children: [
|
|
4205
|
-
/* @__PURE__ */ (0,
|
|
4206
|
-
NAV_ICONS[item.id] ? /* @__PURE__ */ (0,
|
|
4207
|
-
/* @__PURE__ */ (0,
|
|
4192
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_themes23.Flex, { align: "center", gap: "2", style: { minWidth: 0 }, children: [
|
|
4193
|
+
NAV_ICONS[item.id] ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(NavIcon, { children: NAV_ICONS[item.id] }) : null,
|
|
4194
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4208
4195
|
Typo,
|
|
4209
4196
|
{
|
|
4210
4197
|
as: "span",
|
|
@@ -4215,8 +4202,8 @@ function SectionNav({ items, steps }) {
|
|
|
4215
4202
|
}
|
|
4216
4203
|
)
|
|
4217
4204
|
] }),
|
|
4218
|
-
typeof item.score === "number" ? /* @__PURE__ */ (0,
|
|
4219
|
-
/* @__PURE__ */ (0,
|
|
4205
|
+
typeof item.score === "number" ? /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(Typo, { as: "span", mono: true, style: { flexShrink: 0 }, variant: "body", children: [
|
|
4206
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4220
4207
|
Typo,
|
|
4221
4208
|
{
|
|
4222
4209
|
as: "span",
|
|
@@ -4228,7 +4215,7 @@ function SectionNav({ items, steps }) {
|
|
|
4228
4215
|
children: item.score
|
|
4229
4216
|
}
|
|
4230
4217
|
),
|
|
4231
|
-
/* @__PURE__ */ (0,
|
|
4218
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(Typo, { as: "span", style: { color: "var(--gray-9)" }, variant: "body", children: [
|
|
4232
4219
|
"/",
|
|
4233
4220
|
item.max
|
|
4234
4221
|
] })
|
|
@@ -4237,8 +4224,8 @@ function SectionNav({ items, steps }) {
|
|
|
4237
4224
|
}
|
|
4238
4225
|
) }, item.id);
|
|
4239
4226
|
}) }) }),
|
|
4240
|
-
steps.length > 0 && /* @__PURE__ */ (0,
|
|
4241
|
-
/* @__PURE__ */ (0,
|
|
4227
|
+
steps.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_themes7.Box, { mt: "3", pt: "3", style: { borderTop: "1px solid var(--gray-4)" }, children: [
|
|
4228
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_themes7.Box, { pb: "1", px: "3", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4242
4229
|
Typo,
|
|
4243
4230
|
{
|
|
4244
4231
|
as: "span",
|
|
@@ -4250,9 +4237,9 @@ function SectionNav({ items, steps }) {
|
|
|
4250
4237
|
children: "\uB2E8\uACC4\uBCC4 \uC810\uC218"
|
|
4251
4238
|
}
|
|
4252
4239
|
) }),
|
|
4253
|
-
/* @__PURE__ */ (0,
|
|
4240
|
+
/* @__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) => {
|
|
4254
4241
|
const ratio = stepRatio(step);
|
|
4255
|
-
return /* @__PURE__ */ (0,
|
|
4242
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
4256
4243
|
"button",
|
|
4257
4244
|
{
|
|
4258
4245
|
className: "rp-jump-btn",
|
|
@@ -4261,8 +4248,8 @@ function SectionNav({ items, steps }) {
|
|
|
4261
4248
|
},
|
|
4262
4249
|
type: "button",
|
|
4263
4250
|
children: [
|
|
4264
|
-
/* @__PURE__ */ (0,
|
|
4265
|
-
/* @__PURE__ */ (0,
|
|
4251
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", children: [
|
|
4252
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
4266
4253
|
Typo,
|
|
4267
4254
|
{
|
|
4268
4255
|
as: "span",
|
|
@@ -4270,19 +4257,19 @@ function SectionNav({ items, steps }) {
|
|
|
4270
4257
|
truncate: true,
|
|
4271
4258
|
variant: "body",
|
|
4272
4259
|
children: [
|
|
4273
|
-
/* @__PURE__ */ (0,
|
|
4260
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4274
4261
|
Typo,
|
|
4275
4262
|
{
|
|
4276
4263
|
as: "span",
|
|
4264
|
+
color: "gray",
|
|
4277
4265
|
mono: true,
|
|
4278
|
-
style: { color: "var(--gray-11)" },
|
|
4279
4266
|
variant: "body",
|
|
4280
4267
|
weight: "medium",
|
|
4281
4268
|
children: stepCode(step)
|
|
4282
4269
|
}
|
|
4283
4270
|
),
|
|
4284
4271
|
" ",
|
|
4285
|
-
/* @__PURE__ */ (0,
|
|
4272
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
4286
4273
|
Typo,
|
|
4287
4274
|
{
|
|
4288
4275
|
as: "span",
|
|
@@ -4294,9 +4281,9 @@ function SectionNav({ items, steps }) {
|
|
|
4294
4281
|
]
|
|
4295
4282
|
}
|
|
4296
4283
|
),
|
|
4297
|
-
/* @__PURE__ */ (0,
|
|
4284
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(StepMetricBadge, { step })
|
|
4298
4285
|
] }),
|
|
4299
|
-
ratio !== null ? /* @__PURE__ */ (0,
|
|
4286
|
+
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
|
|
4300
4287
|
]
|
|
4301
4288
|
}
|
|
4302
4289
|
) }, step.key);
|
|
@@ -4306,14 +4293,14 @@ function SectionNav({ items, steps }) {
|
|
|
4306
4293
|
}
|
|
4307
4294
|
|
|
4308
4295
|
// src/app/roleplay/parts/step-detail.tsx
|
|
4309
|
-
var
|
|
4296
|
+
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
4310
4297
|
function RubricField({
|
|
4311
4298
|
label,
|
|
4312
4299
|
value
|
|
4313
4300
|
}) {
|
|
4314
|
-
return /* @__PURE__ */ (0,
|
|
4315
|
-
/* @__PURE__ */ (0,
|
|
4316
|
-
/* @__PURE__ */ (0,
|
|
4301
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes7.Box, { children: [
|
|
4302
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", variant: "body", weight: "medium", children: label }),
|
|
4303
|
+
/* @__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 }) })
|
|
4317
4304
|
] });
|
|
4318
4305
|
}
|
|
4319
4306
|
function StepDetail({
|
|
@@ -4324,14 +4311,14 @@ function StepDetail({
|
|
|
4324
4311
|
const ratio = stepRatio(step);
|
|
4325
4312
|
const scoreText = stepScoreText(step);
|
|
4326
4313
|
const gradeLabel = stepGradeLabel(step);
|
|
4327
|
-
return /* @__PURE__ */ (0,
|
|
4328
|
-
/* @__PURE__ */ (0,
|
|
4329
|
-
/* @__PURE__ */ (0,
|
|
4330
|
-
/* @__PURE__ */ (0,
|
|
4331
|
-
/* @__PURE__ */ (0,
|
|
4314
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes7.Box, { id: `step-${step.key}`, style: { scrollMarginTop }, children: [
|
|
4315
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", mb: "1", children: [
|
|
4316
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes7.Box, { style: { minWidth: 0 }, children: [
|
|
4317
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "span", color: "gray", mono: true, variant: "body", children: stepCode(step) }),
|
|
4318
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", variant: "subtitle", weight: "bold", children: step.label })
|
|
4332
4319
|
] }),
|
|
4333
|
-
/* @__PURE__ */ (0,
|
|
4334
|
-
scoreText !== null ? /* @__PURE__ */ (0,
|
|
4320
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { align: "end", direction: "column", gap: "1", style: { flexShrink: 0 }, children: [
|
|
4321
|
+
scoreText !== null ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
4335
4322
|
Typo,
|
|
4336
4323
|
{
|
|
4337
4324
|
as: "span",
|
|
@@ -4342,7 +4329,7 @@ function StepDetail({
|
|
|
4342
4329
|
children: scoreText
|
|
4343
4330
|
}
|
|
4344
4331
|
) : null,
|
|
4345
|
-
gradeLabel !== null ? /* @__PURE__ */ (0,
|
|
4332
|
+
gradeLabel !== null ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
4346
4333
|
Typo,
|
|
4347
4334
|
{
|
|
4348
4335
|
as: "span",
|
|
@@ -4362,16 +4349,16 @@ function StepDetail({
|
|
|
4362
4349
|
) : null
|
|
4363
4350
|
] })
|
|
4364
4351
|
] }),
|
|
4365
|
-
ratio !== null ? /* @__PURE__ */ (0,
|
|
4366
|
-
step.description ? /* @__PURE__ */ (0,
|
|
4367
|
-
/* @__PURE__ */ (0,
|
|
4368
|
-
step.basis || step.issue ? /* @__PURE__ */ (0,
|
|
4369
|
-
step.basis ? /* @__PURE__ */ (0,
|
|
4370
|
-
step.issue ? /* @__PURE__ */ (0,
|
|
4352
|
+
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,
|
|
4353
|
+
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,
|
|
4354
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_themes23.Flex, { direction: "column", gap: "0", children: [
|
|
4355
|
+
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: [
|
|
4356
|
+
step.basis ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RubricField, { label: "\uADFC\uAC70", value: step.basis }) : null,
|
|
4357
|
+
step.issue ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RubricField, { label: "\uC544\uC26C\uC6B4 \uC810", value: step.issue }) : null
|
|
4371
4358
|
] }) }) : null,
|
|
4372
|
-
step.improve || step.example || step.idealExample ? /* @__PURE__ */ (0,
|
|
4373
|
-
step.improve ? /* @__PURE__ */ (0,
|
|
4374
|
-
step.example ? /* @__PURE__ */ (0,
|
|
4359
|
+
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: [
|
|
4360
|
+
step.improve ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RubricField, { label: "\uAC1C\uC120\uC810", value: step.improve }) : null,
|
|
4361
|
+
step.example ? /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
4375
4362
|
import_themes7.Box,
|
|
4376
4363
|
{
|
|
4377
4364
|
p: "2",
|
|
@@ -4380,7 +4367,7 @@ function StepDetail({
|
|
|
4380
4367
|
background: "var(--accent-a2)"
|
|
4381
4368
|
},
|
|
4382
4369
|
children: [
|
|
4383
|
-
/* @__PURE__ */ (0,
|
|
4370
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
4384
4371
|
Typo,
|
|
4385
4372
|
{
|
|
4386
4373
|
as: "p",
|
|
@@ -4390,11 +4377,11 @@ function StepDetail({
|
|
|
4390
4377
|
children: "\uC608\uC2DC \uC2A4\uD06C\uB9BD\uD2B8"
|
|
4391
4378
|
}
|
|
4392
4379
|
),
|
|
4393
|
-
/* @__PURE__ */ (0,
|
|
4380
|
+
/* @__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 }) })
|
|
4394
4381
|
]
|
|
4395
4382
|
}
|
|
4396
4383
|
) : null,
|
|
4397
|
-
step.idealExample ? /* @__PURE__ */ (0,
|
|
4384
|
+
step.idealExample ? /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
4398
4385
|
import_themes7.Box,
|
|
4399
4386
|
{
|
|
4400
4387
|
p: "2",
|
|
@@ -4403,8 +4390,8 @@ function StepDetail({
|
|
|
4403
4390
|
background: "var(--gray-a2)"
|
|
4404
4391
|
},
|
|
4405
4392
|
children: [
|
|
4406
|
-
/* @__PURE__ */ (0,
|
|
4407
|
-
/* @__PURE__ */ (0,
|
|
4393
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Typo, { as: "p", color: "gray", variant: "body", weight: "medium", children: "\uBAA8\uBC94 \uC608\uC2DC" }),
|
|
4394
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
4408
4395
|
Typo,
|
|
4409
4396
|
{
|
|
4410
4397
|
as: "p",
|
|
@@ -4423,7 +4410,7 @@ function StepDetail({
|
|
|
4423
4410
|
}
|
|
4424
4411
|
|
|
4425
4412
|
// src/app/roleplay/parts/step-radar.tsx
|
|
4426
|
-
var
|
|
4413
|
+
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
4427
4414
|
function StepRadar({ steps }) {
|
|
4428
4415
|
const { colors, probe } = useTokenColors({
|
|
4429
4416
|
accent: ["--accent-9", "#5b5bd6"],
|
|
@@ -4472,7 +4459,7 @@ function StepRadar({ steps }) {
|
|
|
4472
4459
|
}
|
|
4473
4460
|
]
|
|
4474
4461
|
};
|
|
4475
|
-
return /* @__PURE__ */ (0,
|
|
4462
|
+
return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
|
|
4476
4463
|
"div",
|
|
4477
4464
|
{
|
|
4478
4465
|
"aria-label": "\uD3C9\uAC00 \uB2E8\uACC4 \uB808\uC774\uB354 \uCC28\uD2B8",
|
|
@@ -4488,23 +4475,23 @@ function StepRadar({ steps }) {
|
|
|
4488
4475
|
},
|
|
4489
4476
|
children: [
|
|
4490
4477
|
probe,
|
|
4491
|
-
/* @__PURE__ */ (0,
|
|
4478
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { style: { width: "100%", maxWidth: 300, height: 280 }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Chart, { option }) })
|
|
4492
4479
|
]
|
|
4493
4480
|
}
|
|
4494
4481
|
);
|
|
4495
4482
|
}
|
|
4496
4483
|
|
|
4497
4484
|
// src/app/roleplay/parts/step-summary.tsx
|
|
4498
|
-
var
|
|
4485
|
+
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
4499
4486
|
function Section5({
|
|
4500
4487
|
title,
|
|
4501
4488
|
desc,
|
|
4502
4489
|
children
|
|
4503
4490
|
}) {
|
|
4504
|
-
return /* @__PURE__ */ (0,
|
|
4505
|
-
/* @__PURE__ */ (0,
|
|
4506
|
-
/* @__PURE__ */ (0,
|
|
4507
|
-
desc ? /* @__PURE__ */ (0,
|
|
4491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("section", { children: [
|
|
4492
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes7.Box, { mb: "3", children: [
|
|
4493
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Typo, { as: "p", variant: "subtitle", weight: "bold", children: title }),
|
|
4494
|
+
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
|
|
4508
4495
|
] }),
|
|
4509
4496
|
children
|
|
4510
4497
|
] });
|
|
@@ -4512,14 +4499,14 @@ function Section5({
|
|
|
4512
4499
|
function StepSummary({ steps }) {
|
|
4513
4500
|
if (steps.length === 0) return null;
|
|
4514
4501
|
const radarReady = steps.every((s) => stepRatio(s) !== null);
|
|
4515
|
-
const desc =
|
|
4516
|
-
const list = /* @__PURE__ */ (0,
|
|
4502
|
+
const desc = "\uB300\uD654 \uB2E8\uACC4 \uBCC4\uB85C \uB098\uC758 \uAC15\uC57D\uC810\uC744 \uD655\uC778\uD560 \uC218 \uC788\uC5B4\uC694.";
|
|
4503
|
+
const list = /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_themes23.Flex, { direction: "column", children: steps.map((step, i) => {
|
|
4517
4504
|
const ratio = stepRatio(step);
|
|
4518
4505
|
const scoreText = stepScoreText(step);
|
|
4519
4506
|
const gradeLabel = stepGradeLabel(step);
|
|
4520
|
-
return /* @__PURE__ */ (0,
|
|
4521
|
-
i > 0 && /* @__PURE__ */ (0,
|
|
4522
|
-
/* @__PURE__ */ (0,
|
|
4507
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes7.Box, { children: [
|
|
4508
|
+
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_themes40.Separator, { size: "4" }),
|
|
4509
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
4523
4510
|
"button",
|
|
4524
4511
|
{
|
|
4525
4512
|
className: "rp-rubric-scroll-btn",
|
|
@@ -4536,9 +4523,9 @@ function StepSummary({ steps }) {
|
|
|
4536
4523
|
textAlign: "left"
|
|
4537
4524
|
},
|
|
4538
4525
|
type: "button",
|
|
4539
|
-
children: /* @__PURE__ */ (0,
|
|
4540
|
-
/* @__PURE__ */ (0,
|
|
4541
|
-
/* @__PURE__ */ (0,
|
|
4526
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes23.Flex, { direction: "column", gap: "1", children: [
|
|
4527
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", children: [
|
|
4528
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
|
|
4542
4529
|
Typo,
|
|
4543
4530
|
{
|
|
4544
4531
|
as: "span",
|
|
@@ -4547,12 +4534,12 @@ function StepSummary({ steps }) {
|
|
|
4547
4534
|
variant: "body",
|
|
4548
4535
|
weight: "medium",
|
|
4549
4536
|
children: [
|
|
4550
|
-
/* @__PURE__ */ (0,
|
|
4537
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
4551
4538
|
Typo,
|
|
4552
4539
|
{
|
|
4553
4540
|
as: "span",
|
|
4541
|
+
color: "gray",
|
|
4554
4542
|
mono: true,
|
|
4555
|
-
style: { color: "var(--gray-11)" },
|
|
4556
4543
|
variant: "body",
|
|
4557
4544
|
weight: "medium",
|
|
4558
4545
|
children: stepCode(step)
|
|
@@ -4563,9 +4550,9 @@ function StepSummary({ steps }) {
|
|
|
4563
4550
|
]
|
|
4564
4551
|
}
|
|
4565
4552
|
),
|
|
4566
|
-
/* @__PURE__ */ (0,
|
|
4567
|
-
scoreText !== null ? /* @__PURE__ */ (0,
|
|
4568
|
-
gradeLabel !== null ? /* @__PURE__ */ (0,
|
|
4553
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_themes23.Flex, { align: "center", gap: "2", style: { flexShrink: 0 }, children: [
|
|
4554
|
+
scoreText !== null ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Typo, { as: "span", mono: true, variant: "body", weight: "bold", children: scoreText }) : null,
|
|
4555
|
+
gradeLabel !== null ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
4569
4556
|
Typo,
|
|
4570
4557
|
{
|
|
4571
4558
|
as: "span",
|
|
@@ -4578,13 +4565,13 @@ function StepSummary({ steps }) {
|
|
|
4578
4565
|
) : null
|
|
4579
4566
|
] })
|
|
4580
4567
|
] }),
|
|
4581
|
-
ratio !== null ? /* @__PURE__ */ (0,
|
|
4568
|
+
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
|
|
4582
4569
|
] })
|
|
4583
4570
|
}
|
|
4584
4571
|
)
|
|
4585
4572
|
] }, step.key);
|
|
4586
4573
|
}) });
|
|
4587
|
-
return /* @__PURE__ */ (0,
|
|
4574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Section5, { desc, title: "\uD3C9\uAC00 \uB2E8\uACC4 \uC694\uC57D", children: radarReady ? /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
|
|
4588
4575
|
import_themes24.Grid,
|
|
4589
4576
|
{
|
|
4590
4577
|
align: "center",
|
|
@@ -4592,14 +4579,14 @@ function StepSummary({ steps }) {
|
|
|
4592
4579
|
gap: "6",
|
|
4593
4580
|
children: [
|
|
4594
4581
|
list,
|
|
4595
|
-
/* @__PURE__ */ (0,
|
|
4582
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(StepRadar, { steps })
|
|
4596
4583
|
]
|
|
4597
4584
|
}
|
|
4598
4585
|
) : list });
|
|
4599
4586
|
}
|
|
4600
4587
|
|
|
4601
4588
|
// src/app/roleplay/parts/content.tsx
|
|
4602
|
-
var
|
|
4589
|
+
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
4603
4590
|
function Content8({
|
|
4604
4591
|
detail,
|
|
4605
4592
|
report,
|
|
@@ -4622,46 +4609,46 @@ function Content8({
|
|
|
4622
4609
|
...showStepDetail ? [{ id: "step-detail", label: "\uB2E8\uACC4\uBCC4 \uC0C1\uC138 \uBD84\uC11D" }] : [],
|
|
4623
4610
|
...skills.length > 0 ? [{ id: "coaching", label: "\uC989\uC2DC \uC801\uC6A9 \uC2A4\uD0AC" }] : []
|
|
4624
4611
|
];
|
|
4625
|
-
return /* @__PURE__ */ (0,
|
|
4612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
|
|
4626
4613
|
import_themes24.Grid,
|
|
4627
4614
|
{
|
|
4628
4615
|
align: "start",
|
|
4629
4616
|
columns: { initial: "1", md: "minmax(0, 1fr) 224px" },
|
|
4630
4617
|
gap: "7",
|
|
4631
4618
|
children: [
|
|
4632
|
-
/* @__PURE__ */ (0,
|
|
4633
|
-
report.frameworkTitle !== null || report.frameworkDescription !== null ? /* @__PURE__ */ (0,
|
|
4634
|
-
report.frameworkTitle !== null ? /* @__PURE__ */ (0,
|
|
4635
|
-
report.frameworkDescription !== null ? /* @__PURE__ */ (0,
|
|
4619
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_themes23.Flex, { direction: "column", gap: "7", children: [
|
|
4620
|
+
report.frameworkTitle !== null || report.frameworkDescription !== null ? /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_themes7.Box, { children: [
|
|
4621
|
+
report.frameworkTitle !== null ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Heading2, { size: "5", weight: "bold", children: report.frameworkTitle }) : null,
|
|
4622
|
+
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
|
|
4636
4623
|
] }) : null,
|
|
4637
|
-
/* @__PURE__ */ (0,
|
|
4638
|
-
strengths.length > 0 ? /* @__PURE__ */ (0,
|
|
4624
|
+
/* @__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 }) }),
|
|
4625
|
+
strengths.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "strengths", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
4639
4626
|
AnalysisSection,
|
|
4640
4627
|
{
|
|
4641
|
-
desc: "\uC774\uBC88 \uC138\uC158\uC5D0\uC11C \
|
|
4628
|
+
desc: "\uC774\uBC88 \uC138\uC158\uC5D0\uC11C \uAC00\uC7A5 \uB3CB\uBCF4\uC778 \uAC15\uC810\uB4E4\uC774\uC5D0\uC694.",
|
|
4642
4629
|
items: strengths,
|
|
4643
4630
|
title: "\uAC15\uC810",
|
|
4644
4631
|
tone: "good"
|
|
4645
4632
|
}
|
|
4646
4633
|
) }) : null,
|
|
4647
|
-
improvements.length > 0 ? /* @__PURE__ */ (0,
|
|
4634
|
+
improvements.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "improvements", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
4648
4635
|
AnalysisSection,
|
|
4649
4636
|
{
|
|
4650
|
-
desc: "\uB2E4\uC74C \
|
|
4637
|
+
desc: "\uB2E4\uC74C\uC5D0 \uBCF4\uC644\uD55C\uB2E4\uBA74 \uB354 \uB098\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC744 \uAC70\uC5D0\uC694.",
|
|
4651
4638
|
items: improvements,
|
|
4652
4639
|
title: "\uAC1C\uC120\uC810",
|
|
4653
4640
|
tone: "bad"
|
|
4654
4641
|
}
|
|
4655
4642
|
) }) : null,
|
|
4656
|
-
showTrend ? /* @__PURE__ */ (0,
|
|
4657
|
-
showStepSummary ? /* @__PURE__ */ (0,
|
|
4658
|
-
showStepDetail ? /* @__PURE__ */ (0,
|
|
4643
|
+
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,
|
|
4644
|
+
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,
|
|
4645
|
+
showStepDetail ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_themes7.Box, { id: "step-detail", style: { scrollMarginTop }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
4659
4646
|
Section2,
|
|
4660
4647
|
{
|
|
4661
|
-
desc: "\uB300\uD654 \
|
|
4648
|
+
desc: "\uC774\uBC88 \uB300\uD654\uC758 \uB354 \uB098\uC544\uC9C8 \uC218 \uC788\uB294 \uBC29\uD5A5\uC744 \uC54C\uB824\uB4DC\uB9B4\uAC8C\uC694.",
|
|
4662
4649
|
title: "\uB2E8\uACC4\uBCC4 \uC0C1\uC138 \uBD84\uC11D",
|
|
4663
|
-
children: /* @__PURE__ */ (0,
|
|
4664
|
-
i > 0 ? /* @__PURE__ */ (0,
|
|
4650
|
+
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: [
|
|
4651
|
+
i > 0 ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
4665
4652
|
import_themes40.Separator,
|
|
4666
4653
|
{
|
|
4667
4654
|
mb: "6",
|
|
@@ -4669,13 +4656,13 @@ function Content8({
|
|
|
4669
4656
|
style: { marginTop: "calc(var(--space-9) * 1.6)" }
|
|
4670
4657
|
}
|
|
4671
4658
|
) : null,
|
|
4672
|
-
/* @__PURE__ */ (0,
|
|
4659
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(StepDetail, { scrollMarginTop, step })
|
|
4673
4660
|
] }, step.key)) })
|
|
4674
4661
|
}
|
|
4675
4662
|
) }) : null,
|
|
4676
|
-
skills.length > 0 ? /* @__PURE__ */ (0,
|
|
4663
|
+
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
|
|
4677
4664
|
] }),
|
|
4678
|
-
/* @__PURE__ */ (0,
|
|
4665
|
+
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(SectionNav, { items: navItems, steps: showStepDetail ? steps : [] })
|
|
4679
4666
|
]
|
|
4680
4667
|
}
|
|
4681
4668
|
);
|