ixbrl-viewer 1.4.14__py3-none-any.whl → 1.4.15__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 +2 -1
- iXBRLViewerPlugin/_version.py +2 -2
- iXBRLViewerPlugin/iXBRLViewer.py +9 -5
- iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js +1 -1
- iXBRLViewerPlugin/viewer/src/html/inspector.html +27 -0
- iXBRLViewerPlugin/viewer/src/i18n/en/translation.json +18 -1
- iXBRLViewerPlugin/viewer/src/i18n/es/translation.json +18 -1
- iXBRLViewerPlugin/viewer/src/icons/calculator.svg +13 -0
- iXBRLViewerPlugin/viewer/src/icons/circle-cross.svg +11 -0
- iXBRLViewerPlugin/viewer/src/icons/circle-tick.svg +11 -0
- iXBRLViewerPlugin/viewer/src/icons/dimension.svg +1 -5
- iXBRLViewerPlugin/viewer/src/icons/member.svg +2 -5
- iXBRLViewerPlugin/viewer/src/icons/multi-tag.svg +10 -0
- iXBRLViewerPlugin/viewer/src/js/accordian.js +2 -2
- iXBRLViewerPlugin/viewer/src/js/calculation.js +202 -0
- iXBRLViewerPlugin/viewer/src/js/calculation.test.js +306 -0
- iXBRLViewerPlugin/viewer/src/js/calculationInspector.js +190 -0
- iXBRLViewerPlugin/viewer/src/js/concept.js +7 -1
- iXBRLViewerPlugin/viewer/src/js/fact.js +59 -5
- iXBRLViewerPlugin/viewer/src/js/factset.js +54 -5
- iXBRLViewerPlugin/viewer/src/js/factset.test.js +71 -5
- iXBRLViewerPlugin/viewer/src/js/inspector.js +85 -30
- iXBRLViewerPlugin/viewer/src/js/interval.js +70 -0
- iXBRLViewerPlugin/viewer/src/js/interval.test.js +153 -0
- iXBRLViewerPlugin/viewer/src/js/test-utils.js +19 -0
- iXBRLViewerPlugin/viewer/src/less/accordian.less +2 -2
- iXBRLViewerPlugin/viewer/src/less/calculation-inspector.less +83 -0
- iXBRLViewerPlugin/viewer/src/less/colours.less +2 -0
- iXBRLViewerPlugin/viewer/src/less/dialog.less +8 -4
- iXBRLViewerPlugin/viewer/src/less/inspector.less +67 -23
- iXBRLViewerPlugin/viewer/src/less/validation-report.less +1 -2
- iXBRLViewerPlugin/viewer/src/less/viewer.less +1 -1
- {ixbrl_viewer-1.4.14.dist-info → ixbrl_viewer-1.4.15.dist-info}/METADATA +2 -2
- {ixbrl_viewer-1.4.14.dist-info → ixbrl_viewer-1.4.15.dist-info}/RECORD +39 -30
- iXBRLViewerPlugin/viewer/src/js/calculations.js +0 -111
- {ixbrl_viewer-1.4.14.dist-info → ixbrl_viewer-1.4.15.dist-info}/LICENSE +0 -0
- {ixbrl_viewer-1.4.14.dist-info → ixbrl_viewer-1.4.15.dist-info}/NOTICE +0 -0
- {ixbrl_viewer-1.4.14.dist-info → ixbrl_viewer-1.4.15.dist-info}/WHEEL +0 -0
- {ixbrl_viewer-1.4.14.dist-info → ixbrl_viewer-1.4.15.dist-info}/entry_points.txt +0 -0
- {ixbrl_viewer-1.4.14.dist-info → ixbrl_viewer-1.4.15.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
#ixv .dialog.calculation-inspector {
|
|
2
|
+
table.calculation-trace {
|
|
3
|
+
border-spacing: 1rem 0;
|
|
4
|
+
padding-bottom: 1.5rem;
|
|
5
|
+
|
|
6
|
+
th.value-column {
|
|
7
|
+
// Specify undersized column width to force line break in header, unless
|
|
8
|
+
// figures are really big.
|
|
9
|
+
width: 8rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
td {
|
|
13
|
+
padding: 1rem 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
td.figure {
|
|
17
|
+
text-align: right;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.calc11 {
|
|
22
|
+
td.icons,
|
|
23
|
+
th.icons {
|
|
24
|
+
border-right: solid 1px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.has-icons {
|
|
29
|
+
td.icons,
|
|
30
|
+
th.icons {
|
|
31
|
+
padding-right: 1rem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
tr.total {
|
|
36
|
+
td.figure,
|
|
37
|
+
td.line-item {
|
|
38
|
+
border-top: solid 1px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
td.status {
|
|
43
|
+
.message {
|
|
44
|
+
font-style: italic;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.icon::before {
|
|
48
|
+
position: relative;
|
|
49
|
+
top: 0.1rem;
|
|
50
|
+
padding-right: 0.1rem;
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.unchecked .icon::before {
|
|
55
|
+
.icon-question();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.consistent .icon::before {
|
|
59
|
+
.icon-circle-tick();
|
|
60
|
+
|
|
61
|
+
color: @workiva-green;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.inconsistent .icon::before {
|
|
65
|
+
.icon-circle-cross();
|
|
66
|
+
|
|
67
|
+
color: @warning-orange;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
span.duplicate-facts {
|
|
72
|
+
&::before {
|
|
73
|
+
.icon-multi-tag();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:not(.calc11) {
|
|
78
|
+
td.calc11-only, th.calc11-only {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
height: calc(100vh - 5em);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
&.full-width {
|
|
19
|
+
width: calc(100vw - 5em);
|
|
20
|
+
}
|
|
21
|
+
|
|
18
22
|
&.message-box {
|
|
19
23
|
max-width: 800px;
|
|
20
24
|
width: 100%;
|
|
@@ -26,6 +30,10 @@
|
|
|
26
30
|
box-sizing: border-box;
|
|
27
31
|
height: 100%;
|
|
28
32
|
width: 100%;
|
|
33
|
+
|
|
34
|
+
& > h2:first-child {
|
|
35
|
+
margin-top: 0;
|
|
36
|
+
}
|
|
29
37
|
}
|
|
30
38
|
|
|
31
39
|
.close {
|
|
@@ -48,10 +56,6 @@
|
|
|
48
56
|
}
|
|
49
57
|
}
|
|
50
58
|
|
|
51
|
-
.title {
|
|
52
|
-
margin-top: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
59
|
.buttons {
|
|
56
60
|
button {
|
|
57
61
|
border-radius: 0;
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
@import (reference) "text-mixins.less";
|
|
16
16
|
@import url("block-list.less");
|
|
17
17
|
@import url("validation-report.less");
|
|
18
|
+
@import url("calculation-inspector.less");
|
|
18
19
|
@import url("text-block-viewer.less");
|
|
19
20
|
@import url("summary.less");
|
|
20
21
|
|
|
@@ -869,43 +870,86 @@
|
|
|
869
870
|
}
|
|
870
871
|
|
|
871
872
|
.calculations {
|
|
872
|
-
.
|
|
873
|
-
padding: 5px 0;
|
|
873
|
+
.card .title {
|
|
874
874
|
position: relative;
|
|
875
|
-
line-height: 1.8rem;
|
|
876
875
|
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
876
|
+
.inconsistent-flag {
|
|
877
|
+
padding-right: 0.75rem;
|
|
878
|
+
position: relative;
|
|
879
|
+
top: 0.2rem;
|
|
880
|
+
color: @warning-orange;
|
|
880
881
|
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
882
|
+
&::before {
|
|
883
|
+
.icon-circle-cross();
|
|
884
|
+
}
|
|
884
885
|
}
|
|
885
886
|
|
|
886
|
-
|
|
887
|
-
|
|
887
|
+
.consistent-flag {
|
|
888
|
+
padding-right: 0.75rem;
|
|
889
|
+
position: relative;
|
|
890
|
+
top: 0.2rem;
|
|
891
|
+
color: @workiva-green;
|
|
888
892
|
|
|
889
|
-
|
|
890
|
-
|
|
893
|
+
&::before {
|
|
894
|
+
.icon-circle-tick();
|
|
891
895
|
}
|
|
892
896
|
}
|
|
893
897
|
|
|
894
|
-
.
|
|
895
|
-
|
|
896
|
-
position:
|
|
897
|
-
|
|
898
|
+
.unchecked-flag {
|
|
899
|
+
padding-right: 0.5rem;
|
|
900
|
+
position: relative;
|
|
901
|
+
top: 0.2rem;
|
|
898
902
|
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
903
|
+
&::before {
|
|
904
|
+
.icon-question();
|
|
905
|
+
}
|
|
902
906
|
}
|
|
903
907
|
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
table.calculation-table {
|
|
911
|
+
width: 100%;
|
|
912
|
+
border-collapse: collapse;
|
|
913
|
+
|
|
914
|
+
tr.item {
|
|
915
|
+
td {
|
|
916
|
+
padding: 5px 0;
|
|
917
|
+
line-height: 1.8rem;
|
|
918
|
+
|
|
919
|
+
&.value {
|
|
920
|
+
text-align: right;
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
&:not(.calc-fact-link, .total) .concept-name {
|
|
925
|
+
color: #777;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
&.calc-fact-link {
|
|
929
|
+
cursor: pointer;
|
|
930
|
+
|
|
931
|
+
.concept-name,
|
|
932
|
+
.value {
|
|
933
|
+
color: @primary;
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
&.linked-highlight,
|
|
938
|
+
&.calc-fact-link:hover {
|
|
939
|
+
.linked-highlight-text();
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
&.total td {
|
|
943
|
+
border-top: solid 1px @border-grey;
|
|
944
|
+
padding-bottom: 1.2rem;
|
|
945
|
+
}
|
|
907
946
|
}
|
|
908
947
|
}
|
|
948
|
+
|
|
949
|
+
.calculation-details-link {
|
|
950
|
+
color: @primary;
|
|
951
|
+
cursor: pointer;
|
|
952
|
+
}
|
|
909
953
|
}
|
|
910
954
|
}
|
|
911
955
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ixbrl-viewer
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.15
|
|
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
|
|
@@ -36,7 +36,7 @@ Provides-Extra: arelle
|
|
|
36
36
|
Requires-Dist: arelle-release ==2.* ; extra == 'arelle'
|
|
37
37
|
Provides-Extra: dev
|
|
38
38
|
Requires-Dist: flake8 ==7.0.0 ; extra == 'dev'
|
|
39
|
-
Requires-Dist: lxml-stubs ==0.
|
|
39
|
+
Requires-Dist: lxml-stubs ==0.5.1 ; extra == 'dev'
|
|
40
40
|
Requires-Dist: mypy ==1.8.0 ; extra == 'dev'
|
|
41
41
|
Requires-Dist: pytest ==7.4.4 ; extra == 'dev'
|
|
42
42
|
Requires-Dist: typing-extensions ==4.9.0 ; extra == 'dev'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
iXBRLViewerPlugin/__init__.py,sha256=
|
|
2
|
-
iXBRLViewerPlugin/_version.py,sha256=
|
|
1
|
+
iXBRLViewerPlugin/__init__.py,sha256=DqnM6D24Spns1lTswyGUjzGC7qMdf86TT4DE91CXBRA,13999
|
|
2
|
+
iXBRLViewerPlugin/_version.py,sha256=GV6XwJnZtaCHeM6MpSSHX9ZtGIZAtVvtA-5uewZQic0,413
|
|
3
3
|
iXBRLViewerPlugin/constants.py,sha256=-WqhMxrPMOPxbzievc76bojBoUsh2ukrTGwOyXjn2dg,875
|
|
4
4
|
iXBRLViewerPlugin/featureConfig.py,sha256=tOViPYmN32i2uIf_T9HGgbkkv41VoTpTjqhn4w9rTgw,194
|
|
5
|
-
iXBRLViewerPlugin/iXBRLViewer.py,sha256=
|
|
5
|
+
iXBRLViewerPlugin/iXBRLViewer.py,sha256=ETKqlGhOC6AY_FAxARj1znqrtbjQjCFjIrbNvFPBbkw,27996
|
|
6
6
|
iXBRLViewerPlugin/stubviewer.html,sha256=hc5BeIR7y3ojGRux_Hy5oqEAHdlQ34kk3lL5eH-B4AU,158
|
|
7
7
|
iXBRLViewerPlugin/ui.py,sha256=iOGxlUxHIWsdW58jUrpU5EKNpFbNquMb3I0JXjIY590,9734
|
|
8
8
|
iXBRLViewerPlugin/xhtmlserialize.py,sha256=XG6HRR6qDclSwbrpywFC0v8Ktb4-YZj-9IV_gqroCOY,6766
|
|
@@ -11,32 +11,36 @@ iXBRLViewerPlugin/viewer/version.js,sha256=7b5si8UmaS7QqALQIP-wJ0I8onKFox8VyaAiU
|
|
|
11
11
|
iXBRLViewerPlugin/viewer/webpack.common.js,sha256=AsiOVAW2XbmSNjv6Kl6LC4VUM2rA9UyQ8vwhz_1jb1Y,1320
|
|
12
12
|
iXBRLViewerPlugin/viewer/webpack.dev.js,sha256=R9AwY_TBrg9otvXpDxT1UsGg5eMqi4aXW7C7EIsHzZk,551
|
|
13
13
|
iXBRLViewerPlugin/viewer/webpack.prod.js,sha256=vfLowWC1EOty0zbq9P-usGaJ3w-JoERpJrYaE9MfoSE,499
|
|
14
|
-
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js,sha256=
|
|
14
|
+
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js,sha256=3dqjDYJi-3oi0LkcoZ7Raz0o8kN6g32CL50lAq_G1R0,844221
|
|
15
15
|
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js.LICENSE.txt,sha256=eA5xbvB65RVR5QmweqeHe4sYtW3dzEmgLhUDFOGr9m4,1697
|
|
16
16
|
iXBRLViewerPlugin/viewer/src/html/fact-details.html,sha256=P9BJw1OK4nIYfoT4KPwW1WP94ZeD7v1nisvSKMeSnU8,1495
|
|
17
17
|
iXBRLViewerPlugin/viewer/src/html/footnote-details.html,sha256=9I7y0KM7xsPzbiZheuHkm1k4nHNXD8S9qxvD_Y0I1Us,278
|
|
18
|
-
iXBRLViewerPlugin/viewer/src/html/inspector.html,sha256=
|
|
18
|
+
iXBRLViewerPlugin/viewer/src/html/inspector.html,sha256=Rbpbnu5LwUfDBdvlN0CIvWUV2cFKrgrjxX9X4lsilTg,19153
|
|
19
19
|
iXBRLViewerPlugin/viewer/src/i18n/en/currencies.json,sha256=p2vXnQcaRWX3tDY8E52AaIeKhbmcNNhPfTBHlL5AL_U,315
|
|
20
20
|
iXBRLViewerPlugin/viewer/src/i18n/en/referenceparts.json,sha256=rp0p7aWt0U2Ny3ai_fadZhdV-LWx-9-tgKWQmggoewM,207
|
|
21
|
-
iXBRLViewerPlugin/viewer/src/i18n/en/translation.json,sha256=
|
|
21
|
+
iXBRLViewerPlugin/viewer/src/i18n/en/translation.json,sha256=cM-8Hs_ZEYhCqIkCyxeBhEqfjT0vH5lH5kqvFrxMuss,4600
|
|
22
22
|
iXBRLViewerPlugin/viewer/src/i18n/es/currencies.json,sha256=YzzYkYpUAgYFBDROUosaxoVbft5zPXKJ4zI9Zb2nsqQ,171
|
|
23
23
|
iXBRLViewerPlugin/viewer/src/i18n/es/referenceparts.json,sha256=X6l9IS1w9LSItMaS14q9gqDIu1jaeHthuhOogaBLRTI,237
|
|
24
|
-
iXBRLViewerPlugin/viewer/src/i18n/es/translation.json,sha256=
|
|
24
|
+
iXBRLViewerPlugin/viewer/src/i18n/es/translation.json,sha256=LuWgXd1rO9Op5tRex9zki9TgF6QOna0je32assMAbRg,3996
|
|
25
25
|
iXBRLViewerPlugin/viewer/src/icons/arrow-down.svg,sha256=FjlACizI1NEMLQMyeVSfwsnP1t63HnGBQhmiFLgqDCI,403
|
|
26
26
|
iXBRLViewerPlugin/viewer/src/icons/arrow-up.svg,sha256=-1ZLPAkpGUH4btofeJ_YLyw04dzoWNi_QAm6LK6yYh8,403
|
|
27
|
+
iXBRLViewerPlugin/viewer/src/icons/calculator.svg,sha256=W86RLdi2jge2dvL1LciTYXBTymaZZEE_IoIzspVjcVI,1543
|
|
27
28
|
iXBRLViewerPlugin/viewer/src/icons/chevron-down.svg,sha256=V-vUnVI2ixt8EkLYrtNpmW2OT8Iq9u5abEADzi2hlEA,462
|
|
28
29
|
iXBRLViewerPlugin/viewer/src/icons/chevron-left.svg,sha256=j6HOd-SNIjisUnQD77xaqTw-iwJ_TR2q2TYf6QfTGT8,479
|
|
29
30
|
iXBRLViewerPlugin/viewer/src/icons/chevron-right.svg,sha256=fr8LzARQ4Gh6xseJqqLKcGJT5cSCZkwn_QR-cqpdx5c,475
|
|
30
31
|
iXBRLViewerPlugin/viewer/src/icons/chevron-up.svg,sha256=OFKs3i1wYGhqX7FYaukSX7xxKHX9HKa9LBzwWl9rvMA,479
|
|
32
|
+
iXBRLViewerPlugin/viewer/src/icons/circle-cross.svg,sha256=SX8_bYB9-ySbMwBCRMW9xRuTsLKBJpXDWVq_hJUg9Pk,930
|
|
33
|
+
iXBRLViewerPlugin/viewer/src/icons/circle-tick.svg,sha256=fLplH40bb1YOfWQBqQHNZExwGro5b-vKBRcmNhCnNps,877
|
|
31
34
|
iXBRLViewerPlugin/viewer/src/icons/clipboard.svg,sha256=qkCsh-L0XNkZS8iMYE8J9FkkkbTFlqbNS322KSLKYR0,832
|
|
32
35
|
iXBRLViewerPlugin/viewer/src/icons/close.svg,sha256=a-tcr5vIyHRRd3NKjPvDl6tTYCZmIAycYo8NQoT1bVQ,608
|
|
33
36
|
iXBRLViewerPlugin/viewer/src/icons/cog.svg,sha256=LM69KEI4OS8CVfsYGd7yODpwBuH4RMJ2j-aGHOE0OxI,1305
|
|
34
37
|
iXBRLViewerPlugin/viewer/src/icons/dimension-member.svg,sha256=U0eQIAjUM8QrtLRIWmf55xAYXNbhG-NYJpPBjK6Gd6w,1425
|
|
35
|
-
iXBRLViewerPlugin/viewer/src/icons/dimension.svg,sha256=
|
|
38
|
+
iXBRLViewerPlugin/viewer/src/icons/dimension.svg,sha256=QxFMqE4u00BVwWkV4NLCpGzLrvx9fp_uUm5PP6gJkx8,516
|
|
36
39
|
iXBRLViewerPlugin/viewer/src/icons/download.svg,sha256=Otryqz-9zFVuvDqixeSCi05_YlNyuthcccoFN2dnTsU,919
|
|
37
40
|
iXBRLViewerPlugin/viewer/src/icons/filter.svg,sha256=j83hMa2dvz_zSTgA-ZPq5hb3AWhfQNh_uH86_D5sFv8,466
|
|
38
41
|
iXBRLViewerPlugin/viewer/src/icons/graph.svg,sha256=Y6-4X117ICByx90XScMEwCONVHuPriiHsxqzrd4jWac,450
|
|
39
|
-
iXBRLViewerPlugin/viewer/src/icons/member.svg,sha256=
|
|
42
|
+
iXBRLViewerPlugin/viewer/src/icons/member.svg,sha256=V1j_rEx7Ox9WkwPYvSnhJ2AJsX00UvnplrqPeKQmuTY,765
|
|
43
|
+
iXBRLViewerPlugin/viewer/src/icons/multi-tag.svg,sha256=UNFEYkhsOZjr4GyxYVfhTl2_2UnR1IR7bk3CtEUOPyI,738
|
|
40
44
|
iXBRLViewerPlugin/viewer/src/icons/outline.svg,sha256=1gAQRpMiPLcSE0PM4b2wmsD0PCd50QTefsYEA86L9KE,577
|
|
41
45
|
iXBRLViewerPlugin/viewer/src/icons/print.svg,sha256=iC2LlMRMHcMgxqDIMK4NXKYgziPQKosYRMgHhFlyEgs,665
|
|
42
46
|
iXBRLViewerPlugin/viewer/src/icons/question.svg,sha256=5tC5UwUQ43LQ0xZqe0iQPW7yNLv7wyJTdUMypYfc8ec,1123
|
|
@@ -53,27 +57,31 @@ iXBRLViewerPlugin/viewer/src/img/inline-viewer.png,sha256=5EdV1V3ygiqtspxikkcDtc
|
|
|
53
57
|
iXBRLViewerPlugin/viewer/src/img/inline-viewer.svg,sha256=7gwas3nHxMunJIhb3clFbSsES2UD0oZgfpn5Hsh2Ock,5731
|
|
54
58
|
iXBRLViewerPlugin/viewer/src/img/powered-by-workiva.png,sha256=4XE5yykXtKUxF2hytq9Uqjx64pa7AgOuidVuB5_04wU,10362
|
|
55
59
|
iXBRLViewerPlugin/viewer/src/img/powered-by-workiva.svg,sha256=Zf2JArzszZCn7zCkHNVZiW8bhlDwPEdgIDJLJe86W30,7620
|
|
56
|
-
iXBRLViewerPlugin/viewer/src/js/accordian.js,sha256=
|
|
60
|
+
iXBRLViewerPlugin/viewer/src/js/accordian.js,sha256=MfbblPVoNYZG_CvGOr6SXrHqNmkx4TXNlRI17negHhk,1852
|
|
57
61
|
iXBRLViewerPlugin/viewer/src/js/aspect.js,sha256=RBJ3-9nT8-iAwhYa7m3g4203lDONfJhbBG40-fkhhp0,2211
|
|
58
62
|
iXBRLViewerPlugin/viewer/src/js/aspect.test.js,sha256=ctDakUsDdJ65uuW70WcnsRW7keVBOsxWrKqD6PZsPC8,4269
|
|
59
|
-
iXBRLViewerPlugin/viewer/src/js/
|
|
63
|
+
iXBRLViewerPlugin/viewer/src/js/calculation.js,sha256=HutYI81QzNYa7h4xjAyTpj5zI_4blQGWL6WeiI6IaEU,6109
|
|
64
|
+
iXBRLViewerPlugin/viewer/src/js/calculation.test.js,sha256=XjrEimf3frSjpWh8PX0eu7ZX3ZLOlJd95op5FMEvUwA,11223
|
|
65
|
+
iXBRLViewerPlugin/viewer/src/js/calculationInspector.js,sha256=X2mB-NXjNUgnM9izEdspH3hxrTn3qgEuCGsVE6Iqxa0,8600
|
|
60
66
|
iXBRLViewerPlugin/viewer/src/js/chart.js,sha256=B-Wdr4Rshdr5LWknJyv8u9Ro_8GYQL3N-ZAiotFkcps,6997
|
|
61
67
|
iXBRLViewerPlugin/viewer/src/js/chart.test.js,sha256=LWH7Qb-ABufPGxyAomX6q7PJgMpUWNvHskHLYCiepiE,3379
|
|
62
|
-
iXBRLViewerPlugin/viewer/src/js/concept.js,sha256=
|
|
68
|
+
iXBRLViewerPlugin/viewer/src/js/concept.js,sha256=49NXm5jJnakLe2QDsG2Vo5Jf1QDuajvLFBLw439Yt9w,1318
|
|
63
69
|
iXBRLViewerPlugin/viewer/src/js/concept.test.js,sha256=ZQHRJSxrDo4iB9srYxdmpLtgqFP1iWiCIKrezLIgthw,2543
|
|
64
70
|
iXBRLViewerPlugin/viewer/src/js/dialog.js,sha256=09uGcyAcaWLyMyUNDmP9XqYKsuDiAAEIQUM6YLwG_j4,1058
|
|
65
71
|
iXBRLViewerPlugin/viewer/src/js/docOrderIndex.js,sha256=rhNooqCDRU0f8Sb-adHnwqF7kq6vJA_rskGh6oPqdx8,674
|
|
66
|
-
iXBRLViewerPlugin/viewer/src/js/fact.js,sha256=
|
|
72
|
+
iXBRLViewerPlugin/viewer/src/js/fact.js,sha256=JJo_AKhvmBX6EBPmEpk6L3DrB930hliOzyKzsF8ox8s,11233
|
|
67
73
|
iXBRLViewerPlugin/viewer/src/js/fact.test.js,sha256=-DVTQ1rr3uNwPCILZFE9iOUHtv6m86MIiBj0EyRgvWo,22681
|
|
68
|
-
iXBRLViewerPlugin/viewer/src/js/factset.js,sha256=
|
|
69
|
-
iXBRLViewerPlugin/viewer/src/js/factset.test.js,sha256=
|
|
74
|
+
iXBRLViewerPlugin/viewer/src/js/factset.js,sha256=VwJSiIVra3IO5Zwz5LV4aQj5D_Q7tPAtlpQEPUioKU8,5120
|
|
75
|
+
iXBRLViewerPlugin/viewer/src/js/factset.test.js,sha256=WNpm9EE1Eu3DkguUubN2nXnHWY9TIzQdJ6LuidRCHHY,8877
|
|
70
76
|
iXBRLViewerPlugin/viewer/src/js/footnote.js,sha256=jZreicIBPAtBjbpoRbLnkSs8fHdCYVlr-mqn_x5fUfw,597
|
|
71
77
|
iXBRLViewerPlugin/viewer/src/js/identifiers.js,sha256=gcGitF1CfiyiUvzWDG6INnFDIBi5jXdBgiqCB8Ip0YE,2260
|
|
72
78
|
iXBRLViewerPlugin/viewer/src/js/identifiers.test.js,sha256=eu2TkHVpuRItIyNdNAuoITnpGFwwAicqMynf0dFreRk,2112
|
|
73
79
|
iXBRLViewerPlugin/viewer/src/js/index.js,sha256=SdxunWx8kNw0-vwwnr58-ac1-eQIE1__Ll7ekNNK79E,232
|
|
74
|
-
iXBRLViewerPlugin/viewer/src/js/inspector.js,sha256=
|
|
80
|
+
iXBRLViewerPlugin/viewer/src/js/inspector.js,sha256=iD3q1pHjORcqrxVXvYNESMmw4KMkTiaiVC3-667chpM,48103
|
|
75
81
|
iXBRLViewerPlugin/viewer/src/js/inspector.test.js,sha256=AQjbwTllw_dZfovCfjfHWtt0kdjzDnoXw-mQ0IrHKWk,10086
|
|
76
82
|
iXBRLViewerPlugin/viewer/src/js/interact.min.js,sha256=Yk0ZkCU3IZ0heGijAgUiNVkZ1Djq-MjvbS32DBSrdIs,85048
|
|
83
|
+
iXBRLViewerPlugin/viewer/src/js/interval.js,sha256=ZEIbH4uwTIvF1jmulEWnJI5ZD1AamgKtkyplOwlcrv0,1889
|
|
84
|
+
iXBRLViewerPlugin/viewer/src/js/interval.test.js,sha256=pLbukwlcS38ycDJaNYV_9pAca7wiprunXHqD4TkHEi8,4577
|
|
77
85
|
iXBRLViewerPlugin/viewer/src/js/ixbrlviewer.js,sha256=3bQpJ_fUJzSQNjFizz6_7jJ5bKctwQq8Bb1sJB-HE2Y,13211
|
|
78
86
|
iXBRLViewerPlugin/viewer/src/js/ixbrlviewer.test.js,sha256=ey61xTRZkP0Kf3W8DVQtZE-PeXwK4OOx51iLySMSBsY,2712
|
|
79
87
|
iXBRLViewerPlugin/viewer/src/js/ixnode.js,sha256=C_9exfjf6BnARnHYeNY3RW0-RhxhCjsnn9woFLCjQPk,1575
|
|
@@ -97,7 +105,7 @@ iXBRLViewerPlugin/viewer/src/js/search.test.js,sha256=YGUrgxKjNC0CoY9CJm5FbpBi5t
|
|
|
97
105
|
iXBRLViewerPlugin/viewer/src/js/summary.js,sha256=86-BeF_h6PxH4ztY2nzBX04yvdvDN1s539S1k9PahZ4,4437
|
|
98
106
|
iXBRLViewerPlugin/viewer/src/js/summary.test.js,sha256=-fMLTuFz0JTk6dauAeB_QBekP3ZdUfskdk6V9L-zQoo,7339
|
|
99
107
|
iXBRLViewerPlugin/viewer/src/js/tableExport.js,sha256=kE0Zyr7MPzcopcc0yy-NKiRwr2ZpyvQx87PYBrosIgc,9669
|
|
100
|
-
iXBRLViewerPlugin/viewer/src/js/test-utils.js,sha256=
|
|
108
|
+
iXBRLViewerPlugin/viewer/src/js/test-utils.js,sha256=MXhrubSf0PmSRsrDrqHftPgTrK5PioroXN-FlU4HcN8,1680
|
|
101
109
|
iXBRLViewerPlugin/viewer/src/js/textblockviewer.js,sha256=lCAZeN_wrSwmYie_rwdeIFCIjiOSblT0K9Vslqwktc8,1874
|
|
102
110
|
iXBRLViewerPlugin/viewer/src/js/unit.js,sha256=eHaCTE3snK7uuXK48VK1yPPpl0MAQReqPGWKhBvzwPQ,1638
|
|
103
111
|
iXBRLViewerPlugin/viewer/src/js/unit.test.js,sha256=l4nELK-gK2uJG6jXHEXwnAKzCCCQ7V_oTySaUN_JnhQ,2801
|
|
@@ -106,27 +114,28 @@ iXBRLViewerPlugin/viewer/src/js/util.test.js,sha256=9z1y2ImH2t8GKAF5wpkXBADkeQd6
|
|
|
106
114
|
iXBRLViewerPlugin/viewer/src/js/validationreport.js,sha256=zWA9_8sWavX2Fi8fwEyDPABxWL_XSzvNQ21O1Qu2ayY,644
|
|
107
115
|
iXBRLViewerPlugin/viewer/src/js/viewer.js,sha256=RKbFQT9_xkAUR5cXfs5DJ1sC6I-5m5IZ6-wePRgvBeo,34979
|
|
108
116
|
iXBRLViewerPlugin/viewer/src/js/viewerOptions.js,sha256=Cvj-gAhqNbdyoUAhUKt-EoTKVOcBR5OjG6y-11hF_hY,164
|
|
109
|
-
iXBRLViewerPlugin/viewer/src/less/accordian.less,sha256
|
|
117
|
+
iXBRLViewerPlugin/viewer/src/less/accordian.less,sha256=-gabUSq2rMacPUujessTBffLgxyOeHMrs0m4aWXqBv8,592
|
|
110
118
|
iXBRLViewerPlugin/viewer/src/less/block-list.less,sha256=p2ERp2ahRGSr3Mkj9KhB0eZBzUPEFnhv9Y_58PlWuxs,502
|
|
119
|
+
iXBRLViewerPlugin/viewer/src/less/calculation-inspector.less,sha256=glKlAbq_cVN9NBKSRKWjsT_pRnlBG-HNenIhNUlA_3E,1389
|
|
111
120
|
iXBRLViewerPlugin/viewer/src/less/chart.less,sha256=c0gCRiOtcx677TqMTgs4sOZxf0WjLbkdEL_aniNhGF4,777
|
|
112
121
|
iXBRLViewerPlugin/viewer/src/less/clearfix.less,sha256=p2RuEaUQZ8JecLn6nsKMao2Oj00CVMVdrCeeP-6eIjA,132
|
|
113
|
-
iXBRLViewerPlugin/viewer/src/less/colours.less,sha256=
|
|
122
|
+
iXBRLViewerPlugin/viewer/src/less/colours.less,sha256=6s8THfcRbwNXxgB_-xUuSreix_DWpx9JhB6DwQdxfnQ,627
|
|
114
123
|
iXBRLViewerPlugin/viewer/src/less/common.less,sha256=eGHm56grsZ6VBeY-25YWD6U41sqI9vQc4HgdiFDfpdA,302
|
|
115
124
|
iXBRLViewerPlugin/viewer/src/less/components.less,sha256=Qpkg6RV2HgJ-urO3-rguFfdSDqJSZXnP57aMDs3xgG4,347
|
|
116
125
|
iXBRLViewerPlugin/viewer/src/less/core.less,sha256=nMj7Yly0lyIll879Finuoc85fg8es8qcg5DVtMKp4Fo,99
|
|
117
|
-
iXBRLViewerPlugin/viewer/src/less/dialog.less,sha256=
|
|
126
|
+
iXBRLViewerPlugin/viewer/src/less/dialog.less,sha256=FfZyg0Z3Uwr8rKqvsGsSKcXYEVyDvy4WZ6Kz20LT6oA,1253
|
|
118
127
|
iXBRLViewerPlugin/viewer/src/less/fonts.less,sha256=IamL4X-5uDuDM_Ob-kGrZKKxfCwVRk6C1hkRMwY8ESY,226
|
|
119
128
|
iXBRLViewerPlugin/viewer/src/less/form-controls.less,sha256=do-QeU5g5I1bNL2cu1vhbiENLdR6_mtVFxN7wVL8Abs,1615
|
|
120
129
|
iXBRLViewerPlugin/viewer/src/less/icons.less.njk,sha256=M-l5TC5MZTu69xD9bFjlgq7RHCmGoX_gTw1k4MDJeiU,253
|
|
121
|
-
iXBRLViewerPlugin/viewer/src/less/inspector.less,sha256=
|
|
130
|
+
iXBRLViewerPlugin/viewer/src/less/inspector.less,sha256=8L6piG9qs69fLZSTnrLLHFvsidstXGEq-kB8ui85Hqk,21494
|
|
122
131
|
iXBRLViewerPlugin/viewer/src/less/loader.less,sha256=f54JLiXuiZciifii6QcHEcPus6E-W6j9KYjuG8KFsM4,1184
|
|
123
132
|
iXBRLViewerPlugin/viewer/src/less/menu.less,sha256=StN8GZ1VnRzAVqxTGmatzhWGOnReuQlfx8fxCLoUjCY,2120
|
|
124
133
|
iXBRLViewerPlugin/viewer/src/less/summary.less,sha256=rGNbdoud-KUlrTts_I93xMwLA3bs_Jq-WMKqO2BM_0M,1638
|
|
125
134
|
iXBRLViewerPlugin/viewer/src/less/tabs.less,sha256=qIwbtKl7wypao6k7Qp47jSCOZlHSSoDYSeDyp-0vGTc,776
|
|
126
135
|
iXBRLViewerPlugin/viewer/src/less/text-block-viewer.less,sha256=Vqk9O4KoLehndFvi9DSC5qLX28qsqmQYARbYbrr-gNo,450
|
|
127
136
|
iXBRLViewerPlugin/viewer/src/less/text-mixins.less,sha256=uIvQfFeNC8rTe4yTy24L62TFMnZaHk-sgn3zAWseyDo,214
|
|
128
|
-
iXBRLViewerPlugin/viewer/src/less/validation-report.less,sha256=
|
|
129
|
-
iXBRLViewerPlugin/viewer/src/less/viewer.less,sha256=
|
|
137
|
+
iXBRLViewerPlugin/viewer/src/less/validation-report.less,sha256=4UYqikhhMtikYhtVEbSVSw-5iAAzqlAa0-cEoDpPd4I,338
|
|
138
|
+
iXBRLViewerPlugin/viewer/src/less/viewer.less,sha256=0nuM7ORPf33X9_Q4iEmB2L3HbMIE4OixuQPyXeHpWjQ,3833
|
|
130
139
|
iXBRLViewerPlugin/viewer/tools/build-font.js,sha256=Q-Uh0o6Uj2fkKd0zjS7rbVV2mkNydmEWGpkg0uWVir4,818
|
|
131
140
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
132
141
|
tests/puppeteer/puppeteer_test_run_via_intellij.jpg,sha256=7h82JvahBJ7oPDxdsxUE2_2Sq8TV3CxUDkCQQcTpt9c,61701
|
|
@@ -148,10 +157,10 @@ tests/unit_tests/iXBRLViewerPlugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
148
157
|
tests/unit_tests/iXBRLViewerPlugin/mock_arelle.py,sha256=fQKJGwceaEVaxvqV9tyuvT6DJB5s1X3-oSMjbFMKlS8,1301
|
|
149
158
|
tests/unit_tests/iXBRLViewerPlugin/test_iXBRLViewer.py,sha256=t1fOZdiIlqZa3BamjbRRiGwrYNw0K-x-4r1Jbm7jrwc,31284
|
|
150
159
|
tests/unit_tests/iXBRLViewerPlugin/test_xhtmlserialize.py,sha256=kdrg4i-YXnYAGl9TLWEACPQF0V69OAMXdXLYJwefsH0,12521
|
|
151
|
-
ixbrl_viewer-1.4.
|
|
152
|
-
ixbrl_viewer-1.4.
|
|
153
|
-
ixbrl_viewer-1.4.
|
|
154
|
-
ixbrl_viewer-1.4.
|
|
155
|
-
ixbrl_viewer-1.4.
|
|
156
|
-
ixbrl_viewer-1.4.
|
|
157
|
-
ixbrl_viewer-1.4.
|
|
160
|
+
ixbrl_viewer-1.4.15.dist-info/LICENSE,sha256=TZJhu77S_2-WQcPAkuIAlQiuuiNqVcuHBjd7z3Y5S08,16645
|
|
161
|
+
ixbrl_viewer-1.4.15.dist-info/METADATA,sha256=8w2eiO1T_RPwOMlJx3lNjO0Jc9EDMDpGnnkQkGktkcE,14755
|
|
162
|
+
ixbrl_viewer-1.4.15.dist-info/NOTICE,sha256=-SHDY0OY7s4gm4Rdk5AB3nbnUsrdHEHPdJuGFR_vuM4,566
|
|
163
|
+
ixbrl_viewer-1.4.15.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
164
|
+
ixbrl_viewer-1.4.15.dist-info/entry_points.txt,sha256=2XUzP20WGwxdvnugdBybUBwAB3xf_zvrOR5W_smFz_4,65
|
|
165
|
+
ixbrl_viewer-1.4.15.dist-info/top_level.txt,sha256=h8MkrMhC_t2-KbfS1oxJVnFAbn5NZJH8END_BL40mv8,24
|
|
166
|
+
ixbrl_viewer-1.4.15.dist-info/RECORD,,
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
// Copyright 2019 Workiva Inc.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
// you may not use this file except in compliance with the License.
|
|
5
|
-
// You may obtain a copy of the License at
|
|
6
|
-
//
|
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
//
|
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
// See the License for the specific language governing permissions and
|
|
13
|
-
// limitations under the License.
|
|
14
|
-
|
|
15
|
-
import $ from 'jquery';
|
|
16
|
-
import { setDefault } from './util.js';
|
|
17
|
-
|
|
18
|
-
export function Calculation(fact) {
|
|
19
|
-
this._fact = fact;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* Resolve calculation relationships to a map of maps of maps
|
|
23
|
-
* (ELR->conceptName->fact id->fact object) */
|
|
24
|
-
|
|
25
|
-
Calculation.prototype.calculationFacts = function () {
|
|
26
|
-
var fact = this._fact;
|
|
27
|
-
var report = fact.report;
|
|
28
|
-
if (!this._conceptToFact) {
|
|
29
|
-
var rels = report.getChildRelationships(fact.conceptName(), "calc")
|
|
30
|
-
var ctf = {};
|
|
31
|
-
$.each(rels, function (elr, rr) {
|
|
32
|
-
ctf[elr] = {};
|
|
33
|
-
if (rr.length > 0) {
|
|
34
|
-
var otherFacts = report.getAlignedFacts(fact, {"c": $.map(rr, (r,i) => r.t ) });
|
|
35
|
-
$.each(otherFacts, (i,ff) => setDefault(ctf[elr], ff.conceptName(), {})[ff.vuid] = ff);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
this._conceptToFact = ctf;
|
|
39
|
-
}
|
|
40
|
-
return this._conceptToFact;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
Calculation.prototype.hasCalculations = function () {
|
|
44
|
-
var ctf = this.calculationFacts();
|
|
45
|
-
return Object.keys(ctf).length > 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
Calculation.prototype.elrs = function () {
|
|
49
|
-
var ctf = this.calculationFacts();
|
|
50
|
-
var elrs = {};
|
|
51
|
-
$.each(ctf, function (k,v) {
|
|
52
|
-
if (Object.keys(v).length > 0) {
|
|
53
|
-
elrs[k] = k.match(/[^\/]*$/)[0];
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
return elrs;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/*
|
|
60
|
-
* Select the ELR which is the best match for a given array of facts
|
|
61
|
-
*/
|
|
62
|
-
Calculation.prototype.bestELRForFactSet = function(facts) {
|
|
63
|
-
var ctf = this.calculationFacts();
|
|
64
|
-
var bestMatchELR = "";
|
|
65
|
-
var bestMatchCount = -1;
|
|
66
|
-
$.each(ctf, function (elr, rr) {
|
|
67
|
-
var matchCount = 0;
|
|
68
|
-
$.each(rr, function (concept, ff) {
|
|
69
|
-
var matched = 0;
|
|
70
|
-
$.each(ff, function (fid, calcFact) {
|
|
71
|
-
if ($.inArray(fid, facts) > -1) {
|
|
72
|
-
matched = 1;
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
matchCount += matched;
|
|
76
|
-
});
|
|
77
|
-
if (matchCount/Object.keys(rr).length > bestMatchCount) {
|
|
78
|
-
bestMatchCount = matchCount/Object.keys(rr).length;
|
|
79
|
-
bestMatchELR = elr;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
return bestMatchELR;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/*
|
|
86
|
-
* Returns a list of objects with properties:
|
|
87
|
-
* weight (calc weight)
|
|
88
|
-
* facts (undefined, or a map of fact IDs to fact objects)
|
|
89
|
-
* concept (conceptName)
|
|
90
|
-
*/
|
|
91
|
-
Calculation.prototype.resolvedCalculation = function(elr) {
|
|
92
|
-
var calc = [];
|
|
93
|
-
var calcFacts = this.calculationFacts()[elr];
|
|
94
|
-
var rels = this._fact.report.getChildRelationships(this._fact.conceptName(), "calc")[elr];
|
|
95
|
-
$.each(rels, function (i, r) {
|
|
96
|
-
var s;
|
|
97
|
-
if (r.w == 1) {
|
|
98
|
-
s = '+';
|
|
99
|
-
}
|
|
100
|
-
else if (r.w == -1) {
|
|
101
|
-
s = '-';
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
s = r.w;
|
|
105
|
-
}
|
|
106
|
-
calc.push({ weightSign: s, weight: r.w, facts: calcFacts[r.t], concept: r.t });
|
|
107
|
-
});
|
|
108
|
-
return calc;
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|