ixbrl-viewer 1.4.37__py3-none-any.whl → 1.4.39__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/viewer/dist/ixbrlviewer.js +1 -1
- iXBRLViewerPlugin/viewer/src/js/util.js +1 -1
- iXBRLViewerPlugin/viewer/src/js/util.test.js +1 -0
- iXBRLViewerPlugin/viewer/src/js/viewer.js +13 -8
- {ixbrl_viewer-1.4.37.dist-info → ixbrl_viewer-1.4.39.dist-info}/METADATA +2 -3
- {ixbrl_viewer-1.4.37.dist-info → ixbrl_viewer-1.4.39.dist-info}/RECORD +12 -12
- {ixbrl_viewer-1.4.37.dist-info → ixbrl_viewer-1.4.39.dist-info}/WHEEL +1 -1
- {ixbrl_viewer-1.4.37.dist-info → ixbrl_viewer-1.4.39.dist-info}/LICENSE +0 -0
- {ixbrl_viewer-1.4.37.dist-info → ixbrl_viewer-1.4.39.dist-info}/NOTICE +0 -0
- {ixbrl_viewer-1.4.37.dist-info → ixbrl_viewer-1.4.39.dist-info}/entry_points.txt +0 -0
- {ixbrl_viewer-1.4.37.dist-info → ixbrl_viewer-1.4.39.dist-info}/top_level.txt +0 -0
|
@@ -208,7 +208,7 @@ export function localId(viewerUniqueId) {
|
|
|
208
208
|
|
|
209
209
|
export function getIXHiddenLinkStyle(domNode) {
|
|
210
210
|
if (domNode.hasAttribute('style')) {
|
|
211
|
-
const re = /(?:^|\s|;)
|
|
211
|
+
const re = /(?:^|\s|;)(?:-sec|-esef)?-ix-hidden:\s*([^\s;]+)/;
|
|
212
212
|
const m = domNode.getAttribute('style').match(re);
|
|
213
213
|
if (m) {
|
|
214
214
|
return m[1];
|
|
@@ -123,12 +123,17 @@ export class Viewer {
|
|
|
123
123
|
// display: block, a div is used, otherwise a span. Returns the wrapper node
|
|
124
124
|
// as a jQuery node
|
|
125
125
|
_wrapNode(n) {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
126
|
+
let wrapper = "<span>";
|
|
127
|
+
if (getComputedStyle(n).getPropertyValue("display") === "block") {
|
|
128
|
+
wrapper = '<div>';
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
const nn = n.getElementsByTagName("*");
|
|
132
|
+
for (var i = 0; i < nn.length; i++) {
|
|
133
|
+
if (getComputedStyle(nn[i]).getPropertyValue('display') === "block") {
|
|
134
|
+
wrapper = '<div>';
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
132
137
|
}
|
|
133
138
|
}
|
|
134
139
|
$(n).wrap(wrapper);
|
|
@@ -268,7 +273,7 @@ export class Viewer {
|
|
|
268
273
|
nodes.push(tableNode)
|
|
269
274
|
}
|
|
270
275
|
}
|
|
271
|
-
/* Otherwise, insert a <span> as wrapper */
|
|
276
|
+
/* Otherwise, insert a <span> or <div> as wrapper */
|
|
272
277
|
if (nodes.length == 0) {
|
|
273
278
|
nodes.push(this._wrapNode(domNode));
|
|
274
279
|
}
|
|
@@ -440,7 +445,7 @@ export class Viewer {
|
|
|
440
445
|
// Handle SEC/ESEF links-to-hidden
|
|
441
446
|
const vuid = viewerUniqueId(reportIndex, getIXHiddenLinkStyle(n));
|
|
442
447
|
if (vuid !== null) {
|
|
443
|
-
let nodes =
|
|
448
|
+
let nodes = this._findOrCreateWrapperNode(n, inHidden);
|
|
444
449
|
nodes.addClass("ixbrl-element").data('ivids', [vuid]);
|
|
445
450
|
this._docOrderItemIndex.addItem(vuid, docIndex);
|
|
446
451
|
/* We may have already seen the corresponding ix element in the hidden
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ixbrl-viewer
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.39
|
|
4
4
|
Summary: The Arelle iXBRL Viewer allows iXBRL reports to be viewed interactively in a web browser.
|
|
5
5
|
Author-email: "arelle.org" <support@arelle.org>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -19,14 +19,13 @@ Classifier: Intended Audience :: Developers
|
|
|
19
19
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
20
20
|
Classifier: Natural Language :: English
|
|
21
21
|
Classifier: Programming Language :: Python :: 3
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.12
|
|
27
26
|
Classifier: Operating System :: OS Independent
|
|
28
27
|
Classifier: Topic :: Text Processing :: Markup :: XML
|
|
29
|
-
Requires-Python: >=3.
|
|
28
|
+
Requires-Python: >=3.9
|
|
30
29
|
Description-Content-Type: text/markdown
|
|
31
30
|
License-File: LICENSE
|
|
32
31
|
License-File: NOTICE
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
iXBRLViewerPlugin/__init__.py,sha256=zPYguUnmY0sIGd8-UriorcM2XK0ADx2E95a33sjR0bA,16483
|
|
2
|
-
iXBRLViewerPlugin/_version.py,sha256=
|
|
2
|
+
iXBRLViewerPlugin/_version.py,sha256=PdI91wlOgqflfMbY_Q-cv6ePTgyRepCW7nZFo5aPnsA,413
|
|
3
3
|
iXBRLViewerPlugin/constants.py,sha256=gXwZxPp5PJETC-sOvLxOToSe5pIjmQv2WMhZMNoPpKw,1062
|
|
4
4
|
iXBRLViewerPlugin/featureConfig.py,sha256=tOViPYmN32i2uIf_T9HGgbkkv41VoTpTjqhn4w9rTgw,194
|
|
5
5
|
iXBRLViewerPlugin/iXBRLViewer.py,sha256=YcHGmyI4vU6dGuWe0HdL-wb2U2ph5oDNSllESd0TAZs,29903
|
|
@@ -12,7 +12,7 @@ iXBRLViewerPlugin/viewer/version.js,sha256=7b5si8UmaS7QqALQIP-wJ0I8onKFox8VyaAiU
|
|
|
12
12
|
iXBRLViewerPlugin/viewer/webpack.common.js,sha256=hpXufjShXAESQh8Ds7ViJ_tbr8XSb7EdqQLRvyu_mQg,1691
|
|
13
13
|
iXBRLViewerPlugin/viewer/webpack.dev.js,sha256=R9AwY_TBrg9otvXpDxT1UsGg5eMqi4aXW7C7EIsHzZk,551
|
|
14
14
|
iXBRLViewerPlugin/viewer/webpack.prod.js,sha256=vfLowWC1EOty0zbq9P-usGaJ3w-JoERpJrYaE9MfoSE,499
|
|
15
|
-
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js,sha256=
|
|
15
|
+
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js,sha256=8-3bckqc8GJLmezcG3Y1FzVPTvFBNtBnVvJTBuY0Y4U,800018
|
|
16
16
|
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js.LICENSE.txt,sha256=Ye_YmUQH4CCOb6Ksrap5lsJC7aZuNZbQnvLs7njZPc0,1832
|
|
17
17
|
iXBRLViewerPlugin/viewer/src/html/fact-details.html,sha256=P9BJw1OK4nIYfoT4KPwW1WP94ZeD7v1nisvSKMeSnU8,1495
|
|
18
18
|
iXBRLViewerPlugin/viewer/src/html/footnote-details.html,sha256=9I7y0KM7xsPzbiZheuHkm1k4nHNXD8S9qxvD_Y0I1Us,278
|
|
@@ -109,10 +109,10 @@ iXBRLViewerPlugin/viewer/src/js/test-utils.js,sha256=MXhrubSf0PmSRsrDrqHftPgTrK5
|
|
|
109
109
|
iXBRLViewerPlugin/viewer/src/js/textblockviewer.js,sha256=lCAZeN_wrSwmYie_rwdeIFCIjiOSblT0K9Vslqwktc8,1874
|
|
110
110
|
iXBRLViewerPlugin/viewer/src/js/unit.js,sha256=eHaCTE3snK7uuXK48VK1yPPpl0MAQReqPGWKhBvzwPQ,1638
|
|
111
111
|
iXBRLViewerPlugin/viewer/src/js/unit.test.js,sha256=l4nELK-gK2uJG6jXHEXwnAKzCCCQ7V_oTySaUN_JnhQ,2801
|
|
112
|
-
iXBRLViewerPlugin/viewer/src/js/util.js,sha256=
|
|
113
|
-
iXBRLViewerPlugin/viewer/src/js/util.test.js,sha256=
|
|
112
|
+
iXBRLViewerPlugin/viewer/src/js/util.js,sha256=1-Hud21R0XSJR1YpDCFzjzGn6_efsxUrr3cRc0t9Ppk,6872
|
|
113
|
+
iXBRLViewerPlugin/viewer/src/js/util.test.js,sha256=t6sgV6rTL3aXQMN3iIVe8XxTAOCn1UYHKr_kD6tjI7A,6495
|
|
114
114
|
iXBRLViewerPlugin/viewer/src/js/validationreport.js,sha256=zWA9_8sWavX2Fi8fwEyDPABxWL_XSzvNQ21O1Qu2ayY,644
|
|
115
|
-
iXBRLViewerPlugin/viewer/src/js/viewer.js,sha256=
|
|
115
|
+
iXBRLViewerPlugin/viewer/src/js/viewer.js,sha256=WJfEqKE36ZnTPCVuhpGebsQB-wdzCUt5QmMn9RGuXTs,35234
|
|
116
116
|
iXBRLViewerPlugin/viewer/src/js/viewerOptions.js,sha256=wJbPXEVuCmmTM6NvNQs4-1gibRT1wzbDr2XVrX2cSqo,139
|
|
117
117
|
iXBRLViewerPlugin/viewer/src/less/accordian.less,sha256=-gabUSq2rMacPUujessTBffLgxyOeHMrs0m4aWXqBv8,592
|
|
118
118
|
iXBRLViewerPlugin/viewer/src/less/block-list.less,sha256=47W_AAUBHc7qnzftofYhmaTtREb8SlhHTMXHVlxSTEw,606
|
|
@@ -157,10 +157,10 @@ tests/unit_tests/iXBRLViewerPlugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
157
157
|
tests/unit_tests/iXBRLViewerPlugin/mock_arelle.py,sha256=fQKJGwceaEVaxvqV9tyuvT6DJB5s1X3-oSMjbFMKlS8,1301
|
|
158
158
|
tests/unit_tests/iXBRLViewerPlugin/test_iXBRLViewer.py,sha256=VeuGMljZwJGAbEnpiThnUbZw93T32mHggU1-DplY_NU,32090
|
|
159
159
|
tests/unit_tests/iXBRLViewerPlugin/test_xhtmlserialize.py,sha256=kdrg4i-YXnYAGl9TLWEACPQF0V69OAMXdXLYJwefsH0,12521
|
|
160
|
-
ixbrl_viewer-1.4.
|
|
161
|
-
ixbrl_viewer-1.4.
|
|
162
|
-
ixbrl_viewer-1.4.
|
|
163
|
-
ixbrl_viewer-1.4.
|
|
164
|
-
ixbrl_viewer-1.4.
|
|
165
|
-
ixbrl_viewer-1.4.
|
|
166
|
-
ixbrl_viewer-1.4.
|
|
160
|
+
ixbrl_viewer-1.4.39.dist-info/LICENSE,sha256=TZJhu77S_2-WQcPAkuIAlQiuuiNqVcuHBjd7z3Y5S08,16645
|
|
161
|
+
ixbrl_viewer-1.4.39.dist-info/METADATA,sha256=-aV2S9Do5rlgwU4pf8lvlWkqZnrK_HDVunRAXBrfYwk,14653
|
|
162
|
+
ixbrl_viewer-1.4.39.dist-info/NOTICE,sha256=-SHDY0OY7s4gm4Rdk5AB3nbnUsrdHEHPdJuGFR_vuM4,566
|
|
163
|
+
ixbrl_viewer-1.4.39.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
164
|
+
ixbrl_viewer-1.4.39.dist-info/entry_points.txt,sha256=2XUzP20WGwxdvnugdBybUBwAB3xf_zvrOR5W_smFz_4,65
|
|
165
|
+
ixbrl_viewer-1.4.39.dist-info/top_level.txt,sha256=h8MkrMhC_t2-KbfS1oxJVnFAbn5NZJH8END_BL40mv8,24
|
|
166
|
+
ixbrl_viewer-1.4.39.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|