@antv/util 3.3.8 → 3.3.9
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/lib/color/torgb.d.ts +13 -0
- package/dist/lib/lodash/group.d.ts +2 -0
- package/dist/lib/lodash/is-array.d.ts +5 -0
- package/dist/lib/lodash/is-date.d.ts +5 -0
- package/dist/lib/lodash/is-decimal.d.ts +5 -0
- package/dist/lib/lodash/is-element.d.ts +5 -0
- package/dist/lib/lodash/is-even.d.ts +5 -0
- package/dist/lib/lodash/is-finite.d.ts +5 -0
- package/dist/lib/lodash/is-function.d.ts +5 -0
- package/dist/lib/lodash/is-integer.d.ts +5 -0
- package/dist/lib/lodash/is-negative.d.ts +5 -0
- package/dist/lib/lodash/is-nil.d.ts +5 -0
- package/dist/lib/lodash/is-null.d.ts +5 -0
- package/dist/{lodash → lib/lodash}/is-number-equal.d.ts +4 -0
- package/dist/lib/lodash/is-number.d.ts +5 -0
- package/dist/lib/lodash/is-odd.d.ts +5 -0
- package/dist/lib/lodash/is-string.d.ts +5 -0
- package/dist/{lodash → lib/lodash}/max-by.d.ts +1 -1
- package/dist/lib/lodash/max.d.ts +6 -0
- package/dist/lib/lodash/memoize.d.ts +10 -0
- package/dist/{lodash → lib/lodash}/min-by.d.ts +1 -1
- package/dist/{lodash → lib/lodash}/reduce.d.ts +1 -1
- package/dist/lib/lodash/values.d.ts +2 -0
- package/dist/lib/path/types.d.ts +127 -0
- package/dist/util.min.js +1 -1
- package/esm/color/arr2rgb.js +2 -2
- package/esm/color/arr2rgb.js.map +1 -1
- package/esm/color/tocssgradient.js +2 -2
- package/esm/color/tocssgradient.js.map +1 -1
- package/esm/color/torgb.d.ts +8 -9
- package/esm/color/torgb.js.map +1 -1
- package/esm/dom/create-dom.js.map +1 -1
- package/esm/lodash/augment.js.map +1 -1
- package/esm/lodash/clamp.js.map +1 -1
- package/esm/lodash/clone.js.map +1 -1
- package/esm/lodash/contains.js.map +1 -1
- package/esm/lodash/debounce.js.map +1 -1
- package/esm/lodash/deep-mix.js.map +1 -1
- package/esm/lodash/each.js.map +1 -1
- package/esm/lodash/every.js.map +1 -1
- package/esm/lodash/extend.js.map +1 -1
- package/esm/lodash/filter.js.map +1 -1
- package/esm/lodash/find-index.js.map +1 -1
- package/esm/lodash/find.js.map +1 -1
- package/esm/lodash/first-value.js.map +1 -1
- package/esm/lodash/fixed-base.js.map +1 -1
- package/esm/lodash/flatten-deep.js.map +1 -1
- package/esm/lodash/flatten.js.map +1 -1
- package/esm/lodash/get-range.js.map +1 -1
- package/esm/lodash/get.d.ts +1 -1
- package/esm/lodash/get.js.map +1 -1
- package/esm/lodash/group-by.js.map +1 -1
- package/esm/lodash/group-to-map.js.map +1 -1
- package/esm/lodash/group.d.ts +1 -1
- package/esm/lodash/group.js.map +1 -1
- package/esm/lodash/head.js.map +1 -1
- package/esm/lodash/index-of.js.map +1 -1
- package/esm/lodash/is-array.d.ts +5 -2
- package/esm/lodash/is-array.js +7 -4
- package/esm/lodash/is-array.js.map +1 -1
- package/esm/lodash/is-date.d.ts +5 -2
- package/esm/lodash/is-date.js +7 -5
- package/esm/lodash/is-date.js.map +1 -1
- package/esm/lodash/is-decimal.d.ts +5 -2
- package/esm/lodash/is-decimal.js +6 -3
- package/esm/lodash/is-decimal.js.map +1 -1
- package/esm/lodash/is-element.d.ts +3 -4
- package/esm/lodash/is-element.js +5 -6
- package/esm/lodash/is-element.js.map +1 -1
- package/esm/lodash/is-empty.js.map +1 -1
- package/esm/lodash/is-equal-with.d.ts +1 -1
- package/esm/lodash/is-equal-with.js.map +1 -1
- package/esm/lodash/is-equal.js.map +1 -1
- package/esm/lodash/is-even.d.ts +5 -2
- package/esm/lodash/is-even.js +6 -3
- package/esm/lodash/is-even.js.map +1 -1
- package/esm/lodash/is-finite.d.ts +5 -1
- package/esm/lodash/is-finite.js +3 -3
- package/esm/lodash/is-finite.js.map +1 -1
- package/esm/lodash/is-function.d.ts +3 -3
- package/esm/lodash/is-function.js +4 -3
- package/esm/lodash/is-function.js.map +1 -1
- package/esm/lodash/is-integer.d.ts +5 -2
- package/esm/lodash/is-integer.js +7 -6
- package/esm/lodash/is-integer.js.map +1 -1
- package/esm/lodash/is-match.js.map +1 -1
- package/esm/lodash/is-negative.d.ts +5 -2
- package/esm/lodash/is-negative.js +6 -3
- package/esm/lodash/is-negative.js.map +1 -1
- package/esm/lodash/is-nil.d.ts +5 -2
- package/esm/lodash/is-nil.js +6 -8
- package/esm/lodash/is-nil.js.map +1 -1
- package/esm/lodash/is-null.d.ts +5 -2
- package/esm/lodash/is-null.js +6 -3
- package/esm/lodash/is-null.js.map +1 -1
- package/esm/lodash/is-number-equal.d.ts +4 -0
- package/esm/lodash/is-number-equal.js +5 -1
- package/esm/lodash/is-number-equal.js.map +1 -1
- package/esm/lodash/is-number.d.ts +5 -2
- package/esm/lodash/is-number.js +5 -7
- package/esm/lodash/is-number.js.map +1 -1
- package/esm/lodash/is-odd.d.ts +5 -2
- package/esm/lodash/is-odd.js +6 -3
- package/esm/lodash/is-odd.js.map +1 -1
- package/esm/lodash/is-plain-object.js.map +1 -1
- package/esm/lodash/is-segment-equal.js.map +1 -1
- package/esm/lodash/is-string.d.ts +5 -2
- package/esm/lodash/is-string.js +7 -4
- package/esm/lodash/is-string.js.map +1 -1
- package/esm/lodash/keys.js.map +1 -1
- package/esm/lodash/last.js.map +1 -1
- package/esm/lodash/map-values.js.map +1 -1
- package/esm/lodash/map.js.map +1 -1
- package/esm/lodash/max-by.d.ts +1 -1
- package/esm/lodash/max-by.js.map +1 -1
- package/esm/lodash/max.d.ts +4 -17
- package/esm/lodash/max.js +14 -23
- package/esm/lodash/max.js.map +1 -1
- package/esm/lodash/memoize.d.ts +6 -13
- package/esm/lodash/memoize.js +13 -15
- package/esm/lodash/memoize.js.map +1 -1
- package/esm/lodash/merge.d.ts +1 -1
- package/esm/lodash/merge.js.map +1 -1
- package/esm/lodash/min-by.d.ts +1 -1
- package/esm/lodash/min-by.js.map +1 -1
- package/esm/lodash/min.d.ts +1 -1
- package/esm/lodash/min.js.map +1 -1
- package/esm/lodash/mix.js.map +1 -1
- package/esm/lodash/number2color.js.map +1 -1
- package/esm/lodash/omit.js.map +1 -1
- package/esm/lodash/parse-radius.js.map +1 -1
- package/esm/lodash/pick.js.map +1 -1
- package/esm/lodash/pull-at.js.map +1 -1
- package/esm/lodash/pull.js.map +1 -1
- package/esm/lodash/reduce.d.ts +1 -1
- package/esm/lodash/reduce.js.map +1 -1
- package/esm/lodash/remove.js.map +1 -1
- package/esm/lodash/set.d.ts +1 -1
- package/esm/lodash/set.js.map +1 -1
- package/esm/lodash/size.js.map +1 -1
- package/esm/lodash/some.js.map +1 -1
- package/esm/lodash/sort-by.js.map +1 -1
- package/esm/lodash/substitute.js.map +1 -1
- package/esm/lodash/throttle.js.map +1 -1
- package/esm/lodash/uniq.js.map +1 -1
- package/esm/lodash/unique-id.js.map +1 -1
- package/esm/lodash/values-of-key.js.map +1 -1
- package/esm/lodash/values.d.ts +1 -1
- package/esm/lodash/values.js.map +1 -1
- package/esm/lodash/wrap-behavior.js.map +1 -1
- package/esm/math/is-point-in-polygon.js.map +1 -1
- package/esm/math/is-polygons-intersect.js.map +1 -1
- package/esm/matrix/angle-to.js.map +1 -1
- package/esm/matrix/transform.js.map +1 -1
- package/esm/matrix/vertical.js.map +1 -1
- package/esm/path/convert/path-2-absolute.js.map +1 -1
- package/esm/path/convert/path-2-curve.js.map +1 -1
- package/esm/path/parser/finalize-segment.js.map +1 -1
- package/esm/path/parser/is-path-command.js.map +1 -1
- package/esm/path/parser/parse-path-string.js.map +1 -1
- package/esm/path/parser/scan-flag.js +1 -1
- package/esm/path/parser/scan-flag.js.map +1 -1
- package/esm/path/parser/scan-param.js +5 -5
- package/esm/path/parser/scan-param.js.map +1 -1
- package/esm/path/parser/scan-segment.js +1 -1
- package/esm/path/parser/scan-segment.js.map +1 -1
- package/esm/path/parser/skip-spaces.js.map +1 -1
- package/esm/path/process/arc-2-cubic.js.map +1 -1
- package/esm/path/process/fix-arc.js.map +1 -1
- package/esm/path/process/normalize-path.js.map +1 -1
- package/esm/path/process/normalize-segment.js.map +1 -1
- package/esm/path/process/quad-2-cubic.js +4 -4
- package/esm/path/process/quad-2-cubic.js.map +1 -1
- package/esm/path/process/reverse-curve.js.map +1 -1
- package/esm/path/process/segment-2-cubic.js.map +1 -1
- package/esm/path/types.d.ts +66 -66
- package/esm/path/util/equalize-segments.js.map +1 -1
- package/esm/path/util/get-path-area.js.map +1 -1
- package/esm/path/util/get-path-bbox-total-length.js.map +1 -1
- package/esm/path/util/get-path-bbox.js.map +1 -1
- package/esm/path/util/get-properties-at-length.js.map +1 -1
- package/esm/path/util/get-properties-at-point.js.map +1 -1
- package/esm/path/util/get-rotated-curve.js.map +1 -1
- package/esm/path/util/path-length-factory.js.map +1 -1
- package/esm/path/util/segment-arc-factory.js.map +1 -1
- package/esm/path/util/segment-cubic-factory.js.map +1 -1
- package/esm/path/util/segment-line-factory.js.map +1 -1
- package/esm/path/util/segment-quad-factory.js.map +1 -1
- package/lib/color/arr2rgb.js +4 -5
- package/lib/color/arr2rgb.js.map +1 -1
- package/lib/color/gradient.js +1 -2
- package/lib/color/gradient.js.map +1 -1
- package/lib/color/rgb2arr.js +1 -2
- package/lib/color/rgb2arr.js.map +1 -1
- package/lib/color/tocssgradient.js +3 -4
- package/lib/color/tocssgradient.js.map +1 -1
- package/lib/color/torgb.d.ts +8 -9
- package/lib/color/torgb.js.map +1 -1
- package/lib/dom/create-dom.js +1 -2
- package/lib/dom/create-dom.js.map +1 -1
- package/lib/dom/modify-css.js +1 -2
- package/lib/dom/modify-css.js.map +1 -1
- package/lib/index.js +6 -6
- package/lib/index.js.map +1 -1
- package/lib/lodash/augment.js +2 -2
- package/lib/lodash/augment.js.map +1 -1
- package/lib/lodash/clamp.js.map +1 -1
- package/lib/lodash/clear-animation-frame.js +1 -1
- package/lib/lodash/clear-animation-frame.js.map +1 -1
- package/lib/lodash/clone.js +1 -1
- package/lib/lodash/clone.js.map +1 -1
- package/lib/lodash/contains.js +1 -1
- package/lib/lodash/contains.js.map +1 -1
- package/lib/lodash/debounce.js.map +1 -1
- package/lib/lodash/deep-mix.js +2 -2
- package/lib/lodash/deep-mix.js.map +1 -1
- package/lib/lodash/difference.js +2 -2
- package/lib/lodash/difference.js.map +1 -1
- package/lib/lodash/each.js +2 -2
- package/lib/lodash/each.js.map +1 -1
- package/lib/lodash/ends-with.js +2 -2
- package/lib/lodash/ends-with.js.map +1 -1
- package/lib/lodash/every.js.map +1 -1
- package/lib/lodash/extend.js +2 -2
- package/lib/lodash/extend.js.map +1 -1
- package/lib/lodash/filter.js +1 -1
- package/lib/lodash/filter.js.map +1 -1
- package/lib/lodash/find-index.js.map +1 -1
- package/lib/lodash/find.js +4 -4
- package/lib/lodash/find.js.map +1 -1
- package/lib/lodash/first-value.js +2 -2
- package/lib/lodash/first-value.js.map +1 -1
- package/lib/lodash/fixed-base.js.map +1 -1
- package/lib/lodash/flatten-deep.js +1 -1
- package/lib/lodash/flatten-deep.js.map +1 -1
- package/lib/lodash/flatten.js +1 -1
- package/lib/lodash/flatten.js.map +1 -1
- package/lib/lodash/for-in.js +1 -1
- package/lib/lodash/for-in.js.map +1 -1
- package/lib/lodash/get-range.js +3 -3
- package/lib/lodash/get-range.js.map +1 -1
- package/lib/lodash/get.d.ts +1 -1
- package/lib/lodash/get.js +1 -1
- package/lib/lodash/get.js.map +1 -1
- package/lib/lodash/group-by.js +2 -2
- package/lib/lodash/group-by.js.map +1 -1
- package/lib/lodash/group-to-map.js +4 -4
- package/lib/lodash/group-to-map.js.map +1 -1
- package/lib/lodash/group.d.ts +1 -1
- package/lib/lodash/group.js +1 -1
- package/lib/lodash/group.js.map +1 -1
- package/lib/lodash/has-key.js +1 -1
- package/lib/lodash/has-key.js.map +1 -1
- package/lib/lodash/has-value.js +2 -2
- package/lib/lodash/has-value.js.map +1 -1
- package/lib/lodash/head.js +2 -2
- package/lib/lodash/head.js.map +1 -1
- package/lib/lodash/index-of.js +1 -1
- package/lib/lodash/index-of.js.map +1 -1
- package/lib/lodash/index.js +111 -113
- package/lib/lodash/index.js.map +1 -1
- package/lib/lodash/is-arguments.js +1 -1
- package/lib/lodash/is-arguments.js.map +1 -1
- package/lib/lodash/is-array.d.ts +5 -2
- package/lib/lodash/is-array.js +8 -5
- package/lib/lodash/is-array.js.map +1 -1
- package/lib/lodash/is-boolean.js +1 -1
- package/lib/lodash/is-boolean.js.map +1 -1
- package/lib/lodash/is-date.d.ts +5 -2
- package/lib/lodash/is-date.js +7 -5
- package/lib/lodash/is-date.js.map +1 -1
- package/lib/lodash/is-decimal.d.ts +5 -2
- package/lib/lodash/is-decimal.js +8 -4
- package/lib/lodash/is-decimal.js.map +1 -1
- package/lib/lodash/is-element.d.ts +3 -4
- package/lib/lodash/is-element.js +6 -6
- package/lib/lodash/is-element.js.map +1 -1
- package/lib/lodash/is-empty.js +4 -4
- package/lib/lodash/is-empty.js.map +1 -1
- package/lib/lodash/is-equal-with.d.ts +1 -1
- package/lib/lodash/is-equal-with.js +2 -2
- package/lib/lodash/is-equal-with.js.map +1 -1
- package/lib/lodash/is-equal.js +3 -3
- package/lib/lodash/is-equal.js.map +1 -1
- package/lib/lodash/is-error.js +1 -1
- package/lib/lodash/is-error.js.map +1 -1
- package/lib/lodash/is-even.d.ts +5 -2
- package/lib/lodash/is-even.js +8 -4
- package/lib/lodash/is-even.js.map +1 -1
- package/lib/lodash/is-finite.d.ts +5 -1
- package/lib/lodash/is-finite.js +4 -4
- package/lib/lodash/is-finite.js.map +1 -1
- package/lib/lodash/is-function.d.ts +3 -3
- package/lib/lodash/is-function.js +5 -3
- package/lib/lodash/is-function.js.map +1 -1
- package/lib/lodash/is-integer.d.ts +5 -2
- package/lib/lodash/is-integer.js +9 -7
- package/lib/lodash/is-integer.js.map +1 -1
- package/lib/lodash/is-match.js +2 -2
- package/lib/lodash/is-match.js.map +1 -1
- package/lib/lodash/is-negative.d.ts +5 -2
- package/lib/lodash/is-negative.js +8 -4
- package/lib/lodash/is-negative.js.map +1 -1
- package/lib/lodash/is-nil.d.ts +5 -2
- package/lib/lodash/is-nil.js +7 -8
- package/lib/lodash/is-nil.js.map +1 -1
- package/lib/lodash/is-null.d.ts +5 -2
- package/lib/lodash/is-null.js +7 -3
- package/lib/lodash/is-null.js.map +1 -1
- package/lib/lodash/is-number-equal.d.ts +4 -0
- package/lib/lodash/is-number-equal.js +6 -2
- package/lib/lodash/is-number-equal.js.map +1 -1
- package/lib/lodash/is-number.d.ts +5 -2
- package/lib/lodash/is-number.js +6 -8
- package/lib/lodash/is-number.js.map +1 -1
- package/lib/lodash/is-odd.d.ts +5 -2
- package/lib/lodash/is-odd.js +8 -4
- package/lib/lodash/is-odd.js.map +1 -1
- package/lib/lodash/is-plain-object.js +2 -2
- package/lib/lodash/is-plain-object.js.map +1 -1
- package/lib/lodash/is-positive.js +1 -1
- package/lib/lodash/is-positive.js.map +1 -1
- package/lib/lodash/is-reg-exp.js +1 -1
- package/lib/lodash/is-reg-exp.js.map +1 -1
- package/lib/lodash/is-segment-equal.js +1 -1
- package/lib/lodash/is-segment-equal.js.map +1 -1
- package/lib/lodash/is-string.d.ts +5 -2
- package/lib/lodash/is-string.js +8 -5
- package/lib/lodash/is-string.js.map +1 -1
- package/lib/lodash/keys.js +2 -2
- package/lib/lodash/keys.js.map +1 -1
- package/lib/lodash/last.js +2 -2
- package/lib/lodash/last.js.map +1 -1
- package/lib/lodash/lower-case.js +1 -1
- package/lib/lodash/lower-case.js.map +1 -1
- package/lib/lodash/lower-first.js +1 -1
- package/lib/lodash/lower-first.js.map +1 -1
- package/lib/lodash/map-values.js +2 -2
- package/lib/lodash/map-values.js.map +1 -1
- package/lib/lodash/map.js +1 -1
- package/lib/lodash/map.js.map +1 -1
- package/lib/lodash/max-by.d.ts +1 -1
- package/lib/lodash/max-by.js +2 -2
- package/lib/lodash/max-by.js.map +1 -1
- package/lib/lodash/max.d.ts +4 -17
- package/lib/lodash/max.js +15 -24
- package/lib/lodash/max.js.map +1 -1
- package/lib/lodash/memoize.d.ts +6 -13
- package/lib/lodash/memoize.js +14 -16
- package/lib/lodash/memoize.js.map +1 -1
- package/lib/lodash/merge.d.ts +1 -1
- package/lib/lodash/merge.js.map +1 -1
- package/lib/lodash/min-by.d.ts +1 -1
- package/lib/lodash/min-by.js +2 -2
- package/lib/lodash/min-by.js.map +1 -1
- package/lib/lodash/min.d.ts +1 -1
- package/lib/lodash/min.js +1 -1
- package/lib/lodash/min.js.map +1 -1
- package/lib/lodash/mix.js +1 -1
- package/lib/lodash/mix.js.map +1 -1
- package/lib/lodash/number2color.js.map +1 -1
- package/lib/lodash/omit.js +1 -1
- package/lib/lodash/omit.js.map +1 -1
- package/lib/lodash/parse-radius.js +1 -1
- package/lib/lodash/parse-radius.js.map +1 -1
- package/lib/lodash/pick.js +2 -2
- package/lib/lodash/pick.js.map +1 -1
- package/lib/lodash/pull-at.js +1 -1
- package/lib/lodash/pull-at.js.map +1 -1
- package/lib/lodash/pull.js.map +1 -1
- package/lib/lodash/reduce.d.ts +1 -1
- package/lib/lodash/reduce.js +3 -3
- package/lib/lodash/reduce.js.map +1 -1
- package/lib/lodash/remove.js +2 -2
- package/lib/lodash/remove.js.map +1 -1
- package/lib/lodash/request-animation-frame.js +1 -1
- package/lib/lodash/request-animation-frame.js.map +1 -1
- package/lib/lodash/set.d.ts +1 -1
- package/lib/lodash/set.js +3 -3
- package/lib/lodash/set.js.map +1 -1
- package/lib/lodash/size.js +3 -3
- package/lib/lodash/size.js.map +1 -1
- package/lib/lodash/some.js.map +1 -1
- package/lib/lodash/sort-by.js +3 -3
- package/lib/lodash/sort-by.js.map +1 -1
- package/lib/lodash/starts-with.js +2 -2
- package/lib/lodash/starts-with.js.map +1 -1
- package/lib/lodash/substitute.js.map +1 -1
- package/lib/lodash/throttle.js.map +1 -1
- package/lib/lodash/to-array.js +1 -1
- package/lib/lodash/to-array.js.map +1 -1
- package/lib/lodash/to-string.js +1 -1
- package/lib/lodash/to-string.js.map +1 -1
- package/lib/lodash/union.js +1 -1
- package/lib/lodash/union.js.map +1 -1
- package/lib/lodash/uniq.js +1 -1
- package/lib/lodash/uniq.js.map +1 -1
- package/lib/lodash/unique-id.js.map +1 -1
- package/lib/lodash/upper-case.js +1 -1
- package/lib/lodash/upper-case.js.map +1 -1
- package/lib/lodash/upper-first.js +1 -1
- package/lib/lodash/upper-first.js.map +1 -1
- package/lib/lodash/values-of-key.js +2 -2
- package/lib/lodash/values-of-key.js.map +1 -1
- package/lib/lodash/values.d.ts +1 -1
- package/lib/lodash/values.js +2 -2
- package/lib/lodash/values.js.map +1 -1
- package/lib/lodash/wrap-behavior.js.map +1 -1
- package/lib/math/is-point-in-polygon.js +1 -2
- package/lib/math/is-point-in-polygon.js.map +1 -1
- package/lib/math/is-polygons-intersect.js +1 -2
- package/lib/math/is-polygons-intersect.js.map +1 -1
- package/lib/matrix/angle-to.js +1 -2
- package/lib/matrix/angle-to.js.map +1 -1
- package/lib/matrix/direction.js +1 -2
- package/lib/matrix/direction.js.map +1 -1
- package/lib/matrix/transform.js +1 -2
- package/lib/matrix/transform.js.map +1 -1
- package/lib/matrix/vertical.js +1 -2
- package/lib/matrix/vertical.js.map +1 -1
- package/lib/path/convert/path-2-absolute.js +1 -2
- package/lib/path/convert/path-2-absolute.js.map +1 -1
- package/lib/path/convert/path-2-array.js +1 -2
- package/lib/path/convert/path-2-array.js.map +1 -1
- package/lib/path/convert/path-2-curve.js +2 -3
- package/lib/path/convert/path-2-curve.js.map +1 -1
- package/lib/path/convert/path-2-string.js +1 -2
- package/lib/path/convert/path-2-string.js.map +1 -1
- package/lib/path/index.js +1 -1
- package/lib/path/index.js.map +1 -1
- package/lib/path/parser/finalize-segment.js +1 -2
- package/lib/path/parser/finalize-segment.js.map +1 -1
- package/lib/path/parser/is-arc-command.js +1 -2
- package/lib/path/parser/is-arc-command.js.map +1 -1
- package/lib/path/parser/is-digit-start.js +2 -3
- package/lib/path/parser/is-digit-start.js.map +1 -1
- package/lib/path/parser/is-path-command.js +1 -2
- package/lib/path/parser/is-path-command.js.map +1 -1
- package/lib/path/parser/is-space.js +1 -2
- package/lib/path/parser/is-space.js.map +1 -1
- package/lib/path/parser/parse-path-string.js +1 -2
- package/lib/path/parser/parse-path-string.js.map +1 -1
- package/lib/path/parser/scan-flag.js +2 -3
- package/lib/path/parser/scan-flag.js.map +1 -1
- package/lib/path/parser/scan-param.js +6 -7
- package/lib/path/parser/scan-param.js.map +1 -1
- package/lib/path/parser/scan-segment.js +2 -3
- package/lib/path/parser/scan-segment.js.map +1 -1
- package/lib/path/parser/skip-spaces.js +1 -2
- package/lib/path/parser/skip-spaces.js.map +1 -1
- package/lib/path/process/arc-2-cubic.js +1 -2
- package/lib/path/process/arc-2-cubic.js.map +1 -1
- package/lib/path/process/clone-path.js +1 -2
- package/lib/path/process/clone-path.js.map +1 -1
- package/lib/path/process/fix-arc.js +1 -2
- package/lib/path/process/fix-arc.js.map +1 -1
- package/lib/path/process/line-2-cubic.js +1 -1
- package/lib/path/process/line-2-cubic.js.map +1 -1
- package/lib/path/process/normalize-path.js +2 -3
- package/lib/path/process/normalize-path.js.map +1 -1
- package/lib/path/process/normalize-segment.js +1 -2
- package/lib/path/process/normalize-segment.js.map +1 -1
- package/lib/path/process/quad-2-cubic.js +5 -6
- package/lib/path/process/quad-2-cubic.js.map +1 -1
- package/lib/path/process/reverse-curve.js +1 -2
- package/lib/path/process/reverse-curve.js.map +1 -1
- package/lib/path/process/round-path.js +1 -2
- package/lib/path/process/round-path.js.map +1 -1
- package/lib/path/process/segment-2-cubic.js +1 -2
- package/lib/path/process/segment-2-cubic.js.map +1 -1
- package/lib/path/types.d.ts +66 -66
- package/lib/path/util/distance-square-root.js +1 -2
- package/lib/path/util/distance-square-root.js.map +1 -1
- package/lib/path/util/equalize-segments.js +1 -2
- package/lib/path/util/equalize-segments.js.map +1 -1
- package/lib/path/util/get-draw-direction.js +1 -2
- package/lib/path/util/get-draw-direction.js.map +1 -1
- package/lib/path/util/get-path-area.js +1 -2
- package/lib/path/util/get-path-area.js.map +1 -1
- package/lib/path/util/get-path-bbox-total-length.js +2 -3
- package/lib/path/util/get-path-bbox-total-length.js.map +1 -1
- package/lib/path/util/get-path-bbox.js +2 -3
- package/lib/path/util/get-path-bbox.js.map +1 -1
- package/lib/path/util/get-point-at-length.js +2 -3
- package/lib/path/util/get-point-at-length.js.map +1 -1
- package/lib/path/util/get-properties-at-length.js +1 -2
- package/lib/path/util/get-properties-at-length.js.map +1 -1
- package/lib/path/util/get-properties-at-point.js +1 -2
- package/lib/path/util/get-properties-at-point.js.map +1 -1
- package/lib/path/util/get-rotated-curve.js +1 -2
- package/lib/path/util/get-rotated-curve.js.map +1 -1
- package/lib/path/util/get-total-length.js +2 -3
- package/lib/path/util/get-total-length.js.map +1 -1
- package/lib/path/util/is-absolute-array.js +1 -2
- package/lib/path/util/is-absolute-array.js.map +1 -1
- package/lib/path/util/is-curve-array.js +1 -2
- package/lib/path/util/is-curve-array.js.map +1 -1
- package/lib/path/util/is-normalized-array.js +1 -2
- package/lib/path/util/is-normalized-array.js.map +1 -1
- package/lib/path/util/is-path-array.js +1 -2
- package/lib/path/util/is-path-array.js.map +1 -1
- package/lib/path/util/is-point-in-stroke.js +1 -2
- package/lib/path/util/is-point-in-stroke.js.map +1 -1
- package/lib/path/util/mid-point.js +1 -2
- package/lib/path/util/mid-point.js.map +1 -1
- package/lib/path/util/path-length-factory.js +1 -2
- package/lib/path/util/path-length-factory.js.map +1 -1
- package/lib/path/util/rotate-vector.js +1 -2
- package/lib/path/util/rotate-vector.js.map +1 -1
- package/lib/path/util/segment-arc-factory.js +1 -2
- package/lib/path/util/segment-arc-factory.js.map +1 -1
- package/lib/path/util/segment-cubic-factory.js +1 -2
- package/lib/path/util/segment-cubic-factory.js.map +1 -1
- package/lib/path/util/segment-line-factory.js +1 -2
- package/lib/path/util/segment-line-factory.js.map +1 -1
- package/lib/path/util/segment-quad-factory.js +1 -2
- package/lib/path/util/segment-quad-factory.js.map +1 -1
- package/package.json +25 -24
- package/src/color/torgb.ts +0 -1
- package/src/lodash/is-array.ts +7 -5
- package/src/lodash/is-date.ts +7 -7
- package/src/lodash/is-decimal.ts +6 -4
- package/src/lodash/is-element.ts +5 -6
- package/src/lodash/is-even.ts +6 -4
- package/src/lodash/is-finite.ts +5 -5
- package/src/lodash/is-function.ts +4 -3
- package/src/lodash/is-integer.ts +7 -7
- package/src/lodash/is-negative.ts +6 -4
- package/src/lodash/is-nil.ts +6 -9
- package/src/lodash/is-null.ts +6 -4
- package/src/lodash/is-number-equal.ts +5 -1
- package/src/lodash/is-number.ts +5 -8
- package/src/lodash/is-odd.ts +6 -4
- package/src/lodash/is-string.ts +7 -5
- package/src/lodash/max.ts +12 -25
- package/src/lodash/memoize.ts +14 -20
- package/src/path/process/reverse-curve.ts +1 -1
- package/src/path/util/equalize-segments.ts +4 -5
- package/dist/color/torgb.d.ts +0 -14
- package/dist/lodash/group.d.ts +0 -2
- package/dist/lodash/is-array.d.ts +0 -2
- package/dist/lodash/is-date.d.ts +0 -2
- package/dist/lodash/is-decimal.d.ts +0 -2
- package/dist/lodash/is-element.d.ts +0 -6
- package/dist/lodash/is-even.d.ts +0 -2
- package/dist/lodash/is-finite.d.ts +0 -1
- package/dist/lodash/is-function.d.ts +0 -5
- package/dist/lodash/is-integer.d.ts +0 -2
- package/dist/lodash/is-negative.d.ts +0 -2
- package/dist/lodash/is-nil.d.ts +0 -2
- package/dist/lodash/is-null.d.ts +0 -2
- package/dist/lodash/is-number.d.ts +0 -2
- package/dist/lodash/is-odd.d.ts +0 -2
- package/dist/lodash/is-string.d.ts +0 -2
- package/dist/lodash/max.d.ts +0 -19
- package/dist/lodash/memoize.d.ts +0 -17
- package/dist/lodash/values.d.ts +0 -2
- package/dist/path/types.d.ts +0 -127
- package/dist/{color → lib/color}/arr2rgb.d.ts +0 -0
- package/dist/{color → lib/color}/gradient.d.ts +0 -0
- package/dist/{color → lib/color}/index.d.ts +0 -0
- package/dist/{color → lib/color}/rgb2arr.d.ts +0 -0
- package/dist/{color → lib/color}/tocssgradient.d.ts +0 -0
- package/dist/{dom → lib/dom}/create-dom.d.ts +0 -0
- package/dist/{dom → lib/dom}/index.d.ts +0 -0
- package/dist/{dom → lib/dom}/modify-css.d.ts +0 -0
- package/dist/{index.d.ts → lib/index.d.ts} +0 -0
- package/dist/{lodash → lib/lodash}/augment.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/cache.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/clamp.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/clear-animation-frame.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/clone.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/contains.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/debounce.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/deep-mix.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/difference.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/each.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/ends-with.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/every.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/extend.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/filter.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/find-index.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/find.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/first-value.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/fixed-base.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/flatten-deep.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/flatten.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/for-in.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/get-range.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/get-type.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/get-wrap-behavior.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/get.d.ts +1 -1
- package/dist/{lodash → lib/lodash}/group-by.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/group-to-map.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/has-key.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/has-value.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/has.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/head.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/identity.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/index-of.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/index.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-arguments.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-array-like.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-boolean.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-empty.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-equal-with.d.ts +1 -1
- package/dist/{lodash → lib/lodash}/is-equal.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-error.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-match.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-object-like.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-object.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-plain-object.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-positive.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-prototype.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-reg-exp.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-segment-equal.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-type.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/is-undefined.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/keys.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/last.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/lower-case.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/lower-first.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/map-values.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/map.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/merge.d.ts +1 -1
- package/dist/{lodash → lib/lodash}/min.d.ts +1 -1
- package/dist/{lodash → lib/lodash}/mix.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/mod.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/noop.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/number2color.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/omit.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/parse-radius.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/pick.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/pull-at.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/pull.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/remove.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/request-animation-frame.d.ts +0 -0
- package/dist/{lodash → lib/lodash}/set.d.ts +1 -1
- /package/dist/{lodash → lib/lodash}/size.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/some.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/sort-by.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/starts-with.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/substitute.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/throttle.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/to-array.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/to-degree.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/to-integer.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/to-radian.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/to-string.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/types/index.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/union.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/uniq.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/unique-id.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/upper-case.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/upper-first.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/values-of-key.d.ts +0 -0
- /package/dist/{lodash → lib/lodash}/wrap-behavior.d.ts +0 -0
- /package/dist/{math → lib/math}/index.d.ts +0 -0
- /package/dist/{math → lib/math}/is-point-in-polygon.d.ts +0 -0
- /package/dist/{math → lib/math}/is-polygons-intersect.d.ts +0 -0
- /package/dist/{matrix → lib/matrix}/angle-to.d.ts +0 -0
- /package/dist/{matrix → lib/matrix}/direction.d.ts +0 -0
- /package/dist/{matrix → lib/matrix}/index.d.ts +0 -0
- /package/dist/{matrix → lib/matrix}/transform.d.ts +0 -0
- /package/dist/{matrix → lib/matrix}/vertical.d.ts +0 -0
- /package/dist/{path → lib/path}/convert/path-2-absolute.d.ts +0 -0
- /package/dist/{path → lib/path}/convert/path-2-array.d.ts +0 -0
- /package/dist/{path → lib/path}/convert/path-2-curve.d.ts +0 -0
- /package/dist/{path → lib/path}/convert/path-2-string.d.ts +0 -0
- /package/dist/{path → lib/path}/index.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/finalize-segment.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/is-arc-command.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/is-digit-start.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/is-path-command.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/is-space.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/params-count.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/params-parser.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/parse-path-string.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/path-parser.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/scan-flag.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/scan-param.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/scan-segment.d.ts +0 -0
- /package/dist/{path → lib/path}/parser/skip-spaces.d.ts +0 -0
- /package/dist/{path → lib/path}/process/arc-2-cubic.d.ts +0 -0
- /package/dist/{path → lib/path}/process/clone-path.d.ts +0 -0
- /package/dist/{path → lib/path}/process/fix-arc.d.ts +0 -0
- /package/dist/{path → lib/path}/process/line-2-cubic.d.ts +0 -0
- /package/dist/{path → lib/path}/process/normalize-path.d.ts +0 -0
- /package/dist/{path → lib/path}/process/normalize-segment.d.ts +0 -0
- /package/dist/{path → lib/path}/process/quad-2-cubic.d.ts +0 -0
- /package/dist/{path → lib/path}/process/reverse-curve.d.ts +0 -0
- /package/dist/{path → lib/path}/process/round-path.d.ts +0 -0
- /package/dist/{path → lib/path}/process/segment-2-cubic.d.ts +0 -0
- /package/dist/{path → lib/path}/util/distance-square-root.d.ts +0 -0
- /package/dist/{path → lib/path}/util/equalize-segments.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-draw-direction.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-path-area.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-path-bbox-total-length.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-path-bbox.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-point-at-length.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-properties-at-length.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-properties-at-point.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-rotated-curve.d.ts +0 -0
- /package/dist/{path → lib/path}/util/get-total-length.d.ts +0 -0
- /package/dist/{path → lib/path}/util/is-absolute-array.d.ts +0 -0
- /package/dist/{path → lib/path}/util/is-curve-array.d.ts +0 -0
- /package/dist/{path → lib/path}/util/is-normalized-array.d.ts +0 -0
- /package/dist/{path → lib/path}/util/is-path-array.d.ts +0 -0
- /package/dist/{path → lib/path}/util/is-point-in-stroke.d.ts +0 -0
- /package/dist/{path → lib/path}/util/mid-point.d.ts +0 -0
- /package/dist/{path → lib/path}/util/path-length-factory.d.ts +0 -0
- /package/dist/{path → lib/path}/util/rotate-vector.d.ts +0 -0
- /package/dist/{path → lib/path}/util/segment-arc-factory.d.ts +0 -0
- /package/dist/{path → lib/path}/util/segment-cubic-factory.d.ts +0 -0
- /package/dist/{path → lib/path}/util/segment-line-factory.d.ts +0 -0
- /package/dist/{path → lib/path}/util/segment-quad-factory.d.ts +0 -0
package/dist/lodash/group.d.ts
DELETED
package/dist/lodash/is-date.d.ts
DELETED
package/dist/lodash/is-even.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function (value: any): value is number;
|
package/dist/lodash/is-nil.d.ts
DELETED
package/dist/lodash/is-null.d.ts
DELETED
package/dist/lodash/is-odd.d.ts
DELETED
package/dist/lodash/max.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: (arr: number[]) => number | undefined;
|
|
2
|
-
/**
|
|
3
|
-
* @param {Array} arr The array to iterate over.
|
|
4
|
-
* @return {*} Returns the maximum value.
|
|
5
|
-
* @example
|
|
6
|
-
*
|
|
7
|
-
* max([1, 2]);
|
|
8
|
-
* // => 2
|
|
9
|
-
*
|
|
10
|
-
* max([]);
|
|
11
|
-
* // => undefined
|
|
12
|
-
*
|
|
13
|
-
* const data = new Array(1250010).fill(1).map((d,idx) => idx);
|
|
14
|
-
*
|
|
15
|
-
* max(data);
|
|
16
|
-
* // => 1250010
|
|
17
|
-
* // Math.max(...data) will encounter "Maximum call stack size exceeded" error
|
|
18
|
-
*/
|
|
19
|
-
export default _default;
|
package/dist/lodash/memoize.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _default: (f: Function, resolver?: (...args: any[]) => string, maxSize?: number) => {
|
|
2
|
-
(...args: any[]): any;
|
|
3
|
-
cache: {
|
|
4
|
-
clear: (isPartial?: number) => void;
|
|
5
|
-
has: (key: any) => boolean;
|
|
6
|
-
get: (key: any) => any;
|
|
7
|
-
set: (key: any, value: any) => void;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* _.memoize(calColor);
|
|
12
|
-
* _.memoize(calColor, (...args) => args[0]);
|
|
13
|
-
* @param f
|
|
14
|
-
* @param resolver
|
|
15
|
-
* @param maxSize lru maxSize
|
|
16
|
-
*/
|
|
17
|
-
export default _default;
|
package/dist/lodash/values.d.ts
DELETED
package/dist/path/types.d.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
export declare type Point = {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
};
|
|
5
|
-
export declare type MCommand = 'M';
|
|
6
|
-
export declare type mCommand = 'm';
|
|
7
|
-
export declare type LCommand = 'L';
|
|
8
|
-
export declare type lCommand = 'l';
|
|
9
|
-
export declare type VCommand = 'V';
|
|
10
|
-
export declare type vCommand = 'v';
|
|
11
|
-
export declare type HCommand = 'H';
|
|
12
|
-
export declare type hCommand = 'h';
|
|
13
|
-
export declare type ZCommand = 'Z';
|
|
14
|
-
export declare type zCommand = 'z';
|
|
15
|
-
export declare type CCommand = 'C';
|
|
16
|
-
export declare type cCommand = 'c';
|
|
17
|
-
export declare type SCommand = 'S';
|
|
18
|
-
export declare type sCommand = 's';
|
|
19
|
-
export declare type QCommand = 'Q';
|
|
20
|
-
export declare type qCommand = 'q';
|
|
21
|
-
export declare type TCommand = 'T';
|
|
22
|
-
export declare type tCommand = 't';
|
|
23
|
-
export declare type ACommand = 'A';
|
|
24
|
-
export declare type aCommand = 'a';
|
|
25
|
-
export declare type AbsoluteCommand = MCommand | LCommand | VCommand | HCommand | ZCommand | CCommand | SCommand | QCommand | TCommand | ACommand;
|
|
26
|
-
export declare type RelativeCommand = mCommand | lCommand | vCommand | hCommand | zCommand | cCommand | sCommand | qCommand | tCommand | aCommand;
|
|
27
|
-
export declare type PathCommand = AbsoluteCommand | RelativeCommand;
|
|
28
|
-
export declare type MSegment = [MCommand, number, number];
|
|
29
|
-
export declare type mSegment = [mCommand, number, number];
|
|
30
|
-
export declare type MoveSegment = MSegment | mSegment;
|
|
31
|
-
export declare type LSegment = [LCommand, number, number];
|
|
32
|
-
export declare type lSegment = [lCommand, number, number];
|
|
33
|
-
export declare type LineSegment = LSegment | lSegment;
|
|
34
|
-
export declare type VSegment = [VCommand, number];
|
|
35
|
-
export declare type vSegment = [vCommand, number];
|
|
36
|
-
export declare type VertLineSegment = vSegment | VSegment;
|
|
37
|
-
export declare type HSegment = [HCommand, number];
|
|
38
|
-
export declare type hSegment = [hCommand, number];
|
|
39
|
-
export declare type HorLineSegment = HSegment | hSegment;
|
|
40
|
-
export declare type ZSegment = [ZCommand];
|
|
41
|
-
export declare type zSegment = [zCommand];
|
|
42
|
-
export declare type CloseSegment = ZSegment | zSegment;
|
|
43
|
-
export declare type CSegment = [CCommand, number, number, number, number, number, number];
|
|
44
|
-
export declare type cSegment = [cCommand, number, number, number, number, number, number];
|
|
45
|
-
export declare type CubicSegment = CSegment | cSegment;
|
|
46
|
-
export declare type SSegment = [SCommand, number, number, number, number];
|
|
47
|
-
export declare type sSegment = [sCommand, number, number, number, number];
|
|
48
|
-
export declare type ShortCubicSegment = SSegment | sSegment;
|
|
49
|
-
export declare type QSegment = [QCommand, number, number, number, number];
|
|
50
|
-
export declare type qSegment = [qCommand, number, number, number, number];
|
|
51
|
-
export declare type QuadSegment = QSegment | qSegment;
|
|
52
|
-
export declare type TSegment = [TCommand, number, number];
|
|
53
|
-
export declare type tSegment = [tCommand, number, number];
|
|
54
|
-
export declare type ShortQuadSegment = TSegment | tSegment;
|
|
55
|
-
export declare type ASegment = [ACommand, number, number, number, number, number, number, number];
|
|
56
|
-
export declare type aSegment = [aCommand, number, number, number, number, number, number, number];
|
|
57
|
-
export declare type ArcSegment = ASegment | aSegment;
|
|
58
|
-
export declare type PathSegment = MoveSegment | LineSegment | VertLineSegment | HorLineSegment | CloseSegment | CubicSegment | ShortCubicSegment | QuadSegment | ShortQuadSegment | ArcSegment;
|
|
59
|
-
export interface SegmentProperties {
|
|
60
|
-
/** the segment */
|
|
61
|
-
segment: PathSegment;
|
|
62
|
-
/** the segment index */
|
|
63
|
-
index: number;
|
|
64
|
-
/** the segment length */
|
|
65
|
-
length: number;
|
|
66
|
-
/** the length including the segment length */
|
|
67
|
-
lengthAtSegment: number;
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
}
|
|
70
|
-
export declare type ShortSegment = VertLineSegment | HorLineSegment | ShortCubicSegment | ShortQuadSegment | CloseSegment;
|
|
71
|
-
export declare type AbsoluteSegment = MSegment | LSegment | VSegment | HSegment | CSegment | SSegment | QSegment | TSegment | ASegment | ZSegment;
|
|
72
|
-
export declare type RelativeSegment = mSegment | lSegment | vSegment | hSegment | cSegment | sSegment | qSegment | tSegment | aSegment | zSegment;
|
|
73
|
-
export declare type NormalSegment = MSegment | LSegment | CSegment | QSegment | ASegment | ZSegment;
|
|
74
|
-
export declare type PathArray = [MSegment | mSegment, ...PathSegment[]];
|
|
75
|
-
export declare type AbsoluteArray = [MSegment, ...AbsoluteSegment[]];
|
|
76
|
-
export declare type RelativeArray = [MSegment, ...RelativeSegment[]];
|
|
77
|
-
export declare type NormalArray = [MSegment, ...NormalSegment[]];
|
|
78
|
-
export declare type CurveArray = [MSegment, ...CSegment[]];
|
|
79
|
-
export declare type PolygonArray = [MSegment, ...LSegment[], ZSegment];
|
|
80
|
-
export declare type PolylineArray = [MSegment, ...LSegment[]];
|
|
81
|
-
export interface ParserParams {
|
|
82
|
-
x1: number;
|
|
83
|
-
y1: number;
|
|
84
|
-
x2: number;
|
|
85
|
-
y2: number;
|
|
86
|
-
x: number;
|
|
87
|
-
y: number;
|
|
88
|
-
qx: number | null;
|
|
89
|
-
qy: number | null;
|
|
90
|
-
}
|
|
91
|
-
export interface PathBBox {
|
|
92
|
-
width: number;
|
|
93
|
-
height: number;
|
|
94
|
-
x: number;
|
|
95
|
-
y: number;
|
|
96
|
-
x2: number;
|
|
97
|
-
y2: number;
|
|
98
|
-
cx: number;
|
|
99
|
-
cy: number;
|
|
100
|
-
cz: number;
|
|
101
|
-
}
|
|
102
|
-
export interface PathBBoxTotalLength extends PathBBox {
|
|
103
|
-
length: number;
|
|
104
|
-
}
|
|
105
|
-
export interface PathLengthFactoryOptions {
|
|
106
|
-
bbox: boolean;
|
|
107
|
-
length: boolean;
|
|
108
|
-
sampleSize: number;
|
|
109
|
-
}
|
|
110
|
-
export interface SegmentLimits {
|
|
111
|
-
min: Point;
|
|
112
|
-
max: Point;
|
|
113
|
-
}
|
|
114
|
-
export interface PointProperties {
|
|
115
|
-
closest: {
|
|
116
|
-
x: number;
|
|
117
|
-
y: number;
|
|
118
|
-
};
|
|
119
|
-
distance: number;
|
|
120
|
-
segment?: SegmentProperties;
|
|
121
|
-
}
|
|
122
|
-
export interface LengthFactory {
|
|
123
|
-
length: number;
|
|
124
|
-
point: Point;
|
|
125
|
-
min: Point;
|
|
126
|
-
max: Point;
|
|
127
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: (obj: any, key: string | any[], defaultValue?: any) => any;
|
|
2
1
|
/**
|
|
3
2
|
* https://github.com/developit/dlv/blob/master/index.js
|
|
4
3
|
* @param obj
|
|
5
4
|
* @param key
|
|
6
5
|
* @param defaultValue
|
|
7
6
|
*/
|
|
7
|
+
declare const _default: (obj: any, key: string | any[], defaultValue?: any) => any;
|
|
8
8
|
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
declare const _default: <T>(value: T, other: T, fn: (v1: T, v2: T) => boolean) => boolean;
|
|
2
1
|
/**
|
|
3
2
|
* @param {*} value The value to compare.
|
|
4
3
|
* @param {*} other The other value to compare.
|
|
@@ -21,4 +20,5 @@ declare const _default: <T>(value: T, other: T, fn: (v1: T, v2: T) => boolean) =
|
|
|
21
20
|
*
|
|
22
21
|
* isEqualWith(array, other, customizer); // => true
|
|
23
22
|
*/
|
|
23
|
+
declare const _default: <T>(value: T, other: T, fn: (v1: T, v2: T) => boolean) => boolean;
|
|
24
24
|
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
declare const _default: (arr: number[]) => number | undefined;
|
|
2
1
|
/**
|
|
3
2
|
* @param {Array} arr The array to iterate over.
|
|
4
3
|
* @return {*} Returns the minimum value.
|
|
@@ -16,4 +15,5 @@ declare const _default: (arr: number[]) => number | undefined;
|
|
|
16
15
|
* // => 1250010
|
|
17
16
|
* // Math.min(...data) will encounter "Maximum call stack size exceeded" error
|
|
18
17
|
*/
|
|
18
|
+
declare const _default: (arr: number[]) => number | undefined;
|
|
19
19
|
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: (obj: any, path: string | any[], value: any) => any;
|
|
2
1
|
/**
|
|
3
2
|
* https://github.com/developit/dlv/blob/master/index.js
|
|
4
3
|
* @param obj
|
|
5
4
|
* @param path
|
|
6
5
|
* @param value
|
|
7
6
|
*/
|
|
7
|
+
declare const _default: (obj: any, path: string | any[], value: any) => any;
|
|
8
8
|
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|