@dxyl/utils 1.3.2 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +6590 -6259
- package/dist/index.umd.js +20 -71
- package/lib/glslang/glslang.d.ts +14 -14
- package/lib/glslang/glslang.js +112 -112
- package/lib/twgsl/twgsl.js +53 -53
- package/package.json +51 -51
- package/types/color/blend/helpers.d.ts +32 -0
- package/types/color/blend/index.d.ts +129 -0
- package/types/color/blend/non-separable-blend.d.ts +9 -0
- package/types/color/blend/non-separable-modes.d.ts +33 -0
- package/types/color/blend/separable-blend.d.ts +9 -0
- package/types/color/blend/separable-modes.d.ts +100 -0
- package/types/color/blend/types.d.ts +38 -0
- package/types/color/blend/unit.d.ts +129 -0
- package/types/color/composite/composite-core.d.ts +34 -0
- package/types/color/composite/composite-types.d.ts +10 -0
- package/types/color/composite/image-data-compositor.d.ts +5 -0
- package/types/color/composite/webgl-compositor.d.ts +10 -0
- package/types/color/composite/webgpu-compositor.d.ts +10 -0
- package/types/data/immer.d.ts +262 -262
- package/types/data/immutable.d.ts +5127 -5127
- package/types/data/mobx.d.ts +2 -2
- package/types/events/event_emiter.d.ts +43 -43
- package/types/fast-deep-equal.d.ts +1 -1
- package/types/index.d.ts +3 -0
- package/types/lodash/add.d.ts +1 -2
- package/types/lodash/after.d.ts +1 -2
- package/types/lodash/array.d.ts +1 -3
- package/types/lodash/array.default.d.ts +68 -70
- package/types/lodash/ary.d.ts +1 -2
- package/types/lodash/assign.d.ts +1 -2
- package/types/lodash/assignIn.d.ts +1 -2
- package/types/lodash/assignInWith.d.ts +1 -2
- package/types/lodash/assignWith.d.ts +1 -2
- package/types/lodash/at.d.ts +1 -2
- package/types/lodash/attempt.d.ts +1 -2
- package/types/lodash/augment.d.ts +2 -2
- package/types/lodash/before.d.ts +1 -2
- package/types/lodash/bind.d.ts +1 -2
- package/types/lodash/bindAll.d.ts +1 -2
- package/types/lodash/bindKey.d.ts +1 -2
- package/types/lodash/cache.d.ts +14 -14
- package/types/lodash/camelCase.d.ts +1 -2
- package/types/lodash/capitalize.d.ts +1 -2
- package/types/lodash/castArray.d.ts +1 -2
- package/types/lodash/ceil.d.ts +1 -2
- package/types/lodash/chain.d.ts +1 -2
- package/types/lodash/chunk.d.ts +1 -2
- package/types/lodash/clamp.d.ts +1 -2
- package/types/lodash/clear-animation-frame.d.ts +1 -1
- package/types/lodash/clone.d.ts +1 -2
- package/types/lodash/cloneDeep.d.ts +1 -2
- package/types/lodash/cloneDeepWith.d.ts +1 -2
- package/types/lodash/cloneWith.d.ts +1 -2
- package/types/lodash/collection.d.ts +1 -3
- package/types/lodash/collection.default.d.ts +31 -33
- package/types/lodash/compact.d.ts +1 -2
- package/types/lodash/concat.d.ts +1 -2
- package/types/lodash/cond.d.ts +1 -2
- package/types/lodash/conforms.d.ts +1 -2
- package/types/lodash/conformsTo.d.ts +1 -2
- package/types/lodash/constant.d.ts +1 -2
- package/types/lodash/contains.d.ts +2 -2
- package/types/lodash/countBy.d.ts +1 -2
- package/types/lodash/create.d.ts +1 -2
- package/types/lodash/curry.d.ts +1 -2
- package/types/lodash/curryRight.d.ts +1 -2
- package/types/lodash/date.d.ts +1 -3
- package/types/lodash/date.default.d.ts +4 -6
- package/types/lodash/debounce.d.ts +2 -4
- package/types/lodash/deburr.d.ts +1 -2
- package/types/lodash/deep-mix.d.ts +2 -2
- package/types/lodash/defaultTo.d.ts +1 -2
- package/types/lodash/defaults.d.ts +1 -2
- package/types/lodash/defaultsDeep.d.ts +1 -2
- package/types/lodash/defer.d.ts +1 -2
- package/types/lodash/delay.d.ts +1 -2
- package/types/lodash/difference.d.ts +1 -2
- package/types/lodash/differenceBy.d.ts +1 -2
- package/types/lodash/differenceWith.d.ts +1 -2
- package/types/lodash/divide.d.ts +1 -2
- package/types/lodash/drop.d.ts +1 -2
- package/types/lodash/dropRight.d.ts +1 -2
- package/types/lodash/dropRightWhile.d.ts +1 -2
- package/types/lodash/dropWhile.d.ts +1 -2
- package/types/lodash/each.d.ts +1 -2
- package/types/lodash/eachRight.d.ts +1 -2
- package/types/lodash/ends-with.d.ts +3 -3
- package/types/lodash/endsWith.d.ts +1 -2
- package/types/lodash/entries.d.ts +1 -2
- package/types/lodash/entriesIn.d.ts +1 -2
- package/types/lodash/eq.d.ts +1 -2
- package/types/lodash/escape.d.ts +1 -2
- package/types/lodash/escapeRegExp.d.ts +1 -2
- package/types/lodash/every.d.ts +1 -2
- package/types/lodash/extend.d.ts +1 -2
- package/types/lodash/extendWith.d.ts +1 -2
- package/types/lodash/fill.d.ts +1 -2
- package/types/lodash/filter.d.ts +1 -2
- package/types/lodash/find-index.d.ts +2 -2
- package/types/lodash/find.d.ts +1 -2
- package/types/lodash/findIndex.d.ts +1 -2
- package/types/lodash/findKey.d.ts +1 -2
- package/types/lodash/findLast.d.ts +1 -2
- package/types/lodash/findLastIndex.d.ts +1 -2
- package/types/lodash/findLastKey.d.ts +1 -2
- package/types/lodash/first-value.d.ts +2 -2
- package/types/lodash/first.d.ts +1 -2
- package/types/lodash/fixed-base.d.ts +2 -2
- package/types/lodash/flatMap.d.ts +1 -2
- package/types/lodash/flatMapDeep.d.ts +1 -2
- package/types/lodash/flatMapDepth.d.ts +1 -2
- package/types/lodash/flatten-deep.d.ts +12 -12
- package/types/lodash/flatten.d.ts +1 -2
- package/types/lodash/flattenDeep.d.ts +1 -2
- package/types/lodash/flattenDepth.d.ts +1 -2
- package/types/lodash/flip.d.ts +1 -2
- package/types/lodash/floor.d.ts +1 -2
- package/types/lodash/flow.d.ts +1 -2
- package/types/lodash/flowRight.d.ts +1 -2
- package/types/lodash/for-in.d.ts +2 -2
- package/types/lodash/forEach.d.ts +1 -2
- package/types/lodash/forEachRight.d.ts +1 -2
- package/types/lodash/forIn.d.ts +1 -2
- package/types/lodash/forInRight.d.ts +1 -2
- package/types/lodash/forOwn.d.ts +1 -2
- package/types/lodash/forOwnRight.d.ts +1 -2
- package/types/lodash/fromPairs.d.ts +1 -2
- package/types/lodash/function.d.ts +1 -3
- package/types/lodash/function.default.d.ts +26 -28
- package/types/lodash/functions.d.ts +1 -2
- package/types/lodash/functionsIn.d.ts +1 -2
- package/types/lodash/get-range.d.ts +6 -6
- package/types/lodash/get-type.d.ts +2 -2
- package/types/lodash/get-wrap-behavior.d.ts +9 -9
- package/types/lodash/get.d.ts +1 -2
- package/types/lodash/group-by.d.ts +6 -6
- package/types/lodash/group-to-map.d.ts +8 -8
- package/types/lodash/group.d.ts +2 -2
- package/types/lodash/groupBy.d.ts +1 -2
- package/types/lodash/gt.d.ts +1 -2
- package/types/lodash/gte.d.ts +1 -2
- package/types/lodash/has-key.d.ts +2 -2
- package/types/lodash/has-value.d.ts +2 -2
- package/types/lodash/has.d.ts +1 -2
- package/types/lodash/hasIn.d.ts +1 -2
- package/types/lodash/head.d.ts +1 -2
- package/types/lodash/identity.d.ts +1 -2
- package/types/lodash/inRange.d.ts +1 -2
- package/types/lodash/includes.d.ts +1 -2
- package/types/lodash/index-of.d.ts +2 -2
- package/types/lodash/index.d.ts +304 -304
- package/types/lodash/indexOf.d.ts +1 -2
- package/types/lodash/initial.d.ts +1 -2
- package/types/lodash/intersection.d.ts +1 -2
- package/types/lodash/intersectionBy.d.ts +1 -2
- package/types/lodash/intersectionWith.d.ts +1 -2
- package/types/lodash/invert.d.ts +1 -2
- package/types/lodash/invertBy.d.ts +1 -2
- package/types/lodash/invoke.d.ts +1 -2
- package/types/lodash/invokeMap.d.ts +1 -2
- package/types/lodash/is-arguments.d.ts +2 -2
- package/types/lodash/is-array-like.d.ts +2 -2
- package/types/lodash/is-array.d.ts +2 -2
- package/types/lodash/is-boolean.d.ts +2 -2
- package/types/lodash/is-date.d.ts +2 -2
- package/types/lodash/is-decimal.d.ts +2 -2
- package/types/lodash/is-element.d.ts +6 -6
- package/types/lodash/is-empty.d.ts +2 -2
- package/types/lodash/is-equal-with.d.ts +24 -24
- package/types/lodash/is-equal.d.ts +2 -2
- package/types/lodash/is-error.d.ts +2 -2
- package/types/lodash/is-even.d.ts +2 -2
- package/types/lodash/is-finite.d.ts +1 -1
- package/types/lodash/is-function.d.ts +2 -2
- package/types/lodash/is-integer.d.ts +2 -2
- package/types/lodash/is-match.d.ts +2 -2
- package/types/lodash/is-negative.d.ts +2 -2
- package/types/lodash/is-nil.d.ts +2 -2
- package/types/lodash/is-null.d.ts +2 -2
- package/types/lodash/is-number-equal.d.ts +1 -1
- package/types/lodash/is-number.d.ts +2 -2
- package/types/lodash/is-object-like.d.ts +2 -2
- package/types/lodash/is-object.d.ts +2 -2
- package/types/lodash/is-odd.d.ts +2 -2
- package/types/lodash/is-plain-object.d.ts +2 -2
- package/types/lodash/is-positive.d.ts +2 -2
- package/types/lodash/is-prototype.d.ts +2 -2
- package/types/lodash/is-reg-exp.d.ts +2 -2
- package/types/lodash/is-segment-equal.d.ts +2 -2
- package/types/lodash/is-string.d.ts +2 -2
- package/types/lodash/is-type.d.ts +2 -2
- package/types/lodash/is-undefined.d.ts +2 -2
- package/types/lodash/isArguments.d.ts +1 -2
- package/types/lodash/isArray.d.ts +1 -2
- package/types/lodash/isArrayBuffer.d.ts +1 -2
- package/types/lodash/isArrayLike.d.ts +1 -2
- package/types/lodash/isArrayLikeObject.d.ts +1 -2
- package/types/lodash/isBoolean.d.ts +1 -2
- package/types/lodash/isBuffer.d.ts +1 -2
- package/types/lodash/isDate.d.ts +1 -2
- package/types/lodash/isElement.d.ts +1 -2
- package/types/lodash/isEmpty.d.ts +1 -2
- package/types/lodash/isEqual.d.ts +1 -2
- package/types/lodash/isEqualWith.d.ts +1 -2
- package/types/lodash/isError.d.ts +1 -2
- package/types/lodash/isFinite.d.ts +1 -2
- package/types/lodash/isFunction.d.ts +1 -2
- package/types/lodash/isInteger.d.ts +1 -2
- package/types/lodash/isLength.d.ts +1 -2
- package/types/lodash/isMap.d.ts +1 -2
- package/types/lodash/isMatch.d.ts +1 -2
- package/types/lodash/isMatchWith.d.ts +1 -2
- package/types/lodash/isNaN.d.ts +1 -2
- package/types/lodash/isNative.d.ts +1 -2
- package/types/lodash/isNil.d.ts +1 -2
- package/types/lodash/isNull.d.ts +1 -2
- package/types/lodash/isNumber.d.ts +1 -2
- package/types/lodash/isObject.d.ts +1 -2
- package/types/lodash/isObjectLike.d.ts +1 -2
- package/types/lodash/isPlainObject.d.ts +1 -2
- package/types/lodash/isRegExp.d.ts +1 -2
- package/types/lodash/isSafeInteger.d.ts +1 -2
- package/types/lodash/isSet.d.ts +1 -2
- package/types/lodash/isString.d.ts +1 -2
- package/types/lodash/isSymbol.d.ts +1 -2
- package/types/lodash/isTypedArray.d.ts +1 -2
- package/types/lodash/isUndefined.d.ts +1 -2
- package/types/lodash/isWeakMap.d.ts +1 -2
- package/types/lodash/isWeakSet.d.ts +1 -2
- package/types/lodash/iteratee.d.ts +1 -2
- package/types/lodash/join.d.ts +1 -2
- package/types/lodash/kebabCase.d.ts +1 -2
- package/types/lodash/keyBy.d.ts +1 -2
- package/types/lodash/keys.d.ts +1 -2
- package/types/lodash/keysIn.d.ts +1 -2
- package/types/lodash/lang.d.ts +1 -3
- package/types/lodash/lang.default.d.ts +59 -61
- package/types/lodash/last.d.ts +1 -2
- package/types/lodash/lastIndexOf.d.ts +1 -2
- package/types/lodash/lower-case.d.ts +2 -2
- package/types/lodash/lower-first.d.ts +2 -2
- package/types/lodash/lowerCase.d.ts +1 -2
- package/types/lodash/lowerFirst.d.ts +1 -2
- package/types/lodash/lt.d.ts +1 -2
- package/types/lodash/lte.d.ts +1 -2
- package/types/lodash/map-values.d.ts +6 -6
- package/types/lodash/map.d.ts +1 -2
- package/types/lodash/mapKeys.d.ts +1 -2
- package/types/lodash/mapValues.d.ts +1 -2
- package/types/lodash/matches.d.ts +1 -2
- package/types/lodash/matchesProperty.d.ts +1 -2
- package/types/lodash/math.d.ts +1 -3
- package/types/lodash/math.default.d.ts +18 -20
- package/types/lodash/max-by.d.ts +16 -16
- package/types/lodash/max.d.ts +1 -2
- package/types/lodash/maxBy.d.ts +1 -2
- package/types/lodash/mean.d.ts +1 -2
- package/types/lodash/meanBy.d.ts +1 -2
- package/types/lodash/memoize.d.ts +1 -2
- package/types/lodash/merge.d.ts +1 -2
- package/types/lodash/mergeWith.d.ts +1 -2
- package/types/lodash/method.d.ts +1 -2
- package/types/lodash/methodOf.d.ts +1 -2
- package/types/lodash/min-by.d.ts +16 -16
- package/types/lodash/min.d.ts +1 -2
- package/types/lodash/minBy.d.ts +1 -2
- package/types/lodash/mix.d.ts +1 -1
- package/types/lodash/mixin.d.ts +1 -2
- package/types/lodash/mod.d.ts +2 -2
- package/types/lodash/multiply.d.ts +1 -2
- package/types/lodash/negate.d.ts +1 -2
- package/types/lodash/noop.d.ts +1 -2
- package/types/lodash/now.d.ts +1 -2
- package/types/lodash/nth.d.ts +1 -2
- package/types/lodash/nthArg.d.ts +1 -2
- package/types/lodash/number.d.ts +1 -3
- package/types/lodash/number.default.d.ts +6 -8
- package/types/lodash/number2color.d.ts +2 -2
- package/types/lodash/object.d.ts +1 -3
- package/types/lodash/object.default.d.ts +50 -52
- package/types/lodash/omit.d.ts +1 -2
- package/types/lodash/omitBy.d.ts +1 -2
- package/types/lodash/once.d.ts +1 -2
- package/types/lodash/orderBy.d.ts +1 -2
- package/types/lodash/over.d.ts +1 -2
- package/types/lodash/overArgs.d.ts +1 -2
- package/types/lodash/overEvery.d.ts +1 -2
- package/types/lodash/overSome.d.ts +1 -2
- package/types/lodash/pad.d.ts +1 -2
- package/types/lodash/padEnd.d.ts +1 -2
- package/types/lodash/padStart.d.ts +1 -2
- package/types/lodash/parse-radius.d.ts +9 -9
- package/types/lodash/parseInt.d.ts +1 -2
- package/types/lodash/partial.d.ts +1 -2
- package/types/lodash/partialRight.d.ts +1 -2
- package/types/lodash/partition.d.ts +1 -2
- package/types/lodash/pick.d.ts +1 -2
- package/types/lodash/pickBy.d.ts +1 -2
- package/types/lodash/property.d.ts +2 -4
- package/types/lodash/propertyOf.d.ts +1 -2
- package/types/lodash/pull-at.d.ts +2 -2
- package/types/lodash/pull.d.ts +1 -2
- package/types/lodash/pullAll.d.ts +1 -2
- package/types/lodash/pullAllBy.d.ts +1 -2
- package/types/lodash/pullAllWith.d.ts +1 -2
- package/types/lodash/pullAt.d.ts +1 -2
- package/types/lodash/random.d.ts +1 -2
- package/types/lodash/range.d.ts +1 -2
- package/types/lodash/rangeRight.d.ts +1 -2
- package/types/lodash/rearg.d.ts +1 -2
- package/types/lodash/reduce.d.ts +1 -2
- package/types/lodash/reduceRight.d.ts +1 -2
- package/types/lodash/reject.d.ts +1 -2
- package/types/lodash/remove.d.ts +1 -2
- package/types/lodash/repeat.d.ts +1 -2
- package/types/lodash/replace.d.ts +1 -2
- package/types/lodash/request-animation-frame.d.ts +1 -1
- package/types/lodash/rest.d.ts +1 -2
- package/types/lodash/result.d.ts +1 -2
- package/types/lodash/reverse.d.ts +1 -2
- package/types/lodash/round.d.ts +1 -2
- package/types/lodash/sample.d.ts +1 -2
- package/types/lodash/sampleSize.d.ts +1 -2
- package/types/lodash/set.d.ts +1 -2
- package/types/lodash/setWith.d.ts +1 -2
- package/types/lodash/shuffle.d.ts +1 -2
- package/types/lodash/size.d.ts +1 -2
- package/types/lodash/slice.d.ts +1 -2
- package/types/lodash/snakeCase.d.ts +1 -2
- package/types/lodash/some.d.ts +1 -2
- package/types/lodash/sort-by.d.ts +7 -7
- package/types/lodash/sortBy.d.ts +1 -2
- package/types/lodash/sortedIndex.d.ts +1 -2
- package/types/lodash/sortedIndexBy.d.ts +1 -2
- package/types/lodash/sortedIndexOf.d.ts +1 -2
- package/types/lodash/sortedLastIndex.d.ts +1 -2
- package/types/lodash/sortedLastIndexBy.d.ts +1 -2
- package/types/lodash/sortedLastIndexOf.d.ts +1 -2
- package/types/lodash/sortedUniq.d.ts +1 -2
- package/types/lodash/sortedUniqBy.d.ts +1 -2
- package/types/lodash/split.d.ts +1 -2
- package/types/lodash/spread.d.ts +1 -2
- package/types/lodash/startCase.d.ts +1 -2
- package/types/lodash/starts-with.d.ts +3 -3
- package/types/lodash/startsWith.d.ts +1 -2
- package/types/lodash/string.d.ts +1 -3
- package/types/lodash/string.default.d.ts +34 -36
- package/types/lodash/stubArray.d.ts +1 -2
- package/types/lodash/stubFalse.d.ts +1 -2
- package/types/lodash/stubObject.d.ts +1 -2
- package/types/lodash/stubString.d.ts +1 -2
- package/types/lodash/stubTrue.d.ts +1 -2
- package/types/lodash/substitute.d.ts +5 -5
- package/types/lodash/subtract.d.ts +1 -2
- package/types/lodash/sum.d.ts +1 -2
- package/types/lodash/sumBy.d.ts +1 -2
- package/types/lodash/tail.d.ts +1 -2
- package/types/lodash/take.d.ts +1 -2
- package/types/lodash/takeRight.d.ts +1 -2
- package/types/lodash/takeRightWhile.d.ts +1 -2
- package/types/lodash/takeWhile.d.ts +1 -2
- package/types/lodash/tap.d.ts +1 -2
- package/types/lodash/template.d.ts +1 -2
- package/types/lodash/templateSettings.d.ts +1 -2
- package/types/lodash/throttle.d.ts +2 -4
- package/types/lodash/thru.d.ts +1 -2
- package/types/lodash/times.d.ts +1 -2
- package/types/lodash/to-array.d.ts +2 -2
- package/types/lodash/to-degree.d.ts +2 -2
- package/types/lodash/to-integer.d.ts +1 -1
- package/types/lodash/to-radian.d.ts +2 -2
- package/types/lodash/to-string.d.ts +2 -2
- package/types/lodash/toArray.d.ts +1 -2
- package/types/lodash/toFinite.d.ts +1 -2
- package/types/lodash/toInteger.d.ts +1 -2
- package/types/lodash/toLength.d.ts +1 -2
- package/types/lodash/toLower.d.ts +1 -2
- package/types/lodash/toNumber.d.ts +1 -2
- package/types/lodash/toPairs.d.ts +1 -2
- package/types/lodash/toPairsIn.d.ts +1 -2
- package/types/lodash/toPath.d.ts +1 -2
- package/types/lodash/toPlainObject.d.ts +1 -2
- package/types/lodash/toSafeInteger.d.ts +1 -2
- package/types/lodash/toString.d.ts +1 -2
- package/types/lodash/toUpper.d.ts +1 -2
- package/types/lodash/transform.d.ts +1 -2
- package/types/lodash/trim.d.ts +1 -2
- package/types/lodash/trimEnd.d.ts +1 -2
- package/types/lodash/trimStart.d.ts +1 -2
- package/types/lodash/truncate.d.ts +1 -2
- package/types/lodash/types/index.d.ts +3 -3
- package/types/lodash/unary.d.ts +1 -2
- package/types/lodash/unescape.d.ts +1 -2
- package/types/lodash/union.d.ts +1 -2
- package/types/lodash/unionBy.d.ts +1 -2
- package/types/lodash/unionWith.d.ts +1 -2
- package/types/lodash/uniq.d.ts +1 -2
- package/types/lodash/uniqBy.d.ts +1 -2
- package/types/lodash/uniqWith.d.ts +1 -2
- package/types/lodash/unique-id.d.ts +2 -2
- package/types/lodash/uniqueId.d.ts +1 -2
- package/types/lodash/unset.d.ts +1 -2
- package/types/lodash/unzip.d.ts +1 -2
- package/types/lodash/unzipWith.d.ts +1 -2
- package/types/lodash/update.d.ts +1 -2
- package/types/lodash/updateWith.d.ts +1 -2
- package/types/lodash/upper-case.d.ts +2 -2
- package/types/lodash/upper-first.d.ts +2 -2
- package/types/lodash/upperCase.d.ts +1 -2
- package/types/lodash/upperFirst.d.ts +1 -2
- package/types/lodash/util.d.ts +1 -3
- package/types/lodash/util.default.d.ts +35 -37
- package/types/lodash/values-of-key.d.ts +2 -2
- package/types/lodash/values.d.ts +1 -2
- package/types/lodash/valuesIn.d.ts +1 -2
- package/types/lodash/without.d.ts +1 -2
- package/types/lodash/words.d.ts +1 -2
- package/types/lodash/wrap-behavior.d.ts +9 -9
- package/types/lodash/wrap.d.ts +1 -2
- package/types/lodash/xor.d.ts +1 -2
- package/types/lodash/xorBy.d.ts +1 -2
- package/types/lodash/xorWith.d.ts +1 -2
- package/types/lodash/zip.d.ts +1 -2
- package/types/lodash/zipObject.d.ts +1 -2
- package/types/lodash/zipObjectDeep.d.ts +1 -2
- package/types/lodash/zipWith.d.ts +1 -2
- package/types/scheduler.d.ts +46 -0
- package/types/state/StateMachine.d.ts +149 -0
- package/types/state/StateMachinePlus.d.ts +40 -0
- package/types/stats.module.d.ts +3 -3
- package/types/utils/token.d.ts +1 -0
package/types/lodash/deburr.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const deepMix: (rst: any, ...args: any[]) => any;
|
|
2
|
-
export default deepMix;
|
|
1
|
+
declare const deepMix: (rst: any, ...args: any[]) => any;
|
|
2
|
+
export default deepMix;
|
package/types/lodash/defer.d.ts
CHANGED
package/types/lodash/delay.d.ts
CHANGED
package/types/lodash/divide.d.ts
CHANGED
package/types/lodash/drop.d.ts
CHANGED
package/types/lodash/each.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function endsWith(arr: string, e: string): boolean;
|
|
2
|
-
declare function endsWith<T>(arr: T[], e: T): boolean;
|
|
3
|
-
export default endsWith;
|
|
1
|
+
declare function endsWith(arr: string, e: string): boolean;
|
|
2
|
+
declare function endsWith<T>(arr: T[], e: T): boolean;
|
|
3
|
+
export default endsWith;
|
package/types/lodash/eq.d.ts
CHANGED
package/types/lodash/escape.d.ts
CHANGED
package/types/lodash/every.d.ts
CHANGED
package/types/lodash/extend.d.ts
CHANGED
package/types/lodash/fill.d.ts
CHANGED
package/types/lodash/filter.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function findIndex<T>(arr: T[], predicate: (item: T, idx?: number) => boolean, fromIndex?: number): number;
|
|
2
|
-
export default findIndex;
|
|
1
|
+
declare function findIndex<T>(arr: T[], predicate: (item: T, idx?: number) => boolean, fromIndex?: number): number;
|
|
2
|
+
export default findIndex;
|
package/types/lodash/find.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const firstValue: (data: object[], name: string) => any;
|
|
2
|
-
export default firstValue;
|
|
1
|
+
declare const firstValue: (data: object[], name: string) => any;
|
|
2
|
+
export default firstValue;
|
package/types/lodash/first.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const fixedBase: (v: number, base: number | string) => number;
|
|
2
|
-
export default fixedBase;
|
|
1
|
+
declare const fixedBase: (v: number, base: number | string) => number;
|
|
2
|
+
export default fixedBase;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flattens `array` a single level deep.
|
|
3
|
-
*
|
|
4
|
-
* @param {Array} arr The array to flatten.
|
|
5
|
-
* @param {Array} result The array to return.
|
|
6
|
-
* @return {Array} Returns the new flattened array.
|
|
7
|
-
* @example
|
|
8
|
-
*
|
|
9
|
-
* flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]
|
|
10
|
-
*/
|
|
11
|
-
declare const flattenDeep: (arr: any[], result?: any[]) => any[];
|
|
12
|
-
export default flattenDeep;
|
|
1
|
+
/**
|
|
2
|
+
* Flattens `array` a single level deep.
|
|
3
|
+
*
|
|
4
|
+
* @param {Array} arr The array to flatten.
|
|
5
|
+
* @param {Array} result The array to return.
|
|
6
|
+
* @return {Array} Returns the new flattened array.
|
|
7
|
+
* @example
|
|
8
|
+
*
|
|
9
|
+
* flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]
|
|
10
|
+
*/
|
|
11
|
+
declare const flattenDeep: (arr: any[], result?: any[]) => any[];
|
|
12
|
+
export default flattenDeep;
|
package/types/lodash/flip.d.ts
CHANGED
package/types/lodash/floor.d.ts
CHANGED
package/types/lodash/flow.d.ts
CHANGED
package/types/lodash/for-in.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { default as each } from './each';
|
|
2
|
-
export default each;
|
|
1
|
+
import { default as each } from './each';
|
|
2
|
+
export default each;
|
package/types/lodash/forIn.d.ts
CHANGED
package/types/lodash/forOwn.d.ts
CHANGED
|
@@ -21,6 +21,4 @@ import { default as spread } from './spread';
|
|
|
21
21
|
import { default as throttle } from './throttle';
|
|
22
22
|
import { default as unary } from './unary';
|
|
23
23
|
import { default as wrap } from './wrap';
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export { default } from './function.default';
|
|
24
|
+
export { default } from './function.default';
|
|
@@ -21,31 +21,29 @@ import { default as spread } from './spread';
|
|
|
21
21
|
import { default as throttle } from './throttle';
|
|
22
22
|
import { default as unary } from './unary';
|
|
23
23
|
import { default as wrap } from './wrap';
|
|
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
|
-
export default defaultExport;
|
|
24
|
+
declare const defaultExport: {
|
|
25
|
+
after: typeof after;
|
|
26
|
+
ary: typeof ary;
|
|
27
|
+
before: typeof before;
|
|
28
|
+
bind: typeof bind;
|
|
29
|
+
bindKey: typeof bindKey;
|
|
30
|
+
curry: typeof curry;
|
|
31
|
+
curryRight: typeof curryRight;
|
|
32
|
+
debounce: typeof debounce;
|
|
33
|
+
defer: typeof defer;
|
|
34
|
+
delay: typeof delay;
|
|
35
|
+
flip: typeof flip;
|
|
36
|
+
memoize: typeof memoize;
|
|
37
|
+
negate: typeof negate;
|
|
38
|
+
once: typeof once;
|
|
39
|
+
overArgs: typeof overArgs;
|
|
40
|
+
partial: typeof partial;
|
|
41
|
+
partialRight: typeof partialRight;
|
|
42
|
+
rearg: typeof rearg;
|
|
43
|
+
rest: typeof rest;
|
|
44
|
+
spread: typeof spread;
|
|
45
|
+
throttle: typeof throttle;
|
|
46
|
+
unary: typeof unary;
|
|
47
|
+
wrap: typeof wrap;
|
|
48
|
+
};
|
|
49
|
+
export default defaultExport;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface RangeType {
|
|
2
|
-
readonly min: number;
|
|
3
|
-
readonly max: number;
|
|
4
|
-
}
|
|
5
|
-
declare const getRange: (values: number[]) => RangeType;
|
|
6
|
-
export default getRange;
|
|
1
|
+
export interface RangeType {
|
|
2
|
+
readonly min: number;
|
|
3
|
+
readonly max: number;
|
|
4
|
+
}
|
|
5
|
+
declare const getRange: (values: number[]) => RangeType;
|
|
6
|
+
export default getRange;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getType: (value: any) => string;
|
|
2
|
-
export default getType;
|
|
1
|
+
declare const getType: (value: any) => string;
|
|
2
|
+
export default getType;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取封装的事件
|
|
3
|
-
* @protected
|
|
4
|
-
* @param {Object} obj 对象
|
|
5
|
-
* @param {String} action 事件名称
|
|
6
|
-
* @return {Function} 返回事件处理函数
|
|
7
|
-
*/
|
|
8
|
-
declare function getWrapBehavior(obj: object, action: string): Function;
|
|
9
|
-
export default getWrapBehavior;
|
|
1
|
+
/**
|
|
2
|
+
* 获取封装的事件
|
|
3
|
+
* @protected
|
|
4
|
+
* @param {Object} obj 对象
|
|
5
|
+
* @param {String} action 事件名称
|
|
6
|
+
* @return {Function} 返回事件处理函数
|
|
7
|
+
*/
|
|
8
|
+
declare function getWrapBehavior(obj: object, action: string): Function;
|
|
9
|
+
export default getWrapBehavior;
|
package/types/lodash/get.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface ObjectType<T> {
|
|
2
|
-
[key: string]: T[];
|
|
3
|
-
}
|
|
4
|
-
declare function groupBy<T>(data: T[], condition: (item: T) => string): ObjectType<T>;
|
|
5
|
-
declare function groupBy<T>(data: T[], condition: string): ObjectType<T>;
|
|
6
|
-
export default groupBy;
|
|
1
|
+
export interface ObjectType<T> {
|
|
2
|
+
[key: string]: T[];
|
|
3
|
+
}
|
|
4
|
+
declare function groupBy<T>(data: T[], condition: (item: T) => string): ObjectType<T>;
|
|
5
|
+
declare function groupBy<T>(data: T[], condition: string): ObjectType<T>;
|
|
6
|
+
export default groupBy;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 将数据分组成 map
|
|
3
|
-
* @param data
|
|
4
|
-
* @param condition
|
|
5
|
-
*/
|
|
6
|
-
export default function groupToMap(data: any, condition: string[] | string | ((row: any) => string)): import('./group-by').ObjectType<any> | {
|
|
7
|
-
0: any;
|
|
8
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* 将数据分组成 map
|
|
3
|
+
* @param data
|
|
4
|
+
* @param condition
|
|
5
|
+
*/
|
|
6
|
+
export default function groupToMap(data: any, condition: string[] | string | ((row: any) => string)): import('./group-by').ObjectType<any> | {
|
|
7
|
+
0: any;
|
|
8
|
+
};
|
package/types/lodash/group.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: <T>(data: T[], condition: ((v: T) => string) | string | string[]) => T[][];
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: <T>(data: T[], condition: ((v: T) => string) | string | string[]) => T[][];
|
|
2
|
+
export default _default;
|
package/types/lodash/gt.d.ts
CHANGED
package/types/lodash/gte.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { default as has } from './has';
|
|
2
|
-
export default has;
|
|
1
|
+
import { default as has } from './has';
|
|
2
|
+
export default has;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: (obj: object, value: any) => boolean;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: (obj: object, value: any) => boolean;
|
|
2
|
+
export default _default;
|
package/types/lodash/has.d.ts
CHANGED
package/types/lodash/hasIn.d.ts
CHANGED
package/types/lodash/head.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const indexOf: <T>(arr: T[], obj: T) => number;
|
|
2
|
-
export default indexOf;
|
|
1
|
+
declare const indexOf: <T>(arr: T[], obj: T) => number;
|
|
2
|
+
export default indexOf;
|