Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
[53000] Fix | Delete
var GetIntrinsic = __webpack_require__("AM7I");
[53001] Fix | Delete
[53002] Fix | Delete
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
[53003] Fix | Delete
if ($gOPD) {
[53004] Fix | Delete
try {
[53005] Fix | Delete
$gOPD([], 'length');
[53006] Fix | Delete
} catch (e) {
[53007] Fix | Delete
// IE 8 has a broken gOPD
[53008] Fix | Delete
$gOPD = null;
[53009] Fix | Delete
}
[53010] Fix | Delete
}
[53011] Fix | Delete
[53012] Fix | Delete
module.exports = $gOPD;
[53013] Fix | Delete
[53014] Fix | Delete
[53015] Fix | Delete
/***/ }),
[53016] Fix | Delete
[53017] Fix | Delete
/***/ "kuGu":
[53018] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[53019] Fix | Delete
[53020] Fix | Delete
"use strict";
[53021] Fix | Delete
[53022] Fix | Delete
[53023] Fix | Delete
var GetIntrinsic = __webpack_require__("Jt44");
[53024] Fix | Delete
[53025] Fix | Delete
var $construct = GetIntrinsic('%Reflect.construct%', true);
[53026] Fix | Delete
[53027] Fix | Delete
var DefinePropertyOrThrow = __webpack_require__("eOFJ");
[53028] Fix | Delete
try {
[53029] Fix | Delete
DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} });
[53030] Fix | Delete
} catch (e) {
[53031] Fix | Delete
// Accessor properties aren't supported
[53032] Fix | Delete
DefinePropertyOrThrow = null;
[53033] Fix | Delete
}
[53034] Fix | Delete
[53035] Fix | Delete
// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor
[53036] Fix | Delete
[53037] Fix | Delete
if (DefinePropertyOrThrow && $construct) {
[53038] Fix | Delete
var isConstructorMarker = {};
[53039] Fix | Delete
var badArrayLike = {};
[53040] Fix | Delete
DefinePropertyOrThrow(badArrayLike, 'length', {
[53041] Fix | Delete
'[[Get]]': function () {
[53042] Fix | Delete
throw isConstructorMarker;
[53043] Fix | Delete
},
[53044] Fix | Delete
'[[Enumerable]]': true
[53045] Fix | Delete
});
[53046] Fix | Delete
[53047] Fix | Delete
module.exports = function IsConstructor(argument) {
[53048] Fix | Delete
try {
[53049] Fix | Delete
// `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`:
[53050] Fix | Delete
$construct(argument, badArrayLike);
[53051] Fix | Delete
} catch (err) {
[53052] Fix | Delete
return err === isConstructorMarker;
[53053] Fix | Delete
}
[53054] Fix | Delete
};
[53055] Fix | Delete
} else {
[53056] Fix | Delete
module.exports = function IsConstructor(argument) {
[53057] Fix | Delete
// unfortunately there's no way to truly check this without try/catch `new argument` in old environments
[53058] Fix | Delete
return typeof argument === 'function' && !!argument.prototype;
[53059] Fix | Delete
};
[53060] Fix | Delete
}
[53061] Fix | Delete
[53062] Fix | Delete
[53063] Fix | Delete
/***/ }),
[53064] Fix | Delete
[53065] Fix | Delete
/***/ "kvlw":
[53066] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[53067] Fix | Delete
[53068] Fix | Delete
"use strict";
[53069] Fix | Delete
[53070] Fix | Delete
[53071] Fix | Delete
// http://ecma-international.org/ecma-262/5.1/#sec-9.2
[53072] Fix | Delete
[53073] Fix | Delete
module.exports = function ToBoolean(value) { return !!value; };
[53074] Fix | Delete
[53075] Fix | Delete
[53076] Fix | Delete
/***/ }),
[53077] Fix | Delete
[53078] Fix | Delete
/***/ "l3Sj":
[53079] Fix | Delete
/***/ (function(module, exports) {
[53080] Fix | Delete
[53081] Fix | Delete
(function() { module.exports = window["wp"]["i18n"]; }());
[53082] Fix | Delete
[53083] Fix | Delete
/***/ }),
[53084] Fix | Delete
[53085] Fix | Delete
/***/ "lSNA":
[53086] Fix | Delete
/***/ (function(module, exports) {
[53087] Fix | Delete
[53088] Fix | Delete
function _defineProperty(obj, key, value) {
[53089] Fix | Delete
if (key in obj) {
[53090] Fix | Delete
Object.defineProperty(obj, key, {
[53091] Fix | Delete
value: value,
[53092] Fix | Delete
enumerable: true,
[53093] Fix | Delete
configurable: true,
[53094] Fix | Delete
writable: true
[53095] Fix | Delete
});
[53096] Fix | Delete
} else {
[53097] Fix | Delete
obj[key] = value;
[53098] Fix | Delete
}
[53099] Fix | Delete
[53100] Fix | Delete
return obj;
[53101] Fix | Delete
}
[53102] Fix | Delete
[53103] Fix | Delete
module.exports = _defineProperty;
[53104] Fix | Delete
[53105] Fix | Delete
/***/ }),
[53106] Fix | Delete
[53107] Fix | Delete
/***/ "laOf":
[53108] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[53109] Fix | Delete
[53110] Fix | Delete
"use strict";
[53111] Fix | Delete
[53112] Fix | Delete
[53113] Fix | Delete
var GetIntrinsic = __webpack_require__("AM7I");
[53114] Fix | Delete
[53115] Fix | Delete
var $TypeError = GetIntrinsic('%TypeError%');
[53116] Fix | Delete
[53117] Fix | Delete
// http://ecma-international.org/ecma-262/5.1/#sec-9.10
[53118] Fix | Delete
[53119] Fix | Delete
module.exports = function CheckObjectCoercible(value, optMessage) {
[53120] Fix | Delete
if (value == null) {
[53121] Fix | Delete
throw new $TypeError(optMessage || ('Cannot call method on ' + value));
[53122] Fix | Delete
}
[53123] Fix | Delete
return value;
[53124] Fix | Delete
};
[53125] Fix | Delete
[53126] Fix | Delete
[53127] Fix | Delete
/***/ }),
[53128] Fix | Delete
[53129] Fix | Delete
/***/ "ldlY":
[53130] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[53131] Fix | Delete
[53132] Fix | Delete
"use strict";
[53133] Fix | Delete
[53134] Fix | Delete
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
[53135] Fix | Delete
var defineProperty = __webpack_require__("rePB");
[53136] Fix | Delete
[53137] Fix | Delete
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
[53138] Fix | Delete
var objectWithoutProperties = __webpack_require__("Ff2n");
[53139] Fix | Delete
[53140] Fix | Delete
// EXTERNAL MODULE: ./node_modules/classnames/index.js
[53141] Fix | Delete
var classnames = __webpack_require__("TSYQ");
[53142] Fix | Delete
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
[53143] Fix | Delete
[53144] Fix | Delete
// EXTERNAL MODULE: external ["wp","element"]
[53145] Fix | Delete
var external_wp_element_ = __webpack_require__("GRId");
[53146] Fix | Delete
[53147] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/utils.js
[53148] Fix | Delete
[53149] Fix | Delete
[53150] Fix | Delete
[53151] Fix | Delete
/**
[53152] Fix | Delete
* @template {keyof JSX.IntrinsicElements | import('react').JSXElementConstructor<any>} T
[53153] Fix | Delete
* @typedef OwnProps
[53154] Fix | Delete
* @property {T} [as='div'] Component to render
[53155] Fix | Delete
* @property {import('react').ReactNode | ((props: import('react').ComponentProps<T>) => JSX.Element) } [children] Children or render props function
[53156] Fix | Delete
*/
[53157] Fix | Delete
[53158] Fix | Delete
/**
[53159] Fix | Delete
* @template {keyof JSX.IntrinsicElements | import('react').JSXElementConstructor<any>} T
[53160] Fix | Delete
* @typedef {OwnProps<T> & import('react').ComponentProps<T>} Props
[53161] Fix | Delete
*/
[53162] Fix | Delete
[53163] Fix | Delete
/**
[53164] Fix | Delete
* renderAsRenderProps is used to wrap a component and convert
[53165] Fix | Delete
* the passed property "as" either a string or component, to the
[53166] Fix | Delete
* rendered tag if a string, or component.
[53167] Fix | Delete
*
[53168] Fix | Delete
* See VisuallyHidden hidden for example.
[53169] Fix | Delete
*
[53170] Fix | Delete
* @template {keyof JSX.IntrinsicElements | import('react').JSXElementConstructor<any>} T
[53171] Fix | Delete
* @param {Props<T>} props
[53172] Fix | Delete
* @return {JSX.Element} The rendered element.
[53173] Fix | Delete
*/
[53174] Fix | Delete
function renderAsRenderProps(_ref) {
[53175] Fix | Delete
var _ref$as = _ref.as,
[53176] Fix | Delete
Component = _ref$as === void 0 ? 'div' : _ref$as,
[53177] Fix | Delete
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as"]);
[53178] Fix | Delete
[53179] Fix | Delete
if (typeof props.children === 'function') {
[53180] Fix | Delete
return props.children(props);
[53181] Fix | Delete
}
[53182] Fix | Delete
[53183] Fix | Delete
return Object(external_wp_element_["createElement"])(Component, props);
[53184] Fix | Delete
}
[53185] Fix | Delete
[53186] Fix | Delete
[53187] Fix | Delete
[53188] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/index.js
[53189] Fix | Delete
[53190] Fix | Delete
[53191] Fix | Delete
[53192] Fix | Delete
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
[53193] Fix | Delete
[53194] Fix | Delete
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
[53195] Fix | Delete
[53196] Fix | Delete
/**
[53197] Fix | Delete
* External dependencies
[53198] Fix | Delete
*/
[53199] Fix | Delete
[53200] Fix | Delete
/**
[53201] Fix | Delete
* Internal dependencies
[53202] Fix | Delete
*/
[53203] Fix | Delete
[53204] Fix | Delete
[53205] Fix | Delete
/**
[53206] Fix | Delete
* @template {keyof JSX.IntrinsicElements | import('react').JSXElementConstructor<any>} T
[53207] Fix | Delete
* @typedef OwnProps
[53208] Fix | Delete
* @property {T} [as='div'] Component to render, e.g. `"div"` or `MyComponent`.
[53209] Fix | Delete
*/
[53210] Fix | Delete
[53211] Fix | Delete
/**
[53212] Fix | Delete
* @template {keyof JSX.IntrinsicElements | import('react').JSXElementConstructor<any>} T
[53213] Fix | Delete
* @typedef {OwnProps<T> & import('react').ComponentProps<T>} Props
[53214] Fix | Delete
*/
[53215] Fix | Delete
[53216] Fix | Delete
/**
[53217] Fix | Delete
* VisuallyHidden component to render text out non-visually
[53218] Fix | Delete
* for use in devices such as a screen reader.
[53219] Fix | Delete
*
[53220] Fix | Delete
* @template {keyof JSX.IntrinsicElements | import('react').JSXElementConstructor<any>} T
[53221] Fix | Delete
*
[53222] Fix | Delete
* @param {Props<T>} props
[53223] Fix | Delete
* @return {JSX.Element} Element
[53224] Fix | Delete
*/
[53225] Fix | Delete
[53226] Fix | Delete
function VisuallyHidden(_ref) {
[53227] Fix | Delete
var _ref$as = _ref.as,
[53228] Fix | Delete
as = _ref$as === void 0 ? 'div' : _ref$as,
[53229] Fix | Delete
className = _ref.className,
[53230] Fix | Delete
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as", "className"]);
[53231] Fix | Delete
[53232] Fix | Delete
return renderAsRenderProps(_objectSpread({
[53233] Fix | Delete
as: as,
[53234] Fix | Delete
className: classnames_default()('components-visually-hidden', className)
[53235] Fix | Delete
}, props));
[53236] Fix | Delete
}
[53237] Fix | Delete
[53238] Fix | Delete
/* harmony default export */ var visually_hidden = __webpack_exports__["a"] = (VisuallyHidden);
[53239] Fix | Delete
[53240] Fix | Delete
[53241] Fix | Delete
/***/ }),
[53242] Fix | Delete
[53243] Fix | Delete
/***/ "lzPt":
[53244] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[53245] Fix | Delete
[53246] Fix | Delete
// eslint-disable-next-line import/no-unresolved
[53247] Fix | Delete
module.exports = __webpack_require__("VDVV").default;
[53248] Fix | Delete
[53249] Fix | Delete
[53250] Fix | Delete
/***/ }),
[53251] Fix | Delete
[53252] Fix | Delete
/***/ "m2ax":
[53253] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[53254] Fix | Delete
[53255] Fix | Delete
"use strict";
[53256] Fix | Delete
[53257] Fix | Delete
[53258] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[53259] Fix | Delete
value: true
[53260] Fix | Delete
});
[53261] Fix | Delete
exports["default"] = getCalendarMonthWidth;
[53262] Fix | Delete
function getCalendarMonthWidth(daySize, calendarMonthPadding) {
[53263] Fix | Delete
return 7 * daySize + 2 * calendarMonthPadding + 1;
[53264] Fix | Delete
}
[53265] Fix | Delete
[53266] Fix | Delete
/***/ }),
[53267] Fix | Delete
[53268] Fix | Delete
/***/ "mFP7":
[53269] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[53270] Fix | Delete
[53271] Fix | Delete
"use strict";
[53272] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useForkRef; });
[53273] Fix | Delete
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
[53274] Fix | Delete
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
[53275] Fix | Delete
[53276] Fix | Delete
[53277] Fix | Delete
// https://github.com/mui-org/material-ui/blob/2bcc874cf07b81202968f769cb9c2398c7c11311/packages/material-ui/src/utils/useForkRef.js
[53278] Fix | Delete
[53279] Fix | Delete
function setRef(ref, value) {
[53280] Fix | Delete
if (value === void 0) {
[53281] Fix | Delete
value = null;
[53282] Fix | Delete
}
[53283] Fix | Delete
[53284] Fix | Delete
if (!ref) return;
[53285] Fix | Delete
[53286] Fix | Delete
if (typeof ref === "function") {
[53287] Fix | Delete
ref(value);
[53288] Fix | Delete
} else {
[53289] Fix | Delete
ref.current = value;
[53290] Fix | Delete
}
[53291] Fix | Delete
}
[53292] Fix | Delete
/**
[53293] Fix | Delete
* Merges up to two React Refs into a single memoized function React Ref so you
[53294] Fix | Delete
* can pass it to an element.
[53295] Fix | Delete
*
[53296] Fix | Delete
* @example
[53297] Fix | Delete
* import React from "react";
[53298] Fix | Delete
* import { useForkRef } from "reakit-utils";
[53299] Fix | Delete
*
[53300] Fix | Delete
* const Component = React.forwardRef((props, ref) => {
[53301] Fix | Delete
* const internalRef = React.useRef();
[53302] Fix | Delete
* return <div {...props} ref={useForkRef(internalRef, ref)} />;
[53303] Fix | Delete
* });
[53304] Fix | Delete
*/
[53305] Fix | Delete
[53306] Fix | Delete
[53307] Fix | Delete
function useForkRef(refA, refB) {
[53308] Fix | Delete
return Object(react__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(function () {
[53309] Fix | Delete
if (refA == null && refB == null) {
[53310] Fix | Delete
return null;
[53311] Fix | Delete
}
[53312] Fix | Delete
[53313] Fix | Delete
return function (value) {
[53314] Fix | Delete
setRef(refA, value);
[53315] Fix | Delete
setRef(refB, value);
[53316] Fix | Delete
};
[53317] Fix | Delete
}, [refA, refB]);
[53318] Fix | Delete
}
[53319] Fix | Delete
[53320] Fix | Delete
[53321] Fix | Delete
[53322] Fix | Delete
[53323] Fix | Delete
/***/ }),
[53324] Fix | Delete
[53325] Fix | Delete
/***/ "mMiH":
[53326] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[53327] Fix | Delete
[53328] Fix | Delete
"use strict";
[53329] Fix | Delete
[53330] Fix | Delete
[53331] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[53332] Fix | Delete
value: true
[53333] Fix | Delete
});
[53334] Fix | Delete
[53335] 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; };
[53336] Fix | Delete
[53337] 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; }; }();
[53338] Fix | Delete
[53339] Fix | Delete
var _object = __webpack_require__("Koq/");
[53340] Fix | Delete
[53341] Fix | Delete
var _object2 = _interopRequireDefault(_object);
[53342] Fix | Delete
[53343] Fix | Delete
var _react = __webpack_require__("cDcd");
[53344] Fix | Delete
[53345] Fix | Delete
var _react2 = _interopRequireDefault(_react);
[53346] Fix | Delete
[53347] Fix | Delete
var _propTypes = __webpack_require__("17x9");
[53348] Fix | Delete
[53349] Fix | Delete
var _propTypes2 = _interopRequireDefault(_propTypes);
[53350] Fix | Delete
[53351] Fix | Delete
var _reactAddonsShallowCompare = __webpack_require__("YZDV");
[53352] Fix | Delete
[53353] Fix | Delete
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
[53354] Fix | Delete
[53355] Fix | Delete
var _reactMomentProptypes = __webpack_require__("XGBb");
[53356] Fix | Delete
[53357] Fix | Delete
var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);
[53358] Fix | Delete
[53359] Fix | Delete
var _airbnbPropTypes = __webpack_require__("Hsqg");
[53360] Fix | Delete
[53361] Fix | Delete
var _reactWithStyles = __webpack_require__("TG4+");
[53362] Fix | Delete
[53363] Fix | Delete
var _moment = __webpack_require__("wy2R");
[53364] Fix | Delete
[53365] Fix | Delete
var _moment2 = _interopRequireDefault(_moment);
[53366] Fix | Delete
[53367] Fix | Delete
var _defaultPhrases = __webpack_require__("vV+G");
[53368] Fix | Delete
[53369] Fix | Delete
var _getPhrasePropTypes = __webpack_require__("yc2e");
[53370] Fix | Delete
[53371] Fix | Delete
var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
[53372] Fix | Delete
[53373] Fix | Delete
var _CalendarWeek = __webpack_require__("2Q00");
[53374] Fix | Delete
[53375] Fix | Delete
var _CalendarWeek2 = _interopRequireDefault(_CalendarWeek);
[53376] Fix | Delete
[53377] Fix | Delete
var _CalendarDay = __webpack_require__("N3k4");
[53378] Fix | Delete
[53379] Fix | Delete
var _CalendarDay2 = _interopRequireDefault(_CalendarDay);
[53380] Fix | Delete
[53381] Fix | Delete
var _calculateDimension = __webpack_require__("ixyq");
[53382] Fix | Delete
[53383] Fix | Delete
var _calculateDimension2 = _interopRequireDefault(_calculateDimension);
[53384] Fix | Delete
[53385] Fix | Delete
var _getCalendarMonthWeeks = __webpack_require__("F7ZS");
[53386] Fix | Delete
[53387] Fix | Delete
var _getCalendarMonthWeeks2 = _interopRequireDefault(_getCalendarMonthWeeks);
[53388] Fix | Delete
[53389] Fix | Delete
var _isSameDay = __webpack_require__("pRvc");
[53390] Fix | Delete
[53391] Fix | Delete
var _isSameDay2 = _interopRequireDefault(_isSameDay);
[53392] Fix | Delete
[53393] Fix | Delete
var _toISODateString = __webpack_require__("pYxT");
[53394] Fix | Delete
[53395] Fix | Delete
var _toISODateString2 = _interopRequireDefault(_toISODateString);
[53396] Fix | Delete
[53397] Fix | Delete
var _ModifiersShape = __webpack_require__("J7JS");
[53398] Fix | Delete
[53399] Fix | Delete
var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);
[53400] Fix | Delete
[53401] Fix | Delete
var _ScrollableOrientationShape = __webpack_require__("aE6U");
[53402] Fix | Delete
[53403] Fix | Delete
var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);
[53404] Fix | Delete
[53405] Fix | Delete
var _DayOfWeekShape = __webpack_require__("2S2E");
[53406] Fix | Delete
[53407] Fix | Delete
var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);
[53408] Fix | Delete
[53409] Fix | Delete
var _constants = __webpack_require__("Fv1B");
[53410] Fix | Delete
[53411] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[53412] Fix | Delete
[53413] Fix | Delete
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
[53414] Fix | Delete
[53415] 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; }
[53416] Fix | Delete
[53417] 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; } /* eslint react/no-array-index-key: 0 */
[53418] Fix | Delete
[53419] Fix | Delete
var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
[53420] Fix | Delete
month: _reactMomentProptypes2['default'].momentObj,
[53421] Fix | Delete
horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,
[53422] Fix | Delete
isVisible: _propTypes2['default'].bool,
[53423] Fix | Delete
enableOutsideDays: _propTypes2['default'].bool,
[53424] Fix | Delete
modifiers: _propTypes2['default'].objectOf(_ModifiersShape2['default']),
[53425] Fix | Delete
orientation: _ScrollableOrientationShape2['default'],
[53426] Fix | Delete
daySize: _airbnbPropTypes.nonNegativeInteger,
[53427] Fix | Delete
onDayClick: _propTypes2['default'].func,
[53428] Fix | Delete
onDayMouseEnter: _propTypes2['default'].func,
[53429] Fix | Delete
onDayMouseLeave: _propTypes2['default'].func,
[53430] Fix | Delete
onMonthSelect: _propTypes2['default'].func,
[53431] Fix | Delete
onYearSelect: _propTypes2['default'].func,
[53432] Fix | Delete
renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
[53433] Fix | Delete
renderCalendarDay: _propTypes2['default'].func,
[53434] Fix | Delete
renderDayContents: _propTypes2['default'].func,
[53435] Fix | Delete
renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
[53436] Fix | Delete
firstDayOfWeek: _DayOfWeekShape2['default'],
[53437] Fix | Delete
setMonthTitleHeight: _propTypes2['default'].func,
[53438] Fix | Delete
verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,
[53439] Fix | Delete
[53440] Fix | Delete
focusedDate: _reactMomentProptypes2['default'].momentObj, // indicates focusable day
[53441] Fix | Delete
isFocused: _propTypes2['default'].bool, // indicates whether or not to move focus to focusable day
[53442] Fix | Delete
[53443] Fix | Delete
// i18n
[53444] Fix | Delete
monthFormat: _propTypes2['default'].string,
[53445] Fix | Delete
phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases)),
[53446] Fix | Delete
dayAriaLabelFormat: _propTypes2['default'].string
[53447] Fix | Delete
}));
[53448] Fix | Delete
[53449] Fix | Delete
var defaultProps = {
[53450] Fix | Delete
month: (0, _moment2['default'])(),
[53451] Fix | Delete
horizontalMonthPadding: 13,
[53452] Fix | Delete
isVisible: true,
[53453] Fix | Delete
enableOutsideDays: false,
[53454] Fix | Delete
modifiers: {},
[53455] Fix | Delete
orientation: _constants.HORIZONTAL_ORIENTATION,
[53456] Fix | Delete
daySize: _constants.DAY_SIZE,
[53457] Fix | Delete
onDayClick: function () {
[53458] Fix | Delete
function onDayClick() {}
[53459] Fix | Delete
[53460] Fix | Delete
return onDayClick;
[53461] Fix | Delete
}(),
[53462] Fix | Delete
onDayMouseEnter: function () {
[53463] Fix | Delete
function onDayMouseEnter() {}
[53464] Fix | Delete
[53465] Fix | Delete
return onDayMouseEnter;
[53466] Fix | Delete
}(),
[53467] Fix | Delete
onDayMouseLeave: function () {
[53468] Fix | Delete
function onDayMouseLeave() {}
[53469] Fix | Delete
[53470] Fix | Delete
return onDayMouseLeave;
[53471] Fix | Delete
}(),
[53472] Fix | Delete
onMonthSelect: function () {
[53473] Fix | Delete
function onMonthSelect() {}
[53474] Fix | Delete
[53475] Fix | Delete
return onMonthSelect;
[53476] Fix | Delete
}(),
[53477] Fix | Delete
onYearSelect: function () {
[53478] Fix | Delete
function onYearSelect() {}
[53479] Fix | Delete
[53480] Fix | Delete
return onYearSelect;
[53481] Fix | Delete
}(),
[53482] Fix | Delete
[53483] Fix | Delete
renderMonthText: null,
[53484] Fix | Delete
renderCalendarDay: function () {
[53485] Fix | Delete
function renderCalendarDay(props) {
[53486] Fix | Delete
return _react2['default'].createElement(_CalendarDay2['default'], props);
[53487] Fix | Delete
}
[53488] Fix | Delete
[53489] Fix | Delete
return renderCalendarDay;
[53490] Fix | Delete
}(),
[53491] Fix | Delete
renderDayContents: null,
[53492] Fix | Delete
renderMonthElement: null,
[53493] Fix | Delete
firstDayOfWeek: null,
[53494] Fix | Delete
setMonthTitleHeight: null,
[53495] Fix | Delete
[53496] Fix | Delete
focusedDate: null,
[53497] Fix | Delete
isFocused: false,
[53498] Fix | Delete
[53499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function