diff --git a/app/components/marketing/email/Email.vue b/app/components/marketing/email/Email.vue index 9410b5d..2dedc15 100644 --- a/app/components/marketing/email/Email.vue +++ b/app/components/marketing/email/Email.vue @@ -183,7 +183,7 @@ > - diff --git a/app/components/menu/MenuCust.vue b/app/components/menu/MenuCust.vue deleted file mode 100644 index 4154083..0000000 --- a/app/components/menu/MenuCust.vue +++ /dev/null @@ -1,29 +0,0 @@ - - diff --git a/app/plugins/04-components.js b/app/plugins/04-components.js index 70d2a3a..8c79c06 100644 --- a/app/plugins/04-components.js +++ b/app/plugins/04-components.js @@ -23,8 +23,6 @@ import CountWithAdd from "~/components/common/CountWithAdd.vue"; // menu import MenuAction from "~/components/menu/MenuAction.vue"; -import MenuApp from "~/components/menu/MenuApp.vue"; -import MenuCust from "~/components/menu/MenuCust.vue"; import MenuPhone from "~/components/menu/MenuPhone.vue"; import MenuParam from "~/components/menu/MenuParam.vue"; import MenuAdd from "~/components/menu/MenuAdd.vue"; @@ -107,8 +105,6 @@ const components = { MenuParam, FormatNumber, FormatDate, - MenuApp, - MenuCust, MenuAdd, MenuNote, ImageLayout, diff --git a/app/types/emailContext.ts b/app/types/emailContext.ts deleted file mode 100644 index f91022b..0000000 --- a/app/types/emailContext.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface EmailContextType { - selectedEmails: string; - selectedName: string; - selectedId: string; - setSelectedEmails: (emails: string) => void; - setSelectedName: (name: string) => void; - setSelectedId: (id: string) => void; -} diff --git a/app/types/emailForm1.ts b/app/types/emailForm1.ts deleted file mode 100644 index cef83b6..0000000 --- a/app/types/emailForm1.ts +++ /dev/null @@ -1,32 +0,0 @@ -export interface FormData { - id: number | undefined; - name: string; - template: string; - content: { - receiver: string; - subject: string; - content: string; - imageUrl: string | null; - linkUrl: string[]; - textLinkUrl: string[]; - keyword: Array; - html: string; - }; - // emails: string; - // subject: string; - // message: string; - // template: string; - // company?: string; - // phone?: string; - // imageUrl?: string | null; - // linkUrl?: string[]; - // keyWords?: string[] | { keyword: string; value: string }[]; - // textLinkUrl?: string[]; -} - -export interface EmailFormProps { - onDataChange: (data: FormData) => void; - initialData?: FormData; -} - -export type ModalType = "none" | "save-list" | "open-list" | "save-template" | "open-template"; diff --git a/app/types/emailSent.ts b/app/types/emailSent.ts deleted file mode 100644 index 617c7a4..0000000 --- a/app/types/emailSent.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface EmailSent { - id: string; - receiver: string; - subject: string; - content: string; - status: number; - create_time: string; - update_time: string; -} - -export type EmailSentStatus = "pending" | "success" | "error" | "schedule"; diff --git a/app/types/modal.ts b/app/types/modal.ts deleted file mode 100644 index 5e4fafa..0000000 --- a/app/types/modal.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface ModalProps { - active: boolean; - onClose: () => void; - height?: string | number; - width?: string | number; - children: React.ReactNode; -} diff --git a/app/types/openListGmail.ts b/app/types/openListGmail.ts deleted file mode 100644 index 7ca0ffb..0000000 --- a/app/types/openListGmail.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface openListGmailProps { - emails: string; - dataEmail: { id: string; email: string; name: string }[]; - onClose: () => void; - onEdit?: (id: string, name: string, emails: string) => void; - loading?: boolean; -} diff --git a/app/types/saveListGmail.ts b/app/types/saveListGmail.ts deleted file mode 100644 index 12fee31..0000000 --- a/app/types/saveListGmail.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface SaveListGmailProps { - emails: string; - name?: string; - id?: string; - onClose?: () => void; - onSuccess?: () => Promise; -} - -export interface DataEmail { - email: string; - name: string; -} diff --git a/app/types/saveListTemplate.ts b/app/types/saveListTemplate.ts deleted file mode 100644 index c89b80f..0000000 --- a/app/types/saveListTemplate.ts +++ /dev/null @@ -1,32 +0,0 @@ -export interface saveListTemplateProps { - name?: string; - content?: { - receiver: string; - subject: string; - content: string; - imageUrl: string | null; - linkUrl: string[] | string; - textLinkUrl: string[] | string; - keyword: Array; - html: string; - }; - editMode?: boolean; - id?: number; - onClose?: () => void; - onSuccess?: () => Promise; -} - -export interface DataTemplate { - id: number; - name: string; - content: { - receiver: string; - subject: string; - content: string; - imageUrl: string | null; - linkUrl: string[] | string; - textLinkUrl: string[] | string; - keyword: Array; - html: string; - }; -} diff --git a/app/types/template1.ts b/app/types/template1.ts deleted file mode 100644 index bbb34bb..0000000 --- a/app/types/template1.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface Template1Props { - content: { - subject?: string; - message?: string; - imageUrl?: string | null; - linkUrl?: string[]; - textLinkUrl?: string[]; - keyword: Array; - }; - previewMode?: boolean; -}