@mtes-mct/monitor-ui 1.5.0 → 1.6.0
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/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/bind.js +36 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/bind.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/equals.js +37 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/equals.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/filter.js +53 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/filter.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_arity.js +65 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_arity.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_arrayFromIterator.js +13 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_arrayFromIterator.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_complement.js +8 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_complement.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_dispatchable.js +50 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_dispatchable.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_equals.js +166 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_equals.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_filter.js +18 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_filter.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_functionName.js +8 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_functionName.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_includesWith.js +17 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_includesWith.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isArguments.js +16 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isArguments.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isArray.js +18 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isArray.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isArrayLike.js +55 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isArrayLike.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isString.js +6 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isString.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isTransformer.js +6 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isTransformer.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_objectIs.js +17 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_objectIs.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_reduce.js +74 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_reduce.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_xfBase.js +11 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_xfBase.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_xfilter.js +29 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_xfilter.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_xwrap.js +28 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_xwrap.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/keys.js +92 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/keys.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/reject.js +37 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/reject.js.map +1 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/type.js +36 -0
- package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/type.js.map +1 -0
- package/CHANGELOG.md +19 -0
- package/assets/rsuite-override.css +178 -79
- package/elements/Field.d.ts +3 -0
- package/elements/Fieldset.d.ts +3 -0
- package/elements/Label.d.ts +3 -0
- package/elements/Legend.d.ts +8 -0
- package/fields/MultiCheckbox.d.ts +11 -0
- package/fields/MultiRadio.d.ts +11 -0
- package/fields/MultiSelect.d.ts +3 -1
- package/formiks/FormikMultiCheckbox.d.ts +3 -0
- package/formiks/FormikMultiRadio.d.ts +3 -0
- package/index.d.ts +16 -0
- package/package.json +3 -3
- package/src/elements/Field.js +9 -0
- package/src/elements/Field.js.map +1 -0
- package/src/elements/Fieldset.js +15 -0
- package/src/elements/Fieldset.js.map +1 -0
- package/src/elements/Label.js +11 -0
- package/src/elements/Label.js.map +1 -0
- package/src/elements/Legend.js +13 -0
- package/src/elements/Legend.js.map +1 -0
- package/src/fields/DatePicker/index.js +2 -12
- package/src/fields/DatePicker/index.js.map +1 -1
- package/src/fields/DateRangePicker/index.js +2 -12
- package/src/fields/DateRangePicker/index.js.map +1 -1
- package/src/fields/MultiCheckbox.js +52 -0
- package/src/fields/MultiCheckbox.js.map +1 -0
- package/src/fields/MultiRadio.js +54 -0
- package/src/fields/MultiRadio.js.map +1 -0
- package/src/fields/MultiSelect.js +5 -2
- package/src/fields/MultiSelect.js.map +1 -1
- package/src/formiks/FormikMultiCheckbox.js +21 -0
- package/src/formiks/FormikMultiCheckbox.js.map +1 -0
- package/src/formiks/FormikMultiRadio.js +21 -0
- package/src/formiks/FormikMultiRadio.js.map +1 -0
- package/src/index.js +8 -0
- package/src/index.js.map +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _arity from './internal/_arity.js';
|
|
2
|
+
import _curry2 from './internal/_curry2.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Creates a function that is bound to a context.
|
|
6
|
+
* Note: `R.bind` does not provide the additional argument-binding capabilities of
|
|
7
|
+
* [Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).
|
|
8
|
+
*
|
|
9
|
+
* @func
|
|
10
|
+
* @memberOf R
|
|
11
|
+
* @since v0.6.0
|
|
12
|
+
* @category Function
|
|
13
|
+
* @category Object
|
|
14
|
+
* @sig (* -> *) -> {*} -> (* -> *)
|
|
15
|
+
* @param {Function} fn The function to bind to context
|
|
16
|
+
* @param {Object} thisObj The context to bind `fn` to
|
|
17
|
+
* @return {Function} A function that will execute in the context of `thisObj`.
|
|
18
|
+
* @see R.partial
|
|
19
|
+
* @example
|
|
20
|
+
*
|
|
21
|
+
* const log = R.bind(console.log, console);
|
|
22
|
+
* R.pipe(R.assoc('a', 2), R.tap(log), R.assoc('a', 3))({a: 1}); //=> {a: 3}
|
|
23
|
+
* // logs {a: 2}
|
|
24
|
+
* @symb R.bind(f, o)(a, b) = f.call(o, a, b)
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
var bind =
|
|
28
|
+
/*#__PURE__*/
|
|
29
|
+
_curry2(function bind(fn, thisObj) {
|
|
30
|
+
return _arity(fn.length, function () {
|
|
31
|
+
return fn.apply(thisObj, arguments);
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export { bind as default };
|
|
36
|
+
//# sourceMappingURL=bind.js.map
|
package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/bind.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bind.js","sources":["../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/bind.js"],"sourcesContent":["import _arity from \"./internal/_arity.js\";\nimport _curry2 from \"./internal/_curry2.js\";\n/**\n * Creates a function that is bound to a context.\n * Note: `R.bind` does not provide the additional argument-binding capabilities of\n * [Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Function\n * @category Object\n * @sig (* -> *) -> {*} -> (* -> *)\n * @param {Function} fn The function to bind to context\n * @param {Object} thisObj The context to bind `fn` to\n * @return {Function} A function that will execute in the context of `thisObj`.\n * @see R.partial\n * @example\n *\n * const log = R.bind(console.log, console);\n * R.pipe(R.assoc('a', 2), R.tap(log), R.assoc('a', 3))({a: 1}); //=> {a: 3}\n * // logs {a: 2}\n * @symb R.bind(f, o)(a, b) = f.call(o, a, b)\n */\n\nvar bind =\n/*#__PURE__*/\n_curry2(function bind(fn, thisObj) {\n return _arity(fn.length, function () {\n return fn.apply(thisObj, arguments);\n });\n});\n\nexport default bind;"],"names":[],"mappings":";;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,IAAI;AACR;AACA,OAAO,CAAC,SAAS,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE;AACnC,EAAE,OAAO,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY;AACvC,IAAI,OAAO,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;AACxC,GAAG,CAAC,CAAC;AACL,CAAC;;;;"}
|
package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/equals.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _curry2 from './internal/_curry2.js';
|
|
2
|
+
import _equals from './internal/_equals.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Returns `true` if its arguments are equivalent, `false` otherwise. Handles
|
|
6
|
+
* cyclical data structures.
|
|
7
|
+
*
|
|
8
|
+
* Dispatches symmetrically to the `equals` methods of both arguments, if
|
|
9
|
+
* present.
|
|
10
|
+
*
|
|
11
|
+
* @func
|
|
12
|
+
* @memberOf R
|
|
13
|
+
* @since v0.15.0
|
|
14
|
+
* @category Relation
|
|
15
|
+
* @sig a -> b -> Boolean
|
|
16
|
+
* @param {*} a
|
|
17
|
+
* @param {*} b
|
|
18
|
+
* @return {Boolean}
|
|
19
|
+
* @example
|
|
20
|
+
*
|
|
21
|
+
* R.equals(1, 1); //=> true
|
|
22
|
+
* R.equals(1, '1'); //=> false
|
|
23
|
+
* R.equals([1, 2, 3], [1, 2, 3]); //=> true
|
|
24
|
+
*
|
|
25
|
+
* const a = {}; a.v = a;
|
|
26
|
+
* const b = {}; b.v = b;
|
|
27
|
+
* R.equals(a, b); //=> true
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
var equals =
|
|
31
|
+
/*#__PURE__*/
|
|
32
|
+
_curry2(function equals(a, b) {
|
|
33
|
+
return _equals(a, b, [], []);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export { equals as default };
|
|
37
|
+
//# sourceMappingURL=equals.js.map
|
package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/equals.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"equals.js","sources":["../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/equals.js"],"sourcesContent":["import _curry2 from \"./internal/_curry2.js\";\nimport _equals from \"./internal/_equals.js\";\n/**\n * Returns `true` if its arguments are equivalent, `false` otherwise. Handles\n * cyclical data structures.\n *\n * Dispatches symmetrically to the `equals` methods of both arguments, if\n * present.\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Relation\n * @sig a -> b -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @example\n *\n * R.equals(1, 1); //=> true\n * R.equals(1, '1'); //=> false\n * R.equals([1, 2, 3], [1, 2, 3]); //=> true\n *\n * const a = {}; a.v = a;\n * const b = {}; b.v = b;\n * R.equals(a, b); //=> true\n */\n\nvar equals =\n/*#__PURE__*/\n_curry2(function equals(a, b) {\n return _equals(a, b, [], []);\n});\n\nexport default equals;"],"names":[],"mappings":";;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,MAAM;AACV;AACA,OAAO,CAAC,SAAS,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE;AAC9B,EAAE,OAAO,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;AAC/B,CAAC;;;;"}
|
package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/filter.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import _curry2 from './internal/_curry2.js';
|
|
2
|
+
import _dispatchable from './internal/_dispatchable.js';
|
|
3
|
+
import _filter from './internal/_filter.js';
|
|
4
|
+
import _isObject from './internal/_isObject.js';
|
|
5
|
+
import _reduce from './internal/_reduce.js';
|
|
6
|
+
import _xfilter from './internal/_xfilter.js';
|
|
7
|
+
import keys from './keys.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Takes a predicate and a `Filterable`, and returns a new filterable of the
|
|
11
|
+
* same type containing the members of the given filterable which satisfy the
|
|
12
|
+
* given predicate. Filterable objects include plain objects or any object
|
|
13
|
+
* that has a filter method such as `Array`.
|
|
14
|
+
*
|
|
15
|
+
* Dispatches to the `filter` method of the second argument, if present.
|
|
16
|
+
*
|
|
17
|
+
* Acts as a transducer if a transformer is given in list position.
|
|
18
|
+
*
|
|
19
|
+
* @func
|
|
20
|
+
* @memberOf R
|
|
21
|
+
* @since v0.1.0
|
|
22
|
+
* @category List
|
|
23
|
+
* @sig Filterable f => (a -> Boolean) -> f a -> f a
|
|
24
|
+
* @param {Function} pred
|
|
25
|
+
* @param {Array} filterable
|
|
26
|
+
* @return {Array} Filterable
|
|
27
|
+
* @see R.reject, R.transduce, R.addIndex
|
|
28
|
+
* @example
|
|
29
|
+
*
|
|
30
|
+
* const isEven = n => n % 2 === 0;
|
|
31
|
+
*
|
|
32
|
+
* R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]
|
|
33
|
+
*
|
|
34
|
+
* R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
var filter =
|
|
38
|
+
/*#__PURE__*/
|
|
39
|
+
_curry2(
|
|
40
|
+
/*#__PURE__*/
|
|
41
|
+
_dispatchable(['fantasy-land/filter', 'filter'], _xfilter, function (pred, filterable) {
|
|
42
|
+
return _isObject(filterable) ? _reduce(function (acc, key) {
|
|
43
|
+
if (pred(filterable[key])) {
|
|
44
|
+
acc[key] = filterable[key];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return acc;
|
|
48
|
+
}, {}, keys(filterable)) : // else
|
|
49
|
+
_filter(pred, filterable);
|
|
50
|
+
}));
|
|
51
|
+
|
|
52
|
+
export { filter as default };
|
|
53
|
+
//# sourceMappingURL=filter.js.map
|
package/.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/filter.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.js","sources":["../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/filter.js"],"sourcesContent":["import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _filter from \"./internal/_filter.js\";\nimport _isObject from \"./internal/_isObject.js\";\nimport _reduce from \"./internal/_reduce.js\";\nimport _xfilter from \"./internal/_xfilter.js\";\nimport keys from \"./keys.js\";\n/**\n * Takes a predicate and a `Filterable`, and returns a new filterable of the\n * same type containing the members of the given filterable which satisfy the\n * given predicate. Filterable objects include plain objects or any object\n * that has a filter method such as `Array`.\n *\n * Dispatches to the `filter` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array} Filterable\n * @see R.reject, R.transduce, R.addIndex\n * @example\n *\n * const isEven = n => n % 2 === 0;\n *\n * R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\nvar filter =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['fantasy-land/filter', 'filter'], _xfilter, function (pred, filterable) {\n return _isObject(filterable) ? _reduce(function (acc, key) {\n if (pred(filterable[key])) {\n acc[key] = filterable[key];\n }\n\n return acc;\n }, {}, keys(filterable)) : // else\n _filter(pred, filterable);\n}));\n\nexport default filter;"],"names":[],"mappings":";;;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,MAAM;AACV;AACA,OAAO;AACP;AACA,aAAa,CAAC,CAAC,qBAAqB,EAAE,QAAQ,CAAC,EAAE,QAAQ,EAAE,UAAU,IAAI,EAAE,UAAU,EAAE;AACvF,EAAE,OAAO,SAAS,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,UAAU,GAAG,EAAE,GAAG,EAAE;AAC7D,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE;AAC/B,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;AACjC,KAAK;AACL;AACA,IAAI,OAAO,GAAG,CAAC;AACf,GAAG,EAAE,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;AAC1B,EAAE,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAC5B,CAAC,CAAC;;;;"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
function _arity(n, fn) {
|
|
2
|
+
/* eslint-disable no-unused-vars */
|
|
3
|
+
switch (n) {
|
|
4
|
+
case 0:
|
|
5
|
+
return function () {
|
|
6
|
+
return fn.apply(this, arguments);
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
case 1:
|
|
10
|
+
return function (a0) {
|
|
11
|
+
return fn.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
case 2:
|
|
15
|
+
return function (a0, a1) {
|
|
16
|
+
return fn.apply(this, arguments);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
case 3:
|
|
20
|
+
return function (a0, a1, a2) {
|
|
21
|
+
return fn.apply(this, arguments);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
case 4:
|
|
25
|
+
return function (a0, a1, a2, a3) {
|
|
26
|
+
return fn.apply(this, arguments);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
case 5:
|
|
30
|
+
return function (a0, a1, a2, a3, a4) {
|
|
31
|
+
return fn.apply(this, arguments);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
case 6:
|
|
35
|
+
return function (a0, a1, a2, a3, a4, a5) {
|
|
36
|
+
return fn.apply(this, arguments);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
case 7:
|
|
40
|
+
return function (a0, a1, a2, a3, a4, a5, a6) {
|
|
41
|
+
return fn.apply(this, arguments);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
case 8:
|
|
45
|
+
return function (a0, a1, a2, a3, a4, a5, a6, a7) {
|
|
46
|
+
return fn.apply(this, arguments);
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
case 9:
|
|
50
|
+
return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
51
|
+
return fn.apply(this, arguments);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
case 10:
|
|
55
|
+
return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
56
|
+
return fn.apply(this, arguments);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
default:
|
|
60
|
+
throw new Error('First argument to _arity must be a non-negative integer no greater than ten');
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { _arity as default };
|
|
65
|
+
//# sourceMappingURL=_arity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_arity.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_arity.js"],"sourcesContent":["export default function _arity(n, fn) {\n /* eslint-disable no-unused-vars */\n switch (n) {\n case 0:\n return function () {\n return fn.apply(this, arguments);\n };\n\n case 1:\n return function (a0) {\n return fn.apply(this, arguments);\n };\n\n case 2:\n return function (a0, a1) {\n return fn.apply(this, arguments);\n };\n\n case 3:\n return function (a0, a1, a2) {\n return fn.apply(this, arguments);\n };\n\n case 4:\n return function (a0, a1, a2, a3) {\n return fn.apply(this, arguments);\n };\n\n case 5:\n return function (a0, a1, a2, a3, a4) {\n return fn.apply(this, arguments);\n };\n\n case 6:\n return function (a0, a1, a2, a3, a4, a5) {\n return fn.apply(this, arguments);\n };\n\n case 7:\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return fn.apply(this, arguments);\n };\n\n case 8:\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return fn.apply(this, arguments);\n };\n\n case 9:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {\n return fn.apply(this, arguments);\n };\n\n case 10:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {\n return fn.apply(this, arguments);\n };\n\n default:\n throw new Error('First argument to _arity must be a non-negative integer no greater than ten');\n }\n}"],"names":[],"mappings":"AAAe,SAAS,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE;AACtC;AACA,EAAE,QAAQ,CAAC;AACX,IAAI,KAAK,CAAC;AACV,MAAM,OAAO,YAAY;AACzB,QAAQ,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACzC,OAAO,CAAC;AACR;AACA,IAAI,KAAK,CAAC;AACV,MAAM,OAAO,UAAU,EAAE,EAAE;AAC3B,QAAQ,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACzC,OAAO,CAAC;AACR;AACA,IAAI,KAAK,CAAC;AACV,MAAM,OAAO,UAAU,EAAE,EAAE,EAAE,EAAE;AAC/B,QAAQ,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACzC,OAAO,CAAC;AACR;AACA,IAAI,KAAK,CAAC;AACV,MAAM,OAAO,UAAU,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACnC,QAAQ,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC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,EAAE,EAAE,EAAE,EAAE;AAC3D,QAAQ,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACzC,OAAO,CAAC;AACR;AACA,IAAI,KAAK,EAAE;AACX,MAAM,OAAO,UAAU,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC/D,QAAQ,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACzC,OAAO,CAAC;AACR;AACA,IAAI;AACJ,MAAM,MAAM,IAAI,KAAK,CAAC,6EAA6E,CAAC,CAAC;AACrG,GAAG;AACH;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_arrayFromIterator.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_arrayFromIterator.js"],"sourcesContent":["export default function _arrayFromIterator(iter) {\n var list = [];\n var next;\n\n while (!(next = iter.next()).done) {\n list.push(next.value);\n }\n\n return list;\n}"],"names":[],"mappings":"AAAe,SAAS,kBAAkB,CAAC,IAAI,EAAE;AACjD,EAAE,IAAI,IAAI,GAAG,EAAE,CAAC;AAChB,EAAE,IAAI,IAAI,CAAC;AACX;AACA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE;AACrC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC1B,GAAG;AACH;AACA,EAAE,OAAO,IAAI,CAAC;AACd;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_complement.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_complement.js"],"sourcesContent":["export default function _complement(f) {\n return function () {\n return !f.apply(this, arguments);\n };\n}"],"names":[],"mappings":"AAAe,SAAS,WAAW,CAAC,CAAC,EAAE;AACvC,EAAE,OAAO,YAAY;AACrB,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACrC,GAAG,CAAC;AACJ;;;;"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _isArray from './_isArray.js';
|
|
2
|
+
import _isTransformer from './_isTransformer.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Returns a function that dispatches with different strategies based on the
|
|
6
|
+
* object in list position (last argument). If it is an array, executes [fn].
|
|
7
|
+
* Otherwise, if it has a function with one of the given method names, it will
|
|
8
|
+
* execute that function (functor case). Otherwise, if it is a transformer,
|
|
9
|
+
* uses transducer created by [transducerCreator] to return a new transformer
|
|
10
|
+
* (transducer case).
|
|
11
|
+
* Otherwise, it will default to executing [fn].
|
|
12
|
+
*
|
|
13
|
+
* @private
|
|
14
|
+
* @param {Array} methodNames properties to check for a custom implementation
|
|
15
|
+
* @param {Function} transducerCreator transducer factory if object is transformer
|
|
16
|
+
* @param {Function} fn default ramda implementation
|
|
17
|
+
* @return {Function} A function that dispatches on object in list position
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
function _dispatchable(methodNames, transducerCreator, fn) {
|
|
21
|
+
return function () {
|
|
22
|
+
if (arguments.length === 0) {
|
|
23
|
+
return fn();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var obj = arguments[arguments.length - 1];
|
|
27
|
+
|
|
28
|
+
if (!_isArray(obj)) {
|
|
29
|
+
var idx = 0;
|
|
30
|
+
|
|
31
|
+
while (idx < methodNames.length) {
|
|
32
|
+
if (typeof obj[methodNames[idx]] === 'function') {
|
|
33
|
+
return obj[methodNames[idx]].apply(obj, Array.prototype.slice.call(arguments, 0, -1));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
idx += 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (_isTransformer(obj)) {
|
|
40
|
+
var transducer = transducerCreator.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
41
|
+
return transducer(obj);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return fn.apply(this, arguments);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { _dispatchable as default };
|
|
50
|
+
//# sourceMappingURL=_dispatchable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_dispatchable.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_dispatchable.js"],"sourcesContent":["import _isArray from \"./_isArray.js\";\nimport _isTransformer from \"./_isTransformer.js\";\n/**\n * Returns a function that dispatches with different strategies based on the\n * object in list position (last argument). If it is an array, executes [fn].\n * Otherwise, if it has a function with one of the given method names, it will\n * execute that function (functor case). Otherwise, if it is a transformer,\n * uses transducer created by [transducerCreator] to return a new transformer\n * (transducer case).\n * Otherwise, it will default to executing [fn].\n *\n * @private\n * @param {Array} methodNames properties to check for a custom implementation\n * @param {Function} transducerCreator transducer factory if object is transformer\n * @param {Function} fn default ramda implementation\n * @return {Function} A function that dispatches on object in list position\n */\n\nexport default function _dispatchable(methodNames, transducerCreator, fn) {\n return function () {\n if (arguments.length === 0) {\n return fn();\n }\n\n var obj = arguments[arguments.length - 1];\n\n if (!_isArray(obj)) {\n var idx = 0;\n\n while (idx < methodNames.length) {\n if (typeof obj[methodNames[idx]] === 'function') {\n return obj[methodNames[idx]].apply(obj, Array.prototype.slice.call(arguments, 0, -1));\n }\n\n idx += 1;\n }\n\n if (_isTransformer(obj)) {\n var transducer = transducerCreator.apply(null, Array.prototype.slice.call(arguments, 0, -1));\n return transducer(obj);\n }\n }\n\n return fn.apply(this, arguments);\n };\n}"],"names":[],"mappings":";;;AAEA;AACA;AAC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,CAAC;AACJ;;;;"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import _arrayFromIterator from './_arrayFromIterator.js';
|
|
2
|
+
import _includesWith from './_includesWith.js';
|
|
3
|
+
import _functionName from './_functionName.js';
|
|
4
|
+
import _has from './_has.js';
|
|
5
|
+
import _objectIs from './_objectIs.js';
|
|
6
|
+
import keys from '../keys.js';
|
|
7
|
+
import type from '../type.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* private _uniqContentEquals function.
|
|
11
|
+
* That function is checking equality of 2 iterator contents with 2 assumptions
|
|
12
|
+
* - iterators lengths are the same
|
|
13
|
+
* - iterators values are unique
|
|
14
|
+
*
|
|
15
|
+
* false-positive result will be returned for comparison of, e.g.
|
|
16
|
+
* - [1,2,3] and [1,2,3,4]
|
|
17
|
+
* - [1,1,1] and [1,2,3]
|
|
18
|
+
* */
|
|
19
|
+
|
|
20
|
+
function _uniqContentEquals(aIterator, bIterator, stackA, stackB) {
|
|
21
|
+
var a = _arrayFromIterator(aIterator);
|
|
22
|
+
|
|
23
|
+
var b = _arrayFromIterator(bIterator);
|
|
24
|
+
|
|
25
|
+
function eq(_a, _b) {
|
|
26
|
+
return _equals(_a, _b, stackA.slice(), stackB.slice());
|
|
27
|
+
} // if *a* array contains any element that is not included in *b*
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
return !_includesWith(function (b, aItem) {
|
|
31
|
+
return !_includesWith(eq, aItem, b);
|
|
32
|
+
}, b, a);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function _equals(a, b, stackA, stackB) {
|
|
36
|
+
if (_objectIs(a, b)) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
var typeA = type(a);
|
|
41
|
+
|
|
42
|
+
if (typeA !== type(b)) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {
|
|
47
|
+
return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (typeof a.equals === 'function' || typeof b.equals === 'function') {
|
|
51
|
+
return typeof a.equals === 'function' && a.equals(b) && typeof b.equals === 'function' && b.equals(a);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
switch (typeA) {
|
|
55
|
+
case 'Arguments':
|
|
56
|
+
case 'Array':
|
|
57
|
+
case 'Object':
|
|
58
|
+
if (typeof a.constructor === 'function' && _functionName(a.constructor) === 'Promise') {
|
|
59
|
+
return a === b;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
break;
|
|
63
|
+
|
|
64
|
+
case 'Boolean':
|
|
65
|
+
case 'Number':
|
|
66
|
+
case 'String':
|
|
67
|
+
if (!(typeof a === typeof b && _objectIs(a.valueOf(), b.valueOf()))) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
break;
|
|
72
|
+
|
|
73
|
+
case 'Date':
|
|
74
|
+
if (!_objectIs(a.valueOf(), b.valueOf())) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
break;
|
|
79
|
+
|
|
80
|
+
case 'Error':
|
|
81
|
+
return a.name === b.name && a.message === b.message;
|
|
82
|
+
|
|
83
|
+
case 'RegExp':
|
|
84
|
+
if (!(a.source === b.source && a.global === b.global && a.ignoreCase === b.ignoreCase && a.multiline === b.multiline && a.sticky === b.sticky && a.unicode === b.unicode)) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
var idx = stackA.length - 1;
|
|
92
|
+
|
|
93
|
+
while (idx >= 0) {
|
|
94
|
+
if (stackA[idx] === a) {
|
|
95
|
+
return stackB[idx] === b;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
idx -= 1;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
switch (typeA) {
|
|
102
|
+
case 'Map':
|
|
103
|
+
if (a.size !== b.size) {
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return _uniqContentEquals(a.entries(), b.entries(), stackA.concat([a]), stackB.concat([b]));
|
|
108
|
+
|
|
109
|
+
case 'Set':
|
|
110
|
+
if (a.size !== b.size) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return _uniqContentEquals(a.values(), b.values(), stackA.concat([a]), stackB.concat([b]));
|
|
115
|
+
|
|
116
|
+
case 'Arguments':
|
|
117
|
+
case 'Array':
|
|
118
|
+
case 'Object':
|
|
119
|
+
case 'Boolean':
|
|
120
|
+
case 'Number':
|
|
121
|
+
case 'String':
|
|
122
|
+
case 'Date':
|
|
123
|
+
case 'Error':
|
|
124
|
+
case 'RegExp':
|
|
125
|
+
case 'Int8Array':
|
|
126
|
+
case 'Uint8Array':
|
|
127
|
+
case 'Uint8ClampedArray':
|
|
128
|
+
case 'Int16Array':
|
|
129
|
+
case 'Uint16Array':
|
|
130
|
+
case 'Int32Array':
|
|
131
|
+
case 'Uint32Array':
|
|
132
|
+
case 'Float32Array':
|
|
133
|
+
case 'Float64Array':
|
|
134
|
+
case 'ArrayBuffer':
|
|
135
|
+
break;
|
|
136
|
+
|
|
137
|
+
default:
|
|
138
|
+
// Values of other types are only equal if identical.
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
var keysA = keys(a);
|
|
143
|
+
|
|
144
|
+
if (keysA.length !== keys(b).length) {
|
|
145
|
+
return false;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
var extendedStackA = stackA.concat([a]);
|
|
149
|
+
var extendedStackB = stackB.concat([b]);
|
|
150
|
+
idx = keysA.length - 1;
|
|
151
|
+
|
|
152
|
+
while (idx >= 0) {
|
|
153
|
+
var key = keysA[idx];
|
|
154
|
+
|
|
155
|
+
if (!(_has(key, b) && _equals(b[key], a[key], extendedStackA, extendedStackB))) {
|
|
156
|
+
return false;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
idx -= 1;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
return true;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export { _equals as default };
|
|
166
|
+
//# sourceMappingURL=_equals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_equals.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_equals.js"],"sourcesContent":["import _arrayFromIterator from \"./_arrayFromIterator.js\";\nimport _includesWith from \"./_includesWith.js\";\nimport _functionName from \"./_functionName.js\";\nimport _has from \"./_has.js\";\nimport _objectIs from \"./_objectIs.js\";\nimport keys from \"../keys.js\";\nimport type from \"../type.js\";\n/**\n * private _uniqContentEquals function.\n * That function is checking equality of 2 iterator contents with 2 assumptions\n * - iterators lengths are the same\n * - iterators values are unique\n *\n * false-positive result will be returned for comparison of, e.g.\n * - [1,2,3] and [1,2,3,4]\n * - [1,1,1] and [1,2,3]\n * */\n\nfunction _uniqContentEquals(aIterator, bIterator, stackA, stackB) {\n var a = _arrayFromIterator(aIterator);\n\n var b = _arrayFromIterator(bIterator);\n\n function eq(_a, _b) {\n return _equals(_a, _b, stackA.slice(), stackB.slice());\n } // if *a* array contains any element that is not included in *b*\n\n\n return !_includesWith(function (b, aItem) {\n return !_includesWith(eq, aItem, b);\n }, b, a);\n}\n\nexport default function _equals(a, b, stackA, stackB) {\n if (_objectIs(a, b)) {\n return true;\n }\n\n var typeA = type(a);\n\n if (typeA !== type(b)) {\n return false;\n }\n\n if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {\n return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);\n }\n\n if (typeof a.equals === 'function' || typeof b.equals === 'function') {\n return typeof a.equals === 'function' && a.equals(b) && typeof b.equals === 'function' && b.equals(a);\n }\n\n switch (typeA) {\n case 'Arguments':\n case 'Array':\n case 'Object':\n if (typeof a.constructor === 'function' && _functionName(a.constructor) === 'Promise') {\n return a === b;\n }\n\n break;\n\n case 'Boolean':\n case 'Number':\n case 'String':\n if (!(typeof a === typeof b && _objectIs(a.valueOf(), b.valueOf()))) {\n return false;\n }\n\n break;\n\n case 'Date':\n if (!_objectIs(a.valueOf(), b.valueOf())) {\n return false;\n }\n\n break;\n\n case 'Error':\n return a.name === b.name && a.message === b.message;\n\n case 'RegExp':\n if (!(a.source === b.source && a.global === b.global && a.ignoreCase === b.ignoreCase && a.multiline === b.multiline && a.sticky === b.sticky && a.unicode === b.unicode)) {\n return false;\n }\n\n break;\n }\n\n var idx = stackA.length - 1;\n\n while (idx >= 0) {\n if (stackA[idx] === a) {\n return stackB[idx] === b;\n }\n\n idx -= 1;\n }\n\n switch (typeA) {\n case 'Map':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.entries(), b.entries(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Set':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.values(), b.values(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Arguments':\n case 'Array':\n case 'Object':\n case 'Boolean':\n case 'Number':\n case 'String':\n case 'Date':\n case 'Error':\n case 'RegExp':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'ArrayBuffer':\n break;\n\n default:\n // Values of other types are only equal if identical.\n return false;\n }\n\n var keysA = keys(a);\n\n if (keysA.length !== keys(b).length) {\n return false;\n }\n\n var extendedStackA = stackA.concat([a]);\n var extendedStackB = stackB.concat([b]);\n idx = keysA.length - 1;\n\n while (idx >= 0) {\n var key = keysA[idx];\n\n if (!(_has(key, b) && _equals(b[key], a[key], extendedStackA, extendedStackB))) {\n return false;\n }\n\n idx -= 1;\n }\n\n return true;\n}"],"names":[],"mappings":";;;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE;AAClE,EAAE,IAAI,CAAC,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACxC;AACA,EAAE,IAAI,CAAC,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACxC;AACA,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACtB,IAAI,OAAO,OAAO,CAAC,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,EAAE,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;AAC3D,GAAG;AACH;AACA;AACA,EAAE,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE;AAC5C,IAAI,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;AACxC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACX,CAAC;AACD;AACe,SAAS,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE;AACtD,EAAE,IAAI,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;AACvB,IAAI,OAAO,IAAI,CAAC;AAChB,GAAG;AACH;AACA,EAAE,IAAI,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AACtB;AACA,EAAE,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE;AACzB,IAAI,OAAO,KAAK,CAAC;AACjB,GAAG;AACH;AACA,EAAE,IAAI,OAAO,CAAC,CAAC,qBAAqB,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K,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AACtB;AACA,EAAE,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE;AACvC,IAAI,OAAO,KAAK,CAAC;AACjB,GAAG;AACH;AACA,EAAE,IAAI,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1C,EAAE,IAAI,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1C,EAAE,GAAG,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AACzB;AACA,EAAE,OAAO,GAAG,IAAI,CAAC,EAAE;AACnB,IAAI,IAAI,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;AACzB;AACA,IAAI,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC,EAAE;AACpF,MAAM,OAAO,KAAK,CAAC;AACnB,KAAK;AACL;AACA,IAAI,GAAG,IAAI,CAAC,CAAC;AACb,GAAG;AACH;AACA,EAAE,OAAO,IAAI,CAAC;AACd;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
function _filter(fn, list) {
|
|
2
|
+
var idx = 0;
|
|
3
|
+
var len = list.length;
|
|
4
|
+
var result = [];
|
|
5
|
+
|
|
6
|
+
while (idx < len) {
|
|
7
|
+
if (fn(list[idx])) {
|
|
8
|
+
result[result.length] = list[idx];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
idx += 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
return result;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { _filter as default };
|
|
18
|
+
//# sourceMappingURL=_filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_filter.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_filter.js"],"sourcesContent":["export default function _filter(fn, list) {\n var idx = 0;\n var len = list.length;\n var result = [];\n\n while (idx < len) {\n if (fn(list[idx])) {\n result[result.length] = list[idx];\n }\n\n idx += 1;\n }\n\n return result;\n}"],"names":[],"mappings":"AAAe,SAAS,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE;AAC1C,EAAE,IAAI,GAAG,GAAG,CAAC,CAAC;AACd,EAAE,IAAI,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC;AACxB,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC;AAClB;AACA,EAAE,OAAO,GAAG,GAAG,GAAG,EAAE;AACpB,IAAI,IAAI,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE;AACvB,MAAM,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;AACxC,KAAK;AACL;AACA,IAAI,GAAG,IAAI,CAAC,CAAC;AACb,GAAG;AACH;AACA,EAAE,OAAO,MAAM,CAAC;AAChB;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
function _functionName(f) {
|
|
2
|
+
// String(x => x) evaluates to "x => x", so the pattern may not match.
|
|
3
|
+
var match = String(f).match(/^function (\w*)/);
|
|
4
|
+
return match == null ? '' : match[1];
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { _functionName as default };
|
|
8
|
+
//# sourceMappingURL=_functionName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_functionName.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_functionName.js"],"sourcesContent":["export default function _functionName(f) {\n // String(x => x) evaluates to \"x => x\", so the pattern may not match.\n var match = String(f).match(/^function (\\w*)/);\n return match == null ? '' : match[1];\n}"],"names":[],"mappings":"AAAe,SAAS,aAAa,CAAC,CAAC,EAAE;AACzC;AACA,EAAE,IAAI,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AACjD,EAAE,OAAO,KAAK,IAAI,IAAI,GAAG,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;AACvC;;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function _includesWith(pred, x, list) {
|
|
2
|
+
var idx = 0;
|
|
3
|
+
var len = list.length;
|
|
4
|
+
|
|
5
|
+
while (idx < len) {
|
|
6
|
+
if (pred(x, list[idx])) {
|
|
7
|
+
return true;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
idx += 1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { _includesWith as default };
|
|
17
|
+
//# sourceMappingURL=_includesWith.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_includesWith.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_includesWith.js"],"sourcesContent":["export default function _includesWith(pred, x, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n if (pred(x, list[idx])) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n}"],"names":[],"mappings":"AAAe,SAAS,aAAa,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE;AACrD,EAAE,IAAI,GAAG,GAAG,CAAC,CAAC;AACd,EAAE,IAAI,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC;AACxB;AACA,EAAE,OAAO,GAAG,GAAG,GAAG,EAAE;AACpB,IAAI,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE;AAC5B,MAAM,OAAO,IAAI,CAAC;AAClB,KAAK;AACL;AACA,IAAI,GAAG,IAAI,CAAC,CAAC;AACb,GAAG;AACH;AACA,EAAE,OAAO,KAAK,CAAC;AACf;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import _has from './_has.js';
|
|
2
|
+
|
|
3
|
+
var toString = Object.prototype.toString;
|
|
4
|
+
|
|
5
|
+
var _isArguments =
|
|
6
|
+
/*#__PURE__*/
|
|
7
|
+
function () {
|
|
8
|
+
return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {
|
|
9
|
+
return toString.call(x) === '[object Arguments]';
|
|
10
|
+
} : function _isArguments(x) {
|
|
11
|
+
return _has('callee', x);
|
|
12
|
+
};
|
|
13
|
+
}();
|
|
14
|
+
|
|
15
|
+
export { _isArguments as default };
|
|
16
|
+
//# sourceMappingURL=_isArguments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_isArguments.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isArguments.js"],"sourcesContent":["import _has from \"./_has.js\";\nvar toString = Object.prototype.toString;\n\nvar _isArguments =\n/*#__PURE__*/\nfunction () {\n return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {\n return toString.call(x) === '[object Arguments]';\n } : function _isArguments(x) {\n return _has('callee', x);\n };\n}();\n\nexport default _isArguments;"],"names":[],"mappings":";;AACA,IAAI,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;AACzC;AACG,IAAC,YAAY;AAChB;AACA,YAAY;AACZ,EAAE,OAAO,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,oBAAoB,GAAG,SAAS,YAAY,CAAC,CAAC,EAAE;AACtF,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,oBAAoB,CAAC;AACrD,GAAG,GAAG,SAAS,YAAY,CAAC,CAAC,EAAE;AAC/B,IAAI,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC7B,GAAG,CAAC;AACJ,CAAC;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests whether or not an object is an array.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @param {*} val The object to test.
|
|
6
|
+
* @return {Boolean} `true` if `val` is an array, `false` otherwise.
|
|
7
|
+
* @example
|
|
8
|
+
*
|
|
9
|
+
* _isArray([]); //=> true
|
|
10
|
+
* _isArray(null); //=> false
|
|
11
|
+
* _isArray({}); //=> false
|
|
12
|
+
*/
|
|
13
|
+
var _isArray = Array.isArray || function _isArray(val) {
|
|
14
|
+
return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { _isArray as default };
|
|
18
|
+
//# sourceMappingURL=_isArray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_isArray.js","sources":["../../../../../../../../.yarn/cache/ramda-npm-0.28.0-6a5fe8f6cc-44ea6e5010.zip/node_modules/ramda/es/internal/_isArray.js"],"sourcesContent":["/**\n * Tests whether or not an object is an array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is an array, `false` otherwise.\n * @example\n *\n * _isArray([]); //=> true\n * _isArray(null); //=> false\n * _isArray({}); //=> false\n */\nexport default Array.isArray || function _isArray(val) {\n return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';\n};"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,KAAK,CAAC,OAAO,IAAI,SAAS,QAAQ,CAAC,GAAG,EAAE;AACvD,EAAE,OAAO,GAAG,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,gBAAgB,CAAC;AACpG,CAAC;;;;"}
|