@axdspub/axiom-ui-forms 0.2.9 → 0.3.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/README.md +272 -272
- package/library/axiom-ui-forms.d.ts +213 -77
- package/library/esm/_virtual/_commonjsHelpers.js +26 -1
- package/library/esm/_virtual/_commonjsHelpers.js.map +1 -1
- package/library/esm/_virtual/_freeGlobal.js +7 -0
- package/library/esm/_virtual/_freeGlobal.js.map +1 -0
- package/library/esm/_virtual/get.js +8 -0
- package/library/esm/_virtual/get.js.map +1 -0
- package/library/esm/_virtual/index10.js +2 -2
- package/library/esm/_virtual/index11.js +2 -2
- package/library/esm/_virtual/index12.js +2 -6
- package/library/esm/_virtual/index12.js.map +1 -1
- package/library/esm/_virtual/index13.js +2 -6
- package/library/esm/_virtual/index13.js.map +1 -1
- package/library/esm/_virtual/index3.js +2 -2
- package/library/esm/_virtual/index3.js.map +1 -1
- package/library/esm/_virtual/index5.js +2 -2
- package/library/esm/_virtual/index6.js +2 -2
- package/library/esm/_virtual/index6.js.map +1 -1
- package/library/esm/_virtual/index7.js +6 -2
- package/library/esm/_virtual/index7.js.map +1 -1
- package/library/esm/_virtual/index8.js +6 -2
- package/library/esm/_virtual/index8.js.map +1 -1
- package/library/esm/_virtual/index9.js +2 -2
- package/library/esm/_virtual/set.js +8 -0
- package/library/esm/_virtual/set.js.map +1 -0
- package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js +1 -1
- 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/codegen/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/compile/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/compile/validate/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/applicator/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/format/index.js +1 -1
- package/library/esm/node_modules/ajv/dist/vocabularies/validation/index.js +1 -1
- package/library/esm/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/library/esm/node_modules/jotai/esm/react.js +135 -0
- package/library/esm/node_modules/jotai/esm/react.js.map +1 -0
- package/library/esm/node_modules/jotai/esm/vanilla/internals.js +551 -0
- package/library/esm/node_modules/jotai/esm/vanilla/internals.js.map +1 -0
- package/library/esm/node_modules/jotai/esm/vanilla.js +111 -0
- package/library/esm/node_modules/jotai/esm/vanilla.js.map +1 -0
- package/library/esm/node_modules/lodash/_Hash.js +49 -0
- package/library/esm/node_modules/lodash/_Hash.js.map +1 -0
- package/library/esm/node_modules/lodash/_ListCache.js +49 -0
- package/library/esm/node_modules/lodash/_ListCache.js.map +1 -0
- package/library/esm/node_modules/lodash/_Map.js +21 -0
- package/library/esm/node_modules/lodash/_Map.js.map +1 -0
- package/library/esm/node_modules/lodash/_MapCache.js +49 -0
- package/library/esm/node_modules/lodash/_MapCache.js.map +1 -0
- package/library/esm/node_modules/lodash/_Symbol.js +19 -0
- package/library/esm/node_modules/lodash/_Symbol.js.map +1 -0
- package/library/esm/node_modules/lodash/_arrayMap.js +33 -0
- package/library/esm/node_modules/lodash/_arrayMap.js.map +1 -0
- package/library/esm/node_modules/lodash/_assignValue.js +42 -0
- package/library/esm/node_modules/lodash/_assignValue.js.map +1 -0
- package/library/esm/node_modules/lodash/_assocIndexOf.js +34 -0
- package/library/esm/node_modules/lodash/_assocIndexOf.js.map +1 -0
- package/library/esm/node_modules/lodash/_baseAssignValue.js +38 -0
- package/library/esm/node_modules/lodash/_baseAssignValue.js.map +1 -0
- package/library/esm/node_modules/lodash/_baseGet.js +38 -0
- package/library/esm/node_modules/lodash/_baseGet.js.map +1 -0
- package/library/esm/node_modules/lodash/_baseGetTag.js +43 -0
- package/library/esm/node_modules/lodash/_baseGetTag.js.map +1 -0
- package/library/esm/node_modules/lodash/_baseIsNative.js +63 -0
- package/library/esm/node_modules/lodash/_baseIsNative.js.map +1 -0
- package/library/esm/node_modules/lodash/_baseSet.js +68 -0
- package/library/esm/node_modules/lodash/_baseSet.js.map +1 -0
- package/library/esm/node_modules/lodash/_baseToString.js +50 -0
- package/library/esm/node_modules/lodash/_baseToString.js.map +1 -0
- package/library/esm/node_modules/lodash/_castPath.js +37 -0
- package/library/esm/node_modules/lodash/_castPath.js.map +1 -0
- package/library/esm/node_modules/lodash/_coreJsData.js +19 -0
- package/library/esm/node_modules/lodash/_coreJsData.js.map +1 -0
- package/library/esm/node_modules/lodash/_defineProperty.js +24 -0
- package/library/esm/node_modules/lodash/_defineProperty.js.map +1 -0
- package/library/esm/node_modules/lodash/_freeGlobal.js +7 -0
- package/library/esm/node_modules/lodash/_freeGlobal.js.map +1 -0
- package/library/esm/node_modules/lodash/_getMapData.js +31 -0
- package/library/esm/node_modules/lodash/_getMapData.js.map +1 -0
- package/library/esm/node_modules/lodash/_getNative.js +31 -0
- package/library/esm/node_modules/lodash/_getNative.js.map +1 -0
- package/library/esm/node_modules/lodash/_getRawTag.js +59 -0
- package/library/esm/node_modules/lodash/_getRawTag.js.map +1 -0
- package/library/esm/node_modules/lodash/_getValue.js +25 -0
- package/library/esm/node_modules/lodash/_getValue.js.map +1 -0
- package/library/esm/node_modules/lodash/_hashClear.js +28 -0
- package/library/esm/node_modules/lodash/_hashClear.js.map +1 -0
- package/library/esm/node_modules/lodash/_hashDelete.js +29 -0
- package/library/esm/node_modules/lodash/_hashDelete.js.map +1 -0
- package/library/esm/node_modules/lodash/_hashGet.js +43 -0
- package/library/esm/node_modules/lodash/_hashGet.js.map +1 -0
- package/library/esm/node_modules/lodash/_hashHas.js +36 -0
- package/library/esm/node_modules/lodash/_hashHas.js.map +1 -0
- package/library/esm/node_modules/lodash/_hashSet.js +36 -0
- package/library/esm/node_modules/lodash/_hashSet.js.map +1 -0
- package/library/esm/node_modules/lodash/_isIndex.js +37 -0
- package/library/esm/node_modules/lodash/_isIndex.js.map +1 -0
- package/library/esm/node_modules/lodash/_isKey.js +43 -0
- package/library/esm/node_modules/lodash/_isKey.js.map +1 -0
- package/library/esm/node_modules/lodash/_isKeyable.js +27 -0
- package/library/esm/node_modules/lodash/_isKeyable.js.map +1 -0
- package/library/esm/node_modules/lodash/_isMasked.js +33 -0
- package/library/esm/node_modules/lodash/_isMasked.js.map +1 -0
- package/library/esm/node_modules/lodash/_listCacheClear.js +25 -0
- package/library/esm/node_modules/lodash/_listCacheClear.js.map +1 -0
- package/library/esm/node_modules/lodash/_listCacheDelete.js +48 -0
- package/library/esm/node_modules/lodash/_listCacheDelete.js.map +1 -0
- package/library/esm/node_modules/lodash/_listCacheGet.js +32 -0
- package/library/esm/node_modules/lodash/_listCacheGet.js.map +1 -0
- package/library/esm/node_modules/lodash/_listCacheHas.js +29 -0
- package/library/esm/node_modules/lodash/_listCacheHas.js.map +1 -0
- package/library/esm/node_modules/lodash/_listCacheSet.js +39 -0
- package/library/esm/node_modules/lodash/_listCacheSet.js.map +1 -0
- package/library/esm/node_modules/lodash/_mapCacheClear.js +36 -0
- package/library/esm/node_modules/lodash/_mapCacheClear.js.map +1 -0
- package/library/esm/node_modules/lodash/_mapCacheDelete.js +31 -0
- package/library/esm/node_modules/lodash/_mapCacheDelete.js.map +1 -0
- package/library/esm/node_modules/lodash/_mapCacheGet.js +29 -0
- package/library/esm/node_modules/lodash/_mapCacheGet.js.map +1 -0
- package/library/esm/node_modules/lodash/_mapCacheHas.js +29 -0
- package/library/esm/node_modules/lodash/_mapCacheHas.js.map +1 -0
- package/library/esm/node_modules/lodash/_mapCacheSet.js +35 -0
- package/library/esm/node_modules/lodash/_mapCacheSet.js.map +1 -0
- package/library/esm/node_modules/lodash/_memoizeCapped.js +39 -0
- package/library/esm/node_modules/lodash/_memoizeCapped.js.map +1 -0
- package/library/esm/node_modules/lodash/_nativeCreate.js +19 -0
- package/library/esm/node_modules/lodash/_nativeCreate.js.map +1 -0
- package/library/esm/node_modules/lodash/_objectToString.js +34 -0
- package/library/esm/node_modules/lodash/_objectToString.js.map +1 -0
- package/library/esm/node_modules/lodash/_root.js +22 -0
- package/library/esm/node_modules/lodash/_root.js.map +1 -0
- package/library/esm/node_modules/lodash/_stringToPath.js +40 -0
- package/library/esm/node_modules/lodash/_stringToPath.js.map +1 -0
- package/library/esm/node_modules/lodash/_toKey.js +31 -0
- package/library/esm/node_modules/lodash/_toKey.js.map +1 -0
- package/library/esm/node_modules/lodash/_toSource.js +38 -0
- package/library/esm/node_modules/lodash/_toSource.js.map +1 -0
- package/library/esm/node_modules/lodash/eq.js +49 -0
- package/library/esm/node_modules/lodash/eq.js.map +1 -0
- package/library/esm/node_modules/lodash/get.js +46 -0
- package/library/esm/node_modules/lodash/get.js.map +1 -0
- package/library/esm/node_modules/lodash/isArray.js +38 -0
- package/library/esm/node_modules/lodash/isArray.js.map +1 -0
- package/library/esm/node_modules/lodash/isFunction.js +51 -0
- package/library/esm/node_modules/lodash/isFunction.js.map +1 -0
- package/library/esm/node_modules/lodash/isObject.js +43 -0
- package/library/esm/node_modules/lodash/isObject.js.map +1 -0
- package/library/esm/node_modules/lodash/isObjectLike.js +41 -0
- package/library/esm/node_modules/lodash/isObjectLike.js.map +1 -0
- package/library/esm/node_modules/lodash/isSymbol.js +43 -0
- package/library/esm/node_modules/lodash/isSymbol.js.map +1 -0
- package/library/esm/node_modules/lodash/memoize.js +86 -0
- package/library/esm/node_modules/lodash/memoize.js.map +1 -0
- package/library/esm/node_modules/lodash/set.js +48 -0
- package/library/esm/node_modules/lodash/set.js.map +1 -0
- package/library/esm/node_modules/lodash/toString.js +41 -0
- package/library/esm/node_modules/lodash/toString.js.map +1 -0
- package/library/esm/node_modules/react-router/dist/development/chunk-HA7DTUK3.js +1 -1
- package/library/esm/node_modules/unified/lib/index.js +1 -1
- package/library/esm/src/Form/Components/FieldCreator.js +24 -7
- package/library/esm/src/Form/Components/FieldCreator.js.map +1 -1
- package/library/esm/src/Form/Components/FieldLabel.js +1 -1
- package/library/esm/src/Form/Components/FieldLabel.js.map +1 -1
- package/library/esm/src/Form/Components/InlineMarkdown.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Boolean.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Constant.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Date.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/DateTime.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/GeoJSON.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/GeoJSONInputLoader.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Geometry.js +38 -32
- package/library/esm/src/Form/Components/Inputs/Geometry.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/GeometryInputLoader.js +4 -1
- package/library/esm/src/Form/Components/Inputs/GeometryInputLoader.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/JSON.js +83 -42
- package/library/esm/src/Form/Components/Inputs/JSON.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/JSONInputLoader.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/LongString.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Number.js +34 -9
- package/library/esm/src/Form/Components/Inputs/Number.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Object.js +7 -2
- package/library/esm/src/Form/Components/Inputs/Object.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/OneOfInput.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/RadioGroup.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/SingleSelect.js +2 -1
- package/library/esm/src/Form/Components/Inputs/SingleSelect.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/String.js +2 -2
- package/library/esm/src/Form/Components/Inputs/String.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/Time.js.map +1 -1
- package/library/esm/src/Form/Components/Inputs/index.js +11 -0
- package/library/esm/src/Form/Components/Inputs/index.js.map +1 -0
- package/library/esm/src/Form/Components/Inputs/inputMap.js.map +1 -1
- package/library/esm/src/Form/Creator/FormContextProvider.js.map +1 -1
- package/library/esm/src/Form/Creator/FormCreator.js +20 -9
- package/library/esm/src/Form/Creator/FormCreator.js.map +1 -1
- package/library/esm/src/Form/Creator/FormFields.js.map +1 -1
- package/library/esm/src/Form/Creator/FormHeader.js.map +1 -1
- package/library/esm/src/Form/Creator/FormSection.js.map +1 -1
- package/library/esm/src/Form/Creator/FormSectionContextProvider.js.map +1 -1
- package/library/esm/src/Form/Creator/NavElement.js.map +1 -1
- package/library/esm/src/Form/Creator/Page.js +40 -7
- package/library/esm/src/Form/Creator/Page.js.map +1 -1
- package/library/esm/src/Form/Creator/Wizard.js +79 -22
- package/library/esm/src/Form/Creator/Wizard.js.map +1 -1
- package/library/esm/src/Form/Manage/CopyableJSONOutput.js +3 -3
- package/library/esm/src/Form/Manage/CopyableJSONOutput.js.map +1 -1
- package/library/esm/src/library.js +11 -13
- package/library/esm/src/library.js.map +1 -1
- package/library/esm/src/utils/getters.js +135 -0
- package/library/esm/src/utils/getters.js.map +1 -0
- package/library/esm/src/utils/manipulators.js +171 -0
- package/library/esm/src/utils/manipulators.js.map +1 -0
- package/library/esm/src/utils/resolveRefs.js +44 -0
- package/library/esm/src/utils/resolveRefs.js.map +1 -0
- package/library/esm/src/utils/responsive/layoutState.js +18 -0
- package/library/esm/src/utils/responsive/layoutState.js.map +1 -0
- package/library/esm/src/{Form → utils}/schemaToFormHelpers.js +157 -38
- package/library/esm/src/utils/schemaToFormHelpers.js.map +1 -0
- package/library/esm/src/utils/validators.js +38 -0
- package/library/esm/src/utils/validators.js.map +1 -0
- package/package.json +131 -124
- package/library/esm/src/Form/helpers.js +0 -162
- package/library/esm/src/Form/helpers.js.map +0 -1
- package/library/esm/src/Form/resolveRefs.js +0 -26
- package/library/esm/src/Form/resolveRefs.js.map +0 -1
- package/library/esm/src/Form/schemaToFormHelpers.js.map +0 -1
@@ -0,0 +1,19 @@
|
|
1
|
+
import { __require as require_getNative } from './_getNative.js';
|
2
|
+
|
3
|
+
var _nativeCreate;
|
4
|
+
var hasRequired_nativeCreate;
|
5
|
+
|
6
|
+
function require_nativeCreate () {
|
7
|
+
if (hasRequired_nativeCreate) return _nativeCreate;
|
8
|
+
hasRequired_nativeCreate = 1;
|
9
|
+
var getNative = require_getNative();
|
10
|
+
|
11
|
+
/* Built-in method references that are verified to be native. */
|
12
|
+
var nativeCreate = getNative(Object, 'create');
|
13
|
+
|
14
|
+
_nativeCreate = nativeCreate;
|
15
|
+
return _nativeCreate;
|
16
|
+
}
|
17
|
+
|
18
|
+
export { require_nativeCreate as __require };
|
19
|
+
//# sourceMappingURL=_nativeCreate.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_nativeCreate.js","sources":["../../../../node_modules/lodash/_nativeCreate.js"],"sourcesContent":["var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n"],"names":["require$$0"],"mappings":";;;;;;;;CAAA,IAAI,SAAS,GAAGA,iBAAuB,EAAA;;AAEvC;AACA,CAAA,IAAI,YAAY,GAAG,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC;;AAE9C,CAAA,aAAc,GAAG,YAAY;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/** Used for built-in method references. */
|
2
|
+
|
3
|
+
var _objectToString;
|
4
|
+
var hasRequired_objectToString;
|
5
|
+
|
6
|
+
function require_objectToString () {
|
7
|
+
if (hasRequired_objectToString) return _objectToString;
|
8
|
+
hasRequired_objectToString = 1;
|
9
|
+
var objectProto = Object.prototype;
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Used to resolve the
|
13
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
14
|
+
* of values.
|
15
|
+
*/
|
16
|
+
var nativeObjectToString = objectProto.toString;
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
20
|
+
*
|
21
|
+
* @private
|
22
|
+
* @param {*} value The value to convert.
|
23
|
+
* @returns {string} Returns the converted string.
|
24
|
+
*/
|
25
|
+
function objectToString(value) {
|
26
|
+
return nativeObjectToString.call(value);
|
27
|
+
}
|
28
|
+
|
29
|
+
_objectToString = objectToString;
|
30
|
+
return _objectToString;
|
31
|
+
}
|
32
|
+
|
33
|
+
export { require_objectToString as __require };
|
34
|
+
//# sourceMappingURL=_objectToString.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_objectToString.js","sources":["../../../../node_modules/lodash/_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\nmodule.exports = objectToString;\n"],"names":[],"mappings":";;;;;;;;AACA,CAAA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS;;AAElC;AACA;AACA;AACA;AACA;AACA,CAAA,IAAI,oBAAoB,GAAG,WAAW,CAAC,QAAQ;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,cAAc,CAAC,KAAK,EAAE;AAC/B,GAAE,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC;AACzC;;AAEA,CAAA,eAAc,GAAG,cAAc;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import require$$0 from '../../_virtual/_freeGlobal.js';
|
2
|
+
|
3
|
+
var _root;
|
4
|
+
var hasRequired_root;
|
5
|
+
|
6
|
+
function require_root () {
|
7
|
+
if (hasRequired_root) return _root;
|
8
|
+
hasRequired_root = 1;
|
9
|
+
var freeGlobal = require$$0;
|
10
|
+
|
11
|
+
/** Detect free variable `self`. */
|
12
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
13
|
+
|
14
|
+
/** Used as a reference to the global object. */
|
15
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
16
|
+
|
17
|
+
_root = root;
|
18
|
+
return _root;
|
19
|
+
}
|
20
|
+
|
21
|
+
export { require_root as __require };
|
22
|
+
//# sourceMappingURL=_root.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_root.js","sources":["../../../../node_modules/lodash/_root.js"],"sourcesContent":["var freeGlobal = require('./_freeGlobal');\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\nmodule.exports = root;\n"],"names":[],"mappings":";;;;;;;;CAAA,IAAI,UAAU,GAAG,UAAwB;;AAEzC;AACA,CAAA,IAAI,QAAQ,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,IAAI;;AAEhF;CACA,IAAI,IAAI,GAAG,UAAU,IAAI,QAAQ,IAAI,QAAQ,CAAC,aAAa,CAAC,EAAE;;AAE9D,CAAA,KAAc,GAAG,IAAI;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { __require as require_memoizeCapped } from './_memoizeCapped.js';
|
2
|
+
|
3
|
+
var _stringToPath;
|
4
|
+
var hasRequired_stringToPath;
|
5
|
+
|
6
|
+
function require_stringToPath () {
|
7
|
+
if (hasRequired_stringToPath) return _stringToPath;
|
8
|
+
hasRequired_stringToPath = 1;
|
9
|
+
var memoizeCapped = require_memoizeCapped();
|
10
|
+
|
11
|
+
/** Used to match property names within property paths. */
|
12
|
+
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
13
|
+
|
14
|
+
/** Used to match backslashes in property paths. */
|
15
|
+
var reEscapeChar = /\\(\\)?/g;
|
16
|
+
|
17
|
+
/**
|
18
|
+
* Converts `string` to a property path array.
|
19
|
+
*
|
20
|
+
* @private
|
21
|
+
* @param {string} string The string to convert.
|
22
|
+
* @returns {Array} Returns the property path array.
|
23
|
+
*/
|
24
|
+
var stringToPath = memoizeCapped(function(string) {
|
25
|
+
var result = [];
|
26
|
+
if (string.charCodeAt(0) === 46 /* . */) {
|
27
|
+
result.push('');
|
28
|
+
}
|
29
|
+
string.replace(rePropName, function(match, number, quote, subString) {
|
30
|
+
result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
|
31
|
+
});
|
32
|
+
return result;
|
33
|
+
});
|
34
|
+
|
35
|
+
_stringToPath = stringToPath;
|
36
|
+
return _stringToPath;
|
37
|
+
}
|
38
|
+
|
39
|
+
export { require_stringToPath as __require };
|
40
|
+
//# sourceMappingURL=_stringToPath.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_stringToPath.js","sources":["../../../../node_modules/lodash/_stringToPath.js"],"sourcesContent":["var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n"],"names":["require$$0"],"mappings":";;;;;;;;CAAA,IAAI,aAAa,GAAGA,qBAA2B,EAAA;;AAE/C;CACA,IAAI,UAAU,GAAG,kGAAkG;;AAEnH;CACA,IAAI,YAAY,GAAG,UAAU;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,IAAI,YAAY,GAAG,aAAa,CAAC,SAAS,MAAM,EAAE;GAChD,IAAI,MAAM,GAAG,EAAE;GACf,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,EAAE,UAAU;AAC3C,KAAI,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;AACnB;AACA,GAAE,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,SAAS,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE;AACvE,KAAI,MAAM,CAAC,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,IAAI,MAAM,IAAI,KAAK,CAAC,CAAC;AAClF,IAAG,CAAC;AACJ,GAAE,OAAO,MAAM;AACf,EAAC,CAAC;;AAEF,CAAA,aAAc,GAAG,YAAY;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { __require as requireIsSymbol } from './isSymbol.js';
|
2
|
+
|
3
|
+
var _toKey;
|
4
|
+
var hasRequired_toKey;
|
5
|
+
|
6
|
+
function require_toKey () {
|
7
|
+
if (hasRequired_toKey) return _toKey;
|
8
|
+
hasRequired_toKey = 1;
|
9
|
+
var isSymbol = requireIsSymbol();
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Converts `value` to a string key if it's not a string or symbol.
|
13
|
+
*
|
14
|
+
* @private
|
15
|
+
* @param {*} value The value to inspect.
|
16
|
+
* @returns {string|symbol} Returns the key.
|
17
|
+
*/
|
18
|
+
function toKey(value) {
|
19
|
+
if (typeof value == 'string' || isSymbol(value)) {
|
20
|
+
return value;
|
21
|
+
}
|
22
|
+
var result = (value + '');
|
23
|
+
return (result == '0' && (1 / value) == -Infinity) ? '-0' : result;
|
24
|
+
}
|
25
|
+
|
26
|
+
_toKey = toKey;
|
27
|
+
return _toKey;
|
28
|
+
}
|
29
|
+
|
30
|
+
export { require_toKey as __require };
|
31
|
+
//# sourceMappingURL=_toKey.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_toKey.js","sources":["../../../../node_modules/lodash/_toKey.js"],"sourcesContent":["var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n"],"names":["require$$0"],"mappings":";;;;;;;;CAAA,IAAI,QAAQ,GAAGA,eAAqB,EAAA;;AAKpC;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,KAAK,CAAC,KAAK,EAAE;GACpB,IAAI,OAAO,KAAK,IAAI,QAAQ,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE;AACnD,KAAI,OAAO,KAAK;AAChB;AACA,GAAE,IAAI,MAAM,IAAI,KAAK,GAAG,EAAE,CAAC;AAC3B,GAAE,OAAO,CAAC,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,GAAG,KAAK,KAAK,SAAS,IAAI,IAAI,GAAG,MAAM;AACpE;;AAEA,CAAA,MAAc,GAAG,KAAK;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/** Used for built-in method references. */
|
2
|
+
|
3
|
+
var _toSource;
|
4
|
+
var hasRequired_toSource;
|
5
|
+
|
6
|
+
function require_toSource () {
|
7
|
+
if (hasRequired_toSource) return _toSource;
|
8
|
+
hasRequired_toSource = 1;
|
9
|
+
var funcProto = Function.prototype;
|
10
|
+
|
11
|
+
/** Used to resolve the decompiled source of functions. */
|
12
|
+
var funcToString = funcProto.toString;
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Converts `func` to its source code.
|
16
|
+
*
|
17
|
+
* @private
|
18
|
+
* @param {Function} func The function to convert.
|
19
|
+
* @returns {string} Returns the source code.
|
20
|
+
*/
|
21
|
+
function toSource(func) {
|
22
|
+
if (func != null) {
|
23
|
+
try {
|
24
|
+
return funcToString.call(func);
|
25
|
+
} catch (e) {}
|
26
|
+
try {
|
27
|
+
return (func + '');
|
28
|
+
} catch (e) {}
|
29
|
+
}
|
30
|
+
return '';
|
31
|
+
}
|
32
|
+
|
33
|
+
_toSource = toSource;
|
34
|
+
return _toSource;
|
35
|
+
}
|
36
|
+
|
37
|
+
export { require_toSource as __require };
|
38
|
+
//# sourceMappingURL=_toSource.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_toSource.js","sources":["../../../../node_modules/lodash/_toSource.js"],"sourcesContent":["/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n"],"names":[],"mappings":";;;;;;;;AACA,CAAA,IAAI,SAAS,GAAG,QAAQ,CAAC,SAAS;;AAElC;AACA,CAAA,IAAI,YAAY,GAAG,SAAS,CAAC,QAAQ;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,QAAQ,CAAC,IAAI,EAAE;AACxB,GAAE,IAAI,IAAI,IAAI,IAAI,EAAE;AACpB,KAAI,IAAI;AACR,OAAM,OAAO,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;MAC/B,CAAC,OAAO,CAAC,EAAE;AAChB,KAAI,IAAI;OACF,QAAQ,IAAI,GAAG,EAAE;MAClB,CAAC,OAAO,CAAC,EAAE;AAChB;AACA,GAAE,OAAO,EAAE;AACX;;AAEA,CAAA,SAAc,GAAG,QAAQ;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* Performs a
|
3
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
4
|
+
* comparison between two values to determine if they are equivalent.
|
5
|
+
*
|
6
|
+
* @static
|
7
|
+
* @memberOf _
|
8
|
+
* @since 4.0.0
|
9
|
+
* @category Lang
|
10
|
+
* @param {*} value The value to compare.
|
11
|
+
* @param {*} other The other value to compare.
|
12
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
13
|
+
* @example
|
14
|
+
*
|
15
|
+
* var object = { 'a': 1 };
|
16
|
+
* var other = { 'a': 1 };
|
17
|
+
*
|
18
|
+
* _.eq(object, object);
|
19
|
+
* // => true
|
20
|
+
*
|
21
|
+
* _.eq(object, other);
|
22
|
+
* // => false
|
23
|
+
*
|
24
|
+
* _.eq('a', 'a');
|
25
|
+
* // => true
|
26
|
+
*
|
27
|
+
* _.eq('a', Object('a'));
|
28
|
+
* // => false
|
29
|
+
*
|
30
|
+
* _.eq(NaN, NaN);
|
31
|
+
* // => true
|
32
|
+
*/
|
33
|
+
|
34
|
+
var eq_1;
|
35
|
+
var hasRequiredEq;
|
36
|
+
|
37
|
+
function requireEq () {
|
38
|
+
if (hasRequiredEq) return eq_1;
|
39
|
+
hasRequiredEq = 1;
|
40
|
+
function eq(value, other) {
|
41
|
+
return value === other || (value !== value && other !== other);
|
42
|
+
}
|
43
|
+
|
44
|
+
eq_1 = eq;
|
45
|
+
return eq_1;
|
46
|
+
}
|
47
|
+
|
48
|
+
export { requireEq as __require };
|
49
|
+
//# sourceMappingURL=eq.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eq.js","sources":["../../../../node_modules/lodash/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\nmodule.exports = eq;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,CAAA,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE;AAC1B,GAAE,OAAO,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,KAAK,CAAC;AAChE;;AAEA,CAAA,IAAc,GAAG,EAAE;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { __require as require_baseGet } from './_baseGet.js';
|
2
|
+
|
3
|
+
var get_1;
|
4
|
+
var hasRequiredGet;
|
5
|
+
|
6
|
+
function requireGet () {
|
7
|
+
if (hasRequiredGet) return get_1;
|
8
|
+
hasRequiredGet = 1;
|
9
|
+
var baseGet = require_baseGet();
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Gets the value at `path` of `object`. If the resolved value is
|
13
|
+
* `undefined`, the `defaultValue` is returned in its place.
|
14
|
+
*
|
15
|
+
* @static
|
16
|
+
* @memberOf _
|
17
|
+
* @since 3.7.0
|
18
|
+
* @category Object
|
19
|
+
* @param {Object} object The object to query.
|
20
|
+
* @param {Array|string} path The path of the property to get.
|
21
|
+
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
|
22
|
+
* @returns {*} Returns the resolved value.
|
23
|
+
* @example
|
24
|
+
*
|
25
|
+
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
|
26
|
+
*
|
27
|
+
* _.get(object, 'a[0].b.c');
|
28
|
+
* // => 3
|
29
|
+
*
|
30
|
+
* _.get(object, ['a', '0', 'b', 'c']);
|
31
|
+
* // => 3
|
32
|
+
*
|
33
|
+
* _.get(object, 'a.b.c', 'default');
|
34
|
+
* // => 'default'
|
35
|
+
*/
|
36
|
+
function get(object, path, defaultValue) {
|
37
|
+
var result = object == null ? undefined : baseGet(object, path);
|
38
|
+
return result === undefined ? defaultValue : result;
|
39
|
+
}
|
40
|
+
|
41
|
+
get_1 = get;
|
42
|
+
return get_1;
|
43
|
+
}
|
44
|
+
|
45
|
+
export { requireGet as __require };
|
46
|
+
//# sourceMappingURL=get.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get.js","sources":["../../../../node_modules/lodash/get.js"],"sourcesContent":["var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n"],"names":["require$$0"],"mappings":";;;;;;;;CAAA,IAAI,OAAO,GAAGA,eAAqB,EAAA;;AAEnC;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,CAAA,SAAS,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE;AACzC,GAAE,IAAI,MAAM,GAAG,MAAM,IAAI,IAAI,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC;AACjE,GAAE,OAAO,MAAM,KAAK,SAAS,GAAG,YAAY,GAAG,MAAM;AACrD;;AAEA,CAAA,KAAc,GAAG,GAAG;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if `value` is classified as an `Array` object.
|
3
|
+
*
|
4
|
+
* @static
|
5
|
+
* @memberOf _
|
6
|
+
* @since 0.1.0
|
7
|
+
* @category Lang
|
8
|
+
* @param {*} value The value to check.
|
9
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
10
|
+
* @example
|
11
|
+
*
|
12
|
+
* _.isArray([1, 2, 3]);
|
13
|
+
* // => true
|
14
|
+
*
|
15
|
+
* _.isArray(document.body.children);
|
16
|
+
* // => false
|
17
|
+
*
|
18
|
+
* _.isArray('abc');
|
19
|
+
* // => false
|
20
|
+
*
|
21
|
+
* _.isArray(_.noop);
|
22
|
+
* // => false
|
23
|
+
*/
|
24
|
+
|
25
|
+
var isArray_1;
|
26
|
+
var hasRequiredIsArray;
|
27
|
+
|
28
|
+
function requireIsArray () {
|
29
|
+
if (hasRequiredIsArray) return isArray_1;
|
30
|
+
hasRequiredIsArray = 1;
|
31
|
+
var isArray = Array.isArray;
|
32
|
+
|
33
|
+
isArray_1 = isArray;
|
34
|
+
return isArray_1;
|
35
|
+
}
|
36
|
+
|
37
|
+
export { requireIsArray as __require };
|
38
|
+
//# sourceMappingURL=isArray.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isArray.js","sources":["../../../../node_modules/lodash/isArray.js"],"sourcesContent":["/**\n * Checks if `value` is classified as an `Array` 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 an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,CAAA,IAAI,OAAO,GAAG,KAAK,CAAC,OAAO;;AAE3B,CAAA,SAAc,GAAG,OAAO;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { __require as require_baseGetTag } from './_baseGetTag.js';
|
2
|
+
import { __require as requireIsObject } from './isObject.js';
|
3
|
+
|
4
|
+
var isFunction_1;
|
5
|
+
var hasRequiredIsFunction;
|
6
|
+
|
7
|
+
function requireIsFunction () {
|
8
|
+
if (hasRequiredIsFunction) return isFunction_1;
|
9
|
+
hasRequiredIsFunction = 1;
|
10
|
+
var baseGetTag = require_baseGetTag(),
|
11
|
+
isObject = requireIsObject();
|
12
|
+
|
13
|
+
/** `Object#toString` result references. */
|
14
|
+
var asyncTag = '[object AsyncFunction]',
|
15
|
+
funcTag = '[object Function]',
|
16
|
+
genTag = '[object GeneratorFunction]',
|
17
|
+
proxyTag = '[object Proxy]';
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Checks if `value` is classified as a `Function` object.
|
21
|
+
*
|
22
|
+
* @static
|
23
|
+
* @memberOf _
|
24
|
+
* @since 0.1.0
|
25
|
+
* @category Lang
|
26
|
+
* @param {*} value The value to check.
|
27
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
28
|
+
* @example
|
29
|
+
*
|
30
|
+
* _.isFunction(_);
|
31
|
+
* // => true
|
32
|
+
*
|
33
|
+
* _.isFunction(/abc/);
|
34
|
+
* // => false
|
35
|
+
*/
|
36
|
+
function isFunction(value) {
|
37
|
+
if (!isObject(value)) {
|
38
|
+
return false;
|
39
|
+
}
|
40
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
41
|
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
42
|
+
var tag = baseGetTag(value);
|
43
|
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
44
|
+
}
|
45
|
+
|
46
|
+
isFunction_1 = isFunction;
|
47
|
+
return isFunction_1;
|
48
|
+
}
|
49
|
+
|
50
|
+
export { requireIsFunction as __require };
|
51
|
+
//# sourceMappingURL=isFunction.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isFunction.js","sources":["../../../../node_modules/lodash/isFunction.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\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\nmodule.exports = isFunction;\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;CAAA,IAAI,UAAU,GAAGA,kBAAwB,EAAA;KACrC,QAAQ,GAAGC,eAAqB,EAAA;;AAEpC;CACA,IAAI,QAAQ,GAAG,wBAAwB;KACnC,OAAO,GAAG,mBAAmB;KAC7B,MAAM,GAAG,4BAA4B;KACrC,QAAQ,GAAG,gBAAgB;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,UAAU,CAAC,KAAK,EAAE;AAC3B,GAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AACxB,KAAI,OAAO,KAAK;AAChB;AACA;AACA;AACA,GAAE,IAAI,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC;AAC7B,GAAE,OAAO,GAAG,IAAI,OAAO,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,QAAQ,IAAI,GAAG,IAAI,QAAQ;AAC9E;;AAEA,CAAA,YAAc,GAAG,UAAU;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if `value` is the
|
3
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
4
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
5
|
+
*
|
6
|
+
* @static
|
7
|
+
* @memberOf _
|
8
|
+
* @since 0.1.0
|
9
|
+
* @category Lang
|
10
|
+
* @param {*} value The value to check.
|
11
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
12
|
+
* @example
|
13
|
+
*
|
14
|
+
* _.isObject({});
|
15
|
+
* // => true
|
16
|
+
*
|
17
|
+
* _.isObject([1, 2, 3]);
|
18
|
+
* // => true
|
19
|
+
*
|
20
|
+
* _.isObject(_.noop);
|
21
|
+
* // => true
|
22
|
+
*
|
23
|
+
* _.isObject(null);
|
24
|
+
* // => false
|
25
|
+
*/
|
26
|
+
|
27
|
+
var isObject_1;
|
28
|
+
var hasRequiredIsObject;
|
29
|
+
|
30
|
+
function requireIsObject () {
|
31
|
+
if (hasRequiredIsObject) return isObject_1;
|
32
|
+
hasRequiredIsObject = 1;
|
33
|
+
function isObject(value) {
|
34
|
+
var type = typeof value;
|
35
|
+
return value != null && (type == 'object' || type == 'function');
|
36
|
+
}
|
37
|
+
|
38
|
+
isObject_1 = isObject;
|
39
|
+
return isObject_1;
|
40
|
+
}
|
41
|
+
|
42
|
+
export { requireIsObject as __require };
|
43
|
+
//# sourceMappingURL=isObject.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isObject.js","sources":["../../../../node_modules/lodash/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\nmodule.exports = isObject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,GAAE,IAAI,IAAI,GAAG,OAAO,KAAK;AACzB,GAAE,OAAO,KAAK,IAAI,IAAI,KAAK,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,UAAU,CAAC;AAClE;;AAEA,CAAA,UAAc,GAAG,QAAQ;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
3
|
+
* and has a `typeof` result of "object".
|
4
|
+
*
|
5
|
+
* @static
|
6
|
+
* @memberOf _
|
7
|
+
* @since 4.0.0
|
8
|
+
* @category Lang
|
9
|
+
* @param {*} value The value to check.
|
10
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
11
|
+
* @example
|
12
|
+
*
|
13
|
+
* _.isObjectLike({});
|
14
|
+
* // => true
|
15
|
+
*
|
16
|
+
* _.isObjectLike([1, 2, 3]);
|
17
|
+
* // => true
|
18
|
+
*
|
19
|
+
* _.isObjectLike(_.noop);
|
20
|
+
* // => false
|
21
|
+
*
|
22
|
+
* _.isObjectLike(null);
|
23
|
+
* // => false
|
24
|
+
*/
|
25
|
+
|
26
|
+
var isObjectLike_1;
|
27
|
+
var hasRequiredIsObjectLike;
|
28
|
+
|
29
|
+
function requireIsObjectLike () {
|
30
|
+
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
31
|
+
hasRequiredIsObjectLike = 1;
|
32
|
+
function isObjectLike(value) {
|
33
|
+
return value != null && typeof value == 'object';
|
34
|
+
}
|
35
|
+
|
36
|
+
isObjectLike_1 = isObjectLike;
|
37
|
+
return isObjectLike_1;
|
38
|
+
}
|
39
|
+
|
40
|
+
export { requireIsObjectLike as __require };
|
41
|
+
//# sourceMappingURL=isObjectLike.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isObjectLike.js","sources":["../../../../node_modules/lodash/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\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBA,SAAS,YAAY,CAAC,KAAK,EAAE;GAC3B,OAAO,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,IAAI,QAAQ;AAClD;;AAEA,CAAA,cAAc,GAAG,YAAY;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { __require as require_baseGetTag } from './_baseGetTag.js';
|
2
|
+
import { __require as requireIsObjectLike } from './isObjectLike.js';
|
3
|
+
|
4
|
+
var isSymbol_1;
|
5
|
+
var hasRequiredIsSymbol;
|
6
|
+
|
7
|
+
function requireIsSymbol () {
|
8
|
+
if (hasRequiredIsSymbol) return isSymbol_1;
|
9
|
+
hasRequiredIsSymbol = 1;
|
10
|
+
var baseGetTag = require_baseGetTag(),
|
11
|
+
isObjectLike = requireIsObjectLike();
|
12
|
+
|
13
|
+
/** `Object#toString` result references. */
|
14
|
+
var symbolTag = '[object Symbol]';
|
15
|
+
|
16
|
+
/**
|
17
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
18
|
+
*
|
19
|
+
* @static
|
20
|
+
* @memberOf _
|
21
|
+
* @since 4.0.0
|
22
|
+
* @category Lang
|
23
|
+
* @param {*} value The value to check.
|
24
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
25
|
+
* @example
|
26
|
+
*
|
27
|
+
* _.isSymbol(Symbol.iterator);
|
28
|
+
* // => true
|
29
|
+
*
|
30
|
+
* _.isSymbol('abc');
|
31
|
+
* // => false
|
32
|
+
*/
|
33
|
+
function isSymbol(value) {
|
34
|
+
return typeof value == 'symbol' ||
|
35
|
+
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
36
|
+
}
|
37
|
+
|
38
|
+
isSymbol_1 = isSymbol;
|
39
|
+
return isSymbol_1;
|
40
|
+
}
|
41
|
+
|
42
|
+
export { requireIsSymbol as __require };
|
43
|
+
//# sourceMappingURL=isSymbol.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isSymbol.js","sources":["../../../../node_modules/lodash/isSymbol.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\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\nmodule.exports = isSymbol;\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;CAAA,IAAI,UAAU,GAAGA,kBAAwB,EAAA;KACrC,YAAY,GAAGC,mBAAyB,EAAA;;AAE5C;CACA,IAAI,SAAS,GAAG,iBAAiB;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,GAAE,OAAO,OAAO,KAAK,IAAI,QAAQ;MAC5B,YAAY,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC;AAC3D;;AAEA,CAAA,UAAc,GAAG,QAAQ;;;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
import { __require as require_MapCache } from './_MapCache.js';
|
2
|
+
|
3
|
+
var memoize_1;
|
4
|
+
var hasRequiredMemoize;
|
5
|
+
|
6
|
+
function requireMemoize () {
|
7
|
+
if (hasRequiredMemoize) return memoize_1;
|
8
|
+
hasRequiredMemoize = 1;
|
9
|
+
var MapCache = require_MapCache();
|
10
|
+
|
11
|
+
/** Error message constants. */
|
12
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Creates a function that memoizes the result of `func`. If `resolver` is
|
16
|
+
* provided, it determines the cache key for storing the result based on the
|
17
|
+
* arguments provided to the memoized function. By default, the first argument
|
18
|
+
* provided to the memoized function is used as the map cache key. The `func`
|
19
|
+
* is invoked with the `this` binding of the memoized function.
|
20
|
+
*
|
21
|
+
* **Note:** The cache is exposed as the `cache` property on the memoized
|
22
|
+
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
23
|
+
* constructor with one whose instances implement the
|
24
|
+
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
25
|
+
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
|
26
|
+
*
|
27
|
+
* @static
|
28
|
+
* @memberOf _
|
29
|
+
* @since 0.1.0
|
30
|
+
* @category Function
|
31
|
+
* @param {Function} func The function to have its output memoized.
|
32
|
+
* @param {Function} [resolver] The function to resolve the cache key.
|
33
|
+
* @returns {Function} Returns the new memoized function.
|
34
|
+
* @example
|
35
|
+
*
|
36
|
+
* var object = { 'a': 1, 'b': 2 };
|
37
|
+
* var other = { 'c': 3, 'd': 4 };
|
38
|
+
*
|
39
|
+
* var values = _.memoize(_.values);
|
40
|
+
* values(object);
|
41
|
+
* // => [1, 2]
|
42
|
+
*
|
43
|
+
* values(other);
|
44
|
+
* // => [3, 4]
|
45
|
+
*
|
46
|
+
* object.a = 2;
|
47
|
+
* values(object);
|
48
|
+
* // => [1, 2]
|
49
|
+
*
|
50
|
+
* // Modify the result cache.
|
51
|
+
* values.cache.set(object, ['a', 'b']);
|
52
|
+
* values(object);
|
53
|
+
* // => ['a', 'b']
|
54
|
+
*
|
55
|
+
* // Replace `_.memoize.Cache`.
|
56
|
+
* _.memoize.Cache = WeakMap;
|
57
|
+
*/
|
58
|
+
function memoize(func, resolver) {
|
59
|
+
if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
|
60
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
61
|
+
}
|
62
|
+
var memoized = function() {
|
63
|
+
var args = arguments,
|
64
|
+
key = resolver ? resolver.apply(this, args) : args[0],
|
65
|
+
cache = memoized.cache;
|
66
|
+
|
67
|
+
if (cache.has(key)) {
|
68
|
+
return cache.get(key);
|
69
|
+
}
|
70
|
+
var result = func.apply(this, args);
|
71
|
+
memoized.cache = cache.set(key, result) || cache;
|
72
|
+
return result;
|
73
|
+
};
|
74
|
+
memoized.cache = new (memoize.Cache || MapCache);
|
75
|
+
return memoized;
|
76
|
+
}
|
77
|
+
|
78
|
+
// Expose `MapCache`.
|
79
|
+
memoize.Cache = MapCache;
|
80
|
+
|
81
|
+
memoize_1 = memoize;
|
82
|
+
return memoize_1;
|
83
|
+
}
|
84
|
+
|
85
|
+
export { requireMemoize as __require };
|
86
|
+
//# sourceMappingURL=memoize.js.map
|