261023_02_ENH: Data Import 파생변수 미저장·재계산 안내문 추가
This commit is contained in:
@@ -142,6 +142,7 @@ function Workspace({ project }: { project: ProjectRef }) {
|
||||
id="import_data"
|
||||
title="Data Import"
|
||||
info="Data를 교체 할수 있습니다."
|
||||
notice="※ 파생변수 데이터는 저장되지 않으며, Data Import 직후 파생변수 값이 재계산됩니다."
|
||||
formTitle="Export Header"
|
||||
onForm={() => save({ kind: "form/data", project, name: { prefix: EXPORT_PREFIX.header, title } })}
|
||||
confirmText={title + " 프로젝트의 모든 완료 데이터를 삭제 후 진행됩니다.\r\n진행 하시겠습니까?"}
|
||||
@@ -194,11 +195,14 @@ function Column({ icon, title, children }: { icon: string; title: string; childr
|
||||
function EximBox({
|
||||
title,
|
||||
info,
|
||||
notice,
|
||||
action,
|
||||
children,
|
||||
}: {
|
||||
title: string;
|
||||
info: string;
|
||||
/** Optional caution shown under the header row. */
|
||||
notice?: string;
|
||||
action?: ReactNode;
|
||||
children: ReactNode;
|
||||
}) {
|
||||
@@ -211,6 +215,7 @@ function EximBox({
|
||||
</div>
|
||||
{action}
|
||||
</div>
|
||||
{notice ? <p className="px-4 pt-3 text-sm text-kart-text">{notice}</p> : null}
|
||||
<div className="flex items-center justify-between gap-5 px-4 py-3.5">{children}</div>
|
||||
</div>
|
||||
);
|
||||
@@ -247,6 +252,7 @@ function ImportBox({
|
||||
id,
|
||||
title,
|
||||
info,
|
||||
notice,
|
||||
formTitle,
|
||||
onForm,
|
||||
confirmText,
|
||||
@@ -257,6 +263,7 @@ function ImportBox({
|
||||
id: string;
|
||||
title: string;
|
||||
info: string;
|
||||
notice?: string;
|
||||
formTitle: string;
|
||||
onForm: () => void;
|
||||
confirmText: string;
|
||||
@@ -281,6 +288,7 @@ function ImportBox({
|
||||
<EximBox
|
||||
title={title}
|
||||
info={info}
|
||||
notice={notice}
|
||||
action={
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user