react-antd-xform 1.0.1 → 1.0.3
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/dist/_virtual/_commonjsHelpers.js +0 -2
- package/dist/form/common-utils.d.ts +6 -0
- package/dist/form/common-utils.js +43 -0
- package/dist/form/extend/form-array.d.ts +12 -0
- package/dist/form/extend/form-array.js +33 -0
- package/dist/form/extend/form-check.d.ts +12 -0
- package/dist/form/extend/form-check.js +44 -0
- package/dist/form/extend/form-effect.d.ts +17 -0
- package/dist/form/extend/form-effect.js +32 -0
- package/dist/form/{layout.d.ts → extend/form-layout.d.ts} +1 -1
- package/dist/form/{layout.js → extend/form-layout.js} +3 -3
- package/dist/form/extend/form-model-consumer.d.ts +4 -0
- package/dist/form/extend/form-model-consumer.js +10 -0
- package/dist/form/extend/form-object.d.ts +7 -0
- package/dist/form/extend/form-object.js +17 -0
- package/dist/form/extend/form-submit.d.ts +9 -0
- package/dist/form/extend/form-submit.js +28 -0
- package/dist/form/form-item.js +1 -2
- package/dist/form/index.d.ts +16 -6
- package/dist/form/index.js +17 -48
- package/dist/form/type.d.ts +2 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -3
- package/dist/form-ui/default-button.d.ts +0 -3
- package/dist/form-ui/default-button.js +0 -39
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -8
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -7
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js +0 -17
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js +0 -11
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +0 -11
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js +0 -18
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFlatten.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -16
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js +0 -7
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -11
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePick.js +0 -12
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePickBy.js +0 -18
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSet.js +0 -33
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js +0 -16
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -7
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js +0 -14
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_flatRest.js +0 -11
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -6
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -10
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -11
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -27
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -7
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js +0 -27
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -10
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -9
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -17
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -12
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -13
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isFlattenable.js +0 -12
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -11
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js +0 -18
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -8
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -13
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -8
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -22
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -10
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -9
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -16
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -16
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -11
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -9
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -9
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -12
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js +0 -17
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -7
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -9
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -8
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js +0 -8
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js +0 -21
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js +0 -18
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js +0 -13
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -19
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js +0 -9
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -7
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/flatten.js +0 -10
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js +0 -10
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +0 -7
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -5
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -8
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -8
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -7
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +0 -11
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js +0 -12
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js +0 -9
- /package/dist/{helpers → form/helpers}/AsyncValue.d.ts +0 -0
- /package/dist/{helpers → form/helpers}/AsyncValue.js +0 -0
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { _ as _assocIndexOf } from "./_assocIndexOf.js";
|
|
2
|
-
var assocIndexOf = _assocIndexOf;
|
|
3
|
-
var arrayProto = Array.prototype;
|
|
4
|
-
var splice = arrayProto.splice;
|
|
5
|
-
function listCacheDelete(key) {
|
|
6
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
7
|
-
if (index < 0) {
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
var lastIndex = data.length - 1;
|
|
11
|
-
if (index == lastIndex) {
|
|
12
|
-
data.pop();
|
|
13
|
-
} else {
|
|
14
|
-
splice.call(data, index, 1);
|
|
15
|
-
}
|
|
16
|
-
--this.size;
|
|
17
|
-
return true;
|
|
18
|
-
}
|
|
19
|
-
var _listCacheDelete = listCacheDelete;
|
|
20
|
-
export {
|
|
21
|
-
_listCacheDelete as _
|
|
22
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { _ as _assocIndexOf } from "./_assocIndexOf.js";
|
|
2
|
-
var assocIndexOf = _assocIndexOf;
|
|
3
|
-
function listCacheGet(key) {
|
|
4
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
5
|
-
return index < 0 ? void 0 : data[index][1];
|
|
6
|
-
}
|
|
7
|
-
var _listCacheGet = listCacheGet;
|
|
8
|
-
export {
|
|
9
|
-
_listCacheGet as _
|
|
10
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { _ as _assocIndexOf } from "./_assocIndexOf.js";
|
|
2
|
-
var assocIndexOf = _assocIndexOf;
|
|
3
|
-
function listCacheSet(key, value) {
|
|
4
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
5
|
-
if (index < 0) {
|
|
6
|
-
++this.size;
|
|
7
|
-
data.push([key, value]);
|
|
8
|
-
} else {
|
|
9
|
-
data[index][1] = value;
|
|
10
|
-
}
|
|
11
|
-
return this;
|
|
12
|
-
}
|
|
13
|
-
var _listCacheSet = listCacheSet;
|
|
14
|
-
export {
|
|
15
|
-
_listCacheSet as _
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { _ as _Hash } from "./_Hash.js";
|
|
2
|
-
import { _ as _ListCache } from "./_ListCache.js";
|
|
3
|
-
import { _ as _Map } from "./_Map.js";
|
|
4
|
-
var Hash = _Hash, ListCache = _ListCache, Map = _Map;
|
|
5
|
-
function mapCacheClear() {
|
|
6
|
-
this.size = 0;
|
|
7
|
-
this.__data__ = {
|
|
8
|
-
"hash": new Hash(),
|
|
9
|
-
"map": new (Map || ListCache)(),
|
|
10
|
-
"string": new Hash()
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var _mapCacheClear = mapCacheClear;
|
|
14
|
-
export {
|
|
15
|
-
_mapCacheClear as _
|
|
16
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { _ as _getMapData } from "./_getMapData.js";
|
|
2
|
-
var getMapData = _getMapData;
|
|
3
|
-
function mapCacheDelete(key) {
|
|
4
|
-
var result = getMapData(this, key)["delete"](key);
|
|
5
|
-
this.size -= result ? 1 : 0;
|
|
6
|
-
return result;
|
|
7
|
-
}
|
|
8
|
-
var _mapCacheDelete = mapCacheDelete;
|
|
9
|
-
export {
|
|
10
|
-
_mapCacheDelete as _
|
|
11
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { _ as _getMapData } from "./_getMapData.js";
|
|
2
|
-
var getMapData = _getMapData;
|
|
3
|
-
function mapCacheSet(key, value) {
|
|
4
|
-
var data = getMapData(this, key), size = data.size;
|
|
5
|
-
data.set(key, value);
|
|
6
|
-
this.size += data.size == size ? 0 : 1;
|
|
7
|
-
return this;
|
|
8
|
-
}
|
|
9
|
-
var _mapCacheSet = mapCacheSet;
|
|
10
|
-
export {
|
|
11
|
-
_mapCacheSet as _
|
|
12
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { m as memoize_1 } from "./memoize.js";
|
|
2
|
-
var memoize = memoize_1;
|
|
3
|
-
var MAX_MEMOIZE_SIZE = 500;
|
|
4
|
-
function memoizeCapped(func) {
|
|
5
|
-
var result = memoize(func, function(key) {
|
|
6
|
-
if (cache.size === MAX_MEMOIZE_SIZE) {
|
|
7
|
-
cache.clear();
|
|
8
|
-
}
|
|
9
|
-
return key;
|
|
10
|
-
});
|
|
11
|
-
var cache = result.cache;
|
|
12
|
-
return result;
|
|
13
|
-
}
|
|
14
|
-
var _memoizeCapped = memoizeCapped;
|
|
15
|
-
export {
|
|
16
|
-
_memoizeCapped as _
|
|
17
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { _ as _apply } from "./_apply.js";
|
|
2
|
-
var apply = _apply;
|
|
3
|
-
var nativeMax = Math.max;
|
|
4
|
-
function overRest(func, start, transform) {
|
|
5
|
-
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
6
|
-
return function() {
|
|
7
|
-
var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
|
|
8
|
-
while (++index < length) {
|
|
9
|
-
array[index] = args[start + index];
|
|
10
|
-
}
|
|
11
|
-
index = -1;
|
|
12
|
-
var otherArgs = Array(start + 1);
|
|
13
|
-
while (++index < start) {
|
|
14
|
-
otherArgs[index] = args[index];
|
|
15
|
-
}
|
|
16
|
-
otherArgs[start] = transform(array);
|
|
17
|
-
return apply(func, this, otherArgs);
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
var _overRest = overRest;
|
|
21
|
-
export {
|
|
22
|
-
_overRest as _
|
|
23
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { _ as _freeGlobal } from "./_freeGlobal.js";
|
|
2
|
-
var freeGlobal = _freeGlobal;
|
|
3
|
-
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
4
|
-
var root = freeGlobal || freeSelf || Function("return this")();
|
|
5
|
-
var _root = root;
|
|
6
|
-
export {
|
|
7
|
-
_root as _
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { _ as _baseSetToString } from "./_baseSetToString.js";
|
|
2
|
-
import { _ as _shortOut } from "./_shortOut.js";
|
|
3
|
-
var baseSetToString = _baseSetToString, shortOut = _shortOut;
|
|
4
|
-
var setToString = shortOut(baseSetToString);
|
|
5
|
-
var _setToString = setToString;
|
|
6
|
-
export {
|
|
7
|
-
_setToString as _
|
|
8
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var HOT_COUNT = 800, HOT_SPAN = 16;
|
|
2
|
-
var nativeNow = Date.now;
|
|
3
|
-
function shortOut(func) {
|
|
4
|
-
var count = 0, lastCalled = 0;
|
|
5
|
-
return function() {
|
|
6
|
-
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
7
|
-
lastCalled = stamp;
|
|
8
|
-
if (remaining > 0) {
|
|
9
|
-
if (++count >= HOT_COUNT) {
|
|
10
|
-
return arguments[0];
|
|
11
|
-
}
|
|
12
|
-
} else {
|
|
13
|
-
count = 0;
|
|
14
|
-
}
|
|
15
|
-
return func.apply(void 0, arguments);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
var _shortOut = shortOut;
|
|
19
|
-
export {
|
|
20
|
-
_shortOut as _
|
|
21
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { _ as _memoizeCapped } from "./_memoizeCapped.js";
|
|
2
|
-
var memoizeCapped = _memoizeCapped;
|
|
3
|
-
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
4
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
5
|
-
var stringToPath = memoizeCapped(function(string) {
|
|
6
|
-
var result = [];
|
|
7
|
-
if (string.charCodeAt(0) === 46) {
|
|
8
|
-
result.push("");
|
|
9
|
-
}
|
|
10
|
-
string.replace(rePropName, function(match, number, quote, subString) {
|
|
11
|
-
result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
|
|
12
|
-
});
|
|
13
|
-
return result;
|
|
14
|
-
});
|
|
15
|
-
var _stringToPath = stringToPath;
|
|
16
|
-
export {
|
|
17
|
-
_stringToPath as _
|
|
18
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { i as isSymbol_1 } from "./isSymbol.js";
|
|
2
|
-
var isSymbol = isSymbol_1;
|
|
3
|
-
function toKey(value) {
|
|
4
|
-
if (typeof value == "string" || isSymbol(value)) {
|
|
5
|
-
return value;
|
|
6
|
-
}
|
|
7
|
-
var result = value + "";
|
|
8
|
-
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
9
|
-
}
|
|
10
|
-
var _toKey = toKey;
|
|
11
|
-
export {
|
|
12
|
-
_toKey as _
|
|
13
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
var funcProto = Function.prototype;
|
|
2
|
-
var funcToString = funcProto.toString;
|
|
3
|
-
function toSource(func) {
|
|
4
|
-
if (func != null) {
|
|
5
|
-
try {
|
|
6
|
-
return funcToString.call(func);
|
|
7
|
-
} catch (e) {
|
|
8
|
-
}
|
|
9
|
-
try {
|
|
10
|
-
return func + "";
|
|
11
|
-
} catch (e) {
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
return "";
|
|
15
|
-
}
|
|
16
|
-
var _toSource = toSource;
|
|
17
|
-
export {
|
|
18
|
-
_toSource as _
|
|
19
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { _ as _baseFlatten } from "./_baseFlatten.js";
|
|
2
|
-
var baseFlatten = _baseFlatten;
|
|
3
|
-
function flatten(array) {
|
|
4
|
-
var length = array == null ? 0 : array.length;
|
|
5
|
-
return length ? baseFlatten(array, 1) : [];
|
|
6
|
-
}
|
|
7
|
-
var flatten_1 = flatten;
|
|
8
|
-
export {
|
|
9
|
-
flatten_1 as f
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { _ as _baseHasIn } from "./_baseHasIn.js";
|
|
2
|
-
import { _ as _hasPath } from "./_hasPath.js";
|
|
3
|
-
var baseHasIn = _baseHasIn, hasPath = _hasPath;
|
|
4
|
-
function hasIn(object, path) {
|
|
5
|
-
return object != null && hasPath(object, path, baseHasIn);
|
|
6
|
-
}
|
|
7
|
-
var hasIn_1 = hasIn;
|
|
8
|
-
export {
|
|
9
|
-
hasIn_1 as h
|
|
10
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { _ as _baseIsArguments } from "./_baseIsArguments.js";
|
|
2
|
-
import { i as isObjectLike_1 } from "./isObjectLike.js";
|
|
3
|
-
var baseIsArguments = _baseIsArguments, isObjectLike = isObjectLike_1;
|
|
4
|
-
var objectProto = Object.prototype;
|
|
5
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
6
|
-
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
7
|
-
var isArguments = baseIsArguments(/* @__PURE__ */ function() {
|
|
8
|
-
return arguments;
|
|
9
|
-
}()) ? baseIsArguments : function(value) {
|
|
10
|
-
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
11
|
-
};
|
|
12
|
-
var isArguments_1 = isArguments;
|
|
13
|
-
export {
|
|
14
|
-
isArguments_1 as i
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { _ as _baseGetTag } from "./_baseGetTag.js";
|
|
2
|
-
import { i as isObject_1 } from "./isObject.js";
|
|
3
|
-
var baseGetTag = _baseGetTag, isObject = isObject_1;
|
|
4
|
-
var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
|
|
5
|
-
function isFunction(value) {
|
|
6
|
-
if (!isObject(value)) {
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
var tag = baseGetTag(value);
|
|
10
|
-
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
11
|
-
}
|
|
12
|
-
var isFunction_1 = isFunction;
|
|
13
|
-
export {
|
|
14
|
-
isFunction_1 as i
|
|
15
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { _ as _baseGetTag } from "./_baseGetTag.js";
|
|
2
|
-
import { i as isObjectLike_1 } from "./isObjectLike.js";
|
|
3
|
-
var baseGetTag = _baseGetTag, isObjectLike = isObjectLike_1;
|
|
4
|
-
var symbolTag = "[object Symbol]";
|
|
5
|
-
function isSymbol(value) {
|
|
6
|
-
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
7
|
-
}
|
|
8
|
-
var isSymbol_1 = isSymbol;
|
|
9
|
-
export {
|
|
10
|
-
isSymbol_1 as i
|
|
11
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { _ as _MapCache } from "./_MapCache.js";
|
|
2
|
-
var MapCache = _MapCache;
|
|
3
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
|
4
|
-
function memoize(func, resolver) {
|
|
5
|
-
if (typeof func != "function" || resolver != null && typeof resolver != "function") {
|
|
6
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
7
|
-
}
|
|
8
|
-
var memoized = function() {
|
|
9
|
-
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
|
10
|
-
if (cache.has(key)) {
|
|
11
|
-
return cache.get(key);
|
|
12
|
-
}
|
|
13
|
-
var result = func.apply(this, args);
|
|
14
|
-
memoized.cache = cache.set(key, result) || cache;
|
|
15
|
-
return result;
|
|
16
|
-
};
|
|
17
|
-
memoized.cache = new (memoize.Cache || MapCache)();
|
|
18
|
-
return memoized;
|
|
19
|
-
}
|
|
20
|
-
memoize.Cache = MapCache;
|
|
21
|
-
var memoize_1 = memoize;
|
|
22
|
-
export {
|
|
23
|
-
memoize_1 as m
|
|
24
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs } from "../../../../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { _ as _basePick } from "./_basePick.js";
|
|
3
|
-
import { _ as _flatRest } from "./_flatRest.js";
|
|
4
|
-
var basePick = _basePick, flatRest = _flatRest;
|
|
5
|
-
var pick = flatRest(function(object, paths) {
|
|
6
|
-
return object == null ? {} : basePick(object, paths);
|
|
7
|
-
});
|
|
8
|
-
var pick_1 = pick;
|
|
9
|
-
const pick$1 = /* @__PURE__ */ getDefaultExportFromCjs(pick_1);
|
|
10
|
-
export {
|
|
11
|
-
pick$1 as default
|
|
12
|
-
};
|
|
File without changes
|
|
File without changes
|