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.
Files changed (236) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +176 -0
  3. data/lib/app_state.rb +25 -0
  4. data/lib/isomorfeus/browser_store_api.rb +0 -16
  5. data/lib/isomorfeus/redux/config.rb +97 -14
  6. data/lib/isomorfeus/redux/handler.rb +35 -0
  7. data/lib/isomorfeus/redux/version.rb +5 -0
  8. data/lib/isomorfeus/redux_imports.rb +14 -0
  9. data/lib/{redux/reducers.rb → isomorfeus/redux_reducers.rb} +15 -13
  10. data/lib/isomorfeus-redux.rb +18 -30
  11. data/lib/local_store.rb +27 -30
  12. data/lib/redux/store.rb +156 -120
  13. data/lib/session_store.rb +28 -30
  14. metadata +24 -247
  15. data/lib/app_store.rb +0 -42
  16. data/lib/isomorfeus/core_ext/hash/deep_merge.rb +0 -34
  17. data/lib/isomorfeus/core_ext/kernel.rb +0 -30
  18. data/lib/isomorfeus/execution_environment.rb +0 -67
  19. data/lib/isomorfeus/redux/imports.rb +0 -17
  20. data/lib/redux/version.rb +0 -3
  21. data/lib/redux.rb +0 -118
  22. data/node_modules/.package-lock.json +0 -31
  23. data/node_modules/@babel/runtime/LICENSE +0 -22
  24. data/node_modules/@babel/runtime/README.md +0 -19
  25. data/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -99
  26. data/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -6
  27. data/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -31
  28. data/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -12
  29. data/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -6
  30. data/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -8
  31. data/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -10
  32. data/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -57
  33. data/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -16
  34. data/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -38
  35. data/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -8
  36. data/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -8
  37. data/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -23
  38. data/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -10
  39. data/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -14
  40. data/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -8
  41. data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -8
  42. data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -8
  43. data/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -10
  44. data/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -6
  45. data/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -11
  46. data/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -11
  47. data/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -9
  48. data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -10
  49. data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -8
  50. data/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -12
  51. data/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -10
  52. data/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -9
  53. data/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -6
  54. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -14
  55. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -14
  56. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -15
  57. data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -9
  58. data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -6
  59. data/node_modules/@babel/runtime/helpers/construct.js +0 -26
  60. data/node_modules/@babel/runtime/helpers/createClass.js +0 -18
  61. data/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -61
  62. data/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -25
  63. data/node_modules/@babel/runtime/helpers/createSuper.js +0 -25
  64. data/node_modules/@babel/runtime/helpers/decorate.js +0 -401
  65. data/node_modules/@babel/runtime/helpers/defaults.js +0 -17
  66. data/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -25
  67. data/node_modules/@babel/runtime/helpers/defineProperty.js +0 -17
  68. data/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
  69. data/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
  70. data/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
  71. data/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
  72. data/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
  73. data/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
  74. data/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  75. data/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
  76. data/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -13
  77. data/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
  78. data/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
  79. data/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
  80. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
  81. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
  82. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
  83. data/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  84. data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  85. data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
  86. data/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
  87. data/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
  88. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
  89. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
  90. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  91. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
  92. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
  93. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  94. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
  95. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  96. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
  97. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
  98. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
  99. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
  100. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  101. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
  102. data/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
  103. data/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  104. data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
  105. data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
  106. data/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  107. data/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
  108. data/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
  109. data/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
  110. data/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  111. data/node_modules/@babel/runtime/helpers/esm/extends.js +0 -17
  112. data/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
  113. data/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  114. data/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -15
  115. data/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
  116. data/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  117. data/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
  118. data/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
  119. data/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
  120. data/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
  121. data/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
  122. data/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
  123. data/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
  124. data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  125. data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
  126. data/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -46
  127. data/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  128. data/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
  129. data/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
  130. data/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
  131. data/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
  132. data/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
  133. data/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -39
  134. data/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  135. data/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  136. data/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  137. data/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
  138. data/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
  139. data/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
  140. data/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
  141. data/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  142. data/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
  143. data/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
  144. data/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
  145. data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
  146. data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
  147. data/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
  148. data/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
  149. data/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
  150. data/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
  151. data/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
  152. data/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
  153. data/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
  154. data/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  155. data/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  156. data/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
  157. data/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
  158. data/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -65
  159. data/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
  160. data/node_modules/@babel/runtime/helpers/extends.js +0 -21
  161. data/node_modules/@babel/runtime/helpers/get.js +0 -27
  162. data/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -10
  163. data/node_modules/@babel/runtime/helpers/inherits.js +0 -19
  164. data/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -10
  165. data/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -12
  166. data/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -6
  167. data/node_modules/@babel/runtime/helpers/instanceof.js +0 -10
  168. data/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -8
  169. data/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -54
  170. data/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -6
  171. data/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -15
  172. data/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -6
  173. data/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -32
  174. data/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -17
  175. data/node_modules/@babel/runtime/helpers/jsx.js +0 -50
  176. data/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -13
  177. data/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -8
  178. data/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -6
  179. data/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -6
  180. data/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -6
  181. data/node_modules/@babel/runtime/helpers/objectSpread.js +0 -23
  182. data/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -42
  183. data/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -23
  184. data/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -17
  185. data/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -16
  186. data/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -6
  187. data/node_modules/@babel/runtime/helpers/set.js +0 -55
  188. data/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -12
  189. data/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -10
  190. data/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -14
  191. data/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -14
  192. data/node_modules/@babel/runtime/helpers/superPropBase.js +0 -13
  193. data/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -14
  194. data/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -11
  195. data/node_modules/@babel/runtime/helpers/tdz.js +0 -6
  196. data/node_modules/@babel/runtime/helpers/temporalRef.js +0 -10
  197. data/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -4
  198. data/node_modules/@babel/runtime/helpers/toArray.js +0 -14
  199. data/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -14
  200. data/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -17
  201. data/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -11
  202. data/node_modules/@babel/runtime/helpers/typeof.js +0 -22
  203. data/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -13
  204. data/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -10
  205. data/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -45
  206. data/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -72
  207. data/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -6
  208. data/node_modules/@babel/runtime/package.json +0 -848
  209. data/node_modules/@babel/runtime/regenerator/index.js +0 -1
  210. data/node_modules/redux/LICENSE.md +0 -21
  211. data/node_modules/redux/README.md +0 -322
  212. data/node_modules/redux/dist/redux.js +0 -768
  213. data/node_modules/redux/dist/redux.min.js +0 -1
  214. data/node_modules/redux/es/redux.js +0 -716
  215. data/node_modules/redux/es/redux.mjs +0 -1
  216. data/node_modules/redux/index.d.ts +0 -776
  217. data/node_modules/redux/lib/redux.js +0 -730
  218. data/node_modules/redux/package.json +0 -108
  219. data/node_modules/redux/src/applyMiddleware.js +0 -41
  220. data/node_modules/redux/src/bindActionCreators.js +0 -52
  221. data/node_modules/redux/src/combineReducers.js +0 -175
  222. data/node_modules/redux/src/compose.js +0 -22
  223. data/node_modules/redux/src/createStore.js +0 -347
  224. data/node_modules/redux/src/index.js +0 -37
  225. data/node_modules/redux/src/utils/actionTypes.js +0 -17
  226. data/node_modules/redux/src/utils/formatProdErrorMessage.js +0 -15
  227. data/node_modules/redux/src/utils/isPlainObject.js +0 -14
  228. data/node_modules/redux/src/utils/kindOf.js +0 -70
  229. data/node_modules/redux/src/utils/symbol-observable.js +0 -3
  230. data/node_modules/redux/src/utils/warning.js +0 -19
  231. data/node_modules/regenerator-runtime/LICENSE +0 -21
  232. data/node_modules/regenerator-runtime/README.md +0 -31
  233. data/node_modules/regenerator-runtime/package.json +0 -19
  234. data/node_modules/regenerator-runtime/path.js +0 -11
  235. data/node_modules/regenerator-runtime/runtime.js +0 -754
  236. 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,5 +0,0 @@
