|
| 1 | +import type { DetailedHTMLProps, HTMLAttributes } from "react"; |
| 2 | +import type { ActionButtons, ActionButtonsProps } from "./action-buttons"; |
| 3 | +import type { |
| 4 | + ActivityTimeline, |
| 5 | + ActivityTimelineProps, |
| 6 | +} from "./activity-timeline"; |
| 7 | +import type { AIAgents, AIAgentsProps } from "./ai-agents"; |
| 8 | +import type { AIEmployees, AIEmployeesProps } from "./ai-employees"; |
| 9 | +import type { BlankState, BlankStateProps } from "./blank-state"; |
| 10 | +import type { ChatBox, ChatBoxProps } from "./chat-box"; |
| 11 | +import type { ChatInput, ChatInputProps } from "./chat-input"; |
| 12 | +import type { ChatStream, ChatStreamProps } from "./chat-stream"; |
| 13 | +import type { CruiseCanvas, CruiseCanvasProps } from "./cruise-canvas"; |
| 14 | +import type { DropdownSelect, DropdownSelectProps } from "./dropdown-select"; |
| 15 | +import type { ElevoCard, ElevoCardProps } from "./elevo-card"; |
| 16 | +import type { ElevoLogo } from "./elevo-logo"; |
| 17 | +import type { |
| 18 | + ActionClickDetail, |
| 19 | + ElevoSidebar, |
| 20 | + ElevoSidebarProps, |
| 21 | + ProjectActionClickDetail, |
| 22 | +} from "./elevo-sidebar"; |
| 23 | +import type { FlowTabs, FlowTabsProps } from "./flow-tabs"; |
| 24 | +import type { GanttChart, GanttChartProps } from "./gantt-chart"; |
| 25 | +import type { GoalCardList, GoalCardListProps } from "./goal-card-list"; |
| 26 | +import type { HomeContainer } from "./home-container"; |
| 27 | +import type { IconButton, IconButtonProps } from "./icon-button"; |
| 28 | +import type { McpTools, McpToolsProps } from "./mcp-tools"; |
| 29 | +import type { |
| 30 | + NoticeDropdown, |
| 31 | + NoticeDropdownProps, |
| 32 | + NoticeItem, |
| 33 | +} from "./notice-dropdown"; |
| 34 | +import type { NoticeList, NoticeListProps } from "./notice-list"; |
| 35 | +import type { PageContainer, PageContainerProps } from "./page-container"; |
| 36 | +import type { |
| 37 | + PreviewContainer, |
| 38 | + PreviewContainerProps, |
| 39 | +} from "./preview-container"; |
| 40 | +import type { |
| 41 | + ProjectConversations, |
| 42 | + ProjectConversationsProps, |
| 43 | +} from "./project-conversations"; |
| 44 | +import type { |
| 45 | + ProjectKnowledges, |
| 46 | + ProjectKnowledgesProps, |
| 47 | +} from "./project-knowledges"; |
| 48 | +import type { RunningFlow, RunningFlowProps } from "./running-flow"; |
| 49 | +import type { ShowCase, ShowCaseProps } from "./show-case"; |
| 50 | +import type { ShowCases, ShowCasesProps } from "./show-cases"; |
| 51 | +import type { StageFlow, StageFlowProps } from "./stage-flow"; |
| 52 | +import type { |
| 53 | + StatWithMiniChart, |
| 54 | + StatWithMiniChartProps, |
| 55 | +} from "./stat-with-mini-chart"; |
| 56 | +import type { StickyContainer, StickyContainerProps } from "./sticky-container"; |
| 57 | +import type { TabList, TabListProps } from "./tab-list"; |
| 58 | + |
| 59 | +declare global { |
| 60 | + // eslint-disable-next-line @typescript-eslint/no-namespace |
| 61 | + namespace JSX { |
| 62 | + interface IntrinsicElements { |
| 63 | + "ai-portal--action-buttons": DetailedHTMLProps< |
| 64 | + HTMLAttributes<ActionButtons>, |
| 65 | + ActionButtons |
| 66 | + > & |
| 67 | + ActionButtonsProps; |
| 68 | + |
| 69 | + "ai-portal--activity-timeline": DetailedHTMLProps< |
| 70 | + HTMLAttributes<ActivityTimeline>, |
| 71 | + ActivityTimeline |
| 72 | + > & |
| 73 | + ActivityTimelineProps; |
| 74 | + |
| 75 | + "ai-portal--ai-agents": DetailedHTMLProps< |
| 76 | + HTMLAttributes<AIAgents>, |
| 77 | + AIAgents |
| 78 | + > & |
| 79 | + AIAgentsProps; |
| 80 | + |
| 81 | + "ai-portal--ai-employees": DetailedHTMLProps< |
| 82 | + HTMLAttributes<AIEmployees>, |
| 83 | + AIEmployees |
| 84 | + > & |
| 85 | + AIEmployeesProps; |
| 86 | + |
| 87 | + "ai-portal--blank-state": DetailedHTMLProps< |
| 88 | + HTMLAttributes<BlankState>, |
| 89 | + BlankState |
| 90 | + > & |
| 91 | + BlankStateProps; |
| 92 | + |
| 93 | + "ai-portal--chat-box": DetailedHTMLProps< |
| 94 | + HTMLAttributes<ChatBox>, |
| 95 | + ChatBox |
| 96 | + > & |
| 97 | + ChatBoxProps; |
| 98 | + |
| 99 | + "ai-portal--chat-input": DetailedHTMLProps< |
| 100 | + HTMLAttributes<ChatInput>, |
| 101 | + ChatInput |
| 102 | + > & |
| 103 | + ChatInputProps; |
| 104 | + |
| 105 | + "ai-portal--chat-stream": DetailedHTMLProps< |
| 106 | + HTMLAttributes<ChatStream>, |
| 107 | + ChatStream |
| 108 | + > & |
| 109 | + ChatStreamProps; |
| 110 | + |
| 111 | + "ai-portal--cruise-canvas": DetailedHTMLProps< |
| 112 | + HTMLAttributes<CruiseCanvas>, |
| 113 | + CruiseCanvas |
| 114 | + > & |
| 115 | + CruiseCanvasProps; |
| 116 | + |
| 117 | + "ai-portal--dropdown-select": DetailedHTMLProps< |
| 118 | + HTMLAttributes<DropdownSelect>, |
| 119 | + DropdownSelect |
| 120 | + > & |
| 121 | + DropdownSelectProps; |
| 122 | + |
| 123 | + "ai-portal--elevo-card": DetailedHTMLProps< |
| 124 | + HTMLAttributes<ElevoCard>, |
| 125 | + ElevoCard |
| 126 | + > & |
| 127 | + ElevoCardProps; |
| 128 | + |
| 129 | + "ai-portal--elevo-logo": DetailedHTMLProps< |
| 130 | + HTMLAttributes<ElevoLogo>, |
| 131 | + ElevoLogo |
| 132 | + >; |
| 133 | + |
| 134 | + "ai-portal--elevo-sidebar": DetailedHTMLProps< |
| 135 | + HTMLAttributes<ElevoSidebar>, |
| 136 | + ElevoSidebar |
| 137 | + > & |
| 138 | + ElevoSidebarProps & { |
| 139 | + onActionClick?: (event: CustomEvent<ActionClickDetail>) => void; |
| 140 | + onProjectActionClick?: ( |
| 141 | + event: CustomEvent<ProjectActionClickDetail> |
| 142 | + ) => void; |
| 143 | + }; |
| 144 | + |
| 145 | + "ai-portal--flow-tabs": DetailedHTMLProps< |
| 146 | + HTMLAttributes<FlowTabs>, |
| 147 | + FlowTabs |
| 148 | + > & |
| 149 | + FlowTabsProps; |
| 150 | + |
| 151 | + "ai-portal--gantt-chart": DetailedHTMLProps< |
| 152 | + HTMLAttributes<GanttChart>, |
| 153 | + GanttChart |
| 154 | + > & |
| 155 | + GanttChartProps; |
| 156 | + |
| 157 | + "ai-portal--goal-card-list": DetailedHTMLProps< |
| 158 | + HTMLAttributes<GoalCardList>, |
| 159 | + GoalCardList |
| 160 | + > & |
| 161 | + GoalCardListProps; |
| 162 | + |
| 163 | + "ai-portal--home-container": DetailedHTMLProps< |
| 164 | + HTMLAttributes<HomeContainer>, |
| 165 | + HomeContainer |
| 166 | + >; |
| 167 | + |
| 168 | + "ai-portal--icon-button": DetailedHTMLProps< |
| 169 | + HTMLAttributes<IconButton>, |
| 170 | + IconButton |
| 171 | + > & |
| 172 | + IconButtonProps; |
| 173 | + |
| 174 | + "ai-portal--mcp-tools": DetailedHTMLProps< |
| 175 | + HTMLAttributes<McpTools>, |
| 176 | + McpTools |
| 177 | + > & |
| 178 | + McpToolsProps; |
| 179 | + |
| 180 | + "ai-portal--notice-dropdown": DetailedHTMLProps< |
| 181 | + HTMLAttributes<NoticeDropdown>, |
| 182 | + NoticeDropdown |
| 183 | + > & |
| 184 | + NoticeDropdownProps & { |
| 185 | + onMarkAllRead?: (event: CustomEvent<void>) => void; |
| 186 | + onNoticeClick?: (event: CustomEvent<NoticeItem>) => void; |
| 187 | + }; |
| 188 | + |
| 189 | + "ai-portal--notice-list": DetailedHTMLProps< |
| 190 | + HTMLAttributes<NoticeList>, |
| 191 | + NoticeList |
| 192 | + > & |
| 193 | + NoticeListProps; |
| 194 | + |
| 195 | + "ai-portal--page-container": DetailedHTMLProps< |
| 196 | + HTMLAttributes<PageContainer>, |
| 197 | + PageContainer |
| 198 | + > & |
| 199 | + PageContainerProps; |
| 200 | + |
| 201 | + "ai-portal--preview-container": DetailedHTMLProps< |
| 202 | + HTMLAttributes<PreviewContainer>, |
| 203 | + PreviewContainer |
| 204 | + > & |
| 205 | + PreviewContainerProps; |
| 206 | + |
| 207 | + "ai-portal--project-conversations": DetailedHTMLProps< |
| 208 | + HTMLAttributes<ProjectConversations>, |
| 209 | + ProjectConversations |
| 210 | + > & |
| 211 | + ProjectConversationsProps; |
| 212 | + |
| 213 | + "ai-portal--project-knowledges": DetailedHTMLProps< |
| 214 | + HTMLAttributes<ProjectKnowledges>, |
| 215 | + ProjectKnowledges |
| 216 | + > & |
| 217 | + ProjectKnowledgesProps; |
| 218 | + |
| 219 | + "ai-portal--running-flow": DetailedHTMLProps< |
| 220 | + HTMLAttributes<RunningFlow>, |
| 221 | + RunningFlow |
| 222 | + > & |
| 223 | + RunningFlowProps; |
| 224 | + |
| 225 | + "ai-portal--show-case": DetailedHTMLProps< |
| 226 | + HTMLAttributes<ShowCase>, |
| 227 | + ShowCase |
| 228 | + > & |
| 229 | + ShowCaseProps; |
| 230 | + |
| 231 | + "ai-portal--show-cases": DetailedHTMLProps< |
| 232 | + HTMLAttributes<ShowCases>, |
| 233 | + ShowCases |
| 234 | + > & |
| 235 | + ShowCasesProps; |
| 236 | + |
| 237 | + "ai-portal--stage-flow": DetailedHTMLProps< |
| 238 | + HTMLAttributes<StageFlow>, |
| 239 | + StageFlow |
| 240 | + > & |
| 241 | + StageFlowProps; |
| 242 | + |
| 243 | + "ai-portal--stat-with-mini-chart": DetailedHTMLProps< |
| 244 | + HTMLAttributes<StatWithMiniChart>, |
| 245 | + StatWithMiniChart |
| 246 | + > & |
| 247 | + StatWithMiniChartProps; |
| 248 | + |
| 249 | + "ai-portal--sticky-container": DetailedHTMLProps< |
| 250 | + HTMLAttributes<StickyContainer>, |
| 251 | + StickyContainer |
| 252 | + > & |
| 253 | + StickyContainerProps; |
| 254 | + |
| 255 | + "ai-portal--tab-list": DetailedHTMLProps< |
| 256 | + HTMLAttributes<TabList>, |
| 257 | + TabList |
| 258 | + > & |
| 259 | + TabListProps; |
| 260 | + } |
| 261 | + } |
| 262 | +} |
0 commit comments