@jupyterlab/htmlviewer 3.3.0-alpha.0 → 3.3.0-alpha.12
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/lib/index.d.ts +28 -1
- package/lib/index.js +57 -17
- package/lib/index.js.map +1 -1
- package/package.json +8 -9
- package/style/index.css +1 -0
- package/style/index.js +1 -0
- package/LICENSE +0 -33
package/lib/index.d.ts
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
* @packageDocumentation
|
|
3
3
|
* @module htmlviewer
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { IWidgetTracker } from '@jupyterlab/apputils';
|
|
6
6
|
import { ABCWidgetFactory, DocumentRegistry, DocumentWidget, IDocumentWidget } from '@jupyterlab/docregistry';
|
|
7
7
|
import { ITranslator } from '@jupyterlab/translation';
|
|
8
|
+
import { IFrame } from '@jupyterlab/ui-components';
|
|
8
9
|
import { Token } from '@lumino/coreutils';
|
|
9
10
|
import { ISignal } from '@lumino/signaling';
|
|
11
|
+
import { Widget } from '@lumino/widgets';
|
|
10
12
|
/**
|
|
11
13
|
* A class that tracks HTML viewer widgets.
|
|
12
14
|
*/
|
|
@@ -76,4 +78,29 @@ export declare class HTMLViewerFactory extends ABCWidgetFactory<HTMLViewer> {
|
|
|
76
78
|
* Create a new widget given a context.
|
|
77
79
|
*/
|
|
78
80
|
protected createNewWidget(context: DocumentRegistry.Context): HTMLViewer;
|
|
81
|
+
/**
|
|
82
|
+
* Default factory for toolbar items to be added after the widget is created.
|
|
83
|
+
*/
|
|
84
|
+
protected defaultToolbarFactory(widget: HTMLViewer): DocumentRegistry.IToolbarItem[];
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* A namespace for toolbar items generator
|
|
88
|
+
*/
|
|
89
|
+
export declare namespace ToolbarItems {
|
|
90
|
+
/**
|
|
91
|
+
* Create the refresh button
|
|
92
|
+
*
|
|
93
|
+
* @param widget HTML viewer widget
|
|
94
|
+
* @param translator Application translator object
|
|
95
|
+
* @returns Toolbar item button
|
|
96
|
+
*/
|
|
97
|
+
function createRefreshButton(widget: HTMLViewer, translator?: ITranslator): Widget;
|
|
98
|
+
/**
|
|
99
|
+
* Create the trust button
|
|
100
|
+
*
|
|
101
|
+
* @param document HTML viewer widget
|
|
102
|
+
* @param translator Application translator object
|
|
103
|
+
* @returns Toolbar item button
|
|
104
|
+
*/
|
|
105
|
+
function createTrustButton(document: HTMLViewer, translator: ITranslator): Widget;
|
|
79
106
|
}
|
package/lib/index.js
CHANGED
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
* @packageDocumentation
|
|
7
7
|
* @module htmlviewer
|
|
8
8
|
*/
|
|
9
|
-
import { IFrame, ReactWidget, ToolbarButton, ToolbarButtonComponent, UseSignal } from '@jupyterlab/apputils';
|
|
10
9
|
import { ActivityMonitor } from '@jupyterlab/coreutils';
|
|
11
10
|
import { ABCWidgetFactory, DocumentWidget } from '@jupyterlab/docregistry';
|
|
12
11
|
import { nullTranslator } from '@jupyterlab/translation';
|
|
13
|
-
import { refreshIcon } from '@jupyterlab/ui-components';
|
|
12
|
+
import { IFrame, ReactWidget, refreshIcon, ToolbarButton, ToolbarButtonComponent, UseSignal } from '@jupyterlab/ui-components';
|
|
14
13
|
import { Token } from '@lumino/coreutils';
|
|
15
14
|
import { Signal } from '@lumino/signaling';
|
|
16
15
|
import * as React from 'react';
|
|
@@ -51,7 +50,6 @@ export class HTMLViewer extends DocumentWidget {
|
|
|
51
50
|
this._objectUrl = '';
|
|
52
51
|
this._trustedChanged = new Signal(this);
|
|
53
52
|
this.translator = options.translator || nullTranslator;
|
|
54
|
-
const trans = this.translator.load('jupyterlab');
|
|
55
53
|
this.content.addClass(CSS_CLASS);
|
|
56
54
|
void this.context.ready.then(() => {
|
|
57
55
|
this.update();
|
|
@@ -62,19 +60,6 @@ export class HTMLViewer extends DocumentWidget {
|
|
|
62
60
|
});
|
|
63
61
|
this._monitor.activityStopped.connect(this.update, this);
|
|
64
62
|
});
|
|
65
|
-
// Make a refresh button for the toolbar.
|
|
66
|
-
this.toolbar.addItem('refresh', new ToolbarButton({
|
|
67
|
-
icon: refreshIcon,
|
|
68
|
-
onClick: async () => {
|
|
69
|
-
if (!this.context.model.dirty) {
|
|
70
|
-
await this.context.revert();
|
|
71
|
-
this.update();
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
tooltip: trans.__('Rerender HTML Document')
|
|
75
|
-
}));
|
|
76
|
-
// Make a trust button for the toolbar.
|
|
77
|
-
this.toolbar.addItem('trust', ReactWidget.create(React.createElement(Private.TrustButtonComponent, { htmlDocument: this, translator: this.translator })));
|
|
78
63
|
}
|
|
79
64
|
/**
|
|
80
65
|
* Whether the HTML document is trusted. If trusted,
|
|
@@ -181,7 +166,62 @@ export class HTMLViewerFactory extends ABCWidgetFactory {
|
|
|
181
166
|
createNewWidget(context) {
|
|
182
167
|
return new HTMLViewer({ context });
|
|
183
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* Default factory for toolbar items to be added after the widget is created.
|
|
171
|
+
*/
|
|
172
|
+
defaultToolbarFactory(widget) {
|
|
173
|
+
return [
|
|
174
|
+
// Make a refresh button for the toolbar.
|
|
175
|
+
{
|
|
176
|
+
name: 'refresh',
|
|
177
|
+
widget: ToolbarItems.createRefreshButton(widget, this.translator)
|
|
178
|
+
},
|
|
179
|
+
// Make a trust button for the toolbar.
|
|
180
|
+
{
|
|
181
|
+
name: 'trust',
|
|
182
|
+
widget: ToolbarItems.createTrustButton(widget, this.translator)
|
|
183
|
+
}
|
|
184
|
+
];
|
|
185
|
+
}
|
|
184
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* A namespace for toolbar items generator
|
|
189
|
+
*/
|
|
190
|
+
export var ToolbarItems;
|
|
191
|
+
(function (ToolbarItems) {
|
|
192
|
+
/**
|
|
193
|
+
* Create the refresh button
|
|
194
|
+
*
|
|
195
|
+
* @param widget HTML viewer widget
|
|
196
|
+
* @param translator Application translator object
|
|
197
|
+
* @returns Toolbar item button
|
|
198
|
+
*/
|
|
199
|
+
function createRefreshButton(widget, translator) {
|
|
200
|
+
const trans = (translator !== null && translator !== void 0 ? translator : nullTranslator).load('jupyterlab');
|
|
201
|
+
return new ToolbarButton({
|
|
202
|
+
icon: refreshIcon,
|
|
203
|
+
onClick: async () => {
|
|
204
|
+
if (!widget.context.model.dirty) {
|
|
205
|
+
await widget.context.revert();
|
|
206
|
+
widget.update();
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
tooltip: trans.__('Rerender HTML Document')
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
ToolbarItems.createRefreshButton = createRefreshButton;
|
|
213
|
+
/**
|
|
214
|
+
* Create the trust button
|
|
215
|
+
*
|
|
216
|
+
* @param document HTML viewer widget
|
|
217
|
+
* @param translator Application translator object
|
|
218
|
+
* @returns Toolbar item button
|
|
219
|
+
*/
|
|
220
|
+
function createTrustButton(document, translator) {
|
|
221
|
+
return ReactWidget.create(React.createElement(Private.TrustButtonComponent, { htmlDocument: document, translator: translator }));
|
|
222
|
+
}
|
|
223
|
+
ToolbarItems.createTrustButton = createTrustButton;
|
|
224
|
+
})(ToolbarItems || (ToolbarItems = {}));
|
|
185
225
|
/**
|
|
186
226
|
* A namespace for private data.
|
|
187
227
|
*/
|
|
@@ -203,7 +243,7 @@ var Private;
|
|
|
203
243
|
function TrustButtonComponent(props) {
|
|
204
244
|
const translator = props.translator || nullTranslator;
|
|
205
245
|
const trans = translator.load('jupyterlab');
|
|
206
|
-
return (React.createElement(UseSignal, { signal: props.htmlDocument.trustedChanged, initialSender: props.htmlDocument },
|
|
246
|
+
return (React.createElement(UseSignal, { signal: props.htmlDocument.trustedChanged, initialSender: props.htmlDocument }, () => (React.createElement(ToolbarButtonComponent, { className: "", onClick: () => (props.htmlDocument.trusted = !props.htmlDocument.trusted), tooltip: trans.__(`Whether the HTML file is trusted.
|
|
207
247
|
Trusting the file allows scripts to run in it,
|
|
208
248
|
which may result in security risks.
|
|
209
249
|
Only enable for files you trust.`), label: props.htmlDocument.trusted
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;+EAG+E;AAC/E;;;GAGG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;+EAG+E;AAC/E;;;GAGG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,gBAAgB,EAEhB,cAAc,EAEf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,sBAAsB,EACtB,SAAS,EACV,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAW,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,KAAK,CACzC,2CAA2C,CAC5C,CAAC;AACF;;GAEG;AACH,MAAM,cAAc,GAAG,IAAI,CAAC;AAE5B;;GAEG;AACH,MAAM,SAAS,GAAG,eAAe,CAAC;AAElC;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,UACX,SAAQ,cAAsB;IAE9B;;OAEG;IACH,YAAY,OAA+C;QACzD,KAAK,iCACA,OAAO,KACV,OAAO,EAAE,IAAI,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,CAAC,IACvD,CAAC;QAoHG,mBAAc,GAAG,KAAK,CAAC;QACvB,YAAO,GAAG,IAAI,SAAS,EAAE,CAAC;QAC1B,aAAQ,GAGL,I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,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC5C,OAAO,CACL,oBAAC,SAAS,IACR,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC,cAAc,EACzC,aAAa,EAAE,KAAK,CAAC,YAAY,IAEhC,GAAG,EAAE,CAAC,CACL,oBAAC,sBAAsB,IACrB,SAAS,EAAC,EAAE,EACZ,OAAO,EAAE,GAAG,EAAE,CACZ,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,EAE5D,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC;;;iCAGG,CAAC,EACtB,KAAK,EACH,KAAK,CAAC,YAAY,CAAC,OAAO;gBACxB,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC;gBAC3B,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,GAE5B,CACH,CACS,CACb,CAAC;IACJ,CAAC;IA7Be,4BAAoB,uBA6BnC,CAAA;AACH,CAAC,EA/DS,OAAO,KAAP,OAAO,QA+DhB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/htmlviewer",
|
|
3
|
-
"version": "3.3.0-alpha.
|
|
3
|
+
"version": "3.3.0-alpha.12",
|
|
4
4
|
"description": "A viewer for HTML documents.",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsc -b",
|
|
31
31
|
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
|
32
|
-
"prepublishOnly": "npm run build",
|
|
33
32
|
"watch": "tsc -w --listEmittedFiles"
|
|
34
33
|
},
|
|
35
34
|
"dependencies": {
|
|
36
|
-
"@jupyterlab/apputils": "^3.3.0-alpha.
|
|
37
|
-
"@jupyterlab/coreutils": "^5.3.0-alpha.
|
|
38
|
-
"@jupyterlab/docregistry": "^3.3.0-alpha.
|
|
39
|
-
"@jupyterlab/translation": "^3.3.0-alpha.
|
|
40
|
-
"@jupyterlab/ui-components": "^3.3.0-alpha.
|
|
35
|
+
"@jupyterlab/apputils": "^3.3.0-alpha.12",
|
|
36
|
+
"@jupyterlab/coreutils": "^5.3.0-alpha.12",
|
|
37
|
+
"@jupyterlab/docregistry": "^3.3.0-alpha.12",
|
|
38
|
+
"@jupyterlab/translation": "^3.3.0-alpha.12",
|
|
39
|
+
"@jupyterlab/ui-components": "^3.3.0-alpha.12",
|
|
41
40
|
"@lumino/coreutils": "^1.5.3",
|
|
42
41
|
"@lumino/signaling": "^1.4.3",
|
|
42
|
+
"@lumino/widgets": "^1.26.0",
|
|
43
43
|
"react": "^17.0.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -49,6 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"styleModule": "style/index.js"
|
|
53
|
-
"gitHead": "f284528624b2145e2caa5f626951213f6615dee5"
|
|
52
|
+
"styleModule": "style/index.js"
|
|
54
53
|
}
|
package/style/index.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
|
|
7
|
+
@import url('~@lumino/widgets/style/index.css');
|
|
7
8
|
@import url('~@jupyterlab/ui-components/style/index.css');
|
|
8
9
|
@import url('~@jupyterlab/apputils/style/index.css');
|
|
9
10
|
@import url('~@jupyterlab/docregistry/style/index.css');
|
package/style/index.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
|
|
7
|
+
import '@lumino/widgets/style/index.js';
|
|
7
8
|
import '@jupyterlab/ui-components/style/index.js';
|
|
8
9
|
import '@jupyterlab/apputils/style/index.js';
|
|
9
10
|
import '@jupyterlab/docregistry/style/index.js';
|
package/LICENSE
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2015-2021 Project Jupyter Contributors
|
|
2
|
-
All rights reserved.
|
|
3
|
-
|
|
4
|
-
Redistribution and use in source and binary forms, with or without
|
|
5
|
-
modification, are permitted provided that the following conditions are met:
|
|
6
|
-
|
|
7
|
-
1. Redistributions of source code must retain the above copyright notice, this
|
|
8
|
-
list of conditions and the following disclaimer.
|
|
9
|
-
|
|
10
|
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
11
|
-
this list of conditions and the following disclaimer in the documentation
|
|
12
|
-
and/or other materials provided with the distribution.
|
|
13
|
-
|
|
14
|
-
3. Neither the name of the copyright holder nor the names of its
|
|
15
|
-
contributors may be used to endorse or promote products derived from
|
|
16
|
-
this software without specific prior written permission.
|
|
17
|
-
|
|
18
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
19
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
20
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
21
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
22
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
23
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
24
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
25
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
26
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
28
|
-
|
|
29
|
-
Semver File License
|
|
30
|
-
===================
|
|
31
|
-
|
|
32
|
-
The semver.py file is from https://github.com/podhmo/python-semver
|
|
33
|
-
which is licensed under the "MIT" license. See the semver.py file for details.
|