UNPKG

radix-vue

Version:

Vue port for Radix UI Primitives.

11 lines (10 loc) 991 B
import { DateSegmentPart, EditableSegmentPart, SegmentPart } from './types'; export declare const DATE_SEGMENT_PARTS: readonly ["day", "month", "year"]; export declare const TIME_SEGMENT_PARTS: readonly ["hour", "minute", "second", "dayPeriod"]; export declare const NON_EDITABLE_SEGMENT_PARTS: readonly ["literal", "timeZoneName"]; export declare const EDITABLE_SEGMENT_PARTS: readonly ["day", "month", "year", "hour", "minute", "second", "dayPeriod"]; export declare const ALL_SEGMENT_PARTS: readonly ["day", "month", "year", "hour", "minute", "second", "dayPeriod", "literal", "timeZoneName"]; export declare const ALL_EXCEPT_LITERAL_PARTS: ("day" | "hour" | "minute" | "second" | "month" | "year" | "dayPeriod" | "literal" | "timeZoneName")[]; export declare function isDateSegmentPart(part: unknown): part is DateSegmentPart; export declare function isSegmentPart(part: string): part is EditableSegmentPart; export declare function isAnySegmentPart(part: unknown): part is SegmentPart;