routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import type { Ref } from 'vue';
export interface DateFormatProps {
inputFormat?: string;
}
export declare const makeDateFormatProps: <Defaults extends {
inputFormat?: unknown;
} = {}>(defaults?: Defaults | undefined) => {
inputFormat: unknown extends Defaults["inputFormat"] ? {
type: StringConstructor;
validator: (v: string) => boolean;
} : Omit<{
type: StringConstructor;
validator: (v: string) => boolean;
}, "default" | "type"> & {
type: import("vue").PropType<unknown extends Defaults["inputFormat"] ? string : string | Defaults["inputFormat"]>;
default: unknown extends Defaults["inputFormat"] ? string : string | Defaults["inputFormat"];
};
};
export declare function useDateFormat(props: DateFormatProps, locale: Ref<string>): {
isValid: (text: string) => boolean;
parseDate: (dateString: string) => unknown;
formatDate: (value: unknown) => string;
parserFormat: Readonly<Ref<string, string>>;
};