Compare commits
3
Commits
26d8410649
...
c69c1aa855
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c69c1aa855 | ||
|
|
9f0e03c151 | ||
|
|
471a431af5 |
@@ -27,7 +27,7 @@ export interface VrfcReportSelect {
|
|||||||
statsNm: string;
|
statsNm: string;
|
||||||
rsnExpln: string;
|
rsnExpln: string;
|
||||||
admdstNm: string;
|
admdstNm: string;
|
||||||
nowCN: string;
|
nowCn: string;
|
||||||
cmprCn: string | null;
|
cmprCn: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,14 +19,14 @@ interface StatsSubmissionPanelProps {
|
|||||||
const STATUS_LEVEL_TEXT_COLOR = {
|
const STATUS_LEVEL_TEXT_COLOR = {
|
||||||
GREAT: "text-blue-500",
|
GREAT: "text-blue-500",
|
||||||
GOOD: "text-green-500",
|
GOOD: "text-green-500",
|
||||||
WARNING: "text-yellow-500",
|
NORMAL: "text-yellow-500",
|
||||||
BAD: "text-red-500",
|
BAD: "text-red-500",
|
||||||
};
|
};
|
||||||
|
|
||||||
const STATUS_LEVEL_EMOJI = {
|
const STATUS_LEVEL_EMOJI = {
|
||||||
GREAT: <Laugh size={160} className={STATUS_LEVEL_TEXT_COLOR.GREAT} />,
|
GREAT: <Laugh size={160} className={STATUS_LEVEL_TEXT_COLOR.GREAT} />,
|
||||||
GOOD: <Smile size={160} className={STATUS_LEVEL_TEXT_COLOR.GOOD} />,
|
GOOD: <Smile size={160} className={STATUS_LEVEL_TEXT_COLOR.GOOD} />,
|
||||||
WARNING: <Meh size={160} className={STATUS_LEVEL_TEXT_COLOR.WARNING} />,
|
NORMAL: <Meh size={160} className={STATUS_LEVEL_TEXT_COLOR.NORMAL} />,
|
||||||
BAD: <Frown size={160} className={STATUS_LEVEL_TEXT_COLOR.BAD} />,
|
BAD: <Frown size={160} className={STATUS_LEVEL_TEXT_COLOR.BAD} />,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -113,8 +113,8 @@ export function VrfcReportPanel({ params }: VrfcReportPanelProps) {
|
|||||||
<div className="flex justify-between text-lg text-muted-foreground">
|
<div className="flex justify-between text-lg text-muted-foreground">
|
||||||
<span>{item.admdstNm}</span>
|
<span>{item.admdstNm}</span>
|
||||||
<span>
|
<span>
|
||||||
{/* TBD: 증감 표시 방법 (nowCN - cmprCn 계산?) */}
|
{/* TBD: 증감 표시 방법 (nowCn - cmprCn 계산?) */}
|
||||||
현재: {item.nowCN ?? "-"}{" "}
|
현재:{" "}{item.nowCn ?? "-"}
|
||||||
/ 비교:{" "}
|
/ 비교:{" "}
|
||||||
{item.cmprCn ?? "-"}
|
{item.cmprCn ?? "-"}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -73,7 +73,10 @@ function Calendar({
|
|||||||
"has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border",
|
"has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border",
|
||||||
defaultClassNames.dropdown_root,
|
defaultClassNames.dropdown_root,
|
||||||
),
|
),
|
||||||
dropdown: cn("absolute inset-0 opacity-0", defaultClassNames.dropdown),
|
dropdown: cn(
|
||||||
|
"absolute inset-0 opacity-0 [&_option]:bg-background [&_option]:text-foreground",
|
||||||
|
defaultClassNames.dropdown,
|
||||||
|
),
|
||||||
caption_label: cn(
|
caption_label: cn(
|
||||||
"select-none font-medium",
|
"select-none font-medium",
|
||||||
captionLayout === "label"
|
captionLayout === "label"
|
||||||
|
|||||||
Reference in New Issue
Block a user