meticulous-ui 1.0.0 → 1.0.2
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/README.md +61 -0
- package/dist/_virtual/jsx-runtime.js +6 -0
- package/dist/_virtual/jsx-runtime.js.map +1 -0
- package/dist/_virtual/jsx-runtime2.js +5 -0
- package/dist/_virtual/jsx-runtime2.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.js +5 -0
- package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/colors/index.js +7 -0
- package/dist/colors/index.js.map +1 -0
- package/dist/components/Icons/ChevronLeft/ChevronLeft.js +25 -0
- package/dist/components/Icons/ChevronLeft/ChevronLeft.js.map +1 -0
- package/dist/components/Icons/ChevronLeft/index.js +5 -0
- package/dist/components/Icons/ChevronLeft/index.js.map +1 -0
- package/dist/components/Icons/ChevronRight/ChevronRight.js +25 -0
- package/dist/components/Icons/ChevronRight/ChevronRight.js.map +1 -0
- package/dist/components/Icons/ChevronRight/index.js +5 -0
- package/dist/components/Icons/ChevronRight/index.js.map +1 -0
- package/dist/components/Pagination/Pagination.js +36 -0
- package/dist/components/Pagination/Pagination.js.map +1 -0
- package/dist/components/Pagination/helpers.js +25 -0
- package/dist/components/Pagination/helpers.js.map +1 -0
- package/dist/components/Pagination/index.js +5 -0
- package/dist/components/Pagination/index.js.map +1 -0
- package/dist/components/Pagination/styles.js +41 -0
- package/dist/components/Pagination/styles.js.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +11 -0
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +10 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -0
- package/dist/node_modules/lodash-es/_Symbol.js +6 -0
- package/dist/node_modules/lodash-es/_Symbol.js.map +1 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js +11 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js.map +1 -0
- package/dist/node_modules/lodash-es/_baseRange.js +10 -0
- package/dist/node_modules/lodash-es/_baseRange.js.map +1 -0
- package/dist/node_modules/lodash-es/_baseTrim.js +9 -0
- package/dist/node_modules/lodash-es/_baseTrim.js.map +1 -0
- package/dist/node_modules/lodash-es/_createRange.js +12 -0
- package/dist/node_modules/lodash-es/_createRange.js.map +1 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js +5 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js.map +1 -0
- package/dist/node_modules/lodash-es/_getRawTag.js +16 -0
- package/dist/node_modules/lodash-es/_getRawTag.js.map +1 -0
- package/dist/node_modules/lodash-es/_isIndex.js +9 -0
- package/dist/node_modules/lodash-es/_isIndex.js.map +1 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.js +14 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.js.map +1 -0
- package/dist/node_modules/lodash-es/_objectToString.js +8 -0
- package/dist/node_modules/lodash-es/_objectToString.js.map +1 -0
- package/dist/node_modules/lodash-es/_root.js +6 -0
- package/dist/node_modules/lodash-es/_root.js.map +1 -0
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +10 -0
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js.map +1 -0
- package/dist/node_modules/lodash-es/eq.js +7 -0
- package/dist/node_modules/lodash-es/eq.js.map +1 -0
- package/dist/node_modules/lodash-es/isArrayLike.js +9 -0
- package/dist/node_modules/lodash-es/isArrayLike.js.map +1 -0
- package/dist/node_modules/lodash-es/isFunction.js +13 -0
- package/dist/node_modules/lodash-es/isFunction.js.map +1 -0
- package/dist/node_modules/lodash-es/isLength.js +8 -0
- package/dist/node_modules/lodash-es/isLength.js.map +1 -0
- package/dist/node_modules/lodash-es/isObject.js +8 -0
- package/dist/node_modules/lodash-es/isObject.js.map +1 -0
- package/dist/node_modules/lodash-es/isObjectLike.js +7 -0
- package/dist/node_modules/lodash-es/isObjectLike.js.map +1 -0
- package/dist/node_modules/lodash-es/isSymbol.js +10 -0
- package/dist/node_modules/lodash-es/isSymbol.js.map +1 -0
- package/dist/node_modules/lodash-es/range.js +6 -0
- package/dist/node_modules/lodash-es/range.js.map +1 -0
- package/dist/node_modules/lodash-es/toFinite.js +15 -0
- package/dist/node_modules/lodash-es/toFinite.js.map +1 -0
- package/dist/node_modules/lodash-es/toNumber.js +23 -0
- package/dist/node_modules/lodash-es/toNumber.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +605 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +29 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +11 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/node_modules/styled-components/dist/styled-components.browser.esm.js +573 -0
- package/dist/node_modules/styled-components/dist/styled-components.browser.esm.js.map +1 -0
- package/dist/node_modules/stylis/src/Enum.js +13 -0
- package/dist/node_modules/stylis/src/Enum.js.map +1 -0
- package/dist/node_modules/stylis/src/Middleware.js +50 -0
- package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
- package/dist/node_modules/stylis/src/Parser.js +132 -0
- package/dist/node_modules/stylis/src/Parser.js.map +1 -0
- package/dist/node_modules/stylis/src/Prefixer.js +188 -0
- package/dist/node_modules/stylis/src/Prefixer.js.map +1 -0
- package/dist/node_modules/stylis/src/Serializer.js +28 -0
- package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +148 -0
- package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
- package/dist/node_modules/stylis/src/Utility.js +57 -0
- package/dist/node_modules/stylis/src/Utility.js.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +19 -0
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
- package/package.json +16 -13
- package/src/colors/index.js +0 -3
- package/src/components/Icons/ChevronLeft/ChevronLeft.jsx +0 -28
- package/src/components/Icons/ChevronLeft/index.js +0 -3
- package/src/components/Icons/ChevronRight/ChevronRight.jsx +0 -28
- package/src/components/Icons/ChevronRight/index.js +0 -3
- package/src/components/Pagination/Pagination.jsx +0 -76
- package/src/components/Pagination/helpers.jsx +0 -21
- package/src/components/Pagination/index.js +0 -3
- package/src/components/Pagination/styles.js +0 -50
- package/src/index.js +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_objectToString.js","sources":["../../../node_modules/lodash-es/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n"],"names":["objectProto","nativeObjectToString","objectToString","value"],"mappings":"AACA,IAAIA,IAAc,OAAO,WAOrBC,IAAuBD,EAAY;AASvC,SAASE,EAAeC,GAAO;AAC7B,SAAOF,EAAqB,KAAKE,CAAK;AACxC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_root.js","sources":["../../../node_modules/lodash-es/_root.js"],"sourcesContent":["import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n"],"names":["freeSelf","root","freeGlobal"],"mappings":";AAGA,IAAIA,IAAW,OAAO,QAAQ,YAAY,QAAQ,KAAK,WAAW,UAAU,MAGxEC,IAAOC,KAAcF,KAAY,SAAS,aAAa,EAAC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_trimmedEndIndex.js","sources":["../../../node_modules/lodash-es/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n"],"names":["reWhitespace","trimmedEndIndex","string","index"],"mappings":"AACA,IAAIA,IAAe;AAUnB,SAASC,EAAgBC,GAAQ;AAG/B,WAFIC,IAAQD,EAAO,QAEZC,OAAWH,EAAa,KAAKE,EAAO,OAAOC,CAAK,CAAC;AAAG;AAC3D,SAAOA;AACT;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eq.js","sources":["../../../node_modules/lodash-es/eq.js"],"sourcesContent":["/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nexport default eq;\n"],"names":["eq","value","other"],"mappings":"AAgCA,SAASA,EAAGC,GAAOC,GAAO;AACxB,SAAOD,MAAUC,KAAUD,MAAUA,KAASC,MAAUA;AAC1D;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isArrayLike.js","sources":["../../../node_modules/lodash-es/isArrayLike.js"],"sourcesContent":["import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n"],"names":["isArrayLike","value","isLength","isFunction"],"mappings":";;AA4BA,SAASA,EAAYC,GAAO;AAC1B,SAAOA,KAAS,QAAQC,EAASD,EAAM,MAAM,KAAK,CAACE,EAAWF,CAAK;AACrE;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import o from "./_baseGetTag.js";
|
|
2
|
+
import r from "./isObject.js";
|
|
3
|
+
var e = "[object AsyncFunction]", a = "[object Function]", c = "[object GeneratorFunction]", i = "[object Proxy]";
|
|
4
|
+
function g(n) {
|
|
5
|
+
if (!r(n))
|
|
6
|
+
return !1;
|
|
7
|
+
var t = o(n);
|
|
8
|
+
return t == a || t == c || t == e || t == i;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
g as default
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=isFunction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isFunction.js","sources":["../../../node_modules/lodash-es/isFunction.js"],"sourcesContent":["import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n"],"names":["asyncTag","funcTag","genTag","proxyTag","isFunction","value","isObject","tag","baseGetTag"],"mappings":";;AAIA,IAAIA,IAAW,0BACXC,IAAU,qBACVC,IAAS,8BACTC,IAAW;AAmBf,SAASC,EAAWC,GAAO;AACzB,MAAI,CAACC,EAASD,CAAK;AACjB,WAAO;AAIT,MAAIE,IAAMC,EAAWH,CAAK;AAC1B,SAAOE,KAAON,KAAWM,KAAOL,KAAUK,KAAOP,KAAYO,KAAOJ;AACtE;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isLength.js","sources":["../../../node_modules/lodash-es/isLength.js"],"sourcesContent":["/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n"],"names":["MAX_SAFE_INTEGER","isLength","value"],"mappings":"AACA,IAAIA,IAAmB;AA4BvB,SAASC,EAASC,GAAO;AACvB,SAAO,OAAOA,KAAS,YACrBA,IAAQ,MAAMA,IAAQ,KAAK,KAAKA,KAASF;AAC7C;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isObject.js","sources":["../../../node_modules/lodash-es/isObject.js"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n"],"names":["isObject","value","type"],"mappings":"AAyBA,SAASA,EAASC,GAAO;AACvB,MAAIC,IAAO,OAAOD;AAClB,SAAOA,KAAS,SAASC,KAAQ,YAAYA,KAAQ;AACvD;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isObjectLike.js","sources":["../../../node_modules/lodash-es/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n"],"names":["isObjectLike","value"],"mappings":"AAwBA,SAASA,EAAaC,GAAO;AAC3B,SAAOA,KAAS,QAAQ,OAAOA,KAAS;AAC1C;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isSymbol.js","sources":["../../../node_modules/lodash-es/isSymbol.js"],"sourcesContent":["import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n"],"names":["symbolTag","isSymbol","value","isObjectLike","baseGetTag"],"mappings":";;AAIA,IAAIA,IAAY;AAmBhB,SAASC,EAASC,GAAO;AACvB,SAAO,OAAOA,KAAS,YACpBC,EAAaD,CAAK,KAAKE,EAAWF,CAAK,KAAKF;AACjD;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range.js","sources":["../../../node_modules/lodash-es/range.js"],"sourcesContent":["import createRange from './_createRange.js';\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nvar range = createRange();\n\nexport default range;\n"],"names":["range","createRange"],"mappings":";AA2CG,IAACA,IAAQC,EAAW;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import n from "./toNumber.js";
|
|
2
|
+
var t = 1 / 0, o = 17976931348623157e292;
|
|
3
|
+
function I(r) {
|
|
4
|
+
if (!r)
|
|
5
|
+
return r === 0 ? r : 0;
|
|
6
|
+
if (r = n(r), r === t || r === -t) {
|
|
7
|
+
var i = r < 0 ? -1 : 1;
|
|
8
|
+
return i * o;
|
|
9
|
+
}
|
|
10
|
+
return r === r ? r : 0;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
I as default
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=toFinite.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toFinite.js","sources":["../../../node_modules/lodash-es/toFinite.js"],"sourcesContent":["import toNumber from './toNumber.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nexport default toFinite;\n"],"names":["INFINITY","MAX_INTEGER","toFinite","value","toNumber","sign"],"mappings":";AAGA,IAAIA,IAAW,OACXC,IAAc;AAyBlB,SAASC,EAASC,GAAO;AACvB,MAAI,CAACA;AACH,WAAOA,MAAU,IAAIA,IAAQ;AAG/B,MADAA,IAAQC,EAASD,CAAK,GAClBA,MAAUH,KAAYG,MAAU,CAACH,GAAU;AAC7C,QAAIK,IAAQF,IAAQ,IAAI,KAAK;AAC7B,WAAOE,IAAOJ;AAAA,EAChB;AACA,SAAOE,MAAUA,IAAQA,IAAQ;AACnC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import n from "./_baseTrim.js";
|
|
2
|
+
import f from "./isObject.js";
|
|
3
|
+
import o from "./isSymbol.js";
|
|
4
|
+
var s = NaN, m = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, e = /^0o[0-7]+$/i, b = parseInt;
|
|
5
|
+
function O(r) {
|
|
6
|
+
if (typeof r == "number")
|
|
7
|
+
return r;
|
|
8
|
+
if (o(r))
|
|
9
|
+
return s;
|
|
10
|
+
if (f(r)) {
|
|
11
|
+
var t = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
12
|
+
r = f(t) ? t + "" : t;
|
|
13
|
+
}
|
|
14
|
+
if (typeof r != "string")
|
|
15
|
+
return r === 0 ? r : +r;
|
|
16
|
+
r = n(r);
|
|
17
|
+
var i = p.test(r);
|
|
18
|
+
return i || e.test(r) ? b(r.slice(2), i ? 2 : 8) : m.test(r) ? s : +r;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
O as default
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=toNumber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toNumber.js","sources":["../../../node_modules/lodash-es/toNumber.js"],"sourcesContent":["import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n"],"names":["NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","toNumber","value","isSymbol","isObject","other","baseTrim","isBinary"],"mappings":";;;AAKA,IAAIA,IAAM,KAGNC,IAAa,sBAGbC,IAAa,cAGbC,IAAY,eAGZC,IAAe;AAyBnB,SAASC,EAASC,GAAO;AACvB,MAAI,OAAOA,KAAS;AAClB,WAAOA;AAET,MAAIC,EAASD,CAAK;AAChB,WAAON;AAET,MAAIQ,EAASF,CAAK,GAAG;AACnB,QAAIG,IAAQ,OAAOH,EAAM,WAAW,aAAaA,EAAM,QAAO,IAAKA;AACnE,IAAAA,IAAQE,EAASC,CAAK,IAAKA,IAAQ,KAAMA;AAAA,EAC3C;AACA,MAAI,OAAOH,KAAS;AAClB,WAAOA,MAAU,IAAIA,IAAQ,CAACA;AAEhC,EAAAA,IAAQI,EAASJ,CAAK;AACtB,MAAIK,IAAWT,EAAW,KAAKI,CAAK;AACpC,SAAQK,KAAYR,EAAU,KAAKG,CAAK,IACpCF,EAAaE,EAAM,MAAM,CAAC,GAAGK,IAAW,IAAI,CAAC,IAC5CV,EAAW,KAAKK,CAAK,IAAIN,IAAM,CAACM;AACvC;","x_google_ignoreList":[0]}
|