@sciol/xyzen 0.3.10 → 0.3.11
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/app/AppSide.d.ts +3 -1
- package/dist/app/auth/AuthErrorScreen.d.ts +6 -0
- package/dist/components/animate-ui/components/animate/tabs.d.ts +12 -0
- package/dist/components/animate-ui/components/buttons/button.d.ts +2 -2
- package/dist/components/animate-ui/components/buttons/flip.d.ts +10 -0
- package/dist/components/animate-ui/components/buttons/github-stars.d.ts +1 -1
- package/dist/components/animate-ui/components/radix/progress.d.ts +4 -0
- package/dist/components/animate-ui/primitives/animate/github-stars.d.ts +1 -2
- package/dist/components/animate-ui/primitives/animate/tabs.d.ts +51 -0
- package/dist/components/animate-ui/primitives/buttons/flip.d.ts +18 -0
- package/dist/components/animate-ui/primitives/effects/highlight.d.ts +1 -2
- package/dist/components/animate-ui/primitives/headless/checkbox.d.ts +1 -2
- package/dist/components/animate-ui/primitives/radix/dropdown-menu.d.ts +1 -3
- package/dist/components/animate-ui/primitives/radix/progress.d.ts +292 -0
- package/dist/components/features/NeedAuthBadge.d.ts +1 -0
- package/dist/components/features/ToggleSidePanelShortcutHint.d.ts +1 -0
- package/dist/components/layouts/XyzenAgent.d.ts +0 -26
- package/dist/components/modals/EditAgentModal.d.ts +1 -1
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/configs/common.d.ts +4 -0
- package/dist/configs/index.d.ts +2 -0
- package/dist/constants/defaultMcps.d.ts +32 -0
- package/dist/core/auth.d.ts +19 -0
- package/dist/hooks/useAuth.d.ts +5 -9
- package/dist/hooks/useWorkShopChat.d.ts +1 -1
- package/dist/hooks/useXyzenChat.d.ts +1 -1
- package/dist/marketplace/components/SmitheryServerDetail.d.ts +7 -0
- package/dist/marketplace/hooks/useSmitheryMcp.d.ts +29 -0
- package/dist/marketplace/index.d.ts +3 -0
- package/dist/marketplace/services/smitheryService.d.ts +6 -0
- package/dist/marketplace/types/smithery.d.ts +64 -0
- package/dist/service/authService.d.ts +8 -24
- package/dist/service/http/client.d.ts +1 -0
- package/dist/service/mcpService.d.ts +1 -0
- package/dist/store/slices/agentSlice.d.ts +18 -1
- package/dist/store/slices/{authSlice.d.ts → authSlice/index.d.ts} +4 -4
- package/dist/store/slices/index.d.ts +1 -1
- package/dist/store/slices/mcpSlice.d.ts +1 -0
- package/dist/store/slices/{uiSlice.d.ts → uiSlice/index.d.ts} +2 -1
- package/dist/store/slices/uiSlice/types.d.ts +6 -0
- package/dist/store/types.d.ts +0 -1
- package/dist/types/agents.d.ts +60 -0
- package/dist/types/mcp.d.ts +17 -2
- package/dist/utils/__tests__/auth.test.d.ts +1 -0
- package/dist/utils/auth.d.ts +17 -0
- package/dist/xyzen.css +1 -1
- package/dist/xyzen.es.js +47144 -46177
- package/dist/xyzen.umd.js +153 -139
- package/package.json +5 -3
package/dist/app/AppSide.d.ts
CHANGED
|
@@ -2,5 +2,7 @@ export interface AppSideProps {
|
|
|
2
2
|
backendUrl?: string;
|
|
3
3
|
showLlmProvider?: boolean;
|
|
4
4
|
isMobile?: boolean;
|
|
5
|
+
showAuthError?: boolean;
|
|
6
|
+
onRetryAuth?: () => void;
|
|
5
7
|
}
|
|
6
|
-
export declare function AppSide({ backendUrl, showLlmProvider, isMobile, }: AppSideProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export declare function AppSide({ backendUrl, showLlmProvider, isMobile, showAuthError, onRetryAuth, }: AppSideProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TabsContentProps as TabsContentPrimitiveProps, TabsContentsProps as TabsContentsPrimitiveProps, TabsListProps as TabsListPrimitiveProps, TabsProps as TabsPrimitiveProps, TabsTriggerProps as TabsTriggerPrimitiveProps } from '../../primitives/animate/tabs';
|
|
2
|
+
type TabsProps = TabsPrimitiveProps;
|
|
3
|
+
declare function Tabs({ className, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
type TabsListProps = TabsListPrimitiveProps;
|
|
5
|
+
declare function TabsList({ className, ...props }: TabsListProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
type TabsTriggerProps = TabsTriggerPrimitiveProps;
|
|
7
|
+
declare function TabsTrigger({ className, ...props }: TabsTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
type TabsContentsProps = TabsContentsPrimitiveProps;
|
|
9
|
+
declare function TabsContents(props: TabsContentsProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
type TabsContentProps = TabsContentPrimitiveProps;
|
|
11
|
+
declare function TabsContent({ className, ...props }: TabsContentProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, type TabsContentProps, type TabsContentsProps, type TabsListProps, type TabsProps, type TabsTriggerProps, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { ButtonProps as ButtonPrimitiveProps } from '../../primitives/buttons/button';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "
|
|
5
|
-
size?: "default" | "
|
|
4
|
+
variant?: "link" | "outline" | "default" | "accent" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
type ButtonProps = ButtonPrimitiveProps & VariantProps<typeof buttonVariants>;
|
|
8
8
|
declare function Button({ className, variant, size, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { buttonVariants } from './button';
|
|
3
|
+
import { FlipButtonBackProps as FlipButtonBackPrimitiveProps, FlipButtonFrontProps as FlipButtonFrontPrimitiveProps, FlipButtonProps as FlipButtonPrimitiveProps } from '../../primitives/buttons/flip';
|
|
4
|
+
type FlipButtonProps = FlipButtonPrimitiveProps & VariantProps<typeof buttonVariants>;
|
|
5
|
+
declare function FlipButton({ variant, size, ...props }: FlipButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
type FlipButtonFrontProps = FlipButtonFrontPrimitiveProps & VariantProps<typeof buttonVariants>;
|
|
7
|
+
declare function FlipButtonFront({ variant, size, className, ...props }: FlipButtonFrontProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
type FlipButtonBackProps = FlipButtonBackPrimitiveProps & VariantProps<typeof buttonVariants>;
|
|
9
|
+
declare function FlipButtonBack({ variant, size, className, ...props }: FlipButtonBackProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { FlipButton, FlipButtonBack, FlipButtonFront, type FlipButtonBackProps, type FlipButtonFrontProps, type FlipButtonProps, };
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { GithubStarsProps } from '../../primitives/animate/github-stars';
|
|
3
3
|
import { ButtonProps as ButtonPrimitiveProps } from '../../primitives/buttons/button';
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "outline" | "default" | "accent" | "ghost" | null | undefined;
|
|
6
6
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
type GitHubStarsButtonProps = Omit<ButtonPrimitiveProps & GithubStarsProps, "asChild" | "children"> & VariantProps<typeof buttonVariants>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ProgressProps as ProgressPrimitiveProps } from '../../primitives/radix/progress';
|
|
2
|
+
type ProgressProps = ProgressPrimitiveProps;
|
|
3
|
+
declare function Progress({ className, ...props }: ProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { Progress, type ProgressProps };
|
|
@@ -36,5 +36,4 @@ type GithubStarsParticlesProps = ParticlesEffectProps & {
|
|
|
36
36
|
declare function GithubStarsParticles({ children, size, style, ...props }: GithubStarsParticlesProps): import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
type GithubStarsLogoProps = React.SVGProps<SVGSVGElement>;
|
|
38
38
|
declare function GithubStarsLogo(props: GithubStarsLogoProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export { GithubStars, GithubStarsNumber, GithubStarsIcon, GithubStarsParticles, GithubStarsLogo, useGithubStars,
|
|
40
|
-
type GithubStarsProps, type GithubStarsNumberProps, type GithubStarsIconProps, type GithubStarsParticlesProps, type GithubStarsLogoProps, type GithubStarsContextType, };
|
|
39
|
+
export { GithubStars, GithubStarsNumber, GithubStarsIcon, GithubStarsParticles, GithubStarsLogo, useGithubStars, type GithubStarsProps, type GithubStarsNumberProps, type GithubStarsIconProps, type GithubStarsParticlesProps, type GithubStarsLogoProps, type GithubStarsContextType, };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { HTMLMotionProps, Transition } from 'motion/react';
|
|
2
|
+
import { WithAsChild } from './slot';
|
|
3
|
+
import { HighlightItemProps, HighlightProps } from '../effects/highlight';
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
type TabsContextType = {
|
|
6
|
+
activeValue: string;
|
|
7
|
+
handleValueChange: (value: string) => void;
|
|
8
|
+
registerTrigger: (value: string, node: HTMLElement | null) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const useTabs: () => TabsContextType;
|
|
11
|
+
type BaseTabsProps = React.ComponentProps<"div"> & {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
};
|
|
14
|
+
type UnControlledTabsProps = BaseTabsProps & {
|
|
15
|
+
defaultValue?: string;
|
|
16
|
+
value?: never;
|
|
17
|
+
onValueChange?: never;
|
|
18
|
+
};
|
|
19
|
+
type ControlledTabsProps = BaseTabsProps & {
|
|
20
|
+
value: string;
|
|
21
|
+
onValueChange?: (value: string) => void;
|
|
22
|
+
defaultValue?: never;
|
|
23
|
+
};
|
|
24
|
+
type TabsProps = UnControlledTabsProps | ControlledTabsProps;
|
|
25
|
+
declare function Tabs({ defaultValue, value, onValueChange, children, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
type TabsHighlightProps = Omit<HighlightProps, "controlledItems" | "value">;
|
|
27
|
+
declare function TabsHighlight({ transition, ...props }: TabsHighlightProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
type TabsListProps = React.ComponentProps<"div"> & {
|
|
29
|
+
children: React.ReactNode;
|
|
30
|
+
};
|
|
31
|
+
declare function TabsList(props: TabsListProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
type TabsHighlightItemProps = HighlightItemProps & {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
declare function TabsHighlightItem(props: TabsHighlightItemProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
type TabsTriggerProps = WithAsChild<{
|
|
37
|
+
value: string;
|
|
38
|
+
children: React.ReactNode;
|
|
39
|
+
} & HTMLMotionProps<"button">>;
|
|
40
|
+
declare function TabsTrigger({ ref, value, asChild, ...props }: TabsTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
type TabsContentsProps = HTMLMotionProps<"div"> & {
|
|
42
|
+
children: React.ReactNode;
|
|
43
|
+
transition?: Transition;
|
|
44
|
+
};
|
|
45
|
+
declare function TabsContents({ children, transition, ...props }: TabsContentsProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
type TabsContentProps = WithAsChild<{
|
|
47
|
+
value: string;
|
|
48
|
+
children: React.ReactNode;
|
|
49
|
+
} & HTMLMotionProps<"div">>;
|
|
50
|
+
declare function TabsContent({ value, style, asChild, ...props }: TabsContentProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export { Tabs, TabsContent, TabsContents, TabsHighlight, TabsHighlightItem, TabsList, TabsTrigger, useTabs, type TabsContentProps, type TabsContentsProps, type TabsContextType, type TabsHighlightItemProps, type TabsHighlightProps, type TabsListProps, type TabsProps, type TabsTriggerProps, };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HTMLMotionProps } from 'motion/react';
|
|
2
|
+
import { WithAsChild } from '../animate/slot';
|
|
3
|
+
type FlipDirection = "top" | "bottom" | "left" | "right";
|
|
4
|
+
type FlipButtonContextType = {
|
|
5
|
+
from: FlipDirection;
|
|
6
|
+
isVertical: boolean;
|
|
7
|
+
rotateAxis: string;
|
|
8
|
+
};
|
|
9
|
+
declare const useFlipButton: () => FlipButtonContextType;
|
|
10
|
+
type FlipButtonProps = WithAsChild<HTMLMotionProps<"button"> & {
|
|
11
|
+
from?: FlipDirection;
|
|
12
|
+
tapScale?: number;
|
|
13
|
+
}>;
|
|
14
|
+
declare function FlipButton({ from, tapScale, asChild, style, ...props }: FlipButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
type FlipButtonFaceProps = WithAsChild<HTMLMotionProps<"span">>;
|
|
16
|
+
declare function FlipButtonFront({ transition, asChild, style, ...props }: FlipButtonFaceProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function FlipButtonBack({ transition, asChild, style, ...props }: FlipButtonFaceProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export { FlipButton, FlipButtonBack, FlipButtonFront, useFlipButton, type FlipButtonFaceProps as FlipButtonBackProps, type FlipButtonContextType, type FlipButtonFaceProps as FlipButtonFrontProps, type FlipButtonProps, type FlipDirection, };
|
|
@@ -88,5 +88,4 @@ type HighlightItemProps<T extends React.ElementType = "div"> = React.ComponentPr
|
|
|
88
88
|
forceUpdateBounds?: boolean;
|
|
89
89
|
};
|
|
90
90
|
declare function HighlightItem<T extends React.ElementType>({ ref, as, children, id, value, className, style, transition, disabled, activeClassName, exitDelay, asChild, forceUpdateBounds, ...props }: HighlightItemProps<T>): any;
|
|
91
|
-
export { Highlight, HighlightItem, useHighlight,
|
|
92
|
-
type HighlightItemProps, type HighlightProps, };
|
|
91
|
+
export { Highlight, HighlightItem, useHighlight, type HighlightItemProps, type HighlightProps, };
|
|
@@ -12,5 +12,4 @@ type CheckboxProps<TTag extends React.ElementType = typeof motion.button> = Chec
|
|
|
12
12
|
declare function Checkbox<TTag extends React.ElementType = typeof motion.button>({ children, ...props }: CheckboxProps<TTag>): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
type CheckboxIndicatorProps = SVGMotionProps<SVGSVGElement>;
|
|
14
14
|
declare function CheckboxIndicator(props: CheckboxIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export { Checkbox, CheckboxIndicator, useCheckbox,
|
|
16
|
-
type CheckboxContextType, type CheckboxIndicatorProps, type CheckboxProps, };
|
|
15
|
+
export { Checkbox, CheckboxIndicator, useCheckbox, type CheckboxContextType, type CheckboxIndicatorProps, type CheckboxProps, };
|
|
@@ -52,6 +52,4 @@ type DropdownMenuShortcutProps = React.ComponentProps<"span">;
|
|
|
52
52
|
declare function DropdownMenuShortcut(props: DropdownMenuShortcutProps): import("react/jsx-runtime").JSX.Element;
|
|
53
53
|
type DropdownMenuItemIndicatorProps = Omit<React.ComponentProps<typeof DropdownMenuPrimitive.ItemIndicator>, "asChild"> & HTMLMotionProps<"div">;
|
|
54
54
|
declare function DropdownMenuItemIndicator(props: DropdownMenuItemIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHighlight, DropdownMenuHighlightItem, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, useDropdownMenu,
|
|
56
|
-
useDropdownMenuSub, //eslint-disable-line
|
|
57
|
-
type DropdownMenuCheckboxItemProps, type DropdownMenuContentProps, type DropdownMenuContextType, type DropdownMenuGroupProps, type DropdownMenuHighlightItemProps, type DropdownMenuHighlightProps, type DropdownMenuItemIndicatorProps, type DropdownMenuItemProps, type DropdownMenuLabelProps, type DropdownMenuPortalProps, type DropdownMenuProps, type DropdownMenuRadioGroupProps, type DropdownMenuRadioItemProps, type DropdownMenuSeparatorProps, type DropdownMenuShortcutProps, type DropdownMenuSubContentProps, type DropdownMenuSubContextType, type DropdownMenuSubProps, type DropdownMenuSubTriggerProps, type DropdownMenuTriggerProps, };
|
|
55
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHighlight, DropdownMenuHighlightItem, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, useDropdownMenu, useDropdownMenuSub, type DropdownMenuCheckboxItemProps, type DropdownMenuContentProps, type DropdownMenuContextType, type DropdownMenuGroupProps, type DropdownMenuHighlightItemProps, type DropdownMenuHighlightProps, type DropdownMenuItemIndicatorProps, type DropdownMenuItemProps, type DropdownMenuLabelProps, type DropdownMenuPortalProps, type DropdownMenuProps, type DropdownMenuRadioGroupProps, type DropdownMenuRadioItemProps, type DropdownMenuSeparatorProps, type DropdownMenuShortcutProps, type DropdownMenuSubContentProps, type DropdownMenuSubContextType, type DropdownMenuSubProps, type DropdownMenuSubTriggerProps, type DropdownMenuTriggerProps, };
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type ProgressContextType = {
|
|
4
|
+
value: number;
|
|
5
|
+
};
|
|
6
|
+
declare const useProgress: () => ProgressContextType;
|
|
7
|
+
type ProgressProps = React.ComponentProps<typeof ProgressPrimitive.Root>;
|
|
8
|
+
declare function Progress(props: ProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const MotionProgressIndicator: React.ComponentType<Omit<{
|
|
10
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
11
|
+
slot?: string | undefined;
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
key?: React.Key | null | undefined;
|
|
14
|
+
defaultChecked?: boolean | undefined;
|
|
15
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
16
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
17
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
18
|
+
accessKey?: string | undefined;
|
|
19
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
20
|
+
autoFocus?: boolean | undefined;
|
|
21
|
+
className?: string | undefined;
|
|
22
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
23
|
+
contextMenu?: string | undefined;
|
|
24
|
+
dir?: string | undefined;
|
|
25
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
26
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
27
|
+
hidden?: boolean | undefined;
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
lang?: string | undefined;
|
|
30
|
+
nonce?: string | undefined;
|
|
31
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
32
|
+
tabIndex?: number | undefined;
|
|
33
|
+
translate?: "yes" | "no" | undefined;
|
|
34
|
+
radioGroup?: string | undefined;
|
|
35
|
+
role?: React.AriaRole | undefined;
|
|
36
|
+
about?: string | undefined;
|
|
37
|
+
content?: string | undefined;
|
|
38
|
+
datatype?: string | undefined;
|
|
39
|
+
inlist?: any;
|
|
40
|
+
prefix?: string | undefined;
|
|
41
|
+
property?: string | undefined;
|
|
42
|
+
rel?: string | undefined;
|
|
43
|
+
resource?: string | undefined;
|
|
44
|
+
rev?: string | undefined;
|
|
45
|
+
typeof?: string | undefined;
|
|
46
|
+
vocab?: string | undefined;
|
|
47
|
+
autoCorrect?: string | undefined;
|
|
48
|
+
autoSave?: string | undefined;
|
|
49
|
+
color?: string | undefined;
|
|
50
|
+
itemProp?: string | undefined;
|
|
51
|
+
itemScope?: boolean | undefined;
|
|
52
|
+
itemType?: string | undefined;
|
|
53
|
+
itemID?: string | undefined;
|
|
54
|
+
itemRef?: string | undefined;
|
|
55
|
+
results?: number | undefined;
|
|
56
|
+
security?: string | undefined;
|
|
57
|
+
unselectable?: "off" | "on" | undefined;
|
|
58
|
+
popover?: "" | "auto" | "manual" | undefined;
|
|
59
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
60
|
+
popoverTarget?: string | undefined;
|
|
61
|
+
inert?: boolean | undefined;
|
|
62
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
63
|
+
is?: string | undefined;
|
|
64
|
+
exportparts?: string | undefined;
|
|
65
|
+
part?: string | undefined;
|
|
66
|
+
"aria-activedescendant"?: string | undefined;
|
|
67
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
69
|
+
"aria-braillelabel"?: string | undefined;
|
|
70
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
71
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
72
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
73
|
+
"aria-colcount"?: number | undefined;
|
|
74
|
+
"aria-colindex"?: number | undefined;
|
|
75
|
+
"aria-colindextext"?: string | undefined;
|
|
76
|
+
"aria-colspan"?: number | undefined;
|
|
77
|
+
"aria-controls"?: string | undefined;
|
|
78
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
79
|
+
"aria-describedby"?: string | undefined;
|
|
80
|
+
"aria-description"?: string | undefined;
|
|
81
|
+
"aria-details"?: string | undefined;
|
|
82
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
83
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
84
|
+
"aria-errormessage"?: string | undefined;
|
|
85
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
86
|
+
"aria-flowto"?: string | undefined;
|
|
87
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
89
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
91
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
92
|
+
"aria-label"?: string | undefined;
|
|
93
|
+
"aria-labelledby"?: string | undefined;
|
|
94
|
+
"aria-level"?: number | undefined;
|
|
95
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
96
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
98
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
99
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
100
|
+
"aria-owns"?: string | undefined;
|
|
101
|
+
"aria-placeholder"?: string | undefined;
|
|
102
|
+
"aria-posinset"?: number | undefined;
|
|
103
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
104
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
105
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
106
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
107
|
+
"aria-roledescription"?: string | undefined;
|
|
108
|
+
"aria-rowcount"?: number | undefined;
|
|
109
|
+
"aria-rowindex"?: number | undefined;
|
|
110
|
+
"aria-rowindextext"?: string | undefined;
|
|
111
|
+
"aria-rowspan"?: number | undefined;
|
|
112
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
113
|
+
"aria-setsize"?: number | undefined;
|
|
114
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
115
|
+
"aria-valuemax"?: number | undefined;
|
|
116
|
+
"aria-valuemin"?: number | undefined;
|
|
117
|
+
"aria-valuenow"?: number | undefined;
|
|
118
|
+
"aria-valuetext"?: string | undefined;
|
|
119
|
+
dangerouslySetInnerHTML?: {
|
|
120
|
+
__html: string | TrustedHTML;
|
|
121
|
+
} | undefined;
|
|
122
|
+
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
123
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
124
|
+
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
125
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
126
|
+
onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
127
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
128
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
129
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
130
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
131
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
132
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
133
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
134
|
+
onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
135
|
+
onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
136
|
+
onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
137
|
+
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
138
|
+
onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
139
|
+
onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
140
|
+
onBeforeInput?: React.InputEventHandler<HTMLDivElement> | undefined;
|
|
141
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
142
|
+
onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
143
|
+
onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
144
|
+
onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
145
|
+
onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
146
|
+
onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
147
|
+
onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
148
|
+
onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
149
|
+
onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
150
|
+
onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
151
|
+
onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
152
|
+
onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
153
|
+
onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
154
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
155
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
156
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
157
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
158
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
159
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
160
|
+
onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
+
onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
+
onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
+
onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
+
onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
+
onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
+
onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
+
onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
+
onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
+
onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
+
onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
+
onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
+
onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
195
|
+
onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
197
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
255
|
+
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
258
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
|
+
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
260
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
261
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
262
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
263
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
264
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
265
|
+
onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
266
|
+
onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
267
|
+
onScrollEnd?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
268
|
+
onScrollEndCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
269
|
+
onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
270
|
+
onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
271
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
272
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
273
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
274
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
275
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
276
|
+
onToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
277
|
+
onBeforeToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
278
|
+
onTransitionCancel?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
279
|
+
onTransitionCancelCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
280
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
281
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
282
|
+
onTransitionRun?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
283
|
+
onTransitionRunCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
284
|
+
onTransitionStart?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
285
|
+
onTransitionStartCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
286
|
+
asChild?: boolean | undefined;
|
|
287
|
+
} & import('motion/react').MotionProps, "children"> & {
|
|
288
|
+
children?: React.ReactNode | import('motion/react').MotionValue<number> | import('motion/react').MotionValue<string>;
|
|
289
|
+
}>;
|
|
290
|
+
type ProgressIndicatorProps = React.ComponentProps<typeof MotionProgressIndicator>;
|
|
291
|
+
declare function ProgressIndicator({ transition, ...props }: ProgressIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
292
|
+
export { Progress, ProgressIndicator, useProgress, type ProgressContextType, type ProgressIndicatorProps, type ProgressProps, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function NeedAuthBadge(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ToggleSidePanelShortcutHint(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
export type Agent = {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
prompt?: string;
|
|
6
|
-
mcp_servers?: {
|
|
7
|
-
id: string;
|
|
8
|
-
}[];
|
|
9
|
-
mcp_server_ids?: string[];
|
|
10
|
-
user_id: string;
|
|
11
|
-
require_tool_confirmation?: boolean;
|
|
12
|
-
provider_id?: string | null;
|
|
13
|
-
agent_type: "regular" | "graph" | "builtin" | "system";
|
|
14
|
-
avatar?: string | null;
|
|
15
|
-
tags?: string[] | null;
|
|
16
|
-
model?: string | null;
|
|
17
|
-
temperature?: number | null;
|
|
18
|
-
is_active?: boolean;
|
|
19
|
-
created_at: string;
|
|
20
|
-
updated_at: string;
|
|
21
|
-
state_schema?: Record<string, unknown>;
|
|
22
|
-
node_count?: number;
|
|
23
|
-
edge_count?: number;
|
|
24
|
-
is_published?: boolean;
|
|
25
|
-
is_official?: boolean;
|
|
26
|
-
};
|
|
27
1
|
interface XyzenAgentProps {
|
|
28
2
|
systemAgentType?: "chat" | "workshop" | "all";
|
|
29
3
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "
|
|
5
|
-
size?: "default" | "
|
|
4
|
+
variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
8
8
|
asChild?: boolean;
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default MCP server mappings for system agents
|
|
3
|
+
* Maps system agent IDs to their default MCP server names
|
|
4
|
+
*/
|
|
5
|
+
export declare const SYSTEM_AGENT_IDS: {
|
|
6
|
+
readonly CHAT: "00000000-0000-0000-0000-000000000001";
|
|
7
|
+
readonly WORKSHOP: "00000000-0000-0000-0000-000000000002";
|
|
8
|
+
};
|
|
9
|
+
export declare const SYSTEM_AGENT_DEFAULT_MCPS: {
|
|
10
|
+
readonly "00000000-0000-0000-0000-000000000001": readonly ["DynamicMCPServer"];
|
|
11
|
+
readonly "00000000-0000-0000-0000-000000000002": readonly ["graph-tools"];
|
|
12
|
+
};
|
|
13
|
+
export declare const MCP_SERVER_PATTERNS: {
|
|
14
|
+
readonly DYNAMIC_MCP: readonly ["DynamicMCPServer", "dynamic_mcp_server", "/mcp/dynamic_mcp_server"];
|
|
15
|
+
readonly GRAPH_TOOLS: readonly ["graph-tools", "graph_tools", "GraphTools"];
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Get default MCP server names for a system agent
|
|
19
|
+
*/
|
|
20
|
+
export declare function getDefaultMcpsForSystemAgent(agentId: string): string[];
|
|
21
|
+
/**
|
|
22
|
+
* Check if an agent is a system agent that should have default MCPs
|
|
23
|
+
*/
|
|
24
|
+
export declare function isSystemAgentWithDefaultMcps(agentId: string): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Find MCP server IDs from user's MCP servers list by matching name patterns
|
|
27
|
+
*/
|
|
28
|
+
export declare function findMcpServerIdsByNames(mcpServers: Array<{
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
url?: string;
|
|
32
|
+
}>, targetNames: string[]): string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 检查并同步认证状态到Zustand Store
|
|
3
|
+
* 这是所有认证逻辑的核心入口
|
|
4
|
+
* @param force - 是否强制重新从服务器验证,忽略缓存
|
|
5
|
+
*/
|
|
6
|
+
export declare const checkAuthState: (_force?: boolean) => Promise<void>;
|
|
7
|
+
/**
|
|
8
|
+
* 处理用户登录
|
|
9
|
+
* @param token - 从认证流程中获取的token
|
|
10
|
+
*/
|
|
11
|
+
export declare const login: (token: string) => Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* 处理用户登出
|
|
14
|
+
*/
|
|
15
|
+
export declare const logout: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* 应用启动时执行的自动登录检查
|
|
18
|
+
*/
|
|
19
|
+
export declare const autoLogin: () => Promise<void>;
|
package/dist/hooks/useAuth.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
message: string;
|
|
6
|
-
provider: string | undefined;
|
|
1
|
+
export declare function useAuth(): {
|
|
2
|
+
user: import('../store/types').User | null;
|
|
3
|
+
token: string | null;
|
|
4
|
+
status: "failed" | "idle" | "loading" | "succeeded";
|
|
7
5
|
isLoading: boolean;
|
|
8
6
|
isAuthenticated: boolean;
|
|
9
|
-
isConfigured: boolean;
|
|
10
7
|
login: (token: string) => Promise<void>;
|
|
11
8
|
logout: () => void;
|
|
12
9
|
checkAuth: (force?: boolean) => Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
export declare function useAuth(): UseAuthReturn;
|
|
10
|
+
};
|