Explorar o código

➕ add plotly.js

jmacura %!s(int64=3) %!d(string=hai) anos
pai
achega
eb576a5f25
Modificáronse 2 ficheiros con 82 adicións e 2 borrados
  1. 78 1
      package-lock.json
  2. 4 1
      package.json

+ 78 - 1
package-lock.json

@@ -9,8 +9,11 @@
       "version": "1.0.0",
       "dependencies": {
         "@types/d3": "^7.1.0",
+        "@types/plotly.js-dist-min": "^2.3.0",
+        "angular-plotly.js": "^4.0.4",
         "d3": "^7.4.0",
-        "hslayers-ng": "^8.1.0"
+        "hslayers-ng": "^8.1.0",
+        "plotly.js-dist-min": "^2.11.1"
       },
       "devDependencies": {
         "@angular-builders/custom-webpack": "^13.1.0",
@@ -4320,6 +4323,27 @@
       "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",
       "dev": true
     },
+    "node_modules/@types/plotly.js": {
+      "version": "1.54.20",
+      "resolved": "https://registry.npmjs.org/@types/plotly.js/-/plotly.js-1.54.20.tgz",
+      "integrity": "sha512-vqiqq5chr72QoApD+6Hu52iuBvT5/po/sdVF74IBnacQV6J1MjH9OeFZ3GFDwKLF24xT++FMkEGAWcgVMwg2YQ==",
+      "dependencies": {
+        "@types/d3": "^3"
+      }
+    },
+    "node_modules/@types/plotly.js-dist-min": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmjs.org/@types/plotly.js-dist-min/-/plotly.js-dist-min-2.3.0.tgz",
+      "integrity": "sha512-MPvZbG2RA3zuU+AYgsVysJvNLyf3bvi1nt3ywHARwMW2TB38VQuYhQFD1pTRzBuqiV5ieYif7mLY5bHWGUVZqw==",
+      "dependencies": {
+        "@types/plotly.js": "*"
+      }
+    },
+    "node_modules/@types/plotly.js/node_modules/@types/d3": {
+      "version": "3.5.47",
+      "resolved": "https://registry.npmjs.org/@types/d3/-/d3-3.5.47.tgz",
+      "integrity": "sha512-VkWIQoZXLFdcBGe5pdBKJmTU3fmpXvo/KV6ixvTzOMl1yJ2hbTXpfvsziag0kcaerPDwas2T0vxojwQG3YwivQ=="
+    },
     "node_modules/@types/qs": {
       "version": "6.9.7",
       "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
@@ -5116,6 +5140,18 @@
         "ajv": "^8.8.2"
       }
     },
+    "node_modules/angular-plotly.js": {
+      "version": "4.0.4",
+      "resolved": "https://registry.npmjs.org/angular-plotly.js/-/angular-plotly.js-4.0.4.tgz",
+      "integrity": "sha512-A1ri8ZajRYn1pFRyNjeVhwaKJtQfPeQwUHxv0iagf4AxeMvgd/qdYj7EfsycQ2AGb56KimoGCvAaiQtO4PHvkw==",
+      "dependencies": {
+        "tslib": "^2.0.0"
+      },
+      "peerDependencies": {
+        "@angular/common": ">10.0.9",
+        "@angular/core": ">10.0.9"
+      }
+    },
     "node_modules/ansi-colors": {
       "version": "4.1.1",
       "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
@@ -13177,6 +13213,11 @@
         "node": ">=8"
       }
     },
+    "node_modules/plotly.js-dist-min": {
+      "version": "2.11.1",
+      "resolved": "https://registry.npmjs.org/plotly.js-dist-min/-/plotly.js-dist-min-2.11.1.tgz",
+      "integrity": "sha512-F9WWNht0D3yBLZGHbLoJNfvplXvy+GUPSsA/lCbMuYd/UwzSu6Vmyprxlps9Einw1LDS1hYBrJeioK0lE3ieXA=="
+    },
     "node_modules/polygon-clipping": {
       "version": "0.15.3",
       "resolved": "https://registry.npmjs.org/polygon-clipping/-/polygon-clipping-0.15.3.tgz",
@@ -19814,6 +19855,29 @@
       "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",
       "dev": true
     },
+    "@types/plotly.js": {
+      "version": "1.54.20",
+      "resolved": "https://registry.npmjs.org/@types/plotly.js/-/plotly.js-1.54.20.tgz",
+      "integrity": "sha512-vqiqq5chr72QoApD+6Hu52iuBvT5/po/sdVF74IBnacQV6J1MjH9OeFZ3GFDwKLF24xT++FMkEGAWcgVMwg2YQ==",
+      "requires": {
+        "@types/d3": "^3"
+      },
+      "dependencies": {
+        "@types/d3": {
+          "version": "3.5.47",
+          "resolved": "https://registry.npmjs.org/@types/d3/-/d3-3.5.47.tgz",
+          "integrity": "sha512-VkWIQoZXLFdcBGe5pdBKJmTU3fmpXvo/KV6ixvTzOMl1yJ2hbTXpfvsziag0kcaerPDwas2T0vxojwQG3YwivQ=="
+        }
+      }
+    },
+    "@types/plotly.js-dist-min": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmjs.org/@types/plotly.js-dist-min/-/plotly.js-dist-min-2.3.0.tgz",
+      "integrity": "sha512-MPvZbG2RA3zuU+AYgsVysJvNLyf3bvi1nt3ywHARwMW2TB38VQuYhQFD1pTRzBuqiV5ieYif7mLY5bHWGUVZqw==",
+      "requires": {
+        "@types/plotly.js": "*"
+      }
+    },
     "@types/qs": {
       "version": "6.9.7",
       "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
@@ -20404,6 +20468,14 @@
         "fast-deep-equal": "^3.1.3"
       }
     },
+    "angular-plotly.js": {
+      "version": "4.0.4",
+      "resolved": "https://registry.npmjs.org/angular-plotly.js/-/angular-plotly.js-4.0.4.tgz",
+      "integrity": "sha512-A1ri8ZajRYn1pFRyNjeVhwaKJtQfPeQwUHxv0iagf4AxeMvgd/qdYj7EfsycQ2AGb56KimoGCvAaiQtO4PHvkw==",
+      "requires": {
+        "tslib": "^2.0.0"
+      }
+    },
     "ansi-colors": {
       "version": "4.1.1",
       "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
@@ -26359,6 +26431,11 @@
         "find-up": "^4.0.0"
       }
     },
+    "plotly.js-dist-min": {
+      "version": "2.11.1",
+      "resolved": "https://registry.npmjs.org/plotly.js-dist-min/-/plotly.js-dist-min-2.11.1.tgz",
+      "integrity": "sha512-F9WWNht0D3yBLZGHbLoJNfvplXvy+GUPSsA/lCbMuYd/UwzSu6Vmyprxlps9Einw1LDS1hYBrJeioK0lE3ieXA=="
+    },
     "polygon-clipping": {
       "version": "0.15.3",
       "resolved": "https://registry.npmjs.org/polygon-clipping/-/polygon-clipping-0.15.3.tgz",

+ 4 - 1
package.json

@@ -10,8 +10,11 @@
   },
   "dependencies": {
     "@types/d3": "^7.1.0",
+    "@types/plotly.js-dist-min": "^2.3.0",
+    "angular-plotly.js": "^4.0.4",
     "d3": "^7.4.0",
-    "hslayers-ng": "^8.1.0"
+    "hslayers-ng": "^8.1.0",
+    "plotly.js-dist-min": "^2.11.1"
   },
   "devDependencies": {
     "@angular-builders/custom-webpack": "^13.1.0",