UNPKG

@renderlesskit/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

41 lines (33 loc) 5.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.USE_TIME_PICKER_STATE_KEYS = exports.TIME_PICKER_TRIGGER_KEYS = exports.TIME_PICKER_STATE_KEYS = exports.TIME_PICKER_SEGMENT_KEYS = exports.TIME_PICKER_SEGMENT_FIELD_KEYS = exports.TIME_PICKER_KEYS = exports.TIME_PICKER_CONTENT_KEYS = exports.TIME_PICKER_COLUMN_VALUE_KEYS = exports.TIME_PICKER_COLUMN_STATE_KEYS = exports.TIME_PICKER_COLUMN_KEYS = void 0; function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } // Automatically generated var TIME_PICKER_COLUMN_STATE_KEYS = ["up", "down", "baseId", "unstable_idCountRef", "setBaseId", "unstable_virtual", "rtl", "orientation", "items", "groups", "currentId", "loop", "wrap", "shift", "unstable_moves", "unstable_hasActiveWidget", "unstable_includesBaseElement", "registerItem", "unregisterItem", "registerGroup", "unregisterGroup", "move", "next", "previous", "first", "last", "sort", "unstable_setVirtual", "setRTL", "setOrientation", "setCurrentId", "setLoop", "setWrap", "setShift", "reset", "unstable_setIncludesBaseElement", "unstable_setHasActiveWidget", "popover", "date", "selected", "setSelected", "visible", "columnType", "restoreOldTime", "updateOldTime"]; exports.TIME_PICKER_COLUMN_STATE_KEYS = TIME_PICKER_COLUMN_STATE_KEYS; var USE_TIME_PICKER_STATE_KEYS = ["baseId", "visible", "animated", "modal", "placement", "unstable_fixed", "unstable_flip", "unstable_offset", "gutter", "unstable_preventOverflow", "isDisabled", "isReadOnly", "pickerId", "dialogId", "segmentFocus", "value", "defaultValue", "onChange", "formatOptions", "placeholderDate", "autoFocus"]; exports.USE_TIME_PICKER_STATE_KEYS = USE_TIME_PICKER_STATE_KEYS; var TIME_PICKER_STATE_KEYS = ["fieldValue", "setFieldValue", "segments", "dateFormatter", "increment", "decrement", "incrementPage", "decrementPage", "setSegment", "confirmPlaceholder", "baseId", "unstable_idCountRef", "setBaseId", "unstable_virtual", "rtl", "orientation", "items", "groups", "currentId", "loop", "wrap", "shift", "unstable_moves", "unstable_hasActiveWidget", "unstable_includesBaseElement", "registerItem", "unregisterItem", "registerGroup", "unregisterGroup", "move", "next", "previous", "up", "down", "first", "last", "sort", "unstable_setVirtual", "setRTL", "setOrientation", "setCurrentId", "setLoop", "setWrap", "setShift", "reset", "unstable_setIncludesBaseElement", "unstable_setHasActiveWidget", "visible", "animated", "animating", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "modal", "unstable_disclosureRef", "setModal", "unstable_referenceRef", "unstable_popoverRef", "unstable_arrowRef", "unstable_popoverStyles", "unstable_arrowStyles", "unstable_originalPlacement", "unstable_update", "placement", "place", "pickerId", "dialogId", "isDisabled", "isReadOnly", "segmentFocus", "time", "hours", "minutes", "meridies", "hourState", "minuteState", "meridiesState"]; exports.TIME_PICKER_STATE_KEYS = TIME_PICKER_STATE_KEYS; var TIME_PICKER_KEYS = [].concat(TIME_PICKER_COLUMN_STATE_KEYS, TIME_PICKER_STATE_KEYS); exports.TIME_PICKER_KEYS = TIME_PICKER_KEYS; var TIME_PICKER_COLUMN_KEYS = TIME_PICKER_KEYS; exports.TIME_PICKER_COLUMN_KEYS = TIME_PICKER_COLUMN_KEYS; var TIME_PICKER_COLUMN_VALUE_KEYS = [].concat(_toConsumableArray(TIME_PICKER_COLUMN_KEYS), ["value"]); exports.TIME_PICKER_COLUMN_VALUE_KEYS = TIME_PICKER_COLUMN_VALUE_KEYS; var TIME_PICKER_CONTENT_KEYS = TIME_PICKER_COLUMN_KEYS; exports.TIME_PICKER_CONTENT_KEYS = TIME_PICKER_CONTENT_KEYS; var TIME_PICKER_SEGMENT_KEYS = TIME_PICKER_CONTENT_KEYS; exports.TIME_PICKER_SEGMENT_KEYS = TIME_PICKER_SEGMENT_KEYS; var TIME_PICKER_SEGMENT_FIELD_KEYS = TIME_PICKER_SEGMENT_KEYS; exports.TIME_PICKER_SEGMENT_FIELD_KEYS = TIME_PICKER_SEGMENT_FIELD_KEYS; var TIME_PICKER_TRIGGER_KEYS = TIME_PICKER_SEGMENT_FIELD_KEYS; exports.TIME_PICKER_TRIGGER_KEYS = TIME_PICKER_TRIGGER_KEYS; //# sourceMappingURL=__keys.js.map