mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Replace with the minified version of plotly (#9840)
This commit is contained in:
@@ -641,7 +641,7 @@
|
||||
"rxjs/**",
|
||||
"ng2-charts",
|
||||
"chart.js",
|
||||
"plotly.js-dist",
|
||||
"plotly.js-dist-min",
|
||||
"angular2-grid",
|
||||
"html-query-plan"
|
||||
]
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
"ng2-charts": "^1.6.0",
|
||||
"node-pty": "0.10.0-beta7",
|
||||
"onigasm-umd": "2.2.5",
|
||||
"plotly.js-dist": "^1.48.3",
|
||||
"plotly.js-dist-min": "^1.53.0",
|
||||
"reflect-metadata": "^0.1.8",
|
||||
"rxjs": "5.4.0",
|
||||
"sanitize-html": "^1.19.1",
|
||||
@@ -175,8 +175,8 @@
|
||||
"rimraf": "^2.2.8",
|
||||
"sinon": "^1.17.2",
|
||||
"source-map": "^0.4.4",
|
||||
"temp-write": "^3.4.0",
|
||||
"style-loader": "^1.0.0",
|
||||
"temp-write": "^3.4.0",
|
||||
"ts-loader": "^4.4.2",
|
||||
"typemoq": "^0.3.2",
|
||||
"typescript": "^3.9.0-dev.20200327",
|
||||
|
||||
@@ -42,7 +42,7 @@ declare class PlotlyHTMLElement extends HTMLDivElement {
|
||||
export class PlotlyOutputComponent extends AngularDisposable implements IMimeComponent, OnInit {
|
||||
public static readonly SELECTOR: string = 'plotly-output';
|
||||
|
||||
private static Plotly?: Promise<typeof import('plotly.js-dist')>;
|
||||
private static Plotly?: Promise<typeof import('plotly.js-dist-min')>;
|
||||
|
||||
@ViewChild('output', { read: ElementRef }) private output: ElementRef;
|
||||
|
||||
@@ -79,7 +79,7 @@ export class PlotlyOutputComponent extends AngularDisposable implements IMimeCom
|
||||
|
||||
ngOnInit() {
|
||||
if (!PlotlyOutputComponent.Plotly) {
|
||||
PlotlyOutputComponent.Plotly = import('plotly.js-dist');
|
||||
PlotlyOutputComponent.Plotly = import('plotly.js-dist-min');
|
||||
}
|
||||
this._plotDiv = this.output.nativeElement;
|
||||
this.renderPlotly();
|
||||
|
||||
@@ -7186,10 +7186,10 @@ plist@^3.0.1:
|
||||
xmlbuilder "^9.0.7"
|
||||
xmldom "0.1.x"
|
||||
|
||||
plotly.js-dist@^1.48.3:
|
||||
version "1.48.3"
|
||||
resolved "https://registry.yarnpkg.com/plotly.js-dist/-/plotly.js-dist-1.48.3.tgz#b160b2d080ad87720121c9119f28036f35a301dc"
|
||||
integrity sha512-Ocy2WWjzh4Ofk293AgTvP0ga053nTV7TvUbYEzmq1E9Eh7wc6HCPBxo55YcZThHw3hVycEnhktLQK94en1bYSw==
|
||||
plotly.js-dist-min@^1.53.0:
|
||||
version "1.53.0"
|
||||
resolved "https://registry.yarnpkg.com/plotly.js-dist-min/-/plotly.js-dist-min-1.53.0.tgz#bcec2c0ce0c64ea8d7a261213540669a8cc166e9"
|
||||
integrity sha512-tcNz8PmtUL9NfN7gGhMf5TuNt5x20dig+biFLvFH9uFT1kD2Erq5p058QNV2A+vLULTlESlJvVzR9hwpdPMUrw==
|
||||
|
||||
plugin-error@0.1.2, plugin-error@^0.1.2:
|
||||
version "0.1.2"
|
||||
|
||||
Reference in New Issue
Block a user