UNPKG

wcz-layout

Version:

96 lines 4.51 kB
import { t as FileMeta } from "./FileMeta-Be9viU7D.mjs"; import { a as AggregatedCell, f as FilterOperator, h as TableFilterVariant, m as TableFilterOption, n as LayoutTableProps, o as RowAction, p as LayoutColumnMeta, t as LayoutTable } from "./LayoutTable-4DLs-NI-.mjs"; import { BoxProps, ButtonProps, FabProps, IconButtonProps, LinkProps, ListItemButtonProps, SxProps, TabProps, Theme } from "@mui/material"; import React$1, { ComponentType, FC, ReactNode } from "react"; import * as z$2 from "zod"; import { ErrorComponentProps, LinkComponent } from "@tanstack/react-router"; import { DropzoneOptions } from "react-dropzone"; //#region src/components/core/account/LoginForm.d.ts /** * The provider chooser card. Mount it at `/login` — `requireAuth` redirects there, * and it reads `?returnTo` from the URL itself, so it takes no props. */ export declare const LoginForm: FC; //#endregion //#region src/components/core/Fullscreen.d.ts export declare const Fullscreen: FC<BoxProps>; //#endregion //#region src/components/file/Dropzone.d.ts interface DropzoneProps extends DropzoneOptions { sx?: SxProps<Theme>; progress?: number; } export declare const Dropzone: FC<DropzoneProps>; //#endregion //#region src/models/file/FileActions.d.ts declare const FileActionsSchema: z$2.ZodObject<{ download: z$2.ZodOptional<z$2.ZodBoolean>; delete: z$2.ZodOptional<z$2.ZodBoolean>; }, z$2.core.$strip>; type FileActions = z$2.infer<typeof FileActionsSchema>; //#endregion //#region src/components/file/fileViewer/FileViewerGrid.d.ts type FileViewerGridItemBar = "hidden" | "always" | "onMouseEnter"; interface FileViewerGridProps { size?: number; itemBar?: FileViewerGridItemBar; sx?: SxProps<Theme>; } //#endregion //#region src/components/file/fileViewer/FileViewerList.d.ts interface FileViewerListProps { sx?: SxProps<Theme>; } //#endregion //#region src/components/file/FileViewer.d.ts interface FileViewerComponent { Grid: ComponentType<FileViewerGridProps>; List: ComponentType<FileViewerListProps>; } interface FileViewerProps { appName: string; subId: string; onDelete?: (params: { remainingFileMetas: Array<FileMeta>; deletedFileMeta: FileMeta; }) => void; actions?: FileActions; children: (component: FileViewerComponent) => ReactNode; } export declare const FileViewer: FC<FileViewerProps>; //#endregion //#region src/components/router/RouterButton.d.ts declare const Component$5: React$1.ForwardRefExoticComponent<Omit<ButtonProps<"a">, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>; export declare const RouterButton: LinkComponent<typeof Component$5>; //#endregion //#region src/components/router/RouterFab.d.ts declare const Component$4: React$1.ForwardRefExoticComponent<Omit<FabProps<"a">, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>; export declare const RouterFab: LinkComponent<typeof Component$4>; //#endregion //#region src/components/router/RouterIconButton.d.ts declare const Component$3: React$1.ForwardRefExoticComponent<Omit<IconButtonProps<"a">, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>; export declare const RouterIconButton: LinkComponent<typeof Component$3>; //#endregion //#region src/components/router/RouterLink.d.ts declare const Component$2: React$1.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>; export declare const RouterLink: LinkComponent<typeof Component$2>; //#endregion //#region src/components/router/RouterTab.d.ts declare const Component$1: React$1.ForwardRefExoticComponent<Omit<TabProps<"a">, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>; export declare const RouterTab: LinkComponent<typeof Component$1>; //#endregion //#region src/components/router/RouterListItemButton.d.ts declare const Component: React$1.ForwardRefExoticComponent<Omit<ListItemButtonProps<"a">, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>; export declare const RouterListItemButton: LinkComponent<typeof Component>; //#endregion //#region src/components/router/RouterNotFound.d.ts export declare function RouterNotFound(): import("react").JSX.Element; //#endregion //#region src/components/router/RouterError.d.ts interface RouterErrorProps { error: ErrorComponentProps["error"]; } export declare const RouterError: FC<RouterErrorProps>; //#endregion export { AggregatedCell, type FilterOperator, type LayoutColumnMeta, LayoutTable, type LayoutTableProps, type RowAction, type TableFilterOption, type TableFilterVariant }; //# sourceMappingURL=components.d.mts.map