ixbrl-viewer 1.4.17__py3-none-any.whl → 1.4.18__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 ixbrl-viewer might be problematic. Click here for more details.
- iXBRLViewerPlugin/_version.py +2 -2
- iXBRLViewerPlugin/iXBRLViewer.py +3 -2
- iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js +1 -1
- iXBRLViewerPlugin/viewer/src/html/inspector.html +5 -2
- iXBRLViewerPlugin/viewer/src/i18n/en/translation.json +2 -2
- iXBRLViewerPlugin/viewer/src/i18n/es/translation.json +2 -2
- iXBRLViewerPlugin/viewer/src/js/fact.js +4 -0
- iXBRLViewerPlugin/viewer/src/js/inspector.js +17 -3
- iXBRLViewerPlugin/viewer/src/js/report.js +4 -0
- iXBRLViewerPlugin/viewer/src/less/block-list.less +5 -0
- iXBRLViewerPlugin/viewer/src/less/components.less +3 -1
- iXBRLViewerPlugin/viewer/src/less/inspector.less +10 -4
- {ixbrl_viewer-1.4.17.dist-info → ixbrl_viewer-1.4.18.dist-info}/METADATA +2 -2
- {ixbrl_viewer-1.4.17.dist-info → ixbrl_viewer-1.4.18.dist-info}/RECORD +20 -20
- tests/unit_tests/iXBRLViewerPlugin/test_iXBRLViewer.py +11 -6
- {ixbrl_viewer-1.4.17.dist-info → ixbrl_viewer-1.4.18.dist-info}/LICENSE +0 -0
- {ixbrl_viewer-1.4.17.dist-info → ixbrl_viewer-1.4.18.dist-info}/NOTICE +0 -0
- {ixbrl_viewer-1.4.17.dist-info → ixbrl_viewer-1.4.18.dist-info}/WHEEL +0 -0
- {ixbrl_viewer-1.4.17.dist-info → ixbrl_viewer-1.4.18.dist-info}/entry_points.txt +0 -0
- {ixbrl_viewer-1.4.17.dist-info → ixbrl_viewer-1.4.18.dist-info}/top_level.txt +0 -0
iXBRLViewerPlugin/_version.py
CHANGED
iXBRLViewerPlugin/iXBRLViewer.py
CHANGED
|
@@ -381,10 +381,11 @@ class IXBRLViewerBuilder:
|
|
|
381
381
|
with open(os.path.join(os.path.dirname(__file__),"stubviewer.html")) as fin:
|
|
382
382
|
return etree.parse(fin)
|
|
383
383
|
|
|
384
|
-
def newTargetReport(self):
|
|
384
|
+
def newTargetReport(self, target):
|
|
385
385
|
return {
|
|
386
386
|
"concepts": {},
|
|
387
387
|
"facts": {},
|
|
388
|
+
"target": target,
|
|
388
389
|
}
|
|
389
390
|
|
|
390
391
|
def addSourceReport(self):
|
|
@@ -425,7 +426,7 @@ class IXBRLViewerBuilder:
|
|
|
425
426
|
|
|
426
427
|
for n, report in enumerate(self.reports):
|
|
427
428
|
self.footnoteRelationshipSet = ModelRelationshipSet(report, "XBRL-footnotes")
|
|
428
|
-
self.currentTargetReport = self.newTargetReport()
|
|
429
|
+
self.currentTargetReport = self.newTargetReport(getattr(report, "ixdsTarget", None))
|
|
429
430
|
for f in report.facts:
|
|
430
431
|
self.addFact(report, f)
|
|
431
432
|
self.currentTargetReport["rels"] = self.getRelationships(report)
|