impact-ui 4.0.17-alpha.2 → 4.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index5.js +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/components/Chatbot/Chatbot.types.d.ts +0 -1
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotFooter.js +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +12 -2
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +4 -10
- package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +41 -71
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts +6 -2
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -6
- package/dist/components/CommentsPanel/CommentsPanel.types.d.ts +2 -2
- package/dist/components/CommentsPanel/CommentsPanel.types.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.types.d.ts +0 -1
- package/dist/components/DateRangePicker/DateRangePicker.types.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.js +49 -67
- package/dist/components/DateRangePicker/index.d.ts.map +1 -1
- package/dist/components/DateRangePicker/index.js +1 -3
- package/dist/components/DateRangePicker/utils.d.ts +0 -1
- package/dist/components/DateRangePicker/utils.d.ts.map +1 -1
- package/dist/components/DateRangePicker/utils.js +1 -11
- package/dist/components/Input/HelperText.d.ts.map +1 -1
- package/dist/components/Input/HelperText.js +22 -2
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/index.js +112 -38
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Menu/IconMenuItem.d.ts.map +1 -1
- package/dist/components/Menu/IconMenuItem.js +1 -2
- package/dist/components/Menu/MenuHeaderInfo.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +2 -2
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/RadioButtonGroup/index.js +1 -1
- package/dist/components/TableOld/index.d.ts.map +1 -1
- package/dist/components/TableOld/index.js +9 -13
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -2
- package/dist/mcp-component-registry.json +2 -82
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +1 -1
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +1 -3
- package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/call-bind/index.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +18 -90
- package/dist/node_modules/is-symbol/index.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/constants.js +1 -1
- package/package.json +2 -7
- package/dist/_virtual/CalendarDay.js +0 -4
- package/dist/_virtual/ModifiersShape.js +0 -4
- package/dist/_virtual/WithStylesContext.js +0 -4
- package/dist/_virtual/and.js +0 -4
- package/dist/_virtual/between.js +0 -4
- package/dist/_virtual/booleanSome.js +0 -4
- package/dist/_virtual/brcast.js +0 -4
- package/dist/_virtual/childrenHavePropXorChildren.js +0 -4
- package/dist/_virtual/childrenOf.js +0 -4
- package/dist/_virtual/childrenOfType.js +0 -4
- package/dist/_virtual/childrenSequenceOf.js +0 -4
- package/dist/_virtual/componentWithName.js +0 -4
- package/dist/_virtual/constants2.js +0 -4
- package/dist/_virtual/constants3.js +0 -4
- package/dist/_virtual/defaultPhrases.js +0 -4
- package/dist/_virtual/direction.js +0 -4
- package/dist/_virtual/disallowedIf.js +0 -4
- package/dist/_virtual/elementType.js +0 -4
- package/dist/_virtual/empty.js +0 -4
- package/dist/_virtual/emptyStylesFn.js +0 -4
- package/dist/_virtual/explicitNull.js +0 -4
- package/dist/_virtual/getCalendarDaySettings.js +0 -4
- package/dist/_virtual/getComponentName.js +0 -4
- package/dist/_virtual/getComponentName2.js +0 -4
- package/dist/_virtual/getPhrase.js +0 -4
- package/dist/_virtual/getPhrasePropTypes.js +0 -4
- package/dist/_virtual/hoist-non-react-statics.cjs.js +0 -2
- package/dist/_virtual/implementation.browser.js +0 -4
- package/dist/_virtual/index10.js +0 -4
- package/dist/_virtual/index11.js +0 -4
- package/dist/_virtual/index9.js +0 -4
- package/dist/_virtual/integer.js +0 -4
- package/dist/_virtual/isInteger.js +0 -4
- package/dist/_virtual/isPlainObject.js +0 -4
- package/dist/_virtual/isPlainObject2.js +0 -4
- package/dist/_virtual/isPrimitive.js +0 -4
- package/dist/_virtual/keysOf.js +0 -4
- package/dist/_virtual/mutuallyExclusiveProps.js +0 -4
- package/dist/_virtual/mutuallyExclusiveTrueProps.js +0 -4
- package/dist/_virtual/nChildren.js +0 -4
- package/dist/_virtual/nonNegativeInteger.js +0 -4
- package/dist/_virtual/nonNegativeNumber.js +0 -4
- package/dist/_virtual/numericString.js +0 -4
- package/dist/_virtual/object.js +0 -4
- package/dist/_virtual/or.js +0 -4
- package/dist/_virtual/perf.js +0 -4
- package/dist/_virtual/performance-now.js +0 -4
- package/dist/_virtual/predicate.js +0 -4
- package/dist/_virtual/range.js +0 -4
- package/dist/_virtual/ref.js +0 -4
- package/dist/_virtual/ref2.js +0 -4
- package/dist/_virtual/renderableChildren.js +0 -4
- package/dist/_virtual/requiredBy.js +0 -4
- package/dist/_virtual/restrictedProp.js +0 -4
- package/dist/_virtual/sequenceOf.js +0 -4
- package/dist/_virtual/shape.js +0 -4
- package/dist/_virtual/stringEndsWith.js +0 -4
- package/dist/_virtual/stringStartsWith.js +0 -4
- package/dist/_virtual/typeOf.js +0 -4
- package/dist/_virtual/uniqueArray.js +0 -4
- package/dist/_virtual/uniqueArrayOf.js +0 -4
- package/dist/_virtual/valuesOf.js +0 -4
- package/dist/_virtual/withDirection.js +0 -4
- package/dist/_virtual/withShape.js +0 -4
- package/dist/_virtual/withStyles.js +0 -4
- package/dist/_virtual/withStylesPropTypes.js +0 -4
- package/dist/_virtual/wrapValidator.js +0 -4
- package/dist/_virtual/wrapValidator2.js +0 -4
- package/dist/components/OnboardingTour/index.d.ts +0 -61
- package/dist/components/OnboardingTour/index.d.ts.map +0 -1
- package/dist/components/OnboardingTour/index.js +0 -232
- package/dist/components/OnboardingTour/productTourList.d.ts +0 -39
- package/dist/components/OnboardingTour/productTourList.d.ts.map +0 -1
- package/dist/components/OnboardingTour/productTourList.js +0 -86
- package/dist/components/OnboardingTour/tooltipCard.d.ts +0 -45
- package/dist/components/OnboardingTour/tooltipCard.d.ts.map +0 -1
- package/dist/components/OnboardingTour/tooltipCard.js +0 -96
- package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts +0 -29
- package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts.map +0 -1
- package/dist/components/OnboardingTour/useTooltipCardPosition.js +0 -221
- package/dist/node_modules/array.prototype.find/implementation.js +0 -37
- package/dist/node_modules/array.prototype.find/index.js +0 -35
- package/dist/node_modules/array.prototype.find/polyfill.js +0 -17
- package/dist/node_modules/array.prototype.find/shim.js +0 -30
- package/dist/node_modules/call-bind/callBound.js +0 -22
- package/dist/node_modules/enzyme-shallow-equal/build/index.js +0 -53
- package/dist/node_modules/es-abstract/2023/CreateMethodProperty.js +0 -46
- package/dist/node_modules/es-abstract/2023/FromPropertyDescriptor.js +0 -22
- package/dist/node_modules/es-abstract/2023/IsDataDescriptor.js +0 -28
- package/dist/node_modules/es-abstract/2023/SameValue.js +0 -21
- package/dist/node_modules/es-abstract/helpers/OwnPropertyKeys.js +0 -12
- package/dist/node_modules/es-set-tostringtag/index.js +0 -39
- package/dist/node_modules/function.prototype.name/implementation.js +0 -59
- package/dist/node_modules/function.prototype.name/index.js +0 -23
- package/dist/node_modules/function.prototype.name/polyfill.js +0 -15
- package/dist/node_modules/function.prototype.name/shim.js +0 -47
- package/dist/node_modules/functions-have-names/index.js +0 -36
- package/dist/node_modules/globalthis/implementation.browser.js +0 -17
- package/dist/node_modules/globalthis/index.js +0 -28
- package/dist/node_modules/globalthis/polyfill.js +0 -18
- package/dist/node_modules/globalthis/shim.js +0 -33
- package/dist/node_modules/is-document.all/index.js +0 -40
- package/dist/node_modules/object-is/implementation.js +0 -25
- package/dist/node_modules/object-is/index.js +0 -27
- package/dist/node_modules/object-is/polyfill.js +0 -15
- package/dist/node_modules/object-is/shim.js +0 -23
- package/dist/node_modules/object.assign/implementation.js +0 -52
- package/dist/node_modules/object.assign/index.js +0 -30
- package/dist/node_modules/object.assign/polyfill.js +0 -53
- package/dist/node_modules/object.assign/shim.js +0 -25
- package/dist/node_modules/object.entries/implementation.js +0 -26
- package/dist/node_modules/object.entries/index.js +0 -27
- package/dist/node_modules/object.entries/polyfill.js +0 -15
- package/dist/node_modules/object.entries/shim.js +0 -23
- package/dist/node_modules/object.values/implementation.js +0 -25
- package/dist/node_modules/object.values/index.js +0 -27
- package/dist/node_modules/object.values/polyfill.js +0 -15
- package/dist/node_modules/object.values/shim.js +0 -23
- package/dist/node_modules/own-keys/index.js +0 -26
- package/dist/node_modules/performance-now/lib/performance-now.js +0 -42
- package/dist/node_modules/prop-types-exact/build/helpers/isPlainObject.js +0 -15
- package/dist/node_modules/prop-types-exact/node_modules/isarray/index.js +0 -14
- package/dist/node_modules/prop-types-exact/src/index.js +0 -52
- package/dist/node_modules/raf/index.js +0 -66
- package/dist/node_modules/react-dates/lib/components/CalendarDay.js +0 -355
- package/dist/node_modules/react-dates/lib/constants.js +0 -68
- package/dist/node_modules/react-dates/lib/defaultPhrases.js +0 -250
- package/dist/node_modules/react-dates/lib/shapes/ModifiersShape.js +0 -41
- package/dist/node_modules/react-dates/lib/utils/getCalendarDaySettings.js +0 -64
- package/dist/node_modules/react-dates/lib/utils/getPhrase.js +0 -23
- package/dist/node_modules/react-dates/lib/utils/getPhrasePropTypes.js +0 -55
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/and.js +0 -53
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/between.js +0 -276
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/booleanSome.js +0 -64
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/childrenHavePropXorChildren.js +0 -65
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/childrenOf.js +0 -105
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/childrenOfType.js +0 -63
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/childrenSequenceOf.js +0 -100
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/componentWithName.js +0 -109
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/disallowedIf.js +0 -64
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/elementType.js +0 -77
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/empty.js +0 -46
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/explicitNull.js +0 -50
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/getComponentName.js +0 -41
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isInteger.js +0 -23
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isPlainObject.js +0 -23
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isPrimitive.js +0 -32
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/renderableChildren.js +0 -26
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/typeOf.js +0 -49
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/wrapValidator.js +0 -33
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/index.js +0 -123
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/integer.js +0 -45
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/keysOf.js +0 -63
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/mocks/index.js +0 -55
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/mutuallyExclusiveProps.js +0 -100
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/mutuallyExclusiveTrueProps.js +0 -64
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/nChildren.js +0 -47
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/nonNegativeInteger.js +0 -27
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/nonNegativeNumber.js +0 -45
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/numericString.js +0 -55
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/object.js +0 -56
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/or.js +0 -96
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/predicate.js +0 -48
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/range.js +0 -49
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/ref.js +0 -58
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/requiredBy.js +0 -49
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/restrictedProp.js +0 -42
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/sequenceOf.js +0 -211
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/shape.js +0 -58
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/stringEndsWith.js +0 -53
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/stringStartsWith.js +0 -53
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/uniqueArray.js +0 -69
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/uniqueArrayOf.js +0 -116
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/valuesOf.js +0 -54
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/withShape.js +0 -30
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/index.js +0 -13
- package/dist/node_modules/react-moment-proptypes/src/core.js +0 -96
- package/dist/node_modules/react-moment-proptypes/src/index.js +0 -48
- package/dist/node_modules/react-moment-proptypes/src/moment-validation-wrapper.js +0 -24
- package/dist/node_modules/react-with-styles/lib/WithStylesContext.js +0 -57
- package/dist/node_modules/react-with-styles/lib/utils/emptyStylesFn.js +0 -22
- package/dist/node_modules/react-with-styles/lib/utils/perf.js +0 -49
- package/dist/node_modules/react-with-styles/lib/withStyles.js +0 -252
- package/dist/node_modules/react-with-styles/lib/withStylesPropTypes.js +0 -28
- package/dist/node_modules/react-with-styles/node_modules/airbnb-prop-types/build/helpers/getComponentName.js +0 -41
- package/dist/node_modules/react-with-styles/node_modules/airbnb-prop-types/build/helpers/isPlainObject.js +0 -23
- package/dist/node_modules/react-with-styles/node_modules/airbnb-prop-types/build/helpers/wrapValidator.js +0 -33
- package/dist/node_modules/react-with-styles/node_modules/airbnb-prop-types/build/ref.js +0 -58
- package/dist/node_modules/react-with-styles/node_modules/deepmerge/dist/cjs.js +0 -85
- package/dist/node_modules/react-with-styles/node_modules/react-with-direction/dist/constants.js +0 -18
- package/dist/node_modules/react-with-styles/node_modules/react-with-direction/dist/proptypes/brcast.js +0 -26
- package/dist/node_modules/react-with-styles/node_modules/react-with-direction/dist/proptypes/direction.js +0 -27
- package/dist/node_modules/react-with-styles/node_modules/react-with-direction/dist/withDirection.js +0 -160
- package/dist/node_modules/reflect.ownkeys/implementation.js +0 -15
- package/dist/node_modules/reflect.ownkeys/index.js +0 -27
- package/dist/node_modules/reflect.ownkeys/polyfill.js +0 -18
- package/dist/node_modules/reflect.ownkeys/shim.js +0 -30
- package/dist/node_modules/safe-push-apply/index.js +0 -22
- package/dist/node_modules/safe-push-apply/node_modules/isarray/index.js +0 -14
- package/dist/stories/generated/cdnGetAssetUrlManifest.d.ts +0 -6
- package/dist/stories/generated/cdnGetAssetUrlManifest.d.ts.map +0 -1
package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/componentWithName.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { __exports as componentWithName } from "../../../../../_virtual/componentWithName.js";
|
|
2
|
-
import React__default from "react";
|
|
3
|
-
import { __require as requireIsRegex } from "../../../../is-regex/index.js";
|
|
4
|
-
import { __require as requireArray_prototype_find } from "../../../../array.prototype.find/index.js";
|
|
5
|
-
import { __require as requireGetComponentName } from "./helpers/getComponentName.js";
|
|
6
|
-
import { __require as requireWrapValidator } from "./helpers/wrapValidator.js";
|
|
7
|
-
var hasRequiredComponentWithName;
|
|
8
|
-
function requireComponentWithName() {
|
|
9
|
-
if (hasRequiredComponentWithName) return componentWithName;
|
|
10
|
-
hasRequiredComponentWithName = 1;
|
|
11
|
-
(function(exports) {
|
|
12
|
-
Object.defineProperty(exports, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
exports["default"] = componentWithName2;
|
|
16
|
-
var _react = _interopRequireDefault(React__default);
|
|
17
|
-
var _isRegex = _interopRequireDefault(requireIsRegex());
|
|
18
|
-
var _arrayPrototype = _interopRequireDefault(requireArray_prototype_find());
|
|
19
|
-
var _getComponentName = _interopRequireDefault(requireGetComponentName());
|
|
20
|
-
var _wrapValidator = _interopRequireDefault(requireWrapValidator());
|
|
21
|
-
function _interopRequireDefault(obj) {
|
|
22
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
23
|
-
}
|
|
24
|
-
function stripHOCs(fullName, namesOfHOCsToStrip) {
|
|
25
|
-
var innerName = fullName;
|
|
26
|
-
while (/\([^()]*\)/g.test(innerName)) {
|
|
27
|
-
var HOC = innerName;
|
|
28
|
-
var previousHOC = void 0;
|
|
29
|
-
do {
|
|
30
|
-
previousHOC = HOC;
|
|
31
|
-
HOC = previousHOC.replace(/\([^()]*\)/g, "");
|
|
32
|
-
} while (previousHOC !== HOC);
|
|
33
|
-
if (namesOfHOCsToStrip.indexOf(HOC) === -1) {
|
|
34
|
-
return innerName;
|
|
35
|
-
}
|
|
36
|
-
innerName = innerName.replace(RegExp("^".concat(HOC, "\\(|\\)$"), "g"), "");
|
|
37
|
-
}
|
|
38
|
-
return innerName;
|
|
39
|
-
}
|
|
40
|
-
function hasName(name, namesOfHOCsToStrip, propValue, propName, componentName) {
|
|
41
|
-
for (var _len = arguments.length, rest = new Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) {
|
|
42
|
-
rest[_key - 5] = arguments[_key];
|
|
43
|
-
}
|
|
44
|
-
if (Array.isArray(propValue)) {
|
|
45
|
-
return (0, _arrayPrototype["default"])(propValue.map(function(item) {
|
|
46
|
-
return hasName.apply(void 0, [name, namesOfHOCsToStrip, item, propName, componentName].concat(rest));
|
|
47
|
-
}), Boolean) || null;
|
|
48
|
-
}
|
|
49
|
-
if (!/* @__PURE__ */ _react["default"].isValidElement(propValue)) {
|
|
50
|
-
return new TypeError("".concat(componentName, ".").concat(propName, " is not a valid React element"));
|
|
51
|
-
}
|
|
52
|
-
var type = propValue.type;
|
|
53
|
-
var componentNameFromType = (0, _getComponentName["default"])(type);
|
|
54
|
-
var innerComponentName = namesOfHOCsToStrip.length > 0 ? stripHOCs(componentNameFromType, namesOfHOCsToStrip) : componentNameFromType;
|
|
55
|
-
if ((0, _isRegex["default"])(name) && !name.test(innerComponentName)) {
|
|
56
|
-
return new TypeError("`".concat(componentName, ".").concat(propName, "` only accepts components matching the regular expression ").concat(name));
|
|
57
|
-
}
|
|
58
|
-
if (!(0, _isRegex["default"])(name) && innerComponentName !== name) {
|
|
59
|
-
return new TypeError("`".concat(componentName, ".").concat(propName, "` only accepts components named ").concat(name, ", got ").concat(innerComponentName));
|
|
60
|
-
}
|
|
61
|
-
return null;
|
|
62
|
-
}
|
|
63
|
-
function componentWithName2(name) {
|
|
64
|
-
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
65
|
-
if (typeof name !== "string" && !(0, _isRegex["default"])(name)) {
|
|
66
|
-
throw new TypeError("name must be a string or a regex");
|
|
67
|
-
}
|
|
68
|
-
var passedOptions = Object.keys(options);
|
|
69
|
-
if (passedOptions.length > 1 || passedOptions.length === 1 && passedOptions[0] !== "stripHOCs") {
|
|
70
|
-
throw new TypeError("The only options supported are: “stripHOCs”, got: “".concat(passedOptions.join("”, “"), "”"));
|
|
71
|
-
}
|
|
72
|
-
var _options$stripHOCs = options.stripHOCs, namesOfHOCsToStrip = _options$stripHOCs === void 0 ? [] : _options$stripHOCs;
|
|
73
|
-
var allHOCNamesAreValid = namesOfHOCsToStrip.every(function(x) {
|
|
74
|
-
if (typeof x !== "string" || /[()]/g.test(x)) {
|
|
75
|
-
return false;
|
|
76
|
-
}
|
|
77
|
-
return /^(?:[a-z][a-zA-Z0-9]+|[A-Z][a-z][a-zA-Z0-9]+)$/.test(x);
|
|
78
|
-
});
|
|
79
|
-
if (!allHOCNamesAreValid) {
|
|
80
|
-
throw new TypeError("every provided HOC name must be a string with no parens, and in camelCase");
|
|
81
|
-
}
|
|
82
|
-
function componentWithNameValidator(props, propName, componentName) {
|
|
83
|
-
var propValue = props[propName];
|
|
84
|
-
if (props[propName] == null) {
|
|
85
|
-
return null;
|
|
86
|
-
}
|
|
87
|
-
for (var _len2 = arguments.length, rest = new Array(_len2 > 3 ? _len2 - 3 : 0), _key2 = 3; _key2 < _len2; _key2++) {
|
|
88
|
-
rest[_key2 - 3] = arguments[_key2];
|
|
89
|
-
}
|
|
90
|
-
return hasName.apply(void 0, [name, namesOfHOCsToStrip, propValue, propName, componentName].concat(rest));
|
|
91
|
-
}
|
|
92
|
-
componentWithNameValidator.isRequired = function componentWithNameRequired(props, propName, componentName) {
|
|
93
|
-
var propValue = props[propName];
|
|
94
|
-
if (propValue == null) {
|
|
95
|
-
return new TypeError("`".concat(componentName, ".").concat(propName, "` requires at least one component named ").concat(name));
|
|
96
|
-
}
|
|
97
|
-
for (var _len3 = arguments.length, rest = new Array(_len3 > 3 ? _len3 - 3 : 0), _key3 = 3; _key3 < _len3; _key3++) {
|
|
98
|
-
rest[_key3 - 3] = arguments[_key3];
|
|
99
|
-
}
|
|
100
|
-
return hasName.apply(void 0, [name, namesOfHOCsToStrip, propValue, propName, componentName].concat(rest));
|
|
101
|
-
};
|
|
102
|
-
return (0, _wrapValidator["default"])(componentWithNameValidator, "componentWithName:".concat(name), name);
|
|
103
|
-
}
|
|
104
|
-
})(componentWithName);
|
|
105
|
-
return componentWithName;
|
|
106
|
-
}
|
|
107
|
-
export {
|
|
108
|
-
requireComponentWithName as __require
|
|
109
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { __exports as disallowedIf } from "../../../../../_virtual/disallowedIf.js";
|
|
2
|
-
import { __require as requireWrapValidator } from "./helpers/wrapValidator.js";
|
|
3
|
-
var hasRequiredDisallowedIf;
|
|
4
|
-
function requireDisallowedIf() {
|
|
5
|
-
if (hasRequiredDisallowedIf) return disallowedIf;
|
|
6
|
-
hasRequiredDisallowedIf = 1;
|
|
7
|
-
(function(exports) {
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports["default"] = disallowedIf2;
|
|
12
|
-
var _wrapValidator = _interopRequireDefault(requireWrapValidator());
|
|
13
|
-
function _interopRequireDefault(obj) {
|
|
14
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
15
|
-
}
|
|
16
|
-
function disallowedIf2(propType, otherPropName, otherPropType) {
|
|
17
|
-
if (typeof propType !== "function" || typeof propType.isRequired !== "function") {
|
|
18
|
-
throw new TypeError("a propType validator is required; propType validators must also provide `.isRequired`");
|
|
19
|
-
}
|
|
20
|
-
if (typeof otherPropName !== "string") {
|
|
21
|
-
throw new TypeError("other prop name must be a string");
|
|
22
|
-
}
|
|
23
|
-
if (typeof otherPropType !== "function") {
|
|
24
|
-
throw new TypeError("other prop type validator is required");
|
|
25
|
-
}
|
|
26
|
-
function disallowedIfRequired(props, propName, componentName) {
|
|
27
|
-
for (var _len = arguments.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
|
|
28
|
-
rest[_key - 3] = arguments[_key];
|
|
29
|
-
}
|
|
30
|
-
var error = propType.isRequired.apply(propType, [props, propName, componentName].concat(rest));
|
|
31
|
-
if (error) {
|
|
32
|
-
return error;
|
|
33
|
-
}
|
|
34
|
-
if (props[otherPropName] == null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
var otherError = otherPropType.apply(void 0, [props, otherPropName, componentName].concat(rest));
|
|
38
|
-
if (otherError) {
|
|
39
|
-
return null;
|
|
40
|
-
}
|
|
41
|
-
return new Error("prop “".concat(propName, "” is disallowed when “").concat(otherPropName, "” matches the provided validator"));
|
|
42
|
-
}
|
|
43
|
-
var validator = function disallowedIfPropType(props, propName) {
|
|
44
|
-
if (props[propName] == null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
for (var _len2 = arguments.length, rest = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
|
48
|
-
rest[_key2 - 2] = arguments[_key2];
|
|
49
|
-
}
|
|
50
|
-
return disallowedIfRequired.apply(void 0, [props, propName].concat(rest));
|
|
51
|
-
};
|
|
52
|
-
validator.isRequired = disallowedIfRequired;
|
|
53
|
-
return (0, _wrapValidator["default"])(validator, "disallowedIf", {
|
|
54
|
-
propType,
|
|
55
|
-
otherPropName,
|
|
56
|
-
otherPropType
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
})(disallowedIf);
|
|
60
|
-
return disallowedIf;
|
|
61
|
-
}
|
|
62
|
-
export {
|
|
63
|
-
requireDisallowedIf as __require
|
|
64
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { __exports as elementType } from "../../../../../_virtual/elementType.js";
|
|
2
|
-
import { p as propTypesExports } from "../../../../prop-types/index.js";
|
|
3
|
-
import { __require as requireReactIs } from "../../../../react-is/index.js";
|
|
4
|
-
import { __require as requireAnd } from "./and.js";
|
|
5
|
-
import { __require as requireGetComponentName } from "./helpers/getComponentName.js";
|
|
6
|
-
import { __require as requireWrapValidator } from "./helpers/wrapValidator.js";
|
|
7
|
-
var hasRequiredElementType;
|
|
8
|
-
function requireElementType() {
|
|
9
|
-
if (hasRequiredElementType) return elementType;
|
|
10
|
-
hasRequiredElementType = 1;
|
|
11
|
-
(function(exports) {
|
|
12
|
-
Object.defineProperty(exports, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
exports["default"] = elementTypeValidator;
|
|
16
|
-
var _propTypes = propTypesExports;
|
|
17
|
-
var _reactIs = requireReactIs();
|
|
18
|
-
var _and = _interopRequireDefault(requireAnd());
|
|
19
|
-
var _getComponentName = _interopRequireDefault(requireGetComponentName());
|
|
20
|
-
var _wrapValidator = _interopRequireDefault(requireWrapValidator());
|
|
21
|
-
function _interopRequireDefault(obj) {
|
|
22
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
23
|
-
}
|
|
24
|
-
function _typeof(obj) {
|
|
25
|
-
"@babel/helpers - typeof";
|
|
26
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
27
|
-
_typeof = function _typeof2(obj2) {
|
|
28
|
-
return typeof obj2;
|
|
29
|
-
};
|
|
30
|
-
} else {
|
|
31
|
-
_typeof = function _typeof2(obj2) {
|
|
32
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
return _typeof(obj);
|
|
36
|
-
}
|
|
37
|
-
function getTypeName(Type) {
|
|
38
|
-
if (typeof Type === "string") {
|
|
39
|
-
return Type;
|
|
40
|
-
}
|
|
41
|
-
var type = (0, _getComponentName["default"])(Type);
|
|
42
|
-
return type || "Anonymous Component";
|
|
43
|
-
}
|
|
44
|
-
function validateElementType(Type, props, propName, componentName) {
|
|
45
|
-
var type = props[propName].type;
|
|
46
|
-
if (type === Type) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
return new TypeError("".concat(componentName, ".").concat(propName, " must be a React element of type ").concat(getTypeName(Type)));
|
|
50
|
-
}
|
|
51
|
-
function elementTypeValidator(Type) {
|
|
52
|
-
if (Type === "*") {
|
|
53
|
-
return (0, _wrapValidator["default"])(_propTypes.element, "elementType(*)", Type);
|
|
54
|
-
}
|
|
55
|
-
if (!(0, _reactIs.isValidElementType)(Type)) {
|
|
56
|
-
throw new TypeError('Type must be a React Component, an HTML element tag name, or "*". Got an '.concat(_typeof(Type)));
|
|
57
|
-
}
|
|
58
|
-
function elementType2(props, propName, componentName) {
|
|
59
|
-
if (props[propName] == null) {
|
|
60
|
-
return null;
|
|
61
|
-
}
|
|
62
|
-
for (var _len = arguments.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
|
|
63
|
-
rest[_key - 3] = arguments[_key];
|
|
64
|
-
}
|
|
65
|
-
return validateElementType.apply(void 0, [Type, props, propName, componentName].concat(rest));
|
|
66
|
-
}
|
|
67
|
-
elementType2.isRequired = elementType2;
|
|
68
|
-
var typeName = getTypeName(Type);
|
|
69
|
-
var validatorName = "elementType(".concat(typeName, ")");
|
|
70
|
-
return (0, _wrapValidator["default"])((0, _and["default"])([_propTypes.element, elementType2], validatorName), validatorName, Type);
|
|
71
|
-
}
|
|
72
|
-
})(elementType);
|
|
73
|
-
return elementType;
|
|
74
|
-
}
|
|
75
|
-
export {
|
|
76
|
-
requireElementType as __require
|
|
77
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { __exports as empty } from "../../../../../_virtual/empty.js";
|
|
2
|
-
import { p as propTypesExports } from "../../../../prop-types/index.js";
|
|
3
|
-
import { __require as requireOr } from "./or.js";
|
|
4
|
-
import { __require as requireExplicitNull } from "./explicitNull.js";
|
|
5
|
-
import { __require as requireWithShape } from "./withShape.js";
|
|
6
|
-
import { __require as requireWrapValidator } from "./helpers/wrapValidator.js";
|
|
7
|
-
var hasRequiredEmpty;
|
|
8
|
-
function requireEmpty() {
|
|
9
|
-
if (hasRequiredEmpty) return empty;
|
|
10
|
-
hasRequiredEmpty = 1;
|
|
11
|
-
(function(exports) {
|
|
12
|
-
Object.defineProperty(exports, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
exports["default"] = void 0;
|
|
16
|
-
var _propTypes = propTypesExports;
|
|
17
|
-
var _or = _interopRequireDefault(requireOr());
|
|
18
|
-
var _explicitNull = _interopRequireDefault(requireExplicitNull());
|
|
19
|
-
var _withShape = _interopRequireDefault(requireWithShape());
|
|
20
|
-
var _wrapValidator = _interopRequireDefault(requireWrapValidator());
|
|
21
|
-
function _interopRequireDefault(obj) {
|
|
22
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
23
|
-
}
|
|
24
|
-
var arrayOfValidator;
|
|
25
|
-
var validator = (0, _or["default"])([
|
|
26
|
-
_explicitNull["default"],
|
|
27
|
-
// null/undefined
|
|
28
|
-
(0, _propTypes.oneOf)([false, "", NaN]),
|
|
29
|
-
(0, _withShape["default"])(_propTypes.array, {
|
|
30
|
-
length: (0, _propTypes.oneOf)([0]).isRequired
|
|
31
|
-
}).isRequired,
|
|
32
|
-
function() {
|
|
33
|
-
return arrayOfValidator.apply(void 0, arguments);
|
|
34
|
-
}
|
|
35
|
-
]);
|
|
36
|
-
arrayOfValidator = (0, _propTypes.arrayOf)(validator).isRequired;
|
|
37
|
-
var _default = function _default2() {
|
|
38
|
-
return (0, _wrapValidator["default"])(validator, "empty");
|
|
39
|
-
};
|
|
40
|
-
exports["default"] = _default;
|
|
41
|
-
})(empty);
|
|
42
|
-
return empty;
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
requireEmpty as __require
|
|
46
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { __exports as explicitNull } from "../../../../../_virtual/explicitNull.js";
|
|
2
|
-
import { __require as requireWrapValidator } from "./helpers/wrapValidator.js";
|
|
3
|
-
var hasRequiredExplicitNull;
|
|
4
|
-
function requireExplicitNull() {
|
|
5
|
-
if (hasRequiredExplicitNull) return explicitNull;
|
|
6
|
-
hasRequiredExplicitNull = 1;
|
|
7
|
-
(function(exports) {
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports["default"] = void 0;
|
|
12
|
-
var _wrapValidator = _interopRequireDefault(requireWrapValidator());
|
|
13
|
-
function _interopRequireDefault(obj) {
|
|
14
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
15
|
-
}
|
|
16
|
-
function _typeof(obj) {
|
|
17
|
-
"@babel/helpers - typeof";
|
|
18
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
19
|
-
_typeof = function _typeof2(obj2) {
|
|
20
|
-
return typeof obj2;
|
|
21
|
-
};
|
|
22
|
-
} else {
|
|
23
|
-
_typeof = function _typeof2(obj2) {
|
|
24
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
return _typeof(obj);
|
|
28
|
-
}
|
|
29
|
-
function explicitNull2(props, propName, componentName) {
|
|
30
|
-
if (props[propName] == null) {
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
return new TypeError("".concat(componentName, ": prop “").concat(propName, "” must be null or undefined; received ").concat(_typeof(props[propName])));
|
|
34
|
-
}
|
|
35
|
-
explicitNull2.isRequired = function explicitNullRequired(props, propName, componentName) {
|
|
36
|
-
if (props[propName] === null) {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
return new TypeError("".concat(componentName, ": prop “").concat(propName, "” must be null; received ").concat(_typeof(props[propName])));
|
|
40
|
-
};
|
|
41
|
-
var _default = function _default2() {
|
|
42
|
-
return (0, _wrapValidator["default"])(explicitNull2, "explicitNull");
|
|
43
|
-
};
|
|
44
|
-
exports["default"] = _default;
|
|
45
|
-
})(explicitNull);
|
|
46
|
-
return explicitNull;
|
|
47
|
-
}
|
|
48
|
-
export {
|
|
49
|
-
requireExplicitNull as __require
|
|
50
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __exports as getComponentName } from "../../../../../../_virtual/getComponentName2.js";
|
|
2
|
-
import { __require as requireFunction_prototype_name } from "../../../../../function.prototype.name/index.js";
|
|
3
|
-
import { __require as requireReactIs } from "../../../../../react-is/index.js";
|
|
4
|
-
var hasRequiredGetComponentName;
|
|
5
|
-
function requireGetComponentName() {
|
|
6
|
-
if (hasRequiredGetComponentName) return getComponentName;
|
|
7
|
-
hasRequiredGetComponentName = 1;
|
|
8
|
-
(function(exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
exports["default"] = getComponentName2;
|
|
13
|
-
var _functionPrototype = _interopRequireDefault(requireFunction_prototype_name());
|
|
14
|
-
var _reactIs = requireReactIs();
|
|
15
|
-
function _interopRequireDefault(obj) {
|
|
16
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
17
|
-
}
|
|
18
|
-
function getComponentName2(Component) {
|
|
19
|
-
if (typeof Component === "string") {
|
|
20
|
-
return Component;
|
|
21
|
-
}
|
|
22
|
-
if (typeof Component === "function") {
|
|
23
|
-
return Component.displayName || (0, _functionPrototype["default"])(Component);
|
|
24
|
-
}
|
|
25
|
-
if ((0, _reactIs.isForwardRef)({
|
|
26
|
-
type: Component,
|
|
27
|
-
$$typeof: _reactIs.Element
|
|
28
|
-
})) {
|
|
29
|
-
return Component.displayName;
|
|
30
|
-
}
|
|
31
|
-
if ((0, _reactIs.isMemo)(Component)) {
|
|
32
|
-
return getComponentName2(Component.type);
|
|
33
|
-
}
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
})(getComponentName);
|
|
37
|
-
return getComponentName;
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
requireGetComponentName as __require
|
|
41
|
-
};
|
package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isInteger.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __exports as isInteger } from "../../../../../../_virtual/isInteger.js";
|
|
2
|
-
var hasRequiredIsInteger;
|
|
3
|
-
function requireIsInteger() {
|
|
4
|
-
if (hasRequiredIsInteger) return isInteger;
|
|
5
|
-
hasRequiredIsInteger = 1;
|
|
6
|
-
(function(exports) {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports["default"] = void 0;
|
|
11
|
-
var floor = Math.floor;
|
|
12
|
-
var finite = isFinite;
|
|
13
|
-
var _default = Number.isInteger || /* istanbul ignore next */
|
|
14
|
-
function(x) {
|
|
15
|
-
return typeof x === "number" && finite(x) && floor(x) === x;
|
|
16
|
-
};
|
|
17
|
-
exports["default"] = _default;
|
|
18
|
-
})(isInteger);
|
|
19
|
-
return isInteger;
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
requireIsInteger as __require
|
|
23
|
-
};
|
package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isPlainObject.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __exports as isPlainObject } from "../../../../../../_virtual/isPlainObject2.js";
|
|
2
|
-
import { __require as requireIsPlainObject$1 } from "../../../../../prop-types-exact/build/helpers/isPlainObject.js";
|
|
3
|
-
var hasRequiredIsPlainObject;
|
|
4
|
-
function requireIsPlainObject() {
|
|
5
|
-
if (hasRequiredIsPlainObject) return isPlainObject;
|
|
6
|
-
hasRequiredIsPlainObject = 1;
|
|
7
|
-
(function(exports) {
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports["default"] = void 0;
|
|
12
|
-
var _isPlainObject = _interopRequireDefault(requireIsPlainObject$1());
|
|
13
|
-
function _interopRequireDefault(obj) {
|
|
14
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
15
|
-
}
|
|
16
|
-
var _default = _isPlainObject["default"];
|
|
17
|
-
exports["default"] = _default;
|
|
18
|
-
})(isPlainObject);
|
|
19
|
-
return isPlainObject;
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
requireIsPlainObject as __require
|
|
23
|
-
};
|
package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isPrimitive.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __exports as isPrimitive } from "../../../../../../_virtual/isPrimitive.js";
|
|
2
|
-
var hasRequiredIsPrimitive;
|
|
3
|
-
function requireIsPrimitive() {
|
|
4
|
-
if (hasRequiredIsPrimitive) return isPrimitive;
|
|
5
|
-
hasRequiredIsPrimitive = 1;
|
|
6
|
-
(function(exports) {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports["default"] = isPrimitive2;
|
|
11
|
-
function _typeof(obj) {
|
|
12
|
-
"@babel/helpers - typeof";
|
|
13
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
14
|
-
_typeof = function _typeof2(obj2) {
|
|
15
|
-
return typeof obj2;
|
|
16
|
-
};
|
|
17
|
-
} else {
|
|
18
|
-
_typeof = function _typeof2(obj2) {
|
|
19
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
return _typeof(obj);
|
|
23
|
-
}
|
|
24
|
-
function isPrimitive2(x) {
|
|
25
|
-
return !x || _typeof(x) !== "object" && typeof x !== "function";
|
|
26
|
-
}
|
|
27
|
-
})(isPrimitive);
|
|
28
|
-
return isPrimitive;
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
requireIsPrimitive as __require
|
|
32
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __exports as renderableChildren } from "../../../../../../_virtual/renderableChildren.js";
|
|
2
|
-
import React__default from "react";
|
|
3
|
-
var hasRequiredRenderableChildren;
|
|
4
|
-
function requireRenderableChildren() {
|
|
5
|
-
if (hasRequiredRenderableChildren) return renderableChildren;
|
|
6
|
-
hasRequiredRenderableChildren = 1;
|
|
7
|
-
(function(exports) {
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports["default"] = renderableChildren2;
|
|
12
|
-
var _react = _interopRequireDefault(React__default);
|
|
13
|
-
function _interopRequireDefault(obj) {
|
|
14
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
15
|
-
}
|
|
16
|
-
function renderableChildren2(childrenProp) {
|
|
17
|
-
return _react["default"].Children.toArray(childrenProp).filter(function(child) {
|
|
18
|
-
return child === 0 || child;
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
})(renderableChildren);
|
|
22
|
-
return renderableChildren;
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
requireRenderableChildren as __require
|
|
26
|
-
};
|
package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/typeOf.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { __exports as typeOf } from "../../../../../../_virtual/typeOf.js";
|
|
2
|
-
import React__default from "react";
|
|
3
|
-
var hasRequiredTypeOf;
|
|
4
|
-
function requireTypeOf() {
|
|
5
|
-
if (hasRequiredTypeOf) return typeOf;
|
|
6
|
-
hasRequiredTypeOf = 1;
|
|
7
|
-
(function(exports) {
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports["default"] = typeOf2;
|
|
12
|
-
var _react = _interopRequireDefault(React__default);
|
|
13
|
-
function _interopRequireDefault(obj) {
|
|
14
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
15
|
-
}
|
|
16
|
-
function _typeof(obj) {
|
|
17
|
-
"@babel/helpers - typeof";
|
|
18
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
19
|
-
_typeof = function _typeof2(obj2) {
|
|
20
|
-
return typeof obj2;
|
|
21
|
-
};
|
|
22
|
-
} else {
|
|
23
|
-
_typeof = function _typeof2(obj2) {
|
|
24
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
return _typeof(obj);
|
|
28
|
-
}
|
|
29
|
-
function typeOf2(child) {
|
|
30
|
-
if (child === null) {
|
|
31
|
-
return "null";
|
|
32
|
-
}
|
|
33
|
-
if (Array.isArray(child)) {
|
|
34
|
-
return "array";
|
|
35
|
-
}
|
|
36
|
-
if (_typeof(child) !== "object") {
|
|
37
|
-
return _typeof(child);
|
|
38
|
-
}
|
|
39
|
-
if (/* @__PURE__ */ _react["default"].isValidElement(child)) {
|
|
40
|
-
return child.type;
|
|
41
|
-
}
|
|
42
|
-
return child;
|
|
43
|
-
}
|
|
44
|
-
})(typeOf);
|
|
45
|
-
return typeOf;
|
|
46
|
-
}
|
|
47
|
-
export {
|
|
48
|
-
requireTypeOf as __require
|
|
49
|
-
};
|
package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/wrapValidator.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { __exports as wrapValidator } from "../../../../../../_virtual/wrapValidator2.js";
|
|
2
|
-
import { __require as requireObject_assign } from "../../../../../object.assign/index.js";
|
|
3
|
-
var hasRequiredWrapValidator;
|
|
4
|
-
function requireWrapValidator() {
|
|
5
|
-
if (hasRequiredWrapValidator) return wrapValidator;
|
|
6
|
-
hasRequiredWrapValidator = 1;
|
|
7
|
-
(function(exports) {
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports["default"] = wrapValidator2;
|
|
12
|
-
var _object = _interopRequireDefault(requireObject_assign());
|
|
13
|
-
function _interopRequireDefault(obj) {
|
|
14
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
15
|
-
}
|
|
16
|
-
function wrapValidator2(validator, typeName) {
|
|
17
|
-
var typeChecker = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
18
|
-
return (0, _object["default"])(validator.bind(), {
|
|
19
|
-
typeName,
|
|
20
|
-
typeChecker,
|
|
21
|
-
isRequired: (0, _object["default"])(validator.isRequired.bind(), {
|
|
22
|
-
typeName,
|
|
23
|
-
typeChecker,
|
|
24
|
-
typeRequired: true
|
|
25
|
-
})
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
})(wrapValidator);
|
|
29
|
-
return wrapValidator;
|
|
30
|
-
}
|
|
31
|
-
export {
|
|
32
|
-
requireWrapValidator as __require
|
|
33
|
-
};
|