irie 0.0.52__py3-none-any.whl → 0.0.53__py3-none-any.whl

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.

Potentially problematic release.


This version of irie might be problematic. Click here for more details.

@@ -7,11 +7,12 @@
7
7
  class VeuxViewer {
8
8
  #initializedTabs;
9
9
  #table;
10
+ #url;
10
11
  #tabLinkContainer;
11
12
  #tabContentContainer;
12
13
 
13
- constructor(table, tabLinkContainer, tabContentContainer) {
14
- this.#table = table;
14
+ constructor(url, tabLinkContainer, tabContentContainer) {
15
+ this.#url = url;
15
16
  this.#initializedTabs = [];
16
17
  this.#tabLinkContainer = tabLinkContainer;
17
18
  this.#tabContentContainer = tabContentContainer;
@@ -144,7 +145,8 @@ class VeuxViewer {
144
145
  </div>
145
146
  `;
146
147
 
147
- let apiUrl = `/inventory/04-0236/predictors/1389/detail/?section=${tab}`;
148
+ let apiUrl = `${this.#url}${tab}`;
149
+ console.log(`Fetching content from: ${apiUrl}`);
148
150
 
149
151
  if (true) {
150
152
  contentDiv.innerHTML = "";
@@ -144,7 +144,7 @@
144
144
  <script>
145
145
  {% include "prediction/viewer/veux-viewer.js" %}
146
146
 
147
- const VIEWER = new VeuxViewer(document.querySelector('#members'),
147
+ const VIEWER = new VeuxViewer(`/inventory/{{asset.calid}}/predictors/{{predictor.id}}/detail/?section=`,
148
148
  document.querySelector('#tab-link-container'),
149
149
  document.getElementById('tab-content-container'));
150
150
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: irie
3
- Version: 0.0.52
3
+ Version: 0.0.53
4
4
  Summary: An infrastructure resilience engine
5
5
  Author-email: "Claudio M. Perez" <50180406+claudioperez@users.noreply.github.com>
6
6
  Project-URL: Repository, https://github.com/STAIRLab
@@ -427,11 +427,11 @@ irie/apps/templates/prediction/create-mdof.html,sha256=QVuZGz3E5iwYvOQk_kkitAt5q
427
427
  irie/apps/templates/prediction/create-model.html,sha256=QjgeuEqSCDFbJlGK3PY6LePia3vJXKqD6g2TKdpIeE4,3237
428
428
  irie/apps/templates/prediction/new-runner.html,sha256=7gMXrrD-CylMDUelIltB9JnmnqlBr4euqktTfRFnhdU,1586
429
429
  irie/apps/templates/prediction/predictor-profile.html,sha256=PWUQAOAAWQP_Ak2D-cQP5PoVjyLiz6Kc8lhNLlffnZk,1253
430
- irie/apps/templates/prediction/xara-profile.html,sha256=sZqKCWKk-nK2V_Y496gPhgghtxYKYZQE5jLLwAPLlak,8805
430
+ irie/apps/templates/prediction/xara-profile.html,sha256=eCzUuPcv03QBYwipYAN30uEUB1wVKKUWGfqd3q1kUEI,8843
431
431
  irie/apps/templates/prediction/hazus/event.html,sha256=vcmQKfb-Gww5sd-kn6b2QL3llRrfQFv8mafVNNxTHrY,841
432
432
  irie/apps/templates/prediction/hazus/history.html,sha256=zvnwP0gxSV9JNBbYACnKlMLB9iD7hGUbdkZ6kfJtBik,136
433
433
  irie/apps/templates/prediction/hazus/history.js,sha256=blHRXzlEfMBCezPE-2dZCpt2rVgTiGHkYlY1t-clOE8,1101
434
- irie/apps/templates/prediction/viewer/veux-viewer.js,sha256=k-EEdls3SRcbo91nrYQg7MWUZNh-uCgOwKrmNL19oic,6167
434
+ irie/apps/templates/prediction/viewer/veux-viewer.js,sha256=gPhTyPupjV_RD8t86Lc2wGZsY68TLuv0WjzyaDpRsfI,6189
435
435
  irie/apps/templates/sensors/render-sensors.js,sha256=u05VQ7dBDhUMsTYs0_xgdltA2V5DAqenVKgYhAlBxw0,5570
436
436
  irie/apps/templates/site/about.html,sha256=5hS5taj3XF-F8z-uIn53ZFXVHVS4apLRMg39OyvMvRs,610
437
437
  irie/apps/templates/site/asset_map.html,sha256=rnTjeYMc8NESIo6Uuq8fgZ_xcKNuKdt4zcqoUTDI8Xg,387
@@ -496,8 +496,8 @@ irie/init/management/commands/make_asset.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
496
496
  irie/pull/nbi.py,sha256=KpBjJ9GEU72Qk1t4bGN9cg0QBeVJ8k9XcI3Y1oSgIR0,11478
497
497
  irie/rest/__main__.py,sha256=6Nf_-Rr9zGmMyp_wqCFDO7ls9QPnPd9UyUgN17rIGYw,3680
498
498
  irie/usgs/__main__.py,sha256=HiSvPn5IW5IqRiCk1qRRq5dCy3-7iISw7v1P_w2rLrk,5049
499
- irie-0.0.52.dist-info/METADATA,sha256=5KJCy6INJfZ1_TYmTeo5mxf348R_2lcNBINGSRuYq8o,3205
500
- irie-0.0.52.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
501
- irie-0.0.52.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
502
- irie-0.0.52.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
503
- irie-0.0.52.dist-info/RECORD,,
499
+ irie-0.0.53.dist-info/METADATA,sha256=KeFh5656sSo032wk-q7KSOarl264gYDZbVGtYlGXdiA,3205
500
+ irie-0.0.53.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
501
+ irie-0.0.53.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
502
+ irie-0.0.53.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
503
+ irie-0.0.53.dist-info/RECORD,,
File without changes