Skip to content

Commit

Permalink
Merge pull request cljsjs#2041 from metasoarous/vega-extras-updates
Browse files Browse the repository at this point in the history
Vega extras updates
  • Loading branch information
Deraen authored Jan 31, 2020
2 parents 8ebde12 + 6976b61 commit 2f839c6
Show file tree
Hide file tree
Showing 5 changed files with 199 additions and 24 deletions.
13 changes: 7 additions & 6 deletions vega-embed/build.boot
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
(set-env!
:resource-paths #{"resources"}
:dependencies '[[cljsjs/boot-cljsjs "0.10.4" :scope "test"]
[cljsjs/vega "5.4.0-0"]
[cljsjs/vega-lite "3.4.0-0"]])
:dependencies '[[org.clojure/clojurescript "1.10.597"]
[cljsjs/boot-cljsjs "0.10.4" :scope "test"]
[cljsjs/vega "5.9.0-0"]
[cljsjs/vega-lite "4.0.2-0"]])

(require '[cljsjs.boot-cljsjs.packaging :refer :all])

(def +lib-version+ "4.0.0")
(def +lib-version+ "6.0.0")
(def +version+ (str +lib-version+ "-0"))

(task-options!
Expand All @@ -21,10 +22,10 @@
(comp
(download
:url (format "https://unpkg.com/vega-embed@%s/build/vega-embed.js" +lib-version+)
:checksum "a1de4b3de6c3d040c54bd180bdeeef0b")
:checksum "70e2ff3cdb6f03d26a3a3e734b521f05")
(download
:url (format "https://unpkg.com/vega-embed@%s/build/vega-embed.min.js" +lib-version+)
:checksum "ceaef0a57f250b6012cf1891db001fa6")
:checksum "3d09a1061a681e0c181098c936b83eeb")
(sift :move {#".*vega-embed\.js$" "cljsjs/development/vega-embed.inc.js"})
(sift :move {#".*vega-embed\.min\.js$" "cljsjs/production/vega-embed.min.inc.js"})
(sift :include #{#"^cljsjs"})
Expand Down
174 changes: 172 additions & 2 deletions vega-embed/resources/cljsjs/vega-embed/common/vega-embed.ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var vegaEmbed = {
"attr": function () {},
"background": function () {},
"bound": function () {},
"content": function () {},
"draw": function () {},
"foreground": function () {},
"isect": function () {},
Expand Down Expand Up @@ -176,6 +177,7 @@ var vegaEmbed = {
"accessorFields": function () {},
"accessorName": function () {},
"array": function () {},
"bandwidthNRD": function () {},
"bin": function () {},
"bootstrapCI": function () {},
"boundClip": function () {},
Expand All @@ -197,12 +199,19 @@ var vegaEmbed = {
"closeTag": function () {},
"compare": function () {},
"constant": function () {},
"cumulativeLogNormal": function () {},
"cumulativeNormal": function () {},
"cumulativeUniform": function () {},
"debounce": function () {},
"definition": function () {},
"densityLogNormal": function () {},
"densityNormal": function () {},
"densityUniform": function () {},
"domChild": function () {},
"domClear": function () {},
"domCreate": function () {},
"domFind": function () {},
"dotbin": function () {},
"error": function () {},
"expressionFunction": function () {},
"extend": function () {},
Expand Down Expand Up @@ -237,6 +246,7 @@ var vegaEmbed = {
},
"formatLocale": function () {},
"formats": function () {},
"hasOwnProperty": function () {},
"id": {
"fields": {},
"fname": {}
Expand Down Expand Up @@ -269,9 +279,12 @@ var vegaEmbed = {
"isTuple": function () {},
"key": function () {},
"lerp": function () {},
"lineHeight": function () {},
"loader": function () {},
"logger": function () {},
"merge": function () {},
"mergeConfig": function () {},
"multiLineOffset": function () {},
"one": {
"fields": {},
"fname": {}
Expand All @@ -293,13 +306,18 @@ var vegaEmbed = {
"peek": function () {},
"point": function () {},
"projection": function () {},
"quantileLogNormal": function () {},
"quantileNormal": function () {},
"quantileUniform": function () {},
"quantiles": function () {},
"quantizeInterpolator": function () {},
"quarter": function () {},
"quartiles": function () {},
"random": function () {},
"randomInteger": function () {},
"randomKDE": function () {},
"randomLCG": function () {},
"randomLogNormal": function () {},
"randomMixture": function () {},
"randomNormal": function () {},
"randomUniform": function () {},
Expand All @@ -318,6 +336,9 @@ var vegaEmbed = {
"runtime": function () {},
"runtimeContext": function () {},
"sampleCurve": function () {},
"sampleLogNormal": function () {},
"sampleNormal": function () {},
"sampleUniform": function () {},
"scale": function () {},
"sceneEqual": function () {},
"sceneFromJSON": function () {},
Expand All @@ -337,8 +358,15 @@ var vegaEmbed = {
"measureWidth": function () {},
"width": function () {}
},
"timeBin": function () {},
"timeFloor": function () {},
"timeFormat": function () {},
"timeFormatLocale": function () {},
"timeInterval": function () {},
"timeOffset": function () {},
"timeSequence": function () {},
"timeUnitSpecifier": function () {},
"timeUnits": function () {},
"toBoolean": function () {},
"toDate": function () {},
"toNumber": function () {},
Expand Down Expand Up @@ -422,6 +450,15 @@ var vegaEmbed = {
"type": {}
}
},
"dotbin": {
"Definition": {
"metadata": {
"modifies": {}
},
"params": {},
"type": {}
}
},
"encode": function () {},
"expression": function () {},
"extent": {
Expand Down Expand Up @@ -517,7 +554,17 @@ var vegaEmbed = {
"graticule": {
"Definition": {
"metadata": {
"changes": {}
"changes": {},
"generates": {}
},
"params": {},
"type": {}
}
},
"heatmap": {
"Definition": {
"metadata": {
"modifies": {}
},
"params": {},
"type": {}
Expand All @@ -541,6 +588,15 @@ var vegaEmbed = {
"type": {}
}
},
"isocontour": {
"Definition": {
"metadata": {
"generates": {}
},
"params": {},
"type": {}
}
},
"joinaggregate": {
"Definition": {
"metadata": {
Expand All @@ -559,6 +615,15 @@ var vegaEmbed = {
"type": {}
}
},
"kde2d": {
"Definition": {
"metadata": {
"generates": {}
},
"params": {},
"type": {}
}
},
"key": function () {},
"legendentries": function () {},
"linkpath": {
Expand Down Expand Up @@ -656,6 +721,16 @@ var vegaEmbed = {
},
"projection": function () {},
"proxy": function () {},
"quantile": {
"Definition": {
"metadata": {
"changes": {},
"generates": {}
},
"params": {},
"type": {}
}
},
"regression": {
"Definition": {
"metadata": {
Expand Down Expand Up @@ -685,7 +760,8 @@ var vegaEmbed = {
"sequence": {
"Definition": {
"metadata": {
"changes": {}
"changes": {},
"generates": {}
},
"params": {},
"type": {}
Expand All @@ -712,6 +788,15 @@ var vegaEmbed = {
}
},
"subflow": function () {},
"timeunit": {
"Definition": {
"metadata": {
"modifies": {}
},
"params": {},
"type": {}
}
},
"tree": {
"Definition": {
"metadata": {
Expand Down Expand Up @@ -792,9 +877,15 @@ var vegaEmbed = {
"fname": {}
}
},
"utcFloor": function () {},
"utcFormat": function () {},
"utcInterval": function () {},
"utcOffset": function () {},
"utcSequence": function () {},
"utcquarter": function () {},
"version": {},
"visitArray": function () {},
"writeConfig": function () {},
"zero": {
"fields": {},
"fname": {}
Expand All @@ -804,6 +895,12 @@ var vegaEmbed = {
"zoomPow": function () {},
"zoomSymlog": function () {}
},
"vegaLite": {
"compile": function () {},
"extractTransforms": function () {},
"normalize": function () {},
"version": {}
},
"version": {},
"vl": {
"compile": function () {},
Expand Down Expand Up @@ -1342,6 +1439,18 @@ vegaEmbed.vega.transforms.density.prototype = {
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.dotbin.prototype = {
"constructor": function () {},
"evaluate": function () {},
"marshall": function () {},
"modified": function () {},
"parameters": function () {},
"run": function () {},
"set": function () {},
"skip": function () {},
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.encode.prototype = {
"constructor": function () {},
"evaluate": function () {},
Expand Down Expand Up @@ -1535,6 +1644,18 @@ vegaEmbed.vega.transforms.graticule.prototype = {
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.heatmap.prototype = {
"constructor": function () {},
"evaluate": function () {},
"marshall": function () {},
"modified": function () {},
"parameters": function () {},
"run": function () {},
"set": function () {},
"skip": function () {},
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.identifier.prototype = {
"constructor": function () {},
"evaluate": function () {},
Expand All @@ -1559,6 +1680,18 @@ vegaEmbed.vega.transforms.impute.prototype = {
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.isocontour.prototype = {
"constructor": function () {},
"evaluate": function () {},
"marshall": function () {},
"modified": function () {},
"parameters": function () {},
"run": function () {},
"set": function () {},
"skip": function () {},
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.joinaggregate.prototype = {
"add": function () {},
"cell": function () {},
Expand Down Expand Up @@ -1593,6 +1726,18 @@ vegaEmbed.vega.transforms.kde.prototype = {
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.kde2d.prototype = {
"constructor": function () {},
"evaluate": function () {},
"marshall": function () {},
"modified": function () {},
"parameters": function () {},
"run": function () {},
"set": function () {},
"skip": function () {},
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.key.prototype = {
"constructor": function () {},
"evaluate": function () {},
Expand Down Expand Up @@ -1849,6 +1994,18 @@ vegaEmbed.vega.transforms.proxy.prototype = {
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.quantile.prototype = {
"constructor": function () {},
"evaluate": function () {},
"marshall": function () {},
"modified": function () {},
"parameters": function () {},
"run": function () {},
"set": function () {},
"skip": function () {},
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.regression.prototype = {
"constructor": function () {},
"evaluate": function () {},
Expand Down Expand Up @@ -1997,6 +2154,19 @@ vegaEmbed.vega.transforms.subflow.prototype = {
"skip": function () {},
"targets": function () {}
};
vegaEmbed.vega.transforms.timeunit.prototype = {
"_floor": function () {},
"constructor": function () {},
"evaluate": function () {},
"marshall": function () {},
"modified": function () {},
"parameters": function () {},
"run": function () {},
"set": function () {},
"skip": function () {},
"targets": function () {},
"transform": function () {}
};
vegaEmbed.vega.transforms.tree.prototype = {
"constructor": function () {},
"evaluate": function () {},
Expand Down
Loading

0 comments on commit 2f839c6

Please sign in to comment.