Initial project upload

This commit is contained in:
Mohamed Mathar Irfan
2026-07-28 17:57:02 +05:30
commit ed6610d5d8
23919 changed files with 3003316 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
import * as react_jsx_runtime from 'react/jsx-runtime';
import { Props as Props$1 } from 'react-select';
type ICustomTimezone = {
[key: string]: string;
};
type ILabelStyle = "original" | "altName" | "abbrev" | "offsetHidden";
type IDisplayValue = "GMT" | "UTC";
type ITimezoneOption = {
value: string;
label: string;
abbrev?: string;
altName?: string;
offset?: number;
searchTerms?: string;
};
type ITimezone = ITimezoneOption | string;
type TimezoneSelectOptions = {
labelStyle?: ILabelStyle;
displayValue?: IDisplayValue;
timezones?: ICustomTimezone;
currentDatetime?: Date | string;
};
type Props = Omit<Props$1<ITimezone>, "onChange"> & TimezoneSelectOptions & {
value: ITimezone;
onChange?: (timezone: ITimezoneOption) => void;
};
declare const allTimezones: ICustomTimezone;
declare function useTimezoneSelect({ timezones, labelStyle, displayValue, currentDatetime, }: TimezoneSelectOptions): {
parseTimezone: (zone: ITimezone) => ITimezoneOption;
options: ITimezoneOption[];
filterOption: (option: {
label: string;
value: string;
data: ITimezone;
}, inputValue: string) => boolean;
};
declare const TimezoneSelect: ({ value, onBlur, onChange, labelStyle, displayValue, timezones, currentDatetime, ...props }: Props) => react_jsx_runtime.JSX.Element;
export { type ILabelStyle, type ITimezone, type ITimezoneOption, type Props, type TimezoneSelectOptions, allTimezones, TimezoneSelect as default, useTimezoneSelect };