diff --git a/src/app/(pages)/(main)/list/contact/page.tsx b/src/app/(pages)/(main)/list/contact/page.tsx index 7d60b53..7187f95 100644 --- a/src/app/(pages)/(main)/list/contact/page.tsx +++ b/src/app/(pages)/(main)/list/contact/page.tsx @@ -244,6 +244,8 @@ const ListContactPageContent = () => { useFF={projectInfoQuery.data?.ff ?? false} useContactSenario={projectInfoQuery.data?.useContactSenario ?? false} contactSenario={projectInfoQuery.data?.contactSenario} + listHeaders={listHeaders} + detail={listDetailQuery.data} /> diff --git a/src/components/dialog/ListUploadDialog.tsx b/src/components/dialog/ListUploadDialog.tsx index 5466f00..eec4094 100644 --- a/src/components/dialog/ListUploadDialog.tsx +++ b/src/components/dialog/ListUploadDialog.tsx @@ -406,10 +406,15 @@ const ListUploadDialog = ({ {item.listCount.toLocaleString()} {item.uploadAtLabel} - + { + item.schedulingDelDt ? +

보관 기간 만료

+ : + + } ))} diff --git a/src/components/list-contact/ListContactEventPanel.tsx b/src/components/list-contact/ListContactEventPanel.tsx index bd0cd0b..3d18bb3 100644 --- a/src/components/list-contact/ListContactEventPanel.tsx +++ b/src/components/list-contact/ListContactEventPanel.tsx @@ -20,6 +20,23 @@ import { cn } from '@/lib/utils' import { getNearestFutureDateTime } from '@/lib/datetime' import { useCtiLastCallHistId } from '@/hooks/useCtiLastCallHistId' import { getCurrentPositionMeta } from '@kri/common/browser' +import type { listHeader, ListSearchWithFullResult } from '@/types/list' +import { buildListContactVariableValues } from '@/components/list-contact/listContactVariables' +import { substituteVariables } from '@/lib/surveyUrl' +import { sanitizeHtml } from '@/components/kri-editor/utils/sanitizeHtml' + +const escapeHtml = (value: string) => + value.replace( + /[&<>"']/g, + (character) => + ({ + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''', + })[character] ?? character, + ) const RefreshIconButton = ({ onRefresh, isFetching }: { onRefresh: () => void; isFetching: boolean }) => (