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.
Files changed (279) hide show
  1. package/LICENSE.txt +30 -0
  2. package/README.md +70 -0
  3. package/d3-array.js +7 -0
  4. package/d3-ease.js +7 -0
  5. package/d3-interpolate.js +7 -0
  6. package/d3-scale.js +7 -0
  7. package/d3-shape.js +7 -0
  8. package/d3-time.js +7 -0
  9. package/d3-timer.js +7 -0
  10. package/es/d3-array.js +6 -0
  11. package/es/d3-color.js +6 -0
  12. package/es/d3-ease.js +6 -0
  13. package/es/d3-format.js +6 -0
  14. package/es/d3-interpolate.js +6 -0
  15. package/es/d3-path.js +6 -0
  16. package/es/d3-scale.js +6 -0
  17. package/es/d3-shape.js +6 -0
  18. package/es/d3-time-format.js +6 -0
  19. package/es/d3-time.js +6 -0
  20. package/es/d3-timer.js +6 -0
  21. package/es/internmap.js +6 -0
  22. package/lib/d3-array.js +6 -0
  23. package/lib/d3-color.js +6 -0
  24. package/lib/d3-ease.js +6 -0
  25. package/lib/d3-format.js +6 -0
  26. package/lib/d3-interpolate.js +6 -0
  27. package/lib/d3-path.js +6 -0
  28. package/lib/d3-scale.js +6 -0
  29. package/lib/d3-shape.js +6 -0
  30. package/lib/d3-time-format.js +6 -0
  31. package/lib/d3-time.js +6 -0
  32. package/lib/d3-timer.js +6 -0
  33. package/lib/internmap.js +6 -0
  34. package/lib-vendor/d3-array/LICENSE +13 -0
  35. package/lib-vendor/d3-array/src/array.js +11 -0
  36. package/lib-vendor/d3-array/src/ascending.js +10 -0
  37. package/lib-vendor/d3-array/src/bin.js +142 -0
  38. package/lib-vendor/d3-array/src/bisect.js +24 -0
  39. package/lib-vendor/d3-array/src/bisector.js +73 -0
  40. package/lib-vendor/d3-array/src/constant.js +10 -0
  41. package/lib-vendor/d3-array/src/count.js +28 -0
  42. package/lib-vendor/d3-array/src/cross.js +42 -0
  43. package/lib-vendor/d3-array/src/cumsum.js +12 -0
  44. package/lib-vendor/d3-array/src/descending.js +10 -0
  45. package/lib-vendor/d3-array/src/deviation.js +15 -0
  46. package/lib-vendor/d3-array/src/difference.js +20 -0
  47. package/lib-vendor/d3-array/src/disjoint.js +29 -0
  48. package/lib-vendor/d3-array/src/every.js +19 -0
  49. package/lib-vendor/d3-array/src/extent.js +39 -0
  50. package/lib-vendor/d3-array/src/filter.js +20 -0
  51. package/lib-vendor/d3-array/src/fsum.js +93 -0
  52. package/lib-vendor/d3-array/src/greatest.js +38 -0
  53. package/lib-vendor/d3-array/src/greatestIndex.js +30 -0
  54. package/lib-vendor/d3-array/src/group.js +85 -0
  55. package/lib-vendor/d3-array/src/groupSort.js +22 -0
  56. package/lib-vendor/d3-array/src/identity.js +10 -0
  57. package/lib-vendor/d3-array/src/index.js +567 -0
  58. package/lib-vendor/d3-array/src/intersection.js +28 -0
  59. package/lib-vendor/d3-array/src/least.js +38 -0
  60. package/lib-vendor/d3-array/src/leastIndex.js +30 -0
  61. package/lib-vendor/d3-array/src/map.js +12 -0
  62. package/lib-vendor/d3-array/src/max.js +28 -0
  63. package/lib-vendor/d3-array/src/maxIndex.js +30 -0
  64. package/lib-vendor/d3-array/src/mean.js +29 -0
  65. package/lib-vendor/d3-array/src/median.js +14 -0
  66. package/lib-vendor/d3-array/src/merge.js +16 -0
  67. package/lib-vendor/d3-array/src/min.js +28 -0
  68. package/lib-vendor/d3-array/src/minIndex.js +30 -0
  69. package/lib-vendor/d3-array/src/mode.js +40 -0
  70. package/lib-vendor/d3-array/src/nice.js +28 -0
  71. package/lib-vendor/d3-array/src/number.js +29 -0
  72. package/lib-vendor/d3-array/src/pairs.js +25 -0
  73. package/lib-vendor/d3-array/src/permute.js +10 -0
  74. package/lib-vendor/d3-array/src/quantile.js +46 -0
  75. package/lib-vendor/d3-array/src/quickselect.js +53 -0
  76. package/lib-vendor/d3-array/src/range.js +19 -0
  77. package/lib-vendor/d3-array/src/rank.js +34 -0
  78. package/lib-vendor/d3-array/src/reduce.js +32 -0
  79. package/lib-vendor/d3-array/src/reverse.js +11 -0
  80. package/lib-vendor/d3-array/src/scan.js +15 -0
  81. package/lib-vendor/d3-array/src/shuffle.js +26 -0
  82. package/lib-vendor/d3-array/src/some.js +19 -0
  83. package/lib-vendor/d3-array/src/sort.js +55 -0
  84. package/lib-vendor/d3-array/src/subset.js +14 -0
  85. package/lib-vendor/d3-array/src/sum.js +28 -0
  86. package/lib-vendor/d3-array/src/superset.js +33 -0
  87. package/lib-vendor/d3-array/src/threshold/freedmanDiaconis.js +16 -0
  88. package/lib-vendor/d3-array/src/threshold/scott.js +16 -0
  89. package/lib-vendor/d3-array/src/threshold/sturges.js +14 -0
  90. package/lib-vendor/d3-array/src/ticks.js +60 -0
  91. package/lib-vendor/d3-array/src/transpose.js +26 -0
  92. package/lib-vendor/d3-array/src/union.js +20 -0
  93. package/lib-vendor/d3-array/src/variance.js +35 -0
  94. package/lib-vendor/d3-array/src/zip.js +14 -0
  95. package/lib-vendor/d3-color/LICENSE +13 -0
  96. package/lib-vendor/d3-color/src/color.js +413 -0
  97. package/lib-vendor/d3-color/src/cubehelix.js +74 -0
  98. package/lib-vendor/d3-color/src/define.js +20 -0
  99. package/lib-vendor/d3-color/src/index.js +65 -0
  100. package/lib-vendor/d3-color/src/lab.js +146 -0
  101. package/lib-vendor/d3-color/src/math.js +10 -0
  102. package/lib-vendor/d3-ease/LICENSE +28 -0
  103. package/lib-vendor/d3-ease/src/back.js +46 -0
  104. package/lib-vendor/d3-ease/src/bounce.js +30 -0
  105. package/lib-vendor/d3-ease/src/circle.js +20 -0
  106. package/lib-vendor/d3-ease/src/cubic.js +20 -0
  107. package/lib-vendor/d3-ease/src/elastic.js +72 -0
  108. package/lib-vendor/d3-ease/src/exp.js +22 -0
  109. package/lib-vendor/d3-ease/src/index.js +247 -0
  110. package/lib-vendor/d3-ease/src/linear.js +10 -0
  111. package/lib-vendor/d3-ease/src/math.js +11 -0
  112. package/lib-vendor/d3-ease/src/poly.js +46 -0
  113. package/lib-vendor/d3-ease/src/quad.js +20 -0
  114. package/lib-vendor/d3-ease/src/sin.js +22 -0
  115. package/lib-vendor/d3-format/LICENSE +13 -0
  116. package/lib-vendor/d3-format/src/defaultLocale.js +29 -0
  117. package/lib-vendor/d3-format/src/exponent.js +12 -0
  118. package/lib-vendor/d3-format/src/formatDecimal.js +24 -0
  119. package/lib-vendor/d3-format/src/formatGroup.js +25 -0
  120. package/lib-vendor/d3-format/src/formatNumerals.js +14 -0
  121. package/lib-vendor/d3-format/src/formatPrefixAuto.js +22 -0
  122. package/lib-vendor/d3-format/src/formatRounded.js +16 -0
  123. package/lib-vendor/d3-format/src/formatSpecifier.js +45 -0
  124. package/lib-vendor/d3-format/src/formatTrim.js +29 -0
  125. package/lib-vendor/d3-format/src/formatTypes.js +31 -0
  126. package/lib-vendor/d3-format/src/identity.js +10 -0
  127. package/lib-vendor/d3-format/src/index.js +77 -0
  128. package/lib-vendor/d3-format/src/locale.js +159 -0
  129. package/lib-vendor/d3-format/src/precisionFixed.js +14 -0
  130. package/lib-vendor/d3-format/src/precisionPrefix.js +14 -0
  131. package/lib-vendor/d3-format/src/precisionRound.js +15 -0
  132. package/lib-vendor/d3-interpolate/LICENSE +13 -0
  133. package/lib-vendor/d3-interpolate/src/array.js +39 -0
  134. package/lib-vendor/d3-interpolate/src/basis.js +25 -0
  135. package/lib-vendor/d3-interpolate/src/basisClosed.js +20 -0
  136. package/lib-vendor/d3-interpolate/src/color.js +40 -0
  137. package/lib-vendor/d3-interpolate/src/constant.js +10 -0
  138. package/lib-vendor/d3-interpolate/src/cubehelix.js +43 -0
  139. package/lib-vendor/d3-interpolate/src/date.js +13 -0
  140. package/lib-vendor/d3-interpolate/src/discrete.js +13 -0
  141. package/lib-vendor/d3-interpolate/src/hcl.js +36 -0
  142. package/lib-vendor/d3-interpolate/src/hsl.js +36 -0
  143. package/lib-vendor/d3-interpolate/src/hue.js +16 -0
  144. package/lib-vendor/d3-interpolate/src/index.js +215 -0
  145. package/lib-vendor/d3-interpolate/src/lab.js +26 -0
  146. package/lib-vendor/d3-interpolate/src/number.js +12 -0
  147. package/lib-vendor/d3-interpolate/src/numberArray.js +23 -0
  148. package/lib-vendor/d3-interpolate/src/object.js +32 -0
  149. package/lib-vendor/d3-interpolate/src/piecewise.js +25 -0
  150. package/lib-vendor/d3-interpolate/src/quantize.js +14 -0
  151. package/lib-vendor/d3-interpolate/src/rgb.js +77 -0
  152. package/lib-vendor/d3-interpolate/src/round.js +12 -0
  153. package/lib-vendor/d3-interpolate/src/string.js +83 -0
  154. package/lib-vendor/d3-interpolate/src/transform/decompose.js +33 -0
  155. package/lib-vendor/d3-interpolate/src/transform/index.js +100 -0
  156. package/lib-vendor/d3-interpolate/src/transform/parse.js +30 -0
  157. package/lib-vendor/d3-interpolate/src/value.js +36 -0
  158. package/lib-vendor/d3-interpolate/src/zoom.js +75 -0
  159. package/lib-vendor/d3-path/LICENSE +13 -0
  160. package/lib-vendor/d3-path/src/index.js +15 -0
  161. package/lib-vendor/d3-path/src/path.js +120 -0
  162. package/lib-vendor/d3-scale/LICENSE +13 -0
  163. package/lib-vendor/d3-scale/src/band.js +109 -0
  164. package/lib-vendor/d3-scale/src/colors.js +12 -0
  165. package/lib-vendor/d3-scale/src/constant.js +12 -0
  166. package/lib-vendor/d3-scale/src/continuous.js +140 -0
  167. package/lib-vendor/d3-scale/src/diverging.js +121 -0
  168. package/lib-vendor/d3-scale/src/identity.js +37 -0
  169. package/lib-vendor/d3-scale/src/index.js +213 -0
  170. package/lib-vendor/d3-scale/src/init.js +46 -0
  171. package/lib-vendor/d3-scale/src/linear.js +88 -0
  172. package/lib-vendor/d3-scale/src/log.js +156 -0
  173. package/lib-vendor/d3-scale/src/nice.js +24 -0
  174. package/lib-vendor/d3-scale/src/number.js +10 -0
  175. package/lib-vendor/d3-scale/src/ordinal.js +60 -0
  176. package/lib-vendor/d3-scale/src/pow.js +59 -0
  177. package/lib-vendor/d3-scale/src/quantile.js +64 -0
  178. package/lib-vendor/d3-scale/src/quantize.js +61 -0
  179. package/lib-vendor/d3-scale/src/radial.js +72 -0
  180. package/lib-vendor/d3-scale/src/sequential.js +120 -0
  181. package/lib-vendor/d3-scale/src/sequentialQuantile.js +51 -0
  182. package/lib-vendor/d3-scale/src/symlog.js +46 -0
  183. package/lib-vendor/d3-scale/src/threshold.js +44 -0
  184. package/lib-vendor/d3-scale/src/tickFormat.js +44 -0
  185. package/lib-vendor/d3-scale/src/time.js +82 -0
  186. package/lib-vendor/d3-scale/src/utcTime.js +18 -0
  187. package/lib-vendor/d3-shape/LICENSE +13 -0
  188. package/lib-vendor/d3-shape/src/arc.js +243 -0
  189. package/lib-vendor/d3-shape/src/area.js +125 -0
  190. package/lib-vendor/d3-shape/src/areaRadial.js +51 -0
  191. package/lib-vendor/d3-shape/src/array.js +14 -0
  192. package/lib-vendor/d3-shape/src/constant.js +12 -0
  193. package/lib-vendor/d3-shape/src/curve/basis.js +76 -0
  194. package/lib-vendor/d3-shape/src/curve/basisClosed.js +90 -0
  195. package/lib-vendor/d3-shape/src/curve/basisOpen.js +64 -0
  196. package/lib-vendor/d3-shape/src/curve/bump.js +104 -0
  197. package/lib-vendor/d3-shape/src/curve/bundle.js +65 -0
  198. package/lib-vendor/d3-shape/src/curve/cardinal.js +85 -0
  199. package/lib-vendor/d3-shape/src/curve/cardinalClosed.js +99 -0
  200. package/lib-vendor/d3-shape/src/curve/cardinalOpen.js +74 -0
  201. package/lib-vendor/d3-shape/src/curve/catmullRom.js +114 -0
  202. package/lib-vendor/d3-shape/src/curve/catmullRomClosed.js +108 -0
  203. package/lib-vendor/d3-shape/src/curve/catmullRomOpen.js +83 -0
  204. package/lib-vendor/d3-shape/src/curve/linear.js +49 -0
  205. package/lib-vendor/d3-shape/src/curve/linearClosed.js +33 -0
  206. package/lib-vendor/d3-shape/src/curve/monotone.js +139 -0
  207. package/lib-vendor/d3-shape/src/curve/natural.js +82 -0
  208. package/lib-vendor/d3-shape/src/curve/radial.js +45 -0
  209. package/lib-vendor/d3-shape/src/curve/step.js +76 -0
  210. package/lib-vendor/d3-shape/src/descending.js +10 -0
  211. package/lib-vendor/d3-shape/src/identity.js +10 -0
  212. package/lib-vendor/d3-shape/src/index.js +483 -0
  213. package/lib-vendor/d3-shape/src/line.js +68 -0
  214. package/lib-vendor/d3-shape/src/lineRadial.js +33 -0
  215. package/lib-vendor/d3-shape/src/link.js +90 -0
  216. package/lib-vendor/d3-shape/src/math.js +39 -0
  217. package/lib-vendor/d3-shape/src/noop.js +8 -0
  218. package/lib-vendor/d3-shape/src/offset/diverging.js +22 -0
  219. package/lib-vendor/d3-shape/src/offset/expand.js +22 -0
  220. package/lib-vendor/d3-shape/src/offset/none.js +18 -0
  221. package/lib-vendor/d3-shape/src/offset/silhouette.js +22 -0
  222. package/lib-vendor/d3-shape/src/offset/wiggle.js +38 -0
  223. package/lib-vendor/d3-shape/src/order/appearance.js +29 -0
  224. package/lib-vendor/d3-shape/src/order/ascending.js +29 -0
  225. package/lib-vendor/d3-shape/src/order/descending.js +14 -0
  226. package/lib-vendor/d3-shape/src/order/insideOut.js +38 -0
  227. package/lib-vendor/d3-shape/src/order/none.js +15 -0
  228. package/lib-vendor/d3-shape/src/order/reverse.js +14 -0
  229. package/lib-vendor/d3-shape/src/pie.js +95 -0
  230. package/lib-vendor/d3-shape/src/point.js +15 -0
  231. package/lib-vendor/d3-shape/src/pointRadial.js +10 -0
  232. package/lib-vendor/d3-shape/src/stack.js +72 -0
  233. package/lib-vendor/d3-shape/src/symbol/asterisk.js +25 -0
  234. package/lib-vendor/d3-shape/src/symbol/circle.js +18 -0
  235. package/lib-vendor/d3-shape/src/symbol/cross.js +29 -0
  236. package/lib-vendor/d3-shape/src/symbol/diamond.js +24 -0
  237. package/lib-vendor/d3-shape/src/symbol/diamond2.js +21 -0
  238. package/lib-vendor/d3-shape/src/symbol/plus.js +20 -0
  239. package/lib-vendor/d3-shape/src/symbol/square.js +18 -0
  240. package/lib-vendor/d3-shape/src/symbol/square2.js +21 -0
  241. package/lib-vendor/d3-shape/src/symbol/star.js +34 -0
  242. package/lib-vendor/d3-shape/src/symbol/triangle.js +21 -0
  243. package/lib-vendor/d3-shape/src/symbol/triangle2.js +24 -0
  244. package/lib-vendor/d3-shape/src/symbol/wye.js +36 -0
  245. package/lib-vendor/d3-shape/src/symbol/x.js +20 -0
  246. package/lib-vendor/d3-shape/src/symbol.js +73 -0
  247. package/lib-vendor/d3-time/LICENSE +13 -0
  248. package/lib-vendor/d3-time/src/day.js +18 -0
  249. package/lib-vendor/d3-time/src/duration.js +20 -0
  250. package/lib-vendor/d3-time/src/hour.js +26 -0
  251. package/lib-vendor/d3-time/src/index.js +433 -0
  252. package/lib-vendor/d3-time/src/interval.js +79 -0
  253. package/lib-vendor/d3-time/src/millisecond.js +35 -0
  254. package/lib-vendor/d3-time/src/minute.js +26 -0
  255. package/lib-vendor/d3-time/src/month.js +25 -0
  256. package/lib-vendor/d3-time/src/second.js +26 -0
  257. package/lib-vendor/d3-time/src/ticks.js +71 -0
  258. package/lib-vendor/d3-time/src/utcDay.js +26 -0
  259. package/lib-vendor/d3-time/src/utcHour.js +26 -0
  260. package/lib-vendor/d3-time/src/utcMinute.js +26 -0
  261. package/lib-vendor/d3-time/src/utcMonth.js +25 -0
  262. package/lib-vendor/d3-time/src/utcWeek.js +52 -0
  263. package/lib-vendor/d3-time/src/utcYear.js +36 -0
  264. package/lib-vendor/d3-time/src/week.js +52 -0
  265. package/lib-vendor/d3-time/src/year.js +36 -0
  266. package/lib-vendor/d3-time-format/LICENSE +13 -0
  267. package/lib-vendor/d3-time-format/src/defaultLocale.js +40 -0
  268. package/lib-vendor/d3-time-format/src/index.js +67 -0
  269. package/lib-vendor/d3-time-format/src/isoFormat.js +19 -0
  270. package/lib-vendor/d3-time-format/src/isoParse.js +19 -0
  271. package/lib-vendor/d3-time-format/src/locale.js +713 -0
  272. package/lib-vendor/d3-timer/LICENSE +13 -0
  273. package/lib-vendor/d3-timer/src/index.js +43 -0
  274. package/lib-vendor/d3-timer/src/interval.js +30 -0
  275. package/lib-vendor/d3-timer/src/timeout.js +18 -0
  276. package/lib-vendor/d3-timer/src/timer.js +138 -0
  277. package/lib-vendor/internmap/LICENSE +13 -0
  278. package/lib-vendor/internmap/src/index.js +111 -0
  279. package/package.json +43 -0
