@spaceandtimelabs/makeinfinite-ui 0.72.2-beta.1 → 0.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1544 -0
- package/dist/makeinfinite-ui.es.js +49604 -49796
- package/dist/makeinfinite-ui.umd.js +1677 -1680
- package/package.json +30 -20
- package/README.md +0 -179
- package/dist/tsconfig.types.tsbuildinfo +0 -1
- package/dist/types/api.d.ts +0 -54
- package/dist/types/api.d.ts.map +0 -1
- package/dist/types/apiProxy.d.ts +0 -65
- package/dist/types/apiProxy.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/index.d.ts +0 -51
- package/dist/types/components/DreamspaceElements/index.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/accordion.d.ts +0 -8
- package/dist/types/components/DreamspaceElements/ui/accordion.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/alert-dialog.d.ts +0 -19
- package/dist/types/components/DreamspaceElements/ui/alert-dialog.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/alert.d.ts +0 -8
- package/dist/types/components/DreamspaceElements/ui/alert.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/aspect-ratio.d.ts +0 -4
- package/dist/types/components/DreamspaceElements/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/avatar.d.ts +0 -7
- package/dist/types/components/DreamspaceElements/ui/avatar.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/badge.d.ts +0 -9
- package/dist/types/components/DreamspaceElements/ui/badge.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/breadcrumb.d.ts +0 -12
- package/dist/types/components/DreamspaceElements/ui/breadcrumb.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/button.d.ts +0 -11
- package/dist/types/components/DreamspaceElements/ui/button.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/calendar.d.ts +0 -8
- package/dist/types/components/DreamspaceElements/ui/calendar.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/card.d.ts +0 -9
- package/dist/types/components/DreamspaceElements/ui/card.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/carousel.d.ts +0 -14
- package/dist/types/components/DreamspaceElements/ui/carousel.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/checkbox.d.ts +0 -4
- package/dist/types/components/DreamspaceElements/ui/checkbox.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/collapsible.d.ts +0 -6
- package/dist/types/components/DreamspaceElements/ui/collapsible.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/combobox.d.ts +0 -14
- package/dist/types/components/DreamspaceElements/ui/combobox.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/command.d.ts +0 -51
- package/dist/types/components/DreamspaceElements/ui/command.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/context-menu.d.ts +0 -27
- package/dist/types/components/DreamspaceElements/ui/context-menu.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/data-table.d.ts +0 -9
- package/dist/types/components/DreamspaceElements/ui/data-table.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/date-picker.d.ts +0 -24
- package/dist/types/components/DreamspaceElements/ui/date-picker.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/dialog.d.ts +0 -19
- package/dist/types/components/DreamspaceElements/ui/dialog.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/drawer.d.ts +0 -22
- package/dist/types/components/DreamspaceElements/ui/drawer.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/dropdown-menu.d.ts +0 -27
- package/dist/types/components/DreamspaceElements/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/form.d.ts +0 -23
- package/dist/types/components/DreamspaceElements/ui/form.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/hover-card.d.ts +0 -6
- package/dist/types/components/DreamspaceElements/ui/hover-card.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/input.d.ts +0 -4
- package/dist/types/components/DreamspaceElements/ui/input.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/label.d.ts +0 -5
- package/dist/types/components/DreamspaceElements/ui/label.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/menubar.d.ts +0 -33
- package/dist/types/components/DreamspaceElements/ui/menubar.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/navigation-menu.d.ts +0 -12
- package/dist/types/components/DreamspaceElements/ui/navigation-menu.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/pagination.d.ts +0 -22
- package/dist/types/components/DreamspaceElements/ui/pagination.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/popover.d.ts +0 -6
- package/dist/types/components/DreamspaceElements/ui/popover.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/progress.d.ts +0 -4
- package/dist/types/components/DreamspaceElements/ui/progress.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/radio-group.d.ts +0 -5
- package/dist/types/components/DreamspaceElements/ui/radio-group.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/resizable.d.ts +0 -9
- package/dist/types/components/DreamspaceElements/ui/resizable.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/scroll-area.d.ts +0 -5
- package/dist/types/components/DreamspaceElements/ui/scroll-area.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/select.d.ts +0 -13
- package/dist/types/components/DreamspaceElements/ui/select.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/separator.d.ts +0 -4
- package/dist/types/components/DreamspaceElements/ui/separator.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/sheet.d.ts +0 -25
- package/dist/types/components/DreamspaceElements/ui/sheet.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/sidebar.d.ts +0 -25
- package/dist/types/components/DreamspaceElements/ui/sidebar.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/skeleton.d.ts +0 -3
- package/dist/types/components/DreamspaceElements/ui/skeleton.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/slider.d.ts +0 -4
- package/dist/types/components/DreamspaceElements/ui/slider.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/sonner.d.ts +0 -5
- package/dist/types/components/DreamspaceElements/ui/sonner.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/switch.d.ts +0 -4
- package/dist/types/components/DreamspaceElements/ui/switch.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/table.d.ts +0 -10
- package/dist/types/components/DreamspaceElements/ui/table.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/tabs.d.ts +0 -8
- package/dist/types/components/DreamspaceElements/ui/tabs.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/textarea.d.ts +0 -4
- package/dist/types/components/DreamspaceElements/ui/textarea.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/toggle-group.d.ts +0 -12
- package/dist/types/components/DreamspaceElements/ui/toggle-group.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/toggle.d.ts +0 -12
- package/dist/types/components/DreamspaceElements/ui/toggle.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/ui/tooltip.d.ts +0 -7
- package/dist/types/components/DreamspaceElements/ui/tooltip.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/utils.d.ts +0 -3
- package/dist/types/components/DreamspaceElements/utils.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/variants/default.d.ts +0 -108
- package/dist/types/components/DreamspaceElements/variants/default.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/variants/glass.d.ts +0 -3
- package/dist/types/components/DreamspaceElements/variants/glass.d.ts.map +0 -1
- package/dist/types/components/DreamspaceElements/variants/index.d.ts +0 -2
- package/dist/types/components/DreamspaceElements/variants/index.d.ts.map +0 -1
- package/dist/types/components/MiniApp/GlobalStyle.d.ts +0 -3
- package/dist/types/components/MiniApp/GlobalStyle.d.ts.map +0 -1
- package/dist/types/components/MiniApp/MiniApp.d.ts +0 -3
- package/dist/types/components/MiniApp/MiniApp.d.ts.map +0 -1
- package/dist/types/components/MiniApp/index.d.ts +0 -2
- package/dist/types/components/MiniApp/index.d.ts.map +0 -1
- package/dist/types/components/RGLayout/RGComponent.d.ts +0 -14
- package/dist/types/components/RGLayout/RGComponent.d.ts.map +0 -1
- package/dist/types/components/RGLayout/RGComponentErrorBoundary.d.ts +0 -24
- package/dist/types/components/RGLayout/RGComponentErrorBoundary.d.ts.map +0 -1
- package/dist/types/components/RGLayout/RGDroppable.d.ts +0 -13
- package/dist/types/components/RGLayout/RGDroppable.d.ts.map +0 -1
- package/dist/types/components/RGLayout/RGEditLayout.d.ts +0 -20
- package/dist/types/components/RGLayout/RGEditLayout.d.ts.map +0 -1
- package/dist/types/components/RGLayout/RGPreviewLayout.d.ts +0 -6
- package/dist/types/components/RGLayout/RGPreviewLayout.d.ts.map +0 -1
- package/dist/types/components/RGLayout/index.d.ts +0 -6
- package/dist/types/components/RGLayout/index.d.ts.map +0 -1
- package/dist/types/components/RGLayout/layoutTransformers.d.ts +0 -14
- package/dist/types/components/RGLayout/layoutTransformers.d.ts.map +0 -1
- package/dist/types/components/SpinnerOverlay/SpinnerOverlay.d.ts +0 -7
- package/dist/types/components/SpinnerOverlay/SpinnerOverlay.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -3
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/contexts/apiContext.d.ts +0 -14
- package/dist/types/contexts/apiContext.d.ts.map +0 -1
- package/dist/types/contexts/index.d.ts +0 -4
- package/dist/types/contexts/index.d.ts.map +0 -1
- package/dist/types/contexts/projectContext.d.ts +0 -59
- package/dist/types/contexts/projectContext.d.ts.map +0 -1
- package/dist/types/contexts/rgContext.d.ts +0 -5
- package/dist/types/contexts/rgContext.d.ts.map +0 -1
- package/dist/types/contexts/tailwindThemeContext.d.ts +0 -7
- package/dist/types/contexts/tailwindThemeContext.d.ts.map +0 -1
- package/dist/types/filesystem.d.ts +0 -4
- package/dist/types/filesystem.d.ts.map +0 -1
- package/dist/types/git.d.ts +0 -26
- package/dist/types/git.d.ts.map +0 -1
- package/dist/types/gw.d.ts +0 -7
- package/dist/types/gw.d.ts.map +0 -1
- package/dist/types/hooks/index.d.ts +0 -2
- package/dist/types/hooks/index.d.ts.map +0 -1
- package/dist/types/hooks/tailwindThemeProvider/index.d.ts +0 -7
- package/dist/types/hooks/tailwindThemeProvider/index.d.ts.map +0 -1
- package/dist/types/hooks/tailwindThemeProvider/useColors.d.ts +0 -6
- package/dist/types/hooks/tailwindThemeProvider/useColors.d.ts.map +0 -1
- package/dist/types/hooks/tailwindThemeProvider/useFontFamily.d.ts +0 -6
- package/dist/types/hooks/tailwindThemeProvider/useFontFamily.d.ts.map +0 -1
- package/dist/types/hooks/tailwindThemeProvider/useSiteBackground.d.ts +0 -8
- package/dist/types/hooks/tailwindThemeProvider/useSiteBackground.d.ts.map +0 -1
- package/dist/types/hooks/tailwindThemeProvider/useTailwind.d.ts +0 -6
- package/dist/types/hooks/tailwindThemeProvider/useTailwind.d.ts.map +0 -1
- package/dist/types/hooks/tailwindThemeProvider/useTheme.d.ts +0 -6
- package/dist/types/hooks/tailwindThemeProvider/useTheme.d.ts.map +0 -1
- package/dist/types/hooks/tailwindThemeProvider/useVariants.d.ts +0 -6
- package/dist/types/hooks/tailwindThemeProvider/useVariants.d.ts.map +0 -1
- package/dist/types/hooks/useAPIHandler.d.ts +0 -53
- package/dist/types/hooks/useAPIHandler.d.ts.map +0 -1
- package/dist/types/hooks/useId.d.ts +0 -2
- package/dist/types/hooks/useId.d.ts.map +0 -1
- package/dist/types/hooks/useProject.d.ts +0 -3
- package/dist/types/hooks/useProject.d.ts.map +0 -1
- package/dist/types/hooks/useWebSocketManager.d.ts +0 -36
- package/dist/types/hooks/useWebSocketManager.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -32
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/types.d.ts +0 -20
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/utility.d.ts +0 -13
- package/dist/types/utility.d.ts.map +0 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1544 @@
|
|
|
1
|
+
import { Accordion as Accordion_2 } from 'radix-ui';
|
|
2
|
+
import { AlertDialog as AlertDialog_2 } from 'radix-ui';
|
|
3
|
+
import { AspectRatio as AspectRatio_2 } from 'radix-ui';
|
|
4
|
+
import { Avatar as Avatar_2 } from 'radix-ui';
|
|
5
|
+
import { ButtonProps as ButtonProps_2 } from './button';
|
|
6
|
+
import { Checkbox as Checkbox_2 } from 'radix-ui';
|
|
7
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
8
|
+
import { Collapsible as Collapsible_2 } from 'radix-ui';
|
|
9
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
10
|
+
import { ColumnFiltersState } from '@tanstack/react-table';
|
|
11
|
+
import { Consumer } from 'react';
|
|
12
|
+
import { Context } from 'react';
|
|
13
|
+
import { ContextMenu as ContextMenu_2 } from 'radix-ui';
|
|
14
|
+
import { ControllerProps } from 'react-hook-form';
|
|
15
|
+
import { DayPicker } from 'react-day-picker';
|
|
16
|
+
import { default as default_2 } from 'react';
|
|
17
|
+
import { default as default_3 } from 'embla-carousel-react';
|
|
18
|
+
import { DetailedHTMLProps } from 'react';
|
|
19
|
+
import { Dialog } from 'radix-ui';
|
|
20
|
+
import { DialogCloseProps } from '@radix-ui/react-dialog';
|
|
21
|
+
import { DialogContentProps } from '@radix-ui/react-dialog';
|
|
22
|
+
import { DialogDescriptionProps } from '@radix-ui/react-dialog';
|
|
23
|
+
import { DialogOverlayProps } from '@radix-ui/react-dialog';
|
|
24
|
+
import { DialogTitleProps } from '@radix-ui/react-dialog';
|
|
25
|
+
import { DialogTriggerProps } from '@radix-ui/react-dialog';
|
|
26
|
+
import { Drawer as Drawer_2 } from 'vaul';
|
|
27
|
+
import { DropdownMenu as DropdownMenu_2 } from 'radix-ui';
|
|
28
|
+
import { FC } from 'react';
|
|
29
|
+
import { FieldError } from 'react-hook-form';
|
|
30
|
+
import { FieldPath } from 'react-hook-form';
|
|
31
|
+
import { FieldValues } from 'react-hook-form';
|
|
32
|
+
import { FormProviderProps } from 'react-hook-form';
|
|
33
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
34
|
+
import { HoverCard as HoverCard_2 } from 'radix-ui';
|
|
35
|
+
import { HTMLAttributes } from 'react';
|
|
36
|
+
import { ImperativePanelHandle } from 'react-resizable-panels';
|
|
37
|
+
import { ItemCallback } from 'react-grid-layout';
|
|
38
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
39
|
+
import { Label } from 'radix-ui';
|
|
40
|
+
import { Layout } from 'react-grid-layout';
|
|
41
|
+
import { LiHTMLAttributes } from 'react';
|
|
42
|
+
import { Menubar as Menubar_2 } from 'radix-ui';
|
|
43
|
+
import { NavigationMenu as NavigationMenu_2 } from 'radix-ui';
|
|
44
|
+
import { PanelProps } from 'react-resizable-panels';
|
|
45
|
+
import { PanelResizeHandleProps } from 'react-resizable-panels';
|
|
46
|
+
import { Popover as Popover_2 } from 'radix-ui';
|
|
47
|
+
import { Portal } from 'vaul';
|
|
48
|
+
import { Progress as Progress_2 } from 'radix-ui';
|
|
49
|
+
import { ProjectContextValue } from '../contexts';
|
|
50
|
+
import { PropsWithChildren } from 'react';
|
|
51
|
+
import { RadioGroup as RadioGroup_2 } from 'radix-ui';
|
|
52
|
+
import * as React_2 from 'react';
|
|
53
|
+
import { ReactNode } from 'react';
|
|
54
|
+
import { RefAttributes } from 'react';
|
|
55
|
+
import { Scope } from '@radix-ui/react-context';
|
|
56
|
+
import { ScrollArea as ScrollArea_2 } from 'radix-ui';
|
|
57
|
+
import { Select as Select_2 } from 'radix-ui';
|
|
58
|
+
import { Separator as Separator_2 } from 'radix-ui';
|
|
59
|
+
import { Slider as Slider_2 } from 'radix-ui';
|
|
60
|
+
import { SlotProps } from '@radix-ui/react-slot';
|
|
61
|
+
import { SortingState } from '@tanstack/react-table';
|
|
62
|
+
import { Switch as Switch_2 } from 'radix-ui';
|
|
63
|
+
import { Tabs as Tabs_2 } from 'radix-ui';
|
|
64
|
+
import { TdHTMLAttributes } from 'react';
|
|
65
|
+
import { ThHTMLAttributes } from 'react';
|
|
66
|
+
import { Toaster as Toaster_2 } from 'sonner';
|
|
67
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
68
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
69
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
70
|
+
import { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
71
|
+
import { useForm } from 'react-hook-form';
|
|
72
|
+
import { VariantProps } from 'class-variance-authority';
|
|
73
|
+
import { VisibilityState } from '@tanstack/react-table';
|
|
74
|
+
|
|
75
|
+
declare const Accordion: React_2.ForwardRefExoticComponent<(Accordion_2.AccordionSingleProps | Accordion_2.AccordionMultipleProps) & React_2.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
|
|
77
|
+
declare const AccordionContent: React_2.ForwardRefExoticComponent<Omit<Accordion_2.AccordionContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
78
|
+
|
|
79
|
+
declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<Accordion_2.AccordionItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
80
|
+
|
|
81
|
+
declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<Accordion_2.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
82
|
+
|
|
83
|
+
declare const Alert: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
84
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
85
|
+
} & ClassProp) | undefined) => string> & RefAttributes<HTMLDivElement>>;
|
|
86
|
+
|
|
87
|
+
declare const AlertDescription: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
|
|
88
|
+
|
|
89
|
+
declare const AlertDialog: React_2.FC<AlertDialog_2.AlertDialogProps>;
|
|
90
|
+
|
|
91
|
+
declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
92
|
+
|
|
93
|
+
declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
94
|
+
|
|
95
|
+
declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
96
|
+
|
|
97
|
+
declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
98
|
+
|
|
99
|
+
declare const AlertDialogFooter: {
|
|
100
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
101
|
+
displayName: string;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
declare const AlertDialogHeader: {
|
|
105
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
106
|
+
displayName: string;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<Omit<AlertDialog_2.AlertDialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
110
|
+
|
|
111
|
+
declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<AlertDialog_2.AlertDialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
112
|
+
|
|
113
|
+
declare const AlertTitle: ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & RefAttributes<HTMLParagraphElement>>;
|
|
114
|
+
|
|
115
|
+
declare interface APIContextType {
|
|
116
|
+
isLoading: boolean;
|
|
117
|
+
wrapAPICall: <T>(promise: Promise<T>) => Promise<T>;
|
|
118
|
+
wrapXHRCall: <T>(xhrCreator: () => XMLHttpRequest, processResponse: (xhr: XMLHttpRequest) => T) => Promise<T>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export declare const APIHandler: (baseUrl: string) => {
|
|
122
|
+
createProject: (description: string, theme: string, siteBackground?: File | null, secretReferences?: string | string[]) => Promise<Response>;
|
|
123
|
+
createBlankProject: (description: string, theme: string, siteBackground?: File | null, secretReferences?: string | string[]) => Promise<Response>;
|
|
124
|
+
getProjects: (include_published_info?: boolean) => Promise<Response>;
|
|
125
|
+
getProjectMetadata: (projectName: string) => Promise<Response>;
|
|
126
|
+
getSubdomains: (projectName: string) => Promise<Response>;
|
|
127
|
+
allocateSubdomain: (projectName: string, subdomain: string) => Promise<Response>;
|
|
128
|
+
updateSubdomain: (projectName: string, subdomain: string) => Promise<Response>;
|
|
129
|
+
releaseSubdomain: (projectName: string, subdomain: string) => Promise<Response>;
|
|
130
|
+
publishProject: (projectName: string, gitRef: string) => Promise<Response>;
|
|
131
|
+
unpublishProject: (projectName: string) => Promise<Response>;
|
|
132
|
+
tagCommit: (projectName: string, commitHash: string, tagName: string) => Promise<Response>;
|
|
133
|
+
getComponentLibrary: () => Promise<Response>;
|
|
134
|
+
addProjectComponent: (projectName: string, componentNamespace: string, componentName: string, layoutMetadata: any, pageId?: string | null, content?: string | null) => Promise<Response>;
|
|
135
|
+
addProjectChart: (projectName: string, visualId: string, layoutMetadata: object, echartsConfig?: object, pageId?: string | null) => Promise<Response>;
|
|
136
|
+
updateProjectComponentLayoutMetadata: (projectName: string, componentId: string, layoutMetadata: any) => Promise<Response>;
|
|
137
|
+
updateProjectComponentSourceCode: (projectName: string, componentId: string, sourceCode: string) => Promise<Response>;
|
|
138
|
+
updateApplicationMetadata: (projectName: string, applicationName: string, applicationDescription: string, applicationCategory: string) => Promise<Response>;
|
|
139
|
+
updateApplicationSettings: (projectName: string, applicationLoginEnabled?: boolean | null, defaultDeploymentChainReference?: string | null) => Promise<Response>;
|
|
140
|
+
updateProjectFile: (filePath: string, projectName: string, sourceCode: string, abortSignal?: AbortSignal) => Promise<Response>;
|
|
141
|
+
updateProjectFiles: (files: {
|
|
142
|
+
projectName: string;
|
|
143
|
+
filePath: string;
|
|
144
|
+
fileContent: string;
|
|
145
|
+
}[], abortSignal?: AbortSignal) => Promise<Response>;
|
|
146
|
+
deleteProjectFile: (projectName: string, filePath: string) => Promise<Response>;
|
|
147
|
+
resetProjectFile: (projectName: string, filePath: string, gitRef: string, prune?: boolean, extraMetadata?: string) => Promise<Response>;
|
|
148
|
+
deleteProject: (projectName: string) => Promise<Response>;
|
|
149
|
+
requestErrorCorrection: (projectName: string, componentId: string, errorMessage: string) => Promise<Response>;
|
|
150
|
+
addImage: (formData: FormData) => Promise<Response>;
|
|
151
|
+
editElement: (params: {
|
|
152
|
+
projectName: string;
|
|
153
|
+
componentId: string;
|
|
154
|
+
elementXPath: string;
|
|
155
|
+
styleRequest?: object | null;
|
|
156
|
+
textRequest?: string | null;
|
|
157
|
+
backgroundImageRequest?: string | null;
|
|
158
|
+
domTreeRepr: string;
|
|
159
|
+
}) => Promise<Response>;
|
|
160
|
+
initializeProject: (projectName: string) => Promise<Response>;
|
|
161
|
+
getUserSpendAnalytics: () => Promise<Response>;
|
|
162
|
+
addPage: (projectName: string, name: string, path: string, components?: Record<string, Record<string, number>>) => Promise<Response>;
|
|
163
|
+
editPage: (projectName: string, pageId: string, newName?: string | null, newPath?: string | null) => Promise<Response>;
|
|
164
|
+
deletePage: (projectName: string, pageId: string) => Promise<Response>;
|
|
165
|
+
editPageLayout: (projectName: string, pageId: string, layoutMetadata: object) => Promise<Response>;
|
|
166
|
+
removePageComponent: (projectName: string, pageId: string, componentId: string) => Promise<Response>;
|
|
167
|
+
getCreatorPointsSum: (projectName?: string | null) => Promise<Response>;
|
|
168
|
+
getCreatorPointsTop: (n?: number) => Promise<Response>;
|
|
169
|
+
getProjectViewsHistory: (projectName: string, start?: Date, end?: Date, granularity?: "minute" | "hour" | "day" | "month" | "year", limit?: number) => Promise<Response>;
|
|
170
|
+
getProjectViewsTop: (n?: number) => Promise<Response>;
|
|
171
|
+
preflightCheck: (projectName?: string) => Promise<Response>;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
export declare const APIProxyHandler: (baseUrl: string, projectHmac?: string) => {
|
|
175
|
+
getSecrets: () => Promise<Response>;
|
|
176
|
+
putSecret: (secretReference: string, secret: SecretProperties) => Promise<Response>;
|
|
177
|
+
patchSecret: (secretReference: string, secret: SecretProperties) => Promise<Response>;
|
|
178
|
+
getSecret: (secretReference: string) => Promise<Response>;
|
|
179
|
+
deleteSecret: (secretReference: string) => Promise<Response>;
|
|
180
|
+
getAllTierKeyMaps: () => Promise<Response>;
|
|
181
|
+
getTierKeyMap: (miniappName: string, customHmac?: string) => Promise<Response>;
|
|
182
|
+
putTierKeyMap: (miniappName: string, tier: string, secretReference: string, customHmac?: string) => Promise<Response>;
|
|
183
|
+
getTierKeyMapForTier: (miniappName: string, tier: string, customHmac?: string) => Promise<Response>;
|
|
184
|
+
deleteTierKeyMap: (miniappName: string, tier: string, secretReference: string, customHmac?: string) => Promise<Response>;
|
|
185
|
+
getTierAssignments: (miniappName: string, customHmac?: string) => Promise<Response>;
|
|
186
|
+
putTierAssignment: (miniappName: string, userId: string, tier: string, customHmac?: string) => Promise<Response>;
|
|
187
|
+
getTierAssignment: (miniappName: string, userId: string, customHmac?: string) => Promise<Response>;
|
|
188
|
+
deleteTierAssignment: (miniappName: string, userId: string, customHmac?: string) => Promise<Response>;
|
|
189
|
+
getRateLimits: (miniappName: string, customHmac?: string) => Promise<Response>;
|
|
190
|
+
putRateLimit: (miniappName: string, tier: string, secretReference: string, rateLimit: Pick<RateLimit, "window_ms" | "limit">, customHmac?: string) => Promise<Response>;
|
|
191
|
+
getRateLimit: (miniappName: string, tier: string, secretReference: string, customHmac?: string) => Promise<Response>;
|
|
192
|
+
deleteRateLimit: (miniappName: string, tier: string, secretReference: string, customHmac?: string) => Promise<Response>;
|
|
193
|
+
createProxyFetch: (config: ProxyFetchConfig) => (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
|
|
194
|
+
createProxyGetView: (config: ProxyGetViewConfig) => (schema: string, viewName: string, parameters?: {
|
|
195
|
+
[key: string]: string | number | boolean;
|
|
196
|
+
}) => Promise<{
|
|
197
|
+
[key: string]: any;
|
|
198
|
+
}[]>;
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
export declare const applySxtIgnore: (files: string[], pfs: any, dir: string) => Promise<string[]>;
|
|
202
|
+
|
|
203
|
+
declare const AspectRatio: ForwardRefExoticComponent<AspectRatio_2.AspectRatioProps & RefAttributes<HTMLDivElement>>;
|
|
204
|
+
|
|
205
|
+
declare const Avatar: React_2.ForwardRefExoticComponent<Omit<Avatar_2.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
206
|
+
|
|
207
|
+
declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Avatar_2.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
208
|
+
|
|
209
|
+
declare const AvatarImage: React_2.ForwardRefExoticComponent<Omit<Avatar_2.AvatarImageProps & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
|
|
210
|
+
|
|
211
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): JSX_2.Element;
|
|
212
|
+
|
|
213
|
+
declare interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
declare const badgeVariants: (props?: ({
|
|
217
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
218
|
+
} & ClassProp) | undefined) => string;
|
|
219
|
+
|
|
220
|
+
declare const Breadcrumb: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLElement>>;
|
|
221
|
+
|
|
222
|
+
declare const BreadcrumbItem: React_2.ForwardRefExoticComponent<React_2.LiHTMLAttributes<HTMLLIElement> & React_2.RefAttributes<HTMLLIElement>>;
|
|
223
|
+
|
|
224
|
+
declare const BreadcrumbLink: React_2.ForwardRefExoticComponent<React_2.AnchorHTMLAttributes<HTMLAnchorElement> & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
225
|
+
|
|
226
|
+
declare const BreadcrumbList: React_2.ForwardRefExoticComponent<React_2.OlHTMLAttributes<HTMLOListElement> & React_2.RefAttributes<HTMLOListElement>>;
|
|
227
|
+
|
|
228
|
+
declare const BreadcrumbPage: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLSpanElement> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
229
|
+
|
|
230
|
+
declare const BreadcrumbSeparator: {
|
|
231
|
+
({ className, ...props }: React_2.ComponentProps<"li">): JSX_2.Element;
|
|
232
|
+
displayName: string;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
236
|
+
|
|
237
|
+
declare interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
238
|
+
asChild?: boolean;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
declare const buttonVariants: (props?: ({
|
|
242
|
+
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
243
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
244
|
+
} & ClassProp) | undefined) => string;
|
|
245
|
+
|
|
246
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): JSX_2.Element;
|
|
247
|
+
|
|
248
|
+
declare namespace Calendar {
|
|
249
|
+
var displayName: string;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
declare type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
253
|
+
|
|
254
|
+
declare const Card: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
255
|
+
|
|
256
|
+
declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
257
|
+
|
|
258
|
+
declare const CardDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
259
|
+
|
|
260
|
+
declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
261
|
+
|
|
262
|
+
declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
263
|
+
|
|
264
|
+
declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
265
|
+
|
|
266
|
+
declare const Carousel: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & CarouselProps & RefAttributes<HTMLDivElement>>;
|
|
267
|
+
|
|
268
|
+
declare const CarouselContent: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
269
|
+
|
|
270
|
+
declare const CarouselItem: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
271
|
+
|
|
272
|
+
declare const CarouselNext: ForwardRefExoticComponent<Omit<ButtonProps_2 & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
273
|
+
|
|
274
|
+
declare const CarouselPrevious: ForwardRefExoticComponent<Omit<ButtonProps_2 & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
275
|
+
|
|
276
|
+
declare type CarouselProps = {
|
|
277
|
+
opts?: Parameters<typeof default_3>[0];
|
|
278
|
+
plugins?: Parameters<typeof default_3>[1];
|
|
279
|
+
orientation?: "horizontal" | "vertical";
|
|
280
|
+
setApi?: (api: NonNullable<ReturnType<typeof default_3>[1]>) => void;
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
declare const Checkbox: ForwardRefExoticComponent<Omit<Checkbox_2.CheckboxProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
284
|
+
|
|
285
|
+
export declare const checkoutCommit: (projectName: string, commitHash: string) => Promise<void>;
|
|
286
|
+
|
|
287
|
+
declare const Collapsible: ForwardRefExoticComponent<Collapsible_2.CollapsibleProps & RefAttributes<HTMLDivElement>>;
|
|
288
|
+
|
|
289
|
+
declare const CollapsibleContent: ForwardRefExoticComponent<Omit<Collapsible_2.CollapsibleContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
290
|
+
|
|
291
|
+
declare const CollapsibleTrigger: ForwardRefExoticComponent<Collapsible_2.CollapsibleTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
292
|
+
|
|
293
|
+
declare function Combobox({ options, value, onValueChange, placeholder, emptyText, className, }: ComboboxProps): JSX_2.Element;
|
|
294
|
+
|
|
295
|
+
declare interface ComboboxProps {
|
|
296
|
+
options: {
|
|
297
|
+
label: string;
|
|
298
|
+
value: string;
|
|
299
|
+
}[];
|
|
300
|
+
value?: string;
|
|
301
|
+
onValueChange?: (value: string) => void;
|
|
302
|
+
placeholder?: string;
|
|
303
|
+
emptyText?: string;
|
|
304
|
+
className?: string;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
308
|
+
children?: React_2.ReactNode;
|
|
309
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
310
|
+
label?: string;
|
|
311
|
+
shouldFilter?: boolean;
|
|
312
|
+
filter?: (value: string, search: string) => number;
|
|
313
|
+
defaultValue?: string;
|
|
314
|
+
value?: string;
|
|
315
|
+
onValueChange?: (value: string) => void;
|
|
316
|
+
loop?: boolean;
|
|
317
|
+
vimBindings?: boolean;
|
|
318
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
319
|
+
|
|
320
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => JSX_2.Element;
|
|
321
|
+
|
|
322
|
+
declare interface CommandDialogProps extends DialogProps {
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
326
|
+
children?: React_2.ReactNode;
|
|
327
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
328
|
+
|
|
329
|
+
declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
330
|
+
children?: React_2.ReactNode;
|
|
331
|
+
} & Omit<React_2.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
332
|
+
heading?: React_2.ReactNode;
|
|
333
|
+
value?: string;
|
|
334
|
+
forceMount?: boolean;
|
|
335
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
336
|
+
|
|
337
|
+
declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
338
|
+
value?: string;
|
|
339
|
+
onValueChange?: (search: string) => void;
|
|
340
|
+
} & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
341
|
+
|
|
342
|
+
declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
343
|
+
children?: React_2.ReactNode;
|
|
344
|
+
} & Omit<React_2.HTMLAttributes<HTMLDivElement>, "value" | "onSelect" | "disabled"> & {
|
|
345
|
+
disabled?: boolean;
|
|
346
|
+
onSelect?: (value: string) => void;
|
|
347
|
+
value?: string;
|
|
348
|
+
forceMount?: boolean;
|
|
349
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
350
|
+
|
|
351
|
+
declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
352
|
+
children?: React_2.ReactNode;
|
|
353
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
354
|
+
|
|
355
|
+
declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLDivElement> & {
|
|
356
|
+
alwaysRender?: boolean;
|
|
357
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
358
|
+
|
|
359
|
+
declare const CommandShortcut: {
|
|
360
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
361
|
+
displayName: string;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
declare interface Commit {
|
|
365
|
+
hash: string;
|
|
366
|
+
timestamp: number;
|
|
367
|
+
message: string;
|
|
368
|
+
isRelease: boolean;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
declare const ContextMenu: FC<ContextMenu_2.ContextMenuProps>;
|
|
372
|
+
|
|
373
|
+
declare const ContextMenuCheckboxItem: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
374
|
+
|
|
375
|
+
declare const ContextMenuContent: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
376
|
+
|
|
377
|
+
declare const ContextMenuGroup: ForwardRefExoticComponent<ContextMenu_2.ContextMenuGroupProps & RefAttributes<HTMLDivElement>>;
|
|
378
|
+
|
|
379
|
+
declare const ContextMenuItem: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuItemProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
380
|
+
inset?: boolean;
|
|
381
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
382
|
+
|
|
383
|
+
declare const ContextMenuLabel: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuLabelProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
384
|
+
inset?: boolean;
|
|
385
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
386
|
+
|
|
387
|
+
declare const ContextMenuPortal: FC<ContextMenu_2.ContextMenuPortalProps>;
|
|
388
|
+
|
|
389
|
+
declare const ContextMenuRadioGroup: ForwardRefExoticComponent<ContextMenu_2.ContextMenuRadioGroupProps & RefAttributes<HTMLDivElement>>;
|
|
390
|
+
|
|
391
|
+
declare const ContextMenuRadioItem: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuRadioItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
392
|
+
|
|
393
|
+
declare const ContextMenuSeparator: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
394
|
+
|
|
395
|
+
declare const ContextMenuShortcut: {
|
|
396
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
397
|
+
displayName: string;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
declare const ContextMenuSub: FC<ContextMenu_2.ContextMenuSubProps>;
|
|
401
|
+
|
|
402
|
+
declare const ContextMenuSubContent: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuSubContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
403
|
+
|
|
404
|
+
declare const ContextMenuSubTrigger: ForwardRefExoticComponent<Omit<ContextMenu_2.ContextMenuSubTriggerProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
405
|
+
inset?: boolean;
|
|
406
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
407
|
+
|
|
408
|
+
declare const ContextMenuTrigger: ForwardRefExoticComponent<ContextMenu_2.ContextMenuTriggerProps & RefAttributes<HTMLSpanElement>>;
|
|
409
|
+
|
|
410
|
+
declare function DataTable<TData, TValue>({ columns, data, virtualizeRows, }: DataTableProps<TData, TValue>): JSX_2.Element;
|
|
411
|
+
|
|
412
|
+
declare interface DataTableProps<TData, TValue> {
|
|
413
|
+
columns: ColumnDef<TData, TValue>[];
|
|
414
|
+
data: TData[];
|
|
415
|
+
virtualizeRows?: boolean;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
declare function DatePicker({ date, onDateChange, placeholder, disabled, className, }: DatePickerProps): JSX_2.Element;
|
|
419
|
+
|
|
420
|
+
declare interface DatePickerProps {
|
|
421
|
+
date?: Date;
|
|
422
|
+
onDateChange?: (date?: Date) => void;
|
|
423
|
+
placeholder?: string;
|
|
424
|
+
disabled?: boolean;
|
|
425
|
+
className?: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
declare function DateRangePicker({ dateRange, onDateRangeChange, placeholder, disabled, className, }: DateRangePickerProps): JSX_2.Element;
|
|
429
|
+
|
|
430
|
+
declare interface DateRangePickerProps {
|
|
431
|
+
dateRange?: {
|
|
432
|
+
from?: Date;
|
|
433
|
+
to?: Date;
|
|
434
|
+
};
|
|
435
|
+
onDateRangeChange?: (range: {
|
|
436
|
+
from?: Date;
|
|
437
|
+
to?: Date;
|
|
438
|
+
}) => void;
|
|
439
|
+
placeholder?: string;
|
|
440
|
+
disabled?: boolean;
|
|
441
|
+
className?: string;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
declare const DEFAULT: {
|
|
445
|
+
alert: {
|
|
446
|
+
defaultStyles: string;
|
|
447
|
+
variantStyles: {
|
|
448
|
+
variant: {
|
|
449
|
+
default: string;
|
|
450
|
+
destructive: string;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
defaultVariants: {
|
|
454
|
+
variant: string;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
badge: {
|
|
458
|
+
defaultStyles: string;
|
|
459
|
+
variantStyles: {
|
|
460
|
+
variant: {
|
|
461
|
+
default: string;
|
|
462
|
+
secondary: string;
|
|
463
|
+
destructive: string;
|
|
464
|
+
outline: string;
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
defaultVariants: {
|
|
468
|
+
variant: string;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
button: {
|
|
472
|
+
defaultStyles: string;
|
|
473
|
+
variantStyles: {
|
|
474
|
+
variant: {
|
|
475
|
+
default: string;
|
|
476
|
+
primary: string;
|
|
477
|
+
destructive: string;
|
|
478
|
+
outline: string;
|
|
479
|
+
secondary: string;
|
|
480
|
+
ghost: string;
|
|
481
|
+
link: string;
|
|
482
|
+
};
|
|
483
|
+
size: {
|
|
484
|
+
default: string;
|
|
485
|
+
sm: string;
|
|
486
|
+
lg: string;
|
|
487
|
+
icon: string;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
defaultVariants: {
|
|
491
|
+
variant: string;
|
|
492
|
+
size: string;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
sidebar: {
|
|
496
|
+
defaultStyles: string;
|
|
497
|
+
variantStyles: {
|
|
498
|
+
variant: {
|
|
499
|
+
default: string;
|
|
500
|
+
floating: string;
|
|
501
|
+
};
|
|
502
|
+
size: {
|
|
503
|
+
default: string;
|
|
504
|
+
sm: string;
|
|
505
|
+
lg: string;
|
|
506
|
+
};
|
|
507
|
+
collapsed: {
|
|
508
|
+
true: string;
|
|
509
|
+
false: string;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
defaultVariants: {
|
|
513
|
+
variant: string;
|
|
514
|
+
size: string;
|
|
515
|
+
collapsed: boolean;
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
sidebarItem: {
|
|
519
|
+
defaultStyles: string;
|
|
520
|
+
variantStyles: {
|
|
521
|
+
variant: {
|
|
522
|
+
default: string;
|
|
523
|
+
ghost: string;
|
|
524
|
+
active: string;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
defaultVariants: {
|
|
528
|
+
variant: string;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
toggle: {
|
|
532
|
+
defaultStyles: string;
|
|
533
|
+
variantStyles: {
|
|
534
|
+
variant: {
|
|
535
|
+
default: string;
|
|
536
|
+
outline: string;
|
|
537
|
+
};
|
|
538
|
+
size: {
|
|
539
|
+
default: string;
|
|
540
|
+
sm: string;
|
|
541
|
+
lg: string;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
defaultVariants: {
|
|
545
|
+
variant: string;
|
|
546
|
+
size: string;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
declare const Dialog_2: FC<Dialog.DialogProps>;
|
|
552
|
+
|
|
553
|
+
declare const DialogClose: ForwardRefExoticComponent<Dialog.DialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
554
|
+
|
|
555
|
+
declare const DialogContent: ForwardRefExoticComponent<Omit<Dialog.DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
556
|
+
|
|
557
|
+
declare const DialogDescription: ForwardRefExoticComponent<Omit<Dialog.DialogDescriptionProps & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
558
|
+
|
|
559
|
+
declare const DialogFooter: {
|
|
560
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
561
|
+
displayName: string;
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
declare const DialogHeader: {
|
|
565
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
566
|
+
displayName: string;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
declare const DialogOverlay: ForwardRefExoticComponent<Omit<Dialog.DialogOverlayProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
570
|
+
|
|
571
|
+
declare const DialogPortal: FC<Dialog.DialogPortalProps>;
|
|
572
|
+
|
|
573
|
+
declare type DialogProps = React_2.ComponentProps<typeof Dialog.Root>;
|
|
574
|
+
|
|
575
|
+
declare const DialogTitle: ForwardRefExoticComponent<Omit<Dialog.DialogTitleProps & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
576
|
+
|
|
577
|
+
declare const DialogTrigger: ForwardRefExoticComponent<Dialog.DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
578
|
+
|
|
579
|
+
declare const Drawer: {
|
|
580
|
+
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof Drawer_2.Root>): JSX_2.Element;
|
|
581
|
+
displayName: string;
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
declare const DrawerClose: ForwardRefExoticComponent<DialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
585
|
+
|
|
586
|
+
declare const DrawerContent: ForwardRefExoticComponent<Omit<Omit<DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
587
|
+
|
|
588
|
+
declare const DrawerDescription: ForwardRefExoticComponent<Omit<DialogDescriptionProps & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
589
|
+
|
|
590
|
+
declare const DrawerFooter: {
|
|
591
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
592
|
+
displayName: string;
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
declare const DrawerHeader: {
|
|
596
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
597
|
+
displayName: string;
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
declare const DrawerOverlay: ForwardRefExoticComponent<Omit<Omit<DialogOverlayProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
601
|
+
|
|
602
|
+
declare const DrawerPortal: Portal;
|
|
603
|
+
|
|
604
|
+
declare const DrawerTitle: ForwardRefExoticComponent<Omit<DialogTitleProps & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
605
|
+
|
|
606
|
+
declare const DrawerTrigger: ForwardRefExoticComponent<DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
607
|
+
|
|
608
|
+
export declare namespace DreamspaceElements {
|
|
609
|
+
export {
|
|
610
|
+
useForm,
|
|
611
|
+
Variants,
|
|
612
|
+
Accordion,
|
|
613
|
+
AccordionItem,
|
|
614
|
+
AccordionTrigger,
|
|
615
|
+
AccordionContent,
|
|
616
|
+
Alert,
|
|
617
|
+
AlertDescription,
|
|
618
|
+
AlertTitle,
|
|
619
|
+
AlertDialog,
|
|
620
|
+
AlertDialogAction,
|
|
621
|
+
AlertDialogCancel,
|
|
622
|
+
AlertDialogContent,
|
|
623
|
+
AlertDialogDescription,
|
|
624
|
+
AlertDialogFooter,
|
|
625
|
+
AlertDialogHeader,
|
|
626
|
+
AlertDialogTitle,
|
|
627
|
+
AlertDialogTrigger,
|
|
628
|
+
AspectRatio,
|
|
629
|
+
Avatar,
|
|
630
|
+
AvatarFallback,
|
|
631
|
+
AvatarImage,
|
|
632
|
+
BadgeProps,
|
|
633
|
+
Badge,
|
|
634
|
+
badgeVariants,
|
|
635
|
+
Breadcrumb,
|
|
636
|
+
BreadcrumbItem,
|
|
637
|
+
BreadcrumbLink,
|
|
638
|
+
BreadcrumbList,
|
|
639
|
+
BreadcrumbPage,
|
|
640
|
+
BreadcrumbSeparator,
|
|
641
|
+
ButtonProps,
|
|
642
|
+
Button,
|
|
643
|
+
buttonVariants,
|
|
644
|
+
CalendarProps,
|
|
645
|
+
Calendar,
|
|
646
|
+
Card,
|
|
647
|
+
CardContent,
|
|
648
|
+
CardDescription,
|
|
649
|
+
CardFooter,
|
|
650
|
+
CardHeader,
|
|
651
|
+
CardTitle,
|
|
652
|
+
Carousel,
|
|
653
|
+
CarouselContent,
|
|
654
|
+
CarouselItem,
|
|
655
|
+
CarouselNext,
|
|
656
|
+
CarouselPrevious,
|
|
657
|
+
UseEmblaCarouselType as CarouselApi,
|
|
658
|
+
Checkbox,
|
|
659
|
+
Collapsible,
|
|
660
|
+
CollapsibleTrigger,
|
|
661
|
+
CollapsibleContent,
|
|
662
|
+
Combobox,
|
|
663
|
+
Command,
|
|
664
|
+
CommandDialog,
|
|
665
|
+
CommandEmpty,
|
|
666
|
+
CommandGroup,
|
|
667
|
+
CommandInput,
|
|
668
|
+
CommandItem,
|
|
669
|
+
CommandList,
|
|
670
|
+
CommandSeparator,
|
|
671
|
+
CommandShortcut,
|
|
672
|
+
ContextMenu,
|
|
673
|
+
ContextMenuCheckboxItem,
|
|
674
|
+
ContextMenuContent,
|
|
675
|
+
ContextMenuGroup,
|
|
676
|
+
ContextMenuItem,
|
|
677
|
+
ContextMenuLabel,
|
|
678
|
+
ContextMenuPortal,
|
|
679
|
+
ContextMenuRadioGroup,
|
|
680
|
+
ContextMenuRadioItem,
|
|
681
|
+
ContextMenuSeparator,
|
|
682
|
+
ContextMenuShortcut,
|
|
683
|
+
ContextMenuSub,
|
|
684
|
+
ContextMenuSubContent,
|
|
685
|
+
ContextMenuSubTrigger,
|
|
686
|
+
ContextMenuTrigger,
|
|
687
|
+
DataTable,
|
|
688
|
+
ColumnDef,
|
|
689
|
+
ColumnFiltersState,
|
|
690
|
+
SortingState,
|
|
691
|
+
VisibilityState,
|
|
692
|
+
DatePicker,
|
|
693
|
+
DateRangePicker,
|
|
694
|
+
Dialog_2 as Dialog,
|
|
695
|
+
DialogClose,
|
|
696
|
+
DialogContent,
|
|
697
|
+
DialogDescription,
|
|
698
|
+
DialogFooter,
|
|
699
|
+
DialogHeader,
|
|
700
|
+
DialogOverlay,
|
|
701
|
+
DialogPortal,
|
|
702
|
+
DialogTitle,
|
|
703
|
+
DialogTrigger,
|
|
704
|
+
Drawer,
|
|
705
|
+
DrawerClose,
|
|
706
|
+
DrawerContent,
|
|
707
|
+
DrawerDescription,
|
|
708
|
+
DrawerFooter,
|
|
709
|
+
DrawerHeader,
|
|
710
|
+
DrawerOverlay,
|
|
711
|
+
DrawerPortal,
|
|
712
|
+
DrawerTitle,
|
|
713
|
+
DrawerTrigger,
|
|
714
|
+
DropdownMenu,
|
|
715
|
+
DropdownMenuCheckboxItem,
|
|
716
|
+
DropdownMenuContent,
|
|
717
|
+
DropdownMenuGroup,
|
|
718
|
+
DropdownMenuItem,
|
|
719
|
+
DropdownMenuLabel,
|
|
720
|
+
DropdownMenuPortal,
|
|
721
|
+
DropdownMenuRadioGroup,
|
|
722
|
+
DropdownMenuRadioItem,
|
|
723
|
+
DropdownMenuSeparator,
|
|
724
|
+
DropdownMenuShortcut,
|
|
725
|
+
DropdownMenuSub,
|
|
726
|
+
DropdownMenuSubContent,
|
|
727
|
+
DropdownMenuSubTrigger,
|
|
728
|
+
DropdownMenuTrigger,
|
|
729
|
+
Form,
|
|
730
|
+
FormControl,
|
|
731
|
+
FormDescription,
|
|
732
|
+
FormField,
|
|
733
|
+
FormItem,
|
|
734
|
+
FormLabel,
|
|
735
|
+
FormMessage,
|
|
736
|
+
useFormField,
|
|
737
|
+
HoverCard,
|
|
738
|
+
HoverCardContent,
|
|
739
|
+
HoverCardTrigger,
|
|
740
|
+
InputProps,
|
|
741
|
+
Input,
|
|
742
|
+
Label_2 as Label,
|
|
743
|
+
Menubar,
|
|
744
|
+
MenubarCheckboxItem,
|
|
745
|
+
MenubarContent,
|
|
746
|
+
MenubarGroup,
|
|
747
|
+
MenubarItem,
|
|
748
|
+
MenubarLabel,
|
|
749
|
+
MenubarMenu,
|
|
750
|
+
MenubarPortal,
|
|
751
|
+
MenubarRadioGroup,
|
|
752
|
+
MenubarRadioItem,
|
|
753
|
+
MenubarSeparator,
|
|
754
|
+
MenubarShortcut,
|
|
755
|
+
MenubarSub,
|
|
756
|
+
MenubarSubContent,
|
|
757
|
+
MenubarSubTrigger,
|
|
758
|
+
MenubarTrigger,
|
|
759
|
+
NavigationMenu,
|
|
760
|
+
NavigationMenuContent,
|
|
761
|
+
NavigationMenuIndicator,
|
|
762
|
+
NavigationMenuItem,
|
|
763
|
+
NavigationMenuLink,
|
|
764
|
+
NavigationMenuList,
|
|
765
|
+
NavigationMenuTrigger,
|
|
766
|
+
navigationMenuTriggerStyle,
|
|
767
|
+
NavigationMenuViewport,
|
|
768
|
+
Pagination,
|
|
769
|
+
PaginationContent,
|
|
770
|
+
PaginationEllipsis,
|
|
771
|
+
PaginationFirst,
|
|
772
|
+
PaginationItem,
|
|
773
|
+
PaginationLast,
|
|
774
|
+
PaginationLink,
|
|
775
|
+
PaginationNext,
|
|
776
|
+
PaginationPrevious,
|
|
777
|
+
Popover,
|
|
778
|
+
PopoverContent,
|
|
779
|
+
PopoverTrigger,
|
|
780
|
+
Progress,
|
|
781
|
+
RadioGroup,
|
|
782
|
+
RadioGroupItem,
|
|
783
|
+
ResizableHandle,
|
|
784
|
+
ResizablePanel,
|
|
785
|
+
ResizablePanelGroup,
|
|
786
|
+
ScrollArea,
|
|
787
|
+
ScrollBar,
|
|
788
|
+
Select,
|
|
789
|
+
SelectContent,
|
|
790
|
+
SelectGroup,
|
|
791
|
+
SelectItem,
|
|
792
|
+
SelectLabel,
|
|
793
|
+
SelectScrollDownButton,
|
|
794
|
+
SelectScrollUpButton,
|
|
795
|
+
SelectSeparator,
|
|
796
|
+
SelectTrigger,
|
|
797
|
+
SelectValue,
|
|
798
|
+
Separator,
|
|
799
|
+
Sheet,
|
|
800
|
+
SheetClose,
|
|
801
|
+
SheetContent,
|
|
802
|
+
SheetDescription,
|
|
803
|
+
SheetFooter,
|
|
804
|
+
SheetHeader,
|
|
805
|
+
SheetOverlay,
|
|
806
|
+
SheetPortal,
|
|
807
|
+
SheetTitle,
|
|
808
|
+
SheetTrigger,
|
|
809
|
+
SidebarItemProps,
|
|
810
|
+
Sidebar,
|
|
811
|
+
SidebarFooter,
|
|
812
|
+
SidebarGroup,
|
|
813
|
+
SidebarHeader,
|
|
814
|
+
SidebarItem,
|
|
815
|
+
SidebarNav,
|
|
816
|
+
Skeleton,
|
|
817
|
+
Slider,
|
|
818
|
+
Toaster,
|
|
819
|
+
Switch,
|
|
820
|
+
Table,
|
|
821
|
+
TableBody,
|
|
822
|
+
TableCaption,
|
|
823
|
+
TableCell,
|
|
824
|
+
TableFooter,
|
|
825
|
+
TableHead,
|
|
826
|
+
TableHeader,
|
|
827
|
+
TableRow,
|
|
828
|
+
Tabs,
|
|
829
|
+
TabsContent,
|
|
830
|
+
TabsList,
|
|
831
|
+
TabsTrigger,
|
|
832
|
+
TextareaProps,
|
|
833
|
+
Textarea,
|
|
834
|
+
Toggle,
|
|
835
|
+
toggleVariants,
|
|
836
|
+
ToggleGroup,
|
|
837
|
+
ToggleGroupItem,
|
|
838
|
+
Tooltip,
|
|
839
|
+
TooltipContent,
|
|
840
|
+
TooltipProvider,
|
|
841
|
+
TooltipTrigger
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
declare const DropdownMenu: FC<DropdownMenu_2.DropdownMenuProps>;
|
|
846
|
+
|
|
847
|
+
declare const DropdownMenuCheckboxItem: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
848
|
+
|
|
849
|
+
declare const DropdownMenuContent: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
850
|
+
|
|
851
|
+
declare const DropdownMenuGroup: ForwardRefExoticComponent<DropdownMenu_2.DropdownMenuGroupProps & RefAttributes<HTMLDivElement>>;
|
|
852
|
+
|
|
853
|
+
declare const DropdownMenuItem: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuItemProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
854
|
+
inset?: boolean;
|
|
855
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
856
|
+
|
|
857
|
+
declare const DropdownMenuLabel: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuLabelProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
858
|
+
inset?: boolean;
|
|
859
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
860
|
+
|
|
861
|
+
declare const DropdownMenuPortal: FC<DropdownMenu_2.DropdownMenuPortalProps>;
|
|
862
|
+
|
|
863
|
+
declare const DropdownMenuRadioGroup: ForwardRefExoticComponent<DropdownMenu_2.DropdownMenuRadioGroupProps & RefAttributes<HTMLDivElement>>;
|
|
864
|
+
|
|
865
|
+
declare const DropdownMenuRadioItem: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuRadioItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
866
|
+
|
|
867
|
+
declare const DropdownMenuSeparator: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
868
|
+
|
|
869
|
+
declare const DropdownMenuShortcut: {
|
|
870
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
871
|
+
displayName: string;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
declare const DropdownMenuSub: FC<DropdownMenu_2.DropdownMenuSubProps>;
|
|
875
|
+
|
|
876
|
+
declare const DropdownMenuSubContent: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuSubContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
877
|
+
|
|
878
|
+
declare const DropdownMenuSubTrigger: ForwardRefExoticComponent<Omit<DropdownMenu_2.DropdownMenuSubTriggerProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
879
|
+
inset?: boolean;
|
|
880
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
881
|
+
|
|
882
|
+
declare const DropdownMenuTrigger: ForwardRefExoticComponent<DropdownMenu_2.DropdownMenuTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
883
|
+
|
|
884
|
+
export declare type FetchProjectResponse = {
|
|
885
|
+
status: string;
|
|
886
|
+
projects: Project[];
|
|
887
|
+
};
|
|
888
|
+
|
|
889
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
890
|
+
|
|
891
|
+
declare const FormControl: ForwardRefExoticComponent<Omit<SlotProps & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement>>;
|
|
892
|
+
|
|
893
|
+
declare const FormDescription: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
|
|
894
|
+
|
|
895
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => JSX_2.Element;
|
|
896
|
+
|
|
897
|
+
declare const FormItem: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
898
|
+
|
|
899
|
+
declare const FormLabel: ForwardRefExoticComponent<Omit<Label.LabelProps & RefAttributes<HTMLLabelElement>, "ref"> & RefAttributes<HTMLLabelElement>>;
|
|
900
|
+
|
|
901
|
+
declare const FormMessage: ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & RefAttributes<HTMLParagraphElement>>;
|
|
902
|
+
|
|
903
|
+
export declare const getCommits: (projectName: string, projectUrl: string, commitsCount?: number) => Promise<Commit[]>;
|
|
904
|
+
|
|
905
|
+
export declare const getHeadCommit: (projectName: string) => Promise<string>;
|
|
906
|
+
|
|
907
|
+
export declare const getRedoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
|
|
908
|
+
|
|
909
|
+
export declare const getTags: (projectName: string, projectUrl: string, { fetch }?: GetTagsOptions) => Promise<{
|
|
910
|
+
tag: string;
|
|
911
|
+
targetCommitTimestamp: number;
|
|
912
|
+
targetCommit: string;
|
|
913
|
+
ref: string;
|
|
914
|
+
}[]>;
|
|
915
|
+
|
|
916
|
+
declare type GetTagsOptions = {
|
|
917
|
+
fetch?: boolean;
|
|
918
|
+
};
|
|
919
|
+
|
|
920
|
+
export declare const getUndoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
|
|
921
|
+
|
|
922
|
+
declare const HoverCard: FC<HoverCard_2.HoverCardProps>;
|
|
923
|
+
|
|
924
|
+
declare const HoverCardContent: ForwardRefExoticComponent<Omit<HoverCard_2.HoverCardContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
925
|
+
|
|
926
|
+
declare const HoverCardTrigger: ForwardRefExoticComponent<HoverCard_2.HoverCardTriggerProps & RefAttributes<HTMLAnchorElement>>;
|
|
927
|
+
|
|
928
|
+
export declare const initializeMakeInfinite: () => void;
|
|
929
|
+
|
|
930
|
+
declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
|
|
931
|
+
|
|
932
|
+
declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
declare const Label_2: ForwardRefExoticComponent<Omit<Label.LabelProps & RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & RefAttributes<HTMLLabelElement>>;
|
|
936
|
+
|
|
937
|
+
export declare const listAllFiles: (projectName: string, repoURL: string) => Promise<never[] | string[]>;
|
|
938
|
+
|
|
939
|
+
export declare const listDir: (dirPath: string) => Promise<any>;
|
|
940
|
+
|
|
941
|
+
export declare const loadLibraryComponents: (apiHandler: any) => Promise<any>;
|
|
942
|
+
|
|
943
|
+
export declare const loadProjectComponents: (projectName: string, pageId?: string, pagePath?: string) => Promise<{
|
|
944
|
+
components: any;
|
|
945
|
+
layout: any;
|
|
946
|
+
pages: {
|
|
947
|
+
id: string;
|
|
948
|
+
name: string;
|
|
949
|
+
path: string;
|
|
950
|
+
components: object;
|
|
951
|
+
}[];
|
|
952
|
+
}>;
|
|
953
|
+
|
|
954
|
+
export declare const loadProjectPages: (projectName: string) => Promise<{
|
|
955
|
+
id: string;
|
|
956
|
+
name: string;
|
|
957
|
+
path: string;
|
|
958
|
+
components: object;
|
|
959
|
+
}[]>;
|
|
960
|
+
|
|
961
|
+
declare const Menubar: ForwardRefExoticComponent<Omit<Menubar_2.MenubarProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
962
|
+
|
|
963
|
+
declare const MenubarCheckboxItem: ForwardRefExoticComponent<Omit<Menubar_2.MenubarCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
964
|
+
|
|
965
|
+
declare const MenubarContent: ForwardRefExoticComponent<Omit<Menubar_2.MenubarContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
966
|
+
|
|
967
|
+
declare const MenubarGroup: ForwardRefExoticComponent<Menubar_2.MenubarGroupProps & RefAttributes<HTMLDivElement>>;
|
|
968
|
+
|
|
969
|
+
declare const MenubarItem: ForwardRefExoticComponent<Omit<Menubar_2.MenubarItemProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
970
|
+
inset?: boolean;
|
|
971
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
972
|
+
|
|
973
|
+
declare const MenubarLabel: ForwardRefExoticComponent<Omit<Menubar_2.MenubarLabelProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
974
|
+
inset?: boolean;
|
|
975
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
976
|
+
|
|
977
|
+
declare const MenubarMenu: {
|
|
978
|
+
(props: Menubar_2.MenubarMenuProps & {
|
|
979
|
+
__scopeMenubar?: Scope;
|
|
980
|
+
}): JSX_2.Element;
|
|
981
|
+
displayName: string;
|
|
982
|
+
};
|
|
983
|
+
|
|
984
|
+
declare const MenubarPortal: FC<Menubar_2.MenubarPortalProps>;
|
|
985
|
+
|
|
986
|
+
declare const MenubarRadioGroup: ForwardRefExoticComponent<Menubar_2.MenubarRadioGroupProps & RefAttributes<HTMLDivElement>>;
|
|
987
|
+
|
|
988
|
+
declare const MenubarRadioItem: ForwardRefExoticComponent<Omit<Menubar_2.MenubarRadioItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
989
|
+
|
|
990
|
+
declare const MenubarSeparator: ForwardRefExoticComponent<Omit<Menubar_2.MenubarSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
991
|
+
|
|
992
|
+
declare const MenubarShortcut: {
|
|
993
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
994
|
+
displayName: string;
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
declare const MenubarSub: FC<Menubar_2.MenubarSubProps>;
|
|
998
|
+
|
|
999
|
+
declare const MenubarSubContent: ForwardRefExoticComponent<Omit<Menubar_2.MenubarSubContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1000
|
+
|
|
1001
|
+
declare const MenubarSubTrigger: ForwardRefExoticComponent<Omit<Menubar_2.MenubarSubTriggerProps & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1002
|
+
inset?: boolean;
|
|
1003
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
1004
|
+
|
|
1005
|
+
declare const MenubarTrigger: ForwardRefExoticComponent<Omit<Menubar_2.MenubarTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1006
|
+
|
|
1007
|
+
export declare const MiniApp: () => JSX_2.Element;
|
|
1008
|
+
|
|
1009
|
+
declare const NavigationMenu: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuProps & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement>>;
|
|
1010
|
+
|
|
1011
|
+
declare const NavigationMenuContent: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1012
|
+
|
|
1013
|
+
declare const NavigationMenuIndicator: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuIndicatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1014
|
+
|
|
1015
|
+
declare const NavigationMenuItem: ForwardRefExoticComponent<NavigationMenu_2.NavigationMenuItemProps & RefAttributes<HTMLLIElement>>;
|
|
1016
|
+
|
|
1017
|
+
declare const NavigationMenuLink: ForwardRefExoticComponent<NavigationMenu_2.NavigationMenuLinkProps & RefAttributes<HTMLAnchorElement>>;
|
|
1018
|
+
|
|
1019
|
+
declare const NavigationMenuList: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuListProps & RefAttributes<HTMLUListElement>, "ref"> & RefAttributes<HTMLUListElement>>;
|
|
1020
|
+
|
|
1021
|
+
declare const NavigationMenuTrigger: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1022
|
+
|
|
1023
|
+
declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined) => string;
|
|
1024
|
+
|
|
1025
|
+
declare const NavigationMenuViewport: ForwardRefExoticComponent<Omit<NavigationMenu_2.NavigationMenuViewportProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1026
|
+
|
|
1027
|
+
declare const Pagination: {
|
|
1028
|
+
({ className, ...props }: React.ComponentProps<"nav">): JSX_2.Element;
|
|
1029
|
+
displayName: string;
|
|
1030
|
+
};
|
|
1031
|
+
|
|
1032
|
+
declare const PaginationContent: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & RefAttributes<HTMLUListElement>>;
|
|
1033
|
+
|
|
1034
|
+
declare const PaginationEllipsis: {
|
|
1035
|
+
({ className, ...props }: React.ComponentProps<"span">): JSX_2.Element;
|
|
1036
|
+
displayName: string;
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
declare const PaginationFirst: ForwardRefExoticComponent<Omit<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1040
|
+
|
|
1041
|
+
declare const PaginationItem: ForwardRefExoticComponent<Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
1042
|
+
|
|
1043
|
+
declare const PaginationLast: ForwardRefExoticComponent<Omit<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1044
|
+
|
|
1045
|
+
declare const PaginationLink: ForwardRefExoticComponent<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1046
|
+
|
|
1047
|
+
declare type PaginationLinkProps = {
|
|
1048
|
+
isActive?: boolean;
|
|
1049
|
+
disabled?: boolean;
|
|
1050
|
+
} & Pick<ButtonProps, "size"> & React.ComponentProps<"button">;
|
|
1051
|
+
|
|
1052
|
+
declare const PaginationNext: ForwardRefExoticComponent<Omit<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1053
|
+
|
|
1054
|
+
declare const PaginationPrevious: ForwardRefExoticComponent<Omit<Omit<PaginationLinkProps, "ref"> & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1055
|
+
|
|
1056
|
+
declare const Popover: FC<Popover_2.PopoverProps>;
|
|
1057
|
+
|
|
1058
|
+
declare const PopoverContent: ForwardRefExoticComponent<Omit<Popover_2.PopoverContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1059
|
+
|
|
1060
|
+
declare const PopoverTrigger: ForwardRefExoticComponent<Popover_2.PopoverTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
1061
|
+
|
|
1062
|
+
declare const Progress: ForwardRefExoticComponent<Omit<Progress_2.ProgressProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1063
|
+
|
|
1064
|
+
export declare type Project = {
|
|
1065
|
+
clone_url: string;
|
|
1066
|
+
project_name: string;
|
|
1067
|
+
creator_sxt_uuid: string;
|
|
1068
|
+
created_at_s: number;
|
|
1069
|
+
updated_at_s: number;
|
|
1070
|
+
hmac: string;
|
|
1071
|
+
extra_meta?: string | null;
|
|
1072
|
+
published_url?: string;
|
|
1073
|
+
};
|
|
1074
|
+
|
|
1075
|
+
declare interface ProjectConfig {
|
|
1076
|
+
API_BASE_URL: string | null;
|
|
1077
|
+
WS_BASE_URL: string | null;
|
|
1078
|
+
GW_BASE_URL: string | null;
|
|
1079
|
+
GW_PROXY_URL: string | null;
|
|
1080
|
+
PROXY_API_BASE_URL: string | null;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
declare interface ProjectMetadata {
|
|
1084
|
+
projectName: string | null;
|
|
1085
|
+
projectURL: string | null;
|
|
1086
|
+
projectHmac?: string;
|
|
1087
|
+
extraMeta: {
|
|
1088
|
+
application_name?: string;
|
|
1089
|
+
project_name?: string;
|
|
1090
|
+
application_description?: string;
|
|
1091
|
+
application_category?: string;
|
|
1092
|
+
};
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
export declare const ProjectProvider: (props: {
|
|
1096
|
+
config: ProjectConfig;
|
|
1097
|
+
metadata?: ProjectMetadata;
|
|
1098
|
+
children?: React.ReactNode;
|
|
1099
|
+
}) => JSX_2.Element;
|
|
1100
|
+
|
|
1101
|
+
/** Configuration for the proxy fetch client */
|
|
1102
|
+
export declare type ProxyFetchConfig = {
|
|
1103
|
+
miniappName: string;
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
/** Configuration for the proxy getView client */
|
|
1107
|
+
export declare type ProxyGetViewConfig = {
|
|
1108
|
+
miniappName: string;
|
|
1109
|
+
gwProxyUrl: string;
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
declare const RadioGroup: ForwardRefExoticComponent<Omit<RadioGroup_2.RadioGroupProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1113
|
+
|
|
1114
|
+
declare const RadioGroupItem: ForwardRefExoticComponent<Omit<RadioGroup_2.RadioGroupItemProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1115
|
+
|
|
1116
|
+
/** Represents rate limit configuration for a tier */
|
|
1117
|
+
export declare type RateLimit = {
|
|
1118
|
+
miniapp_name: string;
|
|
1119
|
+
secret_reference: string;
|
|
1120
|
+
tier: string;
|
|
1121
|
+
window_ms: number;
|
|
1122
|
+
limit: number;
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
declare const ResizableHandle: {
|
|
1126
|
+
({ className, ...props }: PanelResizeHandleProps): JSX_2.Element;
|
|
1127
|
+
displayName: string;
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
declare const ResizablePanel: ForwardRefExoticComponent<Omit<PanelProps, "ref"> & RefAttributes<ImperativePanelHandle>>;
|
|
1131
|
+
|
|
1132
|
+
declare const ResizablePanelGroup: any;
|
|
1133
|
+
|
|
1134
|
+
export declare const RGComponent: default_2.ForwardRefExoticComponent<Omit<RGContainerProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
1135
|
+
|
|
1136
|
+
export declare class RGComponentErrorBoundary<T> extends default_2.Component<RGComponentErrorBoundaryProps<T>, RGComponentErrorBoundaryState> {
|
|
1137
|
+
constructor(props: RGComponentErrorBoundaryProps<T>);
|
|
1138
|
+
static getDerivedStateFromError(error: Error): {
|
|
1139
|
+
hasError: boolean;
|
|
1140
|
+
error: Error;
|
|
1141
|
+
};
|
|
1142
|
+
render(): default_2.ReactNode;
|
|
1143
|
+
resetState(): void;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
declare interface RGComponentErrorBoundaryProps<T> {
|
|
1147
|
+
children: default_2.ReactNode;
|
|
1148
|
+
fallback?: default_2.ComponentType<RGFallbackComponentProps & T>;
|
|
1149
|
+
fallbackProps?: T;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
declare interface RGComponentErrorBoundaryState {
|
|
1153
|
+
hasError: boolean;
|
|
1154
|
+
error: Error | null;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
declare interface RGContainerProps {
|
|
1158
|
+
style?: any;
|
|
1159
|
+
className?: string;
|
|
1160
|
+
onMouseDown?: any;
|
|
1161
|
+
onMouseUp?: any;
|
|
1162
|
+
onTouchEnd?: any;
|
|
1163
|
+
children?: default_2.ReactNode;
|
|
1164
|
+
[key: string]: any;
|
|
1165
|
+
componentId: any;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export declare const RGDroppable: (props: {
|
|
1169
|
+
id: string;
|
|
1170
|
+
type: string;
|
|
1171
|
+
initialSize: {
|
|
1172
|
+
w: number;
|
|
1173
|
+
h: number;
|
|
1174
|
+
};
|
|
1175
|
+
metadata: object;
|
|
1176
|
+
node: ReactNode;
|
|
1177
|
+
}) => JSX_2.Element;
|
|
1178
|
+
|
|
1179
|
+
export declare const RGEditLayout: (props: {
|
|
1180
|
+
components: JSX.Element[];
|
|
1181
|
+
layouts: any;
|
|
1182
|
+
onLayoutChange: (layout: Layout[], allLayouts: Record<string, Layout[]>) => void;
|
|
1183
|
+
onResizeStart: ItemCallback;
|
|
1184
|
+
onResize: ItemCallback;
|
|
1185
|
+
onResizeStop: ItemCallback;
|
|
1186
|
+
onDragStart: ItemCallback;
|
|
1187
|
+
onDragStop: ItemCallback;
|
|
1188
|
+
onDrop: (layout: any, item: Layout, e: Event) => void;
|
|
1189
|
+
isDraggable: boolean;
|
|
1190
|
+
isResizable: boolean;
|
|
1191
|
+
isDroppable: boolean;
|
|
1192
|
+
disableResize: boolean;
|
|
1193
|
+
onBreakpointChange?: (breakpoint: "xxs" | "xs" | "sm" | "md" | "lg") => void;
|
|
1194
|
+
}) => JSX_2.Element;
|
|
1195
|
+
|
|
1196
|
+
declare interface RGFallbackComponentProps {
|
|
1197
|
+
error: Error | null;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
export declare const RGPreviewLayout: (props: {
|
|
1201
|
+
components: any;
|
|
1202
|
+
layouts: any;
|
|
1203
|
+
}) => JSX_2.Element;
|
|
1204
|
+
|
|
1205
|
+
export declare const RGProvider: FC<PropsWithChildren<ReactNode>>;
|
|
1206
|
+
|
|
1207
|
+
declare const ScrollArea: ForwardRefExoticComponent<Omit<ScrollArea_2.ScrollAreaProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1208
|
+
|
|
1209
|
+
declare const ScrollBar: ForwardRefExoticComponent<Omit<ScrollArea_2.ScrollAreaScrollbarProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1210
|
+
|
|
1211
|
+
/** Represents a secret configuration for API access */
|
|
1212
|
+
export declare type SecretProperties = {
|
|
1213
|
+
api_domain?: string;
|
|
1214
|
+
api_path_prefix?: string;
|
|
1215
|
+
auth_header_key?: string;
|
|
1216
|
+
auth_header_value?: string;
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
declare const Select: FC<Select_2.SelectProps>;
|
|
1220
|
+
|
|
1221
|
+
declare const SelectContent: ForwardRefExoticComponent<Omit<Select_2.SelectContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1222
|
+
|
|
1223
|
+
declare const SelectGroup: ForwardRefExoticComponent<Select_2.SelectGroupProps & RefAttributes<HTMLDivElement>>;
|
|
1224
|
+
|
|
1225
|
+
declare const SelectItem: ForwardRefExoticComponent<Omit<Select_2.SelectItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1226
|
+
|
|
1227
|
+
declare const SelectLabel: ForwardRefExoticComponent<Omit<Select_2.SelectLabelProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1228
|
+
|
|
1229
|
+
declare const SelectScrollDownButton: ForwardRefExoticComponent<Omit<Select_2.SelectScrollDownButtonProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1230
|
+
|
|
1231
|
+
declare const SelectScrollUpButton: ForwardRefExoticComponent<Omit<Select_2.SelectScrollUpButtonProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1232
|
+
|
|
1233
|
+
declare const SelectSeparator: ForwardRefExoticComponent<Omit<Select_2.SelectSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1234
|
+
|
|
1235
|
+
declare const SelectTrigger: ForwardRefExoticComponent<Omit<Select_2.SelectTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1236
|
+
|
|
1237
|
+
declare const SelectValue: ForwardRefExoticComponent<Select_2.SelectValueProps & RefAttributes<HTMLSpanElement>>;
|
|
1238
|
+
|
|
1239
|
+
declare const Separator: ForwardRefExoticComponent<Omit<Separator_2.SeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1240
|
+
|
|
1241
|
+
export declare const setTailwindTheme: (theme: object) => void;
|
|
1242
|
+
|
|
1243
|
+
declare const Sheet: FC<Dialog.DialogProps>;
|
|
1244
|
+
|
|
1245
|
+
declare const SheetClose: ForwardRefExoticComponent<Dialog.DialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
1246
|
+
|
|
1247
|
+
declare const SheetContent: ForwardRefExoticComponent<SheetContentProps & RefAttributes<HTMLDivElement>>;
|
|
1248
|
+
|
|
1249
|
+
declare interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof Dialog.Content>, VariantProps<typeof sheetVariants> {
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
declare const SheetDescription: ForwardRefExoticComponent<Omit<Dialog.DialogDescriptionProps & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
1253
|
+
|
|
1254
|
+
declare const SheetFooter: {
|
|
1255
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
1256
|
+
displayName: string;
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
declare const SheetHeader: {
|
|
1260
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
1261
|
+
displayName: string;
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
declare const SheetOverlay: ForwardRefExoticComponent<Omit<Dialog.DialogOverlayProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1265
|
+
|
|
1266
|
+
declare const SheetPortal: FC<Dialog.DialogPortalProps>;
|
|
1267
|
+
|
|
1268
|
+
declare const SheetTitle: ForwardRefExoticComponent<Omit<Dialog.DialogTitleProps & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
1269
|
+
|
|
1270
|
+
declare const SheetTrigger: ForwardRefExoticComponent<Dialog.DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
1271
|
+
|
|
1272
|
+
declare const sheetVariants: (props?: ({
|
|
1273
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
1274
|
+
} & ClassProp) | undefined) => string;
|
|
1275
|
+
|
|
1276
|
+
declare const Sidebar: ForwardRefExoticComponent<SidebarProps & RefAttributes<HTMLDivElement>>;
|
|
1277
|
+
|
|
1278
|
+
declare const SidebarFooter: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
1279
|
+
|
|
1280
|
+
declare const SidebarGroup: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
1281
|
+
|
|
1282
|
+
declare const SidebarHeader: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
1283
|
+
|
|
1284
|
+
declare const SidebarItem: ForwardRefExoticComponent<SidebarItemProps & RefAttributes<HTMLDivElement>>;
|
|
1285
|
+
|
|
1286
|
+
declare interface SidebarItemProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sidebarItemVariants> {
|
|
1287
|
+
icon?: React.ReactNode;
|
|
1288
|
+
badge?: React.ReactNode;
|
|
1289
|
+
active?: boolean;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
declare const sidebarItemVariants: (props?: ({
|
|
1293
|
+
variant?: "default" | "ghost" | "active" | null | undefined;
|
|
1294
|
+
} & ClassProp) | undefined) => string;
|
|
1295
|
+
|
|
1296
|
+
declare const SidebarNav: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
1297
|
+
|
|
1298
|
+
declare interface SidebarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sidebarVariants> {
|
|
1299
|
+
fixed?: boolean;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
declare const sidebarVariants: (props?: ({
|
|
1303
|
+
variant?: "default" | "floating" | null | undefined;
|
|
1304
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1305
|
+
collapsed?: boolean | null | undefined;
|
|
1306
|
+
} & ClassProp) | undefined) => string;
|
|
1307
|
+
|
|
1308
|
+
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
1309
|
+
|
|
1310
|
+
declare const Slider: ForwardRefExoticComponent<Omit<Slider_2.SliderProps & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
1311
|
+
|
|
1312
|
+
declare const Switch: ForwardRefExoticComponent<Omit<Switch_2.SwitchProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1313
|
+
|
|
1314
|
+
export declare const syncAndRetry: (projectName: string, projectRepository: string) => Promise<void>;
|
|
1315
|
+
|
|
1316
|
+
declare const Table: ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & RefAttributes<HTMLTableElement>>;
|
|
1317
|
+
|
|
1318
|
+
declare const TableBody: ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & RefAttributes<HTMLTableSectionElement>>;
|
|
1319
|
+
|
|
1320
|
+
declare const TableCaption: ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & RefAttributes<HTMLTableCaptionElement>>;
|
|
1321
|
+
|
|
1322
|
+
declare const TableCell: ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & RefAttributes<HTMLTableCellElement>>;
|
|
1323
|
+
|
|
1324
|
+
declare const TableFooter: ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & RefAttributes<HTMLTableSectionElement>>;
|
|
1325
|
+
|
|
1326
|
+
declare const TableHead: ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & RefAttributes<HTMLTableCellElement>>;
|
|
1327
|
+
|
|
1328
|
+
declare const TableHeader: ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & RefAttributes<HTMLTableSectionElement>>;
|
|
1329
|
+
|
|
1330
|
+
declare const TableRow: ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & RefAttributes<HTMLTableRowElement>>;
|
|
1331
|
+
|
|
1332
|
+
declare const Tabs: React_2.ForwardRefExoticComponent<Tabs_2.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1333
|
+
|
|
1334
|
+
declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<Tabs_2.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1335
|
+
|
|
1336
|
+
declare const TabsList: React_2.ForwardRefExoticComponent<Omit<Tabs_2.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1337
|
+
|
|
1338
|
+
declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<Tabs_2.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1339
|
+
|
|
1340
|
+
declare const TailwindThemeConsumer: Consumer<any>;
|
|
1341
|
+
|
|
1342
|
+
export declare namespace TailwindThemeContext {
|
|
1343
|
+
export {
|
|
1344
|
+
TailwindThemeContext_2 as TailwindThemeContext,
|
|
1345
|
+
TailwindThemeConsumer,
|
|
1346
|
+
TailwindThemeProvider
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
declare const TailwindThemeContext_2: Context<any>;
|
|
1351
|
+
|
|
1352
|
+
export declare namespace TailwindThemeHooks {
|
|
1353
|
+
export {
|
|
1354
|
+
useVariants,
|
|
1355
|
+
useTheme,
|
|
1356
|
+
useFontFamily,
|
|
1357
|
+
useColors,
|
|
1358
|
+
useSiteBackground,
|
|
1359
|
+
useTailwind
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
declare const TailwindThemeProvider: (props: {
|
|
1364
|
+
children?: React.ReactNode;
|
|
1365
|
+
}) => JSX_2.Element;
|
|
1366
|
+
|
|
1367
|
+
declare const Textarea: ForwardRefExoticComponent<TextareaProps & RefAttributes<HTMLTextAreaElement>>;
|
|
1368
|
+
|
|
1369
|
+
declare interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
/** Represents a tier assignment for a user */
|
|
1373
|
+
export declare type TierAssignment = {
|
|
1374
|
+
miniapp_name: string;
|
|
1375
|
+
user_id: string;
|
|
1376
|
+
tier: string;
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1379
|
+
/** Represents a mapping between a miniapp tier and a secret */
|
|
1380
|
+
export declare type TierMapping = {
|
|
1381
|
+
miniapp_name: string;
|
|
1382
|
+
creator_id: string;
|
|
1383
|
+
secret_reference: string;
|
|
1384
|
+
tier: string;
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
declare const Toaster: ({ ...props }: ToasterProps) => JSX_2.Element;
|
|
1388
|
+
|
|
1389
|
+
declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
|
|
1390
|
+
|
|
1391
|
+
declare const Toggle: ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1392
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1393
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1394
|
+
} & ClassProp) | undefined) => string> & RefAttributes<HTMLButtonElement>>;
|
|
1395
|
+
|
|
1396
|
+
declare const ToggleGroup: ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
1397
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1398
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1399
|
+
} & ClassProp) | undefined) => string>) & RefAttributes<HTMLDivElement>>;
|
|
1400
|
+
|
|
1401
|
+
declare const ToggleGroupItem: ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1402
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1403
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1404
|
+
} & ClassProp) | undefined) => string> & RefAttributes<HTMLButtonElement>>;
|
|
1405
|
+
|
|
1406
|
+
declare const toggleVariants: (props?: ({
|
|
1407
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1408
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1409
|
+
} & ClassProp) | undefined) => string;
|
|
1410
|
+
|
|
1411
|
+
declare const Tooltip: FC<TooltipPrimitive.TooltipProps>;
|
|
1412
|
+
|
|
1413
|
+
declare const TooltipContent: ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1414
|
+
|
|
1415
|
+
declare const TooltipProvider: FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1416
|
+
|
|
1417
|
+
declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
1418
|
+
|
|
1419
|
+
export declare const useAPI: () => APIContextType;
|
|
1420
|
+
|
|
1421
|
+
export declare const useAppMetadata: (projectName: string, deps?: any[]) => any;
|
|
1422
|
+
|
|
1423
|
+
export declare const useAppSettings: (projectName: string, deps?: any[]) => any;
|
|
1424
|
+
|
|
1425
|
+
export declare const useAppVersions: (projectName: string, projectURL: string, deps?: any[]) => any;
|
|
1426
|
+
|
|
1427
|
+
export declare const useB64UrlForProjectImage: (projectName: string, imageFilename: string) => string;
|
|
1428
|
+
|
|
1429
|
+
declare const useColors: () => {
|
|
1430
|
+
colors: any;
|
|
1431
|
+
setColors: (colors: Record<string, any>) => void;
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
declare const useFontFamily: () => {
|
|
1435
|
+
fontFamily: any;
|
|
1436
|
+
setFontFamily: (fontFamily: string) => void;
|
|
1437
|
+
};
|
|
1438
|
+
|
|
1439
|
+
declare const useFormField: () => {
|
|
1440
|
+
invalid: boolean;
|
|
1441
|
+
isDirty: boolean;
|
|
1442
|
+
isTouched: boolean;
|
|
1443
|
+
isValidating: boolean;
|
|
1444
|
+
error?: FieldError;
|
|
1445
|
+
id: string;
|
|
1446
|
+
name: string;
|
|
1447
|
+
formItemId: string;
|
|
1448
|
+
formDescriptionId: string;
|
|
1449
|
+
formMessageId: string;
|
|
1450
|
+
};
|
|
1451
|
+
|
|
1452
|
+
export declare const useProject: () => ProjectContextValue;
|
|
1453
|
+
|
|
1454
|
+
export declare const useRGContext: () => any;
|
|
1455
|
+
|
|
1456
|
+
declare const useSiteBackground: () => {
|
|
1457
|
+
siteBackground: any;
|
|
1458
|
+
siteBackgroundColor: any;
|
|
1459
|
+
siteBackgroundImage: any;
|
|
1460
|
+
setSiteBackground: any;
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
declare const useTailwind: () => {
|
|
1464
|
+
tailwind: any;
|
|
1465
|
+
setTailwind: any;
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
declare const useTheme: () => {
|
|
1469
|
+
theme: any;
|
|
1470
|
+
setTheme: any;
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
declare const useVariants: () => {
|
|
1474
|
+
variants: any;
|
|
1475
|
+
setVariants: any;
|
|
1476
|
+
};
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* Hook for managing a WebSocket connection with automatic reconnection
|
|
1480
|
+
*
|
|
1481
|
+
* @param getUrl Function that returns the WebSocket URL to connect to (return null to prevent connection)
|
|
1482
|
+
* @param onMessageReceived Callback function to handle received messages
|
|
1483
|
+
* @param options Connection options
|
|
1484
|
+
*/
|
|
1485
|
+
export declare const useWebSocketManager: (getUrl: () => string | null, onMessageReceived: (data: any) => void, options?: WebSocketOptions) => UseWebSocketManagerReturn;
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* Return type for useWebSocketManager hook
|
|
1489
|
+
*/
|
|
1490
|
+
declare interface UseWebSocketManagerReturn {
|
|
1491
|
+
/** Current connection status */
|
|
1492
|
+
connectionStatus: WebSocketStatus;
|
|
1493
|
+
/** Function to send messages over the WebSocket */
|
|
1494
|
+
sendMessage: (message: object) => boolean;
|
|
1495
|
+
/** Most recent error during connection or message handling */
|
|
1496
|
+
lastError: Error | null;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
export declare namespace Variants {
|
|
1500
|
+
export {
|
|
1501
|
+
DEFAULT
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* Options for WebSocket connection management
|
|
1507
|
+
*/
|
|
1508
|
+
declare interface WebSocketOptions {
|
|
1509
|
+
/** Maximum number of reconnection attempts (default: 5) */
|
|
1510
|
+
maxReconnectAttempts?: number;
|
|
1511
|
+
/** Initial delay in ms before first reconnection attempt (default: 1000) */
|
|
1512
|
+
reconnectInitialDelay?: number;
|
|
1513
|
+
/** Exponential backoff factor for subsequent reconnect attempts (default: 2) */
|
|
1514
|
+
reconnectBackoffFactor?: number;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* WebSocket connection status
|
|
1519
|
+
*/
|
|
1520
|
+
declare type WebSocketStatus = "idle" | "connecting" | "open" | "closing" | "closed";
|
|
1521
|
+
|
|
1522
|
+
export { }
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
declare global {
|
|
1526
|
+
interface Window {
|
|
1527
|
+
fs: any;
|
|
1528
|
+
pfs: any;
|
|
1529
|
+
miDir: string;
|
|
1530
|
+
Buffer: typeof Buffer;
|
|
1531
|
+
ethers: any;
|
|
1532
|
+
MakeInfinite: any;
|
|
1533
|
+
ReactECharts: any;
|
|
1534
|
+
THREE: any;
|
|
1535
|
+
Radix: any;
|
|
1536
|
+
DreamspaceElements: any;
|
|
1537
|
+
Lucide: any;
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
declare namespace Calendar {
|
|
1543
|
+
var displayName: string;
|
|
1544
|
+
}
|