1
- export default function _newArrowCheck(innerThis, boundThis) {
2
- if (innerThis !== boundThis) {
3
- throw new TypeError("Cannot instantiate an arrow function");
4
- }
5
- }
@@ -1,3 +0,0 @@
1
- export default function _nonIterableRest() {
2
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3
- }
@@ -1,3 +0,0 @@
1
- export default function _nonIterableSpread() {
2
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3
- }
@@ -1,3 +0,0 @@
1
- export default function _objectDestructuringEmpty(obj) {
2
- if (obj == null) throw new TypeError("Cannot destructure undefined");
3
- }
@@ -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,3 +0,0 @@
1
- {
2
- "type": "module"
3
- }
@@ -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,3 +0,0 @@
1
- export default function _readOnlyError(name) {
2
- throw new TypeError("\"" + name + "\" is read-only");
3
- }
@@ -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,8 +0,0 @@
1
- export default function _setPrototypeOf(o, p) {
2
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
3
- o.__proto__ = p;
4
- return o;
5
- };
6
-
7
- return _setPrototypeOf(o, p);
8
- }
@@ -1,7 +0,0 @@
1
- export default function _skipFirstGeneratorNext(fn) {
2
- return function () {
3
- var it = fn.apply(this, arguments);
4
- it.next();
5
- return it;
6
- };
7
- }
@@ -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,11 +0,0 @@
1
- export default function _taggedTemplateLiteral(strings, raw) {
2
- if (!raw) {
3
- raw = strings.slice(0);
4
- }
5
-
6
- return Object.freeze(Object.defineProperties(strings, {
7
- raw: {
8
- value: Object.freeze(raw)
9
- }
10
- }));
11
- }
@@ -1,8 +0,0 @@
1
- export default function _taggedTemplateLiteralLoose(strings, raw) {
2
- if (!raw) {
3
- raw = strings.slice(0);
4
- }
5
-
6
- strings.raw = raw;
7
- return strings;
8
- }
@@ -1,3 +0,0 @@
1
- export default function _tdzError(name) {
2
- throw new ReferenceError(name + " is not defined - temporal dead zone");
3
- }
@@ -1,5 +0,0 @@
1
- import undef from "./temporalUndefined.js";
2
- import err from "./tdz.js";
3
- export default function _temporalRef(val, name) {
4
- return val === undef ? err(name) : val;
5
- }
@@ -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,6 +0,0 @@
1
- import _typeof from "@babel/runtime/helpers/typeof";
2
- import toPrimitive from "./toPrimitive.js";
3
- export default function _toPropertyKey(arg) {
4
- var key = toPrimitive(arg, "string");
5
- return _typeof(key) === "symbol" ? key : String(key);
6
- }
@@ -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,6 +0,0 @@
1
- import AsyncGenerator from "./AsyncGenerator.js";
2
- export default function _wrapAsyncGenerator(fn) {
3
- return function () {
4
- return new AsyncGenerator(fn.apply(this, arguments));
5
- };
6
- }
@@ -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,3 +0,0 @@
1
- export default function _writeOnlyError(name) {
2
- throw new TypeError("\"" + name + "\" is write-only");
3
- }
@@ -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;
@@ -1,8 +0,0 @@
1
- function _interopRequireDefault(obj) {
2
- return obj && obj.__esModule ? obj : {
3
- "default": obj
4
- };
5
- }
6
-
7
- module.exports = _interopRequireDefault;
8
- module.exports["default"] = module.exports, module.exports.__esModule = true;