UNPKG

@uplink-protocol/calendar-controller

Version:

Flexible calendar and time picker API supporting both calendar, date-picker, and time-picker integrations for any JavaScript framework or library

156 lines (78 loc) 5.09 kB
[**@uplink-protocol/form-controller v0.3.1**](../README.md) *** [@uplink-protocol/form-controller](../globals.md) / TimeState # Interface: TimeState Defined in: [Time/types/time-controller.types.ts:344](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L344) Time State - Complete state interface ## Properties ### currentTime > **currentTime**: `Date` Defined in: [Time/types/time-controller.types.ts:349](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L349) *** ### disabledHours > **disabledHours**: `number`[] Defined in: [Time/types/time-controller.types.ts:360](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L360) *** ### disabledMinutes > **disabledMinutes**: `number`[] Defined in: [Time/types/time-controller.types.ts:361](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L361) *** ### disabledSeconds > **disabledSeconds**: `number`[] Defined in: [Time/types/time-controller.types.ts:362](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L362) *** ### disabledTimes > **disabledTimes**: `Date`[] Defined in: [Time/types/time-controller.types.ts:359](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L359) *** ### focusedSegment > **focusedSegment**: `"hours"` \| `"minutes"` \| `"seconds"` \| `"milliseconds"` \| `"period"` \| `null` Defined in: [Time/types/time-controller.types.ts:347](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L347) *** ### formattedTime > **formattedTime**: `string` Defined in: [Time/types/time-controller.types.ts:350](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L350) *** ### isRangeSelection > **isRangeSelection**: `boolean` Defined in: [Time/types/time-controller.types.ts:348](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L348) *** ### locale > **locale**: `string` Defined in: [Time/types/time-controller.types.ts:356](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L356) *** ### maxTime > **maxTime**: `Date` \| `null` Defined in: [Time/types/time-controller.types.ts:358](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L358) *** ### minTime > **minTime**: `Date` \| `null` Defined in: [Time/types/time-controller.types.ts:357](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L357) *** ### minuteStep > **minuteStep**: `number` Defined in: [Time/types/time-controller.types.ts:354](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L354) *** ### secondStep > **secondStep**: `number` Defined in: [Time/types/time-controller.types.ts:355](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L355) *** ### selectedTime > **selectedTime**: `Date` \| `null` Defined in: [Time/types/time-controller.types.ts:345](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L345) *** ### selectedTimeRange > **selectedTimeRange**: [`TimeRange`](TimeRange.md) Defined in: [Time/types/time-controller.types.ts:346](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L346) *** ### showMilliseconds > **showMilliseconds**: `boolean` Defined in: [Time/types/time-controller.types.ts:353](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L353) *** ### showSeconds > **showSeconds**: `boolean` Defined in: [Time/types/time-controller.types.ts:352](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L352) *** ### use12HourFormat > **use12HourFormat**: `boolean` Defined in: [Time/types/time-controller.types.ts:351](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Time/types/time-controller.types.ts#L351)