@veritone-ce/design-system 2.8.13-next.1 → 2.8.13

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 (694) hide show
  1. package/dist/cjs/Dialog/components.js +90 -29
  2. package/dist/cjs/Dialog/state.js +8 -2
  3. package/dist/cjs/Dialog/styles.module.scss.js +2 -2
  4. package/dist/cjs/FileUploader/controlled.js +0 -7
  5. package/dist/cjs/Menu/controlled.js +77 -2
  6. package/dist/cjs/Select/controlled.js +3 -0
  7. package/dist/cjs/Table/AutoTable/controlled.js +1 -2
  8. package/dist/cjs/Table/AutoTable/styles.module.scss.js +1 -1
  9. package/dist/cjs/TablePagination/index.js +8 -21
  10. package/dist/cjs/index.js +0 -11
  11. package/dist/cjs/styles/createPalette.js +0 -11
  12. package/dist/cjs/styles.css +1 -1
  13. package/dist/cjs/unstable/Card/index.js +33 -0
  14. package/dist/cjs/unstable/Card/styles.module.scss.js +1 -1
  15. package/dist/cjs/unstable/index.js +13 -39
  16. package/dist/esm/Dialog/components.js +89 -28
  17. package/dist/esm/Dialog/state.js +8 -2
  18. package/dist/esm/Dialog/styles.module.scss.js +2 -2
  19. package/dist/esm/FileUploader/controlled.js +0 -7
  20. package/dist/esm/Menu/controlled.js +77 -2
  21. package/dist/esm/Select/controlled.js +3 -0
  22. package/dist/esm/Table/AutoTable/controlled.js +1 -2
  23. package/dist/esm/Table/AutoTable/styles.module.scss.js +1 -1
  24. package/dist/esm/TablePagination/index.js +8 -21
  25. package/dist/esm/index.js +1 -1
  26. package/dist/esm/styles/createPalette.js +1 -1
  27. package/dist/esm/styles.css +1 -1
  28. package/dist/esm/unstable/Card/index.js +29 -0
  29. package/dist/esm/unstable/Card/styles.module.scss.js +1 -1
  30. package/dist/esm/unstable/index.js +1 -5
  31. package/dist/types/Dialog/components.d.ts +20 -27
  32. package/dist/types/Dialog/factory.d.ts +5 -4
  33. package/dist/types/Dialog/state.d.ts +15 -1
  34. package/dist/types/Menu/controlled.d.ts +9 -1
  35. package/dist/types/Select/types.d.ts +8 -0
  36. package/dist/types/TablePagination/index.d.ts +1 -1
  37. package/dist/types/styles/createPalette.d.ts +2 -13
  38. package/dist/types/unstable/Card/index.d.ts +11 -2
  39. package/dist/types/unstable/extras/chart/index.d.ts +33 -15
  40. package/dist/types/unstable/index.d.ts +0 -3
  41. package/package.json +7 -1
  42. package/dist/cjs/bundled_modules/d3-array/src/ascending.js +0 -9
  43. package/dist/cjs/bundled_modules/d3-array/src/bisect.js +0 -16
  44. package/dist/cjs/bundled_modules/d3-array/src/bisector.js +0 -62
  45. package/dist/cjs/bundled_modules/d3-array/src/descending.js +0 -13
  46. package/dist/cjs/bundled_modules/d3-array/src/deviation.js +0 -12
  47. package/dist/cjs/bundled_modules/d3-array/src/fsum.js +0 -45
  48. package/dist/cjs/bundled_modules/d3-array/src/intersection.js +0 -25
  49. package/dist/cjs/bundled_modules/d3-array/src/max.js +0 -26
  50. package/dist/cjs/bundled_modules/d3-array/src/mean.js +0 -25
  51. package/dist/cjs/bundled_modules/d3-array/src/median.js +0 -11
  52. package/dist/cjs/bundled_modules/d3-array/src/merge.js +0 -15
  53. package/dist/cjs/bundled_modules/d3-array/src/min.js +0 -26
  54. package/dist/cjs/bundled_modules/d3-array/src/number.js +0 -27
  55. package/dist/cjs/bundled_modules/d3-array/src/permute.js +0 -9
  56. package/dist/cjs/bundled_modules/d3-array/src/quantile.js +0 -36
  57. package/dist/cjs/bundled_modules/d3-array/src/quickselect.js +0 -59
  58. package/dist/cjs/bundled_modules/d3-array/src/range.js +0 -19
  59. package/dist/cjs/bundled_modules/d3-array/src/sort.js +0 -20
  60. package/dist/cjs/bundled_modules/d3-array/src/sum.js +0 -17
  61. package/dist/cjs/bundled_modules/d3-array/src/ticks.js +0 -63
  62. package/dist/cjs/bundled_modules/d3-array/src/union.js +0 -17
  63. package/dist/cjs/bundled_modules/d3-array/src/variance.js +0 -31
  64. package/dist/cjs/bundled_modules/d3-color/src/color.js +0 -410
  65. package/dist/cjs/bundled_modules/d3-color/src/cubehelix.js +0 -68
  66. package/dist/cjs/bundled_modules/d3-color/src/define.js +0 -17
  67. package/dist/cjs/bundled_modules/d3-color/src/lab.js +0 -124
  68. package/dist/cjs/bundled_modules/d3-color/src/math.js +0 -7
  69. package/dist/cjs/bundled_modules/d3-delaunay/src/delaunay.js +0 -254
  70. package/dist/cjs/bundled_modules/d3-delaunay/src/path.js +0 -43
  71. package/dist/cjs/bundled_modules/d3-delaunay/src/polygon.js +0 -23
  72. package/dist/cjs/bundled_modules/d3-delaunay/src/voronoi.js +0 -338
  73. package/dist/cjs/bundled_modules/d3-dispatch/src/dispatch.js +0 -88
  74. package/dist/cjs/bundled_modules/d3-dsv/src/dsv.js +0 -170
  75. package/dist/cjs/bundled_modules/d3-force/src/center.js +0 -46
  76. package/dist/cjs/bundled_modules/d3-force/src/collide.js +0 -106
  77. package/dist/cjs/bundled_modules/d3-force/src/constant.js +0 -11
  78. package/dist/cjs/bundled_modules/d3-force/src/jiggle.js +0 -9
  79. package/dist/cjs/bundled_modules/d3-force/src/lcg.js +0 -15
  80. package/dist/cjs/bundled_modules/d3-force/src/link.js +0 -123
  81. package/dist/cjs/bundled_modules/d3-force/src/manyBody.js +0 -122
  82. package/dist/cjs/bundled_modules/d3-force/src/simulation.js +0 -164
  83. package/dist/cjs/bundled_modules/d3-force/src/x.js +0 -47
  84. package/dist/cjs/bundled_modules/d3-force/src/y.js +0 -47
  85. package/dist/cjs/bundled_modules/d3-format/src/defaultLocale.js +0 -24
  86. package/dist/cjs/bundled_modules/d3-format/src/exponent.js +0 -11
  87. package/dist/cjs/bundled_modules/d3-format/src/formatDecimal.js +0 -27
  88. package/dist/cjs/bundled_modules/d3-format/src/formatGroup.js +0 -24
  89. package/dist/cjs/bundled_modules/d3-format/src/formatNumerals.js +0 -13
  90. package/dist/cjs/bundled_modules/d3-format/src/formatPrefixAuto.js +0 -22
  91. package/dist/cjs/bundled_modules/d3-format/src/formatRounded.js +0 -17
  92. package/dist/cjs/bundled_modules/d3-format/src/formatSpecifier.js +0 -54
  93. package/dist/cjs/bundled_modules/d3-format/src/formatTrim.js +0 -17
  94. package/dist/cjs/bundled_modules/d3-format/src/formatTypes.js +0 -25
  95. package/dist/cjs/bundled_modules/d3-format/src/identity.js +0 -9
  96. package/dist/cjs/bundled_modules/d3-format/src/locale.js +0 -154
  97. package/dist/cjs/bundled_modules/d3-format/src/precisionFixed.js +0 -11
  98. package/dist/cjs/bundled_modules/d3-format/src/precisionPrefix.js +0 -11
  99. package/dist/cjs/bundled_modules/d3-format/src/precisionRound.js +0 -12
  100. package/dist/cjs/bundled_modules/d3-geo/src/area.js +0 -83
  101. package/dist/cjs/bundled_modules/d3-geo/src/bounds.js +0 -185
  102. package/dist/cjs/bundled_modules/d3-geo/src/cartesian.js +0 -43
  103. package/dist/cjs/bundled_modules/d3-geo/src/centroid.js +0 -149
  104. package/dist/cjs/bundled_modules/d3-geo/src/circle.js +0 -35
  105. package/dist/cjs/bundled_modules/d3-geo/src/clip/antimeridian.js +0 -98
  106. package/dist/cjs/bundled_modules/d3-geo/src/clip/buffer.js +0 -30
  107. package/dist/cjs/bundled_modules/d3-geo/src/clip/circle.js +0 -183
  108. package/dist/cjs/bundled_modules/d3-geo/src/clip/index.js +0 -137
  109. package/dist/cjs/bundled_modules/d3-geo/src/clip/line.js +0 -65
  110. package/dist/cjs/bundled_modules/d3-geo/src/clip/rectangle.js +0 -174
  111. package/dist/cjs/bundled_modules/d3-geo/src/clip/rejoin.js +0 -109
  112. package/dist/cjs/bundled_modules/d3-geo/src/compose.js +0 -18
  113. package/dist/cjs/bundled_modules/d3-geo/src/graticule.js +0 -107
  114. package/dist/cjs/bundled_modules/d3-geo/src/identity.js +0 -7
  115. package/dist/cjs/bundled_modules/d3-geo/src/math.js +0 -57
  116. package/dist/cjs/bundled_modules/d3-geo/src/noop.js +0 -7
  117. package/dist/cjs/bundled_modules/d3-geo/src/path/area.js +0 -54
  118. package/dist/cjs/bundled_modules/d3-geo/src/path/bounds.js +0 -32
  119. package/dist/cjs/bundled_modules/d3-geo/src/path/centroid.js +0 -104
  120. package/dist/cjs/bundled_modules/d3-geo/src/path/context.js +0 -51
  121. package/dist/cjs/bundled_modules/d3-geo/src/path/index.js +0 -82
  122. package/dist/cjs/bundled_modules/d3-geo/src/path/measure.js +0 -49
  123. package/dist/cjs/bundled_modules/d3-geo/src/path/string.js +0 -92
  124. package/dist/cjs/bundled_modules/d3-geo/src/pointEqual.js +0 -11
  125. package/dist/cjs/bundled_modules/d3-geo/src/polygonContains.js +0 -80
  126. package/dist/cjs/bundled_modules/d3-geo/src/projection/albers.js +0 -16
  127. package/dist/cjs/bundled_modules/d3-geo/src/projection/albersUsa.js +0 -117
  128. package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthal.js +0 -32
  129. package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthalEqualArea.js +0 -24
  130. package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthalEquidistant.js +0 -24
  131. package/dist/cjs/bundled_modules/d3-geo/src/projection/conic.js +0 -19
  132. package/dist/cjs/bundled_modules/d3-geo/src/projection/conicConformal.js +0 -45
  133. package/dist/cjs/bundled_modules/d3-geo/src/projection/conicEqualArea.js +0 -40
  134. package/dist/cjs/bundled_modules/d3-geo/src/projection/conicEquidistant.js +0 -39
  135. package/dist/cjs/bundled_modules/d3-geo/src/projection/cylindricalEqualArea.js +0 -19
  136. package/dist/cjs/bundled_modules/d3-geo/src/projection/equalEarth.js +0 -43
  137. package/dist/cjs/bundled_modules/d3-geo/src/projection/equirectangular.js +0 -19
  138. package/dist/cjs/bundled_modules/d3-geo/src/projection/fit.js +0 -54
  139. package/dist/cjs/bundled_modules/d3-geo/src/projection/gnomonic.js +0 -23
  140. package/dist/cjs/bundled_modules/d3-geo/src/projection/identity.js +0 -91
  141. package/dist/cjs/bundled_modules/d3-geo/src/projection/index.js +0 -184
  142. package/dist/cjs/bundled_modules/d3-geo/src/projection/mercator.js +0 -60
  143. package/dist/cjs/bundled_modules/d3-geo/src/projection/naturalEarth1.js +0 -35
  144. package/dist/cjs/bundled_modules/d3-geo/src/projection/orthographic.js +0 -22
  145. package/dist/cjs/bundled_modules/d3-geo/src/projection/resample.js +0 -108
  146. package/dist/cjs/bundled_modules/d3-geo/src/projection/stereographic.js +0 -25
  147. package/dist/cjs/bundled_modules/d3-geo/src/projection/transverseMercator.js +0 -34
  148. package/dist/cjs/bundled_modules/d3-geo/src/rotation.js +0 -86
  149. package/dist/cjs/bundled_modules/d3-geo/src/stream.js +0 -75
  150. package/dist/cjs/bundled_modules/d3-geo/src/transform.js +0 -24
  151. package/dist/cjs/bundled_modules/d3-geo-projection/src/math.js +0 -28
  152. package/dist/cjs/bundled_modules/d3-geo-projection/src/mollweide.js +0 -38
  153. package/dist/cjs/bundled_modules/d3-hierarchy/src/accessors.js +0 -13
  154. package/dist/cjs/bundled_modules/d3-hierarchy/src/array.js +0 -27
  155. package/dist/cjs/bundled_modules/d3-hierarchy/src/cluster.js +0 -90
  156. package/dist/cjs/bundled_modules/d3-hierarchy/src/constant.js +0 -16
  157. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/ancestors.js +0 -13
  158. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/count.js +0 -18
  159. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/descendants.js +0 -9
  160. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/each.js +0 -13
  161. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/eachAfter.js +0 -21
  162. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/eachBefore.js +0 -18
  163. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/find.js +0 -14
  164. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/index.js +0 -99
  165. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/iterator.js +0 -20
  166. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/leaves.js +0 -15
  167. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/links.js +0 -15
  168. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/path.js +0 -36
  169. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/sort.js +0 -13
  170. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/sum.js +0 -15
  171. package/dist/cjs/bundled_modules/d3-hierarchy/src/lcg.js +0 -15
  172. package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/enclose.js +0 -122
  173. package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/index.js +0 -87
  174. package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/siblings.js +0 -118
  175. package/dist/cjs/bundled_modules/d3-hierarchy/src/partition.js +0 -58
  176. package/dist/cjs/bundled_modules/d3-hierarchy/src/stratify.js +0 -151
  177. package/dist/cjs/bundled_modules/d3-hierarchy/src/tree.js +0 -243
  178. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/binary.js +0 -52
  179. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/dice.js +0 -18
  180. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/index.js +0 -100
  181. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/resquarify.js +0 -42
  182. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/round.js +0 -12
  183. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/slice.js +0 -18
  184. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/sliceDice.js +0 -12
  185. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/squarify.js +0 -74
  186. package/dist/cjs/bundled_modules/d3-interpolate/src/array.js +0 -29
  187. package/dist/cjs/bundled_modules/d3-interpolate/src/basis.js +0 -26
  188. package/dist/cjs/bundled_modules/d3-interpolate/src/basisClosed.js +0 -19
  189. package/dist/cjs/bundled_modules/d3-interpolate/src/color.js +0 -37
  190. package/dist/cjs/bundled_modules/d3-interpolate/src/constant.js +0 -7
  191. package/dist/cjs/bundled_modules/d3-interpolate/src/cubehelix.js +0 -36
  192. package/dist/cjs/bundled_modules/d3-interpolate/src/date.js +0 -12
  193. package/dist/cjs/bundled_modules/d3-interpolate/src/discrete.js +0 -12
  194. package/dist/cjs/bundled_modules/d3-interpolate/src/hcl.js +0 -28
  195. package/dist/cjs/bundled_modules/d3-interpolate/src/hsl.js +0 -28
  196. package/dist/cjs/bundled_modules/d3-interpolate/src/hue.js +0 -15
  197. package/dist/cjs/bundled_modules/d3-interpolate/src/index.js +0 -53
  198. package/dist/cjs/bundled_modules/d3-interpolate/src/lab.js +0 -22
  199. package/dist/cjs/bundled_modules/d3-interpolate/src/number.js +0 -11
  200. package/dist/cjs/bundled_modules/d3-interpolate/src/numberArray.js +0 -21
  201. package/dist/cjs/bundled_modules/d3-interpolate/src/object.js +0 -29
  202. package/dist/cjs/bundled_modules/d3-interpolate/src/piecewise.js +0 -17
  203. package/dist/cjs/bundled_modules/d3-interpolate/src/quantize.js +0 -11
  204. package/dist/cjs/bundled_modules/d3-interpolate/src/rgb.js +0 -63
  205. package/dist/cjs/bundled_modules/d3-interpolate/src/round.js +0 -11
  206. package/dist/cjs/bundled_modules/d3-interpolate/src/string.js +0 -70
  207. package/dist/cjs/bundled_modules/d3-interpolate/src/transform/decompose.js +0 -33
  208. package/dist/cjs/bundled_modules/d3-interpolate/src/transform/index.js +0 -68
  209. package/dist/cjs/bundled_modules/d3-interpolate/src/transform/parse.js +0 -23
  210. package/dist/cjs/bundled_modules/d3-interpolate/src/value.js +0 -28
  211. package/dist/cjs/bundled_modules/d3-interpolate/src/zoom.js +0 -77
  212. package/dist/cjs/bundled_modules/d3-path/src/path.js +0 -157
  213. package/dist/cjs/bundled_modules/d3-quadtree/src/add.js +0 -91
  214. package/dist/cjs/bundled_modules/d3-quadtree/src/cover.js +0 -49
  215. package/dist/cjs/bundled_modules/d3-quadtree/src/data.js +0 -13
  216. package/dist/cjs/bundled_modules/d3-quadtree/src/extent.js +0 -11
  217. package/dist/cjs/bundled_modules/d3-quadtree/src/find.js +0 -76
  218. package/dist/cjs/bundled_modules/d3-quadtree/src/quad.js +0 -13
  219. package/dist/cjs/bundled_modules/d3-quadtree/src/quadtree.js +0 -79
  220. package/dist/cjs/bundled_modules/d3-quadtree/src/remove.js +0 -69
  221. package/dist/cjs/bundled_modules/d3-quadtree/src/root.js +0 -9
  222. package/dist/cjs/bundled_modules/d3-quadtree/src/size.js +0 -13
  223. package/dist/cjs/bundled_modules/d3-quadtree/src/visit.js +0 -22
  224. package/dist/cjs/bundled_modules/d3-quadtree/src/visitAfter.js +0 -27
  225. package/dist/cjs/bundled_modules/d3-quadtree/src/x.js +0 -14
  226. package/dist/cjs/bundled_modules/d3-quadtree/src/y.js +0 -14
  227. package/dist/cjs/bundled_modules/d3-scale/src/constant.js +0 -11
  228. package/dist/cjs/bundled_modules/d3-scale/src/continuous.js +0 -136
  229. package/dist/cjs/bundled_modules/d3-scale/src/diverging.js +0 -116
  230. package/dist/cjs/bundled_modules/d3-scale/src/identity.js +0 -34
  231. package/dist/cjs/bundled_modules/d3-scale/src/init.js +0 -31
  232. package/dist/cjs/bundled_modules/d3-scale/src/linear.js +0 -77
  233. package/dist/cjs/bundled_modules/d3-scale/src/log.js +0 -148
  234. package/dist/cjs/bundled_modules/d3-scale/src/nice.js +0 -24
  235. package/dist/cjs/bundled_modules/d3-scale/src/number.js +0 -9
  236. package/dist/cjs/bundled_modules/d3-scale/src/ordinal.js +0 -53
  237. package/dist/cjs/bundled_modules/d3-scale/src/pow.js +0 -58
  238. package/dist/cjs/bundled_modules/d3-scale/src/quantile.js +0 -65
  239. package/dist/cjs/bundled_modules/d3-scale/src/quantize.js +0 -62
  240. package/dist/cjs/bundled_modules/d3-scale/src/sequential.js +0 -119
  241. package/dist/cjs/bundled_modules/d3-scale/src/symlog.js +0 -42
  242. package/dist/cjs/bundled_modules/d3-scale/src/threshold.js +0 -45
  243. package/dist/cjs/bundled_modules/d3-scale/src/tickFormat.js +0 -39
  244. package/dist/cjs/bundled_modules/d3-scale/src/time.js +0 -85
  245. package/dist/cjs/bundled_modules/d3-scale/src/utcTime.js +0 -21
  246. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Accent.js +0 -9
  247. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Dark2.js +0 -9
  248. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Paired.js +0 -9
  249. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Pastel1.js +0 -9
  250. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Pastel2.js +0 -9
  251. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set1.js +0 -9
  252. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set2.js +0 -9
  253. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set3.js +0 -9
  254. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/category10.js +0 -9
  255. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/observable10.js +0 -9
  256. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/colors.js +0 -11
  257. package/dist/cjs/bundled_modules/d3-shape/src/arc.js +0 -274
  258. package/dist/cjs/bundled_modules/d3-shape/src/area.js +0 -118
  259. package/dist/cjs/bundled_modules/d3-shape/src/array.js +0 -11
  260. package/dist/cjs/bundled_modules/d3-shape/src/constant.js +0 -11
  261. package/dist/cjs/bundled_modules/d3-shape/src/curve/basis.js +0 -59
  262. package/dist/cjs/bundled_modules/d3-shape/src/curve/basisClosed.js +0 -58
  263. package/dist/cjs/bundled_modules/d3-shape/src/curve/basisOpen.js +0 -45
  264. package/dist/cjs/bundled_modules/d3-shape/src/curve/bundle.js +0 -62
  265. package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinal.js +0 -69
  266. package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinalClosed.js +0 -68
  267. package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinalOpen.js +0 -56
  268. package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRom.js +0 -95
  269. package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRomClosed.js +0 -80
  270. package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRomOpen.js +0 -68
  271. package/dist/cjs/bundled_modules/d3-shape/src/curve/linear.js +0 -37
  272. package/dist/cjs/bundled_modules/d3-shape/src/curve/linearClosed.js +0 -31
  273. package/dist/cjs/bundled_modules/d3-shape/src/curve/monotone.js +0 -109
  274. package/dist/cjs/bundled_modules/d3-shape/src/curve/natural.js +0 -71
  275. package/dist/cjs/bundled_modules/d3-shape/src/curve/step.js +0 -61
  276. package/dist/cjs/bundled_modules/d3-shape/src/line.js +0 -64
  277. package/dist/cjs/bundled_modules/d3-shape/src/math.js +0 -36
  278. package/dist/cjs/bundled_modules/d3-shape/src/noop.js +0 -7
  279. package/dist/cjs/bundled_modules/d3-shape/src/path.js +0 -23
  280. package/dist/cjs/bundled_modules/d3-shape/src/point.js +0 -12
  281. package/dist/cjs/bundled_modules/d3-shape/src/symbol/circle.js +0 -15
  282. package/dist/cjs/bundled_modules/d3-shape/src/symbol.js +0 -38
  283. package/dist/cjs/bundled_modules/d3-time/src/day.js +0 -41
  284. package/dist/cjs/bundled_modules/d3-time/src/duration.js +0 -17
  285. package/dist/cjs/bundled_modules/d3-time/src/hour.js +0 -31
  286. package/dist/cjs/bundled_modules/d3-time/src/interval.js +0 -73
  287. package/dist/cjs/bundled_modules/d3-time/src/millisecond.js +0 -29
  288. package/dist/cjs/bundled_modules/d3-time/src/minute.js +0 -31
  289. package/dist/cjs/bundled_modules/d3-time/src/month.js +0 -32
  290. package/dist/cjs/bundled_modules/d3-time/src/second.js +0 -18
  291. package/dist/cjs/bundled_modules/d3-time/src/ticks.js +0 -64
  292. package/dist/cjs/bundled_modules/d3-time/src/week.js +0 -73
  293. package/dist/cjs/bundled_modules/d3-time/src/year.js +0 -54
  294. package/dist/cjs/bundled_modules/d3-time-format/src/defaultLocale.js +0 -33
  295. package/dist/cjs/bundled_modules/d3-time-format/src/locale.js +0 -694
  296. package/dist/cjs/bundled_modules/d3-timer/src/interval.js +0 -23
  297. package/dist/cjs/bundled_modules/d3-timer/src/timer.js +0 -117
  298. package/dist/cjs/bundled_modules/delaunator/index.js +0 -485
  299. package/dist/cjs/bundled_modules/internmap/src/index.js +0 -66
  300. package/dist/cjs/bundled_modules/json-stringify-pretty-compact/index.js +0 -104
  301. package/dist/cjs/bundled_modules/robust-predicates/esm/orient2d.js +0 -184
  302. package/dist/cjs/bundled_modules/robust-predicates/esm/util.js +0 -95
  303. package/dist/cjs/bundled_modules/topojson-client/src/feature.js +0 -77
  304. package/dist/cjs/bundled_modules/topojson-client/src/identity.js +0 -9
  305. package/dist/cjs/bundled_modules/topojson-client/src/mesh.js +0 -60
  306. package/dist/cjs/bundled_modules/topojson-client/src/reverse.js +0 -10
  307. package/dist/cjs/bundled_modules/topojson-client/src/stitch.js +0 -79
  308. package/dist/cjs/bundled_modules/topojson-client/src/transform.js +0 -25
  309. package/dist/cjs/bundled_modules/vega/build/vega.module.js +0 -272
  310. package/dist/cjs/bundled_modules/vega-canvas/build/vega-canvas.browser.js +0 -18
  311. package/dist/cjs/bundled_modules/vega-crossfilter/build/vega-crossfilter.js +0 -676
  312. package/dist/cjs/bundled_modules/vega-dataflow/build/vega-dataflow.js +0 -2102
  313. package/dist/cjs/bundled_modules/vega-embed/build/embed.js +0 -2939
  314. package/dist/cjs/bundled_modules/vega-encode/build/vega-encode.js +0 -962
  315. package/dist/cjs/bundled_modules/vega-event-selector/build/vega-event-selector.js +0 -192
  316. package/dist/cjs/bundled_modules/vega-expression/build/vega-expression.js +0 -1615
  317. package/dist/cjs/bundled_modules/vega-force/build/vega-force.js +0 -295
  318. package/dist/cjs/bundled_modules/vega-format/build/vega-format.js +0 -201
  319. package/dist/cjs/bundled_modules/vega-functions/build/vega-functions.js +0 -842
  320. package/dist/cjs/bundled_modules/vega-geo/build/vega-geo.js +0 -1333
  321. package/dist/cjs/bundled_modules/vega-hierarchy/build/vega-hierarchy.js +0 -580
  322. package/dist/cjs/bundled_modules/vega-interpreter/build/vega-interpreter.js +0 -310
  323. package/dist/cjs/bundled_modules/vega-label/build/vega-label.js +0 -876
  324. package/dist/cjs/bundled_modules/vega-lite/build/index.js +0 -20157
  325. package/dist/cjs/bundled_modules/vega-loader/build/vega-loader.browser.js +0 -337
  326. package/dist/cjs/bundled_modules/vega-parser/build/vega-parser.js +0 -3805
  327. package/dist/cjs/bundled_modules/vega-projection/build/vega-projection.js +0 -90
  328. package/dist/cjs/bundled_modules/vega-regression/build/vega-regression.js +0 -236
  329. package/dist/cjs/bundled_modules/vega-runtime/build/vega-runtime.js +0 -588
  330. package/dist/cjs/bundled_modules/vega-scale/build/vega-scale.js +0 -846
  331. package/dist/cjs/bundled_modules/vega-scenegraph/build/vega-scenegraph.js +0 -5040
  332. package/dist/cjs/bundled_modules/vega-schema-url-parser/dist/parser.modern.js +0 -7
  333. package/dist/cjs/bundled_modules/vega-selections/build/vega-selection.js +0 -342
  334. package/dist/cjs/bundled_modules/vega-statistics/build/vega-statistics.js +0 -1193
  335. package/dist/cjs/bundled_modules/vega-themes/build/index.js +0 -853
  336. package/dist/cjs/bundled_modules/vega-time/build/vega-time.js +0 -342
  337. package/dist/cjs/bundled_modules/vega-tooltip/build/index.js +0 -353
  338. package/dist/cjs/bundled_modules/vega-transforms/build/vega-transforms.js +0 -3781
  339. package/dist/cjs/bundled_modules/vega-util/build/vega-util.js +0 -824
  340. package/dist/cjs/bundled_modules/vega-view/build/vega-view.js +0 -1306
  341. package/dist/cjs/bundled_modules/vega-view-transforms/build/vega-view-transforms.js +0 -1313
  342. package/dist/cjs/bundled_modules/vega-voronoi/build/vega-voronoi.js +0 -80
  343. package/dist/cjs/bundled_modules/vega-wordcloud/build/vega-wordcloud.js +0 -540
  344. package/dist/cjs/styles/entrypoint.scss.js +0 -7
  345. package/dist/cjs/unstable/Card/components.js +0 -213
  346. package/dist/cjs/unstable/Card/state.js +0 -53
  347. package/dist/cjs/unstable/StatCard/index.js +0 -124
  348. package/dist/cjs/unstable/StatCard/index.module.scss.js +0 -7
  349. package/dist/cjs/unstable/extras/chart/BarChart.js +0 -42
  350. package/dist/cjs/unstable/extras/chart/Chart.js +0 -100
  351. package/dist/cjs/unstable/extras/chart/DistributionChart.js +0 -84
  352. package/dist/cjs/unstable/extras/chart/DonutChart.js +0 -43
  353. package/dist/cjs/unstable/extras/chart/LineChart.js +0 -45
  354. package/dist/cjs/unstable/extras/chart/PieChart.js +0 -39
  355. package/dist/cjs/unstable/extras/chart/TimelineChart.js +0 -48
  356. package/dist/cjs/unstable/extras/chart/index.js +0 -23
  357. package/dist/cjs/unstable/skeleton/index.js +0 -74
  358. package/dist/cjs/unstable/skeleton/index.module.scss.js +0 -7
  359. package/dist/cjs/unstable/suspense/index.js +0 -18
  360. package/dist/cjs/unstable/suspense/index.module.scss.js +0 -7
  361. package/dist/cjs/unstable/suspense/loader.js +0 -23
  362. package/dist/esm/bundled_modules/d3-array/src/ascending.js +0 -5
  363. package/dist/esm/bundled_modules/d3-array/src/bisect.js +0 -10
  364. package/dist/esm/bundled_modules/d3-array/src/bisector.js +0 -58
  365. package/dist/esm/bundled_modules/d3-array/src/descending.js +0 -9
  366. package/dist/esm/bundled_modules/d3-array/src/deviation.js +0 -8
  367. package/dist/esm/bundled_modules/d3-array/src/fsum.js +0 -43
  368. package/dist/esm/bundled_modules/d3-array/src/intersection.js +0 -21
  369. package/dist/esm/bundled_modules/d3-array/src/max.js +0 -22
  370. package/dist/esm/bundled_modules/d3-array/src/mean.js +0 -21
  371. package/dist/esm/bundled_modules/d3-array/src/median.js +0 -7
  372. package/dist/esm/bundled_modules/d3-array/src/merge.js +0 -11
  373. package/dist/esm/bundled_modules/d3-array/src/min.js +0 -22
  374. package/dist/esm/bundled_modules/d3-array/src/number.js +0 -22
  375. package/dist/esm/bundled_modules/d3-array/src/permute.js +0 -5
  376. package/dist/esm/bundled_modules/d3-array/src/quantile.js +0 -31
  377. package/dist/esm/bundled_modules/d3-array/src/quickselect.js +0 -55
  378. package/dist/esm/bundled_modules/d3-array/src/range.js +0 -15
  379. package/dist/esm/bundled_modules/d3-array/src/sort.js +0 -17
  380. package/dist/esm/bundled_modules/d3-array/src/sum.js +0 -13
  381. package/dist/esm/bundled_modules/d3-array/src/ticks.js +0 -57
  382. package/dist/esm/bundled_modules/d3-array/src/union.js +0 -13
  383. package/dist/esm/bundled_modules/d3-array/src/variance.js +0 -27
  384. package/dist/esm/bundled_modules/d3-color/src/color.js +0 -398
  385. package/dist/esm/bundled_modules/d3-color/src/cubehelix.js +0 -63
  386. package/dist/esm/bundled_modules/d3-color/src/define.js +0 -12
  387. package/dist/esm/bundled_modules/d3-color/src/lab.js +0 -117
  388. package/dist/esm/bundled_modules/d3-color/src/math.js +0 -4
  389. package/dist/esm/bundled_modules/d3-delaunay/src/delaunay.js +0 -250
  390. package/dist/esm/bundled_modules/d3-delaunay/src/path.js +0 -39
  391. package/dist/esm/bundled_modules/d3-delaunay/src/polygon.js +0 -19
  392. package/dist/esm/bundled_modules/d3-delaunay/src/voronoi.js +0 -334
  393. package/dist/esm/bundled_modules/d3-dispatch/src/dispatch.js +0 -84
  394. package/dist/esm/bundled_modules/d3-dsv/src/dsv.js +0 -166
  395. package/dist/esm/bundled_modules/d3-force/src/center.js +0 -42
  396. package/dist/esm/bundled_modules/d3-force/src/collide.js +0 -102
  397. package/dist/esm/bundled_modules/d3-force/src/constant.js +0 -7
  398. package/dist/esm/bundled_modules/d3-force/src/jiggle.js +0 -5
  399. package/dist/esm/bundled_modules/d3-force/src/lcg.js +0 -11
  400. package/dist/esm/bundled_modules/d3-force/src/link.js +0 -119
  401. package/dist/esm/bundled_modules/d3-force/src/manyBody.js +0 -118
  402. package/dist/esm/bundled_modules/d3-force/src/simulation.js +0 -158
  403. package/dist/esm/bundled_modules/d3-force/src/x.js +0 -43
  404. package/dist/esm/bundled_modules/d3-force/src/y.js +0 -43
  405. package/dist/esm/bundled_modules/d3-format/src/defaultLocale.js +0 -20
  406. package/dist/esm/bundled_modules/d3-format/src/exponent.js +0 -7
  407. package/dist/esm/bundled_modules/d3-format/src/formatDecimal.js +0 -22
  408. package/dist/esm/bundled_modules/d3-format/src/formatGroup.js +0 -20
  409. package/dist/esm/bundled_modules/d3-format/src/formatNumerals.js +0 -9
  410. package/dist/esm/bundled_modules/d3-format/src/formatPrefixAuto.js +0 -18
  411. package/dist/esm/bundled_modules/d3-format/src/formatRounded.js +0 -13
  412. package/dist/esm/bundled_modules/d3-format/src/formatSpecifier.js +0 -49
  413. package/dist/esm/bundled_modules/d3-format/src/formatTrim.js +0 -13
  414. package/dist/esm/bundled_modules/d3-format/src/formatTypes.js +0 -21
  415. package/dist/esm/bundled_modules/d3-format/src/identity.js +0 -5
  416. package/dist/esm/bundled_modules/d3-format/src/locale.js +0 -150
  417. package/dist/esm/bundled_modules/d3-format/src/precisionFixed.js +0 -7
  418. package/dist/esm/bundled_modules/d3-format/src/precisionPrefix.js +0 -7
  419. package/dist/esm/bundled_modules/d3-format/src/precisionRound.js +0 -8
  420. package/dist/esm/bundled_modules/d3-geo/src/area.js +0 -78
  421. package/dist/esm/bundled_modules/d3-geo/src/bounds.js +0 -181
  422. package/dist/esm/bundled_modules/d3-geo/src/cartesian.js +0 -35
  423. package/dist/esm/bundled_modules/d3-geo/src/centroid.js +0 -145
  424. package/dist/esm/bundled_modules/d3-geo/src/circle.js +0 -33
  425. package/dist/esm/bundled_modules/d3-geo/src/clip/antimeridian.js +0 -94
  426. package/dist/esm/bundled_modules/d3-geo/src/clip/buffer.js +0 -26
  427. package/dist/esm/bundled_modules/d3-geo/src/clip/circle.js +0 -179
  428. package/dist/esm/bundled_modules/d3-geo/src/clip/index.js +0 -133
  429. package/dist/esm/bundled_modules/d3-geo/src/clip/line.js +0 -61
  430. package/dist/esm/bundled_modules/d3-geo/src/clip/rectangle.js +0 -170
  431. package/dist/esm/bundled_modules/d3-geo/src/clip/rejoin.js +0 -105
  432. package/dist/esm/bundled_modules/d3-geo/src/compose.js +0 -14
  433. package/dist/esm/bundled_modules/d3-geo/src/graticule.js +0 -103
  434. package/dist/esm/bundled_modules/d3-geo/src/identity.js +0 -3
  435. package/dist/esm/bundled_modules/d3-geo/src/math.js +0 -33
  436. package/dist/esm/bundled_modules/d3-geo/src/noop.js +0 -3
  437. package/dist/esm/bundled_modules/d3-geo/src/path/area.js +0 -50
  438. package/dist/esm/bundled_modules/d3-geo/src/path/bounds.js +0 -28
  439. package/dist/esm/bundled_modules/d3-geo/src/path/centroid.js +0 -100
  440. package/dist/esm/bundled_modules/d3-geo/src/path/context.js +0 -47
  441. package/dist/esm/bundled_modules/d3-geo/src/path/index.js +0 -78
  442. package/dist/esm/bundled_modules/d3-geo/src/path/measure.js +0 -45
  443. package/dist/esm/bundled_modules/d3-geo/src/path/string.js +0 -88
  444. package/dist/esm/bundled_modules/d3-geo/src/pointEqual.js +0 -7
  445. package/dist/esm/bundled_modules/d3-geo/src/polygonContains.js +0 -76
  446. package/dist/esm/bundled_modules/d3-geo/src/projection/albers.js +0 -12
  447. package/dist/esm/bundled_modules/d3-geo/src/projection/albersUsa.js +0 -113
  448. package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthal.js +0 -29
  449. package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthalEqualArea.js +0 -19
  450. package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthalEquidistant.js +0 -19
  451. package/dist/esm/bundled_modules/d3-geo/src/projection/conic.js +0 -17
  452. package/dist/esm/bundled_modules/d3-geo/src/projection/conicConformal.js +0 -40
  453. package/dist/esm/bundled_modules/d3-geo/src/projection/conicEqualArea.js +0 -35
  454. package/dist/esm/bundled_modules/d3-geo/src/projection/conicEquidistant.js +0 -34
  455. package/dist/esm/bundled_modules/d3-geo/src/projection/cylindricalEqualArea.js +0 -17
  456. package/dist/esm/bundled_modules/d3-geo/src/projection/equalEarth.js +0 -38
  457. package/dist/esm/bundled_modules/d3-geo/src/projection/equirectangular.js +0 -14
  458. package/dist/esm/bundled_modules/d3-geo/src/projection/fit.js +0 -49
  459. package/dist/esm/bundled_modules/d3-geo/src/projection/gnomonic.js +0 -18
  460. package/dist/esm/bundled_modules/d3-geo/src/projection/identity.js +0 -87
  461. package/dist/esm/bundled_modules/d3-geo/src/projection/index.js +0 -179
  462. package/dist/esm/bundled_modules/d3-geo/src/projection/mercator.js +0 -54
  463. package/dist/esm/bundled_modules/d3-geo/src/projection/naturalEarth1.js +0 -30
  464. package/dist/esm/bundled_modules/d3-geo/src/projection/orthographic.js +0 -17
  465. package/dist/esm/bundled_modules/d3-geo/src/projection/resample.js +0 -104
  466. package/dist/esm/bundled_modules/d3-geo/src/projection/stereographic.js +0 -20
  467. package/dist/esm/bundled_modules/d3-geo/src/projection/transverseMercator.js +0 -29
  468. package/dist/esm/bundled_modules/d3-geo/src/rotation.js +0 -81
  469. package/dist/esm/bundled_modules/d3-geo/src/stream.js +0 -71
  470. package/dist/esm/bundled_modules/d3-geo/src/transform.js +0 -22
  471. package/dist/esm/bundled_modules/d3-geo-projection/src/math.js +0 -18
  472. package/dist/esm/bundled_modules/d3-geo-projection/src/mollweide.js +0 -31
  473. package/dist/esm/bundled_modules/d3-hierarchy/src/accessors.js +0 -10
  474. package/dist/esm/bundled_modules/d3-hierarchy/src/array.js +0 -22
  475. package/dist/esm/bundled_modules/d3-hierarchy/src/cluster.js +0 -86
  476. package/dist/esm/bundled_modules/d3-hierarchy/src/constant.js +0 -11
  477. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/ancestors.js +0 -9
  478. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/count.js +0 -14
  479. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/descendants.js +0 -5
  480. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/each.js +0 -9
  481. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/eachAfter.js +0 -17
  482. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/eachBefore.js +0 -14
  483. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/find.js +0 -10
  484. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/index.js +0 -93
  485. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/iterator.js +0 -16
  486. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/leaves.js +0 -11
  487. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/links.js +0 -11
  488. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/path.js +0 -32
  489. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/sort.js +0 -9
  490. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/sum.js +0 -11
  491. package/dist/esm/bundled_modules/d3-hierarchy/src/lcg.js +0 -11
  492. package/dist/esm/bundled_modules/d3-hierarchy/src/pack/enclose.js +0 -120
  493. package/dist/esm/bundled_modules/d3-hierarchy/src/pack/index.js +0 -83
  494. package/dist/esm/bundled_modules/d3-hierarchy/src/pack/siblings.js +0 -116
  495. package/dist/esm/bundled_modules/d3-hierarchy/src/partition.js +0 -54
  496. package/dist/esm/bundled_modules/d3-hierarchy/src/stratify.js +0 -147
  497. package/dist/esm/bundled_modules/d3-hierarchy/src/tree.js +0 -239
  498. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/binary.js +0 -48
  499. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/dice.js +0 -14
  500. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/index.js +0 -96
  501. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/resquarify.js +0 -38
  502. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/round.js +0 -8
  503. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/slice.js +0 -14
  504. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/sliceDice.js +0 -8
  505. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/squarify.js +0 -68
  506. package/dist/esm/bundled_modules/d3-interpolate/src/array.js +0 -24
  507. package/dist/esm/bundled_modules/d3-interpolate/src/basis.js +0 -21
  508. package/dist/esm/bundled_modules/d3-interpolate/src/basisClosed.js +0 -15
  509. package/dist/esm/bundled_modules/d3-interpolate/src/color.js +0 -31
  510. package/dist/esm/bundled_modules/d3-interpolate/src/constant.js +0 -3
  511. package/dist/esm/bundled_modules/d3-interpolate/src/cubehelix.js +0 -31
  512. package/dist/esm/bundled_modules/d3-interpolate/src/date.js +0 -8
  513. package/dist/esm/bundled_modules/d3-interpolate/src/discrete.js +0 -8
  514. package/dist/esm/bundled_modules/d3-interpolate/src/hcl.js +0 -23
  515. package/dist/esm/bundled_modules/d3-interpolate/src/hsl.js +0 -23
  516. package/dist/esm/bundled_modules/d3-interpolate/src/hue.js +0 -11
  517. package/dist/esm/bundled_modules/d3-interpolate/src/index.js +0 -21
  518. package/dist/esm/bundled_modules/d3-interpolate/src/lab.js +0 -18
  519. package/dist/esm/bundled_modules/d3-interpolate/src/number.js +0 -7
  520. package/dist/esm/bundled_modules/d3-interpolate/src/numberArray.js +0 -16
  521. package/dist/esm/bundled_modules/d3-interpolate/src/object.js +0 -25
  522. package/dist/esm/bundled_modules/d3-interpolate/src/piecewise.js +0 -13
  523. package/dist/esm/bundled_modules/d3-interpolate/src/quantize.js +0 -7
  524. package/dist/esm/bundled_modules/d3-interpolate/src/rgb.js +0 -57
  525. package/dist/esm/bundled_modules/d3-interpolate/src/round.js +0 -7
  526. package/dist/esm/bundled_modules/d3-interpolate/src/string.js +0 -66
  527. package/dist/esm/bundled_modules/d3-interpolate/src/transform/decompose.js +0 -28
  528. package/dist/esm/bundled_modules/d3-interpolate/src/transform/index.js +0 -65
  529. package/dist/esm/bundled_modules/d3-interpolate/src/transform/parse.js +0 -20
  530. package/dist/esm/bundled_modules/d3-interpolate/src/value.js +0 -24
  531. package/dist/esm/bundled_modules/d3-interpolate/src/zoom.js +0 -73
  532. package/dist/esm/bundled_modules/d3-path/src/path.js +0 -154
  533. package/dist/esm/bundled_modules/d3-quadtree/src/add.js +0 -86
  534. package/dist/esm/bundled_modules/d3-quadtree/src/cover.js +0 -45
  535. package/dist/esm/bundled_modules/d3-quadtree/src/data.js +0 -9
  536. package/dist/esm/bundled_modules/d3-quadtree/src/extent.js +0 -7
  537. package/dist/esm/bundled_modules/d3-quadtree/src/find.js +0 -72
  538. package/dist/esm/bundled_modules/d3-quadtree/src/quad.js +0 -9
  539. package/dist/esm/bundled_modules/d3-quadtree/src/quadtree.js +0 -75
  540. package/dist/esm/bundled_modules/d3-quadtree/src/remove.js +0 -64
  541. package/dist/esm/bundled_modules/d3-quadtree/src/root.js +0 -5
  542. package/dist/esm/bundled_modules/d3-quadtree/src/size.js +0 -9
  543. package/dist/esm/bundled_modules/d3-quadtree/src/visit.js +0 -18
  544. package/dist/esm/bundled_modules/d3-quadtree/src/visitAfter.js +0 -23
  545. package/dist/esm/bundled_modules/d3-quadtree/src/x.js +0 -9
  546. package/dist/esm/bundled_modules/d3-quadtree/src/y.js +0 -9
  547. package/dist/esm/bundled_modules/d3-scale/src/constant.js +0 -7
  548. package/dist/esm/bundled_modules/d3-scale/src/continuous.js +0 -129
  549. package/dist/esm/bundled_modules/d3-scale/src/diverging.js +0 -108
  550. package/dist/esm/bundled_modules/d3-scale/src/identity.js +0 -30
  551. package/dist/esm/bundled_modules/d3-scale/src/init.js +0 -28
  552. package/dist/esm/bundled_modules/d3-scale/src/linear.js +0 -72
  553. package/dist/esm/bundled_modules/d3-scale/src/log.js +0 -143
  554. package/dist/esm/bundled_modules/d3-scale/src/nice.js +0 -20
  555. package/dist/esm/bundled_modules/d3-scale/src/number.js +0 -5
  556. package/dist/esm/bundled_modules/d3-scale/src/ordinal.js +0 -48
  557. package/dist/esm/bundled_modules/d3-scale/src/pow.js +0 -52
  558. package/dist/esm/bundled_modules/d3-scale/src/quantile.js +0 -61
  559. package/dist/esm/bundled_modules/d3-scale/src/quantize.js +0 -58
  560. package/dist/esm/bundled_modules/d3-scale/src/sequential.js +0 -110
  561. package/dist/esm/bundled_modules/d3-scale/src/symlog.js +0 -37
  562. package/dist/esm/bundled_modules/d3-scale/src/threshold.js +0 -41
  563. package/dist/esm/bundled_modules/d3-scale/src/tickFormat.js +0 -35
  564. package/dist/esm/bundled_modules/d3-scale/src/time.js +0 -80
  565. package/dist/esm/bundled_modules/d3-scale/src/utcTime.js +0 -17
  566. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Accent.js +0 -5
  567. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Dark2.js +0 -5
  568. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Paired.js +0 -5
  569. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Pastel1.js +0 -5
  570. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Pastel2.js +0 -5
  571. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set1.js +0 -5
  572. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set2.js +0 -5
  573. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set3.js +0 -5
  574. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/category10.js +0 -5
  575. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/observable10.js +0 -5
  576. package/dist/esm/bundled_modules/d3-scale-chromatic/src/colors.js +0 -7
  577. package/dist/esm/bundled_modules/d3-shape/src/arc.js +0 -270
  578. package/dist/esm/bundled_modules/d3-shape/src/area.js +0 -114
  579. package/dist/esm/bundled_modules/d3-shape/src/array.js +0 -7
  580. package/dist/esm/bundled_modules/d3-shape/src/constant.js +0 -7
  581. package/dist/esm/bundled_modules/d3-shape/src/curve/basis.js +0 -53
  582. package/dist/esm/bundled_modules/d3-shape/src/curve/basisClosed.js +0 -54
  583. package/dist/esm/bundled_modules/d3-shape/src/curve/basisOpen.js +0 -41
  584. package/dist/esm/bundled_modules/d3-shape/src/curve/bundle.js +0 -58
  585. package/dist/esm/bundled_modules/d3-shape/src/curve/cardinal.js +0 -63
  586. package/dist/esm/bundled_modules/d3-shape/src/curve/cardinalClosed.js +0 -63
  587. package/dist/esm/bundled_modules/d3-shape/src/curve/cardinalOpen.js +0 -51
  588. package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRom.js +0 -90
  589. package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRomClosed.js +0 -76
  590. package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRomOpen.js +0 -64
  591. package/dist/esm/bundled_modules/d3-shape/src/curve/linear.js +0 -33
  592. package/dist/esm/bundled_modules/d3-shape/src/curve/linearClosed.js +0 -27
  593. package/dist/esm/bundled_modules/d3-shape/src/curve/monotone.js +0 -106
  594. package/dist/esm/bundled_modules/d3-shape/src/curve/natural.js +0 -67
  595. package/dist/esm/bundled_modules/d3-shape/src/curve/step.js +0 -55
  596. package/dist/esm/bundled_modules/d3-shape/src/line.js +0 -60
  597. package/dist/esm/bundled_modules/d3-shape/src/math.js +0 -22
  598. package/dist/esm/bundled_modules/d3-shape/src/noop.js +0 -3
  599. package/dist/esm/bundled_modules/d3-shape/src/path.js +0 -21
  600. package/dist/esm/bundled_modules/d3-shape/src/point.js +0 -9
  601. package/dist/esm/bundled_modules/d3-shape/src/symbol/circle.js +0 -11
  602. package/dist/esm/bundled_modules/d3-shape/src/symbol.js +0 -34
  603. package/dist/esm/bundled_modules/d3-time/src/day.js +0 -37
  604. package/dist/esm/bundled_modules/d3-time/src/duration.js +0 -9
  605. package/dist/esm/bundled_modules/d3-time/src/hour.js +0 -28
  606. package/dist/esm/bundled_modules/d3-time/src/interval.js +0 -71
  607. package/dist/esm/bundled_modules/d3-time/src/millisecond.js +0 -27
  608. package/dist/esm/bundled_modules/d3-time/src/minute.js +0 -28
  609. package/dist/esm/bundled_modules/d3-time/src/month.js +0 -29
  610. package/dist/esm/bundled_modules/d3-time/src/second.js +0 -16
  611. package/dist/esm/bundled_modules/d3-time/src/ticks.js +0 -59
  612. package/dist/esm/bundled_modules/d3-time/src/week.js +0 -58
  613. package/dist/esm/bundled_modules/d3-time/src/year.js +0 -51
  614. package/dist/esm/bundled_modules/d3-time-format/src/defaultLocale.js +0 -29
  615. package/dist/esm/bundled_modules/d3-time-format/src/locale.js +0 -690
  616. package/dist/esm/bundled_modules/d3-timer/src/interval.js +0 -19
  617. package/dist/esm/bundled_modules/d3-timer/src/timer.js +0 -112
  618. package/dist/esm/bundled_modules/delaunator/index.js +0 -481
  619. package/dist/esm/bundled_modules/internmap/src/index.js +0 -63
  620. package/dist/esm/bundled_modules/json-stringify-pretty-compact/index.js +0 -100
  621. package/dist/esm/bundled_modules/robust-predicates/esm/orient2d.js +0 -182
  622. package/dist/esm/bundled_modules/robust-predicates/esm/util.js +0 -88
  623. package/dist/esm/bundled_modules/topojson-client/src/feature.js +0 -72
  624. package/dist/esm/bundled_modules/topojson-client/src/identity.js +0 -5
  625. package/dist/esm/bundled_modules/topojson-client/src/mesh.js +0 -55
  626. package/dist/esm/bundled_modules/topojson-client/src/reverse.js +0 -6
  627. package/dist/esm/bundled_modules/topojson-client/src/stitch.js +0 -75
  628. package/dist/esm/bundled_modules/topojson-client/src/transform.js +0 -21
  629. package/dist/esm/bundled_modules/vega/build/vega.module.js +0 -38
  630. package/dist/esm/bundled_modules/vega-canvas/build/vega-canvas.browser.js +0 -14
  631. package/dist/esm/bundled_modules/vega-crossfilter/build/vega-crossfilter.js +0 -673
  632. package/dist/esm/bundled_modules/vega-dataflow/build/vega-dataflow.js +0 -2080
  633. package/dist/esm/bundled_modules/vega-embed/build/embed.js +0 -2932
  634. package/dist/esm/bundled_modules/vega-encode/build/vega-encode.js +0 -952
  635. package/dist/esm/bundled_modules/vega-event-selector/build/vega-event-selector.js +0 -190
  636. package/dist/esm/bundled_modules/vega-expression/build/vega-expression.js +0 -1597
  637. package/dist/esm/bundled_modules/vega-force/build/vega-force.js +0 -293
  638. package/dist/esm/bundled_modules/vega-format/build/vega-format.js +0 -191
  639. package/dist/esm/bundled_modules/vega-functions/build/vega-functions.js +0 -779
  640. package/dist/esm/bundled_modules/vega-geo/build/vega-geo.js +0 -1322
  641. package/dist/esm/bundled_modules/vega-hierarchy/build/vega-hierarchy.js +0 -572
  642. package/dist/esm/bundled_modules/vega-interpreter/build/vega-interpreter.js +0 -308
  643. package/dist/esm/bundled_modules/vega-label/build/vega-label.js +0 -874
  644. package/dist/esm/bundled_modules/vega-lite/build/index.js +0 -20110
  645. package/dist/esm/bundled_modules/vega-loader/build/vega-loader.browser.js +0 -328
  646. package/dist/esm/bundled_modules/vega-parser/build/vega-parser.js +0 -3783
  647. package/dist/esm/bundled_modules/vega-projection/build/vega-projection.js +0 -86
  648. package/dist/esm/bundled_modules/vega-regression/build/vega-regression.js +0 -233
  649. package/dist/esm/bundled_modules/vega-runtime/build/vega-runtime.js +0 -586
  650. package/dist/esm/bundled_modules/vega-scale/build/vega-scale.js +0 -799
  651. package/dist/esm/bundled_modules/vega-scenegraph/build/vega-scenegraph.js +0 -4982
  652. package/dist/esm/bundled_modules/vega-schema-url-parser/dist/parser.modern.js +0 -3
  653. package/dist/esm/bundled_modules/vega-selections/build/vega-selection.js +0 -336
  654. package/dist/esm/bundled_modules/vega-statistics/build/vega-statistics.js +0 -1157
  655. package/dist/esm/bundled_modules/vega-themes/build/index.js +0 -837
  656. package/dist/esm/bundled_modules/vega-time/build/vega-time.js +0 -314
  657. package/dist/esm/bundled_modules/vega-tooltip/build/index.js +0 -339
  658. package/dist/esm/bundled_modules/vega-transforms/build/vega-transforms.js +0 -3740
  659. package/dist/esm/bundled_modules/vega-util/build/vega-util.js +0 -753
  660. package/dist/esm/bundled_modules/vega-view/build/vega-view.js +0 -1304
  661. package/dist/esm/bundled_modules/vega-view-transforms/build/vega-view-transforms.js +0 -1306
  662. package/dist/esm/bundled_modules/vega-voronoi/build/vega-voronoi.js +0 -78
  663. package/dist/esm/bundled_modules/vega-wordcloud/build/vega-wordcloud.js +0 -538
  664. package/dist/esm/styles/entrypoint.scss.js +0 -3
  665. package/dist/esm/unstable/Card/components.js +0 -182
  666. package/dist/esm/unstable/Card/state.js +0 -30
  667. package/dist/esm/unstable/StatCard/index.js +0 -116
  668. package/dist/esm/unstable/StatCard/index.module.scss.js +0 -3
  669. package/dist/esm/unstable/extras/chart/BarChart.js +0 -40
  670. package/dist/esm/unstable/extras/chart/Chart.js +0 -96
  671. package/dist/esm/unstable/extras/chart/DistributionChart.js +0 -82
  672. package/dist/esm/unstable/extras/chart/DonutChart.js +0 -41
  673. package/dist/esm/unstable/extras/chart/LineChart.js +0 -43
  674. package/dist/esm/unstable/extras/chart/PieChart.js +0 -37
  675. package/dist/esm/unstable/extras/chart/TimelineChart.js +0 -46
  676. package/dist/esm/unstable/extras/chart/index.js +0 -8
  677. package/dist/esm/unstable/skeleton/index.js +0 -69
  678. package/dist/esm/unstable/skeleton/index.module.scss.js +0 -3
  679. package/dist/esm/unstable/suspense/index.js +0 -15
  680. package/dist/esm/unstable/suspense/index.module.scss.js +0 -3
  681. package/dist/esm/unstable/suspense/loader.js +0 -20
  682. package/dist/types/unstable/Card/components.d.ts +0 -90
  683. package/dist/types/unstable/Card/state.d.ts +0 -20
  684. package/dist/types/unstable/StatCard/index.d.ts +0 -33
  685. package/dist/types/unstable/extras/chart/BarChart.d.ts +0 -16
  686. package/dist/types/unstable/extras/chart/Chart.d.ts +0 -33
  687. package/dist/types/unstable/extras/chart/DistributionChart.d.ts +0 -18
  688. package/dist/types/unstable/extras/chart/DonutChart.d.ts +0 -16
  689. package/dist/types/unstable/extras/chart/LineChart.d.ts +0 -16
  690. package/dist/types/unstable/extras/chart/PieChart.d.ts +0 -14
  691. package/dist/types/unstable/extras/chart/TimelineChart.d.ts +0 -15
  692. package/dist/types/unstable/skeleton/index.d.ts +0 -15
  693. package/dist/types/unstable/suspense/index.d.ts +0 -9
  694. package/dist/types/unstable/suspense/loader.d.ts +0 -7
