@mcp-use/inspector 20.0.0-beta.5 → 20.0.0-beta.50
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/README.md +31 -78
- package/dist/app/inspector.css.gz +0 -0
- package/dist/app/inspector.js.gz +0 -0
- package/dist/app/providers/anthropic.png +0 -0
- package/dist/app/providers/google.png +0 -0
- package/dist/app/providers/openai.png +0 -0
- package/dist/cli.js +332 -1384
- package/dist/client/index.d.ts +1405 -50
- package/dist/client/index.js +165 -24019
- package/dist/server/index.d.ts +79 -7
- package/dist/server/index.js +370 -22
- package/package.json +77 -35
- package/dist/cdn/AnimatePresence-Dcw-FOy8.js +0 -393
- package/dist/cdn/ChatTab-B255lH5i.js +0 -6744
- package/dist/cdn/CheckboxIndicator-Bt4IICtv.js +0 -251
- package/dist/cdn/ConnectionSettingsForm-DF-NS58d.js +0 -929
- package/dist/cdn/ConnectionSettingsTab-dI-Cqe79.js +0 -150
- package/dist/cdn/ElicitationTab-CL1KJ0bz.js +0 -654
- package/dist/cdn/FormContext-tmgN_Vdr.js +0 -135
- package/dist/cdn/InspectorContext-UjtEbNod.js +0 -123
- package/dist/cdn/JSONDisplay-BFxf5oEu.js +0 -324
- package/dist/cdn/ListTabHeader-Cv-GmtGF.js +0 -88
- package/dist/cdn/ManufactOAuthCallback-B98kSYCj.js +0 -31
- package/dist/cdn/MarkdownRenderer-Ba7nA4Ie.js +0 -3610
- package/dist/cdn/NotificationsTab-CeImSrhx.js +0 -290
- package/dist/cdn/OAuthCallback-Blc2Asxc.js +0 -58
- package/dist/cdn/PromptsTab-BYKnY7Rp.js +0 -901
- package/dist/cdn/ResourcesTab-BGualKW-.js +0 -564
- package/dist/cdn/SamplingTab-BeZBUeni.js +0 -658
- package/dist/cdn/ServerMetadataTab-CvrKX8fz.js +0 -244
- package/dist/cdn/StatusIcon-D0-ARyOh.js +0 -66
- package/dist/cdn/ToolsTab-j6n4O_3s.js +0 -2033
- package/dist/cdn/ViewPreview-DihyG6Qd.js +0 -238
- package/dist/cdn/WidgetDebugContext-D4usL_MA.js +0 -324
- package/dist/cdn/WidgetWrapper-B4H3Fek7.js +0 -2210
- package/dist/cdn/basePath-B8HuhIMu.js +0 -25
- package/dist/cdn/bell-CGjAO_0s.js +0 -10
- package/dist/cdn/browser-CbQIH4w2.js +0 -42
- package/dist/cdn/brush-B_mKhyxG.js +0 -17
- package/dist/cdn/card-DgiYnSg-.js +0 -41
- package/dist/cdn/cfWorker-Bxcs9rNe.js +0 -10799
- package/dist/cdn/checkbox-By0FklhG.js +0 -20
- package/dist/cdn/chunk-QUQL4437-XnDcYQEx.js +0 -1508
- package/dist/cdn/clock-CmUbSx_B.js +0 -12
- package/dist/cdn/code-V_0nf5rg.js +0 -10
- package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
- package/dist/cdn/dialog-BsDpuJd3.js +0 -1028
- package/dist/cdn/dist-DaMB0Su9.js +0 -616
- package/dist/cdn/dist-DbX5yidW.js +0 -2306
- package/dist/cdn/external-link-CjmfT6rW.js +0 -17
- package/dist/cdn/eye-B7H96av8.js +0 -29
- package/dist/cdn/folder-open-B3lu2rG_.js +0 -7
- package/dist/cdn/hash-BVQnWi7q.js +0 -33
- package/dist/cdn/history-Csw4rb44.js +0 -17
- package/dist/cdn/index-browser-DkQOzkvX.js +0 -1934
- package/dist/cdn/info-CNiOwqkf.js +0 -19
- package/dist/cdn/input-C2OBd4PJ.js +0 -12160
- package/dist/cdn/inspector-settings-layout-0VDsjeqb.js +0 -4
- package/dist/cdn/inspector.css +0 -2
- package/dist/cdn/inspector.js +0 -24523
- package/dist/cdn/jsx-runtime-CIxvMpEo.js +0 -180
- package/dist/cdn/label-B9Jmm9be.js +0 -60
- package/dist/cdn/loader-circle-BLy9A_pp.js +0 -7
- package/dist/cdn/manufact-auth-BQMHhbLV.js +0 -423
- package/dist/cdn/maximize-2-CH5Lq90B.js +0 -21
- package/dist/cdn/maximize-BALCV_ep.js +0 -21
- package/dist/cdn/message-square-BnxdpJxZ.js +0 -7
- package/dist/cdn/not-found-DEtSM_Wd.js +0 -34
- package/dist/cdn/play-vuZ5PLnI.js +0 -7
- package/dist/cdn/providerMeta-BQIfHuNL.js +0 -379
- package/dist/cdn/providers/anthropic.png +0 -0
- package/dist/cdn/providers/google.png +0 -0
- package/dist/cdn/providers/openai.png +0 -0
- package/dist/cdn/react-BIs9pQ3H.js +0 -926
- package/dist/cdn/react-BajV-X4P.js +0 -5425
- package/dist/cdn/refresh-cw-BXY-Pa0U.js +0 -21
- package/dist/cdn/save-Tgil_AJZ.js +0 -34
- package/dist/cdn/schemaHelpers-DTV38jGq.js +0 -16
- package/dist/cdn/select-DDdiIPR2.js +0 -2594
- package/dist/cdn/servers-Dm72iTpY.js +0 -26
- package/dist/cdn/shared-DaILIQPP.js +0 -1700
- package/dist/cdn/sheet-Br_l2kry.js +0 -2077
- package/dist/cdn/sparkles-BntO2rDR.js +0 -23
- package/dist/cdn/spinner-jQtC7EBj.js +0 -15
- package/dist/cdn/square-check-big-BvwQ17Bl.js +0 -10
- package/dist/cdn/switch-C3IyQuid.js +0 -664
- package/dist/cdn/tabs-subtle-CkdI6Mac.js +0 -787
- package/dist/cdn/telemetry-DabTAQ8x.js +0 -240
- package/dist/cdn/textarea-DSbwcFVt.js +0 -14
- package/dist/cdn/trash-2-RwpJY5SL.js +0 -25
- package/dist/cdn/useAriaLabelledBy-DqAdnppm.js +0 -29
- package/dist/cdn/useCompositeItem-BRqEzYh-.js +0 -26
- package/dist/cdn/useConfig-Btmh8wjJ.js +0 -235
- package/dist/cdn/useSavedRequests-Ci2I919u.js +0 -51
- package/dist/cdn/useViewHostProps-B6SKeeH9.js +0 -349
- package/dist/cdn/wrench-DzGmCfnb.js +0 -7
- package/dist/cdn/x-C3vRQIYu.js +0 -10
- package/dist/cdn/zap-Mb-pbw2X.js +0 -10
- package/dist/client/auth/manufact-auth.d.ts +0 -32
- package/dist/client/auth/manufact-auth.d.ts.map +0 -1
- package/dist/client/chat-history/ChatHistoryHeader.d.ts +0 -4
- package/dist/client/chat-history/ChatHistoryHeader.d.ts.map +0 -1
- package/dist/client/chat-history/ChatHistoryPanel.d.ts +0 -28
- package/dist/client/chat-history/ChatHistoryPanel.d.ts.map +0 -1
- package/dist/client/chat-history/ChatHistoryRail.d.ts +0 -5
- package/dist/client/chat-history/ChatHistoryRail.d.ts.map +0 -1
- package/dist/client/chat-history/ChatList.d.ts +0 -18
- package/dist/client/chat-history/ChatList.d.ts.map +0 -1
- package/dist/client/chat-history/ChatTitleReveal.d.ts +0 -10
- package/dist/client/chat-history/ChatTitleReveal.d.ts.map +0 -1
- package/dist/client/chat-history/chat-events-to-inspector-messages.d.ts +0 -13
- package/dist/client/chat-history/chat-events-to-inspector-messages.d.ts.map +0 -1
- package/dist/client/chat-history/chat-title.d.ts +0 -10
- package/dist/client/chat-history/chat-title.d.ts.map +0 -1
- package/dist/client/chat-history/providers/local-storage.d.ts +0 -21
- package/dist/client/chat-history/providers/local-storage.d.ts.map +0 -1
- package/dist/client/chat-history/types.d.ts +0 -39
- package/dist/client/chat-history/types.d.ts.map +0 -1
- package/dist/client/chat-history/useChatHistory.d.ts +0 -20
- package/dist/client/chat-history/useChatHistory.d.ts.map +0 -1
- package/dist/client/chat-history/useChatTitleGeneration.d.ts +0 -17
- package/dist/client/chat-history/useChatTitleGeneration.d.ts.map +0 -1
- package/dist/client/components/AddToClientDropdown.d.ts +0 -52
- package/dist/client/components/AddToClientDropdown.d.ts.map +0 -1
- package/dist/client/components/ChatTab.d.ts +0 -98
- package/dist/client/components/ChatTab.d.ts.map +0 -1
- package/dist/client/components/IframeConsole.d.ts +0 -7
- package/dist/client/components/IframeConsole.d.ts.map +0 -1
- package/dist/client/components/MCPAppsDebugControls.d.ts +0 -19
- package/dist/client/components/MCPAppsDebugControls.d.ts.map +0 -1
- package/dist/client/components/PromptsTab.d.ts +0 -34
- package/dist/client/components/PromptsTab.d.ts.map +0 -1
- package/dist/client/components/ResourcesTab.d.ts +0 -31
- package/dist/client/components/ResourcesTab.d.ts.map +0 -1
- package/dist/client/components/ToolsTab.d.ts +0 -39
- package/dist/client/components/ToolsTab.d.ts.map +0 -1
- package/dist/client/components/chat/AssistantMessage.d.ts +0 -10
- package/dist/client/components/chat/AssistantMessage.d.ts.map +0 -1
- package/dist/client/components/chat/ChatHeader.d.ts +0 -70
- package/dist/client/components/chat/ChatHeader.d.ts.map +0 -1
- package/dist/client/components/chat/ChatInput.d.ts +0 -29
- package/dist/client/components/chat/ChatInput.d.ts.map +0 -1
- package/dist/client/components/chat/ChatInputArea.d.ts +0 -65
- package/dist/client/components/chat/ChatInputArea.d.ts.map +0 -1
- package/dist/client/components/chat/ChatLandingForm.d.ts +0 -15
- package/dist/client/components/chat/ChatLandingForm.d.ts.map +0 -1
- package/dist/client/components/chat/ChatManagedNotice.d.ts +0 -10
- package/dist/client/components/chat/ChatManagedNotice.d.ts.map +0 -1
- package/dist/client/components/chat/ChatScrollToBottomButton.d.ts +0 -7
- package/dist/client/components/chat/ChatScrollToBottomButton.d.ts.map +0 -1
- package/dist/client/components/chat/ChatScrollTopFade.d.ts +0 -7
- package/dist/client/components/chat/ChatScrollTopFade.d.ts.map +0 -1
- package/dist/client/components/chat/ChatTraceView.d.ts +0 -7
- package/dist/client/components/chat/ChatTraceView.d.ts.map +0 -1
- package/dist/client/components/chat/ConfigurationDialog.d.ts +0 -42
- package/dist/client/components/chat/ConfigurationDialog.d.ts.map +0 -1
- package/dist/client/components/chat/ConfigureEmptyState.d.ts +0 -6
- package/dist/client/components/chat/ConfigureEmptyState.d.ts.map +0 -1
- package/dist/client/components/chat/CopyButton.d.ts +0 -10
- package/dist/client/components/chat/CopyButton.d.ts.map +0 -1
- package/dist/client/components/chat/FloatingChatElicitation.d.ts +0 -10
- package/dist/client/components/chat/FloatingChatElicitation.d.ts.map +0 -1
- package/dist/client/components/chat/McpReconnectBanner.d.ts +0 -10
- package/dist/client/components/chat/McpReconnectBanner.d.ts.map +0 -1
- package/dist/client/components/chat/MessageList.d.ts +0 -47
- package/dist/client/components/chat/MessageList.d.ts.map +0 -1
- package/dist/client/components/chat/MessageMetaActions.d.ts +0 -7
- package/dist/client/components/chat/MessageMetaActions.d.ts.map +0 -1
- package/dist/client/components/chat/PromptResultsList.d.ts +0 -8
- package/dist/client/components/chat/PromptResultsList.d.ts.map +0 -1
- package/dist/client/components/chat/PromptsDropdown.d.ts +0 -11
- package/dist/client/components/chat/PromptsDropdown.d.ts.map +0 -1
- package/dist/client/components/chat/StreamingAssistantContent.d.ts +0 -7
- package/dist/client/components/chat/StreamingAssistantContent.d.ts.map +0 -1
- package/dist/client/components/chat/SystemPromptButton.d.ts +0 -11
- package/dist/client/components/chat/SystemPromptButton.d.ts.map +0 -1
- package/dist/client/components/chat/ToolCallDisplay.d.ts +0 -10
- package/dist/client/components/chat/ToolCallDisplay.d.ts.map +0 -1
- package/dist/client/components/chat/ToolResultRenderer.d.ts +0 -15
- package/dist/client/components/chat/ToolResultRenderer.d.ts.map +0 -1
- package/dist/client/components/chat/ToolSelector.d.ts +0 -13
- package/dist/client/components/chat/ToolSelector.d.ts.map +0 -1
- package/dist/client/components/chat/UserMessage.d.ts +0 -10
- package/dist/client/components/chat/UserMessage.d.ts.map +0 -1
- package/dist/client/components/chat/chat-bar-styles.d.ts +0 -6
- package/dist/client/components/chat/chat-bar-styles.d.ts.map +0 -1
- package/dist/client/components/chat/chatModeStorage.d.ts +0 -11
- package/dist/client/components/chat/chatModeStorage.d.ts.map +0 -1
- package/dist/client/components/chat/conversion.d.ts +0 -19
- package/dist/client/components/chat/conversion.d.ts.map +0 -1
- package/dist/client/components/chat/freeTier.d.ts +0 -32
- package/dist/client/components/chat/freeTier.d.ts.map +0 -1
- package/dist/client/components/chat/managedChatNotice.d.ts +0 -16
- package/dist/client/components/chat/managedChatNotice.d.ts.map +0 -1
- package/dist/client/components/chat/providerMeta.d.ts +0 -27
- package/dist/client/components/chat/providerMeta.d.ts.map +0 -1
- package/dist/client/components/chat/system-prompt/local-storage.d.ts +0 -5
- package/dist/client/components/chat/system-prompt/local-storage.d.ts.map +0 -1
- package/dist/client/components/chat/system-prompt/types.d.ts +0 -8
- package/dist/client/components/chat/system-prompt/types.d.ts.map +0 -1
- package/dist/client/components/chat/system-prompt/useLocalSystemPrompt.d.ts +0 -3
- package/dist/client/components/chat/system-prompt/useLocalSystemPrompt.d.ts.map +0 -1
- package/dist/client/components/chat/system-prompt-default.d.ts +0 -2
- package/dist/client/components/chat/system-prompt-default.d.ts.map +0 -1
- package/dist/client/components/chat/trace.d.ts +0 -84
- package/dist/client/components/chat/trace.d.ts.map +0 -1
- package/dist/client/components/chat/types.d.ts +0 -75
- package/dist/client/components/chat/types.d.ts.map +0 -1
- package/dist/client/components/chat/useChatMessages.d.ts +0 -76
- package/dist/client/components/chat/useChatMessages.d.ts.map +0 -1
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts +0 -43
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +0 -1
- package/dist/client/components/chat/useChatScrollToBottom.d.ts +0 -14
- package/dist/client/components/chat/useChatScrollToBottom.d.ts.map +0 -1
- package/dist/client/components/chat/useConfig.d.ts +0 -24
- package/dist/client/components/chat/useConfig.d.ts.map +0 -1
- package/dist/client/components/chat/useHostedChatMode.d.ts +0 -14
- package/dist/client/components/chat/useHostedChatMode.d.ts.map +0 -1
- package/dist/client/components/chat/useManagedCloudModel.d.ts +0 -14
- package/dist/client/components/chat/useManagedCloudModel.d.ts.map +0 -1
- package/dist/client/components/chat/utils.d.ts +0 -11
- package/dist/client/components/chat/utils.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/ElicitationAskUserPanel.d.ts +0 -12
- package/dist/client/components/elicitation/shared/ElicitationAskUserPanel.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/elicitationToAskUserQuestions.d.ts +0 -9
- package/dist/client/components/elicitation/shared/elicitationToAskUserQuestions.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/schemaHelpers.d.ts +0 -8
- package/dist/client/components/elicitation/shared/schemaHelpers.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptExecutionPanel.d.ts +0 -13
- package/dist/client/components/prompts/PromptExecutionPanel.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptInputForm.d.ts +0 -9
- package/dist/client/components/prompts/PromptInputForm.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptMessageCard.d.ts +0 -29
- package/dist/client/components/prompts/PromptMessageCard.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptResultDisplay.d.ts +0 -34
- package/dist/client/components/prompts/PromptResultDisplay.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptsList.d.ts +0 -10
- package/dist/client/components/prompts/PromptsList.d.ts.map +0 -1
- package/dist/client/components/prompts/SavedPromptsList.d.ts +0 -19
- package/dist/client/components/prompts/SavedPromptsList.d.ts.map +0 -1
- package/dist/client/components/resources/PropsConfigDialog.d.ts +0 -16
- package/dist/client/components/resources/PropsConfigDialog.d.ts.map +0 -1
- package/dist/client/components/resources/ResourceResultDisplay.d.ts +0 -30
- package/dist/client/components/resources/ResourceResultDisplay.d.ts.map +0 -1
- package/dist/client/components/resources/ResourcesList.d.ts +0 -10
- package/dist/client/components/resources/ResourcesList.d.ts.map +0 -1
- package/dist/client/components/shared/CollapsibleJSON.d.ts +0 -6
- package/dist/client/components/shared/CollapsibleJSON.d.ts.map +0 -1
- package/dist/client/components/shared/InspectorScrollArea.d.ts +0 -9
- package/dist/client/components/shared/InspectorScrollArea.d.ts.map +0 -1
- package/dist/client/components/shared/JSONDisplay.d.ts +0 -12
- package/dist/client/components/shared/JSONDisplay.d.ts.map +0 -1
- package/dist/client/components/shared/ListItem.d.ts +0 -24
- package/dist/client/components/shared/ListItem.d.ts.map +0 -1
- package/dist/client/components/shared/ListTabHeader.d.ts +0 -47
- package/dist/client/components/shared/ListTabHeader.d.ts.map +0 -1
- package/dist/client/components/shared/MarkdownRenderer.d.ts +0 -15
- package/dist/client/components/shared/MarkdownRenderer.d.ts.map +0 -1
- package/dist/client/components/shared/SchemaFormField.d.ts +0 -12
- package/dist/client/components/shared/SchemaFormField.d.ts.map +0 -1
- package/dist/client/components/shared/SearchTabHeader.d.ts +0 -28
- package/dist/client/components/shared/SearchTabHeader.d.ts.map +0 -1
- package/dist/client/components/shared/StatusIcon.d.ts +0 -12
- package/dist/client/components/shared/StatusIcon.d.ts.map +0 -1
- package/dist/client/components/shared/index.d.ts +0 -7
- package/dist/client/components/shared/index.d.ts.map +0 -1
- package/dist/client/components/tools/SaveRequestDialog.d.ts +0 -11
- package/dist/client/components/tools/SaveRequestDialog.d.ts.map +0 -1
- package/dist/client/components/tools/SavedRequestsList.d.ts +0 -19
- package/dist/client/components/tools/SavedRequestsList.d.ts.map +0 -1
- package/dist/client/components/tools/ToolExecutionPanel.d.ts +0 -20
- package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +0 -1
- package/dist/client/components/tools/ToolInputForm.d.ts +0 -14
- package/dist/client/components/tools/ToolInputForm.d.ts.map +0 -1
- package/dist/client/components/tools/ToolResultDisplay.d.ts +0 -24
- package/dist/client/components/tools/ToolResultDisplay.d.ts.map +0 -1
- package/dist/client/components/tools/ToolsList.d.ts +0 -10
- package/dist/client/components/tools/ToolsList.d.ts.map +0 -1
- package/dist/client/components/tools/schema-utils.d.ts +0 -13
- package/dist/client/components/tools/schema-utils.d.ts.map +0 -1
- package/dist/client/components/tools/useToolExecution.d.ts +0 -26
- package/dist/client/components/tools/useToolExecution.d.ts.map +0 -1
- package/dist/client/components/tools/useToolsTabNavigation.d.ts +0 -35
- package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +0 -1
- package/dist/client/components/ui/MeshGradientCanvas.d.ts +0 -13
- package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +0 -1
- package/dist/client/components/ui/WidgetWrapper.d.ts +0 -12
- package/dist/client/components/ui/WidgetWrapper.d.ts.map +0 -1
- package/dist/client/components/ui/alert-dialog.d.ts +0 -15
- package/dist/client/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/client/components/ui/ask-user-questions.d.ts +0 -80
- package/dist/client/components/ui/ask-user-questions.d.ts.map +0 -1
- package/dist/client/components/ui/badge.d.ts +0 -34
- package/dist/client/components/ui/badge.d.ts.map +0 -1
- package/dist/client/components/ui/blur-fade.d.ts +0 -25
- package/dist/client/components/ui/blur-fade.d.ts.map +0 -1
- package/dist/client/components/ui/button.d.ts +0 -34
- package/dist/client/components/ui/button.d.ts.map +0 -1
- package/dist/client/components/ui/chat-message.d.ts +0 -23
- package/dist/client/components/ui/chat-message.d.ts.map +0 -1
- package/dist/client/components/ui/checkbox.d.ts +0 -4
- package/dist/client/components/ui/checkbox.d.ts.map +0 -1
- package/dist/client/components/ui/client-icons.d.ts +0 -20
- package/dist/client/components/ui/client-icons.d.ts.map +0 -1
- package/dist/client/components/ui/command.d.ts +0 -17
- package/dist/client/components/ui/command.d.ts.map +0 -1
- package/dist/client/components/ui/dialog.d.ts +0 -37
- package/dist/client/components/ui/dialog.d.ts.map +0 -1
- package/dist/client/components/ui/dropdown-menu.d.ts +0 -25
- package/dist/client/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/client/components/ui/dropdown.d.ts +0 -30
- package/dist/client/components/ui/dropdown.d.ts.map +0 -1
- package/dist/client/components/ui/file-thumbnail.d.ts +0 -9
- package/dist/client/components/ui/file-thumbnail.d.ts.map +0 -1
- package/dist/client/components/ui/input.d.ts +0 -4
- package/dist/client/components/ui/input.d.ts.map +0 -1
- package/dist/client/components/ui/kbd.d.ts +0 -3
- package/dist/client/components/ui/kbd.d.ts.map +0 -1
- package/dist/client/components/ui/label.d.ts +0 -4
- package/dist/client/components/ui/label.d.ts.map +0 -1
- package/dist/client/components/ui/menu-item.d.ts +0 -52
- package/dist/client/components/ui/menu-item.d.ts.map +0 -1
- package/dist/client/components/ui/mesh-tab-background.d.ts +0 -12
- package/dist/client/components/ui/mesh-tab-background.d.ts.map +0 -1
- package/dist/client/components/ui/not-found.d.ts +0 -9
- package/dist/client/components/ui/not-found.d.ts.map +0 -1
- package/dist/client/components/ui/popover.d.ts +0 -6
- package/dist/client/components/ui/popover.d.ts.map +0 -1
- package/dist/client/components/ui/resizable.d.ts +0 -10
- package/dist/client/components/ui/resizable.d.ts.map +0 -1
- package/dist/client/components/ui/scroll-area.d.ts +0 -4
- package/dist/client/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/client/components/ui/select.d.ts +0 -52
- package/dist/client/components/ui/select.d.ts.map +0 -1
- package/dist/client/components/ui/sheet.d.ts +0 -14
- package/dist/client/components/ui/sheet.d.ts.map +0 -1
- package/dist/client/components/ui/skeleton.d.ts +0 -4
- package/dist/client/components/ui/skeleton.d.ts.map +0 -1
- package/dist/client/components/ui/spinner.d.ts +0 -3
- package/dist/client/components/ui/spinner.d.ts.map +0 -1
- package/dist/client/components/ui/switch.d.ts +0 -22
- package/dist/client/components/ui/switch.d.ts.map +0 -1
- package/dist/client/components/ui/table.d.ts +0 -9
- package/dist/client/components/ui/table.d.ts.map +0 -1
- package/dist/client/components/ui/tabs-subtle.d.ts +0 -25
- package/dist/client/components/ui/tabs-subtle.d.ts.map +0 -1
- package/dist/client/components/ui/text-shimmer.d.ts +0 -11
- package/dist/client/components/ui/text-shimmer.d.ts.map +0 -1
- package/dist/client/components/ui/textarea.d.ts +0 -4
- package/dist/client/components/ui/textarea.d.ts.map +0 -1
- package/dist/client/components/ui/tooltip.d.ts +0 -43
- package/dist/client/components/ui/tooltip.d.ts.map +0 -1
- package/dist/client/components/ui-playground/shared/SafeAreaInsetsEditor.d.ts +0 -19
- package/dist/client/components/ui-playground/shared/SafeAreaInsetsEditor.d.ts.map +0 -1
- package/dist/client/console-log-bus.d.ts +0 -24
- package/dist/client/console-log-bus.d.ts.map +0 -1
- package/dist/client/constants/debug-options.d.ts +0 -16
- package/dist/client/constants/debug-options.d.ts.map +0 -1
- package/dist/client/context/InspectorContext.d.ts +0 -134
- package/dist/client/context/InspectorContext.d.ts.map +0 -1
- package/dist/client/context/ThemeContext.d.ts +0 -17
- package/dist/client/context/ThemeContext.d.ts.map +0 -1
- package/dist/client/context/WidgetDebugContext.d.ts +0 -121
- package/dist/client/context/WidgetDebugContext.d.ts.map +0 -1
- package/dist/client/hooks/use-merge-split.d.ts +0 -36
- package/dist/client/hooks/use-merge-split.d.ts.map +0 -1
- package/dist/client/hooks/use-proximity-hover-index.d.ts +0 -27
- package/dist/client/hooks/use-proximity-hover-index.d.ts.map +0 -1
- package/dist/client/hooks/use-proximity-hover.d.ts +0 -26
- package/dist/client/hooks/use-proximity-hover.d.ts.map +0 -1
- package/dist/client/hooks/use-touch-primary.d.ts +0 -2
- package/dist/client/hooks/use-touch-primary.d.ts.map +0 -1
- package/dist/client/hooks/useDeviceViewport.d.ts +0 -18
- package/dist/client/hooks/useDeviceViewport.d.ts.map +0 -1
- package/dist/client/hooks/useHostedSession.d.ts +0 -9
- package/dist/client/hooks/useHostedSession.d.ts.map +0 -1
- package/dist/client/hooks/useIframeConsole.d.ts +0 -24
- package/dist/client/hooks/useIframeConsole.d.ts.map +0 -1
- package/dist/client/hooks/useKeyboardShortcuts.d.ts +0 -28
- package/dist/client/hooks/useKeyboardShortcuts.d.ts.map +0 -1
- package/dist/client/hooks/useMCPPrompts.d.ts +0 -94
- package/dist/client/hooks/useMCPPrompts.d.ts.map +0 -1
- package/dist/client/hooks/useMcpAppsHostContext.d.ts +0 -27
- package/dist/client/hooks/useMcpAppsHostContext.d.ts.map +0 -1
- package/dist/client/hooks/usePropsLLM.d.ts +0 -20
- package/dist/client/hooks/usePropsLLM.d.ts.map +0 -1
- package/dist/client/hooks/useResourceProps.d.ts +0 -14
- package/dist/client/hooks/useResourceProps.d.ts.map +0 -1
- package/dist/client/hooks/useSavedRequests.d.ts +0 -6
- package/dist/client/hooks/useSavedRequests.d.ts.map +0 -1
- package/dist/client/hooks/useViewHostProps.d.ts +0 -19
- package/dist/client/hooks/useViewHostProps.d.ts.map +0 -1
- package/dist/client/index.d.ts.map +0 -1
- package/dist/client/lib/elevated.d.ts +0 -28
- package/dist/client/lib/elevated.d.ts.map +0 -1
- package/dist/client/lib/font-weight.d.ts +0 -10
- package/dist/client/lib/font-weight.d.ts.map +0 -1
- package/dist/client/lib/icon-context.d.ts +0 -15
- package/dist/client/lib/icon-context.d.ts.map +0 -1
- package/dist/client/lib/shape-context.d.ts +0 -21
- package/dist/client/lib/shape-context.d.ts.map +0 -1
- package/dist/client/lib/springs.d.ts +0 -32
- package/dist/client/lib/springs.d.ts.map +0 -1
- package/dist/client/lib/surface-classes.d.ts +0 -2
- package/dist/client/lib/surface-classes.d.ts.map +0 -1
- package/dist/client/lib/surface-context.d.ts +0 -7
- package/dist/client/lib/surface-context.d.ts.map +0 -1
- package/dist/client/lib/utils.d.ts +0 -3
- package/dist/client/lib/utils.d.ts.map +0 -1
- package/dist/client/mcp-apps/csp.d.ts +0 -26
- package/dist/client/mcp-apps/csp.d.ts.map +0 -1
- package/dist/client/mcp-apps/debug/csp-suggestions.d.ts +0 -17
- package/dist/client/mcp-apps/debug/csp-suggestions.d.ts.map +0 -1
- package/dist/client/mcp-apps/logging-transport.d.ts +0 -13
- package/dist/client/mcp-apps/logging-transport.d.ts.map +0 -1
- package/dist/client/rpc-traffic-coalesce.d.ts +0 -7
- package/dist/client/rpc-traffic-coalesce.d.ts.map +0 -1
- package/dist/client/rpc-traffic-store.d.ts +0 -37
- package/dist/client/rpc-traffic-store.d.ts.map +0 -1
- package/dist/client/telemetry/capture.d.ts +0 -7
- package/dist/client/telemetry/capture.d.ts.map +0 -1
- package/dist/client/telemetry/events.d.ts +0 -168
- package/dist/client/telemetry/events.d.ts.map +0 -1
- package/dist/client/telemetry/index.d.ts +0 -5
- package/dist/client/telemetry/index.d.ts.map +0 -1
- package/dist/client/telemetry/init.d.ts +0 -2
- package/dist/client/telemetry/init.d.ts.map +0 -1
- package/dist/client/telemetry/utils.d.ts +0 -7
- package/dist/client/telemetry/utils.d.ts.map +0 -1
- package/dist/client/types/message-content-block.d.ts +0 -19
- package/dist/client/types/message-content-block.d.ts.map +0 -1
- package/dist/client/types/pending-requests.d.ts +0 -17
- package/dist/client/types/pending-requests.d.ts.map +0 -1
- package/dist/client/utils/basePath.d.ts +0 -34
- package/dist/client/utils/basePath.d.ts.map +0 -1
- package/dist/client/utils/browser.d.ts +0 -5
- package/dist/client/utils/browser.d.ts.map +0 -1
- package/dist/client/utils/format.d.ts +0 -4
- package/dist/client/utils/format.d.ts.map +0 -1
- package/dist/client/utils/highlightJson.d.ts +0 -11
- package/dist/client/utils/highlightJson.d.ts.map +0 -1
- package/dist/client/utils/jsonUtils.d.ts +0 -24
- package/dist/client/utils/jsonUtils.d.ts.map +0 -1
- package/dist/client/utils/mcpClientUtils.d.ts +0 -131
- package/dist/client/utils/mcpClientUtils.d.ts.map +0 -1
- package/dist/client/utils/servers.d.ts +0 -14
- package/dist/client/utils/servers.d.ts.map +0 -1
- package/dist/server/asset-urls.d.ts +0 -18
- package/dist/server/asset-urls.d.ts.map +0 -1
- package/dist/server/asset-urls.js +0 -17
- package/dist/server/cdn-shell.d.ts +0 -18
- package/dist/server/cdn-shell.d.ts.map +0 -1
- package/dist/server/cdn-shell.js +0 -12
- package/dist/server/chunk-DSTNUYWX.js +0 -148
- package/dist/server/chunk-H6ZCIKBS.js +0 -63
- package/dist/server/chunk-IKTZUWSX.js +0 -0
- package/dist/server/chunk-J4FNYLBF.js +0 -54
- package/dist/server/chunk-K2F2AJOI.js +0 -619
- package/dist/server/chunk-KD7K27XK.js +0 -77
- package/dist/server/chunk-M5TZA42I.js +0 -54
- package/dist/server/chunk-OWR2BIBW.js +0 -40
- package/dist/server/chunk-PKBMQBKP.js +0 -7
- package/dist/server/chunk-SQ4XNMLT.js +0 -72
- package/dist/server/chunk-UJLXHNQP.js +0 -43
- package/dist/server/chunk-WFT4JHYI.js +0 -24
- package/dist/server/chunk-XCNS5CIW.js +0 -199
- package/dist/server/chunk-ZCGLU5T7.js +0 -156
- package/dist/server/cli.d.ts +0 -3
- package/dist/server/cli.d.ts.map +0 -1
- package/dist/server/cli.js +0 -141
- package/dist/server/create-dev-api-app.d.ts +0 -4
- package/dist/server/create-dev-api-app.d.ts.map +0 -1
- package/dist/server/create-dev-api-app.js +0 -11
- package/dist/server/dev-callback-redirect.d.ts +0 -3
- package/dist/server/dev-callback-redirect.d.ts.map +0 -1
- package/dist/server/dev-callback-redirect.js +0 -18
- package/dist/server/favicon-links.d.ts +0 -12
- package/dist/server/favicon-links.d.ts.map +0 -1
- package/dist/server/favicon-links.js +0 -11
- package/dist/server/favicon-static.d.ts +0 -4
- package/dist/server/favicon-static.d.ts.map +0 -1
- package/dist/server/favicon-static.js +0 -8
- package/dist/server/index.d.ts.map +0 -1
- package/dist/server/middleware.d.ts +0 -40
- package/dist/server/middleware.d.ts.map +0 -1
- package/dist/server/middleware.js +0 -17
- package/dist/server/proxy/index.d.ts +0 -3
- package/dist/server/proxy/index.d.ts.map +0 -1
- package/dist/server/proxy/index.js +0 -12
- package/dist/server/proxy/mcp-proxy.d.ts +0 -101
- package/dist/server/proxy/mcp-proxy.d.ts.map +0 -1
- package/dist/server/proxy/mcp-proxy.js +0 -10
- package/dist/server/proxy/oauth-proxy.d.ts +0 -26
- package/dist/server/proxy/oauth-proxy.d.ts.map +0 -1
- package/dist/server/proxy/oauth-proxy.js +0 -9
- package/dist/server/proxy-routes.d.ts +0 -16
- package/dist/server/proxy-routes.d.ts.map +0 -1
- package/dist/server/proxy-routes.js +0 -10
- package/dist/server/rpc-log-bus.d.ts +0 -17
- package/dist/server/rpc-log-bus.d.ts.map +0 -1
- package/dist/server/rpc-log-bus.js +0 -77
- package/dist/server/server.d.ts +0 -15
- package/dist/server/server.d.ts.map +0 -1
- package/dist/server/server.js +0 -66
- package/dist/server/static-assets.d.ts +0 -5
- package/dist/server/static-assets.d.ts.map +0 -1
- package/dist/server/static-assets.js +0 -9
- package/dist/server/utils.d.ts +0 -33
- package/dist/server/utils.d.ts.map +0 -1
- package/dist/server/utils.js +0 -17
- package/dist/server/version.d.ts +0 -7
- package/dist/server/version.d.ts.map +0 -1
- package/dist/server/version.js +0 -9
- package/dist/server/vite-dev-api-plugin.d.ts +0 -4
- package/dist/server/vite-dev-api-plugin.d.ts.map +0 -1
- package/dist/server/vite-dev-api-plugin.js +0 -30
- package/dist/web/apple-touch-icon.png +0 -0
- package/dist/web/assets/AnimatePresence-C5p0yiY1.js +0 -9
- package/dist/web/assets/ChatTab-BCobuZDc.js +0 -18
- package/dist/web/assets/ConnectionSettingsTab-BjGkLwVu.js +0 -1
- package/dist/web/assets/ElicitationTab-D3ZUKHND.js +0 -1
- package/dist/web/assets/FormContext-DH2caWKO.js +0 -1
- package/dist/web/assets/ListTabHeader-R17w_JsB.js +0 -1
- package/dist/web/assets/ManufactOAuthCallback-CS3ydSZg.js +0 -1
- package/dist/web/assets/MarkdownRenderer-BeeBfQhv.js +0 -47
- package/dist/web/assets/NotificationsTab-Uj0_DrmK.js +0 -1
- package/dist/web/assets/OAuthCallback-C0ljgCiw.js +0 -1
- package/dist/web/assets/PromptsTab-Bns2u0G-.js +0 -15
- package/dist/web/assets/ResourcesTab-CO24312V.js +0 -2
- package/dist/web/assets/SamplingTab-7gtN7FwU.js +0 -1
- package/dist/web/assets/ServerMetadataTab-CQwqYSjL.js +0 -1
- package/dist/web/assets/ToolsTab-bDdRxI1b.js +0 -8
- package/dist/web/assets/ViewPreview-Ba1Ec5uA.js +0 -1
- package/dist/web/assets/WidgetWrapper-CYHfzrtb.js +0 -34
- package/dist/web/assets/brush--0LobUi4.js +0 -1
- package/dist/web/assets/checkbox-CzBkaNKa.js +0 -1
- package/dist/web/assets/code-tME-5H6D.js +0 -1
- package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
- package/dist/web/assets/dist-C5JjLJN9.js +0 -21
- package/dist/web/assets/index-TQ5V7cM9.js +0 -492
- package/dist/web/assets/index-fBX3akc8.css +0 -1
- package/dist/web/assets/input-CLYhA7PK.js +0 -1
- package/dist/web/assets/inspector-settings-layout-yjKRJDai.js +0 -1
- package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
- package/dist/web/assets/label-Cdim77Jw.js +0 -1
- package/dist/web/assets/maximize-2-BTT9QQU9.js +0 -1
- package/dist/web/assets/maximize-_O55kFcr.js +0 -1
- package/dist/web/assets/react-CU_d2d5K.js +0 -1
- package/dist/web/assets/refresh-cw-C9wQl8_d.js +0 -1
- package/dist/web/assets/save-B-MsgxX9.js +0 -1
- package/dist/web/assets/schemaHelpers-DLNTQr_6.js +0 -1
- package/dist/web/assets/select-CJ57-Bor.js +0 -1
- package/dist/web/assets/shared-BF0rJNdE.js +0 -1
- package/dist/web/assets/sparkles-2OAsc1aP.js +0 -1
- package/dist/web/assets/tabs-subtle-6D79T1xd.js +0 -1
- package/dist/web/assets/textarea-DLAmNVf_.js +0 -1
- package/dist/web/assets/useConfig-BAgALiZg.js +0 -1
- package/dist/web/assets/useViewHostProps-BYitt_6K.js +0 -1
- package/dist/web/assets/zap-Du2Uc5pa.js +0 -1
- package/dist/web/favicon-96x96.png +0 -0
- package/dist/web/favicon-black.svg +0 -5
- package/dist/web/favicon-white.svg +0 -5
- package/dist/web/favicon.ico +0 -0
- package/dist/web/favicon.svg +0 -5
- package/dist/web/index.html +0 -89
- package/dist/web/providers/anthropic.png +0 -0
- package/dist/web/providers/google.png +0 -0
- package/dist/web/providers/openai.png +0 -0
- package/dist/web/site.webmanifest +0 -21
- package/dist/web/web-app-manifest-192x192.png +0 -0
- package/dist/web/web-app-manifest-512x512.png +0 -0
- /package/dist/{cdn → app}/apple-touch-icon.png +0 -0
- /package/dist/{cdn → app}/favicon-96x96.png +0 -0
- /package/dist/{cdn → app}/favicon-black.svg +0 -0
- /package/dist/{cdn → app}/favicon-white.svg +0 -0
- /package/dist/{cdn → app}/favicon.ico +0 -0
- /package/dist/{cdn → app}/favicon.svg +0 -0
- /package/dist/{cdn → app}/site.webmanifest +0 -0
- /package/dist/{cdn → app}/web-app-manifest-192x192.png +0 -0
- /package/dist/{cdn → app}/web-app-manifest-512x512.png +0 -0
|
@@ -1,1028 +0,0 @@
|
|
|
1
|
-
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import { Bn as n, Dt as r, En as i, G as a, It as o, K as s, Lr as c, Mn as l, Nn as u, Pt as d, Rr as f, Tt as p, Wn as m, _r as h, _t as g, ar as _, at as v, br as y, dr as b, dt as x, f as S, gt as C, hn as w, ht as T, it as E, lt as D, mn as O, mt as k, nr as A, or as j, ot as ee, pr as M, pt as te, rr as N, rt as ne, s as P, sr as F, st as re, ut as ie, wt as I, yt as ae } from "./input-C2OBd4PJ.js";
|
|
3
|
-
import { t as oe } from "./jsx-runtime-CIxvMpEo.js";
|
|
4
|
-
import { l as se } from "./AnimatePresence-Dcw-FOy8.js";
|
|
5
|
-
import { T as ce, b as le, d as ue, f as de, g as fe, u as pe, v as me, w as he, y as ge } from "./select-DDdiIPR2.js";
|
|
6
|
-
import { t as L } from "./createLucideIcon-C5fZZ6oB.js";
|
|
7
|
-
import { t as _e } from "./bell-CGjAO_0s.js";
|
|
8
|
-
import { a as ve, i as ye } from "./browser-CbQIH4w2.js";
|
|
9
|
-
import { t as be } from "./clock-CmUbSx_B.js";
|
|
10
|
-
import { t as xe } from "./play-vuZ5PLnI.js";
|
|
11
|
-
import { t as Se } from "./x-C3vRQIYu.js";
|
|
12
|
-
var Ce = L("arrow-left", [["path", {
|
|
13
|
-
d: "m12 19-7-7 7-7",
|
|
14
|
-
key: "1l729n"
|
|
15
|
-
}], ["path", {
|
|
16
|
-
d: "M19 12H5",
|
|
17
|
-
key: "x3x0zl"
|
|
18
|
-
}]]), we = L("arrow-right", [["path", {
|
|
19
|
-
d: "M5 12h14",
|
|
20
|
-
key: "1ays0h"
|
|
21
|
-
}], ["path", {
|
|
22
|
-
d: "m12 5 7 7-7 7",
|
|
23
|
-
key: "xquz4c"
|
|
24
|
-
}]]), Te = L("arrow-up", [["path", {
|
|
25
|
-
d: "m5 12 7-7 7 7",
|
|
26
|
-
key: "hav0vg"
|
|
27
|
-
}], ["path", {
|
|
28
|
-
d: "M12 19V5",
|
|
29
|
-
key: "x0mq9r"
|
|
30
|
-
}]]), Ee = L("brain", [
|
|
31
|
-
["path", {
|
|
32
|
-
d: "M12 18V5",
|
|
33
|
-
key: "adv99a"
|
|
34
|
-
}],
|
|
35
|
-
["path", {
|
|
36
|
-
d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",
|
|
37
|
-
key: "1e3is1"
|
|
38
|
-
}],
|
|
39
|
-
["path", {
|
|
40
|
-
d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",
|
|
41
|
-
key: "1gqd8o"
|
|
42
|
-
}],
|
|
43
|
-
["path", {
|
|
44
|
-
d: "M17.997 5.125a4 4 0 0 1 2.526 5.77",
|
|
45
|
-
key: "iwvgf7"
|
|
46
|
-
}],
|
|
47
|
-
["path", {
|
|
48
|
-
d: "M18 18a4 4 0 0 0 2-7.464",
|
|
49
|
-
key: "efp6ie"
|
|
50
|
-
}],
|
|
51
|
-
["path", {
|
|
52
|
-
d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",
|
|
53
|
-
key: "1gq6am"
|
|
54
|
-
}],
|
|
55
|
-
["path", {
|
|
56
|
-
d: "M6 18a4 4 0 0 1-2-7.464",
|
|
57
|
-
key: "k1g0md"
|
|
58
|
-
}],
|
|
59
|
-
["path", {
|
|
60
|
-
d: "M6.003 5.125a4 4 0 0 0-2.526 5.77",
|
|
61
|
-
key: "q97ue3"
|
|
62
|
-
}]
|
|
63
|
-
]), De = L("chevron-down", [["path", {
|
|
64
|
-
d: "m6 9 6 6 6-6",
|
|
65
|
-
key: "qrunsl"
|
|
66
|
-
}]]), Oe = L("circle", [["circle", {
|
|
67
|
-
cx: "12",
|
|
68
|
-
cy: "12",
|
|
69
|
-
r: "10",
|
|
70
|
-
key: "1mglay"
|
|
71
|
-
}]]), ke = L("corner-down-right", [["path", {
|
|
72
|
-
d: "m15 10 5 5-5 5",
|
|
73
|
-
key: "qqa56n"
|
|
74
|
-
}], ["path", {
|
|
75
|
-
d: "M4 4v7a4 4 0 0 0 4 4h12",
|
|
76
|
-
key: "z08zvw"
|
|
77
|
-
}]]), Ae = L("dot", [["circle", {
|
|
78
|
-
cx: "12.1",
|
|
79
|
-
cy: "12.1",
|
|
80
|
-
r: "1",
|
|
81
|
-
key: "18d7e5"
|
|
82
|
-
}]]), je = L("globe", [
|
|
83
|
-
["circle", {
|
|
84
|
-
cx: "12",
|
|
85
|
-
cy: "12",
|
|
86
|
-
r: "10",
|
|
87
|
-
key: "1mglay"
|
|
88
|
-
}],
|
|
89
|
-
["path", {
|
|
90
|
-
d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",
|
|
91
|
-
key: "13o1zl"
|
|
92
|
-
}],
|
|
93
|
-
["path", {
|
|
94
|
-
d: "M2 12h20",
|
|
95
|
-
key: "9i4pu4"
|
|
96
|
-
}]
|
|
97
|
-
]), Me = L("heart", [["path", {
|
|
98
|
-
d: "M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",
|
|
99
|
-
key: "mvr1a0"
|
|
100
|
-
}]]), Ne = L("house", [["path", {
|
|
101
|
-
d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",
|
|
102
|
-
key: "5wwlr5"
|
|
103
|
-
}], ["path", {
|
|
104
|
-
d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
|
|
105
|
-
key: "r6nss1"
|
|
106
|
-
}]]), Pe = L("image", [
|
|
107
|
-
["rect", {
|
|
108
|
-
width: "18",
|
|
109
|
-
height: "18",
|
|
110
|
-
x: "3",
|
|
111
|
-
y: "3",
|
|
112
|
-
rx: "2",
|
|
113
|
-
ry: "2",
|
|
114
|
-
key: "1m3agn"
|
|
115
|
-
}],
|
|
116
|
-
["circle", {
|
|
117
|
-
cx: "9",
|
|
118
|
-
cy: "9",
|
|
119
|
-
r: "2",
|
|
120
|
-
key: "af1f0g"
|
|
121
|
-
}],
|
|
122
|
-
["path", {
|
|
123
|
-
d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
|
|
124
|
-
key: "1xmnt7"
|
|
125
|
-
}]
|
|
126
|
-
]), Fe = L("inbox", [["polyline", {
|
|
127
|
-
points: "22 12 16 12 14 15 10 15 8 12 2 12",
|
|
128
|
-
key: "o97t9d"
|
|
129
|
-
}], ["path", {
|
|
130
|
-
d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",
|
|
131
|
-
key: "oot6mr"
|
|
132
|
-
}]]), Ie = L("lightbulb", [
|
|
133
|
-
["path", {
|
|
134
|
-
d: "M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",
|
|
135
|
-
key: "1gvzjb"
|
|
136
|
-
}],
|
|
137
|
-
["path", {
|
|
138
|
-
d: "M9 18h6",
|
|
139
|
-
key: "x1upvd"
|
|
140
|
-
}],
|
|
141
|
-
["path", {
|
|
142
|
-
d: "M10 22h4",
|
|
143
|
-
key: "ceow96"
|
|
144
|
-
}]
|
|
145
|
-
]), Le = L("link", [["path", {
|
|
146
|
-
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
147
|
-
key: "1cjeqo"
|
|
148
|
-
}], ["path", {
|
|
149
|
-
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
150
|
-
key: "19qd67"
|
|
151
|
-
}]]), Re = L("loader", [
|
|
152
|
-
["path", {
|
|
153
|
-
d: "M12 2v4",
|
|
154
|
-
key: "3427ic"
|
|
155
|
-
}],
|
|
156
|
-
["path", {
|
|
157
|
-
d: "m16.2 7.8 2.9-2.9",
|
|
158
|
-
key: "r700ao"
|
|
159
|
-
}],
|
|
160
|
-
["path", {
|
|
161
|
-
d: "M18 12h4",
|
|
162
|
-
key: "wj9ykh"
|
|
163
|
-
}],
|
|
164
|
-
["path", {
|
|
165
|
-
d: "m16.2 16.2 2.9 2.9",
|
|
166
|
-
key: "1bxg5t"
|
|
167
|
-
}],
|
|
168
|
-
["path", {
|
|
169
|
-
d: "M12 18v4",
|
|
170
|
-
key: "jadmvz"
|
|
171
|
-
}],
|
|
172
|
-
["path", {
|
|
173
|
-
d: "m4.9 19.1 2.9-2.9",
|
|
174
|
-
key: "bwix9q"
|
|
175
|
-
}],
|
|
176
|
-
["path", {
|
|
177
|
-
d: "M2 12h4",
|
|
178
|
-
key: "j09sii"
|
|
179
|
-
}],
|
|
180
|
-
["path", {
|
|
181
|
-
d: "m4.9 4.9 2.9 2.9",
|
|
182
|
-
key: "giyufr"
|
|
183
|
-
}]
|
|
184
|
-
]), ze = L("lock", [["rect", {
|
|
185
|
-
width: "18",
|
|
186
|
-
height: "11",
|
|
187
|
-
x: "3",
|
|
188
|
-
y: "11",
|
|
189
|
-
rx: "2",
|
|
190
|
-
ry: "2",
|
|
191
|
-
key: "1w4ew1"
|
|
192
|
-
}], ["path", {
|
|
193
|
-
d: "M7 11V7a5 5 0 0 1 10 0v4",
|
|
194
|
-
key: "fwvmzm"
|
|
195
|
-
}]]), Be = L("mail", [["path", {
|
|
196
|
-
d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",
|
|
197
|
-
key: "132q7q"
|
|
198
|
-
}], ["rect", {
|
|
199
|
-
x: "2",
|
|
200
|
-
y: "4",
|
|
201
|
-
width: "20",
|
|
202
|
-
height: "16",
|
|
203
|
-
rx: "2",
|
|
204
|
-
key: "izxlao"
|
|
205
|
-
}]]), Ve = L("menu", [
|
|
206
|
-
["path", {
|
|
207
|
-
d: "M4 5h16",
|
|
208
|
-
key: "1tepv9"
|
|
209
|
-
}],
|
|
210
|
-
["path", {
|
|
211
|
-
d: "M4 12h16",
|
|
212
|
-
key: "1lakjw"
|
|
213
|
-
}],
|
|
214
|
-
["path", {
|
|
215
|
-
d: "M4 19h16",
|
|
216
|
-
key: "1djgab"
|
|
217
|
-
}]
|
|
218
|
-
]), He = L("message-circle", [["path", {
|
|
219
|
-
d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",
|
|
220
|
-
key: "1sd12s"
|
|
221
|
-
}]]), Ue = L("monitor", [
|
|
222
|
-
["rect", {
|
|
223
|
-
width: "20",
|
|
224
|
-
height: "14",
|
|
225
|
-
x: "2",
|
|
226
|
-
y: "3",
|
|
227
|
-
rx: "2",
|
|
228
|
-
key: "48i651"
|
|
229
|
-
}],
|
|
230
|
-
["line", {
|
|
231
|
-
x1: "8",
|
|
232
|
-
x2: "16",
|
|
233
|
-
y1: "21",
|
|
234
|
-
y2: "21",
|
|
235
|
-
key: "1svkeh"
|
|
236
|
-
}],
|
|
237
|
-
["line", {
|
|
238
|
-
x1: "12",
|
|
239
|
-
x2: "12",
|
|
240
|
-
y1: "17",
|
|
241
|
-
y2: "21",
|
|
242
|
-
key: "vw1qmm"
|
|
243
|
-
}]
|
|
244
|
-
]), We = L("moon", [["path", {
|
|
245
|
-
d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
|
|
246
|
-
key: "kfwtm"
|
|
247
|
-
}]]), Ge = L("paintbrush", [
|
|
248
|
-
["path", {
|
|
249
|
-
d: "m14.622 17.897-10.68-2.913",
|
|
250
|
-
key: "vj2p1u"
|
|
251
|
-
}],
|
|
252
|
-
["path", {
|
|
253
|
-
d: "M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",
|
|
254
|
-
key: "18tc5c"
|
|
255
|
-
}],
|
|
256
|
-
["path", {
|
|
257
|
-
d: "M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",
|
|
258
|
-
key: "ytzfxy"
|
|
259
|
-
}]
|
|
260
|
-
]), Ke = L("palette", [
|
|
261
|
-
["path", {
|
|
262
|
-
d: "M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",
|
|
263
|
-
key: "e79jfc"
|
|
264
|
-
}],
|
|
265
|
-
["circle", {
|
|
266
|
-
cx: "13.5",
|
|
267
|
-
cy: "6.5",
|
|
268
|
-
r: ".5",
|
|
269
|
-
fill: "currentColor",
|
|
270
|
-
key: "1okk4w"
|
|
271
|
-
}],
|
|
272
|
-
["circle", {
|
|
273
|
-
cx: "17.5",
|
|
274
|
-
cy: "10.5",
|
|
275
|
-
r: ".5",
|
|
276
|
-
fill: "currentColor",
|
|
277
|
-
key: "f64h9f"
|
|
278
|
-
}],
|
|
279
|
-
["circle", {
|
|
280
|
-
cx: "6.5",
|
|
281
|
-
cy: "12.5",
|
|
282
|
-
r: ".5",
|
|
283
|
-
fill: "currentColor",
|
|
284
|
-
key: "qy21gx"
|
|
285
|
-
}],
|
|
286
|
-
["circle", {
|
|
287
|
-
cx: "8.5",
|
|
288
|
-
cy: "7.5",
|
|
289
|
-
r: ".5",
|
|
290
|
-
fill: "currentColor",
|
|
291
|
-
key: "fotxhn"
|
|
292
|
-
}]
|
|
293
|
-
]), qe = L("pause", [["rect", {
|
|
294
|
-
x: "14",
|
|
295
|
-
y: "3",
|
|
296
|
-
width: "5",
|
|
297
|
-
height: "18",
|
|
298
|
-
rx: "1",
|
|
299
|
-
key: "kaeet6"
|
|
300
|
-
}], ["rect", {
|
|
301
|
-
x: "5",
|
|
302
|
-
y: "3",
|
|
303
|
-
width: "5",
|
|
304
|
-
height: "18",
|
|
305
|
-
rx: "1",
|
|
306
|
-
key: "1wsw3u"
|
|
307
|
-
}]]), Je = L("pencil", [["path", {
|
|
308
|
-
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
|
|
309
|
-
key: "1a8usu"
|
|
310
|
-
}], ["path", {
|
|
311
|
-
d: "m15 5 4 4",
|
|
312
|
-
key: "1mk7zo"
|
|
313
|
-
}]]), Ye = L("pipette", [
|
|
314
|
-
["path", {
|
|
315
|
-
d: "m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",
|
|
316
|
-
key: "1y3wsu"
|
|
317
|
-
}],
|
|
318
|
-
["path", {
|
|
319
|
-
d: "m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",
|
|
320
|
-
key: "110lr1"
|
|
321
|
-
}],
|
|
322
|
-
["path", {
|
|
323
|
-
d: "m2 22 .414-.414",
|
|
324
|
-
key: "jhxm08"
|
|
325
|
-
}]
|
|
326
|
-
]), Xe = L("plus", [["path", {
|
|
327
|
-
d: "M5 12h14",
|
|
328
|
-
key: "1ays0h"
|
|
329
|
-
}], ["path", {
|
|
330
|
-
d: "M12 5v14",
|
|
331
|
-
key: "s699le"
|
|
332
|
-
}]]), Ze = L("rectangle-horizontal", [["rect", {
|
|
333
|
-
width: "20",
|
|
334
|
-
height: "12",
|
|
335
|
-
x: "2",
|
|
336
|
-
y: "6",
|
|
337
|
-
rx: "2",
|
|
338
|
-
key: "9lu3g6"
|
|
339
|
-
}]]), Qe = L("rocket", [
|
|
340
|
-
["path", {
|
|
341
|
-
d: "M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",
|
|
342
|
-
key: "m3kijz"
|
|
343
|
-
}],
|
|
344
|
-
["path", {
|
|
345
|
-
d: "m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",
|
|
346
|
-
key: "1fmvmk"
|
|
347
|
-
}],
|
|
348
|
-
["path", {
|
|
349
|
-
d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",
|
|
350
|
-
key: "1f8sc4"
|
|
351
|
-
}],
|
|
352
|
-
["path", {
|
|
353
|
-
d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",
|
|
354
|
-
key: "qeys4"
|
|
355
|
-
}]
|
|
356
|
-
]), $e = L("rotate-ccw", [["path", {
|
|
357
|
-
d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",
|
|
358
|
-
key: "1357e3"
|
|
359
|
-
}], ["path", {
|
|
360
|
-
d: "M3 3v5h5",
|
|
361
|
-
key: "1xhq8a"
|
|
362
|
-
}]]), et = L("settings", [["path", {
|
|
363
|
-
d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
|
|
364
|
-
key: "1i5ecw"
|
|
365
|
-
}], ["circle", {
|
|
366
|
-
cx: "12",
|
|
367
|
-
cy: "12",
|
|
368
|
-
r: "3",
|
|
369
|
-
key: "1v7zrd"
|
|
370
|
-
}]]), tt = L("shield", [["path", {
|
|
371
|
-
d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
|
|
372
|
-
key: "oel41y"
|
|
373
|
-
}]]), nt = L("skip-forward", [["path", {
|
|
374
|
-
d: "M21 4v16",
|
|
375
|
-
key: "7j8fe9"
|
|
376
|
-
}], ["path", {
|
|
377
|
-
d: "M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",
|
|
378
|
-
key: "zs4d6"
|
|
379
|
-
}]]), rt = L("square-library", [
|
|
380
|
-
["rect", {
|
|
381
|
-
width: "18",
|
|
382
|
-
height: "18",
|
|
383
|
-
x: "3",
|
|
384
|
-
y: "3",
|
|
385
|
-
rx: "2",
|
|
386
|
-
key: "afitv7"
|
|
387
|
-
}],
|
|
388
|
-
["path", {
|
|
389
|
-
d: "M7 7v10",
|
|
390
|
-
key: "d5nglc"
|
|
391
|
-
}],
|
|
392
|
-
["path", {
|
|
393
|
-
d: "M11 7v10",
|
|
394
|
-
key: "pptsnr"
|
|
395
|
-
}],
|
|
396
|
-
["path", {
|
|
397
|
-
d: "m15 7 2 10",
|
|
398
|
-
key: "1m7qm5"
|
|
399
|
-
}]
|
|
400
|
-
]), it = L("star", [["path", {
|
|
401
|
-
d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
|
|
402
|
-
key: "r04s7s"
|
|
403
|
-
}]]), at = L("sun", [
|
|
404
|
-
["circle", {
|
|
405
|
-
cx: "12",
|
|
406
|
-
cy: "12",
|
|
407
|
-
r: "4",
|
|
408
|
-
key: "4exip2"
|
|
409
|
-
}],
|
|
410
|
-
["path", {
|
|
411
|
-
d: "M12 2v2",
|
|
412
|
-
key: "tus03m"
|
|
413
|
-
}],
|
|
414
|
-
["path", {
|
|
415
|
-
d: "M12 20v2",
|
|
416
|
-
key: "1lh1kg"
|
|
417
|
-
}],
|
|
418
|
-
["path", {
|
|
419
|
-
d: "m4.93 4.93 1.41 1.41",
|
|
420
|
-
key: "149t6j"
|
|
421
|
-
}],
|
|
422
|
-
["path", {
|
|
423
|
-
d: "m17.66 17.66 1.41 1.41",
|
|
424
|
-
key: "ptbguv"
|
|
425
|
-
}],
|
|
426
|
-
["path", {
|
|
427
|
-
d: "M2 12h2",
|
|
428
|
-
key: "1t8f8n"
|
|
429
|
-
}],
|
|
430
|
-
["path", {
|
|
431
|
-
d: "M20 12h2",
|
|
432
|
-
key: "1q8mjw"
|
|
433
|
-
}],
|
|
434
|
-
["path", {
|
|
435
|
-
d: "m6.34 17.66-1.41 1.41",
|
|
436
|
-
key: "1m8zz5"
|
|
437
|
-
}],
|
|
438
|
-
["path", {
|
|
439
|
-
d: "m19.07 4.93-1.41 1.41",
|
|
440
|
-
key: "1shlcs"
|
|
441
|
-
}]
|
|
442
|
-
]), ot = L("user", [["path", {
|
|
443
|
-
d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",
|
|
444
|
-
key: "975kel"
|
|
445
|
-
}], ["circle", {
|
|
446
|
-
cx: "12",
|
|
447
|
-
cy: "7",
|
|
448
|
-
r: "4",
|
|
449
|
-
key: "17ys0d"
|
|
450
|
-
}]]), st = L("users", [
|
|
451
|
-
["path", {
|
|
452
|
-
d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
|
|
453
|
-
key: "1yyitq"
|
|
454
|
-
}],
|
|
455
|
-
["path", {
|
|
456
|
-
d: "M16 3.128a4 4 0 0 1 0 7.744",
|
|
457
|
-
key: "16gr8j"
|
|
458
|
-
}],
|
|
459
|
-
["path", {
|
|
460
|
-
d: "M22 21v-2a4 4 0 0 0-3-3.87",
|
|
461
|
-
key: "kshegd"
|
|
462
|
-
}],
|
|
463
|
-
["circle", {
|
|
464
|
-
cx: "9",
|
|
465
|
-
cy: "7",
|
|
466
|
-
r: "4",
|
|
467
|
-
key: "nufk8"
|
|
468
|
-
}]
|
|
469
|
-
]), R = oe(), z = /* @__PURE__ */ e(t(), 1), ct = {
|
|
470
|
-
"chevron-right": s,
|
|
471
|
-
"chevron-down": De,
|
|
472
|
-
pipette: Ye,
|
|
473
|
-
x: Se,
|
|
474
|
-
copy: ye,
|
|
475
|
-
menu: Ve,
|
|
476
|
-
dot: Ae,
|
|
477
|
-
monitor: Ue,
|
|
478
|
-
sun: at,
|
|
479
|
-
moon: We,
|
|
480
|
-
"rectangle-horizontal": Ze,
|
|
481
|
-
circle: Oe,
|
|
482
|
-
"square-library": rt,
|
|
483
|
-
clock: be,
|
|
484
|
-
star: it,
|
|
485
|
-
settings: et,
|
|
486
|
-
plus: Xe,
|
|
487
|
-
"arrow-left": Ce,
|
|
488
|
-
"arrow-right": we,
|
|
489
|
-
"arrow-up": Te,
|
|
490
|
-
search: a,
|
|
491
|
-
loader: Re,
|
|
492
|
-
users: st,
|
|
493
|
-
lock: ze,
|
|
494
|
-
mail: Be,
|
|
495
|
-
bell: _e,
|
|
496
|
-
shield: tt,
|
|
497
|
-
palette: Ke,
|
|
498
|
-
lightbulb: Ie,
|
|
499
|
-
rocket: Qe,
|
|
500
|
-
heart: Me,
|
|
501
|
-
paintbrush: Ge,
|
|
502
|
-
brain: Ee,
|
|
503
|
-
globe: je,
|
|
504
|
-
user: ot,
|
|
505
|
-
image: Pe,
|
|
506
|
-
link: Le,
|
|
507
|
-
check: ve,
|
|
508
|
-
"rotate-ccw": $e,
|
|
509
|
-
play: xe,
|
|
510
|
-
pause: qe,
|
|
511
|
-
home: Ne,
|
|
512
|
-
"message-circle": He,
|
|
513
|
-
inbox: Fe,
|
|
514
|
-
pencil: Je,
|
|
515
|
-
"skip-forward": nt,
|
|
516
|
-
"corner-down-right": ke
|
|
517
|
-
}, lt = (0, z.createContext)(null);
|
|
518
|
-
function B(e) {
|
|
519
|
-
return ((0, z.useContext)(lt) ?? ct)[e];
|
|
520
|
-
}
|
|
521
|
-
//#endregion
|
|
522
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/root/DialogRootContext.mjs
|
|
523
|
-
var V = /*#__PURE__*/ z.createContext(!1);
|
|
524
|
-
process.env.NODE_ENV !== "production" && (V.displayName = "IsDrawerContext");
|
|
525
|
-
var H = /*#__PURE__*/ z.createContext(void 0);
|
|
526
|
-
process.env.NODE_ENV !== "production" && (H.displayName = "DialogRootContext");
|
|
527
|
-
function U(e) {
|
|
528
|
-
let t = z.useContext(H);
|
|
529
|
-
if (e === !1 && t === void 0) throw Error(process.env.NODE_ENV === "production" ? y(27) : "Base UI: DialogRootContext is missing. Dialog parts must be placed within <Dialog.Root>.");
|
|
530
|
-
return t;
|
|
531
|
-
}
|
|
532
|
-
//#endregion
|
|
533
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/backdrop/DialogBackdrop.mjs
|
|
534
|
-
var ut = {
|
|
535
|
-
...N,
|
|
536
|
-
...j
|
|
537
|
-
}, W = /*#__PURE__*/ z.forwardRef(function(e, t) {
|
|
538
|
-
let { render: n, className: r, style: i, forceRender: a = !1, ...o } = e, { store: s } = U(), c = s.useState("open"), l = s.useState("nested"), u = s.useState("mounted");
|
|
539
|
-
return b("div", e, {
|
|
540
|
-
state: {
|
|
541
|
-
open: c,
|
|
542
|
-
transitionStatus: s.useState("transitionStatus")
|
|
543
|
-
},
|
|
544
|
-
ref: [s.context.backdropRef, t],
|
|
545
|
-
stateAttributesMapping: ut,
|
|
546
|
-
props: [{
|
|
547
|
-
role: "presentation",
|
|
548
|
-
hidden: !u,
|
|
549
|
-
style: {
|
|
550
|
-
userSelect: "none",
|
|
551
|
-
WebkitUserSelect: "none"
|
|
552
|
-
}
|
|
553
|
-
}, o],
|
|
554
|
-
enabled: a || !l
|
|
555
|
-
});
|
|
556
|
-
});
|
|
557
|
-
process.env.NODE_ENV !== "production" && (W.displayName = "DialogBackdrop");
|
|
558
|
-
//#endregion
|
|
559
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/close/DialogClose.mjs
|
|
560
|
-
var G = /*#__PURE__*/ z.forwardRef(function(e, t) {
|
|
561
|
-
let { render: r, className: i, style: a, disabled: o = !1, nativeButton: s = !0, ...c } = e, { store: u } = U(), d = u.useState("open"), { getButtonProps: f, buttonRef: p } = h({
|
|
562
|
-
disabled: o,
|
|
563
|
-
native: s
|
|
564
|
-
}), m = { disabled: o };
|
|
565
|
-
function g(e) {
|
|
566
|
-
d && u.setOpen(!1, l(n, e.nativeEvent));
|
|
567
|
-
}
|
|
568
|
-
return b("button", e, {
|
|
569
|
-
state: m,
|
|
570
|
-
ref: [t, p],
|
|
571
|
-
props: [
|
|
572
|
-
{ onClick: g },
|
|
573
|
-
c,
|
|
574
|
-
f
|
|
575
|
-
]
|
|
576
|
-
});
|
|
577
|
-
});
|
|
578
|
-
process.env.NODE_ENV !== "production" && (G.displayName = "DialogClose");
|
|
579
|
-
//#endregion
|
|
580
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/description/DialogDescription.mjs
|
|
581
|
-
var K = /*#__PURE__*/ z.forwardRef(function(e, t) {
|
|
582
|
-
let { render: n, className: r, style: i, id: a, ...o } = e, { store: s } = U(), c = u(a);
|
|
583
|
-
return s.useSyncedValueWithCleanup("descriptionElementId", c), b("p", e, {
|
|
584
|
-
ref: t,
|
|
585
|
-
props: [{ id: c }, o]
|
|
586
|
-
});
|
|
587
|
-
});
|
|
588
|
-
process.env.NODE_ENV !== "production" && (K.displayName = "DialogDescription");
|
|
589
|
-
//#endregion
|
|
590
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/popup/DialogPopupCssVars.mjs
|
|
591
|
-
var dt = /*#__PURE__*/ function(e) {
|
|
592
|
-
return e.nestedDialogs = "--nested-dialogs", e;
|
|
593
|
-
}({}), ft = function(e) {
|
|
594
|
-
return e[e.open = A.open] = "open", e[e.closed = A.closed] = "closed", e[e.startingStyle = A.startingStyle] = "startingStyle", e[e.endingStyle = A.endingStyle] = "endingStyle", e.nested = "data-nested", e.nestedDialogOpen = "data-nested-dialog-open", e;
|
|
595
|
-
}({}), q = /*#__PURE__*/ z.createContext(void 0);
|
|
596
|
-
process.env.NODE_ENV !== "production" && (q.displayName = "DialogPortalContext");
|
|
597
|
-
function pt() {
|
|
598
|
-
let e = z.useContext(q);
|
|
599
|
-
if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? y(26) : "Base UI: <Dialog.Portal> is missing.");
|
|
600
|
-
return e;
|
|
601
|
-
}
|
|
602
|
-
//#endregion
|
|
603
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/popup/DialogPopup.mjs
|
|
604
|
-
var mt = {
|
|
605
|
-
...N,
|
|
606
|
-
...j,
|
|
607
|
-
nestedDialogOpen(e) {
|
|
608
|
-
return e ? { [ft.nestedDialogOpen]: "" } : null;
|
|
609
|
-
}
|
|
610
|
-
}, J = /*#__PURE__*/ z.forwardRef(function(e, t) {
|
|
611
|
-
let { render: n, className: r, style: a, finalFocus: o, initialFocus: s, ...c } = e, { store: l } = U(), u = l.useState("descriptionElementId"), d = l.useState("disablePointerDismissal"), f = l.useState("floatingRootContext"), p = l.useState("popupProps"), m = l.useState("modal"), h = l.useState("mounted"), g = l.useState("nested"), _ = l.useState("nestedOpenDialogCount"), v = l.useState("open"), y = l.useState("openMethod"), x = l.useState("titleElementId"), S = l.useState("transitionStatus"), C = l.useState("role"), w = f.useState("floatingId"), T = c.id ?? w;
|
|
612
|
-
pt(), i({
|
|
613
|
-
open: v,
|
|
614
|
-
ref: l.context.popupRef,
|
|
615
|
-
onComplete() {
|
|
616
|
-
v && l.context.onOpenChangeComplete?.(!0);
|
|
617
|
-
}
|
|
618
|
-
});
|
|
619
|
-
let E = s === void 0 ? D(l.context.popupRef) : s, O = _ > 0, k = l.useStateSetter("popupElement"), A = b("div", e, {
|
|
620
|
-
state: {
|
|
621
|
-
open: v,
|
|
622
|
-
nested: g,
|
|
623
|
-
transitionStatus: S,
|
|
624
|
-
nestedDialogOpen: O
|
|
625
|
-
},
|
|
626
|
-
props: [
|
|
627
|
-
p,
|
|
628
|
-
{
|
|
629
|
-
id: T,
|
|
630
|
-
"aria-labelledby": x ?? void 0,
|
|
631
|
-
"aria-describedby": u ?? void 0,
|
|
632
|
-
role: C,
|
|
633
|
-
...re,
|
|
634
|
-
hidden: !h,
|
|
635
|
-
onKeyDown(e) {
|
|
636
|
-
se.has(e.key) && e.stopPropagation();
|
|
637
|
-
},
|
|
638
|
-
style: { [dt.nestedDialogs]: _ }
|
|
639
|
-
},
|
|
640
|
-
c
|
|
641
|
-
],
|
|
642
|
-
ref: [
|
|
643
|
-
t,
|
|
644
|
-
l.context.popupRef,
|
|
645
|
-
k
|
|
646
|
-
],
|
|
647
|
-
stateAttributesMapping: mt
|
|
648
|
-
});
|
|
649
|
-
return /*#__PURE__*/ (0, R.jsx)(ce, {
|
|
650
|
-
context: f,
|
|
651
|
-
openInteractionType: y,
|
|
652
|
-
disabled: !h,
|
|
653
|
-
closeOnFocusOut: !d,
|
|
654
|
-
initialFocus: E,
|
|
655
|
-
returnFocus: o,
|
|
656
|
-
modal: m !== !1,
|
|
657
|
-
restoreFocus: "popup",
|
|
658
|
-
children: A
|
|
659
|
-
});
|
|
660
|
-
});
|
|
661
|
-
process.env.NODE_ENV !== "production" && (J.displayName = "DialogPopup");
|
|
662
|
-
//#endregion
|
|
663
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/portal/DialogPortal.mjs
|
|
664
|
-
var Y = /*#__PURE__*/ z.forwardRef(function(e, t) {
|
|
665
|
-
let { keepMounted: n = !1, ...r } = e, { store: i } = U(), a = i.useState("mounted"), o = i.useState("modal"), s = i.useState("open");
|
|
666
|
-
return a || n ? /*#__PURE__*/ (0, R.jsx)(q.Provider, {
|
|
667
|
-
value: n,
|
|
668
|
-
children: /*#__PURE__*/ (0, R.jsxs)(d, {
|
|
669
|
-
ref: t,
|
|
670
|
-
...r,
|
|
671
|
-
children: [a && o === !0 && /*#__PURE__*/ (0, R.jsx)(ge, {
|
|
672
|
-
ref: i.context.internalBackdropRef,
|
|
673
|
-
inert: le(!s)
|
|
674
|
-
}), e.children]
|
|
675
|
-
})
|
|
676
|
-
}) : null;
|
|
677
|
-
});
|
|
678
|
-
process.env.NODE_ENV !== "production" && (Y.displayName = "DialogPortal");
|
|
679
|
-
//#endregion
|
|
680
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/root/useDialogRoot.mjs
|
|
681
|
-
function ht(e) {
|
|
682
|
-
let { store: t, actionsRef: n } = e, r = t.useState("open");
|
|
683
|
-
T(t, r), x(t);
|
|
684
|
-
let { forceUnmount: i } = te(r, t), a = z.useCallback(() => {
|
|
685
|
-
t.setOpen(!1, l(m));
|
|
686
|
-
}, [t]);
|
|
687
|
-
z.useImperativeHandle(n, () => ({
|
|
688
|
-
unmount: i,
|
|
689
|
-
close: a
|
|
690
|
-
}), [i, a]);
|
|
691
|
-
}
|
|
692
|
-
function gt({ store: e, parentContext: t, isDrawer: n }) {
|
|
693
|
-
let i = e.useState("open"), a = e.useState("disablePointerDismissal"), o = e.useState("modal"), s = e.useState("popupElement"), c = e.useState("floatingRootContext"), [l, u] = z.useState(0), [d, f] = z.useState(0), p = l === 0, m = r(c, {
|
|
694
|
-
outsidePressEvent() {
|
|
695
|
-
return e.context.internalBackdropRef.current || e.context.backdropRef.current ? "intentional" : {
|
|
696
|
-
mouse: o === "trap-focus" ? "sloppy" : "intentional",
|
|
697
|
-
touch: "sloppy"
|
|
698
|
-
};
|
|
699
|
-
},
|
|
700
|
-
outsidePress(t) {
|
|
701
|
-
if (!e.context.outsidePressEnabledRef.current || "button" in t && t.button !== 0 || "touches" in t && t.touches.length !== 1) return !1;
|
|
702
|
-
let n = w(t);
|
|
703
|
-
return p && !a ? o && (e.context.internalBackdropRef.current || e.context.backdropRef.current) ? e.context.internalBackdropRef.current === n || e.context.backdropRef.current === n || O(n, s) && !n?.hasAttribute("data-base-ui-portal") : !0 : !1;
|
|
704
|
-
},
|
|
705
|
-
escapeKey: p
|
|
706
|
-
});
|
|
707
|
-
return me(i && o === !0, s), e.useContextCallback("onNestedDialogOpen", (e, t) => {
|
|
708
|
-
u(e), f(t);
|
|
709
|
-
}), e.useContextCallback("onNestedDialogClose", () => {
|
|
710
|
-
u(0), f(0);
|
|
711
|
-
}), z.useEffect(() => (t?.onNestedDialogOpen && i && t.onNestedDialogOpen(l + 1, d + +!!n), t?.onNestedDialogClose && !i && t.onNestedDialogClose(), () => {
|
|
712
|
-
t?.onNestedDialogClose && i && t.onNestedDialogClose();
|
|
713
|
-
}), [
|
|
714
|
-
n,
|
|
715
|
-
i,
|
|
716
|
-
l,
|
|
717
|
-
d,
|
|
718
|
-
t
|
|
719
|
-
]), k(e, {
|
|
720
|
-
activeTriggerProps: m.reference ?? M,
|
|
721
|
-
inactiveTriggerProps: m.trigger ?? M,
|
|
722
|
-
popupProps: m.floating ?? M,
|
|
723
|
-
nestedOpenDialogCount: l,
|
|
724
|
-
nestedOpenDrawerCount: d
|
|
725
|
-
}), null;
|
|
726
|
-
}
|
|
727
|
-
//#endregion
|
|
728
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/store/DialogStore.mjs
|
|
729
|
-
var _t = {
|
|
730
|
-
...v,
|
|
731
|
-
modal: I((e) => e.modal),
|
|
732
|
-
nested: I((e) => e.nested),
|
|
733
|
-
nestedOpenDialogCount: I((e) => e.nestedOpenDialogCount),
|
|
734
|
-
nestedOpenDrawerCount: I((e) => e.nestedOpenDrawerCount),
|
|
735
|
-
disablePointerDismissal: I((e) => e.disablePointerDismissal),
|
|
736
|
-
openMethod: I((e) => e.openMethod),
|
|
737
|
-
descriptionElementId: I((e) => e.descriptionElementId),
|
|
738
|
-
titleElementId: I((e) => e.titleElementId),
|
|
739
|
-
viewportElement: I((e) => e.viewportElement),
|
|
740
|
-
role: I((e) => e.role)
|
|
741
|
-
}, vt = class e extends ae {
|
|
742
|
-
constructor(e, t, n = !1) {
|
|
743
|
-
let r = new ee(), i = yt(e);
|
|
744
|
-
i.floatingRootContext = E(r, t, n), super(i, {
|
|
745
|
-
popupRef: /*#__PURE__*/ z.createRef(),
|
|
746
|
-
backdropRef: /*#__PURE__*/ z.createRef(),
|
|
747
|
-
internalBackdropRef: /*#__PURE__*/ z.createRef(),
|
|
748
|
-
outsidePressEnabledRef: { current: !0 },
|
|
749
|
-
triggerElements: r,
|
|
750
|
-
onOpenChange: void 0,
|
|
751
|
-
onOpenChangeComplete: void 0
|
|
752
|
-
}, _t);
|
|
753
|
-
}
|
|
754
|
-
setOpen = (e, t) => {
|
|
755
|
-
if (t.preventUnmountOnClose = () => {
|
|
756
|
-
this.set("preventUnmountingOnClose", !0);
|
|
757
|
-
}, !e && t.trigger == null && this.state.activeTriggerId != null && (t.trigger = this.state.activeTriggerElement ?? void 0), this.context.onOpenChange?.(e, t), t.isCanceled) return;
|
|
758
|
-
this.state.floatingRootContext.dispatchOpenChange(e, t);
|
|
759
|
-
let n = { open: e };
|
|
760
|
-
ie(n, e, t.trigger), this.update(n);
|
|
761
|
-
};
|
|
762
|
-
static useStore(t, n) {
|
|
763
|
-
return C(t, (t, r) => new e(n, t, r), !0).store;
|
|
764
|
-
}
|
|
765
|
-
};
|
|
766
|
-
function yt(e = {}) {
|
|
767
|
-
return {
|
|
768
|
-
...ne(),
|
|
769
|
-
modal: !0,
|
|
770
|
-
disablePointerDismissal: !1,
|
|
771
|
-
popupElement: null,
|
|
772
|
-
viewportElement: null,
|
|
773
|
-
descriptionElementId: void 0,
|
|
774
|
-
titleElementId: void 0,
|
|
775
|
-
openMethod: null,
|
|
776
|
-
nested: !1,
|
|
777
|
-
nestedOpenDialogCount: 0,
|
|
778
|
-
nestedOpenDrawerCount: 0,
|
|
779
|
-
role: "dialog",
|
|
780
|
-
...e
|
|
781
|
-
};
|
|
782
|
-
}
|
|
783
|
-
//#endregion
|
|
784
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/root/useRenderDialogRoot.mjs
|
|
785
|
-
function bt(e, t = "dialog") {
|
|
786
|
-
let { children: n, open: r, defaultOpen: i = !1, onOpenChange: a, onOpenChangeComplete: o, disablePointerDismissal: s = !1, modal: c = !0, actionsRef: l, handle: u, triggerId: d, defaultTriggerId: f = null } = e, m = t === "drawer", h = t === "alert-dialog", g = h ? !0 : c, _ = h || s, v = h ? "alertdialog" : "dialog", y = U(!0), b = {
|
|
787
|
-
modal: g,
|
|
788
|
-
disablePointerDismissal: _,
|
|
789
|
-
nested: !!y,
|
|
790
|
-
role: v
|
|
791
|
-
}, x = vt.useStore(u?.store, {
|
|
792
|
-
open: i,
|
|
793
|
-
openProp: r,
|
|
794
|
-
activeTriggerId: f,
|
|
795
|
-
triggerIdProp: d,
|
|
796
|
-
...b
|
|
797
|
-
});
|
|
798
|
-
p(() => {
|
|
799
|
-
let e = r === void 0 && x.state.open === !1 && i === !0 ? {
|
|
800
|
-
open: !0,
|
|
801
|
-
activeTriggerId: f
|
|
802
|
-
} : null;
|
|
803
|
-
h ? x.update(e ? {
|
|
804
|
-
...b,
|
|
805
|
-
...e
|
|
806
|
-
} : b) : e && x.update(e);
|
|
807
|
-
}), x.useControlledProp("openProp", r), x.useControlledProp("triggerIdProp", d), x.useSyncedValues(b), x.useContextCallback("onOpenChange", a), x.useContextCallback("onOpenChangeComplete", o);
|
|
808
|
-
let S = x.useState("open"), C = x.useState("mounted"), w = x.useState("payload");
|
|
809
|
-
ht({
|
|
810
|
-
store: x,
|
|
811
|
-
actionsRef: l
|
|
812
|
-
});
|
|
813
|
-
let T = S || C, E = z.useMemo(() => ({ store: x }), [x]);
|
|
814
|
-
return /*#__PURE__*/ (0, R.jsx)(V.Provider, {
|
|
815
|
-
value: !1,
|
|
816
|
-
children: /*#__PURE__*/ (0, R.jsxs)(H.Provider, {
|
|
817
|
-
value: E,
|
|
818
|
-
children: [T && /*#__PURE__*/ (0, R.jsx)(gt, {
|
|
819
|
-
store: x,
|
|
820
|
-
parentContext: y?.store.context,
|
|
821
|
-
isDrawer: m
|
|
822
|
-
}), typeof n == "function" ? n({ payload: w }) : n]
|
|
823
|
-
})
|
|
824
|
-
});
|
|
825
|
-
}
|
|
826
|
-
//#endregion
|
|
827
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/root/DialogRoot.mjs
|
|
828
|
-
function xt(e) {
|
|
829
|
-
return bt(e, z.useContext(V) ? "drawer" : "dialog");
|
|
830
|
-
}
|
|
831
|
-
//#endregion
|
|
832
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/title/DialogTitle.mjs
|
|
833
|
-
var X = /*#__PURE__*/ z.forwardRef(function(e, t) {
|
|
834
|
-
let { render: n, className: r, style: i, id: a, ...o } = e, { store: s } = U(), c = u(a);
|
|
835
|
-
return s.useSyncedValueWithCleanup("titleElementId", c), b("h2", e, {
|
|
836
|
-
ref: t,
|
|
837
|
-
props: [{ id: c }, o]
|
|
838
|
-
});
|
|
839
|
-
});
|
|
840
|
-
process.env.NODE_ENV !== "production" && (X.displayName = "DialogTitle");
|
|
841
|
-
//#endregion
|
|
842
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/dialog/trigger/DialogTrigger.mjs
|
|
843
|
-
var Z = /*#__PURE__*/ z.forwardRef(function(e, t) {
|
|
844
|
-
let { render: n, className: r, style: i, disabled: a = !1, nativeButton: s = !0, id: c, payload: l, handle: d, ...f } = e, p = U(!0), m = d?.store ?? p?.store;
|
|
845
|
-
if (!m) throw Error(process.env.NODE_ENV === "production" ? y(79) : "Base UI: <Dialog.Trigger> must be used within <Dialog.Root> or provided with a handle.");
|
|
846
|
-
let v = u(c), x = m.useState("floatingRootContext"), S = m.useState("isOpenedByTrigger", v), C = m.useState("triggerPopupId", v), w = z.useRef(null), { registerTrigger: T, isMountedByThisTrigger: E } = g(v, w, m, { payload: l }), { getButtonProps: D, buttonRef: O } = h({
|
|
847
|
-
disabled: a,
|
|
848
|
-
native: s
|
|
849
|
-
}), k = he(x, { enabled: x != null }), A = fe(() => m.select("open"), (e) => {
|
|
850
|
-
m.set("openMethod", e);
|
|
851
|
-
}), j = {
|
|
852
|
-
disabled: a,
|
|
853
|
-
open: S
|
|
854
|
-
}, ee = m.useState("triggerProps", E);
|
|
855
|
-
return b("button", e, {
|
|
856
|
-
state: j,
|
|
857
|
-
ref: [
|
|
858
|
-
O,
|
|
859
|
-
t,
|
|
860
|
-
T,
|
|
861
|
-
w
|
|
862
|
-
],
|
|
863
|
-
props: [
|
|
864
|
-
k.reference,
|
|
865
|
-
ee,
|
|
866
|
-
A,
|
|
867
|
-
{
|
|
868
|
-
[o]: "",
|
|
869
|
-
id: v,
|
|
870
|
-
"aria-haspopup": "dialog",
|
|
871
|
-
"aria-expanded": S,
|
|
872
|
-
"aria-controls": C
|
|
873
|
-
},
|
|
874
|
-
f,
|
|
875
|
-
D
|
|
876
|
-
],
|
|
877
|
-
stateAttributesMapping: _
|
|
878
|
-
});
|
|
879
|
-
});
|
|
880
|
-
process.env.NODE_ENV !== "production" && (Z.displayName = "DialogTrigger");
|
|
881
|
-
//#endregion
|
|
882
|
-
//#region src/client/components/ui/dialog.tsx
|
|
883
|
-
var St = 4, Ct = "h-14", Q = (0, z.createContext)(null);
|
|
884
|
-
function $({ className: e }) {
|
|
885
|
-
let t = B("x");
|
|
886
|
-
return /* @__PURE__ */ (0, R.jsx)(G, { render: /* @__PURE__ */ (0, R.jsxs)(F, {
|
|
887
|
-
variant: "ghost",
|
|
888
|
-
size: "icon-sm",
|
|
889
|
-
className: e,
|
|
890
|
-
children: [/* @__PURE__ */ (0, R.jsx)(t, {}), /* @__PURE__ */ (0, R.jsx)("span", {
|
|
891
|
-
className: "sr-only",
|
|
892
|
-
children: "Close"
|
|
893
|
-
})]
|
|
894
|
-
}) });
|
|
895
|
-
}
|
|
896
|
-
function wt({ children: e, open: t, defaultOpen: n, onOpenChange: r, modal: i }) {
|
|
897
|
-
return /* @__PURE__ */ (0, R.jsx)(xt, {
|
|
898
|
-
open: t,
|
|
899
|
-
defaultOpen: n,
|
|
900
|
-
onOpenChange: (e) => r?.(e),
|
|
901
|
-
modal: i,
|
|
902
|
-
children: e
|
|
903
|
-
});
|
|
904
|
-
}
|
|
905
|
-
function Tt(e) {
|
|
906
|
-
return /* @__PURE__ */ (0, R.jsx)(Z, {
|
|
907
|
-
"data-slot": "dialog-trigger",
|
|
908
|
-
...e
|
|
909
|
-
});
|
|
910
|
-
}
|
|
911
|
-
var Et = (0, z.forwardRef)(({ className: e, children: t, size: n = "sm", scrollable: r = !1, container: i, ...a }, o) => {
|
|
912
|
-
let s = c(), l = de(), u = Math.min(l + St, 8), [d, p] = (0, z.useState)(!1), m = (0, z.useCallback)((e) => {
|
|
913
|
-
p(e);
|
|
914
|
-
}, []);
|
|
915
|
-
return /* @__PURE__ */ (0, R.jsxs)(Y, {
|
|
916
|
-
container: i ?? void 0,
|
|
917
|
-
children: [/* @__PURE__ */ (0, R.jsx)(W, { render: (e, t) => {
|
|
918
|
-
let n = t.transitionStatus === "ending", { style: r, onDrag: a, onDragStart: o, onDragEnd: s, onAnimationStart: c, onAnimationEnd: l, onAnimationIteration: u, ...d } = e;
|
|
919
|
-
return /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
920
|
-
...d,
|
|
921
|
-
className: f(i ? "absolute" : "fixed", "inset-0 z-50 bg-black/40 dark:bg-black/80"),
|
|
922
|
-
initial: { opacity: 0 },
|
|
923
|
-
animate: { opacity: +!n },
|
|
924
|
-
transition: n ? P.slow.exit : P.slow
|
|
925
|
-
});
|
|
926
|
-
} }), /* @__PURE__ */ (0, R.jsx)(J, {
|
|
927
|
-
ref: o,
|
|
928
|
-
render: (o, c) => {
|
|
929
|
-
let l = c.transitionStatus === "ending", { style: p, onDrag: h, onDragStart: g, onDragEnd: _, onAnimationStart: v, onAnimationEnd: y, onAnimationIteration: b, ...x } = o;
|
|
930
|
-
return /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
931
|
-
...x,
|
|
932
|
-
...a,
|
|
933
|
-
className: f(i ? "absolute" : "fixed", "left-1/2 top-1/2 z-50 w-[calc(100%-2rem)]", pe(u), "p-6 focus:outline-none", n === "sm" && "max-w-[400px]", n === "lg" && "max-w-[540px]", s.container, r && "flex flex-col overflow-hidden p-0", e),
|
|
934
|
-
style: {
|
|
935
|
-
...p,
|
|
936
|
-
...a.style
|
|
937
|
-
},
|
|
938
|
-
initial: {
|
|
939
|
-
opacity: 0,
|
|
940
|
-
scale: .97,
|
|
941
|
-
x: "-50%",
|
|
942
|
-
y: "-50%"
|
|
943
|
-
},
|
|
944
|
-
animate: {
|
|
945
|
-
opacity: +!l,
|
|
946
|
-
scale: l ? .97 : 1,
|
|
947
|
-
x: "-50%",
|
|
948
|
-
y: "-50%"
|
|
949
|
-
},
|
|
950
|
-
transition: l ? P.slow.exit : P.slow,
|
|
951
|
-
children: /* @__PURE__ */ (0, R.jsx)(ue, {
|
|
952
|
-
value: u,
|
|
953
|
-
children: /* @__PURE__ */ (0, R.jsxs)(Q.Provider, {
|
|
954
|
-
value: {
|
|
955
|
-
scrollable: r,
|
|
956
|
-
setStickyHeader: m
|
|
957
|
-
},
|
|
958
|
-
children: [t, !d && /* @__PURE__ */ (0, R.jsx)($, { className: "absolute right-3 top-3 z-20" })]
|
|
959
|
-
})
|
|
960
|
-
})
|
|
961
|
-
});
|
|
962
|
-
}
|
|
963
|
-
})]
|
|
964
|
-
});
|
|
965
|
-
});
|
|
966
|
-
Et.displayName = "DialogContent";
|
|
967
|
-
function Dt({ className: e, sticky: t, children: n, ...r }) {
|
|
968
|
-
let i = (0, z.useContext)(Q);
|
|
969
|
-
return (0, z.useLayoutEffect)(() => {
|
|
970
|
-
if (t) return i?.setStickyHeader(!0), () => i?.setStickyHeader(!1);
|
|
971
|
-
}, [t, i]), t ? /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
972
|
-
className: f("sticky top-0 z-10 mb-0 flex shrink-0 items-center gap-2 border-b border-border/50 bg-white/50 px-6 backdrop-blur-xs dark:bg-black/50", Ct, e),
|
|
973
|
-
...r,
|
|
974
|
-
children: [n, /* @__PURE__ */ (0, R.jsx)($, { className: "ml-auto shrink-0" })]
|
|
975
|
-
}) : /* @__PURE__ */ (0, R.jsx)("div", {
|
|
976
|
-
className: f("mb-4 flex flex-col gap-1.5", i?.scrollable && "px-6 pt-6", e),
|
|
977
|
-
...r,
|
|
978
|
-
children: n
|
|
979
|
-
});
|
|
980
|
-
}
|
|
981
|
-
function Ot({ className: e, ...t }) {
|
|
982
|
-
return /* @__PURE__ */ (0, R.jsx)("div", {
|
|
983
|
-
className: f("flex-1 min-h-0 overflow-y-auto overscroll-none pt-2", (0, z.useContext)(Q)?.scrollable ? "px-6 pb-6" : "-mx-6 px-6", e),
|
|
984
|
-
...t
|
|
985
|
-
});
|
|
986
|
-
}
|
|
987
|
-
function kt({ className: e, onCopy: t, children: n, ...r }) {
|
|
988
|
-
let i = B("copy"), a = B("check"), [o, s] = (0, z.useState)(!1), c = async () => {
|
|
989
|
-
if (t) try {
|
|
990
|
-
await t(), s(!0), setTimeout(() => s(!1), 2e3);
|
|
991
|
-
} catch {}
|
|
992
|
-
};
|
|
993
|
-
return /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
994
|
-
className: f("group/json relative -mx-6 bg-muted/20 px-6 pt-6 pb-4", e),
|
|
995
|
-
...r,
|
|
996
|
-
children: [t ? /* @__PURE__ */ (0, R.jsx)("div", {
|
|
997
|
-
className: "absolute top-2 right-2 z-10 opacity-0 transition-opacity group-hover/json:opacity-100",
|
|
998
|
-
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
999
|
-
variant: "ghost",
|
|
1000
|
-
size: "icon-sm",
|
|
1001
|
-
onClick: c,
|
|
1002
|
-
title: "Copy",
|
|
1003
|
-
children: o ? /* @__PURE__ */ (0, R.jsx)(a, { className: "text-green-600" }) : /* @__PURE__ */ (0, R.jsx)(i, {})
|
|
1004
|
-
})
|
|
1005
|
-
}) : null, n]
|
|
1006
|
-
});
|
|
1007
|
-
}
|
|
1008
|
-
function At({ className: e, ...t }) {
|
|
1009
|
-
return /* @__PURE__ */ (0, R.jsx)("div", {
|
|
1010
|
-
className: f("mt-6 flex justify-end gap-2", (0, z.useContext)(Q)?.scrollable && "px-6 pb-6", e),
|
|
1011
|
-
...t
|
|
1012
|
-
});
|
|
1013
|
-
}
|
|
1014
|
-
var jt = (0, z.forwardRef)(({ className: e, ...t }, n) => /* @__PURE__ */ (0, R.jsx)(X, {
|
|
1015
|
-
ref: n,
|
|
1016
|
-
className: f("m-0 text-[16px] leading-none text-foreground", e),
|
|
1017
|
-
style: { fontVariationSettings: "'wght' 700" },
|
|
1018
|
-
...t
|
|
1019
|
-
}));
|
|
1020
|
-
jt.displayName = "DialogTitle";
|
|
1021
|
-
var Mt = (0, z.forwardRef)(({ className: e, ...t }, n) => /* @__PURE__ */ (0, R.jsx)(K, {
|
|
1022
|
-
ref: n,
|
|
1023
|
-
className: f("text-[13px] text-muted-foreground", e),
|
|
1024
|
-
...t
|
|
1025
|
-
}));
|
|
1026
|
-
Mt.displayName = "DialogDescription";
|
|
1027
|
-
//#endregion
|
|
1028
|
-
export { De as A, $e as C, He as D, Ue as E, Pe as O, et as S, We as T, G as _, At as a, at as b, jt as c, X as d, xt as f, K as g, J as h, Mt as i, Te as j, je as k, Tt as l, Y as m, Ot as n, Dt as o, bt as p, Et as r, kt as s, wt as t, Z as u, W as v, Xe as w, tt as x, B as y };
|