@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,779 +0,0 @@
1
- import { zoomSymlog, zoomPow, zoomLog, zoomLinear, panSymlog, panPow, panLog, panLinear, clampRange, utcquarter, quarter, truncate, inrange, span, peek, pad, lerp, flush, toString, toNumber, toBoolean, isString, isRegExp, isObject, isNumber, isDate, isBoolean, isArray, extent, toDate, array as array$1, truthy, field, extend, ascending, isFunction, error, stringValue as $, hasOwnProperty as has, identity } from '../../vega-util/build/vega-util.js';
2
- import { codegenExpression as codegen, constants as Constants, functions as Functions, Literal, parseExpression as parser$1, CallExpression } from '../../vega-expression/build/vega-expression.js';
3
- import { bandSpace, scale as scale$1, scaleFraction, isRegisteredScale } from '../../vega-scale/build/vega-scale.js';
4
- import { isTuple } from '../../vega-dataflow/build/vega-dataflow.js';
5
- import { Bounds, pathRender, pathParse as parse, intersect as intersect$1, Gradient } from '../../vega-scenegraph/build/vega-scenegraph.js';
6
- import { selectionVisitor, selectionTest, selectionIdTest, selectionResolve, selectionTuples } from '../../vega-selections/build/vega-selection.js';
7
- import { sampleUniform, sampleLogNormal, sampleNormal, quantileUniform, quantileLogNormal, quantileNormal, densityUniform, densityLogNormal, densityNormal, cumulativeUniform, cumulativeLogNormal, cumulativeNormal, random } from '../../vega-statistics/build/vega-statistics.js';
8
- import { utcdayofyear, dayofyear, utcweek, week, timeUnitSpecifier, timeSequence, timeOffset, utcSequence, utcOffset } from '../../vega-time/build/vega-time.js';
9
- import range$1 from '../../d3-array/src/range.js';
10
- import { hsl, rgb } from '../../d3-color/src/color.js';
11
- import lab, { hcl } from '../../d3-color/src/lab.js';
12
- import geoBounds$1 from '../../d3-geo/src/bounds.js';
13
- import geoCentroid$1 from '../../d3-geo/src/centroid.js';
14
- import geoArea$1 from '../../d3-geo/src/area.js';
15
-
16
- function data(name) {
17
- const data = this.context.data[name];
18
- return data ? data.values.value : [];
19
- }
20
- function indata(name, field, value) {
21
- const index = this.context.data[name]['index:' + field],
22
- entry = index ? index.value.get(value) : undefined;
23
- return entry ? entry.count : entry;
24
- }
25
- function setdata(name, tuples) {
26
- const df = this.context.dataflow,
27
- data = this.context.data[name],
28
- input = data.input;
29
- df.pulse(input, df.changeset().remove(truthy).insert(tuples));
30
- return 1;
31
- }
32
-
33
- function encode (item, name, retval) {
34
- if (item) {
35
- const df = this.context.dataflow,
36
- target = item.mark.source;
37
- df.pulse(target, df.changeset().encode(item, name));
38
- }
39
- return retval !== undefined ? retval : item;
40
- }
41
-
42
- const wrap = method => function (value, spec) {
43
- const locale = this.context.dataflow.locale();
44
- return value === null ? 'null' : locale[method](spec)(value);
45
- };
46
- const format = wrap('format');
47
- const timeFormat = wrap('timeFormat');
48
- const utcFormat = wrap('utcFormat');
49
- const timeParse = wrap('timeParse');
50
- const utcParse = wrap('utcParse');
51
- const dateObj = new Date(2000, 0, 1);
52
- function time(month, day, specifier) {
53
- if (!Number.isInteger(month) || !Number.isInteger(day)) return '';
54
- dateObj.setYear(2000);
55
- dateObj.setMonth(month);
56
- dateObj.setDate(day);
57
- return timeFormat.call(this, dateObj, specifier);
58
- }
59
- function monthFormat(month) {
60
- return time.call(this, month, 1, '%B');
61
- }
62
- function monthAbbrevFormat(month) {
63
- return time.call(this, month, 1, '%b');
64
- }
65
- function dayFormat(day) {
66
- return time.call(this, 0, 2 + day, '%A');
67
- }
68
- function dayAbbrevFormat(day) {
69
- return time.call(this, 0, 2 + day, '%a');
70
- }
71
-
72
- const DataPrefix = ':';
73
- const IndexPrefix = '@';
74
- const ScalePrefix = '%';
75
- const SignalPrefix = '$';
76
-
77
- function dataVisitor(name, args, scope, params) {
78
- if (args[0].type !== Literal) {
79
- error('First argument to data functions must be a string literal.');
80
- }
81
- const data = args[0].value,
82
- dataName = DataPrefix + data;
83
- if (!has(dataName, params)) {
84
- try {
85
- params[dataName] = scope.getData(data).tuplesRef();
86
- } catch (err) {
87
- // if data set does not exist, there's nothing to track
88
- }
89
- }
90
- }
91
- function indataVisitor(name, args, scope, params) {
92
- if (args[0].type !== Literal) error('First argument to indata must be a string literal.');
93
- if (args[1].type !== Literal) error('Second argument to indata must be a string literal.');
94
- const data = args[0].value,
95
- field = args[1].value,
96
- indexName = IndexPrefix + field;
97
- if (!has(indexName, params)) {
98
- params[indexName] = scope.getData(data).indataRef(scope, field);
99
- }
100
- }
101
- function scaleVisitor(name, args, scope, params) {
102
- if (args[0].type === Literal) {
103
- // add scale dependency
104
- addScaleDependency(scope, params, args[0].value);
105
- } else {
106
- // indirect scale lookup; add all scales as parameters
107
- for (name in scope.scales) {
108
- addScaleDependency(scope, params, name);
109
- }
110
- }
111
- }
112
- function addScaleDependency(scope, params, name) {
113
- const scaleName = ScalePrefix + name;
114
- if (!has(params, scaleName)) {
115
- try {
116
- params[scaleName] = scope.scaleRef(name);
117
- } catch (err) {
118
- // TODO: error handling? warning?
119
- }
120
- }
121
- }
122
-
123
- /**
124
- * nameOrFunction must be a string or function that was registered.
125
- * Return undefined if scale is not recognized.
126
- */
127
- function getScale(nameOrFunction, ctx) {
128
- if (isString(nameOrFunction)) {
129
- const maybeScale = ctx.scales[nameOrFunction];
130
- return maybeScale && isRegisteredScale(maybeScale.value) ? maybeScale.value : undefined;
131
- } else if (isFunction(nameOrFunction)) {
132
- return isRegisteredScale(nameOrFunction) ? nameOrFunction : undefined;
133
- }
134
- return undefined;
135
- }
136
- function internalScaleFunctions(codegen, fnctx, visitors) {
137
- // add helper method to the 'this' expression function context
138
- fnctx.__bandwidth = s => s && s.bandwidth ? s.bandwidth() : 0;
139
-
140
- // register AST visitors for internal scale functions
141
- visitors._bandwidth = scaleVisitor;
142
- visitors._range = scaleVisitor;
143
- visitors._scale = scaleVisitor;
144
-
145
- // resolve scale reference directly to the signal hash argument
146
- const ref = arg => '_[' + (arg.type === Literal ? $(ScalePrefix + arg.value) : $(ScalePrefix) + '+' + codegen(arg)) + ']';
147
-
148
- // define and return internal scale function code generators
149
- // these internal functions are called by mark encoders
150
- return {
151
- _bandwidth: args => `this.__bandwidth(${ref(args[0])})`,
152
- _range: args => `${ref(args[0])}.range()`,
153
- _scale: args => `${ref(args[0])}(${codegen(args[1])})`
154
- };
155
- }
156
-
157
- function geoMethod(methodName, globalMethod) {
158
- return function (projection, geojson, group) {
159
- if (projection) {
160
- // projection defined, use it
161
- const p = getScale(projection, (group || this).context);
162
- return p && p.path[methodName](geojson);
163
- } else {
164
- // projection undefined, use global method
165
- return globalMethod(geojson);
166
- }
167
- };
168
- }
169
- const geoArea = geoMethod('area', geoArea$1);
170
- const geoBounds = geoMethod('bounds', geoBounds$1);
171
- const geoCentroid = geoMethod('centroid', geoCentroid$1);
172
- function geoScale(projection, group) {
173
- const p = getScale(projection, (group || this).context);
174
- return p && p.scale();
175
- }
176
-
177
- function inScope (item) {
178
- const group = this.context.group;
179
- let value = false;
180
- if (group) while (item) {
181
- if (item === group) {
182
- value = true;
183
- break;
184
- }
185
- item = item.mark.group;
186
- }
187
- return value;
188
- }
189
-
190
- function log(df, method, args) {
191
- try {
192
- df[method].apply(df, ['EXPRESSION'].concat([].slice.call(args)));
193
- } catch (err) {
194
- df.warn(err);
195
- }
196
- return args[args.length - 1];
197
- }
198
- function warn() {
199
- return log(this.context.dataflow, 'warn', arguments);
200
- }
201
- function info() {
202
- return log(this.context.dataflow, 'info', arguments);
203
- }
204
- function debug() {
205
- return log(this.context.dataflow, 'debug', arguments);
206
- }
207
-
208
- // https://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
209
- function channel_luminance_value(channelValue) {
210
- const val = channelValue / 255;
211
- if (val <= 0.03928) {
212
- return val / 12.92;
213
- }
214
- return Math.pow((val + 0.055) / 1.055, 2.4);
215
- }
216
- function luminance(color) {
217
- const c = rgb(color),
218
- r = channel_luminance_value(c.r),
219
- g = channel_luminance_value(c.g),
220
- b = channel_luminance_value(c.b);
221
- return 0.2126 * r + 0.7152 * g + 0.0722 * b;
222
- }
223
-
224
- // https://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef
225
- function contrast(color1, color2) {
226
- const lum1 = luminance(color1),
227
- lum2 = luminance(color2),
228
- lumL = Math.max(lum1, lum2),
229
- lumD = Math.min(lum1, lum2);
230
- return (lumL + 0.05) / (lumD + 0.05);
231
- }
232
-
233
- function merge () {
234
- const args = [].slice.call(arguments);
235
- args.unshift({});
236
- return extend(...args);
237
- }
238
-
239
- function equal(a, b) {
240
- return a === b || a !== a && b !== b ? true : isArray(a) ? isArray(b) && a.length === b.length ? equalArray(a, b) : false : isObject(a) && isObject(b) ? equalObject(a, b) : false;
241
- }
242
- function equalArray(a, b) {
243
- for (let i = 0, n = a.length; i < n; ++i) {
244
- if (!equal(a[i], b[i])) return false;
245
- }
246
- return true;
247
- }
248
- function equalObject(a, b) {
249
- for (const key in a) {
250
- if (!equal(a[key], b[key])) return false;
251
- }
252
- return true;
253
- }
254
- function removePredicate(props) {
255
- return _ => equalObject(props, _);
256
- }
257
- function modify (name, insert, remove, toggle, modify, values) {
258
- const df = this.context.dataflow,
259
- data = this.context.data[name],
260
- input = data.input,
261
- stamp = df.stamp();
262
- let changes = data.changes,
263
- predicate,
264
- key;
265
- if (df._trigger === false || !(input.value.length || insert || toggle)) {
266
- // nothing to do!
267
- return 0;
268
- }
269
- if (!changes || changes.stamp < stamp) {
270
- data.changes = changes = df.changeset();
271
- changes.stamp = stamp;
272
- df.runAfter(() => {
273
- data.modified = true;
274
- df.pulse(input, changes).run();
275
- }, true, 1);
276
- }
277
- if (remove) {
278
- predicate = remove === true ? truthy : isArray(remove) || isTuple(remove) ? remove : removePredicate(remove);
279
- changes.remove(predicate);
280
- }
281
- if (insert) {
282
- changes.insert(insert);
283
- }
284
- if (toggle) {
285
- predicate = removePredicate(toggle);
286
- if (input.value.some(predicate)) {
287
- changes.remove(predicate);
288
- } else {
289
- changes.insert(toggle);
290
- }
291
- }
292
- if (modify) {
293
- for (key in values) {
294
- changes.modify(modify, key, values[key]);
295
- }
296
- }
297
- return 1;
298
- }
299
-
300
- function pinchDistance(event) {
301
- const t = event.touches,
302
- dx = t[0].clientX - t[1].clientX,
303
- dy = t[0].clientY - t[1].clientY;
304
- return Math.hypot(dx, dy);
305
- }
306
- function pinchAngle(event) {
307
- const t = event.touches;
308
- return Math.atan2(t[0].clientY - t[1].clientY, t[0].clientX - t[1].clientX);
309
- }
310
-
311
- // memoize accessor functions
312
- const accessors = {};
313
- function pluck (data, name) {
314
- const accessor = accessors[name] || (accessors[name] = field(name));
315
- return isArray(data) ? data.map(accessor) : accessor(data);
316
- }
317
-
318
- function array(seq) {
319
- return isArray(seq) || ArrayBuffer.isView(seq) ? seq : null;
320
- }
321
- function sequence(seq) {
322
- return array(seq) || (isString(seq) ? seq : null);
323
- }
324
- function join(seq, ...args) {
325
- return array(seq).join(...args);
326
- }
327
- function indexof(seq, ...args) {
328
- return sequence(seq).indexOf(...args);
329
- }
330
- function lastindexof(seq, ...args) {
331
- return sequence(seq).lastIndexOf(...args);
332
- }
333
- function slice(seq, ...args) {
334
- return sequence(seq).slice(...args);
335
- }
336
- function replace(str, pattern, repl) {
337
- if (isFunction(repl)) error('Function argument passed to replace.');
338
- if (!isString(pattern) && !isRegExp(pattern)) error('Please pass a string or RegExp argument to replace.');
339
- return String(str).replace(pattern, repl);
340
- }
341
- function reverse(seq) {
342
- return array(seq).slice().reverse();
343
- }
344
- function sort(seq) {
345
- return array(seq).slice().sort(ascending);
346
- }
347
-
348
- function bandspace(count, paddingInner, paddingOuter) {
349
- return bandSpace(count || 0, paddingInner || 0, paddingOuter || 0);
350
- }
351
- function bandwidth(name, group) {
352
- const s = getScale(name, (group || this).context);
353
- return s && s.bandwidth ? s.bandwidth() : 0;
354
- }
355
- function copy(name, group) {
356
- const s = getScale(name, (group || this).context);
357
- return s ? s.copy() : undefined;
358
- }
359
- function domain(name, group) {
360
- const s = getScale(name, (group || this).context);
361
- return s ? s.domain() : [];
362
- }
363
- function invert(name, range, group) {
364
- const s = getScale(name, (group || this).context);
365
- return !s ? undefined : isArray(range) ? (s.invertRange || s.invert)(range) : (s.invert || s.invertExtent)(range);
366
- }
367
- function range(name, group) {
368
- const s = getScale(name, (group || this).context);
369
- return s && s.range ? s.range() : [];
370
- }
371
- function scale(name, value, group) {
372
- const s = getScale(name, (group || this).context);
373
- return s ? s(value) : undefined;
374
- }
375
-
376
- function scaleGradient (scale, p0, p1, count, group) {
377
- scale = getScale(scale, (group || this).context);
378
- const gradient = Gradient(p0, p1);
379
- let stops = scale.domain(),
380
- min = stops[0],
381
- max = peek(stops),
382
- fraction = identity;
383
- if (!(max - min)) {
384
- // expand scale if domain has zero span, fix #1479
385
- scale = (scale.interpolator ? scale$1('sequential')().interpolator(scale.interpolator()) : scale$1('linear')().interpolate(scale.interpolate()).range(scale.range())).domain([min = 0, max = 1]);
386
- } else {
387
- fraction = scaleFraction(scale, min, max);
388
- }
389
- if (scale.ticks) {
390
- stops = scale.ticks(+count || 15);
391
- if (min !== stops[0]) stops.unshift(min);
392
- if (max !== peek(stops)) stops.push(max);
393
- }
394
- stops.forEach(_ => gradient.stop(fraction(_), scale(_)));
395
- return gradient;
396
- }
397
-
398
- function geoShape(projection, geojson, group) {
399
- const p = getScale(projection, (group || this).context);
400
- return function (context) {
401
- return p ? p.path.context(context)(geojson) : '';
402
- };
403
- }
404
- function pathShape(path) {
405
- let p = null;
406
- return function (context) {
407
- return context ? pathRender(context, p = p || parse(path)) : path;
408
- };
409
- }
410
-
411
- const datum = d => d.data;
412
- function treeNodes(name, context) {
413
- const tree = data.call(context, name);
414
- return tree.root && tree.root.lookup || {};
415
- }
416
- function treePath(name, source, target) {
417
- const nodes = treeNodes(name, this),
418
- s = nodes[source],
419
- t = nodes[target];
420
- return s && t ? s.path(t).map(datum) : undefined;
421
- }
422
- function treeAncestors(name, node) {
423
- const n = treeNodes(name, this)[node];
424
- return n ? n.ancestors().map(datum) : undefined;
425
- }
426
-
427
- const _window = () => typeof window !== 'undefined' && window || null;
428
- function screen() {
429
- const w = _window();
430
- return w ? w.screen : {};
431
- }
432
- function windowSize() {
433
- const w = _window();
434
- return w ? [w.innerWidth, w.innerHeight] : [undefined, undefined];
435
- }
436
- function containerSize() {
437
- const view = this.context.dataflow,
438
- el = view.container && view.container();
439
- return el ? [el.clientWidth, el.clientHeight] : [undefined, undefined];
440
- }
441
-
442
- function intersect (b, opt, group) {
443
- if (!b) return [];
444
- const [u, v] = b,
445
- box = new Bounds().set(u[0], u[1], v[0], v[1]),
446
- scene = group || this.context.dataflow.scenegraph().root;
447
- return intersect$1(scene, box, filter(opt));
448
- }
449
- function filter(opt) {
450
- let p = null;
451
- if (opt) {
452
- const types = array$1(opt.marktype),
453
- names = array$1(opt.markname);
454
- p = _ => (!types.length || types.some(t => _.marktype === t)) && (!names.length || names.some(s => _.name === s));
455
- }
456
- return p;
457
- }
458
-
459
- /**
460
- * Appends a new point to the lasso
461
- *
462
- * @param {*} lasso the lasso in pixel space
463
- * @param {*} x the x coordinate in pixel space
464
- * @param {*} y the y coordinate in pixel space
465
- * @param {*} minDist the minimum distance, in pixels, that thenew point needs to be apart from the last point
466
- * @returns a new array containing the lasso with the new point
467
- */
468
- function lassoAppend(lasso, x, y, minDist = 5) {
469
- lasso = array$1(lasso);
470
- const last = lasso[lasso.length - 1];
471
-
472
- // Add point to lasso if its the first point or distance to last point exceed minDist
473
- return last === undefined || Math.hypot(last[0] - x, last[1] - y) > minDist ? [...lasso, [x, y]] : lasso;
474
- }
475
-
476
- /**
477
- * Generates a svg path command which draws a lasso
478
- *
479
- * @param {*} lasso the lasso in pixel space in the form [[x,y], [x,y], ...]
480
- * @returns the svg path command that draws the lasso
481
- */
482
- function lassoPath(lasso) {
483
- return array$1(lasso).reduce((svg, [x, y], i) => {
484
- return svg += i == 0 ? `M ${x},${y} ` : i === lasso.length - 1 ? ' Z' : `L ${x},${y} `;
485
- }, '');
486
- }
487
-
488
- /**
489
- * Inverts the lasso from pixel space to an array of vega scenegraph tuples
490
- *
491
- * @param {*} data the dataset
492
- * @param {*} pixelLasso the lasso in pixel space, [[x,y], [x,y], ...]
493
- * @param {*} unit the unit where the lasso is defined
494
- *
495
- * @returns an array of vega scenegraph tuples
496
- */
497
- function intersectLasso(markname, pixelLasso, unit) {
498
- const {
499
- x,
500
- y,
501
- mark
502
- } = unit;
503
- const bb = new Bounds().set(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER, Number.MIN_SAFE_INTEGER, Number.MIN_SAFE_INTEGER);
504
-
505
- // Get bounding box around lasso
506
- for (const [px, py] of pixelLasso) {
507
- if (px < bb.x1) bb.x1 = px;
508
- if (px > bb.x2) bb.x2 = px;
509
- if (py < bb.y1) bb.y1 = py;
510
- if (py > bb.y2) bb.y2 = py;
511
- }
512
-
513
- // Translate bb against unit coordinates
514
- bb.translate(x, y);
515
- const intersection = intersect([[bb.x1, bb.y1], [bb.x2, bb.y2]], markname, mark);
516
-
517
- // Check every point against the lasso
518
- return intersection.filter(tuple => pointInPolygon(tuple.x, tuple.y, pixelLasso));
519
- }
520
-
521
- /**
522
- * Performs a test if a point is inside a polygon based on the idea from
523
- * https://wrf.ecse.rpi.edu/Research/Short_Notes/pnpoly.html
524
- *
525
- * This method will not need the same start/end point since it wraps around the edges of the array
526
- *
527
- * @param {*} test a point to test against
528
- * @param {*} polygon a polygon in the form [[x,y], [x,y], ...]
529
- * @returns true if the point lies inside the polygon, false otherwise
530
- */
531
- function pointInPolygon(testx, testy, polygon) {
532
- let intersections = 0;
533
- for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {
534
- const [prevX, prevY] = polygon[j];
535
- const [x, y] = polygon[i];
536
-
537
- // count intersections
538
- if (y > testy != prevY > testy && testx < (prevX - x) * (testy - y) / (prevY - y) + x) {
539
- intersections++;
540
- }
541
- }
542
-
543
- // point is in polygon if intersection count is odd
544
- return intersections & 1;
545
- }
546
-
547
- // Expression function context object
548
- const functionContext = {
549
- random() {
550
- return random();
551
- },
552
- // override default
553
- cumulativeNormal,
554
- cumulativeLogNormal,
555
- cumulativeUniform,
556
- densityNormal,
557
- densityLogNormal,
558
- densityUniform,
559
- quantileNormal,
560
- quantileLogNormal,
561
- quantileUniform,
562
- sampleNormal,
563
- sampleLogNormal,
564
- sampleUniform,
565
- isArray,
566
- isBoolean,
567
- isDate,
568
- isDefined(_) {
569
- return _ !== undefined;
570
- },
571
- isNumber,
572
- isObject,
573
- isRegExp,
574
- isString,
575
- isTuple,
576
- isValid(_) {
577
- return _ != null && _ === _;
578
- },
579
- toBoolean,
580
- toDate(_) {
581
- return toDate(_);
582
- },
583
- // suppress extra arguments
584
- toNumber,
585
- toString,
586
- indexof,
587
- join,
588
- lastindexof,
589
- replace,
590
- reverse,
591
- sort,
592
- slice,
593
- flush,
594
- lerp,
595
- merge,
596
- pad,
597
- peek,
598
- pluck,
599
- span,
600
- inrange,
601
- truncate,
602
- rgb,
603
- lab,
604
- hcl,
605
- hsl,
606
- luminance,
607
- contrast,
608
- sequence: range$1,
609
- format,
610
- utcFormat,
611
- utcParse,
612
- utcOffset,
613
- utcSequence,
614
- timeFormat,
615
- timeParse,
616
- timeOffset,
617
- timeSequence,
618
- timeUnitSpecifier,
619
- monthFormat,
620
- monthAbbrevFormat,
621
- dayFormat,
622
- dayAbbrevFormat,
623
- quarter,
624
- utcquarter,
625
- week,
626
- utcweek,
627
- dayofyear,
628
- utcdayofyear,
629
- warn,
630
- info,
631
- debug,
632
- extent(_) {
633
- return extent(_);
634
- },
635
- // suppress extra arguments
636
- inScope,
637
- intersect,
638
- clampRange,
639
- pinchDistance,
640
- pinchAngle,
641
- screen,
642
- containerSize,
643
- windowSize,
644
- bandspace,
645
- setdata,
646
- pathShape,
647
- panLinear,
648
- panLog,
649
- panPow,
650
- panSymlog,
651
- zoomLinear,
652
- zoomLog,
653
- zoomPow,
654
- zoomSymlog,
655
- encode,
656
- modify,
657
- lassoAppend,
658
- lassoPath,
659
- intersectLasso
660
- };
661
- const eventFunctions = ['view', 'item', 'group', 'xy', 'x', 'y'],
662
- // event functions
663
- eventPrefix = 'event.vega.',
664
- // event function prefix
665
- thisPrefix = 'this.',
666
- // function context prefix
667
- astVisitors = {}; // AST visitors for dependency analysis
668
-
669
- // export code generator parameters
670
- const codegenParams = {
671
- forbidden: ['_'],
672
- allowed: ['datum', 'event', 'item'],
673
- fieldvar: 'datum',
674
- globalvar: id => `_[${$(SignalPrefix + id)}]`,
675
- functions: buildFunctions,
676
- constants: Constants,
677
- visitors: astVisitors
678
- };
679
-
680
- // export code generator
681
- const codeGenerator = codegen(codegenParams);
682
-
683
- // Build expression function registry
684
- function buildFunctions(codegen) {
685
- const fn = Functions(codegen);
686
- eventFunctions.forEach(name => fn[name] = eventPrefix + name);
687
- for (const name in functionContext) {
688
- fn[name] = thisPrefix + name;
689
- }
690
- extend(fn, internalScaleFunctions(codegen, functionContext, astVisitors));
691
- return fn;
692
- }
693
-
694
- // Register an expression function
695
- function expressionFunction(name, fn, visitor) {
696
- if (arguments.length === 1) {
697
- return functionContext[name];
698
- }
699
-
700
- // register with the functionContext
701
- functionContext[name] = fn;
702
-
703
- // if there is an astVisitor register that, too
704
- if (visitor) astVisitors[name] = visitor;
705
-
706
- // if the code generator has already been initialized,
707
- // we need to also register the function with it
708
- if (codeGenerator) codeGenerator.functions[name] = thisPrefix + name;
709
- return this;
710
- }
711
-
712
- // register expression functions with ast visitors
713
- expressionFunction('bandwidth', bandwidth, scaleVisitor);
714
- expressionFunction('copy', copy, scaleVisitor);
715
- expressionFunction('domain', domain, scaleVisitor);
716
- expressionFunction('range', range, scaleVisitor);
717
- expressionFunction('invert', invert, scaleVisitor);
718
- expressionFunction('scale', scale, scaleVisitor);
719
- expressionFunction('gradient', scaleGradient, scaleVisitor);
720
- expressionFunction('geoArea', geoArea, scaleVisitor);
721
- expressionFunction('geoBounds', geoBounds, scaleVisitor);
722
- expressionFunction('geoCentroid', geoCentroid, scaleVisitor);
723
- expressionFunction('geoShape', geoShape, scaleVisitor);
724
- expressionFunction('geoScale', geoScale, scaleVisitor);
725
- expressionFunction('indata', indata, indataVisitor);
726
- expressionFunction('data', data, dataVisitor);
727
- expressionFunction('treePath', treePath, dataVisitor);
728
- expressionFunction('treeAncestors', treeAncestors, dataVisitor);
729
-
730
- // register Vega-Lite selection functions
731
- expressionFunction('vlSelectionTest', selectionTest, selectionVisitor);
732
- expressionFunction('vlSelectionIdTest', selectionIdTest, selectionVisitor);
733
- expressionFunction('vlSelectionResolve', selectionResolve, selectionVisitor);
734
- expressionFunction('vlSelectionTuples', selectionTuples);
735
-
736
- function parser (expr, scope) {
737
- const params = {};
738
-
739
- // parse the expression to an abstract syntax tree (ast)
740
- let ast;
741
- try {
742
- expr = isString(expr) ? expr : $(expr) + '';
743
- ast = parser$1(expr);
744
- } catch (err) {
745
- error('Expression parse error: ' + expr);
746
- }
747
-
748
- // analyze ast function calls for dependencies
749
- ast.visit(node => {
750
- if (node.type !== CallExpression) return;
751
- const name = node.callee.name,
752
- visit = codegenParams.visitors[name];
753
- if (visit) visit(name, node.arguments, scope, params);
754
- });
755
-
756
- // perform code generation
757
- const gen = codeGenerator(ast);
758
-
759
- // collect signal dependencies
760
- gen.globals.forEach(name => {
761
- const signalName = SignalPrefix + name;
762
- if (!has(params, signalName) && scope.getSignal(name)) {
763
- params[signalName] = scope.signalRef(name);
764
- }
765
- });
766
-
767
- // return generated expression code and dependencies
768
- return {
769
- $expr: extend({
770
- code: gen.code
771
- }, scope.options.ast ? {
772
- ast
773
- } : null),
774
- $fields: gen.fields,
775
- $params: params
776
- };
777
- }
778
-
779
- export { DataPrefix, IndexPrefix, ScalePrefix, SignalPrefix, bandspace, bandwidth, codeGenerator, codegenParams, containerSize, contrast, copy, data, dataVisitor, dayAbbrevFormat, dayFormat, debug, domain, encode, expressionFunction, format, functionContext, geoArea, geoBounds, geoCentroid, geoScale, geoShape, inScope, indata, indataVisitor, indexof, info, invert, join, lastindexof, luminance, merge, modify, monthAbbrevFormat, monthFormat, parser as parseExpression, pathShape, pinchAngle, pinchDistance, pluck, range, replace, reverse, scale, scaleGradient, scaleVisitor, screen, setdata, slice, sort, timeFormat, timeParse, treeAncestors, treePath, utcFormat, utcParse, warn, windowSize };