@@ -0,0 +1,433 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "timeDay", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _day.default;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "timeDays", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _day.days;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "timeFriday", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _week.friday;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "timeFridays", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _week.fridays;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "timeHour", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _hour.default;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "timeHours", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _hour.hours;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "timeInterval", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _interval.default;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "timeMillisecond", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _millisecond.default;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, "timeMilliseconds", {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _millisecond.milliseconds;
58
+ }
59
+ });
60
+ Object.defineProperty(exports, "timeMinute", {
61
+ enumerable: true,
62
+ get: function () {
63
+ return _minute.default;
64
+ }
65
+ });
66
+ Object.defineProperty(exports, "timeMinutes", {
67
+ enumerable: true,
68
+ get: function () {
69
+ return _minute.minutes;
70
+ }
71
+ });
72
+ Object.defineProperty(exports, "timeMonday", {
73
+ enumerable: true,
74
+ get: function () {
75
+ return _week.monday;
76
+ }
77
+ });
78
+ Object.defineProperty(exports, "timeMondays", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _week.mondays;
82
+ }
83
+ });
84
+ Object.defineProperty(exports, "timeMonth", {
85
+ enumerable: true,
86
+ get: function () {
87
+ return _month.default;
88
+ }
89
+ });
90
+ Object.defineProperty(exports, "timeMonths", {
91
+ enumerable: true,
92
+ get: function () {
93
+ return _month.months;
94
+ }
95
+ });
96
+ Object.defineProperty(exports, "timeSaturday", {
97
+ enumerable: true,
98
+ get: function () {
99
+ return _week.saturday;
100
+ }
101
+ });
102
+ Object.defineProperty(exports, "timeSaturdays", {
103
+ enumerable: true,
104
+ get: function () {
105
+ return _week.saturdays;
106
+ }
107
+ });
108
+ Object.defineProperty(exports, "timeSecond", {
109
+ enumerable: true,
110
+ get: function () {
111
+ return _second.default;
112
+ }
113
+ });
114
+ Object.defineProperty(exports, "timeSeconds", {
115
+ enumerable: true,
116
+ get: function () {
117
+ return _second.seconds;
118
+ }
119
+ });
120
+ Object.defineProperty(exports, "timeSunday", {
121
+ enumerable: true,
122
+ get: function () {
123
+ return _week.sunday;
124
+ }
125
+ });
126
+ Object.defineProperty(exports, "timeSundays", {
127
+ enumerable: true,
128
+ get: function () {
129
+ return _week.sundays;
130
+ }
131
+ });
132
+ Object.defineProperty(exports, "timeThursday", {
133
+ enumerable: true,
134
+ get: function () {
135
+ return _week.thursday;
136
+ }
137
+ });
138
+ Object.defineProperty(exports, "timeThursdays", {
139
+ enumerable: true,
140
+ get: function () {
141
+ return _week.thursdays;
142
+ }
143
+ });
144
+ Object.defineProperty(exports, "timeTickInterval", {
145
+ enumerable: true,
146
+ get: function () {
147
+ return _ticks.timeTickInterval;
148
+ }
149
+ });
150
+ Object.defineProperty(exports, "timeTicks", {
151
+ enumerable: true,
152
+ get: function () {
153
+ return _ticks.timeTicks;
154
+ }
155
+ });
156
+ Object.defineProperty(exports, "timeTuesday", {
157
+ enumerable: true,
158
+ get: function () {
159
+ return _week.tuesday;
160
+ }
161
+ });
162
+ Object.defineProperty(exports, "timeTuesdays", {
163
+ enumerable: true,
164
+ get: function () {
165
+ return _week.tuesdays;
166
+ }
167
+ });
168
+ Object.defineProperty(exports, "timeWednesday", {
169
+ enumerable: true,
170
+ get: function () {
171
+ return _week.wednesday;
172
+ }
173
+ });
174
+ Object.defineProperty(exports, "timeWednesdays", {
175
+ enumerable: true,
176
+ get: function () {
177
+ return _week.wednesdays;
178
+ }
179
+ });
180
+ Object.defineProperty(exports, "timeWeek", {
181
+ enumerable: true,
182
+ get: function () {
183
+ return _week.sunday;
184
+ }
185
+ });
186
+ Object.defineProperty(exports, "timeWeeks", {
187
+ enumerable: true,
188
+ get: function () {
189
+ return _week.sundays;
190
+ }
191
+ });
192
+ Object.defineProperty(exports, "timeYear", {
193
+ enumerable: true,
194
+ get: function () {
195
+ return _year.default;
196
+ }
197
+ });
198
+ Object.defineProperty(exports, "timeYears", {
199
+ enumerable: true,
200
+ get: function () {
201
+ return _year.years;
202
+ }
203
+ });
204
+ Object.defineProperty(exports, "utcDay", {
205
+ enumerable: true,
206
+ get: function () {
207
+ return _utcDay.default;
208
+ }
209
+ });
210
+ Object.defineProperty(exports, "utcDays", {
211
+ enumerable: true,
212
+ get: function () {
213
+ return _utcDay.utcDays;
214
+ }
215
+ });
216
+ Object.defineProperty(exports, "utcFriday", {
217
+ enumerable: true,
218
+ get: function () {
219
+ return _utcWeek.utcFriday;
220
+ }
221
+ });
222
+ Object.defineProperty(exports, "utcFridays", {
223
+ enumerable: true,
224
+ get: function () {
225
+ return _utcWeek.utcFridays;
226
+ }
227
+ });
228
+ Object.defineProperty(exports, "utcHour", {
229
+ enumerable: true,
230
+ get: function () {
231
+ return _utcHour.default;
232
+ }
233
+ });
234
+ Object.defineProperty(exports, "utcHours", {
235
+ enumerable: true,
236
+ get: function () {
237
+ return _utcHour.utcHours;
238
+ }
239
+ });
240
+ Object.defineProperty(exports, "utcMillisecond", {
241
+ enumerable: true,
242
+ get: function () {
243
+ return _millisecond.default;
244
+ }
245
+ });
246
+ Object.defineProperty(exports, "utcMilliseconds", {
247
+ enumerable: true,
248
+ get: function () {
249
+ return _millisecond.milliseconds;
250
+ }
251
+ });
252
+ Object.defineProperty(exports, "utcMinute", {
253
+ enumerable: true,
254
+ get: function () {
255
+ return _utcMinute.default;
256
+ }
257
+ });
258
+ Object.defineProperty(exports, "utcMinutes", {
259
+ enumerable: true,
260
+ get: function () {
261
+ return _utcMinute.utcMinutes;
262
+ }
263
+ });
264
+ Object.defineProperty(exports, "utcMonday", {
265
+ enumerable: true,
266
+ get: function () {
267
+ return _utcWeek.utcMonday;
268
+ }
269
+ });
270
+ Object.defineProperty(exports, "utcMondays", {
271
+ enumerable: true,
272
+ get: function () {
273
+ return _utcWeek.utcMondays;
274
+ }
275
+ });
276
+ Object.defineProperty(exports, "utcMonth", {
277
+ enumerable: true,
278
+ get: function () {
279
+ return _utcMonth.default;
280
+ }
281
+ });
282
+ Object.defineProperty(exports, "utcMonths", {
283
+ enumerable: true,
284
+ get: function () {
285
+ return _utcMonth.utcMonths;
286
+ }
287
+ });
288
+ Object.defineProperty(exports, "utcSaturday", {
289
+ enumerable: true,
290
+ get: function () {
291
+ return _utcWeek.utcSaturday;
292
+ }
293
+ });
294
+ Object.defineProperty(exports, "utcSaturdays", {
295
+ enumerable: true,
296
+ get: function () {
297
+ return _utcWeek.utcSaturdays;
298
+ }
299
+ });
300
+ Object.defineProperty(exports, "utcSecond", {
301
+ enumerable: true,
302
+ get: function () {
303
+ return _second.default;
304
+ }
305
+ });
306
+ Object.defineProperty(exports, "utcSeconds", {
307
+ enumerable: true,
308
+ get: function () {
309
+ return _second.seconds;
310
+ }
311
+ });
312
+ Object.defineProperty(exports, "utcSunday", {
313
+ enumerable: true,
314
+ get: function () {
315
+ return _utcWeek.utcSunday;
316
+ }
317
+ });
318
+ Object.defineProperty(exports, "utcSundays", {
319
+ enumerable: true,
320
+ get: function () {
321
+ return _utcWeek.utcSundays;
322
+ }
323
+ });
324
+ Object.defineProperty(exports, "utcThursday", {
325
+ enumerable: true,
326
+ get: function () {
327
+ return _utcWeek.utcThursday;
328
+ }
329
+ });
330
+ Object.defineProperty(exports, "utcThursdays", {
331
+ enumerable: true,
332
+ get: function () {
333
+ return _utcWeek.utcThursdays;
334
+ }
335
+ });
336
+ Object.defineProperty(exports, "utcTickInterval", {
337
+ enumerable: true,
338
+ get: function () {
339
+ return _ticks.utcTickInterval;
340
+ }
341
+ });
342
+ Object.defineProperty(exports, "utcTicks", {
343
+ enumerable: true,
344
+ get: function () {
345
+ return _ticks.utcTicks;
346
+ }
347
+ });
348
+ Object.defineProperty(exports, "utcTuesday", {
349
+ enumerable: true,
350
+ get: function () {
351
+ return _utcWeek.utcTuesday;
352
+ }
353
+ });
354
+ Object.defineProperty(exports, "utcTuesdays", {
355
+ enumerable: true,
356
+ get: function () {
357
+ return _utcWeek.utcTuesdays;
358
+ }
359
+ });
360
+ Object.defineProperty(exports, "utcWednesday", {
361
+ enumerable: true,
362
+ get: function () {
363
+ return _utcWeek.utcWednesday;
364
+ }
365
+ });
366
+ Object.defineProperty(exports, "utcWednesdays", {
367
+ enumerable: true,
368
+ get: function () {
369
+ return _utcWeek.utcWednesdays;
370
+ }
371
+ });
372
+ Object.defineProperty(exports, "utcWeek", {
373
+ enumerable: true,
374
+ get: function () {
375
+ return _utcWeek.utcSunday;
376
+ }
377
+ });
378
+ Object.defineProperty(exports, "utcWeeks", {
379
+ enumerable: true,
380
+ get: function () {
381
+ return _utcWeek.utcSundays;
382
+ }
383
+ });
384
+ Object.defineProperty(exports, "utcYear", {
385
+ enumerable: true,
386
+ get: function () {
387
+ return _utcYear.default;
388
+ }
389
+ });
390
+ Object.defineProperty(exports, "utcYears", {
391
+ enumerable: true,
392
+ get: function () {
393
+ return _utcYear.utcYears;
394
+ }
395
+ });
396
+
397
+ var _interval = _interopRequireDefault(require("./interval.js"));
398
+
399
+ var _millisecond = _interopRequireWildcard(require("./millisecond.js"));
400
+
401
+ var _second = _interopRequireWildcard(require("./second.js"));
402
+
403
+ var _minute = _interopRequireWildcard(require("./minute.js"));
404
+
405
+ var _hour = _interopRequireWildcard(require("./hour.js"));
406
+
407
+ var _day = _interopRequireWildcard(require("./day.js"));
408
+
409
+ var _week = require("./week.js");
410
+
411
+ var _month = _interopRequireWildcard(require("./month.js"));
412
+
413
+ var _year = _interopRequireWildcard(require("./year.js"));
414
+
415
+ var _utcMinute = _interopRequireWildcard(require("./utcMinute.js"));
416
+
417
+ var _utcHour = _interopRequireWildcard(require("./utcHour.js"));
418
+
419
+ var _utcDay = _interopRequireWildcard(require("./utcDay.js"));
420
+
421
+ var _utcWeek = require("./utcWeek.js");
422
+
423
+ var _utcMonth = _interopRequireWildcard(require("./utcMonth.js"));
424
+
425
+ var _utcYear = _interopRequireWildcard(require("./utcYear.js"));
426
+
427
+ var _ticks = require("./ticks.js");
428
+
429
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
430
+
431
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
432
+
433
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = newInterval;
7
+ var t0 = new Date(),
8
+ t1 = new Date();
9
+
10
+ function newInterval(floori, offseti, count, field) {
11
+ function interval(date) {
12
+ return floori(date = arguments.length === 0 ? new Date() : new Date(+date)), date;
13
+ }
14
+
15
+ interval.floor = function (date) {
16
+ return floori(date = new Date(+date)), date;
17
+ };
18
+
19
+ interval.ceil = function (date) {
20
+ return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
21
+ };
22
+
23
+ interval.round = function (date) {
24
+ var d0 = interval(date),
25
+ d1 = interval.ceil(date);
26
+ return date - d0 < d1 - date ? d0 : d1;
27
+ };
28
+
29
+ interval.offset = function (date, step) {
30
+ return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
31
+ };
32
+
33
+ interval.range = function (start, stop, step) {
34
+ var range = [],
35
+ previous;
36
+ start = interval.ceil(start);
37
+ step = step == null ? 1 : Math.floor(step);
38
+ if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date
39
+
40
+ do range.push(previous = new Date(+start)), offseti(start, step), floori(start); while (previous < start && start < stop);
41
+
42
+ return range;
43
+ };
44
+
45
+ interval.filter = function (test) {
46
+ return newInterval(function (date) {
47
+ if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);
48
+ }, function (date, step) {
49
+ if (date >= date) {
50
+ if (step < 0) while (++step <= 0) {
51
+ while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty
52
+
53
+ } else while (--step >= 0) {
54
+ while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty
55
+
56
+ }
57
+ }
58
+ });
59
+ };
60
+
61
+ if (count) {
62
+ interval.count = function (start, end) {
63
+ t0.setTime(+start), t1.setTime(+end);
64
+ floori(t0), floori(t1);
65
+ return Math.floor(count(t0, t1));
66
+ };
67
+
68
+ interval.every = function (step) {
69
+ step = Math.floor(step);
70
+ return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval : interval.filter(field ? function (d) {
71
+ return field(d) % step === 0;
72
+ } : function (d) {
73
+ return interval.count(0, d) % step === 0;
74
+ });
75
+ };
76
+ }
77
+
78
+ return interval;
79
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.milliseconds = exports.default = void 0;
7
+
8
+ var _interval = _interopRequireDefault(require("./interval.js"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ var millisecond = (0, _interval.default)(function () {// noop
13
+ }, function (date, step) {
14
+ date.setTime(+date + step);
15
+ }, function (start, end) {
16
+ return end - start;
17
+ }); // An optimized implementation for this simple case.
18
+
19
+ millisecond.every = function (k) {
20
+ k = Math.floor(k);
21
+ if (!isFinite(k) || !(k > 0)) return null;
22
+ if (!(k > 1)) return millisecond;
23
+ return (0, _interval.default)(function (date) {
24
+ date.setTime(Math.floor(date / k) * k);
25
+ }, function (date, step) {
26
+ date.setTime(+date + step * k);
27
+ }, function (start, end) {
28
+ return (end - start) / k;
29
+ });
30
+ };
31
+
32
+ var _default = millisecond;
33
+ exports.default = _default;
34
+ var milliseconds = millisecond.range;
35
+ exports.milliseconds = milliseconds;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.minutes = exports.default = void 0;
7
+
8
+ var _interval = _interopRequireDefault(require("./interval.js"));
9
+
10
+ var _duration = require("./duration.js");
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ var minute = (0, _interval.default)(function (date) {
15
+ date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration.durationSecond);
16
+ }, function (date, step) {
17
+ date.setTime(+date + step * _duration.durationMinute);
18
+ }, function (start, end) {
19
+ return (end - start) / _duration.durationMinute;
20
+ }, function (date) {
21
+ return date.getMinutes();
22
+ });
23
+ var _default = minute;
24
+ exports.default = _default;
25
+ var minutes = minute.range;
26
+ exports.minutes = minutes;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.months = exports.default = void 0;
7
+
8
+ var _interval = _interopRequireDefault(require("./interval.js"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ var month = (0, _interval.default)(function (date) {
13
+ date.setDate(1);
14
+ date.setHours(0, 0, 0, 0);
15
+ }, function (date, step) {
16
+ date.setMonth(date.getMonth() + step);
17
+ }, function (start, end) {
18
+ return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
19
+ }, function (date) {
20
+ return date.getMonth();
21
+ });
22
+ var _default = month;
23
+ exports.default = _default;
24
+ var months = month.range;
25
+ exports.months = months;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.seconds = exports.default = void 0;
7
+
8
+ var _interval = _interopRequireDefault(require("./interval.js"));
9
+
10
+ var _duration = require("./duration.js");
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ var second = (0, _interval.default)(function (date) {
15
+ date.setTime(date - date.getMilliseconds());
16
+ }, function (date, step) {
17
+ date.setTime(+date + step * _duration.durationSecond);
18
+ }, function (start, end) {
19
+ return (end - start) / _duration.durationSecond;
20
+ }, function (date) {
21
+ return date.getUTCSeconds();
22
+ });
23
+ var _default = second;
24
+ exports.default = _default;
25
+ var seconds = second.range;
26
+ exports.seconds = seconds;
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.utcTicks = exports.utcTickInterval = exports.timeTicks = exports.timeTickInterval = void 0;
7
+
8
+ var _index = require("../../../lib-vendor/d3-array/src/index.js");
9
+
10
+ var _duration = require("./duration.js");
11
+
12
+ var _millisecond = _interopRequireDefault(require("./millisecond.js"));
13
+
14
+ var _second = _interopRequireDefault(require("./second.js"));
15
+
16
+ var _minute = _interopRequireDefault(require("./minute.js"));
17
+
18
+ var _hour = _interopRequireDefault(require("./hour.js"));
19
+
20
+ var _day = _interopRequireDefault(require("./day.js"));
21
+
22
+ var _week = require("./week.js");
23
+
24
+ var _month = _interopRequireDefault(require("./month.js"));
25
+
26
+ var _year = _interopRequireDefault(require("./year.js"));
27
+
28
+ var _utcMinute = _interopRequireDefault(require("./utcMinute.js"));
29
+
30
+ var _utcHour = _interopRequireDefault(require("./utcHour.js"));
31
+
32
+ var _utcDay = _interopRequireDefault(require("./utcDay.js"));
33
+
34
+ var _utcWeek = require("./utcWeek.js");
35
+
36
+ var _utcMonth = _interopRequireDefault(require("./utcMonth.js"));
37
+
38
+ var _utcYear = _interopRequireDefault(require("./utcYear.js"));
39
+
40
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
41
+
42
+ function ticker(year, month, week, day, hour, minute) {
43
+ const tickIntervals = [[_second.default, 1, _duration.durationSecond], [_second.default, 5, 5 * _duration.durationSecond], [_second.default, 15, 15 * _duration.durationSecond], [_second.default, 30, 30 * _duration.durationSecond], [minute, 1, _duration.durationMinute], [minute, 5, 5 * _duration.durationMinute], [minute, 15, 15 * _duration.durationMinute], [minute, 30, 30 * _duration.durationMinute], [hour, 1, _duration.durationHour], [hour, 3, 3 * _duration.durationHour], [hour, 6, 6 * _duration.durationHour], [hour, 12, 12 * _duration.durationHour], [day, 1, _duration.durationDay], [day, 2, 2 * _duration.durationDay], [week, 1, _duration.durationWeek], [month, 1, _duration.durationMonth], [month, 3, 3 * _duration.durationMonth], [year, 1, _duration.durationYear]];
44
+
45
+ function ticks(start, stop, count) {
46
+ const reverse = stop < start;
47
+ if (reverse) [start, stop] = [stop, start];
48
+ const interval = count && typeof count.range === "function" ? count : tickInterval(start, stop, count);
49
+ const ticks = interval ? interval.range(start, +stop + 1) : []; // inclusive stop
50
+
51
+ return reverse ? ticks.reverse() : ticks;
52
+ }
53
+
54
+ function tickInterval(start, stop, count) {
55
+ const target = Math.abs(stop - start) / count;
56
+ const i = (0, _index.bisector)(([,, step]) => step).right(tickIntervals, target);
57
+ if (i === tickIntervals.length) return year.every((0, _index.tickStep)(start / _duration.durationYear, stop / _duration.durationYear, count));
58
+ if (i === 0) return _millisecond.default.every(Math.max((0, _index.tickStep)(start, stop, count), 1));
59
+ const [t, step] = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i];
60
+ return t.every(step);
61
+ }
62
+
63
+ return [ticks, tickInterval];
64
+ }
65
+
66
+ const [utcTicks, utcTickInterval] = ticker(_utcYear.default, _utcMonth.default, _utcWeek.utcSunday, _utcDay.default, _utcHour.default, _utcMinute.default);
67
+ exports.utcTickInterval = utcTickInterval;
68
+ exports.utcTicks = utcTicks;
69
+ const [timeTicks, timeTickInterval] = ticker(_year.default, _month.default, _week.sunday, _day.default, _hour.default, _minute.default);
70
+ exports.timeTickInterval = timeTickInterval;
71
+ exports.timeTicks = timeTicks;