Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Nov 28, 2024
1 parent 882cfa5 commit fda84c9
Show file tree
Hide file tree
Showing 31 changed files with 765 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions nglview/static/extension.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions nglview/static/index.js

Large diffs are not rendered by default.

267 changes: 267 additions & 0 deletions nglview/static/index.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
/*!
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2023-08-28T13:37Z
*/

/*!
* jQuery UI :data 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Button 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Checkboxradio 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Controlgroup 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Dialog 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Disable Selection 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Draggable 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Focusable 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Form Reset Mixin 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Keycode 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Labels 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Mouse 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Position 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*
* https://api.jqueryui.com/position/
*/

/*!
* jQuery UI Resizable 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Scroll Parent 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Tabbable 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Unique ID 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/*!
* jQuery UI Widget 1.14.1
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/

/**
ColorBrewer colors for chroma.js

Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The
Pennsylvania State University.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

@preserve
*/

/**
* @license
*
* chroma.js - JavaScript library for color conversions
*
* Copyright (c) 2011-2017, Gregor Aisch
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. The name Gregor Aisch may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/

/**
* @license
* Copyright 2010-2023 Three.js Authors
* SPDX-License-Identifier: MIT
*/

/**
* Kdtree
* @class
* @author Alexander Rose <[email protected]>, 2016
* @author Roman Bolzern <[email protected]>, 2013
* @author I4DS http://www.fhnw.ch/i4ds, 2013
* @license MIT License <http://www.opensource.org/licenses/mit-license.php>
* @description
* k-d Tree for typed arrays of 3d points (e.g. for Float32Array), in-place
* provides fast nearest neighbour search
*
* Based on https://github.com/ubilabs/kd-tree-javascript by Ubilabs
*
* Further information (including mathematical properties)
* http://en.wikipedia.org/wiki/Binary_tree
* http://en.wikipedia.org/wiki/K-d_tree
*
* @example
* points: [x, y, z, x, y, z, x, y, z, ...]
* metric: function(a, b){
* return Math.pow(a[0]-b[0], 2) + Math.pow(a[1]-b[1], 2) + Math.pow(a[2]-b[2], 2);
* }
*
* @param {Float32Array} points - points
* @param {Function} metric - metric
*/

/** @license
* JS Signals <http://millermedeiros.github.com/js-signals/>
* Released under the MIT license
* Author: Miller Medeiros
* Version: 1.0.0 - Build: 268 (2012/11/29 05:48 PM)
*/
1 change: 1 addition & 0 deletions nglview/static/index.js.map

Large diffs are not rendered by default.

118 changes: 118 additions & 0 deletions nglview/staticlab/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"name": "nglview-js-widgets",
"version": "3.1.5",
"description": "nglview-js-widgets",
"keywords": [
"ipython",
"ipywidgets",
"jupyter",
"jupyterlab",
"jupyterlab-extension",
"molecular graphics",
"molecular structure",
"science",
"widgets"
],
"homepage": "https://github.com/nglviewer/nglview/js",
"bugs": {
"url": "https://github.com/nglviewer/nglview/issues"
},
"license": "MIT",
"author": {
"name": "Alexander Rose, Hai Nguyen",
"email": "[email protected], [email protected]"
},
"files": [
"dist",
"src",
"lib",
"style/index.js"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/nglviewer/nglview.git"
},
"scripts": {
"prepublish": "yarn build:prod && webpack && yarn run copy:labextension",
"copy:labextension": "cp -r nglview-js-widgets/labextension/* ../nglview/staticlab/",
"build": "yarn run build:lib && yarn run build:labextension:dev",
"build:prod": "yarn run build:lib && yarn run build:labextension",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc",
"clean": "yarn run clean:lib",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"clean:labextension": "rimraf myextension/labextension",
"clean:all": "yarn run clean:lib && yarn run clean:labextension",
"eslint": "eslint '**/*.ts' --fix",
"eslint:check": "eslint '**/*.ts'",
"install:extension": "jupyter labextension develop --overwrite .",
"prepare": "yarn run clean && yarn run build:prod",
"watch": "run-p watch:src watch:labextension",
"watch:src": "tsc -w",
"watch:labextension": "jupyter labextension watch .",
"test": "mocha"
},
"dependencies": {
"@jupyter-widgets/base": "^1 || ^2.0.2 || ^3 || ^4 || ^5 || ^6",
"@jupyter-widgets/jupyterlab-manager": "^3.0.0",
"jquery": "^3.2.1",
"jquery-ui": "^1.12.1",
"lodash": "^4.17.4",
"ngl": "2.4.0",
"underscore": "^1.8.3",
"yup": "^1.0.0"
},
"devDependencies": {
"@jupyterlab/builder": "^3.0.5 || ^4",
"@types/chai": "^4.1.4",
"@types/expect.js": "^0.3.29",
"@types/mocha": "^2.2.48",
"@types/node": "^16.0.0",
"@types/requirejs": "^2.1.31",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"babel-register": "^6.11.6",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"css-loader": "^0.23.1",
"eslint": "^8.5.6",
"file-loader": "^6.2.0",
"json-loader": "^0.5.7",
"mkdirp": "^1.0.3",
"ngl": "2.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"style-loader": "^0.13.1",
"typescript": "~5.4.5",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"babel-loader": "^8.2.2",
"@babel/plugin-transform-object-rest-spread": "^7.14.5"
},
"sideEffects": [
"style/*.css",
"style/index.js"
],
"styleModule": "style/index.js",
"jupyterlab": {
"extension": "lib/jupyterlab-plugin",
"outputDir": "nglview-js-widgets/labextension",
"sharedPackages": {
"@jupyter-widgets/base": {
"bundled": false,
"singleton": true
}
},
"_build": {
"load": "static/remoteEntry.5162a4745866232acd73.js",
"extension": "./extension",
"style": "./style"
}
},
"directories": {
"test": "test"
},
"packageManager": "[email protected]"
}
1 change: 1 addition & 0 deletions nglview/staticlab/static/25.517c1c357c3f9f46538d.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added nglview/staticlab/static/42f3fd7ecbd1e18e5e9c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions nglview/staticlab/static/664.701999178759bd2baf85.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions nglview/staticlab/static/692.dc93162e0bca9613b2ab.js

Large diffs are not rendered by default.

Loading

0 comments on commit fda84c9

Please sign in to comment.