@jupyterlab/apputils 4.5.0-beta.0 → 4.5.0-beta.1
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 +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/licenses.d.ts +334 -0
- package/lib/licenses.js +514 -0
- package/lib/licenses.js.map +1 -0
- package/lib/semanticCommand.d.ts +4 -0
- package/lib/semanticCommand.js +4 -0
- package/lib/semanticCommand.js.map +1 -1
- package/lib/tokens.d.ts +10 -0
- package/lib/tokens.js +4 -0
- package/lib/tokens.js.map +1 -1
- package/package.json +11 -11
- package/src/index.ts +1 -0
- package/src/licenses.tsx +777 -0
- package/src/semanticCommand.ts +5 -0
- package/src/tokens.ts +14 -0
- package/style/base.css +1 -0
- package/style/dialog.css +2 -0
- package/style/licenses.css +184 -0
package/lib/licenses.js
ADDED
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
// Copyright (c) Jupyter Development Team.
|
|
2
|
+
// Distributed under the terms of the Modified BSD License.
|
|
3
|
+
import { ServerConnection } from '@jupyterlab/services';
|
|
4
|
+
import { jsonIcon, markdownIcon, spreadsheetIcon, VDomModel, VDomRenderer } from '@jupyterlab/ui-components';
|
|
5
|
+
import { PromiseDelegate } from '@lumino/coreutils';
|
|
6
|
+
import { Signal } from '@lumino/signaling';
|
|
7
|
+
import { h } from '@lumino/virtualdom';
|
|
8
|
+
import { Panel, SplitPanel, TabBar, Widget } from '@lumino/widgets';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
const FILTER_SECTION_TITLE_CLASS = 'jp-Licenses-Filters-title';
|
|
11
|
+
/**
|
|
12
|
+
* A license viewer
|
|
13
|
+
*/
|
|
14
|
+
export class Licenses extends SplitPanel {
|
|
15
|
+
constructor(options) {
|
|
16
|
+
super();
|
|
17
|
+
this.addClass('jp-Licenses');
|
|
18
|
+
this.model = options.model;
|
|
19
|
+
this.initLeftPanel();
|
|
20
|
+
this.initFilters();
|
|
21
|
+
this.initBundles();
|
|
22
|
+
this.initGrid();
|
|
23
|
+
this.initLicenseText();
|
|
24
|
+
this.setRelativeSizes([1, 2, 3]);
|
|
25
|
+
void this.model.initLicenses().then(() => this._updateBundles());
|
|
26
|
+
this.model.trackerDataChanged.connect(() => {
|
|
27
|
+
this.title.label = this.model.title;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Handle disposing of the widget
|
|
32
|
+
*/
|
|
33
|
+
dispose() {
|
|
34
|
+
if (this.isDisposed) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
this._bundles.currentChanged.disconnect(this.onBundleSelected, this);
|
|
38
|
+
this.model.dispose();
|
|
39
|
+
super.dispose();
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Initialize the left area for filters and bundles
|
|
43
|
+
*/
|
|
44
|
+
initLeftPanel() {
|
|
45
|
+
this._leftPanel = new Panel();
|
|
46
|
+
this._leftPanel.addClass('jp-Licenses-FormArea');
|
|
47
|
+
this.addWidget(this._leftPanel);
|
|
48
|
+
SplitPanel.setStretch(this._leftPanel, 1);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Initialize the filters
|
|
52
|
+
*/
|
|
53
|
+
initFilters() {
|
|
54
|
+
this._filters = new Licenses.Filters(this.model);
|
|
55
|
+
SplitPanel.setStretch(this._filters, 1);
|
|
56
|
+
this._leftPanel.addWidget(this._filters);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Initialize the listing of available bundles
|
|
60
|
+
*/
|
|
61
|
+
initBundles() {
|
|
62
|
+
this._bundles = new TabBar({
|
|
63
|
+
orientation: 'vertical',
|
|
64
|
+
renderer: new Licenses.BundleTabRenderer(this.model)
|
|
65
|
+
});
|
|
66
|
+
this._bundles.addClass('jp-Licenses-Bundles');
|
|
67
|
+
SplitPanel.setStretch(this._bundles, 1);
|
|
68
|
+
this._leftPanel.addWidget(this._bundles);
|
|
69
|
+
this._bundles.currentChanged.connect(this.onBundleSelected, this);
|
|
70
|
+
this.model.stateChanged.connect(() => this._bundles.update());
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Initialize the listing of packages within the current bundle
|
|
74
|
+
*/
|
|
75
|
+
initGrid() {
|
|
76
|
+
this._grid = new Licenses.Grid(this.model);
|
|
77
|
+
SplitPanel.setStretch(this._grid, 1);
|
|
78
|
+
this.addWidget(this._grid);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Initialize the full text of the current package
|
|
82
|
+
*/
|
|
83
|
+
initLicenseText() {
|
|
84
|
+
this._licenseText = new Licenses.FullText(this.model);
|
|
85
|
+
SplitPanel.setStretch(this._grid, 1);
|
|
86
|
+
this.addWidget(this._licenseText);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Event handler for updating the model with the current bundle
|
|
90
|
+
*/
|
|
91
|
+
onBundleSelected() {
|
|
92
|
+
var _a;
|
|
93
|
+
if ((_a = this._bundles.currentTitle) === null || _a === void 0 ? void 0 : _a.label) {
|
|
94
|
+
this.model.currentBundleName = this._bundles.currentTitle.label;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Update the bundle tabs.
|
|
99
|
+
*/
|
|
100
|
+
_updateBundles() {
|
|
101
|
+
this._bundles.clearTabs();
|
|
102
|
+
let i = 0;
|
|
103
|
+
const { currentBundleName } = this.model;
|
|
104
|
+
let currentIndex = 0;
|
|
105
|
+
for (const bundle of this.model.bundleNames) {
|
|
106
|
+
const tab = new Widget();
|
|
107
|
+
tab.title.label = bundle;
|
|
108
|
+
if (bundle === currentBundleName) {
|
|
109
|
+
currentIndex = i;
|
|
110
|
+
}
|
|
111
|
+
this._bundles.insertTab(++i, tab.title);
|
|
112
|
+
}
|
|
113
|
+
this._bundles.currentIndex = currentIndex;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
/** A namespace for license components */
|
|
117
|
+
(function (Licenses) {
|
|
118
|
+
/**
|
|
119
|
+
* License report formats understood by the server (once lower-cased)
|
|
120
|
+
*/
|
|
121
|
+
Licenses.REPORT_FORMATS = {
|
|
122
|
+
markdown: {
|
|
123
|
+
id: 'markdown',
|
|
124
|
+
title: 'Markdown',
|
|
125
|
+
icon: markdownIcon
|
|
126
|
+
},
|
|
127
|
+
csv: {
|
|
128
|
+
id: 'csv',
|
|
129
|
+
title: 'CSV',
|
|
130
|
+
icon: spreadsheetIcon
|
|
131
|
+
},
|
|
132
|
+
json: {
|
|
133
|
+
id: 'json',
|
|
134
|
+
title: 'JSON',
|
|
135
|
+
icon: jsonIcon
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* The default format (most human-readable)
|
|
140
|
+
*/
|
|
141
|
+
Licenses.DEFAULT_FORMAT = 'markdown';
|
|
142
|
+
/**
|
|
143
|
+
* A class used for fetching licenses from the server.
|
|
144
|
+
*/
|
|
145
|
+
class LicensesClient {
|
|
146
|
+
/**
|
|
147
|
+
* Create a new license client.
|
|
148
|
+
*/
|
|
149
|
+
constructor(options = {}) {
|
|
150
|
+
var _a;
|
|
151
|
+
this._licensesUrl = options.licensesUrl || '';
|
|
152
|
+
this._serverSettings =
|
|
153
|
+
(_a = options.serverSettings) !== null && _a !== void 0 ? _a : ServerConnection.makeSettings();
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Get the link to download the licenses in a given format.
|
|
157
|
+
*/
|
|
158
|
+
async getDownloadLink(options) {
|
|
159
|
+
return `${this._licensesUrl}?format=${options.format}&download=1`;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Fetch the license bundles from the server.
|
|
163
|
+
*/
|
|
164
|
+
async getBundles() {
|
|
165
|
+
const response = await ServerConnection.makeRequest(this._licensesUrl, {}, this._serverSettings);
|
|
166
|
+
return response.json();
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
Licenses.LicensesClient = LicensesClient;
|
|
170
|
+
/**
|
|
171
|
+
* A model for license data
|
|
172
|
+
*/
|
|
173
|
+
class Model extends VDomModel {
|
|
174
|
+
constructor(options) {
|
|
175
|
+
super();
|
|
176
|
+
this._selectedPackageChanged = new Signal(this);
|
|
177
|
+
this._trackerDataChanged = new Signal(this);
|
|
178
|
+
this._currentPackageIndex = 0;
|
|
179
|
+
this._licensesReady = new PromiseDelegate();
|
|
180
|
+
this._packageFilter = {};
|
|
181
|
+
this._trans = options.trans;
|
|
182
|
+
this._client = options.client;
|
|
183
|
+
if (options.currentBundleName) {
|
|
184
|
+
this._currentBundleName = options.currentBundleName;
|
|
185
|
+
}
|
|
186
|
+
if (options.packageFilter) {
|
|
187
|
+
this._packageFilter = options.packageFilter;
|
|
188
|
+
}
|
|
189
|
+
if (options.currentPackageIndex) {
|
|
190
|
+
this._currentPackageIndex = options.currentPackageIndex;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Handle the initial request for the licenses from the server.
|
|
195
|
+
*/
|
|
196
|
+
async initLicenses() {
|
|
197
|
+
try {
|
|
198
|
+
this._serverResponse = await this._client.getBundles();
|
|
199
|
+
this._licensesReady.resolve();
|
|
200
|
+
this.stateChanged.emit(void 0);
|
|
201
|
+
}
|
|
202
|
+
catch (err) {
|
|
203
|
+
this._licensesReady.reject(err);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Create a temporary download link, and emulate clicking it to trigger a named
|
|
208
|
+
* file download.
|
|
209
|
+
*/
|
|
210
|
+
async download(options) {
|
|
211
|
+
const url = await this._client.getDownloadLink(options);
|
|
212
|
+
const element = document.createElement('a');
|
|
213
|
+
element.href = url;
|
|
214
|
+
element.download = '';
|
|
215
|
+
document.body.appendChild(element);
|
|
216
|
+
element.click();
|
|
217
|
+
document.body.removeChild(element);
|
|
218
|
+
URL.revokeObjectURL(url);
|
|
219
|
+
return void 0;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* A promise that resolves when the licenses from the server change
|
|
223
|
+
*/
|
|
224
|
+
get selectedPackageChanged() {
|
|
225
|
+
return this._selectedPackageChanged;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* A promise that resolves when the trackable data changes
|
|
229
|
+
*/
|
|
230
|
+
get trackerDataChanged() {
|
|
231
|
+
return this._trackerDataChanged;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* The names of the license bundles available
|
|
235
|
+
*/
|
|
236
|
+
get bundleNames() {
|
|
237
|
+
var _a;
|
|
238
|
+
return Object.keys(((_a = this._serverResponse) === null || _a === void 0 ? void 0 : _a.bundles) || {});
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* The current license bundle
|
|
242
|
+
*/
|
|
243
|
+
get currentBundleName() {
|
|
244
|
+
if (this._currentBundleName) {
|
|
245
|
+
return this._currentBundleName;
|
|
246
|
+
}
|
|
247
|
+
if (this.bundleNames.length) {
|
|
248
|
+
return this.bundleNames[0];
|
|
249
|
+
}
|
|
250
|
+
return null;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Set the current license bundle, and reset the selected index
|
|
254
|
+
*/
|
|
255
|
+
set currentBundleName(currentBundleName) {
|
|
256
|
+
if (this._currentBundleName !== currentBundleName) {
|
|
257
|
+
this._currentBundleName = currentBundleName;
|
|
258
|
+
this.stateChanged.emit(void 0);
|
|
259
|
+
this._trackerDataChanged.emit(void 0);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* A promise that resolves when the licenses are available from the server
|
|
264
|
+
*/
|
|
265
|
+
get licensesReady() {
|
|
266
|
+
return this._licensesReady.promise;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* All the license bundles, keyed by the distributing packages
|
|
270
|
+
*/
|
|
271
|
+
get bundles() {
|
|
272
|
+
var _a;
|
|
273
|
+
return ((_a = this._serverResponse) === null || _a === void 0 ? void 0 : _a.bundles) || {};
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* The index of the currently-selected package within its license bundle
|
|
277
|
+
*/
|
|
278
|
+
get currentPackageIndex() {
|
|
279
|
+
return this._currentPackageIndex;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Update the currently-selected package within its license bundle
|
|
283
|
+
*/
|
|
284
|
+
set currentPackageIndex(currentPackageIndex) {
|
|
285
|
+
if (this._currentPackageIndex === currentPackageIndex) {
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
this._currentPackageIndex = currentPackageIndex;
|
|
289
|
+
this._selectedPackageChanged.emit(void 0);
|
|
290
|
+
this.stateChanged.emit(void 0);
|
|
291
|
+
this._trackerDataChanged.emit(void 0);
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* The license data for the currently-selected package
|
|
295
|
+
*/
|
|
296
|
+
get currentPackage() {
|
|
297
|
+
var _a;
|
|
298
|
+
if (this.currentBundleName &&
|
|
299
|
+
this.bundles &&
|
|
300
|
+
this._currentPackageIndex != null) {
|
|
301
|
+
return this.getFilteredPackages(((_a = this.bundles[this.currentBundleName]) === null || _a === void 0 ? void 0 : _a.packages) || [])[this._currentPackageIndex];
|
|
302
|
+
}
|
|
303
|
+
return null;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* A translation bundle
|
|
307
|
+
*/
|
|
308
|
+
get trans() {
|
|
309
|
+
return this._trans;
|
|
310
|
+
}
|
|
311
|
+
get title() {
|
|
312
|
+
return `${this._currentBundleName || ''} ${this._trans.__('Licenses')}`.trim();
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* The current package filter
|
|
316
|
+
*/
|
|
317
|
+
get packageFilter() {
|
|
318
|
+
return this._packageFilter;
|
|
319
|
+
}
|
|
320
|
+
set packageFilter(packageFilter) {
|
|
321
|
+
this._packageFilter = packageFilter;
|
|
322
|
+
this.stateChanged.emit(void 0);
|
|
323
|
+
this._trackerDataChanged.emit(void 0);
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Get filtered packages from current bundle where at least one token of each
|
|
327
|
+
* key is present.
|
|
328
|
+
*/
|
|
329
|
+
getFilteredPackages(allRows) {
|
|
330
|
+
let rows = [];
|
|
331
|
+
let filters = Object.entries(this._packageFilter)
|
|
332
|
+
.filter(([k, v]) => v && `${v}`.trim().length)
|
|
333
|
+
.map(([k, v]) => [k, `${v}`.toLowerCase().trim().split(' ')]);
|
|
334
|
+
for (const row of allRows) {
|
|
335
|
+
let keyHits = 0;
|
|
336
|
+
for (const [key, bits] of filters) {
|
|
337
|
+
let bitHits = 0;
|
|
338
|
+
let rowKeyValue = `${row[key]}`.toLowerCase();
|
|
339
|
+
for (const bit of bits) {
|
|
340
|
+
if (rowKeyValue.includes(bit)) {
|
|
341
|
+
bitHits += 1;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
if (bitHits) {
|
|
345
|
+
keyHits += 1;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
if (keyHits === filters.length) {
|
|
349
|
+
rows.push(row);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
return Object.values(rows);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
Licenses.Model = Model;
|
|
356
|
+
/**
|
|
357
|
+
* A filter form for limiting the packages displayed
|
|
358
|
+
*/
|
|
359
|
+
class Filters extends VDomRenderer {
|
|
360
|
+
constructor(model) {
|
|
361
|
+
super(model);
|
|
362
|
+
/**
|
|
363
|
+
* Render a filter input
|
|
364
|
+
*/
|
|
365
|
+
this.renderFilter = (key) => {
|
|
366
|
+
const value = this.model.packageFilter[key] || '';
|
|
367
|
+
return (React.createElement("input", { type: "text", name: key, defaultValue: value, className: "jp-mod-styled", onInput: this.onFilterInput }));
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Handle a filter input changing
|
|
371
|
+
*/
|
|
372
|
+
this.onFilterInput = (evt) => {
|
|
373
|
+
const input = evt.currentTarget;
|
|
374
|
+
const { name, value } = input;
|
|
375
|
+
this.model.packageFilter = { ...this.model.packageFilter, [name]: value };
|
|
376
|
+
};
|
|
377
|
+
this.addClass('jp-Licenses-Filters');
|
|
378
|
+
this.addClass('jp-RenderedHTMLCommon');
|
|
379
|
+
}
|
|
380
|
+
render() {
|
|
381
|
+
const { trans } = this.model;
|
|
382
|
+
return (React.createElement("div", null,
|
|
383
|
+
React.createElement("label", null,
|
|
384
|
+
React.createElement("strong", { className: FILTER_SECTION_TITLE_CLASS }, trans.__('Filter Licenses By'))),
|
|
385
|
+
React.createElement("ul", null,
|
|
386
|
+
React.createElement("li", null,
|
|
387
|
+
React.createElement("label", null, trans.__('Package')),
|
|
388
|
+
this.renderFilter('name')),
|
|
389
|
+
React.createElement("li", null,
|
|
390
|
+
React.createElement("label", null, trans.__('Version')),
|
|
391
|
+
this.renderFilter('versionInfo')),
|
|
392
|
+
React.createElement("li", null,
|
|
393
|
+
React.createElement("label", null, trans.__('License')),
|
|
394
|
+
this.renderFilter('licenseId'))),
|
|
395
|
+
React.createElement("label", null,
|
|
396
|
+
React.createElement("strong", { className: FILTER_SECTION_TITLE_CLASS }, trans.__('Distributions')))));
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
Licenses.Filters = Filters;
|
|
400
|
+
/**
|
|
401
|
+
* A fancy bundle renderer with the package count
|
|
402
|
+
*/
|
|
403
|
+
class BundleTabRenderer extends TabBar.Renderer {
|
|
404
|
+
constructor(model) {
|
|
405
|
+
super();
|
|
406
|
+
this.closeIconSelector = '.lm-TabBar-tabCloseIcon';
|
|
407
|
+
this.model = model;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Render a full bundle
|
|
411
|
+
*/
|
|
412
|
+
renderTab(data) {
|
|
413
|
+
let title = data.title.caption;
|
|
414
|
+
let key = this.createTabKey(data);
|
|
415
|
+
let style = this.createTabStyle(data);
|
|
416
|
+
let className = this.createTabClass(data);
|
|
417
|
+
let dataset = this.createTabDataset(data);
|
|
418
|
+
return h.li({ key, className, title, style, dataset }, this.renderIcon(data), this.renderLabel(data), this.renderCountBadge(data));
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Render the package count
|
|
422
|
+
*/
|
|
423
|
+
renderCountBadge(data) {
|
|
424
|
+
const bundle = data.title.label;
|
|
425
|
+
const { bundles } = this.model;
|
|
426
|
+
const packages = this.model.getFilteredPackages((bundles && bundle ? bundles[bundle].packages : []) || []);
|
|
427
|
+
return h.label({}, `${packages.length}`);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
Licenses.BundleTabRenderer = BundleTabRenderer;
|
|
431
|
+
/**
|
|
432
|
+
* A grid of licenses
|
|
433
|
+
*/
|
|
434
|
+
class Grid extends VDomRenderer {
|
|
435
|
+
constructor(model) {
|
|
436
|
+
super(model);
|
|
437
|
+
/**
|
|
438
|
+
* Render a single package's license information
|
|
439
|
+
*/
|
|
440
|
+
this.renderRow = (row, index) => {
|
|
441
|
+
const selected = index === this.model.currentPackageIndex;
|
|
442
|
+
const onCheck = () => (this.model.currentPackageIndex = index);
|
|
443
|
+
return (React.createElement("tr", { key: row.name, className: selected ? 'jp-mod-selected' : '', onClick: onCheck },
|
|
444
|
+
React.createElement("td", null,
|
|
445
|
+
React.createElement("input", { type: "radio", name: "show-package-license", value: index, onChange: onCheck, checked: selected })),
|
|
446
|
+
React.createElement("th", null, row.name),
|
|
447
|
+
React.createElement("td", null,
|
|
448
|
+
React.createElement("code", null, row.versionInfo)),
|
|
449
|
+
React.createElement("td", null,
|
|
450
|
+
React.createElement("code", null, row.licenseId))));
|
|
451
|
+
};
|
|
452
|
+
this.addClass('jp-Licenses-Grid');
|
|
453
|
+
this.addClass('jp-RenderedHTMLCommon');
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Render a grid of package license information
|
|
457
|
+
*/
|
|
458
|
+
render() {
|
|
459
|
+
var _a;
|
|
460
|
+
const { bundles, currentBundleName, trans } = this.model;
|
|
461
|
+
const filteredPackages = this.model.getFilteredPackages(bundles && currentBundleName
|
|
462
|
+
? ((_a = bundles[currentBundleName]) === null || _a === void 0 ? void 0 : _a.packages) || []
|
|
463
|
+
: []);
|
|
464
|
+
if (!filteredPackages.length) {
|
|
465
|
+
return (React.createElement("blockquote", null,
|
|
466
|
+
React.createElement("em", null, trans.__('No Packages found'))));
|
|
467
|
+
}
|
|
468
|
+
return (React.createElement("form", null,
|
|
469
|
+
React.createElement("table", null,
|
|
470
|
+
React.createElement("thead", null,
|
|
471
|
+
React.createElement("tr", null,
|
|
472
|
+
React.createElement("td", null),
|
|
473
|
+
React.createElement("th", null, trans.__('Package')),
|
|
474
|
+
React.createElement("th", null, trans.__('Version')),
|
|
475
|
+
React.createElement("th", null, trans.__('License')))),
|
|
476
|
+
React.createElement("tbody", null, filteredPackages.map(this.renderRow)))));
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
Licenses.Grid = Grid;
|
|
480
|
+
/**
|
|
481
|
+
* A package's full license text
|
|
482
|
+
*/
|
|
483
|
+
class FullText extends VDomRenderer {
|
|
484
|
+
constructor(model) {
|
|
485
|
+
super(model);
|
|
486
|
+
this.addClass('jp-Licenses-Text');
|
|
487
|
+
this.addClass('jp-RenderedHTMLCommon');
|
|
488
|
+
this.addClass('jp-RenderedMarkdown');
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Render the license text, or a null state if no package is selected
|
|
492
|
+
*/
|
|
493
|
+
render() {
|
|
494
|
+
const { currentPackage, trans } = this.model;
|
|
495
|
+
let head = '';
|
|
496
|
+
let quote = trans.__('No Package selected');
|
|
497
|
+
let code = '';
|
|
498
|
+
if (currentPackage) {
|
|
499
|
+
const { name, versionInfo, licenseId, extractedText } = currentPackage;
|
|
500
|
+
head = `${name} v${versionInfo}`;
|
|
501
|
+
quote = `${trans.__('License')}: ${licenseId || trans.__('No License ID found')}`;
|
|
502
|
+
code = extractedText || trans.__('No License Text found');
|
|
503
|
+
}
|
|
504
|
+
return [
|
|
505
|
+
React.createElement("h1", { key: "h1" }, head),
|
|
506
|
+
React.createElement("blockquote", { key: "quote" },
|
|
507
|
+
React.createElement("em", null, quote)),
|
|
508
|
+
React.createElement("code", { key: "code" }, code)
|
|
509
|
+
];
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
Licenses.FullText = FullText;
|
|
513
|
+
})(Licenses || (Licenses = {}));
|
|
514
|
+
//# sourceMappingURL=licenses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"licenses.js","sourceRoot":"","sources":["../src/licenses.tsx"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EACL,QAAQ,EAER,YAAY,EACZ,eAAe,EACf,SAAS,EACT,YAAY,EACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAsB,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAW,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,CAAC,EAAkB,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,0BAA0B,GAAG,2BAA2B,CAAC;AAE/D;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,UAAU;IAGtC,YAAY,OAA0B;QACpC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC3B,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,QA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,KAAK,CAAC;YAC7C,IAAI,IAAI,GAAG,EAAE,CAAC;YACd,IAAI,KAAK,GAAG,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC;YAC5C,IAAI,IAAI,GAAG,EAAE,CAAC;YACd,IAAI,cAAc,EAAE,CAAC;gBACnB,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,cAAc,CAAC;gBACvE,IAAI,GAAG,GAAG,IAAI,KAAK,WAAW,EAAE,CAAC;gBACjC,KAAK,GAAG,GAAG,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC,KAC5B,SAAS,IAAI,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAC7C,EAAE,CAAC;gBACH,IAAI,GAAG,aAAa,IAAI,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC;YAC5D,CAAC;YACD,OAAO;gBACL,4BAAI,GAAG,EAAC,IAAI,IAAE,IAAI,CAAM;gBACxB,oCAAY,GAAG,EAAC,OAAO;oBACrB,gCAAK,KAAK,CAAM,CACL;gBACb,8BAAM,GAAG,EAAC,MAAM,IAAE,IAAI,CAAQ;aAC/B,CAAC;QACJ,CAAC;KACF;IAhCY,iBAAQ,WAgCpB,CAAA;AACH,CAAC,EArmBgB,QAAQ,KAAR,QAAQ,QAqmBxB"}
|
package/lib/semanticCommand.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ export declare class SemanticCommand {
|
|
|
29
29
|
* Default rank for semantic command
|
|
30
30
|
*/
|
|
31
31
|
static readonly DEFAULT_RANK = 500;
|
|
32
|
+
/**
|
|
33
|
+
* The `args` key for a semantic command's current widget ID.
|
|
34
|
+
*/
|
|
35
|
+
static readonly WIDGET = "semanticWidget";
|
|
32
36
|
/**
|
|
33
37
|
* The command IDs used by this semantic command.
|
|
34
38
|
*/
|
package/lib/semanticCommand.js
CHANGED
|
@@ -64,4 +64,8 @@ export class SemanticCommand {
|
|
|
64
64
|
* Default rank for semantic command
|
|
65
65
|
*/
|
|
66
66
|
SemanticCommand.DEFAULT_RANK = 500;
|
|
67
|
+
/**
|
|
68
|
+
* The `args` key for a semantic command's current widget ID.
|
|
69
|
+
*/
|
|
70
|
+
SemanticCommand.WIDGET = 'semanticWidget';
|
|
67
71
|
//# sourceMappingURL=semanticCommand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semanticCommand.js","sourceRoot":"","sources":["../src/semanticCommand.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2BH;;GAEG;AACH,MAAM,OAAO,eAAe;IAA5B;
|
|
1
|
+
{"version":3,"file":"semanticCommand.js","sourceRoot":"","sources":["../src/semanticCommand.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2BH;;GAEG;AACH,MAAM,OAAO,eAAe;IAA5B;QAkEY,cAAS,GAAG,IAAI,KAAK,EAA8B,CAAC;IAChE,CAAC;IAxDC;;OAEG;IACH,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACvC,CAAC;IAED;;;;OAIG;IACH,GAAG,CAAC,OAAyB;QAC3B,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;YACvD,MAAM,KAAK,CAAC,WAAW,OAAO,CAAC,EAAE,sBAAsB,CAAC,CAAC;QAC3D,CAAC;QAED,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;YAClB,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI;YACrB,IAAI,EAAE,eAAe,CAAC,YAAY;YAClC,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,kBAAkB,CAAC,MAAc;;QAC/B,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS;aAC5B,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;aAChC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YACb,MAAM,SAAS,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC;YAClC,OAAO,SAAS,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;QAEL,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,CAAC,CAAC,mCAAI,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC;QAC5C,OAAO,OAAO,CAAC,EAAE,CAAC;IACpB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,EAAU;QACf,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACzD,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;YACf,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;;AA/DD;;GAEG;AACa,4BAAY,GAAG,GAAG,AAAN,CAAO;AAEnC;;GAEG;AACa,sBAAM,GAAG,gBAAgB,AAAnB,CAAoB"}
|
package/lib/tokens.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { IDisposable } from '@lumino/disposable';
|
|
|
6
6
|
import { ISignal } from '@lumino/signaling';
|
|
7
7
|
import { CommandPalette, Widget } from '@lumino/widgets';
|
|
8
8
|
import { ISessionContext } from './sessioncontext';
|
|
9
|
+
import { Licenses } from './licenses';
|
|
9
10
|
/**
|
|
10
11
|
* The command palette token.
|
|
11
12
|
*/
|
|
@@ -52,6 +53,15 @@ export interface IKernelStatusModel {
|
|
|
52
53
|
*/
|
|
53
54
|
addSessionProvider: (provider: (widget: Widget | null) => ISessionContext | null) => void;
|
|
54
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* The license client for fetching licenses.
|
|
58
|
+
*/
|
|
59
|
+
export declare const ILicensesClient: Token<ILicensesClient>;
|
|
60
|
+
/**
|
|
61
|
+
* An interface for the license client.
|
|
62
|
+
*/
|
|
63
|
+
export interface ILicensesClient extends Licenses.LicensesClient {
|
|
64
|
+
}
|
|
55
65
|
/**
|
|
56
66
|
* An interface for the session context dialogs.
|
|
57
67
|
*/
|
package/lib/tokens.js
CHANGED
|
@@ -10,6 +10,10 @@ export const ICommandPalette = new Token('@jupyterlab/apputils:ICommandPalette',
|
|
|
10
10
|
* The kernel status indicator model.
|
|
11
11
|
*/
|
|
12
12
|
export const IKernelStatusModel = new Token('@jupyterlab/apputils:IKernelStatusModel', 'A service to register kernel session provider to the kernel status indicator.');
|
|
13
|
+
/**
|
|
14
|
+
* The license client for fetching licenses.
|
|
15
|
+
*/
|
|
16
|
+
export const ILicensesClient = new Token('@jupyterlab/apputils:ILicensesClient', 'A service for fetching licenses.');
|
|
13
17
|
/**
|
|
14
18
|
* The session context dialogs token.
|
|
15
19
|
*/
|
package/lib/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAK3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAK3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAO1C;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,KAAK,CACtC,sCAAsC,EACtC;8DAC4D,CAC7D,CAAC;AA+BF;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,KAAK,CACzC,yCAAyC,EACzC,+EAA+E,CAChF,CAAC;AAiBF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,KAAK,CACtC,sCAAsC,EACtC,kCAAkC,CACnC,CAAC;AAYF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,KAAK,CAC7C,6CAA6C,EAC7C,6CAA6C,CAC9C,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,KAAK,CACpC,oCAAoC,EACpC,yHAAyH,CAC1H,CAAC;AAmIF;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,KAAK,CACjC,iCAAiC,EACjC,wCAAwC,CACzC,CAAC;AAmBF;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,KAAK,CACpC,oCAAoC,EACpC;wEACsE,CACvE,CAAC;AAgBF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,KAAK,CACtC,sCAAsC,EACtC;;0FAEwF,CACzF,CAAC;AA8GF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,KAAK,CAC7C,6CAA6C,EAC7C;wGACsG,CACvG,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/apputils",
|
|
3
|
-
"version": "4.5.0-beta.
|
|
3
|
+
"version": "4.5.0-beta.1",
|
|
4
4
|
"description": "JupyterLab - Application Utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"watch": "tsc -b --watch"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@jupyterlab/coreutils": "^6.4.0-beta.
|
|
48
|
-
"@jupyterlab/observables": "^5.4.0-beta.
|
|
49
|
-
"@jupyterlab/rendermime-interfaces": "^3.12.0-beta.
|
|
50
|
-
"@jupyterlab/services": "^7.4.0-beta.
|
|
51
|
-
"@jupyterlab/settingregistry": "^4.4.0-beta.
|
|
52
|
-
"@jupyterlab/statedb": "^4.4.0-beta.
|
|
53
|
-
"@jupyterlab/statusbar": "^4.4.0-beta.
|
|
54
|
-
"@jupyterlab/translation": "^4.4.0-beta.
|
|
55
|
-
"@jupyterlab/ui-components": "^4.4.0-beta.
|
|
47
|
+
"@jupyterlab/coreutils": "^6.4.0-beta.1",
|
|
48
|
+
"@jupyterlab/observables": "^5.4.0-beta.1",
|
|
49
|
+
"@jupyterlab/rendermime-interfaces": "^3.12.0-beta.1",
|
|
50
|
+
"@jupyterlab/services": "^7.4.0-beta.1",
|
|
51
|
+
"@jupyterlab/settingregistry": "^4.4.0-beta.1",
|
|
52
|
+
"@jupyterlab/statedb": "^4.4.0-beta.1",
|
|
53
|
+
"@jupyterlab/statusbar": "^4.4.0-beta.1",
|
|
54
|
+
"@jupyterlab/translation": "^4.4.0-beta.1",
|
|
55
|
+
"@jupyterlab/ui-components": "^4.4.0-beta.1",
|
|
56
56
|
"@lumino/algorithm": "^2.0.2",
|
|
57
57
|
"@lumino/commands": "^2.3.1",
|
|
58
58
|
"@lumino/coreutils": "^2.2.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"sanitize-html": "~2.12.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@jupyterlab/testing": "^4.4.0-beta.
|
|
70
|
+
"@jupyterlab/testing": "^4.4.0-beta.1",
|
|
71
71
|
"@types/jest": "^29.2.0",
|
|
72
72
|
"@types/sanitize-html": "^2.11.0",
|
|
73
73
|
"jest": "^29.2.0",
|
package/src/index.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from './dialog';
|
|
|
39
39
|
export * from './domutils';
|
|
40
40
|
export * from './inputdialog';
|
|
41
41
|
export * from './kernelstatuses';
|
|
42
|
+
export * from './licenses';
|
|
42
43
|
export * from './mainareawidget';
|
|
43
44
|
export * from './menufactory';
|
|
44
45
|
export * from './notification';
|