easy-elplus 1.2.0 → 1.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/dist/index.full.js +126 -33
- package/es/_virtual/document.mjs +21 -0
- package/es/_virtual/more-filled.mjs +21 -0
- package/es/_virtual/plus.mjs +21 -0
- package/es/_virtual/upload.mjs +21 -0
- package/es/packages/components/FileUpload/src/FileUpload.vue.mjs +18 -11
- package/es/packages/components/FileUpload/src/FileUpload.vue2.mjs +1 -1
- package/es/packages/components/ImageUpload/src/ImageUpload.vue.mjs +13 -7
- package/es/packages/components/ImageUpload/src/ImageUpload.vue2.mjs +1 -1
- package/es/packages/components/button/src/button.vue.mjs +8 -4
- package/es/packages/components/descriptions/src/descriptions.vue.mjs +10 -4
- package/es/packages/components/dialog/src/useDialog.mjs +3 -0
- package/es/packages/components/table/src/table.vue.mjs +22 -11
- package/es/packages/components/table/src/table.vue2.mjs +1 -1
- package/lib/_virtual/document.js +25 -0
- package/lib/_virtual/more-filled.js +25 -0
- package/lib/_virtual/plus.js +25 -0
- package/lib/_virtual/upload.js +25 -0
- package/lib/packages/components/FileUpload/src/FileUpload.vue.js +22 -15
- package/lib/packages/components/FileUpload/src/FileUpload.vue2.js +1 -1
- package/lib/packages/components/ImageUpload/src/ImageUpload.vue.js +17 -11
- package/lib/packages/components/ImageUpload/src/ImageUpload.vue2.js +1 -1
- package/lib/packages/components/button/src/button.vue.js +7 -3
- package/lib/packages/components/descriptions/src/descriptions.vue.js +9 -3
- package/lib/packages/components/dialog/src/useDialog.js +3 -0
- package/lib/packages/components/table/src/table.vue.js +21 -10
- package/lib/packages/components/table/src/table.vue2.js +1 -1
- package/package.json +3 -5
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_DataView.mjs +0 -7
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Hash.mjs +0 -32
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.mjs +0 -32
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Map.mjs +0 -7
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.mjs +0 -32
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Promise.mjs +0 -7
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Set.mjs +0 -7
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Stack.mjs +0 -27
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.mjs +0 -6
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.mjs +0 -6
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.mjs +0 -7
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_apply.mjs +0 -21
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.mjs +0 -22
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.mjs +0 -25
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -42
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.mjs +0 -21
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.mjs +0 -20
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.mjs +0 -28
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.mjs +0 -21
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.mjs +0 -25
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.mjs +0 -140
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFlatten.mjs +0 -35
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGet.mjs +0 -24
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -20
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.mjs +0 -28
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.mjs +0 -47
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -60
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.mjs +0 -33
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.mjs +0 -22
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.mjs +0 -31
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.mjs +0 -20
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.mjs +0 -34
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.mjs +0 -14
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUnset.mjs +0 -65
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_castPath.mjs +0 -21
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.mjs +0 -30
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.mjs +0 -17
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.mjs +0 -38
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.mjs +0 -6
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_customOmitClone.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.mjs +0 -11
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_flatRest.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.mjs +0 -4
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.mjs +0 -17
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getNative.mjs +0 -17
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.mjs +0 -6
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.mjs +0 -46
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.mjs +0 -30
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.mjs +0 -25
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getTag.mjs +0 -58
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getValue.mjs +0 -13
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.mjs +0 -15
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.mjs +0 -17
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.mjs +0 -30
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.mjs +0 -23
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.mjs +0 -23
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.mjs +0 -26
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.mjs +0 -77
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isFlattenable.mjs +0 -20
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.mjs +0 -25
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKey.mjs +0 -29
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.mjs +0 -15
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.mjs +0 -20
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.mjs +0 -13
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.mjs +0 -35
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.mjs +0 -19
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.mjs +0 -26
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.mjs +0 -21
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.mjs +0 -22
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.mjs +0 -26
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.mjs +0 -6
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.mjs +0 -20
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.mjs +0 -30
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.mjs +0 -22
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_overArg.mjs +0 -15
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_overRest.mjs +0 -36
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_parent.mjs +0 -16
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_root.mjs +0 -9
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setToString.mjs +0 -14
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.mjs +0 -37
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.mjs +0 -15
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.mjs +0 -14
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.mjs +0 -14
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.mjs +0 -34
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.mjs +0 -27
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toKey.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toSource.mjs +0 -26
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/constant.mjs +0 -26
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/eq.mjs +0 -37
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.mjs +0 -22
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/identity.mjs +0 -21
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArguments.mjs +0 -36
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArray.mjs +0 -26
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.mjs +0 -33
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.mjs +0 -38
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isFunction.mjs +0 -37
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isLength.mjs +0 -35
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isMap.mjs +0 -27
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObject.mjs +0 -31
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.mjs +0 -29
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.mjs +0 -62
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSet.mjs +0 -27
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.mjs +0 -29
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.mjs +0 -27
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/keysIn.mjs +0 -32
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/last.mjs +0 -20
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/memoize.mjs +0 -73
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/omit.mjs +0 -57
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/stubArray.mjs +0 -23
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.mjs +0 -18
- package/es/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toString.mjs +0 -28
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_DataView.js +0 -11
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Hash.js +0 -36
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.js +0 -36
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Map.js +0 -11
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.js +0 -36
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Promise.js +0 -11
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Set.js +0 -11
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Stack.js +0 -31
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js +0 -10
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.js +0 -10
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.js +0 -11
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_apply.js +0 -25
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.js +0 -26
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.js +0 -29
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.js +0 -46
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js +0 -25
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.js +0 -24
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.js +0 -32
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.js +0 -25
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.js +0 -29
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.js +0 -144
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseFlatten.js +0 -39
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGet.js +0 -28
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.js +0 -24
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js +0 -32
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.js +0 -51
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.js +0 -64
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.js +0 -37
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.js +0 -26
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.js +0 -35
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.js +0 -24
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.js +0 -38
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.js +0 -18
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUnset.js +0 -69
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_castPath.js +0 -25
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.js +0 -34
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.js +0 -21
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.js +0 -42
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.js +0 -10
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_customOmitClone.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.js +0 -15
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_flatRest.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js +0 -8
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.js +0 -21
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getNative.js +0 -21
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.js +0 -10
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js +0 -50
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.js +0 -34
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.js +0 -29
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getTag.js +0 -60
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_getValue.js +0 -17
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.js +0 -19
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.js +0 -21
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.js +0 -34
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.js +0 -27
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.js +0 -27
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.js +0 -30
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.js +0 -81
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isFlattenable.js +0 -24
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js +0 -29
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKey.js +0 -33
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.js +0 -19
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.js +0 -24
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.js +0 -17
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.js +0 -39
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.js +0 -23
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.js +0 -30
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.js +0 -25
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.js +0 -26
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.js +0 -30
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.js +0 -10
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.js +0 -24
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.js +0 -34
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js +0 -26
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_overArg.js +0 -19
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_overRest.js +0 -40
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_parent.js +0 -20
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_root.js +0 -13
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_setToString.js +0 -18
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.js +0 -41
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.js +0 -19
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.js +0 -18
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.js +0 -18
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.js +0 -38
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.js +0 -31
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toKey.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_toSource.js +0 -30
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/constant.js +0 -30
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/eq.js +0 -41
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.js +0 -26
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/identity.js +0 -25
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArguments.js +0 -40
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArray.js +0 -30
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js +0 -37
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.js +0 -42
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js +0 -41
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isLength.js +0 -39
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isMap.js +0 -31
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObject.js +0 -35
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js +0 -33
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.js +0 -66
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSet.js +0 -31
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js +0 -33
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.js +0 -31
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/keysIn.js +0 -36
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/last.js +0 -24
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/memoize.js +0 -77
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/omit.js +0 -61
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/stubArray.js +0 -27
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js +0 -22
- package/lib/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toString.js +0 -32
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
/** Used as references for various `Number` constants. */
|
|
6
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Checks if `value` is a valid array-like length.
|
|
10
|
-
*
|
|
11
|
-
* **Note:** This method is loosely based on
|
|
12
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
13
|
-
*
|
|
14
|
-
* @static
|
|
15
|
-
* @memberOf _
|
|
16
|
-
* @since 4.0.0
|
|
17
|
-
* @category Lang
|
|
18
|
-
* @param {*} value The value to check.
|
|
19
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
20
|
-
* @example
|
|
21
|
-
*
|
|
22
|
-
* _.isLength(3);
|
|
23
|
-
* // => true
|
|
24
|
-
*
|
|
25
|
-
* _.isLength(Number.MIN_VALUE);
|
|
26
|
-
* // => false
|
|
27
|
-
*
|
|
28
|
-
* _.isLength(Infinity);
|
|
29
|
-
* // => false
|
|
30
|
-
*
|
|
31
|
-
* _.isLength('3');
|
|
32
|
-
* // => false
|
|
33
|
-
*/
|
|
34
|
-
function isLength(value) {
|
|
35
|
-
return typeof value == 'number' &&
|
|
36
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
exports.default = isLength;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _baseIsMap = require('./_baseIsMap.js');
|
|
6
|
-
var _baseUnary = require('./_baseUnary.js');
|
|
7
|
-
var _nodeUtil = require('./_nodeUtil.js');
|
|
8
|
-
|
|
9
|
-
/* Node.js helper references. */
|
|
10
|
-
var nodeIsMap = _nodeUtil.default && _nodeUtil.default.isMap;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Checks if `value` is classified as a `Map` object.
|
|
14
|
-
*
|
|
15
|
-
* @static
|
|
16
|
-
* @memberOf _
|
|
17
|
-
* @since 4.3.0
|
|
18
|
-
* @category Lang
|
|
19
|
-
* @param {*} value The value to check.
|
|
20
|
-
* @returns {boolean} Returns `true` if `value` is a map, else `false`.
|
|
21
|
-
* @example
|
|
22
|
-
*
|
|
23
|
-
* _.isMap(new Map);
|
|
24
|
-
* // => true
|
|
25
|
-
*
|
|
26
|
-
* _.isMap(new WeakMap);
|
|
27
|
-
* // => false
|
|
28
|
-
*/
|
|
29
|
-
var isMap = nodeIsMap ? _baseUnary.default(nodeIsMap) : _baseIsMap.default;
|
|
30
|
-
|
|
31
|
-
exports.default = isMap;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Checks if `value` is the
|
|
7
|
-
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
8
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
9
|
-
*
|
|
10
|
-
* @static
|
|
11
|
-
* @memberOf _
|
|
12
|
-
* @since 0.1.0
|
|
13
|
-
* @category Lang
|
|
14
|
-
* @param {*} value The value to check.
|
|
15
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
16
|
-
* @example
|
|
17
|
-
*
|
|
18
|
-
* _.isObject({});
|
|
19
|
-
* // => true
|
|
20
|
-
*
|
|
21
|
-
* _.isObject([1, 2, 3]);
|
|
22
|
-
* // => true
|
|
23
|
-
*
|
|
24
|
-
* _.isObject(_.noop);
|
|
25
|
-
* // => true
|
|
26
|
-
*
|
|
27
|
-
* _.isObject(null);
|
|
28
|
-
* // => false
|
|
29
|
-
*/
|
|
30
|
-
function isObject(value) {
|
|
31
|
-
var type = typeof value;
|
|
32
|
-
return value != null && (type == 'object' || type == 'function');
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
exports.default = isObject;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
7
|
-
* and has a `typeof` result of "object".
|
|
8
|
-
*
|
|
9
|
-
* @static
|
|
10
|
-
* @memberOf _
|
|
11
|
-
* @since 4.0.0
|
|
12
|
-
* @category Lang
|
|
13
|
-
* @param {*} value The value to check.
|
|
14
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
15
|
-
* @example
|
|
16
|
-
*
|
|
17
|
-
* _.isObjectLike({});
|
|
18
|
-
* // => true
|
|
19
|
-
*
|
|
20
|
-
* _.isObjectLike([1, 2, 3]);
|
|
21
|
-
* // => true
|
|
22
|
-
*
|
|
23
|
-
* _.isObjectLike(_.noop);
|
|
24
|
-
* // => false
|
|
25
|
-
*
|
|
26
|
-
* _.isObjectLike(null);
|
|
27
|
-
* // => false
|
|
28
|
-
*/
|
|
29
|
-
function isObjectLike(value) {
|
|
30
|
-
return value != null && typeof value == 'object';
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
exports.default = isObjectLike;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _baseGetTag = require('./_baseGetTag.js');
|
|
6
|
-
var _getPrototype = require('./_getPrototype.js');
|
|
7
|
-
var isObjectLike = require('./isObjectLike.js');
|
|
8
|
-
|
|
9
|
-
/** `Object#toString` result references. */
|
|
10
|
-
var objectTag = '[object Object]';
|
|
11
|
-
|
|
12
|
-
/** Used for built-in method references. */
|
|
13
|
-
var funcProto = Function.prototype,
|
|
14
|
-
objectProto = Object.prototype;
|
|
15
|
-
|
|
16
|
-
/** Used to resolve the decompiled source of functions. */
|
|
17
|
-
var funcToString = funcProto.toString;
|
|
18
|
-
|
|
19
|
-
/** Used to check objects for own properties. */
|
|
20
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
21
|
-
|
|
22
|
-
/** Used to infer the `Object` constructor. */
|
|
23
|
-
var objectCtorString = funcToString.call(Object);
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Checks if `value` is a plain object, that is, an object created by the
|
|
27
|
-
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
28
|
-
*
|
|
29
|
-
* @static
|
|
30
|
-
* @memberOf _
|
|
31
|
-
* @since 0.8.0
|
|
32
|
-
* @category Lang
|
|
33
|
-
* @param {*} value The value to check.
|
|
34
|
-
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
|
35
|
-
* @example
|
|
36
|
-
*
|
|
37
|
-
* function Foo() {
|
|
38
|
-
* this.a = 1;
|
|
39
|
-
* }
|
|
40
|
-
*
|
|
41
|
-
* _.isPlainObject(new Foo);
|
|
42
|
-
* // => false
|
|
43
|
-
*
|
|
44
|
-
* _.isPlainObject([1, 2, 3]);
|
|
45
|
-
* // => false
|
|
46
|
-
*
|
|
47
|
-
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
|
48
|
-
* // => true
|
|
49
|
-
*
|
|
50
|
-
* _.isPlainObject(Object.create(null));
|
|
51
|
-
* // => true
|
|
52
|
-
*/
|
|
53
|
-
function isPlainObject(value) {
|
|
54
|
-
if (!isObjectLike.default(value) || _baseGetTag.default(value) != objectTag) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
var proto = _getPrototype.default(value);
|
|
58
|
-
if (proto === null) {
|
|
59
|
-
return true;
|
|
60
|
-
}
|
|
61
|
-
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
|
62
|
-
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
|
63
|
-
funcToString.call(Ctor) == objectCtorString;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
exports.default = isPlainObject;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _baseIsSet = require('./_baseIsSet.js');
|
|
6
|
-
var _baseUnary = require('./_baseUnary.js');
|
|
7
|
-
var _nodeUtil = require('./_nodeUtil.js');
|
|
8
|
-
|
|
9
|
-
/* Node.js helper references. */
|
|
10
|
-
var nodeIsSet = _nodeUtil.default && _nodeUtil.default.isSet;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Checks if `value` is classified as a `Set` object.
|
|
14
|
-
*
|
|
15
|
-
* @static
|
|
16
|
-
* @memberOf _
|
|
17
|
-
* @since 4.3.0
|
|
18
|
-
* @category Lang
|
|
19
|
-
* @param {*} value The value to check.
|
|
20
|
-
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
|
21
|
-
* @example
|
|
22
|
-
*
|
|
23
|
-
* _.isSet(new Set);
|
|
24
|
-
* // => true
|
|
25
|
-
*
|
|
26
|
-
* _.isSet(new WeakSet);
|
|
27
|
-
* // => false
|
|
28
|
-
*/
|
|
29
|
-
var isSet = nodeIsSet ? _baseUnary.default(nodeIsSet) : _baseIsSet.default;
|
|
30
|
-
|
|
31
|
-
exports.default = isSet;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _baseGetTag = require('./_baseGetTag.js');
|
|
6
|
-
var isObjectLike = require('./isObjectLike.js');
|
|
7
|
-
|
|
8
|
-
/** `Object#toString` result references. */
|
|
9
|
-
var symbolTag = '[object Symbol]';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
13
|
-
*
|
|
14
|
-
* @static
|
|
15
|
-
* @memberOf _
|
|
16
|
-
* @since 4.0.0
|
|
17
|
-
* @category Lang
|
|
18
|
-
* @param {*} value The value to check.
|
|
19
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
20
|
-
* @example
|
|
21
|
-
*
|
|
22
|
-
* _.isSymbol(Symbol.iterator);
|
|
23
|
-
* // => true
|
|
24
|
-
*
|
|
25
|
-
* _.isSymbol('abc');
|
|
26
|
-
* // => false
|
|
27
|
-
*/
|
|
28
|
-
function isSymbol(value) {
|
|
29
|
-
return typeof value == 'symbol' ||
|
|
30
|
-
(isObjectLike.default(value) && _baseGetTag.default(value) == symbolTag);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
exports.default = isSymbol;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _baseIsTypedArray = require('./_baseIsTypedArray.js');
|
|
6
|
-
var _baseUnary = require('./_baseUnary.js');
|
|
7
|
-
var _nodeUtil = require('./_nodeUtil.js');
|
|
8
|
-
|
|
9
|
-
/* Node.js helper references. */
|
|
10
|
-
var nodeIsTypedArray = _nodeUtil.default && _nodeUtil.default.isTypedArray;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Checks if `value` is classified as a typed array.
|
|
14
|
-
*
|
|
15
|
-
* @static
|
|
16
|
-
* @memberOf _
|
|
17
|
-
* @since 3.0.0
|
|
18
|
-
* @category Lang
|
|
19
|
-
* @param {*} value The value to check.
|
|
20
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
21
|
-
* @example
|
|
22
|
-
*
|
|
23
|
-
* _.isTypedArray(new Uint8Array);
|
|
24
|
-
* // => true
|
|
25
|
-
*
|
|
26
|
-
* _.isTypedArray([]);
|
|
27
|
-
* // => false
|
|
28
|
-
*/
|
|
29
|
-
var isTypedArray = nodeIsTypedArray ? _baseUnary.default(nodeIsTypedArray) : _baseIsTypedArray.default;
|
|
30
|
-
|
|
31
|
-
exports.default = isTypedArray;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _arrayLikeKeys = require('./_arrayLikeKeys.js');
|
|
6
|
-
var _baseKeysIn = require('./_baseKeysIn.js');
|
|
7
|
-
var isArrayLike = require('./isArrayLike.js');
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
11
|
-
*
|
|
12
|
-
* **Note:** Non-object values are coerced to objects.
|
|
13
|
-
*
|
|
14
|
-
* @static
|
|
15
|
-
* @memberOf _
|
|
16
|
-
* @since 3.0.0
|
|
17
|
-
* @category Object
|
|
18
|
-
* @param {Object} object The object to query.
|
|
19
|
-
* @returns {Array} Returns the array of property names.
|
|
20
|
-
* @example
|
|
21
|
-
*
|
|
22
|
-
* function Foo() {
|
|
23
|
-
* this.a = 1;
|
|
24
|
-
* this.b = 2;
|
|
25
|
-
* }
|
|
26
|
-
*
|
|
27
|
-
* Foo.prototype.c = 3;
|
|
28
|
-
*
|
|
29
|
-
* _.keysIn(new Foo);
|
|
30
|
-
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
|
31
|
-
*/
|
|
32
|
-
function keysIn(object) {
|
|
33
|
-
return isArrayLike.default(object) ? _arrayLikeKeys.default(object) : _baseKeysIn.default(object);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
exports.default = keysIn;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Gets the last element of `array`.
|
|
7
|
-
*
|
|
8
|
-
* @static
|
|
9
|
-
* @memberOf _
|
|
10
|
-
* @since 0.1.0
|
|
11
|
-
* @category Array
|
|
12
|
-
* @param {Array} array The array to query.
|
|
13
|
-
* @returns {*} Returns the last element of `array`.
|
|
14
|
-
* @example
|
|
15
|
-
*
|
|
16
|
-
* _.last([1, 2, 3]);
|
|
17
|
-
* // => 3
|
|
18
|
-
*/
|
|
19
|
-
function last(array) {
|
|
20
|
-
var length = array == null ? 0 : array.length;
|
|
21
|
-
return length ? array[length - 1] : undefined;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
exports.default = last;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _MapCache = require('./_MapCache.js');
|
|
6
|
-
|
|
7
|
-
/** Error message constants. */
|
|
8
|
-
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Creates a function that memoizes the result of `func`. If `resolver` is
|
|
12
|
-
* provided, it determines the cache key for storing the result based on the
|
|
13
|
-
* arguments provided to the memoized function. By default, the first argument
|
|
14
|
-
* provided to the memoized function is used as the map cache key. The `func`
|
|
15
|
-
* is invoked with the `this` binding of the memoized function.
|
|
16
|
-
*
|
|
17
|
-
* **Note:** The cache is exposed as the `cache` property on the memoized
|
|
18
|
-
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
|
19
|
-
* constructor with one whose instances implement the
|
|
20
|
-
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
|
21
|
-
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
|
|
22
|
-
*
|
|
23
|
-
* @static
|
|
24
|
-
* @memberOf _
|
|
25
|
-
* @since 0.1.0
|
|
26
|
-
* @category Function
|
|
27
|
-
* @param {Function} func The function to have its output memoized.
|
|
28
|
-
* @param {Function} [resolver] The function to resolve the cache key.
|
|
29
|
-
* @returns {Function} Returns the new memoized function.
|
|
30
|
-
* @example
|
|
31
|
-
*
|
|
32
|
-
* var object = { 'a': 1, 'b': 2 };
|
|
33
|
-
* var other = { 'c': 3, 'd': 4 };
|
|
34
|
-
*
|
|
35
|
-
* var values = _.memoize(_.values);
|
|
36
|
-
* values(object);
|
|
37
|
-
* // => [1, 2]
|
|
38
|
-
*
|
|
39
|
-
* values(other);
|
|
40
|
-
* // => [3, 4]
|
|
41
|
-
*
|
|
42
|
-
* object.a = 2;
|
|
43
|
-
* values(object);
|
|
44
|
-
* // => [1, 2]
|
|
45
|
-
*
|
|
46
|
-
* // Modify the result cache.
|
|
47
|
-
* values.cache.set(object, ['a', 'b']);
|
|
48
|
-
* values(object);
|
|
49
|
-
* // => ['a', 'b']
|
|
50
|
-
*
|
|
51
|
-
* // Replace `_.memoize.Cache`.
|
|
52
|
-
* _.memoize.Cache = WeakMap;
|
|
53
|
-
*/
|
|
54
|
-
function memoize(func, resolver) {
|
|
55
|
-
if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
|
|
56
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
57
|
-
}
|
|
58
|
-
var memoized = function() {
|
|
59
|
-
var args = arguments,
|
|
60
|
-
key = resolver ? resolver.apply(this, args) : args[0],
|
|
61
|
-
cache = memoized.cache;
|
|
62
|
-
|
|
63
|
-
if (cache.has(key)) {
|
|
64
|
-
return cache.get(key);
|
|
65
|
-
}
|
|
66
|
-
var result = func.apply(this, args);
|
|
67
|
-
memoized.cache = cache.set(key, result) || cache;
|
|
68
|
-
return result;
|
|
69
|
-
};
|
|
70
|
-
memoized.cache = new (memoize.Cache || _MapCache.default);
|
|
71
|
-
return memoized;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// Expose `MapCache`.
|
|
75
|
-
memoize.Cache = _MapCache.default;
|
|
76
|
-
|
|
77
|
-
exports.default = memoize;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _arrayMap = require('./_arrayMap.js');
|
|
6
|
-
var _baseClone = require('./_baseClone.js');
|
|
7
|
-
var _baseUnset = require('./_baseUnset.js');
|
|
8
|
-
var _castPath = require('./_castPath.js');
|
|
9
|
-
var _copyObject = require('./_copyObject.js');
|
|
10
|
-
var _customOmitClone = require('./_customOmitClone.js');
|
|
11
|
-
var _flatRest = require('./_flatRest.js');
|
|
12
|
-
var _getAllKeysIn = require('./_getAllKeysIn.js');
|
|
13
|
-
|
|
14
|
-
/** Used to compose bitmasks for cloning. */
|
|
15
|
-
var CLONE_DEEP_FLAG = 1,
|
|
16
|
-
CLONE_FLAT_FLAG = 2,
|
|
17
|
-
CLONE_SYMBOLS_FLAG = 4;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The opposite of `_.pick`; this method creates an object composed of the
|
|
21
|
-
* own and inherited enumerable property paths of `object` that are not omitted.
|
|
22
|
-
*
|
|
23
|
-
* **Note:** This method is considerably slower than `_.pick`.
|
|
24
|
-
*
|
|
25
|
-
* @static
|
|
26
|
-
* @since 0.1.0
|
|
27
|
-
* @memberOf _
|
|
28
|
-
* @category Object
|
|
29
|
-
* @param {Object} object The source object.
|
|
30
|
-
* @param {...(string|string[])} [paths] The property paths to omit.
|
|
31
|
-
* @returns {Object} Returns the new object.
|
|
32
|
-
* @example
|
|
33
|
-
*
|
|
34
|
-
* var object = { 'a': 1, 'b': '2', 'c': 3 };
|
|
35
|
-
*
|
|
36
|
-
* _.omit(object, ['a', 'c']);
|
|
37
|
-
* // => { 'b': '2' }
|
|
38
|
-
*/
|
|
39
|
-
var omit = _flatRest.default(function(object, paths) {
|
|
40
|
-
var result = {};
|
|
41
|
-
if (object == null) {
|
|
42
|
-
return result;
|
|
43
|
-
}
|
|
44
|
-
var isDeep = false;
|
|
45
|
-
paths = _arrayMap.default(paths, function(path) {
|
|
46
|
-
path = _castPath.default(path, object);
|
|
47
|
-
isDeep || (isDeep = path.length > 1);
|
|
48
|
-
return path;
|
|
49
|
-
});
|
|
50
|
-
_copyObject.default(object, _getAllKeysIn.default(object), result);
|
|
51
|
-
if (isDeep) {
|
|
52
|
-
result = _baseClone.default(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, _customOmitClone.default);
|
|
53
|
-
}
|
|
54
|
-
var length = paths.length;
|
|
55
|
-
while (length--) {
|
|
56
|
-
_baseUnset.default(result, paths[length]);
|
|
57
|
-
}
|
|
58
|
-
return result;
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
exports.default = omit;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* This method returns a new empty array.
|
|
7
|
-
*
|
|
8
|
-
* @static
|
|
9
|
-
* @memberOf _
|
|
10
|
-
* @since 4.13.0
|
|
11
|
-
* @category Util
|
|
12
|
-
* @returns {Array} Returns the new empty array.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* var arrays = _.times(2, _.stubArray);
|
|
16
|
-
*
|
|
17
|
-
* console.log(arrays);
|
|
18
|
-
* // => [[], []]
|
|
19
|
-
*
|
|
20
|
-
* console.log(arrays[0] === arrays[1]);
|
|
21
|
-
* // => false
|
|
22
|
-
*/
|
|
23
|
-
function stubArray() {
|
|
24
|
-
return [];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
exports.default = stubArray;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* This method returns `false`.
|
|
7
|
-
*
|
|
8
|
-
* @static
|
|
9
|
-
* @memberOf _
|
|
10
|
-
* @since 4.13.0
|
|
11
|
-
* @category Util
|
|
12
|
-
* @returns {boolean} Returns `false`.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* _.times(2, _.stubFalse);
|
|
16
|
-
* // => [false, false]
|
|
17
|
-
*/
|
|
18
|
-
function stubFalse() {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
exports.default = stubFalse;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _baseToString = require('./_baseToString.js');
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Converts `value` to a string. An empty string is returned for `null`
|
|
9
|
-
* and `undefined` values. The sign of `-0` is preserved.
|
|
10
|
-
*
|
|
11
|
-
* @static
|
|
12
|
-
* @memberOf _
|
|
13
|
-
* @since 4.0.0
|
|
14
|
-
* @category Lang
|
|
15
|
-
* @param {*} value The value to convert.
|
|
16
|
-
* @returns {string} Returns the converted string.
|
|
17
|
-
* @example
|
|
18
|
-
*
|
|
19
|
-
* _.toString(null);
|
|
20
|
-
* // => ''
|
|
21
|
-
*
|
|
22
|
-
* _.toString(-0);
|
|
23
|
-
* // => '-0'
|
|
24
|
-
*
|
|
25
|
-
* _.toString([1, 2, 3]);
|
|
26
|
-
* // => '1,2,3'
|
|
27
|
-
*/
|
|
28
|
-
function toString(value) {
|
|
29
|
-
return value == null ? '' : _baseToString.default(value);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
exports.default = toString;
|