@deck.gl/widgets 8.10.0-alpha.2

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/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2020 Urban Computing Foundation
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # @deck.gl/widgets
2
+
3
+ UI widgets for deck.gl. Provides DOM-based controls and common UI components that seamlessly integrate with deck.gl.
4
+
5
+ See [deck.gl](http://deck.gl) for documentation.
@@ -0,0 +1,56 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if (typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if (typeof define === 'function' && define.amd) define([], factory);
5
+ else if (typeof exports === 'object') exports['deck'] = factory();
6
+ else root['deck'] = factory();})(globalThis, function () {
7
+ "use strict";
8
+ var __exports__ = (() => {
9
+ var __create = Object.create;
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __getProtoOf = Object.getPrototypeOf;
14
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
15
+ var __commonJS = (cb, mod) => function __require() {
16
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
29
+ mod
30
+ ));
31
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
+
33
+ // external-global-plugin:@deck.gl/core
34
+ var require_core = __commonJS({
35
+ "external-global-plugin:@deck.gl/core"(exports, module) {
36
+ module.exports = globalThis.deck;
37
+ }
38
+ });
39
+
40
+ // bundle.ts
41
+ var bundle_exports = {};
42
+
43
+ // ../core/bundle/peer-dependency.ts
44
+ var peer_dependency_exports = {};
45
+ var import_core = __toESM(require_core());
46
+ __reExport(peer_dependency_exports, __toESM(require_core()));
47
+ if (!import_core.Layer) {
48
+ throw new Error("@deck.gl/core is not found");
49
+ }
50
+
51
+ // bundle.ts
52
+ __reExport(bundle_exports, peer_dependency_exports);
53
+ return __toCommonJS(bundle_exports);
54
+ })();
55
+ return __exports__;
56
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"index.js"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"index.js"}
package/dist.min.js ADDED
@@ -0,0 +1,9 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if (typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if (typeof define === 'function' && define.amd) define([], factory);
5
+ else if (typeof exports === 'object') exports['deck'] = factory();
6
+ else root['deck'] = factory();})(globalThis, function () {
7
+ "use strict";var __exports__=(()=>{var a=Object.create;var x=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var b=(o,r)=>()=>(r||o((r={exports:{}}).exports,r),r.exports);var i=(o,r,t,d)=>{if(r&&typeof r=="object"||typeof r=="function")for(let m of h(r))!w.call(o,m)&&m!==t&&x(o,m,{get:()=>r[m],enumerable:!(d=g(r,m))||d.enumerable});return o},f=(o,r,t)=>(i(o,r,"default"),t&&i(t,r,"default")),l=(o,r,t)=>(t=o!=null?a(k(o)):{},i(r||!o||!o.__esModule?x(t,"default",{value:o,enumerable:!0}):t,o)),u=o=>i(x({},"__esModule",{value:!0}),o);var c=b((E,n)=>{n.exports=globalThis.deck});var p={};var e={},s=l(c());f(e,l(c()));if(!s.Layer)throw new Error("@deck.gl/core is not found");f(p,e);return u(p);})();
8
+ return __exports__;
9
+ });
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@deck.gl/widgets",
3
+ "description": "UI widgets for deck.gl",
4
+ "license": "MIT",
5
+ "version": "8.10.0-alpha.2",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "keywords": [
10
+ "webgl",
11
+ "visualization",
12
+ "components",
13
+ "widgets"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/visgl/deck.gl.git"
18
+ },
19
+ "main": "dist/es5/index.js",
20
+ "module": "dist/esm/index.js",
21
+ "files": [
22
+ "dist",
23
+ "src",
24
+ "typed",
25
+ "dist.min.js"
26
+ ],
27
+ "sideEffects": false,
28
+ "scripts": {
29
+ "build-bundle": "ocular-bundle ./bundle.ts",
30
+ "prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
31
+ },
32
+ "dependencies": {
33
+ "@babel/runtime": "^7.0.0"
34
+ },
35
+ "peerDependencies": {
36
+ "@deck.gl/core": "^8.0.0"
37
+ },
38
+ "gitHead": "888ee50db498da4b42697854e79e46cdbb881470"
39
+ }
package/src/index.ts ADDED
File without changes
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ {
2
+ "internal": true,
3
+ "main": "../dist/es5/index.js",
4
+ "module": "../dist/esm/index.js",
5
+ "types": "index.d.ts"
6
+ }