@uwdata/vgplot 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,47 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2023-2025, UW Interactive Data Lab
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
30
+ ---
31
+
32
+ Portions of this software are derived from Observable Plot, which is released
33
+ under the ISC license.
34
+
35
+ Copyright 2020-2023 Observable, Inc.
36
+
37
+ Permission to use, copy, modify, and/or distribute this software for any purpose
38
+ with or without fee is hereby granted, provided that the above copyright notice
39
+ and this permission notice appear in all copies.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
42
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
43
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
45
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
46
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
47
+ THIS SOFTWARE.
package/README.md CHANGED
@@ -4,4 +4,4 @@
4
4
 
5
5
  A **v**isualization **g**rammar for interactive Mosaic-powered visualizations and dashboards. This package provides convenient, composable methods that combines multiple Mosaic packages (core, inputs, plot, etc.) in an integrated API.
6
6
 
7
- vgplot is a JavaScript API for creating visualizations and dashboards. See the [mosaic-spec](https://github.com/uwdata/mosaic/tree/main/packages/spec) package to instead use declarative specifications in JSON or YAML format.
7
+ vgplot is a JavaScript API for creating visualizations and dashboards. See the [mosaic-spec](https://github.com/uwdata/mosaic/tree/main/packages/vgplot/spec) package to instead use declarative specifications in JSON or YAML format.
@@ -0,0 +1,13 @@
1
+ export { from } from "./plot/data.js";
2
+ export { plot } from "./plot/plot.js";
3
+ export { Param, Selection, coordinator } from "@uwdata/mosaic-core";
4
+ export { Fixed, bin } from "@uwdata/mosaic-plot";
5
+ export { Query, sql, column, literal, cast, float32, float64, int32, argmax, argmin, arrayAgg, avg, count, corr, covariance, covarPop, entropy, first, geomean, kurtosis, mad, max, median, min, mode, last, product, quantile, skewness, stddev, stddevPop, stringAgg, sum, variance, varPop, row_number, rank, dense_rank, percent_rank, cume_dist, ntile, lag, lead, first_value, last_value, nth_value, frameGroups, frameRange, frameRows, dateDay, dateMonth, dateMonthDay, interval, years, months, days, hours, minutes, seconds, milliseconds, microseconds, and, or, not, eq, neq, gt, gte, lt, lte, isBetween, isNotBetween, isDistinct, isNotDistinct, isNull, isNotNull, centroid, centroidX, centroidY, geojson, createTable, createSchema, loadExtension, loadCSV, loadJSON, loadObjects, loadParquet, loadSpatial } from "@uwdata/mosaic-sql";
6
+ export { menu, search, slider, table } from "./inputs.js";
7
+ export { hconcat, vconcat } from "./layout/concat.js";
8
+ export { hspace, vspace } from "./layout/space.js";
9
+ export { name, margins, xyDomain, style, width, height, margin, marginLeft, marginRight, marginTop, marginBottom, align, aspectRatio, axis, inset, grid, clip, padding, ariaLabel, ariaDescription, xScale, xDomain, xRange, xNice, xInset, xInsetLeft, xInsetRight, xClamp, xRound, xAlign, xPadding, xPaddingInner, xPaddingOuter, xAxis, xTicks, xTickSize, xTickSpacing, xTickPadding, xTickFormat, xTickRotate, xGrid, xLine, xLabel, xLabelAnchor, xLabelArrow, xLabelOffset, xFontVariant, xAriaLabel, xAriaDescription, xPercent, xReverse, xZero, xBase, xExponent, xConstant, yScale, yDomain, yRange, yNice, yInset, yInsetTop, yInsetBottom, yClamp, yRound, yAlign, yPadding, yPaddingInner, yPaddingOuter, yAxis, yTicks, yTickSize, yTickSpacing, yTickPadding, yTickFormat, yTickRotate, yGrid, yLine, yLabel, yLabelAnchor, yLabelArrow, yLabelOffset, yFontVariant, yAriaLabel, yAriaDescription, yPercent, yReverse, yZero, yBase, yExponent, yConstant, facetMargin, facetMarginTop, facetMarginBottom, facetMarginLeft, facetMarginRight, facetGrid, facetLabel, fxDomain, fxRange, fxInset, fxInsetLeft, fxInsetRight, fxRound, fxAlign, fxPadding, fxPaddingInner, fxPaddingOuter, fxAxis, fxTicks, fxTickSize, fxTickSpacing, fxTickPadding, fxTickFormat, fxTickRotate, fxGrid, fxLine, fxLabel, fxLabelAnchor, fxLabelOffset, fxFontVariant, fxAriaLabel, fxAriaDescription, fxReverse, fyDomain, fyRange, fyInset, fyInsetTop, fyInsetBottom, fyRound, fyAlign, fyPadding, fyPaddingInner, fyPaddingOuter, fyAxis, fyTicks, fyTickSize, fyTickSpacing, fyTickPadding, fyTickFormat, fyTickRotate, fyGrid, fyLine, fyLabel, fyLabelAnchor, fyLabelOffset, fyFontVariant, fyAriaLabel, fyAriaDescription, fyReverse, colorScale, colorDomain, colorRange, colorClamp, colorN, colorNice, colorScheme, colorInterpolate, colorPivot, colorSymmetric, colorLabel, colorPercent, colorReverse, colorZero, colorTickFormat, colorBase, colorExponent, colorConstant, opacityScale, opacityDomain, opacityRange, opacityClamp, opacityNice, opacityLabel, opacityPercent, opacityReverse, opacityZero, opacityTickFormat, opacityBase, opacityExponent, opacityConstant, symbolScale, symbolDomain, symbolRange, rScale, rDomain, rRange, rClamp, rNice, rLabel, rPercent, rZero, rBase, rExponent, rConstant, lengthScale, lengthDomain, lengthRange, lengthClamp, lengthNice, lengthPercent, lengthZero, lengthBase, lengthExponent, lengthConstant, projectionType, projectionParallels, projectionPrecision, projectionRotate, projectionDomain, projectionInset, projectionInsetLeft, projectionInsetRight, projectionInsetTop, projectionInsetBottom, projectionClip } from "./plot/attributes.js";
10
+ export { area, areaX, areaY, line, lineX, lineY, barX, barY, cell, cellX, cellY, rect, rectX, rectY, dot, dotX, dotY, circle, hexagon, errorbarX, errorbarY, text, textX, textY, image, tickX, tickY, ruleX, ruleY, density, densityX, densityY, denseLine, raster, rasterTile, heatmap, contour, hexbin, hexgrid, regressionY, vector, vectorX, vectorY, spike, voronoi, voronoiMesh, delaunayLink, delaunayMesh, hull, arrow, link, frame, axisX, axisY, axisFx, axisFy, gridX, gridY, gridFx, gridFy, geo, sphere, graticule, waffleX, waffleY } from "./plot/marks.js";
11
+ export { highlight, intervalX, intervalY, intervalXY, nearest, nearestX, nearestY, pan, panX, panY, panZoom, panZoomX, panZoomY, region, toggle, toggleX, toggleY, toggleZ, toggleColor } from "./plot/interactors.js";
12
+ export { colorLegend, opacityLegend, symbolLegend } from "./plot/legends.js";
13
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.js"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Context-sensitive connector for coordinator and clients.
3
+ * This method proxies access to Coordinator.connect().
4
+ * If the provided context object has an explicit coordinator, that is used.
5
+ * Otherwise the default coordinator singleton is used.
6
+ */
7
+ export function connect(ctx: any, ...clients: any[]): void;
8
+ //# sourceMappingURL=connect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/connect.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,2DAKC"}
@@ -0,0 +1,7 @@
1
+ export function createAPIContext({ coordinator, namedPlots, extensions, ...options }?: {
2
+ coordinator?: import("@uwdata/mosaic-core").Coordinator;
3
+ namedPlots?: NamedPlots;
4
+ extensions?: any;
5
+ }): any;
6
+ import { NamedPlots } from './plot/named-plots.js';
7
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/context.js"],"names":[],"mappings":"AAIA;;;;QAeC;2BAlB0B,uBAAuB"}
@@ -0,0 +1,10 @@
1
+ export * from "./api.js";
2
+ export { connect } from "./connect.js";
3
+ export { createAPIContext } from "./context.js";
4
+ export * as attributeDirectives from "./plot/attributes.js";
5
+ export * as markDirectives from "./plot/marks.js";
6
+ export * as interactorDirectives from "./plot/interactors.js";
7
+ export * as legendDirectives from "./plot/legends.js";
8
+ export { Coordinator, MosaicClient, RestConnector, SocketConnector, DuckDBWASMConnector, restConnector, socketConnector, wasmConnector } from "@uwdata/mosaic-core";
9
+ export { namedPlots, requestNamedPlot } from "./plot/named-plots.js";
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export function menu(options: any): any;
2
+ export function search(options: any): any;
3
+ export function slider(options: any): any;
4
+ export function table(options: any): any;
5
+ //# sourceMappingURL=inputs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../src/inputs.js"],"names":[],"mappings":"AASA,wCAEC;AAED,0CAEC;AAED,0CAEC;AAED,yCAEC"}
@@ -0,0 +1,7 @@
1
+ export function concat({ direction, wrap }: {
2
+ direction?: string;
3
+ wrap?: boolean;
4
+ }, children: any): HTMLDivElement;
5
+ export function vconcat(...plots: any[]): HTMLDivElement;
6
+ export function hconcat(...plots: any[]): HTMLDivElement;
7
+ //# sourceMappingURL=concat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../src/layout/concat.js"],"names":[],"mappings":"AAAA;;;kCAUC;AAED,yDAEC;AAED,yDAEC"}
@@ -0,0 +1,19 @@
1
+ export function space({ dim, size }: {
2
+ dim?: string;
3
+ size?: number;
4
+ }): HTMLSpanElement & {
5
+ value: {
6
+ element: HTMLSpanElement;
7
+ };
8
+ };
9
+ export function vspace(size: any): HTMLSpanElement & {
10
+ value: {
11
+ element: HTMLSpanElement;
12
+ };
13
+ };
14
+ export function hspace(size: any): HTMLSpanElement & {
15
+ value: {
16
+ element: HTMLSpanElement;
17
+ };
18
+ };
19
+ //# sourceMappingURL=space.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../src/layout/space.js"],"names":[],"mappings":"AAAA;;;;;;;EAKC;AAED;;;;EAEC;AAED;;;;EAEC"}
@@ -0,0 +1,216 @@
1
+ export function name(name: any): (plot: any) => void;
2
+ export function margins(object: any): (plot: any) => void;
3
+ export function margin(value: any): (plot: any) => void;
4
+ export function xyDomain(value: any): (plot: any) => void;
5
+ export function style(value: any): (plot: any) => void;
6
+ export function width(value: any): (plot: any) => void;
7
+ export function height(value: any): (plot: any) => void;
8
+ export function marginLeft(value: any): (plot: any) => void;
9
+ export function marginRight(value: any): (plot: any) => void;
10
+ export function marginTop(value: any): (plot: any) => void;
11
+ export function marginBottom(value: any): (plot: any) => void;
12
+ export function align(value: any): (plot: any) => void;
13
+ export function aspectRatio(value: any): (plot: any) => void;
14
+ export function axis(value: any): (plot: any) => void;
15
+ export function inset(value: any): (plot: any) => void;
16
+ export function grid(value: any): (plot: any) => void;
17
+ export function clip(value: any): (plot: any) => void;
18
+ export function padding(value: any): (plot: any) => void;
19
+ export function ariaLabel(value: any): (plot: any) => void;
20
+ export function ariaDescription(value: any): (plot: any) => void;
21
+ export function xScale(value: any): (plot: any) => void;
22
+ export function xDomain(value: any): (plot: any) => void;
23
+ export function xRange(value: any): (plot: any) => void;
24
+ export function xNice(value: any): (plot: any) => void;
25
+ export function xInset(value: any): (plot: any) => void;
26
+ export function xInsetLeft(value: any): (plot: any) => void;
27
+ export function xInsetRight(value: any): (plot: any) => void;
28
+ export function xClamp(value: any): (plot: any) => void;
29
+ export function xRound(value: any): (plot: any) => void;
30
+ export function xAlign(value: any): (plot: any) => void;
31
+ export function xPadding(value: any): (plot: any) => void;
32
+ export function xPaddingInner(value: any): (plot: any) => void;
33
+ export function xPaddingOuter(value: any): (plot: any) => void;
34
+ export function xAxis(value: any): (plot: any) => void;
35
+ export function xTicks(value: any): (plot: any) => void;
36
+ export function xTickSize(value: any): (plot: any) => void;
37
+ export function xTickSpacing(value: any): (plot: any) => void;
38
+ export function xTickPadding(value: any): (plot: any) => void;
39
+ export function xTickFormat(value: any): (plot: any) => void;
40
+ export function xTickRotate(value: any): (plot: any) => void;
41
+ export function xGrid(value: any): (plot: any) => void;
42
+ export function xLine(value: any): (plot: any) => void;
43
+ export function xLabel(value: any): (plot: any) => void;
44
+ export function xLabelAnchor(value: any): (plot: any) => void;
45
+ export function xLabelArrow(value: any): (plot: any) => void;
46
+ export function xLabelOffset(value: any): (plot: any) => void;
47
+ export function xFontVariant(value: any): (plot: any) => void;
48
+ export function xAriaLabel(value: any): (plot: any) => void;
49
+ export function xAriaDescription(value: any): (plot: any) => void;
50
+ export function xPercent(value: any): (plot: any) => void;
51
+ export function xReverse(value: any): (plot: any) => void;
52
+ export function xZero(value: any): (plot: any) => void;
53
+ export function xBase(value: any): (plot: any) => void;
54
+ export function xExponent(value: any): (plot: any) => void;
55
+ export function xConstant(value: any): (plot: any) => void;
56
+ export function yScale(value: any): (plot: any) => void;
57
+ export function yDomain(value: any): (plot: any) => void;
58
+ export function yRange(value: any): (plot: any) => void;
59
+ export function yNice(value: any): (plot: any) => void;
60
+ export function yInset(value: any): (plot: any) => void;
61
+ export function yInsetTop(value: any): (plot: any) => void;
62
+ export function yInsetBottom(value: any): (plot: any) => void;
63
+ export function yClamp(value: any): (plot: any) => void;
64
+ export function yRound(value: any): (plot: any) => void;
65
+ export function yAlign(value: any): (plot: any) => void;
66
+ export function yPadding(value: any): (plot: any) => void;
67
+ export function yPaddingInner(value: any): (plot: any) => void;
68
+ export function yPaddingOuter(value: any): (plot: any) => void;
69
+ export function yAxis(value: any): (plot: any) => void;
70
+ export function yTicks(value: any): (plot: any) => void;
71
+ export function yTickSize(value: any): (plot: any) => void;
72
+ export function yTickSpacing(value: any): (plot: any) => void;
73
+ export function yTickPadding(value: any): (plot: any) => void;
74
+ export function yTickFormat(value: any): (plot: any) => void;
75
+ export function yTickRotate(value: any): (plot: any) => void;
76
+ export function yGrid(value: any): (plot: any) => void;
77
+ export function yLine(value: any): (plot: any) => void;
78
+ export function yLabel(value: any): (plot: any) => void;
79
+ export function yLabelAnchor(value: any): (plot: any) => void;
80
+ export function yLabelArrow(value: any): (plot: any) => void;
81
+ export function yLabelOffset(value: any): (plot: any) => void;
82
+ export function yFontVariant(value: any): (plot: any) => void;
83
+ export function yAriaLabel(value: any): (plot: any) => void;
84
+ export function yAriaDescription(value: any): (plot: any) => void;
85
+ export function yPercent(value: any): (plot: any) => void;
86
+ export function yReverse(value: any): (plot: any) => void;
87
+ export function yZero(value: any): (plot: any) => void;
88
+ export function yBase(value: any): (plot: any) => void;
89
+ export function yExponent(value: any): (plot: any) => void;
90
+ export function yConstant(value: any): (plot: any) => void;
91
+ export function facetMargin(value: any): (plot: any) => void;
92
+ export function facetMarginTop(value: any): (plot: any) => void;
93
+ export function facetMarginBottom(value: any): (plot: any) => void;
94
+ export function facetMarginLeft(value: any): (plot: any) => void;
95
+ export function facetMarginRight(value: any): (plot: any) => void;
96
+ export function facetGrid(value: any): (plot: any) => void;
97
+ export function facetLabel(value: any): (plot: any) => void;
98
+ export function fxDomain(value: any): (plot: any) => void;
99
+ export function fxRange(value: any): (plot: any) => void;
100
+ export function fxInset(value: any): (plot: any) => void;
101
+ export function fxInsetLeft(value: any): (plot: any) => void;
102
+ export function fxInsetRight(value: any): (plot: any) => void;
103
+ export function fxRound(value: any): (plot: any) => void;
104
+ export function fxAlign(value: any): (plot: any) => void;
105
+ export function fxPadding(value: any): (plot: any) => void;
106
+ export function fxPaddingInner(value: any): (plot: any) => void;
107
+ export function fxPaddingOuter(value: any): (plot: any) => void;
108
+ export function fxAxis(value: any): (plot: any) => void;
109
+ export function fxTicks(value: any): (plot: any) => void;
110
+ export function fxTickSize(value: any): (plot: any) => void;
111
+ export function fxTickSpacing(value: any): (plot: any) => void;
112
+ export function fxTickPadding(value: any): (plot: any) => void;
113
+ export function fxTickFormat(value: any): (plot: any) => void;
114
+ export function fxTickRotate(value: any): (plot: any) => void;
115
+ export function fxGrid(value: any): (plot: any) => void;
116
+ export function fxLine(value: any): (plot: any) => void;
117
+ export function fxLabel(value: any): (plot: any) => void;
118
+ export function fxLabelAnchor(value: any): (plot: any) => void;
119
+ export function fxLabelOffset(value: any): (plot: any) => void;
120
+ export function fxFontVariant(value: any): (plot: any) => void;
121
+ export function fxAriaLabel(value: any): (plot: any) => void;
122
+ export function fxAriaDescription(value: any): (plot: any) => void;
123
+ export function fxReverse(value: any): (plot: any) => void;
124
+ export function fyDomain(value: any): (plot: any) => void;
125
+ export function fyRange(value: any): (plot: any) => void;
126
+ export function fyInset(value: any): (plot: any) => void;
127
+ export function fyInsetTop(value: any): (plot: any) => void;
128
+ export function fyInsetBottom(value: any): (plot: any) => void;
129
+ export function fyRound(value: any): (plot: any) => void;
130
+ export function fyAlign(value: any): (plot: any) => void;
131
+ export function fyPadding(value: any): (plot: any) => void;
132
+ export function fyPaddingInner(value: any): (plot: any) => void;
133
+ export function fyPaddingOuter(value: any): (plot: any) => void;
134
+ export function fyAxis(value: any): (plot: any) => void;
135
+ export function fyTicks(value: any): (plot: any) => void;
136
+ export function fyTickSize(value: any): (plot: any) => void;
137
+ export function fyTickSpacing(value: any): (plot: any) => void;
138
+ export function fyTickPadding(value: any): (plot: any) => void;
139
+ export function fyTickFormat(value: any): (plot: any) => void;
140
+ export function fyTickRotate(value: any): (plot: any) => void;
141
+ export function fyGrid(value: any): (plot: any) => void;
142
+ export function fyLine(value: any): (plot: any) => void;
143
+ export function fyLabel(value: any): (plot: any) => void;
144
+ export function fyLabelAnchor(value: any): (plot: any) => void;
145
+ export function fyLabelOffset(value: any): (plot: any) => void;
146
+ export function fyFontVariant(value: any): (plot: any) => void;
147
+ export function fyAriaLabel(value: any): (plot: any) => void;
148
+ export function fyAriaDescription(value: any): (plot: any) => void;
149
+ export function fyReverse(value: any): (plot: any) => void;
150
+ export function colorScale(value: any): (plot: any) => void;
151
+ export function colorDomain(value: any): (plot: any) => void;
152
+ export function colorRange(value: any): (plot: any) => void;
153
+ export function colorClamp(value: any): (plot: any) => void;
154
+ export function colorN(value: any): (plot: any) => void;
155
+ export function colorNice(value: any): (plot: any) => void;
156
+ export function colorScheme(value: any): (plot: any) => void;
157
+ export function colorInterpolate(value: any): (plot: any) => void;
158
+ export function colorPivot(value: any): (plot: any) => void;
159
+ export function colorSymmetric(value: any): (plot: any) => void;
160
+ export function colorLabel(value: any): (plot: any) => void;
161
+ export function colorPercent(value: any): (plot: any) => void;
162
+ export function colorReverse(value: any): (plot: any) => void;
163
+ export function colorZero(value: any): (plot: any) => void;
164
+ export function colorTickFormat(value: any): (plot: any) => void;
165
+ export function colorBase(value: any): (plot: any) => void;
166
+ export function colorExponent(value: any): (plot: any) => void;
167
+ export function colorConstant(value: any): (plot: any) => void;
168
+ export function opacityScale(value: any): (plot: any) => void;
169
+ export function opacityDomain(value: any): (plot: any) => void;
170
+ export function opacityRange(value: any): (plot: any) => void;
171
+ export function opacityClamp(value: any): (plot: any) => void;
172
+ export function opacityNice(value: any): (plot: any) => void;
173
+ export function opacityLabel(value: any): (plot: any) => void;
174
+ export function opacityPercent(value: any): (plot: any) => void;
175
+ export function opacityReverse(value: any): (plot: any) => void;
176
+ export function opacityZero(value: any): (plot: any) => void;
177
+ export function opacityTickFormat(value: any): (plot: any) => void;
178
+ export function opacityBase(value: any): (plot: any) => void;
179
+ export function opacityExponent(value: any): (plot: any) => void;
180
+ export function opacityConstant(value: any): (plot: any) => void;
181
+ export function symbolScale(value: any): (plot: any) => void;
182
+ export function symbolDomain(value: any): (plot: any) => void;
183
+ export function symbolRange(value: any): (plot: any) => void;
184
+ export function rScale(value: any): (plot: any) => void;
185
+ export function rDomain(value: any): (plot: any) => void;
186
+ export function rRange(value: any): (plot: any) => void;
187
+ export function rClamp(value: any): (plot: any) => void;
188
+ export function rNice(value: any): (plot: any) => void;
189
+ export function rLabel(value: any): (plot: any) => void;
190
+ export function rPercent(value: any): (plot: any) => void;
191
+ export function rZero(value: any): (plot: any) => void;
192
+ export function rBase(value: any): (plot: any) => void;
193
+ export function rExponent(value: any): (plot: any) => void;
194
+ export function rConstant(value: any): (plot: any) => void;
195
+ export function lengthScale(value: any): (plot: any) => void;
196
+ export function lengthDomain(value: any): (plot: any) => void;
197
+ export function lengthRange(value: any): (plot: any) => void;
198
+ export function lengthClamp(value: any): (plot: any) => void;
199
+ export function lengthNice(value: any): (plot: any) => void;
200
+ export function lengthPercent(value: any): (plot: any) => void;
201
+ export function lengthZero(value: any): (plot: any) => void;
202
+ export function lengthBase(value: any): (plot: any) => void;
203
+ export function lengthExponent(value: any): (plot: any) => void;
204
+ export function lengthConstant(value: any): (plot: any) => void;
205
+ export function projectionType(value: any): (plot: any) => void;
206
+ export function projectionParallels(value: any): (plot: any) => void;
207
+ export function projectionPrecision(value: any): (plot: any) => void;
208
+ export function projectionRotate(value: any): (plot: any) => void;
209
+ export function projectionDomain(value: any): (plot: any) => void;
210
+ export function projectionInset(value: any): (plot: any) => void;
211
+ export function projectionInsetLeft(value: any): (plot: any) => void;
212
+ export function projectionInsetRight(value: any): (plot: any) => void;
213
+ export function projectionInsetTop(value: any): (plot: any) => void;
214
+ export function projectionInsetBottom(value: any): (plot: any) => void;
215
+ export function projectionClip(value: any): (plot: any) => void;
216
+ //# sourceMappingURL=attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/plot/attributes.js"],"names":[],"mappings":"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"}
@@ -0,0 +1,5 @@
1
+ export function from(table: any, options: any): {
2
+ table: any;
3
+ options: any;
4
+ };
5
+ //# sourceMappingURL=data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../src/plot/data.js"],"names":[],"mappings":"AAAA;;;EAEC"}
@@ -0,0 +1,47 @@
1
+ export function highlight({ by, ...channels }: {
2
+ [x: string]: any;
3
+ by: any;
4
+ }): (plot: any) => void;
5
+ export function intervalX({ as, ...rest }: {
6
+ [x: string]: any;
7
+ as: any;
8
+ }): (plot: any) => void;
9
+ export function intervalY({ as, ...rest }: {
10
+ [x: string]: any;
11
+ as: any;
12
+ }): (plot: any) => void;
13
+ export function intervalXY({ as, ...rest }: {
14
+ [x: string]: any;
15
+ as: any;
16
+ }): (plot: any) => void;
17
+ export function nearest({ as, ...rest }: {
18
+ [x: string]: any;
19
+ as: any;
20
+ }): (plot: any) => void;
21
+ export function nearestX({ as, ...rest }: {
22
+ [x: string]: any;
23
+ as: any;
24
+ }): (plot: any) => void;
25
+ export function nearestY({ as, ...rest }: {
26
+ [x: string]: any;
27
+ as: any;
28
+ }): (plot: any) => void;
29
+ export function region({ as, ...rest }: {
30
+ [x: string]: any;
31
+ as: any;
32
+ }): (plot: any) => void;
33
+ export function toggle({ as, ...rest }: {
34
+ [x: string]: any;
35
+ as: any;
36
+ }): (plot: any) => void;
37
+ export function toggleX(options: any): (plot: any) => void;
38
+ export function toggleY(options: any): (plot: any) => void;
39
+ export function toggleZ(options: any): (plot: any) => void;
40
+ export function toggleColor(options: any): (plot: any) => void;
41
+ export function pan(options?: {}): (plot: any) => void;
42
+ export function panX(options?: {}): (plot: any) => void;
43
+ export function panY(options?: {}): (plot: any) => void;
44
+ export function panZoom(options?: {}): (plot: any) => void;
45
+ export function panZoomX(options?: {}): (plot: any) => void;
46
+ export function panZoomY(options?: {}): (plot: any) => void;
47
+ //# sourceMappingURL=interactors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interactors.d.ts","sourceRoot":"","sources":["../../../src/plot/interactors.js"],"names":[],"mappings":"AAiBA;;;wBAEC;AAED;;;wBAEC;AAED;;;wBAEC;AAED;;;wBAEC;AAED;;;wBAEC;AAED;;;wBAEC;AAED;;;wBAEC;AAED;;;wBAEC;AAED;;;wBAEC;AAED,2DAEC;AAED,2DAEC;AAED,2DAEC;AAED,+DAEC;AAMD,uDAEC;AAED,wDAEC;AAED,wDAEC;AAED,2DAEC;AAED,4DAEC;AAED,4DAEC"}
@@ -0,0 +1,4 @@
1
+ export function colorLegend(options: any): any;
2
+ export function opacityLegend(options: any): any;
3
+ export function symbolLegend(options: any): any;
4
+ //# sourceMappingURL=legends.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legends.d.ts","sourceRoot":"","sources":["../../../src/plot/legends.js"],"names":[],"mappings":"AAoBA,+CAEC;AAED,iDAEC;AAED,gDAEC"}
@@ -0,0 +1,66 @@
1
+ export function area(...args: any[]): (plot: any) => void;
2
+ export function areaX(...args: any[]): (plot: any) => void;
3
+ export function areaY(...args: any[]): (plot: any) => void;
4
+ export function line(...args: any[]): (plot: any) => void;
5
+ export function lineX(...args: any[]): (plot: any) => void;
6
+ export function lineY(...args: any[]): (plot: any) => void;
7
+ export function barX(...args: any[]): (plot: any) => void;
8
+ export function barY(...args: any[]): (plot: any) => void;
9
+ export function cell(...args: any[]): (plot: any) => void;
10
+ export function cellX(...args: any[]): (plot: any) => void;
11
+ export function cellY(...args: any[]): (plot: any) => void;
12
+ export function rect(...args: any[]): (plot: any) => void;
13
+ export function rectX(...args: any[]): (plot: any) => void;
14
+ export function rectY(...args: any[]): (plot: any) => void;
15
+ export function dot(...args: any[]): (plot: any) => void;
16
+ export function dotX(...args: any[]): (plot: any) => void;
17
+ export function dotY(...args: any[]): (plot: any) => void;
18
+ export function circle(...args: any[]): (plot: any) => void;
19
+ export function hexagon(...args: any[]): (plot: any) => void;
20
+ export function text(...args: any[]): (plot: any) => void;
21
+ export function textX(...args: any[]): (plot: any) => void;
22
+ export function textY(...args: any[]): (plot: any) => void;
23
+ export function ruleX(...args: any[]): (plot: any) => void;
24
+ export function ruleY(...args: any[]): (plot: any) => void;
25
+ export function tickX(...args: any[]): (plot: any) => void;
26
+ export function tickY(...args: any[]): (plot: any) => void;
27
+ export function vector(...args: any[]): (plot: any) => void;
28
+ export function vectorX(...args: any[]): (plot: any) => void;
29
+ export function vectorY(...args: any[]): (plot: any) => void;
30
+ export function spike(...args: any[]): (plot: any) => void;
31
+ export function image(...args: any[]): (plot: any) => void;
32
+ export function densityX(...args: any[]): (plot: any) => void;
33
+ export function densityY(...args: any[]): (plot: any) => void;
34
+ export function density(...args: any[]): (plot: any) => void;
35
+ export function denseLine(...args: any[]): (plot: any) => void;
36
+ export function contour(...args: any[]): (plot: any) => void;
37
+ export function heatmap(...args: any[]): (plot: any) => void;
38
+ export function raster(...args: any[]): (plot: any) => void;
39
+ export function rasterTile(...args: any[]): (plot: any) => void;
40
+ export function hexbin(...args: any[]): (plot: any) => void;
41
+ export function hexgrid(...args: any[]): (plot: any) => void;
42
+ export function regressionY(...args: any[]): (plot: any) => void;
43
+ export function errorbarX(...args: any[]): (plot: any) => void;
44
+ export function errorbarY(...args: any[]): (plot: any) => void;
45
+ export function voronoi(...args: any[]): (plot: any) => void;
46
+ export function voronoiMesh(...args: any[]): (plot: any) => void;
47
+ export function delaunayLink(...args: any[]): (plot: any) => void;
48
+ export function delaunayMesh(...args: any[]): (plot: any) => void;
49
+ export function hull(...args: any[]): (plot: any) => void;
50
+ export function arrow(...args: any[]): (plot: any) => void;
51
+ export function link(...args: any[]): (plot: any) => void;
52
+ export function frame(...args: any[]): (plot: any) => void;
53
+ export function axisX(...args: any[]): (plot: any) => void;
54
+ export function axisY(...args: any[]): (plot: any) => void;
55
+ export function axisFx(...args: any[]): (plot: any) => void;
56
+ export function axisFy(...args: any[]): (plot: any) => void;
57
+ export function gridX(...args: any[]): (plot: any) => void;
58
+ export function gridY(...args: any[]): (plot: any) => void;
59
+ export function gridFx(...args: any[]): (plot: any) => void;
60
+ export function gridFy(...args: any[]): (plot: any) => void;
61
+ export function geo(...args: any[]): (plot: any) => void;
62
+ export function sphere(...args: any[]): (plot: any) => void;
63
+ export function graticule(...args: any[]): (plot: any) => void;
64
+ export function waffleX(...args: any[]): (plot: any) => void;
65
+ export function waffleY(...args: any[]): (plot: any) => void;
66
+ //# sourceMappingURL=marks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marks.d.ts","sourceRoot":"","sources":["../../../src/plot/marks.js"],"names":[],"mappings":"AAgDO,0DAA+C;AAC/C,2DAAiD;AACjD,2DAAiD;AAEjD,0DAA+C;AAC/C,2DAAiD;AACjD,2DAAiD;AAEjD,0DAA+C;AAC/C,0DAA+C;AAE/C,0DAA+C;AAC/C,2DAAiD;AACjD,2DAAiD;AAEjD,0DAA+C;AAC/C,2DAAiD;AACjD,2DAAiD;AAEjD,yDAA6C;AAC7C,0DAA+C;AAC/C,0DAA+C;AAC/C,4DAAmD;AACnD,6DAAqD;AAErD,0DAA+C;AAC/C,2DAAiD;AACjD,2DAAiD;AAEjD,2DAAiD;AACjD,2DAAiD;AAEjD,2DAAiD;AACjD,2DAAiD;AAEjD,4DAAmD;AACnD,6DAAoD;AACpD,6DAAqD;AACrD,2DAAiD;AAEjD,2DAAiD;AAEjD,8DAA2E;AAC3E,8DAA2E;AAE3E,6DAAiE;AACjE,+DAAmE;AACnE,6DAA+D;AAC/D,6DAA+D;AAC/D,4DAA6D;AAC7D,gEAAqE;AAErE,4DAA6D;AAC7D,6DAAqD;AAErD,iEAAsE;AAEtE,+DAA2E;AAC3E,+DAA2E;AAE3E,6DAAqD;AACrD,iEAA6D;AAC7D,kEAA+D;AAC/D,kEAA+D;AAC/D,0DAA+C;AAE/C,2DAAiD;AACjD,0DAA+C;AAE/C,2DAAiD;AAEjD,2DAAiD;AACjD,2DAAiD;AACjD,4DAAmD;AACnD,4DAAmD;AAEnD,2DAAiD;AACjD,2DAAiD;AACjD,4DAAmD;AACnD,4DAAmD;AAEnD,yDAAuD;AACvD,4DAAmD;AACnD,+DAAyD;AAEzD,6DAAqD;AACrD,6DAAqD"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Context-sensitive lookup of named plots.
3
+ * This method proxies access to the NamedPlots.request().
4
+ * If the provided context object has a local namedPlots, that is used.
5
+ * Otherwise the default instance is used.
6
+ */
7
+ export function requestNamedPlot(ctx: any, name: any, callback: any): void;
8
+ /**
9
+ * Context-sensitive addition of named plots.
10
+ * This method proxies access to the NamedPlots.set().
11
+ * If the provided context object has a local namedPlots, that is used.
12
+ * Otherwise the default instance is used.
13
+ */
14
+ export function setNamedPlot(ctx: any, name: any, plot: any): void;
15
+ export class NamedPlots extends Map<any, any> {
16
+ constructor();
17
+ constructor(entries?: readonly (readonly [any, any])[]);
18
+ constructor();
19
+ constructor(iterable?: Iterable<readonly [any, any]>);
20
+ request(name: any, callback: any): void;
21
+ waiting: Map<any, any>;
22
+ set(name: any, plot: any): this;
23
+ }
24
+ /**
25
+ * Default instance of named plots map.
26
+ */
27
+ export const namedPlots: NamedPlots;
28
+ //# sourceMappingURL=named-plots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"named-plots.d.ts","sourceRoot":"","sources":["../../../src/plot/named-plots.js"],"names":[],"mappings":"AAgCA;;;;;GAKG;AACH,2EAGC;AAED;;;;;GAKG;AACH,mEAGC;AApDD;;;;;IACE,wCAQC;IAJoC,uBAAsB;IAK3D,gCAUC;CAKF;AAED;;GAEG;AACH,oCAA2C"}
@@ -0,0 +1,2 @@
1
+ export function plot(...directives: any[]): HTMLElement;
2
+ //# sourceMappingURL=plot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plot.d.ts","sourceRoot":"","sources":["../../../src/plot/plot.js"],"names":[],"mappings":"AAGA,wDAMC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uwdata/vgplot",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "An API for interactive Mosaic-powered visualizations and dashboards.",
5
5
  "keywords": [
6
6
  "data",
@@ -18,20 +18,27 @@
18
18
  "types": "./dist/src/index.d.ts",
19
19
  "default": "./src/index.js"
20
20
  },
21
+ "files": [
22
+ "dist",
23
+ "!dist/tsconfig.tsbuildinfo",
24
+ "src"
25
+ ],
21
26
  "repository": {
22
27
  "type": "git",
23
28
  "url": "https://github.com/uwdata/mosaic.git"
24
29
  },
25
30
  "scripts": {
26
- "prebuild": "rimraf dist && mkdir dist",
31
+ "clean": "rimraf dist && mkdir dist",
32
+ "prebuild": "npm run clean",
27
33
  "lint": "eslint src test",
28
- "test": "vitest run && tsc",
29
- "prepublishOnly": "npm run test && npm run lint && tsc"
34
+ "test": "vitest run",
35
+ "prepublishOnly": "npm run test && npm run lint && tsc --build"
30
36
  },
31
37
  "dependencies": {
32
- "@uwdata/mosaic-core": "^0.17.0",
33
- "@uwdata/mosaic-inputs": "^0.17.0",
34
- "@uwdata/mosaic-plot": "^0.17.0",
35
- "@uwdata/mosaic-sql": "^0.17.0"
36
- }
38
+ "@uwdata/mosaic-core": "^0.18.0",
39
+ "@uwdata/mosaic-inputs": "^0.18.0",
40
+ "@uwdata/mosaic-plot": "^0.18.0",
41
+ "@uwdata/mosaic-sql": "^0.18.0"
42
+ },
43
+ "gitHead": "dfb9ded0b0307754e3185ca34cc49a1384fe8455"
37
44
  }
package/src/index.js CHANGED
@@ -1,9 +1,12 @@
1
1
  export {
2
2
  Coordinator,
3
3
  MosaicClient,
4
- restConnector,
5
- socketConnector,
6
- wasmConnector
4
+ RestConnector,
5
+ SocketConnector,
6
+ DuckDBWASMConnector,
7
+ restConnector, // deprecated
8
+ socketConnector, // deprecated
9
+ wasmConnector // deprecated
7
10
  } from '@uwdata/mosaic-core';
8
11
 
9
12
  export * from './api.js';
package/tsconfig.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "include": ["src/**/*"],
4
- "compilerOptions": {
5
- "emitDeclarationOnly": true,
6
- "outDir": "dist"
7
- },
8
- "references": [
9
- { "path": "../core" },
10
- { "path": "../inputs" },
11
- { "path": "../plot" },
12
- { "path": "../sql" }
13
- ]
14
- }
package/vitest.config.ts DELETED
@@ -1,3 +0,0 @@
1
- import { defineConfig } from 'vite';
2
-
3
- export default defineConfig({});