ixbrl-viewer 1.4.21__py3-none-any.whl → 1.4.23__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/__init__.py +4 -6
- iXBRLViewerPlugin/_version.py +2 -2
- iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js +1 -1
- iXBRLViewerPlugin/viewer/src/js/ixnode.js +1 -1
- iXBRLViewerPlugin/viewer/src/js/viewer.js +1 -1
- {ixbrl_viewer-1.4.21.dist-info → ixbrl_viewer-1.4.23.dist-info}/METADATA +2 -2
- {ixbrl_viewer-1.4.21.dist-info → ixbrl_viewer-1.4.23.dist-info}/RECORD +12 -12
- {ixbrl_viewer-1.4.21.dist-info → ixbrl_viewer-1.4.23.dist-info}/LICENSE +0 -0
- {ixbrl_viewer-1.4.21.dist-info → ixbrl_viewer-1.4.23.dist-info}/NOTICE +0 -0
- {ixbrl_viewer-1.4.21.dist-info → ixbrl_viewer-1.4.23.dist-info}/WHEEL +0 -0
- {ixbrl_viewer-1.4.21.dist-info → ixbrl_viewer-1.4.23.dist-info}/entry_points.txt +0 -0
- {ixbrl_viewer-1.4.21.dist-info → ixbrl_viewer-1.4.23.dist-info}/top_level.txt +0 -0
iXBRLViewerPlugin/__init__.py
CHANGED
|
@@ -109,7 +109,7 @@ def iXBRLViewerCommandLineOptionExtender(parser, *args, **kwargs):
|
|
|
109
109
|
def generateViewer(
|
|
110
110
|
cntlr: Cntlr,
|
|
111
111
|
saveViewerDest: io.BytesIO | str | None,
|
|
112
|
-
viewerURL: str =
|
|
112
|
+
viewerURL: str | None = None,
|
|
113
113
|
showValidationMessages: bool = False,
|
|
114
114
|
useStubViewer: bool = False,
|
|
115
115
|
zipViewerOutput: bool = False,
|
|
@@ -136,9 +136,7 @@ def generateViewer(
|
|
|
136
136
|
cntlr.addToLog(f"iXBRL Viewer destination not provided. {abortGenerationMsg}", messageCode=EXCEPTION_MESSAGE_CODE)
|
|
137
137
|
return
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
cntlr.addToLog(f"iXBRL Viewer script not provided. {abortGenerationMsg}", messageCode=EXCEPTION_MESSAGE_CODE)
|
|
141
|
-
return
|
|
139
|
+
viewerURL = viewerURL or DEFAULT_VIEWER_PATH
|
|
142
140
|
|
|
143
141
|
if (cntlr.modelManager is None
|
|
144
142
|
or len(cntlr.modelManager.loadedModelXbrls) == 0
|
|
@@ -224,7 +222,7 @@ def iXBRLViewerSaveCommand(cntlr):
|
|
|
224
222
|
generateViewer(
|
|
225
223
|
cntlr=cntlr,
|
|
226
224
|
saveViewerDest=dialog.filename(),
|
|
227
|
-
viewerURL=dialog.scriptUrl()
|
|
225
|
+
viewerURL=dialog.scriptUrl(),
|
|
228
226
|
copyScript=dialog.copyScript(),
|
|
229
227
|
zipViewerOutput=dialog.zipViewerOutput(),
|
|
230
228
|
features=dialog.features(),
|
|
@@ -305,7 +303,7 @@ def guiRun(cntlr, modelXbrl, attach, *args, **kwargs):
|
|
|
305
303
|
generateViewer(
|
|
306
304
|
cntlr=cntlr,
|
|
307
305
|
saveViewerDest=tempViewer.name,
|
|
308
|
-
viewerURL=cntlr.config.get(CONFIG_SCRIPT_URL)
|
|
306
|
+
viewerURL=cntlr.config.get(CONFIG_SCRIPT_URL),
|
|
309
307
|
copyScript=cntlr.config.get(CONFIG_COPY_SCRIPT, DEFAULT_COPY_SCRIPT),
|
|
310
308
|
useStubViewer=True,
|
|
311
309
|
features=features,
|
iXBRLViewerPlugin/_version.py
CHANGED