@orion-ds/blocks 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +20 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +4639 -0
- package/dist/sections/AgentFolder/AgentFolder.d.ts +5 -0
- package/dist/sections/AgentFolder/AgentFolder.d.ts.map +1 -0
- package/dist/sections/AgentFolder/AgentFolder.types.d.ts +97 -0
- package/dist/sections/AgentFolder/AgentFolder.types.d.ts.map +1 -0
- package/dist/sections/AgentFolder/index.d.ts +8 -0
- package/dist/sections/AgentFolder/index.d.ts.map +1 -0
- package/dist/sections/AppDownload/AppDownload.d.ts +8 -0
- package/dist/sections/AppDownload/AppDownload.d.ts.map +1 -0
- package/dist/sections/AppDownload/AppDownload.types.d.ts +114 -0
- package/dist/sections/AppDownload/AppDownload.types.d.ts.map +1 -0
- package/dist/sections/AppDownload/index.d.ts +3 -0
- package/dist/sections/AppDownload/index.d.ts.map +1 -0
- package/dist/sections/Blog/Blog.d.ts +8 -0
- package/dist/sections/Blog/Blog.d.ts.map +1 -0
- package/dist/sections/Blog/Blog.types.d.ts +139 -0
- package/dist/sections/Blog/Blog.types.d.ts.map +1 -0
- package/dist/sections/Blog/index.d.ts +3 -0
- package/dist/sections/Blog/index.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.types.d.ts +78 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/index.d.ts +3 -0
- package/dist/sections/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/sections/CTA/CTA.d.ts +4 -0
- package/dist/sections/CTA/CTA.d.ts.map +1 -0
- package/dist/sections/CTA/CTA.types.d.ts +74 -0
- package/dist/sections/CTA/CTA.types.d.ts.map +1 -0
- package/dist/sections/CTA/index.d.ts +6 -0
- package/dist/sections/CTA/index.d.ts.map +1 -0
- package/dist/sections/CarouselSection/CarouselSection.d.ts +4 -0
- package/dist/sections/CarouselSection/CarouselSection.d.ts.map +1 -0
- package/dist/sections/CarouselSection/CarouselSection.types.d.ts +114 -0
- package/dist/sections/CarouselSection/CarouselSection.types.d.ts.map +1 -0
- package/dist/sections/CarouselSection/index.d.ts +11 -0
- package/dist/sections/CarouselSection/index.d.ts.map +1 -0
- package/dist/sections/Chat/ChatSection.d.ts +4 -0
- package/dist/sections/Chat/ChatSection.d.ts.map +1 -0
- package/dist/sections/Chat/index.d.ts +19 -0
- package/dist/sections/Chat/index.d.ts.map +1 -0
- package/dist/sections/Comparison/Comparison.d.ts +8 -0
- package/dist/sections/Comparison/Comparison.d.ts.map +1 -0
- package/dist/sections/Comparison/Comparison.types.d.ts +120 -0
- package/dist/sections/Comparison/Comparison.types.d.ts.map +1 -0
- package/dist/sections/Comparison/index.d.ts +3 -0
- package/dist/sections/Comparison/index.d.ts.map +1 -0
- package/dist/sections/Contact/Contact.d.ts +4 -0
- package/dist/sections/Contact/Contact.d.ts.map +1 -0
- package/dist/sections/Contact/Contact.types.d.ts +133 -0
- package/dist/sections/Contact/Contact.types.d.ts.map +1 -0
- package/dist/sections/Contact/index.d.ts +6 -0
- package/dist/sections/Contact/index.d.ts.map +1 -0
- package/dist/sections/EmptyState/EmptyState.d.ts +4 -0
- package/dist/sections/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/sections/EmptyState/EmptyState.types.d.ts +65 -0
- package/dist/sections/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/sections/EmptyState/index.d.ts +3 -0
- package/dist/sections/EmptyState/index.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQ.d.ts +4 -0
- package/dist/sections/FAQ/FAQ.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQ.types.d.ts +117 -0
- package/dist/sections/FAQ/FAQ.types.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQItemCard.d.ts +7 -0
- package/dist/sections/FAQ/FAQItemCard.d.ts.map +1 -0
- package/dist/sections/FAQ/index.d.ts +7 -0
- package/dist/sections/FAQ/index.d.ts.map +1 -0
- package/dist/sections/Features/FeatureCard.d.ts +7 -0
- package/dist/sections/Features/FeatureCard.d.ts.map +1 -0
- package/dist/sections/Features/Features.d.ts +4 -0
- package/dist/sections/Features/Features.d.ts.map +1 -0
- package/dist/sections/Features/Features.types.d.ts +100 -0
- package/dist/sections/Features/Features.types.d.ts.map +1 -0
- package/dist/sections/Features/index.d.ts +7 -0
- package/dist/sections/Features/index.d.ts.map +1 -0
- package/dist/sections/Footer/Footer.d.ts +4 -0
- package/dist/sections/Footer/Footer.d.ts.map +1 -0
- package/dist/sections/Footer/Footer.types.d.ts +129 -0
- package/dist/sections/Footer/Footer.types.d.ts.map +1 -0
- package/dist/sections/Footer/index.d.ts +6 -0
- package/dist/sections/Footer/index.d.ts.map +1 -0
- package/dist/sections/Gallery/Gallery.d.ts +8 -0
- package/dist/sections/Gallery/Gallery.d.ts.map +1 -0
- package/dist/sections/Gallery/Gallery.types.d.ts +114 -0
- package/dist/sections/Gallery/Gallery.types.d.ts.map +1 -0
- package/dist/sections/Gallery/index.d.ts +3 -0
- package/dist/sections/Gallery/index.d.ts.map +1 -0
- package/dist/sections/Hero/Hero.d.ts +10 -0
- package/dist/sections/Hero/Hero.d.ts.map +1 -0
- package/dist/sections/Hero/Hero.types.d.ts +152 -0
- package/dist/sections/Hero/Hero.types.d.ts.map +1 -0
- package/dist/sections/Hero/HeroHighlight.d.ts +7 -0
- package/dist/sections/Hero/HeroHighlight.d.ts.map +1 -0
- package/dist/sections/Hero/index.d.ts +7 -0
- package/dist/sections/Hero/index.d.ts.map +1 -0
- package/dist/sections/LogoCloud/LogoCloud.d.ts +4 -0
- package/dist/sections/LogoCloud/LogoCloud.d.ts.map +1 -0
- package/dist/sections/LogoCloud/LogoCloud.types.d.ts +101 -0
- package/dist/sections/LogoCloud/LogoCloud.types.d.ts.map +1 -0
- package/dist/sections/LogoCloud/index.d.ts +6 -0
- package/dist/sections/LogoCloud/index.d.ts.map +1 -0
- package/dist/sections/Newsletter/Newsletter.d.ts +4 -0
- package/dist/sections/Newsletter/Newsletter.d.ts.map +1 -0
- package/dist/sections/Newsletter/Newsletter.types.d.ts +97 -0
- package/dist/sections/Newsletter/Newsletter.types.d.ts.map +1 -0
- package/dist/sections/Newsletter/index.d.ts +6 -0
- package/dist/sections/Newsletter/index.d.ts.map +1 -0
- package/dist/sections/Pricing/Pricing.d.ts +4 -0
- package/dist/sections/Pricing/Pricing.d.ts.map +1 -0
- package/dist/sections/Pricing/Pricing.types.d.ts +129 -0
- package/dist/sections/Pricing/Pricing.types.d.ts.map +1 -0
- package/dist/sections/Pricing/PricingCard.d.ts +7 -0
- package/dist/sections/Pricing/PricingCard.d.ts.map +1 -0
- package/dist/sections/Pricing/index.d.ts +7 -0
- package/dist/sections/Pricing/index.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/SettingsLayout.d.ts +4 -0
- package/dist/sections/SettingsLayout/SettingsLayout.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/SettingsLayout.types.d.ts +112 -0
- package/dist/sections/SettingsLayout/SettingsLayout.types.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/index.d.ts +3 -0
- package/dist/sections/SettingsLayout/index.d.ts.map +1 -0
- package/dist/sections/SocialProof/SocialProof.d.ts +8 -0
- package/dist/sections/SocialProof/SocialProof.d.ts.map +1 -0
- package/dist/sections/SocialProof/SocialProof.types.d.ts +138 -0
- package/dist/sections/SocialProof/SocialProof.types.d.ts.map +1 -0
- package/dist/sections/SocialProof/index.d.ts +3 -0
- package/dist/sections/SocialProof/index.d.ts.map +1 -0
- package/dist/sections/Stats/StatItemCard.d.ts +7 -0
- package/dist/sections/Stats/StatItemCard.d.ts.map +1 -0
- package/dist/sections/Stats/Stats.d.ts +4 -0
- package/dist/sections/Stats/Stats.d.ts.map +1 -0
- package/dist/sections/Stats/Stats.types.d.ts +131 -0
- package/dist/sections/Stats/Stats.types.d.ts.map +1 -0
- package/dist/sections/Stats/index.d.ts +7 -0
- package/dist/sections/Stats/index.d.ts.map +1 -0
- package/dist/sections/Stepper/Stepper.d.ts +4 -0
- package/dist/sections/Stepper/Stepper.d.ts.map +1 -0
- package/dist/sections/Stepper/Stepper.types.d.ts +101 -0
- package/dist/sections/Stepper/Stepper.types.d.ts.map +1 -0
- package/dist/sections/Stepper/index.d.ts +3 -0
- package/dist/sections/Stepper/index.d.ts.map +1 -0
- package/dist/sections/Team/Team.d.ts +4 -0
- package/dist/sections/Team/Team.d.ts.map +1 -0
- package/dist/sections/Team/Team.types.d.ts +139 -0
- package/dist/sections/Team/Team.types.d.ts.map +1 -0
- package/dist/sections/Team/TeamMemberCard.d.ts +7 -0
- package/dist/sections/Team/TeamMemberCard.d.ts.map +1 -0
- package/dist/sections/Team/index.d.ts +7 -0
- package/dist/sections/Team/index.d.ts.map +1 -0
- package/dist/sections/Testimonials/TestimonialCard.d.ts +7 -0
- package/dist/sections/Testimonials/TestimonialCard.d.ts.map +1 -0
- package/dist/sections/Testimonials/Testimonials.d.ts +4 -0
- package/dist/sections/Testimonials/Testimonials.d.ts.map +1 -0
- package/dist/sections/Testimonials/Testimonials.types.d.ts +126 -0
- package/dist/sections/Testimonials/Testimonials.types.d.ts.map +1 -0
- package/dist/sections/Testimonials/index.d.ts +7 -0
- package/dist/sections/Testimonials/index.d.ts.map +1 -0
- package/dist/sections/Timeline/Timeline.d.ts +8 -0
- package/dist/sections/Timeline/Timeline.d.ts.map +1 -0
- package/dist/sections/Timeline/Timeline.types.d.ts +98 -0
- package/dist/sections/Timeline/Timeline.types.d.ts.map +1 -0
- package/dist/sections/Timeline/index.d.ts +3 -0
- package/dist/sections/Timeline/index.d.ts.map +1 -0
- package/dist/sections/index.d.ts +31 -0
- package/dist/sections/index.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/templates/app/AgentEditor/AgentEditor.d.ts +25 -0
- package/dist/templates/app/AgentEditor/AgentEditor.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/AgentEditor.types.d.ts +180 -0
- package/dist/templates/app/AgentEditor/AgentEditor.types.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/MultiAgentPanel.d.ts +9 -0
- package/dist/templates/app/AgentEditor/MultiAgentPanel.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/index.d.ts +3 -0
- package/dist/templates/app/AgentEditor/index.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.d.ts +5 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.types.d.ts +280 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.types.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/index.d.ts +8 -0
- package/dist/templates/app/AgentWorkspace/index.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.d.ts +4 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.types.d.ts +69 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/index.d.ts +19 -0
- package/dist/templates/app/ChatPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.d.ts +23 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.types.d.ts +54 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/index.d.ts +3 -0
- package/dist/templates/app/DashboardTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.d.ts +20 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.types.d.ts +40 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/index.d.ts +3 -0
- package/dist/templates/app/KanbanPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.d.ts +5 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.types.d.ts +207 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/index.d.ts +8 -0
- package/dist/templates/app/LoginTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.d.ts +25 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.types.d.ts +83 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/index.d.ts +3 -0
- package/dist/templates/app/ProfilePageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.d.ts +22 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.types.d.ts +67 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/index.d.ts +3 -0
- package/dist/templates/app/SettingsTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/index.d.ts +22 -0
- package/dist/templates/app/index.d.ts.map +1 -0
- package/dist/templates/index.d.ts +18 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.d.ts +20 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.types.d.ts +67 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/AboutPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.d.ts +19 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.types.d.ts +56 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/ContactPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.d.ts +20 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.types.d.ts +89 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/LandingPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.d.ts +19 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.types.d.ts +63 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/PricingPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/index.d.ts +14 -0
- package/dist/templates/marketing/index.d.ts.map +1 -0
- package/package.json +94 -0
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { AgentFolderProps } from '../../../sections/AgentFolder';
|
|
3
|
+
import { AgentCardProps } from '@orion-ds/react';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Workspace option
|
|
7
|
+
*/
|
|
8
|
+
export interface Workspace {
|
|
9
|
+
/**
|
|
10
|
+
* Unique workspace ID
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Workspace display name
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Workspace avatar URL (displayed in workspace dropdown list)
|
|
19
|
+
*/
|
|
20
|
+
avatar?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Workspace avatar icon element (alternative to avatar URL)
|
|
23
|
+
*/
|
|
24
|
+
icon?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Workspace initials fallback (displayed when no avatar/icon)
|
|
27
|
+
*/
|
|
28
|
+
initials?: string;
|
|
29
|
+
/**
|
|
30
|
+
* User's role in this workspace (e.g., "Propietario", "Editor")
|
|
31
|
+
*/
|
|
32
|
+
role?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Navbar configuration
|
|
36
|
+
*/
|
|
37
|
+
export interface NavbarConfig {
|
|
38
|
+
/**
|
|
39
|
+
* Logo/brand element
|
|
40
|
+
*/
|
|
41
|
+
logo?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Current workspace name
|
|
44
|
+
*/
|
|
45
|
+
workspaceName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Workspace avatar URL or icon (displayed left of workspace name)
|
|
48
|
+
*/
|
|
49
|
+
workspaceAvatar?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Workspace avatar icon element (alternative to workspaceAvatar)
|
|
52
|
+
*/
|
|
53
|
+
workspaceIcon?: ReactNode;
|
|
54
|
+
/**
|
|
55
|
+
* Workspace initials fallback (e.g., "WS", "AW")
|
|
56
|
+
*/
|
|
57
|
+
workspaceInitials?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Available workspaces
|
|
60
|
+
*/
|
|
61
|
+
workspaces?: Workspace[];
|
|
62
|
+
/**
|
|
63
|
+
* Workspace change handler
|
|
64
|
+
*/
|
|
65
|
+
onWorkspaceChange?: (id: string) => void;
|
|
66
|
+
/**
|
|
67
|
+
* Active workspace ID (used to identify current workspace in the panel)
|
|
68
|
+
*/
|
|
69
|
+
activeWorkspaceId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* User's role in the active workspace (e.g., "Propietario")
|
|
72
|
+
*/
|
|
73
|
+
workspaceRole?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Number of participants in the active workspace
|
|
76
|
+
*/
|
|
77
|
+
workspaceParticipantCount?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Workspace settings handler
|
|
80
|
+
*/
|
|
81
|
+
onWorkspaceSettings?: () => void;
|
|
82
|
+
/**
|
|
83
|
+
* Workspace invite participants handler
|
|
84
|
+
*/
|
|
85
|
+
onWorkspaceInvite?: () => void;
|
|
86
|
+
/**
|
|
87
|
+
* Create new workspace handler
|
|
88
|
+
*/
|
|
89
|
+
onCreateWorkspace?: () => void;
|
|
90
|
+
/**
|
|
91
|
+
* User avatar URL
|
|
92
|
+
*/
|
|
93
|
+
userAvatar?: string;
|
|
94
|
+
/**
|
|
95
|
+
* User name
|
|
96
|
+
*/
|
|
97
|
+
userName?: string;
|
|
98
|
+
/**
|
|
99
|
+
* User email (displayed in UserMenu header)
|
|
100
|
+
*/
|
|
101
|
+
userEmail?: string;
|
|
102
|
+
/**
|
|
103
|
+
* User menu click handler
|
|
104
|
+
*/
|
|
105
|
+
onUserMenuClick?: () => void;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Page header configuration
|
|
109
|
+
*/
|
|
110
|
+
export interface PageHeaderConfig {
|
|
111
|
+
/**
|
|
112
|
+
* Page title
|
|
113
|
+
*/
|
|
114
|
+
title?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Optional icon next to title
|
|
117
|
+
*/
|
|
118
|
+
icon?: ReactNode;
|
|
119
|
+
/**
|
|
120
|
+
* Action buttons (e.g., Create Folder, New Agent)
|
|
121
|
+
*/
|
|
122
|
+
actions?: ReactNode;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Help center item
|
|
126
|
+
*/
|
|
127
|
+
export interface HelpCenter {
|
|
128
|
+
/**
|
|
129
|
+
* Unique help center ID
|
|
130
|
+
*/
|
|
131
|
+
id: string;
|
|
132
|
+
/**
|
|
133
|
+
* Help center display name
|
|
134
|
+
*/
|
|
135
|
+
name: string;
|
|
136
|
+
/**
|
|
137
|
+
* Optional icon (Lucide or custom ReactNode)
|
|
138
|
+
*/
|
|
139
|
+
icon?: ReactNode;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* AgentWorkspace component props
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* ```tsx
|
|
146
|
+
* <AgentWorkspace
|
|
147
|
+
* pageHeader={{
|
|
148
|
+
* title: 'Agentes IA',
|
|
149
|
+
* icon: <Bot size={24} />,
|
|
150
|
+
* actions: (
|
|
151
|
+
* <>
|
|
152
|
+
* <Button variant="secondary">Nueva carpeta</Button>
|
|
153
|
+
* <Button variant="primary">Nuevo agente</Button>
|
|
154
|
+
* </>
|
|
155
|
+
* )
|
|
156
|
+
* }}
|
|
157
|
+
* folders={[...]}
|
|
158
|
+
* looseAgents={[...]}
|
|
159
|
+
* onCreateFolder={() => console.log('Create folder')}
|
|
160
|
+
* onCreateAgent={() => console.log('Create agent')}
|
|
161
|
+
* />
|
|
162
|
+
* ```
|
|
163
|
+
*/
|
|
164
|
+
export interface AgentWorkspaceProps extends HTMLAttributes<HTMLDivElement> {
|
|
165
|
+
/**
|
|
166
|
+
* Navbar configuration (optional)
|
|
167
|
+
*/
|
|
168
|
+
navbar?: NavbarConfig;
|
|
169
|
+
/**
|
|
170
|
+
* Page header configuration (optional)
|
|
171
|
+
*/
|
|
172
|
+
pageHeader?: PageHeaderConfig;
|
|
173
|
+
/**
|
|
174
|
+
* Array of agent folders
|
|
175
|
+
*/
|
|
176
|
+
folders?: AgentFolderProps[];
|
|
177
|
+
/**
|
|
178
|
+
* Agents not belonging to any folder, displayed below folders
|
|
179
|
+
*/
|
|
180
|
+
looseAgents?: AgentCardProps[];
|
|
181
|
+
/**
|
|
182
|
+
* Help centers (displayed in sidebar)
|
|
183
|
+
*/
|
|
184
|
+
helpCenters?: HelpCenter[];
|
|
185
|
+
/**
|
|
186
|
+
* Create new folder handler
|
|
187
|
+
*/
|
|
188
|
+
onCreateFolder?: () => void;
|
|
189
|
+
/**
|
|
190
|
+
* Create new agent handler (with optional folderId parameter)
|
|
191
|
+
*/
|
|
192
|
+
onCreateAgent?: (folderId?: string) => void;
|
|
193
|
+
/**
|
|
194
|
+
* Create new help center handler
|
|
195
|
+
*/
|
|
196
|
+
onCreateHelpCenter?: () => void;
|
|
197
|
+
/**
|
|
198
|
+
* Edit folder handler
|
|
199
|
+
*/
|
|
200
|
+
onEditFolder?: (folderId: string) => void;
|
|
201
|
+
/**
|
|
202
|
+
* Delete folder handler
|
|
203
|
+
*/
|
|
204
|
+
onDeleteFolder?: (folderId: string) => void;
|
|
205
|
+
/**
|
|
206
|
+
* Move agent handler
|
|
207
|
+
*/
|
|
208
|
+
onMoveAgent?: (agentId: string) => void;
|
|
209
|
+
/**
|
|
210
|
+
* Delete agent handler
|
|
211
|
+
*/
|
|
212
|
+
onDeleteAgent?: (agentId: string) => void;
|
|
213
|
+
/**
|
|
214
|
+
* Edit help center handler
|
|
215
|
+
*/
|
|
216
|
+
onEditHelpCenter?: (helpCenterId: string) => void;
|
|
217
|
+
/**
|
|
218
|
+
* Delete help center handler
|
|
219
|
+
*/
|
|
220
|
+
onDeleteHelpCenter?: (helpCenterId: string) => void;
|
|
221
|
+
/**
|
|
222
|
+
* Invite participants handler
|
|
223
|
+
*/
|
|
224
|
+
onInviteParticipants?: () => void;
|
|
225
|
+
/**
|
|
226
|
+
* Settings handler
|
|
227
|
+
*/
|
|
228
|
+
onSettings?: () => void;
|
|
229
|
+
/**
|
|
230
|
+
* Navigation node click handler (sidebar navigation)
|
|
231
|
+
*/
|
|
232
|
+
onNavNodeClick?: (nodeId: string) => void;
|
|
233
|
+
/**
|
|
234
|
+
* Active navigation node ID (for highlighting in sidebar)
|
|
235
|
+
*/
|
|
236
|
+
activeNavNodeId?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Sidebar width in pixels
|
|
239
|
+
* @default 260
|
|
240
|
+
*/
|
|
241
|
+
sidebarWidth?: number;
|
|
242
|
+
/**
|
|
243
|
+
* Visible sections in sidebar (filter by section ID)
|
|
244
|
+
* Possible values: 'agents', 'help-centers', 'community'
|
|
245
|
+
* @default all sections visible
|
|
246
|
+
*/
|
|
247
|
+
visibleSections?: string[];
|
|
248
|
+
/**
|
|
249
|
+
* Custom empty state when no folders exist
|
|
250
|
+
*/
|
|
251
|
+
emptyState?: ReactNode;
|
|
252
|
+
/**
|
|
253
|
+
* Is drag and drop enabled
|
|
254
|
+
* @default true
|
|
255
|
+
*/
|
|
256
|
+
enableDragDrop?: boolean;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Drag & drop event data
|
|
260
|
+
* @internal
|
|
261
|
+
*/
|
|
262
|
+
export interface DragEndEvent {
|
|
263
|
+
active: {
|
|
264
|
+
id: string | number;
|
|
265
|
+
data: {
|
|
266
|
+
current?: {
|
|
267
|
+
agentId?: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
over: {
|
|
272
|
+
id: string | number;
|
|
273
|
+
data: {
|
|
274
|
+
current?: {
|
|
275
|
+
folderId?: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
} | null;
|
|
279
|
+
}
|
|
280
|
+
//# sourceMappingURL=AgentWorkspace.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentWorkspace.types.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/AgentWorkspace/AgentWorkspace.types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AgentWorkspace Exports
|
|
3
|
+
*
|
|
4
|
+
* Exports for the Agent Workspace template and its types.
|
|
5
|
+
*/
|
|
6
|
+
export { AgentWorkspace } from './AgentWorkspace';
|
|
7
|
+
export type { AgentWorkspaceProps, NavbarConfig, PageHeaderConfig, Workspace, DragEndEvent, } from './AgentWorkspace.types';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/AgentWorkspace/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EACV,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,YAAY,GACb,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatPageTemplate.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/ChatPageTemplate/ChatPageTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH,OAAO,KAAK,EAAE,qBAAqB,EAAkC,MAAM,0BAA0B,CAAC;AAsBtG,eAAO,MAAM,gBAAgB,kHAgO5B,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { ChatMessage, ChatConversation } from '@orion-ds/react';
|
|
3
|
+
|
|
4
|
+
export interface User {
|
|
5
|
+
name: string;
|
|
6
|
+
avatar?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface InputConfig {
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
allowAttachments?: boolean;
|
|
11
|
+
allowVoiceRecording?: boolean;
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface ChatPageTemplateProps extends HTMLAttributes<HTMLDivElement> {
|
|
15
|
+
/**
|
|
16
|
+
* List of conversations in the sidebar
|
|
17
|
+
*/
|
|
18
|
+
conversations?: ChatConversation[];
|
|
19
|
+
/**
|
|
20
|
+
* Currently active conversation ID
|
|
21
|
+
*/
|
|
22
|
+
activeConversationId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Messages to display
|
|
25
|
+
*/
|
|
26
|
+
messages?: ChatMessage[];
|
|
27
|
+
/**
|
|
28
|
+
* Called when user selects a conversation
|
|
29
|
+
*/
|
|
30
|
+
onSelectConversation?: (id: string) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Called when user creates a new conversation
|
|
33
|
+
*/
|
|
34
|
+
onNewConversation?: () => void;
|
|
35
|
+
/**
|
|
36
|
+
* Called when user deletes a conversation
|
|
37
|
+
*/
|
|
38
|
+
onDeleteConversation?: (id: string) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Called when user sends a message
|
|
41
|
+
*/
|
|
42
|
+
onSendMessage?: (message: string, attachments?: File[]) => void;
|
|
43
|
+
/**
|
|
44
|
+
* User information for header menu
|
|
45
|
+
*/
|
|
46
|
+
user?: User;
|
|
47
|
+
/**
|
|
48
|
+
* Called when user logs out
|
|
49
|
+
*/
|
|
50
|
+
onLogout?: () => void;
|
|
51
|
+
/**
|
|
52
|
+
* Whether the chat is currently typing
|
|
53
|
+
*/
|
|
54
|
+
isTyping?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Whether the chat is loading
|
|
57
|
+
*/
|
|
58
|
+
isLoading?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Logo/branding element
|
|
61
|
+
*/
|
|
62
|
+
logo?: ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* Chat input configuration
|
|
65
|
+
*/
|
|
66
|
+
inputConfig?: InputConfig;
|
|
67
|
+
}
|
|
68
|
+
export { ChatMessage };
|
|
69
|
+
//# sourceMappingURL=ChatPageTemplate.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatPageTemplate.types.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/ChatPageTemplate/ChatPageTemplate.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAErE,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,qBACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAEnC;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAE/B;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAEhE;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat Page Template - Full-page ChatGPT-style layout.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```tsx
|
|
6
|
+
* import { ChatPageTemplate } from '@orion-ds/react';
|
|
7
|
+
*
|
|
8
|
+
* <ChatPageTemplate
|
|
9
|
+
* conversations={conversations}
|
|
10
|
+
* activeConversationId={activeId}
|
|
11
|
+
* messages={messages}
|
|
12
|
+
* onSendMessage={handleSend}
|
|
13
|
+
* user={{ name: 'John' }}
|
|
14
|
+
* />
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export { ChatPageTemplate } from './ChatPageTemplate';
|
|
18
|
+
export type { ChatPageTemplateProps } from './ChatPageTemplate.types';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/ChatPageTemplate/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DashboardTemplateProps } from './DashboardTemplate.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* DashboardTemplate - Full dashboard page composition
|
|
5
|
+
*
|
|
6
|
+
* Combines Sidebar, PageHeader, MetricCards, DataTable, and ActivityFeed
|
|
7
|
+
* into a complete dashboard layout.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <DashboardTemplate
|
|
12
|
+
* sidebar={{ sections: navSections }}
|
|
13
|
+
* pageHeader={{ title: 'Dashboard', description: 'Overview' }}
|
|
14
|
+
* metrics={{ metrics: dashboardMetrics }}
|
|
15
|
+
* dataTable={{ columns: columns, data: tableData }}
|
|
16
|
+
* layout="split"
|
|
17
|
+
* activityFeed={{ activities: recentActivity }}
|
|
18
|
+
* />
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const DashboardTemplate: import('react').ForwardRefExoticComponent<DashboardTemplateProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export default DashboardTemplate;
|
|
23
|
+
//# sourceMappingURL=DashboardTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardTemplate.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/DashboardTemplate/DashboardTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAWxE;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,iBAAiB,mHA+D7B,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { SidebarProps, PageHeaderProps, MetricCardsProps, DataTableProps, ActivityFeedProps } from '@orion-ds/react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Dashboard layout variant
|
|
6
|
+
*/
|
|
7
|
+
export type DashboardLayout = "default" | "split" | "compact";
|
|
8
|
+
/**
|
|
9
|
+
* DashboardTemplate props
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <DashboardTemplate
|
|
14
|
+
* pageHeader={{ title: 'Dashboard' }}
|
|
15
|
+
* metrics={{ metrics: [...] }}
|
|
16
|
+
* dataTable={{ columns: [...], data: [...] }}
|
|
17
|
+
* />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export interface DashboardTemplateProps extends HTMLAttributes<HTMLDivElement> {
|
|
21
|
+
/**
|
|
22
|
+
* Sidebar configuration (optional)
|
|
23
|
+
*/
|
|
24
|
+
sidebar?: SidebarProps;
|
|
25
|
+
/**
|
|
26
|
+
* Page header configuration (required)
|
|
27
|
+
*/
|
|
28
|
+
pageHeader: PageHeaderProps;
|
|
29
|
+
/**
|
|
30
|
+
* Metric cards section
|
|
31
|
+
*/
|
|
32
|
+
metrics?: MetricCardsProps;
|
|
33
|
+
/**
|
|
34
|
+
* Main data table
|
|
35
|
+
*/
|
|
36
|
+
dataTable?: DataTableProps<Record<string, unknown>>;
|
|
37
|
+
/**
|
|
38
|
+
* Activity feed for side panel (used in split layout)
|
|
39
|
+
*/
|
|
40
|
+
activityFeed?: ActivityFeedProps;
|
|
41
|
+
/**
|
|
42
|
+
* Layout variant
|
|
43
|
+
* - default: Full width content
|
|
44
|
+
* - split: Content + activity feed side panel
|
|
45
|
+
* - compact: Compact spacing for dense data
|
|
46
|
+
* @default 'default'
|
|
47
|
+
*/
|
|
48
|
+
layout?: DashboardLayout;
|
|
49
|
+
/**
|
|
50
|
+
* Additional children rendered in the main content area
|
|
51
|
+
*/
|
|
52
|
+
children?: ReactNode;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=DashboardTemplate.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardTemplate.types.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/DashboardTemplate/DashboardTemplate.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAE9D;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC5E;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IAEvB;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAEpD;;OAEG;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAC;IAEjC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/DashboardTemplate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACjE,YAAY,EACV,sBAAsB,EACtB,eAAe,GAChB,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { KanbanPageTemplateProps } from './KanbanPageTemplate.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* KanbanPageTemplate - Full Kanban board page composition
|
|
5
|
+
*
|
|
6
|
+
* Combines Sidebar, PageHeader, FilterBar, and KanbanBoard.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <KanbanPageTemplate
|
|
11
|
+
* sidebar={{ sections: navSections }}
|
|
12
|
+
* pageHeader={{ title: 'Sprint Board' }}
|
|
13
|
+
* filterBar={{ filters: filterOptions }}
|
|
14
|
+
* kanban={{ columns: boardColumns }}
|
|
15
|
+
* />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare const KanbanPageTemplate: import('react').ForwardRefExoticComponent<KanbanPageTemplateProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export default KanbanPageTemplate;
|
|
20
|
+
//# sourceMappingURL=KanbanPageTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KanbanPageTemplate.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/KanbanPageTemplate/KanbanPageTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAU1E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,oHA2C9B,CAAC;AAIF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { SidebarProps, PageHeaderProps, FilterBarProps, KanbanBoardProps } from '@orion-ds/react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* KanbanPageTemplate props
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <KanbanPageTemplate
|
|
10
|
+
* pageHeader={{ title: 'Project Board' }}
|
|
11
|
+
* kanban={{
|
|
12
|
+
* columns: [...],
|
|
13
|
+
* onCardMove: handleMove
|
|
14
|
+
* }}
|
|
15
|
+
* />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export interface KanbanPageTemplateProps extends HTMLAttributes<HTMLDivElement> {
|
|
19
|
+
/**
|
|
20
|
+
* Sidebar configuration (optional)
|
|
21
|
+
*/
|
|
22
|
+
sidebar?: SidebarProps;
|
|
23
|
+
/**
|
|
24
|
+
* Page header configuration (required)
|
|
25
|
+
*/
|
|
26
|
+
pageHeader: PageHeaderProps;
|
|
27
|
+
/**
|
|
28
|
+
* Filter bar for filtering cards
|
|
29
|
+
*/
|
|
30
|
+
filterBar?: FilterBarProps;
|
|
31
|
+
/**
|
|
32
|
+
* Kanban board configuration (required)
|
|
33
|
+
*/
|
|
34
|
+
kanban: KanbanBoardProps;
|
|
35
|
+
/**
|
|
36
|
+
* Additional content rendered above the board
|
|
37
|
+
*/
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=KanbanPageTemplate.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KanbanPageTemplate.types.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/KanbanPageTemplate/KanbanPageTemplate.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,uBAAwB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC7E;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IAEvB;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;IAE3B;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/KanbanPageTemplate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACnE,YAAY,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LoginTemplateProps } from './LoginTemplate.types';
|
|
2
|
+
|
|
3
|
+
export declare const LoginTemplate: import('react').ForwardRefExoticComponent<LoginTemplateProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export default LoginTemplate;
|
|
5
|
+
//# sourceMappingURL=LoginTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginTemplate.d.ts","sourceRoot":"","sources":["../../../../src/templates/app/LoginTemplate/LoginTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAWhE,eAAO,MAAM,aAAa,+GAkOzB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|