@elyra/application
Advanced tools
Comparing version 0.11.0-dev to 0.11.0-rc.0
@@ -0,4 +1,11 @@ | ||
import { JupyterFrontEndPlugin } from '@jupyterlab/application'; | ||
import '../style/index.css'; | ||
/** | ||
* Initialization data for the application extension. | ||
*/ | ||
declare const extension: JupyterFrontEndPlugin<void>; | ||
export * from './parsing'; | ||
export * from './services'; | ||
export * from './submission'; | ||
export * from './icons'; | ||
export default extension; |
@@ -16,6 +16,38 @@ /* | ||
*/ | ||
import { IMainMenu } from '@jupyterlab/mainmenu'; | ||
import { elyraIcon } from './icons'; | ||
import '../style/index.css'; | ||
/** | ||
* Initialization data for the application extension. | ||
*/ | ||
const extension = { | ||
id: 'elyra-application', | ||
autoStart: true, | ||
requires: [IMainMenu], | ||
activate: (app) => { | ||
console.log('Elyra - application extension is activated!'); | ||
// Find the MainLogo widget in the shell and replace it with the Elyra Logo | ||
const widgets = app.shell.widgets('top'); | ||
let widget = widgets.next(); | ||
while (widget !== undefined) { | ||
if (widget.id === 'jp-MainLogo') { | ||
elyraIcon.element({ | ||
container: widget.node, | ||
justify: 'center', | ||
margin: '2px 5px 2px 5px', | ||
height: 'auto', | ||
width: '20px' | ||
}); | ||
break; | ||
} | ||
widget = widgets.next(); | ||
console.log(widget); | ||
} | ||
} | ||
}; | ||
export * from './parsing'; | ||
export * from './services'; | ||
export * from './submission'; | ||
export * from './icons'; | ||
export default extension; | ||
//# sourceMappingURL=index.js.map |
@@ -19,7 +19,6 @@ /* | ||
import { ServerConnection } from '@jupyterlab/services'; | ||
import { caretDownEmptyThinIcon, caretUpEmptyThinIcon } from '@jupyterlab/ui-components'; | ||
import * as React from 'react'; | ||
const MESSAGE_DISPLAY = 'elyra-pipelineSubmission-messageDisplay'; | ||
const ERROR_DISPLAY_BUTTON = 'elyra-pipelineSubmission-errDisplayButton'; | ||
const DOWN_ICON_CLASS = 'elyra-pipelineSubmission-errDisplayButton-down'; | ||
const UP_ICON_CLASS = 'elyra-pipelineSubmission-errDisplayButton-up'; | ||
const ERROR_DETAILS_VISIBLE = 'elyra-pipelineSubmission-error-visible'; | ||
@@ -122,7 +121,5 @@ const ERROR_DETAILS_HIDDEN = 'elyra-pipelineSubmission-error-hidden'; | ||
React.createElement("div", null, | ||
React.createElement("button", { className: ERROR_DISPLAY_BUTTON + | ||
' ' + | ||
(this.state.expanded ? UP_ICON_CLASS : DOWN_ICON_CLASS), onClick: () => { | ||
React.createElement("button", { className: ERROR_DISPLAY_BUTTON, onClick: () => { | ||
this.toggleMsgDisplay(); | ||
} }), | ||
} }, this.state.expanded ? (React.createElement(caretUpEmptyThinIcon.react, { tag: "span", elementPosition: "center" })) : (React.createElement(caretDownEmptyThinIcon.react, { tag: "span", elementPosition: "center" }))), | ||
'Error details: '), | ||
@@ -129,0 +126,0 @@ React.createElement("br", null), |
{ | ||
"name": "@elyra/application", | ||
"version": "0.11.0-dev", | ||
"description": "JupyterLab - Widgets and utilities for use in elyra", | ||
"version": "0.11.0-rc.0", | ||
"description": "JupyterLab extension - Widgets and utilities for use in elyra", | ||
"keywords": [ | ||
"jupyter", | ||
"jupyterlab" | ||
"jupyterlab", | ||
"jupyterlab-extension" | ||
], | ||
@@ -13,2 +14,6 @@ "homepage": "https://github.com/elyra-ai/elyra", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/elyra-ai/elyra" | ||
}, | ||
"license": "Apache-2.0", | ||
@@ -22,21 +27,27 @@ "files": [ | ||
"style": "style/index.css", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/elyra-ai/elyra" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf lib", | ||
"dist": "npm pack .", | ||
"clean": "rimraf lib", | ||
"prepare": "npm run build", | ||
"watch": "tsc -w" | ||
}, | ||
"dependencies": { | ||
"@jupyterlab/application": "^2.0.2", | ||
"@jupyterlab/apputils": "^2.0.2", | ||
"@jupyterlab/coreutils": "^4.0.2", | ||
"@jupyterlab/services": "^5.0.2", | ||
"@jupyterlab/ui-components": "^2.0.2" | ||
}, | ||
"devDependencies": { | ||
"rimraf": "^2.6.3", | ||
"typescript": "~3.5.2" | ||
"rimraf": "~3.0.0", | ||
"typescript": "~3.7.3" | ||
}, | ||
"jupyterlab": { | ||
"extension": true | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "15535eca3ac9c969d975b7c95d797c477dd1f057" | ||
"gitHead": "b35a0d8d19b0383b4ed3a6da5990d2703ef0459d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53576
21
401
5
+ Added@jupyterlab/apputils@^2.0.2
+ Added@jupyterlab/coreutils@^4.0.2
+ Added@jupyterlab/services@^5.0.2
+ Added@babel/runtime@7.26.0(transitive)
+ Added@blueprintjs/colors@4.2.1(transitive)
+ Added@blueprintjs/core@3.54.0(transitive)
+ Added@blueprintjs/icons@3.33.0(transitive)
+ Added@blueprintjs/select@3.19.1(transitive)
+ Added@fortawesome/fontawesome-free@5.15.4(transitive)
+ Added@hypnosphi/create-react-context@0.3.1(transitive)
+ Added@juggle/resize-observer@3.4.0(transitive)
+ Added@jupyterlab/application@2.3.1(transitive)
+ Added@jupyterlab/apputils@2.3.1(transitive)
+ Added@jupyterlab/codeeditor@2.3.1(transitive)
+ Added@jupyterlab/codemirror@2.3.1(transitive)
+ Added@jupyterlab/coreutils@4.3.1(transitive)
+ Added@jupyterlab/docregistry@2.3.1(transitive)
+ Added@jupyterlab/nbformat@2.3.1(transitive)
+ Added@jupyterlab/observables@3.3.1(transitive)
+ Added@jupyterlab/rendermime@2.3.1(transitive)
+ Added@jupyterlab/rendermime-interfaces@2.3.0(transitive)
+ Added@jupyterlab/services@5.3.1(transitive)
+ Added@jupyterlab/settingregistry@2.3.1(transitive)
+ Added@jupyterlab/statedb@2.3.1(transitive)
+ Added@jupyterlab/statusbar@2.3.1(transitive)
+ Added@jupyterlab/ui-components@2.3.1(transitive)
+ Added@lumino/algorithm@1.9.2(transitive)
+ Added@lumino/application@1.31.4(transitive)
+ Added@lumino/collections@1.9.3(transitive)
+ Added@lumino/commands@1.21.1(transitive)
+ Added@lumino/coreutils@1.12.1(transitive)
+ Added@lumino/disposable@1.10.4(transitive)
+ Added@lumino/domutils@1.8.2(transitive)
+ Added@lumino/dragdrop@1.14.5(transitive)
+ Added@lumino/keyboard@1.8.2(transitive)
+ Added@lumino/messaging@1.10.3(transitive)
+ Added@lumino/polling@1.11.4(transitive)
+ Added@lumino/properties@1.8.2(transitive)
+ Added@lumino/signaling@1.11.1(transitive)
+ Added@lumino/virtualdom@1.14.3(transitive)
+ Added@lumino/widgets@1.37.2(transitive)
+ Added@types/dom4@2.0.4(transitive)
+ Added@types/prop-types@15.7.14(transitive)
+ Added@types/react@16.9.56(transitive)
+ Addedajv@6.12.6(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedclassnames@2.5.1(transitive)
+ Addedcodemirror@5.53.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcrypto@1.0.1(transitive)
+ Addedcsstype@2.6.213.0.103.1.3(transitive)
+ Addeddeep-equal@1.1.2(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addeddom-helpers@3.4.0(transitive)
+ Addeddom-serializer@0.2.2(transitive)
+ Addeddom4@2.1.6(transitive)
+ Addeddomelementtype@1.3.12.3.0(transitive)
+ Addeddomhandler@2.4.2(transitive)
+ Addeddomutils@1.7.0(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedentities@1.1.22.2.0(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfree-style@3.1.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-intrinsic@1.2.7(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedgud@1.0.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhtmlparser2@3.10.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arguments@1.2.0(transitive)
+ Addedis-date-object@1.1.0(transitive)
+ Addedis-regex@1.2.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedlodash.clonedeep@4.5.0(transitive)
+ Addedlodash.escape@4.0.1(transitive)
+ Addedlodash.escaperegexp@4.1.2(transitive)
+ Addedlodash.isplainobject@4.0.6(transitive)
+ Addedlodash.isstring@4.0.1(transitive)
+ Addedlodash.mergewith@4.6.2(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedmarked@0.8.2(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addednormalize.css@8.0.1(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedobject-is@1.1.6(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedpath-posix@1.0.0(transitive)
+ Addedpicocolors@0.2.1(transitive)
+ Addedpopper.js@1.16.1(transitive)
+ Addedpostcss@7.0.39(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedquerystringify@2.2.0(transitive)
+ Addedreact@16.9.0(transitive)
+ Addedreact-dom@16.9.0(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedreact-lifecycles-compat@3.0.4(transitive)
+ Addedreact-popper@1.3.11(transitive)
+ Addedreact-transition-group@2.9.0(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedregexp.prototype.flags@1.5.4(transitive)
+ Addedrequires-port@1.0.0(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsanitize-html@1.20.1(transitive)
+ Addedscheduler@0.15.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedset-function-name@2.0.2(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsrcset@1.0.0(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedtslib@2.3.12.5.3(transitive)
+ Addedtyped-styles@0.0.7(transitive)
+ Addedtypestyle@2.4.0(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addedurl-parse@1.4.7(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwarning@4.0.3(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedws@7.5.10(transitive)
+ Addedxtend@4.0.2(transitive)