Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
CalendarDay__blocked_calendar: {
[8500] Fix | Delete
background: color.blocked_calendar.backgroundColor,
[8501] Fix | Delete
border: '1px solid ' + String(color.blocked_calendar.borderColor),
[8502] Fix | Delete
color: color.blocked_calendar.color,
[8503] Fix | Delete
[8504] Fix | Delete
':hover': {
[8505] Fix | Delete
background: color.blocked_calendar.backgroundColor_hover,
[8506] Fix | Delete
border: '1px solid ' + String(color.blocked_calendar.borderColor),
[8507] Fix | Delete
color: color.blocked_calendar.color_active
[8508] Fix | Delete
},
[8509] Fix | Delete
[8510] Fix | Delete
':active': {
[8511] Fix | Delete
background: color.blocked_calendar.backgroundColor_active,
[8512] Fix | Delete
border: '1px solid ' + String(color.blocked_calendar.borderColor),
[8513] Fix | Delete
color: color.blocked_calendar.color_active
[8514] Fix | Delete
}
[8515] Fix | Delete
},
[8516] Fix | Delete
[8517] Fix | Delete
CalendarDay__blocked_out_of_range: {
[8518] Fix | Delete
background: color.blocked_out_of_range.backgroundColor,
[8519] Fix | Delete
border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
[8520] Fix | Delete
color: color.blocked_out_of_range.color,
[8521] Fix | Delete
[8522] Fix | Delete
':hover': {
[8523] Fix | Delete
background: color.blocked_out_of_range.backgroundColor_hover,
[8524] Fix | Delete
border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
[8525] Fix | Delete
color: color.blocked_out_of_range.color_active
[8526] Fix | Delete
},
[8527] Fix | Delete
[8528] Fix | Delete
':active': {
[8529] Fix | Delete
background: color.blocked_out_of_range.backgroundColor_active,
[8530] Fix | Delete
border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
[8531] Fix | Delete
color: color.blocked_out_of_range.color_active
[8532] Fix | Delete
}
[8533] Fix | Delete
},
[8534] Fix | Delete
[8535] Fix | Delete
CalendarDay__selected_start: {},
[8536] Fix | Delete
CalendarDay__selected_end: {},
[8537] Fix | Delete
CalendarDay__today: {},
[8538] Fix | Delete
CalendarDay__firstDayOfWeek: {},
[8539] Fix | Delete
CalendarDay__lastDayOfWeek: {}
[8540] Fix | Delete
};
[8541] Fix | Delete
})(CalendarDay);
[8542] Fix | Delete
[8543] Fix | Delete
/***/ }),
[8544] Fix | Delete
[8545] Fix | Delete
/***/ "NMb1":
[8546] Fix | Delete
/***/ (function(module, exports) {
[8547] Fix | Delete
[8548] Fix | Delete
(function() { module.exports = window["wp"]["deprecated"]; }());
[8549] Fix | Delete
[8550] Fix | Delete
/***/ }),
[8551] Fix | Delete
[8552] Fix | Delete
/***/ "NTP4":
[8553] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[8554] Fix | Delete
[8555] Fix | Delete
"use strict";
[8556] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[8557] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[8558] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
[8559] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
[8560] Fix | Delete
[8561] Fix | Delete
[8562] Fix | Delete
/**
[8563] Fix | Delete
* WordPress dependencies
[8564] Fix | Delete
*/
[8565] Fix | Delete
[8566] Fix | Delete
var upload = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
[8567] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[8568] Fix | Delete
viewBox: "0 0 24 24"
[8569] Fix | Delete
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
[8570] Fix | Delete
d: "M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"
[8571] Fix | Delete
}));
[8572] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (upload);
[8573] Fix | Delete
[8574] Fix | Delete
[8575] Fix | Delete
/***/ }),
[8576] Fix | Delete
[8577] Fix | Delete
/***/ "NWDH":
[8578] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[8579] Fix | Delete
[8580] Fix | Delete
"use strict";
[8581] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[8582] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[8583] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
[8584] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
[8585] Fix | Delete
[8586] Fix | Delete
[8587] Fix | Delete
/**
[8588] Fix | Delete
* WordPress dependencies
[8589] Fix | Delete
*/
[8590] Fix | Delete
[8591] Fix | Delete
var chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
[8592] Fix | Delete
viewBox: "0 0 24 24",
[8593] Fix | Delete
xmlns: "http://www.w3.org/2000/svg"
[8594] Fix | Delete
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
[8595] Fix | Delete
d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
[8596] Fix | Delete
}));
[8597] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (chevronDown);
[8598] Fix | Delete
[8599] Fix | Delete
[8600] Fix | Delete
/***/ }),
[8601] Fix | Delete
[8602] Fix | Delete
/***/ "Nho6":
[8603] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[8604] Fix | Delete
[8605] Fix | Delete
"use strict";
[8606] Fix | Delete
[8607] Fix | Delete
[8608] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[8609] Fix | Delete
value: true
[8610] Fix | Delete
});
[8611] Fix | Delete
exports['default'] = isAfterDay;
[8612] Fix | Delete
[8613] Fix | Delete
var _moment = __webpack_require__("wy2R");
[8614] Fix | Delete
[8615] Fix | Delete
var _moment2 = _interopRequireDefault(_moment);
[8616] Fix | Delete
[8617] Fix | Delete
var _isBeforeDay = __webpack_require__("h6xH");
[8618] Fix | Delete
[8619] Fix | Delete
var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay);
[8620] Fix | Delete
[8621] Fix | Delete
var _isSameDay = __webpack_require__("pRvc");
[8622] Fix | Delete
[8623] Fix | Delete
var _isSameDay2 = _interopRequireDefault(_isSameDay);
[8624] Fix | Delete
[8625] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[8626] Fix | Delete
[8627] Fix | Delete
function isAfterDay(a, b) {
[8628] Fix | Delete
if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
[8629] Fix | Delete
return !(0, _isBeforeDay2['default'])(a, b) && !(0, _isSameDay2['default'])(a, b);
[8630] Fix | Delete
}
[8631] Fix | Delete
[8632] Fix | Delete
/***/ }),
[8633] Fix | Delete
[8634] Fix | Delete
/***/ "Nloh":
[8635] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[8636] Fix | Delete
[8637] Fix | Delete
"use strict";
[8638] Fix | Delete
[8639] Fix | Delete
[8640] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[8641] Fix | Delete
value: true
[8642] Fix | Delete
});
[8643] Fix | Delete
exports.PureDayPicker = exports.defaultProps = undefined;
[8644] Fix | Delete
[8645] 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; };
[8646] Fix | Delete
[8647] Fix | Delete
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
[8648] Fix | Delete
[8649] Fix | Delete
var _object = __webpack_require__("Koq/");
[8650] Fix | Delete
[8651] Fix | Delete
var _object2 = _interopRequireDefault(_object);
[8652] Fix | Delete
[8653] Fix | Delete
var _react = __webpack_require__("cDcd");
[8654] Fix | Delete
[8655] Fix | Delete
var _react2 = _interopRequireDefault(_react);
[8656] Fix | Delete
[8657] Fix | Delete
var _propTypes = __webpack_require__("17x9");
[8658] Fix | Delete
[8659] Fix | Delete
var _propTypes2 = _interopRequireDefault(_propTypes);
[8660] Fix | Delete
[8661] Fix | Delete
var _reactAddonsShallowCompare = __webpack_require__("YZDV");
[8662] Fix | Delete
[8663] Fix | Delete
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
[8664] Fix | Delete
[8665] Fix | Delete
var _airbnbPropTypes = __webpack_require__("Hsqg");
[8666] Fix | Delete
[8667] Fix | Delete
var _reactWithStyles = __webpack_require__("TG4+");
[8668] Fix | Delete
[8669] Fix | Delete
var _moment = __webpack_require__("wy2R");
[8670] Fix | Delete
[8671] Fix | Delete
var _moment2 = _interopRequireDefault(_moment);
[8672] Fix | Delete
[8673] Fix | Delete
var _throttle = __webpack_require__("DzJC");
[8674] Fix | Delete
[8675] Fix | Delete
var _throttle2 = _interopRequireDefault(_throttle);
[8676] Fix | Delete
[8677] Fix | Delete
var _isTouchDevice = __webpack_require__("LTAC");
[8678] Fix | Delete
[8679] Fix | Delete
var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice);
[8680] Fix | Delete
[8681] Fix | Delete
var _reactOutsideClickHandler = __webpack_require__("3gBW");
[8682] Fix | Delete
[8683] Fix | Delete
var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler);
[8684] Fix | Delete
[8685] Fix | Delete
var _defaultPhrases = __webpack_require__("vV+G");
[8686] Fix | Delete
[8687] Fix | Delete
var _getPhrasePropTypes = __webpack_require__("yc2e");
[8688] Fix | Delete
[8689] Fix | Delete
var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
[8690] Fix | Delete
[8691] Fix | Delete
var _CalendarMonthGrid = __webpack_require__("Thzv");
[8692] Fix | Delete
[8693] Fix | Delete
var _CalendarMonthGrid2 = _interopRequireDefault(_CalendarMonthGrid);
[8694] Fix | Delete
[8695] Fix | Delete
var _DayPickerNavigation = __webpack_require__("zfJ5");
[8696] Fix | Delete
[8697] Fix | Delete
var _DayPickerNavigation2 = _interopRequireDefault(_DayPickerNavigation);
[8698] Fix | Delete
[8699] Fix | Delete
var _DayPickerKeyboardShortcuts = __webpack_require__("1+Kn");
[8700] Fix | Delete
[8701] Fix | Delete
var _DayPickerKeyboardShortcuts2 = _interopRequireDefault(_DayPickerKeyboardShortcuts);
[8702] Fix | Delete
[8703] Fix | Delete
var _getNumberOfCalendarMonthWeeks = __webpack_require__("0Dl3");
[8704] Fix | Delete
[8705] Fix | Delete
var _getNumberOfCalendarMonthWeeks2 = _interopRequireDefault(_getNumberOfCalendarMonthWeeks);
[8706] Fix | Delete
[8707] Fix | Delete
var _getCalendarMonthWidth = __webpack_require__("m2ax");
[8708] Fix | Delete
[8709] Fix | Delete
var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth);
[8710] Fix | Delete
[8711] Fix | Delete
var _calculateDimension = __webpack_require__("ixyq");
[8712] Fix | Delete
[8713] Fix | Delete
var _calculateDimension2 = _interopRequireDefault(_calculateDimension);
[8714] Fix | Delete
[8715] Fix | Delete
var _getActiveElement = __webpack_require__("+51k");
[8716] Fix | Delete
[8717] Fix | Delete
var _getActiveElement2 = _interopRequireDefault(_getActiveElement);
[8718] Fix | Delete
[8719] Fix | Delete
var _isDayVisible = __webpack_require__("IgE5");
[8720] Fix | Delete
[8721] Fix | Delete
var _isDayVisible2 = _interopRequireDefault(_isDayVisible);
[8722] Fix | Delete
[8723] Fix | Delete
var _ModifiersShape = __webpack_require__("J7JS");
[8724] Fix | Delete
[8725] Fix | Delete
var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);
[8726] Fix | Delete
[8727] Fix | Delete
var _ScrollableOrientationShape = __webpack_require__("aE6U");
[8728] Fix | Delete
[8729] Fix | Delete
var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);
[8730] Fix | Delete
[8731] Fix | Delete
var _DayOfWeekShape = __webpack_require__("2S2E");
[8732] Fix | Delete
[8733] Fix | Delete
var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);
[8734] Fix | Delete
[8735] Fix | Delete
var _CalendarInfoPositionShape = __webpack_require__("oR9Z");
[8736] Fix | Delete
[8737] Fix | Delete
var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape);
[8738] Fix | Delete
[8739] Fix | Delete
var _constants = __webpack_require__("Fv1B");
[8740] Fix | Delete
[8741] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[8742] Fix | Delete
[8743] 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); } }
[8744] Fix | Delete
[8745] Fix | Delete
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
[8746] Fix | Delete
[8747] Fix | Delete
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
[8748] Fix | Delete
[8749] Fix | Delete
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
[8750] Fix | Delete
[8751] Fix | Delete
var MONTH_PADDING = 23;
[8752] Fix | Delete
var PREV_TRANSITION = 'prev';
[8753] Fix | Delete
var NEXT_TRANSITION = 'next';
[8754] Fix | Delete
var MONTH_SELECTION_TRANSITION = 'month_selection';
[8755] Fix | Delete
var YEAR_SELECTION_TRANSITION = 'year_selection';
[8756] Fix | Delete
[8757] Fix | Delete
var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
[8758] Fix | Delete
[8759] Fix | Delete
// calendar presentation props
[8760] Fix | Delete
enableOutsideDays: _propTypes2['default'].bool,
[8761] Fix | Delete
numberOfMonths: _propTypes2['default'].number,
[8762] Fix | Delete
orientation: _ScrollableOrientationShape2['default'],
[8763] Fix | Delete
withPortal: _propTypes2['default'].bool,
[8764] Fix | Delete
onOutsideClick: _propTypes2['default'].func,
[8765] Fix | Delete
hidden: _propTypes2['default'].bool,
[8766] Fix | Delete
initialVisibleMonth: _propTypes2['default'].func,
[8767] Fix | Delete
firstDayOfWeek: _DayOfWeekShape2['default'],
[8768] Fix | Delete
renderCalendarInfo: _propTypes2['default'].func,
[8769] Fix | Delete
calendarInfoPosition: _CalendarInfoPositionShape2['default'],
[8770] Fix | Delete
hideKeyboardShortcutsPanel: _propTypes2['default'].bool,
[8771] Fix | Delete
daySize: _airbnbPropTypes.nonNegativeInteger,
[8772] Fix | Delete
isRTL: _propTypes2['default'].bool,
[8773] Fix | Delete
verticalHeight: _airbnbPropTypes.nonNegativeInteger,
[8774] Fix | Delete
noBorder: _propTypes2['default'].bool,
[8775] Fix | Delete
transitionDuration: _airbnbPropTypes.nonNegativeInteger,
[8776] Fix | Delete
verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,
[8777] Fix | Delete
horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,
[8778] Fix | Delete
[8779] Fix | Delete
// navigation props
[8780] Fix | Delete
navPrev: _propTypes2['default'].node,
[8781] Fix | Delete
navNext: _propTypes2['default'].node,
[8782] Fix | Delete
noNavButtons: _propTypes2['default'].bool,
[8783] Fix | Delete
onPrevMonthClick: _propTypes2['default'].func,
[8784] Fix | Delete
onNextMonthClick: _propTypes2['default'].func,
[8785] Fix | Delete
onMonthChange: _propTypes2['default'].func,
[8786] Fix | Delete
onYearChange: _propTypes2['default'].func,
[8787] Fix | Delete
onMultiplyScrollableMonths: _propTypes2['default'].func, // VERTICAL_SCROLLABLE daypickers only
[8788] Fix | Delete
[8789] Fix | Delete
// month props
[8790] Fix | Delete
renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
[8791] Fix | Delete
renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
[8792] Fix | Delete
[8793] Fix | Delete
// day props
[8794] Fix | Delete
modifiers: _propTypes2['default'].objectOf(_propTypes2['default'].objectOf(_ModifiersShape2['default'])),
[8795] Fix | Delete
renderCalendarDay: _propTypes2['default'].func,
[8796] Fix | Delete
renderDayContents: _propTypes2['default'].func,
[8797] Fix | Delete
onDayClick: _propTypes2['default'].func,
[8798] Fix | Delete
onDayMouseEnter: _propTypes2['default'].func,
[8799] Fix | Delete
onDayMouseLeave: _propTypes2['default'].func,
[8800] Fix | Delete
[8801] Fix | Delete
// accessibility props
[8802] Fix | Delete
isFocused: _propTypes2['default'].bool,
[8803] Fix | Delete
getFirstFocusableDay: _propTypes2['default'].func,
[8804] Fix | Delete
onBlur: _propTypes2['default'].func,
[8805] Fix | Delete
showKeyboardShortcuts: _propTypes2['default'].bool,
[8806] Fix | Delete
[8807] Fix | Delete
// internationalization
[8808] Fix | Delete
monthFormat: _propTypes2['default'].string,
[8809] Fix | Delete
weekDayFormat: _propTypes2['default'].string,
[8810] Fix | Delete
phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerPhrases)),
[8811] Fix | Delete
dayAriaLabelFormat: _propTypes2['default'].string
[8812] Fix | Delete
}));
[8813] Fix | Delete
[8814] Fix | Delete
var defaultProps = exports.defaultProps = {
[8815] Fix | Delete
// calendar presentation props
[8816] Fix | Delete
enableOutsideDays: false,
[8817] Fix | Delete
numberOfMonths: 2,
[8818] Fix | Delete
orientation: _constants.HORIZONTAL_ORIENTATION,
[8819] Fix | Delete
withPortal: false,
[8820] Fix | Delete
onOutsideClick: function () {
[8821] Fix | Delete
function onOutsideClick() {}
[8822] Fix | Delete
[8823] Fix | Delete
return onOutsideClick;
[8824] Fix | Delete
}(),
[8825] Fix | Delete
[8826] Fix | Delete
hidden: false,
[8827] Fix | Delete
initialVisibleMonth: function () {
[8828] Fix | Delete
function initialVisibleMonth() {
[8829] Fix | Delete
return (0, _moment2['default'])();
[8830] Fix | Delete
}
[8831] Fix | Delete
[8832] Fix | Delete
return initialVisibleMonth;
[8833] Fix | Delete
}(),
[8834] Fix | Delete
firstDayOfWeek: null,
[8835] Fix | Delete
renderCalendarInfo: null,
[8836] Fix | Delete
calendarInfoPosition: _constants.INFO_POSITION_BOTTOM,
[8837] Fix | Delete
hideKeyboardShortcutsPanel: false,
[8838] Fix | Delete
daySize: _constants.DAY_SIZE,
[8839] Fix | Delete
isRTL: false,
[8840] Fix | Delete
verticalHeight: null,
[8841] Fix | Delete
noBorder: false,
[8842] Fix | Delete
transitionDuration: undefined,
[8843] Fix | Delete
verticalBorderSpacing: undefined,
[8844] Fix | Delete
horizontalMonthPadding: 13,
[8845] Fix | Delete
[8846] Fix | Delete
// navigation props
[8847] Fix | Delete
navPrev: null,
[8848] Fix | Delete
navNext: null,
[8849] Fix | Delete
noNavButtons: false,
[8850] Fix | Delete
onPrevMonthClick: function () {
[8851] Fix | Delete
function onPrevMonthClick() {}
[8852] Fix | Delete
[8853] Fix | Delete
return onPrevMonthClick;
[8854] Fix | Delete
}(),
[8855] Fix | Delete
onNextMonthClick: function () {
[8856] Fix | Delete
function onNextMonthClick() {}
[8857] Fix | Delete
[8858] Fix | Delete
return onNextMonthClick;
[8859] Fix | Delete
}(),
[8860] Fix | Delete
onMonthChange: function () {
[8861] Fix | Delete
function onMonthChange() {}
[8862] Fix | Delete
[8863] Fix | Delete
return onMonthChange;
[8864] Fix | Delete
}(),
[8865] Fix | Delete
onYearChange: function () {
[8866] Fix | Delete
function onYearChange() {}
[8867] Fix | Delete
[8868] Fix | Delete
return onYearChange;
[8869] Fix | Delete
}(),
[8870] Fix | Delete
onMultiplyScrollableMonths: function () {
[8871] Fix | Delete
function onMultiplyScrollableMonths() {}
[8872] Fix | Delete
[8873] Fix | Delete
return onMultiplyScrollableMonths;
[8874] Fix | Delete
}(),
[8875] Fix | Delete
[8876] Fix | Delete
[8877] Fix | Delete
// month props
[8878] Fix | Delete
renderMonthText: null,
[8879] Fix | Delete
renderMonthElement: null,
[8880] Fix | Delete
[8881] Fix | Delete
// day props
[8882] Fix | Delete
modifiers: {},
[8883] Fix | Delete
renderCalendarDay: undefined,
[8884] Fix | Delete
renderDayContents: null,
[8885] Fix | Delete
onDayClick: function () {
[8886] Fix | Delete
function onDayClick() {}
[8887] Fix | Delete
[8888] Fix | Delete
return onDayClick;
[8889] Fix | Delete
}(),
[8890] Fix | Delete
onDayMouseEnter: function () {
[8891] Fix | Delete
function onDayMouseEnter() {}
[8892] Fix | Delete
[8893] Fix | Delete
return onDayMouseEnter;
[8894] Fix | Delete
}(),
[8895] Fix | Delete
onDayMouseLeave: function () {
[8896] Fix | Delete
function onDayMouseLeave() {}
[8897] Fix | Delete
[8898] Fix | Delete
return onDayMouseLeave;
[8899] Fix | Delete
}(),
[8900] Fix | Delete
[8901] Fix | Delete
[8902] Fix | Delete
// accessibility props
[8903] Fix | Delete
isFocused: false,
[8904] Fix | Delete
getFirstFocusableDay: null,
[8905] Fix | Delete
onBlur: function () {
[8906] Fix | Delete
function onBlur() {}
[8907] Fix | Delete
[8908] Fix | Delete
return onBlur;
[8909] Fix | Delete
}(),
[8910] Fix | Delete
[8911] Fix | Delete
showKeyboardShortcuts: false,
[8912] Fix | Delete
[8913] Fix | Delete
// internationalization
[8914] Fix | Delete
monthFormat: 'MMMM YYYY',
[8915] Fix | Delete
weekDayFormat: 'dd',
[8916] Fix | Delete
phrases: _defaultPhrases.DayPickerPhrases,
[8917] Fix | Delete
dayAriaLabelFormat: undefined
[8918] Fix | Delete
};
[8919] Fix | Delete
[8920] Fix | Delete
var DayPicker = function (_React$Component) {
[8921] Fix | Delete
_inherits(DayPicker, _React$Component);
[8922] Fix | Delete
[8923] Fix | Delete
function DayPicker(props) {
[8924] Fix | Delete
_classCallCheck(this, DayPicker);
[8925] Fix | Delete
[8926] Fix | Delete
var _this = _possibleConstructorReturn(this, (DayPicker.__proto__ || Object.getPrototypeOf(DayPicker)).call(this, props));
[8927] Fix | Delete
[8928] Fix | Delete
var currentMonth = props.hidden ? (0, _moment2['default'])() : props.initialVisibleMonth();
[8929] Fix | Delete
[8930] Fix | Delete
var focusedDate = currentMonth.clone().startOf('month');
[8931] Fix | Delete
if (props.getFirstFocusableDay) {
[8932] Fix | Delete
focusedDate = props.getFirstFocusableDay(currentMonth);
[8933] Fix | Delete
}
[8934] Fix | Delete
[8935] Fix | Delete
var horizontalMonthPadding = props.horizontalMonthPadding;
[8936] Fix | Delete
[8937] Fix | Delete
[8938] Fix | Delete
var translationValue = props.isRTL && _this.isHorizontal() ? -(0, _getCalendarMonthWidth2['default'])(props.daySize, horizontalMonthPadding) : 0;
[8939] Fix | Delete
[8940] Fix | Delete
_this.hasSetInitialVisibleMonth = !props.hidden;
[8941] Fix | Delete
_this.state = {
[8942] Fix | Delete
currentMonth: currentMonth,
[8943] Fix | Delete
monthTransition: null,
[8944] Fix | Delete
translationValue: translationValue,
[8945] Fix | Delete
scrollableMonthMultiple: 1,
[8946] Fix | Delete
calendarMonthWidth: (0, _getCalendarMonthWidth2['default'])(props.daySize, horizontalMonthPadding),
[8947] Fix | Delete
focusedDate: !props.hidden || props.isFocused ? focusedDate : null,
[8948] Fix | Delete
nextFocusedDate: null,
[8949] Fix | Delete
showKeyboardShortcuts: props.showKeyboardShortcuts,
[8950] Fix | Delete
onKeyboardShortcutsPanelClose: function () {
[8951] Fix | Delete
function onKeyboardShortcutsPanelClose() {}
[8952] Fix | Delete
[8953] Fix | Delete
return onKeyboardShortcutsPanelClose;
[8954] Fix | Delete
}(),
[8955] Fix | Delete
[8956] Fix | Delete
isTouchDevice: (0, _isTouchDevice2['default'])(),
[8957] Fix | Delete
withMouseInteractions: true,
[8958] Fix | Delete
calendarInfoWidth: 0,
[8959] Fix | Delete
monthTitleHeight: null,
[8960] Fix | Delete
hasSetHeight: false
[8961] Fix | Delete
};
[8962] Fix | Delete
[8963] Fix | Delete
_this.setCalendarMonthWeeks(currentMonth);
[8964] Fix | Delete
[8965] Fix | Delete
_this.calendarMonthGridHeight = 0;
[8966] Fix | Delete
_this.setCalendarInfoWidthTimeout = null;
[8967] Fix | Delete
[8968] Fix | Delete
_this.onKeyDown = _this.onKeyDown.bind(_this);
[8969] Fix | Delete
_this.throttledKeyDown = (0, _throttle2['default'])(_this.onFinalKeyDown, 200, { trailing: false });
[8970] Fix | Delete
_this.onPrevMonthClick = _this.onPrevMonthClick.bind(_this);
[8971] Fix | Delete
_this.onNextMonthClick = _this.onNextMonthClick.bind(_this);
[8972] Fix | Delete
_this.onMonthChange = _this.onMonthChange.bind(_this);
[8973] Fix | Delete
_this.onYearChange = _this.onYearChange.bind(_this);
[8974] Fix | Delete
[8975] Fix | Delete
_this.multiplyScrollableMonths = _this.multiplyScrollableMonths.bind(_this);
[8976] Fix | Delete
_this.updateStateAfterMonthTransition = _this.updateStateAfterMonthTransition.bind(_this);
[8977] Fix | Delete
[8978] Fix | Delete
_this.openKeyboardShortcutsPanel = _this.openKeyboardShortcutsPanel.bind(_this);
[8979] Fix | Delete
_this.closeKeyboardShortcutsPanel = _this.closeKeyboardShortcutsPanel.bind(_this);
[8980] Fix | Delete
[8981] Fix | Delete
_this.setCalendarInfoRef = _this.setCalendarInfoRef.bind(_this);
[8982] Fix | Delete
_this.setContainerRef = _this.setContainerRef.bind(_this);
[8983] Fix | Delete
_this.setTransitionContainerRef = _this.setTransitionContainerRef.bind(_this);
[8984] Fix | Delete
_this.setMonthTitleHeight = _this.setMonthTitleHeight.bind(_this);
[8985] Fix | Delete
return _this;
[8986] Fix | Delete
}
[8987] Fix | Delete
[8988] Fix | Delete
_createClass(DayPicker, [{
[8989] Fix | Delete
key: 'componentDidMount',
[8990] Fix | Delete
value: function () {
[8991] Fix | Delete
function componentDidMount() {
[8992] Fix | Delete
var currentMonth = this.state.currentMonth;
[8993] Fix | Delete
[8994] Fix | Delete
if (this.calendarInfo) {
[8995] Fix | Delete
this.setState({
[8996] Fix | Delete
isTouchDevice: (0, _isTouchDevice2['default'])(),
[8997] Fix | Delete
calendarInfoWidth: (0, _calculateDimension2['default'])(this.calendarInfo, 'width', true, true)
[8998] Fix | Delete
});
[8999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function