@unicom-cloud/utils 0.1.37 → 0.1.39
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/.virtual/_rolldown/runtime.js +13 -0
- package/.vite/license.md +3 -0
- package/.vite/manifest.json +10075 -0
- package/array/index.d.ts +2 -0
- package/array/index.js +8 -0
- package/assert/index.js +25 -33
- package/canvas-roundrect-polyfill/LICENSE +21 -0
- package/canvas-roundrect-polyfill/index.d.ts +0 -0
- package/canvas-roundrect-polyfill/index.js +78 -0
- package/case-name/index.js +23 -22
- package/class-name/index.js +10 -9
- package/clipboard-copy/index.js +34 -33
- package/constant/address.js +14488 -5305
- package/constant/chineseCharacters.js +7 -5
- package/constant/constellations.js +19 -17
- package/constant/domain.js +7 -269
- package/constant/identity.js +20 -18
- package/constant/index.js +18 -31
- package/constant/isMobile.js +6 -7
- package/constant/keyboardCode.js +97 -101
- package/constant/licensePlate.js +10 -43
- package/constant/name.js +12 -667
- package/constant/platform.js +26 -20
- package/constant/protocol.js +20 -18
- package/constant/string.js +7 -5
- package/constant/ui.js +23 -19
- package/content-disposition/index.js +44 -54
- package/cookie/index.d.ts +1 -116
- package/cookie/index.js +4 -5
- package/cookie/src/api.js +45 -56
- package/cookie/src/assign.js +11 -11
- package/cookie/src/converter.js +12 -14
- package/date/convertTime.js +66 -59
- package/date/convertToDuration.js +36 -17
- package/date/index.js +10 -12
- package/decimal/decimal.js +792 -1054
- package/decimal/index.js +4 -6
- package/dom-helpers/activeElement.js +13 -12
- package/dom-helpers/addClass.js +8 -10
- package/dom-helpers/addEventListener.js +25 -32
- package/dom-helpers/animate.d.ts +19 -0
- package/dom-helpers/animate.js +38 -48
- package/dom-helpers/animationFrame.js +23 -19
- package/dom-helpers/attribute.js +10 -10
- package/dom-helpers/camelize.js +8 -7
- package/dom-helpers/camelizeStyle.d.ts +2 -0
- package/dom-helpers/camelizeStyle.js +9 -8
- package/dom-helpers/canUseDOM.js +6 -5
- package/dom-helpers/childElements.js +7 -6
- package/dom-helpers/childNodes.js +8 -7
- package/dom-helpers/clear.js +11 -11
- package/dom-helpers/closest.js +14 -13
- package/dom-helpers/collectElements.js +9 -10
- package/dom-helpers/collectSiblings.js +13 -14
- package/dom-helpers/contains.js +8 -8
- package/dom-helpers/css.d.ts +3 -0
- package/dom-helpers/css.js +15 -15
- package/dom-helpers/filterEventHandler.d.ts +2 -0
- package/dom-helpers/filterEventHandler.js +12 -11
- package/dom-helpers/getComputedStyle.js +8 -7
- package/dom-helpers/getElementCoordinates.js +42 -45
- package/dom-helpers/getScrollAccessor.js +14 -14
- package/dom-helpers/hasClass.js +7 -8
- package/dom-helpers/height.js +10 -9
- package/dom-helpers/hyphenate.js +8 -7
- package/dom-helpers/hyphenateStyle.d.ts +7 -0
- package/dom-helpers/hyphenateStyle.js +9 -8
- package/dom-helpers/index.js +96 -141
- package/dom-helpers/insertAfter.js +7 -6
- package/dom-helpers/isDocument.js +7 -6
- package/dom-helpers/isInput.js +8 -7
- package/dom-helpers/isTransform.js +8 -7
- package/dom-helpers/isVisible.js +7 -6
- package/dom-helpers/isWindow.js +8 -7
- package/dom-helpers/listen.d.ts +3 -0
- package/dom-helpers/listen.js +11 -10
- package/dom-helpers/matches.js +12 -11
- package/dom-helpers/nextUntil.js +8 -7
- package/dom-helpers/offset.js +22 -18
- package/dom-helpers/offsetParent.js +12 -13
- package/dom-helpers/ownerDocument.js +7 -6
- package/dom-helpers/ownerWindow.js +8 -7
- package/dom-helpers/parents.js +8 -7
- package/dom-helpers/position.js +31 -28
- package/dom-helpers/prepend.js +7 -6
- package/dom-helpers/querySelectorAll.js +8 -7
- package/dom-helpers/reflow.js +20 -25
- package/dom-helpers/remove.js +7 -6
- package/dom-helpers/removeClass.js +9 -17
- package/dom-helpers/removeEventListener.d.ts +11 -0
- package/dom-helpers/removeEventListener.js +8 -7
- package/dom-helpers/scrollLeft.js +6 -5
- package/dom-helpers/scrollParent.js +15 -15
- package/dom-helpers/scrollTo.js +27 -25
- package/dom-helpers/scrollTop.js +7 -6
- package/dom-helpers/scrollbarSize.js +13 -12
- package/dom-helpers/siblings.js +8 -10
- package/dom-helpers/text.js +9 -8
- package/dom-helpers/toggleClass.js +10 -9
- package/dom-helpers/transitionEnd.js +26 -31
- package/dom-helpers/triggerEvent.js +10 -9
- package/dom-helpers/types.d.ts +6 -0
- package/dom-helpers/types.js +6 -5
- package/dom-helpers/width.js +10 -9
- package/emitter/index.js +4 -5
- package/emitter/src/index.d.ts +75 -0
- package/emitter/src/index.js +68 -95
- package/emoji/emoji.js +57396 -52076
- package/emoji/emojis.js +6 -1920
- package/emoji/index.js +28 -32
- package/escape/index.js +9 -9
- package/file/fileRead.js +47 -54
- package/file/fileToDataURL.js +8 -8
- package/file/index.js +6 -9
- package/file/saveAs.js +61 -73
- package/function/index.js +8 -50
- package/idb/LICENSE +6 -0
- package/idb/async-iterators.js +38 -0
- package/idb/database-extras.js +33 -0
- package/idb/entry.d.ts +634 -0
- package/idb/entry.js +18 -0
- package/idb/index-.d.ts +18 -0
- package/idb/index-.js +84 -0
- package/idb/index.d.ts +3 -0
- package/idb/index.js +7 -103
- package/idb/util.d.ts +3 -0
- package/idb/util.js +6 -0
- package/idb/wrap-idb-value.d.ts +34 -0
- package/idb/wrap-idb-value.js +86 -0
- package/index.js +3 -4
- package/invariant/index.js +16 -21
- package/is/index.d.ts +88 -0
- package/is/index.js +142 -223
- package/is/lib/isAscii.d.ts +1 -0
- package/is/lib/isAscii.js +9 -8
- package/is/lib/isBase64.d.ts +4 -0
- package/is/lib/isBase64.js +16 -12
- package/is/lib/isChinese.d.ts +4 -0
- package/is/lib/isChinese.js +17 -17
- package/is/lib/isDataURI.d.ts +1 -0
- package/is/lib/isDataURI.js +18 -24
- package/is/lib/isEmail.js +59 -69
- package/is/lib/isFQDN.js +18 -25
- package/is/lib/isFullWidth.js +9 -9
- package/is/lib/isHSL.js +11 -10
- package/is/lib/isHalfWidth.js +9 -9
- package/is/lib/isHash.js +22 -21
- package/is/lib/isHexColor.js +10 -11
- package/is/lib/isIMEI.js +18 -19
- package/is/lib/isIP.js +16 -20
- package/is/lib/isIPRange.js +23 -24
- package/is/lib/isIdentityCard.js +112 -188
- package/is/lib/isJWT.js +11 -13
- package/is/lib/isMACAddress.js +9 -8
- package/is/lib/isMD5.js +8 -7
- package/is/lib/isMimeType.js +9 -8
- package/is/lib/isMobilePhone.js +180 -190
- package/is/lib/isPort.js +7 -6
- package/is/lib/isRgbColor.js +17 -17
- package/is/lib/isSemVer.js +16 -18
- package/is/lib/isSlug.js +8 -7
- package/is/lib/isStrongPassword.js +45 -43
- package/is/lib/isURL.js +64 -77
- package/is/lib/isUUID.js +22 -22
- package/is/lib/isVariableWidth.js +10 -9
- package/lodash/_DataView.js +8 -0
- package/lodash/_Hash.js +18 -0
- package/lodash/_LazyWrapper.js +12 -0
- package/lodash/_ListCache.js +18 -0
- package/lodash/_LodashWrapper.js +11 -0
- package/lodash/_Map.js +8 -0
- package/lodash/_MapCache.js +18 -0
- package/lodash/_Promise.js +8 -0
- package/lodash/_Set.js +8 -0
- package/lodash/_SetCache.js +13 -0
- package/lodash/_Stack.js +15 -0
- package/lodash/_Symbol.js +7 -0
- package/lodash/_Uint8Array.js +7 -0
- package/lodash/_WeakMap.js +8 -0
- package/lodash/_addMapEntry.js +8 -0
- package/lodash/_addSetEntry.js +8 -0
- package/lodash/_apply.js +14 -0
- package/lodash/_arrayAggregator.js +12 -0
- package/lodash/_arrayEach.js +9 -0
- package/lodash/_arrayEachRight.js +9 -0
- package/lodash/_arrayEvery.js +9 -0
- package/lodash/_arrayFilter.js +12 -0
- package/lodash/_arrayIncludes.js +9 -0
- package/lodash/_arrayIncludesWith.js +9 -0
- package/lodash/_arrayLikeKeys.js +17 -0
- package/lodash/_arrayMap.js +9 -0
- package/lodash/_arrayPush.js +9 -0
- package/lodash/_arrayReduce.js +10 -0
- package/lodash/_arrayReduceRight.js +10 -0
- package/lodash/_arraySample.js +10 -0
- package/lodash/_arraySampleSize.js +11 -0
- package/lodash/_arrayShuffle.js +10 -0
- package/lodash/_arraySome.js +9 -0
- package/lodash/_asciiSize.js +7 -0
- package/lodash/_asciiToArray.js +8 -0
- package/lodash/_asciiWords.js +9 -0
- package/lodash/_assignMergeValue.js +10 -0
- package/lodash/_assignValue.js +12 -0
- package/lodash/_assocIndexOf.js +10 -0
- package/lodash/_baseAggregator.js +11 -0
- package/lodash/_baseAssign.js +10 -0
- package/lodash/_baseAssignIn.js +10 -0
- package/lodash/_baseAssignValue.js +14 -0
- package/lodash/_baseAt.js +10 -0
- package/lodash/_baseClamp.js +8 -0
- package/lodash/_baseClone.js +59 -0
- package/lodash/_baseConforms.js +13 -0
- package/lodash/_baseConformsTo.js +14 -0
- package/lodash/_baseCreate.js +16 -0
- package/lodash/_baseDelay.js +12 -0
- package/lodash/_baseDifference.js +25 -0
- package/lodash/_baseEach.js +8 -0
- package/lodash/_baseEachRight.js +8 -0
- package/lodash/_baseEvery.js +12 -0
- package/lodash/_baseExtremum.js +13 -0
- package/lodash/_baseFill.js +12 -0
- package/lodash/_baseFilter.js +12 -0
- package/lodash/_baseFindIndex.js +9 -0
- package/lodash/_baseFindKey.js +11 -0
- package/lodash/_baseFlatten.js +15 -0
- package/lodash/_baseFor.js +7 -0
- package/lodash/_baseForOwn.js +10 -0
- package/lodash/_baseForOwnRight.js +10 -0
- package/lodash/_baseForRight.js +7 -0
- package/lodash/_baseFunctions.js +12 -0
- package/lodash/_baseGet.js +12 -0
- package/lodash/_baseGetAllKeys.js +11 -0
- package/lodash/_baseGetTag.js +12 -0
- package/lodash/_baseGt.js +8 -0
- package/lodash/_baseHas.js +9 -0
- package/lodash/_baseHasIn.js +8 -0
- package/lodash/_baseInRange.js +9 -0
- package/lodash/_baseIndexOf.js +11 -0
- package/lodash/_baseIndexOfWith.js +9 -0
- package/lodash/_baseIntersection.js +31 -0
- package/lodash/_baseInverter.js +11 -0
- package/lodash/_baseInvoke.js +15 -0
- package/lodash/_baseIsArguments.js +11 -0
- package/lodash/_baseIsArrayBuffer.js +11 -0
- package/lodash/_baseIsDate.js +11 -0
- package/lodash/_baseIsEqual.js +10 -0
- package/lodash/_baseIsEqualDeep.js +32 -0
- package/lodash/_baseIsMap.js +11 -0
- package/lodash/_baseIsMatch.js +28 -0
- package/lodash/_baseIsNaN.js +8 -0
- package/lodash/_baseIsNative.js +13 -0
- package/lodash/_baseIsRegExp.js +11 -0
- package/lodash/_baseIsSet.js +11 -0
- package/lodash/_baseIsTypedArray.js +13 -0
- package/lodash/_baseIteratee.js +13 -0
- package/lodash/_baseKeys.js +14 -0
- package/lodash/_baseKeysIn.js +15 -0
- package/lodash/_baseLodash.js +6 -0
- package/lodash/_baseLt.js +8 -0
- package/lodash/_baseMap.js +13 -0
- package/lodash/_baseMatches.js +14 -0
- package/lodash/_baseMatchesProperty.js +19 -0
- package/lodash/_baseMean.js +11 -0
- package/lodash/_baseMerge.js +21 -0
- package/lodash/_baseMergeDeep.js +33 -0
- package/lodash/_baseNth.js +10 -0
- package/lodash/_baseOrderBy.js +33 -0
- package/lodash/_basePick.js +12 -0
- package/lodash/_basePickBy.js +15 -0
- package/lodash/_baseProperty.js +10 -0
- package/lodash/_basePropertyDeep.js +11 -0
- package/lodash/_basePropertyOf.js +10 -0
- package/lodash/_basePullAll.js +16 -0
- package/lodash/_basePullAt.js +18 -0
- package/lodash/_baseRandom.js +9 -0
- package/lodash/_baseRange.js +10 -0
- package/lodash/_baseReduce.js +10 -0
- package/lodash/_baseRepeat.js +14 -0
- package/lodash/_baseRest.js +11 -0
- package/lodash/_baseSample.js +10 -0
- package/lodash/_baseSampleSize.js +12 -0
- package/lodash/_baseSet.js +24 -0
- package/lodash/_baseSetData.js +10 -0
- package/lodash/_baseSetToString.js +16 -0
- package/lodash/_baseShuffle.js +10 -0
- package/lodash/_baseSlice.js +11 -0
- package/lodash/_baseSome.js +12 -0
- package/lodash/_baseSortBy.js +10 -0
- package/lodash/_baseSortedIndex.js +20 -0
- package/lodash/_baseSortedIndexBy.js +19 -0
- package/lodash/_baseSortedUniq.js +16 -0
- package/lodash/_baseSum.js +12 -0
- package/lodash/_baseTimes.js +9 -0
- package/lodash/_baseToNumber.js +10 -0
- package/lodash/_baseToPairs.js +11 -0
- package/lodash/_baseToString.js +17 -0
- package/lodash/_baseTrim.js +10 -0
- package/lodash/_baseUnary.js +10 -0
- package/lodash/_baseUniq.js +29 -0
- package/lodash/_baseUnset.js +27 -0
- package/lodash/_baseUpdate.js +10 -0
- package/lodash/_baseValues.js +11 -0
- package/lodash/_baseWhile.js +10 -0
- package/lodash/_baseWrapperValue.js +14 -0
- package/lodash/_baseXor.js +14 -0
- package/lodash/_baseZipObject.js +12 -0
- package/lodash/_cacheHas.js +8 -0
- package/lodash/_castArrayLikeObject.js +9 -0
- package/lodash/_castFunction.js +9 -0
- package/lodash/_castPath.js +12 -0
- package/lodash/_castRest.js +7 -0
- package/lodash/_castSlice.js +10 -0
- package/lodash/_charsEndIndex.js +10 -0
- package/lodash/_charsStartIndex.js +10 -0
- package/lodash/_cloneArrayBuffer.js +10 -0
- package/lodash/_cloneBuffer.js +12 -0
- package/lodash/_cloneDataView.js +10 -0
- package/lodash/_cloneMap.js +12 -0
- package/lodash/_cloneRegExp.js +10 -0
- package/lodash/_cloneSet.js +12 -0
- package/lodash/_cloneSymbol.js +10 -0
- package/lodash/_cloneTypedArray.js +10 -0
- package/lodash/_compareAscending.js +14 -0
- package/lodash/_compareMultiple.js +13 -0
- package/lodash/_composeArgs.js +12 -0
- package/lodash/_composeArgsRight.js +12 -0
- package/lodash/_copyArray.js +10 -0
- package/lodash/_copyObject.js +16 -0
- package/lodash/_copySymbols.js +10 -0
- package/lodash/_copySymbolsIn.js +10 -0
- package/lodash/_coreJsData.js +7 -0
- package/lodash/_countHolders.js +9 -0
- package/lodash/_createAggregator.js +15 -0
- package/lodash/_createAssigner.js +17 -0
- package/lodash/_createBaseEach.js +14 -0
- package/lodash/_createBaseFor.js +14 -0
- package/lodash/_createBind.js +15 -0
- package/lodash/_createCaseFirst.js +16 -0
- package/lodash/_createCompounder.js +14 -0
- package/lodash/_createCtor.js +24 -0
- package/lodash/_createCurry.js +21 -0
- package/lodash/_createFind.js +21 -0
- package/lodash/_createFlow.js +33 -0
- package/lodash/_createHybrid.js +29 -0
- package/lodash/_createInverter.js +11 -0
- package/lodash/_createMathOperation.js +18 -0
- package/lodash/_createOver.js +21 -0
- package/lodash/_createPadding.js +19 -0
- package/lodash/_createPartial.js +18 -0
- package/lodash/_createRange.js +13 -0
- package/lodash/_createRecurry.js +26 -0
- package/lodash/_createRelationalOperation.js +11 -0
- package/lodash/_createRound.js +20 -0
- package/lodash/_createSet.js +11 -0
- package/lodash/_createToPairs.js +16 -0
- package/lodash/_createWrap.js +40 -0
- package/lodash/_customDefaultsAssignIn.js +10 -0
- package/lodash/_customDefaultsMerge.js +10 -0
- package/lodash/_customOmitClone.js +9 -0
- package/lodash/_deburrLetter.js +198 -0
- package/lodash/_defineProperty.js +12 -0
- package/lodash/_equalArrays.js +37 -0
- package/lodash/_equalByTag.js +37 -0
- package/lodash/_equalObjects.js +34 -0
- package/lodash/_escapeHtmlChar.js +13 -0
- package/lodash/_escapeStringChar.js +16 -0
- package/lodash/_flatRest.js +11 -0
- package/lodash/_freeGlobal.js +6 -0
- package/lodash/_getAllKeys.js +11 -0
- package/lodash/_getAllKeysIn.js +11 -0
- package/lodash/_getData.js +10 -0
- package/lodash/_getFuncName.js +14 -0
- package/lodash/_getHolder.js +8 -0
- package/lodash/_getMapData.js +10 -0
- package/lodash/_getMatchData.js +18 -0
- package/lodash/_getNative.js +11 -0
- package/lodash/_getPrototype.js +7 -0
- package/lodash/_getRawTag.js +16 -0
- package/lodash/_getSymbols.js +12 -0
- package/lodash/_getSymbolsIn.js +13 -0
- package/lodash/_getTag.js +25 -0
- package/lodash/_getValue.js +8 -0
- package/lodash/_getView.js +29 -0
- package/lodash/_getWrapDetails.js +10 -0
- package/lodash/_hasPath.js +20 -0
- package/lodash/_hasUnicode.js +9 -0
- package/lodash/_hasUnicodeWord.js +9 -0
- package/lodash/_hashClear.js +9 -0
- package/lodash/_hashDelete.js +9 -0
- package/lodash/_hashGet.js +15 -0
- package/lodash/_hashHas.js +11 -0
- package/lodash/_hashSet.js +11 -0
- package/lodash/_initCloneArray.js +10 -0
- package/lodash/_initCloneByTag.js +35 -0
- package/lodash/_initCloneObject.js +11 -0
- package/lodash/_insertWrapDetails.js +12 -0
- package/lodash/_isFlattenable.js +12 -0
- package/lodash/_isIndex.js +10 -0
- package/lodash/_isIterateeCall.js +14 -0
- package/lodash/_isKey.js +13 -0
- package/lodash/_isKeyable.js +9 -0
- package/lodash/_isLaziable.js +16 -0
- package/lodash/_isMaskable.js +9 -0
- package/lodash/_isMasked.js +13 -0
- package/lodash/_isPrototype.js +10 -0
- package/lodash/_isStrictComparable.js +9 -0
- package/lodash/_iteratorToArray.js +9 -0
- package/lodash/_lazyClone.js +11 -0
- package/lodash/_lazyReverse.js +13 -0
- package/lodash/_lazyValue.js +27 -0
- package/lodash/_listCacheClear.js +8 -0
- package/lodash/_listCacheDelete.js +11 -0
- package/lodash/_listCacheGet.js +10 -0
- package/lodash/_listCacheHas.js +9 -0
- package/lodash/_listCacheSet.js +10 -0
- package/lodash/_mapCacheClear.js +15 -0
- package/lodash/_mapCacheDelete.js +10 -0
- package/lodash/_mapCacheGet.js +9 -0
- package/lodash/_mapCacheHas.js +9 -0
- package/lodash/_mapCacheSet.js +10 -0
- package/lodash/_mapToArray.js +11 -0
- package/lodash/_matchesStrictComparable.js +10 -0
- package/lodash/_memoizeCapped.js +13 -0
- package/lodash/_mergeData.js +20 -0
- package/lodash/_metaMap.js +7 -0
- package/lodash/_nativeCreate.js +7 -0
- package/lodash/_nativeKeys.js +7 -0
- package/lodash/_nativeKeysIn.js +10 -0
- package/lodash/_nodeUtil.js +11 -0
- package/lodash/_objectToString.js +9 -0
- package/lodash/_overArg.js +10 -0
- package/lodash/_overRest.js +15 -0
- package/lodash/_parent.js +10 -0
- package/lodash/_reEscape.js +6 -0
- package/lodash/_reEvaluate.js +6 -0
- package/lodash/_reInterpolate.js +6 -0
- package/lodash/_realNames.js +6 -0
- package/lodash/_reorder.js +15 -0
- package/lodash/_replaceHolders.js +13 -0
- package/lodash/_root.js +7 -0
- package/lodash/_safeGet.js +8 -0
- package/lodash/_setCacheAdd.js +9 -0
- package/lodash/_setCacheHas.js +8 -0
- package/lodash/_setData.js +8 -0
- package/lodash/_setToArray.js +11 -0
- package/lodash/_setToPairs.js +11 -0
- package/lodash/_setToString.js +8 -0
- package/lodash/_setWrapToString.js +13 -0
- package/lodash/_shortOut.js +16 -0
- package/lodash/_shuffleSelf.js +14 -0
- package/lodash/_stackClear.js +9 -0
- package/lodash/_stackDelete.js +9 -0
- package/lodash/_stackGet.js +8 -0
- package/lodash/_stackHas.js +8 -0
- package/lodash/_stackSet.js +18 -0
- package/lodash/_strictIndexOf.js +9 -0
- package/lodash/_strictLastIndexOf.js +9 -0
- package/lodash/_stringSize.js +11 -0
- package/lodash/_stringToArray.js +11 -0
- package/lodash/_stringToPath.js +12 -0
- package/lodash/_toKey.js +12 -0
- package/lodash/_toSource.js +17 -0
- package/lodash/_trimmedEndIndex.js +10 -0
- package/lodash/_unescapeHtmlChar.js +13 -0
- package/lodash/_unicodeSize.js +20 -0
- package/lodash/_unicodeToArray.js +19 -0
- package/lodash/_unicodeWords.js +34 -0
- package/lodash/_updateWrapDetails.js +24 -0
- package/lodash/_wrapperClone.js +13 -0
- package/lodash/add.js +9 -0
- package/lodash/after.js +13 -0
- package/lodash/array.default.js +136 -0
- package/lodash/array.js +68 -0
- package/lodash/ary.js +10 -0
- package/lodash/assign.js +18 -0
- package/lodash/assignIn.js +11 -0
- package/lodash/assignInWith.js +11 -0
- package/lodash/assignWith.js +11 -0
- package/lodash/at.js +8 -0
- package/lodash/attempt.js +15 -0
- package/lodash/before.js +14 -0
- package/lodash/bind.js +18 -0
- package/lodash/bindAll.js +15 -0
- package/lodash/bindKey.js +18 -0
- package/lodash/camelCase.js +10 -0
- package/lodash/capitalize.js +10 -0
- package/lodash/castArray.js +11 -0
- package/lodash/ceil.js +7 -0
- package/lodash/chain.js +10 -0
- package/lodash/chunk.js +16 -0
- package/lodash/clamp.js +10 -0
- package/lodash/clone.js +10 -0
- package/lodash/cloneDeep.js +10 -0
- package/lodash/cloneDeepWith.js +10 -0
- package/lodash/cloneWith.js +10 -0
- package/lodash/collection.default.js +63 -0
- package/lodash/collection.js +32 -0
- package/lodash/commit.js +9 -0
- package/lodash/compact.js +12 -0
- package/lodash/concat.js +15 -0
- package/lodash/cond.js +22 -0
- package/lodash/conforms.js +11 -0
- package/lodash/conformsTo.js +10 -0
- package/lodash/constant.js +10 -0
- package/lodash/countBy.js +10 -0
- package/lodash/create.js +11 -0
- package/lodash/curry.js +13 -0
- package/lodash/curryRight.js +13 -0
- package/lodash/date.default.js +7 -0
- package/lodash/date.js +5 -0
- package/lodash/debounce.js +52 -0
- package/lodash/deburr.js +11 -0
- package/lodash/defaultTo.js +8 -0
- package/lodash/defaults.js +18 -0
- package/lodash/defaultsDeep.js +12 -0
- package/lodash/defer.js +10 -0
- package/lodash/delay.js +11 -0
- package/lodash/difference.js +12 -0
- package/lodash/differenceBy.js +15 -0
- package/lodash/differenceWith.js +14 -0
- package/lodash/divide.js +9 -0
- package/lodash/drop.js +11 -0
- package/lodash/dropRight.js +11 -0
- package/lodash/dropRightWhile.js +10 -0
- package/lodash/dropWhile.js +10 -0
- package/lodash/each.js +4 -0
- package/lodash/eachRight.js +4 -0
- package/lodash/endsWith.js +16 -0
- package/lodash/entries.js +4 -0
- package/lodash/entriesIn.js +4 -0
- package/lodash/eq.js +8 -0
- package/lodash/escape.js +11 -0
- package/lodash/escapeRegExp.js +10 -0
- package/lodash/every.js +14 -0
- package/lodash/extend.js +4 -0
- package/lodash/extendWith.js +4 -0
- package/lodash/fill.js +11 -0
- package/lodash/filter.js +12 -0
- package/lodash/find.js +8 -0
- package/lodash/findIndex.js +15 -0
- package/lodash/findKey.js +11 -0
- package/lodash/findLast.js +8 -0
- package/lodash/findLastIndex.js +15 -0
- package/lodash/findLastKey.js +11 -0
- package/lodash/first.js +4 -0
- package/lodash/flatMap.js +10 -0
- package/lodash/flatMapDeep.js +11 -0
- package/lodash/flatMapDepth.js +11 -0
- package/lodash/flatten.js +9 -0
- package/lodash/flattenDeep.js +10 -0
- package/lodash/flattenDepth.js +10 -0
- package/lodash/flip.js +10 -0
- package/lodash/floor.js +7 -0
- package/lodash/flow.js +7 -0
- package/lodash/flowRight.js +7 -0
- package/lodash/forEach.js +12 -0
- package/lodash/forEachRight.js +12 -0
- package/lodash/forIn.js +11 -0
- package/lodash/forInRight.js +11 -0
- package/lodash/forOwn.js +10 -0
- package/lodash/forOwnRight.js +10 -0
- package/lodash/fromPairs.js +12 -0
- package/lodash/function.default.js +53 -0
- package/lodash/function.js +27 -0
- package/lodash/functions.js +10 -0
- package/lodash/functionsIn.js +10 -0
- package/lodash/get.js +10 -0
- package/lodash/groupBy.js +10 -0
- package/lodash/gt.js +8 -0
- package/lodash/gte.js +9 -0
- package/lodash/has.js +10 -0
- package/lodash/hasIn.js +10 -0
- package/lodash/head.js +8 -0
- package/lodash/identity.js +8 -0
- package/lodash/inRange.js +11 -0
- package/lodash/includes.js +16 -0
- package/lodash/index.js +312 -0
- package/lodash/indexOf.js +14 -0
- package/lodash/initial.js +9 -0
- package/lodash/intersection.js +13 -0
- package/lodash/intersectionBy.js +15 -0
- package/lodash/intersectionWith.js +14 -0
- package/lodash/invert.js +11 -0
- package/lodash/invertBy.js +10 -0
- package/lodash/invoke.js +8 -0
- package/lodash/invokeMap.js +16 -0
- package/lodash/isArguments.js +12 -0
- package/lodash/isArray.js +6 -0
- package/lodash/isArrayBuffer.js +9 -0
- package/lodash/isArrayLike.js +10 -0
- package/lodash/isArrayLikeObject.js +10 -0
- package/lodash/isBoolean.js +11 -0
- package/lodash/isBuffer.js +8 -0
- package/lodash/isDate.js +9 -0
- package/lodash/isElement.js +10 -0
- package/lodash/isEmpty.js +23 -0
- package/lodash/isEqual.js +9 -0
- package/lodash/isEqualWith.js +11 -0
- package/lodash/isError.js +14 -0
- package/lodash/isFinite.js +10 -0
- package/lodash/isFunction.js +13 -0
- package/lodash/isInteger.js +9 -0
- package/lodash/isLength.js +9 -0
- package/lodash/isMap.js +9 -0
- package/lodash/isMatch.js +10 -0
- package/lodash/isMatchWith.js +10 -0
- package/lodash/isNaN.js +9 -0
- package/lodash/isNative.js +12 -0
- package/lodash/isNil.js +8 -0
- package/lodash/isNull.js +8 -0
- package/lodash/isNumber.js +11 -0
- package/lodash/isObject.js +9 -0
- package/lodash/isObjectLike.js +8 -0
- package/lodash/isPlainObject.js +16 -0
- package/lodash/isPromise.js +11 -0
- package/lodash/isRegExp.js +9 -0
- package/lodash/isSafeInteger.js +10 -0
- package/lodash/isSet.js +9 -0
- package/lodash/isString.js +12 -0
- package/lodash/isSymbol.js +11 -0
- package/lodash/isTypedArray.js +9 -0
- package/lodash/isUndefined.js +8 -0
- package/lodash/isWeakMap.js +11 -0
- package/lodash/isWeakSet.js +11 -0
- package/lodash/iteratee.js +11 -0
- package/lodash/join.js +9 -0
- package/lodash/kebabCase.js +9 -0
- package/lodash/keyBy.js +10 -0
- package/lodash/keys.js +11 -0
- package/lodash/keysIn.js +11 -0
- package/lodash/lang.default.js +119 -0
- package/lodash/lang.js +60 -0
- package/lodash/last.js +9 -0
- package/lodash/lastIndexOf.js +16 -0
- package/lodash/lodash.default.js +182 -0
- package/lodash/lodash.js +319 -0
- package/lodash/lowerCase.js +9 -0
- package/lodash/lowerFirst.js +7 -0
- package/lodash/lt.js +8 -0
- package/lodash/lte.js +9 -0
- package/lodash/map.js +12 -0
- package/lodash/mapKeys.js +14 -0
- package/lodash/mapValues.js +14 -0
- package/lodash/matches.js +11 -0
- package/lodash/matchesProperty.js +11 -0
- package/lodash/math.default.js +37 -0
- package/lodash/math.js +19 -0
- package/lodash/max.js +11 -0
- package/lodash/maxBy.js +11 -0
- package/lodash/mean.js +10 -0
- package/lodash/meanBy.js +10 -0
- package/lodash/memoize.js +18 -0
- package/lodash/merge.js +10 -0
- package/lodash/mergeWith.js +10 -0
- package/lodash/method.js +12 -0
- package/lodash/methodOf.js +12 -0
- package/lodash/min.js +11 -0
- package/lodash/minBy.js +11 -0
- package/lodash/mixin.js +30 -0
- package/lodash/multiply.js +9 -0
- package/lodash/negate.js +19 -0
- package/lodash/next.js +14 -0
- package/lodash/noop.js +6 -0
- package/lodash/now.js +9 -0
- package/lodash/nth.js +10 -0
- package/lodash/nthArg.js +13 -0
- package/lodash/number.default.js +13 -0
- package/lodash/number.js +7 -0
- package/lodash/object.default.js +101 -0
- package/lodash/object.js +51 -0
- package/lodash/omit.js +23 -0
- package/lodash/omitBy.js +11 -0
- package/lodash/once.js +9 -0
- package/lodash/orderBy.js +10 -0
- package/lodash/over.js +8 -0
- package/lodash/overArgs.js +21 -0
- package/lodash/overEvery.js +8 -0
- package/lodash/overSome.js +8 -0
- package/lodash/pad.js +17 -0
- package/lodash/padEnd.js +14 -0
- package/lodash/padStart.js +14 -0
- package/lodash/parseInt.js +11 -0
- package/lodash/partial.js +13 -0
- package/lodash/partialRight.js +13 -0
- package/lodash/partition.js +11 -0
- package/lodash/pick.js +10 -0
- package/lodash/pickBy.js +18 -0
- package/lodash/plant.js +16 -0
- package/lodash/property.js +12 -0
- package/lodash/propertyOf.js +11 -0
- package/lodash/pull.js +8 -0
- package/lodash/pullAll.js +9 -0
- package/lodash/pullAllBy.js +10 -0
- package/lodash/pullAllWith.js +9 -0
- package/lodash/pullAt.js +17 -0
- package/lodash/random.js +20 -0
- package/lodash/range.js +7 -0
- package/lodash/rangeRight.js +7 -0
- package/lodash/rearg.js +10 -0
- package/lodash/reduce.js +14 -0
- package/lodash/reduceRight.js +14 -0
- package/lodash/reject.js +13 -0
- package/lodash/remove.js +17 -0
- package/lodash/repeat.js +12 -0
- package/lodash/replace.js +10 -0
- package/lodash/rest.js +12 -0
- package/lodash/result.js +17 -0
- package/lodash/reverse.js +9 -0
- package/lodash/round.js +7 -0
- package/lodash/sample.js +11 -0
- package/lodash/sampleSize.js +13 -0
- package/lodash/seq.default.js +35 -0
- package/lodash/seq.js +18 -0
- package/lodash/set.js +9 -0
- package/lodash/setWith.js +9 -0
- package/lodash/shuffle.js +11 -0
- package/lodash/size.js +17 -0
- package/lodash/slice.js +12 -0
- package/lodash/snakeCase.js +9 -0
- package/lodash/some.js +14 -0
- package/lodash/sortBy.js +14 -0
- package/lodash/sortedIndex.js +9 -0
- package/lodash/sortedIndexBy.js +10 -0
- package/lodash/sortedIndexOf.js +15 -0
- package/lodash/sortedLastIndex.js +9 -0
- package/lodash/sortedLastIndexBy.js +10 -0
- package/lodash/sortedLastIndexOf.js +14 -0
- package/lodash/sortedUniq.js +9 -0
- package/lodash/sortedUniqBy.js +10 -0
- package/lodash/split.js +16 -0
- package/lodash/spread.js +18 -0
- package/lodash/startCase.js +10 -0
- package/lodash/startsWith.js +12 -0
- package/lodash/string.default.js +69 -0
- package/lodash/string.js +35 -0
- package/lodash/stubArray.js +8 -0
- package/lodash/stubFalse.js +8 -0
- package/lodash/stubObject.js +8 -0
- package/lodash/stubString.js +8 -0
- package/lodash/stubTrue.js +8 -0
- package/lodash/subtract.js +9 -0
- package/lodash/sum.js +10 -0
- package/lodash/sumBy.js +10 -0
- package/lodash/tail.js +10 -0
- package/lodash/take.js +10 -0
- package/lodash/takeRight.js +11 -0
- package/lodash/takeRightWhile.js +10 -0
- package/lodash/takeWhile.js +10 -0
- package/lodash/tap.js +8 -0
- package/lodash/template.js +34 -0
- package/lodash/templateSettings.js +16 -0
- package/lodash/throttle.js +17 -0
- package/lodash/thru.js +8 -0
- package/lodash/times.js +16 -0
- package/lodash/toArray.js +23 -0
- package/lodash/toFinite.js +10 -0
- package/lodash/toInteger.js +10 -0
- package/lodash/toIterator.js +8 -0
- package/lodash/toJSON.js +4 -0
- package/lodash/toLength.js +11 -0
- package/lodash/toLower.js +9 -0
- package/lodash/toNumber.js +21 -0
- package/lodash/toPairs.js +8 -0
- package/lodash/toPairsIn.js +8 -0
- package/lodash/toPath.js +15 -0
- package/lodash/toPlainObject.js +10 -0
- package/lodash/toSafeInteger.js +11 -0
- package/lodash/toString.js +9 -0
- package/lodash/toUpper.js +9 -0
- package/lodash/transform.js +25 -0
- package/lodash/trim.js +18 -0
- package/lodash/trimEnd.js +17 -0
- package/lodash/trimStart.js +17 -0
- package/lodash/truncate.js +44 -0
- package/lodash/unary.js +9 -0
- package/lodash/unescape.js +11 -0
- package/lodash/union.js +12 -0
- package/lodash/unionBy.js +15 -0
- package/lodash/unionWith.js +14 -0
- package/lodash/uniq.js +9 -0
- package/lodash/uniqBy.js +10 -0
- package/lodash/uniqWith.js +9 -0
- package/lodash/uniqueId.js +11 -0
- package/lodash/unset.js +9 -0
- package/lodash/unzip.js +20 -0
- package/lodash/unzipWith.js +15 -0
- package/lodash/update.js +10 -0
- package/lodash/updateWith.js +10 -0
- package/lodash/upperCase.js +9 -0
- package/lodash/upperFirst.js +7 -0
- package/lodash/util.default.js +71 -0
- package/lodash/util.js +36 -0
- package/lodash/value.js +4 -0
- package/lodash/valueOf.js +4 -0
- package/lodash/values.js +10 -0
- package/lodash/valuesIn.js +10 -0
- package/lodash/without.js +11 -0
- package/lodash/words.js +12 -0
- package/lodash/wrap.js +10 -0
- package/lodash/wrapperAt.js +23 -0
- package/lodash/wrapperChain.js +9 -0
- package/lodash/wrapperLodash.js +20 -0
- package/lodash/wrapperReverse.js +21 -0
- package/lodash/wrapperValue.js +9 -0
- package/lodash/xor.js +12 -0
- package/lodash/xorBy.js +15 -0
- package/lodash/xorWith.js +14 -0
- package/lodash/zip.js +8 -0
- package/lodash/zipObject.js +10 -0
- package/lodash/zipObjectDeep.js +10 -0
- package/lodash/zipWith.js +11 -0
- package/math/index.js +20 -22
- package/md5/index.js +60 -66
- package/mock/MockWebSocket.js +80 -93
- package/mock/MockXMLHttpRequest.js +83 -82
- package/mock/index.js +5 -9
- package/normalize-wheel/ExecutionEnvironment.js +12 -12
- package/normalize-wheel/UserAgent_DEPRECATED.js +71 -145
- package/normalize-wheel/index.js +18 -12
- package/normalize-wheel/isEventSupported.js +14 -15
- package/number-to-chinese/index.js +105 -71
- package/nzh/cn.js +9 -8
- package/nzh/hk.js +9 -8
- package/nzh/index.d.ts +1 -0
- package/nzh/index.js +4 -5
- package/nzh/nzh.d.ts +36 -74
- package/nzh/nzh.js +25 -21
- package/nzh/src/autoGet.js +28 -25
- package/nzh/src/index.js +80 -91
- package/nzh/src/langs/cn_b.js +13 -12
- package/nzh/src/langs/cn_s.js +10 -9
- package/nzh/src/langs/hk_b.js +13 -12
- package/nzh/src/langs/hk_s.js +10 -9
- package/nzh/src/utils.js +60 -72
- package/object/index.d.ts +7 -0
- package/object/index.js +14 -15
- package/package.json +1 -1
- package/pinyin/index.d.ts +1 -6
- package/pinyin/index.js +5 -5
- package/pinyin/simplified.js +4 -5
- package/pinyin/src/core.js +125 -134
- package/pinyin/src/simplified.js +8 -9
- package/pinyin/src/simplified_dict.js +408 -410
- package/pinyin/src/traditional.js +8 -9
- package/pinyin/src/traditional_dict.js +401 -403
- package/pinyin/traditional.js +4 -5
- package/promise-pool/LICENSE +19 -0
- package/promise-pool/index.js +89 -0
- package/query-string/base.d.ts +11 -807
- package/query-string/base.js +254 -277
- package/query-string/index.d.ts +1 -15
- package/query-string/index.js +7 -5
- package/query-string/splitOnFirst.js +11 -14
- package/random/address.js +28 -32
- package/random/constellation.js +9 -8
- package/random/image.js +11 -20
- package/random/index.d.ts +31 -0
- package/random/index.js +97 -82
- package/random/licensePlate.js +10 -11
- package/random/name.js +26 -25
- package/random/number.js +16 -15
- package/random/text.js +98 -117
- package/random/time.js +8 -8
- package/random/web.js +42 -37
- package/sanitize-url/LICENSE +21 -0
- package/sanitize-url/index.d.ts +2 -0
- package/sanitize-url/index.js +21 -0
- package/screenfull/index.js +46 -49
- package/sleep/index.js +7 -6
- package/snapdom/index.js +5 -6
- package/snapdom/src/api/preCache.d.ts +30 -0
- package/snapdom/src/api/preCache.js +72 -89
- package/snapdom/src/api/snapdom.js +229 -237
- package/snapdom/src/core/cache.d.ts +38 -0
- package/snapdom/src/core/cache.js +56 -39
- package/snapdom/src/core/capture.js +160 -167
- package/snapdom/src/core/clone.js +195 -214
- package/snapdom/src/core/context.d.ts +60 -0
- package/snapdom/src/core/context.js +40 -58
- package/snapdom/src/core/plugins.js +55 -62
- package/snapdom/src/core/prepare.js +82 -76
- package/snapdom/src/exporters/download.js +46 -19
- package/snapdom/src/exporters/toBlob.js +14 -15
- package/snapdom/src/exporters/toCanvas.js +78 -103
- package/snapdom/src/exporters/toImg.js +35 -35
- package/snapdom/src/index.browser.d.ts +1 -0
- package/snapdom/src/index.js +4 -0
- package/snapdom/src/modules/CSSVar.js +74 -85
- package/snapdom/src/modules/background.js +84 -88
- package/snapdom/src/modules/changeCSS.js +48 -56
- package/snapdom/src/modules/counter.js +135 -172
- package/snapdom/src/modules/fonts.d.ts +85 -0
- package/snapdom/src/modules/fonts.js +560 -653
- package/snapdom/src/modules/iconFonts.js +130 -168
- package/snapdom/src/modules/images.js +87 -61
- package/snapdom/src/modules/lineClamp.d.ts +18 -0
- package/snapdom/src/modules/lineClamp.js +41 -37
- package/snapdom/src/modules/pseudo.js +290 -327
- package/snapdom/src/modules/rasterize.js +9 -8
- package/snapdom/src/modules/snapFetch.js +245 -255
- package/snapdom/src/modules/styles.js +177 -162
- package/snapdom/src/modules/svgDefs.js +97 -105
- package/snapdom/src/utils/browser.d.ts +11 -0
- package/snapdom/src/utils/browser.js +23 -16
- package/snapdom/src/utils/capture.helpers.d.ts +49 -0
- package/snapdom/src/utils/capture.helpers.js +145 -120
- package/snapdom/src/utils/clone.helpers.d.ts +127 -0
- package/snapdom/src/utils/clone.helpers.js +289 -261
- package/snapdom/src/utils/css.js +171 -180
- package/snapdom/src/utils/debug.d.ts +12 -0
- package/snapdom/src/utils/debug.js +9 -0
- package/snapdom/src/utils/helpers.d.ts +23 -0
- package/snapdom/src/utils/helpers.js +36 -28
- package/snapdom/src/utils/image.js +26 -29
- package/snapdom/src/utils/index.d.ts +5 -0
- package/snapdom/src/utils/index.js +7 -0
- package/snapdom/src/utils/prepare.helpers.js +8 -7
- package/snapdom/src/utils/transforms.helpers.js +223 -199
- package/string/chars.js +333 -659
- package/string/index.d.ts +11 -0
- package/string/index.js +11 -14
- package/tinycolor/index.js +13 -47
- package/tinycolor/src/conversion.d.ts +79 -0
- package/tinycolor/src/conversion.js +153 -129
- package/tinycolor/src/css-color-names.js +154 -153
- package/tinycolor/src/format-input.d.ts +38 -0
- package/tinycolor/src/format-input.js +104 -74
- package/tinycolor/src/from-ratio.js +20 -20
- package/tinycolor/src/index.d.ts +214 -0
- package/tinycolor/src/index.js +266 -387
- package/tinycolor/src/public_api.js +11 -0
- package/tinycolor/src/random.js +207 -213
- package/tinycolor/src/readability.d.ts +47 -0
- package/tinycolor/src/readability.js +34 -34
- package/tinycolor/src/to-ms-filter.d.ts +5 -0
- package/tinycolor/src/to-ms-filter.js +14 -15
- package/tinycolor/src/utils.js +21 -26
- package/tree/index.d.ts +8 -0
- package/tree/index.js +58 -67
- package/tree/search/index.js +84 -106
- package/tween/index.js +6 -8
- package/tween/src/easing.js +68 -62
- package/tween/src/index.js +4 -0
- package/tween/src/tween.js +31 -46
- package/ui-color/compareColorByRange.js +10 -9
- package/ui-color/index.js +197 -157
- package/url-toolkit/index.js +4 -9
- package/url-toolkit/src/url-toolkit.d.ts +18 -22
- package/url-toolkit/src/url-toolkit.js +57 -70
- package/validate/index.js +13 -26
- package/validate/src/index.js +78 -148
- package/validate/src/locale/en-US.js +60 -59
- package/validate/src/locale/index.js +11 -10
- package/validate/src/locale/zh-CN.js +60 -59
- package/validate/src/rules/array.d.ts +12 -0
- package/validate/src/rules/array.js +50 -72
- package/validate/src/rules/base.d.ts +27 -0
- package/validate/src/rules/base.js +64 -72
- package/validate/src/rules/boolean.d.ts +8 -0
- package/validate/src/rules/boolean.js +20 -28
- package/validate/src/rules/custom.d.ts +7 -0
- package/validate/src/rules/custom.js +23 -25
- package/validate/src/rules/number.d.ts +12 -0
- package/validate/src/rules/number.js +35 -53
- package/validate/src/rules/object.d.ts +9 -0
- package/validate/src/rules/object.js +22 -37
- package/validate/src/rules/string.d.ts +12 -0
- package/validate/src/rules/string.js +33 -54
- package/validate/src/rules/type.d.ts +19 -0
- package/validate/src/rules/type.js +65 -103
- package/version/index.js +6 -6
- package/xlsx/crc32.d.ts +12 -0
- package/xlsx/crc32.js +39 -0
- package/xlsx/index.d.ts +2 -1135
- package/xlsx/index.js +4 -23
- package/xlsx/xlsx.js +22195 -28156
- package/assert.js +0 -9
- package/caseName.js +0 -12
- package/className.js +0 -6
- package/clipboardCopy.js +0 -6
- package/constant.js +0 -29
- package/contentDisposition.js +0 -9
- package/cookie.js +0 -5
- package/date.js +0 -11
- package/decimal.js +0 -6
- package/domHelpers.js +0 -96
- package/emitter.js +0 -5
- package/emoji.js +0 -11
- package/escape.js +0 -6
- package/file.js +0 -9
- package/filesize/LICENSE +0 -26
- package/filesize/types/constants.d.ts +0 -111
- package/filesize/types/filesize.d.ts +0 -97
- package/filesize/types/helpers.d.ts +0 -130
- package/function.js +0 -49
- package/idb.js +0 -5
- package/invariant.js +0 -5
- package/is.js +0 -154
- package/lunar/LICENSE +0 -20
- package/lunar/index.js +0 -37
- package/lunar/lib/Holiday.js +0 -39
- package/lunar/lib/HolidayUtil.js +0 -142
- package/lunar/lib/I18n.js +0 -426
- package/lunar/lib/JieQi.js +0 -37
- package/lunar/lib/Lunar.js +0 -588
- package/lunar/lib/LunarMonth.js +0 -88
- package/lunar/lib/LunarTime.js +0 -60
- package/lunar/lib/LunarUtil.js +0 -451
- package/lunar/lib/LunarYear.js +0 -524
- package/lunar/lib/ShouXingUtil.js +0 -6940
- package/lunar/lib/Solar.js +0 -287
- package/lunar/lib/SolarHalfYear.js +0 -44
- package/lunar/lib/SolarMonth.js +0 -54
- package/lunar/lib/SolarSeason.js +0 -41
- package/lunar/lib/SolarUtil.js +0 -269
- package/lunar/lib/SolarWeek.js +0 -150
- package/lunar/lib/SolarYear.js +0 -35
- package/lunar/lib/index.js +0 -36
- package/lunar.js +0 -37
- package/math.js +0 -10
- package/md5.js +0 -5
- package/mock.js +0 -9
- package/normalizeWheel.js +0 -7
- package/numberToChinese.js +0 -5
- package/nzh.js +0 -5
- package/object.js +0 -8
- package/pinyin.js +0 -5
- package/queryString.js +0 -5
- package/random.js +0 -16
- package/screenfull.js +0 -6
- package/sleep.js +0 -5
- package/snapdom/types/snapdom.d.ts +0 -362
- package/snapdom.js +0 -7
- package/string.js +0 -11
- package/tinycolor.js +0 -47
- package/tree.js +0 -16
- package/tween.js +0 -8
- package/types/cookie/index.d.ts +0 -1
- package/types/dom-helpers/animate.d.ts +0 -19
- package/types/dom-helpers/camelizeStyle.d.ts +0 -2
- package/types/dom-helpers/css.d.ts +0 -3
- package/types/dom-helpers/filterEventHandler.d.ts +0 -2
- package/types/dom-helpers/hyphenateStyle.d.ts +0 -7
- package/types/dom-helpers/listen.d.ts +0 -3
- package/types/dom-helpers/removeEventListener.d.ts +0 -11
- package/types/dom-helpers/types.d.ts +0 -6
- package/types/emitter/src/index.d.ts +0 -73
- package/types/idb/index.d.ts +0 -21
- package/types/is/index.d.ts +0 -84
- package/types/is/lib/isAscii.d.ts +0 -1
- package/types/is/lib/isBase64.d.ts +0 -1
- package/types/is/lib/isChinese.d.ts +0 -4
- package/types/is/lib/isDataURI.d.ts +0 -1
- package/types/lunar/index.d.ts +0 -3
- package/types/lunar/lib/Holiday.d.ts +0 -17
- package/types/lunar/lib/HolidayUtil.d.ts +0 -23
- package/types/lunar/lib/I18n.d.ts +0 -23
- package/types/lunar/lib/JieQi.d.ts +0 -15
- package/types/lunar/lib/Lunar.d.ts +0 -147
- package/types/lunar/lib/LunarMonth.d.ts +0 -23
- package/types/lunar/lib/LunarTime.d.ts +0 -18
- package/types/lunar/lib/LunarUtil.d.ts +0 -38
- package/types/lunar/lib/LunarYear.d.ts +0 -31
- package/types/lunar/lib/ShouXingUtil.d.ts +0 -38
- package/types/lunar/lib/Solar.d.ts +0 -46
- package/types/lunar/lib/SolarHalfYear.d.ts +0 -15
- package/types/lunar/lib/SolarMonth.d.ts +0 -16
- package/types/lunar/lib/SolarSeason.d.ts +0 -15
- package/types/lunar/lib/SolarUtil.d.ts +0 -20
- package/types/lunar/lib/SolarWeek.d.ts +0 -23
- package/types/lunar/lib/SolarYear.d.ts +0 -12
- package/types/lunar/lib/index.d.ts +0 -17
- package/types/nzh/nzh.d.ts +0 -36
- package/types/object/index.d.ts +0 -5
- package/types/pinyin/es/main.d.ts +0 -4
- package/types/pinyin/es/traditional.d.ts +0 -4
- package/types/pinyin/index.d.ts +0 -1
- package/types/query-string/base.d.ts +0 -11
- package/types/query-string/index.d.ts +0 -2
- package/types/random/index.d.ts +0 -31
- package/types/snapdom/src/api/preCache.d.ts +0 -28
- package/types/snapdom/src/core/cache.d.ts +0 -29
- package/types/snapdom/src/core/context.d.ts +0 -67
- package/types/snapdom/src/modules/fonts.d.ts +0 -83
- package/types/snapdom/src/modules/lineClamp.d.ts +0 -13
- package/types/snapdom/src/utils/browser.d.ts +0 -9
- package/types/snapdom/src/utils/capture.helpers.d.ts +0 -45
- package/types/snapdom/src/utils/clone.helpers.d.ts +0 -97
- package/types/snapdom/src/utils/helpers.d.ts +0 -16
- package/types/snapdom/src/utils/index.d.ts +0 -4
- package/types/string/index.d.ts +0 -11
- package/types/tinycolor/src/conversion.d.ts +0 -79
- package/types/tinycolor/src/format-input.d.ts +0 -38
- package/types/tinycolor/src/index.d.ts +0 -214
- package/types/tinycolor/src/readability.d.ts +0 -46
- package/types/tinycolor/src/to-ms-filter.d.ts +0 -5
- package/types/tree/index.d.ts +0 -8
- package/types/url-toolkit/src/url-toolkit.d.ts +0 -18
- package/types/validate/src/rules/array.d.ts +0 -12
- package/types/validate/src/rules/base.d.ts +0 -27
- package/types/validate/src/rules/boolean.d.ts +0 -8
- package/types/validate/src/rules/custom.d.ts +0 -7
- package/types/validate/src/rules/number.d.ts +0 -12
- package/types/validate/src/rules/object.d.ts +0 -9
- package/types/validate/src/rules/string.d.ts +0 -12
- package/types/validate/src/rules/type.d.ts +0 -19
- package/types/xlsx/index.d.ts +0 -2
- package/uiColor.js +0 -31
- package/urlToolkit.js +0 -9
- package/validate.js +0 -26
- package/version.js +0 -6
- package/xlsx.js +0 -23
- /package/{types/assert → assert}/index.d.ts +0 -0
- /package/{types/case-name → case-name}/index.d.ts +0 -0
- /package/{types/class-name → class-name}/index.d.ts +0 -0
- /package/{types/clipboard-copy → clipboard-copy}/index.d.ts +0 -0
- /package/{types/constant → constant}/address.d.ts +0 -0
- /package/{types/constant → constant}/chineseCharacters.d.ts +0 -0
- /package/{types/constant → constant}/constellations.d.ts +0 -0
- /package/{types/constant → constant}/domain.d.ts +0 -0
- /package/{types/constant → constant}/identity.d.ts +0 -0
- /package/{types/constant → constant}/index.d.ts +0 -0
- /package/{types/constant → constant}/isMobile.d.ts +0 -0
- /package/{types/constant → constant}/keyboardCode.d.ts +0 -0
- /package/{types/constant → constant}/licensePlate.d.ts +0 -0
- /package/{types/constant → constant}/name.d.ts +0 -0
- /package/{types/constant → constant}/platform.d.ts +0 -0
- /package/{types/constant → constant}/protocol.d.ts +0 -0
- /package/{types/constant → constant}/string.d.ts +0 -0
- /package/{types/constant → constant}/ui.d.ts +0 -0
- /package/{types/content-disposition → content-disposition}/index.d.ts +0 -0
- /package/{types/cookie → cookie}/src/api.d.mts +0 -0
- /package/{types/cookie → cookie}/src/assign.d.mts +0 -0
- /package/{types/cookie → cookie}/src/converter.d.mts +0 -0
- /package/{types/date → date}/convertTime.d.ts +0 -0
- /package/{types/date → date}/convertToDuration.d.ts +0 -0
- /package/{types/date → date}/index.d.ts +0 -0
- /package/{types/decimal → decimal}/decimal.d.ts +0 -0
- /package/{types/decimal → decimal}/index.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/activeElement.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/addClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/addEventListener.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/animationFrame.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/attribute.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/camelize.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/canUseDOM.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/childElements.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/childNodes.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/clear.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/closest.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/collectElements.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/collectSiblings.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/contains.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getComputedStyle.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getElementCoordinates.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getScrollAccessor.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/hasClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/height.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/hyphenate.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/index.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/insertAfter.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isDocument.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isInput.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isTransform.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isVisible.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isWindow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/matches.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/nextUntil.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/offset.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/offsetParent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/ownerDocument.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/ownerWindow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/parents.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/position.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/prepend.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/querySelectorAll.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/reflow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/remove.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/removeClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollLeft.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollParent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollTo.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollTop.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollbarSize.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/siblings.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/text.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/toggleClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/transitionEnd.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/triggerEvent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/width.d.ts +0 -0
- /package/{types/emitter → emitter}/index.d.ts +0 -0
- /package/{types/emoji → emoji}/emoji.d.ts +0 -0
- /package/{types/emoji → emoji}/emojis.d.ts +0 -0
- /package/{types/emoji → emoji}/index.d.ts +0 -0
- /package/{types/escape → escape}/index.d.ts +0 -0
- /package/{types/file → file}/fileRead.d.ts +0 -0
- /package/{types/file → file}/fileToDataURL.d.ts +0 -0
- /package/{types/file → file}/index.d.ts +0 -0
- /package/{types/file → file}/saveAs.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/basic-performance.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/index.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/options-benchmark.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/partial-benchmark.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/stress-test.d.ts +0 -0
- /package/{types/filesize → filesize}/src/constants.d.ts +0 -0
- /package/{types/filesize → filesize}/src/filesize.d.ts +0 -0
- /package/{types/filesize → filesize}/src/helpers.d.ts +0 -0
- /package/{types/function → function}/index.d.ts +0 -0
- /package/{types/nzh/index.d.ts → idb/async-iterators.d.ts} +0 -0
- /package/{types/snapdom/src/index.browser.d.ts → idb/database-extras.d.ts} +0 -0
- /package/{types/index.d.ts → index.d.ts} +0 -0
- /package/{types/invariant → invariant}/index.d.ts +0 -0
- /package/{types/is → is}/lib/isEmail.d.ts +0 -0
- /package/{types/is → is}/lib/isFQDN.d.ts +0 -0
- /package/{types/is → is}/lib/isFullWidth.d.ts +0 -0
- /package/{types/is → is}/lib/isHSL.d.ts +0 -0
- /package/{types/is → is}/lib/isHalfWidth.d.ts +0 -0
- /package/{types/is → is}/lib/isHash.d.ts +0 -0
- /package/{types/is → is}/lib/isHexColor.d.ts +0 -0
- /package/{types/is → is}/lib/isIMEI.d.ts +0 -0
- /package/{types/is → is}/lib/isIP.d.ts +0 -0
- /package/{types/is → is}/lib/isIPRange.d.ts +0 -0
- /package/{types/is → is}/lib/isIdentityCard.d.ts +0 -0
- /package/{types/is → is}/lib/isJWT.d.ts +0 -0
- /package/{types/is → is}/lib/isMACAddress.d.ts +0 -0
- /package/{types/is → is}/lib/isMD5.d.ts +0 -0
- /package/{types/is → is}/lib/isMimeType.d.ts +0 -0
- /package/{types/is → is}/lib/isMobilePhone.d.ts +0 -0
- /package/{types/is → is}/lib/isOctal.d.ts +0 -0
- /package/{types/is → is}/lib/isPort.d.ts +0 -0
- /package/{types/is → is}/lib/isRgbColor.d.ts +0 -0
- /package/{types/is → is}/lib/isSemVer.d.ts +0 -0
- /package/{types/is → is}/lib/isSlug.d.ts +0 -0
- /package/{types/is → is}/lib/isStrongPassword.d.ts +0 -0
- /package/{types/is → is}/lib/isURL.d.ts +0 -0
- /package/{types/is → is}/lib/isUUID.d.ts +0 -0
- /package/{types/is → is}/lib/isVariableWidth.d.ts +0 -0
- /package/{types/lodash → lodash}/_DataView.d.ts +0 -0
- /package/{types/lodash → lodash}/_Hash.d.ts +0 -0
- /package/{types/lodash → lodash}/_LazyWrapper.d.ts +0 -0
- /package/{types/lodash → lodash}/_ListCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_LodashWrapper.d.ts +0 -0
- /package/{types/lodash → lodash}/_Map.d.ts +0 -0
- /package/{types/lodash → lodash}/_MapCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_Promise.d.ts +0 -0
- /package/{types/lodash → lodash}/_Set.d.ts +0 -0
- /package/{types/lodash → lodash}/_SetCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_Stack.d.ts +0 -0
- /package/{types/lodash → lodash}/_Symbol.d.ts +0 -0
- /package/{types/lodash → lodash}/_Uint8Array.d.ts +0 -0
- /package/{types/lodash → lodash}/_WeakMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_addMapEntry.d.ts +0 -0
- /package/{types/lodash → lodash}/_addSetEntry.d.ts +0 -0
- /package/{types/lodash → lodash}/_apply.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayFilter.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayIncludes.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayIncludesWith.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayLikeKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayPush.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayReduce.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayReduceRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySample.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayShuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySome.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiWords.d.ts +0 -0
- /package/{types/lodash → lodash}/_assignMergeValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_assignValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_assocIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssign.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssignValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseClamp.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseConforms.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseConformsTo.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseCreate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseDelay.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseDifference.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseExtremum.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFill.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFilter.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFindIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFindKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFlatten.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFor.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForOwn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForOwnRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFunctions.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGetAllKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGetTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseHasIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIndexOfWith.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIntersection.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInverter.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInvoke.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsArguments.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsDate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsEqual.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsEqualDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsMatch.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsNaN.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsNative.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIteratee.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseLodash.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseLt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMatches.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMatchesProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMean.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMerge.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMergeDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseNth.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseOrderBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePick.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePickBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePropertyDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePropertyOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePullAll.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePullAt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRandom.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseReduce.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRepeat.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSample.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSetData.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSetToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseShuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSlice.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSome.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSum.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseTimes.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseTrim.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUnary.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUnset.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUpdate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseValues.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseWrapperValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseXor.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseZipObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_cacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_castArrayLikeObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_castFunction.d.ts +0 -0
- /package/{types/lodash → lodash}/_castPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_castRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_castSlice.d.ts +0 -0
- /package/{types/lodash → lodash}/_charsEndIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_charsStartIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneDataView.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneSymbol.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_compareAscending.d.ts +0 -0
- /package/{types/lodash → lodash}/_compareMultiple.d.ts +0 -0
- /package/{types/lodash → lodash}/_composeArgs.d.ts +0 -0
- /package/{types/lodash → lodash}/_composeArgsRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_copyArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_copyObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_copySymbols.d.ts +0 -0
- /package/{types/lodash → lodash}/_copySymbolsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_coreJsData.d.ts +0 -0
- /package/{types/lodash → lodash}/_countHolders.d.ts +0 -0
- /package/{types/lodash → lodash}/_createAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_createAssigner.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBaseEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBaseFor.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBind.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCaseFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCompounder.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCtor.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCurry.d.ts +0 -0
- /package/{types/lodash → lodash}/_createFind.d.ts +0 -0
- /package/{types/lodash → lodash}/_createFlow.d.ts +0 -0
- /package/{types/lodash → lodash}/_createHybrid.d.ts +0 -0
- /package/{types/lodash → lodash}/_createInverter.d.ts +0 -0
- /package/{types/lodash → lodash}/_createMathOperation.d.ts +0 -0
- /package/{types/lodash → lodash}/_createOver.d.ts +0 -0
- /package/{types/lodash → lodash}/_createPadding.d.ts +0 -0
- /package/{types/lodash → lodash}/_createPartial.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRecurry.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRelationalOperation.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRound.d.ts +0 -0
- /package/{types/lodash → lodash}/_createSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_createToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_createWrap.d.ts +0 -0
- /package/{types/lodash → lodash}/_customDefaultsAssignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_customDefaultsMerge.d.ts +0 -0
- /package/{types/lodash → lodash}/_customOmitClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_deburrLetter.d.ts +0 -0
- /package/{types/lodash → lodash}/_defineProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalArrays.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalByTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalObjects.d.ts +0 -0
- /package/{types/lodash → lodash}/_escapeHtmlChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_escapeStringChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_flatRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_freeGlobal.d.ts +0 -0
- /package/{types/lodash → lodash}/_getAllKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_getAllKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_getData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getFuncName.d.ts +0 -0
- /package/{types/lodash → lodash}/_getHolder.d.ts +0 -0
- /package/{types/lodash → lodash}/_getMapData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getMatchData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getNative.d.ts +0 -0
- /package/{types/lodash → lodash}/_getPrototype.d.ts +0 -0
- /package/{types/lodash → lodash}/_getRawTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_getSymbols.d.ts +0 -0
- /package/{types/lodash → lodash}/_getSymbolsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_getTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_getValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_getView.d.ts +0 -0
- /package/{types/lodash → lodash}/_getWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasUnicode.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasUnicodeWord.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneByTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_insertWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_isFlattenable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_isIterateeCall.d.ts +0 -0
- /package/{types/lodash → lodash}/_isKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_isKeyable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isLaziable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isMaskable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isMasked.d.ts +0 -0
- /package/{types/lodash → lodash}/_isPrototype.d.ts +0 -0
- /package/{types/lodash → lodash}/_isStrictComparable.d.ts +0 -0
- /package/{types/lodash → lodash}/_iteratorToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyReverse.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_matchesStrictComparable.d.ts +0 -0
- /package/{types/lodash → lodash}/_memoizeCapped.d.ts +0 -0
- /package/{types/lodash → lodash}/_mergeData.d.ts +0 -0
- /package/{types/lodash → lodash}/_metaMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeCreate.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_nodeUtil.d.ts +0 -0
- /package/{types/lodash → lodash}/_objectToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_overArg.d.ts +0 -0
- /package/{types/lodash → lodash}/_overRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_parent.d.ts +0 -0
- /package/{types/lodash → lodash}/_reEscape.d.ts +0 -0
- /package/{types/lodash → lodash}/_reEvaluate.d.ts +0 -0
- /package/{types/lodash → lodash}/_reInterpolate.d.ts +0 -0
- /package/{types/lodash → lodash}/_realNames.d.ts +0 -0
- /package/{types/lodash → lodash}/_reorder.d.ts +0 -0
- /package/{types/lodash → lodash}/_replaceHolders.d.ts +0 -0
- /package/{types/lodash → lodash}/_root.d.ts +0 -0
- /package/{types/lodash → lodash}/_safeGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_setCacheAdd.d.ts +0 -0
- /package/{types/lodash → lodash}/_setCacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_setData.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_setWrapToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_shortOut.d.ts +0 -0
- /package/{types/lodash → lodash}/_shuffleSelf.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_strictIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_strictLastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringToPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_toKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_toSource.d.ts +0 -0
- /package/{types/lodash → lodash}/_trimmedEndIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_unescapeHtmlChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeWords.d.ts +0 -0
- /package/{types/lodash → lodash}/_updateWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_wrapperClone.d.ts +0 -0
- /package/{types/lodash → lodash}/add.d.ts +0 -0
- /package/{types/lodash → lodash}/after.d.ts +0 -0
- /package/{types/lodash → lodash}/array.d.ts +0 -0
- /package/{types/lodash → lodash}/array.default.d.ts +0 -0
- /package/{types/lodash → lodash}/ary.d.ts +0 -0
- /package/{types/lodash → lodash}/assign.d.ts +0 -0
- /package/{types/lodash → lodash}/assignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/assignInWith.d.ts +0 -0
- /package/{types/lodash → lodash}/assignWith.d.ts +0 -0
- /package/{types/lodash → lodash}/at.d.ts +0 -0
- /package/{types/lodash → lodash}/attempt.d.ts +0 -0
- /package/{types/lodash → lodash}/before.d.ts +0 -0
- /package/{types/lodash → lodash}/bind.d.ts +0 -0
- /package/{types/lodash → lodash}/bindAll.d.ts +0 -0
- /package/{types/lodash → lodash}/bindKey.d.ts +0 -0
- /package/{types/lodash → lodash}/camelCase.d.ts +0 -0
- /package/{types/lodash → lodash}/capitalize.d.ts +0 -0
- /package/{types/lodash → lodash}/castArray.d.ts +0 -0
- /package/{types/lodash → lodash}/ceil.d.ts +0 -0
- /package/{types/lodash → lodash}/chain.d.ts +0 -0
- /package/{types/lodash → lodash}/chunk.d.ts +0 -0
- /package/{types/lodash → lodash}/clamp.d.ts +0 -0
- /package/{types/lodash → lodash}/clone.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneDeepWith.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneWith.d.ts +0 -0
- /package/{types/lodash → lodash}/collection.d.ts +0 -0
- /package/{types/lodash → lodash}/collection.default.d.ts +0 -0
- /package/{types/lodash → lodash}/commit.d.ts +0 -0
- /package/{types/lodash → lodash}/compact.d.ts +0 -0
- /package/{types/lodash → lodash}/concat.d.ts +0 -0
- /package/{types/lodash → lodash}/cond.d.ts +0 -0
- /package/{types/lodash → lodash}/conforms.d.ts +0 -0
- /package/{types/lodash → lodash}/conformsTo.d.ts +0 -0
- /package/{types/lodash → lodash}/constant.d.ts +0 -0
- /package/{types/lodash → lodash}/countBy.d.ts +0 -0
- /package/{types/lodash → lodash}/create.d.ts +0 -0
- /package/{types/lodash → lodash}/curry.d.ts +0 -0
- /package/{types/lodash → lodash}/curryRight.d.ts +0 -0
- /package/{types/lodash → lodash}/date.d.ts +0 -0
- /package/{types/lodash → lodash}/date.default.d.ts +0 -0
- /package/{types/lodash → lodash}/debounce.d.ts +0 -0
- /package/{types/lodash → lodash}/deburr.d.ts +0 -0
- /package/{types/lodash → lodash}/defaultTo.d.ts +0 -0
- /package/{types/lodash → lodash}/defaults.d.ts +0 -0
- /package/{types/lodash → lodash}/defaultsDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/defer.d.ts +0 -0
- /package/{types/lodash → lodash}/delay.d.ts +0 -0
- /package/{types/lodash → lodash}/difference.d.ts +0 -0
- /package/{types/lodash → lodash}/differenceBy.d.ts +0 -0
- /package/{types/lodash → lodash}/differenceWith.d.ts +0 -0
- /package/{types/lodash → lodash}/divide.d.ts +0 -0
- /package/{types/lodash → lodash}/drop.d.ts +0 -0
- /package/{types/lodash → lodash}/dropRight.d.ts +0 -0
- /package/{types/lodash → lodash}/dropRightWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/dropWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/each.d.ts +0 -0
- /package/{types/lodash → lodash}/eachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/endsWith.d.ts +0 -0
- /package/{types/lodash → lodash}/entries.d.ts +0 -0
- /package/{types/lodash → lodash}/entriesIn.d.ts +0 -0
- /package/{types/lodash → lodash}/eq.d.ts +0 -0
- /package/{types/lodash → lodash}/escape.d.ts +0 -0
- /package/{types/lodash → lodash}/escapeRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/every.d.ts +0 -0
- /package/{types/lodash → lodash}/extend.d.ts +0 -0
- /package/{types/lodash → lodash}/extendWith.d.ts +0 -0
- /package/{types/lodash → lodash}/fill.d.ts +0 -0
- /package/{types/lodash → lodash}/filter.d.ts +0 -0
- /package/{types/lodash → lodash}/find.d.ts +0 -0
- /package/{types/lodash → lodash}/findIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/findKey.d.ts +0 -0
- /package/{types/lodash → lodash}/findLast.d.ts +0 -0
- /package/{types/lodash → lodash}/findLastIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/findLastKey.d.ts +0 -0
- /package/{types/lodash → lodash}/first.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMap.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMapDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMapDepth.d.ts +0 -0
- /package/{types/lodash → lodash}/flatten.d.ts +0 -0
- /package/{types/lodash → lodash}/flattenDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/flattenDepth.d.ts +0 -0
- /package/{types/lodash → lodash}/flip.d.ts +0 -0
- /package/{types/lodash → lodash}/floor.d.ts +0 -0
- /package/{types/lodash → lodash}/flow.d.ts +0 -0
- /package/{types/lodash → lodash}/flowRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forEach.d.ts +0 -0
- /package/{types/lodash → lodash}/forEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forIn.d.ts +0 -0
- /package/{types/lodash → lodash}/forInRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forOwn.d.ts +0 -0
- /package/{types/lodash → lodash}/forOwnRight.d.ts +0 -0
- /package/{types/lodash → lodash}/fromPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/function.d.ts +0 -0
- /package/{types/lodash → lodash}/function.default.d.ts +0 -0
- /package/{types/lodash → lodash}/functions.d.ts +0 -0
- /package/{types/lodash → lodash}/functionsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/get.d.ts +0 -0
- /package/{types/lodash → lodash}/groupBy.d.ts +0 -0
- /package/{types/lodash → lodash}/gt.d.ts +0 -0
- /package/{types/lodash → lodash}/gte.d.ts +0 -0
- /package/{types/lodash → lodash}/has.d.ts +0 -0
- /package/{types/lodash → lodash}/hasIn.d.ts +0 -0
- /package/{types/lodash → lodash}/head.d.ts +0 -0
- /package/{types/lodash → lodash}/identity.d.ts +0 -0
- /package/{types/lodash → lodash}/inRange.d.ts +0 -0
- /package/{types/lodash → lodash}/includes.d.ts +0 -0
- /package/{types/lodash → lodash}/index.d.ts +0 -0
- /package/{types/lodash → lodash}/indexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/initial.d.ts +0 -0
- /package/{types/lodash → lodash}/intersection.d.ts +0 -0
- /package/{types/lodash → lodash}/intersectionBy.d.ts +0 -0
- /package/{types/lodash → lodash}/intersectionWith.d.ts +0 -0
- /package/{types/lodash → lodash}/invert.d.ts +0 -0
- /package/{types/lodash → lodash}/invertBy.d.ts +0 -0
- /package/{types/lodash → lodash}/invoke.d.ts +0 -0
- /package/{types/lodash → lodash}/invokeMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isArguments.d.ts +0 -0
- /package/{types/lodash → lodash}/isArray.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayLike.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayLikeObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isBoolean.d.ts +0 -0
- /package/{types/lodash → lodash}/isBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/isDate.d.ts +0 -0
- /package/{types/lodash → lodash}/isElement.d.ts +0 -0
- /package/{types/lodash → lodash}/isEmpty.d.ts +0 -0
- /package/{types/lodash → lodash}/isEqual.d.ts +0 -0
- /package/{types/lodash → lodash}/isEqualWith.d.ts +0 -0
- /package/{types/lodash → lodash}/isError.d.ts +0 -0
- /package/{types/lodash → lodash}/isFinite.d.ts +0 -0
- /package/{types/lodash → lodash}/isFunction.d.ts +0 -0
- /package/{types/lodash → lodash}/isInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/isLength.d.ts +0 -0
- /package/{types/lodash → lodash}/isMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isMatch.d.ts +0 -0
- /package/{types/lodash → lodash}/isMatchWith.d.ts +0 -0
- /package/{types/lodash → lodash}/isNaN.d.ts +0 -0
- /package/{types/lodash → lodash}/isNative.d.ts +0 -0
- /package/{types/lodash → lodash}/isNil.d.ts +0 -0
- /package/{types/lodash → lodash}/isNull.d.ts +0 -0
- /package/{types/lodash → lodash}/isNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/isObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isObjectLike.d.ts +0 -0
- /package/{types/lodash → lodash}/isPlainObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isPromise.d.ts +0 -0
- /package/{types/lodash → lodash}/isRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/isSafeInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/isSet.d.ts +0 -0
- /package/{types/lodash → lodash}/isString.d.ts +0 -0
- /package/{types/lodash → lodash}/isSymbol.d.ts +0 -0
- /package/{types/lodash → lodash}/isTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/isUndefined.d.ts +0 -0
- /package/{types/lodash → lodash}/isWeakMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isWeakSet.d.ts +0 -0
- /package/{types/lodash → lodash}/iteratee.d.ts +0 -0
- /package/{types/lodash → lodash}/join.d.ts +0 -0
- /package/{types/lodash → lodash}/kebabCase.d.ts +0 -0
- /package/{types/lodash → lodash}/keyBy.d.ts +0 -0
- /package/{types/lodash → lodash}/keys.d.ts +0 -0
- /package/{types/lodash → lodash}/keysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/lang.d.ts +0 -0
- /package/{types/lodash → lodash}/lang.default.d.ts +0 -0
- /package/{types/lodash → lodash}/last.d.ts +0 -0
- /package/{types/lodash → lodash}/lastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/lodash.d.ts +0 -0
- /package/{types/lodash → lodash}/lodash.default.d.ts +0 -0
- /package/{types/lodash → lodash}/lowerCase.d.ts +0 -0
- /package/{types/lodash → lodash}/lowerFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/lt.d.ts +0 -0
- /package/{types/lodash → lodash}/lte.d.ts +0 -0
- /package/{types/lodash → lodash}/map.d.ts +0 -0
- /package/{types/lodash → lodash}/mapKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/mapValues.d.ts +0 -0
- /package/{types/lodash → lodash}/matches.d.ts +0 -0
- /package/{types/lodash → lodash}/matchesProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/math.d.ts +0 -0
- /package/{types/lodash → lodash}/math.default.d.ts +0 -0
- /package/{types/lodash → lodash}/max.d.ts +0 -0
- /package/{types/lodash → lodash}/maxBy.d.ts +0 -0
- /package/{types/lodash → lodash}/mean.d.ts +0 -0
- /package/{types/lodash → lodash}/meanBy.d.ts +0 -0
- /package/{types/lodash → lodash}/memoize.d.ts +0 -0
- /package/{types/lodash → lodash}/merge.d.ts +0 -0
- /package/{types/lodash → lodash}/mergeWith.d.ts +0 -0
- /package/{types/lodash → lodash}/method.d.ts +0 -0
- /package/{types/lodash → lodash}/methodOf.d.ts +0 -0
- /package/{types/lodash → lodash}/min.d.ts +0 -0
- /package/{types/lodash → lodash}/minBy.d.ts +0 -0
- /package/{types/lodash → lodash}/mixin.d.ts +0 -0
- /package/{types/lodash → lodash}/multiply.d.ts +0 -0
- /package/{types/lodash → lodash}/negate.d.ts +0 -0
- /package/{types/lodash → lodash}/next.d.ts +0 -0
- /package/{types/lodash → lodash}/noop.d.ts +0 -0
- /package/{types/lodash → lodash}/now.d.ts +0 -0
- /package/{types/lodash → lodash}/nth.d.ts +0 -0
- /package/{types/lodash → lodash}/nthArg.d.ts +0 -0
- /package/{types/lodash → lodash}/number.d.ts +0 -0
- /package/{types/lodash → lodash}/number.default.d.ts +0 -0
- /package/{types/lodash → lodash}/object.d.ts +0 -0
- /package/{types/lodash → lodash}/object.default.d.ts +0 -0
- /package/{types/lodash → lodash}/omit.d.ts +0 -0
- /package/{types/lodash → lodash}/omitBy.d.ts +0 -0
- /package/{types/lodash → lodash}/once.d.ts +0 -0
- /package/{types/lodash → lodash}/orderBy.d.ts +0 -0
- /package/{types/lodash → lodash}/over.d.ts +0 -0
- /package/{types/lodash → lodash}/overArgs.d.ts +0 -0
- /package/{types/lodash → lodash}/overEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/overSome.d.ts +0 -0
- /package/{types/lodash → lodash}/pad.d.ts +0 -0
- /package/{types/lodash → lodash}/padEnd.d.ts +0 -0
- /package/{types/lodash → lodash}/padStart.d.ts +0 -0
- /package/{types/lodash → lodash}/parseInt.d.ts +0 -0
- /package/{types/lodash → lodash}/partial.d.ts +0 -0
- /package/{types/lodash → lodash}/partialRight.d.ts +0 -0
- /package/{types/lodash → lodash}/partition.d.ts +0 -0
- /package/{types/lodash → lodash}/pick.d.ts +0 -0
- /package/{types/lodash → lodash}/pickBy.d.ts +0 -0
- /package/{types/lodash → lodash}/plant.d.ts +0 -0
- /package/{types/lodash → lodash}/property.d.ts +0 -0
- /package/{types/lodash → lodash}/propertyOf.d.ts +0 -0
- /package/{types/lodash → lodash}/pull.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAll.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAllBy.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAllWith.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAt.d.ts +0 -0
- /package/{types/lodash → lodash}/random.d.ts +0 -0
- /package/{types/lodash → lodash}/range.d.ts +0 -0
- /package/{types/lodash → lodash}/rangeRight.d.ts +0 -0
- /package/{types/lodash → lodash}/rearg.d.ts +0 -0
- /package/{types/lodash → lodash}/reduce.d.ts +0 -0
- /package/{types/lodash → lodash}/reduceRight.d.ts +0 -0
- /package/{types/lodash → lodash}/reject.d.ts +0 -0
- /package/{types/lodash → lodash}/remove.d.ts +0 -0
- /package/{types/lodash → lodash}/repeat.d.ts +0 -0
- /package/{types/lodash → lodash}/replace.d.ts +0 -0
- /package/{types/lodash → lodash}/rest.d.ts +0 -0
- /package/{types/lodash → lodash}/result.d.ts +0 -0
- /package/{types/lodash → lodash}/reverse.d.ts +0 -0
- /package/{types/lodash → lodash}/round.d.ts +0 -0
- /package/{types/lodash → lodash}/sample.d.ts +0 -0
- /package/{types/lodash → lodash}/sampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/seq.d.ts +0 -0
- /package/{types/lodash → lodash}/seq.default.d.ts +0 -0
- /package/{types/lodash → lodash}/set.d.ts +0 -0
- /package/{types/lodash → lodash}/setWith.d.ts +0 -0
- /package/{types/lodash → lodash}/shuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/size.d.ts +0 -0
- /package/{types/lodash → lodash}/slice.d.ts +0 -0
- /package/{types/lodash → lodash}/snakeCase.d.ts +0 -0
- /package/{types/lodash → lodash}/some.d.ts +0 -0
- /package/{types/lodash → lodash}/sortBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedUniqBy.d.ts +0 -0
- /package/{types/lodash → lodash}/split.d.ts +0 -0
- /package/{types/lodash → lodash}/spread.d.ts +0 -0
- /package/{types/lodash → lodash}/startCase.d.ts +0 -0
- /package/{types/lodash → lodash}/startsWith.d.ts +0 -0
- /package/{types/lodash → lodash}/string.d.ts +0 -0
- /package/{types/lodash → lodash}/string.default.d.ts +0 -0
- /package/{types/lodash → lodash}/stubArray.d.ts +0 -0
- /package/{types/lodash → lodash}/stubFalse.d.ts +0 -0
- /package/{types/lodash → lodash}/stubObject.d.ts +0 -0
- /package/{types/lodash → lodash}/stubString.d.ts +0 -0
- /package/{types/lodash → lodash}/stubTrue.d.ts +0 -0
- /package/{types/lodash → lodash}/subtract.d.ts +0 -0
- /package/{types/lodash → lodash}/sum.d.ts +0 -0
- /package/{types/lodash → lodash}/sumBy.d.ts +0 -0
- /package/{types/lodash → lodash}/tail.d.ts +0 -0
- /package/{types/lodash → lodash}/take.d.ts +0 -0
- /package/{types/lodash → lodash}/takeRight.d.ts +0 -0
- /package/{types/lodash → lodash}/takeRightWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/takeWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/tap.d.ts +0 -0
- /package/{types/lodash → lodash}/template.d.ts +0 -0
- /package/{types/lodash → lodash}/templateSettings.d.ts +0 -0
- /package/{types/lodash → lodash}/throttle.d.ts +0 -0
- /package/{types/lodash → lodash}/thru.d.ts +0 -0
- /package/{types/lodash → lodash}/times.d.ts +0 -0
- /package/{types/lodash → lodash}/toArray.d.ts +0 -0
- /package/{types/lodash → lodash}/toFinite.d.ts +0 -0
- /package/{types/lodash → lodash}/toInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/toIterator.d.ts +0 -0
- /package/{types/lodash → lodash}/toJSON.d.ts +0 -0
- /package/{types/lodash → lodash}/toLength.d.ts +0 -0
- /package/{types/lodash → lodash}/toLower.d.ts +0 -0
- /package/{types/lodash → lodash}/toNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/toPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/toPairsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/toPath.d.ts +0 -0
- /package/{types/lodash → lodash}/toPlainObject.d.ts +0 -0
- /package/{types/lodash → lodash}/toSafeInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/toString.d.ts +0 -0
- /package/{types/lodash → lodash}/toUpper.d.ts +0 -0
- /package/{types/lodash → lodash}/transform.d.ts +0 -0
- /package/{types/lodash → lodash}/trim.d.ts +0 -0
- /package/{types/lodash → lodash}/trimEnd.d.ts +0 -0
- /package/{types/lodash → lodash}/trimStart.d.ts +0 -0
- /package/{types/lodash → lodash}/truncate.d.ts +0 -0
- /package/{types/lodash → lodash}/unary.d.ts +0 -0
- /package/{types/lodash → lodash}/unescape.d.ts +0 -0
- /package/{types/lodash → lodash}/union.d.ts +0 -0
- /package/{types/lodash → lodash}/unionBy.d.ts +0 -0
- /package/{types/lodash → lodash}/unionWith.d.ts +0 -0
- /package/{types/lodash → lodash}/uniq.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqBy.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqWith.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqueId.d.ts +0 -0
- /package/{types/lodash → lodash}/unset.d.ts +0 -0
- /package/{types/lodash → lodash}/unzip.d.ts +0 -0
- /package/{types/lodash → lodash}/unzipWith.d.ts +0 -0
- /package/{types/lodash → lodash}/update.d.ts +0 -0
- /package/{types/lodash → lodash}/updateWith.d.ts +0 -0
- /package/{types/lodash → lodash}/upperCase.d.ts +0 -0
- /package/{types/lodash → lodash}/upperFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/util.d.ts +0 -0
- /package/{types/lodash → lodash}/util.default.d.ts +0 -0
- /package/{types/lodash → lodash}/value.d.ts +0 -0
- /package/{types/lodash → lodash}/valueOf.d.ts +0 -0
- /package/{types/lodash → lodash}/values.d.ts +0 -0
- /package/{types/lodash → lodash}/valuesIn.d.ts +0 -0
- /package/{types/lodash → lodash}/without.d.ts +0 -0
- /package/{types/lodash → lodash}/words.d.ts +0 -0
- /package/{types/lodash → lodash}/wrap.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperAt.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperChain.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperLodash.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperReverse.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperValue.d.ts +0 -0
- /package/{types/lodash → lodash}/xor.d.ts +0 -0
- /package/{types/lodash → lodash}/xorBy.d.ts +0 -0
- /package/{types/lodash → lodash}/xorWith.d.ts +0 -0
- /package/{types/lodash → lodash}/zip.d.ts +0 -0
- /package/{types/lodash → lodash}/zipObject.d.ts +0 -0
- /package/{types/lodash → lodash}/zipObjectDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/zipWith.d.ts +0 -0
- /package/{types/math → math}/index.d.ts +0 -0
- /package/{types/md5 → md5}/index.d.ts +0 -0
- /package/{types/mock → mock}/MockWebSocket.d.ts +0 -0
- /package/{types/mock → mock}/MockXMLHttpRequest.d.ts +0 -0
- /package/{types/mock → mock}/index.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/ExecutionEnvironment.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/UserAgent_DEPRECATED.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/index.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/isEventSupported.d.ts +0 -0
- /package/{types/number-to-chinese → number-to-chinese}/index.d.ts +0 -0
- /package/{types/nzh → nzh}/cn.d.ts +0 -0
- /package/{types/nzh → nzh}/hk.d.ts +0 -0
- /package/{types/nzh → nzh}/src/autoGet.d.ts +0 -0
- /package/{types/nzh → nzh}/src/index.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/cn_b.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/cn_s.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/hk_b.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/hk_s.d.ts +0 -0
- /package/{types/nzh → nzh}/src/utils.d.ts +0 -0
- /package/{types/pinyin → pinyin}/simplified.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/core.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/simplified.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/simplified_dict.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/traditional.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/traditional_dict.d.ts +0 -0
- /package/{types/pinyin → pinyin}/traditional.d.ts +0 -0
- /package/{types/query-string → query-string}/splitOnFirst.d.ts +0 -0
- /package/{types/random → random}/address.d.ts +0 -0
- /package/{types/random → random}/constellation.d.ts +0 -0
- /package/{types/random → random}/image.d.ts +0 -0
- /package/{types/random → random}/licensePlate.d.ts +0 -0
- /package/{types/random → random}/name.d.ts +0 -0
- /package/{types/random → random}/number.d.ts +0 -0
- /package/{types/random → random}/text.d.ts +0 -0
- /package/{types/random → random}/time.d.ts +0 -0
- /package/{types/random → random}/web.d.ts +0 -0
- /package/{types/screenfull → screenfull}/index.d.ts +0 -0
- /package/{types/sleep → sleep}/index.d.ts +0 -0
- /package/{types/snapdom → snapdom}/index.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/api/snapdom.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/capture.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/clone.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/exporters.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/plugins.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/prepare.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/download.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toBlob.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toCanvas.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toImg.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toJpg.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toPng.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toSvg.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toWebp.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/index.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/CSSVar.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/background.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/changeCSS.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/counter.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/iconFonts.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/images.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/pseudo.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/rasterize.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/snapFetch.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/styles.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/svgDefs.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/utils/css.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/utils/image.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/utils/prepare.helpers.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/utils/transforms.helpers.d.ts +0 -0
- /package/{types/string → string}/chars.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/index.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/css-color-names.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/from-ratio.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/interfaces.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/public_api.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/random.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/umd_api.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/utils.d.ts +0 -0
- /package/{types/tree → tree}/search/index.d.ts +0 -0
- /package/{types/tween → tween}/index.d.ts +0 -0
- /package/{types/tween → tween}/src/easing.d.ts +0 -0
- /package/{types/tween → tween}/src/index.d.ts +0 -0
- /package/{types/tween → tween}/src/tween.d.ts +0 -0
- /package/{types/ui-color → ui-color}/compareColorByRange.d.ts +0 -0
- /package/{types/ui-color → ui-color}/index.d.ts +0 -0
- /package/{types/url-toolkit → url-toolkit}/index.d.ts +0 -0
- /package/{types/validate → validate}/index.d.ts +0 -0
- /package/{types/validate → validate}/src/index.d.ts +0 -0
- /package/{types/validate → validate}/src/interface.d.ts +0 -0
- /package/{types/validate → validate}/src/locale/en-US.d.ts +0 -0
- /package/{types/validate → validate}/src/locale/index.d.ts +0 -0
- /package/{types/validate → validate}/src/locale/zh-CN.d.ts +0 -0
- /package/{types/version → version}/index.d.ts +0 -0
- /package/{types/xlsx → xlsx}/xlsx.d.ts +0 -0
package/tinycolor/src/index.js
CHANGED
|
@@ -1,388 +1,267 @@
|
|
|
1
|
-
/* 2026-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
*/
|
|
265
|
-
shade(t = 10) {
|
|
266
|
-
return this.mix("black", t);
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Desaturate the color a given amount, from 0 to 100.
|
|
270
|
-
* Providing 100 will is the same as calling greyscale
|
|
271
|
-
* @param amount - valid between 1-100
|
|
272
|
-
*/
|
|
273
|
-
desaturate(t = 10) {
|
|
274
|
-
const s = this.toHsl();
|
|
275
|
-
return s.s -= t / 100, s.s = a(s.s), new n(s);
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* Saturate the color a given amount, from 0 to 100.
|
|
279
|
-
* @param amount - valid between 1-100
|
|
280
|
-
*/
|
|
281
|
-
saturate(t = 10) {
|
|
282
|
-
const s = this.toHsl();
|
|
283
|
-
return s.s += t / 100, s.s = a(s.s), new n(s);
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* Completely desaturates a color into greyscale.
|
|
287
|
-
* Same as calling `desaturate(100)`
|
|
288
|
-
*/
|
|
289
|
-
greyscale() {
|
|
290
|
-
return this.desaturate(100);
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
|
294
|
-
* Values outside of this range will be wrapped into this range.
|
|
295
|
-
*/
|
|
296
|
-
spin(t) {
|
|
297
|
-
const s = this.toHsl(), r = (s.h + t) % 360;
|
|
298
|
-
return s.h = r < 0 ? 360 + r : r, new n(s);
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* Mix the current color a given amount with another color, from 0 to 100.
|
|
302
|
-
* 0 means no mixing (return current color).
|
|
303
|
-
*/
|
|
304
|
-
mix(t, s = 50) {
|
|
305
|
-
const r = this.toRgb(), h = new n(t).toRgb(), i = s / 100, e = {
|
|
306
|
-
r: (h.r - r.r) * i + r.r,
|
|
307
|
-
g: (h.g - r.g) * i + r.g,
|
|
308
|
-
b: (h.b - r.b) * i + r.b,
|
|
309
|
-
a: (h.a - r.a) * i + r.a
|
|
310
|
-
};
|
|
311
|
-
return new n(e);
|
|
312
|
-
}
|
|
313
|
-
analogous(t = 6, s = 30) {
|
|
314
|
-
const r = this.toHsl(), h = 360 / s, i = [this];
|
|
315
|
-
for (r.h = (r.h - (h * t >> 1) + 720) % 360; --t; )
|
|
316
|
-
r.h = (r.h + h) % 360, i.push(new n(r));
|
|
317
|
-
return i;
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js
|
|
321
|
-
*/
|
|
322
|
-
complement() {
|
|
323
|
-
const t = this.toHsl();
|
|
324
|
-
return t.h = (t.h + 180) % 360, new n(t);
|
|
325
|
-
}
|
|
326
|
-
monochromatic(t = 6) {
|
|
327
|
-
const s = this.toHsv(), { h: r } = s, { s: h } = s;
|
|
328
|
-
let { v: i } = s;
|
|
329
|
-
const e = [], o = 1 / t;
|
|
330
|
-
for (; t--; )
|
|
331
|
-
e.push(new n({ h: r, s: h, v: i })), i = (i + o) % 1;
|
|
332
|
-
return e;
|
|
333
|
-
}
|
|
334
|
-
splitcomplement() {
|
|
335
|
-
const t = this.toHsl(), { h: s } = t;
|
|
336
|
-
return [
|
|
337
|
-
this,
|
|
338
|
-
new n({ h: (s + 72) % 360, s: t.s, l: t.l }),
|
|
339
|
-
new n({ h: (s + 216) % 360, s: t.s, l: t.l })
|
|
340
|
-
];
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* Compute how the color would appear on a background
|
|
344
|
-
*/
|
|
345
|
-
onBackground(t) {
|
|
346
|
-
const s = this.toRgb(), r = new n(t).toRgb(), h = s.a + r.a * (1 - s.a);
|
|
347
|
-
return new n({
|
|
348
|
-
r: (s.r * s.a + r.r * r.a * (1 - s.a)) / h,
|
|
349
|
-
g: (s.g * s.a + r.g * r.a * (1 - s.a)) / h,
|
|
350
|
-
b: (s.b * s.a + r.b * r.a * (1 - s.a)) / h,
|
|
351
|
-
a: h
|
|
352
|
-
});
|
|
353
|
-
}
|
|
354
|
-
/**
|
|
355
|
-
* Alias for `polyad(3)`
|
|
356
|
-
*/
|
|
357
|
-
triad() {
|
|
358
|
-
return this.polyad(3);
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* Alias for `polyad(4)`
|
|
362
|
-
*/
|
|
363
|
-
tetrad() {
|
|
364
|
-
return this.polyad(4);
|
|
365
|
-
}
|
|
366
|
-
/**
|
|
367
|
-
* Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)
|
|
368
|
-
* monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...
|
|
369
|
-
*/
|
|
370
|
-
polyad(t) {
|
|
371
|
-
const s = this.toHsl(), { h: r } = s, h = [this], i = 360 / t;
|
|
372
|
-
for (let e = 1; e < t; e++)
|
|
373
|
-
h.push(
|
|
374
|
-
new n({ h: (r + e * i) % 360, s: s.s, l: s.l })
|
|
375
|
-
);
|
|
376
|
-
return h;
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* compare color vs current color
|
|
380
|
-
*/
|
|
381
|
-
equals(t) {
|
|
382
|
-
const s = new n(t);
|
|
383
|
-
return this.format === "cmyk" || s.format === "cmyk" ? this.toCmykString() === s.toCmykString() : this.toRgbString() === s.toRgbString();
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
export {
|
|
387
|
-
n as TinyColor
|
|
1
|
+
/* 潘启宝 2026-03-24 15:26:16 星期二 */
|
|
2
|
+
import { bound01 as e, boundAlpha as t, clamp01 as n } from "./utils.js";
|
|
3
|
+
import { numberInputToObject as r, rgbToCmyk as i, rgbToHex as a, rgbToHsl as o, rgbToHsv as s, rgbaToHex as c } from "./conversion.js";
|
|
4
|
+
import { names as l } from "./css-color-names.js";
|
|
5
|
+
import { inputToRGB as u } from "./format-input.js";
|
|
6
|
+
//#region utils/tinycolor/src/index.ts
|
|
7
|
+
var d = class d {
|
|
8
|
+
constructor(e = "", t = {}) {
|
|
9
|
+
if (e instanceof d) return e;
|
|
10
|
+
typeof e == "number" && (e = r(e)), this.originalInput = e;
|
|
11
|
+
let n = u(e);
|
|
12
|
+
this.originalInput = e, this.r = n.r, this.g = n.g, this.b = n.b, this.a = n.a, this.roundA = Math.round(100 * this.a) / 100, this.format = t.format ?? n.format, this.gradientType = t.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = n.ok;
|
|
13
|
+
}
|
|
14
|
+
get ok() {
|
|
15
|
+
return this.isValid;
|
|
16
|
+
}
|
|
17
|
+
isDark() {
|
|
18
|
+
return this.getBrightness() < 128;
|
|
19
|
+
}
|
|
20
|
+
isLight() {
|
|
21
|
+
return !this.isDark();
|
|
22
|
+
}
|
|
23
|
+
getBrightness() {
|
|
24
|
+
let e = this.toRgb();
|
|
25
|
+
return (e.r * 299 + e.g * 587 + e.b * 114) / 1e3;
|
|
26
|
+
}
|
|
27
|
+
getLuminance() {
|
|
28
|
+
let e = this.toRgb(), t, n, r, i = e.r / 255, a = e.g / 255, o = e.b / 255;
|
|
29
|
+
return t = i <= .03928 ? i / 12.92 : ((i + .055) / 1.055) ** 2.4, n = a <= .03928 ? a / 12.92 : ((a + .055) / 1.055) ** 2.4, r = o <= .03928 ? o / 12.92 : ((o + .055) / 1.055) ** 2.4, .2126 * t + .7152 * n + .0722 * r;
|
|
30
|
+
}
|
|
31
|
+
getAlpha() {
|
|
32
|
+
return this.a;
|
|
33
|
+
}
|
|
34
|
+
setAlpha(e) {
|
|
35
|
+
return this.a = t(e), this.roundA = Math.round(100 * this.a) / 100, this;
|
|
36
|
+
}
|
|
37
|
+
isMonochrome() {
|
|
38
|
+
let { s: e } = this.toHsl();
|
|
39
|
+
return e === 0;
|
|
40
|
+
}
|
|
41
|
+
toHsv() {
|
|
42
|
+
let e = s(this.r, this.g, this.b);
|
|
43
|
+
return {
|
|
44
|
+
h: e.h * 360,
|
|
45
|
+
s: e.s,
|
|
46
|
+
v: e.v,
|
|
47
|
+
a: this.a
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
toHsv_() {
|
|
51
|
+
let e = s(this.r, this.g, this.b);
|
|
52
|
+
return {
|
|
53
|
+
h: e.h,
|
|
54
|
+
s: e.s,
|
|
55
|
+
v: e.v,
|
|
56
|
+
a: this.a
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
toHsvString() {
|
|
60
|
+
let e = s(this.r, this.g, this.b), t = Math.round(e.h * 360), n = Math.round(e.s * 100), r = Math.round(e.v * 100);
|
|
61
|
+
return this.a === 1 ? `hsv(${t}, ${n}%, ${r}%)` : `hsva(${t}, ${n}%, ${r}%, ${this.roundA})`;
|
|
62
|
+
}
|
|
63
|
+
toHsl() {
|
|
64
|
+
let e = o(this.r, this.g, this.b);
|
|
65
|
+
return {
|
|
66
|
+
h: e.h * 360,
|
|
67
|
+
s: e.s,
|
|
68
|
+
l: e.l,
|
|
69
|
+
a: this.a
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
toHslString() {
|
|
73
|
+
let e = o(this.r, this.g, this.b), t = Math.round(e.h * 360), n = Math.round(e.s * 100), r = Math.round(e.l * 100);
|
|
74
|
+
return this.a === 1 ? `hsl(${t}, ${n}%, ${r}%)` : `hsla(${t}, ${n}%, ${r}%, ${this.roundA})`;
|
|
75
|
+
}
|
|
76
|
+
toHex(e = !1) {
|
|
77
|
+
return a(this.r, this.g, this.b, e);
|
|
78
|
+
}
|
|
79
|
+
toHexString(e = !1) {
|
|
80
|
+
return `#${this.toHex(e)}`;
|
|
81
|
+
}
|
|
82
|
+
toHex8(e = !1) {
|
|
83
|
+
return c(this.r, this.g, this.b, this.a, e);
|
|
84
|
+
}
|
|
85
|
+
toHex8String(e = !1) {
|
|
86
|
+
return `#${this.toHex8(e)}`;
|
|
87
|
+
}
|
|
88
|
+
toHexShortString(e = !1) {
|
|
89
|
+
return this.a === 1 ? this.toHexString(e) : this.toHex8String(e);
|
|
90
|
+
}
|
|
91
|
+
toRgb() {
|
|
92
|
+
return {
|
|
93
|
+
r: Math.round(this.r),
|
|
94
|
+
g: Math.round(this.g),
|
|
95
|
+
b: Math.round(this.b),
|
|
96
|
+
a: this.a
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
toRgba() {
|
|
100
|
+
return this.toRgb();
|
|
101
|
+
}
|
|
102
|
+
toRgbArray() {
|
|
103
|
+
let e = this.toRgb();
|
|
104
|
+
return [
|
|
105
|
+
e.r,
|
|
106
|
+
e.g,
|
|
107
|
+
e.b
|
|
108
|
+
];
|
|
109
|
+
}
|
|
110
|
+
toRgbArrayString() {
|
|
111
|
+
let e = this.toRgb();
|
|
112
|
+
return `${e.r},${e.g},${e.b}`;
|
|
113
|
+
}
|
|
114
|
+
toRgbString() {
|
|
115
|
+
let e = Math.round(this.r), t = Math.round(this.g), n = Math.round(this.b);
|
|
116
|
+
return this.a === 1 ? `rgb(${e}, ${t}, ${n})` : `rgba(${e}, ${t}, ${n}, ${this.roundA})`;
|
|
117
|
+
}
|
|
118
|
+
toRgbaString() {
|
|
119
|
+
return `rgba(${Math.round(this.r)}, ${Math.round(this.g)}, ${Math.round(this.b)}, ${this.roundA})`;
|
|
120
|
+
}
|
|
121
|
+
toPercentageRgb() {
|
|
122
|
+
let t = (t) => `${Math.round(e(t, 255) * 100)}%`;
|
|
123
|
+
return {
|
|
124
|
+
r: t(this.r),
|
|
125
|
+
g: t(this.g),
|
|
126
|
+
b: t(this.b),
|
|
127
|
+
a: this.a
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
toPercentageRgbString() {
|
|
131
|
+
let t = (t) => Math.round(e(t, 255) * 100);
|
|
132
|
+
return this.a === 1 ? `rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)` : `rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`;
|
|
133
|
+
}
|
|
134
|
+
toCmyk() {
|
|
135
|
+
return { ...i(this.r, this.g, this.b) };
|
|
136
|
+
}
|
|
137
|
+
toCmykString() {
|
|
138
|
+
let { c: e, m: t, y: n, k: r } = i(this.r, this.g, this.b);
|
|
139
|
+
return `cmyk(${e}, ${t}, ${n}, ${r})`;
|
|
140
|
+
}
|
|
141
|
+
toName() {
|
|
142
|
+
if (this.a === 0) return "transparent";
|
|
143
|
+
if (this.a < 1) return !1;
|
|
144
|
+
let e = `#${a(this.r, this.g, this.b, !1)}`;
|
|
145
|
+
for (let [t, n] of Object.entries(l)) if (e === n) return t;
|
|
146
|
+
return !1;
|
|
147
|
+
}
|
|
148
|
+
toString(e) {
|
|
149
|
+
let t = !!e;
|
|
150
|
+
e ??= this.format;
|
|
151
|
+
let n = !1, r = this.a < 1 && this.a >= 0;
|
|
152
|
+
return !t && r && (e.startsWith("hex") || e === "name") ? e === "name" && this.a === 0 ? this.toName() : this.toRgbString() : (e === "rgb" && (n = this.toRgbString()), e === "prgb" && (n = this.toPercentageRgbString()), (e === "hex" || e === "hex6") && (n = this.toHexString()), e === "hex3" && (n = this.toHexString(!0)), e === "hex4" && (n = this.toHex8String(!0)), e === "hex8" && (n = this.toHex8String()), e === "name" && (n = this.toName()), e === "hsl" && (n = this.toHslString()), e === "hsv" && (n = this.toHsvString()), e === "cmyk" && (n = this.toCmykString()), n || this.toHexString());
|
|
153
|
+
}
|
|
154
|
+
toNumber() {
|
|
155
|
+
return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
|
|
156
|
+
}
|
|
157
|
+
clone() {
|
|
158
|
+
return new d(this.toString());
|
|
159
|
+
}
|
|
160
|
+
lighten(e = 10) {
|
|
161
|
+
let t = this.toHsl();
|
|
162
|
+
return t.l += e / 100, t.l = n(t.l), new d(t);
|
|
163
|
+
}
|
|
164
|
+
brighten(e = 10) {
|
|
165
|
+
let t = this.toRgb();
|
|
166
|
+
return t.r = Math.max(0, Math.min(255, t.r - Math.round(255 * -(e / 100)))), t.g = Math.max(0, Math.min(255, t.g - Math.round(255 * -(e / 100)))), t.b = Math.max(0, Math.min(255, t.b - Math.round(255 * -(e / 100)))), new d(t);
|
|
167
|
+
}
|
|
168
|
+
darken(e = 10) {
|
|
169
|
+
let t = this.toHsl();
|
|
170
|
+
return t.l -= e / 100, t.l = n(t.l), new d(t);
|
|
171
|
+
}
|
|
172
|
+
tint(e = 10) {
|
|
173
|
+
return this.mix("white", e);
|
|
174
|
+
}
|
|
175
|
+
shade(e = 10) {
|
|
176
|
+
return this.mix("black", e);
|
|
177
|
+
}
|
|
178
|
+
desaturate(e = 10) {
|
|
179
|
+
let t = this.toHsl();
|
|
180
|
+
return t.s -= e / 100, t.s = n(t.s), new d(t);
|
|
181
|
+
}
|
|
182
|
+
saturate(e = 10) {
|
|
183
|
+
let t = this.toHsl();
|
|
184
|
+
return t.s += e / 100, t.s = n(t.s), new d(t);
|
|
185
|
+
}
|
|
186
|
+
greyscale() {
|
|
187
|
+
return this.desaturate(100);
|
|
188
|
+
}
|
|
189
|
+
spin(e) {
|
|
190
|
+
let t = this.toHsl(), n = (t.h + e) % 360;
|
|
191
|
+
return t.h = n < 0 ? 360 + n : n, new d(t);
|
|
192
|
+
}
|
|
193
|
+
mix(e, t = 50) {
|
|
194
|
+
let n = this.toRgb(), r = new d(e).toRgb(), i = t / 100;
|
|
195
|
+
return new d({
|
|
196
|
+
r: (r.r - n.r) * i + n.r,
|
|
197
|
+
g: (r.g - n.g) * i + n.g,
|
|
198
|
+
b: (r.b - n.b) * i + n.b,
|
|
199
|
+
a: (r.a - n.a) * i + n.a
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
analogous(e = 6, t = 30) {
|
|
203
|
+
let n = this.toHsl(), r = 360 / t, i = [this];
|
|
204
|
+
for (n.h = (n.h - (r * e >> 1) + 720) % 360; --e;) n.h = (n.h + r) % 360, i.push(new d(n));
|
|
205
|
+
return i;
|
|
206
|
+
}
|
|
207
|
+
complement() {
|
|
208
|
+
let e = this.toHsl();
|
|
209
|
+
return e.h = (e.h + 180) % 360, new d(e);
|
|
210
|
+
}
|
|
211
|
+
monochromatic(e = 6) {
|
|
212
|
+
let t = this.toHsv(), { h: n } = t, { s: r } = t, { v: i } = t, a = [], o = 1 / e;
|
|
213
|
+
for (; e--;) a.push(new d({
|
|
214
|
+
h: n,
|
|
215
|
+
s: r,
|
|
216
|
+
v: i
|
|
217
|
+
})), i = (i + o) % 1;
|
|
218
|
+
return a;
|
|
219
|
+
}
|
|
220
|
+
splitcomplement() {
|
|
221
|
+
let e = this.toHsl(), { h: t } = e;
|
|
222
|
+
return [
|
|
223
|
+
this,
|
|
224
|
+
new d({
|
|
225
|
+
h: (t + 72) % 360,
|
|
226
|
+
s: e.s,
|
|
227
|
+
l: e.l
|
|
228
|
+
}),
|
|
229
|
+
new d({
|
|
230
|
+
h: (t + 216) % 360,
|
|
231
|
+
s: e.s,
|
|
232
|
+
l: e.l
|
|
233
|
+
})
|
|
234
|
+
];
|
|
235
|
+
}
|
|
236
|
+
onBackground(e) {
|
|
237
|
+
let t = this.toRgb(), n = new d(e).toRgb(), r = t.a + n.a * (1 - t.a);
|
|
238
|
+
return new d({
|
|
239
|
+
r: (t.r * t.a + n.r * n.a * (1 - t.a)) / r,
|
|
240
|
+
g: (t.g * t.a + n.g * n.a * (1 - t.a)) / r,
|
|
241
|
+
b: (t.b * t.a + n.b * n.a * (1 - t.a)) / r,
|
|
242
|
+
a: r
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
triad() {
|
|
246
|
+
return this.polyad(3);
|
|
247
|
+
}
|
|
248
|
+
tetrad() {
|
|
249
|
+
return this.polyad(4);
|
|
250
|
+
}
|
|
251
|
+
polyad(e) {
|
|
252
|
+
let t = this.toHsl(), { h: n } = t, r = [this], i = 360 / e;
|
|
253
|
+
for (let a = 1; a < e; a++) r.push(new d({
|
|
254
|
+
h: (n + a * i) % 360,
|
|
255
|
+
s: t.s,
|
|
256
|
+
l: t.l
|
|
257
|
+
}));
|
|
258
|
+
return r;
|
|
259
|
+
}
|
|
260
|
+
equals(e) {
|
|
261
|
+
let t = new d(e);
|
|
262
|
+
return this.format === "cmyk" || t.format === "cmyk" ? this.toCmykString() === t.toCmykString() : this.toRgbString() === t.toRgbString();
|
|
263
|
+
}
|
|
388
264
|
};
|
|
265
|
+
//#endregion
|
|
266
|
+
export { d as TinyColor };
|
|
267
|
+
/* 独立思考,明辨是非 */
|