wcz-layout
Version:
56 lines • 1.57 kB
TypeScript
import { t as User } from "./User-B92WOpE2.js";
import { permissions } from "virtual:wcz-layout";
//#region src/lib/utils.d.ts
declare const WISTRON_PRIMARY_COLOR = "#00506E";
declare const WISTRON_SECONDARY_COLOR = "#64DC00";
declare class Platform {
static get isAndroid(): boolean;
static get isIOS(): boolean;
static get isWindows(): boolean;
static get isMacOS(): boolean;
private static get userAgent();
}
interface RootRouteHeadOptions {
manifest?: string;
}
declare const rootRouteHead: (options?: RootRouteHeadOptions) => {
meta: ({
charSet: string;
name?: undefined;
content?: undefined;
title?: undefined;
} | {
name: string;
content: string;
charSet?: undefined;
title?: undefined;
} | {
title: string;
charSet?: undefined;
name?: undefined;
content?: undefined;
})[];
links: ({
rel: string;
sizes: string;
href: string;
type?: undefined;
} | {
rel: string;
type: string;
sizes: string;
href: string;
} | {
rel: string;
href: string;
sizes?: undefined;
type?: undefined;
})[];
};
declare const requirePermission: (permissionKey: keyof typeof permissions) => () => Promise<{
user: User;
}>;
type FormOmittedProps = "name" | "value" | "onChange" | "onBlur" | "error" | "helperText" | "renderInput" | "type" | "aria-label";
//#endregion
export { requirePermission as a, WISTRON_SECONDARY_COLOR as i, Platform as n, rootRouteHead as o, WISTRON_PRIMARY_COLOR as r, FormOmittedProps as t };
//# sourceMappingURL=utils-BM8-Efdl.d.ts.map