@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
64 lines (63 loc) • 1.5 kB
TypeScript
import { TsxAllowUnknowProperties } from "..";
export interface IDatetimePickerFormatter {
/**
* Set the time picker mode
*/
timeformat?: string;
/**
* Set the time picker mode
*/
locale?: string;
/**
* Set the time picker mode
*/
firstdayofweek?: number;
}
export interface IDateTimePickerProperties {
/**
* Allows changing displayed month with mouse scroll
*/
scrollable?: boolean;
/**
* Allow changing the picker color
*/
color?: string;
/**
* Set the picker label
*/
label?: string;
/**
* Set if the picker is using filled style
* */
filled?: boolean;
/**
* Set the picker mode
*/
pickerMode?: "date-time" | "date" | "time";
isRequired?: boolean;
/**Vuetify single-line mode*/
singleLine?: boolean;
/**Vuetify hide-details mode*/
hideDetails?: boolean;
}
export interface IDateTimePicker extends IDateTimePickerProperties {
valueBind: string;
disabled?: boolean;
onValueChanged?: (model: string) => void;
formatter?: IDatetimePickerFormatter;
dark?: boolean;
description?: string;
}
declare global {
namespace VueTsxSupport.JSX {
interface Element {
}
interface ElementClass {
}
interface ElementAttributesProperty {
}
interface IntrinsicElements {
"omfx-date-time-picker": TsxAllowUnknowProperties<IDateTimePicker>;
}
}
}