@@ -1,43 +0,0 @@
1
- 'use strict';
2
-
3
- var math = require('./math.js');
4
-
5
- function spherical(cartesian) {
6
- return [math.atan2(cartesian[1], cartesian[0]), math.asin(cartesian[2])];
7
- }
8
-
9
- function cartesian(spherical) {
10
- var lambda = spherical[0], phi = spherical[1], cosPhi = math.cos(phi);
11
- return [cosPhi * math.cos(lambda), cosPhi * math.sin(lambda), math.sin(phi)];
12
- }
13
-
14
- function cartesianDot(a, b) {
15
- return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
16
- }
17
-
18
- function cartesianCross(a, b) {
19
- return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];
20
- }
21
-
22
- // TODO return a
23
- function cartesianAddInPlace(a, b) {
24
- a[0] += b[0], a[1] += b[1], a[2] += b[2];
25
- }
26
-
27
- function cartesianScale(vector, k) {
28
- return [vector[0] * k, vector[1] * k, vector[2] * k];
29
- }
30
-
31
- // TODO return d
32
- function cartesianNormalizeInPlace(d) {
33
- var l = math.sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);
34
- d[0] /= l, d[1] /= l, d[2] /= l;
35
- }
36
-
37
- exports.cartesian = cartesian;
38
- exports.cartesianAddInPlace = cartesianAddInPlace;
39
- exports.cartesianCross = cartesianCross;
40
- exports.cartesianDot = cartesianDot;
41
- exports.cartesianNormalizeInPlace = cartesianNormalizeInPlace;
42
- exports.cartesianScale = cartesianScale;
43
- exports.spherical = spherical;
@@ -1,149 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var math = require('./math.js');
6
- var noop = require('./noop.js');
7
- var stream = require('./stream.js');
8
- var fsum = require('../../d3-array/src/fsum.js');
9
-
10
- var W0, W1,
11
- X0, Y0, Z0,
12
- X1, Y1, Z1,
13
- X2, Y2, Z2,
14
- lambda00, phi00, // first point
15
- x0, y0, z0; // previous point
16
-
17
- var centroidStream = {
18
- sphere: noop.default,
19
- point: centroidPoint,
20
- lineStart: centroidLineStart,
21
- lineEnd: centroidLineEnd,
22
- polygonStart: function() {
23
- centroidStream.lineStart = centroidRingStart;
24
- centroidStream.lineEnd = centroidRingEnd;
25
- },
26
- polygonEnd: function() {
27
- centroidStream.lineStart = centroidLineStart;
28
- centroidStream.lineEnd = centroidLineEnd;
29
- }
30
- };
31
-
32
- // Arithmetic mean of Cartesian vectors.
33
- function centroidPoint(lambda, phi) {
34
- lambda *= math.radians, phi *= math.radians;
35
- var cosPhi = math.cos(phi);
36
- centroidPointCartesian(cosPhi * math.cos(lambda), cosPhi * math.sin(lambda), math.sin(phi));
37
- }
38
-
39
- function centroidPointCartesian(x, y, z) {
40
- ++W0;
41
- X0 += (x - X0) / W0;
42
- Y0 += (y - Y0) / W0;
43
- Z0 += (z - Z0) / W0;
44
- }
45
-
46
- function centroidLineStart() {
47
- centroidStream.point = centroidLinePointFirst;
48
- }
49
-
50
- function centroidLinePointFirst(lambda, phi) {
51
- lambda *= math.radians, phi *= math.radians;
52
- var cosPhi = math.cos(phi);
53
- x0 = cosPhi * math.cos(lambda);
54
- y0 = cosPhi * math.sin(lambda);
55
- z0 = math.sin(phi);
56
- centroidStream.point = centroidLinePoint;
57
- centroidPointCartesian(x0, y0, z0);
58
- }
59
-
60
- function centroidLinePoint(lambda, phi) {
61
- lambda *= math.radians, phi *= math.radians;
62
- var cosPhi = math.cos(phi),
63
- x = cosPhi * math.cos(lambda),
64
- y = cosPhi * math.sin(lambda),
65
- z = math.sin(phi),
66
- w = math.atan2(math.sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);
67
- W1 += w;
68
- X1 += w * (x0 + (x0 = x));
69
- Y1 += w * (y0 + (y0 = y));
70
- Z1 += w * (z0 + (z0 = z));
71
- centroidPointCartesian(x0, y0, z0);
72
- }
73
-
74
- function centroidLineEnd() {
75
- centroidStream.point = centroidPoint;
76
- }
77
-
78
- // See J. E. Brock, The Inertia Tensor for a Spherical Triangle,
79
- // J. Applied Mechanics 42, 239 (1975).
80
- function centroidRingStart() {
81
- centroidStream.point = centroidRingPointFirst;
82
- }
83
-
84
- function centroidRingEnd() {
85
- centroidRingPoint(lambda00, phi00);
86
- centroidStream.point = centroidPoint;
87
- }
88
-
89
- function centroidRingPointFirst(lambda, phi) {
90
- lambda00 = lambda, phi00 = phi;
91
- lambda *= math.radians, phi *= math.radians;
92
- centroidStream.point = centroidRingPoint;
93
- var cosPhi = math.cos(phi);
94
- x0 = cosPhi * math.cos(lambda);
95
- y0 = cosPhi * math.sin(lambda);
96
- z0 = math.sin(phi);
97
- centroidPointCartesian(x0, y0, z0);
98
- }
99
-
100
- function centroidRingPoint(lambda, phi) {
101
- lambda *= math.radians, phi *= math.radians;
102
- var cosPhi = math.cos(phi),
103
- x = cosPhi * math.cos(lambda),
104
- y = cosPhi * math.sin(lambda),
105
- z = math.sin(phi),
106
- cx = y0 * z - z0 * y,
107
- cy = z0 * x - x0 * z,
108
- cz = x0 * y - y0 * x,
109
- m = math.hypot(cx, cy, cz),
110
- w = math.asin(m), // line weight = angle
111
- v = m && -w / m; // area weight multiplier
112
- X2.add(v * cx);
113
- Y2.add(v * cy);
114
- Z2.add(v * cz);
115
- W1 += w;
116
- X1 += w * (x0 + (x0 = x));
117
- Y1 += w * (y0 + (y0 = y));
118
- Z1 += w * (z0 + (z0 = z));
119
- centroidPointCartesian(x0, y0, z0);
120
- }
121
-
122
- function geoCentroid$1(object) {
123
- W0 = W1 =
124
- X0 = Y0 = Z0 =
125
- X1 = Y1 = Z1 = 0;
126
- X2 = new fsum.Adder();
127
- Y2 = new fsum.Adder();
128
- Z2 = new fsum.Adder();
129
- stream.default(object, centroidStream);
130
-
131
- var x = +X2,
132
- y = +Y2,
133
- z = +Z2,
134
- m = math.hypot(x, y, z);
135
-
136
- // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.
137
- if (m < math.epsilon2) {
138
- x = X1, y = Y1, z = Z1;
139
- // If the feature has zero length, fall back to arithmetic mean of point vectors.
140
- if (W1 < math.epsilon) x = X0, y = Y0, z = Z0;
141
- m = math.hypot(x, y, z);
142
- // If the feature still has an undefined ccentroid, then return.
143
- if (m < math.epsilon2) return [NaN, NaN];
144
- }
145
-
146
- return [math.atan2(y, x) * math.degrees, math.asin(z / m) * math.degrees];
147
- }
148
-
149
- exports.default = geoCentroid$1;
@@ -1,35 +0,0 @@
1
- 'use strict';
2
-
3
- var cartesian = require('./cartesian.js');
4
- var math = require('./math.js');
5
- require('./rotation.js');
6
-
7
- // Generates a circle centered at [0°, 0°], with a given radius and precision.
8
- function circleStream(stream, radius, delta, direction, t0, t1) {
9
- if (!delta) return;
10
- var cosRadius = math.cos(radius),
11
- sinRadius = math.sin(radius),
12
- step = direction * delta;
13
- if (t0 == null) {
14
- t0 = radius + direction * math.tau;
15
- t1 = radius - step / 2;
16
- } else {
17
- t0 = circleRadius(cosRadius, t0);
18
- t1 = circleRadius(cosRadius, t1);
19
- if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * math.tau;
20
- }
21
- for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {
22
- point = cartesian.spherical([cosRadius, -sinRadius * math.cos(t), -sinRadius * math.sin(t)]);
23
- stream.point(point[0], point[1]);
24
- }
25
- }
26
-
27
- // Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].
28
- function circleRadius(cosRadius, point) {
29
- point = cartesian.cartesian(point), point[0] -= cosRadius;
30
- cartesian.cartesianNormalizeInPlace(point);
31
- var radius = math.acos(-point[1]);
32
- return ((-point[2] < 0 ? -radius : radius) + math.tau - math.epsilon) % math.tau;
33
- }
34
-
35
- exports.circleStream = circleStream;
@@ -1,98 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var index = require('./index.js');
6
- var math = require('../math.js');
7
-
8
- var clipAntimeridian = index.default(
9
- function() { return true; },
10
- clipAntimeridianLine,
11
- clipAntimeridianInterpolate,
12
- [-math.pi, -math.halfPi]
13
- );
14
-
15
- // Takes a line and cuts into visible segments. Return values: 0 - there were
16
- // intersections or the line was empty; 1 - no intersections; 2 - there were
17
- // intersections, and the first and last segments should be rejoined.
18
- function clipAntimeridianLine(stream) {
19
- var lambda0 = NaN,
20
- phi0 = NaN,
21
- sign0 = NaN,
22
- clean; // no intersections
23
-
24
- return {
25
- lineStart: function() {
26
- stream.lineStart();
27
- clean = 1;
28
- },
29
- point: function(lambda1, phi1) {
30
- var sign1 = lambda1 > 0 ? math.pi : -math.pi,
31
- delta = math.abs(lambda1 - lambda0);
32
- if (math.abs(delta - math.pi) < math.epsilon) { // line crosses a pole
33
- stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? math.halfPi : -math.halfPi);
34
- stream.point(sign0, phi0);
35
- stream.lineEnd();
36
- stream.lineStart();
37
- stream.point(sign1, phi0);
38
- stream.point(lambda1, phi0);
39
- clean = 0;
40
- } else if (sign0 !== sign1 && delta >= math.pi) { // line crosses antimeridian
41
- if (math.abs(lambda0 - sign0) < math.epsilon) lambda0 -= sign0 * math.epsilon; // handle degeneracies
42
- if (math.abs(lambda1 - sign1) < math.epsilon) lambda1 -= sign1 * math.epsilon;
43
- phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);
44
- stream.point(sign0, phi0);
45
- stream.lineEnd();
46
- stream.lineStart();
47
- stream.point(sign1, phi0);
48
- clean = 0;
49
- }
50
- stream.point(lambda0 = lambda1, phi0 = phi1);
51
- sign0 = sign1;
52
- },
53
- lineEnd: function() {
54
- stream.lineEnd();
55
- lambda0 = phi0 = NaN;
56
- },
57
- clean: function() {
58
- return 2 - clean; // if intersections, rejoin first and last segments
59
- }
60
- };
61
- }
62
-
63
- function clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {
64
- var cosPhi0,
65
- cosPhi1,
66
- sinLambda0Lambda1 = math.sin(lambda0 - lambda1);
67
- return math.abs(sinLambda0Lambda1) > math.epsilon
68
- ? math.atan((math.sin(phi0) * (cosPhi1 = math.cos(phi1)) * math.sin(lambda1)
69
- - math.sin(phi1) * (cosPhi0 = math.cos(phi0)) * math.sin(lambda0))
70
- / (cosPhi0 * cosPhi1 * sinLambda0Lambda1))
71
- : (phi0 + phi1) / 2;
72
- }
73
-
74
- function clipAntimeridianInterpolate(from, to, direction, stream) {
75
- var phi;
76
- if (from == null) {
77
- phi = direction * math.halfPi;
78
- stream.point(-math.pi, phi);
79
- stream.point(0, phi);
80
- stream.point(math.pi, phi);
81
- stream.point(math.pi, 0);
82
- stream.point(math.pi, -phi);
83
- stream.point(0, -phi);
84
- stream.point(-math.pi, -phi);
85
- stream.point(-math.pi, 0);
86
- stream.point(-math.pi, phi);
87
- } else if (math.abs(from[0] - to[0]) > math.epsilon) {
88
- var lambda = from[0] < to[0] ? math.pi : -math.pi;
89
- phi = direction * lambda / 2;
90
- stream.point(-lambda, phi);
91
- stream.point(0, phi);
92
- stream.point(lambda, phi);
93
- } else {
94
- stream.point(to[0], to[1]);
95
- }
96
- }
97
-
98
- exports.default = clipAntimeridian;
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var noop = require('../noop.js');
6
-
7
- function clipBuffer() {
8
- var lines = [],
9
- line;
10
- return {
11
- point: function(x, y, m) {
12
- line.push([x, y, m]);
13
- },
14
- lineStart: function() {
15
- lines.push(line = []);
16
- },
17
- lineEnd: noop.default,
18
- rejoin: function() {
19
- if (lines.length > 1) lines.push(lines.pop().concat(lines.shift()));
20
- },
21
- result: function() {
22
- var result = lines;
23
- lines = [];
24
- line = null;
25
- return result;
26
- }
27
- };
28
- }
29
-
30
- exports.default = clipBuffer;
@@ -1,183 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var cartesian = require('../cartesian.js');
6
- var circle = require('../circle.js');
7
- var math = require('../math.js');
8
- var pointEqual = require('../pointEqual.js');
9
- var index = require('./index.js');
10
-
11
- function clipCircle(radius) {
12
- var cr = math.cos(radius),
13
- delta = 2 * math.radians,
14
- smallRadius = cr > 0,
15
- notHemisphere = math.abs(cr) > math.epsilon; // TODO optimise for this common case
16
-
17
- function interpolate(from, to, direction, stream) {
18
- circle.circleStream(stream, radius, delta, direction, from, to);
19
- }
20
-
21
- function visible(lambda, phi) {
22
- return math.cos(lambda) * math.cos(phi) > cr;
23
- }
24
-
25
- // Takes a line and cuts into visible segments. Return values used for polygon
26
- // clipping: 0 - there were intersections or the line was empty; 1 - no
27
- // intersections 2 - there were intersections, and the first and last segments
28
- // should be rejoined.
29
- function clipLine(stream) {
30
- var point0, // previous point
31
- c0, // code for previous point
32
- v0, // visibility of previous point
33
- v00, // visibility of first point
34
- clean; // no intersections
35
- return {
36
- lineStart: function() {
37
- v00 = v0 = false;
38
- clean = 1;
39
- },
40
- point: function(lambda, phi) {
41
- var point1 = [lambda, phi],
42
- point2,
43
- v = visible(lambda, phi),
44
- c = smallRadius
45
- ? v ? 0 : code(lambda, phi)
46
- : v ? code(lambda + (lambda < 0 ? math.pi : -math.pi), phi) : 0;
47
- if (!point0 && (v00 = v0 = v)) stream.lineStart();
48
- if (v !== v0) {
49
- point2 = intersect(point0, point1);
50
- if (!point2 || pointEqual.default(point0, point2) || pointEqual.default(point1, point2))
51
- point1[2] = 1;
52
- }
53
- if (v !== v0) {
54
- clean = 0;
55
- if (v) {
56
- // outside going in
57
- stream.lineStart();
58
- point2 = intersect(point1, point0);
59
- stream.point(point2[0], point2[1]);
60
- } else {
61
- // inside going out
62
- point2 = intersect(point0, point1);
63
- stream.point(point2[0], point2[1], 2);
64
- stream.lineEnd();
65
- }
66
- point0 = point2;
67
- } else if (notHemisphere && point0 && smallRadius ^ v) {
68
- var t;
69
- // If the codes for two points are different, or are both zero,
70
- // and there this segment intersects with the small circle.
71
- if (!(c & c0) && (t = intersect(point1, point0, true))) {
72
- clean = 0;
73
- if (smallRadius) {
74
- stream.lineStart();
75
- stream.point(t[0][0], t[0][1]);
76
- stream.point(t[1][0], t[1][1]);
77
- stream.lineEnd();
78
- } else {
79
- stream.point(t[1][0], t[1][1]);
80
- stream.lineEnd();
81
- stream.lineStart();
82
- stream.point(t[0][0], t[0][1], 3);
83
- }
84
- }
85
- }
86
- if (v && (!point0 || !pointEqual.default(point0, point1))) {
87
- stream.point(point1[0], point1[1]);
88
- }
89
- point0 = point1, v0 = v, c0 = c;
90
- },
91
- lineEnd: function() {
92
- if (v0) stream.lineEnd();
93
- point0 = null;
94
- },
95
- // Rejoin first and last segments if there were intersections and the first
96
- // and last points were visible.
97
- clean: function() {
98
- return clean | ((v00 && v0) << 1);
99
- }
100
- };
101
- }
102
-
103
- // Intersects the great circle between a and b with the clip circle.
104
- function intersect(a, b, two) {
105
- var pa = cartesian.cartesian(a),
106
- pb = cartesian.cartesian(b);
107
-
108
- // We have two planes, n1.p = d1 and n2.p = d2.
109
- // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).
110
- var n1 = [1, 0, 0], // normal
111
- n2 = cartesian.cartesianCross(pa, pb),
112
- n2n2 = cartesian.cartesianDot(n2, n2),
113
- n1n2 = n2[0], // cartesianDot(n1, n2),
114
- determinant = n2n2 - n1n2 * n1n2;
115
-
116
- // Two polar points.
117
- if (!determinant) return !two && a;
118
-
119
- var c1 = cr * n2n2 / determinant,
120
- c2 = -cr * n1n2 / determinant,
121
- n1xn2 = cartesian.cartesianCross(n1, n2),
122
- A = cartesian.cartesianScale(n1, c1),
123
- B = cartesian.cartesianScale(n2, c2);
124
- cartesian.cartesianAddInPlace(A, B);
125
-
126
- // Solve |p(t)|^2 = 1.
127
- var u = n1xn2,
128
- w = cartesian.cartesianDot(A, u),
129
- uu = cartesian.cartesianDot(u, u),
130
- t2 = w * w - uu * (cartesian.cartesianDot(A, A) - 1);
131
-
132
- if (t2 < 0) return;
133
-
134
- var t = math.sqrt(t2),
135
- q = cartesian.cartesianScale(u, (-w - t) / uu);
136
- cartesian.cartesianAddInPlace(q, A);
137
- q = cartesian.spherical(q);
138
-
139
- if (!two) return q;
140
-
141
- // Two intersection points.
142
- var lambda0 = a[0],
143
- lambda1 = b[0],
144
- phi0 = a[1],
145
- phi1 = b[1],
146
- z;
147
-
148
- if (lambda1 < lambda0) z = lambda0, lambda0 = lambda1, lambda1 = z;
149
-
150
- var delta = lambda1 - lambda0,
151
- polar = math.abs(delta - math.pi) < math.epsilon,
152
- meridian = polar || delta < math.epsilon;
153
-
154
- if (!polar && phi1 < phi0) z = phi0, phi0 = phi1, phi1 = z;
155
-
156
- // Check that the first point is between a and b.
157
- if (meridian
158
- ? polar
159
- ? phi0 + phi1 > 0 ^ q[1] < (math.abs(q[0] - lambda0) < math.epsilon ? phi0 : phi1)
160
- : phi0 <= q[1] && q[1] <= phi1
161
- : delta > math.pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) {
162
- var q1 = cartesian.cartesianScale(u, (-w + t) / uu);
163
- cartesian.cartesianAddInPlace(q1, A);
164
- return [q, cartesian.spherical(q1)];
165
- }
166
- }
167
-
168
- // Generates a 4-bit vector representing the location of a point relative to
169
- // the small circle's bounding box.
170
- function code(lambda, phi) {
171
- var r = smallRadius ? radius : math.pi - radius,
172
- code = 0;
173
- if (lambda < -r) code |= 1; // left
174
- else if (lambda > r) code |= 2; // right
175
- if (phi < -r) code |= 4; // below
176
- else if (phi > r) code |= 8; // above
177
- return code;
178
- }
179
-
180
- return index.default(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-math.pi, radius - math.pi]);
181
- }
182
-
183
- exports.default = clipCircle;
@@ -1,137 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var buffer = require('./buffer.js');
6
- var rejoin = require('./rejoin.js');
7
- var math = require('../math.js');
8
- var polygonContains = require('../polygonContains.js');
9
- var merge = require('../../../d3-array/src/merge.js');
10
-
11
- function clip(pointVisible, clipLine, interpolate, start) {
12
- return function(sink) {
13
- var line = clipLine(sink),
14
- ringBuffer = buffer.default(),
15
- ringSink = clipLine(ringBuffer),
16
- polygonStarted = false,
17
- polygon,
18
- segments,
19
- ring;
20
-
21
- var clip = {
22
- point: point,
23
- lineStart: lineStart,
24
- lineEnd: lineEnd,
25
- polygonStart: function() {
26
- clip.point = pointRing;
27
- clip.lineStart = ringStart;
28
- clip.lineEnd = ringEnd;
29
- segments = [];
30
- polygon = [];
31
- },
32
- polygonEnd: function() {
33
- clip.point = point;
34
- clip.lineStart = lineStart;
35
- clip.lineEnd = lineEnd;
36
- segments = merge.default(segments);
37
- var startInside = polygonContains.default(polygon, start);
38
- if (segments.length) {
39
- if (!polygonStarted) sink.polygonStart(), polygonStarted = true;
40
- rejoin.default(segments, compareIntersection, startInside, interpolate, sink);
41
- } else if (startInside) {
42
- if (!polygonStarted) sink.polygonStart(), polygonStarted = true;
43
- sink.lineStart();
44
- interpolate(null, null, 1, sink);
45
- sink.lineEnd();
46
- }
47
- if (polygonStarted) sink.polygonEnd(), polygonStarted = false;
48
- segments = polygon = null;
49
- },
50
- sphere: function() {
51
- sink.polygonStart();
52
- sink.lineStart();
53
- interpolate(null, null, 1, sink);
54
- sink.lineEnd();
55
- sink.polygonEnd();
56
- }
57
- };
58
-
59
- function point(lambda, phi) {
60
- if (pointVisible(lambda, phi)) sink.point(lambda, phi);
61
- }
62
-
63
- function pointLine(lambda, phi) {
64
- line.point(lambda, phi);
65
- }
66
-
67
- function lineStart() {
68
- clip.point = pointLine;
69
- line.lineStart();
70
- }
71
-
72
- function lineEnd() {
73
- clip.point = point;
74
- line.lineEnd();
75
- }
76
-
77
- function pointRing(lambda, phi) {
78
- ring.push([lambda, phi]);
79
- ringSink.point(lambda, phi);
80
- }
81
-
82
- function ringStart() {
83
- ringSink.lineStart();
84
- ring = [];
85
- }
86
-
87
- function ringEnd() {
88
- pointRing(ring[0][0], ring[0][1]);
89
- ringSink.lineEnd();
90
-
91
- var clean = ringSink.clean(),
92
- ringSegments = ringBuffer.result(),
93
- i, n = ringSegments.length, m,
94
- segment,
95
- point;
96
-
97
- ring.pop();
98
- polygon.push(ring);
99
- ring = null;
100
-
101
- if (!n) return;
102
-
103
- // No intersections.
104
- if (clean & 1) {
105
- segment = ringSegments[0];
106
- if ((m = segment.length - 1) > 0) {
107
- if (!polygonStarted) sink.polygonStart(), polygonStarted = true;
108
- sink.lineStart();
109
- for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);
110
- sink.lineEnd();
111
- }
112
- return;
113
- }
114
-
115
- // Rejoin connected segments.
116
- // TODO reuse ringBuffer.rejoin()?
117
- if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));
118
-
119
- segments.push(ringSegments.filter(validSegment));
120
- }
121
-
122
- return clip;
123
- };
124
- }
125
-
126
- function validSegment(segment) {
127
- return segment.length > 1;
128
- }
129
-
130
- // Intersections are sorted along the clip edge. For both antimeridian cutting
131
- // and circle clipping, the same comparison is used.
132
- function compareIntersection(a, b) {
133
- return ((a = a.x)[0] < 0 ? a[1] - math.halfPi - math.epsilon : math.halfPi - a[1])
134
- - ((b = b.x)[0] < 0 ? b[1] - math.halfPi - math.epsilon : math.halfPi - b[1]);
135
- }
136
-
137
- exports.default = clip;