@orion-ds/react 4.8.0 → 4.9.1
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/ComponentShowcase.cjs +1 -0
- package/dist/ComponentShowcase.mjs +600 -0
- package/dist/blocks/index.cjs +1 -0
- package/dist/blocks/index.mjs +74 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.cjs +1 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.mjs +77 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.cjs +1 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.mjs +25 -0
- package/dist/blocks/sections/AppDownload/AppDownload.cjs +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.mjs +108 -0
- package/dist/blocks/sections/Blog/Blog.cjs +1 -0
- package/dist/blocks/sections/Blog/Blog.mjs +85 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.mjs +35 -0
- package/dist/blocks/sections/CTA/CTA.cjs +1 -0
- package/dist/blocks/sections/CTA/CTA.mjs +27 -0
- package/dist/blocks/sections/CarouselSection/CarouselCard.cjs +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselCard.mjs +18 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.cjs +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.mjs +104 -0
- package/dist/blocks/sections/Chat/Chat.cjs +1 -0
- package/dist/blocks/sections/Chat/Chat.mjs +93 -0
- package/dist/blocks/sections/Comparison/Comparison.cjs +1 -0
- package/dist/blocks/sections/Comparison/Comparison.mjs +47 -0
- package/dist/blocks/sections/Contact/Contact.cjs +1 -0
- package/dist/blocks/sections/Contact/Contact.mjs +27 -0
- package/dist/blocks/sections/EmptyState/EmptyState.cjs +1 -0
- package/dist/blocks/sections/EmptyState/EmptyState.mjs +21 -0
- package/dist/blocks/sections/FAQ/FAQ.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQ.mjs +37 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.mjs +58 -0
- package/dist/blocks/sections/Features/FeatureCard.cjs +1 -0
- package/dist/blocks/sections/Features/FeatureCard.mjs +16 -0
- package/dist/blocks/sections/Features/Features.cjs +1 -0
- package/dist/blocks/sections/Features/Features.mjs +28 -0
- package/dist/blocks/sections/Footer/Footer.cjs +1 -0
- package/dist/blocks/sections/Footer/Footer.mjs +98 -0
- package/dist/blocks/sections/Gallery/Gallery.cjs +1 -0
- package/dist/blocks/sections/Gallery/Gallery.mjs +34 -0
- package/dist/blocks/sections/Hero/Hero.cjs +1 -0
- package/dist/blocks/sections/Hero/Hero.mjs +37 -0
- package/dist/blocks/sections/Hero/HeroHighlight.cjs +1 -0
- package/dist/blocks/sections/Hero/HeroHighlight.mjs +10 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.cjs +1 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.mjs +31 -0
- package/dist/blocks/sections/Newsletter/Newsletter.cjs +1 -0
- package/dist/blocks/sections/Newsletter/Newsletter.mjs +50 -0
- package/dist/blocks/sections/Pricing/Pricing.cjs +1 -0
- package/dist/blocks/sections/Pricing/Pricing.mjs +18 -0
- package/dist/blocks/sections/Pricing/PricingCard.cjs +1 -0
- package/dist/blocks/sections/Pricing/PricingCard.mjs +49 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.cjs +1 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.mjs +54 -0
- package/dist/blocks/sections/SocialProof/SocialProof.cjs +1 -0
- package/dist/blocks/sections/SocialProof/SocialProof.mjs +40 -0
- package/dist/blocks/sections/Stats/StatItemCard.cjs +1 -0
- package/dist/blocks/sections/Stats/StatItemCard.mjs +18 -0
- package/dist/blocks/sections/Stats/Stats.cjs +1 -0
- package/dist/blocks/sections/Stats/Stats.mjs +25 -0
- package/dist/blocks/sections/Stepper/Stepper.cjs +1 -0
- package/dist/blocks/sections/Stepper/Stepper.mjs +87 -0
- package/dist/blocks/sections/Team/Team.cjs +1 -0
- package/dist/blocks/sections/Team/Team.mjs +21 -0
- package/dist/blocks/sections/Team/TeamMemberCard.cjs +1 -0
- package/dist/blocks/sections/Team/TeamMemberCard.mjs +19 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.cjs +1 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.mjs +47 -0
- package/dist/blocks/sections/Testimonials/Testimonials.cjs +1 -0
- package/dist/blocks/sections/Testimonials/Testimonials.mjs +28 -0
- package/dist/blocks/sections/Timeline/Timeline.cjs +1 -0
- package/dist/blocks/sections/Timeline/Timeline.mjs +53 -0
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.cjs +1 -0
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.mjs +158 -0
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.cjs +1 -0
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.mjs +153 -0
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.mjs +192 -0
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.cjs +1 -0
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.mjs +102 -0
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.mjs +142 -0
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.cjs +1 -0
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.mjs +143 -0
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.mjs +194 -0
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.cjs +1 -0
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.mjs +105 -0
- package/dist/calendar.cjs +1 -0
- package/dist/calendar.mjs +6 -0
- package/dist/chart.cjs +1 -0
- package/dist/chart.mjs +9 -0
- package/dist/client.cjs +1 -0
- package/dist/client.mjs +247 -0
- package/dist/components/Accordion/Accordion.cjs +1 -0
- package/dist/components/Accordion/Accordion.mjs +94 -0
- package/dist/components/ActivityFeed/ActivityFeed.cjs +1 -0
- package/dist/components/ActivityFeed/ActivityFeed.mjs +128 -0
- package/dist/components/AgentCard/AgentCard.cjs +1 -0
- package/dist/components/AgentCard/AgentCard.mjs +120 -0
- package/dist/components/Alert/Alert.cjs +1 -0
- package/dist/components/Alert/Alert.mjs +51 -0
- package/dist/components/AlertDialog/AlertDialog.cjs +1 -0
- package/dist/components/AlertDialog/AlertDialog.mjs +91 -0
- package/dist/components/Avatar/Avatar.cjs +1 -0
- package/dist/components/Avatar/Avatar.mjs +77 -0
- package/dist/components/Badge/Badge.cjs +1 -0
- package/dist/components/Badge/Badge.mjs +20 -0
- package/dist/components/Banner/Banner.cjs +1 -0
- package/dist/components/Banner/Banner.mjs +107 -0
- package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.mjs +84 -0
- package/dist/components/Button/Button.cjs +1 -0
- package/dist/components/Button/Button.mjs +71 -0
- package/dist/components/Calendar/Calendar.cjs +1 -0
- package/dist/components/Calendar/Calendar.mjs +135 -0
- package/dist/components/Card/Card.cjs +1 -0
- package/dist/components/Card/Card.mjs +106 -0
- package/dist/components/Carousel/Carousel.cjs +1 -0
- package/dist/components/Carousel/Carousel.mjs +178 -0
- package/dist/components/Carousel/CarouselCard.cjs +1 -0
- package/dist/components/Carousel/CarouselCard.mjs +38 -0
- package/dist/components/Chart/Chart.cjs +1 -0
- package/dist/components/Chart/Chart.mjs +103 -0
- package/dist/components/Chat/Chat.cjs +1 -0
- package/dist/components/Chat/Chat.mjs +56 -0
- package/dist/components/Chat/components/ChatAttachment.cjs +1 -0
- package/dist/components/Chat/components/ChatAttachment.mjs +125 -0
- package/dist/components/Chat/components/ChatAudioPlayer.cjs +1 -0
- package/dist/components/Chat/components/ChatAudioPlayer.mjs +127 -0
- package/dist/components/Chat/components/ChatCodeBlock.cjs +1 -0
- package/dist/components/Chat/components/ChatCodeBlock.mjs +93 -0
- package/dist/components/Chat/components/ChatFileUpload.cjs +1 -0
- package/dist/components/Chat/components/ChatFileUpload.mjs +114 -0
- package/dist/components/Chat/components/ChatHeader.cjs +1 -0
- package/dist/components/Chat/components/ChatHeader.mjs +36 -0
- package/dist/components/Chat/components/ChatImagePreview.cjs +1 -0
- package/dist/components/Chat/components/ChatImagePreview.mjs +69 -0
- package/dist/components/Chat/components/ChatInput.cjs +1 -0
- package/dist/components/Chat/components/ChatInput.mjs +188 -0
- package/dist/components/Chat/components/ChatLightbox.cjs +1 -0
- package/dist/components/Chat/components/ChatLightbox.mjs +57 -0
- package/dist/components/Chat/components/ChatMarkdown.cjs +1 -0
- package/dist/components/Chat/components/ChatMarkdown.mjs +55 -0
- package/dist/components/Chat/components/ChatMessage.cjs +1 -0
- package/dist/components/Chat/components/ChatMessage.mjs +173 -0
- package/dist/components/Chat/components/ChatMessages.cjs +1 -0
- package/dist/components/Chat/components/ChatMessages.mjs +46 -0
- package/dist/components/Chat/components/ChatSidebar.cjs +1 -0
- package/dist/components/Chat/components/ChatSidebar.mjs +217 -0
- package/dist/components/Chat/components/ChatTypingIndicator.cjs +1 -0
- package/dist/components/Chat/components/ChatTypingIndicator.mjs +31 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.cjs +1 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.mjs +111 -0
- package/dist/components/Checkbox/Checkbox.cjs +1 -0
- package/dist/components/Checkbox/Checkbox.mjs +84 -0
- package/dist/components/Chip/Chip.cjs +1 -0
- package/dist/components/Chip/Chip.mjs +86 -0
- package/dist/components/CodeEditor/CodeEditor.cjs +6 -0
- package/dist/components/CodeEditor/CodeEditor.mjs +255 -0
- package/dist/components/Collapsible/Collapsible.cjs +1 -0
- package/dist/components/Collapsible/Collapsible.mjs +114 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.cjs +1 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.mjs +196 -0
- package/dist/components/Combobox/Combobox.cjs +1 -0
- package/dist/components/Combobox/Combobox.mjs +271 -0
- package/dist/components/Command/Command.cjs +1 -0
- package/dist/components/Command/Command.mjs +248 -0
- package/dist/components/CommandBar/CommandBar.cjs +1 -0
- package/dist/components/CommandBar/CommandBar.mjs +193 -0
- package/dist/components/DataTable/DataTable.cjs +1 -0
- package/dist/components/DataTable/DataTable.mjs +339 -0
- package/dist/components/DatePicker/DatePicker.cjs +1 -0
- package/dist/components/DatePicker/DatePicker.mjs +104 -0
- package/dist/components/DetailPanel/DetailPanel.cjs +1 -0
- package/dist/components/DetailPanel/DetailPanel.mjs +103 -0
- package/dist/components/Divider/Divider.cjs +1 -0
- package/dist/components/Divider/Divider.mjs +48 -0
- package/dist/components/Drawer/Drawer.cjs +1 -0
- package/dist/components/Drawer/Drawer.mjs +132 -0
- package/dist/components/Dropdown/Dropdown.cjs +1 -0
- package/dist/components/Dropdown/Dropdown.mjs +176 -0
- package/dist/components/EmptyState/EmptyState.cjs +1 -0
- package/dist/components/EmptyState/EmptyState.mjs +30 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.cjs +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.mjs +43 -0
- package/dist/components/Field/Field.cjs +1 -0
- package/dist/components/Field/Field.mjs +107 -0
- package/dist/components/FileUploader/FileUploader.cjs +1 -0
- package/dist/components/FileUploader/FileUploader.mjs +202 -0
- package/dist/components/FilterBar/FilterBar.cjs +1 -0
- package/dist/components/FilterBar/FilterBar.mjs +164 -0
- package/dist/components/FontLoader/FontLoader.cjs +1 -0
- package/dist/components/FontLoader/FontLoader.mjs +47 -0
- package/dist/components/FormSection/FormSection.cjs +1 -0
- package/dist/components/FormSection/FormSection.mjs +84 -0
- package/dist/components/Icon/Icon.cjs +1 -0
- package/dist/components/Icon/Icon.mjs +54 -0
- package/dist/components/IconGallery/IconGallery.cjs +3 -0
- package/dist/components/IconGallery/IconGallery.mjs +205 -0
- package/dist/components/InputOTP/InputOTP.cjs +1 -0
- package/dist/components/InputOTP/InputOTP.mjs +143 -0
- package/dist/components/KanbanBoard/KanbanBoard.cjs +1 -0
- package/dist/components/KanbanBoard/KanbanBoard.mjs +190 -0
- package/dist/components/Link/Link.cjs +1 -0
- package/dist/components/Link/Link.mjs +82 -0
- package/dist/components/List/List.cjs +1 -0
- package/dist/components/List/List.mjs +95 -0
- package/dist/components/MetricCards/MetricCards.cjs +1 -0
- package/dist/components/MetricCards/MetricCards.mjs +125 -0
- package/dist/components/Modal/Modal.cjs +1 -0
- package/dist/components/Modal/Modal.mjs +72 -0
- package/dist/components/NavTree/NavTree.cjs +1 -0
- package/dist/components/NavTree/NavTree.mjs +273 -0
- package/dist/components/Navbar/Navbar.cjs +1 -0
- package/dist/components/Navbar/Navbar.mjs +129 -0
- package/dist/components/NotificationCenter/NotificationCenter.cjs +1 -0
- package/dist/components/NotificationCenter/NotificationCenter.mjs +172 -0
- package/dist/components/PageHeader/PageHeader.cjs +1 -0
- package/dist/components/PageHeader/PageHeader.mjs +105 -0
- package/dist/components/Pagination/Pagination.cjs +1 -0
- package/dist/components/Pagination/Pagination.mjs +136 -0
- package/dist/components/Popover/Popover.cjs +1 -0
- package/dist/components/Popover/Popover.mjs +191 -0
- package/dist/components/ProgressBar/ProgressBar.cjs +1 -0
- package/dist/components/ProgressBar/ProgressBar.mjs +54 -0
- package/dist/components/QuickActions/QuickActions.cjs +1 -0
- package/dist/components/QuickActions/QuickActions.mjs +148 -0
- package/dist/components/Radio/Radio.cjs +1 -0
- package/dist/components/Radio/Radio.mjs +76 -0
- package/dist/components/SearchInput/SearchInput.cjs +1 -0
- package/dist/components/SearchInput/SearchInput.mjs +87 -0
- package/dist/components/Select/Select.cjs +1 -0
- package/dist/components/Select/Select.mjs +84 -0
- package/dist/components/Sidebar/Sidebar.cjs +1 -0
- package/dist/components/Sidebar/Sidebar.mjs +153 -0
- package/dist/components/Skeleton/Skeleton.cjs +1 -0
- package/dist/components/Skeleton/Skeleton.mjs +54 -0
- package/dist/components/Slider/Slider.cjs +1 -0
- package/dist/components/Slider/Slider.mjs +109 -0
- package/dist/components/Spinner/Spinner.cjs +1 -0
- package/dist/components/Spinner/Spinner.mjs +28 -0
- package/dist/components/Stack/Stack.cjs +1 -0
- package/dist/components/Stack/Stack.mjs +31 -0
- package/dist/components/Stepper/Stepper.cjs +1 -0
- package/dist/components/Stepper/Stepper.mjs +133 -0
- package/dist/components/Switch/Switch.cjs +1 -0
- package/dist/components/Switch/Switch.mjs +80 -0
- package/dist/components/Table/Table.cjs +1 -0
- package/dist/components/Table/Table.mjs +101 -0
- package/dist/components/Tabs/Tabs.cjs +1 -0
- package/dist/components/Tabs/Tabs.mjs +97 -0
- package/dist/components/Textarea/Textarea.cjs +1 -0
- package/dist/components/Textarea/Textarea.mjs +118 -0
- package/dist/components/ThemeController/ThemeController.cjs +1 -0
- package/dist/components/ThemeController/ThemeController.mjs +389 -0
- package/dist/components/Toast/Toast.cjs +1 -0
- package/dist/components/Toast/Toast.mjs +225 -0
- package/dist/components/Toggle/Toggle.cjs +1 -0
- package/dist/components/Toggle/Toggle.mjs +48 -0
- package/dist/components/ToggleGroup/ToggleGroup.cjs +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.mjs +101 -0
- package/dist/components/Tooltip/Tooltip.cjs +1 -0
- package/dist/components/Tooltip/Tooltip.mjs +39 -0
- package/dist/components/UserMenu/UserMenu.cjs +1 -0
- package/dist/components/UserMenu/UserMenu.mjs +161 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.cjs +1 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.mjs +119 -0
- package/dist/contexts/ThemeContext.cjs +38 -0
- package/dist/contexts/ThemeContext.mjs +98 -0
- package/dist/dist/index19.cjs +1 -0
- package/dist/dist/index19.mjs +120 -0
- package/dist/dist/index22.cjs +1 -0
- package/dist/dist/index22.mjs +77 -0
- package/dist/dist/index23.cjs +1 -0
- package/dist/dist/index23.mjs +20 -0
- package/dist/dist/index26.cjs +1 -0
- package/dist/dist/index26.mjs +71 -0
- package/dist/dist/index28.cjs +1 -0
- package/dist/dist/index28.mjs +106 -0
- package/dist/dist/index36.cjs +1 -0
- package/dist/dist/index36.mjs +114 -0
- package/dist/dist/index37.cjs +1 -0
- package/dist/dist/index37.mjs +196 -0
- package/dist/dist/index47.cjs +1 -0
- package/dist/dist/index47.mjs +176 -0
- package/dist/dist/index50.cjs +1 -0
- package/dist/dist/index50.mjs +107 -0
- package/dist/dnd.cjs +1 -0
- package/dist/dnd.mjs +4 -0
- package/dist/editor.cjs +1 -0
- package/dist/editor.mjs +4 -0
- package/dist/examples/LandingPage.example.cjs +1 -0
- package/dist/examples/LandingPage.example.mjs +106 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +96 -96
- package/dist/rich.cjs +1 -0
- package/dist/rich.mjs +4 -0
- package/dist/sections/Container/Container.cjs +1 -0
- package/dist/sections/Container/Container.mjs +26 -0
- package/dist/sections/Section/Section.cjs +1 -0
- package/dist/sections/Section/Section.mjs +36 -0
- package/dist/sections/index.cjs +1 -0
- package/dist/sections/index.mjs +43 -0
- package/dist/templates/index.cjs +1 -0
- package/dist/templates/index.mjs +18 -0
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.mjs +24 -0
- package/dist/tokens/utils.cjs +1 -0
- package/dist/tokens/utils.mjs +45 -0
- package/package.json +1 -1
- package/dist/index10.cjs +0 -1
- package/dist/index10.mjs +0 -4
- package/dist/index11.cjs +0 -1
- package/dist/index11.mjs +0 -4
- package/dist/index110.cjs +0 -1
- package/dist/index110.mjs +0 -77
- package/dist/index111.cjs +0 -1
- package/dist/index111.mjs +0 -158
- package/dist/index112.cjs +0 -1
- package/dist/index112.mjs +0 -25
- package/dist/index113.cjs +0 -1
- package/dist/index113.mjs +0 -153
- package/dist/index114.cjs +0 -1
- package/dist/index114.mjs +0 -108
- package/dist/index115.cjs +0 -1
- package/dist/index115.mjs +0 -85
- package/dist/index116.cjs +0 -1
- package/dist/index116.mjs +0 -35
- package/dist/index117.cjs +0 -1
- package/dist/index117.mjs +0 -27
- package/dist/index118.cjs +0 -1
- package/dist/index118.mjs +0 -18
- package/dist/index119.cjs +0 -1
- package/dist/index119.mjs +0 -104
- package/dist/index120.cjs +0 -1
- package/dist/index120.mjs +0 -192
- package/dist/index121.cjs +0 -1
- package/dist/index121.mjs +0 -93
- package/dist/index122.cjs +0 -1
- package/dist/index122.mjs +0 -47
- package/dist/index123.cjs +0 -1
- package/dist/index123.mjs +0 -27
- package/dist/index124.cjs +0 -1
- package/dist/index124.mjs +0 -102
- package/dist/index125.cjs +0 -1
- package/dist/index125.mjs +0 -21
- package/dist/index126.cjs +0 -1
- package/dist/index126.mjs +0 -37
- package/dist/index127.cjs +0 -1
- package/dist/index127.mjs +0 -28
- package/dist/index128.cjs +0 -1
- package/dist/index128.mjs +0 -98
- package/dist/index129.cjs +0 -1
- package/dist/index129.mjs +0 -34
- package/dist/index130.cjs +0 -1
- package/dist/index130.mjs +0 -37
- package/dist/index131.cjs +0 -1
- package/dist/index131.mjs +0 -10
- package/dist/index132.cjs +0 -1
- package/dist/index132.mjs +0 -142
- package/dist/index133.cjs +0 -1
- package/dist/index133.mjs +0 -143
- package/dist/index134.cjs +0 -1
- package/dist/index134.mjs +0 -31
- package/dist/index135.cjs +0 -1
- package/dist/index135.mjs +0 -50
- package/dist/index136.cjs +0 -1
- package/dist/index136.mjs +0 -18
- package/dist/index137.cjs +0 -1
- package/dist/index137.mjs +0 -194
- package/dist/index138.cjs +0 -1
- package/dist/index138.mjs +0 -54
- package/dist/index139.cjs +0 -1
- package/dist/index139.mjs +0 -105
- package/dist/index14.cjs +0 -1
- package/dist/index14.mjs +0 -45
- package/dist/index140.cjs +0 -1
- package/dist/index140.mjs +0 -40
- package/dist/index141.cjs +0 -1
- package/dist/index141.mjs +0 -25
- package/dist/index142.cjs +0 -1
- package/dist/index142.mjs +0 -87
- package/dist/index143.cjs +0 -1
- package/dist/index143.mjs +0 -21
- package/dist/index144.cjs +0 -1
- package/dist/index144.mjs +0 -28
- package/dist/index145.cjs +0 -1
- package/dist/index145.mjs +0 -53
- package/dist/index15.cjs +0 -1
- package/dist/index15.mjs +0 -600
- package/dist/index153.cjs +0 -1
- package/dist/index153.mjs +0 -36
- package/dist/index154.cjs +0 -1
- package/dist/index154.mjs +0 -46
- package/dist/index155.cjs +0 -1
- package/dist/index155.mjs +0 -173
- package/dist/index156.cjs +0 -1
- package/dist/index156.mjs +0 -188
- package/dist/index157.cjs +0 -1
- package/dist/index157.mjs +0 -31
- package/dist/index158.cjs +0 -1
- package/dist/index158.mjs +0 -93
- package/dist/index159.cjs +0 -1
- package/dist/index159.mjs +0 -55
- package/dist/index160.cjs +0 -1
- package/dist/index160.mjs +0 -69
- package/dist/index161.cjs +0 -1
- package/dist/index161.mjs +0 -127
- package/dist/index162.cjs +0 -1
- package/dist/index162.mjs +0 -111
- package/dist/index163.cjs +0 -1
- package/dist/index163.mjs +0 -114
- package/dist/index164.cjs +0 -1
- package/dist/index164.mjs +0 -125
- package/dist/index165.cjs +0 -1
- package/dist/index165.mjs +0 -217
- package/dist/index17.cjs +0 -1
- package/dist/index17.mjs +0 -94
- package/dist/index18.cjs +0 -1
- package/dist/index18.mjs +0 -128
- package/dist/index19.cjs +0 -1
- package/dist/index19.mjs +0 -120
- package/dist/index2.cjs +0 -1
- package/dist/index2.mjs +0 -247
- package/dist/index20.cjs +0 -1
- package/dist/index20.mjs +0 -51
- package/dist/index21.cjs +0 -1
- package/dist/index21.mjs +0 -91
- package/dist/index22.cjs +0 -1
- package/dist/index22.mjs +0 -77
- package/dist/index222.cjs +0 -1
- package/dist/index222.mjs +0 -71
- package/dist/index223.cjs +0 -1
- package/dist/index223.mjs +0 -106
- package/dist/index225.cjs +0 -1
- package/dist/index225.mjs +0 -20
- package/dist/index23.cjs +0 -1
- package/dist/index23.mjs +0 -20
- package/dist/index234.cjs +0 -1
- package/dist/index234.mjs +0 -107
- package/dist/index24.cjs +0 -1
- package/dist/index24.mjs +0 -107
- package/dist/index249.cjs +0 -1
- package/dist/index249.mjs +0 -120
- package/dist/index25.cjs +0 -1
- package/dist/index25.mjs +0 -84
- package/dist/index250.cjs +0 -1
- package/dist/index250.mjs +0 -196
- package/dist/index256.cjs +0 -1
- package/dist/index256.mjs +0 -16
- package/dist/index26.cjs +0 -1
- package/dist/index26.mjs +0 -71
- package/dist/index260.cjs +0 -1
- package/dist/index260.mjs +0 -47
- package/dist/index263.cjs +0 -1
- package/dist/index263.mjs +0 -58
- package/dist/index265.cjs +0 -1
- package/dist/index265.mjs +0 -18
- package/dist/index27.cjs +0 -1
- package/dist/index27.mjs +0 -135
- package/dist/index273.cjs +0 -1
- package/dist/index273.mjs +0 -49
- package/dist/index275.cjs +0 -1
- package/dist/index275.mjs +0 -19
- package/dist/index278.cjs +0 -1
- package/dist/index278.mjs +0 -57
- package/dist/index28.cjs +0 -1
- package/dist/index28.mjs +0 -106
- package/dist/index280.cjs +0 -1
- package/dist/index280.mjs +0 -77
- package/dist/index281.cjs +0 -1
- package/dist/index281.mjs +0 -176
- package/dist/index286.cjs +0 -1
- package/dist/index286.mjs +0 -114
- package/dist/index29.cjs +0 -1
- package/dist/index29.mjs +0 -178
- package/dist/index3.cjs +0 -1
- package/dist/index3.mjs +0 -24
- package/dist/index30.cjs +0 -1
- package/dist/index30.mjs +0 -38
- package/dist/index31.cjs +0 -1
- package/dist/index31.mjs +0 -103
- package/dist/index32.cjs +0 -1
- package/dist/index32.mjs +0 -56
- package/dist/index33.cjs +0 -1
- package/dist/index33.mjs +0 -84
- package/dist/index34.cjs +0 -1
- package/dist/index34.mjs +0 -86
- package/dist/index35.cjs +0 -6
- package/dist/index35.mjs +0 -255
- package/dist/index36.cjs +0 -1
- package/dist/index36.mjs +0 -114
- package/dist/index37.cjs +0 -1
- package/dist/index37.mjs +0 -196
- package/dist/index38.cjs +0 -1
- package/dist/index38.mjs +0 -271
- package/dist/index39.cjs +0 -1
- package/dist/index39.mjs +0 -248
- package/dist/index4.cjs +0 -1
- package/dist/index4.mjs +0 -43
- package/dist/index40.cjs +0 -1
- package/dist/index40.mjs +0 -193
- package/dist/index41.cjs +0 -1
- package/dist/index41.mjs +0 -26
- package/dist/index42.cjs +0 -1
- package/dist/index42.mjs +0 -339
- package/dist/index43.cjs +0 -1
- package/dist/index43.mjs +0 -104
- package/dist/index44.cjs +0 -1
- package/dist/index44.mjs +0 -103
- package/dist/index45.cjs +0 -1
- package/dist/index45.mjs +0 -48
- package/dist/index46.cjs +0 -1
- package/dist/index46.mjs +0 -132
- package/dist/index47.cjs +0 -1
- package/dist/index47.mjs +0 -176
- package/dist/index48.cjs +0 -1
- package/dist/index48.mjs +0 -30
- package/dist/index49.cjs +0 -1
- package/dist/index49.mjs +0 -43
- package/dist/index5.cjs +0 -1
- package/dist/index5.mjs +0 -74
- package/dist/index50.cjs +0 -1
- package/dist/index50.mjs +0 -107
- package/dist/index51.cjs +0 -1
- package/dist/index51.mjs +0 -202
- package/dist/index52.cjs +0 -1
- package/dist/index52.mjs +0 -164
- package/dist/index53.cjs +0 -1
- package/dist/index53.mjs +0 -47
- package/dist/index54.cjs +0 -1
- package/dist/index54.mjs +0 -84
- package/dist/index55.cjs +0 -1
- package/dist/index55.mjs +0 -54
- package/dist/index56.cjs +0 -3
- package/dist/index56.mjs +0 -205
- package/dist/index58.cjs +0 -1
- package/dist/index58.mjs +0 -143
- package/dist/index59.cjs +0 -1
- package/dist/index59.mjs +0 -190
- package/dist/index6.cjs +0 -1
- package/dist/index6.mjs +0 -18
- package/dist/index60.cjs +0 -1
- package/dist/index60.mjs +0 -106
- package/dist/index61.cjs +0 -1
- package/dist/index61.mjs +0 -82
- package/dist/index62.cjs +0 -1
- package/dist/index62.mjs +0 -95
- package/dist/index63.cjs +0 -1
- package/dist/index63.mjs +0 -125
- package/dist/index64.cjs +0 -1
- package/dist/index64.mjs +0 -72
- package/dist/index65.cjs +0 -1
- package/dist/index65.mjs +0 -273
- package/dist/index66.cjs +0 -1
- package/dist/index66.mjs +0 -129
- package/dist/index67.cjs +0 -1
- package/dist/index67.mjs +0 -172
- package/dist/index68.cjs +0 -1
- package/dist/index68.mjs +0 -105
- package/dist/index69.cjs +0 -1
- package/dist/index69.mjs +0 -136
- package/dist/index7.cjs +0 -1
- package/dist/index7.mjs +0 -9
- package/dist/index70.cjs +0 -1
- package/dist/index70.mjs +0 -191
- package/dist/index71.cjs +0 -1
- package/dist/index71.mjs +0 -54
- package/dist/index72.cjs +0 -1
- package/dist/index72.mjs +0 -148
- package/dist/index73.cjs +0 -1
- package/dist/index73.mjs +0 -76
- package/dist/index74.cjs +0 -1
- package/dist/index74.mjs +0 -87
- package/dist/index75.cjs +0 -1
- package/dist/index75.mjs +0 -36
- package/dist/index76.cjs +0 -1
- package/dist/index76.mjs +0 -84
- package/dist/index77.cjs +0 -1
- package/dist/index77.mjs +0 -153
- package/dist/index78.cjs +0 -1
- package/dist/index78.mjs +0 -54
- package/dist/index79.cjs +0 -1
- package/dist/index79.mjs +0 -109
- package/dist/index8.cjs +0 -1
- package/dist/index8.mjs +0 -6
- package/dist/index80.cjs +0 -1
- package/dist/index80.mjs +0 -28
- package/dist/index81.cjs +0 -1
- package/dist/index81.mjs +0 -31
- package/dist/index82.cjs +0 -1
- package/dist/index82.mjs +0 -133
- package/dist/index83.cjs +0 -1
- package/dist/index83.mjs +0 -80
- package/dist/index84.cjs +0 -1
- package/dist/index84.mjs +0 -101
- package/dist/index85.cjs +0 -1
- package/dist/index85.mjs +0 -97
- package/dist/index86.cjs +0 -1
- package/dist/index86.mjs +0 -118
- package/dist/index87.cjs +0 -1
- package/dist/index87.mjs +0 -389
- package/dist/index88.cjs +0 -38
- package/dist/index88.mjs +0 -98
- package/dist/index89.cjs +0 -1
- package/dist/index89.mjs +0 -225
- package/dist/index9.cjs +0 -1
- package/dist/index9.mjs +0 -4
- package/dist/index90.cjs +0 -1
- package/dist/index90.mjs +0 -48
- package/dist/index91.cjs +0 -1
- package/dist/index91.mjs +0 -101
- package/dist/index92.cjs +0 -1
- package/dist/index92.mjs +0 -39
- package/dist/index93.cjs +0 -1
- package/dist/index93.mjs +0 -161
- package/dist/index94.cjs +0 -1
- package/dist/index94.mjs +0 -119
- /package/dist/{index245.cjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index245.mjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index251.cjs → blocks/sections/AppDownload/AppDownload.module.css.cjs} +0 -0
- /package/dist/{index251.mjs → blocks/sections/AppDownload/AppDownload.module.css.mjs} +0 -0
- /package/dist/{index255.cjs → blocks/sections/Blog/Blog.module.css.cjs} +0 -0
- /package/dist/{index255.mjs → blocks/sections/Blog/Blog.module.css.mjs} +0 -0
- /package/dist/{index262.cjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs} +0 -0
- /package/dist/{index262.mjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs} +0 -0
- /package/dist/{index253.cjs → blocks/sections/CTA/CTA.module.css.cjs} +0 -0
- /package/dist/{index253.mjs → blocks/sections/CTA/CTA.module.css.mjs} +0 -0
- /package/dist/{index246.cjs → blocks/sections/CarouselSection/CarouselSection.module.css.cjs} +0 -0
- /package/dist/{index246.mjs → blocks/sections/CarouselSection/CarouselSection.module.css.mjs} +0 -0
- /package/dist/{index244.cjs → blocks/sections/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index244.mjs → blocks/sections/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index248.cjs → blocks/sections/Comparison/Comparison.module.css.cjs} +0 -0
- /package/dist/{index248.mjs → blocks/sections/Comparison/Comparison.module.css.mjs} +0 -0
- /package/dist/{index271.cjs → blocks/sections/Contact/Contact.module.css.cjs} +0 -0
- /package/dist/{index271.mjs → blocks/sections/Contact/Contact.module.css.mjs} +0 -0
- /package/dist/{index270.cjs → blocks/sections/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index270.mjs → blocks/sections/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index264.cjs → blocks/sections/FAQ/FAQ.module.css.cjs} +0 -0
- /package/dist/{index264.mjs → blocks/sections/FAQ/FAQ.module.css.mjs} +0 -0
- /package/dist/{index257.cjs → blocks/sections/Features/Features.module.css.cjs} +0 -0
- /package/dist/{index257.mjs → blocks/sections/Features/Features.module.css.mjs} +0 -0
- /package/dist/{index247.cjs → blocks/sections/Footer/Footer.module.css.cjs} +0 -0
- /package/dist/{index247.mjs → blocks/sections/Footer/Footer.module.css.mjs} +0 -0
- /package/dist/{index272.cjs → blocks/sections/Gallery/Gallery.module.css.cjs} +0 -0
- /package/dist/{index272.mjs → blocks/sections/Gallery/Gallery.module.css.mjs} +0 -0
- /package/dist/{index254.cjs → blocks/sections/Hero/Hero.module.css.cjs} +0 -0
- /package/dist/{index254.mjs → blocks/sections/Hero/Hero.module.css.mjs} +0 -0
- /package/dist/{index258.cjs → blocks/sections/LogoCloud/LogoCloud.module.css.cjs} +0 -0
- /package/dist/{index258.mjs → blocks/sections/LogoCloud/LogoCloud.module.css.mjs} +0 -0
- /package/dist/{index259.cjs → blocks/sections/Newsletter/Newsletter.module.css.cjs} +0 -0
- /package/dist/{index259.mjs → blocks/sections/Newsletter/Newsletter.module.css.mjs} +0 -0
- /package/dist/{index274.cjs → blocks/sections/Pricing/Pricing.module.css.cjs} +0 -0
- /package/dist/{index274.mjs → blocks/sections/Pricing/Pricing.module.css.mjs} +0 -0
- /package/dist/{index252.cjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs} +0 -0
- /package/dist/{index252.mjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs} +0 -0
- /package/dist/{index267.cjs → blocks/sections/SocialProof/SocialProof.module.css.cjs} +0 -0
- /package/dist/{index267.mjs → blocks/sections/SocialProof/SocialProof.module.css.mjs} +0 -0
- /package/dist/{index266.cjs → blocks/sections/Stats/Stats.module.css.cjs} +0 -0
- /package/dist/{index266.mjs → blocks/sections/Stats/Stats.module.css.mjs} +0 -0
- /package/dist/{index268.cjs → blocks/sections/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index268.mjs → blocks/sections/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index276.cjs → blocks/sections/Team/Team.module.css.cjs} +0 -0
- /package/dist/{index276.mjs → blocks/sections/Team/Team.module.css.mjs} +0 -0
- /package/dist/{index261.cjs → blocks/sections/Testimonials/Testimonials.module.css.cjs} +0 -0
- /package/dist/{index261.mjs → blocks/sections/Testimonials/Testimonials.module.css.mjs} +0 -0
- /package/dist/{index269.cjs → blocks/sections/Timeline/Timeline.module.css.cjs} +0 -0
- /package/dist/{index269.mjs → blocks/sections/Timeline/Timeline.module.css.mjs} +0 -0
- /package/dist/{index235.cjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.cjs} +0 -0
- /package/dist/{index235.mjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.mjs} +0 -0
- /package/dist/{index243.cjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.cjs} +0 -0
- /package/dist/{index243.mjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.mjs} +0 -0
- /package/dist/{index237.cjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index237.mjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index227.cjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.cjs} +0 -0
- /package/dist/{index227.mjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.mjs} +0 -0
- /package/dist/{index226.cjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index226.mjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index241.cjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.cjs} +0 -0
- /package/dist/{index241.mjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.mjs} +0 -0
- /package/dist/{index224.cjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.cjs} +0 -0
- /package/dist/{index224.mjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.mjs} +0 -0
- /package/dist/{index236.cjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.cjs} +0 -0
- /package/dist/{index236.mjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.mjs} +0 -0
- /package/dist/{index216.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
- /package/dist/{index216.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
- /package/dist/{index205.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index205.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index193.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
- /package/dist/{index193.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
- /package/dist/{index181.cjs → components/Alert/Alert.module.css.cjs} +0 -0
- /package/dist/{index181.mjs → components/Alert/Alert.module.css.mjs} +0 -0
- /package/dist/{index170.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
- /package/dist/{index170.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
- /package/dist/{index219.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
- /package/dist/{index219.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
- /package/dist/{index185.cjs → components/Badge/Badge.module.css.cjs} +0 -0
- /package/dist/{index185.mjs → components/Badge/Badge.module.css.mjs} +0 -0
- /package/dist/{index183.cjs → components/Banner/Banner.module.css.cjs} +0 -0
- /package/dist/{index183.mjs → components/Banner/Banner.module.css.mjs} +0 -0
- /package/dist/{index210.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
- /package/dist/{index210.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
- /package/dist/{index194.cjs → components/Button/Button.module.css.cjs} +0 -0
- /package/dist/{index194.mjs → components/Button/Button.module.css.mjs} +0 -0
- /package/dist/{index151.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
- /package/dist/{index151.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
- /package/dist/{index196.cjs → components/Card/Card.module.css.cjs} +0 -0
- /package/dist/{index196.mjs → components/Card/Card.module.css.mjs} +0 -0
- /package/dist/{index176.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
- /package/dist/{index176.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
- /package/dist/{index148.cjs → components/Chart/Chart.module.css.cjs} +0 -0
- /package/dist/{index148.mjs → components/Chart/Chart.module.css.mjs} +0 -0
- /package/dist/{index147.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
- /package/dist/{index147.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
- /package/dist/{index152.cjs → components/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index152.mjs → components/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index95.cjs → components/Chat/hooks/useAutoScroll.cjs} +0 -0
- /package/dist/{index95.mjs → components/Chat/hooks/useAutoScroll.mjs} +0 -0
- /package/dist/{index96.cjs → components/Chat/hooks/useChatInput.cjs} +0 -0
- /package/dist/{index96.mjs → components/Chat/hooks/useChatInput.mjs} +0 -0
- /package/dist/{index104.cjs → components/Chat/hooks/useStreamingText.cjs} +0 -0
- /package/dist/{index104.mjs → components/Chat/hooks/useStreamingText.mjs} +0 -0
- /package/dist/{index106.cjs → components/Chat/hooks/useVoiceRecorder.cjs} +0 -0
- /package/dist/{index106.mjs → components/Chat/hooks/useVoiceRecorder.mjs} +0 -0
- /package/dist/{index277.cjs → components/Chat/utils.cjs} +0 -0
- /package/dist/{index277.mjs → components/Chat/utils.mjs} +0 -0
- /package/dist/{index215.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
- /package/dist/{index215.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
- /package/dist/{index169.cjs → components/Chip/Chip.module.css.cjs} +0 -0
- /package/dist/{index169.mjs → components/Chip/Chip.module.css.mjs} +0 -0
- /package/dist/{index149.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
- /package/dist/{index149.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
- /package/dist/{index168.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
- /package/dist/{index168.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
- /package/dist/{index190.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
- /package/dist/{index190.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
- /package/dist/{index166.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
- /package/dist/{index166.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
- /package/dist/{index174.cjs → components/Command/Command.module.css.cjs} +0 -0
- /package/dist/{index174.mjs → components/Command/Command.module.css.mjs} +0 -0
- /package/dist/{index231.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
- /package/dist/{index231.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
- /package/dist/{index242.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
- /package/dist/{index242.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
- /package/dist/{index177.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
- /package/dist/{index177.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
- /package/dist/{index198.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
- /package/dist/{index198.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
- /package/dist/{index220.cjs → components/Divider/Divider.module.css.cjs} +0 -0
- /package/dist/{index220.mjs → components/Divider/Divider.module.css.mjs} +0 -0
- /package/dist/{index209.cjs → components/Drawer/Drawer.module.css.cjs} +0 -0
- /package/dist/{index209.mjs → components/Drawer/Drawer.module.css.mjs} +0 -0
- /package/dist/{index189.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
- /package/dist/{index189.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
- /package/dist/{index233.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index233.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index179.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
- /package/dist/{index179.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
- /package/dist/{index182.cjs → components/Field/Field.module.css.cjs} +0 -0
- /package/dist/{index182.mjs → components/Field/Field.module.css.mjs} +0 -0
- /package/dist/{index212.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
- /package/dist/{index212.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
- /package/dist/{index207.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
- /package/dist/{index207.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
- /package/dist/{index213.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
- /package/dist/{index213.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
- /package/dist/{index173.cjs → components/Icon/Icon.module.css.cjs} +0 -0
- /package/dist/{index173.mjs → components/Icon/Icon.module.css.mjs} +0 -0
- /package/dist/{index192.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
- /package/dist/{index192.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
- /package/dist/{index187.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
- /package/dist/{index187.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
- /package/dist/{index184.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
- /package/dist/{index184.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
- /package/dist/{index202.cjs → components/Link/Link.module.css.cjs} +0 -0
- /package/dist/{index202.mjs → components/Link/Link.module.css.mjs} +0 -0
- /package/dist/{index200.cjs → components/List/List.module.css.cjs} +0 -0
- /package/dist/{index200.mjs → components/List/List.module.css.mjs} +0 -0
- /package/dist/{index206.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
- /package/dist/{index206.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
- /package/dist/{index195.cjs → components/Modal/Modal.module.css.cjs} +0 -0
- /package/dist/{index195.mjs → components/Modal/Modal.module.css.mjs} +0 -0
- /package/dist/{index232.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
- /package/dist/{index232.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
- /package/dist/{index214.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
- /package/dist/{index214.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
- /package/dist/{index217.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
- /package/dist/{index217.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
- /package/dist/{index218.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
- /package/dist/{index218.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
- /package/dist/{index188.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
- /package/dist/{index188.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
- /package/dist/{index228.cjs → components/Popover/Popover.module.css.cjs} +0 -0
- /package/dist/{index228.mjs → components/Popover/Popover.module.css.mjs} +0 -0
- /package/dist/{index221.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
- /package/dist/{index221.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
- /package/dist/{index238.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
- /package/dist/{index238.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
- /package/dist/{index178.cjs → components/Radio/Radio.module.css.cjs} +0 -0
- /package/dist/{index178.mjs → components/Radio/Radio.module.css.mjs} +0 -0
- /package/dist/{index199.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
- /package/dist/{index199.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
- /package/dist/{index208.cjs → components/Select/Select.module.css.cjs} +0 -0
- /package/dist/{index208.mjs → components/Select/Select.module.css.mjs} +0 -0
- /package/dist/{index211.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
- /package/dist/{index211.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
- /package/dist/{index171.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
- /package/dist/{index171.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
- /package/dist/{index197.cjs → components/Slider/Slider.module.css.cjs} +0 -0
- /package/dist/{index197.mjs → components/Slider/Slider.module.css.mjs} +0 -0
- /package/dist/{index201.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
- /package/dist/{index201.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
- /package/dist/{index240.cjs → components/Stack/Stack.module.css.cjs} +0 -0
- /package/dist/{index240.mjs → components/Stack/Stack.module.css.mjs} +0 -0
- /package/dist/{index239.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index239.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index167.cjs → components/Switch/Switch.module.css.cjs} +0 -0
- /package/dist/{index167.mjs → components/Switch/Switch.module.css.mjs} +0 -0
- /package/dist/{index204.cjs → components/Table/Table.module.css.cjs} +0 -0
- /package/dist/{index204.mjs → components/Table/Table.module.css.mjs} +0 -0
- /package/dist/{index230.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
- /package/dist/{index230.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
- /package/dist/{index172.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
- /package/dist/{index172.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
- /package/dist/{index191.cjs → components/Toast/Toast.module.css.cjs} +0 -0
- /package/dist/{index191.mjs → components/Toast/Toast.module.css.mjs} +0 -0
- /package/dist/{index186.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
- /package/dist/{index186.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
- /package/dist/{index175.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
- /package/dist/{index175.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
- /package/dist/{index180.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
- /package/dist/{index180.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
- /package/dist/{index229.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
- /package/dist/{index229.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
- /package/dist/{index203.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
- /package/dist/{index203.mjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs} +0 -0
- /package/dist/{index288.cjs → dist/index146.cjs} +0 -0
- /package/dist/{index288.mjs → dist/index146.mjs} +0 -0
- /package/dist/{index285.cjs → dist/index149.cjs} +0 -0
- /package/dist/{index285.mjs → dist/index149.mjs} +0 -0
- /package/dist/{index279.cjs → dist/index172.cjs} +0 -0
- /package/dist/{index279.mjs → dist/index172.mjs} +0 -0
- /package/dist/{index282.cjs → dist/index175.cjs} +0 -0
- /package/dist/{index282.mjs → dist/index175.mjs} +0 -0
- /package/dist/{index289.cjs → dist/index180.cjs} +0 -0
- /package/dist/{index289.mjs → dist/index180.mjs} +0 -0
- /package/dist/{index290.cjs → dist/index189.cjs} +0 -0
- /package/dist/{index290.mjs → dist/index189.mjs} +0 -0
- /package/dist/{index284.cjs → dist/index225.cjs} +0 -0
- /package/dist/{index284.mjs → dist/index225.mjs} +0 -0
- /package/dist/{index283.cjs → dist/index232.cjs} +0 -0
- /package/dist/{index283.mjs → dist/index232.mjs} +0 -0
- /package/dist/{index287.cjs → dist/index240.cjs} +0 -0
- /package/dist/{index287.mjs → dist/index240.mjs} +0 -0
- /package/dist/{index97.cjs → hooks/useClickOutside.cjs} +0 -0
- /package/dist/{index97.mjs → hooks/useClickOutside.mjs} +0 -0
- /package/dist/{index98.cjs → hooks/useCopyToClipboard.cjs} +0 -0
- /package/dist/{index98.mjs → hooks/useCopyToClipboard.mjs} +0 -0
- /package/dist/{index99.cjs → hooks/useDebounce.cjs} +0 -0
- /package/dist/{index99.mjs → hooks/useDebounce.mjs} +0 -0
- /package/dist/{index100.cjs → hooks/useDisclosure.cjs} +0 -0
- /package/dist/{index100.mjs → hooks/useDisclosure.mjs} +0 -0
- /package/dist/{index102.cjs → hooks/useKeyboard.cjs} +0 -0
- /package/dist/{index102.mjs → hooks/useKeyboard.mjs} +0 -0
- /package/dist/{index103.cjs → hooks/useLocalStorage.cjs} +0 -0
- /package/dist/{index103.mjs → hooks/useLocalStorage.mjs} +0 -0
- /package/dist/{index101.cjs → hooks/useMediaQuery.cjs} +0 -0
- /package/dist/{index101.mjs → hooks/useMediaQuery.mjs} +0 -0
- /package/dist/{index105.cjs → hooks/useTheme.cjs} +0 -0
- /package/dist/{index105.mjs → hooks/useTheme.mjs} +0 -0
- /package/dist/{index146.cjs → sections/Container/Container.module.css.cjs} +0 -0
- /package/dist/{index146.mjs → sections/Container/Container.module.css.mjs} +0 -0
- /package/dist/{index150.cjs → sections/Section/Section.module.css.cjs} +0 -0
- /package/dist/{index150.mjs → sections/Section/Section.module.css.mjs} +0 -0
- /package/dist/{index109.cjs → tokens/brands.cjs} +0 -0
- /package/dist/{index109.mjs → tokens/brands.mjs} +0 -0
- /package/dist/{index13.cjs → tokens/primitives.cjs} +0 -0
- /package/dist/{index13.mjs → tokens/primitives.mjs} +0 -0
- /package/dist/{index108.cjs → tokens/themes.cjs} +0 -0
- /package/dist/{index108.mjs → tokens/themes.mjs} +0 -0
- /package/dist/{index16.cjs → utils/fonts.cjs} +0 -0
- /package/dist/{index16.mjs → utils/fonts.mjs} +0 -0
- /package/dist/{index57.cjs → utils/icons.cjs} +0 -0
- /package/dist/{index57.mjs → utils/icons.mjs} +0 -0
- /package/dist/{index107.cjs → utils/validation.cjs} +0 -0
- /package/dist/{index107.mjs → utils/validation.mjs} +0 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as F, useState as G, useCallback as p } from "react";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import { Button as h } from "../../../../dist/index26.mjs";
|
|
5
|
+
import { Card as m } from "../../../../dist/index28.mjs";
|
|
6
|
+
import { Field as n } from "../../../../dist/index50.mjs";
|
|
7
|
+
import r from "./AgentEditor.module.css.mjs";
|
|
8
|
+
const A = F(
|
|
9
|
+
({
|
|
10
|
+
title: u = "Edit Agent",
|
|
11
|
+
agent: v,
|
|
12
|
+
availableModels: i = ["gpt-4", "gpt-3.5-turbo", "claude-3-opus"],
|
|
13
|
+
onSave: d,
|
|
14
|
+
onCancel: f,
|
|
15
|
+
isLoading: l = !1,
|
|
16
|
+
error: c,
|
|
17
|
+
className: b,
|
|
18
|
+
...g
|
|
19
|
+
}, N) => {
|
|
20
|
+
const [t, y] = G(
|
|
21
|
+
v || {
|
|
22
|
+
id: "",
|
|
23
|
+
name: "",
|
|
24
|
+
description: "",
|
|
25
|
+
model: i[0] || "gpt-4",
|
|
26
|
+
systemPrompt: "",
|
|
27
|
+
temperature: 0.7,
|
|
28
|
+
maxTokens: 2e3
|
|
29
|
+
}
|
|
30
|
+
), o = p(
|
|
31
|
+
(a, C) => {
|
|
32
|
+
y((k) => ({
|
|
33
|
+
...k,
|
|
34
|
+
[a]: C
|
|
35
|
+
}));
|
|
36
|
+
},
|
|
37
|
+
[]
|
|
38
|
+
), x = p(() => {
|
|
39
|
+
t.name.trim() && d?.(t);
|
|
40
|
+
}, [t, d]);
|
|
41
|
+
return /* @__PURE__ */ e(
|
|
42
|
+
"div",
|
|
43
|
+
{
|
|
44
|
+
ref: N,
|
|
45
|
+
className: [r.root, b].filter(Boolean).join(" "),
|
|
46
|
+
...g,
|
|
47
|
+
children: /* @__PURE__ */ s(m, { children: [
|
|
48
|
+
/* @__PURE__ */ e(m.Header, { children: /* @__PURE__ */ e("h2", { className: r.title, children: u }) }),
|
|
49
|
+
/* @__PURE__ */ s(m.Body, { className: r.body, children: [
|
|
50
|
+
c && /* @__PURE__ */ e("div", { className: r.error, children: c }),
|
|
51
|
+
/* @__PURE__ */ e("div", { className: r.formGroup, children: /* @__PURE__ */ e(
|
|
52
|
+
n,
|
|
53
|
+
{
|
|
54
|
+
label: "Agent Name",
|
|
55
|
+
type: "text",
|
|
56
|
+
placeholder: "e.g., Customer Support Bot",
|
|
57
|
+
value: t.name,
|
|
58
|
+
onChange: (a) => o("name", a.target.value),
|
|
59
|
+
disabled: l
|
|
60
|
+
}
|
|
61
|
+
) }),
|
|
62
|
+
/* @__PURE__ */ e("div", { className: r.formGroup, children: /* @__PURE__ */ e(
|
|
63
|
+
n,
|
|
64
|
+
{
|
|
65
|
+
label: "Description",
|
|
66
|
+
placeholder: "Brief description of the agent's purpose",
|
|
67
|
+
value: t.description,
|
|
68
|
+
onChange: (a) => o("description", a.target.value),
|
|
69
|
+
disabled: l
|
|
70
|
+
}
|
|
71
|
+
) }),
|
|
72
|
+
/* @__PURE__ */ s("div", { className: r.formRow, children: [
|
|
73
|
+
/* @__PURE__ */ s("div", { className: r.formGroup, children: [
|
|
74
|
+
/* @__PURE__ */ e("label", { htmlFor: "model", className: r.label, children: "Model" }),
|
|
75
|
+
/* @__PURE__ */ e(
|
|
76
|
+
"select",
|
|
77
|
+
{
|
|
78
|
+
id: "model",
|
|
79
|
+
className: r.select,
|
|
80
|
+
value: t.model,
|
|
81
|
+
onChange: (a) => o("model", a.target.value),
|
|
82
|
+
disabled: l,
|
|
83
|
+
children: i.map((a) => /* @__PURE__ */ e("option", { value: a, children: a }, a))
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
] }),
|
|
87
|
+
/* @__PURE__ */ e("div", { className: r.formGroup, children: /* @__PURE__ */ e(
|
|
88
|
+
n,
|
|
89
|
+
{
|
|
90
|
+
label: "Temperature",
|
|
91
|
+
type: "number",
|
|
92
|
+
min: "0",
|
|
93
|
+
max: "2",
|
|
94
|
+
step: "0.1",
|
|
95
|
+
value: t.temperature,
|
|
96
|
+
onChange: (a) => o("temperature", parseFloat(a.target.value)),
|
|
97
|
+
disabled: l
|
|
98
|
+
}
|
|
99
|
+
) })
|
|
100
|
+
] }),
|
|
101
|
+
/* @__PURE__ */ e("div", { className: r.formGroup, children: /* @__PURE__ */ e(
|
|
102
|
+
n,
|
|
103
|
+
{
|
|
104
|
+
label: "Max Tokens",
|
|
105
|
+
type: "number",
|
|
106
|
+
min: "1",
|
|
107
|
+
max: "32000",
|
|
108
|
+
value: t.maxTokens,
|
|
109
|
+
onChange: (a) => o("maxTokens", parseInt(a.target.value, 10)),
|
|
110
|
+
disabled: l
|
|
111
|
+
}
|
|
112
|
+
) }),
|
|
113
|
+
/* @__PURE__ */ s("div", { className: r.formGroup, children: [
|
|
114
|
+
/* @__PURE__ */ e("label", { htmlFor: "system-prompt", className: r.label, children: "System Prompt" }),
|
|
115
|
+
/* @__PURE__ */ e(
|
|
116
|
+
"textarea",
|
|
117
|
+
{
|
|
118
|
+
id: "system-prompt",
|
|
119
|
+
className: r.textarea,
|
|
120
|
+
placeholder: "Define the agent's behavior and instructions",
|
|
121
|
+
value: t.systemPrompt,
|
|
122
|
+
onChange: (a) => o("systemPrompt", a.target.value),
|
|
123
|
+
disabled: l,
|
|
124
|
+
rows: 6
|
|
125
|
+
}
|
|
126
|
+
)
|
|
127
|
+
] })
|
|
128
|
+
] }),
|
|
129
|
+
/* @__PURE__ */ s(m.Footer, { className: r.footer, children: [
|
|
130
|
+
/* @__PURE__ */ e(
|
|
131
|
+
h,
|
|
132
|
+
{
|
|
133
|
+
variant: "ghost",
|
|
134
|
+
onClick: f,
|
|
135
|
+
disabled: l,
|
|
136
|
+
children: "Cancel"
|
|
137
|
+
}
|
|
138
|
+
),
|
|
139
|
+
/* @__PURE__ */ e(
|
|
140
|
+
h,
|
|
141
|
+
{
|
|
142
|
+
variant: "primary",
|
|
143
|
+
onClick: x,
|
|
144
|
+
isLoading: l,
|
|
145
|
+
disabled: !t.name.trim(),
|
|
146
|
+
children: "Save Agent"
|
|
147
|
+
}
|
|
148
|
+
)
|
|
149
|
+
] })
|
|
150
|
+
] })
|
|
151
|
+
}
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
);
|
|
155
|
+
A.displayName = "AgentEditor";
|
|
156
|
+
export {
|
|
157
|
+
A as AgentEditor
|
|
158
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),i=require("lucide-react"),k=require("../../../../dist/index23.cjs"),j=require("../../../../dist/index26.cjs"),d=require("../../../../dist/index28.cjs"),a=require("./AgentWorkspace.module.css.cjs");function B(l){switch(l){case"active":return"success";case"inactive":return"info";case"error":return"error";default:return"info"}}function S(l){return l.charAt(0).toUpperCase()+l.slice(1)}const x=r.forwardRef(({title:l="Agent Workspace",agents:n=[],selectedAgentId:p,onSelectAgent:N,onCreateAgent:c,onDeleteAgent:o,onEditAgent:u,isLoading:m=!1,error:f,subtitle:h,className:g,...C},v)=>{const y=r.useCallback((t,s)=>{s.stopPropagation(),window.confirm("Are you sure you want to delete this agent?")&&o?.(t)},[o]),b=r.useCallback((t,s)=>{s.stopPropagation(),u?.(t)},[u]);return e.jsxs("div",{ref:v,className:[a.default.root,g].filter(Boolean).join(" "),...C,children:[e.jsxs("div",{className:a.default.header,children:[e.jsxs("div",{className:a.default.headerContent,children:[e.jsx("h1",{className:a.default.title,children:l}),h&&e.jsx("p",{className:a.default.subtitle,children:h})]}),e.jsx(j.Button,{variant:"primary",icon:e.jsx(i.Plus,{size:20}),onClick:c,disabled:m,children:"New Agent"})]}),f&&e.jsx("div",{className:a.default.error,children:f}),e.jsx("div",{className:a.default.grid,children:n.length===0?e.jsx(d.Card,{className:a.default.emptyState,children:e.jsxs(d.Card.Body,{className:a.default.emptyStateBody,children:[e.jsx("div",{className:a.default.emptyStateIcon,children:"📋"}),e.jsx("h3",{className:a.default.emptyStateTitle,children:"No agents yet"}),e.jsx("p",{className:a.default.emptyStateText,children:"Create your first agent to get started"}),e.jsx(j.Button,{variant:"primary",onClick:c,disabled:m,children:"Create Agent"})]})}):n.map(t=>e.jsx(d.Card,{className:[a.default.agentCard,p===t.id&&a.default.agentCardSelected].filter(Boolean).join(" "),onClick:()=>N?.(t.id),children:e.jsxs(d.Card.Body,{className:a.default.agentCardBody,children:[e.jsxs("div",{className:a.default.agentHeader,children:[e.jsxs("div",{className:a.default.agentInfo,children:[e.jsx("h3",{className:a.default.agentName,children:t.name}),e.jsx(k.Badge,{variant:B(t.status),size:"sm",children:S(t.status)})]}),e.jsxs("div",{className:a.default.agentActions,children:[e.jsx("button",{className:a.default.actionButton,onClick:s=>b(t.id,s),"aria-label":"Edit agent",title:"Edit agent",children:e.jsx(i.Edit2,{size:18})}),e.jsx("button",{className:[a.default.actionButton,a.default.actionButtonDanger].join(" "),onClick:s=>y(t.id,s),"aria-label":"Delete agent",title:"Delete agent",children:e.jsx(i.Trash2,{size:18})})]})]}),e.jsx("p",{className:a.default.agentDescription,children:t.description}),e.jsxs("div",{className:a.default.agentMeta,children:[e.jsxs("div",{className:a.default.metaItem,children:[e.jsx(i.Clock,{size:14}),e.jsxs("span",{className:a.default.metaLabel,children:["Updated"," ",new Date(t.lastUpdated).toLocaleDateString()]})]}),t.usageCount!==void 0&&e.jsx("div",{className:a.default.metaItem,children:e.jsxs("span",{className:a.default.metaLabel,children:[t.usageCount," uses"]})})]})]})},t.id))})]})});x.displayName="AgentWorkspace";exports.AgentWorkspace=x;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as k, useCallback as u } from "react";
|
|
3
|
+
import { Plus as S, Edit2 as w, Trash2 as D, Clock as j } from "lucide-react";
|
|
4
|
+
import { Badge as x } from "../../../../dist/index23.mjs";
|
|
5
|
+
import { Button as N } from "../../../../dist/index26.mjs";
|
|
6
|
+
import { Card as l } from "../../../../dist/index28.mjs";
|
|
7
|
+
import e from "./AgentWorkspace.module.css.mjs";
|
|
8
|
+
function z(r) {
|
|
9
|
+
switch (r) {
|
|
10
|
+
case "active":
|
|
11
|
+
return "success";
|
|
12
|
+
case "inactive":
|
|
13
|
+
return "info";
|
|
14
|
+
case "error":
|
|
15
|
+
return "error";
|
|
16
|
+
default:
|
|
17
|
+
return "info";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function A(r) {
|
|
21
|
+
return r.charAt(0).toUpperCase() + r.slice(1);
|
|
22
|
+
}
|
|
23
|
+
const I = k(
|
|
24
|
+
({
|
|
25
|
+
title: r = "Agent Workspace",
|
|
26
|
+
agents: n = [],
|
|
27
|
+
selectedAgentId: f,
|
|
28
|
+
onSelectAgent: v,
|
|
29
|
+
onCreateAgent: c,
|
|
30
|
+
onDeleteAgent: d,
|
|
31
|
+
onEditAgent: o,
|
|
32
|
+
isLoading: m = !1,
|
|
33
|
+
error: h,
|
|
34
|
+
subtitle: p,
|
|
35
|
+
className: g,
|
|
36
|
+
...y
|
|
37
|
+
}, C) => {
|
|
38
|
+
const B = u(
|
|
39
|
+
(t, s) => {
|
|
40
|
+
s.stopPropagation(), window.confirm("Are you sure you want to delete this agent?") && d?.(t);
|
|
41
|
+
},
|
|
42
|
+
[d]
|
|
43
|
+
), b = u(
|
|
44
|
+
(t, s) => {
|
|
45
|
+
s.stopPropagation(), o?.(t);
|
|
46
|
+
},
|
|
47
|
+
[o]
|
|
48
|
+
);
|
|
49
|
+
return /* @__PURE__ */ i(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
ref: C,
|
|
53
|
+
className: [e.root, g].filter(Boolean).join(" "),
|
|
54
|
+
...y,
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ i("div", { className: e.header, children: [
|
|
57
|
+
/* @__PURE__ */ i("div", { className: e.headerContent, children: [
|
|
58
|
+
/* @__PURE__ */ a("h1", { className: e.title, children: r }),
|
|
59
|
+
p && /* @__PURE__ */ a("p", { className: e.subtitle, children: p })
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ a(
|
|
62
|
+
N,
|
|
63
|
+
{
|
|
64
|
+
variant: "primary",
|
|
65
|
+
icon: /* @__PURE__ */ a(S, { size: 20 }),
|
|
66
|
+
onClick: c,
|
|
67
|
+
disabled: m,
|
|
68
|
+
children: "New Agent"
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] }),
|
|
72
|
+
h && /* @__PURE__ */ a("div", { className: e.error, children: h }),
|
|
73
|
+
/* @__PURE__ */ a("div", { className: e.grid, children: n.length === 0 ? /* @__PURE__ */ a(l, { className: e.emptyState, children: /* @__PURE__ */ i(l.Body, { className: e.emptyStateBody, children: [
|
|
74
|
+
/* @__PURE__ */ a("div", { className: e.emptyStateIcon, children: "📋" }),
|
|
75
|
+
/* @__PURE__ */ a("h3", { className: e.emptyStateTitle, children: "No agents yet" }),
|
|
76
|
+
/* @__PURE__ */ a("p", { className: e.emptyStateText, children: "Create your first agent to get started" }),
|
|
77
|
+
/* @__PURE__ */ a(
|
|
78
|
+
N,
|
|
79
|
+
{
|
|
80
|
+
variant: "primary",
|
|
81
|
+
onClick: c,
|
|
82
|
+
disabled: m,
|
|
83
|
+
children: "Create Agent"
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
] }) }) : n.map((t) => /* @__PURE__ */ a(
|
|
87
|
+
l,
|
|
88
|
+
{
|
|
89
|
+
className: [
|
|
90
|
+
e.agentCard,
|
|
91
|
+
f === t.id && e.agentCardSelected
|
|
92
|
+
].filter(Boolean).join(" "),
|
|
93
|
+
onClick: () => v?.(t.id),
|
|
94
|
+
children: /* @__PURE__ */ i(l.Body, { className: e.agentCardBody, children: [
|
|
95
|
+
/* @__PURE__ */ i("div", { className: e.agentHeader, children: [
|
|
96
|
+
/* @__PURE__ */ i("div", { className: e.agentInfo, children: [
|
|
97
|
+
/* @__PURE__ */ a("h3", { className: e.agentName, children: t.name }),
|
|
98
|
+
/* @__PURE__ */ a(x, { variant: z(t.status), size: "sm", children: A(t.status) })
|
|
99
|
+
] }),
|
|
100
|
+
/* @__PURE__ */ i("div", { className: e.agentActions, children: [
|
|
101
|
+
/* @__PURE__ */ a(
|
|
102
|
+
"button",
|
|
103
|
+
{
|
|
104
|
+
className: e.actionButton,
|
|
105
|
+
onClick: (s) => b(t.id, s),
|
|
106
|
+
"aria-label": "Edit agent",
|
|
107
|
+
title: "Edit agent",
|
|
108
|
+
children: /* @__PURE__ */ a(w, { size: 18 })
|
|
109
|
+
}
|
|
110
|
+
),
|
|
111
|
+
/* @__PURE__ */ a(
|
|
112
|
+
"button",
|
|
113
|
+
{
|
|
114
|
+
className: [
|
|
115
|
+
e.actionButton,
|
|
116
|
+
e.actionButtonDanger
|
|
117
|
+
].join(" "),
|
|
118
|
+
onClick: (s) => B(t.id, s),
|
|
119
|
+
"aria-label": "Delete agent",
|
|
120
|
+
title: "Delete agent",
|
|
121
|
+
children: /* @__PURE__ */ a(D, { size: 18 })
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
] })
|
|
125
|
+
] }),
|
|
126
|
+
/* @__PURE__ */ a("p", { className: e.agentDescription, children: t.description }),
|
|
127
|
+
/* @__PURE__ */ i("div", { className: e.agentMeta, children: [
|
|
128
|
+
/* @__PURE__ */ i("div", { className: e.metaItem, children: [
|
|
129
|
+
/* @__PURE__ */ a(j, { size: 14 }),
|
|
130
|
+
/* @__PURE__ */ i("span", { className: e.metaLabel, children: [
|
|
131
|
+
"Updated",
|
|
132
|
+
" ",
|
|
133
|
+
new Date(t.lastUpdated).toLocaleDateString()
|
|
134
|
+
] })
|
|
135
|
+
] }),
|
|
136
|
+
t.usageCount !== void 0 && /* @__PURE__ */ a("div", { className: e.metaItem, children: /* @__PURE__ */ i("span", { className: e.metaLabel, children: [
|
|
137
|
+
t.usageCount,
|
|
138
|
+
" uses"
|
|
139
|
+
] }) })
|
|
140
|
+
] })
|
|
141
|
+
] })
|
|
142
|
+
},
|
|
143
|
+
t.id
|
|
144
|
+
)) })
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
);
|
|
150
|
+
I.displayName = "AgentWorkspace";
|
|
151
|
+
export {
|
|
152
|
+
I as AgentWorkspace
|
|
153
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),r=require("lucide-react"),C=require("../../../../dist/index26.cjs"),a=require("./ChatPageTemplate.module.css.cjs"),h=t.forwardRef(({title:j="Chat",messages:d=[],inputPlaceholder:x="Type a message...",onSendMessage:c,participants:u=[],selectedParticipantId:N,onSelectParticipant:p,isTyping:v=!1,isLoading:l=!1,error:m,className:b,...g},y)=>{const[i,o]=t.useState(""),f=t.useRef(null);t.useEffect(()=>{f.current?.scrollIntoView({behavior:"smooth"})},[d]);const n=t.useCallback(()=>{i.trim()&&(c?.(i.trim()),o(""))},[i,c]),S=t.useCallback(s=>{s.key==="Enter"&&!s.shiftKey&&(s.preventDefault(),n())},[n]);return e.jsxs("div",{ref:y,className:[a.default.root,b].filter(Boolean).join(" "),...g,children:[u.length>0&&e.jsxs("div",{className:a.default.sidebar,children:[e.jsx("h3",{className:a.default.sidebarTitle,children:"Participants"}),e.jsx("div",{className:a.default.participantsList,children:u.map(s=>e.jsxs("div",{className:[a.default.participant,N===s.id&&a.default.participantActive].filter(Boolean).join(" "),onClick:()=>p?.(s.id),children:[s.avatar&&e.jsx("img",{src:s.avatar,alt:s.name,className:a.default.participantAvatar}),e.jsxs("div",{className:a.default.participantInfo,children:[e.jsx("div",{className:a.default.participantName,children:s.name}),s.status&&e.jsx("div",{className:[a.default.participantStatus,a.default[`status${s.status}`]].filter(Boolean).join(" "),children:s.status})]})]},s.id))})]}),e.jsxs("div",{className:a.default.mainArea,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx("h2",{className:a.default.title,children:j}),m&&e.jsx("div",{className:a.default.errorBadge,children:m})]}),e.jsxs("div",{className:a.default.messagesContainer,children:[d.length===0?e.jsxs("div",{className:a.default.emptyState,children:[e.jsx("div",{className:a.default.emptyStateIcon,children:"💬"}),e.jsx("h3",{className:a.default.emptyStateTitle,children:"No messages yet"}),e.jsx("p",{className:a.default.emptyStateText,children:"Start the conversation by sending a message"})]}):e.jsxs(e.Fragment,{children:[d.map(s=>e.jsxs("div",{className:[a.default.messageWrapper,a.default[`message${s.role}`]].filter(Boolean).join(" "),children:[e.jsxs("div",{className:a.default.messageBubble,children:[e.jsx("p",{className:a.default.messageContent,children:s.content}),s.timestamp&&e.jsx("span",{className:a.default.messageTime,children:new Date(s.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]}),s.status&&e.jsxs("span",{className:[a.default.messageStatus,a.default[`status${s.status}`]].filter(Boolean).join(" "),title:s.status,children:[s.status==="sending"&&"⏱",s.status==="sent"&&"✓",s.status==="error"&&"✗"]})]},s.id)),v&&e.jsx("div",{className:[a.default.messageWrapper,a.default.messageAssistant].join(" "),children:e.jsx("div",{className:a.default.messageBubble,children:e.jsxs("div",{className:a.default.typingIndicator,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})})})]}),e.jsx("div",{ref:f})]}),e.jsx("div",{className:a.default.inputArea,children:e.jsxs("div",{className:a.default.inputGroup,children:[e.jsx("button",{className:a.default.actionButton,"aria-label":"Attach file",disabled:l,children:e.jsx(r.Paperclip,{size:20})}),e.jsx("textarea",{className:a.default.input,placeholder:x,value:i,onChange:s=>o(s.target.value),onKeyDown:S,disabled:l,rows:1}),e.jsx("button",{className:a.default.actionButton,"aria-label":"Add emoji",disabled:l,children:e.jsx(r.Smile,{size:20})}),e.jsx(C.Button,{variant:"primary",iconOnly:!0,icon:e.jsx(r.Send,{size:20}),onClick:n,disabled:!i.trim()||l,isLoading:l,"aria-label":"Send message"})]})})]})]})});h.displayName="ChatPageTemplate";exports.ChatPageTemplate=h;
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { jsxs as s, jsx as t, Fragment as j } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as C, useState as T, useRef as A, useEffect as w, useCallback as u } from "react";
|
|
3
|
+
import { Paperclip as x, Smile as I, Send as k } from "lucide-react";
|
|
4
|
+
import { Button as D } from "../../../../dist/index26.mjs";
|
|
5
|
+
import e from "./ChatPageTemplate.module.css.mjs";
|
|
6
|
+
const P = C(
|
|
7
|
+
({
|
|
8
|
+
title: p = "Chat",
|
|
9
|
+
messages: n = [],
|
|
10
|
+
inputPlaceholder: N = "Type a message...",
|
|
11
|
+
onSendMessage: c,
|
|
12
|
+
participants: d = [],
|
|
13
|
+
selectedParticipantId: v,
|
|
14
|
+
onSelectParticipant: f,
|
|
15
|
+
isTyping: b = !1,
|
|
16
|
+
isLoading: i = !1,
|
|
17
|
+
error: m,
|
|
18
|
+
className: y,
|
|
19
|
+
...g
|
|
20
|
+
}, S) => {
|
|
21
|
+
const [l, o] = T(""), h = A(null);
|
|
22
|
+
w(() => {
|
|
23
|
+
h.current?.scrollIntoView({ behavior: "smooth" });
|
|
24
|
+
}, [n]);
|
|
25
|
+
const r = u(() => {
|
|
26
|
+
l.trim() && (c?.(l.trim()), o(""));
|
|
27
|
+
}, [l, c]), B = u(
|
|
28
|
+
(a) => {
|
|
29
|
+
a.key === "Enter" && !a.shiftKey && (a.preventDefault(), r());
|
|
30
|
+
},
|
|
31
|
+
[r]
|
|
32
|
+
);
|
|
33
|
+
return /* @__PURE__ */ s(
|
|
34
|
+
"div",
|
|
35
|
+
{
|
|
36
|
+
ref: S,
|
|
37
|
+
className: [e.root, y].filter(Boolean).join(" "),
|
|
38
|
+
...g,
|
|
39
|
+
children: [
|
|
40
|
+
d.length > 0 && /* @__PURE__ */ s("div", { className: e.sidebar, children: [
|
|
41
|
+
/* @__PURE__ */ t("h3", { className: e.sidebarTitle, children: "Participants" }),
|
|
42
|
+
/* @__PURE__ */ t("div", { className: e.participantsList, children: d.map((a) => /* @__PURE__ */ s(
|
|
43
|
+
"div",
|
|
44
|
+
{
|
|
45
|
+
className: [
|
|
46
|
+
e.participant,
|
|
47
|
+
v === a.id && e.participantActive
|
|
48
|
+
].filter(Boolean).join(" "),
|
|
49
|
+
onClick: () => f?.(a.id),
|
|
50
|
+
children: [
|
|
51
|
+
a.avatar && /* @__PURE__ */ t(
|
|
52
|
+
"img",
|
|
53
|
+
{
|
|
54
|
+
src: a.avatar,
|
|
55
|
+
alt: a.name,
|
|
56
|
+
className: e.participantAvatar
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
/* @__PURE__ */ s("div", { className: e.participantInfo, children: [
|
|
60
|
+
/* @__PURE__ */ t("div", { className: e.participantName, children: a.name }),
|
|
61
|
+
a.status && /* @__PURE__ */ t(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
className: [
|
|
65
|
+
e.participantStatus,
|
|
66
|
+
e[`status${a.status}`]
|
|
67
|
+
].filter(Boolean).join(" "),
|
|
68
|
+
children: a.status
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] })
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
a.id
|
|
75
|
+
)) })
|
|
76
|
+
] }),
|
|
77
|
+
/* @__PURE__ */ s("div", { className: e.mainArea, children: [
|
|
78
|
+
/* @__PURE__ */ s("div", { className: e.header, children: [
|
|
79
|
+
/* @__PURE__ */ t("h2", { className: e.title, children: p }),
|
|
80
|
+
m && /* @__PURE__ */ t("div", { className: e.errorBadge, children: m })
|
|
81
|
+
] }),
|
|
82
|
+
/* @__PURE__ */ s("div", { className: e.messagesContainer, children: [
|
|
83
|
+
n.length === 0 ? /* @__PURE__ */ s("div", { className: e.emptyState, children: [
|
|
84
|
+
/* @__PURE__ */ t("div", { className: e.emptyStateIcon, children: "💬" }),
|
|
85
|
+
/* @__PURE__ */ t("h3", { className: e.emptyStateTitle, children: "No messages yet" }),
|
|
86
|
+
/* @__PURE__ */ t("p", { className: e.emptyStateText, children: "Start the conversation by sending a message" })
|
|
87
|
+
] }) : /* @__PURE__ */ s(j, { children: [
|
|
88
|
+
n.map((a) => /* @__PURE__ */ s(
|
|
89
|
+
"div",
|
|
90
|
+
{
|
|
91
|
+
className: [
|
|
92
|
+
e.messageWrapper,
|
|
93
|
+
e[`message${a.role}`]
|
|
94
|
+
].filter(Boolean).join(" "),
|
|
95
|
+
children: [
|
|
96
|
+
/* @__PURE__ */ s("div", { className: e.messageBubble, children: [
|
|
97
|
+
/* @__PURE__ */ t("p", { className: e.messageContent, children: a.content }),
|
|
98
|
+
a.timestamp && /* @__PURE__ */ t("span", { className: e.messageTime, children: new Date(a.timestamp).toLocaleTimeString([], {
|
|
99
|
+
hour: "2-digit",
|
|
100
|
+
minute: "2-digit"
|
|
101
|
+
}) })
|
|
102
|
+
] }),
|
|
103
|
+
a.status && /* @__PURE__ */ s(
|
|
104
|
+
"span",
|
|
105
|
+
{
|
|
106
|
+
className: [
|
|
107
|
+
e.messageStatus,
|
|
108
|
+
e[`status${a.status}`]
|
|
109
|
+
].filter(Boolean).join(" "),
|
|
110
|
+
title: a.status,
|
|
111
|
+
children: [
|
|
112
|
+
a.status === "sending" && "⏱",
|
|
113
|
+
a.status === "sent" && "✓",
|
|
114
|
+
a.status === "error" && "✗"
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
a.id
|
|
121
|
+
)),
|
|
122
|
+
b && /* @__PURE__ */ t(
|
|
123
|
+
"div",
|
|
124
|
+
{
|
|
125
|
+
className: [
|
|
126
|
+
e.messageWrapper,
|
|
127
|
+
e.messageAssistant
|
|
128
|
+
].join(" "),
|
|
129
|
+
children: /* @__PURE__ */ t("div", { className: e.messageBubble, children: /* @__PURE__ */ s("div", { className: e.typingIndicator, children: [
|
|
130
|
+
/* @__PURE__ */ t("span", {}),
|
|
131
|
+
/* @__PURE__ */ t("span", {}),
|
|
132
|
+
/* @__PURE__ */ t("span", {})
|
|
133
|
+
] }) })
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
] }),
|
|
137
|
+
/* @__PURE__ */ t("div", { ref: h })
|
|
138
|
+
] }),
|
|
139
|
+
/* @__PURE__ */ t("div", { className: e.inputArea, children: /* @__PURE__ */ s("div", { className: e.inputGroup, children: [
|
|
140
|
+
/* @__PURE__ */ t(
|
|
141
|
+
"button",
|
|
142
|
+
{
|
|
143
|
+
className: e.actionButton,
|
|
144
|
+
"aria-label": "Attach file",
|
|
145
|
+
disabled: i,
|
|
146
|
+
children: /* @__PURE__ */ t(x, { size: 20 })
|
|
147
|
+
}
|
|
148
|
+
),
|
|
149
|
+
/* @__PURE__ */ t(
|
|
150
|
+
"textarea",
|
|
151
|
+
{
|
|
152
|
+
className: e.input,
|
|
153
|
+
placeholder: N,
|
|
154
|
+
value: l,
|
|
155
|
+
onChange: (a) => o(a.target.value),
|
|
156
|
+
onKeyDown: B,
|
|
157
|
+
disabled: i,
|
|
158
|
+
rows: 1
|
|
159
|
+
}
|
|
160
|
+
),
|
|
161
|
+
/* @__PURE__ */ t(
|
|
162
|
+
"button",
|
|
163
|
+
{
|
|
164
|
+
className: e.actionButton,
|
|
165
|
+
"aria-label": "Add emoji",
|
|
166
|
+
disabled: i,
|
|
167
|
+
children: /* @__PURE__ */ t(I, { size: 20 })
|
|
168
|
+
}
|
|
169
|
+
),
|
|
170
|
+
/* @__PURE__ */ t(
|
|
171
|
+
D,
|
|
172
|
+
{
|
|
173
|
+
variant: "primary",
|
|
174
|
+
iconOnly: !0,
|
|
175
|
+
icon: /* @__PURE__ */ t(k, { size: 20 }),
|
|
176
|
+
onClick: r,
|
|
177
|
+
disabled: !l.trim() || i,
|
|
178
|
+
isLoading: i,
|
|
179
|
+
"aria-label": "Send message"
|
|
180
|
+
}
|
|
181
|
+
)
|
|
182
|
+
] }) })
|
|
183
|
+
] })
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
);
|
|
189
|
+
P.displayName = "ChatPageTemplate";
|
|
190
|
+
export {
|
|
191
|
+
P as ChatPageTemplate
|
|
192
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react"),i=require("lucide-react"),x=require("../../../../dist/index23.cjs"),l=require("../../../../dist/index28.cjs"),a=require("./DashboardTemplate.module.css.cjs");function f({metric:s}){return e.jsx(l.Card,{className:a.default.metricCard,children:e.jsxs(l.Card.Body,{className:a.default.metricBody,children:[e.jsxs("div",{className:a.default.metricHeader,children:[e.jsx("div",{className:a.default.metricLabel,children:s.label}),s.icon&&e.jsx("div",{className:a.default.metricIcon,children:s.icon})]}),e.jsx("div",{className:a.default.metricValue,children:s.value}),s.change!==void 0&&e.jsxs("div",{className:a.default.metricChange,children:[s.trend==="up"&&e.jsxs(e.Fragment,{children:[e.jsx(i.TrendingUp,{size:16}),e.jsxs("span",{className:a.default.changeUp,children:["+",s.change,"%"]})]}),s.trend==="down"&&e.jsxs(e.Fragment,{children:[e.jsx(i.TrendingDown,{size:16}),e.jsxs("span",{className:a.default.changeDown,children:[s.change,"%"]})]}),s.trend==="neutral"&&e.jsxs("span",{className:a.default.changeNeutral,children:[s.change,"%"]})]})]})})}function v({item:s}){return e.jsxs("div",{className:a.default.activityItem,children:[e.jsx("div",{className:[a.default.activityDot,a.default[`type${s.type}`]].filter(Boolean).join(" ")}),e.jsxs("div",{className:a.default.activityContent,children:[e.jsx("div",{className:a.default.activityTitle,children:s.title}),s.description&&e.jsx("div",{className:a.default.activityDescription,children:s.description}),e.jsxs("div",{className:a.default.activityTime,children:[e.jsx(i.Clock,{size:14}),new Date(s.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})]})]})]})}const h=m.forwardRef(({title:s="Dashboard",subtitle:t,metrics:c=[],charts:n=[],activity:r=[],className:o,...u},j)=>e.jsxs("div",{ref:j,className:[a.default.root,o].filter(Boolean).join(" "),...u,children:[e.jsx("div",{className:a.default.header,children:e.jsxs("div",{children:[e.jsx("h1",{className:a.default.title,children:s}),t&&e.jsx("p",{className:a.default.subtitle,children:t})]})}),c.length>0&&e.jsx("div",{className:a.default.metricsGrid,children:c.map(d=>e.jsx(f,{metric:d},d.id))}),e.jsxs("div",{className:a.default.contentGrid,children:[n.length>0&&e.jsx("div",{className:a.default.chartsSection,children:n.map(d=>e.jsxs(l.Card,{className:a.default.chartCard,children:[e.jsxs(l.Card.Header,{children:[e.jsx("h3",{className:a.default.chartTitle,children:d.title}),e.jsx(x.Badge,{variant:"info",size:"sm",children:d.type})]}),e.jsx(l.Card.Body,{className:a.default.chartBody,children:e.jsxs("div",{className:a.default.chartPlaceholder,children:["Chart: ",d.title]})})]},d.id))}),r.length>0&&e.jsxs(l.Card,{className:a.default.activityCard,children:[e.jsx(l.Card.Header,{children:e.jsx("h3",{className:a.default.activityTitle,children:"Recent Activity"})}),e.jsx(l.Card.Body,{className:a.default.activityBody,children:e.jsx("div",{className:a.default.activityList,children:r.map(d=>e.jsx(v,{item:d},d.id))})})]})]})]}));h.displayName="DashboardTemplate";exports.DashboardTemplate=h;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { jsxs as c, jsx as a, Fragment as h } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N } from "react";
|
|
3
|
+
import { TrendingUp as p, TrendingDown as y, Clock as g } from "lucide-react";
|
|
4
|
+
import { Badge as f } from "../../../../dist/index23.mjs";
|
|
5
|
+
import { Card as n } from "../../../../dist/index28.mjs";
|
|
6
|
+
import e from "./DashboardTemplate.module.css.mjs";
|
|
7
|
+
function u({ metric: i }) {
|
|
8
|
+
return /* @__PURE__ */ a(n, { className: e.metricCard, children: /* @__PURE__ */ c(n.Body, { className: e.metricBody, children: [
|
|
9
|
+
/* @__PURE__ */ c("div", { className: e.metricHeader, children: [
|
|
10
|
+
/* @__PURE__ */ a("div", { className: e.metricLabel, children: i.label }),
|
|
11
|
+
i.icon && /* @__PURE__ */ a("div", { className: e.metricIcon, children: i.icon })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ a("div", { className: e.metricValue, children: i.value }),
|
|
14
|
+
i.change !== void 0 && /* @__PURE__ */ c("div", { className: e.metricChange, children: [
|
|
15
|
+
i.trend === "up" && /* @__PURE__ */ c(h, { children: [
|
|
16
|
+
/* @__PURE__ */ a(p, { size: 16 }),
|
|
17
|
+
/* @__PURE__ */ c("span", { className: e.changeUp, children: [
|
|
18
|
+
"+",
|
|
19
|
+
i.change,
|
|
20
|
+
"%"
|
|
21
|
+
] })
|
|
22
|
+
] }),
|
|
23
|
+
i.trend === "down" && /* @__PURE__ */ c(h, { children: [
|
|
24
|
+
/* @__PURE__ */ a(y, { size: 16 }),
|
|
25
|
+
/* @__PURE__ */ c("span", { className: e.changeDown, children: [
|
|
26
|
+
i.change,
|
|
27
|
+
"%"
|
|
28
|
+
] })
|
|
29
|
+
] }),
|
|
30
|
+
i.trend === "neutral" && /* @__PURE__ */ c("span", { className: e.changeNeutral, children: [
|
|
31
|
+
i.change,
|
|
32
|
+
"%"
|
|
33
|
+
] })
|
|
34
|
+
] })
|
|
35
|
+
] }) });
|
|
36
|
+
}
|
|
37
|
+
function C({ item: i }) {
|
|
38
|
+
return /* @__PURE__ */ c("div", { className: e.activityItem, children: [
|
|
39
|
+
/* @__PURE__ */ a(
|
|
40
|
+
"div",
|
|
41
|
+
{
|
|
42
|
+
className: [e.activityDot, e[`type${i.type}`]].filter(Boolean).join(" ")
|
|
43
|
+
}
|
|
44
|
+
),
|
|
45
|
+
/* @__PURE__ */ c("div", { className: e.activityContent, children: [
|
|
46
|
+
/* @__PURE__ */ a("div", { className: e.activityTitle, children: i.title }),
|
|
47
|
+
i.description && /* @__PURE__ */ a("div", { className: e.activityDescription, children: i.description }),
|
|
48
|
+
/* @__PURE__ */ c("div", { className: e.activityTime, children: [
|
|
49
|
+
/* @__PURE__ */ a(g, { size: 14 }),
|
|
50
|
+
new Date(i.timestamp).toLocaleTimeString([], {
|
|
51
|
+
hour: "2-digit",
|
|
52
|
+
minute: "2-digit"
|
|
53
|
+
})
|
|
54
|
+
] })
|
|
55
|
+
] })
|
|
56
|
+
] });
|
|
57
|
+
}
|
|
58
|
+
const B = N(
|
|
59
|
+
({
|
|
60
|
+
title: i = "Dashboard",
|
|
61
|
+
subtitle: d,
|
|
62
|
+
metrics: r = [],
|
|
63
|
+
charts: s = [],
|
|
64
|
+
activity: t = [],
|
|
65
|
+
className: o,
|
|
66
|
+
...m
|
|
67
|
+
}, v) => /* @__PURE__ */ c(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
ref: v,
|
|
71
|
+
className: [e.root, o].filter(Boolean).join(" "),
|
|
72
|
+
...m,
|
|
73
|
+
children: [
|
|
74
|
+
/* @__PURE__ */ a("div", { className: e.header, children: /* @__PURE__ */ c("div", { children: [
|
|
75
|
+
/* @__PURE__ */ a("h1", { className: e.title, children: i }),
|
|
76
|
+
d && /* @__PURE__ */ a("p", { className: e.subtitle, children: d })
|
|
77
|
+
] }) }),
|
|
78
|
+
r.length > 0 && /* @__PURE__ */ a("div", { className: e.metricsGrid, children: r.map((l) => /* @__PURE__ */ a(u, { metric: l }, l.id)) }),
|
|
79
|
+
/* @__PURE__ */ c("div", { className: e.contentGrid, children: [
|
|
80
|
+
s.length > 0 && /* @__PURE__ */ a("div", { className: e.chartsSection, children: s.map((l) => /* @__PURE__ */ c(n, { className: e.chartCard, children: [
|
|
81
|
+
/* @__PURE__ */ c(n.Header, { children: [
|
|
82
|
+
/* @__PURE__ */ a("h3", { className: e.chartTitle, children: l.title }),
|
|
83
|
+
/* @__PURE__ */ a(f, { variant: "info", size: "sm", children: l.type })
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ a(n.Body, { className: e.chartBody, children: /* @__PURE__ */ c("div", { className: e.chartPlaceholder, children: [
|
|
86
|
+
"Chart: ",
|
|
87
|
+
l.title
|
|
88
|
+
] }) })
|
|
89
|
+
] }, l.id)) }),
|
|
90
|
+
t.length > 0 && /* @__PURE__ */ c(n, { className: e.activityCard, children: [
|
|
91
|
+
/* @__PURE__ */ a(n.Header, { children: /* @__PURE__ */ a("h3", { className: e.activityTitle, children: "Recent Activity" }) }),
|
|
92
|
+
/* @__PURE__ */ a(n.Body, { className: e.activityBody, children: /* @__PURE__ */ a("div", { className: e.activityList, children: t.map((l) => /* @__PURE__ */ a(C, { item: l }, l.id)) }) })
|
|
93
|
+
] })
|
|
94
|
+
] })
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
);
|
|
99
|
+
B.displayName = "DashboardTemplate";
|
|
100
|
+
export {
|
|
101
|
+
B as DashboardTemplate
|
|
102
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react"),n=require("lucide-react"),b=require("../../../../dist/index23.cjs"),y=require("../../../../dist/index26.cjs"),a=require("./KanbanPageTemplate.module.css.cjs");function T(s){switch(s){case"high":return"error";case"medium":return"warning";case"low":return"success";default:return"info"}}function C({task:s,onEdit:i,onDelete:d}){return e.jsxs("div",{className:a.default.taskCard,children:[e.jsxs("div",{className:a.default.taskHeader,children:[e.jsx("h4",{className:a.default.taskTitle,children:s.title}),e.jsxs("div",{className:a.default.taskActions,children:[e.jsx("button",{className:a.default.taskActionButton,onClick:()=>i?.(s.id),"aria-label":"Edit task",children:e.jsx(n.Edit2,{size:16})}),e.jsx("button",{className:[a.default.taskActionButton,a.default.taskActionButtonDanger].filter(Boolean).join(" "),onClick:()=>d?.(s.id),"aria-label":"Delete task",children:e.jsx(n.Trash2,{size:16})})]})]}),s.description&&e.jsx("p",{className:a.default.taskDescription,children:s.description}),e.jsxs("div",{className:a.default.taskMeta,children:[s.priority&&e.jsx(b.Badge,{variant:T(s.priority),size:"sm",children:s.priority}),s.dueDate&&e.jsxs("div",{className:a.default.dueDateBadge,children:[e.jsx(n.Calendar,{size:12}),new Date(s.dueDate).toLocaleDateString()]})]}),s.labels&&s.labels.length>0&&e.jsx("div",{className:a.default.labels,children:s.labels.map(r=>e.jsx("span",{className:a.default.label,children:r},r))}),s.assignee&&e.jsxs("div",{className:a.default.assignee,children:[s.assignee.avatar&&e.jsx("img",{src:s.assignee.avatar,alt:s.assignee.name,className:a.default.assigneeAvatar}),e.jsx("span",{className:a.default.assigneeName,children:s.assignee.name})]})]})}const h=m.forwardRef(({title:s="Kanban Board",columns:i=[],tasks:d=[],onTaskMove:r,onCreateTask:f,onEditTask:x,onDeleteTask:u,isLoading:j=!1,error:o,className:N,...g},p)=>{const v=m.useCallback(l=>{window.confirm("Are you sure you want to delete this task?")&&u?.(l)},[u]);return e.jsxs("div",{ref:p,className:[a.default.root,N].filter(Boolean).join(" "),...g,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx("h1",{className:a.default.title,children:s}),o&&e.jsx("div",{className:a.default.error,children:o})]}),e.jsx("div",{className:a.default.board,children:i.length===0?e.jsx("div",{className:a.default.emptyState,children:e.jsx("p",{className:a.default.emptyStateText,children:"No columns configured"})}):i.map(l=>{const c=d.filter(t=>t.columnId===l.id);return e.jsxs("div",{className:a.default.column,children:[e.jsxs("div",{className:a.default.columnHeader,children:[e.jsxs("div",{children:[e.jsx("h3",{className:a.default.columnTitle,children:l.title}),e.jsx("span",{className:a.default.columnCount,children:c.length})]}),e.jsx(y.Button,{variant:"ghost",iconOnly:!0,icon:e.jsx(n.Plus,{size:18}),onClick:()=>f?.(l.id),disabled:j,"aria-label":"Add task"})]}),e.jsx("div",{className:a.default.tasks,children:c.length===0?e.jsx("div",{className:a.default.emptyColumn,children:e.jsx("p",{className:a.default.emptyColumnText,children:"No tasks"})}):c.map(t=>e.jsx(C,{task:t,onEdit:x,onDelete:v},t.id))})]},l.id)})})]})});h.displayName="KanbanPageTemplate";exports.KanbanPageTemplate=h;
|