@burdenoff/microfe-botmanor 2026.1108.1 → 2026.1109.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/botlit/BotlitRoutes.d.ts +2 -0
- package/dist/botlit/BotlitRoutes.js +24 -25
- package/dist/botlit/BotlitRoutes.js.map +1 -1
- package/dist/botlit/BotmanorRoot.d.ts +3 -0
- package/dist/botlit/BotmanorRoot.js +1 -2
- package/dist/botlit/BotmanorRoot.js.map +1 -1
- package/dist/botlit/BotmanorRootInner.d.ts +3 -0
- package/dist/botlit/BotmanorRootInner.js +9 -10
- package/dist/botlit/BotmanorRootInner.js.map +1 -1
- package/dist/botlit/components/AgentApprovalPanel.d.ts +20 -0
- package/dist/botlit/components/AgentApprovalPanel.js +49 -50
- package/dist/botlit/components/AgentApprovalPanel.js.map +1 -1
- package/dist/botlit/components/AiOperationsPanel.d.ts +14 -0
- package/dist/botlit/components/AiOperationsPanel.js +54 -55
- package/dist/botlit/components/AiOperationsPanel.js.map +1 -1
- package/dist/botlit/components/AssistantChannelPanel.d.ts +3 -0
- package/dist/botlit/components/AssistantChannelPanel.js +12 -13
- package/dist/botlit/components/AssistantChannelPanel.js.map +1 -1
- package/dist/botlit/components/AssistantRuntimeSetupPanel.d.ts +4 -0
- package/dist/botlit/components/AssistantRuntimeSetupPanel.js +14 -14
- package/dist/botlit/components/AssistantRuntimeSetupPanel.js.map +1 -1
- package/dist/botlit/components/AssistantWebsitePanel.d.ts +5 -0
- package/dist/botlit/components/AssistantWebsitePanel.js +15 -16
- package/dist/botlit/components/AssistantWebsitePanel.js.map +1 -1
- package/dist/botlit/components/Badge.d.ts +9 -0
- package/dist/botlit/components/Badge.js +1 -2
- package/dist/botlit/components/Badge.js.map +1 -1
- package/dist/botlit/components/Button.d.ts +10 -0
- package/dist/botlit/components/Button.js +1 -2
- package/dist/botlit/components/Button.js.map +1 -1
- package/dist/botlit/components/Card.d.ts +16 -0
- package/dist/botlit/components/Card.js +1 -2
- package/dist/botlit/components/Card.js.map +1 -1
- package/dist/botlit/components/ChannelSelectorSheet.d.ts +23 -0
- package/dist/botlit/components/ChannelSelectorSheet.js +1 -2
- package/dist/botlit/components/ChannelSelectorSheet.js.map +1 -1
- package/dist/botlit/components/EmptyState.d.ts +12 -0
- package/dist/botlit/components/EmptyState.js +1 -2
- package/dist/botlit/components/EmptyState.js.map +1 -1
- package/dist/botlit/components/ErrorState.d.ts +10 -0
- package/dist/botlit/components/ErrorState.js +5 -6
- package/dist/botlit/components/ErrorState.js.map +1 -1
- package/dist/botlit/components/Input.d.ts +27 -0
- package/dist/botlit/components/Input.js +1 -2
- package/dist/botlit/components/Input.js.map +1 -1
- package/dist/botlit/components/KnowledgeSourceImportPanel.d.ts +3 -0
- package/dist/botlit/components/KnowledgeSourceImportPanel.js +12 -13
- package/dist/botlit/components/KnowledgeSourceImportPanel.js.map +1 -1
- package/dist/botlit/components/ModelRegistrationPanel.d.ts +5 -0
- package/dist/botlit/components/ModelRegistrationPanel.js +1 -2
- package/dist/botlit/components/ModelRegistrationPanel.js.map +1 -1
- package/dist/botlit/components/PageLayout.d.ts +12 -0
- package/dist/botlit/components/PageLayout.js +1 -2
- package/dist/botlit/components/PageLayout.js.map +1 -1
- package/dist/botlit/components/QuotaExhaustedDialog.d.ts +9 -0
- package/dist/botlit/components/QuotaExhaustedDialog.js +1 -2
- package/dist/botlit/components/QuotaExhaustedDialog.js.map +1 -1
- package/dist/botlit/components/RetentionStatusPanel.d.ts +2 -0
- package/dist/botlit/components/RetentionStatusPanel.js +18 -19
- package/dist/botlit/components/RetentionStatusPanel.js.map +1 -1
- package/dist/botlit/components/RouteLoader.d.ts +23 -0
- package/dist/botlit/components/RouteLoader.js +1 -2
- package/dist/botlit/components/RouteLoader.js.map +1 -1
- package/dist/botlit/components/VersionHistoryPanel.d.ts +12 -0
- package/dist/botlit/components/VersionHistoryPanel.js +23 -24
- package/dist/botlit/components/VersionHistoryPanel.js.map +1 -1
- package/dist/botlit/components/WorkspaceRequired.d.ts +18 -0
- package/dist/botlit/components/WorkspaceRequired.js +1 -2
- package/dist/botlit/components/WorkspaceRequired.js.map +1 -1
- package/dist/botlit/components/index.d.ts +14 -0
- package/dist/botlit/hooks/index.d.ts +36 -0
- package/dist/botlit/hooks/index.js +15 -14
- package/dist/botlit/hooks/internal/mutationInput.d.ts +56 -0
- package/dist/botlit/hooks/internal/mutationInput.js +1 -2
- package/dist/botlit/hooks/internal/mutationInput.js.map +1 -1
- package/dist/botlit/hooks/internal/workspaceGateway.d.ts +54 -0
- package/dist/botlit/hooks/internal/workspaceGateway.js +17 -19
- package/dist/botlit/hooks/internal/workspaceGateway.js.map +1 -1
- package/dist/botlit/hooks/useA2A.d.ts +104 -0
- package/dist/botlit/hooks/useA2A.js +45 -45
- package/dist/botlit/hooks/useA2A.js.map +1 -1
- package/dist/botlit/hooks/useAgentApprovals.d.ts +62 -0
- package/dist/botlit/hooks/useAgentApprovals.js +38 -39
- package/dist/botlit/hooks/useAgentApprovals.js.map +1 -1
- package/dist/botlit/hooks/useAgents.d.ts +105 -0
- package/dist/botlit/hooks/useAgents.js +53 -54
- package/dist/botlit/hooks/useAgents.js.map +1 -1
- package/dist/botlit/hooks/useAiOperations.d.ts +95 -0
- package/dist/botlit/hooks/useAiOperations.js +20 -19
- package/dist/botlit/hooks/useAiOperations.js.map +1 -1
- package/dist/botlit/hooks/useAssistantChannels.d.ts +16 -0
- package/dist/botlit/hooks/useAssistantChannels.js +1 -2
- package/dist/botlit/hooks/useAssistantChannels.js.map +1 -1
- package/dist/botlit/hooks/useAssistantRuntimeSetup.d.ts +17 -0
- package/dist/botlit/hooks/useAssistantRuntimeSetup.js +1 -2
- package/dist/botlit/hooks/useAssistantRuntimeSetup.js.map +1 -1
- package/dist/botlit/hooks/useAssistantWebsites.d.ts +18 -0
- package/dist/botlit/hooks/useAssistantWebsites.js +1 -2
- package/dist/botlit/hooks/useAssistantWebsites.js.map +1 -1
- package/dist/botlit/hooks/useBotWorkflow.d.ts +22 -0
- package/dist/botlit/hooks/useBotWorkflow.js +1 -2
- package/dist/botlit/hooks/useBotWorkflow.js.map +1 -1
- package/dist/botlit/hooks/useBots.d.ts +68 -0
- package/dist/botlit/hooks/useBots.js +32 -33
- package/dist/botlit/hooks/useBots.js.map +1 -1
- package/dist/botlit/hooks/useBuckets.d.ts +57 -0
- package/dist/botlit/hooks/useBuckets.js +38 -39
- package/dist/botlit/hooks/useBuckets.js.map +1 -1
- package/dist/botlit/hooks/useChannels.d.ts +87 -0
- package/dist/botlit/hooks/useChannels.js +73 -73
- package/dist/botlit/hooks/useChannels.js.map +1 -1
- package/dist/botlit/hooks/useConversations.d.ts +42 -0
- package/dist/botlit/hooks/useConversations.js +1 -2
- package/dist/botlit/hooks/useConversations.js.map +1 -1
- package/dist/botlit/hooks/useExecutions.d.ts +87 -0
- package/dist/botlit/hooks/useExecutions.js +37 -37
- package/dist/botlit/hooks/useExecutions.js.map +1 -1
- package/dist/botlit/hooks/useKnowledgeBases.d.ts +79 -0
- package/dist/botlit/hooks/useKnowledgeBases.js +40 -39
- package/dist/botlit/hooks/useKnowledgeBases.js.map +1 -1
- package/dist/botlit/hooks/useKnowledgeSourceImports.d.ts +21 -0
- package/dist/botlit/hooks/useKnowledgeSourceImports.js +1 -2
- package/dist/botlit/hooks/useKnowledgeSourceImports.js.map +1 -1
- package/dist/botlit/hooks/useLLMProviders.d.ts +66 -0
- package/dist/botlit/hooks/useLLMProviders.js +25 -26
- package/dist/botlit/hooks/useLLMProviders.js.map +1 -1
- package/dist/botlit/hooks/useMCPServers.d.ts +71 -0
- package/dist/botlit/hooks/useMCPServers.js +40 -38
- package/dist/botlit/hooks/useMCPServers.js.map +1 -1
- package/dist/botlit/hooks/usePolicies.d.ts +60 -0
- package/dist/botlit/hooks/usePolicies.js +49 -49
- package/dist/botlit/hooks/usePolicies.js.map +1 -1
- package/dist/botlit/hooks/usePromptTemplates.d.ts +88 -0
- package/dist/botlit/hooks/usePromptTemplates.js +57 -57
- package/dist/botlit/hooks/usePromptTemplates.js.map +1 -1
- package/dist/botlit/hooks/useRetention.d.ts +26 -0
- package/dist/botlit/hooks/useRetention.js +3 -3
- package/dist/botlit/hooks/useRetention.js.map +1 -1
- package/dist/botlit/hooks/useRetrievalProfiles.d.ts +75 -0
- package/dist/botlit/hooks/useRetrievalProfiles.js +47 -47
- package/dist/botlit/hooks/useRetrievalProfiles.js.map +1 -1
- package/dist/botlit/hooks/useSkills.d.ts +64 -0
- package/dist/botlit/hooks/useSkills.js +53 -53
- package/dist/botlit/hooks/useSkills.js.map +1 -1
- package/dist/botlit/hooks/useStore.d.ts +112 -0
- package/dist/botlit/hooks/useStore.js +55 -55
- package/dist/botlit/hooks/useStore.js.map +1 -1
- package/dist/botlit/hooks/useUserPlatformConnection.d.ts +80 -0
- package/dist/botlit/hooks/useUserPlatformConnection.js +19 -19
- package/dist/botlit/hooks/useUserPlatformConnection.js.map +1 -1
- package/dist/botlit/index.d.ts +16 -0
- package/dist/botlit/index.js +12 -11
- package/dist/botlit/pages/A2AAgentDetailPage.d.ts +6 -0
- package/dist/botlit/pages/A2AAgentDetailPage.js +171 -178
- package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/A2ARegistryPage.d.ts +2 -0
- package/dist/botlit/pages/A2ARegistryPage.js +25 -26
- package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
- package/dist/botlit/pages/AgentApprovalsPage.d.ts +2 -0
- package/dist/botlit/pages/AgentApprovalsPage.js +32 -33
- package/dist/botlit/pages/AgentApprovalsPage.js.map +1 -1
- package/dist/botlit/pages/AgentBuilderPage.d.ts +2 -0
- package/dist/botlit/pages/AgentBuilderPage.js +59 -60
- package/dist/botlit/pages/AgentBuilderPage.js.map +1 -1
- package/dist/botlit/pages/AgentDetailPage.d.ts +2 -0
- package/dist/botlit/pages/AgentDetailPage.js +83 -84
- package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/AgentsListPage.d.ts +2 -0
- package/dist/botlit/pages/AgentsListPage.js +71 -72
- package/dist/botlit/pages/AgentsListPage.js.map +1 -1
- package/dist/botlit/pages/AiOperationsPage.d.ts +2 -0
- package/dist/botlit/pages/AiOperationsPage.js +52 -53
- package/dist/botlit/pages/AiOperationsPage.js.map +1 -1
- package/dist/botlit/pages/BotChannelsTab.d.ts +7 -0
- package/dist/botlit/pages/BotChannelsTab.js +120 -122
- package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
- package/dist/botlit/pages/BotDetailPage.d.ts +7 -0
- package/dist/botlit/pages/BotDetailPage.js +353 -358
- package/dist/botlit/pages/BotDetailPage.js.map +1 -1
- package/dist/botlit/pages/BotWorkflowTab.d.ts +11 -0
- package/dist/botlit/pages/BotWorkflowTab.js +20 -21
- package/dist/botlit/pages/BotWorkflowTab.js.map +1 -1
- package/dist/botlit/pages/BotsListPage.d.ts +2 -0
- package/dist/botlit/pages/BotsListPage.js +52 -53
- package/dist/botlit/pages/BotsListPage.js.map +1 -1
- package/dist/botlit/pages/BucketsPage.d.ts +2 -0
- package/dist/botlit/pages/BucketsPage.js +260 -261
- package/dist/botlit/pages/BucketsPage.js.map +1 -1
- package/dist/botlit/pages/ChannelDetailPage.d.ts +6 -0
- package/dist/botlit/pages/ChannelDetailPage.js +97 -96
- package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
- package/dist/botlit/pages/ChannelRoutesPage.d.ts +2 -0
- package/dist/botlit/pages/ChannelRoutesPage.js +23 -24
- package/dist/botlit/pages/ChannelRoutesPage.js.map +1 -1
- package/dist/botlit/pages/ChannelsPage.d.ts +2 -0
- package/dist/botlit/pages/ChannelsPage.js +44 -45
- package/dist/botlit/pages/ChannelsPage.js.map +1 -1
- package/dist/botlit/pages/ChatPage.d.ts +1 -0
- package/dist/botlit/pages/ChatPage.js +10 -11
- package/dist/botlit/pages/ChatPage.js.map +1 -1
- package/dist/botlit/pages/ConversationDetailPage.d.ts +2 -0
- package/dist/botlit/pages/ConversationsPage.d.ts +2 -0
- package/dist/botlit/pages/DashboardPage.d.ts +2 -0
- package/dist/botlit/pages/DashboardPage.js +37 -38
- package/dist/botlit/pages/DashboardPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionDetailPage.d.ts +2 -0
- package/dist/botlit/pages/ExecutionDetailPage.js +47 -48
- package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionsPage.d.ts +2 -0
- package/dist/botlit/pages/ExecutionsPage.js +72 -70
- package/dist/botlit/pages/ExecutionsPage.js.map +1 -1
- package/dist/botlit/pages/InstalledPackagesPage.d.ts +2 -0
- package/dist/botlit/pages/InstalledPackagesPage.js +77 -78
- package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -1
- package/dist/botlit/pages/KnowledgeBaseDetailPage.d.ts +6 -0
- package/dist/botlit/pages/KnowledgeBaseDetailPage.js +171 -181
- package/dist/botlit/pages/KnowledgeBaseDetailPage.js.map +1 -1
- package/dist/botlit/pages/KnowledgeBasesPage.d.ts +2 -0
- package/dist/botlit/pages/KnowledgeBasesPage.js +30 -31
- package/dist/botlit/pages/KnowledgeBasesPage.js.map +1 -1
- package/dist/botlit/pages/MCPServerDetailPage.d.ts +6 -0
- package/dist/botlit/pages/MCPServerDetailPage.js +82 -83
- package/dist/botlit/pages/MCPServerDetailPage.js.map +1 -1
- package/dist/botlit/pages/MCPServersPage.d.ts +2 -0
- package/dist/botlit/pages/MCPServersPage.js +54 -55
- package/dist/botlit/pages/MCPServersPage.js.map +1 -1
- package/dist/botlit/pages/PoliciesPage.d.ts +2 -0
- package/dist/botlit/pages/PoliciesPage.js +25 -26
- package/dist/botlit/pages/PoliciesPage.js.map +1 -1
- package/dist/botlit/pages/PolicyDetailPage.d.ts +6 -0
- package/dist/botlit/pages/PolicyDetailPage.js +257 -259
- package/dist/botlit/pages/PolicyDetailPage.js.map +1 -1
- package/dist/botlit/pages/PromptStudioPage.d.ts +2 -0
- package/dist/botlit/pages/PromptStudioPage.js +35 -35
- package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
- package/dist/botlit/pages/PromptTemplateDetailPage.d.ts +6 -0
- package/dist/botlit/pages/PromptTemplateDetailPage.js +363 -362
- package/dist/botlit/pages/PromptTemplateDetailPage.js.map +1 -1
- package/dist/botlit/pages/PromptTemplatesPage.d.ts +2 -0
- package/dist/botlit/pages/PromptTemplatesPage.js +26 -27
- package/dist/botlit/pages/PromptTemplatesPage.js.map +1 -1
- package/dist/botlit/pages/RetrievalProfileDetailPage.d.ts +6 -0
- package/dist/botlit/pages/RetrievalProfileDetailPage.js +150 -158
- package/dist/botlit/pages/RetrievalProfileDetailPage.js.map +1 -1
- package/dist/botlit/pages/RetrievalProfilesPage.d.ts +2 -0
- package/dist/botlit/pages/RetrievalProfilesPage.js +24 -25
- package/dist/botlit/pages/RetrievalProfilesPage.js.map +1 -1
- package/dist/botlit/pages/SettingsPage.d.ts +2 -0
- package/dist/botlit/pages/SettingsPage.js +124 -125
- package/dist/botlit/pages/SettingsPage.js.map +1 -1
- package/dist/botlit/pages/SkillDetailPage.d.ts +6 -0
- package/dist/botlit/pages/SkillDetailPage.js +216 -217
- package/dist/botlit/pages/SkillDetailPage.js.map +1 -1
- package/dist/botlit/pages/SkillsPage.d.ts +2 -0
- package/dist/botlit/pages/SkillsPage.js +24 -25
- package/dist/botlit/pages/SkillsPage.js.map +1 -1
- package/dist/botlit/pages/StorePackageDetailPage.d.ts +2 -0
- package/dist/botlit/pages/StorePackageDetailPage.js +38 -39
- package/dist/botlit/pages/StorePackageDetailPage.js.map +1 -1
- package/dist/botlit/pages/StorePage.d.ts +2 -0
- package/dist/botlit/pages/StorePage.js +135 -136
- package/dist/botlit/pages/StorePage.js.map +1 -1
- package/dist/botlit/pages/index.d.ts +39 -0
- package/dist/botlit/permissions/PermissionRequired.d.ts +20 -0
- package/dist/botlit/permissions/PermissionRequired.js +10 -11
- package/dist/botlit/permissions/PermissionRequired.js.map +1 -1
- package/dist/botlit/permissions/botmanorPermissions.d.ts +82 -0
- package/dist/botlit/permissions/botmanorPermissions.js +1 -2
- package/dist/botlit/permissions/botmanorPermissions.js.map +1 -1
- package/dist/botlit/permissions/index.d.ts +7 -0
- package/dist/botlit/permissions/index.js +4 -3
- package/dist/botlit/permissions/useBotmanorPermissions.d.ts +41 -0
- package/dist/botlit/permissions/useBotmanorPermissions.js +1 -2
- package/dist/botlit/permissions/useBotmanorPermissions.js.map +1 -1
- package/dist/botlit/providers/BotlitProvider.d.ts +14 -0
- package/dist/botlit/providers/BotlitProvider.js +3 -3
- package/dist/botlit/providers/BotlitProvider.js.map +1 -1
- package/dist/botlit/store/botlitStore.d.ts +85 -0
- package/dist/botlit/store/botlitStore.js +1 -2
- package/dist/botlit/store/botlitStore.js.map +1 -1
- package/dist/botlit/store/renamedKeyStorage.d.ts +13 -0
- package/dist/botlit/store/renamedKeyStorage.js +1 -2
- package/dist/botlit/store/renamedKeyStorage.js.map +1 -1
- package/dist/botlit/types/index.d.ts +1008 -0
- package/dist/botlit/utils/cn.d.ts +2 -0
- package/dist/botlit/utils/cn.js +1 -2
- package/dist/botlit/utils/cn.js.map +1 -1
- package/dist/botlit/utils/embedding-models.d.ts +9 -0
- package/dist/botlit/utils/embedding-models.js +1 -2
- package/dist/botlit/utils/embedding-models.js.map +1 -1
- package/dist/botlit/utils/errors.d.ts +19 -0
- package/dist/botlit/utils/errors.js +1 -2
- package/dist/botlit/utils/errors.js.map +1 -1
- package/dist/botlit/utils/formatters.d.ts +38 -0
- package/dist/botlit/utils/formatters.js +0 -1
- package/dist/botlit/utils/formatters.js.map +1 -1
- package/dist/botlit/utils/navigation.d.ts +19 -0
- package/dist/botlit/utils/navigation.js +1 -2
- package/dist/botlit/utils/navigation.js.map +1 -1
- package/dist/botlit/utils/policyConfig.d.ts +68 -0
- package/dist/botlit/utils/policyConfig.js +2 -3
- package/dist/botlit/utils/policyConfig.js.map +1 -1
- package/dist/botlit/utils/unions.d.ts +25 -0
- package/dist/botlit/utils/unions.js +1 -2
- package/dist/botlit/utils/unions.js.map +1 -1
- package/dist/dev/App.d.ts +2 -0
- package/dist/dev/main.d.ts +0 -0
- package/dist/generated/global-operations.d.ts +197 -0
- package/dist/generated/global-operations.js +1 -2
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +27678 -0
- package/dist/generated/global-types.js +1 -2
- package/dist/generated/global-types.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +5489 -0
- package/dist/generated/wspace-operations.js +64 -60
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +152017 -0
- package/dist/generated/wspace-types.js +1 -2
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/shared/hooks/useTr.d.ts +16 -0
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/shared/hooks/useTr.js.map +1 -1
- package/dist/stories/Badge.stories.d.ts +11 -0
- package/dist/stories/Button.stories.d.ts +13 -0
- package/dist/stories/EmptyState.stories.d.ts +8 -0
- package/dist/stories/StatusBadge.stories.d.ts +9 -0
- package/dist/test/fixtures.d.ts +39 -0
- package/dist/test/happydom.d.ts +1 -0
- package/dist/test/renderPage.d.ts +18 -0
- package/dist/test/setup.d.ts +9 -0
- package/dist/utils/nativeBridge.d.ts +2 -0
- package/dist/utils/nativeBridge.js +1 -2
- package/package.json +87 -60
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { useBotlit as e } from "../providers/BotlitProvider.js";
|
|
2
|
-
import {
|
|
2
|
+
import { PageLayout as t } from "../components/PageLayout.js";
|
|
3
3
|
import { BOTMANOR_PERMISSIONS as n } from "../permissions/botmanorPermissions.js";
|
|
4
4
|
import { BotmanorPermissionGate as r } from "../permissions/useBotmanorPermissions.js";
|
|
5
|
-
import {
|
|
6
|
-
import { Button as
|
|
7
|
-
import "../
|
|
8
|
-
import { Card as o, CardContent as s, CardDescription as c, CardHeader as l, CardTitle as u } from "../components/Card.js";
|
|
5
|
+
import { Card as i, CardContent as a, CardDescription as o, CardHeader as s, CardTitle as c } from "../components/Card.js";
|
|
6
|
+
import { Button as l } from "../components/Button.js";
|
|
7
|
+
import { Input as u } from "../components/Input.js";
|
|
9
8
|
import { Badge as d } from "../components/Badge.js";
|
|
10
9
|
import { EmptyState as f } from "../components/EmptyState.js";
|
|
11
|
-
import {
|
|
12
|
-
import { ErrorState as m } from "../components/ErrorState.js";
|
|
13
|
-
import { storePackageName as h, useInstalledPackages as ee, usePinPackageVersion as g, useUninstallPackage as te, useUpdateInstalledPackage as _ } from "../hooks/useStore.js";
|
|
10
|
+
import { ErrorState as ee } from "../components/ErrorState.js";
|
|
14
11
|
import "../hooks/index.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
12
|
+
import { formatRelativeTime as p } from "../utils/formatters.js";
|
|
13
|
+
import { storePackageName as m, useInstalledPackages as h, usePinPackageVersion as te, useUninstallPackage as ne, useUpdateInstalledPackage as g } from "../hooks/useStore.js";
|
|
14
|
+
import { PackageKind as _ } from "../../generated/wspace-types.js";
|
|
15
|
+
import "../permissions/index.js";
|
|
16
|
+
import { useMemo as v, useState as y } from "react";
|
|
17
|
+
import { GlassCard as b, PagePurpose as x } from "@burdenoff/fe-libs/ui";
|
|
18
18
|
import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
19
19
|
import { Link as re } from "react-router";
|
|
20
|
-
import { ArrowUpCircle as T, Copy as ie, Download as
|
|
20
|
+
import { ArrowUpCircle as T, Copy as ie, Download as E, ExternalLink as D, GitBranch as ae, Link2 as oe, Package as O, RefreshCw as se, Search as ce, Settings as le, Trash2 as k } from "lucide-react";
|
|
21
21
|
import { toast as A } from "sonner";
|
|
22
|
-
|
|
22
|
+
// src/botlit/pages/InstalledPackagesPage.tsx
|
|
23
23
|
var j = [
|
|
24
24
|
"DEV",
|
|
25
25
|
"STAGING",
|
|
@@ -112,17 +112,17 @@ function R(e, t) {
|
|
|
112
112
|
return typeof n == "string" && n !== "" ? n : void 0;
|
|
113
113
|
}
|
|
114
114
|
var z = () => {
|
|
115
|
-
let { navigateTo: M, getPath: N } = e(), { data: z, loading: B, error: V, refetch: H } =
|
|
115
|
+
let { navigateTo: M, getPath: N } = e(), { data: z, loading: B, error: V, refetch: H } = h(), { uninstall: U, loading: ue } = ne(), { update: de, loading: fe } = g(), { pin: pe } = te(), [W, me] = y(""), [he, G] = y(!1), [K, ge] = y("all"), [q, J] = y(null), Y = v(() => {
|
|
116
116
|
let e = W.trim().toLowerCase();
|
|
117
117
|
return z.filter((t) => {
|
|
118
|
-
let n = !e || P(t).toLowerCase().includes(e) ||
|
|
118
|
+
let n = !e || P(t).toLowerCase().includes(e) || m(t.package).toLowerCase().includes(e), r = K === "all" || F(t) === K;
|
|
119
119
|
return n && r;
|
|
120
120
|
});
|
|
121
121
|
}, [
|
|
122
122
|
z,
|
|
123
123
|
W,
|
|
124
124
|
K
|
|
125
|
-
]), X =
|
|
125
|
+
]), X = v(() => z.find((e) => e.id === q) ?? null, [z, q]), _e = v(() => z.filter(L).length, [z]), ve = async () => {
|
|
126
126
|
G(!0);
|
|
127
127
|
try {
|
|
128
128
|
await H();
|
|
@@ -131,7 +131,7 @@ var z = () => {
|
|
|
131
131
|
}
|
|
132
132
|
}, Z = async (e) => {
|
|
133
133
|
if (confirm("Are you sure you want to uninstall this package?")) try {
|
|
134
|
-
await U(e.id), A.success(`Uninstalled "${
|
|
134
|
+
await U(e.id), A.success(`Uninstalled "${m(e.package) || P(e)}"`), J(null), H();
|
|
135
135
|
} catch (e) {
|
|
136
136
|
A.error(e instanceof Error ? e.message : "Failed to uninstall package");
|
|
137
137
|
}
|
|
@@ -156,12 +156,12 @@ var z = () => {
|
|
|
156
156
|
} catch (e) {
|
|
157
157
|
A.error(e instanceof Error ? e.message : "Failed to change version pin");
|
|
158
158
|
}
|
|
159
|
-
}, $ = (e) => e === "LINKED" ? /* @__PURE__ */ C(
|
|
160
|
-
let
|
|
161
|
-
return /* @__PURE__ */ C(
|
|
159
|
+
}, $ = (e) => e === "LINKED" ? /* @__PURE__ */ C(oe, { className: "h-4 w-4 text-status-info-text" }) : /* @__PURE__ */ C(ie, { className: "h-4 w-4 text-status-warning-text" }), be = ({ pkg: e }) => {
|
|
160
|
+
let t = I(e), o = P(e), s = L(e), c = j.filter((t) => R(e, t));
|
|
161
|
+
return /* @__PURE__ */ C(i, {
|
|
162
162
|
className: "hover:shadow-md transition-shadow cursor-pointer",
|
|
163
163
|
onClick: () => J(e.id),
|
|
164
|
-
children: /* @__PURE__ */ w(
|
|
164
|
+
children: /* @__PURE__ */ w(a, {
|
|
165
165
|
className: "pt-6",
|
|
166
166
|
children: [
|
|
167
167
|
/* @__PURE__ */ w("div", {
|
|
@@ -170,26 +170,26 @@ var z = () => {
|
|
|
170
170
|
className: "flex items-start gap-3",
|
|
171
171
|
children: [/* @__PURE__ */ C("div", {
|
|
172
172
|
className: "p-2 rounded-lg bg-bg-sunken text-2xl",
|
|
173
|
-
children:
|
|
173
|
+
children: t.icon
|
|
174
174
|
}), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
|
|
175
175
|
className: "flex items-center gap-2",
|
|
176
176
|
children: [/* @__PURE__ */ C("h3", {
|
|
177
177
|
className: "font-semibold",
|
|
178
|
-
children:
|
|
179
|
-
}),
|
|
178
|
+
children: m(e.package) || o
|
|
179
|
+
}), s && /* @__PURE__ */ w(d, {
|
|
180
180
|
variant: "warning",
|
|
181
181
|
className: "gap-1",
|
|
182
182
|
children: [/* @__PURE__ */ C(T, { className: "h-3 w-3" }), "Update"]
|
|
183
183
|
})]
|
|
184
184
|
}), /* @__PURE__ */ C("p", {
|
|
185
185
|
className: "text-sm text-text-secondary font-mono",
|
|
186
|
-
children:
|
|
186
|
+
children: o
|
|
187
187
|
})] })]
|
|
188
188
|
}), /* @__PURE__ */ w("div", {
|
|
189
189
|
className: "flex items-center gap-2",
|
|
190
190
|
children: [$(e.mode), /* @__PURE__ */ C(d, {
|
|
191
191
|
variant: "outline",
|
|
192
|
-
children:
|
|
192
|
+
children: t.label
|
|
193
193
|
})]
|
|
194
194
|
})]
|
|
195
195
|
}),
|
|
@@ -215,11 +215,11 @@ var z = () => {
|
|
|
215
215
|
children: "Installed"
|
|
216
216
|
}), /* @__PURE__ */ C("p", {
|
|
217
217
|
className: "font-medium",
|
|
218
|
-
children:
|
|
218
|
+
children: p(e.installedAt)
|
|
219
219
|
})] })
|
|
220
220
|
]
|
|
221
221
|
}),
|
|
222
|
-
|
|
222
|
+
c.length > 0 && /* @__PURE__ */ w("div", {
|
|
223
223
|
className: "mt-4 pt-4 border-t border-border-subtle",
|
|
224
224
|
children: [/* @__PURE__ */ C("p", {
|
|
225
225
|
className: "text-xs text-text-secondary mb-2",
|
|
@@ -243,17 +243,17 @@ var z = () => {
|
|
|
243
243
|
/* @__PURE__ */ w("div", {
|
|
244
244
|
className: "mt-4 flex justify-end gap-2",
|
|
245
245
|
children: [
|
|
246
|
-
/* @__PURE__ */ w(
|
|
246
|
+
/* @__PURE__ */ w(l, {
|
|
247
247
|
variant: "ghost",
|
|
248
248
|
size: "sm",
|
|
249
249
|
onClick: (e) => {
|
|
250
|
-
e.stopPropagation(), M(`store/package/${
|
|
250
|
+
e.stopPropagation(), M(`store/package/${o}`);
|
|
251
251
|
},
|
|
252
|
-
children: [/* @__PURE__ */ C(
|
|
252
|
+
children: [/* @__PURE__ */ C(D, { className: "h-4 w-4 mr-1" }), "View in Store"]
|
|
253
253
|
}),
|
|
254
|
-
|
|
254
|
+
s && /* @__PURE__ */ C(r, {
|
|
255
255
|
permission: n.STORE_UPDATE,
|
|
256
|
-
children: /* @__PURE__ */ w(
|
|
256
|
+
children: /* @__PURE__ */ w(l, {
|
|
257
257
|
variant: "outline",
|
|
258
258
|
size: "sm",
|
|
259
259
|
onClick: (t) => {
|
|
@@ -265,7 +265,7 @@ var z = () => {
|
|
|
265
265
|
}),
|
|
266
266
|
/* @__PURE__ */ C(r, {
|
|
267
267
|
permission: n.STORE_DELETE,
|
|
268
|
-
children: /* @__PURE__ */ C(
|
|
268
|
+
children: /* @__PURE__ */ C(l, {
|
|
269
269
|
variant: "ghost",
|
|
270
270
|
size: "sm",
|
|
271
271
|
"aria-label": "Uninstall package",
|
|
@@ -283,7 +283,7 @@ var z = () => {
|
|
|
283
283
|
})
|
|
284
284
|
});
|
|
285
285
|
};
|
|
286
|
-
return B ? /* @__PURE__ */ C(
|
|
286
|
+
return B ? /* @__PURE__ */ C(t, {
|
|
287
287
|
title: "Installed Packages",
|
|
288
288
|
description: "Manage installed store packages",
|
|
289
289
|
children: /* @__PURE__ */ C("div", {
|
|
@@ -294,30 +294,30 @@ var z = () => {
|
|
|
294
294
|
3
|
|
295
295
|
].map((e) => /* @__PURE__ */ C("div", { className: "h-48 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" }, e))
|
|
296
296
|
})
|
|
297
|
-
}) : /* @__PURE__ */ w(
|
|
297
|
+
}) : /* @__PURE__ */ w(t, {
|
|
298
298
|
title: "Installed Packages",
|
|
299
299
|
description: "Manage packages installed from the BotManor Store",
|
|
300
300
|
actions: /* @__PURE__ */ w("div", {
|
|
301
301
|
className: "flex gap-2",
|
|
302
|
-
children: [/* @__PURE__ */ C(
|
|
302
|
+
children: [/* @__PURE__ */ C(l, {
|
|
303
303
|
variant: "outline",
|
|
304
304
|
leftIcon: /* @__PURE__ */ C(se, { size: 16 }),
|
|
305
305
|
onClick: () => void ve(),
|
|
306
306
|
isLoading: he,
|
|
307
307
|
children: "Check Updates"
|
|
308
|
-
}), /* @__PURE__ */ C(
|
|
308
|
+
}), /* @__PURE__ */ C(l, {
|
|
309
309
|
leftIcon: /* @__PURE__ */ C(O, { size: 16 }),
|
|
310
310
|
onClick: () => M("store"),
|
|
311
311
|
children: "Browse Store"
|
|
312
312
|
})]
|
|
313
313
|
}),
|
|
314
314
|
children: [
|
|
315
|
-
/* @__PURE__ */ C(
|
|
315
|
+
/* @__PURE__ */ C(x, {
|
|
316
316
|
className: "mb-6",
|
|
317
317
|
icon: /* @__PURE__ */ C(O, { size: 18 }),
|
|
318
318
|
children: "These are the packages you have installed from the BotManor Store and how they are wired into your workspace. Manage each one’s installation mode (linked, so it auto-updates, or forked as an independent copy), pin specific versions per environment, and update or uninstall — this is your dependency manager for everything you pulled from the store."
|
|
319
319
|
}),
|
|
320
|
-
V ? /* @__PURE__ */ C(
|
|
320
|
+
V ? /* @__PURE__ */ C(ee, {
|
|
321
321
|
resource: "installed packages",
|
|
322
322
|
error: V,
|
|
323
323
|
onRetry: () => void H()
|
|
@@ -325,7 +325,7 @@ var z = () => {
|
|
|
325
325
|
/* @__PURE__ */ w("div", {
|
|
326
326
|
className: "grid grid-cols-2 md:grid-cols-4 gap-4 mb-6",
|
|
327
327
|
children: [
|
|
328
|
-
/* @__PURE__ */ w(
|
|
328
|
+
/* @__PURE__ */ w(b, {
|
|
329
329
|
treatment: "glass",
|
|
330
330
|
glow: !0,
|
|
331
331
|
className: "p-6 text-center",
|
|
@@ -337,7 +337,7 @@ var z = () => {
|
|
|
337
337
|
children: "Total Installed"
|
|
338
338
|
})]
|
|
339
339
|
}),
|
|
340
|
-
/* @__PURE__ */ w(
|
|
340
|
+
/* @__PURE__ */ w(b, {
|
|
341
341
|
treatment: "metric",
|
|
342
342
|
className: "p-6 text-center",
|
|
343
343
|
children: [/* @__PURE__ */ C("p", {
|
|
@@ -348,7 +348,7 @@ var z = () => {
|
|
|
348
348
|
children: "Linked"
|
|
349
349
|
})]
|
|
350
350
|
}),
|
|
351
|
-
/* @__PURE__ */ w(
|
|
351
|
+
/* @__PURE__ */ w(b, {
|
|
352
352
|
treatment: "metric",
|
|
353
353
|
className: "p-6 text-center",
|
|
354
354
|
children: [/* @__PURE__ */ C("p", {
|
|
@@ -359,7 +359,7 @@ var z = () => {
|
|
|
359
359
|
children: "Forked"
|
|
360
360
|
})]
|
|
361
361
|
}),
|
|
362
|
-
/* @__PURE__ */ w(
|
|
362
|
+
/* @__PURE__ */ w(b, {
|
|
363
363
|
treatment: "metric",
|
|
364
364
|
className: "p-6 text-center",
|
|
365
365
|
children: [/* @__PURE__ */ C("p", {
|
|
@@ -376,7 +376,7 @@ var z = () => {
|
|
|
376
376
|
className: "flex flex-col md:flex-row gap-4 mb-6",
|
|
377
377
|
children: [/* @__PURE__ */ w("div", {
|
|
378
378
|
className: "relative flex-1",
|
|
379
|
-
children: [/* @__PURE__ */ C(ce, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ C(
|
|
379
|
+
children: [/* @__PURE__ */ C(ce, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ C(u, {
|
|
380
380
|
placeholder: "Search packages...",
|
|
381
381
|
value: W,
|
|
382
382
|
onChange: (e) => me(e.target.value),
|
|
@@ -395,23 +395,23 @@ var z = () => {
|
|
|
395
395
|
children: "All Types"
|
|
396
396
|
}),
|
|
397
397
|
/* @__PURE__ */ C("option", {
|
|
398
|
-
value:
|
|
398
|
+
value: _.Agent,
|
|
399
399
|
children: "Agents"
|
|
400
400
|
}),
|
|
401
401
|
/* @__PURE__ */ C("option", {
|
|
402
|
-
value:
|
|
402
|
+
value: _.Skill,
|
|
403
403
|
children: "Skills"
|
|
404
404
|
}),
|
|
405
405
|
/* @__PURE__ */ C("option", {
|
|
406
|
-
value:
|
|
406
|
+
value: _.McpPack,
|
|
407
407
|
children: "MCP Packs"
|
|
408
408
|
}),
|
|
409
409
|
/* @__PURE__ */ C("option", {
|
|
410
|
-
value:
|
|
410
|
+
value: _.PromptTemplate,
|
|
411
411
|
children: "Templates"
|
|
412
412
|
}),
|
|
413
413
|
/* @__PURE__ */ C("option", {
|
|
414
|
-
value:
|
|
414
|
+
value: _.RetrievalProfile,
|
|
415
415
|
children: "Retrieval Profiles"
|
|
416
416
|
})
|
|
417
417
|
]
|
|
@@ -425,15 +425,15 @@ var z = () => {
|
|
|
425
425
|
illustration: "empty-generic",
|
|
426
426
|
title: W || K !== "all" ? "No matching packages" : "No packages installed",
|
|
427
427
|
description: W || K !== "all" ? "Try adjusting your search or type filter." : "Browse the BotManor Store to find agents, skills, and tools to install.",
|
|
428
|
-
action: /* @__PURE__ */ C(
|
|
428
|
+
action: /* @__PURE__ */ C(l, {
|
|
429
429
|
onClick: () => M("store"),
|
|
430
|
-
leftIcon: /* @__PURE__ */ C(
|
|
430
|
+
leftIcon: /* @__PURE__ */ C(E, { className: "h-4 w-4" }),
|
|
431
431
|
children: "Browse Store"
|
|
432
432
|
})
|
|
433
433
|
})
|
|
434
434
|
] }),
|
|
435
|
-
X && /* @__PURE__ */ C(({ pkg: e, onClose:
|
|
436
|
-
let
|
|
435
|
+
X && /* @__PURE__ */ C(({ pkg: e, onClose: t }) => {
|
|
436
|
+
let u = I(e), d = P(e), f = e.bindings ?? {};
|
|
437
437
|
return /* @__PURE__ */ C("div", {
|
|
438
438
|
className: "fixed inset-0 bg-black/50 flex items-center justify-center z-50",
|
|
439
439
|
children: /* @__PURE__ */ w("div", {
|
|
@@ -447,19 +447,19 @@ var z = () => {
|
|
|
447
447
|
className: "flex items-start gap-3",
|
|
448
448
|
children: [/* @__PURE__ */ C("div", {
|
|
449
449
|
className: "p-3 rounded-lg bg-bg-sunken text-3xl",
|
|
450
|
-
children:
|
|
450
|
+
children: u.icon
|
|
451
451
|
}), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("h2", {
|
|
452
452
|
className: "text-xl font-bold",
|
|
453
|
-
children:
|
|
453
|
+
children: m(e.package) || d
|
|
454
454
|
}), /* @__PURE__ */ C("p", {
|
|
455
455
|
className: "text-sm text-text-secondary font-mono",
|
|
456
|
-
children:
|
|
456
|
+
children: d
|
|
457
457
|
})] })]
|
|
458
|
-
}), /* @__PURE__ */ C(
|
|
458
|
+
}), /* @__PURE__ */ C(l, {
|
|
459
459
|
variant: "ghost",
|
|
460
460
|
size: "sm",
|
|
461
461
|
"aria-label": "Close",
|
|
462
|
-
onClick:
|
|
462
|
+
onClick: t,
|
|
463
463
|
children: "×"
|
|
464
464
|
})]
|
|
465
465
|
})
|
|
@@ -467,10 +467,10 @@ var z = () => {
|
|
|
467
467
|
/* @__PURE__ */ w("div", {
|
|
468
468
|
className: "p-6 space-y-6",
|
|
469
469
|
children: [
|
|
470
|
-
/* @__PURE__ */ w(
|
|
470
|
+
/* @__PURE__ */ w(i, { children: [/* @__PURE__ */ C(s, { children: /* @__PURE__ */ C(c, {
|
|
471
471
|
className: "text-base",
|
|
472
472
|
children: "Version Information"
|
|
473
|
-
}) }), /* @__PURE__ */ w(
|
|
473
|
+
}) }), /* @__PURE__ */ w(a, {
|
|
474
474
|
className: "space-y-4",
|
|
475
475
|
children: [/* @__PURE__ */ w("div", {
|
|
476
476
|
className: "grid grid-cols-2 gap-4",
|
|
@@ -505,10 +505,10 @@ var z = () => {
|
|
|
505
505
|
]
|
|
506
506
|
})] })]
|
|
507
507
|
})] }),
|
|
508
|
-
/* @__PURE__ */ w(
|
|
508
|
+
/* @__PURE__ */ w(i, { children: [/* @__PURE__ */ w(s, { children: [/* @__PURE__ */ w(c, {
|
|
509
509
|
className: "text-base flex items-center gap-2",
|
|
510
|
-
children: [/* @__PURE__ */ C(
|
|
511
|
-
}), /* @__PURE__ */ C(
|
|
510
|
+
children: [/* @__PURE__ */ C(ae, { className: "h-4 w-4" }), "Environment Version Pins"]
|
|
511
|
+
}), /* @__PURE__ */ C(o, { children: "Pin specific versions for each environment" })] }), /* @__PURE__ */ C(a, { children: /* @__PURE__ */ C("div", {
|
|
512
512
|
className: "space-y-3",
|
|
513
513
|
children: j.map((t) => {
|
|
514
514
|
let i = R(e, t);
|
|
@@ -524,7 +524,7 @@ var z = () => {
|
|
|
524
524
|
className: "flex gap-2",
|
|
525
525
|
children: i ? /* @__PURE__ */ C(r, {
|
|
526
526
|
permission: n.STORE_UPDATE,
|
|
527
|
-
children: /* @__PURE__ */ C(
|
|
527
|
+
children: /* @__PURE__ */ C(l, {
|
|
528
528
|
variant: "outline",
|
|
529
529
|
size: "sm",
|
|
530
530
|
onClick: () => void Q(e, t, ""),
|
|
@@ -532,7 +532,7 @@ var z = () => {
|
|
|
532
532
|
})
|
|
533
533
|
}) : /* @__PURE__ */ C(r, {
|
|
534
534
|
permission: n.STORE_UPDATE,
|
|
535
|
-
children: /* @__PURE__ */ C(
|
|
535
|
+
children: /* @__PURE__ */ C(l, {
|
|
536
536
|
variant: "outline",
|
|
537
537
|
size: "sm",
|
|
538
538
|
onClick: () => void Q(e, t, e.installedVersion),
|
|
@@ -543,12 +543,12 @@ var z = () => {
|
|
|
543
543
|
}, t);
|
|
544
544
|
})
|
|
545
545
|
}) })] }),
|
|
546
|
-
Object.keys(
|
|
546
|
+
Object.keys(f).length > 0 && /* @__PURE__ */ w(i, { children: [/* @__PURE__ */ C(s, { children: /* @__PURE__ */ w(c, {
|
|
547
547
|
className: "text-base flex items-center gap-2",
|
|
548
548
|
children: [/* @__PURE__ */ C(le, { className: "h-4 w-4" }), "Configuration Bindings"]
|
|
549
|
-
}) }), /* @__PURE__ */ C(
|
|
549
|
+
}) }), /* @__PURE__ */ C(a, { children: /* @__PURE__ */ C("div", {
|
|
550
550
|
className: "space-y-2",
|
|
551
|
-
children: Object.entries(
|
|
551
|
+
children: Object.entries(f).map(([e, t]) => /* @__PURE__ */ w("div", {
|
|
552
552
|
className: "flex justify-between p-2 bg-bg-sunken rounded",
|
|
553
553
|
children: [/* @__PURE__ */ C("span", {
|
|
554
554
|
className: "font-mono text-sm",
|
|
@@ -559,10 +559,10 @@ var z = () => {
|
|
|
559
559
|
})]
|
|
560
560
|
}, e))
|
|
561
561
|
}) })] }),
|
|
562
|
-
/* @__PURE__ */ w(
|
|
562
|
+
/* @__PURE__ */ w(i, { children: [/* @__PURE__ */ C(s, { children: /* @__PURE__ */ C(c, {
|
|
563
563
|
className: "text-base",
|
|
564
564
|
children: "Metadata"
|
|
565
|
-
}) }), /* @__PURE__ */ C(
|
|
565
|
+
}) }), /* @__PURE__ */ C(a, { children: /* @__PURE__ */ w("div", {
|
|
566
566
|
className: "grid grid-cols-2 gap-4 text-sm",
|
|
567
567
|
children: [
|
|
568
568
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
@@ -570,7 +570,7 @@ var z = () => {
|
|
|
570
570
|
children: "Installed At"
|
|
571
571
|
}), /* @__PURE__ */ C("p", {
|
|
572
572
|
className: "font-medium",
|
|
573
|
-
children:
|
|
573
|
+
children: p(e.installedAt)
|
|
574
574
|
})] }),
|
|
575
575
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
576
576
|
className: "text-text-secondary",
|
|
@@ -601,7 +601,7 @@ var z = () => {
|
|
|
601
601
|
className: "p-6 border-t border-border-subtle flex justify-between",
|
|
602
602
|
children: [/* @__PURE__ */ C(r, {
|
|
603
603
|
permission: n.STORE_DELETE,
|
|
604
|
-
children: /* @__PURE__ */ w(
|
|
604
|
+
children: /* @__PURE__ */ w(l, {
|
|
605
605
|
variant: "destructive",
|
|
606
606
|
onClick: () => void Z(e),
|
|
607
607
|
children: [/* @__PURE__ */ C(k, { className: "h-4 w-4 mr-2" }), "Uninstall"]
|
|
@@ -609,14 +609,14 @@ var z = () => {
|
|
|
609
609
|
}), /* @__PURE__ */ w("div", {
|
|
610
610
|
className: "flex gap-2",
|
|
611
611
|
children: [/* @__PURE__ */ C(re, {
|
|
612
|
-
to: N(`store/package/${
|
|
613
|
-
children: /* @__PURE__ */ C(
|
|
612
|
+
to: N(`store/package/${d}`),
|
|
613
|
+
children: /* @__PURE__ */ C(l, {
|
|
614
614
|
variant: "outline",
|
|
615
615
|
children: "View in Store"
|
|
616
616
|
})
|
|
617
|
-
}), /* @__PURE__ */ C(
|
|
617
|
+
}), /* @__PURE__ */ C(l, {
|
|
618
618
|
variant: "outline",
|
|
619
|
-
onClick:
|
|
619
|
+
onClick: t,
|
|
620
620
|
children: "Close"
|
|
621
621
|
})]
|
|
622
622
|
})]
|
|
@@ -631,7 +631,6 @@ var z = () => {
|
|
|
631
631
|
]
|
|
632
632
|
});
|
|
633
633
|
};
|
|
634
|
-
//#endregion
|
|
635
634
|
export { z as InstalledPackagesPage };
|
|
636
635
|
|
|
637
636
|
//# sourceMappingURL=InstalledPackagesPage.js.map
|