victory-vendor 36.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +30 -0
- package/README.md +70 -0
- package/d3-array.js +7 -0
- package/d3-ease.js +7 -0
- package/d3-interpolate.js +7 -0
- package/d3-scale.js +7 -0
- package/d3-shape.js +7 -0
- package/d3-time.js +7 -0
- package/d3-timer.js +7 -0
- package/es/d3-array.js +6 -0
- package/es/d3-color.js +6 -0
- package/es/d3-ease.js +6 -0
- package/es/d3-format.js +6 -0
- package/es/d3-interpolate.js +6 -0
- package/es/d3-path.js +6 -0
- package/es/d3-scale.js +6 -0
- package/es/d3-shape.js +6 -0
- package/es/d3-time-format.js +6 -0
- package/es/d3-time.js +6 -0
- package/es/d3-timer.js +6 -0
- package/es/internmap.js +6 -0
- package/lib/d3-array.js +6 -0
- package/lib/d3-color.js +6 -0
- package/lib/d3-ease.js +6 -0
- package/lib/d3-format.js +6 -0
- package/lib/d3-interpolate.js +6 -0
- package/lib/d3-path.js +6 -0
- package/lib/d3-scale.js +6 -0
- package/lib/d3-shape.js +6 -0
- package/lib/d3-time-format.js +6 -0
- package/lib/d3-time.js +6 -0
- package/lib/d3-timer.js +6 -0
- package/lib/internmap.js +6 -0
- package/lib-vendor/d3-array/LICENSE +13 -0
- package/lib-vendor/d3-array/src/array.js +11 -0
- package/lib-vendor/d3-array/src/ascending.js +10 -0
- package/lib-vendor/d3-array/src/bin.js +142 -0
- package/lib-vendor/d3-array/src/bisect.js +24 -0
- package/lib-vendor/d3-array/src/bisector.js +73 -0
- package/lib-vendor/d3-array/src/constant.js +10 -0
- package/lib-vendor/d3-array/src/count.js +28 -0
- package/lib-vendor/d3-array/src/cross.js +42 -0
- package/lib-vendor/d3-array/src/cumsum.js +12 -0
- package/lib-vendor/d3-array/src/descending.js +10 -0
- package/lib-vendor/d3-array/src/deviation.js +15 -0
- package/lib-vendor/d3-array/src/difference.js +20 -0
- package/lib-vendor/d3-array/src/disjoint.js +29 -0
- package/lib-vendor/d3-array/src/every.js +19 -0
- package/lib-vendor/d3-array/src/extent.js +39 -0
- package/lib-vendor/d3-array/src/filter.js +20 -0
- package/lib-vendor/d3-array/src/fsum.js +93 -0
- package/lib-vendor/d3-array/src/greatest.js +38 -0
- package/lib-vendor/d3-array/src/greatestIndex.js +30 -0
- package/lib-vendor/d3-array/src/group.js +85 -0
- package/lib-vendor/d3-array/src/groupSort.js +22 -0
- package/lib-vendor/d3-array/src/identity.js +10 -0
- package/lib-vendor/d3-array/src/index.js +567 -0
- package/lib-vendor/d3-array/src/intersection.js +28 -0
- package/lib-vendor/d3-array/src/least.js +38 -0
- package/lib-vendor/d3-array/src/leastIndex.js +30 -0
- package/lib-vendor/d3-array/src/map.js +12 -0
- package/lib-vendor/d3-array/src/max.js +28 -0
- package/lib-vendor/d3-array/src/maxIndex.js +30 -0
- package/lib-vendor/d3-array/src/mean.js +29 -0
- package/lib-vendor/d3-array/src/median.js +14 -0
- package/lib-vendor/d3-array/src/merge.js +16 -0
- package/lib-vendor/d3-array/src/min.js +28 -0
- package/lib-vendor/d3-array/src/minIndex.js +30 -0
- package/lib-vendor/d3-array/src/mode.js +40 -0
- package/lib-vendor/d3-array/src/nice.js +28 -0
- package/lib-vendor/d3-array/src/number.js +29 -0
- package/lib-vendor/d3-array/src/pairs.js +25 -0
- package/lib-vendor/d3-array/src/permute.js +10 -0
- package/lib-vendor/d3-array/src/quantile.js +46 -0
- package/lib-vendor/d3-array/src/quickselect.js +53 -0
- package/lib-vendor/d3-array/src/range.js +19 -0
- package/lib-vendor/d3-array/src/rank.js +34 -0
- package/lib-vendor/d3-array/src/reduce.js +32 -0
- package/lib-vendor/d3-array/src/reverse.js +11 -0
- package/lib-vendor/d3-array/src/scan.js +15 -0
- package/lib-vendor/d3-array/src/shuffle.js +26 -0
- package/lib-vendor/d3-array/src/some.js +19 -0
- package/lib-vendor/d3-array/src/sort.js +55 -0
- package/lib-vendor/d3-array/src/subset.js +14 -0
- package/lib-vendor/d3-array/src/sum.js +28 -0
- package/lib-vendor/d3-array/src/superset.js +33 -0
- package/lib-vendor/d3-array/src/threshold/freedmanDiaconis.js +16 -0
- package/lib-vendor/d3-array/src/threshold/scott.js +16 -0
- package/lib-vendor/d3-array/src/threshold/sturges.js +14 -0
- package/lib-vendor/d3-array/src/ticks.js +60 -0
- package/lib-vendor/d3-array/src/transpose.js +26 -0
- package/lib-vendor/d3-array/src/union.js +20 -0
- package/lib-vendor/d3-array/src/variance.js +35 -0
- package/lib-vendor/d3-array/src/zip.js +14 -0
- package/lib-vendor/d3-color/LICENSE +13 -0
- package/lib-vendor/d3-color/src/color.js +413 -0
- package/lib-vendor/d3-color/src/cubehelix.js +74 -0
- package/lib-vendor/d3-color/src/define.js +20 -0
- package/lib-vendor/d3-color/src/index.js +65 -0
- package/lib-vendor/d3-color/src/lab.js +146 -0
- package/lib-vendor/d3-color/src/math.js +10 -0
- package/lib-vendor/d3-ease/LICENSE +28 -0
- package/lib-vendor/d3-ease/src/back.js +46 -0
- package/lib-vendor/d3-ease/src/bounce.js +30 -0
- package/lib-vendor/d3-ease/src/circle.js +20 -0
- package/lib-vendor/d3-ease/src/cubic.js +20 -0
- package/lib-vendor/d3-ease/src/elastic.js +72 -0
- package/lib-vendor/d3-ease/src/exp.js +22 -0
- package/lib-vendor/d3-ease/src/index.js +247 -0
- package/lib-vendor/d3-ease/src/linear.js +10 -0
- package/lib-vendor/d3-ease/src/math.js +11 -0
- package/lib-vendor/d3-ease/src/poly.js +46 -0
- package/lib-vendor/d3-ease/src/quad.js +20 -0
- package/lib-vendor/d3-ease/src/sin.js +22 -0
- package/lib-vendor/d3-format/LICENSE +13 -0
- package/lib-vendor/d3-format/src/defaultLocale.js +29 -0
- package/lib-vendor/d3-format/src/exponent.js +12 -0
- package/lib-vendor/d3-format/src/formatDecimal.js +24 -0
- package/lib-vendor/d3-format/src/formatGroup.js +25 -0
- package/lib-vendor/d3-format/src/formatNumerals.js +14 -0
- package/lib-vendor/d3-format/src/formatPrefixAuto.js +22 -0
- package/lib-vendor/d3-format/src/formatRounded.js +16 -0
- package/lib-vendor/d3-format/src/formatSpecifier.js +45 -0
- package/lib-vendor/d3-format/src/formatTrim.js +29 -0
- package/lib-vendor/d3-format/src/formatTypes.js +31 -0
- package/lib-vendor/d3-format/src/identity.js +10 -0
- package/lib-vendor/d3-format/src/index.js +77 -0
- package/lib-vendor/d3-format/src/locale.js +159 -0
- package/lib-vendor/d3-format/src/precisionFixed.js +14 -0
- package/lib-vendor/d3-format/src/precisionPrefix.js +14 -0
- package/lib-vendor/d3-format/src/precisionRound.js +15 -0
- package/lib-vendor/d3-interpolate/LICENSE +13 -0
- package/lib-vendor/d3-interpolate/src/array.js +39 -0
- package/lib-vendor/d3-interpolate/src/basis.js +25 -0
- package/lib-vendor/d3-interpolate/src/basisClosed.js +20 -0
- package/lib-vendor/d3-interpolate/src/color.js +40 -0
- package/lib-vendor/d3-interpolate/src/constant.js +10 -0
- package/lib-vendor/d3-interpolate/src/cubehelix.js +43 -0
- package/lib-vendor/d3-interpolate/src/date.js +13 -0
- package/lib-vendor/d3-interpolate/src/discrete.js +13 -0
- package/lib-vendor/d3-interpolate/src/hcl.js +36 -0
- package/lib-vendor/d3-interpolate/src/hsl.js +36 -0
- package/lib-vendor/d3-interpolate/src/hue.js +16 -0
- package/lib-vendor/d3-interpolate/src/index.js +215 -0
- package/lib-vendor/d3-interpolate/src/lab.js +26 -0
- package/lib-vendor/d3-interpolate/src/number.js +12 -0
- package/lib-vendor/d3-interpolate/src/numberArray.js +23 -0
- package/lib-vendor/d3-interpolate/src/object.js +32 -0
- package/lib-vendor/d3-interpolate/src/piecewise.js +25 -0
- package/lib-vendor/d3-interpolate/src/quantize.js +14 -0
- package/lib-vendor/d3-interpolate/src/rgb.js +77 -0
- package/lib-vendor/d3-interpolate/src/round.js +12 -0
- package/lib-vendor/d3-interpolate/src/string.js +83 -0
- package/lib-vendor/d3-interpolate/src/transform/decompose.js +33 -0
- package/lib-vendor/d3-interpolate/src/transform/index.js +100 -0
- package/lib-vendor/d3-interpolate/src/transform/parse.js +30 -0
- package/lib-vendor/d3-interpolate/src/value.js +36 -0
- package/lib-vendor/d3-interpolate/src/zoom.js +75 -0
- package/lib-vendor/d3-path/LICENSE +13 -0
- package/lib-vendor/d3-path/src/index.js +15 -0
- package/lib-vendor/d3-path/src/path.js +120 -0
- package/lib-vendor/d3-scale/LICENSE +13 -0
- package/lib-vendor/d3-scale/src/band.js +109 -0
- package/lib-vendor/d3-scale/src/colors.js +12 -0
- package/lib-vendor/d3-scale/src/constant.js +12 -0
- package/lib-vendor/d3-scale/src/continuous.js +140 -0
- package/lib-vendor/d3-scale/src/diverging.js +121 -0
- package/lib-vendor/d3-scale/src/identity.js +37 -0
- package/lib-vendor/d3-scale/src/index.js +213 -0
- package/lib-vendor/d3-scale/src/init.js +46 -0
- package/lib-vendor/d3-scale/src/linear.js +88 -0
- package/lib-vendor/d3-scale/src/log.js +156 -0
- package/lib-vendor/d3-scale/src/nice.js +24 -0
- package/lib-vendor/d3-scale/src/number.js +10 -0
- package/lib-vendor/d3-scale/src/ordinal.js +60 -0
- package/lib-vendor/d3-scale/src/pow.js +59 -0
- package/lib-vendor/d3-scale/src/quantile.js +64 -0
- package/lib-vendor/d3-scale/src/quantize.js +61 -0
- package/lib-vendor/d3-scale/src/radial.js +72 -0
- package/lib-vendor/d3-scale/src/sequential.js +120 -0
- package/lib-vendor/d3-scale/src/sequentialQuantile.js +51 -0
- package/lib-vendor/d3-scale/src/symlog.js +46 -0
- package/lib-vendor/d3-scale/src/threshold.js +44 -0
- package/lib-vendor/d3-scale/src/tickFormat.js +44 -0
- package/lib-vendor/d3-scale/src/time.js +82 -0
- package/lib-vendor/d3-scale/src/utcTime.js +18 -0
- package/lib-vendor/d3-shape/LICENSE +13 -0
- package/lib-vendor/d3-shape/src/arc.js +243 -0
- package/lib-vendor/d3-shape/src/area.js +125 -0
- package/lib-vendor/d3-shape/src/areaRadial.js +51 -0
- package/lib-vendor/d3-shape/src/array.js +14 -0
- package/lib-vendor/d3-shape/src/constant.js +12 -0
- package/lib-vendor/d3-shape/src/curve/basis.js +76 -0
- package/lib-vendor/d3-shape/src/curve/basisClosed.js +90 -0
- package/lib-vendor/d3-shape/src/curve/basisOpen.js +64 -0
- package/lib-vendor/d3-shape/src/curve/bump.js +104 -0
- package/lib-vendor/d3-shape/src/curve/bundle.js +65 -0
- package/lib-vendor/d3-shape/src/curve/cardinal.js +85 -0
- package/lib-vendor/d3-shape/src/curve/cardinalClosed.js +99 -0
- package/lib-vendor/d3-shape/src/curve/cardinalOpen.js +74 -0
- package/lib-vendor/d3-shape/src/curve/catmullRom.js +114 -0
- package/lib-vendor/d3-shape/src/curve/catmullRomClosed.js +108 -0
- package/lib-vendor/d3-shape/src/curve/catmullRomOpen.js +83 -0
- package/lib-vendor/d3-shape/src/curve/linear.js +49 -0
- package/lib-vendor/d3-shape/src/curve/linearClosed.js +33 -0
- package/lib-vendor/d3-shape/src/curve/monotone.js +139 -0
- package/lib-vendor/d3-shape/src/curve/natural.js +82 -0
- package/lib-vendor/d3-shape/src/curve/radial.js +45 -0
- package/lib-vendor/d3-shape/src/curve/step.js +76 -0
- package/lib-vendor/d3-shape/src/descending.js +10 -0
- package/lib-vendor/d3-shape/src/identity.js +10 -0
- package/lib-vendor/d3-shape/src/index.js +483 -0
- package/lib-vendor/d3-shape/src/line.js +68 -0
- package/lib-vendor/d3-shape/src/lineRadial.js +33 -0
- package/lib-vendor/d3-shape/src/link.js +90 -0
- package/lib-vendor/d3-shape/src/math.js +39 -0
- package/lib-vendor/d3-shape/src/noop.js +8 -0
- package/lib-vendor/d3-shape/src/offset/diverging.js +22 -0
- package/lib-vendor/d3-shape/src/offset/expand.js +22 -0
- package/lib-vendor/d3-shape/src/offset/none.js +18 -0
- package/lib-vendor/d3-shape/src/offset/silhouette.js +22 -0
- package/lib-vendor/d3-shape/src/offset/wiggle.js +38 -0
- package/lib-vendor/d3-shape/src/order/appearance.js +29 -0
- package/lib-vendor/d3-shape/src/order/ascending.js +29 -0
- package/lib-vendor/d3-shape/src/order/descending.js +14 -0
- package/lib-vendor/d3-shape/src/order/insideOut.js +38 -0
- package/lib-vendor/d3-shape/src/order/none.js +15 -0
- package/lib-vendor/d3-shape/src/order/reverse.js +14 -0
- package/lib-vendor/d3-shape/src/pie.js +95 -0
- package/lib-vendor/d3-shape/src/point.js +15 -0
- package/lib-vendor/d3-shape/src/pointRadial.js +10 -0
- package/lib-vendor/d3-shape/src/stack.js +72 -0
- package/lib-vendor/d3-shape/src/symbol/asterisk.js +25 -0
- package/lib-vendor/d3-shape/src/symbol/circle.js +18 -0
- package/lib-vendor/d3-shape/src/symbol/cross.js +29 -0
- package/lib-vendor/d3-shape/src/symbol/diamond.js +24 -0
- package/lib-vendor/d3-shape/src/symbol/diamond2.js +21 -0
- package/lib-vendor/d3-shape/src/symbol/plus.js +20 -0
- package/lib-vendor/d3-shape/src/symbol/square.js +18 -0
- package/lib-vendor/d3-shape/src/symbol/square2.js +21 -0
- package/lib-vendor/d3-shape/src/symbol/star.js +34 -0
- package/lib-vendor/d3-shape/src/symbol/triangle.js +21 -0
- package/lib-vendor/d3-shape/src/symbol/triangle2.js +24 -0
- package/lib-vendor/d3-shape/src/symbol/wye.js +36 -0
- package/lib-vendor/d3-shape/src/symbol/x.js +20 -0
- package/lib-vendor/d3-shape/src/symbol.js +73 -0
- package/lib-vendor/d3-time/LICENSE +13 -0
- package/lib-vendor/d3-time/src/day.js +18 -0
- package/lib-vendor/d3-time/src/duration.js +20 -0
- package/lib-vendor/d3-time/src/hour.js +26 -0
- package/lib-vendor/d3-time/src/index.js +433 -0
- package/lib-vendor/d3-time/src/interval.js +79 -0
- package/lib-vendor/d3-time/src/millisecond.js +35 -0
- package/lib-vendor/d3-time/src/minute.js +26 -0
- package/lib-vendor/d3-time/src/month.js +25 -0
- package/lib-vendor/d3-time/src/second.js +26 -0
- package/lib-vendor/d3-time/src/ticks.js +71 -0
- package/lib-vendor/d3-time/src/utcDay.js +26 -0
- package/lib-vendor/d3-time/src/utcHour.js +26 -0
- package/lib-vendor/d3-time/src/utcMinute.js +26 -0
- package/lib-vendor/d3-time/src/utcMonth.js +25 -0
- package/lib-vendor/d3-time/src/utcWeek.js +52 -0
- package/lib-vendor/d3-time/src/utcYear.js +36 -0
- package/lib-vendor/d3-time/src/week.js +52 -0
- package/lib-vendor/d3-time/src/year.js +36 -0
- package/lib-vendor/d3-time-format/LICENSE +13 -0
- package/lib-vendor/d3-time-format/src/defaultLocale.js +40 -0
- package/lib-vendor/d3-time-format/src/index.js +67 -0
- package/lib-vendor/d3-time-format/src/isoFormat.js +19 -0
- package/lib-vendor/d3-time-format/src/isoParse.js +19 -0
- package/lib-vendor/d3-time-format/src/locale.js +713 -0
- package/lib-vendor/d3-timer/LICENSE +13 -0
- package/lib-vendor/d3-timer/src/index.js +43 -0
- package/lib-vendor/d3-timer/src/interval.js +30 -0
- package/lib-vendor/d3-timer/src/timeout.js +18 -0
- package/lib-vendor/d3-timer/src/timer.js +138 -0
- package/lib-vendor/internmap/LICENSE +13 -0
- package/lib-vendor/internmap/src/index.js +111 -0
- package/package.json +43 -0
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "easeBack", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _back.backInOut;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "easeBackIn", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _back.backIn;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "easeBackInOut", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _back.backInOut;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "easeBackOut", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _back.backOut;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "easeBounce", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _bounce.bounceOut;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "easeBounceIn", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _bounce.bounceIn;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "easeBounceInOut", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _bounce.bounceInOut;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "easeBounceOut", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return _bounce.bounceOut;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "easeCircle", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _circle.circleInOut;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "easeCircleIn", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return _circle.circleIn;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "easeCircleInOut", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _circle.circleInOut;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "easeCircleOut", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () {
|
|
75
|
+
return _circle.circleOut;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "easeCubic", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return _cubic.cubicInOut;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "easeCubicIn", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () {
|
|
87
|
+
return _cubic.cubicIn;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "easeCubicInOut", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () {
|
|
93
|
+
return _cubic.cubicInOut;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "easeCubicOut", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () {
|
|
99
|
+
return _cubic.cubicOut;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "easeElastic", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () {
|
|
105
|
+
return _elastic.elasticOut;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "easeElasticIn", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () {
|
|
111
|
+
return _elastic.elasticIn;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "easeElasticInOut", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () {
|
|
117
|
+
return _elastic.elasticInOut;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "easeElasticOut", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () {
|
|
123
|
+
return _elastic.elasticOut;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "easeExp", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () {
|
|
129
|
+
return _exp.expInOut;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "easeExpIn", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () {
|
|
135
|
+
return _exp.expIn;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "easeExpInOut", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () {
|
|
141
|
+
return _exp.expInOut;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "easeExpOut", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () {
|
|
147
|
+
return _exp.expOut;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "easeLinear", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () {
|
|
153
|
+
return _linear.linear;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "easePoly", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () {
|
|
159
|
+
return _poly.polyInOut;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "easePolyIn", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function () {
|
|
165
|
+
return _poly.polyIn;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "easePolyInOut", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () {
|
|
171
|
+
return _poly.polyInOut;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(exports, "easePolyOut", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function () {
|
|
177
|
+
return _poly.polyOut;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "easeQuad", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () {
|
|
183
|
+
return _quad.quadInOut;
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
Object.defineProperty(exports, "easeQuadIn", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () {
|
|
189
|
+
return _quad.quadIn;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "easeQuadInOut", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () {
|
|
195
|
+
return _quad.quadInOut;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
Object.defineProperty(exports, "easeQuadOut", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () {
|
|
201
|
+
return _quad.quadOut;
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "easeSin", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () {
|
|
207
|
+
return _sin.sinInOut;
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
Object.defineProperty(exports, "easeSinIn", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () {
|
|
213
|
+
return _sin.sinIn;
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
Object.defineProperty(exports, "easeSinInOut", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () {
|
|
219
|
+
return _sin.sinInOut;
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
Object.defineProperty(exports, "easeSinOut", {
|
|
223
|
+
enumerable: true,
|
|
224
|
+
get: function () {
|
|
225
|
+
return _sin.sinOut;
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
|
|
229
|
+
var _linear = require("./linear.js");
|
|
230
|
+
|
|
231
|
+
var _quad = require("./quad.js");
|
|
232
|
+
|
|
233
|
+
var _cubic = require("./cubic.js");
|
|
234
|
+
|
|
235
|
+
var _poly = require("./poly.js");
|
|
236
|
+
|
|
237
|
+
var _sin = require("./sin.js");
|
|
238
|
+
|
|
239
|
+
var _exp = require("./exp.js");
|
|
240
|
+
|
|
241
|
+
var _circle = require("./circle.js");
|
|
242
|
+
|
|
243
|
+
var _bounce = require("./bounce.js");
|
|
244
|
+
|
|
245
|
+
var _back = require("./back.js");
|
|
246
|
+
|
|
247
|
+
var _elastic = require("./elastic.js");
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.tpmt = tpmt;
|
|
7
|
+
|
|
8
|
+
// tpmt is two power minus ten times t scaled to [0,1]
|
|
9
|
+
function tpmt(x) {
|
|
10
|
+
return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494;
|
|
11
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.polyOut = exports.polyInOut = exports.polyIn = void 0;
|
|
7
|
+
var exponent = 3;
|
|
8
|
+
|
|
9
|
+
var polyIn = function custom(e) {
|
|
10
|
+
e = +e;
|
|
11
|
+
|
|
12
|
+
function polyIn(t) {
|
|
13
|
+
return Math.pow(t, e);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
polyIn.exponent = custom;
|
|
17
|
+
return polyIn;
|
|
18
|
+
}(exponent);
|
|
19
|
+
|
|
20
|
+
exports.polyIn = polyIn;
|
|
21
|
+
|
|
22
|
+
var polyOut = function custom(e) {
|
|
23
|
+
e = +e;
|
|
24
|
+
|
|
25
|
+
function polyOut(t) {
|
|
26
|
+
return 1 - Math.pow(1 - t, e);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
polyOut.exponent = custom;
|
|
30
|
+
return polyOut;
|
|
31
|
+
}(exponent);
|
|
32
|
+
|
|
33
|
+
exports.polyOut = polyOut;
|
|
34
|
+
|
|
35
|
+
var polyInOut = function custom(e) {
|
|
36
|
+
e = +e;
|
|
37
|
+
|
|
38
|
+
function polyInOut(t) {
|
|
39
|
+
return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
polyInOut.exponent = custom;
|
|
43
|
+
return polyInOut;
|
|
44
|
+
}(exponent);
|
|
45
|
+
|
|
46
|
+
exports.polyInOut = polyInOut;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.quadIn = quadIn;
|
|
7
|
+
exports.quadInOut = quadInOut;
|
|
8
|
+
exports.quadOut = quadOut;
|
|
9
|
+
|
|
10
|
+
function quadIn(t) {
|
|
11
|
+
return t * t;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function quadOut(t) {
|
|
15
|
+
return t * (2 - t);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function quadInOut(t) {
|
|
19
|
+
return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.sinIn = sinIn;
|
|
7
|
+
exports.sinInOut = sinInOut;
|
|
8
|
+
exports.sinOut = sinOut;
|
|
9
|
+
var pi = Math.PI,
|
|
10
|
+
halfPi = pi / 2;
|
|
11
|
+
|
|
12
|
+
function sinIn(t) {
|
|
13
|
+
return +t === 1 ? 1 : 1 - Math.cos(t * halfPi);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function sinOut(t) {
|
|
17
|
+
return Math.sin(t * halfPi);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function sinInOut(t) {
|
|
21
|
+
return (1 - Math.cos(pi * t)) / 2;
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2010-2021 Mike Bostock
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
4
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
5
|
+
and this permission notice appear in all copies.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
11
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
12
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
13
|
+
THIS SOFTWARE.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = defaultLocale;
|
|
7
|
+
exports.formatPrefix = exports.format = void 0;
|
|
8
|
+
|
|
9
|
+
var _locale = _interopRequireDefault(require("./locale.js"));
|
|
10
|
+
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
|
|
13
|
+
var locale;
|
|
14
|
+
var format;
|
|
15
|
+
exports.format = format;
|
|
16
|
+
var formatPrefix;
|
|
17
|
+
exports.formatPrefix = formatPrefix;
|
|
18
|
+
defaultLocale({
|
|
19
|
+
thousands: ",",
|
|
20
|
+
grouping: [3],
|
|
21
|
+
currency: ["$", ""]
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
function defaultLocale(definition) {
|
|
25
|
+
locale = (0, _locale.default)(definition);
|
|
26
|
+
exports.format = format = locale.format;
|
|
27
|
+
exports.formatPrefix = formatPrefix = locale.formatPrefix;
|
|
28
|
+
return locale;
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
|
|
8
|
+
var _formatDecimal = require("./formatDecimal.js");
|
|
9
|
+
|
|
10
|
+
function _default(x) {
|
|
11
|
+
return x = (0, _formatDecimal.formatDecimalParts)(Math.abs(x)), x ? x[1] : NaN;
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
exports.formatDecimalParts = formatDecimalParts;
|
|
8
|
+
|
|
9
|
+
function _default(x) {
|
|
10
|
+
return Math.abs(x = Math.round(x)) >= 1e21 ? x.toLocaleString("en").replace(/,/g, "") : x.toString(10);
|
|
11
|
+
} // Computes the decimal coefficient and exponent of the specified number x with
|
|
12
|
+
// significant digits p, where x is positive and p is in [1, 21] or undefined.
|
|
13
|
+
// For example, formatDecimalParts(1.23) returns ["123", 0].
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
function formatDecimalParts(x, p) {
|
|
17
|
+
if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; // NaN, ±Infinity
|
|
18
|
+
|
|
19
|
+
var i,
|
|
20
|
+
coefficient = x.slice(0, i); // The string returned by toExponential either has the form \d\.\d+e[-+]\d+
|
|
21
|
+
// (e.g., 1.2e+3) or the form \de[-+]\d+ (e.g., 1e+3).
|
|
22
|
+
|
|
23
|
+
return [coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient, +x.slice(i + 1)];
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
|
|
8
|
+
function _default(grouping, thousands) {
|
|
9
|
+
return function (value, width) {
|
|
10
|
+
var i = value.length,
|
|
11
|
+
t = [],
|
|
12
|
+
j = 0,
|
|
13
|
+
g = grouping[0],
|
|
14
|
+
length = 0;
|
|
15
|
+
|
|
16
|
+
while (i > 0 && g > 0) {
|
|
17
|
+
if (length + g + 1 > width) g = Math.max(1, width - length);
|
|
18
|
+
t.push(value.substring(i -= g, i + g));
|
|
19
|
+
if ((length += g + 1) > width) break;
|
|
20
|
+
g = grouping[j = (j + 1) % grouping.length];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return t.reverse().join(thousands);
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
|
|
8
|
+
function _default(numerals) {
|
|
9
|
+
return function (value) {
|
|
10
|
+
return value.replace(/[0-9]/g, function (i) {
|
|
11
|
+
return numerals[+i];
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
exports.prefixExponent = void 0;
|
|
8
|
+
|
|
9
|
+
var _formatDecimal = require("./formatDecimal.js");
|
|
10
|
+
|
|
11
|
+
var prefixExponent;
|
|
12
|
+
exports.prefixExponent = prefixExponent;
|
|
13
|
+
|
|
14
|
+
function _default(x, p) {
|
|
15
|
+
var d = (0, _formatDecimal.formatDecimalParts)(x, p);
|
|
16
|
+
if (!d) return x + "";
|
|
17
|
+
var coefficient = d[0],
|
|
18
|
+
exponent = d[1],
|
|
19
|
+
i = exponent - (exports.prefixExponent = prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,
|
|
20
|
+
n = coefficient.length;
|
|
21
|
+
return i === n ? coefficient : i > n ? coefficient + new Array(i - n + 1).join("0") : i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i) : "0." + new Array(1 - i).join("0") + (0, _formatDecimal.formatDecimalParts)(x, Math.max(0, p + i - 1))[0]; // less than 1y!
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
|
|
8
|
+
var _formatDecimal = require("./formatDecimal.js");
|
|
9
|
+
|
|
10
|
+
function _default(x, p) {
|
|
11
|
+
var d = (0, _formatDecimal.formatDecimalParts)(x, p);
|
|
12
|
+
if (!d) return x + "";
|
|
13
|
+
var coefficient = d[0],
|
|
14
|
+
exponent = d[1];
|
|
15
|
+
return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) : coefficient + new Array(exponent - coefficient.length + 2).join("0");
|
|
16
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.FormatSpecifier = FormatSpecifier;
|
|
7
|
+
exports.default = formatSpecifier;
|
|
8
|
+
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
9
|
+
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
10
|
+
|
|
11
|
+
function formatSpecifier(specifier) {
|
|
12
|
+
if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier);
|
|
13
|
+
var match;
|
|
14
|
+
return new FormatSpecifier({
|
|
15
|
+
fill: match[1],
|
|
16
|
+
align: match[2],
|
|
17
|
+
sign: match[3],
|
|
18
|
+
symbol: match[4],
|
|
19
|
+
zero: match[5],
|
|
20
|
+
width: match[6],
|
|
21
|
+
comma: match[7],
|
|
22
|
+
precision: match[8] && match[8].slice(1),
|
|
23
|
+
trim: match[9],
|
|
24
|
+
type: match[10]
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof
|
|
29
|
+
|
|
30
|
+
function FormatSpecifier(specifier) {
|
|
31
|
+
this.fill = specifier.fill === undefined ? " " : specifier.fill + "";
|
|
32
|
+
this.align = specifier.align === undefined ? ">" : specifier.align + "";
|
|
33
|
+
this.sign = specifier.sign === undefined ? "-" : specifier.sign + "";
|
|
34
|
+
this.symbol = specifier.symbol === undefined ? "" : specifier.symbol + "";
|
|
35
|
+
this.zero = !!specifier.zero;
|
|
36
|
+
this.width = specifier.width === undefined ? undefined : +specifier.width;
|
|
37
|
+
this.comma = !!specifier.comma;
|
|
38
|
+
this.precision = specifier.precision === undefined ? undefined : +specifier.precision;
|
|
39
|
+
this.trim = !!specifier.trim;
|
|
40
|
+
this.type = specifier.type === undefined ? "" : specifier.type + "";
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
FormatSpecifier.prototype.toString = function () {
|
|
44
|
+
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === undefined ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === undefined ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
|
|
45
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
|
|
8
|
+
// Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.
|
|
9
|
+
function _default(s) {
|
|
10
|
+
out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {
|
|
11
|
+
switch (s[i]) {
|
|
12
|
+
case ".":
|
|
13
|
+
i0 = i1 = i;
|
|
14
|
+
break;
|
|
15
|
+
|
|
16
|
+
case "0":
|
|
17
|
+
if (i0 === 0) i0 = i;
|
|
18
|
+
i1 = i;
|
|
19
|
+
break;
|
|
20
|
+
|
|
21
|
+
default:
|
|
22
|
+
if (!+s[i]) break out;
|
|
23
|
+
if (i0 > 0) i0 = 0;
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _formatDecimal = _interopRequireDefault(require("./formatDecimal.js"));
|
|
9
|
+
|
|
10
|
+
var _formatPrefixAuto = _interopRequireDefault(require("./formatPrefixAuto.js"));
|
|
11
|
+
|
|
12
|
+
var _formatRounded = _interopRequireDefault(require("./formatRounded.js"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
var _default = {
|
|
17
|
+
"%": (x, p) => (x * 100).toFixed(p),
|
|
18
|
+
"b": x => Math.round(x).toString(2),
|
|
19
|
+
"c": x => x + "",
|
|
20
|
+
"d": _formatDecimal.default,
|
|
21
|
+
"e": (x, p) => x.toExponential(p),
|
|
22
|
+
"f": (x, p) => x.toFixed(p),
|
|
23
|
+
"g": (x, p) => x.toPrecision(p),
|
|
24
|
+
"o": x => Math.round(x).toString(8),
|
|
25
|
+
"p": (x, p) => (0, _formatRounded.default)(x * 100, p),
|
|
26
|
+
"r": _formatRounded.default,
|
|
27
|
+
"s": _formatPrefixAuto.default,
|
|
28
|
+
"X": x => Math.round(x).toString(16).toUpperCase(),
|
|
29
|
+
"x": x => Math.round(x).toString(16)
|
|
30
|
+
};
|
|
31
|
+
exports.default = _default;
|