isomorfeus-redux 4.2.0 → 22.9.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +176 -0
- data/lib/app_state.rb +25 -0
- data/lib/isomorfeus/browser_store_api.rb +0 -16
- data/lib/isomorfeus/redux/config.rb +97 -14
- data/lib/isomorfeus/redux/handler.rb +35 -0
- data/lib/isomorfeus/redux/version.rb +5 -0
- data/lib/isomorfeus/redux_imports.rb +14 -0
- data/lib/{redux/reducers.rb → isomorfeus/redux_reducers.rb} +15 -13
- data/lib/isomorfeus-redux.rb +18 -30
- data/lib/local_store.rb +27 -30
- data/lib/redux/store.rb +156 -120
- data/lib/session_store.rb +28 -30
- metadata +24 -247
- data/lib/app_store.rb +0 -42
- data/lib/isomorfeus/core_ext/hash/deep_merge.rb +0 -34
- data/lib/isomorfeus/core_ext/kernel.rb +0 -30
- data/lib/isomorfeus/execution_environment.rb +0 -67
- data/lib/isomorfeus/redux/imports.rb +0 -17
- data/lib/redux/version.rb +0 -3
- data/lib/redux.rb +0 -118
- data/node_modules/.package-lock.json +0 -31
- data/node_modules/@babel/runtime/LICENSE +0 -22
- data/node_modules/@babel/runtime/README.md +0 -19
- data/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -99
- data/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -6
- data/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -31
- data/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -12
- data/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -6
- data/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -8
- data/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -10
- data/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -57
- data/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -16
- data/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -38
- data/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -8
- data/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -8
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -23
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -10
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -14
- data/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -8
- data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -8
- data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -8
- data/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -10
- data/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -6
- data/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -11
- data/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -11
- data/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -9
- data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -10
- data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -8
- data/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -12
- data/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -10
- data/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -9
- data/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -6
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -14
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -14
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -15
- data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -9
- data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -6
- data/node_modules/@babel/runtime/helpers/construct.js +0 -26
- data/node_modules/@babel/runtime/helpers/createClass.js +0 -18
- data/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -61
- data/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -25
- data/node_modules/@babel/runtime/helpers/createSuper.js +0 -25
- data/node_modules/@babel/runtime/helpers/decorate.js +0 -401
- data/node_modules/@babel/runtime/helpers/defaults.js +0 -17
- data/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -25
- data/node_modules/@babel/runtime/helpers/defineProperty.js +0 -17
- data/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
- data/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
- data/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
- data/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
- data/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -13
- data/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
- data/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
- data/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
- data/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
- data/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
- data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
- data/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
- data/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
- data/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
- data/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
- data/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
- data/node_modules/@babel/runtime/helpers/esm/extends.js +0 -17
- data/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
- data/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -15
- data/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
- data/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
- data/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
- data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
- data/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -46
- data/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
- data/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -39
- data/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
- data/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
- data/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
- data/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
- data/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
- data/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
- data/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
- data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
- data/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
- data/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
- data/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
- data/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
- data/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -65
- data/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
- data/node_modules/@babel/runtime/helpers/extends.js +0 -21
- data/node_modules/@babel/runtime/helpers/get.js +0 -27
- data/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -10
- data/node_modules/@babel/runtime/helpers/inherits.js +0 -19
- data/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -10
- data/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -12
- data/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -6
- data/node_modules/@babel/runtime/helpers/instanceof.js +0 -10
- data/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -8
- data/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -54
- data/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -6
- data/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -15
- data/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -6
- data/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -32
- data/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -17
- data/node_modules/@babel/runtime/helpers/jsx.js +0 -50
- data/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -13
- data/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -8
- data/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -6
- data/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -6
- data/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -6
- data/node_modules/@babel/runtime/helpers/objectSpread.js +0 -23
- data/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -42
- data/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -23
- data/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -17
- data/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -16
- data/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -6
- data/node_modules/@babel/runtime/helpers/set.js +0 -55
- data/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -12
- data/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -10
- data/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -14
- data/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -14
- data/node_modules/@babel/runtime/helpers/superPropBase.js +0 -13
- data/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -14
- data/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -11
- data/node_modules/@babel/runtime/helpers/tdz.js +0 -6
- data/node_modules/@babel/runtime/helpers/temporalRef.js +0 -10
- data/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -4
- data/node_modules/@babel/runtime/helpers/toArray.js +0 -14
- data/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -14
- data/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -17
- data/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -11
- data/node_modules/@babel/runtime/helpers/typeof.js +0 -22
- data/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -13
- data/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -10
- data/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -45
- data/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -72
- data/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -6
- data/node_modules/@babel/runtime/package.json +0 -848
- data/node_modules/@babel/runtime/regenerator/index.js +0 -1
- data/node_modules/redux/LICENSE.md +0 -21
- data/node_modules/redux/README.md +0 -322
- data/node_modules/redux/dist/redux.js +0 -768
- data/node_modules/redux/dist/redux.min.js +0 -1
- data/node_modules/redux/es/redux.js +0 -716
- data/node_modules/redux/es/redux.mjs +0 -1
- data/node_modules/redux/index.d.ts +0 -776
- data/node_modules/redux/lib/redux.js +0 -730
- data/node_modules/redux/package.json +0 -108
- data/node_modules/redux/src/applyMiddleware.js +0 -41
- data/node_modules/redux/src/bindActionCreators.js +0 -52
- data/node_modules/redux/src/combineReducers.js +0 -175
- data/node_modules/redux/src/compose.js +0 -22
- data/node_modules/redux/src/createStore.js +0 -347
- data/node_modules/redux/src/index.js +0 -37
- data/node_modules/redux/src/utils/actionTypes.js +0 -17
- data/node_modules/redux/src/utils/formatProdErrorMessage.js +0 -15
- data/node_modules/redux/src/utils/isPlainObject.js +0 -14
- data/node_modules/redux/src/utils/kindOf.js +0 -70
- data/node_modules/redux/src/utils/symbol-observable.js +0 -3
- data/node_modules/redux/src/utils/warning.js +0 -19
- data/node_modules/regenerator-runtime/LICENSE +0 -21
- data/node_modules/regenerator-runtime/README.md +0 -31
- data/node_modules/regenerator-runtime/package.json +0 -19
- data/node_modules/regenerator-runtime/path.js +0 -11
- data/node_modules/regenerator-runtime/runtime.js +0 -754
- data/package.json +0 -6
@@ -1,46 +0,0 @@
|
|
1
|
-
var REACT_ELEMENT_TYPE;
|
2
|
-
export default function _createRawReactElement(type, props, key, children) {
|
3
|
-
if (!REACT_ELEMENT_TYPE) {
|
4
|
-
REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7;
|
5
|
-
}
|
6
|
-
|
7
|
-
var defaultProps = type && type.defaultProps;
|
8
|
-
var childrenLength = arguments.length - 3;
|
9
|
-
|
10
|
-
if (!props && childrenLength !== 0) {
|
11
|
-
props = {
|
12
|
-
children: void 0
|
13
|
-
};
|
14
|
-
}
|
15
|
-
|
16
|
-
if (childrenLength === 1) {
|
17
|
-
props.children = children;
|
18
|
-
} else if (childrenLength > 1) {
|
19
|
-
var childArray = new Array(childrenLength);
|
20
|
-
|
21
|
-
for (var i = 0; i < childrenLength; i++) {
|
22
|
-
childArray[i] = arguments[i + 3];
|
23
|
-
}
|
24
|
-
|
25
|
-
props.children = childArray;
|
26
|
-
}
|
27
|
-
|
28
|
-
if (props && defaultProps) {
|
29
|
-
for (var propName in defaultProps) {
|
30
|
-
if (props[propName] === void 0) {
|
31
|
-
props[propName] = defaultProps[propName];
|
32
|
-
}
|
33
|
-
}
|
34
|
-
} else if (!props) {
|
35
|
-
props = defaultProps || {};
|
36
|
-
}
|
37
|
-
|
38
|
-
return {
|
39
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
40
|
-
type: type,
|
41
|
-
key: key === undefined ? null : "" + key,
|
42
|
-
ref: null,
|
43
|
-
props: props,
|
44
|
-
_owner: null
|
45
|
-
};
|
46
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import arrayLikeToArray from "./arrayLikeToArray.js";
|
2
|
-
export default function _maybeArrayLike(next, arr, i) {
|
3
|
-
if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
|
4
|
-
var len = arr.length;
|
5
|
-
return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
|
6
|
-
}
|
7
|
-
|
8
|
-
return next(arr, i);
|
9
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import defineProperty from "./defineProperty.js";
|
2
|
-
export default function _objectSpread(target) {
|
3
|
-
for (var i = 1; i < arguments.length; i++) {
|
4
|
-
var source = arguments[i] != null ? Object(arguments[i]) : {};
|
5
|
-
var ownKeys = Object.keys(source);
|
6
|
-
|
7
|
-
if (typeof Object.getOwnPropertySymbols === 'function') {
|
8
|
-
ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function (sym) {
|
9
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
10
|
-
}));
|
11
|
-
}
|
12
|
-
|
13
|
-
ownKeys.forEach(function (key) {
|
14
|
-
defineProperty(target, key, source[key]);
|
15
|
-
});
|
16
|
-
}
|
17
|
-
|
18
|
-
return target;
|
19
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import defineProperty from "./defineProperty.js";
|
2
|
-
|
3
|
-
function ownKeys(object, enumerableOnly) {
|
4
|
-
var keys = Object.keys(object);
|
5
|
-
|
6
|
-
if (Object.getOwnPropertySymbols) {
|
7
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
8
|
-
|
9
|
-
if (enumerableOnly) {
|
10
|
-
symbols = symbols.filter(function (sym) {
|
11
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
12
|
-
});
|
13
|
-
}
|
14
|
-
|
15
|
-
keys.push.apply(keys, symbols);
|
16
|
-
}
|
17
|
-
|
18
|
-
return keys;
|
19
|
-
}
|
20
|
-
|
21
|
-
export default function _objectSpread2(target) {
|
22
|
-
for (var i = 1; i < arguments.length; i++) {
|
23
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
24
|
-
|
25
|
-
if (i % 2) {
|
26
|
-
ownKeys(Object(source), true).forEach(function (key) {
|
27
|
-
defineProperty(target, key, source[key]);
|
28
|
-
});
|
29
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
30
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
31
|
-
} else {
|
32
|
-
ownKeys(Object(source)).forEach(function (key) {
|
33
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
34
|
-
});
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
return target;
|
39
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose.js";
|
2
|
-
export default function _objectWithoutProperties(source, excluded) {
|
3
|
-
if (source == null) return {};
|
4
|
-
var target = objectWithoutPropertiesLoose(source, excluded);
|
5
|
-
var key, i;
|
6
|
-
|
7
|
-
if (Object.getOwnPropertySymbols) {
|
8
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
9
|
-
|
10
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
11
|
-
key = sourceSymbolKeys[i];
|
12
|
-
if (excluded.indexOf(key) >= 0) continue;
|
13
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
14
|
-
target[key] = source[key];
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
return target;
|
19
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export default function _objectWithoutPropertiesLoose(source, excluded) {
|
2
|
-
if (source == null) return {};
|
3
|
-
var target = {};
|
4
|
-
var sourceKeys = Object.keys(source);
|
5
|
-
var key, i;
|
6
|
-
|
7
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
8
|
-
key = sourceKeys[i];
|
9
|
-
if (excluded.indexOf(key) >= 0) continue;
|
10
|
-
target[key] = source[key];
|
11
|
-
}
|
12
|
-
|
13
|
-
return target;
|
14
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
2
|
-
import assertThisInitialized from "./assertThisInitialized.js";
|
3
|
-
export default function _possibleConstructorReturn(self, call) {
|
4
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
5
|
-
return call;
|
6
|
-
} else if (call !== void 0) {
|
7
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
8
|
-
}
|
9
|
-
|
10
|
-
return assertThisInitialized(self);
|
11
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import superPropBase from "./superPropBase.js";
|
2
|
-
import defineProperty from "./defineProperty.js";
|
3
|
-
|
4
|
-
function set(target, property, value, receiver) {
|
5
|
-
if (typeof Reflect !== "undefined" && Reflect.set) {
|
6
|
-
set = Reflect.set;
|
7
|
-
} else {
|
8
|
-
set = function set(target, property, value, receiver) {
|
9
|
-
var base = superPropBase(target, property);
|
10
|
-
var desc;
|
11
|
-
|
12
|
-
if (base) {
|
13
|
-
desc = Object.getOwnPropertyDescriptor(base, property);
|
14
|
-
|
15
|
-
if (desc.set) {
|
16
|
-
desc.set.call(receiver, value);
|
17
|
-
return true;
|
18
|
-
} else if (!desc.writable) {
|
19
|
-
return false;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
desc = Object.getOwnPropertyDescriptor(receiver, property);
|
24
|
-
|
25
|
-
if (desc) {
|
26
|
-
if (!desc.writable) {
|
27
|
-
return false;
|
28
|
-
}
|
29
|
-
|
30
|
-
desc.value = value;
|
31
|
-
Object.defineProperty(receiver, property, desc);
|
32
|
-
} else {
|
33
|
-
defineProperty(receiver, property, value);
|
34
|
-
}
|
35
|
-
|
36
|
-
return true;
|
37
|
-
};
|
38
|
-
}
|
39
|
-
|
40
|
-
return set(target, property, value, receiver);
|
41
|
-
}
|
42
|
-
|
43
|
-
export default function _set(target, property, value, receiver, isStrict) {
|
44
|
-
var s = set(target, property, value, receiver || target);
|
45
|
-
|
46
|
-
if (!s && isStrict) {
|
47
|
-
throw new Error('failed to set property');
|
48
|
-
}
|
49
|
-
|
50
|
-
return value;
|
51
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import arrayWithHoles from "./arrayWithHoles.js";
|
2
|
-
import iterableToArrayLimit from "./iterableToArrayLimit.js";
|
3
|
-
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
4
|
-
import nonIterableRest from "./nonIterableRest.js";
|
5
|
-
export default function _slicedToArray(arr, i) {
|
6
|
-
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
7
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import arrayWithHoles from "./arrayWithHoles.js";
|
2
|
-
import iterableToArrayLimitLoose from "./iterableToArrayLimitLoose.js";
|
3
|
-
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
4
|
-
import nonIterableRest from "./nonIterableRest.js";
|
5
|
-
export default function _slicedToArrayLoose(arr, i) {
|
6
|
-
return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
7
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import getPrototypeOf from "./getPrototypeOf.js";
|
2
|
-
export default function _superPropBase(object, property) {
|
3
|
-
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
4
|
-
object = getPrototypeOf(object);
|
5
|
-
if (object === null) break;
|
6
|
-
}
|
7
|
-
|
8
|
-
return object;
|
9
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export default function _temporalUndefined() {}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import arrayWithHoles from "./arrayWithHoles.js";
|
2
|
-
import iterableToArray from "./iterableToArray.js";
|
3
|
-
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
4
|
-
import nonIterableRest from "./nonIterableRest.js";
|
5
|
-
export default function _toArray(arr) {
|
6
|
-
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
7
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import arrayWithoutHoles from "./arrayWithoutHoles.js";
|
2
|
-
import iterableToArray from "./iterableToArray.js";
|
3
|
-
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
4
|
-
import nonIterableSpread from "./nonIterableSpread.js";
|
5
|
-
export default function _toConsumableArray(arr) {
|
6
|
-
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
7
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
2
|
-
export default function _toPrimitive(input, hint) {
|
3
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
4
|
-
var prim = input[Symbol.toPrimitive];
|
5
|
-
|
6
|
-
if (prim !== undefined) {
|
7
|
-
var res = prim.call(input, hint || "default");
|
8
|
-
if (_typeof(res) !== "object") return res;
|
9
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
10
|
-
}
|
11
|
-
|
12
|
-
return (hint === "string" ? String : Number)(input);
|
13
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
export default function _typeof(obj) {
|
2
|
-
"@babel/helpers - typeof";
|
3
|
-
|
4
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
5
|
-
_typeof = function _typeof(obj) {
|
6
|
-
return typeof obj;
|
7
|
-
};
|
8
|
-
} else {
|
9
|
-
_typeof = function _typeof(obj) {
|
10
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
11
|
-
};
|
12
|
-
}
|
13
|
-
|
14
|
-
return _typeof(obj);
|
15
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import arrayLikeToArray from "./arrayLikeToArray.js";
|
2
|
-
export default function _unsupportedIterableToArray(o, minLen) {
|
3
|
-
if (!o) return;
|
4
|
-
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|
5
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
6
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
7
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
8
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
|
9
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import getPrototypeOf from "./getPrototypeOf.js";
|
2
|
-
import setPrototypeOf from "./setPrototypeOf.js";
|
3
|
-
import isNativeFunction from "./isNativeFunction.js";
|
4
|
-
import construct from "./construct.js";
|
5
|
-
export default function _wrapNativeSuper(Class) {
|
6
|
-
var _cache = typeof Map === "function" ? new Map() : undefined;
|
7
|
-
|
8
|
-
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
9
|
-
if (Class === null || !isNativeFunction(Class)) return Class;
|
10
|
-
|
11
|
-
if (typeof Class !== "function") {
|
12
|
-
throw new TypeError("Super expression must either be null or a function");
|
13
|
-
}
|
14
|
-
|
15
|
-
if (typeof _cache !== "undefined") {
|
16
|
-
if (_cache.has(Class)) return _cache.get(Class);
|
17
|
-
|
18
|
-
_cache.set(Class, Wrapper);
|
19
|
-
}
|
20
|
-
|
21
|
-
function Wrapper() {
|
22
|
-
return construct(Class, arguments, getPrototypeOf(this).constructor);
|
23
|
-
}
|
24
|
-
|
25
|
-
Wrapper.prototype = Object.create(Class.prototype, {
|
26
|
-
constructor: {
|
27
|
-
value: Wrapper,
|
28
|
-
enumerable: false,
|
29
|
-
writable: true,
|
30
|
-
configurable: true
|
31
|
-
}
|
32
|
-
});
|
33
|
-
return setPrototypeOf(Wrapper, Class);
|
34
|
-
};
|
35
|
-
|
36
|
-
return _wrapNativeSuper(Class);
|
37
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
2
|
-
import setPrototypeOf from "./setPrototypeOf.js";
|
3
|
-
import inherits from "./inherits.js";
|
4
|
-
export default function _wrapRegExp() {
|
5
|
-
_wrapRegExp = function _wrapRegExp(re, groups) {
|
6
|
-
return new BabelRegExp(re, undefined, groups);
|
7
|
-
};
|
8
|
-
|
9
|
-
var _super = RegExp.prototype;
|
10
|
-
|
11
|
-
var _groups = new WeakMap();
|
12
|
-
|
13
|
-
function BabelRegExp(re, flags, groups) {
|
14
|
-
var _this = new RegExp(re, flags);
|
15
|
-
|
16
|
-
_groups.set(_this, groups || _groups.get(re));
|
17
|
-
|
18
|
-
return setPrototypeOf(_this, BabelRegExp.prototype);
|
19
|
-
}
|
20
|
-
|
21
|
-
inherits(BabelRegExp, RegExp);
|
22
|
-
|
23
|
-
BabelRegExp.prototype.exec = function (str) {
|
24
|
-
var result = _super.exec.call(this, str);
|
25
|
-
|
26
|
-
if (result) result.groups = buildGroups(result, this);
|
27
|
-
return result;
|
28
|
-
};
|
29
|
-
|
30
|
-
BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
|
31
|
-
if (typeof substitution === "string") {
|
32
|
-
var groups = _groups.get(this);
|
33
|
-
|
34
|
-
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
|
35
|
-
return "$" + groups[name];
|
36
|
-
}));
|
37
|
-
} else if (typeof substitution === "function") {
|
38
|
-
var _this = this;
|
39
|
-
|
40
|
-
return _super[Symbol.replace].call(this, str, function () {
|
41
|
-
var args = arguments;
|
42
|
-
|
43
|
-
if (_typeof(args[args.length - 1]) !== "object") {
|
44
|
-
args = [].slice.call(args);
|
45
|
-
args.push(buildGroups(args, _this));
|
46
|
-
}
|
47
|
-
|
48
|
-
return substitution.apply(this, args);
|
49
|
-
});
|
50
|
-
} else {
|
51
|
-
return _super[Symbol.replace].call(this, str, substitution);
|
52
|
-
}
|
53
|
-
};
|
54
|
-
|
55
|
-
function buildGroups(result, re) {
|
56
|
-
var g = _groups.get(re);
|
57
|
-
|
58
|
-
return Object.keys(g).reduce(function (groups, name) {
|
59
|
-
groups[name] = result[g[name]];
|
60
|
-
return groups;
|
61
|
-
}, Object.create(null));
|
62
|
-
}
|
63
|
-
|
64
|
-
return _wrapRegExp.apply(this, arguments);
|
65
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
function _extends() {
|
2
|
-
module.exports = _extends = Object.assign || function (target) {
|
3
|
-
for (var i = 1; i < arguments.length; i++) {
|
4
|
-
var source = arguments[i];
|
5
|
-
|
6
|
-
for (var key in source) {
|
7
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
8
|
-
target[key] = source[key];
|
9
|
-
}
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
return target;
|
14
|
-
};
|
15
|
-
|
16
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
17
|
-
return _extends.apply(this, arguments);
|
18
|
-
}
|
19
|
-
|
20
|
-
module.exports = _extends;
|
21
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
var superPropBase = require("./superPropBase.js");
|
2
|
-
|
3
|
-
function _get(target, property, receiver) {
|
4
|
-
if (typeof Reflect !== "undefined" && Reflect.get) {
|
5
|
-
module.exports = _get = Reflect.get;
|
6
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
7
|
-
} else {
|
8
|
-
module.exports = _get = function _get(target, property, receiver) {
|
9
|
-
var base = superPropBase(target, property);
|
10
|
-
if (!base) return;
|
11
|
-
var desc = Object.getOwnPropertyDescriptor(base, property);
|
12
|
-
|
13
|
-
if (desc.get) {
|
14
|
-
return desc.get.call(receiver);
|
15
|
-
}
|
16
|
-
|
17
|
-
return desc.value;
|
18
|
-
};
|
19
|
-
|
20
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
21
|
-
}
|
22
|
-
|
23
|
-
return _get(target, property, receiver || target);
|
24
|
-
}
|
25
|
-
|
26
|
-
module.exports = _get;
|
27
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
function _getPrototypeOf(o) {
|
2
|
-
module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
3
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
4
|
-
};
|
5
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
6
|
-
return _getPrototypeOf(o);
|
7
|
-
}
|
8
|
-
|
9
|
-
module.exports = _getPrototypeOf;
|
10
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
var setPrototypeOf = require("./setPrototypeOf.js");
|
2
|
-
|
3
|
-
function _inherits(subClass, superClass) {
|
4
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
5
|
-
throw new TypeError("Super expression must either be null or a function");
|
6
|
-
}
|
7
|
-
|
8
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
9
|
-
constructor: {
|
10
|
-
value: subClass,
|
11
|
-
writable: true,
|
12
|
-
configurable: true
|
13
|
-
}
|
14
|
-
});
|
15
|
-
if (superClass) setPrototypeOf(subClass, superClass);
|
16
|
-
}
|
17
|
-
|
18
|
-
module.exports = _inherits;
|
19
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
var setPrototypeOf = require("./setPrototypeOf.js");
|
2
|
-
|
3
|
-
function _inheritsLoose(subClass, superClass) {
|
4
|
-
subClass.prototype = Object.create(superClass.prototype);
|
5
|
-
subClass.prototype.constructor = subClass;
|
6
|
-
setPrototypeOf(subClass, superClass);
|
7
|
-
}
|
8
|
-
|
9
|
-
module.exports = _inheritsLoose;
|
10
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
function _initializerDefineProperty(target, property, descriptor, context) {
|
2
|
-
if (!descriptor) return;
|
3
|
-
Object.defineProperty(target, property, {
|
4
|
-
enumerable: descriptor.enumerable,
|
5
|
-
configurable: descriptor.configurable,
|
6
|
-
writable: descriptor.writable,
|
7
|
-
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
|
8
|
-
});
|
9
|
-
}
|
10
|
-
|
11
|
-
module.exports = _initializerDefineProperty;
|
12
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
function _initializerWarningHelper(descriptor, context) {
|
2
|
-
throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.');
|
3
|
-
}
|
4
|
-
|
5
|
-
module.exports = _initializerWarningHelper;
|
6
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
function _instanceof(left, right) {
|
2
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
3
|
-
return !!right[Symbol.hasInstance](left);
|
4
|
-
} else {
|
5
|
-
return left instanceof right;
|
6
|
-
}
|
7
|
-
}
|
8
|
-
|
9
|
-
module.exports = _instanceof;
|
10
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|