ixbrl-viewer 1.4.49__py3-none-any.whl → 1.4.50__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 +8 -6
- iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js +1 -1
- iXBRLViewerPlugin/viewer/src/js/concept.js +3 -1
- iXBRLViewerPlugin/viewer/src/js/summary.js +6 -2
- iXBRLViewerPlugin/viewer/src/js/summary.test.js +2 -1
- {ixbrl_viewer-1.4.49.dist-info → ixbrl_viewer-1.4.50.dist-info}/METADATA +1 -1
- {ixbrl_viewer-1.4.49.dist-info → ixbrl_viewer-1.4.50.dist-info}/RECORD +14 -14
- tests/puppeteer/framework/page_objects/fact_details_panel.js +1 -1
- {ixbrl_viewer-1.4.49.dist-info → ixbrl_viewer-1.4.50.dist-info}/LICENSE +0 -0
- {ixbrl_viewer-1.4.49.dist-info → ixbrl_viewer-1.4.50.dist-info}/NOTICE +0 -0
- {ixbrl_viewer-1.4.49.dist-info → ixbrl_viewer-1.4.50.dist-info}/WHEEL +0 -0
- {ixbrl_viewer-1.4.49.dist-info → ixbrl_viewer-1.4.50.dist-info}/entry_points.txt +0 -0
- {ixbrl_viewer-1.4.49.dist-info → ixbrl_viewer-1.4.50.dist-info}/top_level.txt +0 -0
iXBRLViewerPlugin/_version.py
CHANGED
iXBRLViewerPlugin/iXBRLViewer.py
CHANGED
|
@@ -561,20 +561,22 @@ class iXBRLViewer:
|
|
|
561
561
|
|
|
562
562
|
def __init__(self, cntlr: Cntlr):
|
|
563
563
|
self.reportZip = None
|
|
564
|
-
self.
|
|
564
|
+
self.filesByFilename = dict()
|
|
565
565
|
self.filingDocuments = None
|
|
566
566
|
self.cntlr = cntlr
|
|
567
|
-
self.filenames = set()
|
|
568
567
|
self.assets = []
|
|
569
568
|
|
|
570
569
|
def addReportAssets(self, assets):
|
|
571
570
|
self.assets.extend(assets)
|
|
572
571
|
|
|
573
572
|
def addFile(self, ivf):
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
self.
|
|
577
|
-
|
|
573
|
+
# Overwrite previous occurrences of the same document, because it may
|
|
574
|
+
# have had more IDs added to it by subsequent target documents.
|
|
575
|
+
self.filesByFilename[ivf.filename] = ivf
|
|
576
|
+
|
|
577
|
+
@property
|
|
578
|
+
def files(self):
|
|
579
|
+
return list(self.filesByFilename.values())
|
|
578
580
|
|
|
579
581
|
def addFilingDoc(self, filingDocuments):
|
|
580
582
|
self.filingDocuments = filingDocuments
|