ixbrl-viewer 1.4.52__py3-none-any.whl → 1.4.53__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.

@@ -605,7 +605,7 @@ export class Viewer {
605
605
  }
606
606
 
607
607
  clearHighlighting() {
608
- $("body", this._iframes.contents()).find(".ixbrl-element, .ixbrl-sub-element").removeClass("ixbrl-selected").removeClass("ixbrl-related").removeClass("ixbrl-linked-highlight");
608
+ $("body", this._iframes.contents()).find(".ixbrl-element").removeClass("ixbrl-selected").removeClass("ixbrl-related").removeClass("ixbrl-linked-highlight");
609
609
  }
610
610
 
611
611
  _ixIdsForElement(e) {
@@ -702,15 +702,17 @@ export class Viewer {
702
702
  return this._ixNodeMap[vuid].wrapperNodes;
703
703
  }
704
704
 
705
- elementsForItemIds(vuids) {
706
- return $(vuids.map(vuid => this.elementsForItemId(vuid).get()).flat());
705
+ // Returns a jQuery node list containing the primary wrapper node for each
706
+ // vuid provided
707
+ primaryElementsForItemIds(vuids) {
708
+ return $(vuids.map(vuid => this.elementsForItemId(vuid).first().get(0)));
707
709
  }
708
710
 
709
711
  /*
710
712
  * Add or remove a class to an item (fact or footnote) and any continuation elements
711
713
  */
712
714
  changeItemClass(vuid, highlightClass, removeClass) {
713
- const elements = this.elementsForItemIds([vuid].concat(this.itemContinuationMap[vuid]))
715
+ const elements = this.primaryElementsForItemIds([vuid].concat(this.itemContinuationMap[vuid]))
714
716
  if (removeClass) {
715
717
  elements.removeClass(highlightClass);
716
718
  }
@@ -757,7 +759,7 @@ export class Viewer {
757
759
  if (ixn !== undefined ) {
758
760
  const item = reportSet.getItemById(ixn.id);
759
761
  if (item !== undefined) {
760
- const elements = viewer.elementsForItemIds(ixn.chainIXIds());
762
+ const elements = viewer.primaryElementsForItemIds(ixn.chainIXIds());
761
763
  const i = groups[item.conceptQName().prefix];
762
764
  if (i !== undefined) {
763
765
  elements.addClass("ixbrl-highlight-" + i);
@@ -21,17 +21,17 @@
21
21
 
22
22
  .ixbrl-highlight {
23
23
  &:not(.ixbrl-no-highlight),
24
- & .ixbrl-sub-element {
24
+ & .ixbrl-sub-element:not(.ixbrl-no-highlight) {
25
25
  background-color: var(--colour-highlight-default) !important; // Override inline styles
26
26
  }
27
27
 
28
28
  &:not(.ixbrl-no-highlight).ixbrl-highlight-1,
29
- &.ixbrl-highlight-1 .ixbrl-sub-element {
29
+ &.ixbrl-highlight-1 .ixbrl-sub-element:not(.ixbrl-no-highlight) {
30
30
  background-color: var(--colour-highlight-1) !important; // Override inline styles
31
31
  }
32
32
 
33
33
  &:not(.ixbrl-no-highlight) .ixbrl-highlight-2,
34
- &.ixbrl-highlight-2 .ixbrl-sub-element {
34
+ &.ixbrl-highlight-2 .ixbrl-sub-element:not(.ixbrl-no-highlight) {
35
35
  background-color: var(--colour-highlight-2) !important; // Override inline styles
36
36
  }
37
37
  }
@@ -46,79 +46,73 @@
46
46
 
47
47
  .review .ixbrl-highlight {
48
48
  &:not(.ixbrl-no-highlight).ixbrl-highlight-1,
49
- &.ixbrl-highlight-1 .ixbrl-sub-element {
49
+ &.ixbrl-highlight-1 .ixbrl-sub-element:not(.ixbrl-no-highlight) {
50
50
  background-color: var(--colour-highlight-default) !important; // Override inline styles
51
51
  }
52
52
 
53
53
  &:not(.ixbrl-no-highlight) .ixbrl-highlight-2,
54
- &.ixbrl-highlight-2 .ixbrl-sub-element {
54
+ &.ixbrl-highlight-2 .ixbrl-sub-element:not(.ixbrl-no-highlight) {
55
55
  background-color: var(--colour-highlight-default) !important; // Override inline styles
56
56
  }
57
57
  }
58
58
 
59
- div,
60
- span {
61
- &:not(.ixbrl-no-highlight) {
62
- &.ixbrl-selected {
63
- outline: solid 0.125em var(--colour-primary-focus);
64
- outline-offset: 0.0625em;
65
- }
59
+ // Apply related fact highlighting (used for calc contributors)
60
+ &.ixbrl-related {
61
+ &:not(.ixbrl-no-highlight),
62
+ .ixbrl-sub-element:not(.ixbrl-no-highlight) {
63
+ outline: solid 0.125em var(--colour-related-fact);
64
+ outline-offset: 0.0625em;
66
65
 
67
- &.ixbrl-element,
68
- &.ixbrl-sub-element {
69
- &:hover:not(.ixbrl-selected) {
70
- outline: dashed 0.125em var(--colour-primary-focus);
71
- outline-offset: 0.0625em;
72
- }
66
+ td&, th& {
67
+ outline-offset: -0.0625em;
73
68
  }
74
69
  }
75
70
  }
76
71
 
77
- :not(.ixbrl-no-highlight) {
78
- &.ixbrl-element,
79
- &.ixbrl-sub-element {
80
- cursor: pointer;
81
-
82
- &.ixbrl-related {
83
- outline: dashed 0.125em var(--colour-related-fact);
72
+ // Apply linked fact highlighting (used when hovering on facts in inspector)
73
+ &.ixbrl-linked-highlight {
74
+ &:not(.ixbrl-no-highlight),
75
+ .ixbrl-sub-element:not(.ixbrl-no-highlight) {
76
+ outline: dashed 0.125em var(--colour-linked-fact);
77
+ outline-offset: 0.0625em;
84
78
 
85
- &:not(td, th) {
86
- outline-offset: 0.0625em;
87
- }
79
+ td&, th& {
80
+ outline-offset: -0.0625em;
88
81
  }
89
82
  }
90
83
  }
91
84
 
92
- td,
93
- th {
94
- &:not(.ixbrl-no-highlight) {
95
- &.ixbrl-selected {
96
- outline: solid 0.125em var(--colour-primary-focus) !important;
97
- outline-offset: -0.0625em !important;
98
- }
85
+ // Apply dashed outline to iXBRL elements on hover
86
+ // Should override previous rule
87
+ .ixbrl-element:not(.ixbrl-no-highlight),
88
+ .ixbrl-sub-element:not(.ixbrl-no-highlight) {
89
+ &:hover {
90
+ outline: dashed 0.125em var(--colour-primary-focus);
91
+ outline-offset: 0.0625em;
92
+ cursor: pointer;
99
93
 
100
- &.ixbrl-element:hover:not(.ixbrl-selected),
101
- &.ixbrl-sub-element:hover:not(.ixbrl-selected) {
102
- outline: dashed 0.125em var(--colour-primary-focus) !important;
103
- outline-offset: -0.0625em !important;
94
+ td&, th& {
95
+ outline-offset: -0.0625em;
104
96
  }
105
97
  }
106
-
107
- &.ixbrl-related {
108
- outline-offset: -0.0625em !important;
109
- }
110
98
  }
111
99
 
112
- .ixbrl-related.ixbrl-linked-highlight:not(.ixbrl-no-highlight),
113
- .ixbrl-linked-highlight:not(.ixbrl-no-highlight) {
114
- .linked-highlight-text();
115
- }
116
-
117
- td.ixbrl-related.ixbrl-linked-highlight:not(.ixbrl-no-highlight),
118
- td.ixbrl-linked-highlight:not(.ixbrl-no-highlight) {
119
- .linked-highlight-cell();
100
+ // Apply solid outline to selected elements
101
+ &.ixbrl-selected {
102
+ &:not(.ixbrl-no-highlight),
103
+ .ixbrl-sub-element:not(.ixbrl-no-highlight) {
104
+ // This rule needs to override the previous one so that already selected
105
+ // elements don't get a dashed line on hover
106
+ &,
107
+ &:hover {
108
+ outline: solid 0.125em var(--colour-primary-focus);
109
+ outline-offset: 0.0625em;
120
110
 
121
- outline-offset: -0.0625em;
111
+ td&, th& {
112
+ outline-offset: -0.0625em;
113
+ }
114
+ }
115
+ }
122
116
  }
123
117
 
124
118
  div.ixbrl-table-handle {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ixbrl-viewer
3
- Version: 1.4.52
3
+ Version: 1.4.53
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
@@ -1,5 +1,5 @@
1
1
  iXBRLViewerPlugin/__init__.py,sha256=Uk8Azqk53UTsUJT22LgR-irtQ9RJkA2yaTxqD-IFZyM,16662
2
- iXBRLViewerPlugin/_version.py,sha256=9YGeJIcPh5FsxId6jAMWlHhVEeaM4b6ZbEUFYvit58o,413
2
+ iXBRLViewerPlugin/_version.py,sha256=hqdPVRUMbqym2XJkeOLmAOZiYMHSDi91JbptV8gv8tQ,413
3
3
  iXBRLViewerPlugin/constants.py,sha256=DMyEKzoJZPN36vINiNF9wiP7PPofQg0ZLF0H2CP-ns4,3866
4
4
  iXBRLViewerPlugin/featureConfig.py,sha256=551aLjiGAkoxsgFDMBJT8s3nVaF787kgbRjFumTTsBE,255
5
5
  iXBRLViewerPlugin/iXBRLViewer.py,sha256=7IqbLuapCla5_c-lSM4KiKgSezbioKulJ5pa4ZEPejs,30643
@@ -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=Knesekp0FfIEYy9mFEpMkGWcee5VKdN_7xEx9CZFKOc,889750
15
+ iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js,sha256=qSRMkf4m06qbYBS4VkR4ccZjtFR7-3pfoa3Xc-EKEWI,889907
16
16
  iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js.LICENSE.txt,sha256=Ye_YmUQH4CCOb6Ksrap5lsJC7aZuNZbQnvLs7njZPc0,1832
17
17
  iXBRLViewerPlugin/viewer/src/data/utr.json,sha256=HWeZDLQuFunB7kmrP4evfhjMWIVgN8sc89U5Yogy5iA,13322
18
18
  iXBRLViewerPlugin/viewer/src/html/fact-details.html,sha256=r3cPuOzcosgBkYl0jfmRUGjYnLgv6Eu0IeTMmUHY4Ak,2863
@@ -142,7 +142,7 @@ iXBRLViewerPlugin/viewer/src/js/util.js,sha256=RLY89DcDimC3QncKF9zcQssWoCt2WiEo2
142
142
  iXBRLViewerPlugin/viewer/src/js/util.test.js,sha256=t6sgV6rTL3aXQMN3iIVe8XxTAOCn1UYHKr_kD6tjI7A,6495
143
143
  iXBRLViewerPlugin/viewer/src/js/utr.js,sha256=0oMasZ9OMGGI_6BQwxLRrXQT3voESWylv-ldGaS_aEA,581
144
144
  iXBRLViewerPlugin/viewer/src/js/validationreport.js,sha256=zWA9_8sWavX2Fi8fwEyDPABxWL_XSzvNQ21O1Qu2ayY,644
145
- iXBRLViewerPlugin/viewer/src/js/viewer.js,sha256=xsljIRJcB3u6N9ZZrKPuSiY2dj7BSMOgjJ6QqjQJPPQ,35388
145
+ iXBRLViewerPlugin/viewer/src/js/viewer.js,sha256=c_dUTiz6LxffRJOXl-6Tp9Zygv5PZtdH2zgYd9vU4gg,35491
146
146
  iXBRLViewerPlugin/viewer/src/js/viewerOptions.js,sha256=wJbPXEVuCmmTM6NvNQs4-1gibRT1wzbDr2XVrX2cSqo,139
147
147
  iXBRLViewerPlugin/viewer/src/less/accordian.less,sha256=XhfcABGSqxr18vX3Oz7p77Tp0Au8EWj3yY2_cWxMKyI,682
148
148
  iXBRLViewerPlugin/viewer/src/less/block-list.less,sha256=Pw81p9mW6T6LdmpIG_ci-gvtQSDS07ZTlzB-H_Zp7KU,776
@@ -166,7 +166,7 @@ iXBRLViewerPlugin/viewer/src/less/tabs.less,sha256=-iW6559n1NttKSpsOHixZU_pyADie
166
166
  iXBRLViewerPlugin/viewer/src/less/text-block-viewer.less,sha256=CYwgDxPHXmdlw-mqysbsovTV4rUXvcgb8Cp2qvUhOPA,499
167
167
  iXBRLViewerPlugin/viewer/src/less/text-mixins.less,sha256=pYeQjz6JptSyUTxoVwfNebMx4JfQwxqZKI1fhV3wydo,250
168
168
  iXBRLViewerPlugin/viewer/src/less/validation-report.less,sha256=HWkYEWxny-_zAYrwPXwAXuNCbThMRyomhu6KteUAjEg,351
169
- iXBRLViewerPlugin/viewer/src/less/viewer.less,sha256=R6a243Sgcq_EDwdeK9gO3rnQrGccnk6h2OUXWCVI1OY,4443
169
+ iXBRLViewerPlugin/viewer/src/less/viewer.less,sha256=Fb-3aBNs36rErnZZAALZ_73InZXHSWSOPJVilhXV6b8,4591
170
170
  iXBRLViewerPlugin/viewer/tools/build-font.js,sha256=Q-Uh0o6Uj2fkKd0zjS7rbVV2mkNydmEWGpkg0uWVir4,818
171
171
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
172
172
  tests/puppeteer/puppeteer_test_run_via_intellij.jpg,sha256=xkFc4lziUkeRxUbhmNSGl1Pte4uQyeMLQY9eiRdHfwQ,80858
@@ -188,10 +188,10 @@ tests/unit_tests/iXBRLViewerPlugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
188
188
  tests/unit_tests/iXBRLViewerPlugin/mock_arelle.py,sha256=fQKJGwceaEVaxvqV9tyuvT6DJB5s1X3-oSMjbFMKlS8,1301
189
189
  tests/unit_tests/iXBRLViewerPlugin/test_iXBRLViewer.py,sha256=2beDs9kf0wRZFw9NM-dYm4j1zlxRybFj7f1JpwUTttQ,33756
190
190
  tests/unit_tests/iXBRLViewerPlugin/test_xhtmlserialize.py,sha256=kdrg4i-YXnYAGl9TLWEACPQF0V69OAMXdXLYJwefsH0,12521
191
- ixbrl_viewer-1.4.52.dist-info/LICENSE,sha256=TZJhu77S_2-WQcPAkuIAlQiuuiNqVcuHBjd7z3Y5S08,16645
192
- ixbrl_viewer-1.4.52.dist-info/METADATA,sha256=M3ZVJyD5hZqQHxNNJvsVAGKt9RfZ8ohHnuH_3iL6i3c,15797
193
- ixbrl_viewer-1.4.52.dist-info/NOTICE,sha256=-SHDY0OY7s4gm4Rdk5AB3nbnUsrdHEHPdJuGFR_vuM4,566
194
- ixbrl_viewer-1.4.52.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
195
- ixbrl_viewer-1.4.52.dist-info/entry_points.txt,sha256=2XUzP20WGwxdvnugdBybUBwAB3xf_zvrOR5W_smFz_4,65
196
- ixbrl_viewer-1.4.52.dist-info/top_level.txt,sha256=h8MkrMhC_t2-KbfS1oxJVnFAbn5NZJH8END_BL40mv8,24
197
- ixbrl_viewer-1.4.52.dist-info/RECORD,,
191
+ ixbrl_viewer-1.4.53.dist-info/LICENSE,sha256=TZJhu77S_2-WQcPAkuIAlQiuuiNqVcuHBjd7z3Y5S08,16645
192
+ ixbrl_viewer-1.4.53.dist-info/METADATA,sha256=Tv31u7aFMhYEnyidX3EMRliH1gC2ZQI4-Hv-ELEIwnk,15797
193
+ ixbrl_viewer-1.4.53.dist-info/NOTICE,sha256=-SHDY0OY7s4gm4Rdk5AB3nbnUsrdHEHPdJuGFR_vuM4,566
194
+ ixbrl_viewer-1.4.53.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
195
+ ixbrl_viewer-1.4.53.dist-info/entry_points.txt,sha256=2XUzP20WGwxdvnugdBybUBwAB3xf_zvrOR5W_smFz_4,65
196
+ ixbrl_viewer-1.4.53.dist-info/top_level.txt,sha256=h8MkrMhC_t2-KbfS1oxJVnFAbn5NZJH8END_BL40mv8,24
197
+ ixbrl_viewer-1.4.53.dist-info/RECORD,,