ixbrl-viewer 1.4.46__py3-none-any.whl → 1.4.48__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/search.js +38 -31
- iXBRLViewerPlugin/viewer/src/js/search.test.js +6 -3
- iXBRLViewerPlugin/viewer/src/js/viewer.js +1 -1
- iXBRLViewerPlugin/viewer/src/less/inspector.less +1 -1
- {ixbrl_viewer-1.4.46.dist-info → ixbrl_viewer-1.4.48.dist-info}/METADATA +3 -3
- {ixbrl_viewer-1.4.46.dist-info → ixbrl_viewer-1.4.48.dist-info}/RECORD +13 -13
- {ixbrl_viewer-1.4.46.dist-info → ixbrl_viewer-1.4.48.dist-info}/WHEEL +1 -1
- {ixbrl_viewer-1.4.46.dist-info → ixbrl_viewer-1.4.48.dist-info}/LICENSE +0 -0
- {ixbrl_viewer-1.4.46.dist-info → ixbrl_viewer-1.4.48.dist-info}/NOTICE +0 -0
- {ixbrl_viewer-1.4.46.dist-info → ixbrl_viewer-1.4.48.dist-info}/entry_points.txt +0 -0
- {ixbrl_viewer-1.4.46.dist-info → ixbrl_viewer-1.4.48.dist-info}/top_level.txt +0 -0
|
@@ -13,42 +13,49 @@ export class ReportSearch {
|
|
|
13
13
|
var dims = {};
|
|
14
14
|
var facts = this._reportSet.facts();
|
|
15
15
|
this.periods = {};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
// Add hidden facts to index later, so that they appear later in the
|
|
17
|
+
// default search
|
|
18
|
+
for (const hidden of [false, true]) {
|
|
19
|
+
for (var i = 0; i < facts.length; i++) {
|
|
20
|
+
var f = facts[i];
|
|
21
|
+
if (f.isHidden() !== hidden) {
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
var doc = { "id": f.vuid };
|
|
25
|
+
var l = f.getLabel("std");
|
|
26
|
+
doc.concept = f.conceptQName().localname;
|
|
27
|
+
doc.doc = f.getLabel("doc");
|
|
28
|
+
doc.date = f.periodTo();
|
|
29
|
+
doc.startDate = f.periodFrom();
|
|
30
|
+
var dims = f.dimensions();
|
|
31
|
+
for (var d in dims) {
|
|
32
|
+
if (f.report.getConcept(d).isTypedDimension()) {
|
|
33
|
+
if (dims[d] !== null) {
|
|
34
|
+
l += " " + dims[d];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
l += " " + f.report.getLabel(dims[d], "std");
|
|
29
39
|
}
|
|
30
40
|
}
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
doc.label = l;
|
|
42
|
+
doc.ref = f.concept().referenceValuesAsString();
|
|
43
|
+
const wider = f.widerConcepts();
|
|
44
|
+
if (wider.length > 0) {
|
|
45
|
+
doc.widerConcept = f.report.qname(wider[0]).localname;
|
|
46
|
+
doc.widerLabel = f.report.getLabel(wider[0], "std");
|
|
47
|
+
doc.widerDoc = f.report.getLabel(wider[0], "doc");
|
|
33
48
|
}
|
|
34
|
-
|
|
35
|
-
doc.label = l;
|
|
36
|
-
doc.ref = f.concept().referenceValuesAsString();
|
|
37
|
-
const wider = f.widerConcepts();
|
|
38
|
-
if (wider.length > 0) {
|
|
39
|
-
doc.widerConcept = f.report.qname(wider[0]).localname;
|
|
40
|
-
doc.widerLabel = f.report.getLabel(wider[0], "std");
|
|
41
|
-
doc.widerDoc = f.report.getLabel(wider[0], "doc");
|
|
42
|
-
}
|
|
43
|
-
docs.push(doc);
|
|
49
|
+
docs.push(doc);
|
|
44
50
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
var p = f.period();
|
|
52
|
+
if (p) {
|
|
53
|
+
this.periods[p.key()] = p.toString();
|
|
54
|
+
}
|
|
49
55
|
|
|
50
|
-
|
|
51
|
-
|
|
56
|
+
if (i % 100 === 0) {
|
|
57
|
+
yield;
|
|
58
|
+
}
|
|
52
59
|
}
|
|
53
60
|
}
|
|
54
61
|
const builder = new lunr.Builder();
|
|
@@ -55,7 +55,7 @@ function createDimensionalizedFact(id, concept, options=null, dimensions= {}) {
|
|
|
55
55
|
|
|
56
56
|
// Returns a report set with a single report
|
|
57
57
|
function testReport(testData, sourceIXData) {
|
|
58
|
-
return testReportSet([ {data: testData, ixData: sourceIXData ?? {} } ])
|
|
58
|
+
return testReportSet([ {data: testData, ixData: sourceIXData ?? { } } ])
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
function mergeDicts(a, b) {
|
|
@@ -71,7 +71,7 @@ function testReportSet(reports) {
|
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
const ixData = {};
|
|
74
|
-
for (const
|
|
74
|
+
for (const report of reports.values()) {
|
|
75
75
|
const targetReport = {};
|
|
76
76
|
for (const key of ["languages", "prefixes", "roles"]) {
|
|
77
77
|
reportSetData[key] = mergeDicts(reportSetData[key], report.data[key]);
|
|
@@ -83,12 +83,15 @@ function testReportSet(reports) {
|
|
|
83
83
|
|
|
84
84
|
for (const id of Object.keys(targetReport.facts)) {
|
|
85
85
|
if (!(id in ixData)) {
|
|
86
|
-
ixData[viewerUniqueId(
|
|
86
|
+
ixData[viewerUniqueId(0, id)] = report.ixData?.[id] ?? {};
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
targetReports.push(targetReport);
|
|
90
90
|
}
|
|
91
91
|
const reportSet = new ReportSet(reportSetData);
|
|
92
|
+
for (const [id, data] of Object.entries(ixData)) {
|
|
93
|
+
ixData[id].isHidden ??= false;
|
|
94
|
+
}
|
|
92
95
|
reportSet.setIXNodeMap(ixData);
|
|
93
96
|
return reportSet;
|
|
94
97
|
}
|
|
@@ -65,7 +65,7 @@ export class Viewer {
|
|
|
65
65
|
viewer._iframes.each(function (docIndex) {
|
|
66
66
|
$(this).data("selected", docIndex == viewer._currentDocumentIndex);
|
|
67
67
|
const reportIndex = $(this).data("report-index");
|
|
68
|
-
viewer._preProcessiXBRL($(this).contents().find("body").get(0), reportIndex, docIndex);
|
|
68
|
+
viewer._preProcessiXBRL($(this).contents().find("body").get(0), reportIndex, docIndex, false);
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
/* Call plugin promise for each document in turn */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: ixbrl-viewer
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.48
|
|
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
|
|
@@ -35,7 +35,7 @@ Requires-Dist: arelle_release==2.*; extra == "arelle"
|
|
|
35
35
|
Provides-Extra: dev
|
|
36
36
|
Requires-Dist: flake8==7.1.1; extra == "dev"
|
|
37
37
|
Requires-Dist: lxml-stubs==0.5.1; extra == "dev"
|
|
38
|
-
Requires-Dist: mypy==1.
|
|
38
|
+
Requires-Dist: mypy==1.14.1; extra == "dev"
|
|
39
39
|
Requires-Dist: pytest==8.3.4; extra == "dev"
|
|
40
40
|
Requires-Dist: typing-extensions==4.12.2; extra == "dev"
|
|
41
41
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
iXBRLViewerPlugin/__init__.py,sha256=Uk8Azqk53UTsUJT22LgR-irtQ9RJkA2yaTxqD-IFZyM,16662
|
|
2
|
-
iXBRLViewerPlugin/_version.py,sha256=
|
|
2
|
+
iXBRLViewerPlugin/_version.py,sha256=IlActi_WD5rohvhTRTvz6MOFctGX0b8bBn9Mcvr5ODo,413
|
|
3
3
|
iXBRLViewerPlugin/constants.py,sha256=DMyEKzoJZPN36vINiNF9wiP7PPofQg0ZLF0H2CP-ns4,3866
|
|
4
4
|
iXBRLViewerPlugin/featureConfig.py,sha256=551aLjiGAkoxsgFDMBJT8s3nVaF787kgbRjFumTTsBE,255
|
|
5
5
|
iXBRLViewerPlugin/iXBRLViewer.py,sha256=eHqLCJhU5EMpRVfqe7DJhLTHFhkQikWd1FTbt8q46Xg,30508
|
|
@@ -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=PsNRGS5QE2wgCEnV1w3nqjKg324IpiYThSvBqed1Jvk,876102
|
|
16
16
|
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js.LICENSE.txt,sha256=Ye_YmUQH4CCOb6Ksrap5lsJC7aZuNZbQnvLs7njZPc0,1832
|
|
17
17
|
iXBRLViewerPlugin/viewer/src/html/fact-details.html,sha256=r3cPuOzcosgBkYl0jfmRUGjYnLgv6Eu0IeTMmUHY4Ak,2863
|
|
18
18
|
iXBRLViewerPlugin/viewer/src/html/footer-logo.html,sha256=8c91oB4B1JhAIhTvdjjhvq6lJB6WNpBWw-lrsP7IBDw,233
|
|
@@ -125,8 +125,8 @@ iXBRLViewerPlugin/viewer/src/js/report.js,sha256=8fO1m439kZrcAjiLROsBez7bjWCQz3f
|
|
|
125
125
|
iXBRLViewerPlugin/viewer/src/js/report.test.js,sha256=ugVfJ1bFksIABm9tn9VAsIiUGi0k6jUQRryeVKTDM2M,8016
|
|
126
126
|
iXBRLViewerPlugin/viewer/src/js/reportset.js,sha256=3vg93qog6XpeawsuKfSJcEcURhiQV0erMGb9rc9veH0,9229
|
|
127
127
|
iXBRLViewerPlugin/viewer/src/js/reportset.test.js,sha256=UGZIjYqOCce4ZYE9VmhSHVFTdIb3515WPCi78MBWZ5s,12896
|
|
128
|
-
iXBRLViewerPlugin/viewer/src/js/search.js,sha256=
|
|
129
|
-
iXBRLViewerPlugin/viewer/src/js/search.test.js,sha256=
|
|
128
|
+
iXBRLViewerPlugin/viewer/src/js/search.js,sha256=6r-WZkS6Bglyo4O1Id5TQf643NTA3ydD7UmPKTiMOqE,6672
|
|
129
|
+
iXBRLViewerPlugin/viewer/src/js/search.test.js,sha256=psJIQqiz2OyboGXKNcxrA6fGtEzz-q5V6kIi_-rWgf4,25529
|
|
130
130
|
iXBRLViewerPlugin/viewer/src/js/summary.js,sha256=Dv5gSdc3AlnrLM_Cu3oWY1b4Oxtq5HNAAFUyFHU7_Mg,5053
|
|
131
131
|
iXBRLViewerPlugin/viewer/src/js/summary.test.js,sha256=-3QtRfb3kMy7ivuP-S30hco31bEvzTl0S53bRXY9pAo,8613
|
|
132
132
|
iXBRLViewerPlugin/viewer/src/js/tableExport.js,sha256=Spga6mApEwo3eCzXabAwazpu9wQHrkjtliXLr7d7TG8,9750
|
|
@@ -140,7 +140,7 @@ iXBRLViewerPlugin/viewer/src/js/unit.test.js,sha256=l4nELK-gK2uJG6jXHEXwnAKzCCCQ
|
|
|
140
140
|
iXBRLViewerPlugin/viewer/src/js/util.js,sha256=zeGUw4gVWbYVFzFBo_8dmPX0jjMyIKceMYdYYvgfSZI,7145
|
|
141
141
|
iXBRLViewerPlugin/viewer/src/js/util.test.js,sha256=t6sgV6rTL3aXQMN3iIVe8XxTAOCn1UYHKr_kD6tjI7A,6495
|
|
142
142
|
iXBRLViewerPlugin/viewer/src/js/validationreport.js,sha256=zWA9_8sWavX2Fi8fwEyDPABxWL_XSzvNQ21O1Qu2ayY,644
|
|
143
|
-
iXBRLViewerPlugin/viewer/src/js/viewer.js,sha256=
|
|
143
|
+
iXBRLViewerPlugin/viewer/src/js/viewer.js,sha256=MxMpioVno9hEbmp3mLzCjvGdrQyUuCeJiT8TTK2j0bk,35489
|
|
144
144
|
iXBRLViewerPlugin/viewer/src/js/viewerOptions.js,sha256=wJbPXEVuCmmTM6NvNQs4-1gibRT1wzbDr2XVrX2cSqo,139
|
|
145
145
|
iXBRLViewerPlugin/viewer/src/less/accordian.less,sha256=XhfcABGSqxr18vX3Oz7p77Tp0Au8EWj3yY2_cWxMKyI,682
|
|
146
146
|
iXBRLViewerPlugin/viewer/src/less/block-list.less,sha256=Pw81p9mW6T6LdmpIG_ci-gvtQSDS07ZTlzB-H_Zp7KU,776
|
|
@@ -156,7 +156,7 @@ iXBRLViewerPlugin/viewer/src/less/dialog.less,sha256=R3Vu_rG8VgCL3deoja6XfRrPIbP
|
|
|
156
156
|
iXBRLViewerPlugin/viewer/src/less/fonts.less,sha256=IamL4X-5uDuDM_Ob-kGrZKKxfCwVRk6C1hkRMwY8ESY,226
|
|
157
157
|
iXBRLViewerPlugin/viewer/src/less/form-controls.less,sha256=H4_CwDhpxPzrORy2-3FF4zh50qJmMwlJJ4hBXLELTP0,2085
|
|
158
158
|
iXBRLViewerPlugin/viewer/src/less/icons.less.njk,sha256=M-l5TC5MZTu69xD9bFjlgq7RHCmGoX_gTw1k4MDJeiU,253
|
|
159
|
-
iXBRLViewerPlugin/viewer/src/less/inspector.less,sha256=
|
|
159
|
+
iXBRLViewerPlugin/viewer/src/less/inspector.less,sha256=Igbcjflqx6KnsJmtiiGNQcF_JMBAaW5BmDLI7uQdlgk,28142
|
|
160
160
|
iXBRLViewerPlugin/viewer/src/less/loader.less,sha256=i9JlRVlJ5jODeU2VeHX_t__9eKgaRgvksE4ZWVUG5d8,1216
|
|
161
161
|
iXBRLViewerPlugin/viewer/src/less/menu.less,sha256=iDsVQczWeX9r93nOKhtvZHZI6cSMdcTT4rrP8uJ6_c4,2611
|
|
162
162
|
iXBRLViewerPlugin/viewer/src/less/summary.less,sha256=kBs3KlIg7NnQ_ojIYKg1HExr5VuAx54EwvaDuOX-tEM,1799
|
|
@@ -186,10 +186,10 @@ tests/unit_tests/iXBRLViewerPlugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
186
186
|
tests/unit_tests/iXBRLViewerPlugin/mock_arelle.py,sha256=fQKJGwceaEVaxvqV9tyuvT6DJB5s1X3-oSMjbFMKlS8,1301
|
|
187
187
|
tests/unit_tests/iXBRLViewerPlugin/test_iXBRLViewer.py,sha256=2beDs9kf0wRZFw9NM-dYm4j1zlxRybFj7f1JpwUTttQ,33756
|
|
188
188
|
tests/unit_tests/iXBRLViewerPlugin/test_xhtmlserialize.py,sha256=kdrg4i-YXnYAGl9TLWEACPQF0V69OAMXdXLYJwefsH0,12521
|
|
189
|
-
ixbrl_viewer-1.4.
|
|
190
|
-
ixbrl_viewer-1.4.
|
|
191
|
-
ixbrl_viewer-1.4.
|
|
192
|
-
ixbrl_viewer-1.4.
|
|
193
|
-
ixbrl_viewer-1.4.
|
|
194
|
-
ixbrl_viewer-1.4.
|
|
195
|
-
ixbrl_viewer-1.4.
|
|
189
|
+
ixbrl_viewer-1.4.48.dist-info/LICENSE,sha256=TZJhu77S_2-WQcPAkuIAlQiuuiNqVcuHBjd7z3Y5S08,16645
|
|
190
|
+
ixbrl_viewer-1.4.48.dist-info/METADATA,sha256=jhVmxCOB5m8-PV6bSUJYyq2VlUBmvWvktRfYL_2dIdY,15797
|
|
191
|
+
ixbrl_viewer-1.4.48.dist-info/NOTICE,sha256=-SHDY0OY7s4gm4Rdk5AB3nbnUsrdHEHPdJuGFR_vuM4,566
|
|
192
|
+
ixbrl_viewer-1.4.48.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
193
|
+
ixbrl_viewer-1.4.48.dist-info/entry_points.txt,sha256=2XUzP20WGwxdvnugdBybUBwAB3xf_zvrOR5W_smFz_4,65
|
|
194
|
+
ixbrl_viewer-1.4.48.dist-info/top_level.txt,sha256=h8MkrMhC_t2-KbfS1oxJVnFAbn5NZJH8END_BL40mv8,24
|
|
195
|
+
ixbrl_viewer-1.4.48.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|