Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
"use strict";
[58000] Fix | Delete
/* unused harmony export Role */
[58001] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useRole; });
[58002] Fix | Delete
/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
[58003] Fix | Delete
/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("dQ10");
[58004] Fix | Delete
/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1k9I");
[58005] Fix | Delete
/* harmony import */ var reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("PU+x");
[58006] Fix | Delete
[58007] Fix | Delete
[58008] Fix | Delete
[58009] Fix | Delete
[58010] Fix | Delete
[58011] Fix | Delete
// Automatically generated
[58012] Fix | Delete
var ROLE_KEYS = ["unstable_system"];
[58013] Fix | Delete
[58014] Fix | Delete
var useRole = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
[58015] Fix | Delete
name: "Role",
[58016] Fix | Delete
keys: ROLE_KEYS,
[58017] Fix | Delete
propsAreEqual: function propsAreEqual(prev, next) {
[58018] Fix | Delete
var prevSystem = prev.unstable_system,
[58019] Fix | Delete
prevProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(prev, ["unstable_system"]);
[58020] Fix | Delete
[58021] Fix | Delete
var nextSystem = next.unstable_system,
[58022] Fix | Delete
nextProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(next, ["unstable_system"]);
[58023] Fix | Delete
[58024] Fix | Delete
if (prevSystem !== nextSystem && !Object(reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__[/* shallowEqual */ "a"])(prevSystem, nextSystem)) {
[58025] Fix | Delete
return false;
[58026] Fix | Delete
}
[58027] Fix | Delete
[58028] Fix | Delete
return Object(reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__[/* shallowEqual */ "a"])(prevProps, nextProps);
[58029] Fix | Delete
}
[58030] Fix | Delete
});
[58031] Fix | Delete
var Role = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
[58032] Fix | Delete
as: "div",
[58033] Fix | Delete
useHook: useRole
[58034] Fix | Delete
});
[58035] Fix | Delete
[58036] Fix | Delete
[58037] Fix | Delete
[58038] Fix | Delete
[58039] Fix | Delete
/***/ }),
[58040] Fix | Delete
[58041] Fix | Delete
/***/ "zN8g":
[58042] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[58043] Fix | Delete
[58044] Fix | Delete
"use strict";
[58045] Fix | Delete
[58046] Fix | Delete
[58047] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[58048] Fix | Delete
value: true
[58049] Fix | Delete
});
[58050] Fix | Delete
[58051] Fix | Delete
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
[58052] Fix | Delete
[58053] Fix | Delete
var _object = __webpack_require__("Koq/");
[58054] Fix | Delete
[58055] Fix | Delete
var _object2 = _interopRequireDefault(_object);
[58056] Fix | Delete
[58057] Fix | Delete
var _react = __webpack_require__("cDcd");
[58058] Fix | Delete
[58059] Fix | Delete
var _react2 = _interopRequireDefault(_react);
[58060] Fix | Delete
[58061] Fix | Delete
var _propTypes = __webpack_require__("17x9");
[58062] Fix | Delete
[58063] Fix | Delete
var _propTypes2 = _interopRequireDefault(_propTypes);
[58064] Fix | Delete
[58065] Fix | Delete
var _airbnbPropTypes = __webpack_require__("Hsqg");
[58066] Fix | Delete
[58067] Fix | Delete
var _reactWithStyles = __webpack_require__("TG4+");
[58068] Fix | Delete
[58069] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[58070] Fix | Delete
[58071] Fix | Delete
var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
[58072] Fix | Delete
unicode: _propTypes2['default'].string.isRequired,
[58073] Fix | Delete
label: _propTypes2['default'].string.isRequired,
[58074] Fix | Delete
action: _propTypes2['default'].string.isRequired,
[58075] Fix | Delete
block: _propTypes2['default'].bool
[58076] Fix | Delete
}));
[58077] Fix | Delete
[58078] Fix | Delete
var defaultProps = {
[58079] Fix | Delete
block: false
[58080] Fix | Delete
};
[58081] Fix | Delete
[58082] Fix | Delete
function KeyboardShortcutRow(_ref) {
[58083] Fix | Delete
var unicode = _ref.unicode,
[58084] Fix | Delete
label = _ref.label,
[58085] Fix | Delete
action = _ref.action,
[58086] Fix | Delete
block = _ref.block,
[58087] Fix | Delete
styles = _ref.styles;
[58088] Fix | Delete
[58089] Fix | Delete
return _react2['default'].createElement(
[58090] Fix | Delete
'li',
[58091] Fix | Delete
(0, _reactWithStyles.css)(styles.KeyboardShortcutRow, block && styles.KeyboardShortcutRow__block),
[58092] Fix | Delete
_react2['default'].createElement(
[58093] Fix | Delete
'div',
[58094] Fix | Delete
(0, _reactWithStyles.css)(styles.KeyboardShortcutRow_keyContainer, block && styles.KeyboardShortcutRow_keyContainer__block),
[58095] Fix | Delete
_react2['default'].createElement(
[58096] Fix | Delete
'span',
[58097] Fix | Delete
_extends({}, (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_key), {
[58098] Fix | Delete
role: 'img',
[58099] Fix | Delete
'aria-label': String(label) + ',' // add comma so screen readers will pause before reading action
[58100] Fix | Delete
}),
[58101] Fix | Delete
unicode
[58102] Fix | Delete
)
[58103] Fix | Delete
),
[58104] Fix | Delete
_react2['default'].createElement(
[58105] Fix | Delete
'div',
[58106] Fix | Delete
(0, _reactWithStyles.css)(styles.KeyboardShortcutRow_action),
[58107] Fix | Delete
action
[58108] Fix | Delete
)
[58109] Fix | Delete
);
[58110] Fix | Delete
}
[58111] Fix | Delete
[58112] Fix | Delete
KeyboardShortcutRow.propTypes = propTypes;
[58113] Fix | Delete
KeyboardShortcutRow.defaultProps = defaultProps;
[58114] Fix | Delete
[58115] Fix | Delete
exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
[58116] Fix | Delete
var color = _ref2.reactDates.color;
[58117] Fix | Delete
return {
[58118] Fix | Delete
KeyboardShortcutRow: {
[58119] Fix | Delete
listStyle: 'none',
[58120] Fix | Delete
margin: '6px 0'
[58121] Fix | Delete
},
[58122] Fix | Delete
[58123] Fix | Delete
KeyboardShortcutRow__block: {
[58124] Fix | Delete
marginBottom: 16
[58125] Fix | Delete
},
[58126] Fix | Delete
[58127] Fix | Delete
KeyboardShortcutRow_keyContainer: {
[58128] Fix | Delete
display: 'inline-block',
[58129] Fix | Delete
whiteSpace: 'nowrap',
[58130] Fix | Delete
textAlign: 'right',
[58131] Fix | Delete
marginRight: 6
[58132] Fix | Delete
},
[58133] Fix | Delete
[58134] Fix | Delete
KeyboardShortcutRow_keyContainer__block: {
[58135] Fix | Delete
textAlign: 'left',
[58136] Fix | Delete
display: 'inline'
[58137] Fix | Delete
},
[58138] Fix | Delete
[58139] Fix | Delete
KeyboardShortcutRow_key: {
[58140] Fix | Delete
fontFamily: 'monospace',
[58141] Fix | Delete
fontSize: 12,
[58142] Fix | Delete
textTransform: 'uppercase',
[58143] Fix | Delete
background: color.core.grayLightest,
[58144] Fix | Delete
padding: '2px 6px'
[58145] Fix | Delete
},
[58146] Fix | Delete
[58147] Fix | Delete
KeyboardShortcutRow_action: {
[58148] Fix | Delete
display: 'inline',
[58149] Fix | Delete
wordBreak: 'break-word',
[58150] Fix | Delete
marginLeft: 8
[58151] Fix | Delete
}
[58152] Fix | Delete
};
[58153] Fix | Delete
})(KeyboardShortcutRow);
[58154] Fix | Delete
[58155] Fix | Delete
/***/ }),
[58156] Fix | Delete
[58157] Fix | Delete
/***/ "zTEx":
[58158] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[58159] Fix | Delete
[58160] Fix | Delete
"use strict";
[58161] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ToolbarItem; });
[58162] Fix | Delete
/* unused harmony export useToolbarItem */
[58163] Fix | Delete
/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dQ10");
[58164] Fix | Delete
/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1k9I");
[58165] Fix | Delete
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("cDcd");
[58166] Fix | Delete
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
[58167] Fix | Delete
/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("FyLM");
[58168] Fix | Delete
/* harmony import */ var _Composite_CompositeItem_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("kTC8");
[58169] Fix | Delete
/* harmony import */ var _keys_ae468c11_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("mjVI");
[58170] Fix | Delete
[58171] Fix | Delete
[58172] Fix | Delete
[58173] Fix | Delete
[58174] Fix | Delete
[58175] Fix | Delete
[58176] Fix | Delete
[58177] Fix | Delete
[58178] Fix | Delete
[58179] Fix | Delete
[58180] Fix | Delete
[58181] Fix | Delete
[58182] Fix | Delete
[58183] Fix | Delete
[58184] Fix | Delete
[58185] Fix | Delete
[58186] Fix | Delete
[58187] Fix | Delete
[58188] Fix | Delete
[58189] Fix | Delete
[58190] Fix | Delete
[58191] Fix | Delete
[58192] Fix | Delete
[58193] Fix | Delete
[58194] Fix | Delete
[58195] Fix | Delete
[58196] Fix | Delete
[58197] Fix | Delete
[58198] Fix | Delete
[58199] Fix | Delete
[58200] Fix | Delete
[58201] Fix | Delete
var useToolbarItem = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_1__[/* createHook */ "a"])({
[58202] Fix | Delete
name: "ToolbarItem",
[58203] Fix | Delete
compose: _Composite_CompositeItem_js__WEBPACK_IMPORTED_MODULE_4__[/* useCompositeItem */ "b"],
[58204] Fix | Delete
keys: _keys_ae468c11_js__WEBPACK_IMPORTED_MODULE_5__[/* a */ "b"]
[58205] Fix | Delete
});
[58206] Fix | Delete
var ToolbarItem = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_0__[/* createComponent */ "a"])({
[58207] Fix | Delete
as: "button",
[58208] Fix | Delete
memo: true,
[58209] Fix | Delete
useHook: useToolbarItem
[58210] Fix | Delete
});
[58211] Fix | Delete
[58212] Fix | Delete
[58213] Fix | Delete
[58214] Fix | Delete
[58215] Fix | Delete
/***/ }),
[58216] Fix | Delete
[58217] Fix | Delete
/***/ "zYbv":
[58218] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[58219] Fix | Delete
[58220] Fix | Delete
"use strict";
[58221] Fix | Delete
[58222] Fix | Delete
[58223] Fix | Delete
var assertRecord = __webpack_require__("10Kj");
[58224] Fix | Delete
[58225] Fix | Delete
var Type = __webpack_require__("V1cy");
[58226] Fix | Delete
[58227] Fix | Delete
// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
[58228] Fix | Delete
[58229] Fix | Delete
module.exports = function FromPropertyDescriptor(Desc) {
[58230] Fix | Delete
if (typeof Desc === 'undefined') {
[58231] Fix | Delete
return Desc;
[58232] Fix | Delete
}
[58233] Fix | Delete
[58234] Fix | Delete
assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
[58235] Fix | Delete
[58236] Fix | Delete
var obj = {};
[58237] Fix | Delete
if ('[[Value]]' in Desc) {
[58238] Fix | Delete
obj.value = Desc['[[Value]]'];
[58239] Fix | Delete
}
[58240] Fix | Delete
if ('[[Writable]]' in Desc) {
[58241] Fix | Delete
obj.writable = Desc['[[Writable]]'];
[58242] Fix | Delete
}
[58243] Fix | Delete
if ('[[Get]]' in Desc) {
[58244] Fix | Delete
obj.get = Desc['[[Get]]'];
[58245] Fix | Delete
}
[58246] Fix | Delete
if ('[[Set]]' in Desc) {
[58247] Fix | Delete
obj.set = Desc['[[Set]]'];
[58248] Fix | Delete
}
[58249] Fix | Delete
if ('[[Enumerable]]' in Desc) {
[58250] Fix | Delete
obj.enumerable = Desc['[[Enumerable]]'];
[58251] Fix | Delete
}
[58252] Fix | Delete
if ('[[Configurable]]' in Desc) {
[58253] Fix | Delete
obj.configurable = Desc['[[Configurable]]'];
[58254] Fix | Delete
}
[58255] Fix | Delete
return obj;
[58256] Fix | Delete
};
[58257] Fix | Delete
[58258] Fix | Delete
[58259] Fix | Delete
/***/ }),
[58260] Fix | Delete
[58261] Fix | Delete
/***/ "zfJ5":
[58262] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[58263] Fix | Delete
[58264] Fix | Delete
"use strict";
[58265] Fix | Delete
[58266] Fix | Delete
[58267] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[58268] Fix | Delete
value: true
[58269] Fix | Delete
});
[58270] Fix | Delete
[58271] Fix | Delete
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
[58272] Fix | Delete
[58273] Fix | Delete
var _object = __webpack_require__("Koq/");
[58274] Fix | Delete
[58275] Fix | Delete
var _object2 = _interopRequireDefault(_object);
[58276] Fix | Delete
[58277] Fix | Delete
var _react = __webpack_require__("cDcd");
[58278] Fix | Delete
[58279] Fix | Delete
var _react2 = _interopRequireDefault(_react);
[58280] Fix | Delete
[58281] Fix | Delete
var _propTypes = __webpack_require__("17x9");
[58282] Fix | Delete
[58283] Fix | Delete
var _propTypes2 = _interopRequireDefault(_propTypes);
[58284] Fix | Delete
[58285] Fix | Delete
var _airbnbPropTypes = __webpack_require__("Hsqg");
[58286] Fix | Delete
[58287] Fix | Delete
var _reactWithStyles = __webpack_require__("TG4+");
[58288] Fix | Delete
[58289] Fix | Delete
var _defaultPhrases = __webpack_require__("vV+G");
[58290] Fix | Delete
[58291] Fix | Delete
var _getPhrasePropTypes = __webpack_require__("yc2e");
[58292] Fix | Delete
[58293] Fix | Delete
var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
[58294] Fix | Delete
[58295] Fix | Delete
var _LeftArrow = __webpack_require__("0XP8");
[58296] Fix | Delete
[58297] Fix | Delete
var _LeftArrow2 = _interopRequireDefault(_LeftArrow);
[58298] Fix | Delete
[58299] Fix | Delete
var _RightArrow = __webpack_require__("gZI3");
[58300] Fix | Delete
[58301] Fix | Delete
var _RightArrow2 = _interopRequireDefault(_RightArrow);
[58302] Fix | Delete
[58303] Fix | Delete
var _ChevronUp = __webpack_require__("9gmn");
[58304] Fix | Delete
[58305] Fix | Delete
var _ChevronUp2 = _interopRequireDefault(_ChevronUp);
[58306] Fix | Delete
[58307] Fix | Delete
var _ChevronDown = __webpack_require__("DHWS");
[58308] Fix | Delete
[58309] Fix | Delete
var _ChevronDown2 = _interopRequireDefault(_ChevronDown);
[58310] Fix | Delete
[58311] Fix | Delete
var _ScrollableOrientationShape = __webpack_require__("aE6U");
[58312] Fix | Delete
[58313] Fix | Delete
var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);
[58314] Fix | Delete
[58315] Fix | Delete
var _constants = __webpack_require__("Fv1B");
[58316] Fix | Delete
[58317] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[58318] Fix | Delete
[58319] Fix | Delete
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
[58320] Fix | Delete
[58321] Fix | Delete
var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
[58322] Fix | Delete
navPrev: _propTypes2['default'].node,
[58323] Fix | Delete
navNext: _propTypes2['default'].node,
[58324] Fix | Delete
orientation: _ScrollableOrientationShape2['default'],
[58325] Fix | Delete
[58326] Fix | Delete
onPrevMonthClick: _propTypes2['default'].func,
[58327] Fix | Delete
onNextMonthClick: _propTypes2['default'].func,
[58328] Fix | Delete
[58329] Fix | Delete
// internationalization
[58330] Fix | Delete
phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerNavigationPhrases)),
[58331] Fix | Delete
[58332] Fix | Delete
isRTL: _propTypes2['default'].bool
[58333] Fix | Delete
}));
[58334] Fix | Delete
[58335] Fix | Delete
var defaultProps = {
[58336] Fix | Delete
navPrev: null,
[58337] Fix | Delete
navNext: null,
[58338] Fix | Delete
orientation: _constants.HORIZONTAL_ORIENTATION,
[58339] Fix | Delete
[58340] Fix | Delete
onPrevMonthClick: function () {
[58341] Fix | Delete
function onPrevMonthClick() {}
[58342] Fix | Delete
[58343] Fix | Delete
return onPrevMonthClick;
[58344] Fix | Delete
}(),
[58345] Fix | Delete
onNextMonthClick: function () {
[58346] Fix | Delete
function onNextMonthClick() {}
[58347] Fix | Delete
[58348] Fix | Delete
return onNextMonthClick;
[58349] Fix | Delete
}(),
[58350] Fix | Delete
[58351] Fix | Delete
[58352] Fix | Delete
// internationalization
[58353] Fix | Delete
phrases: _defaultPhrases.DayPickerNavigationPhrases,
[58354] Fix | Delete
isRTL: false
[58355] Fix | Delete
};
[58356] Fix | Delete
[58357] Fix | Delete
function DayPickerNavigation(_ref) {
[58358] Fix | Delete
var navPrev = _ref.navPrev,
[58359] Fix | Delete
navNext = _ref.navNext,
[58360] Fix | Delete
onPrevMonthClick = _ref.onPrevMonthClick,
[58361] Fix | Delete
onNextMonthClick = _ref.onNextMonthClick,
[58362] Fix | Delete
orientation = _ref.orientation,
[58363] Fix | Delete
phrases = _ref.phrases,
[58364] Fix | Delete
isRTL = _ref.isRTL,
[58365] Fix | Delete
styles = _ref.styles;
[58366] Fix | Delete
[58367] Fix | Delete
var isHorizontal = orientation === _constants.HORIZONTAL_ORIENTATION;
[58368] Fix | Delete
var isVertical = orientation !== _constants.HORIZONTAL_ORIENTATION;
[58369] Fix | Delete
var isVerticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;
[58370] Fix | Delete
[58371] Fix | Delete
var navPrevIcon = navPrev;
[58372] Fix | Delete
var navNextIcon = navNext;
[58373] Fix | Delete
var isDefaultNavPrev = false;
[58374] Fix | Delete
var isDefaultNavNext = false;
[58375] Fix | Delete
if (!navPrevIcon) {
[58376] Fix | Delete
isDefaultNavPrev = true;
[58377] Fix | Delete
var Icon = isVertical ? _ChevronUp2['default'] : _LeftArrow2['default'];
[58378] Fix | Delete
if (isRTL && !isVertical) {
[58379] Fix | Delete
Icon = _RightArrow2['default'];
[58380] Fix | Delete
}
[58381] Fix | Delete
navPrevIcon = _react2['default'].createElement(Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical));
[58382] Fix | Delete
}
[58383] Fix | Delete
[58384] Fix | Delete
if (!navNextIcon) {
[58385] Fix | Delete
isDefaultNavNext = true;
[58386] Fix | Delete
var _Icon = isVertical ? _ChevronDown2['default'] : _RightArrow2['default'];
[58387] Fix | Delete
if (isRTL && !isVertical) {
[58388] Fix | Delete
_Icon = _LeftArrow2['default'];
[58389] Fix | Delete
}
[58390] Fix | Delete
navNextIcon = _react2['default'].createElement(_Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical));
[58391] Fix | Delete
}
[58392] Fix | Delete
[58393] Fix | Delete
var isDefaultNav = isVerticalScrollable ? isDefaultNavNext : isDefaultNavNext || isDefaultNavPrev;
[58394] Fix | Delete
[58395] Fix | Delete
return _react2['default'].createElement(
[58396] Fix | Delete
'div',
[58397] Fix | Delete
_reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation, isHorizontal && styles.DayPickerNavigation__horizontal].concat(_toConsumableArray(isVertical && [styles.DayPickerNavigation__vertical, isDefaultNav && styles.DayPickerNavigation__verticalDefault]), _toConsumableArray(isVerticalScrollable && [styles.DayPickerNavigation__verticalScrollable, isDefaultNav && styles.DayPickerNavigation__verticalScrollableDefault]))),
[58398] Fix | Delete
!isVerticalScrollable && _react2['default'].createElement(
[58399] Fix | Delete
'div',
[58400] Fix | Delete
_extends({
[58401] Fix | Delete
role: 'button',
[58402] Fix | Delete
tabIndex: '0'
[58403] Fix | Delete
}, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavPrev && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__horizontalDefault, !isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_prevButton__verticalDefault]))))), {
[58404] Fix | Delete
'aria-label': phrases.jumpToPrevMonth,
[58405] Fix | Delete
onClick: onPrevMonthClick,
[58406] Fix | Delete
onKeyUp: function () {
[58407] Fix | Delete
function onKeyUp(e) {
[58408] Fix | Delete
var key = e.key;
[58409] Fix | Delete
[58410] Fix | Delete
if (key === 'Enter' || key === ' ') onPrevMonthClick(e);
[58411] Fix | Delete
}
[58412] Fix | Delete
[58413] Fix | Delete
return onKeyUp;
[58414] Fix | Delete
}(),
[58415] Fix | Delete
onMouseUp: function () {
[58416] Fix | Delete
function onMouseUp(e) {
[58417] Fix | Delete
e.currentTarget.blur();
[58418] Fix | Delete
}
[58419] Fix | Delete
[58420] Fix | Delete
return onMouseUp;
[58421] Fix | Delete
}()
[58422] Fix | Delete
}),
[58423] Fix | Delete
navPrevIcon
[58424] Fix | Delete
),
[58425] Fix | Delete
_react2['default'].createElement(
[58426] Fix | Delete
'div',
[58427] Fix | Delete
_extends({
[58428] Fix | Delete
role: 'button',
[58429] Fix | Delete
tabIndex: '0'
[58430] Fix | Delete
}, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavNext && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__horizontalDefault, isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, !isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical, styles.DayPickerNavigation_nextButton__vertical].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_nextButton__verticalDefault, isVerticalScrollable && styles.DayPickerNavigation_nextButton__verticalScrollableDefault]))))), {
[58431] Fix | Delete
'aria-label': phrases.jumpToNextMonth,
[58432] Fix | Delete
onClick: onNextMonthClick,
[58433] Fix | Delete
onKeyUp: function () {
[58434] Fix | Delete
function onKeyUp(e) {
[58435] Fix | Delete
var key = e.key;
[58436] Fix | Delete
[58437] Fix | Delete
if (key === 'Enter' || key === ' ') onNextMonthClick(e);
[58438] Fix | Delete
}
[58439] Fix | Delete
[58440] Fix | Delete
return onKeyUp;
[58441] Fix | Delete
}(),
[58442] Fix | Delete
onMouseUp: function () {
[58443] Fix | Delete
function onMouseUp(e) {
[58444] Fix | Delete
e.currentTarget.blur();
[58445] Fix | Delete
}
[58446] Fix | Delete
[58447] Fix | Delete
return onMouseUp;
[58448] Fix | Delete
}()
[58449] Fix | Delete
}),
[58450] Fix | Delete
navNextIcon
[58451] Fix | Delete
)
[58452] Fix | Delete
);
[58453] Fix | Delete
}
[58454] Fix | Delete
[58455] Fix | Delete
DayPickerNavigation.propTypes = propTypes;
[58456] Fix | Delete
DayPickerNavigation.defaultProps = defaultProps;
[58457] Fix | Delete
[58458] Fix | Delete
exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
[58459] Fix | Delete
var _ref2$reactDates = _ref2.reactDates,
[58460] Fix | Delete
color = _ref2$reactDates.color,
[58461] Fix | Delete
zIndex = _ref2$reactDates.zIndex;
[58462] Fix | Delete
return {
[58463] Fix | Delete
DayPickerNavigation: {
[58464] Fix | Delete
position: 'relative',
[58465] Fix | Delete
zIndex: zIndex + 2
[58466] Fix | Delete
},
[58467] Fix | Delete
[58468] Fix | Delete
DayPickerNavigation__horizontal: {
[58469] Fix | Delete
height: 0
[58470] Fix | Delete
},
[58471] Fix | Delete
[58472] Fix | Delete
DayPickerNavigation__vertical: {},
[58473] Fix | Delete
DayPickerNavigation__verticalScrollable: {},
[58474] Fix | Delete
[58475] Fix | Delete
DayPickerNavigation__verticalDefault: {
[58476] Fix | Delete
position: 'absolute',
[58477] Fix | Delete
width: '100%',
[58478] Fix | Delete
height: 52,
[58479] Fix | Delete
bottom: 0,
[58480] Fix | Delete
left: 0
[58481] Fix | Delete
},
[58482] Fix | Delete
[58483] Fix | Delete
DayPickerNavigation__verticalScrollableDefault: {
[58484] Fix | Delete
position: 'relative'
[58485] Fix | Delete
},
[58486] Fix | Delete
[58487] Fix | Delete
DayPickerNavigation_button: {
[58488] Fix | Delete
cursor: 'pointer',
[58489] Fix | Delete
userSelect: 'none',
[58490] Fix | Delete
border: 0,
[58491] Fix | Delete
padding: 0,
[58492] Fix | Delete
margin: 0
[58493] Fix | Delete
},
[58494] Fix | Delete
[58495] Fix | Delete
DayPickerNavigation_button__default: {
[58496] Fix | Delete
border: '1px solid ' + String(color.core.borderLight),
[58497] Fix | Delete
backgroundColor: color.background,
[58498] Fix | Delete
color: color.placeholderText,
[58499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function