@axdspub/axiom-ui-forms 0.3.3 → 0.3.5
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/library/axiom-ui-forms.d.ts +56 -26
- package/library/esm/_virtual/index10.js +2 -2
- package/library/esm/_virtual/index3.js +2 -2
- package/library/esm/_virtual/index4.js +2 -2
- package/library/esm/_virtual/index9.js +2 -2
- package/library/esm/node_modules/@axdspub/axiom-maps/library/index.js +1 -1
- package/library/esm/node_modules/@axdspub/axiom-maps/library/openlayers/index.esm.js +1 -1
- package/library/esm/node_modules/@axdspub/axiom-maps/node_modules/@axdspub/axiom-ui-utilities/library/index.js +15219 -0
- package/library/esm/node_modules/@axdspub/axiom-maps/node_modules/@axdspub/axiom-ui-utilities/library/index.js.map +1 -0
- package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js +122 -90
- package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js.map +1 -1
- package/library/esm/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +23 -1
- package/library/esm/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
- package/library/esm/node_modules/ajv/dist/compile/validate/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/core/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/discriminator/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/format/index.js +1 -1
- package/library/esm/node_modules/lodash-es/_SetCache.js +28 -0
- package/library/esm/node_modules/lodash-es/_SetCache.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_arrayLikeKeys.js +8 -1
- package/library/esm/node_modules/lodash-es/_arrayLikeKeys.js.map +1 -1
- package/library/esm/node_modules/lodash-es/_arraySome.js +24 -0
- package/library/esm/node_modules/lodash-es/_arraySome.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_baseIsEqual.js +29 -0
- package/library/esm/node_modules/lodash-es/_baseIsEqual.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_baseIsEqualDeep.js +84 -0
- package/library/esm/node_modules/lodash-es/_baseIsEqualDeep.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_baseKeys.js +31 -0
- package/library/esm/node_modules/lodash-es/_baseKeys.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_baseTrim.js +20 -0
- package/library/esm/node_modules/lodash-es/_baseTrim.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_cacheHas.js +14 -0
- package/library/esm/node_modules/lodash-es/_cacheHas.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_equalArrays.js +85 -0
- package/library/esm/node_modules/lodash-es/_equalArrays.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_equalByTag.js +113 -0
- package/library/esm/node_modules/lodash-es/_equalByTag.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_equalObjects.js +91 -0
- package/library/esm/node_modules/lodash-es/_equalObjects.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_getAllKeys.js +17 -0
- package/library/esm/node_modules/lodash-es/_getAllKeys.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_mapToArray.js +19 -0
- package/library/esm/node_modules/lodash-es/_mapToArray.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_nativeKeys.js +7 -0
- package/library/esm/node_modules/lodash-es/_nativeKeys.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_setCacheAdd.js +20 -0
- package/library/esm/node_modules/lodash-es/_setCacheAdd.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_setCacheHas.js +15 -0
- package/library/esm/node_modules/lodash-es/_setCacheHas.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_setToArray.js +19 -0
- package/library/esm/node_modules/lodash-es/_setToArray.js.map +1 -0
- package/library/esm/node_modules/lodash-es/_trimmedEndIndex.js +20 -0
- package/library/esm/node_modules/lodash-es/_trimmedEndIndex.js.map +1 -0
- package/library/esm/node_modules/lodash-es/debounce.js +192 -0
- package/library/esm/node_modules/lodash-es/debounce.js.map +1 -0
- package/library/esm/node_modules/lodash-es/isEqual.js +36 -0
- package/library/esm/node_modules/lodash-es/isEqual.js.map +1 -0
- package/library/esm/node_modules/lodash-es/keys.js +38 -0
- package/library/esm/node_modules/lodash-es/keys.js.map +1 -0
- package/library/esm/node_modules/lodash-es/keysIn.js +1 -1
- package/library/esm/node_modules/lodash-es/keysIn.js.map +1 -1
- package/library/esm/node_modules/lodash-es/now.js +24 -0
- package/library/esm/node_modules/lodash-es/now.js.map +1 -0
- package/library/esm/node_modules/lodash-es/toNumber.js +65 -0
- package/library/esm/node_modules/lodash-es/toNumber.js.map +1 -0
- package/library/esm/src/Form/Components/FieldCreator.js +86 -31
- package/library/esm/src/Form/Components/FieldCreator.js.map +1 -1
- package/library/esm/src/Form/Components/FieldLabel.js +90 -19
- package/library/esm/src/Form/Components/FieldLabel.js.map +1 -1
- package/library/esm/src/Form/Components/InlineMarkdown.js +4 -0
- package/library/esm/src/Form/Components/InlineMarkdown.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Boolean.js +8 -6
- package/library/esm/src/Form/Components/Inputs/Boolean.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Constant.js +2 -2
- package/library/esm/src/Form/Components/Inputs/Constant.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Date.js +3 -4
- package/library/esm/src/Form/Components/Inputs/Date.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/DateTime.js +3 -4
- package/library/esm/src/Form/Components/Inputs/DateTime.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/GeoJSON.js +5 -4
- package/library/esm/src/Form/Components/Inputs/GeoJSON.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Geometry.js +20 -11
- package/library/esm/src/Form/Components/Inputs/Geometry.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/JSON.js +6 -5
- package/library/esm/src/Form/Components/Inputs/JSON.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/LongString.js +5 -5
- package/library/esm/src/Form/Components/Inputs/LongString.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Number.js +49 -35
- package/library/esm/src/Form/Components/Inputs/Number.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Object.js +46 -11
- package/library/esm/src/Form/Components/Inputs/Object.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/RadioGroup.js +2 -3
- package/library/esm/src/Form/Components/Inputs/RadioGroup.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/SingleSelect.js +2 -3
- package/library/esm/src/Form/Components/Inputs/SingleSelect.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/String.js +5 -11
- package/library/esm/src/Form/Components/Inputs/String.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Time.js +2 -3
- package/library/esm/src/Form/Components/Inputs/Time.js.map +1 -1
- package/library/esm/src/Form/Creator/FormCreator.js +6 -6
- package/library/esm/src/Form/Creator/FormCreator.js.map +1 -1
- package/library/esm/src/Form/Creator/FormFields.js +1 -1
- package/library/esm/src/Form/Creator/FormFields.js.map +1 -1
- package/library/esm/src/Form/Creator/FormHeader.js +2 -1
- package/library/esm/src/Form/Creator/FormHeader.js.map +1 -1
- package/library/esm/src/Form/Creator/FormSection.js +1 -1
- package/library/esm/src/Form/Creator/FormSection.js.map +1 -1
- package/library/esm/src/Form/Creator/Page.js +7 -2
- package/library/esm/src/Form/Creator/Page.js.map +1 -1
- package/library/esm/src/Form/Creator/Wizard.js +6 -6
- package/library/esm/src/Form/Creator/Wizard.js.map +1 -1
- package/library/esm/src/utils/getters.js +36 -6
- package/library/esm/src/utils/getters.js.map +1 -1
- package/library/esm/src/utils/helpers.js +11 -0
- package/library/esm/src/utils/helpers.js.map +1 -0
- package/library/esm/src/utils/manipulators.js +30 -11
- package/library/esm/src/utils/manipulators.js.map +1 -1
- package/library/esm/src/utils/schemaToFormHelpers.js +2 -2
- package/library/esm/src/utils/schemaToFormHelpers.js.map +1 -1
- package/library/esm/src/utils/validators.js +94 -15
- package/library/esm/src/utils/validators.js.map +1 -1
- package/package.json +5 -3
@@ -0,0 +1,91 @@
|
|
1
|
+
import getAllKeys from './_getAllKeys.js';
|
2
|
+
|
3
|
+
/** Used to compose bitmasks for value comparisons. */
|
4
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
5
|
+
|
6
|
+
/** Used for built-in method references. */
|
7
|
+
var objectProto = Object.prototype;
|
8
|
+
|
9
|
+
/** Used to check objects for own properties. */
|
10
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
11
|
+
|
12
|
+
/**
|
13
|
+
* A specialized version of `baseIsEqualDeep` for objects with support for
|
14
|
+
* partial deep comparisons.
|
15
|
+
*
|
16
|
+
* @private
|
17
|
+
* @param {Object} object The object to compare.
|
18
|
+
* @param {Object} other The other object to compare.
|
19
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
20
|
+
* @param {Function} customizer The function to customize comparisons.
|
21
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
22
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
23
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
24
|
+
*/
|
25
|
+
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
26
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
27
|
+
objProps = getAllKeys(object),
|
28
|
+
objLength = objProps.length,
|
29
|
+
othProps = getAllKeys(other),
|
30
|
+
othLength = othProps.length;
|
31
|
+
|
32
|
+
if (objLength != othLength && !isPartial) {
|
33
|
+
return false;
|
34
|
+
}
|
35
|
+
var index = objLength;
|
36
|
+
while (index--) {
|
37
|
+
var key = objProps[index];
|
38
|
+
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
39
|
+
return false;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
// Check that cyclic values are equal.
|
43
|
+
var objStacked = stack.get(object);
|
44
|
+
var othStacked = stack.get(other);
|
45
|
+
if (objStacked && othStacked) {
|
46
|
+
return objStacked == other && othStacked == object;
|
47
|
+
}
|
48
|
+
var result = true;
|
49
|
+
stack.set(object, other);
|
50
|
+
stack.set(other, object);
|
51
|
+
|
52
|
+
var skipCtor = isPartial;
|
53
|
+
while (++index < objLength) {
|
54
|
+
key = objProps[index];
|
55
|
+
var objValue = object[key],
|
56
|
+
othValue = other[key];
|
57
|
+
|
58
|
+
if (customizer) {
|
59
|
+
var compared = isPartial
|
60
|
+
? customizer(othValue, objValue, key, other, object, stack)
|
61
|
+
: customizer(objValue, othValue, key, object, other, stack);
|
62
|
+
}
|
63
|
+
// Recursively compare objects (susceptible to call stack limits).
|
64
|
+
if (!(compared === undefined
|
65
|
+
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
66
|
+
: compared
|
67
|
+
)) {
|
68
|
+
result = false;
|
69
|
+
break;
|
70
|
+
}
|
71
|
+
skipCtor || (skipCtor = key == 'constructor');
|
72
|
+
}
|
73
|
+
if (result && !skipCtor) {
|
74
|
+
var objCtor = object.constructor,
|
75
|
+
othCtor = other.constructor;
|
76
|
+
|
77
|
+
// Non `Object` object instances with different constructors are not equal.
|
78
|
+
if (objCtor != othCtor &&
|
79
|
+
('constructor' in object && 'constructor' in other) &&
|
80
|
+
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
81
|
+
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
82
|
+
result = false;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
stack['delete'](object);
|
86
|
+
stack['delete'](other);
|
87
|
+
return result;
|
88
|
+
}
|
89
|
+
|
90
|
+
export { equalObjects as default };
|
91
|
+
//# sourceMappingURL=_equalObjects.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_equalObjects.js","sources":["../../../../node_modules/lodash-es/_equalObjects.js"],"sourcesContent":["import getAllKeys from './_getAllKeys.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nexport default equalObjects;\n"],"names":[],"mappings":";;AAEA;AACA,IAAI,oBAAoB,GAAG,CAAC;;AAE5B;AACA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS;;AAElC;AACA,IAAI,cAAc,GAAG,WAAW,CAAC,cAAc;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,YAAY,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE;AAC5E,EAAE,IAAI,SAAS,GAAG,OAAO,GAAG,oBAAoB;AAChD,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC;AACnC,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM;AACjC,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC;AAClC,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM;;AAEjC,EAAE,IAAI,SAAS,IAAI,SAAS,IAAI,CAAC,SAAS,EAAE;AAC5C,IAAI,OAAO,KAAK;AAChB;AACA,EAAE,IAAI,KAAK,GAAG,SAAS;AACvB,EAAE,OAAO,KAAK,EAAE,EAAE;AAClB,IAAI,IAAI,GAAG,GAAG,QAAQ,CAAC,KAAK,CAAC;AAC7B,IAAI,IAAI,EAAE,SAAS,GAAG,GAAG,IAAI,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,EAAE;AACvE,MAAM,OAAO,KAAK;AAClB;AACA;AACA;AACA,EAAE,IAAI,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC;AACpC,EAAE,IAAI,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC;AACnC,EAAE,IAAI,UAAU,IAAI,UAAU,EAAE;AAChC,IAAI,OAAO,UAAU,IAAI,KAAK,IAAI,UAA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3D,QAAQ,EAAE,OAAO,OAAO,IAAI,UAAU,IAAI,OAAO,YAAY,OAAO;AACpE,UAAU,OAAO,OAAO,IAAI,UAAU,IAAI,OAAO,YAAY,OAAO,CAAC,EAAE;AACvE,MAAM,MAAM,GAAG,KAAK;AACpB;AACA;AACA,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC;AACzB,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC;AACxB,EAAE,OAAO,MAAM;AACf;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import baseGetAllKeys from './_baseGetAllKeys.js';
|
2
|
+
import getSymbols from './_getSymbols.js';
|
3
|
+
import keys from './keys.js';
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Creates an array of own enumerable property names and symbols of `object`.
|
7
|
+
*
|
8
|
+
* @private
|
9
|
+
* @param {Object} object The object to query.
|
10
|
+
* @returns {Array} Returns the array of property names and symbols.
|
11
|
+
*/
|
12
|
+
function getAllKeys(object) {
|
13
|
+
return baseGetAllKeys(object, keys, getSymbols);
|
14
|
+
}
|
15
|
+
|
16
|
+
export { getAllKeys as default };
|
17
|
+
//# sourceMappingURL=_getAllKeys.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_getAllKeys.js","sources":["../../../../node_modules/lodash-es/_getAllKeys.js"],"sourcesContent":["import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbols from './_getSymbols.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nexport default getAllKeys;\n"],"names":[],"mappings":";;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,CAAC,MAAM,EAAE;AAC5B,EAAE,OAAO,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC;AACjD;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Converts `map` to its key-value pairs.
|
3
|
+
*
|
4
|
+
* @private
|
5
|
+
* @param {Object} map The map to convert.
|
6
|
+
* @returns {Array} Returns the key-value pairs.
|
7
|
+
*/
|
8
|
+
function mapToArray(map) {
|
9
|
+
var index = -1,
|
10
|
+
result = Array(map.size);
|
11
|
+
|
12
|
+
map.forEach(function(value, key) {
|
13
|
+
result[++index] = [key, value];
|
14
|
+
});
|
15
|
+
return result;
|
16
|
+
}
|
17
|
+
|
18
|
+
export { mapToArray as default };
|
19
|
+
//# sourceMappingURL=_mapToArray.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_mapToArray.js","sources":["../../../../node_modules/lodash-es/_mapToArray.js"],"sourcesContent":["/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nexport default mapToArray;\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,CAAC,GAAG,EAAE;AACzB,EAAE,IAAI,KAAK,GAAG,EAAE;AAChB,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;;AAE9B,EAAE,GAAG,CAAC,OAAO,CAAC,SAAS,KAAK,EAAE,GAAG,EAAE;AACnC,IAAI,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC;AAClC,GAAG,CAAC;AACJ,EAAE,OAAO,MAAM;AACf;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_nativeKeys.js","sources":["../../../../node_modules/lodash-es/_nativeKeys.js"],"sourcesContent":["import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n"],"names":[],"mappings":";;AAEA;AACG,IAAC,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/** Used to stand-in for `undefined` hash values. */
|
2
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* Adds `value` to the array cache.
|
6
|
+
*
|
7
|
+
* @private
|
8
|
+
* @name add
|
9
|
+
* @memberOf SetCache
|
10
|
+
* @alias push
|
11
|
+
* @param {*} value The value to cache.
|
12
|
+
* @returns {Object} Returns the cache instance.
|
13
|
+
*/
|
14
|
+
function setCacheAdd(value) {
|
15
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
16
|
+
return this;
|
17
|
+
}
|
18
|
+
|
19
|
+
export { setCacheAdd as default };
|
20
|
+
//# sourceMappingURL=_setCacheAdd.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_setCacheAdd.js","sources":["../../../../node_modules/lodash-es/_setCacheAdd.js"],"sourcesContent":["/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nexport default setCacheAdd;\n"],"names":[],"mappings":"AAAA;AACA,IAAI,cAAc,GAAG,2BAA2B;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAW,CAAC,KAAK,EAAE;AAC5B,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,cAAc,CAAC;AAC1C,EAAE,OAAO,IAAI;AACb;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if `value` is in the array cache.
|
3
|
+
*
|
4
|
+
* @private
|
5
|
+
* @name has
|
6
|
+
* @memberOf SetCache
|
7
|
+
* @param {*} value The value to search for.
|
8
|
+
* @returns {number} Returns `true` if `value` is found, else `false`.
|
9
|
+
*/
|
10
|
+
function setCacheHas(value) {
|
11
|
+
return this.__data__.has(value);
|
12
|
+
}
|
13
|
+
|
14
|
+
export { setCacheHas as default };
|
15
|
+
//# sourceMappingURL=_setCacheHas.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_setCacheHas.js","sources":["../../../../node_modules/lodash-es/_setCacheHas.js"],"sourcesContent":["/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nexport default setCacheHas;\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAW,CAAC,KAAK,EAAE;AAC5B,EAAE,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC;AACjC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Converts `set` to an array of its values.
|
3
|
+
*
|
4
|
+
* @private
|
5
|
+
* @param {Object} set The set to convert.
|
6
|
+
* @returns {Array} Returns the values.
|
7
|
+
*/
|
8
|
+
function setToArray(set) {
|
9
|
+
var index = -1,
|
10
|
+
result = Array(set.size);
|
11
|
+
|
12
|
+
set.forEach(function(value) {
|
13
|
+
result[++index] = value;
|
14
|
+
});
|
15
|
+
return result;
|
16
|
+
}
|
17
|
+
|
18
|
+
export { setToArray as default };
|
19
|
+
//# sourceMappingURL=_setToArray.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_setToArray.js","sources":["../../../../node_modules/lodash-es/_setToArray.js"],"sourcesContent":["/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nexport default setToArray;\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,CAAC,GAAG,EAAE;AACzB,EAAE,IAAI,KAAK,GAAG,EAAE;AAChB,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;;AAE9B,EAAE,GAAG,CAAC,OAAO,CAAC,SAAS,KAAK,EAAE;AAC9B,IAAI,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,KAAK;AAC3B,GAAG,CAAC;AACJ,EAAE,OAAO,MAAM;AACf;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/** Used to match a single whitespace character. */
|
2
|
+
var reWhitespace = /\s/;
|
3
|
+
|
4
|
+
/**
|
5
|
+
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
6
|
+
* character of `string`.
|
7
|
+
*
|
8
|
+
* @private
|
9
|
+
* @param {string} string The string to inspect.
|
10
|
+
* @returns {number} Returns the index of the last non-whitespace character.
|
11
|
+
*/
|
12
|
+
function trimmedEndIndex(string) {
|
13
|
+
var index = string.length;
|
14
|
+
|
15
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
16
|
+
return index;
|
17
|
+
}
|
18
|
+
|
19
|
+
export { trimmedEndIndex as default };
|
20
|
+
//# sourceMappingURL=_trimmedEndIndex.js.map
|
@@ -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":[],"mappings":"AAAA;AACA,IAAI,YAAY,GAAG,IAAI;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,eAAe,CAAC,MAAM,EAAE;AACjC,EAAE,IAAI,KAAK,GAAG,MAAM,CAAC,MAAM;;AAE3B,EAAE,OAAO,KAAK,EAAE,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE;AAC7D,EAAE,OAAO,KAAK;AACd;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,192 @@
|
|
1
|
+
import isObject from './isObject.js';
|
2
|
+
import now from './now.js';
|
3
|
+
import toNumber from './toNumber.js';
|
4
|
+
|
5
|
+
/** Error message constants. */
|
6
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
7
|
+
|
8
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
9
|
+
var nativeMax = Math.max,
|
10
|
+
nativeMin = Math.min;
|
11
|
+
|
12
|
+
/**
|
13
|
+
* Creates a debounced function that delays invoking `func` until after `wait`
|
14
|
+
* milliseconds have elapsed since the last time the debounced function was
|
15
|
+
* invoked. The debounced function comes with a `cancel` method to cancel
|
16
|
+
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
17
|
+
* Provide `options` to indicate whether `func` should be invoked on the
|
18
|
+
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
19
|
+
* with the last arguments provided to the debounced function. Subsequent
|
20
|
+
* calls to the debounced function return the result of the last `func`
|
21
|
+
* invocation.
|
22
|
+
*
|
23
|
+
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
24
|
+
* invoked on the trailing edge of the timeout only if the debounced function
|
25
|
+
* is invoked more than once during the `wait` timeout.
|
26
|
+
*
|
27
|
+
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
28
|
+
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
29
|
+
*
|
30
|
+
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
31
|
+
* for details over the differences between `_.debounce` and `_.throttle`.
|
32
|
+
*
|
33
|
+
* @static
|
34
|
+
* @memberOf _
|
35
|
+
* @since 0.1.0
|
36
|
+
* @category Function
|
37
|
+
* @param {Function} func The function to debounce.
|
38
|
+
* @param {number} [wait=0] The number of milliseconds to delay.
|
39
|
+
* @param {Object} [options={}] The options object.
|
40
|
+
* @param {boolean} [options.leading=false]
|
41
|
+
* Specify invoking on the leading edge of the timeout.
|
42
|
+
* @param {number} [options.maxWait]
|
43
|
+
* The maximum time `func` is allowed to be delayed before it's invoked.
|
44
|
+
* @param {boolean} [options.trailing=true]
|
45
|
+
* Specify invoking on the trailing edge of the timeout.
|
46
|
+
* @returns {Function} Returns the new debounced function.
|
47
|
+
* @example
|
48
|
+
*
|
49
|
+
* // Avoid costly calculations while the window size is in flux.
|
50
|
+
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
51
|
+
*
|
52
|
+
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
53
|
+
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
54
|
+
* 'leading': true,
|
55
|
+
* 'trailing': false
|
56
|
+
* }));
|
57
|
+
*
|
58
|
+
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
59
|
+
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
60
|
+
* var source = new EventSource('/stream');
|
61
|
+
* jQuery(source).on('message', debounced);
|
62
|
+
*
|
63
|
+
* // Cancel the trailing debounced invocation.
|
64
|
+
* jQuery(window).on('popstate', debounced.cancel);
|
65
|
+
*/
|
66
|
+
function debounce(func, wait, options) {
|
67
|
+
var lastArgs,
|
68
|
+
lastThis,
|
69
|
+
maxWait,
|
70
|
+
result,
|
71
|
+
timerId,
|
72
|
+
lastCallTime,
|
73
|
+
lastInvokeTime = 0,
|
74
|
+
leading = false,
|
75
|
+
maxing = false,
|
76
|
+
trailing = true;
|
77
|
+
|
78
|
+
if (typeof func != 'function') {
|
79
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
80
|
+
}
|
81
|
+
wait = toNumber(wait) || 0;
|
82
|
+
if (isObject(options)) {
|
83
|
+
leading = !!options.leading;
|
84
|
+
maxing = 'maxWait' in options;
|
85
|
+
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
86
|
+
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
87
|
+
}
|
88
|
+
|
89
|
+
function invokeFunc(time) {
|
90
|
+
var args = lastArgs,
|
91
|
+
thisArg = lastThis;
|
92
|
+
|
93
|
+
lastArgs = lastThis = undefined;
|
94
|
+
lastInvokeTime = time;
|
95
|
+
result = func.apply(thisArg, args);
|
96
|
+
return result;
|
97
|
+
}
|
98
|
+
|
99
|
+
function leadingEdge(time) {
|
100
|
+
// Reset any `maxWait` timer.
|
101
|
+
lastInvokeTime = time;
|
102
|
+
// Start the timer for the trailing edge.
|
103
|
+
timerId = setTimeout(timerExpired, wait);
|
104
|
+
// Invoke the leading edge.
|
105
|
+
return leading ? invokeFunc(time) : result;
|
106
|
+
}
|
107
|
+
|
108
|
+
function remainingWait(time) {
|
109
|
+
var timeSinceLastCall = time - lastCallTime,
|
110
|
+
timeSinceLastInvoke = time - lastInvokeTime,
|
111
|
+
timeWaiting = wait - timeSinceLastCall;
|
112
|
+
|
113
|
+
return maxing
|
114
|
+
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
115
|
+
: timeWaiting;
|
116
|
+
}
|
117
|
+
|
118
|
+
function shouldInvoke(time) {
|
119
|
+
var timeSinceLastCall = time - lastCallTime,
|
120
|
+
timeSinceLastInvoke = time - lastInvokeTime;
|
121
|
+
|
122
|
+
// Either this is the first call, activity has stopped and we're at the
|
123
|
+
// trailing edge, the system time has gone backwards and we're treating
|
124
|
+
// it as the trailing edge, or we've hit the `maxWait` limit.
|
125
|
+
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
126
|
+
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
127
|
+
}
|
128
|
+
|
129
|
+
function timerExpired() {
|
130
|
+
var time = now();
|
131
|
+
if (shouldInvoke(time)) {
|
132
|
+
return trailingEdge(time);
|
133
|
+
}
|
134
|
+
// Restart the timer.
|
135
|
+
timerId = setTimeout(timerExpired, remainingWait(time));
|
136
|
+
}
|
137
|
+
|
138
|
+
function trailingEdge(time) {
|
139
|
+
timerId = undefined;
|
140
|
+
|
141
|
+
// Only invoke if we have `lastArgs` which means `func` has been
|
142
|
+
// debounced at least once.
|
143
|
+
if (trailing && lastArgs) {
|
144
|
+
return invokeFunc(time);
|
145
|
+
}
|
146
|
+
lastArgs = lastThis = undefined;
|
147
|
+
return result;
|
148
|
+
}
|
149
|
+
|
150
|
+
function cancel() {
|
151
|
+
if (timerId !== undefined) {
|
152
|
+
clearTimeout(timerId);
|
153
|
+
}
|
154
|
+
lastInvokeTime = 0;
|
155
|
+
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
156
|
+
}
|
157
|
+
|
158
|
+
function flush() {
|
159
|
+
return timerId === undefined ? result : trailingEdge(now());
|
160
|
+
}
|
161
|
+
|
162
|
+
function debounced() {
|
163
|
+
var time = now(),
|
164
|
+
isInvoking = shouldInvoke(time);
|
165
|
+
|
166
|
+
lastArgs = arguments;
|
167
|
+
lastThis = this;
|
168
|
+
lastCallTime = time;
|
169
|
+
|
170
|
+
if (isInvoking) {
|
171
|
+
if (timerId === undefined) {
|
172
|
+
return leadingEdge(lastCallTime);
|
173
|
+
}
|
174
|
+
if (maxing) {
|
175
|
+
// Handle invocations in a tight loop.
|
176
|
+
clearTimeout(timerId);
|
177
|
+
timerId = setTimeout(timerExpired, wait);
|
178
|
+
return invokeFunc(lastCallTime);
|
179
|
+
}
|
180
|
+
}
|
181
|
+
if (timerId === undefined) {
|
182
|
+
timerId = setTimeout(timerExpired, wait);
|
183
|
+
}
|
184
|
+
return result;
|
185
|
+
}
|
186
|
+
debounced.cancel = cancel;
|
187
|
+
debounced.flush = flush;
|
188
|
+
return debounced;
|
189
|
+
}
|
190
|
+
|
191
|
+
export { debounce as default };
|
192
|
+
//# sourceMappingURL=debounce.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"debounce.js","sources":["../../../../node_modules/lodash-es/debounce.js"],"sourcesContent":["import isObject from './isObject.js';\nimport now from './now.js';\nimport toNumber from './toNumber.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport default debounce;\n"],"names":[],"mappings":";;;;AAIA;AACA,IAAI,eAAe,GAAG,qBAAqB;;AAE3C;AACA,IAAI,SAAS,GAAG,IAAI,CAAC,GAAG;AACxB,IAAI,SAAS,GAAG,IAAI,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U,CAAC,YAAY,EAAE,IAAI,CAAC;AAC9C;AACA,IAAI,OAAO,MAAM;AACjB;AACA,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM;AAC3B,EAAE,SAAS,CAAC,KAAK,GAAG,KAAK;AACzB,EAAE,OAAO,SAAS;AAClB;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import baseIsEqual from './_baseIsEqual.js';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Performs a deep comparison between two values to determine if they are
|
5
|
+
* equivalent.
|
6
|
+
*
|
7
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
8
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
9
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
10
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
11
|
+
* nodes are compared by strict equality, i.e. `===`.
|
12
|
+
*
|
13
|
+
* @static
|
14
|
+
* @memberOf _
|
15
|
+
* @since 0.1.0
|
16
|
+
* @category Lang
|
17
|
+
* @param {*} value The value to compare.
|
18
|
+
* @param {*} other The other value to compare.
|
19
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
20
|
+
* @example
|
21
|
+
*
|
22
|
+
* var object = { 'a': 1 };
|
23
|
+
* var other = { 'a': 1 };
|
24
|
+
*
|
25
|
+
* _.isEqual(object, other);
|
26
|
+
* // => true
|
27
|
+
*
|
28
|
+
* object === other;
|
29
|
+
* // => false
|
30
|
+
*/
|
31
|
+
function isEqual(value, other) {
|
32
|
+
return baseIsEqual(value, other);
|
33
|
+
}
|
34
|
+
|
35
|
+
export { isEqual as default };
|
36
|
+
//# sourceMappingURL=isEqual.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isEqual.js","sources":["../../../../node_modules/lodash-es/isEqual.js"],"sourcesContent":["import baseIsEqual from './_baseIsEqual.js';\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.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 * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nexport default isEqual;\n"],"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;AACA;AACA;AACA,SAAS,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE;AAC/B,EAAE,OAAO,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC;AAClC;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import arrayLikeKeys from './_arrayLikeKeys.js';
|
2
|
+
import baseKeys from './_baseKeys.js';
|
3
|
+
import isArrayLike from './isArrayLike.js';
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Creates an array of the own enumerable property names of `object`.
|
7
|
+
*
|
8
|
+
* **Note:** Non-object values are coerced to objects. See the
|
9
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
10
|
+
* for more details.
|
11
|
+
*
|
12
|
+
* @static
|
13
|
+
* @since 0.1.0
|
14
|
+
* @memberOf _
|
15
|
+
* @category Object
|
16
|
+
* @param {Object} object The object to query.
|
17
|
+
* @returns {Array} Returns the array of property names.
|
18
|
+
* @example
|
19
|
+
*
|
20
|
+
* function Foo() {
|
21
|
+
* this.a = 1;
|
22
|
+
* this.b = 2;
|
23
|
+
* }
|
24
|
+
*
|
25
|
+
* Foo.prototype.c = 3;
|
26
|
+
*
|
27
|
+
* _.keys(new Foo);
|
28
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
29
|
+
*
|
30
|
+
* _.keys('hi');
|
31
|
+
* // => ['0', '1']
|
32
|
+
*/
|
33
|
+
function keys(object) {
|
34
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
35
|
+
}
|
36
|
+
|
37
|
+
export { keys as default };
|
38
|
+
//# sourceMappingURL=keys.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"keys.js","sources":["../../../../node_modules/lodash-es/keys.js"],"sourcesContent":["import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeys from './_baseKeys.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nexport default keys;\n"],"names":[],"mappings":";;;;AAIA;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;AACA,SAAS,IAAI,CAAC,MAAM,EAAE;AACtB,EAAE,OAAO,WAAW,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC;AACvE;;;;","x_google_ignoreList":[0]}
|
@@ -26,7 +26,7 @@ import isArrayLike from './isArrayLike.js';
|
|
26
26
|
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
27
27
|
*/
|
28
28
|
function keysIn(object) {
|
29
|
-
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeysIn(object);
|
29
|
+
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
30
30
|
}
|
31
31
|
|
32
32
|
export { keysIn as default };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"keysIn.js","sources":["../../../../node_modules/lodash-es/keysIn.js"],"sourcesContent":["import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n"],"names":[],"mappings":";;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,MAAM,CAAC,MAAM,EAAE;AACxB,EAAE,OAAO,WAAW,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC,
|
1
|
+
{"version":3,"file":"keysIn.js","sources":["../../../../node_modules/lodash-es/keysIn.js"],"sourcesContent":["import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n"],"names":[],"mappings":";;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,MAAM,CAAC,MAAM,EAAE;AACxB,EAAE,OAAO,WAAW,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC;AAC/E;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import root from './_root.js';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Gets the timestamp of the number of milliseconds that have elapsed since
|
5
|
+
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
6
|
+
*
|
7
|
+
* @static
|
8
|
+
* @memberOf _
|
9
|
+
* @since 2.4.0
|
10
|
+
* @category Date
|
11
|
+
* @returns {number} Returns the timestamp.
|
12
|
+
* @example
|
13
|
+
*
|
14
|
+
* _.defer(function(stamp) {
|
15
|
+
* console.log(_.now() - stamp);
|
16
|
+
* }, _.now());
|
17
|
+
* // => Logs the number of milliseconds it took for the deferred invocation.
|
18
|
+
*/
|
19
|
+
var now = function() {
|
20
|
+
return root.Date.now();
|
21
|
+
};
|
22
|
+
|
23
|
+
export { now as default };
|
24
|
+
//# sourceMappingURL=now.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"now.js","sources":["../../../../node_modules/lodash-es/now.js"],"sourcesContent":["import root from './_root.js';\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nexport default now;\n"],"names":[],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,GAAG,GAAG,WAAW;AACrB,EAAE,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;AACxB;;;;","x_google_ignoreList":[0]}
|