initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
export type QuestionAnswer = {
|
||||
id: string
|
||||
question: string
|
||||
answer: string
|
||||
}
|
||||
export type FaqType = {
|
||||
id: string
|
||||
title: string
|
||||
subtitle: string
|
||||
icon: string
|
||||
questionsAnswers: QuestionAnswer[]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
export type PricingPlanType = {
|
||||
title: string
|
||||
imgSrc: string
|
||||
subtitle: string
|
||||
imgWidth?: number
|
||||
imgHeight?: number
|
||||
currentPlan: boolean
|
||||
popularPlan: boolean
|
||||
monthlyPrice: number
|
||||
planBenefits: string[]
|
||||
yearlyPlan: {
|
||||
monthly: number
|
||||
annually: number
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
// Type Imports
|
||||
import type { ThemeColor } from '@core/types'
|
||||
|
||||
export type ProjectTableRowType = {
|
||||
id: number
|
||||
title: string
|
||||
subtitle: string
|
||||
leader: string
|
||||
avatar?: string
|
||||
avatarGroup: string[]
|
||||
status: number
|
||||
actions?: string
|
||||
}
|
||||
export type ProfileHeaderType = {
|
||||
fullName: string
|
||||
coverImg: string
|
||||
location: string
|
||||
profileImg: string
|
||||
joiningDate: string
|
||||
designation: string
|
||||
designationIcon?: string
|
||||
}
|
||||
export type ProfileAvatarGroupType = {
|
||||
name: string
|
||||
avatar: string
|
||||
}
|
||||
export type ProfileChipType = {
|
||||
title: string
|
||||
color: ThemeColor
|
||||
}
|
||||
export type ProfileCommonType = {
|
||||
icon: string
|
||||
value: string
|
||||
property: string
|
||||
}
|
||||
export type ProfileTeamsType = {
|
||||
value: string
|
||||
property: string
|
||||
}
|
||||
export type ProfileConnectionsType = {
|
||||
name: string
|
||||
avatar: string
|
||||
isFriend: boolean
|
||||
connections: string
|
||||
}
|
||||
export type ProfileTeamsTechType = {
|
||||
title: string
|
||||
avatar: string
|
||||
members: number
|
||||
chipText: string
|
||||
ChipColor: ThemeColor
|
||||
}
|
||||
export type TeamsTabType = {
|
||||
title: string
|
||||
avatar: string
|
||||
description: string
|
||||
extraMembers?: number
|
||||
chips: ProfileChipType[]
|
||||
avatarGroup: ProfileAvatarGroupType[]
|
||||
}
|
||||
export type ProjectsTabType = {
|
||||
hours: string
|
||||
tasks: string
|
||||
title: string
|
||||
budget: string
|
||||
client: string
|
||||
avatar: string
|
||||
members: string
|
||||
daysLeft: number
|
||||
comments: number
|
||||
deadline: string
|
||||
startDate: string
|
||||
totalTask: number
|
||||
budgetSpent: string
|
||||
description: string
|
||||
chipColor: ThemeColor
|
||||
completedTask: number
|
||||
avatarColor?: ThemeColor
|
||||
avatarGroup: ProfileAvatarGroupType[]
|
||||
}
|
||||
export type ConnectionsTabType = {
|
||||
name: string
|
||||
tasks: string
|
||||
avatar: string
|
||||
projects: string
|
||||
connections: string
|
||||
designation: string
|
||||
isConnected: boolean
|
||||
chips: ProfileChipType[]
|
||||
}
|
||||
export type ProfileTabType = {
|
||||
teams: ProfileTeamsType[]
|
||||
about: ProfileCommonType[]
|
||||
contacts: ProfileCommonType[]
|
||||
overview: ProfileCommonType[]
|
||||
teamsTech: ProfileTeamsTechType[]
|
||||
connections: ProfileConnectionsType[]
|
||||
projectTable: ProjectTableRowType[]
|
||||
}
|
||||
export type UserProfileActiveTab = ProfileTabType | TeamsTabType[] | ProjectsTabType[] | ConnectionsTabType[]
|
||||
|
||||
export type DataType = {
|
||||
profile: ProfileTabType
|
||||
teams: TeamsTabType[]
|
||||
projects: ProjectsTabType[]
|
||||
connections: ConnectionsTabType[]
|
||||
}
|
||||
export type Data = {
|
||||
users: DataType
|
||||
profileHeader: ProfileHeaderType
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
// MUI Imports
|
||||
import type { ChipProps } from '@mui/material/Chip'
|
||||
|
||||
// Third-party Imports
|
||||
import type { ApexOptions } from 'apexcharts'
|
||||
|
||||
// Type Imports
|
||||
import type { ThemeColor } from '@core/types'
|
||||
import type { CustomAvatarProps } from '@core/components/mui/Avatar'
|
||||
|
||||
export type CardStatsHorizontalWithAvatarProps = {
|
||||
stats: string
|
||||
title: string
|
||||
avatarIcon: string
|
||||
avatarColor?: ThemeColor
|
||||
avatarVariant?: CustomAvatarProps['variant']
|
||||
avatarSkin?: CustomAvatarProps['skin']
|
||||
avatarSize?: number
|
||||
}
|
||||
|
||||
export type CardStatsHorizontalWithBorderProps = {
|
||||
title: string
|
||||
stats: number
|
||||
trendNumber: number
|
||||
avatarIcon: string
|
||||
color?: ThemeColor
|
||||
}
|
||||
|
||||
export type CardStatsCustomerStatsProps = {
|
||||
title: string
|
||||
avatarIcon: string
|
||||
color?: ThemeColor
|
||||
description: string
|
||||
} & (
|
||||
| {
|
||||
stats?: string
|
||||
content?: string
|
||||
chipLabel?: never
|
||||
}
|
||||
| {
|
||||
chipLabel?: string
|
||||
stats?: never
|
||||
content?: never
|
||||
}
|
||||
)
|
||||
|
||||
export type CardStatsSquareProps = {
|
||||
avatarIcon: string
|
||||
avatarColor?: ThemeColor
|
||||
avatarSize?: number
|
||||
avatarVariant?: CustomAvatarProps['variant']
|
||||
avatarSkin?: CustomAvatarProps['skin']
|
||||
stats: string
|
||||
statsTitle: string
|
||||
}
|
||||
|
||||
export type CardStatsHorizontalProps = {
|
||||
title: string
|
||||
stats: string
|
||||
avatarIcon: string
|
||||
avatarColor?: ThemeColor
|
||||
avatarSize?: number
|
||||
avatarSkin?: CustomAvatarProps['skin']
|
||||
}
|
||||
|
||||
export type CardStatsVerticalProps = {
|
||||
title: string
|
||||
subtitle: string
|
||||
stats: string
|
||||
avatarIcon: string
|
||||
avatarSize?: number
|
||||
avatarSkin?: CustomAvatarProps['skin']
|
||||
avatarColor?: ThemeColor
|
||||
chipText: string
|
||||
chipColor?: ThemeColor
|
||||
chipVariant?: ChipProps['variant']
|
||||
}
|
||||
|
||||
export type CardStatsWithAreaChartProps = {
|
||||
stats: string
|
||||
title: string
|
||||
chartColor?: ThemeColor
|
||||
chartSeries: ApexOptions['series']
|
||||
avatarIcon: string
|
||||
avatarSize?: number
|
||||
avatarColor?: ThemeColor
|
||||
avatarSkin?: CustomAvatarProps['skin']
|
||||
}
|
||||
|
||||
export type CardStatsType = {
|
||||
statsHorizontalWithAvatar: CardStatsHorizontalWithAvatarProps[]
|
||||
statsHorizontalWithBorder: CardStatsHorizontalWithBorderProps[]
|
||||
customerStats: CardStatsCustomerStatsProps[]
|
||||
statsSquare: CardStatsSquareProps[]
|
||||
statsHorizontal: CardStatsHorizontalProps[]
|
||||
statsVertical: CardStatsVerticalProps[]
|
||||
statsWithAreaChart: CardStatsWithAreaChartProps[]
|
||||
}
|
||||
Reference in New Issue
Block a user